text
stringlengths 1
22.8M
|
|---|
Mauri Repo (31. January 1945 – 19. May 2002) was the head coach of the Finnish Workers' Sports Federation (Suomen Työväen Urheiluliitto, TUL) during 1981–1987. By profession he was a physical education teacher and for some time worked in the Jyväskylä city administration as director of the sports department. He is the first known person to write about nordic walking and considered its author.
Mauri Repo and Nordic Walking
Mauri Repo played an important as both a TUL coach and a coach trainer. Also, he was indispensable in the creation of many training and educational materials concerning skiing.
In Repo's skisport handbooks „Hiihdon lajiosa“ (1974), „Hiihdon lajiosa” (1979), „Nuorten hiihdon valmennusopas” (1983) ja „Hiihdon 2-tason koulutusmateriaali” (1989) is the first known introduction of nordic walking (along with nordic walking exercises and its importance in the summertime preparation of skiers). At the time of publishing nordic walking had not yet gained recognition as a standalone sport. Repo is the author of nearly ten sport handbooks.
References
Finnish athletics coaches
1945 births
2002 deaths
|
The Reggiane Re.2001 Falco II was an Italian fighter aircraft, serving in the Regia Aeronautica (Italian Air Force) during World War II. A contemporary of the renowned Macchi C.202, the production of this type was to be limited to only 252, but it was a flexible design that proved to be able to undertake a number of roles. Thanks to its maneuverability it could dogfight with more powerful opponents like the Supermarine Spitfire. The Re.2001 became the basis of a later, more formidable fighter, the Re.2005.
Design and development
The Reggiane Re.2001 was a development of the Re.2000 Falco I which had been rejected by the Regia Aeronautica primarily because of its unprotected fuel tanks in the wing, which were merely sealed voids between the spars, and secondly its engine. This was the main problem the Falco II set out to fix, now having a Alfa Romeo inline engine (a more powerful and reliable license-built German DB 601) rather than a Piaggio P.XI radial engine.
Incorporating much of the Re.2000's fuselage structure, even retaining the entire tail unit, the Re.2001's wings were of semi-elliptical design with three spars in each wing. The initial design had conventional fuel tanks with total capacity (five tanks, one in the fuselage and the others in the wings). The armament consisted of Breda-SAFAT machine guns, with two nose-mounted (up to 800 rounds) and two guns in the wings, (1200 rounds total).
The new Falco II was equal to the Macchi MC.202, but the Macchi fighter, having first call on production for the Alfa Romeo R.A.1000RC.41-1a (the license built DB 601) was still produced in greater numbers. The Re.2001 was then delayed because the Regia Aeronautica insisted on the fuel tanks being placed inside the wings, which required a substantial redesign of the wing structure. The first order, amounting to 300 machines, was cut back with only 252 produced. This number included 100 Re.2001 Serie I, Serie II and Serie III with armament variations, the Reggiane Serie IV fighter-bomber and 150 Re.2001 CN Caccia Notturna, night fighter.
Due to the wing redesign coupled with production delays, the first production aircraft were finally cleared for operational use in June 1941, nearly a year behind schedule.
Along with the fighter variant, two other main variants were developed to suit specialized roles. The Re.2001 CB (Cacciabombardiere, Fighter-bomber) version produced from 1942 could carry a bomb under the fuselage for the attack role. The CN (Caccia notturno, Night fighter) version was adapted with the introduction of engine exhaust-flame dampers and a Mauser MG 151/20 cannon in two gondolas, one under each wing, although many fighters retained the original armament. A total of 34 CNs were produced of the 50 ordered.
Operational history
The Re.2001 reached operational status late in 1941 with 2° Gruppo (part of 6° Stormo) that had returned from North Africa without aircraft in September 1941. Its three Squadriglie, 150ª, 152ª and 358ª, were based at Gorizia and then moved to Rome-Ciampino in December. For technical reasons the unit was not fully equipped and trained until February 1942. On 4 May 1942, it moved to Caltagirone, in Sicily, with 18 Reggianes, under the command of Colonnello Bajlon. In May 1942, Re.2001s began to fly escort missions over Malta, encountering British Spitfire Mk Vs. On 12 May, 15 Reggiane 2001s of 2° Gruppo, while escorting (with Macchi MC.200s) three Savoia-Marchetti SM.84 of 4° Gruppo, were attacked by nine Spitfires. The Spitfires shot down a bomber and badly damaged the other but the Reggiane pilots quickly reacted and shot down the two Spitfires, one by Sergente Paolo Morcino, that had to make a crash-landing (just like his commander) close to Ispica, as his undercarriage had been damaged by a 20 mm cannon shell.
That day the RAF lost three Spitfires, one pilot, Sergeant Charles Graysmark of 601 Squadron was killed and another, Sergeant Cyril 'Joe' Bush of (126 Squadron), wounded. Pilot Officer Michael Graves, 126 Squadron, was also shot down but bailed out uninjured. In the afternoon of 15 May 1942, 19 Re.2001s flew to the airfields at Malta on a hunting spree. Dogfights took place over the southern part of the island and according to the Italians, the Allies lost four aircraft, three falling into the sea east of Valletta and the fourth, south of Kalafrana. Re.2001 MM.7210, hit during the dogfight, made an emergency landing at Comiso, in Sicily. On 18 May, eight Re.2001s led by Tenente Remo Cazzolli of 152ª Squadriglia flew to Malta in support of a maritime/land reconnaissance of the island. The Re.2001s were attacked by four Spitfires of 249 Squadron, three pilots each claiming a Reggiane. Later records show that Cazzolli, a Spanish Civil War veteran, was the lone victim, crashing north of Fort San Leonardo, near Marsaskala, and was captured.
By the end of June, 22° Gruppo based at Rome-Ciampino received their first Re.2001 CBs and redeployed to Monserrato, Sardinia. They were later transferred to Sicily to participate in the raids on Malta.
On 12 July, over Malta, Canadian ace "Buzz" Beurling from 249 Sqn shot down the Reggiane Re.2001s of Tenente Colonnello Aldo Quarantotti and Tenente Carlo Seganti, of 150ª Squadriglia Caccia, mistaking them for Macchi C.202s. But two days later, he was in turn badly shot up by Reggianes. Beurling's aircraft was "riddled by better than 20 bullets through the fuselage and wings". "An explosive bullet nicked my right heel", he recalled. Generally slower than contemporary fighters, still the Reggiane against the Hawker Hurricane fared better and could take on this opponent on a more equal basis, although the Hawker was noticeably faster at most altitudes.
The Spitfire V had an even greater speed advantage. especially above .
At lower and medium altitudes, the Re.2001 was able to hold its own and, in the hands of an expert pilot, as ace Laddie Lucas recalled in his Malta: The Thorn in Rommel's side, the Reggiane could be a difficult and dangerous opponent for the Spitfire V.
On 13 July 1942, 249 Squadron was engaged high above Malta with a mixed force of German and Italian fighters. Jack Rae, then fast developing into one of New Zealand's outstanding pilots and his able No. 2, the Australian, Alan Yates, despite being low on ammunition, had finally set upon a lone Re.2001 as it was about to disengage and head for Sicily. What then followed gave Jack such a shock that the incident has stuck starkly in his mind for half a century. "To my amazement the Italian proved to be an extremely competent opponent. I had never before been involved in such a complex sequence of aerobatics as I pursued him. Twice I nearly 'spun off' as I stayed with him; I found it difficult to get any sort of worthwhile deflection shot at his aircraft. At times he got dangerously close to getting a bead on me. Eventually he started to smoke and we hit his tail, but we were halfway across the Strait of Sicily and our position was getting dangerous as we were now low in fuel and would be in real difficulty if we were attacked. But, as we turned back to base, the Italian, to my amazement, turned with us and made one final and defiant attack upon our section - as if to show what he thought of a pair of Spitfires!"
On 12 August 1942, two Re.2001G/Vs, each modified to carry a fragmentation bomb and accompanied by a fighter escort of Re.2001s, carried out an attack on during Operation Pedestal. Reportedly, the Re.2001s were not challenged because of their similarity in appearance to Sea Hurricanes. During the attack, a direct hit was scored on the aircraft carrier's flight deck but the bomb failed to explode and fell harmlessly into the sea. Beginning in spring 1942, Reggiane Re.2001 CN night fighters were issued to 59° Gruppo, and primarily used in the defence of Italian cities. As the tide of war shifted, the Re.2001 units were constantly moved from base to base, and finally by 10 July 1943, when the invasion of Sicily began, all available Re.2001 fighters were diverted to defend Italy and nearby Mediterranean islands held by Italian forces.
Later in 1943, the fighter in all of its variants was used to defend northern and central Italy. Fighter pilots praised the Re.2001's handling qualities (some considered it more maneuverable than the Macchi C.202); however, like many Italian combat aircraft, the type experienced poor serviceability and many of the units using the Re.2001 were not fully equipped. The complexity of the Re.2001 design led to higher costs (in 1942, the production cost of the Re.2001 was 600,000 lire versus 520,000 lire of the Macchi C.202) and slowed production rates which also limited its effectiveness as a fighter. Due to attrition, only 33 Re.2001s were available at the Armistice of 9 September 1943. Furthermore, poor serviceability meant that only nine Re.2001s survived the division of Italy, eight going to the Italian Co-Belligerent Air Force with the Allies, and one to the Italian Social Republic.
Variants
Re.2001
Prototypes, two built. Second prototype had three-spar wing, modified canopy and fixed tailwheel. First flight on June 1940
Re.2001 Serie I
First production series operated as fighter-bomber and carrier trainer; also used for land-based catapult tests, 100 built.
Re.2001 CB
Modified fighter-bomber produced from 1942, to carry two bombs under the wings as well as bombs up to under the fuselage for the attack role.
Re.2001 OR Serie II
Proposed ship-borne fighter version for the carrier Aquila, 50 built. First addition of wing-mounted machine guns to development and optional cannon, able to carry a torpedo or bomb as standard.
Re.2001 CN Serie III & IV
Night fighter and fighter-bomber version, 74 built. Optional bombload of up to or additional fuel tank on Serie IV. Two Mauser MG 151/20 cannon (60 rounds each) were fitted in two gondolas, one under each wing.
Re.2001 G/H
Experimental torpedo fighter (carrying a torpedo) or anti-tank version with lengthened tailwheel and two cannons, two built.
Re.2001 G/V
Modified fighter-bomber, with reinforced fuselage structure to carry a single bomb with HE, derived from a shell (made for the Littorio-class battleships). A small number of the variant was built; two G/Vs took part in Operation Pedestal but this was the sole use of the variant.
Re.2001 Delta
Prototype version powered by Isotta Fraschini Delta RC 16/48 engine, one built- first flight: 12 September 1942. After tests when a top speed of only at was reached, the Regia Aeronautica cancelled the 100 variants on order.
Re.2001bis
Prototype (MM.438) version with repositioned radiators, one built; although flight trials were successful, proving to be the fastest of the Re.2001 variants, it was converted back to a standard Re.2001.
Other variants were considered including a design for a dedicated anti-tank fighter (armed with guns and anti-tank bomblets) and the Re.2001 Fotografico, a photo-reconnaissance version, although some standard Re.2001s were later modified for this role.
Operators
Regia Aeronautica
Italian Co-Belligerent Air Force operated eight aircraft.
Aeronautica Nazionale Repubblicana operated one aircraft.
Specifications (Re.2001 Serie III)
See also
References
Notes
Bibliography
External links
Reggiane aircraft
1940s Italian fighter aircraft
World War II Italian fighter aircraft
Low-wing aircraft
Single-engined tractor aircraft
Aircraft first flown in 1940
|
```shell
# nested native
${JO:-jo} a[]=1 a[]=2 geo[lat]=111 geo[lon]=222
```
|
```smalltalk
Extension { #name : 'UnhandledException' }
{ #category : '*SUnit-Core' }
UnhandledException >> manageTestProcessBy: aProcessMonitorTestService [
aProcessMonitorTestService handleUnhandledException: self
]
```
|
```c++
//===- AMDGPUPerfHintAnalysis.cpp - analysis of functions memory traffic --===//
//
// See path_to_url for license information.
//
//===your_sha256_hash------===//
//
/// \file
/// \brief Analyzes if a function potentially memory bound and if a kernel
/// kernel may benefit from limiting number of waves to reduce cache thrashing.
///
//===your_sha256_hash------===//
#include "AMDGPU.h"
#include "AMDGPUPerfHintAnalysis.h"
#include "Utils/AMDGPUBaseInfo.h"
#include "llvm/ADT/SmallSet.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/Analysis/CallGraph.h"
#include "llvm/Analysis/ValueTracking.h"
#include "llvm/CodeGen/TargetLowering.h"
#include "llvm/CodeGen/TargetPassConfig.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Target/TargetMachine.h"
using namespace llvm;
#define DEBUG_TYPE "amdgpu-perf-hint"
static cl::opt<unsigned>
MemBoundThresh("amdgpu-membound-threshold", cl::init(50), cl::Hidden,
cl::desc("Function mem bound threshold in %"));
static cl::opt<unsigned>
LimitWaveThresh("amdgpu-limit-wave-threshold", cl::init(50), cl::Hidden,
cl::desc("Kernel limit wave threshold in %"));
static cl::opt<unsigned>
IAWeight("amdgpu-indirect-access-weight", cl::init(1000), cl::Hidden,
cl::desc("Indirect access memory instruction weight"));
static cl::opt<unsigned>
LSWeight("amdgpu-large-stride-weight", cl::init(1000), cl::Hidden,
cl::desc("Large stride memory access weight"));
static cl::opt<unsigned>
LargeStrideThresh("amdgpu-large-stride-threshold", cl::init(64), cl::Hidden,
cl::desc("Large stride memory access threshold"));
STATISTIC(NumMemBound, "Number of functions marked as memory bound");
STATISTIC(NumLimitWave, "Number of functions marked as needing limit wave");
char llvm::AMDGPUPerfHintAnalysis::ID = 0;
char &llvm::AMDGPUPerfHintAnalysisID = AMDGPUPerfHintAnalysis::ID;
INITIALIZE_PASS(AMDGPUPerfHintAnalysis, DEBUG_TYPE,
"Analysis if a function is memory bound", true, true)
namespace {
struct AMDGPUPerfHint {
friend AMDGPUPerfHintAnalysis;
public:
AMDGPUPerfHint(AMDGPUPerfHintAnalysis::FuncInfoMap &FIM_,
const TargetLowering *TLI_)
: FIM(FIM_), DL(nullptr), TLI(TLI_) {}
bool runOnFunction(Function &F);
private:
struct MemAccessInfo {
const Value *V = nullptr;
const Value *Base = nullptr;
int64_t Offset = 0;
MemAccessInfo() = default;
bool isLargeStride(MemAccessInfo &Reference) const;
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
Printable print() const {
return Printable([this](raw_ostream &OS) {
OS << "Value: " << *V << '\n'
<< "Base: " << *Base << " Offset: " << Offset << '\n';
});
}
#endif
};
MemAccessInfo makeMemAccessInfo(Instruction *) const;
MemAccessInfo LastAccess; // Last memory access info
AMDGPUPerfHintAnalysis::FuncInfoMap &FIM;
const DataLayout *DL;
const TargetLowering *TLI;
AMDGPUPerfHintAnalysis::FuncInfo *visit(const Function &F);
static bool isMemBound(const AMDGPUPerfHintAnalysis::FuncInfo &F);
static bool needLimitWave(const AMDGPUPerfHintAnalysis::FuncInfo &F);
bool isIndirectAccess(const Instruction *Inst) const;
/// Check if the instruction is large stride.
/// The purpose is to identify memory access pattern like:
/// x = a[i];
/// y = a[i+1000];
/// z = a[i+2000];
/// In the above example, the second and third memory access will be marked
/// large stride memory access.
bool isLargeStride(const Instruction *Inst);
bool isGlobalAddr(const Value *V) const;
bool isLocalAddr(const Value *V) const;
bool isGlobalLoadUsedInBB(const Instruction &) const;
};
static std::pair<const Value *, const Type *> getMemoryInstrPtrAndType(
const Instruction *Inst) {
if (auto LI = dyn_cast<LoadInst>(Inst))
return {LI->getPointerOperand(), LI->getType()};
if (auto SI = dyn_cast<StoreInst>(Inst))
return {SI->getPointerOperand(), SI->getValueOperand()->getType()};
if (auto AI = dyn_cast<AtomicCmpXchgInst>(Inst))
return {AI->getPointerOperand(), AI->getCompareOperand()->getType()};
if (auto AI = dyn_cast<AtomicRMWInst>(Inst))
return {AI->getPointerOperand(), AI->getValOperand()->getType()};
if (auto MI = dyn_cast<AnyMemIntrinsic>(Inst))
return {MI->getRawDest(), Type::getInt8Ty(MI->getContext())};
return {nullptr, nullptr};
}
bool AMDGPUPerfHint::isIndirectAccess(const Instruction *Inst) const {
LLVM_DEBUG(dbgs() << "[isIndirectAccess] " << *Inst << '\n');
SmallSet<const Value *, 32> WorkSet;
SmallSet<const Value *, 32> Visited;
if (const Value *MO = getMemoryInstrPtrAndType(Inst).first) {
if (isGlobalAddr(MO))
WorkSet.insert(MO);
}
while (!WorkSet.empty()) {
const Value *V = *WorkSet.begin();
WorkSet.erase(*WorkSet.begin());
if (!Visited.insert(V).second)
continue;
LLVM_DEBUG(dbgs() << " check: " << *V << '\n');
if (auto LD = dyn_cast<LoadInst>(V)) {
auto M = LD->getPointerOperand();
if (isGlobalAddr(M)) {
LLVM_DEBUG(dbgs() << " is IA\n");
return true;
}
continue;
}
if (auto GEP = dyn_cast<GetElementPtrInst>(V)) {
auto P = GEP->getPointerOperand();
WorkSet.insert(P);
for (unsigned I = 1, E = GEP->getNumIndices() + 1; I != E; ++I)
WorkSet.insert(GEP->getOperand(I));
continue;
}
if (auto U = dyn_cast<UnaryInstruction>(V)) {
WorkSet.insert(U->getOperand(0));
continue;
}
if (auto BO = dyn_cast<BinaryOperator>(V)) {
WorkSet.insert(BO->getOperand(0));
WorkSet.insert(BO->getOperand(1));
continue;
}
if (auto S = dyn_cast<SelectInst>(V)) {
WorkSet.insert(S->getFalseValue());
WorkSet.insert(S->getTrueValue());
continue;
}
if (auto E = dyn_cast<ExtractElementInst>(V)) {
WorkSet.insert(E->getVectorOperand());
continue;
}
LLVM_DEBUG(dbgs() << " dropped\n");
}
LLVM_DEBUG(dbgs() << " is not IA\n");
return false;
}
// Returns true if the global load `I` is used in its own basic block.
bool AMDGPUPerfHint::isGlobalLoadUsedInBB(const Instruction &I) const {
const auto *Ld = dyn_cast<LoadInst>(&I);
if (!Ld)
return false;
if (!isGlobalAddr(Ld->getPointerOperand()))
return false;
for (const User *Usr : Ld->users()) {
if (const Instruction *UsrInst = dyn_cast<Instruction>(Usr)) {
if (UsrInst->getParent() == I.getParent())
return true;
}
}
return false;
}
AMDGPUPerfHintAnalysis::FuncInfo *AMDGPUPerfHint::visit(const Function &F) {
AMDGPUPerfHintAnalysis::FuncInfo &FI = FIM[&F];
LLVM_DEBUG(dbgs() << "[AMDGPUPerfHint] process " << F.getName() << '\n');
for (auto &B : F) {
LastAccess = MemAccessInfo();
unsigned UsedGlobalLoadsInBB = 0;
for (auto &I : B) {
if (const Type *Ty = getMemoryInstrPtrAndType(&I).second) {
unsigned Size = divideCeil(Ty->getPrimitiveSizeInBits(), 32);
// TODO: Check if the global load and its user are close to each other
// instead (Or do this analysis in GCNSchedStrategy?).
if (isGlobalLoadUsedInBB(I))
UsedGlobalLoadsInBB += Size;
if (isIndirectAccess(&I))
FI.IAMInstCost += Size;
if (isLargeStride(&I))
FI.LSMInstCost += Size;
FI.MemInstCost += Size;
FI.InstCost += Size;
continue;
}
if (auto *CB = dyn_cast<CallBase>(&I)) {
Function *Callee = CB->getCalledFunction();
if (!Callee || Callee->isDeclaration()) {
++FI.InstCost;
continue;
}
if (&F == Callee) // Handle immediate recursion
continue;
auto Loc = FIM.find(Callee);
if (Loc == FIM.end())
continue;
FI.MemInstCost += Loc->second.MemInstCost;
FI.InstCost += Loc->second.InstCost;
FI.IAMInstCost += Loc->second.IAMInstCost;
FI.LSMInstCost += Loc->second.LSMInstCost;
} else if (auto *GEP = dyn_cast<GetElementPtrInst>(&I)) {
TargetLoweringBase::AddrMode AM;
auto *Ptr = GetPointerBaseWithConstantOffset(GEP, AM.BaseOffs, *DL);
AM.BaseGV = dyn_cast_or_null<GlobalValue>(const_cast<Value *>(Ptr));
AM.HasBaseReg = !AM.BaseGV;
if (TLI->isLegalAddressingMode(*DL, AM, GEP->getResultElementType(),
GEP->getPointerAddressSpace()))
// Offset will likely be folded into load or store
continue;
++FI.InstCost;
} else {
++FI.InstCost;
}
}
if (!FI.HasDenseGlobalMemAcc) {
unsigned GlobalMemAccPercentage = UsedGlobalLoadsInBB * 100 / B.size();
if (GlobalMemAccPercentage > 50) {
LLVM_DEBUG(dbgs() << "[HasDenseGlobalMemAcc] Set to true since "
<< B.getName() << " has " << GlobalMemAccPercentage
<< "% global memory access\n");
FI.HasDenseGlobalMemAcc = true;
}
}
}
return &FI;
}
bool AMDGPUPerfHint::runOnFunction(Function &F) {
const Module &M = *F.getParent();
DL = &M.getDataLayout();
if (F.hasFnAttribute("amdgpu-wave-limiter") &&
F.hasFnAttribute("amdgpu-memory-bound"))
return false;
const AMDGPUPerfHintAnalysis::FuncInfo *Info = visit(F);
LLVM_DEBUG(dbgs() << F.getName() << " MemInst cost: " << Info->MemInstCost
<< '\n'
<< " IAMInst cost: " << Info->IAMInstCost << '\n'
<< " LSMInst cost: " << Info->LSMInstCost << '\n'
<< " TotalInst cost: " << Info->InstCost << '\n');
bool Changed = false;
if (isMemBound(*Info)) {
LLVM_DEBUG(dbgs() << F.getName() << " is memory bound\n");
NumMemBound++;
F.addFnAttr("amdgpu-memory-bound", "true");
Changed = true;
}
if (AMDGPU::isEntryFunctionCC(F.getCallingConv()) && needLimitWave(*Info)) {
LLVM_DEBUG(dbgs() << F.getName() << " needs limit wave\n");
NumLimitWave++;
F.addFnAttr("amdgpu-wave-limiter", "true");
Changed = true;
}
return Changed;
}
bool AMDGPUPerfHint::isMemBound(const AMDGPUPerfHintAnalysis::FuncInfo &FI) {
// Reverting optimal scheduling in favour of occupancy with basic block(s)
// having dense global memory access can potentially hurt performance.
if (FI.HasDenseGlobalMemAcc)
return true;
return FI.MemInstCost * 100 / FI.InstCost > MemBoundThresh;
}
bool AMDGPUPerfHint::needLimitWave(const AMDGPUPerfHintAnalysis::FuncInfo &FI) {
return ((FI.MemInstCost + FI.IAMInstCost * IAWeight +
FI.LSMInstCost * LSWeight) * 100 / FI.InstCost) > LimitWaveThresh;
}
bool AMDGPUPerfHint::isGlobalAddr(const Value *V) const {
if (auto PT = dyn_cast<PointerType>(V->getType())) {
unsigned As = PT->getAddressSpace();
// Flat likely points to global too.
return As == AMDGPUAS::GLOBAL_ADDRESS || As == AMDGPUAS::FLAT_ADDRESS;
}
return false;
}
bool AMDGPUPerfHint::isLocalAddr(const Value *V) const {
if (auto PT = dyn_cast<PointerType>(V->getType()))
return PT->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS;
return false;
}
bool AMDGPUPerfHint::isLargeStride(const Instruction *Inst) {
LLVM_DEBUG(dbgs() << "[isLargeStride] " << *Inst << '\n');
MemAccessInfo MAI = makeMemAccessInfo(const_cast<Instruction *>(Inst));
bool IsLargeStride = MAI.isLargeStride(LastAccess);
if (MAI.Base)
LastAccess = std::move(MAI);
return IsLargeStride;
}
AMDGPUPerfHint::MemAccessInfo
AMDGPUPerfHint::makeMemAccessInfo(Instruction *Inst) const {
MemAccessInfo MAI;
const Value *MO = getMemoryInstrPtrAndType(Inst).first;
LLVM_DEBUG(dbgs() << "[isLargeStride] MO: " << *MO << '\n');
// Do not treat local-addr memory access as large stride.
if (isLocalAddr(MO))
return MAI;
MAI.V = MO;
MAI.Base = GetPointerBaseWithConstantOffset(MO, MAI.Offset, *DL);
return MAI;
}
bool AMDGPUPerfHint::MemAccessInfo::isLargeStride(
MemAccessInfo &Reference) const {
if (!Base || !Reference.Base || Base != Reference.Base)
return false;
uint64_t Diff = Offset > Reference.Offset ? Offset - Reference.Offset
: Reference.Offset - Offset;
bool Result = Diff > LargeStrideThresh;
LLVM_DEBUG(dbgs() << "[isLargeStride compare]\n"
<< print() << "<=>\n"
<< Reference.print() << "Result:" << Result << '\n');
return Result;
}
} // namespace
bool AMDGPUPerfHintAnalysis::runOnSCC(CallGraphSCC &SCC) {
auto *TPC = getAnalysisIfAvailable<TargetPassConfig>();
if (!TPC)
return false;
const TargetMachine &TM = TPC->getTM<TargetMachine>();
bool Changed = false;
for (CallGraphNode *I : SCC) {
Function *F = I->getFunction();
if (!F || F->isDeclaration())
continue;
const TargetSubtargetInfo *ST = TM.getSubtargetImpl(*F);
AMDGPUPerfHint Analyzer(FIM, ST->getTargetLowering());
if (Analyzer.runOnFunction(*F))
Changed = true;
}
return Changed;
}
bool AMDGPUPerfHintAnalysis::isMemoryBound(const Function *F) const {
auto FI = FIM.find(F);
if (FI == FIM.end())
return false;
return AMDGPUPerfHint::isMemBound(FI->second);
}
bool AMDGPUPerfHintAnalysis::needsWaveLimiter(const Function *F) const {
auto FI = FIM.find(F);
if (FI == FIM.end())
return false;
return AMDGPUPerfHint::needLimitWave(FI->second);
}
```
|
FireChaser Express is a steel family launched roller coaster at the Dollywood amusement park located in Pigeon Forge, Tennessee. The ride's revealing was part of a large announcement made on August 21, 2013. The roller coaster opened on March 22, 2014.
History
On December 9, 2012, Dollywood announced that their Adventure Mountain ropes course would not reopen for the 2013 season. On opening day, the structure remained, but was carefully dismantled in preparation for a new-for-2014 attraction.
In the summer of 2013, ground clearance began for the new attraction. A sign was erected near the site with the words "Coming in 2014: The next big adventure... It'll be a blast!"
A trademark for the name "FireChaser Express" was filed on August 8, 2013. The attraction was officially announced in the morning of August 21. The ride will be installed by Ride Entertainment Group, who handles all of Gerstlauer's operations in the Western Hemisphere.
Dollywood revealed more details about FireChaser Express in October 2013. The ride was designed with two tire propelled launches, a lift hill, two helices, six airtime moments, and a long trick-track section. There are also themed elements, such as fire towers, crashed rockets, a destroyed fireworks storage shed, fallen telephone poles with rocket darts, and other charred remnants that litter the coaster's path. The ride's climax was designed to feature a show scene with fire effects and fireworks, as well as a backwards launch.
FireChaser Express opened to the general public on March 22, 2014.
Story
The ride is themed around the fictional Volunteer Fire Station 7 and its fire chief, Pete Embers. Pete is a man of considerable patience and he's always more than happy to let sleeping dogs lie, except when the beautiful Great Smoky Mountains and their forests are endangered. Lately, he's had to deal with local businessman and eccentric fireworks enthusiast "Crazy" Charlie Cherribaum and his Gas Station and Fireworks Emporium. Because of an increase in dry lightning in the area, Charlie has taken to calling Fire Station 7 on a daily basis, asking them to come out whenever he sees the slightest hint of smoke. To deal with Charlie while leaving his regular volunteers available to deal with real emergencies, Chief Embers has recently decided to deputize almost everyone in town to keep an eye on Charlie and his latest creation, the Big Bertha firecracker, which is rumored (by Charlie) to be the most powerful firecracker anybody in town has ever seen; this claim has driven Pete over the edge, and now he's looking for any excuse to have Charlie and his business shut down.
Ride
FireChaser Express' theme is based on the several volunteer-based fire departments surrounding the Great Smoky Mountains National Park in the 1940s. After a brief message from Fire Chief Embers, the station's siren goes off as the "truck" launches out of the station and navigates a few curves before hitting the chain lift. The ride proceeds into a small curve drop into another curve then a drop into several camelbacks. After the camelbacks the train goes through a tower and navigates through Crazy Charlie's fireworks testing range before hitting an s-bend and entering Charlie Cherribaum's Gasoline and Fireworks Emporium, through the storage warehouse. Charlie panics, saying he sees smoke, but then dismisses it as a result of his paranoia as a spark ignites a box of firecrackers and a few tanks of gas. The fire catches Charlie by surprise, and he tells the volunteers (riders) to watch out for Big Bertha and to leave the building; as he says this, a large firecracker labeled "Big Bertha" falls into a position where it points directly at the train, and the fire ignites the fuse, which begins to throw sparks. As the fireworks start to go off, the room fills with smoke and a series of loud bangs are heard as the train accelerates backwards onto a different track, where it navigates a few more turns and passes underneath another fire tower before hitting the final brake run. Fire Chief Embers praises the work of the volunteers as the train in the station is launched. The track switches again as the train backs into the station, where riders unload and exit the station. The track length is .
References
External links
FireChaser Express' official website
Roller coasters in Tennessee
|
```c++
// Boost string_algo library trim.hpp header file ---------------------------//
//
// (See accompanying file LICENSE_1_0.txt or copy at
// path_to_url
// See path_to_url for updates, documentation, and revision history.
#ifndef BOOST_STRING_TRIM_DETAIL_HPP
#define BOOST_STRING_TRIM_DETAIL_HPP
#include <boost/algorithm/string/config.hpp>
#include <iterator>
namespace boost {
namespace algorithm {
namespace detail {
// trim iterator helper -----------------------------------------------//
template< typename ForwardIteratorT, typename PredicateT >
inline ForwardIteratorT trim_end_iter_select(
ForwardIteratorT InBegin,
ForwardIteratorT InEnd,
PredicateT IsSpace,
std::forward_iterator_tag )
{
ForwardIteratorT TrimIt=InBegin;
for( ForwardIteratorT It=InBegin; It!=InEnd; ++It )
{
if ( !IsSpace(*It) )
{
TrimIt=It;
++TrimIt;
}
}
return TrimIt;
}
template< typename ForwardIteratorT, typename PredicateT >
inline ForwardIteratorT trim_end_iter_select(
ForwardIteratorT InBegin,
ForwardIteratorT InEnd,
PredicateT IsSpace,
std::bidirectional_iterator_tag )
{
for( ForwardIteratorT It=InEnd; It!=InBegin; )
{
if ( !IsSpace(*(--It)) )
return ++It;
}
return InBegin;
}
// Search for first non matching character from the beginning of the sequence
template< typename ForwardIteratorT, typename PredicateT >
inline ForwardIteratorT trim_begin(
ForwardIteratorT InBegin,
ForwardIteratorT InEnd,
PredicateT IsSpace )
{
ForwardIteratorT It=InBegin;
for(; It!=InEnd; ++It )
{
if (!IsSpace(*It))
return It;
}
return It;
}
// Search for first non matching character from the end of the sequence
template< typename ForwardIteratorT, typename PredicateT >
inline ForwardIteratorT trim_end(
ForwardIteratorT InBegin,
ForwardIteratorT InEnd,
PredicateT IsSpace )
{
typedef BOOST_STRING_TYPENAME
std::iterator_traits<ForwardIteratorT>::iterator_category category;
return ::boost::algorithm::detail::trim_end_iter_select( InBegin, InEnd, IsSpace, category() );
}
} // namespace detail
} // namespace algorithm
} // namespace boost
#endif // BOOST_STRING_TRIM_DETAIL_HPP
```
|
Lexicon Branding, Inc., is an American marketing firm founded in 1982 by David Placek. It focuses on selecting brand names for companies and products. The company devised the brand names Pentium, BlackBerry, PowerBook, Zune, Swiffer, Febreze, Subaru Outback and Forester, Toyota Scion, DeskJet, Dasani, OnStar, Embassy Suites Hotels and Metreon, among others.
History
David Placek founded Lexicon in 1982. Placek grew up in Santa Rosa, California, and graduated from UCLA with a degree in political science. He cites his work as press secretary in Warren Hearnes's unsuccessful 1976 campaign for U.S. Senate from Missouri as the experience that inspired him to go into marketing. Before starting Lexicon, he worked at the advertising agencies, Foote, Cone & Belding (where he became a devotee of Synectics) and an agency called S&O.
As of October 1992, Lexicon had eight employees. As of February 1998, it had 15 employees and did about 60% of its business in the technology sector. An April 2004 article described the company as having 17 employees but said the "core creative team" was Placek and three others. As of November 2008, Lexicon had 26 employees.
As of June 2010 the company was headquartered in Sausalito, California, and had offices in London and New York City.
Clients
Apple Inc. introduced its PowerBook in 1991. Lexicon crafted the name to combine the notions of performance ("Power") and portability ("Book"). That same year, Lexicon came up with the name of Apple's Macintosh Quadra desktop computer, hoping to appeal to engineers with a name evoking technical terms like quadrant and quadriceps.
In 1992, Intel was preparing to launch its fifth-generation x86-compatible microchip and needed a name it could trademark. Lexicon suggested it should end with the suffix -ium to connote a fundamental ingredient of a computer, like a chemical element. On a list of such names was "Pentium", which stood out to Placek because the prefix pent- could refer to the fifth generation of x86. Lexicon conducted market research and found that consumers would expect a hypothetical "Porsche Pentium" to be Porsche's highest-end car. In 1998, Placek said Pentium was the best name his company had come up with. The name was so successful that Intel named the chip's x86 successors after it: Pentium II, Pentium III, and so on. Intel CEO Andy Grove said that Pentium became a more recognized brand than Intel itself and told The New Yorker in 2011 that the name "was one of our great success stories."
In 1997, Sony's retail division hired Lexicon to name the first location, to be in downtown San Francisco, of a newly planned chain of "urban entertainment centers" designed to promote the Sony brand. Lexicon chose the name Metreon because they believed the metr- suffix evoked words like "metropolitan" and "meteor", the latter "suggesting something sophisticated, exciting and fast-moving".
Intel hired Lexicon again in 1998 to name the Celeron and Xeon chips. The San Jose Mercury News described Lexicon's reasoning behind the former name: "Celer is Latin for swift. As in 'accelerate.' And 'on.' As in 'turned on.' Celeron is seven letters and three syllables, like Pentium. The 'Cel' of Celeron rhymes with 'tel' of Intel." Placek told the San Francisco Chronicle said that the "X" of "Xeon" evokes "the next generation", "eon" refers to the long period of time, and the novelty of the name as a whole reflects the product's novelty. It also was supposed to recall "Pentium's Greek roots".
In 1998, Lexicon came up with a new name for the company then known as Borland International: Inprise. Borland CEO Del Yocam explained at the time that the new name was meant to evoke "integrating the enterprise". Analysts said Borland proved to be a stronger brand, and by 2000 the company had switched the name back.
Research In Motion hired Lexicon in 1998 to name their new two-way pager. RIM came with several ideas, including EasyMail, MegaMail, and ProMail. Based on interviews with San Francisco Bay Area commuters, Lexicon determined that referring to e-mail in the name would induce stress in users. Encouraging RIM to choose a name that larger competitors would never think of, Lexicon proposed BlackBerry. The second B was capitalized because a linguistic study funded by Lexicon suggested that the letter "B" is, in The New Yorkers words, "one of the most 'reliable' in any language". Lexicon research also suggested that repetition of the B would promote relaxation in users.
In 2006, Microsoft approached Lexicon to find a name for its new portable media player to compete with Apple's iPod. Placek assigned three teams to come up with three names: one for the Microsoft player, one for a hypothetical Sony player, one for "a broadband experience for MTV." He refused to tell the San Francisco Chronicle which team came up with "Zune", the name Microsoft chose. Placek said the name was chosen because the "Z" was perceived as fun and irreverent, it has one syllable compared with iPod's two, and it has a musical sound that rhymes with iTunes, Apple's media distribution platform. Controversies arose due to similarities between the name and vulgar words in Hebrew and Canadian French. In 2008, Lexicon came up with the name of Microsoft's Azure Services Platform.
Lexicon also christened Subaru's Outback and Forester vehicles, Procter & Gamble's Swiffer cleaner, Levi Strauss & Co.'s Slates dress pants, the Oldsmobile Alero, Embassy Suites Hotels, Hewlett-Packard's DeskJet printer line, Nestlé's Dibs confection, Colgate's Wisp miniature toothbrush, the Coca-Cola Company's Dasani bottled water, the Toyota Scion, P&G's Febreze odor eliminator, and OnStar.
References
External links
Company website
Public relations companies of the United States
Marketing companies established in 1982
Privately held companies based in California
Companies based in Marin County, California
1982 establishments in California
|
```objective-c
//===============================================================================
//===============================================================================
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files(the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions :
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
//
// File Name: Codec_DXT5.h
// Description: interface for the CCodec_DXT5 class
//
//////////////////////////////////////////////////////////////////////////////
#ifndef _CODEC_DXT5_H_INCLUDED_
#define _CODEC_DXT5_H_INCLUDED_
#include "codec_common.h"
#include "codec_dxtc.h"
class CCodec_DXT5 : public CCodec_DXTC
{
public:
CCodec_DXT5();
virtual ~CCodec_DXT5();
virtual CodecError Compress(CCodecBuffer& bufferIn,
CCodecBuffer& bufferOut,
Codec_Feedback_Proc pFeedbackProc = NULL,
CMP_DWORD_PTR pUser1 = NULL,
CMP_DWORD_PTR pUser2 = NULL);
virtual CodecError Compress_Fast(CCodecBuffer& bufferIn,
CCodecBuffer& bufferOut,
Codec_Feedback_Proc pFeedbackProc = NULL,
CMP_DWORD_PTR pUser1 = NULL,
CMP_DWORD_PTR pUser2 = NULL);
virtual CodecError Compress_SuperFast(CCodecBuffer& bufferIn,
CCodecBuffer& bufferOut,
Codec_Feedback_Proc pFeedbackProc = NULL,
CMP_DWORD_PTR pUser1 = NULL,
CMP_DWORD_PTR pUser2 = NULL);
virtual CodecError Decompress(CCodecBuffer& bufferIn,
CCodecBuffer& bufferOut,
Codec_Feedback_Proc pFeedbackProc = NULL,
CMP_DWORD_PTR pUser1 = NULL,
CMP_DWORD_PTR pUser2 = NULL);
};
#endif // !defined(_CODEC_DXT5_H_INCLUDED_)
```
|
Juan Antonio Díaz (born 5 July 1961) is an Argentine boxer. He competed in the men's heavyweight event at the 1988 Summer Olympics. At the 1988 Summer Olympics, he lost to Maik Heydeck of East Germany.
References
1961 births
Living people
Argentine male boxers
Olympic boxers for Argentina
Boxers at the 1988 Summer Olympics
Pan American Games medalists in boxing
Pan American Games silver medalists for Argentina
Boxers at the 1987 Pan American Games
People from Comodoro Rivadavia
Sportspeople from Chubut Province
Heavyweight boxers
Medalists at the 1987 Pan American Games
|
Édouard Écuyer de le Court (6 September 1901 – 10 February 1951) was a Belgian modern pentathlete. He competed at the 1928 and 1936 Summer Olympics.
References
External links
1901 births
1951 deaths
Belgian male modern pentathletes
Olympic modern pentathletes for Belgium
Modern pentathletes at the 1928 Summer Olympics
Modern pentathletes at the 1936 Summer Olympics
People from Ixelles
Sportspeople from Brussels
|
```shell
Finding a tag
Pushing tags to a server
You can use git offline!
The three states in git
Remote repositories: viewing, editing and deleting
```
|
A modeling agency is a company that represents fashion models, to work for the fashion industry. These agencies earn their income via commission, usually from the deal they make with the model and/or the head agency.
The top agencies work with big-budget advertising agencies and fashion designers. They invest money into developing their talent so they can increase their status within the industry. These top agencies will help train models, get test shoots, layout portfolios, and put together comp cards (composition photo cards) and other printed materials models need.
The agencies find work for models by presenting them to designers, photographers, and ad agencies. The agencies are also responsible for booking the jobs, billing for the jobs, and eventually paying the models for their time. By handling the details, an agency allows a model to focus on modeling and not on the business end.
Because modeling is a competitive, fast moving business that extends beyond the traditional 9 AM to 5 PM business hours, an agency generally conducts business 24 hours a day, to handle emergencies such as cancellations or rush jobs. Most agencies have a service or an operator to handle emergency issues after hours.
Industry information
Booking agents versus managers and mother agents
A popular and conventional way for models to build their contacts and get booked for gigs is through model management companies or agencies. An agency specializes in finding gigs for models that are signed with them, while managers are there to guide their models and help them start, develop, and establish successful careers, present models to booking agents, and arrange placements for their models. Mother agents/model managers play a key role in the modeling industry. They provide the constant supply of new faces to booking markets from scouting markets. Most models are from countries like Russia, Hungary, the Netherlands, Poland, the Czech Republic, etc. while booking markets are New York, London, Paris, Milan, Tokyo, Shanghai, etc.
Contractual agreements
Most agencies sign their top talent to exclusive contracts in each market, which vary in length based on the model's industry status and experience. However, because a good agency finds their models work and negotiates top price for their talent, they earn a management commission (between 10% and 20%) from every job they book on a model's behalf. An agency usually bills a client an additional 20% service charge for booking the model, so a typical agency will make between 10 and 40% on each booking of which no more than 20% comes out of the model's pocket. This varies outside the US due to each country's law and taxes.
Other contracts offered by modeling agencies are the mother agency contract and a non-exclusive contract. A mother agency tries to sign talent with larger agencies in each international market, while non-exclusive agencies allow models to sign with other agencies (usually outside a certain city radius).
Contracts typically last from a year to three years. A mother agency agreement can range from five to ten years.
Poaching
Poaching is the act of signing a model or agent from another agency while they are still under contract, an act that can be seen as financially detrimental to the agency. Typically, the agency sues the other agency for breach of contract.
Mandatory height requirements
High fashion modeling agencies contract with a diverse group of models. Nearly without exception (unless a model is young enough to still be growing), agencies require women to be between 5'9 (minimum) and 6'1" and men to be between 5'11" and 6'3" and in fit or reasonable physical condition for all heights.
Auditions and open calls
Modelling agencies need new faces on a regular basis. The number of models in an agency depends on the demand brought in by its agents and changes throughout the year. To this end, modeling agencies advertise in local phone directories to remain visible.
Each new model-screening process is different from one agency to the next:
A casting call is where models show up by appointment to be considered for a specific job.
An open call is a time specified by an agency for any prospective models (or those interested in becoming models) to show up and be considered for future work.
A go-see is an appointment for a model to meet with a client for consideration for future work. Like an open call, it is not for a specific job, but unlike an open call, the model is being specifically requested or sent.
A dry call is where models mail unsolicited comp cards to an agency. While this may work with smaller agencies, larger agencies host open calls where men and women can come into the agency and get seen by agents who may or may not be interested.
Scams
In this constantly changing industry where old agencies close or merge and new ones pop up in their place, scam artists have many opportunities to prey on new, unsuspecting models and aspiring models. A legitimate modeling agency should have knowledge of the marketplace and honestly evaluate models for their market. It will have contacts with photographers, graphic designers, and printers to prepare a model's marketing materials. Texas, Florida, and California have online resources listing licensed agencies.
In the United States, the Better Business Bureau registers complaints against agencies that conduct dishonest business practices and scams. Scam artists and untrustworthy agencies generally demand long-term contracts up front and use high-pressure tactics to persuade models into committing to high-commission percentages or signing over unnecessary rights.
An example of a modeling scam is when an agency claims to have work, but really what they are doing is trying to sell photoshoots and modeling courses to aspiring models. A legitimate agency should only make profit from agency commissions.
A scam was exposed in 2009, when a Louisville-based male modeling agency, called "Models-Today, LLC", owned by convicted felon Russell Claxon, was exposed as having never obtained any jobs for the models despite fees in the hundreds of dollars. Due to the unusually large number of consumer complaints filed against the business, including solicitation for gay male prostitution, this story was disseminated across the Better Business Bureau national networks and provides information on how to avoid such scams. Due to a lack of regulatory oversight in the United States, modelling agency scams can be easily carried out and sustained. Models-Today's owner began operating a similar company called Active Male Models, LLC in Kentucky.
See also
Ad agency
Employment agency
List of modeling agencies
Talent agency
References
|
Nyumba ya Mungu Dam is a Tanzanian, hydroelectric dam located in and operated in Mwanga District , Kilimanjaro Region. It was built in the late 1960s and is Kilimanjaro region's largest artificial water body. Nyumba ya Mungu Reservoir. The reservoir is shared with Moshi District of Kilimanjaro Region and Simanjiro District of Manyara Region. Nyumba ya Mungu means 'House of God'. Its installed capacity is .
Overview
Reservoir
Nyumba ya Mungu is a man made lake in the Kilimanjaro region. The reservoir is situated in the Pangani River Valley of the Masai Steppe, about 50 km south of Moshi. It is fed by two major inflows, the rivers Kikuletwa and Ruvu which drain some of catchment consisting of wooded grassland, forest, true desert, and alpine desert.
It was constructed for the purposes of irrigation, hydro-electric power and to start a local fishing industry. The reservoir was completed in December 1965 however the irrigation scheme had not yet been developed. The plan was to build a dam that would have served the purpose of storing flood flow, which would allow the development of some 30,000 acres of irrigated farming and generation of electricity power.
By 1970 the lake had a thriving Tilapia fishery production. However, this did not last long and subsequent reports from 1972 and 1973 showed a major decline in fish product.
See also
Tanzania Electric Supply Company
List of power stations in Tanzania
References
External links
Dams in Tanzania
Hydroelectric power stations in Tanzania
Pangani basin
Buildings and structures in the Kilimanjaro Region
Important Bird Areas of Tanzania
|
```c
/* $OpenBSD: macro.c,v 1.18 2023/03/08 04:43:11 guenther Exp $ */
/* This file is in the public domain. */
/*
* Keyboard macros.
*/
#include <sys/queue.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include "def.h"
#include "key.h"
#include "macro.h"
int inmacro = FALSE; /* Macro playback in progress */
int macrodef = FALSE; /* Macro recording in progress */
int macrocount = 0;
struct line *maclhead = NULL;
struct line *maclcur;
union macrodef macro[MAXMACRO];
int
definemacro(int f, int n)
{
struct line *lp1, *lp2;
macrocount = 0;
if (macrodef) {
ewprintf("already defining macro");
return (macrodef = FALSE);
}
/* free lines allocated for string arguments */
if (maclhead != NULL) {
for (lp1 = maclhead->l_fp; lp1 != maclhead; lp1 = lp2) {
lp2 = lp1->l_fp;
free(lp1);
}
free(lp1);
}
if ((maclhead = lp1 = lalloc(0)) == NULL)
return (FALSE);
ewprintf("Defining Keyboard Macro...");
maclcur = lp1->l_fp = lp1->l_bp = lp1;
return (macrodef = TRUE);
}
int
finishmacro(int f, int n)
{
if (macrodef == TRUE) {
macrodef = FALSE;
ewprintf("End Keyboard Macro Definition");
return (TRUE);
}
return (FALSE);
}
int
executemacro(int f, int n)
{
int i, j, flag, num;
PF funct;
if (macrodef ||
(macrocount >= MAXMACRO && macro[MAXMACRO - 1].m_funct
!= finishmacro)) {
dobeep();
ewprintf("Macro too long. Aborting.");
return (FALSE);
}
if (macrocount == 0)
return (TRUE);
inmacro = TRUE;
for (i = n; i > 0; i--) {
maclcur = maclhead->l_fp;
flag = 0;
num = 1;
for (j = 0; j < macrocount - 1; j++) {
funct = macro[j].m_funct;
if (funct == universal_argument) {
flag = FFARG;
num = macro[++j].m_count;
continue;
}
if ((*funct)(flag, num) != TRUE) {
inmacro = FALSE;
return (FALSE);
}
lastflag = thisflag;
thisflag = 0;
flag = 0;
num = 1;
}
}
inmacro = FALSE;
return (TRUE);
}
```
|
```php
<?php
namespace MathPHP\Tests\Statistics\Multivariate\PCA;
use MathPHP\Functions\Map\Multi;
use MathPHP\LinearAlgebra\NumericMatrix;
use MathPHP\LinearAlgebra\MatrixFactory;
use MathPHP\SampleData;
use MathPHP\Statistics\Multivariate\PCA;
use MathPHP\Exception;
class CenterTrueScaleTrueTest extends \PHPUnit\Framework\TestCase
{
/** @var PCA */
private static $pca;
/** @var NumericMatrix */
private static $matrix;
/**
* R code for expected values:
* library(mdatools)
* data = mtcars[,c(1:7,10,11)]
* model = pca(data, center=TRUE, scale=TRUE)
*
* @throws Exception\MathException
*/
public static function setUpBeforeClass(): void
{
$mtCars = new SampleData\MtCars();
// Remove and categorical variables
self::$matrix = MatrixFactory::create($mtCars->getData())->columnExclude(8)->columnExclude(7);
self::$pca = new PCA(self::$matrix, true, true);
}
/**
* @test The class returns the correct R-squared values
*
* R code for expected values:
* model$calres$expvar / 100
*/
public function testRsq()
{
// Given
$expected = [0.628437719, 0.231344477, 0.056023869, 0.029447503, 0.020350960, 0.013754799, 0.011673547, 0.006501528, 0.002465598];
// When
$R2 = self::$pca->getR2();
// Then
$this->assertEqualsWithDelta($expected, $R2, .00001);
}
/**
* @test The class returns the correct cumulative R-squared values
*
* R code for expected values:
* model$calres$cumexpvar / 100
*/
public function testCumRsq()
{
// Given
$expected = [0.6284377, 0.8597822, 0.9158061, 0.9452536, 0.9656045, 0.9793593, 0.9910329, 0.9975344, 1.0000000];
// When
$cumR2 = self::$pca->getCumR2();
// Then
$this->assertEqualsWithDelta($expected, $cumR2, .00001);
}
/**
* @test The class returns the correct loadings
*
* R code for expected values:
* model$loadings
*
* @throws \Exception
*/
public function testLoadings()
{
// Given
$expected = [
[-0.3931477, 0.02753861, -0.22119309, -0.006126378, -0.320762, 0.72015586, -0.38138068, -0.12465987, 0.11492862],
[0.4025537, 0.01570975, -0.25231615, 0.040700251, 0.1171397, 0.2243255, -0.15893251, 0.81032177, 0.16266295],
[0.3973528, -0.08888469, -0.07825139, 0.339493732, -0.4867849, -0.01967516, -0.18233095, -0.06416707, -0.66190812],
[0.3670814, 0.26941371, -0.01721159, 0.068300993, -0.2947317, 0.35394225, 0.69620751, -0.16573993, 0.25177306],
[-0.3118165, 0.34165268, 0.14995507, 0.845658485, 0.1619259, -0.01536794, 0.04767957, 0.13505066, 0.03809096],
[0.3734771, -0.17194306, 0.45373418, 0.191260029, -0.1874822, -0.08377237, -0.42777608, -0.19839375, 0.56918844],
[-0.2243508, -0.48404435, 0.62812782, -0.030329127, -0.1482495, 0.2575294, 0.27622581, 0.3561335, -0.16873731],
[-0.2094749, 0.55078264, 0.20658376, -0.282381831, -0.562486, -0.32298239, -0.08555707, 0.31636479, 0.04719694],
[0.2445807, 0.4843131, 0.46412069, -0.214492216, 0.399782, 0.35706914, -0.2060421, -0.10832772, -0.32045892]
];
// And since each column could be multiplied by -1, we will compare the two and adjust.
$loadings = self::$pca->getLoadings();
$load_array = $loadings->getMatrix();
// Get an array that's roughly ones and negative ones.
$quotiant = Multi::divide($expected[1], $load_array[1]);
// Convert to exactly one or negative one. Cannot be zero.
$signum = \array_map(
function ($x) {
return $x <=> 0;
},
$quotiant
);
$sign_change = MatrixFactory::diagonal($signum);
// Multiplying a sign change matrix on the right changes column signs.
$sign_adjusted = $loadings->multiply($sign_change);
// Then
$this->assertEqualsWithDelta($expected, $sign_adjusted->getMatrix(), .00001);
}
/**
* @test The class returns the correct scores
*
* R code for expected values:
* model$calres$scores
* new = matrix(c(1:9), 1, 9)
* result = predict(model, new)
* result$scores
*
* @throws \Exception
*/
public function testScores()
{
// Given
$expected = [
[-0.66422351, 1.1734476, -0.20431724, -0.12601751, 0.75200784, -0.12506777, -0.42357334, -0.003259165, -0.167051112],
[-0.63719807, 0.9769448, 0.11077779, -0.08567709, 0.65668822, -0.06619437, -0.44849307, 0.056643244, -0.071592094],
[-2.29973601, -0.3265893, -0.21014955, -0.10862524, -0.07622329, -0.56693648, 0.38612406, -0.202035744, 0.11450503],
[-0.2152967, -1.9768101, -0.32946822, -0.30806225, -0.24391787, 0.08382435, 0.03299362, -0.023714111, -0.145255757],
[1.58697405, -0.8287285, -1.03299254, 0.14738418, -0.22270405, 0.18280435, -0.05793795, 0.152342587, -0.154646072],
[0.04960512, -2.4466838, 0.11177774, -0.87154914, -0.12574876, -0.23043022, 0.22451528, 0.098663134, -0.004233901],
[2.71439677, 0.3610529, -0.65206041, 0.09633337, 0.29674234, 0.27763557, 0.44227307, -0.306373481, -0.18698081],
[-2.04370658, -0.8006412, 0.84898795, -0.27451338, -0.26307848, -0.19042527, -0.394164, -0.187088365, -0.01046133],
[-2.29506729, -1.3056004, 1.9684845, 0.05055875, -0.45988113, 0.20443847, 0.53713423, 0.413455512, -0.169005773],
[-0.38252133, 0.5811211, 0.88632274, 0.07026946, 0.45835852, -0.07984989, -0.26113412, 0.204105964, 0.110461785],
[-0.36652708, 0.4121971, 1.1486095, 0.06150898, 0.48309076, -0.16066456, -0.07979514, 0.352641772, 0.027108266],
[1.88466875, -0.7241198, -0.20604588, -0.21856675, 0.27996207, 0.17135058, -0.0891448, 0.092140434, 0.396034809],
[1.67107231, -0.7144354, -0.32644071, -0.28933625, 0.28061777, 0.33682412, 0.03346598, 0.182323579, 0.196526577],
[1.77692371, -0.8411687, -0.08557921, -0.28421711, 0.34961695, 0.13926264, 0.20632469, 0.295340402, 0.147796262],
[3.64958983, -0.9480878, 0.88315862, 0.21645793, -0.34788247, -0.24002207, -0.31053111, -0.171865268, -0.251117818],
[3.71033756, -0.8426945, 0.93230325, 0.34099021, -0.34260485, -0.22646211, -0.28589695, -0.239313268, -0.028994385],
[3.331963, -0.4805609, 0.67061959, 0.65189724, -0.43940743, 0.3104575, -0.38304409, -0.359765688, 0.223097923],
[-3.45236266, -0.4327074, -0.22604214, 0.10018032, -0.33470301, 0.57303421, -0.24650594, -0.066340528, 0.220271421],
[-3.85477722, 0.7084152, -0.22670973, 1.19340342, 0.53954318, 0.37207104, -0.20055288, 0.087333576, -0.241702175],
[-3.85488283, -0.3872111, -0.25488964, 0.21962306, -0.30372397, 0.83750899, -0.10186868, 0.104053562, 0.042833437],
[-1.90375523, -1.5725638, 0.06620424, 0.07989679, 0.5012657, -0.07212137, 0.74680802, -0.408144457, -0.082722856],
[1.80402354, -1.1340965, -1.00776416, -0.58796239, 0.09903732, -0.33920894, -0.14045443, 0.156086022, -0.050247532],
[1.46483534, -0.9777629, -0.76680342, -0.03308788, 0.26871378, -0.31479492, 0.03753417, 0.370979414, -0.043466032],
[2.60135738, 0.7649595, -0.4891514, 0.9524755, 0.53065965, 0.05970074, 0.38212238, -0.28961299, 0.08206984],
[1.87424485, -0.9791561, -0.89787633, 0.22438738, -0.50770999, 0.20785973, -0.32709161, 0.027471038, -0.130958896],
[-3.14830645, -0.2552569, -0.36230545, 0.06406082, 0.03361267, -0.0958673, 0.1035227, -0.020876499, 0.021084764],
[-2.77939557, 1.6373369, -0.35969974, 0.3188654, -0.4325103, -0.69006515, -0.2631312, -0.105695694, 0.085027267],
[-2.90895427, 1.3962368, -0.91635036, -0.90254314, -0.75861156, 0.05473409, -0.03491081, -0.236552376, -0.04634105],
[1.54812696, 3.0206982, -0.51945216, 0.8656085, -0.86048411, -0.50704173, 0.37940892, 0.548070377, 0.053196712],
[0.08049995, 2.8346567, 0.34481747, -1.14659658, 0.29944552, -0.08124583, -0.26924964, -0.123537656, -0.047915313],
[2.96252801, 3.9993896, 0.70296512, -0.73000448, -0.22756074, 0.65580986, 0.49422807, -0.082329298, -0.053112079],
[-1.90443632, 0.108419, 0.39906976, 0.31285789, 0.11738974, -0.48091826, 0.31102454, -0.315146031, 0.165790892],
];
// And since each column could be multiplied by -1, we will compare the two and adjust.
$scores = self::$pca->getScores();
$score_array = $scores->getMatrix();
// Get an array that's roughly ones and negative ones.
$quotiant = Multi::divide($expected[1], $score_array[1]);
// Convert to exactly one or negative one. Cannot be zero.
$signum = \array_map(
function ($x) {
return $x <=> 0;
},
$quotiant
);
$signature = MatrixFactory::diagonal($signum);
// Multiplying a sign change matrix on the right changes column signs.
$sign_adjusted = $scores->multiply($signature);
// Then
$this->assertEqualsWithDelta($expected, $sign_adjusted->getMatrix(), .00001);
// And Given
$expected = MatrixFactory::create([[0.1257286, 7.899684, 2.327884, -0.366373, 1.284736, -5.869623, -3.59103, -1.97999, 1.738207]]);
$sign_adjusted = $expected->multiply($signature);
// When
$scores = self::$pca->getScores(MatrixFactory::create([[1,2,3,4,5,6,7,8,9]]));
// Then
$this->assertEqualsWithDelta($sign_adjusted->getMatrix(), $scores->getMatrix(), .00001);
}
/**
* @test The class returns the correct eigenvalues
*
* R code for expected values:
* model$eigenvals
*/
public function testEigenvalues()
{
// Given
$expected = [5.65593947, 2.08210029, 0.50421482, 0.26502753, 0.18315864, 0.12379319, 0.105061920, .05851375, 0.02219038];
// When
$eigenvalues = self::$pca->getEigenvalues()->getVector();
// Then
$this->assertEqualsWithDelta($expected, $eigenvalues, .00001);
}
/**
* @test The class returns the correct critical T distances
*
* R code for expected values:
* model$T2lim
*/
public function testCriticalT2()
{
// Given
$expected = [4.159615, 6.852714, 9.40913, 12.01948, 14.76453, 17.69939, 20.87304, 24.33584, 28.14389];
// When
$criticalT2 = self::$pca->getCriticalT2();
// Then
$this->assertEqualsWithDelta($expected, $criticalT2, .00001);
}
/**
* @test The class returns the correct critical Q distances
*
* R code for expected values:
* model$Qlim
*/
public function testCriticalQ()
{
// Given
$expected = [9.799571, 3.054654, 1.785614, 1.200338, 0.7974437, 0.534007, 0.2584248, 0.08314212, 0];
// When
$criticalQ = self::$pca->getCriticalQ();
// Then
$this->assertEqualsWithDelta($expected, $criticalQ, .00001);
}
/**
* @test The class returns the correct T distances
*
* R code for expected values:
* model$calres$T2
*
* @throws \Exception
*/
public function testGetTDistances()
{
// Given
$expected = [
[0.0780052327, 0.7393467, 0.8221398, 0.8820597, 3.969633, 4.095989, 5.80369, 5.803872, 7.061447],
[0.0717867274, 0.5301802, 0.5545185, 0.5822158, 2.936674, 2.97207, 4.886617, 4.94145, 5.172425],
[0.9350852706, 0.9863127, 1.0739, 1.1184216, 1.150143, 3.746545, 5.16563, 5.863217, 6.454077],
[0.008195397, 1.8850397, 2.1003236, 2.4584085, 2.783241, 2.840001, 2.850363, 2.859973, 3.810801],
[0.4452817489, 0.7751366, 2.8914441, 2.9734058, 3.244193, 3.514139, 3.54609, 3.942719, 5.020456],
[0.0004350591, 2.8755423, 2.9003219, 5.7664314, 5.852765, 6.281691, 6.761476, 6.927837, 6.928645],
[1.3026924773, 1.365302, 2.2085592, 2.2435748, 2.724338, 3.347002, 5.208813, 6.812961, 8.388501],
[0.7384691114, 1.046344, 2.4758548, 2.7601935, 3.138064, 3.430987, 4.909784, 5.507969, 5.512901],
[0.9312924774, 1.7499814, 9.4350614, 9.4447064, 10.599392, 10.937012, 13.683137, 16.604595, 17.891772],
[0.025870603, 0.1880634, 1.746066, 1.7646973, 2.91175, 2.963255, 3.61231, 4.324267, 4.874136],
[0.023752393, 0.1053558, 2.7219067, 2.7361821, 4.01036, 4.218878, 4.279483, 6.404731, 6.437847],
[0.6280081903, 0.879845, 0.9640451, 1.1442959, 1.572224, 1.809402, 1.885041, 2.030133, 9.098221],
[0.4937256968, 0.7388714, 0.9502169, 1.2660915, 1.696027, 2.612478, 2.623139, 3.191242, 4.931757],
[0.5582552432, 0.8980874, 0.9126126, 1.2174087, 1.884765, 2.04143, 2.446618, 3.93731, 4.921688],
[2.3549590602, 2.7866724, 4.3335709, 4.5103602, 5.171111, 5.636489, 6.554324, 7.059123, 9.900902],
[2.4340085101, 2.7750747, 4.498922, 4.9376475, 5.578502, 5.992783, 6.770772, 7.749531, 7.787415],
[1.9628882995, 2.0738046, 2.9657471, 4.5692409, 5.623403, 6.401991, 7.798527, 10.010509, 12.253493],
[2.1073082516, 2.1972346, 2.2985705, 2.3364386, 2.948073, 5.600628, 6.179002, 6.254217, 8.440727],
[2.6272041022, 2.8682357, 2.9701711, 8.3439967, 9.933367, 11.051658, 11.434494, 11.564842, 14.197511],
[2.6273480696, 2.6993583, 2.8282095, 3.0102068, 3.513859, 9.179932, 9.278705, 9.463741, 9.546421],
[0.640792567, 1.8285149, 1.8372076, 1.8612938, 3.23315, 3.275168, 8.583677, 11.430562, 11.738942],
[0.5754129681, 1.1931425, 3.2073408, 4.5117327, 4.565284, 5.494759, 5.682529, 6.09889, 6.21267],
[0.379378631, 0.8385401, 2.0046849, 2.0088158, 2.403048, 3.203543, 3.216953, 5.568976, 5.654117],
[1.196452022, 1.4774966, 1.9520346, 5.3751114, 6.912575, 6.941366, 8.331189, 9.764625, 10.068155],
[0.621080505, 1.0815515, 2.6804372, 2.8704164, 4.277772, 4.626787, 5.645129, 5.658026, 6.430894],
[1.752464565, 1.783758, 2.0440939, 2.0595783, 2.065747, 2.139988, 2.241994, 2.249442, 2.269476],
[1.365827867, 2.6534085, 2.9100132, 3.2936532, 4.314982, 8.161639, 8.82066, 9.011582, 9.337382],
[1.4961289803, 2.4324321, 4.0977897, 7.1713728, 10.313411, 10.337612, 10.349212, 11.305518, 11.402293],
[0.4237487167, 4.8061589, 5.3413089, 8.1684797, 12.211057, 14.287837, 15.657993, 20.791506, 20.919034],
[0.0011457411, 3.8603637, 4.0961741, 9.0567294, 9.546292, 9.599614, 10.289639, 10.550459, 10.653922],
[1.5517443671, 9.2339474, 10.2140058, 12.224765, 12.507492, 15.981726, 18.306654, 18.422492, 18.549614],
[0.6412511483, 0.6468967, 0.9627476, 1.3320679, 1.407305, 3.275602, 4.196356, 5.893684, 7.132357],
];
// When
$TDistances = self::$pca->getT2Distances()->getMatrix();
// Then
$this->assertEqualsWithDelta($expected, $TDistances, .00001);
}
/**
* @test The class returns the correct T distances
*
* R code for expected values:
* new = matrix(c(1:9), 1, 9)
* result = predict(model, new)
* result$T2
*
* @throws \Exception
*/
public function testT2WithNewData()
{
// Given
$expected = [[0.002794881, 29.97494, 40.72243, 41.2289, 50.24047, 328.5471, 451.289, 518.2879, 654.4443]];
$newdata = MatrixFactory::create([[1,2,3,4,5,6,7,8,9]]);
// When
$TDistances = self::$pca->getT2Distances($newdata)->getMatrix();
// Then
$this->assertEqualsWithDelta($expected, $TDistances, .0001);
}
/**
* @test The class returns the correct Q residuals
*
* R code for expected values:
* model$calres$Q
*
* @throws \Exception
*/
public function testGetQResiduals()
{
// Given
$expected = [
[2.2230939, 0.8461148, 0.80436922, 0.78848881, 0.22297302, 0.20733107, 0.0279166962, 0.02790607, 4.999714E-31],
[1.6191345, 0.6647133, 0.65244159, 0.64510102, 0.21386161, 0.20947992, 0.008333885, 0.005125428, 6.842829E-31],
[0.6928714, 0.5862109, 0.54204804, 0.53024859, 0.5244386, 0.20302164, 0.053929844, 0.0131114, 1.57464E-30],
[4.2005024, 0.2927243, 0.18417497, 0.08927262, 0.0297767, 0.02275017, 0.0216615939, 0.02109923, 2.915298E-30],
[1.9090817, 1.2222907, 0.1552171, 0.133495, 0.08389791, 0.05048048, 0.0471236715, 0.02391541, 1.932863E-30],
[6.8874241, 0.9011625, 0.88866819, 0.12907029, 0.11325754, 0.06015945, 0.00975234, 0.00001792591, 2.53645E-30],
[1.0543916, 0.9240324, 0.49884964, 0.48956953, 0.40151351, 0.324432, 0.1288265333, 0.03496182, 2.948984E-30],
[1.7331133, 1.092087, 0.37130642, 0.29594882, 0.22673854, 0.19047676, 0.0351114957, 0.0001094394, 1.131099E-30],
[6.3233872, 4.6187948, 0.74386353, 0.74130734, 0.52981669, 0.4880216, 0.199508412, 0.02856295, 3.754023E-30],
[1.4667281, 1.1290264, 0.34345841, 0.33852062, 0.12842808, 0.12205208, 0.0538610506, 0.01220181, 7.749942E-31],
[1.8836417, 1.7137353, 0.39443148, 0.39064813, 0.15727144, 0.13145834, 0.1250910774, 0.0007348581, 1.165573E-30],
[0.8955959, 0.3712463, 0.32879143, 0.28102, 0.20264125, 0.17328022, 0.1653334295, 0.1568436, 1.146506E-30],
[0.9658784, 0.4554604, 0.34889684, 0.26518138, 0.18643504, 0.07298456, 0.071864583, 0.0386227, 2.124879E-30],
[1.0889335, 0.3813688, 0.37404503, 0.29326566, 0.17103365, 0.15163957, 0.1090696882, 0.02184374, 2.317664E-30],
[2.0933538, 1.1944834, 0.41451424, 0.3676602, 0.24663799, 0.1890274, 0.0925978287, 0.06306016, 5.534352E-30],
[2.0041095, 1.2939754, 0.42478607, 0.30851175, 0.19113367, 0.13984858, 0.0581115149, 0.0008406744, 4.42474E-30],
[1.721029, 1.4900902, 1.04035958, 0.61538957, 0.42231067, 0.32592681, 0.1792040337, 0.04977268, 5.090618E-30],
[0.8024469, 0.6152112, 0.56411615, 0.55408006, 0.44205395, 0.11368574, 0.0529205643, 0.0485195, 4.009016E-30],
[2.5132733, 2.0114213, 1.96002398, 0.53581226, 0.24470541, 0.10626855, 0.066047095, 0.05841994, 4.686943E-30],
[1.0798441, 0.9299116, 0.86494292, 0.81670863, 0.72446038, 0.02303907, 0.0126618472, 0.001834703, 8.184432E-30],
[3.4713395, 0.9983825, 0.99399948, 0.98761599, 0.73634868, 0.73114719, 0.1734249687, 0.006843071, 2.761784E-30],
[2.8189495, 1.5327746, 0.51718598, 0.1714862, 0.16167781, 0.04661511, 0.0268876607, 0.002524814, 2.742524E-30],
[1.8573293, 0.9013091, 0.31332158, 0.31222677, 0.24001968, 0.14092384, 0.1395150215, 0.001889296, 2.143608E-30],
[2.2534341, 1.6682712, 1.42900208, 0.5217925, 0.24019284, 0.23662866, 0.0906111425, 0.006735459, 3.858793E-30],
[2.2411472, 1.2824005, 0.4762186, 0.4258689, 0.16809947, 0.12489381, 0.0179048904, 0.01715023, 3.575296E-30],
[0.2224428, 0.1572867, 0.02602148, 0.02191769, 0.02078788, 0.01159734, 0.0008803955, 0.0004445673, 1.98756E-30],
[3.6628254, 0.9819534, 0.85256946, 0.75089431, 0.56382916, 0.08763924, 0.0184012158, 0.007229636, 5.472723E-30],
[4.2415698, 2.2920927, 1.45239473, 0.63781061, 0.0623191, 0.05932328, 0.0581045197, 0.002147493, 5.016662E-30],
[11.5884126, 2.463795, 2.19396446, 1.44468638, 0.70425347, 0.44716216, 0.3032110286, 0.00282989, 3.386989E-30],
[9.655183, 1.6199041, 1.50100503, 0.1863213, 0.09665368, 0.0900528, 0.0175574295, 0.002295877, 5.777982E-30],
[17.7579146, 1.7627973, 1.26863739, 0.73573085, 0.68394696, 0.25386039, 0.0095990062, 0.002820893, 9.523531E-30],
[0.737494, 0.7257394, 0.56648268, 0.46860262, 0.45482227, 0.22353991, 0.1268036408, 0.02748662, 2.271057E-30],
];
// When
$qResiduals = self::$pca->getQResiduals()->getMatrix();
// Then
$this->assertEqualsWithDelta($expected, $qResiduals, .00001);
}
/**
* @test The class returns the correct Q residuals
*
* R code for expected values:
* new = matrix(c(1:9), 1, 9)
* result = predict(model, new)
* result$Q
*
* @throws \Exception
*/
public function testQWithNewData()
{
// Given
$expected = [[123.8985, 61.49351, 56.07446, 55.94023, 54.28968, 19.83721, 6.941721, 3.021362, 6.86309e-29]];
$newData = MatrixFactory::create([[1,2,3,4,5,6,7,8,9]]);
// When
$qResiduals = self::$pca->getQResiduals($newData)->getMatrix();
// Then
$this->assertEqualsWithDelta($expected, $qResiduals, .0001);
}
}
```
|
```cmake
# Automatically generated by scripts/boost/generate-ports.ps1
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO boostorg/integer
REF boost-${VERSION}
SHA512 your_sha256_hashyour_sha256_hash
HEAD_REF master
)
set(FEATURE_OPTIONS "")
boost_configure_and_install(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS ${FEATURE_OPTIONS}
)
```
|
Little Fish is a musical with music, lyrics, and book by Michael John LaChiusa. The musical is suggested by two short stories by Deborah Eisenberg, Days and Flotsam. It concerns a group of friends living in New York City, one of whom, Charlotte, decides to stop smoking and then swims to compensate for the lack of nicotine. LaChiusa has said that he sees Little Fish as a "parable of sorts" for New York after the September 11 attacks.
Production history
The musical premiered off-Broadway at the Second Stage Theatre in New York City on February 13, 2003, and closed on March 9, 2003. Directed and choreographed by Graciela Daniele, it starred Jennifer Laura Thompson in the lead role of Charlotte and featured Hugh Panaro as Robert, Lea DeLaria as Cinder, and Jesse Tyler Ferguson as Marco. During the run educational workshops were run by Tracy Bersley.
Alice Ripley starred, with Gregory Jbara and Chad Kimball, in a production running from October 9, 2007, to November 18, 2007, at The Blank Theatre, Hollywood, California.
The European premiere was at the Finborough Theatre, London, from October 27, 2009, through November 21. The production was produced by JQ Productions and directed by Adam Lenson, with the cast featuring Ashley Campbell, Michael Cantwell, Katie Foster-Barnes, Nick Holder, Alana Maria, Laura Pitt-Pulford, Lee William-Davis and Julia Worsley.
Synopsis
In the present time, Charlotte, in her early 30s, lives in New York and is a short-story writer. She has given up smoking cigarettes, but without them she sees herself clearly, and believes that it is not an attractive picture. She is frightened by her new-found reality, thus her friends Marco and Kathy suggest various activities, such as collecting dolls or a new drug. However, she opts for what is presumably the least silly; swimming.
Charlotte thinks back to 1993, when she lived in Buffalo with her lover Robert, in his 40s, and she studied English Literature with him. She reflects on her childhood heroine, Anne Frank, who warns her about flotsam: emotional "debris" that blocks the flow of life. As Charlotte sees that she has been addicted not only to cigarettes but "fleeing", she is able to connect with her friends and her writing.
Concept
Don Shewey noted that the musical "departs from any kind of traditional book musical structure. Charlotte's tale emerges in vignettes that flicker and flash, zooming back and forth in time, held together by a narrative thread as tenuous as her nonsmoking sanity." Further, the music is "eclectic" and includes "Latin, jazz, rock, there's pure urban noise."
Songs
"Days" - Charlotte, Company
"Robert" - Charlotte
"It's A Sign" - Cinder
"The Pool (Part 1)" - Charlotte, Company
"Lockerroom (Part 1)"
"Winter Is Here/The Pool (Part 2)" - Charlotte
"Short Story" - Robert, Lifeguards
"Perfect" - Kathy
"John Paul/Disco" - Charlotte, Kathy
"He" - Robert, Men
"Cigarette Dream" - Charlotte, Company
"Flotsam" - Anne
"Lockerroom 2"
"I Ran" - Marco
"The Track (Part 1)"
"Mr. Bunder/By The Way" - Mr. Bunder
"Remember Me" - Kathy
"Anne" - Young Girl
"Little Fish" - Marco
"Poor Charlotte" - Cinder
"The Track (Part 2)"
"Flotsam" Reprise
"Simple Creature" - Charlotte
"Gallery/Perfect" Reprise
"In Two's and Three's" - Charlotte, Company
Response
Both Daniele and LaChiusa said Charlotte's struggle to quit smoking is "a metaphor for the crises that force people to reconsider who they are and what is important." Mr. LaChiusa said the musical was his oblique response to September 11th: "After that happened, nobody was thinking about how to get rich and famous. You wanted to be around the people you love." LaChiusa went on to add that "But after you've been here in [New York] a while, you realize that you don't always have to swim upstream and battle the elements. When you're a little fish in a big pond, it's safer to swim in schools."
Ben Brantley, reviewing for the New York Times, wrote: "About halfway into its intermissionless 90 minutes, Little Fish starts to lose its shapely, sharp-edged contours and turn into a sentimental, well, blob... Mr. LaChiusa...and Ms. Daniele has done a swell job of fashioning a lively musical about what it means to feel lifeless in contemporary Manhattan...Like many American musical composers under 50, Mr. LaChiusa is an artistic descendant of Mr. Sondheim, and in many ways, Little Fish can be regarded as a direct, latter-day answer to Company. Certainly, Riccardo Hernández's terraced, silver-toned set, with its evocation of concrete canyons enhanced by Peggy Eisenhauer's shifting lighting, brings to mind Boris Aronson's fabled designs for the original Company. And Mr. LaChiusa's Charlotte, like Mr. Sondheim's Bobby, is a wistful, disengaged soul who is surrounded by people who advise her on how to live... The problem, as the show goes on, is that there's an inevitable monotony to Charlotte's interior life."
The talkinbroadway review noted: "It hits all its marks well, but never has quite the "oomph" needed to put it over the top. This may be due to Graciela Daniele's direction and choreography which are fine but unexceptional, never completely communicating in the same urban language that drips from every LaChiusa's score and libretto... LaChiusa can and does impress, time and time again, though perhaps never more effectively than in Charlotte's late-show song, "Simple Creature." It's one of the most stirring and artfully constructed musical scenes to hit the New York stage in years."
Recordings
The cast recording of the Blank Theatre Company's production was released on the Ghostlight Records label on September 9, 2008. with Alice Ripley as Charlotte, Chad Kimball as Marco, Gregory Jbara as Mr. Bunder, Robert Torti as Robert and Samantha Shelton as Cinder.
References
External links
Internet Off-Broadway listing
LaChiusa at doollee.com, with plot synopsis of "Little Fish"
"CurtainUp Review, Little Fish, with song list"
2003 musicals
Musicals based on short fiction
Off-Broadway musicals
Musicals set in New York City
Musicals set in New York
Musicals set in the 1990s
|
Disco is a boxed set of three Grace Jones's first three albums, released in 2015. The set contains Portfolio (1977), Fame (1978), and Muse (1979), all of which were recorded at Philadelphia's Sigma Sound with disco pioneer Tom Moulton as producer, in their entirety. The albums were remastered and each of the three CDs included seven bonus tracks while the vinyl box maintains the original track listings and offers a fourth record, that collects mainly long versions of the 45s from this era. The LP version includes the original 3 LP releases and a 4th LP which includes 8 tracks with selected remixes, b-sides and edited versions.
Track listing
Charts
References
2015 compilation albums
Grace Jones compilation albums
Albums produced by Tom Moulton
Island Records compilation albums
Universal Music Group compilation albums
|
```xml
<menu xmlns:android="path_to_url"
xmlns:app="path_to_url"
xmlns:tools="path_to_url"
tools:context="com.example.sqlitesample.MainActivity" >
<item
android:id="@+id/add_record"
android:icon="@android:drawable/ic_menu_add"
android:orderInCategory="100"
android:title="@string/add_record"
app:showAsAction="always"/>
</menu>
```
|
Oscar Tuero (December 17, 1898 – October 21, 1960) was a professional baseball player. He was a right-handed pitcher over parts of three seasons (1918–1920) with the St. Louis Cardinals. For his career, he compiled a 6–9 record in 58 appearances, mostly as a relief pitcher, with a 2.88 earned run average and 58 strikeouts.
Tuero was born in Havana, Cuba and died in Houston, Texas at the age of 61.
See also
List of Major League Baseball annual saves leaders
References
1898 births
1960 deaths
Major League Baseball pitchers
Major League Baseball players from Cuba
Cuban expatriate baseball players in the United States
St. Louis Cardinals players
Jersey City Skeeters players
Portland Duffs players
Lewiston Cupids players
Lynn Pipers players
Wilkes-Barre Barons (baseball) players
Binghamton Bingoes players
Little Rock Travelers players
Memphis Chickasaws players
Kansas City Blues (baseball) players
Atlanta Crackers players
Reading Keystones players
Birmingham Barons players
Waco Cubs players
Shreveport Sports players
Jackson Senators players
Tyler Sports players
Tyler Governors players
Marshall Orphans players
Marshall Tigers players
Newton-Conover Twins players
Alexandria Aces players
Longview Cannibals players
Midland Cowboys players
Clarksdale Ginners players
Baseball players from Havana
|
Trigonotylus ruficornis is a Palearctic species of true bug
References
Miridae
Hemiptera of Europe
Insects described in 1785
|
Clare Anne Adamson FBCS (née Pickering; born 1 August 1967) is a Scottish politician who has been the Member of the Scottish Parliament (MSP) for the Motherwell and Wishaw since 2016. A member of the Scottish National Party (SNP), she was previously an additional MSP for the Central Scotland region from 2011 to 2016.
A graduate of the Glasgow Caledonian University, before entering politics Adamson was a computer scientist. In 2007, she was elected to the North Lanarkshire Council for the Wishaw ward. She ran unsuccessfully as a candidate for the Motherwell and Wishaw constituency, but was elected as an additional member for the Central Scotland region in 2011. Adamson was elected as the MSP for Motherwell and Wishaw in 2016 and was re-elected for a third term in the 2021 election. She has since served as the Convener of the Scottish Parliament's Constitution, Europe, External Affairs and Culture Committee.
Early life and career
Clare Anne Pickering was born on 1 August 1967 in Motherwell, North Lanarkshire, to Eileen and George Pickering. She moved to grow up in Wishaw at the age of seven and she studied Computer Information Systems at Glasgow Caledonian University, graduating with the degree of BSc (with distinction).
In 1984 Adamson joined the Scottish National Party and she worked at the SNP HQ Campaign Unit as Project Manager of the Party's Activate Project from 2003 to 2007. She was previously a European Development Manager (IT) at a Glasgow-based software house. She belongs to the National Union of Journalists and is a Fellow of the British Computer Society.
Adamson ran as a candidate for the SNP in various elections, but was unsuccessful. She ran for election to the North Lanarkshire Council in 2003 and contested Lanark & Hamilton East in the 2010 UK General Election. In the 2007 Scottish local elections, she was elected to the North Lanarkshire Council, representing her home town of the Wishaw ward. She stood down from the council in the 2012 election following her election to the Scottish Parliament.
Member of the Scottish Parliament
In the 2011 Scottish Parliament election, Adamson was the SNP's candidate for the Motherwell and Wishaw constituency. She was defeated by Scottish Labour's John Pentland and was elected as an additional member of the Scottish Parliament for the Central Scotland region. After being elected to the parliament, she served as the Parliamentary Liaison Officer to Culture Secretary Fiona Hyslop.
Adamson has continued to be actively involved with the Scottish Accident Prevention Council, as Vice Chairperson, and the Lanarkshire International Children's Games Organising Committee.
Adamson ran again as candidate for the constituency of Motherwell and Wishaw. She successfully defeated John Pentland and was elected to represent the constituency in the Scottish Parliament. She was returned at the 2021 Scottish Parliament election. She has served as Convener of the Constitution, Europe, External Affairs and Culture Committee since 2021.
Personal life
Adamson married John Adamson, a headteacher, in 2002. They both have one son, with her husband also having his own three children. She has a dog called Coco and enjoys reading and listening to music.
References
External links
Clare Adamson's Party Website
Lanarkshire International Children's Games 2011
Scottish Accident Prevention Council
STV 2010 General Election profile
Wishaw Press councillors' expenses review 2008–2009
Wishaw Press councillors' expenses review 2009–2010
STV Local
1967 births
Living people
People from Motherwell
Councillors in North Lanarkshire
Alumni of Glasgow Caledonian University
Scottish National Party councillors
Scottish National Party MSPs
Members of the Scottish Parliament 2011–2016
Members of the Scottish Parliament 2016–2021
Members of the Scottish Parliament 2021–2026
Female members of the Scottish Parliament
Fellows of the British Computer Society
Politicians from North Lanarkshire
Women councillors in Scotland
|
Aavanazhi is a 1986 Indian Malayalam-language action film directed by I. V. Sasi, written by T. Damodaran. The film deals with social and political issues of that time. It stars Mammootty, Geetha, Seema, Sukumaran, Captain Raju, Janardanan, Jagannatha Varma, Innocent, Thikkurisi Sukumaran Nair, Sreenivasan and Sankaradi.
Aavanazhi was the highest grossing Malayalam film at the time and was an industry hit. It was remade in Kannada as "Anthima Theerpu" starring Ambareesh and Geetha, in Tamil as Kadamai Kanniyam Kattupaadu, in Telugu as Marana Sasanam and in Hindi as Satyamev Jayate. I. V. Sasi made two sequels — Inspector Balram in 1991 and Balram vs. Taradas in 2006.
Plot
"Karadi" Balram is an honest CI, who is frustrated after several personal setbacks, including a failed affair of the heart, has turned to drinking and womanizing. Balram is assigned to nab Satyaraj, who evaded the clutches of the cops after murdering Chackochan, a contractor. Balram successfully arrests him, but in court, Satyaraj is represented by Adv. Jayachandran, where he is acquitted by the court, but Balram decides to frame in several other criminal charges pending against him. Usha, Balram's ex-lover, is now married to Jayachandran. Balram falls in love with Seetha, a prostitute, whom he decides to marry. Meanwhile, Radha, a young lady, is determined to avenge herself on Balram, who she believes to have killed her brother while in police custody, but Satyaraj was the one who killed him, on instruction from Vincent. Falsely implicated, Balram had been suspended, but has been reinstated. Though Seetha tries to convince Radha of the truth, she is not ready to accept it. To gain her revenge over Balram, Radha decides to offer Satyaraj a safe stay away from the police eyes. Balram's open fight with Satyaraj forms the rest of the plot.
Cast
Mammootty as CI Balram
Geetha as Seetha
Seema as Radha
Nalini as Usha Jayachandran
Sukumaran as Adv.Jayachandran
Captain Raju as Sathyaraj
Janardanan as Vincent
Innocent as Vishnu
Sreenivasan as Sreeni
C. I. Paul as Chandrahasan
Paravoor Bharathan as Chackochan
Kundara Johny as CI Alex George
K. P. A. C. Azeez as Commissioner Azeez
Sankaradi as Viswanathan
Jagannatha Varma as DIG Kumar
Augustine as SI Ummer
Kunchan as Constable "Samshayam" Vasu
Shafeeq as Benny Vincent
Thikkurisi Sukumaran Nair as Nampoothiri
Kumari Shibi as Jyothi
Santhakumari as Radha's Mother
Prathapachandran
Hari as Advocate
Rajan Padoor as Kallan Kuttan
Amit Amee as Unni/Radha's younger Brother
Thiruthiyadu Vilasini as Chackochan's wife
Sajith Devadas as Nirmal Hasan
Gorilla Unni as Circle Inspector
Krishnakkurupp NB
Aliyar
Release and reception
The film was released on 12 September 1986, in 20 theatres. In 2005, Nana Magazine wrote thst Mammootty has played cop in a total of 25 films from Yavanika to Balram vs Tharadas, but his most memorable police role is that of Inspector Balram from I. V. Sasi's Avanazhi. The film was a major commercial success. It was the highest grossing film at the time. The film ran for more than 200 days in theatres in Kerala.
Remakes
All the remakes of the film were commercial successes.
Sequels
The movie had two sequels; a 1991 film Inspector Balram and a spiritual successor, Balram vs. Tharadas in which Mammootty reprises his roles from two films, Inspector Balram from Aavanazhi and Tharadas from Athiratram.
Legacy
The film is considered to be one of I.V. Sasi's best works. The film remains to be the only Malayalam Industry hit with a policeman as its central character. The protagonist Inspector Balram remains to be one of the most iconic characters in Malayalam cinema.
References
External links
1980s crime action films
1980s Malayalam-language films
1986 films
Films shot in Kozhikode
Films with screenplays by T. Damodaran
Fictional portrayals of the Kerala Police
Indian crime action films
Balram1
Films scored by Shyam (composer)
Malayalam films remade in other languages
Films directed by I. V. Sasi
|
```makefile
libavcodec/aic.o: libavcodec/aic.c libavcodec/avcodec.h \
libavutil/samplefmt.h libavutil/avutil.h libavutil/common.h \
libavutil/attributes.h libavutil/macros.h libavutil/version.h \
libavutil/avconfig.h config.h libavutil/intmath.h libavutil/mem.h \
libavutil/error.h libavutil/internal.h libavutil/timer.h libavutil/log.h \
libavutil/cpu.h libavutil/dict.h libavutil/pixfmt.h libavutil/libm.h \
libavutil/intfloat.h libavutil/mathematics.h libavutil/rational.h \
libavutil/attributes.h libavutil/avutil.h libavutil/buffer.h \
libavutil/cpu.h libavutil/channel_layout.h libavutil/dict.h \
libavutil/frame.h libavutil/buffer.h libavutil/samplefmt.h \
libavutil/log.h libavutil/pixfmt.h libavutil/rational.h \
libavcodec/version.h libavutil/version.h libavcodec/bytestream.h \
libavutil/avassert.h libavutil/common.h libavutil/intreadwrite.h \
libavutil/bswap.h libavcodec/internal.h libavutil/mathematics.h \
libavcodec/get_bits.h libavcodec/mathops.h libavcodec/vlc.h \
libavcodec/golomb.h libavcodec/put_bits.h libavcodec/idctdsp.h \
libavcodec/thread.h libavcodec/unary.h
```
|
Is Anybody Listening may refer to:
Is Anybody Listening? (book), a 1952 book by William H. Whyte
Is Anybody Listening?, a 1987 film directed by Saeed Akhtar Mirza
"Is Anybody Listening?", an episode of Theodore Tugboat
In music:
"Is Anybody Listening", a song by Brotha Lynch Hung and Doomsday Productions from The Plague
"Is Anybody Listening", a song by Danity Kane from Welcome to the Dollhouse
"Is Anybody Listening", a song by Forgiven Rival from This Is a War
"Is Anybody Listening?", a song from The Ten Commandments: The Musical
See also
"Anybody Listening?", a song by Queensrÿche
"Anybody Listening?", a song by Classified from Self Explanatory
"Anybody Listening", a song by Suffrajett from Black Glitter
"Is Anybody Listening To Me?", EP from Erin Bowman
|
Violet Constance Jessop (2 October 1887 – 5 May 1971) was an Argentine ocean liner stewardess and nurse in the early 20th century. Jessop is most well known for having survived the sinking of both the in 1912 and her sister ship the in 1916, as well as having been onboard the eldest of the three sister ships, the , when it collided with the British warship in 1911.
Early life
Born on 2 October 1887, near Bahía Blanca, Argentina, Violet Constance Jessop was the oldest daughter of Irish immigrants William and Katherine Jessop. She was the first of nine children, six of whom survived. Jessop spent much of her childhood caring for her younger siblings. She became very ill as a child with what is presumed to have been tuberculosis, which she survived despite doctors' predictions that her illness would be fatal. When Jessop was 16 years old, her father died of complications from surgery and her family moved to England, where she attended a convent school and cared for her youngest sister while her mother was at sea working as a stewardess. When her mother became ill, Jessop left school and, following in her mother's footsteps, applied to be a stewardess. Jessop had to dress down to make herself less attractive to be hired. At age 21, her first stewardess position was with Royal Mail Line aboard Orinoco in 1908.
RMS Olympic
In 1911, Jessop began working as a stewardess for the White Star liner . Olympic was a luxury ship that was the largest civilian liner at that time. Jessop was on board on 20 September 1911, when Olympic left from Southampton and collided with the British warship . There were no fatalities and, despite damage, the ship was able to make it back to port without sinking. Jessop chose not to discuss this collision in her memoirs. She continued to work on Olympic until April 1912, when she was transferred to sister ship Titanic.
RMS Titanic
Jessop boarded as a stewardess on 10 April 1912, at age 24. Four days later, on 14 April, it struck an iceberg in the North Atlantic and sank about two hours and forty minutes after the collision. Jessop described in her memoirs how she was ordered up on deck to serve as an example of how to behave for the non-English speakers who could not follow the instructions given to them. She watched as the crew loaded the lifeboats. She was later ordered into lifeboat 16, and as the boat was being lowered, one of Titanics officers gave her a baby to look after. The next morning, Jessop and the rest of the survivors were rescued by the and taken to New York City on April 18. According to Jessop, while on board Carpathia, a woman, presumably the baby's mother, grabbed the baby she was holding and ran off crying, without saying a word. After arriving in New York City, she later returned to Southampton.
HMHS Britannic
In the First World War, Jessop was a stewardess for the British Red Cross. On the morning of 21 November 1916, she was aboard , the younger sister ship of Olympic and Titanic that had been converted into a hospital ship, when it sank in the Aegean Sea after an unexplained explosion(likely it hit a mine). Britannic sank within 55 minutes, killing 30 of the 1,066 people on board.
While Britannic was sinking, Jessop and other passengers were nearly killed by the ship's propellers that were shredding lifeboats that collided with the propellers. Jessop had to jump out of her lifeboat, resulting in a traumatic head injury which she survived. In her memoirs, she described the scene she witnessed as Britannic went under: "The white pride of the ocean's medical world ... dipped her head a little, then a little lower and still lower. All the deck machinery fell into the sea like a child's toys. Then she took a fearful plunge, her stern rearing hundreds of feet into the air until with a final roar, she disappeared into the depths." Arthur John Priest and Archie Jewell, two other survivors of the Titanic, were also onboard and both survived.
Later life
Jessop returned to work for White Star Line in 1920, before joining Red Star Line and then Royal Mail Line again. During her tenure with Red Star, Jessop went on two cruises around the World on the company's largest ship, . When Jessop was 36, she married John James Lewis, a fellow White Star Line steward. Lewis had served aboard the Olympic and the RMS Majestic. They divorced around a year later. In 1950, she retired to Great Ashfield, Suffolk. Years after her retirement, Jessop claimed to have received a telephone call, on a stormy night, from a woman who asked Jessop if she had saved a baby on the night that Titanic sank. "Yes," Jessop replied. The voice then said "I was that baby," laughed, and hung up. Her friend and biographer John Maxtone-Graham said it was most likely some children in the village playing a joke on her. She replied, "No, John, I had never told that story to anyone before I told you now." Records indicate that the only baby on lifeboat 16 was Assad Thomas, who was handed to Edwina Troutt, and later reunited with his mother on Carpathia.
Jessop died of congestive heart failure in 1971 at the age of 83.
In popular culture
In the 1958 film A Night To Remember, a scene depicts naval architect Thomas Andrews (played by Michael Goodliffe) instructing a stewardess to be seen wearing her life jacket as an example to the other passengers. Several scenes from this film inspired later depictions of the sinking; in James Cameron's later 1997 blockbuster Titanic, a similar encounter takes place involving Andrews and a stewardess named Lucy, who is also told to wear her life jacket in order to convince the passengers to do the same.
In the 1979 television movie S.O.S. Titanic, she was portrayed as an elderly stewardess played by Madge Ryan.
In the 2000 television movie Britannic, the main character is Vera Campbell (played by Amanda Ryan), a woman who is apprehensive about travelling on Britannic because she had survived the sinking of Titanic four years earlier.
In 2006, "Shadow Divers" John Chatterton and Richie Kohler led an expedition to dive HMHS Britannic. The dive team needed to accomplish a number of tasks including reviewing the expansion joints. The team was looking for evidence that would change the thinking on RMS Titanics sinking. During the expedition, Rosemary E. Lunn played the role of Violet Jessop, re-enacting her jumping into the water, from her lifeboat which was being drawn into Britannics still turning propellers.
The character of Jessop is featured in the Chris Burgess stage play Iceberg – Right Ahead!, staged for the first time Upstairs at the Gatehouse in Highgate, March 2012, to commemorate the centenary of the sinking of Titanic. Jessop's role was played by Amy-Joyce Hastings.
In the 2020 Alma Katsu historical horror novel The Deep, Jessop is a secondary character. The fictional main character meets Jessop while working on the Titanic, who offers her a job and subsequently works with her on the Britannic.
See also
Wenman Wykeham-Musgrave, a British sailor who survived three consecutive sinkings in the action of 22 September 1914.
References
External links
People from Bahía Blanca
1887 births
1971 deaths
RMS Titanic survivors
Argentine people of Irish descent
Argentine emigrants to England
English people of Irish descent
British Merchant Service personnel of World War I
|
```scala
package org.apache.spark.ml.bundle.ops.clustering
import ml.combust.bundle.BundleContext
import ml.combust.bundle.dsl._
import ml.combust.bundle.op.{OpModel, OpNode}
import ml.combust.mleap.tensor.{DenseTensor, Tensor}
import org.apache.spark.ml.bundle.{ParamSpec, SimpleParamSpec, SimpleSparkOp, SparkBundleContext}
import org.apache.spark.ml.clustering.GaussianMixtureModel
import org.apache.spark.ml.linalg.{Matrices, Vectors}
import org.apache.spark.ml.stat.distribution.MultivariateGaussian
/**
* Created by hollinwilkins on 9/30/16.
*/
class GaussianMixtureOp extends SimpleSparkOp[GaussianMixtureModel] {
override val Model: OpModel[SparkBundleContext, GaussianMixtureModel] = new OpModel[SparkBundleContext, GaussianMixtureModel] {
override val klazz: Class[GaussianMixtureModel] = classOf[GaussianMixtureModel]
override def opName: String = Bundle.BuiltinOps.clustering.gaussian_mixture
override def store(model: Model, obj: GaussianMixtureModel)
(implicit context: BundleContext[SparkBundleContext]): Model = {
val (rows, cols) = obj.gaussians.headOption.
map(g => (g.cov.numRows, g.cov.numCols)).
getOrElse((-1, -1))
val (means, covs) = obj.gaussians.map(g => (g.mean, g.cov)).unzip
model.withValue("means", Value.tensorList(means.map(_.toArray).map(Tensor.denseVector))).
withValue("covs", Value.tensorList(covs.map(m => DenseTensor(m.toArray, Seq(m.numRows, m.numCols))))).
withValue("weights", Value.doubleList(obj.weights.toSeq))
}
override def load(model: Model)
(implicit context: BundleContext[SparkBundleContext]): GaussianMixtureModel = {
val means = model.value("means").getTensorList[Double].map(values => Vectors.dense(values.toArray))
val covs = model.value("covs").getTensorList[Double].map(values => Matrices.dense(values.dimensions.head, values.dimensions(1), values.toArray))
val gaussians = means.zip(covs).map {
case (mean, cov) => new MultivariateGaussian(mean, cov)
}.toArray
val weights = model.value("weights").getDoubleList.toArray
new GaussianMixtureModel(uid = "",
gaussians = gaussians,
weights = weights)
}
}
override def sparkLoad(uid: String, shape: NodeShape, model: GaussianMixtureModel): GaussianMixtureModel = {
new GaussianMixtureModel(uid = uid, weights = model.weights, gaussians = model.gaussians)
}
override def sparkInputs(obj: GaussianMixtureModel): Seq[ParamSpec] = {
Seq("features" -> obj.featuresCol)
}
override def sparkOutputs(obj: GaussianMixtureModel): Seq[SimpleParamSpec] = {
Seq("prediction" -> obj.predictionCol,
"probability" -> obj.probabilityCol)
}
}
```
|
Howard Friel is an American scholar and author, who writes about foreign policy, public international law, international humanitarian law, human rights, civil liberties, and science-related issues. He wrote The Lomborg Deception: Setting the Record Straight About Global Warming (Yale University Press, 2010, ), a critique of Bjørn Lomborg's books The Skeptical Environmentalist and Cool It: The Skeptical Environmentalist's Guide to Global Warming.
He also co-authored Israel-Palestine on Record: How the New York Times Misreports Conflict in the Middle East with Richard Falk (Verso, 2007). He co-authored The Record of the Paper: How the New York Times Misreports US Foreign Policy with Richard Falk (Verso, 2004, ).
In 1995, Friel edited Guns and the Constitution: The Myth of Second Amendment Protection for Firearms in America with Dennis Henigan.
References
External links
"Bjørn Lomborg's missing questions", Howard Friel, The Guardian, August 30, 2010
Friel's blog at Z Net website
Living people
American male journalists
Non-fiction environmental writers
Place of birth missing (living people)
Year of birth missing (living people)
Independent scholars
|
Infinity-Man is a fictional character appearing in DC Comics, in the Fourth World storyline.
Publication history
Infinity-Man first appeared in Forever People #1 (February 1971).
Fictional character biography
Infinity-Man's story begins with Astorr, a powerful warrior from another planet, who rescued the badly burned Drax (brother of Darkseid) and nursed him back to health. Before dying of old age, Astorr passes on his role as the "Infinity-Man" to Drax, who then spends several years preparing for the role.
Having assumed the title of Infinity-Man, Drax goes on to serve Highfather on New Genesis, where he first encounters the Forever People and becomes a protector. Whenever Infinity-Man is needed, the Forever People grant him special powers by touching the mother boxes and reciting the word "Taaru". This ritual causes the Forever People to enter a state of limbo which lasts until Infinity-Man returns them their power.
In one story, Darkseid believes Infinity-Man to be a threat and places him in another dimension. Infinity-Man makes a temporary home on a planet called Adon until the Forever People free him from this prison.
A later storyline focuses on Devilance the Pursuer and his vendetta against the Forever People and Infinity-Man. Devilance tracks down Infinity-Man to an island, where the two engage in a duel that results in the island's destruction. The two appear dead, but, with the Forever People's aid, Infinity-Man recovers.
In DC's year-long weekly publications, Countdown to Final Crisis, and the monthly title, Death of the New Gods, Infinity-Man is suspected by Superman, Mr. Miracle, and Orion to be the mysterious killer behind the recent deaths of the New Gods. The Mother Box, however, which summons him, appears destroyed and the Forever People murdered. Later, it is revealed that Infinity-Man, posing as Himon, is, in fact, the killer of the New Gods. Infinity-Man poses as Himon to avoid detection, to collect the dead gods' souls in a second Source Wall which surrounds the original one, and to prevent the slain gods from reuniting with the Source.
Superman challenges him, but Infinity-Man teleports away mid-battle. His motive in killing the New Gods remains unclear, but he claims to be acting on behalf of the Source itself—revealed as the "good" half of an entity that previously encompassed the Source and the Anti-Life Equation—and that his killings were intended to reunite both halves.
The "Source" or at least its physical incarnation, appears to defend his claims and leads Infinity-Man to battle Mister Miracle, now empowered with the Anti-Life Equation, near the Source Wall. Infinity-Man pushes Mister Miracle into battle, duping him into blasting away the Second Wall, and letting the Source and the Anti-Life reunite. Infinity-Man is seemingly destroyed by Mister Miracle's attack.
The New 52
The being known as Infinity-Man is an abstract of the Source itself and the moral consciousness of a once kind and idealistic monarch. This entity of a higher power didn't appear before anyone until The Forever People were on a planet-side expedition to better the underdeveloped culture of Earth as a school curriculum. They came under the onslaught of a mutated human scientist by the name of Omar Bashir who had been trapped in a TV screen within a television store by The Source agent's power.
GL/New Gods: Godhead tie-in
Back on New Genesis, scheming Himon in council with Highfather order all New Gods back to their home base at the time, which garners a surprise visit from the immaterial casting of Infinity-Man. Infinity-Man questions the elderly councilor why he was lying to his best friends and patriarch, warning him that his deceptions will have dire consequences in the future. The mysterious being quoting that his futile attempts by the former to prevent his return, Himon pleading that he had no say in the matter. Infinity Man states that they all have the gift of choice and that he chose poorly, warning him not to stand in his way as he tries to help Highfather. Back on earth, The Forever People encounter the Red Lantern Guy Gardner who, after having had his run-in with the New Gods of The Wheel, was set on the warpath for all new gods situated on earth at the time. The fuming lantern dead set on kicking them off world, but after the Forever People managed to incapacitate him they are soon attacked by Lanterns of the green corps.
Appearing out of the union of New Gods, Infinity-Man makes his presence known to Gardner first, opting to help free him of his anguish. When the Red Lantern snaps at him because of Highfather's manhunt for all lanterns by his people, the entity retorts that this war is not the source of his rage and mentions its all-consuming aspects will destroy him if not relinquished. When Guy attacks him with his red plasma, his adversary stops it mid-blast leaving him wondering if his pain lies within a deep self-hatred, not rage, which Infinity-Man recreates in the form of his reflection using his own Plasma. When the latter retorts that his rage is an integral part of him that defines his own character, the strange being complies and sends the red energy back into his face. Noting the turn of events, Green Lantern's B'ox, B'dg and Stel combine their rings to create a giant mechanized Darkseid construct to combat the Infinity Man. Though intrigued by their choice of design, the agent of the source remains undaunted all the same. He increases his own size to match their creation, recounting that nothing will prevent him from reaching New Genesis and getting back to Highfather. After Guy takes command of the construct from B'dg, the quartet enters into battle with the godly manifest; the former stating that while he is one of them, the conflict which the New Gods have started is not his own. He desperately tries to console his quarry that his fight is not with them and that he can heal the real mastermind behind all that's happening to set creation back on track.
When no quarter is given, he quotes that this battle is a waste of time and energy which he now must end. As the battle draws to a close, Infinity-Man puts Gardner to sleep using his powers; however, he comments that he was drawn by another, his name being King Faraday whose destiny Infinity Man senses shares a fate that ties with his own in some odd way, and opts instead to heal the injured party. Once the Forever People are back (after having had commerce between B'dg and Big Bear about the mysterious Infinity-Man and his varying power levels) the green lantern states that while he likes them, he may be tied to some things that even gods shouldn't tamper with. Big Bear reels back after leaving and feels bad about lying that they lose conscious memory when they become him. That every one of them shares in each other's memories and thoughts through the Mother Box used to summon him and that none of it bodes well for, or by, anyone on the team. Bear goes on to say that they also get glimpses of what Infinity-Man's own thoughts revealed to them all and if they ever want to be free of Infinity-Man, they would need to dispose of Highfather.
Identity revealed
The next day there is another epic battle between the Forever People and Aagog's Femme Fatales who were set on acquiring a certain item of interest from one of their members; where after Mark Moonrider had died and was resurrected by Dreamer utilizing the ALE. Big Bear finally managed to get his New Genesisian Quantum Computer working again only for the A.I. to reveal it had an unexpected host within its mainframe, said anomaly was none other than the Infinity Man himself who now being able to manifest without the aid of the Forever People would approach the unsuspecting Apokoliptian.
After a task delving into Highfather's past, then going by Izaya who was a much kinder, compassionate soul who cherished life dearly with the casualties of the war weighing heavily on his compassionate soul, went along the edges of the multiverse were the Promethean Giants lay encased in stone overlooking The Source Wall searching for answers along the lines of council from The Source itself. Happening along the Source Shard an original piece of the previous wall which had been decimated prior to the deaths of the Old Gods, it acted as a beacon with which to contact the veil that lies beyond it, in a heated conversation with The Source regarding his sacrificing an heir of his own with that of his deranged opposite from Apokolips. Asking Desperately how he could trade the life of the only living memory of his beloved Avia with that of the reviled spawn of his brother Darkseid, the source replied his choice was set in stone and that he would do what must be done regardless of his passions.
In a glaring flash of light Izaya was knocked out cold and in his place would wake the cold, tactile and manipulative Highfather who would go through with the morally insane peace treaty between warring worlds. While a gentle voice combed over the inert Highfather stating how he would carry the burden of their self sundering destiny, keeping their beloved wife's memory alive and pure while foreboding what will happen when the two beings reconvene. The voice was revealed to be Infinity Man, the personified moral center of Izaya that was lost to Highfather when The Source had struck him. Promising him he would return to reclaim what was his all while knowing the price he paid for their homeworld's forced peace.
Back in real space Big Bear was incredibly skeptical of believing Izaya/Infinity Man's story of him being a part of Highfather as well as Highfather being a part of him. Izaya states that he must make it back to New Genesis at all costs. When asked how he and the others played a part in all this, Infinity Man simply stated that their energies enabled him to take physical form with and without the need of a mother box to sustain him. Bear being particularly miffed by how he and his group were played like chess pieces Izaya goes onto state that helping Izaya's core self is a good greater than any they could hope to accomplish on Earth, that he needed to be a shepherd and not a warrior if the Multiverse would survive. As his host makes way to reveal the truth unveiled to him with the rest of the Forever People when Infinity Man asks if he can trust the others and is given a firm confirmation in response, he goes onto say the future for them is darker than it seems putting them all on a collision course with a deadly destiny.
Powers and abilities
Infinity-Man has seemingly limitless strength and endurance, invulnerability, flight, ability to "phase" through matter, vast energy and matter manipulation, magnetic powers, and Infinity-Beams. Other powers include a form of advanced healing and telepathy.
In the relatively few comics that Infinity Man appeared in, he displayed many abilities. He sums up his powers during his first appearance when he says he came from a place where all natural law bends. In the first issue of the Forever People, Darkseid's "Gravity Guards" are driving Superman deep into the ground by using their power to transmit the gravity of the universe into one person. The Forever People summon Infinity Man, who quickly and effortlessly throws the Gravity Guards high into the air away from the area, saying: "the answer to gravity is anti-gravity". In the Glorious Godfrey issue, Infinity Man infiltrates Godfrey's tent by manipulating the ground's atomic structure, so he can "swim through it like the blue sea". In the same issue, he is shot at with lasers from Apokolips but stops the lasers in mid-shot and sends them back at his attackers. When he faces Mantis, Infinity Man shows his manipulation powers again by changing the atomic structure of the ice he was trapped inside. In the same issue, he survives being touched with anti-matter and finally defeats Mantis with Infinity-beams, which effectively removes the energy from Mantis.
In one issue of Young Justice, the hero known as Impulse took part in the Forever People's summoning, resulting in the manifestation of a somewhat immature and hyperactive version of the Infinity Man, who displayed super-speed.
In other media
Infinity-Man appears in the Young Justice episode "Disordered". This version is the combined form of the Forever People' via New Genesian technology and the Source.
References
External links
Cosmic Teams: New Gods
Index to the Earth-1 Fourth World stories
Comics characters introduced in 1971
Characters created by Jack Kirby
DC Comics superheroes
New Gods of New Genesis
New Gods of Apokolips
DC Comics deities
Fictional princes
DC Comics characters who can teleport
DC Comics characters who have mental powers
DC Comics characters with accelerated healing
DC Comics characters with immortality
DC Comics characters with superhuman durability or invulnerability
DC Comics characters with superhuman strength
DC Comics extraterrestrial superheroes
DC Comics telepaths
Fictional characters who can turn intangible
Fictional characters with electric or magnetic abilities
Fictional characters with energy-manipulation abilities
Fictional characters with elemental transmutation abilities
Fourth World (comics)
|
```python
#!/usr/bin/env python2
# coding=utf-8
"""
SC-Controller - Action Editor - Gesture Component
Handles gesture recognition settings.
"""
from __future__ import unicode_literals
from scc.tools import _
from gi.repository import Gtk, Gdk, GLib, GdkX11, GObject
from scc.gui.ae import AEComponent, describe_action
from scc.gui.area_to_action import action_to_area
from scc.gui.simple_chooser import SimpleChooser
from scc.gui.action_editor import ActionEditor
from scc.gui.parser import GuiActionParser
from scc.special_actions import GesturesAction, OSDAction
from scc.osd.gesture_display import GestureDisplay
from scc.actions import Action, NoAction, XYAction
from scc.modifiers import NameModifier
from scc.tools import strip_gesture
import os, logging
log = logging.getLogger("AE.PerAxis")
__all__ = [ 'GestureComponent' ]
class GestureComponent(AEComponent):
GLADE = "ae/gesture.glade"
NAME = "gesture"
CTXS = Action.AC_STICK | Action.AC_PAD
PRIORITY = 1
def __init__(self, app, editor):
AEComponent.__init__(self, app, editor)
self.on_wayland = False
self._edited_gesture = None
self._grabber = None
def load(self):
if AEComponent.load(self):
# Unlike mose region, gesutres kinda work with XWayland
self.on_wayland = not isinstance(Gdk.Display.get_default(), GdkX11.X11Display)
if self.on_wayland:
self.builder.get_object("lblGestureMessage").set_text(_("Note: Gestures are not available with Wayland-based display server"))
self.builder.get_object("lblGestureMessage").set_visible(True)
self.builder.get_object("gesture").set_sensitive(False)
else:
self._grabber = GestureGrabber(self.editor, self.builder)
return True
def set_action(self, mode, action):
lstGestures = self.builder.get_object("lstGestures")
lstGestures.clear()
if isinstance(action, GesturesAction):
for gstr in action.gestures:
self._add_gesture(gstr, action.gestures[gstr])
def _add_gesture(self, gstr, action, select=False):
lstGestures = self.builder.get_object("lstGestures")
o = GObject.GObject()
o.gstr = gstr
o.action = action
iter = lstGestures.append( (
GestureComponent.nice_gstr(gstr),
action.describe(Action.AC_MENU),
o
) )
if select:
tvGestures = self.builder.get_object("tvGestures")
tvGestures.get_selection().select_iter(iter)
self.on_tvGestures_cursor_changed()
self.on_btEditAction_clicked()
ARROWS = { 'U' : '', 'D' : '', 'L' : '', 'R' : '', }
@staticmethod
def nice_gstr(gstr):
"""
Replaces characters UDLR in gesture string with unicode arrows.
"""
if "i" in gstr:
gstr = strip_gesture(gstr)
l = lambda x : GestureComponent.ARROWS[x] if x in GestureComponent.ARROWS else ""
return "".join(map(l, gstr))
def get_button_title(self):
return _("Gestures")
def handles(self, mode, action):
return isinstance(action, GesturesAction)
def on_tvGestures_cursor_changed(self, *a):
tvGestures = self.builder.get_object("tvGestures")
btEditAction = self.builder.get_object("btEditAction")
btRemove = self.builder.get_object("btRemove")
model, iter = tvGestures.get_selection().get_selected()
if iter is None:
btEditAction.set_sensitive(False)
btRemove.set_sensitive(False)
else:
btEditAction.set_sensitive(True)
btRemove.set_sensitive(True)
def on_btEditAction_clicked(self, *a):
""" Handler for "Edit Action" button """
tvGestures = self.builder.get_object("tvGestures")
txGesture = self.builder.get_object("txGesture")
cbIgnoreStroke = self.builder.get_object("cbIgnoreStroke")
gesture_editor = self.builder.get_object("gesture_editor")
model, iter = tvGestures.get_selection().get_selected()
item = model.get_value(iter, 2)
self._edited_gesture = item.gstr
cbIgnoreStroke.set_active("i" in self._edited_gesture)
txGesture.set_text(GestureComponent.nice_gstr(self._edited_gesture))
# Setup editor
e = ActionEditor(self.app, self.on_action_chosen)
e.set_title(_("Edit Gesture Action"))
e.set_input("ID", item.action, mode = Action.AC_BUTTON)
e.add_widget(_("Gesture"), gesture_editor)
e.hide_modeshift()
# Display editor
e.show(self.editor.window)
def on_btChangeGesture_clicked(self, *a):
txGesture = self.builder.get_object("txGesture")
def grabbed(gesture):
self._edited_gesture = gesture
txGesture.set_text(GestureComponent.nice_gstr(self._edited_gesture))
self._grabber.grab(grabbed)
def on_cbIgnoreStroke_toggled(self, cb):
txGesture = self.builder.get_object("txGesture")
if cb.get_active() and "i" not in self._edited_gesture:
self._edited_gesture = "i" + self._edited_gesture
txGesture.set_text(GestureComponent.nice_gstr(self._edited_gesture))
elif not cb.get_active() and "i" in self._edited_gesture:
self._edited_gesture = self._edited_gesture.strip("i")
txGesture.set_text(GestureComponent.nice_gstr(self._edited_gesture))
def on_btRemove_clicked(self, *a):
tvGestures = self.builder.get_object("tvGestures")
model, iter = tvGestures.get_selection().get_selected()
model.remove(iter)
self.on_tvGestures_cursor_changed()
def on_btAdd_clicked(self, *a):
def grabbed(gesture):
self._add_gesture(gesture, NoAction(), True)
tvGestures = self.builder.get_object("tvGestures")
if len(tvGestures.get_model()) == 0:
# I believe user will not actually find this option, so OSD checkbox
# is automatically enabled when first item is added
self.editor.set_osd_enabled(True)
self._grabber.grab(grabbed)
def on_sclPrecision_format_value(self, scl, value):
return "%s%%" % (int(value * 100.0),)
def on_sclPrecision_value_changed(self, *a):
self.update()
def on_btClearTolerance_clicked(self, *a):
self.builder.get_object("sclPrecision").set_value(GesturesAction.DEFAULT_PRECISION)
def on_action_chosen(self, id, action, mark_changed=True):
tvGestures = self.builder.get_object("tvGestures")
model, iter = tvGestures.get_selection().get_selected()
item = model.get_value(iter, 2)
item.gstr = self._edited_gesture
item.action = action
model.set_value(iter, 0, GestureComponent.nice_gstr(item.gstr))
model.set_value(iter, 1, action.describe(Action.AC_MENU))
self.update()
def update(self):
a = GesturesAction()
tvGestures = self.builder.get_object("tvGestures")
model, iter = tvGestures.get_selection().get_selected()
for row in model:
item = row[2]
a.gestures[item.gstr] = item.action
if item.action.name:
a.gestures[item.gstr] = NameModifier(item.action.name, item.action)
a.precision = self.builder.get_object("sclPrecision").get_value()
a = OSDAction(a)
self.editor.set_action(a)
class GestureGrabber(object):
def __init__(self, editor, builder):
self.editor = editor
self.builder = builder
self._callback = None
self._gd = None
self._signals = None
self._gesture = None
self._repeats = 0
self.gesture_grabber = self.builder.get_object("gesture_grabber")
self.txGestureGrab = self.builder.get_object("txGestureGrab")
self.lblGestureGrabberTitle = self.builder.get_object("lblGestureGrabberTitle")
self.lblGestureStatus = self.builder.get_object("lblGestureStatus")
self.rvGestureGrab = self.builder.get_object("rvGestureGrab")
# Can't use autoconnect for this :(
self.gesture_grabber.connect("delete-event", self.close)
self.gesture_grabber.connect("destroy", self.close)
self.builder.get_object("btnStartGestureOver").connect("clicked", self.start_over)
self.builder.get_object("btnConfirmGesutre").connect("clicked", self.use)
def fail(self, *a):
"""
Called when something goes bad, usually because there is
no controller connected.
"""
log.error("Failed to grab gesture: %s", a)
def disconnect_signals(self):
"""
Disconnects redundant signal handlers.
Currently only one created in lock_buttons.
"""
if self._signals:
for source, eid in self._signals:
source.disconnect(eid)
self._signals = []
def lock_buttons(self):
self.disconnect_signals()
try:
c = self.editor.app.dm.get_controllers()[0]
c.lock(
lambda *a: True, # success_cb
self.fail, # error_cb
'A', 'Y'
)
self._signals = [ (c, c.connect('event', self.on_event)) ]
except IndexError, e:
# No controllers
self.fail()
def on_event(self, c, button, data):
if self.rvGestureGrab.get_reveal_child():
if button == "A" and data[0] == 0:
self.use()
elif button == "Y" and data[0] == 0:
self.start_over()
def grab(self, callback):
self._callback = callback
self.start_over()
self.gesture_grabber.set_transient_for(self.editor.window)
self.gesture_grabber.show()
self._create_gd()
def use(self, *a):
self._callback(self._gesture)
self.close()
def close(self, *a):
if self._gd:
self._gd.quit()
self._gd = None
self.gesture_grabber.hide()
return True
def start_over(self, *a):
if self.editor.get_id() == "RPAD":
self.lblGestureGrabberTitle.set_text(_("Draw gesture on RIGHT pad..."))
elif self.editor.get_id() == "CPAD":
self.lblGestureGrabberTitle.set_text(_("Draw gesture on Touchpad..."))
else:
self.lblGestureGrabberTitle.set_text(_("Draw gesture on LEFT pad..."))
self.lblGestureStatus.set_label("")
self.txGestureGrab.set_text("")
self.rvGestureGrab.set_reveal_child(False)
self._gesture = None
self._repeats = 0
def _create_gd(self):
""" Creates GestureDisplay object """
if self._gd:
self._gd.quit()
self._gd = GestureDisplay(self.editor.app.config)
if self.editor.get_id() == "RPAD":
self._gd.parse_argumets([ "GestureDisplay", "--control-with", "RIGHT" ])
elif self.editor.get_id() == "CPAD":
self._gd.parse_argumets([ "GestureDisplay", "--control-with", "CPAD" ])
else:
self._gd.parse_argumets([ "GestureDisplay", "--control-with", "LEFT" ])
self._gd.use_daemon(self.editor.app.dm)
self._gd.show()
self._gd.connect('gesture-updated', self.on_gesture_updated)
self._gd.connect('destroy', self.on_gesture_recognized)
self.lock_buttons()
def on_gesture_updated(self, gd, gstr):
txt = GestureComponent.nice_gstr(gstr)
self.txGestureGrab.set_text(txt)
self.txGestureGrab.set_position(len(txt))
def on_gesture_recognized(self, gd):
self.disconnect_signals()
if gd.get_exit_code() != 0:
# Canceled or cannot grab controller
return
if gd.get_gesture():
self.on_gesture_updated(gd, gd.get_gesture())
if self._gesture == None:
self.lblGestureGrabberTitle.set_text(_("Repeat same gesture or press A button to confirm..."))
self.rvGestureGrab.set_reveal_child(True)
self._gesture = gd.get_gesture()
elif self._gesture == gd.get_gesture():
self._repeats += 1
self.lblGestureStatus.set_label(_("Repeated %s times") % (self._repeats,))
else:
self.lblGestureStatus.set_label(_("Gesture differs"))
self._create_gd()
```
|
Valmir Pontes Arantes (born 16 May 1981) is a Brazilian footballer. He plays for SC Brühl.
Valmir was signed by FC Gossau in January 2007, and won promotion in summer 2007 to Swiss Challenge League.
External links
CBF
Profile at Brühl
http://www.football.ch/sfl/1707/de/Kader.aspx?pId=103885
Brazilian men's footballers
Expatriate men's footballers in Switzerland
FC Wil players
FC Gossau players
Swiss Super League players
Men's association football midfielders
People from Umuarama
1981 births
Living people
FC Chur 97 players
Footballers from Paraná (state)
|
William Timothy Cotter (1866–1940) was an Irish-born prelate who served as the third Roman Catholic Bishop of Portsmouth, England, from 1910 to 1940.
Life
William Timothy Cotter was born in Cloyne, County Cork, Ireland on 21 December 1866. He was educated at St. Colman's Fermoy; and studied for the priesthood at Maynooth College. Cotter was ordained to the priesthood on 19 June 1892 at Portsmouth.
He was appointed an Auxiliary Bishop of Portsmouth and Titular Bishop of Clazomenae on 14 February 1905. His consecration to the Episcopate took place on 19 March 1905, the principal consecrator was Bishop John Baptist Cahill of Portsmouth, and the principal co-consecrators were Bishop George Ambrose Burton of Clifton and Bishop Peter Amigo of Southwark. Five years later, he was appointed Bishop of Portsmouth on 24 November 1910.
Bishop Cotter died in office on 24 October 1940, aged 73.
References
1866 births
1940 deaths
Alumni of St Patrick's College, Maynooth
Christian clergy from County Cork
Roman Catholic bishops of Portsmouth
Christianity in Hampshire
20th-century Roman Catholic bishops in England
People educated at St Colman's College, Fermoy
William
|
```objective-c
/*
This file is free software: you can redistribute it and/or modify
(at your option) any later version.
This file is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
along with the this software. If not, see <path_to_url
*/
#ifndef SOUND_VIEW_H
#define SOUND_VIEW_H
#include <windows.h>
BOOL SoundView_Init();
void SoundView_DeInit();
BOOL SoundView_DlgOpen(HWND hParentWnd);
void SoundView_DlgClose();
BOOL SoundView_IsOpened();
HWND SoundView_GetHWnd();
void SoundView_Refresh(bool forceRedraw = false);
INT_PTR CALLBACK SoundView_DlgProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
#endif
```
|
```smalltalk
//your_sha256_hash--------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//your_sha256_hash--------------
namespace Myrtille.Admin.Services.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.6.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default {
get {
return defaultInstance;
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("8008")]
public string WebApiPort {
get {
return ((string)(this["WebApiPort"]));
}
}
}
}
```
|
William Henry Lamb (5 January 1889 – 8 January 1964) was an Australian politician. He was a member of the New South Wales Legislative Assembly from 1938 until 1962 and a member of the NSW Branch of the Labor Party and the Lang Labor Party. He was the Speaker of the New South Wales Legislative Assembly between 1947 and 1959.
Early life
Lamb was born in Nyngan, New South Wales. The son of a coachbuilder, Lamb was educated to elementary level at state schools—including one at the oil shale mining village of Airly—and from the age of 12 he worked as a grocer's boy and then as a coalminer. At age 19 he became a teacher in NSW rural schools and studied accountancy in his spare time. He was an office manager after 1927. A protégé of Jack Lang, Lamb was an alderman on Auburn Municipal Council from 1932 and was the mayor in 1935. As mayor in 1935, he was awarded the King George V Silver Jubilee Medal. In October 1939, having moved from Auburn to Granville, Lamb resigned as an alderman.
Political career
At the 1938 state election, Lamb was elected to the New South Wales Parliament as the Labor member for the new seat of Granville. He defeated the sitting United Australia Party member, Claude Fleck. He was a supporter of Lang's Australian Labor Party (Non-Communist) during the party split of 1941 but did not support the later manifestations of Lang Labor.
Speaker of the Legislative Assembly
Lamb succeeded Daniel Clyne as the Speaker of the New South Wales Legislative Assembly after the 1947 election and retained the position for twelve years. His time as speaker was characterised by his singular interpretation of standing orders and firm control, leading to frequent criticism from the opposition for inflexibility, unnecessary interjections from the chair and bias towards the government. Unusually for a serving speaker, Lamb often made contributions in committee stages of bills. Controversially he even opposed some of his government's legislation, including the Local Government (Areas) bill in 1948, calling it a "flagrant violation of the fundamental principles of the democratic system" which was a reference to the decision to amalgamate Granville Council into Parramatta instead of the other way round.
Defeated in a caucus ballot for speaker in 1959, Lamb was granted retention of the "Honourable" title. Lamb retained his seat of Granville throughout his time in parliament but lost Labor Party pre-selection prior to the 1962 state election and retired. He did not live long outside of politics, dying on 8 January 1964, and was buried in Rookwood Cemetery.
References
1889 births
1964 deaths
Members of the New South Wales Legislative Assembly
Speakers of the New South Wales Legislative Assembly
People from the Central West (New South Wales)
Australian Labor Party members of the Parliament of New South Wales
20th-century Australian politicians
Australian schoolteachers
Australian accountants
Burials at Rookwood Cemetery
Mayors of Auburn
|
Rocked and Ripped is the seventh studio album by the American rock band BulletBoys. The album was released August 31, 2011 on Cleopatra Records. The album consists entirely of cover songs. In addition to the 15 cover songs, the album also features a re-recorded version of the band's 1988 hit "Smooth Up In Ya".
Track listing
Track listing adopted from Discogs:
Dr. Feelgood (Motley Crue)
Livin' On a Prayer (Bon Jovi)
Take Me Home Tonight (Eddie Money)
Faithfully (Journey)
Balls To the Wall (Accept)
Free Fallin' (Tom Petty)
Renegade (Styx)
Falling in Love (Scorpions)
Fuckin' Perfect (Pink)
The Rover (Led Zeppelin)
I'll See You in My Dreams (Giant)
Colder Weather (Zac Brown Band)
Rehab (Amy Winehouse)
Broken Wings (Mr. Mister)
Tiny Dancer (Elton John)
Smooth Up in Ya (re-recording)
Personnel
Marq Torien – vocals, guitar, congas, percussion
Lonnie Vencent – bass
Greg Gatti – guitar
Don "Dish" Bish – drums
Christ Turbis – keyboards
References
2011 albums
BulletBoys albums
Cleopatra Records albums
Covers albums
|
James Cropper plc is an English papermaking company based in Burneside, Kendal, Cumbria, England. The company was founded in 1845 by James Cropper (1823-1900), whose great-great-grandson James Cropper is the Honorary President of the company.
The company have been at the same site at Burneside since 1845. There were earlier mills on the same site including a sickle mill and a fulling mill which were bought in 1750 by John Wakefield who built a woollen mill on the site in 1760 and converted the sickle mill for cotton 1770. In 1828 the mill was leased to Hudson and Forster who installed second-hand papermaking machines, and in 1845 James Cropper rented the premises.
Croppers have pioneered the recycling of disposable coffeecups, and have also produced a range of recycled paper for the luxury packaging market.
The company produces specialist paper for the manufacture of The Royal British Legion's Remembrance poppies: when a decision was made in 1978 to move from fabric to paper poppies, Croppers produced a paper which could be crimped into shape and with colour which could be sure not to rub off onto clothing.
A historian was commissioned to write a history of the company but failed to deliver, at which point the current chairman Mark Cropper (great-x-3-grandson of the founder) stepped in to write The leaves we write on : James Cropper, a history in paper making (Ellergreen, 2004: ).
In 2021 the company entered a three-year agreement as "headline sponsors" of the Wainwright Prize for nature and conservation writing.
References
External links
Companies based in Cumbria
Kendal
Engineering companies of England
Manufacturing companies established in 1845
British companies established in 1845
Papermaking in the United Kingdom
|
Özgür Ülke was a Turkish newspaper established on the 28 April 1994, following the shut down of Özgür Gündem and other newspapers which reported on the Kurdish Turkish conflict by the Turkish government. It was closed down on the 2 February 1995, and 220 of its 247 issues were confiscated.
History
Three offices of the newspaper, two in Istanbul and one in Ankara, were simultaneously bombed on the 3 December 1994. As a result, one person died and 23 others were wounded by the explosions. The next day the paper was published with the title "This fire could burn you, too" on the front-page. The Turkish authorities didn't charge anyone for the bombings, but arrested the wounded at their release from hospital. Following a solidarity campaign was launched by the Turkish public society. After about two weeks time, Özgür Ülke released an article containing a document signed by Tansu Çiller, in which was ordered to take measures to silence the media which was deemed a threat for the integrity of the state, specifically singling out Özgür Ülke. Yıldırım Aktuna, a spokesperson of the Government of Tansu ÇIller, declared that the authorities suspect that the newspaper bombed itself, in order to put the Turkish government into a difficult position. It was shut down on 2 February 1995 on grounds that it represented a continuation of the defunct and prohibited Özgür Gündem.
References
Freedom of speech in Asia
1994 establishments in Turkey
1995 disestablishments in Turkey
|
Platypeltella angustispora is a species of fungus in the family Microthyriaceae. It was described as new to science in 1969 by Marie Farr and Flora Pollack, both scientists working at the United States Department of Agriculture. The fungus was found growing on several collections of diseased plant material (Chamaedorea species) sent from Mexico, and intercepted by quarantine inspectors. It was initially thought to be an unknown Pyrenomycetes species of the family Asterinaceae (according to the taxonomical concepts of the time). After studying the material, Farr and Pollack described it as a new species of Platypeltella, clearly distinguishable from the type species (P. smilacis) by the size and shape of its ascospores.
References
External links
Fungi described in 1969
Fungi of Mexico
Microthyriales
Taxa named by Marie Leonore Farr
Fungi without expected TNC conservation status
|
```rust
/*
*
* This software may be used and distributed according to the terms of the
*/
use std::str::FromStr;
use anyhow::Context;
use anyhow::Error;
use bytes::Bytes;
use filestore::FilestoreConfigRef;
use filestore::StoreRequest;
use futures::Stream;
use futures::TryStreamExt;
use gotham::state::FromState;
use gotham::state::State;
use gotham_derive::StateData;
use gotham_derive::StaticResponseExtender;
use gotham_ext::error::HttpError;
use gotham_ext::middleware::HttpScubaKey;
use gotham_ext::middleware::ScubaMiddlewareState;
use gotham_ext::response::EmptyBody;
use gotham_ext::response::TryIntoResponse;
use gotham_ext::util::read_header_value;
use http::header::CONTENT_LENGTH;
use hyper::Body;
use mononoke_types::hash::GitSha1;
use mononoke_types::hash::RichGitSha1;
use repo_blobstore::RepoBlobstoreRef;
use serde::Deserialize;
use stats::prelude::*;
use crate::errors::ErrorKind;
use crate::lfs_server_context::RepositoryRequestContext;
use crate::middleware::LfsMethod;
define_stats! {
prefix ="mononoke.lfs.git_upload_blob";
total_uploads: timeseries(Rate, Sum),
upload_success: timeseries(Rate, Sum),
size_bytes: histogram(100_000, 0, 10_000_000, Average, Sum, Count; P 5; P 25; P 50; P 75; P 95; P 97; P 99),
}
// NOTE: We don't deserialize things beyond a String form, in order to report errors in our
// controller, not in routing.
#[derive(Deserialize, StateData, StaticResponseExtender)]
pub struct GitBlobParams {
repository: String,
oid: String,
size: String,
}
async fn upload_blob<S>(
ctx: &RepositoryRequestContext,
oid: RichGitSha1,
size: u64,
body: S,
) -> Result<(), Error>
where
S: Stream<Item = Result<Bytes, ()>> + Unpin + Send + 'static,
{
STATS::total_uploads.add_value(1);
filestore::store(
ctx.repo.repo_blobstore(),
*ctx.repo.filestore_config(),
&ctx.ctx,
&StoreRequest::with_git_sha1(size, oid),
body.map_err(|()| ErrorKind::ClientCancelled).err_into(),
)
.await
.context(ErrorKind::FilestoreWriteFailure)?;
STATS::upload_success.add_value(1);
Ok(())
}
pub async fn git_upload_blob(state: &mut State) -> Result<impl TryIntoResponse, HttpError> {
let GitBlobParams {
repository,
oid,
size,
} = state.take();
let ctx = RepositoryRequestContext::instantiate(state, repository.clone(), LfsMethod::GitBlob)
.await?;
let oid = GitSha1::from_str(&oid).map_err(HttpError::e400)?;
let size = size.parse().map_err(Error::from).map_err(HttpError::e400)?;
let content_length: Option<u64> = read_header_value(state, CONTENT_LENGTH)
.transpose()
.map_err(HttpError::e400)?;
if let Some(content_length) = content_length {
ScubaMiddlewareState::try_borrow_add(
state,
HttpScubaKey::RequestContentLength,
content_length,
);
}
STATS::size_bytes.add_value(size as i64);
if let Some(max_upload_size) = ctx.max_upload_size() {
if size > max_upload_size {
return Err(HttpError::e400(ErrorKind::UploadTooLarge(
size,
max_upload_size,
)));
}
}
let oid = RichGitSha1::from_sha1(oid, "blob", size);
let body = Body::take_from(state).map_err(|_| ());
upload_blob(&ctx, oid, size, body)
.await
.map_err(HttpError::e500)?;
Ok(EmptyBody::new())
}
```
|
```go
/*
path_to_url
Unless required by applicable law or agreed to in writing, software
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
package db
import (
"crypto/tls"
"fmt"
"strings"
"time"
"github.com/go-sql-driver/mysql"
"github.com/openark/golib/log"
"github.com/openark/golib/sqlutils"
"github.com/patrickmn/go-cache"
"github.com/rcrowley/go-metrics"
"github.com/openark/orchestrator/go/config"
"github.com/openark/orchestrator/go/ssl"
)
const Error3159 = "Error 3159:"
const Error1045 = "Access denied for user"
// Track if a TLS has already been configured for topology
var topologyTLSConfigured bool = false
// Track if a TLS has already been configured for Orchestrator
var orchestratorTLSConfigured bool = false
var requireTLSCache *cache.Cache = cache.New(time.Duration(config.Config.TLSCacheTTLFactor*config.Config.InstancePollSeconds)*time.Second, time.Second)
var readInstanceTLSCounter = metrics.NewCounter()
var writeInstanceTLSCounter = metrics.NewCounter()
var readInstanceTLSCacheCounter = metrics.NewCounter()
var writeInstanceTLSCacheCounter = metrics.NewCounter()
func init() {
metrics.Register("instance_tls.read", readInstanceTLSCounter)
metrics.Register("instance_tls.write", writeInstanceTLSCounter)
metrics.Register("instance_tls.read_cache", readInstanceTLSCacheCounter)
metrics.Register("instance_tls.write_cache", writeInstanceTLSCacheCounter)
}
func requiresTLS(host string, port int, mysql_uri string) bool {
cacheKey := fmt.Sprintf("%s:%d", host, port)
if value, found := requireTLSCache.Get(cacheKey); found {
readInstanceTLSCacheCounter.Inc(1)
return value.(bool)
}
required := false
db, _, _ := sqlutils.GetDB(mysql_uri)
if err := db.Ping(); err != nil && (strings.Contains(err.Error(), Error3159) || strings.Contains(err.Error(), Error1045)) {
required = true
}
query := `
insert into
database_instance_tls (
hostname, port, required
) values (
?, ?, ?
)
on duplicate key update
required=values(required)
`
if _, err := ExecOrchestrator(query, host, port, required); err != nil {
log.Errore(err)
}
writeInstanceTLSCounter.Inc(1)
requireTLSCache.Set(cacheKey, required, cache.DefaultExpiration)
writeInstanceTLSCacheCounter.Inc(1)
return required
}
// Create a TLS configuration from the config supplied CA, Certificate, and Private key.
// Register the TLS config with the mysql drivers as the "topology" config
// Modify the supplied URI to call the TLS config
func SetupMySQLTopologyTLS(uri string) (string, error) {
if !topologyTLSConfigured {
tlsConfig, err := ssl.NewTLSConfig(config.Config.MySQLTopologySSLCAFile, !config.Config.MySQLTopologySSLSkipVerify)
// Drop to TLS 1.0 for talking to MySQL
tlsConfig.MinVersion = tls.VersionTLS10
if err != nil {
return "", log.Errorf("Can't create TLS configuration for Topology connection %s: %s", uri, err)
}
tlsConfig.InsecureSkipVerify = config.Config.MySQLTopologySSLSkipVerify
if (config.Config.MySQLTopologyUseMutualTLS && !config.Config.MySQLTopologySSLSkipVerify) &&
config.Config.MySQLTopologySSLCertFile != "" &&
config.Config.MySQLTopologySSLPrivateKeyFile != "" {
if err = ssl.AppendKeyPair(tlsConfig, config.Config.MySQLTopologySSLCertFile, config.Config.MySQLTopologySSLPrivateKeyFile); err != nil {
return "", log.Errorf("Can't setup TLS key pairs for %s: %s", uri, err)
}
}
if err = mysql.RegisterTLSConfig("topology", tlsConfig); err != nil {
return "", log.Errorf("Can't register mysql TLS config for topology: %s", err)
}
topologyTLSConfigured = true
}
return fmt.Sprintf("%s&tls=topology", uri), nil
}
// Create a TLS configuration from the config supplied CA, Certificate, and Private key.
// Register the TLS config with the mysql drivers as the "orchestrator" config
// Modify the supplied URI to call the TLS config
func SetupMySQLOrchestratorTLS(uri string) (string, error) {
if !orchestratorTLSConfigured {
tlsConfig, err := ssl.NewTLSConfig(config.Config.MySQLOrchestratorSSLCAFile, !config.Config.MySQLOrchestratorSSLSkipVerify)
// Drop to TLS 1.0 for talking to MySQL
tlsConfig.MinVersion = tls.VersionTLS10
if err != nil {
return "", log.Fatalf("Can't create TLS configuration for Orchestrator connection %s: %s", uri, err)
}
tlsConfig.InsecureSkipVerify = config.Config.MySQLOrchestratorSSLSkipVerify
if (!config.Config.MySQLOrchestratorSSLSkipVerify) &&
config.Config.MySQLOrchestratorSSLCertFile != "" &&
config.Config.MySQLOrchestratorSSLPrivateKeyFile != "" {
if err = ssl.AppendKeyPair(tlsConfig, config.Config.MySQLOrchestratorSSLCertFile, config.Config.MySQLOrchestratorSSLPrivateKeyFile); err != nil {
return "", log.Fatalf("Can't setup TLS key pairs for %s: %s", uri, err)
}
}
if err = mysql.RegisterTLSConfig("orchestrator", tlsConfig); err != nil {
return "", log.Fatalf("Can't register mysql TLS config for orchestrator: %s", err)
}
orchestratorTLSConfigured = true
}
return fmt.Sprintf("%s&tls=orchestrator", uri), nil
}
```
|
Murney Tower is a Martello tower in Kingston, Ontario, Canada, whose construction dates to January 1846. The Tower was built in response to the Oregon Crisis, which was a tense dispute over the border between British North America and the United States in the 1840s.
The tower is one of five components of Kingston's fortifications that defended Kingston Harbour, the Naval Dockyard, military supply depot and the southern entrance of the Rideau Canal. Murney Tower complements the fortifications of Fort Henry, Ontario, Cathcart Tower on Cedar Island, Shoal Tower in the Confederation Basin and Fort Frederick on the grounds of the Royal Military College of Canada. In addition to protecting the harbour and approaches to Kingston, these fortifications were designed to concentrate fire on Gardiners Island; it being the only place to effectively land artillery at the time.
History
Background
When the tower was first constructed they planned to call it Murray Tower after the Master General of Ordnance. The land however, was owned by the Murney family and was called Murney Point by the locals. They thus began calling the tower, Murney Tower. This name stuck. The original inscription stone above the door read ‘Murray Tower.’ An ‘N’ was affixed over the first ‘R’ so that the current sign reads ‘MURNAY TOWER’, a hybrid spelling of the two versions.
Construction began on the tower on February 7, 1846. On June 15 of the same year the Oregon treaty was resolved, reducing tensions with the Americans. On June 19, the walls were built to their full height. Construction of the tower was finished on November 10, 1846.
Life in the tower
The tower was occupied from 1848 until 1885. The main floor (ground level) was the barracks level where the soldiers and their families lived, ate, and slept. It was manned by the Royal Canadian Rifle Regiment until 1870, then by Battery A until 1880, and Battery B until 1884. After 1885 it was watched by the Princess of Wales Own Regiment. It could house a maximum of 24 soldiers and one officer or multiple soldiers and their families.
A birth was recorded in the tower in 1882. Sergeant Thomas Pugh and his wife Martha Mary lived in the tower with their seven children: William, Thomas, James, Murney May, Lillian, Bertha, and Sydney. Murney May Pugh was born in May while her family was living in the Tower. She eventually left Kingston to become a nurse and served overseas in the First World War. The Pugh family have had a significant impact on Kingston and Canada's history, serving over 470 years in the military.
Architecture and defenses
The tower stands surrounded by a dry-ditch and is accessible only by a bridge. When the tower was originally built, there was no bridge to cross the dry-ditch. It is likely that soldiers would have accessed the tower through two ladders placed in the ditch. Murney Tower was constructed with locally quarried limestone with special brickwork on the barracks and basement levels of the tower's interior. On the thickest side the walls are about 15 ft. thick at the base and 13 ft. thick up top. On the weaker side the walls are about 8 ft. thick. The walls are thicker on the south side because a naval attack from the Americans was the most likely form of attack and thus is what the tower is prepared for. Cannonballs from enemy ships should have theoretically bounced right off the walls.
Currently, the barracks has two internal carronade cannons that would have fired 32-lb cannonballs directed out shuttered windows. These carronades had a range of 400 metres and would have been used for anti-personnel warfare in case of a land attack. These cannons could be moved about the interior embrasures, and so cover multiple approaches, including the bridge.
The lower floor contained the ventilated gunpowder and artillery magazines and storage rooms, along with 4 capponieres, which acted as a defense system for the dry-ditch surrounding the Tower, allowing soldiers to fire through small loopholes at troops attacking the Towers base. Caponiers were unique to the Kingston Martello Towers, due to controversy surrounding them. The walls are much thinner in the caponiere than in the rest of the tower and are thus more vulnerable to attack. However, they also provided troops with the opportunity to protect the dry ditch through rifle loops, with strategic additional doors and rifle holes meant to keep out any enemy who successfully breached the caponier.
The uppermost level is the artillery or gun platform, which supports a Blomefield cannon (which also fired 32-lb cannonballs) that could be rotated along an iron track, thus, providing full coverage around the Tower's entire circumference. The Blomefield cannon was redesigned by Thomas Blomefield, Inspector of Artillery and Superintendent of the Royal Brass Foundry in 1780. Blomefield redesigned the Armstrong cannon that had been previously used by the British forces, replacing it with a cannon that was simpler in design, lighter, and had more effective recoil restraint. The cannon weighs 6429 lbs, with a range of 2000 metres.
Roofs are not original Mediterranean design of Martello towers, but a temporary snow roof was later added to the open gun platform two years after the tower's construction protects the gun and keeps out the large amounts of snow. The addition of a roof is a common feature on Canadian Martellos. The original roof was installed in 1849. In 1921 a windstorm removed the original wooden and tin roof. Parts of the roof date to the reconstruction that followed in 1925, but the majority of the present roof dates from the 1970s and is not removable for safety reasons.
Despite being one of the most sophisticated Martello towers designed and built by the British, Murney Tower quickly became obsolete due to improvements made in military weaponry and ship design.
Present day
In 1925, the museum was opened as a museum for the public by the Kingston Historical Society. It continues to be operated by the Kingston Historical Society as the Murney Tower Museum through the summer months (May - Labour Day in September). Displays include three cannons (32-pounder), period uniforms, muskets, and other mid-19th century military artifacts.
Although 14 Martello towers were built in Canada, only 9 are still standing, 4 of them in Kingston. Currently, only Murney Tower Museum is open to the public. Fort Henry has two towers that resemble Martello towers, however, they are branch ditch towers.
Designations
In 1930 Murney Tower was designated a national historic site due to its sophisticated design.
In 1989 the Kingston Fortifications were designated a National Historic Site of Canada.
In 2007, the Rideau Canal and Kingston Fortifications (including Murney Tower) were recognized as a UNESCO World Heritage Site. It was recognized as having played an important role in the defense of British North America and in enabling Canada to develop its own political and cultural identity
References
External links
Murney Tower - Kingston Historical Society
Infrastructure completed in 1846
Towers in Ontario
Buildings and structures in Kingston, Ontario
National Historic Sites in Ontario
Museums in Kingston, Ontario
Military and war museums in Canada
|
Thunderchild, Thunder Child or variant, may refer to:
Thunderchild First Nation, a Cree tribe and Indian reserve in Saskatchewan, Canada
HMS Thunder Child, a fictional Royal Navy ironclad torpedo steam ram in the H.G. Wells novel The War of the Worlds
"Thunderchild", a song about the ship from the 1978 album Jeff Wayne's Musical Version of The War of the Worlds
Thunderchild, an album by James Ash, and the stagname listed on the album
Thunder Child, a stagename for heavy metal band Warlord musician Mark Zonder
Thunderchild, a character from Dick Tracy comics
See also
Children of the Thunder, a 1988 novel by John Brunner
Sons of Thunder (disambiguation)
|
```ruby
class JavaServiceWrapper < Formula
desc "Simplify the deployment, launch and monitoring of Java applications"
homepage "path_to_url"
url "path_to_url"
sha256 your_sha256_hash
license any_of: ["GPL-2.0-only", "GPL-3.0-only"]
bottle do
sha256 cellar: :any_skip_relocation, arm64_sonoma: your_sha256_hash
sha256 cellar: :any_skip_relocation, arm64_ventura: your_sha256_hash
sha256 cellar: :any_skip_relocation, arm64_monterey: your_sha256_hash
sha256 cellar: :any_skip_relocation, sonoma: your_sha256_hash
sha256 cellar: :any_skip_relocation, ventura: your_sha256_hash
sha256 cellar: :any_skip_relocation, monterey: your_sha256_hash
sha256 cellar: :any_skip_relocation, x86_64_linux: your_sha256_hash
end
depends_on "ant" => :build
depends_on "openjdk@11" => :build
on_linux do
depends_on "cunit" => :build
end
def install
ENV["JAVA_HOME"] = Formula["openjdk@11"].opt_prefix
# Default javac target version is 1.4, use 1.6 which is the minimum available on openjdk@11
system "ant", "-Dbits=64", "-Djavac.target.version=1.6"
libexec.install "lib", "bin", "src/bin" => "scripts"
if OS.mac?
if Hardware::CPU.arm?
ln_s "libwrapper.dylib", libexec/"lib/libwrapper.jnilib"
else
ln_s "libwrapper.jnilib", libexec/"lib/libwrapper.dylib"
end
end
end
test do
ENV["JAVA_HOME"] = Formula["openjdk@11"].opt_prefix
output = shell_output("#{libexec}/bin/testwrapper status", 1)
assert_match("Test Wrapper Sample Application", output)
end
end
```
|
```php
@extends("crudbooster::admin_template")
@section("content")
@push('head')
<link rel='stylesheet' href='<?php echo asset("vendor/crudbooster/assets/select2/dist/css/select2.min.css")?>'/>
<style>
.select2-container--default .select2-selection--single {
border-radius: 0px !important
}
.select2-container .select2-selection--single {
height: 35px
}
</style>
@endpush
@push('bottom')
<script src='<?php echo asset("vendor/crudbooster/assets/select2/dist/js/select2.full.min.js")?>'></script>
<script>
$(function () {
$('.select2').select2();
})
</script>
@endpush
<ul class="nav nav-tabs">
<li role="presentation"><a href="{{Route('ModulsControllerGetStep1')."/".$id}}"><i class='fa fa-info'></i> Step 1 - Module Information</a></li>
<li role="presentation" class="active"><a href="{{Route('ModulsControllerGetStep2')."/".$id}}"><i class='fa fa-table'></i> Step 2 - Table Display</a></li>
<li role="presentation"><a href="{{Route('ModulsControllerGetStep3')."/".$id}}"><i class='fa fa-plus-square-o'></i> Step 3 - Form Display</a></li>
<li role="presentation"><a href="{{Route('ModulsControllerGetStep4')."/".$id}}"><i class='fa fa-wrench'></i> Step 4 - Configuration</a></li>
</ul>
@push('head')
<style>
.table-display tbody tr td {
position: relative;
}
.sub {
position: absolute;
top: inherit;
left: inherit;
padding: 0 0 0 0;
list-style-type: none;
height: 180px;
overflow: auto;
z-index: 1;
}
.sub li {
padding: 5px;
background: #eae9e8;
cursor: pointer;
display: block;
width: 180px;
}
.sub li:hover {
background: #ECF0F5;
}
.btn-drag {
cursor: move;
}
</style>
@endpush
@push('bottom')
<script>
var columns = {!! json_encode($columns) !!};
var tables = {!! json_encode($table_list) !!};
function ucwords(str) {
return (str + '').replace(/^([a-z])|\s+([a-z])/g, function ($1) {
return $1.toUpperCase();
});
}
function showNameSuggest(t) {
t = $(t);
t.next("ul").remove();
var list = '';
$.each(columns, function (i, obj) {
list += "<li>" + obj + "</li>";
});
t.after("<ul class='sub'>" + list + "</ul>");
}
function showNameSuggestLike(t) {
t = $(t);
var v = t.val();
t.next("ul").remove();
if (!v) return false;
var list = '';
$.each(columns, function (i, obj) {
if (obj.includes(v.toLowerCase())) {
list += "<li>" + obj + "</li>";
}
});
t.after("<ul class='sub'>" + list + "</ul>");
}
function showColumnSuggest(t) {
t = $(t);
t.next("ul").remove();
var list = '';
$.each(columns, function (i, obj) {
obj = obj.replace('id_', '');
obj = ucwords(obj.replace('_', ' '));
list += "<li>" + obj + "</li>";
});
t.after("<ul class='sub'>" + list + "</ul>");
}
function showColumnSuggestLike(t) {
t = $(t);
var v = t.val();
t.next("ul").remove();
if (!v) return false;
var list = '';
$.each(columns, function (i, obj) {
if (obj.includes(v.toLowerCase())) {
obj = obj.replace('id_', '');
obj = ucwords(obj.replace('_', ' '));
list += "<li>" + obj + "</li>";
}
});
t.after("<ul class='sub'>" + list + "</ul>");
}
function showTable(t) {
t = $(t);
t.next("ul").remove();
var list = '';
$.each(tables, function (i, obj) {
list += "<li>" + obj + "</li>";
});
t.after("<ul class='sub'>" + list + "</ul>");
}
function showTableLike(t) {
t = $(t);
var v = t.val();
t.next("ul").remove();
if (!v) return false;
var list = '';
$.each(tables, function (i, obj) {
if (obj.includes(v.toLowerCase())) {
list += "<li>" + obj + "</li>";
}
});
t.after("<ul class='sub'>" + list + "</ul>");
}
function showTableFieldLike(t) {
t = $(t);
var table = t.parent().parent().find('.join_table').val();
var v = t.val();
t.next("ul").remove();
if (!table) return false;
if (!v) return false;
t.after("<ul class='sub'><li><i class='fa fa-spin fa-spinner'></i> Loading...</li></ul>");
$.get("{{CRUDBooster::mainpath('table-columns')}}/" + table, function (response) {
t.next("ul").remove();
var list = '';
$.each(response, function (i, obj) {
if (obj.includes(v.toLowerCase())) {
list += "<li>" + obj + "</li>";
}
});
t.after("<ul class='sub'>" + list + "</ul>");
});
}
function showTableField(t) {
t = $(t);
var table = t.parent().parent().find('.join_table').val();
var v = t.val();
if (!table) return false;
t.after("<ul class='sub'><li><i class='fa fa-spin fa-spinner'></i> Loading...</li></ul>");
$.get("{{CRUDBooster::mainpath('table-columns')}}/" + table, function (response) {
t.next("ul").remove();
var list = '';
$.each(response, function (i, obj) {
list += "<li>" + obj + "</li>";
});
t.after("<ul class='sub'>" + list + "</ul>");
});
}
$(function () {
$(document).on('click', '.btn-plus', function () {
var tr_parent = $(this).parent().parent('tr');
var clone = $('#tr-sample').clone();
clone.removeAttr('id');
tr_parent.after(clone);
$('.table-display tr').not('#tr-sample').show();
})
//init row
$('.btn-plus').last().click();
$(document).mouseup(function (e) {
var container = $(".sub");
if (!container.is(e.target)
&& container.has(e.target).length === 0) {
container.hide();
}
});
$(document).on('click', '.sub li', function () {
var v = $(this).text();
$(this).parent('ul').prev('input[type=text]').val(v);
$(this).parent('ul').remove();
})
$(document).on('click', '.table-display .btn-delete', function () {
$(this).parent().parent().remove();
})
$(document).on('click', '.table-display .btn-up', function () {
var tr = $(this).parent().parent();
var trPrev = tr.prev('tr');
if (trPrev.length != 0) {
tr.prev('tr').before(tr.clone());
tr.remove();
}
})
$(document).on('click', '.table-display .btn-down', function () {
var tr = $(this).parent().parent();
var trPrev = tr.next('tr');
if (trPrev.length != 0) {
tr.next('tr').after(tr.clone());
tr.remove();
}
})
$(document).on('change', '.is_image', function () {
var tr = $(this).parent().parent();
if ($(this).val() == 1) {
tr.find('.is_download').val(0);
}
})
$(document).on('change', '.is_download', function () {
var tr = $(this).parent().parent();
if ($(this).val() == 1) {
tr.find('.is_image').val(0);
}
})
})
</script>
@endpush
<div class="box box-default">
<div class="box-header with-border">
<h3 class="box-title">Table Display</h3>
</div>
<div class="box-body">
<div class="alert alert-info">
<strong>Warning</strong>. Make sure that your column format are normally, unless using this Tool maybe make your current configuration broken,
because this Tool will replace your configuration.
</div>
<form method="post" action="{{Route('ModulsControllerPostStep3')}}">
<input type="hidden" name="_token" value="{{csrf_token()}}">
<input type="hidden" name="id" value="{{$id}}">
<table class="table-display table table-striped">
<thead>
<tr>
<th>Column</th>
<th>Name</th>
<th colspan='2'>Join (Optional)</th>
<th>CallbackPHP</th>
<th width="90px">Width (px)</th>
<th width='80px'>Image</th>
<th width='80px'>Download</th>
<th width="180px">Action</th>
</tr>
</thead>
<tbody>
@if($cb_col)
@foreach($cb_col as $c)
<tr>
<td><input value='{{$c["label"]}}' type='text' name='column[]' onclick='showColumnSuggest(this)'
onKeyUp='showColumnSuggestLike(this)' placeholder='Column Name' class='column form-control notfocus' value=''/></td>
<td><input value='{{$c["name"]}}' type='text' name='name[]' onclick='showNameSuggest(this)' onKeyUp='showNameSuggestLike(this)'
placeholder='Field Name' class='name form-control notfocus' value=''/></td>
<td><input value='{{ @explode(",",$c["join"])[0] }}' type='text' name='join_table[]' onclick='showTable(this)'
onKeyUp='showTableLike(this)' placeholder='Table Name' class='join_table form-control notfocus' value=''/></td>
<td><input value='{{ @explode(",",$c["join"])[1] }}' type='text' name='join_field[]' onclick='showTableField(this)'
onKeyUp='showTableFieldLike(this)' placeholder='Field Name Shown' class='join_field form-control notfocus' value=''/>
</td>
<td><input type='text' name='callbackphp[]' class='form-control callbackphp notfocus' value='{{$c["callback_php"]}}'
placeholder="Optional"/></td>
<td><input value='{{$c["width"]?:0}}' type='number' name='width[]' class='form-control'/></td>
<td>
<select class='form-control is_image' name='is_image[]'>
<option {{ (!$c['image'])?"selected":""}} value='0'>N</option>
<option {{ ($c['image'])?"selected":""}} value='1'>Y</option>
</select>
</td>
<td>
<select class='form-control is_download' name='is_download[]'>
<option {{ (!$c['download'])?"selected":""}} value='0'>N</option>
<option {{ ($c['download'])?"selected":""}} value='1'>Y</option>
</select>
</td>
<td>
<a href="javascript:void(0)" class="btn btn-info btn-plus"><i class='fa fa-plus'></i></a>
<a href="javascript:void(0)" class="btn btn-danger btn-delete"><i class='fa fa-trash'></i></a>
<a href="javascript:void(0)" class="btn btn-success btn-up"><i class='fa fa-arrow-up'></i></a>
<a href="javascript:void(0)" class="btn btn-success btn-down"><i class='fa fa-arrow-down'></i></a>
</td>
</tr>
@endforeach
@endif
<tr id="tr-sample" style="display:none">
<td><input type='text' name='column[]' onclick='showColumnSuggest(this)' onKeyUp='showColumnSuggestLike(this)' placeholder='Column Name'
class='column form-control notfocus' value=''/></td>
<td><input type='text' name='name[]' onclick='showNameSuggest(this)' onKeyUp='showNameSuggestLike(this)' placeholder='Field Name'
class='name form-control notfocus' value=''/></td>
<td><input type='text' name='join_table[]' onclick='showTable(this)' onKeyUp='showTableLike(this)' placeholder='Table Name'
class='join_table form-control notfocus' value=''/></td>
<td><input type='text' name='join_field[]' onclick='showTableField(this)' onKeyUp='showTableFieldLike(this)'
placeholder='Field Name Shown' class='join_field form-control notfocus' value=''/></td>
<td><input type='text' name='callbackphp[]' class='form-control callbackphp notfocus' value='' placeholder="Optional"/></td>
<td><input type='number' name='width[]' value='0' class='form-control'/></td>
<td>
<select class='form-control is_image' name='is_image[]'>
<option value='0'>N</option>
<option value='1'>Y</option>
</select>
</td>
<td>
<select class='form-control is_download' name='is_download[]'>
<option value='0'>N</option>
<option value='1'>Y</option>
</select>
</td>
<td>
<a href="javascript:void(0)" class="btn btn-info btn-plus"><i class='fa fa-plus'></i></a>
<a href="javascript:void(0)" class="btn btn-danger btn-delete"><i class='fa fa-trash'></i></a>
<a href="javascript:void(0)" class="btn btn-success btn-up"><i class='fa fa-arrow-up'></i></a>
<a href="javascript:void(0)" class="btn btn-success btn-down"><i class='fa fa-arrow-down'></i></a>
</td>
</tr>
</tbody>
</table>
</div>
<div class="box-footer">
<div align="right">
<button type="button" onclick="location.href='{{CRUDBooster::mainpath('step1').'/'.$id}}'" class="btn btn-default">« Back</button>
<input type="submit" class="btn btn-primary" value="Step 3 »">
</div>
</div>
</form>
</div>
@endsection
```
|
Holmberg II is a dwarf galaxy in the constellation Ursa Major. Its apparent magnitude is 11,1m and it is 11 million light years away from Earth. The galaxy is dominated by huge glowing gas bubbles, which are regions of star formation.
Holmberg II also hosts an ultraluminous X-ray source. One hypothesis suggests that is caused by an intermediate mass black hole that is pulling surrounding material.
Holmberg II was discovered by Erik Bertil Holmberg.
References
External links
Ursa Major
Dwarf galaxies
268
23324
04305
M81 Group
|
The Waterloo Medal was a medal given to British Army members who served on the Battle of Waterloo.
The Waterloo Medal may also refer to:
Waterloo Medal (Brunswick), given by the Duchy of Brunswick
Waterloo Medal (Nassau), given by the Duchy of Nassau
Waterloo Medal (Pistrucci), designed by Benedetto Pistrucci
|
Phatnotis is a genus of moth in the family Lecithoceridae.
Species
Phatnotis factiosa Meyrick, 1913
Phatnotis legata Meyrick, 1913
References
Natural History Museum Lepidoptera genus database
Lecithoceridae
|
Bulbophyllum capilligerum is a species of orchid in the genus Bulbophyllum.
References
The Bulbophyllum-Checklist
The Internet Orchid Species Photo Encyclopedia
capilligerum
|
```xml
<vector xmlns:android="path_to_url"
android:width="128dp"
android:height="128dp"
android:viewportWidth="128"
android:viewportHeight="128">
<path
android:pathData="m128,64c0,35.35 -28.65,64 -64,64 -35.35,0 -64,-28.65 -64,-64 0,-35.35 28.65,-64 64,-64 35.35,0 64,28.65 64,64"
android:strokeWidth=".2"
android:fillColor="#c8c4b7"/>
<path
android:fillColor="#FF000000"
android:pathData="m34.09,22.18h59.9c7.78,0 14.04,6.26 14.04,14.04v59.79c0,7.78 -6.26,14.04 -14.04,14.04h-59.9c-7.78,0 -14.04,-6.26 -14.04,-14.04v-59.79c0,-7.78 6.26,-14.04 14.04,-14.04z"
android:fillAlpha="0.2"/>
<path
android:pathData="m34.22,18.31h59.9c7.78,0 14.04,6.26 14.04,14.04v59.79c0,7.78 -6.26,14.04 -14.04,14.04h-59.9c-7.78,0 -14.04,-6.26 -14.04,-14.04v-59.79c0,-7.78 6.26,-14.04 14.04,-14.04z"
android:fillColor="#765c41"/>
<path
android:pathData="m28.92,41.08v42.23c7.04,0 14.08,7.04 14.08,14.08h42.23c0,-7.04 7.04,-14.08 14.08,-14.08v-42.23c-7.04,0 -14.08,-7.04 -14.08,-14.08h-42.23c0,7.04 -7.04,14.08 -14.08,14.08z"
android:strokeWidth="5.0152"
android:fillColor="#00000000"
android:strokeColor="#fff"/>
<path
android:pathData="m71,44 l-0.01,27.95c-0,1.69 1.2,2.12 2.58,2.09l2.43,-0.04 0,6h-20l-0,-6 2.66,0.04c1.32,0.02 2.34,-0.55 2.34,-2.09l0,-17.95c0,2 -8,2 -8,2l0,-6c4,0 9,-2 9,-6z"
android:fillColor="#fff"/>
</vector>
```
|
Kai Reus (born 11 March 1985 in Niedorp, North Holland), is a Dutch former professional road bicycle racer who last rode for .
As a junior, Reus won the Junior men's road race during the 2003 UCI Road World Championships.
After missing out on the 2007 Tour de France Reus was training at the Col de l'Iseran on 12 July 2007. Reus fell from his bike and slipped into a coma. After team mate Michael Rasmussen won the yellow jersey during the Tour he dedicated the jersey to Reus. Eventually Reus would remain in coma until 23 July. Reus returned to racing in the 2008 Tour of Missouri.
Reus took a year off from cycling between 2010 and 2011 after he was diagnosed with mononucleosis and lost form. He competed for in 2011 and 2013, with a season at in between.
At the end of the 2016 season, Reus announced his retirement.
Major results
2003
1st Road race, UCI Junior Road World Championships
1st Overall UCI Junior World Cup
1st Time trial, National Junior Road Championships
1st Overall Tour de l'Abitibi
1st Overall Tour du Pays de Vaud
1st Prologue
1st Overall Driedaagse van Axel
1st Mountains classification
1st Stage 4
1st Overall Junior Tour of Ireland
1st Stages 2 & 3
1st Overall Euregio Autolease Heuvelland Tour
1st Stage 2
3rd Omloop Mandel-Leie-Schelde Juniors
4th Overall Tour de Lorraine Juniors
1st Stage 4 (ITT)
2004
1st Overall Triptyque des Barrages
4th Overall Olympia's Tour
4th Chrono des Nations U23
4th Overall Tweedaagse der Gaverstreek
4th Time trial, National Under-23 Road Championships
6th Overall GP Tell
1st Stage 1
8th Ronde van Noord-Holland
2005
1st Overall Tour de Normandie
1st Stage 4
1st Overall Thüringen-Rundfahrt
1st Stage 2
1st Grand Prix Pino Cerami
1st Stages 3 & 5b (ITT) Circuito Montañés
3rd Ronde van Noord-Holland
5th Time trial, National Under-23 Road Championships
6th Overall Course de Solidarność et des Champions Olympiques
2006
National Under-23 Road Championships
1st Road race
1st Time trial
1st Overall Tour de Normandie
1st Prologue & Stage 5
1st Ronde van Noord-Holland
1st Liège–Bastogne–Liège U23
3rd Rund um Köln
6th Overall Volta ao Distrito de Santarém
7th Overall GP CTT Correios de Portugal
2009
4th Overall Tour of Britain
1st Stage 2
2011
1st Stage 1 Mi-Août en Bretagne
2012
1st Stage 7 Volta a Portugal
2015
6th Overall Ronde van Midden-Nederland
1st Stage 1 (TTT)
8th Duo Normand
References
External links
1985 births
Living people
People from Niedorp
Dutch male cyclists
UCI Road World Championships cyclists for the Netherlands
Cyclists from North Holland
20th-century Dutch people
21st-century Dutch people
|
```javascript
import DialogBody from './DialogBody';
import DialogFooter from './DialogFooter';
import Dialog from './Dialog';
Dialog.Body = DialogBody;
Dialog.Footer = DialogFooter;
export default Dialog;
```
|
```javascript
export const RETRIEVE_MOVIES_GENRES_SUCCESS = 'RETRIEVE_MOVIES_GENRES_SUCCESS';
export const RETRIEVE_POPULAR_MOVIES_SUCCESS = 'RETRIEVE_POPULAR_MOVIES_SUCCESS';
export const RETRIEVE_NOWPLAYING_MOVIES_SUCCESS = 'RETRIEVE_NOWPLAYING_MOVIES_SUCCESS';
export const RETRIEVE_MOVIES_LIST_SUCCESS = 'RETRIEVE_MOVIES_LIST_SUCCESS';
export const RETRIEVE_MOVIE_DETAILS_SUCCESS = 'RETRIEVE_MOVIE_DETAILS_SUCCESS';
export const RETRIEVE_MOVIES_SEARCH_RESULT_SUCCESS = 'RETRIEVE_MOVIES_SEARCH_RESULT_SUCCESS';
```
|
```objective-c
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef WebGeofencingError_h
#define WebGeofencingError_h
#include "WebString.h"
namespace blink {
struct WebGeofencingError {
enum ErrorType {
ErrorTypeAbort = 0,
ErrorTypeUnknown,
ErrorTypeLast = ErrorTypeUnknown
};
WebGeofencingError(ErrorType errorType, const WebString& message)
: errorType(errorType)
, message(message)
{
}
ErrorType errorType;
WebString message;
};
} // namespace blink
#endif // WebGeofencingError_h
```
|
```java
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
*
* Subject to the condition set forth below, permission is hereby granted to any
* person obtaining a copy of this software, associated documentation and/or
* data (collectively the "Software"), free of charge and under any and all
* copyright rights in the Software, and any and all patent rights owned or
* freely licensable by each licensor hereunder covering either (i) the
* unmodified Software as contributed to or provided by such licensor, or (ii)
* the Larger Works (as defined below), to deal in both
*
* (a) the Software, and
*
* (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if
* one is included with the Software each a "Larger Work" to which the Software
* is contributed by such licensors),
*
* without restriction, including without limitation the rights to copy, create
* derivative works of, display, perform, and distribute the Software and make,
* use, sell, offer for sale, import, export, have made, and have sold the
* Software and the Larger Work(s), and to sublicense the foregoing rights on
* either these or other terms.
*
* This license is subject to the following condition:
*
* The above copyright notice and either this complete permission notice or at a
* minimum a reference to the UPL must be included in all copies or substantial
* portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package com.oracle.truffle.api.test.host;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import java.util.List;
import org.graalvm.polyglot.PolyglotException;
import org.junit.BeforeClass;
import org.junit.Test;
import com.oracle.truffle.api.interop.TruffleObject;
import com.oracle.truffle.tck.tests.TruffleTestAssumptions;
public class PrimitiveRawArrayInteropTest extends ProxyLanguageEnvTest {
@BeforeClass
public static void runWithWeakEncapsulationOnly() {
TruffleTestAssumptions.assumeWeakEncapsulation();
}
private Object[] objArr;
private byte[] byteArr;
private short[] shortArr;
private int[] intArr;
private long[] longArr;
private float[] floatArr;
private double[] doubleArr;
private char[] charArr;
private boolean[] boolArr;
public Object arr(int type) {
switch (type) {
case 0:
return objArr;
case 1:
return byteArr;
case 2:
return shortArr;
case 3:
return intArr;
case 4:
return longArr;
case 5:
return floatArr;
case 6:
return doubleArr;
case 7:
return charArr;
case 8:
return boolArr;
case 666:
throw new SimulatedDeath();
default:
throw new WrongArgument(type);
}
}
public static final class WrongArgument extends RuntimeException {
private static final long serialVersionUID = 1L;
final int type;
public WrongArgument(int type) {
this.type = type;
}
}
public interface RawInterop {
List<Object> arr(int type);
}
private TruffleObject obj;
private RawInterop interop;
@Override
public void before() {
super.before();
obj = asTruffleObject(this);
interop = asJavaObject(RawInterop.class, obj);
}
@Test
public void everyThingIsNull() {
assertNull(interop.arr(0));
assertNull(interop.arr(1));
assertNull(interop.arr(2));
assertNull(interop.arr(3));
assertNull(interop.arr(4));
assertNull(interop.arr(5));
assertNull(interop.arr(6));
assertNull(interop.arr(7));
assertNull(interop.arr(8));
}
@Test
public void exceptionIsPropagated() {
try {
assertNull(interop.arr(30));
} catch (PolyglotException hostException) {
assertTrue("Expected HostException but got: " + hostException.getClass(), hostException.isHostException());
WrongArgument wrongArgument = (WrongArgument) hostException.asHostException();
assertEquals(30, wrongArgument.type);
return;
}
fail("WrongArgument should have been thrown");
}
@Test
public void errorIsPropagated() {
try {
assertNull(interop.arr(666));
} catch (PolyglotException ex) {
assertTrue(ex.isInternalError());
return;
}
fail("SimulatedDeath should have been thrown");
}
@Test
@SuppressWarnings({"rawtypes", "unchecked"})
public void stringAsList() {
objArr = new Object[]{"Hello", "World", "!"};
List<Object> list = interop.arr(0);
assertEquals("Three elements", 3, list.size());
assertEquals("Hello", list.get(0));
assertEquals("World", list.get(1));
assertEquals("!", list.get(2));
list.set(1, "there");
assertEquals("there", objArr[1]);
list.set(0, null);
assertNull("set to null", objArr[0]);
List rawList = list;
rawList.set(0, 42);
assertEquals("safelly changed", 42, objArr[0]);
}
@Test
public void charOp() {
charArr = new char[]{'A', 'h', 'o', 'j'};
assertEquals('j', (char) interop.arr(7).get(3));
interop.arr(7).set(3, 'y');
String s = new String(charArr);
assertEquals("Ahoy", s);
}
@Test
public void boolOp() {
boolArr = new boolean[]{true, false};
interop.arr(8).set(1, !(Boolean) interop.arr(8).get(1));
assertEquals(boolArr[0], boolArr[1]);
}
@Test
public void byteSum() {
byteArr = new byte[]{(byte) 1, (byte) 2, (byte) 3};
assertSum("Sum is OK", 6, interop.arr(1));
}
@Test
public void shortSum() {
shortArr = new short[]{(short) 1, (short) 2, (short) 3};
assertSum("Sum is OK", 6, interop.arr(2));
}
@Test
public void intSum() {
intArr = new int[]{1, 2, 3};
assertSum("Sum is OK", 6, interop.arr(3));
}
@Test
public void longSum() {
longArr = new long[]{1, 2, 3};
assertSum("Sum is OK", 6, interop.arr(4));
}
@Test
public void floatSum() {
floatArr = new float[]{1, 2, 3};
assertSum("Sum is OK", 6, interop.arr(5));
}
@Test
public void doubleSum() {
doubleArr = new double[]{1, 2, 3};
assertSum("Sum is OK", 6, interop.arr(6));
}
@Test
public void writeSomebyteSum() {
byteArr = new byte[]{(byte) 10, (byte) 2, (byte) 3};
interop.arr(1).set(0, (byte) 1);
assertSum("Sum is OK", 6, interop.arr(1));
}
@Test
public void writeSomeshortSum() {
shortArr = new short[]{(short) 10, (short) 2, (short) 3};
interop.arr(2).set(0, (short) 1);
assertSum("Sum is OK", 6, interop.arr(2));
}
@Test
public void writeSomeintSum() {
intArr = new int[]{10, 2, 3};
interop.arr(3).set(0, 1);
assertSum("Sum is OK", 6, interop.arr(3));
}
@Test
public void writeSomelongSum() {
longArr = new long[]{10, 2, 3};
interop.arr(4).set(0, (long) 1);
assertSum("Sum is OK", 6, interop.arr(4));
}
@Test
public void writeSomefloatSum() {
floatArr = new float[]{10, 2, 3};
interop.arr(5).set(0, (float) 1);
assertSum("Sum is OK", 6, interop.arr(5));
}
@Test
public void writeSomedoubleSum() {
doubleArr = new double[]{10, 2, 3};
interop.arr(6).set(0, (double) 1);
assertSum("Sum is OK", 6, interop.arr(6));
}
private static void assertSum(String msg, double expected, List<? extends Object> numbers) {
double v = 0.0;
for (Object o : numbers) {
if (o instanceof Number) {
Number n = (Number) o;
v += n.doubleValue();
}
}
assertEquals(msg, expected, v, 0.05);
}
private static class SimulatedDeath extends ThreadDeath {
private static final long serialVersionUID = 1L;
@Override
public String getMessage() {
return "simulation";
}
}
}
```
|
Zaisenhausen is a municipality in the district of Karlsruhe in Baden-Württemberg in Germany.
Notable people
Erwin Eckert, clergyman and politician
References
Karlsruhe (district)
|
__NoTOC__
The Dong Feng-26 or DF-26 (; NATO reporting name: CH-SS-18) is an intermediate-range ballistic missile deployed by the People's Liberation Army Rocket Force and produced by the China Aerospace Science and Technology Corporation (CASC).
Chinese sources claim the DF-26 has a range of over and may conduct precision nuclear or conventional strikes against ground and naval targets. It is China's first conventionally-armed ballistic missile claimed to be capable of reaching Guam and the American military installations located there; this has led to the missile being referred to as the "Guam Express" or "Guam Killer".
The possibility that a DF-26 unit could have nuclear warheads makes it likely an adversary would target these missiles in a first strike.
The missile was officially revealed at the Chinese 2015 parade commemorating the end of the Second World War. In April 2018, it was officially confirmed that the DF-26 was in service with the People's Liberation Army Rocket Force (PLARF). The United States believes the missile was first fielded in 2016, with 16 operational launchers in 2017.
Tests and deployments
On 26 August 2020, along with a DF-21D, a DF-26B was launched into an area of the South China Sea between Hainan and the Paracel Islands, one day after China said that an American U-2 spy plane entered a no-fly zone without its permission during a Chinese live-fire naval drill in the Bohai Sea off its north coast (the US confirmed a U-2 sortie but denied it was improper.) and came as Washington blacklisted 24 Chinese companies and targeted individuals it said were part of construction and military activities in the South China Sea. US officials subsequently claimed that the People's Liberation Army Rocket Force (PLARF) had fired four medium-range ballistic missiles in total. The missile tests drew criticism from Japan, the Pentagon and Taiwan and led to volatility in Asian markets. As of 2019, the DF-26 has not been tested against targets at sea.
Variants
DF-26
DF-26B
See also
Agni-IV
DF-21
DF-27
RSD-10 Pioneer
Notes and references
Citations
General bibliography
Ballistic missiles of the People's Republic of China
Intermediate-range ballistic missiles
Nuclear missiles of the People's Republic of China
Synthetic aperture radar
Military equipment introduced in the 2010s
|
```yaml
#
#
#
# path_to_url
#
# Unless required by applicable law or agreed to in writing, software
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#
version: '3'
services:
bookkeeper:
image: pravega/bookkeeper
environment:
ZK_URL: ${ZK_URL:-zookeeper:2181}
deploy:
replicas: 3
controller:
image: pravega/pravega
command: controller
ports:
- "9090:9090"
- "10080:10080"
environment:
WAIT_FOR: ${ZK_URL:-zookeeper:2181}
JAVA_OPTS: |
-Dcontroller.zk.connect.uri=${ZK_URL:-zookeeper:2181}
-Xmx512m
-XX:OnError="kill -9 p%"
-XX:+ExitOnOutOfMemoryError
-XX:+CrashOnOutOfMemoryError
-XX:+HeapDumpOnOutOfMemoryError
segmentstore:
image: pravega/pravega
command: segmentstore
ports:
- "12345:12345"
environment:
WAIT_FOR: bookkeeper:3181,${HDFS_URL:-hdfs:8020}
HDFS_URL: hdfs://${HDFS_URL:-hdfs:8020}
TIER2_STORAGE: HDFS
HDFS_REPLICATION: 1
ZK_URL: ${ZK_URL:-zookeeper:2181}
CONTROLLER_URL: tcp://controller:9090
JAVA_OPTS: |
-Dpravegaservice.service.published.host.nameOrIp=${PUBLISHED_ADDRESS}
-Dpravegaservice.service.listener.host.nameOrIp=${LISTENING_ADDRESS}
-Dbookkeeper.ensemble.size=2
-Dbookkeeper.ack.quorum.size=2
-Dbookkeeper.write.quorum.size=2
-Xmx900m
-XX:OnError="kill -9 p%"
-XX:+ExitOnOutOfMemoryError
-XX:+CrashOnOutOfMemoryError
-XX:+HeapDumpOnOutOfMemoryError
```
|
```css
@font-face {
font-family: 'Lato';
src: url("../fonts/lato/lato-black.eot");
src: url("../fonts/lato/lato-black.eot?#iefix") format("embedded-opentype"), url("../fonts/lato/lato-black.woff") format("woff"), url("../fonts/lato/lato-black.ttf") format("truetype"), url("../fonts/lato/lato-black.svg#latoblack") format("svg");
font-weight: 900;
font-style: normal;
}
@font-face {
font-family: 'Lato';
src: url("../fonts/lato/lato-bold.eot");
src: url("../fonts/lato/lato-bold.eot?#iefix") format("embedded-opentype"), url("../fonts/lato/lato-bold.woff") format("woff"), url("../fonts/lato/lato-bold.ttf") format("truetype"), url("../fonts/lato/lato-bold.svg#latobold") format("svg");
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'Lato';
src: url("../fonts/lato/lato-bolditalic.eot");
src: url("../fonts/lato/lato-bolditalic.eot?#iefix") format("embedded-opentype"), url("../fonts/lato/lato-bolditalic.woff") format("woff"), url("../fonts/lato/lato-bolditalic.ttf") format("truetype"), url("../fonts/lato/lato-bolditalic.svg#latobold-italic") format("svg");
font-weight: bold;
font-style: italic;
}
@font-face {
font-family: 'Lato';
src: url("../fonts/lato/lato-italic.eot");
src: url("../fonts/lato/lato-italic.eot?#iefix") format("embedded-opentype"), url("../fonts/lato/lato-italic.woff") format("woff"), url("../fonts/lato/lato-italic.ttf") format("truetype"), url("../fonts/lato/lato-italic.svg#latoitalic") format("svg");
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: 'Lato';
src: url("../fonts/lato/lato-light.eot");
src: url("../fonts/lato/lato-light.eot?#iefix") format("embedded-opentype"), url("../fonts/lato/lato-light.woff") format("woff"), url("../fonts/lato/lato-light.ttf") format("truetype"), url("../fonts/lato/lato-light.svg#latolight") format("svg");
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: 'Lato';
src: url("../fonts/lato/lato-regular.eot");
src: url("../fonts/lato/lato-regular.eot?#iefix") format("embedded-opentype"), url("../fonts/lato/lato-regular.woff") format("woff"), url("../fonts/lato/lato-regular.ttf") format("truetype"), url("../fonts/lato/lato-regular.svg#latoregular") format("svg");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Flat-UI-Pro-Icons';
src: url("../fonts/glyphicons/flat-ui-pro-icons-regular.eot");
src: url("../fonts/glyphicons/flat-ui-pro-icons-regular.eot?#iefix") format("embedded-opentype"), url("../fonts/glyphicons/flat-ui-pro-icons-regular.woff") format("woff"), url("../fonts/glyphicons/flat-ui-pro-icons-regular.ttf") format("truetype"), url("../fonts/glyphicons/flat-ui-pro-icons-regular.svg#flat-ui-pro-icons-regular") format("svg");
}
[class^="fui-"],
[class*="fui-"] {
font-family: 'Flat-UI-Pro-Icons';
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.fui-triangle-up:before {
content: "\e600";
}
.fui-triangle-down:before {
content: "\e601";
}
.fui-triangle-up-small:before {
content: "\e602";
}
.fui-triangle-down-small:before {
content: "\e603";
}
.fui-triangle-left-large:before {
content: "\e604";
}
.fui-triangle-right-large:before {
content: "\e605";
}
.fui-arrow-left:before {
content: "\e606";
}
.fui-arrow-right:before {
content: "\e607";
}
.fui-plus:before {
content: "\e608";
}
.fui-cross:before {
content: "\e609";
}
.fui-check:before {
content: "\e60a";
}
.fui-radio-unchecked:before {
content: "\e60b";
}
.fui-radio-checked:before {
content: "\e60c";
}
.fui-checkbox-unchecked:before {
content: "\e60d";
}
.fui-checkbox-checked:before {
content: "\e60e";
}
.fui-info-circle:before {
content: "\e60f";
}
.fui-alert-circle:before {
content: "\e610";
}
.fui-question-circle:before {
content: "\e611";
}
.fui-check-circle:before {
content: "\e612";
}
.fui-cross-circle:before {
content: "\e613";
}
.fui-plus-circle:before {
content: "\e614";
}
.fui-pause:before {
content: "\e615";
}
.fui-play:before {
content: "\e616";
}
.fui-volume:before {
content: "\e617";
}
.fui-mute:before {
content: "\e618";
}
.fui-resize:before {
content: "\e619";
}
.fui-list:before {
content: "\e61a";
}
.fui-list-thumbnailed:before {
content: "\e61b";
}
.fui-list-small-thumbnails:before {
content: "\e61c";
}
.fui-list-large-thumbnails:before {
content: "\e61d";
}
.fui-list-numbered:before {
content: "\e61e";
}
.fui-list-columned:before {
content: "\e61f";
}
.fui-list-bulleted:before {
content: "\e620";
}
.fui-window:before {
content: "\e621";
}
.fui-windows:before {
content: "\e622";
}
.fui-loop:before {
content: "\e623";
}
.fui-cmd:before {
content: "\e624";
}
.fui-mic:before {
content: "\e625";
}
.fui-heart:before {
content: "\e626";
}
.fui-location:before {
content: "\e627";
}
.fui-new:before {
content: "\e628";
}
.fui-video:before {
content: "\e629";
}
.fui-photo:before {
content: "\e62a";
}
.fui-time:before {
content: "\e62b";
}
.fui-eye:before {
content: "\e62c";
}
.fui-chat:before {
content: "\e62d";
}
.fui-home:before {
content: "\e62e";
}
.fui-upload:before {
content: "\e62f";
}
.fui-search:before {
content: "\e630";
}
.fui-user:before {
content: "\e631";
}
.fui-mail:before {
content: "\e632";
}
.fui-lock:before {
content: "\e633";
}
.fui-power:before {
content: "\e634";
}
.fui-calendar:before {
content: "\e635";
}
.fui-gear:before {
content: "\e636";
}
.fui-bookmark:before {
content: "\e637";
}
.fui-exit:before {
content: "\e638";
}
.fui-trash:before {
content: "\e639";
}
.fui-folder:before {
content: "\e63a";
}
.fui-bubble:before {
content: "\e63b";
}
.fui-export:before {
content: "\e63c";
}
.fui-calendar-solid:before {
content: "\e63d";
}
.fui-star:before {
content: "\e63e";
}
.fui-star-2:before {
content: "\e63f";
}
.fui-credit-card:before {
content: "\e640";
}
.fui-clip:before {
content: "\e641";
}
.fui-link:before {
content: "\e642";
}
.fui-tag:before {
content: "\e643";
}
.fui-document:before {
content: "\e644";
}
.fui-image:before {
content: "\e645";
}
.fui-facebook:before {
content: "\e646";
}
.fui-youtube:before {
content: "\e647";
}
.fui-vimeo:before {
content: "\e648";
}
.fui-twitter:before {
content: "\e649";
}
.fui-spotify:before {
content: "\e64a";
}
.fui-skype:before {
content: "\e64b";
}
.fui-pinterest:before {
content: "\e64c";
}
.fui-path:before {
content: "\e64d";
}
.fui-linkedin:before {
content: "\e64e";
}
.fui-google-plus:before {
content: "\e64f";
}
.fui-dribbble:before {
content: "\e650";
}
.fui-behance:before {
content: "\e651";
}
.fui-stumbleupon:before {
content: "\e652";
}
.fui-yelp:before {
content: "\e653";
}
.fui-wordpress:before {
content: "\e654";
}
.fui-windows-8:before {
content: "\e655";
}
.fui-vine:before {
content: "\e656";
}
.fui-tumblr:before {
content: "\e657";
}
.fui-paypal:before {
content: "\e658";
}
.fui-lastfm:before {
content: "\e659";
}
.fui-instagram:before {
content: "\e65a";
}
.fui-html5:before {
content: "\e65b";
}
.fui-github:before {
content: "\e65c";
}
.fui-foursquare:before {
content: "\e65d";
}
.fui-dropbox:before {
content: "\e65e";
}
.fui-android:before {
content: "\e65f";
}
.fui-apple:before {
content: "\e660";
}
* {
outline: none !important;
}
body {
font-family: "Lato", Helvetica, Arial, sans-serif;
font-size: 18px;
line-height: 1.72222;
color: #34495e;
background-color: #fff;
}
a {
color: #16a085;
text-decoration: none;
transition: .25s;
}
a:hover, a:focus {
color: #1abc9c;
text-decoration: none;
}
a:focus {
outline: none;
}
img {
max-width: 100%;
}
.img-rounded {
border-radius: 6px;
}
.img-thumbnail {
padding: 4px;
line-height: 1.72222;
background-color: #fff;
border: 2px solid #bdc3c7;
border-radius: 6px;
transition: all .25s ease-in-out;
display: inline-block;
max-width: 100%;
height: auto;
}
.img-comment {
font-size: 15px;
line-height: 1.2;
font-style: italic;
margin: 24px 0;
}
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
font-family: inherit;
font-weight: 700;
line-height: 1.1;
color: inherit;
}
h1 small, h2 small, h3 small, h4 small, h5 small, h6 small,
.h1 small, .h2 small, .h3 small, .h4 small, .h5 small, .h6 small {
color: #e7e9ec;
}
h1,
h2,
h3 {
margin-top: 30px;
margin-bottom: 15px;
}
h4,
h5,
h6 {
margin-top: 15px;
margin-bottom: 15px;
}
h6 {
font-weight: normal;
}
h1, .h1 {
font-size: 61px;
}
h2, .h2 {
font-size: 53px;
}
h3, .h3 {
font-size: 40px;
}
h4, .h4 {
font-size: 29px;
}
h5, .h5 {
font-size: 28px;
}
h6, .h6 {
font-size: 24px;
}
p {
font-size: 18px;
line-height: 1.72222;
margin: 0 0 15px;
}
.lead {
margin-bottom: 30px;
font-size: 28px;
line-height: 1.46428571;
font-weight: 300;
}
@media (min-width: 768px) {
.lead {
font-size: 30.006px;
}
}
small,
.small {
font-size: 83%;
line-height: 2.067;
}
.text-muted {
color: #bdc3c7;
}
.text-inverse {
color: white;
}
.text-primary {
color: #1abc9c !important;
}
a.text-primary:hover {
color: #148f77;
}
.text-warning {
color: #f1c40f !important;
}
a.text-warning:hover {
color: #c29d0b;
}
.text-danger {
color: #e74c3c !important;
}
a.text-danger:hover {
color: #d62c1a;
}
.text-success {
color: #2ecc71 !important;
}
a.text-success:hover {
color: #25a25a;
}
.text-info {
color: #3498db !important;
}
a.text-info:hover {
color: #217dbb;
}
.bg-primary {
color: white;
background-color: #34495e;
}
a.bg-primary:hover {
background-color: #22303d;
}
.bg-success {
background-color: #dff0d8;
}
a.bg-success:hover {
background-color: #c1e2b3;
}
.bg-info {
background-color: #d9edf7;
}
a.bg-info:hover {
background-color: #afd9ee;
}
.bg-warning {
background-color: #fcf8e3;
}
a.bg-warning:hover {
background-color: #f7ecb5;
}
.bg-danger {
background-color: #f2dede;
}
a.bg-danger:hover {
background-color: #e4b9b9;
}
.page-header {
padding-bottom: 14px;
margin: 60px 0 30px;
border-bottom: 2px solid #e7e9ec;
}
ul,
ol {
margin-bottom: 15px;
}
dl {
margin-bottom: 30px;
}
dt,
dd {
line-height: 1.72222;
}
@media (min-width: 768px) {
.dl-horizontal dt {
width: 160px;
}
.dl-horizontal dd {
margin-left: 180px;
}
}
abbr[title],
abbr[data-original-title] {
border-bottom: 1px dotted #bdc3c7;
}
blockquote {
border-left: 3px solid #e7e9ec;
padding: 0 0 0 16px;
margin: 0 0 30px;
}
blockquote p {
font-size: 20px;
line-height: 1.55;
font-weight: normal;
margin-bottom: .4em;
}
blockquote small,
blockquote .small {
font-size: 18px;
line-height: 1.72222;
font-style: italic;
color: inherit;
}
blockquote small:before,
blockquote .small:before {
content: "";
}
blockquote.pull-right {
padding-right: 16px;
padding-left: 0;
border-right: 3px solid #e7e9ec;
border-left: 0;
}
blockquote.pull-right small:after {
content: "";
}
address {
margin-bottom: 30px;
line-height: 1.72222;
}
sub,
sup {
font-size: 70%;
}
code,
kbd,
pre,
samp {
font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
}
code {
padding: 2px 6px;
font-size: 85%;
color: #c7254e;
background-color: #f9f2f4;
border-radius: 4px;
}
kbd {
padding: 2px 6px;
font-size: 85%;
color: white;
background-color: #34495e;
border-radius: 4px;
box-shadow: none;
}
pre {
padding: 8px;
margin: 0 0 15px;
font-size: 13px;
line-height: 1.72222;
color: inherit;
background-color: white;
border: 2px solid #e7e9ec;
border-radius: 6px;
white-space: pre;
}
.pre-scrollable {
max-height: 340px;
}
.thumbnail {
display: block;
padding: 4px;
margin-bottom: 5px;
line-height: 1.72222;
background-color: #fff;
border: 2px solid #bdc3c7;
border-radius: 6px;
transition: border .25s ease-in-out;
}
.thumbnail > img,
.thumbnail a > img {
display: block;
max-width: 100%;
height: auto;
margin-left: auto;
margin-right: auto;
}
.thumbnail a:hover, .thumbnail a:focus, .thumbnail a.active {
border-color: #16a085;
}
.thumbnail .caption {
padding: 9px;
color: #34495e;
}
.btn {
border: none;
font-size: 15px;
font-weight: normal;
line-height: 1.4;
border-radius: 4px;
padding: 10px 15px;
-webkit-font-smoothing: subpixel-antialiased;
transition: border .25s linear, color .25s linear, background-color .25s linear;
}
.btn:hover, .btn:focus {
outline: none;
color: white;
}
.btn:active, .btn.active {
outline: none;
box-shadow: none;
}
.btn:focus:active {
outline: none;
}
.btn.disabled, .btn[disabled],
fieldset[disabled] .btn {
background-color: #bdc3c7;
color: rgba(255, 255, 255, 0.75);
opacity: 0.7;
filter: "alpha(opacity=70)";
cursor: not-allowed;
}
.btn [class^="fui-"] {
margin: 0 1px;
position: relative;
line-height: 1;
top: 1px;
}
.btn-xs.btn [class^="fui-"], .btn-group-xs > .btn [class^="fui-"] {
font-size: 11px;
top: 0;
}
.btn-hg.btn [class^="fui-"], .btn-group-hg > .btn [class^="fui-"] {
top: 2px;
}
.btn-default {
color: white;
background-color: #bdc3c7;
}
.show > .dropdown-toggle.btn-default, .btn-default:hover, .btn-default.hover, .btn-default:focus, .btn-default:active, .btn-default.active {
color: white;
background-color: #cacfd2;
border-color: #cacfd2;
}
.show > .dropdown-toggle.btn-default, .btn-default:not(:disabled):not(.disabled):active, .btn-default:not(:disabled):not(.disabled).active {
background: #a1a6a9;
border-color: #a1a6a9;
}
.btn-default.disabled, .btn-default.disabled:hover, .btn-default.disabled.hover, .btn-default.disabled:focus, .btn-default.disabled:active, .btn-default.disabled.active, .btn-default[disabled], .btn-default[disabled]:hover, .btn-default[disabled].hover, .btn-default[disabled]:focus, .btn-default[disabled]:active, .btn-default[disabled].active,
fieldset[disabled] .btn-default,
fieldset[disabled] .btn-default:hover,
fieldset[disabled] .btn-default.hover,
fieldset[disabled] .btn-default:focus,
fieldset[disabled] .btn-default:active,
fieldset[disabled] .btn-default.active {
background-color: #bdc3c7;
border-color: #bdc3c7;
}
.btn-default .badge {
color: #bdc3c7;
background-color: white;
}
.btn-primary {
color: white;
background-color: #1abc9c;
}
.show > .dropdown-toggle.btn-primary, .btn-primary:hover, .btn-primary.hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active {
color: white;
background-color: #48c9b0;
border-color: #48c9b0;
}
.show > .dropdown-toggle.btn-primary, .btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active {
background: #16a085;
border-color: #16a085;
}
.btn-primary.disabled, .btn-primary.disabled:hover, .btn-primary.disabled.hover, .btn-primary.disabled:focus, .btn-primary.disabled:active, .btn-primary.disabled.active, .btn-primary[disabled], .btn-primary[disabled]:hover, .btn-primary[disabled].hover, .btn-primary[disabled]:focus, .btn-primary[disabled]:active, .btn-primary[disabled].active,
fieldset[disabled] .btn-primary,
fieldset[disabled] .btn-primary:hover,
fieldset[disabled] .btn-primary.hover,
fieldset[disabled] .btn-primary:focus,
fieldset[disabled] .btn-primary:active,
fieldset[disabled] .btn-primary.active {
background-color: #bdc3c7;
border-color: #1abc9c;
}
.btn-primary .badge {
color: #1abc9c;
background-color: white;
}
.btn-info {
color: white;
background-color: #3498db;
}
.show > .dropdown-toggle.btn-info, .btn-info:hover, .btn-info.hover, .btn-info:focus, .btn-info:active, .btn-info.active {
color: white;
background-color: #5dade2;
border-color: #5dade2;
}
.show > .dropdown-toggle.btn-info, .btn-info:not(:disabled):not(.disabled):active, .btn-info:not(:disabled):not(.disabled).active {
background: #2c81ba;
border-color: #2c81ba;
}
.btn-info.disabled, .btn-info.disabled:hover, .btn-info.disabled.hover, .btn-info.disabled:focus, .btn-info.disabled:active, .btn-info.disabled.active, .btn-info[disabled], .btn-info[disabled]:hover, .btn-info[disabled].hover, .btn-info[disabled]:focus, .btn-info[disabled]:active, .btn-info[disabled].active,
fieldset[disabled] .btn-info,
fieldset[disabled] .btn-info:hover,
fieldset[disabled] .btn-info.hover,
fieldset[disabled] .btn-info:focus,
fieldset[disabled] .btn-info:active,
fieldset[disabled] .btn-info.active {
background-color: #bdc3c7;
border-color: #3498db;
}
.btn-info .badge {
color: #3498db;
background-color: white;
}
.btn-danger {
color: white;
background-color: #e74c3c;
}
.show > .dropdown-toggle.btn-danger, .btn-danger:hover, .btn-danger.hover, .btn-danger:focus, .btn-danger:active, .btn-danger.active {
color: white;
background-color: #ec7063;
border-color: #ec7063;
}
.show > .dropdown-toggle.btn-danger, .btn-danger:not(:disabled):not(.disabled):active, .btn-danger:not(:disabled):not(.disabled).active {
background: #c44133;
border-color: #c44133;
}
.btn-danger.disabled, .btn-danger.disabled:hover, .btn-danger.disabled.hover, .btn-danger.disabled:focus, .btn-danger.disabled:active, .btn-danger.disabled.active, .btn-danger[disabled], .btn-danger[disabled]:hover, .btn-danger[disabled].hover, .btn-danger[disabled]:focus, .btn-danger[disabled]:active, .btn-danger[disabled].active,
fieldset[disabled] .btn-danger,
fieldset[disabled] .btn-danger:hover,
fieldset[disabled] .btn-danger.hover,
fieldset[disabled] .btn-danger:focus,
fieldset[disabled] .btn-danger:active,
fieldset[disabled] .btn-danger.active {
background-color: #bdc3c7;
border-color: #e74c3c;
}
.btn-danger .badge {
color: #e74c3c;
background-color: white;
}
.btn-success {
color: white;
background-color: #2ecc71;
}
.show > .dropdown-toggle.btn-success, .btn-success:hover, .btn-success.hover, .btn-success:focus, .btn-success:active, .btn-success.active {
color: white;
background-color: #58d68d;
border-color: #58d68d;
}
.show > .dropdown-toggle.btn-success, .btn-success:not(:disabled):not(.disabled):active, .btn-success:not(:disabled):not(.disabled).active {
background: #27ad60;
border-color: #27ad60;
}
.btn-success.disabled, .btn-success.disabled:hover, .btn-success.disabled.hover, .btn-success.disabled:focus, .btn-success.disabled:active, .btn-success.disabled.active, .btn-success[disabled], .btn-success[disabled]:hover, .btn-success[disabled].hover, .btn-success[disabled]:focus, .btn-success[disabled]:active, .btn-success[disabled].active,
fieldset[disabled] .btn-success,
fieldset[disabled] .btn-success:hover,
fieldset[disabled] .btn-success.hover,
fieldset[disabled] .btn-success:focus,
fieldset[disabled] .btn-success:active,
fieldset[disabled] .btn-success.active {
background-color: #bdc3c7;
border-color: #2ecc71;
}
.btn-success .badge {
color: #2ecc71;
background-color: white;
}
.btn-warning {
color: white;
background-color: #f1c40f;
}
.show > .dropdown-toggle.btn-warning, .btn-warning:hover, .btn-warning.hover, .btn-warning:focus, .btn-warning:active, .btn-warning.active {
color: white;
background-color: #f4d313;
border-color: #f4d313;
}
.show > .dropdown-toggle.btn-warning, .btn-warning:not(:disabled):not(.disabled):active, .btn-warning:not(:disabled):not(.disabled).active {
background: #cda70d;
border-color: #cda70d;
}
.btn-warning.disabled, .btn-warning.disabled:hover, .btn-warning.disabled.hover, .btn-warning.disabled:focus, .btn-warning.disabled:active, .btn-warning.disabled.active, .btn-warning[disabled], .btn-warning[disabled]:hover, .btn-warning[disabled].hover, .btn-warning[disabled]:focus, .btn-warning[disabled]:active, .btn-warning[disabled].active,
fieldset[disabled] .btn-warning,
fieldset[disabled] .btn-warning:hover,
fieldset[disabled] .btn-warning.hover,
fieldset[disabled] .btn-warning:focus,
fieldset[disabled] .btn-warning:active,
fieldset[disabled] .btn-warning.active {
background-color: #bdc3c7;
border-color: #f1c40f;
}
.btn-warning .badge {
color: #f1c40f;
background-color: white;
}
.btn-inverse {
color: white;
background-color: #34495e;
}
.show > .dropdown-toggle.btn-inverse, .btn-inverse:hover, .btn-inverse.hover, .btn-inverse:focus, .btn-inverse:active, .btn-inverse.active {
color: white;
background-color: #415b76;
border-color: #415b76;
}
.show > .dropdown-toggle.btn-inverse, .btn-inverse:not(:disabled):not(.disabled):active, .btn-inverse:not(:disabled):not(.disabled).active {
background: #2c3e50;
border-color: #2c3e50;
}
.btn-inverse.disabled, .btn-inverse.disabled:hover, .btn-inverse.disabled.hover, .btn-inverse.disabled:focus, .btn-inverse.disabled:active, .btn-inverse.disabled.active, .btn-inverse[disabled], .btn-inverse[disabled]:hover, .btn-inverse[disabled].hover, .btn-inverse[disabled]:focus, .btn-inverse[disabled]:active, .btn-inverse[disabled].active,
fieldset[disabled] .btn-inverse,
fieldset[disabled] .btn-inverse:hover,
fieldset[disabled] .btn-inverse.hover,
fieldset[disabled] .btn-inverse:focus,
fieldset[disabled] .btn-inverse:active,
fieldset[disabled] .btn-inverse.active {
background-color: #bdc3c7;
border-color: #34495e;
}
.btn-inverse .badge {
color: #34495e;
background-color: white;
}
.btn-embossed {
box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.15);
}
.btn-embossed.active, .btn-embossed:active {
box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.15);
}
.btn-wide {
min-width: 140px;
padding-left: 30px;
padding-right: 30px;
}
.btn-link {
color: #16a085;
}
.btn-link:hover, .btn-link:focus {
color: #1abc9c;
text-decoration: underline;
background-color: transparent;
}
.btn-link[disabled]:hover, .btn-link[disabled]:focus,
fieldset[disabled] .btn-link:hover,
fieldset[disabled] .btn-link:focus {
color: #bdc3c7;
text-decoration: none;
}
.btn-hg, .btn-group-hg > .btn {
padding: 13px 20px;
font-size: 22px;
line-height: 1.227;
border-radius: 6px;
}
.btn-lg, .btn-group-lg > .btn {
padding: 10px 19px;
font-size: 17px;
line-height: 1.471;
border-radius: 6px;
}
.btn-sm, .btn-group-sm > .btn {
padding: 9px 13px;
font-size: 13px;
line-height: 1.385;
border-radius: 4px;
}
.btn-xs, .btn-group-xs > .btn {
padding: 6px 9px;
font-size: 12px;
line-height: 1.083;
border-radius: 3px;
}
@media (max-width: 767.98px) {
.btn-reduce-on-xs {
padding: 9px 13px;
font-size: 13px;
line-height: 1.385;
border-radius: 4px;
}
}
.btn-tip {
font-weight: 300;
padding-left: 10px;
font-size: 92%;
}
.btn-block {
white-space: normal;
}
[class*="btn-social-"] {
padding: 10px 15px;
font-size: 13px;
line-height: 1.077;
border-radius: 4px;
}
.btn-social-pinterest {
color: white;
background-color: #cb2028;
}
.btn-social-pinterest:hover, .btn-social-pinterest:focus {
background-color: #d54d53;
}
.btn-social-pinterest:active, .btn-social-pinterest.active {
background-color: #ad1b22;
}
.btn-social-linkedin {
color: white;
background-color: #0072b5;
}
.btn-social-linkedin:hover, .btn-social-linkedin:focus {
background-color: #338ec4;
}
.btn-social-linkedin:active, .btn-social-linkedin.active {
background-color: #00619a;
}
.btn-social-stumbleupon {
color: white;
background-color: #ed4a13;
}
.btn-social-stumbleupon:hover, .btn-social-stumbleupon:focus {
background-color: #f16e42;
}
.btn-social-stumbleupon:active, .btn-social-stumbleupon.active {
background-color: #c93f10;
}
.btn-social-googleplus {
color: white;
background-color: #2d2d2d;
}
.btn-social-googleplus:hover, .btn-social-googleplus:focus {
background-color: #575757;
}
.btn-social-googleplus:active, .btn-social-googleplus.active {
background-color: #262626;
}
.btn-social-facebook {
color: white;
background-color: #2f4b93;
}
.btn-social-facebook:hover, .btn-social-facebook:focus {
background-color: #596fa9;
}
.btn-social-facebook:active, .btn-social-facebook.active {
background-color: #28407d;
}
.btn-social-twitter {
color: white;
background-color: #00bdef;
}
.btn-social-twitter:hover, .btn-social-twitter:focus {
background-color: #33caf2;
}
.btn-social-twitter:active, .btn-social-twitter.active {
background-color: #00a1cb;
}
.btn-group > .btn + .btn {
margin-left: 0;
}
.btn-group > .btn + .dropdown-toggle {
border-left: 2px solid rgba(52, 73, 94, 0.15);
padding: 10px 12px;
}
.btn-group > .btn + .dropdown-toggle:after {
margin-left: 3px;
margin-right: 3px;
}
.btn-group > .btn.btn-gh + .dropdown-toggle .caret {
margin-left: 7px;
margin-right: 7px;
}
.btn-group-xs > .btn + .dropdown-toggle {
padding: 6px 9px;
}
.btn-group-sm > .btn + .dropdown-toggle {
padding: 9px 13px;
}
.btn-group-lg > .btn + .dropdown-toggle {
padding: 10px 19px;
}
.btn-group-hg > .btn + .dropdown-toggle {
padding: 13px 20px;
}
.btn-lg .caret, .btn-group-lg > .btn .caret {
border-width: 8px 6px 0;
border-bottom-width: 0;
}
.dropup .btn-lg .caret, .dropup .btn-group-lg > .btn .caret {
border-width: 0 6px 8px;
}
.dropup .btn-xs .caret, .dropup .btn-group-xs > .btn .caret {
border-width: 0 4px 6px;
}
.btn-group > .btn,
.btn-group > .dropdown-menu,
.btn-group > .select2-drop,
.btn-group > .popover {
font-weight: 400;
}
.btn-group:focus .dropdown-toggle {
outline: none;
transition: .25s;
}
.btn-group.show .dropdown-toggle {
color: rgba(255, 255, 255, 0.75);
box-shadow: none;
}
.btn-toolbar .btn.active {
color: white;
}
.btn-toolbar .btn > [class^="fui-"] {
font-size: 16px;
margin: 0 1px;
}
legend {
display: block;
width: 100%;
padding: 0;
margin-bottom: 15px;
font-size: 24px;
line-height: inherit;
color: inherit;
border-bottom: none;
}
textarea {
font-size: 20px;
line-height: 24px;
padding: 5px 11px;
}
textarea.form-control {
height: auto;
}
input[type="search"] {
-webkit-appearance: none !important;
}
label {
font-weight: normal;
font-size: 15px;
line-height: 2.3;
}
.form-control::-moz-placeholder, .select2-search input[type="text"]::-moz-placeholder {
color: #b2bcc5;
opacity: 1;
}
.form-control:-ms-input-placeholder, .select2-search input[type="text"]:-ms-input-placeholder {
color: #b2bcc5;
}
.form-control::-webkit-input-placeholder, .select2-search input[type="text"]::-webkit-input-placeholder {
color: #b2bcc5;
}
.form-control, .select2-search input[type="text"] {
border: 2px solid #bdc3c7;
color: #34495e;
font-family: "Lato", Helvetica, Arial, sans-serif;
font-size: 15px;
line-height: 1.467;
padding: 8px 12px;
height: 42px;
border-radius: 6px;
box-shadow: none;
transition: border .25s linear, color .25s linear, background-color .25s linear;
}
.form-group.focus .form-control, .form-group.focus .select2-search input[type="text"], .select2-search .form-group.focus input[type="text"], .form-control:focus, .select2-search input[type="text"]:focus {
border-color: #1abc9c;
outline: 0;
box-shadow: none;
}
.form-control[disabled], .select2-search input[disabled][type="text"], .form-control[readonly], .select2-search input[readonly][type="text"],
fieldset[disabled] .form-control,
fieldset[disabled] .select2-search input[type="text"], .select2-search
fieldset[disabled] input[type="text"] {
background-color: #f4f6f6;
border-color: #d5dbdb;
color: #d5dbdb;
cursor: default;
opacity: 0.7;
filter: "alpha(opacity=70)";
}
.form-control.flat, .select2-search input.flat[type="text"] {
border-color: transparent;
}
.form-control.flat:hover, .select2-search input.flat[type="text"]:hover {
border-color: #bdc3c7;
}
.form-control.flat:focus, .select2-search input.flat[type="text"]:focus {
border-color: #1abc9c;
}
.input-sm, .input-group-sm > .form-control,
.input-group-sm > .input-group-text,
.input-group-sm > .input-group-btn > .btn, .select2-search input[type="text"],
.form-group-sm .form-control,
.form-group-sm .select2-search input[type="text"], .select2-search
.form-group-sm input[type="text"] {
height: 35px;
padding: 6px 10px;
font-size: 13px;
line-height: 1.462;
border-radius: 6px;
}
.input-lg, .input-group-lg > .form-control, .select2-search .input-group-lg > input[type="text"],
.input-group-lg > .input-group-text,
.input-group-lg > .input-group-btn > .btn,
.form-group-lg .form-control,
.form-group-lg .select2-search input[type="text"], .select2-search
.form-group-lg input[type="text"] {
height: 45px;
padding: 10px 15px;
font-size: 17px;
line-height: 1.235;
border-radius: 6px;
}
.input-hg, .form-horizontal .form-group-hg .form-control, .form-horizontal .form-group-hg .select2-search input[type="text"], .select2-search .form-horizontal .form-group-hg input[type="text"], .input-group-hg > .form-control, .select2-search .input-group-hg > input[type="text"],
.input-group-hg > .input-group-text,
.input-group-hg > .input-group-btn > .btn,
.form-group-hg .form-control,
.form-group-hg .select2-search input[type="text"], .select2-search
.form-group-hg input[type="text"] {
height: 53px;
padding: 10px 16px;
font-size: 22px;
line-height: 1.318;
border-radius: 6px;
}
.form-control-feedback {
position: absolute;
top: 2px;
right: 2px;
margin-top: 1px;
line-height: 36px;
font-size: 17px;
color: #b2bcc5;
background-color: transparent;
padding: 0 12px 0 0;
border-radius: 6px;
pointer-events: none;
}
.input-hg + .form-control-feedback, .form-horizontal .form-group-hg .form-control + .form-control-feedback, .form-horizontal .form-group-hg .select2-search input[type="text"] + .form-control-feedback, .select2-search .form-horizontal .form-group-hg input[type="text"] + .form-control-feedback, .input-group-hg > .form-control + .form-control-feedback, .select2-search .input-group-hg > input[type="text"] + .form-control-feedback,
.input-group-hg > .input-group-text + .form-control-feedback,
.input-group-hg > .input-group-btn > .btn + .form-control-feedback,
.control-feedback-hg {
font-size: 20px;
line-height: 48px;
padding-right: 16px;
width: auto;
height: 48px;
}
.input-lg + .form-control-feedback, .input-group-lg > .form-control + .form-control-feedback, .select2-search .input-group-lg > input[type="text"] + .form-control-feedback,
.input-group-lg > .input-group-text + .form-control-feedback,
.input-group-lg > .input-group-btn > .btn + .form-control-feedback,
.control-feedback-lg {
font-size: 18px;
line-height: 40px;
width: auto;
height: 40px;
padding-right: 15px;
}
.input-sm + .form-control-feedback, .input-group-sm > .form-control + .form-control-feedback, .select2-search .input-group-sm > input[type="text"] + .form-control-feedback,
.input-group-sm > .input-group-text + .form-control-feedback,
.input-group-sm > .input-group-btn > .btn + .form-control-feedback, .select2-search input[type="text"] + .form-control-feedback,
.control-feedback-sm {
line-height: 29px;
height: 29px;
width: auto;
padding-right: 10px;
}
.has-success .help-block,
.has-success .control-label,
.has-success .radio,
.has-success .checkbox,
.has-success .radio-inline,
.has-success .checkbox-inline {
color: #2ecc71;
}
.has-success .form-control, .has-success .select2-search input[type="text"], .select2-search .has-success input[type="text"] {
color: #2ecc71;
border-color: #2ecc71;
box-shadow: none;
}
.has-success .form-control::-moz-placeholder, .has-success .select2-search input[type="text"]::-moz-placeholder, .select2-search .has-success input[type="text"]::-moz-placeholder {
color: #2ecc71;
opacity: 1;
}
.has-success .form-control:-ms-input-placeholder, .has-success .select2-search input[type="text"]:-ms-input-placeholder, .select2-search .has-success input[type="text"]:-ms-input-placeholder {
color: #2ecc71;
}
.has-success .form-control::-webkit-input-placeholder, .has-success .select2-search input[type="text"]::-webkit-input-placeholder, .select2-search .has-success input[type="text"]::-webkit-input-placeholder {
color: #2ecc71;
}
.has-success .form-control:focus, .has-success .select2-search input[type="text"]:focus, .select2-search .has-success input[type="text"]:focus {
border-color: #2ecc71;
box-shadow: none;
}
.has-success .input-group-text {
color: #2ecc71;
border-color: #2ecc71;
background-color: white;
}
.has-success .form-control-feedback {
color: #2ecc71;
}
.has-warning .help-block,
.has-warning .control-label,
.has-warning .radio,
.has-warning .checkbox,
.has-warning .radio-inline,
.has-warning .checkbox-inline {
color: #f1c40f;
}
.has-warning .form-control, .has-warning .select2-search input[type="text"], .select2-search .has-warning input[type="text"] {
color: #f1c40f;
border-color: #f1c40f;
box-shadow: none;
}
.has-warning .form-control::-moz-placeholder, .has-warning .select2-search input[type="text"]::-moz-placeholder, .select2-search .has-warning input[type="text"]::-moz-placeholder {
color: #f1c40f;
opacity: 1;
}
.has-warning .form-control:-ms-input-placeholder, .has-warning .select2-search input[type="text"]:-ms-input-placeholder, .select2-search .has-warning input[type="text"]:-ms-input-placeholder {
color: #f1c40f;
}
.has-warning .form-control::-webkit-input-placeholder, .has-warning .select2-search input[type="text"]::-webkit-input-placeholder, .select2-search .has-warning input[type="text"]::-webkit-input-placeholder {
color: #f1c40f;
}
.has-warning .form-control:focus, .has-warning .select2-search input[type="text"]:focus, .select2-search .has-warning input[type="text"]:focus {
border-color: #f1c40f;
box-shadow: none;
}
.has-warning .input-group-text {
color: #f1c40f;
border-color: #f1c40f;
background-color: white;
}
.has-warning .form-control-feedback {
color: #f1c40f;
}
.has-error .help-block,
.has-error .control-label,
.has-error .radio,
.has-error .checkbox,
.has-error .radio-inline,
.has-error .checkbox-inline {
color: #e74c3c;
}
.has-error .form-control, .has-error .select2-search input[type="text"], .select2-search .has-error input[type="text"] {
color: #e74c3c;
border-color: #e74c3c;
box-shadow: none;
}
.has-error .form-control::-moz-placeholder, .has-error .select2-search input[type="text"]::-moz-placeholder, .select2-search .has-error input[type="text"]::-moz-placeholder {
color: #e74c3c;
opacity: 1;
}
.has-error .form-control:-ms-input-placeholder, .has-error .select2-search input[type="text"]:-ms-input-placeholder, .select2-search .has-error input[type="text"]:-ms-input-placeholder {
color: #e74c3c;
}
.has-error .form-control::-webkit-input-placeholder, .has-error .select2-search input[type="text"]::-webkit-input-placeholder, .select2-search .has-error input[type="text"]::-webkit-input-placeholder {
color: #e74c3c;
}
.has-error .form-control:focus, .has-error .select2-search input[type="text"]:focus, .select2-search .has-error input[type="text"]:focus {
border-color: #e74c3c;
box-shadow: none;
}
.has-error .input-group-text {
color: #e74c3c;
border-color: #e74c3c;
background-color: white;
}
.has-error .form-control-feedback {
color: #e74c3c;
}
.form-control[disabled] + .form-control-feedback, .select2-search input[disabled][type="text"] + .form-control-feedback,
.form-control[readonly] + .form-control-feedback, .select2-search input[readonly][type="text"] + .form-control-feedback,
fieldset[disabled] .form-control + .form-control-feedback,
fieldset[disabled] .select2-search input[type="text"] + .form-control-feedback, .select2-search
fieldset[disabled] input[type="text"] + .form-control-feedback,
.form-control.disabled + .form-control-feedback, .select2-search input.disabled[type="text"] + .form-control-feedback {
cursor: not-allowed;
color: #d5dbdb;
background-color: transparent;
opacity: 0.7;
filter: "alpha(opacity=70)";
}
.help-block {
font-size: 14px;
margin-bottom: 5px;
color: #6b7a88;
}
.form-group {
position: relative;
margin-bottom: 20px;
}
.form-horizontal .radio,
.form-horizontal .checkbox,
.form-horizontal .radio-inline,
.form-horizontal .checkbox-inline {
margin-top: 0;
margin-bottom: 0;
padding-top: 0;
}
@media (min-width: 768px) {
.form-horizontal .control-label {
padding-top: 3px;
padding-bottom: 3px;
}
}
.form-horizontal .form-group {
margin-left: -15px;
margin-right: -15px;
}
.form-horizontal .form-group:before, .form-horizontal .form-group:after {
content: " ";
display: table;
}
.form-horizontal .form-group:after {
clear: both;
}
.form-horizontal .form-control-static {
padding-top: 6px;
padding-bottom: 6px;
}
@media (min-width: 768px) {
.form-horizontal .form-group-hg .control-label {
font-size: 22px;
padding-top: 2px;
padding-bottom: 0;
}
}
@media (min-width: 768px) {
.form-horizontal .form-group-lg .control-label {
font-size: 17px;
padding-top: 3px;
padding-bottom: 2px;
}
}
@media (min-width: 768px) {
.form-horizontal .form-group-sm .control-label {
font-size: 13px;
padding-top: 2px;
padding-bottom: 2px;
}
}
.input-group .form-control, .input-group .select2-search input[type="text"], .select2-search .input-group input[type="text"] {
position: static;
}
.input-group-text {
padding: 10px 12px;
font-size: 15px;
line-height: 1;
color: white;
text-align: center;
background-color: #bdc3c7;
border: 2px solid #bdc3c7;
border-radius: 6px;
transition: border .25s linear, color .25s linear, background-color .25s linear;
}
.input-group-text:first-child {
border-right: 0;
}
.input-group-hg .input-group-text,
.input-group-lg .input-group-text,
.input-group-sm .input-group-text {
line-height: 1;
}
.input-group-text .checkbox, .input-group-text .radio {
margin: 0;
padding-left: 19px;
}
.input-group .form-control:first-child, .input-group .select2-search input[type="text"]:first-child, .select2-search .input-group input[type="text"]:first-child,
.input-group-text:first-child,
.input-group-btn:first-child > .btn,
.input-group-btn:first-child > .dropdown-toggle,
.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) {
border-bottom-right-radius: 0;
border-top-right-radius: 0;
}
.input-group .form-control:last-child, .input-group .select2-search input[type="text"]:last-child, .select2-search .input-group input[type="text"]:last-child,
.input-group-text:last-child,
.input-group-btn:last-child > .btn,
.input-group-btn:last-child > .dropdown-toggle,
.input-group-btn:first-child > .btn:not(:first-child) {
border-bottom-left-radius: 0;
border-top-left-radius: 0;
}
.form-group.focus .input-group-text,
.input-group.focus .input-group-text {
background-color: #1abc9c;
border-color: #1abc9c;
}
.form-group.focus .input-group-btn > .btn-default + .btn-default,
.input-group.focus .input-group-btn > .btn-default + .btn-default {
border-left-color: #16a085;
}
.form-group.focus .input-group-btn .btn,
.input-group.focus .input-group-btn .btn {
border-color: #1abc9c;
background-color: white;
color: #1abc9c;
}
.form-group.focus .input-group-btn .btn-default,
.input-group.focus .input-group-btn .btn-default {
color: white;
background-color: #1abc9c;
}
.show > .dropdown-toggle.form-group.focus .input-group-btn .btn-default, .input-group.focus .input-group-btn .btn-default, .form-group.focus .input-group-btn .btn-default:hover, .form-group.focus .input-group-btn .btn-default.hover, .form-group.focus .input-group-btn .btn-default:focus, .form-group.focus .input-group-btn .btn-default:active, .form-group.focus .input-group-btn .btn-default.active,
.input-group.focus .input-group-btn .btn-default:hover,
.input-group.focus .input-group-btn .btn-default.hover,
.input-group.focus .input-group-btn .btn-default:focus,
.input-group.focus .input-group-btn .btn-default:active,
.input-group.focus .input-group-btn .btn-default.active {
color: white;
background-color: #48c9b0;
border-color: #48c9b0;
}
.show > .dropdown-toggle.form-group.focus .input-group-btn .btn-default, .input-group.focus .input-group-btn .btn-default, .form-group.focus .input-group-btn .btn-default:not(:disabled):not(.disabled):active, .form-group.focus .input-group-btn .btn-default:not(:disabled):not(.disabled).active,
.input-group.focus .input-group-btn .btn-default:not(:disabled):not(.disabled):active,
.input-group.focus .input-group-btn .btn-default:not(:disabled):not(.disabled).active {
background: #16a085;
border-color: #16a085;
}
.form-group.focus .input-group-btn .btn-default.disabled, .form-group.focus .input-group-btn .btn-default.disabled:hover, .form-group.focus .input-group-btn .btn-default.disabled.hover, .form-group.focus .input-group-btn .btn-default.disabled:focus, .form-group.focus .input-group-btn .btn-default.disabled:active, .form-group.focus .input-group-btn .btn-default.disabled.active, .form-group.focus .input-group-btn .btn-default[disabled], .form-group.focus .input-group-btn .btn-default[disabled]:hover, .form-group.focus .input-group-btn .btn-default[disabled].hover, .form-group.focus .input-group-btn .btn-default[disabled]:focus, .form-group.focus .input-group-btn .btn-default[disabled]:active, .form-group.focus .input-group-btn .btn-default[disabled].active,
fieldset[disabled] .form-group.focus .input-group-btn .btn-default,
fieldset[disabled] .form-group.focus .input-group-btn .btn-default:hover,
fieldset[disabled] .form-group.focus .input-group-btn .btn-default.hover,
fieldset[disabled] .form-group.focus .input-group-btn .btn-default:focus,
fieldset[disabled] .form-group.focus .input-group-btn .btn-default:active,
fieldset[disabled] .form-group.focus .input-group-btn .btn-default.active,
.input-group.focus .input-group-btn .btn-default.disabled,
.input-group.focus .input-group-btn .btn-default.disabled:hover,
.input-group.focus .input-group-btn .btn-default.disabled.hover,
.input-group.focus .input-group-btn .btn-default.disabled:focus,
.input-group.focus .input-group-btn .btn-default.disabled:active,
.input-group.focus .input-group-btn .btn-default.disabled.active,
.input-group.focus .input-group-btn .btn-default[disabled],
.input-group.focus .input-group-btn .btn-default[disabled]:hover,
.input-group.focus .input-group-btn .btn-default[disabled].hover,
.input-group.focus .input-group-btn .btn-default[disabled]:focus,
.input-group.focus .input-group-btn .btn-default[disabled]:active,
.input-group.focus .input-group-btn .btn-default[disabled].active,
fieldset[disabled]
.input-group.focus .input-group-btn .btn-default,
fieldset[disabled]
.input-group.focus .input-group-btn .btn-default:hover,
fieldset[disabled]
.input-group.focus .input-group-btn .btn-default.hover,
fieldset[disabled]
.input-group.focus .input-group-btn .btn-default:focus,
fieldset[disabled]
.input-group.focus .input-group-btn .btn-default:active,
fieldset[disabled]
.input-group.focus .input-group-btn .btn-default.active {
background-color: #bdc3c7;
border-color: #1abc9c;
}
.form-group.focus .input-group-btn .btn-default .badge,
.input-group.focus .input-group-btn .btn-default .badge {
color: #1abc9c;
background-color: white;
}
.input-group-btn .btn {
background-color: white;
border: 2px solid #bdc3c7;
color: #bdc3c7;
line-height: 18px;
height: 42px;
position: relative;
}
.input-group-btn .btn-default {
color: white;
background-color: #bdc3c7;
}
.show > .dropdown-toggle.input-group-btn .btn-default, .input-group-btn .btn-default:hover, .input-group-btn .btn-default.hover, .input-group-btn .btn-default:focus, .input-group-btn .btn-default:active, .input-group-btn .btn-default.active {
color: white;
background-color: #cacfd2;
border-color: #cacfd2;
}
.show > .dropdown-toggle.input-group-btn .btn-default, .input-group-btn .btn-default:not(:disabled):not(.disabled):active, .input-group-btn .btn-default:not(:disabled):not(.disabled).active {
background: #a1a6a9;
border-color: #a1a6a9;
}
.input-group-btn .btn-default.disabled, .input-group-btn .btn-default.disabled:hover, .input-group-btn .btn-default.disabled.hover, .input-group-btn .btn-default.disabled:focus, .input-group-btn .btn-default.disabled:active, .input-group-btn .btn-default.disabled.active, .input-group-btn .btn-default[disabled], .input-group-btn .btn-default[disabled]:hover, .input-group-btn .btn-default[disabled].hover, .input-group-btn .btn-default[disabled]:focus, .input-group-btn .btn-default[disabled]:active, .input-group-btn .btn-default[disabled].active,
fieldset[disabled] .input-group-btn .btn-default,
fieldset[disabled] .input-group-btn .btn-default:hover,
fieldset[disabled] .input-group-btn .btn-default.hover,
fieldset[disabled] .input-group-btn .btn-default:focus,
fieldset[disabled] .input-group-btn .btn-default:active,
fieldset[disabled] .input-group-btn .btn-default.active {
background-color: #bdc3c7;
border-color: #bdc3c7;
}
.input-group-btn .btn-default .badge {
color: #bdc3c7;
background-color: white;
}
.input-group-hg .input-group-btn .btn {
line-height: 31px;
}
.input-group-lg .input-group-btn .btn {
line-height: 21px;
}
.input-group-sm .input-group-btn .btn {
line-height: 19px;
}
.input-group-btn:first-child > .btn {
border-right-width: 0;
margin-right: -3px;
}
.input-group-btn:last-child > .btn {
border-left-width: 0;
margin-left: -3px;
}
.input-group-btn > .btn-default + .btn-default {
border-left: 2px solid #bdc3c7;
}
.input-group-btn > .btn:first-child + .btn .caret {
margin-left: 0;
}
.input-group-rounded .input-group-btn + .form-control, .input-group-rounded .select2-search .input-group-btn + input[type="text"], .select2-search .input-group-rounded .input-group-btn + input[type="text"],
.input-group-rounded .input-group-btn:last-child .btn {
border-bottom-right-radius: 20px;
border-top-right-radius: 20px;
}
.input-group-hg.input-group-rounded .input-group-btn + .form-control, .input-group-hg.input-group-rounded .select2-search .input-group-btn + input[type="text"], .select2-search .input-group-hg.input-group-rounded .input-group-btn + input[type="text"], .input-group-rounded .input-group-btn:last-child .btn {
border-bottom-right-radius: 27px;
border-top-right-radius: 27px;
}
.input-group-lg.input-group-rounded .input-group-btn + .form-control, .input-group-lg.input-group-rounded .select2-search .input-group-btn + input[type="text"], .select2-search .input-group-lg.input-group-rounded .input-group-btn + input[type="text"], .input-group-rounded .input-group-btn:last-child .btn {
border-bottom-right-radius: 25px;
border-top-right-radius: 25px;
}
.input-group-rounded .form-control:first-child, .input-group-rounded .select2-search input[type="text"]:first-child, .select2-search .input-group-rounded input[type="text"]:first-child,
.input-group-rounded .input-group-btn:first-child .btn {
border-bottom-left-radius: 20px;
border-top-left-radius: 20px;
}
.input-group-hg.input-group-rounded .form-control:first-child, .input-group-hg.input-group-rounded .select2-search input[type="text"]:first-child, .select2-search .input-group-hg.input-group-rounded input[type="text"]:first-child, .input-group-rounded .input-group-btn:first-child .btn {
border-bottom-left-radius: 27px;
border-top-left-radius: 27px;
}
.input-group-lg.input-group-rounded .form-control:first-child, .input-group-lg.input-group-rounded .select2-search input[type="text"]:first-child, .select2-search .input-group-lg.input-group-rounded input[type="text"]:first-child, .input-group-rounded .input-group-btn:first-child .btn {
border-bottom-left-radius: 25px;
border-top-left-radius: 25px;
}
.input-group-rounded .input-group-btn + .form-control, .input-group-rounded .select2-search .input-group-btn + input[type="text"], .select2-search .input-group-rounded .input-group-btn + input[type="text"] {
padding-left: 0;
}
.checkbox,
.radio {
display: block;
margin-top: 10px;
margin-bottom: 12px;
padding-left: 32px;
position: relative;
transition: color .25s linear;
font-size: 14px;
min-height: 20px;
line-height: 1.5;
}
.checkbox .icons,
.radio .icons {
color: #bdc3c7;
display: block;
height: 20px;
top: 0;
left: 0;
position: absolute;
width: 20px;
text-align: center;
line-height: 20px;
font-size: 20px;
cursor: pointer;
transition: color .25s linear;
}
.checkbox .icons .icon-checked,
.radio .icons .icon-checked {
opacity: 0;
filter: "alpha(opacity=0)";
}
.checkbox .icon-checked,
.checkbox .icon-unchecked,
.radio .icon-checked,
.radio .icon-unchecked {
display: inline-table;
position: absolute;
left: 0;
top: 0;
background-color: transparent;
margin: 0;
opacity: 1;
-webkit-filter: none;
filter: none;
}
.checkbox .icon-checked:before,
.checkbox .icon-unchecked:before,
.radio .icon-checked:before,
.radio .icon-unchecked:before {
font-family: 'Flat-UI-Pro-Icons';
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.checkbox .icon-checked:before {
content: "\e60e";
}
.checkbox .icon-unchecked:before {
content: "\e60d";
}
.radio .icon-checked:before {
content: "\e60c";
}
.radio .icon-unchecked:before {
content: "\e60b";
}
.checkbox input[type="checkbox"].custom-checkbox,
.checkbox input[type="radio"].custom-radio,
.radio input[type="checkbox"].custom-checkbox,
.radio input[type="radio"].custom-radio {
outline: none !important;
opacity: 0;
position: absolute;
margin: 0;
padding: 0;
left: 0;
top: 0;
width: 20px;
height: 20px;
}
.checkbox input[type="checkbox"].custom-checkbox:hover:not(.nohover) + .icons,
.checkbox input[type="radio"].custom-radio:hover:not(.nohover) + .icons,
.radio input[type="checkbox"].custom-checkbox:hover:not(.nohover) + .icons,
.radio input[type="radio"].custom-radio:hover:not(.nohover) + .icons {
transition: color .25s linear;
}
.checkbox input[type="checkbox"].custom-checkbox:hover:not(.nohover) + .icons .icon-unchecked,
.checkbox input[type="radio"].custom-radio:hover:not(.nohover) + .icons .icon-unchecked,
.radio input[type="checkbox"].custom-checkbox:hover:not(.nohover) + .icons .icon-unchecked,
.radio input[type="radio"].custom-radio:hover:not(.nohover) + .icons .icon-unchecked {
opacity: 0;
filter: "alpha(opacity=0)";
}
.checkbox input[type="checkbox"].custom-checkbox:hover:not(.nohover) + .icons .icon-checked,
.checkbox input[type="radio"].custom-radio:hover:not(.nohover) + .icons .icon-checked,
.radio input[type="checkbox"].custom-checkbox:hover:not(.nohover) + .icons .icon-checked,
.radio input[type="radio"].custom-radio:hover:not(.nohover) + .icons .icon-checked {
opacity: 1;
-webkit-filter: none;
filter: none;
}
.checkbox input[type="checkbox"].custom-checkbox:checked + .icons,
.checkbox input[type="radio"].custom-radio:checked + .icons,
.radio input[type="checkbox"].custom-checkbox:checked + .icons,
.radio input[type="radio"].custom-radio:checked + .icons {
color: #1abc9c;
}
.checkbox input[type="checkbox"].custom-checkbox:checked + .icons .icon-unchecked,
.checkbox input[type="radio"].custom-radio:checked + .icons .icon-unchecked,
.radio input[type="checkbox"].custom-checkbox:checked + .icons .icon-unchecked,
.radio input[type="radio"].custom-radio:checked + .icons .icon-unchecked {
opacity: 0;
filter: "alpha(opacity=0)";
}
.checkbox input[type="checkbox"].custom-checkbox:checked + .icons .icon-checked,
.checkbox input[type="radio"].custom-radio:checked + .icons .icon-checked,
.radio input[type="checkbox"].custom-checkbox:checked + .icons .icon-checked,
.radio input[type="radio"].custom-radio:checked + .icons .icon-checked {
opacity: 1;
-webkit-filter: none;
filter: none;
color: #1abc9c;
transition: color .25s linear;
}
.checkbox input[type="checkbox"].custom-checkbox:disabled + .icons,
.checkbox input[type="radio"].custom-radio:disabled + .icons,
.radio input[type="checkbox"].custom-checkbox:disabled + .icons,
.radio input[type="radio"].custom-radio:disabled + .icons {
cursor: default;
color: #e6e8ea;
}
.checkbox input[type="checkbox"].custom-checkbox:disabled + .icons .icons,
.checkbox input[type="radio"].custom-radio:disabled + .icons .icons,
.radio input[type="checkbox"].custom-checkbox:disabled + .icons .icons,
.radio input[type="radio"].custom-radio:disabled + .icons .icons {
color: #e6e8ea;
}
.checkbox input[type="checkbox"].custom-checkbox:disabled + .icons .icon-unchecked,
.checkbox input[type="radio"].custom-radio:disabled + .icons .icon-unchecked,
.radio input[type="checkbox"].custom-checkbox:disabled + .icons .icon-unchecked,
.radio input[type="radio"].custom-radio:disabled + .icons .icon-unchecked {
opacity: 1;
-webkit-filter: none;
filter: none;
}
.checkbox input[type="checkbox"].custom-checkbox:disabled + .icons .icon-checked,
.checkbox input[type="radio"].custom-radio:disabled + .icons .icon-checked,
.radio input[type="checkbox"].custom-checkbox:disabled + .icons .icon-checked,
.radio input[type="radio"].custom-radio:disabled + .icons .icon-checked {
opacity: 0;
filter: "alpha(opacity=0)";
}
.checkbox input[type="checkbox"].custom-checkbox:disabled:checked + .icons .icons,
.checkbox input[type="radio"].custom-radio:disabled:checked + .icons .icons,
.radio input[type="checkbox"].custom-checkbox:disabled:checked + .icons .icons,
.radio input[type="radio"].custom-radio:disabled:checked + .icons .icons {
color: #e6e8ea;
}
.checkbox input[type="checkbox"].custom-checkbox:disabled:checked + .icons .icon-unchecked,
.checkbox input[type="radio"].custom-radio:disabled:checked + .icons .icon-unchecked,
.radio input[type="checkbox"].custom-checkbox:disabled:checked + .icons .icon-unchecked,
.radio input[type="radio"].custom-radio:disabled:checked + .icons .icon-unchecked {
opacity: 0;
filter: "alpha(opacity=0)";
}
.checkbox input[type="checkbox"].custom-checkbox:disabled:checked + .icons .icon-checked,
.checkbox input[type="radio"].custom-radio:disabled:checked + .icons .icon-checked,
.radio input[type="checkbox"].custom-checkbox:disabled:checked + .icons .icon-checked,
.radio input[type="radio"].custom-radio:disabled:checked + .icons .icon-checked {
opacity: 1;
-webkit-filter: none;
filter: none;
color: #e6e8ea;
}
.checkbox input[type="checkbox"].custom-checkbox:indeterminate + .icons,
.checkbox input[type="radio"].custom-radio:indeterminate + .icons,
.radio input[type="checkbox"].custom-checkbox:indeterminate + .icons,
.radio input[type="radio"].custom-radio:indeterminate + .icons {
color: #bdc3c7;
}
.checkbox input[type="checkbox"].custom-checkbox:indeterminate + .icons .icon-unchecked,
.checkbox input[type="radio"].custom-radio:indeterminate + .icons .icon-unchecked,
.radio input[type="checkbox"].custom-checkbox:indeterminate + .icons .icon-unchecked,
.radio input[type="radio"].custom-radio:indeterminate + .icons .icon-unchecked {
opacity: 1;
-webkit-filter: none;
filter: none;
}
.checkbox input[type="checkbox"].custom-checkbox:indeterminate + .icons .icon-checked,
.checkbox input[type="radio"].custom-radio:indeterminate + .icons .icon-checked,
.radio input[type="checkbox"].custom-checkbox:indeterminate + .icons .icon-checked,
.radio input[type="radio"].custom-radio:indeterminate + .icons .icon-checked {
opacity: 0;
filter: "alpha(opacity=0)";
}
.checkbox input[type="checkbox"].custom-checkbox:indeterminate + .icons:before,
.checkbox input[type="radio"].custom-radio:indeterminate + .icons:before,
.radio input[type="checkbox"].custom-checkbox:indeterminate + .icons:before,
.radio input[type="radio"].custom-radio:indeterminate + .icons:before {
content: "\2013";
position: absolute;
top: 0;
left: 0;
line-height: 20px;
width: 20px;
text-align: center;
color: white;
font-size: 22px;
z-index: 10;
}
.checkbox input[type="checkbox"].custom-checkbox:focus + .icons,
.checkbox input[type="radio"].custom-radio:focus + .icons,
.radio input[type="checkbox"].custom-checkbox:focus + .icons,
.radio input[type="radio"].custom-radio:focus + .icons {
outline: 1px dotted #bdc3c7;
outline-offset: 1px;
}
.checkbox.primary input[type="checkbox"].custom-checkbox + .icons,
.checkbox.primary input[type="radio"].custom-radio + .icons,
.radio.primary input[type="checkbox"].custom-checkbox + .icons,
.radio.primary input[type="radio"].custom-radio + .icons {
color: #34495e;
}
.checkbox.primary input[type="checkbox"].custom-checkbox:checked + .icons,
.checkbox.primary input[type="radio"].custom-radio:checked + .icons,
.radio.primary input[type="checkbox"].custom-checkbox:checked + .icons,
.radio.primary input[type="radio"].custom-radio:checked + .icons {
color: #1abc9c;
}
.checkbox.primary input[type="checkbox"].custom-checkbox:checked + .icons .icons,
.checkbox.primary input[type="radio"].custom-radio:checked + .icons .icons,
.radio.primary input[type="checkbox"].custom-checkbox:checked + .icons .icons,
.radio.primary input[type="radio"].custom-radio:checked + .icons .icons {
color: #1abc9c;
}
.checkbox.primary input[type="checkbox"].custom-checkbox:disabled + .icons,
.checkbox.primary input[type="radio"].custom-radio:disabled + .icons,
.radio.primary input[type="checkbox"].custom-checkbox:disabled + .icons,
.radio.primary input[type="radio"].custom-radio:disabled + .icons {
cursor: default;
color: #bdc3c7;
}
.checkbox.primary input[type="checkbox"].custom-checkbox:disabled + .icons .icons,
.checkbox.primary input[type="radio"].custom-radio:disabled + .icons .icons,
.radio.primary input[type="checkbox"].custom-checkbox:disabled + .icons .icons,
.radio.primary input[type="radio"].custom-radio:disabled + .icons .icons {
color: #bdc3c7;
}
.checkbox.primary input[type="checkbox"].custom-checkbox:disabled + .icons.checked .icons,
.checkbox.primary input[type="radio"].custom-radio:disabled + .icons.checked .icons,
.radio.primary input[type="checkbox"].custom-checkbox:disabled + .icons.checked .icons,
.radio.primary input[type="radio"].custom-radio:disabled + .icons.checked .icons {
color: #bdc3c7;
}
.checkbox.primary input[type="checkbox"].custom-checkbox:indeterminate + .icons,
.checkbox.primary input[type="radio"].custom-radio:indeterminate + .icons,
.radio.primary input[type="checkbox"].custom-checkbox:indeterminate + .icons,
.radio.primary input[type="radio"].custom-radio:indeterminate + .icons {
color: #34495e;
}
.radio + .radio,
.checkbox + .checkbox {
margin-top: 10px;
}
.form-inline .checkbox, .form-inline .radio {
padding-left: 32px;
}
.bootstrap-tagsinput {
background-color: white;
border: 2px solid #ebedef;
border-radius: 6px;
margin-bottom: 18px;
padding: 6px 1px 1px 6px;
text-align: left;
font-size: 0;
}
.bootstrap-tagsinput .badge {
border-radius: 4px;
background-color: #ebedef;
color: #7b8996;
font-size: 13px;
cursor: pointer;
display: inline-block;
position: relative;
vertical-align: middle;
overflow: hidden;
margin: 0 5px 5px 0;
line-height: 15px;
height: 27px;
padding: 6px 28px 6px 14px;
transition: .25s linear;
}
.bootstrap-tagsinput .badge > span {
color: white;
padding: 0 10px 0 0;
cursor: pointer;
font-size: 12px;
position: absolute;
right: 0;
text-align: right;
text-decoration: none;
top: 0;
width: 100%;
bottom: 0;
z-index: 2;
}
.bootstrap-tagsinput .badge > span:after {
content: "\e609";
font-family: "Flat-UI-Pro-Icons";
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
line-height: 27px;
}
@media (hover: hover) {
.bootstrap-tagsinput .badge {
padding: 6px 21px;
}
.bootstrap-tagsinput .badge > span {
opacity: 0;
filter: "alpha(opacity=0)";
transition: opacity .25s linear;
}
.bootstrap-tagsinput .badge:hover {
background-color: #16a085;
color: white;
padding-right: 28px;
padding-left: 14px;
}
.bootstrap-tagsinput .badge:hover > span {
padding: 0 10px 0 0;
opacity: 1;
-webkit-filter: none;
filter: none;
}
}
@media (hover: none) {
.bootstrap-tagsinput .badge:hover {
background-color: #16a085;
color: white;
}
}
.bootstrap-tagsinput input[type="text"] {
font-size: 14px;
border: none;
box-shadow: none;
outline: none;
background-color: transparent;
padding: 0;
margin: 0;
width: auto !important;
max-width: inherit;
min-width: 80px;
vertical-align: top;
height: 29px;
color: #34495e;
}
.bootstrap-tagsinput input[type="text"]:first-child {
height: 23px;
margin: 3px 0 8px;
}
.tags_clear {
clear: both;
width: 100%;
height: 0;
}
.not_valid {
background: #fbd8db !important;
color: #90111a !important;
margin-left: 5px !important;
}
.tagsinput-primary {
margin-bottom: 18px;
}
.tagsinput-primary .bootstrap-tagsinput {
border-color: #1abc9c;
margin-bottom: 0;
}
.tagsinput-primary .badge {
background-color: #1abc9c;
color: white;
}
.tagsinput-primary .badge:hover {
background-color: #16a085;
color: white;
}
.bootstrap-tagsinput .twitter-typeahead {
width: auto;
vertical-align: top;
}
.bootstrap-tagsinput .twitter-typeahead .tt-input {
min-width: 200px;
}
.bootstrap-tagsinput .twitter-typeahead .tt-dropdown-menu {
width: auto;
min-width: 120px;
margin-top: 11px;
}
.twitter-typeahead {
width: 100%;
}
.twitter-typeahead .tt-dropdown-menu {
width: 100%;
margin-top: 5px;
border: 2px solid #1abc9c;
padding: 5px 0;
background-color: white;
border-radius: 6px;
}
.twitter-typeahead .tt-suggestion p {
padding: 6px 14px;
font-size: 14px;
line-height: 1.429;
margin: 0;
}
.twitter-typeahead .tt-suggestion:first-child p, .twitter-typeahead .tt-suggestion:last-child p {
padding: 6px 14px;
}
.twitter-typeahead .tt-suggestion.tt-is-under-cursor, .twitter-typeahead .tt-suggestion.tt-cursor {
cursor: pointer;
color: #fff;
background-color: #16a085;
}
.progress, .ui-slider {
background: #ebedef;
border-radius: 32px;
height: 12px;
box-shadow: none;
}
.progress-bar {
background: #1abc9c;
line-height: 12px;
box-shadow: none;
}
.progress-bar-success {
background-color: #2ecc71;
}
.progress-bar-warning {
background-color: #f1c40f;
}
.progress-bar-danger {
background-color: #e74c3c;
}
.progress-bar-info {
background-color: #3498db;
}
.ui-slider {
margin-bottom: 20px;
position: relative;
cursor: pointer;
}
.ui-slider-handle {
background-color: #16a085;
border-radius: 50%;
cursor: pointer;
height: 18px;
position: absolute;
width: 18px;
z-index: 2;
transition: background .25s;
}
.ui-slider-handle:hover, .ui-slider-handle:focus {
background-color: #48c9b0;
outline: none;
}
.ui-slider-handle:active {
background-color: #16a085;
}
.ui-slider-range {
background-color: #1abc9c;
display: block;
height: 100%;
position: absolute;
z-index: 1;
}
.ui-slider-segment {
background-color: #d9dbdd;
border-radius: 50%;
height: 6px;
width: 6px;
}
.ui-slider-value {
float: right;
font-size: 13px;
margin-top: 12px;
}
.ui-slider-value.first {
clear: left;
float: left;
}
.ui-slider-horizontal .ui-slider-handle {
margin-left: -9px;
top: -3px;
}
.ui-slider-horizontal .ui-slider-handle[style*="100"] {
margin-left: -15px;
}
.ui-slider-horizontal .ui-slider-range {
border-radius: 30px 0 0 30px;
}
.ui-slider-horizontal .ui-slider-segment {
float: left;
margin: 3px -6px 0 0;
}
.ui-slider-vertical {
width: 12px;
}
.ui-slider-vertical .ui-slider-handle {
margin-left: -3px;
margin-bottom: -11px;
top: auto;
}
.ui-slider-vertical .ui-slider-range {
width: 100%;
bottom: 0;
border-radius: 0 0 30px 30px;
}
.ui-slider-vertical .ui-slider-segment {
position: absolute;
right: 3px;
}
.pager {
background-color: #34495e;
border-radius: 6px;
color: white;
font-size: 16px;
font-weight: 700;
display: inline-block;
padding-left: 0;
margin: 20px 0;
text-align: center;
list-style: none;
}
.pager li {
display: inline;
}
.pager li:first-child > a,
.pager li:first-child > span {
border-left: none;
border-radius: 6px 0 0 6px;
}
.pager li > a,
.pager li > span {
display: inline-block;
background: none;
border: none;
border-left: 2px solid #2c3e50;
color: white;
padding: 9px 15px 10px;
text-decoration: none;
white-space: nowrap;
border-radius: 0 6px 6px 0;
line-height: 1.313;
}
.pager li > a:hover, .pager li > a:focus,
.pager li > span:hover,
.pager li > span:focus {
background-color: #2c3e50;
}
.pager li > a:active,
.pager li > span:active {
background-color: #2c3e50;
}
.pager li > a [class*="fui-"] + span,
.pager li > span [class*="fui-"] + span {
margin-left: 8px;
}
.pager li > a span + [class*="fui-"],
.pager li > span span + [class*="fui-"] {
margin-left: 8px;
}
.pagination {
position: relative;
display: block;
margin: 20px 0;
border-radius: 4px;
}
@media (min-width: 768px) {
.pagination {
display: inline-block;
}
}
.pagination > ul {
background: #d6dbdf;
color: white;
padding: 0;
margin: 0;
display: inline-block;
border-radius: 6px;
word-spacing: -0.5px;
}
@media (max-width: 767px) {
.pagination > ul {
height: 41px;
padding: 0 55px 0 52px;
overflow: auto;
white-space: nowrap;
border-radius: 6px;
}
}
.pagination li {
display: inline-block;
margin-right: -3px;
vertical-align: middle;
word-spacing: normal;
}
.pagination li.active > a, .pagination li.active > span {
background-color: #1abc9c;
color: white;
border-color: #dee2e5;
}
.pagination li.active.previous > a, .pagination li.active.previous > span, .pagination li.active.next > a, .pagination li.active.next > span {
margin: 0;
}
.pagination li.active.previous > a, .pagination li.active.previous > a:hover, .pagination li.active.previous > a:focus, .pagination li.active.previous > span, .pagination li.active.previous > span:hover, .pagination li.active.previous > span:focus, .pagination li.active.next > a, .pagination li.active.next > a:hover, .pagination li.active.next > a:focus, .pagination li.active.next > span, .pagination li.active.next > span:hover, .pagination li.active.next > span:focus {
background-color: #1abc9c;
color: white;
}
.pagination li:first-child > a,
.pagination li:first-child > span {
border-radius: 6px 0 0 6px;
border-left: none;
}
.pagination li:first-child.previous + li > a,
.pagination li:first-child.previous + li > span {
border-left-width: 0;
}
.pagination li:last-child {
margin-right: 0;
}
.pagination li:last-child > a, .pagination li:last-child > a:hover, .pagination li:last-child > a:focus,
.pagination li:last-child > span,
.pagination li:last-child > span:hover,
.pagination li:last-child > span:focus {
border-radius: 0 6px 6px 0;
}
.pagination li.previous > a,
.pagination li.previous > span, .pagination li.next > a,
.pagination li.next > span {
border-right: 2px solid #e4e7ea;
font-size: 16px;
min-width: auto;
padding: 12px 17px;
background-color: transparent;
}
.pagination li.next > a,
.pagination li.next > span {
border-right: none;
}
.pagination li.disabled > a,
.pagination li.disabled > span {
color: white;
background-color: rgba(255, 255, 255, 0.3);
border-right-color: #dee2e5;
cursor: not-allowed;
}
.pagination li.disabled > a:hover, .pagination li.disabled > a:focus, .pagination li.disabled > a:active,
.pagination li.disabled > span:hover,
.pagination li.disabled > span:focus,
.pagination li.disabled > span:active {
background-color: rgba(255, 255, 255, 0.4);
color: white;
}
@media (max-width: 767px) {
.pagination li.next, .pagination li.previous {
background-color: #d6dbdf;
position: absolute;
right: 0;
top: 0;
z-index: 10;
border-radius: 0 6px 6px 0;
}
.pagination li.previous {
left: 0;
right: auto;
border-radius: 6px 0 0 6px;
}
}
.pagination li > a,
.pagination li > span {
display: inline-block;
background: transparent;
border: none;
border-left: 2px solid #e4e7ea;
color: white;
font-size: 14px;
line-height: 16px;
min-height: 41px;
min-width: 41px;
outline: none;
padding: 12px 10px;
text-align: center;
transition: .25s ease-out;
}
.pagination li > a:hover, .pagination li > a:focus,
.pagination li > span:hover,
.pagination li > span:focus {
background-color: #1abc9c;
color: white;
}
.pagination li > a:active,
.pagination li > span:active {
background-color: #1abc9c;
color: white;
}
.pagination > .btn.previous, .pagination > .btn.next {
margin-right: 8px;
font-size: 14px;
line-height: 1.429;
padding-left: 23px;
padding-right: 23px;
}
.pagination > .btn.previous [class*="fui-"], .pagination > .btn.next [class*="fui-"] {
font-size: 16px;
margin-left: -2px;
margin-top: -2px;
}
.pagination > .btn.next {
margin-left: 8px;
margin-right: 0;
}
.pagination > .btn.next [class*="fui-"] {
margin-right: -2px;
margin-left: 4px;
}
@media (max-width: 767px) {
.pagination > .btn {
display: block;
margin: 0;
width: 50%;
}
.pagination > .btn:first-child {
border-bottom: 2px solid #dee2e5;
border-radius: 6px 0 0;
}
.pagination > .btn:first-child.btn-primary {
border-bottom-color: #48c9b0;
}
.pagination > .btn:first-child.btn-danger {
border-bottom-color: #ec7063;
}
.pagination > .btn:first-child.btn-warning {
border-bottom-color: #f4d03f;
}
.pagination > .btn:first-child.btn-success {
border-bottom-color: #58d68d;
}
.pagination > .btn:first-child.btn-info {
border-bottom-color: #5dade2;
}
.pagination > .btn:first-child.btn-inverse {
border-bottom-color: #5d6d7e;
}
.pagination > .btn:first-child > [class*="fui"] {
margin-left: -20px;
}
.pagination > .btn + ul {
padding: 0;
text-align: center;
border-radius: 0 0 6px 6px;
}
.pagination > .btn + ul + .btn {
border-bottom: 2px solid #dee2e5;
position: absolute;
right: 0;
top: 0;
border-radius: 0 6px 0 0;
}
.pagination > .btn + ul + .btn.btn-primary {
border-bottom-color: #48c9b0;
}
.pagination > .btn + ul + .btn.btn-danger {
border-bottom-color: #ec7063;
}
.pagination > .btn + ul + .btn.btn-warning {
border-bottom-color: #f4d03f;
}
.pagination > .btn + ul + .btn.btn-success {
border-bottom-color: #58d68d;
}
.pagination > .btn + ul + .btn.btn-info {
border-bottom-color: #5dade2;
}
.pagination > .btn + ul + .btn.btn-inverse {
border-bottom-color: #5d6d7e;
}
.pagination > .btn + ul + .btn > [class*="fui"] {
margin-right: -20px;
}
.pagination ul {
display: block;
}
.pagination ul > li > a {
border-radius: 0;
}
}
.pagination-danger ul {
background-color: #e74c3c;
}
.pagination-danger ul li.previous > a {
border-right-color: #ef897e;
}
.pagination-danger ul li > a, .pagination-danger ul li > span {
border-left-color: #ef897e;
}
.pagination-danger ul li > a:hover, .pagination-danger ul li > a:focus, .pagination-danger ul li > span:hover, .pagination-danger ul li > span:focus {
background-color: #ec7063;
}
.pagination-danger ul li > a:active, .pagination-danger ul li > span:active {
background-color: #c44133;
}
.pagination-danger ul li.active > a, .pagination-danger ul li.active > span {
background-color: #c44133;
}
.pagination-success ul {
background-color: #2ecc71;
}
.pagination-success ul li.previous > a {
border-right-color: #75dda1;
}
.pagination-success ul li > a, .pagination-success ul li > span {
border-left-color: #75dda1;
}
.pagination-success ul li > a:hover, .pagination-success ul li > a:focus, .pagination-success ul li > span:hover, .pagination-success ul li > span:focus {
background-color: #58d68d;
}
.pagination-success ul li > a:active, .pagination-success ul li > span:active {
background-color: #27ad60;
}
.pagination-success ul li.active > a, .pagination-success ul li.active > span {
background-color: #27ad60;
}
.pagination-warning ul {
background-color: #f1c40f;
}
.pagination-warning ul li.previous > a {
border-right-color: #f6d861;
}
.pagination-warning ul li > a, .pagination-warning ul li > span {
border-left-color: #f6d861;
}
.pagination-warning ul li > a:hover, .pagination-warning ul li > a:focus, .pagination-warning ul li > span:hover, .pagination-warning ul li > span:focus {
background-color: #f4d313;
}
.pagination-warning ul li > a:active, .pagination-warning ul li > span:active {
background-color: #cda70d;
}
.pagination-warning ul li.active > a, .pagination-warning ul li.active > span {
background-color: #cda70d;
}
.pagination-info ul {
background-color: #3498db;
}
.pagination-info ul li.previous > a {
border-right-color: #79bbe7;
}
.pagination-info ul li > a, .pagination-info ul li > span {
border-left-color: #79bbe7;
}
.pagination-info ul li > a:hover, .pagination-info ul li > a:focus, .pagination-info ul li > span:hover, .pagination-info ul li > span:focus {
background-color: #5dade2;
}
.pagination-info ul li > a:active, .pagination-info ul li > span:active {
background-color: #2c81ba;
}
.pagination-info ul li.active > a, .pagination-info ul li.active > span {
background-color: #2c81ba;
}
.pagination-inverse ul {
background-color: #34495e;
}
.pagination-inverse ul li.previous > a {
border-right-color: #798795;
}
.pagination-inverse ul li > a, .pagination-inverse ul li > span {
border-left-color: #798795;
}
.pagination-inverse ul li > a:hover, .pagination-inverse ul li > a:focus, .pagination-inverse ul li > span:hover, .pagination-inverse ul li > span:focus {
background-color: #415b76;
}
.pagination-inverse ul li > a:active, .pagination-inverse ul li > span:active {
background-color: #2c3e50;
}
.pagination-inverse ul li.active > a, .pagination-inverse ul li.active > span {
background-color: #2c3e50;
}
.pagination-minimal > ul > li:first-child {
border-radius: 6px 0 0 6px;
}
.pagination-minimal > ul > li:first-child.previous + li > a,
.pagination-minimal > ul > li:first-child.previous + li > span {
border-left-width: 5px;
}
.pagination-minimal > ul > li:last-child {
border-radius: 0 6px 6px 0;
}
.pagination-minimal > ul > li.previous > a,
.pagination-minimal > ul > li.previous > span, .pagination-minimal > ul > li.next > a,
.pagination-minimal > ul > li.next > span {
background: transparent;
border: none;
border-right: 2px solid #e4e7ea;
margin: 0 9px 0 0;
padding: 12px 17px;
border-radius: 6px 0 0 6px;
}
.pagination-minimal > ul > li.previous > a, .pagination-minimal > ul > li.previous > a:hover, .pagination-minimal > ul > li.previous > a:focus,
.pagination-minimal > ul > li.previous > span,
.pagination-minimal > ul > li.previous > span:hover,
.pagination-minimal > ul > li.previous > span:focus, .pagination-minimal > ul > li.next > a, .pagination-minimal > ul > li.next > a:hover, .pagination-minimal > ul > li.next > a:focus,
.pagination-minimal > ul > li.next > span,
.pagination-minimal > ul > li.next > span:hover,
.pagination-minimal > ul > li.next > span:focus {
border-color: #e4e7ea !important;
}
@media (max-width: 767px) {
.pagination-minimal > ul > li.previous > a,
.pagination-minimal > ul > li.previous > span, .pagination-minimal > ul > li.next > a,
.pagination-minimal > ul > li.next > span {
margin-right: 0;
}
}
.pagination-minimal > ul > li.next {
margin-left: 9px;
}
.pagination-minimal > ul > li.next > a,
.pagination-minimal > ul > li.next > span {
border-left: 2px solid #e4e7ea;
border-right: none;
margin: 0;
border-radius: 0 6px 6px 0;
}
.pagination-minimal > ul > li.active > a,
.pagination-minimal > ul > li.active > span {
background-color: white;
border-color: white;
border-width: 2px !important;
color: #d6dbdf;
margin: 10px 5px 9px;
}
.pagination-minimal > ul > li.active > a:hover, .pagination-minimal > ul > li.active > a:focus,
.pagination-minimal > ul > li.active > span:hover,
.pagination-minimal > ul > li.active > span:focus {
background-color: white;
border-color: white;
color: #d6dbdf;
}
.pagination-minimal > ul > li.active.previous, .pagination-minimal > ul > li.active.next {
border-color: #e4e7ea;
}
.pagination-minimal > ul > li.active.previous {
margin-right: 6px;
}
.pagination-minimal > ul > li > a,
.pagination-minimal > ul > li > span {
background: white;
border: 5px solid #d6dbdf;
color: white;
line-height: 16px;
margin: 7px 2px 6px;
min-width: 0;
min-height: 16px;
padding: 0 4px;
border-radius: 50px;
background-clip: padding-box;
transition: background .2s ease-out, border-color 0s ease-out, color .2s ease-out;
}
.pagination-minimal > ul > li > a:hover, .pagination-minimal > ul > li > a:focus,
.pagination-minimal > ul > li > span:hover,
.pagination-minimal > ul > li > span:focus {
background-color: #1abc9c;
border-color: #1abc9c;
color: white;
transition: background .2s ease-out, border-color .2s ease-out, color .2s ease-out;
}
.pagination-minimal > ul > li > a:active,
.pagination-minimal > ul > li > span:active {
background-color: #16a085;
border-color: #16a085;
}
.pagination-plain {
font-size: 16px;
font-weight: 700;
list-style-type: none;
margin: 0 0 20px;
padding: 0;
height: 57px;
}
.pagination-plain > li {
display: inline;
}
.pagination-plain > li.previous {
padding-right: 23px;
}
.pagination-plain > li.next {
padding-left: 20px;
}
.pagination-plain > li.active > a {
color: #d3d7da;
}
.pagination-plain > li > a {
padding: 0 5px;
}
@media (max-width: 480px) {
.pagination-plain {
overflow: hidden;
text-align: center;
}
.pagination-plain > li.previous {
display: block;
margin-bottom: 10px;
text-align: left;
width: 50%;
}
.pagination-plain > li.next {
float: right;
margin-top: -64px;
text-align: right;
width: 50%;
}
}
@media (min-width: 768px) {
.pagination-plain {
height: auto;
}
}
.pagination-dropdown ul {
min-width: 67px;
width: auto;
left: 50%;
margin-left: -34px;
}
.pagination-dropdown ul li {
display: block;
margin-right: 0;
}
.pagination-dropdown ul li:first-child > a,
.pagination-dropdown ul li:first-child > span {
border-radius: 6px 6px 0 0;
}
.pagination-dropdown ul li:last-child > a,
.pagination-dropdown ul li:last-child > span {
border-radius: 0 0 6px 6px !important;
}
.pagination-dropdown ul li > a,
.pagination-dropdown ul li > span {
border-left: none;
display: block;
float: none;
padding: 8px 10px 7px;
text-align: center;
min-height: 0;
}
.pagination-dropdown.dropup {
position: relative;
}
.pagination-dropdown.place-in-row .dropdown-toggle {
display: none;
}
.pagination-dropdown.place-in-row ul.dropdown-menu, .pagination-dropdown.place-in-row ul.select2-drop {
background: transparent;
border: none;
top: auto;
bottom: auto;
left: auto;
right: auto;
position: relative;
max-width: auto;
border-radius: 0;
display: inline-block;
margin-left: auto;
margin-bottom: auto;
vertical-align: middle;
word-spacing: normal;
z-index: 1;
}
.pagination-dropdown.place-in-row ul.dropdown-menu > li, .pagination-dropdown.place-in-row ul.select2-drop > li {
display: inline-block;
margin-right: -3px;
}
.pagination-dropdown.place-in-row ul.dropdown-menu > li > a, .pagination-dropdown.place-in-row ul.select2-drop > li > a {
padding-top: 10px;
padding-bottom: 10px;
border-top-left-radius: 0 !important;
border-top-right-radius: 0 !important;
border-bottom-left-radius: 0 !important;
border-bottom-right-radius: 0 !important;
border-left: 2px solid #e4e7ea;
color: white;
}
.pagination-dropdown.place-in-row ul.dropdown-menu > li > a:hover, .pagination-dropdown.place-in-row ul.select2-drop > li > a:hover, .pagination-dropdown.place-in-row ul.dropdown-menu > li > a:focus, .pagination-dropdown.place-in-row ul.select2-drop > li > a:focus {
background-color: #1abc9c;
color: white;
}
.tooltip {
font-size: 14px;
line-height: 1.286;
z-index: 1070;
}
.tooltip.in {
opacity: 1;
filter: "alpha(opacity=100)";
}
.tooltip.top {
margin-top: -5px;
padding: 9px 0;
}
.tooltip.right {
margin-left: 5px;
padding: 0 9px;
}
.tooltip.bottom {
margin-top: 5px;
padding: 9px 0;
}
.tooltip.left {
margin-left: -5px;
padding: 0 9px;
}
.tooltip-inner {
max-width: 183px;
line-height: 1.286;
padding: 12px 12px;
color: white;
background-color: #34495e;
border-radius: 6px;
}
.tooltip.bs-tooltip-top .arrow:before {
margin-left: -9px;
border-width: 9px 9px 0;
border-top-color: #34495e;
}
.tooltip.bs-tooltip-right .arrow:before {
margin-top: -9px;
border-width: 9px 9px 9px 0;
border-right-color: #34495e;
}
.tooltip.bs-tooltip-left .arrow:before {
margin-top: -9px;
border-width: 9px 0 9px 9px;
border-left-color: #34495e;
}
.tooltip.bs-tooltip-bottom .arrow:before {
margin-left: -9px;
border-width: 0 9px 9px;
border-bottom-color: #34495e;
}
.dropdown-toggle:after {
margin-left: 8px;
vertical-align: middle;
content: "";
border-top: 8px solid;
border-right: 6px solid transparent;
border-left: 6px solid transparent;
border-bottom: 0;
transition: border-color .25s, color .25s;
}
.dropup .dropdown-toggle:after {
border-top: 0;
border-right: 6px solid transparent;
border-bottom: 8px solid;
border-left: 6px solid transparent;
margin: 0;
vertical-align: middle;
}
.dropdown-menu, .select2-drop {
z-index: 1000;
background-color: #f3f4f5;
min-width: 220px;
border: none;
margin-top: 9px;
padding: 0;
font-size: 14px;
border-radius: 4px;
box-shadow: none;
}
.dropdown-menu .divider, .select2-drop .divider {
height: 2px;
margin: 3px 0;
overflow: hidden;
background-color: rgba(202, 206, 209, 0.5);
}
.dropdown-menu > li > a, .select2-drop > li > a {
padding: 8px 16px;
line-height: 1.429;
color: #606d7a;
display: block;
}
.dropdown-menu > li > a:hover, .select2-drop > li > a:hover, .dropdown-menu > li > a:focus, .select2-drop > li > a:focus {
color: #55606c;
background-color: rgba(202, 206, 209, 0.5);
}
.dropdown-menu > li:first-child > a:first-child, .select2-drop > li:first-child > a:first-child {
border-top-right-radius: 4px;
border-top-left-radius: 4px;
}
.dropdown-menu > li:last-child > a:first-child, .select2-drop > li:last-child > a:first-child {
border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px;
}
.dropdown-menu.typeahead, .typeahead.select2-drop {
display: none;
width: auto;
margin-top: 5px;
border: 2px solid #1abc9c;
padding: 5px 0;
background-color: white;
border-radius: 6px;
}
.dropdown-menu.typeahead li a, .typeahead.select2-drop li a {
padding: 6px 14px;
}
.dropdown-menu.typeahead li:first-child a, .typeahead.select2-drop li:first-child a, .dropdown-menu.typeahead li:last-child a, .typeahead.select2-drop li:last-child a {
padding: 6px 14px;
border-radius: 0;
}
.dropdown-menu > .active > a, .select2-drop > .active > a, .dropdown-menu > .active > a:hover, .select2-drop > .active > a:hover, .dropdown-menu > .active > a:focus, .select2-drop > .active > a:focus {
color: white;
background-color: #1abc9c;
}
.dropdown-menu > .disabled > a, .select2-drop > .disabled > a, .dropdown-menu > .disabled > a:hover, .select2-drop > .disabled > a:hover, .dropdown-menu > .disabled > a:focus, .select2-drop > .disabled > a:focus {
color: #bdc3c7;
background-color: transparent;
cursor: not-allowed;
}
.dropdown-menu-right {
left: auto;
right: 0;
}
.dropdown-menu-left {
left: 0;
right: auto;
}
.dropdown-header {
padding: 8px 16px;
line-height: 1.538;
font-size: 13px;
text-transform: uppercase;
color: rgba(52, 73, 94, 0.6);
}
.dropdown-header:first-child {
margin-top: 3px;
}
.dropdown-backdrop {
z-index: 990;
}
.dropup .dropdown-menu, .dropup .select2-drop,
.navbar-fixed-bottom .dropdown .dropdown-menu,
.navbar-fixed-bottom .dropdown .select2-drop {
margin-top: 0;
margin-bottom: 9px;
}
.dropdown-menu-inverse {
background-color: #34495e;
}
.dropdown-menu-inverse .divider {
height: 2px;
margin: 3px 0;
overflow: hidden;
background-color: rgba(43, 60, 78, 0.5);
}
.dropdown-menu-inverse > li > a {
color: rgba(255, 255, 255, 0.85);
}
.dropdown-menu-inverse > li > a:hover, .dropdown-menu-inverse > li > a:focus {
color: rgba(255, 255, 255, 0.85);
background-color: rgba(43, 60, 78, 0.5);
}
.dropdown-menu-inverse > .active > a, .dropdown-menu-inverse > .active > a:hover, .dropdown-menu-inverse > .active > a:focus {
color: rgba(255, 255, 255, 0.85);
background-color: #1abc9c;
}
.dropdown-menu-inverse > .disabled > a, .dropdown-menu-inverse > .disabled > a:hover, .dropdown-menu-inverse > .disabled > a:focus {
color: rgba(255, 255, 255, 0.5);
}
.dropdown-menu-inverse > .disabled > a:hover, .dropdown-menu-inverse > .disabled > a:focus {
background-color: transparent;
}
.dropdown-menu-inverse .dropdown-header {
color: rgba(255, 255, 255, 0.4);
}
@media (min-width: 768px) {
.navbar-right .dropdown-menu, .navbar-right .select2-drop {
left: auto;
right: 0;
}
.navbar-right .dropdown-menu-left {
left: 0;
right: auto;
}
}
.select {
position: relative;
display: inline-block;
vertical-align: top;
min-width: 220px;
width: auto;
}
.form-group .select {
width: 100%;
}
.form-group .select > .select2-choice {
width: 100%;
}
.select.form-control, .select2-search input.select[type="text"] {
border: none;
padding: 0;
height: auto;
}
.select2-choice {
width: 100%;
display: inline-block;
position: relative;
border: none;
font-size: 15px;
font-weight: normal;
line-height: 1.4;
border-radius: 4px;
padding: 10px 39px 10px 15px;
min-height: 41px;
transition: border .25s linear, color .25s linear, background-color .25s linear;
}
.select2-choice:hover, .select2-choice:focus {
outline: none;
}
.select2-choice:active {
outline: none;
box-shadow: none;
}
.select2-container-disabled .select2-choice {
cursor: default;
opacity: 0.7;
filter: "alpha(opacity=70)";
}
.select2-chosen {
overflow: hidden;
text-align: left;
}
.select2-arrow {
display: inline-block;
border-width: 8px 6px;
border-color: #34495e transparent;
border-style: solid;
border-bottom-style: none;
position: absolute;
right: 16px;
top: 42%;
-webkit-transform: scale(1.001);
transform: scale(1.001);
}
.select2-arrow b {
display: none;
}
.btn-lg .select2-arrow, .btn-group-lg > .btn .select2-arrow {
border-top-width: 8px;
border-right-width: 6px;
border-left-width: 6px;
}
.select-default .select2-choice {
color: white;
background-color: #bdc3c7;
}
.select-default .select2-choice:hover, .select-default .select2-choice.hover, .select-default .select2-choice:focus, .select-default .select2-choice:active {
color: white;
background-color: #cacfd2;
border-color: #cacfd2;
}
.select-default .select2-choice:active {
background: #a1a6a9;
border-color: #a1a6a9;
}
.select2-container-disabled.select-default .select2-choice, .select2-container-disabled.select-default .select2-choice:hover, .select2-container-disabled.select-default .select2-choice:focus, .select2-container-disabled.select-default .select2-choice:active {
background-color: white;
border-color: #bdc3c7;
}
.select-default .select2-choice .select2-arrow {
border-top-color: white;
}
.select-primary .select2-choice {
color: white;
background-color: #1abc9c;
}
.select-primary .select2-choice:hover, .select-primary .select2-choice.hover, .select-primary .select2-choice:focus, .select-primary .select2-choice:active {
color: white;
background-color: #48c9b0;
border-color: #48c9b0;
}
.select-primary .select2-choice:active {
background: #16a085;
border-color: #16a085;
}
.select2-container-disabled.select-primary .select2-choice, .select2-container-disabled.select-primary .select2-choice:hover, .select2-container-disabled.select-primary .select2-choice:focus, .select2-container-disabled.select-primary .select2-choice:active {
background-color: white;
border-color: #1abc9c;
}
.select-primary .select2-choice .select2-arrow {
border-top-color: white;
}
.select-info .select2-choice {
color: white;
background-color: #3498db;
}
.select-info .select2-choice:hover, .select-info .select2-choice.hover, .select-info .select2-choice:focus, .select-info .select2-choice:active {
color: white;
background-color: #5dade2;
border-color: #5dade2;
}
.select-info .select2-choice:active {
background: #2c81ba;
border-color: #2c81ba;
}
.select2-container-disabled.select-info .select2-choice, .select2-container-disabled.select-info .select2-choice:hover, .select2-container-disabled.select-info .select2-choice:focus, .select2-container-disabled.select-info .select2-choice:active {
background-color: white;
border-color: #3498db;
}
.select-info .select2-choice .select2-arrow {
border-top-color: white;
}
.select-danger .select2-choice {
color: white;
background-color: #e74c3c;
}
.select-danger .select2-choice:hover, .select-danger .select2-choice.hover, .select-danger .select2-choice:focus, .select-danger .select2-choice:active {
color: white;
background-color: #ec7063;
border-color: #ec7063;
}
.select-danger .select2-choice:active {
background: #c44133;
border-color: #c44133;
}
.select2-container-disabled.select-danger .select2-choice, .select2-container-disabled.select-danger .select2-choice:hover, .select2-container-disabled.select-danger .select2-choice:focus, .select2-container-disabled.select-danger .select2-choice:active {
background-color: white;
border-color: #e74c3c;
}
.select-danger .select2-choice .select2-arrow {
border-top-color: white;
}
.select-success .select2-choice {
color: white;
background-color: #2ecc71;
}
.select-success .select2-choice:hover, .select-success .select2-choice.hover, .select-success .select2-choice:focus, .select-success .select2-choice:active {
color: white;
background-color: #58d68d;
border-color: #58d68d;
}
.select-success .select2-choice:active {
background: #27ad60;
border-color: #27ad60;
}
.select2-container-disabled.select-success .select2-choice, .select2-container-disabled.select-success .select2-choice:hover, .select2-container-disabled.select-success .select2-choice:focus, .select2-container-disabled.select-success .select2-choice:active {
background-color: white;
border-color: #2ecc71;
}
.select-success .select2-choice .select2-arrow {
border-top-color: white;
}
.select-warning .select2-choice {
color: white;
background-color: #f1c40f;
}
.select-warning .select2-choice:hover, .select-warning .select2-choice.hover, .select-warning .select2-choice:focus, .select-warning .select2-choice:active {
color: white;
background-color: #f4d313;
border-color: #f4d313;
}
.select-warning .select2-choice:active {
background: #cda70d;
border-color: #cda70d;
}
.select2-container-disabled.select-warning .select2-choice, .select2-container-disabled.select-warning .select2-choice:hover, .select2-container-disabled.select-warning .select2-choice:focus, .select2-container-disabled.select-warning .select2-choice:active {
background-color: white;
border-color: #f1c40f;
}
.select-warning .select2-choice .select2-arrow {
border-top-color: white;
}
.select-inverse .select2-choice {
color: white;
background-color: #34495e;
}
.select-inverse .select2-choice:hover, .select-inverse .select2-choice.hover, .select-inverse .select2-choice:focus, .select-inverse .select2-choice:active {
color: white;
background-color: #415b76;
border-color: #415b76;
}
.select-inverse .select2-choice:active {
background: #2c3e50;
border-color: #2c3e50;
}
.select2-container-disabled.select-inverse .select2-choice, .select2-container-disabled.select-inverse .select2-choice:hover, .select2-container-disabled.select-inverse .select2-choice:focus, .select2-container-disabled.select-inverse .select2-choice:active {
background-color: white;
border-color: #34495e;
}
.select-inverse .select2-choice .select2-arrow {
border-top-color: white;
}
.select2-container.select-hg > .select2-choice {
padding: 13px 20px;
font-size: 22px;
line-height: 1.227;
border-radius: 6px;
padding-right: 49px;
min-height: 53px;
}
.select2-container.select-hg > .select2-choice .filter-option {
left: 20px;
right: 40px;
top: 13px;
}
.select2-container.select-hg > .select2-choice .select2-arrow {
right: 20px;
}
.select2-container.select-hg > .select2-choice > [class^="fui-"] {
top: 2px;
}
.select2-container.select-lg > .select2-choice {
padding: 10px 19px;
font-size: 17px;
line-height: 1.471;
border-radius: 6px;
padding-right: 47px;
min-height: 45px;
}
.select2-container.select-lg > .select2-choice .filter-option {
left: 18px;
right: 38px;
}
.select2-container.select-sm > .select2-choice {
padding: 9px 13px;
font-size: 13px;
line-height: 1.385;
border-radius: 4px;
padding-right: 35px;
min-height: 36px;
}
.select2-container.select-sm > .select2-choice .filter-option {
left: 13px;
right: 33px;
}
.select2-container.select-sm > .select2-choice .select2-arrow {
right: 13px;
}
.multiselect {
position: relative;
display: inline-block;
vertical-align: top;
min-width: 220px;
width: auto;
background-color: white;
border-radius: 6px;
text-align: left;
font-size: 0;
width: auto;
max-width: none;
}
.form-group .multiselect {
width: 100%;
}
.form-group .multiselect > .select2-choice {
width: 100%;
}
.multiselect.form-control, .select2-search input.multiselect[type="text"] {
height: auto;
padding: 6px 1px 1px 6px;
border: 2px solid #ebedef;
}
.select2-choices {
margin: 0;
padding: 0;
position: relative;
cursor: text;
overflow: hidden;
min-height: 26px;
}
.select2-choices:before, .select2-choices:after {
content: " ";
display: table;
}
.select2-choices:after {
clear: both;
}
.select2-choices li {
float: left;
list-style: none;
}
.select2-search-choice {
border-radius: 4px;
color: white;
font-size: 13px;
cursor: pointer;
display: inline-block;
position: relative;
vertical-align: middle;
overflow: hidden;
margin: 0 5px 4px 0;
line-height: 15px;
height: 27px;
padding: 6px 21px;
transition: .25s linear;
}
.select2-search-choice:hover {
padding-right: 28px;
padding-left: 14px;
color: white;
}
.select2-search-choice:hover .select2-search-choice-close {
opacity: 1;
-webkit-filter: none;
filter: none;
color: inherit;
}
.select2-container-disabled .select2-search-choice {
cursor: default;
}
.select2-container-disabled .select2-search-choice:hover {
padding-right: 21px;
padding-left: 21px;
cursor: default;
}
.select2-search-choice .select2-search-choice-close {
color: white;
cursor: pointer;
font-size: 12px;
position: absolute;
right: 0;
text-align: right;
text-decoration: none;
top: 0;
width: 100%;
bottom: 0;
padding-right: 10px;
z-index: 2;
opacity: 0;
filter: "alpha(opacity=0)";
transition: opacity .25s linear;
}
.select2-search-choice .select2-search-choice-close:after {
content: "\e609";
font-family: "Flat-UI-Pro-Icons";
line-height: 27px;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.select2-container-disabled .select2-search-choice .select2-search-choice-close {
display: none;
}
.select2-search-field input[type="text"] {
color: #34495e;
font-size: 14px;
border: none;
box-shadow: none;
outline: none;
background-color: transparent;
padding: 0;
margin: 0;
width: auto;
max-width: inherit;
min-width: 80px;
vertical-align: top;
height: 29px;
}
.select2-search-field:first-child input[type="text"] {
height: 23px;
margin: 3px 0 5px;
}
.select2-container-multi.multiselect-default {
border-color: #bdc3c7;
}
.select2-container-multi.multiselect-default .select2-search-choice {
background-color: #bdc3c7;
}
.select2-container-multi.multiselect-default .select2-search-choice:hover {
background-color: #cacfd2;
}
.select2-container-disabled.select2-container-multi.multiselect-default .select2-search-choice, .select2-container-disabled.select2-container-multi.multiselect-default .select2-search-choice:hover, .select2-container-disabled.select2-container-multi.multiselect-default .select2-search-choice:focus, .select2-container-disabled.select2-container-multi.multiselect-default .select2-search-choice:active {
background-color: #bdc3c7;
border-color: #bdc3c7;
}
.select2-container-disabled.select2-container-multi.multiselect-default {
border-color: #bdc3c7;
}
.select2-container-multi.multiselect-primary {
border-color: #1abc9c;
}
.select2-container-multi.multiselect-primary .select2-search-choice {
background-color: #1abc9c;
}
.select2-container-multi.multiselect-primary .select2-search-choice:hover {
background-color: #48c9b0;
}
.select2-container-disabled.select2-container-multi.multiselect-primary .select2-search-choice, .select2-container-disabled.select2-container-multi.multiselect-primary .select2-search-choice:hover, .select2-container-disabled.select2-container-multi.multiselect-primary .select2-search-choice:focus, .select2-container-disabled.select2-container-multi.multiselect-primary .select2-search-choice:active {
background-color: #bdc3c7;
border-color: #bdc3c7;
}
.select2-container-disabled.select2-container-multi.multiselect-primary {
border-color: #bdc3c7;
}
.select2-container-multi.multiselect-info {
border-color: #3498db;
}
.select2-container-multi.multiselect-info .select2-search-choice {
background-color: #3498db;
}
.select2-container-multi.multiselect-info .select2-search-choice:hover {
background-color: #5dade2;
}
.select2-container-disabled.select2-container-multi.multiselect-info .select2-search-choice, .select2-container-disabled.select2-container-multi.multiselect-info .select2-search-choice:hover, .select2-container-disabled.select2-container-multi.multiselect-info .select2-search-choice:focus, .select2-container-disabled.select2-container-multi.multiselect-info .select2-search-choice:active {
background-color: #bdc3c7;
border-color: #bdc3c7;
}
.select2-container-disabled.select2-container-multi.multiselect-info {
border-color: #bdc3c7;
}
.select2-container-multi.multiselect-danger {
border-color: #e74c3c;
}
.select2-container-multi.multiselect-danger .select2-search-choice {
background-color: #e74c3c;
}
.select2-container-multi.multiselect-danger .select2-search-choice:hover {
background-color: #ec7063;
}
.select2-container-disabled.select2-container-multi.multiselect-danger .select2-search-choice, .select2-container-disabled.select2-container-multi.multiselect-danger .select2-search-choice:hover, .select2-container-disabled.select2-container-multi.multiselect-danger .select2-search-choice:focus, .select2-container-disabled.select2-container-multi.multiselect-danger .select2-search-choice:active {
background-color: #bdc3c7;
border-color: #bdc3c7;
}
.select2-container-disabled.select2-container-multi.multiselect-danger {
border-color: #bdc3c7;
}
.select2-container-multi.multiselect-success {
border-color: #2ecc71;
}
.select2-container-multi.multiselect-success .select2-search-choice {
background-color: #2ecc71;
}
.select2-container-multi.multiselect-success .select2-search-choice:hover {
background-color: #58d68d;
}
.select2-container-disabled.select2-container-multi.multiselect-success .select2-search-choice, .select2-container-disabled.select2-container-multi.multiselect-success .select2-search-choice:hover, .select2-container-disabled.select2-container-multi.multiselect-success .select2-search-choice:focus, .select2-container-disabled.select2-container-multi.multiselect-success .select2-search-choice:active {
background-color: #bdc3c7;
border-color: #bdc3c7;
}
.select2-container-disabled.select2-container-multi.multiselect-success {
border-color: #bdc3c7;
}
.select2-container-multi.multiselect-warning {
border-color: #f1c40f;
}
.select2-container-multi.multiselect-warning .select2-search-choice {
background-color: #f1c40f;
}
.select2-container-multi.multiselect-warning .select2-search-choice:hover {
background-color: #f4d313;
}
.select2-container-disabled.select2-container-multi.multiselect-warning .select2-search-choice, .select2-container-disabled.select2-container-multi.multiselect-warning .select2-search-choice:hover, .select2-container-disabled.select2-container-multi.multiselect-warning .select2-search-choice:focus, .select2-container-disabled.select2-container-multi.multiselect-warning .select2-search-choice:active {
background-color: #bdc3c7;
border-color: #bdc3c7;
}
.select2-container-disabled.select2-container-multi.multiselect-warning {
border-color: #bdc3c7;
}
.select2-container-multi.multiselect-inverse {
border-color: #34495e;
}
.select2-container-multi.multiselect-inverse .select2-search-choice {
background-color: #34495e;
}
.select2-container-multi.multiselect-inverse .select2-search-choice:hover {
background-color: #415b76;
}
.select2-container-disabled.select2-container-multi.multiselect-inverse .select2-search-choice, .select2-container-disabled.select2-container-multi.multiselect-inverse .select2-search-choice:hover, .select2-container-disabled.select2-container-multi.multiselect-inverse .select2-search-choice:focus, .select2-container-disabled.select2-container-multi.multiselect-inverse .select2-search-choice:active {
background-color: #bdc3c7;
border-color: #bdc3c7;
}
.select2-container-disabled.select2-container-multi.multiselect-inverse {
border-color: #bdc3c7;
}
.select2-drop {
min-width: 220px;
margin-top: 9px;
visibility: visible;
opacity: 1;
-webkit-filter: none;
filter: none;
border-radius: 4px;
font-size: 14px;
position: absolute;
z-index: 9999;
top: 100%;
transition: none;
}
.select2-drop.select2-drop-above {
margin-top: -9px;
}
.select2-drop.select2-drop-auto-width {
width: auto;
}
.select2-drop.show-select-search .select2-search {
display: block;
}
.select2-drop.show-select-search .select2-search + .select2-results > li:first-child .select2-result-label {
border-radius: 0;
}
.select2-drop .select2-results {
padding: 0;
margin: 0;
list-style: none;
}
.select2-drop .select2-results > li:first-child > .select2-result-label {
border-top-right-radius: 4px;
border-top-left-radius: 4px;
}
.select2-drop .select2-results > li:last-child > .select2-result-label {
border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px;
}
.select2-drop .select2-results .select2-result-label {
padding: 3px 7px 4px;
margin: 0;
cursor: pointer;
min-height: 1em;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.select2-drop .select2-results .select2-result-label img {
height: auto;
max-width: 100%;
}
.select2-drop .select2-result-sub {
padding: 0;
margin: 0;
list-style: none;
}
.select2-drop .select2-result-sub > li:last-child > .select2-result-label {
border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px;
}
.select2-drop .select2-no-results {
padding: 8px 15px;
}
.select2-drop .select2-result-label {
line-height: 1.429;
padding: 8px 16px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
transition: background-color .25s, color .25s;
}
.select2-drop .select2-result-selectable .select2-result-label {
color: rgba(52, 73, 94, 0.85);
cursor: pointer;
}
.select2-drop .select2-result-selectable .select2-result-label:focus, .select2-drop .select2-result-selectable .select2-result-label:hover, .select2-drop .select2-result-selectable .select2-result-label:active {
background-color: #e1e4e7;
color: inherit;
outline: none;
}
.select2-drop .select2-disabled {
cursor: default;
color: rgba(52, 73, 94, 0.95);
opacity: 0.4;
filter: "alpha(opacity=40)";
}
.select2-drop .select2-disabled:focus, .select2-drop .select2-disabled:hover, .select2-drop .select2-disabled:active {
background: none !important;
}
.select2-drop .select2-highlighted > .select2-result-label {
background: #1abc9c;
color: white;
}
.select2-drop .select2-result-with-children > .select2-result-label {
font-size: 13px;
text-transform: uppercase;
color: rgba(52, 73, 94, 0.6);
margin-top: 5px;
}
.select2-drop .select2-result-with-children + .select2-result-with-children > .select2-result-label {
margin-top: 11px;
}
.select2-results {
max-height: 200px;
position: relative;
overflow-x: hidden;
overflow-y: auto;
-webkit-tap-highlight-color: transparent;
}
.select2-results li {
list-style: none;
display: list-item;
background-image: none;
}
.select2-search {
padding: 8px 6px;
width: 100%;
display: none;
display: inline-block;
white-space: nowrap;
}
.select2-search input[type="text"] {
width: 100%;
height: auto !important;
}
.select-inverse-dropdown {
background-color: #34495e;
color: rgba(255, 255, 255, 0.75);
}
.select-inverse-dropdown .select2-results .select2-result-label {
color: white;
}
.select-inverse-dropdown .select2-results .select2-result-label:focus, .select-inverse-dropdown .select2-results .select2-result-label:hover, .select-inverse-dropdown .select2-results .select2-result-label:active {
background: #2c3e50;
}
.select-inverse-dropdown .select2-results.select2-disabled .select2-result-label:hover {
color: white;
}
.select-inverse-dropdown .select2-result-with-children > .select2-result-label {
color: rgba(255, 255, 255, 0.6);
}
.select-inverse-dropdown .select2-result-with-children > .select2-result-label:hover {
color: white;
background: none !important;
}
.select2-drop-multi {
border-radius: 6px;
}
.select2-drop-multi .select2-results {
padding: 2px 0;
}
.select2-drop-multi .select2-result {
padding: 2px 4px;
}
.select2-drop-multi .select2-result-label {
border-radius: 4px;
}
.select2-drop-multi .select2-selected {
display: none;
}
.select2-results .select2-no-results,
.select2-results .select2-searching,
.select2-results .select2-ajax-error,
.select2-results .select2-selection-limit {
padding: 10px 0 5px 10px;
}
.select2-offscreen,
.select2-offscreen:focus {
clip: rect(0 0 0 0) !important;
width: 1px !important;
height: 1px !important;
border: 0 !important;
margin: 0 !important;
padding: 0 !important;
overflow: hidden !important;
position: absolute !important;
outline: 0 !important;
left: 0 !important;
top: 0 !important;
}
.select2-hidden-accessible {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
.select2-offscreen,
.select2-offscreen:focus {
clip: rect(0 0 0 0) !important;
width: 1px !important;
height: 1px !important;
border: 0 !important;
margin: 0 !important;
padding: 0 !important;
overflow: hidden !important;
position: absolute !important;
outline: 0 !important;
left: 0 !important;
top: 0 !important;
}
.select2-display-none {
display: none;
}
.select2-measure-scrollbar {
position: absolute;
top: -10000px;
left: -10000px;
width: 100px;
height: 100px;
overflow: scroll;
}
.select2-drop-mask {
border: 0;
margin: 0;
padding: 0;
position: fixed;
left: 0;
top: 0;
min-height: 100%;
min-width: 100%;
height: auto;
width: auto;
z-index: 9998;
/* styles required for IE to work */
background-color: #fff;
opacity: 0;
filter: "alpha(opacity=0)";
}
.navbar {
font-size: 16px;
min-height: 53px;
margin-bottom: 30px;
border: none;
border-radius: 6px;
}
@media (min-width: 992px) {
.navbar {
padding: 0;
}
}
@media (min-width: 768px) {
.navbar-header {
float: left;
}
}
.navbar-collapse {
box-shadow: none;
}
.navbar-collapse .navbar-form:first-child {
border: none;
}
@media (min-width: 768px) {
.navbar-collapse {
padding-right: 21px;
}
.navbar-collapse .navbar-nav.navbar-left:first-child {
margin-left: -21px;
}
.navbar-collapse .navbar-nav.navbar-left:first-child > li:first-child a {
border-bottom-left-radius: 6px;
border-top-left-radius: 6px;
}
.navbar-collapse .navbar-nav.navbar-right:last-child {
margin-right: -21px;
}
.navbar-collapse .navbar-nav.navbar-right:last-child > .dropdown:last-child > a {
border-radius: 0 6px 6px 0;
}
.navbar-fixed-top .navbar-collapse .navbar-form.navbar-right:last-child,
.navbar-fixed-bottom .navbar-collapse .navbar-form.navbar-right:last-child {
margin-right: 0;
}
}
@media (max-width: 767px) {
.navbar-collapse .navbar-nav.navbar-right:last-child {
margin-bottom: 3px;
}
}
.navbar .container,
.navbar .container-fluid {
padding-left: 21px;
padding-right: 21px;
}
.navbar .container > .navbar-header,
.navbar .container > .navbar-collapse,
.navbar .container-fluid > .navbar-header,
.navbar .container-fluid > .navbar-collapse {
margin-right: -21px;
margin-left: -21px;
}
@media (min-width: 768px) {
.navbar .container > .navbar-header,
.navbar .container > .navbar-collapse,
.navbar .container-fluid > .navbar-header,
.navbar .container-fluid > .navbar-collapse {
margin-right: 0;
margin-left: 0;
}
}
.navbar-static-top {
z-index: 1000;
border-width: 0;
border-radius: 0;
}
.navbar-fixed-top,
.navbar-fixed-bottom {
z-index: 1030;
border-radius: 0;
}
.navbar-fixed-top {
border-width: 0;
}
.navbar-fixed-bottom {
margin-bottom: 0;
border-width: 0;
}
.navbar-brand {
font-size: 24px;
height: 53px;
font-weight: 700;
margin-right: 0;
}
@media (min-width: 768px) {
.navbar-brand {
line-height: 1.042;
padding: 14px 21px;
}
}
.navbar-brand > [class*="fui-"] {
font-size: 19px;
line-height: 1.263;
vertical-align: top;
}
@media (min-width: 768px) {
.navbar > .container .navbar-brand,
.navbar > .container-fluid .navbar-brand {
margin-left: -21px;
}
}
.navbar-toggler {
border: none;
color: #34495e;
margin: 0 0 0 21px;
padding: 0 21px;
height: 53px;
line-height: 53px;
background: none;
}
.navbar-toggler:before {
color: #16a085;
content: "\e61a";
font-family: "Flat-UI-Pro-Icons";
font-size: 22px;
font-style: normal;
font-weight: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
transition: color .25s linear;
}
.navbar-toggler:hover, .navbar-toggler:focus {
outline: none;
}
.navbar-toggler:hover:before, .navbar-toggler:focus:before {
color: #1abc9c;
}
.navbar-toggler .icon-bar {
display: none;
}
.navbar-nav {
margin: 0;
}
.navbar-nav > li > a {
font-size: 16px;
padding: 15px 0;
line-height: 23px;
font-weight: 700;
position: relative;
display: block;
}
@media (min-width: 768px) {
.navbar-nav > li > a {
padding-left: 21px;
padding-right: 21px;
}
}
.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus,
.navbar-nav .show > a:focus,
.navbar-nav .show > a:hover {
background-color: transparent;
}
.navbar-nav [class^="fui-"] {
line-height: 20px;
position: relative;
top: 1px;
}
@media (max-width: 1199.98px) {
.navbar-nav [class^="fui-"] {
margin-left: 5px;
}
}
.navbar-nav .visible-sm > [class^="fui-"],
.navbar-nav .visible-xs > [class^="fui-"] {
margin-left: 12px;
}
.navbar-input, .navbar-form .form-control, .navbar-form .select2-search input[type="text"], .select2-search .navbar-form input[type="text"],
.navbar-form .input-group-text,
.navbar-form .btn {
height: 35px;
padding: 5px 10px;
font-size: 13px;
line-height: 1.4;
border-radius: 6px;
}
.navbar-form .btn {
margin: 0;
}
.navbar-form .input-group .form-control:first-child, .navbar-form .input-group .select2-search input[type="text"]:first-child, .select2-search .navbar-form .input-group input[type="text"]:first-child,
.navbar-form .input-group-text:first-child,
.navbar-form .input-group-btn:first-child > .btn,
.navbar-form .input-group-btn:first-child > .dropdown-toggle,
.navbar-form .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) {
border-bottom-right-radius: 0;
border-top-right-radius: 0;
}
.navbar-form .input-group .form-control:last-child, .navbar-form .input-group .select2-search input[type="text"]:last-child, .select2-search .navbar-form .input-group input[type="text"]:last-child,
.navbar-form .input-group-text:last-child,
.navbar-form .input-group-btn:last-child > .btn,
.navbar-form .input-group-btn:last-child > .dropdown-toggle,
.navbar-form .input-group-btn:first-child > .btn:not(:first-child) {
border-bottom-left-radius: 0;
border-top-left-radius: 0;
}
.navbar-form .form-control, .navbar-form .select2-search input[type="text"], .select2-search .navbar-form input[type="text"] {
font-size: 15px;
border-radius: 5px;
display: table-cell;
}
.navbar-form .form-group ~ .btn {
font-size: 15px;
border-radius: 5px;
margin-left: 5px;
}
.navbar-form .form-group + .btn {
margin-right: 5px;
}
@media (min-width: 768px) {
.navbar-form .input-group {
width: 195px;
}
}
@media (max-width: 767px) {
.navbar-form .form-group {
margin-bottom: 7px;
}
.navbar-form .form-group:last-child {
margin-bottom: 0;
}
.navbar-form .form-group + .btn {
margin-left: 0;
}
}
.navbar-nav > li > .dropdown-menu, .navbar-nav > li > .select2-drop {
min-width: 100%;
border-radius: 4px;
}
@media (max-width: 1199.98px) {
.navbar-nav > li > .dropdown-menu, .navbar-nav > li > .select2-drop {
margin-top: 0;
}
}
@media (max-width: 767px) {
.navbar-nav > li.show > .dropdown-menu, .navbar-nav > li.show > .select2-drop {
margin-top: 0 !important;
}
}
.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu, .navbar-fixed-bottom .navbar-nav > li > .select2-drop {
border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px;
}
.navbar-nav > .show > .dropdown-toggle,
.navbar-nav > .show > .dropdown-toggle:focus,
.navbar-nav > .show > .dropdown-toggle:hover {
background-color: transparent;
}
.navbar-text {
font-size: 16px;
line-height: 1.438;
color: #34495e;
margin-top: 0;
margin-bottom: 0;
padding-top: 15px;
padding-bottom: 15px;
}
@media (min-width: 768px) {
.navbar-text {
margin-left: 21px;
margin-right: 21px;
}
.navbar-text.navbar-right:last-child {
margin-right: 0;
}
}
.navbar-btn {
margin-top: 6px;
margin-bottom: 6px;
}
.navbar-btn.btn-sm, .btn-group-sm > .navbar-btn.btn {
margin-top: 9px;
margin-bottom: 8px;
}
.navbar-btn.btn-xs, .btn-group-xs > .navbar-btn.btn {
margin-top: 14px;
margin-bottom: 14px;
}
.navbar-unread,
.navbar-new {
font-family: "Lato", Helvetica, Arial, sans-serif;
background-color: #1abc9c;
border-radius: 50%;
color: white;
font-size: 0;
font-weight: 700;
min-height: 6px;
min-width: 6px;
line-height: 1;
text-align: center;
z-index: 10;
position: absolute;
top: 35%;
margin-left: 5px;
}
.active .navbar-unread, .active
.navbar-new {
background-color: white;
display: none;
}
.navbar-new {
background-color: #e74c3c;
font-size: 12px;
height: 18px;
line-height: 17px;
min-width: 18px;
padding: 0 1px;
width: auto;
-webkit-font-smoothing: subpixel-antialiased;
-webkit-transform: translatey(-50%);
transform: translatey(-50%);
}
.navbar-default {
background-color: #edf0f1;
}
.navbar-default .navbar-brand {
color: #34495e;
}
.navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus {
color: #1abc9c;
background-color: transparent;
}
.navbar-default .navbar-toggler:before {
color: #34495e;
}
.navbar-default .navbar-toggler:hover, .navbar-default .navbar-toggler:focus {
background-color: transparent;
}
.navbar-default .navbar-toggler:hover:before, .navbar-default .navbar-toggler:focus:before {
color: #1abc9c;
}
.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
border-color: #e5e9ea;
border-width: 2px;
}
.navbar-default .navbar-nav > li > a {
color: #34495e;
}
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
color: #1abc9c;
background-color: transparent;
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
color: #1abc9c;
background-color: transparent;
}
.navbar-default .navbar-nav > .disabled > a, .navbar-default .navbar-nav > .disabled > a:hover, .navbar-default .navbar-nav > .disabled > a:focus {
color: #ccc;
background-color: transparent;
}
.navbar-default .navbar-nav > .show > a, .navbar-default .navbar-nav > .show > a:hover, .navbar-default .navbar-nav > .show > a:focus {
background-color: transparent;
color: #1abc9c;
}
@media (max-width: 767px) {
.navbar-default .navbar-nav .show .dropdown-menu > li > a, .navbar-default .navbar-nav .show .select2-drop > li > a {
color: #34495e;
}
.navbar-default .navbar-nav .show .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .show .select2-drop > li > a:hover, .navbar-default .navbar-nav .show .dropdown-menu > li > a:focus, .navbar-default .navbar-nav .show .select2-drop > li > a:focus {
color: #1abc9c;
background-color: transparent;
}
.navbar-default .navbar-nav .show .dropdown-menu > .active > a, .navbar-default .navbar-nav .show .select2-drop > .active > a, .navbar-default .navbar-nav .show .dropdown-menu > .active > a:hover, .navbar-default .navbar-nav .show .select2-drop > .active > a:hover, .navbar-default .navbar-nav .show .dropdown-menu > .active > a:focus, .navbar-default .navbar-nav .show .select2-drop > .active > a:focus {
color: #1abc9c;
background-color: transparent;
}
.navbar-default .navbar-nav .show .dropdown-menu > .disabled > a, .navbar-default .navbar-nav .show .select2-drop > .disabled > a, .navbar-default .navbar-nav .show .dropdown-menu > .disabled > a:hover, .navbar-default .navbar-nav .show .select2-drop > .disabled > a:hover, .navbar-default .navbar-nav .show .dropdown-menu > .disabled > a:focus, .navbar-default .navbar-nav .show .select2-drop > .disabled > a:focus {
color: #ccc;
background-color: transparent;
}
}
.navbar-default .navbar-form .form-control, .navbar-default .navbar-form .select2-search input[type="text"], .select2-search .navbar-default .navbar-form input[type="text"] {
border-color: #fff;
}
.navbar-default .navbar-form .form-control::-moz-placeholder, .navbar-default .navbar-form .select2-search input[type="text"]::-moz-placeholder, .select2-search .navbar-default .navbar-form input[type="text"]::-moz-placeholder {
color: #aeb5bf;
opacity: 1;
}
.navbar-default .navbar-form .form-control:-ms-input-placeholder, .navbar-default .navbar-form .select2-search input[type="text"]:-ms-input-placeholder, .select2-search .navbar-default .navbar-form input[type="text"]:-ms-input-placeholder {
color: #aeb5bf;
}
.navbar-default .navbar-form .form-control::-webkit-input-placeholder, .navbar-default .navbar-form .select2-search input[type="text"]::-webkit-input-placeholder, .select2-search .navbar-default .navbar-form input[type="text"]::-webkit-input-placeholder {
color: #aeb5bf;
}
.navbar-default .navbar-form .form-control:focus, .navbar-default .navbar-form .select2-search input[type="text"]:focus, .select2-search .navbar-default .navbar-form input[type="text"]:focus {
border-color: #1abc9c;
color: #1abc9c;
}
.navbar-default .navbar-form .form-control:first-child, .navbar-default .navbar-form .select2-search input[type="text"]:first-child, .select2-search .navbar-default .navbar-form input[type="text"]:first-child {
border-right-width: 0;
}
.navbar-default .navbar-form .input-group-btn .btn {
border-color: transparent;
color: #afb6be;
}
.navbar-default .navbar-form .input-group.focus .form-control, .navbar-default .navbar-form .input-group.focus .select2-search input[type="text"], .select2-search .navbar-default .navbar-form .input-group.focus input[type="text"],
.navbar-default .navbar-form .input-group.focus .input-group-btn .btn {
border-color: #1abc9c;
color: #1abc9c;
}
.navbar-default .navbar-text {
color: #34495e;
}
.navbar-default .navbar-link {
color: #34495e;
}
.navbar-default .navbar-link:hover {
color: #1abc9c;
}
.navbar-default .btn-link {
color: #34495e;
}
.navbar-default .btn-link:hover, .navbar-default .btn-link:focus {
color: #1abc9c;
}
.navbar-default .btn-link[disabled]:hover, .navbar-default .btn-link[disabled]:focus,
fieldset[disabled] .navbar-default .btn-link:hover,
fieldset[disabled] .navbar-default .btn-link:focus {
color: #ccc;
}
.navbar-inverse {
background-color: #34495e;
}
.navbar-inverse .navbar-brand {
color: white;
}
.navbar-inverse .navbar-brand:hover, .navbar-inverse .navbar-brand:focus {
color: #1abc9c;
background-color: transparent;
}
.navbar-inverse .navbar-toggler:before {
color: white;
}
.navbar-inverse .navbar-toggler:hover, .navbar-inverse .navbar-toggler:focus {
background-color: transparent;
}
.navbar-inverse .navbar-toggler:hover:before, .navbar-inverse .navbar-toggler:focus:before {
color: #1abc9c;
}
.navbar-inverse .navbar-collapse {
border-color: #2f4154;
border-width: 2px;
}
.navbar-inverse .navbar-nav > li > a {
color: white;
}
.navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus {
color: #1abc9c;
background-color: transparent;
}
.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus {
color: white;
background-color: #1abc9c;
}
.navbar-inverse .navbar-nav > .disabled > a, .navbar-inverse .navbar-nav > .disabled > a:hover, .navbar-inverse .navbar-nav > .disabled > a:focus {
color: #444;
background-color: transparent;
}
.navbar-inverse .navbar-nav > .show > a, .navbar-inverse .navbar-nav > .show > a:hover, .navbar-inverse .navbar-nav > .show > a:focus {
background-color: #1abc9c;
color: white;
border-left-color: transparent;
}
.navbar-inverse .navbar-nav > .show > .dropdown-menu, .navbar-inverse .navbar-nav > .show > .select2-drop {
background-color: #34495e;
padding: 3px 4px;
}
.navbar-inverse .navbar-nav > .show > .dropdown-menu > li > a, .navbar-inverse .navbar-nav > .show > .select2-drop > li > a {
color: #e1e4e7;
border-radius: 4px;
padding: 6px 9px;
}
.navbar-inverse .navbar-nav > .show > .dropdown-menu > li > a:hover, .navbar-inverse .navbar-nav > .show > .select2-drop > li > a:hover, .navbar-inverse .navbar-nav > .show > .dropdown-menu > li > a:focus, .navbar-inverse .navbar-nav > .show > .select2-drop > li > a:focus {
color: white;
background-color: #1abc9c;
}
.navbar-inverse .navbar-nav > .show > .dropdown-menu > .divider, .navbar-inverse .navbar-nav > .show > .select2-drop > .divider {
background-color: #2f4154;
height: 2px;
margin-left: -4px;
margin-right: -4px;
}
.navbar-inverse .navbar-nav .dropdown-toggle:after {
border-top-color: #4b6075;
border-bottom-color: #4b6075;
}
.navbar-inverse .navbar-nav .dropdown-toggle:hover:after, .navbar-inverse .navbar-nav .dropdown-toggle:focus:after {
border-top-color: #1abc9c;
border-bottom-color: #1abc9c;
}
@media (max-width: 767px) {
.navbar-inverse .navbar-nav > li > a {
border-left-width: 0;
}
.navbar-inverse .navbar-nav .show .dropdown-menu > li > a, .navbar-inverse .navbar-nav .show .select2-drop > li > a {
color: white;
}
.navbar-inverse .navbar-nav .show .dropdown-menu > li > a:hover, .navbar-inverse .navbar-nav .show .select2-drop > li > a:hover, .navbar-inverse .navbar-nav .show .dropdown-menu > li > a:focus, .navbar-inverse .navbar-nav .show .select2-drop > li > a:focus {
color: #1abc9c;
background-color: transparent;
}
.navbar-inverse .navbar-nav .show .dropdown-menu > .active > a, .navbar-inverse .navbar-nav .show .select2-drop > .active > a, .navbar-inverse .navbar-nav .show .dropdown-menu > .active > a:hover, .navbar-inverse .navbar-nav .show .select2-drop > .active > a:hover, .navbar-inverse .navbar-nav .show .dropdown-menu > .active > a:focus, .navbar-inverse .navbar-nav .show .select2-drop > .active > a:focus {
color: white;
background-color: #1abc9c;
}
.navbar-inverse .navbar-nav .show .dropdown-menu > .disabled > a, .navbar-inverse .navbar-nav .show .select2-drop > .disabled > a, .navbar-inverse .navbar-nav .show .dropdown-menu > .disabled > a:hover, .navbar-inverse .navbar-nav .show .select2-drop > .disabled > a:hover, .navbar-inverse .navbar-nav .show .dropdown-menu > .disabled > a:focus, .navbar-inverse .navbar-nav .show .select2-drop > .disabled > a:focus {
color: #444;
background-color: transparent;
}
.navbar-inverse .navbar-nav .dropdown-menu .divider, .navbar-inverse .navbar-nav .select2-drop .divider {
background-color: #2f4154;
}
}
.navbar-inverse .navbar-form .form-control, .navbar-inverse .navbar-form .select2-search input[type="text"], .select2-search .navbar-inverse .navbar-form input[type="text"] {
color: #536a81;
border-color: #293a4a;
background-color: #293a4a;
}
.navbar-inverse .navbar-form .form-control::-moz-placeholder, .navbar-inverse .navbar-form .select2-search input[type="text"]::-moz-placeholder, .select2-search .navbar-inverse .navbar-form input[type="text"]::-moz-placeholder {
color: #536a81;
opacity: 1;
}
.navbar-inverse .navbar-form .form-control:-ms-input-placeholder, .navbar-inverse .navbar-form .select2-search input[type="text"]:-ms-input-placeholder, .select2-search .navbar-inverse .navbar-form input[type="text"]:-ms-input-placeholder {
color: #536a81;
}
.navbar-inverse .navbar-form .form-control::-webkit-input-placeholder, .navbar-inverse .navbar-form .select2-search input[type="text"]::-webkit-input-placeholder, .select2-search .navbar-inverse .navbar-form input[type="text"]::-webkit-input-placeholder {
color: #536a81;
}
.navbar-inverse .navbar-form .form-control:focus, .navbar-inverse .navbar-form .select2-search input[type="text"]:focus, .select2-search .navbar-inverse .navbar-form input[type="text"]:focus {
border-color: #1abc9c;
color: #1abc9c;
}
.navbar-inverse .navbar-form .form-control:first-child, .navbar-inverse .navbar-form .select2-search input[type="text"]:first-child, .select2-search .navbar-inverse .navbar-form input[type="text"]:first-child {
border-right-width: 0;
}
.navbar-inverse .navbar-form .btn {
color: white;
background-color: #1abc9c;
}
.show > .dropdown-toggle.navbar-inverse .navbar-form .btn, .navbar-inverse .navbar-form .btn:hover, .navbar-inverse .navbar-form .btn.hover, .navbar-inverse .navbar-form .btn:focus, .navbar-inverse .navbar-form .btn:active, .navbar-inverse .navbar-form .btn.active {
color: white;
background-color: #48c9b0;
border-color: #48c9b0;
}
.show > .dropdown-toggle.navbar-inverse .navbar-form .btn, .navbar-inverse .navbar-form .btn:not(:disabled):not(.disabled):active, .navbar-inverse .navbar-form .btn:not(:disabled):not(.disabled).active {
background: #16a085;
border-color: #16a085;
}
.navbar-inverse .navbar-form .btn.disabled, .navbar-inverse .navbar-form .btn.disabled:hover, .navbar-inverse .navbar-form .btn.disabled.hover, .navbar-inverse .navbar-form .btn.disabled:focus, .navbar-inverse .navbar-form .btn.disabled:active, .navbar-inverse .navbar-form .btn.disabled.active, .navbar-inverse .navbar-form .btn[disabled], .navbar-inverse .navbar-form .btn[disabled]:hover, .navbar-inverse .navbar-form .btn[disabled].hover, .navbar-inverse .navbar-form .btn[disabled]:focus, .navbar-inverse .navbar-form .btn[disabled]:active, .navbar-inverse .navbar-form .btn[disabled].active,
fieldset[disabled] .navbar-inverse .navbar-form .btn,
fieldset[disabled] .navbar-inverse .navbar-form .btn:hover,
fieldset[disabled] .navbar-inverse .navbar-form .btn.hover,
fieldset[disabled] .navbar-inverse .navbar-form .btn:focus,
fieldset[disabled] .navbar-inverse .navbar-form .btn:active,
fieldset[disabled] .navbar-inverse .navbar-form .btn.active {
background-color: #bdc3c7;
border-color: #1abc9c;
}
.navbar-inverse .navbar-form .btn .badge {
color: #1abc9c;
background-color: white;
}
.navbar-inverse .navbar-form .input-group-btn .btn {
border-color: transparent;
background-color: #293a4a;
color: #526a82;
}
.navbar-inverse .navbar-form .input-group.focus .form-control, .navbar-inverse .navbar-form .input-group.focus .select2-search input[type="text"], .select2-search .navbar-inverse .navbar-form .input-group.focus input[type="text"],
.navbar-inverse .navbar-form .input-group.focus .input-group-btn .btn {
border-color: #1abc9c;
color: #1abc9c;
}
@media (max-width: 767px) {
.navbar-inverse .navbar-form {
border-color: #2f4154;
border-width: 2px 0;
}
}
.navbar-inverse .navbar-text {
color: white;
}
.navbar-inverse .navbar-text a {
color: white;
}
.navbar-inverse .navbar-text a:hover, .navbar-inverse .navbar-text a:focus {
color: #1abc9c;
}
.navbar-inverse .navbar-btn {
color: white;
background-color: #1abc9c;
}
.show > .dropdown-toggle.navbar-inverse .navbar-btn, .navbar-inverse .navbar-btn:hover, .navbar-inverse .navbar-btn.hover, .navbar-inverse .navbar-btn:focus, .navbar-inverse .navbar-btn:active, .navbar-inverse .navbar-btn.active {
color: white;
background-color: #48c9b0;
border-color: #48c9b0;
}
.show > .dropdown-toggle.navbar-inverse .navbar-btn, .navbar-inverse .navbar-btn:not(:disabled):not(.disabled):active, .navbar-inverse .navbar-btn:not(:disabled):not(.disabled).active {
background: #16a085;
border-color: #16a085;
}
.navbar-inverse .navbar-btn.disabled, .navbar-inverse .navbar-btn.disabled:hover, .navbar-inverse .navbar-btn.disabled.hover, .navbar-inverse .navbar-btn.disabled:focus, .navbar-inverse .navbar-btn.disabled:active, .navbar-inverse .navbar-btn.disabled.active, .navbar-inverse .navbar-btn[disabled], .navbar-inverse .navbar-btn[disabled]:hover, .navbar-inverse .navbar-btn[disabled].hover, .navbar-inverse .navbar-btn[disabled]:focus, .navbar-inverse .navbar-btn[disabled]:active, .navbar-inverse .navbar-btn[disabled].active,
fieldset[disabled] .navbar-inverse .navbar-btn,
fieldset[disabled] .navbar-inverse .navbar-btn:hover,
fieldset[disabled] .navbar-inverse .navbar-btn.hover,
fieldset[disabled] .navbar-inverse .navbar-btn:focus,
fieldset[disabled] .navbar-inverse .navbar-btn:active,
fieldset[disabled] .navbar-inverse .navbar-btn.active {
background-color: #bdc3c7;
border-color: #1abc9c;
}
.navbar-inverse .navbar-btn .badge {
color: #1abc9c;
background-color: white;
}
@media (min-width: 768px) {
.navbar-embossed > .navbar-collapse {
border-radius: 6px;
box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.15);
}
.navbar-embossed.navbar-inverse .navbar-nav .active > a,
.navbar-embossed.navbar-inverse .navbar-nav .show > a {
box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.15);
}
}
.navbar-lg {
min-height: 76px;
}
@media (min-width: 768px) {
.navbar-lg .navbar-brand {
line-height: 1;
height: 76px;
padding-top: 26px;
padding-bottom: 26px;
}
}
.navbar-lg .navbar-brand > [class*="fui-"] {
font-size: 24px;
line-height: 1;
}
.navbar-lg .navbar-nav > li > a {
font-size: 15px;
line-height: 1.6;
}
@media (min-width: 768px) {
.navbar-lg .navbar-nav > li > a {
padding-top: 26px;
padding-bottom: 26px;
}
}
.navbar-lg .navbar-toggler {
height: 76px;
line-height: 76px;
}
.navbar-lg .navbar-form {
padding-top: 20.5px;
padding-bottom: 20.5px;
}
.navbar-lg .navbar-text {
padding-top: 26.5px;
padding-bottom: 26.5px;
}
.navbar-lg .navbar-btn {
margin-top: 17.5px;
margin-bottom: 17.5px;
}
.navbar-lg .navbar-btn.btn-sm, .navbar-lg .btn-group-sm > .navbar-btn.btn {
margin-top: 20.5px;
margin-bottom: 20.5px;
}
.navbar-lg .navbar-btn.btn-xs, .navbar-lg .btn-group-xs > .navbar-btn.btn {
margin-top: 25.5px;
margin-bottom: 25.5px;
}
.tile {
background-color: #eff0f2;
border-radius: 6px;
padding: 14px;
margin-bottom: 20px;
position: relative;
text-align: center;
}
.tile .tile-hot-ribbon {
display: block;
position: absolute;
right: -4px;
top: -4px;
width: 82px;
}
.tile p {
font-size: 15px;
margin-bottom: 33px;
}
.tile-image {
height: 100px;
margin: 31px 0 27px;
vertical-align: bottom;
}
.tile-image.big-illustration {
height: 111px;
margin-top: 20px;
width: 112px;
}
.tile-title {
font-size: 20px;
margin: 0;
}
.bootstrap-switch {
font-size: 15px;
line-height: 29px;
display: inline-block;
cursor: pointer;
border-radius: 30px;
position: relative;
text-align: left;
overflow: hidden;
vertical-align: middle;
width: 80px;
height: 29px;
-webkit-mask-box-image: url(data:image/svg+xml;base64,your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashd3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashMCwxNC41LDBoNTFDNzMuNSwwLDgwLDYuNSw4MCwxNC41TDgwLDE0LjV6Ii8+DQo8L3N2Zz4NCg==) 0 0 stretch;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.bootstrap-switch > div {
display: inline-block;
width: 132px;
border-radius: 30px;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
.bootstrap-switch > div > span {
font-weight: 700;
line-height: 19px;
cursor: pointer;
display: inline-block;
height: 100%;
padding-bottom: 5px;
padding-top: 5px;
text-align: center;
z-index: 1;
width: 66px;
transition: box-shadow .25s ease-out;
}
.bootstrap-switch > div > span > [class^="fui-"] {
text-indent: 0;
}
.bootstrap-switch > div > label {
cursor: pointer;
display: block;
position: absolute;
width: 100%;
height: 100%;
text-indent: -9999px;
font-size: 0;
top: 0;
left: 0;
margin: 0;
z-index: 200;
opacity: 0;
filter: "alpha(opacity=0)";
}
.bootstrap-switch input[type="radio"],
.bootstrap-switch input[type="checkbox"] {
position: absolute !important;
margin: 0;
top: 0;
left: 0;
z-index: -1;
opacity: 0;
filter: "alpha(opacity=0)";
}
.bootstrap-switch-handle-on {
border-bottom-left-radius: 30px;
border-top-left-radius: 30px;
}
.bootstrap-switch-off .bootstrap-switch-handle-on ~ .bootstrap-switch-handle-off.bootstrap-switch-default {
box-shadow: "inset 0 0 transparent, -16px 0 0 #bdc3c7";
}
.bootstrap-switch-off .bootstrap-switch-handle-on ~ .bootstrap-switch-handle-off.bootstrap-switch-default:before {
border-color: #bdc3c7;
background-color: #7f8c9a;
}
.bootstrap-switch-off .bootstrap-switch-handle-on ~ .bootstrap-switch-handle-off.bootstrap-switch-primary {
box-shadow: "inset 0 0 transparent, -16px 0 0 #34495e";
}
.bootstrap-switch-off .bootstrap-switch-handle-on ~ .bootstrap-switch-handle-off.bootstrap-switch-primary:before {
border-color: #34495e;
background-color: #1abc9c;
}
.bootstrap-switch-off .bootstrap-switch-handle-on ~ .bootstrap-switch-handle-off.bootstrap-switch-success {
box-shadow: "inset 0 0 transparent, -16px 0 0 #2ecc71";
}
.bootstrap-switch-off .bootstrap-switch-handle-on ~ .bootstrap-switch-handle-off.bootstrap-switch-success:before {
border-color: #2ecc71;
background-color: white;
}
.bootstrap-switch-off .bootstrap-switch-handle-on ~ .bootstrap-switch-handle-off.bootstrap-switch-warning {
box-shadow: "inset 0 0 transparent, -16px 0 0 #f1c40f";
}
.bootstrap-switch-off .bootstrap-switch-handle-on ~ .bootstrap-switch-handle-off.bootstrap-switch-warning:before {
border-color: #f1c40f;
background-color: white;
}
.bootstrap-switch-off .bootstrap-switch-handle-on ~ .bootstrap-switch-handle-off.bootstrap-switch-info {
box-shadow: "inset 0 0 transparent, -16px 0 0 #3498db";
}
.bootstrap-switch-off .bootstrap-switch-handle-on ~ .bootstrap-switch-handle-off.bootstrap-switch-info:before {
border-color: #3498db;
background-color: white;
}
.bootstrap-switch-off .bootstrap-switch-handle-on ~ .bootstrap-switch-handle-off.bootstrap-switch-danger {
box-shadow: "inset 0 0 transparent, -16px 0 0 #e74c3c";
}
.bootstrap-switch-off .bootstrap-switch-handle-on ~ .bootstrap-switch-handle-off.bootstrap-switch-danger:before {
border-color: #e74c3c;
background-color: white;
}
.bootstrap-switch-handle-off {
border-bottom-right-radius: 30px;
border-top-right-radius: 30px;
}
.bootstrap-switch-handle-off:before {
display: inline-block;
content: " ";
border: 4px solid transparent;
border-radius: 50%;
text-align: center;
vertical-align: top;
padding: 0;
height: 29px;
width: 29px;
position: absolute;
top: 0;
left: 51px;
z-index: 100;
background-clip: padding-box;
transition: border-color .25s ease-out, background-color .25s ease-out;
}
.bootstrap-switch-animate > div {
transition: margin-left .25s ease-out;
}
.bootstrap-switch-on > div {
margin-left: 0;
}
.bootstrap-switch-off > div {
margin-left: -51px;
}
.bootstrap-switch-disabled,
.bootstrap-switch-readonly {
opacity: 0.5;
filter: "alpha(opacity=50)";
cursor: default;
}
.bootstrap-switch-disabled > div > span,
.bootstrap-switch-disabled > div > label,
.bootstrap-switch-readonly > div > span,
.bootstrap-switch-readonly > div > label {
cursor: default !important;
}
.bootstrap-switch-focused {
outline: 0;
}
.bootstrap-switch-default {
color: white;
background-color: #bdc3c7;
}
.bootstrap-switch-default ~ .bootstrap-switch-handle-off:before {
background-color: #7f8c9a;
border-color: #bdc3c7;
}
.bootstrap-switch-on .bootstrap-switch-default ~ .bootstrap-switch-handle-off {
box-shadow: inset 16px 0 0 #bdc3c7;
}
.bootstrap-switch-primary {
color: #1abc9c;
background-color: #34495e;
}
.bootstrap-switch-primary ~ .bootstrap-switch-handle-off:before {
background-color: #1abc9c;
border-color: #34495e;
}
.bootstrap-switch-on .bootstrap-switch-primary ~ .bootstrap-switch-handle-off {
box-shadow: inset 16px 0 0 #34495e;
}
.bootstrap-switch-info {
color: white;
background-color: #3498db;
}
.bootstrap-switch-info ~ .bootstrap-switch-handle-off:before {
background-color: white;
border-color: #3498db;
}
.bootstrap-switch-on .bootstrap-switch-info ~ .bootstrap-switch-handle-off {
box-shadow: inset 16px 0 0 #3498db;
}
.bootstrap-switch-success {
color: white;
background-color: #2ecc71;
}
.bootstrap-switch-success ~ .bootstrap-switch-handle-off:before {
background-color: white;
border-color: #2ecc71;
}
.bootstrap-switch-on .bootstrap-switch-success ~ .bootstrap-switch-handle-off {
box-shadow: inset 16px 0 0 #2ecc71;
}
.bootstrap-switch-warning {
color: white;
background-color: #f1c40f;
}
.bootstrap-switch-warning ~ .bootstrap-switch-handle-off:before {
background-color: white;
border-color: #f1c40f;
}
.bootstrap-switch-on .bootstrap-switch-warning ~ .bootstrap-switch-handle-off {
box-shadow: inset 16px 0 0 #f1c40f;
}
.bootstrap-switch-danger {
color: white;
background-color: #e74c3c;
}
.bootstrap-switch-danger ~ .bootstrap-switch-handle-off:before {
background-color: white;
border-color: #e74c3c;
}
.bootstrap-switch-on .bootstrap-switch-danger ~ .bootstrap-switch-handle-off {
box-shadow: inset 16px 0 0 #e74c3c;
}
.bootstrap-switch-square .bootstrap-switch {
-webkit-mask-box-image: url(data:image/svg+xml;base64,your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashd3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashMS44LDQsNFYyNXoiLz4NCjwvc3ZnPg0K) 0 0 stretch;
border-radius: 4px;
}
.bootstrap-switch-square .bootstrap-switch > div {
border-radius: 4px;
}
.bootstrap-switch-square .bootstrap-switch .bootstrap-switch-handle-on {
text-indent: -15px;
border-bottom-left-radius: 4px;
border-top-left-radius: 4px;
}
.bootstrap-switch-square .bootstrap-switch .bootstrap-switch-handle-off {
text-indent: 15px;
border-bottom-right-radius: 4px;
border-top-right-radius: 4px;
}
.bootstrap-switch-square .bootstrap-switch .bootstrap-switch-handle-off:before {
border: none;
border-bottom-left-radius: 0;
border-top-left-radius: 0;
border-bottom-right-radius: 2px;
border-top-right-radius: 2px;
}
.bootstrap-switch-square .bootstrap-switch-off .bootstrap-switch-handle-off:before {
border-bottom-left-radius: 2px;
border-top-left-radius: 2px;
border-bottom-right-radius: 0;
border-top-right-radius: 0;
}
.video-js * {
font-family: "Flat-UI-Pro-Icons";
}
.video-js .vjs-big-play-button .vjs-icon-placeholder:before, .vjs-button > .vjs-icon-placeholder:before, .video-js .vjs-modal-dialog, .vjs-modal-dialog .vjs-modal-dialog-content {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.video-js .vjs-big-play-button .vjs-icon-placeholder:before, .vjs-button > .vjs-icon-placeholder:before {
text-align: center;
}
.vjs-icon-play:before {
content: "\e616";
color: #1abc9c;
font-size: 16px;
}
.video-js .vjs-big-play-button .vjs-icon-placeholder:before,
.video-js .vjs-play-control .vjs-icon-placeholder:before {
content: "\e616";
color: #1abc9c;
font-size: 16px;
line-height: 47px;
}
.vjs-icon-play-circle:before {
content: "\f102";
}
.vjs-icon-pause:before, .video-js .vjs-play-control.vjs-playing .vjs-icon-placeholder:before {
content: "\e615";
line-height: 47px;
font-size: 16px;
}
.vjs-icon-volume-mute:before, .video-js .vjs-mute-control.vjs-vol-0 .vjs-icon-placeholder:before {
content: "\e618";
line-height: 47px;
font-size: 16px;
}
.vjs-icon-volume-low:before, .video-js .vjs-mute-control.vjs-vol-1 .vjs-icon-placeholder:before {
content: "\f105";
}
.vjs-icon-volume-mid:before, .video-js .vjs-mute-control.vjs-vol-2 .vjs-icon-placeholder:before {
content: "\f106";
}
.vjs-icon-volume-high:before, .video-js .vjs-mute-control .vjs-icon-placeholder:before {
content: "\e617";
line-height: 47px;
font-size: 16px;
}
.vjs-icon-fullscreen-enter:before, .video-js .vjs-fullscreen-control .vjs-icon-placeholder:before {
content: "\e619";
color: #475d72;
line-height: 47px;
font-size: 16px;
}
.vjs-icon-fullscreen-exit:before, .video-js.vjs-fullscreen .vjs-fullscreen-control .vjs-icon-placeholder:before {
content: "\e619";
color: #475d72;
line-height: 47px;
font-size: 16px;
}
.vjs-icon-square:before {
content: "\f10a";
}
.vjs-icon-spinner:before {
content: "\f10b";
}
.vjs-icon-subtitles:before {
content: "\f10c";
}
.vjs-icon-captions:before {
content: "\f10d";
}
.video-js .vjs-captions-button .vjs-icon-placeholder:before, .video-js:lang(en) .vjs-subs-caps-button .vjs-icon-placeholder:before, .video-js:lang(fr-CA) .vjs-subs-caps-button .vjs-icon-placeholder:before {
content: "\f10d";
}
.vjs-icon-chapters:before, .video-js .vjs-chapters-button .vjs-icon-placeholder:before {
content: "\f10e";
}
.vjs-icon-share:before {
content: "\f10f";
}
.vjs-icon-cog:before {
content: "\f110";
}
.vjs-icon-circle:before {
content: "\f111";
}
.video-js .vjs-play-progress:before, .video-js .vjs-volume-level:before {
content: "";
background-color: #16a085;
width: 18px;
height: 18px;
border-radius: 50%;
}
.vjs-icon-circle-outline:before {
content: "\f112";
}
.vjs-icon-circle-inner-circle:before {
content: "\f113";
}
.vjs-icon-hd:before {
content: "\f114";
}
.vjs-icon-cancel:before, .video-js .vjs-control.vjs-close-button .vjs-icon-placeholder:before {
content: "\f115";
}
.vjs-icon-replay:before, .video-js .vjs-play-control.vjs-ended .vjs-icon-placeholder:before {
content: "\f116";
}
.vjs-icon-facebook:before {
content: "\f117";
}
.vjs-icon-gplus:before {
content: "\f118";
}
.vjs-icon-linkedin:before {
content: "\f119";
}
.vjs-icon-twitter:before {
content: "\f11a";
}
.vjs-icon-tumblr:before {
content: "\f11b";
}
.vjs-icon-pinterest:before {
content: "\f11c";
}
.vjs-icon-audio-description:before, .video-js .vjs-descriptions-button .vjs-icon-placeholder:before {
content: "\f11d";
}
.vjs-icon-audio:before {
content: "\f11e";
}
.video-js {
display: block;
vertical-align: top;
box-sizing: border-box;
color: #fff;
background-color: #000;
position: relative;
padding: 0;
font-size: 10px;
line-height: 1;
font-weight: normal;
font-style: normal;
font-family: Arial, Helvetica, sans-serif;
max-width: 100%;
height: auto;
border-bottom-right-radius: 6px;
border-bottom-left-radius: 6px;
}
.video-js .vjs-audio-button .vjs-icon-placeholder:before {
content: "\f11e";
}
.video-js:-moz-full-screen {
position: absolute;
}
.video-js:-webkit-full-screen {
width: 100% !important;
height: 100% !important;
}
.video-js[tabindex="-1"] {
outline: none;
}
.video-js * {
box-sizing: inherit;
}
.video-js *:before, .video-js *:after {
box-sizing: inherit;
}
.video-js ul {
font-family: inherit;
font-size: inherit;
line-height: inherit;
list-style-position: outside;
margin-left: 0;
margin-right: 0;
margin-top: 0;
margin-bottom: 0;
}
.video-js.vjs-fluid, .video-js.vjs-16-9, .video-js.vjs-4-3 {
width: 100%;
max-width: 100%;
height: 0;
}
.video-js.vjs-16-9 {
padding-top: 56.25%;
}
.video-js.vjs-4-3 {
padding-top: 75%;
}
.video-js.vjs-fill {
width: 100%;
height: 100%;
}
.video-js .vjs-tech {
width: 100%;
height: 100%;
}
body.vjs-full-window {
padding: 0;
margin: 0;
height: 100%;
overflow-y: auto;
}
.vjs-full-window .video-js.vjs-fullscreen {
position: fixed;
overflow: hidden;
z-index: 1000;
left: 0;
top: 0;
bottom: 0;
right: 0;
}
.video-js.vjs-fullscreen {
width: 100% !important;
height: 100% !important;
padding-top: 0 !important;
}
.video-js.vjs-fullscreen.vjs-user-inactive {
cursor: none;
}
.vjs-hidden {
display: none !important;
}
.vjs-disabled {
opacity: 0.5;
cursor: default;
}
.video-js .vjs-offscreen {
height: 1px;
left: -9999px;
position: absolute;
top: 0;
width: 1px;
}
.vjs-lock-showing {
display: block !important;
opacity: 1;
visibility: visible;
}
.vjs-no-js {
padding: 20px;
color: #fff;
background-color: #000;
font-size: 18px;
font-family: Arial, Helvetica, sans-serif;
text-align: center;
width: 300px;
height: 150px;
margin: 0px auto;
}
.vjs-no-js a {
color: #66A8CC;
}
.vjs-no-js a:visited {
color: #66A8CC;
}
.video-js .vjs-big-play-button {
font-size: 3em;
line-height: 1.5em;
height: 1.5em;
width: 3em;
display: none;
position: absolute;
top: 10px;
left: 10px;
padding: 0;
cursor: pointer;
opacity: 1;
border: 0.06666em solid #fff;
background-color: #2B333F;
background-color: rgba(43, 51, 63, 0.7);
border-radius: 0.3em;
transition: all 0.4s;
}
.vjs-big-play-centered .vjs-big-play-button {
top: 50%;
left: 50%;
margin-top: -0.75em;
margin-left: -1.5em;
}
.video-js:hover .vjs-big-play-button, .video-js .vjs-big-play-button:focus {
border-color: #fff;
background-color: #73859f;
background-color: rgba(115, 133, 159, 0.5);
transition: all 0s;
}
.vjs-controls-disabled .vjs-big-play-button, .vjs-has-started .vjs-big-play-button, .vjs-using-native-controls .vjs-big-play-button, .vjs-error .vjs-big-play-button {
display: none;
}
.vjs-has-started.vjs-paused.vjs-show-big-play-button-on-pause .vjs-big-play-button {
display: block;
}
.video-js button {
background: none;
border: none;
color: inherit;
display: inline-block;
overflow: visible;
font-size: inherit;
line-height: inherit;
text-transform: none;
text-decoration: none;
transition: none;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.vjs-control .vjs-button {
width: 100%;
height: 100%;
}
.video-js .vjs-control.vjs-close-button {
cursor: pointer;
height: 3em;
position: absolute;
right: 0;
top: 0.5em;
z-index: 2;
}
.video-js .vjs-modal-dialog {
background: rgba(0, 0, 0, 0.8);
background: linear-gradient(180deg, rgba(0, 0, 0, 0.8), rgba(255, 255, 255, 0));
overflow: auto;
box-sizing: content-box;
}
.video-js .vjs-modal-dialog > * {
box-sizing: border-box;
}
.vjs-modal-dialog .vjs-modal-dialog-content {
font-size: 1.2em;
line-height: 1.5;
padding: 20px 24px;
z-index: 1;
}
.vjs-menu-button {
cursor: pointer;
}
.vjs-menu-button.vjs-disabled {
cursor: default;
}
.vjs-workinghover .vjs-menu-button.vjs-disabled:hover .vjs-menu {
display: none;
}
.vjs-menu .vjs-menu-content {
display: block;
padding: 0;
margin: 0;
font-family: Arial, Helvetica, sans-serif;
overflow: auto;
box-sizing: content-box;
}
.vjs-menu .vjs-menu-content > * {
box-sizing: border-box;
}
.vjs-scrubbing .vjs-menu-button:hover .vjs-menu {
display: none;
}
.vjs-menu li {
list-style: none;
margin: 0;
padding: 0.2em 0;
line-height: 1.4em;
font-size: 1.2em;
text-align: center;
text-transform: lowercase;
}
.vjs-menu li.vjs-menu-item:focus, .vjs-menu li.vjs-menu-item:hover {
background-color: #73859f;
background-color: rgba(115, 133, 159, 0.5);
}
.vjs-menu li.vjs-selected {
background-color: #fff;
color: #2B333F;
}
.vjs-menu li.vjs-selected:focus, .vjs-menu li.vjs-selected:hover {
background-color: #fff;
color: #2B333F;
}
.vjs-menu li.vjs-menu-title {
text-align: center;
text-transform: uppercase;
font-size: 1em;
line-height: 2em;
padding: 0;
margin: 0 0 0.3em 0;
font-weight: bold;
cursor: default;
}
.vjs-menu-button-popup .vjs-menu {
display: none;
position: absolute;
bottom: 0;
width: 10em;
left: -3em;
height: 0em;
margin-bottom: 1.5em;
border-top-color: rgba(43, 51, 63, 0.7);
}
.vjs-menu-button-popup .vjs-menu .vjs-menu-content {
background-color: #2B333F;
background-color: rgba(43, 51, 63, 0.7);
position: absolute;
width: 100%;
bottom: 1.5em;
max-height: 15em;
}
.vjs-workinghover .vjs-menu-button-popup:hover .vjs-menu, .vjs-menu-button-popup .vjs-menu.vjs-lock-showing {
display: block;
}
.video-js .vjs-menu-button-inline {
transition: all 0.4s;
overflow: hidden;
}
.video-js .vjs-menu-button-inline:before {
width: 2.222222222em;
}
.video-js .vjs-menu-button-inline:hover, .video-js .vjs-menu-button-inline:focus, .video-js .vjs-menu-button-inline.vjs-slider-active {
width: 12em;
}
.video-js.vjs-no-flex .vjs-menu-button-inline {
width: 12em;
}
.vjs-menu-button-inline .vjs-menu {
opacity: 0;
height: 100%;
width: auto;
position: absolute;
left: 4em;
top: 0;
padding: 0;
margin: 0;
transition: all 0.4s;
}
.vjs-menu-button-inline:hover .vjs-menu, .vjs-menu-button-inline:focus .vjs-menu, .vjs-menu-button-inline.vjs-slider-active .vjs-menu {
display: block;
opacity: 1;
}
.vjs-no-flex .vjs-menu-button-inline .vjs-menu {
display: block;
opacity: 1;
position: relative;
width: auto;
}
.vjs-no-flex .vjs-menu-button-inline:hover .vjs-menu, .vjs-no-flex .vjs-menu-button-inline:focus .vjs-menu, .vjs-no-flex .vjs-menu-button-inline.vjs-slider-active .vjs-menu {
width: auto;
}
.vjs-menu-button-inline .vjs-menu-content {
width: auto;
height: 100%;
margin: 0;
overflow: hidden;
}
.video-js .vjs-control-bar {
width: 100%;
margin-top: -2px;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
height: 47px;
color: #ffffff;
background: #2c3e50;
border-bottom-right-radius: 6px;
border-bottom-left-radius: 6px;
}
.vjs-has-started .vjs-control-bar {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
visibility: visible;
opacity: 1;
transition: visibility 0.1s, opacity 0.1s;
}
.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar {
visibility: visible;
opacity: 0;
transition: visibility 1s, opacity 1s;
}
.vjs-controls-disabled .vjs-control-bar, .vjs-using-native-controls .vjs-control-bar, .vjs-error .vjs-control-bar {
display: none !important;
}
.vjs-audio.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar {
opacity: 1;
visibility: visible;
}
.vjs-has-started.vjs-no-flex .vjs-control-bar {
display: table;
}
.video-js .vjs-control {
position: relative;
text-align: center;
margin: 0;
padding: 0;
height: 100%;
width: 18px;
-webkit-box-flex: none;
-ms-flex: none;
flex: none;
}
.vjs-button > .vjs-icon-placeholder:before {
font-size: 1.8em;
line-height: 1.67;
}
.video-js .vjs-control:focus:before, .video-js .vjs-control:hover:before, .video-js .vjs-control:focus {
text-shadow: 0em 0em 1em white;
}
.video-js .vjs-control-text {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
.vjs-no-flex .vjs-control {
display: table-cell;
vertical-align: middle;
}
.video-js .vjs-custom-control-spacer {
display: none;
}
.video-js .vjs-progress-control {
cursor: pointer;
-webkit-box-flex: auto;
-ms-flex: auto;
flex: auto;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
min-width: 4em;
}
.vjs-live .vjs-progress-control {
display: none;
}
.vjs-no-flex .vjs-progress-control {
width: auto;
}
.video-js .vjs-progress-holder {
-webkit-box-flex: 1;
-ms-flex: auto;
flex: auto;
transition: all 0.2s;
height: 12px;
}
.video-js .vjs-progress-control .vjs-progress-holder {
margin: 0 10px;
}
.video-js .vjs-progress-holder .vjs-play-progress {
position: absolute;
display: block;
height: 100%;
margin: 0;
padding: 0;
width: 0;
left: 0;
top: 0;
}
.video-js .vjs-progress-holder .vjs-load-progress {
position: absolute;
display: block;
height: 100%;
margin: 0;
padding: 0;
width: 0;
left: 0;
top: 0;
}
.video-js .vjs-progress-holder .vjs-load-progress div {
position: absolute;
display: block;
height: 100%;
margin: 0;
padding: 0;
width: 0;
left: 0;
top: 0;
}
.video-js .vjs-play-progress {
background: #1abc9c;
border-radius: 32px;
border-bottom-right-radius: 0;
border-top-right-radius: 0;
}
.video-js .vjs-play-progress:before {
font-size: 0.9em;
position: absolute;
top: -0.333333333333333em;
z-index: 1;
}
.video-js .vjs-load-progress {
background: #d6dbdf;
border-radius: 32px;
}
.video-js .vjs-load-progress div {
background: #d6dbdf;
border-radius: 32px;
}
.video-js .vjs-time-tooltip {
background-color: #fff;
background-color: rgba(255, 255, 255, 0.8);
border-radius: 0.3em;
color: #000;
float: right;
font-family: Arial, Helvetica, sans-serif;
font-size: 1em;
padding: 6px 8px 8px 8px;
pointer-events: none;
position: relative;
top: -3.4em;
visibility: hidden;
z-index: 1;
}
.video-js .vjs-progress-holder:focus .vjs-time-tooltip {
display: none;
}
.video-js .vjs-progress-control:hover .vjs-time-tooltip, .video-js .vjs-progress-control:hover .vjs-progress-holder:focus .vjs-time-tooltip {
display: block;
font-size: 0.6em;
visibility: visible;
}
.video-js .vjs-progress-control .vjs-mouse-display {
display: none;
position: absolute;
width: 1px;
height: 100%;
background-color: #000;
z-index: 1;
}
.vjs-no-flex .vjs-progress-control .vjs-mouse-display {
z-index: 0;
}
.video-js .vjs-progress-control:hover .vjs-mouse-display {
display: block;
}
.video-js.vjs-user-inactive .vjs-progress-control .vjs-mouse-display {
visibility: hidden;
opacity: 0;
transition: visibility 1s, opacity 1s;
}
.video-js.vjs-user-inactive.vjs-no-flex .vjs-progress-control .vjs-mouse-display {
display: none;
}
.vjs-mouse-display .vjs-time-tooltip {
color: #fff;
background-color: #000;
background-color: rgba(0, 0, 0, 0.8);
}
.video-js .vjs-slider {
position: relative;
cursor: pointer;
padding: 0;
margin: 0 0.45em 0 0.45em;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
background-color: #425669;
border-radius: 32px;
}
.video-js .vjs-slider:focus {
text-shadow: 0em 0em 1em white;
box-shadow: 0 0 1em #fff;
}
.video-js .vjs-mute-control {
cursor: pointer;
-webkit-box-flex: 0;
-ms-flex: none;
flex: none;
height: 47px;
color: #475d72;
}
.video-js .vjs-volume-control {
cursor: pointer;
margin-right: 1em;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
.video-js .vjs-volume-control.vjs-volume-horizontal {
width: 5em;
}
.video-js .vjs-volume-panel .vjs-volume-control {
display: none;
}
.vjs-no-flex .vjs-volume-panel .vjs-volume-control.vjs-volume-vertical {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
}
.vjs-no-flex .vjs-volume-panel .vjs-volume-control.vjs-volume-vertical .vjs-volume-bar, .vjs-no-flex .vjs-volume-panel .vjs-volume-control.vjs-volume-vertical .vjs-volume-level {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
}
.video-js .vjs-volume-panel {
transition: width 1s;
}
.video-js .vjs-volume-panel:hover .vjs-volume-control, .video-js .vjs-volume-panel:active .vjs-volume-control, .video-js .vjs-volume-panel:focus .vjs-volume-control {
visibility: visible;
opacity: 1;
position: relative;
transition: visibility 0.1s, opacity 0.1s, height 0.1s, width 0.1s, left 0s, top 0s;
}
.video-js .vjs-volume-panel .vjs-volume-control:hover, .video-js .vjs-volume-panel .vjs-volume-control:active, .video-js .vjs-volume-panel .vjs-volume-control:focus {
visibility: visible;
opacity: 1;
position: relative;
transition: visibility 0.1s, opacity 0.1s, height 0.1s, width 0.1s, left 0s, top 0s;
}
.video-js .vjs-volume-panel .vjs-mute-control:hover ~ .vjs-volume-control, .video-js .vjs-volume-panel .vjs-mute-control:active ~ .vjs-volume-control, .video-js .vjs-volume-panel .vjs-mute-control:focus ~ .vjs-volume-control {
visibility: visible;
opacity: 1;
position: relative;
transition: visibility 0.1s, opacity 0.1s, height 0.1s, width 0.1s, left 0s, top 0s;
}
.video-js .vjs-volume-panel .vjs-volume-control.vjs-slider-active {
visibility: visible;
opacity: 1;
position: relative;
transition: visibility 0.1s, opacity 0.1s, height 0.1s, width 0.1s, left 0s, top 0s;
}
.video-js .vjs-volume-panel:hover .vjs-volume-control.vjs-volume-horizontal, .video-js .vjs-volume-panel:active .vjs-volume-control.vjs-volume-horizontal, .video-js .vjs-volume-panel:focus .vjs-volume-control.vjs-volume-horizontal {
width: 5em;
height: 47px;
}
.video-js .vjs-volume-panel .vjs-volume-control:hover.vjs-volume-horizontal, .video-js .vjs-volume-panel .vjs-volume-control:active.vjs-volume-horizontal, .video-js .vjs-volume-panel .vjs-volume-control:focus.vjs-volume-horizontal {
width: 5em;
height: 47px;
}
.video-js .vjs-volume-panel .vjs-mute-control:hover ~ .vjs-volume-control.vjs-volume-horizontal, .video-js .vjs-volume-panel .vjs-mute-control:active ~ .vjs-volume-control.vjs-volume-horizontal, .video-js .vjs-volume-panel .vjs-mute-control:focus ~ .vjs-volume-control.vjs-volume-horizontal {
width: 5em;
height: 47px;
}
.video-js .vjs-volume-panel .vjs-volume-control.vjs-slider-active.vjs-volume-horizontal {
width: 5em;
height: 47px;
}
.video-js .vjs-volume-panel:hover .vjs-volume-control.vjs-volume-vertical, .video-js .vjs-volume-panel:active .vjs-volume-control.vjs-volume-vertical, .video-js .vjs-volume-panel:focus .vjs-volume-control.vjs-volume-vertical {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
.video-js .vjs-volume-panel .vjs-volume-control:hover.vjs-volume-vertical, .video-js .vjs-volume-panel .vjs-volume-control:active.vjs-volume-vertical, .video-js .vjs-volume-panel .vjs-volume-control:focus.vjs-volume-vertical {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
.video-js .vjs-volume-panel .vjs-mute-control:hover ~ .vjs-volume-control.vjs-volume-vertical, .video-js .vjs-volume-panel .vjs-mute-control:active ~ .vjs-volume-control.vjs-volume-vertical, .video-js .vjs-volume-panel .vjs-mute-control:focus ~ .vjs-volume-control.vjs-volume-vertical {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
.video-js .vjs-volume-panel .vjs-volume-control.vjs-slider-active.vjs-volume-vertical {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
.video-js .vjs-volume-panel:hover .vjs-volume-control.vjs-volume-vertical .vjs-volume-bar, .video-js .vjs-volume-panel:hover .vjs-volume-control.vjs-volume-vertical .vjs-volume-level {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
.video-js .vjs-volume-panel:active .vjs-volume-control.vjs-volume-vertical .vjs-volume-bar, .video-js .vjs-volume-panel:active .vjs-volume-control.vjs-volume-vertical .vjs-volume-level {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
.video-js .vjs-volume-panel:focus .vjs-volume-control.vjs-volume-vertical .vjs-volume-bar, .video-js .vjs-volume-panel:focus .vjs-volume-control.vjs-volume-vertical .vjs-volume-level {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
.video-js .vjs-volume-panel .vjs-volume-control:hover.vjs-volume-vertical .vjs-volume-bar, .video-js .vjs-volume-panel .vjs-volume-control:hover.vjs-volume-vertical .vjs-volume-level {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
.video-js .vjs-volume-panel .vjs-volume-control:active.vjs-volume-vertical .vjs-volume-bar, .video-js .vjs-volume-panel .vjs-volume-control:active.vjs-volume-vertical .vjs-volume-level {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
.video-js .vjs-volume-panel .vjs-volume-control:focus.vjs-volume-vertical .vjs-volume-bar, .video-js .vjs-volume-panel .vjs-volume-control:focus.vjs-volume-vertical .vjs-volume-level {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
.video-js .vjs-volume-panel .vjs-mute-control:hover ~ .vjs-volume-control.vjs-volume-vertical .vjs-volume-bar, .video-js .vjs-volume-panel .vjs-mute-control:hover ~ .vjs-volume-control.vjs-volume-vertical .vjs-volume-level {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
.video-js .vjs-volume-panel .vjs-mute-control:active ~ .vjs-volume-control.vjs-volume-vertical .vjs-volume-bar, .video-js .vjs-volume-panel .vjs-mute-control:active ~ .vjs-volume-control.vjs-volume-vertical .vjs-volume-level {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
.video-js .vjs-volume-panel .vjs-mute-control:focus ~ .vjs-volume-control.vjs-volume-vertical .vjs-volume-bar, .video-js .vjs-volume-panel .vjs-mute-control:focus ~ .vjs-volume-control.vjs-volume-vertical .vjs-volume-level {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
.video-js .vjs-volume-panel .vjs-volume-control.vjs-slider-active.vjs-volume-vertical .vjs-volume-bar, .video-js .vjs-volume-panel .vjs-volume-control.vjs-slider-active.vjs-volume-vertical .vjs-volume-level {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
.video-js .vjs-volume-panel .vjs-volume-control.vjs-volume-vertical {
height: 8em;
width: 3em;
left: -3.5em;
transition: visibility 1s, opacity 1s, height 1s 1s, width 1s 1s, left 1s 1s, top 1s 1s;
}
.video-js .vjs-volume-panel .vjs-volume-control.vjs-volume-horizontal {
transition: visibility 1s, opacity 1s, height 1s 1s, width 1s, left 1s 1s, top 1s 1s;
}
.video-js.vjs-no-flex .vjs-volume-panel .vjs-volume-control.vjs-volume-horizontal {
width: 5em;
height: 3em;
visibility: visible;
opacity: 1;
position: relative;
transition: none;
}
.video-js.vjs-no-flex .vjs-volume-control.vjs-volume-vertical, .video-js.vjs-no-flex .vjs-volume-panel .vjs-volume-control.vjs-volume-vertical {
position: absolute;
bottom: 3em;
left: 0.5em;
}
.video-js .vjs-volume-panel {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-ordinal-group: 3;
-ms-flex-order: 2;
order: 2;
}
.video-js .vjs-volume-bar {
margin: 1.35em 0.45em;
}
.vjs-volume-bar.vjs-slider-horizontal {
width: 5em;
height: 0.3em;
position: absolute;
top: 50%;
margin: 0;
-webkit-transform: translatey(-50%);
transform: translatey(-50%);
}
.vjs-volume-bar.vjs-slider-vertical {
width: 0.3em;
height: 5em;
margin: 1.35em auto;
}
.video-js .vjs-volume-level {
position: absolute;
bottom: 0;
left: 0;
background-color: #fff;
}
.video-js .vjs-volume-level:before {
position: absolute;
font-size: 0.9em;
}
.vjs-slider-vertical .vjs-volume-level {
width: 0.3em;
}
.vjs-slider-vertical .vjs-volume-level:before {
top: -0.5em;
left: -0.3em;
}
.vjs-slider-horizontal .vjs-volume-level {
height: 0.3em;
}
.vjs-slider-horizontal .vjs-volume-level:before {
top: 50%;
right: -0.5em;
-webkit-transform: translatey(-50%);
transform: translatey(-50%);
}
.video-js .vjs-volume-panel.vjs-volume-panel-vertical {
width: 4em;
}
.vjs-volume-bar.vjs-slider-vertical .vjs-volume-level {
height: 100%;
}
.vjs-volume-bar.vjs-slider-horizontal .vjs-volume-level {
width: 100%;
}
.video-js .vjs-volume-vertical {
width: 3em;
height: 8em;
bottom: 8em;
background-color: #2B333F;
background-color: rgba(43, 51, 63, 0.7);
}
.video-js .vjs-volume-horizontal .vjs-menu {
left: -2em;
}
.vjs-poster {
display: inline-block;
vertical-align: middle;
background-repeat: no-repeat;
background-position: 50% 50%;
background-size: contain;
background-color: #000000;
cursor: pointer;
margin: 0;
padding: 0;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
height: 100%;
display: none;
}
.vjs-poster img {
display: block;
vertical-align: middle;
margin: 0 auto;
max-height: 100%;
padding: 0;
width: 100%;
}
.vjs-has-started .vjs-poster {
display: none;
}
.vjs-audio.vjs-has-started .vjs-poster {
display: block;
}
.vjs-using-native-controls .vjs-poster {
display: none;
}
.video-js .vjs-live-control {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: flex-start;
-ms-flex-align: flex-start;
align-items: flex-start;
-webkit-box-flex: auto;
-ms-flex: auto;
flex: auto;
font-size: 1em;
line-height: 3em;
}
.vjs-no-flex .vjs-live-control {
display: table-cell;
width: auto;
text-align: left;
}
.video-js .vjs-time-control {
-webkit-box-flex: 0;
-ms-flex: none;
flex: none;
width: auto;
padding-left: 2px;
padding-right: 2px;
-webkit-box-ordinal-group: 2;
-ms-flex-order: 1;
order: 1;
}
.video-js .vjs-time-control * {
font-family: "Lato", Helvetica, Arial, sans-serif;
font-weight: 300;
font-size: 13px;
line-height: 47px;
}
.vjs-live .vjs-time-control, .video-js .vjs-remaining-time {
display: none;
}
.vjs-no-flex .vjs-current-time {
display: none;
}
.vjs-no-flex .vjs-remaining-time.vjs-time-control.vjs-control {
width: 0px !important;
white-space: nowrap;
}
.video-js .vjs-time-divider, .video-js .vjs-duration {
color: #5d6d7e;
}
.video-js .vjs-duration {
margin-right: 20px;
}
.vjs-live .vjs-time-divider {
display: none;
}
.video-js .vjs-play-control {
display: block;
height: 47px;
width: 58px;
}
.video-js .vjs-play-control .vjs-icon-placeholder {
cursor: pointer;
-webkit-box-flex: 0;
-ms-flex: none;
flex: none;
}
.vjs-text-track-display {
position: absolute;
bottom: 3em;
left: 0;
right: 0;
top: 0;
pointer-events: none;
}
.video-js.vjs-user-inactive.vjs-playing .vjs-text-track-display {
bottom: 1em;
}
.video-js .vjs-text-track {
font-size: 1.4em;
text-align: center;
margin-bottom: 0.1em;
background-color: #000;
background-color: rgba(0, 0, 0, 0.5);
}
.vjs-subtitles {
color: #fff;
}
.vjs-captions {
color: #fc6;
}
.vjs-tt-cue {
display: block;
}
video::-webkit-media-text-track-display {
-webkit-transform: translateY(-3em);
transform: translateY(-3em);
}
.video-js.vjs-user-inactive.vjs-playing video::-webkit-media-text-track-display {
-webkit-transform: translateY(-1.5em);
transform: translateY(-1.5em);
}
.video-js .vjs-fullscreen-control {
cursor: pointer;
-webkit-box-flex: 0;
-ms-flex: none;
flex: none;
-webkit-box-ordinal-group: 3;
-ms-flex-order: 2;
order: 2;
width: 48px;
}
.vjs-playback-rate > .vjs-menu-button {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.vjs-playback-rate .vjs-playback-rate-value {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
font-size: 1.5em;
line-height: 2;
text-align: center;
}
.vjs-playback-rate .vjs-menu {
width: 4em;
left: 0em;
}
.vjs-error .vjs-error-display .vjs-modal-dialog-content {
font-size: 1.4em;
text-align: center;
}
.vjs-error .vjs-error-display:before {
color: #fff;
content: 'X';
font-family: Arial, Helvetica, sans-serif;
font-size: 4em;
left: 0;
line-height: 1;
margin-top: -0.5em;
position: absolute;
text-shadow: 0.05em 0.05em 0.1em #000;
text-align: center;
top: 50%;
vertical-align: middle;
width: 100%;
}
.vjs-loading-spinner {
display: none;
position: absolute;
top: 50%;
left: 50%;
margin: -25px 0 0 -25px;
opacity: 0.85;
text-align: left;
border: 6px solid rgba(43, 51, 63, 0.7);
box-sizing: border-box;
background-clip: padding-box;
width: 50px;
height: 50px;
border-radius: 25px;
}
.vjs-seeking .vjs-loading-spinner, .vjs-waiting .vjs-loading-spinner {
display: block;
}
.vjs-loading-spinner:before, .vjs-loading-spinner:after {
content: "";
position: absolute;
margin: -6px;
box-sizing: inherit;
width: inherit;
height: inherit;
border-radius: inherit;
opacity: 1;
border: inherit;
border-color: transparent;
border-top-color: white;
}
.vjs-seeking .vjs-loading-spinner:before, .vjs-seeking .vjs-loading-spinner:after {
-webkit-animation: vjs-spinner-spin 1.1s cubic-bezier(0.6, 0.2, 0, 0.8) infinite, vjs-spinner-fade 1.1s linear infinite;
animation: vjs-spinner-spin 1.1s cubic-bezier(0.6, 0.2, 0, 0.8) infinite, vjs-spinner-fade 1.1s linear infinite;
}
.vjs-waiting .vjs-loading-spinner:before, .vjs-waiting .vjs-loading-spinner:after {
-webkit-animation: vjs-spinner-spin 1.1s cubic-bezier(0.6, 0.2, 0, 0.8) infinite, vjs-spinner-fade 1.1s linear infinite;
animation: vjs-spinner-spin 1.1s cubic-bezier(0.6, 0.2, 0, 0.8) infinite, vjs-spinner-fade 1.1s linear infinite;
}
.vjs-seeking .vjs-loading-spinner:before, .vjs-waiting .vjs-loading-spinner:before {
border-top-color: white;
}
.vjs-seeking .vjs-loading-spinner:after, .vjs-waiting .vjs-loading-spinner:after {
border-top-color: white;
-webkit-animation-delay: 0.44s;
animation-delay: 0.44s;
}
@keyframes vjs-spinner-spin {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@-webkit-keyframes vjs-spinner-spin {
100% {
-webkit-transform: rotate(360deg);
}
}
@keyframes vjs-spinner-fade {
0% {
border-top-color: #73859f;
}
20% {
border-top-color: #73859f;
}
35% {
border-top-color: white;
}
60% {
border-top-color: #73859f;
}
100% {
border-top-color: #73859f;
}
}
@-webkit-keyframes vjs-spinner-fade {
0% {
border-top-color: #73859f;
}
20% {
border-top-color: #73859f;
}
35% {
border-top-color: white;
}
60% {
border-top-color: #73859f;
}
100% {
border-top-color: #73859f;
}
}
.vjs-chapters-button .vjs-menu ul {
width: 24em;
}
.video-js .vjs-subs-caps-button + .vjs-menu .vjs-captions-menu-item .vjs-menu-item-text .vjs-icon-placeholder {
position: absolute;
}
.video-js .vjs-subs-caps-button + .vjs-menu .vjs-captions-menu-item .vjs-menu-item-text .vjs-icon-placeholder:before {
content: "\f10d";
font-size: 1.5em;
line-height: inherit;
}
.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-custom-control-spacer {
-webkit-box-flex: auto;
-ms-flex: auto;
flex: auto;
}
.video-js.vjs-layout-tiny:not(.vjs-fullscreen).vjs-no-flex .vjs-custom-control-spacer {
width: auto;
}
.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-current-time, .video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-time-divider, .video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-duration, .video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-remaining-time, .video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-playback-rate, .video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-progress-control, .video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-mute-control, .video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-volume-control, .video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-chapters-button, .video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-descriptions-button, .video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-captions-button, .video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-subtitles-button, .video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-audio-button {
display: none;
}
.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-current-time, .video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-time-divider, .video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-duration, .video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-remaining-time, .video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-playback-rate, .video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-mute-control, .video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-volume-control, .video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-chapters-button, .video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-descriptions-button, .video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-captions-button, .video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-subtitles-button, .video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-audio-button {
display: none;
}
.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-current-time, .video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-time-divider, .video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-duration, .video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-remaining-time, .video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-playback-rate, .video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-mute-control, .video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-volume-control, .video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-chapters-button, .video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-descriptions-button, .video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-captions-button, .video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-subtitles-button .vjs-audio-button {
display: none;
}
.vjs-modal-dialog.vjs-text-track-settings {
background-color: #2B333F;
background-color: rgba(43, 51, 63, 0.75);
color: #fff;
height: 70%;
}
.vjs-text-track-settings .vjs-modal-dialog-content {
display: table;
}
.vjs-text-track-settings .vjs-track-settings-colors, .vjs-text-track-settings .vjs-track-settings-font {
display: table-cell;
}
.vjs-text-track-settings .vjs-track-settings-controls {
display: table-cell;
text-align: right;
vertical-align: bottom;
}
.vjs-text-track-settings fieldset {
margin: 5px;
padding: 3px;
border: none;
}
.vjs-text-track-settings fieldset span {
display: inline-block;
margin-left: 5px;
}
.vjs-text-track-settings legend {
color: #fff;
margin: 0 0 5px 0;
}
.vjs-text-track-settings .vjs-label {
position: absolute;
clip: rect(1px 1px 1px 1px);
clip: rect(1px, 1px, 1px, 1px);
display: block;
margin: 0 0 5px 0;
padding: 0;
border: 0;
height: 1px;
width: 1px;
overflow: hidden;
}
.vjs-track-settings-controls button {
background-color: #fff;
background-image: linear-gradient(-180deg, #fff 88%, #73859f 100%);
color: #2B333F;
cursor: pointer;
border-radius: 2px;
}
.vjs-track-settings-controls button:focus, .vjs-track-settings-controls button:active {
outline-style: solid;
outline-width: medium;
background-image: linear-gradient(0deg, #fff 88%, #73859f 100%);
}
.vjs-track-settings-controls button:hover {
color: rgba(43, 51, 63, 0.75);
}
.vjs-track-settings-controls .vjs-default-button {
margin-right: 1em;
}
@media print {
.video-js > *:not(.vjs-tech):not(.vjs-poster) {
visibility: hidden;
}
}
@media \0screen {
.vjs-user-inactive.vjs-playing .vjs-control-bar :before {
content: "";
}
}
@media \0screen {
.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar {
visibility: hidden;
}
}
.todo {
color: #798795;
margin-bottom: 20px;
border-radius: 6px;
}
.todo ul {
background-color: #2c3e50;
margin: 0;
padding: 0;
list-style-type: none;
border-radius: 0 0 6px 6px;
}
.todo li {
background: #34495e;
background-size: 20px 20px;
cursor: pointer;
font-size: 14px;
line-height: 1.214;
margin-top: 2px;
padding: 18px 42px 21px 25px;
position: relative;
transition: .25s;
}
.todo li:first-child {
margin-top: 0;
}
.todo li:last-child {
border-radius: 0 0 6px 6px;
padding-bottom: 21px;
}
.todo li.todo-done {
background: transparent;
color: #1abc9c;
}
.todo li.todo-done .todo-name {
color: #1abc9c;
}
.todo li:after {
content: " ";
display: block;
width: 20px;
height: 20px;
position: absolute;
top: 50%;
right: 22px;
margin-top: -10px;
background: white;
border-radius: 50%;
}
.todo li.todo-done:after {
content: "\e60a";
font-family: 'Flat-UI-Pro-Icons';
text-align: center;
font-size: 12px;
line-height: 21px;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background: #1abc9c;
color: #2c3e50;
}
.todo-search {
position: relative;
background: #1abc9c;
background-size: 16px 16px;
border-radius: 6px 6px 0 0;
color: #34495e;
padding: 19px 25px 20px;
}
.todo-search:before {
position: absolute;
font-family: 'Flat-UI-Pro-Icons';
content: "\e630";
font-size: 16px;
line-height: 17px;
display: inline-block;
top: 50%;
left: 92%;
margin: -0.5em 0 0 -1em;
}
input.todo-search-field {
background: none;
border: none;
color: #34495e;
font-size: 19px;
font-weight: 700;
margin: 0;
line-height: 23px;
padding: 5px 0;
text-indent: 0;
box-shadow: none;
outline: none;
}
input.todo-search-field::-moz-placeholder {
color: #34495e;
opacity: 1;
}
input.todo-search-field:-ms-input-placeholder {
color: #34495e;
}
input.todo-search-field::-webkit-input-placeholder {
color: #34495e;
}
.todo-icon {
float: left;
font-size: 24px;
padding: 11px 22px 0 0;
}
.todo-content {
padding-top: 1px;
overflow: hidden;
}
.todo-name {
color: white;
font-size: 17px;
margin: 1px 0 3px;
}
.login {
background: url(../images/login/imac.png) 0 0 no-repeat;
background-size: 940px 778px;
color: white;
margin-bottom: 77px;
padding: 38px 38px 267px;
position: relative;
}
.login-screen {
background-color: #1abc9c;
min-height: 473px;
padding: 123px 199px 33px 306px;
}
.login-icon {
left: 200px;
position: absolute;
top: 160px;
width: 96px;
}
.login-icon > img {
display: block;
margin-bottom: 6px;
width: 100%;
}
.login-icon > h4 {
font-size: 17px;
font-weight: 300;
line-height: 34px;
opacity: .95;
}
.login-icon > h4 small {
color: inherit;
display: block;
font-size: inherit;
font-weight: 700;
}
.login-form {
background-color: #edeff1;
padding: 24px 23px 20px;
position: relative;
border-radius: 6px;
}
.login-form .control-group {
margin-bottom: 6px;
position: relative;
}
.login-form .login-field {
border-color: transparent;
font-size: 17px;
text-indent: 3px;
}
.login-form .login-field:focus {
border-color: #1abc9c;
}
.login-form .login-field:focus + .login-field-icon {
color: #1abc9c;
}
.login-form .login-field-icon {
color: #bfc9ca;
font-size: 16px;
position: absolute;
right: 15px;
top: 3px;
transition: all .25s;
}
.login-link {
color: #bfc9ca;
display: block;
font-size: 13px;
margin-top: 15px;
text-align: center;
}
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (-moz-min-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 3 / 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (-moz-min-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 2) {
.login {
background-image: url(../images/login/imac-2x.png);
}
}
.pallete-item {
width: 140px;
float: left;
margin: 0 0 20px 20px;
}
.palette {
font-size: 14px;
line-height: 1.214;
color: white;
margin: 0;
padding: 15px;
text-transform: uppercase;
}
.palette dt,
.palette dd {
line-height: 1.429;
}
.palette dt {
display: block;
font-weight: bold;
opacity: .8;
}
.palette dd {
font-weight: 300;
margin-left: 0;
opacity: .8;
-webkit-font-smoothing: subpixel-antialiased;
}
.palette-turquoise {
background-color: #1abc9c;
}
.palette-green-sea {
background-color: #16a085;
}
.palette-emerald {
background-color: #2ecc71;
}
.palette-nephritis {
background-color: #27ae60;
}
.palette-peter-river {
background-color: #3498db;
}
.palette-belize-hole {
background-color: #2980b9;
}
.palette-amethyst {
background-color: #9b59b6;
}
.palette-wisteria {
background-color: #8e44ad;
}
.palette-wet-asphalt {
background-color: #34495e;
}
.palette-midnight-blue {
background-color: #2c3e50;
}
.palette-sun-flower {
background-color: #f1c40f;
}
.palette-orange {
background-color: #f39c12;
}
.palette-carrot {
background-color: #e67e22;
}
.palette-pumpkin {
background-color: #d35400;
}
.palette-alizarin {
background-color: #e74c3c;
}
.palette-pomegranate {
background-color: #c0392b;
}
.palette-clouds {
background-color: #ecf0f1;
}
.palette-silver {
background-color: #bdc3c7;
}
.palette-concrete {
background-color: #95a5a6;
}
.palette-asbestos {
background-color: #7f8c8d;
}
.palette-clouds {
color: #bdc3c7;
}
.palette-paragraph {
color: #7f8c8d;
font-size: 12px;
line-height: 17px;
}
.palette-paragraph span {
color: #bdc3c7;
}
.palette-headline {
color: #7f8c8d;
font-size: 13px;
font-weight: 700;
margin-top: -3px;
}
.share {
background-color: #eff0f2;
position: relative;
border-radius: 6px;
}
.share ul {
list-style-type: none;
margin: 0;
padding: 15px;
}
.share li {
font-size: 15px;
line-height: 1.4;
padding-top: 11px;
}
.share li:before, .share li:after {
content: " ";
display: table;
}
.share li:after {
clear: both;
}
.share li:first-child {
padding-top: 0;
}
.share .toggle {
float: right;
margin: 0;
}
.share .btn {
border-top-right-radius: 0;
border-top-left-radius: 0;
}
.share-label {
float: left;
font-size: 15px;
line-height: 1.4;
padding-top: 5px;
width: 50%;
}
footer {
background-color: #edeff1;
color: #bac1c8;
font-size: 15px;
padding: 0;
}
footer a {
color: #9aa4af;
font-weight: 700;
}
footer p {
font-size: 15px;
line-height: 20px;
margin-bottom: 10px;
}
.footer-title {
margin: 0 0 22px;
padding-top: 21px;
font-size: 24px;
line-height: 40px;
}
.footer-brand {
display: block;
margin-bottom: 26px;
width: 220px;
}
.footer-brand img {
width: 216px;
}
.footer-banner {
background-color: #1abc9c;
color: #d1f2eb;
margin-left: 42px;
min-height: 316px;
padding: 0 30px 30px;
}
.footer-banner .footer-title {
color: white;
}
.footer-banner a {
color: #b7f5e9;
text-decoration: underline;
}
.footer-banner a:hover {
text-decoration: none;
}
.footer-banner ul {
list-style-type: none;
margin: 0 0 26px;
padding: 0;
}
.footer-banner ul li {
border-top: 1px solid #1bc5a3;
line-height: 19px;
padding: 6px 0;
}
.footer-banner ul li:first-child {
border-top: none;
padding-top: 1px;
}
.last-col {
overflow: hidden;
}
.ptn, .pvn, .pan {
padding-top: 0 !important;
}
.ptx, .pvx, .pax {
padding-top: 3px !important;
}
.pts, .pvs, .pas {
padding-top: 5px !important;
}
.ptm, .pvm, .pam {
padding-top: 10px !important;
}
.ptl, .pvl, .pal {
padding-top: 20px !important;
}
.pth, .pvh, .pah {
padding-top: 40px !important;
}
.prn, .phn, .pan {
padding-right: 0 !important;
}
.prx, .phx, .pax {
padding-right: 3px !important;
}
.prs, .phs, .pas {
padding-right: 5px !important;
}
.prm, .phm, .pam {
padding-right: 10px !important;
}
.prl, .phl, .pal {
padding-right: 20px !important;
}
.prh, .phh, .pah {
padding-right: 40px !important;
}
.pbn, .pvn, .pan {
padding-bottom: 0 !important;
}
.pbx, .pvx, .pax {
padding-bottom: 3px !important;
}
.pbs, .pvs, .pas {
padding-bottom: 5px !important;
}
.pbm, .pvm, .pam {
padding-bottom: 10px !important;
}
.pbl, .pvl, .pal {
padding-bottom: 20px !important;
}
.pbh, .pvh, .pah {
padding-bottom: 40px !important;
}
.pln, .phn, .pan {
padding-left: 0 !important;
}
.plx, .phx, .pax {
padding-left: 3px !important;
}
.pls, .phs, .pas {
padding-left: 5px !important;
}
.plm, .phm, .pam {
padding-left: 10px !important;
}
.pll, .phl, .pal {
padding-left: 20px !important;
}
.plh, .phh, .pah {
padding-left: 40px !important;
}
.mtn, .mvn, .man {
margin-top: 0 !important;
}
.mtx, .mvx, .max {
margin-top: 3px !important;
}
.mts, .mvs, .mas {
margin-top: 5px !important;
}
.mtm, .mvm, .mam {
margin-top: 10px !important;
}
.mtl, .mvl, .mal {
margin-top: 20px !important;
}
.mth, .mvh, .mah {
margin-top: 40px !important;
}
.mrn, .mhn, .man {
margin-right: 0 !important;
}
.mrx, .mhx, .max {
margin-right: 3px !important;
}
.mrs, .mhs, .mas {
margin-right: 5px !important;
}
.mrm, .mhm, .mam {
margin-right: 10px !important;
}
.mrl, .mhl, .mal {
margin-right: 20px !important;
}
.mrh, .mhh, .mah {
margin-right: 40px !important;
}
.mbn, .mvn, .man {
margin-bottom: 0 !important;
}
.mbx, .mvx, .max {
margin-bottom: 3px !important;
}
.mbs, .mvs, .mas {
margin-bottom: 5px !important;
}
.mbm, .mvm, .mam {
margin-bottom: 10px !important;
}
.mbl, .mvl, .mal {
margin-bottom: 20px !important;
}
.mbh, .mvh, .mah {
margin-bottom: 40px !important;
}
.mln, .mhn, .man {
margin-left: 0 !important;
}
.mlx, .mhx, .max {
margin-left: 3px !important;
}
.mls, .mhs, .mas {
margin-left: 5px !important;
}
.mlm, .mhm, .mam {
margin-left: 10px !important;
}
.mll, .mhl, .mal {
margin-left: 20px !important;
}
.mlh, .mhh, .mah {
margin-left: 40px !important;
}
/*! Source: path_to_url */
@media print {
.btn {
border-style: solid;
border-width: 2px;
}
.dropdown-menu, .select2-drop,
.ui-datepicker,
.ui-timepicker-wrapper,
.tt-dropdown-menu {
background: #fff !important;
border: 2px solid #ddd;
}
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
display: none;
}
.input-group-rounded .input-group-btn + .form-control, .input-group-rounded .select2-search .input-group-btn + input[type="text"], .select2-search .input-group-rounded .input-group-btn + input[type="text"],
.input-group-rounded .input-group-btn + .select2-search input[type="text"] {
padding-left: 10px;
}
.form-control, .select2-search input[type="text"] {
border: 2px solid #ddd !important;
}
.popover, .nav-pills {
border: 2px solid #ddd;
}
.popover .popover-title {
border-bottom: 2px solid #ddd;
}
.bootstrap-switch {
height: 33px;
width: 84px;
border: 2px solid #bdc3c7;
}
.ui-spinner-button, .tooltip {
border: 2px solid #bdc3c7;
}
.carousel-caption {
background: rgba(255, 255, 255, 0.8) !important;
}
.progress, .ui-slider, .ui-slider {
background: #ddd !important;
}
.progress-bar, .ui-slider-range, .ui-slider-handle {
background: #bdc3c7 !important;
}
.tile a:after {
content: "";
}
}
```
|
```c
/*your_sha256_hash------------
* Description: Nb Demo Implementation
* Author: Huawei LiteOS Team
* Create: 2013-01-01
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above copyright notice, this list of
* conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice, this list
* of conditions and the following disclaimer in the documentation and/or other materials
* provided with the distribution.
* 3. Neither the name of the copyright holder nor the names of its contributors may be used
* to endorse or promote products derived from this software without specific prior written
* permission.
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* your_sha256_hash----------- */
#include <stdio.h>
#include "nb_iot/los_nb_api.h"
#define TELECON_IP "119.3.250.80"
#define OCEAN_IP "139.159.140.34"
#define SECURITY_PORT "5684"
#define NON_SECURITY_PORT "5683"
#define DEV_PSKID "868744031131026"
#define DEV_PSK "d1e1be0c05ac5b8c78ce196412f0cdb0"
void demo_nbiot_only(void)
{
#if defined(LOSCFG_COMPONENTS_NET_AT_BC95) && defined(LOSCFG_DEMOS_NBIOT_WITHOUT_ATINY)
#if LOSCFG_DEMOS_NBIOT_DTLS
sec_param_s sec;
sec.setpsk = 1;
sec.pskid = DEV_PSKID;
sec.psk = DEV_PSK;
#endif
printf("\r\n=====================================================");
printf("\r\nSTEP1: Init NB Module( NB Init )");
printf("\r\n=====================================================\r\n");
#if LOSCFG_DEMOS_NBIOT_DTLS
los_nb_init((const int8_t *)TELECON_IP, (const int8_t *)SECURITY_PORT, &sec);
#else
los_nb_init((const int8_t *)TELECON_IP, (const int8_t *)NON_SECURITY_PORT, NULL);
#endif
#if defined(WITH_SOTA)
extern void nb_sota_demo(void);
nb_sota_demo();
#endif
printf("\r\n=====================================================");
printf("\r\nSTEP2: Register Command( NB Notify )");
printf("\r\n=====================================================\r\n");
printf("\r\n=====================================================");
printf("\r\nSTEP3: Report Data to Server( NB Report )");
printf("\r\n=====================================================\r\n");
while (1) {
los_nb_report("22", 2); // "22" is a random string, 2 is the string length
LOS_TaskDelay(60000);
}
#else
printf("Please checkout if open LOSCFG_COMPONNETS_NET_AT and select LOSCFG_COMPONENTS_NET_AT_BC95\n");
#endif
}
```
|
Leading is the amount of added vertical spacing between lines of type.
Leading may also refer to:
Leading actor, the actor who plays the role of the protagonist in a film or play
Leading Comics, a comic book published by what is now DC Comics during the 1940s and early 1950s
Leading question, a question that suggests the answer or contains the information for which the examiner is searching in common law systems
Leading-tone, a note resolves to a note one semitone higher or lower in music theory
Voice leading, a decision-making consideration when arranging voices in musical composition
Leadership, an ability to lead
See also
Leading Creek (disambiguation)
Lead (disambiguation)
Leader (disambiguation)
|
```swift
//
// SPSortOrderViewController.swift
// Simplenote
//
//
import Foundation
import UIKit
// MARK: - Settings: Sort Order
//
class SPSortOrderViewController: UITableViewController {
/// Selected SortMode
///
@objc
var selectedMode: SortMode = .alphabeticallyAscending {
didSet {
updateSelectedCell(oldSortMode: oldValue, newSortMode: selectedMode)
onChange?(selectedMode)
}
}
/// Closure to be executed whenever a new Sort Mode is selected
///
@objc
var onChange: ((SortMode) -> Void)?
/// Indicates if an Action button should be attached to the navigationBar
///
var displaysDismissButton = false
/// Designated Initializer
///
init() {
super.init(style: .grouped)
}
required init?(coder aDecoder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
override func viewDidLoad() {
super.viewDidLoad()
setupNavigationItem()
setupTableView()
}
}
// MARK: - UITableViewDelegate Conformance
//
extension SPSortOrderViewController {
override func numberOfSections(in tableView: UITableView) -> Int {
return Constants.numberOfSections
}
override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return SortMode.allCases.count
}
override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withIdentifier: SPDefaultTableViewCell.reusableIdentifier) ?? SPDefaultTableViewCell()
let mode = SortMode.allCases[indexPath.row]
setupCell(cell, with: mode)
return cell
}
override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
selectedMode = SortMode.allCases[indexPath.row]
tableView.deselectRow(at: indexPath, animated: true)
}
}
// MARK: - Private
//
private extension SPSortOrderViewController {
func setupNavigationItem() {
title = NSLocalizedString("Sort Order", comment: "Sort Order for the Notes List")
if displaysDismissButton {
navigationItem.rightBarButtonItem = UIBarButtonItem(barButtonSystemItem: .done,
target: self,
action: #selector(dismissWasPressed))
}
}
func setupTableView() {
tableView.applySimplenoteGroupedStyle()
}
func setupCell(_ cell: UITableViewCell, with mode: SortMode) {
let selected = mode == selectedMode
cell.textLabel?.text = mode.description
cell.accessoryType = selected ? .checkmark : .none
}
func updateSelectedCell(oldSortMode: SortMode, newSortMode: SortMode) {
let oldIndexPath = indexPath(for: oldSortMode)
let newIndexPath = indexPath(for: newSortMode)
let oldSelectedCell = tableView.cellForRow(at: oldIndexPath)
let newSelectedCell = tableView.cellForRow(at: newIndexPath)
oldSelectedCell?.accessoryType = .none
newSelectedCell?.accessoryType = .checkmark
}
func indexPath(for mode: SortMode) -> IndexPath {
guard let selectedIndex = SortMode.allCases.firstIndex(of: mode) else {
fatalError()
}
return IndexPath(row: selectedIndex, section: Constants.firstSectionIndex)
}
}
extension SPSortOrderViewController {
@objc
func dismissWasPressed() {
dismiss(animated: true, completion: nil)
}
}
// MARK: - Constants
//
private enum Constants {
static let numberOfSections = 1
static let firstSectionIndex = 0
}
```
|
Thomas H. Woods (March 17, 1836 - August 10, 1910) was a Mississippi lawyer and legislator who served as Chief Justice of the Mississippi Supreme Court.
Born on in Glasgow, Kentucky, in 1848 his father, Reverend Henry Woods, moved his family to Kemper County, Mississippi. Woods attended the public schools there, and later attended two sessions at Williams College in Massachusetts. After returning to Mississippi, he read law and obtained his license to practice, settling in Kemper County. He was sent as a delegate to the convention which passed the ordinance of secession, of which body he was the youngest member.
He served in the Confederate States Army and served as the Captain of Co. C, 13th Mississippi Regiment Infantry, receiving a serious wound at Malvern Hill. After the war he was an attorney, and in 1865 was elected District Attorney, reelected in 1866 and again in 1875. He resigned in 1876, and was elected to the Mississippi State Legislature in 1882. In 1889, Governor Robert Lowry appointed Woods to the Mississippi Supreme Court, in which he served as the chief justice. He also served as the first president of Citizens National Bank, also known as Citizens Savings Bank which was started in 1888. He died at his home on and is buried in Rose Hill Cemetery in Meridian, Mississippi.
References
Sources
Publication #51 Rose Hill Cemetery Interment Records; page 246; by Bill and Mary East; Published by Lauderdale County Department of Archives & History, Inc.
The Meridian Star; May 1, 1938; Page 11; Article "From a Small Start to Federal Agency"
Confederate States Army officers
District attorneys in Mississippi
1910 deaths
Chief Justices of the Mississippi Supreme Court
1836 births
American bank presidents
People from Glasgow, Kentucky
U.S. state supreme court judges admitted to the practice of law by reading law
19th-century American judges
19th-century American businesspeople
Williams College alumni
|
```go
package dns
import (
"context"
"net"
"strings"
"sync"
"github.com/go-kit/log"
"github.com/go-kit/log/level"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promauto"
"github.com/thanos-io/thanos/pkg/discovery/dns/godns"
"github.com/thanos-io/thanos/pkg/discovery/dns/miekgdns"
"github.com/thanos-io/thanos/pkg/errutil"
"github.com/thanos-io/thanos/pkg/extprom"
)
// Provider is a stateful cache for asynchronous DNS resolutions. It provides a way to resolve addresses and obtain them.
type Provider struct {
sync.RWMutex
resolver Resolver
// A map from domain name to a slice of resolved targets.
resolved map[string][]string
logger log.Logger
resolverAddrs *extprom.TxGaugeVec
resolverLookupsCount prometheus.Counter
resolverFailuresCount prometheus.Counter
}
type ResolverType string
const (
GolangResolverType ResolverType = "golang"
MiekgdnsResolverType ResolverType = "miekgdns"
)
func (t ResolverType) ToResolver(logger log.Logger) ipLookupResolver {
var r ipLookupResolver
switch t {
case GolangResolverType:
r = &godns.Resolver{Resolver: net.DefaultResolver}
case MiekgdnsResolverType:
r = &miekgdns.Resolver{ResolvConf: miekgdns.DefaultResolvConfPath}
default:
level.Warn(logger).Log("msg", "no such resolver type, defaulting to golang", "type", t)
r = &godns.Resolver{Resolver: net.DefaultResolver}
}
return r
}
// NewProvider returns a new empty provider with a given resolver type.
// If empty resolver type is net.DefaultResolver.
func NewProvider(logger log.Logger, reg prometheus.Registerer, resolverType ResolverType) *Provider {
p := &Provider{
resolver: NewResolver(resolverType.ToResolver(logger), logger),
resolved: make(map[string][]string),
logger: logger,
resolverAddrs: extprom.NewTxGaugeVec(reg, prometheus.GaugeOpts{
Name: "dns_provider_results",
Help: "The number of resolved endpoints for each configured address",
}, []string{"addr"}),
resolverLookupsCount: promauto.With(reg).NewCounter(prometheus.CounterOpts{
Name: "dns_lookups_total",
Help: "The number of DNS lookups resolutions attempts",
}),
resolverFailuresCount: promauto.With(reg).NewCounter(prometheus.CounterOpts{
Name: "dns_failures_total",
Help: "The number of DNS lookup failures",
}),
}
return p
}
// Clone returns a new provider from an existing one.
func (p *Provider) Clone() *Provider {
return &Provider{
resolver: p.resolver,
resolved: make(map[string][]string),
logger: p.logger,
resolverAddrs: p.resolverAddrs,
resolverLookupsCount: p.resolverLookupsCount,
resolverFailuresCount: p.resolverFailuresCount,
}
}
// IsDynamicNode returns if the specified StoreAPI addr uses
// any kind of SD mechanism.
func IsDynamicNode(addr string) bool {
qtype, _ := GetQTypeName(addr)
return qtype != ""
}
// GetQTypeName splits the provided addr into two parts: the QType (if any)
// and the name.
func GetQTypeName(addr string) (qtype, name string) {
qtypeAndName := strings.SplitN(addr, "+", 2)
if len(qtypeAndName) != 2 {
return "", addr
}
return qtypeAndName[0], qtypeAndName[1]
}
// Resolve stores a list of provided addresses or their DNS records if requested.
// Addresses prefixed with `dns+` or `dnssrv+` will be resolved through respective DNS lookup (A/AAAA or SRV).
// For non-SRV records, it will return an error if a port is not supplied.
func (p *Provider) Resolve(ctx context.Context, addrs []string) error {
resolvedAddrs := map[string][]string{}
errs := errutil.MultiError{}
for _, addr := range addrs {
var resolved []string
qtype, name := GetQTypeName(addr)
if qtype == "" {
resolvedAddrs[name] = []string{name}
continue
}
resolved, err := p.resolver.Resolve(ctx, name, QType(qtype))
p.resolverLookupsCount.Inc()
if err != nil {
// Append all the failed dns resolution in the error list.
errs.Add(err)
// The DNS resolution failed. Continue without modifying the old records.
p.resolverFailuresCount.Inc()
// Use cached values.
p.RLock()
resolved = p.resolved[addr]
p.RUnlock()
}
resolvedAddrs[addr] = resolved
}
// All addresses have been resolved. We can now take an exclusive lock to
// update the resolved addresses metric and update the local state.
p.Lock()
defer p.Unlock()
p.resolverAddrs.ResetTx()
for name, addrs := range resolvedAddrs {
p.resolverAddrs.WithLabelValues(name).Set(float64(len(addrs)))
}
p.resolverAddrs.Submit()
p.resolved = resolvedAddrs
return errs.Err()
}
// Addresses returns the latest addresses present in the Provider.
func (p *Provider) Addresses() []string {
p.RLock()
defer p.RUnlock()
var result []string
for _, addrs := range p.resolved {
result = append(result, addrs...)
}
return result
}
```
|
```php
<?php
/*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
*/
namespace Google\Service\DLP;
class GooglePrivacyDlpV2QuasiIdField extends \Google\Model
{
/**
* @var string
*/
public $customTag;
protected $fieldType = GooglePrivacyDlpV2FieldId::class;
protected $fieldDataType = '';
/**
* @param string
*/
public function setCustomTag($customTag)
{
$this->customTag = $customTag;
}
/**
* @return string
*/
public function getCustomTag()
{
return $this->customTag;
}
/**
* @param GooglePrivacyDlpV2FieldId
*/
public function setField(GooglePrivacyDlpV2FieldId $field)
{
$this->field = $field;
}
/**
* @return GooglePrivacyDlpV2FieldId
*/
public function getField()
{
return $this->field;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePrivacyDlpV2QuasiIdField::class, 'Google_Service_DLP_GooglePrivacyDlpV2QuasiIdField');
```
|
```objective-c
/*
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#import "RTCConfiguration.h"
#include "api/peer_connection_interface.h"
NS_ASSUME_NONNULL_BEGIN
@interface RTC_OBJC_TYPE (RTCConfiguration)
()
/** Optional TurnCustomizer.
* With this class one can modify outgoing TURN messages.
* The object passed in must remain valid until PeerConnection::Close() is
* called.
*/
@property(nonatomic, nullable) webrtc::TurnCustomizer* turnCustomizer;
@end
NS_ASSUME_NONNULL_END
```
|
Zoodoo Zoo is a wildlife park about from Richmond, Tasmania in Australia. It is spread over .
Zoodoo Zoo is a hands-on safari and native animal park. Visitors are able to feed lions, meet reptiles, and see Tasmanian devils and other Australian native animals up close every day during keeper talks and through close encounter packages. Encounters enable small groups of visitors to book time with a particular animal and keeper to actually enter the animals habitat and interact with them on the choice of the animal to do so. Zoodoo opened in 1999 with a small collection of native rescued and orphaned wildlife species. It has since expanded its facilities and animal collection, with exotic animal species including lions and primates, as well as having a large section dedicated to native animals. In its 21st year of operation the zoo changed hands and management and is now embarking on a new vision for the future and has developed a concept plan and vision strategy to carry it forward in line with evolving needs and expectations of society and for the conservation of biodiversity. The Zoo became accredited with the Zoo Aquarium Association of Australasia in March 2020 and is independently assessed annually for meeting international standards of animal welfare based on the 5 domains model.
As part of its new future the zoo also declared 300 acres behind the zoo of threatened vegetation communities along the Coal River Tier, as a wildlife refuge. The first step of which involved registering the land with The Tasmanian Land Conservancies 'Land for Wildlife' program.
Animals
Native Marsupial Mammals
Bare-nosed wombat
Bennett's wallaby
Eastern grey kangaroo
Eastern quoll
Eastern ringtail possum
Spotted-tailed quoll
Squirrel glider
Sugar glider
Tasmanian (golden) brushtail possum
Tasmanian devil
Tasmanian pademelon
Domestic & Farm Mammals
Alpaca
Arabian camel
Domestic rabbit
Guinea pig
Llama
Shetland pony
Exotic Mammals
African lion
Bolivian squirrel monkey
Brown capuchin monkey
Cape porcupine
Cotton-top tamarin
European fallow deer
Grant's zebra
Serval
White-tufted marmoset
Reptile
Eastern blue-tongued lizard
Birds
Australian king parrot
Black swan
Budgerigar
Cockatiel
Common ostrich
Eclectus parrot
Emu
Fischer's lovebird
Helmeted guinea fowl
Indian ringneck parakeet
Long-billed corella
Mandarin duck
Rainbow lorikeet
Red-tailed black cockatoo
Short-billed corella
Silkie chicken
Sulphur crested cockatoo
References
External links
1999 establishments in Australia
Zoos established in 1999
Parks in Tasmania
Zoos in Tasmania
Wildlife parks in Australia
|
Majed bin Ali Al-Naimi () is the head of the National Archive Center and the former Minister of Education of Bahrain.
Early life and education
Al-Naimi holds a Doctorate of Economic History from the University of Wales, a Master of Military Science from the Saudi Armed Forces Command and Staff College, a Master of Gulf History from Ain Shams University in Egypt, and a Bachelor of Arts in History from Kuwait University.
Career
Al-Naimi entered public service upon his graduation, eventually rising to the presidency of the University of Bahrain, which he held from 2001 to 2002. On November 11, 2002, he was appointed Minister of Education by a decree of King Hamad bin Isa Al Khalifa.
Personal life
His son Ali bin Majid Al-Naimi is a member of the Council of Representatives.
References
Government ministers of Bahrain
1955 births
Living people
Education ministers
21st-century Bahraini politicians
|
This is a list of Super Fight League champions in each weight division.
The SFL weight classes follow a full application of the Unified Rules of Mixed Martial Arts, as instated in 2001.
Champions
Men's divisions
Women's divisions
Championship history (male)
Heavyweight championship
206 - 265 lb (93 to 120 kg)
Light heavyweight championship
186 - 205 lb (84 to 93 kg)
Middleweight championship
171 to 185 lb (77 to 84 kg)
Welterweight championship
156 to 170 lb (70 to 77 kg)
Lightweight championship
146 to 155 lb (66 to 70 kg)
Featherweight championship
136 to 145 lb (62 to 66 kg)
Bantamweight championship
126 to 135 lb (57 to 61 kg)
Championship history (female)
Women's flyweight championship
116 to 125 lb (52 to 56 kg)
Women's bantamweight championship (American division)
126 to 135 lb (57 to 61 kg)
Super Fight League champions, list of
|
Texmelucan may refer to:
San Martín Texmelucan, Puebla
San Martín Texmelucan (municipality), Puebla
San Lorenzo Texmelucan, Oaxaca
Texmelucan Zapotec language
|
Walter Flanagan (born October 23, 1967) is a former comic book store manager, reality television personality, podcaster, and comic book artist. Flanagan is a long-time friend of Kevin Smith, and (according to Smith's book Silent Bob Speaks) it was Flanagan who turned Smith on to comic books. He formerly managed Jay and Silent Bob's Secret Stash in Red Bank, New Jersey.
Flanagan was born in Perth Amboy, New Jersey, grew up in nearby Highlands and attended Henry Hudson Regional High School with Smith.
Flanagan is the co-host of the Tell 'Em Steve-Dave! podcast with longtime friends Bryan Johnson and Brian Quinn. Flanagan is also the lead star in AMC's Comic Book Men, which premiered in February 2012.
Career
Film
According to the Mallrats commentary, Smith cites Flanagan as being the influence for the Brodie character, down to the Dixie Cup full of soda that the character carries with him everywhere as well as his October birth date. Flanagan also originated the character of Olaf, seen in Clerks as Silent Bob's cousin from Russia.
In Smith's 1994 debut movie, Clerks, Flanagan was credited with four different roles (which made Kevin Smith, on the Clerks commentary, refer to Flanagan as "The Lon Chaney, Sr. of the 1990s"). Among these were the egg-obsessed guidance counselor, the cigarette protester who buys a pack of cigarettes immediately after the anti-cigarette protest, the customer offended by the lewd "jizz mopper" discussion, and the customer to whom Randal said the resident cat's name was "Annoying Customer." In the extended cut, he also appears as an RST Video customer. He also designed the clown animation that made up the View Askew logo, and appeared in the Soul Asylum video for "Can't Even Tell", directed by Kevin Smith.
In Smith's 1995 Mallrats, Flanagan played the recurring role of Walt "Fanboy" Grover, who is accompanied by his friend Steve-Dave (Bryan Johnson), with whom Walt offers constant assent with his trademark phrase, "Tell 'em, Steve-Dave!" He also appears in an uncredited role as one of Mr. Svenning's (Michael Rooker) assistants who places a podium in the wrong place on a stage, is seen at a table under which Jay and Bob hide from the mall security guard LaFours, and greets Brodie at the swap meet. Flanagan was also given a credit for being a set production assistant on the film. Flanagan is also referenced when Jay states that LaFours is "faster than Walt Flanagan's dog...".
Flanagan and Johnson reappear as Walt Grover the Fanboy and Steve-Dave in a deleted scene in Smith's 1997 romantic drama Chasing Amy. His dog is yet again mentioned in one of the Bluntman and Chronic pages during the opening. In another deleted scene, Banky (Jason Lee), and Holden (Ben Affleck) toss a trash can through the window of Steve-Dave's comic store, in retaliation for the harsh criticism Steve-Dave and Walt gave Bluntman and Chronic.
Walt reappears as Walt Grover among the anti-abortion protestors outside the abortion clinic in the beginning of the film Dogma, among the people leaving the theater at the end of Jay and Silent Bob Strike Back, and in three episodes of Clerks: The Animated Series, though none of them aired during the series' broadcast run.
Flanagan later appeared as a caddy in Bryan Johnson's 2000 film Vulgar, and as a customer in Clerks II.
Comic books
Flanagan was also referenced by name in Green Arrow #3 (June 2001), which Kevin Smith wrote.
Flanagan himself has provided the art for two comic books published written by Smith and Bryan Johnson. In 2005 he and Johnson published through IDW Publishing Karney, a four-issue horror miniseries which explores the sideshow freaks in a traveling circus in the 1800s. The series was adapted from a screenplay that Johnson had originally written to be produced as a film.
In 2007 the two collaborated on War of the Undead, a miniseries set in 1945 in which the Third Reich hatches an ill-fated plan to employ Count Dracula, the Wolfman and Frankenstein's monster as weapons in a last-ditch effort to defeat the Allies.
Flanagan then provided the art for Smith's limited series Batman: Cacophony, which ran from November 2008 to January 2009. The series featured the villains Onomatopoeia (a character created by Smith during his run at Green Arrow), The Joker, Maxie Zeus, and Victor Zsasz. The trade paperback of Batman: Cacophony became a New York Times Bestseller in their Hardcover Graphic Books section.
In 2010 Smith subsequently wrote a six-issue Batman mini-series called The Widening Gyre for DC Comics. After issue six was published, Smith and Flanagan's work on their reality show, Comic Book Men, extended this planned break further than expected. It was decided in the interim to release the remaining issues as a separate series to be called Batman: Bellicosity, due in 2014.
As featured at the end of season 2 of Comic Book Men, Walt Flanagan does the artwork for the original comic series, Cryptozoic Man. Fellow co-host Bryan Johnson is the author, with Ming Chen and Mike Zapcic helping with character creation. Flanagan provided cover pencils for the first five issues of the Blue Juice Comics series The Accelerators.
Songwriting
Flanagan wrote the lyrics for a song titled “I Sell Comics.” A contest was held in which listeners of the podcast, “Tell ‘Em Steve-Dave!” submitted entries for music to the song. Courage My Love’s version was chosen as the winner.
Music video
Soul Asylum - Cant Even Tell (1994) playing hockey on the Quick Stop roof.
Personal life
Flanagan is married to Debra Flanagan and has two daughters.
Notes
External links
Tell 'Em Steve Dave! official site
AMC official Comic Book Men site
1967 births
Living people
American comics artists
American male film actors
Henry Hudson Regional High School alumni
People from Highlands, New Jersey
People from Perth Amboy, New Jersey
|
```shell
How to change your most recent commit
The three states in git
`master` and `origin` aren't special
Perform a dry run
Dates in git
```
|
```php
<?php
/*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
*/
namespace Google\Service\AndroidPublisher;
class BatchMigrateBasePlanPricesRequest extends \Google\Collection
{
protected $collection_key = 'requests';
protected $requestsType = MigrateBasePlanPricesRequest::class;
protected $requestsDataType = 'array';
/**
* @param MigrateBasePlanPricesRequest[]
*/
public function setRequests($requests)
{
$this->requests = $requests;
}
/**
* @return MigrateBasePlanPricesRequest[]
*/
public function getRequests()
{
return $this->requests;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchMigrateBasePlanPricesRequest::class, your_sha256_hasht');
```
|
```python
#
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
#
# path_to_url
#
# Unless required by applicable law or agreed to in writing,
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# specific language governing permissions and limitations
from __future__ import division
from kudu.compat import CompatUnitTest
from kudu.errors import KuduInvalidArgument
import kudu
from kudu.schema import Schema
class TestSchema(CompatUnitTest):
def setUp(self):
self.columns = [('one', 'int32', False),
('two', 'int8', False),
('three', 'double', True),
('four', 'string', False)]
self.primary_keys = ['one', 'two']
self.builder = kudu.schema_builder()
for name, typename, nullable in self.columns:
self.builder.add_column(name, typename, nullable=nullable)
self.builder.set_primary_keys(self.primary_keys)
self.schema = self.builder.build()
def test_repr(self):
result = repr(self.schema)
for name, _, _ in self.columns:
assert name in result
assert 'PRIMARY KEY (one, two)' in result
def test_schema_length(self):
assert len(self.schema) == 4
def test_names(self):
assert self.schema.names == ['one', 'two', 'three', 'four']
def test_primary_keys(self):
assert self.schema.primary_key_indices() == [0, 1]
assert self.schema.primary_keys() == ['one', 'two']
def test_getitem_boundschecking(self):
idx = 4
error_msg = 'Column index {0} is not in range'.format(idx)
with self.assertRaisesRegex(IndexError, error_msg):
self.schema[idx]
def test_getitem_wraparound(self):
# wraparound
result = self.schema[-1]
expected = self.schema[3]
assert result.equals(expected)
def test_getitem_string(self):
result = self.schema['three']
expected = self.schema[2]
assert result.equals(expected)
error_msg = 'not_found'
with self.assertRaisesRegex(KeyError, error_msg):
self.schema['not_found']
def test_schema_equals(self):
assert self.schema.equals(self.schema)
builder = kudu.schema_builder()
builder.add_column('key', 'int64', nullable=False, primary_key=True)
schema = builder.build()
assert not self.schema.equals(schema)
def test_column_equals(self):
assert not self.schema[0].equals(self.schema[1])
def test_type(self):
builder = kudu.schema_builder()
(builder.add_column('key')
.type('int32')
.primary_key()
.block_size(1048576)
.nullable(False))
schema = builder.build()
tp = schema[0].type
assert tp.name == 'int32'
assert tp.type == kudu.schema.INT32
def test_compression(self):
builder = kudu.schema_builder()
builder.add_column('key', 'int64', nullable=False)
foo = builder.add_column('foo', 'string').compression('lz4')
assert foo is not None
bar = builder.add_column('bar', 'string')
bar.compression(kudu.COMPRESSION_ZLIB)
compression = 'unknown'
error_msg = 'Invalid compression type: {0}'.format(compression)
with self.assertRaisesRegex(ValueError, error_msg):
bar = builder.add_column('qux', 'string', compression=compression)
builder.set_primary_keys(['key'])
builder.build()
# TODO; The C++ client does not give us an API to see the storage
# attributes of a column
def test_encoding(self):
builder = kudu.schema_builder()
builder.add_column('key', 'int64', nullable=False)
available_encodings = ['auto', 'plain', 'prefix', 'bitshuffle',
'rle', 'dict', kudu.ENCODING_DICT]
for enc in available_encodings:
foo = builder.add_column('foo_%s' % enc, 'string').encoding(enc)
assert foo is not None
del foo
bar = builder.add_column('bar', 'string')
bar.encoding(kudu.ENCODING_PLAIN)
error_msg = 'Invalid encoding type'
with self.assertRaisesRegex(ValueError, error_msg):
builder.add_column('qux', 'string', encoding='unknown')
builder.set_primary_keys(['key'])
builder.build()
# TODO(wesm): The C++ client does not give us an API to see the storage
# attributes of a column
def test_decimal(self):
builder = kudu.schema_builder()
(builder.add_column('key')
.type('decimal')
.primary_key()
.nullable(False)
.precision(9)
.scale(2))
schema = builder.build()
column = schema[0]
tp = column.type
assert tp.name == 'decimal'
assert tp.type == kudu.schema.DECIMAL
ta = column.type_attributes
assert ta.precision == 9
assert ta.scale == 2
def test_decimal_without_precision(self):
builder = kudu.schema_builder()
(builder.add_column('key')
.type('decimal')
.primary_key()
.nullable(False))
error_msg = 'no precision provided for decimal column: key'
with self.assertRaisesRegex(kudu.KuduInvalidArgument, error_msg):
builder.build()
def test_precision_on_non_decimal_column(self):
builder = kudu.schema_builder()
(builder.add_column('key')
.type('int32')
.primary_key()
.nullable(False)
.precision(9)
.scale(2))
error_msg = 'precision is not valid on a 2 column: key'
with self.assertRaisesRegex(kudu.KuduInvalidArgument, error_msg):
builder.build()
def test_date(self):
builder = kudu.schema_builder()
(builder.add_column('key')
.type('date')
.primary_key()
.nullable(False))
schema = builder.build()
column = schema[0]
tp = column.type
assert tp.name == 'date'
assert tp.type == kudu.schema.DATE
def test_varchar(self):
builder = kudu.schema_builder()
(builder.add_column('key')
.type('varchar')
.primary_key()
.nullable(False)
.length(10))
schema = builder.build()
column = schema[0]
tp = column.type
assert tp.name == 'varchar'
assert tp.type == kudu.schema.VARCHAR
ta = column.type_attributes
assert ta.length == 10
def test_varchar_without_length(self):
builder = kudu.schema_builder()
(builder.add_column('key')
.type('varchar')
.primary_key()
.nullable(False))
error_msg = 'no length provided for VARCHAR column: key'
with self.assertRaisesRegex(kudu.KuduInvalidArgument, error_msg):
builder.build()
def test_varchar_invalid_length(self):
builder = kudu.schema_builder()
(builder.add_column('key')
.type('varchar')
.primary_key()
.length(0)
.nullable(False))
error_msg = 'length must be between 1 and 65535: key'
with self.assertRaisesRegex(kudu.KuduInvalidArgument, error_msg):
builder.build()
def test_length_on_non_varchar_column(self):
builder = kudu.schema_builder()
(builder.add_column('key')
.type('decimal')
.primary_key()
.nullable(False)
.length(10))
error_msg = 'no precision provided for decimal column: key'
with self.assertRaisesRegex(kudu.KuduInvalidArgument, error_msg):
builder.build()
def test_unsupported_col_spec_methods_for_create_table(self):
builder = kudu.schema_builder()
builder.add_column('test', 'int64').rename('test')
error_msg = 'cannot rename a column during CreateTable: test'
with self.assertRaisesRegex(kudu.KuduNotSupported, error_msg):
builder.build()
builder.add_column('test', 'int64').remove_default()
error_msg = 'cannot rename a column during CreateTable: test'
with self.assertRaisesRegex(kudu.KuduNotSupported, error_msg):
builder.build()
def test_set_column_spec_pk(self):
builder = kudu.schema_builder()
key = (builder.add_column('key', 'int64', nullable=False)
.primary_key())
assert key is not None
schema = builder.build()
assert 'key' in schema.primary_keys()
builder = kudu.schema_builder()
key = (builder.add_column('key', 'int64', nullable=False,
primary_key=True))
schema = builder.build()
assert 'key' in schema.primary_keys()
def test_partition_schema(self):
pass
def test_nullable_not_null(self):
builder = kudu.schema_builder()
(builder.add_column('key', 'int64', nullable=False)
.primary_key())
builder.add_column('data1', 'double').nullable(True)
builder.add_column('data2', 'double').nullable(False)
builder.add_column('data3', 'double', nullable=True)
builder.add_column('data4', 'double', nullable=False)
schema = builder.build()
assert not schema[0].nullable
assert schema[1].nullable
assert not schema[2].nullable
assert schema[3].nullable
assert not schema[4].nullable
def test_mutable_immutable(self):
builder = kudu.schema_builder()
(builder.add_column('key', 'int64', nullable=False)
.primary_key())
builder.add_column('data1', 'double').mutable(True)
builder.add_column('data2', 'double').mutable(False)
schema = builder.build()
assert schema[0].mutable
assert schema[1].mutable
assert not schema[2].mutable
def test_column_comment(self):
comment = "test_comment"
builder = kudu.schema_builder()
(builder.add_column('key', 'int64', nullable=False)
.primary_key()
.comment(comment))
builder.add_column('data1', 'double').nullable(True)
schema = builder.build()
assert isinstance(schema[0].comment, str)
assert len(schema[0].comment) > 0
assert schema[0].comment == comment
assert isinstance(schema[1].comment, str)
assert len(schema[1].comment) == 0
def test_auto_incrementing_column_name(self):
name = Schema.get_auto_incrementing_column_name()
assert isinstance(name, str)
assert len(name) > 0
def test_non_unique_primary_key(self):
builder = kudu.schema_builder()
(builder.add_column('key', 'int64')
.nullable(False)
.non_unique_primary_key())
builder.add_column('data1', 'double')
schema = builder.build()
assert len(schema) == 3
assert len(schema.primary_keys()) == 2
assert Schema.get_auto_incrementing_column_name() in schema.primary_keys()
def test_set_non_unique_primary_keys(self):
builder = kudu.schema_builder()
(builder.add_column('key', 'int64')
.nullable(False))
builder.add_column('data1', 'double')
builder.set_non_unique_primary_keys(['key'])
schema = builder.build()
assert len(schema) == 3
assert len(schema.primary_keys()) == 2
assert Schema.get_auto_incrementing_column_name() in schema.primary_keys()
def test_set_non_unique_primary_keys_wrong_order(self):
builder = kudu.schema_builder()
builder.add_column('key1', 'int64').nullable(False)
builder.add_column('key2', 'double').nullable(False)
builder.set_non_unique_primary_keys(['key2', 'key1'])
error_msg = 'primary key columns must be listed first in the schema: key'
with self.assertRaisesRegex(KuduInvalidArgument, error_msg):
schema = builder.build()
def test_set_non_unique_primary_keys_not_first(self):
builder = kudu.schema_builder()
builder.add_column('data1', 'double')
(builder.add_column('key', 'int64')
.nullable(False))
builder.set_non_unique_primary_keys(['key'])
error_msg = 'primary key columns must be listed first in the schema: key'
with self.assertRaisesRegex(KuduInvalidArgument, error_msg):
schema = builder.build()
def test_set_non_unique_primary_keys_same_name_twice(self):
builder = kudu.schema_builder()
(builder.add_column('key', 'int64')
.nullable(False))
builder.add_column('data1', 'double')
builder.set_non_unique_primary_keys(['key', 'key'])
error_msg = 'primary key columns must be listed first in the schema: key'
with self.assertRaisesRegex(KuduInvalidArgument, error_msg):
schema = builder.build()
def test_unique_and_non_unique_primary_key_on_same_column(self):
builder = kudu.schema_builder()
(builder.add_column('key', 'int64')
.nullable(False)
.primary_key()
.non_unique_primary_key())
builder.add_column('data1', 'double')
schema = builder.build()
assert len(schema) == 3
assert len(schema.primary_keys()) == 2
assert Schema.get_auto_incrementing_column_name() in schema.primary_keys()
def test_non_unique_and_unique_primary_key_on_same_column(self):
builder = kudu.schema_builder()
(builder.add_column('key', 'int64')
.nullable(False)
.non_unique_primary_key()
.primary_key())
builder.add_column('data1', 'double')
schema = builder.build()
assert len(schema) == 2
assert len(schema.primary_keys()) == 1
assert Schema.get_auto_incrementing_column_name() not in schema.primary_keys()
def test_non_unique_primary_key_not_first(self):
builder = kudu.schema_builder()
builder.add_column('data1', 'int64')
(builder.add_column('key', 'double')
.nullable(False)
.non_unique_primary_key())
error_msg = 'primary key column must be the first column'
with self.assertRaisesRegex(KuduInvalidArgument, error_msg):
builder.build()
def test_unique_and_non_unique_primary_key_on_different_cols(self):
builder = kudu.schema_builder()
(builder.add_column('key1', 'double')
.nullable(False)
.primary_key())
(builder.add_column('key2', 'double')
.nullable(False)
.non_unique_primary_key())
error_msg = 'multiple columns specified for primary key: key1, key2'
with self.assertRaisesRegex(KuduInvalidArgument, error_msg):
builder.build()
def test_non_unique_and_unique_primary_key_on_different_cols(self):
builder = kudu.schema_builder()
(builder.add_column('key1', 'double')
.nullable(False)
.non_unique_primary_key())
(builder.add_column('key2', 'double')
.nullable(False)
.primary_key())
error_msg = 'multiple columns specified for primary key: key1, key2'
with self.assertRaisesRegex(KuduInvalidArgument, error_msg):
builder.build()
def test_multiple_non_unique_primary_keys(self):
builder = kudu.schema_builder()
(builder.add_column('key1', 'double')
.nullable(False)
.non_unique_primary_key())
(builder.add_column('key2', 'double')
.nullable(False)
.non_unique_primary_key())
error_msg = 'multiple columns specified for primary key: key1, key2'
with self.assertRaisesRegex(KuduInvalidArgument, error_msg):
builder.build()
def test_non_unique_primary_key_and_set_non_unique_primary_keys(self):
builder = kudu.schema_builder()
(builder.add_column('key', 'int64')
.nullable(False)
.non_unique_primary_key())
builder.add_column('data1', 'double')
builder.set_non_unique_primary_keys(['key'])
error_msg = ('primary key specified by both SetNonUniquePrimaryKey\(\)'
' and on a specific column: key')
with self.assertRaisesRegex(KuduInvalidArgument, error_msg):
builder.build()
def test_primary_key_and_set_non_unique_primary_keys(self):
builder = kudu.schema_builder()
(builder.add_column('key', 'int64')
.nullable(False)
.primary_key())
builder.add_column('data1', 'double')
builder.set_non_unique_primary_keys(['key'])
error_msg = ('primary key specified by both SetNonUniquePrimaryKey\(\)'
' and on a specific column: key')
with self.assertRaisesRegex(KuduInvalidArgument, error_msg):
builder.build()
def test_primary_key_and_set_primary_keys(self):
builder = kudu.schema_builder()
(builder.add_column('key', 'int64')
.nullable(False)
.primary_key())
builder.add_column('data1', 'double')
builder.set_primary_keys(['key'])
error_msg = ('primary key specified by both SetPrimaryKey\(\)'
' and on a specific column: key')
with self.assertRaisesRegex(KuduInvalidArgument, error_msg):
builder.build()
def test_non_unique_primary_key_and_set_primary_keys(self):
builder = kudu.schema_builder()
(builder.add_column('key', 'int64')
.nullable(False)
.non_unique_primary_key())
builder.add_column('data1', 'double')
builder.set_primary_keys(['key'])
error_msg = ('primary key specified by both SetPrimaryKey\(\)'
' and on a specific column: key')
with self.assertRaisesRegex(KuduInvalidArgument, error_msg):
builder.build()
def test_set_non_unique_and_set_unique_primary_key(self):
builder = kudu.schema_builder()
builder.add_column('key1', 'int64').nullable(False)
builder.add_column('key2', 'double').nullable(False)
builder.set_non_unique_primary_keys(['key1', 'key2'])
builder.set_primary_keys(['key1', 'key2'])
schema = builder.build()
assert len(schema) == 2
assert len(schema.primary_keys()) == 2
assert Schema.get_auto_incrementing_column_name() not in schema.primary_keys()
def test_set_unique_and_set_non_unique_primary_key(self):
builder = kudu.schema_builder()
builder.add_column('key1', 'int64').nullable(False)
builder.add_column('key2', 'double').nullable(False)
builder.set_primary_keys(['key1', 'key2'])
builder.set_non_unique_primary_keys(['key1', 'key2'])
schema = builder.build()
assert len(schema) == 3
assert len(schema.primary_keys()) == 3
assert Schema.get_auto_incrementing_column_name() in schema.primary_keys()
def test_reserved_column_name(self):
builder = kudu.schema_builder()
(builder.add_column('key', 'int64')
.nullable(False)
.primary_key())
builder.add_column(Schema.get_auto_incrementing_column_name(), 'double')
error_msg = 'auto_incrementing_id is a reserved column name'
with self.assertRaisesRegex(KuduInvalidArgument, error_msg):
builder.build()
def test_default_value(self):
pass
def test_column_schema_repr(self):
result = repr(self.schema[0])
expected = 'ColumnSchema(name=one, type=int32, nullable=False)'
self.assertEqual(result, expected)
```
|
Archery at the 2020 Summer Paralympics was held at Dream Island Archery Park in Tokyo Bay Zone It consisted of 9 events (3 men, 3 women, 3 mixed teams). It was expected that there would be 140 archer slots in the qualifying rounds to the countdown of the Games.
The 2020 Summer Olympic and Paralympic Games were postponed to 2021 due to the COVID-19 pandemic. They kept the 2020 name and were held from 24 August to 5 September 2021.
Qualification
Competition schedule
Participating nations
As of 24 August 2021
(Host country)
Events
There were 140 archers (80 men and 60 women) competing in 9 medal events.
Medal summary
Medal table
Medalists
See also
Archery at the 2020 Summer Olympics
References
External links
Results book
2020 Summer Paralympics events
2020
International archery competitions hosted by Japan
Paralympics
|
Hal Monty (born Albert Sutan; 21 December 1907 – 17 November 1967) was a British comedian and actor.
Life and career
Sutan was born in Glasgow, the son of Russian Jewish immigrants, and grew up in London. In the late 1920s, he performed as one half of a dance act, Grade and Sutton, with Boris Winogradsky, who later took the name Bernard Delfont.
He worked as both Albert Sutton and Eddie May, before taking the stage name Hal Monty. He developed a career in variety shows as a dancer and comedian, with the billing "Laugh and Be Happy". He also worked as a booking agent. By the time of the Second World War he was established as a slapstick comedian, and performed balloon modelling. He was popular as an armed forces entertainer, and toured with his own revue, Hal Monty's Blackbirds. He appeared on BBC radio shows including Variety Bandbox and The Happidrome, sometimes credited as "the khaki-clad comedian" or "The General Forces Favourite". He toured with ENSA in 1945.
In 1949 he starred in two British comedy films as a military recruit, Bless 'Em All (alongside Max Bygraves in his screen debut), and its sequel Skimpy in the Navy, which he co-wrote. He toured Sweden in 1949 with his Blackbirds revue; performed in pantomimes in Britain; and appeared in the television show Variety Parade in 1953. He continued to tour through the 1950s and later, appearing in Singapore in 1966.
He died in Saigon, Vietnam, in 1967, at the age of 59.
References
1907 births
1967 deaths
English male radio actors
English male comedians
People from Glasgow
Comedians from London
Male actors from London
British people of Russian-Jewish descent
|
Krasta may refer to:
Krasta, a mountain near Gostivar, North Macedonia
Krastë, Dibër, a small town in east Albania
a character in Harry Turtledove's Darkness series
See also
Krastë (disambiguation)
|
```c++
/*
This program is free software; you can redistribute it and/or modify
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef SLFIFOLIST_HPP
#define SLFIFOLIST_HPP
#include <ndb_global.h>
#include <kernel_types.h>
#include "Pool.hpp"
/**
* Template class used for implementing an
* list of object retreived from a pool
*/
template <typename P, typename T, typename U = T>
class SLFifoListImpl
{
public:
/**
* List head
*/
struct HeadPOD
{
Uint32 firstItem;
Uint32 lastItem;
#ifdef VM_TRACE
bool in_use;
#endif
void init();
inline bool isEmpty() const { return firstItem == RNIL;}
};
struct Head : public HeadPOD
{
Head() { this->init();}
Head& operator=(const HeadPOD& src) {
this->firstItem = src.firstItem;
this->lastItem = src.lastItem;
#ifdef VM_TRACE
this->in_use = src.in_use;
#endif
return *this;
}
};
SLFifoListImpl(P & thePool);
bool seizeFirst(Ptr<T> &);
bool seizeLast(Ptr<T> &);
bool seize(Ptr<T> & ptr) { return seizeLast(ptr);}
void releaseFirst(Ptr<T> &);
void addFirst(Ptr<T> &);
void addLast(Ptr<T> &);
void removeFirst(Ptr<T> &);
void remove() { head.init(); }
/**
* Update i & p value according to <b>i</b>
*/
void getPtr(Ptr<T> &, Uint32 i) const;
/**
* Update p value for ptr according to i value
*/
void getPtr(Ptr<T> &) const ;
/**
* Get pointer for i value
*/
T * getPtr(Uint32 i) const ;
/**
* Update ptr to first element in list
*
* Return i
*/
bool first(Ptr<T> &) const ;
/**
* Update ptr to first element in list
*
* Return i
*/
bool last(Ptr<T> &) const ;
/**
* Get next element
*
* NOTE ptr must be both p & i
*/
bool next(Ptr<T> &) const ;
/**
* Check if next exists i.e. this is not last
*
* NOTE ptr must be both p & i
*/
bool hasNext(const Ptr<T> &) const;
inline bool isEmpty() const { return head.firstItem == RNIL;}
protected:
Head head;
P & thePool;
};
template <typename P, typename T, typename U = T>
class LocalSLFifoListImpl : public SLFifoListImpl<P,T,U>
{
public:
LocalSLFifoListImpl(P & thePool, typename SLFifoListImpl<P,T,U>::HeadPOD&_src)
: SLFifoListImpl<P,T,U>(thePool), src(_src)
{
this->head = src;
#ifdef VM_TRACE
assert(src.in_use == false);
src.in_use = true;
#endif
}
~LocalSLFifoListImpl(){
#ifdef VM_TRACE
assert(src.in_use == true);
#endif
src = this->head;
}
private:
typename SLFifoListImpl<P,T,U>::HeadPOD & src;
};
template <typename P, typename T, typename U>
inline
SLFifoListImpl<P,T,U>::SLFifoListImpl(P & _pool):
thePool(_pool)
{
}
template <typename P, typename T, typename U>
inline
void
SLFifoListImpl<P,T,U>::HeadPOD::init()
{
this->firstItem = RNIL;
this->lastItem = RNIL;
#ifdef VM_TRACE
this->in_use = false;
#endif
}
template <typename P, typename T, typename U>
inline
bool
SLFifoListImpl<P,T,U>::seizeFirst(Ptr<T> & p)
{
if (likely(thePool.seize(p)))
{
addFirst(p);
return true;
}
p.p = NULL;
return false;
}
template <typename P, typename T, typename U>
inline
bool
SLFifoListImpl<P,T,U>::seizeLast(Ptr<T> & p)
{
if (likely(thePool.seize(p)))
{
addLast(p);
return true;
}
p.p = NULL;
return false;
}
template <typename P, typename T, typename U>
inline
void
SLFifoListImpl<P,T,U>::addFirst(Ptr<T> & p)
{
Uint32 first = head.firstItem;
head.firstItem = p.i;
if (first == RNIL)
{
head.lastItem = p.i;
}
p.p->U::nextList = first;
}
template <typename P, typename T, typename U>
inline
void
SLFifoListImpl<P,T,U>::addLast(Ptr<T> & p)
{
T * t = p.p;
Uint32 last = head.lastItem;
t->U::nextList = RNIL;
head.lastItem = p.i;
if(last != RNIL)
{
T * t2 = thePool.getPtr(last);
t2->U::nextList = p.i;
}
else
{
head.firstItem = p.i;
}
}
template <typename P, typename T, typename U>
inline
void
SLFifoListImpl<P,T,U>::removeFirst(Ptr<T> & p)
{
Uint32 first = head.firstItem;
Uint32 last = head.lastItem;
assert(p.i == first);
if (first != last)
{
head.firstItem = p.p->U::nextList;
}
else
{
head.firstItem = head.lastItem = RNIL;
}
}
template <typename P, typename T, typename U>
inline
void
SLFifoListImpl<P,T,U>::releaseFirst(Ptr<T> & p)
{
removeFirst(p);
thePool.release(p);
}
template <typename P, typename T, typename U>
inline
void
SLFifoListImpl<P,T,U>::getPtr(Ptr<T> & p, Uint32 i) const
{
p.i = i;
p.p = thePool.getPtr(i);
}
template <typename P, typename T, typename U>
inline
void
SLFifoListImpl<P,T,U>::getPtr(Ptr<T> & p) const
{
thePool.getPtr(p);
}
template <typename P, typename T, typename U>
inline
T *
SLFifoListImpl<P,T,U>::getPtr(Uint32 i) const
{
return thePool.getPtr(i);
}
/**
* Update ptr to first element in list
*
* Return i
*/
template <typename P, typename T, typename U>
inline
bool
SLFifoListImpl<P,T,U>::first(Ptr<T> & p) const
{
p.i = head.firstItem;
if(p.i != RNIL)
{
p.p = thePool.getPtr(p.i);
return true;
}
p.p = NULL;
return false;
}
template <typename P, typename T, typename U>
inline
bool
SLFifoListImpl<P,T,U>::last(Ptr<T> & p) const
{
p.i = head.lastItem;
if(p.i != RNIL)
{
p.p = thePool.getPtr(p.i);
return true;
}
p.p = NULL;
return false;
}
template <typename P, typename T, typename U>
inline
bool
SLFifoListImpl<P,T,U>::next(Ptr<T> & p) const
{
p.i = p.p->U::nextList;
if(p.i != RNIL)
{
p.p = thePool.getPtr(p.i);
return true;
}
p.p = NULL;
return false;
}
template <typename P, typename T, typename U>
inline
bool
SLFifoListImpl<P,T,U>::hasNext(const Ptr<T> & p) const
{
return p.p->U::nextList != RNIL;
}
// Specializations
template <typename T, typename U = T>
class SLFifoList : public SLFifoListImpl<ArrayPool<T>, T, U>
{
public:
SLFifoList(ArrayPool<T> & p) : SLFifoListImpl<ArrayPool<T>, T, U>(p) {}
};
template <typename T, typename U = T>
class LocalSLFifoList : public LocalSLFifoListImpl<ArrayPool<T>,T,U> {
public:
LocalSLFifoList(ArrayPool<T> & p, typename SLFifoList<T,U>::Head & _src)
: LocalSLFifoListImpl<ArrayPool<T>,T,U>(p, _src) {}
};
#endif
```
|
```smalltalk
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore;
using Microsoft.Extensions.Hosting;
using System;
using System.Runtime.InteropServices;
using System.Reflection;
var app = WebApplication.Create();
app.Run(async context =>
{
context.Response.Headers["Content-Type"] = "text/html";
await context.Response.WriteAsync("<html><body>");
await context.Response.WriteAsync("<h1>.NET Core Info</h1>");
await context.Response.WriteAsync($"Environment.Version: {Environment.Version}");
await context.Response.WriteAsync("<br/>");
await context.Response.WriteAsync($"RuntimeInformation.FrameworkDescription: {RuntimeInformation.FrameworkDescription}");
await context.Response.WriteAsync("<br/>");
var coreCLR = ((AssemblyInformationalVersionAttribute[])typeof(object).Assembly.GetCustomAttributes(typeof(AssemblyInformationalVersionAttribute), false))[0].InformationalVersion;
await context.Response.WriteAsync($"CoreCLR Build: {coreCLR.Split('+')[0]}");
await context.Response.WriteAsync("<br/>");
await context.Response.WriteAsync($"CoreCLR Hash: {coreCLR.Split('+')[1]}");
await context.Response.WriteAsync("<br/>");
var coreFX = ((AssemblyInformationalVersionAttribute[])typeof(Uri).Assembly.GetCustomAttributes(typeof(AssemblyInformationalVersionAttribute), false))[0].InformationalVersion;
await context.Response.WriteAsync($"CoreFX Build: {coreFX.Split('+')[0]}");
await context.Response.WriteAsync("<br/>");
await context.Response.WriteAsync($"CoreFX Hash: {coreFX.Split('+')[1]}");
await context.Response.WriteAsync("<br/>");
await context.Response.WriteAsync("<h2>Environment info</h2>");
await context.Response.WriteAsync($"Environment.OSVersion: {Environment.OSVersion}");
await context.Response.WriteAsync("<br/>");
await context.Response.WriteAsync($"RuntimeInformation.OSDescription: {RuntimeInformation.OSDescription}");
await context.Response.WriteAsync("<br/>");
await context.Response.WriteAsync($"RuntimeInformation.OSArchitecture: {RuntimeInformation.OSArchitecture}");
await context.Response.WriteAsync("<br/>");
await context.Response.WriteAsync($"Environment.ProcessorCount: {Environment.ProcessorCount}");
await context.Response.WriteAsync("</body></html>");
});
app.Run();
```
|
```xml
import { render } from "@testing-library/react";
import React from "react";
import App from "coral-account/App";
import {
CoralContext,
CoralContextProvider,
} from "coral-framework/lib/bootstrap";
export default function customRenderAppWithContext(context: CoralContext) {
render(
<CoralContextProvider value={context}>
<App />
</CoralContextProvider>
);
}
```
|
Kursha Union () is a union parishad of Mirpur Upazila, in Kushtia District, Khulna Division of Bangladesh. The union has an area of and as of 2001 had a population of 30,000. There are 18 villages and 14 mouzas in the union.
References
External links
Unions of Khulna Division
Unions of Mirpur Upazila
Unions of Kushtia District
|
Jasvir Singh may refer to:
Jasvir Singh (kabaddi) (born 1984), Indian kabaddi player
Jasvir Singh (weightlifter) (born 1977), Canadian weightlifter
Jasvir Singh (barrister) (born 1980), British family law barrister
|
```c++
#ifndef BOOST_ARCHIVE_BASIC_TEXT_OARCHIVE_HPP
#define BOOST_ARCHIVE_BASIC_TEXT_OARCHIVE_HPP
// MS compatible compilers support #pragma once
#if defined(_MSC_VER)
# pragma once
#endif
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
// basic_text_oarchive.hpp
// Use, modification and distribution is subject to the Boost Software
// path_to_url
// See path_to_url for updates, documentation, and revision history.
// archives stored as text - note these ar templated on the basic
// stream templates to accommodate wide (and other?) kind of characters
//
// note the fact that on libraries without wide characters, ostream is
// is not a specialization of basic_ostream which in fact is not defined
// in such cases. So we can't use basic_ostream<OStream::char_type> but rather
// use two template parameters
#include <boost/config.hpp>
#include <boost/detail/workaround.hpp>
#include <boost/archive/detail/common_oarchive.hpp>
#include <boost/serialization/string.hpp>
#include <boost/archive/detail/abi_prefix.hpp> // must be the last header
#ifdef BOOST_MSVC
# pragma warning(push)
# pragma warning(disable : 4511 4512)
#endif
namespace boost {
namespace archive {
namespace detail {
template<class Archive> class interface_oarchive;
} // namespace detail
/////////////////////////////////////////////////////////////////////////
// class basic_text_oarchive
template<class Archive>
class BOOST_SYMBOL_VISIBLE basic_text_oarchive :
public detail::common_oarchive<Archive>
{
#ifdef BOOST_NO_MEMBER_TEMPLATE_FRIENDS
public:
#else
protected:
#if BOOST_WORKAROUND(BOOST_MSVC, < 1500)
// for some inexplicable reason insertion of "class" generates compile erro
// on msvc 7.1
friend detail::interface_oarchive<Archive>;
#else
friend class detail::interface_oarchive<Archive>;
#endif
#endif
enum {
none,
eol,
space
} delimiter;
BOOST_ARCHIVE_OR_WARCHIVE_DECL void
newtoken();
void newline(){
delimiter = eol;
}
// default processing - kick back to base class. Note the
// extra stuff to get it passed borland compilers
typedef detail::common_oarchive<Archive> detail_common_oarchive;
template<class T>
void save_override(T & t){
this->detail_common_oarchive::save_override(t);
}
// start new objects on a new line
void save_override(const object_id_type & t){
this->This()->newline();
this->detail_common_oarchive::save_override(t);
}
// text file don't include the optional information
void save_override(const class_id_optional_type & /* t */){}
void save_override(const class_name_type & t){
const std::string s(t);
* this->This() << s;
}
BOOST_ARCHIVE_OR_WARCHIVE_DECL void
init();
basic_text_oarchive(unsigned int flags) :
detail::common_oarchive<Archive>(flags),
delimiter(none)
{}
~basic_text_oarchive() BOOST_OVERRIDE {}
};
} // namespace archive
} // namespace boost
#ifdef BOOST_MSVC
#pragma warning(pop)
#endif
#include <boost/archive/detail/abi_suffix.hpp> // pops abi_suffix.hpp pragmas
#endif // BOOST_ARCHIVE_BASIC_TEXT_OARCHIVE_HPP
```
|
```go
// +build !windows
package main
import (
"bufio"
"bytes"
"encoding/json"
"io/ioutil"
"os"
"os/exec"
"path/filepath"
"regexp"
"strings"
"time"
"github.com/docker/docker/integration-cli/checker"
"github.com/docker/docker/integration-cli/cli"
"github.com/docker/docker/integration-cli/cli/build"
"github.com/docker/docker/integration-cli/cli/build/fakecontext"
"github.com/docker/docker/pkg/testutil"
icmd "github.com/docker/docker/pkg/testutil/cmd"
"github.com/docker/go-units"
"github.com/go-check/check"
)
func (s *DockerSuite) TestBuildResourceConstraintsAreUsed(c *check.C) {
testRequires(c, cpuCfsQuota)
name := "testbuildresourceconstraints"
ctx := fakecontext.New(c, "", fakecontext.WithDockerfile(`
FROM hello-world:frozen
RUN ["/hello"]
`))
cli.Docker(
cli.Args("build", "--no-cache", "--rm=false", "--memory=64m", "--memory-swap=-1", "--cpuset-cpus=0", "--cpuset-mems=0", "--cpu-shares=100", "--cpu-quota=8000", "--ulimit", "nofile=42", "-t", name, "."),
cli.InDir(ctx.Dir),
).Assert(c, icmd.Success)
out := cli.DockerCmd(c, "ps", "-lq").Combined()
cID := strings.TrimSpace(out)
type hostConfig struct {
Memory int64
MemorySwap int64
CpusetCpus string
CpusetMems string
CPUShares int64
CPUQuota int64
Ulimits []*units.Ulimit
}
cfg := inspectFieldJSON(c, cID, "HostConfig")
var c1 hostConfig
err := json.Unmarshal([]byte(cfg), &c1)
c.Assert(err, checker.IsNil, check.Commentf(cfg))
c.Assert(c1.Memory, checker.Equals, int64(64*1024*1024), check.Commentf("resource constraints not set properly for Memory"))
c.Assert(c1.MemorySwap, checker.Equals, int64(-1), check.Commentf("resource constraints not set properly for MemorySwap"))
c.Assert(c1.CpusetCpus, checker.Equals, "0", check.Commentf("resource constraints not set properly for CpusetCpus"))
c.Assert(c1.CpusetMems, checker.Equals, "0", check.Commentf("resource constraints not set properly for CpusetMems"))
c.Assert(c1.CPUShares, checker.Equals, int64(100), check.Commentf("resource constraints not set properly for CPUShares"))
c.Assert(c1.CPUQuota, checker.Equals, int64(8000), check.Commentf("resource constraints not set properly for CPUQuota"))
c.Assert(c1.Ulimits[0].Name, checker.Equals, "nofile", check.Commentf("resource constraints not set properly for Ulimits"))
c.Assert(c1.Ulimits[0].Hard, checker.Equals, int64(42), check.Commentf("resource constraints not set properly for Ulimits"))
// Make sure constraints aren't saved to image
cli.DockerCmd(c, "run", "--name=test", name)
cfg = inspectFieldJSON(c, "test", "HostConfig")
var c2 hostConfig
err = json.Unmarshal([]byte(cfg), &c2)
c.Assert(err, checker.IsNil, check.Commentf(cfg))
c.Assert(c2.Memory, check.Not(checker.Equals), int64(64*1024*1024), check.Commentf("resource leaked from build for Memory"))
c.Assert(c2.MemorySwap, check.Not(checker.Equals), int64(-1), check.Commentf("resource leaked from build for MemorySwap"))
c.Assert(c2.CpusetCpus, check.Not(checker.Equals), "0", check.Commentf("resource leaked from build for CpusetCpus"))
c.Assert(c2.CpusetMems, check.Not(checker.Equals), "0", check.Commentf("resource leaked from build for CpusetMems"))
c.Assert(c2.CPUShares, check.Not(checker.Equals), int64(100), check.Commentf("resource leaked from build for CPUShares"))
c.Assert(c2.CPUQuota, check.Not(checker.Equals), int64(8000), check.Commentf("resource leaked from build for CPUQuota"))
c.Assert(c2.Ulimits, checker.IsNil, check.Commentf("resource leaked from build for Ulimits"))
}
func (s *DockerSuite) TestBuildAddChangeOwnership(c *check.C) {
testRequires(c, DaemonIsLinux)
name := "testbuildaddown"
ctx := func() *fakecontext.Fake {
dockerfile := `
FROM busybox
ADD foo /bar/
RUN [ $(stat -c %U:%G "/bar") = 'root:root' ]
RUN [ $(stat -c %U:%G "/bar/foo") = 'root:root' ]
`
tmpDir, err := ioutil.TempDir("", "fake-context")
c.Assert(err, check.IsNil)
testFile, err := os.Create(filepath.Join(tmpDir, "foo"))
if err != nil {
c.Fatalf("failed to create foo file: %v", err)
}
defer testFile.Close()
icmd.RunCmd(icmd.Cmd{
Command: []string{"chown", "daemon:daemon", "foo"},
Dir: tmpDir,
}).Assert(c, icmd.Success)
if err := ioutil.WriteFile(filepath.Join(tmpDir, "Dockerfile"), []byte(dockerfile), 0644); err != nil {
c.Fatalf("failed to open destination dockerfile: %v", err)
}
return fakecontext.New(c, tmpDir)
}()
defer ctx.Close()
buildImageSuccessfully(c, name, build.WithExternalBuildContext(ctx))
}
// Test that an infinite sleep during a build is killed if the client disconnects.
// This test is fairly hairy because there are lots of ways to race.
// Strategy:
// * Monitor the output of docker events starting from before
// * Run a 1-year-long sleep from a docker build.
// * When docker events sees container start, close the "docker build" command
// * Wait for docker events to emit a dying event.
func (s *DockerSuite) TestBuildCancellationKillsSleep(c *check.C) {
testRequires(c, DaemonIsLinux)
name := "testbuildcancellation"
observer, err := newEventObserver(c)
c.Assert(err, checker.IsNil)
err = observer.Start()
c.Assert(err, checker.IsNil)
defer observer.Stop()
// (Note: one year, will never finish)
ctx := fakecontext.New(c, "", fakecontext.WithDockerfile("FROM busybox\nRUN sleep 31536000"))
defer ctx.Close()
buildCmd := exec.Command(dockerBinary, "build", "-t", name, ".")
buildCmd.Dir = ctx.Dir
stdoutBuild, err := buildCmd.StdoutPipe()
c.Assert(err, checker.IsNil)
if err := buildCmd.Start(); err != nil {
c.Fatalf("failed to run build: %s", err)
}
matchCID := regexp.MustCompile("Running in (.+)")
scanner := bufio.NewScanner(stdoutBuild)
outputBuffer := new(bytes.Buffer)
var buildID string
for scanner.Scan() {
line := scanner.Text()
outputBuffer.WriteString(line)
outputBuffer.WriteString("\n")
if matches := matchCID.FindStringSubmatch(line); len(matches) > 0 {
buildID = matches[1]
break
}
}
if buildID == "" {
c.Fatalf("Unable to find build container id in build output:\n%s", outputBuffer.String())
}
testActions := map[string]chan bool{
"start": make(chan bool, 1),
"die": make(chan bool, 1),
}
matcher := matchEventLine(buildID, "container", testActions)
processor := processEventMatch(testActions)
go observer.Match(matcher, processor)
select {
case <-time.After(10 * time.Second):
observer.CheckEventError(c, buildID, "start", matcher)
case <-testActions["start"]:
// ignore, done
}
// Send a kill to the `docker build` command.
// Causes the underlying build to be cancelled due to socket close.
if err := buildCmd.Process.Kill(); err != nil {
c.Fatalf("error killing build command: %s", err)
}
// Get the exit status of `docker build`, check it exited because killed.
if err := buildCmd.Wait(); err != nil && !testutil.IsKilled(err) {
c.Fatalf("wait failed during build run: %T %s", err, err)
}
select {
case <-time.After(10 * time.Second):
observer.CheckEventError(c, buildID, "die", matcher)
case <-testActions["die"]:
// ignore, done
}
}
```
|
The large-scaled gurnard (Lepidotrigla cavillone) is a species of marine, demersal ray-finned fish from the family Triglidae, the gurnards and sea robins. It is found in the eastern Atlantic Ocean and the Mediterranean Sea.
Taxonomy
The large-scaled gurnard was first formally described as Trigla cavillone in 1801 by the French naturalist Bernard Germain Étienne de La Ville-sur-Illon, comte de Lacépède with the type locality given as the Mediterranean Sea. In 1860 the German-born British herpetologist and ichthyologist Albert Günther described a new genus, Lepidotrigla and in 1919 the American ichthyologist David Starr Jordan designated Trigla aspera as its type species. Trigla aspera had been described in 1829 by the French zoologist Georges Cuvier but was is now considered to be a junior synonym of Lacépède's Trigla cavillone. The specific name cavillone was the common name for this fish along France's southern coast and derives from caville or cheville both of which mean "peg" or "plug".
Description
The large-scaled gurnard has a large head armoured with large bony plates. There is a deep, clear occipital groove which is spiny. There are 2 spines in front of the eyes and the front spines on the snout are the longest. There are no vomerine teeth. The longest of the free pectoral fins rays is short and does not extend as far as the anus. There are between 8 and 10 spines in the first dorsal fin and the second dorsal fin and the anal fin Have between 14 and 16 soft rays. There are no scales on the breast and the scales on the body are firmly attached to the skin. The scales are ctenoid and their width is greater than the length. The colour is pink or dusky pink with contrasting dark blue pectoral fins which have pink bases. The maximum published total length of this species is , although is more typical.
Distribution and habitat
The large scaled gurnard is found in the Eastern Atlantic Ocean from Portugal south to Mauritania. It is also found throughout the Mediterranean Sea but is absent from the Black Sea. This species occurs on muddy sand and gravel substrates at depth$ between .
Biology
The large-scaled gurnard feeds on crustaceans, especially mysids and amphipods. Spawning takes place between May and July and the larvae are pelagic. The average age at which sexual maturity is reached is around 2 years old.
Fisheries
The large-scaled gurnard is caught as a bycatch but trawlers and is usually discarded as the fish are rather small. Mant countries do not keep specific data on gurnard landings. It is frequently sold in fish markets in the western Mediterranean, Cyprus and Turkey.
References
Largescaled gurnard
Fish described in 1801
Taxa named by Bernard Germain de Lacépède
|
```c++
/*
*/
#include "PDFHighLevelEncoder.h"
#include "PDFCompaction.h"
#include "CharacterSet.h"
#include "ECI.h"
#include "TextEncoder.h"
#include "ZXBigInteger.h"
#include "ZXAlgorithms.h"
#include <cstdint>
#include <algorithm>
#include <string>
#include <stdexcept>
namespace ZXing {
namespace Pdf417 {
/**
* code for Text compaction
*/
static const int TEXT_COMPACTION = 0;
/**
* code for Byte compaction
*/
static const int BYTE_COMPACTION = 1;
/**
* code for Numeric compaction
*/
static const int NUMERIC_COMPACTION = 2;
/**
* Text compaction submode Alpha
*/
static const int SUBMODE_ALPHA = 0;
/**
* Text compaction submode Lower
*/
static const int SUBMODE_LOWER = 1;
/**
* Text compaction submode Mixed
*/
static const int SUBMODE_MIXED = 2;
/**
* Text compaction submode Punctuation
*/
static const int SUBMODE_PUNCTUATION = 3;
/**
* mode latch to Text Compaction mode
*/
static const int LATCH_TO_TEXT = 900;
/**
* mode latch to Byte Compaction mode (number of characters NOT a multiple of 6)
*/
static const int LATCH_TO_BYTE_PADDED = 901;
/**
* mode latch to Numeric Compaction mode
*/
static const int LATCH_TO_NUMERIC = 902;
/**
* mode shift to Byte Compaction mode
*/
static const int SHIFT_TO_BYTE = 913;
/**
* mode latch to Byte Compaction mode (number of characters a multiple of 6)
*/
static const int LATCH_TO_BYTE = 924;
/**
* identifier for a user defined Extended Channel Interpretation (ECI)
*/
static const int ECI_USER_DEFINED = 925;
/**
* identifier for a general purpose ECO format
*/
static const int ECI_GENERAL_PURPOSE = 926;
/**
* identifier for an ECI of a character set of code page
*/
static const int ECI_CHARSET = 927;
/**
* Raw code table for text compaction Mixed sub-mode
*/
//static const uint8_t TEXT_MIXED_RAW[] = {
// 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 38, 13, 9, 44, 58,
// 35, 45, 46, 36, 47, 43, 37, 42, 61, 94, 0, 32, 0, 0, 0 };
/**
* Raw code table for text compaction: Punctuation sub-mode
*/
//static const uint8_t TEXT_PUNCTUATION_RAW[] = {
// 59, 60, 62, 64, 91, 92, 93, 95, 96, 126, 33, 13, 9, 44, 58,
// 10, 45, 46, 36, 47, 34, 124, 42, 40, 41, 63, 123, 125, 39, 0 };
//static {
// //Construct inverse lookups
// Arrays.fill(MIXED, (byte)-1);
// for (byte i = 0; i < TEXT_MIXED_RAW.length; i++) {
// byte b = TEXT_MIXED_RAW[i];
// if (b > 0) {
// MIXED[b] = i;
// }
// }
// Arrays.fill(PUNCTUATION, (byte)-1);
// for (byte i = 0; i < TEXT_PUNCTUATION_RAW.length; i++) {
// byte b = TEXT_PUNCTUATION_RAW[i];
// if (b > 0) {
// PUNCTUATION[b] = i;
// }
// }
//}
static const int8_t MIXED[] = {
-1, -1, -1, -1, -1, -1, -1, -1, -1, 12, -1, -1, -1, 11, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
26, -1, -1, 15, 18, 21, 10, -1, -1, -1, 22, 20, 13, 16, 17, 19,
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 14, -1, -1, 23, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 24, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
};
static const int8_t PUNCTUATION[] = {
-1, -1, -1, -1, -1, -1, -1, -1, -1, 12, 15, -1, -1, 11, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, 10, 20, -1, 18, -1, -1, 28, 23, 24, 22, -1, 13, 16, 17, 19,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 14, 0, 1, -1, 2, 25,
3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4, 5, 6, -1, 7,
8, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 26, 21, 27, 9, -1,
};
static void EncodingECI(int eci, std::vector<int>& buffer)
{
if (eci >= 0 && eci < 900) {
buffer.push_back(ECI_CHARSET);
buffer.push_back(eci);
}
else if (eci >= 900 && eci < 810900) {
buffer.push_back(ECI_GENERAL_PURPOSE);
buffer.push_back(eci / 900 - 1);
buffer.push_back(eci % 900);
}
else if (eci >= 810900 && eci < 811800) {
buffer.push_back(ECI_USER_DEFINED);
buffer.push_back(eci - 810900);
}
else {
throw std::invalid_argument("ECI number not in valid range from 0..811799");
}
}
static bool IsDigit(int ch)
{
return ch >= '0' && ch <= '9';
}
static bool IsAlphaUpper(int ch)
{
return ch == ' ' || (ch >= 'A' && ch <= 'Z');
}
static bool IsAlphaLower(int ch)
{
return ch == ' ' || (ch >= 'a' && ch <= 'z');
}
static bool IsMixed(int ch)
{
return (ch & 0x7f) == ch && MIXED[ch] != -1;
}
static bool IsPunctuation(int ch)
{
return (ch & 0x7f) == ch && PUNCTUATION[ch] != -1;
}
static bool IsText(int ch)
{
return ch == '\t' || ch == '\n' || ch == '\r' || (ch >= 32 && ch <= 126);
}
/**
* Encode parts of the message using Text Compaction as described in ISO/IEC 15438:2001(E),
* chapter 4.4.2.
*
* @param msg the message
* @param startpos the start position within the message
* @param count the number of characters to encode
* @param submode should normally be SUBMODE_ALPHA
* @param output receives the encoded codewords
* @return the text submode in which this method ends
*/
static int EncodeText(const std::wstring& msg, int startpos, int count, int submode, std::vector<int>& output)
{
std::vector<int> tmp;
tmp.reserve(count);
int idx = 0;
while (true) {
int ch = msg[startpos + idx];
switch (submode) {
case SUBMODE_ALPHA:
if (IsAlphaUpper(ch)) {
tmp.push_back(ch == ' ' ? 26 : (ch - 65)); // space
} else if (IsAlphaLower(ch)) {
submode = SUBMODE_LOWER;
tmp.push_back(27); // ll
continue;
} else if (IsMixed(ch)) {
submode = SUBMODE_MIXED;
tmp.push_back(28); // ml
continue;
} else {
tmp.push_back(29); // ps
tmp.push_back(PUNCTUATION[ch]);
}
break;
case SUBMODE_LOWER:
if (IsAlphaLower(ch)) {
tmp.push_back(ch == ' ' ? 26 : (ch - 97)); // space
} else if (IsAlphaUpper(ch)) {
tmp.push_back(27); // as
tmp.push_back(ch - 65);
// space cannot happen here, it is also in "Lower"
} else if (IsMixed(ch)) {
submode = SUBMODE_MIXED;
tmp.push_back(28); // ml
continue;
} else {
tmp.push_back(29); // ps
tmp.push_back(PUNCTUATION[ch]);
}
break;
case SUBMODE_MIXED:
if (IsMixed(ch)) {
tmp.push_back(MIXED[ch]);
} else if (IsAlphaUpper(ch)) {
submode = SUBMODE_ALPHA;
tmp.push_back(28); // al
continue;
} else if (IsAlphaLower(ch)) {
submode = SUBMODE_LOWER;
tmp.push_back(27); // ll
continue;
} else {
if (startpos + idx + 1 < count) {
int next = msg[startpos + idx + 1];
if (IsPunctuation(next)) {
submode = SUBMODE_PUNCTUATION;
tmp.push_back(25); // pl
continue;
}
}
tmp.push_back(29); // ps
tmp.push_back(PUNCTUATION[ch]);
}
break;
default: // SUBMODE_PUNCTUATION
if (IsPunctuation(ch)) {
tmp.push_back(PUNCTUATION[ch]);
} else {
submode = SUBMODE_ALPHA;
tmp.push_back(29); // al
continue;
}
}
idx++;
if (idx >= count) {
break;
}
}
int h = 0;
size_t len = tmp.size();
for (size_t i = 0; i < len; i++) {
bool odd = (i % 2) != 0;
if (odd) {
h = (h * 30) + tmp[i];
output.push_back(h);
}
else {
h = tmp[i];
}
}
if ((len % 2) != 0) {
output.push_back((h * 30) + 29); //ps
}
return submode;
}
/**
* Encode parts of the message using Byte Compaction as described in ISO/IEC 15438:2001(E),
* chapter 4.4.3. The Unicode characters will be converted to binary using the cp437
* codepage.
*
* @param bytes the message converted to a byte array
* @param startpos the start position within the message
* @param count the number of bytes to encode
* @param startmode the mode from which this method starts
* @param output receives the encoded codewords
*/
static void EncodeBinary(const std::string& bytes, int startpos, int count, int startmode, std::vector<int>& output)
{
if (count == 1 && startmode == TEXT_COMPACTION) {
output.push_back(SHIFT_TO_BYTE);
}
else {
if ((count % 6) == 0) {
output.push_back(LATCH_TO_BYTE);
}
else {
output.push_back(LATCH_TO_BYTE_PADDED);
}
}
int idx = startpos;
// Encode sixpacks
if (count >= 6) {
int chars[5];
while ((startpos + count - idx) >= 6) {
long t = 0;
for (int i = 0; i < 6; i++) {
t <<= 8;
t += bytes[idx + i] & 0xff;
}
for (int i = 0; i < 5; i++) {
chars[i] = t % 900;
t /= 900;
}
for (int i = 4; i >= 0; i--) {
output.push_back(chars[i]);
}
idx += 6;
}
}
//Encode rest (remaining n<5 bytes if any)
for (int i = idx; i < startpos + count; i++) {
int ch = bytes[i] & 0xff;
output.push_back(ch);
}
}
static void EncodeNumeric(const std::wstring& msg, int startpos, int count, std::vector<int>& output)
{
int idx = 0;
std::vector<int> tmp;
tmp.reserve(count / 3 + 1);
BigInteger num900(900);
while (idx < count) {
tmp.clear();
int len = std::min(44, count - idx);
auto part = L"1" + msg.substr(startpos + idx, len);
BigInteger bigint, r;
BigInteger::TryParse(part, bigint);
do {
BigInteger::Divide(bigint, num900, bigint, r);
tmp.push_back(r.toInt());
} while (!bigint.isZero());
//Reverse temporary string
output.insert(output.end(), tmp.rbegin(), tmp.rend());
idx += len;
}
}
/**
* Determines the number of consecutive characters that are encodable using numeric compaction.
*
* @param msg the message
* @param startpos the start position within the message
* @return the requested character count
*/
static int DetermineConsecutiveDigitCount(const std::wstring& msg, int startpos)
{
int count = 0;
size_t len = msg.length();
size_t idx = startpos;
if (idx < len) {
int ch = msg[idx];
while (IsDigit(ch) && idx < len) {
count++;
idx++;
if (idx < len) {
ch = msg[idx];
}
}
}
return count;
}
/**
* Determines the number of consecutive characters that are encodable using text compaction.
*
* @param msg the message
* @param startpos the start position within the message
* @return the requested character count
*/
static int DetermineConsecutiveTextCount(const std::wstring& msg, int startpos)
{
size_t len = msg.length();
size_t idx = startpos;
while (idx < len) {
int ch = msg[idx];
int numericCount = 0;
while (numericCount < 13 && IsDigit(ch) && idx < len) {
numericCount++;
idx++;
if (idx < len) {
ch = msg[idx];
}
}
if (numericCount >= 13) {
return static_cast<int>(idx - startpos - numericCount);
}
if (numericCount > 0) {
//Heuristic: All text-encodable chars or digits are binary encodable
continue;
}
ch = msg[idx];
//Check if character is encodable
if (!IsText(ch)) {
break;
}
idx++;
}
return static_cast<int>(idx - startpos);
}
/**
* Determines the number of consecutive characters that are encodable using binary compaction.
*
* @param msg the message
* @param startpos the start position within the message
* @return the requested character count
*/
static int DetermineConsecutiveBinaryCount(const std::wstring& msg, int startpos)
{
size_t len = msg.length();
size_t idx = startpos;
while (idx < len) {
int ch = msg[idx];
int numericCount = 0;
while (numericCount < 13 && IsDigit(ch)) {
numericCount++;
//textCount++;
size_t i = idx + numericCount;
if (i >= len) {
break;
}
ch = msg[i];
}
if (numericCount >= 13) {
return static_cast<int>(idx - startpos);
}
idx++;
}
return static_cast<int>(idx - startpos);
}
/**
* Performs high-level encoding of a PDF417 message using the algorithm described in annex P
* of ISO/IEC 15438:2001(E). If byte compaction has been selected, then only byte compaction
* is used.
*
* @param msg the message
* @param compaction compaction mode to use
* @param encoding character encoding used to encode in default or byte compaction
* or {@code null} for default / not applicable
* @return the encoded message (the char values range from 0 to 928)
*/
std::vector<int>
HighLevelEncoder::EncodeHighLevel(const std::wstring& msg, Compaction compaction, CharacterSet encoding)
{
std::vector<int> highLevel;
highLevel.reserve(highLevel.size() + msg.length());
//the codewords 0..928 are encoded as Unicode characters
if (encoding != CharacterSet::ISO8859_1) {
EncodingECI(ToInt(ToECI(encoding)), highLevel);
}
int len = Size(msg);
int p = 0;
int textSubMode = SUBMODE_ALPHA;
// User selected encoding mode
if (compaction == Compaction::TEXT) {
EncodeText(msg, p, len, textSubMode, highLevel);
}
else if (compaction == Compaction::BYTE) {
std::string bytes = TextEncoder::FromUnicode(msg, encoding);
EncodeBinary(bytes, p, Size(bytes), BYTE_COMPACTION, highLevel);
}
else if (compaction == Compaction::NUMERIC) {
highLevel.push_back(LATCH_TO_NUMERIC);
EncodeNumeric(msg, p, len, highLevel);
}
else {
int encodingMode = TEXT_COMPACTION; //Default mode, see 4.4.2.1
while (p < len) {
int n = DetermineConsecutiveDigitCount(msg, p);
if (n >= 13) {
highLevel.push_back(LATCH_TO_NUMERIC);
encodingMode = NUMERIC_COMPACTION;
textSubMode = SUBMODE_ALPHA; //Reset after latch
EncodeNumeric(msg, p, n, highLevel);
p += n;
}
else {
int t = DetermineConsecutiveTextCount(msg, p);
if (t >= 5 || n == len) {
if (encodingMode != TEXT_COMPACTION) {
highLevel.push_back(LATCH_TO_TEXT);
encodingMode = TEXT_COMPACTION;
textSubMode = SUBMODE_ALPHA; //start with submode alpha after latch
}
textSubMode = EncodeText(msg, p, t, textSubMode, highLevel);
p += t;
}
else {
int b = DetermineConsecutiveBinaryCount(msg, p);
if (b == 0) {
b = 1;
}
std::string bytes = TextEncoder::FromUnicode(msg.substr(p, b), encoding);
if (bytes.length() == 1 && encodingMode == TEXT_COMPACTION) {
//Switch for one byte (instead of latch)
EncodeBinary(bytes, 0, 1, TEXT_COMPACTION, highLevel);
}
else {
//Mode latch performed by encodeBinary()
EncodeBinary(bytes, 0, Size(bytes), encodingMode, highLevel);
encodingMode = BYTE_COMPACTION;
textSubMode = SUBMODE_ALPHA; //Reset after latch
}
p += b;
}
}
}
}
return highLevel;
}
} // Pdf417
} // ZXing
```
|
Ricardo Alejandro Lamas (born May 21, 1982) is an American former professional mixed martial artist who competed in Featherweight in the Ultimate Fighting Championship (UFC).
Background
Lamas' father is Cuban and his mother is Mexican. The flags of these two countries are often displayed on his clothing during his fights. His father was the leader of a Cuban resistance movement under Castro regime, eventually managing to hide in the Brazilian embassy in Cuba before escaping to the United States. Ricardo is the youngest of six brothers. He went to Hinsdale Central High School in Hinsdale, Illinois.
College wrestling
Lamas graduated with a degree in exercise science from Elmhurst College in 2005, where he was a member of the men's wrestling team and earned All-American honors at the NCAA Division III Men's Wrestling Championships at 157 lbs. During his collegiate wrestling career (2001–2005), he racked up over 100 wins. He was also a two-time CCIW Champion, and was named the CCIW's "Most Outstanding Wrestler" during the 2003–04 season. Lamas returned to Elmhurst after graduation to serve as the assistant men's wrestling coach.
Mixed martial arts career
ISCF - International Sport Combat Federation
Lamas won the ISCF North Central Regional Title on April 26, 2008, in Loves Park, Illinois, US when he defeated Cal Ferry via Guillotine Choke at 4:50 of round 4.
World Extreme Cagefighting
Lamas made his WEC debut on March 1, 2009, at WEC 39 against IFL and WEC veteran Bart Palaszewski. Lamas took the fight with 4 days notice as he replaced an injured Rich Crunkilton. Lamas controlled Palaszewski with superior wrestling and scored with excellent ground-and-pound to win a unanimous decision.
Lamas faced Danny Castillo on August 9, 2009, at WEC 42. Lamas suffered his first defeat as Castillo won the fight via second-round TKO.
Lamas next faced James Krause on November 18, 2009, at WEC 44. Lamas won the fight via unanimous decision.
Lamas then faced Bendy Casimir on March 6, 2010, at WEC 47. He won the fight in stunning fashion by defeating Casimir via flying knee KO in the first round.
Lamas defeated Dave Jansen via unanimous decision on August 18, 2010, at WEC 50.
Lamas was expected to face Maciej Jewtuszko on December 16, 2010, at WEC 53, but Jewtuszko had to withdraw as he suffered a broken hand during training. Lamas instead faced Iuri Alcântara and lost via KO in the first round.
Ultimate Fighting Championship
In October 2010, World Extreme Cagefighting merged with the Ultimate Fighting Championship. As part of the merger, all WEC fighters were transferred to the UFC.
In his UFC debut, Lamas faced returning UFC veteran Matt Grice in a featherweight bout on June 26, 2011, at UFC on Versus 4. Lamas defeated Grice via TKO in the first round.
Lamas faced Cub Swanson on November 12, 2011, at UFC on Fox 1. Lamas won via second round submission after applying an arm-triangle choke, earning Submission of the Night honors.
Lamas was expected to face Dustin Poirier on February 4, 2012, at UFC 143, replacing an injured Erik Koch However, Lamas ended up injured as well and was replaced by Max Holloway.
For his third UFC fight at featherweight, Lamas faced Hatsu Hioki on June 22, 2012, at UFC on FX: Maynard vs. Guida. He defeated the heavily favored Hioki via unanimous decision.
Lamas was briefly linked to a December 2012 bout with Frankie Edgar, however the pairing was scrapped after Edgar was tabbed as a replacement for the injured Erik Koch and face José Aldo at UFC 153.
Lamas faced Erik Koch on January 26, 2013, at UFC on Fox 6. Lamas won via TKO in the second round.
Lamas was expected to face Chan Sung Jung on July 6, 2013, at UFC 162. However, on June 14, it was announced that Jung had been pulled from the Lamas bout and would replace an injured Anthony Pettis to face José Aldo on August 3, 2013, at UFC 163. As a result, Lamas was pulled from the event.
The title fight against José Aldo eventually took place on February 1, 2014, as the co-main event of UFC 169. It was revealed during the UFC countdown show that Lamas received his black belt in Brazilian jiu-jitsu during his training camp leading up to the bout. Lamas lost the fight via unanimous decision.
Lamas faced Hacran Dias on June 28, 2014, at UFC Fight Night 44. Lamas won the fight by unanimous decision.
Lamas faced Dennis Bermudez on November 15, 2014, at UFC 180. After dropping Bermudez with a jab, Lamas was able to secure a guillotine choke and earn the first round submission victory.
Lamas faced Chad Mendes on April 4, 2015, in the main event at UFC Fight Night 63. Mendes won the fight via TKO in the first round.
Lamas faced Diego Sanchez on November 21, 2015, at The Ultimate Fighter Latin America 2 Finale. He won the fight by unanimous decision.
Lamas next faced Max Holloway on June 4, 2016, at UFC 199. He lost the back and forth fight via unanimous decision.
Lamas was scheduled to face returning veteran B.J. Penn on October 15, 2016, at UFC Fight Night 97. However, on October 4, Penn pulled out of the fight citing an injury. In turn, the promotion announced on October 6 that they had cancelled the event entirely.
Lamas was quickly rescheduled and returned to face Charles Oliveira on November 5, 2016, at The Ultimate Fighter Latin America 3 Finale. The bout was contested at a catchweight of 155 lbs, as Oliveira missed weight by nearly 10 lbs. Lamas won the fight via submission in the second round and was awarded a Performance of the Night bonus.
Lamas was expected to face Chan Sung Jung on July 29, 2017, at UFC 214. However Jung pulled out of the fight in early June citing a knee injury. He was replaced by Jason Knight. Lamas won the fight by first-round TKO.
Lamas was scheduled to face José Aldo on December 16, 2017, at UFC on Fox: Lawler vs. dos Anjos. However, Aldo was pulled from the bout in favour of a rematch with Max Holloway two weeks earlier at UFC 218, replacing an injured Frankie Edgar. Lamas instead faced Josh Emmett. At the weigh ins, Emmett weighed in at 148.5 pounds, 2.5 pounds over the featherweight upper limit of 146 pounds and the bout proceeded at a catchweight. Emmett forfeited 20% of his purse to Lamas. Lamas lost the fight via knockout in the first round.
Lamas faced Mirsad Bektić on June 9, 2018, at UFC 225. He lost the fight by split decision.
Lamas faced Darren Elkins on November 17, 2018, at UFC Fight Night 140. He won the fight via TKO in the third round. Shortly after the fight, Lamas revealed in a social media post that he had been fighting with a blood clot in his left leg and that he got blood thinning medication for the condition.
Lamas faced Calvin Kattar at UFC 238 on June 8, 2019. He lost the fight via knockout in the first round.
Lamas was scheduled to face Ryan Hall on May 2, 2020, at UFC Fight Night: Hermansson vs. Weidman. However, on April 9, Dana White, the president of UFC announced that this event was postponed to a future date The bout was rescheduled on August 29, 2020, at UFC Fight Night 175. However, Hall pulled out of the bout due to an undisclosed injury. Lamas instead faced promotional newcomer Bill Algeo. He won the fight via unanimous decision. This fight earned him the Fight of the Night award. Lamas confirmed his intention to retire from professional competition after the win over Algeo.
Personal life
Lamas and his wife have three children.
Championships and accomplishments
Amateur wrestling
NCAA Division III All-American out of Elmhurst College (2005) NCAA Division III 157 lb: 6th place out of Elmhurst College (2005)
CCIW two-time champion (2004–05) at 157 lb (out of Elmhurst College)
Mixed martial arts
Ultimate Fighting Championship
Performance of the Night (One time)
Submission of the Night (One time)
Fight of the Night (One time)
International Sport Combat Federation
ISCF Lightweight Championship (One time)
Mixed martial arts record
|-
|Win
|align=center|20–8
|Bill Algeo
|Decision (unanimous)
|UFC Fight Night: Smith vs. Rakić
|
|align=center|3
|align=center|5:00
|Las Vegas, Nevada, United States
|
|-
|Loss
|align=center|19–8
|Calvin Kattar
|TKO (punches)
|UFC 238
|
|align=center|1
|align=center|4:06
|Chicago, Illinois, United States
|
|-
|Win
|align=center|19–7
|Darren Elkins
|TKO (punches and elbows)
|UFC Fight Night: Magny vs. Ponzinibbio
|
|align=center|3
|align=center|4:09
|Buenos Aires, Argentina
|
|-
|Loss
|align=center|18–7
|Mirsad Bektić
|Decision (split)
|UFC 225
|
|align=center|3
|align=center|5:00
|Chicago, Illinois, United States
|
|-
|Loss
|align=center|18–6
|Josh Emmett
|KO (punch)
|UFC on Fox: Lawler vs. dos Anjos
|
|align=center|1
|align=center|4:33
|Winnipeg, Manitoba, Canada
|
|-
|Win
|align=center|18–5
|Jason Knight
|TKO (punches)
|UFC 214
|
|align=center|1
|align=center|4:34
|Anaheim, California, United States
|
|-
|Win
|align=center| 17–5
|Charles Oliveira
| Submission (guillotine choke)
|The Ultimate Fighter Latin America 3 Finale: dos Anjos vs. Ferguson
|
|align=center| 2
|align=center| 2:13
|Mexico City, Mexico
|
|-
|Loss
|align=center|16–5
|Max Holloway
|Decision (unanimous)
|UFC 199
|
|align=center|3
|align=center|5:00
|Inglewood, California, United States
|
|-
|Win
|align=center|16–4
|Diego Sanchez
|Decision (unanimous)
|The Ultimate Fighter Latin America 2 Finale: Magny vs. Gastelum
|
|align=center|3
|align=center|5:00
|Monterrey, Mexico
|
|-
|Loss
|align=center|15–4
|Chad Mendes
|TKO (punches)
|UFC Fight Night: Mendes vs. Lamas
|
|align=center|1
|align=center|2:45
|Fairfax, Virginia, United States
|
|-
| Win
|align=center| 15–3
|Dennis Bermudez
| Submission (guillotine choke)
|UFC 180
|
|align=center| 1
|align=center|3:18
|Mexico City, Mexico
|
|-
| Win
|align=center| 14–3
| Hacran Dias
| Decision (unanimous)
| UFC Fight Night: Swanson vs. Stephens
|
|align=center| 3
|align=center| 5:00
|San Antonio, Texas, United States
|
|-
| Loss
|align=center| 13–3
| José Aldo
| Decision (unanimous)
| UFC 169
|
|align=center| 5
|align=center| 5:00
|Newark, New Jersey, United States
|
|-
| Win
|align=center| 13–2
| Erik Koch
| TKO (elbows)
| UFC on Fox: Johnson vs. Dodson
|
|align=center| 2
|align=center| 2:32
|Chicago, Illinois, United States
|
|-
| Win
|align=center| 12–2
| Hatsu Hioki
| Decision (unanimous)
| UFC on FX: Maynard vs. Guida
|
|align=center| 3
|align=center| 5:00
|Atlantic City, New Jersey, United States
|
|-
| Win
|align=center| 11–2
| Cub Swanson
| Submission (arm-triangle choke)
| UFC on Fox: Velasquez vs. dos Santos
|
|align=center| 2
|align=center| 2:16
|Anaheim, California, United States
|
|-
| Win
|align=center| 10–2
| Matt Grice
| TKO (head kick and punches)
| UFC Live: Kongo vs. Barry
|
|align=center| 1
|align=center| 4:41
|Pittsburgh, Pennsylvania, United States
|
|-
| Loss
|align=center| 9–2
| Iuri Alcântara
| KO (punches)
| WEC 53
|
|align=center| 1
|align=center| 3:26
|Glendale, Arizona, United States
|
|-
| Win
|align=center| 9–1
| Dave Jansen
| Decision (unanimous)
| WEC 50
|
|align=center| 3
|align=center| 5:00
|Las Vegas, Nevada, United States
|
|-
| Win
|align=center| 8–1
| Bendy Casimir
| KO (flying knee)
| WEC 47
|
|align=center| 1
|align=center| 3:43
|Columbus, Ohio, United States
|
|-
| Win
|align=center| 7–1
| James Krause
| Decision (unanimous)
| WEC 44
|
|align=center| 3
|align=center| 5:00
|Las Vegas, Nevada, United States
|
|-
| Loss
|align=center| 6–1
| Danny Castillo
| TKO (punches)
| WEC 42
|
|align=center| 2
|align=center| 4:15
|Las Vegas, Nevada, United States
|
|-
| Win
|align=center| 6–0
| Bart Palaszewski
| Decision (unanimous)
| WEC 39
|
|align=center| 3
|align=center| 5:00
|Corpus Christi, Texas, United States
|
|-
| Win
|align=center| 5–0
| Christopher Martins
| Decision (unanimous)
| IHC 12: Resurrection
|
|align=center| 3
|align=center| 5:00
|Chicago, Illinois, United States
|
|-
| Win
|align=center| 4–0
| Gabe Miranda
| TKO (punches)
| Warriors Collide 6
|
|align=center| 1
|align=center| 3:16
|Castle Rock, Colorado, United States
|
|-
| Win
|align=center| 3–0
| James Birdsley
| Decision (unanimous)
| Warriors Collide 4
|
|align=center| 2
|align=center| 5:00
|Cripple Creek, Colorado, United States
|
|-
| Win
|align=center| 2–0
| Cal Ferry
| Submission (guillotine choke)
| ISCF: Rumble in the Park
|
|align=center| 4
|align=center| 4:50
|Loves Park, Illinois, United States
|
|-
| Win
|align=center| 1–0
| Jake Corry
| Submission (guillotine choke)
| FCE: Collision
|
|align=center| 1
|align=center| 1:49
|Northlake, Illinois, United States
|
|-
See also
List of current UFC fighters
List of male mixed martial artists
References
External links
Living people
1982 births
American male mixed martial artists
Mixed martial artists from Illinois
American mixed martial artists of Mexican descent
American mixed martial artists of Cuban descent
Lightweight mixed martial artists
Mixed martial artists utilizing collegiate wrestling
Mixed martial artists utilizing Brazilian jiu-jitsu
People from Cook County, Illinois
Sportspeople from Chicago
American practitioners of Brazilian jiu-jitsu
People awarded a black belt in Brazilian jiu-jitsu
Elmhurst College alumni
Ultimate Fighting Championship male fighters
|
The 1988–89 Michigan State Spartans men's basketball team represented Michigan State University in the 1988–89 NCAA Division I men's basketball season. The team played their home games at Jenison Field House in East Lansing, Michigan and were members of the Big Ten Conference. They were coached by Jud Heathcote in his 13th year at Michigan State. This season marked the Spartans' final season of basketball at Jenison Fieldhouse before moving to their current venue, the Breslin Center, the following season. The Spartans finished the season 18–15, 6–12 in Big Ten play to finish in eighth place. Michigan State received a bid to the National Invitation Tournament where they beat Kent State, Wichita State, and Villanova to reach the semifinals at Madison Square Garden. In the semifinals, they lost to Saint Louis. In the third place game, they lost to UAB in overtime.
Previous season
The Spartans finished the 1987–88 season with an overall record of 10–18, 5–13 to finish in eighth place in Big Ten play.
Roster and statistics
Source
Schedule and results
|-
!colspan=9 style=| Non-conference regular season
|-
!colspan=9 style=| Big Ten regular season
|-
!colspan=9 style=|NIT
References
Michigan State Spartans men's basketball seasons
Michigan State
Michigan State
Michigan State Spartans men's b
Michigan State Spartans men's b
|
```objective-c
/* -*- mode: C; buffer-read-only: t -*-
*
* embedvar.h
*
* 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
* 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022
* by Larry Wall and others
*
* You may distribute under the terms of either the GNU General Public
*
* !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
* This file is built by regen/embed.pl from embed.fnc, intrpvar.h,
* perlvars.h, regen/opcodes, regen/embed.pl, regen/embed_lib.pl and
* regen/HeaderParser.pm.
* Any changes made here will be lost!
*
* Edit those files and run 'make regen_headers' to effect changes.
*/
#if defined(MULTIPLICITY)
# define vTHX aTHX
# define PL_AboveLatin1 (vTHX->IAboveLatin1)
# define PL_an (vTHX->Ian)
# define PL_argvgv (vTHX->Iargvgv)
# define PL_argvout_stack (vTHX->Iargvout_stack)
# define PL_argvoutgv (vTHX->Iargvoutgv)
# define PL_Assigned_invlist (vTHX->IAssigned_invlist)
# define PL_basetime (vTHX->Ibasetime)
# define PL_beginav (vTHX->Ibeginav)
# define PL_beginav_save (vTHX->Ibeginav_save)
# define PL_blockhooks (vTHX->Iblockhooks)
# define PL_body_arenas (vTHX->Ibody_arenas)
# define PL_body_roots (vTHX->Ibody_roots)
# define PL_bodytarget (vTHX->Ibodytarget)
# define PL_breakable_sub_gen (vTHX->Ibreakable_sub_gen)
# define PL_CCC_non0_non230 (vTHX->ICCC_non0_non230)
# define PL_checkav (vTHX->Icheckav)
# define PL_checkav_save (vTHX->Icheckav_save)
# define PL_chopset (vTHX->Ichopset)
# define PL_clocktick (vTHX->Iclocktick)
# define PL_collation_ix (vTHX->Icollation_ix)
# define PL_collation_name (vTHX->Icollation_name)
# define PL_collation_standard (vTHX->Icollation_standard)
# define PL_collxfrm_base (vTHX->Icollxfrm_base)
# define PL_collxfrm_mult (vTHX->Icollxfrm_mult)
# define PL_colors (vTHX->Icolors)
# define PL_colorset (vTHX->Icolorset)
# define PL_compcv (vTHX->Icompcv)
# define PL_compiling (vTHX->Icompiling)
# define PL_comppad (vTHX->Icomppad)
# define PL_comppad_name (vTHX->Icomppad_name)
# define PL_comppad_name_fill (vTHX->Icomppad_name_fill)
# define PL_comppad_name_floor (vTHX->Icomppad_name_floor)
# define PL_constpadix (vTHX->Iconstpadix)
# define PL_cop_seqmax (vTHX->Icop_seqmax)
# define PL_ctype_name (vTHX->Ictype_name)
# define PL_cur_LC_ALL (vTHX->Icur_LC_ALL)
# define PL_cur_locale_obj (vTHX->Icur_locale_obj)
# define PL_curcop (vTHX->Icurcop)
# define PL_curcopdb (vTHX->Icurcopdb)
# define PL_curlocales (vTHX->Icurlocales)
# define PL_curpad (vTHX->Icurpad)
# define PL_curpm (vTHX->Icurpm)
# define PL_curpm_under (vTHX->Icurpm_under)
# define PL_curstack (vTHX->Icurstack)
# define PL_curstackinfo (vTHX->Icurstackinfo)
# define PL_curstash (vTHX->Icurstash)
# define PL_curstname (vTHX->Icurstname)
# define PL_custom_op_descs (vTHX->Icustom_op_descs)
# define PL_custom_op_names (vTHX->Icustom_op_names)
# define PL_custom_ops (vTHX->Icustom_ops)
# define PL_cv_has_eval (vTHX->Icv_has_eval)
# define PL_dbargs (vTHX->Idbargs)
# define PL_DBcontrol (vTHX->IDBcontrol)
# define PL_DBcv (vTHX->IDBcv)
# define PL_DBgv (vTHX->IDBgv)
# define PL_DBline (vTHX->IDBline)
# define PL_DBsignal (vTHX->IDBsignal)
# define PL_DBsingle (vTHX->IDBsingle)
# define PL_DBsub (vTHX->IDBsub)
# define PL_DBtrace (vTHX->IDBtrace)
# define PL_debstash (vTHX->Idebstash)
# define PL_debug (vTHX->Idebug)
# define PL_debug_pad (vTHX->Idebug_pad)
# define PL_def_layerlist (vTHX->Idef_layerlist)
# define PL_defgv (vTHX->Idefgv)
# define PL_defoutgv (vTHX->Idefoutgv)
# define PL_defstash (vTHX->Idefstash)
# define PL_delaymagic (vTHX->Idelaymagic)
# define PL_delaymagic_egid (vTHX->Idelaymagic_egid)
# define PL_delaymagic_euid (vTHX->Idelaymagic_euid)
# define PL_delaymagic_gid (vTHX->Idelaymagic_gid)
# define PL_delaymagic_uid (vTHX->Idelaymagic_uid)
# define PL_destroyhook (vTHX->Idestroyhook)
# define PL_diehook (vTHX->Idiehook)
# define PL_Dir (vTHX->IDir)
# define PL_doswitches (vTHX->Idoswitches)
# define PL_dowarn (vTHX->Idowarn)
# define PL_dump_re_max_len (vTHX->Idump_re_max_len)
# define PL_dumper_fd (vTHX->Idumper_fd)
# define PL_dumpindent (vTHX->Idumpindent)
# define PL_e_script (vTHX->Ie_script)
# define PL_efloatbuf (vTHX->Iefloatbuf)
# define PL_efloatsize (vTHX->Iefloatsize)
# define PL_endav (vTHX->Iendav)
# define PL_Env (vTHX->IEnv)
# define PL_envgv (vTHX->Ienvgv)
# define PL_errgv (vTHX->Ierrgv)
# define PL_errors (vTHX->Ierrors)
# define PL_eval_begin_nest_depth (vTHX->Ieval_begin_nest_depth)
# define PL_eval_root (vTHX->Ieval_root)
# define PL_eval_start (vTHX->Ieval_start)
# define PL_evalseq (vTHX->Ievalseq)
# define PL_exit_flags (vTHX->Iexit_flags)
# define PL_exitlist (vTHX->Iexitlist)
# define PL_exitlistlen (vTHX->Iexitlistlen)
# define PL_fdpid (vTHX->Ifdpid)
# define PL_filemode (vTHX->Ifilemode)
# define PL_firstgv (vTHX->Ifirstgv)
# define PL_fold_locale (vTHX->Ifold_locale)
# define PL_forkprocess (vTHX->Iforkprocess)
# define PL_formtarget (vTHX->Iformtarget)
# define PL_GCB_invlist (vTHX->IGCB_invlist)
# define PL_generation (vTHX->Igeneration)
# define PL_gensym (vTHX->Igensym)
# define PL_globalstash (vTHX->Iglobalstash)
# define PL_globhook (vTHX->Iglobhook)
# define PL_hash_rand_bits (vTHX->Ihash_rand_bits)
# define PL_hash_rand_bits_enabled (vTHX->Ihash_rand_bits_enabled)
# define PL_HasMultiCharFold (vTHX->IHasMultiCharFold)
# define PL_hintgv (vTHX->Ihintgv)
# define PL_hook__require__after (vTHX->Ihook__require__after)
# define PL_hook__require__before (vTHX->Ihook__require__before)
# define PL_hv_fetch_ent_mh (vTHX->Ihv_fetch_ent_mh)
# define PL_in_clean_all (vTHX->Iin_clean_all)
# define PL_in_clean_objs (vTHX->Iin_clean_objs)
# define PL_in_eval (vTHX->Iin_eval)
# define PL_in_load_module (vTHX->Iin_load_module)
# define PL_in_some_fold (vTHX->Iin_some_fold)
# define PL_in_utf8_COLLATE_locale (vTHX->Iin_utf8_COLLATE_locale)
# define PL_in_utf8_CTYPE_locale (vTHX->Iin_utf8_CTYPE_locale)
# define PL_in_utf8_turkic_locale (vTHX->Iin_utf8_turkic_locale)
# define PL_InBitmap (vTHX->IInBitmap)
# define PL_incgv (vTHX->Iincgv)
# define PL_initav (vTHX->Iinitav)
# define PL_InMultiCharFold (vTHX->IInMultiCharFold)
# define PL_inplace (vTHX->Iinplace)
# define PL_internal_random_state (vTHX->Iinternal_random_state)
# define PL_isarev (vTHX->Iisarev)
# define PL_known_layers (vTHX->Iknown_layers)
# define PL_langinfo_buf (vTHX->Ilanginfo_buf)
# define PL_langinfo_bufsize (vTHX->Ilanginfo_bufsize)
# define PL_last_in_gv (vTHX->Ilast_in_gv)
# define PL_lastfd (vTHX->Ilastfd)
# define PL_lastgotoprobe (vTHX->Ilastgotoprobe)
# define PL_laststatval (vTHX->Ilaststatval)
# define PL_laststype (vTHX->Ilaststype)
# define PL_Latin1 (vTHX->ILatin1)
# define PL_LB_invlist (vTHX->ILB_invlist)
# define PL_LIO (vTHX->ILIO)
# define PL_locale_mutex_depth (vTHX->Ilocale_mutex_depth)
# define PL_localizing (vTHX->Ilocalizing)
# define PL_localpatches (vTHX->Ilocalpatches)
# define PL_lockhook (vTHX->Ilockhook)
# define PL_main_cv (vTHX->Imain_cv)
# define PL_main_root (vTHX->Imain_root)
# define PL_main_start (vTHX->Imain_start)
# define PL_mainstack (vTHX->Imainstack)
# define PL_markstack (vTHX->Imarkstack)
# define PL_markstack_max (vTHX->Imarkstack_max)
# define PL_markstack_ptr (vTHX->Imarkstack_ptr)
# define PL_max_intro_pending (vTHX->Imax_intro_pending)
# define PL_maxsysfd (vTHX->Imaxsysfd)
# define PL_mbrlen_ps (vTHX->Imbrlen_ps)
# define PL_mbrtowc_ps (vTHX->Imbrtowc_ps)
# define PL_Mem (vTHX->IMem)
# define PL_mem_log (vTHX->Imem_log)
# define PL_memory_debug_header (vTHX->Imemory_debug_header)
# define PL_MemParse (vTHX->IMemParse)
# define PL_MemShared (vTHX->IMemShared)
# define PL_mess_sv (vTHX->Imess_sv)
# define PL_min_intro_pending (vTHX->Imin_intro_pending)
# define PL_minus_a (vTHX->Iminus_a)
# define PL_minus_c (vTHX->Iminus_c)
# define PL_minus_E (vTHX->Iminus_E)
# define PL_minus_F (vTHX->Iminus_F)
# define PL_minus_l (vTHX->Iminus_l)
# define PL_minus_n (vTHX->Iminus_n)
# define PL_minus_p (vTHX->Iminus_p)
# define PL_modcount (vTHX->Imodcount)
# define PL_modglobal (vTHX->Imodglobal)
# define PL_multideref_pc (vTHX->Imultideref_pc)
# define PL_my_cxt_list (vTHX->Imy_cxt_list)
# define PL_my_cxt_size (vTHX->Imy_cxt_size)
# define PL_na (vTHX->Ina)
# define PL_nomemok (vTHX->Inomemok)
# define PL_numeric_name (vTHX->Inumeric_name)
# define PL_numeric_radix_sv (vTHX->Inumeric_radix_sv)
# define PL_numeric_standard (vTHX->Inumeric_standard)
# define PL_numeric_underlying (vTHX->Inumeric_underlying)
# define PL_numeric_underlying_is_standard (vTHX->Inumeric_underlying_is_standard)
# define PL_ofsgv (vTHX->Iofsgv)
# define PL_oldname (vTHX->Ioldname)
# define PL_op (vTHX->Iop)
# define PL_op_exec_cnt (vTHX->Iop_exec_cnt)
# define PL_op_mask (vTHX->Iop_mask)
# define PL_opfreehook (vTHX->Iopfreehook)
# define PL_origalen (vTHX->Iorigalen)
# define PL_origargc (vTHX->Iorigargc)
# define PL_origargv (vTHX->Iorigargv)
# define PL_origfilename (vTHX->Iorigfilename)
# define PL_ors_sv (vTHX->Iors_sv)
# define PL_osname (vTHX->Iosname)
# define PL_pad_reset_pending (vTHX->Ipad_reset_pending)
# define PL_padix (vTHX->Ipadix)
# define PL_padix_floor (vTHX->Ipadix_floor)
# define PL_padlist_generation (vTHX->Ipadlist_generation)
# define PL_padname_const (vTHX->Ipadname_const)
# define PL_padname_undef (vTHX->Ipadname_undef)
# define PL_parser (vTHX->Iparser)
# define PL_patchlevel (vTHX->Ipatchlevel)
# define PL_peepp (vTHX->Ipeepp)
# define PL_perl_destruct_level (vTHX->Iperl_destruct_level)
# define PL_perldb (vTHX->Iperldb)
# define PL_perlio (vTHX->Iperlio)
# define PL_phase (vTHX->Iphase)
# define PL_pidstatus (vTHX->Ipidstatus)
# define PL_Posix_ptrs (vTHX->IPosix_ptrs)
# define PL_preambleav (vTHX->Ipreambleav)
# define PL_prevailing_version (vTHX->Iprevailing_version)
# define PL_Private_Use (vTHX->IPrivate_Use)
# define PL_Proc (vTHX->IProc)
# define PL_profiledata (vTHX->Iprofiledata)
# define PL_psig_name (vTHX->Ipsig_name)
# define PL_psig_pend (vTHX->Ipsig_pend)
# define PL_psig_ptr (vTHX->Ipsig_ptr)
# define PL_ptr_table (vTHX->Iptr_table)
# define PL_random_state (vTHX->Irandom_state)
# define PL_reentrant_buffer (vTHX->Ireentrant_buffer)
# define PL_reentrant_retint (vTHX->Ireentrant_retint)
# define PL_reg_curpm (vTHX->Ireg_curpm)
# define PL_regex_pad (vTHX->Iregex_pad)
# define PL_regex_padav (vTHX->Iregex_padav)
# define PL_registered_mros (vTHX->Iregistered_mros)
# define PL_regmatch_slab (vTHX->Iregmatch_slab)
# define PL_regmatch_state (vTHX->Iregmatch_state)
# define PL_replgv (vTHX->Ireplgv)
# define PL_restartjmpenv (vTHX->Irestartjmpenv)
# define PL_restartop (vTHX->Irestartop)
# define PL_rpeepp (vTHX->Irpeepp)
# define PL_rs (vTHX->Irs)
# define PL_runops (vTHX->Irunops)
# define PL_savebegin (vTHX->Isavebegin)
# define PL_savestack (vTHX->Isavestack)
# define PL_savestack_ix (vTHX->Isavestack_ix)
# define PL_savestack_max (vTHX->Isavestack_max)
# define PL_SB_invlist (vTHX->ISB_invlist)
# define PL_scopestack (vTHX->Iscopestack)
# define PL_scopestack_ix (vTHX->Iscopestack_ix)
# define PL_scopestack_max (vTHX->Iscopestack_max)
# define PL_scopestack_name (vTHX->Iscopestack_name)
# define PL_scratch_locale_obj (vTHX->Iscratch_locale_obj)
# define PL_SCX_invlist (vTHX->ISCX_invlist)
# define PL_secondgv (vTHX->Isecondgv)
# define PL_setlocale_buf (vTHX->Isetlocale_buf)
# define PL_setlocale_bufsize (vTHX->Isetlocale_bufsize)
# define PL_sharehook (vTHX->Isharehook)
# define PL_sig_pending (vTHX->Isig_pending)
# define PL_sighandler1p (vTHX->Isighandler1p)
# define PL_sighandler3p (vTHX->Isighandler3p)
# define PL_sighandlerp (vTHX->Isighandlerp)
# define PL_signalhook (vTHX->Isignalhook)
# define PL_signals (vTHX->Isignals)
# define PL_Sock (vTHX->ISock)
# define PL_sortcop (vTHX->Isortcop)
# define PL_sortstash (vTHX->Isortstash)
# define PL_splitstr (vTHX->Isplitstr)
# define PL_srand_called (vTHX->Isrand_called)
# define PL_srand_override (vTHX->Isrand_override)
# define PL_srand_override_next (vTHX->Isrand_override_next)
# define PL_stack_base (vTHX->Istack_base)
# define PL_stack_max (vTHX->Istack_max)
# define PL_stack_sp (vTHX->Istack_sp)
# define PL_start_env (vTHX->Istart_env)
# define PL_stashcache (vTHX->Istashcache)
# define PL_stashpad (vTHX->Istashpad)
# define PL_stashpadix (vTHX->Istashpadix)
# define PL_stashpadmax (vTHX->Istashpadmax)
# define PL_statcache (vTHX->Istatcache)
# define PL_statgv (vTHX->Istatgv)
# define PL_statname (vTHX->Istatname)
# define PL_statusvalue (vTHX->Istatusvalue)
# define PL_statusvalue_posix (vTHX->Istatusvalue_posix)
# define PL_statusvalue_vms (vTHX->Istatusvalue_vms)
# define PL_stderrgv (vTHX->Istderrgv)
# define PL_stdingv (vTHX->Istdingv)
# define PL_StdIO (vTHX->IStdIO)
# define PL_stdize_locale_buf (vTHX->Istdize_locale_buf)
# define PL_stdize_locale_bufsize (vTHX->Istdize_locale_bufsize)
# define PL_strtab (vTHX->Istrtab)
# define PL_strxfrm_is_behaved (vTHX->Istrxfrm_is_behaved)
# define PL_strxfrm_max_cp (vTHX->Istrxfrm_max_cp)
# define PL_strxfrm_NUL_replacement (vTHX->Istrxfrm_NUL_replacement)
# define PL_sub_generation (vTHX->Isub_generation)
# define PL_subline (vTHX->Isubline)
# define PL_subname (vTHX->Isubname)
# define PL_Sv (vTHX->ISv)
# define PL_sv_arenaroot (vTHX->Isv_arenaroot)
# define PL_sv_consts (vTHX->Isv_consts)
# define PL_sv_count (vTHX->Isv_count)
# define PL_sv_immortals (vTHX->Isv_immortals)
# define PL_sv_no (vTHX->Isv_no)
# define PL_sv_root (vTHX->Isv_root)
# define PL_sv_serial (vTHX->Isv_serial)
# define PL_sv_undef (vTHX->Isv_undef)
# define PL_sv_yes (vTHX->Isv_yes)
# define PL_sv_zero (vTHX->Isv_zero)
# define PL_sys_intern (vTHX->Isys_intern)
# define PL_taint_warn (vTHX->Itaint_warn)
# define PL_tainted (vTHX->Itainted)
# define PL_tainting (vTHX->Itainting)
# define PL_threadhook (vTHX->Ithreadhook)
# define PL_tmps_floor (vTHX->Itmps_floor)
# define PL_tmps_ix (vTHX->Itmps_ix)
# define PL_tmps_max (vTHX->Itmps_max)
# define PL_tmps_stack (vTHX->Itmps_stack)
# define PL_top_env (vTHX->Itop_env)
# define PL_toptarget (vTHX->Itoptarget)
# define PL_TR_SPECIAL_HANDLING_UTF8 (vTHX->ITR_SPECIAL_HANDLING_UTF8)
# define PL_underlying_numeric_obj (vTHX->Iunderlying_numeric_obj)
# define PL_underlying_radix_sv (vTHX->Iunderlying_radix_sv)
# define PL_unicode (vTHX->Iunicode)
# define PL_unitcheckav (vTHX->Iunitcheckav)
# define PL_unitcheckav_save (vTHX->Iunitcheckav_save)
# define PL_unlockhook (vTHX->Iunlockhook)
# define PL_unsafe (vTHX->Iunsafe)
# define PL_UpperLatin1 (vTHX->IUpperLatin1)
# define PL_utf8_charname_begin (vTHX->Iutf8_charname_begin)
# define PL_utf8_charname_continue (vTHX->Iutf8_charname_continue)
# define PL_utf8_foldclosures (vTHX->Iutf8_foldclosures)
# define PL_utf8_idcont (vTHX->Iutf8_idcont)
# define PL_utf8_idstart (vTHX->Iutf8_idstart)
# define PL_utf8_mark (vTHX->Iutf8_mark)
# define PL_utf8_perl_idcont (vTHX->Iutf8_perl_idcont)
# define PL_utf8_perl_idstart (vTHX->Iutf8_perl_idstart)
# define PL_utf8_tofold (vTHX->Iutf8_tofold)
# define PL_utf8_tolower (vTHX->Iutf8_tolower)
# define PL_utf8_tosimplefold (vTHX->Iutf8_tosimplefold)
# define PL_utf8_totitle (vTHX->Iutf8_totitle)
# define PL_utf8_toupper (vTHX->Iutf8_toupper)
# define PL_utf8_xidcont (vTHX->Iutf8_xidcont)
# define PL_utf8_xidstart (vTHX->Iutf8_xidstart)
# define PL_utf8cache (vTHX->Iutf8cache)
# define PL_utf8locale (vTHX->Iutf8locale)
# define PL_warn_locale (vTHX->Iwarn_locale)
# define PL_warnhook (vTHX->Iwarnhook)
# define PL_watchaddr (vTHX->Iwatchaddr)
# define PL_watchok (vTHX->Iwatchok)
# define PL_WB_invlist (vTHX->IWB_invlist)
# define PL_wcrtomb_ps (vTHX->Iwcrtomb_ps)
# define PL_XPosix_ptrs (vTHX->IXPosix_ptrs)
# define PL_Xpv (vTHX->IXpv)
# define PL_xsubfilename (vTHX->Ixsubfilename)
# if !defined(PL_sawampersand)
# define PL_sawampersand (vTHX->Isawampersand)
# endif
#endif /* defined(MULTIPLICITY) */
/* ex: set ro ft=c: */
```
|
```c++
/*
* Tencent is pleased to support the open source community by making
* WCDB available.
*
* All rights reserved.
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
#ifndef column_type_hpp
#define column_type_hpp
#include <cstdint>
#include <string>
#include <type_traits>
namespace WCDB {
enum class ColumnType : int {
Null,
Float,
Integer32,
Integer64,
Text,
BLOB,
};
template <typename T, typename Enable = void>
struct ColumnIsFloatType : public std::false_type {
};
template <typename T>
struct ColumnIsFloatType<
T,
typename std::enable_if<std::is_floating_point<T>::value>::type>
: public std::true_type {
};
template <typename T, typename Enable = void>
struct ColumnIsInteger32Type : public std::false_type {
};
template <typename T>
struct ColumnIsInteger32Type<
T,
typename std::enable_if<(std::is_integral<T>::value ||
std::is_enum<T>::value) &&
(sizeof(T) <= 4)>::type> : public std::true_type {
};
template <typename T, typename Enable = void>
struct ColumnIsInteger64Type : public std::false_type {
};
template <typename T>
struct ColumnIsInteger64Type<
T,
typename std::enable_if<(std::is_integral<T>::value ||
std::is_enum<T>::value) &&
(sizeof(T) > 4)>::type> : public std::true_type {
};
template <typename T, typename Enable = void>
struct ColumnIsTextType : public std::false_type {
};
template <typename T>
struct ColumnIsTextType<
T,
typename std::enable_if<std::is_same<std::string, T>::value ||
std::is_same<const char *, T>::value>::type>
: public std::true_type {
};
template <typename T, typename Enable = void>
struct ColumnIsBLOBType : public std::false_type {
};
template <typename T>
struct ColumnIsBLOBType<
T,
typename std::enable_if<std::is_same<void *, T>::value ||
std::is_same<const void *, T>::value>::type>
: public std::true_type {
};
//Null
template <ColumnType T = ColumnType::Null>
struct ColumnTypeInfo {
static constexpr const bool isNull = true;
static constexpr const bool isFloat = false;
static constexpr const bool isInteger32 = false;
static constexpr const bool isInteger64 = false;
static constexpr const bool isText = false;
static constexpr const bool isBLOB = false;
static constexpr const bool isBaseType = false;
using CType = void;
static constexpr const ColumnType type = ColumnType::Null;
static constexpr const char *name = "";
};
template <typename T, typename Enable = void>
struct ColumnInfo : public ColumnTypeInfo<ColumnType::Null> {
};
//Float
template <>
struct ColumnTypeInfo<ColumnType::Float> {
static constexpr const bool isNull = false;
static constexpr const bool isFloat = true;
static constexpr const bool isInteger32 = false;
static constexpr const bool isInteger64 = false;
static constexpr const bool isText = false;
static constexpr const bool isBLOB = false;
static constexpr const bool isBaseType = true;
using CType = double;
static constexpr const ColumnType type = ColumnType::Float;
static constexpr const char *name = "REAL";
};
template <typename T>
struct ColumnInfo<T, typename std::enable_if<ColumnIsFloatType<T>::value>::type>
: public ColumnTypeInfo<ColumnType::Float> {
};
//Integer32
template <>
struct ColumnTypeInfo<ColumnType::Integer32> {
static constexpr const bool isNull = false;
static constexpr const bool isFloat = false;
static constexpr const bool isInteger32 = true;
static constexpr const bool isInteger64 = false;
static constexpr const bool isText = false;
static constexpr const bool isBLOB = false;
static constexpr const bool isBaseType = true;
using CType = int32_t;
static constexpr const ColumnType type = ColumnType::Integer32;
static constexpr const char *name = "INTEGER";
};
template <typename T>
struct ColumnInfo<
T,
typename std::enable_if<ColumnIsInteger32Type<T>::value>::type>
: public ColumnTypeInfo<ColumnType::Integer32> {
};
//Integer64
template <>
struct ColumnTypeInfo<ColumnType::Integer64> {
static constexpr const bool isNull = false;
static constexpr const bool isFloat = false;
static constexpr const bool isInteger32 = false;
static constexpr const bool isInteger64 = true;
static constexpr const bool isText = false;
static constexpr const bool isBLOB = false;
static constexpr const bool isBaseType = true;
using CType = int64_t;
static constexpr const ColumnType type = ColumnType::Integer64;
static constexpr const char *name = "INTEGER";
};
template <typename T>
struct ColumnInfo<
T,
typename std::enable_if<ColumnIsInteger64Type<T>::value>::type>
: public ColumnTypeInfo<ColumnType::Integer64> {
};
//Text
template <>
struct ColumnTypeInfo<ColumnType::Text> {
static constexpr const bool isNull = false;
static constexpr const bool isFloat = false;
static constexpr const bool isInteger32 = false;
static constexpr const bool isInteger64 = false;
static constexpr const bool isText = true;
static constexpr const bool isBLOB = false;
static constexpr const bool isBaseType = true;
using CType = const char *;
static constexpr const ColumnType type = ColumnType::Text;
static constexpr const char *name = "TEXT";
};
template <typename T>
struct ColumnInfo<T, typename std::enable_if<ColumnIsTextType<T>::value>::type>
: public ColumnTypeInfo<ColumnType::Text> {
};
//BLOB
template <>
struct ColumnTypeInfo<ColumnType::BLOB> {
static constexpr const bool isNull = false;
static constexpr const bool isFloat = false;
static constexpr const bool isInteger32 = false;
static constexpr const bool isInteger64 = false;
static constexpr const bool isText = false;
static constexpr const bool isBLOB = true;
static constexpr const bool isBaseType = false;
using CType = const void *;
using SizeType = int;
static constexpr const ColumnType type = ColumnType::BLOB;
static constexpr const char *name = "BLOB";
};
template <typename T>
struct ColumnInfo<T, typename std::enable_if<ColumnIsBLOBType<T>::value>::type>
: public ColumnTypeInfo<ColumnType::BLOB> {
};
const char *ColumnTypeName(ColumnType type);
} //namespace WCDB
#endif /* column_type_hpp */
```
|
Stephen Graham Mitchell (born 14 July 1949) is a British journalist who has been Head of News Programmes, BBC, since 2007 and Deputy Director, BBC News, since 2008. He announced his retirement without payment from the position of Head of BBC news programmes in December 2012 in the wake of the Pollard Report into the Jimmy Savile scandal.
He was educated at Loughborough Grammar School and Manchester University.
He began his journalistic career in newspapers, working for The Times 1971–1974, before moving to the BBC, where he worked in Radio news.
References
External links
https://web.archive.org/web/20090923223905/http://www.bbc.co.uk/pressoffice/biographies/biogs/news/stephenmitchell.shtml
1949 births
Living people
People educated at Loughborough Grammar School
Alumni of the University of Manchester
BBC executives
The Times people
British male journalists
|
The Virginia House of Delegates election of 1993 was held on Tuesday, November 2.
Results
Overview
Source
See also
1993 United States elections
1993 Virginia elections
1993 Virginia gubernatorial election
1993 Virginia lieutenant gubernatorial election
1993 Virginia Attorney General election
References
House of Delegates
Virginia
Virginia House of Delegates elections
|
Blackbeck Tarn is a small tarn in Cumbria, England, situated near the summit of Haystacks in the Buttermere Valley. At an elevation of , the lake has an area of and measures , with a maximum depth of .
References
Lakes of the Lake District
Buttermere, Cumbria (village)
|
Karl Koske (27 June 1889 – 8 April 1945) was a German general during World War II. He was a recipient of the Knight's Cross of the Iron Cross of Nazi Germany. Koske was wounded in an air raid and died in a Vienna hospital on 8 April 1945.
Awards and decorations
Knight's Cross of the Iron Cross on 15 March 1944 as Generalmajor and commander of 212. Infanterie-Division
References
Citations
Bibliography
1889 births
1945 deaths
Military personnel from Sarajevo
Austro-Hungarian military personnel of World War I
Major generals of the German Army (Wehrmacht)
Recipients of the Gold German Cross
Recipients of the Knight's Cross of the Iron Cross
German Army personnel killed in World War II
Austro-Hungarian Army officers
Deaths by airstrike during World War II
|
Klaus Ampler (15 November 1940 – 6 May 2016) was a German cyclist. His sporting career began with SC DHfK Leipzig. He competed for East Germany in the team time trial at the 1968 Summer Olympics. He won the peace race in 1963. Ampler died at a nursing home in Leipzig on 6 May 2016 at the age of 75. He was the father of Uwe Ampler, who became a professional cyclist and was coached by his father in the 1980s.
Books
Klaus Ampler: Schweiß. Autobiographie. Gotha, 2005, . (German)
References
External links
1940 births
2016 deaths
People from Malbork
Sportspeople from West Prussia
Socialist Unity Party of Germany members
East German male cyclists
Olympic cyclists for East Germany
Cyclists at the 1968 Summer Olympics
East German sportspeople in doping cases
Recipients of the Patriotic Order of Merit in gold
Recipients of the Banner of Labor
Recipients of the Medal of Merit of the GDR
Cyclists from Saxony
Sportspeople from Leipzig
People from Bezirk Leipzig
|
```objective-c
#pragma once
#include "torch/csrc/jit/ir.h"
namespace torch { namespace jit {
// This pass removes 'grad_of' nodes, replacing them with conditionals of
// the form:
// if any_defined(inputs):
// outputs = <original_computation>
// else:
// outputs = undefineds
TORCH_API void LowerGradOf(Graph& g);
}}
```
|
Robert J. Anderson may refer to:
Bobby Anderson (actor) (1933–2008), American actor and television producer
Robert J. Anderson (public health administrator) (1914–1999), director of the Centers for Disease Control and Prevention
|
```java
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* file, You can obtain one at path_to_url
*/
package com.vaticle.typedb.core.reasoner.benchmark.iam.common;
import com.vaticle.typedb.core.common.perfcounter.PerfCounters;
import com.vaticle.typedb.core.reasoner.common.ReasonerPerfCounters;
import java.time.Duration;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import static com.vaticle.typedb.core.common.iterator.Iterators.iterate;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
public class Benchmark {
private static final int DEFAULT_NRUNS = 5;
private static final double COUNTER_LOWER_MARGIN = 0.75;
private static final double COUNTER_UPPER_MARGIN = 1.25;
private static final double RUNNING_TIME_UPPER_MARGIN = 3.0;
final String name;
final String query;
final long expectedAnswers;
final int nRuns;
final List<BenchmarkRun> runs;
public Benchmark(String name, String query, long expectedAnswers) {
this(name, query, expectedAnswers, DEFAULT_NRUNS);
}
public Benchmark(String name, String query, long expectedAnswers, int nRuns) {
this.name = name;
this.query = query;
this.expectedAnswers = expectedAnswers;
this.nRuns = nRuns;
this.runs = new ArrayList<>();
}
void addRun(BenchmarkRun run) {
runs.add(run);
}
public void assertAnswerCountCorrect() {
assertEquals(iterate(runs).map(run -> expectedAnswers).toList(), iterate(runs).map(run -> run.answerCount).toList());
assertEquals(nRuns, runs.size());
}
public void assertRunningTime(long maxTimeMs) {
runs.forEach(run -> assertTrue(
String.format("Time taken: %d <= %f * %d", run.timeTaken.toMillis(), RUNNING_TIME_UPPER_MARGIN, maxTimeMs),
run.timeTaken.toMillis() <= Math.round(RUNNING_TIME_UPPER_MARGIN * maxTimeMs)));
}
public void assertCounterUpperBound(String counter, long refValue) {
runs.forEach(run -> {
assertTrue(
String.format("%s: %d <= %d", counter, run.reasonerPerfCounters.get(counter), Math.round(COUNTER_UPPER_MARGIN * refValue)),
run.reasonerPerfCounters.get(counter) <= Math.round(COUNTER_UPPER_MARGIN * refValue));
});
}
public void assertCounterLowerBound(String counter, long refValue) {
assertTrue( // If this error throws, It's time to revise the bound.
String.format("[GOOD FAILURE!] Counter %s consistently better than lower bound of %d", counter, Math.round(COUNTER_LOWER_MARGIN * refValue)),
iterate(runs).anyMatch(run -> run.reasonerPerfCounters.get(counter) >= Math.round(COUNTER_LOWER_MARGIN * refValue)));
}
public void assertCounters(long planningTimeMillis, long materialisations, long conjunctionProcessors, long compoundStreams, long compoundStreamMessagesReceived) {
assertCounterUpperBound(ReasonerPerfCounters.PLANNING_TIME_NS, planningTimeMillis * 1_000_000);
assertCounterUpperBound(ReasonerPerfCounters.MATERIALISATIONS, materialisations);
assertCounterUpperBound(ReasonerPerfCounters.CONJUNCTION_PROCESSORS, conjunctionProcessors);
assertCounterUpperBound(ReasonerPerfCounters.COMPOUND_STREAMS, compoundStreams);
assertCounterUpperBound(ReasonerPerfCounters.COMPOUND_STREAM_MESSAGES_RECEIVED, compoundStreamMessagesReceived);
// Do not assert lower bound for time planning. Times are too variable.
assertCounterLowerBound(ReasonerPerfCounters.MATERIALISATIONS, materialisations);
assertCounterLowerBound(ReasonerPerfCounters.CONJUNCTION_PROCESSORS, conjunctionProcessors);
assertCounterLowerBound(ReasonerPerfCounters.COMPOUND_STREAMS, compoundStreams);
assertCounterLowerBound(ReasonerPerfCounters.COMPOUND_STREAM_MESSAGES_RECEIVED, compoundStreamMessagesReceived);
}
public static class BenchmarkRun {
final long answerCount;
final Duration timeTaken;
final Map<String, Long> reasonerPerfCounters;
public BenchmarkRun(long answerCount, Duration timeTaken, PerfCounters reasonerPerfCounters) {
this.answerCount = answerCount;
this.timeTaken = timeTaken;
this.reasonerPerfCounters = new HashMap<>();
iterate(reasonerPerfCounters.counters())
.filter(counter -> BenchmarkRunner.CSVBuilder.perfCounterKeys.contains(counter.name()))
.forEachRemaining(counter -> this.reasonerPerfCounters.put(counter.name(), counter.get()));
}
@Override
public String toString() {
StringBuilder perfCounterStr = new StringBuilder();
reasonerPerfCounters.forEach((k, v) -> perfCounterStr.append(String.format("|-- %-40s :\t%d\n", k, v)));
return "Benchmark run:\n" +
"- TimeTaken :\t" + timeTaken.toMillis() + " ms\n" +
"- Answers :\t" + answerCount + "\n" +
"- PerfCounters :\t\n" + perfCounterStr + "\n";
}
}
}
```
|
```c++
#include "Cloud.h"
#include "Random.h"
#include "TextureManager.h"
void Cloud::initRand()
{
RandomDouble r;
position_.x = r.rand_int(max_X_);
position_.y = r.rand_int(max_Y_);
speed_x_ = 1 + r.rand_int(3);
speed_y_ = 0;
num_ = r.rand_int(num_style_);
alpha_ = 64 + r.rand_int(192);
color_ = { (uint8_t)(r.rand_int(256)), (uint8_t)(r.rand_int(256)), (uint8_t)(r.rand_int(256)), 255 };
}
void Cloud::setPositionOnScreen(int x, int y, int Center_X, int Center_Y)
{
x_ = position_.x - (-y * 18 + x * 18 + max_X_ / 2 - Center_X);
y_ = position_.y - (y * 9 + x * 9 + 9 - Center_Y);
}
void Cloud::draw()
{
TextureManager::getInstance()->renderTexture("cloud", num_, x_, y_, color_, alpha_);
}
void Cloud::flow()
{
position_.x += speed_x_;
position_.y += speed_y_;
auto p = position_;
if (p.x < 0 || p.x > max_X_ || p.y < 0 || p.y > max_Y_)
{
initRand();
}
if (p.x < 0) { position_.x = max_X_; }
if (p.x > max_X_) { position_.x = 0; }
if (p.y < 0) { position_.y = max_Y_; }
if (p.y > max_Y_) { position_.y = 0; }
}
```
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.