102 lines
973 KiB
JavaScript
102 lines
973 KiB
JavaScript
var Pc=Math.pow;(function(){var Dc={"./node_modules/@vue/compiler-dom/dist/compiler-dom.esm-bundler.js":function(v,yt,At){"use strict";At.r(yt),At.d(yt,{BASE_TRANSITION:function(){return B},CAMELIZE:function(){return Pe},CAPITALIZE:function(){return Ke},CREATE_BLOCK:function(){return H},CREATE_COMMENT:function(){return D},CREATE_ELEMENT_BLOCK:function(){return se},CREATE_ELEMENT_VNODE:function(){return C},CREATE_SLOTS:function(){return ke},CREATE_STATIC:function(){return de},CREATE_TEXT:function(){return ge},CREATE_VNODE:function(){return n},DOMDirectiveTransforms:function(){return Xr},DOMNodeTransforms:function(){return Ds},FRAGMENT:function(){return oe},GUARD_REACTIVE_PROPS:function(){return M},IS_MEMO_SAME:function(){return pt},IS_REF:function(){return tt},KEEP_ALIVE:function(){return L},MERGE_PROPS:function(){return pe},NORMALIZE_CLASS:function(){return We},NORMALIZE_PROPS:function(){return F},NORMALIZE_STYLE:function(){return I},OPEN_BLOCK:function(){return T},POP_SCOPE_ID:function(){return Ve},PUSH_SCOPE_ID:function(){return ae},RENDER_LIST:function(){return ce},RENDER_SLOT:function(){return De},RESOLVE_COMPONENT:function(){return be},RESOLVE_DIRECTIVE:function(){return Te},RESOLVE_DYNAMIC_COMPONENT:function(){return we},RESOLVE_FILTER:function(){return J},SET_BLOCK_TRACKING:function(){return ne},SUSPENSE:function(){return N},TELEPORT:function(){return d},TO_DISPLAY_STRING:function(){return le},TO_HANDLERS:function(){return Z},TO_HANDLER_KEY:function(){return ot},TRANSITION:function(){return Rt},TRANSITION_GROUP:function(){return nt},UNREF:function(){return Ee},V_MODEL_CHECKBOX:function(){return so},V_MODEL_DYNAMIC:function(){return Xo},V_MODEL_RADIO:function(){return xr},V_MODEL_SELECT:function(){return co},V_MODEL_TEXT:function(){return lo},V_ON_WITH_KEYS:function(){return $e},V_ON_WITH_MODIFIERS:function(){return _e},V_SHOW:function(){return it},WITH_CTX:function(){return $},WITH_DIRECTIVES:function(){return s},WITH_MEMO:function(){return St},advancePositionWithClone:function(){return sa},advancePositionWithMutation:function(){return Qn},assert:function(){return mr},baseCompile:function(){return eo},baseParse:function(){return pa},buildDirectiveArgs:function(){return Yo},buildProps:function(){return Na},buildSlots:function(){return Pa},checkCompatEnabled:function(){return la},compile:function(){return Qo},createArrayExpression:function(){return Gi},createAssignmentExpression:function(){return Hi},createBlockStatement:function(){return at},createCacheExpression:function(){return Ue},createCallExpression:function(){return E},createCompilerError:function(){return et},createCompoundExpression:function(){return h},createConditionalExpression:function(){return He},createDOMCompilerError:function(){return Yi},createForLoopParams:function(){return Ua},createFunctionExpression:function(){return ee},createIfStatement:function(){return Ct},createInterpolation:function(){return bn},createObjectExpression:function(){return pn},createObjectProperty:function(){return zi},createReturnStatement:function(){return Cn},createRoot:function(){return Ui},createSequenceExpression:function(){return Fi},createSimpleExpression:function(){return Ft},createStructuralDirectiveTransform:function(){return ds},createTemplateLiteral:function(){return K},createTransformContext:function(){return No},createVNodeCall:function(){return Ki},extractIdentifiers:function(){return xt},findDir:function(){return fr},findProp:function(){return _a},generate:function(){return no},generateCodeFrame:function(){return A.generateCodeFrame},getBaseTransformPreset:function(){return Nr},getConstantType:function(){return cr},getInnerRange:function(){return er},getMemoedVNodeCall:function(){return gr},getVNodeBlockHelper:function(){return Hn},getVNodeHelper:function(){return In},hasDynamicKeyVBind:function(){return Vt},hasScopeRef:function(){return hr},helperNameMap:function(){return Ot},injectProp:function(){return Un},isBuiltInType:function(){return Pn},isCoreComponent:function(){return Ei},isFunctionType:function(){return Gt},isInDestructureAssignment:function(){return qe},isMemberExpression:function(){return un},isMemberExpressionBrowser:function(){return tn},isMemberExpressionNode:function(){return Xi},isReferencedIdentifier:function(){return ue},isSimpleIdentifier:function(){return Yn},isSlotOutlet:function(){return En},isStaticArgOf:function(){return mt},isStaticExp:function(){return An},isStaticProperty:function(){return ht},isStaticPropertyKey:function(){return kt},isTemplateNode:function(){return hn},isText:function(){return ai},isVSlot:function(){return Di},locStub:function(){return Qt},makeBlock:function(){return lr},noopDirectiveTransform:function(){return Wa},parse:function(){return da},parserOptions:function(){return ji},processExpression:function(){return Or},processFor:function(){return zr},processIf:function(){return nr},processSlotOutlet:function(){return vr},registerRuntimeHelpers:function(){return ui},resolveComponentType:function(){return _o},toValidAssetId:function(){return wr},trackSlotScopes:function(){return Aa},trackVForSlotScopes:function(){return Bn},transform:function(){return Ho},transformBind:function(){return Go},transformElement:function(){return ls},transformExpression:function(){return Pr},transformModel:function(){return Wr},transformOn:function(){return Oo},transformStyle:function(){return fn},traverseNode:function(){return vo},walkBlockDeclarations:function(){return ft},walkFunctionParams:function(){return Ne},walkIdentifiers:function(){return X},warnDeprecation:function(){return to}});var A=At("./node_modules/@vue/shared/dist/shared.esm-bundler.js");function g(l){throw l}function me(l){}function et(l,x,R,re){const Ce=l,Oe=new SyntaxError(String(Ce));return Oe.code=l,Oe.loc=x,Oe}const z={[0]:"Illegal comment.",[1]:"CDATA section is allowed only in XML context.",[2]:"Duplicate attribute.",[3]:"End tag cannot have attributes.",[4]:"Illegal '/' in tags.",[5]:"Unexpected EOF in tag.",[6]:"Unexpected EOF in CDATA section.",[7]:"Unexpected EOF in comment.",[8]:"Unexpected EOF in script.",[9]:"Unexpected EOF in tag.",[10]:"Incorrectly closed comment.",[11]:"Incorrectly opened comment.",[12]:"Illegal tag name. Use '<' to print '<'.",[13]:"Attribute value was expected.",[14]:"End tag name was expected.",[15]:"Whitespace was expected.",[16]:"Unexpected '<!--' in comment.",[17]:`Attribute name cannot contain U+0022 ("), U+0027 ('), and U+003C (<).`,[18]:"Unquoted attribute value cannot contain U+0022 (\"), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (`).",[19]:"Attribute name cannot start with '='.",[21]:"'<?' is allowed only in XML context.",[20]:"Unexpected null character.",[22]:"Illegal '/' in tags.",[23]:"Invalid end tag.",[24]:"Element is missing end tag.",[25]:"Interpolation end sign was not found.",[27]:"End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.",[26]:"Legal directive name was expected.",[28]:"v-if/v-else-if is missing expression.",[29]:"v-if/else branches must use unique keys.",[30]:"v-else/v-else-if has no adjacent v-if or v-else-if.",[31]:"v-for is missing expression.",[32]:"v-for has invalid expression.",[33]:"<template v-for> key should be placed on the <template> tag.",[34]:"v-bind is missing expression.",[35]:"v-on is missing expression.",[36]:"Unexpected custom directive on <slot> outlet.",[37]:"Mixed v-slot usage on both the component and nested <template>.When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.",[38]:"Duplicate slot names found. ",[39]:"Extraneous children found when component already has explicitly named default slot. These children will be ignored.",[40]:"v-slot can only be used on components or <template> tags.",[41]:"v-model is missing expression.",[42]:"v-model value must be a valid JavaScript member expression.",[43]:"v-model cannot be used on v-for or v-slot scope variables because they are not writable.",[44]:"Error parsing JavaScript expression: ",[45]:"<KeepAlive> expects exactly one child component.",[46]:'"prefixIdentifiers" option is not supported in this build of compiler.',[47]:"ES module mode is not supported in this build of compiler.",[48]:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',[49]:'"scopeId" option is only supported in module mode.',[50]:""},oe=Symbol(""),d=Symbol(""),N=Symbol(""),L=Symbol(""),B=Symbol(""),T=Symbol(""),H=Symbol(""),se=Symbol(""),n=Symbol(""),C=Symbol(""),D=Symbol(""),ge=Symbol(""),de=Symbol(""),be=Symbol(""),we=Symbol(""),Te=Symbol(""),J=Symbol(""),s=Symbol(""),ce=Symbol(""),De=Symbol(""),ke=Symbol(""),le=Symbol(""),pe=Symbol(""),We=Symbol(""),I=Symbol(""),F=Symbol(""),M=Symbol(""),Z=Symbol(""),Pe=Symbol(""),Ke=Symbol(""),ot=Symbol(""),ne=Symbol(""),ae=Symbol(""),Ve=Symbol(""),$=Symbol(""),Ee=Symbol(""),tt=Symbol(""),St=Symbol(""),pt=Symbol(""),Ot={[oe]:"Fragment",[d]:"Teleport",[N]:"Suspense",[L]:"KeepAlive",[B]:"BaseTransition",[T]:"openBlock",[H]:"createBlock",[se]:"createElementBlock",[n]:"createVNode",[C]:"createElementVNode",[D]:"createCommentVNode",[ge]:"createTextVNode",[de]:"createStaticVNode",[be]:"resolveComponent",[we]:"resolveDynamicComponent",[Te]:"resolveDirective",[J]:"resolveFilter",[s]:"withDirectives",[ce]:"renderList",[De]:"renderSlot",[ke]:"createSlots",[le]:"toDisplayString",[pe]:"mergeProps",[We]:"normalizeClass",[I]:"normalizeStyle",[F]:"normalizeProps",[M]:"guardReactiveProps",[Z]:"toHandlers",[Pe]:"camelize",[Ke]:"capitalize",[ot]:"toHandlerKey",[ne]:"setBlockTracking",[ae]:"pushScopeId",[Ve]:"popScopeId",[$]:"withCtx",[Ee]:"unref",[tt]:"isRef",[St]:"withMemo",[pt]:"isMemoSame"};function ui(l){Object.getOwnPropertySymbols(l).forEach(x=>{Ot[x]=l[x]})}const Qt={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function Ui(l,x=Qt){return{type:0,children:l,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:x}}function Ki(l,x,R,re,Ce,Oe,Ie,Re=!1,Ge=!1,gt=!1,ii=Qt){return l&&(Re?(l.helper(T),l.helper(Hn(l.inSSR,gt))):l.helper(In(l.inSSR,gt)),Ie&&l.helper(s)),{type:13,tag:x,props:R,children:re,patchFlag:Ce,dynamicProps:Oe,directives:Ie,isBlock:Re,disableTracking:Ge,isComponent:gt,loc:ii}}function Gi(l,x=Qt){return{type:17,loc:x,elements:l}}function pn(l,x=Qt){return{type:15,loc:x,properties:l}}function zi(l,x){return{type:16,loc:Qt,key:(0,A.isString)(l)?Ft(l,!0):l,value:x}}function Ft(l,x=!1,R=Qt,re=0){return{type:4,loc:R,content:l,isStatic:x,constType:x?3:re}}function bn(l,x){return{type:5,loc:x,content:(0,A.isString)(l)?Ft(l,!1,x):l}}function h(l,x=Qt){return{type:8,loc:x,children:l}}function E(l,x=[],R=Qt){return{type:14,loc:R,callee:l,arguments:x}}function ee(l,x=void 0,R=!1,re=!1,Ce=Qt){return{type:18,params:l,returns:x,newline:R,isSlot:re,loc:Ce}}function He(l,x,R,re=!0){return{type:19,test:l,consequent:x,alternate:R,newline:re,loc:Qt}}function Ue(l,x,R=!1){return{type:20,index:l,value:x,isVNode:R,loc:Qt}}function at(l){return{type:21,body:l,loc:Qt}}function K(l){return{type:22,elements:l,loc:Qt}}function Ct(l,x,R){return{type:23,test:l,consequent:x,alternate:R,loc:Qt}}function Hi(l,x){return{type:24,left:l,right:x,loc:Qt}}function Fi(l){return{type:25,expressions:l,loc:Qt}}function Cn(l){return{type:26,returns:l,loc:Qt}}const An=l=>l.type===4&&l.isStatic,Pn=(l,x)=>l===x||l===(0,A.hyphenate)(x);function Ei(l){if(Pn(l,"Teleport"))return d;if(Pn(l,"Suspense"))return N;if(Pn(l,"KeepAlive"))return L;if(Pn(l,"BaseTransition"))return B}const Kn=/^\d|[^\$\w]/,Yn=l=>!Kn.test(l),ar=/[A-Za-z_$\xA0-\uFFFF]/,Rn=/[\.\?\w$\xA0-\uFFFF]/,qi=/\s+[.[]\s*|\s*[.[]\s+/g,tn=l=>{l=l.trim().replace(qi,Ie=>Ie.trim());let x=0,R=[],re=0,Ce=0,Oe=null;for(let Ie=0;Ie<l.length;Ie++){const Re=l.charAt(Ie);switch(x){case 0:if(Re==="[")R.push(x),x=1,re++;else if(Re==="(")R.push(x),x=2,Ce++;else if(!(Ie===0?ar:Rn).test(Re))return!1;break;case 1:Re==="'"||Re==='"'||Re==="`"?(R.push(x),x=3,Oe=Re):Re==="["?re++:Re==="]"&&(--re||(x=R.pop()));break;case 2:if(Re==="'"||Re==='"'||Re==="`")R.push(x),x=3,Oe=Re;else if(Re==="(")Ce++;else if(Re===")"){if(Ie===l.length-1)return!1;--Ce||(x=R.pop())}break;case 3:Re===Oe&&(x=R.pop(),Oe=null);break}}return!re&&!Ce},Xi=A.NOOP,un=tn;function er(l,x,R){const Ce={source:l.source.slice(x,x+R),start:sa(l.start,l.source,x),end:l.end};return R!=null&&(Ce.end=sa(l.start,l.source,x+R)),Ce}function sa(l,x,R=x.length){return Qn((0,A.extend)({},l),x,R)}function Qn(l,x,R=x.length){let re=0,Ce=-1;for(let Oe=0;Oe<R;Oe++)x.charCodeAt(Oe)===10&&(re++,Ce=Oe);return l.offset+=R,l.line+=re,l.column=Ce===-1?l.column+R:R-Ce,l}function mr(l,x){if(!l)throw new Error(x||"unexpected compiler condition")}function fr(l,x,R=!1){for(let re=0;re<l.props.length;re++){const Ce=l.props[re];if(Ce.type===7&&(R||Ce.exp)&&((0,A.isString)(x)?Ce.name===x:x.test(Ce.name)))return Ce}}function _a(l,x,R=!1,re=!1){for(let Ce=0;Ce<l.props.length;Ce++){const Oe=l.props[Ce];if(Oe.type===6){if(R)continue;if(Oe.name===x&&(Oe.value||re))return Oe}else if(Oe.name==="bind"&&(Oe.exp||re)&&mt(Oe.arg,x))return Oe}}function mt(l,x){return!!(l&&An(l)&&l.content===x)}function Vt(l){return l.props.some(x=>x.type===7&&x.name==="bind"&&(!x.arg||x.arg.type!==4||!x.arg.isStatic))}function ai(l){return l.type===5||l.type===2}function Di(l){return l.type===7&&l.name==="slot"}function hn(l){return l.type===1&&l.tagType===3}function En(l){return l.type===1&&l.tagType===2}function In(l,x){return l||x?n:C}function Hn(l,x){return l||x?H:se}const tr=new Set([F,M]);function Qi(l,x=[]){if(l&&!(0,A.isString)(l)&&l.type===14){const R=l.callee;if(!(0,A.isString)(R)&&tr.has(R))return Qi(l.arguments[0],x.concat(l))}return[l,x]}function Un(l,x,R){let re,Ce=l.type===13?l.props:l.arguments[2],Oe=[],Ie;if(Ce&&!(0,A.isString)(Ce)&&Ce.type===14){const Re=Qi(Ce);Ce=Re[0],Oe=Re[1],Ie=Oe[Oe.length-1]}if(Ce==null||(0,A.isString)(Ce))re=pn([x]);else if(Ce.type===14){const Re=Ce.arguments[0];!(0,A.isString)(Re)&&Re.type===15?Re.properties.unshift(x):Ce.callee===Z?re=E(R.helper(pe),[pn([x]),Ce]):Ce.arguments.unshift(pn([x])),!re&&(re=Ce)}else if(Ce.type===15){let Re=!1;if(x.key.type===4){const Ge=x.key.content;Re=Ce.properties.some(gt=>gt.key.type===4&>.key.content===Ge)}Re||Ce.properties.unshift(x),re=Ce}else re=E(R.helper(pe),[pn([x]),Ce]),Ie&&Ie.callee===M&&(Ie=Oe[Oe.length-2]);l.type===13?Ie?Ie.arguments[0]=re:l.props=re:Ie?Ie.arguments[0]=re:l.arguments[2]=re}function wr(l,x){return`_${x}_${l.replace(/[^\w]/g,(R,re)=>R==="-"?"_":l.charCodeAt(re).toString())}`}function hr(l,x){if(!l||Object.keys(x).length===0)return!1;switch(l.type){case 1:for(let R=0;R<l.props.length;R++){const re=l.props[R];if(re.type===7&&(hr(re.arg,x)||hr(re.exp,x)))return!0}return l.children.some(R=>hr(R,x));case 11:return hr(l.source,x)?!0:l.children.some(R=>hr(R,x));case 9:return l.branches.some(R=>hr(R,x));case 10:return hr(l.condition,x)?!0:l.children.some(R=>hr(R,x));case 4:return!l.isStatic&&Yn(l.content)&&!!x[l.content];case 8:return l.children.some(R=>(0,A.isObject)(R)&&hr(R,x));case 5:case 12:return hr(l.content,x);case 2:case 3:return!1;default:return!1}}function gr(l){return l.type===14&&l.callee===St?l.arguments[1].returns:l}function lr(l,{helper:x,removeHelper:R,inSSR:re}){l.isBlock||(l.isBlock=!0,R(In(re,l.isComponent)),x(T),x(Hn(re,l.isComponent)))}const ir={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:l=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${l}.sync\` should be changed to \`v-model:${l}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_PROP:{message:".prop modifier for v-bind has been removed and no longer necessary. Vue 3 will automatically set a binding as DOM property when appropriate."},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html"},COMPILER_FILTER:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3-migration.vuejs.org/breaking-changes/filters.html"}};function Ma(l,x){const R=x.options?x.options.compatConfig:x.compatConfig,re=R&&R[l];return l==="MODE"?re||3:re}function jr(l,x){const R=Ma("MODE",x),re=Ma(l,x);return R===3?re===!0:re!==!1}function la(l,x,R,...re){return jr(l,x)}function to(l,x,R,...re){if(Ma(l,x)==="suppress-warning")return;const{message:Oe,link:Ie}=ir[l],Re=`(deprecation ${l}) ${typeof Oe=="function"?Oe(...re):Oe}${Ie?`
|
|
Details: ${Ie}`:""}`,Ge=new SyntaxError(Re);Ge.code=l,R&&(Ge.loc=R),x.onWarn(Ge)}const io=/&(gt|lt|amp|apos|quot);/g,Ca={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},Fr={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:A.NO,isPreTag:A.NO,isCustomElement:A.NO,decodeEntities:l=>l.replace(io,(x,R)=>Ca[R]),onError:g,onWarn:me,comments:!1};function pa(l,x={}){const R=ie(l,x),re=Se(R);return Ui(ye(R,0,[]),Je(R,re))}function ie(l,x){const R=(0,A.extend)({},Fr);let re;for(re in x)R[re]=x[re]===void 0?Fr[re]:x[re];return{options:R,column:1,line:1,offset:0,originalSource:l,source:l,inPre:!1,inVPre:!1,onWarn:R.onWarn}}function ye(l,x,R){const re=bt(R),Ce=re?re.ns:0,Oe=[];for(;!Qr(l,x,R);){const Re=l.source;let Ge;if(x===0||x===1){if(!l.inVPre&&Nt(Re,l.options.delimiters[0]))Ge=Ta(l,x);else if(x===0&&Re[0]==="<")if(Re.length===1)Ai(l,5,1);else if(Re[1]==="!")Nt(Re,"<!--")?Ge=Lt(l):Nt(Re,"<!DOCTYPE")?Ge=Jt(l):Nt(Re,"<![CDATA[")?Ce!==0?Ge=lt(l,R):(Ai(l,1),Ge=Jt(l)):(Ai(l,11),Ge=Jt(l));else if(Re[1]==="/")if(Re.length===2)Ai(l,5,2);else if(Re[2]===">"){Ai(l,14,2),Dt(l,3);continue}else if(/[a-z]/i.test(Re[2])){Ai(l,23),Oi(l,1,re);continue}else Ai(l,12,2),Ge=Jt(l);else/[a-z]/i.test(Re[1])?(Ge=yi(l,R),jr("COMPILER_NATIVE_TEMPLATE",l)&&Ge&&Ge.tag==="template"&&!Ge.props.some(gt=>gt.type===7&&Ni(gt.name))&&(Ge=Ge.children)):Re[1]==="?"?(Ai(l,21,1),Ge=Jt(l)):Ai(l,12,1)}if(Ge||(Ge=kr(l,x)),(0,A.isArray)(Ge))for(let gt=0;gt<Ge.length;gt++)Be(Oe,Ge[gt]);else Be(Oe,Ge)}let Ie=!1;if(x!==2&&x!==1){const Re=l.options.whitespace!=="preserve";for(let Ge=0;Ge<Oe.length;Ge++){const gt=Oe[Ge];if(gt.type===2)if(l.inPre)gt.content=gt.content.replace(/\r\n/g,`
|
|
`);else if(/[^\t\r\n\f ]/.test(gt.content))Re&&(gt.content=gt.content.replace(/[\t\r\n\f ]+/g," "));else{const ii=Oe[Ge-1],ei=Oe[Ge+1];!ii||!ei||Re&&(ii.type===3||ei.type===3||ii.type===1&&ei.type===1&&/[\r\n]/.test(gt.content))?(Ie=!0,Oe[Ge]=null):gt.content=" "}else gt.type===3&&!l.options.comments&&(Ie=!0,Oe[Ge]=null)}if(l.inPre&&re&&l.options.isPreTag(re.tag)){const Ge=Oe[0];Ge&&Ge.type===2&&(Ge.content=Ge.content.replace(/^\r?\n/,""))}}return Ie?Oe.filter(Boolean):Oe}function Be(l,x){if(x.type===2){const R=bt(l);if(R&&R.type===2&&R.loc.end.offset===x.loc.start.offset){R.content+=x.content,R.loc.end=x.loc.end,R.loc.source+=x.loc.source;return}}l.push(x)}function lt(l,x){Dt(l,9);const R=ye(l,3,x);return l.source.length===0?Ai(l,6):Dt(l,3),R}function Lt(l){const x=Se(l);let R;const re=/--(\!)?>/.exec(l.source);if(!re)R=l.source.slice(4),Dt(l,l.source.length),Ai(l,7);else{re.index<=3&&Ai(l,0),re[1]&&Ai(l,10),R=l.source.slice(4,re.index);const Ce=l.source.slice(0,re.index);let Oe=1,Ie=0;for(;(Ie=Ce.indexOf("<!--",Oe))!==-1;)Dt(l,Ie-Oe+1),Ie+4<Ce.length&&Ai(l,16),Oe=Ie+1;Dt(l,re.index+re[0].length-Oe+1)}return{type:3,content:R,loc:Je(l,x)}}function Jt(l){const x=Se(l),R=l.source[1]==="?"?1:2;let re;const Ce=l.source.indexOf(">");return Ce===-1?(re=l.source.slice(R),Dt(l,l.source.length)):(re=l.source.slice(R,Ce),Dt(l,Ce+1)),{type:3,content:re,loc:Je(l,x)}}function yi(l,x){const R=l.inPre,re=l.inVPre,Ce=bt(x),Oe=Oi(l,0,Ce),Ie=l.inPre&&!R,Re=l.inVPre&&!re;if(Oe.isSelfClosing||l.options.isVoidTag(Oe.tag))return Ie&&(l.inPre=!1),Re&&(l.inVPre=!1),Oe;x.push(Oe);const Ge=l.options.getTextMode(Oe,Ce),gt=ye(l,Ge,x);x.pop();{const ii=Oe.props.find(ei=>ei.type===6&&ei.name==="inline-template");if(ii&&la("COMPILER_INLINE_TEMPLATE",l,ii.loc)){const ei=Je(l,Oe.loc.end);ii.value={type:2,content:ei.source,loc:ei}}}if(Oe.children=gt,Cr(l.source,Oe.tag))Oi(l,1,Ce);else if(Ai(l,24,0,Oe.loc.start),l.source.length===0&&Oe.tag.toLowerCase()==="script"){const ii=gt[0];ii&&Nt(ii.loc.source,"<!--")&&Ai(l,8)}return Oe.loc=Je(l,Oe.loc.start),Ie&&(l.inPre=!1),Re&&(l.inVPre=!1),Oe}const Ni=(0,A.makeMap)("if,else,else-if,for,slot");function Oi(l,x,R){const re=Se(l),Ce=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(l.source),Oe=Ce[1],Ie=l.options.getNamespace(Oe,R);Dt(l,Ce[0].length),ki(l);const Re=Se(l),Ge=l.source;l.options.isPreTag(Oe)&&(l.inPre=!0);let gt=Li(l,x);x===0&&!l.inVPre&>.some(_i=>_i.type===7&&_i.name==="pre")&&(l.inVPre=!0,(0,A.extend)(l,Re),l.source=Ge,gt=Li(l,x).filter(_i=>_i.name!=="v-pre"));let ii=!1;if(l.source.length===0?Ai(l,9):(ii=Nt(l.source,"/>"),x===1&&ii&&Ai(l,4),Dt(l,ii?2:1)),x===1)return;let ei=0;return l.inVPre||(Oe==="slot"?ei=2:Oe==="template"?gt.some(_i=>_i.type===7&&Ni(_i.name))&&(ei=3):Ri(Oe,gt,l)&&(ei=1)),{type:1,ns:Ie,tag:Oe,tagType:ei,props:gt,isSelfClosing:ii,children:[],loc:Je(l,re),codegenNode:void 0}}function Ri(l,x,R){const re=R.options;if(re.isCustomElement(l))return!1;if(l==="component"||/^[A-Z]/.test(l)||Ei(l)||re.isBuiltInComponent&&re.isBuiltInComponent(l)||re.isNativeTag&&!re.isNativeTag(l))return!0;for(let Ce=0;Ce<x.length;Ce++){const Oe=x[Ce];if(Oe.type===6){if(Oe.name==="is"&&Oe.value){if(Oe.value.content.startsWith("vue:"))return!0;if(la("COMPILER_IS_ON_ELEMENT",R,Oe.loc))return!0}}else{if(Oe.name==="is")return!0;if(Oe.name==="bind"&&mt(Oe.arg,"is")&&!0&&la("COMPILER_IS_ON_ELEMENT",R,Oe.loc))return!0}}}function Li(l,x){const R=[],re=new Set;for(;l.source.length>0&&!Nt(l.source,">")&&!Nt(l.source,"/>");){if(Nt(l.source,"/")){Ai(l,22),Dt(l,1),ki(l);continue}x===1&&Ai(l,3);const Ce=On(l,re);Ce.type===6&&Ce.value&&Ce.name==="class"&&(Ce.value.content=Ce.value.content.replace(/\s+/g," ").trim()),x===0&&R.push(Ce),/^[^\t\r\n\f />]/.test(l.source)&&Ai(l,15),ki(l)}return R}function On(l,x){const R=Se(l),Ce=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(l.source)[0];x.has(Ce)&&Ai(l,2),x.add(Ce),Ce[0]==="="&&Ai(l,19);{const Re=/["'<]/g;let Ge;for(;Ge=Re.exec(Ce);)Ai(l,17,Ge.index)}Dt(l,Ce.length);let Oe;/^[\t\r\n\f ]*=/.test(l.source)&&(ki(l),Dt(l,1),ki(l),Oe=or(l),Oe||Ai(l,13));const Ie=Je(l,R);if(!l.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(Ce)){const Re=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(Ce);let Ge=Nt(Ce,"."),gt=Re[1]||(Ge||Nt(Ce,":")?"bind":Nt(Ce,"@")?"on":"slot"),ii;if(Re[2]){const _i=gt==="slot",Bi=Ce.lastIndexOf(Re[2]),dn=Je(l,rn(l,R,Bi),rn(l,R,Bi+Re[2].length+(_i&&Re[3]||"").length));let vn=Re[2],jn=!0;vn.startsWith("[")?(jn=!1,vn.endsWith("]")?vn=vn.slice(1,vn.length-1):(Ai(l,27),vn=vn.slice(1))):_i&&(vn+=Re[3]||""),ii={type:4,content:vn,isStatic:jn,constType:jn?3:0,loc:dn}}if(Oe&&Oe.isQuoted){const _i=Oe.loc;_i.start.offset++,_i.start.column++,_i.end=sa(_i.start,Oe.content),_i.source=_i.source.slice(1,-1)}const ei=Re[3]?Re[3].slice(1).split("."):[];return Ge&&ei.push("prop"),gt==="bind"&&ii&&ei.includes("sync")&&la("COMPILER_V_BIND_SYNC",l,Ie,ii.loc.source)&&(gt="model",ei.splice(ei.indexOf("sync"),1)),{type:7,name:gt,exp:Oe&&{type:4,content:Oe.content,isStatic:!1,constType:0,loc:Oe.loc},arg:ii,modifiers:ei,loc:Ie}}return!l.inVPre&&Nt(Ce,"v-")&&Ai(l,26),{type:6,name:Ce,value:Oe&&{type:2,content:Oe.content,loc:Oe.loc},loc:Ie}}function or(l){const x=Se(l);let R;const re=l.source[0],Ce=re==='"'||re==="'";if(Ce){Dt(l,1);const Oe=l.source.indexOf(re);Oe===-1?R=ca(l,l.source.length,4):(R=ca(l,Oe,4),Dt(l,1))}else{const Oe=/^[^\t\r\n\f >]+/.exec(l.source);if(!Oe)return;const Ie=/["'<=`]/g;let Re;for(;Re=Ie.exec(Oe[0]);)Ai(l,18,Re.index);R=ca(l,Oe[0].length,4)}return{content:R,isQuoted:Ce,loc:Je(l,x)}}function Ta(l,x){const[R,re]=l.options.delimiters,Ce=l.source.indexOf(re,R.length);if(Ce===-1){Ai(l,25);return}const Oe=Se(l);Dt(l,R.length);const Ie=Se(l),Re=Se(l),Ge=Ce-R.length,gt=l.source.slice(0,Ge),ii=ca(l,Ge,x),ei=ii.trim(),_i=ii.indexOf(ei);_i>0&&Qn(Ie,gt,_i);const Bi=Ge-(ii.length-ei.length-_i);return Qn(Re,gt,Bi),Dt(l,re.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:ei,loc:Je(l,Ie,Re)},loc:Je(l,Oe)}}function kr(l,x){const R=x===3?["]]>"]:["<",l.options.delimiters[0]];let re=l.source.length;for(let Ie=0;Ie<R.length;Ie++){const Re=l.source.indexOf(R[Ie],1);Re!==-1&&re>Re&&(re=Re)}const Ce=Se(l),Oe=ca(l,re,x);return{type:2,content:Oe,loc:Je(l,Ce)}}function ca(l,x,R){const re=l.source.slice(0,x);return Dt(l,x),R===2||R===3||!re.includes("&")?re:l.options.decodeEntities(re,R===4)}function Se(l){const{column:x,line:R,offset:re}=l;return{column:x,line:R,offset:re}}function Je(l,x,R){return R=R||Se(l),{start:x,end:R,source:l.originalSource.slice(x.offset,R.offset)}}function bt(l){return l[l.length-1]}function Nt(l,x){return l.startsWith(x)}function Dt(l,x){const{source:R}=l;Qn(l,R,x),l.source=R.slice(x)}function ki(l){const x=/^[\t\r\n\f ]+/.exec(l.source);x&&Dt(l,x[0].length)}function rn(l,x,R){return sa(x,l.originalSource.slice(x.offset,R),R)}function Ai(l,x,R,re=Se(l)){R&&(re.offset+=R,re.column+=R),l.options.onError(et(x,{start:re,end:re,source:""}))}function Qr(l,x,R){const re=l.source;switch(x){case 0:if(Nt(re,"</")){for(let Ce=R.length-1;Ce>=0;--Ce)if(Cr(re,R[Ce].tag))return!0}break;case 1:case 2:{const Ce=bt(R);if(Ce&&Cr(re,Ce.tag))return!0;break}case 3:if(Nt(re,"]]>"))return!0;break}return!re}function Cr(l,x){return Nt(l,"</")&&l.slice(2,2+x.length).toLowerCase()===x.toLowerCase()&&/[\t\r\n\f />]/.test(l[2+x.length]||">")}function Ar(l,x){$i(l,x,Vr(l,l.children[0]))}function Vr(l,x){const{children:R}=l;return R.length===1&&x.type===1&&!En(x)}function $i(l,x,R=!1){const{children:re}=l,Ce=re.length;let Oe=0;for(let Ie=0;Ie<re.length;Ie++){const Re=re[Ie];if(Re.type===1&&Re.tagType===0){const Ge=R?0:cr(Re,x);if(Ge>0){if(Ge>=2){Re.codegenNode.patchFlag=-1+"",Re.codegenNode=x.hoist(Re.codegenNode),Oe++;continue}}else{const gt=Re.codegenNode;if(gt.type===13){const ii=To(gt);if((!ii||ii===512||ii===1)&&wa(Re,x)>=2){const ei=Co(Re);ei&&(gt.props=x.hoist(ei))}gt.dynamicProps&&(gt.dynamicProps=x.hoist(gt.dynamicProps))}}}if(Re.type===1){const Ge=Re.tagType===1;Ge&&x.scopes.vSlot++,$i(Re,x),Ge&&x.scopes.vSlot--}else if(Re.type===11)$i(Re,x,Re.children.length===1);else if(Re.type===9)for(let Ge=0;Ge<Re.branches.length;Ge++)$i(Re.branches[Ge],x,Re.branches[Ge].children.length===1)}Oe&&x.transformHoist&&x.transformHoist(re,x,l),Oe&&Oe===Ce&&l.type===1&&l.tagType===0&&l.codegenNode&&l.codegenNode.type===13&&(0,A.isArray)(l.codegenNode.children)&&(l.codegenNode.children=x.hoist(Gi(l.codegenNode.children)))}function cr(l,x){const{constantCache:R}=x;switch(l.type){case 1:if(l.tagType!==0)return 0;const re=R.get(l);if(re!==void 0)return re;const Ce=l.codegenNode;if(Ce.type!==13||Ce.isBlock&&l.tag!=="svg"&&l.tag!=="foreignObject")return 0;if(To(Ce))return R.set(l,0),0;{let Re=3;const Ge=wa(l,x);if(Ge===0)return R.set(l,0),0;Ge<Re&&(Re=Ge);for(let gt=0;gt<l.children.length;gt++){const ii=cr(l.children[gt],x);if(ii===0)return R.set(l,0),0;ii<Re&&(Re=ii)}if(Re>1)for(let gt=0;gt<l.props.length;gt++){const ii=l.props[gt];if(ii.type===7&&ii.name==="bind"&&ii.exp){const ei=cr(ii.exp,x);if(ei===0)return R.set(l,0),0;ei<Re&&(Re=ei)}}if(Ce.isBlock){for(let gt=0;gt<l.props.length;gt++)if(l.props[gt].type===7)return R.set(l,0),0;x.removeHelper(T),x.removeHelper(Hn(x.inSSR,Ce.isComponent)),Ce.isBlock=!1,x.helper(In(x.inSSR,Ce.isComponent))}return R.set(l,Re),Re}case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return cr(l.content,x);case 4:return l.constType;case 8:let Ie=3;for(let Re=0;Re<l.children.length;Re++){const Ge=l.children[Re];if((0,A.isString)(Ge)||(0,A.isSymbol)(Ge))continue;const gt=cr(Ge,x);if(gt===0)return 0;gt<Ie&&(Ie=gt)}return Ie;default:return 0}}const ua=new Set([We,I,F,M]);function go(l,x){if(l.type===14&&!(0,A.isString)(l.callee)&&ua.has(l.callee)){const R=l.arguments[0];if(R.type===4)return cr(R,x);if(R.type===14)return go(R,x)}return 0}function wa(l,x){let R=3;const re=Co(l);if(re&&re.type===15){const{properties:Ce}=re;for(let Oe=0;Oe<Ce.length;Oe++){const{key:Ie,value:Re}=Ce[Oe],Ge=cr(Ie,x);if(Ge===0)return Ge;Ge<R&&(R=Ge);let gt;if(Re.type===4?gt=cr(Re,x):Re.type===14?gt=go(Re,x):gt=0,gt===0)return gt;gt<R&&(R=gt)}}return R}function Co(l){const x=l.codegenNode;if(x.type===13)return x.props}function To(l){const x=l.patchFlag;return x?parseInt(x,10):void 0}function No(l,{filename:x="",prefixIdentifiers:R=!1,hoistStatic:re=!1,cacheHandlers:Ce=!1,nodeTransforms:Oe=[],directiveTransforms:Ie={},transformHoist:Re=null,isBuiltInComponent:Ge=A.NOOP,isCustomElement:gt=A.NOOP,expressionPlugins:ii=[],scopeId:ei=null,slotted:_i=!0,ssr:Bi=!1,inSSR:dn=!1,ssrCssVars:vn="",bindingMetadata:jn=A.EMPTY_OBJ,inline:Tn=!1,isTS:zn=!1,onError:va=g,onWarn:Po=me,compatConfig:na}){const Do=x.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),yr={selfName:Do&&(0,A.capitalize)((0,A.camelize)(Do[1])),prefixIdentifiers:R,hoistStatic:re,cacheHandlers:Ce,nodeTransforms:Oe,directiveTransforms:Ie,transformHoist:Re,isBuiltInComponent:Ge,isCustomElement:gt,expressionPlugins:ii,scopeId:ei,slotted:_i,ssr:Bi,inSSR:dn,ssrCssVars:vn,bindingMetadata:jn,inline:Tn,isTS:zn,onError:va,onWarn:Po,compatConfig:na,root:l,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new Map,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:l,childIndex:0,inVOnce:!1,helper(yn){const Wn=yr.helpers.get(yn)||0;return yr.helpers.set(yn,Wn+1),yn},removeHelper(yn){const Wn=yr.helpers.get(yn);if(Wn){const Rr=Wn-1;Rr?yr.helpers.set(yn,Rr):yr.helpers.delete(yn)}},helperString(yn){return`_${Ot[yr.helper(yn)]}`},replaceNode(yn){yr.parent.children[yr.childIndex]=yr.currentNode=yn},removeNode(yn){const Wn=yr.parent.children,Rr=yn?Wn.indexOf(yn):yr.currentNode?yr.childIndex:-1;!yn||yn===yr.currentNode?(yr.currentNode=null,yr.onNodeRemoved()):yr.childIndex>Rr&&(yr.childIndex--,yr.onNodeRemoved()),yr.parent.children.splice(Rr,1)},onNodeRemoved:()=>{},addIdentifiers(yn){},removeIdentifiers(yn){},hoist(yn){(0,A.isString)(yn)&&(yn=Ft(yn)),yr.hoists.push(yn);const Wn=Ft(`_hoisted_${yr.hoists.length}`,!1,yn.loc,2);return Wn.hoisted=yn,Wn},cache(yn,Wn=!1){return Ue(yr.cached++,yn,Wn)}};return yr.filters=new Set,yr}function Ho(l,x){const R=No(l,x);vo(l,R),x.hoistStatic&&Ar(l,R),x.ssr||Ea(l,R),l.helpers=[...R.helpers.keys()],l.components=[...R.components],l.directives=[...R.directives],l.imports=R.imports,l.hoists=R.hoists,l.temps=R.temps,l.cached=R.cached,l.filters=[...R.filters]}function Ea(l,x){const{helper:R}=x,{children:re}=l;if(re.length===1){const Ce=re[0];if(Vr(l,Ce)&&Ce.codegenNode){const Oe=Ce.codegenNode;Oe.type===13&&lr(Oe,x),l.codegenNode=Oe}else l.codegenNode=Ce}else if(re.length>1){let Ce=64,Oe=A.PatchFlagNames[64];l.codegenNode=Ki(x,R(oe),void 0,l.children,Ce+"",void 0,void 0,!0,void 0,!1)}}function xs(l,x){let R=0;const re=()=>{R--};for(;R<l.children.length;R++){const Ce=l.children[R];(0,A.isString)(Ce)||(x.parent=l,x.childIndex=R,x.onNodeRemoved=re,vo(Ce,x))}}function vo(l,x){x.currentNode=l;const{nodeTransforms:R}=x,re=[];for(let Oe=0;Oe<R.length;Oe++){const Ie=R[Oe](l,x);if(Ie&&((0,A.isArray)(Ie)?re.push(...Ie):re.push(Ie)),x.currentNode)l=x.currentNode;else return}switch(l.type){case 3:x.ssr||x.helper(D);break;case 5:x.ssr||x.helper(le);break;case 9:for(let Oe=0;Oe<l.branches.length;Oe++)vo(l.branches[Oe],x);break;case 10:case 11:case 1:case 0:xs(l,x);break}x.currentNode=l;let Ce=re.length;for(;Ce--;)re[Ce]()}function ds(l,x){const R=(0,A.isString)(l)?re=>re===l:re=>l.test(re);return(re,Ce)=>{if(re.type===1){const{props:Oe}=re;if(re.tagType===3&&Oe.some(Di))return;const Ie=[];for(let Re=0;Re<Oe.length;Re++){const Ge=Oe[Re];if(Ge.type===7&&R(Ge.name)){Oe.splice(Re,1),Re--;const gt=x(re,Ge,Ce);gt&&Ie.push(gt)}}return Ie}}}const ma="/*#__PURE__*/",Oa=l=>`${Ot[l]}: _${Ot[l]}`;function Lo(l,{mode:x="function",prefixIdentifiers:R=x==="module",sourceMap:re=!1,filename:Ce="template.vue.html",scopeId:Oe=null,optimizeImports:Ie=!1,runtimeGlobalName:Re="Vue",runtimeModuleName:Ge="vue",ssrRuntimeModuleName:gt="vue/server-renderer",ssr:ii=!1,isTS:ei=!1,inSSR:_i=!1}){const Bi={mode:x,prefixIdentifiers:R,sourceMap:re,filename:Ce,scopeId:Oe,optimizeImports:Ie,runtimeGlobalName:Re,runtimeModuleName:Ge,ssrRuntimeModuleName:gt,ssr:ii,isTS:ei,inSSR:_i,source:l.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(vn){return`_${Ot[vn]}`},push(vn,jn){Bi.code+=vn},indent(){dn(++Bi.indentLevel)},deindent(vn=!1){vn?--Bi.indentLevel:dn(--Bi.indentLevel)},newline(){dn(Bi.indentLevel)}};function dn(vn){Bi.push(`
|
|
`+" ".repeat(vn))}return Bi}function no(l,x={}){const R=Lo(l,x);x.onContextCreated&&x.onContextCreated(R);const{mode:re,push:Ce,prefixIdentifiers:Oe,indent:Ie,deindent:Re,newline:Ge,scopeId:gt,ssr:ii}=R,ei=l.helpers.length>0,_i=!Oe&&re!=="module";$o(l,R);const dn=ii?"ssrRender":"render",jn=(ii?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ");if(Ce(`function ${dn}(${jn}) {`),Ie(),_i&&(Ce("with (_ctx) {"),Ie(),ei&&(Ce(`const { ${l.helpers.map(Oa).join(", ")} } = _Vue`),Ce(`
|
|
`),Ge())),l.components.length&&(zo(l.components,"component",R),(l.directives.length||l.temps>0)&&Ge()),l.directives.length&&(zo(l.directives,"directive",R),l.temps>0&&Ge()),l.filters&&l.filters.length&&(Ge(),zo(l.filters,"filter",R),Ge()),l.temps>0){Ce("let ");for(let Tn=0;Tn<l.temps;Tn++)Ce(`${Tn>0?", ":""}_temp${Tn}`)}return(l.components.length||l.directives.length||l.temps)&&(Ce(`
|
|
`),Ge()),ii||Ce("return "),l.codegenNode?Gn(l.codegenNode,R):Ce("null"),_i&&(Re(),Ce("}")),Re(),Ce("}"),{ast:l,code:R.code,preamble:"",map:R.map?R.map.toJSON():void 0}}function $o(l,x){const{ssr:R,prefixIdentifiers:re,push:Ce,newline:Oe,runtimeModuleName:Ie,runtimeGlobalName:Re,ssrRuntimeModuleName:Ge}=x,gt=Re;if(l.helpers.length>0&&(Ce(`const _Vue = ${gt}
|
|
`),l.hoists.length)){const ii=[n,C,D,ge,de].filter(ei=>l.helpers.includes(ei)).map(Oa).join(", ");Ce(`const { ${ii} } = _Vue
|
|
`)}ka(l.hoists,x),Oe(),Ce("return ")}function zo(l,x,{helper:R,push:re,newline:Ce,isTS:Oe}){const Ie=R(x==="filter"?J:x==="component"?be:Te);for(let Re=0;Re<l.length;Re++){let Ge=l[Re];const gt=Ge.endsWith("__self");gt&&(Ge=Ge.slice(0,-6)),re(`const ${wr(Ge,x)} = ${Ie}(${JSON.stringify(Ge)}${gt?", true":""})${Oe?"!":""}`),Re<l.length-1&&Ce()}}function ka(l,x){if(!l.length)return;x.pure=!0;const{push:R,newline:re,helper:Ce,scopeId:Oe,mode:Ie}=x;re();for(let Re=0;Re<l.length;Re++){const Ge=l[Re];Ge&&(R(`const _hoisted_${Re+1} = `),Gn(Ge,x),re())}x.pure=!1}function yo(l){return isString(l)||l.type===4||l.type===2||l.type===5||l.type===8}function Ia(l,x){const R=l.length>3||!1;x.push("["),R&&x.indent(),Va(l,x,R),R&&x.deindent(),x.push("]")}function Va(l,x,R=!1,re=!0){const{push:Ce,newline:Oe}=x;for(let Ie=0;Ie<l.length;Ie++){const Re=l[Ie];(0,A.isString)(Re)?Ce(Re):(0,A.isArray)(Re)?Ia(Re,x):Gn(Re,x),Ie<l.length-1&&(R?(re&&Ce(","),Oe()):re&&Ce(", "))}}function Gn(l,x){if((0,A.isString)(l)){x.push(l);return}if((0,A.isSymbol)(l)){x.push(x.helper(l));return}switch(l.type){case 1:case 9:case 11:Gn(l.codegenNode,x);break;case 2:As(l,x);break;case 4:Wo(l,x);break;case 5:Ss(l,x);break;case 12:Gn(l.codegenNode,x);break;case 8:ro(l,x);break;case 3:ps(l,x);break;case 13:ss(l,x);break;case 14:qo(l,x);break;case 15:r(l,x);break;case 17:f(l,x);break;case 18:w(l,x);break;case 19:P(l,x);break;case 20:W(l,x);break;case 21:Va(l.body,x,!0,!1);break;case 22:break;case 23:break;case 24:break;case 25:break;case 26:break;case 10:break;default:}}function As(l,x){x.push(JSON.stringify(l.content),l)}function Wo(l,x){const{content:R,isStatic:re}=l;x.push(re?JSON.stringify(R):R,l)}function Ss(l,x){const{push:R,helper:re,pure:Ce}=x;Ce&&R(ma),R(`${re(le)}(`),Gn(l.content,x),R(")")}function ro(l,x){for(let R=0;R<l.children.length;R++){const re=l.children[R];(0,A.isString)(re)?x.push(re):Gn(re,x)}}function Yr(l,x){const{push:R}=x;if(l.type===8)R("["),ro(l,x),R("]");else if(l.isStatic){const re=Yn(l.content)?l.content:JSON.stringify(l.content);R(re,l)}else R(`[${l.content}]`,l)}function ps(l,x){const{push:R,helper:re,pure:Ce}=x;Ce&&R(ma),R(`${re(D)}(${JSON.stringify(l.content)})`,l)}function ss(l,x){const{push:R,helper:re,pure:Ce}=x,{tag:Oe,props:Ie,children:Re,patchFlag:Ge,dynamicProps:gt,directives:ii,isBlock:ei,disableTracking:_i,isComponent:Bi}=l;ii&&R(re(s)+"("),ei&&R(`(${re(T)}(${_i?"true":""}), `),Ce&&R(ma);const dn=ei?Hn(x.inSSR,Bi):In(x.inSSR,Bi);R(re(dn)+"(",l),Va(Cs([Oe,Ie,Re,Ge,gt]),x),R(")"),ei&&R(")"),ii&&(R(", "),Gn(ii,x),R(")"))}function Cs(l){let x=l.length;for(;x--&&l[x]==null;);return l.slice(0,x+1).map(R=>R||"null")}function qo(l,x){const{push:R,helper:re,pure:Ce}=x,Oe=(0,A.isString)(l.callee)?l.callee:re(l.callee);Ce&&R(ma),R(Oe+"(",l),Va(l.arguments,x),R(")")}function r(l,x){const{push:R,indent:re,deindent:Ce,newline:Oe}=x,{properties:Ie}=l;if(!Ie.length){R("{}",l);return}const Re=Ie.length>1||!1;R(Re?"{":"{ "),Re&&re();for(let Ge=0;Ge<Ie.length;Ge++){const{key:gt,value:ii}=Ie[Ge];Yr(gt,x),R(": "),Gn(ii,x),Ge<Ie.length-1&&(R(","),Oe())}Re&&Ce(),R(Re?"}":" }")}function f(l,x){Ia(l.elements,x)}function w(l,x){const{push:R,indent:re,deindent:Ce}=x,{params:Oe,returns:Ie,body:Re,newline:Ge,isSlot:gt}=l;gt&&R(`_${Ot[$]}(`),R("(",l),(0,A.isArray)(Oe)?Va(Oe,x):Oe&&Gn(Oe,x),R(") => "),(Ge||Re)&&(R("{"),re()),Ie?(Ge&&R("return "),(0,A.isArray)(Ie)?Ia(Ie,x):Gn(Ie,x)):Re&&Gn(Re,x),(Ge||Re)&&(Ce(),R("}")),gt&&(l.isNonScopedSlot&&R(", undefined, true"),R(")"))}function P(l,x){const{test:R,consequent:re,alternate:Ce,newline:Oe}=l,{push:Ie,indent:Re,deindent:Ge,newline:gt}=x;if(R.type===4){const ei=!Yn(R.content);ei&&Ie("("),Wo(R,x),ei&&Ie(")")}else Ie("("),Gn(R,x),Ie(")");Oe&&Re(),x.indentLevel++,Oe||Ie(" "),Ie("? "),Gn(re,x),x.indentLevel--,Oe&>(),Oe||Ie(" "),Ie(": ");const ii=Ce.type===19;ii||x.indentLevel++,Gn(Ce,x),ii||x.indentLevel--,Oe&&Ge(!0)}function W(l,x){const{push:R,helper:re,indent:Ce,deindent:Oe,newline:Ie}=x;R(`_cache[${l.index}] || (`),l.isVNode&&(Ce(),R(`${re(ne)}(-1),`),Ie()),R(`_cache[${l.index}] = `),Gn(l.value,x),l.isVNode&&(R(","),Ie(),R(`${re(ne)}(1),`),Ie(),R(`_cache[${l.index}]`),Oe()),R(")")}function X(l,x,R=!1,re=[],Ce=Object.create(null)){}function ue(l,x,R){return!1}function qe(l,x){if(l&&(l.type==="ObjectProperty"||l.type==="ArrayPattern")){let R=x.length;for(;R--;){const re=x[R];if(re.type==="AssignmentExpression")return!0;if(re.type!=="ObjectProperty"&&!re.type.endsWith("Pattern"))break}}return!1}function Ne(l,x){for(const R of l.params)for(const re of xt(R))x(re)}function ft(l,x){for(const R of l.body)if(R.type==="VariableDeclaration"){if(R.declare)continue;for(const re of R.declarations)for(const Ce of xt(re.id))x(Ce)}else if(R.type==="FunctionDeclaration"||R.type==="ClassDeclaration"){if(R.declare||!R.id)continue;x(R.id)}}function xt(l,x=[]){switch(l.type){case"Identifier":x.push(l);break;case"MemberExpression":let R=l;for(;R.type==="MemberExpression";)R=R.object;x.push(R);break;case"ObjectPattern":for(const re of l.properties)re.type==="RestElement"?xt(re.argument,x):xt(re.value,x);break;case"ArrayPattern":l.elements.forEach(re=>{re&&xt(re,x)});break;case"RestElement":xt(l.argument,x);break;case"AssignmentPattern":xt(l.left,x);break}return x}const Gt=l=>/Function(?:Expression|Declaration)$|Method$/.test(l.type),ht=l=>l&&(l.type==="ObjectProperty"||l.type==="ObjectMethod")&&!l.computed,kt=(l,x)=>ht(x)&&x.key===l,Si=new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments,typeof,void".split(",").join("\\b|\\b")+"\\b"),gn=/'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`/g;function vi(l,x,R=!1,re=!1){const Ce=l.content;if(!!Ce.trim())try{new Function(re?` ${Ce} `:`return ${R?`(${Ce}) => {}`:`(${Ce})`}`)}catch(Oe){let Ie=Oe.message;const Re=Ce.replace(gn,"").match(Si);Re&&(Ie=`avoid using JavaScript keyword as property name: "${Re[0]}"`),x.onError(et(44,l.loc,void 0,Ie))}}const Pr=(l,x)=>{if(l.type===5)l.content=Or(l.content,x);else if(l.type===1)for(let R=0;R<l.props.length;R++){const re=l.props[R];if(re.type===7&&re.name!=="for"){const Ce=re.exp,Oe=re.arg;Ce&&Ce.type===4&&!(re.name==="on"&&Oe)&&(re.exp=Or(Ce,x,re.name==="slot")),Oe&&Oe.type===4&&!Oe.isStatic&&(re.arg=Or(Oe,x))}}};function Or(l,x,R=!1,re=!1,Ce=Object.create(x.identifiers)){return l}const Gr=ds(/^(if|else|else-if)$/,(l,x,R)=>nr(l,x,R,(re,Ce,Oe)=>{const Ie=R.parent.children;let Re=Ie.indexOf(re),Ge=0;for(;Re-->=0;){const gt=Ie[Re];gt&>.type===9&&(Ge+=gt.branches.length)}return()=>{if(Oe)re.codegenNode=Dr(Ce,Ge,R);else{const gt=Xa(re.codegenNode);gt.alternate=Dr(Ce,Ge+re.branches.length-1,R)}}}));function nr(l,x,R,re){if(x.name!=="else"&&(!x.exp||!x.exp.content.trim())){const Ce=x.exp?x.exp.loc:l.loc;R.onError(et(28,x.loc)),x.exp=Ft("true",!1,Ce)}if(x.name==="if"){const Ce=_n(l,x),Oe={type:9,loc:l.loc,branches:[Ce]};if(R.replaceNode(Oe),re)return re(Oe,Ce,!0)}else{const Ce=R.parent.children,Oe=[];let Ie=Ce.indexOf(l);for(;Ie-->=-1;){const Re=Ce[Ie];if(Re&&Re.type===2&&!Re.content.trim().length){R.removeNode(Re);continue}if(Re&&Re.type===9){x.name==="else-if"&&Re.branches[Re.branches.length-1].condition===void 0&&R.onError(et(30,l.loc)),R.removeNode();const Ge=_n(l,x);Re.branches.push(Ge);const gt=re&&re(Re,Ge,!1);vo(Ge,R),gt&>(),R.currentNode=null}else R.onError(et(30,l.loc));break}}}function _n(l,x){const R=l.tagType===3;return{type:10,loc:l.loc,condition:x.name==="else"?void 0:x.exp,children:R&&!fr(l,"for")?l.children:[l],userKey:_a(l,"key"),isTemplateIf:R}}function Dr(l,x,R){return l.condition?He(l.condition,$n(l,x,R),E(R.helper(D),['""',"true"])):$n(l,x,R)}function $n(l,x,R){const{helper:re}=R,Ce=zi("key",Ft(`${x}`,!1,Qt,2)),{children:Oe}=l,Ie=Oe[0];if(Oe.length!==1||Ie.type!==1)if(Oe.length===1&&Ie.type===11){const Ge=Ie.codegenNode;return Un(Ge,Ce,R),Ge}else{let Ge=64,gt=A.PatchFlagNames[64];return Ki(R,re(oe),pn([Ce]),Oe,Ge+"",void 0,void 0,!0,!1,!1,l.loc)}else{const Ge=Ie.codegenNode,gt=gr(Ge);return gt.type===13&&lr(gt,R),Un(gt,Ce,R),Ge}}function Tr(l,x){if(!l||l.type!==x.type)return!1;if(l.type===6){if(l.value.content!==x.value.content)return!1}else{const R=l.exp,re=x.exp;if(R.type!==re.type||R.type!==4||R.isStatic!==re.isStatic||R.content!==re.content)return!1}return!0}function Xa(l){for(;;)if(l.type===19)if(l.alternate.type===19)l=l.alternate;else return l;else l.type===20&&(l=l.value)}const Zr=ds("for",(l,x,R)=>{const{helper:re,removeHelper:Ce}=R;return zr(l,x,R,Oe=>{const Ie=E(re(ce),[Oe.source]),Re=hn(l),Ge=fr(l,"memo"),gt=_a(l,"key"),ii=gt&&(gt.type===6?Ft(gt.value.content,!0):gt.exp),ei=gt?zi("key",ii):null,_i=Oe.source.type===4&&Oe.source.constType>0,Bi=_i?64:gt?128:256;return Oe.codegenNode=Ki(R,re(oe),void 0,Ie,Bi+"",void 0,void 0,!0,!_i,!1,l.loc),()=>{let dn;const{children:vn}=Oe,jn=vn.length!==1||vn[0].type!==1,Tn=En(l)?l:Re&&l.children.length===1&&En(l.children[0])?l.children[0]:null;if(Tn?(dn=Tn.codegenNode,Re&&ei&&Un(dn,ei,R)):jn?dn=Ki(R,re(oe),ei?pn([ei]):void 0,l.children,64+"",void 0,void 0,!0,void 0,!1):(dn=vn[0].codegenNode,Re&&ei&&Un(dn,ei,R),dn.isBlock!==!_i&&(dn.isBlock?(Ce(T),Ce(Hn(R.inSSR,dn.isComponent))):Ce(In(R.inSSR,dn.isComponent))),dn.isBlock=!_i,dn.isBlock?(re(T),re(Hn(R.inSSR,dn.isComponent))):re(In(R.inSSR,dn.isComponent))),Ge){const zn=ee(Ua(Oe.parseResult,[Ft("_cached")]));zn.body=at([h(["const _memo = (",Ge.exp,")"]),h(["if (_cached",...ii?[" && _cached.key === ",ii]:[],` && ${R.helperString(pt)}(_cached, _memo)) return _cached`]),h(["const _item = ",dn]),Ft("_item.memo = _memo"),Ft("return _item")]),Ie.arguments.push(zn,Ft("_cache"),Ft(String(R.cached++)))}else Ie.arguments.push(ee(Ua(Oe.parseResult),dn,!0))}})});function zr(l,x,R,re){if(!x.exp){R.onError(et(31,x.loc));return}const Ce=Ja(x.exp,R);if(!Ce){R.onError(et(32,x.loc));return}const{addIdentifiers:Oe,removeIdentifiers:Ie,scopes:Re}=R,{source:Ge,value:gt,key:ii,index:ei}=Ce,_i={type:11,loc:x.loc,source:Ge,valueAlias:gt,keyAlias:ii,objectIndexAlias:ei,parseResult:Ce,children:hn(l)?l.children:[l]};R.replaceNode(_i),Re.vFor++;const Bi=re&&re(_i);return()=>{Re.vFor--,Bi&&Bi()}}const Mn=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,bo=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,ja=/^\(|\)$/g;function Ja(l,x){const R=l.loc,re=l.content,Ce=re.match(Mn);if(!Ce)return;const[,Oe,Ie]=Ce,Re={source:fa(R,Ie.trim(),re.indexOf(Ie,Oe.length)),value:void 0,key:void 0,index:void 0};let Ge=Oe.trim().replace(ja,"").trim();const gt=Oe.indexOf(Ge),ii=Ge.match(bo);if(ii){Ge=Ge.replace(bo,"").trim();const ei=ii[1].trim();let _i;if(ei&&(_i=re.indexOf(ei,gt+Ge.length),Re.key=fa(R,ei,_i)),ii[2]){const Bi=ii[2].trim();Bi&&(Re.index=fa(R,Bi,re.indexOf(Bi,Re.key?_i+ei.length:gt+Ge.length)))}}return Ge&&(Re.value=fa(R,Ge,gt)),Re}function fa(l,x,R){return Ft(x,!1,er(l,R,x.length))}function Ua({value:l,key:x,index:R},re=[]){return ms([l,x,R,...re])}function ms(l){let x=l.length;for(;x--&&!l[x];);return l.slice(0,x+1).map((R,re)=>R||Ft("_".repeat(re+1),!1))}const Ha=Ft("undefined",!1),Aa=(l,x)=>{if(l.type===1&&(l.tagType===1||l.tagType===3)){const R=fr(l,"slot");if(R)return R.exp,x.scopes.vSlot++,()=>{x.scopes.vSlot--}}},Bn=(l,x)=>{let R;if(hn(l)&&l.props.some(Di)&&(R=fr(l,"for"))){const re=R.parseResult=Ja(R.exp,x);if(re){const{value:Ce,key:Oe,index:Ie}=re,{addIdentifiers:Re,removeIdentifiers:Ge}=x;return Ce&&Re(Ce),Oe&&Re(Oe),Ie&&Re(Ie),()=>{Ce&&Ge(Ce),Oe&&Ge(Oe),Ie&&Ge(Ie)}}}},Qa=(l,x,R)=>ee(l,x,!1,!0,x.length?x[0].loc:R);function Pa(l,x,R=Qa){x.helper($);const{children:re,loc:Ce}=l,Oe=[],Ie=[];let Re=x.scopes.vSlot>0||x.scopes.vFor>0;const Ge=fr(l,"slot",!0);if(Ge){const{arg:jn,exp:Tn}=Ge;jn&&!An(jn)&&(Re=!0),Oe.push(zi(jn||Ft("default",!0),R(Tn,re,Ce)))}let gt=!1,ii=!1;const ei=[],_i=new Set;let Bi=0;for(let jn=0;jn<re.length;jn++){const Tn=re[jn];let zn;if(!hn(Tn)||!(zn=fr(Tn,"slot",!0))){Tn.type!==3&&ei.push(Tn);continue}if(Ge){x.onError(et(37,zn.loc));break}gt=!0;const{children:va,loc:Po}=Tn,{arg:na=Ft("default",!0),exp:Do,loc:yr}=zn;let yn;An(na)?yn=na?na.content:"default":Re=!0;const Wn=R(Do,va,Po);let Rr,Fn,ur;if(Rr=fr(Tn,"if"))Re=!0,Ie.push(He(Rr.exp,ao(na,Wn,Bi++),Ha));else if(Fn=fr(Tn,/^else(-if)?$/,!0)){let Er=jn,ra;for(;Er--&&(ra=re[Er],ra.type===3););if(ra&&hn(ra)&&fr(ra,"if")){re.splice(jn,1),jn--;let xa=Ie[Ie.length-1];for(;xa.alternate.type===19;)xa=xa.alternate;xa.alternate=Fn.exp?He(Fn.exp,ao(na,Wn,Bi++),Ha):ao(na,Wn,Bi++)}else x.onError(et(30,Fn.loc))}else if(ur=fr(Tn,"for")){Re=!0;const Er=ur.parseResult||Ja(ur.exp,x);Er?Ie.push(E(x.helper(ce),[Er.source,ee(Ua(Er),ao(na,Wn),!0)])):x.onError(et(32,ur.loc))}else{if(yn){if(_i.has(yn)){x.onError(et(38,yr));continue}_i.add(yn),yn==="default"&&(ii=!0)}Oe.push(zi(na,Wn))}}if(!Ge){const jn=(Tn,zn)=>{const va=R(Tn,zn,Ce);return x.compatConfig&&(va.isNonScopedSlot=!0),zi("default",va)};gt?ei.length&&ei.some(Tn=>Fa(Tn))&&(ii?x.onError(et(39,ei[0].loc)):Oe.push(jn(void 0,ei))):Oe.push(jn(void 0,re))}const dn=Re?2:Ko(l.children)?3:1;let vn=pn(Oe.concat(zi("_",Ft(dn+"",!1))),Ce);return Ie.length&&(vn=E(x.helper(ke),[vn,Gi(Ie)])),{slots:vn,hasDynamicSlots:Re}}function ao(l,x,R){const re=[zi("name",l),zi("fn",x)];return R!=null&&re.push(zi("key",Ft(String(R),!0))),pn(re)}function Ko(l){for(let x=0;x<l.length;x++){const R=l[x];switch(R.type){case 1:if(R.tagType===2||Ko(R.children))return!0;break;case 9:if(Ko(R.branches))return!0;break;case 10:case 11:if(Ko(R.children))return!0;break}}return!1}function Fa(l){return l.type!==2&&l.type!==12?!0:l.type===2?!!l.content.trim():Fa(l.content)}const ea=new WeakMap,ls=(l,x)=>function(){if(l=x.currentNode,!(l.type===1&&(l.tagType===0||l.tagType===1)))return;const{tag:re,props:Ce}=l,Oe=l.tagType===1;let Ie=Oe?_o(l,x):`"${re}"`;const Re=(0,A.isObject)(Ie)&&Ie.callee===we;let Ge,gt,ii,ei=0,_i,Bi,dn,vn=Re||Ie===d||Ie===N||!Oe&&(re==="svg"||re==="foreignObject");if(Ce.length>0){const jn=Na(l,x,void 0,Oe,Re);Ge=jn.props,ei=jn.patchFlag,Bi=jn.dynamicPropNames;const Tn=jn.directives;dn=Tn&&Tn.length?Gi(Tn.map(zn=>Yo(zn,x))):void 0,jn.shouldUseBlock&&(vn=!0)}if(l.children.length>0)if(Ie===L&&(vn=!0,ei|=1024),Oe&&Ie!==d&&Ie!==L){const{slots:Tn,hasDynamicSlots:zn}=Pa(l,x);gt=Tn,zn&&(ei|=1024)}else if(l.children.length===1&&Ie!==d){const Tn=l.children[0],zn=Tn.type,va=zn===5||zn===8;va&&cr(Tn,x)===0&&(ei|=1),va||zn===2?gt=Tn:gt=l.children}else gt=l.children;ei!==0&&(ii=String(ei),Bi&&Bi.length&&(_i=Eo(Bi))),l.codegenNode=Ki(x,Ie,Ge,gt,ii,_i,dn,!!vn,!1,Oe,l.loc)};function _o(l,x,R=!1){let{tag:re}=l;const Ce=$a(re),Oe=_a(l,"is");if(Oe)if(Ce||jr("COMPILER_IS_ON_ELEMENT",x)){const Ge=Oe.type===6?Oe.value&&Ft(Oe.value.content,!0):Oe.exp;if(Ge)return E(x.helper(we),[Ge])}else Oe.type===6&&Oe.value.content.startsWith("vue:")&&(re=Oe.value.content.slice(4));const Ie=!Ce&&fr(l,"is");if(Ie&&Ie.exp)return E(x.helper(we),[Ie.exp]);const Re=Ei(re)||x.isBuiltInComponent(re);return Re?(R||x.helper(Re),Re):(x.helper(be),x.components.add(re),wr(re,"component"))}function Na(l,x,R=l.props,re,Ce,Oe=!1){const{tag:Ie,loc:Re,children:Ge}=l;let gt=[];const ii=[],ei=[],_i=Ge.length>0;let Bi=!1,dn=0,vn=!1,jn=!1,Tn=!1,zn=!1,va=!1,Po=!1;const na=[],Do=Wn=>{gt.length&&(ii.push(pn(Bo(gt),Re)),gt=[]),Wn&&ii.push(Wn)},yr=({key:Wn,value:Rr})=>{if(An(Wn)){const Fn=Wn.content,ur=(0,A.isOn)(Fn);if(ur&&(!re||Ce)&&Fn.toLowerCase()!=="onclick"&&Fn!=="onUpdate:modelValue"&&!(0,A.isReservedProp)(Fn)&&(zn=!0),ur&&(0,A.isReservedProp)(Fn)&&(Po=!0),Rr.type===20||(Rr.type===4||Rr.type===8)&&cr(Rr,x)>0)return;Fn==="ref"?vn=!0:Fn==="class"?jn=!0:Fn==="style"?Tn=!0:Fn!=="key"&&!na.includes(Fn)&&na.push(Fn),re&&(Fn==="class"||Fn==="style")&&!na.includes(Fn)&&na.push(Fn)}else va=!0};for(let Wn=0;Wn<R.length;Wn++){const Rr=R[Wn];if(Rr.type===6){const{loc:Fn,name:ur,value:Er}=Rr;let ra=!0;if(ur==="ref"&&(vn=!0,x.scopes.vFor>0&>.push(zi(Ft("ref_for",!0),Ft("true")))),ur==="is"&&($a(Ie)||Er&&Er.content.startsWith("vue:")||jr("COMPILER_IS_ON_ELEMENT",x)))continue;gt.push(zi(Ft(ur,!0,er(Fn,0,ur.length)),Ft(Er?Er.content:"",ra,Er?Er.loc:Fn)))}else{const{name:Fn,arg:ur,exp:Er,loc:ra}=Rr,xa=Fn==="bind",Es=Fn==="on";if(Fn==="slot"){re||x.onError(et(40,ra));continue}if(Fn==="once"||Fn==="memo"||Fn==="is"||xa&&mt(ur,"is")&&($a(Ie)||jr("COMPILER_IS_ON_ELEMENT",x))||Es&&Oe)continue;if((xa&&mt(ur,"key")||Es&&_i&&mt(ur,"vue:before-update"))&&(Bi=!0),xa&&mt(ur,"ref")&&x.scopes.vFor>0&>.push(zi(Ft("ref_for",!0),Ft("true"))),!ur&&(xa||Es)){if(va=!0,Er)if(xa){if(Do(),jr("COMPILER_V_BIND_OBJECT_ORDER",x)){ii.unshift(Er);continue}ii.push(Er)}else Do({type:14,loc:ra,callee:x.helper(Z),arguments:re?[Er]:[Er,"true"]});else x.onError(et(xa?34:35,ra));continue}const us=x.directiveTransforms[Fn];if(us){const{props:So,needRuntime:hs}=us(Rr,l,x);!Oe&&So.forEach(yr),Es&&ur&&!An(ur)?Do(pn(So,Re)):gt.push(...So),hs&&(ei.push(Rr),(0,A.isSymbol)(hs)&&ea.set(Rr,hs))}else(0,A.isBuiltInDirective)(Fn)||(ei.push(Rr),_i&&(Bi=!0))}}let yn;if(ii.length?(Do(),ii.length>1?yn=E(x.helper(pe),ii,Re):yn=ii[0]):gt.length&&(yn=pn(Bo(gt),Re)),va?dn|=16:(jn&&!re&&(dn|=2),Tn&&!re&&(dn|=4),na.length&&(dn|=8),zn&&(dn|=32)),!Bi&&(dn===0||dn===32)&&(vn||Po||ei.length>0)&&(dn|=512),!x.inSSR&&yn)switch(yn.type){case 15:let Wn=-1,Rr=-1,Fn=!1;for(let ra=0;ra<yn.properties.length;ra++){const xa=yn.properties[ra].key;An(xa)?xa.content==="class"?Wn=ra:xa.content==="style"&&(Rr=ra):xa.isHandlerKey||(Fn=!0)}const ur=yn.properties[Wn],Er=yn.properties[Rr];Fn?yn=E(x.helper(F),[yn]):(ur&&!An(ur.value)&&(ur.value=E(x.helper(We),[ur.value])),Er&&(Tn||Er.value.type===4&&Er.value.content.trim()[0]==="["||Er.value.type===17)&&(Er.value=E(x.helper(I),[Er.value])));break;case 14:break;default:yn=E(x.helper(F),[E(x.helper(M),[yn])]);break}return{props:yn,directives:ei,patchFlag:dn,dynamicPropNames:na,shouldUseBlock:Bi}}function Bo(l){const x=new Map,R=[];for(let re=0;re<l.length;re++){const Ce=l[re];if(Ce.key.type===8||!Ce.key.isStatic){R.push(Ce);continue}const Oe=Ce.key.content,Ie=x.get(Oe);Ie?(Oe==="style"||Oe==="class"||(0,A.isOn)(Oe))&&Ur(Ie,Ce):(x.set(Oe,Ce),R.push(Ce))}return R}function Ur(l,x){l.value.type===17?l.value.elements.push(x.value):l.value=Gi([l.value,x.value],l.loc)}function Yo(l,x){const R=[],re=ea.get(l);re?R.push(x.helperString(re)):(x.helper(Te),x.directives.add(l.name),R.push(wr(l.name,"directive")));const{loc:Ce}=l;if(l.exp&&R.push(l.exp),l.arg&&(l.exp||R.push("void 0"),R.push(l.arg)),Object.keys(l.modifiers).length){l.arg||(l.exp||R.push("void 0"),R.push("void 0"));const Oe=Ft("true",!1,Ce);R.push(pn(l.modifiers.map(Ie=>zi(Ie,Oe)),Ce))}return Gi(R,l.loc)}function Eo(l){let x="[";for(let R=0,re=l.length;R<re;R++)x+=JSON.stringify(l[R]),R<re-1&&(x+=", ");return x+"]"}function $a(l){return l==="component"||l==="Component"}const oo=l=>{const x=Object.create(null);return R=>x[R]||(x[R]=l(R))},Ps=/-(\w)/g,ta=oo(l=>l.replace(Ps,(x,R)=>R?R.toUpperCase():"")),Da=(l,x)=>{if(En(l)){const{children:R,loc:re}=l,{slotName:Ce,slotProps:Oe}=vr(l,x),Ie=[x.prefixIdentifiers?"_ctx.$slots":"$slots",Ce,"{}","undefined","true"];let Re=2;Oe&&(Ie[2]=Oe,Re=3),R.length&&(Ie[3]=ee([],R,!1,!1,re),Re=4),x.scopeId&&!x.slotted&&(Re=5),Ie.splice(Re),l.codegenNode=E(x.helper(De),Ie,re)}};function vr(l,x){let R='"default"',re;const Ce=[];for(let Oe=0;Oe<l.props.length;Oe++){const Ie=l.props[Oe];Ie.type===6?Ie.value&&(Ie.name==="name"?R=JSON.stringify(Ie.value.content):(Ie.name=ta(Ie.name),Ce.push(Ie))):Ie.name==="bind"&&mt(Ie.arg,"name")?Ie.exp&&(R=Ie.exp):(Ie.name==="bind"&&Ie.arg&&An(Ie.arg)&&(Ie.arg.content=ta(Ie.arg.content)),Ce.push(Ie))}if(Ce.length>0){const{props:Oe,directives:Ie}=Na(l,x,Ce,!1,!1);re=Oe,Ie.length&&x.onError(et(36,Ie[0].loc))}return{slotName:R,slotProps:re}}const Hr=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,Oo=(l,x,R,re)=>{const{loc:Ce,modifiers:Oe,arg:Ie}=l;!l.exp&&!Oe.length&&R.onError(et(35,Ce));let Re;if(Ie.type===4)if(Ie.isStatic){let ei=Ie.content;ei.startsWith("vue:")&&(ei=`vnode-${ei.slice(4)}`);const _i=x.tagType===1||ei.startsWith("vnode")||!/[A-Z]/.test(ei)?(0,A.toHandlerKey)((0,A.camelize)(ei)):`on:${ei}`;Re=Ft(_i,!0,Ie.loc)}else Re=h([`${R.helperString(ot)}(`,Ie,")"]);else Re=Ie,Re.children.unshift(`${R.helperString(ot)}(`),Re.children.push(")");let Ge=l.exp;Ge&&!Ge.content.trim()&&(Ge=void 0);let gt=R.cacheHandlers&&!Ge&&!R.inVOnce;if(Ge){const ei=un(Ge.content),_i=!(ei||Hr.test(Ge.content)),Bi=Ge.content.includes(";");(_i||gt&&ei)&&(Ge=h([`${_i?"$event":"(...args)"} => ${Bi?"{":"("}`,Ge,Bi?"}":")"]))}let ii={props:[zi(Re,Ge||Ft("() => {}",!1,Ce))]};return re&&(ii=re(ii)),gt&&(ii.props[0].value=R.cache(ii.props[0].value)),ii.props.forEach(ei=>ei.key.isHandlerKey=!0),ii},Go=(l,x,R)=>{const{exp:re,modifiers:Ce,loc:Oe}=l,Ie=l.arg;return Ie.type!==4?(Ie.children.unshift("("),Ie.children.push(') || ""')):Ie.isStatic||(Ie.content=`${Ie.content} || ""`),Ce.includes("camel")&&(Ie.type===4?Ie.isStatic?Ie.content=(0,A.camelize)(Ie.content):Ie.content=`${R.helperString(Pe)}(${Ie.content})`:(Ie.children.unshift(`${R.helperString(Pe)}(`),Ie.children.push(")"))),R.inSSR||(Ce.includes("prop")&&Za(Ie,"."),Ce.includes("attr")&&Za(Ie,"^")),!re||re.type===4&&!re.content.trim()?(R.onError(et(34,Oe)),{props:[zi(Ie,Ft("",!0,Oe))]}):{props:[zi(Ie,re)]}},Za=(l,x)=>{l.type===4?l.isStatic?l.content=x+l.content:l.content=`\`${x}\${${l.content}}\``:(l.children.unshift(`'${x}' + (`),l.children.push(")"))},Xn=(l,x)=>{if(l.type===0||l.type===1||l.type===11||l.type===10)return()=>{const R=l.children;let re,Ce=!1;for(let Oe=0;Oe<R.length;Oe++){const Ie=R[Oe];if(ai(Ie)){Ce=!0;for(let Re=Oe+1;Re<R.length;Re++){const Ge=R[Re];if(ai(Ge))re||(re=R[Oe]=h([Ie],Ie.loc)),re.children.push(" + ",Ge),R.splice(Re,1),Re--;else{re=void 0;break}}}}if(!(!Ce||R.length===1&&(l.type===0||l.type===1&&l.tagType===0&&!l.props.find(Oe=>Oe.type===7&&!x.directiveTransforms[Oe.name])&&l.tag!=="template")))for(let Oe=0;Oe<R.length;Oe++){const Ie=R[Oe];if(ai(Ie)||Ie.type===8){const Re=[];(Ie.type!==2||Ie.content!==" ")&&Re.push(Ie),!x.ssr&&cr(Ie,x)===0&&Re.push(1+""),R[Oe]={type:12,content:Ie,loc:Ie.loc,codegenNode:E(x.helper(ge),Re)}}}}},wo=new WeakSet,La=(l,x)=>{if(l.type===1&&fr(l,"once",!0))return wo.has(l)||x.inVOnce?void 0:(wo.add(l),x.inVOnce=!0,x.helper(ne),()=>{x.inVOnce=!1;const R=x.currentNode;R.codegenNode&&(R.codegenNode=x.cache(R.codegenNode,!0))})},Wr=(l,x,R)=>{const{exp:re,arg:Ce}=l;if(!re)return R.onError(et(41,l.loc)),jo();const Oe=re.loc.source,Ie=re.type===4?re.content:Oe;R.bindingMetadata[Oe];const Re=!1;if(!Ie.trim()||!un(Ie)&&!Re)return R.onError(et(42,re.loc)),jo();const Ge=Ce||Ft("modelValue",!0),gt=Ce?An(Ce)?`onUpdate:${Ce.content}`:h(['"onUpdate:" + ',Ce]):"onUpdate:modelValue";let ii;const ei=R.isTS?"($event: any)":"$event";ii=h([`${ei} => ((`,re,") = $event)"]);const _i=[zi(Ge,l.exp),zi(gt,ii)];if(l.modifiers.length&&x.tagType===1){const Bi=l.modifiers.map(vn=>(Yn(vn)?vn:JSON.stringify(vn))+": true").join(", "),dn=Ce?An(Ce)?`${Ce.content}Modifiers`:h([Ce,' + "Modifiers"']):"modelModifiers";_i.push(zi(dn,Ft(`{ ${Bi} }`,!1,l.loc,2)))}return jo(_i)};function jo(l=[]){return{props:l}}const ha=/[\w).+\-_$\]]/,Ts=(l,x)=>{!jr("COMPILER_FILTER",x)||(l.type===5&&ko(l.content,x),l.type===1&&l.props.forEach(R=>{R.type===7&&R.name!=="for"&&R.exp&&ko(R.exp,x)}))};function ko(l,x){if(l.type===4)cs(l,x);else for(let R=0;R<l.children.length;R++){const re=l.children[R];typeof re=="object"&&(re.type===4?cs(re,x):re.type===8?ko(l,x):re.type===5&&ko(re.content,x))}}function cs(l,x){const R=l.content;let re=!1,Ce=!1,Oe=!1,Ie=!1,Re=0,Ge=0,gt=0,ii=0,ei,_i,Bi,dn,vn=[];for(Bi=0;Bi<R.length;Bi++)if(_i=ei,ei=R.charCodeAt(Bi),re)ei===39&&_i!==92&&(re=!1);else if(Ce)ei===34&&_i!==92&&(Ce=!1);else if(Oe)ei===96&&_i!==92&&(Oe=!1);else if(Ie)ei===47&&_i!==92&&(Ie=!1);else if(ei===124&&R.charCodeAt(Bi+1)!==124&&R.charCodeAt(Bi-1)!==124&&!Re&&!Ge&&!gt)dn===void 0?(ii=Bi+1,dn=R.slice(0,Bi).trim()):jn();else{switch(ei){case 34:Ce=!0;break;case 39:re=!0;break;case 96:Oe=!0;break;case 40:gt++;break;case 41:gt--;break;case 91:Ge++;break;case 93:Ge--;break;case 123:Re++;break;case 125:Re--;break}if(ei===47){let Tn=Bi-1,zn;for(;Tn>=0&&(zn=R.charAt(Tn),zn===" ");Tn--);(!zn||!ha.test(zn))&&(Ie=!0)}}dn===void 0?dn=R.slice(0,Bi).trim():ii!==0&&jn();function jn(){vn.push(R.slice(ii,Bi).trim()),ii=Bi+1}if(vn.length){for(Bi=0;Bi<vn.length;Bi++)dn=xo(dn,vn[Bi],x);l.content=dn}}function xo(l,x,R){R.helper(J);const re=x.indexOf("(");if(re<0)return R.filters.add(x),`${wr(x,"filter")}(${l})`;{const Ce=x.slice(0,re),Oe=x.slice(re+1);return R.filters.add(Ce),`${wr(Ce,"filter")}(${l}${Oe!==")"?","+Oe:Oe}`}}const Zn=new WeakSet,za=(l,x)=>{if(l.type===1){const R=fr(l,"memo");return!R||Zn.has(l)?void 0:(Zn.add(l),()=>{const re=l.codegenNode||x.currentNode.codegenNode;re&&re.type===13&&(l.tagType!==1&&lr(re,x),l.codegenNode=E(x.helper(St),[R.exp,ee(void 0,re),"_cache",String(x.cached++)]))})}};function Nr(l){return[[La,Gr,za,Zr,Ts,Da,ls,Aa,Xn],{on:Oo,bind:Go,model:Wr}]}function eo(l,x={}){const R=x.onError||g,re=x.mode==="module";x.prefixIdentifiers===!0?R(et(46)):re&&R(et(47));const Ce=!1;x.cacheHandlers&&R(et(48)),x.scopeId&&!re&&R(et(49));const Oe=(0,A.isString)(l)?pa(l,x):l,[Ie,Re]=Nr();return Ho(Oe,(0,A.extend)({},x,{prefixIdentifiers:Ce,nodeTransforms:[...Ie,...x.nodeTransforms||[]],directiveTransforms:(0,A.extend)({},Re,x.directiveTransforms||{})})),no(Oe,(0,A.extend)({},x,{prefixIdentifiers:Ce}))}const Wa=()=>({props:[]}),xr=Symbol(""),so=Symbol(""),lo=Symbol(""),co=Symbol(""),Xo=Symbol(""),_e=Symbol(""),$e=Symbol(""),it=Symbol(""),Rt=Symbol(""),nt=Symbol("");ui({[xr]:"vModelRadio",[so]:"vModelCheckbox",[lo]:"vModelText",[co]:"vModelSelect",[Xo]:"vModelDynamic",[_e]:"withModifiers",[$e]:"withKeys",[it]:"vShow",[Rt]:"Transition",[nt]:"TransitionGroup"});let Ut;function Zt(l,x=!1){return Ut||(Ut=document.createElement("div")),x?(Ut.innerHTML=`<div foo="${l.replace(/"/g,""")}">`,Ut.children[0].getAttribute("foo")):(Ut.innerHTML=l,Ut.textContent)}const bi=(0,A.makeMap)("style,iframe,script,noscript",!0),ji={isVoidTag:A.isVoidTag,isNativeTag:l=>(0,A.isHTMLTag)(l)||(0,A.isSVGTag)(l),isPreTag:l=>l==="pre",decodeEntities:Zt,isBuiltInComponent:l=>{if(Pn(l,"Transition"))return Rt;if(Pn(l,"TransitionGroup"))return nt},getNamespace(l,x){let R=x?x.ns:0;if(x&&R===2)if(x.tag==="annotation-xml"){if(l==="svg")return 1;x.props.some(re=>re.type===6&&re.name==="encoding"&&re.value!=null&&(re.value.content==="text/html"||re.value.content==="application/xhtml+xml"))&&(R=0)}else/^m(?:[ions]|text)$/.test(x.tag)&&l!=="mglyph"&&l!=="malignmark"&&(R=0);else x&&R===1&&(x.tag==="foreignObject"||x.tag==="desc"||x.tag==="title")&&(R=0);if(R===0){if(l==="svg")return 1;if(l==="math")return 2}return R},getTextMode({tag:l,ns:x}){if(x===0){if(l==="textarea"||l==="title")return 1;if(bi(l))return 2}return 0}},fn=l=>{l.type===1&&l.props.forEach((x,R)=>{x.type===6&&x.name==="style"&&x.value&&(l.props[R]={type:7,name:"bind",arg:Ft("style",!0,x.loc),exp:sn(x.value.content,x.loc),modifiers:[],loc:x.loc})})},sn=(l,x)=>{const R=(0,A.parseStringStyle)(l);return Ft(JSON.stringify(R),!1,x,3)};function Yi(l,x){return et(l,x,void 0)}const Zi={[50]:"v-html is missing expression.",[51]:"v-html will override element children.",[52]:"v-text is missing expression.",[53]:"v-text will override element children.",[54]:"v-model can only be used on <input>, <textarea> and <select> elements.",[55]:"v-model argument is not supported on plain elements.",[56]:"v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.",[57]:"Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.",[58]:"v-show is missing expression.",[59]:"<Transition> expects exactly one child element or component.",[60]:"Tags with side effect (<script> and <style>) are ignored in client component templates."},dr=(l,x,R)=>{const{exp:re,loc:Ce}=l;return re||R.onError(Yi(50,Ce)),x.children.length&&(R.onError(Yi(51,Ce)),x.children.length=0),{props:[zi(Ft("innerHTML",!0,Ce),re||Ft("",!0))]}},ln=(l,x,R)=>{const{exp:re,loc:Ce}=l;return re||R.onError(Yi(52,Ce)),x.children.length&&(R.onError(Yi(53,Ce)),x.children.length=0),{props:[zi(Ft("textContent",!0),re?cr(re,R)>0?re:E(R.helperString(le),[re],Ce):Ft("",!0))]}},Ln=(l,x,R)=>{const re=Wr(l,x,R);if(!re.props.length||x.tagType===1)return re;l.arg&&R.onError(Yi(55,l.arg.loc));function Ce(){const Re=_a(x,"value");Re&&R.onError(Yi(57,Re.loc))}const{tag:Oe}=x,Ie=R.isCustomElement(Oe);if(Oe==="input"||Oe==="textarea"||Oe==="select"||Ie){let Re=lo,Ge=!1;if(Oe==="input"||Ie){const gt=_a(x,"type");if(gt){if(gt.type===7)Re=Xo;else if(gt.value)switch(gt.value.content){case"radio":Re=xr;break;case"checkbox":Re=so;break;case"file":Ge=!0,R.onError(Yi(56,l.loc));break;default:break}}else Vt(x)&&(Re=Xo)}else Oe==="select"&&(Re=co);Ge||(re.needRuntime=R.helper(Re))}else R.onError(Yi(54,l.loc));return re.props=re.props.filter(Re=>!(Re.key.type===4&&Re.key.content==="modelValue")),re},Lr=(0,A.makeMap)("passive,once,capture"),ia=(0,A.makeMap)("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Jn=(0,A.makeMap)("left,right"),uo=(0,A.makeMap)("onkeyup,onkeydown,onkeypress",!0),qr=(l,x,R,re)=>{const Ce=[],Oe=[],Ie=[];for(let Re=0;Re<x.length;Re++){const Ge=x[Re];Ge==="native"&&la("COMPILER_V_ON_NATIVE",R,re)||Lr(Ge)?Ie.push(Ge):Jn(Ge)?An(l)?uo(l.content)?Ce.push(Ge):Oe.push(Ge):(Ce.push(Ge),Oe.push(Ge)):ia(Ge)?Oe.push(Ge):Ce.push(Ge)}return{keyModifiers:Ce,nonKeyModifiers:Oe,eventOptionModifiers:Ie}},pr=(l,x)=>An(l)&&l.content.toLowerCase()==="onclick"?Ft(x,!0):l.type!==4?h(["(",l,`) === "onClick" ? "${x}" : (`,l,")"]):l,Ao=(l,x,R)=>Oo(l,x,R,re=>{const{modifiers:Ce}=l;if(!Ce.length)return re;let{key:Oe,value:Ie}=re.props[0];const{keyModifiers:Re,nonKeyModifiers:Ge,eventOptionModifiers:gt}=qr(Oe,Ce,R,l.loc);if(Ge.includes("right")&&(Oe=pr(Oe,"onContextmenu")),Ge.includes("middle")&&(Oe=pr(Oe,"onMouseup")),Ge.length&&(Ie=E(R.helper(_e),[Ie,JSON.stringify(Ge)])),Re.length&&(!An(Oe)||uo(Oe.content))&&(Ie=E(R.helper($e),[Ie,JSON.stringify(Re)])),gt.length){const ii=gt.map(A.capitalize).join("");Oe=An(Oe)?Ft(`${Oe.content}${ii}`,!0):h(["(",Oe,`) + "${ii}"`])}return{props:[zi(Oe,Ie)]}}),Vo=(l,x,R)=>{const{exp:re,loc:Ce}=l;return re||R.onError(Yi(58,Ce)),{props:[],needRuntime:R.helper(it)}},ga=(l,x)=>{if(l.type===1&&l.tagType===1&&x.isBuiltInComponent(l.tag)===Rt)return()=>{if(!l.children.length)return;Jo(l)&&x.onError(Yi(59,{start:l.children[0].loc.start,end:l.children[l.children.length-1].loc.end,source:""}));const re=l.children[0];if(re.type===1)for(const Ce of re.props)Ce.type===7&&Ce.name==="show"&&l.props.push({type:6,name:"persisted",value:void 0,loc:l.loc})}};function Jo(l){const x=l.children=l.children.filter(re=>re.type!==3&&!(re.type===2&&!re.content.trim())),R=x[0];return x.length!==1||R.type===11||R.type===9&&R.branches.some(Jo)}const Js=(l,x)=>{l.type===1&&l.tagType===0&&(l.tag==="script"||l.tag==="style")&&(x.onError(Yi(60,l.loc)),x.removeNode())},Ds=[fn],Xr={cloak:Wa,html:dr,text:ln,model:Ln,on:Ao,show:Vo};function Qo(l,x={}){return eo(l,(0,A.extend)({},ji,x,{nodeTransforms:[Js,...Ds,...x.nodeTransforms||[]],directiveTransforms:(0,A.extend)({},Xr,x.directiveTransforms||{}),transformHoist:null}))}function da(l,x={}){return pa(l,(0,A.extend)({},ji,x))}},"./node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js":function(v,yt,At){"use strict";At.d(yt,{$y:function(){return In},B:function(){return z},BK:function(){return Be},Bj:function(){return et},EB:function(){return N},Fl:function(){return Ni},IU:function(){return Qi},Jd:function(){return le},OT:function(){return ai},PG:function(){return En},SU:function(){return Ca},Um:function(){return Vt},Vh:function(){return Lt},WL:function(){return pa},X$:function(){return M},X3:function(){return tr},XI:function(){return jr},Xl:function(){return Un},YS:function(){return Di},ZM:function(){return ye},cE:function(){return s},dq:function(){return ir},iH:function(){return Ma},j:function(){return I},lk:function(){return We},nZ:function(){return d},oR:function(){return io},qj:function(){return mt},qq:function(){return Te},sT:function(){return ce},yT:function(){return Hn}});var A=At("./node_modules/@vue/shared/dist/shared.esm-bundler.js");function g(Se,...Je){console.warn(`[Vue warn] ${Se}`,...Je)}let me;class et{constructor(Je=!1){this.active=!0,this.effects=[],this.cleanups=[],!Je&&me&&(this.parent=me,this.index=(me.scopes||(me.scopes=[])).push(this)-1)}run(Je){if(this.active){const bt=me;try{return me=this,Je()}finally{me=bt}}}on(){me=this}off(){me=this.parent}stop(Je){if(this.active){let bt,Nt;for(bt=0,Nt=this.effects.length;bt<Nt;bt++)this.effects[bt].stop();for(bt=0,Nt=this.cleanups.length;bt<Nt;bt++)this.cleanups[bt]();if(this.scopes)for(bt=0,Nt=this.scopes.length;bt<Nt;bt++)this.scopes[bt].stop(!0);if(this.parent&&!Je){const Dt=this.parent.scopes.pop();Dt&&Dt!==this&&(this.parent.scopes[this.index]=Dt,Dt.index=this.index)}this.active=!1}}}function z(Se){return new et(Se)}function oe(Se,Je=me){Je&&Je.active&&Je.effects.push(Se)}function d(){return me}function N(Se){me&&me.cleanups.push(Se)}const L=Se=>{const Je=new Set(Se);return Je.w=0,Je.n=0,Je},B=Se=>(Se.w&D)>0,T=Se=>(Se.n&D)>0,H=({deps:Se})=>{if(Se.length)for(let Je=0;Je<Se.length;Je++)Se[Je].w|=D},se=Se=>{const{deps:Je}=Se;if(Je.length){let bt=0;for(let Nt=0;Nt<Je.length;Nt++){const Dt=Je[Nt];B(Dt)&&!T(Dt)?Dt.delete(Se):Je[bt++]=Dt,Dt.w&=~D,Dt.n&=~D}Je.length=bt}},n=new WeakMap;let C=0,D=1;const ge=30;let de;const be=Symbol(""),we=Symbol("");class Te{constructor(Je,bt=null,Nt){this.fn=Je,this.scheduler=bt,this.active=!0,this.deps=[],this.parent=void 0,oe(this,Nt)}run(){if(!this.active)return this.fn();let Je=de,bt=De;for(;Je;){if(Je===this)return;Je=Je.parent}try{return this.parent=de,de=this,De=!0,D=1<<++C,C<=ge?H(this):J(this),this.fn()}finally{C<=ge&&se(this),D=1<<--C,de=this.parent,De=bt,this.parent=void 0,this.deferStop&&this.stop()}}stop(){de===this?this.deferStop=!0:this.active&&(J(this),this.onStop&&this.onStop(),this.active=!1)}}function J(Se){const{deps:Je}=Se;if(Je.length){for(let bt=0;bt<Je.length;bt++)Je[bt].delete(Se);Je.length=0}}function s(Se,Je){Se.effect&&(Se=Se.effect.fn);const bt=new Te(Se);Je&&((0,A.extend)(bt,Je),Je.scope&&oe(bt,Je.scope)),(!Je||!Je.lazy)&&bt.run();const Nt=bt.run.bind(bt);return Nt.effect=bt,Nt}function ce(Se){Se.effect.stop()}let De=!0;const ke=[];function le(){ke.push(De),De=!1}function pe(){ke.push(De),De=!0}function We(){const Se=ke.pop();De=Se===void 0?!0:Se}function I(Se,Je,bt){if(De&&de){let Nt=n.get(Se);Nt||n.set(Se,Nt=new Map);let Dt=Nt.get(bt);Dt||Nt.set(bt,Dt=L()),F(Dt,void 0)}}function F(Se,Je){let bt=!1;C<=ge?T(Se)||(Se.n|=D,bt=!B(Se)):bt=!Se.has(de),bt&&(Se.add(de),de.deps.push(Se))}function M(Se,Je,bt,Nt,Dt,ki){const rn=n.get(Se);if(!rn)return;let Ai=[];if(Je==="clear")Ai=[...rn.values()];else if(bt==="length"&&(0,A.isArray)(Se))rn.forEach((Cr,Ar)=>{(Ar==="length"||Ar>=Nt)&&Ai.push(Cr)});else switch(bt!==void 0&&Ai.push(rn.get(bt)),Je){case"add":(0,A.isArray)(Se)?(0,A.isIntegerKey)(bt)&&Ai.push(rn.get("length")):(Ai.push(rn.get(be)),(0,A.isMap)(Se)&&Ai.push(rn.get(we)));break;case"delete":(0,A.isArray)(Se)||(Ai.push(rn.get(be)),(0,A.isMap)(Se)&&Ai.push(rn.get(we)));break;case"set":(0,A.isMap)(Se)&&Ai.push(rn.get(be));break}const Qr=void 0;if(Ai.length===1)Ai[0]&&Z(Ai[0]);else{const Cr=[];for(const Ar of Ai)Ar&&Cr.push(...Ar);Z(L(Cr))}}function Z(Se,Je){const bt=(0,A.isArray)(Se)?Se:[...Se];for(const Nt of bt)Nt.computed&&Pe(Nt,Je);for(const Nt of bt)Nt.computed||Pe(Nt,Je)}function Pe(Se,Je){(Se!==de||Se.allowRecurse)&&(Se.scheduler?Se.scheduler():Se.run())}const Ke=(0,A.makeMap)("__proto__,__v_isRef,__isVue"),ot=new Set(Object.getOwnPropertyNames(Symbol).filter(Se=>Se!=="arguments"&&Se!=="caller").map(Se=>Symbol[Se]).filter(A.isSymbol)),ne=St(),ae=St(!1,!0),Ve=St(!0),$=St(!0,!0),Ee=tt();function tt(){const Se={};return["includes","indexOf","lastIndexOf"].forEach(Je=>{Se[Je]=function(...bt){const Nt=Qi(this);for(let ki=0,rn=this.length;ki<rn;ki++)I(Nt,"get",ki+"");const Dt=Nt[Je](...bt);return Dt===-1||Dt===!1?Nt[Je](...bt.map(Qi)):Dt}}),["push","pop","shift","unshift","splice"].forEach(Je=>{Se[Je]=function(...bt){le();const Nt=Qi(this)[Je].apply(this,bt);return We(),Nt}}),Se}function St(Se=!1,Je=!1){return function(Nt,Dt,ki){if(Dt==="__v_isReactive")return!Se;if(Dt==="__v_isReadonly")return Se;if(Dt==="__v_isShallow")return Je;if(Dt==="__v_raw"&&ki===(Se?Je?mr:Qn:Je?sa:er).get(Nt))return Nt;const rn=(0,A.isArray)(Nt);if(!Se&&rn&&(0,A.hasOwn)(Ee,Dt))return Reflect.get(Ee,Dt,ki);const Ai=Reflect.get(Nt,Dt,ki);return((0,A.isSymbol)(Dt)?ot.has(Dt):Ke(Dt))||(Se||I(Nt,"get",Dt),Je)?Ai:ir(Ai)?rn&&(0,A.isIntegerKey)(Dt)?Ai:Ai.value:(0,A.isObject)(Ai)?Se?ai(Ai):mt(Ai):Ai}}const pt=ui(),Ot=ui(!0);function ui(Se=!1){return function(bt,Nt,Dt,ki){let rn=bt[Nt];if(In(rn)&&ir(rn)&&!ir(Dt))return!1;if(!Se&&(!Hn(Dt)&&!In(Dt)&&(rn=Qi(rn),Dt=Qi(Dt)),!(0,A.isArray)(bt)&&ir(rn)&&!ir(Dt)))return rn.value=Dt,!0;const Ai=(0,A.isArray)(bt)&&(0,A.isIntegerKey)(Nt)?Number(Nt)<bt.length:(0,A.hasOwn)(bt,Nt),Qr=Reflect.set(bt,Nt,Dt,ki);return bt===Qi(ki)&&(Ai?(0,A.hasChanged)(Dt,rn)&&M(bt,"set",Nt,Dt,rn):M(bt,"add",Nt,Dt)),Qr}}function Qt(Se,Je){const bt=(0,A.hasOwn)(Se,Je),Nt=Se[Je],Dt=Reflect.deleteProperty(Se,Je);return Dt&&bt&&M(Se,"delete",Je,void 0,Nt),Dt}function Ui(Se,Je){const bt=Reflect.has(Se,Je);return(!(0,A.isSymbol)(Je)||!ot.has(Je))&&I(Se,"has",Je),bt}function Ki(Se){return I(Se,"iterate",(0,A.isArray)(Se)?"length":be),Reflect.ownKeys(Se)}const Gi={get:ne,set:pt,deleteProperty:Qt,has:Ui,ownKeys:Ki},pn={get:Ve,set(Se,Je){return!0},deleteProperty(Se,Je){return!0}},zi=(0,A.extend)({},Gi,{get:ae,set:Ot}),Ft=(0,A.extend)({},pn,{get:$}),bn=Se=>Se,h=Se=>Reflect.getPrototypeOf(Se);function E(Se,Je,bt=!1,Nt=!1){Se=Se.__v_raw;const Dt=Qi(Se),ki=Qi(Je);bt||(Je!==ki&&I(Dt,"get",Je),I(Dt,"get",ki));const{has:rn}=h(Dt),Ai=Nt?bn:bt?hr:wr;if(rn.call(Dt,Je))return Ai(Se.get(Je));if(rn.call(Dt,ki))return Ai(Se.get(ki));Se!==Dt&&Se.get(Je)}function ee(Se,Je=!1){const bt=this.__v_raw,Nt=Qi(bt),Dt=Qi(Se);return Je||(Se!==Dt&&I(Nt,"has",Se),I(Nt,"has",Dt)),Se===Dt?bt.has(Se):bt.has(Se)||bt.has(Dt)}function He(Se,Je=!1){return Se=Se.__v_raw,!Je&&I(Qi(Se),"iterate",be),Reflect.get(Se,"size",Se)}function Ue(Se){Se=Qi(Se);const Je=Qi(this);return h(Je).has.call(Je,Se)||(Je.add(Se),M(Je,"add",Se,Se)),this}function at(Se,Je){Je=Qi(Je);const bt=Qi(this),{has:Nt,get:Dt}=h(bt);let ki=Nt.call(bt,Se);ki||(Se=Qi(Se),ki=Nt.call(bt,Se));const rn=Dt.call(bt,Se);return bt.set(Se,Je),ki?(0,A.hasChanged)(Je,rn)&&M(bt,"set",Se,Je,rn):M(bt,"add",Se,Je),this}function K(Se){const Je=Qi(this),{has:bt,get:Nt}=h(Je);let Dt=bt.call(Je,Se);Dt||(Se=Qi(Se),Dt=bt.call(Je,Se));const ki=Nt?Nt.call(Je,Se):void 0,rn=Je.delete(Se);return Dt&&M(Je,"delete",Se,void 0,ki),rn}function Ct(){const Se=Qi(this),Je=Se.size!==0,bt=void 0,Nt=Se.clear();return Je&&M(Se,"clear",void 0,void 0,bt),Nt}function Hi(Se,Je){return function(Nt,Dt){const ki=this,rn=ki.__v_raw,Ai=Qi(rn),Qr=Je?bn:Se?hr:wr;return!Se&&I(Ai,"iterate",be),rn.forEach((Cr,Ar)=>Nt.call(Dt,Qr(Cr),Qr(Ar),ki))}}function Fi(Se,Je,bt){return function(...Nt){const Dt=this.__v_raw,ki=Qi(Dt),rn=(0,A.isMap)(ki),Ai=Se==="entries"||Se===Symbol.iterator&&rn,Qr=Se==="keys"&&rn,Cr=Dt[Se](...Nt),Ar=bt?bn:Je?hr:wr;return!Je&&I(ki,"iterate",Qr?we:be),{next(){const{value:Vr,done:$i}=Cr.next();return $i?{value:Vr,done:$i}:{value:Ai?[Ar(Vr[0]),Ar(Vr[1])]:Ar(Vr),done:$i}},[Symbol.iterator](){return this}}}}function Cn(Se){return function(...Je){return Se==="delete"?!1:this}}function An(){const Se={get(ki){return E(this,ki)},get size(){return He(this)},has:ee,add:Ue,set:at,delete:K,clear:Ct,forEach:Hi(!1,!1)},Je={get(ki){return E(this,ki,!1,!0)},get size(){return He(this)},has:ee,add:Ue,set:at,delete:K,clear:Ct,forEach:Hi(!1,!0)},bt={get(ki){return E(this,ki,!0)},get size(){return He(this,!0)},has(ki){return ee.call(this,ki,!0)},add:Cn("add"),set:Cn("set"),delete:Cn("delete"),clear:Cn("clear"),forEach:Hi(!0,!1)},Nt={get(ki){return E(this,ki,!0,!0)},get size(){return He(this,!0)},has(ki){return ee.call(this,ki,!0)},add:Cn("add"),set:Cn("set"),delete:Cn("delete"),clear:Cn("clear"),forEach:Hi(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(ki=>{Se[ki]=Fi(ki,!1,!1),bt[ki]=Fi(ki,!0,!1),Je[ki]=Fi(ki,!1,!0),Nt[ki]=Fi(ki,!0,!0)}),[Se,bt,Je,Nt]}const[Pn,Ei,Kn,Yn]=An();function ar(Se,Je){const bt=Je?Se?Yn:Kn:Se?Ei:Pn;return(Nt,Dt,ki)=>Dt==="__v_isReactive"?!Se:Dt==="__v_isReadonly"?Se:Dt==="__v_raw"?Nt:Reflect.get((0,A.hasOwn)(bt,Dt)&&Dt in Nt?bt:Nt,Dt,ki)}const Rn={get:ar(!1,!1)},qi={get:ar(!1,!0)},tn={get:ar(!0,!1)},Xi={get:ar(!0,!0)};function un(Se,Je,bt){const Nt=Qi(bt);if(Nt!==bt&&Je.call(Se,Nt)){const Dt=toRawType(Se);console.warn(`Reactive ${Dt} contains both the raw and reactive versions of the same object${Dt==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const er=new WeakMap,sa=new WeakMap,Qn=new WeakMap,mr=new WeakMap;function fr(Se){switch(Se){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function _a(Se){return Se.__v_skip||!Object.isExtensible(Se)?0:fr((0,A.toRawType)(Se))}function mt(Se){return In(Se)?Se:hn(Se,!1,Gi,Rn,er)}function Vt(Se){return hn(Se,!1,zi,qi,sa)}function ai(Se){return hn(Se,!0,pn,tn,Qn)}function Di(Se){return hn(Se,!0,Ft,Xi,mr)}function hn(Se,Je,bt,Nt,Dt){if(!(0,A.isObject)(Se)||Se.__v_raw&&!(Je&&Se.__v_isReactive))return Se;const ki=Dt.get(Se);if(ki)return ki;const rn=_a(Se);if(rn===0)return Se;const Ai=new Proxy(Se,rn===2?Nt:bt);return Dt.set(Se,Ai),Ai}function En(Se){return In(Se)?En(Se.__v_raw):!!(Se&&Se.__v_isReactive)}function In(Se){return!!(Se&&Se.__v_isReadonly)}function Hn(Se){return!!(Se&&Se.__v_isShallow)}function tr(Se){return En(Se)||In(Se)}function Qi(Se){const Je=Se&&Se.__v_raw;return Je?Qi(Je):Se}function Un(Se){return(0,A.def)(Se,"__v_skip",!0),Se}const wr=Se=>(0,A.isObject)(Se)?mt(Se):Se,hr=Se=>(0,A.isObject)(Se)?ai(Se):Se;function gr(Se){De&&de&&(Se=Qi(Se),F(Se.dep||(Se.dep=L())))}function lr(Se,Je){Se=Qi(Se),Se.dep&&Z(Se.dep)}function ir(Se){return!!(Se&&Se.__v_isRef===!0)}function Ma(Se){return la(Se,!1)}function jr(Se){return la(Se,!0)}function la(Se,Je){return ir(Se)?Se:new to(Se,Je)}class to{constructor(Je,bt){this.__v_isShallow=bt,this.dep=void 0,this.__v_isRef=!0,this._rawValue=bt?Je:Qi(Je),this._value=bt?Je:wr(Je)}get value(){return gr(this),this._value}set value(Je){const bt=this.__v_isShallow||Hn(Je)||In(Je);Je=bt?Je:Qi(Je),(0,A.hasChanged)(Je,this._rawValue)&&(this._rawValue=Je,this._value=bt?Je:wr(Je),lr(this,Je))}}function io(Se){lr(Se,void 0)}function Ca(Se){return ir(Se)?Se.value:Se}const Fr={get:(Se,Je,bt)=>Ca(Reflect.get(Se,Je,bt)),set:(Se,Je,bt,Nt)=>{const Dt=Se[Je];return ir(Dt)&&!ir(bt)?(Dt.value=bt,!0):Reflect.set(Se,Je,bt,Nt)}};function pa(Se){return En(Se)?Se:new Proxy(Se,Fr)}class ie{constructor(Je){this.dep=void 0,this.__v_isRef=!0;const{get:bt,set:Nt}=Je(()=>gr(this),()=>lr(this));this._get=bt,this._set=Nt}get value(){return this._get()}set value(Je){this._set(Je)}}function ye(Se){return new ie(Se)}function Be(Se){const Je=(0,A.isArray)(Se)?new Array(Se.length):{};for(const bt in Se)Je[bt]=Lt(Se,bt);return Je}class lt{constructor(Je,bt,Nt){this._object=Je,this._key=bt,this._defaultValue=Nt,this.__v_isRef=!0}get value(){const Je=this._object[this._key];return Je===void 0?this._defaultValue:Je}set value(Je){this._object[this._key]=Je}}function Lt(Se,Je,bt){const Nt=Se[Je];return ir(Nt)?Nt:new lt(Se,Je,bt)}var Jt;class yi{constructor(Je,bt,Nt,Dt){this._setter=bt,this.dep=void 0,this.__v_isRef=!0,this[Jt]=!1,this._dirty=!0,this.effect=new Te(Je,()=>{this._dirty||(this._dirty=!0,lr(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!Dt,this.__v_isReadonly=Nt}get value(){const Je=Qi(this);return gr(Je),(Je._dirty||!Je._cacheable)&&(Je._dirty=!1,Je._value=Je.effect.run()),Je._value}set value(Je){this._setter(Je)}}Jt="__v_isReadonly";function Ni(Se,Je,bt=!1){let Nt,Dt;const ki=(0,A.isFunction)(Se);return ki?(Nt=Se,Dt=A.NOOP):(Nt=Se.get,Dt=Se.set),new yi(Nt,Dt,ki||!Dt,bt)}var Oi;const Ri=null,Li=null;let On=!1;const or=Se=>{Li.push(Se),On||(On=!0,Ri.then(Ta))},Ta=()=>{for(let Se=0;Se<Li.length;Se++)Li[Se]();Li.length=0,On=!1};class kr{constructor(Je){this.dep=void 0,this._dirty=!0,this.__v_isRef=!0,this[Oi]=!0;let bt,Nt=!1,Dt=!1;this.effect=new Te(Je,ki=>{if(this.dep){if(ki)bt=this._value,Nt=!0;else if(!Dt){const rn=Nt?bt:this._value;Dt=!0,Nt=!1,or(()=>{this.effect.active&&this._get()!==rn&&lr(this),Dt=!1})}for(const rn of this.dep)rn.computed instanceof kr&&rn.scheduler(!0)}this._dirty=!0}),this.effect.computed=this}_get(){return this._dirty?(this._dirty=!1,this._value=this.effect.run()):this._value}get value(){return gr(this),Qi(this)._get()}}Oi="__v_isReadonly";function ca(Se){return new kr(Se)}},"./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js":function(v,yt,At){"use strict";At.d(yt,{$d:function(){return n},$y:function(){return A.$y},Ah:function(){return To},B:function(){return A.B},BK:function(){return A.BK},Bj:function(){return A.Bj},Bz:function(){return yn},C3:function(){return Zt},C_:function(){return g.normalizeClass},Cn:function(){return Rn},EB:function(){return A.EB},Eo:function(){return Oo},F4:function(){return ln},FN:function(){return Qo},Fl:function(){return na},G:function(){return cl},HX:function(){return qi},HY:function(){return Zn},Ho:function(){return Ln},IU:function(){return A.IU},JJ:function(){return Ma},Jd:function(){return Co},KU:function(){return se},Ko:function(){return Va},LL:function(){return zo},MW:function(){return yr},MX:function(){return Ks},Mr:function(){return ll},Nv:function(){return Gn},OT:function(){return A.OT},Ob:function(){return Nt},P$:function(){return yi},PG:function(){return A.PG},Q2:function(){return ka},Q6:function(){return or},RC:function(){return ca},Rh:function(){return to},Rr:function(){return Fn},S3:function(){return C},SU:function(){return A.SU},U2:function(){return Oi},Uc:function(){return So},Uk:function(){return ia},Um:function(){return A.Um},Us:function(){return Hr},Vh:function(){return A.Vh},WI:function(){return As},WL:function(){return A.WL},WY:function(){return Wn},Wm:function(){return Zi},X3:function(){return A.X3},XI:function(){return A.XI},Xl:function(){return A.Xl},Xn:function(){return go},Y1:function(){return ii},Y3:function(){return le},Y8:function(){return lt},YP:function(){return Fr},YS:function(){return A.YS},Yq:function(){return Ho},ZK:function(){return oe},ZM:function(){return A.ZM},Zq:function(){return hs},_:function(){return Yi},_A:function(){return g.camelize},aZ:function(){return Ta},b9:function(){return Rr},bT:function(){return Ea},bv:function(){return ua},cE:function(){return A.cE},d1:function(){return xs},dD:function(){return ar},dG:function(){return Vo},dl:function(){return ki},dq:function(){return A.dq},ec:function(){return bn},eq:function(){return bl},f3:function(){return jr},h:function(){return us},hR:function(){return g.toHandlerKey},i8:function(){return fs},iD:function(){return $e},iH:function(){return A.iH},ic:function(){return wa},j4:function(){return it},j5:function(){return g.normalizeStyle},kC:function(){return g.capitalize},kq:function(){return uo},l1:function(){return ur},lA:function(){return Rt},lR:function(){return xo},m0:function(){return la},mW:function(){return Gi},mv:function(){return Es},mx:function(){return Ss},n4:function(){return En},nK:function(){return On},nQ:function(){return Ms},nZ:function(){return A.nZ},oR:function(){return A.oR},of:function(){return ei},p1:function(){return xa},qG:function(){return eo},qZ:function(){return Xo},qb:function(){return M},qj:function(){return A.qj},qq:function(){return A.qq},ry:function(){return gs},sT:function(){return A.sT},se:function(){return rn},sv:function(){return Nr},uE:function(){return Jn},u_:function(){return ra},up:function(){return no},vl:function(){return No},vs:function(){return g.normalizeProps},w5:function(){return tn},wF:function(){return cr},wg:function(){return so},wy:function(){return ds},xv:function(){return za},yT:function(){return A.yT},yX:function(){return io},zw:function(){return g.toDisplayString}});var A=At("./node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js"),g=At("./node_modules/@vue/shared/dist/shared.esm-bundler.js");const me=[];function et(o){me.push(o)}function z(){me.pop()}function oe(o,...y){(0,A.Jd)();const U=me.length?me[me.length-1].component:null,q=U&&U.appContext.config.warnHandler,fe=d();if(q)se(q,U,11,[o+y.join(""),U&&U.proxy,fe.map(({vnode:he})=>`at <${va(U,he.type)}>`).join(`
|
|
`),fe]);else{const he=[`[Vue warn]: ${o}`,...y];fe.length&&he.push(`
|
|
`,...N(fe)),console.warn(...he)}(0,A.lk)()}function d(){let o=me[me.length-1];if(!o)return[];const y=[];for(;o;){const U=y[0];U&&U.vnode===o?U.recurseCount++:y.push({vnode:o,recurseCount:0});const q=o.component&&o.component.parent;o=q&&q.vnode}return y}function N(o){const y=[];return o.forEach((U,q)=>{y.push(...q===0?[]:[`
|
|
`],...L(U))}),y}function L({vnode:o,recurseCount:y}){const U=y>0?`... (${y} recursive calls)`:"",q=o.component?o.component.parent==null:!1,fe=` at <${va(o.component,o.type,q)}`,he=">"+U;return o.props?[fe,...B(o.props),he]:[fe+he]}function B(o){const y=[],U=Object.keys(o);return U.slice(0,3).forEach(q=>{y.push(...T(q,o[q]))}),U.length>3&&y.push(" ..."),y}function T(o,y,U){return(0,g.isString)(y)?(y=JSON.stringify(y),U?y:[`${o}=${y}`]):typeof y=="number"||typeof y=="boolean"||y==null?U?y:[`${o}=${y}`]:(0,A.dq)(y)?(y=T(o,(0,A.IU)(y.value),!0),U?y:[`${o}=Ref<`,y,">"]):(0,g.isFunction)(y)?[`${o}=fn${y.name?`<${y.name}>`:""}`]:(y=(0,A.IU)(y),U?y:[`${o}=`,y])}const H={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",[0]:"setup function",[1]:"render function",[2]:"watcher getter",[3]:"watcher callback",[4]:"watcher cleanup function",[5]:"native event handler",[6]:"component event handler",[7]:"vnode hook",[8]:"directive hook",[9]:"transition hook",[10]:"app errorHandler",[11]:"app warnHandler",[12]:"ref function",[13]:"async component loader",[14]:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core"};function se(o,y,U,q){let fe;try{fe=q?o(...q):o()}catch(he){C(he,y,U)}return fe}function n(o,y,U,q){if((0,g.isFunction)(o)){const he=se(o,y,U,q);return he&&(0,g.isPromise)(he)&&he.catch(Ae=>{C(Ae,y,U)}),he}const fe=[];for(let he=0;he<o.length;he++)fe.push(n(o[he],y,U,q));return fe}function C(o,y,U,q=!0){const fe=y?y.vnode:null;if(y){let he=y.parent;const Ae=y.proxy,Ye=U;for(;he;){const vt=he.ec;if(vt){for(let Wt=0;Wt<vt.length;Wt++)if(vt[Wt](o,Ae,Ye)===!1)return}he=he.parent}const rt=y.appContext.config.errorHandler;if(rt){se(rt,null,10,[o,Ae,Ye]);return}}D(o,U,fe,q)}function D(o,y,U,q=!0){console.error(o)}let ge=!1,de=!1;const be=[];let we=0;const Te=[];let J=null,s=0;const ce=Promise.resolve();let De=null;const ke=100;function le(o){const y=De||ce;return o?y.then(this?o.bind(this):o):y}function pe(o){let y=we+1,U=be.length;for(;y<U;){const q=y+U>>>1;Ke(be[q])<o?y=q+1:U=q}return y}function We(o){(!be.length||!be.includes(o,ge&&o.allowRecurse?we+1:we))&&(o.id==null?be.push(o):be.splice(pe(o.id),0,o),I())}function I(){!ge&&!de&&(de=!0,De=ce.then(ne))}function F(o){const y=be.indexOf(o);y>we&&be.splice(y,1)}function M(o){(0,g.isArray)(o)?Te.push(...o):(!J||!J.includes(o,o.allowRecurse?s+1:s))&&Te.push(o),I()}function Z(o,y=ge?we+1:0){for(;y<be.length;y++){const U=be[y];U&&U.pre&&(be.splice(y,1),y--,U())}}function Pe(o){if(Te.length){const y=[...new Set(Te)];if(Te.length=0,J){J.push(...y);return}for(J=y,J.sort((U,q)=>Ke(U)-Ke(q)),s=0;s<J.length;s++)J[s]();J=null,s=0}}const Ke=o=>o.id==null?1/0:o.id,ot=(o,y)=>{const U=Ke(o)-Ke(y);if(U===0){if(o.pre&&!y.pre)return-1;if(y.pre&&!o.pre)return 1}return U};function ne(o){de=!1,ge=!0,be.sort(ot);const y=g.NOOP;try{for(we=0;we<be.length;we++){const U=be[we];U&&U.active!==!1&&se(U,null,14)}}finally{we=0,be.length=0,Pe(o),ge=!1,De=null,(be.length||Te.length)&&ne(o)}}function ae(o,y){if(!o.has(y))o.set(y,1);else{const U=o.get(y);if(U>ke){const q=y.ownerInstance,fe=q&&zn(q.type);return oe(`Maximum recursive updates exceeded${fe?` in component <${fe}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`),!0}else o.set(y,U+1)}}let Ve=!1;const $=new Set,Ee=new Map;function tt(o){const y=o.type.__hmrId;let U=Ee.get(y);U||(pt(y,o.type),U=Ee.get(y)),U.instances.add(o)}function St(o){Ee.get(o.type.__hmrId).instances.delete(o)}function pt(o,y){return Ee.has(o)?!1:(Ee.set(o,{initialDef:Ot(y),instances:new Set}),!0)}function Ot(o){return Po(o)?o.__vccOpts:o}function ui(o,y){const U=Ee.get(o);!U||(U.initialDef.render=y,[...U.instances].forEach(q=>{y&&(q.render=y,Ot(q.type).render=y),q.renderCache=[],Ve=!0,q.update(),Ve=!1}))}function Qt(o,y){const U=Ee.get(o);if(!U)return;y=Ot(y),Ui(U.initialDef,y);const q=[...U.instances];for(const fe of q){const he=Ot(fe.type);$.has(he)||(he!==U.initialDef&&Ui(he,y),$.add(he)),fe.appContext.optionsCache.delete(fe.type),fe.ceReload?($.add(he),fe.ceReload(y.styles),$.delete(he)):fe.parent?(We(fe.parent.update),fe.parent.type.__asyncLoader&&fe.parent.ceReload&&fe.parent.ceReload(y.styles)):fe.appContext.reload?fe.appContext.reload():typeof window!="undefined"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}M(()=>{for(const fe of q)$.delete(Ot(fe.type))})}function Ui(o,y){extend(o,y);for(const U in o)U!=="__file"&&!(U in y)&&delete o[U]}function Ki(o){return(y,U)=>{try{return o(y,U)}catch(q){console.error(q),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let Gi,pn=[],zi=!1;function Ft(o,...y){Gi?Gi.emit(o,...y):zi||pn.push({event:o,args:y})}function bn(o,y){var U,q;Gi=o,Gi?(Gi.enabled=!0,pn.forEach(({event:fe,args:he})=>Gi.emit(fe,...he)),pn=[]):typeof window!="undefined"&&window.HTMLElement&&!(!((q=(U=window.navigator)===null||U===void 0?void 0:U.userAgent)===null||q===void 0)&&q.includes("jsdom"))?((y.__VUE_DEVTOOLS_HOOK_REPLAY__=y.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(he=>{bn(he,y)}),setTimeout(()=>{Gi||(y.__VUE_DEVTOOLS_HOOK_REPLAY__=null,zi=!0,pn=[])},3e3)):(zi=!0,pn=[])}function h(o,y){Ft("app:init",o,y,{Fragment:Zn,Text:za,Comment:Nr,Static:eo})}function E(o){Ft("app:unmount",o)}const ee=at("component:added"),He=at("component:updated"),Ue=at("component:removed");function at(o){return y=>{Ft(o,y.appContext.app,y.uid,y.parent?y.parent.uid:void 0,y)}}const K=null,Ct=null;function Hi(o){return(y,U,q)=>{Ft(o,y.appContext.app,y.uid,y,U,q)}}function Fi(o,y,U){Ft("component:emit",o.appContext.app,o,y,U)}function Cn(o,y,...U){if(o.isUnmounted)return;const q=o.vnode.props||g.EMPTY_OBJ;let fe=U;const he=y.startsWith("update:"),Ae=he&&y.slice(7);if(Ae&&Ae in q){const Wt=`${Ae==="modelValue"?"model":Ae}Modifiers`,{number:st,trim:Pt}=q[Wt]||g.EMPTY_OBJ;Pt&&(fe=U.map(oi=>oi.trim())),st&&(fe=U.map(g.toNumber))}__VUE_PROD_DEVTOOLS__&&Fi(o,y,fe);let Ye,rt=q[Ye=(0,g.toHandlerKey)(y)]||q[Ye=(0,g.toHandlerKey)((0,g.camelize)(y))];!rt&&he&&(rt=q[Ye=(0,g.toHandlerKey)((0,g.hyphenate)(y))]),rt&&n(rt,o,6,fe);const vt=q[Ye+"Once"];if(vt){if(!o.emitted)o.emitted={};else if(o.emitted[Ye])return;o.emitted[Ye]=!0,n(vt,o,6,fe)}}function An(o,y,U=!1){const q=y.emitsCache,fe=q.get(o);if(fe!==void 0)return fe;const he=o.emits;let Ae={},Ye=!1;if(__VUE_OPTIONS_API__&&!(0,g.isFunction)(o)){const rt=vt=>{const Wt=An(vt,y,!0);Wt&&(Ye=!0,(0,g.extend)(Ae,Wt))};!U&&y.mixins.length&&y.mixins.forEach(rt),o.extends&&rt(o.extends),o.mixins&&o.mixins.forEach(rt)}return!he&&!Ye?((0,g.isObject)(o)&&q.set(o,null),null):((0,g.isArray)(he)?he.forEach(rt=>Ae[rt]=null):(0,g.extend)(Ae,he),(0,g.isObject)(o)&&q.set(o,Ae),Ae)}function Pn(o,y){return!o||!(0,g.isOn)(y)?!1:(y=y.slice(2).replace(/Once$/,""),(0,g.hasOwn)(o,y[0].toLowerCase()+y.slice(1))||(0,g.hasOwn)(o,(0,g.hyphenate)(y))||(0,g.hasOwn)(o,y))}let Ei=null,Kn=null;function Yn(o){const y=Ei;return Ei=o,Kn=o&&o.type.__scopeId||null,y}function ar(o){Kn=o}function Rn(){Kn=null}const qi=o=>tn;function tn(o,y=Ei,U){if(!y||o._n)return o;const q=(...fe)=>{q._d&&Xo(-1);const he=Yn(y),Ae=o(...fe);return Yn(he),q._d&&Xo(1),__VUE_PROD_DEVTOOLS__&&He(y),Ae};return q._n=!0,q._c=!0,q._d=!0,q}let Xi=!1;function un(){Xi=!0}function er(o){const{type:y,vnode:U,proxy:q,withProxy:fe,props:he,propsOptions:[Ae],slots:Ye,attrs:rt,emit:vt,render:Wt,renderCache:st,data:Pt,setupState:oi,ctx:di,inheritAttrs:Pi}=o;let Dn,ti;const ut=Yn(o);try{if(U.shapeFlag&4){const c=fe||q;Dn=qr(Wt.call(c,c,st,he,oi,Pt,di)),ti=rt}else{const c=y;Dn=qr(c.length>1?c(he,{attrs:rt,slots:Ye,emit:vt}):c(he,null)),ti=y.props?rt:mr(rt)}}catch(c){Wa.length=0,C(c,o,1),Dn=Zi(Nr)}let Y=Dn,a;if(ti&&Pi!==!1){const c=Object.keys(ti),{shapeFlag:m}=Y;c.length&&m&7&&(Ae&&c.some(g.isModelListener)&&(ti=fr(ti,Ae)),Y=Ln(Y,ti))}return U.dirs&&(Y=Ln(Y),Y.dirs=Y.dirs?Y.dirs.concat(U.dirs):U.dirs),U.transition&&(Y.transition=U.transition),Dn=Y,Yn(ut),Dn}const sa=o=>{const y=o.children,U=o.dynamicChildren,q=Qn(y);if(!q)return[o,void 0];const fe=y.indexOf(q),he=U?U.indexOf(q):-1,Ae=Ye=>{y[fe]=Ye,U&&(he>-1?U[he]=Ye:Ye.patchFlag>0&&(o.dynamicChildren=[...U,Ye]))};return[qr(q),Ae]};function Qn(o){let y;for(let U=0;U<o.length;U++){const q=o[U];if(Rt(q)){if(q.type!==Nr||q.children==="v-if"){if(y)return;y=q}}else return}return y}const mr=o=>{let y;for(const U in o)(U==="class"||U==="style"||(0,g.isOn)(U))&&((y||(y={}))[U]=o[U]);return y},fr=(o,y)=>{const U={};for(const q in o)(!(0,g.isModelListener)(q)||!(q.slice(9)in y))&&(U[q]=o[q]);return U},_a=o=>o.shapeFlag&7||o.type===Nr;function mt(o,y,U){const{props:q,children:fe,component:he}=o,{props:Ae,children:Ye,patchFlag:rt}=y,vt=he.emitsOptions;if(y.dirs||y.transition)return!0;if(U&&rt>=0){if(rt&1024)return!0;if(rt&16)return q?Vt(q,Ae,vt):!!Ae;if(rt&8){const Wt=y.dynamicProps;for(let st=0;st<Wt.length;st++){const Pt=Wt[st];if(Ae[Pt]!==q[Pt]&&!Pn(vt,Pt))return!0}}}else return(fe||Ye)&&(!Ye||!Ye.$stable)?!0:q===Ae?!1:q?Ae?Vt(q,Ae,vt):!0:!!Ae;return!1}function Vt(o,y,U){const q=Object.keys(y);if(q.length!==Object.keys(o).length)return!0;for(let fe=0;fe<q.length;fe++){const he=q[fe];if(y[he]!==o[he]&&!Pn(U,he))return!0}return!1}function ai({vnode:o,parent:y},U){for(;y&&y.subTree===o;)(o=y.vnode).el=U,y=y.parent}const Di=o=>o.__isSuspense,En={name:"Suspense",__isSuspense:!0,process(o,y,U,q,fe,he,Ae,Ye,rt,vt){o==null?Hn(y,U,q,fe,he,Ae,Ye,rt,vt):tr(o,y,U,q,fe,Ae,Ye,rt,vt)},hydrate:wr,create:Un,normalize:hr};function In(o,y){const U=o.props&&o.props[y];(0,g.isFunction)(U)&&U()}function Hn(o,y,U,q,fe,he,Ae,Ye,rt){const{p:vt,o:{createElement:Wt}}=rt,st=Wt("div"),Pt=o.suspense=Un(o,fe,q,y,st,U,he,Ae,Ye,rt);vt(null,Pt.pendingBranch=o.ssContent,st,null,q,Pt,he,Ae),Pt.deps>0?(In(o,"onPending"),In(o,"onFallback"),vt(null,o.ssFallback,y,U,q,null,he,Ae),ir(Pt,o.ssFallback)):Pt.resolve()}function tr(o,y,U,q,fe,he,Ae,Ye,{p:rt,um:vt,o:{createElement:Wt}}){const st=y.suspense=o.suspense;st.vnode=y,y.el=o.el;const Pt=y.ssContent,oi=y.ssFallback,{activeBranch:di,pendingBranch:Pi,isInFallback:Dn,isHydrating:ti}=st;if(Pi)st.pendingBranch=Pt,nt(Pt,Pi)?(rt(Pi,Pt,st.hiddenContainer,null,fe,st,he,Ae,Ye),st.deps<=0?st.resolve():Dn&&(rt(di,oi,U,q,fe,null,he,Ae,Ye),ir(st,oi))):(st.pendingId++,ti?(st.isHydrating=!1,st.activeBranch=Pi):vt(Pi,fe,st),st.deps=0,st.effects.length=0,st.hiddenContainer=Wt("div"),Dn?(rt(null,Pt,st.hiddenContainer,null,fe,st,he,Ae,Ye),st.deps<=0?st.resolve():(rt(di,oi,U,q,fe,null,he,Ae,Ye),ir(st,oi))):di&&nt(Pt,di)?(rt(di,Pt,U,q,fe,st,he,Ae,Ye),st.resolve(!0)):(rt(null,Pt,st.hiddenContainer,null,fe,st,he,Ae,Ye),st.deps<=0&&st.resolve()));else if(di&&nt(Pt,di))rt(di,Pt,U,q,fe,st,he,Ae,Ye),ir(st,Pt);else if(In(y,"onPending"),st.pendingBranch=Pt,st.pendingId++,rt(null,Pt,st.hiddenContainer,null,fe,st,he,Ae,Ye),st.deps<=0)st.resolve();else{const{timeout:ut,pendingId:Y}=st;ut>0?setTimeout(()=>{st.pendingId===Y&&st.fallback(oi)},ut):ut===0&&st.fallback(oi)}}let Qi=!1;function Un(o,y,U,q,fe,he,Ae,Ye,rt,vt,Wt=!1){const{p:st,m:Pt,um:oi,n:di,o:{parentNode:Pi,remove:Dn}}=vt,ti=(0,g.toNumber)(o.props&&o.props.timeout),ut={vnode:o,parent:y,parentComponent:U,isSVG:Ae,container:q,hiddenContainer:fe,anchor:he,deps:0,pendingId:0,timeout:typeof ti=="number"?ti:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:Wt,isUnmounted:!1,effects:[],resolve(Y=!1){const{vnode:a,activeBranch:c,pendingBranch:m,pendingId:b,effects:k,parentComponent:V,container:G}=ut;if(ut.isHydrating)ut.isHydrating=!1;else if(!Y){const Me=c&&m.transition&&m.transition.mode==="out-in";Me&&(c.transition.afterLeave=()=>{b===ut.pendingId&&Pt(m,G,Xe,0)});let{anchor:Xe}=ut;c&&(Xe=di(c),oi(c,V,ut,!0)),Me||Pt(m,G,Xe,0)}ir(ut,m),ut.pendingBranch=null,ut.isInFallback=!1;let ve=ut.parent,je=!1;for(;ve;){if(ve.pendingBranch){ve.effects.push(...k),je=!0;break}ve=ve.parent}je||M(k),ut.effects=[],In(a,"onResolve")},fallback(Y){if(!ut.pendingBranch)return;const{vnode:a,activeBranch:c,parentComponent:m,container:b,isSVG:k}=ut;In(a,"onFallback");const V=di(c),G=()=>{!ut.isInFallback||(st(null,Y,b,V,m,null,k,Ye,rt),ir(ut,Y))},ve=Y.transition&&Y.transition.mode==="out-in";ve&&(c.transition.afterLeave=G),ut.isInFallback=!0,oi(c,m,null,!0),ve||G()},move(Y,a,c){ut.activeBranch&&Pt(ut.activeBranch,Y,a,c),ut.container=Y},next(){return ut.activeBranch&&di(ut.activeBranch)},registerDep(Y,a){const c=!!ut.pendingBranch;c&&ut.deps++;const m=Y.vnode.el;Y.asyncDep.catch(b=>{C(b,Y,0)}).then(b=>{if(Y.isUnmounted||ut.isUnmounted||ut.pendingId!==Y.suspenseId)return;Y.asyncResolved=!0;const{vnode:k}=Y;Re(Y,b,!1),m&&(k.el=m);const V=!m&&Y.subTree.el;a(Y,k,Pi(m||Y.subTree.el),m?null:di(Y.subTree),ut,Ae,rt),V&&Dn(V),ai(Y,k.el),c&&--ut.deps===0&&ut.resolve()})},unmount(Y,a){ut.isUnmounted=!0,ut.activeBranch&&oi(ut.activeBranch,U,Y,a),ut.pendingBranch&&oi(ut.pendingBranch,U,Y,a)}};return ut}function wr(o,y,U,q,fe,he,Ae,Ye,rt){const vt=y.suspense=Un(y,q,U,o.parentNode,document.createElement("div"),null,fe,he,Ae,Ye,!0),Wt=rt(o,vt.pendingBranch=y.ssContent,U,vt,he,Ae);return vt.deps===0&&vt.resolve(),Wt}function hr(o){const{shapeFlag:y,children:U}=o,q=y&32;o.ssContent=gr(q?U.default:U),o.ssFallback=q?gr(U.fallback):Zi(Nr)}function gr(o){let y;if((0,g.isFunction)(o)){const U=co&&o._c;U&&(o._d=!1,so()),o=o(),U&&(o._d=!0,y=xr,lo())}return(0,g.isArray)(o)&&(o=Qn(o)),o=qr(o),y&&!o.dynamicChildren&&(o.dynamicChildren=y.filter(U=>U!==o)),o}function lr(o,y){y&&y.pendingBranch?(0,g.isArray)(o)?y.effects.push(...o):y.effects.push(o):M(o)}function ir(o,y){o.activeBranch=y;const{vnode:U,parentComponent:q}=o,fe=U.el=y.el;q&&q.subTree===U&&(q.vnode.el=fe,ai(q,fe))}function Ma(o,y){if(Xr){let U=Xr.provides;const q=Xr.parent&&Xr.parent.provides;q===U&&(U=Xr.provides=Object.create(q)),U[o]=y}}function jr(o,y,U=!1){const q=Xr||Ei;if(q){const fe=q.parent==null?q.vnode.appContext&&q.vnode.appContext.provides:q.parent.provides;if(fe&&o in fe)return fe[o];if(arguments.length>1)return U&&(0,g.isFunction)(y)?y.call(q.proxy):y}}function la(o,y){return pa(o,null,y)}function to(o,y){return pa(o,null,{flush:"post"})}function io(o,y){return pa(o,null,{flush:"sync"})}const Ca={};function Fr(o,y,U){return pa(o,y,U)}function pa(o,y,{immediate:U,deep:q,flush:fe,onTrack:he,onTrigger:Ae}=g.EMPTY_OBJ){const Ye=ut=>{oe("Invalid watch source: ",ut,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},rt=Xr;let vt,Wt=!1,st=!1;if((0,A.dq)(o)?(vt=()=>o.value,Wt=(0,A.yT)(o)):(0,A.PG)(o)?(vt=()=>o,q=!0):(0,g.isArray)(o)?(st=!0,Wt=o.some(ut=>(0,A.PG)(ut)||(0,A.yT)(ut)),vt=()=>o.map(ut=>{if((0,A.dq)(ut))return ut.value;if((0,A.PG)(ut))return Be(ut);if((0,g.isFunction)(ut))return se(ut,rt,2)})):(0,g.isFunction)(o)?y?vt=()=>se(o,rt,2):vt=()=>{if(!(rt&&rt.isUnmounted))return Pt&&Pt(),n(o,rt,3,[oi])}:vt=g.NOOP,y&&q){const ut=vt;vt=()=>Be(ut())}let Pt,oi=ut=>{Pt=ti.onStop=()=>{se(ut,rt,4)}};if(Ce)return oi=g.NOOP,y?U&&n(y,rt,3,[vt(),st?[]:void 0,oi]):vt(),g.NOOP;let di=st?[]:Ca;const Pi=()=>{if(!!ti.active)if(y){const ut=ti.run();(q||Wt||(st?ut.some((Y,a)=>(0,g.hasChanged)(Y,di[a])):(0,g.hasChanged)(ut,di)))&&(Pt&&Pt(),n(y,rt,3,[ut,di===Ca?void 0:di,oi]),di=ut)}else ti.run()};Pi.allowRecurse=!!y;let Dn;fe==="sync"?Dn=Pi:fe==="post"?Dn=()=>vr(Pi,rt&&rt.suspense):(Pi.pre=!0,rt&&(Pi.id=rt.uid),Dn=()=>We(Pi));const ti=new A.qq(vt,Dn);return y?U?Pi():di=ti.run():fe==="post"?vr(ti.run.bind(ti),rt&&rt.suspense):ti.run(),()=>{ti.stop(),rt&&rt.scope&&(0,g.remove)(rt.scope.effects,ti)}}function ie(o,y,U){const q=this.proxy,fe=(0,g.isString)(o)?o.includes(".")?ye(q,o):()=>q[o]:o.bind(q,q);let he;(0,g.isFunction)(y)?he=y:(he=y.handler,U=y);const Ae=Xr;da(this);const Ye=pa(fe,he.bind(q),U);return Ae?da(Ae):l(),Ye}function ye(o,y){const U=y.split(".");return()=>{let q=o;for(let fe=0;fe<U.length&&q;fe++)q=q[U[fe]];return q}}function Be(o,y){if(!(0,g.isObject)(o)||o.__v_skip||(y=y||new Set,y.has(o)))return o;if(y.add(o),(0,A.dq)(o))Be(o.value,y);else if((0,g.isArray)(o))for(let U=0;U<o.length;U++)Be(o[U],y);else if((0,g.isSet)(o)||(0,g.isMap)(o))o.forEach(U=>{Be(U,y)});else if((0,g.isPlainObject)(o))for(const U in o)Be(o[U],y);return o}function lt(){const o={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ua(()=>{o.isMounted=!0}),Co(()=>{o.isUnmounting=!0}),o}const Lt=[Function,Array],yi={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Lt,onEnter:Lt,onAfterEnter:Lt,onEnterCancelled:Lt,onBeforeLeave:Lt,onLeave:Lt,onAfterLeave:Lt,onLeaveCancelled:Lt,onBeforeAppear:Lt,onAppear:Lt,onAfterAppear:Lt,onAppearCancelled:Lt},setup(o,{slots:y}){const U=Qo(),q=lt();let fe;return()=>{const he=y.default&&or(y.default(),!0);if(!he||!he.length)return;let Ae=he[0];if(he.length>1){let Pi=!1;for(const Dn of he)if(Dn.type!==Nr){Ae=Dn,Pi=!0;break}}const Ye=(0,A.IU)(o),{mode:rt}=Ye;if(q.isLeaving)return Ri(Ae);const vt=Li(Ae);if(!vt)return Ri(Ae);const Wt=Oi(vt,Ye,q,U);On(vt,Wt);const st=U.subTree,Pt=st&&Li(st);let oi=!1;const{getTransitionKey:di}=vt.type;if(di){const Pi=di();fe===void 0?fe=Pi:Pi!==fe&&(fe=Pi,oi=!0)}if(Pt&&Pt.type!==Nr&&(!nt(vt,Pt)||oi)){const Pi=Oi(Pt,Ye,q,U);if(On(Pt,Pi),rt==="out-in")return q.isLeaving=!0,Pi.afterLeave=()=>{q.isLeaving=!1,U.update()},Ri(Ae);rt==="in-out"&&vt.type!==Nr&&(Pi.delayLeave=(Dn,ti,ut)=>{const Y=Ni(q,Pt);Y[String(Pt.key)]=Pt,Dn._leaveCb=()=>{ti(),Dn._leaveCb=void 0,delete Wt.delayedLeave},Wt.delayedLeave=ut})}return Ae}}};function Ni(o,y){const{leavingVNodes:U}=o;let q=U.get(y.type);return q||(q=Object.create(null),U.set(y.type,q)),q}function Oi(o,y,U,q){const{appear:fe,mode:he,persisted:Ae=!1,onBeforeEnter:Ye,onEnter:rt,onAfterEnter:vt,onEnterCancelled:Wt,onBeforeLeave:st,onLeave:Pt,onAfterLeave:oi,onLeaveCancelled:di,onBeforeAppear:Pi,onAppear:Dn,onAfterAppear:ti,onAppearCancelled:ut}=y,Y=String(o.key),a=Ni(U,o),c=(k,V)=>{k&&n(k,q,9,V)},m=(k,V)=>{const G=V[1];c(k,V),(0,g.isArray)(k)?k.every(ve=>ve.length<=1)&&G():k.length<=1&&G()},b={mode:he,persisted:Ae,beforeEnter(k){let V=Ye;if(!U.isMounted)if(fe)V=Pi||Ye;else return;k._leaveCb&&k._leaveCb(!0);const G=a[Y];G&&nt(o,G)&&G.el._leaveCb&&G.el._leaveCb(),c(V,[k])},enter(k){let V=rt,G=vt,ve=Wt;if(!U.isMounted)if(fe)V=Dn||rt,G=ti||vt,ve=ut||Wt;else return;let je=!1;const Me=k._enterCb=Xe=>{je||(je=!0,Xe?c(ve,[k]):c(G,[k]),b.delayedLeave&&b.delayedLeave(),k._enterCb=void 0)};V?m(V,[k,Me]):Me()},leave(k,V){const G=String(o.key);if(k._enterCb&&k._enterCb(!0),U.isUnmounting)return V();c(st,[k]);let ve=!1;const je=k._leaveCb=Me=>{ve||(ve=!0,V(),Me?c(di,[k]):c(oi,[k]),k._leaveCb=void 0,a[G]===o&&delete a[G])};a[G]=o,Pt?m(Pt,[k,je]):je()},clone(k){return Oi(k,y,U,q)}};return b}function Ri(o){if(Je(o))return o=Ln(o),o.children=null,o}function Li(o){return Je(o)?o.children?o.children[0]:void 0:o}function On(o,y){o.shapeFlag&6&&o.component?On(o.component.subTree,y):o.shapeFlag&128?(o.ssContent.transition=y.clone(o.ssContent),o.ssFallback.transition=y.clone(o.ssFallback)):o.transition=y}function or(o,y=!1,U){let q=[],fe=0;for(let he=0;he<o.length;he++){let Ae=o[he];const Ye=U==null?Ae.key:String(U)+String(Ae.key!=null?Ae.key:he);Ae.type===Zn?(Ae.patchFlag&128&&fe++,q=q.concat(or(Ae.children,y,Ye))):(y||Ae.type!==Nr)&&q.push(Ye!=null?Ln(Ae,{key:Ye}):Ae)}if(fe>1)for(let he=0;he<q.length;he++)q[he].patchFlag=-2;return q}function Ta(o){return(0,g.isFunction)(o)?{setup:o,name:o.name}:o}const kr=o=>!!o.type.__asyncLoader;function ca(o){(0,g.isFunction)(o)&&(o={loader:o});const{loader:y,loadingComponent:U,errorComponent:q,delay:fe=200,timeout:he,suspensible:Ae=!0,onError:Ye}=o;let rt=null,vt,Wt=0;const st=()=>(Wt++,rt=null,Pt()),Pt=()=>{let oi;return rt||(oi=rt=y().catch(di=>{if(di=di instanceof Error?di:new Error(String(di)),Ye)return new Promise((Pi,Dn)=>{Ye(di,()=>Pi(st()),()=>Dn(di),Wt+1)});throw di}).then(di=>oi!==rt&&rt?rt:(di&&(di.__esModule||di[Symbol.toStringTag]==="Module")&&(di=di.default),vt=di,di)))};return Ta({name:"AsyncComponentWrapper",__asyncLoader:Pt,get __asyncResolved(){return vt},setup(){const oi=Xr;if(vt)return()=>Se(vt,oi);const di=ut=>{rt=null,C(ut,oi,13,!q)};if(Ae&&oi.suspense||Ce)return Pt().then(ut=>()=>Se(ut,oi)).catch(ut=>(di(ut),()=>q?Zi(q,{error:ut}):null));const Pi=(0,A.iH)(!1),Dn=(0,A.iH)(),ti=(0,A.iH)(!!fe);return fe&&setTimeout(()=>{ti.value=!1},fe),he!=null&&setTimeout(()=>{if(!Pi.value&&!Dn.value){const ut=new Error(`Async component timed out after ${he}ms.`);di(ut),Dn.value=ut}},he),Pt().then(()=>{Pi.value=!0,oi.parent&&Je(oi.parent.vnode)&&We(oi.parent.update)}).catch(ut=>{di(ut),Dn.value=ut}),()=>{if(Pi.value&&vt)return Se(vt,oi);if(Dn.value&&q)return Zi(q,{error:Dn.value});if(U&&!ti.value)return Zi(U)}}})}function Se(o,{vnode:{ref:y,props:U,children:q,shapeFlag:fe},parent:he}){const Ae=Zi(o,U,q);return Ae.ref=y,Ae}const Je=o=>o.type.__isKeepAlive,Nt={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(o,{slots:y}){const U=Qo(),q=U.ctx;if(!q.renderer)return()=>{const ut=y.default&&y.default();return ut&&ut.length===1?ut[0]:ut};const fe=new Map,he=new Set;let Ae=null;__VUE_PROD_DEVTOOLS__&&(U.__v_cache=fe);const Ye=U.suspense,{renderer:{p:rt,m:vt,um:Wt,o:{createElement:st}}}=q,Pt=st("div");q.activate=(ut,Y,a,c,m)=>{const b=ut.component;vt(ut,Y,a,0,Ye),rt(b.vnode,ut,Y,a,b,Ye,c,ut.slotScopeIds,m),vr(()=>{b.isDeactivated=!1,b.a&&(0,g.invokeArrayFns)(b.a);const k=ut.props&&ut.props.onVnodeMounted;k&&ga(k,b.parent,ut)},Ye),__VUE_PROD_DEVTOOLS__&&ee(b)},q.deactivate=ut=>{const Y=ut.component;vt(ut,Pt,null,1,Ye),vr(()=>{Y.da&&(0,g.invokeArrayFns)(Y.da);const a=ut.props&&ut.props.onVnodeUnmounted;a&&ga(a,Y.parent,ut),Y.isDeactivated=!0},Ye),__VUE_PROD_DEVTOOLS__&&ee(Y)};function oi(ut){Cr(ut),Wt(ut,U,Ye,!0)}function di(ut){fe.forEach((Y,a)=>{const c=zn(Y.type);c&&(!ut||!ut(c))&&Pi(a)})}function Pi(ut){const Y=fe.get(ut);!Ae||Y.type!==Ae.type?oi(Y):Ae&&Cr(Ae),fe.delete(ut),he.delete(ut)}Fr(()=>[o.include,o.exclude],([ut,Y])=>{ut&&di(a=>Dt(ut,a)),Y&&di(a=>!Dt(Y,a))},{flush:"post",deep:!0});let Dn=null;const ti=()=>{Dn!=null&&fe.set(Dn,Ar(U.subTree))};return ua(ti),wa(ti),Co(()=>{fe.forEach(ut=>{const{subTree:Y,suspense:a}=U,c=Ar(Y);if(ut.type===c.type){Cr(c);const m=c.component.da;m&&vr(m,a);return}oi(ut)})}),()=>{if(Dn=null,!y.default)return null;const ut=y.default(),Y=ut[0];if(ut.length>1)return Ae=null,ut;if(!Rt(Y)||!(Y.shapeFlag&4)&&!(Y.shapeFlag&128))return Ae=null,Y;let a=Ar(Y);const c=a.type,m=zn(kr(a)?a.type.__asyncResolved||{}:c),{include:b,exclude:k,max:V}=o;if(b&&(!m||!Dt(b,m))||k&&m&&Dt(k,m))return Ae=a,Y;const G=a.key==null?c:a.key,ve=fe.get(G);return a.el&&(a=Ln(a),Y.shapeFlag&128&&(Y.ssContent=a)),Dn=G,ve?(a.el=ve.el,a.component=ve.component,a.transition&&On(a,a.transition),a.shapeFlag|=512,he.delete(G),he.add(G)):(he.add(G),V&&he.size>parseInt(V,10)&&Pi(he.values().next().value)),a.shapeFlag|=256,Ae=a,Di(Y.type)?Y:a}}};function Dt(o,y){return(0,g.isArray)(o)?o.some(U=>Dt(U,y)):(0,g.isString)(o)?o.split(",").includes(y):o.test?o.test(y):!1}function ki(o,y){Ai(o,"a",y)}function rn(o,y){Ai(o,"da",y)}function Ai(o,y,U=Xr){const q=o.__wdc||(o.__wdc=()=>{let fe=U;for(;fe;){if(fe.isDeactivated)return;fe=fe.parent}return o()});if(Vr(y,q,U),U){let fe=U.parent;for(;fe&&fe.parent;)Je(fe.parent.vnode)&&Qr(q,y,U,fe),fe=fe.parent}}function Qr(o,y,U,q){const fe=Vr(y,o,q,!0);To(()=>{(0,g.remove)(q[y],fe)},U)}function Cr(o){let y=o.shapeFlag;y&256&&(y-=256),y&512&&(y-=512),o.shapeFlag=y}function Ar(o){return o.shapeFlag&128?o.ssContent:o}function Vr(o,y,U=Xr,q=!1){if(U){const fe=U[o]||(U[o]=[]),he=y.__weh||(y.__weh=(...Ae)=>{if(U.isUnmounted)return;(0,A.Jd)(),da(U);const Ye=n(y,U,o,Ae);return l(),(0,A.lk)(),Ye});return q?fe.unshift(he):fe.push(he),he}}const $i=o=>(y,U=Xr)=>(!Ce||o==="sp")&&Vr(o,(...q)=>y(...q),U),cr=$i("bm"),ua=$i("m"),go=$i("bu"),wa=$i("u"),Co=$i("bum"),To=$i("um"),No=$i("sp"),Ho=$i("rtg"),Ea=$i("rtc");function xs(o,y=Xr){Vr("ec",o,y)}function vo(o){isBuiltInDirective(o)&&oe("Do not use built-in directive ids as custom directive id: "+o)}function ds(o,y){const U=Ei;if(U===null)return o;const q=vn(U)||U.proxy,fe=o.dirs||(o.dirs=[]);for(let he=0;he<y.length;he++){let[Ae,Ye,rt,vt=g.EMPTY_OBJ]=y[he];(0,g.isFunction)(Ae)&&(Ae={mounted:Ae,updated:Ae}),Ae.deep&&Be(Ye),fe.push({dir:Ae,instance:q,value:Ye,oldValue:void 0,arg:rt,modifiers:vt})}return o}function ma(o,y,U,q){const fe=o.dirs,he=y&&y.dirs;for(let Ae=0;Ae<fe.length;Ae++){const Ye=fe[Ae];he&&(Ye.oldValue=he[Ae].value);let rt=Ye.dir[q];rt&&((0,A.Jd)(),n(rt,U,8,[o.el,Ye,o,y]),(0,A.lk)())}}const Oa="components",Lo="directives";function no(o,y){return yo(Oa,o,!0,y)||o}const $o=Symbol();function zo(o){return(0,g.isString)(o)?yo(Oa,o,!1)||o:o||$o}function ka(o){return yo(Lo,o)}function yo(o,y,U=!0,q=!1){const fe=Ei||Xr;if(fe){const he=fe.type;if(o===Oa){const Ye=zn(he,!1);if(Ye&&(Ye===y||Ye===(0,g.camelize)(y)||Ye===(0,g.capitalize)((0,g.camelize)(y))))return he}const Ae=Ia(fe[o]||he[o],y)||Ia(fe.appContext[o],y);return!Ae&&q?he:Ae}}function Ia(o,y){return o&&(o[y]||o[(0,g.camelize)(y)]||o[(0,g.capitalize)((0,g.camelize)(y))])}function Va(o,y,U,q){let fe;const he=U&&U[q];if((0,g.isArray)(o)||(0,g.isString)(o)){fe=new Array(o.length);for(let Ae=0,Ye=o.length;Ae<Ye;Ae++)fe[Ae]=y(o[Ae],Ae,void 0,he&&he[Ae])}else if(typeof o=="number"){fe=new Array(o);for(let Ae=0;Ae<o;Ae++)fe[Ae]=y(Ae+1,Ae,void 0,he&&he[Ae])}else if((0,g.isObject)(o))if(o[Symbol.iterator])fe=Array.from(o,(Ae,Ye)=>y(Ae,Ye,void 0,he&&he[Ye]));else{const Ae=Object.keys(o);fe=new Array(Ae.length);for(let Ye=0,rt=Ae.length;Ye<rt;Ye++){const vt=Ae[Ye];fe[Ye]=y(o[vt],vt,Ye,he&&he[Ye])}}else fe=[];return U&&(U[q]=fe),fe}function Gn(o,y){for(let U=0;U<y.length;U++){const q=y[U];if((0,g.isArray)(q))for(let fe=0;fe<q.length;fe++)o[q[fe].name]=q[fe].fn;else q&&(o[q.name]=q.key?(...fe)=>{const he=q.fn(...fe);return he&&(he.key=q.key),he}:q.fn)}return o}function As(o,y,U={},q,fe){if(Ei.isCE||Ei.parent&&kr(Ei.parent)&&Ei.parent.isCE)return Zi("slot",y==="default"?null:{name:y},q&&q());let he=o[y];he&&he._c&&(he._d=!1),so();const Ae=he&&Wo(he(U)),Ye=it(Zn,{key:U.key||Ae&&Ae.key||`_${y}`},Ae||(q?q():[]),Ae&&o._===1?64:-2);return!fe&&Ye.scopeId&&(Ye.slotScopeIds=[Ye.scopeId+"-s"]),he&&he._c&&(he._d=!0),Ye}function Wo(o){return o.some(y=>Rt(y)?!(y.type===Nr||y.type===Zn&&!Wo(y.children)):!0)?o:null}function Ss(o,y){const U={};for(const q in o)U[y&&/[A-Z]/.test(q)?`on:${q}`:(0,g.toHandlerKey)(q)]=o[q];return U}const ro=o=>o?re(o)?vn(o)||o.proxy:ro(o.parent):null,Yr=(0,g.extend)(Object.create(null),{$:o=>o,$el:o=>o.vnode.el,$data:o=>o.data,$props:o=>o.props,$attrs:o=>o.attrs,$slots:o=>o.slots,$refs:o=>o.refs,$parent:o=>ro(o.parent),$root:o=>ro(o.root),$emit:o=>o.emit,$options:o=>__VUE_OPTIONS_API__?Ne(o):o.type,$forceUpdate:o=>o.f||(o.f=()=>We(o.update)),$nextTick:o=>o.n||(o.n=le.bind(o.proxy)),$watch:o=>__VUE_OPTIONS_API__?ie.bind(o):g.NOOP}),ps=o=>o==="_"||o==="$",ss={get({_:o},y){const{ctx:U,setupState:q,data:fe,props:he,accessCache:Ae,type:Ye,appContext:rt}=o;let vt;if(y[0]!=="$"){const oi=Ae[y];if(oi!==void 0)switch(oi){case 1:return q[y];case 2:return fe[y];case 4:return U[y];case 3:return he[y]}else{if(q!==g.EMPTY_OBJ&&(0,g.hasOwn)(q,y))return Ae[y]=1,q[y];if(fe!==g.EMPTY_OBJ&&(0,g.hasOwn)(fe,y))return Ae[y]=2,fe[y];if((vt=o.propsOptions[0])&&(0,g.hasOwn)(vt,y))return Ae[y]=3,he[y];if(U!==g.EMPTY_OBJ&&(0,g.hasOwn)(U,y))return Ae[y]=4,U[y];(!__VUE_OPTIONS_API__||P)&&(Ae[y]=0)}}const Wt=Yr[y];let st,Pt;if(Wt)return y==="$attrs"&&(0,A.j)(o,"get",y),Wt(o);if((st=Ye.__cssModules)&&(st=st[y]))return st;if(U!==g.EMPTY_OBJ&&(0,g.hasOwn)(U,y))return Ae[y]=4,U[y];if(Pt=rt.config.globalProperties,(0,g.hasOwn)(Pt,y))return Pt[y]},set({_:o},y,U){const{data:q,setupState:fe,ctx:he}=o;return fe!==g.EMPTY_OBJ&&(0,g.hasOwn)(fe,y)?(fe[y]=U,!0):q!==g.EMPTY_OBJ&&(0,g.hasOwn)(q,y)?(q[y]=U,!0):(0,g.hasOwn)(o.props,y)||y[0]==="$"&&y.slice(1)in o?!1:(he[y]=U,!0)},has({_:{data:o,setupState:y,accessCache:U,ctx:q,appContext:fe,propsOptions:he}},Ae){let Ye;return!!U[Ae]||o!==g.EMPTY_OBJ&&(0,g.hasOwn)(o,Ae)||y!==g.EMPTY_OBJ&&(0,g.hasOwn)(y,Ae)||(Ye=he[0])&&(0,g.hasOwn)(Ye,Ae)||(0,g.hasOwn)(q,Ae)||(0,g.hasOwn)(Yr,Ae)||(0,g.hasOwn)(fe.config.globalProperties,Ae)},defineProperty(o,y,U){return U.get!=null?o._.accessCache[y]=0:(0,g.hasOwn)(U,"value")&&this.set(o,y,U.value,null),Reflect.defineProperty(o,y,U)}},Cs=(0,g.extend)({},ss,{get(o,y){if(y!==Symbol.unscopables)return ss.get(o,y,o)},has(o,y){return y[0]!=="_"&&!(0,g.isGloballyWhitelisted)(y)}});function qo(o){const y={};return Object.defineProperty(y,"_",{configurable:!0,enumerable:!1,get:()=>o}),Object.keys(Yr).forEach(U=>{Object.defineProperty(y,U,{configurable:!0,enumerable:!1,get:()=>Yr[U](o),set:NOOP})}),y}function r(o){const{ctx:y,propsOptions:[U]}=o;U&&Object.keys(U).forEach(q=>{Object.defineProperty(y,q,{enumerable:!0,configurable:!0,get:()=>o.props[q],set:NOOP})})}function f(o){const{ctx:y,setupState:U}=o;Object.keys(toRaw(U)).forEach(q=>{if(!U.__isScriptSetup){if(ps(q[0])){oe(`setup() return property ${JSON.stringify(q)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(y,q,{enumerable:!0,configurable:!0,get:()=>U[q],set:NOOP})}})}function w(){const o=Object.create(null);return(y,U)=>{o[U]?oe(`${y} property "${U}" is already defined in ${o[U]}.`):o[U]=y}}let P=!0;function W(o){const y=Ne(o),U=o.proxy,q=o.ctx;P=!1,y.beforeCreate&&ue(y.beforeCreate,o,"bc");const{data:fe,computed:he,methods:Ae,watch:Ye,provide:rt,inject:vt,created:Wt,beforeMount:st,mounted:Pt,beforeUpdate:oi,updated:di,activated:Pi,deactivated:Dn,beforeDestroy:ti,beforeUnmount:ut,destroyed:Y,unmounted:a,render:c,renderTracked:m,renderTriggered:b,errorCaptured:k,serverPrefetch:V,expose:G,inheritAttrs:ve,components:je,directives:Me,filters:Xe}=y;if(vt&&X(vt,q,null,o.appContext.config.unwrapInjectedRef),Ae)for(const Mt in Ae){const Qe=Ae[Mt];(0,g.isFunction)(Qe)&&(q[Mt]=Qe.bind(U))}if(fe){const Mt=fe.call(U,U);(0,g.isObject)(Mt)&&(o.data=(0,A.qj)(Mt))}if(P=!0,he)for(const Mt in he){const Qe=he[Mt],Bt=(0,g.isFunction)(Qe)?Qe.bind(U,U):(0,g.isFunction)(Qe.get)?Qe.get.bind(U,U):g.NOOP,Ht=!(0,g.isFunction)(Qe)&&(0,g.isFunction)(Qe.set)?Qe.set.bind(U):g.NOOP,si=na({get:Bt,set:Ht});Object.defineProperty(q,Mt,{enumerable:!0,configurable:!0,get:()=>si.value,set:li=>si.value=li})}if(Ye)for(const Mt in Ye)qe(Ye[Mt],q,U,Mt);if(rt){const Mt=(0,g.isFunction)(rt)?rt.call(U):rt;Reflect.ownKeys(Mt).forEach(Qe=>{Ma(Qe,Mt[Qe])})}Wt&&ue(Wt,o,"c");function dt(Mt,Qe){(0,g.isArray)(Qe)?Qe.forEach(Bt=>Mt(Bt.bind(U))):Qe&&Mt(Qe.bind(U))}if(dt(cr,st),dt(ua,Pt),dt(go,oi),dt(wa,di),dt(ki,Pi),dt(rn,Dn),dt(xs,k),dt(Ea,m),dt(Ho,b),dt(Co,ut),dt(To,a),dt(No,V),(0,g.isArray)(G))if(G.length){const Mt=o.exposed||(o.exposed={});G.forEach(Qe=>{Object.defineProperty(Mt,Qe,{get:()=>U[Qe],set:Bt=>U[Qe]=Bt})})}else o.exposed||(o.exposed={});c&&o.render===g.NOOP&&(o.render=c),ve!=null&&(o.inheritAttrs=ve),je&&(o.components=je),Me&&(o.directives=Me)}function X(o,y,U=g.NOOP,q=!1){(0,g.isArray)(o)&&(o=kt(o));for(const fe in o){const he=o[fe];let Ae;(0,g.isObject)(he)?"default"in he?Ae=jr(he.from||fe,he.default,!0):Ae=jr(he.from||fe):Ae=jr(he),(0,A.dq)(Ae)&&q?Object.defineProperty(y,fe,{enumerable:!0,configurable:!0,get:()=>Ae.value,set:Ye=>Ae.value=Ye}):y[fe]=Ae}}function ue(o,y,U){n((0,g.isArray)(o)?o.map(q=>q.bind(y.proxy)):o.bind(y.proxy),y,U)}function qe(o,y,U,q){const fe=q.includes(".")?ye(U,q):()=>U[q];if((0,g.isString)(o)){const he=y[o];(0,g.isFunction)(he)&&Fr(fe,he)}else if((0,g.isFunction)(o))Fr(fe,o.bind(U));else if((0,g.isObject)(o))if((0,g.isArray)(o))o.forEach(he=>qe(he,y,U,q));else{const he=(0,g.isFunction)(o.handler)?o.handler.bind(U):y[o.handler];(0,g.isFunction)(he)&&Fr(fe,he,o)}}function Ne(o){const y=o.type,{mixins:U,extends:q}=y,{mixins:fe,optionsCache:he,config:{optionMergeStrategies:Ae}}=o.appContext,Ye=he.get(y);let rt;return Ye?rt=Ye:!fe.length&&!U&&!q?rt=y:(rt={},fe.length&&fe.forEach(vt=>ft(rt,vt,Ae,!0)),ft(rt,y,Ae)),(0,g.isObject)(y)&&he.set(y,rt),rt}function ft(o,y,U,q=!1){const{mixins:fe,extends:he}=y;he&&ft(o,he,U,!0),fe&&fe.forEach(Ae=>ft(o,Ae,U,!0));for(const Ae in y)if(!(q&&Ae==="expose")){const Ye=xt[Ae]||U&&U[Ae];o[Ae]=Ye?Ye(o[Ae],y[Ae]):y[Ae]}return o}const xt={data:Gt,props:gn,emits:gn,methods:gn,computed:gn,beforeCreate:Si,created:Si,beforeMount:Si,mounted:Si,beforeUpdate:Si,updated:Si,beforeDestroy:Si,beforeUnmount:Si,destroyed:Si,unmounted:Si,activated:Si,deactivated:Si,errorCaptured:Si,serverPrefetch:Si,components:gn,directives:gn,watch:vi,provide:Gt,inject:ht};function Gt(o,y){return y?o?function(){return(0,g.extend)((0,g.isFunction)(o)?o.call(this,this):o,(0,g.isFunction)(y)?y.call(this,this):y)}:y:o}function ht(o,y){return gn(kt(o),kt(y))}function kt(o){if((0,g.isArray)(o)){const y={};for(let U=0;U<o.length;U++)y[o[U]]=o[U];return y}return o}function Si(o,y){return o?[...new Set([].concat(o,y))]:y}function gn(o,y){return o?(0,g.extend)((0,g.extend)(Object.create(null),o),y):y}function vi(o,y){if(!o)return y;if(!y)return o;const U=(0,g.extend)(Object.create(null),o);for(const q in y)U[q]=Si(o[q],y[q]);return U}function Pr(o,y,U,q=!1){const fe={},he={};(0,g.def)(he,ji,1),o.propsDefaults=Object.create(null),nr(o,y,fe,he);for(const Ae in o.propsOptions[0])Ae in fe||(fe[Ae]=void 0);U?o.props=q?fe:(0,A.Um)(fe):o.type.props?o.props=fe:o.props=he,o.attrs=he}function Or(o){for(;o;){if(o.type.__hmrId)return!0;o=o.parent}}function Gr(o,y,U,q){const{props:fe,attrs:he,vnode:{patchFlag:Ae}}=o,Ye=(0,A.IU)(fe),[rt]=o.propsOptions;let vt=!1;if((q||Ae>0)&&!(Ae&16)){if(Ae&8){const Wt=o.vnode.dynamicProps;for(let st=0;st<Wt.length;st++){let Pt=Wt[st];if(Pn(o.emitsOptions,Pt))continue;const oi=y[Pt];if(rt)if((0,g.hasOwn)(he,Pt))oi!==he[Pt]&&(he[Pt]=oi,vt=!0);else{const di=(0,g.camelize)(Pt);fe[di]=_n(rt,Ye,di,oi,o,!1)}else oi!==he[Pt]&&(he[Pt]=oi,vt=!0)}}}else{nr(o,y,fe,he)&&(vt=!0);let Wt;for(const st in Ye)(!y||!(0,g.hasOwn)(y,st)&&((Wt=(0,g.hyphenate)(st))===st||!(0,g.hasOwn)(y,Wt)))&&(rt?U&&(U[st]!==void 0||U[Wt]!==void 0)&&(fe[st]=_n(rt,Ye,st,void 0,o,!0)):delete fe[st]);if(he!==Ye)for(const st in he)(!y||!(0,g.hasOwn)(y,st)&&!0)&&(delete he[st],vt=!0)}vt&&(0,A.X$)(o,"set","$attrs")}function nr(o,y,U,q){const[fe,he]=o.propsOptions;let Ae=!1,Ye;if(y)for(let rt in y){if((0,g.isReservedProp)(rt))continue;const vt=y[rt];let Wt;fe&&(0,g.hasOwn)(fe,Wt=(0,g.camelize)(rt))?!he||!he.includes(Wt)?U[Wt]=vt:(Ye||(Ye={}))[Wt]=vt:Pn(o.emitsOptions,rt)||(!(rt in q)||vt!==q[rt])&&(q[rt]=vt,Ae=!0)}if(he){const rt=(0,A.IU)(U),vt=Ye||g.EMPTY_OBJ;for(let Wt=0;Wt<he.length;Wt++){const st=he[Wt];U[st]=_n(fe,rt,st,vt[st],o,!(0,g.hasOwn)(vt,st))}}return Ae}function _n(o,y,U,q,fe,he){const Ae=o[U];if(Ae!=null){const Ye=(0,g.hasOwn)(Ae,"default");if(Ye&&q===void 0){const rt=Ae.default;if(Ae.type!==Function&&(0,g.isFunction)(rt)){const{propsDefaults:vt}=fe;U in vt?q=vt[U]:(da(fe),q=vt[U]=rt.call(null,y),l())}else q=rt}Ae[0]&&(he&&!Ye?q=!1:Ae[1]&&(q===""||q===(0,g.hyphenate)(U))&&(q=!0))}return q}function Dr(o,y,U=!1){const q=y.propsCache,fe=q.get(o);if(fe)return fe;const he=o.props,Ae={},Ye=[];let rt=!1;if(__VUE_OPTIONS_API__&&!(0,g.isFunction)(o)){const Wt=st=>{rt=!0;const[Pt,oi]=Dr(st,y,!0);(0,g.extend)(Ae,Pt),oi&&Ye.push(...oi)};!U&&y.mixins.length&&y.mixins.forEach(Wt),o.extends&&Wt(o.extends),o.mixins&&o.mixins.forEach(Wt)}if(!he&&!rt)return(0,g.isObject)(o)&&q.set(o,g.EMPTY_ARR),g.EMPTY_ARR;if((0,g.isArray)(he))for(let Wt=0;Wt<he.length;Wt++){const st=(0,g.camelize)(he[Wt]);$n(st)&&(Ae[st]=g.EMPTY_OBJ)}else if(he)for(const Wt in he){const st=(0,g.camelize)(Wt);if($n(st)){const Pt=he[Wt],oi=Ae[st]=(0,g.isArray)(Pt)||(0,g.isFunction)(Pt)?{type:Pt}:Pt;if(oi){const di=Zr(Boolean,oi.type),Pi=Zr(String,oi.type);oi[0]=di>-1,oi[1]=Pi<0||di<Pi,(di>-1||(0,g.hasOwn)(oi,"default"))&&Ye.push(st)}}}const vt=[Ae,Ye];return(0,g.isObject)(o)&&q.set(o,vt),vt}function $n(o){return o[0]!=="$"}function Tr(o){const y=o&&o.toString().match(/^\s*function (\w+)/);return y?y[1]:o===null?"null":""}function Xa(o,y){return Tr(o)===Tr(y)}function Zr(o,y){return(0,g.isArray)(y)?y.findIndex(U=>Xa(U,o)):(0,g.isFunction)(y)&&Xa(y,o)?0:-1}function zr(o,y,U){const q=toRaw(y),fe=U.propsOptions[0];for(const he in fe){let Ae=fe[he];Ae!=null&&Mn(he,q[he],Ae,!hasOwn(o,he)&&!hasOwn(o,hyphenate(he)))}}function Mn(o,y,U,q){const{type:fe,required:he,validator:Ae}=U;if(he&&q){oe('Missing required prop: "'+o+'"');return}if(!(y==null&&!U.required)){if(fe!=null&&fe!==!0){let Ye=!1;const rt=isArray(fe)?fe:[fe],vt=[];for(let Wt=0;Wt<rt.length&&!Ye;Wt++){const{valid:st,expectedType:Pt}=ja(y,rt[Wt]);vt.push(Pt||""),Ye=st}if(!Ye){oe(Ja(o,y,vt));return}}Ae&&!Ae(y)&&oe('Invalid prop: custom validator check failed for prop "'+o+'".')}}const bo=null;function ja(o,y){let U;const q=Tr(y);if(bo(q)){const fe=typeof o;U=fe===q.toLowerCase(),!U&&fe==="object"&&(U=o instanceof y)}else q==="Object"?U=isObject(o):q==="Array"?U=isArray(o):q==="null"?U=o===null:U=o instanceof y;return{valid:U,expectedType:q}}function Ja(o,y,U){let q=`Invalid prop: type check failed for prop "${o}". Expected ${U.map(capitalize).join(" | ")}`;const fe=U[0],he=toRawType(y),Ae=fa(y,fe),Ye=fa(y,he);return U.length===1&&Ua(fe)&&!ms(fe,he)&&(q+=` with value ${Ae}`),q+=`, got ${he} `,Ua(he)&&(q+=`with value ${Ye}.`),q}function fa(o,y){return y==="String"?`"${o}"`:y==="Number"?`${Number(o)}`:`${o}`}function Ua(o){return["string","number","boolean"].some(U=>o.toLowerCase()===U)}function ms(...o){return o.some(y=>y.toLowerCase()==="boolean")}const Ha=o=>o[0]==="_"||o==="$stable",Aa=o=>(0,g.isArray)(o)?o.map(qr):[qr(o)],Bn=(o,y,U)=>{if(y._n)return y;const q=tn((...fe)=>Aa(y(...fe)),U);return q._c=!1,q},Qa=(o,y,U)=>{const q=o._ctx;for(const fe in o){if(Ha(fe))continue;const he=o[fe];if((0,g.isFunction)(he))y[fe]=Bn(fe,he,q);else if(he!=null){const Ae=Aa(he);y[fe]=()=>Ae}}},Pa=(o,y)=>{const U=Aa(y);o.slots.default=()=>U},ao=(o,y)=>{if(o.vnode.shapeFlag&32){const U=y._;U?(o.slots=(0,A.IU)(y),(0,g.def)(y,"_",U)):Qa(y,o.slots={})}else o.slots={},y&&Pa(o,y);(0,g.def)(o.slots,ji,1)},Ko=(o,y,U)=>{const{vnode:q,slots:fe}=o;let he=!0,Ae=g.EMPTY_OBJ;if(q.shapeFlag&32){const Ye=y._;Ye?U&&Ye===1?he=!1:((0,g.extend)(fe,y),!U&&Ye===1&&delete fe._):(he=!y.$stable,Qa(y,fe)),Ae=y}else y&&(Pa(o,y),Ae={default:1});if(he)for(const Ye in fe)!Ha(Ye)&&!(Ye in Ae)&&delete fe[Ye]};function Fa(){return{app:null,config:{isNativeTag:g.NO,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let ea=0;function ls(o,y){return function(q,fe=null){(0,g.isFunction)(q)||(q=Object.assign({},q)),fe!=null&&!(0,g.isObject)(fe)&&(fe=null);const he=Fa(),Ae=new Set;let Ye=!1;const rt=he.app={_uid:ea++,_component:q,_props:fe,_container:null,_context:he,_instance:null,version:fs,get config(){return he.config},set config(vt){},use(vt,...Wt){return Ae.has(vt)||(vt&&(0,g.isFunction)(vt.install)?(Ae.add(vt),vt.install(rt,...Wt)):(0,g.isFunction)(vt)&&(Ae.add(vt),vt(rt,...Wt))),rt},mixin(vt){return __VUE_OPTIONS_API__&&(he.mixins.includes(vt)||he.mixins.push(vt)),rt},component(vt,Wt){return Wt?(he.components[vt]=Wt,rt):he.components[vt]},directive(vt,Wt){return Wt?(he.directives[vt]=Wt,rt):he.directives[vt]},mount(vt,Wt,st){if(!Ye){const Pt=Zi(q,fe);return Pt.appContext=he,Wt&&y?y(Pt,vt):o(Pt,vt,st),Ye=!0,rt._container=vt,vt.__vue_app__=rt,__VUE_PROD_DEVTOOLS__&&(rt._instance=Pt.component,h(rt,fs)),vn(Pt.component)||Pt.component.proxy}},unmount(){Ye&&(o(null,rt._container),__VUE_PROD_DEVTOOLS__&&(rt._instance=null,E(rt)),delete rt._container.__vue_app__)},provide(vt,Wt){return he.provides[vt]=Wt,rt}};return rt}}function _o(o,y,U,q,fe=!1){if((0,g.isArray)(o)){o.forEach((Pt,oi)=>_o(Pt,y&&((0,g.isArray)(y)?y[oi]:y),U,q,fe));return}if(kr(q)&&!fe)return;const he=q.shapeFlag&4?vn(q.component)||q.component.proxy:q.el,Ae=fe?null:he,{i:Ye,r:rt}=o,vt=y&&y.r,Wt=Ye.refs===g.EMPTY_OBJ?Ye.refs={}:Ye.refs,st=Ye.setupState;if(vt!=null&&vt!==rt&&((0,g.isString)(vt)?(Wt[vt]=null,(0,g.hasOwn)(st,vt)&&(st[vt]=null)):(0,A.dq)(vt)&&(vt.value=null)),(0,g.isFunction)(rt))se(rt,Ye,12,[Ae,Wt]);else{const Pt=(0,g.isString)(rt),oi=(0,A.dq)(rt);if(Pt||oi){const di=()=>{if(o.f){const Pi=Pt?Wt[rt]:rt.value;fe?(0,g.isArray)(Pi)&&(0,g.remove)(Pi,he):(0,g.isArray)(Pi)?Pi.includes(he)||Pi.push(he):Pt?(Wt[rt]=[he],(0,g.hasOwn)(st,rt)&&(st[rt]=Wt[rt])):(rt.value=[he],o.k&&(Wt[o.k]=rt.value))}else Pt?(Wt[rt]=Ae,(0,g.hasOwn)(st,rt)&&(st[rt]=Ae)):oi&&(rt.value=Ae,o.k&&(Wt[o.k]=Ae))};Ae?(di.id=-1,vr(di,U)):di()}}}let Na=!1;const Bo=o=>/svg/.test(o.namespaceURI)&&o.tagName!=="foreignObject",Ur=o=>o.nodeType===8;function Yo(o){const{mt:y,p:U,o:{patchProp:q,createText:fe,nextSibling:he,parentNode:Ae,remove:Ye,insert:rt,createComment:vt}}=o,Wt=(ti,ut)=>{if(!ut.hasChildNodes()){U(null,ti,ut),Pe(),ut._vnode=ti;return}Na=!1,st(ut.firstChild,ti,null,null,null),Pe(),ut._vnode=ti,Na&&console.error("Hydration completed but contains mismatches.")},st=(ti,ut,Y,a,c,m=!1)=>{const b=Ur(ti)&&ti.data==="[",k=()=>Pi(ti,ut,Y,a,c,b),{type:V,ref:G,shapeFlag:ve,patchFlag:je}=ut;let Me=ti.nodeType;ut.el=ti,je===-2&&(m=!1,ut.dynamicChildren=null);let Xe=null;switch(V){case za:Me!==3?ut.children===""?(rt(ut.el=fe(""),Ae(ti),ti),Xe=ti):Xe=k():(ti.data!==ut.children&&(Na=!0,ti.data=ut.children),Xe=he(ti));break;case Nr:Me!==8||b?Xe=k():Xe=he(ti);break;case eo:if(b&&(ti=he(ti),Me=ti.nodeType),Me===1||Me===3){Xe=ti;const _t=!ut.children.length;for(let dt=0;dt<ut.staticCount;dt++)_t&&(ut.children+=Xe.nodeType===1?Xe.outerHTML:Xe.data),dt===ut.staticCount-1&&(ut.anchor=Xe),Xe=he(Xe);return b?he(Xe):Xe}else k();break;case Zn:b?Xe=di(ti,ut,Y,a,c,m):Xe=k();break;default:if(ve&1)Me!==1||ut.type.toLowerCase()!==ti.tagName.toLowerCase()?Xe=k():Xe=Pt(ti,ut,Y,a,c,m);else if(ve&6){ut.slotScopeIds=c;const _t=Ae(ti);if(y(ut,_t,null,Y,a,Bo(_t),m),Xe=b?Dn(ti):he(ti),Xe&&Ur(Xe)&&Xe.data==="teleport end"&&(Xe=he(Xe)),kr(ut)){let dt;b?(dt=Zi(Zn),dt.anchor=Xe?Xe.previousSibling:_t.lastChild):dt=ti.nodeType===3?ia(""):Zi("div"),dt.el=ti,ut.component.subTree=dt}}else ve&64?Me!==8?Xe=k():Xe=ut.type.hydrate(ti,ut,Y,a,c,m,o,oi):ve&128&&(Xe=ut.type.hydrate(ti,ut,Y,a,Bo(Ae(ti)),c,m,o,st))}return G!=null&&_o(G,null,a,ut),Xe},Pt=(ti,ut,Y,a,c,m)=>{m=m||!!ut.dynamicChildren;const{type:b,props:k,patchFlag:V,shapeFlag:G,dirs:ve}=ut,je=b==="input"&&ve||b==="option";if(je||V!==-1){if(ve&&ma(ut,null,Y,"created"),k)if(je||!m||V&48)for(const Xe in k)(je&&Xe.endsWith("value")||(0,g.isOn)(Xe)&&!(0,g.isReservedProp)(Xe))&&q(ti,Xe,null,k[Xe],!1,void 0,Y);else k.onClick&&q(ti,"onClick",null,k.onClick,!1,void 0,Y);let Me;if((Me=k&&k.onVnodeBeforeMount)&&ga(Me,Y,ut),ve&&ma(ut,null,Y,"beforeMount"),((Me=k&&k.onVnodeMounted)||ve)&&lr(()=>{Me&&ga(Me,Y,ut),ve&&ma(ut,null,Y,"mounted")},a),G&16&&!(k&&(k.innerHTML||k.textContent))){let Xe=oi(ti.firstChild,ut,ti,Y,a,c,m),_t=!1;for(;Xe;){Na=!0;const dt=Xe;Xe=Xe.nextSibling,Ye(dt)}}else G&8&&ti.textContent!==ut.children&&(Na=!0,ti.textContent=ut.children)}return ti.nextSibling},oi=(ti,ut,Y,a,c,m,b)=>{b=b||!!ut.dynamicChildren;const k=ut.children,V=k.length;let G=!1;for(let ve=0;ve<V;ve++){const je=b?k[ve]:k[ve]=qr(k[ve]);if(ti)ti=st(ti,je,a,c,m,b);else{if(je.type===za&&!je.children)continue;Na=!0,U(null,je,Y,null,a,c,Bo(Y),m)}}return ti},di=(ti,ut,Y,a,c,m)=>{const{slotScopeIds:b}=ut;b&&(c=c?c.concat(b):b);const k=Ae(ti),V=oi(he(ti),ut,k,Y,a,c,m);return V&&Ur(V)&&V.data==="]"?he(ut.anchor=V):(Na=!0,rt(ut.anchor=vt("]"),k,V),V)},Pi=(ti,ut,Y,a,c,m)=>{if(Na=!0,ut.el=null,m){const V=Dn(ti);for(;;){const G=he(ti);if(G&&G!==V)Ye(G);else break}}const b=he(ti),k=Ae(ti);return Ye(ti),U(null,ut,k,b,Y,a,Bo(k),c),b},Dn=ti=>{let ut=0;for(;ti;)if(ti=he(ti),ti&&Ur(ti)&&(ti.data==="["&&ut++,ti.data==="]")){if(ut===0)return he(ti);ut--}return ti};return[Wt,st]}let Eo,$a;function oo(o,y){o.appContext.config.performance&&ta()&&$a.mark(`vue-${y}-${o.uid}`),__VUE_PROD_DEVTOOLS__&&K(o,y,ta()?$a.now():Date.now())}function Ps(o,y){if(o.appContext.config.performance&&ta()){const U=`vue-${y}-${o.uid}`,q=U+":end";$a.mark(q),$a.measure(`<${va(o,o.type)}> ${y}`,U,q),$a.clearMarks(U),$a.clearMarks(q)}__VUE_PROD_DEVTOOLS__&&Ct(o,y,ta()?$a.now():Date.now())}function ta(){return Eo!==void 0||(typeof window!="undefined"&&window.performance?(Eo=!0,$a=window.performance):Eo=!1),Eo}function Da(){const o=[];typeof __VUE_OPTIONS_API__!="boolean"&&((0,g.getGlobalThis)().__VUE_OPTIONS_API__=!0),typeof __VUE_PROD_DEVTOOLS__!="boolean"&&((0,g.getGlobalThis)().__VUE_PROD_DEVTOOLS__=!1)}const vr=lr;function Hr(o){return Go(o)}function Oo(o){return Go(o,Yo)}function Go(o,y){Da();const U=(0,g.getGlobalThis)();U.__VUE__=!0,__VUE_PROD_DEVTOOLS__&&bn(U.__VUE_DEVTOOLS_GLOBAL_HOOK__,U);const{insert:q,remove:fe,patchProp:he,createElement:Ae,createText:Ye,createComment:rt,setText:vt,setElementText:Wt,parentNode:st,nextSibling:Pt,setScopeId:oi=g.NOOP,insertStaticContent:di}=o,Pi=(Le,Ze,Et,Kt=null,Xt=null,hi=null,Mi=!1,fi=null,Ci=!!Ze.dynamicChildren)=>{if(Le===Ze)return;Le&&!nt(Le,Ze)&&(Kt=xi(Le),ci(Le,Xt,hi,!0),Le=null),Ze.patchFlag===-2&&(Ci=!1,Ze.dynamicChildren=null);const{type:ri,ref:on,shapeFlag:cn}=Ze;switch(ri){case za:Dn(Le,Ze,Et,Kt);break;case Nr:ti(Le,Ze,Et,Kt);break;case eo:Le==null&&ut(Ze,Et,Kt,Mi);break;case Zn:Me(Le,Ze,Et,Kt,Xt,hi,Mi,fi,Ci);break;default:cn&1?m(Le,Ze,Et,Kt,Xt,hi,Mi,fi,Ci):cn&6?Xe(Le,Ze,Et,Kt,Xt,hi,Mi,fi,Ci):(cn&64||cn&128)&&ri.process(Le,Ze,Et,Kt,Xt,hi,Mi,fi,Ci,Sr)}on!=null&&Xt&&_o(on,Le&&Le.ref,hi,Ze||Le,!Ze)},Dn=(Le,Ze,Et,Kt)=>{if(Le==null)q(Ze.el=Ye(Ze.children),Et,Kt);else{const Xt=Ze.el=Le.el;Ze.children!==Le.children&&vt(Xt,Ze.children)}},ti=(Le,Ze,Et,Kt)=>{Le==null?q(Ze.el=rt(Ze.children||""),Et,Kt):Ze.el=Le.el},ut=(Le,Ze,Et,Kt)=>{[Le.el,Le.anchor]=di(Le.children,Ze,Et,Kt,Le.el,Le.anchor)},Y=(Le,Ze,Et,Kt)=>{if(Ze.children!==Le.children){const Xt=Pt(Le.anchor);c(Le),[Ze.el,Ze.anchor]=di(Ze.children,Et,Xt,Kt)}else Ze.el=Le.el,Ze.anchor=Le.anchor},a=({el:Le,anchor:Ze},Et,Kt)=>{let Xt;for(;Le&&Le!==Ze;)Xt=Pt(Le),q(Le,Et,Kt),Le=Xt;q(Ze,Et,Kt)},c=({el:Le,anchor:Ze})=>{let Et;for(;Le&&Le!==Ze;)Et=Pt(Le),fe(Le),Le=Et;fe(Ze)},m=(Le,Ze,Et,Kt,Xt,hi,Mi,fi,Ci)=>{Mi=Mi||Ze.type==="svg",Le==null?b(Ze,Et,Kt,Xt,hi,Mi,fi,Ci):G(Le,Ze,Xt,hi,Mi,fi,Ci)},b=(Le,Ze,Et,Kt,Xt,hi,Mi,fi)=>{let Ci,ri;const{type:on,props:cn,shapeFlag:an,transition:xn,dirs:qn}=Le;if(Ci=Le.el=Ae(Le.type,hi,cn&&cn.is,cn),an&8?Wt(Ci,Le.children):an&16&&V(Le.children,Ci,null,Kt,Xt,hi&&on!=="foreignObject",Mi,fi),qn&&ma(Le,null,Kt,"created"),cn){for(const Mr in cn)Mr!=="value"&&!(0,g.isReservedProp)(Mr)&&he(Ci,Mr,null,cn[Mr],hi,Le.children,Kt,Xt,Ti);"value"in cn&&he(Ci,"value",null,cn.value),(ri=cn.onVnodeBeforeMount)&&ga(ri,Kt,Le)}k(Ci,Le,Le.scopeId,Mi,Kt),__VUE_PROD_DEVTOOLS__&&(Object.defineProperty(Ci,"__vnode",{value:Le,enumerable:!1}),Object.defineProperty(Ci,"__vueParentComponent",{value:Kt,enumerable:!1})),qn&&ma(Le,null,Kt,"beforeMount");const rr=(!Xt||Xt&&!Xt.pendingBranch)&&xn&&!xn.persisted;rr&&xn.beforeEnter(Ci),q(Ci,Ze,Et),((ri=cn&&cn.onVnodeMounted)||rr||qn)&&vr(()=>{ri&&ga(ri,Kt,Le),rr&&xn.enter(Ci),qn&&ma(Le,null,Kt,"mounted")},Xt)},k=(Le,Ze,Et,Kt,Xt)=>{if(Et&&oi(Le,Et),Kt)for(let hi=0;hi<Kt.length;hi++)oi(Le,Kt[hi]);if(Xt){let hi=Xt.subTree;if(Ze===hi){const Mi=Xt.vnode;k(Le,Mi,Mi.scopeId,Mi.slotScopeIds,Xt.parent)}}},V=(Le,Ze,Et,Kt,Xt,hi,Mi,fi,Ci=0)=>{for(let ri=Ci;ri<Le.length;ri++){const on=Le[ri]=fi?pr(Le[ri]):qr(Le[ri]);Pi(null,on,Ze,Et,Kt,Xt,hi,Mi,fi)}},G=(Le,Ze,Et,Kt,Xt,hi,Mi)=>{const fi=Ze.el=Le.el;let{patchFlag:Ci,dynamicChildren:ri,dirs:on}=Ze;Ci|=Le.patchFlag&16;const cn=Le.props||g.EMPTY_OBJ,an=Ze.props||g.EMPTY_OBJ;let xn;Et&&Za(Et,!1),(xn=an.onVnodeBeforeUpdate)&&ga(xn,Et,Ze,Le),on&&ma(Ze,Le,Et,"beforeUpdate"),Et&&Za(Et,!0);const qn=Xt&&Ze.type!=="foreignObject";if(ri?ve(Le.dynamicChildren,ri,fi,Et,Kt,qn,hi):Mi||Bt(Le,Ze,fi,null,Et,Kt,qn,hi,!1),Ci>0){if(Ci&16)je(fi,Ze,cn,an,Et,Kt,Xt);else if(Ci&2&&cn.class!==an.class&&he(fi,"class",null,an.class,Xt),Ci&4&&he(fi,"style",cn.style,an.style,Xt),Ci&8){const rr=Ze.dynamicProps;for(let Mr=0;Mr<rr.length;Mr++){const Sa=rr[Mr],Zo=cn[Sa],Is=an[Sa];(Is!==Zo||Sa==="value")&&he(fi,Sa,Zo,Is,Xt,Le.children,Et,Kt,Ti)}}Ci&1&&Le.children!==Ze.children&&Wt(fi,Ze.children)}else!Mi&&ri==null&&je(fi,Ze,cn,an,Et,Kt,Xt);((xn=an.onVnodeUpdated)||on)&&vr(()=>{xn&&ga(xn,Et,Ze,Le),on&&ma(Ze,Le,Et,"updated")},Kt)},ve=(Le,Ze,Et,Kt,Xt,hi,Mi)=>{for(let fi=0;fi<Ze.length;fi++){const Ci=Le[fi],ri=Ze[fi],on=Ci.el&&(Ci.type===Zn||!nt(Ci,ri)||Ci.shapeFlag&70)?st(Ci.el):Et;Pi(Ci,ri,on,null,Kt,Xt,hi,Mi,!0)}},je=(Le,Ze,Et,Kt,Xt,hi,Mi)=>{if(Et!==Kt){if(Et!==g.EMPTY_OBJ)for(const fi in Et)!(0,g.isReservedProp)(fi)&&!(fi in Kt)&&he(Le,fi,Et[fi],null,Mi,Ze.children,Xt,hi,Ti);for(const fi in Kt){if((0,g.isReservedProp)(fi))continue;const Ci=Kt[fi],ri=Et[fi];Ci!==ri&&fi!=="value"&&he(Le,fi,ri,Ci,Mi,Ze.children,Xt,hi,Ti)}"value"in Kt&&he(Le,"value",Et.value,Kt.value)}},Me=(Le,Ze,Et,Kt,Xt,hi,Mi,fi,Ci)=>{const ri=Ze.el=Le?Le.el:Ye(""),on=Ze.anchor=Le?Le.anchor:Ye("");let{patchFlag:cn,dynamicChildren:an,slotScopeIds:xn}=Ze;xn&&(fi=fi?fi.concat(xn):xn),Le==null?(q(ri,Et,Kt),q(on,Et,Kt),V(Ze.children,Et,on,Xt,hi,Mi,fi,Ci)):cn>0&&cn&64&&an&&Le.dynamicChildren?(ve(Le.dynamicChildren,an,Et,Xt,hi,Mi,fi),(Ze.key!=null||Xt&&Ze===Xt.subTree)&&Xn(Le,Ze,!0)):Bt(Le,Ze,Et,on,Xt,hi,Mi,fi,Ci)},Xe=(Le,Ze,Et,Kt,Xt,hi,Mi,fi,Ci)=>{Ze.slotScopeIds=fi,Le==null?Ze.shapeFlag&512?Xt.ctx.activate(Ze,Et,Kt,Mi,Ci):_t(Ze,Et,Kt,Xt,hi,Mi,Ci):dt(Le,Ze,Ci)},_t=(Le,Ze,Et,Kt,Xt,hi,Mi)=>{const fi=Le.component=Ds(Le,Kt,Xt);if(Je(Le)&&(fi.ctx.renderer=Sr),Oe(fi),fi.asyncDep){if(Xt&&Xt.registerDep(fi,Mt),!Le.el){const Ci=fi.subTree=Zi(Nr);ti(null,Ci,Ze,Et)}return}Mt(fi,Le,Ze,Et,Xt,hi,Mi)},dt=(Le,Ze,Et)=>{const Kt=Ze.component=Le.component;if(mt(Le,Ze,Et))if(Kt.asyncDep&&!Kt.asyncResolved){Qe(Kt,Ze,Et);return}else Kt.next=Ze,F(Kt.update),Kt.update();else Ze.el=Le.el,Kt.vnode=Ze},Mt=(Le,Ze,Et,Kt,Xt,hi,Mi)=>{const fi=()=>{if(Le.isMounted){let{next:on,bu:cn,u:an,parent:xn,vnode:qn}=Le,rr=on,Mr;Za(Le,!1),on?(on.el=qn.el,Qe(Le,on,Mi)):on=qn,cn&&(0,g.invokeArrayFns)(cn),(Mr=on.props&&on.props.onVnodeBeforeUpdate)&&ga(Mr,xn,on,qn),Za(Le,!0);const Sa=er(Le),Zo=Le.subTree;Le.subTree=Sa,Pi(Zo,Sa,st(Zo.el),xi(Zo),Le,Xt,hi),on.el=Sa.el,rr===null&&ai(Le,Sa.el),an&&vr(an,Xt),(Mr=on.props&&on.props.onVnodeUpdated)&&vr(()=>ga(Mr,xn,on,qn),Xt),__VUE_PROD_DEVTOOLS__&&He(Le)}else{let on;const{el:cn,props:an}=Ze,{bm:xn,m:qn,parent:rr}=Le,Mr=kr(Ze);if(Za(Le,!1),xn&&(0,g.invokeArrayFns)(xn),!Mr&&(on=an&&an.onVnodeBeforeMount)&&ga(on,rr,Ze),Za(Le,!0),cn&&Jr){const Sa=()=>{Le.subTree=er(Le),Jr(cn,Le.subTree,Le,Xt,null)};Mr?Ze.type.__asyncLoader().then(()=>!Le.isUnmounted&&Sa()):Sa()}else{const Sa=Le.subTree=er(Le);Pi(null,Sa,Et,Kt,Le,Xt,hi),Ze.el=Sa.el}if(qn&&vr(qn,Xt),!Mr&&(on=an&&an.onVnodeMounted)){const Sa=Ze;vr(()=>ga(on,rr,Sa),Xt)}(Ze.shapeFlag&256||rr&&kr(rr.vnode)&&rr.vnode.shapeFlag&256)&&Le.a&&vr(Le.a,Xt),Le.isMounted=!0,__VUE_PROD_DEVTOOLS__&&ee(Le),Ze=Et=Kt=null}},Ci=Le.effect=new A.qq(fi,()=>We(ri),Le.scope),ri=Le.update=()=>Ci.run();ri.id=Le.uid,Za(Le,!0),ri()},Qe=(Le,Ze,Et)=>{Ze.component=Le;const Kt=Le.vnode.props;Le.vnode=Ze,Le.next=null,Gr(Le,Ze.props,Kt,Et),Ko(Le,Ze.children,Et),(0,A.Jd)(),Z(),(0,A.lk)()},Bt=(Le,Ze,Et,Kt,Xt,hi,Mi,fi,Ci=!1)=>{const ri=Le&&Le.children,on=Le?Le.shapeFlag:0,cn=Ze.children,{patchFlag:an,shapeFlag:xn}=Ze;if(an>0){if(an&128){si(ri,cn,Et,Kt,Xt,hi,Mi,fi,Ci);return}else if(an&256){Ht(ri,cn,Et,Kt,Xt,hi,Mi,fi,Ci);return}}xn&8?(on&16&&Ti(ri,Xt,hi),cn!==ri&&Wt(Et,cn)):on&16?xn&16?si(ri,cn,Et,Kt,Xt,hi,Mi,fi,Ci):Ti(ri,Xt,hi,!0):(on&8&&Wt(Et,""),xn&16&&V(cn,Et,Kt,Xt,hi,Mi,fi,Ci))},Ht=(Le,Ze,Et,Kt,Xt,hi,Mi,fi,Ci)=>{Le=Le||g.EMPTY_ARR,Ze=Ze||g.EMPTY_ARR;const ri=Le.length,on=Ze.length,cn=Math.min(ri,on);let an;for(an=0;an<cn;an++){const xn=Ze[an]=Ci?pr(Ze[an]):qr(Ze[an]);Pi(Le[an],xn,Et,null,Xt,hi,Mi,fi,Ci)}ri>on?Ti(Le,Xt,hi,!0,!1,cn):V(Ze,Et,Kt,Xt,hi,Mi,fi,Ci,cn)},si=(Le,Ze,Et,Kt,Xt,hi,Mi,fi,Ci)=>{let ri=0;const on=Ze.length;let cn=Le.length-1,an=on-1;for(;ri<=cn&&ri<=an;){const xn=Le[ri],qn=Ze[ri]=Ci?pr(Ze[ri]):qr(Ze[ri]);if(nt(xn,qn))Pi(xn,qn,Et,null,Xt,hi,Mi,fi,Ci);else break;ri++}for(;ri<=cn&&ri<=an;){const xn=Le[cn],qn=Ze[an]=Ci?pr(Ze[an]):qr(Ze[an]);if(nt(xn,qn))Pi(xn,qn,Et,null,Xt,hi,Mi,fi,Ci);else break;cn--,an--}if(ri>cn){if(ri<=an){const xn=an+1,qn=xn<on?Ze[xn].el:Kt;for(;ri<=an;)Pi(null,Ze[ri]=Ci?pr(Ze[ri]):qr(Ze[ri]),Et,qn,Xt,hi,Mi,fi,Ci),ri++}}else if(ri>an)for(;ri<=cn;)ci(Le[ri],Xt,hi,!0),ri++;else{const xn=ri,qn=ri,rr=new Map;for(ri=qn;ri<=an;ri++){const Ba=Ze[ri]=Ci?pr(Ze[ri]):qr(Ze[ri]);Ba.key!=null&&rr.set(Ba.key,ri)}let Mr,Sa=0;const Zo=an-qn+1;let Is=!1,es=0;const ts=new Array(Zo);for(ri=0;ri<Zo;ri++)ts[ri]=0;for(ri=xn;ri<=cn;ri++){const Ba=Le[ri];if(Sa>=Zo){ci(Ba,Xt,hi,!0);continue}let po;if(Ba.key!=null)po=rr.get(Ba.key);else for(Mr=qn;Mr<=an;Mr++)if(ts[Mr-qn]===0&&nt(Ba,Ze[Mr])){po=Mr;break}po===void 0?ci(Ba,Xt,hi,!0):(ts[po-qn]=ri+1,po>=es?es=po:Is=!0,Pi(Ba,Ze[po],Et,null,Xt,hi,Mi,fi,Ci),Sa++)}const Qs=Is?wo(ts):g.EMPTY_ARR;for(Mr=Qs.length-1,ri=Zo-1;ri>=0;ri--){const Ba=qn+ri,po=Ze[Ba],ul=Ba+1<on?Ze[Ba+1].el:Kt;ts[ri]===0?Pi(null,po,Et,ul,Xt,hi,Mi,fi,Ci):Is&&(Mr<0||ri!==Qs[Mr]?li(po,Et,ul,2):Mr--)}}},li=(Le,Ze,Et,Kt,Xt=null)=>{const{el:hi,type:Mi,transition:fi,children:Ci,shapeFlag:ri}=Le;if(ri&6){li(Le.component.subTree,Ze,Et,Kt);return}if(ri&128){Le.suspense.move(Ze,Et,Kt);return}if(ri&64){Mi.move(Le,Ze,Et,Sr);return}if(Mi===Zn){q(hi,Ze,Et);for(let cn=0;cn<Ci.length;cn++)li(Ci[cn],Ze,Et,Kt);q(Le.anchor,Ze,Et);return}if(Mi===eo){a(Le,Ze,Et);return}if(Kt!==2&&ri&1&&fi)if(Kt===0)fi.beforeEnter(hi),q(hi,Ze,Et),vr(()=>fi.enter(hi),Xt);else{const{leave:cn,delayLeave:an,afterLeave:xn}=fi,qn=()=>q(hi,Ze,Et),rr=()=>{cn(hi,()=>{qn(),xn&&xn()})};an?an(hi,qn,rr):rr()}else q(hi,Ze,Et)},ci=(Le,Ze,Et,Kt=!1,Xt=!1)=>{const{type:hi,props:Mi,ref:fi,children:Ci,dynamicChildren:ri,shapeFlag:on,patchFlag:cn,dirs:an}=Le;if(fi!=null&&_o(fi,null,Et,Le,!0),on&256){Ze.ctx.deactivate(Le);return}const xn=on&1&&an,qn=!kr(Le);let rr;if(qn&&(rr=Mi&&Mi.onVnodeBeforeUnmount)&&ga(rr,Ze,Le),on&6)Ii(Le.component,Et,Kt);else{if(on&128){Le.suspense.unmount(Et,Kt);return}xn&&ma(Le,null,Ze,"beforeUnmount"),on&64?Le.type.remove(Le,Ze,Et,Xt,Sr,Kt):ri&&(hi!==Zn||cn>0&&cn&64)?Ti(ri,Ze,Et,!1,!0):(hi===Zn&&cn&384||!Xt&&on&16)&&Ti(Ci,Ze,Et),Kt&&ni(Le)}(qn&&(rr=Mi&&Mi.onVnodeUnmounted)||xn)&&vr(()=>{rr&&ga(rr,Ze,Le),xn&&ma(Le,null,Ze,"unmounted")},Et)},ni=Le=>{const{type:Ze,el:Et,anchor:Kt,transition:Xt}=Le;if(Ze===Zn){wi(Et,Kt);return}if(Ze===eo){c(Le);return}const hi=()=>{fe(Et),Xt&&!Xt.persisted&&Xt.afterLeave&&Xt.afterLeave()};if(Le.shapeFlag&1&&Xt&&!Xt.persisted){const{leave:Mi,delayLeave:fi}=Xt,Ci=()=>Mi(Et,hi);fi?fi(Le.el,hi,Ci):Ci()}else hi()},wi=(Le,Ze)=>{let Et;for(;Le!==Ze;)Et=Pt(Le),fe(Le),Le=Et;fe(Ze)},Ii=(Le,Ze,Et)=>{const{bum:Kt,scope:Xt,update:hi,subTree:Mi,um:fi}=Le;Kt&&(0,g.invokeArrayFns)(Kt),Xt.stop(),hi&&(hi.active=!1,ci(Mi,Le,Ze,Et)),fi&&vr(fi,Ze),vr(()=>{Le.isUnmounted=!0},Ze),Ze&&Ze.pendingBranch&&!Ze.isUnmounted&&Le.asyncDep&&!Le.asyncResolved&&Le.suspenseId===Ze.pendingId&&(Ze.deps--,Ze.deps===0&&Ze.resolve()),__VUE_PROD_DEVTOOLS__&&Ue(Le)},Ti=(Le,Ze,Et,Kt=!1,Xt=!1,hi=0)=>{for(let Mi=hi;Mi<Le.length;Mi++)ci(Le[Mi],Ze,Et,Kt,Xt)},xi=Le=>Le.shapeFlag&6?xi(Le.component.subTree):Le.shapeFlag&128?Le.suspense.next():Pt(Le.anchor||Le.el),sr=(Le,Ze,Et)=>{Le==null?Ze._vnode&&ci(Ze._vnode,null,null,!0):Pi(Ze._vnode||null,Le,Ze,null,null,null,Et),Z(),Pe(),Ze._vnode=Le},Sr={p:Pi,um:ci,m:li,r:ni,mt:_t,mc:V,pc:Bt,pbc:ve,n:xi,o};let $r,Jr;return y&&([$r,Jr]=y(Sr)),{render:sr,hydrate:$r,createApp:ls(sr,$r)}}function Za({effect:o,update:y},U){o.allowRecurse=y.allowRecurse=U}function Xn(o,y,U=!1){const q=o.children,fe=y.children;if((0,g.isArray)(q)&&(0,g.isArray)(fe))for(let he=0;he<q.length;he++){const Ae=q[he];let Ye=fe[he];Ye.shapeFlag&1&&!Ye.dynamicChildren&&((Ye.patchFlag<=0||Ye.patchFlag===32)&&(Ye=fe[he]=pr(fe[he]),Ye.el=Ae.el),U||Xn(Ae,Ye))}}function wo(o){const y=o.slice(),U=[0];let q,fe,he,Ae,Ye;const rt=o.length;for(q=0;q<rt;q++){const vt=o[q];if(vt!==0){if(fe=U[U.length-1],o[fe]<vt){y[q]=fe,U.push(q);continue}for(he=0,Ae=U.length-1;he<Ae;)Ye=he+Ae>>1,o[U[Ye]]<vt?he=Ye+1:Ae=Ye;vt<o[U[he]]&&(he>0&&(y[q]=U[he-1]),U[he]=q)}}for(he=U.length,Ae=U[he-1];he-- >0;)U[he]=Ae,Ae=y[Ae];return U}const La=o=>o.__isTeleport,Wr=o=>o&&(o.disabled||o.disabled===""),jo=o=>typeof SVGElement!="undefined"&&o instanceof SVGElement,ha=(o,y)=>{const U=o&&o.to;if((0,g.isString)(U))if(y){const q=y(U);return q}else return null;else return U},Ts={__isTeleport:!0,process(o,y,U,q,fe,he,Ae,Ye,rt,vt){const{mc:Wt,pc:st,pbc:Pt,o:{insert:oi,querySelector:di,createText:Pi,createComment:Dn}}=vt,ti=Wr(y.props);let{shapeFlag:ut,children:Y,dynamicChildren:a}=y;if(o==null){const c=y.el=Pi(""),m=y.anchor=Pi("");oi(c,U,q),oi(m,U,q);const b=y.target=ha(y.props,di),k=y.targetAnchor=Pi("");b&&(oi(k,b),Ae=Ae||jo(b));const V=(G,ve)=>{ut&16&&Wt(Y,G,ve,fe,he,Ae,Ye,rt)};ti?V(U,m):b&&V(b,k)}else{y.el=o.el;const c=y.anchor=o.anchor,m=y.target=o.target,b=y.targetAnchor=o.targetAnchor,k=Wr(o.props),V=k?U:m,G=k?c:b;if(Ae=Ae||jo(m),a?(Pt(o.dynamicChildren,a,V,fe,he,Ae,Ye),Xn(o,y,!0)):rt||st(o,y,V,G,fe,he,Ae,Ye,!1),ti)k||ko(y,U,c,vt,1);else if((y.props&&y.props.to)!==(o.props&&o.props.to)){const ve=y.target=ha(y.props,di);ve&&ko(y,ve,null,vt,0)}else k&&ko(y,m,b,vt,1)}},remove(o,y,U,q,{um:fe,o:{remove:he}},Ae){const{shapeFlag:Ye,children:rt,anchor:vt,targetAnchor:Wt,target:st,props:Pt}=o;if(st&&he(Wt),(Ae||!Wr(Pt))&&(he(vt),Ye&16))for(let oi=0;oi<rt.length;oi++){const di=rt[oi];fe(di,y,U,!0,!!di.dynamicChildren)}},move:ko,hydrate:cs};function ko(o,y,U,{o:{insert:q},m:fe},he=2){he===0&&q(o.targetAnchor,y,U);const{el:Ae,anchor:Ye,shapeFlag:rt,children:vt,props:Wt}=o,st=he===2;if(st&&q(Ae,y,U),(!st||Wr(Wt))&&rt&16)for(let Pt=0;Pt<vt.length;Pt++)fe(vt[Pt],y,U,2);st&&q(Ye,y,U)}function cs(o,y,U,q,fe,he,{o:{nextSibling:Ae,parentNode:Ye,querySelector:rt}},vt){const Wt=y.target=ha(y.props,rt);if(Wt){const st=Wt._lpa||Wt.firstChild;if(y.shapeFlag&16)if(Wr(y.props))y.anchor=vt(Ae(o),y,Ye(o),U,q,fe,he),y.targetAnchor=st;else{y.anchor=Ae(o);let Pt=st;for(;Pt;)if(Pt=Ae(Pt),Pt&&Pt.nodeType===8&&Pt.data==="teleport anchor"){y.targetAnchor=Pt,Wt._lpa=y.targetAnchor&&Ae(y.targetAnchor);break}vt(st,y,Wt,U,q,fe,he)}}return y.anchor&&Ae(y.anchor)}const xo=Ts,Zn=Symbol(void 0),za=Symbol(void 0),Nr=Symbol(void 0),eo=Symbol(void 0),Wa=[];let xr=null;function so(o=!1){Wa.push(xr=o?null:[])}function lo(){Wa.pop(),xr=Wa[Wa.length-1]||null}let co=1;function Xo(o){co+=o}function _e(o){return o.dynamicChildren=co>0?xr||g.EMPTY_ARR:null,lo(),co>0&&xr&&xr.push(o),o}function $e(o,y,U,q,fe,he){return _e(Yi(o,y,U,q,fe,he,!0))}function it(o,y,U,q,fe){return _e(Zi(o,y,U,q,fe,!0))}function Rt(o){return o?o.__v_isVNode===!0:!1}function nt(o,y){return o.type===y.type&&o.key===y.key}let Ut;function Zt(o){Ut=o}const bi=(...o)=>dr(...Ut?Ut(o,Ei):o),ji="__vInternal",fn=({key:o})=>o!=null?o:null,sn=({ref:o,ref_key:y,ref_for:U})=>o!=null?(0,g.isString)(o)||(0,A.dq)(o)||(0,g.isFunction)(o)?{i:Ei,r:o,k:y,f:!!U}:o:null;function Yi(o,y=null,U=null,q=0,fe=null,he=o===Zn?0:1,Ae=!1,Ye=!1){const rt={__v_isVNode:!0,__v_skip:!0,type:o,props:y,key:y&&fn(y),ref:y&&sn(y),scopeId:Kn,slotScopeIds:null,children:U,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:he,patchFlag:q,dynamicProps:fe,dynamicChildren:null,appContext:null};return Ye?(Ao(rt,U),he&128&&o.normalize(rt)):U&&(rt.shapeFlag|=(0,g.isString)(U)?8:16),co>0&&!Ae&&xr&&(rt.patchFlag>0||he&6)&&rt.patchFlag!==32&&xr.push(rt),rt}const Zi=dr;function dr(o,y=null,U=null,q=0,fe=null,he=!1){if((!o||o===$o)&&(o=Nr),Rt(o)){const Ye=Ln(o,y,!0);return U&&Ao(Ye,U),co>0&&!he&&xr&&(Ye.shapeFlag&6?xr[xr.indexOf(o)]=Ye:xr.push(Ye)),Ye.patchFlag|=-2,Ye}if(Po(o)&&(o=o.__vccOpts),y){y=ln(y);let{class:Ye,style:rt}=y;Ye&&!(0,g.isString)(Ye)&&(y.class=(0,g.normalizeClass)(Ye)),(0,g.isObject)(rt)&&((0,A.X3)(rt)&&!(0,g.isArray)(rt)&&(rt=(0,g.extend)({},rt)),y.style=(0,g.normalizeStyle)(rt))}const Ae=(0,g.isString)(o)?1:Di(o)?128:La(o)?64:(0,g.isObject)(o)?4:(0,g.isFunction)(o)?2:0;return Yi(o,y,U,q,fe,Ae,he,!0)}function ln(o){return o?(0,A.X3)(o)||ji in o?(0,g.extend)({},o):o:null}function Ln(o,y,U=!1){const{props:q,ref:fe,patchFlag:he,children:Ae}=o,Ye=y?Vo(q||{},y):q;return{__v_isVNode:!0,__v_skip:!0,type:o.type,props:Ye,key:Ye&&fn(Ye),ref:y&&y.ref?U&&fe?(0,g.isArray)(fe)?fe.concat(sn(y)):[fe,sn(y)]:sn(y):fe,scopeId:o.scopeId,slotScopeIds:o.slotScopeIds,children:Ae,target:o.target,targetAnchor:o.targetAnchor,staticCount:o.staticCount,shapeFlag:o.shapeFlag,patchFlag:y&&o.type!==Zn?he===-1?16:he|16:he,dynamicProps:o.dynamicProps,dynamicChildren:o.dynamicChildren,appContext:o.appContext,dirs:o.dirs,transition:o.transition,component:o.component,suspense:o.suspense,ssContent:o.ssContent&&Ln(o.ssContent),ssFallback:o.ssFallback&&Ln(o.ssFallback),el:o.el,anchor:o.anchor}}function Lr(o){const y=Ln(o);return isArray(o.children)&&(y.children=o.children.map(Lr)),y}function ia(o=" ",y=0){return Zi(za,null,o,y)}function Jn(o,y){const U=Zi(eo,null,o);return U.staticCount=y,U}function uo(o="",y=!1){return y?(so(),it(Nr,null,o)):Zi(Nr,null,o)}function qr(o){return o==null||typeof o=="boolean"?Zi(Nr):(0,g.isArray)(o)?Zi(Zn,null,o.slice()):typeof o=="object"?pr(o):Zi(za,null,String(o))}function pr(o){return o.el===null&&o.patchFlag!==-1||o.memo?o:Ln(o)}function Ao(o,y){let U=0;const{shapeFlag:q}=o;if(y==null)y=null;else if((0,g.isArray)(y))U=16;else if(typeof y=="object")if(q&65){const fe=y.default;fe&&(fe._c&&(fe._d=!1),Ao(o,fe()),fe._c&&(fe._d=!0));return}else{U=32;const fe=y._;!fe&&!(ji in y)?y._ctx=Ei:fe===3&&Ei&&(Ei.slots._===1?y._=1:(y._=2,o.patchFlag|=1024))}else(0,g.isFunction)(y)?(y={default:y,_ctx:Ei},U=32):(y=String(y),q&64?(U=16,y=[ia(y)]):U=8);o.children=y,o.shapeFlag|=U}function Vo(...o){const y={};for(let U=0;U<o.length;U++){const q=o[U];for(const fe in q)if(fe==="class")y.class!==q.class&&(y.class=(0,g.normalizeClass)([y.class,q.class]));else if(fe==="style")y.style=(0,g.normalizeStyle)([y.style,q.style]);else if((0,g.isOn)(fe)){const he=y[fe],Ae=q[fe];Ae&&he!==Ae&&!((0,g.isArray)(he)&&he.includes(Ae))&&(y[fe]=he?[].concat(he,Ae):Ae)}else fe!==""&&(y[fe]=q[fe])}return y}function ga(o,y,U,q=null){n(o,y,7,[U,q])}const Jo=Fa();let Js=0;function Ds(o,y,U){const q=o.type,fe=(y?y.appContext:o.appContext)||Jo,he={uid:Js++,vnode:o,type:q,parent:y,appContext:fe,root:null,next:null,subTree:null,effect:null,update:null,scope:new A.Bj(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:y?y.provides:Object.create(fe.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Dr(q,fe),emitsOptions:An(q,fe),emit:null,emitted:null,propsDefaults:g.EMPTY_OBJ,inheritAttrs:q.inheritAttrs,ctx:g.EMPTY_OBJ,data:g.EMPTY_OBJ,props:g.EMPTY_OBJ,attrs:g.EMPTY_OBJ,slots:g.EMPTY_OBJ,refs:g.EMPTY_OBJ,setupState:g.EMPTY_OBJ,setupContext:null,suspense:U,suspenseId:U?U.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return he.ctx={_:he},he.root=y?y.root:he,he.emit=Cn.bind(null,he),o.ce&&o.ce(he),he}let Xr=null;const Qo=()=>Xr||Ei,da=o=>{Xr=o,o.scope.on()},l=()=>{Xr&&Xr.scope.off(),Xr=null},x=null;function R(o,y){const U=y.isNativeTag||NO;(x(o)||U(o))&&oe("Do not use built-in or reserved HTML elements as component id: "+o)}function re(o){return o.vnode.shapeFlag&4}let Ce=!1;function Oe(o,y=!1){Ce=y;const{props:U,children:q}=o.vnode,fe=re(o);Pr(o,U,fe,y),ao(o,q);const he=fe?Ie(o,y):void 0;return Ce=!1,he}function Ie(o,y){var U;const q=o.type;o.accessCache=Object.create(null),o.proxy=(0,A.Xl)(new Proxy(o.ctx,ss));const{setup:fe}=q;if(fe){const he=o.setupContext=fe.length>1?dn(o):null;da(o),(0,A.Jd)();const Ae=se(fe,o,0,[o.props,he]);if((0,A.lk)(),l(),(0,g.isPromise)(Ae)){if(Ae.then(l,l),y)return Ae.then(Ye=>{Re(o,Ye,y)}).catch(Ye=>{C(Ye,o,0)});o.asyncDep=Ae}else Re(o,Ae,y)}else _i(o,y)}function Re(o,y,U){(0,g.isFunction)(y)?o.type.__ssrInlineRender?o.ssrRender=y:o.render=y:(0,g.isObject)(y)&&(__VUE_PROD_DEVTOOLS__&&(o.devtoolsRawSetupState=y),o.setupState=(0,A.WL)(y)),_i(o,U)}let Ge,gt;function ii(o){Ge=o,gt=y=>{y.render._rc&&(y.withProxy=new Proxy(y.ctx,Cs))}}const ei=()=>!Ge;function _i(o,y,U){const q=o.type;if(!o.render){if(!y&&Ge&&!q.render){const fe=q.template||Ne(o).template;if(fe){const{isCustomElement:he,compilerOptions:Ae}=o.appContext.config,{delimiters:Ye,compilerOptions:rt}=q,vt=(0,g.extend)((0,g.extend)({isCustomElement:he,delimiters:Ye},Ae),rt);q.render=Ge(fe,vt)}}o.render=q.render||g.NOOP,gt&>(o)}__VUE_OPTIONS_API__&&(da(o),(0,A.Jd)(),W(o),(0,A.lk)(),l())}function Bi(o){return new Proxy(o.attrs,{get(y,U){return(0,A.j)(o,"get","$attrs"),y[U]}})}function dn(o){const y=q=>{o.exposed=q||{}};let U;return{get attrs(){return U||(U=Bi(o))},slots:o.slots,emit:o.emit,expose:y}}function vn(o){if(o.exposed)return o.exposeProxy||(o.exposeProxy=new Proxy((0,A.WL)((0,A.Xl)(o.exposed)),{get(y,U){if(U in y)return y[U];if(U in Yr)return Yr[U](o)}}))}const jn=/(?:^|[-_])(\w)/g,Tn=o=>o.replace(jn,y=>y.toUpperCase()).replace(/[-_]/g,"");function zn(o,y=!0){return(0,g.isFunction)(o)?o.displayName||o.name:o.name||y&&o.__name}function va(o,y,U=!1){let q=zn(y);if(!q&&y.__file){const fe=y.__file.match(/([^/\\]+)\.\w+$/);fe&&(q=fe[1])}if(!q&&o&&o.parent){const fe=he=>{for(const Ae in he)if(he[Ae]===y)return Ae};q=fe(o.components||o.parent.type.components)||fe(o.appContext.components)}return q?Tn(q):U?"App":"Anonymous"}function Po(o){return(0,g.isFunction)(o)&&"__vccOpts"in o}const na=(o,y)=>(0,A.Fl)(o,y,Ce),Do=o=>oe(`${o}() is a compiler-hint helper that is only usable inside <script setup> of a single file component. Its arguments should be compiled away and passing it at runtime has no effect.`);function yr(){return null}function yn(){return null}function Wn(o){}function Rr(o,y){return null}function Fn(){return Er().slots}function ur(){return Er().attrs}function Er(){const o=Qo();return o.setupContext||(o.setupContext=dn(o))}function ra(o,y){const U=(0,g.isArray)(o)?o.reduce((q,fe)=>(q[fe]={},q),{}):o;for(const q in y){const fe=U[q];fe?(0,g.isArray)(fe)||(0,g.isFunction)(fe)?U[q]={type:fe,default:y[q]}:fe.default=y[q]:fe===null&&(U[q]={default:y[q]})}return U}function xa(o,y){const U={};for(const q in o)y.includes(q)||Object.defineProperty(U,q,{enumerable:!0,get:()=>o[q]});return U}function Es(o){const y=Qo();let U=o();return l(),(0,g.isPromise)(U)&&(U=U.catch(q=>{throw da(y),q})),[U,()=>da(y)]}function us(o,y,U){const q=arguments.length;return q===2?(0,g.isObject)(y)&&!(0,g.isArray)(y)?Rt(y)?Zi(o,null,[y]):Zi(o,y):Zi(o,null,y):(q>3?U=Array.prototype.slice.call(arguments,2):q===3&&Rt(U)&&(U=[U]),Zi(o,y,U))}const So=Symbol(""),hs=()=>{{const o=jr(So);return o||oe("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),o}};function Rs(o){return!!(o&&o.__v_isShallow)}function ll(){return;function he(st){const Pt=[];st.type.props&&st.props&&Pt.push(Ae("props",(0,A.IU)(st.props))),st.setupState!==g.EMPTY_OBJ&&Pt.push(Ae("setup",st.setupState)),st.data!==g.EMPTY_OBJ&&Pt.push(Ae("data",(0,A.IU)(st.data)));const oi=rt(st,"computed");oi&&Pt.push(Ae("computed",oi));const di=rt(st,"inject");return di&&Pt.push(Ae("injected",di)),Pt.push(["div",{},["span",{style:q.style+";opacity:0.66"},"$ (internal): "],["object",{object:st}]]),Pt}function Ae(st,Pt){return Pt=(0,g.extend)({},Pt),Object.keys(Pt).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},st],["div",{style:"padding-left:1.25em"},...Object.keys(Pt).map(oi=>["div",{},["span",q,oi+": "],Ye(Pt[oi],!1)])]]:["span",{}]}function Ye(st,Pt=!0){return typeof st=="number"?["span",y,st]:typeof st=="string"?["span",U,JSON.stringify(st)]:typeof st=="boolean"?["span",q,st]:(0,g.isObject)(st)?["object",{object:Pt?(0,A.IU)(st):st}]:["span",U,String(st)]}function rt(st,Pt){const oi=st.type;if((0,g.isFunction)(oi))return;const di={};for(const Pi in st.ctx)vt(oi,Pi,Pt)&&(di[Pi]=st.ctx[Pi]);return di}function vt(st,Pt,oi){const di=st[oi];if((0,g.isArray)(di)&&di.includes(Pt)||(0,g.isObject)(di)&&Pt in di||st.extends&&vt(st.extends,Pt,oi)||st.mixins&&st.mixins.some(Pi=>vt(Pi,Pt,oi)))return!0}function Wt(st){return Rs(st)?"ShallowRef":st.effect?"ComputedRef":"Ref"}}function Ks(o,y,U,q){const fe=U[q];if(fe&&Ms(fe,o))return fe;const he=y();return he.memo=o.slice(),U[q]=he}function Ms(o,y){const U=o.memo;if(U.length!=y.length)return!1;for(let q=0;q<U.length;q++)if((0,g.hasChanged)(U[q],y[q]))return!1;return co>0&&xr&&xr.push(o),!0}const fs="3.2.40",cl={createComponentInstance:Ds,setupComponent:Oe,renderComponentRoot:er,setCurrentRenderingInstance:Yn,isVNode:Rt,normalizeVNode:qr},bl=null,gs=null},"./node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js":function(v,yt,At){"use strict";At.r(yt),At.d(yt,{BaseTransition:function(){return g.P$},Comment:function(){return g.sv},EffectScope:function(){return g.Bj},Fragment:function(){return g.HY},KeepAlive:function(){return g.Ob},ReactiveEffect:function(){return g.qq},Static:function(){return g.qG},Suspense:function(){return g.n4},Teleport:function(){return g.lR},Text:function(){return g.xv},Transition:function(){return pt},TransitionGroup:function(){return Cn},VueElement:function(){return ne},callWithAsyncErrorHandling:function(){return g.$d},callWithErrorHandling:function(){return g.KU},camelize:function(){return g._A},capitalize:function(){return g.kC},cloneVNode:function(){return g.Ho},compatUtils:function(){return g.ry},computed:function(){return g.Fl},createApp:function(){return jr},createBlock:function(){return g.j4},createCommentVNode:function(){return g.kq},createElementBlock:function(){return g.iD},createElementVNode:function(){return g._},createHydrationRenderer:function(){return g.Eo},createPropsRestProxy:function(){return g.p1},createRenderer:function(){return g.Us},createSSRApp:function(){return la},createSlots:function(){return g.Nv},createStaticVNode:function(){return g.uE},createTextVNode:function(){return g.Uk},createVNode:function(){return g.Wm},customRef:function(){return g.ZM},defineAsyncComponent:function(){return g.RC},defineComponent:function(){return g.aZ},defineCustomElement:function(){return Pe},defineEmits:function(){return g.Bz},defineExpose:function(){return g.WY},defineProps:function(){return g.MW},defineSSRCustomElement:function(){return Ke},devtools:function(){return g.mW},effect:function(){return g.cE},effectScope:function(){return g.B},getCurrentInstance:function(){return g.FN},getCurrentScope:function(){return g.nZ},getTransitionRawChildren:function(){return g.Q6},guardReactiveProps:function(){return g.F4},h:function(){return g.h},handleError:function(){return g.S3},hydrate:function(){return Ma},initCustomFormatter:function(){return g.Mr},initDirectivesForSSR:function(){return pa},inject:function(){return g.f3},isMemoSame:function(){return g.nQ},isProxy:function(){return g.X3},isReactive:function(){return g.PG},isReadonly:function(){return g.$y},isRef:function(){return g.dq},isRuntimeOnly:function(){return g.of},isShallow:function(){return g.yT},isVNode:function(){return g.lA},markRaw:function(){return g.Xl},mergeDefaults:function(){return g.u_},mergeProps:function(){return g.dG},nextTick:function(){return g.Y3},normalizeClass:function(){return g.C_},normalizeProps:function(){return g.vs},normalizeStyle:function(){return g.j5},onActivated:function(){return g.dl},onBeforeMount:function(){return g.wF},onBeforeUnmount:function(){return g.Jd},onBeforeUpdate:function(){return g.Xn},onDeactivated:function(){return g.se},onErrorCaptured:function(){return g.d1},onMounted:function(){return g.bv},onRenderTracked:function(){return g.bT},onRenderTriggered:function(){return g.Yq},onScopeDispose:function(){return g.EB},onServerPrefetch:function(){return g.vl},onUnmounted:function(){return g.Ah},onUpdated:function(){return g.ic},openBlock:function(){return g.wg},popScopeId:function(){return g.Cn},provide:function(){return g.JJ},proxyRefs:function(){return g.WL},pushScopeId:function(){return g.dD},queuePostFlushCb:function(){return g.qb},reactive:function(){return g.qj},readonly:function(){return g.OT},ref:function(){return g.iH},registerRuntimeCompiler:function(){return g.Y1},render:function(){return ir},renderList:function(){return g.Ko},renderSlot:function(){return g.WI},resolveComponent:function(){return g.up},resolveDirective:function(){return g.Q2},resolveDynamicComponent:function(){return g.LL},resolveFilter:function(){return g.eq},resolveTransitionHooks:function(){return g.U2},setBlockTracking:function(){return g.qZ},setDevtoolsHook:function(){return g.ec},setTransitionHooks:function(){return g.nK},shallowReactive:function(){return g.Um},shallowReadonly:function(){return g.YS},shallowRef:function(){return g.XI},ssrContextKey:function(){return g.Uc},ssrUtils:function(){return g.G},stop:function(){return g.sT},toDisplayString:function(){return g.zw},toHandlerKey:function(){return g.hR},toHandlers:function(){return g.mx},toRaw:function(){return g.IU},toRef:function(){return g.Vh},toRefs:function(){return g.BK},transformVNodeArgs:function(){return g.C3},triggerRef:function(){return g.oR},unref:function(){return g.SU},useAttrs:function(){return g.l1},useCssModule:function(){return ae},useCssVars:function(){return Ve},useSSRContext:function(){return g.Zq},useSlots:function(){return g.Rr},useTransitionState:function(){return g.Y8},vModelCheckbox:function(){return tn},vModelDynamic:function(){return fr},vModelRadio:function(){return un},vModelSelect:function(){return er},vModelText:function(){return qi},vShow:function(){return Hn},version:function(){return g.i8},warn:function(){return g.ZK},watch:function(){return g.YP},watchEffect:function(){return g.m0},watchPostEffect:function(){return g.Rh},watchSyncEffect:function(){return g.yX},withAsyncContext:function(){return g.mv},withCtx:function(){return g.w5},withDefaults:function(){return g.b9},withDirectives:function(){return g.wy},withKeys:function(){return In},withMemo:function(){return g.MX},withModifiers:function(){return hn},withScopeId:function(){return g.HX}});var A=At("./node_modules/@vue/shared/dist/shared.esm-bundler.js"),g=At("./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js"),me=At("./node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js");const et="http://www.w3.org/2000/svg",z=typeof document!="undefined"?document:null,oe=z&&z.createElement("template"),d={insert:(ie,ye,Be)=>{ye.insertBefore(ie,Be||null)},remove:ie=>{const ye=ie.parentNode;ye&&ye.removeChild(ie)},createElement:(ie,ye,Be,lt)=>{const Lt=ye?z.createElementNS(et,ie):z.createElement(ie,Be?{is:Be}:void 0);return ie==="select"&<&<.multiple!=null&&Lt.setAttribute("multiple",lt.multiple),Lt},createText:ie=>z.createTextNode(ie),createComment:ie=>z.createComment(ie),setText:(ie,ye)=>{ie.nodeValue=ye},setElementText:(ie,ye)=>{ie.textContent=ye},parentNode:ie=>ie.parentNode,nextSibling:ie=>ie.nextSibling,querySelector:ie=>z.querySelector(ie),setScopeId(ie,ye){ie.setAttribute(ye,"")},insertStaticContent(ie,ye,Be,lt,Lt,Jt){const yi=Be?Be.previousSibling:ye.lastChild;if(Lt&&(Lt===Jt||Lt.nextSibling))for(;ye.insertBefore(Lt.cloneNode(!0),Be),!(Lt===Jt||!(Lt=Lt.nextSibling)););else{oe.innerHTML=lt?`<svg>${ie}</svg>`:ie;const Ni=oe.content;if(lt){const Oi=Ni.firstChild;for(;Oi.firstChild;)Ni.appendChild(Oi.firstChild);Ni.removeChild(Oi)}ye.insertBefore(Ni,Be)}return[yi?yi.nextSibling:ye.firstChild,Be?Be.previousSibling:ye.lastChild]}};function N(ie,ye,Be){const lt=ie._vtc;lt&&(ye=(ye?[ye,...lt]:[...lt]).join(" ")),ye==null?ie.removeAttribute("class"):Be?ie.setAttribute("class",ye):ie.className=ye}function L(ie,ye,Be){const lt=ie.style,Lt=(0,A.isString)(Be);if(Be&&!Lt){for(const Jt in Be)T(lt,Jt,Be[Jt]);if(ye&&!(0,A.isString)(ye))for(const Jt in ye)Be[Jt]==null&&T(lt,Jt,"")}else{const Jt=lt.display;Lt?ye!==Be&&(lt.cssText=Be):ye&&ie.removeAttribute("style"),"_vod"in ie&&(lt.display=Jt)}}const B=/\s*!important$/;function T(ie,ye,Be){if((0,A.isArray)(Be))Be.forEach(lt=>T(ie,ye,lt));else if(Be==null&&(Be=""),ye.startsWith("--"))ie.setProperty(ye,Be);else{const lt=n(ie,ye);B.test(Be)?ie.setProperty((0,A.hyphenate)(lt),Be.replace(B,""),"important"):ie[lt]=Be}}const H=["Webkit","Moz","ms"],se={};function n(ie,ye){const Be=se[ye];if(Be)return Be;let lt=(0,A.camelize)(ye);if(lt!=="filter"&< in ie)return se[ye]=lt;lt=(0,A.capitalize)(lt);for(let Lt=0;Lt<H.length;Lt++){const Jt=H[Lt]+lt;if(Jt in ie)return se[ye]=Jt}return ye}const C="http://www.w3.org/1999/xlink";function D(ie,ye,Be,lt,Lt){if(lt&&ye.startsWith("xlink:"))Be==null?ie.removeAttributeNS(C,ye.slice(6,ye.length)):ie.setAttributeNS(C,ye,Be);else{const Jt=(0,A.isSpecialBooleanAttr)(ye);Be==null||Jt&&!(0,A.includeBooleanAttr)(Be)?ie.removeAttribute(ye):ie.setAttribute(ye,Jt?"":Be)}}function ge(ie,ye,Be,lt,Lt,Jt,yi){if(ye==="innerHTML"||ye==="textContent"){lt&&yi(lt,Lt,Jt),ie[ye]=Be==null?"":Be;return}if(ye==="value"&&ie.tagName!=="PROGRESS"&&!ie.tagName.includes("-")){ie._value=Be;const Oi=Be==null?"":Be;(ie.value!==Oi||ie.tagName==="OPTION")&&(ie.value=Oi),Be==null&&ie.removeAttribute(ye);return}let Ni=!1;if(Be===""||Be==null){const Oi=typeof ie[ye];Oi==="boolean"?Be=(0,A.includeBooleanAttr)(Be):Be==null&&Oi==="string"?(Be="",Ni=!0):Oi==="number"&&(Be=0,Ni=!0)}try{ie[ye]=Be}catch(Oi){}Ni&&ie.removeAttribute(ye)}const[de,be]=(()=>{let ie=Date.now,ye=!1;if(typeof window!="undefined"){Date.now()>document.createEvent("Event").timeStamp&&(ie=performance.now.bind(performance));const Be=navigator.userAgent.match(/firefox\/(\d+)/i);ye=!!(Be&&Number(Be[1])<=53)}return[ie,ye]})();let we=0;const Te=Promise.resolve(),J=()=>{we=0},s=()=>we||(Te.then(J),we=de());function ce(ie,ye,Be,lt){ie.addEventListener(ye,Be,lt)}function De(ie,ye,Be,lt){ie.removeEventListener(ye,Be,lt)}function ke(ie,ye,Be,lt,Lt=null){const Jt=ie._vei||(ie._vei={}),yi=Jt[ye];if(lt&&yi)yi.value=lt;else{const[Ni,Oi]=pe(ye);if(lt){const Ri=Jt[ye]=We(lt,Lt);ce(ie,Ni,Ri,Oi)}else yi&&(De(ie,Ni,yi,Oi),Jt[ye]=void 0)}}const le=/(?:Once|Passive|Capture)$/;function pe(ie){let ye;if(le.test(ie)){ye={};let lt;for(;lt=ie.match(le);)ie=ie.slice(0,ie.length-lt[0].length),ye[lt[0].toLowerCase()]=!0}return[ie[2]===":"?ie.slice(3):(0,A.hyphenate)(ie.slice(2)),ye]}function We(ie,ye){const Be=lt=>{const Lt=lt.timeStamp||de();(be||Lt>=Be.attached-1)&&(0,g.$d)(I(lt,Be.value),ye,5,[lt])};return Be.value=ie,Be.attached=s(),Be}function I(ie,ye){if((0,A.isArray)(ye)){const Be=ie.stopImmediatePropagation;return ie.stopImmediatePropagation=()=>{Be.call(ie),ie._stopped=!0},ye.map(lt=>Lt=>!Lt._stopped&<&<(Lt))}else return ye}const F=/^on[a-z]/,M=(ie,ye,Be,lt,Lt=!1,Jt,yi,Ni,Oi)=>{ye==="class"?N(ie,lt,Lt):ye==="style"?L(ie,Be,lt):(0,A.isOn)(ye)?(0,A.isModelListener)(ye)||ke(ie,ye,Be,lt,yi):(ye[0]==="."?(ye=ye.slice(1),!0):ye[0]==="^"?(ye=ye.slice(1),!1):Z(ie,ye,lt,Lt))?ge(ie,ye,lt,Jt,yi,Ni,Oi):(ye==="true-value"?ie._trueValue=lt:ye==="false-value"&&(ie._falseValue=lt),D(ie,ye,lt,Lt))};function Z(ie,ye,Be,lt){return lt?!!(ye==="innerHTML"||ye==="textContent"||ye in ie&&F.test(ye)&&(0,A.isFunction)(Be)):ye==="spellcheck"||ye==="draggable"||ye==="translate"||ye==="form"||ye==="list"&&ie.tagName==="INPUT"||ye==="type"&&ie.tagName==="TEXTAREA"||F.test(ye)&&(0,A.isString)(Be)?!1:ye in ie}function Pe(ie,ye){const Be=(0,g.aZ)(ie);class lt extends ne{constructor(Jt){super(Be,Jt,ye)}}return lt.def=Be,lt}const Ke=ie=>Pe(ie,Ma),ot=typeof HTMLElement!="undefined"?HTMLElement:class{};class ne extends ot{constructor(ye,Be={},lt){super(),this._def=ye,this._props=Be,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&<?lt(this._createVNode(),this.shadowRoot):this.attachShadow({mode:"open"})}connectedCallback(){this._connected=!0,this._instance||this._resolveDef()}disconnectedCallback(){this._connected=!1,(0,g.Y3)(()=>{this._connected||(ir(null,this.shadowRoot),this._instance=null)})}_resolveDef(){if(this._resolved)return;this._resolved=!0;for(let lt=0;lt<this.attributes.length;lt++)this._setAttr(this.attributes[lt].name);new MutationObserver(lt=>{for(const Lt of lt)this._setAttr(Lt.attributeName)}).observe(this,{attributes:!0});const ye=lt=>{const{props:Lt,styles:Jt}=lt,yi=!(0,A.isArray)(Lt),Ni=Lt?yi?Object.keys(Lt):Lt:[];let Oi;if(yi)for(const Ri in this._props){const Li=Lt[Ri];(Li===Number||Li&&Li.type===Number)&&(this._props[Ri]=(0,A.toNumber)(this._props[Ri]),(Oi||(Oi=Object.create(null)))[Ri]=!0)}this._numberProps=Oi;for(const Ri of Object.keys(this))Ri[0]!=="_"&&this._setProp(Ri,this[Ri],!0,!1);for(const Ri of Ni.map(A.camelize))Object.defineProperty(this,Ri,{get(){return this._getProp(Ri)},set(Li){this._setProp(Ri,Li)}});this._applyStyles(Jt),this._update()},Be=this._def.__asyncLoader;Be?Be().then(ye):ye(this._def)}_setAttr(ye){let Be=this.getAttribute(ye);this._numberProps&&this._numberProps[ye]&&(Be=(0,A.toNumber)(Be)),this._setProp((0,A.camelize)(ye),Be,!1)}_getProp(ye){return this._props[ye]}_setProp(ye,Be,lt=!0,Lt=!0){Be!==this._props[ye]&&(this._props[ye]=Be,Lt&&this._instance&&this._update(),lt&&(Be===!0?this.setAttribute((0,A.hyphenate)(ye),""):typeof Be=="string"||typeof Be=="number"?this.setAttribute((0,A.hyphenate)(ye),Be+""):Be||this.removeAttribute((0,A.hyphenate)(ye))))}_update(){ir(this._createVNode(),this.shadowRoot)}_createVNode(){const ye=(0,g.Wm)(this._def,(0,A.extend)({},this._props));return this._instance||(ye.ce=Be=>{this._instance=Be,Be.isCE=!0,Be.emit=(Lt,...Jt)=>{this.dispatchEvent(new CustomEvent(Lt,{detail:Jt}))};let lt=this;for(;lt=lt&&(lt.parentNode||lt.host);)if(lt instanceof ne){Be.parent=lt._instance;break}}),ye}_applyStyles(ye){ye&&ye.forEach(Be=>{const lt=document.createElement("style");lt.textContent=Be,this.shadowRoot.appendChild(lt)})}}function ae(ie="$style"){{const ye=(0,g.FN)();if(!ye)return A.EMPTY_OBJ;const Be=ye.type.__cssModules;if(!Be)return A.EMPTY_OBJ;const lt=Be[ie];return lt||A.EMPTY_OBJ}}function Ve(ie){const ye=(0,g.FN)();if(!ye)return;const Be=()=>$(ye.subTree,ie(ye.proxy));(0,g.Rh)(Be),(0,g.bv)(()=>{const lt=new MutationObserver(Be);lt.observe(ye.subTree.el.parentNode,{childList:!0}),(0,g.Ah)(()=>lt.disconnect())})}function $(ie,ye){if(ie.shapeFlag&128){const Be=ie.suspense;ie=Be.activeBranch,Be.pendingBranch&&!Be.isHydrating&&Be.effects.push(()=>{$(Be.activeBranch,ye)})}for(;ie.component;)ie=ie.component.subTree;if(ie.shapeFlag&1&&ie.el)Ee(ie.el,ye);else if(ie.type===g.HY)ie.children.forEach(Be=>$(Be,ye));else if(ie.type===g.qG){let{el:Be,anchor:lt}=ie;for(;Be&&(Ee(Be,ye),Be!==lt);)Be=Be.nextSibling}}function Ee(ie,ye){if(ie.nodeType===1){const Be=ie.style;for(const lt in ye)Be.setProperty(`--${lt}`,ye[lt])}}const tt="transition",St="animation",pt=(ie,{slots:ye})=>(0,g.h)(g.P$,Ki(ie),ye);pt.displayName="Transition";const Ot={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},ui=pt.props=(0,A.extend)({},g.P$.props,Ot),Qt=(ie,ye=[])=>{(0,A.isArray)(ie)?ie.forEach(Be=>Be(...ye)):ie&&ie(...ye)},Ui=ie=>ie?(0,A.isArray)(ie)?ie.some(ye=>ye.length>1):ie.length>1:!1;function Ki(ie){const ye={};for(const $i in ie)$i in Ot||(ye[$i]=ie[$i]);if(ie.css===!1)return ye;const{name:Be="v",type:lt,duration:Lt,enterFromClass:Jt=`${Be}-enter-from`,enterActiveClass:yi=`${Be}-enter-active`,enterToClass:Ni=`${Be}-enter-to`,appearFromClass:Oi=Jt,appearActiveClass:Ri=yi,appearToClass:Li=Ni,leaveFromClass:On=`${Be}-leave-from`,leaveActiveClass:or=`${Be}-leave-active`,leaveToClass:Ta=`${Be}-leave-to`}=ie,kr=Gi(Lt),ca=kr&&kr[0],Se=kr&&kr[1],{onBeforeEnter:Je,onEnter:bt,onEnterCancelled:Nt,onLeave:Dt,onLeaveCancelled:ki,onBeforeAppear:rn=Je,onAppear:Ai=bt,onAppearCancelled:Qr=Nt}=ye,Cr=($i,cr,ua)=>{bn($i,cr?Li:Ni),bn($i,cr?Ri:yi),ua&&ua()},Ar=($i,cr)=>{$i._isLeaving=!1,bn($i,On),bn($i,Ta),bn($i,or),cr&&cr()},Vr=$i=>(cr,ua)=>{const go=$i?Ai:bt,wa=()=>Cr(cr,$i,ua);Qt(go,[cr,wa]),h(()=>{bn(cr,$i?Oi:Jt),Ft(cr,$i?Li:Ni),Ui(go)||ee(cr,lt,ca,wa)})};return(0,A.extend)(ye,{onBeforeEnter($i){Qt(Je,[$i]),Ft($i,Jt),Ft($i,yi)},onBeforeAppear($i){Qt(rn,[$i]),Ft($i,Oi),Ft($i,Ri)},onEnter:Vr(!1),onAppear:Vr(!0),onLeave($i,cr){$i._isLeaving=!0;const ua=()=>Ar($i,cr);Ft($i,On),K(),Ft($i,or),h(()=>{!$i._isLeaving||(bn($i,On),Ft($i,Ta),Ui(Dt)||ee($i,lt,Se,ua))}),Qt(Dt,[$i,ua])},onEnterCancelled($i){Cr($i,!1),Qt(Nt,[$i])},onAppearCancelled($i){Cr($i,!0),Qt(Qr,[$i])},onLeaveCancelled($i){Ar($i),Qt(ki,[$i])}})}function Gi(ie){if(ie==null)return null;if((0,A.isObject)(ie))return[pn(ie.enter),pn(ie.leave)];{const ye=pn(ie);return[ye,ye]}}function pn(ie){return(0,A.toNumber)(ie)}function zi(ie){typeof ie!="number"?warn(`<transition> explicit duration is not a valid number - got ${JSON.stringify(ie)}.`):isNaN(ie)&&warn("<transition> explicit duration is NaN - the duration expression might be incorrect.")}function Ft(ie,ye){ye.split(/\s+/).forEach(Be=>Be&&ie.classList.add(Be)),(ie._vtc||(ie._vtc=new Set)).add(ye)}function bn(ie,ye){ye.split(/\s+/).forEach(lt=>lt&&ie.classList.remove(lt));const{_vtc:Be}=ie;Be&&(Be.delete(ye),Be.size||(ie._vtc=void 0))}function h(ie){requestAnimationFrame(()=>{requestAnimationFrame(ie)})}let E=0;function ee(ie,ye,Be,lt){const Lt=ie._endId=++E,Jt=()=>{Lt===ie._endId&<()};if(Be)return setTimeout(Jt,Be);const{type:yi,timeout:Ni,propCount:Oi}=He(ie,ye);if(!yi)return lt();const Ri=yi+"end";let Li=0;const On=()=>{ie.removeEventListener(Ri,or),Jt()},or=Ta=>{Ta.target===ie&&++Li>=Oi&&On()};setTimeout(()=>{Li<Oi&&On()},Ni+1),ie.addEventListener(Ri,or)}function He(ie,ye){const Be=window.getComputedStyle(ie),lt=kr=>(Be[kr]||"").split(", "),Lt=lt(tt+"Delay"),Jt=lt(tt+"Duration"),yi=Ue(Lt,Jt),Ni=lt(St+"Delay"),Oi=lt(St+"Duration"),Ri=Ue(Ni,Oi);let Li=null,On=0,or=0;ye===tt?yi>0&&(Li=tt,On=yi,or=Jt.length):ye===St?Ri>0&&(Li=St,On=Ri,or=Oi.length):(On=Math.max(yi,Ri),Li=On>0?yi>Ri?tt:St:null,or=Li?Li===tt?Jt.length:Oi.length:0);const Ta=Li===tt&&/\b(transform|all)(,|$)/.test(Be[tt+"Property"]);return{type:Li,timeout:On,propCount:or,hasTransform:Ta}}function Ue(ie,ye){for(;ie.length<ye.length;)ie=ie.concat(ie);return Math.max(...ye.map((Be,lt)=>at(Be)+at(ie[lt])))}function at(ie){return Number(ie.slice(0,-1).replace(",","."))*1e3}function K(){return document.body.offsetHeight}const Ct=new WeakMap,Hi=new WeakMap,Cn={name:"TransitionGroup",props:(0,A.extend)({},ui,{tag:String,moveClass:String}),setup(ie,{slots:ye}){const Be=(0,g.FN)(),lt=(0,g.Y8)();let Lt,Jt;return(0,g.ic)(()=>{if(!Lt.length)return;const yi=ie.moveClass||`${ie.name||"v"}-move`;if(!Kn(Lt[0].el,Be.vnode.el,yi))return;Lt.forEach(An),Lt.forEach(Pn);const Ni=Lt.filter(Ei);K(),Ni.forEach(Oi=>{const Ri=Oi.el,Li=Ri.style;Ft(Ri,yi),Li.transform=Li.webkitTransform=Li.transitionDuration="";const On=Ri._moveCb=or=>{or&&or.target!==Ri||(!or||/transform$/.test(or.propertyName))&&(Ri.removeEventListener("transitionend",On),Ri._moveCb=null,bn(Ri,yi))};Ri.addEventListener("transitionend",On)})}),()=>{const yi=(0,me.IU)(ie),Ni=Ki(yi);let Oi=yi.tag||g.HY;Lt=Jt,Jt=ye.default?(0,g.Q6)(ye.default()):[];for(let Ri=0;Ri<Jt.length;Ri++){const Li=Jt[Ri];Li.key!=null&&(0,g.nK)(Li,(0,g.U2)(Li,Ni,lt,Be))}if(Lt)for(let Ri=0;Ri<Lt.length;Ri++){const Li=Lt[Ri];(0,g.nK)(Li,(0,g.U2)(Li,Ni,lt,Be)),Ct.set(Li,Li.el.getBoundingClientRect())}return(0,g.Wm)(Oi,null,Jt)}}};function An(ie){const ye=ie.el;ye._moveCb&&ye._moveCb(),ye._enterCb&&ye._enterCb()}function Pn(ie){Hi.set(ie,ie.el.getBoundingClientRect())}function Ei(ie){const ye=Ct.get(ie),Be=Hi.get(ie),lt=ye.left-Be.left,Lt=ye.top-Be.top;if(lt||Lt){const Jt=ie.el.style;return Jt.transform=Jt.webkitTransform=`translate(${lt}px,${Lt}px)`,Jt.transitionDuration="0s",ie}}function Kn(ie,ye,Be){const lt=ie.cloneNode();ie._vtc&&ie._vtc.forEach(yi=>{yi.split(/\s+/).forEach(Ni=>Ni&<.classList.remove(Ni))}),Be.split(/\s+/).forEach(yi=>yi&<.classList.add(yi)),lt.style.display="none";const Lt=ye.nodeType===1?ye:ye.parentNode;Lt.appendChild(lt);const{hasTransform:Jt}=He(lt);return Lt.removeChild(lt),Jt}const Yn=ie=>{const ye=ie.props["onUpdate:modelValue"]||!1;return(0,A.isArray)(ye)?Be=>(0,A.invokeArrayFns)(ye,Be):ye};function ar(ie){ie.target.composing=!0}function Rn(ie){const ye=ie.target;ye.composing&&(ye.composing=!1,ye.dispatchEvent(new Event("input")))}const qi={created(ie,{modifiers:{lazy:ye,trim:Be,number:lt}},Lt){ie._assign=Yn(Lt);const Jt=lt||Lt.props&&Lt.props.type==="number";ce(ie,ye?"change":"input",yi=>{if(yi.target.composing)return;let Ni=ie.value;Be&&(Ni=Ni.trim()),Jt&&(Ni=(0,A.toNumber)(Ni)),ie._assign(Ni)}),Be&&ce(ie,"change",()=>{ie.value=ie.value.trim()}),ye||(ce(ie,"compositionstart",ar),ce(ie,"compositionend",Rn),ce(ie,"change",Rn))},mounted(ie,{value:ye}){ie.value=ye==null?"":ye},beforeUpdate(ie,{value:ye,modifiers:{lazy:Be,trim:lt,number:Lt}},Jt){if(ie._assign=Yn(Jt),ie.composing||document.activeElement===ie&&ie.type!=="range"&&(Be||lt&&ie.value.trim()===ye||(Lt||ie.type==="number")&&(0,A.toNumber)(ie.value)===ye))return;const yi=ye==null?"":ye;ie.value!==yi&&(ie.value=yi)}},tn={deep:!0,created(ie,ye,Be){ie._assign=Yn(Be),ce(ie,"change",()=>{const lt=ie._modelValue,Lt=Qn(ie),Jt=ie.checked,yi=ie._assign;if((0,A.isArray)(lt)){const Ni=(0,A.looseIndexOf)(lt,Lt),Oi=Ni!==-1;if(Jt&&!Oi)yi(lt.concat(Lt));else if(!Jt&&Oi){const Ri=[...lt];Ri.splice(Ni,1),yi(Ri)}}else if((0,A.isSet)(lt)){const Ni=new Set(lt);Jt?Ni.add(Lt):Ni.delete(Lt),yi(Ni)}else yi(mr(ie,Jt))})},mounted:Xi,beforeUpdate(ie,ye,Be){ie._assign=Yn(Be),Xi(ie,ye,Be)}};function Xi(ie,{value:ye,oldValue:Be},lt){ie._modelValue=ye,(0,A.isArray)(ye)?ie.checked=(0,A.looseIndexOf)(ye,lt.props.value)>-1:(0,A.isSet)(ye)?ie.checked=ye.has(lt.props.value):ye!==Be&&(ie.checked=(0,A.looseEqual)(ye,mr(ie,!0)))}const un={created(ie,{value:ye},Be){ie.checked=(0,A.looseEqual)(ye,Be.props.value),ie._assign=Yn(Be),ce(ie,"change",()=>{ie._assign(Qn(ie))})},beforeUpdate(ie,{value:ye,oldValue:Be},lt){ie._assign=Yn(lt),ye!==Be&&(ie.checked=(0,A.looseEqual)(ye,lt.props.value))}},er={deep:!0,created(ie,{value:ye,modifiers:{number:Be}},lt){const Lt=(0,A.isSet)(ye);ce(ie,"change",()=>{const Jt=Array.prototype.filter.call(ie.options,yi=>yi.selected).map(yi=>Be?(0,A.toNumber)(Qn(yi)):Qn(yi));ie._assign(ie.multiple?Lt?new Set(Jt):Jt:Jt[0])}),ie._assign=Yn(lt)},mounted(ie,{value:ye}){sa(ie,ye)},beforeUpdate(ie,ye,Be){ie._assign=Yn(Be)},updated(ie,{value:ye}){sa(ie,ye)}};function sa(ie,ye){const Be=ie.multiple;if(!(Be&&!(0,A.isArray)(ye)&&!(0,A.isSet)(ye))){for(let lt=0,Lt=ie.options.length;lt<Lt;lt++){const Jt=ie.options[lt],yi=Qn(Jt);if(Be)(0,A.isArray)(ye)?Jt.selected=(0,A.looseIndexOf)(ye,yi)>-1:Jt.selected=ye.has(yi);else if((0,A.looseEqual)(Qn(Jt),ye)){ie.selectedIndex!==lt&&(ie.selectedIndex=lt);return}}!Be&&ie.selectedIndex!==-1&&(ie.selectedIndex=-1)}}function Qn(ie){return"_value"in ie?ie._value:ie.value}function mr(ie,ye){const Be=ye?"_trueValue":"_falseValue";return Be in ie?ie[Be]:ye}const fr={created(ie,ye,Be){mt(ie,ye,Be,null,"created")},mounted(ie,ye,Be){mt(ie,ye,Be,null,"mounted")},beforeUpdate(ie,ye,Be,lt){mt(ie,ye,Be,lt,"beforeUpdate")},updated(ie,ye,Be,lt){mt(ie,ye,Be,lt,"updated")}};function _a(ie,ye){switch(ie){case"SELECT":return er;case"TEXTAREA":return qi;default:switch(ye){case"checkbox":return tn;case"radio":return un;default:return qi}}}function mt(ie,ye,Be,lt,Lt){const yi=_a(ie.tagName,Be.props&&Be.props.type)[Lt];yi&&yi(ie,ye,Be,lt)}function Vt(){qi.getSSRProps=({value:ie})=>({value:ie}),un.getSSRProps=({value:ie},ye)=>{if(ye.props&&(0,A.looseEqual)(ye.props.value,ie))return{checked:!0}},tn.getSSRProps=({value:ie},ye)=>{if((0,A.isArray)(ie)){if(ye.props&&(0,A.looseIndexOf)(ie,ye.props.value)>-1)return{checked:!0}}else if((0,A.isSet)(ie)){if(ye.props&&ie.has(ye.props.value))return{checked:!0}}else if(ie)return{checked:!0}},fr.getSSRProps=(ie,ye)=>{if(typeof ye.type!="string")return;const Be=_a(ye.type.toUpperCase(),ye.props&&ye.props.type);if(Be.getSSRProps)return Be.getSSRProps(ie,ye)}}const ai=["ctrl","shift","alt","meta"],Di={stop:ie=>ie.stopPropagation(),prevent:ie=>ie.preventDefault(),self:ie=>ie.target!==ie.currentTarget,ctrl:ie=>!ie.ctrlKey,shift:ie=>!ie.shiftKey,alt:ie=>!ie.altKey,meta:ie=>!ie.metaKey,left:ie=>"button"in ie&&ie.button!==0,middle:ie=>"button"in ie&&ie.button!==1,right:ie=>"button"in ie&&ie.button!==2,exact:(ie,ye)=>ai.some(Be=>ie[`${Be}Key`]&&!ye.includes(Be))},hn=(ie,ye)=>(Be,...lt)=>{for(let Lt=0;Lt<ye.length;Lt++){const Jt=Di[ye[Lt]];if(Jt&&Jt(Be,ye))return}return ie(Be,...lt)},En={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},In=(ie,ye)=>Be=>{if(!("key"in Be))return;const lt=(0,A.hyphenate)(Be.key);if(ye.some(Lt=>Lt===lt||En[Lt]===lt))return ie(Be)},Hn={beforeMount(ie,{value:ye},{transition:Be}){ie._vod=ie.style.display==="none"?"":ie.style.display,Be&&ye?Be.beforeEnter(ie):tr(ie,ye)},mounted(ie,{value:ye},{transition:Be}){Be&&ye&&Be.enter(ie)},updated(ie,{value:ye,oldValue:Be},{transition:lt}){!ye!=!Be&&(lt?ye?(lt.beforeEnter(ie),tr(ie,!0),lt.enter(ie)):lt.leave(ie,()=>{tr(ie,!1)}):tr(ie,ye))},beforeUnmount(ie,{value:ye}){tr(ie,ye)}};function tr(ie,ye){ie.style.display=ye?ie._vod:"none"}function Qi(){Hn.getSSRProps=({value:ie})=>{if(!ie)return{style:{display:"none"}}}}const Un=(0,A.extend)({patchProp:M},d);let wr,hr=!1;function gr(){return wr||(wr=(0,g.Us)(Un))}function lr(){return wr=hr?wr:(0,g.Eo)(Un),hr=!0,wr}const ir=(...ie)=>{gr().render(...ie)},Ma=(...ie)=>{lr().hydrate(...ie)},jr=(...ie)=>{const ye=gr().createApp(...ie),{mount:Be}=ye;return ye.mount=lt=>{const Lt=Ca(lt);if(!Lt)return;const Jt=ye._component;!(0,A.isFunction)(Jt)&&!Jt.render&&!Jt.template&&(Jt.template=Lt.innerHTML),Lt.innerHTML="";const yi=Be(Lt,!1,Lt instanceof SVGElement);return Lt instanceof Element&&(Lt.removeAttribute("v-cloak"),Lt.setAttribute("data-v-app","")),yi},ye},la=(...ie)=>{const ye=lr().createApp(...ie),{mount:Be}=ye;return ye.mount=lt=>{const Lt=Ca(lt);if(Lt)return Be(Lt,!0,Lt instanceof SVGElement)},ye};function to(ie){Object.defineProperty(ie.config,"isNativeTag",{value:ye=>isHTMLTag(ye)||isSVGTag(ye),writable:!1})}function io(ie){if(isRuntimeOnly()){const ye=ie.config.isCustomElement;Object.defineProperty(ie.config,"isCustomElement",{get(){return ye},set(){warn("The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead.")}});const Be=ie.config.compilerOptions,lt='The `compilerOptions` config option is only respected when using a build of Vue.js that includes the runtime compiler (aka "full build"). Since you are using the runtime-only build, `compilerOptions` must be passed to `@vue/compiler-dom` in the build setup instead.\n- For vue-loader: pass it via vue-loader\'s `compilerOptions` loader option.\n- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\n- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-dom';Object.defineProperty(ie.config,"compilerOptions",{get(){return warn(lt),Be},set(){warn(lt)}})}}function Ca(ie){return(0,A.isString)(ie)?document.querySelector(ie):ie}let Fr=!1;const pa=()=>{Fr||(Fr=!0,Vt(),Qi())}},"./node_modules/@vue/shared/dist/shared.esm-bundler.js":function(v,yt,At){"use strict";At.r(yt),At.d(yt,{EMPTY_ARR:function(){return tt},EMPTY_OBJ:function(){return Ee},NO:function(){return pt},NOOP:function(){return St},PatchFlagNames:function(){return g},camelize:function(){return Yn},capitalize:function(){return qi},def:function(){return er},escapeHtml:function(){return Z},escapeHtmlComment:function(){return Ke},extend:function(){return Ui},genPropsAccessExp:function(){return _a},generateCodeFrame:function(){return d},getGlobalThis:function(){return mr},hasChanged:function(){return Xi},hasOwn:function(){return pn},hyphenate:function(){return Rn},includeBooleanAttr:function(){return T},invokeArrayFns:function(){return un},isArray:function(){return zi},isBooleanAttr:function(){return B},isBuiltInDirective:function(){return Pn},isDate:function(){return h},isFunction:function(){return E},isGloballyWhitelisted:function(){return z},isHTMLTag:function(){return We},isIntegerKey:function(){return Cn},isKnownHtmlAttr:function(){return ge},isKnownSvgAttr:function(){return de},isMap:function(){return Ft},isModelListener:function(){return Qt},isNoUnitNumericStyleProp:function(){return D},isObject:function(){return Ue},isOn:function(){return ui},isPlainObject:function(){return Fi},isPromise:function(){return at},isReservedProp:function(){return An},isSSRSafeAttrName:function(){return n},isSVGTag:function(){return I},isSet:function(){return bn},isSpecialBooleanAttr:function(){return L},isString:function(){return ee},isSymbol:function(){return He},isVoidTag:function(){return F},looseEqual:function(){return ne},looseIndexOf:function(){return ae},makeMap:function(){return A},normalizeClass:function(){return ce},normalizeProps:function(){return De},normalizeStyle:function(){return be},objectToString:function(){return K},parseStringStyle:function(){return J},propsToAttrMap:function(){return C},remove:function(){return Ki},slotFlagsText:function(){return me},stringifyStyle:function(){return s},toDisplayString:function(){return Ve},toHandlerKey:function(){return tn},toNumber:function(){return sa},toRawType:function(){return Hi},toTypeString:function(){return Ct}});function A(mt,Vt){const ai=Object.create(null),Di=mt.split(",");for(let hn=0;hn<Di.length;hn++)ai[Di[hn]]=!0;return Vt?hn=>!!ai[hn.toLowerCase()]:hn=>!!ai[hn]}const g={[1]:"TEXT",[2]:"CLASS",[4]:"STYLE",[8]:"PROPS",[16]:"FULL_PROPS",[32]:"HYDRATE_EVENTS",[64]:"STABLE_FRAGMENT",[128]:"KEYED_FRAGMENT",[256]:"UNKEYED_FRAGMENT",[512]:"NEED_PATCH",[1024]:"DYNAMIC_SLOTS",[2048]:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},me={[1]:"STABLE",[2]:"DYNAMIC",[3]:"FORWARDED"},z=A("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt"),oe=2;function d(mt,Vt=0,ai=mt.length){let Di=mt.split(/(\r?\n)/);const hn=Di.filter((Hn,tr)=>tr%2===1);Di=Di.filter((Hn,tr)=>tr%2===0);let En=0;const In=[];for(let Hn=0;Hn<Di.length;Hn++)if(En+=Di[Hn].length+(hn[Hn]&&hn[Hn].length||0),En>=Vt){for(let tr=Hn-oe;tr<=Hn+oe||ai>En;tr++){if(tr<0||tr>=Di.length)continue;const Qi=tr+1;In.push(`${Qi}${" ".repeat(Math.max(3-String(Qi).length,0))}| ${Di[tr]}`);const Un=Di[tr].length,wr=hn[tr]&&hn[tr].length||0;if(tr===Hn){const hr=Vt-(En-(Un+wr)),gr=Math.max(1,ai>En?Un-hr:ai-Vt);In.push(" | "+" ".repeat(hr)+"^".repeat(gr))}else if(tr>Hn){if(ai>En){const hr=Math.max(Math.min(ai-En,Un),1);In.push(" | "+"^".repeat(hr))}En+=Un+wr}}break}return In.join(`
|
|
`)}const N="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",L=A(N),B=A(N+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function T(mt){return!!mt||mt===""}const H=/[>/="'\u0009\u000a\u000c\u0020]/,se={};function n(mt){if(se.hasOwnProperty(mt))return se[mt];const Vt=H.test(mt);return Vt&&console.error(`unsafe attribute name: ${mt}`),se[mt]=!Vt}const C={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},D=A("animation-iteration-count,border-image-outset,border-image-slice,border-image-width,box-flex,box-flex-group,box-ordinal-group,column-count,columns,flex,flex-grow,flex-positive,flex-shrink,flex-negative,flex-order,grid-row,grid-row-end,grid-row-span,grid-row-start,grid-column,grid-column-end,grid-column-span,grid-column-start,font-weight,line-clamp,line-height,opacity,order,orphans,tab-size,widows,z-index,zoom,fill-opacity,flood-opacity,stop-opacity,stroke-dasharray,stroke-dashoffset,stroke-miterlimit,stroke-opacity,stroke-width"),ge=A("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap"),de=A("xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan");function be(mt){if(zi(mt)){const Vt={};for(let ai=0;ai<mt.length;ai++){const Di=mt[ai],hn=ee(Di)?J(Di):be(Di);if(hn)for(const En in hn)Vt[En]=hn[En]}return Vt}else{if(ee(mt))return mt;if(Ue(mt))return mt}}const we=/;(?![^(]*\))/g,Te=/:(.+)/;function J(mt){const Vt={};return mt.split(we).forEach(ai=>{if(ai){const Di=ai.split(Te);Di.length>1&&(Vt[Di[0].trim()]=Di[1].trim())}}),Vt}function s(mt){let Vt="";if(!mt||ee(mt))return Vt;for(const ai in mt){const Di=mt[ai],hn=ai.startsWith("--")?ai:Rn(ai);(ee(Di)||typeof Di=="number"&&D(hn))&&(Vt+=`${hn}:${Di};`)}return Vt}function ce(mt){let Vt="";if(ee(mt))Vt=mt;else if(zi(mt))for(let ai=0;ai<mt.length;ai++){const Di=ce(mt[ai]);Di&&(Vt+=Di+" ")}else if(Ue(mt))for(const ai in mt)mt[ai]&&(Vt+=ai+" ");return Vt.trim()}function De(mt){if(!mt)return null;let{class:Vt,style:ai}=mt;return Vt&&!ee(Vt)&&(mt.class=ce(Vt)),ai&&(mt.style=be(ai)),mt}const ke="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",le="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",pe="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",We=A(ke),I=A(le),F=A(pe),M=/["'&<>]/;function Z(mt){const Vt=""+mt,ai=M.exec(Vt);if(!ai)return Vt;let Di="",hn,En,In=0;for(En=ai.index;En<Vt.length;En++){switch(Vt.charCodeAt(En)){case 34:hn=""";break;case 38:hn="&";break;case 39:hn="'";break;case 60:hn="<";break;case 62:hn=">";break;default:continue}In!==En&&(Di+=Vt.slice(In,En)),In=En+1,Di+=hn}return In!==En?Di+Vt.slice(In,En):Di}const Pe=/^-?>|<!--|-->|--!>|<!-$/g;function Ke(mt){return mt.replace(Pe,"")}function ot(mt,Vt){if(mt.length!==Vt.length)return!1;let ai=!0;for(let Di=0;ai&&Di<mt.length;Di++)ai=ne(mt[Di],Vt[Di]);return ai}function ne(mt,Vt){if(mt===Vt)return!0;let ai=h(mt),Di=h(Vt);if(ai||Di)return ai&&Di?mt.getTime()===Vt.getTime():!1;if(ai=He(mt),Di=He(Vt),ai||Di)return mt===Vt;if(ai=zi(mt),Di=zi(Vt),ai||Di)return ai&&Di?ot(mt,Vt):!1;if(ai=Ue(mt),Di=Ue(Vt),ai||Di){if(!ai||!Di)return!1;const hn=Object.keys(mt).length,En=Object.keys(Vt).length;if(hn!==En)return!1;for(const In in mt){const Hn=mt.hasOwnProperty(In),tr=Vt.hasOwnProperty(In);if(Hn&&!tr||!Hn&&tr||!ne(mt[In],Vt[In]))return!1}}return String(mt)===String(Vt)}function ae(mt,Vt){return mt.findIndex(ai=>ne(ai,Vt))}const Ve=mt=>ee(mt)?mt:mt==null?"":zi(mt)||Ue(mt)&&(mt.toString===K||!E(mt.toString))?JSON.stringify(mt,$,2):String(mt),$=(mt,Vt)=>Vt&&Vt.__v_isRef?$(mt,Vt.value):Ft(Vt)?{[`Map(${Vt.size})`]:[...Vt.entries()].reduce((ai,[Di,hn])=>(ai[`${Di} =>`]=hn,ai),{})}:bn(Vt)?{[`Set(${Vt.size})`]:[...Vt.values()]}:Ue(Vt)&&!zi(Vt)&&!Fi(Vt)?String(Vt):Vt,Ee={},tt=[],St=()=>{},pt=()=>!1,Ot=/^on[^a-z]/,ui=mt=>Ot.test(mt),Qt=mt=>mt.startsWith("onUpdate:"),Ui=Object.assign,Ki=(mt,Vt)=>{const ai=mt.indexOf(Vt);ai>-1&&mt.splice(ai,1)},Gi=Object.prototype.hasOwnProperty,pn=(mt,Vt)=>Gi.call(mt,Vt),zi=Array.isArray,Ft=mt=>Ct(mt)==="[object Map]",bn=mt=>Ct(mt)==="[object Set]",h=mt=>Ct(mt)==="[object Date]",E=mt=>typeof mt=="function",ee=mt=>typeof mt=="string",He=mt=>typeof mt=="symbol",Ue=mt=>mt!==null&&typeof mt=="object",at=mt=>Ue(mt)&&E(mt.then)&&E(mt.catch),K=Object.prototype.toString,Ct=mt=>K.call(mt),Hi=mt=>Ct(mt).slice(8,-1),Fi=mt=>Ct(mt)==="[object Object]",Cn=mt=>ee(mt)&&mt!=="NaN"&&mt[0]!=="-"&&""+parseInt(mt,10)===mt,An=A(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Pn=A("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Ei=mt=>{const Vt=Object.create(null);return ai=>Vt[ai]||(Vt[ai]=mt(ai))},Kn=/-(\w)/g,Yn=Ei(mt=>mt.replace(Kn,(Vt,ai)=>ai?ai.toUpperCase():"")),ar=/\B([A-Z])/g,Rn=Ei(mt=>mt.replace(ar,"-$1").toLowerCase()),qi=Ei(mt=>mt.charAt(0).toUpperCase()+mt.slice(1)),tn=Ei(mt=>mt?`on${qi(mt)}`:""),Xi=(mt,Vt)=>!Object.is(mt,Vt),un=(mt,Vt)=>{for(let ai=0;ai<mt.length;ai++)mt[ai](Vt)},er=(mt,Vt,ai)=>{Object.defineProperty(mt,Vt,{configurable:!0,enumerable:!1,value:ai})},sa=mt=>{const Vt=parseFloat(mt);return isNaN(Vt)?mt:Vt};let Qn;const mr=()=>Qn||(Qn=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof At.g!="undefined"?At.g:{}),fr=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function _a(mt){return fr.test(mt)?`__props.${mt}`:`__props[${JSON.stringify(mt)}]`}},"./node_modules/jquery.are-you-sure/jquery.are-you-sure.js":function(){(function(v){v.fn.areYouSure=function(yt){var At=v.extend({message:"You have unsaved changes!",dirtyClass:"dirty",change:null,silent:!1,addRemoveFieldsMarksDirty:!1,fieldEvents:"change keyup propertychange input",fieldSelector:":input:not(input[type=submit]):not(input[type=button])"},yt),A=function(N){if(N.hasClass("ays-ignore")||N.hasClass("aysIgnore")||N.attr("data-ays-ignore")||N.attr("name")===void 0)return null;if(N.is(":disabled"))return"ays-disabled";var L,B=N.attr("type");switch(N.is("select")&&(B="select"),B){case"checkbox":case"radio":L=N.is(":checked");break;case"select":L="",N.find("option").each(function(T){var H=v(this);H.is(":selected")&&(L+=H.val())});break;default:L=N.val()}return L},g=function(N){N.data("ays-orig",A(N))},me=function(N){var L=function(se){var n=se.data("ays-orig");return n===void 0?!1:A(se)!=n},B=v(this).is("form")?v(this):v(this).parents("form");if(L(v(N.target))){z(B,!0);return}if($fields=B.find(At.fieldSelector),At.addRemoveFieldsMarksDirty){var T=B.data("ays-orig-field-count");if(T!=$fields.length){z(B,!0);return}}var H=!1;$fields.each(function(){if($field=v(this),L($field))return H=!0,!1}),z(B,H)},et=function(N){var L=N.find(At.fieldSelector);v(L).each(function(){g(v(this))}),v(L).unbind(At.fieldEvents,me),v(L).bind(At.fieldEvents,me),N.data("ays-orig-field-count",v(L).length),z(N,!1)},z=function(N,L){var B=L!=N.hasClass(At.dirtyClass);N.toggleClass(At.dirtyClass,L),B&&(At.change&&At.change.call(N,N),L&&N.trigger("dirty.areYouSure",[N]),L||N.trigger("clean.areYouSure",[N]),N.trigger("change.areYouSure",[N]))},oe=function(){var N=v(this),L=N.find(At.fieldSelector);v(L).each(function(){var B=v(this);B.data("ays-orig")||(g(B),B.bind(At.fieldEvents,me))}),N.trigger("checkform.areYouSure")},d=function(){et(v(this))};return!At.silent&&!window.aysUnloadSet&&(window.aysUnloadSet=!0,v(window).bind("beforeunload",function(){if($dirtyForms=v("form").filter("."+At.dirtyClass),$dirtyForms.length!=0){if(navigator.userAgent.toLowerCase().match(/msie|chrome/)){if(window.aysHasPrompted)return;window.aysHasPrompted=!0,window.setTimeout(function(){window.aysHasPrompted=!1},900)}return At.message}})),this.each(function(N){if(!!v(this).is("form")){var L=v(this);L.submit(function(){L.removeClass(At.dirtyClass)}),L.bind("reset",function(){z(L,!1)}),L.bind("rescan.areYouSure",oe),L.bind("reinitialize.areYouSure",d),L.bind("checkform.areYouSure",me),et(L)}})}})(jQuery)},"./node_modules/jquery/dist/jquery.js":function(v,yt){var At,A;(function(g,me){"use strict";typeof v.exports=="object"?v.exports=g.document?me(g,!0):function(et){if(!et.document)throw new Error("jQuery requires a window with a document");return me(et)}:me(g)})(typeof window!="undefined"?window:this,function(g,me){"use strict";var et=[],z=Object.getPrototypeOf,oe=et.slice,d=et.flat?function(r){return et.flat.call(r)}:function(r){return et.concat.apply([],r)},N=et.push,L=et.indexOf,B={},T=B.toString,H=B.hasOwnProperty,se=H.toString,n=se.call(Object),C={},D=function(f){return typeof f=="function"&&typeof f.nodeType!="number"&&typeof f.item!="function"},ge=function(f){return f!=null&&f===f.window},de=g.document,be={type:!0,src:!0,nonce:!0,noModule:!0};function we(r,f,w){w=w||de;var P,W,X=w.createElement("script");if(X.text=r,f)for(P in be)W=f[P]||f.getAttribute&&f.getAttribute(P),W&&X.setAttribute(P,W);w.head.appendChild(X).parentNode.removeChild(X)}function Te(r){return r==null?r+"":typeof r=="object"||typeof r=="function"?B[T.call(r)]||"object":typeof r}var J="3.6.1",s=function(r,f){return new s.fn.init(r,f)};s.fn=s.prototype={jquery:J,constructor:s,length:0,toArray:function(){return oe.call(this)},get:function(r){return r==null?oe.call(this):r<0?this[r+this.length]:this[r]},pushStack:function(r){var f=s.merge(this.constructor(),r);return f.prevObject=this,f},each:function(r){return s.each(this,r)},map:function(r){return this.pushStack(s.map(this,function(f,w){return r.call(f,w,f)}))},slice:function(){return this.pushStack(oe.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(s.grep(this,function(r,f){return(f+1)%2}))},odd:function(){return this.pushStack(s.grep(this,function(r,f){return f%2}))},eq:function(r){var f=this.length,w=+r+(r<0?f:0);return this.pushStack(w>=0&&w<f?[this[w]]:[])},end:function(){return this.prevObject||this.constructor()},push:N,sort:et.sort,splice:et.splice},s.extend=s.fn.extend=function(){var r,f,w,P,W,X,ue=arguments[0]||{},qe=1,Ne=arguments.length,ft=!1;for(typeof ue=="boolean"&&(ft=ue,ue=arguments[qe]||{},qe++),typeof ue!="object"&&!D(ue)&&(ue={}),qe===Ne&&(ue=this,qe--);qe<Ne;qe++)if((r=arguments[qe])!=null)for(f in r)P=r[f],!(f==="__proto__"||ue===P)&&(ft&&P&&(s.isPlainObject(P)||(W=Array.isArray(P)))?(w=ue[f],W&&!Array.isArray(w)?X=[]:!W&&!s.isPlainObject(w)?X={}:X=w,W=!1,ue[f]=s.extend(ft,X,P)):P!==void 0&&(ue[f]=P));return ue},s.extend({expando:"jQuery"+(J+Math.random()).replace(/\D/g,""),isReady:!0,error:function(r){throw new Error(r)},noop:function(){},isPlainObject:function(r){var f,w;return!r||T.call(r)!=="[object Object]"?!1:(f=z(r),f?(w=H.call(f,"constructor")&&f.constructor,typeof w=="function"&&se.call(w)===n):!0)},isEmptyObject:function(r){var f;for(f in r)return!1;return!0},globalEval:function(r,f,w){we(r,{nonce:f&&f.nonce},w)},each:function(r,f){var w,P=0;if(ce(r))for(w=r.length;P<w&&f.call(r[P],P,r[P])!==!1;P++);else for(P in r)if(f.call(r[P],P,r[P])===!1)break;return r},makeArray:function(r,f){var w=f||[];return r!=null&&(ce(Object(r))?s.merge(w,typeof r=="string"?[r]:r):N.call(w,r)),w},inArray:function(r,f,w){return f==null?-1:L.call(f,r,w)},merge:function(r,f){for(var w=+f.length,P=0,W=r.length;P<w;P++)r[W++]=f[P];return r.length=W,r},grep:function(r,f,w){for(var P,W=[],X=0,ue=r.length,qe=!w;X<ue;X++)P=!f(r[X],X),P!==qe&&W.push(r[X]);return W},map:function(r,f,w){var P,W,X=0,ue=[];if(ce(r))for(P=r.length;X<P;X++)W=f(r[X],X,w),W!=null&&ue.push(W);else for(X in r)W=f(r[X],X,w),W!=null&&ue.push(W);return d(ue)},guid:1,support:C}),typeof Symbol=="function"&&(s.fn[Symbol.iterator]=et[Symbol.iterator]),s.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(r,f){B["[object "+f+"]"]=f.toLowerCase()});function ce(r){var f=!!r&&"length"in r&&r.length,w=Te(r);return D(r)||ge(r)?!1:w==="array"||f===0||typeof f=="number"&&f>0&&f-1 in r}var De=function(r){var f,w,P,W,X,ue,qe,Ne,ft,xt,Gt,ht,kt,Si,gn,vi,Pr,Or,Gr,nr="sizzle"+1*new Date,_n=r.document,Dr=0,$n=0,Tr=wo(),Xa=wo(),Zr=wo(),zr=wo(),Mn=function(_e,$e){return _e===$e&&(Gt=!0),0},bo={}.hasOwnProperty,ja=[],Ja=ja.pop,fa=ja.push,Ua=ja.push,ms=ja.slice,Ha=function(_e,$e){for(var it=0,Rt=_e.length;it<Rt;it++)if(_e[it]===$e)return it;return-1},Aa="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Bn="[\\x20\\t\\r\\n\\f]",Qa="(?:\\\\[\\da-fA-F]{1,6}"+Bn+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Pa="\\["+Bn+"*("+Qa+")(?:"+Bn+"*([*^$|!~]?=)"+Bn+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+Qa+"))|)"+Bn+"*\\]",ao=":("+Qa+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+Pa+")*)|.*)\\)|)",Ko=new RegExp(Bn+"+","g"),Fa=new RegExp("^"+Bn+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Bn+"+$","g"),ea=new RegExp("^"+Bn+"*,"+Bn+"*"),ls=new RegExp("^"+Bn+"*([>+~]|"+Bn+")"+Bn+"*"),_o=new RegExp(Bn+"|>"),Na=new RegExp(ao),Bo=new RegExp("^"+Qa+"$"),Ur={ID:new RegExp("^#("+Qa+")"),CLASS:new RegExp("^\\.("+Qa+")"),TAG:new RegExp("^("+Qa+"|[*])"),ATTR:new RegExp("^"+Pa),PSEUDO:new RegExp("^"+ao),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+Bn+"*(even|odd|(([+-]|)(\\d*)n|)"+Bn+"*(?:([+-]|)"+Bn+"*(\\d+)|))"+Bn+"*\\)|)","i"),bool:new RegExp("^(?:"+Aa+")$","i"),needsContext:new RegExp("^"+Bn+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Bn+"*((?:-\\d)?\\d*)"+Bn+"*\\)|)(?=[^-]|$)","i")},Yo=/HTML$/i,Eo=/^(?:input|select|textarea|button)$/i,$a=/^h\d$/i,oo=/^[^{]+\{\s*\[native \w/,Ps=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ta=/[+~]/,Da=new RegExp("\\\\[\\da-fA-F]{1,6}"+Bn+"?|\\\\([^\\r\\n\\f])","g"),vr=function(_e,$e){var it="0x"+_e.slice(1)-65536;return $e||(it<0?String.fromCharCode(it+65536):String.fromCharCode(it>>10|55296,it&1023|56320))},Hr=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,Oo=function(_e,$e){return $e?_e==="\0"?"\uFFFD":_e.slice(0,-1)+"\\"+_e.charCodeAt(_e.length-1).toString(16)+" ":"\\"+_e},Go=function(){ht()},Za=eo(function(_e){return _e.disabled===!0&&_e.nodeName.toLowerCase()==="fieldset"},{dir:"parentNode",next:"legend"});try{Ua.apply(ja=ms.call(_n.childNodes),_n.childNodes),ja[_n.childNodes.length].nodeType}catch(_e){Ua={apply:ja.length?function($e,it){fa.apply($e,ms.call(it))}:function($e,it){for(var Rt=$e.length,nt=0;$e[Rt++]=it[nt++];);$e.length=Rt-1}}}function Xn(_e,$e,it,Rt){var nt,Ut,Zt,bi,ji,fn,sn,Yi=$e&&$e.ownerDocument,Zi=$e?$e.nodeType:9;if(it=it||[],typeof _e!="string"||!_e||Zi!==1&&Zi!==9&&Zi!==11)return it;if(!Rt&&(ht($e),$e=$e||kt,gn)){if(Zi!==11&&(ji=Ps.exec(_e)))if(nt=ji[1]){if(Zi===9)if(Zt=$e.getElementById(nt)){if(Zt.id===nt)return it.push(Zt),it}else return it;else if(Yi&&(Zt=Yi.getElementById(nt))&&Gr($e,Zt)&&Zt.id===nt)return it.push(Zt),it}else{if(ji[2])return Ua.apply(it,$e.getElementsByTagName(_e)),it;if((nt=ji[3])&&w.getElementsByClassName&&$e.getElementsByClassName)return Ua.apply(it,$e.getElementsByClassName(nt)),it}if(w.qsa&&!zr[_e+" "]&&(!vi||!vi.test(_e))&&(Zi!==1||$e.nodeName.toLowerCase()!=="object")){if(sn=_e,Yi=$e,Zi===1&&(_o.test(_e)||ls.test(_e))){for(Yi=ta.test(_e)&&Zn($e.parentNode)||$e,(Yi!==$e||!w.scope)&&((bi=$e.getAttribute("id"))?bi=bi.replace(Hr,Oo):$e.setAttribute("id",bi=nr)),fn=ue(_e),Ut=fn.length;Ut--;)fn[Ut]=(bi?"#"+bi:":scope")+" "+Nr(fn[Ut]);sn=fn.join(",")}try{return Ua.apply(it,Yi.querySelectorAll(sn)),it}catch(dr){zr(_e,!0)}finally{bi===nr&&$e.removeAttribute("id")}}}return Ne(_e.replace(Fa,"$1"),$e,it,Rt)}function wo(){var _e=[];function $e(it,Rt){return _e.push(it+" ")>P.cacheLength&&delete $e[_e.shift()],$e[it+" "]=Rt}return $e}function La(_e){return _e[nr]=!0,_e}function Wr(_e){var $e=kt.createElement("fieldset");try{return!!_e($e)}catch(it){return!1}finally{$e.parentNode&&$e.parentNode.removeChild($e),$e=null}}function jo(_e,$e){for(var it=_e.split("|"),Rt=it.length;Rt--;)P.attrHandle[it[Rt]]=$e}function ha(_e,$e){var it=$e&&_e,Rt=it&&_e.nodeType===1&&$e.nodeType===1&&_e.sourceIndex-$e.sourceIndex;if(Rt)return Rt;if(it){for(;it=it.nextSibling;)if(it===$e)return-1}return _e?1:-1}function Ts(_e){return function($e){var it=$e.nodeName.toLowerCase();return it==="input"&&$e.type===_e}}function ko(_e){return function($e){var it=$e.nodeName.toLowerCase();return(it==="input"||it==="button")&&$e.type===_e}}function cs(_e){return function($e){return"form"in $e?$e.parentNode&&$e.disabled===!1?"label"in $e?"label"in $e.parentNode?$e.parentNode.disabled===_e:$e.disabled===_e:$e.isDisabled===_e||$e.isDisabled!==!_e&&Za($e)===_e:$e.disabled===_e:"label"in $e?$e.disabled===_e:!1}}function xo(_e){return La(function($e){return $e=+$e,La(function(it,Rt){for(var nt,Ut=_e([],it.length,$e),Zt=Ut.length;Zt--;)it[nt=Ut[Zt]]&&(it[nt]=!(Rt[nt]=it[nt]))})})}function Zn(_e){return _e&&typeof _e.getElementsByTagName!="undefined"&&_e}w=Xn.support={},X=Xn.isXML=function(_e){var $e=_e&&_e.namespaceURI,it=_e&&(_e.ownerDocument||_e).documentElement;return!Yo.test($e||it&&it.nodeName||"HTML")},ht=Xn.setDocument=function(_e){var $e,it,Rt=_e?_e.ownerDocument||_e:_n;return Rt==kt||Rt.nodeType!==9||!Rt.documentElement||(kt=Rt,Si=kt.documentElement,gn=!X(kt),_n!=kt&&(it=kt.defaultView)&&it.top!==it&&(it.addEventListener?it.addEventListener("unload",Go,!1):it.attachEvent&&it.attachEvent("onunload",Go)),w.scope=Wr(function(nt){return Si.appendChild(nt).appendChild(kt.createElement("div")),typeof nt.querySelectorAll!="undefined"&&!nt.querySelectorAll(":scope fieldset div").length}),w.attributes=Wr(function(nt){return nt.className="i",!nt.getAttribute("className")}),w.getElementsByTagName=Wr(function(nt){return nt.appendChild(kt.createComment("")),!nt.getElementsByTagName("*").length}),w.getElementsByClassName=oo.test(kt.getElementsByClassName),w.getById=Wr(function(nt){return Si.appendChild(nt).id=nr,!kt.getElementsByName||!kt.getElementsByName(nr).length}),w.getById?(P.filter.ID=function(nt){var Ut=nt.replace(Da,vr);return function(Zt){return Zt.getAttribute("id")===Ut}},P.find.ID=function(nt,Ut){if(typeof Ut.getElementById!="undefined"&&gn){var Zt=Ut.getElementById(nt);return Zt?[Zt]:[]}}):(P.filter.ID=function(nt){var Ut=nt.replace(Da,vr);return function(Zt){var bi=typeof Zt.getAttributeNode!="undefined"&&Zt.getAttributeNode("id");return bi&&bi.value===Ut}},P.find.ID=function(nt,Ut){if(typeof Ut.getElementById!="undefined"&&gn){var Zt,bi,ji,fn=Ut.getElementById(nt);if(fn){if(Zt=fn.getAttributeNode("id"),Zt&&Zt.value===nt)return[fn];for(ji=Ut.getElementsByName(nt),bi=0;fn=ji[bi++];)if(Zt=fn.getAttributeNode("id"),Zt&&Zt.value===nt)return[fn]}return[]}}),P.find.TAG=w.getElementsByTagName?function(nt,Ut){if(typeof Ut.getElementsByTagName!="undefined")return Ut.getElementsByTagName(nt);if(w.qsa)return Ut.querySelectorAll(nt)}:function(nt,Ut){var Zt,bi=[],ji=0,fn=Ut.getElementsByTagName(nt);if(nt==="*"){for(;Zt=fn[ji++];)Zt.nodeType===1&&bi.push(Zt);return bi}return fn},P.find.CLASS=w.getElementsByClassName&&function(nt,Ut){if(typeof Ut.getElementsByClassName!="undefined"&&gn)return Ut.getElementsByClassName(nt)},Pr=[],vi=[],(w.qsa=oo.test(kt.querySelectorAll))&&(Wr(function(nt){var Ut;Si.appendChild(nt).innerHTML="<a id='"+nr+"'></a><select id='"+nr+"-\r\\' msallowcapture=''><option selected=''></option></select>",nt.querySelectorAll("[msallowcapture^='']").length&&vi.push("[*^$]="+Bn+`*(?:''|"")`),nt.querySelectorAll("[selected]").length||vi.push("\\["+Bn+"*(?:value|"+Aa+")"),nt.querySelectorAll("[id~="+nr+"-]").length||vi.push("~="),Ut=kt.createElement("input"),Ut.setAttribute("name",""),nt.appendChild(Ut),nt.querySelectorAll("[name='']").length||vi.push("\\["+Bn+"*name"+Bn+"*="+Bn+`*(?:''|"")`),nt.querySelectorAll(":checked").length||vi.push(":checked"),nt.querySelectorAll("a#"+nr+"+*").length||vi.push(".#.+[+~]"),nt.querySelectorAll("\\\f"),vi.push("[\\r\\n\\f]")}),Wr(function(nt){nt.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var Ut=kt.createElement("input");Ut.setAttribute("type","hidden"),nt.appendChild(Ut).setAttribute("name","D"),nt.querySelectorAll("[name=d]").length&&vi.push("name"+Bn+"*[*^$|!~]?="),nt.querySelectorAll(":enabled").length!==2&&vi.push(":enabled",":disabled"),Si.appendChild(nt).disabled=!0,nt.querySelectorAll(":disabled").length!==2&&vi.push(":enabled",":disabled"),nt.querySelectorAll("*,:x"),vi.push(",.*:")})),(w.matchesSelector=oo.test(Or=Si.matches||Si.webkitMatchesSelector||Si.mozMatchesSelector||Si.oMatchesSelector||Si.msMatchesSelector))&&Wr(function(nt){w.disconnectedMatch=Or.call(nt,"*"),Or.call(nt,"[s!='']:x"),Pr.push("!=",ao)}),vi=vi.length&&new RegExp(vi.join("|")),Pr=Pr.length&&new RegExp(Pr.join("|")),$e=oo.test(Si.compareDocumentPosition),Gr=$e||oo.test(Si.contains)?function(nt,Ut){var Zt=nt.nodeType===9?nt.documentElement:nt,bi=Ut&&Ut.parentNode;return nt===bi||!!(bi&&bi.nodeType===1&&(Zt.contains?Zt.contains(bi):nt.compareDocumentPosition&&nt.compareDocumentPosition(bi)&16))}:function(nt,Ut){if(Ut){for(;Ut=Ut.parentNode;)if(Ut===nt)return!0}return!1},Mn=$e?function(nt,Ut){if(nt===Ut)return Gt=!0,0;var Zt=!nt.compareDocumentPosition-!Ut.compareDocumentPosition;return Zt||(Zt=(nt.ownerDocument||nt)==(Ut.ownerDocument||Ut)?nt.compareDocumentPosition(Ut):1,Zt&1||!w.sortDetached&&Ut.compareDocumentPosition(nt)===Zt?nt==kt||nt.ownerDocument==_n&&Gr(_n,nt)?-1:Ut==kt||Ut.ownerDocument==_n&&Gr(_n,Ut)?1:xt?Ha(xt,nt)-Ha(xt,Ut):0:Zt&4?-1:1)}:function(nt,Ut){if(nt===Ut)return Gt=!0,0;var Zt,bi=0,ji=nt.parentNode,fn=Ut.parentNode,sn=[nt],Yi=[Ut];if(!ji||!fn)return nt==kt?-1:Ut==kt?1:ji?-1:fn?1:xt?Ha(xt,nt)-Ha(xt,Ut):0;if(ji===fn)return ha(nt,Ut);for(Zt=nt;Zt=Zt.parentNode;)sn.unshift(Zt);for(Zt=Ut;Zt=Zt.parentNode;)Yi.unshift(Zt);for(;sn[bi]===Yi[bi];)bi++;return bi?ha(sn[bi],Yi[bi]):sn[bi]==_n?-1:Yi[bi]==_n?1:0}),kt},Xn.matches=function(_e,$e){return Xn(_e,null,null,$e)},Xn.matchesSelector=function(_e,$e){if(ht(_e),w.matchesSelector&&gn&&!zr[$e+" "]&&(!Pr||!Pr.test($e))&&(!vi||!vi.test($e)))try{var it=Or.call(_e,$e);if(it||w.disconnectedMatch||_e.document&&_e.document.nodeType!==11)return it}catch(Rt){zr($e,!0)}return Xn($e,kt,null,[_e]).length>0},Xn.contains=function(_e,$e){return(_e.ownerDocument||_e)!=kt&&ht(_e),Gr(_e,$e)},Xn.attr=function(_e,$e){(_e.ownerDocument||_e)!=kt&&ht(_e);var it=P.attrHandle[$e.toLowerCase()],Rt=it&&bo.call(P.attrHandle,$e.toLowerCase())?it(_e,$e,!gn):void 0;return Rt!==void 0?Rt:w.attributes||!gn?_e.getAttribute($e):(Rt=_e.getAttributeNode($e))&&Rt.specified?Rt.value:null},Xn.escape=function(_e){return(_e+"").replace(Hr,Oo)},Xn.error=function(_e){throw new Error("Syntax error, unrecognized expression: "+_e)},Xn.uniqueSort=function(_e){var $e,it=[],Rt=0,nt=0;if(Gt=!w.detectDuplicates,xt=!w.sortStable&&_e.slice(0),_e.sort(Mn),Gt){for(;$e=_e[nt++];)$e===_e[nt]&&(Rt=it.push(nt));for(;Rt--;)_e.splice(it[Rt],1)}return xt=null,_e},W=Xn.getText=function(_e){var $e,it="",Rt=0,nt=_e.nodeType;if(nt){if(nt===1||nt===9||nt===11){if(typeof _e.textContent=="string")return _e.textContent;for(_e=_e.firstChild;_e;_e=_e.nextSibling)it+=W(_e)}else if(nt===3||nt===4)return _e.nodeValue}else for(;$e=_e[Rt++];)it+=W($e);return it},P=Xn.selectors={cacheLength:50,createPseudo:La,match:Ur,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(_e){return _e[1]=_e[1].replace(Da,vr),_e[3]=(_e[3]||_e[4]||_e[5]||"").replace(Da,vr),_e[2]==="~="&&(_e[3]=" "+_e[3]+" "),_e.slice(0,4)},CHILD:function(_e){return _e[1]=_e[1].toLowerCase(),_e[1].slice(0,3)==="nth"?(_e[3]||Xn.error(_e[0]),_e[4]=+(_e[4]?_e[5]+(_e[6]||1):2*(_e[3]==="even"||_e[3]==="odd")),_e[5]=+(_e[7]+_e[8]||_e[3]==="odd")):_e[3]&&Xn.error(_e[0]),_e},PSEUDO:function(_e){var $e,it=!_e[6]&&_e[2];return Ur.CHILD.test(_e[0])?null:(_e[3]?_e[2]=_e[4]||_e[5]||"":it&&Na.test(it)&&($e=ue(it,!0))&&($e=it.indexOf(")",it.length-$e)-it.length)&&(_e[0]=_e[0].slice(0,$e),_e[2]=it.slice(0,$e)),_e.slice(0,3))}},filter:{TAG:function(_e){var $e=_e.replace(Da,vr).toLowerCase();return _e==="*"?function(){return!0}:function(it){return it.nodeName&&it.nodeName.toLowerCase()===$e}},CLASS:function(_e){var $e=Tr[_e+" "];return $e||($e=new RegExp("(^|"+Bn+")"+_e+"("+Bn+"|$)"))&&Tr(_e,function(it){return $e.test(typeof it.className=="string"&&it.className||typeof it.getAttribute!="undefined"&&it.getAttribute("class")||"")})},ATTR:function(_e,$e,it){return function(Rt){var nt=Xn.attr(Rt,_e);return nt==null?$e==="!=":$e?(nt+="",$e==="="?nt===it:$e==="!="?nt!==it:$e==="^="?it&&nt.indexOf(it)===0:$e==="*="?it&&nt.indexOf(it)>-1:$e==="$="?it&&nt.slice(-it.length)===it:$e==="~="?(" "+nt.replace(Ko," ")+" ").indexOf(it)>-1:$e==="|="?nt===it||nt.slice(0,it.length+1)===it+"-":!1):!0}},CHILD:function(_e,$e,it,Rt,nt){var Ut=_e.slice(0,3)!=="nth",Zt=_e.slice(-4)!=="last",bi=$e==="of-type";return Rt===1&&nt===0?function(ji){return!!ji.parentNode}:function(ji,fn,sn){var Yi,Zi,dr,ln,Ln,Lr,ia=Ut!==Zt?"nextSibling":"previousSibling",Jn=ji.parentNode,uo=bi&&ji.nodeName.toLowerCase(),qr=!sn&&!bi,pr=!1;if(Jn){if(Ut){for(;ia;){for(ln=ji;ln=ln[ia];)if(bi?ln.nodeName.toLowerCase()===uo:ln.nodeType===1)return!1;Lr=ia=_e==="only"&&!Lr&&"nextSibling"}return!0}if(Lr=[Zt?Jn.firstChild:Jn.lastChild],Zt&&qr){for(ln=Jn,dr=ln[nr]||(ln[nr]={}),Zi=dr[ln.uniqueID]||(dr[ln.uniqueID]={}),Yi=Zi[_e]||[],Ln=Yi[0]===Dr&&Yi[1],pr=Ln&&Yi[2],ln=Ln&&Jn.childNodes[Ln];ln=++Ln&&ln&&ln[ia]||(pr=Ln=0)||Lr.pop();)if(ln.nodeType===1&&++pr&&ln===ji){Zi[_e]=[Dr,Ln,pr];break}}else if(qr&&(ln=ji,dr=ln[nr]||(ln[nr]={}),Zi=dr[ln.uniqueID]||(dr[ln.uniqueID]={}),Yi=Zi[_e]||[],Ln=Yi[0]===Dr&&Yi[1],pr=Ln),pr===!1)for(;(ln=++Ln&&ln&&ln[ia]||(pr=Ln=0)||Lr.pop())&&!((bi?ln.nodeName.toLowerCase()===uo:ln.nodeType===1)&&++pr&&(qr&&(dr=ln[nr]||(ln[nr]={}),Zi=dr[ln.uniqueID]||(dr[ln.uniqueID]={}),Zi[_e]=[Dr,pr]),ln===ji)););return pr-=nt,pr===Rt||pr%Rt===0&&pr/Rt>=0}}},PSEUDO:function(_e,$e){var it,Rt=P.pseudos[_e]||P.setFilters[_e.toLowerCase()]||Xn.error("unsupported pseudo: "+_e);return Rt[nr]?Rt($e):Rt.length>1?(it=[_e,_e,"",$e],P.setFilters.hasOwnProperty(_e.toLowerCase())?La(function(nt,Ut){for(var Zt,bi=Rt(nt,$e),ji=bi.length;ji--;)Zt=Ha(nt,bi[ji]),nt[Zt]=!(Ut[Zt]=bi[ji])}):function(nt){return Rt(nt,0,it)}):Rt}},pseudos:{not:La(function(_e){var $e=[],it=[],Rt=qe(_e.replace(Fa,"$1"));return Rt[nr]?La(function(nt,Ut,Zt,bi){for(var ji,fn=Rt(nt,null,bi,[]),sn=nt.length;sn--;)(ji=fn[sn])&&(nt[sn]=!(Ut[sn]=ji))}):function(nt,Ut,Zt){return $e[0]=nt,Rt($e,null,Zt,it),$e[0]=null,!it.pop()}}),has:La(function(_e){return function($e){return Xn(_e,$e).length>0}}),contains:La(function(_e){return _e=_e.replace(Da,vr),function($e){return($e.textContent||W($e)).indexOf(_e)>-1}}),lang:La(function(_e){return Bo.test(_e||"")||Xn.error("unsupported lang: "+_e),_e=_e.replace(Da,vr).toLowerCase(),function($e){var it;do if(it=gn?$e.lang:$e.getAttribute("xml:lang")||$e.getAttribute("lang"))return it=it.toLowerCase(),it===_e||it.indexOf(_e+"-")===0;while(($e=$e.parentNode)&&$e.nodeType===1);return!1}}),target:function(_e){var $e=r.location&&r.location.hash;return $e&&$e.slice(1)===_e.id},root:function(_e){return _e===Si},focus:function(_e){return _e===kt.activeElement&&(!kt.hasFocus||kt.hasFocus())&&!!(_e.type||_e.href||~_e.tabIndex)},enabled:cs(!1),disabled:cs(!0),checked:function(_e){var $e=_e.nodeName.toLowerCase();return $e==="input"&&!!_e.checked||$e==="option"&&!!_e.selected},selected:function(_e){return _e.parentNode&&_e.parentNode.selectedIndex,_e.selected===!0},empty:function(_e){for(_e=_e.firstChild;_e;_e=_e.nextSibling)if(_e.nodeType<6)return!1;return!0},parent:function(_e){return!P.pseudos.empty(_e)},header:function(_e){return $a.test(_e.nodeName)},input:function(_e){return Eo.test(_e.nodeName)},button:function(_e){var $e=_e.nodeName.toLowerCase();return $e==="input"&&_e.type==="button"||$e==="button"},text:function(_e){var $e;return _e.nodeName.toLowerCase()==="input"&&_e.type==="text"&&(($e=_e.getAttribute("type"))==null||$e.toLowerCase()==="text")},first:xo(function(){return[0]}),last:xo(function(_e,$e){return[$e-1]}),eq:xo(function(_e,$e,it){return[it<0?it+$e:it]}),even:xo(function(_e,$e){for(var it=0;it<$e;it+=2)_e.push(it);return _e}),odd:xo(function(_e,$e){for(var it=1;it<$e;it+=2)_e.push(it);return _e}),lt:xo(function(_e,$e,it){for(var Rt=it<0?it+$e:it>$e?$e:it;--Rt>=0;)_e.push(Rt);return _e}),gt:xo(function(_e,$e,it){for(var Rt=it<0?it+$e:it;++Rt<$e;)_e.push(Rt);return _e})}},P.pseudos.nth=P.pseudos.eq;for(f in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})P.pseudos[f]=Ts(f);for(f in{submit:!0,reset:!0})P.pseudos[f]=ko(f);function za(){}za.prototype=P.filters=P.pseudos,P.setFilters=new za,ue=Xn.tokenize=function(_e,$e){var it,Rt,nt,Ut,Zt,bi,ji,fn=Xa[_e+" "];if(fn)return $e?0:fn.slice(0);for(Zt=_e,bi=[],ji=P.preFilter;Zt;){(!it||(Rt=ea.exec(Zt)))&&(Rt&&(Zt=Zt.slice(Rt[0].length)||Zt),bi.push(nt=[])),it=!1,(Rt=ls.exec(Zt))&&(it=Rt.shift(),nt.push({value:it,type:Rt[0].replace(Fa," ")}),Zt=Zt.slice(it.length));for(Ut in P.filter)(Rt=Ur[Ut].exec(Zt))&&(!ji[Ut]||(Rt=ji[Ut](Rt)))&&(it=Rt.shift(),nt.push({value:it,type:Ut,matches:Rt}),Zt=Zt.slice(it.length));if(!it)break}return $e?Zt.length:Zt?Xn.error(_e):Xa(_e,bi).slice(0)};function Nr(_e){for(var $e=0,it=_e.length,Rt="";$e<it;$e++)Rt+=_e[$e].value;return Rt}function eo(_e,$e,it){var Rt=$e.dir,nt=$e.next,Ut=nt||Rt,Zt=it&&Ut==="parentNode",bi=$n++;return $e.first?function(ji,fn,sn){for(;ji=ji[Rt];)if(ji.nodeType===1||Zt)return _e(ji,fn,sn);return!1}:function(ji,fn,sn){var Yi,Zi,dr,ln=[Dr,bi];if(sn){for(;ji=ji[Rt];)if((ji.nodeType===1||Zt)&&_e(ji,fn,sn))return!0}else for(;ji=ji[Rt];)if(ji.nodeType===1||Zt)if(dr=ji[nr]||(ji[nr]={}),Zi=dr[ji.uniqueID]||(dr[ji.uniqueID]={}),nt&&nt===ji.nodeName.toLowerCase())ji=ji[Rt]||ji;else{if((Yi=Zi[Ut])&&Yi[0]===Dr&&Yi[1]===bi)return ln[2]=Yi[2];if(Zi[Ut]=ln,ln[2]=_e(ji,fn,sn))return!0}return!1}}function Wa(_e){return _e.length>1?function($e,it,Rt){for(var nt=_e.length;nt--;)if(!_e[nt]($e,it,Rt))return!1;return!0}:_e[0]}function xr(_e,$e,it){for(var Rt=0,nt=$e.length;Rt<nt;Rt++)Xn(_e,$e[Rt],it);return it}function so(_e,$e,it,Rt,nt){for(var Ut,Zt=[],bi=0,ji=_e.length,fn=$e!=null;bi<ji;bi++)(Ut=_e[bi])&&(!it||it(Ut,Rt,nt))&&(Zt.push(Ut),fn&&$e.push(bi));return Zt}function lo(_e,$e,it,Rt,nt,Ut){return Rt&&!Rt[nr]&&(Rt=lo(Rt)),nt&&!nt[nr]&&(nt=lo(nt,Ut)),La(function(Zt,bi,ji,fn){var sn,Yi,Zi,dr=[],ln=[],Ln=bi.length,Lr=Zt||xr($e||"*",ji.nodeType?[ji]:ji,[]),ia=_e&&(Zt||!$e)?so(Lr,dr,_e,ji,fn):Lr,Jn=it?nt||(Zt?_e:Ln||Rt)?[]:bi:ia;if(it&&it(ia,Jn,ji,fn),Rt)for(sn=so(Jn,ln),Rt(sn,[],ji,fn),Yi=sn.length;Yi--;)(Zi=sn[Yi])&&(Jn[ln[Yi]]=!(ia[ln[Yi]]=Zi));if(Zt){if(nt||_e){if(nt){for(sn=[],Yi=Jn.length;Yi--;)(Zi=Jn[Yi])&&sn.push(ia[Yi]=Zi);nt(null,Jn=[],sn,fn)}for(Yi=Jn.length;Yi--;)(Zi=Jn[Yi])&&(sn=nt?Ha(Zt,Zi):dr[Yi])>-1&&(Zt[sn]=!(bi[sn]=Zi))}}else Jn=so(Jn===bi?Jn.splice(Ln,Jn.length):Jn),nt?nt(null,bi,Jn,fn):Ua.apply(bi,Jn)})}function co(_e){for(var $e,it,Rt,nt=_e.length,Ut=P.relative[_e[0].type],Zt=Ut||P.relative[" "],bi=Ut?1:0,ji=eo(function(Yi){return Yi===$e},Zt,!0),fn=eo(function(Yi){return Ha($e,Yi)>-1},Zt,!0),sn=[function(Yi,Zi,dr){var ln=!Ut&&(dr||Zi!==ft)||(($e=Zi).nodeType?ji(Yi,Zi,dr):fn(Yi,Zi,dr));return $e=null,ln}];bi<nt;bi++)if(it=P.relative[_e[bi].type])sn=[eo(Wa(sn),it)];else{if(it=P.filter[_e[bi].type].apply(null,_e[bi].matches),it[nr]){for(Rt=++bi;Rt<nt&&!P.relative[_e[Rt].type];Rt++);return lo(bi>1&&Wa(sn),bi>1&&Nr(_e.slice(0,bi-1).concat({value:_e[bi-2].type===" "?"*":""})).replace(Fa,"$1"),it,bi<Rt&&co(_e.slice(bi,Rt)),Rt<nt&&co(_e=_e.slice(Rt)),Rt<nt&&Nr(_e))}sn.push(it)}return Wa(sn)}function Xo(_e,$e){var it=$e.length>0,Rt=_e.length>0,nt=function(Ut,Zt,bi,ji,fn){var sn,Yi,Zi,dr=0,ln="0",Ln=Ut&&[],Lr=[],ia=ft,Jn=Ut||Rt&&P.find.TAG("*",fn),uo=Dr+=ia==null?1:Math.random()||.1,qr=Jn.length;for(fn&&(ft=Zt==kt||Zt||fn);ln!==qr&&(sn=Jn[ln])!=null;ln++){if(Rt&&sn){for(Yi=0,!Zt&&sn.ownerDocument!=kt&&(ht(sn),bi=!gn);Zi=_e[Yi++];)if(Zi(sn,Zt||kt,bi)){ji.push(sn);break}fn&&(Dr=uo)}it&&((sn=!Zi&&sn)&&dr--,Ut&&Ln.push(sn))}if(dr+=ln,it&&ln!==dr){for(Yi=0;Zi=$e[Yi++];)Zi(Ln,Lr,Zt,bi);if(Ut){if(dr>0)for(;ln--;)Ln[ln]||Lr[ln]||(Lr[ln]=Ja.call(ji));Lr=so(Lr)}Ua.apply(ji,Lr),fn&&!Ut&&Lr.length>0&&dr+$e.length>1&&Xn.uniqueSort(ji)}return fn&&(Dr=uo,ft=ia),Ln};return it?La(nt):nt}return qe=Xn.compile=function(_e,$e){var it,Rt=[],nt=[],Ut=Zr[_e+" "];if(!Ut){for($e||($e=ue(_e)),it=$e.length;it--;)Ut=co($e[it]),Ut[nr]?Rt.push(Ut):nt.push(Ut);Ut=Zr(_e,Xo(nt,Rt)),Ut.selector=_e}return Ut},Ne=Xn.select=function(_e,$e,it,Rt){var nt,Ut,Zt,bi,ji,fn=typeof _e=="function"&&_e,sn=!Rt&&ue(_e=fn.selector||_e);if(it=it||[],sn.length===1){if(Ut=sn[0]=sn[0].slice(0),Ut.length>2&&(Zt=Ut[0]).type==="ID"&&$e.nodeType===9&&gn&&P.relative[Ut[1].type]){if($e=(P.find.ID(Zt.matches[0].replace(Da,vr),$e)||[])[0],$e)fn&&($e=$e.parentNode);else return it;_e=_e.slice(Ut.shift().value.length)}for(nt=Ur.needsContext.test(_e)?0:Ut.length;nt--&&(Zt=Ut[nt],!P.relative[bi=Zt.type]);)if((ji=P.find[bi])&&(Rt=ji(Zt.matches[0].replace(Da,vr),ta.test(Ut[0].type)&&Zn($e.parentNode)||$e))){if(Ut.splice(nt,1),_e=Rt.length&&Nr(Ut),!_e)return Ua.apply(it,Rt),it;break}}return(fn||qe(_e,sn))(Rt,$e,!gn,it,!$e||ta.test(_e)&&Zn($e.parentNode)||$e),it},w.sortStable=nr.split("").sort(Mn).join("")===nr,w.detectDuplicates=!!Gt,ht(),w.sortDetached=Wr(function(_e){return _e.compareDocumentPosition(kt.createElement("fieldset"))&1}),Wr(function(_e){return _e.innerHTML="<a href='#'></a>",_e.firstChild.getAttribute("href")==="#"})||jo("type|href|height|width",function(_e,$e,it){if(!it)return _e.getAttribute($e,$e.toLowerCase()==="type"?1:2)}),(!w.attributes||!Wr(function(_e){return _e.innerHTML="<input/>",_e.firstChild.setAttribute("value",""),_e.firstChild.getAttribute("value")===""}))&&jo("value",function(_e,$e,it){if(!it&&_e.nodeName.toLowerCase()==="input")return _e.defaultValue}),Wr(function(_e){return _e.getAttribute("disabled")==null})||jo(Aa,function(_e,$e,it){var Rt;if(!it)return _e[$e]===!0?$e.toLowerCase():(Rt=_e.getAttributeNode($e))&&Rt.specified?Rt.value:null}),Xn}(g);s.find=De,s.expr=De.selectors,s.expr[":"]=s.expr.pseudos,s.uniqueSort=s.unique=De.uniqueSort,s.text=De.getText,s.isXMLDoc=De.isXML,s.contains=De.contains,s.escapeSelector=De.escape;var ke=function(r,f,w){for(var P=[],W=w!==void 0;(r=r[f])&&r.nodeType!==9;)if(r.nodeType===1){if(W&&s(r).is(w))break;P.push(r)}return P},le=function(r,f){for(var w=[];r;r=r.nextSibling)r.nodeType===1&&r!==f&&w.push(r);return w},pe=s.expr.match.needsContext;function We(r,f){return r.nodeName&&r.nodeName.toLowerCase()===f.toLowerCase()}var I=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function F(r,f,w){return D(f)?s.grep(r,function(P,W){return!!f.call(P,W,P)!==w}):f.nodeType?s.grep(r,function(P){return P===f!==w}):typeof f!="string"?s.grep(r,function(P){return L.call(f,P)>-1!==w}):s.filter(f,r,w)}s.filter=function(r,f,w){var P=f[0];return w&&(r=":not("+r+")"),f.length===1&&P.nodeType===1?s.find.matchesSelector(P,r)?[P]:[]:s.find.matches(r,s.grep(f,function(W){return W.nodeType===1}))},s.fn.extend({find:function(r){var f,w,P=this.length,W=this;if(typeof r!="string")return this.pushStack(s(r).filter(function(){for(f=0;f<P;f++)if(s.contains(W[f],this))return!0}));for(w=this.pushStack([]),f=0;f<P;f++)s.find(r,W[f],w);return P>1?s.uniqueSort(w):w},filter:function(r){return this.pushStack(F(this,r||[],!1))},not:function(r){return this.pushStack(F(this,r||[],!0))},is:function(r){return!!F(this,typeof r=="string"&&pe.test(r)?s(r):r||[],!1).length}});var M,Z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Pe=s.fn.init=function(r,f,w){var P,W;if(!r)return this;if(w=w||M,typeof r=="string")if(r[0]==="<"&&r[r.length-1]===">"&&r.length>=3?P=[null,r,null]:P=Z.exec(r),P&&(P[1]||!f))if(P[1]){if(f=f instanceof s?f[0]:f,s.merge(this,s.parseHTML(P[1],f&&f.nodeType?f.ownerDocument||f:de,!0)),I.test(P[1])&&s.isPlainObject(f))for(P in f)D(this[P])?this[P](f[P]):this.attr(P,f[P]);return this}else return W=de.getElementById(P[2]),W&&(this[0]=W,this.length=1),this;else return!f||f.jquery?(f||w).find(r):this.constructor(f).find(r);else{if(r.nodeType)return this[0]=r,this.length=1,this;if(D(r))return w.ready!==void 0?w.ready(r):r(s)}return s.makeArray(r,this)};Pe.prototype=s.fn,M=s(de);var Ke=/^(?:parents|prev(?:Until|All))/,ot={children:!0,contents:!0,next:!0,prev:!0};s.fn.extend({has:function(r){var f=s(r,this),w=f.length;return this.filter(function(){for(var P=0;P<w;P++)if(s.contains(this,f[P]))return!0})},closest:function(r,f){var w,P=0,W=this.length,X=[],ue=typeof r!="string"&&s(r);if(!pe.test(r)){for(;P<W;P++)for(w=this[P];w&&w!==f;w=w.parentNode)if(w.nodeType<11&&(ue?ue.index(w)>-1:w.nodeType===1&&s.find.matchesSelector(w,r))){X.push(w);break}}return this.pushStack(X.length>1?s.uniqueSort(X):X)},index:function(r){return r?typeof r=="string"?L.call(s(r),this[0]):L.call(this,r.jquery?r[0]:r):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(r,f){return this.pushStack(s.uniqueSort(s.merge(this.get(),s(r,f))))},addBack:function(r){return this.add(r==null?this.prevObject:this.prevObject.filter(r))}});function ne(r,f){for(;(r=r[f])&&r.nodeType!==1;);return r}s.each({parent:function(r){var f=r.parentNode;return f&&f.nodeType!==11?f:null},parents:function(r){return ke(r,"parentNode")},parentsUntil:function(r,f,w){return ke(r,"parentNode",w)},next:function(r){return ne(r,"nextSibling")},prev:function(r){return ne(r,"previousSibling")},nextAll:function(r){return ke(r,"nextSibling")},prevAll:function(r){return ke(r,"previousSibling")},nextUntil:function(r,f,w){return ke(r,"nextSibling",w)},prevUntil:function(r,f,w){return ke(r,"previousSibling",w)},siblings:function(r){return le((r.parentNode||{}).firstChild,r)},children:function(r){return le(r.firstChild)},contents:function(r){return r.contentDocument!=null&&z(r.contentDocument)?r.contentDocument:(We(r,"template")&&(r=r.content||r),s.merge([],r.childNodes))}},function(r,f){s.fn[r]=function(w,P){var W=s.map(this,f,w);return r.slice(-5)!=="Until"&&(P=w),P&&typeof P=="string"&&(W=s.filter(P,W)),this.length>1&&(ot[r]||s.uniqueSort(W),Ke.test(r)&&W.reverse()),this.pushStack(W)}});var ae=/[^\x20\t\r\n\f]+/g;function Ve(r){var f={};return s.each(r.match(ae)||[],function(w,P){f[P]=!0}),f}s.Callbacks=function(r){r=typeof r=="string"?Ve(r):s.extend({},r);var f,w,P,W,X=[],ue=[],qe=-1,Ne=function(){for(W=W||r.once,P=f=!0;ue.length;qe=-1)for(w=ue.shift();++qe<X.length;)X[qe].apply(w[0],w[1])===!1&&r.stopOnFalse&&(qe=X.length,w=!1);r.memory||(w=!1),f=!1,W&&(w?X=[]:X="")},ft={add:function(){return X&&(w&&!f&&(qe=X.length-1,ue.push(w)),function xt(Gt){s.each(Gt,function(ht,kt){D(kt)?(!r.unique||!ft.has(kt))&&X.push(kt):kt&&kt.length&&Te(kt)!=="string"&&xt(kt)})}(arguments),w&&!f&&Ne()),this},remove:function(){return s.each(arguments,function(xt,Gt){for(var ht;(ht=s.inArray(Gt,X,ht))>-1;)X.splice(ht,1),ht<=qe&&qe--}),this},has:function(xt){return xt?s.inArray(xt,X)>-1:X.length>0},empty:function(){return X&&(X=[]),this},disable:function(){return W=ue=[],X=w="",this},disabled:function(){return!X},lock:function(){return W=ue=[],!w&&!f&&(X=w=""),this},locked:function(){return!!W},fireWith:function(xt,Gt){return W||(Gt=Gt||[],Gt=[xt,Gt.slice?Gt.slice():Gt],ue.push(Gt),f||Ne()),this},fire:function(){return ft.fireWith(this,arguments),this},fired:function(){return!!P}};return ft};function $(r){return r}function Ee(r){throw r}function tt(r,f,w,P){var W;try{r&&D(W=r.promise)?W.call(r).done(f).fail(w):r&&D(W=r.then)?W.call(r,f,w):f.apply(void 0,[r].slice(P))}catch(X){w.apply(void 0,[X])}}s.extend({Deferred:function(r){var f=[["notify","progress",s.Callbacks("memory"),s.Callbacks("memory"),2],["resolve","done",s.Callbacks("once memory"),s.Callbacks("once memory"),0,"resolved"],["reject","fail",s.Callbacks("once memory"),s.Callbacks("once memory"),1,"rejected"]],w="pending",P={state:function(){return w},always:function(){return W.done(arguments).fail(arguments),this},catch:function(X){return P.then(null,X)},pipe:function(){var X=arguments;return s.Deferred(function(ue){s.each(f,function(qe,Ne){var ft=D(X[Ne[4]])&&X[Ne[4]];W[Ne[1]](function(){var xt=ft&&ft.apply(this,arguments);xt&&D(xt.promise)?xt.promise().progress(ue.notify).done(ue.resolve).fail(ue.reject):ue[Ne[0]+"With"](this,ft?[xt]:arguments)})}),X=null}).promise()},then:function(X,ue,qe){var Ne=0;function ft(xt,Gt,ht,kt){return function(){var Si=this,gn=arguments,vi=function(){var Or,Gr;if(!(xt<Ne)){if(Or=ht.apply(Si,gn),Or===Gt.promise())throw new TypeError("Thenable self-resolution");Gr=Or&&(typeof Or=="object"||typeof Or=="function")&&Or.then,D(Gr)?kt?Gr.call(Or,ft(Ne,Gt,$,kt),ft(Ne,Gt,Ee,kt)):(Ne++,Gr.call(Or,ft(Ne,Gt,$,kt),ft(Ne,Gt,Ee,kt),ft(Ne,Gt,$,Gt.notifyWith))):(ht!==$&&(Si=void 0,gn=[Or]),(kt||Gt.resolveWith)(Si,gn))}},Pr=kt?vi:function(){try{vi()}catch(Or){s.Deferred.exceptionHook&&s.Deferred.exceptionHook(Or,Pr.stackTrace),xt+1>=Ne&&(ht!==Ee&&(Si=void 0,gn=[Or]),Gt.rejectWith(Si,gn))}};xt?Pr():(s.Deferred.getStackHook&&(Pr.stackTrace=s.Deferred.getStackHook()),g.setTimeout(Pr))}}return s.Deferred(function(xt){f[0][3].add(ft(0,xt,D(qe)?qe:$,xt.notifyWith)),f[1][3].add(ft(0,xt,D(X)?X:$)),f[2][3].add(ft(0,xt,D(ue)?ue:Ee))}).promise()},promise:function(X){return X!=null?s.extend(X,P):P}},W={};return s.each(f,function(X,ue){var qe=ue[2],Ne=ue[5];P[ue[1]]=qe.add,Ne&&qe.add(function(){w=Ne},f[3-X][2].disable,f[3-X][3].disable,f[0][2].lock,f[0][3].lock),qe.add(ue[3].fire),W[ue[0]]=function(){return W[ue[0]+"With"](this===W?void 0:this,arguments),this},W[ue[0]+"With"]=qe.fireWith}),P.promise(W),r&&r.call(W,W),W},when:function(r){var f=arguments.length,w=f,P=Array(w),W=oe.call(arguments),X=s.Deferred(),ue=function(qe){return function(Ne){P[qe]=this,W[qe]=arguments.length>1?oe.call(arguments):Ne,--f||X.resolveWith(P,W)}};if(f<=1&&(tt(r,X.done(ue(w)).resolve,X.reject,!f),X.state()==="pending"||D(W[w]&&W[w].then)))return X.then();for(;w--;)tt(W[w],ue(w),X.reject);return X.promise()}});var St=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;s.Deferred.exceptionHook=function(r,f){g.console&&g.console.warn&&r&&St.test(r.name)&&g.console.warn("jQuery.Deferred exception: "+r.message,r.stack,f)},s.readyException=function(r){g.setTimeout(function(){throw r})};var pt=s.Deferred();s.fn.ready=function(r){return pt.then(r).catch(function(f){s.readyException(f)}),this},s.extend({isReady:!1,readyWait:1,ready:function(r){(r===!0?--s.readyWait:s.isReady)||(s.isReady=!0,!(r!==!0&&--s.readyWait>0)&&pt.resolveWith(de,[s]))}}),s.ready.then=pt.then;function Ot(){de.removeEventListener("DOMContentLoaded",Ot),g.removeEventListener("load",Ot),s.ready()}de.readyState==="complete"||de.readyState!=="loading"&&!de.documentElement.doScroll?g.setTimeout(s.ready):(de.addEventListener("DOMContentLoaded",Ot),g.addEventListener("load",Ot));var ui=function(r,f,w,P,W,X,ue){var qe=0,Ne=r.length,ft=w==null;if(Te(w)==="object"){W=!0;for(qe in w)ui(r,f,qe,w[qe],!0,X,ue)}else if(P!==void 0&&(W=!0,D(P)||(ue=!0),ft&&(ue?(f.call(r,P),f=null):(ft=f,f=function(xt,Gt,ht){return ft.call(s(xt),ht)})),f))for(;qe<Ne;qe++)f(r[qe],w,ue?P:P.call(r[qe],qe,f(r[qe],w)));return W?r:ft?f.call(r):Ne?f(r[0],w):X},Qt=/^-ms-/,Ui=/-([a-z])/g;function Ki(r,f){return f.toUpperCase()}function Gi(r){return r.replace(Qt,"ms-").replace(Ui,Ki)}var pn=function(r){return r.nodeType===1||r.nodeType===9||!+r.nodeType};function zi(){this.expando=s.expando+zi.uid++}zi.uid=1,zi.prototype={cache:function(r){var f=r[this.expando];return f||(f={},pn(r)&&(r.nodeType?r[this.expando]=f:Object.defineProperty(r,this.expando,{value:f,configurable:!0}))),f},set:function(r,f,w){var P,W=this.cache(r);if(typeof f=="string")W[Gi(f)]=w;else for(P in f)W[Gi(P)]=f[P];return W},get:function(r,f){return f===void 0?this.cache(r):r[this.expando]&&r[this.expando][Gi(f)]},access:function(r,f,w){return f===void 0||f&&typeof f=="string"&&w===void 0?this.get(r,f):(this.set(r,f,w),w!==void 0?w:f)},remove:function(r,f){var w,P=r[this.expando];if(P!==void 0){if(f!==void 0)for(Array.isArray(f)?f=f.map(Gi):(f=Gi(f),f=f in P?[f]:f.match(ae)||[]),w=f.length;w--;)delete P[f[w]];(f===void 0||s.isEmptyObject(P))&&(r.nodeType?r[this.expando]=void 0:delete r[this.expando])}},hasData:function(r){var f=r[this.expando];return f!==void 0&&!s.isEmptyObject(f)}};var Ft=new zi,bn=new zi,h=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,E=/[A-Z]/g;function ee(r){return r==="true"?!0:r==="false"?!1:r==="null"?null:r===+r+""?+r:h.test(r)?JSON.parse(r):r}function He(r,f,w){var P;if(w===void 0&&r.nodeType===1)if(P="data-"+f.replace(E,"-$&").toLowerCase(),w=r.getAttribute(P),typeof w=="string"){try{w=ee(w)}catch(W){}bn.set(r,f,w)}else w=void 0;return w}s.extend({hasData:function(r){return bn.hasData(r)||Ft.hasData(r)},data:function(r,f,w){return bn.access(r,f,w)},removeData:function(r,f){bn.remove(r,f)},_data:function(r,f,w){return Ft.access(r,f,w)},_removeData:function(r,f){Ft.remove(r,f)}}),s.fn.extend({data:function(r,f){var w,P,W,X=this[0],ue=X&&X.attributes;if(r===void 0){if(this.length&&(W=bn.get(X),X.nodeType===1&&!Ft.get(X,"hasDataAttrs"))){for(w=ue.length;w--;)ue[w]&&(P=ue[w].name,P.indexOf("data-")===0&&(P=Gi(P.slice(5)),He(X,P,W[P])));Ft.set(X,"hasDataAttrs",!0)}return W}return typeof r=="object"?this.each(function(){bn.set(this,r)}):ui(this,function(qe){var Ne;if(X&&qe===void 0)return Ne=bn.get(X,r),Ne!==void 0||(Ne=He(X,r),Ne!==void 0)?Ne:void 0;this.each(function(){bn.set(this,r,qe)})},null,f,arguments.length>1,null,!0)},removeData:function(r){return this.each(function(){bn.remove(this,r)})}}),s.extend({queue:function(r,f,w){var P;if(r)return f=(f||"fx")+"queue",P=Ft.get(r,f),w&&(!P||Array.isArray(w)?P=Ft.access(r,f,s.makeArray(w)):P.push(w)),P||[]},dequeue:function(r,f){f=f||"fx";var w=s.queue(r,f),P=w.length,W=w.shift(),X=s._queueHooks(r,f),ue=function(){s.dequeue(r,f)};W==="inprogress"&&(W=w.shift(),P--),W&&(f==="fx"&&w.unshift("inprogress"),delete X.stop,W.call(r,ue,X)),!P&&X&&X.empty.fire()},_queueHooks:function(r,f){var w=f+"queueHooks";return Ft.get(r,w)||Ft.access(r,w,{empty:s.Callbacks("once memory").add(function(){Ft.remove(r,[f+"queue",w])})})}}),s.fn.extend({queue:function(r,f){var w=2;return typeof r!="string"&&(f=r,r="fx",w--),arguments.length<w?s.queue(this[0],r):f===void 0?this:this.each(function(){var P=s.queue(this,r,f);s._queueHooks(this,r),r==="fx"&&P[0]!=="inprogress"&&s.dequeue(this,r)})},dequeue:function(r){return this.each(function(){s.dequeue(this,r)})},clearQueue:function(r){return this.queue(r||"fx",[])},promise:function(r,f){var w,P=1,W=s.Deferred(),X=this,ue=this.length,qe=function(){--P||W.resolveWith(X,[X])};for(typeof r!="string"&&(f=r,r=void 0),r=r||"fx";ue--;)w=Ft.get(X[ue],r+"queueHooks"),w&&w.empty&&(P++,w.empty.add(qe));return qe(),W.promise(f)}});var Ue=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,at=new RegExp("^(?:([+-])=|)("+Ue+")([a-z%]*)$","i"),K=["Top","Right","Bottom","Left"],Ct=de.documentElement,Hi=function(r){return s.contains(r.ownerDocument,r)},Fi={composed:!0};Ct.getRootNode&&(Hi=function(r){return s.contains(r.ownerDocument,r)||r.getRootNode(Fi)===r.ownerDocument});var Cn=function(r,f){return r=f||r,r.style.display==="none"||r.style.display===""&&Hi(r)&&s.css(r,"display")==="none"};function An(r,f,w,P){var W,X,ue=20,qe=P?function(){return P.cur()}:function(){return s.css(r,f,"")},Ne=qe(),ft=w&&w[3]||(s.cssNumber[f]?"":"px"),xt=r.nodeType&&(s.cssNumber[f]||ft!=="px"&&+Ne)&&at.exec(s.css(r,f));if(xt&&xt[3]!==ft){for(Ne=Ne/2,ft=ft||xt[3],xt=+Ne||1;ue--;)s.style(r,f,xt+ft),(1-X)*(1-(X=qe()/Ne||.5))<=0&&(ue=0),xt=xt/X;xt=xt*2,s.style(r,f,xt+ft),w=w||[]}return w&&(xt=+xt||+Ne||0,W=w[1]?xt+(w[1]+1)*w[2]:+w[2],P&&(P.unit=ft,P.start=xt,P.end=W)),W}var Pn={};function Ei(r){var f,w=r.ownerDocument,P=r.nodeName,W=Pn[P];return W||(f=w.body.appendChild(w.createElement(P)),W=s.css(f,"display"),f.parentNode.removeChild(f),W==="none"&&(W="block"),Pn[P]=W,W)}function Kn(r,f){for(var w,P,W=[],X=0,ue=r.length;X<ue;X++)P=r[X],P.style&&(w=P.style.display,f?(w==="none"&&(W[X]=Ft.get(P,"display")||null,W[X]||(P.style.display="")),P.style.display===""&&Cn(P)&&(W[X]=Ei(P))):w!=="none"&&(W[X]="none",Ft.set(P,"display",w)));for(X=0;X<ue;X++)W[X]!=null&&(r[X].style.display=W[X]);return r}s.fn.extend({show:function(){return Kn(this,!0)},hide:function(){return Kn(this)},toggle:function(r){return typeof r=="boolean"?r?this.show():this.hide():this.each(function(){Cn(this)?s(this).show():s(this).hide()})}});var Yn=/^(?:checkbox|radio)$/i,ar=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Rn=/^$|^module$|\/(?:java|ecma)script/i;(function(){var r=de.createDocumentFragment(),f=r.appendChild(de.createElement("div")),w=de.createElement("input");w.setAttribute("type","radio"),w.setAttribute("checked","checked"),w.setAttribute("name","t"),f.appendChild(w),C.checkClone=f.cloneNode(!0).cloneNode(!0).lastChild.checked,f.innerHTML="<textarea>x</textarea>",C.noCloneChecked=!!f.cloneNode(!0).lastChild.defaultValue,f.innerHTML="<option></option>",C.option=!!f.lastChild})();var qi={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};qi.tbody=qi.tfoot=qi.colgroup=qi.caption=qi.thead,qi.th=qi.td,C.option||(qi.optgroup=qi.option=[1,"<select multiple='multiple'>","</select>"]);function tn(r,f){var w;return typeof r.getElementsByTagName!="undefined"?w=r.getElementsByTagName(f||"*"):typeof r.querySelectorAll!="undefined"?w=r.querySelectorAll(f||"*"):w=[],f===void 0||f&&We(r,f)?s.merge([r],w):w}function Xi(r,f){for(var w=0,P=r.length;w<P;w++)Ft.set(r[w],"globalEval",!f||Ft.get(f[w],"globalEval"))}var un=/<|&#?\w+;/;function er(r,f,w,P,W){for(var X,ue,qe,Ne,ft,xt,Gt=f.createDocumentFragment(),ht=[],kt=0,Si=r.length;kt<Si;kt++)if(X=r[kt],X||X===0)if(Te(X)==="object")s.merge(ht,X.nodeType?[X]:X);else if(!un.test(X))ht.push(f.createTextNode(X));else{for(ue=ue||Gt.appendChild(f.createElement("div")),qe=(ar.exec(X)||["",""])[1].toLowerCase(),Ne=qi[qe]||qi._default,ue.innerHTML=Ne[1]+s.htmlPrefilter(X)+Ne[2],xt=Ne[0];xt--;)ue=ue.lastChild;s.merge(ht,ue.childNodes),ue=Gt.firstChild,ue.textContent=""}for(Gt.textContent="",kt=0;X=ht[kt++];){if(P&&s.inArray(X,P)>-1){W&&W.push(X);continue}if(ft=Hi(X),ue=tn(Gt.appendChild(X),"script"),ft&&Xi(ue),w)for(xt=0;X=ue[xt++];)Rn.test(X.type||"")&&w.push(X)}return Gt}var sa=/^([^.]*)(?:\.(.+)|)/;function Qn(){return!0}function mr(){return!1}function fr(r,f){return r===_a()==(f==="focus")}function _a(){try{return de.activeElement}catch(r){}}function mt(r,f,w,P,W,X){var ue,qe;if(typeof f=="object"){typeof w!="string"&&(P=P||w,w=void 0);for(qe in f)mt(r,qe,w,P,f[qe],X);return r}if(P==null&&W==null?(W=w,P=w=void 0):W==null&&(typeof w=="string"?(W=P,P=void 0):(W=P,P=w,w=void 0)),W===!1)W=mr;else if(!W)return r;return X===1&&(ue=W,W=function(Ne){return s().off(Ne),ue.apply(this,arguments)},W.guid=ue.guid||(ue.guid=s.guid++)),r.each(function(){s.event.add(this,f,W,P,w)})}s.event={global:{},add:function(r,f,w,P,W){var X,ue,qe,Ne,ft,xt,Gt,ht,kt,Si,gn,vi=Ft.get(r);if(!!pn(r))for(w.handler&&(X=w,w=X.handler,W=X.selector),W&&s.find.matchesSelector(Ct,W),w.guid||(w.guid=s.guid++),(Ne=vi.events)||(Ne=vi.events=Object.create(null)),(ue=vi.handle)||(ue=vi.handle=function(Pr){return typeof s!="undefined"&&s.event.triggered!==Pr.type?s.event.dispatch.apply(r,arguments):void 0}),f=(f||"").match(ae)||[""],ft=f.length;ft--;)qe=sa.exec(f[ft])||[],kt=gn=qe[1],Si=(qe[2]||"").split(".").sort(),kt&&(Gt=s.event.special[kt]||{},kt=(W?Gt.delegateType:Gt.bindType)||kt,Gt=s.event.special[kt]||{},xt=s.extend({type:kt,origType:gn,data:P,handler:w,guid:w.guid,selector:W,needsContext:W&&s.expr.match.needsContext.test(W),namespace:Si.join(".")},X),(ht=Ne[kt])||(ht=Ne[kt]=[],ht.delegateCount=0,(!Gt.setup||Gt.setup.call(r,P,Si,ue)===!1)&&r.addEventListener&&r.addEventListener(kt,ue)),Gt.add&&(Gt.add.call(r,xt),xt.handler.guid||(xt.handler.guid=w.guid)),W?ht.splice(ht.delegateCount++,0,xt):ht.push(xt),s.event.global[kt]=!0)},remove:function(r,f,w,P,W){var X,ue,qe,Ne,ft,xt,Gt,ht,kt,Si,gn,vi=Ft.hasData(r)&&Ft.get(r);if(!(!vi||!(Ne=vi.events))){for(f=(f||"").match(ae)||[""],ft=f.length;ft--;){if(qe=sa.exec(f[ft])||[],kt=gn=qe[1],Si=(qe[2]||"").split(".").sort(),!kt){for(kt in Ne)s.event.remove(r,kt+f[ft],w,P,!0);continue}for(Gt=s.event.special[kt]||{},kt=(P?Gt.delegateType:Gt.bindType)||kt,ht=Ne[kt]||[],qe=qe[2]&&new RegExp("(^|\\.)"+Si.join("\\.(?:.*\\.|)")+"(\\.|$)"),ue=X=ht.length;X--;)xt=ht[X],(W||gn===xt.origType)&&(!w||w.guid===xt.guid)&&(!qe||qe.test(xt.namespace))&&(!P||P===xt.selector||P==="**"&&xt.selector)&&(ht.splice(X,1),xt.selector&&ht.delegateCount--,Gt.remove&&Gt.remove.call(r,xt));ue&&!ht.length&&((!Gt.teardown||Gt.teardown.call(r,Si,vi.handle)===!1)&&s.removeEvent(r,kt,vi.handle),delete Ne[kt])}s.isEmptyObject(Ne)&&Ft.remove(r,"handle events")}},dispatch:function(r){var f,w,P,W,X,ue,qe=new Array(arguments.length),Ne=s.event.fix(r),ft=(Ft.get(this,"events")||Object.create(null))[Ne.type]||[],xt=s.event.special[Ne.type]||{};for(qe[0]=Ne,f=1;f<arguments.length;f++)qe[f]=arguments[f];if(Ne.delegateTarget=this,!(xt.preDispatch&&xt.preDispatch.call(this,Ne)===!1)){for(ue=s.event.handlers.call(this,Ne,ft),f=0;(W=ue[f++])&&!Ne.isPropagationStopped();)for(Ne.currentTarget=W.elem,w=0;(X=W.handlers[w++])&&!Ne.isImmediatePropagationStopped();)(!Ne.rnamespace||X.namespace===!1||Ne.rnamespace.test(X.namespace))&&(Ne.handleObj=X,Ne.data=X.data,P=((s.event.special[X.origType]||{}).handle||X.handler).apply(W.elem,qe),P!==void 0&&(Ne.result=P)===!1&&(Ne.preventDefault(),Ne.stopPropagation()));return xt.postDispatch&&xt.postDispatch.call(this,Ne),Ne.result}},handlers:function(r,f){var w,P,W,X,ue,qe=[],Ne=f.delegateCount,ft=r.target;if(Ne&&ft.nodeType&&!(r.type==="click"&&r.button>=1)){for(;ft!==this;ft=ft.parentNode||this)if(ft.nodeType===1&&!(r.type==="click"&&ft.disabled===!0)){for(X=[],ue={},w=0;w<Ne;w++)P=f[w],W=P.selector+" ",ue[W]===void 0&&(ue[W]=P.needsContext?s(W,this).index(ft)>-1:s.find(W,this,null,[ft]).length),ue[W]&&X.push(P);X.length&&qe.push({elem:ft,handlers:X})}}return ft=this,Ne<f.length&&qe.push({elem:ft,handlers:f.slice(Ne)}),qe},addProp:function(r,f){Object.defineProperty(s.Event.prototype,r,{enumerable:!0,configurable:!0,get:D(f)?function(){if(this.originalEvent)return f(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[r]},set:function(w){Object.defineProperty(this,r,{enumerable:!0,configurable:!0,writable:!0,value:w})}})},fix:function(r){return r[s.expando]?r:new s.Event(r)},special:{load:{noBubble:!0},click:{setup:function(r){var f=this||r;return Yn.test(f.type)&&f.click&&We(f,"input")&&Vt(f,"click",Qn),!1},trigger:function(r){var f=this||r;return Yn.test(f.type)&&f.click&&We(f,"input")&&Vt(f,"click"),!0},_default:function(r){var f=r.target;return Yn.test(f.type)&&f.click&&We(f,"input")&&Ft.get(f,"click")||We(f,"a")}},beforeunload:{postDispatch:function(r){r.result!==void 0&&r.originalEvent&&(r.originalEvent.returnValue=r.result)}}}};function Vt(r,f,w){if(!w){Ft.get(r,f)===void 0&&s.event.add(r,f,Qn);return}Ft.set(r,f,!1),s.event.add(r,f,{namespace:!1,handler:function(P){var W,X,ue=Ft.get(this,f);if(P.isTrigger&1&&this[f]){if(ue.length)(s.event.special[f]||{}).delegateType&&P.stopPropagation();else if(ue=oe.call(arguments),Ft.set(this,f,ue),W=w(this,f),this[f](),X=Ft.get(this,f),ue!==X||W?Ft.set(this,f,!1):X={},ue!==X)return P.stopImmediatePropagation(),P.preventDefault(),X&&X.value}else ue.length&&(Ft.set(this,f,{value:s.event.trigger(s.extend(ue[0],s.Event.prototype),ue.slice(1),this)}),P.stopImmediatePropagation())}})}s.removeEvent=function(r,f,w){r.removeEventListener&&r.removeEventListener(f,w)},s.Event=function(r,f){if(!(this instanceof s.Event))return new s.Event(r,f);r&&r.type?(this.originalEvent=r,this.type=r.type,this.isDefaultPrevented=r.defaultPrevented||r.defaultPrevented===void 0&&r.returnValue===!1?Qn:mr,this.target=r.target&&r.target.nodeType===3?r.target.parentNode:r.target,this.currentTarget=r.currentTarget,this.relatedTarget=r.relatedTarget):this.type=r,f&&s.extend(this,f),this.timeStamp=r&&r.timeStamp||Date.now(),this[s.expando]=!0},s.Event.prototype={constructor:s.Event,isDefaultPrevented:mr,isPropagationStopped:mr,isImmediatePropagationStopped:mr,isSimulated:!1,preventDefault:function(){var r=this.originalEvent;this.isDefaultPrevented=Qn,r&&!this.isSimulated&&r.preventDefault()},stopPropagation:function(){var r=this.originalEvent;this.isPropagationStopped=Qn,r&&!this.isSimulated&&r.stopPropagation()},stopImmediatePropagation:function(){var r=this.originalEvent;this.isImmediatePropagationStopped=Qn,r&&!this.isSimulated&&r.stopImmediatePropagation(),this.stopPropagation()}},s.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},s.event.addProp),s.each({focus:"focusin",blur:"focusout"},function(r,f){s.event.special[r]={setup:function(){return Vt(this,r,fr),!1},trigger:function(){return Vt(this,r),!0},_default:function(w){return Ft.get(w.target,r)},delegateType:f}}),s.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(r,f){s.event.special[r]={delegateType:f,bindType:f,handle:function(w){var P,W=this,X=w.relatedTarget,ue=w.handleObj;return(!X||X!==W&&!s.contains(W,X))&&(w.type=ue.origType,P=ue.handler.apply(this,arguments),w.type=f),P}}}),s.fn.extend({on:function(r,f,w,P){return mt(this,r,f,w,P)},one:function(r,f,w,P){return mt(this,r,f,w,P,1)},off:function(r,f,w){var P,W;if(r&&r.preventDefault&&r.handleObj)return P=r.handleObj,s(r.delegateTarget).off(P.namespace?P.origType+"."+P.namespace:P.origType,P.selector,P.handler),this;if(typeof r=="object"){for(W in r)this.off(W,f,r[W]);return this}return(f===!1||typeof f=="function")&&(w=f,f=void 0),w===!1&&(w=mr),this.each(function(){s.event.remove(this,r,w,f)})}});var ai=/<script|<style|<link/i,Di=/checked\s*(?:[^=]|=\s*.checked.)/i,hn=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function En(r,f){return We(r,"table")&&We(f.nodeType!==11?f:f.firstChild,"tr")&&s(r).children("tbody")[0]||r}function In(r){return r.type=(r.getAttribute("type")!==null)+"/"+r.type,r}function Hn(r){return(r.type||"").slice(0,5)==="true/"?r.type=r.type.slice(5):r.removeAttribute("type"),r}function tr(r,f){var w,P,W,X,ue,qe,Ne;if(f.nodeType===1){if(Ft.hasData(r)&&(X=Ft.get(r),Ne=X.events,Ne)){Ft.remove(f,"handle events");for(W in Ne)for(w=0,P=Ne[W].length;w<P;w++)s.event.add(f,W,Ne[W][w])}bn.hasData(r)&&(ue=bn.access(r),qe=s.extend({},ue),bn.set(f,qe))}}function Qi(r,f){var w=f.nodeName.toLowerCase();w==="input"&&Yn.test(r.type)?f.checked=r.checked:(w==="input"||w==="textarea")&&(f.defaultValue=r.defaultValue)}function Un(r,f,w,P){f=d(f);var W,X,ue,qe,Ne,ft,xt=0,Gt=r.length,ht=Gt-1,kt=f[0],Si=D(kt);if(Si||Gt>1&&typeof kt=="string"&&!C.checkClone&&Di.test(kt))return r.each(function(gn){var vi=r.eq(gn);Si&&(f[0]=kt.call(this,gn,vi.html())),Un(vi,f,w,P)});if(Gt&&(W=er(f,r[0].ownerDocument,!1,r,P),X=W.firstChild,W.childNodes.length===1&&(W=X),X||P)){for(ue=s.map(tn(W,"script"),In),qe=ue.length;xt<Gt;xt++)Ne=W,xt!==ht&&(Ne=s.clone(Ne,!0,!0),qe&&s.merge(ue,tn(Ne,"script"))),w.call(r[xt],Ne,xt);if(qe)for(ft=ue[ue.length-1].ownerDocument,s.map(ue,Hn),xt=0;xt<qe;xt++)Ne=ue[xt],Rn.test(Ne.type||"")&&!Ft.access(Ne,"globalEval")&&s.contains(ft,Ne)&&(Ne.src&&(Ne.type||"").toLowerCase()!=="module"?s._evalUrl&&!Ne.noModule&&s._evalUrl(Ne.src,{nonce:Ne.nonce||Ne.getAttribute("nonce")},ft):we(Ne.textContent.replace(hn,""),Ne,ft))}return r}function wr(r,f,w){for(var P,W=f?s.filter(f,r):r,X=0;(P=W[X])!=null;X++)!w&&P.nodeType===1&&s.cleanData(tn(P)),P.parentNode&&(w&&Hi(P)&&Xi(tn(P,"script")),P.parentNode.removeChild(P));return r}s.extend({htmlPrefilter:function(r){return r},clone:function(r,f,w){var P,W,X,ue,qe=r.cloneNode(!0),Ne=Hi(r);if(!C.noCloneChecked&&(r.nodeType===1||r.nodeType===11)&&!s.isXMLDoc(r))for(ue=tn(qe),X=tn(r),P=0,W=X.length;P<W;P++)Qi(X[P],ue[P]);if(f)if(w)for(X=X||tn(r),ue=ue||tn(qe),P=0,W=X.length;P<W;P++)tr(X[P],ue[P]);else tr(r,qe);return ue=tn(qe,"script"),ue.length>0&&Xi(ue,!Ne&&tn(r,"script")),qe},cleanData:function(r){for(var f,w,P,W=s.event.special,X=0;(w=r[X])!==void 0;X++)if(pn(w)){if(f=w[Ft.expando]){if(f.events)for(P in f.events)W[P]?s.event.remove(w,P):s.removeEvent(w,P,f.handle);w[Ft.expando]=void 0}w[bn.expando]&&(w[bn.expando]=void 0)}}}),s.fn.extend({detach:function(r){return wr(this,r,!0)},remove:function(r){return wr(this,r)},text:function(r){return ui(this,function(f){return f===void 0?s.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=f)})},null,r,arguments.length)},append:function(){return Un(this,arguments,function(r){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var f=En(this,r);f.appendChild(r)}})},prepend:function(){return Un(this,arguments,function(r){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var f=En(this,r);f.insertBefore(r,f.firstChild)}})},before:function(){return Un(this,arguments,function(r){this.parentNode&&this.parentNode.insertBefore(r,this)})},after:function(){return Un(this,arguments,function(r){this.parentNode&&this.parentNode.insertBefore(r,this.nextSibling)})},empty:function(){for(var r,f=0;(r=this[f])!=null;f++)r.nodeType===1&&(s.cleanData(tn(r,!1)),r.textContent="");return this},clone:function(r,f){return r=r==null?!1:r,f=f==null?r:f,this.map(function(){return s.clone(this,r,f)})},html:function(r){return ui(this,function(f){var w=this[0]||{},P=0,W=this.length;if(f===void 0&&w.nodeType===1)return w.innerHTML;if(typeof f=="string"&&!ai.test(f)&&!qi[(ar.exec(f)||["",""])[1].toLowerCase()]){f=s.htmlPrefilter(f);try{for(;P<W;P++)w=this[P]||{},w.nodeType===1&&(s.cleanData(tn(w,!1)),w.innerHTML=f);w=0}catch(X){}}w&&this.empty().append(f)},null,r,arguments.length)},replaceWith:function(){var r=[];return Un(this,arguments,function(f){var w=this.parentNode;s.inArray(this,r)<0&&(s.cleanData(tn(this)),w&&w.replaceChild(f,this))},r)}}),s.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(r,f){s.fn[r]=function(w){for(var P,W=[],X=s(w),ue=X.length-1,qe=0;qe<=ue;qe++)P=qe===ue?this:this.clone(!0),s(X[qe])[f](P),N.apply(W,P.get());return this.pushStack(W)}});var hr=new RegExp("^("+Ue+")(?!px)[a-z%]+$","i"),gr=/^--/,lr=function(r){var f=r.ownerDocument.defaultView;return(!f||!f.opener)&&(f=g),f.getComputedStyle(r)},ir=function(r,f,w){var P,W,X={};for(W in f)X[W]=r.style[W],r.style[W]=f[W];P=w.call(r);for(W in f)r.style[W]=X[W];return P},Ma=new RegExp(K.join("|"),"i"),jr="[\\x20\\t\\r\\n\\f]",la=new RegExp("^"+jr+"+|((?:^|[^\\\\])(?:\\\\.)*)"+jr+"+$","g");(function(){function r(){if(!!ft){Ne.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",ft.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Ct.appendChild(Ne).appendChild(ft);var xt=g.getComputedStyle(ft);w=xt.top!=="1%",qe=f(xt.marginLeft)===12,ft.style.right="60%",X=f(xt.right)===36,P=f(xt.width)===36,ft.style.position="absolute",W=f(ft.offsetWidth/3)===12,Ct.removeChild(Ne),ft=null}}function f(xt){return Math.round(parseFloat(xt))}var w,P,W,X,ue,qe,Ne=de.createElement("div"),ft=de.createElement("div");!ft.style||(ft.style.backgroundClip="content-box",ft.cloneNode(!0).style.backgroundClip="",C.clearCloneStyle=ft.style.backgroundClip==="content-box",s.extend(C,{boxSizingReliable:function(){return r(),P},pixelBoxStyles:function(){return r(),X},pixelPosition:function(){return r(),w},reliableMarginLeft:function(){return r(),qe},scrollboxSize:function(){return r(),W},reliableTrDimensions:function(){var xt,Gt,ht,kt;return ue==null&&(xt=de.createElement("table"),Gt=de.createElement("tr"),ht=de.createElement("div"),xt.style.cssText="position:absolute;left:-11111px;border-collapse:separate",Gt.style.cssText="border:1px solid",Gt.style.height="1px",ht.style.height="9px",ht.style.display="block",Ct.appendChild(xt).appendChild(Gt).appendChild(ht),kt=g.getComputedStyle(Gt),ue=parseInt(kt.height,10)+parseInt(kt.borderTopWidth,10)+parseInt(kt.borderBottomWidth,10)===Gt.offsetHeight,Ct.removeChild(xt)),ue}}))})();function to(r,f,w){var P,W,X,ue,qe=gr.test(f),Ne=r.style;return w=w||lr(r),w&&(ue=w.getPropertyValue(f)||w[f],qe&&(ue=ue.replace(la,"$1")),ue===""&&!Hi(r)&&(ue=s.style(r,f)),!C.pixelBoxStyles()&&hr.test(ue)&&Ma.test(f)&&(P=Ne.width,W=Ne.minWidth,X=Ne.maxWidth,Ne.minWidth=Ne.maxWidth=Ne.width=ue,ue=w.width,Ne.width=P,Ne.minWidth=W,Ne.maxWidth=X)),ue!==void 0?ue+"":ue}function io(r,f){return{get:function(){if(r()){delete this.get;return}return(this.get=f).apply(this,arguments)}}}var Ca=["Webkit","Moz","ms"],Fr=de.createElement("div").style,pa={};function ie(r){for(var f=r[0].toUpperCase()+r.slice(1),w=Ca.length;w--;)if(r=Ca[w]+f,r in Fr)return r}function ye(r){var f=s.cssProps[r]||pa[r];return f||(r in Fr?r:pa[r]=ie(r)||r)}var Be=/^(none|table(?!-c[ea]).+)/,lt={position:"absolute",visibility:"hidden",display:"block"},Lt={letterSpacing:"0",fontWeight:"400"};function Jt(r,f,w){var P=at.exec(f);return P?Math.max(0,P[2]-(w||0))+(P[3]||"px"):f}function yi(r,f,w,P,W,X){var ue=f==="width"?1:0,qe=0,Ne=0;if(w===(P?"border":"content"))return 0;for(;ue<4;ue+=2)w==="margin"&&(Ne+=s.css(r,w+K[ue],!0,W)),P?(w==="content"&&(Ne-=s.css(r,"padding"+K[ue],!0,W)),w!=="margin"&&(Ne-=s.css(r,"border"+K[ue]+"Width",!0,W))):(Ne+=s.css(r,"padding"+K[ue],!0,W),w!=="padding"?Ne+=s.css(r,"border"+K[ue]+"Width",!0,W):qe+=s.css(r,"border"+K[ue]+"Width",!0,W));return!P&&X>=0&&(Ne+=Math.max(0,Math.ceil(r["offset"+f[0].toUpperCase()+f.slice(1)]-X-Ne-qe-.5))||0),Ne}function Ni(r,f,w){var P=lr(r),W=!C.boxSizingReliable()||w,X=W&&s.css(r,"boxSizing",!1,P)==="border-box",ue=X,qe=to(r,f,P),Ne="offset"+f[0].toUpperCase()+f.slice(1);if(hr.test(qe)){if(!w)return qe;qe="auto"}return(!C.boxSizingReliable()&&X||!C.reliableTrDimensions()&&We(r,"tr")||qe==="auto"||!parseFloat(qe)&&s.css(r,"display",!1,P)==="inline")&&r.getClientRects().length&&(X=s.css(r,"boxSizing",!1,P)==="border-box",ue=Ne in r,ue&&(qe=r[Ne])),qe=parseFloat(qe)||0,qe+yi(r,f,w||(X?"border":"content"),ue,P,qe)+"px"}s.extend({cssHooks:{opacity:{get:function(r,f){if(f){var w=to(r,"opacity");return w===""?"1":w}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(r,f,w,P){if(!(!r||r.nodeType===3||r.nodeType===8||!r.style)){var W,X,ue,qe=Gi(f),Ne=gr.test(f),ft=r.style;if(Ne||(f=ye(qe)),ue=s.cssHooks[f]||s.cssHooks[qe],w!==void 0){if(X=typeof w,X==="string"&&(W=at.exec(w))&&W[1]&&(w=An(r,f,W),X="number"),w==null||w!==w)return;X==="number"&&!Ne&&(w+=W&&W[3]||(s.cssNumber[qe]?"":"px")),!C.clearCloneStyle&&w===""&&f.indexOf("background")===0&&(ft[f]="inherit"),(!ue||!("set"in ue)||(w=ue.set(r,w,P))!==void 0)&&(Ne?ft.setProperty(f,w):ft[f]=w)}else return ue&&"get"in ue&&(W=ue.get(r,!1,P))!==void 0?W:ft[f]}},css:function(r,f,w,P){var W,X,ue,qe=Gi(f),Ne=gr.test(f);return Ne||(f=ye(qe)),ue=s.cssHooks[f]||s.cssHooks[qe],ue&&"get"in ue&&(W=ue.get(r,!0,w)),W===void 0&&(W=to(r,f,P)),W==="normal"&&f in Lt&&(W=Lt[f]),w===""||w?(X=parseFloat(W),w===!0||isFinite(X)?X||0:W):W}}),s.each(["height","width"],function(r,f){s.cssHooks[f]={get:function(w,P,W){if(P)return Be.test(s.css(w,"display"))&&(!w.getClientRects().length||!w.getBoundingClientRect().width)?ir(w,lt,function(){return Ni(w,f,W)}):Ni(w,f,W)},set:function(w,P,W){var X,ue=lr(w),qe=!C.scrollboxSize()&&ue.position==="absolute",Ne=qe||W,ft=Ne&&s.css(w,"boxSizing",!1,ue)==="border-box",xt=W?yi(w,f,W,ft,ue):0;return ft&&qe&&(xt-=Math.ceil(w["offset"+f[0].toUpperCase()+f.slice(1)]-parseFloat(ue[f])-yi(w,f,"border",!1,ue)-.5)),xt&&(X=at.exec(P))&&(X[3]||"px")!=="px"&&(w.style[f]=P,P=s.css(w,f)),Jt(w,P,xt)}}}),s.cssHooks.marginLeft=io(C.reliableMarginLeft,function(r,f){if(f)return(parseFloat(to(r,"marginLeft"))||r.getBoundingClientRect().left-ir(r,{marginLeft:0},function(){return r.getBoundingClientRect().left}))+"px"}),s.each({margin:"",padding:"",border:"Width"},function(r,f){s.cssHooks[r+f]={expand:function(w){for(var P=0,W={},X=typeof w=="string"?w.split(" "):[w];P<4;P++)W[r+K[P]+f]=X[P]||X[P-2]||X[0];return W}},r!=="margin"&&(s.cssHooks[r+f].set=Jt)}),s.fn.extend({css:function(r,f){return ui(this,function(w,P,W){var X,ue,qe={},Ne=0;if(Array.isArray(P)){for(X=lr(w),ue=P.length;Ne<ue;Ne++)qe[P[Ne]]=s.css(w,P[Ne],!1,X);return qe}return W!==void 0?s.style(w,P,W):s.css(w,P)},r,f,arguments.length>1)}});function Oi(r,f,w,P,W){return new Oi.prototype.init(r,f,w,P,W)}s.Tween=Oi,Oi.prototype={constructor:Oi,init:function(r,f,w,P,W,X){this.elem=r,this.prop=w,this.easing=W||s.easing._default,this.options=f,this.start=this.now=this.cur(),this.end=P,this.unit=X||(s.cssNumber[w]?"":"px")},cur:function(){var r=Oi.propHooks[this.prop];return r&&r.get?r.get(this):Oi.propHooks._default.get(this)},run:function(r){var f,w=Oi.propHooks[this.prop];return this.options.duration?this.pos=f=s.easing[this.easing](r,this.options.duration*r,0,1,this.options.duration):this.pos=f=r,this.now=(this.end-this.start)*f+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),w&&w.set?w.set(this):Oi.propHooks._default.set(this),this}},Oi.prototype.init.prototype=Oi.prototype,Oi.propHooks={_default:{get:function(r){var f;return r.elem.nodeType!==1||r.elem[r.prop]!=null&&r.elem.style[r.prop]==null?r.elem[r.prop]:(f=s.css(r.elem,r.prop,""),!f||f==="auto"?0:f)},set:function(r){s.fx.step[r.prop]?s.fx.step[r.prop](r):r.elem.nodeType===1&&(s.cssHooks[r.prop]||r.elem.style[ye(r.prop)]!=null)?s.style(r.elem,r.prop,r.now+r.unit):r.elem[r.prop]=r.now}}},Oi.propHooks.scrollTop=Oi.propHooks.scrollLeft={set:function(r){r.elem.nodeType&&r.elem.parentNode&&(r.elem[r.prop]=r.now)}},s.easing={linear:function(r){return r},swing:function(r){return .5-Math.cos(r*Math.PI)/2},_default:"swing"},s.fx=Oi.prototype.init,s.fx.step={};var Ri,Li,On=/^(?:toggle|show|hide)$/,or=/queueHooks$/;function Ta(){Li&&(de.hidden===!1&&g.requestAnimationFrame?g.requestAnimationFrame(Ta):g.setTimeout(Ta,s.fx.interval),s.fx.tick())}function kr(){return g.setTimeout(function(){Ri=void 0}),Ri=Date.now()}function ca(r,f){var w,P=0,W={height:r};for(f=f?1:0;P<4;P+=2-f)w=K[P],W["margin"+w]=W["padding"+w]=r;return f&&(W.opacity=W.width=r),W}function Se(r,f,w){for(var P,W=(Nt.tweeners[f]||[]).concat(Nt.tweeners["*"]),X=0,ue=W.length;X<ue;X++)if(P=W[X].call(w,f,r))return P}function Je(r,f,w){var P,W,X,ue,qe,Ne,ft,xt,Gt="width"in f||"height"in f,ht=this,kt={},Si=r.style,gn=r.nodeType&&Cn(r),vi=Ft.get(r,"fxshow");w.queue||(ue=s._queueHooks(r,"fx"),ue.unqueued==null&&(ue.unqueued=0,qe=ue.empty.fire,ue.empty.fire=function(){ue.unqueued||qe()}),ue.unqueued++,ht.always(function(){ht.always(function(){ue.unqueued--,s.queue(r,"fx").length||ue.empty.fire()})}));for(P in f)if(W=f[P],On.test(W)){if(delete f[P],X=X||W==="toggle",W===(gn?"hide":"show"))if(W==="show"&&vi&&vi[P]!==void 0)gn=!0;else continue;kt[P]=vi&&vi[P]||s.style(r,P)}if(Ne=!s.isEmptyObject(f),!(!Ne&&s.isEmptyObject(kt))){Gt&&r.nodeType===1&&(w.overflow=[Si.overflow,Si.overflowX,Si.overflowY],ft=vi&&vi.display,ft==null&&(ft=Ft.get(r,"display")),xt=s.css(r,"display"),xt==="none"&&(ft?xt=ft:(Kn([r],!0),ft=r.style.display||ft,xt=s.css(r,"display"),Kn([r]))),(xt==="inline"||xt==="inline-block"&&ft!=null)&&s.css(r,"float")==="none"&&(Ne||(ht.done(function(){Si.display=ft}),ft==null&&(xt=Si.display,ft=xt==="none"?"":xt)),Si.display="inline-block")),w.overflow&&(Si.overflow="hidden",ht.always(function(){Si.overflow=w.overflow[0],Si.overflowX=w.overflow[1],Si.overflowY=w.overflow[2]})),Ne=!1;for(P in kt)Ne||(vi?"hidden"in vi&&(gn=vi.hidden):vi=Ft.access(r,"fxshow",{display:ft}),X&&(vi.hidden=!gn),gn&&Kn([r],!0),ht.done(function(){gn||Kn([r]),Ft.remove(r,"fxshow");for(P in kt)s.style(r,P,kt[P])})),Ne=Se(gn?vi[P]:0,P,ht),P in vi||(vi[P]=Ne.start,gn&&(Ne.end=Ne.start,Ne.start=0))}}function bt(r,f){var w,P,W,X,ue;for(w in r)if(P=Gi(w),W=f[P],X=r[w],Array.isArray(X)&&(W=X[1],X=r[w]=X[0]),w!==P&&(r[P]=X,delete r[w]),ue=s.cssHooks[P],ue&&"expand"in ue){X=ue.expand(X),delete r[P];for(w in X)w in r||(r[w]=X[w],f[w]=W)}else f[P]=W}function Nt(r,f,w){var P,W,X=0,ue=Nt.prefilters.length,qe=s.Deferred().always(function(){delete Ne.elem}),Ne=function(){if(W)return!1;for(var Gt=Ri||kr(),ht=Math.max(0,ft.startTime+ft.duration-Gt),kt=ht/ft.duration||0,Si=1-kt,gn=0,vi=ft.tweens.length;gn<vi;gn++)ft.tweens[gn].run(Si);return qe.notifyWith(r,[ft,Si,ht]),Si<1&&vi?ht:(vi||qe.notifyWith(r,[ft,1,0]),qe.resolveWith(r,[ft]),!1)},ft=qe.promise({elem:r,props:s.extend({},f),opts:s.extend(!0,{specialEasing:{},easing:s.easing._default},w),originalProperties:f,originalOptions:w,startTime:Ri||kr(),duration:w.duration,tweens:[],createTween:function(Gt,ht){var kt=s.Tween(r,ft.opts,Gt,ht,ft.opts.specialEasing[Gt]||ft.opts.easing);return ft.tweens.push(kt),kt},stop:function(Gt){var ht=0,kt=Gt?ft.tweens.length:0;if(W)return this;for(W=!0;ht<kt;ht++)ft.tweens[ht].run(1);return Gt?(qe.notifyWith(r,[ft,1,0]),qe.resolveWith(r,[ft,Gt])):qe.rejectWith(r,[ft,Gt]),this}}),xt=ft.props;for(bt(xt,ft.opts.specialEasing);X<ue;X++)if(P=Nt.prefilters[X].call(ft,r,xt,ft.opts),P)return D(P.stop)&&(s._queueHooks(ft.elem,ft.opts.queue).stop=P.stop.bind(P)),P;return s.map(xt,Se,ft),D(ft.opts.start)&&ft.opts.start.call(r,ft),ft.progress(ft.opts.progress).done(ft.opts.done,ft.opts.complete).fail(ft.opts.fail).always(ft.opts.always),s.fx.timer(s.extend(Ne,{elem:r,anim:ft,queue:ft.opts.queue})),ft}s.Animation=s.extend(Nt,{tweeners:{"*":[function(r,f){var w=this.createTween(r,f);return An(w.elem,r,at.exec(f),w),w}]},tweener:function(r,f){D(r)?(f=r,r=["*"]):r=r.match(ae);for(var w,P=0,W=r.length;P<W;P++)w=r[P],Nt.tweeners[w]=Nt.tweeners[w]||[],Nt.tweeners[w].unshift(f)},prefilters:[Je],prefilter:function(r,f){f?Nt.prefilters.unshift(r):Nt.prefilters.push(r)}}),s.speed=function(r,f,w){var P=r&&typeof r=="object"?s.extend({},r):{complete:w||!w&&f||D(r)&&r,duration:r,easing:w&&f||f&&!D(f)&&f};return s.fx.off?P.duration=0:typeof P.duration!="number"&&(P.duration in s.fx.speeds?P.duration=s.fx.speeds[P.duration]:P.duration=s.fx.speeds._default),(P.queue==null||P.queue===!0)&&(P.queue="fx"),P.old=P.complete,P.complete=function(){D(P.old)&&P.old.call(this),P.queue&&s.dequeue(this,P.queue)},P},s.fn.extend({fadeTo:function(r,f,w,P){return this.filter(Cn).css("opacity",0).show().end().animate({opacity:f},r,w,P)},animate:function(r,f,w,P){var W=s.isEmptyObject(r),X=s.speed(f,w,P),ue=function(){var qe=Nt(this,s.extend({},r),X);(W||Ft.get(this,"finish"))&&qe.stop(!0)};return ue.finish=ue,W||X.queue===!1?this.each(ue):this.queue(X.queue,ue)},stop:function(r,f,w){var P=function(W){var X=W.stop;delete W.stop,X(w)};return typeof r!="string"&&(w=f,f=r,r=void 0),f&&this.queue(r||"fx",[]),this.each(function(){var W=!0,X=r!=null&&r+"queueHooks",ue=s.timers,qe=Ft.get(this);if(X)qe[X]&&qe[X].stop&&P(qe[X]);else for(X in qe)qe[X]&&qe[X].stop&&or.test(X)&&P(qe[X]);for(X=ue.length;X--;)ue[X].elem===this&&(r==null||ue[X].queue===r)&&(ue[X].anim.stop(w),W=!1,ue.splice(X,1));(W||!w)&&s.dequeue(this,r)})},finish:function(r){return r!==!1&&(r=r||"fx"),this.each(function(){var f,w=Ft.get(this),P=w[r+"queue"],W=w[r+"queueHooks"],X=s.timers,ue=P?P.length:0;for(w.finish=!0,s.queue(this,r,[]),W&&W.stop&&W.stop.call(this,!0),f=X.length;f--;)X[f].elem===this&&X[f].queue===r&&(X[f].anim.stop(!0),X.splice(f,1));for(f=0;f<ue;f++)P[f]&&P[f].finish&&P[f].finish.call(this);delete w.finish})}}),s.each(["toggle","show","hide"],function(r,f){var w=s.fn[f];s.fn[f]=function(P,W,X){return P==null||typeof P=="boolean"?w.apply(this,arguments):this.animate(ca(f,!0),P,W,X)}}),s.each({slideDown:ca("show"),slideUp:ca("hide"),slideToggle:ca("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(r,f){s.fn[r]=function(w,P,W){return this.animate(f,w,P,W)}}),s.timers=[],s.fx.tick=function(){var r,f=0,w=s.timers;for(Ri=Date.now();f<w.length;f++)r=w[f],!r()&&w[f]===r&&w.splice(f--,1);w.length||s.fx.stop(),Ri=void 0},s.fx.timer=function(r){s.timers.push(r),s.fx.start()},s.fx.interval=13,s.fx.start=function(){Li||(Li=!0,Ta())},s.fx.stop=function(){Li=null},s.fx.speeds={slow:600,fast:200,_default:400},s.fn.delay=function(r,f){return r=s.fx&&s.fx.speeds[r]||r,f=f||"fx",this.queue(f,function(w,P){var W=g.setTimeout(w,r);P.stop=function(){g.clearTimeout(W)}})},function(){var r=de.createElement("input"),f=de.createElement("select"),w=f.appendChild(de.createElement("option"));r.type="checkbox",C.checkOn=r.value!=="",C.optSelected=w.selected,r=de.createElement("input"),r.value="t",r.type="radio",C.radioValue=r.value==="t"}();var Dt,ki=s.expr.attrHandle;s.fn.extend({attr:function(r,f){return ui(this,s.attr,r,f,arguments.length>1)},removeAttr:function(r){return this.each(function(){s.removeAttr(this,r)})}}),s.extend({attr:function(r,f,w){var P,W,X=r.nodeType;if(!(X===3||X===8||X===2)){if(typeof r.getAttribute=="undefined")return s.prop(r,f,w);if((X!==1||!s.isXMLDoc(r))&&(W=s.attrHooks[f.toLowerCase()]||(s.expr.match.bool.test(f)?Dt:void 0)),w!==void 0){if(w===null){s.removeAttr(r,f);return}return W&&"set"in W&&(P=W.set(r,w,f))!==void 0?P:(r.setAttribute(f,w+""),w)}return W&&"get"in W&&(P=W.get(r,f))!==null?P:(P=s.find.attr(r,f),P==null?void 0:P)}},attrHooks:{type:{set:function(r,f){if(!C.radioValue&&f==="radio"&&We(r,"input")){var w=r.value;return r.setAttribute("type",f),w&&(r.value=w),f}}}},removeAttr:function(r,f){var w,P=0,W=f&&f.match(ae);if(W&&r.nodeType===1)for(;w=W[P++];)r.removeAttribute(w)}}),Dt={set:function(r,f,w){return f===!1?s.removeAttr(r,w):r.setAttribute(w,w),w}},s.each(s.expr.match.bool.source.match(/\w+/g),function(r,f){var w=ki[f]||s.find.attr;ki[f]=function(P,W,X){var ue,qe,Ne=W.toLowerCase();return X||(qe=ki[Ne],ki[Ne]=ue,ue=w(P,W,X)!=null?Ne:null,ki[Ne]=qe),ue}});var rn=/^(?:input|select|textarea|button)$/i,Ai=/^(?:a|area)$/i;s.fn.extend({prop:function(r,f){return ui(this,s.prop,r,f,arguments.length>1)},removeProp:function(r){return this.each(function(){delete this[s.propFix[r]||r]})}}),s.extend({prop:function(r,f,w){var P,W,X=r.nodeType;if(!(X===3||X===8||X===2))return(X!==1||!s.isXMLDoc(r))&&(f=s.propFix[f]||f,W=s.propHooks[f]),w!==void 0?W&&"set"in W&&(P=W.set(r,w,f))!==void 0?P:r[f]=w:W&&"get"in W&&(P=W.get(r,f))!==null?P:r[f]},propHooks:{tabIndex:{get:function(r){var f=s.find.attr(r,"tabindex");return f?parseInt(f,10):rn.test(r.nodeName)||Ai.test(r.nodeName)&&r.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),C.optSelected||(s.propHooks.selected={get:function(r){var f=r.parentNode;return f&&f.parentNode&&f.parentNode.selectedIndex,null},set:function(r){var f=r.parentNode;f&&(f.selectedIndex,f.parentNode&&f.parentNode.selectedIndex)}}),s.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){s.propFix[this.toLowerCase()]=this});function Qr(r){var f=r.match(ae)||[];return f.join(" ")}function Cr(r){return r.getAttribute&&r.getAttribute("class")||""}function Ar(r){return Array.isArray(r)?r:typeof r=="string"?r.match(ae)||[]:[]}s.fn.extend({addClass:function(r){var f,w,P,W,X,ue;return D(r)?this.each(function(qe){s(this).addClass(r.call(this,qe,Cr(this)))}):(f=Ar(r),f.length?this.each(function(){if(P=Cr(this),w=this.nodeType===1&&" "+Qr(P)+" ",w){for(X=0;X<f.length;X++)W=f[X],w.indexOf(" "+W+" ")<0&&(w+=W+" ");ue=Qr(w),P!==ue&&this.setAttribute("class",ue)}}):this)},removeClass:function(r){var f,w,P,W,X,ue;return D(r)?this.each(function(qe){s(this).removeClass(r.call(this,qe,Cr(this)))}):arguments.length?(f=Ar(r),f.length?this.each(function(){if(P=Cr(this),w=this.nodeType===1&&" "+Qr(P)+" ",w){for(X=0;X<f.length;X++)for(W=f[X];w.indexOf(" "+W+" ")>-1;)w=w.replace(" "+W+" "," ");ue=Qr(w),P!==ue&&this.setAttribute("class",ue)}}):this):this.attr("class","")},toggleClass:function(r,f){var w,P,W,X,ue=typeof r,qe=ue==="string"||Array.isArray(r);return D(r)?this.each(function(Ne){s(this).toggleClass(r.call(this,Ne,Cr(this),f),f)}):typeof f=="boolean"&&qe?f?this.addClass(r):this.removeClass(r):(w=Ar(r),this.each(function(){if(qe)for(X=s(this),W=0;W<w.length;W++)P=w[W],X.hasClass(P)?X.removeClass(P):X.addClass(P);else(r===void 0||ue==="boolean")&&(P=Cr(this),P&&Ft.set(this,"__className__",P),this.setAttribute&&this.setAttribute("class",P||r===!1?"":Ft.get(this,"__className__")||""))}))},hasClass:function(r){var f,w,P=0;for(f=" "+r+" ";w=this[P++];)if(w.nodeType===1&&(" "+Qr(Cr(w))+" ").indexOf(f)>-1)return!0;return!1}});var Vr=/\r/g;s.fn.extend({val:function(r){var f,w,P,W=this[0];return arguments.length?(P=D(r),this.each(function(X){var ue;this.nodeType===1&&(P?ue=r.call(this,X,s(this).val()):ue=r,ue==null?ue="":typeof ue=="number"?ue+="":Array.isArray(ue)&&(ue=s.map(ue,function(qe){return qe==null?"":qe+""})),f=s.valHooks[this.type]||s.valHooks[this.nodeName.toLowerCase()],(!f||!("set"in f)||f.set(this,ue,"value")===void 0)&&(this.value=ue))})):W?(f=s.valHooks[W.type]||s.valHooks[W.nodeName.toLowerCase()],f&&"get"in f&&(w=f.get(W,"value"))!==void 0?w:(w=W.value,typeof w=="string"?w.replace(Vr,""):w==null?"":w)):void 0}}),s.extend({valHooks:{option:{get:function(r){var f=s.find.attr(r,"value");return f!=null?f:Qr(s.text(r))}},select:{get:function(r){var f,w,P,W=r.options,X=r.selectedIndex,ue=r.type==="select-one",qe=ue?null:[],Ne=ue?X+1:W.length;for(X<0?P=Ne:P=ue?X:0;P<Ne;P++)if(w=W[P],(w.selected||P===X)&&!w.disabled&&(!w.parentNode.disabled||!We(w.parentNode,"optgroup"))){if(f=s(w).val(),ue)return f;qe.push(f)}return qe},set:function(r,f){for(var w,P,W=r.options,X=s.makeArray(f),ue=W.length;ue--;)P=W[ue],(P.selected=s.inArray(s.valHooks.option.get(P),X)>-1)&&(w=!0);return w||(r.selectedIndex=-1),X}}}}),s.each(["radio","checkbox"],function(){s.valHooks[this]={set:function(r,f){if(Array.isArray(f))return r.checked=s.inArray(s(r).val(),f)>-1}},C.checkOn||(s.valHooks[this].get=function(r){return r.getAttribute("value")===null?"on":r.value})}),C.focusin="onfocusin"in g;var $i=/^(?:focusinfocus|focusoutblur)$/,cr=function(r){r.stopPropagation()};s.extend(s.event,{trigger:function(r,f,w,P){var W,X,ue,qe,Ne,ft,xt,Gt,ht=[w||de],kt=H.call(r,"type")?r.type:r,Si=H.call(r,"namespace")?r.namespace.split("."):[];if(X=Gt=ue=w=w||de,!(w.nodeType===3||w.nodeType===8)&&!$i.test(kt+s.event.triggered)&&(kt.indexOf(".")>-1&&(Si=kt.split("."),kt=Si.shift(),Si.sort()),Ne=kt.indexOf(":")<0&&"on"+kt,r=r[s.expando]?r:new s.Event(kt,typeof r=="object"&&r),r.isTrigger=P?2:3,r.namespace=Si.join("."),r.rnamespace=r.namespace?new RegExp("(^|\\.)"+Si.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,r.result=void 0,r.target||(r.target=w),f=f==null?[r]:s.makeArray(f,[r]),xt=s.event.special[kt]||{},!(!P&&xt.trigger&&xt.trigger.apply(w,f)===!1))){if(!P&&!xt.noBubble&&!ge(w)){for(qe=xt.delegateType||kt,$i.test(qe+kt)||(X=X.parentNode);X;X=X.parentNode)ht.push(X),ue=X;ue===(w.ownerDocument||de)&&ht.push(ue.defaultView||ue.parentWindow||g)}for(W=0;(X=ht[W++])&&!r.isPropagationStopped();)Gt=X,r.type=W>1?qe:xt.bindType||kt,ft=(Ft.get(X,"events")||Object.create(null))[r.type]&&Ft.get(X,"handle"),ft&&ft.apply(X,f),ft=Ne&&X[Ne],ft&&ft.apply&&pn(X)&&(r.result=ft.apply(X,f),r.result===!1&&r.preventDefault());return r.type=kt,!P&&!r.isDefaultPrevented()&&(!xt._default||xt._default.apply(ht.pop(),f)===!1)&&pn(w)&&Ne&&D(w[kt])&&!ge(w)&&(ue=w[Ne],ue&&(w[Ne]=null),s.event.triggered=kt,r.isPropagationStopped()&&Gt.addEventListener(kt,cr),w[kt](),r.isPropagationStopped()&&Gt.removeEventListener(kt,cr),s.event.triggered=void 0,ue&&(w[Ne]=ue)),r.result}},simulate:function(r,f,w){var P=s.extend(new s.Event,w,{type:r,isSimulated:!0});s.event.trigger(P,null,f)}}),s.fn.extend({trigger:function(r,f){return this.each(function(){s.event.trigger(r,f,this)})},triggerHandler:function(r,f){var w=this[0];if(w)return s.event.trigger(r,f,w,!0)}}),C.focusin||s.each({focus:"focusin",blur:"focusout"},function(r,f){var w=function(P){s.event.simulate(f,P.target,s.event.fix(P))};s.event.special[f]={setup:function(){var P=this.ownerDocument||this.document||this,W=Ft.access(P,f);W||P.addEventListener(r,w,!0),Ft.access(P,f,(W||0)+1)},teardown:function(){var P=this.ownerDocument||this.document||this,W=Ft.access(P,f)-1;W?Ft.access(P,f,W):(P.removeEventListener(r,w,!0),Ft.remove(P,f))}}});var ua=g.location,go={guid:Date.now()},wa=/\?/;s.parseXML=function(r){var f,w;if(!r||typeof r!="string")return null;try{f=new g.DOMParser().parseFromString(r,"text/xml")}catch(P){}return w=f&&f.getElementsByTagName("parsererror")[0],(!f||w)&&s.error("Invalid XML: "+(w?s.map(w.childNodes,function(P){return P.textContent}).join(`
|
|
`):r)),f};var Co=/\[\]$/,To=/\r?\n/g,No=/^(?:submit|button|image|reset|file)$/i,Ho=/^(?:input|select|textarea|keygen)/i;function Ea(r,f,w,P){var W;if(Array.isArray(f))s.each(f,function(X,ue){w||Co.test(r)?P(r,ue):Ea(r+"["+(typeof ue=="object"&&ue!=null?X:"")+"]",ue,w,P)});else if(!w&&Te(f)==="object")for(W in f)Ea(r+"["+W+"]",f[W],w,P);else P(r,f)}s.param=function(r,f){var w,P=[],W=function(X,ue){var qe=D(ue)?ue():ue;P[P.length]=encodeURIComponent(X)+"="+encodeURIComponent(qe==null?"":qe)};if(r==null)return"";if(Array.isArray(r)||r.jquery&&!s.isPlainObject(r))s.each(r,function(){W(this.name,this.value)});else for(w in r)Ea(w,r[w],f,W);return P.join("&")},s.fn.extend({serialize:function(){return s.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var r=s.prop(this,"elements");return r?s.makeArray(r):this}).filter(function(){var r=this.type;return this.name&&!s(this).is(":disabled")&&Ho.test(this.nodeName)&&!No.test(r)&&(this.checked||!Yn.test(r))}).map(function(r,f){var w=s(this).val();return w==null?null:Array.isArray(w)?s.map(w,function(P){return{name:f.name,value:P.replace(To,`\r
|
|
`)}}):{name:f.name,value:w.replace(To,`\r
|
|
`)}}).get()}});var xs=/%20/g,vo=/#.*$/,ds=/([?&])_=[^&]*/,ma=/^(.*?):[ \t]*([^\r\n]*)$/mg,Oa=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Lo=/^(?:GET|HEAD)$/,no=/^\/\//,$o={},zo={},ka="*/".concat("*"),yo=de.createElement("a");yo.href=ua.href;function Ia(r){return function(f,w){typeof f!="string"&&(w=f,f="*");var P,W=0,X=f.toLowerCase().match(ae)||[];if(D(w))for(;P=X[W++];)P[0]==="+"?(P=P.slice(1)||"*",(r[P]=r[P]||[]).unshift(w)):(r[P]=r[P]||[]).push(w)}}function Va(r,f,w,P){var W={},X=r===zo;function ue(qe){var Ne;return W[qe]=!0,s.each(r[qe]||[],function(ft,xt){var Gt=xt(f,w,P);if(typeof Gt=="string"&&!X&&!W[Gt])return f.dataTypes.unshift(Gt),ue(Gt),!1;if(X)return!(Ne=Gt)}),Ne}return ue(f.dataTypes[0])||!W["*"]&&ue("*")}function Gn(r,f){var w,P,W=s.ajaxSettings.flatOptions||{};for(w in f)f[w]!==void 0&&((W[w]?r:P||(P={}))[w]=f[w]);return P&&s.extend(!0,r,P),r}function As(r,f,w){for(var P,W,X,ue,qe=r.contents,Ne=r.dataTypes;Ne[0]==="*";)Ne.shift(),P===void 0&&(P=r.mimeType||f.getResponseHeader("Content-Type"));if(P){for(W in qe)if(qe[W]&&qe[W].test(P)){Ne.unshift(W);break}}if(Ne[0]in w)X=Ne[0];else{for(W in w){if(!Ne[0]||r.converters[W+" "+Ne[0]]){X=W;break}ue||(ue=W)}X=X||ue}if(X)return X!==Ne[0]&&Ne.unshift(X),w[X]}function Wo(r,f,w,P){var W,X,ue,qe,Ne,ft={},xt=r.dataTypes.slice();if(xt[1])for(ue in r.converters)ft[ue.toLowerCase()]=r.converters[ue];for(X=xt.shift();X;)if(r.responseFields[X]&&(w[r.responseFields[X]]=f),!Ne&&P&&r.dataFilter&&(f=r.dataFilter(f,r.dataType)),Ne=X,X=xt.shift(),X){if(X==="*")X=Ne;else if(Ne!=="*"&&Ne!==X){if(ue=ft[Ne+" "+X]||ft["* "+X],!ue){for(W in ft)if(qe=W.split(" "),qe[1]===X&&(ue=ft[Ne+" "+qe[0]]||ft["* "+qe[0]],ue)){ue===!0?ue=ft[W]:ft[W]!==!0&&(X=qe[0],xt.unshift(qe[1]));break}}if(ue!==!0)if(ue&&r.throws)f=ue(f);else try{f=ue(f)}catch(Gt){return{state:"parsererror",error:ue?Gt:"No conversion from "+Ne+" to "+X}}}}return{state:"success",data:f}}s.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ua.href,type:"GET",isLocal:Oa.test(ua.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":ka,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":s.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(r,f){return f?Gn(Gn(r,s.ajaxSettings),f):Gn(s.ajaxSettings,r)},ajaxPrefilter:Ia($o),ajaxTransport:Ia(zo),ajax:function(r,f){typeof r=="object"&&(f=r,r=void 0),f=f||{};var w,P,W,X,ue,qe,Ne,ft,xt,Gt,ht=s.ajaxSetup({},f),kt=ht.context||ht,Si=ht.context&&(kt.nodeType||kt.jquery)?s(kt):s.event,gn=s.Deferred(),vi=s.Callbacks("once memory"),Pr=ht.statusCode||{},Or={},Gr={},nr="canceled",_n={readyState:0,getResponseHeader:function($n){var Tr;if(Ne){if(!X)for(X={};Tr=ma.exec(W);)X[Tr[1].toLowerCase()+" "]=(X[Tr[1].toLowerCase()+" "]||[]).concat(Tr[2]);Tr=X[$n.toLowerCase()+" "]}return Tr==null?null:Tr.join(", ")},getAllResponseHeaders:function(){return Ne?W:null},setRequestHeader:function($n,Tr){return Ne==null&&($n=Gr[$n.toLowerCase()]=Gr[$n.toLowerCase()]||$n,Or[$n]=Tr),this},overrideMimeType:function($n){return Ne==null&&(ht.mimeType=$n),this},statusCode:function($n){var Tr;if($n)if(Ne)_n.always($n[_n.status]);else for(Tr in $n)Pr[Tr]=[Pr[Tr],$n[Tr]];return this},abort:function($n){var Tr=$n||nr;return w&&w.abort(Tr),Dr(0,Tr),this}};if(gn.promise(_n),ht.url=((r||ht.url||ua.href)+"").replace(no,ua.protocol+"//"),ht.type=f.method||f.type||ht.method||ht.type,ht.dataTypes=(ht.dataType||"*").toLowerCase().match(ae)||[""],ht.crossDomain==null){qe=de.createElement("a");try{qe.href=ht.url,qe.href=qe.href,ht.crossDomain=yo.protocol+"//"+yo.host!=qe.protocol+"//"+qe.host}catch($n){ht.crossDomain=!0}}if(ht.data&&ht.processData&&typeof ht.data!="string"&&(ht.data=s.param(ht.data,ht.traditional)),Va($o,ht,f,_n),Ne)return _n;ft=s.event&&ht.global,ft&&s.active++===0&&s.event.trigger("ajaxStart"),ht.type=ht.type.toUpperCase(),ht.hasContent=!Lo.test(ht.type),P=ht.url.replace(vo,""),ht.hasContent?ht.data&&ht.processData&&(ht.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(ht.data=ht.data.replace(xs,"+")):(Gt=ht.url.slice(P.length),ht.data&&(ht.processData||typeof ht.data=="string")&&(P+=(wa.test(P)?"&":"?")+ht.data,delete ht.data),ht.cache===!1&&(P=P.replace(ds,"$1"),Gt=(wa.test(P)?"&":"?")+"_="+go.guid+++Gt),ht.url=P+Gt),ht.ifModified&&(s.lastModified[P]&&_n.setRequestHeader("If-Modified-Since",s.lastModified[P]),s.etag[P]&&_n.setRequestHeader("If-None-Match",s.etag[P])),(ht.data&&ht.hasContent&&ht.contentType!==!1||f.contentType)&&_n.setRequestHeader("Content-Type",ht.contentType),_n.setRequestHeader("Accept",ht.dataTypes[0]&&ht.accepts[ht.dataTypes[0]]?ht.accepts[ht.dataTypes[0]]+(ht.dataTypes[0]!=="*"?", "+ka+"; q=0.01":""):ht.accepts["*"]);for(xt in ht.headers)_n.setRequestHeader(xt,ht.headers[xt]);if(ht.beforeSend&&(ht.beforeSend.call(kt,_n,ht)===!1||Ne))return _n.abort();if(nr="abort",vi.add(ht.complete),_n.done(ht.success),_n.fail(ht.error),w=Va(zo,ht,f,_n),!w)Dr(-1,"No Transport");else{if(_n.readyState=1,ft&&Si.trigger("ajaxSend",[_n,ht]),Ne)return _n;ht.async&&ht.timeout>0&&(ue=g.setTimeout(function(){_n.abort("timeout")},ht.timeout));try{Ne=!1,w.send(Or,Dr)}catch($n){if(Ne)throw $n;Dr(-1,$n)}}function Dr($n,Tr,Xa,Zr){var zr,Mn,bo,ja,Ja,fa=Tr;Ne||(Ne=!0,ue&&g.clearTimeout(ue),w=void 0,W=Zr||"",_n.readyState=$n>0?4:0,zr=$n>=200&&$n<300||$n===304,Xa&&(ja=As(ht,_n,Xa)),!zr&&s.inArray("script",ht.dataTypes)>-1&&s.inArray("json",ht.dataTypes)<0&&(ht.converters["text script"]=function(){}),ja=Wo(ht,ja,_n,zr),zr?(ht.ifModified&&(Ja=_n.getResponseHeader("Last-Modified"),Ja&&(s.lastModified[P]=Ja),Ja=_n.getResponseHeader("etag"),Ja&&(s.etag[P]=Ja)),$n===204||ht.type==="HEAD"?fa="nocontent":$n===304?fa="notmodified":(fa=ja.state,Mn=ja.data,bo=ja.error,zr=!bo)):(bo=fa,($n||!fa)&&(fa="error",$n<0&&($n=0))),_n.status=$n,_n.statusText=(Tr||fa)+"",zr?gn.resolveWith(kt,[Mn,fa,_n]):gn.rejectWith(kt,[_n,fa,bo]),_n.statusCode(Pr),Pr=void 0,ft&&Si.trigger(zr?"ajaxSuccess":"ajaxError",[_n,ht,zr?Mn:bo]),vi.fireWith(kt,[_n,fa]),ft&&(Si.trigger("ajaxComplete",[_n,ht]),--s.active||s.event.trigger("ajaxStop")))}return _n},getJSON:function(r,f,w){return s.get(r,f,w,"json")},getScript:function(r,f){return s.get(r,void 0,f,"script")}}),s.each(["get","post"],function(r,f){s[f]=function(w,P,W,X){return D(P)&&(X=X||W,W=P,P=void 0),s.ajax(s.extend({url:w,type:f,dataType:X,data:P,success:W},s.isPlainObject(w)&&w))}}),s.ajaxPrefilter(function(r){var f;for(f in r.headers)f.toLowerCase()==="content-type"&&(r.contentType=r.headers[f]||"")}),s._evalUrl=function(r,f,w){return s.ajax({url:r,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(P){s.globalEval(P,f,w)}})},s.fn.extend({wrapAll:function(r){var f;return this[0]&&(D(r)&&(r=r.call(this[0])),f=s(r,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&f.insertBefore(this[0]),f.map(function(){for(var w=this;w.firstElementChild;)w=w.firstElementChild;return w}).append(this)),this},wrapInner:function(r){return D(r)?this.each(function(f){s(this).wrapInner(r.call(this,f))}):this.each(function(){var f=s(this),w=f.contents();w.length?w.wrapAll(r):f.append(r)})},wrap:function(r){var f=D(r);return this.each(function(w){s(this).wrapAll(f?r.call(this,w):r)})},unwrap:function(r){return this.parent(r).not("body").each(function(){s(this).replaceWith(this.childNodes)}),this}}),s.expr.pseudos.hidden=function(r){return!s.expr.pseudos.visible(r)},s.expr.pseudos.visible=function(r){return!!(r.offsetWidth||r.offsetHeight||r.getClientRects().length)},s.ajaxSettings.xhr=function(){try{return new g.XMLHttpRequest}catch(r){}};var Ss={0:200,1223:204},ro=s.ajaxSettings.xhr();C.cors=!!ro&&"withCredentials"in ro,C.ajax=ro=!!ro,s.ajaxTransport(function(r){var f,w;if(C.cors||ro&&!r.crossDomain)return{send:function(P,W){var X,ue=r.xhr();if(ue.open(r.type,r.url,r.async,r.username,r.password),r.xhrFields)for(X in r.xhrFields)ue[X]=r.xhrFields[X];r.mimeType&&ue.overrideMimeType&&ue.overrideMimeType(r.mimeType),!r.crossDomain&&!P["X-Requested-With"]&&(P["X-Requested-With"]="XMLHttpRequest");for(X in P)ue.setRequestHeader(X,P[X]);f=function(qe){return function(){f&&(f=w=ue.onload=ue.onerror=ue.onabort=ue.ontimeout=ue.onreadystatechange=null,qe==="abort"?ue.abort():qe==="error"?typeof ue.status!="number"?W(0,"error"):W(ue.status,ue.statusText):W(Ss[ue.status]||ue.status,ue.statusText,(ue.responseType||"text")!=="text"||typeof ue.responseText!="string"?{binary:ue.response}:{text:ue.responseText},ue.getAllResponseHeaders()))}},ue.onload=f(),w=ue.onerror=ue.ontimeout=f("error"),ue.onabort!==void 0?ue.onabort=w:ue.onreadystatechange=function(){ue.readyState===4&&g.setTimeout(function(){f&&w()})},f=f("abort");try{ue.send(r.hasContent&&r.data||null)}catch(qe){if(f)throw qe}},abort:function(){f&&f()}}}),s.ajaxPrefilter(function(r){r.crossDomain&&(r.contents.script=!1)}),s.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(r){return s.globalEval(r),r}}}),s.ajaxPrefilter("script",function(r){r.cache===void 0&&(r.cache=!1),r.crossDomain&&(r.type="GET")}),s.ajaxTransport("script",function(r){if(r.crossDomain||r.scriptAttrs){var f,w;return{send:function(P,W){f=s("<script>").attr(r.scriptAttrs||{}).prop({charset:r.scriptCharset,src:r.url}).on("load error",w=function(X){f.remove(),w=null,X&&W(X.type==="error"?404:200,X.type)}),de.head.appendChild(f[0])},abort:function(){w&&w()}}}});var Yr=[],ps=/(=)\?(?=&|$)|\?\?/;s.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var r=Yr.pop()||s.expando+"_"+go.guid++;return this[r]=!0,r}}),s.ajaxPrefilter("json jsonp",function(r,f,w){var P,W,X,ue=r.jsonp!==!1&&(ps.test(r.url)?"url":typeof r.data=="string"&&(r.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&ps.test(r.data)&&"data");if(ue||r.dataTypes[0]==="jsonp")return P=r.jsonpCallback=D(r.jsonpCallback)?r.jsonpCallback():r.jsonpCallback,ue?r[ue]=r[ue].replace(ps,"$1"+P):r.jsonp!==!1&&(r.url+=(wa.test(r.url)?"&":"?")+r.jsonp+"="+P),r.converters["script json"]=function(){return X||s.error(P+" was not called"),X[0]},r.dataTypes[0]="json",W=g[P],g[P]=function(){X=arguments},w.always(function(){W===void 0?s(g).removeProp(P):g[P]=W,r[P]&&(r.jsonpCallback=f.jsonpCallback,Yr.push(P)),X&&D(W)&&W(X[0]),X=W=void 0}),"script"}),C.createHTMLDocument=function(){var r=de.implementation.createHTMLDocument("").body;return r.innerHTML="<form></form><form></form>",r.childNodes.length===2}(),s.parseHTML=function(r,f,w){if(typeof r!="string")return[];typeof f=="boolean"&&(w=f,f=!1);var P,W,X;return f||(C.createHTMLDocument?(f=de.implementation.createHTMLDocument(""),P=f.createElement("base"),P.href=de.location.href,f.head.appendChild(P)):f=de),W=I.exec(r),X=!w&&[],W?[f.createElement(W[1])]:(W=er([r],f,X),X&&X.length&&s(X).remove(),s.merge([],W.childNodes))},s.fn.load=function(r,f,w){var P,W,X,ue=this,qe=r.indexOf(" ");return qe>-1&&(P=Qr(r.slice(qe)),r=r.slice(0,qe)),D(f)?(w=f,f=void 0):f&&typeof f=="object"&&(W="POST"),ue.length>0&&s.ajax({url:r,type:W||"GET",dataType:"html",data:f}).done(function(Ne){X=arguments,ue.html(P?s("<div>").append(s.parseHTML(Ne)).find(P):Ne)}).always(w&&function(Ne,ft){ue.each(function(){w.apply(this,X||[Ne.responseText,ft,Ne])})}),this},s.expr.pseudos.animated=function(r){return s.grep(s.timers,function(f){return r===f.elem}).length},s.offset={setOffset:function(r,f,w){var P,W,X,ue,qe,Ne,ft,xt=s.css(r,"position"),Gt=s(r),ht={};xt==="static"&&(r.style.position="relative"),qe=Gt.offset(),X=s.css(r,"top"),Ne=s.css(r,"left"),ft=(xt==="absolute"||xt==="fixed")&&(X+Ne).indexOf("auto")>-1,ft?(P=Gt.position(),ue=P.top,W=P.left):(ue=parseFloat(X)||0,W=parseFloat(Ne)||0),D(f)&&(f=f.call(r,w,s.extend({},qe))),f.top!=null&&(ht.top=f.top-qe.top+ue),f.left!=null&&(ht.left=f.left-qe.left+W),"using"in f?f.using.call(r,ht):Gt.css(ht)}},s.fn.extend({offset:function(r){if(arguments.length)return r===void 0?this:this.each(function(W){s.offset.setOffset(this,r,W)});var f,w,P=this[0];if(!!P)return P.getClientRects().length?(f=P.getBoundingClientRect(),w=P.ownerDocument.defaultView,{top:f.top+w.pageYOffset,left:f.left+w.pageXOffset}):{top:0,left:0}},position:function(){if(!!this[0]){var r,f,w,P=this[0],W={top:0,left:0};if(s.css(P,"position")==="fixed")f=P.getBoundingClientRect();else{for(f=this.offset(),w=P.ownerDocument,r=P.offsetParent||w.documentElement;r&&(r===w.body||r===w.documentElement)&&s.css(r,"position")==="static";)r=r.parentNode;r&&r!==P&&r.nodeType===1&&(W=s(r).offset(),W.top+=s.css(r,"borderTopWidth",!0),W.left+=s.css(r,"borderLeftWidth",!0))}return{top:f.top-W.top-s.css(P,"marginTop",!0),left:f.left-W.left-s.css(P,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var r=this.offsetParent;r&&s.css(r,"position")==="static";)r=r.offsetParent;return r||Ct})}}),s.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(r,f){var w=f==="pageYOffset";s.fn[r]=function(P){return ui(this,function(W,X,ue){var qe;if(ge(W)?qe=W:W.nodeType===9&&(qe=W.defaultView),ue===void 0)return qe?qe[f]:W[X];qe?qe.scrollTo(w?qe.pageXOffset:ue,w?ue:qe.pageYOffset):W[X]=ue},r,P,arguments.length)}}),s.each(["top","left"],function(r,f){s.cssHooks[f]=io(C.pixelPosition,function(w,P){if(P)return P=to(w,f),hr.test(P)?s(w).position()[f]+"px":P})}),s.each({Height:"height",Width:"width"},function(r,f){s.each({padding:"inner"+r,content:f,"":"outer"+r},function(w,P){s.fn[P]=function(W,X){var ue=arguments.length&&(w||typeof W!="boolean"),qe=w||(W===!0||X===!0?"margin":"border");return ui(this,function(Ne,ft,xt){var Gt;return ge(Ne)?P.indexOf("outer")===0?Ne["inner"+r]:Ne.document.documentElement["client"+r]:Ne.nodeType===9?(Gt=Ne.documentElement,Math.max(Ne.body["scroll"+r],Gt["scroll"+r],Ne.body["offset"+r],Gt["offset"+r],Gt["client"+r])):xt===void 0?s.css(Ne,ft,qe):s.style(Ne,ft,xt,qe)},f,ue?W:void 0,ue)}})}),s.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(r,f){s.fn[f]=function(w){return this.on(f,w)}}),s.fn.extend({bind:function(r,f,w){return this.on(r,null,f,w)},unbind:function(r,f){return this.off(r,null,f)},delegate:function(r,f,w,P){return this.on(f,r,w,P)},undelegate:function(r,f,w){return arguments.length===1?this.off(r,"**"):this.off(f,r||"**",w)},hover:function(r,f){return this.mouseenter(r).mouseleave(f||r)}}),s.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(r,f){s.fn[f]=function(w,P){return arguments.length>0?this.on(f,null,w,P):this.trigger(f)}});var ss=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;s.proxy=function(r,f){var w,P,W;if(typeof f=="string"&&(w=r[f],f=r,r=w),!!D(r))return P=oe.call(arguments,2),W=function(){return r.apply(f||this,P.concat(oe.call(arguments)))},W.guid=r.guid=r.guid||s.guid++,W},s.holdReady=function(r){r?s.readyWait++:s.ready(!0)},s.isArray=Array.isArray,s.parseJSON=JSON.parse,s.nodeName=We,s.isFunction=D,s.isWindow=ge,s.camelCase=Gi,s.type=Te,s.now=Date.now,s.isNumeric=function(r){var f=s.type(r);return(f==="number"||f==="string")&&!isNaN(r-parseFloat(r))},s.trim=function(r){return r==null?"":(r+"").replace(ss,"$1")},At=[],A=function(){return s}.apply(yt,At),A!==void 0&&(v.exports=A);var Cs=g.jQuery,qo=g.$;return s.noConflict=function(r){return g.$===s&&(g.$=qo),r&&g.jQuery===s&&(g.jQuery=Cs),s},typeof me=="undefined"&&(g.jQuery=g.$=s),s})},"./node_modules/vue-bar-graph/dist/vue-bar-graph.common.js":function(v,yt,At){(function(){var A={7679:function(z,oe){var d,N,L;(function(B,T){N=[],d=T,L=typeof d=="function"?d.apply(oe,N):d,L!==void 0&&(z.exports=L)})(typeof self!="undefined"?self:this,function(){function B(){var T=Object.getOwnPropertyDescriptor(document,"currentScript");if(!T&&"currentScript"in document&&document.currentScript||T&&T.get!==B&&document.currentScript)return document.currentScript;try{throw new Error}catch(s){var H=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,se=/@([^@]*):(\d+):(\d+)\s*$/ig,n=H.exec(s.stack)||se.exec(s.stack),C=n&&n[1]||!1,D=n&&n[2]||!1,ge=document.location.href.replace(document.location.hash,""),de,be,we,Te=document.getElementsByTagName("script");C===ge&&(de=document.documentElement.outerHTML,be=new RegExp("(?:[^\\n]+?\\n){0,"+(D-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),we=de.replace(be,"$1").trim());for(var J=0;J<Te.length;J++)if(Te[J].readyState==="interactive"||Te[J].src===C||C===ge&&Te[J].innerHTML&&Te[J].innerHTML.trim()===we)return Te[J];return null}}return B})},9662:function(z,oe,d){var N=d(614),L=d(6330),B=TypeError;z.exports=function(T){if(N(T))return T;throw B(L(T)+" is not a function")}},6077:function(z,oe,d){var N=d(614),L=String,B=TypeError;z.exports=function(T){if(typeof T=="object"||N(T))return T;throw B("Can't set "+L(T)+" as a prototype")}},1223:function(z,oe,d){var N=d(5112),L=d(30),B=d(3070).f,T=N("unscopables"),H=Array.prototype;H[T]==null&&B(H,T,{configurable:!0,value:L(null)}),z.exports=function(se){H[T][se]=!0}},1530:function(z,oe,d){"use strict";var N=d(8710).charAt;z.exports=function(L,B,T){return B+(T?N(L,B).length:1)}},9670:function(z,oe,d){var N=d(111),L=String,B=TypeError;z.exports=function(T){if(N(T))return T;throw B(L(T)+" is not an object")}},8533:function(z,oe,d){"use strict";var N=d(2092).forEach,L=d(9341),B=L("forEach");z.exports=B?[].forEach:function(H){return N(this,H,arguments.length>1?arguments[1]:void 0)}},8457:function(z,oe,d){"use strict";var N=d(9974),L=d(6916),B=d(7908),T=d(3411),H=d(7659),se=d(4411),n=d(6244),C=d(6135),D=d(8554),ge=d(1246),de=Array;z.exports=function(we){var Te=B(we),J=se(this),s=arguments.length,ce=s>1?arguments[1]:void 0,De=ce!==void 0;De&&(ce=N(ce,s>2?arguments[2]:void 0));var ke=ge(Te),le=0,pe,We,I,F,M,Z;if(ke&&!(this===de&&H(ke)))for(F=D(Te,ke),M=F.next,We=J?new this:[];!(I=L(M,F)).done;le++)Z=De?T(F,ce,[I.value,le],!0):I.value,C(We,le,Z);else for(pe=n(Te),We=J?new this(pe):de(pe);pe>le;le++)Z=De?ce(Te[le],le):Te[le],C(We,le,Z);return We.length=le,We}},1318:function(z,oe,d){var N=d(5656),L=d(1400),B=d(6244),T=function(H){return function(se,n,C){var D=N(se),ge=B(D),de=L(C,ge),be;if(H&&n!=n){for(;ge>de;)if(be=D[de++],be!=be)return!0}else for(;ge>de;de++)if((H||de in D)&&D[de]===n)return H||de||0;return!H&&-1}};z.exports={includes:T(!0),indexOf:T(!1)}},2092:function(z,oe,d){var N=d(9974),L=d(1702),B=d(8361),T=d(7908),H=d(6244),se=d(5417),n=L([].push),C=function(D){var ge=D==1,de=D==2,be=D==3,we=D==4,Te=D==6,J=D==7,s=D==5||Te;return function(ce,De,ke,le){for(var pe=T(ce),We=B(pe),I=N(De,ke),F=H(We),M=0,Z=le||se,Pe=ge?Z(ce,F):de||J?Z(ce,0):void 0,Ke,ot;F>M;M++)if((s||M in We)&&(Ke=We[M],ot=I(Ke,M,pe),D))if(ge)Pe[M]=ot;else if(ot)switch(D){case 3:return!0;case 5:return Ke;case 6:return M;case 2:n(Pe,Ke)}else switch(D){case 4:return!1;case 7:n(Pe,Ke)}return Te?-1:be||we?we:Pe}};z.exports={forEach:C(0),map:C(1),filter:C(2),some:C(3),every:C(4),find:C(5),findIndex:C(6),filterReject:C(7)}},1194:function(z,oe,d){var N=d(7293),L=d(5112),B=d(7392),T=L("species");z.exports=function(H){return B>=51||!N(function(){var se=[],n=se.constructor={};return n[T]=function(){return{foo:1}},se[H](Boolean).foo!==1})}},9341:function(z,oe,d){"use strict";var N=d(7293);z.exports=function(L,B){var T=[][L];return!!T&&N(function(){T.call(null,B||function(){return 1},1)})}},1589:function(z,oe,d){var N=d(1400),L=d(6244),B=d(6135),T=Array,H=Math.max;z.exports=function(se,n,C){for(var D=L(se),ge=N(n,D),de=N(C===void 0?D:C,D),be=T(H(de-ge,0)),we=0;ge<de;ge++,we++)B(be,we,se[ge]);return be.length=we,be}},206:function(z,oe,d){var N=d(1702);z.exports=N([].slice)},7475:function(z,oe,d){var N=d(3157),L=d(4411),B=d(111),T=d(5112),H=T("species"),se=Array;z.exports=function(n){var C;return N(n)&&(C=n.constructor,L(C)&&(C===se||N(C.prototype))?C=void 0:B(C)&&(C=C[H],C===null&&(C=void 0))),C===void 0?se:C}},5417:function(z,oe,d){var N=d(7475);z.exports=function(L,B){return new(N(L))(B===0?0:B)}},3411:function(z,oe,d){var N=d(9670),L=d(9212);z.exports=function(B,T,H,se){try{return se?T(N(H)[0],H[1]):T(H)}catch(n){L(B,"throw",n)}}},7072:function(z,oe,d){var N=d(5112),L=N("iterator"),B=!1;try{var T=0,H={next:function(){return{done:!!T++}},return:function(){B=!0}};H[L]=function(){return this},Array.from(H,function(){throw 2})}catch(se){}z.exports=function(se,n){if(!n&&!B)return!1;var C=!1;try{var D={};D[L]=function(){return{next:function(){return{done:C=!0}}}},se(D)}catch(ge){}return C}},4326:function(z,oe,d){var N=d(1702),L=N({}.toString),B=N("".slice);z.exports=function(T){return B(L(T),8,-1)}},648:function(z,oe,d){var N=d(1694),L=d(614),B=d(4326),T=d(5112),H=T("toStringTag"),se=Object,n=B(function(){return arguments}())=="Arguments",C=function(D,ge){try{return D[ge]}catch(de){}};z.exports=N?B:function(D){var ge,de,be;return D===void 0?"Undefined":D===null?"Null":typeof(de=C(ge=se(D),H))=="string"?de:n?B(ge):(be=B(ge))=="Object"&&L(ge.callee)?"Arguments":be}},7741:function(z,oe,d){var N=d(1702),L=Error,B=N("".replace),T=function(n){return String(L(n).stack)}("zxcasd"),H=/\n\s*at [^:]*:[^\n]*/,se=H.test(T);z.exports=function(n,C){if(se&&typeof n=="string"&&!L.prepareStackTrace)for(;C--;)n=B(n,H,"");return n}},9920:function(z,oe,d){var N=d(2597),L=d(3887),B=d(1236),T=d(3070);z.exports=function(H,se,n){for(var C=L(se),D=T.f,ge=B.f,de=0;de<C.length;de++){var be=C[de];!N(H,be)&&!(n&&N(n,be))&&D(H,be,ge(se,be))}}},8544:function(z,oe,d){var N=d(7293);z.exports=!N(function(){function L(){}return L.prototype.constructor=null,Object.getPrototypeOf(new L)!==L.prototype})},4994:function(z,oe,d){"use strict";var N=d(3383).IteratorPrototype,L=d(30),B=d(9114),T=d(8003),H=d(7497),se=function(){return this};z.exports=function(n,C,D,ge){var de=C+" Iterator";return n.prototype=L(N,{next:B(+!ge,D)}),T(n,de,!1,!0),H[de]=se,n}},8880:function(z,oe,d){var N=d(9781),L=d(3070),B=d(9114);z.exports=N?function(T,H,se){return L.f(T,H,B(1,se))}:function(T,H,se){return T[H]=se,T}},9114:function(z){z.exports=function(oe,d){return{enumerable:!(oe&1),configurable:!(oe&2),writable:!(oe&4),value:d}}},6135:function(z,oe,d){"use strict";var N=d(4948),L=d(3070),B=d(9114);z.exports=function(T,H,se){var n=N(H);n in T?L.f(T,n,B(0,se)):T[n]=se}},8052:function(z,oe,d){var N=d(614),L=d(8880),B=d(6339),T=d(3072);z.exports=function(H,se,n,C){C||(C={});var D=C.enumerable,ge=C.name!==void 0?C.name:se;return N(n)&&B(n,ge,C),C.global?D?H[se]=n:T(se,n):(C.unsafe?H[se]&&(D=!0):delete H[se],D?H[se]=n:L(H,se,n)),H}},3072:function(z,oe,d){var N=d(7854),L=Object.defineProperty;z.exports=function(B,T){try{L(N,B,{value:T,configurable:!0,writable:!0})}catch(H){N[B]=T}return T}},654:function(z,oe,d){"use strict";var N=d(2109),L=d(6916),B=d(1913),T=d(6530),H=d(614),se=d(4994),n=d(9518),C=d(7674),D=d(8003),ge=d(8880),de=d(8052),be=d(5112),we=d(7497),Te=d(3383),J=T.PROPER,s=T.CONFIGURABLE,ce=Te.IteratorPrototype,De=Te.BUGGY_SAFARI_ITERATORS,ke=be("iterator"),le="keys",pe="values",We="entries",I=function(){return this};z.exports=function(F,M,Z,Pe,Ke,ot,ne){se(Z,M,Pe);var ae=function(Ui){if(Ui===Ke&&St)return St;if(!De&&Ui in Ee)return Ee[Ui];switch(Ui){case le:return function(){return new Z(this,Ui)};case pe:return function(){return new Z(this,Ui)};case We:return function(){return new Z(this,Ui)}}return function(){return new Z(this)}},Ve=M+" Iterator",$=!1,Ee=F.prototype,tt=Ee[ke]||Ee["@@iterator"]||Ke&&Ee[Ke],St=!De&&tt||ae(Ke),pt=M=="Array"&&Ee.entries||tt,Ot,ui,Qt;if(pt&&(Ot=n(pt.call(new F)),Ot!==Object.prototype&&Ot.next&&(!B&&n(Ot)!==ce&&(C?C(Ot,ce):H(Ot[ke])||de(Ot,ke,I)),D(Ot,Ve,!0,!0),B&&(we[Ve]=I))),J&&Ke==pe&&tt&&tt.name!==pe&&(!B&&s?ge(Ee,"name",pe):($=!0,St=function(){return L(tt,this)})),Ke)if(ui={values:ae(pe),keys:ot?St:ae(le),entries:ae(We)},ne)for(Qt in ui)(De||$||!(Qt in Ee))&&de(Ee,Qt,ui[Qt]);else N({target:M,proto:!0,forced:De||$},ui);return(!B||ne)&&Ee[ke]!==St&&de(Ee,ke,St,{name:Ke}),we[M]=St,ui}},7235:function(z,oe,d){var N=d(857),L=d(2597),B=d(6061),T=d(3070).f;z.exports=function(H){var se=N.Symbol||(N.Symbol={});L(se,H)||T(se,H,{value:B.f(H)})}},9781:function(z,oe,d){var N=d(7293);z.exports=!N(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},317:function(z,oe,d){var N=d(7854),L=d(111),B=N.document,T=L(B)&&L(B.createElement);z.exports=function(H){return T?B.createElement(H):{}}},8324:function(z){z.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8509:function(z,oe,d){var N=d(317),L=N("span").classList,B=L&&L.constructor&&L.constructor.prototype;z.exports=B===Object.prototype?void 0:B},8113:function(z,oe,d){var N=d(5005);z.exports=N("navigator","userAgent")||""},7392:function(z,oe,d){var N=d(7854),L=d(8113),B=N.process,T=N.Deno,H=B&&B.versions||T&&T.version,se=H&&H.v8,n,C;se&&(n=se.split("."),C=n[0]>0&&n[0]<4?1:+(n[0]+n[1])),!C&&L&&(n=L.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=L.match(/Chrome\/(\d+)/),n&&(C=+n[1]))),z.exports=C},748:function(z){z.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2914:function(z,oe,d){var N=d(7293),L=d(9114);z.exports=!N(function(){var B=Error("a");return"stack"in B?(Object.defineProperty(B,"stack",L(1,7)),B.stack!==7):!0})},2109:function(z,oe,d){var N=d(7854),L=d(1236).f,B=d(8880),T=d(8052),H=d(3072),se=d(9920),n=d(4705);z.exports=function(C,D){var ge=C.target,de=C.global,be=C.stat,we,Te,J,s,ce,De;if(de?Te=N:be?Te=N[ge]||H(ge,{}):Te=(N[ge]||{}).prototype,Te)for(J in D){if(ce=D[J],C.dontCallGetSet?(De=L(Te,J),s=De&&De.value):s=Te[J],we=n(de?J:ge+(be?".":"#")+J,C.forced),!we&&s!==void 0){if(typeof ce==typeof s)continue;se(ce,s)}(C.sham||s&&s.sham)&&B(ce,"sham",!0),T(Te,J,ce,C)}}},7293:function(z){z.exports=function(oe){try{return!!oe()}catch(d){return!0}}},7007:function(z,oe,d){"use strict";d(4916);var N=d(1702),L=d(8052),B=d(2261),T=d(7293),H=d(5112),se=d(8880),n=H("species"),C=RegExp.prototype;z.exports=function(D,ge,de,be){var we=H(D),Te=!T(function(){var De={};return De[we]=function(){return 7},""[D](De)!=7}),J=Te&&!T(function(){var De=!1,ke=/a/;return D==="split"&&(ke={},ke.constructor={},ke.constructor[n]=function(){return ke},ke.flags="",ke[we]=/./[we]),ke.exec=function(){return De=!0,null},ke[we](""),!De});if(!Te||!J||de){var s=N(/./[we]),ce=ge(we,""[D],function(De,ke,le,pe,We){var I=N(De),F=ke.exec;return F===B||F===C.exec?Te&&!We?{done:!0,value:s(ke,le,pe)}:{done:!0,value:I(le,ke,pe)}:{done:!1}});L(String.prototype,D,ce[0]),L(C,we,ce[1])}be&&se(C[we],"sham",!0)}},2104:function(z,oe,d){var N=d(4374),L=Function.prototype,B=L.apply,T=L.call;z.exports=typeof Reflect=="object"&&Reflect.apply||(N?T.bind(B):function(){return T.apply(B,arguments)})},9974:function(z,oe,d){var N=d(1702),L=d(9662),B=d(4374),T=N(N.bind);z.exports=function(H,se){return L(H),se===void 0?H:B?T(H,se):function(){return H.apply(se,arguments)}}},4374:function(z,oe,d){var N=d(7293);z.exports=!N(function(){var L=function(){}.bind();return typeof L!="function"||L.hasOwnProperty("prototype")})},6916:function(z,oe,d){var N=d(4374),L=Function.prototype.call;z.exports=N?L.bind(L):function(){return L.apply(L,arguments)}},6530:function(z,oe,d){var N=d(9781),L=d(2597),B=Function.prototype,T=N&&Object.getOwnPropertyDescriptor,H=L(B,"name"),se=H&&function(){}.name==="something",n=H&&(!N||N&&T(B,"name").configurable);z.exports={EXISTS:H,PROPER:se,CONFIGURABLE:n}},1702:function(z,oe,d){var N=d(4374),L=Function.prototype,B=L.bind,T=L.call,H=N&&B.bind(T,T);z.exports=N?function(se){return se&&H(se)}:function(se){return se&&function(){return T.apply(se,arguments)}}},5005:function(z,oe,d){var N=d(7854),L=d(614),B=function(T){return L(T)?T:void 0};z.exports=function(T,H){return arguments.length<2?B(N[T]):N[T]&&N[T][H]}},1246:function(z,oe,d){var N=d(648),L=d(8173),B=d(7497),T=d(5112),H=T("iterator");z.exports=function(se){if(se!=null)return L(se,H)||L(se,"@@iterator")||B[N(se)]}},8554:function(z,oe,d){var N=d(6916),L=d(9662),B=d(9670),T=d(6330),H=d(1246),se=TypeError;z.exports=function(n,C){var D=arguments.length<2?H(n):C;if(L(D))return B(N(D,n));throw se(T(n)+" is not iterable")}},8173:function(z,oe,d){var N=d(9662);z.exports=function(L,B){var T=L[B];return T==null?void 0:N(T)}},647:function(z,oe,d){var N=d(1702),L=d(7908),B=Math.floor,T=N("".charAt),H=N("".replace),se=N("".slice),n=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,C=/\$([$&'`]|\d{1,2})/g;z.exports=function(D,ge,de,be,we,Te){var J=de+D.length,s=be.length,ce=C;return we!==void 0&&(we=L(we),ce=n),H(Te,ce,function(De,ke){var le;switch(T(ke,0)){case"$":return"$";case"&":return D;case"`":return se(ge,0,de);case"'":return se(ge,J);case"<":le=we[se(ke,1,-1)];break;default:var pe=+ke;if(pe===0)return De;if(pe>s){var We=B(pe/10);return We===0?De:We<=s?be[We-1]===void 0?T(ke,1):be[We-1]+T(ke,1):De}le=be[pe-1]}return le===void 0?"":le})}},7854:function(z,oe,d){var N=function(L){return L&&L.Math==Math&&L};z.exports=N(typeof globalThis=="object"&&globalThis)||N(typeof window=="object"&&window)||N(typeof self=="object"&&self)||N(typeof d.g=="object"&&d.g)||function(){return this}()||Function("return this")()},2597:function(z,oe,d){var N=d(1702),L=d(7908),B=N({}.hasOwnProperty);z.exports=Object.hasOwn||function(H,se){return B(L(H),se)}},3501:function(z){z.exports={}},490:function(z,oe,d){var N=d(5005);z.exports=N("document","documentElement")},4664:function(z,oe,d){var N=d(9781),L=d(7293),B=d(317);z.exports=!N&&!L(function(){return Object.defineProperty(B("div"),"a",{get:function(){return 7}}).a!=7})},8361:function(z,oe,d){var N=d(1702),L=d(7293),B=d(4326),T=Object,H=N("".split);z.exports=L(function(){return!T("z").propertyIsEnumerable(0)})?function(se){return B(se)=="String"?H(se,""):T(se)}:T},9587:function(z,oe,d){var N=d(614),L=d(111),B=d(7674);z.exports=function(T,H,se){var n,C;return B&&N(n=H.constructor)&&n!==se&&L(C=n.prototype)&&C!==se.prototype&&B(T,C),T}},2788:function(z,oe,d){var N=d(1702),L=d(614),B=d(5465),T=N(Function.toString);L(B.inspectSource)||(B.inspectSource=function(H){return T(H)}),z.exports=B.inspectSource},8340:function(z,oe,d){var N=d(111),L=d(8880);z.exports=function(B,T){N(T)&&"cause"in T&&L(B,"cause",T.cause)}},9909:function(z,oe,d){var N=d(8536),L=d(7854),B=d(1702),T=d(111),H=d(8880),se=d(2597),n=d(5465),C=d(6200),D=d(3501),ge="Object already initialized",de=L.TypeError,be=L.WeakMap,we,Te,J,s=function(I){return J(I)?Te(I):we(I,{})},ce=function(I){return function(F){var M;if(!T(F)||(M=Te(F)).type!==I)throw de("Incompatible receiver, "+I+" required");return M}};if(N||n.state){var De=n.state||(n.state=new be),ke=B(De.get),le=B(De.has),pe=B(De.set);we=function(I,F){if(le(De,I))throw new de(ge);return F.facade=I,pe(De,I,F),F},Te=function(I){return ke(De,I)||{}},J=function(I){return le(De,I)}}else{var We=C("state");D[We]=!0,we=function(I,F){if(se(I,We))throw new de(ge);return F.facade=I,H(I,We,F),F},Te=function(I){return se(I,We)?I[We]:{}},J=function(I){return se(I,We)}}z.exports={set:we,get:Te,has:J,enforce:s,getterFor:ce}},7659:function(z,oe,d){var N=d(5112),L=d(7497),B=N("iterator"),T=Array.prototype;z.exports=function(H){return H!==void 0&&(L.Array===H||T[B]===H)}},3157:function(z,oe,d){var N=d(4326);z.exports=Array.isArray||function(B){return N(B)=="Array"}},614:function(z){z.exports=function(oe){return typeof oe=="function"}},4411:function(z,oe,d){var N=d(1702),L=d(7293),B=d(614),T=d(648),H=d(5005),se=d(2788),n=function(){},C=[],D=H("Reflect","construct"),ge=/^\s*(?:class|function)\b/,de=N(ge.exec),be=!ge.exec(n),we=function(s){if(!B(s))return!1;try{return D(n,C,s),!0}catch(ce){return!1}},Te=function(s){if(!B(s))return!1;switch(T(s)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return be||!!de(ge,se(s))}catch(ce){return!0}};Te.sham=!0,z.exports=!D||L(function(){var J;return we(we.call)||!we(Object)||!we(function(){J=!0})||J})?Te:we},4705:function(z,oe,d){var N=d(7293),L=d(614),B=/#|\.prototype\./,T=function(D,ge){var de=se[H(D)];return de==C?!0:de==n?!1:L(ge)?N(ge):!!ge},H=T.normalize=function(D){return String(D).replace(B,".").toLowerCase()},se=T.data={},n=T.NATIVE="N",C=T.POLYFILL="P";z.exports=T},111:function(z,oe,d){var N=d(614);z.exports=function(L){return typeof L=="object"?L!==null:N(L)}},1913:function(z){z.exports=!1},2190:function(z,oe,d){var N=d(5005),L=d(614),B=d(7976),T=d(3307),H=Object;z.exports=T?function(se){return typeof se=="symbol"}:function(se){var n=N("Symbol");return L(n)&&B(n.prototype,H(se))}},9212:function(z,oe,d){var N=d(6916),L=d(9670),B=d(8173);z.exports=function(T,H,se){var n,C;L(T);try{if(n=B(T,"return"),!n){if(H==="throw")throw se;return se}n=N(n,T)}catch(D){C=!0,n=D}if(H==="throw")throw se;if(C)throw n;return L(n),se}},3383:function(z,oe,d){"use strict";var N=d(7293),L=d(614),B=d(30),T=d(9518),H=d(8052),se=d(5112),n=d(1913),C=se("iterator"),D=!1,ge,de,be;[].keys&&(be=[].keys(),"next"in be?(de=T(T(be)),de!==Object.prototype&&(ge=de)):D=!0);var we=ge==null||N(function(){var Te={};return ge[C].call(Te)!==Te});we?ge={}:n&&(ge=B(ge)),L(ge[C])||H(ge,C,function(){return this}),z.exports={IteratorPrototype:ge,BUGGY_SAFARI_ITERATORS:D}},7497:function(z){z.exports={}},6244:function(z,oe,d){var N=d(7466);z.exports=function(L){return N(L.length)}},6339:function(z,oe,d){var N=d(7293),L=d(614),B=d(2597),T=d(9781),H=d(6530).CONFIGURABLE,se=d(2788),n=d(9909),C=n.enforce,D=n.get,ge=Object.defineProperty,de=T&&!N(function(){return ge(function(){},"length",{value:8}).length!==8}),be=String(String).split("String"),we=z.exports=function(Te,J,s){String(J).slice(0,7)==="Symbol("&&(J="["+String(J).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),s&&s.getter&&(J="get "+J),s&&s.setter&&(J="set "+J),(!B(Te,"name")||H&&Te.name!==J)&&ge(Te,"name",{value:J,configurable:!0}),de&&s&&B(s,"arity")&&Te.length!==s.arity&&ge(Te,"length",{value:s.arity});try{s&&B(s,"constructor")&&s.constructor?T&&ge(Te,"prototype",{writable:!1}):Te.prototype&&(Te.prototype=void 0)}catch(De){}var ce=C(Te);return B(ce,"source")||(ce.source=be.join(typeof J=="string"?J:"")),Te};Function.prototype.toString=we(function(){return L(this)&&D(this).source||se(this)},"toString")},4758:function(z){var oe=Math.ceil,d=Math.floor;z.exports=Math.trunc||function(L){var B=+L;return(B>0?d:oe)(B)}},735:function(z,oe,d){var N=d(133);z.exports=N&&!!Symbol.for&&!!Symbol.keyFor},133:function(z,oe,d){var N=d(7392),L=d(7293);z.exports=!!Object.getOwnPropertySymbols&&!L(function(){var B=Symbol();return!String(B)||!(Object(B)instanceof Symbol)||!Symbol.sham&&N&&N<41})},8536:function(z,oe,d){var N=d(7854),L=d(614),B=d(2788),T=N.WeakMap;z.exports=L(T)&&/native code/.test(B(T))},6277:function(z,oe,d){var N=d(1340);z.exports=function(L,B){return L===void 0?arguments.length<2?"":B:N(L)}},30:function(z,oe,d){var N=d(9670),L=d(6048),B=d(748),T=d(3501),H=d(490),se=d(317),n=d(6200),C=">",D="<",ge="prototype",de="script",be=n("IE_PROTO"),we=function(){},Te=function(ke){return D+de+C+ke+D+"/"+de+C},J=function(ke){ke.write(Te("")),ke.close();var le=ke.parentWindow.Object;return ke=null,le},s=function(){var ke=se("iframe"),le="java"+de+":",pe;return ke.style.display="none",H.appendChild(ke),ke.src=String(le),pe=ke.contentWindow.document,pe.open(),pe.write(Te("document.F=Object")),pe.close(),pe.F},ce,De=function(){try{ce=new ActiveXObject("htmlfile")}catch(le){}De=typeof document!="undefined"?document.domain&&ce?J(ce):s():J(ce);for(var ke=B.length;ke--;)delete De[ge][B[ke]];return De()};T[be]=!0,z.exports=Object.create||function(le,pe){var We;return le!==null?(we[ge]=N(le),We=new we,we[ge]=null,We[be]=le):We=De(),pe===void 0?We:L.f(We,pe)}},6048:function(z,oe,d){var N=d(9781),L=d(3353),B=d(3070),T=d(9670),H=d(5656),se=d(1956);oe.f=N&&!L?Object.defineProperties:function(C,D){T(C);for(var ge=H(D),de=se(D),be=de.length,we=0,Te;be>we;)B.f(C,Te=de[we++],ge[Te]);return C}},3070:function(z,oe,d){var N=d(9781),L=d(4664),B=d(3353),T=d(9670),H=d(4948),se=TypeError,n=Object.defineProperty,C=Object.getOwnPropertyDescriptor,D="enumerable",ge="configurable",de="writable";oe.f=N?B?function(we,Te,J){if(T(we),Te=H(Te),T(J),typeof we=="function"&&Te==="prototype"&&"value"in J&&de in J&&!J[de]){var s=C(we,Te);s&&s[de]&&(we[Te]=J.value,J={configurable:ge in J?J[ge]:s[ge],enumerable:D in J?J[D]:s[D],writable:!1})}return n(we,Te,J)}:n:function(we,Te,J){if(T(we),Te=H(Te),T(J),L)try{return n(we,Te,J)}catch(s){}if("get"in J||"set"in J)throw se("Accessors not supported");return"value"in J&&(we[Te]=J.value),we}},1236:function(z,oe,d){var N=d(9781),L=d(6916),B=d(5296),T=d(9114),H=d(5656),se=d(4948),n=d(2597),C=d(4664),D=Object.getOwnPropertyDescriptor;oe.f=N?D:function(de,be){if(de=H(de),be=se(be),C)try{return D(de,be)}catch(we){}if(n(de,be))return T(!L(B.f,de,be),de[be])}},1156:function(z,oe,d){var N=d(4326),L=d(5656),B=d(8006).f,T=d(1589),H=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],se=function(n){try{return B(n)}catch(C){return T(H)}};z.exports.f=function(C){return H&&N(C)=="Window"?se(C):B(L(C))}},8006:function(z,oe,d){var N=d(6324),L=d(748),B=L.concat("length","prototype");oe.f=Object.getOwnPropertyNames||function(H){return N(H,B)}},5181:function(z,oe){oe.f=Object.getOwnPropertySymbols},9518:function(z,oe,d){var N=d(2597),L=d(614),B=d(7908),T=d(6200),H=d(8544),se=T("IE_PROTO"),n=Object,C=n.prototype;z.exports=H?n.getPrototypeOf:function(D){var ge=B(D);if(N(ge,se))return ge[se];var de=ge.constructor;return L(de)&&ge instanceof de?de.prototype:ge instanceof n?C:null}},7976:function(z,oe,d){var N=d(1702);z.exports=N({}.isPrototypeOf)},6324:function(z,oe,d){var N=d(1702),L=d(2597),B=d(5656),T=d(1318).indexOf,H=d(3501),se=N([].push);z.exports=function(n,C){var D=B(n),ge=0,de=[],be;for(be in D)!L(H,be)&&L(D,be)&&se(de,be);for(;C.length>ge;)L(D,be=C[ge++])&&(~T(de,be)||se(de,be));return de}},1956:function(z,oe,d){var N=d(6324),L=d(748);z.exports=Object.keys||function(T){return N(T,L)}},5296:function(z,oe){"use strict";var d={}.propertyIsEnumerable,N=Object.getOwnPropertyDescriptor,L=N&&!d.call({1:2},1);oe.f=L?function(T){var H=N(this,T);return!!H&&H.enumerable}:d},7674:function(z,oe,d){var N=d(1702),L=d(9670),B=d(6077);z.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var T=!1,H={},se;try{se=N(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),se(H,[]),T=H instanceof Array}catch(n){}return function(C,D){return L(C),B(D),T?se(C,D):C.__proto__=D,C}}():void 0)},4699:function(z,oe,d){var N=d(9781),L=d(1702),B=d(1956),T=d(5656),H=d(5296).f,se=L(H),n=L([].push),C=function(D){return function(ge){for(var de=T(ge),be=B(de),we=be.length,Te=0,J=[],s;we>Te;)s=be[Te++],(!N||se(de,s))&&n(J,D?[s,de[s]]:de[s]);return J}};z.exports={entries:C(!0),values:C(!1)}},288:function(z,oe,d){"use strict";var N=d(1694),L=d(648);z.exports=N?{}.toString:function(){return"[object "+L(this)+"]"}},2140:function(z,oe,d){var N=d(6916),L=d(614),B=d(111),T=TypeError;z.exports=function(H,se){var n,C;if(se==="string"&&L(n=H.toString)&&!B(C=N(n,H))||L(n=H.valueOf)&&!B(C=N(n,H))||se!=="string"&&L(n=H.toString)&&!B(C=N(n,H)))return C;throw T("Can't convert object to primitive value")}},3887:function(z,oe,d){var N=d(5005),L=d(1702),B=d(8006),T=d(5181),H=d(9670),se=L([].concat);z.exports=N("Reflect","ownKeys")||function(C){var D=B.f(H(C)),ge=T.f;return ge?se(D,ge(C)):D}},857:function(z,oe,d){var N=d(7854);z.exports=N},2626:function(z,oe,d){var N=d(3070).f;z.exports=function(L,B,T){T in L||N(L,T,{configurable:!0,get:function(){return B[T]},set:function(H){B[T]=H}})}},7651:function(z,oe,d){var N=d(6916),L=d(9670),B=d(614),T=d(4326),H=d(2261),se=TypeError;z.exports=function(n,C){var D=n.exec;if(B(D)){var ge=N(D,n,C);return ge!==null&&L(ge),ge}if(T(n)==="RegExp")return N(H,n,C);throw se("RegExp#exec called on incompatible receiver")}},2261:function(z,oe,d){"use strict";var N=d(6916),L=d(1702),B=d(1340),T=d(7066),H=d(2999),se=d(2309),n=d(30),C=d(9909).get,D=d(9441),ge=d(7168),de=se("native-string-replace",String.prototype.replace),be=RegExp.prototype.exec,we=be,Te=L("".charAt),J=L("".indexOf),s=L("".replace),ce=L("".slice),De=function(){var We=/a/,I=/b*/g;return N(be,We,"a"),N(be,I,"a"),We.lastIndex!==0||I.lastIndex!==0}(),ke=H.BROKEN_CARET,le=/()??/.exec("")[1]!==void 0,pe=De||le||ke||D||ge;pe&&(we=function(I){var F=this,M=C(F),Z=B(I),Pe=M.raw,Ke,ot,ne,ae,Ve,$,Ee;if(Pe)return Pe.lastIndex=F.lastIndex,Ke=N(we,Pe,Z),F.lastIndex=Pe.lastIndex,Ke;var tt=M.groups,St=ke&&F.sticky,pt=N(T,F),Ot=F.source,ui=0,Qt=Z;if(St&&(pt=s(pt,"y",""),J(pt,"g")===-1&&(pt+="g"),Qt=ce(Z,F.lastIndex),F.lastIndex>0&&(!F.multiline||F.multiline&&Te(Z,F.lastIndex-1)!==`
|
|
`)&&(Ot="(?: "+Ot+")",Qt=" "+Qt,ui++),ot=new RegExp("^(?:"+Ot+")",pt)),le&&(ot=new RegExp("^"+Ot+"$(?!\\s)",pt)),De&&(ne=F.lastIndex),ae=N(be,St?ot:F,Qt),St?ae?(ae.input=ce(ae.input,ui),ae[0]=ce(ae[0],ui),ae.index=F.lastIndex,F.lastIndex+=ae[0].length):F.lastIndex=0:De&&ae&&(F.lastIndex=F.global?ae.index+ae[0].length:ne),le&&ae&&ae.length>1&&N(de,ae[0],ot,function(){for(Ve=1;Ve<arguments.length-2;Ve++)arguments[Ve]===void 0&&(ae[Ve]=void 0)}),ae&&tt)for(ae.groups=$=n(null),Ve=0;Ve<tt.length;Ve++)Ee=tt[Ve],$[Ee[0]]=ae[Ee[1]];return ae}),z.exports=we},7066:function(z,oe,d){"use strict";var N=d(9670);z.exports=function(){var L=N(this),B="";return L.hasIndices&&(B+="d"),L.global&&(B+="g"),L.ignoreCase&&(B+="i"),L.multiline&&(B+="m"),L.dotAll&&(B+="s"),L.unicode&&(B+="u"),L.sticky&&(B+="y"),B}},4706:function(z,oe,d){var N=d(6916),L=d(2597),B=d(7976),T=d(7066),H=RegExp.prototype;z.exports=function(se){var n=se.flags;return n===void 0&&!("flags"in H)&&!L(se,"flags")&&B(H,se)?N(T,se):n}},2999:function(z,oe,d){var N=d(7293),L=d(7854),B=L.RegExp,T=N(function(){var n=B("a","y");return n.lastIndex=2,n.exec("abcd")!=null}),H=T||N(function(){return!B("a","y").sticky}),se=T||N(function(){var n=B("^r","gy");return n.lastIndex=2,n.exec("str")!=null});z.exports={BROKEN_CARET:se,MISSED_STICKY:H,UNSUPPORTED_Y:T}},9441:function(z,oe,d){var N=d(7293),L=d(7854),B=L.RegExp;z.exports=N(function(){var T=B(".","s");return!(T.dotAll&&T.exec(`
|
|
`)&&T.flags==="s")})},7168:function(z,oe,d){var N=d(7293),L=d(7854),B=L.RegExp;z.exports=N(function(){var T=B("(?<a>b)","g");return T.exec("b").groups.a!=="b"||"b".replace(T,"$<a>c")!=="bc"})},4488:function(z){var oe=TypeError;z.exports=function(d){if(d==null)throw oe("Can't call method on "+d);return d}},8003:function(z,oe,d){var N=d(3070).f,L=d(2597),B=d(5112),T=B("toStringTag");z.exports=function(H,se,n){H&&!n&&(H=H.prototype),H&&!L(H,T)&&N(H,T,{configurable:!0,value:se})}},6200:function(z,oe,d){var N=d(2309),L=d(9711),B=N("keys");z.exports=function(T){return B[T]||(B[T]=L(T))}},5465:function(z,oe,d){var N=d(7854),L=d(3072),B="__core-js_shared__",T=N[B]||L(B,{});z.exports=T},2309:function(z,oe,d){var N=d(1913),L=d(5465);(z.exports=function(B,T){return L[B]||(L[B]=T!==void 0?T:{})})("versions",[]).push({version:"3.22.8",mode:N?"pure":"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.8/LICENSE",source:"https://github.com/zloirock/core-js"})},8710:function(z,oe,d){var N=d(1702),L=d(9303),B=d(1340),T=d(4488),H=N("".charAt),se=N("".charCodeAt),n=N("".slice),C=function(D){return function(ge,de){var be=B(T(ge)),we=L(de),Te=be.length,J,s;return we<0||we>=Te?D?"":void 0:(J=se(be,we),J<55296||J>56319||we+1===Te||(s=se(be,we+1))<56320||s>57343?D?H(be,we):J:D?n(be,we,we+2):(J-55296<<10)+(s-56320)+65536)}};z.exports={codeAt:C(!1),charAt:C(!0)}},8415:function(z,oe,d){"use strict";var N=d(9303),L=d(1340),B=d(4488),T=RangeError;z.exports=function(se){var n=L(B(this)),C="",D=N(se);if(D<0||D==1/0)throw T("Wrong number of repetitions");for(;D>0;(D>>>=1)&&(n+=n))D&1&&(C+=n);return C}},3111:function(z,oe,d){var N=d(1702),L=d(4488),B=d(1340),T=d(1361),H=N("".replace),se="["+T+"]",n=RegExp("^"+se+se+"*"),C=RegExp(se+se+"*$"),D=function(ge){return function(de){var be=B(L(de));return ge&1&&(be=H(be,n,"")),ge&2&&(be=H(be,C,"")),be}};z.exports={start:D(1),end:D(2),trim:D(3)}},6532:function(z,oe,d){var N=d(6916),L=d(5005),B=d(5112),T=d(8052);z.exports=function(){var H=L("Symbol"),se=H&&H.prototype,n=se&&se.valueOf,C=B("toPrimitive");se&&!se[C]&&T(se,C,function(D){return N(n,this)},{arity:1})}},863:function(z,oe,d){var N=d(1702);z.exports=N(1 .valueOf)},1400:function(z,oe,d){var N=d(9303),L=Math.max,B=Math.min;z.exports=function(T,H){var se=N(T);return se<0?L(se+H,0):B(se,H)}},5656:function(z,oe,d){var N=d(8361),L=d(4488);z.exports=function(B){return N(L(B))}},9303:function(z,oe,d){var N=d(4758);z.exports=function(L){var B=+L;return B!==B||B===0?0:N(B)}},7466:function(z,oe,d){var N=d(9303),L=Math.min;z.exports=function(B){return B>0?L(N(B),9007199254740991):0}},7908:function(z,oe,d){var N=d(4488),L=Object;z.exports=function(B){return L(N(B))}},7593:function(z,oe,d){var N=d(6916),L=d(111),B=d(2190),T=d(8173),H=d(2140),se=d(5112),n=TypeError,C=se("toPrimitive");z.exports=function(D,ge){if(!L(D)||B(D))return D;var de=T(D,C),be;if(de){if(ge===void 0&&(ge="default"),be=N(de,D,ge),!L(be)||B(be))return be;throw n("Can't convert object to primitive value")}return ge===void 0&&(ge="number"),H(D,ge)}},4948:function(z,oe,d){var N=d(7593),L=d(2190);z.exports=function(B){var T=N(B,"string");return L(T)?T:T+""}},1694:function(z,oe,d){var N=d(5112),L=N("toStringTag"),B={};B[L]="z",z.exports=String(B)==="[object z]"},1340:function(z,oe,d){var N=d(648),L=String;z.exports=function(B){if(N(B)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return L(B)}},6330:function(z){var oe=String;z.exports=function(d){try{return oe(d)}catch(N){return"Object"}}},9711:function(z,oe,d){var N=d(1702),L=0,B=Math.random(),T=N(1 .toString);z.exports=function(H){return"Symbol("+(H===void 0?"":H)+")_"+T(++L+B,36)}},3307:function(z,oe,d){var N=d(133);z.exports=N&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},3353:function(z,oe,d){var N=d(9781),L=d(7293);z.exports=N&&L(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},6061:function(z,oe,d){var N=d(5112);oe.f=N},5112:function(z,oe,d){var N=d(7854),L=d(2309),B=d(2597),T=d(9711),H=d(133),se=d(3307),n=L("wks"),C=N.Symbol,D=C&&C.for,ge=se?C:C&&C.withoutSetter||T;z.exports=function(de){if(!B(n,de)||!(H||typeof n[de]=="string")){var be="Symbol."+de;H&&B(C,de)?n[de]=C[de]:se&&D?n[de]=D(be):n[de]=ge(be)}return n[de]}},1361:function(z){z.exports=`
|
|
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},9191:function(z,oe,d){"use strict";var N=d(5005),L=d(2597),B=d(8880),T=d(7976),H=d(7674),se=d(9920),n=d(2626),C=d(9587),D=d(6277),ge=d(8340),de=d(7741),be=d(2914),we=d(9781),Te=d(1913);z.exports=function(J,s,ce,De){var ke="stackTraceLimit",le=De?2:1,pe=J.split("."),We=pe[pe.length-1],I=N.apply(null,pe);if(!!I){var F=I.prototype;if(!Te&&L(F,"cause")&&delete F.cause,!ce)return I;var M=N("Error"),Z=s(function(Pe,Ke){var ot=D(De?Ke:Pe,void 0),ne=De?new I(Pe):new I;return ot!==void 0&&B(ne,"message",ot),be&&B(ne,"stack",de(ne.stack,2)),this&&T(F,this)&&C(ne,this,Z),arguments.length>le&&ge(ne,arguments[le]),ne});if(Z.prototype=F,We!=="Error"?H?H(Z,M):se(Z,M,{name:!0}):we&&ke in I&&(n(Z,I,ke),n(Z,I,"prepareStackTrace")),se(Z,I),!Te)try{F.name!==We&&B(F,"name",We),F.constructor=Z}catch(Pe){}return Z}}},7327:function(z,oe,d){"use strict";var N=d(2109),L=d(2092).filter,B=d(1194),T=B("filter");N({target:"Array",proto:!0,forced:!T},{filter:function(se){return L(this,se,arguments.length>1?arguments[1]:void 0)}})},1038:function(z,oe,d){var N=d(2109),L=d(8457),B=d(7072),T=!B(function(H){Array.from(H)});N({target:"Array",stat:!0,forced:T},{from:L})},6992:function(z,oe,d){"use strict";var N=d(5656),L=d(1223),B=d(7497),T=d(9909),H=d(3070).f,se=d(654),n=d(1913),C=d(9781),D="Array Iterator",ge=T.set,de=T.getterFor(D);z.exports=se(Array,"Array",function(we,Te){ge(this,{type:D,target:N(we),index:0,kind:Te})},function(){var we=de(this),Te=we.target,J=we.kind,s=we.index++;return!Te||s>=Te.length?(we.target=void 0,{value:void 0,done:!0}):J=="keys"?{value:s,done:!1}:J=="values"?{value:Te[s],done:!1}:{value:[s,Te[s]],done:!1}},"values");var be=B.Arguments=B.Array;if(L("keys"),L("values"),L("entries"),!n&&C&&be.name!=="values")try{H(be,"name",{value:"values"})}catch(we){}},1249:function(z,oe,d){"use strict";var N=d(2109),L=d(2092).map,B=d(1194),T=B("map");N({target:"Array",proto:!0,forced:!T},{map:function(se){return L(this,se,arguments.length>1?arguments[1]:void 0)}})},7042:function(z,oe,d){"use strict";var N=d(2109),L=d(3157),B=d(4411),T=d(111),H=d(1400),se=d(6244),n=d(5656),C=d(6135),D=d(5112),ge=d(1194),de=d(206),be=ge("slice"),we=D("species"),Te=Array,J=Math.max;N({target:"Array",proto:!0,forced:!be},{slice:function(ce,De){var ke=n(this),le=se(ke),pe=H(ce,le),We=H(De===void 0?le:De,le),I,F,M;if(L(ke)&&(I=ke.constructor,B(I)&&(I===Te||L(I.prototype))?I=void 0:T(I)&&(I=I[we],I===null&&(I=void 0)),I===Te||I===void 0))return de(ke,pe,We);for(F=new(I===void 0?Te:I)(J(We-pe,0)),M=0;pe<We;pe++,M++)pe in ke&&C(F,M,ke[pe]);return F.length=M,F}})},1703:function(z,oe,d){var N=d(2109),L=d(7854),B=d(2104),T=d(9191),H="WebAssembly",se=L[H],n=Error("e",{cause:7}).cause!==7,C=function(ge,de){var be={};be[ge]=T(ge,de,n),N({global:!0,constructor:!0,arity:1,forced:n},be)},D=function(ge,de){if(se&&se[ge]){var be={};be[ge]=T(H+"."+ge,de,n),N({target:H,stat:!0,constructor:!0,arity:1,forced:n},be)}};C("Error",function(ge){return function(be){return B(ge,this,arguments)}}),C("EvalError",function(ge){return function(be){return B(ge,this,arguments)}}),C("RangeError",function(ge){return function(be){return B(ge,this,arguments)}}),C("ReferenceError",function(ge){return function(be){return B(ge,this,arguments)}}),C("SyntaxError",function(ge){return function(be){return B(ge,this,arguments)}}),C("TypeError",function(ge){return function(be){return B(ge,this,arguments)}}),C("URIError",function(ge){return function(be){return B(ge,this,arguments)}}),D("CompileError",function(ge){return function(be){return B(ge,this,arguments)}}),D("LinkError",function(ge){return function(be){return B(ge,this,arguments)}}),D("RuntimeError",function(ge){return function(be){return B(ge,this,arguments)}})},8309:function(z,oe,d){var N=d(9781),L=d(6530).EXISTS,B=d(1702),T=d(3070).f,H=Function.prototype,se=B(H.toString),n=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,C=B(n.exec),D="name";N&&!L&&T(H,D,{configurable:!0,get:function(){try{return C(n,se(this))[1]}catch(ge){return""}}})},8862:function(z,oe,d){var N=d(2109),L=d(5005),B=d(2104),T=d(6916),H=d(1702),se=d(7293),n=d(3157),C=d(614),D=d(111),ge=d(2190),de=d(206),be=d(133),we=L("JSON","stringify"),Te=H(/./.exec),J=H("".charAt),s=H("".charCodeAt),ce=H("".replace),De=H(1 .toString),ke=/[\uD800-\uDFFF]/g,le=/^[\uD800-\uDBFF]$/,pe=/^[\uDC00-\uDFFF]$/,We=!be||se(function(){var Z=L("Symbol")();return we([Z])!="[null]"||we({a:Z})!="{}"||we(Object(Z))!="{}"}),I=se(function(){return we("\uDF06\uD834")!=='"\\udf06\\ud834"'||we("\uDEAD")!=='"\\udead"'}),F=function(Z,Pe){var Ke=de(arguments),ot=Pe;if(!(!D(Pe)&&Z===void 0||ge(Z)))return n(Pe)||(Pe=function(ne,ae){if(C(ot)&&(ae=T(ot,this,ne,ae)),!ge(ae))return ae}),Ke[1]=Pe,B(we,null,Ke)},M=function(Z,Pe,Ke){var ot=J(Ke,Pe-1),ne=J(Ke,Pe+1);return Te(le,Z)&&!Te(pe,ne)||Te(pe,Z)&&!Te(le,ot)?"\\u"+De(s(Z,0),16):Z};we&&N({target:"JSON",stat:!0,arity:3,forced:We||I},{stringify:function(Pe,Ke,ot){var ne=de(arguments),ae=B(We?F:we,null,ne);return I&&typeof ae=="string"?ce(ae,ke,M):ae}})},9653:function(z,oe,d){"use strict";var N=d(9781),L=d(7854),B=d(1702),T=d(4705),H=d(8052),se=d(2597),n=d(9587),C=d(7976),D=d(2190),ge=d(7593),de=d(7293),be=d(8006).f,we=d(1236).f,Te=d(3070).f,J=d(863),s=d(3111).trim,ce="Number",De=L[ce],ke=De.prototype,le=L.TypeError,pe=B("".slice),We=B("".charCodeAt),I=function(ot){var ne=ge(ot,"number");return typeof ne=="bigint"?ne:F(ne)},F=function(ot){var ne=ge(ot,"number"),ae,Ve,$,Ee,tt,St,pt,Ot;if(D(ne))throw le("Cannot convert a Symbol value to a number");if(typeof ne=="string"&&ne.length>2){if(ne=s(ne),ae=We(ne,0),ae===43||ae===45){if(Ve=We(ne,2),Ve===88||Ve===120)return NaN}else if(ae===48){switch(We(ne,1)){case 66:case 98:$=2,Ee=49;break;case 79:case 111:$=8,Ee=55;break;default:return+ne}for(tt=pe(ne,2),St=tt.length,pt=0;pt<St;pt++)if(Ot=We(tt,pt),Ot<48||Ot>Ee)return NaN;return parseInt(tt,$)}}return+ne};if(T(ce,!De(" 0o1")||!De("0b1")||De("+0x1"))){for(var M=function(ne){var ae=arguments.length<1?0:De(I(ne)),Ve=this;return C(ke,Ve)&&de(function(){J(Ve)})?n(Object(ae),Ve,M):ae},Z=N?be(De):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),Pe=0,Ke;Z.length>Pe;Pe++)se(De,Ke=Z[Pe])&&!se(M,Ke)&&Te(M,Ke,we(De,Ke));M.prototype=ke,ke.constructor=M,H(L,ce,M,{constructor:!0})}},6977:function(z,oe,d){"use strict";var N=d(2109),L=d(1702),B=d(9303),T=d(863),H=d(8415),se=d(7293),n=RangeError,C=String,D=Math.floor,ge=L(H),de=L("".slice),be=L(1 .toFixed),we=function(ke,le,pe){return le===0?pe:le%2===1?we(ke,le-1,pe*ke):we(ke*ke,le/2,pe)},Te=function(ke){for(var le=0,pe=ke;pe>=4096;)le+=12,pe/=4096;for(;pe>=2;)le+=1,pe/=2;return le},J=function(ke,le,pe){for(var We=-1,I=pe;++We<6;)I+=le*ke[We],ke[We]=I%1e7,I=D(I/1e7)},s=function(ke,le){for(var pe=6,We=0;--pe>=0;)We+=ke[pe],ke[pe]=D(We/le),We=We%le*1e7},ce=function(ke){for(var le=6,pe="";--le>=0;)if(pe!==""||le===0||ke[le]!==0){var We=C(ke[le]);pe=pe===""?We:pe+ge("0",7-We.length)+We}return pe},De=se(function(){return be(8e-5,3)!=="0.000"||be(.9,0)!=="1"||be(1.255,2)!=="1.25"||be(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!se(function(){be({})});N({target:"Number",proto:!0,forced:De},{toFixed:function(le){var pe=T(this),We=B(le),I=[0,0,0,0,0,0],F="",M="0",Z,Pe,Ke,ot;if(We<0||We>20)throw n("Incorrect fraction digits");if(pe!=pe)return"NaN";if(pe<=-1e21||pe>=1e21)return C(pe);if(pe<0&&(F="-",pe=-pe),pe>1e-21)if(Z=Te(pe*we(2,69,1))-69,Pe=Z<0?pe*we(2,-Z,1):pe/we(2,Z,1),Pe*=4503599627370496,Z=52-Z,Z>0){for(J(I,0,Pe),Ke=We;Ke>=7;)J(I,1e7,0),Ke-=7;for(J(I,we(10,Ke,1),0),Ke=Z-1;Ke>=23;)s(I,8388608),Ke-=23;s(I,1<<Ke),J(I,1,1),s(I,2),M=ce(I)}else J(I,0,Pe),J(I,1<<-Z,0),M=ce(I)+ge("0",We);return We>0?(ot=M.length,M=F+(ot<=We?"0."+ge("0",We-ot)+M:de(M,0,ot-We)+"."+de(M,ot-We))):M=F+M,M}})},5003:function(z,oe,d){var N=d(2109),L=d(7293),B=d(5656),T=d(1236).f,H=d(9781),se=L(function(){T(1)}),n=!H||se;N({target:"Object",stat:!0,forced:n,sham:!H},{getOwnPropertyDescriptor:function(D,ge){return T(B(D),ge)}})},9337:function(z,oe,d){var N=d(2109),L=d(9781),B=d(3887),T=d(5656),H=d(1236),se=d(6135);N({target:"Object",stat:!0,sham:!L},{getOwnPropertyDescriptors:function(C){for(var D=T(C),ge=H.f,de=B(D),be={},we=0,Te,J;de.length>we;)J=ge(D,Te=de[we++]),J!==void 0&&se(be,Te,J);return be}})},9660:function(z,oe,d){var N=d(2109),L=d(133),B=d(7293),T=d(5181),H=d(7908),se=!L||B(function(){T.f(1)});N({target:"Object",stat:!0,forced:se},{getOwnPropertySymbols:function(C){var D=T.f;return D?D(H(C)):[]}})},7941:function(z,oe,d){var N=d(2109),L=d(7908),B=d(1956),T=d(7293),H=T(function(){B(1)});N({target:"Object",stat:!0,forced:H},{keys:function(n){return B(L(n))}})},1539:function(z,oe,d){var N=d(1694),L=d(8052),B=d(288);N||L(Object.prototype,"toString",B,{unsafe:!0})},6833:function(z,oe,d){var N=d(2109),L=d(4699).values;N({target:"Object",stat:!0},{values:function(T){return L(T)}})},4916:function(z,oe,d){"use strict";var N=d(2109),L=d(2261);N({target:"RegExp",proto:!0,forced:/./.exec!==L},{exec:L})},7601:function(z,oe,d){"use strict";d(4916);var N=d(2109),L=d(6916),B=d(1702),T=d(614),H=d(111),se=function(){var D=!1,ge=/[ac]/;return ge.exec=function(){return D=!0,/./.exec.apply(this,arguments)},ge.test("abc")===!0&&D}(),n=TypeError,C=B(/./.test);N({target:"RegExp",proto:!0,forced:!se},{test:function(D){var ge=this.exec;if(!T(ge))return C(this,D);var de=L(ge,this,D);if(de!==null&&!H(de))throw new n("RegExp exec method returned something other than an Object or null");return!!de}})},9714:function(z,oe,d){"use strict";var N=d(6530).PROPER,L=d(8052),B=d(9670),T=d(1340),H=d(7293),se=d(4706),n="toString",C=RegExp.prototype,D=C[n],ge=H(function(){return D.call({source:"a",flags:"b"})!="/a/b"}),de=N&&D.name!=n;(ge||de)&&L(RegExp.prototype,n,function(){var we=B(this),Te=T(we.source),J=T(se(we));return"/"+Te+"/"+J},{unsafe:!0})},8783:function(z,oe,d){"use strict";var N=d(8710).charAt,L=d(1340),B=d(9909),T=d(654),H="String Iterator",se=B.set,n=B.getterFor(H);T(String,"String",function(C){se(this,{type:H,string:L(C),index:0})},function(){var D=n(this),ge=D.string,de=D.index,be;return de>=ge.length?{value:void 0,done:!0}:(be=N(ge,de),D.index+=be.length,{value:be,done:!1})})},5306:function(z,oe,d){"use strict";var N=d(2104),L=d(6916),B=d(1702),T=d(7007),H=d(7293),se=d(9670),n=d(614),C=d(9303),D=d(7466),ge=d(1340),de=d(4488),be=d(1530),we=d(8173),Te=d(647),J=d(7651),s=d(5112),ce=s("replace"),De=Math.max,ke=Math.min,le=B([].concat),pe=B([].push),We=B("".indexOf),I=B("".slice),F=function(Ke){return Ke===void 0?Ke:String(Ke)},M=function(){return"a".replace(/./,"$0")==="$0"}(),Z=function(){return/./[ce]?/./[ce]("a","$0")==="":!1}(),Pe=!H(function(){var Ke=/./;return Ke.exec=function(){var ot=[];return ot.groups={a:"7"},ot},"".replace(Ke,"$<a>")!=="7"});T("replace",function(Ke,ot,ne){var ae=Z?"$":"$0";return[function($,Ee){var tt=de(this),St=$==null?void 0:we($,ce);return St?L(St,$,tt,Ee):L(ot,ge(tt),$,Ee)},function(Ve,$){var Ee=se(this),tt=ge(Ve);if(typeof $=="string"&&We($,ae)===-1&&We($,"$<")===-1){var St=ne(ot,Ee,tt,$);if(St.done)return St.value}var pt=n($);pt||($=ge($));var Ot=Ee.global;if(Ot){var ui=Ee.unicode;Ee.lastIndex=0}for(var Qt=[];;){var Ui=J(Ee,tt);if(Ui===null||(pe(Qt,Ui),!Ot))break;var Ki=ge(Ui[0]);Ki===""&&(Ee.lastIndex=be(tt,D(Ee.lastIndex),ui))}for(var Gi="",pn=0,zi=0;zi<Qt.length;zi++){Ui=Qt[zi];for(var Ft=ge(Ui[0]),bn=De(ke(C(Ui.index),tt.length),0),h=[],E=1;E<Ui.length;E++)pe(h,F(Ui[E]));var ee=Ui.groups;if(pt){var He=le([Ft],h,bn,tt);ee!==void 0&&pe(He,ee);var Ue=ge(N($,void 0,He))}else Ue=Te(Ft,tt,bn,h,ee,$);bn>=pn&&(Gi+=I(tt,pn,bn)+Ue,pn=bn+Ft.length)}return Gi+I(tt,pn)}]},!Pe||!M||Z)},4032:function(z,oe,d){"use strict";var N=d(2109),L=d(7854),B=d(6916),T=d(1702),H=d(1913),se=d(9781),n=d(133),C=d(7293),D=d(2597),ge=d(7976),de=d(9670),be=d(5656),we=d(4948),Te=d(1340),J=d(9114),s=d(30),ce=d(1956),De=d(8006),ke=d(1156),le=d(5181),pe=d(1236),We=d(3070),I=d(6048),F=d(5296),M=d(8052),Z=d(2309),Pe=d(6200),Ke=d(3501),ot=d(9711),ne=d(5112),ae=d(6061),Ve=d(7235),$=d(6532),Ee=d(8003),tt=d(9909),St=d(2092).forEach,pt=Pe("hidden"),Ot="Symbol",ui="prototype",Qt=tt.set,Ui=tt.getterFor(Ot),Ki=Object[ui],Gi=L.Symbol,pn=Gi&&Gi[ui],zi=L.TypeError,Ft=L.QObject,bn=pe.f,h=We.f,E=ke.f,ee=F.f,He=T([].push),Ue=Z("symbols"),at=Z("op-symbols"),K=Z("wks"),Ct=!Ft||!Ft[ui]||!Ft[ui].findChild,Hi=se&&C(function(){return s(h({},"a",{get:function(){return h(this,"a",{value:7}).a}})).a!=7})?function(Rn,qi,tn){var Xi=bn(Ki,qi);Xi&&delete Ki[qi],h(Rn,qi,tn),Xi&&Rn!==Ki&&h(Ki,qi,Xi)}:h,Fi=function(Rn,qi){var tn=Ue[Rn]=s(pn);return Qt(tn,{type:Ot,tag:Rn,description:qi}),se||(tn.description=qi),tn},Cn=function(qi,tn,Xi){qi===Ki&&Cn(at,tn,Xi),de(qi);var un=we(tn);return de(Xi),D(Ue,un)?(Xi.enumerable?(D(qi,pt)&&qi[pt][un]&&(qi[pt][un]=!1),Xi=s(Xi,{enumerable:J(0,!1)})):(D(qi,pt)||h(qi,pt,J(1,{})),qi[pt][un]=!0),Hi(qi,un,Xi)):h(qi,un,Xi)},An=function(qi,tn){de(qi);var Xi=be(tn),un=ce(Xi).concat(ar(Xi));return St(un,function(er){(!se||B(Ei,Xi,er))&&Cn(qi,er,Xi[er])}),qi},Pn=function(qi,tn){return tn===void 0?s(qi):An(s(qi),tn)},Ei=function(qi){var tn=we(qi),Xi=B(ee,this,tn);return this===Ki&&D(Ue,tn)&&!D(at,tn)?!1:Xi||!D(this,tn)||!D(Ue,tn)||D(this,pt)&&this[pt][tn]?Xi:!0},Kn=function(qi,tn){var Xi=be(qi),un=we(tn);if(!(Xi===Ki&&D(Ue,un)&&!D(at,un))){var er=bn(Xi,un);return er&&D(Ue,un)&&!(D(Xi,pt)&&Xi[pt][un])&&(er.enumerable=!0),er}},Yn=function(qi){var tn=E(be(qi)),Xi=[];return St(tn,function(un){!D(Ue,un)&&!D(Ke,un)&&He(Xi,un)}),Xi},ar=function(Rn){var qi=Rn===Ki,tn=E(qi?at:be(Rn)),Xi=[];return St(tn,function(un){D(Ue,un)&&(!qi||D(Ki,un))&&He(Xi,Ue[un])}),Xi};n||(Gi=function(){if(ge(pn,this))throw zi("Symbol is not a constructor");var qi=!arguments.length||arguments[0]===void 0?void 0:Te(arguments[0]),tn=ot(qi),Xi=function(un){this===Ki&&B(Xi,at,un),D(this,pt)&&D(this[pt],tn)&&(this[pt][tn]=!1),Hi(this,tn,J(1,un))};return se&&Ct&&Hi(Ki,tn,{configurable:!0,set:Xi}),Fi(tn,qi)},pn=Gi[ui],M(pn,"toString",function(){return Ui(this).tag}),M(Gi,"withoutSetter",function(Rn){return Fi(ot(Rn),Rn)}),F.f=Ei,We.f=Cn,I.f=An,pe.f=Kn,De.f=ke.f=Yn,le.f=ar,ae.f=function(Rn){return Fi(ne(Rn),Rn)},se&&(h(pn,"description",{configurable:!0,get:function(){return Ui(this).description}}),H||M(Ki,"propertyIsEnumerable",Ei,{unsafe:!0}))),N({global:!0,constructor:!0,wrap:!0,forced:!n,sham:!n},{Symbol:Gi}),St(ce(K),function(Rn){Ve(Rn)}),N({target:Ot,stat:!0,forced:!n},{useSetter:function(){Ct=!0},useSimple:function(){Ct=!1}}),N({target:"Object",stat:!0,forced:!n,sham:!se},{create:Pn,defineProperty:Cn,defineProperties:An,getOwnPropertyDescriptor:Kn}),N({target:"Object",stat:!0,forced:!n},{getOwnPropertyNames:Yn}),$(),Ee(Gi,Ot),Ke[pt]=!0},1817:function(z,oe,d){"use strict";var N=d(2109),L=d(9781),B=d(7854),T=d(1702),H=d(2597),se=d(614),n=d(7976),C=d(1340),D=d(3070).f,ge=d(9920),de=B.Symbol,be=de&&de.prototype;if(L&&se(de)&&(!("description"in be)||de().description!==void 0)){var we={},Te=function(){var We=arguments.length<1||arguments[0]===void 0?void 0:C(arguments[0]),I=n(be,this)?new de(We):We===void 0?de():de(We);return We===""&&(we[I]=!0),I};ge(Te,de),Te.prototype=be,be.constructor=Te;var J=String(de("test"))=="Symbol(test)",s=T(be.toString),ce=T(be.valueOf),De=/^Symbol\((.*)\)[^)]+$/,ke=T("".replace),le=T("".slice);D(be,"description",{configurable:!0,get:function(){var We=ce(this),I=s(We);if(H(we,We))return"";var F=J?le(I,7,-1):ke(I,De,"$1");return F===""?void 0:F}}),N({global:!0,constructor:!0,forced:!0},{Symbol:Te})}},763:function(z,oe,d){var N=d(2109),L=d(5005),B=d(2597),T=d(1340),H=d(2309),se=d(735),n=H("string-to-symbol-registry"),C=H("symbol-to-string-registry");N({target:"Symbol",stat:!0,forced:!se},{for:function(D){var ge=T(D);if(B(n,ge))return n[ge];var de=L("Symbol")(ge);return n[ge]=de,C[de]=ge,de}})},2165:function(z,oe,d){var N=d(7235);N("iterator")},2526:function(z,oe,d){d(4032),d(763),d(6620),d(8862),d(9660)},6620:function(z,oe,d){var N=d(2109),L=d(2597),B=d(2190),T=d(6330),H=d(2309),se=d(735),n=H("symbol-to-string-registry");N({target:"Symbol",stat:!0,forced:!se},{keyFor:function(D){if(!B(D))throw TypeError(T(D)+" is not a symbol");if(L(n,D))return n[D]}})},4747:function(z,oe,d){var N=d(7854),L=d(8324),B=d(8509),T=d(8533),H=d(8880),se=function(C){if(C&&C.forEach!==T)try{H(C,"forEach",T)}catch(D){C.forEach=T}};for(var n in L)L[n]&&se(N[n]&&N[n].prototype);se(B)},3948:function(z,oe,d){var N=d(7854),L=d(8324),B=d(8509),T=d(6992),H=d(8880),se=d(5112),n=se("iterator"),C=se("toStringTag"),D=T.values,ge=function(be,we){if(be){if(be[n]!==D)try{H(be,n,D)}catch(J){be[n]=D}if(be[C]||H(be,C,we),L[we]){for(var Te in T)if(be[Te]!==T[Te])try{H(be,Te,T[Te])}catch(J){be[Te]=T[Te]}}}};for(var de in L)ge(N[de]&&N[de].prototype,de);ge(B,"DOMTokenList")},3744:function(z,oe){"use strict";var d;d={value:!0},oe.Z=(N,L)=>{const B=N.__vccOpts||N;for(const[T,H]of L)B[T]=H;return B}}},g={};function me(z){var oe=g[z];if(oe!==void 0)return oe.exports;var d=g[z]={exports:{}};return A[z].call(d.exports,d,d.exports,me),d.exports}(function(){me.d=function(z,oe){for(var d in oe)me.o(oe,d)&&!me.o(z,d)&&Object.defineProperty(z,d,{enumerable:!0,get:oe[d]})}})(),function(){me.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(z){if(typeof window=="object")return window}}()}(),function(){me.o=function(z,oe){return Object.prototype.hasOwnProperty.call(z,oe)}}(),function(){me.r=function(z){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(z,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(z,"__esModule",{value:!0})}}(),function(){me.p=""}();var et={};(function(){"use strict";if(me.r(et),me.d(et,{default:function(){return ut},install:function(){return di}}),typeof window!="undefined"){var z=window.document.currentScript,oe=me(7679);z=oe(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:oe});var d=z&&z.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);d&&(me.p=d[1])}var N=null,L=At("./node_modules/vue/index.js"),B=["width","height"],T={key:0,id:"title"},H=["transform"],se=["transform","width","height"],n=["transform"],C=["width","height","y"],D=["x","y","dy"],ge={key:1},de=["x","y"],be=["x1","x2","y1","y2"],we=["x1","y1","x2","y2","stroke-width","stroke"],Te={key:0},J=["x1","x2","y1","y2"],s={key:1},ce=["x1","x2","y1"],De=["x1","y1","x2","y2"],ke=["y"];function le(Y,a,c,m,b,k){return(0,L.openBlock)(),(0,L.createElementBlock)("svg",{width:k.fullSvgWidth,height:k.fullSvgHeight,"aria-labelledby":"title",role:"img"},[c.title?((0,L.openBlock)(),(0,L.createElementBlock)("title",T,(0,L.toDisplayString)(c.title),1)):(0,L.createCommentVNode)("",!0),(0,L.createElementVNode)("g",{transform:"translate(0,".concat(c.showYAxis?b.extraTopHeightForYAxisLabel:0,")")},[(0,L.createElementVNode)("g",{transform:"translate(".concat(c.showYAxis?k.yAxisWidth:0,",0)"),width:k.innerChartWidth,height:k.innerChartHeight},[((0,L.openBlock)(!0),(0,L.createElementBlock)(L.Fragment,null,(0,L.renderList)(k.chartData,function(V){return(0,L.openBlock)(),(0,L.createElementBlock)("g",{key:V.index,transform:"translate(".concat(V.x,",0)")},[(0,L.createElementVNode)("title",null,[(0,L.renderSlot)(Y.$slots,"title",{bar:V},function(){return[(0,L.createElementVNode)("tspan",null,(0,L.toDisplayString)(V.staticValue),1)]})]),(0,L.createElementVNode)("rect",{width:V.width,height:V.height,x:2,y:V.yOffset,style:(0,L.normalizeStyle)({fill:V.barColor})},null,12,C),c.showValues?((0,L.openBlock)(),(0,L.createElementBlock)("text",{key:0,x:V.midPoint,y:V.yOffset,dy:"".concat(V.height<22?"-5px":"15px"),"text-anchor":"middle",style:(0,L.normalizeStyle)({fill:V.height<22?V.textColor:V.textAltColor,font:c.textFont})},(0,L.toDisplayString)(V.staticValue),13,D)):(0,L.createCommentVNode)("",!0),c.showXAxis?((0,L.openBlock)(),(0,L.createElementBlock)("g",ge,[(0,L.renderSlot)(Y.$slots,"label",{bar:V,textStyle:{fill:c.textColor,font:c.textFont}},function(){return[(0,L.createElementVNode)("text",{x:V.midPoint,y:"".concat(V.yLabel+10,"px"),"text-anchor":"middle",style:(0,L.normalizeStyle)({fill:c.textColor,font:c.textFont})},(0,L.toDisplayString)(V.label),13,de)]}),(0,L.createElementVNode)("line",{x1:V.midPoint,x2:V.midPoint,y1:k.innerChartHeight+3,y2:k.innerChartHeight,stroke:"#555555","stroke-width":"1"},null,8,be)])):(0,L.createCommentVNode)("",!0)],8,n)}),128)),c.showTrendLine?((0,L.openBlock)(),(0,L.createElementBlock)("line",{key:0,x1:k.trendLine.x1,y1:k.trendLine.y1,x2:k.trendLine.x2,y2:k.trendLine.y2,"stroke-width":c.trendLineWidth,stroke:c.trendLineColor},null,8,we)):(0,L.createCommentVNode)("",!0)],8,se),c.showXAxis?((0,L.openBlock)(),(0,L.createElementBlock)("g",Te,[(0,L.createElementVNode)("line",{x1:c.showYAxis?k.yAxisWidth-1:2,x2:k.innerChartWidth+k.yAxisWidth,y1:k.innerChartHeight,y2:k.innerChartHeight,stroke:"#555555","stroke-width":"1"},null,8,J)])):(0,L.createCommentVNode)("",!0),c.showYAxis?((0,L.openBlock)(),(0,L.createElementBlock)("g",s,[(0,L.createElementVNode)("line",{x1:k.yAxisWidth-1,x2:k.yAxisWidth-1,y1:k.innerChartHeight,y2:"0",stroke:"#555555","stroke-width":"1"},null,8,ce),((0,L.openBlock)(!0),(0,L.createElementBlock)(L.Fragment,null,(0,L.renderList)(k.getTicks(),function(V){return(0,L.openBlock)(),(0,L.createElementBlock)("g",{key:V.key},[(0,L.createElementVNode)("line",{x1:V.x1,y1:V.y1,x2:V.x2,y2:V.y2,stroke:"#555555","stroke-width":"1"},null,8,De),(0,L.createElementVNode)("text",{x:"0",y:V.yText,"alignment-baseline":"central",style:(0,L.normalizeStyle)({fill:c.textColor,font:c.textFont})},(0,L.toDisplayString)(V.text),13,ke)])}),128))])):(0,L.createCommentVNode)("",!0)],8,H)],8,B)}var pe=me(7941),We=me(2526),I=me(7327),F=me(1539),M=me(5003),Z=me(4747),Pe=me(9337);function Ke(Y,a,c){return a in Y?Object.defineProperty(Y,a,{value:c,enumerable:!0,configurable:!0,writable:!0}):Y[a]=c,Y}function ot(Y,a){var c=Object.keys(Y);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(Y);a&&(m=m.filter(function(b){return Object.getOwnPropertyDescriptor(Y,b).enumerable})),c.push.apply(c,m)}return c}function ne(Y){for(var a=1;a<arguments.length;a++){var c=arguments[a]!=null?arguments[a]:{};a%2?ot(Object(c),!0).forEach(function(m){Ke(Y,m,c[m])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Y,Object.getOwnPropertyDescriptors(c)):ot(Object(c)).forEach(function(m){Object.defineProperty(Y,m,Object.getOwnPropertyDescriptor(c,m))})}return Y}function ae(Y,a){(a==null||a>Y.length)&&(a=Y.length);for(var c=0,m=new Array(a);c<a;c++)m[c]=Y[c];return m}function Ve(Y){if(Array.isArray(Y))return ae(Y)}var $=me(1817),Ee=me(2165),tt=me(6992),St=me(8783),pt=me(3948),Ot=me(1038);function ui(Y){if(typeof Symbol!="undefined"&&Y[Symbol.iterator]!=null||Y["@@iterator"]!=null)return Array.from(Y)}var Qt=me(7042),Ui=me(8309),Ki=me(4916),Gi=me(7601);function pn(Y,a){if(!!Y){if(typeof Y=="string")return ae(Y,a);var c=Object.prototype.toString.call(Y).slice(8,-1);if(c==="Object"&&Y.constructor&&(c=Y.constructor.name),c==="Map"||c==="Set")return Array.from(Y);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return ae(Y,a)}}var zi=me(1703);function Ft(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function bn(Y){return Ve(Y)||ui(Y)||pn(Y)||Ft()}function h(Y){return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},h(Y)}var E=me(9653),ee=me(1249),He=me(6977),Ue=me(9714),at=me(6833),K=me(5306);function Ct(Y){if(Y===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Y}function Hi(Y,a){Y.prototype=Object.create(a.prototype),Y.prototype.constructor=Y,Y.__proto__=a}var Fi={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Cn={duration:.5,overwrite:!1,delay:0},An,Pn=1e8,Ei=1/Pn,Kn=Math.PI*2,Yn=Kn/4,ar=0,Rn=Math.sqrt,qi=Math.cos,tn=Math.sin,Xi=function(a){return typeof a=="string"},un=function(a){return typeof a=="function"},er=function(a){return typeof a=="number"},sa=function(a){return typeof a=="undefined"},Qn=function(a){return typeof a=="object"},mr=function(a){return a!==!1},fr=function(){return typeof window!="undefined"},_a=function(a){return un(a)||Xi(a)},mt=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Vt=Array.isArray,ai=/(?:-?\.?\d|\.)+/gi,Di=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,hn=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,En=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,In=/[+-]=-?[.\d]+/,Hn=/[^,'"\[\]\s]+/gi,tr=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Qi,Un,wr,hr,gr={},lr={},ir,Ma=function(a){return(lr=Dt(a,gr))&&xr},jr=function(a,c){return console.warn("Invalid property",a,"set to",c,"Missing plugin? gsap.registerPlugin()")},la=function(a,c){return!c&&console.warn(a)},to=function(a,c){return a&&(gr[a]=c)&&lr&&(lr[a]=c)||gr},io=function(){return 0},Ca={},Fr=[],pa={},ie,ye={},Be={},lt=30,Lt=[],Jt="",yi=function(a){var c=a[0],m,b;if(Qn(c)||un(c)||(a=[a]),!(m=(c._gsap||{}).harness)){for(b=Lt.length;b--&&!Lt[b].targetTest(c););m=Lt[b]}for(b=a.length;b--;)a[b]&&(a[b]._gsap||(a[b]._gsap=new Ko(a[b],m)))||a.splice(b,1);return a},Ni=function(a){return a._gsap||yi(Yr(a))[0]._gsap},Oi=function(a,c,m){return(m=a[c])&&un(m)?a[c]():sa(m)&&a.getAttribute&&a.getAttribute(c)||m},Ri=function(a,c){return(a=a.split(",")).forEach(c)||a},Li=function(a){return Math.round(a*1e5)/1e5||0},On=function(a){return Math.round(a*1e7)/1e7||0},or=function(a,c){var m=c.charAt(0),b=parseFloat(c.substr(2));return a=parseFloat(a),m==="+"?a+b:m==="-"?a-b:m==="*"?a*b:a/b},Ta=function(a,c){for(var m=c.length,b=0;a.indexOf(c[b])<0&&++b<m;);return b<m},kr=function(){var a=Fr.length,c=Fr.slice(0),m,b;for(pa={},Fr.length=0,m=0;m<a;m++)b=c[m],b&&b._lazy&&(b.render(b._lazy[0],b._lazy[1],!0)._lazy=0)},ca=function(a,c,m,b){Fr.length&&kr(),a.render(c,m,b),Fr.length&&kr()},Se=function(a){var c=parseFloat(a);return(c||c===0)&&(a+"").match(Hn).length<2?c:Xi(a)?a.trim():a},Je=function(a){return a},bt=function(a,c){for(var m in c)m in a||(a[m]=c[m]);return a},Nt=function(a){return function(c,m){for(var b in m)b in c||b==="duration"&&a||b==="ease"||(c[b]=m[b])}},Dt=function(a,c){for(var m in c)a[m]=c[m];return a},ki=function Y(a,c){for(var m in c)m!=="__proto__"&&m!=="constructor"&&m!=="prototype"&&(a[m]=Qn(c[m])?Y(a[m]||(a[m]={}),c[m]):c[m]);return a},rn=function(a,c){var m={},b;for(b in a)b in c||(m[b]=a[b]);return m},Ai=function(a){var c=a.parent||Qi,m=a.keyframes?Nt(Vt(a.keyframes)):bt;if(mr(a.inherit))for(;c;)m(a,c.vars.defaults),c=c.parent||c._dp;return a},Qr=function(a,c){for(var m=a.length,b=m===c.length;b&&m--&&a[m]===c[m];);return m<0},Cr=function(a,c,m,b,k){m===void 0&&(m="_first"),b===void 0&&(b="_last");var V=a[b],G;if(k)for(G=c[k];V&&V[k]>G;)V=V._prev;return V?(c._next=V._next,V._next=c):(c._next=a[m],a[m]=c),c._next?c._next._prev=c:a[b]=c,c._prev=V,c.parent=c._dp=a,c},Ar=function(a,c,m,b){m===void 0&&(m="_first"),b===void 0&&(b="_last");var k=c._prev,V=c._next;k?k._next=V:a[m]===c&&(a[m]=V),V?V._prev=k:a[b]===c&&(a[b]=k),c._next=c._prev=c.parent=null},Vr=function(a,c){a.parent&&(!c||a.parent.autoRemoveChildren)&&a.parent.remove(a),a._act=0},$i=function(a,c){if(a&&(!c||c._end>a._dur||c._start<0))for(var m=a;m;)m._dirty=1,m=m.parent;return a},cr=function(a){for(var c=a.parent;c&&c.parent;)c._dirty=1,c.totalDuration(),c=c.parent;return a},ua=function Y(a){return!a||a._ts&&Y(a.parent)},go=function(a){return a._repeat?wa(a._tTime,a=a.duration()+a._rDelay)*a:0},wa=function(a,c){var m=Math.floor(a/=c);return a&&m===a?m-1:m},Co=function(a,c){return(a-c._start)*c._ts+(c._ts>=0?0:c._dirty?c.totalDuration():c._tDur)},To=function(a){return a._end=On(a._start+(a._tDur/Math.abs(a._ts||a._rts||Ei)||0))},No=function(a,c){var m=a._dp;return m&&m.smoothChildTiming&&a._ts&&(a._start=On(m._time-(a._ts>0?c/a._ts:((a._dirty?a.totalDuration():a._tDur)-c)/-a._ts)),To(a),m._dirty||$i(m,a)),a},Ho=function(a,c){var m;if((c._time||c._initted&&!c._dur)&&(m=Co(a.rawTime(),c),(!c._dur||Va(0,c.totalDuration(),m)-c._tTime>Ei)&&c.render(m,!0)),$i(a,c)._dp&&a._initted&&a._time>=a._dur&&a._ts){if(a._dur<a.duration())for(m=a;m._dp;)m.rawTime()>=0&&m.totalTime(m._tTime),m=m._dp;a._zTime=-Ei}},Ea=function(a,c,m,b){return c.parent&&Vr(c),c._start=On((er(m)?m:m||a!==Qi?ka(a,m,c):a._time)+c._delay),c._end=On(c._start+(c.totalDuration()/Math.abs(c.timeScale())||0)),Cr(a,c,"_first","_last",a._sort?"_start":0),ma(c)||(a._recent=c),b||Ho(a,c),a},xs=function(a,c){return(gr.ScrollTrigger||jr("scrollTrigger",c))&&gr.ScrollTrigger.create(c,a)},vo=function(a,c,m,b){if(Eo(a,c),!a._initted)return 1;if(!m&&a._pt&&(a._dur&&a.vars.lazy!==!1||!a._dur&&a.vars.lazy)&&ie!==Zr.frame)return Fr.push(a),a._lazy=[c,b],1},ds=function Y(a){var c=a.parent;return c&&c._ts&&c._initted&&!c._lock&&(c.rawTime()<0||Y(c))},ma=function(a){var c=a.data;return c==="isFromStart"||c==="isStart"},Oa=function(a,c,m,b){var k=a.ratio,V=c<0||!c&&(!a._start&&ds(a)&&!(!a._initted&&ma(a))||(a._ts<0||a._dp._ts<0)&&!ma(a))?0:1,G=a._rDelay,ve=0,je,Me,Xe;if(G&&a._repeat&&(ve=Va(0,a._tDur,c),Me=wa(ve,G),a._yoyo&&Me&1&&(V=1-V),Me!==wa(a._tTime,G)&&(k=1-V,a.vars.repeatRefresh&&a._initted&&a.invalidate())),V!==k||b||a._zTime===Ei||!c&&a._zTime){if(!a._initted&&vo(a,c,b,m))return;for(Xe=a._zTime,a._zTime=c||(m?Ei:0),m||(m=c&&!Xe),a.ratio=V,a._from&&(V=1-V),a._time=0,a._tTime=ve,je=a._pt;je;)je.r(V,je.d),je=je._next;a._startAt&&c<0&&a._startAt.render(c,!0,!0),a._onUpdate&&!m&&ht(a,"onUpdate"),ve&&a._repeat&&!m&&a.parent&&ht(a,"onRepeat"),(c>=a._tDur||c<0)&&a.ratio===V&&(V&&Vr(a,1),m||(ht(a,V?"onComplete":"onReverseComplete",!0),a._prom&&a._prom()))}else a._zTime||(a._zTime=c)},Lo=function(a,c,m){var b;if(m>c)for(b=a._first;b&&b._start<=m;){if(b.data==="isPause"&&b._start>c)return b;b=b._next}else for(b=a._last;b&&b._start>=m;){if(b.data==="isPause"&&b._start<c)return b;b=b._prev}},no=function(a,c,m,b){var k=a._repeat,V=On(c)||0,G=a._tTime/a._tDur;return G&&!b&&(a._time*=V/a._dur),a._dur=V,a._tDur=k?k<0?1e10:On(V*(k+1)+a._rDelay*k):V,G>0&&!b?No(a,a._tTime=a._tDur*G):a.parent&&To(a),m||$i(a.parent,a),a},$o=function(a){return a instanceof ea?$i(a):no(a,a._dur)},zo={_start:0,endTime:io,totalDuration:io},ka=function Y(a,c,m){var b=a.labels,k=a._recent||zo,V=a.duration()>=Pn?k.endTime(!1):a._dur,G,ve,je;return Xi(c)&&(isNaN(c)||c in b)?(ve=c.charAt(0),je=c.substr(-1)==="%",G=c.indexOf("="),ve==="<"||ve===">"?(G>=0&&(c=c.replace(/=/,"")),(ve==="<"?k._start:k.endTime(k._repeat>=0))+(parseFloat(c.substr(1))||0)*(je?(G<0?k:m).totalDuration()/100:1)):G<0?(c in b||(b[c]=V),b[c]):(ve=parseFloat(c.charAt(G-1)+c.substr(G+1)),je&&m&&(ve=ve/100*(Vt(m)?m[0]:m).totalDuration()),G>1?Y(a,c.substr(0,G-1),m)+ve:V+ve)):c==null?V:+c},yo=function(a,c,m){var b=er(c[1]),k=(b?2:1)+(a<2?0:1),V=c[k],G,ve;if(b&&(V.duration=c[1]),V.parent=m,a){for(G=V,ve=m;ve&&!("immediateRender"in G);)G=ve.vars.defaults||{},ve=mr(ve.vars.inherit)&&ve.parent;V.immediateRender=mr(G.immediateRender),a<2?V.runBackwards=1:V.startAt=c[k-1]}return new Hr(c[0],V,c[k+1])},Ia=function(a,c){return a||a===0?c(a):c},Va=function(a,c,m){return m<a?a:m>c?c:m},Gn=function(a,c){return!Xi(a)||!(c=tr.exec(a))?"":c[1]},As=function(a,c,m){return Ia(m,function(b){return Va(a,c,b)})},Wo=[].slice,Ss=function(a,c){return a&&Qn(a)&&"length"in a&&(!c&&!a.length||a.length-1 in a&&Qn(a[0]))&&!a.nodeType&&a!==Un},ro=function(a,c,m){return m===void 0&&(m=[]),a.forEach(function(b){var k;return Xi(b)&&!c||Ss(b,1)?(k=m).push.apply(k,Yr(b)):m.push(b)})||m},Yr=function(a,c,m){return Xi(a)&&!m&&(wr||!zr())?Wo.call((c||hr).querySelectorAll(a),0):Vt(a)?ro(a,m):Ss(a)?Wo.call(a,0):a?[a]:[]},ps=function(a){return a=Yr(a)[0]||la("Invalid scope")||{},function(c){var m=a.current||a.nativeElement||a;return Yr(c,m.querySelectorAll?m:m===a?la("Invalid scope")||hr.createElement("div"):a)}},ss=function(a){return a.sort(function(){return .5-Math.random()})},Cs=function(a){if(un(a))return a;var c=Qn(a)?a:{each:a},m=Aa(c.ease),b=c.from||0,k=parseFloat(c.base)||0,V={},G=b>0&&b<1,ve=isNaN(b)||G,je=c.axis,Me=b,Xe=b;return Xi(b)?Me=Xe={center:.5,edges:.5,end:1}[b]||0:!G&&ve&&(Me=b[0],Xe=b[1]),function(_t,dt,Mt){var Qe=(Mt||c).length,Bt=V[Qe],Ht,si,li,ci,ni,wi,Ii,Ti,xi;if(!Bt){if(xi=c.grid==="auto"?0:(c.grid||[1,Pn])[1],!xi){for(Ii=-Pn;Ii<(Ii=Mt[xi++].getBoundingClientRect().left)&&xi<Qe;);xi--}for(Bt=V[Qe]=[],Ht=ve?Math.min(xi,Qe)*Me-.5:b%xi,si=xi===Pn?0:ve?Qe*Xe/xi-.5:b/xi|0,Ii=0,Ti=Pn,wi=0;wi<Qe;wi++)li=wi%xi-Ht,ci=si-(wi/xi|0),Bt[wi]=ni=je?Math.abs(je==="y"?ci:li):Rn(li*li+ci*ci),ni>Ii&&(Ii=ni),ni<Ti&&(Ti=ni);b==="random"&&ss(Bt),Bt.max=Ii-Ti,Bt.min=Ti,Bt.v=Qe=(parseFloat(c.amount)||parseFloat(c.each)*(xi>Qe?Qe-1:je?je==="y"?Qe/xi:xi:Math.max(xi,Qe/xi))||0)*(b==="edges"?-1:1),Bt.b=Qe<0?k-Qe:k,Bt.u=Gn(c.amount||c.each)||0,m=m&&Qe<0?ms(m):m}return Qe=(Bt[_t]-Bt.min)/Bt.max||0,On(Bt.b+(m?m(Qe):Qe)*Bt.v)+Bt.u}},qo=function(a){var c=Math.pow(10,((a+"").split(".")[1]||"").length);return function(m){var b=Math.round(parseFloat(m)/a)*a*c;return(b-b%1)/c+(er(m)?0:Gn(m))}},r=function(a,c){var m=Vt(a),b,k;return!m&&Qn(a)&&(b=m=a.radius||Pn,a.values?(a=Yr(a.values),(k=!er(a[0]))&&(b*=b)):a=qo(a.increment)),Ia(c,m?un(a)?function(V){return k=a(V),Math.abs(k-V)<=b?k:V}:function(V){for(var G=parseFloat(k?V.x:V),ve=parseFloat(k?V.y:0),je=Pn,Me=0,Xe=a.length,_t,dt;Xe--;)k?(_t=a[Xe].x-G,dt=a[Xe].y-ve,_t=_t*_t+dt*dt):_t=Math.abs(a[Xe]-G),_t<je&&(je=_t,Me=Xe);return Me=!b||je<=b?a[Me]:V,k||Me===V||er(V)?Me:Me+Gn(V)}:qo(a))},f=function(a,c,m,b){return Ia(Vt(a)?!c:m===!0?!!(m=0):!b,function(){return Vt(a)?a[~~(Math.random()*a.length)]:(m=m||1e-5)&&(b=m<1?Math.pow(10,(m+"").length-2):1)&&Math.floor(Math.round((a-m/2+Math.random()*(c-a+m*.99))/m)*m*b)/b})},w=function(){for(var a=arguments.length,c=new Array(a),m=0;m<a;m++)c[m]=arguments[m];return function(b){return c.reduce(function(k,V){return V(k)},b)}},P=function(a,c){return function(m){return a(parseFloat(m))+(c||Gn(m))}},W=function(a,c,m){return ft(a,c,0,1,m)},X=function(a,c,m){return Ia(m,function(b){return a[~~c(b)]})},ue=function Y(a,c,m){var b=c-a;return Vt(a)?X(a,Y(0,a.length),c):Ia(m,function(k){return(b+(k-a)%b)%b+a})},qe=function Y(a,c,m){var b=c-a,k=b*2;return Vt(a)?X(a,Y(0,a.length-1),c):Ia(m,function(V){return V=(k+(V-a)%k)%k||0,a+(V>b?k-V:V)})},Ne=function(a){for(var c=0,m="",b,k,V,G;~(b=a.indexOf("random(",c));)V=a.indexOf(")",b),G=a.charAt(b+7)==="[",k=a.substr(b+7,V-b-7).match(G?Hn:ai),m+=a.substr(c,b-c)+f(G?k:+k[0],G?0:+k[1],+k[2]||1e-5),c=V+1;return m+a.substr(c,a.length-c)},ft=function(a,c,m,b,k){var V=c-a,G=b-m;return Ia(k,function(ve){return m+((ve-a)/V*G||0)})},xt=function Y(a,c,m,b){var k=isNaN(a+c)?0:function(dt){return(1-dt)*a+dt*c};if(!k){var V=Xi(a),G={},ve,je,Me,Xe,_t;if(m===!0&&(b=1)&&(m=null),V)a={p:a},c={p:c};else if(Vt(a)&&!Vt(c)){for(Me=[],Xe=a.length,_t=Xe-2,je=1;je<Xe;je++)Me.push(Y(a[je-1],a[je]));Xe--,k=function(Mt){Mt*=Xe;var Qe=Math.min(_t,~~Mt);return Me[Qe](Mt-Qe)},m=c}else b||(a=Dt(Vt(a)?[]:{},a));if(!Me){for(ve in c)_o.call(G,a,ve,"get",c[ve]);k=function(Mt){return ha(Mt,G)||(V?a.p:a)}}}return Ia(m,k)},Gt=function(a,c,m){var b=a.labels,k=Pn,V,G,ve;for(V in b)G=b[V]-c,G<0==!!m&&G&&k>(G=Math.abs(G))&&(ve=V,k=G);return ve},ht=function(a,c,m){var b=a.vars,k=b[c],V,G;if(!!k)return V=b[c+"Params"],G=b.callbackScope||a,m&&Fr.length&&kr(),V?k.apply(G,V):k.call(G)},kt=function(a){return Vr(a),a.scrollTrigger&&a.scrollTrigger.kill(!1),a.progress()<1&&ht(a,"onInterrupt"),a},Si,gn=function(a){a=!a.name&&a.default||a;var c=a.name,m=un(a),b=c&&!m&&a.init?function(){this._props=[]}:a,k={init:io,render:ha,add:_o,kill:ko,modifier:Ts,rawVars:0},V={targetTest:0,get:0,getSetter:wo,aliases:{},register:0};if(zr(),a!==b){if(ye[c])return;bt(b,bt(rn(a,k),V)),Dt(b.prototype,Dt(k,rn(a,V))),ye[b.prop=c]=b,a.targetTest&&(Lt.push(b),Ca[c]=1),c=(c==="css"?"CSS":c.charAt(0).toUpperCase()+c.substr(1))+"Plugin"}to(c,b),a.register&&a.register(xr,b,Zn)},vi=255,Pr={aqua:[0,vi,vi],lime:[0,vi,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,vi],navy:[0,0,128],white:[vi,vi,vi],olive:[128,128,0],yellow:[vi,vi,0],orange:[vi,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[vi,0,0],pink:[vi,192,203],cyan:[0,vi,vi],transparent:[vi,vi,vi,0]},Or=function(a,c,m){return a+=a<0?1:a>1?-1:0,(a*6<1?c+(m-c)*a*6:a<.5?m:a*3<2?c+(m-c)*(2/3-a)*6:c)*vi+.5|0},Gr=function(a,c,m){var b=a?er(a)?[a>>16,a>>8&vi,a&vi]:0:Pr.black,k,V,G,ve,je,Me,Xe,_t,dt,Mt;if(!b){if(a.substr(-1)===","&&(a=a.substr(0,a.length-1)),Pr[a])b=Pr[a];else if(a.charAt(0)==="#"){if(a.length<6&&(k=a.charAt(1),V=a.charAt(2),G=a.charAt(3),a="#"+k+k+V+V+G+G+(a.length===5?a.charAt(4)+a.charAt(4):"")),a.length===9)return b=parseInt(a.substr(1,6),16),[b>>16,b>>8&vi,b&vi,parseInt(a.substr(7),16)/255];a=parseInt(a.substr(1),16),b=[a>>16,a>>8&vi,a&vi]}else if(a.substr(0,3)==="hsl"){if(b=Mt=a.match(ai),!c)ve=+b[0]%360/360,je=+b[1]/100,Me=+b[2]/100,V=Me<=.5?Me*(je+1):Me+je-Me*je,k=Me*2-V,b.length>3&&(b[3]*=1),b[0]=Or(ve+1/3,k,V),b[1]=Or(ve,k,V),b[2]=Or(ve-1/3,k,V);else if(~a.indexOf("="))return b=a.match(Di),m&&b.length<4&&(b[3]=1),b}else b=a.match(ai)||Pr.transparent;b=b.map(Number)}return c&&!Mt&&(k=b[0]/vi,V=b[1]/vi,G=b[2]/vi,Xe=Math.max(k,V,G),_t=Math.min(k,V,G),Me=(Xe+_t)/2,Xe===_t?ve=je=0:(dt=Xe-_t,je=Me>.5?dt/(2-Xe-_t):dt/(Xe+_t),ve=Xe===k?(V-G)/dt+(V<G?6:0):Xe===V?(G-k)/dt+2:(k-V)/dt+4,ve*=60),b[0]=~~(ve+.5),b[1]=~~(je*100+.5),b[2]=~~(Me*100+.5)),m&&b.length<4&&(b[3]=1),b},nr=function(a){var c=[],m=[],b=-1;return a.split(Dr).forEach(function(k){var V=k.match(hn)||[];c.push.apply(c,V),m.push(b+=V.length+1)}),c.c=m,c},_n=function(a,c,m){var b="",k=(a+b).match(Dr),V=c?"hsla(":"rgba(",G=0,ve,je,Me,Xe;if(!k)return a;if(k=k.map(function(_t){return(_t=Gr(_t,c,1))&&V+(c?_t[0]+","+_t[1]+"%,"+_t[2]+"%,"+_t[3]:_t.join(","))+")"}),m&&(Me=nr(a),ve=m.c,ve.join(b)!==Me.c.join(b)))for(je=a.replace(Dr,"1").split(hn),Xe=je.length-1;G<Xe;G++)b+=je[G]+(~ve.indexOf(G)?k.shift()||V+"0,0,0,0)":(Me.length?Me:k.length?k:m).shift());if(!je)for(je=a.split(Dr),Xe=je.length-1;G<Xe;G++)b+=je[G]+k[G];return b+je[Xe]},Dr=function(){var Y="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",a;for(a in Pr)Y+="|"+a+"\\b";return new RegExp(Y+")","gi")}(),$n=/hsl[a]?\(/,Tr=function(a){var c=a.join(" "),m;if(Dr.lastIndex=0,Dr.test(c))return m=$n.test(c),a[1]=_n(a[1],m),a[0]=_n(a[0],m,nr(a[1])),!0},Xa,Zr=function(){var Y=Date.now,a=500,c=33,m=Y(),b=m,k=1e3/240,V=k,G=[],ve,je,Me,Xe,_t,dt,Mt=function Qe(Bt){var Ht=Y()-b,si=Bt===!0,li,ci,ni,wi;if(Ht>a&&(m+=Ht-c),b+=Ht,ni=b-m,li=ni-V,(li>0||si)&&(wi=++Xe.frame,_t=ni-Xe.time*1e3,Xe.time=ni=ni/1e3,V+=li+(li>=k?4:k-li),ci=1),si||(ve=je(Qe)),ci)for(dt=0;dt<G.length;dt++)G[dt](ni,_t,wi,Bt)};return Xe={time:0,frame:0,tick:function(){Mt(!0)},deltaRatio:function(Bt){return _t/(1e3/(Bt||60))},wake:function(){ir&&(!wr&&fr()&&(Un=wr=window,hr=Un.document||{},gr.gsap=xr,(Un.gsapVersions||(Un.gsapVersions=[])).push(xr.version),Ma(lr||Un.GreenSockGlobals||!Un.gsap&&Un||{}),Me=Un.requestAnimationFrame),ve&&Xe.sleep(),je=Me||function(Bt){return setTimeout(Bt,V-Xe.time*1e3+1|0)},Xa=1,Mt(2))},sleep:function(){(Me?Un.cancelAnimationFrame:clearTimeout)(ve),Xa=0,je=io},lagSmoothing:function(Bt,Ht){a=Bt||1/Ei,c=Math.min(Ht,a,0)},fps:function(Bt){k=1e3/(Bt||240),V=Xe.time*1e3+k},add:function(Bt,Ht,si){var li=Ht?function(ci,ni,wi,Ii){Bt(ci,ni,wi,Ii),Xe.remove(li)}:Bt;return Xe.remove(Bt),G[si?"unshift":"push"](li),zr(),li},remove:function(Bt,Ht){~(Ht=G.indexOf(Bt))&&G.splice(Ht,1)&&dt>=Ht&&dt--},_listeners:G},Xe}(),zr=function(){return!Xa&&Zr.wake()},Mn={},bo=/^[\d.\-M][\d.\-,\s]/,ja=/["']/g,Ja=function(a){for(var c={},m=a.substr(1,a.length-3).split(":"),b=m[0],k=1,V=m.length,G,ve,je;k<V;k++)ve=m[k],G=k!==V-1?ve.lastIndexOf(","):ve.length,je=ve.substr(0,G),c[b]=isNaN(je)?je.replace(ja,"").trim():+je,b=ve.substr(G+1).trim();return c},fa=function(a){var c=a.indexOf("(")+1,m=a.indexOf(")"),b=a.indexOf("(",c);return a.substring(c,~b&&b<m?a.indexOf(")",m+1):m)},Ua=function(a){var c=(a+"").split("("),m=Mn[c[0]];return m&&c.length>1&&m.config?m.config.apply(null,~a.indexOf("{")?[Ja(c[1])]:fa(a).split(",").map(Se)):Mn._CE&&bo.test(a)?Mn._CE("",a):m},ms=function(a){return function(c){return 1-a(1-c)}},Ha=function Y(a,c){for(var m=a._first,b;m;)m instanceof ea?Y(m,c):m.vars.yoyoEase&&(!m._yoyo||!m._repeat)&&m._yoyo!==c&&(m.timeline?Y(m.timeline,c):(b=m._ease,m._ease=m._yEase,m._yEase=b,m._yoyo=c)),m=m._next},Aa=function(a,c){return a&&(un(a)?a:Mn[a]||Ua(a))||c},Bn=function(a,c,m,b){m===void 0&&(m=function(ve){return 1-c(1-ve)}),b===void 0&&(b=function(ve){return ve<.5?c(ve*2)/2:1-c((1-ve)*2)/2});var k={easeIn:c,easeOut:m,easeInOut:b},V;return Ri(a,function(G){Mn[G]=gr[G]=k,Mn[V=G.toLowerCase()]=m;for(var ve in k)Mn[V+(ve==="easeIn"?".in":ve==="easeOut"?".out":".inOut")]=Mn[G+"."+ve]=k[ve]}),k},Qa=function(a){return function(c){return c<.5?(1-a(1-c*2))/2:.5+a((c-.5)*2)/2}},Pa=function Y(a,c,m){var b=c>=1?c:1,k=(m||(a?.3:.45))/(c<1?c:1),V=k/Kn*(Math.asin(1/b)||0),G=function(Me){return Me===1?1:b*Math.pow(2,-10*Me)*tn((Me-V)*k)+1},ve=a==="out"?G:a==="in"?function(je){return 1-G(1-je)}:Qa(G);return k=Kn/k,ve.config=function(je,Me){return Y(a,je,Me)},ve},ao=function Y(a,c){c===void 0&&(c=1.70158);var m=function(V){return V?--V*V*((c+1)*V+c)+1:0},b=a==="out"?m:a==="in"?function(k){return 1-m(1-k)}:Qa(m);return b.config=function(k){return Y(a,k)},b};Ri("Linear,Quad,Cubic,Quart,Quint,Strong",function(Y,a){var c=a<5?a+1:a;Bn(Y+",Power"+(c-1),a?function(m){return Math.pow(m,c)}:function(m){return m},function(m){return 1-Math.pow(1-m,c)},function(m){return m<.5?Math.pow(m*2,c)/2:1-Math.pow((1-m)*2,c)/2})}),Mn.Linear.easeNone=Mn.none=Mn.Linear.easeIn,Bn("Elastic",Pa("in"),Pa("out"),Pa()),function(Y,a){var c=1/a,m=2*c,b=2.5*c,k=function(G){return G<c?Y*G*G:G<m?Y*Math.pow(G-1.5/a,2)+.75:G<b?Y*(G-=2.25/a)*G+.9375:Y*Math.pow(G-2.625/a,2)+.984375};Bn("Bounce",function(V){return 1-k(1-V)},k)}(7.5625,2.75),Bn("Expo",function(Y){return Y?Math.pow(2,10*(Y-1)):0}),Bn("Circ",function(Y){return-(Rn(1-Y*Y)-1)}),Bn("Sine",function(Y){return Y===1?1:-qi(Y*Yn)+1}),Bn("Back",ao("in"),ao("out"),ao()),Mn.SteppedEase=Mn.steps=gr.SteppedEase={config:function(a,c){a===void 0&&(a=1);var m=1/a,b=a+(c?0:1),k=c?1:0,V=1-Ei;return function(G){return((b*Va(0,V,G)|0)+k)*m}}},Cn.ease=Mn["quad.out"],Ri("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(Y){return Jt+=Y+","+Y+"Params,"});var Ko=function(a,c){this.id=ar++,a._gsap=this,this.target=a,this.harness=c,this.get=c?c.get:Oi,this.set=c?c.getSetter:wo},Fa=function(){function Y(c){this.vars=c,this._delay=+c.delay||0,(this._repeat=c.repeat===1/0?-2:c.repeat||0)&&(this._rDelay=c.repeatDelay||0,this._yoyo=!!c.yoyo||!!c.yoyoEase),this._ts=1,no(this,+c.duration,1,1),this.data=c.data,Xa||Zr.wake()}var a=Y.prototype;return a.delay=function(m){return m||m===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+m-this._delay),this._delay=m,this):this._delay},a.duration=function(m){return arguments.length?this.totalDuration(this._repeat>0?m+(m+this._rDelay)*this._repeat:m):this.totalDuration()&&this._dur},a.totalDuration=function(m){return arguments.length?(this._dirty=0,no(this,this._repeat<0?m:(m-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},a.totalTime=function(m,b){if(zr(),!arguments.length)return this._tTime;var k=this._dp;if(k&&k.smoothChildTiming&&this._ts){for(No(this,m),!k._dp||k.parent||Ho(k,this);k&&k.parent;)k.parent._time!==k._start+(k._ts>=0?k._tTime/k._ts:(k.totalDuration()-k._tTime)/-k._ts)&&k.totalTime(k._tTime,!0),k=k.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&m<this._tDur||this._ts<0&&m>0||!this._tDur&&!m)&&Ea(this._dp,this,this._start-this._delay)}return(this._tTime!==m||!this._dur&&!b||this._initted&&Math.abs(this._zTime)===Ei||!m&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=m),ca(this,m,b)),this},a.time=function(m,b){return arguments.length?this.totalTime(Math.min(this.totalDuration(),m+go(this))%(this._dur+this._rDelay)||(m?this._dur:0),b):this._time},a.totalProgress=function(m,b){return arguments.length?this.totalTime(this.totalDuration()*m,b):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},a.progress=function(m,b){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-m:m)+go(this),b):this.duration()?Math.min(1,this._time/this._dur):this.ratio},a.iteration=function(m,b){var k=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(m-1)*k,b):this._repeat?wa(this._tTime,k)+1:1},a.timeScale=function(m){if(!arguments.length)return this._rts===-Ei?0:this._rts;if(this._rts===m)return this;var b=this.parent&&this._ts?Co(this.parent._time,this):this._tTime;return this._rts=+m||0,this._ts=this._ps||m===-Ei?0:this._rts,this.totalTime(Va(-this._delay,this._tDur,b),!0),To(this),cr(this)},a.paused=function(m){return arguments.length?(this._ps!==m&&(this._ps=m,m?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(zr(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==Ei&&(this._tTime-=Ei)))),this):this._ps},a.startTime=function(m){if(arguments.length){this._start=m;var b=this.parent||this._dp;return b&&(b._sort||!this.parent)&&Ea(b,this,m-this._delay),this}return this._start},a.endTime=function(m){return this._start+(mr(m)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},a.rawTime=function(m){var b=this.parent||this._dp;return b?m&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Co(b.rawTime(m),this):this._tTime:this._tTime},a.globalTime=function(m){for(var b=this,k=arguments.length?m:b.rawTime();b;)k=b._start+k/(b._ts||1),b=b._dp;return k},a.repeat=function(m){return arguments.length?(this._repeat=m===1/0?-2:m,$o(this)):this._repeat===-2?1/0:this._repeat},a.repeatDelay=function(m){if(arguments.length){var b=this._time;return this._rDelay=m,$o(this),b?this.time(b):this}return this._rDelay},a.yoyo=function(m){return arguments.length?(this._yoyo=m,this):this._yoyo},a.seek=function(m,b){return this.totalTime(ka(this,m),mr(b))},a.restart=function(m,b){return this.play().totalTime(m?-this._delay:0,mr(b))},a.play=function(m,b){return m!=null&&this.seek(m,b),this.reversed(!1).paused(!1)},a.reverse=function(m,b){return m!=null&&this.seek(m||this.totalDuration(),b),this.reversed(!0).paused(!1)},a.pause=function(m,b){return m!=null&&this.seek(m,b),this.paused(!0)},a.resume=function(){return this.paused(!1)},a.reversed=function(m){return arguments.length?(!!m!==this.reversed()&&this.timeScale(-this._rts||(m?-Ei:0)),this):this._rts<0},a.invalidate=function(){return this._initted=this._act=0,this._zTime=-Ei,this},a.isActive=function(){var m=this.parent||this._dp,b=this._start,k;return!!(!m||this._ts&&this._initted&&m.isActive()&&(k=m.rawTime(!0))>=b&&k<this.endTime(!0)-Ei)},a.eventCallback=function(m,b,k){var V=this.vars;return arguments.length>1?(b?(V[m]=b,k&&(V[m+"Params"]=k),m==="onUpdate"&&(this._onUpdate=b)):delete V[m],this):V[m]},a.then=function(m){var b=this;return new Promise(function(k){var V=un(m)?m:Je,G=function(){var je=b.then;b.then=null,un(V)&&(V=V(b))&&(V.then||V===b)&&(b.then=je),k(V),b.then=je};b._initted&&b.totalProgress()===1&&b._ts>=0||!b._tTime&&b._ts<0?G():b._prom=G})},a.kill=function(){kt(this)},Y}();bt(Fa.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-Ei,_prom:0,_ps:!1,_rts:1});var ea=function(Y){Hi(a,Y);function a(m,b){var k;return m===void 0&&(m={}),k=Y.call(this,m)||this,k.labels={},k.smoothChildTiming=!!m.smoothChildTiming,k.autoRemoveChildren=!!m.autoRemoveChildren,k._sort=mr(m.sortChildren),Qi&&Ea(m.parent||Qi,Ct(k),b),m.reversed&&k.reverse(),m.paused&&k.paused(!0),m.scrollTrigger&&xs(Ct(k),m.scrollTrigger),k}var c=a.prototype;return c.to=function(b,k,V){return yo(0,arguments,this),this},c.from=function(b,k,V){return yo(1,arguments,this),this},c.fromTo=function(b,k,V,G){return yo(2,arguments,this),this},c.set=function(b,k,V){return k.duration=0,k.parent=this,Ai(k).repeatDelay||(k.repeat=0),k.immediateRender=!!k.immediateRender,new Hr(b,k,ka(this,V),1),this},c.call=function(b,k,V){return Ea(this,Hr.delayedCall(0,b,k),V)},c.staggerTo=function(b,k,V,G,ve,je,Me){return V.duration=k,V.stagger=V.stagger||G,V.onComplete=je,V.onCompleteParams=Me,V.parent=this,new Hr(b,V,ka(this,ve)),this},c.staggerFrom=function(b,k,V,G,ve,je,Me){return V.runBackwards=1,Ai(V).immediateRender=mr(V.immediateRender),this.staggerTo(b,k,V,G,ve,je,Me)},c.staggerFromTo=function(b,k,V,G,ve,je,Me,Xe){return G.startAt=V,Ai(G).immediateRender=mr(G.immediateRender),this.staggerTo(b,k,G,ve,je,Me,Xe)},c.render=function(b,k,V){var G=this._time,ve=this._dirty?this.totalDuration():this._tDur,je=this._dur,Me=b<=0?0:On(b),Xe=this._zTime<0!=b<0&&(this._initted||!je),_t,dt,Mt,Qe,Bt,Ht,si,li,ci,ni,wi,Ii;if(this!==Qi&&Me>ve&&b>=0&&(Me=ve),Me!==this._tTime||V||Xe){if(G!==this._time&&je&&(Me+=this._time-G,b+=this._time-G),_t=Me,ci=this._start,li=this._ts,Ht=!li,Xe&&(je||(G=this._zTime),(b||!k)&&(this._zTime=b)),this._repeat){if(wi=this._yoyo,Bt=je+this._rDelay,this._repeat<-1&&b<0)return this.totalTime(Bt*100+b,k,V);if(_t=On(Me%Bt),Me===ve?(Qe=this._repeat,_t=je):(Qe=~~(Me/Bt),Qe&&Qe===Me/Bt&&(_t=je,Qe--),_t>je&&(_t=je)),ni=wa(this._tTime,Bt),!G&&this._tTime&&ni!==Qe&&(ni=Qe),wi&&Qe&1&&(_t=je-_t,Ii=1),Qe!==ni&&!this._lock){var Ti=wi&&ni&1,xi=Ti===(wi&&Qe&1);if(Qe<ni&&(Ti=!Ti),G=Ti?0:je,this._lock=1,this.render(G||(Ii?0:On(Qe*Bt)),k,!je)._lock=0,this._tTime=Me,!k&&this.parent&&ht(this,"onRepeat"),this.vars.repeatRefresh&&!Ii&&(this.invalidate()._lock=1),G&&G!==this._time||Ht!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(je=this._dur,ve=this._tDur,xi&&(this._lock=2,G=Ti?je:-1e-4,this.render(G,!0),this.vars.repeatRefresh&&!Ii&&this.invalidate()),this._lock=0,!this._ts&&!Ht)return this;Ha(this,Ii)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(si=Lo(this,On(G),On(_t)),si&&(Me-=_t-(_t=si._start))),this._tTime=Me,this._time=_t,this._act=!li,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=b,G=0),!G&&_t&&!k&&(ht(this,"onStart"),this._tTime!==Me))return this;if(_t>=G&&b>=0)for(dt=this._first;dt;){if(Mt=dt._next,(dt._act||_t>=dt._start)&&dt._ts&&si!==dt){if(dt.parent!==this)return this.render(b,k,V);if(dt.render(dt._ts>0?(_t-dt._start)*dt._ts:(dt._dirty?dt.totalDuration():dt._tDur)+(_t-dt._start)*dt._ts,k,V),_t!==this._time||!this._ts&&!Ht){si=0,Mt&&(Me+=this._zTime=-Ei);break}}dt=Mt}else{dt=this._last;for(var sr=b<0?b:_t;dt;){if(Mt=dt._prev,(dt._act||sr<=dt._end)&&dt._ts&&si!==dt){if(dt.parent!==this)return this.render(b,k,V);if(dt.render(dt._ts>0?(sr-dt._start)*dt._ts:(dt._dirty?dt.totalDuration():dt._tDur)+(sr-dt._start)*dt._ts,k,V),_t!==this._time||!this._ts&&!Ht){si=0,Mt&&(Me+=this._zTime=sr?-Ei:Ei);break}}dt=Mt}}if(si&&!k&&(this.pause(),si.render(_t>=G?0:-Ei)._zTime=_t>=G?1:-1,this._ts))return this._start=ci,To(this),this.render(b,k,V);this._onUpdate&&!k&&ht(this,"onUpdate",!0),(Me===ve&&this._tTime>=this.totalDuration()||!Me&&G)&&(ci===this._start||Math.abs(li)!==Math.abs(this._ts))&&(this._lock||((b||!je)&&(Me===ve&&this._ts>0||!Me&&this._ts<0)&&Vr(this,1),!k&&!(b<0&&!G)&&(Me||G||!ve)&&(ht(this,Me===ve&&b>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(Me<ve&&this.timeScale()>0)&&this._prom())))}return this},c.add=function(b,k){var V=this;if(er(k)||(k=ka(this,k,b)),!(b instanceof Fa)){if(Vt(b))return b.forEach(function(G){return V.add(G,k)}),this;if(Xi(b))return this.addLabel(b,k);if(un(b))b=Hr.delayedCall(0,b);else return this}return this!==b?Ea(this,b,k):this},c.getChildren=function(b,k,V,G){b===void 0&&(b=!0),k===void 0&&(k=!0),V===void 0&&(V=!0),G===void 0&&(G=-Pn);for(var ve=[],je=this._first;je;)je._start>=G&&(je instanceof Hr?k&&ve.push(je):(V&&ve.push(je),b&&ve.push.apply(ve,je.getChildren(!0,k,V)))),je=je._next;return ve},c.getById=function(b){for(var k=this.getChildren(1,1,1),V=k.length;V--;)if(k[V].vars.id===b)return k[V]},c.remove=function(b){return Xi(b)?this.removeLabel(b):un(b)?this.killTweensOf(b):(Ar(this,b),b===this._recent&&(this._recent=this._last),$i(this))},c.totalTime=function(b,k){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=On(Zr.time-(this._ts>0?b/this._ts:(this.totalDuration()-b)/-this._ts))),Y.prototype.totalTime.call(this,b,k),this._forcing=0,this):this._tTime},c.addLabel=function(b,k){return this.labels[b]=ka(this,k),this},c.removeLabel=function(b){return delete this.labels[b],this},c.addPause=function(b,k,V){var G=Hr.delayedCall(0,k||io,V);return G.data="isPause",this._hasPause=1,Ea(this,G,ka(this,b))},c.removePause=function(b){var k=this._first;for(b=ka(this,b);k;)k._start===b&&k.data==="isPause"&&Vr(k),k=k._next},c.killTweensOf=function(b,k,V){for(var G=this.getTweensOf(b,V),ve=G.length;ve--;)Ur!==G[ve]&&G[ve].kill(b,k);return this},c.getTweensOf=function(b,k){for(var V=[],G=Yr(b),ve=this._first,je=er(k),Me;ve;)ve instanceof Hr?Ta(ve._targets,G)&&(je?(!Ur||ve._initted&&ve._ts)&&ve.globalTime(0)<=k&&ve.globalTime(ve.totalDuration())>k:!k||ve.isActive())&&V.push(ve):(Me=ve.getTweensOf(G,k)).length&&V.push.apply(V,Me),ve=ve._next;return V},c.tweenTo=function(b,k){k=k||{};var V=this,G=ka(V,b),ve=k,je=ve.startAt,Me=ve.onStart,Xe=ve.onStartParams,_t=ve.immediateRender,dt,Mt=Hr.to(V,bt({ease:k.ease||"none",lazy:!1,immediateRender:!1,time:G,overwrite:"auto",duration:k.duration||Math.abs((G-(je&&"time"in je?je.time:V._time))/V.timeScale())||Ei,onStart:function(){if(V.pause(),!dt){var Bt=k.duration||Math.abs((G-(je&&"time"in je?je.time:V._time))/V.timeScale());Mt._dur!==Bt&&no(Mt,Bt,0,1).render(Mt._time,!0,!0),dt=1}Me&&Me.apply(Mt,Xe||[])}},k));return _t?Mt.render(0):Mt},c.tweenFromTo=function(b,k,V){return this.tweenTo(k,bt({startAt:{time:ka(this,b)}},V))},c.recent=function(){return this._recent},c.nextLabel=function(b){return b===void 0&&(b=this._time),Gt(this,ka(this,b))},c.previousLabel=function(b){return b===void 0&&(b=this._time),Gt(this,ka(this,b),1)},c.currentLabel=function(b){return arguments.length?this.seek(b,!0):this.previousLabel(this._time+Ei)},c.shiftChildren=function(b,k,V){V===void 0&&(V=0);for(var G=this._first,ve=this.labels,je;G;)G._start>=V&&(G._start+=b,G._end+=b),G=G._next;if(k)for(je in ve)ve[je]>=V&&(ve[je]+=b);return $i(this)},c.invalidate=function(){var b=this._first;for(this._lock=0;b;)b.invalidate(),b=b._next;return Y.prototype.invalidate.call(this)},c.clear=function(b){b===void 0&&(b=!0);for(var k=this._first,V;k;)V=k._next,this.remove(k),k=V;return this._dp&&(this._time=this._tTime=this._pTime=0),b&&(this.labels={}),$i(this)},c.totalDuration=function(b){var k=0,V=this,G=V._last,ve=Pn,je,Me,Xe;if(arguments.length)return V.timeScale((V._repeat<0?V.duration():V.totalDuration())/(V.reversed()?-b:b));if(V._dirty){for(Xe=V.parent;G;)je=G._prev,G._dirty&&G.totalDuration(),Me=G._start,Me>ve&&V._sort&&G._ts&&!V._lock?(V._lock=1,Ea(V,G,Me-G._delay,1)._lock=0):ve=Me,Me<0&&G._ts&&(k-=Me,(!Xe&&!V._dp||Xe&&Xe.smoothChildTiming)&&(V._start+=Me/V._ts,V._time-=Me,V._tTime-=Me),V.shiftChildren(-Me,!1,-1/0),ve=0),G._end>k&&G._ts&&(k=G._end),G=je;no(V,V===Qi&&V._time>k?V._time:k,1,1),V._dirty=0}return V._tDur},a.updateRoot=function(b){if(Qi._ts&&(ca(Qi,Co(b,Qi)),ie=Zr.frame),Zr.frame>=lt){lt+=Fi.autoSleep||120;var k=Qi._first;if((!k||!k._ts)&&Fi.autoSleep&&Zr._listeners.length<2){for(;k&&!k._ts;)k=k._next;k||Zr.sleep()}}},a}(Fa);bt(ea.prototype,{_lock:0,_hasPause:0,_forcing:0});var ls=function(a,c,m,b,k,V,G){var ve=new Zn(this._pt,a,c,0,1,jo,null,k),je=0,Me=0,Xe,_t,dt,Mt,Qe,Bt,Ht,si;for(ve.b=m,ve.e=b,m+="",b+="",(Ht=~b.indexOf("random("))&&(b=Ne(b)),V&&(si=[m,b],V(si,a,c),m=si[0],b=si[1]),_t=m.match(En)||[];Xe=En.exec(b);)Mt=Xe[0],Qe=b.substring(je,Xe.index),dt?dt=(dt+1)%5:Qe.substr(-5)==="rgba("&&(dt=1),Mt!==_t[Me++]&&(Bt=parseFloat(_t[Me-1])||0,ve._pt={_next:ve._pt,p:Qe||Me===1?Qe:",",s:Bt,c:Mt.charAt(1)==="="?or(Bt,Mt)-Bt:parseFloat(Mt)-Bt,m:dt&&dt<4?Math.round:0},je=En.lastIndex);return ve.c=je<b.length?b.substring(je,b.length):"",ve.fp=G,(In.test(b)||Ht)&&(ve.e=0),this._pt=ve,ve},_o=function(a,c,m,b,k,V,G,ve,je){un(b)&&(b=b(k||0,a,V));var Me=a[c],Xe=m!=="get"?m:un(Me)?je?a[c.indexOf("set")||!un(a["get"+c.substr(3)])?c:"get"+c.substr(3)](je):a[c]():Me,_t=un(Me)?je?Za:Go:Oo,dt;if(Xi(b)&&(~b.indexOf("random(")&&(b=Ne(b)),b.charAt(1)==="="&&(dt=or(Xe,b)+(Gn(Xe)||0),(dt||dt===0)&&(b=dt))),Xe!==b||Yo)return!isNaN(Xe*b)&&b!==""?(dt=new Zn(this._pt,a,c,+Xe||0,b-(Xe||0),typeof Me=="boolean"?Wr:La,0,_t),je&&(dt.fp=je),G&&dt.modifier(G,this,a),this._pt=dt):(!Me&&!(c in a)&&jr(c,b),ls.call(this,a,c,Xe,b,_t,ve||Fi.stringFilter,je))},Na=function(a,c,m,b,k){if(un(a)&&(a=ta(a,k,c,m,b)),!Qn(a)||a.style&&a.nodeType||Vt(a)||mt(a))return Xi(a)?ta(a,k,c,m,b):a;var V={},G;for(G in a)V[G]=ta(a[G],k,c,m,b);return V},Bo=function(a,c,m,b,k,V){var G,ve,je,Me;if(ye[a]&&(G=new ye[a]).init(k,G.rawVars?c[a]:Na(c[a],b,k,V,m),m,b,V)!==!1&&(m._pt=ve=new Zn(m._pt,k,a,0,1,G.render,G,0,G.priority),m!==Si))for(je=m._ptLookup[m._targets.indexOf(k)],Me=G._props.length;Me--;)je[G._props[Me]]=ve;return G},Ur,Yo,Eo=function Y(a,c){var m=a.vars,b=m.ease,k=m.startAt,V=m.immediateRender,G=m.lazy,ve=m.onUpdate,je=m.onUpdateParams,Me=m.callbackScope,Xe=m.runBackwards,_t=m.yoyoEase,dt=m.keyframes,Mt=m.autoRevert,Qe=a._dur,Bt=a._startAt,Ht=a._targets,si=a.parent,li=si&&si.data==="nested"?si.parent._targets:Ht,ci=a._overwrite==="auto"&&!An,ni=a.timeline,wi,Ii,Ti,xi,sr,Sr,$r,Jr,Le,Ze,Et,Kt,Xt;if(ni&&(!dt||!b)&&(b="none"),a._ease=Aa(b,Cn.ease),a._yEase=_t?ms(Aa(_t===!0?b:_t,Cn.ease)):0,_t&&a._yoyo&&!a._repeat&&(_t=a._yEase,a._yEase=a._ease,a._ease=_t),a._from=!ni&&!!m.runBackwards,!ni||dt&&!m.stagger){if(Jr=Ht[0]?Ni(Ht[0]).harness:0,Kt=Jr&&m[Jr.prop],wi=rn(m,Ca),Bt&&(Vr(Bt.render(-1,!0)),Bt._lazy=0),k)if(Vr(a._startAt=Hr.set(Ht,bt({data:"isStart",overwrite:!1,parent:si,immediateRender:!0,lazy:mr(G),startAt:null,delay:0,onUpdate:ve,onUpdateParams:je,callbackScope:Me,stagger:0},k))),c<0&&!V&&!Mt&&a._startAt.render(-1,!0),V){if(c>0&&!Mt&&(a._startAt=0),Qe&&c<=0){c&&(a._zTime=c);return}}else Mt===!1&&(a._startAt=0);else if(Xe&&Qe){if(Bt)!Mt&&(a._startAt=0);else if(c&&(V=!1),Ti=bt({overwrite:!1,data:"isFromStart",lazy:V&&mr(G),immediateRender:V,stagger:0,parent:si},wi),Kt&&(Ti[Jr.prop]=Kt),Vr(a._startAt=Hr.set(Ht,Ti)),c<0&&a._startAt.render(-1,!0),a._zTime=c,!V)Y(a._startAt,Ei);else if(!c)return}for(a._pt=a._ptCache=0,G=Qe&&mr(G)||G&&!Qe,Ii=0;Ii<Ht.length;Ii++){if(sr=Ht[Ii],$r=sr._gsap||yi(Ht)[Ii]._gsap,a._ptLookup[Ii]=Ze={},pa[$r.id]&&Fr.length&&kr(),Et=li===Ht?Ii:li.indexOf(sr),Jr&&(Le=new Jr).init(sr,Kt||wi,a,Et,li)!==!1&&(a._pt=xi=new Zn(a._pt,sr,Le.name,0,1,Le.render,Le,0,Le.priority),Le._props.forEach(function(hi){Ze[hi]=xi}),Le.priority&&(Sr=1)),!Jr||Kt)for(Ti in wi)ye[Ti]&&(Le=Bo(Ti,wi,a,Et,sr,li))?Le.priority&&(Sr=1):Ze[Ti]=xi=_o.call(a,sr,Ti,"get",wi[Ti],Et,li,0,m.stringFilter);a._op&&a._op[Ii]&&a.kill(sr,a._op[Ii]),ci&&a._pt&&(Ur=a,Qi.killTweensOf(sr,Ze,a.globalTime(c)),Xt=!a.parent,Ur=0),a._pt&&G&&(pa[$r.id]=1)}Sr&&xo(a),a._onInit&&a._onInit(a)}a._onUpdate=ve,a._initted=(!a._op||a._pt)&&!Xt,dt&&c<=0&&ni.render(Pn,!0,!0)},$a=function(a,c,m,b,k,V,G){var ve=(a._pt&&a._ptCache||(a._ptCache={}))[c],je,Me,Xe;if(!ve)for(ve=a._ptCache[c]=[],Me=a._ptLookup,Xe=a._targets.length;Xe--;){if(je=Me[Xe][c],je&&je.d&&je.d._pt)for(je=je.d._pt;je&&je.p!==c;)je=je._next;if(!je)return Yo=1,a.vars[c]="+=0",Eo(a,G),Yo=0,1;ve.push(je)}for(Xe=ve.length;Xe--;)je=ve[Xe],je.s=(b||b===0)&&!k?b:je.s+(b||0)+V*je.c,je.c=m-je.s,je.e&&(je.e=Li(m)+Gn(je.e)),je.b&&(je.b=je.s+Gn(je.b))},oo=function(a,c){var m=a[0]?Ni(a[0]).harness:0,b=m&&m.aliases,k,V,G,ve;if(!b)return c;k=Dt({},c);for(V in b)if(V in k)for(ve=b[V].split(","),G=ve.length;G--;)k[ve[G]]=k[V];return k},Ps=function(a,c,m,b){var k=c.ease||b||"power1.inOut",V,G;if(Vt(c))G=m[a]||(m[a]=[]),c.forEach(function(ve,je){return G.push({t:je/(c.length-1)*100,v:ve,e:k})});else for(V in c)G=m[V]||(m[V]=[]),V==="ease"||G.push({t:parseFloat(a),v:c[V],e:k})},ta=function(a,c,m,b,k){return un(a)?a.call(c,m,b,k):Xi(a)&&~a.indexOf("random(")?Ne(a):a},Da=Jt+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",vr={};Ri(Da+",id,stagger,delay,duration,paused,scrollTrigger",function(Y){return vr[Y]=1});var Hr=function(Y){Hi(a,Y);function a(m,b,k,V){var G;typeof b=="number"&&(k.duration=b,b=k,k=null),G=Y.call(this,V?b:Ai(b))||this;var ve=G.vars,je=ve.duration,Me=ve.delay,Xe=ve.immediateRender,_t=ve.stagger,dt=ve.overwrite,Mt=ve.keyframes,Qe=ve.defaults,Bt=ve.scrollTrigger,Ht=ve.yoyoEase,si=b.parent||Qi,li=(Vt(m)||mt(m)?er(m[0]):"length"in b)?[m]:Yr(m),ci,ni,wi,Ii,Ti,xi,sr,Sr;if(G._targets=li.length?yi(li):la("GSAP target "+m+" not found. https://greensock.com",!Fi.nullTargetWarn)||[],G._ptLookup=[],G._overwrite=dt,Mt||_t||_a(je)||_a(Me)){if(b=G.vars,ci=G.timeline=new ea({data:"nested",defaults:Qe||{}}),ci.kill(),ci.parent=ci._dp=Ct(G),ci._start=0,_t||_a(je)||_a(Me)){if(Ii=li.length,sr=_t&&Cs(_t),Qn(_t))for(Ti in _t)~Da.indexOf(Ti)&&(Sr||(Sr={}),Sr[Ti]=_t[Ti]);for(ni=0;ni<Ii;ni++)wi=rn(b,vr),wi.stagger=0,Ht&&(wi.yoyoEase=Ht),Sr&&Dt(wi,Sr),xi=li[ni],wi.duration=+ta(je,Ct(G),ni,xi,li),wi.delay=(+ta(Me,Ct(G),ni,xi,li)||0)-G._delay,!_t&&Ii===1&&wi.delay&&(G._delay=Me=wi.delay,G._start+=Me,wi.delay=0),ci.to(xi,wi,sr?sr(ni,xi,li):0),ci._ease=Mn.none;ci.duration()?je=Me=0:G.timeline=0}else if(Mt){Ai(bt(ci.vars.defaults,{ease:"none"})),ci._ease=Aa(Mt.ease||b.ease||"none");var $r=0,Jr,Le,Ze;if(Vt(Mt))Mt.forEach(function(Et){return ci.to(li,Et,">")});else{wi={};for(Ti in Mt)Ti==="ease"||Ti==="easeEach"||Ps(Ti,Mt[Ti],wi,Mt.easeEach);for(Ti in wi)for(Jr=wi[Ti].sort(function(Et,Kt){return Et.t-Kt.t}),$r=0,ni=0;ni<Jr.length;ni++)Le=Jr[ni],Ze={ease:Le.e,duration:(Le.t-(ni?Jr[ni-1].t:0))/100*je},Ze[Ti]=Le.v,ci.to(li,Ze,$r),$r+=Ze.duration;ci.duration()<je&&ci.to({},{duration:je-ci.duration()})}}je||G.duration(je=ci.duration())}else G.timeline=0;return dt===!0&&!An&&(Ur=Ct(G),Qi.killTweensOf(li),Ur=0),Ea(si,Ct(G),k),b.reversed&&G.reverse(),b.paused&&G.paused(!0),(Xe||!je&&!Mt&&G._start===On(si._time)&&mr(Xe)&&ua(Ct(G))&&si.data!=="nested")&&(G._tTime=-Ei,G.render(Math.max(0,-Me))),Bt&&xs(Ct(G),Bt),G}var c=a.prototype;return c.render=function(b,k,V){var G=this._time,ve=this._tDur,je=this._dur,Me=b>ve-Ei&&b>=0?ve:b<Ei?0:b,Xe,_t,dt,Mt,Qe,Bt,Ht,si,li;if(!je)Oa(this,b,k,V);else if(Me!==this._tTime||!b||V||!this._initted&&this._tTime||this._startAt&&this._zTime<0!=b<0){if(Xe=Me,si=this.timeline,this._repeat){if(Mt=je+this._rDelay,this._repeat<-1&&b<0)return this.totalTime(Mt*100+b,k,V);if(Xe=On(Me%Mt),Me===ve?(dt=this._repeat,Xe=je):(dt=~~(Me/Mt),dt&&dt===Me/Mt&&(Xe=je,dt--),Xe>je&&(Xe=je)),Bt=this._yoyo&&dt&1,Bt&&(li=this._yEase,Xe=je-Xe),Qe=wa(this._tTime,Mt),Xe===G&&!V&&this._initted)return this._tTime=Me,this;dt!==Qe&&(si&&this._yEase&&Ha(si,Bt),this.vars.repeatRefresh&&!Bt&&!this._lock&&(this._lock=V=1,this.render(On(Mt*dt),!0).invalidate()._lock=0))}if(!this._initted){if(vo(this,b<0?b:Xe,V,k))return this._tTime=0,this;if(G!==this._time)return this;if(je!==this._dur)return this.render(b,k,V)}if(this._tTime=Me,this._time=Xe,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=Ht=(li||this._ease)(Xe/je),this._from&&(this.ratio=Ht=1-Ht),Xe&&!G&&!k&&(ht(this,"onStart"),this._tTime!==Me))return this;for(_t=this._pt;_t;)_t.r(Ht,_t.d),_t=_t._next;si&&si.render(b<0?b:!Xe&&Bt?-Ei:si._dur*si._ease(Xe/this._dur),k,V)||this._startAt&&(this._zTime=b),this._onUpdate&&!k&&(b<0&&this._startAt&&this._startAt.render(b,!0,V),ht(this,"onUpdate")),this._repeat&&dt!==Qe&&this.vars.onRepeat&&!k&&this.parent&&ht(this,"onRepeat"),(Me===this._tDur||!Me)&&this._tTime===Me&&(b<0&&this._startAt&&!this._onUpdate&&this._startAt.render(b,!0,!0),(b||!je)&&(Me===this._tDur&&this._ts>0||!Me&&this._ts<0)&&Vr(this,1),!k&&!(b<0&&!G)&&(Me||G)&&(ht(this,Me===ve?"onComplete":"onReverseComplete",!0),this._prom&&!(Me<ve&&this.timeScale()>0)&&this._prom()))}return this},c.targets=function(){return this._targets},c.invalidate=function(){return this._pt=this._op=this._startAt=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(),Y.prototype.invalidate.call(this)},c.resetTo=function(b,k,V,G){Xa||Zr.wake(),this._ts||this.play();var ve=Math.min(this._dur,(this._dp._time-this._start)*this._ts),je;return this._initted||Eo(this,ve),je=this._ease(ve/this._dur),$a(this,b,k,V,G,je,ve)?this.resetTo(b,k,V,G):(No(this,0),this.parent||Cr(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},c.kill=function(b,k){if(k===void 0&&(k="all"),!b&&(!k||k==="all"))return this._lazy=this._pt=0,this.parent?kt(this):this;if(this.timeline){var V=this.timeline.totalDuration();return this.timeline.killTweensOf(b,k,Ur&&Ur.vars.overwrite!==!0)._first||kt(this),this.parent&&V!==this.timeline.totalDuration()&&no(this,this._dur*this.timeline._tDur/V,0,1),this}var G=this._targets,ve=b?Yr(b):G,je=this._ptLookup,Me=this._pt,Xe,_t,dt,Mt,Qe,Bt,Ht;if((!k||k==="all")&&Qr(G,ve))return k==="all"&&(this._pt=0),kt(this);for(Xe=this._op=this._op||[],k!=="all"&&(Xi(k)&&(Qe={},Ri(k,function(si){return Qe[si]=1}),k=Qe),k=oo(G,k)),Ht=G.length;Ht--;)if(~ve.indexOf(G[Ht])){_t=je[Ht],k==="all"?(Xe[Ht]=k,Mt=_t,dt={}):(dt=Xe[Ht]=Xe[Ht]||{},Mt=k);for(Qe in Mt)Bt=_t&&_t[Qe],Bt&&((!("kill"in Bt.d)||Bt.d.kill(Qe)===!0)&&Ar(this,Bt,"_pt"),delete _t[Qe]),dt!=="all"&&(dt[Qe]=1)}return this._initted&&!this._pt&&Me&&kt(this),this},a.to=function(b,k){return new a(b,k,arguments[2])},a.from=function(b,k){return yo(1,arguments)},a.delayedCall=function(b,k,V,G){return new a(k,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:b,onComplete:k,onReverseComplete:k,onCompleteParams:V,onReverseCompleteParams:V,callbackScope:G})},a.fromTo=function(b,k,V){return yo(2,arguments)},a.set=function(b,k){return k.duration=0,k.repeatDelay||(k.repeat=0),new a(b,k)},a.killTweensOf=function(b,k,V){return Qi.killTweensOf(b,k,V)},a}(Fa);bt(Hr.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),Ri("staggerTo,staggerFrom,staggerFromTo",function(Y){Hr[Y]=function(){var a=new ea,c=Wo.call(arguments,0);return c.splice(Y==="staggerFromTo"?5:4,0,0),a[Y].apply(a,c)}});var Oo=function(a,c,m){return a[c]=m},Go=function(a,c,m){return a[c](m)},Za=function(a,c,m,b){return a[c](b.fp,m)},Xn=function(a,c,m){return a.setAttribute(c,m)},wo=function(a,c){return un(a[c])?Go:sa(a[c])&&a.setAttribute?Xn:Oo},La=function(a,c){return c.set(c.t,c.p,Math.round((c.s+c.c*a)*1e6)/1e6,c)},Wr=function(a,c){return c.set(c.t,c.p,!!(c.s+c.c*a),c)},jo=function(a,c){var m=c._pt,b="";if(!a&&c.b)b=c.b;else if(a===1&&c.e)b=c.e;else{for(;m;)b=m.p+(m.m?m.m(m.s+m.c*a):Math.round((m.s+m.c*a)*1e4)/1e4)+b,m=m._next;b+=c.c}c.set(c.t,c.p,b,c)},ha=function(a,c){for(var m=c._pt;m;)m.r(a,m.d),m=m._next},Ts=function(a,c,m,b){for(var k=this._pt,V;k;)V=k._next,k.p===b&&k.modifier(a,c,m),k=V},ko=function(a){for(var c=this._pt,m,b;c;)b=c._next,c.p===a&&!c.op||c.op===a?Ar(this,c,"_pt"):c.dep||(m=1),c=b;return!m},cs=function(a,c,m,b){b.mSet(a,c,b.m.call(b.tween,m,b.mt),b)},xo=function(a){for(var c=a._pt,m,b,k,V;c;){for(m=c._next,b=k;b&&b.pr>c.pr;)b=b._next;(c._prev=b?b._prev:V)?c._prev._next=c:k=c,(c._next=b)?b._prev=c:V=c,c=m}a._pt=k},Zn=function(){function Y(c,m,b,k,V,G,ve,je,Me){this.t=m,this.s=k,this.c=V,this.p=b,this.r=G||La,this.d=ve||this,this.set=je||Oo,this.pr=Me||0,this._next=c,c&&(c._prev=this)}var a=Y.prototype;return a.modifier=function(m,b,k){this.mSet=this.mSet||this.set,this.set=cs,this.m=m,this.mt=k,this.tween=b},Y}();Ri(Jt+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(Y){return Ca[Y]=1}),gr.TweenMax=gr.TweenLite=Hr,gr.TimelineLite=gr.TimelineMax=ea,Qi=new ea({sortChildren:!1,defaults:Cn,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),Fi.stringFilter=Tr;var za={registerPlugin:function(){for(var a=arguments.length,c=new Array(a),m=0;m<a;m++)c[m]=arguments[m];c.forEach(function(b){return gn(b)})},timeline:function(a){return new ea(a)},getTweensOf:function(a,c){return Qi.getTweensOf(a,c)},getProperty:function(a,c,m,b){Xi(a)&&(a=Yr(a)[0]);var k=Ni(a||{}).get,V=m?Je:Se;return m==="native"&&(m=""),a&&(c?V((ye[c]&&ye[c].get||k)(a,c,m,b)):function(G,ve,je){return V((ye[G]&&ye[G].get||k)(a,G,ve,je))})},quickSetter:function(a,c,m){if(a=Yr(a),a.length>1){var b=a.map(function(Me){return xr.quickSetter(Me,c,m)}),k=b.length;return function(Me){for(var Xe=k;Xe--;)b[Xe](Me)}}a=a[0]||{};var V=ye[c],G=Ni(a),ve=G.harness&&(G.harness.aliases||{})[c]||c,je=V?function(Me){var Xe=new V;Si._pt=0,Xe.init(a,m?Me+m:Me,Si,0,[a]),Xe.render(1,Xe),Si._pt&&ha(1,Si)}:G.set(a,ve);return V?je:function(Me){return je(a,ve,m?Me+m:Me,G,1)}},quickTo:function(a,c,m){var b,k=xr.to(a,Dt((b={},b[c]="+=0.1",b.paused=!0,b),m||{})),V=function(ve,je,Me){return k.resetTo(c,ve,je,Me)};return V.tween=k,V},isTweening:function(a){return Qi.getTweensOf(a,!0).length>0},defaults:function(a){return a&&a.ease&&(a.ease=Aa(a.ease,Cn.ease)),ki(Cn,a||{})},config:function(a){return ki(Fi,a||{})},registerEffect:function(a){var c=a.name,m=a.effect,b=a.plugins,k=a.defaults,V=a.extendTimeline;(b||"").split(",").forEach(function(G){return G&&!ye[G]&&!gr[G]&&la(c+" effect requires "+G+" plugin.")}),Be[c]=function(G,ve,je){return m(Yr(G),bt(ve||{},k),je)},V&&(ea.prototype[c]=function(G,ve,je){return this.add(Be[c](G,Qn(ve)?ve:(je=ve)&&{},this),je)})},registerEase:function(a,c){Mn[a]=Aa(c)},parseEase:function(a,c){return arguments.length?Aa(a,c):Mn},getById:function(a){return Qi.getById(a)},exportRoot:function(a,c){a===void 0&&(a={});var m=new ea(a),b,k;for(m.smoothChildTiming=mr(a.smoothChildTiming),Qi.remove(m),m._dp=0,m._time=m._tTime=Qi._time,b=Qi._first;b;)k=b._next,(c||!(!b._dur&&b instanceof Hr&&b.vars.onComplete===b._targets[0]))&&Ea(m,b,b._start-b._delay),b=k;return Ea(Qi,m,0),m},utils:{wrap:ue,wrapYoyo:qe,distribute:Cs,random:f,snap:r,normalize:W,getUnit:Gn,clamp:As,splitColor:Gr,toArray:Yr,selector:ps,mapRange:ft,pipe:w,unitize:P,interpolate:xt,shuffle:ss},install:Ma,effects:Be,ticker:Zr,updateRoot:ea.updateRoot,plugins:ye,globalTimeline:Qi,core:{PropTween:Zn,globals:to,Tween:Hr,Timeline:ea,Animation:Fa,getCache:Ni,_removeLinkedListItem:Ar,suppressOverwrites:function(a){return An=a}}};Ri("to,from,fromTo,delayedCall,set,killTweensOf",function(Y){return za[Y]=Hr[Y]}),Zr.add(ea.updateRoot),Si=za.to({},{duration:0});var Nr=function(a,c){for(var m=a._pt;m&&m.p!==c&&m.op!==c&&m.fp!==c;)m=m._next;return m},eo=function(a,c){var m=a._targets,b,k,V;for(b in c)for(k=m.length;k--;)V=a._ptLookup[k][b],V&&(V=V.d)&&(V._pt&&(V=Nr(V,b)),V&&V.modifier&&V.modifier(c[b],a,m[k],b))},Wa=function(a,c){return{name:a,rawVars:1,init:function(b,k,V){V._onInit=function(G){var ve,je;if(Xi(k)&&(ve={},Ri(k,function(Me){return ve[Me]=1}),k=ve),c){ve={};for(je in k)ve[je]=c(k[je]);k=ve}eo(G,k)}}}},xr=za.registerPlugin({name:"attr",init:function(a,c,m,b,k){var V,G;for(V in c)G=this.add(a,"setAttribute",(a.getAttribute(V)||0)+"",c[V],b,k,0,0,V),G&&(G.op=V),this._props.push(V)}},{name:"endArray",init:function(a,c){for(var m=c.length;m--;)this.add(a,m,a[m]||0,c[m])}},Wa("roundProps",qo),Wa("modifiers"),Wa("snap",r))||za;Hr.version=ea.version=xr.version="3.10.4",ir=1,fr()&&zr();var so=Mn.Power0,lo=Mn.Power1,co=Mn.Power2,Xo=Mn.Power3,_e=Mn.Power4,$e=Mn.Linear,it=Mn.Quad,Rt=Mn.Cubic,nt=Mn.Quart,Ut=Mn.Quint,Zt=Mn.Strong,bi=Mn.Elastic,ji=Mn.Back,fn=Mn.SteppedEase,sn=Mn.Bounce,Yi=Mn.Sine,Zi=Mn.Expo,dr=Mn.Circ;var ln,Ln,Lr,ia,Jn,uo,qr,pr=function(){return typeof window!="undefined"},Ao={},Vo=180/Math.PI,ga=Math.PI/180,Jo=Math.atan2,Js=1e8,Ds=/([A-Z])/g,Xr=/(left|right|width|margin|padding|x)/i,Qo=/[\s,\(]\S/,da={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},l=function(a,c){return c.set(c.t,c.p,Math.round((c.s+c.c*a)*1e4)/1e4+c.u,c)},x=function(a,c){return c.set(c.t,c.p,a===1?c.e:Math.round((c.s+c.c*a)*1e4)/1e4+c.u,c)},R=function(a,c){return c.set(c.t,c.p,a?Math.round((c.s+c.c*a)*1e4)/1e4+c.u:c.b,c)},re=function(a,c){var m=c.s+c.c*a;c.set(c.t,c.p,~~(m+(m<0?-.5:.5))+c.u,c)},Ce=function(a,c){return c.set(c.t,c.p,a?c.e:c.b,c)},Oe=function(a,c){return c.set(c.t,c.p,a!==1?c.b:c.e,c)},Ie=function(a,c,m){return a.style[c]=m},Re=function(a,c,m){return a.style.setProperty(c,m)},Ge=function(a,c,m){return a._gsap[c]=m},gt=function(a,c,m){return a._gsap.scaleX=a._gsap.scaleY=m},ii=function(a,c,m,b,k){var V=a._gsap;V.scaleX=V.scaleY=m,V.renderTransform(k,V)},ei=function(a,c,m,b,k){var V=a._gsap;V[c]=m,V.renderTransform(k,V)},_i="transform",Bi=_i+"Origin",dn,vn=function(a,c){var m=Ln.createElementNS?Ln.createElementNS((c||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),a):Ln.createElement(a);return m.style?m:Ln.createElement(a)},jn=function Y(a,c,m){var b=getComputedStyle(a);return b[c]||b.getPropertyValue(c.replace(Ds,"-$1").toLowerCase())||b.getPropertyValue(c)||!m&&Y(a,zn(c)||c,1)||""},Tn="O,Moz,ms,Ms,Webkit".split(","),zn=function(a,c,m){var b=c||Jn,k=b.style,V=5;if(a in k&&!m)return a;for(a=a.charAt(0).toUpperCase()+a.substr(1);V--&&!(Tn[V]+a in k););return V<0?null:(V===3?"ms":V>=0?Tn[V]:"")+a},va=function(){pr()&&window.document&&(ln=window,Ln=ln.document,Lr=Ln.documentElement,Jn=vn("div")||{style:{}},uo=vn("div"),_i=zn(_i),Bi=_i+"Origin",Jn.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",dn=!!zn("perspective"),ia=1)},Po=function Y(a){var c=vn("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),m=this.parentNode,b=this.nextSibling,k=this.style.cssText,V;if(Lr.appendChild(c),c.appendChild(this),this.style.display="block",a)try{V=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=Y}catch(G){}else this._gsapBBox&&(V=this._gsapBBox());return m&&(b?m.insertBefore(this,b):m.appendChild(this)),Lr.removeChild(c),this.style.cssText=k,V},na=function(a,c){for(var m=c.length;m--;)if(a.hasAttribute(c[m]))return a.getAttribute(c[m])},Do=function(a){var c;try{c=a.getBBox()}catch(m){c=Po.call(a,!0)}return c&&(c.width||c.height)||a.getBBox===Po||(c=Po.call(a,!0)),c&&!c.width&&!c.x&&!c.y?{x:+na(a,["x","cx","x1"])||0,y:+na(a,["y","cy","y1"])||0,width:0,height:0}:c},yr=function(a){return!!(a.getCTM&&(!a.parentNode||a.ownerSVGElement)&&Do(a))},yn=function(a,c){if(c){var m=a.style;c in Ao&&c!==Bi&&(c=_i),m.removeProperty?((c.substr(0,2)==="ms"||c.substr(0,6)==="webkit")&&(c="-"+c),m.removeProperty(c.replace(Ds,"-$1").toLowerCase())):m.removeAttribute(c)}},Wn=function(a,c,m,b,k,V){var G=new Zn(a._pt,c,m,0,1,V?Oe:Ce);return a._pt=G,G.b=b,G.e=k,a._props.push(m),G},Rr={deg:1,rad:1,turn:1},Fn=function Y(a,c,m,b){var k=parseFloat(m)||0,V=(m+"").trim().substr((k+"").length)||"px",G=Jn.style,ve=Xr.test(c),je=a.tagName.toLowerCase()==="svg",Me=(je?"client":"offset")+(ve?"Width":"Height"),Xe=100,_t=b==="px",dt=b==="%",Mt,Qe,Bt,Ht;return b===V||!k||Rr[b]||Rr[V]?k:(V!=="px"&&!_t&&(k=Y(a,c,m,"px")),Ht=a.getCTM&&yr(a),(dt||V==="%")&&(Ao[c]||~c.indexOf("adius"))?(Mt=Ht?a.getBBox()[ve?"width":"height"]:a[Me],Li(dt?k/Mt*Xe:k/100*Mt)):(G[ve?"width":"height"]=Xe+(_t?V:b),Qe=~c.indexOf("adius")||b==="em"&&a.appendChild&&!je?a:a.parentNode,Ht&&(Qe=(a.ownerSVGElement||{}).parentNode),(!Qe||Qe===Ln||!Qe.appendChild)&&(Qe=Ln.body),Bt=Qe._gsap,Bt&&dt&&Bt.width&&ve&&Bt.time===Zr.time?Li(k/Bt.width*Xe):((dt||V==="%")&&(G.position=jn(a,"position")),Qe===a&&(G.position="static"),Qe.appendChild(Jn),Mt=Jn[Me],Qe.removeChild(Jn),G.position="absolute",ve&&dt&&(Bt=Ni(Qe),Bt.time=Zr.time,Bt.width=Qe[Me]),Li(_t?Mt*k/Xe:Mt&&k?Xe/Mt*k:0))))},ur=function(a,c,m,b){var k;return ia||va(),c in da&&c!=="transform"&&(c=da[c],~c.indexOf(",")&&(c=c.split(",")[0])),Ao[c]&&c!=="transform"?(k=fs(a,b),k=c!=="transformOrigin"?k[c]:k.svg?k.origin:fo(jn(a,Bi))+" "+k.zOrigin+"px"):(k=a.style[c],(!k||k==="auto"||b||~(k+"").indexOf("calc("))&&(k=us[c]&&us[c](a,c,m)||jn(a,c)||Oi(a,c)||(c==="opacity"?1:0))),m&&!~(k+"").trim().indexOf(" ")?Fn(a,c,k,m)+m:k},Er=function(a,c,m,b){if(!m||m==="none"){var k=zn(c,a,1),V=k&&jn(a,k,1);V&&V!==m?(c=k,m=V):c==="borderColor"&&(m=jn(a,"borderTopColor"))}var G=new Zn(this._pt,a.style,c,0,1,jo),ve=0,je=0,Me,Xe,_t,dt,Mt,Qe,Bt,Ht,si,li,ci,ni;if(G.b=m,G.e=b,m+="",b+="",b==="auto"&&(a.style[c]=b,b=jn(a,c)||b,a.style[c]=m),Me=[m,b],Tr(Me),m=Me[0],b=Me[1],_t=m.match(hn)||[],ni=b.match(hn)||[],ni.length){for(;Xe=hn.exec(b);)Bt=Xe[0],si=b.substring(ve,Xe.index),Mt?Mt=(Mt+1)%5:(si.substr(-5)==="rgba("||si.substr(-5)==="hsla(")&&(Mt=1),Bt!==(Qe=_t[je++]||"")&&(dt=parseFloat(Qe)||0,ci=Qe.substr((dt+"").length),Bt.charAt(1)==="="&&(Bt=or(dt,Bt)+ci),Ht=parseFloat(Bt),li=Bt.substr((Ht+"").length),ve=hn.lastIndex-li.length,li||(li=li||Fi.units[c]||ci,ve===b.length&&(b+=li,G.e+=li)),ci!==li&&(dt=Fn(a,c,Qe,li)||0),G._pt={_next:G._pt,p:si||je===1?si:",",s:dt,c:Ht-dt,m:Mt&&Mt<4||c==="zIndex"?Math.round:0});G.c=ve<b.length?b.substring(ve,b.length):""}else G.r=c==="display"&&b==="none"?Oe:Ce;return In.test(b)&&(G.e=0),this._pt=G,G},ra={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},xa=function(a){var c=a.split(" "),m=c[0],b=c[1]||"50%";return(m==="top"||m==="bottom"||b==="left"||b==="right")&&(a=m,m=b,b=a),c[0]=ra[m]||m,c[1]=ra[b]||b,c.join(" ")},Es=function(a,c){if(c.tween&&c.tween._time===c.tween._dur){var m=c.t,b=m.style,k=c.u,V=m._gsap,G,ve,je;if(k==="all"||k===!0)b.cssText="",ve=1;else for(k=k.split(","),je=k.length;--je>-1;)G=k[je],Ao[G]&&(ve=1,G=G==="transformOrigin"?Bi:_i),yn(m,G);ve&&(yn(m,_i),V&&(V.svg&&m.removeAttribute("transform"),fs(m,1),V.uncache=1))}},us={clearProps:function(a,c,m,b,k){if(k.data!=="isFromStart"){var V=a._pt=new Zn(a._pt,c,m,0,0,Es);return V.u=b,V.pr=-10,V.tween=k,a._props.push(m),1}}},So=[1,0,0,1,0,0],hs={},Rs=function(a){return a==="matrix(1, 0, 0, 1, 0, 0)"||a==="none"||!a},ll=function(a){var c=jn(a,_i);return Rs(c)?So:c.substr(7).match(Di).map(Li)},Ks=function(a,c){var m=a._gsap||Ni(a),b=a.style,k=ll(a),V,G,ve,je;return m.svg&&a.getAttribute("transform")?(ve=a.transform.baseVal.consolidate().matrix,k=[ve.a,ve.b,ve.c,ve.d,ve.e,ve.f],k.join(",")==="1,0,0,1,0,0"?So:k):(k===So&&!a.offsetParent&&a!==Lr&&!m.svg&&(ve=b.display,b.display="block",V=a.parentNode,(!V||!a.offsetParent)&&(je=1,G=a.nextSibling,Lr.appendChild(a)),k=ll(a),ve?b.display=ve:yn(a,"display"),je&&(G?V.insertBefore(a,G):V?V.appendChild(a):Lr.removeChild(a))),c&&k.length>6?[k[0],k[1],k[4],k[5],k[12],k[13]]:k)},Ms=function(a,c,m,b,k,V){var G=a._gsap,ve=k||Ks(a,!0),je=G.xOrigin||0,Me=G.yOrigin||0,Xe=G.xOffset||0,_t=G.yOffset||0,dt=ve[0],Mt=ve[1],Qe=ve[2],Bt=ve[3],Ht=ve[4],si=ve[5],li=c.split(" "),ci=parseFloat(li[0])||0,ni=parseFloat(li[1])||0,wi,Ii,Ti,xi;m?ve!==So&&(Ii=dt*Bt-Mt*Qe)&&(Ti=ci*(Bt/Ii)+ni*(-Qe/Ii)+(Qe*si-Bt*Ht)/Ii,xi=ci*(-Mt/Ii)+ni*(dt/Ii)-(dt*si-Mt*Ht)/Ii,ci=Ti,ni=xi):(wi=Do(a),ci=wi.x+(~li[0].indexOf("%")?ci/100*wi.width:ci),ni=wi.y+(~(li[1]||li[0]).indexOf("%")?ni/100*wi.height:ni)),b||b!==!1&&G.smooth?(Ht=ci-je,si=ni-Me,G.xOffset=Xe+(Ht*dt+si*Qe)-Ht,G.yOffset=_t+(Ht*Mt+si*Bt)-si):G.xOffset=G.yOffset=0,G.xOrigin=ci,G.yOrigin=ni,G.smooth=!!b,G.origin=c,G.originIsAbsolute=!!m,a.style[Bi]="0px 0px",V&&(Wn(V,G,"xOrigin",je,ci),Wn(V,G,"yOrigin",Me,ni),Wn(V,G,"xOffset",Xe,G.xOffset),Wn(V,G,"yOffset",_t,G.yOffset)),a.setAttribute("data-svg-origin",ci+" "+ni)},fs=function(a,c){var m=a._gsap||new Ko(a);if("x"in m&&!c&&!m.uncache)return m;var b=a.style,k=m.scaleX<0,V="px",G="deg",ve=jn(a,Bi)||"0",je,Me,Xe,_t,dt,Mt,Qe,Bt,Ht,si,li,ci,ni,wi,Ii,Ti,xi,sr,Sr,$r,Jr,Le,Ze,Et,Kt,Xt,hi,Mi,fi,Ci,ri,on;return je=Me=Xe=Mt=Qe=Bt=Ht=si=li=0,_t=dt=1,m.svg=!!(a.getCTM&&yr(a)),wi=Ks(a,m.svg),m.svg&&(Et=(!m.uncache||ve==="0px 0px")&&!c&&a.getAttribute("data-svg-origin"),Ms(a,Et||ve,!!Et||m.originIsAbsolute,m.smooth!==!1,wi)),ci=m.xOrigin||0,ni=m.yOrigin||0,wi!==So&&(sr=wi[0],Sr=wi[1],$r=wi[2],Jr=wi[3],je=Le=wi[4],Me=Ze=wi[5],wi.length===6?(_t=Math.sqrt(sr*sr+Sr*Sr),dt=Math.sqrt(Jr*Jr+$r*$r),Mt=sr||Sr?Jo(Sr,sr)*Vo:0,Ht=$r||Jr?Jo($r,Jr)*Vo+Mt:0,Ht&&(dt*=Math.abs(Math.cos(Ht*ga))),m.svg&&(je-=ci-(ci*sr+ni*$r),Me-=ni-(ci*Sr+ni*Jr))):(on=wi[6],Ci=wi[7],hi=wi[8],Mi=wi[9],fi=wi[10],ri=wi[11],je=wi[12],Me=wi[13],Xe=wi[14],Ii=Jo(on,fi),Qe=Ii*Vo,Ii&&(Ti=Math.cos(-Ii),xi=Math.sin(-Ii),Et=Le*Ti+hi*xi,Kt=Ze*Ti+Mi*xi,Xt=on*Ti+fi*xi,hi=Le*-xi+hi*Ti,Mi=Ze*-xi+Mi*Ti,fi=on*-xi+fi*Ti,ri=Ci*-xi+ri*Ti,Le=Et,Ze=Kt,on=Xt),Ii=Jo(-$r,fi),Bt=Ii*Vo,Ii&&(Ti=Math.cos(-Ii),xi=Math.sin(-Ii),Et=sr*Ti-hi*xi,Kt=Sr*Ti-Mi*xi,Xt=$r*Ti-fi*xi,ri=Jr*xi+ri*Ti,sr=Et,Sr=Kt,$r=Xt),Ii=Jo(Sr,sr),Mt=Ii*Vo,Ii&&(Ti=Math.cos(Ii),xi=Math.sin(Ii),Et=sr*Ti+Sr*xi,Kt=Le*Ti+Ze*xi,Sr=Sr*Ti-sr*xi,Ze=Ze*Ti-Le*xi,sr=Et,Le=Kt),Qe&&Math.abs(Qe)+Math.abs(Mt)>359.9&&(Qe=Mt=0,Bt=180-Bt),_t=Li(Math.sqrt(sr*sr+Sr*Sr+$r*$r)),dt=Li(Math.sqrt(Ze*Ze+on*on)),Ii=Jo(Le,Ze),Ht=Math.abs(Ii)>2e-4?Ii*Vo:0,li=ri?1/(ri<0?-ri:ri):0),m.svg&&(Et=a.getAttribute("transform"),m.forceCSS=a.setAttribute("transform","")||!Rs(jn(a,_i)),Et&&a.setAttribute("transform",Et))),Math.abs(Ht)>90&&Math.abs(Ht)<270&&(k?(_t*=-1,Ht+=Mt<=0?180:-180,Mt+=Mt<=0?180:-180):(dt*=-1,Ht+=Ht<=0?180:-180)),c=c||m.uncache,m.x=je-((m.xPercent=je&&(!c&&m.xPercent||(Math.round(a.offsetWidth/2)===Math.round(-je)?-50:0)))?a.offsetWidth*m.xPercent/100:0)+V,m.y=Me-((m.yPercent=Me&&(!c&&m.yPercent||(Math.round(a.offsetHeight/2)===Math.round(-Me)?-50:0)))?a.offsetHeight*m.yPercent/100:0)+V,m.z=Xe+V,m.scaleX=Li(_t),m.scaleY=Li(dt),m.rotation=Li(Mt)+G,m.rotationX=Li(Qe)+G,m.rotationY=Li(Bt)+G,m.skewX=Ht+G,m.skewY=si+G,m.transformPerspective=li+V,(m.zOrigin=parseFloat(ve.split(" ")[2])||0)&&(b[Bi]=fo(ve)),m.xOffset=m.yOffset=0,m.force3D=Fi.force3D,m.renderTransform=m.svg?q:dn?U:bl,m.uncache=0,m},fo=function(a){return(a=a.split(" "))[0]+" "+a[1]},cl=function(a,c,m){var b=Gn(c);return Li(parseFloat(c)+parseFloat(Fn(a,"x",m+"px",b)))+b},bl=function(a,c){c.z="0px",c.rotationY=c.rotationX="0deg",c.force3D=0,U(a,c)},gs="0deg",o="0px",y=") ",U=function(a,c){var m=c||this,b=m.xPercent,k=m.yPercent,V=m.x,G=m.y,ve=m.z,je=m.rotation,Me=m.rotationY,Xe=m.rotationX,_t=m.skewX,dt=m.skewY,Mt=m.scaleX,Qe=m.scaleY,Bt=m.transformPerspective,Ht=m.force3D,si=m.target,li=m.zOrigin,ci="",ni=Ht==="auto"&&a&&a!==1||Ht===!0;if(li&&(Xe!==gs||Me!==gs)){var wi=parseFloat(Me)*ga,Ii=Math.sin(wi),Ti=Math.cos(wi),xi;wi=parseFloat(Xe)*ga,xi=Math.cos(wi),V=cl(si,V,Ii*xi*-li),G=cl(si,G,-Math.sin(wi)*-li),ve=cl(si,ve,Ti*xi*-li+li)}Bt!==o&&(ci+="perspective("+Bt+y),(b||k)&&(ci+="translate("+b+"%, "+k+"%) "),(ni||V!==o||G!==o||ve!==o)&&(ci+=ve!==o||ni?"translate3d("+V+", "+G+", "+ve+") ":"translate("+V+", "+G+y),je!==gs&&(ci+="rotate("+je+y),Me!==gs&&(ci+="rotateY("+Me+y),Xe!==gs&&(ci+="rotateX("+Xe+y),(_t!==gs||dt!==gs)&&(ci+="skew("+_t+", "+dt+y),(Mt!==1||Qe!==1)&&(ci+="scale("+Mt+", "+Qe+y),si.style[_i]=ci||"translate(0, 0)"},q=function(a,c){var m=c||this,b=m.xPercent,k=m.yPercent,V=m.x,G=m.y,ve=m.rotation,je=m.skewX,Me=m.skewY,Xe=m.scaleX,_t=m.scaleY,dt=m.target,Mt=m.xOrigin,Qe=m.yOrigin,Bt=m.xOffset,Ht=m.yOffset,si=m.forceCSS,li=parseFloat(V),ci=parseFloat(G),ni,wi,Ii,Ti,xi;ve=parseFloat(ve),je=parseFloat(je),Me=parseFloat(Me),Me&&(Me=parseFloat(Me),je+=Me,ve+=Me),ve||je?(ve*=ga,je*=ga,ni=Math.cos(ve)*Xe,wi=Math.sin(ve)*Xe,Ii=Math.sin(ve-je)*-_t,Ti=Math.cos(ve-je)*_t,je&&(Me*=ga,xi=Math.tan(je-Me),xi=Math.sqrt(1+xi*xi),Ii*=xi,Ti*=xi,Me&&(xi=Math.tan(Me),xi=Math.sqrt(1+xi*xi),ni*=xi,wi*=xi)),ni=Li(ni),wi=Li(wi),Ii=Li(Ii),Ti=Li(Ti)):(ni=Xe,Ti=_t,wi=Ii=0),(li&&!~(V+"").indexOf("px")||ci&&!~(G+"").indexOf("px"))&&(li=Fn(dt,"x",V,"px"),ci=Fn(dt,"y",G,"px")),(Mt||Qe||Bt||Ht)&&(li=Li(li+Mt-(Mt*ni+Qe*Ii)+Bt),ci=Li(ci+Qe-(Mt*wi+Qe*Ti)+Ht)),(b||k)&&(xi=dt.getBBox(),li=Li(li+b/100*xi.width),ci=Li(ci+k/100*xi.height)),xi="matrix("+ni+","+wi+","+Ii+","+Ti+","+li+","+ci+")",dt.setAttribute("transform",xi),si&&(dt.style[_i]=xi)},fe=function(a,c,m,b,k){var V=360,G=Xi(k),ve=parseFloat(k)*(G&&~k.indexOf("rad")?Vo:1),je=ve-b,Me=b+je+"deg",Xe,_t;return G&&(Xe=k.split("_")[1],Xe==="short"&&(je%=V,je!==je%(V/2)&&(je+=je<0?V:-V)),Xe==="cw"&&je<0?je=(je+V*Js)%V-~~(je/V)*V:Xe==="ccw"&&je>0&&(je=(je-V*Js)%V-~~(je/V)*V)),a._pt=_t=new Zn(a._pt,c,m,b,je,x),_t.e=Me,_t.u="deg",a._props.push(m),_t},he=function(a,c){for(var m in c)a[m]=c[m];return a},Ae=function(a,c,m){var b=he({},m._gsap),k="perspective,force3D,transformOrigin,svgOrigin",V=m.style,G,ve,je,Me,Xe,_t,dt,Mt;b.svg?(je=m.getAttribute("transform"),m.setAttribute("transform",""),V[_i]=c,G=fs(m,1),yn(m,_i),m.setAttribute("transform",je)):(je=getComputedStyle(m)[_i],V[_i]=c,G=fs(m,1),V[_i]=je);for(ve in Ao)je=b[ve],Me=G[ve],je!==Me&&k.indexOf(ve)<0&&(dt=Gn(je),Mt=Gn(Me),Xe=dt!==Mt?Fn(m,ve,je,Mt):parseFloat(je),_t=parseFloat(Me),a._pt=new Zn(a._pt,G,ve,Xe,_t-Xe,l),a._pt.u=Mt||0,a._props.push(ve));he(G,b)};Ri("padding,margin,Width,Radius",function(Y,a){var c="Top",m="Right",b="Bottom",k="Left",V=(a<3?[c,m,b,k]:[c+k,c+m,b+m,b+k]).map(function(G){return a<2?Y+G:"border"+G+Y});us[a>1?"border"+Y:Y]=function(G,ve,je,Me,Xe){var _t,dt;if(arguments.length<4)return _t=V.map(function(Mt){return ur(G,Mt,je)}),dt=_t.join(" "),dt.split(_t[0]).length===5?_t[0]:dt;_t=(Me+"").split(" "),dt={},V.forEach(function(Mt,Qe){return dt[Mt]=_t[Qe]=_t[Qe]||_t[(Qe-1)/2|0]}),G.init(ve,dt,Xe)}});var Ye={name:"css",register:va,targetTest:function(a){return a.style&&a.nodeType},init:function(a,c,m,b,k){var V=this._props,G=a.style,ve=m.vars.startAt,je,Me,Xe,_t,dt,Mt,Qe,Bt,Ht,si,li,ci,ni,wi,Ii;ia||va();for(Qe in c)if(Qe!=="autoRound"&&(Me=c[Qe],!(ye[Qe]&&Bo(Qe,c,m,b,a,k)))){if(dt=typeof Me,Mt=us[Qe],dt==="function"&&(Me=Me.call(m,b,a,k),dt=typeof Me),dt==="string"&&~Me.indexOf("random(")&&(Me=Ne(Me)),Mt)Mt(this,a,Qe,Me,m)&&(Ii=1);else if(Qe.substr(0,2)==="--")je=(getComputedStyle(a).getPropertyValue(Qe)+"").trim(),Me+="",Dr.lastIndex=0,Dr.test(je)||(Bt=Gn(je),Ht=Gn(Me)),Ht?Bt!==Ht&&(je=Fn(a,Qe,je,Ht)+Ht):Bt&&(Me+=Bt),this.add(G,"setProperty",je,Me,b,k,0,0,Qe),V.push(Qe);else if(dt!=="undefined"){if(ve&&Qe in ve?(je=typeof ve[Qe]=="function"?ve[Qe].call(m,b,a,k):ve[Qe],Xi(je)&&~je.indexOf("random(")&&(je=Ne(je)),Gn(je+"")||(je+=Fi.units[Qe]||Gn(ur(a,Qe))||""),(je+"").charAt(1)==="="&&(je=ur(a,Qe))):je=ur(a,Qe),_t=parseFloat(je),si=dt==="string"&&Me.charAt(1)==="="&&Me.substr(0,2),si&&(Me=Me.substr(2)),Xe=parseFloat(Me),Qe in da&&(Qe==="autoAlpha"&&(_t===1&&ur(a,"visibility")==="hidden"&&Xe&&(_t=0),Wn(this,G,"visibility",_t?"inherit":"hidden",Xe?"inherit":"hidden",!Xe)),Qe!=="scale"&&Qe!=="transform"&&(Qe=da[Qe],~Qe.indexOf(",")&&(Qe=Qe.split(",")[0]))),li=Qe in Ao,li){if(ci||(ni=a._gsap,ni.renderTransform&&!c.parseTransform||fs(a,c.parseTransform),wi=c.smoothOrigin!==!1&&ni.smooth,ci=this._pt=new Zn(this._pt,G,_i,0,1,ni.renderTransform,ni,0,-1),ci.dep=1),Qe==="scale")this._pt=new Zn(this._pt,ni,"scaleY",ni.scaleY,(si?or(ni.scaleY,si+Xe):Xe)-ni.scaleY||0),V.push("scaleY",Qe),Qe+="X";else if(Qe==="transformOrigin"){Me=xa(Me),ni.svg?Ms(a,Me,0,wi,0,this):(Ht=parseFloat(Me.split(" ")[2])||0,Ht!==ni.zOrigin&&Wn(this,ni,"zOrigin",ni.zOrigin,Ht),Wn(this,G,Qe,fo(je),fo(Me)));continue}else if(Qe==="svgOrigin"){Ms(a,Me,1,wi,0,this);continue}else if(Qe in hs){fe(this,ni,Qe,_t,si?or(_t,si+Me):Me);continue}else if(Qe==="smoothOrigin"){Wn(this,ni,"smooth",ni.smooth,Me);continue}else if(Qe==="force3D"){ni[Qe]=Me;continue}else if(Qe==="transform"){Ae(this,Me,a);continue}}else Qe in G||(Qe=zn(Qe)||Qe);if(li||(Xe||Xe===0)&&(_t||_t===0)&&!Qo.test(Me)&&Qe in G)Bt=(je+"").substr((_t+"").length),Xe||(Xe=0),Ht=Gn(Me)||(Qe in Fi.units?Fi.units[Qe]:Bt),Bt!==Ht&&(_t=Fn(a,Qe,je,Ht)),this._pt=new Zn(this._pt,li?ni:G,Qe,_t,(si?or(_t,si+Xe):Xe)-_t,!li&&(Ht==="px"||Qe==="zIndex")&&c.autoRound!==!1?re:l),this._pt.u=Ht||0,Bt!==Ht&&Ht!=="%"&&(this._pt.b=je,this._pt.r=R);else if(Qe in G)Er.call(this,a,Qe,je,si?si+Me:Me);else if(Qe in a)this.add(a,Qe,je||a[Qe],si?si+Me:Me,b,k);else{jr(Qe,Me);continue}V.push(Qe)}}Ii&&xo(this)},get:ur,aliases:da,getSetter:function(a,c,m){var b=da[c];return b&&b.indexOf(",")<0&&(c=b),c in Ao&&c!==Bi&&(a._gsap.x||ur(a,"x"))?m&&qr===m?c==="scale"?gt:Ge:(qr=m||{})&&(c==="scale"?ii:ei):a.style&&!sa(a.style[c])?Ie:~c.indexOf("-")?Re:wo(a,c)},core:{_removeProperty:yn,_getMatrix:Ks}};xr.utils.checkPrefix=zn,function(Y,a,c,m){var b=Ri(Y+","+a+","+c,function(k){Ao[k]=1});Ri(a,function(k){Fi.units[k]="deg",hs[k]=1}),da[b[13]]=Y+","+a,Ri(m,function(k){var V=k.split(":");da[V[1]]=b[V[0]]})}("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY"),Ri("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(Y){Fi.units[Y]="px"}),xr.registerPlugin(Ye);var rt=xr.registerPlugin(Ye)||xr,vt=rt.core.Tween,Wt={props:{title:{type:String,default:""},points:{type:Array,default:function(){return[]}},height:{type:Number,default:100},width:{type:Number,default:300},showYAxis:{type:Boolean,default:!1},showXAxis:{type:Boolean,default:!1},labelHeight:{type:Number,default:12},showTrendLine:{type:Boolean,default:!1},trendLineColor:{type:String,default:"green"},trendLineWidth:{type:Number,default:2},easeIn:{type:Boolean,default:!0},showValues:{type:Boolean,default:!1},maxYAxis:{type:Number,default:0},animationDuration:{type:Number,default:.5},barColor:{type:String,default:"deepskyblue"},textColor:{type:String,default:"black"},textAltColor:{type:String,default:"black"},textFont:{type:String,default:"10px sans-serif"},useCustomLabels:{type:Boolean,default:!1},customLabels:{type:Array,default:function(){return[]}}},data:function(){return{dynamicPoints:[],staticPoints:[],extraTopHeightForYAxisLabel:4,extraBottomHeightForYAxisLabel:4,digitsUsedInYAxis:0}},computed:{usingObjectsForDataPoints:function(){return this.points.every(function(a){return h(a)==="object"})},dataPoints:function(){return this.usingObjectsForDataPoints?this.points.map(function(a){return a.value}):this.points},dataLabels:function(){var a=this;return this.points.map(function(c,m){return a.useCustomLabels?a.customLabels[m]:a.usingObjectsForDataPoints?c.label:m+1})},dataColors:function(){var a=this;return this.points.map(function(c){return{barColor:c&&c.barColor?c.barColor:a.barColor,textColor:c&&c.textColor?c.textColor:a.textColor,textAltColor:c&&c.textAltColor?c.textAltColor:a.textAltColor}})},yAxisWidth:function(){return this.digitsUsedInYAxis*5.8+5},xAxisHeight:function(){return this.showYAxis?this.labelHeight:this.labelHeight+this.extraBottomHeightForYAxisLabel+this.extraTopHeightForYAxisLabel},fullSvgWidth:function(){return this.width},fullSvgHeight:function(){return this.height},innerChartWidth:function(){return this.showYAxis?this.width-this.yAxisWidth:this.width},innerChartHeight:function(){var a=this.height;return this.showYAxis&&(a-=this.extraTopHeightForYAxisLabel+this.extraBottomHeightForYAxisLabel),this.showXAxis&&(a-=this.xAxisHeight),a},partitionWidth:function(){return this.innerChartWidth/this.dataPoints.length},maxDomain:function(){return this.maxYAxis?this.maxYAxis:Math.ceil(Math.max.apply(Math,bn(this.dataPoints)))},chartData:function(){var a=this;return this.dynamicPoints.map(function(c,m){return{staticValue:a.staticPoints[m],index:m,label:a.dataLabels[m],width:a.partitionWidth-2,midPoint:a.partitionWidth/2,yLabel:a.innerChartHeight+4,x:m*a.partitionWidth,xMidpoint:m*a.partitionWidth+a.partitionWidth/2,yOffset:a.innerChartHeight-a.y(c),height:a.y(c),barColor:a.dataColors[m].barColor,textColor:a.dataColors[m].textColor,textAltColor:a.dataColors[m].textAltColor}})},trendLine:function(){var a=this.applySlope(this.dynamicPoints);return{x1:this.partitionWidth/2,y1:this.roundTo(this.innerChartHeight-this.y(a[0]),2),x2:this.innerChartWidth-this.partitionWidth/2,y2:this.roundTo(this.innerChartHeight-this.y(a[a.length-1]),2)}}},watch:{dataPoints:function(a){this.tween(a)}},created:function(){this.easeIn?this.tween(this.dataPoints):(this.dynamicPoints=this.dataPoints,this.staticPoints=this.dataPoints)},methods:{y:function(a){return a/this.maxDomain*this.innerChartHeight},roundTo:function(a){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,m=!1,b=a;b<0&&(m=!0,b*=-1);var k=Math.pow(10,c);return b=parseFloat((b*k).toFixed(11)),b=(Math.round(b)/k).toFixed(2),m&&(b=(b*-1).toFixed(2)),b},tween:function(a){for(var c=this,m={},b={},k=0;k<a.length;k+=1){var V=k.toString();m[V]=a[k],b[V]=this.dynamicPoints[k]||0}var G=function(){var je=Object.values(b);je.pop(),c.dynamicPoints=je};rt.to(b,ne(ne({},m),{},{onUpdate:G,duration:this.animationDuration})),this.staticPoints=a},getTicks:function(){for(var a=this,c=6;c>0;c-=1)if(this.maxDomain%c===0){var m=function(){var b=c<3,k=b?3:c;return a.digitsUsedInYAxis=a.maxDomain.toFixed(b?1:0).replace(".","").length,{v:bn(new Array(k+1)).map(function(V,G){var ve=a.maxDomain/k*(k-G),je=a.innerChartHeight/k*G;return{key:G,text:b?ve.toFixed(1):ve,yText:je<10?10:je+4,x1:a.yAxisWidth-4,y1:je,x2:a.yAxisWidth-1,y2:je}})}}();if(h(m)==="object")return m.v}return[]},applySlope:function(a){for(var c=0,m=0,b=0;b<a.length;b+=1)c+=b,m+=a[b];c/=a.length,m/=a.length;for(var k=0,V=0,G=0;G<a.length;G+=1)k+=(G-c)*(a[G]-m),V+=Math.pow(G-c,2);for(var ve=k/V,je=m-ve*c,Me=[],Xe=0;Xe<a.length;Xe+=1)Me.push(ve*Xe+je);return Me}}},st=me(3744),oi=(0,st.Z)(Wt,[["render",le]]);function di(Y){di.installed||(di.installed=!0,Y.component("VueBarGraph",oi))}var Pi={install:di},Dn=null;typeof window!="undefined"?Dn=window.Vue:typeof me.g!="undefined"&&(Dn=me.g.Vue),Dn&&Dn.use(Pi);var ti=oi,ut=ti})(),v.exports=et})()},"./node_modules/vue-loader/dist/exportHelper.js":function(v,yt){"use strict";var At;At={value:!0},yt.Z=(A,g)=>{const me=A.__vccOpts||A;for(const[et,z]of g)me[et]=z;return me}},"./node_modules/vue/dist/vue.cjs.prod.js":function(v,yt,At){"use strict";Object.defineProperty(yt,"__esModule",{value:!0});var A=At("./node_modules/@vue/compiler-dom/dist/compiler-dom.esm-bundler.js"),g=At("./node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js"),me=At("./node_modules/@vue/shared/dist/shared.esm-bundler.js");function et(N){if(N&&N.__esModule)return N;var L=Object.create(null);return N&&Object.keys(N).forEach(function(B){L[B]=N[B]}),L.default=N,Object.freeze(L)}var z=et(g);const oe=Object.create(null);function d(N,L){if(!me.isString(N))if(N.nodeType)N=N.innerHTML;else return me.NOOP;const B=N,T=oe[B];if(T)return T;if(N[0]==="#"){const C=document.querySelector(N);N=C?C.innerHTML:""}const H=me.extend({hoistStatic:!0,onError:void 0,onWarn:me.NOOP},L);!H.isCustomElement&&typeof customElements!="undefined"&&(H.isCustomElement=C=>!!customElements.get(C));const{code:se}=A.compile(N,H),n=new Function("Vue",se)(z);return n._rc=!0,oe[B]=n}g.registerRuntimeCompiler(d),Object.keys(g).forEach(function(N){N!=="default"&&(yt[N]=g[N])}),yt.compile=d},"./node_modules/vue/index.js":function(v,yt,At){"use strict";v.exports=At("./node_modules/vue/dist/vue.cjs.prod.js")}},Rc={};function gi(v){var yt=Rc[v];if(yt!==void 0)return yt.exports;var At=Rc[v]={exports:{}};return Dc[v].call(At.exports,At,At.exports,gi),At.exports}gi.m=Dc,function(){gi.amdO={}}(),function(){gi.n=function(v){var yt=v&&v.__esModule?function(){return v.default}:function(){return v};return gi.d(yt,{a:yt}),yt}}(),function(){var v=Object.getPrototypeOf?function(At){return Object.getPrototypeOf(At)}:function(At){return At.__proto__},yt;gi.t=function(At,A){if(A&1&&(At=this(At)),A&8||typeof At=="object"&&At&&(A&4&&At.__esModule||A&16&&typeof At.then=="function"))return At;var g=Object.create(null);gi.r(g);var me={};yt=yt||[null,v({}),v([]),v(v)];for(var et=A&2&&At;typeof et=="object"&&!~yt.indexOf(et);et=v(et))Object.getOwnPropertyNames(et).forEach(function(z){me[z]=function(){return At[z]}});return me.default=function(){return At},gi.d(g,me),g}}(),function(){gi.d=function(v,yt){for(var At in yt)gi.o(yt,At)&&!gi.o(v,At)&&Object.defineProperty(v,At,{enumerable:!0,get:yt[At]})}}(),function(){gi.f={},gi.e=function(v){return Promise.all(Object.keys(gi.f).reduce(function(yt,At){return gi.f[At](v,yt),yt},[]))}}(),function(){gi.u=function(v){if(v==="tribute")return"js/"+v+".1ca3c8e4.js";if(v==="sortable")return"js/"+v+".b26f479a.js";if(v==="mermaid")return"js/"+v+".081bbd49.js";if(v==="katex")return"js/"+v+".f8ab0614.js";if(v==="easymde")return"js/"+v+".e1bd16e9.js";if(v==="minicolors")return"js/"+v+".42d0e10a.js";if(v==="dropzone")return"js/"+v+".b77e7ea6.js";if(v==="monaco")return"js/"+v+".943e8892.js";if(v==="mcaptcha-vanilla-glue")return"js/"+v+".e82cd5ce.js";if(v==="vendors-node_modules_monaco-editor_esm_vs_basic-languages_abap_abap_js")return"js/monaco-language-abap.c5cad4be.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_apex_apex_js")return"js/monaco-language-apex.baaeb3b2.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_azcli_azcli_js")return"js/monaco-language-azcli.50450f16.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_bat_bat_js")return"js/monaco-language-bat.fa45ea5a.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_bicep_bicep_js")return"js/monaco-language-bicep.848b3bda.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_cameligo_cameligo_js")return"js/monaco-language-cameligo.800d4fea.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_clojure_clojure_js")return"js/monaco-language-clojure.085e1624.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_coffee_coffee_js")return"js/monaco-language-coffee.8b2fca99.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_cpp_cpp_js")return"js/monaco-language-cpp.db942ffd.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_csharp_csharp_js")return"js/monaco-language-csharp.686a53fc.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_csp_csp_js")return"js/monaco-language-csp.dc8e087f.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_css_css_js")return"js/monaco-language-css.03285ff1.js";if(v==="vendors-node_modules_monaco-editor_esm_vs_language_css_cssMode_js")return"js/monaco-language-cssmode.eb037768.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_cypher_cypher_js")return"js/monaco-language-cypher.e7ff3864.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_dart_dart_js")return"js/monaco-language-dart.1d2776fe.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_dockerfile_dockerfile_js")return"js/monaco-language-dockerfile.ba5d6355.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_ecl_ecl_js")return"js/monaco-language-ecl.88ca23a0.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_elixir_elixir_js")return"js/monaco-language-elixir.335fcdbf.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_flow9_flow9_js")return"js/monaco-language-flow9.66d56dbe.js";if(v==="vendors-node_modules_monaco-editor_esm_vs_basic-languages_freemarker2_freemarker2_js")return"js/monaco-language-freemarker2.33e9e634.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_fsharp_fsharp_js")return"js/monaco-language-fsharp.58d8c2cd.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_go_go_js")return"js/monaco-language-go.9f2bba6c.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_graphql_graphql_js")return"js/monaco-language-graphql.53b54aa3.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_handlebars_handlebars_js")return"js/monaco-language-handlebars.f600395c.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_hcl_hcl_js")return"js/monaco-language-hcl.93aa7031.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_html_html_js")return"js/monaco-language-html.29754284.js";if(v==="vendors-node_modules_monaco-editor_esm_vs_language_html_htmlMode_js")return"js/monaco-language-htmlmode.9cef1dc7.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_ini_ini_js")return"js/monaco-language-ini.975203ba.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_java_java_js")return"js/monaco-language-java.eb37f0d5.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_javascript_javascript_js")return"js/monaco-language-javascript.1a035b6e.js";if(v==="vendors-node_modules_monaco-editor_esm_vs_language_json_jsonMode_js")return"js/monaco-language-jsonmode.307a1863.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_julia_julia_js")return"js/monaco-language-julia.139ea024.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_kotlin_kotlin_js")return"js/monaco-language-kotlin.95b7cc03.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_less_less_js")return"js/monaco-language-less.9d146b37.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_lexon_lexon_js")return"js/monaco-language-lexon.8a8ffe86.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_liquid_liquid_js")return"js/monaco-language-liquid.7ba68252.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_lua_lua_js")return"js/monaco-language-lua.76269f02.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_m3_m3_js")return"js/monaco-language-m3.381dacb6.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_markdown_markdown_js")return"js/monaco-language-markdown.3e456b5f.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_mips_mips_js")return"js/monaco-language-mips.c532482d.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_msdax_msdax_js")return"js/monaco-language-msdax.ea5af202.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_mysql_mysql_js")return"js/monaco-language-mysql.6a9b5ca4.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_objective-c_objective-c_js")return"js/monaco-language-objective-c.ac018f82.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_pascal_pascal_js")return"js/monaco-language-pascal.f4bff773.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_pascaligo_pascaligo_js")return"js/monaco-language-pascaligo.ef68cb47.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_perl_perl_js")return"js/monaco-language-perl.6201edc5.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_pgsql_pgsql_js")return"js/monaco-language-pgsql.309f2eef.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_php_php_js")return"js/monaco-language-php.fe41a736.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_pla_pla_js")return"js/monaco-language-pla.b96a0b0a.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_postiats_postiats_js")return"js/monaco-language-postiats.d7edb538.js";if(v==="vendors-node_modules_monaco-editor_esm_vs_basic-languages_powerquery_powerquery_js")return"js/monaco-language-powerquery.e1b5c939.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_powershell_powershell_js")return"js/monaco-language-powershell.986d17fa.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_protobuf_protobuf_js")return"js/monaco-language-protobuf.eb7795fc.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_pug_pug_js")return"js/monaco-language-pug.a07a81a3.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_python_python_js")return"js/monaco-language-python.2bf73291.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_qsharp_qsharp_js")return"js/monaco-language-qsharp.7e12978f.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_r_r_js")return"js/monaco-language-r.22ed335c.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_razor_razor_js")return"js/monaco-language-razor.8662f744.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_redis_redis_js")return"js/monaco-language-redis.51aba187.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_redshift_redshift_js")return"js/monaco-language-redshift.dca4aaa6.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_restructuredtext_restructuredtext_js")return"js/monaco-language-restructuredtext.052e193d.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_ruby_ruby_js")return"js/monaco-language-ruby.9cc75add.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_rust_rust_js")return"js/monaco-language-rust.2879dd02.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_sb_sb_js")return"js/monaco-language-sb.676f2916.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_scala_scala_js")return"js/monaco-language-scala.2be8473f.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_scheme_scheme_js")return"js/monaco-language-scheme.978fadb1.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_scss_scss_js")return"js/monaco-language-scss.4801f843.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_shell_shell_js")return"js/monaco-language-shell.be3eb562.js";if(v==="vendors-node_modules_monaco-editor_esm_vs_basic-languages_solidity_solidity_js")return"js/monaco-language-solidity.36abbcbb.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_sophia_sophia_js")return"js/monaco-language-sophia.d6bb115d.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_sparql_sparql_js")return"js/monaco-language-sparql.3c6a882d.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_sql_sql_js")return"js/monaco-language-sql.6b0d0f0a.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_st_st_js")return"js/monaco-language-st.88c6c88a.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_swift_swift_js")return"js/monaco-language-swift.c93b49e8.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_systemverilog_systemverilog_js")return"js/monaco-language-systemverilog.ddac36c7.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_tcl_tcl_js")return"js/monaco-language-tcl.f56dddac.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_twig_twig_js")return"js/monaco-language-twig.cd80df58.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_typescript_typescript_js")return"js/monaco-language-typescript.2a08f9b7.js";if(v==="vendors-node_modules_monaco-editor_esm_vs_language_typescript_tsMode_js")return"js/monaco-language-tsmode.3bbd42a1.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_vb_vb_js")return"js/monaco-language-vb.95b807bd.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_xml_xml_js")return"js/monaco-language-xml.a6fee0b8.js";if(v==="node_modules_monaco-editor_esm_vs_basic-languages_yaml_yaml_js")return"js/monaco-language-yaml.ec2993e3.js"}}(),function(){gi.miniCssF=function(v){return"css/"+v+"."+{katex:"752fb728",minicolors:"6d617d3d",dropzone:"0142b04d",monaco:"5fd9bf4e"}[v]+".css"}}(),function(){gi.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(v){if(typeof window=="object")return window}}()}(),function(){gi.o=function(v,yt){return Object.prototype.hasOwnProperty.call(v,yt)}}(),function(){var v={},yt="gitea:";gi.l=function(At,A,g,me){if(v[At]){v[At].push(A);return}var et,z;if(g!==void 0)for(var oe=document.getElementsByTagName("script"),d=0;d<oe.length;d++){var N=oe[d];if(N.getAttribute("src")==At||N.getAttribute("data-webpack")==yt+g){et=N;break}}et||(z=!0,et=document.createElement("script"),et.charset="utf-8",et.timeout=120,gi.nc&&et.setAttribute("nonce",gi.nc),et.setAttribute("data-webpack",yt+g),et.src=At),v[At]=[A];var L=function(T,H){et.onerror=et.onload=null,clearTimeout(B);var se=v[At];if(delete v[At],et.parentNode&&et.parentNode.removeChild(et),se&&se.forEach(function(n){return n(H)}),T)return T(H)},B=setTimeout(L.bind(null,void 0,{type:"timeout",target:et}),12e4);et.onerror=L.bind(null,et.onerror),et.onload=L.bind(null,et.onload),z&&document.head.appendChild(et)}}(),function(){gi.r=function(v){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(v,"__esModule",{value:!0})}}(),function(){var v;gi.g.importScripts&&(v=gi.g.location+"");var yt=gi.g.document;if(!v&&yt&&(yt.currentScript&&(v=yt.currentScript.src),!v)){var At=yt.getElementsByTagName("script");At.length&&(v=At[At.length-1].src)}if(!v)throw new Error("Automatic publicPath is not supported in this browser");v=v.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),gi.p=v+"../"}(),function(){var v=function(g,me,et,z){var oe=document.createElement("link");oe.rel="stylesheet",oe.type="text/css";var d=function(N){if(oe.onerror=oe.onload=null,N.type==="load")et();else{var L=N&&(N.type==="load"?"missing":N.type),B=N&&N.target&&N.target.href||me,T=new Error("Loading CSS chunk "+g+` failed.
|
|
(`+B+")");T.code="CSS_CHUNK_LOAD_FAILED",T.type=L,T.request=B,oe.parentNode.removeChild(oe),z(T)}};return oe.onerror=oe.onload=d,oe.href=me,document.head.appendChild(oe),oe},yt=function(g,me){for(var et=document.getElementsByTagName("link"),z=0;z<et.length;z++){var oe=et[z],d=oe.getAttribute("data-href")||oe.getAttribute("href");if(oe.rel==="stylesheet"&&(d===g||d===me))return oe}for(var N=document.getElementsByTagName("style"),z=0;z<N.length;z++){var oe=N[z],d=oe.getAttribute("data-href");if(d===g||d===me)return oe}},At=function(g){return new Promise(function(me,et){var z=gi.miniCssF(g),oe=gi.p+z;if(yt(z,oe))return me();v(g,oe,me,et)})},A={index:0};gi.f.miniCss=function(g,me){var et={katex:1,minicolors:1,dropzone:1,monaco:1};A[g]?me.push(A[g]):A[g]!==0&&et[g]&&me.push(A[g]=At(g).then(function(){A[g]=0},function(z){throw delete A[g],z}))}}(),function(){var v={index:0};gi.f.j=function(A,g){var me=gi.o(v,A)?v[A]:void 0;if(me!==0)if(me)g.push(me[2]);else{var et=new Promise(function(N,L){me=v[A]=[N,L]});g.push(me[2]=et);var z=gi.p+gi.u(A),oe=new Error,d=function(N){if(gi.o(v,A)&&(me=v[A],me!==0&&(v[A]=void 0),me)){var L=N&&(N.type==="load"?"missing":N.type),B=N&&N.target&&N.target.src;oe.message="Loading chunk "+A+` failed.
|
|
(`+L+": "+B+")",oe.name="ChunkLoadError",oe.type=L,oe.request=B,me[1](oe)}};gi.l(z,d,"chunk-"+A,A)}};var yt=function(A,g){var me=g[0],et=g[1],z=g[2],oe,d,N=0;if(me.some(function(B){return v[B]!==0})){for(oe in et)gi.o(et,oe)&&(gi.m[oe]=et[oe]);if(z)var L=z(gi)}for(A&&A(g);N<me.length;N++)d=me[N],gi.o(v,d)&&v[d]&&v[d][0](),v[d]=0},At=self.webpackChunkgitea=self.webpackChunkgitea||[];At.forEach(yt.bind(null,0)),At.push=yt.bind(null,At.push.bind(At))}();var yy={};(function(){"use strict";var v=gi("./node_modules/jquery/dist/jquery.js");window.$=window.jQuery=v})(),function(){(function(v,yt,At,A){"use strict";v.isWindow=v.isWindow||function(g){return g!=null&&g===g.window},yt=typeof yt!="undefined"&&yt.Math==Math?yt:typeof self!="undefined"&&self.Math==Math?self:Function("return this")(),v.api=v.fn.api=function(g){var me=v.isFunction(this)?v(yt):v(this),et=me.selector||"",z=new Date().getTime(),oe=[],d=arguments[0],N=typeof d=="string",L=[].slice.call(arguments,1),B;return me.each(function(){var T=v.isPlainObject(g)?v.extend(!0,{},v.fn.api.settings,g):v.extend({},v.fn.api.settings),H=T.namespace,se=T.metadata,n=T.selector,C=T.error,D=T.className,ge="."+H,de="module-"+H,be=v(this),we=be.closest(n.form),Te=T.stateContext?v(T.stateContext):be,J,s,ce,De,ke,le=this,pe=Te[0],We=be.data(de),I;I={initialize:function(){N||I.bind.events(),I.instantiate()},instantiate:function(){I.verbose("Storing instance of module",I),We=I,be.data(de,We)},destroy:function(){I.verbose("Destroying previous module for",le),be.removeData(de).off(ge)},bind:{events:function(){var F=I.get.event();F?(I.verbose("Attaching API events to element",F),be.on(F+ge,I.event.trigger)):T.on=="now"&&(I.debug("Querying API endpoint immediately"),I.query())}},decode:{json:function(F){if(F!==A&&typeof F=="string")try{F=JSON.parse(F)}catch(M){}return F}},read:{cachedResponse:function(F){var M;if(yt.Storage===A){I.error(C.noStorage);return}return M=sessionStorage.getItem(F),I.debug("Using cached response",F,M),M=I.decode.json(M),M}},write:{cachedResponse:function(F,M){if(M&&M===""){I.debug("Response empty, not caching",M);return}if(yt.Storage===A){I.error(C.noStorage);return}v.isPlainObject(M)&&(M=JSON.stringify(M)),sessionStorage.setItem(F,M),I.verbose("Storing cached response for url",F,M)}},query:function(){if(I.is.disabled()){I.debug("Element is disabled API request aborted");return}if(I.is.loading())if(T.interruptRequests)I.debug("Interrupting previous request"),I.abort();else{I.debug("Cancelling request, previous request is still pending");return}if(T.defaultData&&v.extend(!0,T.urlData,I.get.defaultData()),T.serializeForm&&(T.data=I.add.formData(T.data)),s=I.get.settings(),s===!1){I.cancelled=!0,I.error(C.beforeSend);return}else I.cancelled=!1;if(ce=I.get.templatedURL(),!ce&&!I.is.mocked()){I.error(C.missingURL);return}if(ce=I.add.urlData(ce),!(!ce&&!I.is.mocked())){if(s.url=T.base+ce,J=v.extend(!0,{},T,{type:T.method||T.type,data:De,url:T.base+ce,beforeSend:T.beforeXHR,success:function(){},failure:function(){},complete:function(){}}),I.debug("Querying URL",J.url),I.verbose("Using AJAX settings",J),T.cache==="local"&&I.read.cachedResponse(ce)){I.debug("Response returned from local cache"),I.request=I.create.request(),I.request.resolveWith(pe,[I.read.cachedResponse(ce)]);return}T.throttle?!T.throttleFirstRequest&&!I.timer?(I.debug("Sending request",De,J.method),I.send.request(),I.timer=setTimeout(function(){},T.throttle)):(I.debug("Throttling request",T.throttle),clearTimeout(I.timer),I.timer=setTimeout(function(){I.timer&&delete I.timer,I.debug("Sending throttled request",De,J.method),I.send.request()},T.throttle)):(I.debug("Sending request",De,J.method),I.send.request())}},should:{removeError:function(){return T.hideError===!0||T.hideError==="auto"&&!I.is.form()}},is:{disabled:function(){return be.filter(n.disabled).length>0},expectingJSON:function(){return T.dataType==="json"||T.dataType==="jsonp"},form:function(){return be.is("form")||Te.is("form")},mocked:function(){return T.mockResponse||T.mockResponseAsync||T.response||T.responseAsync},input:function(){return be.is("input")},loading:function(){return I.request?I.request.state()=="pending":!1},abortedRequest:function(F){return F&&F.readyState!==A&&F.readyState===0?(I.verbose("XHR request determined to be aborted"),!0):(I.verbose("XHR request was not aborted"),!1)},validResponse:function(F){return!I.is.expectingJSON()||!v.isFunction(T.successTest)?(I.verbose("Response is not JSON, skipping validation",T.successTest,F),!0):(I.debug("Checking JSON returned success",T.successTest,F),T.successTest(F)?(I.debug("Response passed success test",F),!0):(I.debug("Response failed success test",F),!1))}},was:{cancelled:function(){return I.cancelled||!1},succesful:function(){return I.verbose('This behavior will be deleted due to typo. Use "was successful" instead.'),I.was.successful()},successful:function(){return I.request&&I.request.state()=="resolved"},failure:function(){return I.request&&I.request.state()=="rejected"},complete:function(){return I.request&&(I.request.state()=="resolved"||I.request.state()=="rejected")}},add:{urlData:function(F,M){var Z,Pe;return F&&(Z=F.match(T.regExp.required),Pe=F.match(T.regExp.optional),M=M||T.urlData,Z&&(I.debug("Looking for required URL variables",Z),v.each(Z,function(Ke,ot){var ne=ot.indexOf("$")!==-1?ot.substr(2,ot.length-3):ot.substr(1,ot.length-2),ae=v.isPlainObject(M)&&M[ne]!==A?M[ne]:be.data(ne)!==A?be.data(ne):Te.data(ne)!==A?Te.data(ne):M[ne];if(ae===A)return I.error(C.requiredParameter,ne,F),F=!1,!1;I.verbose("Found required variable",ne,ae),ae=T.encodeParameters?I.get.urlEncodedValue(ae):ae,F=F.replace(ot,ae)})),Pe&&(I.debug("Looking for optional URL variables",Z),v.each(Pe,function(Ke,ot){var ne=ot.indexOf("$")!==-1?ot.substr(3,ot.length-4):ot.substr(2,ot.length-3),ae=v.isPlainObject(M)&&M[ne]!==A?M[ne]:be.data(ne)!==A?be.data(ne):Te.data(ne)!==A?Te.data(ne):M[ne];ae!==A?(I.verbose("Optional variable Found",ne,ae),F=F.replace(ot,ae)):(I.verbose("Optional variable not found",ne),F.indexOf("/"+ot)!==-1?F=F.replace("/"+ot,""):F=F.replace(ot,""))}))),F},formData:function(F){var M=v.fn.serializeObject!==A,Z=M?we.serializeObject():we.serialize(),Pe;return F=F||T.data,Pe=v.isPlainObject(F),Pe?M?(I.debug("Extending existing data with form data",F,Z),F=v.extend(!0,{},F,Z)):(I.error(C.missingSerialize),I.debug("Cant extend data. Replacing data with form data",F,Z),F=Z):(I.debug("Adding form data",Z),F=Z),F}},send:{request:function(){I.set.loading(),I.request=I.create.request(),I.is.mocked()?I.mockedXHR=I.create.mockedXHR():I.xhr=I.create.xhr(),T.onRequest.call(pe,I.request,I.xhr)}},event:{trigger:function(F){I.query(),(F.type=="submit"||F.type=="click")&&F.preventDefault()},xhr:{always:function(){},done:function(F,M,Z){var Pe=this,Ke=new Date().getTime()-ke,ot=T.loadingDuration-Ke,ne=v.isFunction(T.onResponse)?I.is.expectingJSON()&&!T.rawResponse?T.onResponse.call(Pe,v.extend(!0,{},F)):T.onResponse.call(Pe,F):!1;ot=ot>0?ot:0,ne&&(I.debug("Modified API response in onResponse callback",T.onResponse,ne,F),F=ne),ot>0&&I.debug("Response completed early delaying state change by",ot),setTimeout(function(){I.is.validResponse(F)?I.request.resolveWith(Pe,[F,Z]):I.request.rejectWith(Pe,[Z,"invalid"])},ot)},fail:function(F,M,Z){var Pe=this,Ke=new Date().getTime()-ke,ot=T.loadingDuration-Ke;ot=ot>0?ot:0,ot>0&&I.debug("Response completed early delaying state change by",ot),setTimeout(function(){I.is.abortedRequest(F)?I.request.rejectWith(Pe,[F,"aborted",Z]):I.request.rejectWith(Pe,[F,"error",M,Z])},ot)}},request:{done:function(F,M){I.debug("Successful API Response",F),T.cache==="local"&&ce&&(I.write.cachedResponse(ce,F),I.debug("Saving server response locally",I.cache)),T.onSuccess.call(pe,F,be,M)},complete:function(F,M){var Z,Pe;I.was.successful()?(Pe=F,Z=M):(Z=F,Pe=I.get.responseFromXHR(Z)),I.remove.loading(),T.onComplete.call(pe,Pe,be,Z)},fail:function(F,M,Z){var Pe=I.get.responseFromXHR(F),Ke=I.get.errorFromRequest(Pe,M,Z);if(M=="aborted")return I.debug("XHR Aborted (Most likely caused by page navigation or CORS Policy)",M,Z),T.onAbort.call(pe,M,be,F),!0;M=="invalid"?I.debug("JSON did not pass success test. A server-side error has most likely occurred",Pe):M=="error"&&F!==A&&(I.debug("XHR produced a server error",M,Z),(F.status<200||F.status>=300)&&Z!==A&&Z!==""&&I.error(C.statusMessage+Z,J.url),T.onError.call(pe,Ke,be,F)),T.errorDuration&&M!=="aborted"&&(I.debug("Adding error state"),I.set.error(),I.should.removeError()&&setTimeout(I.remove.error,T.errorDuration)),I.debug("API Request failed",Ke,F),T.onFailure.call(pe,Pe,be,F)}}},create:{request:function(){return v.Deferred().always(I.event.request.complete).done(I.event.request.done).fail(I.event.request.fail)},mockedXHR:function(){var F=!1,M=!1,Z=!1,Pe=T.mockResponse||T.response,Ke=T.mockResponseAsync||T.responseAsync,ot,ne,ae;return ae=v.Deferred().always(I.event.xhr.complete).done(I.event.xhr.done).fail(I.event.xhr.fail),Pe?(v.isFunction(Pe)?(I.debug("Using specified synchronous callback",Pe),ne=Pe.call(pe,s)):(I.debug("Using settings specified response",Pe),ne=Pe),ae.resolveWith(pe,[ne,F,{responseText:ne}])):v.isFunction(Ke)&&(ot=function(Ve){I.debug("Async callback returned response",Ve),Ve?ae.resolveWith(pe,[Ve,F,{responseText:Ve}]):ae.rejectWith(pe,[{responseText:Ve},M,Z])},I.debug("Using specified async response callback",Ke),Ke.call(pe,s,ot)),ae},xhr:function(){var F;return F=v.ajax(J).always(I.event.xhr.always).done(I.event.xhr.done).fail(I.event.xhr.fail),I.verbose("Created server request",F,J),F}},set:{error:function(){I.verbose("Adding error state to element",Te),Te.addClass(D.error)},loading:function(){I.verbose("Adding loading state to element",Te),Te.addClass(D.loading),ke=new Date().getTime()}},remove:{error:function(){I.verbose("Removing error state from element",Te),Te.removeClass(D.error)},loading:function(){I.verbose("Removing loading state from element",Te),Te.removeClass(D.loading)}},get:{responseFromXHR:function(F){return v.isPlainObject(F)?I.is.expectingJSON()?I.decode.json(F.responseText):F.responseText:!1},errorFromRequest:function(F,M,Z){return v.isPlainObject(F)&&F.error!==A?F.error:T.error[M]!==A?T.error[M]:Z},request:function(){return I.request||!1},xhr:function(){return I.xhr||!1},settings:function(){var F;return F=T.beforeSend.call(be,T),F&&(F.success!==A&&(I.debug("Legacy success callback detected",F),I.error(C.legacyParameters,F.success),F.onSuccess=F.success),F.failure!==A&&(I.debug("Legacy failure callback detected",F),I.error(C.legacyParameters,F.failure),F.onFailure=F.failure),F.complete!==A&&(I.debug("Legacy complete callback detected",F),I.error(C.legacyParameters,F.complete),F.onComplete=F.complete)),F===A&&I.error(C.noReturnedValue),F===!1?F:F!==A?v.extend(!0,{},F):v.extend(!0,{},T)},urlEncodedValue:function(F){var M=yt.decodeURIComponent(F),Z=yt.encodeURIComponent(F),Pe=M!==F;return Pe?(I.debug("URL value is already encoded, avoiding double encoding",F),F):(I.verbose("Encoding value using encodeURIComponent",F,Z),Z)},defaultData:function(){var F={};return v.isWindow(le)||(I.is.input()?F.value=be.val():I.is.form()||(F.text=be.text())),F},event:function(){return v.isWindow(le)||T.on=="now"?(I.debug("API called without element, no events attached"),!1):T.on=="auto"?be.is("input")?le.oninput!==A?"input":le.onpropertychange!==A?"propertychange":"keyup":be.is("form")?"submit":"click":T.on},templatedURL:function(F){if(F=F||be.data(se.action)||T.action||!1,ce=be.data(se.url)||T.url||!1,ce)return I.debug("Using specified url",ce),ce;if(F){if(I.debug("Looking up url for action",F,T.api),T.api[F]===A&&!I.is.mocked()){I.error(C.missingAction,T.action,T.api);return}ce=T.api[F]}else I.is.form()&&(ce=be.attr("action")||Te.attr("action")||!1,I.debug("No url or action specified, defaulting to form action",ce));return ce}},abort:function(){var F=I.get.xhr();F&&F.state()!=="resolved"&&(I.debug("Cancelling API request"),F.abort())},reset:function(){I.remove.error(),I.remove.loading()},setting:function(F,M){if(I.debug("Changing setting",F,M),v.isPlainObject(F))v.extend(!0,T,F);else if(M!==A)v.isPlainObject(T[F])?v.extend(!0,T[F],M):T[F]=M;else return T[F]},internal:function(F,M){if(v.isPlainObject(F))v.extend(!0,I,F);else if(M!==A)I[F]=M;else return I[F]},debug:function(){!T.silent&&T.debug&&(T.performance?I.performance.log(arguments):(I.debug=Function.prototype.bind.call(console.info,console,T.name+":"),I.debug.apply(console,arguments)))},verbose:function(){!T.silent&&T.verbose&&T.debug&&(T.performance?I.performance.log(arguments):(I.verbose=Function.prototype.bind.call(console.info,console,T.name+":"),I.verbose.apply(console,arguments)))},error:function(){T.silent||(I.error=Function.prototype.bind.call(console.error,console,T.name+":"),I.error.apply(console,arguments))},performance:{log:function(F){var M,Z,Pe;T.performance&&(M=new Date().getTime(),Pe=z||M,Z=M-Pe,z=M,oe.push({Name:F[0],Arguments:[].slice.call(F,1)||"","Execution Time":Z})),clearTimeout(I.performance.timer),I.performance.timer=setTimeout(I.performance.display,500)},display:function(){var F=T.name+":",M=0;z=!1,clearTimeout(I.performance.timer),v.each(oe,function(Z,Pe){M+=Pe["Execution Time"]}),F+=" "+M+"ms",et&&(F+=" '"+et+"'"),(console.group!==A||console.table!==A)&&oe.length>0&&(console.groupCollapsed(F),console.table?console.table(oe):v.each(oe,function(Z,Pe){console.log(Pe.Name+": "+Pe["Execution Time"]+"ms")}),console.groupEnd()),oe=[]}},invoke:function(F,M,Z){var Pe=We,Ke,ot,ne;return M=M||L,Z=le||Z,typeof F=="string"&&Pe!==A&&(F=F.split(/[\. ]/),Ke=F.length-1,v.each(F,function(ae,Ve){var $=ae!=Ke?Ve+F[ae+1].charAt(0).toUpperCase()+F[ae+1].slice(1):F;if(v.isPlainObject(Pe[$])&&ae!=Ke)Pe=Pe[$];else{if(Pe[$]!==A)return ot=Pe[$],!1;if(v.isPlainObject(Pe[Ve])&&ae!=Ke)Pe=Pe[Ve];else return Pe[Ve]!==A?(ot=Pe[Ve],!1):(I.error(C.method,F),!1)}})),v.isFunction(ot)?ne=ot.apply(Z,M):ot!==A&&(ne=ot),Array.isArray(B)?B.push(ne):B!==A?B=[B,ne]:ne!==A&&(B=ne),ot}},N?(We===A&&I.initialize(),I.invoke(d)):(We!==A&&We.invoke("destroy"),I.initialize())}),B!==A?B:this},v.api.settings={name:"API",namespace:"api",debug:!1,verbose:!1,performance:!0,api:{},cache:!0,interruptRequests:!0,on:"auto",stateContext:!1,loadingDuration:0,hideError:"auto",errorDuration:2e3,encodeParameters:!0,action:!1,url:!1,base:"",urlData:{},defaultData:!0,serializeForm:!1,throttle:0,throttleFirstRequest:!0,method:"get",data:{},dataType:"json",mockResponse:!1,mockResponseAsync:!1,response:!1,responseAsync:!1,rawResponse:!1,beforeSend:function(g){return g},beforeXHR:function(g){},onRequest:function(g,me){},onResponse:!1,onSuccess:function(g,me){},onComplete:function(g,me){},onFailure:function(g,me){},onError:function(g,me){},onAbort:function(g,me){},successTest:!1,error:{beforeSend:"The before send function has aborted the request",error:"There was an error with your request",exitConditions:"API Request Aborted. Exit conditions met",JSONParse:"JSON could not be parsed during error handling",legacyParameters:"You are using legacy API success callback names",method:"The method you called is not defined",missingAction:"API action used but no url was defined",missingSerialize:"jquery-serialize-object is required to add form data to an existing data object",missingURL:"No URL specified for api event",noReturnedValue:"The beforeSend callback must return a settings object, beforeSend ignored.",noStorage:"Caching responses locally requires session storage",parseError:"There was an error parsing your request",requiredParameter:"Missing a required URL parameter: ",statusMessage:"Server gave an error: ",timeout:"Your request timed out"},regExp:{required:/\{\$*[A-z0-9]+\}/g,optional:/\{\/\$*[A-z0-9]+\}/g},className:{loading:"loading",error:"error"},selector:{disabled:".disabled",form:"form"},metadata:{action:"action",url:"url"}}})(jQuery,window,document);(function(v,yt,At,A){"use strict";v.isFunction=v.isFunction||function(g){return typeof g=="function"&&typeof g.nodeType!="number"},yt=typeof yt!="undefined"&&yt.Math==Math?yt:typeof self!="undefined"&&self.Math==Math?self:Function("return this")(),v.fn.checkbox=function(g){var me=v(this),et=me.selector||"",z=new Date().getTime(),oe=[],d=arguments[0],N=typeof d=="string",L=[].slice.call(arguments,1),B;return me.each(function(){var T=v.extend(!0,{},v.fn.checkbox.settings,g),H=T.className,se=T.namespace,n=T.selector,C=T.error,D="."+se,ge="module-"+se,de=v(this),be=v(this).children(n.label),we=v(this).children(n.input),Te=we[0],J=!1,s=!1,ce=de.data(ge),De,ke=this,le;le={initialize:function(){le.verbose("Initializing checkbox",T),le.create.label(),le.bind.events(),le.set.tabbable(),le.hide.input(),le.observeChanges(),le.instantiate(),le.setup()},instantiate:function(){le.verbose("Storing instance of module",le),ce=le,de.data(ge,le)},destroy:function(){le.verbose("Destroying module"),le.unbind.events(),le.show.input(),de.removeData(ge)},fix:{reference:function(){de.is(n.input)&&(le.debug("Behavior called on <input> adjusting invoked element"),de=de.closest(n.checkbox),le.refresh())}},setup:function(){le.set.initialLoad(),le.is.indeterminate()?(le.debug("Initial value is indeterminate"),le.indeterminate()):le.is.checked()?(le.debug("Initial value is checked"),le.check()):(le.debug("Initial value is unchecked"),le.uncheck()),le.remove.initialLoad()},refresh:function(){be=de.children(n.label),we=de.children(n.input),Te=we[0]},hide:{input:function(){le.verbose("Modifying <input> z-index to be unselectable"),we.addClass(H.hidden)}},show:{input:function(){le.verbose("Modifying <input> z-index to be selectable"),we.removeClass(H.hidden)}},observeChanges:function(){"MutationObserver"in yt&&(De=new MutationObserver(function(pe){le.debug("DOM tree modified, updating selector cache"),le.refresh()}),De.observe(ke,{childList:!0,subtree:!0}),le.debug("Setting up mutation observer",De))},attachEvents:function(pe,We){var I=v(pe);We=v.isFunction(le[We])?le[We]:le.toggle,I.length>0?(le.debug("Attaching checkbox events to element",pe,We),I.on("click"+D,We)):le.error(C.notFound)},preventDefaultOnInputTarget:function(){typeof event!="undefined"&&event!==null&&v(event.target).is(n.input)&&(le.verbose("Preventing default check action after manual check action"),event.preventDefault())},event:{change:function(pe){le.should.ignoreCallbacks()||T.onChange.call(Te)},click:function(pe){var We=v(pe.target);if(We.is(n.input)){le.verbose("Using default check action on initialized checkbox");return}if(We.is(n.link)){le.debug("Clicking link inside checkbox, skipping toggle");return}le.toggle(),we.focus(),pe.preventDefault()},keydown:function(pe){var We=pe.which,I={enter:13,space:32,escape:27,left:37,up:38,right:39,down:40},F=le.get.radios(),M=F.index(de),Z=F.length,Pe=!1;if(We==I.left||We==I.up?Pe=(M===0?Z:M)-1:(We==I.right||We==I.down)&&(Pe=M===Z-1?0:M+1),!le.should.ignoreCallbacks()&&Pe!==!1){if(T.beforeUnchecked.apply(Te)===!1)return le.verbose("Option not allowed to be unchecked, cancelling key navigation"),!1;if(T.beforeChecked.apply(v(F[Pe]).children(n.input)[0])===!1)return le.verbose("Next option should not allow check, cancelling key navigation"),!1}We==I.escape?(le.verbose("Escape key pressed blurring field"),we.blur(),s=!0):!pe.ctrlKey&&(We==I.space||We==I.enter&&T.enableEnterKey)?(le.verbose("Enter/space key pressed, toggling checkbox"),le.toggle(),s=!0):s=!1},keyup:function(pe){s&&pe.preventDefault()}},check:function(){!le.should.allowCheck()||(le.debug("Checking checkbox",we),le.set.checked(),le.should.ignoreCallbacks()||(T.onChecked.call(Te),le.trigger.change()),le.preventDefaultOnInputTarget())},uncheck:function(){!le.should.allowUncheck()||(le.debug("Unchecking checkbox"),le.set.unchecked(),le.should.ignoreCallbacks()||(T.onUnchecked.call(Te),le.trigger.change()),le.preventDefaultOnInputTarget())},indeterminate:function(){if(le.should.allowIndeterminate()){le.debug("Checkbox is already indeterminate");return}le.debug("Making checkbox indeterminate"),le.set.indeterminate(),le.should.ignoreCallbacks()||(T.onIndeterminate.call(Te),le.trigger.change())},determinate:function(){if(le.should.allowDeterminate()){le.debug("Checkbox is already determinate");return}le.debug("Making checkbox determinate"),le.set.determinate(),le.should.ignoreCallbacks()||(T.onDeterminate.call(Te),le.trigger.change())},enable:function(){if(le.is.enabled()){le.debug("Checkbox is already enabled");return}le.debug("Enabling checkbox"),le.set.enabled(),le.should.ignoreCallbacks()||(T.onEnable.call(Te),T.onEnabled.call(Te),le.trigger.change())},disable:function(){if(le.is.disabled()){le.debug("Checkbox is already disabled");return}le.debug("Disabling checkbox"),le.set.disabled(),le.should.ignoreCallbacks()||(T.onDisable.call(Te),T.onDisabled.call(Te),le.trigger.change())},get:{radios:function(){var pe=le.get.name();return v('input[name="'+pe+'"]').closest(n.checkbox)},otherRadios:function(){return le.get.radios().not(de)},name:function(){return we.attr("name")}},is:{initialLoad:function(){return J},radio:function(){return we.hasClass(H.radio)||we.attr("type")=="radio"},indeterminate:function(){return we.prop("indeterminate")!==A&&we.prop("indeterminate")},checked:function(){return we.prop("checked")!==A&&we.prop("checked")},disabled:function(){return we.prop("disabled")!==A&&we.prop("disabled")},enabled:function(){return!le.is.disabled()},determinate:function(){return!le.is.indeterminate()},unchecked:function(){return!le.is.checked()}},should:{allowCheck:function(){return le.is.determinate()&&le.is.checked()&&!le.is.initialLoad()?(le.debug("Should not allow check, checkbox is already checked"),!1):!le.should.ignoreCallbacks()&&T.beforeChecked.apply(Te)===!1?(le.debug("Should not allow check, beforeChecked cancelled"),!1):!0},allowUncheck:function(){return le.is.determinate()&&le.is.unchecked()&&!le.is.initialLoad()?(le.debug("Should not allow uncheck, checkbox is already unchecked"),!1):!le.should.ignoreCallbacks()&&T.beforeUnchecked.apply(Te)===!1?(le.debug("Should not allow uncheck, beforeUnchecked cancelled"),!1):!0},allowIndeterminate:function(){return le.is.indeterminate()&&!le.is.initialLoad()?(le.debug("Should not allow indeterminate, checkbox is already indeterminate"),!1):!le.should.ignoreCallbacks()&&T.beforeIndeterminate.apply(Te)===!1?(le.debug("Should not allow indeterminate, beforeIndeterminate cancelled"),!1):!0},allowDeterminate:function(){return le.is.determinate()&&!le.is.initialLoad()?(le.debug("Should not allow determinate, checkbox is already determinate"),!1):!le.should.ignoreCallbacks()&&T.beforeDeterminate.apply(Te)===!1?(le.debug("Should not allow determinate, beforeDeterminate cancelled"),!1):!0},ignoreCallbacks:function(){return J&&!T.fireOnInit}},can:{change:function(){return!(de.hasClass(H.disabled)||de.hasClass(H.readOnly)||we.prop("disabled")||we.prop("readonly"))},uncheck:function(){return typeof T.uncheckable=="boolean"?T.uncheckable:!le.is.radio()}},set:{initialLoad:function(){J=!0},checked:function(){if(le.verbose("Setting class to checked"),de.removeClass(H.indeterminate).addClass(H.checked),le.is.radio()&&le.uncheckOthers(),!le.is.indeterminate()&&le.is.checked()){le.debug("Input is already checked, skipping input property change");return}le.verbose("Setting state to checked",Te),we.prop("indeterminate",!1).prop("checked",!0)},unchecked:function(){if(le.verbose("Removing checked class"),de.removeClass(H.indeterminate).removeClass(H.checked),!le.is.indeterminate()&&le.is.unchecked()){le.debug("Input is already unchecked");return}le.debug("Setting state to unchecked"),we.prop("indeterminate",!1).prop("checked",!1)},indeterminate:function(){if(le.verbose("Setting class to indeterminate"),de.addClass(H.indeterminate),le.is.indeterminate()){le.debug("Input is already indeterminate, skipping input property change");return}le.debug("Setting state to indeterminate"),we.prop("indeterminate",!0)},determinate:function(){if(le.verbose("Removing indeterminate class"),de.removeClass(H.indeterminate),le.is.determinate()){le.debug("Input is already determinate, skipping input property change");return}le.debug("Setting state to determinate"),we.prop("indeterminate",!1)},disabled:function(){if(le.verbose("Setting class to disabled"),de.addClass(H.disabled),le.is.disabled()){le.debug("Input is already disabled, skipping input property change");return}le.debug("Setting state to disabled"),we.prop("disabled","disabled")},enabled:function(){if(le.verbose("Removing disabled class"),de.removeClass(H.disabled),le.is.enabled()){le.debug("Input is already enabled, skipping input property change");return}le.debug("Setting state to enabled"),we.prop("disabled",!1)},tabbable:function(){le.verbose("Adding tabindex to checkbox"),we.attr("tabindex")===A&&we.attr("tabindex",0)}},remove:{initialLoad:function(){J=!1}},trigger:{change:function(){var pe=we[0];if(pe){var We=At.createEvent("HTMLEvents");le.verbose("Triggering native change event"),We.initEvent("change",!0,!1),pe.dispatchEvent(We)}}},create:{label:function(){we.prevAll(n.label).length>0?(we.prev(n.label).detach().insertAfter(we),le.debug("Moving existing label",be)):le.has.label()||(be=v("<label>").insertAfter(we),le.debug("Creating label",be))}},has:{label:function(){return be.length>0}},bind:{events:function(){le.verbose("Attaching checkbox events"),de.on("click"+D,le.event.click).on("change"+D,le.event.change).on("keydown"+D,n.input,le.event.keydown).on("keyup"+D,n.input,le.event.keyup)}},unbind:{events:function(){le.debug("Removing events"),de.off(D)}},uncheckOthers:function(){var pe=le.get.otherRadios();le.debug("Unchecking other radios",pe),pe.removeClass(H.checked)},toggle:function(){if(!le.can.change()){le.is.radio()||le.debug("Checkbox is read-only or disabled, ignoring toggle");return}le.is.indeterminate()||le.is.unchecked()?(le.debug("Currently unchecked"),le.check()):le.is.checked()&&le.can.uncheck()&&(le.debug("Currently checked"),le.uncheck())},setting:function(pe,We){if(le.debug("Changing setting",pe,We),v.isPlainObject(pe))v.extend(!0,T,pe);else if(We!==A)v.isPlainObject(T[pe])?v.extend(!0,T[pe],We):T[pe]=We;else return T[pe]},internal:function(pe,We){if(v.isPlainObject(pe))v.extend(!0,le,pe);else if(We!==A)le[pe]=We;else return le[pe]},debug:function(){!T.silent&&T.debug&&(T.performance?le.performance.log(arguments):(le.debug=Function.prototype.bind.call(console.info,console,T.name+":"),le.debug.apply(console,arguments)))},verbose:function(){!T.silent&&T.verbose&&T.debug&&(T.performance?le.performance.log(arguments):(le.verbose=Function.prototype.bind.call(console.info,console,T.name+":"),le.verbose.apply(console,arguments)))},error:function(){T.silent||(le.error=Function.prototype.bind.call(console.error,console,T.name+":"),le.error.apply(console,arguments))},performance:{log:function(pe){var We,I,F;T.performance&&(We=new Date().getTime(),F=z||We,I=We-F,z=We,oe.push({Name:pe[0],Arguments:[].slice.call(pe,1)||"",Element:ke,"Execution Time":I})),clearTimeout(le.performance.timer),le.performance.timer=setTimeout(le.performance.display,500)},display:function(){var pe=T.name+":",We=0;z=!1,clearTimeout(le.performance.timer),v.each(oe,function(I,F){We+=F["Execution Time"]}),pe+=" "+We+"ms",et&&(pe+=" '"+et+"'"),(console.group!==A||console.table!==A)&&oe.length>0&&(console.groupCollapsed(pe),console.table?console.table(oe):v.each(oe,function(I,F){console.log(F.Name+": "+F["Execution Time"]+"ms")}),console.groupEnd()),oe=[]}},invoke:function(pe,We,I){var F=ce,M,Z,Pe;return We=We||L,I=ke||I,typeof pe=="string"&&F!==A&&(pe=pe.split(/[\. ]/),M=pe.length-1,v.each(pe,function(Ke,ot){var ne=Ke!=M?ot+pe[Ke+1].charAt(0).toUpperCase()+pe[Ke+1].slice(1):pe;if(v.isPlainObject(F[ne])&&Ke!=M)F=F[ne];else{if(F[ne]!==A)return Z=F[ne],!1;if(v.isPlainObject(F[ot])&&Ke!=M)F=F[ot];else return F[ot]!==A?(Z=F[ot],!1):(le.error(C.method,pe),!1)}})),v.isFunction(Z)?Pe=Z.apply(I,We):Z!==A&&(Pe=Z),Array.isArray(B)?B.push(Pe):B!==A?B=[B,Pe]:Pe!==A&&(B=Pe),Z}},N?(ce===A&&le.initialize(),le.invoke(d)):(ce!==A&&ce.invoke("destroy"),le.initialize())}),B!==A?B:this},v.fn.checkbox.settings={name:"Checkbox",namespace:"checkbox",silent:!1,debug:!1,verbose:!0,performance:!0,uncheckable:"auto",fireOnInit:!1,enableEnterKey:!0,onChange:function(){},beforeChecked:function(){},beforeUnchecked:function(){},beforeDeterminate:function(){},beforeIndeterminate:function(){},onChecked:function(){},onUnchecked:function(){},onDeterminate:function(){},onIndeterminate:function(){},onEnable:function(){},onDisable:function(){},onEnabled:function(){},onDisabled:function(){},className:{checked:"checked",indeterminate:"indeterminate",disabled:"disabled",hidden:"hidden",radio:"radio",readOnly:"read-only"},error:{method:"The method you called is not defined"},selector:{checkbox:".ui.checkbox",label:"label, .box",input:'input[type="checkbox"], input[type="radio"]',link:"a[href]"}}})(jQuery,window,document);(function(v,yt,At,A){"use strict";v.isFunction=v.isFunction||function(g){return typeof g=="function"&&typeof g.nodeType!="number"},yt=typeof yt!="undefined"&&yt.Math==Math?yt:typeof self!="undefined"&&self.Math==Math?self:Function("return this")(),v.fn.dimmer=function(g){var me=v(this),et=new Date().getTime(),z=[],oe=arguments[0],d=typeof oe=="string",N=[].slice.call(arguments,1),L;return me.each(function(){var B=v.isPlainObject(g)?v.extend(!0,{},v.fn.dimmer.settings,g):v.extend({},v.fn.dimmer.settings),T=B.selector,H=B.namespace,se=B.className,n=B.error,C="."+H,D="module-"+H,ge=me.selector||"",de="ontouchstart"in At.documentElement?"touchstart":"click",be=v(this),we,Te,J=this,s=be.data(D),ce;ce={preinitialize:function(){ce.is.dimmer()?(Te=be.parent(),we=be):(Te=be,ce.has.dimmer()?B.dimmerName?we=Te.find(T.dimmer).filter("."+B.dimmerName):we=Te.find(T.dimmer):we=ce.create())},initialize:function(){ce.debug("Initializing dimmer",B),ce.bind.events(),ce.set.dimmable(),ce.instantiate()},instantiate:function(){ce.verbose("Storing instance of module",ce),s=ce,be.data(D,s)},destroy:function(){ce.verbose("Destroying previous module",we),ce.unbind.events(),ce.remove.variation(),Te.off(C)},bind:{events:function(){B.on=="hover"?Te.on("mouseenter"+C,ce.show).on("mouseleave"+C,ce.hide):B.on=="click"&&Te.on(de+C,ce.toggle),ce.is.page()&&(ce.debug("Setting as a page dimmer",Te),ce.set.pageDimmer()),ce.is.closable()&&(ce.verbose("Adding dimmer close event",we),Te.on(de+C,T.dimmer,ce.event.click))}},unbind:{events:function(){be.removeData(D),Te.off(C)}},event:{click:function(De){ce.verbose("Determining if event occured on dimmer",De),(we.find(De.target).length===0||v(De.target).is(T.content))&&(ce.hide(),De.stopImmediatePropagation())}},addContent:function(De){var ke=v(De);ce.debug("Add content to dimmer",ke),ke.parent()[0]!==we[0]&&ke.detach().appendTo(we)},create:function(){var De=v(B.template.dimmer(B));return B.dimmerName&&(ce.debug("Creating named dimmer",B.dimmerName),De.addClass(B.dimmerName)),De.appendTo(Te),De},show:function(De){De=v.isFunction(De)?De:function(){},ce.debug("Showing dimmer",we,B),ce.set.variation(),(!ce.is.dimmed()||ce.is.animating())&&ce.is.enabled()?(ce.animate.show(De),B.onShow.call(J),B.onChange.call(J)):ce.debug("Dimmer is already shown or disabled")},hide:function(De){De=v.isFunction(De)?De:function(){},ce.is.dimmed()||ce.is.animating()?(ce.debug("Hiding dimmer",we),ce.animate.hide(De),B.onHide.call(J),B.onChange.call(J)):ce.debug("Dimmer is not visible")},toggle:function(){ce.verbose("Toggling dimmer visibility",we),ce.is.dimmed()?ce.is.closable()&&ce.hide():ce.show()},animate:{show:function(De){De=v.isFunction(De)?De:function(){},B.useCSS&&v.fn.transition!==A&&we.transition("is supported")?(B.useFlex?(ce.debug("Using flex dimmer"),ce.remove.legacy()):(ce.debug("Using legacy non-flex dimmer"),ce.set.legacy()),B.opacity!=="auto"&&ce.set.opacity(),we.transition({displayType:B.useFlex?"flex":"block",animation:B.transition+" in",queue:!1,duration:ce.get.duration(),useFailSafe:!0,onStart:function(){ce.set.dimmed()},onComplete:function(){ce.set.active(),De()}})):(ce.verbose("Showing dimmer animation with javascript"),ce.set.dimmed(),B.opacity=="auto"&&(B.opacity=.8),we.stop().css({opacity:0,width:"100%",height:"100%"}).fadeTo(ce.get.duration(),B.opacity,function(){we.removeAttr("style"),ce.set.active(),De()}))},hide:function(De){De=v.isFunction(De)?De:function(){},B.useCSS&&v.fn.transition!==A&&we.transition("is supported")?(ce.verbose("Hiding dimmer with css"),we.transition({displayType:B.useFlex?"flex":"block",animation:B.transition+" out",queue:!1,duration:ce.get.duration(),useFailSafe:!0,onComplete:function(){ce.remove.dimmed(),ce.remove.variation(),ce.remove.active(),De()}})):(ce.verbose("Hiding dimmer with javascript"),we.stop().fadeOut(ce.get.duration(),function(){ce.remove.dimmed(),ce.remove.active(),we.removeAttr("style"),De()}))}},get:{dimmer:function(){return we},duration:function(){return typeof B.duration=="object"?ce.is.active()?B.duration.hide:B.duration.show:B.duration}},has:{dimmer:function(){return B.dimmerName?be.find(T.dimmer).filter("."+B.dimmerName).length>0:be.find(T.dimmer).length>0}},is:{active:function(){return we.hasClass(se.active)},animating:function(){return we.is(":animated")||we.hasClass(se.animating)},closable:function(){return B.closable=="auto"?B.on!="hover":B.closable},dimmer:function(){return be.hasClass(se.dimmer)},dimmable:function(){return be.hasClass(se.dimmable)},dimmed:function(){return Te.hasClass(se.dimmed)},disabled:function(){return Te.hasClass(se.disabled)},enabled:function(){return!ce.is.disabled()},page:function(){return Te.is("body")},pageDimmer:function(){return we.hasClass(se.pageDimmer)}},can:{show:function(){return!we.hasClass(se.disabled)}},set:{opacity:function(De){var ke=we.css("background-color"),le=ke.split(","),pe=le&&le.length>=3;De=B.opacity===0?0:B.opacity||De,pe?(le[2]=le[2].replace(")",""),le[3]=De+")",ke=le.join(",")):ke="rgba(0, 0, 0, "+De+")",ce.debug("Setting opacity to",De),we.css("background-color",ke)},legacy:function(){we.addClass(se.legacy)},active:function(){we.addClass(se.active)},dimmable:function(){Te.addClass(se.dimmable)},dimmed:function(){Te.addClass(se.dimmed)},pageDimmer:function(){we.addClass(se.pageDimmer)},disabled:function(){we.addClass(se.disabled)},variation:function(De){De=De||B.variation,De&&we.addClass(De)}},remove:{active:function(){we.removeClass(se.active)},legacy:function(){we.removeClass(se.legacy)},dimmed:function(){Te.removeClass(se.dimmed)},disabled:function(){we.removeClass(se.disabled)},variation:function(De){De=De||B.variation,De&&we.removeClass(De)}},setting:function(De,ke){if(ce.debug("Changing setting",De,ke),v.isPlainObject(De))v.extend(!0,B,De);else if(ke!==A)v.isPlainObject(B[De])?v.extend(!0,B[De],ke):B[De]=ke;else return B[De]},internal:function(De,ke){if(v.isPlainObject(De))v.extend(!0,ce,De);else if(ke!==A)ce[De]=ke;else return ce[De]},debug:function(){!B.silent&&B.debug&&(B.performance?ce.performance.log(arguments):(ce.debug=Function.prototype.bind.call(console.info,console,B.name+":"),ce.debug.apply(console,arguments)))},verbose:function(){!B.silent&&B.verbose&&B.debug&&(B.performance?ce.performance.log(arguments):(ce.verbose=Function.prototype.bind.call(console.info,console,B.name+":"),ce.verbose.apply(console,arguments)))},error:function(){B.silent||(ce.error=Function.prototype.bind.call(console.error,console,B.name+":"),ce.error.apply(console,arguments))},performance:{log:function(De){var ke,le,pe;B.performance&&(ke=new Date().getTime(),pe=et||ke,le=ke-pe,et=ke,z.push({Name:De[0],Arguments:[].slice.call(De,1)||"",Element:J,"Execution Time":le})),clearTimeout(ce.performance.timer),ce.performance.timer=setTimeout(ce.performance.display,500)},display:function(){var De=B.name+":",ke=0;et=!1,clearTimeout(ce.performance.timer),v.each(z,function(le,pe){ke+=pe["Execution Time"]}),De+=" "+ke+"ms",ge&&(De+=" '"+ge+"'"),me.length>1&&(De+=" ("+me.length+")"),(console.group!==A||console.table!==A)&&z.length>0&&(console.groupCollapsed(De),console.table?console.table(z):v.each(z,function(le,pe){console.log(pe.Name+": "+pe["Execution Time"]+"ms")}),console.groupEnd()),z=[]}},invoke:function(De,ke,le){var pe=s,We,I,F;return ke=ke||N,le=J||le,typeof De=="string"&&pe!==A&&(De=De.split(/[\. ]/),We=De.length-1,v.each(De,function(M,Z){var Pe=M!=We?Z+De[M+1].charAt(0).toUpperCase()+De[M+1].slice(1):De;if(v.isPlainObject(pe[Pe])&&M!=We)pe=pe[Pe];else{if(pe[Pe]!==A)return I=pe[Pe],!1;if(v.isPlainObject(pe[Z])&&M!=We)pe=pe[Z];else return pe[Z]!==A?(I=pe[Z],!1):(ce.error(n.method,De),!1)}})),v.isFunction(I)?F=I.apply(le,ke):I!==A&&(F=I),Array.isArray(L)?L.push(F):L!==A?L=[L,F]:F!==A&&(L=F),I}},ce.preinitialize(),d?(s===A&&ce.initialize(),ce.invoke(oe)):(s!==A&&s.invoke("destroy"),ce.initialize())}),L!==A?L:this},v.fn.dimmer.settings={name:"Dimmer",namespace:"dimmer",silent:!1,debug:!1,verbose:!1,performance:!0,useFlex:!0,dimmerName:!1,variation:!1,closable:"auto",useCSS:!0,transition:"fade",on:!1,opacity:"auto",duration:{show:500,hide:500},displayLoader:!1,loaderText:!1,loaderVariation:"",onChange:function(){},onShow:function(){},onHide:function(){},error:{method:"The method you called is not defined."},className:{active:"active",animating:"animating",dimmable:"dimmable",dimmed:"dimmed",dimmer:"dimmer",disabled:"disabled",hide:"hide",legacy:"legacy",pageDimmer:"page",show:"show",loader:"ui loader"},selector:{dimmer:"> .ui.dimmer",content:".ui.dimmer > .content, .ui.dimmer > .content > .center"},template:{dimmer:function(g){var me=v("<div/>").addClass("ui dimmer"),et;return g.displayLoader&&(et=v("<div/>").addClass(g.className.loader).addClass(g.loaderVariation),g.loaderText&&(et.text(g.loaderText),et.addClass("text")),me.append(et)),me}}}})(jQuery,window,document);(function(v,yt,At,A){"use strict";v.isFunction=v.isFunction||function(g){return typeof g=="function"&&typeof g.nodeType!="number"},yt=typeof yt!="undefined"&&yt.Math==Math?yt:typeof self!="undefined"&&self.Math==Math?self:Function("return this")(),v.fn.dropdown=function(g){var me=v(this),et=v(At),z=me.selector||"",oe="ontouchstart"in At.documentElement,d=oe?"touchstart":"click",N=new Date().getTime(),L=[],B=arguments[0],T=typeof B=="string",H=[].slice.call(arguments,1),se;return me.each(function(n){var C=v.isPlainObject(g)?v.extend(!0,{},v.fn.dropdown.settings,g):v.extend({},v.fn.dropdown.settings),D=C.className,ge=C.message,de=C.fields,be=C.keys,we=C.metadata,Te=C.namespace,J=C.regExp,s=C.selector,ce=C.error,De=C.templates,ke="."+Te,le="module-"+Te,pe=v(this),We=v(C.context),I=pe.find(s.text),F=pe.find(s.search),M=pe.find(s.sizer),Z=pe.find(s.input),Pe=pe.find(s.icon),Ke=pe.find(s.clearIcon),ot=pe.prev().find(s.text).length>0?pe.prev().find(s.text):pe.prev(),ne=pe.children(s.menu),ae=ne.find(s.item),Ve=C.hideDividers?ae.parent().children(s.divider):v(),$=!1,Ee=!1,tt=!1,St=!1,pt=this,Ot=pe.data(le),ui,Qt,Ui,Ki,Gi,pn,zi,Ft,bn,h;h={initialize:function(){h.debug("Initializing dropdown",C),h.is.alreadySetup()?h.setup.reference():(C.ignoreDiacritics&&!String.prototype.normalize&&(C.ignoreDiacritics=!1,h.error(ce.noNormalize,pt)),h.setup.layout(),C.values&&(h.set.initialLoad(),h.change.values(C.values),h.remove.initialLoad()),h.refreshData(),h.save.defaults(),h.restore.selected(),h.create.id(),h.bind.events(),h.observeChanges(),h.instantiate())},instantiate:function(){h.verbose("Storing instance of dropdown",h),Ot=h,pe.data(le,h)},destroy:function(){h.verbose("Destroying previous dropdown",pe),h.remove.tabbable(),h.remove.active(),ne.transition("stop all"),ne.removeClass(D.visible).addClass(D.hidden),pe.off(ke).removeData(le),ne.off(ke),et.off(Gi),h.disconnect.menuObserver(),h.disconnect.selectObserver(),h.disconnect.classObserver()},observeChanges:function(){"MutationObserver"in yt&&(zi=new MutationObserver(h.event.select.mutation),Ft=new MutationObserver(h.event.menu.mutation),bn=new MutationObserver(h.event.class.mutation),h.debug("Setting up mutation observer",zi,Ft,bn),h.observe.select(),h.observe.menu(),h.observe.class())},disconnect:{menuObserver:function(){Ft&&Ft.disconnect()},selectObserver:function(){zi&&zi.disconnect()},classObserver:function(){bn&&bn.disconnect()}},observe:{select:function(){h.has.input()&&zi&&zi.observe(pe[0],{childList:!0,subtree:!0})},menu:function(){h.has.menu()&&Ft&&Ft.observe(ne[0],{childList:!0,subtree:!0})},class:function(){h.has.search()&&bn&&bn.observe(pe[0],{attributes:!0})}},create:{id:function(){pn=(Math.random().toString(16)+"000000000").substr(2,8),Gi="."+pn,h.verbose("Creating unique id for element",pn)},userChoice:function(E){var ee,He,Ue,at;return E=E||h.get.userValues(),E?(E=Array.isArray(E)?E:[E],v.each(E,function(K,Ct){h.get.item(Ct)===!1&&(at=C.templates.addition(h.add.variables(ge.addResult,Ct)),He=v("<div />").html(at).attr("data-"+we.value,Ct).attr("data-"+we.text,Ct).addClass(D.addition).addClass(D.item),C.hideAdditions&&He.addClass(D.hidden),ee=ee===A?He:ee.add(He),h.verbose("Creating user choices for value",Ct,He))}),ee):!1},userLabels:function(E){var ee=h.get.userValues();ee&&(h.debug("Adding user labels",ee),v.each(ee,function(He,Ue){h.verbose("Adding custom user value"),h.add.label(Ue,Ue)}))},menu:function(){ne=v("<div />").addClass(D.menu).appendTo(pe)},sizer:function(){M=v("<span />").addClass(D.sizer).insertAfter(F)}},search:function(E){E=E!==A?E:h.get.query(),h.verbose("Searching for query",E),h.has.minCharacters(E)?h.filter(E):h.hide(null,!0)},select:{firstUnfiltered:function(){h.verbose("Selecting first non-filtered element"),h.remove.selectedItem(),ae.not(s.unselectable).not(s.addition+s.hidden).eq(0).addClass(D.selected)},nextAvailable:function(E){E=E.eq(0);var ee=E.nextAll(s.item).not(s.unselectable).eq(0),He=E.prevAll(s.item).not(s.unselectable).eq(0),Ue=ee.length>0;Ue?(h.verbose("Moving selection to",ee),ee.addClass(D.selected)):(h.verbose("Moving selection to",He),He.addClass(D.selected))}},setup:{api:function(){var E={debug:C.debug,urlData:{value:h.get.value(),query:h.get.query()},on:!1};h.verbose("First request, initializing API"),pe.api(E)},layout:function(){pe.is("select")&&(h.setup.select(),h.setup.returnedObject()),h.has.menu()||h.create.menu(),h.is.selection()&&h.is.clearable()&&!h.has.clearItem()&&(h.verbose("Adding clear icon"),Ke=v("<i />").addClass("remove icon").insertBefore(I)),h.is.search()&&!h.has.search()&&(h.verbose("Adding search input"),F=v("<input />").addClass(D.search).prop("autocomplete","off").insertBefore(I)),h.is.multiple()&&h.is.searchSelection()&&!h.has.sizer()&&h.create.sizer(),C.allowTab&&h.set.tabbable()},select:function(){var E=h.get.selectValues();h.debug("Dropdown initialized on a select",E),pe.is("select")&&(Z=pe),Z.parent(s.dropdown).length>0?(h.debug("UI dropdown already exists. Creating dropdown menu only"),pe=Z.closest(s.dropdown),h.has.menu()||h.create.menu(),ne=pe.children(s.menu),h.setup.menu(E)):(h.debug("Creating entire dropdown from select"),pe=v("<div />").attr("class",Z.attr("class")).addClass(D.selection).addClass(D.dropdown).html(De.dropdown(E,de,C.preserveHTML,C.className)).insertBefore(Z),Z.hasClass(D.multiple)&&Z.prop("multiple")===!1&&(h.error(ce.missingMultiple),Z.prop("multiple",!0)),Z.is("[multiple]")&&h.set.multiple(),Z.prop("disabled")&&(h.debug("Disabling dropdown"),pe.addClass(D.disabled)),Z.removeAttr("required").removeAttr("class").detach().prependTo(pe)),h.refresh()},menu:function(E){ne.html(De.menu(E,de,C.preserveHTML,C.className)),ae=ne.find(s.item),Ve=C.hideDividers?ae.parent().children(s.divider):v()},reference:function(){h.debug("Dropdown behavior was called on select, replacing with closest dropdown"),pe=pe.parent(s.dropdown),Ot=pe.data(le),pt=pe.get(0),h.refresh(),h.setup.returnedObject()},returnedObject:function(){var E=me.slice(0,n),ee=me.slice(n+1);me=E.add(pe).add(ee)}},refresh:function(){h.refreshSelectors(),h.refreshData()},refreshItems:function(){ae=ne.find(s.item),Ve=C.hideDividers?ae.parent().children(s.divider):v()},refreshSelectors:function(){h.verbose("Refreshing selector cache"),I=pe.find(s.text),F=pe.find(s.search),Z=pe.find(s.input),Pe=pe.find(s.icon),ot=pe.prev().find(s.text).length>0?pe.prev().find(s.text):pe.prev(),ne=pe.children(s.menu),ae=ne.find(s.item),Ve=C.hideDividers?ae.parent().children(s.divider):v()},refreshData:function(){h.verbose("Refreshing cached metadata"),ae.removeData(we.text).removeData(we.value)},clearData:function(){h.verbose("Clearing metadata"),ae.removeData(we.text).removeData(we.value),pe.removeData(we.defaultText).removeData(we.defaultValue).removeData(we.placeholderText)},toggle:function(){h.verbose("Toggling menu visibility"),h.is.active()?h.hide():h.show()},show:function(E,ee){if(E=v.isFunction(E)?E:function(){},!h.can.show()&&h.is.remote()&&(h.debug("No API results retrieved, searching before show"),h.queryRemote(h.get.query(),h.show)),h.can.show()&&!h.is.active()){if(h.debug("Showing dropdown"),h.has.message()&&!(h.has.maxSelections()||h.has.allResultsFiltered())&&h.remove.message(),h.is.allFiltered())return!0;C.onShow.call(pt)!==!1&&h.animate.show(function(){h.can.click()&&h.bind.intent(),h.has.search()&&!ee&&h.focusSearch(),h.set.visible(),E.call(pt)})}},hide:function(E,ee){E=v.isFunction(E)?E:function(){},h.is.active()&&!h.is.animatingOutward()?(h.debug("Hiding dropdown"),C.onHide.call(pt)!==!1&&h.animate.hide(function(){h.remove.visible(),h.is.focusedOnSearch()&&ee!==!0&&F.blur(),E.call(pt)})):h.can.click()&&h.unbind.intent(),St=!1},hideOthers:function(){h.verbose("Finding other dropdowns to hide"),me.not(pe).has(s.menu+"."+D.visible).dropdown("hide")},hideMenu:function(){h.verbose("Hiding menu instantaneously"),h.remove.active(),h.remove.visible(),ne.transition("hide")},hideSubMenus:function(){var E=ne.children(s.item).find(s.menu);h.verbose("Hiding sub menus",E),E.transition("hide")},bind:{events:function(){h.bind.keyboardEvents(),h.bind.inputEvents(),h.bind.mouseEvents()},keyboardEvents:function(){h.verbose("Binding keyboard events"),pe.on("keydown"+ke,h.event.keydown),h.has.search()&&pe.on(h.get.inputEvent()+ke,s.search,h.event.input),h.is.multiple()&&et.on("keydown"+Gi,h.event.document.keydown)},inputEvents:function(){h.verbose("Binding input change events"),pe.on("change"+ke,s.input,h.event.change)},mouseEvents:function(){h.verbose("Binding mouse events"),h.is.multiple()&&pe.on(d+ke,s.label,h.event.label.click).on(d+ke,s.remove,h.event.remove.click),h.is.searchSelection()?(pe.on("mousedown"+ke,h.event.mousedown).on("mouseup"+ke,h.event.mouseup).on("mousedown"+ke,s.menu,h.event.menu.mousedown).on("mouseup"+ke,s.menu,h.event.menu.mouseup).on(d+ke,s.icon,h.event.icon.click).on(d+ke,s.clearIcon,h.event.clearIcon.click).on("focus"+ke,s.search,h.event.search.focus).on(d+ke,s.search,h.event.search.focus).on("blur"+ke,s.search,h.event.search.blur).on(d+ke,s.text,h.event.text.focus),h.is.multiple()&&pe.on(d+ke,h.event.click)):(C.on=="click"?pe.on(d+ke,s.icon,h.event.icon.click).on(d+ke,h.event.test.toggle):C.on=="hover"?pe.on("mouseenter"+ke,h.delay.show).on("mouseleave"+ke,h.delay.hide):pe.on(C.on+ke,h.toggle),pe.on("mousedown"+ke,h.event.mousedown).on("mouseup"+ke,h.event.mouseup).on("focus"+ke,h.event.focus).on(d+ke,s.clearIcon,h.event.clearIcon.click),h.has.menuSearch()?pe.on("blur"+ke,s.search,h.event.search.blur):pe.on("blur"+ke,h.event.blur)),ne.on((oe?"touchstart":"mouseenter")+ke,s.item,h.event.item.mouseenter).on("mouseleave"+ke,s.item,h.event.item.mouseleave).on("click"+ke,s.item,h.event.item.click)},intent:function(){h.verbose("Binding hide intent event to document"),oe&&et.on("touchstart"+Gi,h.event.test.touch).on("touchmove"+Gi,h.event.test.touch),et.on(d+Gi,h.event.test.hide)}},unbind:{intent:function(){h.verbose("Removing hide intent event from document"),oe&&et.off("touchstart"+Gi).off("touchmove"+Gi),et.off(d+Gi)}},filter:function(E){var ee=E!==A?E:h.get.query(),He=function(){h.is.multiple()&&h.filterActive(),(E||!E&&h.get.activeItem().length==0)&&h.select.firstUnfiltered(),h.has.allResultsFiltered()?C.onNoResults.call(pt,ee)?C.allowAdditions?C.hideAdditions&&(h.verbose("User addition with no menu, setting empty style"),h.set.empty(),h.hideMenu()):(h.verbose("All items filtered, showing message",ee),h.add.message(ge.noResults)):(h.verbose("All items filtered, hiding dropdown",ee),h.hideMenu()):(h.remove.empty(),h.remove.message()),C.allowAdditions&&h.add.userSuggestion(h.escape.htmlEntities(E)),h.is.searchSelection()&&h.can.show()&&h.is.focusedOnSearch()&&h.show()};C.useLabels&&h.has.maxSelections()||(C.apiSettings?h.can.useAPI()?h.queryRemote(ee,function(){C.filterRemoteData&&h.filterItems(ee);var Ue=Z.val();Array.isArray(Ue)||(Ue=Ue&&Ue!==""?Ue.split(C.delimiter):[]),v.each(Ue,function(at,K){ae.filter('[data-value="'+K+'"]').addClass(D.filtered)}),He()}):h.error(ce.noAPI):(h.filterItems(ee),He()))},queryRemote:function(E,ee){var He={errorDuration:!1,cache:"local",throttle:C.throttle,urlData:{query:E},onError:function(){h.add.message(ge.serverError),ee()},onFailure:function(){h.add.message(ge.serverError),ee()},onSuccess:function(Ue){var at=Ue[de.remoteValues];Array.isArray(at)||(at=[]),h.remove.message();var K={};K[de.values]=at,h.setup.menu(K),at.length===0&&!C.allowAdditions&&h.add.message(ge.noResults),ee()}};pe.api("get request")||h.setup.api(),He=v.extend(!0,{},He,C.apiSettings),pe.api("setting",He).api("query")},filterItems:function(E){var ee=h.remove.diacritics(E!==A?E:h.get.query()),He=null,Ue=h.escape.string(ee),at=(C.ignoreSearchCase?"i":"")+"gm",K=new RegExp("^"+Ue,at);h.has.query()&&(He=[],h.verbose("Searching for matching values",ee),ae.each(function(){var Ct=v(this),Hi,Fi;if(Ct.hasClass(D.unfilterable))return He.push(this),!0;if(C.match==="both"||C.match==="text"){if(Hi=h.remove.diacritics(String(h.get.choiceText(Ct,!1))),Hi.search(K)!==-1)return He.push(this),!0;if(C.fullTextSearch==="exact"&&h.exactSearch(ee,Hi))return He.push(this),!0;if(C.fullTextSearch===!0&&h.fuzzySearch(ee,Hi))return He.push(this),!0}if(C.match==="both"||C.match==="value"){if(Fi=h.remove.diacritics(String(h.get.choiceValue(Ct,Hi))),Fi.search(K)!==-1)return He.push(this),!0;if(C.fullTextSearch==="exact"&&h.exactSearch(ee,Fi))return He.push(this),!0;if(C.fullTextSearch===!0&&h.fuzzySearch(ee,Fi))return He.push(this),!0}})),h.debug("Showing only matched items",ee),h.remove.filteredItem(),He&&ae.not(He).addClass(D.filtered),h.has.query()?C.hideDividers===!0?Ve.addClass(D.hidden):C.hideDividers==="empty"&&Ve.removeClass(D.hidden).filter(function(){var Ct=v(this).nextUntil(s.item);return(Ct.length?Ct:v(this)).nextUntil(s.divider).filter(s.item+":not(."+D.filtered+")").length===0}).addClass(D.hidden):Ve.removeClass(D.hidden)},fuzzySearch:function(E,ee){var He=ee.length,Ue=E.length;if(E=C.ignoreSearchCase?E.toLowerCase():E,ee=C.ignoreSearchCase?ee.toLowerCase():ee,Ue>He)return!1;if(Ue===He)return E===ee;e:for(var at=0,K=0;at<Ue;at++){for(var Ct=E.charCodeAt(at);K<He;)if(ee.charCodeAt(K++)===Ct)continue e;return!1}return!0},exactSearch:function(E,ee){return E=C.ignoreSearchCase?E.toLowerCase():E,ee=C.ignoreSearchCase?ee.toLowerCase():ee,ee.indexOf(E)>-1},filterActive:function(){C.useLabels&&ae.filter("."+D.active).addClass(D.filtered)},focusSearch:function(E){h.has.search()&&!h.is.focusedOnSearch()&&(E?(pe.off("focus"+ke,s.search),F.focus(),pe.on("focus"+ke,s.search,h.event.search.focus)):F.focus())},blurSearch:function(){h.has.search()&&F.blur()},forceSelection:function(){var E=ae.not(D.filtered).filter("."+D.selected).eq(0),ee=ae.not(D.filtered).filter("."+D.active).eq(0),He=E.length>0?E:ee,Ue=He.length>0;C.allowAdditions||Ue&&!h.is.multiple()?(h.debug("Forcing partial selection to selected item",He),h.event.item.click.call(He,{},!0)):h.remove.searchTerm()},change:{values:function(E){C.allowAdditions||h.clear(),h.debug("Creating dropdown with specified values",E);var ee={};ee[de.values]=E,h.setup.menu(ee),v.each(E,function(He,Ue){if(Ue.selected==!0&&(h.debug("Setting initial selection to",Ue[de.value]),h.set.selected(Ue[de.value]),!h.is.multiple()))return!1}),h.has.selectInput()&&(h.disconnect.selectObserver(),Z.html(""),Z.append("<option disabled selected value></option>"),v.each(E,function(He,Ue){var at=C.templates.deQuote(Ue[de.value]),K=C.templates.escape(Ue[de.name]||"",C.preserveHTML);Z.append('<option value="'+at+'">'+K+"</option>")}),h.observe.select())}},event:{change:function(){tt||(h.debug("Input changed, updating selection"),h.set.selected())},focus:function(){C.showOnFocus&&!$&&h.is.hidden()&&!Ui&&h.show()},blur:function(E){Ui=At.activeElement===this,!$&&!Ui&&(h.remove.activeLabel(),h.hide())},mousedown:function(){h.is.searchSelection()?Ki=!0:$=!0},mouseup:function(){h.is.searchSelection()?Ki=!1:$=!1},click:function(E){var ee=v(E.target);ee.is(pe)&&(h.is.focusedOnSearch()?h.show():h.focusSearch())},search:{focus:function(E){$=!0,h.is.multiple()&&h.remove.activeLabel(),(C.showOnFocus||E.type!=="focus"&&E.type!=="focusin")&&h.search()},blur:function(E){Ui=At.activeElement===this,h.is.searchSelection()&&!Ki&&!Ee&&!Ui&&(C.forceSelection?h.forceSelection():C.allowAdditions||h.remove.searchTerm(),h.hide()),Ki=!1}},clearIcon:{click:function(E){h.clear(),h.is.searchSelection()&&h.remove.searchTerm(),h.hide(),E.stopPropagation()}},icon:{click:function(E){St=!0,h.has.search()?h.is.active()?h.blurSearch():C.showOnFocus?h.focusSearch():h.toggle():h.toggle()}},text:{focus:function(E){$=!0,h.focusSearch()}},input:function(E){(h.is.multiple()||h.is.searchSelection())&&h.set.filtered(),clearTimeout(h.timer),h.timer=setTimeout(h.search,C.delay.search)},label:{click:function(E){var ee=v(this),He=pe.find(s.label),Ue=He.filter("."+D.active),at=ee.nextAll("."+D.active),K=ee.prevAll("."+D.active),Ct=at.length>0?ee.nextUntil(at).add(Ue).add(ee):ee.prevUntil(K).add(Ue).add(ee);E.shiftKey?(Ue.removeClass(D.active),Ct.addClass(D.active)):E.ctrlKey?ee.toggleClass(D.active):(Ue.removeClass(D.active),ee.addClass(D.active)),C.onLabelSelect.apply(this,He.filter("."+D.active))}},remove:{click:function(){var E=v(this).parent();E.hasClass(D.active)?h.remove.activeLabels():h.remove.activeLabels(E)}},test:{toggle:function(E){var ee=h.is.multiple()?h.show:h.toggle;h.is.bubbledLabelClick(E)||h.is.bubbledIconClick(E)||h.determine.eventOnElement(E,ee)&&E.preventDefault()},touch:function(E){h.determine.eventOnElement(E,function(){E.type=="touchstart"?h.timer=setTimeout(function(){h.hide()},C.delay.touch):E.type=="touchmove"&&clearTimeout(h.timer)}),E.stopPropagation()},hide:function(E){h.determine.eventInModule(E,h.hide)&&pt.id&&v(E.target).attr("for")===pt.id&&E.preventDefault()}},class:{mutation:function(E){E.forEach(function(ee){ee.attributeName==="class"&&h.check.disabled()})}},select:{mutation:function(E){h.debug("<select> modified, recreating menu"),h.is.selectMutation(E)&&(h.disconnect.selectObserver(),h.refresh(),h.setup.select(),h.set.selected(),h.observe.select())}},menu:{mutation:function(E){var ee=E[0],He=ee.addedNodes?v(ee.addedNodes[0]):v(!1),Ue=ee.removedNodes?v(ee.removedNodes[0]):v(!1),at=He.add(Ue),K=at.is(s.addition)||at.closest(s.addition).length>0,Ct=at.is(s.message)||at.closest(s.message).length>0;K||Ct?(h.debug("Updating item selector cache"),h.refreshItems()):(h.debug("Menu modified, updating selector cache"),h.refresh())},mousedown:function(){Ee=!0},mouseup:function(){Ee=!1}},item:{mouseenter:function(E){var ee=v(E.target),He=v(this),Ue=He.children(s.menu),at=He.siblings(s.item).children(s.menu),K=Ue.length>0,Ct=Ue.find(ee).length>0;!Ct&&K&&(clearTimeout(h.itemTimer),h.itemTimer=setTimeout(function(){h.verbose("Showing sub-menu",Ue),v.each(at,function(){h.animate.hide(!1,v(this))}),h.animate.show(!1,Ue)},C.delay.show),E.preventDefault())},mouseleave:function(E){var ee=v(this).children(s.menu);ee.length>0&&(clearTimeout(h.itemTimer),h.itemTimer=setTimeout(function(){h.verbose("Hiding sub-menu",ee),h.animate.hide(!1,ee)},C.delay.hide))},click:function(E,ee){var He=v(this),Ue=v(E?E.target:""),at=He.find(s.menu),K=h.get.choiceText(He),Ct=h.get.choiceValue(He,K),Hi=at.length>0,Fi=at.find(Ue).length>0;At.activeElement.tagName.toLowerCase()!=="input"&&v(At.activeElement).blur(),!Fi&&(!Hi||C.allowCategorySelection)&&(h.is.searchSelection()&&(C.allowAdditions&&h.remove.userAddition(),h.remove.searchTerm(),!h.is.focusedOnSearch()&&ee!=!0&&h.focusSearch(!0)),C.useLabels||(h.remove.filteredItem(),h.set.scrollPosition(He)),h.determine.selectAction.call(this,K,Ct))}},document:{keydown:function(E){var ee=E.which,He=h.is.inObject(ee,be);if(He){var Ue=pe.find(s.label),at=Ue.filter("."+D.active),K=at.data(we.value),Ct=Ue.index(at),Hi=Ue.length,Fi=at.length>0,Cn=at.length>1,An=Ct===0,Pn=Ct+1==Hi,Ei=h.is.searchSelection(),Kn=h.is.focusedOnSearch(),Yn=h.is.focused(),ar=Kn&&h.get.caretPosition(!1)===0,Rn=ar&&h.get.caretPosition(!0)!==0,qi;if(Ei&&!Fi&&!Kn)return;ee==be.leftArrow?(Yn||ar)&&!Fi?(h.verbose("Selecting previous label"),Ue.last().addClass(D.active)):Fi&&(E.shiftKey?h.verbose("Adding previous label to selection"):(h.verbose("Selecting previous label"),Ue.removeClass(D.active)),An&&!Cn?at.addClass(D.active):at.prev(s.siblingLabel).addClass(D.active).end(),E.preventDefault()):ee==be.rightArrow?(Yn&&!Fi&&Ue.first().addClass(D.active),Fi&&(E.shiftKey?h.verbose("Adding next label to selection"):(h.verbose("Selecting next label"),Ue.removeClass(D.active)),Pn?Ei?Kn?Ue.removeClass(D.active):h.focusSearch():Cn?at.next(s.siblingLabel).addClass(D.active):at.addClass(D.active):at.next(s.siblingLabel).addClass(D.active),E.preventDefault())):ee==be.deleteKey||ee==be.backspace?Fi?(h.verbose("Removing active labels"),Pn&&Ei&&!Kn&&h.focusSearch(),at.last().next(s.siblingLabel).addClass(D.active),h.remove.activeLabels(at),E.preventDefault()):ar&&!Rn&&!Fi&&ee==be.backspace&&(h.verbose("Removing last label on input backspace"),at=Ue.last().addClass(D.active),h.remove.activeLabels(at)):at.removeClass(D.active)}}},keydown:function(E){var ee=E.which,He=h.is.inObject(ee,be);if(He){var Ue=ae.not(s.unselectable).filter("."+D.selected).eq(0),at=ne.children("."+D.active).eq(0),K=Ue.length>0?Ue:at,Ct=K.length>0?K.siblings(":not(."+D.filtered+")").addBack():ne.children(":not(."+D.filtered+")"),Hi=K.children(s.menu),Fi=K.closest(s.menu),Cn=Fi.hasClass(D.visible)||Fi.hasClass(D.animating)||Fi.parent(s.menu).length>0,An=Hi.length>0,Pn=K.length>0,Ei=K.not(s.unselectable).length>0,Kn=ee==be.delimiter&&C.allowAdditions&&h.is.multiple(),Yn=C.allowAdditions&&C.hideAdditions&&(ee==be.enter||Kn)&&Ei,ar,Rn,qi;if(Yn&&(h.verbose("Selecting item from keyboard shortcut",K),h.event.item.click.call(K,E),h.is.searchSelection()&&h.remove.searchTerm(),h.is.multiple()&&E.preventDefault()),h.is.visible()){if((ee==be.enter||Kn)&&(ee==be.enter&&Pn&&An&&!C.allowCategorySelection?(h.verbose("Pressed enter on unselectable category, opening sub menu"),ee=be.rightArrow):Ei&&(h.verbose("Selecting item from keyboard shortcut",K),h.event.item.click.call(K,E),h.is.searchSelection()&&(h.remove.searchTerm(),h.is.multiple()&&F.focus())),E.preventDefault()),Pn&&(ee==be.leftArrow&&(Rn=Fi[0]!==ne[0],Rn&&(h.verbose("Left key pressed, closing sub-menu"),h.animate.hide(!1,Fi),K.removeClass(D.selected),Fi.closest(s.item).addClass(D.selected),E.preventDefault())),ee==be.rightArrow&&An&&(h.verbose("Right key pressed, opening sub-menu"),h.animate.show(!1,Hi),K.removeClass(D.selected),Hi.find(s.item).eq(0).addClass(D.selected),E.preventDefault())),ee==be.upArrow){if(ar=Pn&&Cn?K.prevAll(s.item+":not("+s.unselectable+")").eq(0):ae.eq(0),Ct.index(ar)<0){h.verbose("Up key pressed but reached top of current menu"),E.preventDefault();return}else h.verbose("Up key pressed, changing active item"),K.removeClass(D.selected),ar.addClass(D.selected),h.set.scrollPosition(ar),C.selectOnKeydown&&h.is.single()&&h.set.selectedItem(ar);E.preventDefault()}if(ee==be.downArrow){if(ar=Pn&&Cn?ar=K.nextAll(s.item+":not("+s.unselectable+")").eq(0):ae.eq(0),ar.length===0){h.verbose("Down key pressed but reached bottom of current menu"),E.preventDefault();return}else h.verbose("Down key pressed, changing active item"),ae.removeClass(D.selected),ar.addClass(D.selected),h.set.scrollPosition(ar),C.selectOnKeydown&&h.is.single()&&h.set.selectedItem(ar);E.preventDefault()}ee==be.pageUp&&(h.scrollPage("up"),E.preventDefault()),ee==be.pageDown&&(h.scrollPage("down"),E.preventDefault()),ee==be.escape&&(h.verbose("Escape key pressed, closing dropdown"),h.hide())}else Kn&&E.preventDefault(),ee==be.downArrow&&!h.is.visible()&&(h.verbose("Down key pressed, showing dropdown"),h.show(),E.preventDefault())}else h.has.search()||h.set.selectedLetter(String.fromCharCode(ee))}},trigger:{change:function(){var E=Z[0];if(E){var ee=At.createEvent("HTMLEvents");h.verbose("Triggering native change event"),ee.initEvent("change",!0,!1),E.dispatchEvent(ee)}}},determine:{selectAction:function(E,ee){ui=!0,h.verbose("Determining action",C.action),v.isFunction(h.action[C.action])?(h.verbose("Triggering preset action",C.action,E,ee),h.action[C.action].call(pt,E,ee,this)):v.isFunction(C.action)?(h.verbose("Triggering user action",C.action,E,ee),C.action.call(pt,E,ee,this)):h.error(ce.action,C.action),ui=!1},eventInModule:function(E,ee){var He=v(E.target),Ue=He.closest(At.documentElement).length>0,at=He.closest(pe).length>0;return ee=v.isFunction(ee)?ee:function(){},Ue&&!at?(h.verbose("Triggering event",ee),ee(),!0):(h.verbose("Event occurred in dropdown, canceling callback"),!1)},eventOnElement:function(E,ee){var He=v(E.target),Ue=He.closest(s.siblingLabel),at=At.body.contains(E.target),K=pe.find(Ue).length===0||!(h.is.multiple()&&C.useLabels),Ct=He.closest(ne).length===0;return ee=v.isFunction(ee)?ee:function(){},at&&K&&Ct?(h.verbose("Triggering event",ee),ee(),!0):(h.verbose("Event occurred in dropdown menu, canceling callback"),!1)}},action:{nothing:function(){},activate:function(E,ee,He){ee=ee!==A?ee:E,h.can.activate(v(He))&&(h.set.selected(ee,v(He)),h.is.multiple()||h.hideAndClear())},select:function(E,ee,He){ee=ee!==A?ee:E,h.can.activate(v(He))&&(h.set.value(ee,E,v(He)),h.is.multiple()||h.hideAndClear())},combo:function(E,ee,He){ee=ee!==A?ee:E,h.set.selected(ee,v(He)),h.hideAndClear()},hide:function(E,ee,He){h.set.value(ee,E,v(He)),h.hideAndClear()}},get:{id:function(){return pn},defaultText:function(){return pe.data(we.defaultText)},defaultValue:function(){return pe.data(we.defaultValue)},placeholderText:function(){return C.placeholder!="auto"&&typeof C.placeholder=="string"?C.placeholder:pe.data(we.placeholderText)||""},text:function(){return C.preserveHTML?I.html():I.text()},query:function(){return String(F.val()).trim()},searchWidth:function(E){return E=E!==A?E:F.val(),M.text(E),Math.ceil(M.width()+1)},selectionCount:function(){var E=h.get.values(),ee;return ee=h.is.multiple()?Array.isArray(E)?E.length:0:h.get.value()!==""?1:0,ee},transition:function(E){return C.transition=="auto"?h.is.upward(E)?"slide up":"slide down":C.transition},userValues:function(){var E=h.get.values();return E?(E=Array.isArray(E)?E:[E],v.grep(E,function(ee){return h.get.item(ee)===!1})):!1},uniqueArray:function(E){return v.grep(E,function(ee,He){return v.inArray(ee,E)===He})},caretPosition:function(E){var ee=F.get(0),He,Ue;if(E&&"selectionEnd"in ee)return ee.selectionEnd;if(!E&&"selectionStart"in ee)return ee.selectionStart;if(At.selection)return ee.focus(),He=At.selection.createRange(),Ue=He.text.length,E?Ue:(He.moveStart("character",-ee.value.length),He.text.length-Ue)},value:function(){var E=Z.length>0?Z.val():pe.data(we.value),ee=Array.isArray(E)&&E.length===1&&E[0]==="";return E===A||ee?"":E},values:function(){var E=h.get.value();return E===""?"":!h.has.selectInput()&&h.is.multiple()?typeof E=="string"?h.escape.htmlEntities(E).split(C.delimiter):"":E},remoteValues:function(){var E=h.get.values(),ee=!1;return E&&(typeof E=="string"&&(E=[E]),v.each(E,function(He,Ue){var at=h.read.remoteData(Ue);h.verbose("Restoring value from session data",at,Ue),at&&(ee||(ee={}),ee[Ue]=at)})),ee},choiceText:function(E,ee){if(ee=ee!==A?ee:C.preserveHTML,E)return E.find(s.menu).length>0&&(h.verbose("Retrieving text of element with sub-menu"),E=E.clone(),E.find(s.menu).remove(),E.find(s.menuIcon).remove()),E.data(we.text)!==A?E.data(we.text):ee?E.html().trim():E.text().trim()},choiceValue:function(E,ee){return ee=ee||h.get.choiceText(E),E?E.data(we.value)!==A?String(E.data(we.value)):typeof ee=="string"?String(C.ignoreSearchCase?ee.toLowerCase():ee).trim():String(ee):!1},inputEvent:function(){var E=F[0];return E?E.oninput!==A?"input":E.onpropertychange!==A?"propertychange":"keyup":!1},selectValues:function(){var E={},ee=[],He=[];return pe.find("option").each(function(){var Ue=v(this),at=Ue.html(),K=Ue.attr("disabled"),Ct=Ue.attr("value")!==A?Ue.attr("value"):at,Hi=Ue.data(we.text)!==A?Ue.data(we.text):at,Fi=Ue.parent("optgroup");C.placeholder==="auto"&&Ct===""?E.placeholder=at:((Fi.length!==ee.length||Fi[0]!==ee[0])&&(He.push({type:"header",divider:C.headerDivider,name:Fi.attr("label")||""}),ee=Fi),He.push({name:at,value:Ct,text:Hi,disabled:K}))}),C.placeholder&&C.placeholder!=="auto"&&(h.debug("Setting placeholder value to",C.placeholder),E.placeholder=C.placeholder),C.sortSelect?(C.sortSelect===!0?He.sort(function(Ue,at){return Ue.name.localeCompare(at.name)}):C.sortSelect==="natural"?He.sort(function(Ue,at){return Ue.name.toLowerCase().localeCompare(at.name.toLowerCase())}):v.isFunction(C.sortSelect)&&He.sort(C.sortSelect),E[de.values]=He,h.debug("Retrieved and sorted values from select",E)):(E[de.values]=He,h.debug("Retrieved values from select",E)),E},activeItem:function(){return ae.filter("."+D.active)},selectedItem:function(){var E=ae.not(s.unselectable).filter("."+D.selected);return E.length>0?E:ae.eq(0)},itemWithAdditions:function(E){var ee=h.get.item(E),He=h.create.userChoice(E),Ue=He&&He.length>0;return Ue&&(ee=ee.length>0?ee.add(He):He),ee},item:function(E,ee){var He=!1,Ue,at;return E=E!==A?E:h.get.values()!==A?h.get.values():h.get.text(),at=h.is.multiple()&&Array.isArray(E),Ue=at?E.length>0:E!==A&&E!==null,ee=E===""||E===!1||E===!0?!0:ee||!1,Ue&&ae.each(function(){var K=v(this),Ct=h.get.choiceText(K),Hi=h.get.choiceValue(K,Ct);if(!(Hi===null||Hi===A)){if(at)v.inArray(h.escape.htmlEntities(String(Hi)),E.map(function(Fi){return String(Fi)}))!==-1&&(He=He?He.add(K):K);else if(ee){if(h.verbose("Ambiguous dropdown value using strict type check",K,E),Hi===E)return He=K,!0}else if(C.ignoreCase&&(Hi=Hi.toLowerCase(),E=E.toLowerCase()),h.escape.htmlEntities(String(Hi))===h.escape.htmlEntities(String(E)))return h.verbose("Found select item by value",Hi,E),He=K,!0}}),He}},check:{maxSelections:function(E){return C.maxSelections?(E=E!==A?E:h.get.selectionCount(),E>=C.maxSelections?(h.debug("Maximum selection count reached"),C.useLabels&&(ae.addClass(D.filtered),h.add.message(ge.maxSelections)),!0):(h.verbose("No longer at maximum selection count"),h.remove.message(),h.remove.filteredItem(),h.is.searchSelection()&&h.filterItems(),!1)):!0},disabled:function(){F.attr("tabindex",h.is.disabled()?-1:0)}},restore:{defaults:function(E){h.clear(E),h.restore.defaultText(),h.restore.defaultValue()},defaultText:function(){var E=h.get.defaultText(),ee=h.get.placeholderText;E===ee?(h.debug("Restoring default placeholder text",E),h.set.placeholderText(E)):(h.debug("Restoring default text",E),h.set.text(E))},placeholderText:function(){h.set.placeholderText()},defaultValue:function(){var E=h.get.defaultValue();E!==A&&(h.debug("Restoring default value",E),E!==""?(h.set.value(E),h.set.selected()):(h.remove.activeItem(),h.remove.selectedItem()))},labels:function(){C.allowAdditions&&(C.useLabels||(h.error(ce.labels),C.useLabels=!0),h.debug("Restoring selected values"),h.create.userLabels()),h.check.maxSelections()},selected:function(){h.restore.values(),h.is.multiple()?(h.debug("Restoring previously selected values and labels"),h.restore.labels()):h.debug("Restoring previously selected values")},values:function(){h.set.initialLoad(),C.apiSettings&&C.saveRemoteData&&h.get.remoteValues()?h.restore.remoteValues():h.set.selected();var E=h.get.value();E&&E!==""&&!(Array.isArray(E)&&E.length===0)?Z.removeClass(D.noselection):Z.addClass(D.noselection),h.remove.initialLoad()},remoteValues:function(){var E=h.get.remoteValues();h.debug("Recreating selected from session data",E),E&&(h.is.single()?v.each(E,function(ee,He){h.set.text(He)}):v.each(E,function(ee,He){h.add.label(ee,He)}))}},read:{remoteData:function(E){var ee;if(yt.Storage===A){h.error(ce.noStorage);return}return ee=sessionStorage.getItem(E),ee!==A?ee:!1}},save:{defaults:function(){h.save.defaultText(),h.save.placeholderText(),h.save.defaultValue()},defaultValue:function(){var E=h.get.value();h.verbose("Saving default value as",E),pe.data(we.defaultValue,E)},defaultText:function(){var E=h.get.text();h.verbose("Saving default text as",E),pe.data(we.defaultText,E)},placeholderText:function(){var E;C.placeholder!==!1&&I.hasClass(D.placeholder)&&(E=h.get.text(),h.verbose("Saving placeholder text as",E),pe.data(we.placeholderText,E))},remoteData:function(E,ee){if(yt.Storage===A){h.error(ce.noStorage);return}h.verbose("Saving remote data to session storage",ee,E),sessionStorage.setItem(ee,E)}},clear:function(E){h.is.multiple()&&C.useLabels?h.remove.labels():(h.remove.activeItem(),h.remove.selectedItem(),h.remove.filteredItem()),h.set.placeholderText(),h.clearValue(E)},clearValue:function(E){h.set.value("",null,null,E)},scrollPage:function(E,ee){var He=ee||h.get.selectedItem(),Ue=He.closest(s.menu),at=Ue.outerHeight(),K=Ue.scrollTop(),Ct=ae.eq(0).outerHeight(),Hi=Math.floor(at/Ct),Fi=Ue.prop("scrollHeight"),Cn=E=="up"?K-Ct*Hi:K+Ct*Hi,An=ae.not(s.unselectable),Pn,Ei,Kn;Kn=E=="up"?An.index(He)-Hi:An.index(He)+Hi,Pn=E=="up"?Kn>=0:Kn<An.length,Ei=Pn?An.eq(Kn):E=="up"?An.first():An.last(),Ei.length>0&&(h.debug("Scrolling page",E,Ei),He.removeClass(D.selected),Ei.addClass(D.selected),C.selectOnKeydown&&h.is.single()&&h.set.selectedItem(Ei),Ue.scrollTop(Cn))},set:{filtered:function(){var E=h.is.multiple(),ee=h.is.searchSelection(),He=E&&ee,Ue=ee?h.get.query():"",at=typeof Ue=="string"&&Ue.length>0,K=h.get.searchWidth(),Ct=Ue!=="";E&&at&&(h.verbose("Adjusting input width",K,C.glyphWidth),F.css("width",K)),at||He&&Ct?(h.verbose("Hiding placeholder text"),I.addClass(D.filtered)):(!E||He&&!Ct)&&(h.verbose("Showing placeholder text"),I.removeClass(D.filtered))},empty:function(){pe.addClass(D.empty)},loading:function(){pe.addClass(D.loading)},placeholderText:function(E){E=E||h.get.placeholderText(),h.debug("Setting placeholder text",E),h.set.text(E),I.addClass(D.placeholder)},tabbable:function(){h.is.searchSelection()?(h.debug("Added tabindex to searchable dropdown"),F.val(""),h.check.disabled(),ne.attr("tabindex",-1)):(h.debug("Added tabindex to dropdown"),pe.attr("tabindex")===A&&(pe.attr("tabindex",0),ne.attr("tabindex",-1)))},initialLoad:function(){h.verbose("Setting initial load"),Qt=!0},activeItem:function(E){C.allowAdditions&&E.filter(s.addition).length>0?E.addClass(D.filtered):E.addClass(D.active)},partialSearch:function(E){var ee=h.get.query().length;F.val(E.substr(0,ee))},scrollPosition:function(E,ee){var He=5,Ue,at,K,Ct,Hi,Fi,Cn,An,Pn,Ei;E=E||h.get.selectedItem(),Ue=E.closest(s.menu),at=E&&E.length>0,ee=ee!==A?ee:!1,h.get.activeItem().length===0&&(ee=!1),E&&Ue.length>0&&at&&(Hi=E.position().top,Ue.addClass(D.loading),Cn=Ue.scrollTop(),Fi=Ue.offset().top,Hi=E.offset().top,K=Cn-Fi+Hi,ee||(An=Ue.height(),Ei=Cn+An<K+He,Pn=K-He<Cn),h.debug("Scrolling to active item",K),(ee||Pn||Ei)&&Ue.scrollTop(K),Ue.removeClass(D.loading))},text:function(E){C.action==="combo"?(h.debug("Changing combo button text",E,ot),C.preserveHTML?ot.html(E):ot.text(E)):C.action==="activate"&&(E!==h.get.placeholderText()&&I.removeClass(D.placeholder),h.debug("Changing text",E,I),I.removeClass(D.filtered),C.preserveHTML?I.html(E):I.text(E))},selectedItem:function(E){var ee=h.get.choiceValue(E),He=h.get.choiceText(E,!1),Ue=h.get.choiceText(E,!0);h.debug("Setting user selection to item",E),h.remove.activeItem(),h.set.partialSearch(He),h.set.activeItem(E),h.set.selected(ee,E),h.set.text(Ue)},selectedLetter:function(E){var ee=ae.filter("."+D.selected),He=ee.length>0&&h.has.firstLetter(ee,E),Ue=!1,at;He&&(at=ee.nextAll(ae).eq(0),h.has.firstLetter(at,E)&&(Ue=at)),Ue||ae.each(function(){if(h.has.firstLetter(v(this),E))return Ue=v(this),!1}),Ue&&(h.verbose("Scrolling to next value with letter",E),h.set.scrollPosition(Ue),ee.removeClass(D.selected),Ue.addClass(D.selected),C.selectOnKeydown&&h.is.single()&&h.set.selectedItem(Ue))},direction:function(E){C.direction=="auto"?(E?h.is.upward(E)&&h.remove.upward(E):h.remove.upward(),h.can.openDownward(E)?h.remove.upward(E):h.set.upward(E),!h.is.leftward(E)&&!h.can.openRightward(E)&&h.set.leftward(E)):C.direction=="upward"&&h.set.upward(E)},upward:function(E){var ee=E||pe;ee.addClass(D.upward)},leftward:function(E){var ee=E||ne;ee.addClass(D.leftward)},value:function(E,ee,He,Ue){E!==A&&E!==""&&!(Array.isArray(E)&&E.length===0)?Z.removeClass(D.noselection):Z.addClass(D.noselection);var at=h.escape.value(E),K=Z.length>0,Ct=h.get.values(),Hi=E!==A?String(E):E,Fi;if(K){if(!C.allowReselection&&Hi==Ct&&(h.verbose("Skipping value update already same value",E,Ct),!h.is.initialLoad()))return;h.is.single()&&h.has.selectInput()&&h.can.extendSelect()&&(h.debug("Adding user option",E),h.add.optionValue(E)),h.debug("Updating input value",at,Ct),tt=!0,Z.val(at),C.fireOnInit===!1&&h.is.initialLoad()?h.debug("Input native change event ignored on initial load"):Ue!==!0&&h.trigger.change(),tt=!1}else h.verbose("Storing value in metadata",at,Z),at!==Ct&&pe.data(we.value,Hi);C.fireOnInit===!1&&h.is.initialLoad()?h.verbose("No callback on initial load",C.onChange):Ue!==!0&&C.onChange.call(pt,E,ee,He)},active:function(){pe.addClass(D.active)},multiple:function(){pe.addClass(D.multiple)},visible:function(){pe.addClass(D.visible)},exactly:function(E,ee){h.debug("Setting selected to exact values"),h.clear(),h.set.selected(E,ee)},selected:function(E,ee){var He=h.is.multiple();ee=C.allowAdditions?ee||h.get.itemWithAdditions(E):ee||h.get.item(E),ee&&(h.debug("Setting selected menu item to",ee),h.is.multiple()&&h.remove.searchWidth(),h.is.single()?(h.remove.activeItem(),h.remove.selectedItem()):C.useLabels&&h.remove.selectedItem(),ee.each(function(){var Ue=v(this),at=h.get.choiceText(Ue),K=h.get.choiceValue(Ue,at),Ct=Ue.hasClass(D.filtered),Hi=Ue.hasClass(D.active),Fi=Ue.hasClass(D.addition),Cn=He&&ee.length==1;He?!Hi||Fi?(C.apiSettings&&C.saveRemoteData&&h.save.remoteData(at,K),C.useLabels?(h.add.label(K,at,Cn),h.add.value(K,at,Ue),h.set.activeItem(Ue),h.filterActive(),h.select.nextAvailable(ee)):(h.add.value(K,at,Ue),h.set.text(h.add.variables(ge.count)),h.set.activeItem(Ue))):!Ct&&(C.useLabels||ui)&&(h.debug("Selected active value, removing label"),h.remove.selected(K)):(C.apiSettings&&C.saveRemoteData&&h.save.remoteData(at,K),h.set.text(at),h.set.value(K,at,Ue),Ue.addClass(D.active).addClass(D.selected))}),h.remove.searchTerm())}},add:{label:function(E,ee,He){var Ue=h.is.searchSelection()?F:I,at=h.escape.value(E),K;if(C.ignoreCase&&(at=at.toLowerCase()),K=v("<a />").addClass(D.label).attr("data-"+we.value,at).html(De.label(at,ee,C.preserveHTML,C.className)),K=C.onLabelCreate.call(K,at,ee),h.has.label(E)){h.debug("User selection already exists, skipping",at);return}C.label.variation&&K.addClass(C.label.variation),He===!0?(h.debug("Animating in label",K),K.addClass(D.hidden).insertBefore(Ue).transition({animation:C.label.transition,debug:C.debug,verbose:C.verbose,duration:C.label.duration})):(h.debug("Adding selection label",K),K.insertBefore(Ue))},message:function(E){var ee=ne.children(s.message),He=C.templates.message(h.add.variables(E));ee.length>0?ee.html(He):ee=v("<div/>").html(He).addClass(D.message).appendTo(ne)},optionValue:function(E){var ee=h.escape.value(E),He=Z.find('option[value="'+h.escape.string(ee)+'"]'),Ue=He.length>0;Ue||(h.disconnect.selectObserver(),h.is.single()&&(h.verbose("Removing previous user addition"),Z.find("option."+D.addition).remove()),v("<option/>").prop("value",ee).addClass(D.addition).html(E).appendTo(Z),h.verbose("Adding user addition as an <option>",E),h.observe.select())},userSuggestion:function(E){var ee=ne.children(s.addition),He=h.get.item(E),Ue=He&&He.not(s.addition).length,at=ee.length>0,K;if(!(C.useLabels&&h.has.maxSelections())){if(E===""||Ue){ee.remove();return}at?(ee.data(we.value,E).data(we.text,E).attr("data-"+we.value,E).attr("data-"+we.text,E).removeClass(D.filtered),C.hideAdditions||(K=C.templates.addition(h.add.variables(ge.addResult,E)),ee.html(K)),h.verbose("Replacing user suggestion with new value",ee)):(ee=h.create.userChoice(E),ee.prependTo(ne),h.verbose("Adding item choice to menu corresponding with user choice addition",ee)),(!C.hideAdditions||h.is.allFiltered())&&ee.addClass(D.selected).siblings().removeClass(D.selected),h.refreshItems()}},variables:function(E,ee){var He=E.search("{count}")!==-1,Ue=E.search("{maxCount}")!==-1,at=E.search("{term}")!==-1,K,Ct;return h.verbose("Adding templated variables to message",E),He&&(K=h.get.selectionCount(),E=E.replace("{count}",K)),Ue&&(K=h.get.selectionCount(),E=E.replace("{maxCount}",C.maxSelections)),at&&(Ct=ee||h.get.query(),E=E.replace("{term}",Ct)),E},value:function(E,ee,He){var Ue=h.get.values(),at;if(h.has.value(E)){h.debug("Value already selected");return}if(E===""){h.debug("Cannot select blank values from multiselect");return}Array.isArray(Ue)?(at=Ue.concat([E]),at=h.get.uniqueArray(at)):at=[E],h.has.selectInput()?h.can.extendSelect()&&(h.debug("Adding value to select",E,at,Z),h.add.optionValue(E)):(at=at.join(C.delimiter),h.debug("Setting hidden input to delimited value",at,Z)),C.fireOnInit===!1&&h.is.initialLoad()?h.verbose("Skipping onadd callback on initial load",C.onAdd):C.onAdd.call(pt,E,ee,He),h.set.value(at,ee,He),h.check.maxSelections()}},remove:{active:function(){pe.removeClass(D.active)},activeLabel:function(){pe.find(s.label).removeClass(D.active)},empty:function(){pe.removeClass(D.empty)},loading:function(){pe.removeClass(D.loading)},initialLoad:function(){Qt=!1},upward:function(E){var ee=E||pe;ee.removeClass(D.upward)},leftward:function(E){var ee=E||ne;ee.removeClass(D.leftward)},visible:function(){pe.removeClass(D.visible)},activeItem:function(){ae.removeClass(D.active)},filteredItem:function(){C.useLabels&&h.has.maxSelections()||(C.useLabels&&h.is.multiple()?ae.not("."+D.active).removeClass(D.filtered):ae.removeClass(D.filtered),C.hideDividers&&Ve.removeClass(D.hidden),h.remove.empty())},optionValue:function(E){var ee=h.escape.value(E),He=Z.find('option[value="'+h.escape.string(ee)+'"]'),Ue=He.length>0;!Ue||!He.hasClass(D.addition)||(zi&&(zi.disconnect(),h.verbose("Temporarily disconnecting mutation observer")),He.remove(),h.verbose("Removing user addition as an <option>",ee),zi&&zi.observe(Z[0],{childList:!0,subtree:!0}))},message:function(){ne.children(s.message).remove()},searchWidth:function(){F.css("width","")},searchTerm:function(){h.verbose("Cleared search term"),F.val(""),h.set.filtered()},userAddition:function(){ae.filter(s.addition).remove()},selected:function(E,ee){if(ee=C.allowAdditions?ee||h.get.itemWithAdditions(E):ee||h.get.item(E),!ee)return!1;ee.each(function(){var He=v(this),Ue=h.get.choiceText(He),at=h.get.choiceValue(He,Ue);h.is.multiple()?C.useLabels?(h.remove.value(at,Ue,He),h.remove.label(at)):(h.remove.value(at,Ue,He),h.get.selectionCount()===0?h.set.placeholderText():h.set.text(h.add.variables(ge.count))):h.remove.value(at,Ue,He),He.removeClass(D.filtered).removeClass(D.active),C.useLabels&&He.removeClass(D.selected)})},selectedItem:function(){ae.removeClass(D.selected)},value:function(E,ee,He){var Ue=h.get.values(),at;E=h.escape.htmlEntities(E),h.has.selectInput()?(h.verbose("Input is <select> removing selected option",E),at=h.remove.arrayValue(E,Ue),h.remove.optionValue(E)):(h.verbose("Removing from delimited values",E),at=h.remove.arrayValue(E,Ue),at=at.join(C.delimiter)),C.fireOnInit===!1&&h.is.initialLoad()?h.verbose("No callback on initial load",C.onRemove):C.onRemove.call(pt,E,ee,He),h.set.value(at,ee,He),h.check.maxSelections()},arrayValue:function(E,ee){return Array.isArray(ee)||(ee=[ee]),ee=v.grep(ee,function(He){return E!=He}),h.verbose("Removed value from delimited string",E,ee),ee},label:function(E,ee){var He=pe.find(s.label),Ue=He.filter("[data-"+we.value+'="'+h.escape.string(C.ignoreCase?E.toLowerCase():E)+'"]');h.verbose("Removing label",Ue),Ue.remove()},activeLabels:function(E){E=E||pe.find(s.label).filter("."+D.active),h.verbose("Removing active label selections",E),h.remove.labels(E)},labels:function(E){E=E||pe.find(s.label),h.verbose("Removing labels",E),E.each(function(){var ee=v(this),He=ee.data(we.value),Ue=He!==A?String(He):He,at=h.is.userValue(Ue);if(C.onLabelRemove.call(ee,He)===!1){h.debug("Label remove callback cancelled removal");return}h.remove.message(),at?(h.remove.value(Ue),h.remove.label(Ue)):h.remove.selected(Ue)})},tabbable:function(){h.is.searchSelection()?(h.debug("Searchable dropdown initialized"),F.removeAttr("tabindex"),ne.removeAttr("tabindex")):(h.debug("Simple selection dropdown initialized"),pe.removeAttr("tabindex"),ne.removeAttr("tabindex"))},diacritics:function(E){return C.ignoreDiacritics?E.normalize("NFD").replace(/[\u0300-\u036f]/g,""):E}},has:{menuSearch:function(){return h.has.search()&&F.closest(ne).length>0},clearItem:function(){return Ke.length>0},search:function(){return F.length>0},sizer:function(){return M.length>0},selectInput:function(){return Z.is("select")},minCharacters:function(E){return C.minCharacters&&!St?(E=String(E!==A?E:h.get.query()),E.length>=C.minCharacters):(St=!1,!0)},firstLetter:function(E,ee){var He,Ue;return!E||E.length===0||typeof ee!="string"?!1:(He=h.get.choiceText(E,!1),ee=ee.toLowerCase(),Ue=String(He).charAt(0).toLowerCase(),ee==Ue)},input:function(){return Z.length>0},items:function(){return ae.length>0},menu:function(){return ne.length>0},message:function(){return ne.children(s.message).length!==0},label:function(E){var ee=h.escape.value(E),He=pe.find(s.label);return C.ignoreCase&&(ee=ee.toLowerCase()),He.filter("[data-"+we.value+'="'+h.escape.string(ee)+'"]').length>0},maxSelections:function(){return C.maxSelections&&h.get.selectionCount()>=C.maxSelections},allResultsFiltered:function(){var E=ae.not(s.addition);return E.filter(s.unselectable).length===E.length},userSuggestion:function(){return ne.children(s.addition).length>0},query:function(){return h.get.query()!==""},value:function(E){return C.ignoreCase?h.has.valueIgnoringCase(E):h.has.valueMatchingCase(E)},valueMatchingCase:function(E){var ee=h.get.values(),He=Array.isArray(ee)?ee&&v.inArray(E,ee)!==-1:ee==E;return!!He},valueIgnoringCase:function(E){var ee=h.get.values(),He=!1;return Array.isArray(ee)||(ee=[ee]),v.each(ee,function(Ue,at){if(String(E).toLowerCase()==String(at).toLowerCase())return He=!0,!1}),He}},is:{active:function(){return pe.hasClass(D.active)},animatingInward:function(){return ne.transition("is inward")},animatingOutward:function(){return ne.transition("is outward")},bubbledLabelClick:function(E){return v(E.target).is("select, input")&&pe.closest("label").length>0},bubbledIconClick:function(E){return v(E.target).closest(Pe).length>0},alreadySetup:function(){return pe.is("select")&&pe.parent(s.dropdown).data(le)!==A&&pe.prev().length===0},animating:function(E){return E?E.transition&&E.transition("is animating"):ne.transition&&ne.transition("is animating")},leftward:function(E){var ee=E||ne;return ee.hasClass(D.leftward)},clearable:function(){return pe.hasClass(D.clearable)||C.clearable},disabled:function(){return pe.hasClass(D.disabled)},focused:function(){return At.activeElement===pe[0]},focusedOnSearch:function(){return At.activeElement===F[0]},allFiltered:function(){return(h.is.multiple()||h.has.search())&&!(C.hideAdditions==!1&&h.has.userSuggestion())&&!h.has.message()&&h.has.allResultsFiltered()},hidden:function(E){return!h.is.visible(E)},initialLoad:function(){return Qt},inObject:function(E,ee){var He=!1;return v.each(ee,function(Ue,at){if(at==E)return He=!0,!0}),He},multiple:function(){return pe.hasClass(D.multiple)},remote:function(){return C.apiSettings&&h.can.useAPI()},single:function(){return!h.is.multiple()},selectMutation:function(E){var ee=!1;return v.each(E,function(He,Ue){if(v(Ue.target).is("select")||v(Ue.addedNodes).is("select"))return ee=!0,!1}),ee},search:function(){return pe.hasClass(D.search)},searchSelection:function(){return h.has.search()&&F.parent(s.dropdown).length===1},selection:function(){return pe.hasClass(D.selection)},userValue:function(E){return v.inArray(E,h.get.userValues())!==-1},upward:function(E){var ee=E||pe;return ee.hasClass(D.upward)},visible:function(E){return E?E.hasClass(D.visible):ne.hasClass(D.visible)},verticallyScrollableContext:function(){var E=We.get(0)!==yt?We.css("overflow-y"):!1;return E=="auto"||E=="scroll"},horizontallyScrollableContext:function(){var E=We.get(0)!==yt?We.css("overflow-X"):!1;return E=="auto"||E=="scroll"}},can:{activate:function(E){return!!(C.useLabels||!h.has.maxSelections()||h.has.maxSelections()&&E.hasClass(D.active))},openDownward:function(E){var ee=E||ne,He=!0,Ue={},at;return ee.addClass(D.loading),at={context:{offset:We.get(0)===yt?{top:0,left:0}:We.offset(),scrollTop:We.scrollTop(),height:We.outerHeight()},menu:{offset:ee.offset(),height:ee.outerHeight()}},h.is.verticallyScrollableContext()&&(at.menu.offset.top+=at.context.scrollTop),Ue={above:at.context.scrollTop<=at.menu.offset.top-at.context.offset.top-at.menu.height,below:at.context.scrollTop+at.context.height>=at.menu.offset.top-at.context.offset.top+at.menu.height},Ue.below?(h.verbose("Dropdown can fit in context downward",Ue),He=!0):!Ue.below&&!Ue.above?(h.verbose("Dropdown cannot fit in either direction, favoring downward",Ue),He=!0):(h.verbose("Dropdown cannot fit below, opening upward",Ue),He=!1),ee.removeClass(D.loading),He},openRightward:function(E){var ee=E||ne,He=!0,Ue=!1,at;return ee.addClass(D.loading),at={context:{offset:We.get(0)===yt?{top:0,left:0}:We.offset(),scrollLeft:We.scrollLeft(),width:We.outerWidth()},menu:{offset:ee.offset(),width:ee.outerWidth()}},h.is.horizontallyScrollableContext()&&(at.menu.offset.left+=at.context.scrollLeft),Ue=at.menu.offset.left-at.context.offset.left+at.menu.width>=at.context.scrollLeft+at.context.width,Ue&&(h.verbose("Dropdown cannot fit in context rightward",Ue),He=!1),ee.removeClass(D.loading),He},click:function(){return oe||C.on=="click"},extendSelect:function(){return C.allowAdditions||C.apiSettings},show:function(){return!h.is.disabled()&&(h.has.items()||h.has.message())},useAPI:function(){return v.fn.api!==A}},animate:{show:function(E,ee){var He=ee||ne,Ue=ee?function(){}:function(){h.hideSubMenus(),h.hideOthers(),h.set.active()},at;if(E=v.isFunction(E)?E:function(){},h.verbose("Doing menu show animation",He),h.set.direction(ee),at=h.get.transition(ee),h.is.selection()&&h.set.scrollPosition(h.get.selectedItem(),!0),h.is.hidden(He)||h.is.animating(He)){var K=pe.hasClass("column")?"flex":!1;at=="none"?(Ue(),He.transition({displayType:K}).transition("show"),E.call(pt)):v.fn.transition!==A&&pe.transition("is supported")?He.transition({animation:at+" in",debug:C.debug,verbose:C.verbose,duration:C.duration,queue:!0,onStart:Ue,displayType:K,onComplete:function(){E.call(pt)}}):h.error(ce.noTransition,at)}},hide:function(E,ee){var He=ee||ne,Ue=ee?function(){}:function(){h.can.click()&&h.unbind.intent(),h.remove.active()},at=h.get.transition(ee);E=v.isFunction(E)?E:function(){},(h.is.visible(He)||h.is.animating(He))&&(h.verbose("Doing menu hide animation",He),at=="none"?(Ue(),He.transition("hide"),E.call(pt)):v.fn.transition!==A&&pe.transition("is supported")?He.transition({animation:at+" out",duration:C.duration,debug:C.debug,verbose:C.verbose,queue:!1,onStart:Ue,onComplete:function(){E.call(pt)}}):h.error(ce.transition))}},hideAndClear:function(){h.remove.searchTerm(),!h.has.maxSelections()&&(h.has.search()?h.hide(function(){h.remove.filteredItem()}):h.hide())},delay:{show:function(){h.verbose("Delaying show event to ensure user intent"),clearTimeout(h.timer),h.timer=setTimeout(h.show,C.delay.show)},hide:function(){h.verbose("Delaying hide event to ensure user intent"),clearTimeout(h.timer),h.timer=setTimeout(h.hide,C.delay.hide)}},escape:{value:function(E){var ee=Array.isArray(E),He=typeof E=="string",Ue=!He&&!ee,at=He&&E.search(J.quote)!==-1,K=[];return Ue||!at?E:(h.debug("Encoding quote values for use in select",E),ee?(v.each(E,function(Ct,Hi){K.push(Hi.replace(J.quote,"""))}),K):E.replace(J.quote,"""))},string:function(E){return E=String(E),E.replace(J.escape,"\\$&")},htmlEntities:function(E){var ee=/[<>"'`]/g,He=/[&<>"'`]/,Ue={"<":"<",">":">",'"':""","'":"'","`":"`"},at=function(K){return Ue[K]};return He.test(E)?(E=E.replace(/&(?![a-z0-9#]{1,6};)/,"&"),E.replace(ee,at)):E}},setting:function(E,ee){if(h.debug("Changing setting",E,ee),v.isPlainObject(E))v.extend(!0,C,E);else if(ee!==A)v.isPlainObject(C[E])?v.extend(!0,C[E],ee):C[E]=ee;else return C[E]},internal:function(E,ee){if(v.isPlainObject(E))v.extend(!0,h,E);else if(ee!==A)h[E]=ee;else return h[E]},debug:function(){!C.silent&&C.debug&&(C.performance?h.performance.log(arguments):(h.debug=Function.prototype.bind.call(console.info,console,C.name+":"),h.debug.apply(console,arguments)))},verbose:function(){!C.silent&&C.verbose&&C.debug&&(C.performance?h.performance.log(arguments):(h.verbose=Function.prototype.bind.call(console.info,console,C.name+":"),h.verbose.apply(console,arguments)))},error:function(){C.silent||(h.error=Function.prototype.bind.call(console.error,console,C.name+":"),h.error.apply(console,arguments))},performance:{log:function(E){var ee,He,Ue;C.performance&&(ee=new Date().getTime(),Ue=N||ee,He=ee-Ue,N=ee,L.push({Name:E[0],Arguments:[].slice.call(E,1)||"",Element:pt,"Execution Time":He})),clearTimeout(h.performance.timer),h.performance.timer=setTimeout(h.performance.display,500)},display:function(){var E=C.name+":",ee=0;N=!1,clearTimeout(h.performance.timer),v.each(L,function(He,Ue){ee+=Ue["Execution Time"]}),E+=" "+ee+"ms",z&&(E+=" '"+z+"'"),(console.group!==A||console.table!==A)&&L.length>0&&(console.groupCollapsed(E),console.table?console.table(L):v.each(L,function(He,Ue){console.log(Ue.Name+": "+Ue["Execution Time"]+"ms")}),console.groupEnd()),L=[]}},invoke:function(E,ee,He){var Ue=Ot,at,K,Ct;return ee=ee||H,He=pt||He,typeof E=="string"&&Ue!==A&&(E=E.split(/[\. ]/),at=E.length-1,v.each(E,function(Hi,Fi){var Cn=Hi!=at?Fi+E[Hi+1].charAt(0).toUpperCase()+E[Hi+1].slice(1):E;if(v.isPlainObject(Ue[Cn])&&Hi!=at)Ue=Ue[Cn];else{if(Ue[Cn]!==A)return K=Ue[Cn],!1;if(v.isPlainObject(Ue[Fi])&&Hi!=at)Ue=Ue[Fi];else return Ue[Fi]!==A?(K=Ue[Fi],!1):(h.error(ce.method,E),!1)}})),v.isFunction(K)?Ct=K.apply(He,ee):K!==A&&(Ct=K),Array.isArray(se)?se.push(Ct):se!==A?se=[se,Ct]:Ct!==A&&(se=Ct),K}},T?(Ot===A&&h.initialize(),h.invoke(B)):(Ot!==A&&Ot.invoke("destroy"),h.initialize())}),se!==A?se:me},v.fn.dropdown.settings={silent:!1,debug:!1,verbose:!1,performance:!0,on:"click",action:"activate",values:!1,clearable:!1,apiSettings:!1,selectOnKeydown:!0,minCharacters:0,filterRemoteData:!1,saveRemoteData:!0,throttle:200,context:yt,direction:"auto",keepOnScreen:!0,match:"both",fullTextSearch:!1,ignoreDiacritics:!1,hideDividers:!1,placeholder:"auto",preserveHTML:!0,sortSelect:!1,forceSelection:!0,allowAdditions:!1,ignoreCase:!1,ignoreSearchCase:!0,hideAdditions:!0,maxSelections:!1,useLabels:!0,delimiter:",",showOnFocus:!0,allowReselection:!1,allowTab:!0,allowCategorySelection:!1,fireOnInit:!1,transition:"auto",duration:200,glyphWidth:1.037,headerDivider:!0,label:{transition:"scale",duration:200,variation:!1},delay:{hide:300,show:200,search:20,touch:50},onChange:function(g,me,et){},onAdd:function(g,me,et){},onRemove:function(g,me,et){},onLabelSelect:function(g){},onLabelCreate:function(g,me){return v(this)},onLabelRemove:function(g){return!0},onNoResults:function(g){return!0},onShow:function(){},onHide:function(){},name:"Dropdown",namespace:"dropdown",message:{addResult:"Add <b>{term}</b>",count:"{count} selected",maxSelections:"Max {maxCount} selections",noResults:"No results found.",serverError:"There was an error contacting the server"},error:{action:"You called a dropdown action that was not defined",alreadySetup:"Once a select has been initialized behaviors must be called on the created ui dropdown",labels:"Allowing user additions currently requires the use of labels.",missingMultiple:"<select> requires multiple property to be set to correctly preserve multiple values",method:"The method you called is not defined.",noAPI:"The API module is required to load resources remotely",noStorage:"Saving remote data requires session storage",noTransition:"This module requires ui transitions <https://github.com/Semantic-Org/UI-Transition>",noNormalize:'"ignoreDiacritics" setting will be ignored. Browser does not support String().normalize(). You may consider including <https://cdn.jsdelivr.net/npm/unorm@1.4.1/lib/unorm.min.js> as a polyfill.'},regExp:{escape:/[-[\]{}()*+?.,\\^$|#\s:=@]/g,quote:/"/g},metadata:{defaultText:"defaultText",defaultValue:"defaultValue",placeholderText:"placeholder",text:"text",value:"value"},fields:{remoteValues:"results",values:"values",disabled:"disabled",name:"name",value:"value",text:"text",type:"type",image:"image",imageClass:"imageClass",icon:"icon",iconClass:"iconClass",class:"class",divider:"divider"},keys:{backspace:8,delimiter:188,deleteKey:46,enter:13,escape:27,pageUp:33,pageDown:34,leftArrow:37,upArrow:38,rightArrow:39,downArrow:40},selector:{addition:".addition",divider:".divider, .header",dropdown:".ui.dropdown",hidden:".hidden",icon:"> .dropdown.icon",input:'> input[type="hidden"], > select',item:".item",label:"> .label",remove:"> .label > .delete.icon",siblingLabel:".label",menu:".menu",message:".message",menuIcon:".dropdown.icon",search:"input.search, .menu > .search > input, .menu input.search",sizer:"> span.sizer",text:"> .text:not(.icon)",unselectable:".disabled, .filtered",clearIcon:"> .remove.icon"},className:{active:"active",addition:"addition",animating:"animating",disabled:"disabled",empty:"empty",dropdown:"ui dropdown",filtered:"filtered",hidden:"hidden transition",icon:"icon",image:"image",item:"item",label:"ui label",loading:"loading",menu:"menu",message:"message",multiple:"multiple",placeholder:"default",sizer:"sizer",search:"search",selected:"selected",selection:"selection",upward:"upward",leftward:"left",visible:"visible",clearable:"clearable",noselection:"noselection",delete:"delete",header:"header",divider:"divider",groupIcon:"",unfilterable:"unfilterable"}},v.fn.dropdown.settings.templates={deQuote:function(g){return String(g).replace(/"/g,"")},escape:function(g,me){if(me)return g;var et=/[<>"'`]/g,z=/[&<>"'`]/,oe={"<":"<",">":">",'"':""","'":"'","`":"`"},d=function(N){return oe[N]};return z.test(g)?(g=g.replace(/&(?![a-z0-9#]{1,6};)/,"&"),g.replace(et,d)):g},dropdown:function(g,me,et,z){var oe=g.placeholder||!1,d="",N=v.fn.dropdown.settings.templates.escape;return d+='<i class="dropdown icon"></i>',oe?d+='<div class="default text">'+N(oe,et)+"</div>":d+='<div class="text"></div>',d+='<div class="'+z.menu+'">',d+=v.fn.dropdown.settings.templates.menu(g,me,et,z),d+="</div>",d},menu:function(g,me,et,z){var oe=g[me.values]||[],d="",N=v.fn.dropdown.settings.templates.escape,L=v.fn.dropdown.settings.templates.deQuote;return v.each(oe,function(B,T){var H=T[me.type]?T[me.type]:"item";if(H==="item"){var se=T[me.text]?' data-text="'+L(T[me.text])+'"':"",n=T[me.disabled]?z.disabled+" ":"";d+='<div class="'+n+(T[me.class]?L(T[me.class]):z.item)+'" data-value="'+L(T[me.value])+'"'+se+">",T[me.image]&&(d+='<img class="'+(T[me.imageClass]?L(T[me.imageClass]):z.image)+'" src="'+L(T[me.image])+'">'),T[me.icon]&&(d+='<i class="'+L(T[me.icon])+" "+(T[me.iconClass]?L(T[me.iconClass]):z.icon)+'"></i>'),d+=N(T[me.name]||"",et),d+="</div>"}else if(H==="header"){var C=N(T[me.name]||"",et),D=T[me.icon]?L(T[me.icon]):z.groupIcon;(C!==""||D!=="")&&(d+='<div class="'+(T[me.class]?L(T[me.class]):z.header)+'">',D!==""&&(d+='<i class="'+D+" "+(T[me.iconClass]?L(T[me.iconClass]):z.icon)+'"></i>'),d+=C,d+="</div>"),T[me.divider]&&(d+='<div class="'+z.divider+'"></div>')}}),d},label:function(g,me,et,z){var oe=v.fn.dropdown.settings.templates.escape;return oe(me,et)+'<i class="'+z.delete+' icon"></i>'},message:function(g){return g},addition:function(g){return g}}})(jQuery,window,document);(function(v,yt,At,A){"use strict";v.isFunction=v.isFunction||function(g){return typeof g=="function"&&typeof g.nodeType!="number"},yt=typeof yt!="undefined"&&yt.Math==Math?yt:typeof self!="undefined"&&self.Math==Math?self:Function("return this")(),v.fn.form=function(g){var me=v(this),et=me.selector||"",z=new Date().getTime(),oe=[],d=arguments[0],N=arguments[1],L=typeof d=="string",B=[].slice.call(arguments,1),T;return me.each(function(){var H=v(this),se=this,n=[],C=!1,D,ge,de,be,we,Te,J,s,ce,De,ke,le,pe,We,I,F,M,Z=!1,Pe=!1,Ke=["clean","clean"],ot,ne;ne={initialize:function(){ne.get.settings(),L?(ot===A&&ne.instantiate(),ne.invoke(d)):(ot!==A&&ot.invoke("destroy"),ne.verbose("Initializing form validation",H,s),ne.bindEvents(),ne.set.defaults(),s.autoCheckRequired&&ne.set.autoCheck(),ne.instantiate())},instantiate:function(){ne.verbose("Storing instance of module",ne),ot=ne,H.data(F,ne)},destroy:function(){ne.verbose("Destroying previous module",ot),ne.removeEvents(),H.removeData(F)},refresh:function(){ne.verbose("Refreshing selector cache"),D=H.find(ke.field),ge=H.find(ke.group),de=H.find(ke.message),be=H.find(ke.prompt),we=H.find(ke.submit),Te=H.find(ke.clear),J=H.find(ke.reset)},submit:function(){ne.verbose("Submitting form",H),Z=!0,H.submit()},attachEvents:function(ae,Ve){Ve=Ve||"submit",v(ae).on("click"+M,function($){ne[Ve](),$.preventDefault()})},bindEvents:function(){ne.verbose("Attaching form events"),H.on("submit"+M,ne.validate.form).on("blur"+M,ke.field,ne.event.field.blur).on("click"+M,ke.submit,ne.submit).on("click"+M,ke.reset,ne.reset).on("click"+M,ke.clear,ne.clear),s.keyboardShortcuts&&H.on("keydown"+M,ke.field,ne.event.field.keydown),D.each(function(ae,Ve){var $=v(Ve),Ee=$.prop("type"),tt=ne.get.changeEvent(Ee,$);$.on(tt+M,ne.event.field.change)}),s.preventLeaving&&v(yt).on("beforeunload"+M,ne.event.beforeUnload),D.on("change click keyup keydown blur",function(ae){v(this).triggerHandler(ae.type+".dirty")}),D.on("change.dirty click.dirty keyup.dirty keydown.dirty blur.dirty",ne.determine.isDirty),H.on("dirty"+M,function(ae){s.onDirty.call()}),H.on("clean"+M,function(ae){s.onClean.call()})},clear:function(){D.each(function(ae,Ve){var $=v(Ve),Ee=$.parent(),tt=$.closest(ge),St=tt.find(ke.prompt),pt=$.closest(ke.uiCalendar),Ot=$.data(De.defaultValue)||"",ui=Ee.is(ke.uiCheckbox),Qt=Ee.is(ke.uiDropdown)&&ne.can.useElement("dropdown"),Ui=pt.length>0&&ne.can.useElement("calendar"),Ki=tt.hasClass(le.error);Ki&&(ne.verbose("Resetting error on field",tt),tt.removeClass(le.error),St.remove()),Qt?(ne.verbose("Resetting dropdown value",Ee,Ot),Ee.dropdown("clear",!0)):ui?$.prop("checked",!1):Ui?pt.calendar("clear"):(ne.verbose("Resetting field value",$,Ot),$.val(""))}),ne.remove.states()},reset:function(){D.each(function(ae,Ve){var $=v(Ve),Ee=$.parent(),tt=$.closest(ge),St=$.closest(ke.uiCalendar),pt=tt.find(ke.prompt),Ot=$.data(De.defaultValue),ui=Ee.is(ke.uiCheckbox),Qt=Ee.is(ke.uiDropdown)&&ne.can.useElement("dropdown"),Ui=St.length>0&&ne.can.useElement("calendar"),Ki=tt.hasClass(le.error);Ot!==A&&(Ki&&(ne.verbose("Resetting error on field",tt),tt.removeClass(le.error),pt.remove()),Qt?(ne.verbose("Resetting dropdown value",Ee,Ot),Ee.dropdown("restore defaults",!0)):ui?(ne.verbose("Resetting checkbox value",Ee,Ot),$.prop("checked",Ot)):Ui?St.calendar("set date",Ot):(ne.verbose("Resetting field value",$,Ot),$.val(Ot)))}),ne.remove.states()},determine:{isValid:function(){var ae=!0;return v.each(ce,function(Ve,$){ne.validate.field($,Ve,!0)||(ae=!1)}),ae},isDirty:function(ae){var Ve=!1;D.each(function($,Ee){var tt=v(Ee),St=tt.filter(ke.checkbox).length>0,pt;St?pt=ne.is.checkboxDirty(tt):pt=ne.is.fieldDirty(tt),tt.data(s.metadata.isDirty,pt),Ve|=pt}),Ve?ne.set.dirty():ne.set.clean(),ae&&ae.namespace==="dirty"&&(ae.stopImmediatePropagation(),ae.preventDefault())}},is:{bracketedRule:function(ae){return ae.type&&ae.type.match(s.regExp.bracket)},shorthandFields:function(ae){var Ve=Object.keys(ae),$=ae[Ve[0]];return ne.is.shorthandRules($)},shorthandRules:function(ae){return typeof ae=="string"||Array.isArray(ae)},empty:function(ae){return!ae||ae.length===0?!0:ae.is(ke.checkbox)?!ae.is(":checked"):ne.is.blank(ae)},blank:function(ae){return String(ae.val()).trim()===""},valid:function(ae,Ve){var $=!0;return ae?(ne.verbose("Checking if field is valid",ae),ne.validate.field(ce[ae],ae,!!Ve)):(ne.verbose("Checking if form is valid"),v.each(ce,function(Ee,tt){ne.is.valid(Ee,Ve)||($=!1)}),$)},dirty:function(){return Pe},clean:function(){return!Pe},fieldDirty:function(ae){var Ve=ae.data(De.defaultValue);Ve==null?Ve="":Array.isArray(Ve)&&(Ve=Ve.toString());var $=ae.val();$==null?$="":Array.isArray($)&&($=$.toString());var Ee=/^(true|false)$/i,tt=Ee.test(Ve)&&Ee.test($);if(tt){var St=new RegExp("^"+Ve+"$","i");return!St.test($)}return $!==Ve},checkboxDirty:function(ae){var Ve=ae.data(De.defaultValue),$=ae.is(":checked");return Ve!==$},justDirty:function(){return Ke[0]==="dirty"},justClean:function(){return Ke[0]==="clean"}},removeEvents:function(){H.off(M),D.off(M),we.off(M),D.off(M)},event:{field:{keydown:function(ae){var Ve=v(this),$=ae.which,Ee=Ve.is(ke.input),tt=Ve.is(ke.checkbox),St=Ve.closest(ke.uiDropdown).length>0,pt={enter:13,escape:27};$==pt.escape&&(ne.verbose("Escape key pressed blurring field"),Ve.blur()),!ae.ctrlKey&&$==pt.enter&&Ee&&!St&&!tt&&(C||(Ve.one("keyup"+M,ne.event.field.keyup),ne.submit(),ne.debug("Enter pressed on input submitting form")),C=!0)},keyup:function(){C=!1},blur:function(ae){var Ve=v(this),$=Ve.closest(ge),Ee=ne.get.validation(Ve);$.hasClass(le.error)?(ne.debug("Revalidating field",Ve,Ee),Ee&&ne.validate.field(Ee)):s.on=="blur"&&Ee&&ne.validate.field(Ee)},change:function(ae){var Ve=v(this),$=Ve.closest(ge),Ee=ne.get.validation(Ve);Ee&&(s.on=="change"||$.hasClass(le.error)&&s.revalidate)&&(clearTimeout(ne.timer),ne.timer=setTimeout(function(){ne.debug("Revalidating field",Ve,ne.get.validation(Ve)),ne.validate.field(Ee),s.inline||ne.validate.form(!1,!0)},s.delay))}},beforeUnload:function(ae){if(ne.is.dirty()&&!Z){var ae=ae||yt.event;return ae&&(ae.returnValue=s.text.leavingMessage),s.text.leavingMessage}}},get:{ancillaryValue:function(ae){return!ae.type||!ae.value&&!ne.is.bracketedRule(ae)?!1:ae.value!==A?ae.value:ae.type.match(s.regExp.bracket)[1]+""},ruleName:function(ae){return ne.is.bracketedRule(ae)?ae.type.replace(ae.type.match(s.regExp.bracket)[0],""):ae.type},changeEvent:function(ae,Ve){return ae=="checkbox"||ae=="radio"||ae=="hidden"||Ve.is("select")?"change":ne.get.inputEvent()},inputEvent:function(){return At.createElement("input").oninput!==A?"input":At.createElement("input").onpropertychange!==A?"propertychange":"keyup"},fieldsFromShorthand:function(ae){var Ve={};return v.each(ae,function($,Ee){typeof Ee=="string"&&(Ee=[Ee]),Ve[$]={rules:[]},v.each(Ee,function(tt,St){Ve[$].rules.push({type:St})})}),Ve},prompt:function(ae,Ve){var $=ne.get.ruleName(ae),Ee=ne.get.ancillaryValue(ae),tt=ne.get.field(Ve.identifier),St=tt.val(),pt=v.isFunction(ae.prompt)?ae.prompt(St):ae.prompt||s.prompt[$]||s.text.unspecifiedRule,Ot=pt.search("{value}")!==-1,ui=pt.search("{name}")!==-1,Qt,Ui;return Ot&&(pt=pt.replace(/\{value\}/g,tt.val())),ui&&(Qt=tt.closest(ke.group).find("label").eq(0),Ui=Qt.length==1?Qt.text():tt.prop("placeholder")||s.text.unspecifiedField,pt=pt.replace(/\{name\}/g,Ui)),pt=pt.replace(/\{identifier\}/g,Ve.identifier),pt=pt.replace(/\{ruleValue\}/g,Ee),ae.prompt||ne.verbose("Using default validation prompt for type",pt,$),pt},settings:function(){if(v.isPlainObject(g)){var ae=Object.keys(g),Ve=ae.length>0?g[ae[0]].identifier!==A&&g[ae[0]].rules!==A:!1;Ve?(s=v.extend(!0,{},v.fn.form.settings,N),ce=v.extend({},v.fn.form.settings.defaults,g),ne.error(s.error.oldSyntax,se),ne.verbose("Extending settings from legacy parameters",ce,s)):(g.fields&&ne.is.shorthandFields(g.fields)&&(g.fields=ne.get.fieldsFromShorthand(g.fields)),s=v.extend(!0,{},v.fn.form.settings,g),ce=v.extend({},v.fn.form.settings.defaults,s.fields),ne.verbose("Extending settings",ce,s))}else s=v.fn.form.settings,ce=v.fn.form.settings.defaults,ne.verbose("Using default form validation",ce,s);I=s.namespace,De=s.metadata,ke=s.selector,le=s.className,pe=s.regExp,We=s.error,F="module-"+I,M="."+I,ot=H.data(F),ne.refresh()},field:function(ae){ne.verbose("Finding field with identifier",ae),ae=ne.escape.string(ae);var Ve;return(Ve=D.filter("#"+ae)).length>0||(Ve=D.filter('[name="'+ae+'"]')).length>0||(Ve=D.filter('[name="'+ae+'[]"]')).length>0||(Ve=D.filter("[data-"+De.validate+'="'+ae+'"]')).length>0?Ve:v("<input/>")},fields:function(ae){var Ve=v();return v.each(ae,function($,Ee){Ve=Ve.add(ne.get.field(Ee))}),Ve},validation:function(ae){var Ve,$;return ce?(v.each(ce,function(Ee,tt){$=tt.identifier||Ee,v.each(ne.get.field($),function(St,pt){if(pt==ae[0])return tt.identifier=$,Ve=tt,!1})}),Ve||!1):!1},value:function(ae){var Ve=[],$;return Ve.push(ae),$=ne.get.values.call(se,Ve),$[ae]},values:function(ae){var Ve=Array.isArray(ae)?ne.get.fields(ae):D,$={};return Ve.each(function(Ee,tt){var St=v(tt),pt=St.closest(ke.uiCalendar),Ot=St.prop("name"),ui=St.val(),Qt=St.is(ke.checkbox),Ui=St.is(ke.radio),Ki=Ot.indexOf("[]")!==-1,Gi=pt.length>0&&ne.can.useElement("calendar"),pn=Qt?St.is(":checked"):!1;if(Ot)if(Ki)Ot=Ot.replace("[]",""),$[Ot]||($[Ot]=[]),Qt?pn?$[Ot].push(ui||!0):$[Ot].push(!1):$[Ot].push(ui);else if(Ui)($[Ot]===A||$[Ot]===!1)&&($[Ot]=pn?ui||!0:!1);else if(Qt)pn?$[Ot]=ui||!0:$[Ot]=!1;else if(Gi){var zi=pt.calendar("get date");if(zi!==null){if(s.dateHandling=="date")$[Ot]=zi;else if(s.dateHandling=="input")$[Ot]=pt.calendar("get input date");else if(s.dateHandling=="formatter"){var Ft=pt.calendar("setting","type");switch(Ft){case"date":$[Ot]=s.formatter.date(zi);break;case"datetime":$[Ot]=s.formatter.datetime(zi);break;case"time":$[Ot]=s.formatter.time(zi);break;case"month":$[Ot]=s.formatter.month(zi);break;case"year":$[Ot]=s.formatter.year(zi);break;default:ne.debug("Wrong calendar mode",pt,Ft),$[Ot]=""}}}else $[Ot]=""}else $[Ot]=ui}),$},dirtyFields:function(){return D.filter(function(ae,Ve){return v(Ve).data(De.isDirty)})}},has:{field:function(ae){return ne.verbose("Checking for existence of a field with identifier",ae),ae=ne.escape.string(ae),typeof ae!="string"&&ne.error(We.identifier,ae),D.filter("#"+ae).length>0||D.filter('[name="'+ae+'"]').length>0?!0:D.filter("[data-"+De.validate+'="'+ae+'"]').length>0}},can:{useElement:function(ae){return v.fn[ae]!==A?!0:(ne.error(We.noElement.replace("{element}",ae)),!1)}},escape:{string:function(ae){return ae=String(ae),ae.replace(pe.escape,"\\$&")}},add:{rule:function(ae,Ve){ne.add.field(ae,Ve)},field:function(ae,Ve){(ce[ae]===A||ce[ae].rules===A)&&(ce[ae]={rules:[]});var $={rules:[]};ne.is.shorthandRules(Ve)?(Ve=Array.isArray(Ve)?Ve:[Ve],v.each(Ve,function(Ee,tt){$.rules.push({type:tt})})):$.rules=Ve.rules,v.each($.rules,function(Ee,tt){v.grep(ce[ae].rules,function(St){return St.type==tt.type}).length==0&&ce[ae].rules.push(tt)}),ne.debug("Adding rules",$.rules,ce)},fields:function(ae){var Ve;ae&&ne.is.shorthandFields(ae)?Ve=ne.get.fieldsFromShorthand(ae):Ve=ae,ce=v.extend({},ce,Ve)},prompt:function(ae,Ve,$){var Ee=ne.get.field(ae),tt=Ee.closest(ge),St=tt.children(ke.prompt),pt=St.length!==0;Ve=typeof Ve=="string"?[Ve]:Ve,ne.verbose("Adding field error state",ae),$||tt.addClass(le.error),s.inline&&(pt||(St=s.templates.prompt(Ve,le.label),St.appendTo(tt)),St.html(Ve[0]),pt?ne.verbose("Inline errors are disabled, no inline error added",ae):s.transition&&ne.can.useElement("transition")&&H.transition("is supported")?(ne.verbose("Displaying error with css transition",s.transition),St.transition(s.transition+" in",s.duration)):(ne.verbose("Displaying error with fallback javascript animation"),St.fadeIn(s.duration)))},errors:function(ae){ne.debug("Adding form error messages",ae),ne.set.error(),de.html(s.templates.error(ae))}},remove:{errors:function(){ne.debug("Removing form error messages"),de.empty()},states:function(){H.removeClass(le.error).removeClass(le.success),s.inline||ne.remove.errors(),ne.determine.isDirty()},rule:function(ae,Ve){var $=Array.isArray(Ve)?Ve:[Ve];if(!(ce[ae]===A||!Array.isArray(ce[ae].rules))){if(Ve===A){ne.debug("Removed all rules"),ce[ae].rules=[];return}v.each(ce[ae].rules,function(Ee,tt){tt&&$.indexOf(tt.type)!==-1&&(ne.debug("Removed rule",tt.type),ce[ae].rules.splice(Ee,1))})}},field:function(ae){var Ve=Array.isArray(ae)?ae:[ae];v.each(Ve,function($,Ee){ne.remove.rule(Ee)})},rules:function(ae,Ve){Array.isArray(ae)?v.each(ae,function($,Ee){ne.remove.rule(Ee,Ve)}):ne.remove.rule(ae,Ve)},fields:function(ae){ne.remove.field(ae)},prompt:function(ae){var Ve=ne.get.field(ae),$=Ve.closest(ge),Ee=$.children(ke.prompt);$.removeClass(le.error),s.inline&&Ee.is(":visible")&&(ne.verbose("Removing prompt for field",ae),s.transition&&ne.can.useElement("transition")&&H.transition("is supported")?Ee.transition(s.transition+" out",s.duration,function(){Ee.remove()}):Ee.fadeOut(s.duration,function(){Ee.remove()}))}},set:{success:function(){H.removeClass(le.error).addClass(le.success)},defaults:function(){D.each(function(ae,Ve){var $=v(Ve),Ee=$.parent(),tt=$.filter(ke.checkbox).length>0,St=Ee.is(ke.uiDropdown)&&ne.can.useElement("dropdown"),pt=$.closest(ke.uiCalendar),Ot=pt.length>0&&ne.can.useElement("calendar"),ui=tt?$.is(":checked"):$.val();St?Ee.dropdown("save defaults"):Ot&&pt.calendar("refresh"),$.data(De.defaultValue,ui),$.data(De.isDirty,!1)})},error:function(){H.removeClass(le.success).addClass(le.error)},value:function(ae,Ve){var $={};return $[ae]=Ve,ne.set.values.call(se,$)},values:function(ae){v.isEmptyObject(ae)||v.each(ae,function(Ve,$){var Ee=ne.get.field(Ve),tt=Ee.parent(),St=Ee.closest(ke.uiCalendar),pt=Array.isArray($),Ot=tt.is(ke.uiCheckbox)&&ne.can.useElement("checkbox"),ui=tt.is(ke.uiDropdown)&&ne.can.useElement("dropdown"),Qt=Ee.is(ke.radio)&&Ot,Ui=St.length>0&&ne.can.useElement("calendar"),Ki=Ee.length>0,Gi;Ki&&(pt&&Ot?(ne.verbose("Selecting multiple",$,Ee),tt.checkbox("uncheck"),v.each($,function(pn,zi){Gi=Ee.filter('[value="'+zi+'"]'),tt=Gi.parent(),Gi.length>0&&tt.checkbox("check")})):Qt?(ne.verbose("Selecting radio value",$,Ee),Ee.filter('[value="'+$+'"]').parent(ke.uiCheckbox).checkbox("check")):Ot?(ne.verbose("Setting checkbox value",$,tt),$===!0||$===1?tt.checkbox("check"):tt.checkbox("uncheck")):ui?(ne.verbose("Setting dropdown value",$,tt),tt.dropdown("set selected",$)):Ui?St.calendar("set date",$):(ne.verbose("Setting field value",$,Ee),Ee.val($)))})},dirty:function(){ne.verbose("Setting state dirty"),Pe=!0,Ke[0]=Ke[1],Ke[1]="dirty",ne.is.justClean()&&H.trigger("dirty")},clean:function(){ne.verbose("Setting state clean"),Pe=!1,Ke[0]=Ke[1],Ke[1]="clean",ne.is.justDirty()&&H.trigger("clean")},asClean:function(){ne.set.defaults(),ne.set.clean()},asDirty:function(){ne.set.defaults(),ne.set.dirty()},autoCheck:function(){ne.debug("Enabling auto check on required fields"),D.each(function(ae,Ve){var $=v(Ve),Ee=v(Ve).closest(ge),tt=$.filter(ke.checkbox).length>0,St=$.prop("required")||Ee.hasClass(le.required)||Ee.parent().hasClass(le.required),pt=$.is(":disabled")||Ee.hasClass(le.disabled)||Ee.parent().hasClass(le.disabled),Ot=ne.get.validation($),ui=Ot?v.grep(Ot.rules,function(Ui){return Ui.type=="empty"})!==0:!1,Qt=Ot.identifier||$.attr("id")||$.attr("name")||$.data(De.validate);St&&!pt&&!ui&&Qt!==A&&(tt?(ne.verbose("Adding 'checked' rule on field",Qt),ne.add.rule(Qt,"checked")):(ne.verbose("Adding 'empty' rule on field",Qt),ne.add.rule(Qt,"empty")))})}},validate:{form:function(ae,Ve){var $=ne.get.values();if(C)return!1;if(n=[],ne.determine.isValid()){if(ne.debug("Form has no validation errors, submitting"),ne.set.success(),s.inline||ne.remove.errors(),Ve!==!0)return s.onSuccess.call(se,ae,$)}else if(ne.debug("Form has errors"),Z=!1,ne.set.error(),s.inline||ne.add.errors(n),ae&&H.data("moduleApi")!==A&&ae.stopImmediatePropagation(),Ve!==!0)return s.onFailure.call(se,n,$)},field:function(ae,Ve,$){$=$!==A?$:!0,typeof ae=="string"&&(ne.verbose("Validating field",ae),Ve=ae,ae=ce[ae]);var Ee=ae.identifier||Ve,tt=ne.get.field(Ee),St=ae.depends?ne.get.field(ae.depends):!1,pt=!0,Ot=[];ae.identifier||(ne.debug("Using field name as identifier",Ee),ae.identifier=Ee);var ui=!tt.filter(":not(:disabled)").length;if(ui?ne.debug("Field is disabled. Skipping",Ee):ae.optional&&ne.is.blank(tt)?ne.debug("Field is optional and blank. Skipping",Ee):ae.depends&&ne.is.empty(St)?ne.debug("Field depends on another value that is not present or empty. Skipping",St):ae.rules!==A&&($&&tt.closest(ge).removeClass(le.error),v.each(ae.rules,function(Qt,Ui){if(ne.has.field(Ee)){var Ki=ne.validate.rule(ae,Ui,!0)||[];Ki.length>0&&(ne.debug("Field is invalid",Ee,Ui.type),Ot.push(ne.get.prompt(Ui,ae)),pt=!1,$&&v(Ki).closest(ge).addClass(le.error))}})),pt)$&&(ne.remove.prompt(Ee,Ot),s.onValid.call(tt));else return $&&(n=n.concat(Ot),ne.add.prompt(Ee,Ot,!0),s.onInvalid.call(tt,Ot)),!1;return!0},rule:function(ae,Ve,$){var Ee=ne.get.field(ae.identifier),tt=ne.get.ancillaryValue(Ve),St=ne.get.ruleName(Ve),pt=s.rules[St],Ot=[],ui=Ee.is(ke.checkbox),Qt=function(Ui){var Ki=ui?v(Ui).filter(":checked").val():v(Ui).val();return Ki=Ki===A||Ki===""||Ki===null?"":s.shouldTrim?String(Ki+"").trim():String(Ki+""),pt.call(Ui,Ki,tt,H)};if(!v.isFunction(pt)){ne.error(We.noRule,St);return}return ui?Qt(Ee)||(Ot=Ee):v.each(Ee,function(Ui,Ki){Qt(Ki)||Ot.push(Ki)}),$?Ot:!(Ot.length>0)}},setting:function(ae,Ve){if(v.isPlainObject(ae))v.extend(!0,s,ae);else if(Ve!==A)s[ae]=Ve;else return s[ae]},internal:function(ae,Ve){if(v.isPlainObject(ae))v.extend(!0,ne,ae);else if(Ve!==A)ne[ae]=Ve;else return ne[ae]},debug:function(){!s.silent&&s.debug&&(s.performance?ne.performance.log(arguments):(ne.debug=Function.prototype.bind.call(console.info,console,s.name+":"),ne.debug.apply(console,arguments)))},verbose:function(){!s.silent&&s.verbose&&s.debug&&(s.performance?ne.performance.log(arguments):(ne.verbose=Function.prototype.bind.call(console.info,console,s.name+":"),ne.verbose.apply(console,arguments)))},error:function(){s.silent||(ne.error=Function.prototype.bind.call(console.error,console,s.name+":"),ne.error.apply(console,arguments))},performance:{log:function(ae){var Ve,$,Ee;s.performance&&(Ve=new Date().getTime(),Ee=z||Ve,$=Ve-Ee,z=Ve,oe.push({Name:ae[0],Arguments:[].slice.call(ae,1)||"",Element:se,"Execution Time":$})),clearTimeout(ne.performance.timer),ne.performance.timer=setTimeout(ne.performance.display,500)},display:function(){var ae=s.name+":",Ve=0;z=!1,clearTimeout(ne.performance.timer),v.each(oe,function($,Ee){Ve+=Ee["Execution Time"]}),ae+=" "+Ve+"ms",et&&(ae+=" '"+et+"'"),me.length>1&&(ae+=" ("+me.length+")"),(console.group!==A||console.table!==A)&&oe.length>0&&(console.groupCollapsed(ae),console.table?console.table(oe):v.each(oe,function($,Ee){console.log(Ee.Name+": "+Ee["Execution Time"]+"ms")}),console.groupEnd()),oe=[]}},invoke:function(ae,Ve,$){var Ee=ot,tt,St,pt;return Ve=Ve||B,$=se||$,typeof ae=="string"&&Ee!==A&&(ae=ae.split(/[\. ]/),tt=ae.length-1,v.each(ae,function(Ot,ui){var Qt=Ot!=tt?ui+ae[Ot+1].charAt(0).toUpperCase()+ae[Ot+1].slice(1):ae;if(v.isPlainObject(Ee[Qt])&&Ot!=tt)Ee=Ee[Qt];else{if(Ee[Qt]!==A)return St=Ee[Qt],!1;if(v.isPlainObject(Ee[ui])&&Ot!=tt)Ee=Ee[ui];else return Ee[ui]!==A&&(St=Ee[ui]),!1}})),v.isFunction(St)?pt=St.apply($,Ve):St!==A&&(pt=St),Array.isArray(T)?T.push(pt):T!==A?T=[T,pt]:pt!==A&&(T=pt),St}},ne.initialize()}),T!==A?T:this},v.fn.form.settings={name:"Form",namespace:"form",debug:!1,verbose:!1,performance:!0,fields:!1,keyboardShortcuts:!0,on:"submit",inline:!1,delay:200,revalidate:!0,shouldTrim:!0,transition:"scale",duration:200,autoCheckRequired:!1,preventLeaving:!1,dateHandling:"date",onValid:function(){},onInvalid:function(){},onSuccess:function(){return!0},onFailure:function(){return!1},onDirty:function(){},onClean:function(){},metadata:{defaultValue:"default",validate:"validate",isDirty:"isDirty"},regExp:{htmlID:/^[a-zA-Z][\w:.-]*$/g,bracket:/\[(.*)\]/i,decimal:/^\d+\.?\d*$/,email:/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i,escape:/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|:,=@]/g,flags:/^\/(.*)\/(.*)?/,integer:/^\-?\d+$/,number:/^\-?\d*(\.\d+)?$/,url:/(https?:\/\/(?:www\.|(?!www))[^\s\.]+\.[^\s]{2,}|www\.[^\s]+\.[^\s]{2,})/i},text:{unspecifiedRule:"Please enter a valid value",unspecifiedField:"This field",leavingMessage:"There are unsaved changes on this page which will be discarded if you continue."},prompt:{empty:"{name} must have a value",checked:"{name} must be checked",email:"{name} must be a valid e-mail",url:"{name} must be a valid url",regExp:"{name} is not formatted correctly",integer:"{name} must be an integer",decimal:"{name} must be a decimal number",number:"{name} must be set to a number",is:'{name} must be "{ruleValue}"',isExactly:'{name} must be exactly "{ruleValue}"',not:'{name} cannot be set to "{ruleValue}"',notExactly:'{name} cannot be set to exactly "{ruleValue}"',contain:'{name} must contain "{ruleValue}"',containExactly:'{name} must contain exactly "{ruleValue}"',doesntContain:'{name} cannot contain "{ruleValue}"',doesntContainExactly:'{name} cannot contain exactly "{ruleValue}"',minLength:"{name} must be at least {ruleValue} characters",length:"{name} must be at least {ruleValue} characters",exactLength:"{name} must be exactly {ruleValue} characters",maxLength:"{name} cannot be longer than {ruleValue} characters",match:"{name} must match {ruleValue} field",different:"{name} must have a different value than {ruleValue} field",creditCard:"{name} must be a valid credit card number",minCount:"{name} must have at least {ruleValue} choices",exactCount:"{name} must have exactly {ruleValue} choices",maxCount:"{name} must have {ruleValue} or less choices"},selector:{checkbox:'input[type="checkbox"], input[type="radio"]',clear:".clear",field:"input:not(.search), textarea, select",group:".field",input:"input",message:".error.message",prompt:".prompt.label",radio:'input[type="radio"]',reset:'.reset:not([type="reset"])',submit:'.submit:not([type="submit"])',uiCheckbox:".ui.checkbox",uiDropdown:".ui.dropdown",uiCalendar:".ui.calendar"},className:{error:"error",label:"ui basic red pointing prompt label",pressed:"down",success:"success",required:"required",disabled:"disabled"},error:{identifier:"You must specify a string identifier for each field",method:"The method you called is not defined.",noRule:"There is no rule matching the one you specified",oldSyntax:"Starting in 2.0 forms now only take a single settings object. Validation settings converted to new syntax automatically.",noElement:"This module requires ui {element}"},templates:{error:function(g){var me='<ul class="list">';return v.each(g,function(et,z){me+="<li>"+z+"</li>"}),me+="</ul>",v(me)},prompt:function(g,me){return v("<div/>").addClass(me).html(g[0])}},formatter:{date:function(g){return Intl.DateTimeFormat("en-GB").format(g)},datetime:function(g){return Intl.DateTimeFormat("en-GB",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(g)},time:function(g){return Intl.DateTimeFormat("en-GB",{hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(g)},month:function(g){return Intl.DateTimeFormat("en-GB",{month:"2-digit",year:"numeric"}).format(g)},year:function(g){return Intl.DateTimeFormat("en-GB",{year:"numeric"}).format(g)}},rules:{empty:function(g){return!(g===A||g===""||Array.isArray(g)&&g.length===0)},checked:function(){return v(this).filter(":checked").length>0},email:function(g){return v.fn.form.settings.regExp.email.test(g)},url:function(g){return v.fn.form.settings.regExp.url.test(g)},regExp:function(g,me){if(me instanceof RegExp)return g.match(me);var et=me.match(v.fn.form.settings.regExp.flags),z;return et&&(me=et.length>=2?et[1]:me,z=et.length>=3?et[2]:""),g.match(new RegExp(me,z))},integer:function(g,me){var et=v.fn.form.settings.regExp.integer,z,oe,d;return!me||["",".."].indexOf(me)!==-1||(me.indexOf("..")==-1?et.test(me)&&(z=oe=me-0):(d=me.split("..",2),et.test(d[0])&&(z=d[0]-0),et.test(d[1])&&(oe=d[1]-0))),et.test(g)&&(z===A||g>=z)&&(oe===A||g<=oe)},decimal:function(g){return v.fn.form.settings.regExp.decimal.test(g)},number:function(g){return v.fn.form.settings.regExp.number.test(g)},is:function(g,me){return me=typeof me=="string"?me.toLowerCase():me,g=typeof g=="string"?g.toLowerCase():g,g==me},isExactly:function(g,me){return g==me},not:function(g,me){return g=typeof g=="string"?g.toLowerCase():g,me=typeof me=="string"?me.toLowerCase():me,g!=me},notExactly:function(g,me){return g!=me},contains:function(g,me){return me=me.replace(v.fn.form.settings.regExp.escape,"\\$&"),g.search(new RegExp(me,"i"))!==-1},containsExactly:function(g,me){return me=me.replace(v.fn.form.settings.regExp.escape,"\\$&"),g.search(new RegExp(me))!==-1},doesntContain:function(g,me){return me=me.replace(v.fn.form.settings.regExp.escape,"\\$&"),g.search(new RegExp(me,"i"))===-1},doesntContainExactly:function(g,me){return me=me.replace(v.fn.form.settings.regExp.escape,"\\$&"),g.search(new RegExp(me))===-1},minLength:function(g,me){return g!==A?g.length>=me:!1},length:function(g,me){return g!==A?g.length>=me:!1},exactLength:function(g,me){return g!==A?g.length==me:!1},maxLength:function(g,me){return g!==A?g.length<=me:!1},match:function(g,me,et){var z,oe;return(oe=et.find('[data-validate="'+me+'"]')).length>0||(oe=et.find("#"+me)).length>0||(oe=et.find('[name="'+me+'"]')).length>0?z=oe.val():(oe=et.find('[name="'+me+'[]"]')).length>0&&(z=oe),z!==A?g.toString()==z.toString():!1},different:function(g,me,et){var z,oe;return(oe=et.find('[data-validate="'+me+'"]')).length>0||(oe=et.find("#"+me)).length>0||(oe=et.find('[name="'+me+'"]')).length>0?z=oe.val():(oe=et.find('[name="'+me+'[]"]')).length>0&&(z=oe),z!==A?g.toString()!==z.toString():!1},creditCard:function(g,me){var et={visa:{pattern:/^4/,length:[16]},amex:{pattern:/^3[47]/,length:[15]},mastercard:{pattern:/^5[1-5]/,length:[16]},discover:{pattern:/^(6011|622(12[6-9]|1[3-9][0-9]|[2-8][0-9]{2}|9[0-1][0-9]|92[0-5]|64[4-9])|65)/,length:[16]},unionPay:{pattern:/^(62|88)/,length:[16,17,18,19]},jcb:{pattern:/^35(2[89]|[3-8][0-9])/,length:[16]},maestro:{pattern:/^(5018|5020|5038|6304|6759|676[1-3])/,length:[12,13,14,15,16,17,18,19]},dinersClub:{pattern:/^(30[0-5]|^36)/,length:[14]},laser:{pattern:/^(6304|670[69]|6771)/,length:[16,17,18,19]},visaElectron:{pattern:/^(4026|417500|4508|4844|491(3|7))/,length:[16]}},z={},oe=!1,d=typeof me=="string"?me.split(","):!1,N,L;if(!(typeof g!="string"||g.length===0)){if(g=g.replace(/[\-]/g,""),d&&(v.each(d,function(n,C){L=et[C],L&&(z={length:v.inArray(g.length,L.length)!==-1,pattern:g.search(L.pattern)!==-1},z.length&&z.pattern&&(oe=!0))}),!oe))return!1;if(N={number:v.inArray(g.length,et.unionPay.length)!==-1,pattern:g.search(et.unionPay.pattern)!==-1},N.number&&N.pattern)return!0;for(var B=g.length,T=0,H=[[0,1,2,3,4,5,6,7,8,9],[0,2,4,6,8,1,3,5,7,9]],se=0;B--;)se+=H[T][parseInt(g.charAt(B),10)],T^=1;return se%10===0&&se>0}},minCount:function(g,me){return me==0?!0:me==1?g!=="":g.split(",").length>=me},exactCount:function(g,me){return me==0?g==="":me==1?g!==""&&g.search(",")===-1:g.split(",").length==me},maxCount:function(g,me){return me==0?!1:me==1?g.search(",")===-1:g.split(",").length<=me}}}})(jQuery,window,document);(function(v,yt,At,A){"use strict";v.isFunction=v.isFunction||function(g){return typeof g=="function"&&typeof g.nodeType!="number"},yt=typeof yt!="undefined"&&yt.Math==Math?yt:typeof self!="undefined"&&self.Math==Math?self:Function("return this")(),v.fn.modal=function(g){var me=v(this),et=v(yt),z=v(At),oe=v("body"),d=me.selector||"",N=new Date().getTime(),L=[],B=arguments[0],T=typeof B=="string",H=[].slice.call(arguments,1),se=yt.requestAnimationFrame||yt.mozRequestAnimationFrame||yt.webkitRequestAnimationFrame||yt.msRequestAnimationFrame||function(C){setTimeout(C,0)},n;return me.each(function(){var C=v.isPlainObject(g)?v.extend(!0,{},v.fn.modal.settings,g):v.extend({},v.fn.modal.settings),D=C.selector,ge=C.className,de=C.namespace,be=C.error,we="."+de,Te="module-"+de,J=v(this),s=v(C.context),ce=J.find(D.close),De,ke,le,pe,We,I=this,F=J.data(Te),M=!1,Z,Pe,Ke="",ot="",ne,ae,Ve,$;$={initialize:function(){$.cache={},$.verbose("Initializing dimmer",s),$.create.id(),$.create.dimmer(),C.allowMultiple&&$.create.innerDimmer(),C.centered||J.addClass("top aligned"),$.refreshModals(),$.bind.events(),C.observeChanges&&$.observeChanges(),$.instantiate()},instantiate:function(){$.verbose("Storing instance of modal"),F=$,J.data(Te,F)},create:{dimmer:function(){var Ee={debug:C.debug,dimmerName:"modals"},tt=v.extend(!0,Ee,C.dimmerSettings);if(v.fn.dimmer===A){$.error(be.dimmer);return}$.debug("Creating dimmer"),pe=s.dimmer(tt),C.detachable?($.verbose("Modal is detachable, moving content into dimmer"),pe.dimmer("add content",J)):$.set.undetached(),We=pe.dimmer("get dimmer")},id:function(){ae=(Math.random().toString(16)+"000000000").substr(2,8),ne="."+ae,$.verbose("Creating unique id for element",ae)},innerDimmer:function(){J.find(D.dimmer).length==0&&J.prepend('<div class="ui inverted dimmer"></div>')}},destroy:function(){Ve&&Ve.disconnect(),$.verbose("Destroying previous modal"),J.removeData(Te).off(we),et.off(ne),We.off(ne),ce.off(we),s.dimmer("destroy")},observeChanges:function(){"MutationObserver"in yt&&(Ve=new MutationObserver(function(Ee){$.debug("DOM tree modified, refreshing"),$.refresh()}),Ve.observe(I,{childList:!0,subtree:!0}),$.debug("Setting up mutation observer",Ve))},refresh:function(){$.remove.scrolling(),$.cacheSizes(),$.can.useFlex()||$.set.modalOffset(),$.set.screenHeight(),$.set.type()},refreshModals:function(){ke=J.siblings(D.modal),De=ke.add(J)},attachEvents:function(Ee,tt){var St=v(Ee);tt=v.isFunction($[tt])?$[tt]:$.toggle,St.length>0?($.debug("Attaching modal events to element",Ee,tt),St.off(we).on("click"+we,tt)):$.error(be.notFound,Ee)},bind:{events:function(){$.verbose("Attaching events"),J.on("click"+we,D.close,$.event.close).on("click"+we,D.approve,$.event.approve).on("click"+we,D.deny,$.event.deny),et.on("resize"+ne,$.event.resize)},scrollLock:function(){pe.get(0).addEventListener("touchmove",$.event.preventScroll,{passive:!1})}},unbind:{scrollLock:function(){pe.get(0).removeEventListener("touchmove",$.event.preventScroll,{passive:!1})}},get:{id:function(){return(Math.random().toString(16)+"000000000").substr(2,8)}},event:{approve:function(){if(M||C.onApprove.call(I,v(this))===!1){$.verbose("Approve callback returned false cancelling hide");return}M=!0,$.hide(function(){M=!1})},preventScroll:function(Ee){Ee.target.className.indexOf("dimmer")!==-1&&Ee.preventDefault()},deny:function(){if(M||C.onDeny.call(I,v(this))===!1){$.verbose("Deny callback returned false cancelling hide");return}M=!0,$.hide(function(){M=!1})},close:function(){$.hide()},mousedown:function(Ee){var tt=v(Ee.target),St=$.is.rtl();Z=tt.closest(D.modal).length>0,Z&&$.verbose("Mouse down event registered inside the modal"),Pe=$.is.scrolling()&&(!St&&v(yt).outerWidth()-C.scrollbarWidth<=Ee.clientX||St&&C.scrollbarWidth>=Ee.clientX),Pe&&$.verbose("Mouse down event registered inside the scrollbar")},mouseup:function(Ee){if(!C.closable){$.verbose("Dimmer clicked but closable setting is disabled");return}if(Z){$.debug("Dimmer clicked but mouse down was initially registered inside the modal");return}if(Pe){$.debug("Dimmer clicked but mouse down was initially registered inside the scrollbar");return}var tt=v(Ee.target),St=tt.closest(D.modal).length>0,pt=v.contains(At.documentElement,Ee.target);if(!St&&pt&&$.is.active()&&J.hasClass(ge.front)){if($.debug("Dimmer clicked, hiding all modals"),C.allowMultiple){if(!$.hideAll())return}else if(!$.hide())return;$.remove.clickaway()}},debounce:function(Ee,tt){clearTimeout($.timer),$.timer=setTimeout(Ee,tt)},keyboard:function(Ee){var tt=Ee.which,St=27;tt==St&&(C.closable?($.debug("Escape key pressed hiding modal"),J.hasClass(ge.front)&&$.hide()):$.debug("Escape key pressed, but closable is set to false"),Ee.preventDefault())},resize:function(){pe.dimmer("is active")&&($.is.animating()||$.is.active())&&se($.refresh)}},toggle:function(){$.is.active()||$.is.animating()?$.hide():$.show()},show:function(Ee){Ee=v.isFunction(Ee)?Ee:function(){},$.refreshModals(),$.set.dimmerSettings(),$.set.dimmerStyles(),$.showModal(Ee)},hide:function(Ee){return Ee=v.isFunction(Ee)?Ee:function(){},$.refreshModals(),$.hideModal(Ee)},showModal:function(Ee){Ee=v.isFunction(Ee)?Ee:function(){},$.is.animating()||!$.is.active()?($.showDimmer(),$.cacheSizes(),$.set.bodyMargin(),$.can.useFlex()?$.remove.legacy():($.set.legacy(),$.set.modalOffset(),$.debug("Using non-flex legacy modal positioning.")),$.set.screenHeight(),$.set.type(),$.set.clickaway(),!C.allowMultiple&&$.others.active()?$.hideOthers($.showModal):(M=!1,C.allowMultiple&&($.others.active()&&ke.filter("."+ge.active).find(D.dimmer).addClass("active"),C.detachable&&J.detach().appendTo(We)),C.onShow.call(I),C.transition&&v.fn.transition!==A&&J.transition("is supported")?($.debug("Showing modal with css animations"),J.transition({debug:C.debug,animation:C.transition+" in",queue:C.queue,duration:C.duration,useFailSafe:!0,onComplete:function(){C.onVisible.apply(I),C.keyboardShortcuts&&$.add.keyboardShortcuts(),$.save.focus(),$.set.active(),C.autofocus&&$.set.autofocus(),Ee()}})):$.error(be.noTransition))):$.debug("Modal is already visible")},hideModal:function(Ee,tt,St){var pt=ke.filter("."+ge.active).last();if(Ee=v.isFunction(Ee)?Ee:function(){},$.debug("Hiding modal"),C.onHide.call(I,v(this))===!1)return $.verbose("Hide callback returned false cancelling hide"),M=!1,!1;($.is.animating()||$.is.active())&&(C.transition&&v.fn.transition!==A&&J.transition("is supported")?($.remove.active(),J.transition({debug:C.debug,animation:C.transition+" out",queue:C.queue,duration:C.duration,useFailSafe:!0,onStart:function(){!$.others.active()&&!$.others.animating()&&!tt&&$.hideDimmer(),C.keyboardShortcuts&&!$.others.active()&&$.remove.keyboardShortcuts()},onComplete:function(){$.unbind.scrollLock(),C.allowMultiple&&(pt.addClass(ge.front),J.removeClass(ge.front),St?De.find(D.dimmer).removeClass("active"):pt.find(D.dimmer).removeClass("active")),C.onHidden.call(I),$.remove.dimmerStyles(),$.restore.focus(),Ee()}})):$.error(be.noTransition))},showDimmer:function(){pe.dimmer("is animating")||!pe.dimmer("is active")?($.save.bodyMargin(),$.debug("Showing dimmer"),pe.dimmer("show")):$.debug("Dimmer already visible")},hideDimmer:function(){if(pe.dimmer("is animating")||pe.dimmer("is active"))$.unbind.scrollLock(),pe.dimmer("hide",function(){$.restore.bodyMargin(),$.remove.clickaway(),$.remove.screenHeight()});else{$.debug("Dimmer is not visible cannot hide");return}},hideAll:function(Ee){var tt=De.filter("."+ge.active+", ."+ge.animating);if(Ee=v.isFunction(Ee)?Ee:function(){},tt.length>0){$.debug("Hiding all visible modals");var St=!0;return v(tt.get().reverse()).each(function(pt,Ot){St&&(St=v(Ot).modal("hide modal",Ee,!1,!0))}),St&&$.hideDimmer(),St}},hideOthers:function(Ee){var tt=ke.filter("."+ge.active+", ."+ge.animating);Ee=v.isFunction(Ee)?Ee:function(){},tt.length>0&&($.debug("Hiding other modals",ke),tt.modal("hide modal",Ee,!0))},others:{active:function(){return ke.filter("."+ge.active).length>0},animating:function(){return ke.filter("."+ge.animating).length>0}},add:{keyboardShortcuts:function(){$.verbose("Adding keyboard shortcuts"),z.on("keyup"+we,$.event.keyboard)}},save:{focus:function(){var Ee=v(At.activeElement),tt=Ee.closest(J).length>0;tt||(le=v(At.activeElement).blur())},bodyMargin:function(){Ke=oe.css("margin-"+($.can.leftBodyScrollbar()?"left":"right"));var Ee=parseInt(Ke.replace(/[^\d.]/g,"")),tt=yt.innerWidth-At.documentElement.clientWidth;ot=Ee+tt}},restore:{focus:function(){le&&le.length>0&&C.restoreFocus&&le.focus()},bodyMargin:function(){var Ee=$.can.leftBodyScrollbar()?"left":"right";oe.css("margin-"+Ee,Ke),oe.find(D.bodyFixed.replace("right",Ee)).css("padding-"+Ee,Ke)}},remove:{active:function(){J.removeClass(ge.active)},legacy:function(){J.removeClass(ge.legacy)},clickaway:function(){C.detachable||J.off("mousedown"+ne),We.off("mousedown"+ne),We.off("mouseup"+ne)},dimmerStyles:function(){We.removeClass(ge.inverted),pe.removeClass(ge.blurring)},bodyStyle:function(){oe.attr("style")===""&&($.verbose("Removing style attribute"),oe.removeAttr("style"))},screenHeight:function(){$.debug("Removing page height"),oe.css("height","")},keyboardShortcuts:function(){$.verbose("Removing keyboard shortcuts"),z.off("keyup"+we)},scrolling:function(){pe.removeClass(ge.scrolling),J.removeClass(ge.scrolling)}},cacheSizes:function(){J.addClass(ge.loading);var Ee=J.prop("scrollHeight"),tt=J.outerWidth(),St=J.outerHeight();($.cache.pageHeight===A||St!==0)&&(v.extend($.cache,{pageHeight:v(At).outerHeight(),width:tt,height:St+C.offset,scrollHeight:Ee+C.offset,contextHeight:C.context=="body"?v(yt).height():pe.height()}),$.cache.topOffset=-($.cache.height/2)),J.removeClass(ge.loading),$.debug("Caching modal and container sizes",$.cache)},can:{leftBodyScrollbar:function(){return $.cache.leftBodyScrollbar===A&&($.cache.leftBodyScrollbar=$.is.rtl()&&($.is.iframe&&!$.is.firefox()||$.is.safari()||$.is.edge()||$.is.ie())),$.cache.leftBodyScrollbar},useFlex:function(){return C.useFlex==="auto"?C.detachable&&!$.is.ie():(C.useFlex&&$.is.ie()?$.debug("useFlex true is not supported in IE"):C.useFlex&&!C.detachable&&$.debug("useFlex true in combination with detachable false is not supported"),C.useFlex)},fit:function(){var Ee=$.cache.contextHeight,tt=$.cache.contextHeight/2,St=$.cache.topOffset,pt=$.cache.scrollHeight,Ot=$.cache.height,ui=C.padding,Qt=tt+St;return pt>Ot?Qt+pt+ui<Ee:Ot+ui*2<Ee}},is:{active:function(){return J.hasClass(ge.active)},ie:function(){if($.cache.isIE===A){var Ee=!yt.ActiveXObject&&"ActiveXObject"in yt,tt="ActiveXObject"in yt;$.cache.isIE=Ee||tt}return $.cache.isIE},animating:function(){return J.transition("is supported")?J.transition("is animating"):J.is(":visible")},scrolling:function(){return pe.hasClass(ge.scrolling)},modernBrowser:function(){return!(yt.ActiveXObject||"ActiveXObject"in yt)},rtl:function(){return $.cache.isRTL===A&&($.cache.isRTL=oe.attr("dir")==="rtl"||oe.css("direction")==="rtl"),$.cache.isRTL},safari:function(){return $.cache.isSafari===A&&($.cache.isSafari=/constructor/i.test(yt.HTMLElement)||!!yt.ApplePaySession),$.cache.isSafari},edge:function(){return $.cache.isEdge===A&&($.cache.isEdge=!!yt.setImmediate&&!$.is.ie()),$.cache.isEdge},firefox:function(){return $.cache.isFirefox===A&&($.cache.isFirefox=!!yt.InstallTrigger),$.cache.isFirefox},iframe:function(){return self!==top}},set:{autofocus:function(){var Ee=J.find("[tabindex], :input").filter(":visible").filter(function(){return v(this).closest(".disabled").length===0}),tt=Ee.filter("[autofocus]"),St=tt.length>0?tt.first():Ee.first();St.length>0&&St.focus()},bodyMargin:function(){var Ee=$.can.leftBodyScrollbar()?"left":"right";(C.detachable||$.can.fit())&&oe.css("margin-"+Ee,ot+"px"),oe.find(D.bodyFixed.replace("right",Ee)).css("padding-"+Ee,ot+"px")},clickaway:function(){C.detachable||J.on("mousedown"+ne,$.event.mousedown),We.on("mousedown"+ne,$.event.mousedown),We.on("mouseup"+ne,$.event.mouseup)},dimmerSettings:function(){if(v.fn.dimmer===A){$.error(be.dimmer);return}var Ee={debug:C.debug,dimmerName:"modals",closable:"auto",useFlex:$.can.useFlex(),duration:{show:C.duration,hide:C.duration}},tt=v.extend(!0,Ee,C.dimmerSettings);C.inverted&&(tt.variation=tt.variation!==A?tt.variation+" inverted":"inverted"),s.dimmer("setting",tt)},dimmerStyles:function(){C.inverted?We.addClass(ge.inverted):We.removeClass(ge.inverted),C.blurring?pe.addClass(ge.blurring):pe.removeClass(ge.blurring)},modalOffset:function(){if(C.detachable)J.css({marginTop:!J.hasClass("aligned")&&$.can.fit()?-($.cache.height/2):C.padding/2,marginLeft:-($.cache.width/2)});else{var Ee=$.can.fit();J.css({top:!J.hasClass("aligned")&&Ee?v(At).scrollTop()+($.cache.contextHeight-$.cache.height)/2:!Ee||J.hasClass("top")?v(At).scrollTop()+C.padding:v(At).scrollTop()+($.cache.contextHeight-$.cache.height-C.padding),marginLeft:-($.cache.width/2)})}$.verbose("Setting modal offset for legacy mode")},screenHeight:function(){$.can.fit()?oe.css("height",""):J.hasClass("bottom")||($.debug("Modal is taller than page content, resizing page height"),oe.css("height",$.cache.height+C.padding*2))},active:function(){J.addClass(ge.active+" "+ge.front),ke.filter("."+ge.active).removeClass(ge.front)},scrolling:function(){pe.addClass(ge.scrolling),J.addClass(ge.scrolling),$.unbind.scrollLock()},legacy:function(){J.addClass(ge.legacy)},type:function(){$.can.fit()?($.verbose("Modal fits on screen"),!$.others.active()&&!$.others.animating()&&($.remove.scrolling(),$.bind.scrollLock())):J.hasClass("bottom")?$.verbose("Bottom aligned modal not fitting on screen is unsupported for scrolling"):($.verbose("Modal cannot fit on screen setting to scrolling"),$.set.scrolling())},undetached:function(){pe.addClass(ge.undetached)}},setting:function(Ee,tt){if($.debug("Changing setting",Ee,tt),v.isPlainObject(Ee))v.extend(!0,C,Ee);else if(tt!==A)v.isPlainObject(C[Ee])?v.extend(!0,C[Ee],tt):C[Ee]=tt;else return C[Ee]},internal:function(Ee,tt){if(v.isPlainObject(Ee))v.extend(!0,$,Ee);else if(tt!==A)$[Ee]=tt;else return $[Ee]},debug:function(){!C.silent&&C.debug&&(C.performance?$.performance.log(arguments):($.debug=Function.prototype.bind.call(console.info,console,C.name+":"),$.debug.apply(console,arguments)))},verbose:function(){!C.silent&&C.verbose&&C.debug&&(C.performance?$.performance.log(arguments):($.verbose=Function.prototype.bind.call(console.info,console,C.name+":"),$.verbose.apply(console,arguments)))},error:function(){C.silent||($.error=Function.prototype.bind.call(console.error,console,C.name+":"),$.error.apply(console,arguments))},performance:{log:function(Ee){var tt,St,pt;C.performance&&(tt=new Date().getTime(),pt=N||tt,St=tt-pt,N=tt,L.push({Name:Ee[0],Arguments:[].slice.call(Ee,1)||"",Element:I,"Execution Time":St})),clearTimeout($.performance.timer),$.performance.timer=setTimeout($.performance.display,500)},display:function(){var Ee=C.name+":",tt=0;N=!1,clearTimeout($.performance.timer),v.each(L,function(St,pt){tt+=pt["Execution Time"]}),Ee+=" "+tt+"ms",d&&(Ee+=" '"+d+"'"),(console.group!==A||console.table!==A)&&L.length>0&&(console.groupCollapsed(Ee),console.table?console.table(L):v.each(L,function(St,pt){console.log(pt.Name+": "+pt["Execution Time"]+"ms")}),console.groupEnd()),L=[]}},invoke:function(Ee,tt,St){var pt=F,Ot,ui,Qt;return tt=tt||H,St=I||St,typeof Ee=="string"&&pt!==A&&(Ee=Ee.split(/[\. ]/),Ot=Ee.length-1,v.each(Ee,function(Ui,Ki){var Gi=Ui!=Ot?Ki+Ee[Ui+1].charAt(0).toUpperCase()+Ee[Ui+1].slice(1):Ee;if(v.isPlainObject(pt[Gi])&&Ui!=Ot)pt=pt[Gi];else{if(pt[Gi]!==A)return ui=pt[Gi],!1;if(v.isPlainObject(pt[Ki])&&Ui!=Ot)pt=pt[Ki];else return pt[Ki]!==A&&(ui=pt[Ki]),!1}})),v.isFunction(ui)?Qt=ui.apply(St,tt):ui!==A&&(Qt=ui),Array.isArray(n)?n.push(Qt):n!==A?n=[n,Qt]:Qt!==A&&(n=Qt),ui}},T?(F===A&&$.initialize(),$.invoke(B)):(F!==A&&F.invoke("destroy"),$.initialize())}),n!==A?n:this},v.fn.modal.settings={name:"Modal",namespace:"modal",useFlex:"auto",offset:0,silent:!1,debug:!1,verbose:!1,performance:!0,observeChanges:!1,allowMultiple:!1,detachable:!0,closable:!0,autofocus:!0,restoreFocus:!0,inverted:!1,blurring:!1,centered:!0,dimmerSettings:{closable:!1,useCSS:!0},keyboardShortcuts:!0,context:"body",queue:!1,duration:500,transition:"scale",padding:50,scrollbarWidth:10,onShow:function(){},onVisible:function(){},onHide:function(){return!0},onHidden:function(){},onApprove:function(){return!0},onDeny:function(){return!0},selector:{close:"> .close",approve:".actions .positive, .actions .approve, .actions .ok",deny:".actions .negative, .actions .deny, .actions .cancel",modal:".ui.modal",dimmer:"> .ui.dimmer",bodyFixed:"> .ui.fixed.menu, > .ui.right.toast-container, > .ui.right.sidebar"},error:{dimmer:"UI Dimmer, a required component is not included in this page",method:"The method you called is not defined.",notFound:"The element you specified could not be found"},className:{active:"active",animating:"animating",blurring:"blurring",inverted:"inverted",legacy:"legacy",loading:"loading",scrolling:"scrolling",undetached:"undetached",front:"front"}}})(jQuery,window,document);(function(v,yt,At,A){"use strict";v.isFunction=v.isFunction||function(g){return typeof g=="function"&&typeof g.nodeType!="number"},yt=typeof yt!="undefined"&&yt.Math==Math?yt:typeof self!="undefined"&&self.Math==Math?self:Function("return this")(),v.fn.search=function(g){var me=v(this),et=me.selector||"",z=new Date().getTime(),oe=[],d=arguments[0],N=typeof d=="string",L=[].slice.call(arguments,1),B;return v(this).each(function(){var T=v.isPlainObject(g)?v.extend(!0,{},v.fn.search.settings,g):v.extend({},v.fn.search.settings),H=T.className,se=T.metadata,n=T.regExp,C=T.fields,D=T.selector,ge=T.error,de=T.namespace,be="."+de,we=de+"-module",Te=v(this),J=Te.find(D.prompt),s=Te.find(D.searchButton),ce=Te.find(D.results),De=Te.find(D.result),ke=Te.find(D.category),le=this,pe=Te.data(we),We=!1,I=!1,F;F={initialize:function(){F.verbose("Initializing module"),F.get.settings(),F.determine.searchFields(),F.bind.events(),F.set.type(),F.create.results(),F.instantiate()},instantiate:function(){F.verbose("Storing instance of module",F),pe=F,Te.data(we,F)},destroy:function(){F.verbose("Destroying instance"),Te.off(be).removeData(we)},refresh:function(){F.debug("Refreshing selector cache"),J=Te.find(D.prompt),s=Te.find(D.searchButton),ke=Te.find(D.category),ce=Te.find(D.results),De=Te.find(D.result)},refreshResults:function(){ce=Te.find(D.results),De=Te.find(D.result)},bind:{events:function(){F.verbose("Binding events to search"),T.automatic&&(Te.on(F.get.inputEvent()+be,D.prompt,F.event.input),J.attr("autocomplete","off")),Te.on("focus"+be,D.prompt,F.event.focus).on("blur"+be,D.prompt,F.event.blur).on("keydown"+be,D.prompt,F.handleKeyboard).on("click"+be,D.searchButton,F.query).on("mousedown"+be,D.results,F.event.result.mousedown).on("mouseup"+be,D.results,F.event.result.mouseup).on("click"+be,D.result,F.event.result.click)}},determine:{searchFields:function(){g&&g.searchFields!==A&&(T.searchFields=g.searchFields)}},event:{input:function(){T.searchDelay?(clearTimeout(F.timer),F.timer=setTimeout(function(){F.is.focused()&&F.query()},T.searchDelay)):F.query()},focus:function(){F.set.focus(),T.searchOnFocus&&F.has.minimumCharacters()&&F.query(function(){F.can.show()&&F.showResults()})},blur:function(M){var Z=At.activeElement===this,Pe=function(){F.cancel.query(),F.remove.focus(),F.timer=setTimeout(F.hideResults,T.hideDelay)};Z||(I=!1,F.resultsClicked?(F.debug("Determining if user action caused search to close"),Te.one("click.close"+be,D.results,function(Ke){if(F.is.inMessage(Ke)||We){J.focus();return}We=!1,!F.is.animating()&&!F.is.hidden()&&Pe()})):(F.debug("Input blurred without user action, closing results"),Pe()))},result:{mousedown:function(){F.resultsClicked=!0},mouseup:function(){F.resultsClicked=!1},click:function(M){F.debug("Search result selected");var Z=v(this),Pe=Z.find(D.title).eq(0),Ke=Z.is("a[href]")?Z:Z.find("a[href]").eq(0),ot=Ke.attr("href")||!1,ne=Ke.attr("target")||!1,ae=Pe.length>0?Pe.text():!1,Ve=F.get.results(),$=Z.data(se.result)||F.get.result(ae,Ve);if(ae&&F.set.value(ae),v.isFunction(T.onSelect)&&T.onSelect.call(le,$,Ve)===!1){F.debug("Custom onSelect callback cancelled default select action"),We=!0;return}F.hideResults(),ot&&(M.preventDefault(),F.verbose("Opening search link found in result",Ke),ne=="_blank"||M.ctrlKey?yt.open(ot):yt.location.href=ot)}}},ensureVisible:function(Z){var Pe,Ke,ot,ne;Pe=Z.position().top,Ke=Pe+Z.outerHeight(!0),ot=ce.scrollTop(),ne=ce.height(),parseInt(ce.css("paddingTop"),0)+parseInt(ce.css("paddingBottom"),0),Pe<0?ce.scrollTop(ot+Pe):ne<Ke&&ce.scrollTop(ot+(Ke-ne))},handleKeyboard:function(M){var Z=Te.find(D.result),Pe=Te.find(D.category),Ke=Z.filter("."+H.active),ot=Z.index(Ke),ne=Z.length,ae=Ke.length>0,Ve=M.which,$={backspace:8,enter:13,escape:27,upArrow:38,downArrow:40},Ee;if(Ve==$.escape&&(F.verbose("Escape key pressed, blurring search field"),F.hideResults(),I=!0),F.is.visible())if(Ve==$.enter){if(F.verbose("Enter key pressed, selecting active result"),Z.filter("."+H.active).length>0)return F.event.result.click.call(Z.filter("."+H.active),M),M.preventDefault(),!1}else Ve==$.upArrow&&ae?(F.verbose("Up key pressed, changing active result"),Ee=ot-1<0?ot:ot-1,Pe.removeClass(H.active),Z.removeClass(H.active).eq(Ee).addClass(H.active).closest(Pe).addClass(H.active),F.ensureVisible(Z.eq(Ee)),M.preventDefault()):Ve==$.downArrow&&(F.verbose("Down key pressed, changing active result"),Ee=ot+1>=ne?ot:ot+1,Pe.removeClass(H.active),Z.removeClass(H.active).eq(Ee).addClass(H.active).closest(Pe).addClass(H.active),F.ensureVisible(Z.eq(Ee)),M.preventDefault());else Ve==$.enter&&(F.verbose("Enter key pressed, executing query"),F.query(),F.set.buttonPressed(),J.one("keyup",F.remove.buttonFocus))},setup:{api:function(M,Z){var Pe={debug:T.debug,on:!1,cache:T.cache,action:"search",urlData:{query:M},onSuccess:function(Ke){F.parse.response.call(le,Ke,M),Z()},onFailure:function(){F.displayMessage(ge.serverError),Z()},onAbort:function(Ke){},onError:F.error};v.extend(!0,Pe,T.apiSettings),F.verbose("Setting up API request",Pe),Te.api(Pe)}},can:{useAPI:function(){return v.fn.api!==A},show:function(){return F.is.focused()&&!F.is.visible()&&!F.is.empty()},transition:function(){return T.transition&&v.fn.transition!==A&&Te.transition("is supported")}},is:{animating:function(){return ce.hasClass(H.animating)},hidden:function(){return ce.hasClass(H.hidden)},inMessage:function(M){if(!!M.target){var Z=v(M.target),Pe=v.contains(At.documentElement,M.target);return Pe&&Z.closest(D.message).length>0}},empty:function(){return ce.html()===""},visible:function(){return ce.filter(":visible").length>0},focused:function(){return J.filter(":focus").length>0}},get:{settings:function(){v.isPlainObject(g)&&g.searchFullText&&(T.fullTextSearch=g.searchFullText,F.error(T.error.oldSearchSyntax,le)),T.ignoreDiacritics&&!String.prototype.normalize&&(T.ignoreDiacritics=!1,F.error(ge.noNormalize,le))},inputEvent:function(){var M=J[0],Z=M!==A&&M.oninput!==A?"input":M!==A&&M.onpropertychange!==A?"propertychange":"keyup";return Z},value:function(){return J.val()},results:function(){var M=Te.data(se.results);return M},result:function(M,Z){var Pe=!1;return M=M!==A?M:F.get.value(),Z=Z!==A?Z:F.get.results(),T.type==="category"?(F.debug("Finding result that matches",M),v.each(Z,function(Ke,ot){if(Array.isArray(ot.results)&&(Pe=F.search.object(M,ot.results)[0],Pe))return!1})):(F.debug("Finding result in results object",M),Pe=F.search.object(M,Z)[0]),Pe||!1}},select:{firstResult:function(){F.verbose("Selecting first result"),De.first().addClass(H.active)}},set:{focus:function(){Te.addClass(H.focus)},loading:function(){Te.addClass(H.loading)},value:function(M){F.verbose("Setting search input value",M),J.val(M)},type:function(M){M=M||T.type,T.type=="category"&&Te.addClass(T.type)},buttonPressed:function(){s.addClass(H.pressed)}},remove:{loading:function(){Te.removeClass(H.loading)},focus:function(){Te.removeClass(H.focus)},buttonPressed:function(){s.removeClass(H.pressed)},diacritics:function(M){return T.ignoreDiacritics?M.normalize("NFD").replace(/[\u0300-\u036f]/g,""):M}},query:function(M){M=v.isFunction(M)?M:function(){};var Z=F.get.value(),Pe=F.read.cache(Z);M=M||function(){},F.has.minimumCharacters()?(Pe?(F.debug("Reading result from cache",Z),F.save.results(Pe.results),F.addResults(Pe.html),F.inject.id(Pe.results),M()):(F.debug("Querying for",Z),v.isPlainObject(T.source)||Array.isArray(T.source)?(F.search.local(Z),M()):F.can.useAPI()?F.search.remote(Z,M):(F.error(ge.source),M())),T.onSearchQuery.call(le,Z)):F.hideResults()},search:{local:function(M){var Z=F.search.object(M,T.source),Pe;F.set.loading(),F.save.results(Z),F.debug("Returned full local search results",Z),T.maxResults>0&&(F.debug("Using specified max results",Z),Z=Z.slice(0,T.maxResults)),T.type=="category"&&(Z=F.create.categoryResults(Z)),Pe=F.generateResults({results:Z}),F.remove.loading(),F.addResults(Pe),F.inject.id(Z),F.write.cache(M,{html:Pe,results:Z})},remote:function(M,Z){Z=v.isFunction(Z)?Z:function(){},Te.api("is loading")&&Te.api("abort"),F.setup.api(M,Z),Te.api("query")},object:function(M,Z,Pe){M=F.remove.diacritics(String(M));var Ke=[],ot=[],ne=[],ae=M.replace(n.escape,"\\$&"),Ve=new RegExp(n.beginsWith+ae,"i"),$=function(Ee,tt){var St=v.inArray(tt,Ke)==-1,pt=v.inArray(tt,ne)==-1,Ot=v.inArray(tt,ot)==-1;St&&pt&&Ot&&Ee.push(tt)};return Z=Z||T.source,Pe=Pe!==A?Pe:T.searchFields,Array.isArray(Pe)||(Pe=[Pe]),Z===A||Z===!1?(F.error(ge.source),[]):(v.each(Pe,function(Ee,tt){v.each(Z,function(St,pt){var Ot=typeof pt[tt]=="string"||typeof pt[tt]=="number";if(Ot){var ui;typeof pt[tt]=="string"?ui=F.remove.diacritics(pt[tt]):ui=pt[tt].toString(),ui.search(Ve)!==-1?$(Ke,pt):T.fullTextSearch==="exact"&&F.exactSearch(M,ui)?$(ot,pt):T.fullTextSearch==!0&&F.fuzzySearch(M,ui)&&$(ne,pt)}})}),v.merge(ot,ne),v.merge(Ke,ot),Ke)}},exactSearch:function(M,Z){return M=M.toLowerCase(),Z=Z.toLowerCase(),Z.indexOf(M)>-1},fuzzySearch:function(M,Z){var Pe=Z.length,Ke=M.length;if(typeof M!="string"||(M=M.toLowerCase(),Z=Z.toLowerCase(),Ke>Pe))return!1;if(Ke===Pe)return M===Z;e:for(var ot=0,ne=0;ot<Ke;ot++){for(var ae=M.charCodeAt(ot);ne<Pe;)if(Z.charCodeAt(ne++)===ae)continue e;return!1}return!0},parse:{response:function(M,Z){if(Array.isArray(M)){var Pe={};Pe[C.results]=M,M=Pe}var Ke=F.generateResults(M);F.verbose("Parsing server response",M),M!==A&&Z!==A&&M[C.results]!==A&&(F.addResults(Ke),F.inject.id(M[C.results]),F.write.cache(Z,{html:Ke,results:M[C.results]}),F.save.results(M[C.results]))}},cancel:{query:function(){F.can.useAPI()&&Te.api("abort")}},has:{minimumCharacters:function(){var M=F.get.value(),Z=M.length;return Z>=T.minCharacters},results:function(){if(ce.length===0)return!1;var M=ce.html();return M!=""}},clear:{cache:function(M){var Z=Te.data(se.cache);M?M&&Z&&Z[M]&&(F.debug("Removing value from cache",M),delete Z[M],Te.data(se.cache,Z)):(F.debug("Clearing cache",M),Te.removeData(se.cache))}},read:{cache:function(M){var Z=Te.data(se.cache);return T.cache?(F.verbose("Checking cache for generated html for query",M),typeof Z=="object"&&Z[M]!==A?Z[M]:!1):!1}},create:{categoryResults:function(M){var Z={};return v.each(M,function(Pe,Ke){!Ke.category||(Z[Ke.category]===A?(F.verbose("Creating new category of results",Ke.category),Z[Ke.category]={name:Ke.category,results:[Ke]}):Z[Ke.category].results.push(Ke))}),Z},id:function(M,Z){var Pe=M+1,Ke,ot;return Z!==A?(Ke=String.fromCharCode(97+Z),ot=Ke+Pe,F.verbose("Creating category result id",ot)):(ot=Pe,F.verbose("Creating result id",ot)),ot},results:function(){ce.length===0&&(ce=v("<div />").addClass(H.results).appendTo(Te))}},inject:{result:function(M,Z,Pe){F.verbose("Injecting result into results");var Ke=Pe!==A?ce.children().eq(Pe).children(D.results).first().children(D.result).eq(Z):ce.children(D.result).eq(Z);F.verbose("Injecting results metadata",Ke),Ke.data(se.result,M)},id:function(M){F.debug("Injecting unique ids into results");var Z=0,Pe=0;return T.type==="category"?v.each(M,function(Ke,ot){ot.results.length>0&&(Pe=0,v.each(ot.results,function(ne,ae){ae.id===A&&(ae.id=F.create.id(Pe,Z)),F.inject.result(ae,Pe,Z),Pe++}),Z++)}):v.each(M,function(Ke,ot){ot.id===A&&(ot.id=F.create.id(Pe)),F.inject.result(ot,Pe),Pe++}),M}},save:{results:function(M){F.verbose("Saving current search results to metadata",M),Te.data(se.results,M)}},write:{cache:function(M,Z){var Pe=Te.data(se.cache)!==A?Te.data(se.cache):{};T.cache&&(F.verbose("Writing generated html to cache",M,Z),Pe[M]=Z,Te.data(se.cache,Pe))}},addResults:function(M){if(v.isFunction(T.onResultsAdd)&&T.onResultsAdd.call(ce,M)===!1)return F.debug("onResultsAdd callback cancelled default action"),!1;M?(ce.html(M),F.refreshResults(),T.selectFirstResult&&F.select.firstResult(),F.showResults()):F.hideResults(function(){ce.empty()})},showResults:function(M){M=v.isFunction(M)?M:function(){},!I&&!F.is.visible()&&F.has.results()&&(F.can.transition()?(F.debug("Showing results with css animations"),ce.transition({animation:T.transition+" in",debug:T.debug,verbose:T.verbose,duration:T.duration,onShow:function(){var Z=Te.find(D.result).eq(0);Z.length>0&&F.ensureVisible(Z)},onComplete:function(){M()},queue:!0})):(F.debug("Showing results with javascript"),ce.stop().fadeIn(T.duration,T.easing)),T.onResultsOpen.call(ce))},hideResults:function(M){M=v.isFunction(M)?M:function(){},F.is.visible()&&(F.can.transition()?(F.debug("Hiding results with css animations"),ce.transition({animation:T.transition+" out",debug:T.debug,verbose:T.verbose,duration:T.duration,onComplete:function(){M()},queue:!0})):(F.debug("Hiding results with javascript"),ce.stop().fadeOut(T.duration,T.easing)),T.onResultsClose.call(ce))},generateResults:function(M){F.debug("Generating html from response",M);var Z=T.templates[T.type],Pe=v.isPlainObject(M[C.results])&&!v.isEmptyObject(M[C.results]),Ke=Array.isArray(M[C.results])&&M[C.results].length>0,ot="";return Pe||Ke?(T.maxResults>0&&(Pe?T.type=="standard"&&F.error(ge.maxResults):M[C.results]=M[C.results].slice(0,T.maxResults)),v.isFunction(Z)?ot=Z(M,C,T.preserveHTML):F.error(ge.noTemplate,!1)):T.showNoResults&&(ot=F.displayMessage(ge.noResults,"empty",ge.noResultsHeader)),T.onResults.call(le,M),ot},displayMessage:function(M,Z,Pe){return Z=Z||"standard",F.debug("Displaying message",M,Z,Pe),F.addResults(T.templates.message(M,Z,Pe)),T.templates.message(M,Z,Pe)},setting:function(M,Z){if(v.isPlainObject(M))v.extend(!0,T,M);else if(Z!==A)T[M]=Z;else return T[M]},internal:function(M,Z){if(v.isPlainObject(M))v.extend(!0,F,M);else if(Z!==A)F[M]=Z;else return F[M]},debug:function(){!T.silent&&T.debug&&(T.performance?F.performance.log(arguments):(F.debug=Function.prototype.bind.call(console.info,console,T.name+":"),F.debug.apply(console,arguments)))},verbose:function(){!T.silent&&T.verbose&&T.debug&&(T.performance?F.performance.log(arguments):(F.verbose=Function.prototype.bind.call(console.info,console,T.name+":"),F.verbose.apply(console,arguments)))},error:function(){T.silent||(F.error=Function.prototype.bind.call(console.error,console,T.name+":"),F.error.apply(console,arguments))},performance:{log:function(M){var Z,Pe,Ke;T.performance&&(Z=new Date().getTime(),Ke=z||Z,Pe=Z-Ke,z=Z,oe.push({Name:M[0],Arguments:[].slice.call(M,1)||"",Element:le,"Execution Time":Pe})),clearTimeout(F.performance.timer),F.performance.timer=setTimeout(F.performance.display,500)},display:function(){var M=T.name+":",Z=0;z=!1,clearTimeout(F.performance.timer),v.each(oe,function(Pe,Ke){Z+=Ke["Execution Time"]}),M+=" "+Z+"ms",et&&(M+=" '"+et+"'"),me.length>1&&(M+=" ("+me.length+")"),(console.group!==A||console.table!==A)&&oe.length>0&&(console.groupCollapsed(M),console.table?console.table(oe):v.each(oe,function(Pe,Ke){console.log(Ke.Name+": "+Ke["Execution Time"]+"ms")}),console.groupEnd()),oe=[]}},invoke:function(M,Z,Pe){var Ke=pe,ot,ne,ae;return Z=Z||L,Pe=le||Pe,typeof M=="string"&&Ke!==A&&(M=M.split(/[\. ]/),ot=M.length-1,v.each(M,function(Ve,$){var Ee=Ve!=ot?$+M[Ve+1].charAt(0).toUpperCase()+M[Ve+1].slice(1):M;if(v.isPlainObject(Ke[Ee])&&Ve!=ot)Ke=Ke[Ee];else{if(Ke[Ee]!==A)return ne=Ke[Ee],!1;if(v.isPlainObject(Ke[$])&&Ve!=ot)Ke=Ke[$];else return Ke[$]!==A&&(ne=Ke[$]),!1}})),v.isFunction(ne)?ae=ne.apply(Pe,Z):ne!==A&&(ae=ne),Array.isArray(B)?B.push(ae):B!==A?B=[B,ae]:ae!==A&&(B=ae),ne}},N?(pe===A&&F.initialize(),F.invoke(d)):(pe!==A&&pe.invoke("destroy"),F.initialize())}),B!==A?B:this},v.fn.search.settings={name:"Search",namespace:"search",silent:!1,debug:!1,verbose:!1,performance:!0,type:"standard",minCharacters:1,selectFirstResult:!1,apiSettings:!1,source:!1,searchOnFocus:!0,searchFields:["id","title","description"],displayField:"",fullTextSearch:"exact",ignoreDiacritics:!1,automatic:!0,hideDelay:0,searchDelay:200,maxResults:7,cache:!0,showNoResults:!0,preserveHTML:!0,transition:"scale",duration:200,easing:"easeOutExpo",onSelect:!1,onResultsAdd:!1,onSearchQuery:function(g){},onResults:function(g){},onResultsOpen:function(){},onResultsClose:function(){},className:{animating:"animating",active:"active",empty:"empty",focus:"focus",hidden:"hidden",loading:"loading",results:"results",pressed:"down"},error:{source:"Cannot search. No source used, and Semantic API module was not included",noResultsHeader:"No Results",noResults:"Your search returned no results",logging:"Error in debug logging, exiting.",noEndpoint:"No search endpoint was specified",noTemplate:"A valid template name was not specified.",oldSearchSyntax:"searchFullText setting has been renamed fullTextSearch for consistency, please adjust your settings.",serverError:"There was an issue querying the server.",maxResults:"Results must be an array to use maxResults setting",method:"The method you called is not defined.",noNormalize:'"ignoreDiacritics" setting will be ignored. Browser does not support String().normalize(). You may consider including <https://cdn.jsdelivr.net/npm/unorm@1.4.1/lib/unorm.min.js> as a polyfill.'},metadata:{cache:"cache",results:"results",result:"result"},regExp:{escape:/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,beginsWith:"(?:s|^)"},fields:{categories:"results",categoryName:"name",categoryResults:"results",description:"description",image:"image",price:"price",results:"results",title:"title",url:"url",action:"action",actionText:"text",actionURL:"url"},selector:{prompt:".prompt",searchButton:".search.button",results:".results",message:".results > .message",category:".category",result:".result",title:".title, .name"},templates:{escape:function(g,me){if(me)return g;var et=/[<>"'`]/g,z=/[&<>"'`]/,oe={"<":"<",">":">",'"':""","'":"'","`":"`"},d=function(N){return oe[N]};return z.test(g)?(g=g.replace(/&(?![a-z0-9#]{1,6};)/,"&"),g.replace(et,d)):g},message:function(g,me,et){var z="";return g!==A&&me!==A&&(z+='<div class="message '+me+'">',et&&(z+='<div class="header">'+et+"</div>"),z+=' <div class="description">'+g+"</div>",z+="</div>"),z},category:function(g,me,et){var z="",oe=v.fn.search.settings.templates.escape;return g[me.categoryResults]!==A?(v.each(g[me.categoryResults],function(d,N){N[me.results]!==A&&N.results.length>0&&(z+='<div class="category">',N[me.categoryName]!==A&&(z+='<div class="name">'+oe(N[me.categoryName],et)+"</div>"),z+='<div class="results">',v.each(N.results,function(L,B){B[me.url]?z+='<a class="result" href="'+B[me.url].replace(/"/g,"")+'">':z+='<a class="result">',B[me.image]!==A&&(z+='<div class="image"> <img src="'+B[me.image].replace(/"/g,"")+'"></div>'),z+='<div class="content">',B[me.price]!==A&&(z+='<div class="price">'+oe(B[me.price],et)+"</div>"),B[me.title]!==A&&(z+='<div class="title">'+oe(B[me.title],et)+"</div>"),B[me.description]!==A&&(z+='<div class="description">'+oe(B[me.description],et)+"</div>"),z+="</div>",z+="</a>"}),z+="</div>",z+="</div>")}),g[me.action]&&(me.actionURL===!1?z+='<div class="action">'+oe(g[me.action][me.actionText],et)+"</div>":z+='<a href="'+g[me.action][me.actionURL].replace(/"/g,"")+'" class="action">'+oe(g[me.action][me.actionText],et)+"</a>"),z):!1},standard:function(g,me,et){var z="",oe=v.fn.search.settings.templates.escape;return g[me.results]!==A?(v.each(g[me.results],function(d,N){N[me.url]?z+='<a class="result" href="'+N[me.url].replace(/"/g,"")+'">':z+='<a class="result">',N[me.image]!==A&&(z+='<div class="image"> <img src="'+N[me.image].replace(/"/g,"")+'"></div>'),z+='<div class="content">',N[me.price]!==A&&(z+='<div class="price">'+oe(N[me.price],et)+"</div>"),N[me.title]!==A&&(z+='<div class="title">'+oe(N[me.title],et)+"</div>"),N[me.description]!==A&&(z+='<div class="description">'+oe(N[me.description],et)+"</div>"),z+="</div>",z+="</a>"}),g[me.action]&&(me.actionURL===!1?z+='<div class="action">'+oe(g[me.action][me.actionText],et)+"</div>":z+='<a href="'+g[me.action][me.actionURL].replace(/"/g,"")+'" class="action">'+oe(g[me.action][me.actionText],et)+"</a>"),z):!1}}}})(jQuery,window,document);(function(v,yt,At,A){v.isFunction=v.isFunction||function(g){return typeof g=="function"&&typeof g.nodeType!="number"},v.site=v.fn.site=function(g){var me=new Date().getTime(),et=[],z=arguments[0],oe=typeof z=="string",d=[].slice.call(arguments,1),N=v.isPlainObject(g)?v.extend(!0,{},v.site.settings,g):v.extend({},v.site.settings),L=N.namespace,B=N.error,T="module-"+L,H=v(At),se=H,n=this,C=se.data(T),D,ge;return D={initialize:function(){D.instantiate()},instantiate:function(){D.verbose("Storing instance of site",D),C=D,se.data(T,D)},normalize:function(){D.fix.console(),D.fix.requestAnimationFrame()},fix:{console:function(){D.debug("Normalizing window.console"),(console===A||console.log===A)&&(D.verbose("Console not available, normalizing events"),D.disable.console()),(typeof console.group=="undefined"||typeof console.groupEnd=="undefined"||typeof console.groupCollapsed=="undefined")&&(D.verbose("Console group not available, normalizing events"),yt.console.group=function(){},yt.console.groupEnd=function(){},yt.console.groupCollapsed=function(){}),typeof console.markTimeline=="undefined"&&(D.verbose("Mark timeline not available, normalizing events"),yt.console.markTimeline=function(){})},consoleClear:function(){D.debug("Disabling programmatic console clearing"),yt.console.clear=function(){}},requestAnimationFrame:function(){D.debug("Normalizing requestAnimationFrame"),yt.requestAnimationFrame===A&&(D.debug("RequestAnimationFrame not available, normalizing event"),yt.requestAnimationFrame=yt.requestAnimationFrame||yt.mozRequestAnimationFrame||yt.webkitRequestAnimationFrame||yt.msRequestAnimationFrame||function(de){setTimeout(de,0)})}},moduleExists:function(de){return v.fn[de]!==A&&v.fn[de].settings!==A},enabled:{modules:function(de){var be=[];return de=de||N.modules,v.each(de,function(we,Te){D.moduleExists(Te)&&be.push(Te)}),be}},disabled:{modules:function(de){var be=[];return de=de||N.modules,v.each(de,function(we,Te){D.moduleExists(Te)||be.push(Te)}),be}},change:{setting:function(de,be,we,Te){we=typeof we=="string"?we==="all"?N.modules:[we]:we||N.modules,Te=Te!==A?Te:!0,v.each(we,function(J,s){var ce=D.moduleExists(s)?v.fn[s].settings.namespace||!1:!0,De;D.moduleExists(s)&&(D.verbose("Changing default setting",de,be,s),v.fn[s].settings[de]=be,Te&&ce&&(De=v(":data(module-"+ce+")"),De.length>0&&(D.verbose("Modifying existing settings",De),De[s]("setting",de,be))))})},settings:function(de,be,we){be=typeof be=="string"?[be]:be||N.modules,we=we!==A?we:!0,v.each(be,function(Te,J){var s;D.moduleExists(J)&&(D.verbose("Changing default setting",de,J),v.extend(!0,v.fn[J].settings,de),we&&L&&(s=v(":data(module-"+L+")"),s.length>0&&(D.verbose("Modifying existing settings",s),s[J]("setting",de))))})}},enable:{console:function(){D.console(!0)},debug:function(de,be){de=de||N.modules,D.debug("Enabling debug for modules",de),D.change.setting("debug",!0,de,be)},verbose:function(de,be){de=de||N.modules,D.debug("Enabling verbose debug for modules",de),D.change.setting("verbose",!0,de,be)}},disable:{console:function(){D.console(!1)},debug:function(de,be){de=de||N.modules,D.debug("Disabling debug for modules",de),D.change.setting("debug",!1,de,be)},verbose:function(de,be){de=de||N.modules,D.debug("Disabling verbose debug for modules",de),D.change.setting("verbose",!1,de,be)}},console:function(de){if(de){if(C.cache.console===A){D.error(B.console);return}D.debug("Restoring console function"),yt.console=C.cache.console}else D.debug("Disabling console function"),C.cache.console=yt.console,yt.console={clear:function(){},error:function(){},group:function(){},groupCollapsed:function(){},groupEnd:function(){},info:function(){},log:function(){},markTimeline:function(){},warn:function(){}}},destroy:function(){D.verbose("Destroying previous site for",se),se.removeData(T)},cache:{},setting:function(de,be){if(v.isPlainObject(de))v.extend(!0,N,de);else if(be!==A)N[de]=be;else return N[de]},internal:function(de,be){if(v.isPlainObject(de))v.extend(!0,D,de);else if(be!==A)D[de]=be;else return D[de]},debug:function(){N.debug&&(N.performance?D.performance.log(arguments):(D.debug=Function.prototype.bind.call(console.info,console,N.name+":"),D.debug.apply(console,arguments)))},verbose:function(){N.verbose&&N.debug&&(N.performance?D.performance.log(arguments):(D.verbose=Function.prototype.bind.call(console.info,console,N.name+":"),D.verbose.apply(console,arguments)))},error:function(){D.error=Function.prototype.bind.call(console.error,console,N.name+":"),D.error.apply(console,arguments)},performance:{log:function(de){var be,we,Te;N.performance&&(be=new Date().getTime(),Te=me||be,we=be-Te,me=be,et.push({Element:n,Name:de[0],Arguments:[].slice.call(de,1)||"","Execution Time":we})),clearTimeout(D.performance.timer),D.performance.timer=setTimeout(D.performance.display,500)},display:function(){var de=N.name+":",be=0;me=!1,clearTimeout(D.performance.timer),v.each(et,function(we,Te){be+=Te["Execution Time"]}),de+=" "+be+"ms",(console.group!==A||console.table!==A)&&et.length>0&&(console.groupCollapsed(de),console.table?console.table(et):v.each(et,function(we,Te){console.log(Te.Name+": "+Te["Execution Time"]+"ms")}),console.groupEnd()),et=[]}},invoke:function(de,be,we){var Te=C,J,s,ce;return be=be||d,we=n||we,typeof de=="string"&&Te!==A&&(de=de.split(/[\. ]/),J=de.length-1,v.each(de,function(De,ke){var le=De!=J?ke+de[De+1].charAt(0).toUpperCase()+de[De+1].slice(1):de;if(v.isPlainObject(Te[le])&&De!=J)Te=Te[le];else{if(Te[le]!==A)return s=Te[le],!1;if(v.isPlainObject(Te[ke])&&De!=J)Te=Te[ke];else return Te[ke]!==A?(s=Te[ke],!1):(D.error(B.method,de),!1)}})),v.isFunction(s)?ce=s.apply(we,be):s!==A&&(ce=s),Array.isArray(ge)?ge.push(ce):ge!==A?ge=[ge,ce]:ce!==A&&(ge=ce),s}},oe?(C===A&&D.initialize(),D.invoke(z)):(C!==A&&D.destroy(),D.initialize()),ge!==A?ge:this},v.site.settings={name:"Site",namespace:"site",error:{console:"Console cannot be restored, most likely it was overwritten outside of module",method:"The method you called is not defined."},debug:!1,verbose:!1,performance:!0,modules:["accordion","api","calendar","checkbox","dimmer","dropdown","embed","form","modal","nag","popup","slider","rating","shape","sidebar","state","sticky","tab","toast","transition","visibility","visit"],siteNamespace:"site",namespaceStub:{cache:{},config:{},sections:{},section:{},utilities:{}}},v.extend(v.expr[":"],{data:v.expr.createPseudo?v.expr.createPseudo(function(g){return function(me){return!!v.data(me,g)}}):function(g,me,et){return!!v.data(g,et[3])}})})(jQuery,window,document);(function(v,yt,At,A){"use strict";v.isWindow=v.isWindow||function(g){return g!=null&&g===g.window},v.isFunction=v.isFunction||function(g){return typeof g=="function"&&typeof g.nodeType!="number"},yt=typeof yt!="undefined"&&yt.Math==Math?yt:typeof self!="undefined"&&self.Math==Math?self:Function("return this")(),v.fn.tab=function(g){var me=v.isFunction(this)?v(yt):v(this),et=me.selector||"",z=new Date().getTime(),oe=[],d=arguments[0],N=typeof d=="string",L=[].slice.call(arguments,1),B=!1,T;return me.each(function(){var H=v.isPlainObject(g)?v.extend(!0,{},v.fn.tab.settings,g):v.extend({},v.fn.tab.settings),se=H.className,n=H.metadata,C=H.selector,D=H.error,ge=H.regExp,de="."+H.namespace,be="module-"+H.namespace,we=v(this),Te,J,s={},ce=!0,De=0,ke=this,le=we.data(be),pe,We,I,F;I={initialize:function(){I.debug("Initializing tab menu item",we),I.fix.callbacks(),I.determineTabs(),I.debug("Determining tabs",H.context,J),H.auto&&I.set.auto(),I.bind.events(),H.history&&!B&&(I.initializeHistory(),B=!0),H.autoTabActivation&&le===A&&I.determine.activeTab()==null&&(I.debug("No active tab detected, setting first tab active",I.get.initialPath()),I.changeTab(H.autoTabActivation===!0?I.get.initialPath():H.autoTabActivation)),I.instantiate()},instantiate:function(){I.verbose("Storing instance of module",I),le=I,we.data(be,I)},destroy:function(){I.debug("Destroying tabs",we),we.removeData(be).off(de)},bind:{events:function(){v.isWindow(ke)||(I.debug("Attaching tab activation events to element",we),we.on("click"+de,I.event.click))}},determineTabs:function(){var M;H.context==="parent"?(we.closest(C.ui).length>0?(M=we.closest(C.ui),I.verbose("Using closest UI element as parent",M)):M=we,Te=M.parent(),I.verbose("Determined parent element for creating context",Te)):H.context?(Te=v(H.context),I.verbose("Using selector for tab context",H.context,Te)):Te=v("body"),H.childrenOnly?(J=Te.children(C.tabs),I.debug("Searching tab context children for tabs",Te,J)):(J=Te.find(C.tabs),I.debug("Searching tab context for tabs",Te,J))},fix:{callbacks:function(){v.isPlainObject(g)&&(g.onTabLoad||g.onTabInit)&&(g.onTabLoad&&(g.onLoad=g.onTabLoad,delete g.onTabLoad,I.error(D.legacyLoad,g.onLoad)),g.onTabInit&&(g.onFirstLoad=g.onTabInit,delete g.onTabInit,I.error(D.legacyInit,g.onFirstLoad)),H=v.extend(!0,{},v.fn.tab.settings,g))}},initializeHistory:function(){if(I.debug("Initializing page state"),v.address===A)return I.error(D.state),!1;if(H.historyType=="state")if(I.debug("Using HTML5 to manage state"),H.path!==!1)v.address.history(!0).state(H.path);else return I.error(D.path),!1;v.address.bind("change",I.event.history.change)},event:{click:function(M){var Z=v(this).data(n.tab);Z!==A?(H.history?(I.verbose("Updating page state",M),v.address.value(Z)):(I.verbose("Changing tab",M),I.changeTab(Z)),M.preventDefault()):I.debug("No tab specified")},history:{change:function(M){var Z=M.pathNames.join("/")||I.get.initialPath(),Pe=H.templates.determineTitle(Z)||!1;I.performance.display(),I.debug("History change event",Z,M),F=M,Z!==A&&I.changeTab(Z),Pe&&v.address.title(Pe)}}},refresh:function(){pe&&(I.debug("Refreshing tab",pe),I.changeTab(pe))},cache:{read:function(M){return M!==A?s[M]:!1},add:function(M,Z){M=M||pe,I.debug("Adding cached content for",M),s[M]=Z},remove:function(M){M=M||pe,I.debug("Removing cached content for",M),delete s[M]}},escape:{string:function(M){return M=String(M),M.replace(ge.escape,"\\$&")}},set:{auto:function(){var M=typeof H.path=="string"?H.path.replace(/\/$/,"")+"/{$tab}":"/{$tab}";I.verbose("Setting up automatic tab retrieval from server",M),v.isPlainObject(H.apiSettings)?H.apiSettings.url=M:H.apiSettings={url:M}},loading:function(M){var Z=I.get.tabElement(M),Pe=Z.hasClass(se.loading);Pe||(I.verbose("Setting loading state for",Z),Z.addClass(se.loading).siblings(J).removeClass(se.active+" "+se.loading),Z.length>0&&H.onRequest.call(Z[0],M))},state:function(M){v.address.value(M)}},changeTab:function(M){var Z=yt.history&&yt.history.pushState,Pe=Z&&H.ignoreFirstLoad&&ce,Ke=H.auto||v.isPlainObject(H.apiSettings),ot=Ke&&!Pe?I.utilities.pathToArray(M):I.get.defaultPathArray(M);M=I.utilities.arrayToPath(ot),v.each(ot,function(ne,ae){var Ve=ot.slice(0,ne+1),$=I.utilities.arrayToPath(Ve),Ee=I.is.tab($),tt=ne+1==ot.length,St=I.get.tabElement($),pt,Ot,ui,Qt;if(I.verbose("Looking for tab",ae),Ee){if(I.verbose("Tab was found",ae),pe=$,We=I.utilities.filterArray(ot,Ve),tt?Qt=!0:(Ot=ot.slice(0,ne+2),ui=I.utilities.arrayToPath(Ot),Qt=!I.is.tab(ui),Qt&&I.verbose("Tab parameters found",Ot)),Qt&&Ke)return Pe?(I.debug("Ignoring remote content on first tab load",$),ce=!1,I.cache.add(M,St.html()),I.activate.all($),H.onFirstLoad.call(St[0],$,We,F),H.onLoad.call(St[0],$,We,F)):(I.activate.navigation($),I.fetch.content($,M)),!1;I.debug("Opened local tab",$),I.activate.all($),I.cache.read($)||(I.cache.add($,!0),I.debug("First time tab loaded calling tab init"),H.onFirstLoad.call(St[0],$,We,F)),H.onLoad.call(St[0],$,We,F)}else if(M.search("/")==-1&&M!==""){if(M=I.escape.string(M),pt=v("#"+M+', a[name="'+M+'"]'),$=pt.closest("[data-tab]").data(n.tab),St=I.get.tabElement($),pt&&pt.length>0&&$)return I.debug("Anchor link used, opening parent tab",St,pt),St.hasClass(se.active)||setTimeout(function(){I.scrollTo(pt)},0),I.activate.all($),I.cache.read($)||(I.cache.add($,!0),I.debug("First time tab loaded calling tab init"),H.onFirstLoad.call(St[0],$,We,F)),H.onLoad.call(St[0],$,We,F),!1}else return I.error(D.missingTab,we,Te,$),!1})},scrollTo:function(M){var Z=M&&M.length>0?M.offset().top:!1;Z!==!1&&(I.debug("Forcing scroll to an in-page link in a hidden tab",Z,M),v(At).scrollTop(Z))},update:{content:function(M,Z,Pe){var Ke=I.get.tabElement(M),ot=Ke[0];Pe=Pe!==A?Pe:H.evaluateScripts,typeof H.cacheType=="string"&&H.cacheType.toLowerCase()=="dom"&&typeof Z!="string"?Ke.empty().append(v(Z).clone(!0)):Pe?(I.debug("Updating HTML and evaluating inline scripts",M,Z),Ke.html(Z)):(I.debug("Updating HTML",M,Z),ot.innerHTML=Z)}},fetch:{content:function(M,Z){var Pe=I.get.tabElement(M),Ke={dataType:"html",encodeParameters:!1,on:"now",cache:H.alwaysRefresh,headers:{"X-Remote":!0},onSuccess:function($){H.cacheType=="response"&&I.cache.add(Z,$),I.update.content(M,$),M==pe?(I.debug("Content loaded",M),I.activate.tab(M)):I.debug("Content loaded in background",M),H.onFirstLoad.call(Pe[0],M,We,F),H.onLoad.call(Pe[0],M,We,F),H.loadOnce?I.cache.add(Z,!0):typeof H.cacheType=="string"&&H.cacheType.toLowerCase()=="dom"&&Pe.children().length>0?setTimeout(function(){var Ee=Pe.children().clone(!0);Ee=Ee.not("script"),I.cache.add(Z,Ee)},0):I.cache.add(Z,Pe.html())},urlData:{tab:Z}},ot=Pe.api("get request")||!1,ne=ot&&ot.state()==="pending",ae,Ve;Z=Z||M,Ve=I.cache.read(Z),H.cache&&Ve?(I.activate.tab(M),I.debug("Adding cached content",Z),H.loadOnce||(H.evaluateScripts=="once"?I.update.content(M,Ve,!1):I.update.content(M,Ve)),H.onLoad.call(Pe[0],M,We,F)):ne?(I.set.loading(M),I.debug("Content is already loading",Z)):v.api!==A?(ae=v.extend(!0,{},H.apiSettings,Ke),I.debug("Retrieving remote content",Z,ae),I.set.loading(M),Pe.api(ae)):I.error(D.api)}},activate:{all:function(M){I.activate.tab(M),I.activate.navigation(M)},tab:function(M){var Z=I.get.tabElement(M),Pe=H.deactivate=="siblings"?Z.siblings(J):J.not(Z),Ke=Z.hasClass(se.active);I.verbose("Showing tab content for",Z),Ke||(Z.addClass(se.active),Pe.removeClass(se.active+" "+se.loading),Z.length>0&&H.onVisible.call(Z[0],M))},navigation:function(M){var Z=I.get.navElement(M),Pe=H.deactivate=="siblings"?Z.siblings(me):me.not(Z),Ke=Z.hasClass(se.active);I.verbose("Activating tab navigation for",Z,M),Ke||(Z.addClass(se.active),Pe.removeClass(se.active+" "+se.loading))}},deactivate:{all:function(){I.deactivate.navigation(),I.deactivate.tabs()},navigation:function(){me.removeClass(se.active)},tabs:function(){J.removeClass(se.active+" "+se.loading)}},is:{tab:function(M){return M!==A?I.get.tabElement(M).length>0:!1}},get:{initialPath:function(){return me.eq(0).data(n.tab)||J.eq(0).data(n.tab)},path:function(){return v.address.value()},defaultPathArray:function(M){return I.utilities.pathToArray(I.get.defaultPath(M))},defaultPath:function(M){var Z=me.filter("[data-"+n.tab+'^="'+I.escape.string(M)+'/"]').eq(0),Pe=Z.data(n.tab)||!1;if(Pe){if(I.debug("Found default tab",Pe),De<H.maxDepth)return De++,I.get.defaultPath(Pe);I.error(D.recursion)}else I.debug("No default tabs found for",M,J);return De=0,M},navElement:function(M){return M=M||pe,me.filter("[data-"+n.tab+'="'+I.escape.string(M)+'"]')},tabElement:function(M){var Z,Pe,Ke,ot;return M=M||pe,Ke=I.utilities.pathToArray(M),ot=I.utilities.last(Ke),Z=J.filter("[data-"+n.tab+'="'+I.escape.string(M)+'"]'),Pe=J.filter("[data-"+n.tab+'="'+I.escape.string(ot)+'"]'),Z.length>0?Z:Pe},tab:function(){return pe}},determine:{activeTab:function(){var M=null;return J.each(function(Z,Pe){var Ke=v(Pe);if(Ke.hasClass(se.active)){var ot=v(this).data(n.tab),ne=me.filter("[data-"+n.tab+'="'+I.escape.string(ot)+'"]');ne.hasClass(se.active)&&(M=ot)}}),M}},utilities:{filterArray:function(M,Z){return v.grep(M,function(Pe){return v.inArray(Pe,Z)==-1})},last:function(M){return Array.isArray(M)?M[M.length-1]:!1},pathToArray:function(M){return M===A&&(M=pe),typeof M=="string"?M.split("/"):[M]},arrayToPath:function(M){return Array.isArray(M)?M.join("/"):!1}},setting:function(M,Z){if(I.debug("Changing setting",M,Z),v.isPlainObject(M))v.extend(!0,H,M);else if(Z!==A)v.isPlainObject(H[M])?v.extend(!0,H[M],Z):H[M]=Z;else return H[M]},internal:function(M,Z){if(v.isPlainObject(M))v.extend(!0,I,M);else if(Z!==A)I[M]=Z;else return I[M]},debug:function(){!H.silent&&H.debug&&(H.performance?I.performance.log(arguments):(I.debug=Function.prototype.bind.call(console.info,console,H.name+":"),I.debug.apply(console,arguments)))},verbose:function(){!H.silent&&H.verbose&&H.debug&&(H.performance?I.performance.log(arguments):(I.verbose=Function.prototype.bind.call(console.info,console,H.name+":"),I.verbose.apply(console,arguments)))},error:function(){H.silent||(I.error=Function.prototype.bind.call(console.error,console,H.name+":"),I.error.apply(console,arguments))},performance:{log:function(M){var Z,Pe,Ke;H.performance&&(Z=new Date().getTime(),Ke=z||Z,Pe=Z-Ke,z=Z,oe.push({Name:M[0],Arguments:[].slice.call(M,1)||"",Element:ke,"Execution Time":Pe})),clearTimeout(I.performance.timer),I.performance.timer=setTimeout(I.performance.display,500)},display:function(){var M=H.name+":",Z=0;z=!1,clearTimeout(I.performance.timer),v.each(oe,function(Pe,Ke){Z+=Ke["Execution Time"]}),M+=" "+Z+"ms",et&&(M+=" '"+et+"'"),(console.group!==A||console.table!==A)&&oe.length>0&&(console.groupCollapsed(M),console.table?console.table(oe):v.each(oe,function(Pe,Ke){console.log(Ke.Name+": "+Ke["Execution Time"]+"ms")}),console.groupEnd()),oe=[]}},invoke:function(M,Z,Pe){var Ke=le,ot,ne,ae;return Z=Z||L,Pe=ke||Pe,typeof M=="string"&&Ke!==A&&(M=M.split(/[\. ]/),ot=M.length-1,v.each(M,function(Ve,$){var Ee=Ve!=ot?$+M[Ve+1].charAt(0).toUpperCase()+M[Ve+1].slice(1):M;if(v.isPlainObject(Ke[Ee])&&Ve!=ot)Ke=Ke[Ee];else{if(Ke[Ee]!==A)return ne=Ke[Ee],!1;if(v.isPlainObject(Ke[$])&&Ve!=ot)Ke=Ke[$];else return Ke[$]!==A?(ne=Ke[$],!1):(I.error(D.method,M),!1)}})),v.isFunction(ne)?ae=ne.apply(Pe,Z):ne!==A&&(ae=ne),Array.isArray(T)?T.push(ae):T!==A?T=[T,ae]:ae!==A&&(T=ae),ne}},N?(le===A&&I.initialize(),I.invoke(d)):(le!==A&&le.invoke("destroy"),I.initialize())}),T!==A?T:this},v.tab=function(){v(yt).tab.apply(this,arguments)},v.fn.tab.settings={name:"Tab",namespace:"tab",silent:!1,debug:!1,verbose:!1,performance:!0,auto:!1,history:!1,historyType:"hash",path:!1,context:!1,childrenOnly:!1,maxDepth:25,deactivate:"siblings",alwaysRefresh:!1,cache:!0,loadOnce:!1,cacheType:"response",ignoreFirstLoad:!1,apiSettings:!1,evaluateScripts:"once",autoTabActivation:!0,onFirstLoad:function(g,me,et){},onLoad:function(g,me,et){},onVisible:function(g,me,et){},onRequest:function(g,me,et){},templates:{determineTitle:function(g){}},error:{api:"You attempted to load content without API module",method:"The method you called is not defined",missingTab:"Activated tab cannot be found. Tabs are case-sensitive.",noContent:"The tab you specified is missing a content url.",path:"History enabled, but no path was specified",recursion:"Max recursive depth reached",legacyInit:"onTabInit has been renamed to onFirstLoad in 2.0, please adjust your code.",legacyLoad:"onTabLoad has been renamed to onLoad in 2.0. Please adjust your code",state:"History requires Asual's Address library <https://github.com/asual/jquery-address>"},regExp:{escape:/[-[\]{}()*+?.,\\^$|#\s:=@]/g},metadata:{tab:"tab",loaded:"loaded",promise:"promise"},className:{loading:"loading",active:"active"},selector:{tabs:".ui.tab",ui:".ui"}}})(jQuery,window,document);(function(v,yt,At,A){"use strict";v.isFunction=v.isFunction||function(g){return typeof g=="function"&&typeof g.nodeType!="number"},yt=typeof yt!="undefined"&&yt.Math==Math?yt:typeof self!="undefined"&&self.Math==Math?self:Function("return this")(),v.fn.transition=function(){var g=v(this),me=g.selector||"",et=new Date().getTime(),z=[],oe=arguments,d=oe[0],N=[].slice.call(arguments,1),L=typeof d=="string",B;return g.each(function(T){var H=v(this),se=this,n,C,D,ge,de,be,we,Te,J;J={initialize:function(){n=J.get.settings.apply(se,oe),ge=n.className,D=n.error,de=n.metadata,Te="."+n.namespace,we="module-"+n.namespace,C=H.data(we)||J,be=J.get.animationEndEvent(),L&&(L=J.invoke(d)),L===!1&&(J.verbose("Converted arguments into settings object",n),n.interval?J.delay(n.animate):J.animate(),J.instantiate())},instantiate:function(){J.verbose("Storing instance of module",J),C=J,H.data(we,C)},destroy:function(){J.verbose("Destroying previous module for",se),H.removeData(we)},refresh:function(){J.verbose("Refreshing display type on next animation"),delete J.displayType},forceRepaint:function(){J.verbose("Forcing element repaint");var s=H.parent(),ce=H.next();ce.length===0?H.detach().appendTo(s):H.detach().insertBefore(ce)},repaint:function(){J.verbose("Repainting element");var s=se.offsetWidth},delay:function(s){var ce=J.get.animationDirection(),De,ke;ce||(ce=J.can.transition()?J.get.direction():"static"),s=s!==A?s:n.interval,De=n.reverse=="auto"&&ce==ge.outward,ke=De||n.reverse==!0?(g.length-T)*n.interval:T*n.interval,J.debug("Delaying animation by",ke),setTimeout(J.animate,ke)},animate:function(s){if(n=s||n,!J.is.supported())return J.error(D.support),!1;if(J.debug("Preparing animation",n.animation),J.is.animating()){if(n.queue)return!n.allowRepeats&&J.has.direction()&&J.is.occurring()&&J.queuing!==!0?J.debug("Animation is currently occurring, preventing queueing same animation",n.animation):J.queue(n.animation),!1;if(!n.allowRepeats&&J.is.occurring())return J.debug("Animation is already occurring, will not execute repeated animation",n.animation),!1;J.debug("New animation started, completing previous early",n.animation),C.complete()}J.can.animate()?J.set.animating(n.animation):J.error(D.noAnimation,n.animation,se)},reset:function(){J.debug("Resetting animation to beginning conditions"),J.remove.animationCallbacks(),J.restore.conditions(),J.remove.animating()},queue:function(s){J.debug("Queueing animation of",s),J.queuing=!0,H.one(be+".queue"+Te,function(){J.queuing=!1,J.repaint(),J.animate.apply(this,n)})},complete:function(s){s&&s.target===se&&s.stopPropagation(),J.debug("Animation complete",n.animation),J.remove.completeCallback(),J.remove.failSafe(),J.is.looping()||(J.is.outward()?(J.verbose("Animation is outward, hiding element"),J.restore.conditions(),J.hide()):J.is.inward()?(J.verbose("Animation is outward, showing element"),J.restore.conditions(),J.show()):(J.verbose("Static animation completed"),J.restore.conditions(),n.onComplete.call(se)))},force:{visible:function(){var s=H.attr("style"),ce=J.get.userStyle(s),De=J.get.displayType(),ke=ce+"display: "+De+" !important;",le=H[0].style.display,pe=!De||le==="none"&&n.skipInlineHidden||H[0].tagName.match(/(script|link|style)/i);return pe?(J.remove.transition(),!1):(J.verbose("Overriding default display to show element",De),H.attr("style",ke),!0)},hidden:function(){var s=H.attr("style"),ce=H.css("display"),De=s===A||s==="";ce!=="none"&&!J.is.hidden()?(J.verbose("Overriding default display to hide element"),H.css("display","none")):De&&H.removeAttr("style")}},has:{direction:function(s){var ce=!1;return s=s||n.animation,typeof s=="string"&&(s=s.split(" "),v.each(s,function(De,ke){(ke===ge.inward||ke===ge.outward)&&(ce=!0)})),ce},inlineDisplay:function(){var s=H.attr("style")||"";return Array.isArray(s.match(/display.*?;/,""))}},set:{animating:function(s){J.remove.completeCallback(),s=s||n.animation;var ce=J.get.animationClass(s);J.save.animation(ce),J.force.visible()&&(J.remove.hidden(),J.remove.direction(),J.start.animation(ce))},duration:function(s,ce){ce=ce||n.duration,ce=typeof ce=="number"?ce+"ms":ce,(ce||ce===0)&&(J.verbose("Setting animation duration",ce),H.css({"animation-duration":ce}))},direction:function(s){s=s||J.get.direction(),s==ge.inward?J.set.inward():J.set.outward()},looping:function(){J.debug("Transition set to loop"),H.addClass(ge.looping)},hidden:function(){H.addClass(ge.transition).addClass(ge.hidden)},inward:function(){J.debug("Setting direction to inward"),H.removeClass(ge.outward).addClass(ge.inward)},outward:function(){J.debug("Setting direction to outward"),H.removeClass(ge.inward).addClass(ge.outward)},visible:function(){H.addClass(ge.transition).addClass(ge.visible)}},start:{animation:function(s){s=s||J.get.animationClass(),J.debug("Starting tween",s),H.addClass(s).one(be+".complete"+Te,J.complete),n.useFailSafe&&J.add.failSafe(),J.set.duration(n.duration),n.onStart.call(se)}},save:{animation:function(s){J.cache||(J.cache={}),J.cache.animation=s},displayType:function(s){s!=="none"&&H.data(de.displayType,s)},transitionExists:function(s,ce){v.fn.transition.exists[s]=ce,J.verbose("Saving existence of transition",s,ce)}},restore:{conditions:function(){var s=J.get.currentAnimation();s&&(H.removeClass(s),J.verbose("Removing animation class",J.cache)),J.remove.duration()}},add:{failSafe:function(){var s=J.get.duration();J.timer=setTimeout(function(){H.triggerHandler(be)},s+n.failSafeDelay),J.verbose("Adding fail safe timer",J.timer)}},remove:{animating:function(){H.removeClass(ge.animating)},animationCallbacks:function(){J.remove.queueCallback(),J.remove.completeCallback()},queueCallback:function(){H.off(".queue"+Te)},completeCallback:function(){H.off(".complete"+Te)},display:function(){H.css("display","")},direction:function(){H.removeClass(ge.inward).removeClass(ge.outward)},duration:function(){H.css("animation-duration","")},failSafe:function(){J.verbose("Removing fail safe timer",J.timer),J.timer&&clearTimeout(J.timer)},hidden:function(){H.removeClass(ge.hidden)},visible:function(){H.removeClass(ge.visible)},looping:function(){J.debug("Transitions are no longer looping"),J.is.looping()&&(J.reset(),H.removeClass(ge.looping))},transition:function(){H.removeClass(ge.transition).removeClass(ge.visible).removeClass(ge.hidden)}},get:{settings:function(s,ce,De){return typeof s=="object"?v.extend(!0,{},v.fn.transition.settings,s):typeof De=="function"?v.extend({},v.fn.transition.settings,{animation:s,onComplete:De,duration:ce}):typeof ce=="string"||typeof ce=="number"?v.extend({},v.fn.transition.settings,{animation:s,duration:ce}):typeof ce=="object"?v.extend({},v.fn.transition.settings,ce,{animation:s}):typeof ce=="function"?v.extend({},v.fn.transition.settings,{animation:s,onComplete:ce}):v.extend({},v.fn.transition.settings,{animation:s})},animationClass:function(s){var ce=s||n.animation,De=J.can.transition()&&!J.has.direction()?J.get.direction()+" ":"";return ge.animating+" "+ge.transition+" "+De+ce},currentAnimation:function(){return J.cache&&J.cache.animation!==A?J.cache.animation:!1},currentDirection:function(){return J.is.inward()?ge.inward:ge.outward},direction:function(){return J.is.hidden()||!J.is.visible()?ge.inward:ge.outward},animationDirection:function(s){var ce;return s=s||n.animation,typeof s=="string"&&(s=s.split(" "),v.each(s,function(De,ke){ke===ge.inward?ce=ge.inward:ke===ge.outward&&(ce=ge.outward)})),ce||!1},duration:function(s){return s=s||n.duration,s===!1&&(s=H.css("animation-duration")||0),typeof s=="string"?s.indexOf("ms")>-1?parseFloat(s):parseFloat(s)*1e3:s},displayType:function(s){if(s=s!==A?s:!0,n.displayType)return n.displayType;if(s&&H.data(de.displayType)===A){var ce=H.css("display");ce===""||ce==="none"?J.can.transition(!0):J.save.displayType(ce)}return H.data(de.displayType)},userStyle:function(s){return s=s||H.attr("style")||"",s.replace(/display.*?;/,"")},transitionExists:function(s){return v.fn.transition.exists[s]},animationStartEvent:function(){var s=At.createElement("div"),ce={animation:"animationstart",OAnimation:"oAnimationStart",MozAnimation:"mozAnimationStart",WebkitAnimation:"webkitAnimationStart"},De;for(De in ce)if(s.style[De]!==A)return ce[De];return!1},animationEndEvent:function(){var s=At.createElement("div"),ce={animation:"animationend",OAnimation:"oAnimationEnd",MozAnimation:"mozAnimationEnd",WebkitAnimation:"webkitAnimationEnd"},De;for(De in ce)if(s.style[De]!==A)return ce[De];return!1}},can:{transition:function(s){var ce=n.animation,De=J.get.transitionExists(ce),ke=J.get.displayType(!1),le,pe,We,I,F,M;if(De===A||s){if(J.verbose("Determining whether animation exists"),le=H.attr("class"),pe=H.prop("tagName"),We=v("<"+pe+" />").addClass(le).insertAfter(H),I=We.addClass(ce).removeClass(ge.inward).removeClass(ge.outward).addClass(ge.animating).addClass(ge.transition).css("animationName"),F=We.addClass(ge.inward).css("animationName"),ke||(ke=We.attr("class",le).removeAttr("style").removeClass(ge.hidden).removeClass(ge.visible).show().css("display"),J.verbose("Determining final display state",ke),J.save.displayType(ke)),We.remove(),I!=F)J.debug("Direction exists for animation",ce),M=!0;else if(I=="none"||!I){J.debug("No animation defined in css",ce);return}else J.debug("Static animation found",ce,ke),M=!1;J.save.transitionExists(ce,M)}return De!==A?De:M},animate:function(){return J.can.transition()!==A}},is:{animating:function(){return H.hasClass(ge.animating)},inward:function(){return H.hasClass(ge.inward)},outward:function(){return H.hasClass(ge.outward)},looping:function(){return H.hasClass(ge.looping)},occurring:function(s){return s=s||n.animation,s="."+s.replace(" ","."),H.filter(s).length>0},visible:function(){return H.is(":visible")},hidden:function(){return H.css("visibility")==="hidden"},supported:function(){return be!==!1}},hide:function(){J.verbose("Hiding element"),J.is.animating()&&J.reset(),se.blur(),J.remove.display(),J.remove.visible(),v.isFunction(n.onBeforeHide)?n.onBeforeHide.call(se,function(){J.hideNow()}):J.hideNow()},hideNow:function(){J.set.hidden(),J.force.hidden(),n.onHide.call(se),n.onComplete.call(se)},show:function(s){J.verbose("Showing element",s),J.force.visible()&&(J.remove.hidden(),J.set.visible(),n.onShow.call(se),n.onComplete.call(se))},toggle:function(){J.is.visible()?J.hide():J.show()},stop:function(){J.debug("Stopping current animation"),H.triggerHandler(be)},stopAll:function(){J.debug("Stopping all animation"),J.remove.queueCallback(),H.triggerHandler(be)},clear:{queue:function(){J.debug("Clearing animation queue"),J.remove.queueCallback()}},enable:function(){J.verbose("Starting animation"),H.removeClass(ge.disabled)},disable:function(){J.debug("Stopping animation"),H.addClass(ge.disabled)},setting:function(s,ce){if(J.debug("Changing setting",s,ce),v.isPlainObject(s))v.extend(!0,n,s);else if(ce!==A)v.isPlainObject(n[s])?v.extend(!0,n[s],ce):n[s]=ce;else return n[s]},internal:function(s,ce){if(v.isPlainObject(s))v.extend(!0,J,s);else if(ce!==A)J[s]=ce;else return J[s]},debug:function(){!n.silent&&n.debug&&(n.performance?J.performance.log(arguments):(J.debug=Function.prototype.bind.call(console.info,console,n.name+":"),J.debug.apply(console,arguments)))},verbose:function(){!n.silent&&n.verbose&&n.debug&&(n.performance?J.performance.log(arguments):(J.verbose=Function.prototype.bind.call(console.info,console,n.name+":"),J.verbose.apply(console,arguments)))},error:function(){n.silent||(J.error=Function.prototype.bind.call(console.error,console,n.name+":"),J.error.apply(console,arguments))},performance:{log:function(s){var ce,De,ke;n.performance&&(ce=new Date().getTime(),ke=et||ce,De=ce-ke,et=ce,z.push({Name:s[0],Arguments:[].slice.call(s,1)||"",Element:se,"Execution Time":De})),clearTimeout(J.performance.timer),J.performance.timer=setTimeout(J.performance.display,500)},display:function(){var s=n.name+":",ce=0;et=!1,clearTimeout(J.performance.timer),v.each(z,function(De,ke){ce+=ke["Execution Time"]}),s+=" "+ce+"ms",me&&(s+=" '"+me+"'"),g.length>1&&(s+=" ("+g.length+")"),(console.group!==A||console.table!==A)&&z.length>0&&(console.groupCollapsed(s),console.table?console.table(z):v.each(z,function(De,ke){console.log(ke.Name+": "+ke["Execution Time"]+"ms")}),console.groupEnd()),z=[]}},invoke:function(s,ce,De){var ke=C,le,pe,We;return ce=ce||N,De=se||De,typeof s=="string"&&ke!==A&&(s=s.split(/[\. ]/),le=s.length-1,v.each(s,function(I,F){var M=I!=le?F+s[I+1].charAt(0).toUpperCase()+s[I+1].slice(1):s;if(v.isPlainObject(ke[M])&&I!=le)ke=ke[M];else{if(ke[M]!==A)return pe=ke[M],!1;if(v.isPlainObject(ke[F])&&I!=le)ke=ke[F];else return ke[F]!==A&&(pe=ke[F]),!1}})),v.isFunction(pe)?We=pe.apply(De,ce):pe!==A&&(We=pe),Array.isArray(B)?B.push(We):B!==A?B=[B,We]:We!==A&&(B=We),pe!==A?pe:!1}},J.initialize()}),B!==A?B:this},v.fn.transition.exists={},v.fn.transition.settings={name:"Transition",silent:!1,debug:!1,verbose:!1,performance:!0,namespace:"transition",interval:0,reverse:"auto",onStart:function(){},onComplete:function(){},onShow:function(){},onHide:function(){},useFailSafe:!0,failSafeDelay:100,allowRepeats:!1,displayType:!1,animation:"fade",duration:!1,queue:!0,skipInlineHidden:!1,metadata:{displayType:"display"},className:{animating:"animating",disabled:"disabled",hidden:"hidden",inward:"in",loading:"loading",looping:"looping",outward:"out",transition:"transition",visible:"visible"},error:{noAnimation:"Element is no longer attached to DOM. Unable to animate. Use silent setting to surpress this warning in production.",repeated:"That animation is already occurring, cancelling repeated animation",method:"The method you called is not defined",support:"This browser does not support CSS animations"}}})(jQuery,window,document)}(),function(){"use strict";function v(e=""){return e?e.replace(/^.*\//,""):""}function yt(e=""){const[t,i]=/.+(\.[^.]+)$/.exec(e)||[];return i||""}function At(...e){let t="";for(const i of e)!i||(t=t?`${t.replace(/\/$/,"")}/${i.replace(/^\//,"")}`:i);return t}function A(e){return Object.prototype.toString.call(e)==="[object Object]"}function g(){return window.getComputedStyle(document.documentElement).getPropertyValue("--is-dark-theme").trim().toLowerCase()==="true"}function me(e){return Array.from(new Set(e))}function et(e){return e.replace(/<[^>]*>?/gm,"")}function z(e,t,i,u,p){if(i-t<u)return t;const _=Math.ceil((t+i)/2/u)*u;return matchMedia(`screen and (min-${e}:${_}${p})`).matches?z(e,_,i,u,p):z(e,t,_-u,u,p)}function oe(e){const t=(e||"").replace(/[#?].*$/,""),[i,u,p,_,j]=/([^/]+)\/([^/]+)\/(issues|pulls)\/([0-9]+)/.exec(t)||[];return{owner:u,repo:p,type:_,index:j}}function d(e,t="en-US"){if(typeof e!="number")return"";const{format:i}=new Intl.NumberFormat(t);return i(e)}function N(e){return new URL(e,e.startsWith("http")?void 0:window.location.origin)}var L,B;gi.p=At((B=(L=window==null?void 0:window.config)==null?void 0:L.assetUrlPrefix)!=null?B:"/","/");function T(e){const t=document.querySelector(".page-content");if(!t)return;const i=document.createElement("div");i.innerHTML='<div class="ui container negative message center aligned js-global-error" style="white-space: pre-line;"></div>',i.childNodes[0].textContent=e,t.prepend(i.childNodes[0])}function H(e){!e.error&&e.lineno===0&&e.colno===0&&e.filename===""&&window.navigator.userAgent.includes("FxiOS/")||T(`JavaScript error: ${e.message} (${e.filename} @ ${e.lineno}:${e.colno}). Open browser console to see more details.`)}function se(){window.config||T("Gitea JavaScript code couldn't run correctly, please check your custom templates");for(const e of window._globalHandlerErrors||[])H(e);window._globalHandlerErrors={push:e=>H(e)}}se();var n=gi("./node_modules/jquery/dist/jquery.js"),C=gi.n(n),D=gi("./node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js"),ge='<svg viewBox="0 0 16 16" class="svg octicon-chevron-down" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M12.78 6.22a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L3.22 7.28a.75.75 0 0 1 1.06-1.06L8 9.94l3.72-3.72a.75.75 0 0 1 1.06 0z"/></svg>',de='<svg viewBox="0 0 16 16" class="svg octicon-chevron-right" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M6.22 3.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.06-1.06L9.94 8 6.22 4.28a.75.75 0 0 1 0-1.06z"/></svg>',be='<svg viewBox="0 0 16 16" class="svg octicon-clock" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M1.5 8a6.5 6.5 0 1 1 13 0 6.5 6.5 0 0 1-13 0zM8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm.5 4.75a.75.75 0 0 0-1.5 0v3.5a.75.75 0 0 0 .471.696l2.5 1a.75.75 0 0 0 .557-1.392L8.5 7.742V4.75z"/></svg>',we='<svg viewBox="0 0 16 16" class="svg octicon-copy" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25v-7.5z"/><path fill-rule="evenodd" d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25v-7.5zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25h-7.5z"/></svg>',Te='<svg viewBox="0 0 16 16" class="svg octicon-diff-added" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M13.25 2.5H2.75a.25.25 0 0 0-.25.25v10.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25V2.75a.25.25 0 0 0-.25-.25zM2.75 1h10.5c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0 1 13.25 15H2.75A1.75 1.75 0 0 1 1 13.25V2.75C1 1.784 1.784 1 2.75 1zM8 4a.75.75 0 0 1 .75.75v2.5h2.5a.75.75 0 0 1 0 1.5h-2.5v2.5a.75.75 0 0 1-1.5 0v-2.5h-2.5a.75.75 0 0 1 0-1.5h2.5v-2.5A.75.75 0 0 1 8 4z"/></svg>',J='<svg viewBox="0 0 16 16" class="svg octicon-diff-modified" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M2.75 2.5h10.5a.25.25 0 0 1 .25.25v10.5a.25.25 0 0 1-.25.25H2.75a.25.25 0 0 1-.25-.25V2.75a.25.25 0 0 1 .25-.25zM13.25 1H2.75A1.75 1.75 0 0 0 1 2.75v10.5c0 .966.784 1.75 1.75 1.75h10.5A1.75 1.75 0 0 0 15 13.25V2.75A1.75 1.75 0 0 0 13.25 1zM8 10a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"/></svg>',s='<svg viewBox="0 0 16 16" class="svg octicon-diff-removed" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M2.75 2.5h10.5a.25.25 0 0 1 .25.25v10.5a.25.25 0 0 1-.25.25H2.75a.25.25 0 0 1-.25-.25V2.75a.25.25 0 0 1 .25-.25zM13.25 1H2.75A1.75 1.75 0 0 0 1 2.75v10.5c0 .966.784 1.75 1.75 1.75h10.5A1.75 1.75 0 0 0 15 13.25V2.75A1.75 1.75 0 0 0 13.25 1zm-2 7.75a.75.75 0 0 0 0-1.5h-6.5a.75.75 0 0 0 0 1.5h6.5z"/></svg>',ce='<svg viewBox="0 0 16 16" class="svg octicon-diff-renamed" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M2.75 2.5h10.5a.25.25 0 0 1 .25.25v10.5a.25.25 0 0 1-.25.25H2.75a.25.25 0 0 1-.25-.25V2.75a.25.25 0 0 1 .25-.25zM13.25 1H2.75A1.75 1.75 0 0 0 1 2.75v10.5c0 .966.784 1.75 1.75 1.75h10.5A1.75 1.75 0 0 0 15 13.25V2.75A1.75 1.75 0 0 0 13.25 1zm-1.47 7.53a.75.75 0 0 0 0-1.06L8.53 4.22a.75.75 0 0 0-1.06 1.06l1.97 1.97H4.75a.75.75 0 0 0 0 1.5h4.69l-1.97 1.97a.75.75 0 1 0 1.06 1.06l3.25-3.25z"/></svg>',De='<svg viewBox="0 0 16 16" class="svg octicon-file" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M3.75 1.5a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5H3.75zm6.75.062V4.25c0 .138.112.25.25.25h2.688a.252.252 0 0 0-.011-.013l-2.914-2.914a.272.272 0 0 0-.013-.011zM2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25V1.75z"/></svg>',ke='<svg viewBox="0 0 16 16" class="svg octicon-file-directory-fill" width="16" height="16" aria-hidden="true"><path d="M1.75 1A1.75 1.75 0 0 0 0 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0 0 16 13.25v-8.5A1.75 1.75 0 0 0 14.25 3H7.5a.25.25 0 0 1-.2-.1l-.9-1.2C6.07 1.26 5.55 1 5 1H1.75z"/></svg>',le='<svg viewBox="0 0 16 16" class="svg octicon-git-merge" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M5 3.254V3.25v.005a.75.75 0 1 1 0-.005v.004zm.45 1.9a2.25 2.25 0 1 0-1.95.218v5.256a2.25 2.25 0 1 0 1.5 0V7.123A5.735 5.735 0 0 0 9.25 9h1.378a2.251 2.251 0 1 0 0-1.5H9.25a4.25 4.25 0 0 1-3.8-2.346zM12.75 9a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5zm-8.5 4.5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5z"/></svg>',pe='<svg viewBox="0 0 16 16" class="svg octicon-git-pull-request" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M7.177 3.073 9.573.677A.25.25 0 0 1 10 .854v4.792a.25.25 0 0 1-.427.177L7.177 3.427a.25.25 0 0 1 0-.354zM3.75 2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5zm-2.25.75a2.25 2.25 0 1 1 3 2.122v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.25 2.25 0 0 1 1.5 3.25zM11 2.5h-1V4h1a1 1 0 0 1 1 1v5.628a2.251 2.251 0 1 0 1.5 0V5A2.5 2.5 0 0 0 11 2.5zm1 10.25a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0zM3.75 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5z"/></svg>',We='<svg viewBox="0 0 16 16" class="svg octicon-issue-closed" width="16" height="16" aria-hidden="true"><path d="M11.28 6.78a.75.75 0 0 0-1.06-1.06L7.25 8.69 5.78 7.22a.75.75 0 0 0-1.06 1.06l2 2a.75.75 0 0 0 1.06 0l3.5-3.5z"/><path fill-rule="evenodd" d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-1.5 0a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0z"/></svg>',I='<svg viewBox="0 0 16 16" class="svg octicon-issue-opened" width="16" height="16" aria-hidden="true"><path d="M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z"/><path fill-rule="evenodd" d="M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zM1.5 8a6.5 6.5 0 1 1 13 0 6.5 6.5 0 0 1-13 0z"/></svg>',F='<svg viewBox="0 0 16 16" class="svg octicon-kebab-horizontal" width="16" height="16" aria-hidden="true"><path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z"/></svg>',M='<svg viewBox="0 0 16 16" class="svg octicon-link" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 0 0 1.06 1.06l1.25-1.25a2 2 0 1 1 2.83 2.83l-2.5 2.5a2 2 0 0 1-2.83 0 .75.75 0 0 0-1.06 1.06 3.5 3.5 0 0 0 4.95 0l2.5-2.5a3.5 3.5 0 0 0-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 0 1 0-2.83l2.5-2.5a2 2 0 0 1 2.83 0 .75.75 0 0 0 1.06-1.06 3.5 3.5 0 0 0-4.95 0l-2.5 2.5a3.5 3.5 0 0 0 4.95 4.95l1.25-1.25a.75.75 0 0 0-1.06-1.06l-1.25 1.25a2 2 0 0 1-2.83 0z"/></svg>',Z='<svg viewBox="0 0 16 16" class="svg octicon-lock" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M4 4v2h-.25A1.75 1.75 0 0 0 2 7.75v5.5c0 .966.784 1.75 1.75 1.75h8.5A1.75 1.75 0 0 0 14 13.25v-5.5A1.75 1.75 0 0 0 12.25 6H12V4a4 4 0 1 0-8 0zm6.5 2V4a2.5 2.5 0 0 0-5 0v2h5zM12 7.5h.25a.25.25 0 0 1 .25.25v5.5a.25.25 0 0 1-.25.25h-8.5a.25.25 0 0 1-.25-.25v-5.5a.25.25 0 0 1 .25-.25H12z"/></svg>',Pe='<svg viewBox="0 0 16 16" class="svg octicon-milestone" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M7.75 0a.75.75 0 0 1 .75.75V3h3.634c.414 0 .814.147 1.13.414l2.07 1.75a1.75 1.75 0 0 1 0 2.672l-2.07 1.75a1.75 1.75 0 0 1-1.13.414H8.5v5.25a.75.75 0 1 1-1.5 0V10H2.75A1.75 1.75 0 0 1 1 8.25v-3.5C1 3.784 1.784 3 2.75 3H7V.75A.75.75 0 0 1 7.75 0zm0 8.5h4.384a.25.25 0 0 0 .161-.06l2.07-1.75a.25.25 0 0 0 0-.38l-2.07-1.75a.25.25 0 0 0-.161-.06H2.75a.25.25 0 0 0-.25.25v3.5c0 .138.112.25.25.25h5z"/></svg>',Ke='<svg viewBox="0 0 16 16" class="svg octicon-mirror" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M8.75 1.75a.75.75 0 0 0-1.5 0v.5a.75.75 0 0 0 1.5 0v-.5zM8 4a.75.75 0 0 1 .75.75v.5a.75.75 0 0 1-1.5 0v-.5A.75.75 0 0 1 8 4zm.75 3.75a.75.75 0 0 0-1.5 0v.5a.75.75 0 0 0 1.5 0v-.5zM8 10a.75.75 0 0 1 .75.75v.5a.75.75 0 0 1-1.5 0v-.5A.75.75 0 0 1 8 10zm0 3a.75.75 0 0 1 .75.75v.5a.75.75 0 0 1-1.5 0v-.5A.75.75 0 0 1 8 13zm7.547-9.939A.75.75 0 0 1 16 3.75v8.5a.75.75 0 0 1-1.265.545l-4.5-4.25a.75.75 0 0 1 0-1.09l4.5-4.25a.75.75 0 0 1 .812-.144zM11.842 8l2.658 2.51V5.49L11.842 8zM0 12.25a.75.75 0 0 0 1.265.545l4.5-4.25a.75.75 0 0 0 0-1.09l-4.5-4.25A.75.75 0 0 0 0 3.75v8.5zm1.5-6.76L4.158 8 1.5 10.51V5.49z"/></svg>',ot='<svg viewBox="0 0 16 16" class="svg octicon-project" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M1.75 0A1.75 1.75 0 0 0 0 1.75v12.5C0 15.216.784 16 1.75 16h12.5A1.75 1.75 0 0 0 16 14.25V1.75A1.75 1.75 0 0 0 14.25 0H1.75zM1.5 1.75a.25.25 0 0 1 .25-.25h12.5a.25.25 0 0 1 .25.25v12.5a.25.25 0 0 1-.25.25H1.75a.25.25 0 0 1-.25-.25V1.75zM11.75 3a.75.75 0 0 0-.75.75v7.5a.75.75 0 0 0 1.5 0v-7.5a.75.75 0 0 0-.75-.75zm-8.25.75a.75.75 0 0 1 1.5 0v5.5a.75.75 0 0 1-1.5 0v-5.5zM8 3a.75.75 0 0 0-.75.75v3.5a.75.75 0 0 0 1.5 0v-3.5A.75.75 0 0 0 8 3z"/></svg>',ne='<svg viewBox="0 0 16 16" class="svg octicon-repo" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M2 2.5A2.5 2.5 0 0 1 4.5 0h8.75a.75.75 0 0 1 .75.75v12.5a.75.75 0 0 1-.75.75h-2.5a.75.75 0 1 1 0-1.5h1.75v-2h-8a1 1 0 0 0-.714 1.7.75.75 0 0 1-1.072 1.05A2.495 2.495 0 0 1 2 11.5v-9zm10.5-1V9h-8c-.356 0-.694.074-1 .208V2.5a1 1 0 0 1 1-1h8zM5 12.25v3.25a.25.25 0 0 0 .4.2l1.45-1.087a.25.25 0 0 1 .3 0L8.6 15.7a.25.25 0 0 0 .4-.2v-3.25a.25.25 0 0 0-.25-.25h-3.5a.25.25 0 0 0-.25.25z"/></svg>',ae='<svg viewBox="0 0 16 16" class="svg octicon-repo-forked" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M5 3.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0zm0 2.122a2.25 2.25 0 1 0-1.5 0v.878A2.25 2.25 0 0 0 5.75 8.5h1.5v2.128a2.251 2.251 0 1 0 1.5 0V8.5h1.5a2.25 2.25 0 0 0 2.25-2.25v-.878a2.25 2.25 0 1 0-1.5 0v.878a.75.75 0 0 1-.75.75h-4.5A.75.75 0 0 1 5 6.25v-.878zm3.75 7.378a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0zm3-8.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5z"/></svg>',Ve='<svg viewBox="0 0 16 16" class="svg octicon-repo-template" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M6 .75A.75.75 0 0 1 6.75 0h2.5a.75.75 0 0 1 0 1.5h-2.5A.75.75 0 0 1 6 .75zm5 0a.75.75 0 0 1 .75-.75h1.5a.75.75 0 0 1 .75.75v1.5a.75.75 0 0 1-1.5 0V1.5h-.75A.75.75 0 0 1 11 .75zM4.992.662a.75.75 0 0 1-.636.848c-.436.063-.783.41-.846.846a.75.75 0 0 1-1.485-.212A2.501 2.501 0 0 1 4.144.025a.75.75 0 0 1 .848.637zM2.75 4a.75.75 0 0 1 .75.75v1.5a.75.75 0 0 1-1.5 0v-1.5A.75.75 0 0 1 2.75 4zm10.5 0a.75.75 0 0 1 .75.75v1.5a.75.75 0 0 1-1.5 0v-1.5a.75.75 0 0 1 .75-.75zM2.75 8a.75.75 0 0 1 .75.75v.268A1.72 1.72 0 0 1 3.75 9h.5a.75.75 0 0 1 0 1.5h-.5a.25.25 0 0 0-.25.25v.75c0 .28.114.532.3.714a.75.75 0 0 1-1.05 1.072A2.495 2.495 0 0 1 2 11.5V8.75A.75.75 0 0 1 2.75 8zm10.5 0a.75.75 0 0 1 .75.75v4.5a.75.75 0 0 1-.75.75h-2.5a.75.75 0 0 1 0-1.5h1.75v-2h-.75a.75.75 0 0 1 0-1.5h.75v-.25a.75.75 0 0 1 .75-.75zM6 9.75A.75.75 0 0 1 6.75 9h2.5a.75.75 0 0 1 0 1.5h-2.5A.75.75 0 0 1 6 9.75zm-1 2.5v3.25a.25.25 0 0 0 .4.2l1.45-1.087a.25.25 0 0 1 .3 0L8.6 15.7a.25.25 0 0 0 .4-.2v-3.25a.25.25 0 0 0-.25-.25h-3.5a.25.25 0 0 0-.25.25z"/></svg>',$='<svg viewBox="0 0 16 16" class="svg octicon-sidebar-collapse" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M6.823 7.823 4.427 5.427A.25.25 0 0 0 4 5.604v4.792c0 .223.27.335.427.177l2.396-2.396a.25.25 0 0 0 0-.354z"/><path fill-rule="evenodd" d="M1.75 0A1.75 1.75 0 0 0 0 1.75v12.5C0 15.216.784 16 1.75 16h12.5A1.75 1.75 0 0 0 16 14.25V1.75A1.75 1.75 0 0 0 14.25 0H1.75zM1.5 1.75a.25.25 0 0 1 .25-.25H9.5v13H1.75a.25.25 0 0 1-.25-.25V1.75zM11 14.5v-13h3.25a.25.25 0 0 1 .25.25v12.5a.25.25 0 0 1-.25.25H11z"/></svg>',Ee='<svg viewBox="0 0 16 16" class="svg octicon-sidebar-expand" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="m4.177 7.823 2.396-2.396A.25.25 0 0 1 7 5.604v4.792a.25.25 0 0 1-.427.177L4.177 8.177a.25.25 0 0 1 0-.354z"/><path fill-rule="evenodd" d="M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0 1 14.25 16H1.75A1.75 1.75 0 0 1 0 14.25V1.75zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25H9.5v-13H1.75zm12.5 13H11v-13h3.25a.25.25 0 0 1 .25.25v12.5a.25.25 0 0 1-.25.25z"/></svg>',tt='<svg viewBox="0 0 16 16" class="svg octicon-triangle-down" width="16" height="16" aria-hidden="true"><path d="m4.427 7.427 3.396 3.396a.25.25 0 0 0 .354 0l3.396-3.396A.25.25 0 0 0 11.396 7H4.604a.25.25 0 0 0-.177.427z"/></svg>',St='<svg viewBox="0 0 16 16" class="svg octicon-x" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.75.75 0 1 1 1.06 1.06L9.06 8l3.22 3.22a.75.75 0 1 1-1.06 1.06L8 9.06l-3.22 3.22a.75.75 0 0 1-1.06-1.06L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06z"/></svg>';const pt={"octicon-chevron-down":ge,"octicon-chevron-right":de,"octicon-clock":be,"octicon-copy":we,"octicon-diff-added":Te,"octicon-diff-modified":J,"octicon-diff-removed":s,"octicon-diff-renamed":ce,"octicon-file":De,"octicon-file-directory-fill":ke,"octicon-git-merge":le,"octicon-git-pull-request":pe,"octicon-issue-closed":We,"octicon-issue-opened":I,"octicon-kebab-horizontal":F,"octicon-link":M,"octicon-lock":Z,"octicon-milestone":Pe,"octicon-mirror":Ke,"octicon-project":ot,"octicon-repo":ne,"octicon-repo-forked":ae,"octicon-repo-template":Ve,"octicon-sidebar-collapse":$,"octicon-sidebar-expand":Ee,"octicon-triangle-down":tt,"octicon-x":St},Ot=new DOMParser,ui=new XMLSerializer;function Qt(e,t=16,i=""){if(!(e in pt))return"";if(t===16&&!i)return pt[e];const p=Ot.parseFromString(pt[e],"image/svg+xml").firstChild;return t!==16&&p.setAttribute("width",String(t)),t!==16&&p.setAttribute("height",String(t)),i&&p.classList.add(...i.split(/\s+/)),ui.serializeToString(p)}const Ui={name:"SvgIcon",props:{name:{type:String,required:!0},size:{type:Number,default:16},className:{type:String,default:""}},computed:{svg(){return Qt(this.name,this.size,this.className)}},template:'<span v-html="svg" />'};var Ki=Object.defineProperty,Gi=Object.getOwnPropertySymbols,pn=Object.prototype.hasOwnProperty,zi=Object.prototype.propertyIsEnumerable,Ft=(e,t,i)=>t in e?Ki(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,bn=(e,t)=>{for(var i in t||(t={}))pn.call(t,i)&&Ft(e,i,t[i]);if(Gi)for(var i of Gi(t))zi.call(t,i)&&Ft(e,i,t[i]);return e};const h=["${","}"];let E=!1;function ee(){E||(E=!0)}let He=!1;function Ue(e){if(!He){He=!0;for(const[t,i]of Object.entries(pt)){const u=i.replace(/height="[0-9]+"/,'v-bind:height="size"').replace(/width="[0-9]+"/,'v-bind:width="size"');e.component(t,{props:{size:{type:String,default:"16"}},template:u})}}}function at(e,t={}){return typeof e=="string"&&(e=document.querySelector(e)),e?(0,D.createApp)(bn({delimiters:h},t)).mount(e):null}var K=gi("./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js"),Ct=gi("./node_modules/@vue/shared/dist/shared.esm-bundler.js");const Hi={class:"activity-bar-graph",ref:"style",style:{width:"0",height:"0"}},Fi={class:"activity-bar-graph-alt",ref:"altStyle",style:{width:"0",height:"0"}},Cn=["href"],An=["x","y","href"],Pn=["x","y","href"],Ei={key:0};function Kn(e,t,i,u,p,_){const j=(0,K.up)("vue-bar-graph");return(0,K.wg)(),(0,K.iD)("div",null,[(0,K._)("div",Hi,null,512),(0,K._)("div",Fi,null,512),(0,K.Wm)(j,{points:e.graphPoints,"show-x-axis":!0,"show-y-axis":!1,"show-values":!0,width:e.graphWidth,"bar-color":e.colors.barColor,"text-color":e.colors.textColor,"text-alt-color":e.colors.textAltColor,height:100,"label-height":20},{label:(0,K.w5)(O=>[((0,K.wg)(!0),(0,K.iD)(K.HY,null,(0,K.Ko)(e.graphAuthors,(S,Q)=>((0,K.wg)(),(0,K.iD)("g",{key:S.position},[O.bar.index===Q&&S.home_link?((0,K.wg)(),(0,K.iD)("a",{key:0,href:S.home_link},[(0,K._)("image",{x:`${O.bar.midPoint-10}px`,y:`${O.bar.yLabel}px`,height:"20",width:"20",href:S.avatar_link},null,8,An)],8,Cn)):O.bar.index===Q?((0,K.wg)(),(0,K.iD)("image",{key:1,x:`${O.bar.midPoint-10}px`,y:`${O.bar.yLabel}px`,height:"20",width:"20",href:S.avatar_link},null,8,Pn)):(0,K.kq)("v-if",!0)]))),128))]),title:(0,K.w5)(O=>[((0,K.wg)(!0),(0,K.iD)(K.HY,null,(0,K.Ko)(e.graphAuthors,(S,Q)=>((0,K.wg)(),(0,K.iD)("tspan",{key:S.position},[O.bar.index===Q?((0,K.wg)(),(0,K.iD)("tspan",Ei,(0,Ct.toDisplayString)(S.name),1)):(0,K.kq)("v-if",!0)]))),128))]),_:1},8,["points","width","bar-color","text-color","text-alt-color"])])}var Yn=gi("./node_modules/vue-bar-graph/dist/vue-bar-graph.common.js"),ar=gi.n(Yn),Rn=Object.defineProperty,qi=Object.getOwnPropertySymbols,tn=Object.prototype.hasOwnProperty,Xi=Object.prototype.propertyIsEnumerable,un=(e,t,i)=>t in e?Rn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,er=(e,t)=>{for(var i in t||(t={}))tn.call(t,i)&&un(e,i,t[i]);if(qi)for(var i of qi(t))Xi.call(t,i)&&un(e,i,t[i]);return e};const sa={components:{VueBarGraph:ar()},data:()=>({colors:{barColor:"green",textColor:"black",textAltColor:"white"},activityTopAuthors:window.config.pageData.repoActivityTopAuthors||[]}),computed:{graphPoints(){return this.activityTopAuthors.map(e=>({value:e.commits,label:e.name}))},graphAuthors(){return this.activityTopAuthors.map((e,t)=>er({position:t+1},e))},graphWidth(){return this.activityTopAuthors.length*40}},mounted(){const e=window.getComputedStyle(this.$refs.style),t=window.getComputedStyle(this.$refs.altStyle);this.colors.barColor=e.backgroundColor,this.colors.textColor=e.color,this.colors.textAltColor=t.color}};function Qn(){at("#repo-activity-top-authors-chart",sa)}var mr=sa,fr=gi("./node_modules/vue-loader/dist/exportHelper.js");const _a=(0,fr.Z)(mr,[["render",Kn]]);var mt=null;function Vt(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ai(e){var t=Vt(e).Element;return e instanceof t||e instanceof Element}function Di(e){var t=Vt(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function hn(e){if(typeof ShadowRoot=="undefined")return!1;var t=Vt(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var En=Math.max,In=Math.min,Hn=Math.round;function tr(){var e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Qi(){return!/^((?!chrome|android).)*safari/i.test(tr())}function Un(e,t,i){t===void 0&&(t=!1),i===void 0&&(i=!1);var u=e.getBoundingClientRect(),p=1,_=1;t&&Di(e)&&(p=e.offsetWidth>0&&Hn(u.width)/e.offsetWidth||1,_=e.offsetHeight>0&&Hn(u.height)/e.offsetHeight||1);var j=ai(e)?Vt(e):window,O=j.visualViewport,S=!Qi()&&i,Q=(u.left+(S&&O?O.offsetLeft:0))/p,xe=(u.top+(S&&O?O.offsetTop:0))/_,Fe=u.width/p,ct=u.height/_;return{width:Fe,height:ct,top:xe,right:Q+Fe,bottom:xe+ct,left:Q,x:Q,y:xe}}function wr(e){var t=Vt(e),i=t.pageXOffset,u=t.pageYOffset;return{scrollLeft:i,scrollTop:u}}function hr(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function gr(e){return e===Vt(e)||!Di(e)?wr(e):hr(e)}function lr(e){return e?(e.nodeName||"").toLowerCase():null}function ir(e){return((ai(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ma(e){return Un(ir(e)).left+wr(e).scrollLeft}function jr(e){return Vt(e).getComputedStyle(e)}function la(e){var t=jr(e),i=t.overflow,u=t.overflowX,p=t.overflowY;return/auto|scroll|overlay|hidden/.test(i+p+u)}function to(e){var t=e.getBoundingClientRect(),i=Hn(t.width)/e.offsetWidth||1,u=Hn(t.height)/e.offsetHeight||1;return i!==1||u!==1}function io(e,t,i){i===void 0&&(i=!1);var u=Di(t),p=Di(t)&&to(t),_=ir(t),j=Un(e,p,i),O={scrollLeft:0,scrollTop:0},S={x:0,y:0};return(u||!u&&!i)&&((lr(t)!=="body"||la(_))&&(O=gr(t)),Di(t)?(S=Un(t,!0),S.x+=t.clientLeft,S.y+=t.clientTop):_&&(S.x=Ma(_))),{x:j.left+O.scrollLeft-S.x,y:j.top+O.scrollTop-S.y,width:j.width,height:j.height}}function Ca(e){var t=Un(e),i=e.offsetWidth,u=e.offsetHeight;return Math.abs(t.width-i)<=1&&(i=t.width),Math.abs(t.height-u)<=1&&(u=t.height),{x:e.offsetLeft,y:e.offsetTop,width:i,height:u}}function Fr(e){return lr(e)==="html"?e:e.assignedSlot||e.parentNode||(hn(e)?e.host:null)||ir(e)}function pa(e){return["html","body","#document"].indexOf(lr(e))>=0?e.ownerDocument.body:Di(e)&&la(e)?e:pa(Fr(e))}function ie(e,t){var i;t===void 0&&(t=[]);var u=pa(e),p=u===((i=e.ownerDocument)==null?void 0:i.body),_=Vt(u),j=p?[_].concat(_.visualViewport||[],la(u)?u:[]):u,O=t.concat(j);return p?O:O.concat(ie(Fr(j)))}function ye(e){return["table","td","th"].indexOf(lr(e))>=0}function Be(e){return!Di(e)||jr(e).position==="fixed"?null:e.offsetParent}function lt(e){var t=/firefox/i.test(tr()),i=/Trident/i.test(tr());if(i&&Di(e)){var u=jr(e);if(u.position==="fixed")return null}var p=Fr(e);for(hn(p)&&(p=p.host);Di(p)&&["html","body"].indexOf(lr(p))<0;){var _=jr(p);if(_.transform!=="none"||_.perspective!=="none"||_.contain==="paint"||["transform","perspective"].indexOf(_.willChange)!==-1||t&&_.willChange==="filter"||t&&_.filter&&_.filter!=="none")return p;p=p.parentNode}return null}function Lt(e){for(var t=Vt(e),i=Be(e);i&&ye(i)&&jr(i).position==="static";)i=Be(i);return i&&(lr(i)==="html"||lr(i)==="body"&&jr(i).position==="static")?t:i||lt(e)||t}var Jt="top",yi="bottom",Ni="right",Oi="left",Ri="auto",Li=[Jt,yi,Ni,Oi],On="start",or="end",Ta="clippingParents",kr="viewport",ca="popper",Se="reference",Je=Li.reduce(function(e,t){return e.concat([t+"-"+On,t+"-"+or])},[]),bt=[].concat(Li,[Ri]).reduce(function(e,t){return e.concat([t,t+"-"+On,t+"-"+or])},[]),Nt="beforeRead",Dt="read",ki="afterRead",rn="beforeMain",Ai="main",Qr="afterMain",Cr="beforeWrite",Ar="write",Vr="afterWrite",$i=[Nt,Dt,ki,rn,Ai,Qr,Cr,Ar,Vr];function cr(e){var t=new Map,i=new Set,u=[];e.forEach(function(_){t.set(_.name,_)});function p(_){i.add(_.name);var j=[].concat(_.requires||[],_.requiresIfExists||[]);j.forEach(function(O){if(!i.has(O)){var S=t.get(O);S&&p(S)}}),u.push(_)}return e.forEach(function(_){i.has(_.name)||p(_)}),u}function ua(e){var t=cr(e);return $i.reduce(function(i,u){return i.concat(t.filter(function(p){return p.phase===u}))},[])}function go(e){var t;return function(){return t||(t=new Promise(function(i){Promise.resolve().then(function(){t=void 0,i(e())})})),t}}function wa(e){var t=e.reduce(function(i,u){var p=i[u.name];return i[u.name]=p?Object.assign({},p,u,{options:Object.assign({},p.options,u.options),data:Object.assign({},p.data,u.data)}):u,i},{});return Object.keys(t).map(function(i){return t[i]})}var Co="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",To="Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.",No={placement:"bottom",modifiers:[],strategy:"absolute"};function Ho(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return!t.some(function(u){return!(u&&typeof u.getBoundingClientRect=="function")})}function Ea(e){e===void 0&&(e={});var t=e,i=t.defaultModifiers,u=i===void 0?[]:i,p=t.defaultOptions,_=p===void 0?No:p;return function(O,S,Q){Q===void 0&&(Q=_);var xe={placement:"bottom",orderedModifiers:[],options:Object.assign({},No,_),modifiersData:{},elements:{reference:O,popper:S},attributes:{},styles:{}},Fe=[],ct=!1,jt={state:xe,setOptions:function(It){var pi=typeof It=="function"?It(xe.options):It;$t(),xe.options=Object.assign({},_,xe.options,pi),xe.scrollParents={reference:ai(O)?ie(O):O.contextElement?ie(O.contextElement):[],popper:ie(S)};var Wi=ua(wa([].concat(u,xe.options.modifiers)));if(xe.orderedModifiers=Wi.filter(function(Sn){return Sn.enabled}),!1)var te,zt,wt,Vi,nn,kn,Nn;return Tt(),jt.update()},forceUpdate:function(){if(!ct){var It=xe.elements,pi=It.reference,Wi=It.popper;if(!!Ho(pi,Wi)){xe.rects={reference:io(pi,Lt(Wi),xe.options.strategy==="fixed"),popper:Ca(Wi)},xe.reset=!1,xe.placement=xe.options.placement,xe.orderedModifiers.forEach(function(Sn){return xe.modifiersData[Sn.name]=Object.assign({},Sn.data)});for(var te=0,zt=0;zt<xe.orderedModifiers.length;zt++){if(xe.reset===!0){xe.reset=!1,zt=-1;continue}var wt=xe.orderedModifiers[zt],Vi=wt.fn,nn=wt.options,kn=nn===void 0?{}:nn,Nn=wt.name;typeof Vi=="function"&&(xe=Vi({state:xe,options:kn,name:Nn,instance:jt})||xe)}}}},update:go(function(){return new Promise(function(Yt){jt.forceUpdate(),Yt(xe)})}),destroy:function(){$t(),ct=!0}};if(!Ho(O,S))return jt;jt.setOptions(Q).then(function(Yt){!ct&&Q.onFirstUpdate&&Q.onFirstUpdate(Yt)});function Tt(){xe.orderedModifiers.forEach(function(Yt){var It=Yt.name,pi=Yt.options,Wi=pi===void 0?{}:pi,te=Yt.effect;if(typeof te=="function"){var zt=te({state:xe,name:It,instance:jt,options:Wi}),wt=function(){};Fe.push(zt||wt)}})}function $t(){Fe.forEach(function(Yt){return Yt()}),Fe=[]}return jt}}var xs=null,vo={passive:!0};function ds(e){var t=e.state,i=e.instance,u=e.options,p=u.scroll,_=p===void 0?!0:p,j=u.resize,O=j===void 0?!0:j,S=Vt(t.elements.popper),Q=[].concat(t.scrollParents.reference,t.scrollParents.popper);return _&&Q.forEach(function(xe){xe.addEventListener("scroll",i.update,vo)}),O&&S.addEventListener("resize",i.update,vo),function(){_&&Q.forEach(function(xe){xe.removeEventListener("scroll",i.update,vo)}),O&&S.removeEventListener("resize",i.update,vo)}}var ma={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:ds,data:{}};function Oa(e){return e.split("-")[0]}function Lo(e){return e.split("-")[1]}function no(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function $o(e){var t=e.reference,i=e.element,u=e.placement,p=u?Oa(u):null,_=u?Lo(u):null,j=t.x+t.width/2-i.width/2,O=t.y+t.height/2-i.height/2,S;switch(p){case Jt:S={x:j,y:t.y-i.height};break;case yi:S={x:j,y:t.y+t.height};break;case Ni:S={x:t.x+t.width,y:O};break;case Oi:S={x:t.x-i.width,y:O};break;default:S={x:t.x,y:t.y}}var Q=p?no(p):null;if(Q!=null){var xe=Q==="y"?"height":"width";switch(_){case On:S[Q]=S[Q]-(t[xe]/2-i[xe]/2);break;case or:S[Q]=S[Q]+(t[xe]/2-i[xe]/2);break;default:}}return S}function zo(e){var t=e.state,i=e.name;t.modifiersData[i]=$o({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var ka={name:"popperOffsets",enabled:!0,phase:"read",fn:zo,data:{}},yo={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ia(e){var t=e.x,i=e.y,u=window,p=u.devicePixelRatio||1;return{x:Hn(t*p)/p||0,y:Hn(i*p)/p||0}}function Va(e){var t,i=e.popper,u=e.popperRect,p=e.placement,_=e.variation,j=e.offsets,O=e.position,S=e.gpuAcceleration,Q=e.adaptive,xe=e.roundOffsets,Fe=e.isFixed,ct=j.x,jt=ct===void 0?0:ct,Tt=j.y,$t=Tt===void 0?0:Tt,Yt=typeof xe=="function"?xe({x:jt,y:$t}):{x:jt,y:$t};jt=Yt.x,$t=Yt.y;var It=j.hasOwnProperty("x"),pi=j.hasOwnProperty("y"),Wi=Oi,te=Jt,zt=window;if(Q){var wt=Lt(i),Vi="clientHeight",nn="clientWidth";if(wt===Vt(i)&&(wt=ir(i),jr(wt).position!=="static"&&O==="absolute"&&(Vi="scrollHeight",nn="scrollWidth")),wt=wt,p===Jt||(p===Oi||p===Ni)&&_===or){te=yi;var kn=Fe&&wt===zt&&zt.visualViewport?zt.visualViewport.height:wt[Vi];$t-=kn-u.height,$t*=S?1:-1}if(p===Oi||(p===Jt||p===yi)&&_===or){Wi=Ni;var Nn=Fe&&wt===zt&&zt.visualViewport?zt.visualViewport.width:wt[nn];jt-=Nn-u.width,jt*=S?1:-1}}var Sn=Object.assign({position:O},Q&&yo),wn=xe===!0?Ia({x:jt,y:$t}):{x:jt,y:$t};if(jt=wn.x,$t=wn.y,S){var Vn;return Object.assign({},Sn,(Vn={},Vn[te]=pi?"0":"",Vn[Wi]=It?"0":"",Vn.transform=(zt.devicePixelRatio||1)<=1?"translate("+jt+"px, "+$t+"px)":"translate3d("+jt+"px, "+$t+"px, 0)",Vn))}return Object.assign({},Sn,(t={},t[te]=pi?$t+"px":"",t[Wi]=It?jt+"px":"",t.transform="",t))}function Gn(e){var t=e.state,i=e.options,u=i.gpuAcceleration,p=u===void 0?!0:u,_=i.adaptive,j=_===void 0?!0:_,O=i.roundOffsets,S=O===void 0?!0:O;if(!1)var Q;var xe={placement:Oa(t.placement),variation:Lo(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:p,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Va(Object.assign({},xe,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:j,roundOffsets:S})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Va(Object.assign({},xe,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:S})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var As={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Gn,data:{}};function Wo(e){var t=e.state;Object.keys(t.elements).forEach(function(i){var u=t.styles[i]||{},p=t.attributes[i]||{},_=t.elements[i];!Di(_)||!lr(_)||(Object.assign(_.style,u),Object.keys(p).forEach(function(j){var O=p[j];O===!1?_.removeAttribute(j):_.setAttribute(j,O===!0?"":O)}))})}function Ss(e){var t=e.state,i={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,i.popper),t.styles=i,t.elements.arrow&&Object.assign(t.elements.arrow.style,i.arrow),function(){Object.keys(t.elements).forEach(function(u){var p=t.elements[u],_=t.attributes[u]||{},j=Object.keys(t.styles.hasOwnProperty(u)?t.styles[u]:i[u]),O=j.reduce(function(S,Q){return S[Q]="",S},{});!Di(p)||!lr(p)||(Object.assign(p.style,O),Object.keys(_).forEach(function(S){p.removeAttribute(S)}))})}}var ro={name:"applyStyles",enabled:!0,phase:"write",fn:Wo,effect:Ss,requires:["computeStyles"]};function Yr(e,t,i){var u=Oa(e),p=[Oi,Jt].indexOf(u)>=0?-1:1,_=typeof i=="function"?i(Object.assign({},t,{placement:e})):i,j=_[0],O=_[1];return j=j||0,O=(O||0)*p,[Oi,Ni].indexOf(u)>=0?{x:O,y:j}:{x:j,y:O}}function ps(e){var t=e.state,i=e.options,u=e.name,p=i.offset,_=p===void 0?[0,0]:p,j=bt.reduce(function(xe,Fe){return xe[Fe]=Yr(Fe,t.rects,_),xe},{}),O=j[t.placement],S=O.x,Q=O.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=S,t.modifiersData.popperOffsets.y+=Q),t.modifiersData[u]=j}var ss={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:ps},Cs={left:"right",right:"left",bottom:"top",top:"bottom"};function qo(e){return e.replace(/left|right|bottom|top/g,function(t){return Cs[t]})}var r={start:"end",end:"start"};function f(e){return e.replace(/start|end/g,function(t){return r[t]})}function w(e,t){var i=Vt(e),u=ir(e),p=i.visualViewport,_=u.clientWidth,j=u.clientHeight,O=0,S=0;if(p){_=p.width,j=p.height;var Q=Qi();(Q||!Q&&t==="fixed")&&(O=p.offsetLeft,S=p.offsetTop)}return{width:_,height:j,x:O+Ma(e),y:S}}function P(e){var t,i=ir(e),u=wr(e),p=(t=e.ownerDocument)==null?void 0:t.body,_=En(i.scrollWidth,i.clientWidth,p?p.scrollWidth:0,p?p.clientWidth:0),j=En(i.scrollHeight,i.clientHeight,p?p.scrollHeight:0,p?p.clientHeight:0),O=-u.scrollLeft+Ma(e),S=-u.scrollTop;return jr(p||i).direction==="rtl"&&(O+=En(i.clientWidth,p?p.clientWidth:0)-_),{width:_,height:j,x:O,y:S}}function W(e,t){var i=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(i&&hn(i)){var u=t;do{if(u&&e.isSameNode(u))return!0;u=u.parentNode||u.host}while(u)}return!1}function X(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ue(e,t){var i=Un(e,!1,t==="fixed");return i.top=i.top+e.clientTop,i.left=i.left+e.clientLeft,i.bottom=i.top+e.clientHeight,i.right=i.left+e.clientWidth,i.width=e.clientWidth,i.height=e.clientHeight,i.x=i.left,i.y=i.top,i}function qe(e,t,i){return t===kr?X(w(e,i)):ai(t)?ue(t,i):X(P(ir(e)))}function Ne(e){var t=ie(Fr(e)),i=["absolute","fixed"].indexOf(jr(e).position)>=0,u=i&&Di(e)?Lt(e):e;return ai(u)?t.filter(function(p){return ai(p)&&W(p,u)&&lr(p)!=="body"}):[]}function ft(e,t,i,u){var p=t==="clippingParents"?Ne(e):[].concat(t),_=[].concat(p,[i]),j=_[0],O=_.reduce(function(S,Q){var xe=qe(e,Q,u);return S.top=En(xe.top,S.top),S.right=In(xe.right,S.right),S.bottom=In(xe.bottom,S.bottom),S.left=En(xe.left,S.left),S},qe(e,j,u));return O.width=O.right-O.left,O.height=O.bottom-O.top,O.x=O.left,O.y=O.top,O}function xt(){return{top:0,right:0,bottom:0,left:0}}function Gt(e){return Object.assign({},xt(),e)}function ht(e,t){return t.reduce(function(i,u){return i[u]=e,i},{})}function kt(e,t){t===void 0&&(t={});var i=t,u=i.placement,p=u===void 0?e.placement:u,_=i.strategy,j=_===void 0?e.strategy:_,O=i.boundary,S=O===void 0?Ta:O,Q=i.rootBoundary,xe=Q===void 0?kr:Q,Fe=i.elementContext,ct=Fe===void 0?ca:Fe,jt=i.altBoundary,Tt=jt===void 0?!1:jt,$t=i.padding,Yt=$t===void 0?0:$t,It=Gt(typeof Yt!="number"?Yt:ht(Yt,Li)),pi=ct===ca?Se:ca,Wi=e.rects.popper,te=e.elements[Tt?pi:ct],zt=ft(ai(te)?te:te.contextElement||ir(e.elements.popper),S,xe,j),wt=Un(e.elements.reference),Vi=$o({reference:wt,element:Wi,strategy:"absolute",placement:p}),nn=X(Object.assign({},Wi,Vi)),kn=ct===ca?nn:wt,Nn={top:zt.top-kn.top+It.top,bottom:kn.bottom-zt.bottom+It.bottom,left:zt.left-kn.left+It.left,right:kn.right-zt.right+It.right},Sn=e.modifiersData.offset;if(ct===ca&&Sn){var wn=Sn[p];Object.keys(Nn).forEach(function(Vn){var Br=[Ni,yi].indexOf(Vn)>=0?1:-1,Kr=[Jt,yi].indexOf(Vn)>=0?"y":"x";Nn[Vn]+=wn[Kr]*Br})}return Nn}function Si(e,t){t===void 0&&(t={});var i=t,u=i.placement,p=i.boundary,_=i.rootBoundary,j=i.padding,O=i.flipVariations,S=i.allowedAutoPlacements,Q=S===void 0?bt:S,xe=Lo(u),Fe=xe?O?Je:Je.filter(function(Tt){return Lo(Tt)===xe}):Li,ct=Fe.filter(function(Tt){return Q.indexOf(Tt)>=0});ct.length===0&&(ct=Fe);var jt=ct.reduce(function(Tt,$t){return Tt[$t]=kt(e,{placement:$t,boundary:p,rootBoundary:_,padding:j})[Oa($t)],Tt},{});return Object.keys(jt).sort(function(Tt,$t){return jt[Tt]-jt[$t]})}function gn(e){if(Oa(e)===Ri)return[];var t=qo(e);return[f(e),t,f(t)]}function vi(e){var t=e.state,i=e.options,u=e.name;if(!t.modifiersData[u]._skip){for(var p=i.mainAxis,_=p===void 0?!0:p,j=i.altAxis,O=j===void 0?!0:j,S=i.fallbackPlacements,Q=i.padding,xe=i.boundary,Fe=i.rootBoundary,ct=i.altBoundary,jt=i.flipVariations,Tt=jt===void 0?!0:jt,$t=i.allowedAutoPlacements,Yt=t.options.placement,It=Oa(Yt),pi=It===Yt,Wi=S||(pi||!Tt?[qo(Yt)]:gn(Yt)),te=[Yt].concat(Wi).reduce(function(qa,ba){return qa.concat(Oa(ba)===Ri?Si(t,{placement:ba,boundary:xe,rootBoundary:Fe,padding:Q,flipVariations:Tt,allowedAutoPlacements:$t}):ba)},[]),zt=t.rects.reference,wt=t.rects.popper,Vi=new Map,nn=!0,kn=te[0],Nn=0;Nn<te.length;Nn++){var Sn=te[Nn],wn=Oa(Sn),Vn=Lo(Sn)===On,Br=[Jt,yi].indexOf(wn)>=0,Kr=Br?"width":"height",br=kt(t,{placement:Sn,boundary:xe,rootBoundary:Fe,altBoundary:ct,padding:Q}),_r=Br?Vn?Ni:Oi:Vn?yi:Jt;zt[Kr]>wt[Kr]&&(_r=qo(_r));var Ji=qo(_r),aa=[];if(_&&aa.push(br[wn]<=0),O&&aa.push(br[_r]<=0,br[Ji]<=0),aa.every(function(qa){return qa})){kn=Sn,nn=!1;break}Vi.set(Sn,aa)}if(nn)for(var ya=Tt?3:1,Ro=function(ba){var Ka=te.find(function(is){var Ya=Vi.get(is);if(Ya)return Ya.slice(0,ba).every(function(ns){return ns})});if(Ka)return kn=Ka,"break"},Ra=ya;Ra>0;Ra--){var Mo=Ro(Ra);if(Mo==="break")break}t.placement!==kn&&(t.modifiersData[u]._skip=!0,t.placement=kn,t.reset=!0)}}var Pr={name:"flip",enabled:!0,phase:"main",fn:vi,requiresIfExists:["offset"],data:{_skip:!1}};function Or(e){return e==="x"?"y":"x"}function Gr(e,t,i){return En(e,In(t,i))}function nr(e,t,i){var u=Gr(e,t,i);return u>i?i:u}function _n(e){var t=e.state,i=e.options,u=e.name,p=i.mainAxis,_=p===void 0?!0:p,j=i.altAxis,O=j===void 0?!1:j,S=i.boundary,Q=i.rootBoundary,xe=i.altBoundary,Fe=i.padding,ct=i.tether,jt=ct===void 0?!0:ct,Tt=i.tetherOffset,$t=Tt===void 0?0:Tt,Yt=kt(t,{boundary:S,rootBoundary:Q,padding:Fe,altBoundary:xe}),It=Oa(t.placement),pi=Lo(t.placement),Wi=!pi,te=no(It),zt=Or(te),wt=t.modifiersData.popperOffsets,Vi=t.rects.reference,nn=t.rects.popper,kn=typeof $t=="function"?$t(Object.assign({},t.rects,{placement:t.placement})):$t,Nn=typeof kn=="number"?{mainAxis:kn,altAxis:kn}:Object.assign({mainAxis:0,altAxis:0},kn),Sn=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,wn={x:0,y:0};if(!!wt){if(_){var Vn,Br=te==="y"?Jt:Oi,Kr=te==="y"?yi:Ni,br=te==="y"?"height":"width",_r=wt[te],Ji=_r+Yt[Br],aa=_r-Yt[Kr],ya=jt?-nn[br]/2:0,Ro=pi===On?Vi[br]:nn[br],Ra=pi===On?-nn[br]:-Vi[br],Mo=t.elements.arrow,qa=jt&&Mo?Ca(Mo):{width:0,height:0},ba=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:xt(),Ka=ba[Br],is=ba[Kr],Ya=Gr(0,Vi[br],qa[br]),ns=Wi?Vi[br]/2-ya-Ya-Ka-Nn.mainAxis:Ro-Ya-Ka-Nn.mainAxis,mo=Wi?-Vi[br]/2+ya+Ya+is+Nn.mainAxis:Ra+Ya+is+Nn.mainAxis,rs=t.elements.arrow&&Lt(t.elements.arrow),Fs=rs?te==="y"?rs.clientTop||0:rs.clientLeft||0:0,ys=(Vn=Sn==null?void 0:Sn[te])!=null?Vn:0,Ns=_r+ns-ys-Fs,Ls=_r+mo-ys,bs=Gr(jt?In(Ji,Ns):Ji,_r,jt?En(aa,Ls):aa);wt[te]=bs,wn[te]=bs-_r}if(O){var _s,Bs=te==="x"?Jt:Oi,Vs=te==="x"?yi:Ni,Ga=wt[zt],ho=zt==="y"?"height":"width",ws=Ga+Yt[Bs],Io=Ga-Yt[Vs],js=[Jt,Oi].indexOf(It)!==-1,Us=(_s=Sn==null?void 0:Sn[zt])!=null?_s:0,Hs=js?ws:Ga-Vi[ho]-nn[ho]-Us+Nn.altAxis,$s=js?Ga+Vi[ho]+nn[ho]-Us-Nn.altAxis:Io,zs=jt&&js?nr(Hs,Ga,$s):Gr(jt?Hs:ws,Ga,jt?$s:Io);wt[zt]=zs,wn[zt]=zs-Ga}t.modifiersData[u]=wn}}var Dr={name:"preventOverflow",enabled:!0,phase:"main",fn:_n,requiresIfExists:["offset"]},$n=function(t,i){return t=typeof t=="function"?t(Object.assign({},i.rects,{placement:i.placement})):t,Gt(typeof t!="number"?t:ht(t,Li))};function Tr(e){var t,i=e.state,u=e.name,p=e.options,_=i.elements.arrow,j=i.modifiersData.popperOffsets,O=Oa(i.placement),S=no(O),Q=[Oi,Ni].indexOf(O)>=0,xe=Q?"height":"width";if(!(!_||!j)){var Fe=$n(p.padding,i),ct=Ca(_),jt=S==="y"?Jt:Oi,Tt=S==="y"?yi:Ni,$t=i.rects.reference[xe]+i.rects.reference[S]-j[S]-i.rects.popper[xe],Yt=j[S]-i.rects.reference[S],It=Lt(_),pi=It?S==="y"?It.clientHeight||0:It.clientWidth||0:0,Wi=$t/2-Yt/2,te=Fe[jt],zt=pi-ct[xe]-Fe[Tt],wt=pi/2-ct[xe]/2+Wi,Vi=Gr(te,wt,zt),nn=S;i.modifiersData[u]=(t={},t[nn]=Vi,t.centerOffset=Vi-wt,t)}}function Xa(e){var t=e.state,i=e.options,u=i.element,p=u===void 0?"[data-popper-arrow]":u;p!=null&&(typeof p=="string"&&(p=t.elements.popper.querySelector(p),!p)||!W(t.elements.popper,p)||(t.elements.arrow=p))}var Zr={name:"arrow",enabled:!0,phase:"main",fn:Tr,effect:Xa,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function zr(e,t,i){return i===void 0&&(i={x:0,y:0}),{top:e.top-t.height-i.y,right:e.right-t.width+i.x,bottom:e.bottom-t.height+i.y,left:e.left-t.width-i.x}}function Mn(e){return[Jt,Ni,yi,Oi].some(function(t){return e[t]>=0})}function bo(e){var t=e.state,i=e.name,u=t.rects.reference,p=t.rects.popper,_=t.modifiersData.preventOverflow,j=kt(t,{elementContext:"reference"}),O=kt(t,{altBoundary:!0}),S=zr(j,u),Q=zr(O,p,_),xe=Mn(S),Fe=Mn(Q);t.modifiersData[i]={referenceClippingOffsets:S,popperEscapeOffsets:Q,isReferenceHidden:xe,hasPopperEscaped:Fe},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":xe,"data-popper-escaped":Fe})}var ja={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:bo},Ja=[ma,ka,As,ro,ss,Pr,Dr,Zr,ja],fa=Ea({defaultModifiers:Ja}),Ua='<svg width="16" height="6" xmlns="http://www.w3.org/2000/svg"><path d="M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z"></svg>',ms="tippy-box",Ha="tippy-content",Aa="tippy-backdrop",Bn="tippy-arrow",Qa="tippy-svg-arrow",Pa={passive:!0,capture:!0},ao=function(){return document.body};function Ko(e,t){return{}.hasOwnProperty.call(e,t)}function Fa(e,t,i){if(Array.isArray(e)){var u=e[t];return u==null?Array.isArray(i)?i[t]:i:u}return e}function ea(e,t){var i={}.toString.call(e);return i.indexOf("[object")===0&&i.indexOf(t+"]")>-1}function ls(e,t){return typeof e=="function"?e.apply(void 0,t):e}function _o(e,t){if(t===0)return e;var i;return function(u){clearTimeout(i),i=setTimeout(function(){e(u)},t)}}function Na(e,t){var i=Object.assign({},e);return t.forEach(function(u){delete i[u]}),i}function Bo(e){return e.split(/\s+/).filter(Boolean)}function Ur(e){return[].concat(e)}function Yo(e,t){e.indexOf(t)===-1&&e.push(t)}function Eo(e){return e.filter(function(t,i){return e.indexOf(t)===i})}function $a(e){return e.split("-")[0]}function oo(e){return[].slice.call(e)}function Ps(e){return Object.keys(e).reduce(function(t,i){return e[i]!==void 0&&(t[i]=e[i]),t},{})}function ta(){return document.createElement("div")}function Da(e){return["Element","Fragment"].some(function(t){return ea(e,t)})}function vr(e){return ea(e,"NodeList")}function Hr(e){return ea(e,"MouseEvent")}function Oo(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function Go(e){return Da(e)?[e]:vr(e)?oo(e):Array.isArray(e)?e:oo(document.querySelectorAll(e))}function Za(e,t){e.forEach(function(i){i&&(i.style.transitionDuration=t+"ms")})}function Xn(e,t){e.forEach(function(i){i&&i.setAttribute("data-state",t)})}function wo(e){var t,i=Ur(e),u=i[0];return u!=null&&(t=u.ownerDocument)!=null&&t.body?u.ownerDocument:document}function La(e,t){var i=t.clientX,u=t.clientY;return e.every(function(p){var _=p.popperRect,j=p.popperState,O=p.props,S=O.interactiveBorder,Q=$a(j.placement),xe=j.modifiersData.offset;if(!xe)return!0;var Fe=Q==="bottom"?xe.top.y:0,ct=Q==="top"?xe.bottom.y:0,jt=Q==="right"?xe.left.x:0,Tt=Q==="left"?xe.right.x:0,$t=_.top-u+Fe>S,Yt=u-_.bottom-ct>S,It=_.left-i+jt>S,pi=i-_.right-Tt>S;return $t||Yt||It||pi})}function Wr(e,t,i){var u=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(p){e[u](p,i)})}function jo(e,t){for(var i=t;i;){var u;if(e.contains(i))return!0;i=i.getRootNode==null||(u=i.getRootNode())==null?void 0:u.host}return!1}var ha={isTouch:!1},Ts=0;function ko(){ha.isTouch||(ha.isTouch=!0,window.performance&&document.addEventListener("mousemove",cs))}function cs(){var e=performance.now();e-Ts<20&&(ha.isTouch=!1,document.removeEventListener("mousemove",cs)),Ts=e}function xo(){var e=document.activeElement;if(Oo(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function Zn(){document.addEventListener("touchstart",ko,Pa),window.addEventListener("blur",xo)}var za=typeof window!="undefined"&&typeof document!="undefined",Nr=za?!!window.msCrypto:!1;function eo(e){var t=e==="destroy"?"n already-":" ";return[e+"() was called on a"+t+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function Wa(e){var t=/[ \t]{2,}/g,i=/^[ \t]*/gm;return e.replace(t," ").replace(i,"").trim()}function xr(e){return Wa(`
|
|
%ctippy.js
|
|
|
|
%c`+Wa(e)+`
|
|
|
|
%c\u{1F477}\u200D This is a development-only message. It will be removed in production.
|
|
`)}function so(e){return[xr(e),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}var lo;function co(){lo=new Set}function Xo(e,t){if(e&&!lo.has(t)){var i;lo.add(t),(i=console).warn.apply(i,so(t))}}function _e(e,t){if(e&&!lo.has(t)){var i;lo.add(t),(i=console).error.apply(i,so(t))}}function $e(e){var t=!e,i=Object.prototype.toString.call(e)==="[object Object]"&&!e.addEventListener;_e(t,["tippy() was passed","`"+String(e)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),_e(i,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}var it={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Rt={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},nt=Object.assign({appendTo:ao,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},it,Rt),Ut=Object.keys(nt),Zt=function(t){var i=Object.keys(t);i.forEach(function(u){nt[u]=t[u]})};function bi(e){var t=e.plugins||[],i=t.reduce(function(u,p){var _=p.name,j=p.defaultValue;if(_){var O;u[_]=e[_]!==void 0?e[_]:(O=nt[_])!=null?O:j}return u},{});return Object.assign({},e,i)}function ji(e,t){var i=t?Object.keys(bi(Object.assign({},nt,{plugins:t}))):Ut,u=i.reduce(function(p,_){var j=(e.getAttribute("data-tippy-"+_)||"").trim();if(!j)return p;if(_==="content")p[_]=j;else try{p[_]=JSON.parse(j)}catch(O){p[_]=j}return p},{});return u}function fn(e,t){var i=Object.assign({},t,{content:ls(t.content,[e])},t.ignoreAttributes?{}:ji(e,t.plugins));return i.aria=Object.assign({},nt.aria,i.aria),i.aria={expanded:i.aria.expanded==="auto"?t.interactive:i.aria.expanded,content:i.aria.content==="auto"?t.interactive?null:"describedby":i.aria.content},i}function sn(e,t){e===void 0&&(e={}),t===void 0&&(t=[]);var i=Object.keys(e);i.forEach(function(u){var p=Na(nt,Object.keys(it)),_=!Ko(p,u);_&&(_=t.filter(function(j){return j.name===u}).length===0),Xo(_,["`"+u+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.",`
|
|
|
|
`,`All props: https://atomiks.github.io/tippyjs/v6/all-props/
|
|
`,"Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}var Yi=function(){return"innerHTML"};function Zi(e,t){e[Yi()]=t}function dr(e){var t=ta();return e===!0?t.className=Bn:(t.className=Qa,Da(e)?t.appendChild(e):Zi(t,e)),t}function ln(e,t){Da(t.content)?(Zi(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?Zi(e,t.content):e.textContent=t.content)}function Ln(e){var t=e.firstElementChild,i=oo(t.children);return{box:t,content:i.find(function(u){return u.classList.contains(Ha)}),arrow:i.find(function(u){return u.classList.contains(Bn)||u.classList.contains(Qa)}),backdrop:i.find(function(u){return u.classList.contains(Aa)})}}function Lr(e){var t=ta(),i=ta();i.className=ms,i.setAttribute("data-state","hidden"),i.setAttribute("tabindex","-1");var u=ta();u.className=Ha,u.setAttribute("data-state","hidden"),ln(u,e.props),t.appendChild(i),i.appendChild(u),p(e.props,e.props);function p(_,j){var O=Ln(t),S=O.box,Q=O.content,xe=O.arrow;j.theme?S.setAttribute("data-theme",j.theme):S.removeAttribute("data-theme"),typeof j.animation=="string"?S.setAttribute("data-animation",j.animation):S.removeAttribute("data-animation"),j.inertia?S.setAttribute("data-inertia",""):S.removeAttribute("data-inertia"),S.style.maxWidth=typeof j.maxWidth=="number"?j.maxWidth+"px":j.maxWidth,j.role?S.setAttribute("role",j.role):S.removeAttribute("role"),(_.content!==j.content||_.allowHTML!==j.allowHTML)&&ln(Q,e.props),j.arrow?xe?_.arrow!==j.arrow&&(S.removeChild(xe),S.appendChild(dr(j.arrow))):S.appendChild(dr(j.arrow)):xe&&S.removeChild(xe)}return{popper:t,onUpdate:p}}Lr.$$tippy=!0;var ia=1,Jn=[],uo=[];function qr(e,t){var i=fn(e,Object.assign({},nt,bi(Ps(t)))),u,p,_,j=!1,O=!1,S=!1,Q=!1,xe,Fe,ct,jt=[],Tt=_o(Ns,i.interactiveDebounce),$t,Yt=ia++,It=null,pi=Eo(i.plugins),Wi={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},te={id:Yt,reference:e,popper:ta(),popperInstance:It,props:i,state:Wi,plugins:pi,clearDelayTimeouts:Hs,setProps:$s,setContent:zs,show:Cc,hide:Tc,hideWithInteractivity:Ec,enable:js,disable:Us,unmount:Oc,destroy:kc};if(!i.render)return te;var zt=i.render(te),wt=zt.popper,Vi=zt.onUpdate;wt.setAttribute("data-tippy-root",""),wt.id="tippy-"+te.id,te.popper=wt,e._tippy=te,wt._tippy=te;var nn=pi.map(function(ze){return ze.fn(te)}),kn=e.hasAttribute("aria-expanded");return rs(),ya(),_r(),Ji("onCreate",[te]),i.showOnCreate&&ws(),wt.addEventListener("mouseenter",function(){te.props.interactive&&te.state.isVisible&&te.clearDelayTimeouts()}),wt.addEventListener("mouseleave",function(){te.props.interactive&&te.props.trigger.indexOf("mouseenter")>=0&&Br().addEventListener("mousemove",Tt)}),te;function Nn(){var ze=te.props.touch;return Array.isArray(ze)?ze:[ze,0]}function Sn(){return Nn()[0]==="hold"}function wn(){var ze;return!!((ze=te.props.render)!=null&&ze.$$tippy)}function Vn(){return $t||e}function Br(){var ze=Vn().parentNode;return ze?wo(ze):document}function Kr(){return Ln(wt)}function br(ze){return te.state.isMounted&&!te.state.isVisible||ha.isTouch||xe&&xe.type==="focus"?0:Fa(te.props.delay,ze?0:1,nt.delay)}function _r(ze){ze===void 0&&(ze=!1),wt.style.pointerEvents=te.props.interactive&&!ze?"":"none",wt.style.zIndex=""+te.props.zIndex}function Ji(ze,qt,mi){if(mi===void 0&&(mi=!0),nn.forEach(function(en){en[ze]&&en[ze].apply(en,qt)}),mi){var mn;(mn=te.props)[ze].apply(mn,qt)}}function aa(){var ze=te.props.aria;if(!!ze.content){var qt="aria-"+ze.content,mi=wt.id,mn=Ur(te.props.triggerTarget||e);mn.forEach(function(en){var Ir=en.getAttribute(qt);if(te.state.isVisible)en.setAttribute(qt,Ir?Ir+" "+mi:mi);else{var oa=Ir&&Ir.replace(mi,"").trim();oa?en.setAttribute(qt,oa):en.removeAttribute(qt)}})}}function ya(){if(!(kn||!te.props.aria.expanded)){var ze=Ur(te.props.triggerTarget||e);ze.forEach(function(qt){te.props.interactive?qt.setAttribute("aria-expanded",te.state.isVisible&&qt===Vn()?"true":"false"):qt.removeAttribute("aria-expanded")})}}function Ro(){Br().removeEventListener("mousemove",Tt),Jn=Jn.filter(function(ze){return ze!==Tt})}function Ra(ze){if(!(ha.isTouch&&(S||ze.type==="mousedown"))){var qt=ze.composedPath&&ze.composedPath()[0]||ze.target;if(!(te.props.interactive&&jo(wt,qt))){if(Ur(te.props.triggerTarget||e).some(function(mi){return jo(mi,qt)})){if(ha.isTouch||te.state.isVisible&&te.props.trigger.indexOf("click")>=0)return}else Ji("onClickOutside",[te,ze]);te.props.hideOnClick===!0&&(te.clearDelayTimeouts(),te.hide(),O=!0,setTimeout(function(){O=!1}),te.state.isMounted||Ka())}}}function Mo(){S=!0}function qa(){S=!1}function ba(){var ze=Br();ze.addEventListener("mousedown",Ra,!0),ze.addEventListener("touchend",Ra,Pa),ze.addEventListener("touchstart",qa,Pa),ze.addEventListener("touchmove",Mo,Pa)}function Ka(){var ze=Br();ze.removeEventListener("mousedown",Ra,!0),ze.removeEventListener("touchend",Ra,Pa),ze.removeEventListener("touchstart",qa,Pa),ze.removeEventListener("touchmove",Mo,Pa)}function is(ze,qt){ns(ze,function(){!te.state.isVisible&&wt.parentNode&&wt.parentNode.contains(wt)&&qt()})}function Ya(ze,qt){ns(ze,qt)}function ns(ze,qt){var mi=Kr().box;function mn(en){en.target===mi&&(Wr(mi,"remove",mn),qt())}if(ze===0)return qt();Wr(mi,"remove",Fe),Wr(mi,"add",mn),Fe=mn}function mo(ze,qt,mi){mi===void 0&&(mi=!1);var mn=Ur(te.props.triggerTarget||e);mn.forEach(function(en){en.addEventListener(ze,qt,mi),jt.push({node:en,eventType:ze,handler:qt,options:mi})})}function rs(){Sn()&&(mo("touchstart",ys,{passive:!0}),mo("touchend",Ls,{passive:!0})),Bo(te.props.trigger).forEach(function(ze){if(ze!=="manual")switch(mo(ze,ys),ze){case"mouseenter":mo("mouseleave",Ls);break;case"focus":mo(Nr?"focusout":"blur",bs);break;case"focusin":mo("focusout",bs);break}})}function Fs(){jt.forEach(function(ze){var qt=ze.node,mi=ze.eventType,mn=ze.handler,en=ze.options;qt.removeEventListener(mi,mn,en)}),jt=[]}function ys(ze){var qt,mi=!1;if(!(!te.state.isEnabled||_s(ze)||O)){var mn=((qt=xe)==null?void 0:qt.type)==="focus";xe=ze,$t=ze.currentTarget,ya(),!te.state.isVisible&&Hr(ze)&&Jn.forEach(function(en){return en(ze)}),ze.type==="click"&&(te.props.trigger.indexOf("mouseenter")<0||j)&&te.props.hideOnClick!==!1&&te.state.isVisible?mi=!0:ws(ze),ze.type==="click"&&(j=!mi),mi&&!mn&&Io(ze)}}function Ns(ze){var qt=ze.target,mi=Vn().contains(qt)||wt.contains(qt);if(!(ze.type==="mousemove"&&mi)){var mn=ho().concat(wt).map(function(en){var Ir,oa=en._tippy,as=(Ir=oa.popperInstance)==null?void 0:Ir.state;return as?{popperRect:en.getBoundingClientRect(),popperState:as,props:i}:null}).filter(Boolean);La(mn,ze)&&(Ro(),Io(ze))}}function Ls(ze){var qt=_s(ze)||te.props.trigger.indexOf("click")>=0&&j;if(!qt){if(te.props.interactive){te.hideWithInteractivity(ze);return}Io(ze)}}function bs(ze){te.props.trigger.indexOf("focusin")<0&&ze.target!==Vn()||te.props.interactive&&ze.relatedTarget&&wt.contains(ze.relatedTarget)||Io(ze)}function _s(ze){return ha.isTouch?Sn()!==ze.type.indexOf("touch")>=0:!1}function Bs(){Vs();var ze=te.props,qt=ze.popperOptions,mi=ze.placement,mn=ze.offset,en=ze.getReferenceClientRect,Ir=ze.moveTransition,oa=wn()?Ln(wt).arrow:null,as=en?{getBoundingClientRect:en,contextElement:en.contextElement||Vn()}:e,Al={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(Ws){var os=Ws.state;if(wn()){var Ac=Kr(),sl=Ac.box;["placement","reference-hidden","escaped"].forEach(function(qs){qs==="placement"?sl.setAttribute("data-placement",os.placement):os.attributes.popper["data-popper-"+qs]?sl.setAttribute("data-"+qs,""):sl.removeAttribute("data-"+qs)}),os.attributes.popper={}}}},Fo=[{name:"offset",options:{offset:mn}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!Ir}},Al];wn()&&oa&&Fo.push({name:"arrow",options:{element:oa,padding:3}}),Fo.push.apply(Fo,(qt==null?void 0:qt.modifiers)||[]),te.popperInstance=fa(as,wt,Object.assign({},qt,{placement:mi,onFirstUpdate:ct,modifiers:Fo}))}function Vs(){te.popperInstance&&(te.popperInstance.destroy(),te.popperInstance=null)}function Ga(){var ze=te.props.appendTo,qt,mi=Vn();te.props.interactive&&ze===ao||ze==="parent"?qt=mi.parentNode:qt=ls(ze,[mi]),qt.contains(wt)||qt.appendChild(wt),te.state.isMounted=!0,Bs()}function ho(){return oo(wt.querySelectorAll("[data-tippy-root]"))}function ws(ze){te.clearDelayTimeouts(),ze&&Ji("onTrigger",[te,ze]),ba();var qt=br(!0),mi=Nn(),mn=mi[0],en=mi[1];ha.isTouch&&mn==="hold"&&en&&(qt=en),qt?u=setTimeout(function(){te.show()},qt):te.show()}function Io(ze){if(te.clearDelayTimeouts(),Ji("onUntrigger",[te,ze]),!te.state.isVisible){Ka();return}if(!(te.props.trigger.indexOf("mouseenter")>=0&&te.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(ze.type)>=0&&j)){var qt=br(!1);qt?p=setTimeout(function(){te.state.isVisible&&te.hide()},qt):_=requestAnimationFrame(function(){te.hide()})}}function js(){te.state.isEnabled=!0}function Us(){te.hide(),te.state.isEnabled=!1}function Hs(){clearTimeout(u),clearTimeout(p),cancelAnimationFrame(_)}function $s(ze){if(!te.state.isDestroyed){Ji("onBeforeUpdate",[te,ze]),Fs();var qt=te.props,mi=fn(e,Object.assign({},qt,Ps(ze),{ignoreAttributes:!0}));te.props=mi,rs(),qt.interactiveDebounce!==mi.interactiveDebounce&&(Ro(),Tt=_o(Ns,mi.interactiveDebounce)),qt.triggerTarget&&!mi.triggerTarget?Ur(qt.triggerTarget).forEach(function(mn){mn.removeAttribute("aria-expanded")}):mi.triggerTarget&&e.removeAttribute("aria-expanded"),ya(),_r(),Vi&&Vi(qt,mi),te.popperInstance&&(Bs(),ho().forEach(function(mn){requestAnimationFrame(mn._tippy.popperInstance.forceUpdate)})),Ji("onAfterUpdate",[te,ze])}}function zs(ze){te.setProps({content:ze})}function Cc(){var ze=te.state.isVisible,qt=te.state.isDestroyed,mi=!te.state.isEnabled,mn=ha.isTouch&&!te.props.touch,en=Fa(te.props.duration,0,nt.duration);if(!(ze||qt||mi||mn)&&!Vn().hasAttribute("disabled")&&(Ji("onShow",[te],!1),te.props.onShow(te)!==!1)){if(te.state.isVisible=!0,wn()&&(wt.style.visibility="visible"),_r(),ba(),te.state.isMounted||(wt.style.transition="none"),wn()){var Ir=Kr(),oa=Ir.box,as=Ir.content;Za([oa,as],0)}ct=function(){var Fo;if(!(!te.state.isVisible||Q)){if(Q=!0,wt.offsetHeight,wt.style.transition=te.props.moveTransition,wn()&&te.props.animation){var ol=Kr(),Ws=ol.box,os=ol.content;Za([Ws,os],en),Xn([Ws,os],"visible")}aa(),ya(),Yo(uo,te),(Fo=te.popperInstance)==null||Fo.forceUpdate(),Ji("onMount",[te]),te.props.animation&&wn()&&Ya(en,function(){te.state.isShown=!0,Ji("onShown",[te])})}},Ga()}}function Tc(){var ze=!te.state.isVisible,qt=te.state.isDestroyed,mi=!te.state.isEnabled,mn=Fa(te.props.duration,1,nt.duration);if(!(ze||qt||mi)&&(Ji("onHide",[te],!1),te.props.onHide(te)!==!1)){if(te.state.isVisible=!1,te.state.isShown=!1,Q=!1,j=!1,wn()&&(wt.style.visibility="hidden"),Ro(),Ka(),_r(!0),wn()){var en=Kr(),Ir=en.box,oa=en.content;te.props.animation&&(Za([Ir,oa],mn),Xn([Ir,oa],"hidden"))}aa(),ya(),te.props.animation?wn()&&is(mn,te.unmount):te.unmount()}}function Ec(ze){Br().addEventListener("mousemove",Tt),Yo(Jn,Tt),Tt(ze)}function Oc(){te.state.isVisible&&te.hide(),te.state.isMounted&&(Vs(),ho().forEach(function(ze){ze._tippy.unmount()}),wt.parentNode&&wt.parentNode.removeChild(wt),uo=uo.filter(function(ze){return ze!==te}),te.state.isMounted=!1,Ji("onHidden",[te]))}function kc(){te.state.isDestroyed||(te.clearDelayTimeouts(),te.unmount(),Fs(),delete e._tippy,te.state.isDestroyed=!0,Ji("onDestroy",[te]))}}function pr(e,t){t===void 0&&(t={});var i=nt.plugins.concat(t.plugins||[]);Zn();var u=Object.assign({},t,{plugins:i}),p=Go(e);if(!1)var _,j;var O=p.reduce(function(S,Q){var xe=Q&&qr(Q,u);return xe&&S.push(xe),S},[]);return Da(e)?O[0]:O}pr.defaultProps=nt,pr.setDefaultProps=Zt,pr.currentInput=ha;var Ao=function(t){var i=t===void 0?{}:t,u=i.exclude,p=i.duration;uo.forEach(function(_){var j=!1;if(u&&(j=Oo(u)?_.reference===u:_.popper===u.popper),!j){var O=_.props.duration;_.setProps({duration:p}),_.hide(),_.state.isDestroyed||_.setProps({duration:O})}})},Vo=Object.assign({},ro,{effect:function(t){var i=t.state,u={popper:{position:i.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(i.elements.popper.style,u.popper),i.styles=u,i.elements.arrow&&Object.assign(i.elements.arrow.style,u.arrow)}}),ga=function(t,i){var u;i===void 0&&(i={});var p=t,_=[],j=[],O,S=i.overrides,Q=[],xe=!1;function Fe(){j=p.map(function(te){return Ur(te.props.triggerTarget||te.reference)}).reduce(function(te,zt){return te.concat(zt)},[])}function ct(){_=p.map(function(te){return te.reference})}function jt(te){p.forEach(function(zt){te?zt.enable():zt.disable()})}function Tt(te){return p.map(function(zt){var wt=zt.setProps;return zt.setProps=function(Vi){wt(Vi),zt.reference===O&&te.setProps(Vi)},function(){zt.setProps=wt}})}function $t(te,zt){var wt=j.indexOf(zt);if(zt!==O){O=zt;var Vi=(S||[]).concat("content").reduce(function(nn,kn){return nn[kn]=p[wt].props[kn],nn},{});te.setProps(Object.assign({},Vi,{getReferenceClientRect:typeof Vi.getReferenceClientRect=="function"?Vi.getReferenceClientRect:function(){var nn;return(nn=_[wt])==null?void 0:nn.getBoundingClientRect()}}))}}jt(!1),ct(),Fe();var Yt={fn:function(){return{onDestroy:function(){jt(!0)},onHidden:function(){O=null},onClickOutside:function(wt){wt.props.showOnCreate&&!xe&&(xe=!0,O=null)},onShow:function(wt){wt.props.showOnCreate&&!xe&&(xe=!0,$t(wt,_[0]))},onTrigger:function(wt,Vi){$t(wt,Vi.currentTarget)}}}},It=pr(ta(),Object.assign({},Na(i,["overrides"]),{plugins:[Yt].concat(i.plugins||[]),triggerTarget:j,popperOptions:Object.assign({},i.popperOptions,{modifiers:[].concat(((u=i.popperOptions)==null?void 0:u.modifiers)||[],[Vo])})})),pi=It.show;It.show=function(te){if(pi(),!O&&te==null)return $t(It,_[0]);if(!(O&&te==null)){if(typeof te=="number")return _[te]&&$t(It,_[te]);if(p.indexOf(te)>=0){var zt=te.reference;return $t(It,zt)}if(_.indexOf(te)>=0)return $t(It,te)}},It.showNext=function(){var te=_[0];if(!O)return It.show(0);var zt=_.indexOf(O);It.show(_[zt+1]||te)},It.showPrevious=function(){var te=_[_.length-1];if(!O)return It.show(te);var zt=_.indexOf(O),wt=_[zt-1]||te;It.show(wt)};var Wi=It.setProps;return It.setProps=function(te){S=te.overrides||S,Wi(te)},It.setInstances=function(te){jt(!0),Q.forEach(function(zt){return zt()}),p=te,jt(!1),ct(),Fe(),Q=Tt(It),It.setProps({triggerTarget:j})},Q=Tt(It),It},Jo={mouseover:"mouseenter",focusin:"focus",click:"click"};function Js(e,t){var i=[],u=[],p=!1,_=t.target,j=Na(t,["target"]),O=Object.assign({},j,{trigger:"manual",touch:!1}),S=Object.assign({touch:nt.touch},j,{showOnCreate:!0}),Q=pr(e,O),xe=Ur(Q);function Fe(Yt){if(!(!Yt.target||p)){var It=Yt.target.closest(_);if(!!It){var pi=It.getAttribute("data-tippy-trigger")||t.trigger||nt.trigger;if(!It._tippy&&!(Yt.type==="touchstart"&&typeof S.touch=="boolean")&&!(Yt.type!=="touchstart"&&pi.indexOf(Jo[Yt.type])<0)){var Wi=pr(It,S);Wi&&(u=u.concat(Wi))}}}}function ct(Yt,It,pi,Wi){Wi===void 0&&(Wi=!1),Yt.addEventListener(It,pi,Wi),i.push({node:Yt,eventType:It,handler:pi,options:Wi})}function jt(Yt){var It=Yt.reference;ct(It,"touchstart",Fe,Pa),ct(It,"mouseover",Fe),ct(It,"focusin",Fe),ct(It,"click",Fe)}function Tt(){i.forEach(function(Yt){var It=Yt.node,pi=Yt.eventType,Wi=Yt.handler,te=Yt.options;It.removeEventListener(pi,Wi,te)}),i=[]}function $t(Yt){var It=Yt.destroy,pi=Yt.enable,Wi=Yt.disable;Yt.destroy=function(te){te===void 0&&(te=!0),te&&u.forEach(function(zt){zt.destroy()}),u=[],Tt(),It()},Yt.enable=function(){pi(),u.forEach(function(te){return te.enable()}),p=!1},Yt.disable=function(){Wi(),u.forEach(function(te){return te.disable()}),p=!0},jt(Yt)}return xe.forEach($t),Q}var Ds={name:"animateFill",defaultValue:!1,fn:function(t){var i;if(!((i=t.props.render)!=null&&i.$$tippy))return{};var u=Ln(t.popper),p=u.box,_=u.content,j=t.props.animateFill?Xr():null;return{onCreate:function(){j&&(p.insertBefore(j,p.firstElementChild),p.setAttribute("data-animatefill",""),p.style.overflow="hidden",t.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(j){var S=p.style.transitionDuration,Q=Number(S.replace("ms",""));_.style.transitionDelay=Math.round(Q/10)+"ms",j.style.transitionDuration=S,Xn([j],"visible")}},onShow:function(){j&&(j.style.transitionDuration="0ms")},onHide:function(){j&&Xn([j],"hidden")}}}};function Xr(){var e=ta();return e.className=Aa,Xn([e],"hidden"),e}var Qo={clientX:0,clientY:0},da=[];function l(e){var t=e.clientX,i=e.clientY;Qo={clientX:t,clientY:i}}function x(e){e.addEventListener("mousemove",l)}function R(e){e.removeEventListener("mousemove",l)}var re={name:"followCursor",defaultValue:!1,fn:function(t){var i=t.reference,u=wo(t.props.triggerTarget||i),p=!1,_=!1,j=!0,O=t.props;function S(){return t.props.followCursor==="initial"&&t.state.isVisible}function Q(){u.addEventListener("mousemove",ct)}function xe(){u.removeEventListener("mousemove",ct)}function Fe(){p=!0,t.setProps({getReferenceClientRect:null}),p=!1}function ct($t){var Yt=$t.target?i.contains($t.target):!0,It=t.props.followCursor,pi=$t.clientX,Wi=$t.clientY,te=i.getBoundingClientRect(),zt=pi-te.left,wt=Wi-te.top;(Yt||!t.props.interactive)&&t.setProps({getReferenceClientRect:function(){var nn=i.getBoundingClientRect(),kn=pi,Nn=Wi;It==="initial"&&(kn=nn.left+zt,Nn=nn.top+wt);var Sn=It==="horizontal"?nn.top:Nn,wn=It==="vertical"?nn.right:kn,Vn=It==="horizontal"?nn.bottom:Nn,Br=It==="vertical"?nn.left:kn;return{width:wn-Br,height:Vn-Sn,top:Sn,right:wn,bottom:Vn,left:Br}}})}function jt(){t.props.followCursor&&(da.push({instance:t,doc:u}),x(u))}function Tt(){da=da.filter(function($t){return $t.instance!==t}),da.filter(function($t){return $t.doc===u}).length===0&&R(u)}return{onCreate:jt,onDestroy:Tt,onBeforeUpdate:function(){O=t.props},onAfterUpdate:function(Yt,It){var pi=It.followCursor;p||pi!==void 0&&O.followCursor!==pi&&(Tt(),pi?(jt(),t.state.isMounted&&!_&&!S()&&Q()):(xe(),Fe()))},onMount:function(){t.props.followCursor&&!_&&(j&&(ct(Qo),j=!1),S()||Q())},onTrigger:function(Yt,It){Hr(It)&&(Qo={clientX:It.clientX,clientY:It.clientY}),_=It.type==="focus"},onHidden:function(){t.props.followCursor&&(Fe(),xe(),j=!0)}}}};function Ce(e,t){var i;return{popperOptions:Object.assign({},e.popperOptions,{modifiers:[].concat((((i=e.popperOptions)==null?void 0:i.modifiers)||[]).filter(function(u){var p=u.name;return p!==t.name}),[t])})}}var Oe={name:"inlinePositioning",defaultValue:!1,fn:function(t){var i=t.reference;function u(){return!!t.props.inlinePositioning}var p,_=-1,j=!1,O=[],S={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(jt){var Tt=jt.state;u()&&(O.indexOf(Tt.placement)!==-1&&(O=[]),p!==Tt.placement&&O.indexOf(Tt.placement)===-1&&(O.push(Tt.placement),t.setProps({getReferenceClientRect:function(){return Q(Tt.placement)}})),p=Tt.placement)}};function Q(ct){return Ie($a(ct),i.getBoundingClientRect(),oo(i.getClientRects()),_)}function xe(ct){j=!0,t.setProps(ct),j=!1}function Fe(){j||xe(Ce(t.props,S))}return{onCreate:Fe,onAfterUpdate:Fe,onTrigger:function(jt,Tt){if(Hr(Tt)){var $t=oo(t.reference.getClientRects()),Yt=$t.find(function(pi){return pi.left-2<=Tt.clientX&&pi.right+2>=Tt.clientX&&pi.top-2<=Tt.clientY&&pi.bottom+2>=Tt.clientY}),It=$t.indexOf(Yt);_=It>-1?It:_}},onHidden:function(){_=-1}}}};function Ie(e,t,i,u){if(i.length<2||e===null)return t;if(i.length===2&&u>=0&&i[0].left>i[1].right)return i[u]||t;switch(e){case"top":case"bottom":{var p=i[0],_=i[i.length-1],j=e==="top",O=p.top,S=_.bottom,Q=j?p.left:_.left,xe=j?p.right:_.right,Fe=xe-Q,ct=S-O;return{top:O,bottom:S,left:Q,right:xe,width:Fe,height:ct}}case"left":case"right":{var jt=Math.min.apply(Math,i.map(function(wt){return wt.left})),Tt=Math.max.apply(Math,i.map(function(wt){return wt.right})),$t=i.filter(function(wt){return e==="left"?wt.left===jt:wt.right===Tt}),Yt=$t[0].top,It=$t[$t.length-1].bottom,pi=jt,Wi=Tt,te=Wi-pi,zt=It-Yt;return{top:Yt,bottom:It,left:pi,right:Wi,width:te,height:zt}}default:return t}}var Re={name:"sticky",defaultValue:!1,fn:function(t){var i=t.reference,u=t.popper;function p(){return t.popperInstance?t.popperInstance.state.elements.reference:i}function _(Q){return t.props.sticky===!0||t.props.sticky===Q}var j=null,O=null;function S(){var Q=_("reference")?p().getBoundingClientRect():null,xe=_("popper")?u.getBoundingClientRect():null;(Q&&Ge(j,Q)||xe&&Ge(O,xe))&&t.popperInstance&&t.popperInstance.update(),j=Q,O=xe,t.state.isMounted&&requestAnimationFrame(S)}return{onMount:function(){t.props.sticky&&S()}}}};function Ge(e,t){return e&&t?e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left:!0}pr.setDefaultProps({render:Lr});var gt=pr,ii=Object.defineProperty,ei=Object.getOwnPropertySymbols,_i=Object.prototype.hasOwnProperty,Bi=Object.prototype.propertyIsEnumerable,dn=(e,t,i)=>t in e?ii(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,vn=(e,t)=>{for(var i in t||(t={}))_i.call(t,i)&&dn(e,i,t[i]);if(ei)for(var i of ei(t))Bi.call(t,i)&&dn(e,i,t[i]);return e};function jn(e,t={}){const i=gt(e,vn(vn({appendTo:document.body,placement:e.getAttribute("data-placement")||"top-start",animation:!1,allowHTML:!1,interactiveBorder:30,ignoreAttributes:!0,maxWidth:500,arrow:'<svg width="16" height="7"><path d="m0 7 8-7 8 7Z" class="tippy-svg-arrow-outer"/><path d="m0 8 8-7 8 7Z" class="tippy-svg-arrow-inner"/></svg>'},(t==null?void 0:t.role)&&{theme:t.role}),t));return t.content instanceof Element&&t.content.classList.remove("tippy-target"),i}function Tn(e,t={}){const i=e.getAttribute("data-content")||t.content;return i?jn(e,vn({content:i,delay:100,role:"tooltip"},t)):null}function zn(e,t){let i,u;e._tippy?(i=e._tippy,u=i.props.content):i=Tn(e,{content:t}),i.setContent(t),i.show(),i.setProps({onHidden:p=>{u?p.setContent(u):p.destroy(),p.setProps({onHidden:void 0})}})}var va=(e,t,i)=>new Promise((u,p)=>{var _=S=>{try{O(i.next(S))}catch(Q){p(Q)}},j=S=>{try{O(i.throw(S))}catch(Q){p(Q)}},O=S=>S.done?u(S.value):Promise.resolve(S.value).then(_,j);O((i=i.apply(e,t)).next())});const{appSubUrl:Po,assetUrlPrefix:na,pageData:Do}=window.config;function yr(e){e.component("repo-search",{delimiters:h,props:{searchLimit:{type:Number,default:10},subUrl:{type:String,required:!0},uid:{type:Number,default:0},teamId:{type:Number,required:!1,default:0},organizations:{type:Array,default:()=>[]},isOrganization:{type:Boolean,default:!0},canCreateOrganization:{type:Boolean,default:!1},organizationsTotalCount:{type:Number,default:0},moreReposLink:{type:String,default:""}},data(){const t=new URLSearchParams(window.location.search);let i=t.get("repo-search-tab");i||(i="repos");let u=t.get("repo-search-filter");u||(u="all");let p=t.get("repo-search-private");p||(p="both");let _=t.get("repo-search-archived");_||(_="unarchived");let j=t.get("repo-search-query");j||(j="");let O=1;try{O=parseInt(t.get("repo-search-page"))}catch(S){}return O||(O=1),{tab:i,repos:[],reposTotalCount:0,reposFilter:u,archivedFilter:_,privateFilter:p,page:O,finalPage:1,searchQuery:j,isLoading:!1,staticPrefix:na,counts:{},repoTypes:{all:{searchMode:""},forks:{searchMode:"fork"},mirrors:{searchMode:"mirror"},sources:{searchMode:"source"},collaborative:{searchMode:"collaborative"}}}},computed:{showMoreReposLink(){return this.repos.length>0&&this.repos.length<this.counts[`${this.reposFilter}:${this.archivedFilter}:${this.privateFilter}`]},searchURL(){return`${this.subUrl}/repo/search?sort=updated&order=desc&uid=${this.uid}&team_id=${this.teamId}&q=${this.searchQuery}&page=${this.page}&limit=${this.searchLimit}&mode=${this.repoTypes[this.reposFilter].searchMode}${this.reposFilter!=="all"?"&exclusive=1":""}${this.archivedFilter==="archived"?"&archived=true":""}${this.archivedFilter==="unarchived"?"&archived=false":""}${this.privateFilter==="private"?"&is_private=true":""}${this.privateFilter==="public"?"&is_private=false":""}`},repoTypeCount(){return this.counts[`${this.reposFilter}:${this.archivedFilter}:${this.privateFilter}`]}},mounted(){const t=document.getElementById("dashboard-repo-list");this.changeReposFilter(this.reposFilter);for(const i of t.querySelectorAll(".tooltip"))Tn(i);n(t).find(".dropdown").dropdown(),this.setCheckboxes(),(0,K.Y3)(()=>{this.$refs.search.focus()})},methods:{changeTab(t){this.tab=t,this.updateHistory()},setCheckboxes(){switch(this.archivedFilter){case"unarchived":n("#archivedFilterCheckbox").checkbox("set unchecked");break;case"archived":n("#archivedFilterCheckbox").checkbox("set checked");break;case"both":n("#archivedFilterCheckbox").checkbox("set indeterminate");break;default:this.archivedFilter="unarchived",n("#archivedFilterCheckbox").checkbox("set unchecked");break}switch(this.privateFilter){case"public":n("#privateFilterCheckbox").checkbox("set unchecked");break;case"private":n("#privateFilterCheckbox").checkbox("set checked");break;case"both":n("#privateFilterCheckbox").checkbox("set indeterminate");break;default:this.privateFilter="both",n("#privateFilterCheckbox").checkbox("set indeterminate");break}},changeReposFilter(t){this.reposFilter=t,this.repos=[],this.page=1,this.counts[`${t}:${this.archivedFilter}:${this.privateFilter}`]=0,this.searchRepos()},updateHistory(){const t=new URLSearchParams(window.location.search);this.tab==="repos"?t.delete("repo-search-tab"):t.set("repo-search-tab",this.tab),this.reposFilter==="all"?t.delete("repo-search-filter"):t.set("repo-search-filter",this.reposFilter),this.privateFilter==="both"?t.delete("repo-search-private"):t.set("repo-search-private",this.privateFilter),this.archivedFilter==="unarchived"?t.delete("repo-search-archived"):t.set("repo-search-archived",this.archivedFilter),this.searchQuery===""?t.delete("repo-search-query"):t.set("repo-search-query",this.searchQuery),this.page===1?t.delete("repo-search-page"):t.set("repo-search-page",`${this.page}`);const i=t.toString();i?window.history.replaceState({},"",`?${i}`):window.history.replaceState({},"",window.location.pathname)},toggleArchivedFilter(){switch(this.archivedFilter){case"both":this.archivedFilter="unarchived";break;case"unarchived":this.archivedFilter="archived";break;case"archived":this.archivedFilter="both";break;default:this.archivedFilter="unarchived";break}this.page=1,this.repos=[],this.setCheckboxes(),this.counts[`${this.reposFilter}:${this.archivedFilter}:${this.privateFilter}`]=0,this.searchRepos()},togglePrivateFilter(){switch(this.privateFilter){case"both":this.privateFilter="public";break;case"public":this.privateFilter="private";break;case"private":this.privateFilter="both";break;default:this.privateFilter="both";break}this.page=1,this.repos=[],this.setCheckboxes(),this.counts[`${this.reposFilter}:${this.archivedFilter}:${this.privateFilter}`]=0,this.searchRepos()},changePage(t){this.page=t,this.page>this.finalPage&&(this.page=this.finalPage),this.page<1&&(this.page=1),this.repos=[],this.counts[`${this.reposFilter}:${this.archivedFilter}:${this.privateFilter}`]=0,this.searchRepos()},searchRepos(){return va(this,null,function*(){this.isLoading=!0;const t=this.repoTypes[this.reposFilter].searchMode,i=this.searchURL,u=this.searchQuery;let p,_;try{if(!this.reposTotalCount){const j=`${this.subUrl}/repo/search?count_only=1&uid=${this.uid}&team_id=${this.teamId}&q=&page=1&mode=`;p=yield fetch(j),this.reposTotalCount=p.headers.get("X-Total-Count")}p=yield fetch(i),_=yield p.json()}catch(j){i===this.searchURL&&(this.isLoading=!1);return}if(i===this.searchURL){this.repos=_.data;const j=p.headers.get("X-Total-Count");u===""&&t===""&&this.archivedFilter==="both"&&(this.reposTotalCount=j),this.counts[`${this.reposFilter}:${this.archivedFilter}:${this.privateFilter}`]=j,this.finalPage=Math.ceil(j/this.searchLimit),this.updateHistory(),this.isLoading=!1}})},repoIcon(t){return t.fork?"octicon-repo-forked":t.mirror?"octicon-mirror":t.template?"octicon-repo-template":t.private?"octicon-lock":(t.internal,"octicon-repo")}},template:document.getElementById("dashboard-repo-list-template")})}function yn(){const e=document.getElementById("dashboard-repo-list"),t=Do.dashboardRepoList||null;if(!e||!t)return;const i=(0,D.createApp)({delimiters:h,data(){return{searchLimit:t.searchLimit||0,subUrl:Po,uid:t.uid||0}}});Ue(i),yr(i),i.mount(e)}var Wn=JSON.parse('[{"emoji":"\u{1F44D}","aliases":["+1","thumbsup"]},{"emoji":"\u{1F44E}","aliases":["-1","thumbsdown"]},{"emoji":"\u{1F4AF}","aliases":["100"]},{"emoji":"\u{1F522}","aliases":["1234"]},{"emoji":"\u{1F947}","aliases":["1st_place_medal"]},{"emoji":"\u{1F948}","aliases":["2nd_place_medal"]},{"emoji":"\u{1F949}","aliases":["3rd_place_medal"]},{"emoji":"\u{1F3B1}","aliases":["8ball"]},{"emoji":"\u{1F170}\uFE0F","aliases":["a"]},{"emoji":"\u{1F18E}","aliases":["ab"]},{"emoji":"\u{1F9EE}","aliases":["abacus"]},{"emoji":"\u{1F524}","aliases":["abc"]},{"emoji":"\u{1F521}","aliases":["abcd"]},{"emoji":"\u{1F251}","aliases":["accept"]},{"emoji":"\u{1FA97}","aliases":["accordion"]},{"emoji":"\u{1FA79}","aliases":["adhesive_bandage"]},{"emoji":"\u{1F9D1}","aliases":["adult"]},{"emoji":"\u{1F6A1}","aliases":["aerial_tramway"]},{"emoji":"\u{1F1E6}\u{1F1EB}","aliases":["afghanistan"]},{"emoji":"\u2708\uFE0F","aliases":["airplane"]},{"emoji":"\u{1F1E6}\u{1F1FD}","aliases":["aland_islands"]},{"emoji":"\u23F0","aliases":["alarm_clock"]},{"emoji":"\u{1F1E6}\u{1F1F1}","aliases":["albania"]},{"emoji":"\u2697\uFE0F","aliases":["alembic"]},{"emoji":"\u{1F1E9}\u{1F1FF}","aliases":["algeria"]},{"emoji":"\u{1F47D}","aliases":["alien"]},{"emoji":"\u{1F691}","aliases":["ambulance"]},{"emoji":"\u{1F1E6}\u{1F1F8}","aliases":["american_samoa"]},{"emoji":"\u{1F3FA}","aliases":["amphora"]},{"emoji":"\u{1FAC0}","aliases":["anatomical_heart"]},{"emoji":"\u2693","aliases":["anchor"]},{"emoji":"\u{1F1E6}\u{1F1E9}","aliases":["andorra"]},{"emoji":"\u{1F47C}","aliases":["angel"]},{"emoji":"\u{1F4A2}","aliases":["anger"]},{"emoji":"\u{1F1E6}\u{1F1F4}","aliases":["angola"]},{"emoji":"\u{1F620}","aliases":["angry"]},{"emoji":"\u{1F1E6}\u{1F1EE}","aliases":["anguilla"]},{"emoji":"\u{1F627}","aliases":["anguished"]},{"emoji":"\u{1F41C}","aliases":["ant"]},{"emoji":"\u{1F1E6}\u{1F1F6}","aliases":["antarctica"]},{"emoji":"\u{1F1E6}\u{1F1EC}","aliases":["antigua_barbuda"]},{"emoji":"\u{1F34E}","aliases":["apple"]},{"emoji":"\u2652","aliases":["aquarius"]},{"emoji":"\u{1F1E6}\u{1F1F7}","aliases":["argentina"]},{"emoji":"\u2648","aliases":["aries"]},{"emoji":"\u{1F1E6}\u{1F1F2}","aliases":["armenia"]},{"emoji":"\u25C0\uFE0F","aliases":["arrow_backward"]},{"emoji":"\u23EC","aliases":["arrow_double_down"]},{"emoji":"\u23EB","aliases":["arrow_double_up"]},{"emoji":"\u2B07\uFE0F","aliases":["arrow_down"]},{"emoji":"\u{1F53D}","aliases":["arrow_down_small"]},{"emoji":"\u25B6\uFE0F","aliases":["arrow_forward"]},{"emoji":"\u2935\uFE0F","aliases":["arrow_heading_down"]},{"emoji":"\u2934\uFE0F","aliases":["arrow_heading_up"]},{"emoji":"\u2B05\uFE0F","aliases":["arrow_left"]},{"emoji":"\u2199\uFE0F","aliases":["arrow_lower_left"]},{"emoji":"\u2198\uFE0F","aliases":["arrow_lower_right"]},{"emoji":"\u27A1\uFE0F","aliases":["arrow_right"]},{"emoji":"\u21AA\uFE0F","aliases":["arrow_right_hook"]},{"emoji":"\u2B06\uFE0F","aliases":["arrow_up"]},{"emoji":"\u2195\uFE0F","aliases":["arrow_up_down"]},{"emoji":"\u{1F53C}","aliases":["arrow_up_small"]},{"emoji":"\u2196\uFE0F","aliases":["arrow_upper_left"]},{"emoji":"\u2197\uFE0F","aliases":["arrow_upper_right"]},{"emoji":"\u{1F503}","aliases":["arrows_clockwise"]},{"emoji":"\u{1F504}","aliases":["arrows_counterclockwise"]},{"emoji":"\u{1F3A8}","aliases":["art"]},{"emoji":"\u{1F69B}","aliases":["articulated_lorry"]},{"emoji":"\u{1F6F0}\uFE0F","aliases":["artificial_satellite"]},{"emoji":"\u{1F9D1}\u200D\u{1F3A8}","aliases":["artist"]},{"emoji":"\u{1F1E6}\u{1F1FC}","aliases":["aruba"]},{"emoji":"\u{1F1E6}\u{1F1E8}","aliases":["ascension_island"]},{"emoji":"*\uFE0F\u20E3","aliases":["asterisk"]},{"emoji":"\u{1F632}","aliases":["astonished"]},{"emoji":"\u{1F9D1}\u200D\u{1F680}","aliases":["astronaut"]},{"emoji":"\u{1F45F}","aliases":["athletic_shoe"]},{"emoji":"\u{1F3E7}","aliases":["atm"]},{"emoji":"\u269B\uFE0F","aliases":["atom_symbol"]},{"emoji":"\u{1F1E6}\u{1F1FA}","aliases":["australia"]},{"emoji":"\u{1F1E6}\u{1F1F9}","aliases":["austria"]},{"emoji":"\u{1F6FA}","aliases":["auto_rickshaw"]},{"emoji":"\u{1F951}","aliases":["avocado"]},{"emoji":"\u{1FA93}","aliases":["axe"]},{"emoji":"\u{1F1E6}\u{1F1FF}","aliases":["azerbaijan"]},{"emoji":"\u{1F171}\uFE0F","aliases":["b"]},{"emoji":"\u{1F476}","aliases":["baby"]},{"emoji":"\u{1F37C}","aliases":["baby_bottle"]},{"emoji":"\u{1F424}","aliases":["baby_chick"]},{"emoji":"\u{1F6BC}","aliases":["baby_symbol"]},{"emoji":"\u{1F519}","aliases":["back"]},{"emoji":"\u{1F953}","aliases":["bacon"]},{"emoji":"\u{1F9A1}","aliases":["badger"]},{"emoji":"\u{1F3F8}","aliases":["badminton"]},{"emoji":"\u{1F96F}","aliases":["bagel"]},{"emoji":"\u{1F6C4}","aliases":["baggage_claim"]},{"emoji":"\u{1F956}","aliases":["baguette_bread"]},{"emoji":"\u{1F1E7}\u{1F1F8}","aliases":["bahamas"]},{"emoji":"\u{1F1E7}\u{1F1ED}","aliases":["bahrain"]},{"emoji":"\u2696\uFE0F","aliases":["balance_scale"]},{"emoji":"\u{1F468}\u200D\u{1F9B2}","aliases":["bald_man"]},{"emoji":"\u{1F469}\u200D\u{1F9B2}","aliases":["bald_woman"]},{"emoji":"\u{1FA70}","aliases":["ballet_shoes"]},{"emoji":"\u{1F388}","aliases":["balloon"]},{"emoji":"\u{1F5F3}\uFE0F","aliases":["ballot_box"]},{"emoji":"\u2611\uFE0F","aliases":["ballot_box_with_check"]},{"emoji":"\u{1F38D}","aliases":["bamboo"]},{"emoji":"\u{1F34C}","aliases":["banana"]},{"emoji":"\u203C\uFE0F","aliases":["bangbang"]},{"emoji":"\u{1F1E7}\u{1F1E9}","aliases":["bangladesh"]},{"emoji":"\u{1FA95}","aliases":["banjo"]},{"emoji":"\u{1F3E6}","aliases":["bank"]},{"emoji":"\u{1F4CA}","aliases":["bar_chart"]},{"emoji":"\u{1F1E7}\u{1F1E7}","aliases":["barbados"]},{"emoji":"\u{1F488}","aliases":["barber"]},{"emoji":"\u26BE","aliases":["baseball"]},{"emoji":"\u{1F9FA}","aliases":["basket"]},{"emoji":"\u{1F3C0}","aliases":["basketball"]},{"emoji":"\u{1F987}","aliases":["bat"]},{"emoji":"\u{1F6C0}","aliases":["bath"]},{"emoji":"\u{1F6C1}","aliases":["bathtub"]},{"emoji":"\u{1F50B}","aliases":["battery"]},{"emoji":"\u{1F3D6}\uFE0F","aliases":["beach_umbrella"]},{"emoji":"\u{1FAD8}","aliases":["beans"]},{"emoji":"\u{1F43B}","aliases":["bear"]},{"emoji":"\u{1F9D4}","aliases":["bearded_person"]},{"emoji":"\u{1F9AB}","aliases":["beaver"]},{"emoji":"\u{1F6CF}\uFE0F","aliases":["bed"]},{"emoji":"\u{1F41D}","aliases":["bee","honeybee"]},{"emoji":"\u{1F37A}","aliases":["beer"]},{"emoji":"\u{1F37B}","aliases":["beers"]},{"emoji":"\u{1FAB2}","aliases":["beetle"]},{"emoji":"\u{1F530}","aliases":["beginner"]},{"emoji":"\u{1F1E7}\u{1F1FE}","aliases":["belarus"]},{"emoji":"\u{1F1E7}\u{1F1EA}","aliases":["belgium"]},{"emoji":"\u{1F1E7}\u{1F1FF}","aliases":["belize"]},{"emoji":"\u{1F514}","aliases":["bell"]},{"emoji":"\u{1FAD1}","aliases":["bell_pepper"]},{"emoji":"\u{1F6CE}\uFE0F","aliases":["bellhop_bell"]},{"emoji":"\u{1F1E7}\u{1F1EF}","aliases":["benin"]},{"emoji":"\u{1F371}","aliases":["bento"]},{"emoji":"\u{1F1E7}\u{1F1F2}","aliases":["bermuda"]},{"emoji":"\u{1F9C3}","aliases":["beverage_box"]},{"emoji":"\u{1F1E7}\u{1F1F9}","aliases":["bhutan"]},{"emoji":"\u{1F6B4}","aliases":["bicyclist"]},{"emoji":"\u{1F6B2}","aliases":["bike"]},{"emoji":"\u{1F6B4}\u200D\u2642\uFE0F","aliases":["biking_man"]},{"emoji":"\u{1F6B4}\u200D\u2640\uFE0F","aliases":["biking_woman"]},{"emoji":"\u{1F459}","aliases":["bikini"]},{"emoji":"\u{1F9E2}","aliases":["billed_cap"]},{"emoji":"\u2623\uFE0F","aliases":["biohazard"]},{"emoji":"\u{1F426}","aliases":["bird"]},{"emoji":"\u{1F382}","aliases":["birthday"]},{"emoji":"\u{1F9AC}","aliases":["bison"]},{"emoji":"\u{1FAE6}","aliases":["biting_lip"]},{"emoji":"\u{1F408}\u200D\u2B1B","aliases":["black_cat"]},{"emoji":"\u26AB","aliases":["black_circle"]},{"emoji":"\u{1F3F4}","aliases":["black_flag"]},{"emoji":"\u{1F5A4}","aliases":["black_heart"]},{"emoji":"\u{1F0CF}","aliases":["black_joker"]},{"emoji":"\u2B1B","aliases":["black_large_square"]},{"emoji":"\u25FE","aliases":["black_medium_small_square"]},{"emoji":"\u25FC\uFE0F","aliases":["black_medium_square"]},{"emoji":"\u2712\uFE0F","aliases":["black_nib"]},{"emoji":"\u25AA\uFE0F","aliases":["black_small_square"]},{"emoji":"\u{1F532}","aliases":["black_square_button"]},{"emoji":"\u{1F471}\u200D\u2642\uFE0F","aliases":["blond_haired_man"]},{"emoji":"\u{1F471}","aliases":["blond_haired_person"]},{"emoji":"\u{1F471}\u200D\u2640\uFE0F","aliases":["blond_haired_woman","blonde_woman"]},{"emoji":"\u{1F33C}","aliases":["blossom"]},{"emoji":"\u{1F421}","aliases":["blowfish"]},{"emoji":"\u{1F4D8}","aliases":["blue_book"]},{"emoji":"\u{1F699}","aliases":["blue_car"]},{"emoji":"\u{1F499}","aliases":["blue_heart"]},{"emoji":"\u{1F7E6}","aliases":["blue_square"]},{"emoji":"\u{1FAD0}","aliases":["blueberries"]},{"emoji":"\u{1F60A}","aliases":["blush"]},{"emoji":"\u{1F417}","aliases":["boar"]},{"emoji":"\u26F5","aliases":["boat","sailboat"]},{"emoji":"\u{1F1E7}\u{1F1F4}","aliases":["bolivia"]},{"emoji":"\u{1F4A3}","aliases":["bomb"]},{"emoji":"\u{1F9B4}","aliases":["bone"]},{"emoji":"\u{1F4D6}","aliases":["book","open_book"]},{"emoji":"\u{1F516}","aliases":["bookmark"]},{"emoji":"\u{1F4D1}","aliases":["bookmark_tabs"]},{"emoji":"\u{1F4DA}","aliases":["books"]},{"emoji":"\u{1F4A5}","aliases":["boom","collision"]},{"emoji":"\u{1FA83}","aliases":["boomerang"]},{"emoji":"\u{1F462}","aliases":["boot"]},{"emoji":"\u{1F1E7}\u{1F1E6}","aliases":["bosnia_herzegovina"]},{"emoji":"\u{1F1E7}\u{1F1FC}","aliases":["botswana"]},{"emoji":"\u26F9\uFE0F\u200D\u2642\uFE0F","aliases":["bouncing_ball_man","basketball_man"]},{"emoji":"\u26F9\uFE0F","aliases":["bouncing_ball_person"]},{"emoji":"\u26F9\uFE0F\u200D\u2640\uFE0F","aliases":["bouncing_ball_woman","basketball_woman"]},{"emoji":"\u{1F490}","aliases":["bouquet"]},{"emoji":"\u{1F1E7}\u{1F1FB}","aliases":["bouvet_island"]},{"emoji":"\u{1F647}","aliases":["bow"]},{"emoji":"\u{1F3F9}","aliases":["bow_and_arrow"]},{"emoji":"\u{1F647}\u200D\u2642\uFE0F","aliases":["bowing_man"]},{"emoji":"\u{1F647}\u200D\u2640\uFE0F","aliases":["bowing_woman"]},{"emoji":"\u{1F963}","aliases":["bowl_with_spoon"]},{"emoji":"\u{1F3B3}","aliases":["bowling"]},{"emoji":"\u{1F94A}","aliases":["boxing_glove"]},{"emoji":"\u{1F466}","aliases":["boy"]},{"emoji":"\u{1F9E0}","aliases":["brain"]},{"emoji":"\u{1F1E7}\u{1F1F7}","aliases":["brazil"]},{"emoji":"\u{1F35E}","aliases":["bread"]},{"emoji":"\u{1F931}","aliases":["breast_feeding"]},{"emoji":"\u{1F9F1}","aliases":["bricks"]},{"emoji":"\u{1F309}","aliases":["bridge_at_night"]},{"emoji":"\u{1F4BC}","aliases":["briefcase"]},{"emoji":"\u{1F1EE}\u{1F1F4}","aliases":["british_indian_ocean_territory"]},{"emoji":"\u{1F1FB}\u{1F1EC}","aliases":["british_virgin_islands"]},{"emoji":"\u{1F966}","aliases":["broccoli"]},{"emoji":"\u{1F494}","aliases":["broken_heart"]},{"emoji":"\u{1F9F9}","aliases":["broom"]},{"emoji":"\u{1F7E4}","aliases":["brown_circle"]},{"emoji":"\u{1F90E}","aliases":["brown_heart"]},{"emoji":"\u{1F7EB}","aliases":["brown_square"]},{"emoji":"\u{1F1E7}\u{1F1F3}","aliases":["brunei"]},{"emoji":"\u{1F9CB}","aliases":["bubble_tea"]},{"emoji":"\u{1FAE7}","aliases":["bubbles"]},{"emoji":"\u{1FAA3}","aliases":["bucket"]},{"emoji":"\u{1F41B}","aliases":["bug"]},{"emoji":"\u{1F3D7}\uFE0F","aliases":["building_construction"]},{"emoji":"\u{1F4A1}","aliases":["bulb"]},{"emoji":"\u{1F1E7}\u{1F1EC}","aliases":["bulgaria"]},{"emoji":"\u{1F685}","aliases":["bullettrain_front"]},{"emoji":"\u{1F684}","aliases":["bullettrain_side"]},{"emoji":"\u{1F1E7}\u{1F1EB}","aliases":["burkina_faso"]},{"emoji":"\u{1F32F}","aliases":["burrito"]},{"emoji":"\u{1F1E7}\u{1F1EE}","aliases":["burundi"]},{"emoji":"\u{1F68C}","aliases":["bus"]},{"emoji":"\u{1F574}\uFE0F","aliases":["business_suit_levitating"]},{"emoji":"\u{1F68F}","aliases":["busstop"]},{"emoji":"\u{1F464}","aliases":["bust_in_silhouette"]},{"emoji":"\u{1F465}","aliases":["busts_in_silhouette"]},{"emoji":"\u{1F9C8}","aliases":["butter"]},{"emoji":"\u{1F98B}","aliases":["butterfly"]},{"emoji":"\u{1F335}","aliases":["cactus"]},{"emoji":"\u{1F370}","aliases":["cake"]},{"emoji":"\u{1F4C6}","aliases":["calendar"]},{"emoji":"\u{1F919}","aliases":["call_me_hand"]},{"emoji":"\u{1F4F2}","aliases":["calling"]},{"emoji":"\u{1F1F0}\u{1F1ED}","aliases":["cambodia"]},{"emoji":"\u{1F42B}","aliases":["camel"]},{"emoji":"\u{1F4F7}","aliases":["camera"]},{"emoji":"\u{1F4F8}","aliases":["camera_flash"]},{"emoji":"\u{1F1E8}\u{1F1F2}","aliases":["cameroon"]},{"emoji":"\u{1F3D5}\uFE0F","aliases":["camping"]},{"emoji":"\u{1F1E8}\u{1F1E6}","aliases":["canada"]},{"emoji":"\u{1F1EE}\u{1F1E8}","aliases":["canary_islands"]},{"emoji":"\u264B","aliases":["cancer"]},{"emoji":"\u{1F56F}\uFE0F","aliases":["candle"]},{"emoji":"\u{1F36C}","aliases":["candy"]},{"emoji":"\u{1F96B}","aliases":["canned_food"]},{"emoji":"\u{1F6F6}","aliases":["canoe"]},{"emoji":"\u{1F1E8}\u{1F1FB}","aliases":["cape_verde"]},{"emoji":"\u{1F520}","aliases":["capital_abcd"]},{"emoji":"\u2651","aliases":["capricorn"]},{"emoji":"\u{1F697}","aliases":["car","red_car"]},{"emoji":"\u{1F5C3}\uFE0F","aliases":["card_file_box"]},{"emoji":"\u{1F4C7}","aliases":["card_index"]},{"emoji":"\u{1F5C2}\uFE0F","aliases":["card_index_dividers"]},{"emoji":"\u{1F1E7}\u{1F1F6}","aliases":["caribbean_netherlands"]},{"emoji":"\u{1F3A0}","aliases":["carousel_horse"]},{"emoji":"\u{1FA9A}","aliases":["carpentry_saw"]},{"emoji":"\u{1F955}","aliases":["carrot"]},{"emoji":"\u{1F938}","aliases":["cartwheeling"]},{"emoji":"\u{1F431}","aliases":["cat"]},{"emoji":"\u{1F408}","aliases":["cat2"]},{"emoji":"\u{1F1F0}\u{1F1FE}","aliases":["cayman_islands"]},{"emoji":"\u{1F4BF}","aliases":["cd"]},{"emoji":"\u{1F1E8}\u{1F1EB}","aliases":["central_african_republic"]},{"emoji":"\u{1F1EA}\u{1F1E6}","aliases":["ceuta_melilla"]},{"emoji":"\u{1F1F9}\u{1F1E9}","aliases":["chad"]},{"emoji":"\u26D3\uFE0F","aliases":["chains"]},{"emoji":"\u{1FA91}","aliases":["chair"]},{"emoji":"\u{1F37E}","aliases":["champagne"]},{"emoji":"\u{1F4B9}","aliases":["chart"]},{"emoji":"\u{1F4C9}","aliases":["chart_with_downwards_trend"]},{"emoji":"\u{1F4C8}","aliases":["chart_with_upwards_trend"]},{"emoji":"\u{1F3C1}","aliases":["checkered_flag"]},{"emoji":"\u{1F9C0}","aliases":["cheese"]},{"emoji":"\u{1F352}","aliases":["cherries"]},{"emoji":"\u{1F338}","aliases":["cherry_blossom"]},{"emoji":"\u265F\uFE0F","aliases":["chess_pawn"]},{"emoji":"\u{1F330}","aliases":["chestnut"]},{"emoji":"\u{1F414}","aliases":["chicken"]},{"emoji":"\u{1F9D2}","aliases":["child"]},{"emoji":"\u{1F6B8}","aliases":["children_crossing"]},{"emoji":"\u{1F1E8}\u{1F1F1}","aliases":["chile"]},{"emoji":"\u{1F43F}\uFE0F","aliases":["chipmunk"]},{"emoji":"\u{1F36B}","aliases":["chocolate_bar"]},{"emoji":"\u{1F962}","aliases":["chopsticks"]},{"emoji":"\u{1F1E8}\u{1F1FD}","aliases":["christmas_island"]},{"emoji":"\u{1F384}","aliases":["christmas_tree"]},{"emoji":"\u26EA","aliases":["church"]},{"emoji":"\u{1F3A6}","aliases":["cinema"]},{"emoji":"\u{1F3AA}","aliases":["circus_tent"]},{"emoji":"\u{1F307}","aliases":["city_sunrise"]},{"emoji":"\u{1F306}","aliases":["city_sunset"]},{"emoji":"\u{1F3D9}\uFE0F","aliases":["cityscape"]},{"emoji":"\u{1F191}","aliases":["cl"]},{"emoji":"\u{1F5DC}\uFE0F","aliases":["clamp"]},{"emoji":"\u{1F44F}","aliases":["clap"]},{"emoji":"\u{1F3AC}","aliases":["clapper"]},{"emoji":"\u{1F3DB}\uFE0F","aliases":["classical_building"]},{"emoji":"\u{1F9D7}","aliases":["climbing"]},{"emoji":"\u{1F9D7}\u200D\u2642\uFE0F","aliases":["climbing_man"]},{"emoji":"\u{1F9D7}\u200D\u2640\uFE0F","aliases":["climbing_woman"]},{"emoji":"\u{1F942}","aliases":["clinking_glasses"]},{"emoji":"\u{1F4CB}","aliases":["clipboard"]},{"emoji":"\u{1F1E8}\u{1F1F5}","aliases":["clipperton_island"]},{"emoji":"\u{1F550}","aliases":["clock1"]},{"emoji":"\u{1F559}","aliases":["clock10"]},{"emoji":"\u{1F565}","aliases":["clock1030"]},{"emoji":"\u{1F55A}","aliases":["clock11"]},{"emoji":"\u{1F566}","aliases":["clock1130"]},{"emoji":"\u{1F55B}","aliases":["clock12"]},{"emoji":"\u{1F567}","aliases":["clock1230"]},{"emoji":"\u{1F55C}","aliases":["clock130"]},{"emoji":"\u{1F551}","aliases":["clock2"]},{"emoji":"\u{1F55D}","aliases":["clock230"]},{"emoji":"\u{1F552}","aliases":["clock3"]},{"emoji":"\u{1F55E}","aliases":["clock330"]},{"emoji":"\u{1F553}","aliases":["clock4"]},{"emoji":"\u{1F55F}","aliases":["clock430"]},{"emoji":"\u{1F554}","aliases":["clock5"]},{"emoji":"\u{1F560}","aliases":["clock530"]},{"emoji":"\u{1F555}","aliases":["clock6"]},{"emoji":"\u{1F561}","aliases":["clock630"]},{"emoji":"\u{1F556}","aliases":["clock7"]},{"emoji":"\u{1F562}","aliases":["clock730"]},{"emoji":"\u{1F557}","aliases":["clock8"]},{"emoji":"\u{1F563}","aliases":["clock830"]},{"emoji":"\u{1F558}","aliases":["clock9"]},{"emoji":"\u{1F564}","aliases":["clock930"]},{"emoji":"\u{1F4D5}","aliases":["closed_book"]},{"emoji":"\u{1F510}","aliases":["closed_lock_with_key"]},{"emoji":"\u{1F302}","aliases":["closed_umbrella"]},{"emoji":"\u2601\uFE0F","aliases":["cloud"]},{"emoji":"\u{1F329}\uFE0F","aliases":["cloud_with_lightning"]},{"emoji":"\u26C8\uFE0F","aliases":["cloud_with_lightning_and_rain"]},{"emoji":"\u{1F327}\uFE0F","aliases":["cloud_with_rain"]},{"emoji":"\u{1F328}\uFE0F","aliases":["cloud_with_snow"]},{"emoji":"\u{1F921}","aliases":["clown_face"]},{"emoji":"\u2663\uFE0F","aliases":["clubs"]},{"emoji":"\u{1F1E8}\u{1F1F3}","aliases":["cn"]},{"emoji":"\u{1F9E5}","aliases":["coat"]},{"emoji":"\u{1FAB3}","aliases":["cockroach"]},{"emoji":"\u{1F378}","aliases":["cocktail"]},{"emoji":"\u{1F965}","aliases":["coconut"]},{"emoji":"\u{1F1E8}\u{1F1E8}","aliases":["cocos_islands"]},{"emoji":"\u2615","aliases":["coffee"]},{"emoji":"\u26B0\uFE0F","aliases":["coffin"]},{"emoji":"\u{1FA99}","aliases":["coin"]},{"emoji":"\u{1F976}","aliases":["cold_face"]},{"emoji":"\u{1F630}","aliases":["cold_sweat"]},{"emoji":"\u{1F1E8}\u{1F1F4}","aliases":["colombia"]},{"emoji":"\u2604\uFE0F","aliases":["comet"]},{"emoji":"\u{1F1F0}\u{1F1F2}","aliases":["comoros"]},{"emoji":"\u{1F9ED}","aliases":["compass"]},{"emoji":"\u{1F4BB}","aliases":["computer"]},{"emoji":"\u{1F5B1}\uFE0F","aliases":["computer_mouse"]},{"emoji":"\u{1F38A}","aliases":["confetti_ball"]},{"emoji":"\u{1F616}","aliases":["confounded"]},{"emoji":"\u{1F615}","aliases":["confused"]},{"emoji":"\u{1F1E8}\u{1F1EC}","aliases":["congo_brazzaville"]},{"emoji":"\u{1F1E8}\u{1F1E9}","aliases":["congo_kinshasa"]},{"emoji":"\u3297\uFE0F","aliases":["congratulations"]},{"emoji":"\u{1F6A7}","aliases":["construction"]},{"emoji":"\u{1F477}","aliases":["construction_worker"]},{"emoji":"\u{1F477}\u200D\u2642\uFE0F","aliases":["construction_worker_man"]},{"emoji":"\u{1F477}\u200D\u2640\uFE0F","aliases":["construction_worker_woman"]},{"emoji":"\u{1F39B}\uFE0F","aliases":["control_knobs"]},{"emoji":"\u{1F3EA}","aliases":["convenience_store"]},{"emoji":"\u{1F9D1}\u200D\u{1F373}","aliases":["cook"]},{"emoji":"\u{1F1E8}\u{1F1F0}","aliases":["cook_islands"]},{"emoji":"\u{1F36A}","aliases":["cookie"]},{"emoji":"\u{1F192}","aliases":["cool"]},{"emoji":"\xA9\uFE0F","aliases":["copyright"]},{"emoji":"\u{1FAB8}","aliases":["coral"]},{"emoji":"\u{1F33D}","aliases":["corn"]},{"emoji":"\u{1F1E8}\u{1F1F7}","aliases":["costa_rica"]},{"emoji":"\u{1F1E8}\u{1F1EE}","aliases":["cote_divoire"]},{"emoji":"\u{1F6CB}\uFE0F","aliases":["couch_and_lamp"]},{"emoji":"\u{1F46B}","aliases":["couple"]},{"emoji":"\u{1F491}","aliases":["couple_with_heart"]},{"emoji":"\u{1F468}\u200D\u2764\uFE0F\u200D\u{1F468}","aliases":["couple_with_heart_man_man"]},{"emoji":"\u{1F469}\u200D\u2764\uFE0F\u200D\u{1F468}","aliases":["couple_with_heart_woman_man"]},{"emoji":"\u{1F469}\u200D\u2764\uFE0F\u200D\u{1F469}","aliases":["couple_with_heart_woman_woman"]},{"emoji":"\u{1F48F}","aliases":["couplekiss"]},{"emoji":"\u{1F468}\u200D\u2764\uFE0F\u200D\u{1F48B}\u200D\u{1F468}","aliases":["couplekiss_man_man"]},{"emoji":"\u{1F469}\u200D\u2764\uFE0F\u200D\u{1F48B}\u200D\u{1F468}","aliases":["couplekiss_man_woman"]},{"emoji":"\u{1F469}\u200D\u2764\uFE0F\u200D\u{1F48B}\u200D\u{1F469}","aliases":["couplekiss_woman_woman"]},{"emoji":"\u{1F42E}","aliases":["cow"]},{"emoji":"\u{1F404}","aliases":["cow2"]},{"emoji":"\u{1F920}","aliases":["cowboy_hat_face"]},{"emoji":"\u{1F980}","aliases":["crab"]},{"emoji":"\u{1F58D}\uFE0F","aliases":["crayon"]},{"emoji":"\u{1F4B3}","aliases":["credit_card"]},{"emoji":"\u{1F319}","aliases":["crescent_moon"]},{"emoji":"\u{1F997}","aliases":["cricket"]},{"emoji":"\u{1F3CF}","aliases":["cricket_game"]},{"emoji":"\u{1F1ED}\u{1F1F7}","aliases":["croatia"]},{"emoji":"\u{1F40A}","aliases":["crocodile"]},{"emoji":"\u{1F950}","aliases":["croissant"]},{"emoji":"\u{1F91E}","aliases":["crossed_fingers"]},{"emoji":"\u{1F38C}","aliases":["crossed_flags"]},{"emoji":"\u2694\uFE0F","aliases":["crossed_swords"]},{"emoji":"\u{1F451}","aliases":["crown"]},{"emoji":"\u{1FA7C}","aliases":["crutch"]},{"emoji":"\u{1F622}","aliases":["cry"]},{"emoji":"\u{1F63F}","aliases":["crying_cat_face"]},{"emoji":"\u{1F52E}","aliases":["crystal_ball"]},{"emoji":"\u{1F1E8}\u{1F1FA}","aliases":["cuba"]},{"emoji":"\u{1F952}","aliases":["cucumber"]},{"emoji":"\u{1F964}","aliases":["cup_with_straw"]},{"emoji":"\u{1F9C1}","aliases":["cupcake"]},{"emoji":"\u{1F498}","aliases":["cupid"]},{"emoji":"\u{1F1E8}\u{1F1FC}","aliases":["curacao"]},{"emoji":"\u{1F94C}","aliases":["curling_stone"]},{"emoji":"\u{1F468}\u200D\u{1F9B1}","aliases":["curly_haired_man"]},{"emoji":"\u{1F469}\u200D\u{1F9B1}","aliases":["curly_haired_woman"]},{"emoji":"\u27B0","aliases":["curly_loop"]},{"emoji":"\u{1F4B1}","aliases":["currency_exchange"]},{"emoji":"\u{1F35B}","aliases":["curry"]},{"emoji":"\u{1F92C}","aliases":["cursing_face"]},{"emoji":"\u{1F36E}","aliases":["custard"]},{"emoji":"\u{1F6C3}","aliases":["customs"]},{"emoji":"\u{1F969}","aliases":["cut_of_meat"]},{"emoji":"\u{1F300}","aliases":["cyclone"]},{"emoji":"\u{1F1E8}\u{1F1FE}","aliases":["cyprus"]},{"emoji":"\u{1F1E8}\u{1F1FF}","aliases":["czech_republic"]},{"emoji":"\u{1F5E1}\uFE0F","aliases":["dagger"]},{"emoji":"\u{1F46F}","aliases":["dancers"]},{"emoji":"\u{1F46F}\u200D\u2642\uFE0F","aliases":["dancing_men"]},{"emoji":"\u{1F46F}\u200D\u2640\uFE0F","aliases":["dancing_women"]},{"emoji":"\u{1F361}","aliases":["dango"]},{"emoji":"\u{1F576}\uFE0F","aliases":["dark_sunglasses"]},{"emoji":"\u{1F3AF}","aliases":["dart"]},{"emoji":"\u{1F4A8}","aliases":["dash"]},{"emoji":"\u{1F4C5}","aliases":["date"]},{"emoji":"\u{1F1E9}\u{1F1EA}","aliases":["de"]},{"emoji":"\u{1F9CF}\u200D\u2642\uFE0F","aliases":["deaf_man"]},{"emoji":"\u{1F9CF}","aliases":["deaf_person"]},{"emoji":"\u{1F9CF}\u200D\u2640\uFE0F","aliases":["deaf_woman"]},{"emoji":"\u{1F333}","aliases":["deciduous_tree"]},{"emoji":"\u{1F98C}","aliases":["deer"]},{"emoji":"\u{1F1E9}\u{1F1F0}","aliases":["denmark"]},{"emoji":"\u{1F3EC}","aliases":["department_store"]},{"emoji":"\u{1F3DA}\uFE0F","aliases":["derelict_house"]},{"emoji":"\u{1F3DC}\uFE0F","aliases":["desert"]},{"emoji":"\u{1F3DD}\uFE0F","aliases":["desert_island"]},{"emoji":"\u{1F5A5}\uFE0F","aliases":["desktop_computer"]},{"emoji":"\u{1F575}\uFE0F","aliases":["detective"]},{"emoji":"\u{1F4A0}","aliases":["diamond_shape_with_a_dot_inside"]},{"emoji":"\u2666\uFE0F","aliases":["diamonds"]},{"emoji":"\u{1F1E9}\u{1F1EC}","aliases":["diego_garcia"]},{"emoji":"\u{1F61E}","aliases":["disappointed"]},{"emoji":"\u{1F625}","aliases":["disappointed_relieved"]},{"emoji":"\u{1F978}","aliases":["disguised_face"]},{"emoji":"\u{1F93F}","aliases":["diving_mask"]},{"emoji":"\u{1FA94}","aliases":["diya_lamp"]},{"emoji":"\u{1F4AB}","aliases":["dizzy"]},{"emoji":"\u{1F635}","aliases":["dizzy_face"]},{"emoji":"\u{1F1E9}\u{1F1EF}","aliases":["djibouti"]},{"emoji":"\u{1F9EC}","aliases":["dna"]},{"emoji":"\u{1F6AF}","aliases":["do_not_litter"]},{"emoji":"\u{1F9A4}","aliases":["dodo"]},{"emoji":"\u{1F436}","aliases":["dog"]},{"emoji":"\u{1F415}","aliases":["dog2"]},{"emoji":"\u{1F4B5}","aliases":["dollar"]},{"emoji":"\u{1F38E}","aliases":["dolls"]},{"emoji":"\u{1F42C}","aliases":["dolphin","flipper"]},{"emoji":"\u{1F1E9}\u{1F1F2}","aliases":["dominica"]},{"emoji":"\u{1F1E9}\u{1F1F4}","aliases":["dominican_republic"]},{"emoji":"\u{1F6AA}","aliases":["door"]},{"emoji":"\u{1FAE5}","aliases":["dotted_line_face"]},{"emoji":"\u{1F369}","aliases":["doughnut"]},{"emoji":"\u{1F54A}\uFE0F","aliases":["dove"]},{"emoji":"\u{1F409}","aliases":["dragon"]},{"emoji":"\u{1F432}","aliases":["dragon_face"]},{"emoji":"\u{1F457}","aliases":["dress"]},{"emoji":"\u{1F42A}","aliases":["dromedary_camel"]},{"emoji":"\u{1F924}","aliases":["drooling_face"]},{"emoji":"\u{1FA78}","aliases":["drop_of_blood"]},{"emoji":"\u{1F4A7}","aliases":["droplet"]},{"emoji":"\u{1F941}","aliases":["drum"]},{"emoji":"\u{1F986}","aliases":["duck"]},{"emoji":"\u{1F95F}","aliases":["dumpling"]},{"emoji":"\u{1F4C0}","aliases":["dvd"]},{"emoji":"\u{1F985}","aliases":["eagle"]},{"emoji":"\u{1F442}","aliases":["ear"]},{"emoji":"\u{1F33E}","aliases":["ear_of_rice"]},{"emoji":"\u{1F9BB}","aliases":["ear_with_hearing_aid"]},{"emoji":"\u{1F30D}","aliases":["earth_africa"]},{"emoji":"\u{1F30E}","aliases":["earth_americas"]},{"emoji":"\u{1F30F}","aliases":["earth_asia"]},{"emoji":"\u{1F1EA}\u{1F1E8}","aliases":["ecuador"]},{"emoji":"\u{1F95A}","aliases":["egg"]},{"emoji":"\u{1F346}","aliases":["eggplant"]},{"emoji":"\u{1F1EA}\u{1F1EC}","aliases":["egypt"]},{"emoji":"8\uFE0F\u20E3","aliases":["eight"]},{"emoji":"\u2734\uFE0F","aliases":["eight_pointed_black_star"]},{"emoji":"\u2733\uFE0F","aliases":["eight_spoked_asterisk"]},{"emoji":"\u23CF\uFE0F","aliases":["eject_button"]},{"emoji":"\u{1F1F8}\u{1F1FB}","aliases":["el_salvador"]},{"emoji":"\u{1F50C}","aliases":["electric_plug"]},{"emoji":"\u{1F418}","aliases":["elephant"]},{"emoji":"\u{1F6D7}","aliases":["elevator"]},{"emoji":"\u{1F9DD}","aliases":["elf"]},{"emoji":"\u{1F9DD}\u200D\u2642\uFE0F","aliases":["elf_man"]},{"emoji":"\u{1F9DD}\u200D\u2640\uFE0F","aliases":["elf_woman"]},{"emoji":"\u{1F4E7}","aliases":["email","e-mail"]},{"emoji":"\u{1FAB9}","aliases":["empty_nest"]},{"emoji":"\u{1F51A}","aliases":["end"]},{"emoji":"\u{1F3F4}\u{E0067}\u{E0062}\u{E0065}\u{E006E}\u{E0067}\u{E007F}","aliases":["england"]},{"emoji":"\u2709\uFE0F","aliases":["envelope"]},{"emoji":"\u{1F4E9}","aliases":["envelope_with_arrow"]},{"emoji":"\u{1F1EC}\u{1F1F6}","aliases":["equatorial_guinea"]},{"emoji":"\u{1F1EA}\u{1F1F7}","aliases":["eritrea"]},{"emoji":"\u{1F1EA}\u{1F1F8}","aliases":["es"]},{"emoji":"\u{1F1EA}\u{1F1EA}","aliases":["estonia"]},{"emoji":"\u{1F1EA}\u{1F1F9}","aliases":["ethiopia"]},{"emoji":"\u{1F1EA}\u{1F1FA}","aliases":["eu","european_union"]},{"emoji":"\u{1F4B6}","aliases":["euro"]},{"emoji":"\u{1F3F0}","aliases":["european_castle"]},{"emoji":"\u{1F3E4}","aliases":["european_post_office"]},{"emoji":"\u{1F332}","aliases":["evergreen_tree"]},{"emoji":"\u2757","aliases":["exclamation","heavy_exclamation_mark"]},{"emoji":"\u{1F92F}","aliases":["exploding_head"]},{"emoji":"\u{1F611}","aliases":["expressionless"]},{"emoji":"\u{1F441}\uFE0F","aliases":["eye"]},{"emoji":"\u{1F441}\uFE0F\u200D\u{1F5E8}\uFE0F","aliases":["eye_speech_bubble"]},{"emoji":"\u{1F453}","aliases":["eyeglasses"]},{"emoji":"\u{1F440}","aliases":["eyes"]},{"emoji":"\u{1F62E}\u200D\u{1F4A8}","aliases":["face_exhaling"]},{"emoji":"\u{1F979}","aliases":["face_holding_back_tears"]},{"emoji":"\u{1F636}\u200D\u{1F32B}\uFE0F","aliases":["face_in_clouds"]},{"emoji":"\u{1FAE4}","aliases":["face_with_diagonal_mouth"]},{"emoji":"\u{1F915}","aliases":["face_with_head_bandage"]},{"emoji":"\u{1FAE2}","aliases":["face_with_open_eyes_and_hand_over_mouth"]},{"emoji":"\u{1FAE3}","aliases":["face_with_peeking_eye"]},{"emoji":"\u{1F635}\u200D\u{1F4AB}","aliases":["face_with_spiral_eyes"]},{"emoji":"\u{1F912}","aliases":["face_with_thermometer"]},{"emoji":"\u{1F926}","aliases":["facepalm"]},{"emoji":"\u{1F3ED}","aliases":["factory"]},{"emoji":"\u{1F9D1}\u200D\u{1F3ED}","aliases":["factory_worker"]},{"emoji":"\u{1F9DA}","aliases":["fairy"]},{"emoji":"\u{1F9DA}\u200D\u2642\uFE0F","aliases":["fairy_man"]},{"emoji":"\u{1F9DA}\u200D\u2640\uFE0F","aliases":["fairy_woman"]},{"emoji":"\u{1F9C6}","aliases":["falafel"]},{"emoji":"\u{1F1EB}\u{1F1F0}","aliases":["falkland_islands"]},{"emoji":"\u{1F342}","aliases":["fallen_leaf"]},{"emoji":"\u{1F46A}","aliases":["family"]},{"emoji":"\u{1F468}\u200D\u{1F466}","aliases":["family_man_boy"]},{"emoji":"\u{1F468}\u200D\u{1F466}\u200D\u{1F466}","aliases":["family_man_boy_boy"]},{"emoji":"\u{1F468}\u200D\u{1F467}","aliases":["family_man_girl"]},{"emoji":"\u{1F468}\u200D\u{1F467}\u200D\u{1F466}","aliases":["family_man_girl_boy"]},{"emoji":"\u{1F468}\u200D\u{1F467}\u200D\u{1F467}","aliases":["family_man_girl_girl"]},{"emoji":"\u{1F468}\u200D\u{1F468}\u200D\u{1F466}","aliases":["family_man_man_boy"]},{"emoji":"\u{1F468}\u200D\u{1F468}\u200D\u{1F466}\u200D\u{1F466}","aliases":["family_man_man_boy_boy"]},{"emoji":"\u{1F468}\u200D\u{1F468}\u200D\u{1F467}","aliases":["family_man_man_girl"]},{"emoji":"\u{1F468}\u200D\u{1F468}\u200D\u{1F467}\u200D\u{1F466}","aliases":["family_man_man_girl_boy"]},{"emoji":"\u{1F468}\u200D\u{1F468}\u200D\u{1F467}\u200D\u{1F467}","aliases":["family_man_man_girl_girl"]},{"emoji":"\u{1F468}\u200D\u{1F469}\u200D\u{1F466}","aliases":["family_man_woman_boy"]},{"emoji":"\u{1F468}\u200D\u{1F469}\u200D\u{1F466}\u200D\u{1F466}","aliases":["family_man_woman_boy_boy"]},{"emoji":"\u{1F468}\u200D\u{1F469}\u200D\u{1F467}","aliases":["family_man_woman_girl"]},{"emoji":"\u{1F468}\u200D\u{1F469}\u200D\u{1F467}\u200D\u{1F466}","aliases":["family_man_woman_girl_boy"]},{"emoji":"\u{1F468}\u200D\u{1F469}\u200D\u{1F467}\u200D\u{1F467}","aliases":["family_man_woman_girl_girl"]},{"emoji":"\u{1F469}\u200D\u{1F466}","aliases":["family_woman_boy"]},{"emoji":"\u{1F469}\u200D\u{1F466}\u200D\u{1F466}","aliases":["family_woman_boy_boy"]},{"emoji":"\u{1F469}\u200D\u{1F467}","aliases":["family_woman_girl"]},{"emoji":"\u{1F469}\u200D\u{1F467}\u200D\u{1F466}","aliases":["family_woman_girl_boy"]},{"emoji":"\u{1F469}\u200D\u{1F467}\u200D\u{1F467}","aliases":["family_woman_girl_girl"]},{"emoji":"\u{1F469}\u200D\u{1F469}\u200D\u{1F466}","aliases":["family_woman_woman_boy"]},{"emoji":"\u{1F469}\u200D\u{1F469}\u200D\u{1F466}\u200D\u{1F466}","aliases":["family_woman_woman_boy_boy"]},{"emoji":"\u{1F469}\u200D\u{1F469}\u200D\u{1F467}","aliases":["family_woman_woman_girl"]},{"emoji":"\u{1F469}\u200D\u{1F469}\u200D\u{1F467}\u200D\u{1F466}","aliases":["family_woman_woman_girl_boy"]},{"emoji":"\u{1F469}\u200D\u{1F469}\u200D\u{1F467}\u200D\u{1F467}","aliases":["family_woman_woman_girl_girl"]},{"emoji":"\u{1F9D1}\u200D\u{1F33E}","aliases":["farmer"]},{"emoji":"\u{1F1EB}\u{1F1F4}","aliases":["faroe_islands"]},{"emoji":"\u23E9","aliases":["fast_forward"]},{"emoji":"\u{1F4E0}","aliases":["fax"]},{"emoji":"\u{1F628}","aliases":["fearful"]},{"emoji":"\u{1FAB6}","aliases":["feather"]},{"emoji":"\u{1F43E}","aliases":["feet","paw_prints"]},{"emoji":"\u{1F575}\uFE0F\u200D\u2640\uFE0F","aliases":["female_detective"]},{"emoji":"\u2640\uFE0F","aliases":["female_sign"]},{"emoji":"\u{1F3A1}","aliases":["ferris_wheel"]},{"emoji":"\u26F4\uFE0F","aliases":["ferry"]},{"emoji":"\u{1F3D1}","aliases":["field_hockey"]},{"emoji":"\u{1F1EB}\u{1F1EF}","aliases":["fiji"]},{"emoji":"\u{1F5C4}\uFE0F","aliases":["file_cabinet"]},{"emoji":"\u{1F4C1}","aliases":["file_folder"]},{"emoji":"\u{1F4FD}\uFE0F","aliases":["film_projector"]},{"emoji":"\u{1F39E}\uFE0F","aliases":["film_strip"]},{"emoji":"\u{1F1EB}\u{1F1EE}","aliases":["finland"]},{"emoji":"\u{1F525}","aliases":["fire"]},{"emoji":"\u{1F692}","aliases":["fire_engine"]},{"emoji":"\u{1F9EF}","aliases":["fire_extinguisher"]},{"emoji":"\u{1F9E8}","aliases":["firecracker"]},{"emoji":"\u{1F9D1}\u200D\u{1F692}","aliases":["firefighter"]},{"emoji":"\u{1F386}","aliases":["fireworks"]},{"emoji":"\u{1F313}","aliases":["first_quarter_moon"]},{"emoji":"\u{1F31B}","aliases":["first_quarter_moon_with_face"]},{"emoji":"\u{1F41F}","aliases":["fish"]},{"emoji":"\u{1F365}","aliases":["fish_cake"]},{"emoji":"\u{1F3A3}","aliases":["fishing_pole_and_fish"]},{"emoji":"\u{1F91B}","aliases":["fist_left"]},{"emoji":"\u{1F44A}","aliases":["fist_oncoming","facepunch","punch"]},{"emoji":"\u270A","aliases":["fist_raised","fist"]},{"emoji":"\u{1F91C}","aliases":["fist_right"]},{"emoji":"5\uFE0F\u20E3","aliases":["five"]},{"emoji":"\u{1F38F}","aliases":["flags"]},{"emoji":"\u{1F9A9}","aliases":["flamingo"]},{"emoji":"\u{1F526}","aliases":["flashlight"]},{"emoji":"\u{1F97F}","aliases":["flat_shoe"]},{"emoji":"\u{1FAD3}","aliases":["flatbread"]},{"emoji":"\u269C\uFE0F","aliases":["fleur_de_lis"]},{"emoji":"\u{1F6EC}","aliases":["flight_arrival"]},{"emoji":"\u{1F6EB}","aliases":["flight_departure"]},{"emoji":"\u{1F4BE}","aliases":["floppy_disk"]},{"emoji":"\u{1F3B4}","aliases":["flower_playing_cards"]},{"emoji":"\u{1F633}","aliases":["flushed"]},{"emoji":"\u{1FAB0}","aliases":["fly"]},{"emoji":"\u{1F94F}","aliases":["flying_disc"]},{"emoji":"\u{1F6F8}","aliases":["flying_saucer"]},{"emoji":"\u{1F32B}\uFE0F","aliases":["fog"]},{"emoji":"\u{1F301}","aliases":["foggy"]},{"emoji":"\u{1FAD5}","aliases":["fondue"]},{"emoji":"\u{1F9B6}","aliases":["foot"]},{"emoji":"\u{1F3C8}","aliases":["football"]},{"emoji":"\u{1F463}","aliases":["footprints"]},{"emoji":"\u{1F374}","aliases":["fork_and_knife"]},{"emoji":"\u{1F960}","aliases":["fortune_cookie"]},{"emoji":"\u26F2","aliases":["fountain"]},{"emoji":"\u{1F58B}\uFE0F","aliases":["fountain_pen"]},{"emoji":"4\uFE0F\u20E3","aliases":["four"]},{"emoji":"\u{1F340}","aliases":["four_leaf_clover"]},{"emoji":"\u{1F98A}","aliases":["fox_face"]},{"emoji":"\u{1F1EB}\u{1F1F7}","aliases":["fr"]},{"emoji":"\u{1F5BC}\uFE0F","aliases":["framed_picture"]},{"emoji":"\u{1F193}","aliases":["free"]},{"emoji":"\u{1F1EC}\u{1F1EB}","aliases":["french_guiana"]},{"emoji":"\u{1F1F5}\u{1F1EB}","aliases":["french_polynesia"]},{"emoji":"\u{1F1F9}\u{1F1EB}","aliases":["french_southern_territories"]},{"emoji":"\u{1F373}","aliases":["fried_egg"]},{"emoji":"\u{1F364}","aliases":["fried_shrimp"]},{"emoji":"\u{1F35F}","aliases":["fries"]},{"emoji":"\u{1F438}","aliases":["frog"]},{"emoji":"\u{1F626}","aliases":["frowning"]},{"emoji":"\u2639\uFE0F","aliases":["frowning_face"]},{"emoji":"\u{1F64D}\u200D\u2642\uFE0F","aliases":["frowning_man"]},{"emoji":"\u{1F64D}","aliases":["frowning_person"]},{"emoji":"\u{1F64D}\u200D\u2640\uFE0F","aliases":["frowning_woman"]},{"emoji":"\u26FD","aliases":["fuelpump"]},{"emoji":"\u{1F315}","aliases":["full_moon"]},{"emoji":"\u{1F31D}","aliases":["full_moon_with_face"]},{"emoji":"\u26B1\uFE0F","aliases":["funeral_urn"]},{"emoji":"\u{1F1EC}\u{1F1E6}","aliases":["gabon"]},{"emoji":"\u{1F1EC}\u{1F1F2}","aliases":["gambia"]},{"emoji":"\u{1F3B2}","aliases":["game_die"]},{"emoji":"\u{1F9C4}","aliases":["garlic"]},{"emoji":"\u{1F1EC}\u{1F1E7}","aliases":["gb","uk"]},{"emoji":"\u2699\uFE0F","aliases":["gear"]},{"emoji":"\u{1F48E}","aliases":["gem"]},{"emoji":"\u264A","aliases":["gemini"]},{"emoji":"\u{1F9DE}","aliases":["genie"]},{"emoji":"\u{1F9DE}\u200D\u2642\uFE0F","aliases":["genie_man"]},{"emoji":"\u{1F9DE}\u200D\u2640\uFE0F","aliases":["genie_woman"]},{"emoji":"\u{1F1EC}\u{1F1EA}","aliases":["georgia"]},{"emoji":"\u{1F1EC}\u{1F1ED}","aliases":["ghana"]},{"emoji":"\u{1F47B}","aliases":["ghost"]},{"emoji":"\u{1F1EC}\u{1F1EE}","aliases":["gibraltar"]},{"emoji":"\u{1F381}","aliases":["gift"]},{"emoji":"\u{1F49D}","aliases":["gift_heart"]},{"emoji":"\u{1F992}","aliases":["giraffe"]},{"emoji":"\u{1F467}","aliases":["girl"]},{"emoji":"\u{1F310}","aliases":["globe_with_meridians"]},{"emoji":"\u{1F9E4}","aliases":["gloves"]},{"emoji":"\u{1F945}","aliases":["goal_net"]},{"emoji":"\u{1F410}","aliases":["goat"]},{"emoji":"\u{1F97D}","aliases":["goggles"]},{"emoji":"\u26F3","aliases":["golf"]},{"emoji":"\u{1F3CC}\uFE0F","aliases":["golfing"]},{"emoji":"\u{1F3CC}\uFE0F\u200D\u2642\uFE0F","aliases":["golfing_man"]},{"emoji":"\u{1F3CC}\uFE0F\u200D\u2640\uFE0F","aliases":["golfing_woman"]},{"emoji":"\u{1F98D}","aliases":["gorilla"]},{"emoji":"\u{1F347}","aliases":["grapes"]},{"emoji":"\u{1F1EC}\u{1F1F7}","aliases":["greece"]},{"emoji":"\u{1F34F}","aliases":["green_apple"]},{"emoji":"\u{1F4D7}","aliases":["green_book"]},{"emoji":"\u{1F7E2}","aliases":["green_circle"]},{"emoji":"\u{1F49A}","aliases":["green_heart"]},{"emoji":"\u{1F957}","aliases":["green_salad"]},{"emoji":"\u{1F7E9}","aliases":["green_square"]},{"emoji":"\u{1F1EC}\u{1F1F1}","aliases":["greenland"]},{"emoji":"\u{1F1EC}\u{1F1E9}","aliases":["grenada"]},{"emoji":"\u2755","aliases":["grey_exclamation"]},{"emoji":"\u2754","aliases":["grey_question"]},{"emoji":"\u{1F62C}","aliases":["grimacing"]},{"emoji":"\u{1F601}","aliases":["grin"]},{"emoji":"\u{1F600}","aliases":["grinning"]},{"emoji":"\u{1F1EC}\u{1F1F5}","aliases":["guadeloupe"]},{"emoji":"\u{1F1EC}\u{1F1FA}","aliases":["guam"]},{"emoji":"\u{1F482}","aliases":["guard"]},{"emoji":"\u{1F482}\u200D\u2642\uFE0F","aliases":["guardsman"]},{"emoji":"\u{1F482}\u200D\u2640\uFE0F","aliases":["guardswoman"]},{"emoji":"\u{1F1EC}\u{1F1F9}","aliases":["guatemala"]},{"emoji":"\u{1F1EC}\u{1F1EC}","aliases":["guernsey"]},{"emoji":"\u{1F9AE}","aliases":["guide_dog"]},{"emoji":"\u{1F1EC}\u{1F1F3}","aliases":["guinea"]},{"emoji":"\u{1F1EC}\u{1F1FC}","aliases":["guinea_bissau"]},{"emoji":"\u{1F3B8}","aliases":["guitar"]},{"emoji":"\u{1F52B}","aliases":["gun"]},{"emoji":"\u{1F1EC}\u{1F1FE}","aliases":["guyana"]},{"emoji":"\u{1F487}","aliases":["haircut"]},{"emoji":"\u{1F487}\u200D\u2642\uFE0F","aliases":["haircut_man"]},{"emoji":"\u{1F487}\u200D\u2640\uFE0F","aliases":["haircut_woman"]},{"emoji":"\u{1F1ED}\u{1F1F9}","aliases":["haiti"]},{"emoji":"\u{1F354}","aliases":["hamburger"]},{"emoji":"\u{1F528}","aliases":["hammer"]},{"emoji":"\u2692\uFE0F","aliases":["hammer_and_pick"]},{"emoji":"\u{1F6E0}\uFE0F","aliases":["hammer_and_wrench"]},{"emoji":"\u{1FAAC}","aliases":["hamsa"]},{"emoji":"\u{1F439}","aliases":["hamster"]},{"emoji":"\u270B","aliases":["hand","raised_hand"]},{"emoji":"\u{1F92D}","aliases":["hand_over_mouth"]},{"emoji":"\u{1FAF0}","aliases":["hand_with_index_finger_and_thumb_crossed"]},{"emoji":"\u{1F45C}","aliases":["handbag"]},{"emoji":"\u{1F93E}","aliases":["handball_person"]},{"emoji":"\u{1F91D}","aliases":["handshake"]},{"emoji":"\u{1F4A9}","aliases":["hankey","poop","shit"]},{"emoji":"#\uFE0F\u20E3","aliases":["hash"]},{"emoji":"\u{1F425}","aliases":["hatched_chick"]},{"emoji":"\u{1F423}","aliases":["hatching_chick"]},{"emoji":"\u{1F3A7}","aliases":["headphones"]},{"emoji":"\u{1FAA6}","aliases":["headstone"]},{"emoji":"\u{1F9D1}\u200D\u2695\uFE0F","aliases":["health_worker"]},{"emoji":"\u{1F649}","aliases":["hear_no_evil"]},{"emoji":"\u{1F1ED}\u{1F1F2}","aliases":["heard_mcdonald_islands"]},{"emoji":"\u2764\uFE0F","aliases":["heart"]},{"emoji":"\u{1F49F}","aliases":["heart_decoration"]},{"emoji":"\u{1F60D}","aliases":["heart_eyes"]},{"emoji":"\u{1F63B}","aliases":["heart_eyes_cat"]},{"emoji":"\u{1FAF6}","aliases":["heart_hands"]},{"emoji":"\u2764\uFE0F\u200D\u{1F525}","aliases":["heart_on_fire"]},{"emoji":"\u{1F493}","aliases":["heartbeat"]},{"emoji":"\u{1F497}","aliases":["heartpulse"]},{"emoji":"\u2665\uFE0F","aliases":["hearts"]},{"emoji":"\u2714\uFE0F","aliases":["heavy_check_mark"]},{"emoji":"\u2797","aliases":["heavy_division_sign"]},{"emoji":"\u{1F4B2}","aliases":["heavy_dollar_sign"]},{"emoji":"\u{1F7F0}","aliases":["heavy_equals_sign"]},{"emoji":"\u2763\uFE0F","aliases":["heavy_heart_exclamation"]},{"emoji":"\u2796","aliases":["heavy_minus_sign"]},{"emoji":"\u2716\uFE0F","aliases":["heavy_multiplication_x"]},{"emoji":"\u2795","aliases":["heavy_plus_sign"]},{"emoji":"\u{1F994}","aliases":["hedgehog"]},{"emoji":"\u{1F681}","aliases":["helicopter"]},{"emoji":"\u{1F33F}","aliases":["herb"]},{"emoji":"\u{1F33A}","aliases":["hibiscus"]},{"emoji":"\u{1F506}","aliases":["high_brightness"]},{"emoji":"\u{1F460}","aliases":["high_heel"]},{"emoji":"\u{1F97E}","aliases":["hiking_boot"]},{"emoji":"\u{1F6D5}","aliases":["hindu_temple"]},{"emoji":"\u{1F99B}","aliases":["hippopotamus"]},{"emoji":"\u{1F52A}","aliases":["hocho","knife"]},{"emoji":"\u{1F573}\uFE0F","aliases":["hole"]},{"emoji":"\u{1F1ED}\u{1F1F3}","aliases":["honduras"]},{"emoji":"\u{1F36F}","aliases":["honey_pot"]},{"emoji":"\u{1F1ED}\u{1F1F0}","aliases":["hong_kong"]},{"emoji":"\u{1FA9D}","aliases":["hook"]},{"emoji":"\u{1F434}","aliases":["horse"]},{"emoji":"\u{1F3C7}","aliases":["horse_racing"]},{"emoji":"\u{1F3E5}","aliases":["hospital"]},{"emoji":"\u{1F975}","aliases":["hot_face"]},{"emoji":"\u{1F336}\uFE0F","aliases":["hot_pepper"]},{"emoji":"\u{1F32D}","aliases":["hotdog"]},{"emoji":"\u{1F3E8}","aliases":["hotel"]},{"emoji":"\u2668\uFE0F","aliases":["hotsprings"]},{"emoji":"\u231B","aliases":["hourglass"]},{"emoji":"\u23F3","aliases":["hourglass_flowing_sand"]},{"emoji":"\u{1F3E0}","aliases":["house"]},{"emoji":"\u{1F3E1}","aliases":["house_with_garden"]},{"emoji":"\u{1F3D8}\uFE0F","aliases":["houses"]},{"emoji":"\u{1F917}","aliases":["hugs"]},{"emoji":"\u{1F1ED}\u{1F1FA}","aliases":["hungary"]},{"emoji":"\u{1F62F}","aliases":["hushed"]},{"emoji":"\u{1F6D6}","aliases":["hut"]},{"emoji":"\u{1F368}","aliases":["ice_cream"]},{"emoji":"\u{1F9CA}","aliases":["ice_cube"]},{"emoji":"\u{1F3D2}","aliases":["ice_hockey"]},{"emoji":"\u26F8\uFE0F","aliases":["ice_skate"]},{"emoji":"\u{1F366}","aliases":["icecream"]},{"emoji":"\u{1F1EE}\u{1F1F8}","aliases":["iceland"]},{"emoji":"\u{1F194}","aliases":["id"]},{"emoji":"\u{1FAAA}","aliases":["identification_card"]},{"emoji":"\u{1F250}","aliases":["ideograph_advantage"]},{"emoji":"\u{1F47F}","aliases":["imp"]},{"emoji":"\u{1F4E5}","aliases":["inbox_tray"]},{"emoji":"\u{1F4E8}","aliases":["incoming_envelope"]},{"emoji":"\u{1FAF5}","aliases":["index_pointing_at_the_viewer"]},{"emoji":"\u{1F1EE}\u{1F1F3}","aliases":["india"]},{"emoji":"\u{1F1EE}\u{1F1E9}","aliases":["indonesia"]},{"emoji":"\u267E\uFE0F","aliases":["infinity"]},{"emoji":"\u2139\uFE0F","aliases":["information_source"]},{"emoji":"\u{1F607}","aliases":["innocent"]},{"emoji":"\u2049\uFE0F","aliases":["interrobang"]},{"emoji":"\u{1F4F1}","aliases":["iphone"]},{"emoji":"\u{1F1EE}\u{1F1F7}","aliases":["iran"]},{"emoji":"\u{1F1EE}\u{1F1F6}","aliases":["iraq"]},{"emoji":"\u{1F1EE}\u{1F1EA}","aliases":["ireland"]},{"emoji":"\u{1F1EE}\u{1F1F2}","aliases":["isle_of_man"]},{"emoji":"\u{1F1EE}\u{1F1F1}","aliases":["israel"]},{"emoji":"\u{1F1EE}\u{1F1F9}","aliases":["it"]},{"emoji":"\u{1F3EE}","aliases":["izakaya_lantern","lantern"]},{"emoji":"\u{1F383}","aliases":["jack_o_lantern"]},{"emoji":"\u{1F1EF}\u{1F1F2}","aliases":["jamaica"]},{"emoji":"\u{1F5FE}","aliases":["japan"]},{"emoji":"\u{1F3EF}","aliases":["japanese_castle"]},{"emoji":"\u{1F47A}","aliases":["japanese_goblin"]},{"emoji":"\u{1F479}","aliases":["japanese_ogre"]},{"emoji":"\u{1FAD9}","aliases":["jar"]},{"emoji":"\u{1F456}","aliases":["jeans"]},{"emoji":"\u{1F1EF}\u{1F1EA}","aliases":["jersey"]},{"emoji":"\u{1F9E9}","aliases":["jigsaw"]},{"emoji":"\u{1F1EF}\u{1F1F4}","aliases":["jordan"]},{"emoji":"\u{1F602}","aliases":["joy"]},{"emoji":"\u{1F639}","aliases":["joy_cat"]},{"emoji":"\u{1F579}\uFE0F","aliases":["joystick"]},{"emoji":"\u{1F1EF}\u{1F1F5}","aliases":["jp"]},{"emoji":"\u{1F9D1}\u200D\u2696\uFE0F","aliases":["judge"]},{"emoji":"\u{1F939}","aliases":["juggling_person"]},{"emoji":"\u{1F54B}","aliases":["kaaba"]},{"emoji":"\u{1F998}","aliases":["kangaroo"]},{"emoji":"\u{1F1F0}\u{1F1FF}","aliases":["kazakhstan"]},{"emoji":"\u{1F1F0}\u{1F1EA}","aliases":["kenya"]},{"emoji":"\u{1F511}","aliases":["key"]},{"emoji":"\u2328\uFE0F","aliases":["keyboard"]},{"emoji":"\u{1F51F}","aliases":["keycap_ten"]},{"emoji":"\u{1F6F4}","aliases":["kick_scooter"]},{"emoji":"\u{1F458}","aliases":["kimono"]},{"emoji":"\u{1F1F0}\u{1F1EE}","aliases":["kiribati"]},{"emoji":"\u{1F48B}","aliases":["kiss"]},{"emoji":"\u{1F617}","aliases":["kissing"]},{"emoji":"\u{1F63D}","aliases":["kissing_cat"]},{"emoji":"\u{1F61A}","aliases":["kissing_closed_eyes"]},{"emoji":"\u{1F618}","aliases":["kissing_heart"]},{"emoji":"\u{1F619}","aliases":["kissing_smiling_eyes"]},{"emoji":"\u{1FA81}","aliases":["kite"]},{"emoji":"\u{1F95D}","aliases":["kiwi_fruit"]},{"emoji":"\u{1F9CE}\u200D\u2642\uFE0F","aliases":["kneeling_man"]},{"emoji":"\u{1F9CE}","aliases":["kneeling_person"]},{"emoji":"\u{1F9CE}\u200D\u2640\uFE0F","aliases":["kneeling_woman"]},{"emoji":"\u{1FAA2}","aliases":["knot"]},{"emoji":"\u{1F428}","aliases":["koala"]},{"emoji":"\u{1F201}","aliases":["koko"]},{"emoji":"\u{1F1FD}\u{1F1F0}","aliases":["kosovo"]},{"emoji":"\u{1F1F0}\u{1F1F7}","aliases":["kr"]},{"emoji":"\u{1F1F0}\u{1F1FC}","aliases":["kuwait"]},{"emoji":"\u{1F1F0}\u{1F1EC}","aliases":["kyrgyzstan"]},{"emoji":"\u{1F97C}","aliases":["lab_coat"]},{"emoji":"\u{1F3F7}\uFE0F","aliases":["label"]},{"emoji":"\u{1F94D}","aliases":["lacrosse"]},{"emoji":"\u{1FA9C}","aliases":["ladder"]},{"emoji":"\u{1F41E}","aliases":["lady_beetle"]},{"emoji":"\u{1F1F1}\u{1F1E6}","aliases":["laos"]},{"emoji":"\u{1F535}","aliases":["large_blue_circle"]},{"emoji":"\u{1F537}","aliases":["large_blue_diamond"]},{"emoji":"\u{1F536}","aliases":["large_orange_diamond"]},{"emoji":"\u{1F317}","aliases":["last_quarter_moon"]},{"emoji":"\u{1F31C}","aliases":["last_quarter_moon_with_face"]},{"emoji":"\u271D\uFE0F","aliases":["latin_cross"]},{"emoji":"\u{1F1F1}\u{1F1FB}","aliases":["latvia"]},{"emoji":"\u{1F606}","aliases":["laughing","satisfied","laugh"]},{"emoji":"\u{1F96C}","aliases":["leafy_green"]},{"emoji":"\u{1F343}","aliases":["leaves"]},{"emoji":"\u{1F1F1}\u{1F1E7}","aliases":["lebanon"]},{"emoji":"\u{1F4D2}","aliases":["ledger"]},{"emoji":"\u{1F6C5}","aliases":["left_luggage"]},{"emoji":"\u2194\uFE0F","aliases":["left_right_arrow"]},{"emoji":"\u{1F5E8}\uFE0F","aliases":["left_speech_bubble"]},{"emoji":"\u21A9\uFE0F","aliases":["leftwards_arrow_with_hook"]},{"emoji":"\u{1FAF2}","aliases":["leftwards_hand"]},{"emoji":"\u{1F9B5}","aliases":["leg"]},{"emoji":"\u{1F34B}","aliases":["lemon"]},{"emoji":"\u264C","aliases":["leo"]},{"emoji":"\u{1F406}","aliases":["leopard"]},{"emoji":"\u{1F1F1}\u{1F1F8}","aliases":["lesotho"]},{"emoji":"\u{1F39A}\uFE0F","aliases":["level_slider"]},{"emoji":"\u{1F1F1}\u{1F1F7}","aliases":["liberia"]},{"emoji":"\u264E","aliases":["libra"]},{"emoji":"\u{1F1F1}\u{1F1FE}","aliases":["libya"]},{"emoji":"\u{1F1F1}\u{1F1EE}","aliases":["liechtenstein"]},{"emoji":"\u{1F688}","aliases":["light_rail"]},{"emoji":"\u{1F517}","aliases":["link"]},{"emoji":"\u{1F981}","aliases":["lion"]},{"emoji":"\u{1F444}","aliases":["lips"]},{"emoji":"\u{1F484}","aliases":["lipstick"]},{"emoji":"\u{1F1F1}\u{1F1F9}","aliases":["lithuania"]},{"emoji":"\u{1F98E}","aliases":["lizard"]},{"emoji":"\u{1F999}","aliases":["llama"]},{"emoji":"\u{1F99E}","aliases":["lobster"]},{"emoji":"\u{1F512}","aliases":["lock"]},{"emoji":"\u{1F50F}","aliases":["lock_with_ink_pen"]},{"emoji":"\u{1F36D}","aliases":["lollipop"]},{"emoji":"\u{1FA98}","aliases":["long_drum"]},{"emoji":"\u27BF","aliases":["loop"]},{"emoji":"\u{1F9F4}","aliases":["lotion_bottle"]},{"emoji":"\u{1FAB7}","aliases":["lotus"]},{"emoji":"\u{1F9D8}","aliases":["lotus_position"]},{"emoji":"\u{1F9D8}\u200D\u2642\uFE0F","aliases":["lotus_position_man"]},{"emoji":"\u{1F9D8}\u200D\u2640\uFE0F","aliases":["lotus_position_woman"]},{"emoji":"\u{1F50A}","aliases":["loud_sound"]},{"emoji":"\u{1F4E2}","aliases":["loudspeaker"]},{"emoji":"\u{1F3E9}","aliases":["love_hotel"]},{"emoji":"\u{1F48C}","aliases":["love_letter"]},{"emoji":"\u{1F91F}","aliases":["love_you_gesture"]},{"emoji":"\u{1FAAB}","aliases":["low_battery"]},{"emoji":"\u{1F505}","aliases":["low_brightness"]},{"emoji":"\u{1F9F3}","aliases":["luggage"]},{"emoji":"\u{1FAC1}","aliases":["lungs"]},{"emoji":"\u{1F1F1}\u{1F1FA}","aliases":["luxembourg"]},{"emoji":"\u{1F925}","aliases":["lying_face"]},{"emoji":"\u24C2\uFE0F","aliases":["m"]},{"emoji":"\u{1F1F2}\u{1F1F4}","aliases":["macau"]},{"emoji":"\u{1F1F2}\u{1F1F0}","aliases":["macedonia"]},{"emoji":"\u{1F1F2}\u{1F1EC}","aliases":["madagascar"]},{"emoji":"\u{1F50D}","aliases":["mag"]},{"emoji":"\u{1F50E}","aliases":["mag_right"]},{"emoji":"\u{1F9D9}","aliases":["mage"]},{"emoji":"\u{1F9D9}\u200D\u2642\uFE0F","aliases":["mage_man"]},{"emoji":"\u{1F9D9}\u200D\u2640\uFE0F","aliases":["mage_woman"]},{"emoji":"\u{1FA84}","aliases":["magic_wand"]},{"emoji":"\u{1F9F2}","aliases":["magnet"]},{"emoji":"\u{1F004}","aliases":["mahjong"]},{"emoji":"\u{1F4EB}","aliases":["mailbox"]},{"emoji":"\u{1F4EA}","aliases":["mailbox_closed"]},{"emoji":"\u{1F4EC}","aliases":["mailbox_with_mail"]},{"emoji":"\u{1F4ED}","aliases":["mailbox_with_no_mail"]},{"emoji":"\u{1F1F2}\u{1F1FC}","aliases":["malawi"]},{"emoji":"\u{1F1F2}\u{1F1FE}","aliases":["malaysia"]},{"emoji":"\u{1F1F2}\u{1F1FB}","aliases":["maldives"]},{"emoji":"\u{1F575}\uFE0F\u200D\u2642\uFE0F","aliases":["male_detective"]},{"emoji":"\u2642\uFE0F","aliases":["male_sign"]},{"emoji":"\u{1F1F2}\u{1F1F1}","aliases":["mali"]},{"emoji":"\u{1F1F2}\u{1F1F9}","aliases":["malta"]},{"emoji":"\u{1F9A3}","aliases":["mammoth"]},{"emoji":"\u{1F468}","aliases":["man"]},{"emoji":"\u{1F468}\u200D\u{1F3A8}","aliases":["man_artist"]},{"emoji":"\u{1F468}\u200D\u{1F680}","aliases":["man_astronaut"]},{"emoji":"\u{1F9D4}\u200D\u2642\uFE0F","aliases":["man_beard"]},{"emoji":"\u{1F938}\u200D\u2642\uFE0F","aliases":["man_cartwheeling"]},{"emoji":"\u{1F468}\u200D\u{1F373}","aliases":["man_cook"]},{"emoji":"\u{1F57A}","aliases":["man_dancing"]},{"emoji":"\u{1F926}\u200D\u2642\uFE0F","aliases":["man_facepalming"]},{"emoji":"\u{1F468}\u200D\u{1F3ED}","aliases":["man_factory_worker"]},{"emoji":"\u{1F468}\u200D\u{1F33E}","aliases":["man_farmer"]},{"emoji":"\u{1F468}\u200D\u{1F37C}","aliases":["man_feeding_baby"]},{"emoji":"\u{1F468}\u200D\u{1F692}","aliases":["man_firefighter"]},{"emoji":"\u{1F468}\u200D\u2695\uFE0F","aliases":["man_health_worker"]},{"emoji":"\u{1F468}\u200D\u{1F9BD}","aliases":["man_in_manual_wheelchair"]},{"emoji":"\u{1F468}\u200D\u{1F9BC}","aliases":["man_in_motorized_wheelchair"]},{"emoji":"\u{1F935}\u200D\u2642\uFE0F","aliases":["man_in_tuxedo"]},{"emoji":"\u{1F468}\u200D\u2696\uFE0F","aliases":["man_judge"]},{"emoji":"\u{1F939}\u200D\u2642\uFE0F","aliases":["man_juggling"]},{"emoji":"\u{1F468}\u200D\u{1F527}","aliases":["man_mechanic"]},{"emoji":"\u{1F468}\u200D\u{1F4BC}","aliases":["man_office_worker"]},{"emoji":"\u{1F468}\u200D\u2708\uFE0F","aliases":["man_pilot"]},{"emoji":"\u{1F93E}\u200D\u2642\uFE0F","aliases":["man_playing_handball"]},{"emoji":"\u{1F93D}\u200D\u2642\uFE0F","aliases":["man_playing_water_polo"]},{"emoji":"\u{1F468}\u200D\u{1F52C}","aliases":["man_scientist"]},{"emoji":"\u{1F937}\u200D\u2642\uFE0F","aliases":["man_shrugging"]},{"emoji":"\u{1F468}\u200D\u{1F3A4}","aliases":["man_singer"]},{"emoji":"\u{1F468}\u200D\u{1F393}","aliases":["man_student"]},{"emoji":"\u{1F468}\u200D\u{1F3EB}","aliases":["man_teacher"]},{"emoji":"\u{1F468}\u200D\u{1F4BB}","aliases":["man_technologist"]},{"emoji":"\u{1F472}","aliases":["man_with_gua_pi_mao"]},{"emoji":"\u{1F468}\u200D\u{1F9AF}","aliases":["man_with_probing_cane"]},{"emoji":"\u{1F473}\u200D\u2642\uFE0F","aliases":["man_with_turban"]},{"emoji":"\u{1F470}\u200D\u2642\uFE0F","aliases":["man_with_veil"]},{"emoji":"\u{1F96D}","aliases":["mango"]},{"emoji":"\u{1F45E}","aliases":["mans_shoe","shoe"]},{"emoji":"\u{1F570}\uFE0F","aliases":["mantelpiece_clock"]},{"emoji":"\u{1F9BD}","aliases":["manual_wheelchair"]},{"emoji":"\u{1F341}","aliases":["maple_leaf"]},{"emoji":"\u{1F1F2}\u{1F1ED}","aliases":["marshall_islands"]},{"emoji":"\u{1F94B}","aliases":["martial_arts_uniform"]},{"emoji":"\u{1F1F2}\u{1F1F6}","aliases":["martinique"]},{"emoji":"\u{1F637}","aliases":["mask"]},{"emoji":"\u{1F486}","aliases":["massage"]},{"emoji":"\u{1F486}\u200D\u2642\uFE0F","aliases":["massage_man"]},{"emoji":"\u{1F486}\u200D\u2640\uFE0F","aliases":["massage_woman"]},{"emoji":"\u{1F9C9}","aliases":["mate"]},{"emoji":"\u{1F1F2}\u{1F1F7}","aliases":["mauritania"]},{"emoji":"\u{1F1F2}\u{1F1FA}","aliases":["mauritius"]},{"emoji":"\u{1F1FE}\u{1F1F9}","aliases":["mayotte"]},{"emoji":"\u{1F356}","aliases":["meat_on_bone"]},{"emoji":"\u{1F9D1}\u200D\u{1F527}","aliases":["mechanic"]},{"emoji":"\u{1F9BE}","aliases":["mechanical_arm"]},{"emoji":"\u{1F9BF}","aliases":["mechanical_leg"]},{"emoji":"\u{1F396}\uFE0F","aliases":["medal_military"]},{"emoji":"\u{1F3C5}","aliases":["medal_sports"]},{"emoji":"\u2695\uFE0F","aliases":["medical_symbol"]},{"emoji":"\u{1F4E3}","aliases":["mega"]},{"emoji":"\u{1F348}","aliases":["melon"]},{"emoji":"\u{1FAE0}","aliases":["melting_face"]},{"emoji":"\u{1F4DD}","aliases":["memo","pencil"]},{"emoji":"\u{1F93C}\u200D\u2642\uFE0F","aliases":["men_wrestling"]},{"emoji":"\u2764\uFE0F\u200D\u{1FA79}","aliases":["mending_heart"]},{"emoji":"\u{1F54E}","aliases":["menorah"]},{"emoji":"\u{1F6B9}","aliases":["mens"]},{"emoji":"\u{1F9DC}\u200D\u2640\uFE0F","aliases":["mermaid"]},{"emoji":"\u{1F9DC}\u200D\u2642\uFE0F","aliases":["merman"]},{"emoji":"\u{1F9DC}","aliases":["merperson"]},{"emoji":"\u{1F918}","aliases":["metal"]},{"emoji":"\u{1F687}","aliases":["metro"]},{"emoji":"\u{1F1F2}\u{1F1FD}","aliases":["mexico"]},{"emoji":"\u{1F9A0}","aliases":["microbe"]},{"emoji":"\u{1F1EB}\u{1F1F2}","aliases":["micronesia"]},{"emoji":"\u{1F3A4}","aliases":["microphone"]},{"emoji":"\u{1F52C}","aliases":["microscope"]},{"emoji":"\u{1F595}","aliases":["middle_finger","fu"]},{"emoji":"\u{1FA96}","aliases":["military_helmet"]},{"emoji":"\u{1F95B}","aliases":["milk_glass"]},{"emoji":"\u{1F30C}","aliases":["milky_way"]},{"emoji":"\u{1F690}","aliases":["minibus"]},{"emoji":"\u{1F4BD}","aliases":["minidisc"]},{"emoji":"\u{1FA9E}","aliases":["mirror"]},{"emoji":"\u{1FAA9}","aliases":["mirror_ball"]},{"emoji":"\u{1F4F4}","aliases":["mobile_phone_off"]},{"emoji":"\u{1F1F2}\u{1F1E9}","aliases":["moldova"]},{"emoji":"\u{1F1F2}\u{1F1E8}","aliases":["monaco"]},{"emoji":"\u{1F911}","aliases":["money_mouth_face"]},{"emoji":"\u{1F4B8}","aliases":["money_with_wings"]},{"emoji":"\u{1F4B0}","aliases":["moneybag"]},{"emoji":"\u{1F1F2}\u{1F1F3}","aliases":["mongolia"]},{"emoji":"\u{1F412}","aliases":["monkey"]},{"emoji":"\u{1F435}","aliases":["monkey_face"]},{"emoji":"\u{1F9D0}","aliases":["monocle_face"]},{"emoji":"\u{1F69D}","aliases":["monorail"]},{"emoji":"\u{1F1F2}\u{1F1EA}","aliases":["montenegro"]},{"emoji":"\u{1F1F2}\u{1F1F8}","aliases":["montserrat"]},{"emoji":"\u{1F314}","aliases":["moon","waxing_gibbous_moon"]},{"emoji":"\u{1F96E}","aliases":["moon_cake"]},{"emoji":"\u{1F1F2}\u{1F1E6}","aliases":["morocco"]},{"emoji":"\u{1F393}","aliases":["mortar_board"]},{"emoji":"\u{1F54C}","aliases":["mosque"]},{"emoji":"\u{1F99F}","aliases":["mosquito"]},{"emoji":"\u{1F6E5}\uFE0F","aliases":["motor_boat"]},{"emoji":"\u{1F6F5}","aliases":["motor_scooter"]},{"emoji":"\u{1F3CD}\uFE0F","aliases":["motorcycle"]},{"emoji":"\u{1F9BC}","aliases":["motorized_wheelchair"]},{"emoji":"\u{1F6E3}\uFE0F","aliases":["motorway"]},{"emoji":"\u{1F5FB}","aliases":["mount_fuji"]},{"emoji":"\u26F0\uFE0F","aliases":["mountain"]},{"emoji":"\u{1F6B5}","aliases":["mountain_bicyclist"]},{"emoji":"\u{1F6B5}\u200D\u2642\uFE0F","aliases":["mountain_biking_man"]},{"emoji":"\u{1F6B5}\u200D\u2640\uFE0F","aliases":["mountain_biking_woman"]},{"emoji":"\u{1F6A0}","aliases":["mountain_cableway"]},{"emoji":"\u{1F69E}","aliases":["mountain_railway"]},{"emoji":"\u{1F3D4}\uFE0F","aliases":["mountain_snow"]},{"emoji":"\u{1F42D}","aliases":["mouse"]},{"emoji":"\u{1F401}","aliases":["mouse2"]},{"emoji":"\u{1FAA4}","aliases":["mouse_trap"]},{"emoji":"\u{1F3A5}","aliases":["movie_camera"]},{"emoji":"\u{1F5FF}","aliases":["moyai"]},{"emoji":"\u{1F1F2}\u{1F1FF}","aliases":["mozambique"]},{"emoji":"\u{1F936}","aliases":["mrs_claus"]},{"emoji":"\u{1F4AA}","aliases":["muscle"]},{"emoji":"\u{1F344}","aliases":["mushroom"]},{"emoji":"\u{1F3B9}","aliases":["musical_keyboard"]},{"emoji":"\u{1F3B5}","aliases":["musical_note"]},{"emoji":"\u{1F3BC}","aliases":["musical_score"]},{"emoji":"\u{1F507}","aliases":["mute"]},{"emoji":"\u{1F9D1}\u200D\u{1F384}","aliases":["mx_claus"]},{"emoji":"\u{1F1F2}\u{1F1F2}","aliases":["myanmar"]},{"emoji":"\u{1F485}","aliases":["nail_care"]},{"emoji":"\u{1F4DB}","aliases":["name_badge"]},{"emoji":"\u{1F1F3}\u{1F1E6}","aliases":["namibia"]},{"emoji":"\u{1F3DE}\uFE0F","aliases":["national_park"]},{"emoji":"\u{1F1F3}\u{1F1F7}","aliases":["nauru"]},{"emoji":"\u{1F922}","aliases":["nauseated_face"]},{"emoji":"\u{1F9FF}","aliases":["nazar_amulet"]},{"emoji":"\u{1F454}","aliases":["necktie"]},{"emoji":"\u274E","aliases":["negative_squared_cross_mark"]},{"emoji":"\u{1F1F3}\u{1F1F5}","aliases":["nepal"]},{"emoji":"\u{1F913}","aliases":["nerd_face"]},{"emoji":"\u{1FABA}","aliases":["nest_with_eggs"]},{"emoji":"\u{1FA86}","aliases":["nesting_dolls"]},{"emoji":"\u{1F1F3}\u{1F1F1}","aliases":["netherlands"]},{"emoji":"\u{1F610}","aliases":["neutral_face"]},{"emoji":"\u{1F195}","aliases":["new"]},{"emoji":"\u{1F1F3}\u{1F1E8}","aliases":["new_caledonia"]},{"emoji":"\u{1F311}","aliases":["new_moon"]},{"emoji":"\u{1F31A}","aliases":["new_moon_with_face"]},{"emoji":"\u{1F1F3}\u{1F1FF}","aliases":["new_zealand"]},{"emoji":"\u{1F4F0}","aliases":["newspaper"]},{"emoji":"\u{1F5DE}\uFE0F","aliases":["newspaper_roll"]},{"emoji":"\u23ED\uFE0F","aliases":["next_track_button"]},{"emoji":"\u{1F196}","aliases":["ng"]},{"emoji":"\u{1F1F3}\u{1F1EE}","aliases":["nicaragua"]},{"emoji":"\u{1F1F3}\u{1F1EA}","aliases":["niger"]},{"emoji":"\u{1F1F3}\u{1F1EC}","aliases":["nigeria"]},{"emoji":"\u{1F303}","aliases":["night_with_stars"]},{"emoji":"9\uFE0F\u20E3","aliases":["nine"]},{"emoji":"\u{1F977}","aliases":["ninja"]},{"emoji":"\u{1F1F3}\u{1F1FA}","aliases":["niue"]},{"emoji":"\u{1F515}","aliases":["no_bell"]},{"emoji":"\u{1F6B3}","aliases":["no_bicycles"]},{"emoji":"\u26D4","aliases":["no_entry"]},{"emoji":"\u{1F6AB}","aliases":["no_entry_sign"]},{"emoji":"\u{1F645}","aliases":["no_good"]},{"emoji":"\u{1F645}\u200D\u2642\uFE0F","aliases":["no_good_man","ng_man"]},{"emoji":"\u{1F645}\u200D\u2640\uFE0F","aliases":["no_good_woman","ng_woman"]},{"emoji":"\u{1F4F5}","aliases":["no_mobile_phones"]},{"emoji":"\u{1F636}","aliases":["no_mouth"]},{"emoji":"\u{1F6B7}","aliases":["no_pedestrians"]},{"emoji":"\u{1F6AD}","aliases":["no_smoking"]},{"emoji":"\u{1F6B1}","aliases":["non-potable_water"]},{"emoji":"\u{1F1F3}\u{1F1EB}","aliases":["norfolk_island"]},{"emoji":"\u{1F1F0}\u{1F1F5}","aliases":["north_korea"]},{"emoji":"\u{1F1F2}\u{1F1F5}","aliases":["northern_mariana_islands"]},{"emoji":"\u{1F1F3}\u{1F1F4}","aliases":["norway"]},{"emoji":"\u{1F443}","aliases":["nose"]},{"emoji":"\u{1F4D3}","aliases":["notebook"]},{"emoji":"\u{1F4D4}","aliases":["notebook_with_decorative_cover"]},{"emoji":"\u{1F3B6}","aliases":["notes"]},{"emoji":"\u{1F529}","aliases":["nut_and_bolt"]},{"emoji":"\u2B55","aliases":["o"]},{"emoji":"\u{1F17E}\uFE0F","aliases":["o2"]},{"emoji":"\u{1F30A}","aliases":["ocean"]},{"emoji":"\u{1F419}","aliases":["octopus"]},{"emoji":"\u{1F362}","aliases":["oden"]},{"emoji":"\u{1F3E2}","aliases":["office"]},{"emoji":"\u{1F9D1}\u200D\u{1F4BC}","aliases":["office_worker"]},{"emoji":"\u{1F6E2}\uFE0F","aliases":["oil_drum"]},{"emoji":"\u{1F197}","aliases":["ok"]},{"emoji":"\u{1F44C}","aliases":["ok_hand"]},{"emoji":"\u{1F646}\u200D\u2642\uFE0F","aliases":["ok_man"]},{"emoji":"\u{1F646}","aliases":["ok_person"]},{"emoji":"\u{1F646}\u200D\u2640\uFE0F","aliases":["ok_woman"]},{"emoji":"\u{1F5DD}\uFE0F","aliases":["old_key"]},{"emoji":"\u{1F9D3}","aliases":["older_adult"]},{"emoji":"\u{1F474}","aliases":["older_man"]},{"emoji":"\u{1F475}","aliases":["older_woman"]},{"emoji":"\u{1FAD2}","aliases":["olive"]},{"emoji":"\u{1F549}\uFE0F","aliases":["om"]},{"emoji":"\u{1F1F4}\u{1F1F2}","aliases":["oman"]},{"emoji":"\u{1F51B}","aliases":["on"]},{"emoji":"\u{1F698}","aliases":["oncoming_automobile"]},{"emoji":"\u{1F68D}","aliases":["oncoming_bus"]},{"emoji":"\u{1F694}","aliases":["oncoming_police_car"]},{"emoji":"\u{1F696}","aliases":["oncoming_taxi"]},{"emoji":"1\uFE0F\u20E3","aliases":["one"]},{"emoji":"\u{1FA71}","aliases":["one_piece_swimsuit"]},{"emoji":"\u{1F9C5}","aliases":["onion"]},{"emoji":"\u{1F4C2}","aliases":["open_file_folder"]},{"emoji":"\u{1F450}","aliases":["open_hands"]},{"emoji":"\u{1F62E}","aliases":["open_mouth"]},{"emoji":"\u2602\uFE0F","aliases":["open_umbrella"]},{"emoji":"\u26CE","aliases":["ophiuchus"]},{"emoji":"\u{1F4D9}","aliases":["orange_book"]},{"emoji":"\u{1F7E0}","aliases":["orange_circle"]},{"emoji":"\u{1F9E1}","aliases":["orange_heart"]},{"emoji":"\u{1F7E7}","aliases":["orange_square"]},{"emoji":"\u{1F9A7}","aliases":["orangutan"]},{"emoji":"\u2626\uFE0F","aliases":["orthodox_cross"]},{"emoji":"\u{1F9A6}","aliases":["otter"]},{"emoji":"\u{1F4E4}","aliases":["outbox_tray"]},{"emoji":"\u{1F989}","aliases":["owl"]},{"emoji":"\u{1F402}","aliases":["ox"]},{"emoji":"\u{1F9AA}","aliases":["oyster"]},{"emoji":"\u{1F4E6}","aliases":["package"]},{"emoji":"\u{1F4C4}","aliases":["page_facing_up"]},{"emoji":"\u{1F4C3}","aliases":["page_with_curl"]},{"emoji":"\u{1F4DF}","aliases":["pager"]},{"emoji":"\u{1F58C}\uFE0F","aliases":["paintbrush"]},{"emoji":"\u{1F1F5}\u{1F1F0}","aliases":["pakistan"]},{"emoji":"\u{1F1F5}\u{1F1FC}","aliases":["palau"]},{"emoji":"\u{1F1F5}\u{1F1F8}","aliases":["palestinian_territories"]},{"emoji":"\u{1FAF3}","aliases":["palm_down_hand"]},{"emoji":"\u{1F334}","aliases":["palm_tree"]},{"emoji":"\u{1FAF4}","aliases":["palm_up_hand"]},{"emoji":"\u{1F932}","aliases":["palms_up_together"]},{"emoji":"\u{1F1F5}\u{1F1E6}","aliases":["panama"]},{"emoji":"\u{1F95E}","aliases":["pancakes"]},{"emoji":"\u{1F43C}","aliases":["panda_face"]},{"emoji":"\u{1F4CE}","aliases":["paperclip"]},{"emoji":"\u{1F587}\uFE0F","aliases":["paperclips"]},{"emoji":"\u{1F1F5}\u{1F1EC}","aliases":["papua_new_guinea"]},{"emoji":"\u{1FA82}","aliases":["parachute"]},{"emoji":"\u{1F1F5}\u{1F1FE}","aliases":["paraguay"]},{"emoji":"\u26F1\uFE0F","aliases":["parasol_on_ground"]},{"emoji":"\u{1F17F}\uFE0F","aliases":["parking"]},{"emoji":"\u{1F99C}","aliases":["parrot"]},{"emoji":"\u303D\uFE0F","aliases":["part_alternation_mark"]},{"emoji":"\u26C5","aliases":["partly_sunny"]},{"emoji":"\u{1F973}","aliases":["partying_face"]},{"emoji":"\u{1F6F3}\uFE0F","aliases":["passenger_ship"]},{"emoji":"\u{1F6C2}","aliases":["passport_control"]},{"emoji":"\u23F8\uFE0F","aliases":["pause_button"]},{"emoji":"\u262E\uFE0F","aliases":["peace_symbol"]},{"emoji":"\u{1F351}","aliases":["peach"]},{"emoji":"\u{1F99A}","aliases":["peacock"]},{"emoji":"\u{1F95C}","aliases":["peanuts"]},{"emoji":"\u{1F350}","aliases":["pear"]},{"emoji":"\u{1F58A}\uFE0F","aliases":["pen"]},{"emoji":"\u270F\uFE0F","aliases":["pencil2"]},{"emoji":"\u{1F427}","aliases":["penguin"]},{"emoji":"\u{1F614}","aliases":["pensive"]},{"emoji":"\u{1F9D1}\u200D\u{1F91D}\u200D\u{1F9D1}","aliases":["people_holding_hands"]},{"emoji":"\u{1FAC2}","aliases":["people_hugging"]},{"emoji":"\u{1F3AD}","aliases":["performing_arts"]},{"emoji":"\u{1F623}","aliases":["persevere"]},{"emoji":"\u{1F9D1}\u200D\u{1F9B2}","aliases":["person_bald"]},{"emoji":"\u{1F9D1}\u200D\u{1F9B1}","aliases":["person_curly_hair"]},{"emoji":"\u{1F9D1}\u200D\u{1F37C}","aliases":["person_feeding_baby"]},{"emoji":"\u{1F93A}","aliases":["person_fencing"]},{"emoji":"\u{1F9D1}\u200D\u{1F9BD}","aliases":["person_in_manual_wheelchair"]},{"emoji":"\u{1F9D1}\u200D\u{1F9BC}","aliases":["person_in_motorized_wheelchair"]},{"emoji":"\u{1F935}","aliases":["person_in_tuxedo"]},{"emoji":"\u{1F9D1}\u200D\u{1F9B0}","aliases":["person_red_hair"]},{"emoji":"\u{1F9D1}\u200D\u{1F9B3}","aliases":["person_white_hair"]},{"emoji":"\u{1FAC5}","aliases":["person_with_crown"]},{"emoji":"\u{1F9D1}\u200D\u{1F9AF}","aliases":["person_with_probing_cane"]},{"emoji":"\u{1F473}","aliases":["person_with_turban"]},{"emoji":"\u{1F470}","aliases":["person_with_veil"]},{"emoji":"\u{1F1F5}\u{1F1EA}","aliases":["peru"]},{"emoji":"\u{1F9EB}","aliases":["petri_dish"]},{"emoji":"\u{1F1F5}\u{1F1ED}","aliases":["philippines"]},{"emoji":"\u260E\uFE0F","aliases":["phone","telephone"]},{"emoji":"\u26CF\uFE0F","aliases":["pick"]},{"emoji":"\u{1F6FB}","aliases":["pickup_truck"]},{"emoji":"\u{1F967}","aliases":["pie"]},{"emoji":"\u{1F437}","aliases":["pig"]},{"emoji":"\u{1F416}","aliases":["pig2"]},{"emoji":"\u{1F43D}","aliases":["pig_nose"]},{"emoji":"\u{1F48A}","aliases":["pill"]},{"emoji":"\u{1F9D1}\u200D\u2708\uFE0F","aliases":["pilot"]},{"emoji":"\u{1FA85}","aliases":["pinata"]},{"emoji":"\u{1F90C}","aliases":["pinched_fingers"]},{"emoji":"\u{1F90F}","aliases":["pinching_hand"]},{"emoji":"\u{1F34D}","aliases":["pineapple"]},{"emoji":"\u{1F3D3}","aliases":["ping_pong"]},{"emoji":"\u{1F3F4}\u200D\u2620\uFE0F","aliases":["pirate_flag"]},{"emoji":"\u2653","aliases":["pisces"]},{"emoji":"\u{1F1F5}\u{1F1F3}","aliases":["pitcairn_islands"]},{"emoji":"\u{1F355}","aliases":["pizza"]},{"emoji":"\u{1FAA7}","aliases":["placard"]},{"emoji":"\u{1F6D0}","aliases":["place_of_worship"]},{"emoji":"\u{1F37D}\uFE0F","aliases":["plate_with_cutlery"]},{"emoji":"\u23EF\uFE0F","aliases":["play_or_pause_button"]},{"emoji":"\u{1F6DD}","aliases":["playground_slide"]},{"emoji":"\u{1F97A}","aliases":["pleading_face"]},{"emoji":"\u{1FAA0}","aliases":["plunger"]},{"emoji":"\u{1F447}","aliases":["point_down"]},{"emoji":"\u{1F448}","aliases":["point_left"]},{"emoji":"\u{1F449}","aliases":["point_right"]},{"emoji":"\u261D\uFE0F","aliases":["point_up"]},{"emoji":"\u{1F446}","aliases":["point_up_2"]},{"emoji":"\u{1F1F5}\u{1F1F1}","aliases":["poland"]},{"emoji":"\u{1F43B}\u200D\u2744\uFE0F","aliases":["polar_bear"]},{"emoji":"\u{1F693}","aliases":["police_car"]},{"emoji":"\u{1F46E}","aliases":["police_officer","cop"]},{"emoji":"\u{1F46E}\u200D\u2642\uFE0F","aliases":["policeman"]},{"emoji":"\u{1F46E}\u200D\u2640\uFE0F","aliases":["policewoman"]},{"emoji":"\u{1F429}","aliases":["poodle"]},{"emoji":"\u{1F37F}","aliases":["popcorn"]},{"emoji":"\u{1F1F5}\u{1F1F9}","aliases":["portugal"]},{"emoji":"\u{1F3E3}","aliases":["post_office"]},{"emoji":"\u{1F4EF}","aliases":["postal_horn"]},{"emoji":"\u{1F4EE}","aliases":["postbox"]},{"emoji":"\u{1F6B0}","aliases":["potable_water"]},{"emoji":"\u{1F954}","aliases":["potato"]},{"emoji":"\u{1FAB4}","aliases":["potted_plant"]},{"emoji":"\u{1F45D}","aliases":["pouch"]},{"emoji":"\u{1F357}","aliases":["poultry_leg"]},{"emoji":"\u{1F4B7}","aliases":["pound"]},{"emoji":"\u{1FAD7}","aliases":["pouring_liquid"]},{"emoji":"\u{1F63E}","aliases":["pouting_cat"]},{"emoji":"\u{1F64E}","aliases":["pouting_face"]},{"emoji":"\u{1F64E}\u200D\u2642\uFE0F","aliases":["pouting_man"]},{"emoji":"\u{1F64E}\u200D\u2640\uFE0F","aliases":["pouting_woman"]},{"emoji":"\u{1F64F}","aliases":["pray"]},{"emoji":"\u{1F4FF}","aliases":["prayer_beads"]},{"emoji":"\u{1FAC3}","aliases":["pregnant_man"]},{"emoji":"\u{1FAC4}","aliases":["pregnant_person"]},{"emoji":"\u{1F930}","aliases":["pregnant_woman"]},{"emoji":"\u{1F968}","aliases":["pretzel"]},{"emoji":"\u23EE\uFE0F","aliases":["previous_track_button"]},{"emoji":"\u{1F934}","aliases":["prince"]},{"emoji":"\u{1F478}","aliases":["princess"]},{"emoji":"\u{1F5A8}\uFE0F","aliases":["printer"]},{"emoji":"\u{1F9AF}","aliases":["probing_cane"]},{"emoji":"\u{1F1F5}\u{1F1F7}","aliases":["puerto_rico"]},{"emoji":"\u{1F7E3}","aliases":["purple_circle"]},{"emoji":"\u{1F49C}","aliases":["purple_heart"]},{"emoji":"\u{1F7EA}","aliases":["purple_square"]},{"emoji":"\u{1F45B}","aliases":["purse"]},{"emoji":"\u{1F4CC}","aliases":["pushpin"]},{"emoji":"\u{1F6AE}","aliases":["put_litter_in_its_place"]},{"emoji":"\u{1F1F6}\u{1F1E6}","aliases":["qatar"]},{"emoji":"\u2753","aliases":["question"]},{"emoji":"\u{1F430}","aliases":["rabbit"]},{"emoji":"\u{1F407}","aliases":["rabbit2"]},{"emoji":"\u{1F99D}","aliases":["raccoon"]},{"emoji":"\u{1F40E}","aliases":["racehorse"]},{"emoji":"\u{1F3CE}\uFE0F","aliases":["racing_car"]},{"emoji":"\u{1F4FB}","aliases":["radio"]},{"emoji":"\u{1F518}","aliases":["radio_button"]},{"emoji":"\u2622\uFE0F","aliases":["radioactive"]},{"emoji":"\u{1F621}","aliases":["rage","pout"]},{"emoji":"\u{1F683}","aliases":["railway_car"]},{"emoji":"\u{1F6E4}\uFE0F","aliases":["railway_track"]},{"emoji":"\u{1F308}","aliases":["rainbow"]},{"emoji":"\u{1F3F3}\uFE0F\u200D\u{1F308}","aliases":["rainbow_flag"]},{"emoji":"\u{1F91A}","aliases":["raised_back_of_hand"]},{"emoji":"\u{1F928}","aliases":["raised_eyebrow"]},{"emoji":"\u{1F590}\uFE0F","aliases":["raised_hand_with_fingers_splayed"]},{"emoji":"\u{1F64C}","aliases":["raised_hands"]},{"emoji":"\u{1F64B}","aliases":["raising_hand"]},{"emoji":"\u{1F64B}\u200D\u2642\uFE0F","aliases":["raising_hand_man"]},{"emoji":"\u{1F64B}\u200D\u2640\uFE0F","aliases":["raising_hand_woman"]},{"emoji":"\u{1F40F}","aliases":["ram"]},{"emoji":"\u{1F35C}","aliases":["ramen"]},{"emoji":"\u{1F400}","aliases":["rat"]},{"emoji":"\u{1FA92}","aliases":["razor"]},{"emoji":"\u{1F9FE}","aliases":["receipt"]},{"emoji":"\u23FA\uFE0F","aliases":["record_button"]},{"emoji":"\u267B\uFE0F","aliases":["recycle"]},{"emoji":"\u{1F534}","aliases":["red_circle"]},{"emoji":"\u{1F9E7}","aliases":["red_envelope"]},{"emoji":"\u{1F468}\u200D\u{1F9B0}","aliases":["red_haired_man"]},{"emoji":"\u{1F469}\u200D\u{1F9B0}","aliases":["red_haired_woman"]},{"emoji":"\u{1F7E5}","aliases":["red_square"]},{"emoji":"\xAE\uFE0F","aliases":["registered"]},{"emoji":"\u263A\uFE0F","aliases":["relaxed"]},{"emoji":"\u{1F60C}","aliases":["relieved"]},{"emoji":"\u{1F397}\uFE0F","aliases":["reminder_ribbon"]},{"emoji":"\u{1F501}","aliases":["repeat"]},{"emoji":"\u{1F502}","aliases":["repeat_one"]},{"emoji":"\u26D1\uFE0F","aliases":["rescue_worker_helmet"]},{"emoji":"\u{1F6BB}","aliases":["restroom"]},{"emoji":"\u{1F1F7}\u{1F1EA}","aliases":["reunion"]},{"emoji":"\u{1F49E}","aliases":["revolving_hearts"]},{"emoji":"\u23EA","aliases":["rewind"]},{"emoji":"\u{1F98F}","aliases":["rhinoceros"]},{"emoji":"\u{1F380}","aliases":["ribbon"]},{"emoji":"\u{1F35A}","aliases":["rice"]},{"emoji":"\u{1F359}","aliases":["rice_ball"]},{"emoji":"\u{1F358}","aliases":["rice_cracker"]},{"emoji":"\u{1F391}","aliases":["rice_scene"]},{"emoji":"\u{1F5EF}\uFE0F","aliases":["right_anger_bubble"]},{"emoji":"\u{1FAF1}","aliases":["rightwards_hand"]},{"emoji":"\u{1F48D}","aliases":["ring"]},{"emoji":"\u{1F6DF}","aliases":["ring_buoy"]},{"emoji":"\u{1FA90}","aliases":["ringed_planet"]},{"emoji":"\u{1F916}","aliases":["robot"]},{"emoji":"\u{1FAA8}","aliases":["rock"]},{"emoji":"\u{1F680}","aliases":["rocket"]},{"emoji":"\u{1F923}","aliases":["rofl"]},{"emoji":"\u{1F644}","aliases":["roll_eyes"]},{"emoji":"\u{1F9FB}","aliases":["roll_of_paper"]},{"emoji":"\u{1F3A2}","aliases":["roller_coaster"]},{"emoji":"\u{1F6FC}","aliases":["roller_skate"]},{"emoji":"\u{1F1F7}\u{1F1F4}","aliases":["romania"]},{"emoji":"\u{1F413}","aliases":["rooster"]},{"emoji":"\u{1F339}","aliases":["rose"]},{"emoji":"\u{1F3F5}\uFE0F","aliases":["rosette"]},{"emoji":"\u{1F6A8}","aliases":["rotating_light"]},{"emoji":"\u{1F4CD}","aliases":["round_pushpin"]},{"emoji":"\u{1F6A3}","aliases":["rowboat"]},{"emoji":"\u{1F6A3}\u200D\u2642\uFE0F","aliases":["rowing_man"]},{"emoji":"\u{1F6A3}\u200D\u2640\uFE0F","aliases":["rowing_woman"]},{"emoji":"\u{1F1F7}\u{1F1FA}","aliases":["ru"]},{"emoji":"\u{1F3C9}","aliases":["rugby_football"]},{"emoji":"\u{1F3C3}","aliases":["runner","running"]},{"emoji":"\u{1F3C3}\u200D\u2642\uFE0F","aliases":["running_man"]},{"emoji":"\u{1F3BD}","aliases":["running_shirt_with_sash"]},{"emoji":"\u{1F3C3}\u200D\u2640\uFE0F","aliases":["running_woman"]},{"emoji":"\u{1F1F7}\u{1F1FC}","aliases":["rwanda"]},{"emoji":"\u{1F202}\uFE0F","aliases":["sa"]},{"emoji":"\u{1F9F7}","aliases":["safety_pin"]},{"emoji":"\u{1F9BA}","aliases":["safety_vest"]},{"emoji":"\u2650","aliases":["sagittarius"]},{"emoji":"\u{1F376}","aliases":["sake"]},{"emoji":"\u{1F9C2}","aliases":["salt"]},{"emoji":"\u{1FAE1}","aliases":["saluting_face"]},{"emoji":"\u{1F1FC}\u{1F1F8}","aliases":["samoa"]},{"emoji":"\u{1F1F8}\u{1F1F2}","aliases":["san_marino"]},{"emoji":"\u{1F461}","aliases":["sandal"]},{"emoji":"\u{1F96A}","aliases":["sandwich"]},{"emoji":"\u{1F385}","aliases":["santa"]},{"emoji":"\u{1F1F8}\u{1F1F9}","aliases":["sao_tome_principe"]},{"emoji":"\u{1F97B}","aliases":["sari"]},{"emoji":"\u{1F4E1}","aliases":["satellite"]},{"emoji":"\u{1F1F8}\u{1F1E6}","aliases":["saudi_arabia"]},{"emoji":"\u{1F9D6}\u200D\u2642\uFE0F","aliases":["sauna_man"]},{"emoji":"\u{1F9D6}","aliases":["sauna_person"]},{"emoji":"\u{1F9D6}\u200D\u2640\uFE0F","aliases":["sauna_woman"]},{"emoji":"\u{1F995}","aliases":["sauropod"]},{"emoji":"\u{1F3B7}","aliases":["saxophone"]},{"emoji":"\u{1F9E3}","aliases":["scarf"]},{"emoji":"\u{1F3EB}","aliases":["school"]},{"emoji":"\u{1F392}","aliases":["school_satchel"]},{"emoji":"\u{1F9D1}\u200D\u{1F52C}","aliases":["scientist"]},{"emoji":"\u2702\uFE0F","aliases":["scissors"]},{"emoji":"\u{1F982}","aliases":["scorpion"]},{"emoji":"\u264F","aliases":["scorpius"]},{"emoji":"\u{1F3F4}\u{E0067}\u{E0062}\u{E0073}\u{E0063}\u{E0074}\u{E007F}","aliases":["scotland"]},{"emoji":"\u{1F631}","aliases":["scream"]},{"emoji":"\u{1F640}","aliases":["scream_cat"]},{"emoji":"\u{1FA9B}","aliases":["screwdriver"]},{"emoji":"\u{1F4DC}","aliases":["scroll"]},{"emoji":"\u{1F9AD}","aliases":["seal"]},{"emoji":"\u{1F4BA}","aliases":["seat"]},{"emoji":"\u3299\uFE0F","aliases":["secret"]},{"emoji":"\u{1F648}","aliases":["see_no_evil"]},{"emoji":"\u{1F331}","aliases":["seedling"]},{"emoji":"\u{1F933}","aliases":["selfie"]},{"emoji":"\u{1F1F8}\u{1F1F3}","aliases":["senegal"]},{"emoji":"\u{1F1F7}\u{1F1F8}","aliases":["serbia"]},{"emoji":"\u{1F415}\u200D\u{1F9BA}","aliases":["service_dog"]},{"emoji":"7\uFE0F\u20E3","aliases":["seven"]},{"emoji":"\u{1FAA1}","aliases":["sewing_needle"]},{"emoji":"\u{1F1F8}\u{1F1E8}","aliases":["seychelles"]},{"emoji":"\u{1F958}","aliases":["shallow_pan_of_food"]},{"emoji":"\u2618\uFE0F","aliases":["shamrock"]},{"emoji":"\u{1F988}","aliases":["shark"]},{"emoji":"\u{1F367}","aliases":["shaved_ice"]},{"emoji":"\u{1F411}","aliases":["sheep"]},{"emoji":"\u{1F41A}","aliases":["shell"]},{"emoji":"\u{1F6E1}\uFE0F","aliases":["shield"]},{"emoji":"\u26E9\uFE0F","aliases":["shinto_shrine"]},{"emoji":"\u{1F6A2}","aliases":["ship"]},{"emoji":"\u{1F455}","aliases":["shirt","tshirt"]},{"emoji":"\u{1F6CD}\uFE0F","aliases":["shopping"]},{"emoji":"\u{1F6D2}","aliases":["shopping_cart"]},{"emoji":"\u{1FA73}","aliases":["shorts"]},{"emoji":"\u{1F6BF}","aliases":["shower"]},{"emoji":"\u{1F990}","aliases":["shrimp"]},{"emoji":"\u{1F937}","aliases":["shrug"]},{"emoji":"\u{1F92B}","aliases":["shushing_face"]},{"emoji":"\u{1F1F8}\u{1F1F1}","aliases":["sierra_leone"]},{"emoji":"\u{1F4F6}","aliases":["signal_strength"]},{"emoji":"\u{1F1F8}\u{1F1EC}","aliases":["singapore"]},{"emoji":"\u{1F9D1}\u200D\u{1F3A4}","aliases":["singer"]},{"emoji":"\u{1F1F8}\u{1F1FD}","aliases":["sint_maarten"]},{"emoji":"6\uFE0F\u20E3","aliases":["six"]},{"emoji":"\u{1F52F}","aliases":["six_pointed_star"]},{"emoji":"\u{1F6F9}","aliases":["skateboard"]},{"emoji":"\u{1F3BF}","aliases":["ski"]},{"emoji":"\u26F7\uFE0F","aliases":["skier"]},{"emoji":"\u{1F480}","aliases":["skull"]},{"emoji":"\u2620\uFE0F","aliases":["skull_and_crossbones"]},{"emoji":"\u{1F9A8}","aliases":["skunk"]},{"emoji":"\u{1F6F7}","aliases":["sled"]},{"emoji":"\u{1F634}","aliases":["sleeping"]},{"emoji":"\u{1F6CC}","aliases":["sleeping_bed"]},{"emoji":"\u{1F62A}","aliases":["sleepy"]},{"emoji":"\u{1F641}","aliases":["slightly_frowning_face"]},{"emoji":"\u{1F642}","aliases":["slightly_smiling_face"]},{"emoji":"\u{1F3B0}","aliases":["slot_machine"]},{"emoji":"\u{1F9A5}","aliases":["sloth"]},{"emoji":"\u{1F1F8}\u{1F1F0}","aliases":["slovakia"]},{"emoji":"\u{1F1F8}\u{1F1EE}","aliases":["slovenia"]},{"emoji":"\u{1F6E9}\uFE0F","aliases":["small_airplane"]},{"emoji":"\u{1F539}","aliases":["small_blue_diamond"]},{"emoji":"\u{1F538}","aliases":["small_orange_diamond"]},{"emoji":"\u{1F53A}","aliases":["small_red_triangle"]},{"emoji":"\u{1F53B}","aliases":["small_red_triangle_down"]},{"emoji":"\u{1F604}","aliases":["smile"]},{"emoji":"\u{1F638}","aliases":["smile_cat"]},{"emoji":"\u{1F603}","aliases":["smiley"]},{"emoji":"\u{1F63A}","aliases":["smiley_cat"]},{"emoji":"\u{1F972}","aliases":["smiling_face_with_tear"]},{"emoji":"\u{1F970}","aliases":["smiling_face_with_three_hearts"]},{"emoji":"\u{1F608}","aliases":["smiling_imp"]},{"emoji":"\u{1F60F}","aliases":["smirk"]},{"emoji":"\u{1F63C}","aliases":["smirk_cat"]},{"emoji":"\u{1F6AC}","aliases":["smoking"]},{"emoji":"\u{1F40C}","aliases":["snail"]},{"emoji":"\u{1F40D}","aliases":["snake"]},{"emoji":"\u{1F927}","aliases":["sneezing_face"]},{"emoji":"\u{1F3C2}","aliases":["snowboarder"]},{"emoji":"\u2744\uFE0F","aliases":["snowflake"]},{"emoji":"\u26C4","aliases":["snowman"]},{"emoji":"\u2603\uFE0F","aliases":["snowman_with_snow"]},{"emoji":"\u{1F9FC}","aliases":["soap"]},{"emoji":"\u{1F62D}","aliases":["sob"]},{"emoji":"\u26BD","aliases":["soccer"]},{"emoji":"\u{1F9E6}","aliases":["socks"]},{"emoji":"\u{1F94E}","aliases":["softball"]},{"emoji":"\u{1F1F8}\u{1F1E7}","aliases":["solomon_islands"]},{"emoji":"\u{1F1F8}\u{1F1F4}","aliases":["somalia"]},{"emoji":"\u{1F51C}","aliases":["soon"]},{"emoji":"\u{1F198}","aliases":["sos"]},{"emoji":"\u{1F509}","aliases":["sound"]},{"emoji":"\u{1F1FF}\u{1F1E6}","aliases":["south_africa"]},{"emoji":"\u{1F1EC}\u{1F1F8}","aliases":["south_georgia_south_sandwich_islands"]},{"emoji":"\u{1F1F8}\u{1F1F8}","aliases":["south_sudan"]},{"emoji":"\u{1F47E}","aliases":["space_invader"]},{"emoji":"\u2660\uFE0F","aliases":["spades"]},{"emoji":"\u{1F35D}","aliases":["spaghetti"]},{"emoji":"\u2747\uFE0F","aliases":["sparkle"]},{"emoji":"\u{1F387}","aliases":["sparkler"]},{"emoji":"\u2728","aliases":["sparkles"]},{"emoji":"\u{1F496}","aliases":["sparkling_heart"]},{"emoji":"\u{1F64A}","aliases":["speak_no_evil"]},{"emoji":"\u{1F508}","aliases":["speaker"]},{"emoji":"\u{1F5E3}\uFE0F","aliases":["speaking_head"]},{"emoji":"\u{1F4AC}","aliases":["speech_balloon"]},{"emoji":"\u{1F6A4}","aliases":["speedboat"]},{"emoji":"\u{1F577}\uFE0F","aliases":["spider"]},{"emoji":"\u{1F578}\uFE0F","aliases":["spider_web"]},{"emoji":"\u{1F5D3}\uFE0F","aliases":["spiral_calendar"]},{"emoji":"\u{1F5D2}\uFE0F","aliases":["spiral_notepad"]},{"emoji":"\u{1F9FD}","aliases":["sponge"]},{"emoji":"\u{1F944}","aliases":["spoon"]},{"emoji":"\u{1F991}","aliases":["squid"]},{"emoji":"\u{1F1F1}\u{1F1F0}","aliases":["sri_lanka"]},{"emoji":"\u{1F1E7}\u{1F1F1}","aliases":["st_barthelemy"]},{"emoji":"\u{1F1F8}\u{1F1ED}","aliases":["st_helena"]},{"emoji":"\u{1F1F0}\u{1F1F3}","aliases":["st_kitts_nevis"]},{"emoji":"\u{1F1F1}\u{1F1E8}","aliases":["st_lucia"]},{"emoji":"\u{1F1F2}\u{1F1EB}","aliases":["st_martin"]},{"emoji":"\u{1F1F5}\u{1F1F2}","aliases":["st_pierre_miquelon"]},{"emoji":"\u{1F1FB}\u{1F1E8}","aliases":["st_vincent_grenadines"]},{"emoji":"\u{1F3DF}\uFE0F","aliases":["stadium"]},{"emoji":"\u{1F9CD}\u200D\u2642\uFE0F","aliases":["standing_man"]},{"emoji":"\u{1F9CD}","aliases":["standing_person"]},{"emoji":"\u{1F9CD}\u200D\u2640\uFE0F","aliases":["standing_woman"]},{"emoji":"\u2B50","aliases":["star"]},{"emoji":"\u{1F31F}","aliases":["star2"]},{"emoji":"\u262A\uFE0F","aliases":["star_and_crescent"]},{"emoji":"\u2721\uFE0F","aliases":["star_of_david"]},{"emoji":"\u{1F929}","aliases":["star_struck"]},{"emoji":"\u{1F320}","aliases":["stars"]},{"emoji":"\u{1F689}","aliases":["station"]},{"emoji":"\u{1F5FD}","aliases":["statue_of_liberty"]},{"emoji":"\u{1F682}","aliases":["steam_locomotive"]},{"emoji":"\u{1FA7A}","aliases":["stethoscope"]},{"emoji":"\u{1F372}","aliases":["stew"]},{"emoji":"\u23F9\uFE0F","aliases":["stop_button"]},{"emoji":"\u{1F6D1}","aliases":["stop_sign"]},{"emoji":"\u23F1\uFE0F","aliases":["stopwatch"]},{"emoji":"\u{1F4CF}","aliases":["straight_ruler"]},{"emoji":"\u{1F353}","aliases":["strawberry"]},{"emoji":"\u{1F61B}","aliases":["stuck_out_tongue"]},{"emoji":"\u{1F61D}","aliases":["stuck_out_tongue_closed_eyes"]},{"emoji":"\u{1F61C}","aliases":["stuck_out_tongue_winking_eye"]},{"emoji":"\u{1F9D1}\u200D\u{1F393}","aliases":["student"]},{"emoji":"\u{1F399}\uFE0F","aliases":["studio_microphone"]},{"emoji":"\u{1F959}","aliases":["stuffed_flatbread"]},{"emoji":"\u{1F1F8}\u{1F1E9}","aliases":["sudan"]},{"emoji":"\u{1F325}\uFE0F","aliases":["sun_behind_large_cloud"]},{"emoji":"\u{1F326}\uFE0F","aliases":["sun_behind_rain_cloud"]},{"emoji":"\u{1F324}\uFE0F","aliases":["sun_behind_small_cloud"]},{"emoji":"\u{1F31E}","aliases":["sun_with_face"]},{"emoji":"\u{1F33B}","aliases":["sunflower"]},{"emoji":"\u{1F60E}","aliases":["sunglasses"]},{"emoji":"\u2600\uFE0F","aliases":["sunny"]},{"emoji":"\u{1F305}","aliases":["sunrise"]},{"emoji":"\u{1F304}","aliases":["sunrise_over_mountains"]},{"emoji":"\u{1F9B8}","aliases":["superhero"]},{"emoji":"\u{1F9B8}\u200D\u2642\uFE0F","aliases":["superhero_man"]},{"emoji":"\u{1F9B8}\u200D\u2640\uFE0F","aliases":["superhero_woman"]},{"emoji":"\u{1F9B9}","aliases":["supervillain"]},{"emoji":"\u{1F9B9}\u200D\u2642\uFE0F","aliases":["supervillain_man"]},{"emoji":"\u{1F9B9}\u200D\u2640\uFE0F","aliases":["supervillain_woman"]},{"emoji":"\u{1F3C4}","aliases":["surfer"]},{"emoji":"\u{1F3C4}\u200D\u2642\uFE0F","aliases":["surfing_man"]},{"emoji":"\u{1F3C4}\u200D\u2640\uFE0F","aliases":["surfing_woman"]},{"emoji":"\u{1F1F8}\u{1F1F7}","aliases":["suriname"]},{"emoji":"\u{1F363}","aliases":["sushi"]},{"emoji":"\u{1F69F}","aliases":["suspension_railway"]},{"emoji":"\u{1F1F8}\u{1F1EF}","aliases":["svalbard_jan_mayen"]},{"emoji":"\u{1F9A2}","aliases":["swan"]},{"emoji":"\u{1F1F8}\u{1F1FF}","aliases":["swaziland"]},{"emoji":"\u{1F613}","aliases":["sweat"]},{"emoji":"\u{1F4A6}","aliases":["sweat_drops"]},{"emoji":"\u{1F605}","aliases":["sweat_smile"]},{"emoji":"\u{1F1F8}\u{1F1EA}","aliases":["sweden"]},{"emoji":"\u{1F360}","aliases":["sweet_potato"]},{"emoji":"\u{1FA72}","aliases":["swim_brief"]},{"emoji":"\u{1F3CA}","aliases":["swimmer"]},{"emoji":"\u{1F3CA}\u200D\u2642\uFE0F","aliases":["swimming_man"]},{"emoji":"\u{1F3CA}\u200D\u2640\uFE0F","aliases":["swimming_woman"]},{"emoji":"\u{1F1E8}\u{1F1ED}","aliases":["switzerland"]},{"emoji":"\u{1F523}","aliases":["symbols"]},{"emoji":"\u{1F54D}","aliases":["synagogue"]},{"emoji":"\u{1F1F8}\u{1F1FE}","aliases":["syria"]},{"emoji":"\u{1F489}","aliases":["syringe"]},{"emoji":"\u{1F996}","aliases":["t-rex"]},{"emoji":"\u{1F32E}","aliases":["taco"]},{"emoji":"\u{1F389}","aliases":["tada","hooray"]},{"emoji":"\u{1F1F9}\u{1F1FC}","aliases":["taiwan"]},{"emoji":"\u{1F1F9}\u{1F1EF}","aliases":["tajikistan"]},{"emoji":"\u{1F961}","aliases":["takeout_box"]},{"emoji":"\u{1FAD4}","aliases":["tamale"]},{"emoji":"\u{1F38B}","aliases":["tanabata_tree"]},{"emoji":"\u{1F34A}","aliases":["tangerine","orange","mandarin"]},{"emoji":"\u{1F1F9}\u{1F1FF}","aliases":["tanzania"]},{"emoji":"\u2649","aliases":["taurus"]},{"emoji":"\u{1F695}","aliases":["taxi"]},{"emoji":"\u{1F375}","aliases":["tea"]},{"emoji":"\u{1F9D1}\u200D\u{1F3EB}","aliases":["teacher"]},{"emoji":"\u{1FAD6}","aliases":["teapot"]},{"emoji":"\u{1F9D1}\u200D\u{1F4BB}","aliases":["technologist"]},{"emoji":"\u{1F9F8}","aliases":["teddy_bear"]},{"emoji":"\u{1F4DE}","aliases":["telephone_receiver"]},{"emoji":"\u{1F52D}","aliases":["telescope"]},{"emoji":"\u{1F3BE}","aliases":["tennis"]},{"emoji":"\u26FA","aliases":["tent"]},{"emoji":"\u{1F9EA}","aliases":["test_tube"]},{"emoji":"\u{1F1F9}\u{1F1ED}","aliases":["thailand"]},{"emoji":"\u{1F321}\uFE0F","aliases":["thermometer"]},{"emoji":"\u{1F914}","aliases":["thinking"]},{"emoji":"\u{1FA74}","aliases":["thong_sandal"]},{"emoji":"\u{1F4AD}","aliases":["thought_balloon"]},{"emoji":"\u{1F9F5}","aliases":["thread"]},{"emoji":"3\uFE0F\u20E3","aliases":["three"]},{"emoji":"\u{1F3AB}","aliases":["ticket"]},{"emoji":"\u{1F39F}\uFE0F","aliases":["tickets"]},{"emoji":"\u{1F42F}","aliases":["tiger"]},{"emoji":"\u{1F405}","aliases":["tiger2"]},{"emoji":"\u23F2\uFE0F","aliases":["timer_clock"]},{"emoji":"\u{1F1F9}\u{1F1F1}","aliases":["timor_leste"]},{"emoji":"\u{1F481}\u200D\u2642\uFE0F","aliases":["tipping_hand_man","sassy_man"]},{"emoji":"\u{1F481}","aliases":["tipping_hand_person","information_desk_person"]},{"emoji":"\u{1F481}\u200D\u2640\uFE0F","aliases":["tipping_hand_woman","sassy_woman"]},{"emoji":"\u{1F62B}","aliases":["tired_face"]},{"emoji":"\u2122\uFE0F","aliases":["tm"]},{"emoji":"\u{1F1F9}\u{1F1EC}","aliases":["togo"]},{"emoji":"\u{1F6BD}","aliases":["toilet"]},{"emoji":"\u{1F1F9}\u{1F1F0}","aliases":["tokelau"]},{"emoji":"\u{1F5FC}","aliases":["tokyo_tower"]},{"emoji":"\u{1F345}","aliases":["tomato"]},{"emoji":"\u{1F1F9}\u{1F1F4}","aliases":["tonga"]},{"emoji":"\u{1F445}","aliases":["tongue"]},{"emoji":"\u{1F9F0}","aliases":["toolbox"]},{"emoji":"\u{1F9B7}","aliases":["tooth"]},{"emoji":"\u{1FAA5}","aliases":["toothbrush"]},{"emoji":"\u{1F51D}","aliases":["top"]},{"emoji":"\u{1F3A9}","aliases":["tophat"]},{"emoji":"\u{1F32A}\uFE0F","aliases":["tornado"]},{"emoji":"\u{1F1F9}\u{1F1F7}","aliases":["tr"]},{"emoji":"\u{1F5B2}\uFE0F","aliases":["trackball"]},{"emoji":"\u{1F69C}","aliases":["tractor"]},{"emoji":"\u{1F6A5}","aliases":["traffic_light"]},{"emoji":"\u{1F68B}","aliases":["train"]},{"emoji":"\u{1F686}","aliases":["train2"]},{"emoji":"\u{1F68A}","aliases":["tram"]},{"emoji":"\u{1F3F3}\uFE0F\u200D\u26A7\uFE0F","aliases":["transgender_flag"]},{"emoji":"\u26A7\uFE0F","aliases":["transgender_symbol"]},{"emoji":"\u{1F6A9}","aliases":["triangular_flag_on_post"]},{"emoji":"\u{1F4D0}","aliases":["triangular_ruler"]},{"emoji":"\u{1F531}","aliases":["trident"]},{"emoji":"\u{1F1F9}\u{1F1F9}","aliases":["trinidad_tobago"]},{"emoji":"\u{1F1F9}\u{1F1E6}","aliases":["tristan_da_cunha"]},{"emoji":"\u{1F624}","aliases":["triumph"]},{"emoji":"\u{1F9CC}","aliases":["troll"]},{"emoji":"\u{1F68E}","aliases":["trolleybus"]},{"emoji":"\u{1F3C6}","aliases":["trophy"]},{"emoji":"\u{1F379}","aliases":["tropical_drink"]},{"emoji":"\u{1F420}","aliases":["tropical_fish"]},{"emoji":"\u{1F69A}","aliases":["truck"]},{"emoji":"\u{1F3BA}","aliases":["trumpet"]},{"emoji":"\u{1F337}","aliases":["tulip"]},{"emoji":"\u{1F943}","aliases":["tumbler_glass"]},{"emoji":"\u{1F1F9}\u{1F1F3}","aliases":["tunisia"]},{"emoji":"\u{1F983}","aliases":["turkey"]},{"emoji":"\u{1F1F9}\u{1F1F2}","aliases":["turkmenistan"]},{"emoji":"\u{1F1F9}\u{1F1E8}","aliases":["turks_caicos_islands"]},{"emoji":"\u{1F422}","aliases":["turtle"]},{"emoji":"\u{1F1F9}\u{1F1FB}","aliases":["tuvalu"]},{"emoji":"\u{1F4FA}","aliases":["tv"]},{"emoji":"\u{1F500}","aliases":["twisted_rightwards_arrows"]},{"emoji":"2\uFE0F\u20E3","aliases":["two"]},{"emoji":"\u{1F495}","aliases":["two_hearts"]},{"emoji":"\u{1F46C}","aliases":["two_men_holding_hands"]},{"emoji":"\u{1F46D}","aliases":["two_women_holding_hands"]},{"emoji":"\u{1F239}","aliases":["u5272"]},{"emoji":"\u{1F234}","aliases":["u5408"]},{"emoji":"\u{1F23A}","aliases":["u55b6"]},{"emoji":"\u{1F22F}","aliases":["u6307"]},{"emoji":"\u{1F237}\uFE0F","aliases":["u6708"]},{"emoji":"\u{1F236}","aliases":["u6709"]},{"emoji":"\u{1F235}","aliases":["u6e80"]},{"emoji":"\u{1F21A}","aliases":["u7121"]},{"emoji":"\u{1F238}","aliases":["u7533"]},{"emoji":"\u{1F232}","aliases":["u7981"]},{"emoji":"\u{1F233}","aliases":["u7a7a"]},{"emoji":"\u{1F1FA}\u{1F1EC}","aliases":["uganda"]},{"emoji":"\u{1F1FA}\u{1F1E6}","aliases":["ukraine"]},{"emoji":"\u2614","aliases":["umbrella"]},{"emoji":"\u{1F612}","aliases":["unamused"]},{"emoji":"\u{1F51E}","aliases":["underage"]},{"emoji":"\u{1F984}","aliases":["unicorn"]},{"emoji":"\u{1F1E6}\u{1F1EA}","aliases":["united_arab_emirates"]},{"emoji":"\u{1F1FA}\u{1F1F3}","aliases":["united_nations"]},{"emoji":"\u{1F513}","aliases":["unlock"]},{"emoji":"\u{1F199}","aliases":["up"]},{"emoji":"\u{1F643}","aliases":["upside_down_face"]},{"emoji":"\u{1F1FA}\u{1F1FE}","aliases":["uruguay"]},{"emoji":"\u{1F1FA}\u{1F1F8}","aliases":["us"]},{"emoji":"\u{1F1FA}\u{1F1F2}","aliases":["us_outlying_islands"]},{"emoji":"\u{1F1FB}\u{1F1EE}","aliases":["us_virgin_islands"]},{"emoji":"\u{1F1FA}\u{1F1FF}","aliases":["uzbekistan"]},{"emoji":"\u270C\uFE0F","aliases":["v"]},{"emoji":"\u{1F9DB}","aliases":["vampire"]},{"emoji":"\u{1F9DB}\u200D\u2642\uFE0F","aliases":["vampire_man"]},{"emoji":"\u{1F9DB}\u200D\u2640\uFE0F","aliases":["vampire_woman"]},{"emoji":"\u{1F1FB}\u{1F1FA}","aliases":["vanuatu"]},{"emoji":"\u{1F1FB}\u{1F1E6}","aliases":["vatican_city"]},{"emoji":"\u{1F1FB}\u{1F1EA}","aliases":["venezuela"]},{"emoji":"\u{1F6A6}","aliases":["vertical_traffic_light"]},{"emoji":"\u{1F4FC}","aliases":["vhs"]},{"emoji":"\u{1F4F3}","aliases":["vibration_mode"]},{"emoji":"\u{1F4F9}","aliases":["video_camera"]},{"emoji":"\u{1F3AE}","aliases":["video_game"]},{"emoji":"\u{1F1FB}\u{1F1F3}","aliases":["vietnam"]},{"emoji":"\u{1F3BB}","aliases":["violin"]},{"emoji":"\u264D","aliases":["virgo"]},{"emoji":"\u{1F30B}","aliases":["volcano"]},{"emoji":"\u{1F3D0}","aliases":["volleyball"]},{"emoji":"\u{1F92E}","aliases":["vomiting_face"]},{"emoji":"\u{1F19A}","aliases":["vs"]},{"emoji":"\u{1F596}","aliases":["vulcan_salute"]},{"emoji":"\u{1F9C7}","aliases":["waffle"]},{"emoji":"\u{1F3F4}\u{E0067}\u{E0062}\u{E0077}\u{E006C}\u{E0073}\u{E007F}","aliases":["wales"]},{"emoji":"\u{1F6B6}","aliases":["walking"]},{"emoji":"\u{1F6B6}\u200D\u2642\uFE0F","aliases":["walking_man"]},{"emoji":"\u{1F6B6}\u200D\u2640\uFE0F","aliases":["walking_woman"]},{"emoji":"\u{1F1FC}\u{1F1EB}","aliases":["wallis_futuna"]},{"emoji":"\u{1F318}","aliases":["waning_crescent_moon"]},{"emoji":"\u{1F316}","aliases":["waning_gibbous_moon"]},{"emoji":"\u26A0\uFE0F","aliases":["warning"]},{"emoji":"\u{1F5D1}\uFE0F","aliases":["wastebasket"]},{"emoji":"\u231A","aliases":["watch"]},{"emoji":"\u{1F403}","aliases":["water_buffalo"]},{"emoji":"\u{1F93D}","aliases":["water_polo"]},{"emoji":"\u{1F349}","aliases":["watermelon"]},{"emoji":"\u{1F44B}","aliases":["wave"]},{"emoji":"\u3030\uFE0F","aliases":["wavy_dash"]},{"emoji":"\u{1F312}","aliases":["waxing_crescent_moon"]},{"emoji":"\u{1F6BE}","aliases":["wc"]},{"emoji":"\u{1F629}","aliases":["weary"]},{"emoji":"\u{1F492}","aliases":["wedding"]},{"emoji":"\u{1F3CB}\uFE0F","aliases":["weight_lifting"]},{"emoji":"\u{1F3CB}\uFE0F\u200D\u2642\uFE0F","aliases":["weight_lifting_man"]},{"emoji":"\u{1F3CB}\uFE0F\u200D\u2640\uFE0F","aliases":["weight_lifting_woman"]},{"emoji":"\u{1F1EA}\u{1F1ED}","aliases":["western_sahara"]},{"emoji":"\u{1F433}","aliases":["whale"]},{"emoji":"\u{1F40B}","aliases":["whale2"]},{"emoji":"\u{1F6DE}","aliases":["wheel"]},{"emoji":"\u2638\uFE0F","aliases":["wheel_of_dharma"]},{"emoji":"\u267F","aliases":["wheelchair"]},{"emoji":"\u2705","aliases":["white_check_mark"]},{"emoji":"\u26AA","aliases":["white_circle"]},{"emoji":"\u{1F3F3}\uFE0F","aliases":["white_flag"]},{"emoji":"\u{1F4AE}","aliases":["white_flower"]},{"emoji":"\u{1F468}\u200D\u{1F9B3}","aliases":["white_haired_man"]},{"emoji":"\u{1F469}\u200D\u{1F9B3}","aliases":["white_haired_woman"]},{"emoji":"\u{1F90D}","aliases":["white_heart"]},{"emoji":"\u2B1C","aliases":["white_large_square"]},{"emoji":"\u25FD","aliases":["white_medium_small_square"]},{"emoji":"\u25FB\uFE0F","aliases":["white_medium_square"]},{"emoji":"\u25AB\uFE0F","aliases":["white_small_square"]},{"emoji":"\u{1F533}","aliases":["white_square_button"]},{"emoji":"\u{1F940}","aliases":["wilted_flower"]},{"emoji":"\u{1F390}","aliases":["wind_chime"]},{"emoji":"\u{1F32C}\uFE0F","aliases":["wind_face"]},{"emoji":"\u{1FA9F}","aliases":["window"]},{"emoji":"\u{1F377}","aliases":["wine_glass"]},{"emoji":"\u{1F609}","aliases":["wink"]},{"emoji":"\u{1F43A}","aliases":["wolf"]},{"emoji":"\u{1F469}","aliases":["woman"]},{"emoji":"\u{1F469}\u200D\u{1F3A8}","aliases":["woman_artist"]},{"emoji":"\u{1F469}\u200D\u{1F680}","aliases":["woman_astronaut"]},{"emoji":"\u{1F9D4}\u200D\u2640\uFE0F","aliases":["woman_beard"]},{"emoji":"\u{1F938}\u200D\u2640\uFE0F","aliases":["woman_cartwheeling"]},{"emoji":"\u{1F469}\u200D\u{1F373}","aliases":["woman_cook"]},{"emoji":"\u{1F483}","aliases":["woman_dancing","dancer"]},{"emoji":"\u{1F926}\u200D\u2640\uFE0F","aliases":["woman_facepalming"]},{"emoji":"\u{1F469}\u200D\u{1F3ED}","aliases":["woman_factory_worker"]},{"emoji":"\u{1F469}\u200D\u{1F33E}","aliases":["woman_farmer"]},{"emoji":"\u{1F469}\u200D\u{1F37C}","aliases":["woman_feeding_baby"]},{"emoji":"\u{1F469}\u200D\u{1F692}","aliases":["woman_firefighter"]},{"emoji":"\u{1F469}\u200D\u2695\uFE0F","aliases":["woman_health_worker"]},{"emoji":"\u{1F469}\u200D\u{1F9BD}","aliases":["woman_in_manual_wheelchair"]},{"emoji":"\u{1F469}\u200D\u{1F9BC}","aliases":["woman_in_motorized_wheelchair"]},{"emoji":"\u{1F935}\u200D\u2640\uFE0F","aliases":["woman_in_tuxedo"]},{"emoji":"\u{1F469}\u200D\u2696\uFE0F","aliases":["woman_judge"]},{"emoji":"\u{1F939}\u200D\u2640\uFE0F","aliases":["woman_juggling"]},{"emoji":"\u{1F469}\u200D\u{1F527}","aliases":["woman_mechanic"]},{"emoji":"\u{1F469}\u200D\u{1F4BC}","aliases":["woman_office_worker"]},{"emoji":"\u{1F469}\u200D\u2708\uFE0F","aliases":["woman_pilot"]},{"emoji":"\u{1F93E}\u200D\u2640\uFE0F","aliases":["woman_playing_handball"]},{"emoji":"\u{1F93D}\u200D\u2640\uFE0F","aliases":["woman_playing_water_polo"]},{"emoji":"\u{1F469}\u200D\u{1F52C}","aliases":["woman_scientist"]},{"emoji":"\u{1F937}\u200D\u2640\uFE0F","aliases":["woman_shrugging"]},{"emoji":"\u{1F469}\u200D\u{1F3A4}","aliases":["woman_singer"]},{"emoji":"\u{1F469}\u200D\u{1F393}","aliases":["woman_student"]},{"emoji":"\u{1F469}\u200D\u{1F3EB}","aliases":["woman_teacher"]},{"emoji":"\u{1F469}\u200D\u{1F4BB}","aliases":["woman_technologist"]},{"emoji":"\u{1F9D5}","aliases":["woman_with_headscarf"]},{"emoji":"\u{1F469}\u200D\u{1F9AF}","aliases":["woman_with_probing_cane"]},{"emoji":"\u{1F473}\u200D\u2640\uFE0F","aliases":["woman_with_turban"]},{"emoji":"\u{1F470}\u200D\u2640\uFE0F","aliases":["woman_with_veil","bride_with_veil"]},{"emoji":"\u{1F45A}","aliases":["womans_clothes"]},{"emoji":"\u{1F452}","aliases":["womans_hat"]},{"emoji":"\u{1F93C}\u200D\u2640\uFE0F","aliases":["women_wrestling"]},{"emoji":"\u{1F6BA}","aliases":["womens"]},{"emoji":"\u{1FAB5}","aliases":["wood"]},{"emoji":"\u{1F974}","aliases":["woozy_face"]},{"emoji":"\u{1F5FA}\uFE0F","aliases":["world_map"]},{"emoji":"\u{1FAB1}","aliases":["worm"]},{"emoji":"\u{1F61F}","aliases":["worried"]},{"emoji":"\u{1F527}","aliases":["wrench"]},{"emoji":"\u{1F93C}","aliases":["wrestling"]},{"emoji":"\u270D\uFE0F","aliases":["writing_hand"]},{"emoji":"\u274C","aliases":["x"]},{"emoji":"\u{1FA7B}","aliases":["x_ray"]},{"emoji":"\u{1F9F6}","aliases":["yarn"]},{"emoji":"\u{1F971}","aliases":["yawning_face"]},{"emoji":"\u{1F7E1}","aliases":["yellow_circle"]},{"emoji":"\u{1F49B}","aliases":["yellow_heart"]},{"emoji":"\u{1F7E8}","aliases":["yellow_square"]},{"emoji":"\u{1F1FE}\u{1F1EA}","aliases":["yemen"]},{"emoji":"\u{1F4B4}","aliases":["yen"]},{"emoji":"\u262F\uFE0F","aliases":["yin_yang"]},{"emoji":"\u{1FA80}","aliases":["yo_yo"]},{"emoji":"\u{1F60B}","aliases":["yum"]},{"emoji":"\u{1F1FF}\u{1F1F2}","aliases":["zambia"]},{"emoji":"\u{1F92A}","aliases":["zany_face"]},{"emoji":"\u26A1","aliases":["zap"]},{"emoji":"\u{1F993}","aliases":["zebra"]},{"emoji":"0\uFE0F\u20E3","aliases":["zero"]},{"emoji":"\u{1F1FF}\u{1F1FC}","aliases":["zimbabwe"]},{"emoji":"\u{1F910}","aliases":["zipper_mouth_face"]},{"emoji":"\u{1F9DF}","aliases":["zombie"]},{"emoji":"\u{1F9DF}\u200D\u2642\uFE0F","aliases":["zombie_man"]},{"emoji":"\u{1F9DF}\u200D\u2640\uFE0F","aliases":["zombie_woman"]},{"emoji":"\u{1F4A4}","aliases":["zzz"]}]'),Rr=Object.defineProperty,Fn=Object.getOwnPropertySymbols,ur=Object.prototype.hasOwnProperty,Er=Object.prototype.propertyIsEnumerable,ra=(e,t,i)=>t in e?Rr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,xa=(e,t)=>{for(var i in t||(t={}))ur.call(t,i)&&ra(e,i,t[i]);if(Fn)for(var i of Fn(t))Er.call(t,i)&&ra(e,i,t[i]);return e};const{assetUrlPrefix:Es}=window.config,{customEmojis:us}=window.config,So=xa({},us);for(const{emoji:e,aliases:t}of Wn)for(const i of t||[])So[i]=e;const hs=Object.keys(So).sort((e,t)=>e==="+1"||e==="-1"?-1:t==="+1"||t==="-1"?1:e.localeCompare(t)),Rs={};for(const e of hs)Rs[e]=So[e];function ll(e){let t;return Object.prototype.hasOwnProperty.call(us,e)?t=`<img alt=":${e}:" src="${Es}/img/emoji/${e}.png">`:t=Ks(e),`<span class="emoji" title=":${e}:">${t}</span>`}function Ks(e){return Rs[e]||`:${e}:`}const Ms=e=>e.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">"),fs=e=>e.replace(/>/g,">").replace(/</g,"<").replace(/�?39;/g,"'").replace(/"/g,'"').replace(/&/g,"&");function fo(e,...t){if(typeof e=="string")return Ms(e);let i=e[0];for(const[u,p]of t.entries())i=i+Ms(String(p))+e[u+1];return i}function cl(e,...t){if(typeof e=="string")return fs(e);let i=e[0];for(const[u,p]of t.entries())i=i+fs(String(p))+e[u+1];return i}var bl=(e,t,i)=>new Promise((u,p)=>{var _=S=>{try{O(i.next(S))}catch(Q){p(Q)}},j=S=>{try{O(i.throw(S))}catch(Q){p(Q)}},O=S=>S.done?u(S.value):Promise.resolve(S.value).then(_,j);O((i=i.apply(e,t)).next())});function gs({mentions:e,emoji:t}){const i=[];return e&&i.push({trigger:":",requireLeadingSpace:!0,values:(u,p)=>{const _=[];for(const j of hs)if(j.includes(u)&&(_.push(j),_.length>5))break;p(_)},lookup:u=>u,selectTemplate:u=>typeof u=="undefined"?null:Ks(u.original),menuItemTemplate:u=>`<div class="tribute-item">${ll(u.original)}<span>${fo(u.original)}</span></div>`}),t&&i.push({values:window.config.tributeValues,requireLeadingSpace:!0,menuItemTemplate:u=>`
|
|
<div class="tribute-item">
|
|
<img src="${fo(u.original.avatar)}"/>
|
|
<span class="name">${fo(u.original.name)}</span>
|
|
${u.original.fullname&&u.original.fullname!==""?`<span class="fullname">${fo(u.original.fullname)}</span>`:""}
|
|
</div>
|
|
`}),i}function o(e){return bl(this,arguments,function*(t,{mentions:i,emoji:u}={}){if(!window.config.requireTribute||!t)return;const p=Array.from("length"in t?t:[t]);if(!p.length)return;const _=p.filter(Fe=>i||Fe.id==="content"),j=p.filter(Fe=>u||Fe.id==="content"||Fe.classList.contains("emoji-input")),O=me([..._,...j]);if(!O.length)return;const{default:S}=yield gi.e("tribute").then(gi.t.bind(gi,"./node_modules/tributejs/dist/tribute.min.js",19)),Q=gs({mentions:i||_.length>0,emoji:u||j.length>0}),xe=new S({collection:Q,noMatchTemplate:""});for(const Fe of O)xe.attach(Fe);return xe})}var y=(e,t,i)=>new Promise((u,p)=>{var _=S=>{try{O(i.next(S))}catch(Q){p(Q)}},j=S=>{try{O(i.throw(S))}catch(Q){p(Q)}},O=S=>S.done?u(S.value):Promise.resolve(S.value).then(_,j);O((i=i.apply(e,t)).next())});const{copy_success:U,copy_error:q}=window.config.i18n;function fe(e){return y(this,null,function*(){try{yield navigator.clipboard.writeText(e)}catch(t){return he(e)}return!0})}function he(e){if(!document.execCommand)return!1;const t=document.createElement("textarea");t.value=e,t.style.top=0,t.style.left=0,t.style.position="fixed",document.body.appendChild(t),t.select();const i=document.execCommand("copy");return document.body.removeChild(t),i}function Ae(){document.addEventListener("click",e=>{var t;let i=e.target;for(let u=0;u<3&&i;u++){const p=i.getAttribute("data-clipboard-text")||((t=document.querySelector(i.getAttribute("data-clipboard-target")))==null?void 0:t.value);if(p){e.preventDefault(),y(this,null,function*(){const _=yield fe(p);zn(i,_?U:q)});break}i=i.parentElement}})}const Ye={ref:"root"},rt={key:0,class:"ui active centered inline loader"},vt={key:1},Wt={key:2};function st(e,t,i,u,p,_){const j=(0,K.up)("svg-icon");return(0,K.wg)(),(0,K.iD)("div",Ye,[e.loading?((0,K.wg)(),(0,K.iD)("div",rt)):(0,K.kq)("v-if",!0),!e.loading&&e.issue!==null?((0,K.wg)(),(0,K.iD)("div",vt,[(0,K._)("p",null,[(0,K._)("small",null,(0,Ct.toDisplayString)(e.issue.repository.full_name)+" on "+(0,Ct.toDisplayString)(_.createdAt),1)]),(0,K._)("p",null,[(0,K.Wm)(j,{name:_.icon,class:(0,Ct.normalizeClass)([_.color])},null,8,["name","class"]),(0,K.Uk)(),(0,K._)("strong",null,(0,Ct.toDisplayString)(e.issue.title),1),(0,K.Uk)(" #"+(0,Ct.toDisplayString)(e.issue.number),1)]),(0,K._)("p",null,(0,Ct.toDisplayString)(_.body),1),(0,K._)("div",null,[((0,K.wg)(!0),(0,K.iD)(K.HY,null,(0,K.Ko)(_.labels,O=>((0,K.wg)(),(0,K.iD)("div",{key:O.name,class:"ui label",style:(0,Ct.normalizeStyle)({color:O.textColor,backgroundColor:O.color})},(0,Ct.toDisplayString)(O.name),5))),128))])])):(0,K.kq)("v-if",!0),!e.loading&&e.issue===null?((0,K.wg)(),(0,K.iD)("div",Wt,[(0,K._)("p",null,[(0,K._)("small",null,(0,Ct.toDisplayString)(e.i18nErrorOccurred),1)]),(0,K._)("p",null,(0,Ct.toDisplayString)(e.i18nErrorMessage),1)])):(0,K.kq)("v-if",!0)],512)}var Pt=Math.pow;const{appSubUrl:oi,i18n:di}=window.config,Pi=e=>(e/=255,e<=.04045?e/12.92:Pt((e+.055)/1.055,2.4)),Dn=e=>{const t=Pi(parseInt(e.substring(0,2),16)),i=Pi(parseInt(e.substring(2,4),16)),u=Pi(parseInt(e.substring(4,6),16));return .2126*t+.7152*i+.0722*u},ti=.179;var ut={name:"ContextPopup",components:{SvgIcon:Ui},data:()=>({loading:!1,issue:null,i18nErrorOccurred:di.error_occurred,i18nErrorMessage:null}),computed:{createdAt(){return new Date(this.issue.created_at).toLocaleDateString(void 0,{year:"numeric",month:"short",day:"numeric"})},body(){const e=this.issue.body.replace(/\n+/g," ");return e.length>85?`${e.substring(0,85)}\u2026`:e},icon(){return this.issue.pull_request!==null?this.issue.state==="open"?"octicon-git-pull-request":this.issue.pull_request.merged===!0?"octicon-git-merge":"octicon-git-pull-request":this.issue.state==="open"?"octicon-issue-opened":"octicon-issue-closed"},color(){return this.issue.state==="open"?"green":this.issue.pull_request!==null&&this.issue.pull_request.merged===!0?"purple":"red"},labels(){return this.issue.labels.map(e=>{let t;return Dn(e.color)<ti?t="#ffffff":t="#000000",{name:e.name,color:`#${e.color}`,textColor:t}})}},mounted(){this.$refs.root.addEventListener("us-load-context-popup",e=>{const t=e.detail;!this.loading&&this.issue===null&&this.load(t)})},methods:{load(e){this.loading=!0,this.i18nErrorMessage=null,C().get(`${oi}/${e.owner}/${e.repo}/issues/${e.index}/info`).done(t=>{this.issue=t}).fail(t=>{t.responseJSON&&t.responseJSON.message?this.i18nErrorMessage=t.responseJSON.message:this.i18nErrorMessage=di.network_error}).always(()=>{this.loading=!1})}}},a=(0,fr.Z)(ut,[["render",st]]);function c(){const e=n(".ref-issue");!e.length||e.each(function(){if(n(this).hasClass("ref-external-issue"))return;const{owner:t,repo:i,index:u}=oe(n(this).attr("href"));if(!t)return;const p=document.createElement("div");this.parentNode.insertBefore(p,this.nextSibling);const _=(0,D.createApp)(a);try{_.mount(p)}catch(j){console.error(j),p.textContent="ContextPopup failed to load"}jn(this,{content:p,interactive:!0,onShow:()=>{p.firstChild.dispatchEvent(new CustomEvent("us-load-context-popup",{detail:{owner:t,repo:i,index:u}}))}})})}var m=(e,t,i)=>new Promise((u,p)=>{var _=S=>{try{O(i.next(S))}catch(Q){p(Q)}},j=S=>{try{O(i.throw(S))}catch(Q){p(Q)}},O=S=>S.done?u(S.value):Promise.resolve(S.value).then(_,j);O((i=i.apply(e,t)).next())});function b(){if(!document.getElementById("git-graph-container"))return;n("#flow-color-monochrome").on("click",()=>{n("#flow-color-monochrome").addClass("active"),n("#flow-color-colored").removeClass("active"),n("#git-graph-container").removeClass("colored").addClass("monochrome");const _=new URLSearchParams(window.location.search);_.set("mode","monochrome");const j=_.toString();j?window.history.replaceState({},"",`?${j}`):window.history.replaceState({},"",window.location.pathname),n(".pagination a").each((O,S)=>{const Q=n(S).attr("href");if(!Q)return;const xe=new URL(Q,window.location),Fe=xe.searchParams;Fe.set("mode","monochrome"),xe.search=`?${Fe.toString()}`,n(S).attr("href",xe.href)})}),n("#flow-color-colored").on("click",()=>{n("#flow-color-colored").addClass("active"),n("#flow-color-monochrome").removeClass("active"),n("#git-graph-container").addClass("colored").removeClass("monochrome"),n(".pagination a").each((O,S)=>{const Q=n(S).attr("href");if(!Q)return;const xe=new URL(Q,window.location),Fe=xe.searchParams;Fe.delete("mode"),xe.search=`?${Fe.toString()}`,n(S).attr("href",xe.href)});const _=new URLSearchParams(window.location.search);_.delete("mode");const j=_.toString();j?window.history.replaceState({},"",`?${j}`):window.history.replaceState({},"",window.location.pathname)});const t=new URL(window.location),i=t.searchParams,u=()=>{const _=i.toString(),j=new URL(t);j.searchParams.set("div-only","true"),window.history.replaceState({},"",_?`?${_}`:window.location.pathname),n("#pagination").empty(),n("#rel-container").addClass("hide"),n("#rev-container").addClass("hide"),n("#loading-indicator").removeClass("hide"),m(this,null,function*(){const O=n(yield n.ajax(String(j)));n("#pagination").html(O.find("#pagination").html()),n("#rel-container").html(O.find("#rel-container").html()),n("#rev-container").html(O.find("#rev-container").html()),n("#loading-indicator").addClass("hide"),n("#rel-container").removeClass("hide"),n("#rev-container").removeClass("hide")})},p=i.getAll("branch");i.has("hide-pr-refs")&&i.get("hide-pr-refs")==="true"&&p.splice(0,0,"...flow-hide-pr-refs"),n("#flow-select-refs-dropdown").dropdown("set selected",p),n("#flow-select-refs-dropdown").dropdown({clearable:!0,fullTextSeach:"exact",onRemove(_){if(_==="...flow-hide-pr-refs")i.delete("hide-pr-refs");else{const j=i.getAll("branch");i.delete("branch");for(const O of j)O!==_&&i.append("branch",O)}u()},onAdd(_){_==="...flow-hide-pr-refs"?i.set("hide-pr-refs",!0):i.append("branch",_),u()}}),n("#git-graph-container").on("mouseenter","#rev-list li",_=>{const j=n(_.currentTarget).data("flow");j!==0&&(n(`#flow-${j}`).addClass("highlight"),n(_.currentTarget).addClass("hover"),n(`#rev-list li[data-flow='${j}']`).addClass("highlight"))}),n("#git-graph-container").on("mouseleave","#rev-list li",_=>{const j=n(_.currentTarget).data("flow");j!==0&&(n(`#flow-${j}`).removeClass("highlight"),n(_.currentTarget).removeClass("hover"),n(`#rev-list li[data-flow='${j}']`).removeClass("highlight"))}),n("#git-graph-container").on("mouseenter","#rel-container .flow-group",_=>{n(_.currentTarget).addClass("highlight");const j=n(_.currentTarget).data("flow");n(`#rev-list li[data-flow='${j}']`).addClass("highlight")}),n("#git-graph-container").on("mouseleave","#rel-container .flow-group",_=>{n(_.currentTarget).removeClass("highlight");const j=n(_.currentTarget).data("flow");n(`#rev-list li[data-flow='${j}']`).removeClass("highlight")}),n("#git-graph-container").on("mouseenter","#rel-container .flow-commit",_=>{const j=n(_.currentTarget).data("rev");n(`#rev-list li#commit-${j}`).addClass("hover")}),n("#git-graph-container").on("mouseleave","#rel-container .flow-commit",_=>{const j=n(_.currentTarget).data("rev");n(`#rev-list li#commit-${j}`).removeClass("hover")})}const k={id:"user-heatmap"},V={class:"total-contributions"};function G(e,t,i,u,p,_){const j=(0,K.up)("calendar-heatmap");return(0,K.wg)(),(0,K.iD)("div",k,[(0,K._)("div",V,(0,Ct.toDisplayString)(_.sum)+" contributions in the last 12 months ",1),(0,K.Wm)(j,{locale:e.locale,"no-data-text":e.locale.no_contributions,"tooltip-unit":e.locale.contributions,"end-date":e.endDate,values:i.values,"range-color":e.colorRange,onDayClick:t[0]||(t[0]=O=>_.handleDayClick(O))},null,8,["locale","no-data-text","tooltip-unit","end-date","values","range-color"])])}var ve=gi("./node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js"),je=Object.defineProperty,Me=Object.getOwnPropertySymbols,Xe=Object.prototype.hasOwnProperty,_t=Object.prototype.propertyIsEnumerable,dt=(e,t,i)=>t in e?je(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Mt=(e,t)=>{for(var i in t||(t={}))Xe.call(t,i)&&dt(e,i,t[i]);if(Me)for(var i of Me(t))_t.call(t,i)&&dt(e,i,t[i]);return e},Qe=(e,t,i)=>(dt(e,typeof t!="symbol"?t+"":t,i),i);const Bt=class{constructor(e,t,i){Qe(this,"startDate"),Qe(this,"endDate"),Qe(this,"max"),Qe(this,"_values"),Qe(this,"_firstFullWeekOfMonths"),Qe(this,"_activities"),Qe(this,"_calendar"),this.endDate=this.parseDate(e),this.max=i||Math.ceil(Math.max(...t.map(u=>u.count))/5*4),this.startDate=this.shiftDate(e,-Bt.DAYS_IN_ONE_YEAR),this._values=t}set values(e){this.max=Math.ceil(Math.max(...e.map(t=>t.count))/5*4),this._values=e,this._firstFullWeekOfMonths=void 0,this._calendar=void 0,this._activities=void 0}get values(){return this._values}get activities(){if(!this._activities){this._activities=new Map;for(let e=0,t=this.values.length;e<t;e++)this._activities.set(this.keyDayParser(this.values[e].date),{count:this.values[e].count,colorIndex:this.getColorIndex(this.values[e].count)})}return this._activities}get weekCount(){return this.getDaysCount()/Bt.DAYS_IN_WEEK}get calendar(){if(!this._calendar){let e=this.shiftDate(this.startDate,-this.getCountEmptyDaysAtStart());e=new Date(e.getFullYear(),e.getMonth(),e.getDate()),this._calendar=new Array(this.weekCount);for(let t=0,i=this._calendar.length;t<i;t++){this._calendar[t]=new Array(Bt.DAYS_IN_WEEK);for(let u=0;u<Bt.DAYS_IN_WEEK;u++){const p=this.activities.get(this.keyDayParser(e));this._calendar[t][u]={date:new Date(e.valueOf()),count:p?p.count:void 0,colorIndex:p?p.colorIndex:0},e.setDate(e.getDate()+1)}}}return this._calendar}get firstFullWeekOfMonths(){if(!this._firstFullWeekOfMonths){const e=this.calendar;this._firstFullWeekOfMonths=[];for(let t=1,i=e.length;t<i;t++){const u=e[t-1][0].date,p=e[t][0].date;(u.getFullYear()<p.getFullYear()||u.getMonth()<p.getMonth())&&this._firstFullWeekOfMonths.push({value:p.getMonth(),index:t})}}return this._firstFullWeekOfMonths}getColorIndex(e){return e==null?0:e<=0?1:e>=this.max?5:Math.ceil(e*100/this.max*.03)+1}getCountEmptyDaysAtStart(){return this.startDate.getDay()}getCountEmptyDaysAtEnd(){return Bt.DAYS_IN_WEEK-1-this.endDate.getDay()}getDaysCount(){return Bt.DAYS_IN_ONE_YEAR+1+this.getCountEmptyDaysAtStart()+this.getCountEmptyDaysAtEnd()}shiftDate(e,t){const i=new Date(e);return i.setDate(i.getDate()+t),i}parseDate(e){return e instanceof Date?e:new Date(e)}keyDayParser(e){const t=this.parseDate(e);return String(t.getFullYear())+String(t.getMonth()).padStart(2,"0")+String(t.getDate()).padStart(2,"0")}};let Ht=Bt;Qe(Ht,"DEFAULT_RANGE_COLOR",["#ebedf0","#dae2ef","#c0ddf9","#73b3f3","#3886e1","#17459e"]),Qe(Ht,"DEFAULT_LOCALE",{months:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],days:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],on:"on",less:"Less",more:"More"}),Qe(Ht,"DEFAULT_TOOLTIP_UNIT","contributions"),Qe(Ht,"DAYS_IN_ONE_YEAR",365),Qe(Ht,"DAYS_IN_WEEK",7),Qe(Ht,"SQUARE_SIZE",10);var si="top",li="bottom",ci="right",ni="left",wi="auto",Ii=[si,li,ci,ni],Ti="start",xi="end",sr="clippingParents",Sr="viewport",$r="popper",Jr="reference",Le=Ii.reduce(function(e,t){return e.concat([t+"-"+Ti,t+"-"+xi])},[]),Ze=[].concat(Ii,[wi]).reduce(function(e,t){return e.concat([t,t+"-"+Ti,t+"-"+xi])},[]),Et="beforeRead",Kt="read",Xt="afterRead",hi="beforeMain",Mi="main",fi="afterMain",Ci="beforeWrite",ri="write",on="afterWrite",cn=[Et,Kt,Xt,hi,Mi,fi,Ci,ri,on];function an(e){return e?(e.nodeName||"").toLowerCase():null}function xn(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function qn(e){var t=xn(e).Element;return e instanceof t||e instanceof Element}function rr(e){var t=xn(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Mr(e){if(typeof ShadowRoot=="undefined")return!1;var t=xn(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Sa(e){var t=e.state;Object.keys(t.elements).forEach(function(i){var u=t.styles[i]||{},p=t.attributes[i]||{},_=t.elements[i];!rr(_)||!an(_)||(Object.assign(_.style,u),Object.keys(p).forEach(function(j){var O=p[j];O===!1?_.removeAttribute(j):_.setAttribute(j,O===!0?"":O)}))})}function Zo(e){var t=e.state,i={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,i.popper),t.styles=i,t.elements.arrow&&Object.assign(t.elements.arrow.style,i.arrow),function(){Object.keys(t.elements).forEach(function(u){var p=t.elements[u],_=t.attributes[u]||{},j=Object.keys(t.styles.hasOwnProperty(u)?t.styles[u]:i[u]),O=j.reduce(function(S,Q){return S[Q]="",S},{});!rr(p)||!an(p)||(Object.assign(p.style,O),Object.keys(_).forEach(function(S){p.removeAttribute(S)}))})}}var Is={name:"applyStyles",enabled:!0,phase:"write",fn:Sa,effect:Zo,requires:["computeStyles"]};function es(e){return e.split("-")[0]}var ts=Math.max,Qs=Math.min,Ba=Math.round;function po(e,t){t===void 0&&(t=!1);var i=e.getBoundingClientRect(),u=1,p=1;if(rr(e)&&t){var _=e.offsetHeight,j=e.offsetWidth;j>0&&(u=Ba(i.width)/j||1),_>0&&(p=Ba(i.height)/_||1)}return{width:i.width/u,height:i.height/p,top:i.top/p,right:i.right/u,bottom:i.bottom/p,left:i.left/u,x:i.left/u,y:i.top/p}}function ul(e){var t=po(e),i=e.offsetWidth,u=e.offsetHeight;return Math.abs(t.width-i)<=1&&(i=t.width),Math.abs(t.height-u)<=1&&(u=t.height),{x:e.offsetLeft,y:e.offsetTop,width:i,height:u}}function Mc(e,t){var i=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(i&&Mr(i)){var u=t;do{if(u&&e.isSameNode(u))return!0;u=u.parentNode||u.host}while(u)}return!1}function Os(e){return xn(e).getComputedStyle(e)}function Uf(e){return["table","td","th"].indexOf(an(e))>=0}function Ys(e){return((qn(e)?e.ownerDocument:e.document)||window.document).documentElement}function Pl(e){return an(e)==="html"?e:e.assignedSlot||e.parentNode||(Mr(e)?e.host:null)||Ys(e)}function Ic(e){return!rr(e)||Os(e).position==="fixed"?null:e.offsetParent}function Hf(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,i=navigator.userAgent.indexOf("Trident")!==-1;if(i&&rr(e)){var u=Os(e);if(u.position==="fixed")return null}for(var p=Pl(e);rr(p)&&["html","body"].indexOf(an(p))<0;){var _=Os(p);if(_.transform!=="none"||_.perspective!=="none"||_.contain==="paint"||["transform","perspective"].indexOf(_.willChange)!==-1||t&&_.willChange==="filter"||t&&_.filter&&_.filter!=="none")return p;p=p.parentNode}return null}function _l(e){for(var t=xn(e),i=Ic(e);i&&Uf(i)&&Os(i).position==="static";)i=Ic(i);return i&&(an(i)==="html"||an(i)==="body"&&Os(i).position==="static")?t:i||Hf(e)||t}function Zl(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function wl(e,t,i){return ts(e,Qs(t,i))}function $f(e,t,i){var u=wl(e,t,i);return u>i?i:u}function Fc(){return{top:0,right:0,bottom:0,left:0}}function Nc(e){return Object.assign({},Fc(),e)}function Lc(e,t){return t.reduce(function(i,u){return i[u]=e,i},{})}var zf=function(t,i){return t=typeof t=="function"?t(Object.assign({},i.rects,{placement:i.placement})):t,Nc(typeof t!="number"?t:Lc(t,Ii))};function Wf(e){var t,i=e.state,u=e.name,p=e.options,_=i.elements.arrow,j=i.modifiersData.popperOffsets,O=es(i.placement),S=Zl(O),Q=[ni,ci].indexOf(O)>=0,xe=Q?"height":"width";if(!(!_||!j)){var Fe=zf(p.padding,i),ct=ul(_),jt=S==="y"?si:ni,Tt=S==="y"?li:ci,$t=i.rects.reference[xe]+i.rects.reference[S]-j[S]-i.rects.popper[xe],Yt=j[S]-i.rects.reference[S],It=_l(_),pi=It?S==="y"?It.clientHeight||0:It.clientWidth||0:0,Wi=$t/2-Yt/2,te=Fe[jt],zt=pi-ct[xe]-Fe[Tt],wt=pi/2-ct[xe]/2+Wi,Vi=wl(te,wt,zt),nn=S;i.modifiersData[u]=(t={},t[nn]=Vi,t.centerOffset=Vi-wt,t)}}function qf(e){var t=e.state,i=e.options,u=i.element,p=u===void 0?"[data-popper-arrow]":u;p!=null&&(typeof p=="string"&&(p=t.elements.popper.querySelector(p),!p)||!Mc(t.elements.popper,p)||(t.elements.arrow=p))}var Kf={name:"arrow",enabled:!0,phase:"main",fn:Wf,effect:qf,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function fl(e){return e.split("-")[1]}var Yf={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Gf(e){var t=e.x,i=e.y,u=window,p=u.devicePixelRatio||1;return{x:Ba(t*p)/p||0,y:Ba(i*p)/p||0}}function Bc(e){var t,i=e.popper,u=e.popperRect,p=e.placement,_=e.variation,j=e.offsets,O=e.position,S=e.gpuAcceleration,Q=e.adaptive,xe=e.roundOffsets,Fe=e.isFixed,ct=xe===!0?Gf(j):typeof xe=="function"?xe(j):j,jt=ct.x,Tt=jt===void 0?0:jt,$t=ct.y,Yt=$t===void 0?0:$t,It=j.hasOwnProperty("x"),pi=j.hasOwnProperty("y"),Wi=ni,te=si,zt=window;if(Q){var wt=_l(i),Vi="clientHeight",nn="clientWidth";if(wt===xn(i)&&(wt=Ys(i),Os(wt).position!=="static"&&O==="absolute"&&(Vi="scrollHeight",nn="scrollWidth")),wt=wt,p===si||(p===ni||p===ci)&&_===xi){te=li;var kn=Fe&&zt.visualViewport?zt.visualViewport.height:wt[Vi];Yt-=kn-u.height,Yt*=S?1:-1}if(p===ni||(p===si||p===li)&&_===xi){Wi=ci;var Nn=Fe&&zt.visualViewport?zt.visualViewport.width:wt[nn];Tt-=Nn-u.width,Tt*=S?1:-1}}var Sn=Object.assign({position:O},Q&&Yf);if(S){var wn;return Object.assign({},Sn,(wn={},wn[te]=pi?"0":"",wn[Wi]=It?"0":"",wn.transform=(zt.devicePixelRatio||1)<=1?"translate("+Tt+"px, "+Yt+"px)":"translate3d("+Tt+"px, "+Yt+"px, 0)",wn))}return Object.assign({},Sn,(t={},t[te]=pi?Yt+"px":"",t[Wi]=It?Tt+"px":"",t.transform="",t))}function Xf(e){var t=e.state,i=e.options,u=i.gpuAcceleration,p=u===void 0?!0:u,_=i.adaptive,j=_===void 0?!0:_,O=i.roundOffsets,S=O===void 0?!0:O,Q={placement:es(t.placement),variation:fl(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:p,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Bc(Object.assign({},Q,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:j,roundOffsets:S})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Bc(Object.assign({},Q,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:S})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Jf={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Xf,data:{}},Dl={passive:!0};function Qf(e){var t=e.state,i=e.instance,u=e.options,p=u.scroll,_=p===void 0?!0:p,j=u.resize,O=j===void 0?!0:j,S=xn(t.elements.popper),Q=[].concat(t.scrollParents.reference,t.scrollParents.popper);return _&&Q.forEach(function(xe){xe.addEventListener("scroll",i.update,Dl)}),O&&S.addEventListener("resize",i.update,Dl),function(){_&&Q.forEach(function(xe){xe.removeEventListener("scroll",i.update,Dl)}),O&&S.removeEventListener("resize",i.update,Dl)}}var Zf={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Qf,data:{}},ed={left:"right",right:"left",bottom:"top",top:"bottom"};function Rl(e){return e.replace(/left|right|bottom|top/g,function(t){return ed[t]})}var td={start:"end",end:"start"};function Vc(e){return e.replace(/start|end/g,function(t){return td[t]})}function ec(e){var t=xn(e),i=t.pageXOffset,u=t.pageYOffset;return{scrollLeft:i,scrollTop:u}}function tc(e){return po(Ys(e)).left+ec(e).scrollLeft}function id(e){var t=xn(e),i=Ys(e),u=t.visualViewport,p=i.clientWidth,_=i.clientHeight,j=0,O=0;return u&&(p=u.width,_=u.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(j=u.offsetLeft,O=u.offsetTop)),{width:p,height:_,x:j+tc(e),y:O}}function nd(e){var t,i=Ys(e),u=ec(e),p=(t=e.ownerDocument)==null?void 0:t.body,_=ts(i.scrollWidth,i.clientWidth,p?p.scrollWidth:0,p?p.clientWidth:0),j=ts(i.scrollHeight,i.clientHeight,p?p.scrollHeight:0,p?p.clientHeight:0),O=-u.scrollLeft+tc(e),S=-u.scrollTop;return Os(p||i).direction==="rtl"&&(O+=ts(i.clientWidth,p?p.clientWidth:0)-_),{width:_,height:j,x:O,y:S}}function ic(e){var t=Os(e),i=t.overflow,u=t.overflowX,p=t.overflowY;return/auto|scroll|overlay|hidden/.test(i+p+u)}function Uc(e){return["html","body","#document"].indexOf(an(e))>=0?e.ownerDocument.body:rr(e)&&ic(e)?e:Uc(Pl(e))}function jl(e,t){var i;t===void 0&&(t=[]);var u=Uc(e),p=u===((i=e.ownerDocument)==null?void 0:i.body),_=xn(u),j=p?[_].concat(_.visualViewport||[],ic(u)?u:[]):u,O=t.concat(j);return p?O:O.concat(jl(Pl(j)))}function nc(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function rd(e){var t=po(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function Hc(e,t){return t===Sr?nc(id(e)):qn(t)?rd(t):nc(nd(Ys(e)))}function ad(e){var t=jl(Pl(e)),i=["absolute","fixed"].indexOf(Os(e).position)>=0,u=i&&rr(e)?_l(e):e;return qn(u)?t.filter(function(p){return qn(p)&&Mc(p,u)&&an(p)!=="body"&&(i?Os(p).position!=="static":!0)}):[]}function od(e,t,i){var u=t==="clippingParents"?ad(e):[].concat(t),p=[].concat(u,[i]),_=p[0],j=p.reduce(function(O,S){var Q=Hc(e,S);return O.top=ts(Q.top,O.top),O.right=Qs(Q.right,O.right),O.bottom=Qs(Q.bottom,O.bottom),O.left=ts(Q.left,O.left),O},Hc(e,_));return j.width=j.right-j.left,j.height=j.bottom-j.top,j.x=j.left,j.y=j.top,j}function $c(e){var t=e.reference,i=e.element,u=e.placement,p=u?es(u):null,_=u?fl(u):null,j=t.x+t.width/2-i.width/2,O=t.y+t.height/2-i.height/2,S;switch(p){case si:S={x:j,y:t.y-i.height};break;case li:S={x:j,y:t.y+t.height};break;case ci:S={x:t.x+t.width,y:O};break;case ni:S={x:t.x-i.width,y:O};break;default:S={x:t.x,y:t.y}}var Q=p?Zl(p):null;if(Q!=null){var xe=Q==="y"?"height":"width";switch(_){case Ti:S[Q]=S[Q]-(t[xe]/2-i[xe]/2);break;case xi:S[Q]=S[Q]+(t[xe]/2-i[xe]/2);break}}return S}function xl(e,t){t===void 0&&(t={});var i=t,u=i.placement,p=u===void 0?e.placement:u,_=i.boundary,j=_===void 0?sr:_,O=i.rootBoundary,S=O===void 0?Sr:O,Q=i.elementContext,xe=Q===void 0?$r:Q,Fe=i.altBoundary,ct=Fe===void 0?!1:Fe,jt=i.padding,Tt=jt===void 0?0:jt,$t=Nc(typeof Tt!="number"?Tt:Lc(Tt,Ii)),Yt=xe===$r?Jr:$r,It=e.rects.popper,pi=e.elements[ct?Yt:xe],Wi=od(qn(pi)?pi:pi.contextElement||Ys(e.elements.popper),j,S),te=po(e.elements.reference),zt=$c({reference:te,element:It,strategy:"absolute",placement:p}),wt=nc(Object.assign({},It,zt)),Vi=xe===$r?wt:te,nn={top:Wi.top-Vi.top+$t.top,bottom:Vi.bottom-Wi.bottom+$t.bottom,left:Wi.left-Vi.left+$t.left,right:Vi.right-Wi.right+$t.right},kn=e.modifiersData.offset;if(xe===$r&&kn){var Nn=kn[p];Object.keys(nn).forEach(function(Sn){var wn=[ci,li].indexOf(Sn)>=0?1:-1,Vn=[si,li].indexOf(Sn)>=0?"y":"x";nn[Sn]+=Nn[Vn]*wn})}return nn}function sd(e,t){t===void 0&&(t={});var i=t,u=i.placement,p=i.boundary,_=i.rootBoundary,j=i.padding,O=i.flipVariations,S=i.allowedAutoPlacements,Q=S===void 0?Ze:S,xe=fl(u),Fe=xe?O?Le:Le.filter(function(Tt){return fl(Tt)===xe}):Ii,ct=Fe.filter(function(Tt){return Q.indexOf(Tt)>=0});ct.length===0&&(ct=Fe);var jt=ct.reduce(function(Tt,$t){return Tt[$t]=xl(e,{placement:$t,boundary:p,rootBoundary:_,padding:j})[es($t)],Tt},{});return Object.keys(jt).sort(function(Tt,$t){return jt[Tt]-jt[$t]})}function ld(e){if(es(e)===wi)return[];var t=Rl(e);return[Vc(e),t,Vc(t)]}function cd(e){var t=e.state,i=e.options,u=e.name;if(!t.modifiersData[u]._skip){for(var p=i.mainAxis,_=p===void 0?!0:p,j=i.altAxis,O=j===void 0?!0:j,S=i.fallbackPlacements,Q=i.padding,xe=i.boundary,Fe=i.rootBoundary,ct=i.altBoundary,jt=i.flipVariations,Tt=jt===void 0?!0:jt,$t=i.allowedAutoPlacements,Yt=t.options.placement,It=es(Yt),pi=It===Yt,Wi=S||(pi||!Tt?[Rl(Yt)]:ld(Yt)),te=[Yt].concat(Wi).reduce(function(qa,ba){return qa.concat(es(ba)===wi?sd(t,{placement:ba,boundary:xe,rootBoundary:Fe,padding:Q,flipVariations:Tt,allowedAutoPlacements:$t}):ba)},[]),zt=t.rects.reference,wt=t.rects.popper,Vi=new Map,nn=!0,kn=te[0],Nn=0;Nn<te.length;Nn++){var Sn=te[Nn],wn=es(Sn),Vn=fl(Sn)===Ti,Br=[si,li].indexOf(wn)>=0,Kr=Br?"width":"height",br=xl(t,{placement:Sn,boundary:xe,rootBoundary:Fe,altBoundary:ct,padding:Q}),_r=Br?Vn?ci:ni:Vn?li:si;zt[Kr]>wt[Kr]&&(_r=Rl(_r));var Ji=Rl(_r),aa=[];if(_&&aa.push(br[wn]<=0),O&&aa.push(br[_r]<=0,br[Ji]<=0),aa.every(function(qa){return qa})){kn=Sn,nn=!1;break}Vi.set(Sn,aa)}if(nn)for(var ya=Tt?3:1,Ro=function(ba){var Ka=te.find(function(is){var Ya=Vi.get(is);if(Ya)return Ya.slice(0,ba).every(function(ns){return ns})});if(Ka)return kn=Ka,"break"},Ra=ya;Ra>0;Ra--){var Mo=Ro(Ra);if(Mo==="break")break}t.placement!==kn&&(t.modifiersData[u]._skip=!0,t.placement=kn,t.reset=!0)}}var ud={name:"flip",enabled:!0,phase:"main",fn:cd,requiresIfExists:["offset"],data:{_skip:!1}};function zc(e,t,i){return i===void 0&&(i={x:0,y:0}),{top:e.top-t.height-i.y,right:e.right-t.width+i.x,bottom:e.bottom-t.height+i.y,left:e.left-t.width-i.x}}function Wc(e){return[si,ci,li,ni].some(function(t){return e[t]>=0})}function fd(e){var t=e.state,i=e.name,u=t.rects.reference,p=t.rects.popper,_=t.modifiersData.preventOverflow,j=xl(t,{elementContext:"reference"}),O=xl(t,{altBoundary:!0}),S=zc(j,u),Q=zc(O,p,_),xe=Wc(S),Fe=Wc(Q);t.modifiersData[i]={referenceClippingOffsets:S,popperEscapeOffsets:Q,isReferenceHidden:xe,hasPopperEscaped:Fe},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":xe,"data-popper-escaped":Fe})}var dd={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:fd};function pd(e,t,i){var u=es(e),p=[ni,si].indexOf(u)>=0?-1:1,_=typeof i=="function"?i(Object.assign({},t,{placement:e})):i,j=_[0],O=_[1];return j=j||0,O=(O||0)*p,[ni,ci].indexOf(u)>=0?{x:O,y:j}:{x:j,y:O}}function md(e){var t=e.state,i=e.options,u=e.name,p=i.offset,_=p===void 0?[0,0]:p,j=Ze.reduce(function(xe,Fe){return xe[Fe]=pd(Fe,t.rects,_),xe},{}),O=j[t.placement],S=O.x,Q=O.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=S,t.modifiersData.popperOffsets.y+=Q),t.modifiersData[u]=j}var hd={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:md};function gd(e){var t=e.state,i=e.name;t.modifiersData[i]=$c({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var vd={name:"popperOffsets",enabled:!0,phase:"read",fn:gd,data:{}};function yd(e){return e==="x"?"y":"x"}function bd(e){var t=e.state,i=e.options,u=e.name,p=i.mainAxis,_=p===void 0?!0:p,j=i.altAxis,O=j===void 0?!1:j,S=i.boundary,Q=i.rootBoundary,xe=i.altBoundary,Fe=i.padding,ct=i.tether,jt=ct===void 0?!0:ct,Tt=i.tetherOffset,$t=Tt===void 0?0:Tt,Yt=xl(t,{boundary:S,rootBoundary:Q,padding:Fe,altBoundary:xe}),It=es(t.placement),pi=fl(t.placement),Wi=!pi,te=Zl(It),zt=yd(te),wt=t.modifiersData.popperOffsets,Vi=t.rects.reference,nn=t.rects.popper,kn=typeof $t=="function"?$t(Object.assign({},t.rects,{placement:t.placement})):$t,Nn=typeof kn=="number"?{mainAxis:kn,altAxis:kn}:Object.assign({mainAxis:0,altAxis:0},kn),Sn=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,wn={x:0,y:0};if(!!wt){if(_){var Vn,Br=te==="y"?si:ni,Kr=te==="y"?li:ci,br=te==="y"?"height":"width",_r=wt[te],Ji=_r+Yt[Br],aa=_r-Yt[Kr],ya=jt?-nn[br]/2:0,Ro=pi===Ti?Vi[br]:nn[br],Ra=pi===Ti?-nn[br]:-Vi[br],Mo=t.elements.arrow,qa=jt&&Mo?ul(Mo):{width:0,height:0},ba=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Fc(),Ka=ba[Br],is=ba[Kr],Ya=wl(0,Vi[br],qa[br]),ns=Wi?Vi[br]/2-ya-Ya-Ka-Nn.mainAxis:Ro-Ya-Ka-Nn.mainAxis,mo=Wi?-Vi[br]/2+ya+Ya+is+Nn.mainAxis:Ra+Ya+is+Nn.mainAxis,rs=t.elements.arrow&&_l(t.elements.arrow),Fs=rs?te==="y"?rs.clientTop||0:rs.clientLeft||0:0,ys=(Vn=Sn==null?void 0:Sn[te])!=null?Vn:0,Ns=_r+ns-ys-Fs,Ls=_r+mo-ys,bs=wl(jt?Qs(Ji,Ns):Ji,_r,jt?ts(aa,Ls):aa);wt[te]=bs,wn[te]=bs-_r}if(O){var _s,Bs=te==="x"?si:ni,Vs=te==="x"?li:ci,Ga=wt[zt],ho=zt==="y"?"height":"width",ws=Ga+Yt[Bs],Io=Ga-Yt[Vs],js=[si,ni].indexOf(It)!==-1,Us=(_s=Sn==null?void 0:Sn[zt])!=null?_s:0,Hs=js?ws:Ga-Vi[ho]-nn[ho]-Us+Nn.altAxis,$s=js?Ga+Vi[ho]+nn[ho]-Us-Nn.altAxis:Io,zs=jt&&js?$f(Hs,Ga,$s):wl(jt?Hs:ws,Ga,jt?$s:Io);wt[zt]=zs,wn[zt]=zs-Ga}t.modifiersData[u]=wn}}var _d={name:"preventOverflow",enabled:!0,phase:"main",fn:bd,requiresIfExists:["offset"]};function wd(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function jd(e){return e===xn(e)||!rr(e)?ec(e):wd(e)}function xd(e){var t=e.getBoundingClientRect(),i=Ba(t.width)/e.offsetWidth||1,u=Ba(t.height)/e.offsetHeight||1;return i!==1||u!==1}function Sd(e,t,i){i===void 0&&(i=!1);var u=rr(t),p=rr(t)&&xd(t),_=Ys(t),j=po(e,p),O={scrollLeft:0,scrollTop:0},S={x:0,y:0};return(u||!u&&!i)&&((an(t)!=="body"||ic(_))&&(O=jd(t)),rr(t)?(S=po(t,!0),S.x+=t.clientLeft,S.y+=t.clientTop):_&&(S.x=tc(_))),{x:j.left+O.scrollLeft-S.x,y:j.top+O.scrollTop-S.y,width:j.width,height:j.height}}function Cd(e){var t=new Map,i=new Set,u=[];e.forEach(function(_){t.set(_.name,_)});function p(_){i.add(_.name);var j=[].concat(_.requires||[],_.requiresIfExists||[]);j.forEach(function(O){if(!i.has(O)){var S=t.get(O);S&&p(S)}}),u.push(_)}return e.forEach(function(_){i.has(_.name)||p(_)}),u}function Td(e){var t=Cd(e);return cn.reduce(function(i,u){return i.concat(t.filter(function(p){return p.phase===u}))},[])}function Ed(e){var t;return function(){return t||(t=new Promise(function(i){Promise.resolve().then(function(){t=void 0,i(e())})})),t}}function Od(e){var t=e.reduce(function(i,u){var p=i[u.name];return i[u.name]=p?Object.assign({},p,u,{options:Object.assign({},p.options,u.options),data:Object.assign({},p.data,u.data)}):u,i},{});return Object.keys(t).map(function(i){return t[i]})}var qc={placement:"bottom",modifiers:[],strategy:"absolute"};function Kc(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return!t.some(function(u){return!(u&&typeof u.getBoundingClientRect=="function")})}function kd(e){e===void 0&&(e={});var t=e,i=t.defaultModifiers,u=i===void 0?[]:i,p=t.defaultOptions,_=p===void 0?qc:p;return function(O,S,Q){Q===void 0&&(Q=_);var xe={placement:"bottom",orderedModifiers:[],options:Object.assign({},qc,_),modifiersData:{},elements:{reference:O,popper:S},attributes:{},styles:{}},Fe=[],ct=!1,jt={state:xe,setOptions:function(It){var pi=typeof It=="function"?It(xe.options):It;$t(),xe.options=Object.assign({},_,xe.options,pi),xe.scrollParents={reference:qn(O)?jl(O):O.contextElement?jl(O.contextElement):[],popper:jl(S)};var Wi=Td(Od([].concat(u,xe.options.modifiers)));return xe.orderedModifiers=Wi.filter(function(te){return te.enabled}),Tt(),jt.update()},forceUpdate:function(){if(!ct){var It=xe.elements,pi=It.reference,Wi=It.popper;if(!!Kc(pi,Wi)){xe.rects={reference:Sd(pi,_l(Wi),xe.options.strategy==="fixed"),popper:ul(Wi)},xe.reset=!1,xe.placement=xe.options.placement,xe.orderedModifiers.forEach(function(Nn){return xe.modifiersData[Nn.name]=Object.assign({},Nn.data)});for(var te=0;te<xe.orderedModifiers.length;te++){if(xe.reset===!0){xe.reset=!1,te=-1;continue}var zt=xe.orderedModifiers[te],wt=zt.fn,Vi=zt.options,nn=Vi===void 0?{}:Vi,kn=zt.name;typeof wt=="function"&&(xe=wt({state:xe,options:nn,name:kn,instance:jt})||xe)}}}},update:Ed(function(){return new Promise(function(Yt){jt.forceUpdate(),Yt(xe)})}),destroy:function(){$t(),ct=!0}};if(!Kc(O,S))return jt;jt.setOptions(Q).then(function(Yt){!ct&&Q.onFirstUpdate&&Q.onFirstUpdate(Yt)});function Tt(){xe.orderedModifiers.forEach(function(Yt){var It=Yt.name,pi=Yt.options,Wi=pi===void 0?{}:pi,te=Yt.effect;if(typeof te=="function"){var zt=te({state:xe,name:It,instance:jt,options:Wi}),wt=function(){};Fe.push(zt||wt)}})}function $t(){Fe.forEach(function(Yt){return Yt()}),Fe=[]}return jt}}var Ad=[Zf,vd,Jf,Is,hd,ud,_d,Kf,dd],Pd=kd({defaultModifiers:Ad}),Dd="tippy-box",Yc="tippy-content",Rd="tippy-backdrop",Gc="tippy-arrow",Xc="tippy-svg-arrow",Zs={passive:!0,capture:!0},Jc=function(){return document.body};function rc(e,t,i){if(Array.isArray(e)){var u=e[t];return u==null?Array.isArray(i)?i[t]:i:u}return e}function ac(e,t){var i={}.toString.call(e);return i.indexOf("[object")===0&&i.indexOf(t+"]")>-1}function Qc(e,t){return typeof e=="function"?e.apply(void 0,t):e}function Zc(e,t){if(t===0)return e;var i;return function(u){clearTimeout(i),i=setTimeout(function(){e(u)},t)}}function Md(e,t){var i=Object.assign({},e);return t.forEach(function(u){delete i[u]}),i}function Id(e){return e.split(/\s+/).filter(Boolean)}function el(e){return[].concat(e)}function eu(e,t){e.indexOf(t)===-1&&e.push(t)}function Fd(e){return e.filter(function(t,i){return e.indexOf(t)===i})}function Nd(e){return e.split("-")[0]}function Ml(e){return[].slice.call(e)}function tu(e){return Object.keys(e).reduce(function(t,i){return e[i]!==void 0&&(t[i]=e[i]),t},{})}function dl(){return document.createElement("div")}function Il(e){return["Element","Fragment"].some(function(t){return ac(e,t)})}function Ld(e){return ac(e,"NodeList")}function Bd(e){return ac(e,"MouseEvent")}function Vd(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function Ud(e){return Il(e)?[e]:Ld(e)?Ml(e):Array.isArray(e)?e:Ml(document.querySelectorAll(e))}function oc(e,t){e.forEach(function(i){i&&(i.style.transitionDuration=t+"ms")})}function iu(e,t){e.forEach(function(i){i&&i.setAttribute("data-state",t)})}function Hd(e){var t,i=el(e),u=i[0];return u!=null&&(t=u.ownerDocument)!=null&&t.body?u.ownerDocument:document}function $d(e,t){var i=t.clientX,u=t.clientY;return e.every(function(p){var _=p.popperRect,j=p.popperState,O=p.props,S=O.interactiveBorder,Q=Nd(j.placement),xe=j.modifiersData.offset;if(!xe)return!0;var Fe=Q==="bottom"?xe.top.y:0,ct=Q==="top"?xe.bottom.y:0,jt=Q==="right"?xe.left.x:0,Tt=Q==="left"?xe.right.x:0,$t=_.top-u+Fe>S,Yt=u-_.bottom-ct>S,It=_.left-i+jt>S,pi=i-_.right-Tt>S;return $t||Yt||It||pi})}function sc(e,t,i){var u=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(p){e[u](p,i)})}function nu(e,t){for(var i=t;i;){var u;if(e.contains(i))return!0;i=i.getRootNode==null||(u=i.getRootNode())==null?void 0:u.host}return!1}var ks={isTouch:!1},ru=0;function zd(){ks.isTouch||(ks.isTouch=!0,window.performance&&document.addEventListener("mousemove",au))}function au(){var e=performance.now();e-ru<20&&(ks.isTouch=!1,document.removeEventListener("mousemove",au)),ru=e}function Wd(){var e=document.activeElement;if(Vd(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function qd(){document.addEventListener("touchstart",zd,Zs),window.addEventListener("blur",Wd)}var Kd=typeof window!="undefined"&&typeof document!="undefined",Yd=Kd?!!window.msCrypto:!1,Gd={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Xd={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},vs=Object.assign({appendTo:Jc,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Gd,Xd),Jd=Object.keys(vs),Qd=function(t){var i=Object.keys(t);i.forEach(function(u){vs[u]=t[u]})};function ou(e){var t=e.plugins||[],i=t.reduce(function(u,p){var _=p.name,j=p.defaultValue;if(_){var O;u[_]=e[_]!==void 0?e[_]:(O=vs[_])!=null?O:j}return u},{});return Object.assign({},e,i)}function Zd(e,t){var i=t?Object.keys(ou(Object.assign({},vs,{plugins:t}))):Jd,u=i.reduce(function(p,_){var j=(e.getAttribute("data-tippy-"+_)||"").trim();if(!j)return p;if(_==="content")p[_]=j;else try{p[_]=JSON.parse(j)}catch(O){p[_]=j}return p},{});return u}function su(e,t){var i=Object.assign({},t,{content:Qc(t.content,[e])},t.ignoreAttributes?{}:Zd(e,t.plugins));return i.aria=Object.assign({},vs.aria,i.aria),i.aria={expanded:i.aria.expanded==="auto"?t.interactive:i.aria.expanded,content:i.aria.content==="auto"?t.interactive?null:"describedby":i.aria.content},i}var ep=function(){return"innerHTML"};function lc(e,t){e[ep()]=t}function lu(e){var t=dl();return e===!0?t.className=Gc:(t.className=Xc,Il(e)?t.appendChild(e):lc(t,e)),t}function cu(e,t){Il(t.content)?(lc(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?lc(e,t.content):e.textContent=t.content)}function cc(e){var t=e.firstElementChild,i=Ml(t.children);return{box:t,content:i.find(function(u){return u.classList.contains(Yc)}),arrow:i.find(function(u){return u.classList.contains(Gc)||u.classList.contains(Xc)}),backdrop:i.find(function(u){return u.classList.contains(Rd)})}}function uu(e){var t=dl(),i=dl();i.className=Dd,i.setAttribute("data-state","hidden"),i.setAttribute("tabindex","-1");var u=dl();u.className=Yc,u.setAttribute("data-state","hidden"),cu(u,e.props),t.appendChild(i),i.appendChild(u),p(e.props,e.props);function p(_,j){var O=cc(t),S=O.box,Q=O.content,xe=O.arrow;j.theme?S.setAttribute("data-theme",j.theme):S.removeAttribute("data-theme"),typeof j.animation=="string"?S.setAttribute("data-animation",j.animation):S.removeAttribute("data-animation"),j.inertia?S.setAttribute("data-inertia",""):S.removeAttribute("data-inertia"),S.style.maxWidth=typeof j.maxWidth=="number"?j.maxWidth+"px":j.maxWidth,j.role?S.setAttribute("role",j.role):S.removeAttribute("role"),(_.content!==j.content||_.allowHTML!==j.allowHTML)&&cu(Q,e.props),j.arrow?xe?_.arrow!==j.arrow&&(S.removeChild(xe),S.appendChild(lu(j.arrow))):S.appendChild(lu(j.arrow)):xe&&S.removeChild(xe)}return{popper:t,onUpdate:p}}uu.$$tippy=!0;var tp=1,Fl=[],uc=[];function ip(e,t){var i=su(e,Object.assign({},vs,ou(tu(t)))),u,p,_,j=!1,O=!1,S=!1,Q=!1,xe,Fe,ct,jt=[],Tt=Zc(Ns,i.interactiveDebounce),$t,Yt=tp++,It=null,pi=Fd(i.plugins),Wi={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},te={id:Yt,reference:e,popper:dl(),popperInstance:It,props:i,state:Wi,plugins:pi,clearDelayTimeouts:Hs,setProps:$s,setContent:zs,show:Cc,hide:Tc,hideWithInteractivity:Ec,enable:js,disable:Us,unmount:Oc,destroy:kc};if(!i.render)return te;var zt=i.render(te),wt=zt.popper,Vi=zt.onUpdate;wt.setAttribute("data-tippy-root",""),wt.id="tippy-"+te.id,te.popper=wt,e._tippy=te,wt._tippy=te;var nn=pi.map(function(ze){return ze.fn(te)}),kn=e.hasAttribute("aria-expanded");return rs(),ya(),_r(),Ji("onCreate",[te]),i.showOnCreate&&ws(),wt.addEventListener("mouseenter",function(){te.props.interactive&&te.state.isVisible&&te.clearDelayTimeouts()}),wt.addEventListener("mouseleave",function(){te.props.interactive&&te.props.trigger.indexOf("mouseenter")>=0&&Br().addEventListener("mousemove",Tt)}),te;function Nn(){var ze=te.props.touch;return Array.isArray(ze)?ze:[ze,0]}function Sn(){return Nn()[0]==="hold"}function wn(){var ze;return!!((ze=te.props.render)!=null&&ze.$$tippy)}function Vn(){return $t||e}function Br(){var ze=Vn().parentNode;return ze?Hd(ze):document}function Kr(){return cc(wt)}function br(ze){return te.state.isMounted&&!te.state.isVisible||ks.isTouch||xe&&xe.type==="focus"?0:rc(te.props.delay,ze?0:1,vs.delay)}function _r(ze){ze===void 0&&(ze=!1),wt.style.pointerEvents=te.props.interactive&&!ze?"":"none",wt.style.zIndex=""+te.props.zIndex}function Ji(ze,qt,mi){if(mi===void 0&&(mi=!0),nn.forEach(function(en){en[ze]&&en[ze].apply(en,qt)}),mi){var mn;(mn=te.props)[ze].apply(mn,qt)}}function aa(){var ze=te.props.aria;if(!!ze.content){var qt="aria-"+ze.content,mi=wt.id,mn=el(te.props.triggerTarget||e);mn.forEach(function(en){var Ir=en.getAttribute(qt);if(te.state.isVisible)en.setAttribute(qt,Ir?Ir+" "+mi:mi);else{var oa=Ir&&Ir.replace(mi,"").trim();oa?en.setAttribute(qt,oa):en.removeAttribute(qt)}})}}function ya(){if(!(kn||!te.props.aria.expanded)){var ze=el(te.props.triggerTarget||e);ze.forEach(function(qt){te.props.interactive?qt.setAttribute("aria-expanded",te.state.isVisible&&qt===Vn()?"true":"false"):qt.removeAttribute("aria-expanded")})}}function Ro(){Br().removeEventListener("mousemove",Tt),Fl=Fl.filter(function(ze){return ze!==Tt})}function Ra(ze){if(!(ks.isTouch&&(S||ze.type==="mousedown"))){var qt=ze.composedPath&&ze.composedPath()[0]||ze.target;if(!(te.props.interactive&&nu(wt,qt))){if(el(te.props.triggerTarget||e).some(function(mi){return nu(mi,qt)})){if(ks.isTouch||te.state.isVisible&&te.props.trigger.indexOf("click")>=0)return}else Ji("onClickOutside",[te,ze]);te.props.hideOnClick===!0&&(te.clearDelayTimeouts(),te.hide(),O=!0,setTimeout(function(){O=!1}),te.state.isMounted||Ka())}}}function Mo(){S=!0}function qa(){S=!1}function ba(){var ze=Br();ze.addEventListener("mousedown",Ra,!0),ze.addEventListener("touchend",Ra,Zs),ze.addEventListener("touchstart",qa,Zs),ze.addEventListener("touchmove",Mo,Zs)}function Ka(){var ze=Br();ze.removeEventListener("mousedown",Ra,!0),ze.removeEventListener("touchend",Ra,Zs),ze.removeEventListener("touchstart",qa,Zs),ze.removeEventListener("touchmove",Mo,Zs)}function is(ze,qt){ns(ze,function(){!te.state.isVisible&&wt.parentNode&&wt.parentNode.contains(wt)&&qt()})}function Ya(ze,qt){ns(ze,qt)}function ns(ze,qt){var mi=Kr().box;function mn(en){en.target===mi&&(sc(mi,"remove",mn),qt())}if(ze===0)return qt();sc(mi,"remove",Fe),sc(mi,"add",mn),Fe=mn}function mo(ze,qt,mi){mi===void 0&&(mi=!1);var mn=el(te.props.triggerTarget||e);mn.forEach(function(en){en.addEventListener(ze,qt,mi),jt.push({node:en,eventType:ze,handler:qt,options:mi})})}function rs(){Sn()&&(mo("touchstart",ys,{passive:!0}),mo("touchend",Ls,{passive:!0})),Id(te.props.trigger).forEach(function(ze){if(ze!=="manual")switch(mo(ze,ys),ze){case"mouseenter":mo("mouseleave",Ls);break;case"focus":mo(Yd?"focusout":"blur",bs);break;case"focusin":mo("focusout",bs);break}})}function Fs(){jt.forEach(function(ze){var qt=ze.node,mi=ze.eventType,mn=ze.handler,en=ze.options;qt.removeEventListener(mi,mn,en)}),jt=[]}function ys(ze){var qt,mi=!1;if(!(!te.state.isEnabled||_s(ze)||O)){var mn=((qt=xe)==null?void 0:qt.type)==="focus";xe=ze,$t=ze.currentTarget,ya(),!te.state.isVisible&&Bd(ze)&&Fl.forEach(function(en){return en(ze)}),ze.type==="click"&&(te.props.trigger.indexOf("mouseenter")<0||j)&&te.props.hideOnClick!==!1&&te.state.isVisible?mi=!0:ws(ze),ze.type==="click"&&(j=!mi),mi&&!mn&&Io(ze)}}function Ns(ze){var qt=ze.target,mi=Vn().contains(qt)||wt.contains(qt);if(!(ze.type==="mousemove"&&mi)){var mn=ho().concat(wt).map(function(en){var Ir,oa=en._tippy,as=(Ir=oa.popperInstance)==null?void 0:Ir.state;return as?{popperRect:en.getBoundingClientRect(),popperState:as,props:i}:null}).filter(Boolean);$d(mn,ze)&&(Ro(),Io(ze))}}function Ls(ze){var qt=_s(ze)||te.props.trigger.indexOf("click")>=0&&j;if(!qt){if(te.props.interactive){te.hideWithInteractivity(ze);return}Io(ze)}}function bs(ze){te.props.trigger.indexOf("focusin")<0&&ze.target!==Vn()||te.props.interactive&&ze.relatedTarget&&wt.contains(ze.relatedTarget)||Io(ze)}function _s(ze){return ks.isTouch?Sn()!==ze.type.indexOf("touch")>=0:!1}function Bs(){Vs();var ze=te.props,qt=ze.popperOptions,mi=ze.placement,mn=ze.offset,en=ze.getReferenceClientRect,Ir=ze.moveTransition,oa=wn()?cc(wt).arrow:null,as=en?{getBoundingClientRect:en,contextElement:en.contextElement||Vn()}:e,Al={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(Ws){var os=Ws.state;if(wn()){var Ac=Kr(),sl=Ac.box;["placement","reference-hidden","escaped"].forEach(function(qs){qs==="placement"?sl.setAttribute("data-placement",os.placement):os.attributes.popper["data-popper-"+qs]?sl.setAttribute("data-"+qs,""):sl.removeAttribute("data-"+qs)}),os.attributes.popper={}}}},Fo=[{name:"offset",options:{offset:mn}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!Ir}},Al];wn()&&oa&&Fo.push({name:"arrow",options:{element:oa,padding:3}}),Fo.push.apply(Fo,(qt==null?void 0:qt.modifiers)||[]),te.popperInstance=Pd(as,wt,Object.assign({},qt,{placement:mi,onFirstUpdate:ct,modifiers:Fo}))}function Vs(){te.popperInstance&&(te.popperInstance.destroy(),te.popperInstance=null)}function Ga(){var ze=te.props.appendTo,qt,mi=Vn();te.props.interactive&&ze===Jc||ze==="parent"?qt=mi.parentNode:qt=Qc(ze,[mi]),qt.contains(wt)||qt.appendChild(wt),te.state.isMounted=!0,Bs()}function ho(){return Ml(wt.querySelectorAll("[data-tippy-root]"))}function ws(ze){te.clearDelayTimeouts(),ze&&Ji("onTrigger",[te,ze]),ba();var qt=br(!0),mi=Nn(),mn=mi[0],en=mi[1];ks.isTouch&&mn==="hold"&&en&&(qt=en),qt?u=setTimeout(function(){te.show()},qt):te.show()}function Io(ze){if(te.clearDelayTimeouts(),Ji("onUntrigger",[te,ze]),!te.state.isVisible){Ka();return}if(!(te.props.trigger.indexOf("mouseenter")>=0&&te.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(ze.type)>=0&&j)){var qt=br(!1);qt?p=setTimeout(function(){te.state.isVisible&&te.hide()},qt):_=requestAnimationFrame(function(){te.hide()})}}function js(){te.state.isEnabled=!0}function Us(){te.hide(),te.state.isEnabled=!1}function Hs(){clearTimeout(u),clearTimeout(p),cancelAnimationFrame(_)}function $s(ze){if(!te.state.isDestroyed){Ji("onBeforeUpdate",[te,ze]),Fs();var qt=te.props,mi=su(e,Object.assign({},qt,tu(ze),{ignoreAttributes:!0}));te.props=mi,rs(),qt.interactiveDebounce!==mi.interactiveDebounce&&(Ro(),Tt=Zc(Ns,mi.interactiveDebounce)),qt.triggerTarget&&!mi.triggerTarget?el(qt.triggerTarget).forEach(function(mn){mn.removeAttribute("aria-expanded")}):mi.triggerTarget&&e.removeAttribute("aria-expanded"),ya(),_r(),Vi&&Vi(qt,mi),te.popperInstance&&(Bs(),ho().forEach(function(mn){requestAnimationFrame(mn._tippy.popperInstance.forceUpdate)})),Ji("onAfterUpdate",[te,ze])}}function zs(ze){te.setProps({content:ze})}function Cc(){var ze=te.state.isVisible,qt=te.state.isDestroyed,mi=!te.state.isEnabled,mn=ks.isTouch&&!te.props.touch,en=rc(te.props.duration,0,vs.duration);if(!(ze||qt||mi||mn)&&!Vn().hasAttribute("disabled")&&(Ji("onShow",[te],!1),te.props.onShow(te)!==!1)){if(te.state.isVisible=!0,wn()&&(wt.style.visibility="visible"),_r(),ba(),te.state.isMounted||(wt.style.transition="none"),wn()){var Ir=Kr(),oa=Ir.box,as=Ir.content;oc([oa,as],0)}ct=function(){var Fo;if(!(!te.state.isVisible||Q)){if(Q=!0,wt.offsetHeight,wt.style.transition=te.props.moveTransition,wn()&&te.props.animation){var ol=Kr(),Ws=ol.box,os=ol.content;oc([Ws,os],en),iu([Ws,os],"visible")}aa(),ya(),eu(uc,te),(Fo=te.popperInstance)==null||Fo.forceUpdate(),Ji("onMount",[te]),te.props.animation&&wn()&&Ya(en,function(){te.state.isShown=!0,Ji("onShown",[te])})}},Ga()}}function Tc(){var ze=!te.state.isVisible,qt=te.state.isDestroyed,mi=!te.state.isEnabled,mn=rc(te.props.duration,1,vs.duration);if(!(ze||qt||mi)&&(Ji("onHide",[te],!1),te.props.onHide(te)!==!1)){if(te.state.isVisible=!1,te.state.isShown=!1,Q=!1,j=!1,wn()&&(wt.style.visibility="hidden"),Ro(),Ka(),_r(!0),wn()){var en=Kr(),Ir=en.box,oa=en.content;te.props.animation&&(oc([Ir,oa],mn),iu([Ir,oa],"hidden"))}aa(),ya(),te.props.animation?wn()&&is(mn,te.unmount):te.unmount()}}function Ec(ze){Br().addEventListener("mousemove",Tt),eu(Fl,Tt),Tt(ze)}function Oc(){te.state.isVisible&&te.hide(),te.state.isMounted&&(Vs(),ho().forEach(function(ze){ze._tippy.unmount()}),wt.parentNode&&wt.parentNode.removeChild(wt),uc=uc.filter(function(ze){return ze!==te}),te.state.isMounted=!1,Ji("onHidden",[te]))}function kc(){te.state.isDestroyed||(te.clearDelayTimeouts(),te.unmount(),Fs(),delete e._tippy,te.state.isDestroyed=!0,Ji("onDestroy",[te]))}}function pl(e,t){t===void 0&&(t={});var i=vs.plugins.concat(t.plugins||[]);qd();var u=Object.assign({},t,{plugins:i}),p=Ud(e),_=p.reduce(function(j,O){var S=O&&ip(O,u);return S&&j.push(S),j},[]);return Il(e)?_[0]:_}pl.defaultProps=vs,pl.setDefaultProps=Qd,pl.currentInput=ks;var np=Object.assign({},Is,{effect:function(t){var i=t.state,u={popper:{position:i.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(i.elements.popper.style,u.popper),i.styles=u,i.elements.arrow&&Object.assign(i.elements.arrow.style,u.arrow)}}),rp=function(t,i){var u;i===void 0&&(i={});var p=t,_=[],j=[],O,S=i.overrides,Q=[],xe=!1;function Fe(){j=p.map(function(te){return el(te.props.triggerTarget||te.reference)}).reduce(function(te,zt){return te.concat(zt)},[])}function ct(){_=p.map(function(te){return te.reference})}function jt(te){p.forEach(function(zt){te?zt.enable():zt.disable()})}function Tt(te){return p.map(function(zt){var wt=zt.setProps;return zt.setProps=function(Vi){wt(Vi),zt.reference===O&&te.setProps(Vi)},function(){zt.setProps=wt}})}function $t(te,zt){var wt=j.indexOf(zt);if(zt!==O){O=zt;var Vi=(S||[]).concat("content").reduce(function(nn,kn){return nn[kn]=p[wt].props[kn],nn},{});te.setProps(Object.assign({},Vi,{getReferenceClientRect:typeof Vi.getReferenceClientRect=="function"?Vi.getReferenceClientRect:function(){var nn;return(nn=_[wt])==null?void 0:nn.getBoundingClientRect()}}))}}jt(!1),ct(),Fe();var Yt={fn:function(){return{onDestroy:function(){jt(!0)},onHidden:function(){O=null},onClickOutside:function(wt){wt.props.showOnCreate&&!xe&&(xe=!0,O=null)},onShow:function(wt){wt.props.showOnCreate&&!xe&&(xe=!0,$t(wt,_[0]))},onTrigger:function(wt,Vi){$t(wt,Vi.currentTarget)}}}},It=pl(dl(),Object.assign({},Md(i,["overrides"]),{plugins:[Yt].concat(i.plugins||[]),triggerTarget:j,popperOptions:Object.assign({},i.popperOptions,{modifiers:[].concat(((u=i.popperOptions)==null?void 0:u.modifiers)||[],[np])})})),pi=It.show;It.show=function(te){if(pi(),!O&&te==null)return $t(It,_[0]);if(!(O&&te==null)){if(typeof te=="number")return _[te]&&$t(It,_[te]);if(p.indexOf(te)>=0){var zt=te.reference;return $t(It,zt)}if(_.indexOf(te)>=0)return $t(It,te)}},It.showNext=function(){var te=_[0];if(!O)return It.show(0);var zt=_.indexOf(O);It.show(_[zt+1]||te)},It.showPrevious=function(){var te=_[_.length-1];if(!O)return It.show(te);var zt=_.indexOf(O),wt=_[zt-1]||te;It.show(wt)};var Wi=It.setProps;return It.setProps=function(te){S=te.overrides||S,Wi(te)},It.setInstances=function(te){jt(!0),Q.forEach(function(zt){return zt()}),p=te,jt(!1),ct(),Fe(),Q=Tt(It),It.setProps({triggerTarget:j})},Q=Tt(It),It};pl.setDefaultProps({render:uu});var by="",_y="",wy="",ap=(e,t)=>{const i=e.__vccOpts||e;for(const[u,p]of t)i[u]=p;return i};const op=(0,K.aZ)({name:"CalendarHeatmap",props:{endDate:{required:!0},max:{type:Number},rangeColor:{type:Array,default:Ht.DEFAULT_RANGE_COLOR},values:{type:Array,required:!0},locale:{type:Object},tooltip:{type:Boolean,default:!0},tooltipUnit:{type:String,default:Ht.DEFAULT_TOOLTIP_UNIT},tooltipFormatter:{type:Function},vertical:{type:Boolean,default:!1},noDataText:{type:[Boolean,String],default:null},round:{type:Number,default:0}},emits:["dayClick"],setup(e){const t=Ht.SQUARE_SIZE/5,i=Ht.SQUARE_SIZE+t,u=Math.ceil(Ht.SQUARE_SIZE*2.5),p=i*3,_=Ht.SQUARE_SIZE+Ht.SQUARE_SIZE/2,j=Ht.SQUARE_SIZE+Ht.SQUARE_SIZE/2,O=`translate(${u}, ${_})`,S=(0,ve.iH)(null),Q=(0,ve.iH)(new Date),xe=(0,ve.iH)(new Ht(e.endDate,e.values,e.max)),Fe=(0,ve.iH)(0),ct=(0,ve.iH)(0),jt=(0,ve.iH)("0 0 0 0"),Tt=(0,ve.iH)("0 0 0 0"),$t=(0,ve.iH)(""),Yt=(0,ve.iH)(""),It=(0,ve.iH)(""),pi=(0,ve.iH)({}),{values:Wi,tooltipUnit:te,tooltipFormatter:zt,noDataText:wt,max:Vi,rangeColor:nn,vertical:kn,locale:Nn}=(0,ve.BK)(e);let Sn,wn;function Vn(){Sn=pl(Array.from(S.value.querySelectorAll(".vch__day__square[data-tippy-content]"))),wn?wn.setInstances(Sn):wn=rp(Sn,{moveTransition:"transform 0.1s ease-out",allowHTML:!0})}function Br(Ji){if(e.tooltip){if(Ji.count!==void 0)return e.tooltipFormatter?e.tooltipFormatter(Ji,e.tooltipUnit):`<b>${Ji.count} ${e.tooltipUnit}</b> ${pi.value.on} ${pi.value.months[Ji.date.getMonth()]} ${Ji.date.getDate()}, ${Ji.date.getFullYear()}`;if(e.noDataText)return`${e.noDataText}`;if(e.noDataText!==!1)return`<b>No ${e.tooltipUnit}</b> ${pi.value.on} ${pi.value.months[Ji.date.getMonth()]} ${Ji.date.getDate()}, ${Ji.date.getFullYear()}`}}function Kr(Ji){return e.vertical?`translate(0, ${i*xe.value.weekCount-(Ji+1)*i})`:`translate(${Ji*i}, 0)`}function br(Ji){return e.vertical?`translate(${Ji*i}, 0)`:`translate(0, ${Ji*i})`}function _r(Ji){return e.vertical?{x:3,y:i*xe.value.weekCount-i*Ji.index-i/4}:{x:i*Ji.index,y:i-t}}return(0,K.YP)(kn,Ji=>{Ji?(Fe.value=u+i*Ht.DAYS_IN_WEEK+p,ct.value=_+i*xe.value.weekCount+t,$t.value=`translate(${u}, 0)`,Yt.value=`translate(0, ${_})`):(Fe.value=u+i*xe.value.weekCount+t,ct.value=_+i*Ht.DAYS_IN_WEEK,$t.value=`translate(0, ${_})`,Yt.value=`translate(${u}, 0)`)},{immediate:!0}),(0,K.YP)([Fe,ct],([Ji,aa])=>jt.value=` 0 0 ${Ji} ${aa}`,{immediate:!0}),(0,K.YP)([Fe,ct,nn],([Ji,aa,ya])=>{It.value=kn.value?`translate(${u+i*Ht.DAYS_IN_WEEK}, ${_})`:`translate(${Ji-i*ya.length-30}, ${aa-j})`},{immediate:!0}),(0,K.YP)(Nn,Ji=>pi.value=Ji?Mt(Mt({},Ht.DEFAULT_LOCALE),Ji):Ht.DEFAULT_LOCALE,{immediate:!0}),(0,K.YP)(nn,Ji=>Tt.value=`0 0 ${Ht.SQUARE_SIZE*(Ji.length+1)} ${Ht.SQUARE_SIZE}`,{immediate:!0}),(0,K.YP)([Wi,te,zt,wt,Vi,nn],()=>{xe.value=new Ht(e.endDate,e.values,e.max),Sn==null||Sn.map(Ji=>Ji.destroy()),(0,K.Y3)(Vn)}),(0,K.bv)(Vn),(0,K.Jd)(()=>{wn==null||wn.destroy(),Sn==null||Sn.map(Ji=>Ji.destroy())}),{SQUARE_BORDER_SIZE:t,SQUARE_SIZE:i,LEFT_SECTION_WIDTH:u,RIGHT_SECTION_WIDTH:p,TOP_SECTION_HEIGHT:_,BOTTOM_SECTION_HEIGHT:j,svg:S,heatmap:xe,now:Q,width:Fe,height:ct,viewbox:jt,daysLabelWrapperTransform:$t,monthsLabelWrapperTransform:Yt,yearWrapperTransform:O,legendWrapperTransform:It,lo:pi,legendViewbox:Tt,tooltipOptions:Br,getWeekPosition:Kr,getDayPosition:br,getMonthLabelPosition:_r}}}),sp={class:"vch__container"},lp=["viewBox"],cp=["transform"],up=["x","y"],fp=["transform"],dp=["x","y"],pp=["x","y"],mp=["x","y"],hp=["transform"],gp=["x"],vp=["rx","ry","width","height","x","y"],yp=["x","y"],bp=["transform"],_p=["transform"],wp=["rx","ry","transform","width","height","data-tippy-content","onClick"],jp={class:"vch__legend"},xp={class:"vch__legend-left"},Sp={class:"vch__legend-right"},Cp={class:"vch__legend"},Tp=["viewBox","height"],Ep={class:"vch__legend__wrapper"},Op=["rx","ry","width","height","x"];function kp(e,t,i,u,p,_){return(0,K.wg)(),(0,K.iD)("div",sp,[((0,K.wg)(),(0,K.iD)("svg",{class:"vch__wrapper",ref:"svg",viewBox:e.viewbox},[(0,K._)("g",{class:"vch__months__labels__wrapper",transform:e.monthsLabelWrapperTransform},[((0,K.wg)(!0),(0,K.iD)(K.HY,null,(0,K.Ko)(e.heatmap.firstFullWeekOfMonths,(j,O)=>((0,K.wg)(),(0,K.iD)("text",{class:"vch__month__label",key:O,x:e.getMonthLabelPosition(j).x,y:e.getMonthLabelPosition(j).y},(0,Ct.toDisplayString)(e.lo.months[j.value]),9,up))),128))],8,cp),(0,K._)("g",{class:"vch__days__labels__wrapper",transform:e.daysLabelWrapperTransform},[(0,K._)("text",{class:"vch__day__label",x:e.vertical?e.SQUARE_SIZE:0,y:e.vertical?e.SQUARE_SIZE-e.SQUARE_BORDER_SIZE:20},(0,Ct.toDisplayString)(e.lo.days[1]),9,dp),(0,K._)("text",{class:"vch__day__label",x:e.vertical?e.SQUARE_SIZE*3:0,y:e.vertical?e.SQUARE_SIZE-e.SQUARE_BORDER_SIZE:44},(0,Ct.toDisplayString)(e.lo.days[3]),9,pp),(0,K._)("text",{class:"vch__day__label",x:e.vertical?e.SQUARE_SIZE*5:0,y:e.vertical?e.SQUARE_SIZE-e.SQUARE_BORDER_SIZE:69},(0,Ct.toDisplayString)(e.lo.days[5]),9,mp)],8,fp),e.vertical?((0,K.wg)(),(0,K.iD)("g",{key:0,class:"vch__legend__wrapper",transform:e.legendWrapperTransform},[(0,K._)("text",{x:e.SQUARE_SIZE*1.25,y:"8"},(0,Ct.toDisplayString)(e.lo.less),9,gp),((0,K.wg)(!0),(0,K.iD)(K.HY,null,(0,K.Ko)(e.rangeColor,(j,O)=>((0,K.wg)(),(0,K.iD)("rect",{key:O,rx:e.round,ry:e.round,style:(0,Ct.normalizeStyle)({fill:j}),width:e.SQUARE_SIZE-e.SQUARE_BORDER_SIZE,height:e.SQUARE_SIZE-e.SQUARE_BORDER_SIZE,x:e.SQUARE_SIZE*1.75,y:e.SQUARE_SIZE*(O+1)},null,12,vp))),128)),(0,K._)("text",{x:e.SQUARE_SIZE*1.25,y:e.SQUARE_SIZE*(e.rangeColor.length+2)-e.SQUARE_BORDER_SIZE},(0,Ct.toDisplayString)(e.lo.more),9,yp)],8,hp)):(0,K.kq)("",!0),(0,K._)("g",{class:"vch__year__wrapper",transform:e.yearWrapperTransform},[((0,K.wg)(!0),(0,K.iD)(K.HY,null,(0,K.Ko)(e.heatmap.calendar,(j,O)=>((0,K.wg)(),(0,K.iD)("g",{class:"vch__month__wrapper",key:O,transform:e.getWeekPosition(O)},[((0,K.wg)(!0),(0,K.iD)(K.HY,null,(0,K.Ko)(j,(S,Q)=>((0,K.wg)(),(0,K.iD)(K.HY,{key:Q},[S.date<e.now?((0,K.wg)(),(0,K.iD)("rect",{key:0,class:"vch__day__square",rx:e.round,ry:e.round,transform:e.getDayPosition(Q),width:e.SQUARE_SIZE-e.SQUARE_BORDER_SIZE,height:e.SQUARE_SIZE-e.SQUARE_BORDER_SIZE,style:(0,Ct.normalizeStyle)({fill:e.rangeColor[S.colorIndex]}),"data-tippy-content":e.tooltipOptions(S),onClick:xe=>e.$emit("dayClick",S)},null,12,wp)):(0,K.kq)("",!0)],64))),128))],8,_p))),128))],8,bp)],8,lp)),(0,K._)("div",jp,[(0,K.WI)(e.$slots,"legend",{},()=>[(0,K._)("div",xp,[(0,K.WI)(e.$slots,"vch__legend-left")]),(0,K._)("div",Sp,[(0,K.WI)(e.$slots,"legend-right",{},()=>[(0,K._)("div",Cp,[(0,K._)("div",null,(0,Ct.toDisplayString)(e.lo.less),1),e.vertical?(0,K.kq)("",!0):((0,K.wg)(),(0,K.iD)("svg",{key:0,class:"vch__external-legend-wrapper",viewBox:e.legendViewbox,height:e.SQUARE_SIZE-e.SQUARE_BORDER_SIZE},[(0,K._)("g",Ep,[((0,K.wg)(!0),(0,K.iD)(K.HY,null,(0,K.Ko)(e.rangeColor,(j,O)=>((0,K.wg)(),(0,K.iD)("rect",{key:O,rx:e.round,ry:e.round,style:(0,Ct.normalizeStyle)({fill:j}),width:e.SQUARE_SIZE-e.SQUARE_BORDER_SIZE,height:e.SQUARE_SIZE-e.SQUARE_BORDER_SIZE,x:e.SQUARE_SIZE*O},null,12,Op))),128))])],8,Tp)),(0,K._)("div",null,(0,Ct.toDisplayString)(e.lo.more),1)])])])])])])}var fc=ap(op,[["render",kp]]);function Ap(e){e.component(fc.name,fc)}var jy={install:Ap},Pp={name:"ActivityHeatmap",components:{CalendarHeatmap:fc},props:{values:{type:Array,default:()=>[]}},data:()=>({colorRange:["var(--color-secondary-alpha-70)","var(--color-secondary-alpha-70)","var(--color-primary-light-4)","var(--color-primary-light-2)","var(--color-primary)","var(--color-primary-dark-2)","var(--color-primary-dark-4)"],endDate:new Date,locale:{contributions:"contributions",no_contributions:"No contributions"}}),computed:{sum(){let e=0;for(let t=0;t<this.values.length;t++)e+=this.values[t].count;return e}},mounted(){const e=document.querySelector(".vch__external-legend-wrapper");e.setAttribute("viewBox","12 0 80 10"),e.style.marginRight="-12px"},methods:{handleDayClick(e){const t=new URLSearchParams(document.location.search),i=t.get("date"),u=new Date(e.date-e.date.getTimezoneOffset()*6e4).toISOString().substring(0,10);i&&i===u?t.delete("date"):t.set("date",u);const p=t.toString();window.location.search=p.length?`?${p}`:""}}},Dp=(0,fr.Z)(Pp,[["render",G]]);function Rp(){const e=document.getElementById("user-heatmap");if(!!e)try{const t={};for(const{contributions:p,timestamp:_}of JSON.parse(e.getAttribute("data-heatmap-data"))){const j=new Date(_*1e3).toDateString();t[j]=(t[j]||0)+p}const i=Object.keys(t).map(p=>({date:new Date(p),count:t[p]}));(0,D.createApp)(Dp,{values:i}).mount(e)}catch(t){console.error("Heatmap failed to load",t),e.textContent="Heatmap failed to load"}}function Mp(e,t){var i,u;const j=e.documentElement,O=(i=j==null?void 0:j.width)==null?void 0:i.baseVal,S=(u=j==null?void 0:j.height)==null?void 0:u.baseVal;if(O===void 0||S===void 0)return null;if(O.unitType===SVGLength.SVG_LENGTHTYPE_PERCENTAGE||S.unitType===SVGLength.SVG_LENGTHTYPE_PERCENTAGE){const Q=new Image;if(Q.src=t,Q.width>1&&Q.width<99999&&Q.height>1&&Q.height<99999)return{width:Q.width,height:Q.height};if(j.hasAttribute("viewBox")){const xe=j.viewBox.baseVal;return{width:300,height:300*xe.width/xe.height}}return{width:300,height:300}}return null}function Ip(){function e(t,i){const u={width:t&&t.width||0,height:t&&t.height||0},p={width:i&&i.width||0,height:i&&i.height||0},_={width:Math.max(p.width,u.width),height:Math.max(p.height,u.height)};return{image1:n(t),image2:n(i),size1:u,size2:p,max:_,ratio:[Math.floor(_.width-u.width)/2,Math.floor(_.height-u.height)/2,Math.floor(_.width-p.width)/2,Math.floor(_.height-p.height)/2]}}n(".image-diff").each(function(){const t=n(this),i=Math.max(t.closest(".diff-file-box").width()-300,100),u=t.data("path-after"),p=t.data("path-before"),_=[{loaded:!1,path:u,$image:t.find("img.image-after"),$boundsInfo:t.find(".bounds-info-after")},{loaded:!1,path:p,$image:t.find("img.image-before"),$boundsInfo:t.find(".bounds-info-before")}];for(const Fe of _)Fe.$image.length>0?n.ajax({url:Fe.path,success:(ct,jt,Tt)=>{if(Fe.$image.on("load",()=>{Fe.loaded=!0,j()}).on("error",()=>{Fe.loaded=!0,j(),Fe.$boundsInfo.text("(image error)")}),Fe.$image.attr("src",Fe.path),Tt.getResponseHeader("Content-Type")==="image/svg+xml"){const $t=Mp(ct,Fe.path);$t&&(Fe.$image.attr("width",$t.width),Fe.$image.attr("height",$t.height),Fe.$boundsInfo.hide())}}}):(Fe.loaded=!0,j());function j(){_[0].loaded&&_[1].loaded&&O(_[0].$image,_[1].$image)}function O(Fe,ct){S(e(Fe[0],ct[0])),Fe.length>0&&ct.length>0&&(Q(e(Fe[1],ct[1])),xe(e(Fe[2],ct[2]))),t.find("> .loader").hide(),t.find("> .hide").removeClass("hide")}function S(Fe){let ct=1;Fe.max.width>(i-24)/2&&(ct=(i-24)/2/Fe.max.width);const jt=Fe.image1.length!==0&&Fe.image2.length!==0&&Fe.image1[0].naturalWidth!==Fe.image2[0].naturalWidth,Tt=Fe.image1.length!==0&&Fe.image2.length!==0&&Fe.image1[0].naturalHeight!==Fe.image2[0].naturalHeight;Fe.image1.length!==0&&(t.find(".bounds-info-after .bounds-info-width").text(`${Fe.image1[0].naturalWidth}px`).addClass(jt?"green":""),t.find(".bounds-info-after .bounds-info-height").text(`${Fe.image1[0].naturalHeight}px`).addClass(Tt?"green":"")),Fe.image2.length!==0&&(t.find(".bounds-info-before .bounds-info-width").text(`${Fe.image2[0].naturalWidth}px`).addClass(jt?"red":""),t.find(".bounds-info-before .bounds-info-height").text(`${Fe.image2[0].naturalHeight}px`).addClass(Tt?"red":"")),Fe.image1.css({width:Fe.size1.width*ct,height:Fe.size1.height*ct}),Fe.image1.parent().css({margin:`${Fe.ratio[1]*ct+15}px ${Fe.ratio[0]*ct}px ${Fe.ratio[1]*ct}px`,width:Fe.size1.width*ct+2,height:Fe.size1.height*ct+2}),Fe.image2.css({width:Fe.size2.width*ct,height:Fe.size2.height*ct}),Fe.image2.parent().css({margin:`${Fe.ratio[3]*ct}px ${Fe.ratio[2]*ct}px`,width:Fe.size2.width*ct+2,height:Fe.size2.height*ct+2})}function Q(Fe){let ct=1;Fe.max.width>i-12&&(ct=(i-12)/Fe.max.width),Fe.image1.css({width:Fe.size1.width*ct,height:Fe.size1.height*ct}),Fe.image1.parent().css({margin:`0px ${Fe.ratio[0]*ct}px`,width:Fe.size1.width*ct+2,height:Fe.size1.height*ct+2}),Fe.image1.parent().parent().css({padding:`${Fe.ratio[1]*ct}px 0 0 0`,width:Fe.max.width*ct+2}),Fe.image2.css({width:Fe.size2.width*ct,height:Fe.size2.height*ct}),Fe.image2.parent().css({margin:`${Fe.ratio[3]*ct}px ${Fe.ratio[2]*ct}px`,width:Fe.size2.width*ct+2,height:Fe.size2.height*ct+2}),Fe.image2.parent().parent().css({width:Fe.max.width*ct+2,height:Fe.max.height*ct+2}),t.find(".diff-swipe").css({width:Fe.max.width*ct+2,height:Fe.max.height*ct+4}),t.find(".swipe-bar").on("mousedown",function(jt){jt.preventDefault();const Tt=n(this),$t=Tt.parent(),Yt=$t.width()-Tt.width()-2;n(document).on("mousemove.diff-swipe",It=>{It.preventDefault();const pi=Math.max(0,Math.min(It.clientX-$t.offset().left,Yt));Tt.css({left:pi}),t.find(".swipe-container").css({width:$t.width()-pi}),n(document).on("mouseup.diff-swipe",()=>{n(document).off(".diff-swipe")})})})}function xe(Fe){let ct=1;Fe.max.width>i-12&&(ct=(i-12)/Fe.max.width),Fe.image1.css({width:Fe.size1.width*ct,height:Fe.size1.height*ct}),Fe.image2.css({width:Fe.size2.width*ct,height:Fe.size2.height*ct}),Fe.image1.parent().css({margin:`${Fe.ratio[1]*ct}px ${Fe.ratio[0]*ct}px`,width:Fe.size1.width*ct+2,height:Fe.size1.height*ct+2}),Fe.image2.parent().css({margin:`${Fe.ratio[3]*ct}px ${Fe.ratio[2]*ct}px`,width:Fe.size2.width*ct+2,height:Fe.size2.height*ct+2}),Fe.image2.parent().parent().css({width:Fe.max.width*ct+2,height:Fe.max.height*ct+2}),t.find(".onion-skin").css({width:Fe.max.width*ct+2,height:Fe.max.height*ct+4});const jt=t.find("input[type='range']"),Tt=()=>Fe.image1.parent().css({opacity:jt.val()/100});jt.on("input",Tt),Tt()}})}const fu=n("#service_type"),du=n("#auth_username"),pu=n("#auth_password"),mu=n("#auth_token"),hu=n("#mirror"),gu=n("#lfs"),Fp=n("#lfs_settings"),vu=n("#lfs_endpoint"),Nl=n("#migrate_items").find("input[type=checkbox]");function Np(){Lp(),yu(),du.on("keyup",()=>{Sl(!1)}),pu.on("keyup",()=>{Sl(!1)}),mu.on("keyup",()=>{Sl(!0)}),hu.on("change",()=>{Sl(!0)}),n("#lfs_settings_show").on("click",()=>(vu.show(),!1)),gu.on("change",yu);const e=n("#clone_addr");e.on("change",()=>{const t=n("#repo_name");e.val().length>0&&t.val().length===0&&t.val(e.val().match(/^(.*\/)?((.+?)(\.git)?)$/)[3])})}function Lp(){const e=fu.val();Sl(e!==1)}function Sl(e){let t;if(e?t=mu.val()!=="":t=du.val()!==""||pu.val()!=="",t&&fu.val()>1){if(hu.is(":checked")){Nl.not('[name="wiki"]').attr("disabled",!0),Nl.filter('[name="wiki"]').attr("disabled",!1);return}Nl.attr("disabled",!1)}else Nl.attr("disabled",!0)}function yu(){const e=gu.is(":checked");Fp.toggle(e),vu.hide()}var Bp=Math.pow,bu=(e,t,i)=>new Promise((u,p)=>{var _=S=>{try{O(i.next(S))}catch(Q){p(Q)}},j=S=>{try{O(i.throw(S))}catch(Q){p(Q)}},O=S=>S.done?u(S.value):Promise.resolve(S.value).then(_,j);O((i=i.apply(e,t)).next())});const{csrfToken:ml}=window.config;function _u(e){const t=e.parentElement,i=t.getElementsByClassName("board-card").length;t.getElementsByClassName("board-card-cnt")[0].innerText=i}function wu({item:e,from:t,to:i,oldIndex:u}){const p=i.getElementsByClassName("board-card");_u(t),_u(i);const _={issues:[...p].map((j,O)=>({issueID:parseInt(n(j).attr("data-issue")),sorting:O}))};n.ajax({url:`${i.getAttribute("data-url")}/move`,data:JSON.stringify(_),headers:{"X-Csrf-Token":ml},contentType:"application/json",type:"POST",error:()=>{t.insertBefore(e,t.children[u])}})}function Vp(){return bu(this,null,function*(){const e=document.querySelectorAll("#project-board > .board");if(!e.length)return;const{Sortable:t}=yield gi.e("sortable").then(gi.bind(gi,"./node_modules/sortablejs/modular/sortable.esm.js")),i=e[0];let u=i.getElementsByClassName("board-column");new t(i,{group:"board-column",draggable:".board-column",filter:'[data-id="0"]',animation:150,ghostClass:"card-ghost",onSort:()=>{u=i.getElementsByClassName("board-column");for(let p=0;p<u.length;p++){const _=u[p];parseInt(n(_).data("sorting"))!==p&&n.ajax({url:n(_).data("url"),data:JSON.stringify({sorting:p,color:xu(n(_).css("backgroundColor"))}),headers:{"X-Csrf-Token":ml},contentType:"application/json",method:"PUT"})}}});for(const p of u){const _=p.getElementsByClassName("board")[0];new t(_,{group:"shared",animation:150,ghostClass:"card-ghost",onAdd:wu,onUpdate:wu})}})}function Up(){if(!n(".repository.projects").length)return;const e=Vp();n(".edit-project-board").each(function(){const t=n(this).closest(".board-column-header"),i=t.find(".board-label"),u=n(this).find(".content > .form > .field > .project-board-title"),p=n(this).find(".content > .form > .field #new_board_color"),_=n(this).closest(".board-column");_.css("backgroundColor")&&ju(t,xu(_.css("backgroundColor"))),n(this).find(".content > .form > .actions > .red").on("click",function(j){j.preventDefault(),n.ajax({url:n(this).data("url"),data:JSON.stringify({title:u.val(),color:p.val()}),headers:{"X-Csrf-Token":ml},contentType:"application/json",method:"PUT"}).done(()=>{i.text(u.val()),u.closest("form").removeClass("dirty"),p.val()&&ju(t,p.val()),_.attr("style",`background: ${p.val()}!important`),n(".ui.modal").modal("hide")})})}),n(document).on("click",".set-default-project-board",function(t){return bu(this,null,function*(){t.preventDefault(),yield n.ajax({method:"POST",url:n(this).data("url"),headers:{"X-Csrf-Token":ml},contentType:"application/json"}),window.location.reload()})}),n(".delete-project-board").each(function(){n(this).click(function(t){t.preventDefault(),n.ajax({url:n(this).data("url"),headers:{"X-Csrf-Token":ml},contentType:"application/json",method:"DELETE"}).done(()=>{window.location.reload()})})}),n("#new_board_submit").click(function(t){t.preventDefault();const i=n("#new_board"),u=n("#new_board_color_picker");n.ajax({url:n(this).data("url"),data:JSON.stringify({title:i.val(),color:u.val()}),headers:{"X-Csrf-Token":ml},contentType:"application/json",method:"POST"}).done(()=>{i.closest("form").removeClass("dirty"),window.location.reload()})})}function ju(e,t){const i=dc(parseInt(t.slice(1,3),16)),u=dc(parseInt(t.slice(3,5),16)),p=dc(parseInt(t.slice(5,7),16));.2126*i+.7152*u+.0722*p>.179?e.removeClass("light-label").addClass("dark-label"):e.removeClass("dark-label").addClass("light-label")}function dc(e){return e/=255,e<=.03928?e/12.92:Bp((e+.055)/1.055,2.4)}function xu(e){return e=e.match(/^rgba?\((\d+),\s*(\d+),\s*(\d+).*\)$/),`#${pc(e[1])}${pc(e[2])}${pc(e[3])}`}function pc(e){const t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];return Number.isNaN(e)?"00":t[(e-e%16)/16]+t[e%16]}var Cl=(e,t,i)=>new Promise((u,p)=>{var _=S=>{try{O(i.next(S))}catch(Q){p(Q)}},j=S=>{try{O(i.throw(S))}catch(Q){p(Q)}},O=S=>S.done?u(S.value):Promise.resolve(S.value).then(_,j);O((i=i.apply(e,t)).next())});const{useServiceWorker:Hp,assetUrlPrefix:$p,assetVersionEncoded:Su}=window.config,zp="static-cache-v",Cu=`${At($p,"serviceworker.js")}?v=${Su}`;function Tu(){return Cl(this,null,function*(){for(const e of yield navigator.serviceWorker.getRegistrations())e.active&&(yield e.unregister())})}function Wp(){return Cl(this,null,function*(){var e;for(const t of yield navigator.serviceWorker.getRegistrations()){const i=N(((e=t.active)==null?void 0:e.scriptURL)||"").pathname,u=N(Cu).pathname;i!==u&&(yield t.unregister())}})}function mc(){return Cl(this,null,function*(){for(const e of yield caches.keys())e.startsWith(zp)&&caches.delete(e)})}function qp(){return Cl(this,null,function*(){const e=Su,t=localStorage.getItem("staticCacheKey");e&&t!==e&&(yield mc(),localStorage.setItem("staticCacheKey",e))})}function Kp(){return Cl(this,null,function*(){if("serviceWorker"in navigator)if(Hp){yield Wp();try{yield qp(),yield navigator.serviceWorker.register(Cu)}catch(e){console.error(e),yield mc(),yield Tu()}}else yield mc(),yield Tu()})}function Yp(){for(const e of document.querySelectorAll("th[data-sortt-asc]")||[]){const t=e.getAttribute("data-sortt-asc"),i=e.getAttribute("data-sortt-desc"),u=e.getAttribute("data-sortt-default");e.addEventListener("click",()=>{Gp(t,i,u)})}}function Gp(e,t,i){if(!e)return!1;t||(t="");const u=new URL(window.location);let p=u.searchParams.get("sort");!p&&i&&(p=e),u.searchParams.set("sort",p!==e?e:t),window.location.replace(u.href)}function Xp(){const e=window.config.pageData.adminUserListSearchForm;if(!e)return;const t=n("#user-list-search-form");if(!!t.length){if(t.find(`button[name=sort][value=${e.SortType}]`).addClass("active"),e.StatusFilterMap)for(const[i,u]of Object.entries(e.StatusFilterMap))!u||t.find(`input[name="status_filter[${i}]"][value=${u}]`).prop("checked",!0);t.find("input[type=radio]").click(()=>(t.submit(),!1)),t.find(".j-reset-status-filter").click(()=>(t.find("input[type=radio]").each((i,u)=>{const p=n(u);p.attr("name").startsWith("status_filter[")&&p.prop("checked",!1)}),t.submit(),!1))}}const{appSubUrl:Jp,csrfToken:Qp,pageData:Eu}=window.config;function Zp(){!(Eu!=null&&Eu.adminConfigPage)||n("input[type='checkbox']").on("change",t=>{const i=n(t.currentTarget);return n.ajax({url:`${Jp}/admin/config`,type:"POST",data:{_csrf:Qp,key:i.attr("name"),value:i.is(":checked"),version:i.attr("version")}}).done(u=>{u&&(u.redirect?window.location.href=u.redirect:u.version?i.attr("version",u.version):u.err&&(zn(t.currentTarget,u.err),i.prop("checked",!i.is(":checked"))))}),t.preventDefault(),!1})}const em=".markup h1, .markup h2, .markup h3, .markup h4, .markup h5, .markup h6";function Ou(e,t){if(t&&document.querySelector(":target")||(e==null?void 0:e.length)<=1)return;const i=decodeURIComponent(e.substring(1)),u=document.getElementById(`user-content-${i}`);if(u)u.scrollIntoView();else if(i.startsWith("user-content-")){const p=document.getElementById(i);p&&p.scrollIntoView()}}function tm(){if(!!document.querySelector(".markup")){for(const e of document.querySelectorAll(em)){const t=e.id.replace(/^user-content-/,""),i=document.createElement("a");i.classList.add("anchor"),i.setAttribute("href",`#${encodeURIComponent(t)}`),i.innerHTML=Qt("octicon-link"),i.addEventListener("click",u=>{Ou(u.currentTarget.getAttribute("href"),!1)}),e.prepend(i)}Ou(window.location.hash,!0)}}var tl=(e,t,i)=>new Promise((u,p)=>{var _=S=>{try{O(i.next(S))}catch(Q){p(Q)}},j=S=>{try{O(i.throw(S))}catch(Q){p(Q)}},O=S=>S.done?u(S.value):Promise.resolve(S.value).then(_,j);O((i=i.apply(e,t)).next())});const{appSubUrl:Ll,csrfToken:ku,notificationSettings:il,assetVersionEncoded:im}=window.config;let Bl=0;function hc(){n("#notification_table .button").on("click",function(){return tl(this,null,function*(){const e=yield om(n(this).data("url"),n(this).data("status"),n(this).data("page"),n(this).data("q"),n(this).data("notification-id"));n(e).data("sequence-number")===Bl&&(n("#notification_div").replaceWith(e),hc()),yield Pu()}),!1})}function nm(e){return tl(this,null,function*(){try{const t=JSON.parse(e.data);for(const i of document.querySelectorAll(".notification_count"))i.classList.toggle("hidden",t.Count===0),i.textContent=`${t.Count}`;yield Au()}catch(t){console.error(t,e)}})}function rm(){const e=n(".notification_count");if(!e.length)return;let t=!1;const i=(u,p)=>{u<=0||!Number.isFinite(u)||(t=!0,p=p!=null?p:e.text(),setTimeout(()=>tl(this,null,function*(){yield am(i,u,p)}),u))};if(il.EventSourceUpdateTime>0&&window.EventSource&&window.SharedWorker){const u=new SharedWorker(`${gi.p}js/eventsource.sharedworker.js?v=${im}`,"notification-worker");u.addEventListener("error",p=>{console.error("worker error",p)}),u.port.addEventListener("messageerror",()=>{console.error("unable to deserialize message")}),u.port.postMessage({type:"start",url:`${window.location.origin}${Ll}/user/events`}),u.port.addEventListener("message",p=>{if(!p.data||!p.data.type){console.error("unknown worker message event",p);return}if(p.data.type==="notification-count"){const _=nm(p.data)}else if(p.data.type==="no-event-source")t||i(il.MinTimeout);else if(p.data.type==="error")console.error("worker port event error",p.data);else if(p.data.type==="logout"){if(p.data.data!=="here")return;u.port.postMessage({type:"close"}),u.port.close(),window.location.href=Ll}else p.data.type==="close"&&(u.port.postMessage({type:"close"}),u.port.close())}),u.port.addEventListener("error",p=>{console.error("worker port error",p)}),u.port.start(),window.addEventListener("beforeunload",()=>{u.port.postMessage({type:"close"}),u.port.close()});return}i(il.MinTimeout)}function am(e,t,i){return tl(this,null,function*(){const u=n(".notification_count").text();if(i!==u){e(il.MinTimeout,u);return}const p=yield Pu();let _=!1;i!==p?(_=!0,t=il.MinTimeout):t<il.MaxTimeout&&(t+=il.TimeoutStep),e(t,p),_&&(yield Au())})}function Au(){return tl(this,null,function*(){const e=n("#notification_div");if(e.length>0){const t=yield n.ajax({type:"GET",url:`${Ll}/notifications?${e.data("params")}`,data:{"div-only":!0,"sequence-number":++Bl}});n(t).data("sequence-number")===Bl&&(e.replaceWith(t),hc())}})}function Pu(){return tl(this,null,function*(){const e=yield n.ajax({type:"GET",url:`${Ll}/notifications/new`,headers:{"X-Csrf-Token":ku}}),t=n(".notification_count");return e.new===0?t.addClass("hidden"):t.removeClass("hidden"),t.text(`${e.new}`),`${e.new}`})}function om(e,t,i,u,p){return tl(this,null,function*(){return t!=="pinned"&&n(`#notification_${p}`).remove(),n.ajax({type:"POST",url:e,data:{_csrf:ku,notification_id:p,status:t,page:i,q:u,noredirect:!0,"sequence-number":++Bl}})})}const{appSubUrl:sm,csrfToken:gc}=window.config;let Du,Ru,Mu,Iu;function lm(e,t,i,u){let p=n(".content-history-detail-dialog");p.length||(p=n(`
|
|
<div class="ui modal content-history-detail-dialog">
|
|
${Qt("octicon-x",16,"close icon inside")}
|
|
<div class="header df ac sb">
|
|
<div>${u}</div>
|
|
<div class="ui dropdown dialog-header-options df ac mr-5 hide">
|
|
${Ru}${Qt("octicon-triangle-down",14,"dropdown icon")}
|
|
<div class="menu">
|
|
<div class="item red text" data-option-item="delete">${Mu}</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="comment-diff-data tl p-3 is-loading"></div>
|
|
</div>`),p.appendTo(n("body")),p.find(".dialog-header-options").dropdown({showOnFocus:!1,allowReselection:!0,onChange(_,j,O){const S=O.data("option-item");S==="delete"?window.confirm(Iu)&&n.post(`${e}/content-history/soft-delete?comment_id=${t}&history_id=${i}`,{_csrf:gc}).done(Q=>{Q.ok?p.modal("hide"):alert(Q.message)}):window.alert(`unknown option item: ${S}`)},onHide(){n(this).dropdown("clear",!0)}}),p.modal({onShow(){n.ajax({url:`${e}/content-history/detail?comment_id=${t}&history_id=${i}`,data:{_csrf:gc}}).done(_=>{p.find(".comment-diff-data").removeClass("is-loading").html(_.diffHtml),_.canSoftDelete&&p.find(".dialog-header-options").removeClass("hide")})},onHidden(){p.remove()}}).modal("show"))}function Fu(e,t,i){const u=t.find(".comment-header-left"),p=`
|
|
<div class="ui pointing dropdown top left content-history-menu" data-comment-id="${i}">
|
|
• <a>${Du}${Qt("octicon-triangle-down",14,"dropdown icon ml-1 mt-1")}</a>
|
|
<div class="menu">
|
|
</div>
|
|
</div>`;u.find(".content-history-menu").remove(),u.append(n(p)),u.find(".dropdown").dropdown({action:"hide",apiSettings:{cache:!1,url:`${e}/content-history/list?comment_id=${i}`},saveRemoteData:!1,onHide(){n(this).dropdown("change values",null)},onChange(_,j,O){_&&!O.find("[data-history-is-deleted=1]").length&&lm(e,i,_,j)}})}function Nu(){const e=n("#issueIndex").val();if(!e)return;const t=n(".repository.issue .timeline-item.comment.first"),i=n(".repository.issue .comment-list .comment");if(!t.length&&!i.length)return;const u=n("#repolink").val(),p=`${sm}/${u}/issues/${e}`;n.ajax({url:`${p}/content-history/overview`,data:{_csrf:gc}}).done(_=>{Du=_.i18n.textEdited,Mu=_.i18n.textDeleteFromHistory,Iu=_.i18n.textDeleteFromHistoryConfirm,Ru=_.i18n.textOptions,_.editedHistoryCountMap[0]&&t.length&&Fu(p,t,"0");for(const[j,O]of Object.entries(_.editedHistoryCountMap)){if(j==="0")continue;const S=n(`#issuecomment-${j}`);Fu(p,S,j)}})}function cm(e){if(typeof e!="number")throw new TypeError("Expected a number");const t=e>0?Math.floor:Math.ceil;return{days:t(e/864e5),hours:t(e/36e5)%24,minutes:t(e/6e4)%60,seconds:t(e/1e3)%60,milliseconds:t(e)%1e3,microseconds:t(e*1e3)%1e3,nanoseconds:t(e*1e6)%1e3}}const um=(e,t)=>t===1?e:`${e}s`,fm=1e-7;function dm(e,t={}){if(!Number.isFinite(e))throw new TypeError("Expected a finite number");t.colonNotation&&(t.compact=!1,t.formatSubMilliseconds=!1,t.separateMilliseconds=!1,t.verbose=!1),t.compact&&(t.secondsDecimalDigits=0,t.millisecondsDecimalDigits=0);const i=[],u=(j,O)=>{const S=Math.floor(j*Pc(10,O)+fm);return(Math.round(S)/Pc(10,O)).toFixed(O)},p=(j,O,S,Q)=>{if((i.length===0||!t.colonNotation)&&j===0&&!(t.colonNotation&&S==="m"))return;Q=(Q||j||"0").toString();let xe,Fe;if(t.colonNotation){xe=i.length>0?":":"",Fe="";const ct=Q.includes(".")?Q.split(".")[0].length:Q.length,jt=i.length>0?2:1;Q="0".repeat(Math.max(0,jt-ct))+Q}else xe="",Fe=t.verbose?" "+um(O,j):S;i.push(xe+Q+Fe)},_=cm(e);if(p(Math.trunc(_.days/365),"year","y"),p(_.days%365,"day","d"),p(_.hours,"hour","h"),p(_.minutes,"minute","m"),t.separateMilliseconds||t.formatSubMilliseconds||!t.colonNotation&&e<1e3)if(p(_.seconds,"second","s"),t.formatSubMilliseconds)p(_.milliseconds,"millisecond","ms"),p(_.microseconds,"microsecond","\xB5s"),p(_.nanoseconds,"nanosecond","ns");else{const j=_.milliseconds+_.microseconds/1e3+_.nanoseconds/1e6,O=typeof t.millisecondsDecimalDigits=="number"?t.millisecondsDecimalDigits:0,S=j>=1?Math.round(j):Math.ceil(j),Q=O?j.toFixed(O):S;p(Number.parseFloat(Q),"millisecond","ms",Q)}else{const j=e/1e3%60,O=typeof t.secondsDecimalDigits=="number"?t.secondsDecimalDigits:1,S=u(j,O),Q=t.keepDecimalsOnWholeSeconds?S:S.replace(/\.0+$/,"");p(Number.parseFloat(Q),"second","s",Q)}if(i.length===0)return"0"+(t.verbose?" milliseconds":"ms");if(t.compact)return i[0];if(typeof t.unitCount=="number"){const j=t.colonNotation?"":" ";return i.slice(0,Math.max(t.unitCount,1)).join(j)}return t.colonNotation?i.join(""):i.join(" ")}var Lu=(e,t,i)=>new Promise((u,p)=>{var _=S=>{try{O(i.next(S))}catch(Q){p(Q)}},j=S=>{try{O(i.throw(S))}catch(Q){p(Q)}},O=S=>S.done?u(S.value):Promise.resolve(S.value).then(_,j);O((i=i.apply(e,t)).next())});const{appSubUrl:Vl,csrfToken:pm,notificationSettings:hl,enableTimeTracking:mm,assetVersionEncoded:hm}=window.config;function gm(){if(!mm)return;const e=document.querySelector(".active-stopwatch-trigger"),t=document.querySelector(".active-stopwatch-popup");if(!e||!t)return;e.removeAttribute("href"),jn(e,{content:t,placement:"bottom-end",trigger:"click",maxWidth:"none",interactive:!0,hideOnClick:!0});const i=n(".stopwatch-time").attr("data-seconds");i&&Uu(i);let u=!1;const p=_=>{_<=0||!Number.isFinite(_)||(u=!0,setTimeout(()=>vm(p,_),_))};if(hl.EventSourceUpdateTime>0&&window.EventSource&&window.SharedWorker){const _=new SharedWorker(`${gi.p}js/eventsource.sharedworker.js?v=${hm}`,"notification-worker");_.addEventListener("error",j=>{console.error("worker error",j)}),_.port.addEventListener("messageerror",()=>{console.error("unable to deserialize message")}),_.port.postMessage({type:"start",url:`${window.location.origin}${Vl}/user/events`}),_.port.addEventListener("message",j=>{if(!j.data||!j.data.type){console.error("unknown worker message event",j);return}if(j.data.type==="stopwatches")Bu(JSON.parse(j.data.data));else if(j.data.type==="no-event-source")u||p(hl.MinTimeout);else if(j.data.type==="error")console.error("worker port event error",j.data);else if(j.data.type==="logout"){if(j.data.data!=="here")return;_.port.postMessage({type:"close"}),_.port.close(),window.location.href=Vl}else j.data.type==="close"&&(_.port.postMessage({type:"close"}),_.port.close())}),_.port.addEventListener("error",j=>{console.error("worker port error",j)}),_.port.start(),window.addEventListener("beforeunload",()=>{_.port.postMessage({type:"close"}),_.port.close()});return}p(hl.MinTimeout)}function vm(e,t){return Lu(this,null,function*(){(yield ym())?t<hl.MaxTimeout&&(t+=hl.TimeoutStep):t=hl.MinTimeout,e(t)})}function ym(){return Lu(this,null,function*(){const e=yield n.ajax({type:"GET",url:`${Vl}/user/stopwatches`,headers:{"X-Csrf-Token":pm}});return Bu(e)})}function Bu(e){const t=e[0],i=n(".active-stopwatch-trigger");if(!t)Vu(),i.addClass("hidden");else{const{repo_owner_name:u,repo_name:p,issue_index:_,seconds:j}=t,O=`${Vl}/${u}/${p}/issues/${_}`;n(".stopwatch-link").attr("href",O),n(".stopwatch-commit").attr("action",`${O}/times/stopwatch/toggle`),n(".stopwatch-cancel").attr("action",`${O}/times/stopwatch/cancel`),n(".stopwatch-issue").text(`${u}/${p}#${_}`),Uu(j),i.removeClass("hidden")}return Boolean(e.length)}let Ul=null;function Vu(){Ul!==null&&(clearInterval(Ul),Ul=null)}function Uu(e){const t=parseInt(e);if(!Number.isFinite(t))return;Vu();const i=n(".stopwatch-time"),u=Date.now(),p=()=>{const _=Date.now()-u,j=dm(t*1e3+_,{compact:!0});i.text(j)};p(),Ul=setInterval(p,1e3)}var bm=(e,t,i)=>new Promise((u,p)=>{var _=S=>{try{O(i.next(S))}catch(Q){p(Q)}},j=S=>{try{O(i.throw(S))}catch(Q){p(Q)}},O=S=>S.done?u(S.value):Promise.resolve(S.value).then(_,j);O((i=i.apply(e,t)).next())});const{csrf:_m}=window.config,Hu=50;let $u=[],nl,vc,zu;function wm(e,t){const i=[""];let u=0,p=0;const _=e.toLowerCase();for(;u<t.length&&p<_.length;)t[u]===_[p]?(i.length%2!==0&&i.push(""),i[i.length-1]+=e[p],p++,u++):(i.length%2===0&&i.push(""),i[i.length-1]+=e[p],p++);return u!==t.length?[e]:(p<e.length&&(i.length%2===0&&i.push(""),i[i.length-1]+=e.substring(p)),i)}function jm(e){let t=0;for(let i=0;i<e.length;i++)i%2===1&&(t+=e[i].length*e[i].length);return t}function xm(e,t){let i=[];if(t){const u=t.toLowerCase();for(let p=0;p<e.length;p++){const _=wm(e[p],u);_.length>1&&i.push({matchResult:_,matchWeight:jm(_)})}i.sort((p,_)=>_.matchWeight-p.matchWeight),i=i.slice(0,Hu)}else for(let u=0;u<e.length&&u<Hu;u++)i.push({matchResult:[e[u]],matchWeight:0});return i}function Sm(e){return e.split("/").map(encodeURIComponent).join("/")}function Wu(e){const t=nl.attr("data-url-tree-link");vc.empty();const i=xm($u,e),u="<tr><td><a></a></td></tr>";zu.toggle(i.length===0);for(const p of i){const _=n(u),j=_.find("a");j.attr("href",`${t}/${Sm(p.matchResult.join(""))}`);const O=n(Qt("octicon-file")).addClass("mr-3");j.append(O);for(let S=0;S<p.matchResult.length;S++){if(!p.matchResult[S])continue;const Q=n("<span>").text(p.matchResult[S]);S%2===1&&Q.addClass("ui text red"),j.append(Q)}vc.append(_)}}function Cm(){return bm(this,null,function*(){$u=yield n.ajax({url:nl.attr("data-url-data-link"),headers:{"X-Csrf-Token":_m}}),Wu(nl.val())})}function Tm(){nl=n("#repo-file-find-input"),nl.length&&(vc=n("#repo-find-file-table tbody"),zu=n("#repo-find-file-no-result"),nl.on("input",()=>Wu(nl.val())),Cm())}var Em=(e,t,i)=>new Promise((u,p)=>{var _=S=>{try{O(i.next(S))}catch(Q){p(Q)}},j=S=>{try{O(i.throw(S))}catch(Q){p(Q)}},O=S=>S.done?u(S.value):Promise.resolve(S.value).then(_,j);O((i=i.apply(e,t)).next())});const{mermaidMaxSourceCharacters:yc}=window.config,Om=`
|
|
:root {color-scheme: normal}
|
|
body {margin: 0; padding: 0}
|
|
#mermaid {display: block; margin: 0 auto}
|
|
`;function Hl(e,t){e.closest("pre").classList.remove("is-loading");const i=document.createElement("div");i.setAttribute("class","ui message error markup-block-error mono"),i.textContent=t.str||t.message||String(t),e.closest("pre").before(i)}function km(){return Em(this,null,function*(){const e=document.querySelectorAll(".markup code.language-mermaid");if(!e.length)return;const{default:t}=yield gi.e("mermaid").then(gi.bind(gi,"./node_modules/mermaid/dist/mermaid.esm.min.mjs"));t.initialize({startOnLoad:!1,theme:g()?"dark":"neutral",securityLevel:"strict"});for(const i of e){const u=i.textContent;if(yc>=0&&u.length>yc){Hl(i,new Error(`Mermaid source of ${u.length} characters exceeds the maximum allowed length of ${yc}.`));continue}let p;try{p=t.parse(u)}catch(_){Hl(i,_)}if(!p){i.closest("pre").classList.remove("is-loading");continue}try{t.mermaidAPI.render("mermaid",u,_=>{const j=(_.match(/viewBox="(.+?)"/)||["",""])[1].split(/\s+/)[3];if(!j)return Hl(i,new Error("Could not determine chart height"));const O=document.createElement("iframe");O.classList.add("markup-render"),O.sandbox="allow-scripts",O.style.height=`${Math.ceil(parseFloat(j))}px`,O.srcdoc=`<html><head><style>${Om}</style></head><body>${_}</body></html>`,i.closest("pre").replaceWith(O)})}catch(_){Hl(i,_)}}})}var Am=(e,t,i)=>new Promise((u,p)=>{var _=S=>{try{O(i.next(S))}catch(Q){p(Q)}},j=S=>{try{O(i.throw(S))}catch(Q){p(Q)}},O=S=>S.done?u(S.value):Promise.resolve(S.value).then(_,j);O((i=i.apply(e,t)).next())});function Pm(e,t){const i=qu(e);i.classList.remove("is-loading");const u=document.createElement("div");u.setAttribute("class","ui message error markup-block-error mono"),u.textContent=t.str||t.message||String(t),i.before(u)}function qu(e){return e.classList.contains("is-loading")?e:e.closest("pre")}function Dm(){return Am(this,null,function*(){const e=document.querySelectorAll(".markup code.language-math");if(!e.length)return;const[{default:t}]=yield Promise.all([gi.e("katex").then(gi.bind(gi,"./node_modules/katex/dist/katex.mjs")),gi.e("katex").then(gi.bind(gi,"./node_modules/katex/dist/katex.css"))]);for(const i of e){const u=i.textContent,p=i.classList.contains("display"),_=p?"p":"span";try{const j=document.createElement(_);t.render(u,j,{maxSize:25,maxExpand:50,displayMode:p}),qu(i).replaceWith(j)}catch(j){Pm(i,j)}}})}function Rm(){const e=document.querySelectorAll(".markup .code-block code");if(!e.length)return;const t=document.createElement("button");t.classList.add("code-copy","ui","button"),t.innerHTML=Qt("octicon-copy");for(const i of e){const u=t.cloneNode(!0);u.setAttribute("data-clipboard-text",i.textContent),i.after(u)}}var Mm=(e,t,i)=>new Promise((u,p)=>{var _=S=>{try{O(i.next(S))}catch(Q){p(Q)}},j=S=>{try{O(i.throw(S))}catch(Q){p(Q)}},O=S=>S.done?u(S.value):Promise.resolve(S.value).then(_,j);O((i=i.apply(e,t)).next())});const Ku=e=>e.preventDefault();function Im(){for(const e of document.querySelectorAll(".markup[data-can-edit=true]")||[]){const t=e.parentNode,i=e.querySelectorAll(".task-list-item input[type=checkbox]");for(const u of i){if(u.hasAttribute("data-editable"))return;u.setAttribute("data-editable","true"),u.addEventListener("input",()=>Mm(this,null,function*(){const p=u.checked?"x":" ",_=parseInt(u.getAttribute("data-source-position"))+1,j=t.querySelector(".raw-content"),O=j.textContent,S=new TextEncoder,Q=S.encode(O);Q.set(S.encode(p),_);const xe=new TextDecoder().decode(Q);if(xe!==O){for(const Fe of i)Fe.addEventListener("click",Ku);try{const Fe=t.querySelector(".edit-content-zone"),ct=Fe.getAttribute("data-update-url"),jt=Fe.getAttribute("data-context");yield n.post(ct,{ignore_attachments:!0,_csrf:window.config.csrfToken,content:xe,context:jt}),j.textContent=xe}catch(Fe){u.checked=!u.checked,console.error(Fe)}for(const Fe of i)Fe.removeEventListener("click",Ku)}}))}for(const u of i)u.disabled=!1}}function Tl(){km(),Dm(),Rm()}function Yu(){Im()}const Fm={key:0,class:"mr-3 mt-3 diff-detail-box"},Nm={class:"ui list"},Lm={key:0,id:"diff-too-many-files-stats",class:"pt-2"},Bm={class:"mr-2"};function Vm(e,t,i,u,p,_){const j=(0,K.up)("DiffFileTreeItem");return e.fileTreeIsVisible?((0,K.wg)(),(0,K.iD)("div",Fm,[(0,K.kq)(" only render the tree if we're visible. in many cases this is something that doesn't change very often "),(0,K._)("div",Nm,[((0,K.wg)(!0),(0,K.iD)(K.HY,null,(0,K.Ko)(_.fileTree,O=>((0,K.wg)(),(0,K.j4)(j,{key:O.name,item:O},null,8,["item"]))),128))]),e.isIncomplete?((0,K.wg)(),(0,K.iD)("div",Lm,[(0,K._)("span",Bm,(0,Ct.toDisplayString)(e.tooManyFilesMessage),1),(0,K._)("a",{class:(0,Ct.normalizeClass)(["ui","basic","tiny","button",e.isLoadingNewData===!0?"disabled":""]),id:"diff-show-more-files-stats",onClick:t[0]||(t[0]=(0,D.withModifiers)((...O)=>_.loadMoreData&&_.loadMoreData(...O),["stop"]))},(0,Ct.toDisplayString)(e.showMoreMessage),3)])):(0,K.kq)("v-if",!0)])):(0,K.kq)("v-if",!0)}const Sy=e=>(_pushScopeId("data-v-82c5b0b4"),e=e(),_popScopeId(),e),Um=["href"],Hm={class:"ellipsis"};function $m(e,t,i,u,p,_){const j=(0,K.up)("SvgIcon"),O=(0,K.up)("DiffFileTreeItem",!0);return(0,K.wy)(((0,K.wg)(),(0,K.iD)("div",null,[(0,K._)("div",{class:(0,Ct.normalizeClass)(["item",i.item.isFile?"filewrapper p-1":""])},[(0,K.kq)(" Files "),i.item.isFile?((0,K.wg)(),(0,K.j4)(j,{key:0,"data-position":"right center",name:"octicon-file",class:"svg-icon file"})):(0,K.kq)("v-if",!0),i.item.isFile?((0,K.wg)(),(0,K.iD)("a",{key:1,class:"file ellipsis muted",href:i.item.isFile?"#diff-"+i.item.file.NameHash:""},(0,Ct.toDisplayString)(i.item.name),9,Um)):(0,K.kq)("v-if",!0),i.item.isFile?((0,K.wg)(),(0,K.j4)(j,{key:2,"data-position":"right center",name:_.getIconForDiffType(i.item.file.Type),class:(0,Ct.normalizeClass)(["svg-icon",_.getIconForDiffType(i.item.file.Type),"status"])},null,8,["name","class"])):(0,K.kq)("v-if",!0),(0,K.kq)(" Directories "),i.item.isFile?(0,K.kq)("v-if",!0):((0,K.wg)(),(0,K.iD)("div",{key:3,class:"directory p-1",onClick:t[0]||(t[0]=(0,D.withModifiers)(S=>_.handleClick(i.item.isFile),["stop"]))},[(0,K.Wm)(j,{class:"svg-icon",name:e.collapsed?"octicon-chevron-right":"octicon-chevron-down"},null,8,["name"]),(0,K.Wm)(j,{class:"svg-icon directory",name:"octicon-file-directory-fill"}),(0,K._)("span",Hm,(0,Ct.toDisplayString)(i.item.name),1)])),(0,K.wy)((0,K._)("div",null,[((0,K.wg)(!0),(0,K.iD)(K.HY,null,(0,K.Ko)(i.item.children,S=>((0,K.wg)(),(0,K.j4)(O,{key:S.name,item:S,class:"list"},null,8,["item"]))),128))],512),[[D.vShow,!e.collapsed]])],2)],512)),[[D.vShow,i.show]])}var zm={name:"DiffFileTreeItem",components:{SvgIcon:Ui},props:{item:{type:Object,required:!0},show:{type:Boolean,required:!1,default:!0}},data:()=>({collapsed:!1}),methods:{handleClick(e){e||(this.collapsed=!this.collapsed)},getIconForDiffType(e){return{1:"octicon-diff-added",2:"octicon-diff-modified",3:"octicon-diff-removed",4:"octicon-diff-renamed",5:"octicon-diff-modified"}[e]}}},Wm=(0,fr.Z)(zm,[["render",$m],["__scopeId","data-v-82c5b0b4"]]);const{csrfToken:qm}=window.config;function $l(e){let t="a.label";e||(e=n(document),t=`.reactions ${t}`);for(const i of e[0].querySelectorAll(t))jn(i,{placement:"bottom-start",content:i.getAttribute("data-title")});e.find(`.select-reaction > .menu > .item, ${t}`).on("click",function(i){if(i.preventDefault(),n(this).hasClass("disabled"))return;const p=`${n(this).hasClass("item")?n(this).closest(".select-reaction").data("action-url"):n(this).data("action-url")}/${n(this).hasClass("primary")?"unreact":"react"}`;n.ajax({type:"POST",url:p,data:{_csrf:qm,content:n(this).data("content")}}).done(_=>{if(_&&(_.html||_.empty)){const j=n(this).closest(".content");let O=j.find(".segment.reactions");if((!_.empty||_.html==="")&&O.length>0&&O.remove(),!_.empty){O=n('<div class="ui attached segment reactions"></div>');const S=j.find(".segment.bottom:first");S.length>0?O.insertBefore(S):O.appendTo(j),O.html(_.html),O.find(".dropdown").dropdown(),$l(O)}}})})}function Gu(e){const t=n(e),i=n(e).closest("form");i.length?i.trigger("submit"):t.trigger("ce-quick-submit")}var Km=Object.defineProperty,Xu=Object.getOwnPropertySymbols,Ym=Object.prototype.hasOwnProperty,Gm=Object.prototype.propertyIsEnumerable,Ju=(e,t,i)=>t in e?Km(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Xm=(e,t)=>{for(var i in t||(t={}))Ym.call(t,i)&&Ju(e,i,t[i]);if(Xu)for(var i of Xu(t))Gm.call(t,i)&&Ju(e,i,t[i]);return e},Qu=(e,t,i)=>new Promise((u,p)=>{var _=S=>{try{O(i.next(S))}catch(Q){p(Q)}},j=S=>{try{O(i.throw(S))}catch(Q){p(Q)}},O=S=>S.done?u(S.value):Promise.resolve(S.value).then(_,j);O((i=i.apply(e,t)).next())});function Zu(){return Qu(this,null,function*(){const{default:e}=yield gi.e("easymde").then(gi.t.bind(gi,"./node_modules/easymde/src/js/easymde.js",19));return e})}function gl(e){return Qu(this,arguments,function*(t,i={}){if(t instanceof n&&(t=t[0]),!t)return null;const u=yield Zu(),p=new u(Xm({autoDownloadFontAwesome:!1,element:t,forceSync:!0,renderingConfig:{singleLineBreaks:!1},indentWithTabs:!1,tabSize:4,spellChecker:!1,inputStyle:"contenteditable",nativeSpellcheck:!0,toolbar:["bold","italic","strikethrough","|","heading-1","heading-2","heading-3","heading-bigger","heading-smaller","|","code","quote","|",{name:"checkbox-empty",action(j){const O=j.codemirror;O.replaceSelection(`
|
|
- [ ] ${O.getSelection()}`),O.focus()},className:"fa fa-square-o",title:"Add Checkbox (empty)"},{name:"checkbox-checked",action(j){const O=j.codemirror;O.replaceSelection(`
|
|
- [x] ${O.getSelection()}`),O.focus()},className:"fa fa-check-square-o",title:"Add Checkbox (checked)"},"|","unordered-list","ordered-list","|","link","image","table","horizontal-rule","|","clean-block","|",{name:"revert-to-textarea",action(j){j.toTextArea()},className:"fa fa-file",title:"Revert to simple textarea"}]},i)),_=p.codemirror.getInputField();return p.codemirror.setOption("extraKeys",{"Cmd-Enter":zl,"Ctrl-Enter":zl,Enter:j=>{const O=document.querySelector(".tribute-container");(!O||O.style.display==="none")&&j.execCommand("newlineAndIndent")},Backspace:j=>{j.getInputField().trigger&&j.getInputField().trigger("input"),j.execCommand("delCharBefore")},Up:j=>{const O=document.querySelector(".tribute-container");if(!O||O.style.display==="none")return j.execCommand("goLineUp")},Down:j=>{const O=document.querySelector(".tribute-container");if(!O||O.style.display==="none")return j.execCommand("goLineDown")}}),yield o(_,{mentions:!0,emoji:!0}),ef(p),p})}function ef(e){const t=e.codemirror.getInputField();t._data_easyMDE=e;const i=e.codemirror.getTextArea();i._data_easyMDE=e}function rl(e){return e instanceof n&&(e=e[0]),e?e._data_easyMDE:null}function tf(e){const t=n(rl(e).codemirror.getInputField());if(!e.val()){t.prop("required",!0);const i=e.parents("form");return i.length?i[0].reportValidity():alert("Require non-empty content"),!1}return t.prop("required",!1),!0}function zl(e){Gu(e.getTextArea())}function nf(e,t,i){t.innerHTML=Qt(`octicon-chevron-${i?"right":"down"}`,18),e.setAttribute("data-folded",i)}function Jm(e,t){nf(e,t,e.getAttribute("data-folded")!=="true")}const{csrfToken:Qm,pageData:Zm}=window.config,vl=Zm.prReview||{},rf="viewed-file-checked-form",af=".viewed-file-form";function of(){const e=document.getElementById("viewed-files-summary");e==null||e.setAttribute("value",vl.numberOfViewedFiles);const t=document.getElementById("viewed-files-summary-label");t&&(t.innerHTML=t.getAttribute("data-text-changed-template").replace("%[1]d",vl.numberOfViewedFiles).replace("%[2]d",vl.numberOfFiles))}function eh(){vl.numberOfViewedFiles=document.querySelectorAll(`${af} > input[type=checkbox][checked]`).length,of()}function sf(){for(const e of document.querySelectorAll(`${af}:not([data-has-viewed-checkbox-listener="true"])`)){e.setAttribute("data-has-viewed-checkbox-listener",!0);const t=e.querySelector("input[type=checkbox]");t.addEventListener("change",function(){this.checked?(e.classList.add(rf),vl.numberOfViewedFiles++):(e.classList.remove(rf),vl.numberOfViewedFiles--),of();const i=e.parentNode.querySelector(".changed-since-last-review");i==null||i.parentNode.removeChild(i);const u={};u[t.getAttribute("name")]=this.checked;const p={files:u},_=e.getAttribute("data-headcommit");_&&(p.headCommitSHA=_),fetch(e.getAttribute("data-link"),{method:"POST",headers:{"X-Csrf-Token":Qm},body:JSON.stringify(p)});const j=e.closest(".diff-file-header");nf(j.closest(".file-content"),j.querySelector(".fold-file"),this.checked)})}}var lf=(e,t,i)=>new Promise((u,p)=>{var _=S=>{try{O(i.next(S))}catch(Q){p(Q)}},j=S=>{try{O(i.throw(S))}catch(Q){p(Q)}},O=S=>S.done?u(S.value):Promise.resolve(S.value).then(_,j);O((i=i.apply(e,t)).next())});const{csrfToken:th}=window.config;function ih(){const e=n("#review-box"),t=e.find(".review-comments-counter");n(document).on("click",'button[name="is_review"]',i=>{const u=n(i.target).closest("form");u.append('<input type="hidden" name="is_review" value="true">'),u.on("submit",()=>{const p=parseInt(t.attr("data-pending-comment-number"))+1||1;t.attr("data-pending-comment-number",p),t.text(p),e.removeClass("pulse"),e.width(),e.addClass("pulse")})})}function nh(){n(".file-view-toggle").on("click",function(){const e=n(this);e.parent().children().removeClass("active"),e.addClass("active");const t=n(e.data("toggle-selector"));t.parent().children().addClass("hide"),t.removeClass("hide")})}function rh(){n(document).on("submit",".conversation-holder form",e=>lf(this,null,function*(){e.preventDefault();const t=n(e.target),i=t.find("textarea");if(!tf(i))return;const u=String(new URLSearchParams(new FormData(t[0]))),p=n(yield n.post(t.attr("action"),u)),{path:_,side:j,idx:O}=p.data();p.find(".tooltip").each(function(){Tn(this)}),t.closest(".conversation-holder").replaceWith(p),t.closest("tr").data("line-type")==="same"?n(`[data-path="${_}"] a.add-code-comment[data-idx="${O}"]`).addClass("invisible"):n(`[data-path="${_}"] a.add-code-comment[data-side="${j}"][data-idx="${O}"]`).addClass("invisible"),p.find(".dropdown").dropdown(),$l(p)})),n(document).on("click",".resolve-conversation",function(e){return lf(this,null,function*(){e.preventDefault();const t=n(this).data("comment-id"),i=n(this).data("origin"),u=n(this).data("action"),p=n(this).data("update-url"),_=yield n.post(p,{_csrf:th,origin:i,action:u,comment_id:t});if(n(this).closest(".conversation-holder").length){const j=n(_);n(this).closest(".conversation-holder").replaceWith(j),j.find(".dropdown").dropdown(),$l(j)}else window.location.reload()})})}function ah(){n(document).on("click",".previous-conversation",e=>{const t=n(e.currentTarget).closest(".comment-code-cloud"),i=n(".comment-code-cloud:not(.hide)"),u=i.index(t),p=u>0?u-1:i.length-1,j=i.eq(p).find(".comment").first().attr("id");window.location.href=`#${j}`}),n(document).on("click",".next-conversation",e=>{const t=n(e.currentTarget).closest(".comment-code-cloud"),i=n(".comment-code-cloud:not(.hide)"),u=i.index(t),p=u<i.length-1?u+1:0,j=i.eq(p).find(".comment").first().attr("id");window.location.href=`#${j}`})}function cf(){Nu(),sf(),eh()}function uf(e,t,i){const u=`${e}?skip-to=${t}&file-only=true`;ff(u,i)}function ff(e,t){const i=n("a#diff-show-more-files");if(i.hasClass("disabled")){t();return}i.addClass("disabled"),n.ajax({type:"GET",url:e}).done(u=>{if(!u){i.removeClass("disabled"),t(u);return}n("#diff-incomplete").replaceWith(n(u).find("#diff-file-boxes").children()),n("body").append(n(u).find("script#diff-data-script")),cf(),t(u)}).fail(()=>{i.removeClass("disabled"),t()})}function oh(){n(document).on("click","a#diff-show-more-files",e=>{e.preventDefault();const t=n(e.target);ff(t.data("href"),()=>{})}),n(document).on("click","a.diff-load-button",e=>{e.preventDefault();const t=n(e.target);if(t.hasClass("disabled"))return;t.addClass("disabled");const i=t.data("href");n.ajax({type:"GET",url:i}).done(u=>{if(!u){t.removeClass("disabled");return}t.parent().replaceWith(n(u).find("#diff-file-boxes .diff-file-body .file-body").children()),cf()}).fail(()=>{t.removeClass("disabled")})})}const{pageData:bc}=window.config,df="diff_file_tree_visible";var sh={name:"DiffFileTree",components:{DiffFileTreeItem:Wm},data:()=>{const e=localStorage.getItem(df)==="true";return bc.diffFileInfo.fileTreeIsVisible=e,bc.diffFileInfo},computed:{fileTree(){const e=[];for(const i of this.files){const u=i.Name.split("/");let p=0,_=null,j=!1;for(const O of u){p+=1,p===u.length&&(j=!0);let S={name:O,children:[],isFile:j};if(j===!0&&(S.file=i),_){const Q=_.children.find(xe=>xe.name===O);Q?S=Q:_.children.push(S)}else{const Q=e.find(xe=>xe.name===O);Q?S=Q:e.push(S)}_=S}}const t=i=>{for(const u of i)u.children&&t(u.children),u.children.length===1&&u.children[0].isFile===!1&&(u.name=`${u.name}/${u.children[0].name}`,u.children=u.children[0].children)};return t(e),e}},mounted(){this.adjustToggleButton(this.fileTreeIsVisible),bc.diffFileInfo.files=this.files,document.querySelector(".diff-toggle-file-tree-button").addEventListener("click",this.toggleVisibility)},unmounted(){document.querySelector(".diff-toggle-file-tree-button").removeEventListener("click",this.toggleVisibility)},methods:{toggleVisibility(){this.updateVisibility(!this.fileTreeIsVisible)},updateVisibility(e){this.fileTreeIsVisible=e,localStorage.setItem(df,this.fileTreeIsVisible),this.adjustToggleButton(this.fileTreeIsVisible)},adjustToggleButton(e){const[t,i]=document.querySelectorAll(".diff-toggle-file-tree-button .icon");t.classList.toggle("hide",e),i.classList.toggle("hide",!e),document.getElementById("diff-file-tree").classList.toggle("hide",!e)},loadMoreData(){this.isLoadingNewData=!0,uf(this.link,this.diffEnd,()=>{this.isLoadingNewData=!1})}}},lh=(0,fr.Z)(sh,[["render",Vm]]);const ch={key:0,class:"diff-detail-box diff-stats m-0",ref:"root"},uh={class:"bold df ac pull-right"},fh={key:0,class:"ml-1 mr-3"},dh=["data-content"],ph=["data-content"],mh=["href"],hh={key:0,id:"diff-too-many-files-stats",class:"pt-2"},gh={class:"file df ac sb"};function vh(e,t,i,u,p,_){return e.fileListIsVisible?((0,K.wg)(),(0,K.iD)("ol",ch,[((0,K.wg)(!0),(0,K.iD)(K.HY,null,(0,K.Ko)(e.files,j=>((0,K.wg)(),(0,K.iD)("li",{key:j.NameHash},[(0,K._)("div",uh,[j.IsBin?((0,K.wg)(),(0,K.iD)("span",fh,(0,Ct.toDisplayString)(e.binaryFileMessage),1)):(0,K.kq)("v-if",!0),(0,K.Uk)(" "+(0,Ct.toDisplayString)(j.IsBin?"":j.Addition+j.Deletion)+" ",1),j.IsBin?(0,K.kq)("v-if",!0):((0,K.wg)(),(0,K.iD)("span",{key:1,class:"diff-stats-bar tooltip mx-3","data-content":e.statisticsMessage.replace("%d",j.Addition+j.Deletion).replace("%d",j.Addition).replace("%d",j.Deletion)},[(0,K._)("div",{class:"diff-stats-add-bar",style:(0,Ct.normalizeStyle)({width:_.diffStatsWidth(j.Addition,j.Deletion)})},null,4)],8,dh))]),(0,K.kq)(" todo finish all file status, now modify, add, delete and rename "),(0,K._)("span",{class:(0,Ct.normalizeClass)(["status",_.diffTypeToString(j.Type),"tooltip"]),"data-content":_.diffTypeToString(j.Type),"data-position":"right center"},"\xA0",10,ph),(0,K._)("a",{class:"file mono",href:"#diff-"+j.NameHash},(0,Ct.toDisplayString)(j.Name),9,mh)]))),128)),e.isIncomplete?((0,K.wg)(),(0,K.iD)("li",hh,[(0,K._)("span",gh,[(0,K.Uk)((0,Ct.toDisplayString)(e.tooManyFilesMessage)+" ",1),(0,K._)("a",{class:(0,Ct.normalizeClass)(["ui","basic","tiny","button",e.isLoadingNewData===!0?"disabled":""]),id:"diff-show-more-files-stats",onClick:t[0]||(t[0]=(0,D.withModifiers)((...j)=>_.loadMoreData&&_.loadMoreData(...j),["stop"]))},(0,Ct.toDisplayString)(e.showMoreMessage),3)])])):(0,K.kq)("v-if",!0)],512)):(0,K.kq)("v-if",!0)}const{pageData:yh}=window.config;var bh={name:"DiffFileList",data:()=>yh.diffFileInfo,watch:{fileListIsVisible(e){e===!0&&this.$nextTick(()=>{for(const t of this.$refs.root.querySelectorAll(".tooltip"))Tn(t)})}},mounted(){document.getElementById("show-file-list-btn").addEventListener("click",this.toggleFileList)},unmounted(){document.getElementById("show-file-list-btn").removeEventListener("click",this.toggleFileList)},methods:{toggleFileList(){this.fileListIsVisible=!this.fileListIsVisible},diffTypeToString(e){return{1:"add",2:"modify",3:"del",4:"rename",5:"copy"}[e]},diffStatsWidth(e,t){return`${e/(e+t)*100}%`},loadMoreData(){this.isLoadingNewData=!0,uf(this.link,this.diffEnd,()=>{this.isLoadingNewData=!1})}}},_h=(0,fr.Z)(bh,[["render",vh]]);function wh(){const e=document.getElementById("diff-file-tree");if(!e)return;(0,D.createApp)(lh).mount(e);const i=document.getElementById("diff-file-list");if(!i)return;(0,D.createApp)(_h).mount(i)}function jh(){const e=n("#oauth2-login-navigator");e.length!==0&&e.find(".oauth-login-image").click(()=>{const t=n("#oauth2-login-loader"),i=n("#oauth2-login-navigator");i.hide(),t.removeClass("disabled"),setTimeout(()=>{t.addClass("disabled"),i.show()},5e3)})}function xh(){const e=n(".page-content.user.link-account");if(e.length===0)return!1;const t=e.find('.item[data-tab="auth-link-signin-tab"]'),i=e.find('.item[data-tab="auth-link-signup-tab"]'),u=e.find('.tab[data-tab="auth-link-signin-tab"]'),p=e.find('.tab[data-tab="auth-link-signup-tab"]');i.on("click",()=>(t.removeClass("active"),u.removeClass("active"),i.addClass("active"),p.addClass("active"),!1)),t.on("click",()=>{i.removeClass("active"),p.removeClass("active"),t.addClass("active"),u.addClass("active")})}var Wl=(e,t,i)=>new Promise((u,p)=>{var _=S=>{try{O(i.next(S))}catch(Q){p(Q)}},j=S=>{try{O(i.throw(S))}catch(Q){p(Q)}},O=S=>S.done?u(S.value):Promise.resolve(S.value).then(_,j);O((i=i.apply(e,t)).next())});const{csrfToken:Sh}=window.config;function Ch(e,t){return Wl(this,null,function*(){const i=new FormData;return i.append("file",e,e.name),yield(yield fetch(t,{method:"POST",headers:{"X-Csrf-Token":Sh},body:i})).json()})}function Th(e){if(!e.clipboardData)return[];const t=[];for(const i of e.clipboardData.items||[])!i.type||!i.type.startsWith("image/")||t.push(i.getAsFile());return t}class Eh{constructor(t){this.editor=t}insertPlaceholder(t){const i=this.editor,u=i.selectionStart,p=i.selectionEnd;i.value=i.value.substring(0,u)+t+i.value.substring(p),i.selectionStart=u,i.selectionEnd=u+t.length,i.focus()}replacePlaceholder(t,i){const u=this.editor,p=u.selectionStart,_=u.selectionEnd;u.value.substring(p,_)===t?(u.value=u.value.substring(0,p)+i+u.value.substring(_),u.selectionEnd=p+i.length):(u.value=u.value.replace(t,i),u.selectionEnd-=t.length,u.selectionEnd+=i.length),u.selectionStart=u.selectionEnd,u.focus()}}class Oh{constructor(t){this.editor=t}insertPlaceholder(t){const i=this.editor,u=i.getCursor("start"),p=i.getCursor("end");i.replaceSelection(t),p.ch=u.ch+t.length,i.setSelection(u,p),i.focus()}replacePlaceholder(t,i){const u=this.editor,p=u.getCursor("end");u.getSelection()===t?u.replaceSelection(i):u.setValue(u.getValue().replace(t,i)),p.ch-=t.length,p.ch+=i.length,u.setSelection(p,p),u.focus()}}function ql(e,t){const i=t.attr("data-upload-url"),u=t.find(".files");if(!i||!u.length)return;const p=(_,j)=>Wl(this,null,function*(){const O=Th(j);if(!(!O||O.length===0)){j.preventDefault(),j.stopPropagation();for(const S of O){const Q=S.name.slice(0,S.name.lastIndexOf(".")),xe=``;_.insertPlaceholder(xe);const Fe=yield Ch(S,i);_.replacePlaceholder(xe,``);const ct=n('<input name="files" type="hidden">').attr("id",Fe.uuid).val(Fe.uuid);u.append(ct)}}});e.codemirror.on("paste",(_,j)=>Wl(this,null,function*(){return p(new Oh(e.codemirror),j)})),n(e.element).on("paste",_=>Wl(this,null,function*(){return p(new Eh(e.element),_.originalEvent)}))}const{csrfToken:kh}=window.config;function El(e){const t=e.find(".tabular.menu");t.find(".item").tab(),t.find(`.item[data-tab="${t.data("preview")}"]`).on("click",function(){const i=n(this);n.post(i.data("url"),{_csrf:kh,mode:"comment",context:i.data("context"),text:e.find(`.tab[data-tab="${t.data("write")}"] textarea`).val()},u=>{e.find(`.tab[data-tab="${t.data("preview")}"]`).html(u),Tl()})})}var Ol=(e,t,i)=>new Promise((u,p)=>{var _=S=>{try{O(i.next(S))}catch(Q){p(Q)}},j=S=>{try{O(i.throw(S))}catch(Q){p(Q)}},O=S=>S.done?u(S.value):Promise.resolve(S.value).then(_,j);O((i=i.apply(e,t)).next())});const{appSubUrl:Kl,csrfToken:Gs}=window.config;function Ah(){n(document).on("click",".issue-add-time",()=>{n(".issue-start-time-modal").modal({duration:200,onApprove(){n("#add_time_manual_form").trigger("submit")}}).modal("show"),n(".issue-start-time-modal input").on("keydown",e=>{(e.keyCode||e.key)===13&&n("#add_time_manual_form").trigger("submit")})}),n(document).on("click",".issue-start-time, .issue-stop-time",()=>{n("#toggle_stopwatch_form").trigger("submit")}),n(document).on("click",".issue-cancel-time",()=>{n("#cancel_stopwatch_form").trigger("submit")}),n(document).on("click","button.issue-delete-time",function(){const e=`.issue-delete-time-modal[data-id="${n(this).data("id")}"]`;n(e).modal({duration:200,onApprove(){n(`${e} form`).trigger("submit")}}).modal("show")})}function pf(e){n("#deadline-err-invalid-date").hide(),n("#deadline-loader").addClass("loading");let t=null;if(e!==""){const i=Date.parse(e);if(Number.isNaN(i))return n("#deadline-loader").removeClass("loading"),n("#deadline-err-invalid-date").show(),!1;t=new Date(i)}n.ajax(`${n("#update-issue-deadline-form").attr("action")}`,{data:JSON.stringify({due_date:t}),headers:{"X-Csrf-Token":Gs},contentType:"application/json",type:"POST",success(){window.location.reload()},error(){n("#deadline-loader").removeClass("loading"),n("#deadline-err-invalid-date").show()}})}function Ph(){n(document).on("click",".issue-due-edit",()=>{n("#deadlineForm").fadeToggle(150)}),n(document).on("click",".issue-due-remove",()=>{pf("")}),n(document).on("submit",".issue-due-form",()=>(pf(n("#deadlineDate").val()),!1))}function Dh(){const e=n("#repolink").val(),t=n("#repoId").val(),i=n("#crossRepoSearch").val(),u=n("#type").val();let p=`${Kl}/${e}/issues/search?q={query}&type=${u}`;i==="true"&&(p=`${Kl}/issues/search?q={query}&priority_repo_id=${t}&type=${u}`),n("#new-dependency-drop-list").dropdown({apiSettings:{url:p,onResponse(j){const O={success:!0,results:[]},S=n("#new-dependency-drop-list").data("issue-id");return n.each(j,(Q,xe)=>{xe.id!==S&&O.results.push({name:`#${xe.number} ${fo(xe.title)}<div class="text small dont-break-out">${fo(xe.repository.full_name)}</div>`,value:xe.id})}),O},cache:!1},fullTextSearch:!0});function _(j){const O=n(j).attr("href"),Q=`labels=((?:-?[0-9]+%2c)*)(${n(j).data("label-id")})((?:%2c-?[0-9]+)*)&`,xe="labels=$1-$2$3&";window.location=O.replace(new RegExp(Q),xe)}n(".menu a.label-filter-item").each(function(){n(this).on("click",function(j){j.altKey&&(j.preventDefault(),_(this))})}),n(".menu .ui.dropdown.label-filter").on("keydown",j=>{if(j.altKey&&j.keyCode===13){const O=n(".menu .ui.dropdown.label-filter .menu .item.selected");O.length>0&&_(n(O[0]))}})}function Rh(){n(document).on("click",".delete-comment",function(){const e=n(this);return window.confirm(e.data("locale"))&&n.post(e.data("url"),{_csrf:Gs}).done(()=>{const t=e.closest(".conversation-holder");if(t.find(".pending-label").length){const i=n("#review-box .review-comments-counter");let u=parseInt(i.attr("data-pending-comment-number"))-1||0;u=Math.max(u,0),i.attr("data-pending-comment-number",u),i.text(u)}if(n(`#${e.data("comment-id")}`).remove(),t.length&&!t.find(".comment").length){const i=t.data("path"),u=t.data("side"),p=t.data("idx");t.closest("tr").data("line-type")==="same"?n(`[data-path="${i}"] a.add-code-comment[data-idx="${p}"]`).removeClass("invisible"):n(`[data-path="${i}"] a.add-code-comment[data-side="${u}"][data-idx="${p}"]`).removeClass("invisible"),t.remove()}}),!1})}function Mh(){n(document).on("click",".delete-dependency-button",e=>{const t=e.currentTarget.getAttribute("data-id"),i=e.currentTarget.getAttribute("data-type");n(".remove-dependency").modal({closable:!1,duration:200,onApprove:()=>{n("#removeDependencyID").val(t),n("#dependencyType").val(i),n("#removeDependencyForm").trigger("submit")}}).modal("show")})}function Ih(){n(document).on("click",".cancel-code-comment",e=>{const t=n(e.currentTarget).closest("form");t.length>0&&t.hasClass("comment-form")?(t.addClass("hide"),t.closest(".comment-code-cloud").find("button.comment-form-reply").show()):t.closest(".comment-code-cloud").remove()})}function Fh(){const e=n("#status-button");n("#comment-form textarea").on("keyup",function(){const t=rl(this),i=(t==null?void 0:t.value())||n(this).val();e.text(e.data(i.length===0?"status":"status-and-comment"))}),e.on("click",()=>{n("#status").val(e.data("status-val")),n("#comment-form").trigger("submit")})}function Nh(){const e=n(".update-button > button");e.on("click",function(t){t.preventDefault();const i=n(this),u=i.data("redirect");i.addClass("loading"),n.post(i.data("do"),{_csrf:Gs}).done(p=>{p.redirect?window.location.href=p.redirect:u?window.location.href=u:window.location.reload()})}),n(".update-button > .dropdown").dropdown({onChange(t,i,u){const p=u.data("do");p&&(e.find(".button-text").text(u.text()),e.data("do",p))}})}function Lh(){n(".show-instruction").on("click",()=>{n(".instruct-content").toggle()})}function Bh(){const e=n("#allow-edits-from-maintainers");if(!e.length)return;const t=e.attr("data-prompt-tip"),i=e.attr("data-prompt-error");Tn(e[0],{content:t}),e.checkbox({onChange:()=>{const u=e.checkbox("is checked");let p=e.attr("data-url");p+="/set_allow_maintainer_edit",e.checkbox("set disabled"),n.ajax({url:p,type:"POST",data:{_csrf:Gs,allow_maintainer_edit:u},error:()=>{zn(e[0],i)},complete:()=>{e.checkbox("set enabled")}})}})}function Vh(){n(".issue_reference_repository_search").dropdown({apiSettings:{url:`${Kl}/repo/search?q={query}&limit=20`,onResponse(e){const t={success:!0,results:[]};return n.each(e.data,(i,u)=>{t.results.push({name:fo(u.full_name),value:u.full_name})}),t},cache:!1},onChange(e,t,i){i.closest("form").attr("action",`${Kl}/${t}/issues/new`)},fullTextSearch:!0})}function Uh(){n(".title_wip_desc > a").on("click",e=>{e.preventDefault();const t=n("#issue_title");t.focus();const i=t.val().trim().toUpperCase(),u=n(".title_wip_desc").data("wip-prefixes");for(const p of u)if(i.startsWith(p.toUpperCase()))return;t.val(`${u[0]} ${t.val()}`)})}function yl(e,t,i,u){return Ol(this,null,function*(){return n.ajax({type:"POST",url:e,data:{_csrf:Gs,action:t,issue_ids:i,id:u}})})}function Hh(){n(".repository.view.issue .timeline").length!==0&&(n(".re-request-review").on("click",function(e){e.preventDefault();const t=n(this).data("update-url"),i=n(this).data("issue-id"),u=n(this).data("id"),p=n(this).hasClass("checked");yl(t,p?"detach":"attach",i,u).then(()=>window.location.reload())}),n(".dismiss-review-btn").on("click",function(e){e.preventDefault(),n(this).next().modal("show")}),n(document).on("click",e=>{const t=n(":target");if(t.length===0)return;const i=t.attr("id");if(!i||!/^(issue|pull)(comment)?-\d+$/.test(i))return;if(n(e.target).closest(`#${i}`).length===0){const p=n(window).scrollTop();window.location.hash="",n(window).scrollTop(p),window.history.pushState(null,null," ")}}))}function mf(e){const t=Math.floor(Math.random()*Math.floor(1e6));return e.attr("data-write",e.attr("data-write")+t),e.attr("data-preview",e.attr("data-preview")+t),e.find(".item").each(function(){const i=n(this).attr("data-tab")+t;n(this).attr("data-tab",i)}),e.parent().find("*[data-tab='write']").attr("data-tab",`write${t}`),e.parent().find("*[data-tab='preview']").attr("data-tab",`preview${t}`),El(e.parent(".form")),t}function $h(){if(window.location.hash&&window.location.hash.startsWith("#issuecomment-")){const t=n(window.location.hash);if(t){const i=t.closest('div[id^="code-comments-"]').attr("id");if(i&&i.startsWith("code-comments-")){const u=i.slice(14);n(`#show-outdated-${u}`).addClass("hide"),n(`#code-comments-${u}`).removeClass("hide"),n(`#code-preview-${u}`).removeClass("hide"),n(`#hide-outdated-${u}`).removeClass("hide"),t[0].scrollIntoView()}}}n(document).on("click",".show-outdated",function(t){t.preventDefault();const i=n(this).data("comment");n(this).addClass("hide"),n(`#code-comments-${i}`).removeClass("hide"),n(`#code-preview-${i}`).removeClass("hide"),n(`#hide-outdated-${i}`).removeClass("hide")}),n(document).on("click",".hide-outdated",function(t){t.preventDefault();const i=n(this).data("comment");n(this).addClass("hide"),n(`#code-comments-${i}`).addClass("hide"),n(`#code-preview-${i}`).addClass("hide"),n(`#show-outdated-${i}`).removeClass("hide")}),n(document).on("click","button.comment-form-reply",function(t){return Ol(this,null,function*(){t.preventDefault(),n(this).hide();const i=n(this).closest(".comment-code-cloud").find(".comment-form");i.removeClass("hide");const u=i.find("textarea");let p=rl(u);p||(yield o(u.get(),{mentions:!0,emoji:!0}),p=yield gl(u)),u.focus(),p.codemirror.focus(),mf(i.find(".menu"))})});const e=n(".review-box");e.length===1&&Ol(this,null,function*(){const t=e.find("textarea"),i=yield gl(t,{minHeight:"80px"});ql(i,e.find(".dropzone"))}),n(".repository.pull.diff").length!==0&&(n(".btn-review").on("click",function(t){t.preventDefault(),n(this).closest(".dropdown").find(".menu").toggle("visible")}).closest(".dropdown").find(".close").on("click",function(t){t.preventDefault(),n(this).closest(".menu").toggle("visible")}),n(document).on("click","a.add-code-comment",function(t){return Ol(this,null,function*(){if(n(t.target).hasClass("btn-add-single"))return;t.preventDefault();const i=n(this).closest(".code-diff").hasClass("code-diff-split"),u=n(this).data("side"),p=n(this).data("idx"),_=n(this).closest("[data-path]").data("path"),j=n(this).closest("tr"),O=j.data("line-type");let S=j.next();S.hasClass("add-comment")||(S=n(`
|
|
<tr class="add-comment" data-line-type="${O}">
|
|
${i?`
|
|
<td class="lines-num"></td>
|
|
<td class="lines-escape"></td>
|
|
<td class="lines-type-marker"></td>
|
|
<td class="add-comment-left" colspan="4"></td>
|
|
<td class="lines-num"></td>
|
|
<td class="lines-escape"></td>
|
|
<td class="lines-type-marker"></td>
|
|
<td class="add-comment-right" colspan="4"></td>
|
|
`:`
|
|
<td class="lines-num"></td>
|
|
<td class="lines-num"></td>
|
|
<td class="lines-escape"></td>
|
|
<td class="add-comment-left add-comment-right" colspan="5"></td>
|
|
`}
|
|
</tr>`),j.after(S));const Q=S.find(`.add-comment-${u}`);let xe=Q.find(".comment-code-cloud");if(xe.length===0&&!S.find('button[name="is_review"]').length){const Fe=yield n.get(n(this).closest("[data-new-comment-url]").data("new-comment-url"));Q.html(Fe),xe=Q.find(".comment-code-cloud"),mf(xe.find(".menu")),Q.find("input[name='line']").val(p),Q.find("input[name='side']").val(u==="left"?"previous":"proposed"),Q.find("input[name='path']").val(_);const ct=xe.find("textarea");yield o(ct.get(),{mentions:!0,emoji:!0});const jt=yield gl(ct);ct.focus(),jt.codemirror.focus()}})}))}function zh(){n(document).on("click",".reference-issue",function(e){const t=n(this);t.closest(".dropdown").find(".menu").toggle("visible");const i=n(`#comment-${t.data("target")}`).text(),u=t.data("poster-username"),p=t.data("reference"),_=n(t.data("modal"));_.find('textarea[name="content"]').val(`${i}
|
|
|
|
_Originally posted by @${u} in ${p}_`),_.modal("show"),e.preventDefault()})}function Wh(){n(".toggle-wip a, .toggle-wip button").on("click",e=>Ol(this,null,function*(){e.preventDefault();const t=e.currentTarget.closest(".toggle-wip"),i=t.getAttribute("data-title"),u=t.getAttribute("data-wip-prefix"),p=t.getAttribute("data-update-url");yield n.post(p,{_csrf:Gs,title:i!=null&&i.startsWith(u)?i.slice(u.length).trim():`${u.trim()} ${i}`}),window.location.reload()}))}function qh(){const e=n("#issue-title"),t=n("#edit-title-input input"),i=function(){return e.toggle(),n(".not-in-edit").toggle(),n("#edit-title-input").toggle(),n("#pull-desc").toggle(),n("#pull-desc-edit").toggle(),n(".in-edit").toggle(),n("#issue-title-wrapper").toggleClass("edit-active"),t.focus(),!1};n("#edit-title").on("click",i),n("#cancel-edit-title").on("click",i),n("#save-edit-title").on("click",i).on("click",function(){const u=function(_){const j=n("#pull-target-branch").data("branch"),O=n("#branch_target");if(j===O.text())return!1;n.post(_,{_csrf:Gs,target_branch:j}).done(S=>{O.text(S.base_branch)}).always(()=>{window.location.reload()})},p=n(this).data("target-update-url");return t.val().length===0||t.val()===e.text()?(t.val(e.text()),u(p)):n.post(n(this).data("update-url"),{_csrf:Gs,title:t.val()},_=>{t.val(_.title),e.text(_.title),u(p),window.location.reload()}),!1})}function Kh(){const e=function(){const t=n("#pull-target-branch"),i=t.data("basename"),u=n(this).data("branch"),p=t.data("branch");t.html(t.html().replace(`${i}:${p}`,`${i}:${u}`)),t.data("branch",u)};n("#branch-select > .item").on("click",e)}const{csrfToken:hf}=window.config;function Yh(){n(".ellipsis-button").on("click",function(e){e.preventDefault();const t=n(this).attr("aria-expanded")==="true";n(this).parent().find(".commit-body").toggle(),n(this).attr("aria-expanded",String(!t))})}function Gh(){const e={},t=n("table#repo-files-table tr.notready").map((u,p)=>(e[n(p).attr("data-entryname")]=n(p),n(p).attr("data-entryname"))).get();if(t.length===0)return;const i=n("table#repo-files-table").data("lastCommitLoaderUrl");if(t.length>200){n.post(i,{_csrf:hf},u=>{n("table#repo-files-table").replaceWith(u)});return}n.post(i,{_csrf:hf,f:t},u=>{n(u).find("tr").each((p,_)=>{if(_.className==="commit-list"){n("table#repo-files-table .commit-list").replaceWith(_);return}const j=n(_).attr("data-entryname");j&&e[j].replaceWith(_)})})}function Xh(){n(".commit-statuses-trigger").each(function(){const e=n(".repository.file.list").length>0||n(".repository.diff").length>0;jn(this,{content:this.nextElementSibling,placement:e?"top-start":"bottom-start",interactive:!0})})}var Oy=gi("./node_modules/jquery.are-you-sure/jquery.are-you-sure.js"),Jh=(e,t,i)=>new Promise((u,p)=>{var _=S=>{try{O(i.next(S))}catch(Q){p(Q)}},j=S=>{try{O(i.throw(S))}catch(Q){p(Q)}},O=S=>S.done?u(S.value):Promise.resolve(S.value).then(_,j);O((i=i.apply(e,t)).next())});function gf(e,t){return Jh(this,null,function*(){const[{Dropzone:i}]=yield Promise.all([gi.e("dropzone").then(gi.bind(gi,"./node_modules/dropzone/dist/dropzone.mjs")),gi.e("dropzone").then(gi.bind(gi,"./node_modules/dropzone/dist/dropzone.css"))]);return new i(e,t)})}var Qh=(e,t,i)=>new Promise((u,p)=>{var _=S=>{try{O(i.next(S))}catch(Q){p(Q)}},j=S=>{try{O(i.throw(S))}catch(Q){p(Q)}},O=S=>S.done?u(S.value):Promise.resolve(S.value).then(_,j);O((i=i.apply(e,t)).next())});function Zh(e){return Qh(this,null,function*(){!e||!e.length||(yield Promise.all([gi.e("minicolors").then(gi.t.bind(gi,"./node_modules/@claviska/jquery-minicolors/jquery.minicolors.js",19)),gi.e("minicolors").then(gi.bind(gi,"./node_modules/@claviska/jquery-minicolors/jquery.minicolors.css"))]),e.minicolors())})}function vf(){Zh(n(".color-picker")),n(".precolors .color").on("click",function(){const e=n(this).data("color-hex");n(".color-picker").val(e),n(".minicolors-swatch-color").css("background-color",e)})}let eg=0;function yf(){return`_aria_auto_id_${eg++}`}function bf(e){e.attr("id")||e.attr("id",yf()),e.attr({role:"menuitem",tabindex:"-1"}),e.find("a").attr("tabindex","-1")}const tg=n.fn.dropdown.settings.templates.menu;n.fn.dropdown.settings.templates.menu=function(e,t,i,u){const p=tg(e,t,i,u),_=n("<div>").append(p);return _.find("> .item").each((O,S)=>{bf(n(S))}),_.html()};function ig(e){if(e.attr("data-aria-attached"))return;e.attr("data-aria-attached",1);const t=e.find("input.search").eq(0),i=t.length?t:e;if(!i.length)return;const u=e.find("> .menu");u.attr("id")||u.attr("id",yf()),i.attr({role:"menu","aria-haspopup":"menu","aria-controls":u.attr("id"),"aria-expanded":"false"}),e.attr("data-content")&&!e.attr("aria-label")&&e.attr("aria-label",e.attr("data-content")),u.find("> .item").each((j,O)=>{bf(n(O))});const p=()=>{const j=!u.is(".hidden")&&!u.is(".animating.out");i.attr("aria-expanded",j?"true":"false");let O=u.find("> .item.active");O.length||(O=u.find("> .item.selected")),i.attr("aria-activedescendant",O.attr("id"))};e.on("keydown",j=>{if(j.key==="Enter"){const O=e.dropdown("get item",e.dropdown("get value"));O&&O.is("a")&&O[0].click()}});const _=()=>{setTimeout(p,0)};i.on("focus",_),i.on("mouseup",_),i.on("blur",_),e.on("keyup",j=>{j.key.startsWith("Arrow")&&_()})}function ng(e){e.each((t,i)=>ig(n(i)))}const{appUrl:_c,csrfToken:al}=window.config;function rg(){n(".user.signin").length===0&&n("form:not(.ignore-dirty)").areYouSure()}function ag(){const e=n("#navbar"),t=n("#navbar-expand-toggle");let i=!1;t.on("click",()=>{i=!i,i?(e.addClass("shown"),t.addClass("active")):(e.removeClass("shown"),t.removeClass("active"))})}function og(){function e(){const t=n(this);n.get(t.data("url")).always(()=>{window.location.reload()})}n(".language-menu a[lang]").on("click",e)}function sg(){n(document).on("keydown",".js-quick-submit",e=>{if((e.ctrlKey&&!e.altKey||e.metaKey)&&e.key==="Enter")return Gu(e.target),!1})}function lg(){n(document).on("keypress",".ui.button",e=>{(e.keyCode===13||e.keyCode===32)&&n(e.target).trigger("click")})}function cg(){for(const e of document.getElementsByClassName("tooltip"))Tn(e)}function ug(){navigator.userAgent.match("Safari")&&n(window).resize(()=>{const t=z("width",0,4096,1,"px");z("width",0,1024,.01,"em")*16*1.25-t<=-1?n("body").addClass("safari-above125"):n("body").removeClass("safari-above125")});const e=n(".ui.dropdown");e.filter(":not(.custom)").dropdown({fullTextSearch:"exact"}),e.filter(".jump").dropdown({action:"hide",onShow(){var t,i;(t=this._tippy)==null||t.hide(),(i=this._tippy)==null||i.disable()},onHide(){var t;(t=this._tippy)==null||t.enable()},fullTextSearch:"exact"}),e.filter(".slide.up").dropdown({transition:"slide up",fullTextSearch:"exact"}),e.filter(".upward").dropdown({direction:"upward",fullTextSearch:"exact"}),ng(e),n(".ui.checkbox").checkbox(),n(".tabular.menu .item").tab(),n(".tabable.menu .item").tab(),n(".toggle.button").on("click",function(){n(n(this).data("target")).slideToggle(100)}),n("tr[data-href], td[data-href]").on("click",function(t){const i=n(this).data("href");t.target.nodeName!=="A"&&(t.ctrlKey||t.metaKey?window.open(i):window.location=i)}),document.addEventListener("submit",t=>{const i=t.target.querySelector(".loading-button");if(!!i){if(i.classList.contains("loading"))return t.preventDefault();i.classList.add("loading")}})}function fg(){for(const e of document.querySelectorAll(".dropzone")){const t=n(e),i=gf(e,{url:t.data("upload-url"),headers:{"X-Csrf-Token":al},maxFiles:t.data("max-file"),maxFilesize:t.data("max-size"),acceptedFiles:["*/*",""].includes(t.data("accepts"))?null:t.data("accepts"),addRemoveLinks:!0,dictDefaultMessage:t.data("default-message"),dictInvalidFileType:t.data("invalid-input-type"),dictFileTooBig:t.data("file-too-big"),dictRemoveFile:t.data("remove-file"),timeout:0,thumbnailMethod:"contain",thumbnailWidth:480,thumbnailHeight:480,init(){this.on("success",(u,p)=>{u.uuid=p.uuid;const _=n(`<input id="${p.uuid}" name="files" type="hidden">`).val(p.uuid);t.find(".files").append(_)}),this.on("removedfile",u=>{n(`#${u.uuid}`).remove(),t.data("remove-url")&&n.post(t.data("remove-url"),{file:u.uuid,_csrf:al})})}})}}function dg(){function e(){const u=n(this),p=u.data();let _="";u.data("modal-id")&&(_+=`#${u.data("modal-id")}`);const j=n(`.delete.modal${_}`);j.find(".name").text(u.data("name"));for(const[O,S]of Object.entries(p))O&&O.startsWith("data")&&j.find(`.${O}`).text(S);return j.modal({closable:!1,onApprove(){if(u.data("type")==="form"){n(u.data("form")).trigger("submit");return}const O={_csrf:al};for(const[S,Q]of Object.entries(p))S&&S.startsWith("data")&&(O[S.slice(4)]=Q),S==="id"&&(O.id=Q);n.post(u.data("url"),O).done(S=>{window.location.href=S.redirect})}}).modal("show"),!1}function t(){const u=n(this);let p="";u.attr("id")&&(p+=`#${u.attr("id")}`);const _=n(`.addall.modal${p}`);return _.find(".name").text(u.data("name")),_.modal({closable:!1,onApprove(){if(u.data("type")==="form"){n(u.data("form")).trigger("submit");return}n.post(u.data("url"),{_csrf:al,id:u.data("id")}).done(j=>{window.location.href=j.redirect})}}).modal("show"),!1}function i(u){u.preventDefault();const p=n(this),_=p.data("redirect");p.prop("disabled",!0),n.post(p.data("url"),{_csrf:al}).done(j=>{j.redirect?window.location.href=j.redirect:_?window.location.href=_:window.location.reload()}).always(()=>{p.prop("disabled",!1)})}n(".delete-button").on("click",e),n(".link-action").on("click",i),n(".add-all-button").on("click",t),n(".undo-button").on("click",function(){const u=n(this);u.prop("disabled",!0),n.post(u.data("url"),{_csrf:al,id:u.data("id")}).done(p=>{window.location.href=p.redirect}).always(()=>{u.prop("disabled",!1)})})}function pg(){n(".show-panel.button").on("click",function(){n(n(this).data("panel")).show()}),n(".hide-panel.button").on("click",function(e){e.preventDefault();let t=n(this).attr("data-panel");if(t){n(t).hide();return}if(t=n(this).attr("data-panel-closest"),t){n(this).closest(t).hide();return}alert("Nothing to hide")}),n(".show-modal").on("click",function(){const e=n(n(this).attr("data-modal"));for(const i of this.attributes){if(!i.name.startsWith("data-modal-"))continue;const u=i.name.substring(11),p=e.find(`#${u}`);p.is("input")?p.val(i.value):p.text(i.value)}e.modal("show"),n(n(this).attr("data-modal")).find(".color-picker").length>0&&vf()}),n(".delete-post.button").on("click",function(){const e=n(this);n.post(e.attr("data-request-url"),{_csrf:al}).done(()=>{window.location.href=e.attr("data-done-url")})})}function mg(){const e=window.location.href;e.startsWith(_c)||`${e}/`===_c||document.querySelector(".page-content.install")||T(`Your ROOT_URL in app.ini is ${_c} but you are visiting ${e}
|
|
You should set ROOT_URL correctly, otherwise the web may not work correctly.`)}const{appSubUrl:_f,csrfToken:hg}=window.config;function gg(){const e=n("#manage_topic"),t=n("#topic_edit"),i=n("#repo-topics"),u=n("#save_topic"),p=n("#topic_edit .dropdown"),_=n("#topic_edit.ui.form"),j=O();e.on("click",()=>{i.hide(),t.css("display","")});function O(){const S=n("div.hide#validate_prompt"),Q={countPrompt:S.children("#count_prompt").text(),formatPrompt:S.children("#format_prompt").text()};return S.remove(),Q}u.on("click",()=>{const S=n("input[name=topics]").val();n.post(u.attr("data-link"),{_csrf:hg,topics:S},(Q,xe,Fe)=>{if(Fe.responseJSON.status==="ok"){if(i.children(".topic").remove(),S.length){const ct=S.split(","),jt=i.children("a").last();for(let Tt=0;Tt<ct.length;Tt++){const $t=n('<a class="ui repo-topic large label topic"></a>');$t.attr("href",`${_f}/explore/repos?q=${encodeURIComponent(ct[Tt])}&topic=1`),$t.text(ct[Tt]),$t.insertBefore(jt)}}t.css("display","none"),i.show()}}).fail(Q=>{if(Q.status===422)if(Q.responseJSON.invalidTopics.length>0){j.formatPrompt=Q.responseJSON.message;const{invalidTopics:xe}=Q.responseJSON,Fe=p.children("a.ui.label");for(const[ct,jt]of S.split(",").entries())for(let Tt=0;Tt<xe.length;Tt++)xe[Tt]===jt&&Fe.eq(ct).removeClass("green").addClass("red")}else j.countPrompt=Q.responseJSON.message}).always(()=>{_.form("validate form")})}),p.dropdown({allowAdditions:!0,forceSelection:!1,fullTextSearch:"exact",fields:{name:"description",value:"data-value"},saveRemoteData:!1,label:{transition:"horizontal flip",duration:200,variation:!1},className:{label:"ui small label"},apiSettings:{url:`${_f}/explore/topics/search?q={query}`,throttle:500,cache:!1,onResponse(S){const Q={success:!1,results:[]},xe=et(this.urlData.query.trim());let Fe=!1;const ct=[];if(p.find("div.label.visible.topic,a.label.visible").each((jt,Tt)=>{ct.push(Tt.getAttribute("data-value"))}),S.topics){let jt=!1;for(let Tt=0;Tt<S.topics.length;Tt++)ct.includes(S.topics[Tt].topic_name)||(S.topics[Tt].topic_name.toLowerCase()===xe.toLowerCase()&&(Fe=!0),Q.results.push({description:S.topics[Tt].topic_name,"data-value":S.topics[Tt].topic_name}),jt=!0);Q.success=jt}return xe.length>0&&!Fe?(Q.success=!0,Q.results.unshift({description:xe,"data-value":xe})):xe.length>0&&Fe&&Q.results.sort((jt,Tt)=>jt.description.toLowerCase()===xe.toLowerCase()?-1:Tt.description.toLowerCase()===xe.toLowerCase()?1:jt.description>Tt.description?-1:jt.description<Tt.description?1:0),Q}},onLabelCreate(S){return S=S.toLowerCase().trim(),this.attr("data-value",S).contents().first().replaceWith(S),n(this)},onAdd(S,Q,xe){S=S.toLowerCase().trim(),n(xe).attr("data-value",S),n(xe).attr("data-text",S)}}),n.fn.form.settings.rules.validateTopic=function(S,Q){const xe=p.children("a.ui.label"),Fe=xe.length===0||xe.last().attr("data-value").match(Q);return Fe||xe.last().removeClass("green").addClass("red"),Fe&&p.children("a.ui.label.red").length===0},_.form({on:"change",inline:!0,fields:{topics:{identifier:"topics",rules:[{type:"validateTopic",value:/^[a-z0-9][a-z0-9-]{0,35}$/,prompt:j.formatPrompt},{type:"maxCount[25]",prompt:j.countPrompt}]}}})}function vg(){function e(t){const i=n(this);n("#form-uid").val(i.data("uid")),n("#form-email").val(i.data("email")),n("#form-primary").val(i.data("primary")),n("#form-activate").val(i.data("activate")),n("#change-email-modal").modal("show"),t.preventDefault()}n(".link-email-action").on("click",e)}const{csrfToken:yg}=window.config;function bg(){if(n(".admin").length===0)return;(n(".admin.new.user").length>0||n(".admin.edit.user").length>0)&&n("#login_type").on("change",function(){n(this).val().substring(0,1)==="0"?(n("#user_name").removeAttr("disabled"),n("#login_name").removeAttr("required"),n(".non-local").hide(),n(".local").show(),n("#user_name").focus(),n(this).data("password")==="required"&&n("#password").attr("required","required")):(n(".admin.edit.user").length>0&&n("#user_name").attr("disabled","disabled"),n("#login_name").attr("required","required"),n(".non-local").show(),n(".local").hide(),n("#login_name").focus(),n("#password").removeAttr("required"))});function e(){n("#security_protocol").val()>0?n(".has-tls").show():n(".has-tls").hide()}function t(){n("#use_paged_search").prop("checked")?n(".search-page-size").show().find("input").attr("required","required"):n(".search-page-size").hide().find("input").removeAttr("required")}function i(_){n(".open_id_connect_auto_discovery_url, .oauth2_use_custom_url").hide(),n(".open_id_connect_auto_discovery_url input[required]").removeAttr("required");const j=n("#oauth2_provider").val();switch(j){case"openidConnect":n(".open_id_connect_auto_discovery_url input").attr("required","required"),n(".open_id_connect_auto_discovery_url").show();break;default:n(`#${j}_customURLSettings`).data("required")&&n("#oauth2_use_custom_url").attr("checked","checked"),n(`#${j}_customURLSettings`).data("available")&&n(".oauth2_use_custom_url").show()}u(_)}function u(_){const j=n("#oauth2_provider").val();if(n(".oauth2_use_custom_url_field").hide(),n(".oauth2_use_custom_url_field input[required]").removeAttr("required"),n("#oauth2_use_custom_url").is(":checked"))for(const O of["token_url","auth_url","profile_url","email_url","tenant"])_&&n(`#oauth2_${O}`).val(n(`#${j}_${O}`).val()),n(`#${j}_${O}`).data("available")&&(n(`.oauth2_${O} input`).attr("required","required"),n(`.oauth2_${O}`).show())}function p(){n("#ldap-group-options").toggle(n(".js-ldap-group-toggle").is(":checked"))}if(n(".admin.new.authentication").length>0&&(n("#auth_type").on("change",function(){n(".ldap, .dldap, .smtp, .pam, .oauth2, .has-tls, .search-page-size, .sspi").hide(),n(".ldap input[required], .binddnrequired input[required], .dldap input[required], .smtp input[required], .pam input[required], .oauth2 input[required], .has-tls input[required], .sspi input[required]").removeAttr("required"),n(".binddnrequired").removeClass("required");const _=n(this).val();switch(_){case"2":n(".ldap").show(),n(".binddnrequired input, .ldap div.required:not(.dldap) input").attr("required","required"),n(".binddnrequired").addClass("required");break;case"3":n(".smtp").show(),n(".has-tls").show(),n(".smtp div.required input, .has-tls").attr("required","required");break;case"4":n(".pam").show(),n(".pam input").attr("required","required");break;case"5":n(".dldap").show(),n(".dldap div.required:not(.ldap) input").attr("required","required");break;case"6":n(".oauth2").show(),n(".oauth2 div.required:not(.oauth2_use_custom_url,.oauth2_use_custom_url_field,.open_id_connect_auto_discovery_url) input").attr("required","required"),i(!0);break;case"7":n(".sspi").show(),n(".sspi div.required input").attr("required","required");break}(_==="2"||_==="5")&&(e(),p()),_==="2"&&t()}),n("#auth_type").trigger("change"),n("#security_protocol").on("change",e),n("#use_paged_search").on("change",t),n("#oauth2_provider").on("change",()=>i(!0)),n("#oauth2_use_custom_url").on("change",()=>u(!0)),n(".js-ldap-group-toggle").on("change",p)),n(".admin.edit.authentication").length>0){const _=n("#auth_type").val();_==="2"||_==="5"?(n("#security_protocol").on("change",e),n(".js-ldap-group-toggle").on("change",p),p(),_==="2"&&n("#use_paged_search").on("change",t)):_==="6"&&(n("#oauth2_provider").on("change",()=>i(!0)),n("#oauth2_use_custom_url").on("change",()=>u(!1)),i(!1))}if(n(".admin.notice")){const _=n("#detail-modal");n(".view-detail").on("click",function(){return _.find(".content pre").text(n(this).parents("tr").find(".notice-description").text()),_.find(".sub.header").text(n(this).parents("tr").find(".notice-created-time").text()),_.modal("show"),!1});const j=n(".select.table .ui.checkbox");n(".select.action").on("click",function(){switch(n(this).data("action")){case"select-all":j.checkbox("check");break;case"deselect-all":j.checkbox("uncheck");break;case"inverse":j.checkbox("toggle");break}}),n("#delete-selection").on("click",function(){const O=n(this);O.addClass("loading disabled");const S=[];j.each(function(){n(this).checkbox("is checked")&&S.push(n(this).data("id"))}),n.post(O.data("link"),{_csrf:yg,ids:S}).done(()=>{window.location.href=O.data("redirect")})})}}const{appSubUrl:_g}=window.config;function wg(){const e=n("#repo_template"),t=function(){const u=n("#template_units"),p=n("#non_template");e.val()!==""&&e.val()!=="0"?(u.show(),p.hide()):(u.hide(),p.show())};e.on("change",t),t();const i=function(){n("#repo_template_search").dropdown({apiSettings:{url:`${_g}/repo/search?q={query}&template=true&priority_owner_id=${n("#uid").val()}`,onResponse(u){const p={success:!0,results:[]};return p.results.push({name:"",value:""}),n.each(u.data,(_,j)=>{p.results.push({name:fo(j.full_name),value:j.id})}),p},cache:!1},fullTextSearch:!0})};n("#uid").on("change",i),i()}var wf=(e,t,i)=>new Promise((u,p)=>{var _=S=>{try{O(i.next(S))}catch(Q){p(Q)}},j=S=>{try{O(i.throw(S))}catch(Q){p(Q)}},O=S=>S.done?u(S.value):Promise.resolve(S.value).then(_,j);O((i=i.apply(e,t)).next())});const jg=/^#(L|n)([1-9][0-9]*)$/,xg=/^#(L[1-9][0-9]*)-(L[1-9][0-9]*)$/;function jf(e){window.history.pushState?window.history.pushState(null,null,e):window.location.hash=e}function wc(e,t,i){e.removeClass("active");const u=n("a.ref-in-new-issue"),p=n("a.copy-line-permalink"),_=n("a.view_git_blame"),j=function(Q){if(u.length===0)return;let xe=u.attr("href");xe=`${xe.replace(/%23L\d+$|%23L\d+-L\d+$/,"")}%23${Q}`,u.attr("href",xe)},O=function(Q){if(_.length===0)return;let xe=_.attr("href");xe=`${xe.replace(/#L\d+$|#L\d+-L\d+$/,"")}`,Q.length!==0&&(xe=`${xe}#${Q}`),_.attr("href",xe)},S=function(Q){if(p.length===0)return;let xe=p.attr("data-url");xe=`${xe.replace(/#L\d+$|#L\d+-L\d+$/,"")}#${Q}`,p.attr("data-url",xe)};if(i){let Q=parseInt(t.attr("rel").slice(1)),xe=parseInt(i.attr("rel").slice(1)),Fe;if(Q!==xe){Q>xe&&(Fe=Q,Q=xe,xe=Fe);const ct=[];for(let jt=Q;jt<=xe;jt++)ct.push(`[rel=L${jt}]`);e.filter(ct.join(",")).addClass("active"),jf(`#L${Q}-L${xe}`),j(`L${Q}-L${xe}`),O(`L${Q}-L${xe}`),S(`L${Q}-L${xe}`);return}}t.addClass("active"),jf(`#${t.attr("rel")}`),j(t.attr("rel")),O(t.attr("rel")),S(t.attr("rel"))}function jc(){const e=document.querySelector(".code-line-menu");if(!e)return;for(const p of document.querySelectorAll(".code-line-button"))p.remove();const i=document.querySelector(".code-view td.lines-code.active").closest("tr").querySelector("td"),u=document.createElement("button");u.classList.add("code-line-button"),u.innerHTML=Qt("octicon-kebab-horizontal"),i.prepend(u),u.closest(".code-view").appendChild(e.cloneNode(!0)),jn(u,{trigger:"click",content:e,placement:"right-start",role:"menu",interactive:"true"})}function Sg(){n(".code-view .lines-num").length>0&&(n(document).on("click",".lines-num span",function(e){const t=n(this);let i;n("div.blame").length?i=n(".code-view td.lines-code.blame-code"):i=n(".code-view td.lines-code"),wc(i,i.filter(`[rel=${t.attr("id")}]`),e.shiftKey?i.filter(".active").eq(0):null),window.getSelection?window.getSelection().removeAllRanges():document.selection.empty(),n("div.blame").length===0&&jc()}),n(window).on("hashchange",()=>{let e=window.location.hash.match(xg),t;n("div.blame").length?t=n(".code-view td.lines-code.blame-code"):t=n(".code-view td.lines-code");let i;if(e&&(i=t.filter(`[rel=${e[1]}]`),i.length)){wc(t,i,t.filter(`[rel=${e[2]}]`)),n("div.blame").length===0&&jc(),n("html, body").scrollTop(i.offset().top-200);return}e=window.location.hash.match(jg),e&&(i=t.filter(`[rel=L${e[2]}]`),i.length&&(wc(t,i),n("div.blame").length===0&&jc(),n("html, body").scrollTop(i.offset().top-200)))}).trigger("hashchange")),n(document).on("click",".fold-file",({currentTarget:e})=>{Jm(e.closest(".file-content"),e)}),n(document).on("click",".blob-excerpt",e=>wf(this,[e],function*({currentTarget:t}){const i=t.getAttribute("data-url"),u=t.getAttribute("data-query"),p=t.getAttribute("data-anchor");if(!i)return;const _=yield n.get(`${i}?${u}&anchor=${p}`);t.closest("tr").outerHTML=_})),n(document).on("click",".copy-line-permalink",e=>wf(this,null,function*(){var t,i;!(yield fe(e.currentTarget.getAttribute("data-url")))||(i=(t=document.querySelector(".code-line-button"))==null?void 0:t._tippy)==null||i.hide()}))}function Cg(){n("#ssh-key-content").on("change paste keyup",function(){const e=n(this).val().split(" "),t=n("#ssh-key-title");t.val()===""&&e.length===3&&e[2]!==""&&t.val(e[2])})}function Tg(){n(".user.settings.profile").length>0&&n("#username").on("keyup",function(){const e=n("#name-change-prompt"),t=n("#name-change-redirect-prompt");n(this).val().toString().toLowerCase()!==n(this).data("name").toString().toLowerCase()?(e.show(),t.show()):(e.hide(),t.hide())})}const{csrfToken:Eg}=window.config;function xf(e,t,i){n.ajax({url:t,type:"POST",data:{_csrf:Eg},complete(u){if(u.status===200){if(!u.responseJSON){e.closest(".dropdown").children("i").removeClass("loading");return}u.responseJSON.complete?(e.closest(".dropdown").children("i").removeClass("loading"),window.location.href=t):(e.closest(".dropdown").children("i").addClass("loading"),setTimeout(()=>{xf(e,t,!1)},i?750:2e3))}}})}function Og(){n(".archive-link").on("click",function(e){e.preventDefault();const t=n(this).attr("href");!t||xf(n(e.target),t,!0)})}function kg(){const e=n("#repo-clone-ssh"),t=n("#repo-clone-https"),i=n("#repo-clone-url");!e.length&&!t.length||!i.length||(setTimeout(()=>{e.removeClass("no-transition"),t.removeClass("no-transition")},100),e.on("click",()=>{localStorage.setItem("repo-clone-protocol","ssh"),window.updateCloneStates()}),t.on("click",()=>{localStorage.setItem("repo-clone-protocol","https"),window.updateCloneStates()}),i.on("focus",()=>{i.select()}))}function Ag(e){n(e).each(function(){const t=n(this);t.find(".reference.column").on("click",function(){return t.find(".scrolling.reference-list-menu").hide(),n(n(this).data("target")).show(),!1})})}function xc(e){const t=n(e);t.dropdown({fullTextSearch:"exact",selectOnKeydown:!1,onChange(i,u,p){p.attr("data-url")&&(window.location.href=p.attr("data-url"))},message:{noResults:t.attr("data-no-results")}})}function Pg(){n(".language-stats").length>0&&n(".language-stats").on("click",e=>{e.preventDefault(),n(".language-stats-details, .repository-menu").slideToggle()})}const{appSubUrl:Dg,csrfToken:Rg}=window.config;function Sf(){const e=n("#repo_migrating");if(n("#repo_migrating_failed").hide(),n("#repo_migrating_failed_image").hide(),n("#repo_migrating_progress_message").hide(),e){const t=e.attr("task");if(typeof t=="undefined")return;n.ajax({type:"GET",url:`${Dg}/user/task/${t}`,data:{_csrf:Rg},complete(i){if(i.status===200&&i.responseJSON){if(i.responseJSON.status===4){window.location.reload();return}else if(i.responseJSON.status===3){n("#repo_migrating_progress").hide(),n("#repo_migrating").hide(),n("#repo_migrating_failed").show(),n("#repo_migrating_failed_image").show(),n("#repo_migrating_failed_error").text(i.responseJSON.message);return}i.responseJSON.message&&(n("#repo_migrating_progress_message").show(),n("#repo_migrating_progress_message").text(i.responseJSON.message)),setTimeout(()=>{Sf()},2e3);return}n("#repo_migrating_progress").hide(),n("#repo_migrating").hide(),n("#repo_migrating_failed").show(),n("#repo_migrating_failed_image").show()}})}}var Mg=Object.defineProperty,Yl=Object.getOwnPropertySymbols,Cf=Object.prototype.hasOwnProperty,Tf=Object.prototype.propertyIsEnumerable,Ef=(e,t,i)=>t in e?Mg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Gl=(e,t)=>{for(var i in t||(t={}))Cf.call(t,i)&&Ef(e,i,t[i]);if(Yl)for(var i of Yl(t))Tf.call(t,i)&&Ef(e,i,t[i]);return e},Ig=(e,t)=>{var i={};for(var u in e)Cf.call(e,u)&&t.indexOf(u)<0&&(i[u]=e[u]);if(e!=null&&Yl)for(var u of Yl(e))t.indexOf(u)<0&&Tf.call(e,u)&&(i[u]=e[u]);return i},Of=(e,t,i)=>new Promise((u,p)=>{var _=S=>{try{O(i.next(S))}catch(Q){p(Q)}},j=S=>{try{O(i.throw(S))}catch(Q){p(Q)}},O=S=>S.done?u(S.value):Promise.resolve(S.value).then(_,j);O((i=i.apply(e,t)).next())});const kf={},Af={},Fg={fontFamily:"var(--fonts-monospace)",fontSize:14,guides:{bracketPairs:!1,indentation:!1},links:!1,minimap:{enabled:!1},occurrencesHighlight:!1,overviewRulerLanes:0,renderLineHighlight:"all",renderLineHighlightOnlyWhenFocus:!0,renderWhitespace:"none",rulers:!1,scrollbar:{horizontalScrollbarSize:6,verticalScrollbarSize:6},scrollBeyondLastLine:!1,automaticLayout:!0};function Ng(e){try{return JSON.parse(e.getAttribute("data-editorconfig"))}catch(t){return null}}function Lg(e){for(const{filenames:t,extensions:i,id:u}of e.languages.getLanguages()){for(const p of t||[])kf[p]=u;for(const p of i||[])Af[p]=u}}function Pf(e){return kf[e]||Af[yt(e)]||"plaintext"}function Bg(e,t,i,u){t.updateOptions(Rf(i,u));const p=t.getModel(),_=p.getLanguageId(),j=Pf(i);_!==j&&e.editor.setModelLanguage(p,j)}function Vg(e){window.codeEditors||(window.codeEditors=[]),window.codeEditors.includes(e)||window.codeEditors.push(e)}function Df(e,t,i){return Of(this,null,function*(){const u=yield gi.e("monaco").then(gi.t.bind(gi,"include-loader!./node_modules/monaco-editor/esm/vs/editor/editor.main.js",19));Lg(u);let p=i,{language:_}=p,j=Ig(p,["language"]);_||(_=Pf(t));const O=document.createElement("div");O.className="monaco-editor-container",e.parentNode.appendChild(O);const S=window.getComputedStyle(document.documentElement),Q=jt=>S.getPropertyValue(jt).trim();u.editor.defineTheme("gitea",{base:g()?"vs-dark":"vs",inherit:!0,rules:[{background:Q("--color-code-bg")}],colors:{"editor.background":Q("--color-code-bg"),"editor.foreground":Q("--color-text"),"editor.inactiveSelectionBackground":Q("--color-primary-light-4"),"editor.lineHighlightBackground":Q("--color-editor-line-highlight"),"editor.selectionBackground":Q("--color-primary-light-3"),"editor.selectionForeground":Q("--color-primary-light-3"),"editorLineNumber.background":Q("--color-code-bg"),"editorLineNumber.foreground":Q("--color-secondary-dark-6"),"editorWidget.background":Q("--color-body"),"editorWidget.border":Q("--color-secondary"),"input.background":Q("--color-input-background"),"input.border":Q("--color-input-border"),"input.foreground":Q("--color-input-text"),"scrollbar.shadow":Q("--color-shadow"),"progressBar.background":Q("--color-primary")}}),u.languages.register({id:"vs.editor.nullLanguage"}),u.languages.setLanguageConfiguration("vs.editor.nullLanguage",{});const xe=u.editor.create(O,Gl({value:e.value,theme:"gitea",language:_},j));xe.getModel().onDidChangeContent(()=>{e.value=xe.getValue(),e.dispatchEvent(new Event("change"))}),Vg(xe);const ct=document.querySelector(".editor-loading");return ct&&ct.remove(),{monaco:u,editor:xe}})}function Rf(e,t){return{wordWrap:(t||[]).includes(yt(e))?"on":"off"}}function Ug(e,t,i){return Of(this,null,function*(){const u=v(t.value),p=document.querySelector("a[data-tab=preview]"),_=(e.getAttribute("data-markdown-file-exts")||"").split(","),j=(e.getAttribute("data-line-wrap-extensions")||"").split(","),O=_.includes(yt(u)),S=Ng(t);if(p)if(O&&(i||[]).includes("markdown")){const Fe=(p.getAttribute("data-url")||"").replace(/(.*)\/.*/i,"$1/markdown");p.setAttribute("data-url",Fe),p.style.display=""}else p.style.display="none";const{monaco:Q,editor:xe}=yield Df(e,u,Gl(Gl(Gl({},Fg),Rf(t.value,j)),Hg(S)));return t.addEventListener("keyup",()=>{const Fe=t.value;Bg(Q,xe,Fe,j)}),xe})}function Hg(e){if(!A(e))return{};const t={};return t.detectIndentation=!("indent_style"in e)||!("indent_size"in e),"indent_size"in e&&(t.indentSize=Number(e.indent_size)),"tab_width"in e&&(t.tabSize=Number(e.tab_width)||t.indentSize),"max_line_length"in e&&(t.rulers=[Number(e.max_line_length)]),t.trimAutoWhitespace=e.trim_trailing_whitespace===!0,t.insertSpaces=e.indent_style==="space",t.useTabStops=e.indent_style==="tab",t}const{appSubUrl:$g,csrfToken:Mf}=window.config;function zg(){n(".page-content.repository .ui.dropdown.access-mode").each((e,t)=>{const i=n(t),u=i.find("> .text");i.dropdown({action(p,_){const j=i.attr("data-last-value");n.post(i.attr("data-url"),{_csrf:Mf,uid:i.attr("data-uid"),mode:_}).fail(()=>{u.text("(error)"),i.attr("data-last-value",j)}),i.attr("data-last-value",_),i.dropdown("hide")},onChange(p,_,j){u.text(_)},onHide(){setTimeout(()=>{i.dropdown("get item",i.attr("data-last-value"))?i.dropdown("set selected",i.attr("data-last-value")):u.text("(N/A)")},0)}})})}function Wg(){const e=n("#search-team-box");e.search({minCharacters:2,apiSettings:{url:`${$g}/org/${e.data("org")}/teams/-/search?q={query}`,headers:{"X-Csrf-Token":Mf},onResponse(t){const i=[];return n.each(t.data,(u,p)=>{const _=`${p.name} (${p.permission} access)`;i.push({title:_})}),{results:i}}},searchFields:["name","description"],showNoResults:!1})}function qg(){if(n(".edit.githook").length===0)return;const e=document.querySelector(".hook-filename").textContent,t=Df(n("#content")[0],e,{language:"shell"})}function Kg(){n(".repository.settings.branches").length>0&&(xc(".protected-branches .dropdown"),n(".enable-protection, .enable-whitelist, .enable-statuscheck").on("change",function(){this.checked?n(n(this).data("target")).removeClass("disabled"):n(n(this).data("target")).addClass("disabled")}),n(".disable-whitelist").on("change",function(){this.checked&&n(n(this).data("target")).addClass("disabled")}))}const{appSubUrl:Yg}=window.config;function Gg(){n(".organization.new.team input[name=permission]").on("change",()=>{n("input[name=permission]:checked",".organization.new.team").val()==="admin"?n(".organization.new.team .team-units").hide():n(".organization.new.team .team-units").show()})}function Xg(){const e=n("#search-repo-box");e.search({minCharacters:2,apiSettings:{url:`${Yg}/repo/search?q={query}&uid=${e.data("uid")}`,onResponse(t){const i=[];return n.each(t.data,(u,p)=>{i.push({title:p.full_name.split("/")[1],description:p.full_name})}),{results:i}}},searchFields:["full_name"],showNoResults:!1})}const{fromCharCode:Jg}=String,Qg=e=>{const t=[];for(let i=0,{length:u}=e;i<u;i++)t.push(Jg(e[i]));return btoa(t.join(""))},Zg=e=>e.charCodeAt(0),ev=e=>Uint8Array.from(atob(e),Zg),{appSubUrl:Xl,csrfToken:If}=window.config;function tv(){n(".user.signin.webauthn-prompt").length!==0&&(!Nf()||n.getJSON(`${Xl}/user/webauthn/assertion`,{}).done(e=>{e.publicKey.challenge=kl(e.publicKey.challenge);for(let t=0;t<e.publicKey.allowCredentials.length;t++)e.publicKey.allowCredentials[t].id=kl(e.publicKey.allowCredentials[t].id);navigator.credentials.get({publicKey:e.publicKey}).then(t=>{Ff(t)}).catch(t=>{if(e.publicKey.extensions&&e.publicKey.extensions.appid){delete e.publicKey.extensions.appid,navigator.credentials.get({publicKey:e.publicKey}).then(i=>{Ff(i)}).catch(i=>{Uo("general",i.message)});return}Uo("general",t.message)})}).fail(()=>{Uo("unknown")}))}function Ff(e){const t=new Uint8Array(e.response.authenticatorData),i=new Uint8Array(e.response.clientDataJSON),u=new Uint8Array(e.rawId),p=new Uint8Array(e.response.signature),_=new Uint8Array(e.response.userHandle);n.ajax({url:`${Xl}/user/webauthn/assertion`,type:"POST",data:JSON.stringify({id:e.id,rawId:Xs(u),type:e.type,clientExtensionResults:e.getClientExtensionResults(),response:{authenticatorData:Xs(t),clientDataJSON:Xs(i),signature:Xs(p),userHandle:Xs(_)}}),contentType:"application/json; charset=utf-8",dataType:"json",success:j=>{j&&j.redirect?window.location.href=j.redirect:window.location.href="/"},error:j=>{if(j.status===500){Uo("unknown");return}Uo("unable-to-process")}})}function Xs(e){return Qg(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function kl(e){return ev(e.replace(/_/g,"/").replace(/-/g,"+"))}function iv(e){const t=new Uint8Array(e.response.attestationObject),i=new Uint8Array(e.response.clientDataJSON),u=new Uint8Array(e.rawId);return n.ajax({url:`${Xl}/user/settings/security/webauthn/register`,type:"POST",headers:{"X-Csrf-Token":If},data:JSON.stringify({id:e.id,rawId:Xs(u),type:e.type,response:{attestationObject:Xs(t),clientDataJSON:Xs(i)}}),dataType:"json",contentType:"application/json; charset=utf-8"}).then(()=>{window.location.reload()}).fail(p=>{if(p.status===409){Uo("duplicated");return}Uo("unknown")})}function Uo(e,t){n("#webauthn-error [data-webauthn-error-msg]").hide();const i=n("#webauthn-error [data-webauthn-error-msg=general]");if(e==="general")i.show().text(t||"unknown error");else{const u=n(`#webauthn-error [data-webauthn-error-msg=${e}]`);u.length?u.show():i.show().text(`unknown error type: ${e}`)}n("#webauthn-error").modal("show")}function Nf(){return window.isSecureContext?typeof window.PublicKeyCredential!="function"?(n("#register-button").prop("disabled",!0),n("#login-button").prop("disabled",!0),Uo("browser"),!1):!0:(n("#register-button").prop("disabled",!0),n("#login-button").prop("disabled",!0),Uo("insecure"),!1)}function nv(){n("#register-webauthn").length!==0&&(n("#webauthn-error").modal({allowMultiple:!1}),n("#register-webauthn").on("click",e=>{e.preventDefault(),Nf()&&rv()}))}function rv(){if(n("#nickname").val()===""){Uo("empty");return}n.post(`${Xl}/user/settings/security/webauthn/request_register`,{_csrf:If,name:n("#nickname").val()}).done(e=>{if(n("#nickname").closest("div.field").removeClass("error"),e.publicKey.challenge=kl(e.publicKey.challenge),e.publicKey.user.id=kl(e.publicKey.user.id),e.publicKey.excludeCredentials)for(let t=0;t<e.publicKey.excludeCredentials.length;t++)e.publicKey.excludeCredentials[t].id=kl(e.publicKey.excludeCredentials[t].id);navigator.credentials.create({publicKey:e.publicKey}).then(iv).catch(t=>{if(!t){Uo("unknown");return}Uo("general",t.message)})}).fail(e=>{if(e.status===409){Uo("duplicated");return}Uo("unknown")})}var av=(e,t,i)=>new Promise((u,p)=>{var _=S=>{try{O(i.next(S))}catch(Q){p(Q)}},j=S=>{try{O(i.throw(S))}catch(Q){p(Q)}},O=S=>S.done?u(S.value):Promise.resolve(S.value).then(_,j);O((i=i.apply(e,t)).next())});function ov(){n(document).on("click",".remove-rel-attach",function(){const e=n(this).data("uuid"),t=n(this).data("id");n(`input[name='attachment-del-${e}']`).attr("value",!0),n(`#attachment-${t}`).hide()})}function sv(){const e=n(".repository.new.release .content-editor");if(e.length===0)return!1;av(this,null,function*(){const t=e.find("textarea");yield o(t.get(),{mentions:!1,emoji:!0});const i=yield gl(t);El(e);const u=e.parent().find(".dropzone");ql(i,u)})}var lv=(e,t,i)=>new Promise((u,p)=>{var _=S=>{try{O(i.next(S))}catch(Q){p(Q)}},j=S=>{try{O(i.throw(S))}catch(Q){p(Q)}},O=S=>S.done?u(S.value):Promise.resolve(S.value).then(_,j);O((i=i.apply(e,t)).next())});const{csrfToken:Lf}=window.config;let Bf;function cv(e){const t=e.find(".tabular.menu");t.find(".item").tab();const i=t.find(`.item[data-tab="${t.data("preview")}"]`);i.length&&(Bf=i.data("preview-file-modes").split(","),i.on("click",function(){const u=n(this);let p=`${u.data("context")}/`;const _=u.data("markdown-mode")||"comment",j=e.find("input#tree_path");j.length>0&&(p+=j.val()),p=p.substring(0,p.lastIndexOf("/")),n.post(u.data("url"),{_csrf:Lf,mode:_,context:p,text:e.find(`.tab[data-tab="${t.data("write")}"] textarea`).val()},O=>{e.find(`.tab[data-tab="${t.data("preview")}"]`).html(O),Tl()})}))}function uv(e){const t=e.find(".tabular.menu");t.find(".item").tab(),t.find(`.item[data-tab="${t.data("diff")}"]`).on("click",function(){const i=n(this);n.post(i.data("url"),{_csrf:Lf,context:i.data("context"),content:e.find(`.tab[data-tab="${t.data("write")}"] textarea`).val()},u=>{e.find(`.tab[data-tab="${t.data("diff")}"]`).html(u)})})}function fv(){n(".repository .edit.form").length!==0&&(cv(n(".repository .edit.form")),uv(n(".repository .edit.form")))}function dv(e){const t=e.get(0);let i=0;if("selectionStart"in t)i=t.selectionStart;else if("selection"in document){t.focus();const u=document.selection.createRange(),p=document.selection.createRange().text.length;u.moveStart("character",-t.value.length),i=u.text.length-p}return i}function pv(){fv(),n(".js-quick-pull-choice-option").on("change",function(){n(this).val()==="commit-to-new-branch"?(n(".quick-pull-branch-name").show(),n(".quick-pull-branch-name input").prop("required",!0)):(n(".quick-pull-branch-name").hide(),n(".quick-pull-branch-name input").prop("required",!1)),n("#commit-button").text(n(this).attr("button_text"))});const e=n("#file-name");e.on("keyup",function(i){const u=n(".breadcrumb span.section"),p=n(".breadcrumb div.divider");let _,j;if(i.keyCode===8&&dv(n(this))===0&&u.length>0&&(_=u.last().find("a").text(),n(this).val(_+n(this).val()),n(this)[0].setSelectionRange(_.length,_.length),u.last().remove(),p.last().remove()),i.keyCode===191){j=n(this).val().split("/");for(let O=0;O<j.length;++O)_=j[O],O<j.length-1?_.length&&(n(`<span class="section"><a href="#">${fo(_)}</a></span>`).insertBefore(n(this)),n('<div class="divider"> / </div>').insertBefore(n(this))):n(this).val(_),n(this)[0].setSelectionRange(0,0)}j=[],n(".breadcrumb span.section").each(function(){const O=n(this);O.find("a").length?j.push(O.find("a").text()):j.push(O.text())}),n(this).val()&&j.push(n(this).val()),n("#tree_path").val(j.join("/"))}).trigger("keyup");const t=n(".repository.editor textarea#edit_area");!t.length||lv(this,null,function*(){const i=yield Ug(t[0],e[0],Bf),u=n("#commit-button"),p=n(".ui.edit.form"),_="dirty-file";n('input[name="page_has_posted"]').val()!=="true"&&u.prop("disabled",!0),p.areYouSure({silent:!0,dirtyClass:_,fieldSelector:":input:not(.commit-form-wrapper :input)",change(){const S=n(this).hasClass(_);u.prop("disabled",!S)}});const O=new URLSearchParams(window.location.search).get("value");O&&i.setValue(O),u.on("click",S=>{t.val().length===0&&(n("#edit-empty-content-modal").modal({onApprove(){n(".edit.form").trigger("submit")}}).modal("show"),S.preventDefault())})})}const{appSubUrl:mv}=window.config,hv=/^\S+@\S+$/;function gv(){const e=n("#search-user-box"),t=e.attr("data-allow-email")==="true",i=e.attr("data-allow-email-description");e.search({minCharacters:2,apiSettings:{url:`${mv}/user/search?q={query}`,onResponse(u){const p=[],_=e.find("input").val(),j=_.toUpperCase();if(n.each(u.data,(O,S)=>{let Q=S.login;S.full_name&&S.full_name.length>0&&(Q+=` (${fo(S.full_name)})`);const xe={title:Q,image:S.avatar_url};j===S.login.toUpperCase()?p.unshift(xe):p.push(xe)}),t&&p.length===0&&hv.test(_)){const O={title:_,description:i};p.push(O)}return{results:p}}},searchFields:["login","full_name"],showNoResults:!1})}function vv(){if(n(".page-content.install").length===0)return;const e="gitea",t="gitea",i={mysql:"127.0.0.1:3306",postgres:"127.0.0.1:5432",mssql:"127.0.0.1:1433"},u=n("#db_host"),p=n("#db_user"),_=n("#db_name");n("#db_type").on("change",function(){var j;const O=n(this).val();if(n("div[data-db-setting-for]").hide(),n(`div[data-db-setting-for=${O}]`).show(),O!=="sqlite3"){n("div[data-db-setting-for=common-host]").show();const S=u.val();(!S||Object.values(i).includes(S))&&u.val((j=i[O])!=null?j:""),!p.val()&&!_.val()&&(p.val(e),_.val(t))}}).trigger("change"),n("#offline-mode input").on("change",function(){n(this).is(":checked")&&(n("#disable-gravatar").checkbox("check"),n("#federated-avatar-lookup").checkbox("uncheck"))}),n("#disable-gravatar input").on("change",function(){n(this).is(":checked")?n("#federated-avatar-lookup").checkbox("uncheck"):n("#offline-mode").checkbox("uncheck")}),n("#federated-avatar-lookup input").on("change",function(){n(this).is(":checked")&&(n("#disable-gravatar").checkbox("uncheck"),n("#offline-mode").checkbox("uncheck"))}),n("#enable-openid-signin input").on("change",function(){n(this).is(":checked")?n("#disable-registration input").is(":checked")||n("#enable-openid-signup").checkbox("check"):n("#enable-openid-signup").checkbox("uncheck")}),n("#disable-registration input").on("change",function(){n(this).is(":checked")?(n("#enable-captcha").checkbox("uncheck"),n("#enable-openid-signup").checkbox("uncheck")):n("#enable-openid-signup").checkbox("check")}),n("#enable-captcha input").on("change",function(){n(this).is(":checked")&&n("#disable-registration").checkbox("uncheck")})}const{csrfToken:yv}=window.config;function bv(){if(n(".new.webhook").length===0)return;n(".events.checkbox input").on("change",function(){n(this).is(":checked")&&n(".events.fields").show()}),n(".non-events.checkbox input").on("change",function(){n(this).is(":checked")&&n(".events.fields").hide()});const e=function(){const t=n("#http_method").val()==="POST";n("#content_type").parent().parent()[t?"show":"hide"]()};e(),n("#http_method").on("change",()=>{e()}),n("#test-delivery").on("click",function(){const t=n(this);t.addClass("loading disabled"),n.post(t.data("link"),{_csrf:yv}).done(setTimeout(()=>{window.location.href=t.data("redirect")},5e3))})}var _v=(e,t,i)=>new Promise((u,p)=>{var _=S=>{try{O(i.next(S))}catch(Q){p(Q)}},j=S=>{try{O(i.throw(S))}catch(Q){p(Q)}},O=S=>S.done?u(S.value):Promise.resolve(S.value).then(_,j);O((i=i.apply(e,t)).next())});function wv(){const e=n(".issue-checkbox-all"),t=n(".issue-checkbox-all input"),i=n(".issue-checkbox input"),u=()=>{const p=i.filter(":checked"),_=p.length!==0;_&&p.length===i.length?t.prop({checked:!0,indeterminate:!1}):_?t.prop({checked:!1,indeterminate:!0}):t.prop({checked:!1,indeterminate:!1}),n("#issue-filters").toggle(!_),n("#issue-actions").toggle(_),n("#issue-filters, #issue-actions").filter(":visible").find(".column:first").prepend(e)};i.on("change",u),t.on("change",()=>{i.prop("checked",t.is(":checked")),u()}),n(".issue-action").on("click",function(){return _v(this,null,function*(){let p=this.getAttribute("data-action"),_=this.getAttribute("data-element-id");const j=this.getAttribute("data-url"),O=n(".issue-checkbox").children("input:checked").map((S,Q)=>Q.getAttribute("data-issue-id")).get().join(",");_==="0"&&j.slice(-9)==="/assignee"&&(_="",p="clear"),yl(j,p,O,_).then(()=>{(p==="close"||p==="open")&&n('.issue-checkbox input[type="checkbox"]').each((S,Q)=>{Q.checked=!1}),window.location.reload()})})}),n('.issue-checkbox input[type="checkbox"]:checked').first().each((p,_)=>{_.checked=!1,n(_).trigger("click")})}function jv(){n(".show-create-branch-modal").on("click",function(){let e=n(this).attr("data-modal-form");e||(e="#create-branch-form"),n(e)[0].action=n(e).attr("data-base-action")+n(this).attr("data-branch-from-urlcomponent");let t=n(this).attr("data-modal-from-span");t||(t="#modal-create-branch-from-span"),n(t).text(n(this).attr("data-branch-from")),n(n(this).attr("data-modal")).modal("show")})}function Vf(e){if(!n(e).length)return;const t=n(".new-label.segment");n(".new-label.button").on("click",()=>{t.show()}),n(".new-label.segment .cancel").on("click",()=>{t.hide()}),vf(),n(".edit-label-button").on("click",function(){return n(".edit-label .color-picker").minicolors("value",n(this).data("color")),n("#label-modal-id").val(n(this).data("id")),n(".edit-label .new-label-input").val(n(this).data("title")),n(".edit-label .new-label-desc-input").val(n(this).data("description")),n(".edit-label .color-picker").val(n(this).data("color")),n(".edit-label .minicolors-swatch-color").css("background-color",n(this).data("color")),n(".edit-label.modal").modal({onApprove(){n(".edit-label.form").trigger("submit")}}).modal("show"),!1})}function xv(){n(".organization").length!==0&&(n(".organization.settings.options").length>0&&n("#org_name").on("keyup",function(){const e=n("#org-name-change-prompt"),t=n("#org-name-change-redirect-prompt");n(this).val().toString().toLowerCase()!==n(this).data("org-name").toString().toLowerCase()?(e.show(),t.show()):(e.hide(),t.hide())}),Vf(".organization.settings.labels"))}var Sv=(e,t,i)=>new Promise((u,p)=>{var _=S=>{try{O(i.next(S))}catch(Q){p(Q)}},j=S=>{try{O(i.throw(S))}catch(Q){p(Q)}},O=S=>S.done?u(S.value):Promise.resolve(S.value).then(_,j);O((i=i.apply(e,t)).next())});const{csrfToken:Cv}=window.config;function Tv(){return Sv(this,null,function*(){const e=n(".repository.wiki textarea#edit_area");if(!e.length)return;let t=0,i=null,u=!0;const p=n(".repository.wiki.new .ui.form"),_=yield Zu(),j=new _({autoDownloadFontAwesome:!1,element:e[0],forceSync:!0,previewRender(O,S){const Q=function(){t=0,i!==null&&(clearTimeout(i),i=null),n.post(e.data("url"),{_csrf:Cv,mode:"gfm",context:e.data("context"),text:O,wiki:!0},xe=>{S.innerHTML=`<div class="markup ui segment">${xe}</div>`,Tl()})};return setTimeout(()=>{j.isSideBySideActive()?(t++,t>10&&Q(),i!==null&&(clearTimeout(i),i=null),i=setTimeout(Q,600)):Q()},0),j.isSideBySideActive()?S.innerHTML:"Loading..."},renderingConfig:{singleLineBreaks:!1},indentWithTabs:!1,tabSize:4,spellChecker:!1,inputStyle:"contenteditable",nativeSpellcheck:!0,toolbar:["bold","italic","strikethrough","|","heading-1","heading-2","heading-3","heading-bigger","heading-smaller","|",{name:"code-inline",action(O){const S=O.codemirror,Q=S.getSelection();if(S.replaceSelection(`\`${Q}\``),!Q){const xe=S.getCursor();S.setCursor(xe.line,xe.ch-1)}S.focus()},className:"fa fa-angle-right",title:"Add Inline Code"},"code","quote","|",{name:"checkbox-empty",action(O){const S=O.codemirror;S.replaceSelection(`
|
|
- [ ] ${S.getSelection()}`),S.focus()},className:"fa fa-square-o",title:"Add Checkbox (empty)"},{name:"checkbox-checked",action(O){const S=O.codemirror;S.replaceSelection(`
|
|
- [x] ${S.getSelection()}`),S.focus()},className:"fa fa-check-square-o",title:"Add Checkbox (checked)"},"|","unordered-list","ordered-list","|","link","image","table","horizontal-rule","|","clean-block","preview","fullscreen","side-by-side","|",{name:"revert-to-textarea",action(O){O.toTextArea(),u=!1;const S=p.find(".field.content"),Q=S.data("loading");S.append(`<div class="ui bottom tab markup" data-tab="preview">${Q}</div>`),El(p)},className:"fa fa-file",title:"Revert to simple textarea"}]});j.codemirror.setOption("extraKeys",{"Cmd-Enter":zl,"Ctrl-Enter":zl}),ef(j),p.on("submit",()=>{if(!tf(e))return!1}),setTimeout(()=>{const O=n('.repository.wiki.new .previewtabs a[data-tab="write"]'),S=n('.repository.wiki.new .previewtabs a[data-tab="preview"]'),Q=n(".editor-toolbar"),xe=n(".editor-toolbar button.preview"),Fe=n(".editor-toolbar a.fa-columns");O.on("click",ct=>(u&&(ct.stopImmediatePropagation(),Q.hasClass("disabled-for-preview")&&xe.trigger("click")),!1)),S.on("click",ct=>(u&&(ct.stopImmediatePropagation(),Q.hasClass("disabled-for-preview")||xe.trigger("click")),!1)),xe.on("click",()=>(setTimeout(()=>{Q.hasClass("disabled-for-preview")?(O.hasClass("active")&&O.removeClass("active"),S.hasClass("active")||S.addClass("active")):(O.hasClass("active")||O.addClass("active"),S.hasClass("active")&&S.removeClass("active"))},0),!1)),Fe.on("click",()=>{t=10})},0)})}function Ev(){Tv()}function Ov(){n(document).on("click","a.escape-button",e=>{e.preventDefault(),n(e.target).parents(".file-content, .non-diff-file-content").find(".file-code, .file-view").addClass("unicode-escaped"),n(e.target).hide(),n(e.target).siblings("a.unescape-button").show()}),n(document).on("click","a.unescape-button",e=>{e.preventDefault(),n(e.target).parents(".file-content, .non-diff-file-content").find(".file-code, .file-view").removeClass("unicode-escaped"),n(e.target).hide(),n(e.target).siblings("a.escape-button").show()}),n(document).on("click","a.toggle-escape-button",e=>{e.preventDefault();const t=n(e.target).parents(".file-content, .non-diff-file-content"),i=t.find(".file-code, .file-view");i.hasClass("unicode-escaped")?(i.removeClass("unicode-escaped"),t.find("a.unescape-button").hide(),t.find("a.escape-button").show()):(i.addClass("unicode-escaped"),t.find("a.unescape-button").show(),t.find("a.escape-button").hide())})}function kv(e){n(e).each(function(){const i=n(this).find(".data"),u={items:[],mode:i.data("mode"),searchTerm:"",refName:"",noResults:"",canCreateBranch:!1,menuVisible:!1,createTag:!1,isViewTag:!1,isViewBranch:!1,isViewTree:!1,active:0,branchForm:"",branchURLPrefix:"",branchURLSuffix:"",tagURLPrefix:"",tagURLSuffix:"",setAction:!1,submitForm:!1};i.find(".item").each(function(){u.items.push({name:n(this).text(),url:n(this).data("url"),branch:n(this).hasClass("branch"),tag:n(this).hasClass("tag"),selected:n(this).hasClass("selected")})}),i.remove();const p=this;(0,D.createApp)({delimiters:h,data(){return u},computed:{filteredItems(){const j=this.items.filter(O=>(this.mode==="branches"&&O.branch||this.mode==="tags"&&O.tag)&&(!this.searchTerm||O.name.toLowerCase().includes(this.searchTerm.toLowerCase())));return this.active=j.length===0&&this.showCreateNewBranch?0:-1,j},showNoResults(){return this.filteredItems.length===0&&!this.showCreateNewBranch},showCreateNewBranch(){return!this.canCreateBranch||!this.searchTerm?!1:this.items.filter(j=>j.name.toLowerCase()===this.searchTerm.toLowerCase()).length===0}},watch:{menuVisible(j){j&&this.focusSearchField()}},beforeMount(){switch(this.noResults=p.getAttribute("data-no-results"),this.canCreateBranch=p.getAttribute("data-can-create-branch")==="true",this.branchForm=p.getAttribute("data-branch-form"),p.getAttribute("data-view-type")){case"tree":this.isViewTree=!0;break;case"tag":this.isViewTag=!0;break;default:this.isViewBranch=!0;break}this.refName=p.getAttribute("data-ref-name"),this.branchURLPrefix=p.getAttribute("data-branch-url-prefix"),this.branchURLSuffix=p.getAttribute("data-branch-url-suffix"),this.tagURLPrefix=p.getAttribute("data-tag-url-prefix"),this.tagURLSuffix=p.getAttribute("data-tag-url-suffix"),this.setAction=p.getAttribute("data-set-action")==="true",this.submitForm=p.getAttribute("data-submit-form")==="true",document.body.addEventListener("click",j=>{p.contains(j.target)||this.menuVisible&&(this.menuVisible=!1)})},methods:{selectItem(j){const O=this.getSelected();O!==null&&(O.selected=!1),j.selected=!0;const S=j.tag?this.tagURLPrefix+j.url+this.tagURLSuffix:this.branchURLPrefix+j.url+this.branchURLSuffix;this.branchForm===""?window.location.href=S:(this.isViewTree=!1,this.isViewTag=!1,this.isViewBranch=!1,this.$refs.dropdownRefName.textContent=j.name,this.setAction?n(`#${this.branchForm}`).attr("action",S):n(`#${this.branchForm} input[name="refURL"]`).val(S),n(`#${this.branchForm} input[name="ref"]`).val(j.name),j.tag?(this.isViewTag=!0,n(`#${this.branchForm} input[name="refType"]`).val("tag")):(this.isViewBranch=!0,n(`#${this.branchForm} input[name="refType"]`).val("branch")),this.submitForm&&n(`#${this.branchForm}`).trigger("submit"),this.menuVisible=!1)},createNewBranch(){!this.showCreateNewBranch||n(this.$refs.newBranchForm).trigger("submit")},focusSearchField(){(0,K.Y3)(()=>{this.$refs.searchField.focus()})},getSelected(){for(let j=0,O=this.items.length;j<O;++j)if(this.items[j].selected)return this.items[j];return null},getSelectedIndexInFiltered(){for(let j=0,O=this.filteredItems.length;j<O;++j)if(this.filteredItems[j].selected)return j;return-1},scrollToActive(){let j=this.$refs[`listItem${this.active}`];if(!j||!j.length)return;Array.isArray(j)&&(j=j[0]);const O=this.$refs.scrollContainer;j.offsetTop<O.scrollTop?O.scrollTop=j.offsetTop:j.offsetTop+j.clientHeight>O.scrollTop+O.clientHeight&&(O.scrollTop=j.offsetTop+j.clientHeight-O.clientHeight)},keydown(j){if(j.keyCode===40){if(j.preventDefault(),this.active===-1&&(this.active=this.getSelectedIndexInFiltered()),this.active+(this.showCreateNewBranch?0:1)>=this.filteredItems.length)return;this.active++,this.scrollToActive()}else if(j.keyCode===38){if(j.preventDefault(),this.active===-1&&(this.active=this.getSelectedIndexInFiltered()),this.active<=0)return;this.active--,this.scrollToActive()}else j.keyCode===13?(j.preventDefault(),this.active>=this.filteredItems.length?this.createNewBranch():this.active>=0&&this.selectItem(this.filteredItems[this.active])):j.keyCode===27&&(j.preventDefault(),this.menuVisible=!1)}}}).mount(this)})}const ky=e=>(_pushScopeId("data-v-c330d5a0"),e=e(),_popScopeId(),e),Av=["innerHTML"],Pv={key:1,class:"ui form"},Dv=["action"],Rv=["value"],Mv={class:"field"},Iv={class:"field"},Fv=["placeholder"],Nv={key:1,class:"field"},Lv=["placeholder"],Bv=["value"],Vv={key:2,class:"ui checkbox ml-2"},Uv={for:"delete-branch-after-merge"},Hv={key:2,class:"df"},$v={class:"ui button"},zv={class:"button-text"},Wv=["onClick"],qv={class:"action-text"},Kv=["onClick"],Yv={class:"auto-merge-tip"},Gv=["onClick"],Xv={class:"action-text"},Jv=["action"],Qv=["value"],Zv={class:"ui button"};function ey(e,t,i,u,p,_){const j=(0,K.up)("svg-icon");return(0,K.wg)(),(0,K.iD)(K.HY,null,[(0,K.kq)(`
|
|
if this component is shown, either the user is an admin (can do a merge without checks), or they are a writer who has the permission to do a merge
|
|
if the user is a writer and can't do a merge now (canMergeNow==false), then only show the Auto Merge for them
|
|
How to test the UI manually:
|
|
* Method 1: manually set some variables in pull.tmpl, eg: {{$notAllOverridableChecksOk = true}} {{$canMergeNow = false}}
|
|
* Method 2: make a protected branch, then set state=pending/success :
|
|
curl -X POST \${root_url}/api/v1/repos/\${owner}/\${repo}/statuses/\${sha} \\
|
|
-H "accept: application/json" -H "authorization: Basic $base64_auth" -H "Content-Type: application/json" \\
|
|
-d '{"context": "test/context", "description": "description", "state": "\${state}", "target_url": "http://localhost"}'
|
|
`),(0,K._)("div",null,[(0,K.kq)(" eslint-disable "),e.mergeForm.hasPendingPullRequestMerge?((0,K.wg)(),(0,K.iD)("div",{key:0,innerHTML:e.mergeForm.hasPendingPullRequestMergeTip,class:"ui info message"},null,8,Av)):(0,K.kq)("v-if",!0),e.showActionForm?((0,K.wg)(),(0,K.iD)("div",Pv,[(0,K._)("form",{action:e.mergeForm.baseLink+"/merge",method:"post"},[(0,K._)("input",{type:"hidden",name:"_csrf",value:e.csrfToken},null,8,Rv),(0,K.wy)((0,K._)("input",{type:"hidden",name:"head_commit_id","onUpdate:modelValue":t[0]||(t[0]=O=>e.mergeForm.pullHeadCommitID=O)},null,512),[[D.vModelText,e.mergeForm.pullHeadCommitID]]),(0,K.wy)((0,K._)("input",{type:"hidden",name:"merge_when_checks_succeed","onUpdate:modelValue":t[1]||(t[1]=O=>e.autoMergeWhenSucceed=O)},null,512),[[D.vModelText,e.autoMergeWhenSucceed]]),(0,K.wy)((0,K._)("input",{type:"hidden",name:"force_merge","onUpdate:modelValue":t[2]||(t[2]=O=>_.forceMerge=O)},null,512),[[D.vModelText,_.forceMerge]]),e.mergeStyleDetail.hideMergeMessageTexts?(0,K.kq)("v-if",!0):((0,K.wg)(),(0,K.iD)(K.HY,{key:0},[(0,K._)("div",Mv,[(0,K.wy)((0,K._)("input",{type:"text",name:"merge_title_field","onUpdate:modelValue":t[3]||(t[3]=O=>e.mergeTitleFieldValue=O)},null,512),[[D.vModelText,e.mergeTitleFieldValue]])]),(0,K._)("div",Iv,[(0,K.wy)((0,K._)("textarea",{name:"merge_message_field",rows:"5",placeholder:e.mergeForm.mergeMessageFieldPlaceHolder,"onUpdate:modelValue":t[4]||(t[4]=O=>e.mergeMessageFieldValue=O)},null,8,Fv),[[D.vModelText,e.mergeMessageFieldValue]])])],64)),e.mergeStyle==="manually-merged"?((0,K.wg)(),(0,K.iD)("div",Nv,[(0,K._)("input",{type:"text",name:"merge_commit_id",placeholder:e.mergeForm.textMergeCommitId},null,8,Lv)])):(0,K.kq)("v-if",!0),(0,K._)("button",{class:(0,Ct.normalizeClass)(["ui button",_.mergeButtonStyleClass]),type:"submit",name:"do",value:e.mergeStyle},[(0,K.Uk)((0,Ct.toDisplayString)(e.mergeStyleDetail.textDoMerge)+" ",1),e.autoMergeWhenSucceed?((0,K.wg)(),(0,K.iD)(K.HY,{key:0},[(0,K.Uk)((0,Ct.toDisplayString)(e.mergeForm.textAutoMergeButtonWhenSucceed),1)],64)):(0,K.kq)("v-if",!0)],10,Bv),(0,K._)("button",{class:"ui button merge-cancel",onClick:t[5]||(t[5]=O=>_.toggleActionForm(!1))},(0,Ct.toDisplayString)(e.mergeForm.textCancel),1),e.mergeForm.isPullBranchDeletable&&!e.autoMergeWhenSucceed?((0,K.wg)(),(0,K.iD)("div",Vv,[(0,K.wy)((0,K._)("input",{name:"delete_branch_after_merge",type:"checkbox","onUpdate:modelValue":t[6]||(t[6]=O=>e.deleteBranchAfterMerge=O),id:"delete-branch-after-merge"},null,512),[[D.vModelCheckbox,e.deleteBranchAfterMerge]]),(0,K._)("label",Uv,(0,Ct.toDisplayString)(e.mergeForm.textDeleteBranch),1)])):(0,K.kq)("v-if",!0)],8,Dv)])):(0,K.kq)("v-if",!0),e.showActionForm?(0,K.kq)("v-if",!0):((0,K.wg)(),(0,K.iD)("div",Hv,[(0,K.kq)(" the merge button "),(0,K._)("div",{class:(0,Ct.normalizeClass)(["ui buttons merge-button",[e.mergeForm.emptyCommit?"grey":e.mergeForm.allOverridableChecksOk?"green":"red"]]),onClick:t[8]||(t[8]=O=>_.toggleActionForm(!0))},[(0,K._)("button",$v,[(0,K.Wm)(j,{name:"octicon-git-merge"}),(0,K._)("span",zv,[(0,K.Uk)((0,Ct.toDisplayString)(e.mergeStyleDetail.textDoMerge)+" ",1),e.autoMergeWhenSucceed?((0,K.wg)(),(0,K.iD)(K.HY,{key:0},[(0,K.Uk)((0,Ct.toDisplayString)(e.mergeForm.textAutoMergeButtonWhenSucceed),1)],64)):(0,K.kq)("v-if",!0)])]),e.mergeStyleAllowedCount>1?((0,K.wg)(),(0,K.iD)("div",{key:0,class:"ui dropdown icon button no-text",onClick:t[7]||(t[7]=(0,D.withModifiers)(O=>e.showMergeStyleMenu=!e.showMergeStyleMenu,["stop"]))},[(0,K.Wm)(j,{name:"octicon-triangle-down",size:14}),(0,K._)("div",{class:(0,Ct.normalizeClass)(["menu",{show:e.showMergeStyleMenu}])},[((0,K.wg)(!0),(0,K.iD)(K.HY,null,(0,K.Ko)(e.mergeForm.mergeStyles,O=>((0,K.wg)(),(0,K.iD)(K.HY,null,[(0,K.kq)(' if can merge now, show one action "merge now", and an action "auto merge when succeed" '),O.allowed&&e.mergeForm.canMergeNow?((0,K.wg)(),(0,K.iD)("div",{class:"item",key:O.name,onClick:(0,D.withModifiers)(S=>_.switchMergeStyle(O.name),["stop"])},[(0,K._)("div",qv,(0,Ct.toDisplayString)(O.textDoMerge),1),O.hideAutoMerge?(0,K.kq)("v-if",!0):((0,K.wg)(),(0,K.iD)("div",{key:0,class:"auto-merge-small",onClick:(0,D.withModifiers)(S=>_.switchMergeStyle(O.name,!0),["stop"])},[(0,K.Wm)(j,{name:"octicon-clock",size:14}),(0,K._)("div",Yv,(0,Ct.toDisplayString)(e.mergeForm.textAutoMergeWhenSucceed),1)],8,Kv))],8,Wv)):(0,K.kq)("v-if",!0),(0,K.kq)(' if can NOT merge now, only show one action "auto merge when succeed" '),O.allowed&&!e.mergeForm.canMergeNow&&!O.hideAutoMerge?((0,K.wg)(),(0,K.iD)("div",{class:"item",key:O.name,onClick:(0,D.withModifiers)(S=>_.switchMergeStyle(O.name,!0),["stop"])},[(0,K._)("div",Xv,(0,Ct.toDisplayString)(O.textDoMerge)+" "+(0,Ct.toDisplayString)(e.mergeForm.textAutoMergeButtonWhenSucceed),1)],8,Gv)):(0,K.kq)("v-if",!0)],64))),256))],2)])):(0,K.kq)("v-if",!0)],2),(0,K.kq)(" the cancel auto merge button "),e.mergeForm.hasPendingPullRequestMerge?((0,K.wg)(),(0,K.iD)("form",{key:0,action:e.mergeForm.baseLink+"/cancel_auto_merge",method:"post",class:"ml-4"},[(0,K._)("input",{type:"hidden",name:"_csrf",value:e.csrfToken},null,8,Qv),(0,K._)("button",Zv,(0,Ct.toDisplayString)(e.mergeForm.textAutoMergeCancelSchedule),1)],8,Jv)):(0,K.kq)("v-if",!0)]))])],2112)}const{csrfToken:ty,pageData:iy}=window.config;var ny={name:"PullRequestMergeForm",components:{SvgIcon:Ui},data:()=>({csrfToken:ty,mergeForm:iy.pullRequestMergeForm,mergeTitleFieldValue:"",mergeMessageFieldValue:"",deleteBranchAfterMerge:!1,autoMergeWhenSucceed:!1,mergeStyle:"",mergeStyleDetail:{hideMergeMessageTexts:!1,textDoMerge:"",mergeTitleFieldText:"",mergeMessageFieldText:"",hideAutoMerge:!1},mergeStyleAllowedCount:0,showMergeStyleMenu:!1,showActionForm:!1}),computed:{mergeButtonStyleClass(){return this.mergeForm.allOverridableChecksOk?"green":this.autoMergeWhenSucceed?"blue":"red"},forceMerge(){return this.mergeForm.canMergeNow&&!this.mergeForm.allOverridableChecksOk}},watch:{mergeStyle(e){this.mergeStyleDetail=this.mergeForm.mergeStyles.find(t=>t.name===e)}},created(){var e,t;this.mergeStyleAllowedCount=this.mergeForm.mergeStyles.reduce((u,p)=>u+(p.allowed?1:0),0);let i=(e=this.mergeForm.mergeStyles.find(u=>u.allowed&&u.name===this.mergeForm.defaultMergeStyle))==null?void 0:e.name;i||(i=(t=this.mergeForm.mergeStyles.find(u=>u.allowed))==null?void 0:t.name),this.switchMergeStyle(i,!this.mergeForm.canMergeNow)},mounted(){document.addEventListener("mouseup",this.hideMergeStyleMenu)},unmounted(){document.removeEventListener("mouseup",this.hideMergeStyleMenu)},methods:{hideMergeStyleMenu(){this.showMergeStyleMenu=!1},toggleActionForm(e){this.showActionForm=e,e&&(this.deleteBranchAfterMerge=this.mergeForm.defaultDeleteBranchAfterMerge,this.mergeTitleFieldValue=this.mergeStyleDetail.mergeTitleFieldText,this.mergeMessageFieldValue=this.mergeStyleDetail.mergeMessageFieldText)},switchMergeStyle(e,t=!1){this.mergeStyle=e,this.autoMergeWhenSucceed=t}}},ry=(0,fr.Z)(ny,[["render",ey],["__scopeId","data-v-c330d5a0"]]);function ay(){const e=document.getElementById("pull-request-merge-form");if(!e)return;(0,D.createApp)(ry).mount(e)}var Sc=(e,t,i)=>new Promise((u,p)=>{var _=S=>{try{O(i.next(S))}catch(Q){p(Q)}},j=S=>{try{O(i.throw(S))}catch(Q){p(Q)}},O=S=>S.done?u(S.value):Promise.resolve(S.value).then(_,j);O((i=i.apply(e,t)).next())});const{csrfToken:Jl}=window.config;function oy(){const e=n(".comment.form");if(e.length===0)return;function t(){const p=n(".ui.select-branch"),_=p.find(".reference-list-menu"),j=_.hasClass("new-issue");_.find(".item:not(.no-select)").click(function(){const O=n(this).data("id"),S=n("#editing_mode").val();if(n(n(this).data("id-selector")).val(O),j){p.find(".ui .branch-name").text(n(this).data("name"));return}if(S==="true"){const Q=n("#update_issueref_form");n.post(Q.attr("action"),{_csrf:Jl,ref:O},()=>window.location.reload())}else S===""&&p.find(".ui .branch-name").text(O)}),p.find(".reference.column").on("click",function(){return p.find(".scrolling.reference-list-menu").css("display","none"),p.find(".reference .text").removeClass("black"),n(n(this).data("target")).css("display","block"),n(this).find(".text").addClass("black"),!1})}Sc(this,null,function*(){for(const p of e.find("textarea:not(.review-textarea, .no-easymde)")){if(p.closest("#edit-content-form"))continue;const _=yield gl(p);ql(_,e.find(".dropzone"))}}),t(),El(e);function i(p,_){const j=n(`.ui.${_}.list`),O=j.find(".no-select"),S=n(`.${p} .menu`);let Q=S.data("action")==="update";const xe={};n(`.${p}`).dropdown("setting","onHide",()=>{Q=S.data("action")==="update",Q&&function(){return Sc(this,null,function*(){for(const[Fe,ct]of Object.entries(xe))yield yl(ct["update-url"],ct.action,ct["issue-id"],Fe);window.location.reload()})}()}),S.find(".item:not(.no-select)").on("click",function(Fe){if(Fe.preventDefault(),n(this).hasClass("ban-change")||(Q=S.data("action")==="update",n(this).hasClass("checked")?(n(this).removeClass("checked"),n(this).find(".octicon-check").addClass("invisible"),Q&&(n(this).data("id")in xe?delete xe[n(this).data("id")]:xe[n(this).data("id")]={"update-url":S.data("update-url"),action:"detach","issue-id":S.data("issue-id")})):(n(this).addClass("checked"),n(this).find(".octicon-check").removeClass("invisible"),Q&&(n(this).data("id")in xe?delete xe[n(this).data("id")]:xe[n(this).data("id")]={"update-url":S.data("update-url"),action:"attach","issue-id":S.data("issue-id")})),p==="select-reviewers-modify"||p==="select-assignees-modify"))return!1;const ct=[];return n(this).parent().find(".item").each(function(){n(this).hasClass("checked")?(ct.push(n(this).data("id")),n(n(this).data("id-selector")).removeClass("hide")):n(n(this).data("id-selector")).addClass("hide")}),ct.length===0?O.removeClass("hide"):O.addClass("hide"),n(n(this).parent().data("id")).val(ct.join(",")),!1}),S.find(".no-select.item").on("click",function(Fe){if(Fe.preventDefault(),Q&&yl(S.data("update-url"),"clear",S.data("issue-id"),"").then(()=>window.location.reload()),n(this).parent().find(".item").each(function(){n(this).removeClass("checked"),n(this).find(".octicon").addClass("invisible")}),p==="select-reviewers-modify"||p==="select-assignees-modify")return!1;j.find(".item").each(function(){n(this).addClass("hide")}),O.removeClass("hide"),n(n(this).parent().data("id")).val("")})}i("select-label","labels"),i("select-assignees","assignees"),i("select-assignees-modify","assignees"),i("select-reviewers-modify","assignees");function u(p,_){const j=n(`${p} .menu`),O=n(`.ui${p}.list`),S=j.data("action")==="update";j.find(".item:not(.no-select)").on("click",function(){n(this).parent().find(".item").each(function(){n(this).removeClass("selected active")}),n(this).addClass("selected active"),S&&yl(j.data("update-url"),"",j.data("issue-id"),n(this).data("id")).then(()=>window.location.reload());let Q="";_==="#milestone_id"?Q=Qt("octicon-milestone",18,"mr-3"):_==="#project_id"?Q=Qt("octicon-project",18,"mr-3"):_==="#assignee_id"&&(Q=`<img class="ui avatar image mr-3" src=${n(this).data("avatar")}>`),O.find(".selected").html(`
|
|
<a class="item muted sidebar-item-link" href=${n(this).data("href")}>
|
|
${Q}
|
|
${fo(n(this).text())}
|
|
</a>
|
|
`),n(`.ui${p}.list .no-select`).addClass("hide"),n(_).val(n(this).data("id"))}),j.find(".no-select.item").on("click",function(){n(this).parent().find(".item:not(.no-select)").each(function(){n(this).removeClass("selected active")}),S&&yl(j.data("update-url"),"",j.data("issue-id"),n(this).data("id")).then(()=>window.location.reload()),O.find(".selected").html(""),O.find(".no-select").removeClass("hide"),n(_).val("")})}u(".select-project","#project_id"),u(".select-milestone","#milestone_id"),u(".select-assignee","#assignee_id")}function sy(e){return Sc(this,null,function*(){e.preventDefault(),n(this).closest(".dropdown").find(".menu").toggle("visible");const t=n(this).closest(".header").next(),i=t.find(".edit-content-zone"),u=t.find(".render-content"),p=t.find(".raw-content");let _,j;if(i.html().length===0){i.html(n("#edit-content-form").html()),_=i.find("textarea"),yield o(_.get(),{mentions:!0,emoji:!0});let O;const S=i.find(".dropzone");if(S.length===1){S.data("saved",!1);const ct={};O=yield gf(S[0],{url:S.data("upload-url"),headers:{"X-Csrf-Token":Jl},maxFiles:S.data("max-file"),maxFilesize:S.data("max-size"),acceptedFiles:["*/*",""].includes(S.data("accepts"))?null:S.data("accepts"),addRemoveLinks:!0,dictDefaultMessage:S.data("default-message"),dictInvalidFileType:S.data("invalid-input-type"),dictFileTooBig:S.data("file-too-big"),dictRemoveFile:S.data("remove-file"),timeout:0,thumbnailMethod:"contain",thumbnailWidth:480,thumbnailHeight:480,init(){this.on("success",(jt,Tt)=>{jt.uuid=Tt.uuid,ct[jt.uuid]={submitted:!1};const $t=n(`<input id="${Tt.uuid}" name="files" type="hidden">`).val(Tt.uuid);S.find(".files").append($t)}),this.on("removedfile",jt=>{n(`#${jt.uuid}`).remove(),S.data("remove-url")&&!ct[jt.uuid].submitted&&n.post(S.data("remove-url"),{file:jt.uuid,_csrf:Jl})}),this.on("submit",()=>{n.each(ct,jt=>{ct[jt].submitted=!0})}),this.on("reload",()=>{n.getJSON(i.data("attachment-url"),jt=>{O.removeAllFiles(!0),S.find(".files").empty(),n.each(jt,function(){const Tt=`${S.data("link-url")}/${this.uuid}`;O.emit("addedfile",this),O.emit("thumbnail",this,Tt),O.emit("complete",this),O.files.push(this),ct[this.uuid]={submitted:!0},S.find(`img[src='${Tt}']`).css("max-width","100%");const $t=n(`<input id="${this.uuid}" name="files" type="hidden">`).val(this.uuid);S.find(".files").append($t)})})})}}),O.emit("reload")}const Q=i.find(".ui.comment.form"),xe=Q.find(".tabular.menu");xe.attr("data-write",i.data("write")),xe.attr("data-preview",i.data("preview")),xe.find(".write.item").attr("data-tab",i.data("write")),xe.find(".preview.item").attr("data-tab",i.data("preview")),Q.find(".write").attr("data-tab",i.data("write")),Q.find(".preview").attr("data-tab",i.data("preview")),j=yield gl(_),El(Q),ql(j,S);const Fe=i.find(".save.button");_.on("ce-quick-submit",()=>{Fe.trigger("click")}),i.find(".cancel.button").on("click",()=>{u.show(),i.hide(),O&&O.emit("reload")}),Fe.on("click",()=>{u.show(),i.hide();const ct=S.find(".files").find("[name=files]").map(function(){return n(this).val()}).get();n.post(i.data("update-url"),{_csrf:Jl,content:_.val(),context:i.data("context"),files:ct},jt=>{jt.length===0||jt.content.length===0?(u.html(n("#no-content").html()),p.text("")):(u.html(jt.content),p.text(_.val()));const Tt=t;Tt.find(".dropzone-attachments").length?jt.attachments===""?Tt.find(".dropzone-attachments").remove():Tt.find(".dropzone-attachments").replaceWith(jt.attachments):jt.attachments!==""&&(Tt.append('<div class="dropzone-attachments"></div>'),Tt.find(".dropzone-attachments").replaceWith(jt.attachments)),O&&(O.emit("submit"),O.emit("reload")),Tl(),Yu()})})}else _=t.find("textarea"),j=rl(_);i.show(),u.hide(),_.val().length===0&&(_.val(p.text()),j.value(p.text())),requestAnimationFrame(()=>{_.focus(),j.codemirror.focus()})})}function ly(){if(n(".repository").length===0)return;if((n(".repository.file.list").length>0||n(".branch-dropdown").length>0||n(".repository.commits").length>0||n(".repository.release").length>0)&&kv(".choose.reference .dropdown"),n(".repository.wiki.view").length>0&&xc(".choose.page .dropdown"),n(".repository.settings.options").length>0){n(".enable-system").on("change",function(){this.checked?(n(n(this).data("target")).removeClass("disabled"),n(this).data("context")||n(n(this).data("context")).addClass("disabled")):(n(n(this).data("target")).addClass("disabled"),n(this).data("context")||n(n(this).data("context")).removeClass("disabled"))}),n(".enable-system-radio").on("change",function(){this.value==="false"?(n(n(this).data("target")).addClass("disabled"),typeof n(this).data("context")!="undefined"&&n(n(this).data("context")).removeClass("disabled")):this.value==="true"&&(n(n(this).data("target")).removeClass("disabled"),typeof n(this).data("context")!="undefined"&&n(n(this).data("context")).addClass("disabled"))});const i=n(".js-tracker-issue-style");i.on("change input",()=>{const u=i.filter(":checked").val();n("#tracker-issue-style-regex-box").toggleClass("disabled",u!=="regexp")})}Vf(".repository.labels"),n(".repository.new.milestone").length>0&&n("#clear-date").on("click",()=>(n("#deadline").val(""),!1)),n(".repository.new.repo").length>0&&n('input[name="gitignores"], input[name="license"]').on("change",()=>{const i=n('input[name="gitignores"]').val(),u=n('input[name="license"]').val();(i||u)&&n('input[name="auto_init"]').prop("checked",!0)}),n(".repository.diff").length&&(Ag(".choose.branch .dropdown"),xc(".choose.branch .dropdown")),kg(),Pg(),Kg(),n(".repository.view.issue").length>0&&(cy(),Kh(),qh(),Wh(),Hh(),ah(),zh(),Rh(),Mh(),Ih(),Fh(),Nh(),$l(),ay());const t=n(".repository.compare.pull");t.length>0&&t.find("button.show-form").on("click",function(i){i.preventDefault(),n(this).parent().hide();const u=t.find(".pullrequest-form");u.show(),u.find("textarea.edit_area").each(function(){const p=rl(n(this));p&&p.codemirror.refresh()})}),Ov()}function cy(){n(".comment-header-right .context-dropdown").dropdown({action:"hide"}),n(document).on("click",".edit-content",sy),n(document).on("click",".quote-reply",function(e){n(this).closest(".dropdown").find(".menu").toggle("visible");const t=n(this).data("target"),u=`> ${n(`#comment-${t}`).text().replace(/\n/g,`
|
|
> `)}
|
|
|
|
`;let p;if(n(this).hasClass("quote-reply-diff")){const _=n(this).closest(".comment-code-cloud");_.find("button.comment-form-reply").trigger("click"),p=rl(_.find('[name="content"]'))}else p=rl(n("#comment-form .edit_area"));p&&(p.value()!==""?p.value(`${p.value()}
|
|
|
|
${u}`):p.value(`${u}`),requestAnimationFrame(()=>{p.codemirror.focus(),p.codemirror.setCursor(p.codemirror.lineCount(),0)})),e.preventDefault()})}const{lang:Ql}=document.documentElement,uy=new Intl.DateTimeFormat(Ql,{year:"numeric",month:"long",day:"numeric"}),fy=new Intl.DateTimeFormat(Ql,{year:"numeric",month:"short",day:"numeric"}),dy=new Intl.DateTimeFormat(Ql,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"});function py(){for(const e of document.getElementsByClassName("js-pretty-number")){const t=Number(e.getAttribute("data-value")),i=d(t,Ql);i&&i!==e.textContent&&(e.textContent=i)}my()}function my(){const e=document.querySelectorAll("time[data-format]");for(const t of e){const i=hy(t.dataset.format);t.textContent=i.format(new Date(t.dateTime))}}function hy(e){switch(e){case"date":return uy;case"short-date":return fy;case"date-time":return dy;default:throw new Error("Unknown format")}}var gy=(e,t,i)=>new Promise((u,p)=>{var _=S=>{try{O(i.next(S))}catch(Q){p(Q)}},j=S=>{try{O(i.throw(S))}catch(Q){p(Q)}},O=S=>S.done?u(S.value):Promise.resolve(S.value).then(_,j);O((i=i.apply(e,t)).next())});function vy(){return gy(this,null,function*(){const e=document.querySelector(".m-captcha");if(!e)return;const{default:t}=yield gi.e("mcaptcha-vanilla-glue").then(gi.t.bind(gi,"./node_modules/@mcaptcha/vanilla-glue/dist/index.js",19));t.INPUT_NAME="m-captcha-response";const i=e.getAttribute("data-sitekey"),u=e.getAttribute("data-instance-url");t.default({siteKey:{instanceUrl:new URL(u),key:i}})})}py(),n.fn.tab.settings.silent=!0,n.fn.checkbox.settings.enableEnterKey=!1,ee(),n(document).ready(()=>{ug(),cg(),lg(),pg(),Ae(),fg(),sg(),rg(),dg(),o(document.querySelectorAll("#content, .emoji-input")),wv(),xv(),gv(),bv(),vv(),ag(),og(),Yu(),c(),Rp(),Ip(),tm(),Tl(),Kp(),Cg(),gm(),Yp(),Tm(),bg(),vg(),Xp(),Zp(),yn(),rm(),hc(),Xg(),Gg(),Qn(),Og(),jv(),Sg(),oy(),Yh(),Gh(),rh(),nh(),ih(),oh(),wh(),pv(),b(),Nu(),Ph(),Dh(),Vh(),Ah(),Uh(),Np(),Sf(),Up(),Lh(),Bh(),$h(),ov(),sv(),qg(),Wg(),zg(),wg(),gg(),Ev(),ly(),Xh(),vy(),xh(),jh(),tv(),nv(),Tg(),sf(),mg()})}(),function(){"use strict"}(),function(){"use strict"}(),function(){"use strict"}()})();
|