const uu=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))r(n);new MutationObserver(n=>{for(const s of n)if(s.type==="childList")for(const a of s.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function i(n){const s={};return n.integrity&&(s.integrity=n.integrity),n.referrerpolicy&&(s.referrerPolicy=n.referrerpolicy),n.crossorigin==="use-credentials"?s.credentials="include":n.crossorigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(n){if(n.ep)return;n.ep=!0;const s=i(n);fetch(n.href,s)}};uu();function is(e,t){const i=Object.create(null),r=e.split(",");for(let n=0;n!!i[n.toLowerCase()]:n=>!!i[n]}const fu="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",cu=is(fu);function ra(e){return!!e||e===""}function rr(e){if(Se(e)){const t={};for(let i=0;i{if(i){const r=i.split(du);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function _t(e){let t="";if(st(e))t=e;else if(Se(e))for(let i=0;iSi(i,t))}const Ke=e=>st(e)?e:e==null?"":Se(e)||tt(e)&&(e.toString===aa||!Pe(e.toString))?JSON.stringify(e,sa,2):String(e),sa=(e,t)=>t&&t.__v_isRef?sa(e,t.value):Dn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((i,[r,n])=>(i[`${r} =>`]=n,i),{})}:$n(t)?{[`Set(${t.size})`]:[...t.values()]}:tt(t)&&!Se(t)&&!la(t)?String(t):t,Qe={},Bn=[],Ft=()=>{},vu=()=>!1,_u=/^on[^a-z]/,sr=e=>_u.test(e),ss=e=>e.startsWith("onUpdate:"),ht=Object.assign,os=(e,t)=>{const i=e.indexOf(t);i>-1&&e.splice(i,1)},xu=Object.prototype.hasOwnProperty,Re=(e,t)=>xu.call(e,t),Se=Array.isArray,Dn=e=>ji(e)==="[object Map]",$n=e=>ji(e)==="[object Set]",to=e=>ji(e)==="[object Date]",Pe=e=>typeof e=="function",st=e=>typeof e=="string",hi=e=>typeof e=="symbol",tt=e=>e!==null&&typeof e=="object",oa=e=>tt(e)&&Pe(e.then)&&Pe(e.catch),aa=Object.prototype.toString,ji=e=>aa.call(e),yu=e=>ji(e).slice(8,-1),la=e=>ji(e)==="[object Object]",as=e=>st(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,$i=is(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),or=e=>{const t=Object.create(null);return i=>t[i]||(t[i]=e(i))},wu=/-(\w)/g,Xt=or(e=>e.replace(wu,(t,i)=>i?i.toUpperCase():"")),bu=/\B([A-Z])/g,Un=or(e=>e.replace(bu,"-$1").toLowerCase()),ar=or(e=>e.charAt(0).toUpperCase()+e.slice(1)),Or=or(e=>e?`on${ar(e)}`:""),di=(e,t)=>!Object.is(e,t),Ui=(e,t)=>{for(let i=0;i{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:i})},pi=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let no;const Su=()=>no||(no=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let Vt;class ju{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&Vt&&(this.parent=Vt,this.index=(Vt.scopes||(Vt.scopes=[])).push(this)-1)}run(t){if(this.active){const i=Vt;try{return Vt=this,t()}finally{Vt=i}}}on(){Vt=this}off(){Vt=this.parent}stop(t){if(this.active){let i,r;for(i=0,r=this.effects.length;i{const t=new Set(e);return t.w=0,t.n=0,t},ua=e=>(e.w&cn)>0,fa=e=>(e.n&cn)>0,qu=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let i=0;for(let r=0;r{(d==="length"||d>=r)&&u.push(c)});else switch(i!==void 0&&u.push(a.get(i)),t){case"add":Se(e)?as(i)&&u.push(a.get("length")):(u.push(a.get(qn)),Dn(e)&&u.push(a.get(Dr)));break;case"delete":Se(e)||(u.push(a.get(qn)),Dn(e)&&u.push(a.get(Dr)));break;case"set":Dn(e)&&u.push(a.get(qn));break}if(u.length===1)u[0]&&zr(u[0]);else{const c=[];for(const d of u)d&&c.push(...d);zr(ls(c))}}function zr(e,t){const i=Se(e)?e:[...e];for(const r of i)r.computed&&ro(r);for(const r of i)r.computed||ro(r)}function ro(e,t){(e!==It||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Cu=is("__proto__,__v_isRef,__isVue"),da=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(hi)),Tu=fs(),Ou=fs(!1,!0),Eu=fs(!0),so=Pu();function Pu(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...i){const r=Ve(this);for(let s=0,a=this.length;s{e[t]=function(...i){Gn();const r=Ve(this)[t].apply(this,i);return Jn(),r}}),e}function fs(e=!1,t=!1){return function(r,n,s){if(n==="__v_isReactive")return!e;if(n==="__v_isReadonly")return e;if(n==="__v_isShallow")return t;if(n==="__v_raw"&&s===(e?t?Gu:_a:t?va:ga).get(r))return r;const a=Se(r);if(!e&&a&&Re(so,n))return Reflect.get(so,n,s);const u=Reflect.get(r,n,s);return(hi(n)?da.has(n):Cu(n))||(e||Ct(r,"get",n),t)?u:pt(u)?a&&as(n)?u:u.value:tt(u)?e?xa(u):ki(u):u}}const Lu=pa(),Au=pa(!0);function pa(e=!1){return function(i,r,n,s){let a=i[r];if(mi(a)&&pt(a)&&!pt(n))return!1;if(!e&&!mi(n)&&(Vr(n)||(n=Ve(n),a=Ve(a)),!Se(i)&&pt(a)&&!pt(n)))return a.value=n,!0;const u=Se(i)&&as(r)?Number(r)e,lr=e=>Reflect.getPrototypeOf(e);function zi(e,t,i=!1,r=!1){e=e.__v_raw;const n=Ve(e),s=Ve(t);i||(t!==s&&Ct(n,"get",t),Ct(n,"get",s));const{has:a}=lr(n),u=r?cs:i?ps:gi;if(a.call(n,t))return u(e.get(t));if(a.call(n,s))return u(e.get(s));e!==n&&e.get(t)}function Vi(e,t=!1){const i=this.__v_raw,r=Ve(i),n=Ve(e);return t||(e!==n&&Ct(r,"has",e),Ct(r,"has",n)),e===n?i.has(e):i.has(e)||i.has(n)}function Hi(e,t=!1){return e=e.__v_raw,!t&&Ct(Ve(e),"iterate",qn),Reflect.get(e,"size",e)}function oo(e){e=Ve(e);const t=Ve(this);return lr(t).has.call(t,e)||(t.add(e),Ut(t,"add",e,e)),this}function ao(e,t){t=Ve(t);const i=Ve(this),{has:r,get:n}=lr(i);let s=r.call(i,e);s||(e=Ve(e),s=r.call(i,e));const a=n.call(i,e);return i.set(e,t),s?di(t,a)&&Ut(i,"set",e,t):Ut(i,"add",e,t),this}function lo(e){const t=Ve(this),{has:i,get:r}=lr(t);let n=i.call(t,e);n||(e=Ve(e),n=i.call(t,e)),r&&r.call(t,e);const s=t.delete(e);return n&&Ut(t,"delete",e,void 0),s}function uo(){const e=Ve(this),t=e.size!==0,i=e.clear();return t&&Ut(e,"clear",void 0,void 0),i}function Wi(e,t){return function(r,n){const s=this,a=s.__v_raw,u=Ve(a),c=t?cs:e?ps:gi;return!e&&Ct(u,"iterate",qn),a.forEach((d,m)=>r.call(n,c(d),c(m),s))}}function Xi(e,t,i){return function(...r){const n=this.__v_raw,s=Ve(n),a=Dn(s),u=e==="entries"||e===Symbol.iterator&&a,c=e==="keys"&&a,d=n[e](...r),m=i?cs:t?ps:gi;return!t&&Ct(s,"iterate",c?Dr:qn),{next(){const{value:v,done:_}=d.next();return _?{value:v,done:_}:{value:u?[m(v[0]),m(v[1])]:m(v),done:_}},[Symbol.iterator](){return this}}}}function Kt(e){return function(...t){return e==="delete"?!1:this}}function Du(){const e={get(s){return zi(this,s)},get size(){return Hi(this)},has:Vi,add:oo,set:ao,delete:lo,clear:uo,forEach:Wi(!1,!1)},t={get(s){return zi(this,s,!1,!0)},get size(){return Hi(this)},has:Vi,add:oo,set:ao,delete:lo,clear:uo,forEach:Wi(!1,!0)},i={get(s){return zi(this,s,!0)},get size(){return Hi(this,!0)},has(s){return Vi.call(this,s,!0)},add:Kt("add"),set:Kt("set"),delete:Kt("delete"),clear:Kt("clear"),forEach:Wi(!0,!1)},r={get(s){return zi(this,s,!0,!0)},get size(){return Hi(this,!0)},has(s){return Vi.call(this,s,!0)},add:Kt("add"),set:Kt("set"),delete:Kt("delete"),clear:Kt("clear"),forEach:Wi(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=Xi(s,!1,!1),i[s]=Xi(s,!0,!1),t[s]=Xi(s,!1,!0),r[s]=Xi(s,!0,!0)}),[e,i,t,r]}const[zu,Vu,Hu,Wu]=Du();function hs(e,t){const i=t?e?Wu:Hu:e?Vu:zu;return(r,n,s)=>n==="__v_isReactive"?!e:n==="__v_isReadonly"?e:n==="__v_raw"?r:Reflect.get(Re(i,n)&&n in r?i:r,n,s)}const Xu={get:hs(!1,!1)},$u={get:hs(!1,!0)},Uu={get:hs(!0,!1)},ga=new WeakMap,va=new WeakMap,_a=new WeakMap,Gu=new WeakMap;function Ju(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Qu(e){return e.__v_skip||!Object.isExtensible(e)?0:Ju(yu(e))}function ki(e){return mi(e)?e:ds(e,!1,ma,Xu,ga)}function Yu(e){return ds(e,!1,Bu,$u,va)}function xa(e){return ds(e,!0,Fu,Uu,_a)}function ds(e,t,i,r,n){if(!tt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=n.get(e);if(s)return s;const a=Qu(e);if(a===0)return e;const u=new Proxy(e,a===2?r:i);return n.set(e,u),u}function zn(e){return mi(e)?zn(e.__v_raw):!!(e&&e.__v_isReactive)}function mi(e){return!!(e&&e.__v_isReadonly)}function Vr(e){return!!(e&&e.__v_isShallow)}function ya(e){return zn(e)||mi(e)}function Ve(e){const t=e&&e.__v_raw;return t?Ve(t):e}function wa(e){return Yi(e,"__v_skip",!0),e}const gi=e=>tt(e)?ki(e):e,ps=e=>tt(e)?xa(e):e;function ba(e){ln&&It&&(e=Ve(e),ha(e.dep||(e.dep=ls())))}function Sa(e,t){e=Ve(e),e.dep&&zr(e.dep)}function pt(e){return!!(e&&e.__v_isRef===!0)}function ja(e){return qa(e,!1)}function ka(e){return qa(e,!0)}function qa(e,t){return pt(e)?e:new Ku(e,t)}class Ku{constructor(t,i){this.__v_isShallow=i,this.dep=void 0,this.__v_isRef=!0,this._rawValue=i?t:Ve(t),this._value=i?t:gi(t)}get value(){return ba(this),this._value}set value(t){t=this.__v_isShallow?t:Ve(t),di(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:gi(t),Sa(this))}}function ri(e){return pt(e)?e.value:e}const Zu={get:(e,t,i)=>ri(Reflect.get(e,t,i)),set:(e,t,i,r)=>{const n=e[t];return pt(n)&&!pt(i)?(n.value=i,!0):Reflect.set(e,t,i,r)}};function Ma(e){return zn(e)?e:new Proxy(e,Zu)}class ef{constructor(t,i,r,n){this._setter=i,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new us(t,()=>{this._dirty||(this._dirty=!0,Sa(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!n,this.__v_isReadonly=r}get value(){const t=Ve(this);return ba(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function tf(e,t,i=!1){let r,n;const s=Pe(e);return s?(r=e,n=Ft):(r=e.get,n=e.set),new ef(r,n,s||!n,i)}function un(e,t,i,r){let n;try{n=r?e(...r):e()}catch(s){ur(s,t,i)}return n}function Et(e,t,i,r){if(Pe(e)){const s=un(e,t,i,r);return s&&oa(s)&&s.catch(a=>{ur(a,t,i)}),s}const n=[];for(let s=0;s>>1;vi(Mt[r])$t&&Mt.splice(t,1)}function Pa(e,t,i,r){Se(e)?i.push(...e):(!t||!t.includes(e,e.allowRecurse?r+1:r))&&i.push(e),Ea()}function of(e){Pa(e,ii,si,In)}function af(e){Pa(e,rn,oi,Rn)}function fr(e,t=null){if(si.length){for(Wr=t,ii=[...new Set(si)],si.length=0,In=0;Invi(i)-vi(r)),Rn=0;Rne.id==null?1/0:e.id;function Aa(e){Hr=!1,Ki=!0,fr(e),Mt.sort((i,r)=>vi(i)-vi(r));const t=Ft;try{for($t=0;$tS.trim())),v&&(n=i.map(pi))}let u,c=r[u=Or(t)]||r[u=Or(Xt(t))];!c&&s&&(c=r[u=Or(Un(t))]),c&&Et(c,e,6,n);const d=r[u+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[u])return;e.emitted[u]=!0,Et(d,e,6,n)}}function Na(e,t,i=!1){const r=t.emitsCache,n=r.get(e);if(n!==void 0)return n;const s=e.emits;let a={},u=!1;if(!Pe(e)){const c=d=>{const m=Na(d,t,!0);m&&(u=!0,ht(a,m))};!i&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!s&&!u?(r.set(e,null),null):(Se(s)?s.forEach(c=>a[c]=null):ht(a,s),r.set(e,a),a)}function cr(e,t){return!e||!sr(t)?!1:(t=t.slice(2).replace(/Once$/,""),Re(e,t[0].toLowerCase()+t.slice(1))||Re(e,Un(t))||Re(e,t))}let mt=null,Ia=null;function Zi(e){const t=mt;return mt=e,Ia=e&&e.type.__scopeId||null,t}function gs(e,t=mt,i){if(!t||e._n)return e;const r=(...n)=>{r._d&&wo(-1);const s=Zi(t),a=e(...n);return Zi(s),r._d&&wo(1),a};return r._n=!0,r._c=!0,r._d=!0,r}function Er(e){const{type:t,vnode:i,proxy:r,withProxy:n,props:s,propsOptions:[a],slots:u,attrs:c,emit:d,render:m,renderCache:v,data:_,setupState:S,ctx:l,inheritAttrs:w}=e;let C,L;const A=Zi(e);try{if(i.shapeFlag&4){const E=n||r;C=Ht(m.call(E,E,v,s,S,_,l)),L=c}else{const E=t;C=Ht(E.length>1?E(s,{attrs:c,slots:u,emit:d}):E(s,null)),L=t.props?c:uf(c)}}catch(E){ui.length=0,ur(E,e,1),C=Je(Pt)}let O=C;if(L&&w!==!1){const E=Object.keys(L),{shapeFlag:Q}=O;E.length&&Q&7&&(a&&E.some(ss)&&(L=ff(L,a)),O=hn(O,L))}return i.dirs&&(O=hn(O),O.dirs=O.dirs?O.dirs.concat(i.dirs):i.dirs),i.transition&&(O.transition=i.transition),C=O,Zi(A),C}const uf=e=>{let t;for(const i in e)(i==="class"||i==="style"||sr(i))&&((t||(t={}))[i]=e[i]);return t},ff=(e,t)=>{const i={};for(const r in e)(!ss(r)||!(r.slice(9)in t))&&(i[r]=e[r]);return i};function cf(e,t,i){const{props:r,children:n,component:s}=e,{props:a,children:u,patchFlag:c}=t,d=s.emitsOptions;if(t.dirs||t.transition)return!0;if(i&&c>=0){if(c&1024)return!0;if(c&16)return r?fo(r,a,d):!!a;if(c&8){const m=t.dynamicProps;for(let v=0;ve.__isSuspense;function pf(e,t){t&&t.pendingBranch?Se(e)?t.effects.push(...e):t.effects.push(e):af(e)}function Gi(e,t){if(ft){let i=ft.provides;const r=ft.parent&&ft.parent.provides;r===i&&(i=ft.provides=Object.create(r)),i[e]=t}}function fn(e,t,i=!1){const r=ft||mt;if(r){const n=r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(n&&e in n)return n[e];if(arguments.length>1)return i&&Pe(t)?t.call(r.proxy):t}}const co={};function ai(e,t,i){return Ra(e,t,i)}function Ra(e,t,{immediate:i,deep:r,flush:n,onTrack:s,onTrigger:a}=Qe){const u=ft;let c,d=!1,m=!1;if(pt(e)?(c=()=>e.value,d=Vr(e)):zn(e)?(c=()=>e,r=!0):Se(e)?(m=!0,d=e.some(L=>zn(L)||Vr(L)),c=()=>e.map(L=>{if(pt(L))return L.value;if(zn(L))return kn(L);if(Pe(L))return un(L,u,2)})):Pe(e)?t?c=()=>un(e,u,2):c=()=>{if(!(u&&u.isUnmounted))return v&&v(),Et(e,u,3,[_])}:c=Ft,t&&r){const L=c;c=()=>kn(L())}let v,_=L=>{v=C.onStop=()=>{un(L,u,4)}};if(yi)return _=Ft,t?i&&Et(t,u,3,[c(),m?[]:void 0,_]):c(),Ft;let S=m?[]:co;const l=()=>{if(!!C.active)if(t){const L=C.run();(r||d||(m?L.some((A,O)=>di(A,S[O])):di(L,S)))&&(v&&v(),Et(t,u,3,[L,S===co?void 0:S,_]),S=L)}else C.run()};l.allowRecurse=!!t;let w;n==="sync"?w=l:n==="post"?w=()=>yt(l,u&&u.suspense):w=()=>of(l);const C=new us(c,w);return t?i?l():S=C.run():n==="post"?yt(C.run.bind(C),u&&u.suspense):C.run(),()=>{C.stop(),u&&u.scope&&os(u.scope.effects,C)}}function mf(e,t,i){const r=this.proxy,n=st(e)?e.includes(".")?Fa(r,e):()=>r[e]:e.bind(r,r);let s;Pe(t)?s=t:(s=t.handler,i=t);const a=ft;Vn(this);const u=Ra(n,s.bind(r),i);return a?Vn(a):Mn(),u}function Fa(e,t){const i=t.split(".");return()=>{let r=e;for(let n=0;n{kn(i,t)});else if(la(e))for(const i in e)kn(e[i],t);return e}function gf(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ha(()=>{e.isMounted=!0}),Wa(()=>{e.isUnmounting=!0}),e}const Ot=[Function,Array],vf={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ot,onEnter:Ot,onAfterEnter:Ot,onEnterCancelled:Ot,onBeforeLeave:Ot,onLeave:Ot,onAfterLeave:Ot,onLeaveCancelled:Ot,onBeforeAppear:Ot,onAppear:Ot,onAfterAppear:Ot,onAppearCancelled:Ot},setup(e,{slots:t}){const i=Yf(),r=gf();let n;return()=>{const s=t.default&&za(t.default(),!0);if(!s||!s.length)return;let a=s[0];if(s.length>1){for(const w of s)if(w.type!==Pt){a=w;break}}const u=Ve(e),{mode:c}=u;if(r.isLeaving)return Pr(a);const d=ho(a);if(!d)return Pr(a);const m=Xr(d,u,r,i);$r(d,m);const v=i.subTree,_=v&&ho(v);let S=!1;const{getTransitionKey:l}=d.type;if(l){const w=l();n===void 0?n=w:w!==n&&(n=w,S=!0)}if(_&&_.type!==Pt&&(!Sn(d,_)||S)){const w=Xr(_,u,r,i);if($r(_,w),c==="out-in")return r.isLeaving=!0,w.afterLeave=()=>{r.isLeaving=!1,i.update()},Pr(a);c==="in-out"&&d.type!==Pt&&(w.delayLeave=(C,L,A)=>{const O=Da(r,_);O[String(_.key)]=_,C._leaveCb=()=>{L(),C._leaveCb=void 0,delete m.delayedLeave},m.delayedLeave=A})}return a}}},Ba=vf;function Da(e,t){const{leavingVNodes:i}=e;let r=i.get(t.type);return r||(r=Object.create(null),i.set(t.type,r)),r}function Xr(e,t,i,r){const{appear:n,mode:s,persisted:a=!1,onBeforeEnter:u,onEnter:c,onAfterEnter:d,onEnterCancelled:m,onBeforeLeave:v,onLeave:_,onAfterLeave:S,onLeaveCancelled:l,onBeforeAppear:w,onAppear:C,onAfterAppear:L,onAppearCancelled:A}=t,O=String(e.key),E=Da(i,e),Q=(D,le)=>{D&&Et(D,r,9,le)},H=(D,le)=>{const U=le[1];Q(D,le),Se(D)?D.every(pe=>pe.length<=1)&&U():D.length<=1&&U()},de={mode:s,persisted:a,beforeEnter(D){let le=u;if(!i.isMounted)if(n)le=w||u;else return;D._leaveCb&&D._leaveCb(!0);const U=E[O];U&&Sn(e,U)&&U.el._leaveCb&&U.el._leaveCb(),Q(le,[D])},enter(D){let le=c,U=d,pe=m;if(!i.isMounted)if(n)le=C||c,U=L||d,pe=A||m;else return;let Y=!1;const xe=D._enterCb=Te=>{Y||(Y=!0,Te?Q(pe,[D]):Q(U,[D]),de.delayedLeave&&de.delayedLeave(),D._enterCb=void 0)};le?H(le,[D,xe]):xe()},leave(D,le){const U=String(e.key);if(D._enterCb&&D._enterCb(!0),i.isUnmounting)return le();Q(v,[D]);let pe=!1;const Y=D._leaveCb=xe=>{pe||(pe=!0,le(),xe?Q(l,[D]):Q(S,[D]),D._leaveCb=void 0,E[U]===e&&delete E[U])};E[U]=e,_?H(_,[D,Y]):Y()},clone(D){return Xr(D,t,i,r)}};return de}function Pr(e){if(hr(e))return e=hn(e),e.children=null,e}function ho(e){return hr(e)?e.children?e.children[0]:void 0:e}function $r(e,t){e.shapeFlag&6&&e.component?$r(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function za(e,t=!1,i){let r=[],n=0;for(let s=0;s1)for(let s=0;s!!e.type.__asyncLoader,hr=e=>e.type.__isKeepAlive;function _f(e,t){Va(e,"a",t)}function xf(e,t){Va(e,"da",t)}function Va(e,t,i=ft){const r=e.__wdc||(e.__wdc=()=>{let n=i;for(;n;){if(n.isDeactivated)return;n=n.parent}return e()});if(dr(t,r,i),i){let n=i.parent;for(;n&&n.parent;)hr(n.parent.vnode)&&yf(r,t,i,n),n=n.parent}}function yf(e,t,i,r){const n=dr(t,e,r,!0);Xa(()=>{os(r[t],n)},i)}function dr(e,t,i=ft,r=!1){if(i){const n=i[e]||(i[e]=[]),s=t.__weh||(t.__weh=(...a)=>{if(i.isUnmounted)return;Gn(),Vn(i);const u=Et(t,i,e,a);return Mn(),Jn(),u});return r?n.unshift(s):n.push(s),s}}const Gt=e=>(t,i=ft)=>(!yi||e==="sp")&&dr(e,t,i),wf=Gt("bm"),Ha=Gt("m"),bf=Gt("bu"),Sf=Gt("u"),Wa=Gt("bum"),Xa=Gt("um"),jf=Gt("sp"),kf=Gt("rtg"),qf=Gt("rtc");function Mf(e,t=ft){dr("ec",e,t)}function Xe(e,t){const i=mt;if(i===null)return e;const r=mr(i)||i.proxy,n=e.dirs||(e.dirs=[]);for(let s=0;st(a,u,void 0,s&&s[u]));else{const a=Object.keys(e);n=new Array(a.length);for(let u=0,c=a.length;unr(t)?!(t.type===Pt||t.type===Ze&&!Ga(t.children)):!0)?e:null}const Ur=e=>e?ll(e)?mr(e)||e.proxy:Ur(e.parent):null,er=ht(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ur(e.parent),$root:e=>Ur(e.root),$emit:e=>e.emit,$options:e=>Qa(e),$forceUpdate:e=>e.f||(e.f=()=>Oa(e.update)),$nextTick:e=>e.n||(e.n=Ta.bind(e.proxy)),$watch:e=>mf.bind(e)}),Tf={get({_:e},t){const{ctx:i,setupState:r,data:n,props:s,accessCache:a,type:u,appContext:c}=e;let d;if(t[0]!=="$"){const S=a[t];if(S!==void 0)switch(S){case 1:return r[t];case 2:return n[t];case 4:return i[t];case 3:return s[t]}else{if(r!==Qe&&Re(r,t))return a[t]=1,r[t];if(n!==Qe&&Re(n,t))return a[t]=2,n[t];if((d=e.propsOptions[0])&&Re(d,t))return a[t]=3,s[t];if(i!==Qe&&Re(i,t))return a[t]=4,i[t];Gr&&(a[t]=0)}}const m=er[t];let v,_;if(m)return t==="$attrs"&&Ct(e,"get",t),m(e);if((v=u.__cssModules)&&(v=v[t]))return v;if(i!==Qe&&Re(i,t))return a[t]=4,i[t];if(_=c.config.globalProperties,Re(_,t))return _[t]},set({_:e},t,i){const{data:r,setupState:n,ctx:s}=e;return n!==Qe&&Re(n,t)?(n[t]=i,!0):r!==Qe&&Re(r,t)?(r[t]=i,!0):Re(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=i,!0)},has({_:{data:e,setupState:t,accessCache:i,ctx:r,appContext:n,propsOptions:s}},a){let u;return!!i[a]||e!==Qe&&Re(e,a)||t!==Qe&&Re(t,a)||(u=s[0])&&Re(u,a)||Re(r,a)||Re(er,a)||Re(n.config.globalProperties,a)},defineProperty(e,t,i){return i.get!=null?e._.accessCache[t]=0:Re(i,"value")&&this.set(e,t,i.value,null),Reflect.defineProperty(e,t,i)}};let Gr=!0;function Of(e){const t=Qa(e),i=e.proxy,r=e.ctx;Gr=!1,t.beforeCreate&&mo(t.beforeCreate,e,"bc");const{data:n,computed:s,methods:a,watch:u,provide:c,inject:d,created:m,beforeMount:v,mounted:_,beforeUpdate:S,updated:l,activated:w,deactivated:C,beforeDestroy:L,beforeUnmount:A,destroyed:O,unmounted:E,render:Q,renderTracked:H,renderTriggered:de,errorCaptured:D,serverPrefetch:le,expose:U,inheritAttrs:pe,components:Y,directives:xe,filters:Te}=t;if(d&&Ef(d,r,null,e.appContext.config.unwrapInjectedRef),a)for(const Ae in a){const Ce=a[Ae];Pe(Ce)&&(r[Ae]=Ce.bind(i))}if(n){const Ae=n.call(i,i);tt(Ae)&&(e.data=ki(Ae))}if(Gr=!0,s)for(const Ae in s){const Ce=s[Ae],Ie=Pe(Ce)?Ce.bind(i,i):Pe(Ce.get)?Ce.get.bind(i,i):Ft,lt=!Pe(Ce)&&Pe(Ce.set)?Ce.set.bind(i):Ft,rt=Wt({get:Ie,set:lt});Object.defineProperty(r,Ae,{enumerable:!0,configurable:!0,get:()=>rt.value,set:nt=>rt.value=nt})}if(u)for(const Ae in u)Ja(u[Ae],r,i,Ae);if(c){const Ae=Pe(c)?c.call(i):c;Reflect.ownKeys(Ae).forEach(Ce=>{Gi(Ce,Ae[Ce])})}m&&mo(m,e,"c");function we(Ae,Ce){Se(Ce)?Ce.forEach(Ie=>Ae(Ie.bind(i))):Ce&&Ae(Ce.bind(i))}if(we(wf,v),we(Ha,_),we(bf,S),we(Sf,l),we(_f,w),we(xf,C),we(Mf,D),we(qf,H),we(kf,de),we(Wa,A),we(Xa,E),we(jf,le),Se(U))if(U.length){const Ae=e.exposed||(e.exposed={});U.forEach(Ce=>{Object.defineProperty(Ae,Ce,{get:()=>i[Ce],set:Ie=>i[Ce]=Ie})})}else e.exposed||(e.exposed={});Q&&e.render===Ft&&(e.render=Q),pe!=null&&(e.inheritAttrs=pe),Y&&(e.components=Y),xe&&(e.directives=xe)}function Ef(e,t,i=Ft,r=!1){Se(e)&&(e=Jr(e));for(const n in e){const s=e[n];let a;tt(s)?"default"in s?a=fn(s.from||n,s.default,!0):a=fn(s.from||n):a=fn(s),pt(a)&&r?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>a.value,set:u=>a.value=u}):t[n]=a}}function mo(e,t,i){Et(Se(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,i)}function Ja(e,t,i,r){const n=r.includes(".")?Fa(i,r):()=>i[r];if(st(e)){const s=t[e];Pe(s)&&ai(n,s)}else if(Pe(e))ai(n,e.bind(i));else if(tt(e))if(Se(e))e.forEach(s=>Ja(s,t,i,r));else{const s=Pe(e.handler)?e.handler.bind(i):t[e.handler];Pe(s)&&ai(n,s,e)}}function Qa(e){const t=e.type,{mixins:i,extends:r}=t,{mixins:n,optionsCache:s,config:{optionMergeStrategies:a}}=e.appContext,u=s.get(t);let c;return u?c=u:!n.length&&!i&&!r?c=t:(c={},n.length&&n.forEach(d=>tr(c,d,a,!0)),tr(c,t,a)),s.set(t,c),c}function tr(e,t,i,r=!1){const{mixins:n,extends:s}=t;s&&tr(e,s,i,!0),n&&n.forEach(a=>tr(e,a,i,!0));for(const a in t)if(!(r&&a==="expose")){const u=Pf[a]||i&&i[a];e[a]=u?u(e[a],t[a]):t[a]}return e}const Pf={data:go,props:bn,emits:bn,methods:bn,computed:bn,beforeCreate:vt,created:vt,beforeMount:vt,mounted:vt,beforeUpdate:vt,updated:vt,beforeDestroy:vt,beforeUnmount:vt,destroyed:vt,unmounted:vt,activated:vt,deactivated:vt,errorCaptured:vt,serverPrefetch:vt,components:bn,directives:bn,watch:Af,provide:go,inject:Lf};function go(e,t){return t?e?function(){return ht(Pe(e)?e.call(this,this):e,Pe(t)?t.call(this,this):t)}:t:e}function Lf(e,t){return bn(Jr(e),Jr(t))}function Jr(e){if(Se(e)){const t={};for(let i=0;i0)&&!(a&16)){if(a&8){const m=e.vnode.dynamicProps;for(let v=0;v{c=!0;const[_,S]=Ka(v,t,!0);ht(a,_),S&&u.push(...S)};!i&&t.mixins.length&&t.mixins.forEach(m),e.extends&&m(e.extends),e.mixins&&e.mixins.forEach(m)}if(!s&&!c)return r.set(e,Bn),Bn;if(Se(s))for(let m=0;m-1,S[1]=w<0||l-1||Re(S,"default"))&&u.push(v)}}}const d=[a,u];return r.set(e,d),d}function vo(e){return e[0]!=="$"}function _o(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function xo(e,t){return _o(e)===_o(t)}function yo(e,t){return Se(t)?t.findIndex(i=>xo(i,e)):Pe(t)&&xo(t,e)?0:-1}const Za=e=>e[0]==="_"||e==="$stable",xs=e=>Se(e)?e.map(Ht):[Ht(e)],Rf=(e,t,i)=>{if(t._n)return t;const r=gs((...n)=>xs(t(...n)),i);return r._c=!1,r},el=(e,t,i)=>{const r=e._ctx;for(const n in e){if(Za(n))continue;const s=e[n];if(Pe(s))t[n]=Rf(n,s,r);else if(s!=null){const a=xs(s);t[n]=()=>a}}},tl=(e,t)=>{const i=xs(t);e.slots.default=()=>i},Ff=(e,t)=>{if(e.vnode.shapeFlag&32){const i=t._;i?(e.slots=Ve(t),Yi(t,"_",i)):el(t,e.slots={})}else e.slots={},t&&tl(e,t);Yi(e.slots,pr,1)},Bf=(e,t,i)=>{const{vnode:r,slots:n}=e;let s=!0,a=Qe;if(r.shapeFlag&32){const u=t._;u?i&&u===1?s=!1:(ht(n,t),!i&&u===1&&delete n._):(s=!t.$stable,el(t,n)),a=t}else t&&(tl(e,t),a={default:1});if(s)for(const u in n)!Za(u)&&!(u in a)&&delete n[u]};function nl(){return{app:null,config:{isNativeTag:vu,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 Df=0;function zf(e,t){return function(r,n=null){Pe(r)||(r=Object.assign({},r)),n!=null&&!tt(n)&&(n=null);const s=nl(),a=new Set;let u=!1;const c=s.app={_uid:Df++,_component:r,_props:n,_container:null,_context:s,_instance:null,version:rc,get config(){return s.config},set config(d){},use(d,...m){return a.has(d)||(d&&Pe(d.install)?(a.add(d),d.install(c,...m)):Pe(d)&&(a.add(d),d(c,...m))),c},mixin(d){return s.mixins.includes(d)||s.mixins.push(d),c},component(d,m){return m?(s.components[d]=m,c):s.components[d]},directive(d,m){return m?(s.directives[d]=m,c):s.directives[d]},mount(d,m,v){if(!u){const _=Je(r,n);return _.appContext=s,m&&t?t(_,d):e(_,d,v),u=!0,c._container=d,d.__vue_app__=c,mr(_.component)||_.component.proxy}},unmount(){u&&(e(null,c._container),delete c._container.__vue_app__)},provide(d,m){return s.provides[d]=m,c}};return c}}function Yr(e,t,i,r,n=!1){if(Se(e)){e.forEach((_,S)=>Yr(_,t&&(Se(t)?t[S]:t),i,r,n));return}if(li(r)&&!n)return;const s=r.shapeFlag&4?mr(r.component)||r.component.proxy:r.el,a=n?null:s,{i:u,r:c}=e,d=t&&t.r,m=u.refs===Qe?u.refs={}:u.refs,v=u.setupState;if(d!=null&&d!==c&&(st(d)?(m[d]=null,Re(v,d)&&(v[d]=null)):pt(d)&&(d.value=null)),Pe(c))un(c,u,12,[a,m]);else{const _=st(c),S=pt(c);if(_||S){const l=()=>{if(e.f){const w=_?m[c]:c.value;n?Se(w)&&os(w,s):Se(w)?w.includes(s)||w.push(s):_?(m[c]=[s],Re(v,c)&&(v[c]=m[c])):(c.value=[s],e.k&&(m[e.k]=c.value))}else _?(m[c]=a,Re(v,c)&&(v[c]=a)):S&&(c.value=a,e.k&&(m[e.k]=a))};a?(l.id=-1,yt(l,i)):l()}}}const yt=pf;function Vf(e){return Hf(e)}function Hf(e,t){const i=Su();i.__VUE__=!0;const{insert:r,remove:n,patchProp:s,createElement:a,createText:u,createComment:c,setText:d,setElementText:m,parentNode:v,nextSibling:_,setScopeId:S=Ft,cloneNode:l,insertStaticContent:w}=e,C=(j,P,T,R=null,V=null,ne=null,ue=!1,K=null,ae=!!P.dynamicChildren)=>{if(j===P)return;j&&!Sn(j,P)&&(R=me(j),ut(j,V,ne,!0),j=null),P.patchFlag===-2&&(ae=!1,P.dynamicChildren=null);const{type:G,ref:ge,shapeFlag:fe}=P;switch(G){case ys:L(j,P,T,R);break;case Pt:A(j,P,T,R);break;case Ji:j==null&&O(P,T,R,ue);break;case Ze:xe(j,P,T,R,V,ne,ue,K,ae);break;default:fe&1?H(j,P,T,R,V,ne,ue,K,ae):fe&6?Te(j,P,T,R,V,ne,ue,K,ae):(fe&64||fe&128)&&G.process(j,P,T,R,V,ne,ue,K,ae,De)}ge!=null&&V&&Yr(ge,j&&j.ref,ne,P||j,!P)},L=(j,P,T,R)=>{if(j==null)r(P.el=u(P.children),T,R);else{const V=P.el=j.el;P.children!==j.children&&d(V,P.children)}},A=(j,P,T,R)=>{j==null?r(P.el=c(P.children||""),T,R):P.el=j.el},O=(j,P,T,R)=>{[j.el,j.anchor]=w(j.children,P,T,R,j.el,j.anchor)},E=({el:j,anchor:P},T,R)=>{let V;for(;j&&j!==P;)V=_(j),r(j,T,R),j=V;r(P,T,R)},Q=({el:j,anchor:P})=>{let T;for(;j&&j!==P;)T=_(j),n(j),j=T;n(P)},H=(j,P,T,R,V,ne,ue,K,ae)=>{ue=ue||P.type==="svg",j==null?de(P,T,R,V,ne,ue,K,ae):U(j,P,V,ne,ue,K,ae)},de=(j,P,T,R,V,ne,ue,K)=>{let ae,G;const{type:ge,props:fe,shapeFlag:ye,transition:ke,patchFlag:Ne,dirs:ze}=j;if(j.el&&l!==void 0&&Ne===-1)ae=j.el=l(j.el);else{if(ae=j.el=a(j.type,ne,fe&&fe.is,fe),ye&8?m(ae,j.children):ye&16&&le(j.children,ae,null,R,V,ne&&ge!=="foreignObject",ue,K),ze&&_n(j,null,R,"created"),fe){for(const Ue in fe)Ue!=="value"&&!$i(Ue)&&s(ae,Ue,null,fe[Ue],ne,j.children,R,V,oe);"value"in fe&&s(ae,"value",null,fe.value),(G=fe.onVnodeBeforeMount)&&zt(G,R,j)}D(ae,j,j.scopeId,ue,R)}ze&&_n(j,null,R,"beforeMount");const He=(!V||V&&!V.pendingBranch)&&ke&&!ke.persisted;He&&ke.beforeEnter(ae),r(ae,P,T),((G=fe&&fe.onVnodeMounted)||He||ze)&&yt(()=>{G&&zt(G,R,j),He&&ke.enter(ae),ze&&_n(j,null,R,"mounted")},V)},D=(j,P,T,R,V)=>{if(T&&S(j,T),R)for(let ne=0;ne{for(let G=ae;G{const K=P.el=j.el;let{patchFlag:ae,dynamicChildren:G,dirs:ge}=P;ae|=j.patchFlag&16;const fe=j.props||Qe,ye=P.props||Qe;let ke;T&&xn(T,!1),(ke=ye.onVnodeBeforeUpdate)&&zt(ke,T,P,j),ge&&_n(P,j,T,"beforeUpdate"),T&&xn(T,!0);const Ne=V&&P.type!=="foreignObject";if(G?pe(j.dynamicChildren,G,K,T,R,Ne,ne):ue||Ie(j,P,K,null,T,R,Ne,ne,!1),ae>0){if(ae&16)Y(K,P,fe,ye,T,R,V);else if(ae&2&&fe.class!==ye.class&&s(K,"class",null,ye.class,V),ae&4&&s(K,"style",fe.style,ye.style,V),ae&8){const ze=P.dynamicProps;for(let He=0;He{ke&&zt(ke,T,P,j),ge&&_n(P,j,T,"updated")},R)},pe=(j,P,T,R,V,ne,ue)=>{for(let K=0;K{if(T!==R){for(const K in R){if($i(K))continue;const ae=R[K],G=T[K];ae!==G&&K!=="value"&&s(j,K,G,ae,ue,P.children,V,ne,oe)}if(T!==Qe)for(const K in T)!$i(K)&&!(K in R)&&s(j,K,T[K],null,ue,P.children,V,ne,oe);"value"in R&&s(j,"value",T.value,R.value)}},xe=(j,P,T,R,V,ne,ue,K,ae)=>{const G=P.el=j?j.el:u(""),ge=P.anchor=j?j.anchor:u("");let{patchFlag:fe,dynamicChildren:ye,slotScopeIds:ke}=P;ke&&(K=K?K.concat(ke):ke),j==null?(r(G,T,R),r(ge,T,R),le(P.children,T,ge,V,ne,ue,K,ae)):fe>0&&fe&64&&ye&&j.dynamicChildren?(pe(j.dynamicChildren,ye,T,V,ne,ue,K),(P.key!=null||V&&P===V.subTree)&&il(j,P,!0)):Ie(j,P,T,ge,V,ne,ue,K,ae)},Te=(j,P,T,R,V,ne,ue,K,ae)=>{P.slotScopeIds=K,j==null?P.shapeFlag&512?V.ctx.activate(P,T,R,ue,ae):je(P,T,R,V,ne,ue,ae):we(j,P,ae)},je=(j,P,T,R,V,ne,ue)=>{const K=j.component=Qf(j,R,V);if(hr(j)&&(K.ctx.renderer=De),Kf(K),K.asyncDep){if(V&&V.registerDep(K,Ae),!j.el){const ae=K.subTree=Je(Pt);A(null,ae,P,T)}return}Ae(K,j,P,T,V,ne,ue)},we=(j,P,T)=>{const R=P.component=j.component;if(cf(j,P,T))if(R.asyncDep&&!R.asyncResolved){Ce(R,P,T);return}else R.next=P,sf(R.update),R.update();else P.el=j.el,R.vnode=P},Ae=(j,P,T,R,V,ne,ue)=>{const K=()=>{if(j.isMounted){let{next:ge,bu:fe,u:ye,parent:ke,vnode:Ne}=j,ze=ge,He;xn(j,!1),ge?(ge.el=Ne.el,Ce(j,ge,ue)):ge=Ne,fe&&Ui(fe),(He=ge.props&&ge.props.onVnodeBeforeUpdate)&&zt(He,ke,ge,Ne),xn(j,!0);const Ue=Er(j),wt=j.subTree;j.subTree=Ue,C(wt,Ue,v(wt.el),me(wt),j,V,ne),ge.el=Ue.el,ze===null&&hf(j,Ue.el),ye&&yt(ye,V),(He=ge.props&&ge.props.onVnodeUpdated)&&yt(()=>zt(He,ke,ge,Ne),V)}else{let ge;const{el:fe,props:ye}=P,{bm:ke,m:Ne,parent:ze}=j,He=li(P);if(xn(j,!1),ke&&Ui(ke),!He&&(ge=ye&&ye.onVnodeBeforeMount)&&zt(ge,ze,P),xn(j,!0),fe&&qe){const Ue=()=>{j.subTree=Er(j),qe(fe,j.subTree,j,V,null)};He?P.type.__asyncLoader().then(()=>!j.isUnmounted&&Ue()):Ue()}else{const Ue=j.subTree=Er(j);C(null,Ue,T,R,j,V,ne),P.el=Ue.el}if(Ne&&yt(Ne,V),!He&&(ge=ye&&ye.onVnodeMounted)){const Ue=P;yt(()=>zt(ge,ze,Ue),V)}(P.shapeFlag&256||ze&&li(ze.vnode)&&ze.vnode.shapeFlag&256)&&j.a&&yt(j.a,V),j.isMounted=!0,P=T=R=null}},ae=j.effect=new us(K,()=>Oa(G),j.scope),G=j.update=()=>ae.run();G.id=j.uid,xn(j,!0),G()},Ce=(j,P,T)=>{P.component=j;const R=j.vnode.props;j.vnode=P,j.next=null,If(j,P.props,R,T),Bf(j,P.children,T),Gn(),fr(void 0,j.update),Jn()},Ie=(j,P,T,R,V,ne,ue,K,ae=!1)=>{const G=j&&j.children,ge=j?j.shapeFlag:0,fe=P.children,{patchFlag:ye,shapeFlag:ke}=P;if(ye>0){if(ye&128){rt(G,fe,T,R,V,ne,ue,K,ae);return}else if(ye&256){lt(G,fe,T,R,V,ne,ue,K,ae);return}}ke&8?(ge&16&&oe(G,V,ne),fe!==G&&m(T,fe)):ge&16?ke&16?rt(G,fe,T,R,V,ne,ue,K,ae):oe(G,V,ne,!0):(ge&8&&m(T,""),ke&16&&le(fe,T,R,V,ne,ue,K,ae))},lt=(j,P,T,R,V,ne,ue,K,ae)=>{j=j||Bn,P=P||Bn;const G=j.length,ge=P.length,fe=Math.min(G,ge);let ye;for(ye=0;yege?oe(j,V,ne,!0,!1,fe):le(P,T,R,V,ne,ue,K,ae,fe)},rt=(j,P,T,R,V,ne,ue,K,ae)=>{let G=0;const ge=P.length;let fe=j.length-1,ye=ge-1;for(;G<=fe&&G<=ye;){const ke=j[G],Ne=P[G]=ae?sn(P[G]):Ht(P[G]);if(Sn(ke,Ne))C(ke,Ne,T,null,V,ne,ue,K,ae);else break;G++}for(;G<=fe&&G<=ye;){const ke=j[fe],Ne=P[ye]=ae?sn(P[ye]):Ht(P[ye]);if(Sn(ke,Ne))C(ke,Ne,T,null,V,ne,ue,K,ae);else break;fe--,ye--}if(G>fe){if(G<=ye){const ke=ye+1,Ne=keye)for(;G<=fe;)ut(j[G],V,ne,!0),G++;else{const ke=G,Ne=G,ze=new Map;for(G=Ne;G<=ye;G++){const dt=P[G]=ae?sn(P[G]):Ht(P[G]);dt.key!=null&&ze.set(dt.key,G)}let He,Ue=0;const wt=ye-Ne+1;let Qt=!1,Mi=0;const dn=new Array(wt);for(G=0;G=wt){ut(dt,V,ne,!0);continue}let bt;if(dt.key!=null)bt=ze.get(dt.key);else for(He=Ne;He<=ye;He++)if(dn[He-Ne]===0&&Sn(dt,P[He])){bt=He;break}bt===void 0?ut(dt,V,ne,!0):(dn[bt-Ne]=G+1,bt>=Mi?Mi=bt:Qt=!0,C(dt,P[bt],T,null,V,ne,ue,K,ae),Ue++)}const Tn=Qt?Wf(dn):Bn;for(He=Tn.length-1,G=wt-1;G>=0;G--){const dt=Ne+G,bt=P[dt],Ci=dt+1{const{el:ne,type:ue,transition:K,children:ae,shapeFlag:G}=j;if(G&6){nt(j.component.subTree,P,T,R);return}if(G&128){j.suspense.move(P,T,R);return}if(G&64){ue.move(j,P,T,De);return}if(ue===Ze){r(ne,P,T);for(let fe=0;feK.enter(ne),V);else{const{leave:fe,delayLeave:ye,afterLeave:ke}=K,Ne=()=>r(ne,P,T),ze=()=>{fe(ne,()=>{Ne(),ke&&ke()})};ye?ye(ne,Ne,ze):ze()}else r(ne,P,T)},ut=(j,P,T,R=!1,V=!1)=>{const{type:ne,props:ue,ref:K,children:ae,dynamicChildren:G,shapeFlag:ge,patchFlag:fe,dirs:ye}=j;if(K!=null&&Yr(K,null,T,j,!0),ge&256){P.ctx.deactivate(j);return}const ke=ge&1&&ye,Ne=!li(j);let ze;if(Ne&&(ze=ue&&ue.onVnodeBeforeUnmount)&&zt(ze,P,j),ge&6)he(j.component,T,R);else{if(ge&128){j.suspense.unmount(T,R);return}ke&&_n(j,null,P,"beforeUnmount"),ge&64?j.type.remove(j,P,T,V,De,R):G&&(ne!==Ze||fe>0&&fe&64)?oe(G,P,T,!1,!0):(ne===Ze&&fe&384||!V&&ge&16)&&oe(ae,P,T),R&&Bt(j)}(Ne&&(ze=ue&&ue.onVnodeUnmounted)||ke)&&yt(()=>{ze&&zt(ze,P,j),ke&&_n(j,null,P,"unmounted")},T)},Bt=j=>{const{type:P,el:T,anchor:R,transition:V}=j;if(P===Ze){X(T,R);return}if(P===Ji){Q(j);return}const ne=()=>{n(T),V&&!V.persisted&&V.afterLeave&&V.afterLeave()};if(j.shapeFlag&1&&V&&!V.persisted){const{leave:ue,delayLeave:K}=V,ae=()=>ue(T,ne);K?K(j.el,ne,ae):ae()}else ne()},X=(j,P)=>{let T;for(;j!==P;)T=_(j),n(j),j=T;n(P)},he=(j,P,T)=>{const{bum:R,scope:V,update:ne,subTree:ue,um:K}=j;R&&Ui(R),V.stop(),ne&&(ne.active=!1,ut(ue,j,P,T)),K&&yt(K,P),yt(()=>{j.isUnmounted=!0},P),P&&P.pendingBranch&&!P.isUnmounted&&j.asyncDep&&!j.asyncResolved&&j.suspenseId===P.pendingId&&(P.deps--,P.deps===0&&P.resolve())},oe=(j,P,T,R=!1,V=!1,ne=0)=>{for(let ue=ne;uej.shapeFlag&6?me(j.component.subTree):j.shapeFlag&128?j.suspense.next():_(j.anchor||j.el),Fe=(j,P,T)=>{j==null?P._vnode&&ut(P._vnode,null,null,!0):C(P._vnode||null,j,P,null,null,null,T),La(),P._vnode=j},De={p:C,um:ut,m:nt,r:Bt,mt:je,mc:le,pc:Ie,pbc:pe,n:me,o:e};let Me,qe;return t&&([Me,qe]=t(De)),{render:Fe,hydrate:Me,createApp:zf(Fe,Me)}}function xn({effect:e,update:t},i){e.allowRecurse=t.allowRecurse=i}function il(e,t,i=!1){const r=e.children,n=t.children;if(Se(r)&&Se(n))for(let s=0;s>1,e[i[u]]0&&(t[r]=i[s-1]),i[s]=r)}}for(s=i.length,a=i[s-1];s-- >0;)i[s]=a,a=t[a];return i}const Xf=e=>e.__isTeleport,Ze=Symbol(void 0),ys=Symbol(void 0),Pt=Symbol(void 0),Ji=Symbol(void 0),ui=[];let Rt=null;function _e(e=!1){ui.push(Rt=e?null:[])}function $f(){ui.pop(),Rt=ui[ui.length-1]||null}let _i=1;function wo(e){_i+=e}function rl(e){return e.dynamicChildren=_i>0?Rt||Bn:null,$f(),_i>0&&Rt&&Rt.push(e),e}function be(e,t,i,r,n,s){return rl(q(e,t,i,r,n,s,!0))}function xi(e,t,i,r,n){return rl(Je(e,t,i,r,n,!0))}function nr(e){return e?e.__v_isVNode===!0:!1}function Sn(e,t){return e.type===t.type&&e.key===t.key}const pr="__vInternal",sl=({key:e})=>e!=null?e:null,Qi=({ref:e,ref_key:t,ref_for:i})=>e!=null?st(e)||pt(e)||Pe(e)?{i:mt,r:e,k:t,f:!!i}:e:null;function q(e,t=null,i=null,r=0,n=null,s=e===Ze?0:1,a=!1,u=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&sl(t),ref:t&&Qi(t),scopeId:Ia,slotScopeIds:null,children:i,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:n,dynamicChildren:null,appContext:null};return u?(ws(c,i),s&128&&e.normalize(c)):i&&(c.shapeFlag|=st(i)?8:16),_i>0&&!a&&Rt&&(c.patchFlag>0||s&6)&&c.patchFlag!==32&&Rt.push(c),c}const Je=Uf;function Uf(e,t=null,i=null,r=0,n=null,s=!1){if((!e||e===$a)&&(e=Pt),nr(e)){const u=hn(e,t,!0);return i&&ws(u,i),_i>0&&!s&&Rt&&(u.shapeFlag&6?Rt[Rt.indexOf(e)]=u:Rt.push(u)),u.patchFlag|=-2,u}if(ic(e)&&(e=e.__vccOpts),t){t=ol(t);let{class:u,style:c}=t;u&&!st(u)&&(t.class=_t(u)),tt(c)&&(ya(c)&&!Se(c)&&(c=ht({},c)),t.style=rr(c))}const a=st(e)?1:df(e)?128:Xf(e)?64:tt(e)?4:Pe(e)?2:0;return q(e,t,i,r,n,a,s,!0)}function ol(e){return e?ya(e)||pr in e?ht({},e):e:null}function hn(e,t,i=!1){const{props:r,ref:n,patchFlag:s,children:a}=e,u=t?al(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&sl(u),ref:t&&t.ref?i&&n?Se(n)?n.concat(Qi(t)):[n,Qi(t)]:Qi(t):n,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ze?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&hn(e.ssContent),ssFallback:e.ssFallback&&hn(e.ssFallback),el:e.el,anchor:e.anchor}}function Jt(e=" ",t=0){return Je(ys,null,e,t)}function yv(e,t){const i=Je(Ji,null,e);return i.staticCount=t,i}function Nt(e="",t=!1){return t?(_e(),xi(Pt,null,e)):Je(Pt,null,e)}function Ht(e){return e==null||typeof e=="boolean"?Je(Pt):Se(e)?Je(Ze,null,e.slice()):typeof e=="object"?sn(e):Je(ys,null,String(e))}function sn(e){return e.el===null||e.memo?e:hn(e)}function ws(e,t){let i=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Se(t))i=16;else if(typeof t=="object")if(r&65){const n=t.default;n&&(n._c&&(n._d=!1),ws(e,n()),n._c&&(n._d=!0));return}else{i=32;const n=t._;!n&&!(pr in t)?t._ctx=mt:n===3&&mt&&(mt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Pe(t)?(t={default:t,_ctx:mt},i=32):(t=String(t),r&64?(i=16,t=[Jt(t)]):i=8);e.children=t,e.shapeFlag|=i}function al(...e){const t={};for(let i=0;ift||mt,Vn=e=>{ft=e,e.scope.on()},Mn=()=>{ft&&ft.scope.off(),ft=null};function ll(e){return e.vnode.shapeFlag&4}let yi=!1;function Kf(e,t=!1){yi=t;const{props:i,children:r}=e.vnode,n=ll(e);Nf(e,i,n,t),Ff(e,r);const s=n?Zf(e,t):void 0;return yi=!1,s}function Zf(e,t){const i=e.type;e.accessCache=Object.create(null),e.proxy=wa(new Proxy(e.ctx,Tf));const{setup:r}=i;if(r){const n=e.setupContext=r.length>1?tc(e):null;Vn(e),Gn();const s=un(r,e,0,[e.props,n]);if(Jn(),Mn(),oa(s)){if(s.then(Mn,Mn),t)return s.then(a=>{bo(e,a,t)}).catch(a=>{ur(a,e,0)});e.asyncDep=s}else bo(e,s,t)}else ul(e,t)}function bo(e,t,i){Pe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:tt(t)&&(e.setupState=Ma(t)),ul(e,i)}let So;function ul(e,t,i){const r=e.type;if(!e.render){if(!t&&So&&!r.render){const n=r.template;if(n){const{isCustomElement:s,compilerOptions:a}=e.appContext.config,{delimiters:u,compilerOptions:c}=r,d=ht(ht({isCustomElement:s,delimiters:u},a),c);r.render=So(n,d)}}e.render=r.render||Ft}Vn(e),Gn(),Of(e),Jn(),Mn()}function ec(e){return new Proxy(e.attrs,{get(t,i){return Ct(e,"get","$attrs"),t[i]}})}function tc(e){const t=r=>{e.exposed=r||{}};let i;return{get attrs(){return i||(i=ec(e))},slots:e.slots,emit:e.emit,expose:t}}function mr(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Ma(wa(e.exposed)),{get(t,i){if(i in t)return t[i];if(i in er)return er[i](e)}}))}function nc(e,t=!0){return Pe(e)?e.displayName||e.name:e.name||t&&e.__name}function ic(e){return Pe(e)&&"__vccOpts"in e}const Wt=(e,t)=>tf(e,t,yi);function bs(e,t,i){const r=arguments.length;return r===2?tt(t)&&!Se(t)?nr(t)?Je(e,null,[t]):Je(e,t):Je(e,null,t):(r>3?i=Array.prototype.slice.call(arguments,2):r===3&&nr(i)&&(i=[i]),Je(e,t,i))}const rc="3.2.37",sc="http://www.w3.org/2000/svg",jn=typeof document!="undefined"?document:null,jo=jn&&jn.createElement("template"),oc={insert:(e,t,i)=>{t.insertBefore(e,i||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,i,r)=>{const n=t?jn.createElementNS(sc,e):jn.createElement(e,i?{is:i}:void 0);return e==="select"&&r&&r.multiple!=null&&n.setAttribute("multiple",r.multiple),n},createText:e=>jn.createTextNode(e),createComment:e=>jn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>jn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,i,r,n,s){const a=i?i.previousSibling:t.lastChild;if(n&&(n===s||n.nextSibling))for(;t.insertBefore(n.cloneNode(!0),i),!(n===s||!(n=n.nextSibling)););else{jo.innerHTML=r?`${e}`:e;const u=jo.content;if(r){const c=u.firstChild;for(;c.firstChild;)u.appendChild(c.firstChild);u.removeChild(c)}t.insertBefore(u,i)}return[a?a.nextSibling:t.firstChild,i?i.previousSibling:t.lastChild]}};function ac(e,t,i){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):i?e.setAttribute("class",t):e.className=t}function lc(e,t,i){const r=e.style,n=st(i);if(i&&!n){for(const s in i)Kr(r,s,i[s]);if(t&&!st(t))for(const s in t)i[s]==null&&Kr(r,s,"")}else{const s=r.display;n?t!==i&&(r.cssText=i):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=s)}}const ko=/\s*!important$/;function Kr(e,t,i){if(Se(i))i.forEach(r=>Kr(e,t,r));else if(i==null&&(i=""),t.startsWith("--"))e.setProperty(t,i);else{const r=uc(e,t);ko.test(i)?e.setProperty(Un(r),i.replace(ko,""),"important"):e[r]=i}}const qo=["Webkit","Moz","ms"],Lr={};function uc(e,t){const i=Lr[t];if(i)return i;let r=Xt(t);if(r!=="filter"&&r in e)return Lr[t]=r;r=ar(r);for(let n=0;n{let e=Date.now,t=!1;if(typeof window!="undefined"){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const i=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(i&&Number(i[1])<=53)}return[e,t]})();let Zr=0;const dc=Promise.resolve(),pc=()=>{Zr=0},mc=()=>Zr||(dc.then(pc),Zr=fl());function an(e,t,i,r){e.addEventListener(t,i,r)}function gc(e,t,i,r){e.removeEventListener(t,i,r)}function vc(e,t,i,r,n=null){const s=e._vei||(e._vei={}),a=s[t];if(r&&a)a.value=r;else{const[u,c]=_c(t);if(r){const d=s[t]=xc(r,n);an(e,u,d,c)}else a&&(gc(e,u,a,c),s[t]=void 0)}}const Co=/(?:Once|Passive|Capture)$/;function _c(e){let t;if(Co.test(e)){t={};let i;for(;i=e.match(Co);)e=e.slice(0,e.length-i[0].length),t[i[0].toLowerCase()]=!0}return[Un(e.slice(2)),t]}function xc(e,t){const i=r=>{const n=r.timeStamp||fl();(hc||n>=i.attached-1)&&Et(yc(r,i.value),t,5,[r])};return i.value=e,i.attached=mc(),i}function yc(e,t){if(Se(t)){const i=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{i.call(e),e._stopped=!0},t.map(r=>n=>!n._stopped&&r&&r(n))}else return t}const To=/^on[a-z]/,wc=(e,t,i,r,n=!1,s,a,u,c)=>{t==="class"?ac(e,r,n):t==="style"?lc(e,i,r):sr(t)?ss(t)||vc(e,t,i,r,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):bc(e,t,r,n))?cc(e,t,r,s,a,u,c):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),fc(e,t,r,n))};function bc(e,t,i,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&To.test(t)&&Pe(i)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||To.test(t)&&st(i)?!1:t in e}const Zt="transition",Zn="animation",Ss=(e,{slots:t})=>bs(Ba,Sc(e),t);Ss.displayName="Transition";const cl={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};Ss.props=ht({},Ba.props,cl);const yn=(e,t=[])=>{Se(e)?e.forEach(i=>i(...t)):e&&e(...t)},Oo=e=>e?Se(e)?e.some(t=>t.length>1):e.length>1:!1;function Sc(e){const t={};for(const Y in e)Y in cl||(t[Y]=e[Y]);if(e.css===!1)return t;const{name:i="v",type:r,duration:n,enterFromClass:s=`${i}-enter-from`,enterActiveClass:a=`${i}-enter-active`,enterToClass:u=`${i}-enter-to`,appearFromClass:c=s,appearActiveClass:d=a,appearToClass:m=u,leaveFromClass:v=`${i}-leave-from`,leaveActiveClass:_=`${i}-leave-active`,leaveToClass:S=`${i}-leave-to`}=e,l=jc(n),w=l&&l[0],C=l&&l[1],{onBeforeEnter:L,onEnter:A,onEnterCancelled:O,onLeave:E,onLeaveCancelled:Q,onBeforeAppear:H=L,onAppear:de=A,onAppearCancelled:D=O}=t,le=(Y,xe,Te)=>{wn(Y,xe?m:u),wn(Y,xe?d:a),Te&&Te()},U=(Y,xe)=>{Y._isLeaving=!1,wn(Y,v),wn(Y,S),wn(Y,_),xe&&xe()},pe=Y=>(xe,Te)=>{const je=Y?de:A,we=()=>le(xe,Y,Te);yn(je,[xe,we]),Eo(()=>{wn(xe,Y?c:s),en(xe,Y?m:u),Oo(je)||Po(xe,r,w,we)})};return ht(t,{onBeforeEnter(Y){yn(L,[Y]),en(Y,s),en(Y,a)},onBeforeAppear(Y){yn(H,[Y]),en(Y,c),en(Y,d)},onEnter:pe(!1),onAppear:pe(!0),onLeave(Y,xe){Y._isLeaving=!0;const Te=()=>U(Y,xe);en(Y,v),Mc(),en(Y,_),Eo(()=>{!Y._isLeaving||(wn(Y,v),en(Y,S),Oo(E)||Po(Y,r,C,Te))}),yn(E,[Y,Te])},onEnterCancelled(Y){le(Y,!1),yn(O,[Y])},onAppearCancelled(Y){le(Y,!0),yn(D,[Y])},onLeaveCancelled(Y){U(Y),yn(Q,[Y])}})}function jc(e){if(e==null)return null;if(tt(e))return[Ar(e.enter),Ar(e.leave)];{const t=Ar(e);return[t,t]}}function Ar(e){return pi(e)}function en(e,t){t.split(/\s+/).forEach(i=>i&&e.classList.add(i)),(e._vtc||(e._vtc=new Set)).add(t)}function wn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const{_vtc:i}=e;i&&(i.delete(t),i.size||(e._vtc=void 0))}function Eo(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let kc=0;function Po(e,t,i,r){const n=e._endId=++kc,s=()=>{n===e._endId&&r()};if(i)return setTimeout(s,i);const{type:a,timeout:u,propCount:c}=qc(e,t);if(!a)return r();const d=a+"end";let m=0;const v=()=>{e.removeEventListener(d,_),s()},_=S=>{S.target===e&&++m>=c&&v()};setTimeout(()=>{m(i[l]||"").split(", "),n=r(Zt+"Delay"),s=r(Zt+"Duration"),a=Lo(n,s),u=r(Zn+"Delay"),c=r(Zn+"Duration"),d=Lo(u,c);let m=null,v=0,_=0;t===Zt?a>0&&(m=Zt,v=a,_=s.length):t===Zn?d>0&&(m=Zn,v=d,_=c.length):(v=Math.max(a,d),m=v>0?a>d?Zt:Zn:null,_=m?m===Zt?s.length:c.length:0);const S=m===Zt&&/\b(transform|all)(,|$)/.test(i[Zt+"Property"]);return{type:m,timeout:v,propCount:_,hasTransform:S}}function Lo(e,t){for(;e.lengthAo(i)+Ao(e[r])))}function Ao(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Mc(){return document.body.offsetHeight}const Hn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Se(t)?i=>Ui(t,i):t};function Cc(e){e.target.composing=!0}function No(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ye={created(e,{modifiers:{lazy:t,trim:i,number:r}},n){e._assign=Hn(n);const s=r||n.props&&n.props.type==="number";an(e,t?"change":"input",a=>{if(a.target.composing)return;let u=e.value;i&&(u=u.trim()),s&&(u=pi(u)),e._assign(u)}),i&&an(e,"change",()=>{e.value=e.value.trim()}),t||(an(e,"compositionstart",Cc),an(e,"compositionend",No),an(e,"change",No))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:i,trim:r,number:n}},s){if(e._assign=Hn(s),e.composing||document.activeElement===e&&e.type!=="range"&&(i||r&&e.value.trim()===t||(n||e.type==="number")&&pi(e.value)===t))return;const a=t==null?"":t;e.value!==a&&(e.value=a)}},Tc={deep:!0,created(e,t,i){e._assign=Hn(i),an(e,"change",()=>{const r=e._modelValue,n=wi(e),s=e.checked,a=e._assign;if(Se(r)){const u=rs(r,n),c=u!==-1;if(s&&!c)a(r.concat(n));else if(!s&&c){const d=[...r];d.splice(u,1),a(d)}}else if($n(r)){const u=new Set(r);s?u.add(n):u.delete(n),a(u)}else a(hl(e,s))})},mounted:Io,beforeUpdate(e,t,i){e._assign=Hn(i),Io(e,t,i)}};function Io(e,{value:t,oldValue:i},r){e._modelValue=t,Se(t)?e.checked=rs(t,r.props.value)>-1:$n(t)?e.checked=t.has(r.props.value):t!==i&&(e.checked=Si(t,hl(e,!0)))}const Oc={deep:!0,created(e,{value:t,modifiers:{number:i}},r){const n=$n(t);an(e,"change",()=>{const s=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>i?pi(wi(a)):wi(a));e._assign(e.multiple?n?new Set(s):s:s[0])}),e._assign=Hn(r)},mounted(e,{value:t}){Ro(e,t)},beforeUpdate(e,t,i){e._assign=Hn(i)},updated(e,{value:t}){Ro(e,t)}};function Ro(e,t){const i=e.multiple;if(!(i&&!Se(t)&&!$n(t))){for(let r=0,n=e.options.length;r-1:s.selected=t.has(a);else if(Si(wi(s),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!i&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function wi(e){return"_value"in e?e._value:e.value}function hl(e,t){const i=t?"_trueValue":"_falseValue";return i in e?e[i]:t}const Fo={beforeMount(e,{value:t},{transition:i}){e._vod=e.style.display==="none"?"":e.style.display,i&&t?i.beforeEnter(e):ei(e,t)},mounted(e,{value:t},{transition:i}){i&&t&&i.enter(e)},updated(e,{value:t,oldValue:i},{transition:r}){!t!=!i&&(r?t?(r.beforeEnter(e),ei(e,!0),r.enter(e)):r.leave(e,()=>{ei(e,!1)}):ei(e,t))},beforeUnmount(e,{value:t}){ei(e,t)}};function ei(e,t){e.style.display=t?e._vod:"none"}const Ec=ht({patchProp:wc},oc);let Bo;function Pc(){return Bo||(Bo=Vf(Ec))}const Lc=(...e)=>{const t=Pc().createApp(...e),{mount:i}=t;return t.mount=r=>{const n=Ac(r);if(!n)return;const s=t._component;!Pe(s)&&!s.render&&!s.template&&(s.template=n.innerHTML),n.innerHTML="";const a=i(n,!1,n instanceof SVGElement);return n instanceof Element&&(n.removeAttribute("v-cloak"),n.setAttribute("data-v-app","")),a},t};function Ac(e){return st(e)?document.querySelector(e):e}/*! * vue-router v4.0.16 * (c) 2022 Eduardo San Martin Morote * @license MIT */const dl=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",Qn=e=>dl?Symbol(e):"_vr_"+e,Nc=Qn("rvlm"),Do=Qn("rvd"),js=Qn("r"),pl=Qn("rl"),es=Qn("rvl"),Fn=typeof window!="undefined";function Ic(e){return e.__esModule||dl&&e[Symbol.toStringTag]==="Module"}const Ge=Object.assign;function Nr(e,t){const i={};for(const r in t){const n=t[r];i[r]=Array.isArray(n)?n.map(e):e(n)}return i}const fi=()=>{},Rc=/\/$/,Fc=e=>e.replace(Rc,"");function Ir(e,t,i="/"){let r,n={},s="",a="";const u=t.indexOf("?"),c=t.indexOf("#",u>-1?u:0);return u>-1&&(r=t.slice(0,u),s=t.slice(u+1,c>-1?c:t.length),n=e(s)),c>-1&&(r=r||t.slice(0,c),a=t.slice(c,t.length)),r=Vc(r!=null?r:t,i),{fullPath:r+(s&&"?")+s+a,path:r,query:n,hash:a}}function Bc(e,t){const i=t.query?e(t.query):"";return t.path+(i&&"?")+i+(t.hash||"")}function zo(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Dc(e,t,i){const r=t.matched.length-1,n=i.matched.length-1;return r>-1&&r===n&&Wn(t.matched[r],i.matched[n])&&ml(t.params,i.params)&&e(t.query)===e(i.query)&&t.hash===i.hash}function Wn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ml(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const i in e)if(!zc(e[i],t[i]))return!1;return!0}function zc(e,t){return Array.isArray(e)?Vo(e,t):Array.isArray(t)?Vo(t,e):e===t}function Vo(e,t){return Array.isArray(t)?e.length===t.length&&e.every((i,r)=>i===t[r]):e.length===1&&e[0]===t}function Vc(e,t){if(e.startsWith("/"))return e;if(!e)return t;const i=t.split("/"),r=e.split("/");let n=i.length-1,s,a;for(s=0;s({left:window.pageXOffset,top:window.pageYOffset});function Uc(e){let t;if("el"in e){const i=e.el,r=typeof i=="string"&&i.startsWith("#"),n=typeof i=="string"?r?document.getElementById(i.slice(1)):document.querySelector(i):i;if(!n)return;t=$c(n,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Ho(e,t){return(history.state?history.state.position-t:-1)+e}const ts=new Map;function Gc(e,t){ts.set(e,t)}function Jc(e){const t=ts.get(e);return ts.delete(e),t}let Qc=()=>location.protocol+"//"+location.host;function gl(e,t){const{pathname:i,search:r,hash:n}=t,s=e.indexOf("#");if(s>-1){let u=n.includes(e.slice(s))?e.slice(s).length:1,c=n.slice(u);return c[0]!=="/"&&(c="/"+c),zo(c,"")}return zo(i,e)+r+n}function Yc(e,t,i,r){let n=[],s=[],a=null;const u=({state:_})=>{const S=gl(e,location),l=i.value,w=t.value;let C=0;if(_){if(i.value=S,t.value=_,a&&a===l){a=null;return}C=w?_.position-w.position:0}else r(S);n.forEach(L=>{L(i.value,l,{delta:C,type:bi.pop,direction:C?C>0?ci.forward:ci.back:ci.unknown})})};function c(){a=i.value}function d(_){n.push(_);const S=()=>{const l=n.indexOf(_);l>-1&&n.splice(l,1)};return s.push(S),S}function m(){const{history:_}=window;!_.state||_.replaceState(Ge({},_.state,{scroll:gr()}),"")}function v(){for(const _ of s)_();s=[],window.removeEventListener("popstate",u),window.removeEventListener("beforeunload",m)}return window.addEventListener("popstate",u),window.addEventListener("beforeunload",m),{pauseListeners:c,listen:d,destroy:v}}function Wo(e,t,i,r=!1,n=!1){return{back:e,current:t,forward:i,replaced:r,position:window.history.length,scroll:n?gr():null}}function Kc(e){const{history:t,location:i}=window,r={value:gl(e,i)},n={value:t.state};n.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(c,d,m){const v=e.indexOf("#"),_=v>-1?(i.host&&document.querySelector("base")?e:e.slice(v))+c:Qc()+e+c;try{t[m?"replaceState":"pushState"](d,"",_),n.value=d}catch(S){console.error(S),i[m?"replace":"assign"](_)}}function a(c,d){const m=Ge({},t.state,Wo(n.value.back,c,n.value.forward,!0),d,{position:n.value.position});s(c,m,!0),r.value=c}function u(c,d){const m=Ge({},n.value,t.state,{forward:c,scroll:gr()});s(m.current,m,!0);const v=Ge({},Wo(r.value,c,null),{position:m.position+1},d);s(c,v,!1),r.value=c}return{location:r,state:n,push:u,replace:a}}function Zc(e){e=Hc(e);const t=Kc(e),i=Yc(e,t.state,t.location,t.replace);function r(s,a=!0){a||i.pauseListeners(),history.go(s)}const n=Ge({location:"",base:e,go:r,createHref:Xc.bind(null,e)},t,i);return Object.defineProperty(n,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(n,"state",{enumerable:!0,get:()=>t.state.value}),n}function eh(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Zc(e)}function th(e){return typeof e=="string"||e&&typeof e=="object"}function vl(e){return typeof e=="string"||typeof e=="symbol"}const tn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},_l=Qn("nf");var Xo;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Xo||(Xo={}));function Xn(e,t){return Ge(new Error,{type:e,[_l]:!0},t)}function nn(e,t){return e instanceof Error&&_l in e&&(t==null||!!(e.type&t))}const $o="[^/]+?",nh={sensitive:!1,strict:!1,start:!0,end:!0},ih=/[.+*?^${}()[\]/\\]/g;function rh(e,t){const i=Ge({},nh,t),r=[];let n=i.start?"^":"";const s=[];for(const d of e){const m=d.length?[]:[90];i.strict&&!d.length&&(n+="/");for(let v=0;v1&&(m.endsWith("/")?m=m.slice(0,-1):v=!0);else throw new Error(`Missing required param "${l}"`);m+=A}}return m}return{re:a,score:r,keys:s,parse:u,stringify:c}}function sh(e,t){let i=0;for(;it.length?t.length===1&&t[0]===40+40?1:-1:0}function oh(e,t){let i=0;const r=e.score,n=t.score;for(;i0&&t[t.length-1]<0}const ah={type:0,value:""},lh=/[a-zA-Z0-9_]/;function uh(e){if(!e)return[[]];if(e==="/")return[[ah]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(S){throw new Error(`ERR (${i})/"${d}": ${S}`)}let i=0,r=i;const n=[];let s;function a(){s&&n.push(s),s=[]}let u=0,c,d="",m="";function v(){!d||(i===0?s.push({type:0,value:d}):i===1||i===2||i===3?(s.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:d,regexp:m,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),d="")}function _(){d+=c}for(;u{a(A)}:fi}function a(m){if(vl(m)){const v=r.get(m);v&&(r.delete(m),i.splice(i.indexOf(v),1),v.children.forEach(a),v.alias.forEach(a))}else{const v=i.indexOf(m);v>-1&&(i.splice(v,1),m.record.name&&r.delete(m.record.name),m.children.forEach(a),m.alias.forEach(a))}}function u(){return i}function c(m){let v=0;for(;v=0&&(m.record.path!==i[v].record.path||!xl(m,i[v]));)v++;i.splice(v,0,m),m.record.name&&!Go(m)&&r.set(m.record.name,m)}function d(m,v){let _,S={},l,w;if("name"in m&&m.name){if(_=r.get(m.name),!_)throw Xn(1,{location:m});w=_.record.name,S=Ge(hh(v.params,_.keys.filter(A=>!A.optional).map(A=>A.name)),m.params),l=_.stringify(S)}else if("path"in m)l=m.path,_=i.find(A=>A.re.test(l)),_&&(S=_.parse(l),w=_.record.name);else{if(_=v.name?r.get(v.name):i.find(A=>A.re.test(v.path)),!_)throw Xn(1,{location:m,currentLocation:v});w=_.record.name,S=Ge({},v.params,m.params),l=_.stringify(S)}const C=[];let L=_;for(;L;)C.unshift(L.record),L=L.parent;return{name:w,path:l,params:S,matched:C,meta:mh(C)}}return e.forEach(m=>s(m)),{addRoute:s,resolve:d,removeRoute:a,getRoutes:u,getRecordMatcher:n}}function hh(e,t){const i={};for(const r of t)r in e&&(i[r]=e[r]);return i}function dh(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:ph(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||{}:{default:e.component}}}function ph(e){const t={},i=e.props||!1;if("component"in e)t.default=i;else for(const r in e.components)t[r]=typeof i=="boolean"?i:i[r];return t}function Go(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function mh(e){return e.reduce((t,i)=>Ge(t,i.meta),{})}function Jo(e,t){const i={};for(const r in e)i[r]=r in t?t[r]:e[r];return i}function xl(e,t){return t.children.some(i=>i===e||xl(e,i))}const yl=/#/g,gh=/&/g,vh=/\//g,_h=/=/g,xh=/\?/g,wl=/\+/g,yh=/%5B/g,wh=/%5D/g,bl=/%5E/g,bh=/%60/g,Sl=/%7B/g,Sh=/%7C/g,jl=/%7D/g,jh=/%20/g;function ks(e){return encodeURI(""+e).replace(Sh,"|").replace(yh,"[").replace(wh,"]")}function kh(e){return ks(e).replace(Sl,"{").replace(jl,"}").replace(bl,"^")}function ns(e){return ks(e).replace(wl,"%2B").replace(jh,"+").replace(yl,"%23").replace(gh,"%26").replace(bh,"`").replace(Sl,"{").replace(jl,"}").replace(bl,"^")}function qh(e){return ns(e).replace(_h,"%3D")}function Mh(e){return ks(e).replace(yl,"%23").replace(xh,"%3F")}function Ch(e){return e==null?"":Mh(e).replace(vh,"%2F")}function ir(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Th(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let n=0;ns&&ns(s)):[r&&ns(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+i,s!=null&&(t+="="+s))})}return t}function Oh(e){const t={};for(const i in e){const r=e[i];r!==void 0&&(t[i]=Array.isArray(r)?r.map(n=>n==null?null:""+n):r==null?r:""+r)}return t}function ti(){let e=[];function t(r){return e.push(r),()=>{const n=e.indexOf(r);n>-1&&e.splice(n,1)}}function i(){e=[]}return{add:t,list:()=>e,reset:i}}function on(e,t,i,r,n){const s=r&&(r.enterCallbacks[n]=r.enterCallbacks[n]||[]);return()=>new Promise((a,u)=>{const c=v=>{v===!1?u(Xn(4,{from:i,to:t})):v instanceof Error?u(v):th(v)?u(Xn(2,{from:t,to:v})):(s&&r.enterCallbacks[n]===s&&typeof v=="function"&&s.push(v),a())},d=e.call(r&&r.instances[n],t,i,c);let m=Promise.resolve(d);e.length<3&&(m=m.then(c)),m.catch(v=>u(v))})}function Rr(e,t,i,r){const n=[];for(const s of e)for(const a in s.components){let u=s.components[a];if(!(t!=="beforeRouteEnter"&&!s.instances[a]))if(Eh(u)){const d=(u.__vccOpts||u)[t];d&&n.push(on(d,i,r,s,a))}else{let c=u();n.push(()=>c.then(d=>{if(!d)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${s.path}"`));const m=Ic(d)?d.default:d;s.components[a]=m;const _=(m.__vccOpts||m)[t];return _&&on(_,i,r,s,a)()}))}}return n}function Eh(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Yo(e){const t=fn(js),i=fn(pl),r=Wt(()=>t.resolve(ri(e.to))),n=Wt(()=>{const{matched:c}=r.value,{length:d}=c,m=c[d-1],v=i.matched;if(!m||!v.length)return-1;const _=v.findIndex(Wn.bind(null,m));if(_>-1)return _;const S=Ko(c[d-2]);return d>1&&Ko(m)===S&&v[v.length-1].path!==S?v.findIndex(Wn.bind(null,c[d-2])):_}),s=Wt(()=>n.value>-1&&Nh(i.params,r.value.params)),a=Wt(()=>n.value>-1&&n.value===i.matched.length-1&&ml(i.params,r.value.params));function u(c={}){return Ah(c)?t[ri(e.replace)?"replace":"push"](ri(e.to)).catch(fi):Promise.resolve()}return{route:r,href:Wt(()=>r.value.href),isActive:s,isExactActive:a,navigate:u}}const Ph=qi({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Yo,setup(e,{slots:t}){const i=ki(Yo(e)),{options:r}=fn(js),n=Wt(()=>({[Zo(e.activeClass,r.linkActiveClass,"router-link-active")]:i.isActive,[Zo(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:i.isExactActive}));return()=>{const s=t.default&&t.default(i);return e.custom?s:bs("a",{"aria-current":i.isExactActive?e.ariaCurrentValue:null,href:i.href,onClick:i.navigate,class:n.value},s)}}}),Lh=Ph;function Ah(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Nh(e,t){for(const i in t){const r=t[i],n=e[i];if(typeof r=="string"){if(r!==n)return!1}else if(!Array.isArray(n)||n.length!==r.length||r.some((s,a)=>s!==n[a]))return!1}return!0}function Ko(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Zo=(e,t,i)=>e!=null?e:t!=null?t:i,Ih=qi({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:i}){const r=fn(es),n=Wt(()=>e.route||r.value),s=fn(Do,0),a=Wt(()=>n.value.matched[s]);Gi(Do,s+1),Gi(Nc,a),Gi(es,n);const u=ja();return ai(()=>[u.value,a.value,e.name],([c,d,m],[v,_,S])=>{d&&(d.instances[m]=c,_&&_!==d&&c&&c===v&&(d.leaveGuards.size||(d.leaveGuards=_.leaveGuards),d.updateGuards.size||(d.updateGuards=_.updateGuards))),c&&d&&(!_||!Wn(d,_)||!v)&&(d.enterCallbacks[m]||[]).forEach(l=>l(c))},{flush:"post"}),()=>{const c=n.value,d=a.value,m=d&&d.components[e.name],v=e.name;if(!m)return ea(i.default,{Component:m,route:c});const _=d.props[e.name],S=_?_===!0?c.params:typeof _=="function"?_(c):_:null,w=bs(m,Ge({},S,t,{onVnodeUnmounted:C=>{C.component.isUnmounted&&(d.instances[v]=null)},ref:u}));return ea(i.default,{Component:w,route:c})||w}}});function ea(e,t){if(!e)return null;const i=e(t);return i.length===1?i[0]:i}const Rh=Ih;function Fh(e){const t=ch(e.routes,e),i=e.parseQuery||Th,r=e.stringifyQuery||Qo,n=e.history,s=ti(),a=ti(),u=ti(),c=ka(tn);let d=tn;Fn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const m=Nr.bind(null,X=>""+X),v=Nr.bind(null,Ch),_=Nr.bind(null,ir);function S(X,he){let oe,me;return vl(X)?(oe=t.getRecordMatcher(X),me=he):me=X,t.addRoute(me,oe)}function l(X){const he=t.getRecordMatcher(X);he&&t.removeRoute(he)}function w(){return t.getRoutes().map(X=>X.record)}function C(X){return!!t.getRecordMatcher(X)}function L(X,he){if(he=Ge({},he||c.value),typeof X=="string"){const qe=Ir(i,X,he.path),j=t.resolve({path:qe.path},he),P=n.createHref(qe.fullPath);return Ge(qe,j,{params:_(j.params),hash:ir(qe.hash),redirectedFrom:void 0,href:P})}let oe;if("path"in X)oe=Ge({},X,{path:Ir(i,X.path,he.path).path});else{const qe=Ge({},X.params);for(const j in qe)qe[j]==null&&delete qe[j];oe=Ge({},X,{params:v(X.params)}),he.params=v(he.params)}const me=t.resolve(oe,he),Fe=X.hash||"";me.params=m(_(me.params));const De=Bc(r,Ge({},X,{hash:kh(Fe),path:me.path})),Me=n.createHref(De);return Ge({fullPath:De,hash:Fe,query:r===Qo?Oh(X.query):X.query||{}},me,{redirectedFrom:void 0,href:Me})}function A(X){return typeof X=="string"?Ir(i,X,c.value.path):Ge({},X)}function O(X,he){if(d!==X)return Xn(8,{from:he,to:X})}function E(X){return de(X)}function Q(X){return E(Ge(A(X),{replace:!0}))}function H(X){const he=X.matched[X.matched.length-1];if(he&&he.redirect){const{redirect:oe}=he;let me=typeof oe=="function"?oe(X):oe;return typeof me=="string"&&(me=me.includes("?")||me.includes("#")?me=A(me):{path:me},me.params={}),Ge({query:X.query,hash:X.hash,params:X.params},me)}}function de(X,he){const oe=d=L(X),me=c.value,Fe=X.state,De=X.force,Me=X.replace===!0,qe=H(oe);if(qe)return de(Ge(A(qe),{state:Fe,force:De,replace:Me}),he||oe);const j=oe;j.redirectedFrom=he;let P;return!De&&Dc(r,me,oe)&&(P=Xn(16,{to:j,from:me}),lt(me,me,!0,!1)),(P?Promise.resolve(P):le(j,me)).catch(T=>nn(T)?nn(T,2)?T:Ie(T):Ae(T,j,me)).then(T=>{if(T){if(nn(T,2))return de(Ge(A(T.to),{state:Fe,force:De,replace:Me}),he||j)}else T=pe(j,me,!0,Me,Fe);return U(j,me,T),T})}function D(X,he){const oe=O(X,he);return oe?Promise.reject(oe):Promise.resolve()}function le(X,he){let oe;const[me,Fe,De]=Bh(X,he);oe=Rr(me.reverse(),"beforeRouteLeave",X,he);for(const qe of me)qe.leaveGuards.forEach(j=>{oe.push(on(j,X,he))});const Me=D.bind(null,X,he);return oe.push(Me),Nn(oe).then(()=>{oe=[];for(const qe of s.list())oe.push(on(qe,X,he));return oe.push(Me),Nn(oe)}).then(()=>{oe=Rr(Fe,"beforeRouteUpdate",X,he);for(const qe of Fe)qe.updateGuards.forEach(j=>{oe.push(on(j,X,he))});return oe.push(Me),Nn(oe)}).then(()=>{oe=[];for(const qe of X.matched)if(qe.beforeEnter&&!he.matched.includes(qe))if(Array.isArray(qe.beforeEnter))for(const j of qe.beforeEnter)oe.push(on(j,X,he));else oe.push(on(qe.beforeEnter,X,he));return oe.push(Me),Nn(oe)}).then(()=>(X.matched.forEach(qe=>qe.enterCallbacks={}),oe=Rr(De,"beforeRouteEnter",X,he),oe.push(Me),Nn(oe))).then(()=>{oe=[];for(const qe of a.list())oe.push(on(qe,X,he));return oe.push(Me),Nn(oe)}).catch(qe=>nn(qe,8)?qe:Promise.reject(qe))}function U(X,he,oe){for(const me of u.list())me(X,he,oe)}function pe(X,he,oe,me,Fe){const De=O(X,he);if(De)return De;const Me=he===tn,qe=Fn?history.state:{};oe&&(me||Me?n.replace(X.fullPath,Ge({scroll:Me&&qe&&qe.scroll},Fe)):n.push(X.fullPath,Fe)),c.value=X,lt(X,he,oe,Me),Ie()}let Y;function xe(){Y||(Y=n.listen((X,he,oe)=>{const me=L(X),Fe=H(me);if(Fe){de(Ge(Fe,{replace:!0}),me).catch(fi);return}d=me;const De=c.value;Fn&&Gc(Ho(De.fullPath,oe.delta),gr()),le(me,De).catch(Me=>nn(Me,12)?Me:nn(Me,2)?(de(Me.to,me).then(qe=>{nn(qe,20)&&!oe.delta&&oe.type===bi.pop&&n.go(-1,!1)}).catch(fi),Promise.reject()):(oe.delta&&n.go(-oe.delta,!1),Ae(Me,me,De))).then(Me=>{Me=Me||pe(me,De,!1),Me&&(oe.delta?n.go(-oe.delta,!1):oe.type===bi.pop&&nn(Me,20)&&n.go(-1,!1)),U(me,De,Me)}).catch(fi)}))}let Te=ti(),je=ti(),we;function Ae(X,he,oe){Ie(X);const me=je.list();return me.length?me.forEach(Fe=>Fe(X,he,oe)):console.error(X),Promise.reject(X)}function Ce(){return we&&c.value!==tn?Promise.resolve():new Promise((X,he)=>{Te.add([X,he])})}function Ie(X){return we||(we=!X,xe(),Te.list().forEach(([he,oe])=>X?oe(X):he()),Te.reset()),X}function lt(X,he,oe,me){const{scrollBehavior:Fe}=e;if(!Fn||!Fe)return Promise.resolve();const De=!oe&&Jc(Ho(X.fullPath,0))||(me||!oe)&&history.state&&history.state.scroll||null;return Ta().then(()=>Fe(X,he,De)).then(Me=>Me&&Uc(Me)).catch(Me=>Ae(Me,X,he))}const rt=X=>n.go(X);let nt;const ut=new Set;return{currentRoute:c,addRoute:S,removeRoute:l,hasRoute:C,getRoutes:w,resolve:L,options:e,push:E,replace:Q,go:rt,back:()=>rt(-1),forward:()=>rt(1),beforeEach:s.add,beforeResolve:a.add,afterEach:u.add,onError:je.add,isReady:Ce,install(X){const he=this;X.component("RouterLink",Lh),X.component("RouterView",Rh),X.config.globalProperties.$router=he,Object.defineProperty(X.config.globalProperties,"$route",{enumerable:!0,get:()=>ri(c)}),Fn&&!nt&&c.value===tn&&(nt=!0,E(n.location).catch(Fe=>{}));const oe={};for(const Fe in tn)oe[Fe]=Wt(()=>c.value[Fe]);X.provide(js,he),X.provide(pl,ki(oe)),X.provide(es,c);const me=X.unmount;ut.add(X),X.unmount=function(){ut.delete(X),ut.size<1&&(d=tn,Y&&Y(),Y=null,c.value=tn,nt=!1,we=!1),me()}}}}function Nn(e){return e.reduce((t,i)=>t.then(()=>i()),Promise.resolve())}function Bh(e,t){const i=[],r=[],n=[],s=Math.max(t.matched.length,e.matched.length);for(let a=0;aWn(d,u))?r.push(u):i.push(u));const c=e.matched[a];c&&(t.matched.find(d=>Wn(d,c))||n.push(c))}return[i,r,n]}var Tt=(e,t)=>{const i=e.__vccOpts||e;for(const[r,n]of t)i[r]=n;return i};const Dh={props:["portList","disabled"],data(){return{showMenu:!1}},mounted(){document.addEventListener("click",this.clickListener)},unmounted(){document.removeEventListener("click",this.clickListener)},methods:{clickListener(e){e.target.id!="dropdown-btn"&&(this.showMenu=!1)},onclick(e){this.$emit("select",e),this.showMenu=!1},toggle(){this.showMenu=!this.showMenu}}},zh={class:"dropdown"},Vh=["disabled"],Hh=["onClick"];function Wh(e,t,i,r,n,s){return _e(),be("div",null,[q("div",zh,[q("button",{id:"dropdown-btn",class:"btn btn-sm btn-dark dropdown-toggle",disabled:i.disabled,type:"button",onClick:t[0]||(t[0]=a=>s.toggle())},null,8,Vh),q("div",{class:_t("dropdown-menu"+(n.showMenu==!0?" show":"")),"aria-labelledby":"dropdownMenuButton"},[(_e(!0),be(Ze,null,qt(i.portList,a=>(_e(),be("a",{class:"dropdown-item",onClick:u=>s.onclick(a)},Ke(a),9,Hh))),256))],2)])])}var Xh=Tt(Dh,[["render",Wh]]);const $h={components:{PortList:Xh},data(){return{connection:{connect:!1,port:""},port:"/dev/ttyUSB0",lastMessage:"",portList:[]}},computed:{host(){return location.hostname},path(){return this.$route.path}},methods:{fetch_execute:async function(e,t,i,r){try{let s=await(await fetch(e,t)).json();i&&i(s)}catch(n){r&&r(n)}finally{}},loadURL(e){this.fetch_execute(e,{method:"GET",credentials:"same-origin",cache:"no-cache"},t=>{this.connection=t},t=>{console.log(t)})},connect(){this.fetch_execute("http://"+this.host+":5000/connection/connect/"+encodeURIComponent(this.port),{method:"GET",credentials:"same-origin",cache:"no-cache"},e=>{this.connection=e,e.connect==!1?e.message&&(this.lastMessage=e.message):(this.lastMessage="",localStorage.setItem("port",this.port))},e=>{console.log(e)})},disconnect(){this.loadURL("http://"+this.host+":5000/connection/disconnect/")},loadConnectionStatus(){this.loadURL("http://"+this.host+":5000/connection/status/")},loadPortList(){this.fetch_execute("http://"+this.host+":5000/connection/list/",{method:"GET",credentials:"same-origin",cache:"no-cache"},e=>{this.portList=e.ports})}},mounted(){this.port=localStorage.port,this.timerId=setInterval(()=>this.loadConnectionStatus(),1e3),this.timerPortsId=setInterval(()=>this.loadPortList(),3e3)},unmounted(){clearInterval(this.timerId),clearInterval(this.timerPortsId)}},Uh={class:"container"},Gh={class:"navbar navbar-expand-lg navbar-light bg-light"},Jh={class:"container-fluid"},Qh=q("div",null,null,-1),Yh={class:"text-danger p-1 m-0",role:"alert"},Kh={key:0},Zh={class:"row"},ed=q("div",{class:"col"},null,-1),td={class:"col-auto text-center"},nd={class:"col-auto"},id=["disabled"],rd={class:"col-auto p-0"},sd={class:"col-auto"};function od(e,t,i,r,n,s){const a=At("PortList"),u=At("RouterView");return _e(),be("div",Uh,[q("header",null,[q("nav",Gh,[q("div",Jh,[Qh,q("div",Yh,[n.lastMessage!=""?(_e(),be("span",Kh,"\u26A0 "+Ke(n.lastMessage),1)):Nt("",!0)]),q("div",null,[q("form",null,[q("div",Zh,[ed,q("div",td,[q("span",{class:_t(n.connection.connect==!0?"fs-4 text-success":"fs-4 text-secondary")},"\u2699",2)]),q("div",nd,[Xe(q("input",{type:"text","onUpdate:modelValue":t[0]||(t[0]=c=>n.port=c),disabled:n.connection.connect==!0,size:"10",class:"form-control form-control-sm"},null,8,id),[[Ye,n.port]])]),q("div",rd,[Je(a,{portList:n.portList,disabled:n.connection.connect==!0,onSelect:t[1]||(t[1]=c=>n.port=c)},null,8,["portList","disabled"])]),q("div",sd,[n.connection.connect==!1?(_e(),be("button",{key:0,type:"button",onClick:t[2]||(t[2]=c=>s.connect()),class:"btn btn-dark btn-sm"},"Connect")):Nt("",!0),n.connection.connect==!0?(_e(),be("button",{key:1,type:"button",onClick:t[3]||(t[3]=c=>s.disconnect()),class:"btn btn-dark btn-sm"},"Disconnect")):Nt("",!0)])])])])])])]),Je(u)])}var ad=Tt($h,[["render",od]]);const ld="modulepreload",ta={},ud="/",na=function(t,i){return!i||i.length===0?t():Promise.all(i.map(r=>{if(r=`${ud}${r}`,r in ta)return;ta[r]=!0;const n=r.endsWith(".css"),s=n?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${r}"]${s}`))return;const a=document.createElement("link");if(a.rel=n?"stylesheet":ld,n||(a.as="script",a.crossOrigin=""),a.href=r,document.head.appendChild(a),n)return new Promise((u,c)=>{a.addEventListener("load",u),a.addEventListener("error",()=>c(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>t())};var fd=document.all&&!document.addEventListener;fd||function(e,t){var i,r,n=e.document;e.location;var s=e.navigator,a=e.JQXLite,u=e.$,c=Array.prototype.push,d=Array.prototype.slice,m=Array.prototype.indexOf,v=Object.prototype.toString,_=Object.prototype.hasOwnProperty,S=String.prototype.trim,l=function(o,f){return new l.fn.init(o,f,i)},w=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,C=/\S/,L=/\s+/,A=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,O=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,E=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,Q=/^[\],:{}\s]*$/,H=/(?:^|:|,)(?:\s*\[)+/g,de=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,D=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,le=/^-ms-/,U=/-([\da-z])/gi,pe=function(o,f){return(f+"").toUpperCase()},Y=function(){n.addEventListener?(n.removeEventListener("DOMContentLoaded",Y,!1),l.ready()):n.readyState==="complete"&&(n.detachEvent("onreadystatechange",Y),l.ready())},xe={};l.fn=l.prototype={constructor:l,init:function(o,f,h){var p,g,x;if(!o)return this;if(o.nodeType)return this.context=this[0]=o,this.length=1,this;if(typeof o=="string")if(o.charAt(0)==="<"&&o.charAt(o.length-1)===">"&&o.length>=3?p=[null,o,null]:p=O.exec(o),p&&(p[1]||!f)){if(p[1])return f=f instanceof l?f[0]:f,x=f&&f.nodeType?f.ownerDocument||f:n,o=l.parseHTML(p[1],x,!0),E.test(p[1])&&l.isPlainObject(f)&&this.attr.call(o,f,!0),l.merge(this,o);if(g=n.getElementById(p[2]),g&&g.parentNode){if(g.id!==p[2])return h.find(o);this.length=1,this[0]=g}return this.context=n,this.selector=o,this}else return!f||f.jqx?(f||h).find(o):this.constructor(f).find(o);else if(l.isFunction(o))return h.ready(o);return o.selector!==t&&(this.selector=o.selector,this.context=o.context),l.makeArray(o,this)},selector:"",jqx:"4.5.0",length:0,size:function(){return this.length},toArray:function(){return d.call(this)},get:function(o){return o==null?this.toArray():o<0?this[this.length+o]:this[o]},pushStack:function(o,f,h){var p=l.merge(this.constructor(),o);return p.prevObject=this,p.context=this.context,f==="find"?p.selector=this.selector+(this.selector?" ":"")+h:f&&(p.selector=this.selector+"."+f+"("+h+")"),p},each:function(o,f){return l.each(this,o,f)},ready:function(o){return l.ready.promise().done(o),this},eq:function(o){return o=+o,o===-1?this.slice(o):this.slice(o,o+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(d.apply(this,arguments),"slice",d.call(arguments).join(","))},map:function(o){return this.pushStack(l.map(this,function(f,h){return o.call(f,h,f)}))},end:function(){return this.prevObject||this.constructor(null)},push:c,sort:[].sort,splice:[].splice},l.fn.init.prototype=l.fn,l.extend=l.fn.extend=function(){var o,f,h,p,g,x,y=arguments[0]||{},k=1,N=arguments.length,B=!1;for(typeof y=="boolean"&&(B=y,y=arguments[1]||{},k=2),typeof y!="object"&&!l.isFunction(y)&&(y={}),N===k&&(y=this,--k);k0)&&(r.resolveWith(n,[l]),l.fn.trigger&&l(n).trigger("ready").off("ready"))}},isFunction:function(o){return l.type(o)==="function"},isArray:Array.isArray||function(o){return l.type(o)==="array"},isWindow:function(o){return o!=null&&o==o.window},isNumeric:function(o){return!isNaN(parseFloat(o))&&isFinite(o)},type:function(o){return o==null?String(o):xe[v.call(o)]||"object"},isPlainObject:function(o){if(!o||l.type(o)!=="object"||o.nodeType||l.isWindow(o))return!1;try{if(o.constructor&&!_.call(o,"constructor")&&!_.call(o.constructor.prototype,"isPrototypeOf"))return!1}catch{return!1}var f;for(f in o);return f===t||_.call(o,f)},isEmptyObject:function(o){var f;for(f in o)return!1;return!0},error:function(o){throw new Error(o)},parseHTML:function(o,f,h){var p;return!o||typeof o!="string"?null:(typeof f=="boolean"&&(h=f,f=0),f=f||n,(p=E.exec(o))?[f.createElement(p[1])]:(p=l.buildFragment([o],f,h?null:[]),l.merge([],(p.cacheable?l.clone(p.fragment):p.fragment).childNodes)))},parseJSON:function(o){if(!o||typeof o!="string")return null;if(o=l.trim(o),e.JSON&&e.JSON.parse)return e.JSON.parse(o);if(Q.test(o.replace(de,"@").replace(D,"]").replace(H,"")))return new Function("return "+o)();l.error("Invalid JSON: "+o)},parseXML:function(o){var f,h;if(!o||typeof o!="string")return null;try{e.DOMParser?(h=new DOMParser,f=h.parseFromString(o,"text/xml")):(f=new ActiveXObject("Microsoft.XMLDOM"),f.async="false",f.loadXML(o))}catch{f=t}return(!f||!f.documentElement||f.getElementsByTagName("parsererror").length)&&l.error("Invalid XML: "+o),f},noop:function(){},globalEval:function(o){o&&C.test(o)&&(e.execScript||function(f){e.eval.call(e,f)})(o)},camelCase:function(o){return o.replace(le,"ms-").replace(U,pe)},nodeName:function(o,f){return o.nodeName&&o.nodeName.toLowerCase()===f.toLowerCase()},each:function(o,f,h){var p,g=0,x=o.length,y=x===t||l.isFunction(o);if(h)if(y){for(p in o)if(f.apply(o[p],h)===!1)break}else for(;g0&&o[0]&&o[k-1]||k===0||l.isArray(o));if(N)for(;y-1;)k.splice(re,1),p&&(re<=x&&x--,re<=y&&y--)}),this},has:function(W){return l.inArray(W,k)>-1},empty:function(){return k=[],this},disable:function(){return k=N=f=t,this},disabled:function(){return!k},lock:function(){return N=t,f||F.disable(),this},locked:function(){return!N},fireWith:function(W,te){return te=te||[],te=[W,te.slice?te.slice():te],k&&(!h||N)&&(p?N.push(te):B(te)),this},fire:function(){return F.fireWith(this,arguments),this},fired:function(){return!!h}};return F},l.extend({Deferred:function(o){var f=[["resolve","done",l.Callbacks("once memory"),"resolved"],["reject","fail",l.Callbacks("once memory"),"rejected"],["notify","progress",l.Callbacks("memory")]],h="pending",p={state:function(){return h},always:function(){return g.done(arguments).fail(arguments),this},then:function(){var x=arguments;return l.Deferred(function(y){l.each(f,function(k,N){var B=N[0],F=x[k];g[N[1]](l.isFunction(F)?function(){var W=F.apply(this,arguments);W&&l.isFunction(W.promise)?W.promise().done(y.resolve).fail(y.reject).progress(y.notify):y[B+"With"](this===g?y:this,[W])}:y[B])}),x=null}).promise()},promise:function(x){return x!=null?l.extend(x,p):p}},g={};return p.pipe=p.then,l.each(f,function(x,y){var k=y[2],N=y[3];p[y[1]]=k.add,N&&k.add(function(){h=N},f[x^1][2].disable,f[2][2].lock),g[y[0]]=k.fire,g[y[0]+"With"]=k.fireWith}),p.promise(g),o&&o.call(g,g),g},when:function(o){var f=0,h=d.call(arguments),p=h.length,g=p!==1||o&&l.isFunction(o.promise)?p:0,x=g===1?o:l.Deferred(),y=function(F,W,te){return function(re){W[F]=this,te[F]=arguments.length>1?d.call(arguments):re,te===k?x.notifyWith(W,te):--g||x.resolveWith(W,te)}},k,N,B;if(p>1)for(k=new Array(p),N=new Array(p),B=new Array(p);f
a",f=W.getElementsByTagName("*"),h=W.getElementsByTagName("a")[0],!f||!h||!f.length)return{};p=n.createElement("select"),g=p.appendChild(n.createElement("option")),x=W.getElementsByTagName("input")[0],h.style.cssText="top:1px;float:left;opacity:.5",o={leadingWhitespace:W.firstChild.nodeType===3,tbody:!W.getElementsByTagName("tbody").length,htmlSerialize:!!W.getElementsByTagName("link").length,style:/top/.test(h.getAttribute("style")),hrefNormalized:h.getAttribute("href")==="/a",opacity:/^0.5/.test(h.style.opacity),cssFloat:!!h.style.cssFloat,checkOn:x.value==="on",optSelected:g.selected,getSetAttribute:W.className!=="t",enctype:!!n.createElement("form").enctype,html5Clone:n.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",boxModel:n.compatMode==="CSS1Compat",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},x.checked=!0,o.noCloneChecked=x.cloneNode(!0).checked,p.disabled=!0,o.optDisabled=!g.disabled;try{delete W.test}catch{o.deleteExpando=!1}if(!W.addEventListener&&W.attachEvent&&W.fireEvent&&(W.attachEvent("onclick",F=function(){o.noCloneEvent=!1}),W.cloneNode(!0).fireEvent("onclick"),W.detachEvent("onclick",F)),x=n.createElement("input"),x.value="t",x.setAttribute("type","radio"),o.radioValue=x.value==="t",x.setAttribute("checked","checked"),x.setAttribute("name","t"),W.appendChild(x),y=n.createDocumentFragment(),y.appendChild(W.lastChild),o.checkClone=y.cloneNode(!0).cloneNode(!0).lastChild.checked,o.appendChecked=x.checked,y.removeChild(x),y.appendChild(W),W.attachEvent)for(N in{submit:!0,change:!0,focusin:!0})k="on"+N,B=k in W,B||(W.setAttribute(k,"return;"),B=typeof W[k]=="function"),o[N+"Bubbles"]=B;return l(function(){var te,re,ie,ve,Le="padding:0;margin:0;border:0;display:block;overflow:hidden;",We=n.getElementsByTagName("body")[0];!We||(te=n.createElement("div"),te.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",We.insertBefore(te,We.firstChild),re=n.createElement("div"),te.appendChild(re),re.innerHTML="
t
",ie=re.getElementsByTagName("td"),ie[0].style.cssText="padding:0;margin:0;border:0;display:none",B=ie[0].offsetHeight===0,ie[0].style.display="",ie[1].style.display="none",o.reliableHiddenOffsets=B&&ie[0].offsetHeight===0,re.innerHTML="",re.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",o.boxSizing=re.offsetWidth===4,o.doesNotIncludeMarginInBodyOffset=We.offsetTop!==1,e.getComputedStyle&&(o.pixelPosition=(e.getComputedStyle(re,null)||{}).top!=="1%",o.boxSizingReliable=(e.getComputedStyle(re,null)||{width:"4px"}).width==="4px",ve=n.createElement("div"),ve.style.cssText=re.style.cssText=Le,ve.style.marginRight=ve.style.width="0",re.style.width="1px",re.appendChild(ve),o.reliableMarginRight=!parseFloat((e.getComputedStyle(ve,null)||{}).marginRight)),typeof re.style.zoom!="undefined"&&(re.innerHTML="",re.style.cssText=Le+"width:1px;padding:1px;display:inline;zoom:1",o.inlineBlockNeedsLayout=re.offsetWidth===3,re.style.display="block",re.style.overflow="visible",re.innerHTML="
",re.firstChild.style.width="5px",o.shrinkWrapBlocks=re.offsetWidth!==3,te.style.zoom=1),We.removeChild(te),te=re=ie=ve=null)}),y.removeChild(W),f=h=p=g=x=y=W=null,o}();var we=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,Ae=/([A-Z])/g;l.extend({cache:{},deletedIds:[],uuid:0,expando:"JQXLite"+(l.fn.jqx+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(o){return o=o.nodeType?l.cache[o[l.expando]]:o[l.expando],!!o&&!Ie(o)},data:function(o,f,h,p){if(!!l.acceptData(o)){var g,x,y=l.expando,k=typeof f=="string",N=o.nodeType,B=N?l.cache:o,F=N?o[y]:o[y]&&y;if(!((!F||!B[F]||!p&&!B[F].data)&&k&&h===t))return F||(N?o[y]=F=l.deletedIds.pop()||l.guid++:F=y),B[F]||(B[F]={},N||(B[F].toJSON=l.noop)),(typeof f=="object"||typeof f=="function")&&(p?B[F]=l.extend(B[F],f):B[F].data=l.extend(B[F].data,f)),g=B[F],p||(g.data||(g.data={}),g=g.data),h!==t&&(g[l.camelCase(f)]=h),k?(x=g[f],x==null&&(x=g[l.camelCase(f)])):x=g,x}},removeData:function(o,f,h){if(!!l.acceptData(o)){var p,g,x,y=o.nodeType,k=y?l.cache:o,N=y?o[l.expando]:l.expando;if(!!k[N]){if(f&&(p=h?k[N]:k[N].data,p)){for(l.isArray(f)||(f in p?f=[f]:(f=l.camelCase(f),f in p?f=[f]:f=f.split(" "))),g=0,x=f.length;g1,null,!1))},removeData:function(o){return this.each(function(){l.removeData(this,o)})}});function Ce(o,f,h){if(h===t&&o.nodeType===1){var p="data-"+f.replace(Ae,"-$1").toLowerCase();if(h=o.getAttribute(p),typeof h=="string"){try{h=h==="true"?!0:h==="false"?!1:h==="null"?null:+h+""===h?+h:we.test(h)?l.parseJSON(h):h}catch{}l.data(o,f,h)}else h=t}return h}function Ie(o){var f;for(f in o)if(!(f==="data"&&l.isEmptyObject(o[f]))&&f!=="toJSON")return!1;return!0}l.extend({queue:function(o,f,h){var p;if(o)return f=(f||"fx")+"queue",p=l._data(o,f),h&&(!p||l.isArray(h)?p=l._data(o,f,l.makeArray(h)):p.push(h)),p||[]},dequeue:function(o,f){f=f||"fx";var h=l.queue(o,f),p=h.length,g=h.shift(),x=l._queueHooks(o,f),y=function(){l.dequeue(o,f)};g==="inprogress"&&(g=h.shift(),p--),g&&(f==="fx"&&h.unshift("inprogress"),delete x.stop,g.call(o,y,x)),!p&&x&&x.empty.fire()},_queueHooks:function(o,f){var h=f+"queueHooks";return l._data(o,h)||l._data(o,h,{empty:l.Callbacks("once memory").add(function(){l.removeData(o,f+"queue",!0),l.removeData(o,h,!0)})})}}),l.fn.extend({queue:function(o,f){var h=2;return typeof o!="string"&&(f=o,o="fx",h--),arguments.length1)},removeAttr:function(o){return this.each(function(){l.removeAttr(this,o)})},prop:function(o,f){return l.access(this,l.prop,o,f,arguments.length>1)},removeProp:function(o){return o=l.propFix[o]||o,this.each(function(){try{this[o]=t,delete this[o]}catch{}})},addClass:function(o){var f,h,p,g,x,y,k;if(l.isFunction(o))return this.each(function(N){l(this).addClass(o.call(this,N,this.className))});if(o&&typeof o=="string"){for(f=o.split(L),h=0,p=this.length;h=0;)h=h.replace(" "+f[g]+" "," ");p.className=o?l.trim(h):""}}return this},toggleClass:function(o,f){var h=typeof o,p=typeof f=="boolean";return l.isFunction(o)?this.each(function(g){l(this).toggleClass(o.call(this,g,this.className,f),f)}):this.each(function(){if(h==="string")for(var g,x=0,y=l(this),k=f,N=o.split(L);g=N[x++];)k=p?k:!y.hasClass(g),y[k?"addClass":"removeClass"](g);else(h==="undefined"||h==="boolean")&&(this.className&&l._data(this,"__className__",this.className),this.className=this.className||o===!1?"":l._data(this,"__className__")||"")})},hasClass:function(o){for(var f=" "+o+" ",h=0,p=this.length;h=0)return!0;return!1},val:function(o){var f,h,p,g=this[0];return arguments.length?(p=l.isFunction(o),this.each(function(x){var y,k=l(this);this.nodeType===1&&(p?y=o.call(this,x,k.val()):y=o,y==null?y="":typeof y=="number"?y+="":l.isArray(y)&&(y=l.map(y,function(N){return N==null?"":N+""})),f=l.valHooks[this.type]||l.valHooks[this.nodeName.toLowerCase()],(!f||!("set"in f)||f.set(this,y,"value")===t)&&(this.value=y))})):g?(f=l.valHooks[g.type]||l.valHooks[g.nodeName.toLowerCase()],f&&"get"in f&&(h=f.get(g,"value"))!==t?h:(h=g.value,typeof h=="string"?h.replace(ut,""):h==null?"":h)):void 0}}),l.extend({valHooks:{option:{get:function(o){var f=o.attributes.value;return!f||f.specified?o.value:o.text}},select:{get:function(o){for(var f,h,p=o.options,g=o.selectedIndex,x=o.type==="select-one"||g<0,y=x?null:[],k=x?g+1:p.length,N=g<0?k:x?g:0;N=0}),h.length||(o.selectedIndex=-1),h}}},attrFn:{},attr:function(o,f,h,p){var g,x,y,k=o.nodeType;if(!(!o||k===3||k===8||k===2)){if(p&&l.isFunction(l.fn[f]))return l(o)[f](h);if(typeof o.getAttribute=="undefined")return l.prop(o,f,h);if(y=k!==1||!l.isXMLDoc(o),y&&(f=f.toLowerCase(),x=l.attrHooks[f]||(oe.test(f)?rt:lt)),h!==t)if(h===null){l.removeAttr(o,f);return}else return x&&"set"in x&&y&&(g=x.set(o,h,f))!==t?g:(o.setAttribute(f,h+""),h);else return x&&"get"in x&&y&&(g=x.get(o,f))!==null?g:(g=o.getAttribute(f),g===null?t:g)}},removeAttr:function(o,f){var h,p,g,x,y=0;if(f&&o.nodeType===1)for(p=f.split(L);y=0&&(ie=ie.slice(0,-1),x=!0),ie.indexOf(".")>=0&&(ve=ie.split("."),ie=ve.shift(),ve.sort()),!((!h||l.event.customEvent[ie])&&!l.event.global[ie]))){if(o=typeof o=="object"?o[l.expando]?o:new l.Event(ie,o):new l.Event(ie),o.type=ie,o.isTrigger=!0,o.exclusive=x,o.namespace=ve.join("."),o.namespace_re=o.namespace?new RegExp("(^|\\.)"+ve.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,B=ie.indexOf(":")<0?"on"+ie:"",!h){g=l.cache;for(y in g)g[y].events&&g[y].events[ie]&&l.event.trigger(o,f,g[y].handle.elem,!0);return}if(o.result=t,o.target||(o.target=h),f=f!=null?l.makeArray(f):[],f.unshift(o),F=l.event.special[ie]||{},!(F.trigger&&F.trigger.apply(h,f)===!1)){if(te=[[h,F.bindType||ie]],!p&&!F.noBubble&&!l.isWindow(h)){for(re=F.delegateType||ie,k=j.test(re+ie)?h:h.parentNode,N=h;k;k=k.parentNode)te.push([k,re]),N=k;N===(h.ownerDocument||n)&&te.push([N.defaultView||N.parentWindow||e,re])}for(y=0;y=0:l.find(B,this,null,[p]).length),x[B]&&k.push(N);k.length&&ve.push({elem:p,matches:k})}}for(F.length>W&&ve.push({elem:this,matches:F.slice(W)}),f=0;f0?this.on(f,null,h,p):this.trigger(f)},Me.test(f)&&(l.event.fixHooks[f]=l.event.keyHooks),qe.test(f)&&(l.event.fixHooks[f]=l.event.mouseHooks)});/*! * Sizzle CSS Selector Engine * Copyright 2012 JQXLite Foundation and other contributors * Released under the MIT license * http://sizzlejs.com/ */(function(o,f){var h,p,g,x,y,k,N,B,F,W,te=!0,re="undefined",ie=("sizcache"+Math.random()).replace(".",""),ve=String,Le=o.document,We=Le.documentElement,Ni=0,$l=0,Ul=[].pop,Ln=[].push,An=[].slice,wr=[].indexOf||function(b){for(var M=0,I=this.length;Mg.cacheLength&&delete b[M.shift()],b[I+" "]=z},b)},$s=br(),Us=br(),Gs=br(),it="[\\x20\\t\\r\\n\\f]",mn="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",Gl=mn.replace("w","w#"),Jl="([*^$|!~]?=)",Js="\\["+it+"*("+mn+")"+it+"*(?:"+Jl+it+`*(?:(['"])((?:\\\\.|[^\\\\])*?)\\3|(`+Gl+")|)|)"+it+"*\\]",Sr=":("+mn+`)(?:\\((?:(['"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:`+Js+")|[^:]|\\\\.)*|.*))\\)|)",Qs=":(even|odd|eq|gt|lt|nth|first|last)(?:\\("+it+"*((?:-\\d)?\\d*)"+it+"*\\)|)(?=[^-]|$)",Ii=new RegExp("^"+it+"+|((?:^|[^\\\\])(?:\\\\.)*)"+it+"+$","g"),Ql=new RegExp("^"+it+"*,"+it+"*"),Yl=new RegExp("^"+it+"*([\\x20\\t\\r\\n\\f>+~])"+it+"*"),Kl=new RegExp(Sr),Zl=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,jr=/[\x20\t\r\n\f]*[+~]/,eu=/h\d/i,tu=/input|select|textarea|button/i,gn=/\\(?!\\)/g,Ri={ID:new RegExp("^#("+mn+")"),CLASS:new RegExp("^\\.("+mn+")"),NAME:new RegExp(`^\\[name=['"]?(`+mn+`)['"]?\\]`),TAG:new RegExp("^("+mn.replace("w","w*")+")"),ATTR:new RegExp("^"+Js),PSEUDO:new RegExp("^"+Sr),POS:new RegExp(Qs,"i"),CHILD:new RegExp("^:(only|nth|first|last)-child(?:\\("+it+"*(even|odd|(([+-]|)(\\d*)n|)"+it+"*(?:([+-]|)"+it+"*(\\d+)|))"+it+"*\\)|)","i"),needsContext:new RegExp("^"+it+"*[>+~]|"+Qs,"i")},Yt=function(b){var M=Le.createElement("div");try{return b(M)}catch{return!1}finally{M=null}},nu=Yt(function(b){return b.appendChild(Le.createComment("")),!b.getElementsByTagName("*").length}),iu=Yt(function(b){return b.innerHTML="",b.firstChild&&typeof b.firstChild.getAttribute!==re&&b.firstChild.getAttribute("href")==="#"}),ru=Yt(function(b){b.innerHTML="";var M=typeof b.lastChild.getAttribute("multiple");return M!=="boolean"&&M!=="string"}),Ys=Yt(function(b){return b.innerHTML="",!b.getElementsByClassName||!b.getElementsByClassName("e").length?!1:(b.lastChild.className="e",b.getElementsByClassName("e").length===2)}),su=Yt(function(b){b.id=ie+0,b.innerHTML="
",We.insertBefore(b,We.firstChild);var M=Le.getElementsByName&&Le.getElementsByName(ie).length===2+Le.getElementsByName(ie+0).length;return p=!Le.getElementById(ie),We.removeChild(b),M});try{An.call(We.childNodes,0)[0].nodeType}catch{An=function(M){for(var I,z=[];I=this[M];M++)z.push(I);return z}}function $e(b,M,I,z){I=I||[],M=M||Le;var J,ee,Z,se,ce=M.nodeType;if(!b||typeof b!="string")return I;if(ce!==1&&ce!==9)return[];if(Z=y(M),!Z&&!z&&(J=Zl.exec(b)))if(se=J[1]){if(ce===9)if(ee=M.getElementById(se),ee&&ee.parentNode){if(ee.id===se)return I.push(ee),I}else return I;else if(M.ownerDocument&&(ee=M.ownerDocument.getElementById(se))&&k(M,ee)&&ee.id===se)return I.push(ee),I}else{if(J[2])return Ln.apply(I,An.call(M.getElementsByTagName(b),0)),I;if((se=J[3])&&Ys&&M.getElementsByClassName)return Ln.apply(I,An.call(M.getElementsByClassName(se),0)),I}return Tr(b.replace(Ii,"$1"),M,I,z,Z)}$e.matches=function(b,M){return $e(b,null,null,M)},$e.matchesSelector=function(b,M){return $e(M,null,null,[b]).length>0};function Kn(b){return function(M){var I=M.nodeName.toLowerCase();return I==="input"&&M.type===b}}function Ks(b){return function(M){var I=M.nodeName.toLowerCase();return(I==="input"||I==="button")&&M.type===b}}function vn(b){return Lt(function(M){return M=+M,Lt(function(I,z){for(var J,ee=b([],I.length,M),Z=ee.length;Z--;)I[J=ee[Z]]&&(I[J]=!(z[J]=I[J]))})})}x=$e.getText=function(b){var M,I="",z=0,J=b.nodeType;if(J){if(J===1||J===9||J===11){if(typeof b.textContent=="string")return b.textContent;for(b=b.firstChild;b;b=b.nextSibling)I+=x(b)}else if(J===3||J===4)return b.nodeValue}else for(;M=b[z];z++)I+=x(M);return I},y=$e.isXML=function(b){var M=b&&(b.ownerDocument||b).documentElement;return M?M.nodeName!=="HTML":!1},k=$e.contains=We.contains?function(b,M){var I=b.nodeType===9?b.documentElement:b,z=M&&M.parentNode;return b===z||!!(z&&z.nodeType===1&&I.contains&&I.contains(z))}:We.compareDocumentPosition?function(b,M){return M&&!!(b.compareDocumentPosition(M)&16)}:function(b,M){for(;M=M.parentNode;)if(M===b)return!0;return!1},$e.attr=function(b,M){var I,z=y(b);return z||(M=M.toLowerCase()),(I=g.attrHandle[M])?I(b):z||ru?b.getAttribute(M):(I=b.getAttributeNode(M),I?typeof b[M]=="boolean"?b[M]?M:null:I.specified?I.value:null:null)},g=$e.selectors={cacheLength:50,createPseudo:Lt,match:Ri,attrHandle:iu?{}:{href:function(b){return b.getAttribute("href",2)},type:function(b){return b.getAttribute("type")}},find:{ID:p?function(b,M,I){if(typeof M.getElementById!==re&&!I){var z=M.getElementById(b);return z&&z.parentNode?[z]:[]}}:function(b,M,I){if(typeof M.getElementById!==re&&!I){var z=M.getElementById(b);return z?z.id===b||typeof z.getAttributeNode!==re&&z.getAttributeNode("id").value===b?[z]:f:[]}},TAG:nu?function(b,M){if(typeof M.getElementsByTagName!==re)return M.getElementsByTagName(b)}:function(b,M){var I=M.getElementsByTagName(b);if(b==="*"){for(var z,J=[],ee=0;z=I[ee];ee++)z.nodeType===1&&J.push(z);return J}return I},NAME:su&&function(b,M){if(typeof M.getElementsByName!==re)return M.getElementsByName(name)},CLASS:Ys&&function(b,M,I){if(typeof M.getElementsByClassName!==re&&!I)return M.getElementsByClassName(b)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(b){return b[1]=b[1].replace(gn,""),b[3]=(b[4]||b[5]||"").replace(gn,""),b[2]==="~="&&(b[3]=" "+b[3]+" "),b.slice(0,4)},CHILD:function(b){return b[1]=b[1].toLowerCase(),b[1]==="nth"?(b[2]||$e.error(b[0]),b[3]=+(b[3]?b[4]+(b[5]||1):2*(b[2]==="even"||b[2]==="odd")),b[4]=+(b[6]+b[7]||b[2]==="odd")):b[2]&&$e.error(b[0]),b},PSEUDO:function(b){var M,I;return Ri.CHILD.test(b[0])?null:(b[3]?b[2]=b[3]:(M=b[4])&&(Kl.test(M)&&(I=Bi(M,!0))&&(I=M.indexOf(")",M.length-I)-M.length)&&(M=M.slice(0,I),b[0]=b[0].slice(0,I)),b[2]=M),b.slice(0,3))}},filter:{ID:p?function(b){return b=b.replace(gn,""),function(M){return M.getAttribute("id")===b}}:function(b){return b=b.replace(gn,""),function(M){var I=typeof M.getAttributeNode!==re&&M.getAttributeNode("id");return I&&I.value===b}},TAG:function(b){return b==="*"?function(){return!0}:(b=b.replace(gn,"").toLowerCase(),function(M){return M.nodeName&&M.nodeName.toLowerCase()===b})},CLASS:function(b){var M=$s[ie][b+" "];return M||(M=new RegExp("(^|"+it+")"+b+"("+it+"|$)"))&&$s(b,function(I){return M.test(I.className||typeof I.getAttribute!==re&&I.getAttribute("class")||"")})},ATTR:function(b,M,I){return function(z,J){var ee=$e.attr(z,b);return ee==null?M==="!=":M?(ee+="",M==="="?ee===I:M==="!="?ee!==I:M==="^="?I&&ee.indexOf(I)===0:M==="*="?I&&ee.indexOf(I)>-1:M==="$="?I&&ee.substr(ee.length-I.length)===I:M==="~="?(" "+ee+" ").indexOf(I)>-1:M==="|="?ee===I||ee.substr(0,I.length+1)===I+"-":!1):!0}},CHILD:function(b,M,I,z){return b==="nth"?function(J){var ee,Z,se=J.parentNode;if(I===1&&z===0)return!0;if(se)for(Z=0,ee=se.firstChild;ee&&!(ee.nodeType===1&&(Z++,J===ee));ee=ee.nextSibling);return Z-=z,Z===I||Z%I===0&&Z/I>=0}:function(J){var ee=J;switch(b){case"only":case"first":for(;ee=ee.previousSibling;)if(ee.nodeType===1)return!1;if(b==="first")return!0;ee=J;case"last":for(;ee=ee.nextSibling;)if(ee.nodeType===1)return!1;return!0}}},PSEUDO:function(b,M){var I,z=g.pseudos[b]||g.setFilters[b.toLowerCase()]||$e.error("unsupported pseudo: "+b);return z[ie]?z(M):z.length>1?(I=[b,b,"",M],g.setFilters.hasOwnProperty(b.toLowerCase())?Lt(function(J,ee){for(var Z,se=z(J,M),ce=se.length;ce--;)Z=wr.call(J,se[ce]),J[Z]=!(ee[Z]=se[ce])}):function(J){return z(J,0,I)}):z}},pseudos:{not:Lt(function(b){var M=[],I=[],z=N(b.replace(Ii,"$1"));return z[ie]?Lt(function(J,ee,Z,se){for(var ce,Oe=z(J,null,se,[]),Ee=J.length;Ee--;)(ce=Oe[Ee])&&(J[Ee]=!(ee[Ee]=ce))}):function(J,ee,Z){return M[0]=J,z(M,null,Z,I),!I.pop()}}),has:Lt(function(b){return function(M){return $e(b,M).length>0}}),contains:Lt(function(b){return function(M){return(M.textContent||M.innerText||x(M)).indexOf(b)>-1}}),enabled:function(b){return b.disabled===!1},disabled:function(b){return b.disabled===!0},checked:function(b){var M=b.nodeName.toLowerCase();return M==="input"&&!!b.checked||M==="option"&&!!b.selected},selected:function(b){return b.parentNode&&b.parentNode.selectedIndex,b.selected===!0},parent:function(b){return!g.pseudos.empty(b)},empty:function(b){var M;for(b=b.firstChild;b;){if(b.nodeName>"@"||(M=b.nodeType)===3||M===4)return!1;b=b.nextSibling}return!0},header:function(b){return eu.test(b.nodeName)},text:function(b){var M,I;return b.nodeName.toLowerCase()==="input"&&(M=b.type)==="text"&&((I=b.getAttribute("type"))==null||I.toLowerCase()===M)},radio:Kn("radio"),checkbox:Kn("checkbox"),file:Kn("file"),password:Kn("password"),image:Kn("image"),submit:Ks("submit"),reset:Ks("reset"),button:function(b){var M=b.nodeName.toLowerCase();return M==="input"&&b.type==="button"||M==="button"},input:function(b){return tu.test(b.nodeName)},focus:function(b){var M=b.ownerDocument;return b===M.activeElement&&(!M.hasFocus||M.hasFocus())&&!!(b.type||b.href||~b.tabIndex)},active:function(b){return b===b.ownerDocument.activeElement},first:vn(function(){return[0]}),last:vn(function(b,M){return[M-1]}),eq:vn(function(b,M,I){return[I<0?I+M:I]}),even:vn(function(b,M){for(var I=0;I=0;)b.push(z);return b}),gt:vn(function(b,M,I){for(var z=I<0?I+M:I;++z1?function(M,I,z){for(var J=b.length;J--;)if(!b[J](M,I,z))return!1;return!0}:b[0]}function Di(b,M,I,z,J){for(var ee,Z=[],se=0,ce=b.length,Oe=M!=null;se-1&&(Z[Ee]=!(se[Ee]=et))}}else at=Di(at===se?at.splice(ct,at.length):at),J?J(null,se,at,Oe):Ln.apply(se,at)})}function Cr(b){for(var M,I,z,J=b.length,ee=g.relative[b[0].type],Z=ee||g.relative[" "],se=ee?1:0,ce=kr(function(Be){return Be===M},Z,!0),Oe=kr(function(Be){return wr.call(M,Be)>-1},Z,!0),Ee=[function(Be,et,ot){return!ee&&(ot||et!==W)||((M=et).nodeType?ce(Be,et,ot):Oe(Be,et,ot))}];se1&&qr(Ee),se>1&&b.slice(0,se-1).join("").replace(Ii,"$1"),I,se0,z=b.length>0,J=function(ee,Z,se,ce,Oe){var Ee,Be,et,ot=[],jt=0,ct="0",Dt=ee&&[],kt=Oe!=null,at=W,lu=ee||z&&g.find.TAG("*",Oe&&Z.parentNode||Z),eo=Ni+=at==null?1:Math.E;for(kt&&(W=Z!==Le&&Z,h=J.el);(Ee=lu[ct])!=null;ct++){if(z&&Ee){for(Be=0;et=b[Be];Be++)if(et(Ee,Z,se)){ce.push(Ee);break}kt&&(Ni=eo,h=++J.el)}I&&((Ee=!et&&Ee)&&jt--,ee&&Dt.push(Ee))}if(jt+=ct,I&&ct!==jt){for(Be=0;et=M[Be];Be++)et(Dt,ot,Z,se);if(ee){if(jt>0)for(;ct--;)Dt[ct]||ot[ct]||(ot[ct]=Ul.call(ce));ot=Di(ot)}Ln.apply(ce,ot),kt&&!ee&&ot.length>0&&jt+M.length>1&&$e.uniqueSort(ce)}return kt&&(Ni=eo,W=at),Dt};return J.el=0,I?Lt(J):J}N=$e.compile=function(b,M){var I,z=[],J=[],ee=Gs[ie][b+" "];if(!ee){for(M||(M=Bi(b)),I=M.length;I--;)ee=Cr(M[I]),ee[ie]?z.push(ee):J.push(ee);ee=Gs(b,ou(J,z))}return ee};function au(b,M,I){for(var z=0,J=M.length;z2&&(se=Z[0]).type==="ID"&&M.nodeType===9&&!J&&g.relative[Z[1].type]){if(M=g.find.ID(se.matches[0].replace(gn,""),M,J)[0],!M)return I;b=b.slice(Z.shift().length)}for(ee=Ri.POS.test(b)?-1:Z.length-1;ee>=0&&(se=Z[ee],!g.relative[ce=se.type]);ee--)if((Oe=g.find[ce])&&(z=Oe(se.matches[0].replace(gn,""),jr.test(Z[0].type)&&M.parentNode||M,J))){if(Z.splice(ee,1),b=z.length&&Z.join(""),!b)return Ln.apply(I,An.call(z,0)),I;break}}return N(b,Ee)(z,M,J,I,jr.test(b)),I}Le.querySelectorAll&&function(){var b,M=Tr,I=/'|\\/g,z=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,J=[":focus"],ee=[":active"],Z=We.matchesSelector||We.mozMatchesSelector||We.webkitMatchesSelector||We.oMatchesSelector||We.msMatchesSelector;Yt(function(se){se.innerHTML="",se.querySelectorAll("[selected]").length||J.push("\\["+it+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),se.querySelectorAll(":checked").length||J.push(":checked")}),Yt(function(se){se.innerHTML="

",se.querySelectorAll("[test^='']").length&&J.push("[*^$]="+it+`*(?:""|'')`),se.innerHTML="",se.querySelectorAll(":enabled").length||J.push(":enabled",":disabled")}),J=new RegExp(J.join("|")),Tr=function(se,ce,Oe,Ee,Be){if(!Ee&&!Be&&!J.test(se)){var et,ot,jt=!0,ct=ie,Dt=ce,kt=ce.nodeType===9&&se;if(ce.nodeType===1&&ce.nodeName.toLowerCase()!=="object"){for(et=Bi(se),(jt=ce.getAttribute("id"))?ct=jt.replace(I,"\\$&"):ce.setAttribute("id",ct),ct="[id='"+ct+"'] ",ot=et.length;ot--;)et[ot]=ct+et[ot].join("");Dt=jr.test(se)&&ce.parentNode||ce,kt=et.join(",")}if(kt)try{return Ln.apply(Oe,An.call(Dt.querySelectorAll(kt),0)),Oe}catch{}finally{jt||ce.removeAttribute("id")}}return M(se,ce,Oe,Ee,Be)},Z&&(Yt(function(se){b=Z.call(se,"div");try{Z.call(se,"[test!='']:sizzle"),ee.push("!=",Sr)}catch{}}),ee=new RegExp(ee.join("|")),$e.matchesSelector=function(se,ce){if(ce=ce.replace(z,"='$1']"),!y(se)&&!ee.test(ce)&&!J.test(ce))try{var Oe=Z.call(se,ce);if(Oe||b||se.document&&se.document.nodeType!==11)return Oe}catch{}return $e(ce,null,null,[se]).length>0})}(),g.pseudos.nth=g.pseudos.eq;function Zs(){}g.filters=Zs.prototype=g.pseudos,g.setFilters=new Zs,$e.attr=l.attr,l.find=$e,l.expr=$e.selectors,l.expr[":"]=l.expr.pseudos,l.unique=$e.uniqueSort,l.text=$e.getText,l.isXMLDoc=$e.isXML,l.contains=$e.contains})(e);var V=/Until$/,ne=/^(?:parents|prev(?:Until|All))/,ue=/^.[^:#\[\.,]*$/,K=l.expr.match.needsContext,ae={children:!0,contents:!0,next:!0,prev:!0};l.fn.extend({find:function(o){var f,h,p,g,x,y,k=this;if(typeof o!="string")return l(o).filter(function(){for(f=0,h=k.length;f0){for(g=p;g=0:l.filter(o,this).length>0:this.filter(o).length>0)},closest:function(o,f){for(var h,p=0,g=this.length,x=[],y=K.test(o)||typeof o!="string"?l(o,f||this.context):0;p-1:l.find.matchesSelector(h,o)){x.push(h);break}h=h.parentNode}return x=x.length>1?l.unique(x):x,this.pushStack(x,"closest",o)},index:function(o){return o?typeof o=="string"?l.inArray(this[0],l(o)):l.inArray(o.jqx?o[0]:o,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(o,f){var h=typeof o=="string"?l(o,f):l.makeArray(o&&o.nodeType?[o]:o),p=l.merge(this.get(),h);return this.pushStack(G(h[0])||G(p[0])?p:l.unique(p))},addBack:function(o){return this.add(o==null?this.prevObject:this.prevObject.filter(o))}}),l.fn.andSelf=l.fn.addBack;function G(o){return!o||!o.parentNode||o.parentNode.nodeType===11}function ge(o,f){do o=o[f];while(o&&o.nodeType!==1);return o}l.each({parent:function(o){var f=o.parentNode;return f&&f.nodeType!==11?f:null},parents:function(o){return l.dir(o,"parentNode")},parentsUntil:function(o,f,h){return l.dir(o,"parentNode",h)},next:function(o){return ge(o,"nextSibling")},prev:function(o){return ge(o,"previousSibling")},nextAll:function(o){return l.dir(o,"nextSibling")},prevAll:function(o){return l.dir(o,"previousSibling")},nextUntil:function(o,f,h){return l.dir(o,"nextSibling",h)},prevUntil:function(o,f,h){return l.dir(o,"previousSibling",h)},siblings:function(o){return l.sibling((o.parentNode||{}).firstChild,o)},children:function(o){return l.sibling(o.firstChild)},contents:function(o){return l.nodeName(o,"iframe")?o.contentDocument||o.contentWindow.document:l.merge([],o.childNodes)}},function(o,f){l.fn[o]=function(h,p){var g=l.map(this,f,h);return V.test(o)||(p=h),p&&typeof p=="string"&&(g=l.filter(p,g)),g=this.length>1&&!ae[o]?l.unique(g):g,this.length>1&&ne.test(o)&&(g=g.reverse()),this.pushStack(g,o,d.call(arguments).join(","))}}),l.extend({filter:function(o,f,h){return h&&(o=":not("+o+")"),f.length===1?l.find.matchesSelector(f[0],o)?[f[0]]:[]:l.find.matches(o,f)},dir:function(o,f,h){for(var p=[],g=o[f];g&&g.nodeType!==9&&(h===t||g.nodeType!==1||!l(g).is(h));)g.nodeType===1&&p.push(g),g=g[f];return p},sibling:function(o,f){for(var h=[];o;o=o.nextSibling)o.nodeType===1&&o!==f&&h.push(o);return h}});function fe(o,f,h){if(f=f||0,l.isFunction(f))return l.grep(o,function(g,x){var y=!!f.call(g,x,g);return y===h});if(f.nodeType)return l.grep(o,function(g,x){return g===f===h});if(typeof f=="string"){var p=l.grep(o,function(g){return g.nodeType===1});if(ue.test(f))return l.filter(f,p,!h);f=l.filter(f,p)}return l.grep(o,function(g,x){return l.inArray(g,f)>=0===h})}function ye(o){var f=ke.split("|"),h=o.createDocumentFragment();if(h.createElement)for(;f.length;)h.createElement(f.pop());return h}var ke="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Ne=/ JQXLite\d+="(?:null|\d+)"/g,ze=/^\s+/,He=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Ue=/<([\w:]+)/,wt=/]","i"),dt=/^(?:checkbox|radio)$/,bt=/checked\s*(?:[^=]|=\s*.checked.)/i,Ci=/\/(java|ecma)script/i,Ml=/^\s*\s*$/g,St={option:[1,""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},Cs=ye(n),vr=Cs.appendChild(n.createElement("div"));St.optgroup=St.option,St.tbody=St.tfoot=St.colgroup=St.caption=St.thead,St.th=St.td,l.support.htmlSerialize||(St._default=[1,"X
","
"]),l.fn.extend({text:function(o){return l.access(this,function(f){return f===t?l.text(this):this.empty().append((this[0]&&this[0].ownerDocument||n).createTextNode(f))},null,o,arguments.length)},wrapAll:function(o){if(l.isFunction(o))return this.each(function(h){l(this).wrapAll(o.call(this,h))});if(this[0]){var f=l(o,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&f.insertBefore(this[0]),f.map(function(){for(var h=this;h.firstChild&&h.firstChild.nodeType===1;)h=h.firstChild;return h}).append(this)}return this},wrapInner:function(o){return l.isFunction(o)?this.each(function(f){l(this).wrapInner(o.call(this,f))}):this.each(function(){var f=l(this),h=f.contents();h.length?h.wrapAll(o):f.append(o)})},wrap:function(o){var f=l.isFunction(o);return this.each(function(h){l(this).wrapAll(f?o.call(this,h):o)})},unwrap:function(){return this.parent().each(function(){l.nodeName(this,"body")||l(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(o){(this.nodeType===1||this.nodeType===11)&&this.appendChild(o)})},prepend:function(){return this.domManip(arguments,!0,function(o){(this.nodeType===1||this.nodeType===11)&&this.insertBefore(o,this.firstChild)})},before:function(){if(!G(this[0]))return this.domManip(arguments,!1,function(f){this.parentNode.insertBefore(f,this)});if(arguments.length){var o=l.clean(arguments);return this.pushStack(l.merge(o,this),"before",this.selector)}},after:function(){if(!G(this[0]))return this.domManip(arguments,!1,function(f){this.parentNode.insertBefore(f,this.nextSibling)});if(arguments.length){var o=l.clean(arguments);return this.pushStack(l.merge(this,o),"after",this.selector)}},remove:function(o,f){for(var h,p=0;(h=this[p])!=null;p++)(!o||l.filter(o,[h]).length)&&(!f&&h.nodeType===1&&(l.cleanData(h.getElementsByTagName("*")),l.cleanData([h])),h.parentNode&&h.parentNode.removeChild(h));return this},empty:function(){for(var o,f=0;(o=this[f])!=null;f++)for(o.nodeType===1&&l.cleanData(o.getElementsByTagName("*"));o.firstChild;)o.removeChild(o.firstChild);return this},clone:function(o,f){return o=o==null?!1:o,f=f==null?o:f,this.map(function(){return l.clone(this,o,f)})},html:function(o){return l.access(this,function(f){var h=this[0]||{},p=0,g=this.length;if(f===t)return h.nodeType===1?h.innerHTML.replace(Ne,""):t;if(typeof f=="string"&&!Mi.test(f)&&(l.support.htmlSerialize||!Tn.test(f))&&(l.support.leadingWhitespace||!ze.test(f))&&!St[(Ue.exec(f)||["",""])[1].toLowerCase()]){f=f.replace(He,"<$1>");try{for(;p1&&typeof N=="string"&&bt.test(N))return this.each(function(){l(this).domManip(o,f,h)});if(l.isFunction(N))return this.each(function(W){var te=l(this);o[0]=N.call(this,W,f?te.html():t),te.domManip(o,f,h)});if(this[0]){if(p=l.buildFragment(o,this,B),x=p.fragment,g=x.firstChild,x.childNodes.length===1&&(x=g),g)for(f=f&&l.nodeName(g,"tr"),y=p.cacheable||F-1;k0?this.clone(!0):this).get(),l(y[g])[f](p),x=x.concat(p);return this.pushStack(x,o,y.selector)}});function Ti(o){return typeof o.getElementsByTagName!="undefined"?o.getElementsByTagName("*"):typeof o.querySelectorAll!="undefined"?o.querySelectorAll("*"):[]}function Es(o){dt.test(o.type)&&(o.defaultChecked=o.checked)}l.extend({clone:function(o,f,h){var p,g,x,y;if(l.support.html5Clone||l.isXMLDoc(o)||!Tn.test("<"+o.nodeName+">")?y=o.cloneNode(!0):(vr.innerHTML=o.outerHTML,vr.removeChild(y=vr.firstChild)),(!l.support.noCloneEvent||!l.support.noCloneChecked)&&(o.nodeType===1||o.nodeType===11)&&!l.isXMLDoc(o))for(Os(o,y),p=Ti(o),g=Ti(y),x=0;p[x];++x)g[x]&&Os(p[x],g[x]);if(f&&(Ts(o,y),h))for(p=Ti(o),g=Ti(y),x=0;p[x];++x)Ts(p[x],g[x]);return p=g=null,y},clean:function(o,f,h,p){var g,x,y,k,N,B,F,W,te,re,ie,ve=f===n&&Cs,Le=[];for((!f||typeof f.createDocumentFragment=="undefined")&&(f=n),g=0;(y=o[g])!=null;g++)if(typeof y=="number"&&(y+=""),!!y){if(typeof y=="string")if(!Qt.test(y))y=f.createTextNode(y);else{for(ve=ve||ye(f),F=f.createElement("div"),ve.appendChild(F),y=y.replace(He,"<$1>"),k=(Ue.exec(y)||["",""])[1].toLowerCase(),N=St[k]||St._default,B=N[0],F.innerHTML=N[1]+y+N[2];B--;)F=F.lastChild;if(!l.support.tbody)for(W=wt.test(y),te=k==="table"&&!W?F.firstChild&&F.firstChild.childNodes:N[1]===""&&!W?F.childNodes:[],x=te.length-1;x>=0;--x)l.nodeName(te[x],"tbody")&&!te[x].childNodes.length&&te[x].parentNode.removeChild(te[x]);!l.support.leadingWhitespace&&ze.test(y)&&F.insertBefore(f.createTextNode(ze.exec(y)[0]),F.firstChild),y=F.childNodes,F.parentNode.removeChild(F)}y.nodeType?Le.push(y):l.merge(Le,y)}if(F&&(y=F=ve=null),!l.support.appendChecked)for(g=0;(y=Le[g])!=null;g++)l.nodeName(y,"input")?Es(y):typeof y.getElementsByTagName!="undefined"&&l.grep(y.getElementsByTagName("input"),Es);if(h)for(re=function(We){if(!We.type||Ci.test(We.type))return p?p.push(We.parentNode?We.parentNode.removeChild(We):We):h.appendChild(We)},g=0;(y=Le[g])!=null;g++)l.nodeName(y,"script")&&re(y)||(h.appendChild(y),typeof y.getElementsByTagName!="undefined"&&(ie=l.grep(l.merge([],y.getElementsByTagName("script")),re),Le.splice.apply(Le,[g+1,0].concat(ie)),g+=ie.length));return Le},cleanData:function(o,f){for(var h,p,g,x,y=0,k=l.expando,N=l.cache,B=l.support.deleteExpando,F=l.event.special;(g=o[y])!=null;y++)if((f||l.acceptData(g))&&(p=g[k],h=p&&N[p],h)){if(h.events)for(x in h.events)F[x]?l.event.remove(g,x):l.removeEvent(g,x,h.handle);N[p]&&(delete N[p],B?delete g[k]:g.removeAttribute?g.removeAttribute(k):g[k]=null,l.deletedIds.push(p))}}}),function(){var o,f;l.uaMatch=function(h){h=h.toLowerCase();var p=/(chrome)[ \/]([\w.]+)/.exec(h)||/(webkit)[ \/]([\w.]+)/.exec(h)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(h)||/(msie) ([\w.]+)/.exec(h)||h.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(h)||[];return{browser:p[1]||"",version:p[2]||"0"}},o=l.uaMatch(s.userAgent),f={},o.browser&&(f[o.browser]=!0,f.version=o.version),f.chrome?f.webkit=!0:f.webkit&&(f.safari=!0),l.browser=f,l.sub=function(){function h(g,x){return new h.fn.init(g,x)}l.extend(!0,h,this),h.superclass=this,h.fn=h.prototype=this(),h.fn.constructor=h,h.sub=this.sub,h.fn.init=function(x,y){return y&&y instanceof l&&!(y instanceof h)&&(y=h(y)),l.fn.init.call(this,x,y,p)},h.fn.init.prototype=h.fn;var p=h(n);return h}}();var gt,On,En,_r=/alpha\([^)]*\)/i,Tl=/opacity=([^)]*)/,Ol=/^(top|right|bottom|left)$/,El=/^(none|table(?!-c[ea]).+)/,Ps=/^margin/,Pl=new RegExp("^("+w+")(.*)$","i"),Oi=new RegExp("^("+w+")(?!px)[a-z%]+$","i"),Ll=new RegExp("^([-+])=("+w+")","i"),xr={BODY:"block"},Al={position:"absolute",visibility:"hidden",display:"block"},Ls={letterSpacing:0,fontWeight:400},pn=["Top","Right","Bottom","Left"],As=["Webkit","O","Moz","ms"],Nl=l.fn.toggle;function Ns(o,f){if(f in o)return f;for(var h=f.charAt(0).toUpperCase()+f.slice(1),p=f,g=As.length;g--;)if(f=As[g]+h,f in o)return f;return p}function Ei(o,f){return o=f||o,l.css(o,"display")==="none"||!l.contains(o.ownerDocument,o)}function Is(o,f){for(var h,p,g=[],x=0,y=o.length;x1)},show:function(){return Is(this,!0)},hide:function(){return Is(this)},toggle:function(o,f){var h=typeof o=="boolean";return l.isFunction(o)&&l.isFunction(f)?Nl.apply(this,arguments):this.each(function(){(h?o:Ei(this))?l(this).show():l(this).hide()})}}),l.extend({cssHooks:{opacity:{get:function(o,f){if(f){var h=gt(o,"opacity");return h===""?"1":h}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:l.support.cssFloat?"cssFloat":"styleFloat"},style:function(o,f,h,p){if(!(!o||o.nodeType===3||o.nodeType===8||!o.style)){var g,x,y,k=l.camelCase(f),N=o.style;if(f=l.cssProps[k]||(l.cssProps[k]=Ns(N,k)),y=l.cssHooks[f]||l.cssHooks[k],h!==t){if(x=typeof h,x==="string"&&(g=Ll.exec(h))&&(h=(g[1]+1)*g[2]+parseFloat(l.css(o,f)),x="number"),h==null||x==="number"&&isNaN(h))return;if(x==="number"&&!l.cssNumber[k]&&(h+="px"),!y||!("set"in y)||(h=y.set(o,h,p))!==t)try{N[f]=h}catch{}}else return y&&"get"in y&&(g=y.get(o,!1,p))!==t?g:N[f]}},css:function(o,f,h,p){var g,x,y,k=l.camelCase(f);return f=l.cssProps[k]||(l.cssProps[k]=Ns(o.style,k)),y=l.cssHooks[f]||l.cssHooks[k],y&&"get"in y&&(g=y.get(o,!0,p)),g===t&&(g=gt(o,f)),g==="normal"&&f in Ls&&(g=Ls[f]),h||p!==t?(x=parseFloat(g),h||l.isNumeric(x)?x||0:g):g},swap:function(o,f,h){var p,g,x={};for(g in f)x[g]=o.style[g],o.style[g]=f[g];p=h.call(o);for(g in f)o.style[g]=x[g];return p}}),e.getComputedStyle?gt=function(o,f){var h,p,g,x,y=e.getComputedStyle(o,null),k=o.style;return y&&(h=y.getPropertyValue(f)||y[f],h===""&&!l.contains(o.ownerDocument,o)&&(h=l.style(o,f)),Oi.test(h)&&Ps.test(f)&&(p=k.width,g=k.minWidth,x=k.maxWidth,k.minWidth=k.maxWidth=k.width=h,h=y.width,k.width=p,k.minWidth=g,k.maxWidth=x)),h}:n.documentElement.currentStyle&&(gt=function(o,f){var h,p,g=o.currentStyle&&o.currentStyle[f],x=o.style;return g==null&&x&&x[f]&&(g=x[f]),Oi.test(g)&&!Ol.test(f)&&(h=x.left,p=o.runtimeStyle&&o.runtimeStyle.left,p&&(o.runtimeStyle.left=o.currentStyle.left),x.left=f==="fontSize"?"1em":g,g=x.pixelLeft+"px",x.left=h,p&&(o.runtimeStyle.left=p)),g===""?"auto":g});function Rs(o,f,h){var p=Pl.exec(f);return p?Math.max(0,p[1]-(h||0))+(p[2]||"px"):f}function Fs(o,f,h,p){for(var g=h===(p?"border":"content")?4:f==="width"?1:0,x=0;g<4;g+=2)h==="margin"&&(x+=l.css(o,h+pn[g],!0)),p?(h==="content"&&(x-=parseFloat(gt(o,"padding"+pn[g]))||0),h!=="margin"&&(x-=parseFloat(gt(o,"border"+pn[g]+"Width"))||0)):(x+=parseFloat(gt(o,"padding"+pn[g]))||0,h!=="padding"&&(x+=parseFloat(gt(o,"border"+pn[g]+"Width"))||0));return x}function Bs(o,f,h){var p=f==="width"?o.offsetWidth:o.offsetHeight,g=!0,x=l.support.boxSizing&&l.css(o,"boxSizing")==="border-box";if(p<=0||p==null){if(p=gt(o,f),(p<0||p==null)&&(p=o.style[f]),Oi.test(p))return p;g=x&&(l.support.boxSizingReliable||p===o.style[f]),p=parseFloat(p)||0}return p+Fs(o,f,h||(x?"border":"content"),g)+"px"}function Ds(o){if(xr[o])return xr[o];var f=l("<"+o+">").appendTo(n.body),h=f.css("display");return f.remove(),(h==="none"||h==="")&&(On=n.body.appendChild(On||l.extend(n.createElement("iframe"),{frameBorder:0,width:0,height:0})),(!En||!On.createElement)&&(En=(On.contentWindow||On.contentDocument).document,En.write(""),En.close()),f=En.body.appendChild(En.createElement(o)),h=gt(f,"display"),n.body.removeChild(On)),xr[o]=h,h}l.each(["height","width"],function(o,f){l.cssHooks[f]={get:function(h,p,g){if(p)return h.offsetWidth===0&&El.test(gt(h,"display"))?l.swap(h,Al,function(){return Bs(h,f,g)}):Bs(h,f,g)},set:function(h,p,g){return Rs(h,p,g?Fs(h,f,g,l.support.boxSizing&&l.css(h,"boxSizing")==="border-box"):0)}}}),l.support.opacity||(l.cssHooks.opacity={get:function(o,f){return Tl.test((f&&o.currentStyle?o.currentStyle.filter:o.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":f?"1":""},set:function(o,f){var h=o.style,p=o.currentStyle,g=l.isNumeric(f)?"alpha(opacity="+f*100+")":"",x=p&&p.filter||h.filter||"";h.zoom=1,!(f>=1&&l.trim(x.replace(_r,""))===""&&h.removeAttribute&&(h.removeAttribute("filter"),p&&!p.filter))&&(h.filter=_r.test(x)?x.replace(_r,g):x+" "+g)}}),l(function(){l.support.reliableMarginRight||(l.cssHooks.marginRight={get:function(o,f){return l.swap(o,{display:"inline-block"},function(){if(f)return gt(o,"marginRight")})}}),!l.support.pixelPosition&&l.fn.position&&l.each(["top","left"],function(o,f){l.cssHooks[f]={get:function(h,p){if(p){var g=gt(h,f);return Oi.test(g)?l(h).position()[f]+"px":g}}}})}),l.expr&&l.expr.filters&&(l.expr.filters.hidden=function(o){return o.offsetWidth===0&&o.offsetHeight===0||!l.support.reliableHiddenOffsets&&(o.style&&o.style.display||gt(o,"display"))==="none"},l.expr.filters.visible=function(o){return!l.expr.filters.hidden(o)}),l.each({margin:"",padding:"",border:"Width"},function(o,f){l.cssHooks[o+f]={expand:function(h){var p,g=typeof h=="string"?h.split(" "):[h],x={};for(p=0;p<4;p++)x[o+pn[p]+f]=g[p]||g[p-2]||g[0];return x}},Ps.test(o)||(l.cssHooks[o+f].set=Rs)});var Il=/%20/g,Rl=/\[\]$/,zs=/\r?\n/g,Fl=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,Bl=/^(?:select|textarea)/i;l.fn.extend({serialize:function(){return l.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?l.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||Bl.test(this.nodeName)||Fl.test(this.type))}).map(function(o,f){var h=l(this).val();return h==null?null:l.isArray(h)?l.map(h,function(p,g){return{name:f.name,value:p.replace(zs,`\r `)}}):{name:f.name,value:h.replace(zs,`\r `)}}).get()}}),l.param=function(o,f){var h,p=[],g=function(x,y){y=l.isFunction(y)?y():y==null?"":y,p[p.length]=encodeURIComponent(x)+"="+encodeURIComponent(y)};if(f===t&&(f=l.ajaxSettings&&l.ajaxSettings.traditional),l.isArray(o)||o.jqx&&!l.isPlainObject(o))l.each(o,function(){g(this.name,this.value)});else for(h in o)yr(h,o[h],f,g);return p.join("&").replace(Il,"+")};function yr(o,f,h,p){var g;if(l.isArray(f))l.each(f,function(x,y){h||Rl.test(o)?p(o,y):yr(o+"["+(typeof y=="object"?x:"")+"]",y,h,p)});else if(!h&&l.type(f)==="object")for(g in f)yr(o+"["+g+"]",f[g],h,p);else p(o,f)}l.support.ajax&&l.ajaxTransport(function(o){if(!o.crossDomain||l.support.cors){var f;return{send:function(h,p){var g,x,y=o.xhr();if(o.username?y.open(o.type,o.url,o.async,o.username,o.password):y.open(o.type,o.url,o.async),o.xhrFields)for(x in o.xhrFields)y[x]=o.xhrFields[x];o.mimeType&&y.overrideMimeType&&y.overrideMimeType(o.mimeType),!o.crossDomain&&!h["X-Requested-With"]&&(h["X-Requested-With"]="XMLHttpRequest");try{for(x in h)y.setRequestHeader(x,h[x])}catch{}y.send(o.hasContent&&o.data||null),f=function(k,N){var B,F,W,te,re;try{if(f&&(N||y.readyState===4))if(f=t,g&&(y.onreadystatechange=l.noop,xhrOnUnloadAbort&&delete xhrCallbacks[g]),N)y.readyState!==4&&y.abort();else{B=y.status,W=y.getAllResponseHeaders(),te={},re=y.responseXML,re&&re.documentElement&&(te.xml=re);try{te.text=y.responseText}catch{}try{F=y.statusText}catch{F=""}!B&&o.isLocal&&!o.crossDomain?B=te.text?200:404:B===1223&&(B=204)}}catch(ie){N||p(-1,ie)}te&&p(B,F,te,W)},o.async?y.readyState===4?setTimeout(f,0):(g=++xhrId,xhrOnUnloadAbort&&(xhrCallbacks||(xhrCallbacks={},l(e).unload(xhrOnUnloadAbort)),xhrCallbacks[g]=f),y.onreadystatechange=f):f()},abort:function(){f&&f(0,1)}}}});var Pn,Pi,Dl=/^(?:toggle|show|hide)$/,zl=new RegExp("^(?:([-+])=|)("+w+")([a-z%]*)$","i"),Vl=/queueHooks$/,Li=[Xl],Yn={"*":[function(o,f){var h,p,g=this.createTween(o,f),x=zl.exec(f),y=g.cur(),k=+y||0,N=1,B=20;if(x){if(h=+x[2],p=x[3]||(l.cssNumber[o]?"":"px"),p!=="px"&&k){k=l.css(g.elem,o,!0)||h||1;do N=N||".5",k=k/N,l.style(g.elem,o,k+p);while(N!==(N=g.cur()/y)&&N!==1&&--B)}g.unit=p,g.start=k,g.end=x[1]?k+(x[1]+1)*h:h}return g}]};function Vs(){return setTimeout(function(){Pn=t},0),Pn=l.now()}function Hl(o,f){l.each(f,function(h,p){for(var g=(Yn[h]||[]).concat(Yn["*"]),x=0,y=g.length;x-1,B={},F={},W,te;N?(F=g.position(),W=F.top,te=F.left):(W=parseFloat(y)||0,te=parseFloat(k)||0),l.isFunction(f)&&(f=f.call(o,h,x)),f.top!=null&&(B.top=f.top-x.top+W),f.left!=null&&(B.left=f.left-x.left+te),"using"in f?f.using.call(o,B):g.css(B)}},l.fn.extend({isRendered:function(){var o=this[0];return!(o.parentNode==null||o.offsetWidth===0||o.offsetHeight===0)},getSizeFromStyle:function(){var o=null,f=null,h=this[0],p;return h.style.width&&(o=h.style.width),h.style.height&&(f=h.style.height),e.getComputedStyle?p=getComputedStyle(h,null):p=h.currentStyle,p&&(p.width&&(o=p.width),p.height&&(f=p.height)),o==="0px"&&(o=0),f==="0px"&&(f=0),o===null&&(o=0),f===null&&(f=0),{width:o,height:f}},initAnimate:function(){},sizeStyleChanged:function(o){var f=this,h,p=function(g){var x=h;g&&g[0]&&g[0].attributeName==="style"&&g[0].type==="attributes"&&(x.element.offsetWidth!==x.offsetWidth||x.element.offsetHeight!==x.offsetHeight)&&(x.offsetWidth=x.element.offsetWidth,x.offsetHeight=x.element.offsetHeight,f.isRendered()&&x.callback())};h={element:f[0],offsetWidth:f[0].offsetWidth,offsetHeight:f[0].offsetHeight,callback:o};try{f.elementStyleObserver||(f.elementStyleObserver=new MutationObserver(p),f.elementStyleObserver.observe(f[0],{attributes:!0,childList:!1,characterData:!1}))}catch{}},position:function(){if(!!this[0]){var o=this[0],f=this.offsetParent(),h=this.offset(),p=Ws.test(f[0].nodeName)?{top:0,left:0}:f.offset();return h.top-=parseFloat(l.css(o,"marginTop"))||0,h.left-=parseFloat(l.css(o,"marginLeft"))||0,p.top+=parseFloat(l.css(f[0],"borderTopWidth"))||0,p.left+=parseFloat(l.css(f[0],"borderLeftWidth"))||0,{top:h.top-p.top,left:h.left-p.left}}},offsetParent:function(){return this.map(function(){for(var o=this.offsetParent||n.body;o&&!Ws.test(o.nodeName)&&l.css(o,"position")==="static";)o=o.offsetParent;return o||n.body})}}),l.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(o,f){var h=/Y/.test(f);l.fn[o]=function(p){return l.access(this,function(g,x,y){var k=Xs(g);if(y===t)return k?f in k?k[f]:k.document.documentElement[x]:g[x];k?k.scrollTo(h?l(k).scrollLeft():y,h?y:l(k).scrollTop()):g[x]=y},o,p,arguments.length,null)}});function Xs(o){return l.isWindow(o)?o:o.nodeType===9?o.defaultView||o.parentWindow:!1}l.each({Height:"height",Width:"width"},function(o,f){l.each({padding:"inner"+o,content:f,"":"outer"+o},function(h,p){l.fn[p]=function(g,x){var y=arguments.length&&(h||typeof g!="boolean"),k=h||(g===!0||x===!0?"margin":"border");return l.access(this,function(N,B,F){var W;return l.isWindow(N)?N.document.documentElement["client"+o]:N.nodeType===9?(W=N.documentElement,Math.max(N.body["scroll"+o],W["scroll"+o],N.body["offset"+o],W["offset"+o],W["client"+o])):F===t?l.css(N,B,F,k):l.style(N,B,F,k)},f,y?g:t,y,null)}})}),e.JQXLite=e.jqxHelper=l,typeof define=="function"&&define.amd&&define.amd.JQXLite&&define("jqx",[],function(){return l})}(window);(function(e){if(e.jqxCore){e.$$=e.minQuery=e.JQXLite,e.$||(e.$=e.minQuery);return}if(e.jQuery){e.minQuery=e.JQXLite=e.jQuery;return}e.$?e.minQuery=e.JQXLite=e.$:e.$=e.minQuery=e.JQXLite})(window);JQXLite.generateID=function(){var e=function(){return((1+Math.random())*65536|0).toString(16).substring(1)},t="";do t="jqx"+e()+e()+e();while($("#"+t).length>0);return t};var kl=window.jqxBaseFramework=window.minQuery||window.jQuery;(function(e){e.jqx=e.jqx||{},window.jqx=e.jqx;var t={createInstance:function(i,r,n){if(r=="jqxDataAdapter"){var s=n[0],a=n[1]||{};return new e.jqx.dataAdapter(s,a)}return e(i)[r](n||{}),e(i)[r]("getInstance")}};window.jqwidgets=t,e.jqx.define=function(i,r,n){i[r]=function(){this.baseType&&(this.base=new i[this.baseType],this.base.defineInstance()),this.defineInstance(),this.metaInfo()},i[r].prototype.defineInstance=function(){},i[r].prototype.metaInfo=function(){},i[r].prototype.base=null,i[r].prototype.baseType=void 0,n&&i[n]&&(i[r].prototype.baseType=n)},e.jqx.invoke=function(i,r){if(r.length!=0){for(var n=typeof r==Array||r.length>0?r[0]:r,s=typeof r==Array||r.length>1?Array.prototype.slice.call(r,1):e({}).toArray();i[n]==null&&i.base!=null;){if(i[n]!=null&&e.isFunction(i[n]))return i[n].apply(i,s);if(typeof n=="string"){var a=n.toLowerCase();if(i[a]!=null&&e.isFunction(i[a]))return i[a].apply(i,s)}i=i.base}if(i[n]!=null&&e.isFunction(i[n]))return i[n].apply(i,s);if(typeof n=="string"){var a=n.toLowerCase();if(i[a]!=null&&e.isFunction(i[a]))return i[a].apply(i,s)}}},e.jqx.getByPriority=function(i){for(var r=void 0,n=0;n0?r[0]:r;for((typeof r==Array||r.length>1)&&Array.prototype.slice.call(r,1);i[n]==null&&i.base!=null;){if(i[n]&&e.isFunction(i[n]))return!0;if(typeof n=="string"){var s=n.toLowerCase();if(i[s]&&e.isFunction(i[s]))return!0}i=i.base}if(i[n]&&e.isFunction(i[n]))return!0;if(typeof n=="string"){var s=n.toLowerCase();if(i[s]&&e.isFunction(i[s]))return!0}return!1},e.jqx.isPropertySetter=function(i,r){return r.length==1&&typeof r[0]=="object"||r.length==2&&typeof r[0]=="string"&&!e.jqx.hasFunction(i,r)},e.jqx.validatePropertySetter=function(i,r,n){if(!e.jqx.propertySetterValidation)return!0;if(r.length==1&&typeof r[0]=="object"){for(var s in r[0]){for(var a=i;!a.hasOwnProperty(s)&&a.base;)a=a.base;if(!a||!a.hasOwnProperty(s)){if(!n){var u=a.hasOwnProperty(s.toString().toLowerCase());if(u)return!0;throw"Invalid property: "+s}return!1}}return!0}if(r.length!=2){if(!n)throw"Invalid property: "+r.length>=0?r[0]:"";return!1}for(;!i.hasOwnProperty(r[0])&&i.base;)i=i.base;if(!i||!i.hasOwnProperty(r[0])){if(!n)throw"Invalid property: "+r[0];return!1}return!0},Object.keys||(Object.keys=function(){var i=Object.prototype.hasOwnProperty,r=!{toString:null}.propertyIsEnumerable("toString"),n=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],s=n.length;return function(a){if(typeof a!="object"&&(typeof a!="function"||a===null))throw new TypeError("Object.keys called on non-object");var u=[],c,d;for(c in a)i.call(a,c)&&u.push(c);if(r)for(d=0;d1){var s=i.base?i.base.element:i.element,a=e.data(s,i.widgetName).initArgs;if(a&&JSON&&JSON.stringify&&r[0]&&a[0])try{if(JSON.stringify(r[0])==JSON.stringify(a[0])){var u=!0;if(e.each(r[0],function(m,v){if(i[m]!=v)return u=!1,!1}),u)return}}catch{}i.batchUpdate=r[0];var c={},d={};e.each(r[0],function(m,v){for(var _=i;!_.hasOwnProperty(m)&&_.base!=null;)_=_.base;_.hasOwnProperty(m)?i[m]!=v&&(c[m]=i[m],d[m]=v,n++):_.hasOwnProperty(m.toLowerCase())&&i[m.toLowerCase()]!=v&&(c[m.toLowerCase()]=i[m.toLowerCase()],d[m.toLowerCase()]=v,n++)}),n<2&&(i.batchUpdate=null)}e.each(r[0],function(m,v){for(var _=i;!_.hasOwnProperty(m)&&_.base!=null;)_=_.base;if(_.hasOwnProperty(m))e.jqx.setvalueraiseevent(_,m,v);else if(_.hasOwnProperty(m.toLowerCase()))e.jqx.setvalueraiseevent(_,m.toLowerCase(),v);else if(e.jqx.propertySetterValidation)throw"jqxCore: invalid property '"+m+"'"}),i.batchUpdate!=null&&(i.batchUpdate=null,i.propertiesChangedHandler&&n>1&&i.propertiesChangedHandler(i,c,d))}else if(r.length==2){for(;!i.hasOwnProperty(r[0])&&i.base;)i=i.base;if(i.hasOwnProperty(r[0]))e.jqx.setvalueraiseevent(i,r[0],r[1]);else if(i.hasOwnProperty(r[0].toLowerCase()))e.jqx.setvalueraiseevent(i,r[0].toLowerCase(),r[1]);else if(e.jqx.propertySetterValidation)throw"jqxCore: invalid property '"+r[0]+"'"}},e.jqx.setvalueraiseevent=function(i,r,n){var s=i[r];i[r]=n,i.isInitialized&&(i.propertyChangedHandler!=null&&i.propertyChangedHandler(i,r,s,n),i.propertyChangeMap!=null&&i.propertyChangeMap[r]!=null&&i.propertyChangeMap[r](i,r,s,n))},e.jqx.get=function(i,r){if(!(r==null||r==null)){if(i.propertyMap){var n=i.propertyMap(r);if(n!=null)return n}if(i.hasOwnProperty(r))return i[r];if(i.hasOwnProperty(r.toLowerCase()))return i[r.toLowerCase()];var s=void 0;if(typeof r==Array){if(r.length!=1)return;s=r[0]}else typeof r=="string"&&(s=r);for(;!i.hasOwnProperty(s)&&i.base;)i=i.base;if(i)return i[s]}},e.jqx.serialize=function(i){var r="";if(e.isArray(i)){r="[";for(var n=0;n0&&(r+=", "),r+=e.jqx.serialize(i[n]);r+="]"}else if(typeof i=="object"){r="{";var s=0;for(var n in i)s++>0&&(r+=", "),r+=n+": "+e.jqx.serialize(i[n]);r+="}"}else r=i.toString();return r},e.jqx.propertySetterValidation=!0,e.jqx.jqxWidgetProxy=function(i,r,n){e(r);var s=e.data(r,i);if(s!=null){var a=s.instance;if(e.jqx.hasFunction(a,n))return e.jqx.invoke(a,n);if(e.jqx.isPropertySetter(a,n)){if(e.jqx.validatePropertySetter(a,n)){e.jqx.set(a,n);return}}else{if(typeof n=="object"&&n.length==0)return;if(typeof n=="object"&&n.length==1&&e.jqx.hasProperty(a,n[0]))return e.jqx.get(a,n[0]);if(typeof n=="string"&&e.jqx.hasProperty(a,n[0]))return e.jqx.get(a,n)}throw"jqxCore: Invalid parameter '"+e.jqx.serialize(n)+"' does not exist."}},e.jqx.applyWidget=function(i,r,n,m){var a=!1;try{a=window.MSApp!=null}catch{}var u=e(i);m?(m.host=u,m.element=i):m=new e.jqx["_"+r],i.id==""&&(i.id=e.jqx.utilities.createId());var c={host:u,element:i,instance:m,initArgs:n};m.widgetName=r,e.data(i,r,c),e.data(i,"jqxWidget",c.instance);for(var d=new Array,m=c.instance;m;)m.isInitialized=!1,d.push(m),m=m.base;d.reverse(),d[0].theme=e.jqx.theme||"",e.jqx.jqxWidgetProxy(r,i,n);for(var v in d)m=d[v],v==0&&(m.host=u,m.element=i,m.WinJS=a),m!=null&&(m.definedInstance&&m.definedInstance(),m.createInstance!=null&&(a?MSApp.execUnsafeLocalFunction(function(){m.createInstance(n)}):m.createInstance(n)));for(var v in d)d[v]!=null&&(d[v].isInitialized=!0);a?MSApp.execUnsafeLocalFunction(function(){c.instance.refresh(!0)}):c.instance.refresh(!0)},e.jqx.jqxWidget=function(i,r,n){var s=!1;try{var a=Array.prototype.slice.call(n,0)}catch{var a=""}try{s=window.MSApp!=null}catch{}var u=i,c="";r&&(c="_"+r),e.jqx.define(e.jqx,"_"+u,c);var d=new Array;if(!window[u]){var m=function(v){if(v==null)return"";var _=e.type(v);switch(_){case"string":case"number":case"date":case"boolean":case"bool":return v===null?"":v.toString()}var S="";return e.each(v,function(l,w){var C=w;l>0&&(S+=", "),S+="[";var L=0;if(e.type(C)=="object")for(var A in C)L>0&&(S+=", "),S+="{"+A+":"+C[A]+"}",L++;else L>0&&(S+=", "),S+="{"+l+":"+C+"}",L++;S+="]"}),S};t[u]=window[u]=function(v,_){var S=[];_||(_={}),S.push(_);var l=v;if(e.type(l)==="object"&&v[0]?(l=v[0].id,l===""&&(l=v[0].id=e.jqx.utilities.createId())):e.type(v)==="object"&&v&&v.nodeName&&(l=v.id,l===""&&(l=v.id=e.jqx.utilities.createId())),window.jqxWidgets&&window.jqxWidgets[l]){if(_&&e.each(window.jqxWidgets[l],function(A){var O=e(this.element).data();O&&O.jqxWidget&&e(this.element)[u](_)}),window.jqxWidgets[l].length==1){var w=e(window.jqxWidgets[l][0].widgetInstance.element).data();if(w&&w.jqxWidget)return window.jqxWidgets[l][0]}var w=e(window.jqxWidgets[l][0].widgetInstance.element).data();if(w&&w.jqxWidget)return window.jqxWidgets[l]}var C=e(v);C.length===0&&(C=e("
"),(u==="jqxInput"||u==="jqxPasswordInput"||u==="jqxMaskedInput")&&(C=e("")),u==="jqxTextArea"&&(C=e("")),(u==="jqxButton"||u==="jqxRepeatButton"||u==="jqxToggleButton")&&(C=e("
","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]};if(typeof n=="string"&&!c.test(n)&&(e.support.htmlSerialize||!S.test(n))&&(e.support.leadingWhitespace||!l.test(n))&&!w[(v.exec(n)||["",""])[1].toLowerCase()]){n=n.replace(m,"<$1>");try{for(;a=0&&i.indexOf(".net4.0c")>=0&&(n.browser="msie",n.version="11",r[1]="msie"),i.indexOf("edge")>=0&&(n.browser="msie",n.version="12",r[1]="msie"),n[r[1]]=r[1],n}}),e.jqx.browser=e.jqx.utilities.getBrowser(),e.jqx.isHidden=function(i){if(!i||!i[0])return!1;var r=i[0].offsetWidth,n=i[0].offsetHeight;return r===0||n===0},e.jqx.ariaEnabled=!0,e.jqx.aria=function(i,r,n){if(!!e.jqx.ariaEnabled)if(r==null)e.each(i.aria,function(s,a){var u=i.base?i.base.host.attr(s):i.host.attr(s);if(u!=null&&!e.isFunction(u)){var c=u;switch(a.type){case"number":c=new Number(u),isNaN(c)&&(c=u);break;case"boolean":c=u=="true";break;case"date":c=new Date(u),(c=="Invalid Date"||isNaN(c))&&(c=u);break}i[a.name]=c}else{var u=i[a.name];e.isFunction(u)&&(u=i[a.name]()),u==null&&(u="");try{i.base?i.base.host.attr(s,u.toString()):i.host.attr(s,u.toString())}catch{}}});else try{i.host?i.base?i.base.host?i.base.host.attr(r,n.toString()):i.attr(r,n.toString()):i.host?i.element.setAttribute?i.element.setAttribute(r,n.toString()):i.host.attr(r,n.toString()):i.attr(r,n.toString()):i.setAttribute&&i.setAttribute(r,n.toString())}catch{}},Array.prototype.indexOf||(Array.prototype.indexOf=function(i){var r=this.length,n=Number(arguments[1])||0;for(n=n<0?Math.ceil(n):Math.floor(n),n<0&&(n+=r);n=0||u.indexOf("WPDesktop")>=0||u.indexOf("IEMobile")>=0||u.indexOf("ZuneWP7")>=0)return this.touchDevice=!0,!0;if(u.indexOf("Touch")>=0){var c="MSPointerDown"in window||"pointerdown"in window;return c?(this.touchDevice=!0,!0):u.indexOf("ARM")>=0?(this.touchDevice=!0,!0):(this.touchDevice=!1,!1)}}return navigator.platform.toLowerCase().indexOf("win")!=-1?(this.touchDevice=!1,!1):(("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)&&(this.touchDevice=!0),this.touchDevice)}catch{return this.touchDevice=!1,!1}},getLeftPos:function(i){for(var r=i.offsetLeft;(i=i.offsetParent)!=null;)i.tagName!="HTML"&&(r+=i.offsetLeft,document.all&&(r+=i.clientLeft));return r},getTopPos:function(i){for(var r=i.offsetTop,n=e(i).coord();(i=i.offsetParent)!=null;)i.tagName!="HTML"&&(r+=i.offsetTop-i.scrollTop,document.all&&(r+=i.clientTop));var s=navigator.userAgent.toLowerCase(),a=(s.indexOf("windows phone")!=-1||s.indexOf("WPDesktop")!=-1||s.indexOf("ZuneWP7")!=-1||s.indexOf("msie 9")!=-1||s.indexOf("msie 11")!=-1||s.indexOf("msie 10")!=-1)&&s.indexOf("touch")!=-1;return a?n.top:this.isSafariMobileBrowser()?this.isSafari4MobileBrowser()&&this.isIPadSafariMobileBrowser()?r:s.indexOf("version/7")!=-1?n.top:((s.indexOf("version/6")!=-1||s.indexOf("version/5")!=-1)&&(r=r+e(window).scrollTop()),/(Android.*Chrome\/[.0-9]* (!?Mobile))/.exec(navigator.userAgent)||/(Android.*Chrome\/[.0-9]* Mobile)/.exec(navigator.userAgent)?r+e(window).scrollTop():n.top):r},isChromeMobileBrowser:function(){var i=navigator.userAgent.toLowerCase(),r=i.indexOf("android")!=-1;return r},isOperaMiniMobileBrowser:function(){var i=navigator.userAgent.toLowerCase(),r=i.indexOf("opera mini")!=-1||i.indexOf("opera mobi")!=-1;return r},isOperaMiniBrowser:function(){var i=navigator.userAgent.toLowerCase(),r=i.indexOf("opera mini")!=-1;return r},isNewSafariMobileBrowser:function(){var i=navigator.userAgent.toLowerCase(),r=i.indexOf("ipad")!=-1||i.indexOf("iphone")!=-1||i.indexOf("ipod")!=-1;return r=r&&i.indexOf("version/5")!=-1,r},isSafari4MobileBrowser:function(){var i=navigator.userAgent.toLowerCase(),r=i.indexOf("ipad")!=-1||i.indexOf("iphone")!=-1||i.indexOf("ipod")!=-1;return r=r&&i.indexOf("version/4")!=-1,r},isWindowsPhone:function(){var i=navigator.userAgent.toLowerCase(),r=i.indexOf("windows phone")!=-1||i.indexOf("WPDesktop")!=-1||i.indexOf("ZuneWP7")!=-1||i.indexOf("msie 9")!=-1||i.indexOf("msie 11")!=-1||i.indexOf("msie 10")!=-1&&i.indexOf("touch")!=-1;return r},isSafariMobileBrowser:function(){var i=navigator.userAgent.toLowerCase();if(/(Android.*Chrome\/[.0-9]* (!?Mobile))/.exec(navigator.userAgent)||/(Android.*Chrome\/[.0-9]* Mobile)/.exec(navigator.userAgent))return!0;var r=i.indexOf("ipad")!=-1||i.indexOf("iphone")!=-1||i.indexOf("ipod")!=-1||i.indexOf("mobile safari")!=-1;return r},isIPadSafariMobileBrowser:function(){var i=navigator.userAgent.toLowerCase(),r=i.indexOf("ipad")!=-1;return r},isMobileBrowser:function(){var i=navigator.userAgent.toLowerCase(),r=i.indexOf("ipad")!=-1||i.indexOf("iphone")!=-1||i.indexOf("android")!=-1;return r},getTouches:function(i){if(i.originalEvent){if(i.originalEvent.touches&&i.originalEvent.touches.length)return i.originalEvent.touches;if(i.originalEvent.changedTouches&&i.originalEvent.changedTouches.length)return i.originalEvent.changedTouches}return i.touches||(i.touches=new Array,i.touches[0]=i.originalEvent!=null?i.originalEvent:i,i.originalEvent!=null&&i.pageX&&(i.touches[0]=i),i.type=="mousemove"&&(i.touches[0]=i)),i.touches},getTouchEventName:function(i){if(this.isWindowsPhone()){var r=navigator.userAgent.toLowerCase();if(r.indexOf("windows phone 7")!=-1){if(i.toLowerCase().indexOf("start")!=-1)return"MSPointerDown";if(i.toLowerCase().indexOf("move")!=-1)return"MSPointerMove";if(i.toLowerCase().indexOf("end")!=-1)return"MSPointerUp"}if(i.toLowerCase().indexOf("start")!=-1)return"pointerdown";if(i.toLowerCase().indexOf("move")!=-1)return"pointermove";if(i.toLowerCase().indexOf("end")!=-1)return"pointerup"}else return i},dispatchMouseEvent:function(i,r,n){if(!this.simulatetouches){var s=document.createEvent("MouseEvent");s.initMouseEvent(i,!0,!0,r.view,1,r.screenX,r.screenY,r.clientX,r.clientY,!1,!1,!1,!1,0,null),n!=null&&n.dispatchEvent(s)}},getRootNode:function(i){for(;i.nodeType!==1;)i=i.parentNode;return i},setTouchScroll:function(i,r){this.enableScrolling||(this.enableScrolling=[]),this.enableScrolling[r]=i},touchScroll:function(i,r,n,_,a,u){if(i==null)return;var c=this;this.scrolling||(this.scrolling=[]),this.scrolling[_]=!1;var d=!1,m=e(i),v=["select","input","textarea"],X=0;this.enableScrolling||(this.enableScrolling=[]),this.enableScrolling[_]=!0;var _=_,S=this.getTouchEventName("touchstart")+".touchScroll",l=this.getTouchEventName("touchend")+".touchScroll",w=this.getTouchEventName("touchmove")+".touchScroll",C,L,Ie,Te,A,je,O,E,Q,H,de,D,le,U,pe,Y,xe,lt;A=r;var Te=0,je=0,we=0,Ae=0,Ce=0,Ie=a.jqxScrollBar("max"),lt=325;function rt(T){if(T.targetTouches&&T.targetTouches.length>=1)return T.targetTouches[0].clientY;if(T.originalEvent&&T.originalEvent.clientY!==void 0)return T.originalEvent.clientY;var R=c.getTouches(T);return R[0].clientY}function nt(T){if(T.targetTouches&&T.targetTouches.length>=1)return T.targetTouches[0].clientX;if(T.originalEvent&&T.originalEvent.clientX!==void 0)return T.originalEvent.clientX;var R=c.getTouches(T);return R[0].clientX}var ut=function(){var T,R,V,ne;T=Date.now(),R=T-D,D=T,V=je-de;var ue=we-C;de=je,C=we,E=!0,ne=1e3*V/(1+R);var K=1e3*ue/(1+R);Q=.8*ne+.2*Q,H=.8*K+.2*H},Bt=!1,X=function(T){if(!c.enableScrolling[_])return!0;if(e.inArray(T.target.tagName.toLowerCase(),v)!==-1)return;je=u.jqxScrollBar("value"),we=a.jqxScrollBar("value");var R=c.getTouches(T),V=R[0];R.length==1&&c.dispatchMouseEvent("mousedown",V,c.getRootNode(V.target)),Ie=a.jqxScrollBar("max"),A=u.jqxScrollBar("max");function ne(ue){Bt=!1,E=!0,O=rt(ue),xe=nt(ue),Q=U=H=0,de=je,C=we,D=Date.now(),clearInterval(le),le=setInterval(ut,100),Ae=je,Ce=we,je>0&&jeA?A:TA?"max":TIe?Ie:TIe?"max":T.5||R<-.5?(he(pe+R),requestAnimationFrame(me)):he(pe))}function Fe(){var T,R;U&&(T=Date.now()-D,R=-U*Math.exp(-T/lt),R>.5||R<-.5?(oe(Y+R),requestAnimationFrame(Fe)):oe(Y))}var De=function(T){if(!c.enableScrolling[_]||!c.scrolling[_])return!0;Bt&&(T.preventDefault(),T.stopPropagation());var R=c.getTouches(T);if(R.length>1)return!0;R[0].pageY,R[0].pageX,c.simulatetouches&&R[0]._pageY!=null&&(R[0]._pageY,R[0]._pageX),d=!0;var V=a!=null?a[0].style.visibility!="hidden":!0,ne=u!=null?u[0].style.visibility!="hidden":!0;function ue(K){var ae,G,ge;if(E){ae=rt(K),ge=nt(K),G=O-ae,L=xe-ge;var fe="value";if(G>2||G<-2)return O=ae,fe=he(je+G,K),ut(),fe=="min"&&Ae===0||fe=="max"&&Ae===A||!ne?!0:(K.preventDefault(),K.stopPropagation(),Bt=!0,!1);if(L>2||L<-2)return xe=ge,fe=oe(we+L,K),ut(),fe=="min"&&Ce===0||fe=="max"&&Ce===Ie||!V?!0:(Bt=!0,K.preventDefault(),K.stopPropagation(),!1);K.preventDefault()}}(V||ne)&&(V||ne)&&ue(T)};m.on?m.on(w,De):m.bind(w,De);var Me=function(T){if(!c.enableScrolling[_])return!0;var R=c.getTouches(T)[0];if(!c.scrolling[_])return!0;if(E=!1,clearInterval(le),Q>10||Q<-10?(U=.8*Q,pe=Math.round(je+U),D=Date.now(),requestAnimationFrame(me)):(H>10||H<-10)&&(U=.8*H,Y=Math.round(we+U),D=Date.now(),requestAnimationFrame(Fe)),c.scrolling[_]=!1,d)c.dispatchMouseEvent("mouseup",R,T.target);else{var R=c.getTouches(T)[0],V=c.getRootNode(R.target);return c.dispatchMouseEvent("mouseup",R,V),c.dispatchMouseEvent("click",R,V),!0}};if(this.simulatetouches){e(window).on!=null||e(window).bind;var qe=function(T){try{Me(T)}catch{}c.scrolling[_]=!1};if(e(window).on!=null?e(document).on("mouseup.touchScroll",qe):e(document).bind("mouseup.touchScroll",qe),window.frameElement&&window.top!=null){var j=function(T){try{Me(T)}catch{}c.scrolling[_]=!1};window.top.document&&(e(window.top.document).on?e(window.top.document).on("mouseup",j):e(window.top.document).bind("mouseup",j))}e(document).on!=null||e(document).bind;var P=function(T){if(!c.scrolling[_])return!0;c.scrolling[_]=!1;var R=c.getTouches(T)[0],V=c.getRootNode(R.target);c.dispatchMouseEvent("mouseup",R,V),c.dispatchMouseEvent("click",R,V)};e(document).on!=null?e(document).on("touchend",P):e(document).bind("touchend",P)}m.on&&(m.on("dragstart",function(T){T.preventDefault()}),m.on("selectstart",function(T){T.preventDefault()})),m.on?m.on(l+" touchcancel.touchScroll",Me):m.bind(l+" touchcancel.touchScroll",Me)}}),e.jqx.cookie=e.jqx.cookie||{},e.extend(e.jqx.cookie,{cookie:function(i,r,n){if(arguments.length>1&&String(r)!=="[object Object]"){if(n=e.extend({},n),r==null&&(n.expires=-1),typeof n.expires=="number"){var s=n.expires,a=n.expires=new Date;a.setDate(a.getDate()+s)}return r=String(r),document.cookie=[encodeURIComponent(i),"=",n.raw?r:encodeURIComponent(r),n.expires?"; expires="+n.expires.toUTCString():"",n.path?"; path="+n.path:"",n.domain?"; domain="+n.domain:"",n.secure?"; secure":""].join("")}n=r||{};var u,c=n.raw?function(d){return d}:decodeURIComponent;return(u=new RegExp("(?:^|; )"+encodeURIComponent(i)+"=([^;]*)").exec(document.cookie))?c(u[1]):null}}),e.jqx.string=e.jqx.string||{},e.extend(e.jqx.string,{replace:function(i,r,n){if(r===n)return this;for(var s=i,a=s.indexOf(r);a!=-1;)s=s.replace(r,n),a=s.indexOf(r);return s},contains:function(i,r){return i==null||r==null?!1:i.indexOf(r)!=-1},containsIgnoreCase:function(i,r){return i==null||r==null?!1:i.toString().toUpperCase().indexOf(r.toString().toUpperCase())!=-1},equals:function(i,r){return i==null||r==null?!1:(i=this.normalize(i),r.length==i.length?i.slice(0,r.length)==r:!1)},equalsIgnoreCase:function(i,r){return i==null||r==null?!1:(i=this.normalize(i),r.length==i.length?i.toUpperCase().slice(0,r.length)==r.toUpperCase():!1)},startsWith:function(i,r){return i==null||r==null?!1:i.slice(0,r.length)==r},startsWithIgnoreCase:function(i,r){return i==null||r==null?!1:i.toUpperCase().slice(0,r.length)==r.toUpperCase()},normalize:function(i){return i.charCodeAt(i.length-1)==65279&&(i=i.substring(0,i.length-1)),i},endsWith:function(i,r){return i==null||r==null?!1:(i=this.normalize(i),i.slice(-r.length)==r)},endsWithIgnoreCase:function(i,r){return i==null||r==null?!1:(i=this.normalize(i),i.toUpperCase().slice(-r.length)==r.toUpperCase())}}),e.extend(e.easing,{easeOutBack:function(i,r,n,s,a,u){return u==null&&(u=1.70158),s*((r=r/a-1)*r*((u+1)*r+u)+1)+n},easeInQuad:function(i,r,n,s,a){return s*(r/=a)*r+n},easeInOutCirc:function(i,r,n,s,a){return(r/=a/2)<1?-s/2*(Math.sqrt(1-r*r)-1)+n:s/2*(Math.sqrt(1-(r-=2)*r)+1)+n},easeInOutSine:function(i,r,n,s,a){return-s/2*(Math.cos(Math.PI*r/a)-1)+n},easeInCubic:function(i,r,n,s,a){return s*(r/=a)*r*r+n},easeOutCubic:function(i,r,n,s,a){return s*((r=r/a-1)*r*r+1)+n},easeInOutCubic:function(i,r,n,s,a){return(r/=a/2)<1?s/2*r*r*r+n:s/2*((r-=2)*r*r+2)+n},easeInSine:function(i,r,n,s,a){return-s*Math.cos(r/a*(Math.PI/2))+s+n},easeOutSine:function(i,r,n,s,a){return s*Math.sin(r/a*(Math.PI/2))+n},easeInOutSine:function(i,r,n,s,a){return-s/2*(Math.cos(Math.PI*r/a)-1)+n}})})(kl);(function(e){e.event&&e.event.special&&e.extend(e.event.special,{close:{noBubble:!0},open:{noBubble:!0},cellclick:{noBubble:!0},rowclick:{noBubble:!0},tabclick:{noBubble:!0},selected:{noBubble:!0},expanded:{noBubble:!0},collapsed:{noBubble:!0},valuechanged:{noBubble:!0},expandedItem:{noBubble:!0},collapsedItem:{noBubble:!0},expandingItem:{noBubble:!0},collapsingItem:{noBubble:!0}}),e.fn.extend&&e.fn.extend({ischildof:function(i){if(!e(this).parents){var r=i.element.contains(this.element);return r}for(var n=e(this).parents().get(),s=0;s=0){var r=e(this).find(".jqx-widget").data().jqxWidget;if(r&&r.val)return r.val()}return t.call(this)}else{if(e(this).hasClass("jqx-widget")||e(this).hasClass("jqx-input-group")){var r=e(this).data().jqxWidget;if(r&&r.val)return arguments.length!=2?r.val(i):r.val(i,arguments[1])}if(this[0]&&this[0].tagName.toLowerCase().indexOf("angular")>=0){var r=e(this).find(".jqx-widget").data().jqxWidget;if(r&&r.val)return arguments.length!=2?r.val(i):r.val(i,arguments[1])}return t.call(this,i)}},e.fn.modal&&e.fn.modal.Constructor&&(e.fn.modal.Constructor.prototype.enforceFocus=function(){e(document).off("focusin.bs.modal").on("focusin.bs.modal",e.proxy(function(i){if(this.$element[0]!==i.target&&!this.$element.has(i.target).length){if(e(i.target).parents().hasClass("jqx-popup"))return!0;this.$element.trigger("focus")}},this))}),e.fn.coord=function(i){var r,n,s={top:0,left:0},a=this[0],u=a&&a.ownerDocument;if(!!u){if(r=u.documentElement,!e.contains(r,a))return s;typeof a.getBoundingClientRect!==void 0&&(s=a.getBoundingClientRect());var c=function(l){return e.isWindow(l)?l:l.nodeType===9?l.defaultView||l.parentWindow:!1};n=c(u);var d=0,m=0,v=navigator.userAgent.toLowerCase(),_=v.indexOf("ipad")!=-1||v.indexOf("iphone")!=-1;if(_&&(d=2),i==!0&&document.body.style.position!="static"&&document.body.style.position!=""){var S=e(document.body).coord();d=-S.left,m=-S.top}return{top:m+s.top+(n.pageYOffset||r.scrollTop)-(r.clientTop||0),left:d+s.left+(n.pageXOffset||r.scrollLeft)-(r.clientLeft||0)}}},e.jqx.ripplers=[],e.jqx.ripple=function(i,r,n){r||(r=i);var s=e(i);s.append("");for(var a=s.find(".ink"),u=!1,c=0;c");var w=l.find(".ink");if(w.removeClass("animate"),!w.height()&&!w.width()){var C=Math.max(l.outerWidth(),l.outerHeight());w.css({height:C,width:C})}if(n==="checkbox"||n==="radiobutton"){if(n==="checkbox"&&r.jqxCheckBox("disabled")||n==="radiobutton"&&r.jqxRadioButton("disabled"))return;var L=l.width()/2-w.width()/2,A=l.height()/2-w.height()/2;w.css({top:A+"px",left:L+"px"}).addClass("animate"),w.on("animationend",function(){e.jqx.ripple.mouseCaptured&&(w.removeClass("animate"),w.addClass("active"),i.addClass("active"))});return}var L=S.pageX-l.offset().left-w.width()/2,A=S.pageY-l.offset().top-w.height()/2;w.css({top:A+"px",left:L+"px"}).addClass("animate")})})}})(kl);(function(e){e.jqx.jqxWidget("jqxDraw","",{}),e.extend(e.jqx._jqxDraw.prototype,{defineInstance:function(){var t={renderEngine:""};e.extend(!0,this,t);var i=["clear","on","off","removeElement","attr","getAttr","line","circle","rect","path","pieslice","text","measureText"];for(var r in i)this._addFn(e.jqx._jqxDraw.prototype,i[r]);return this===e.jqx._jqxDraw.prototype,t},_addFn:function(t,i){t[i]||(t[i]=function(){return this.renderer[i].apply(this.renderer,arguments)})},createInstance:function(t){},_initRenderer:function(t){return e.jqx.createRenderer(this,t)},_internalRefresh:function(){var t=this;if(!e.jqx.isHidden(t.host)){t.renderer||(t.host.empty(),t._initRenderer(t.host));var i=t.renderer;if(!!i){var r=i.getRect();t._render({x:1,y:1,width:r.width,height:r.height}),i instanceof e.jqx.HTML5Renderer&&i.refresh()}}},_saveAsImage:function(t,i,r,n){return e.jqx._widgetToImage(this,t,i,r,n)},_render:function(t){var i=this;i.renderer,i._plotRect=t},refresh:function(){this._internalRefresh()},getSize:function(){var t=this._plotRect;return{width:t.width,height:t.height}},saveAsPNG:function(t,i,r){return this._saveAsImage("png",t,i,r)},saveAsJPEG:function(t,i,r){return this._saveAsImage("jpeg",t,i,r)}})})(jqxBaseFramework);(function(e){e.jqx.toGreyScale=function(t){if(t.indexOf("#")==-1)return t;var i=e.jqx.cssToRgb(t);i[0]=i[1]=i[2]=Math.round(.3*i[0]+.59*i[1]+.11*i[2]);var r=e.jqx.rgbToHex(i[0],i[1],i[2]);return"#"+r[0]+r[1]+r[2]},e.jqx.adjustColor=function(s,i){if(typeof s!="string")return"#000000";if(s.indexOf("#")==-1)return s;var r=e.jqx.cssToRgb(s),n=e.jqx.rgbToHsl(r);n[2]=Math.min(1,n[2]*i),n[1]=Math.min(1,n[1]*i*1.1),r=e.jqx.hslToRgb(n);for(var s="#",a=0;a<3;a++){var u=Math.round(r[a]);u=e.jqx.decToHex(u),u.toString().length==1&&(s+="0"),s+=u}return s.toUpperCase()},e.jqx.decToHex=function(t){return t.toString(16)},e.jqx.hexToDec=function(t){return parseInt(t,16)},e.jqx.rgbToHex=function(t,i,r){return[e.jqx.decToHex(t),e.jqx.decToHex(i),e.jqx.decToHex(r)]},e.jqx.hexToRgb=function(t,i,r){return[e.jqx.hexToDec(t),e.jqx.hexToDec(i),e.jqx.hexToDec(r)]},e.jqx.cssToRgb=function(t){return t.indexOf("rgb")<=-1?e.jqx.hexToRgb(t.substring(1,3),t.substring(3,5),t.substring(5,7)):t.substring(4,t.length-1).split(",")},e.jqx.hslToRgb=function(t){var i=parseFloat(t[0]),r=parseFloat(t[1]),n=parseFloat(t[2]);if(r==0){var s,a,u;s=a=u=n}else var c=n<.5?n*(1+r):n+r-n*r,d=2*n-c,s=e.jqx.hueToRgb(d,c,i+1/3),a=e.jqx.hueToRgb(d,c,i),u=e.jqx.hueToRgb(d,c,i-1/3);return[s*255,a*255,u*255]},e.jqx.hueToRgb=function(t,i,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+(i-t)*6*r:r<1/2?i:r<2/3?t+(i-t)*(2/3-r)*6:t},e.jqx.rgbToHsl=function(t){var i=parseFloat(t[0])/255,r=parseFloat(t[1])/255,n=parseFloat(t[2])/255,s=Math.max(i,r,n),a=Math.min(i,r,n),u,c,d=(s+a)/2;if(s==a)u=c=0;else{var m=s-a;switch(c=d>.5?m/(2-s-a):m/(s+a),s){case i:u=(r-n)/m+(rt?i-.5:i+.5:i},e.jqx._ptRotate=function(t,i,r,n,s){var a=Math.sqrt(Math.pow(Math.abs(t-r),2)+Math.pow(Math.abs(i-n),2)),u=Math.asin((t-r)/a),c=u+s;return t=r+Math.cos(c)*a,i=n+Math.sin(c)*a,{x:t,y:i}},e.jqx._rup=function(t){var i=Math.round(t);return t>i&&i++,i},e.jqx.log=function(t,i){return Math.log(t)/(i?Math.log(i):1)},e.jqx._mod=function(t,i){var r=Math.abs(t>i?i:t),n=1;if(r!=0)for(;r*n<100;)n*=10;return t=t*n,i=i*n,t%i/n},e.jqx._rnd=function(t,i,r,n){if(isNaN(t))return t;n===void 0&&(n=!0);var s=t-(n==!0?t%i:e.jqx._mod(t,i));return t==s?s:(r?t>s&&(s+=i):s>t&&(s-=i),i==1?Math.round(s):s)},e.jqx.commonRenderer={pieSlicePath:function(t,i,r,n,s,a,u){n||(n=1);var c=Math.abs(s-a),d=c>180?1:0;c>=360&&(a=s+359.99);var m=s*Math.PI*2/360,v=a*Math.PI*2/360,_=t,S=t,l=i,w=i,C=!isNaN(r)&&r>0;if(C&&(u=0),u+r>0){if(u>0){var L=c/2+s,A=L*Math.PI*2/360;t+=u*Math.cos(A),i-=u*Math.sin(A)}if(C){var O=r;_=t+O*Math.cos(m),l=i-O*Math.sin(m),S=t+O*Math.cos(v),w=i-O*Math.sin(v)}}var E=t+n*Math.cos(m),Q=t+n*Math.cos(v),H=i-n*Math.sin(m),de=i-n*Math.sin(v),D="",le=Math.abs(Math.abs(a-s)-360)>.02;return C?(D="M "+S+","+w,D+=" a"+r+","+r,D+=" 0 "+d+",1 "+(_-S)+","+(l-w),le?D+=" L"+E+","+H:D+=" M"+E+","+H,D+=" a"+n+","+n,D+=" 0 "+d+",0 "+(Q-E)+","+(de-H),le&&(D+=" Z")):(D="M "+Q+","+de,D+=" a"+n+","+n,D+=" 0 "+d+",1 "+(E-Q)+","+(H-de),le&&(D+=" L"+t+","+i,D+=" Z")),D},measureText:function(t,i,r,n,s){var a=s._getTextParts(t,i,r),u=a.width,c=a.height;n==!1&&(c/=.6);var d={};if(isNaN(i)&&(i=0),i==0)d={width:e.jqx._rup(u),height:e.jqx._rup(c)};else{var m=i*Math.PI*2/360,v=Math.abs(Math.sin(m)),_=Math.abs(Math.cos(m)),S=Math.abs(u*v+c*_),l=Math.abs(u*_+c*v);d={width:e.jqx._rup(l),height:e.jqx._rup(S)}}return n&&(d.textPartsInfo=a),d},alignTextInRect:function(t,i,r,n,s,a,u,c,d,m){var v=d*Math.PI*2/360,_=Math.sin(v),S=Math.cos(v),l=s*_,w=s*S;u=="center"||u==""||u=="undefined"?t=t+r/2:u=="right"&&(t=t+r),c=="center"||c=="middle"||c==""||c=="undefined"?i=i+n/2:c=="bottom"?i+=n-a/2:c=="top"&&(i+=a/2),m=m||"";var C="middle";m.indexOf("top")!=-1?C="top":m.indexOf("bottom")!=-1&&(C="bottom");var L="center";return m.indexOf("left")!=-1?L="left":m.indexOf("right")!=-1&&(L="right"),L=="center"?(t-=w/2,i-=l/2):L=="right"&&(t-=w,i-=l),C=="top"?(t-=a*_,i+=a*S):C=="middle"&&(t-=a*_/2,i+=a*S/2),t=e.jqx._rup(t),i=e.jqx._rup(i),{x:t,y:i}}},e.jqx.svgRenderer=function(){},e.jqx.svgRenderer.prototype={_svgns:"http://www.w3.org/2000/svg",init:function(t){var i="
";t.append(i),this.host=t;var r=t.find(".chartContainer");r[0].style.width=t.width()+"px",r[0].style.height=t.height()+"px";try{var n=document.createElementNS(this._svgns,"svg");n.setAttribute("id","svgChart"),n.setAttribute("version","1.1"),n.setAttribute("width","100%"),n.setAttribute("height","100%"),n.setAttribute("overflow","hidden"),r[0].appendChild(n),this.canvas=n}catch{return!1}return this._id=new Date().getTime(),this.clear(),this._layout(),this._runLayoutFix(),!0},getType:function(){return"SVG"},refresh:function(){},_runLayoutFix:function(){this._fixLayout()},_fixLayout:function(){var t=this.canvas.getBoundingClientRect(),i=parseFloat(t.left)==parseInt(t.left),r=parseFloat(t.top)==parseInt(t.top);if(e.jqx.browser.msie){for(var i=!0,r=!0,n=this.host,s=0,a=0;n&&n.position&&n[0].parentNode;){var u=n.position();s+=parseFloat(u.left)-parseInt(u.left),a+=parseFloat(u.top)-parseInt(u.top),n=n.parent()}i=parseFloat(s)==parseInt(s),r=parseFloat(a)==parseInt(a)}i||(this.host.find(".tdLeft")[0].style.width="0.5px"),r||(this.host.find(".tdTop")[0].style.height="0.5px")},_layout:function(){var t=this.host.find(".chartContainer");this._width=Math.max(e.jqx._rup(this.host.width())-1,0),this._height=Math.max(e.jqx._rup(this.host.height())-1,0),t[0].style.width=this._width,t[0].style.height=this._height,this._fixLayout()},getRect:function(){return{x:0,y:0,width:this._width,height:this._height}},getContainer:function(){var t=this.host.find(".chartContainer");return t},clear:function(){for(;this.canvas.childElementCount>0;)this.removeElement(this.canvas.firstElementChild);this._defaultParent=void 0,this._defs=document.createElementNS(this._svgns,"defs"),this._gradients={},this.canvas.appendChild(this._defs)},removeElement:function(t){if(t!=null){this.removeHandler(t);try{for(;t.firstChild;)this.removeElement(t.firstChild);t.parentNode?t.parentNode.removeChild(t):this.canvas.removeChild(t)}catch{}}},_openGroups:[],beginGroup:function(){var t=this._activeParent(),i=document.createElementNS(this._svgns,"g");return t.appendChild(i),this._openGroups.push(i),i},endGroup:function(){this._openGroups.length!=0&&this._openGroups.pop()},_activeParent:function(){return this._openGroups.length==0?this.canvas:this._openGroups[this._openGroups.length-1]},createClipRect:function(t){var i=document.createElementNS(this._svgns,"clipPath"),r=document.createElementNS(this._svgns,"rect");return this.attr(r,{x:t.x,y:t.y,width:t.width,height:t.height,fill:"none"}),this._clipId=this._clipId||0,i.id="cl"+this._id+"_"+(++this._clipId).toString(),i.appendChild(r),this._defs.appendChild(i),i},getWindowHref:function(){var t=e.jqx.browser;if(t&&t.browser=="msie"&&t.version<10)return"";var i=window.location.href;return i&&(i=i.replace(/([\('\)])/g,"\\$1"),i=i.replace(/#.*$/,""),i)},setClip:function(t,i){var r="url("+this.getWindowHref()+"#"+i.id+")";return this.attr(t,{"clip-path":r})},_clipId:0,addHandler:function(t,i,r){e(t).on?e(t).on(i,r):e(t).bind(i,r)},removeHandler:function(t,i,r){e(t).off?e(t).off(i,r):e(t).unbind(i,r)},on:function(t,i,r){this.addHandler(t,i,r)},off:function(t,i,r){this.removeHandler(t,i,r)},shape:function(t,i){var r=document.createElementNS(this._svgns,t);if(!!r){for(var n in i)i[n]!==void 0&&i[n].toString()==="NaN"?r.setAttribute(n,0):r.setAttribute(n,i[n]);return this._activeParent().appendChild(r),r}},_getTextParts:function(t,i,r){var n={width:0,height:0,parts:[]};if(t===void 0)return n;var s=.6,a=t.toString().split("
"),u=this._activeParent(),c=document.createElementNS(this._svgns,"text");this.attr(c,r);for(var d=0;d0?4:0),n.parts.push({width:S,height:l,text:m})}return u.removeChild(c),n},_measureText:function(t,i,r,n){return e.jqx.commonRenderer.measureText(t,i,r,n,this)},measureText:function(t,i,r){return this._measureText(t,i,r,!1)},text:function(t,i,r,n,s,a,u,c,d,m,v){var _=this._measureText(t,a,u,!0),S=_.textPartsInfo,l=S.parts,w;if(d||(d="center"),m||(m="center"),(l.length>1||c)&&(w=this.beginGroup()),c){var C=this.createClipRect({x:e.jqx._rup(i)-1,y:e.jqx._rup(r)-1,width:e.jqx._rup(n)+2,height:e.jqx._rup(s)+2});this.setClip(w,C)}var L=this._activeParent(),A=0,O=0;A=S.width,O=S.height,(isNaN(n)||n<=0)&&(n=A),(isNaN(s)||s<=0)&&(s=O);var E=n||0,Q=s||0;if(!a||a==0){r+=O,m=="center"||m=="middle"?r+=(Q-O)/2:m=="bottom"&&(r+=Q-O),n||(n=A),s||(s=O);for(var L=this._activeParent(),je=0,H=l.length-1;H>=0;H--){var de=document.createElementNS(this._svgns,"text");this.attr(de,u),this.attr(de,{cursor:"default"});var D=de.ownerDocument.createTextNode(l[H].text);de.appendChild(D);var le=i,U=l[H].width,pe=l[H].height;d=="center"?le+=(E-U)/2:d=="right"&&(le+=E-U),this.attr(de,{x:e.jqx._rup(le),y:e.jqx._rup(r+je),width:e.jqx._rup(U),height:e.jqx._rup(pe)}),L.appendChild(de),je-=l[H].height+4}return w?(this.endGroup(),w):de}var Y=e.jqx.commonRenderer.alignTextInRect(i,r,n,s,A,O,d,m,a,v);i=Y.x,r=Y.y;var xe=this.shape("g",{transform:"translate("+i+","+r+")"}),Te=this.shape("g",{transform:"rotate("+a+")"});xe.appendChild(Te);for(var je=0,H=l.length-1;H>=0;H--){var we=document.createElementNS(this._svgns,"text");this.attr(we,u),this.attr(we,{cursor:"default"});var D=we.ownerDocument.createTextNode(l[H].text);we.appendChild(D);var le=0,U=l[H].width,pe=l[H].height;d=="center"?le+=(S.width-U)/2:d=="right"&&(le+=S.width-U),this.attr(we,{x:e.jqx._rup(le),y:e.jqx._rup(je),width:e.jqx._rup(U),height:e.jqx._rup(pe)}),Te.appendChild(we),je-=pe+4}return L.appendChild(xe),w&&this.endGroup(),xe},line:function(t,i,r,n,s){var a=this.shape("line",{x1:t,y1:i,x2:r,y2:n});return this.attr(a,s),a},path:function(t,i){var r=this.shape("path");return r.setAttribute("d",t),i&&this.attr(r,i),r},rect:function(t,i,r,n,s){t=e.jqx._ptrnd(t),i=e.jqx._ptrnd(i),r=Math.max(1,e.jqx._rnd(r,1,!1)),n=Math.max(1,e.jqx._rnd(n,1,!1));var a=this.shape("rect",{x:t,y:i,width:r,height:n});return s&&this.attr(a,s),a},circle:function(t,i,r,n){var s=this.shape("circle",{cx:t,cy:i,r});return n&&this.attr(s,n),s},pieSlicePath:function(t,i,r,n,s,a,u){return e.jqx.commonRenderer.pieSlicePath(t,i,r,n,s,a,u)},pieslice:function(t,i,r,n,s,a,u,c){var d=this.pieSlicePath(t,i,r,n,s,a,u),m=this.shape("path");return m.setAttribute("d",d),c&&this.attr(m,c),m},attr:function(t,i){if(!(!t||!i))for(var r in i)r=="textContent"?t.textContent=i[r]:t.setAttribute(r,i[r])},removeAttr:function(t,i){if(!(!t||!i))for(var r in i)r=="textContent"?t.textContent="":t.removeAttribute(i[r])},getAttr:function(t,i){return t.getAttribute(i)},_gradients:{},_toLinearGradient:function(t,i,r){var n="grd"+this._id+t.replace("#","")+(i?"v":"h"),s="url("+this.getWindowHref()+"#"+n+")";if(this._gradients[s])return s;var a=document.createElementNS(this._svgns,"linearGradient");this.attr(a,{x1:"0%",y1:"0%",x2:i?"0%":"100%",y2:i?"100%":"0%",id:n});for(var u=0;u
`;t.append(i),this.host=t;var r=t.find(".chartContainer");r[0].style.width=t.width()+"px",r[0].style.height=t.height()+"px";var n=!0;try{for(var s=0;s0&&document.childNodes[0].data&&document.childNodes[0].data.indexOf("DOCTYPE")!=-1?(n&&document.namespaces.add("v","urn:schemas-microsoft-com:vml"),this._ie8mode=!0):n&&(document.namespaces.add("v","urn:schemas-microsoft-com:vml"),document.createStyleSheet().cssText="v\\:* { behavior: url(#default#VML); display: inline-block; }"),this.canvas=r[0],this._width=Math.max(e.jqx._rup(r.width()),0),this._height=Math.max(e.jqx._rup(r.height()),0),r[0].style.width=this._width+2,r[0].style.height=this._height+2,this._id=new Date().getTime(),this.clear(),!0},getType:function(){return"VML"},refresh:function(){},getRect:function(){return{x:0,y:0,width:this._width,height:this._height}},getContainer:function(){var t=this.host.find(".chartContainer");return t},clear:function(){for(;this.canvas.childElementCount>0;)this.removeHandler(this.canvas.firstElementChild),this.canvas.removeChild(this.canvas.firstElementChild);this._gradients={},this._defaultParent=void 0},removeElement:function(t){t!=null&&(this.removeHandler(t),t.parentNode.removeChild(t))},_openGroups:[],beginGroup:function(){var t=this._activeParent(),i=document.createElement("v:group");return i.style.position="absolute",i.coordorigin="0,0",i.coordsize=this._width+","+this._height,i.style.left=0,i.style.top=0,i.style.width=this._width,i.style.height=this._height,t.appendChild(i),this._openGroups.push(i),i},endGroup:function(){this._openGroups.length!=0&&this._openGroups.pop()},_activeParent:function(){return this._openGroups.length==0?this.canvas:this._openGroups[this._openGroups.length-1]},createClipRect:function(t){var i=document.createElement("div");return i.style.height=t.height+1+"px",i.style.width=t.width+1+"px",i.style.position="absolute",i.style.left=t.x+"px",i.style.top=t.y+"px",i.style.overflow="hidden",this._clipId=this._clipId||0,i.id="cl"+this._id+"_"+(++this._clipId).toString(),this._activeParent().appendChild(i),i},setClip:function(t,i){},_clipId:0,addHandler:function(t,i,r){e(t).on?e(t).on(i,r):e(t).bind(i,r)},removeHandler:function(t,i,r){e(t).off?e(t).off(i,r):e(t).unbind(i,r)},on:function(t,i,r){this.addHandler(t,i,r)},off:function(t,i,r){this.removeHandler(t,i,r)},_getTextParts:function(t,i,r){var n={width:0,height:0,parts:[]},s=.6,a=t.toString().split("
"),u=this._activeParent(),c=document.createElement("v:textbox");this.attr(c,r),u.appendChild(c);for(var d=0;d0?2:0),n.parts.push({width:S,height:l,text:m})}return u.removeChild(c),n},_measureText:function(t,i,r,n){return Math.abs(i)>45?i=90:i=0,e.jqx.commonRenderer.measureText(t,i,r,n,this)},measureText:function(t,i,r){return this._measureText(t,i,r,!1)},text:function(t,i,r,n,s,a,u,c,d,m){u&&u.stroke&&u.stroke;var v=this._measureText(t,a,u,!0),_=v.textPartsInfo,S=_.parts,l=v.width,w=v.height;(isNaN(n)||n==0)&&(n=l),(isNaN(s)||s==0)&&(s=w);var C;if(d||(d="center"),m||(m="center"),(S.length>0||c)&&(C=this.beginGroup()),c){var L=this.createClipRect({x:e.jqx._rup(i),y:e.jqx._rup(r),width:e.jqx._rup(n),height:e.jqx._rup(s)});this.setClip(C,L)}var A=this._activeParent(),O=n||0,E=s||0;Math.abs(a)>45?a=90:a=0;var Q=0,H=0;d=="center"?Q+=(O-l)/2:d=="right"&&(Q+=O-l),m=="center"?H=(E-w)/2:m=="bottom"&&(H=E-w),a==0?(r+=w+H,i+=Q):(i+=l+Q,r+=H);for(var de=0,D,le=S.length-1;le>=0;le--){var U=S[le],pe=(l-U.width)/2;a==0&&d=="left"?pe=0:a==0&&d=="right"?pe=l-U.width:a==90&&(pe=(w-U.width)/2);var Y=de-U.height;H=a==90?pe:Y,Q=a==90?Y:pe,D=document.createElement("v:textbox"),D.style.position="absolute",D.style.left=e.jqx._rup(i+Q),D.style.top=e.jqx._rup(r+H),D.style.width=e.jqx._rup(U.width),D.style.height=e.jqx._rup(U.height),a==90&&(D.style.filter="progid:DXImageTransform.Microsoft.BasicImage(rotation=3)",D.style.height=e.jqx._rup(U.height)+5);var xe=document.createElement("span");xe.appendChild(document.createTextNode(U.text)),u&&u.class&&(xe.className=u.class),D.appendChild(xe),A.appendChild(D),de-=U.height+(le>0?2:0)}return C?(this.endGroup(),A):D},shape:function(t,i){var r=document.createElement(this._createElementMarkup(t));if(!!r){for(var n in i)r.setAttribute(n,i[n]);return this._activeParent().appendChild(r),r}},line:function(t,i,r,n,s){var a="M "+t+","+i+" L "+r+","+n+" X E",u=this.path(a);return this.attr(u,s),u},_createElementMarkup:function(t){var i="";return this._ie8mode&&(i=i.replace('style=""','style="behavior: url(#default#VML);"')),i},path:function(t,i){var r=document.createElement(this._createElementMarkup("shape"));return r.style.position="absolute",r.coordsize=this._width+" "+this._height,r.coordorigin="0 0",r.style.width=parseInt(this._width),r.style.height=parseInt(this._height),r.style.left=0+"px",r.style.top=0+"px",r.setAttribute("path",t),this._activeParent().appendChild(r),i&&this.attr(r,i),r},rect:function(t,i,r,n,s){t=e.jqx._ptrnd(t),i=e.jqx._ptrnd(i),r=e.jqx._rup(r),n=e.jqx._rup(n);var a=this.shape("rect",s);return a.style.position="absolute",a.style.left=t,a.style.top=i,a.style.width=r,a.style.height=n,a.strokeweight=0,s&&this.attr(a,s),a},circle:function(t,i,r,n){var s=this.shape("oval");return t=e.jqx._ptrnd(t-r),i=e.jqx._ptrnd(i-r),r=e.jqx._rup(r),s.style.position="absolute",s.style.left=t,s.style.top=i,s.style.width=r*2,s.style.height=r*2,n&&this.attr(s,n),s},updateCircle:function(t,i,r,n){i==null&&(i=parseFloat(t.style.left)+parseFloat(t.style.width)/2),r==null&&(r=parseFloat(t.style.top)+parseFloat(t.style.height)/2),n==null&&(n=parseFloat(t.width)/2),i=e.jqx._ptrnd(i-n),r=e.jqx._ptrnd(r-n),n=e.jqx._rup(n),t.style.left=i,t.style.top=r,t.style.width=n*2,t.style.height=n*2},pieSlicePath:function(t,i,r,n,s,a,u){n||(n=1);var c=Math.abs(s-a);c>360&&(s=0,a=360);var d=s*Math.PI*2/360,m=a*Math.PI*2/360,v=t,_=i,S=!isNaN(r)&&r>0;if(S&&(u=0),u>0){var l=c/2+s,w=l*Math.PI*2/360;t+=u*Math.cos(w),i-=u*Math.sin(w)}if(S){var C=r;v=e.jqx._ptrnd(t+C*Math.cos(d)),_=e.jqx._ptrnd(i-C*Math.sin(d)),e.jqx._ptrnd(t+C*Math.cos(m)),e.jqx._ptrnd(i-C*Math.sin(m))}e.jqx._ptrnd(t+n*Math.cos(d));var L=e.jqx._ptrnd(t+n*Math.cos(m));e.jqx._ptrnd(i-n*Math.sin(d));var A=e.jqx._ptrnd(i-n*Math.sin(m));n=e.jqx._ptrnd(n),r=e.jqx._ptrnd(r),t=e.jqx._ptrnd(t),i=e.jqx._ptrnd(i);var O=Math.round(s*65535),E=Math.round((a-s)*65536);r<0&&(r=1);var Q="";return S?(Q="M"+v+" "+_,Q+=" AE "+t+" "+i+" "+r+" "+r+" "+O+" "+E,Q+=" L "+L+" "+A,O=Math.round((s-a)*65535),E=Math.round(a*65536),Q+=" AE "+t+" "+i+" "+n+" "+n+" "+E+" "+O,Q+=" L "+v+" "+_):(Q="M"+t+" "+i,Q+=" AE "+t+" "+i+" "+n+" "+n+" "+O+" "+E),Q+=" X E",Q},pieslice:function(t,i,r,n,s,a,u,c){var d=this.pieSlicePath(t,i,r,n,s,a,u),m=this.path(d,c);return c&&this.attr(m,c),m},_keymap:[{svg:"fill",vml:"fillcolor"},{svg:"stroke",vml:"strokecolor"},{svg:"stroke-width",vml:"strokeweight"},{svg:"stroke-dasharray",vml:"dashstyle"},{svg:"fill-opacity",vml:"fillopacity"},{svg:"stroke-opacity",vml:"strokeopacity"},{svg:"opacity",vml:"opacity"},{svg:"cx",vml:"style.left"},{svg:"cy",vml:"style.top"},{svg:"height",vml:"style.height"},{svg:"width",vml:"style.width"},{svg:"x",vml:"style.left"},{svg:"y",vml:"style.top"},{svg:"d",vml:"v"},{svg:"display",vml:"style.display"}],_translateParam:function(t){for(var i in this._keymap)if(this._keymap[i].svg==t)return this._keymap[i].vml;return t},attr:function(t,i){if(!(!t||!i))for(var r in i){var n=this._translateParam(r);i[r]!=null&&(n=="fillcolor"&&i[r].indexOf("grd")!=-1?t.type=i[r]:n=="fillcolor"&&i[r]=="transparent"?(t.style.filter="alpha(opacity=0)",t["-ms-filter"]="progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"):n=="opacity"||n=="fillopacity"?t.fill&&(t.fill.opacity=i[r]):n=="textContent"?t.children[0].innerText=i[r]:n=="dashstyle"?t.dashstyle=i[r].replace(","," "):n.indexOf("style.")==-1?t[n]=i[r]:t.style[n.replace("style.","")]=i[r])}},removeAttr:function(t,i){if(!(!t||!i))for(var r in i)t.removeAttribute(i[r])},getAttr:function(t,i){var r=this._translateParam(i);return r=="opacity"||r=="fillopacity"?t.fill?t.fill.opacity:1:r.indexOf("style.")==-1?t[r]:t.style[r.replace("style.","")]},_gradients:{},_toRadialGradient:function(t,i,r){return t},_toLinearGradient:function(t,i,r){if(this._ie8mode)return t;var n="grd"+t.replace("#","")+(i?"v":"h"),s="#"+n;if(this._gradients[s])return s;var a=document.createElement(this._createElementMarkup("fill"));a.type="gradient",a.method="linear",a.angle=i?0:90;for(var u="",c=0;c0&&(u+=", "),u+=d[0]+"% "+e.jqx.adjustColor(t,d[1])}a.colors=u;var m=document.createElement(this._createElementMarkup("shapetype"));return m.appendChild(a),m.id=n,this.canvas.appendChild(m),s}},e.jqx.HTML5Renderer=function(){},e.jqx.ptrnd=function(t){if(Math.abs(Math.round(t)-t)==.5)return t;var i=Math.round(t);return i
"),this.canvas=t.find("#__jqxCanvasWrap"),this.canvas[0].width=t.width(),this.canvas[0].height=t.height(),this.ctx=this.canvas[0].getContext("2d"),this._elements={},this._maxId=0,this._gradientId=0,this._gradients={},this._currentPoint={x:0,y:0},this._lastCmd="",this._pos=0}catch{return!1}return!0},getType:function(){return"HTML5"},getContainer:function(){var t=this.host.find(".chartContainer");return t},getRect:function(){return{x:0,y:0,width:this.canvas[0].width-1,height:this.canvas[0].height-1}},beginGroup:function(){},endGroup:function(){},setClip:function(){},createClipRect:function(t){},addHandler:function(t,i,r){},removeHandler:function(t,i,r){},on:function(t,i,r){this.addHandler(t,i,r)},off:function(t,i,r){this.removeHandler(t,i,r)},clear:function(){this._elements={},this._maxId=0,this._renderers._gradients={},this._gradientId=0},removeElement:function(t){t!=null&&this._elements[t.id]&&delete this._elements[t.id]},shape:function(t,i){var r={type:t,id:this._maxId++};for(var n in i)r[n]=i[n];return this._elements[r.id]=r,r},attr:function(t,i){for(var r in i)t[r]=i[r]},removeAttr:function(t,i){for(var r in i)delete t[i[r]]},rect:function(t,i,r,n,s){if(isNaN(t))throw'Invalid value for "x"';if(isNaN(i))throw'Invalid value for "y"';if(isNaN(r))throw'Invalid value for "width"';if(isNaN(n))throw'Invalid value for "height"';var a=this.shape("rect",{x:t,y:i,width:r,height:n});return s&&this.attr(a,s),a},path:function(t,i){var r=this.shape("path",i);return this.attr(r,{d:t}),r},line:function(t,i,r,n,s){return this.path("M "+t+","+i+" L "+r+","+n,s)},circle:function(t,i,r,n){var s=this.shape("circle",{x:t,y:i,r});return n&&this.attr(s,n),s},pieSlicePath:function(t,i,r,n,s,a,u){return e.jqx.commonRenderer.pieSlicePath(t,i,r,n,s,a,u)},pieslice:function(t,i,r,n,s,a,u,c){var d=this.path(this.pieSlicePath(t,i,r,n,s,a,u),c);return this.attr(d,{x:t,y:i,innerRadius:r,outerRadius:n,angleFrom:s,angleTo:a}),d},_getCSSStyle:function(t){var i=document.styleSheets;try{for(var r=0;r"),v=0;v0?4:0),c.parts.push({width:S,height:w,text:_})}return c},_measureText:function(t,i,r,n){return e.jqx.commonRenderer.measureText(t,i,r,n,this)},measureText:function(t,i,r){return this._measureText(t,i,r,!1)},text:function(t,i,r,n,s,a,u,c,d,m,v){var _=this.shape("text",{text:t,x:i,y:r,width:n,height:s,angle:a,clip:c,halign:d,valign:m,rotateAround:v});if(u&&this.attr(_,u),_.fontFamily="Arial",_.fontSize="10pt",_.fontWeight="",_.color="#000000",u&&u.class){var S=this._getCSSStyle(u.class);_.fontFamily=S.fontFamily||_.fontFamily,_.fontSize=S.fontSize||_.fontSize,_.fontWeight=S.fontWeight||_.fontWeight,_.color=S.color||_.color}var l=this._measureText(t,0,u,!0);return this.attr(_,{textPartsInfo:l.textPartsInfo,textWidth:l.width,textHeight:l.height}),(n<=0||isNaN(n))&&this.attr(_,{width:l.width}),(s<=0||isNaN(s))&&this.attr(_,{height:l.height}),_},_toLinearGradient:function(t,i,r){if(this._renderers._gradients[t])return t;for(var n=[],s=0;s="0"&&t[r]<="9"||t[r]=="."||t[r]=="e"||t[r]=="-"&&!i||t[r]=="-"&&r>=1&&t[r-1]=="e"){i=!0;continue}if(!i&&(t[r]==" "||t[r]==",")){this._pos++;continue}break}var n=parseFloat(t.substring(this._pos,r));if(!isNaN(n))return this._pos=r,n},_cmds:"mlcazq",_isRelativeCmd:function(t){return e.jqx.string.contains(this._cmds,t)},_parseCmd:function(t){for(var i=this._pos;i="0"&&t[i]<="9"){if(this._pos=i,this._lastCmd=="")break;return this._lastCmd}}},_toAbsolutePoint:function(t){return{x:this._currentPoint.x+t.x,y:this._currentPoint.y+t.y}},path:function(t,i){var r=i.d;this._pos=0,this._lastCmd="";var n=void 0;for(this._currentPoint={x:0,y:0},t.beginPath();this._pos1&&(u*=Math.sqrt(w),c*=Math.sqrt(w));var C=(m==v?-1:1)*Math.sqrt((Math.pow(u,2)*Math.pow(c,2)-Math.pow(u,2)*Math.pow(l.y,2)-Math.pow(c,2)*Math.pow(l.x,2))/(Math.pow(u,2)*Math.pow(l.y,2)+Math.pow(c,2)*Math.pow(l.x,2)));isNaN(C)&&(C=0);var L={x:C*u*l.y/c,y:C*-c*l.x/u},A={x:(S.x+_.x)/2+Math.cos(d)*L.x-Math.sin(d)*L.y,y:(S.y+_.y)/2+Math.sin(d)*L.x+Math.cos(d)*L.y},O=function(je){return Math.sqrt(Math.pow(je[0],2)+Math.pow(je[1],2))},le=function(je,we){return(je[0]*we[0]+je[1]*we[1])/(O(je)*O(we))},E=function(je,we){return(je[0]*we[1]=1&&(D=0),v==0&&D>0&&(D=D-2*Math.PI),v==1&&D<0&&(D=D+2*Math.PI);var le=u>c?u:c,U=u>c?1:u/c,pe=u>c?c/u:1;t.translate(A.x,A.y),t.rotate(d),t.scale(U,pe),t.arc(0,0,le,Q,Q+D,1-v),t.scale(1/U,1/pe),t.rotate(-d),t.translate(-A.x,-A.y);continue}if((s=="Z"||s=="z")&&n!=null){t.lineTo(n.x,n.y),this._currentPoint=n;continue}if(s=="C"||s=="c"){var Y=this._parsePoint(r),xe=this._parsePoint(r),Te=this._parsePoint(r);t.bezierCurveTo(Y.x,Y.y,xe.x,xe.y,Te.x,Te.y),this._currentPoint=Te;continue}if(s=="Q"||s=="q"){var Y=this._parsePoint(r),xe=this._parsePoint(r);t.quadraticCurveTo(Y.x,Y.y,xe.x,xe.y),this._currentPoint=xe;continue}}t.fill(),t.stroke(),t.closePath()},text:function(t,i){var r=e.jqx.ptrnd(i.x),n=e.jqx.ptrnd(i.y),s=e.jqx.ptrnd(i.width),a=e.jqx.ptrnd(i.height),u=i.halign,c=i.valign,d=i.angle,m=i.rotateAround,v=i.textPartsInfo,_=v.parts,S=i.clip;S==null&&(S=!0),t.save(),u||(u="center"),c||(c="center"),S&&(t.rect(r,n,s,a),t.clip());var l=i.textWidth,w=i.textHeight,C=s||0,L=a||0;if(t.fillStyle=i.color,t.font=i.fontWeight+" "+i.fontSize+" "+i.fontFamily,!d||d==0){n+=w,c=="center"||c=="middle"?n+=(L-w)/2:c=="bottom"&&(n+=L-w),s||(s=l),a||(a=w);for(var D=0,A=_.length-1;A>=0;A--){var O=_[A],E=r,Q=_[A].width;_[A].height,u=="center"?E+=(C-Q)/2:u=="right"&&(E+=C-Q),t.fillText(O.text,E,n+D),D-=O.height+(A>0?4:0)}t.restore();return}var H=e.jqx.commonRenderer.alignTextInRect(r,n,s,a,l,w,u,c,d,m);r=H.x,n=H.y;var de=d*Math.PI*2/360;t.translate(r,n),t.rotate(de);for(var D=0,le=v.width,A=_.length-1;A>=0;A--){var E=0;u=="center"?E+=(le-_[A].width)/2:u=="right"&&(E+=le-_[A].width),t.fillText(_[A].text,E,D),D-=_[A].height+4}t.restore()}},refresh:function(){this.ctx.clearRect(0,0,this.canvas[0].width,this.canvas[0].height);for(var t in this._elements){var i=this._elements[t];this._renderers.setFillStyle(this,i),this._renderers.setStroke(this,i),this._renderers[this._elements[t].type](this.ctx,i)}}},e.jqx.createRenderer=function(t,i){var r=t,n=r.renderer=null;if(document.createElementNS&&r.renderEngine!="HTML5"&&r.renderEngine!="VML"&&(n=new e.jqx.svgRenderer,!n.init(i))){if(r.renderEngine=="SVG")throw"Your browser does not support SVG";return null}if(n==null&&r.renderEngine!="HTML5"){if(n=new e.jqx.vmlRenderer,!n.init(i)){if(r.renderEngine=="VML")throw"Your browser does not support VML";return null}r._isVML=!0}if(n==null&&(r.renderEngine=="HTML5"||r.renderEngine==null)&&(n=new e.jqx.HTML5Renderer,!n.init(i)))throw"Your browser does not support HTML5 Canvas";return r.renderer=n,n},e.jqx._widgetToImage=function(t,i,r,n,s,a){var u=t;if(!u)return!1;(r==null||r=="")&&(r="image."+i);var c=u.renderEngine,d=u.enableAnimations;if(u.enableAnimations=!1,u.renderEngine="HTML5",u.renderEngine!=c)try{u.refresh()}catch{return u.renderEngine=c,u.refresh(),u.enableAnimations=d,!1}var m=u.renderer.getContainer().find("canvas")[0],v=!0;e.isFunction(a)&&(v=a(t,m));var _=!0;return v&&(_=e.jqx.exportImage(m,i,r,n,s)),u.renderEngine!=c&&(u.renderEngine=c,u.refresh(),u.enableAnimations=d),_},e.jqx.getByPriority=function(t){for(var i=void 0,r=0;r=d-20&&(v=d-20);var _;try{var _=new window.pdfDataExport(e.jqx.pdfExport.orientation,"pt",e.jqx.pdfExport.paperSize)}catch{var _=new window.jqxPdfDataExport(e.jqx.pdfExport.orientation,"pt",e.jqx.pdfExport.paperSize)}_.addImage(c,"JPEG",10,10,v,0),_.save(r);return}if(c=c.replace("data:image/"+i+";base64,",""),s)e.ajax({dataType:"string",url:n,type:"POST",data:{content:c,fname:r},async:!1,success:function(C,L,A){u=!0},error:function(C,L,A){u=!1}});else{var S=document.createElement("form");S.method="POST",S.action=n,S.style.display="none",document.body.appendChild(S);var l=document.createElement("input");l.name="fname",l.value=r,l.style.display="none";var w=document.createElement("input");w.name="content",w.value=c,w.style.display="none",S.appendChild(l),S.appendChild(w),S.submit(),document.body.removeChild(S),u=!0}}}catch{u=!1}return u}})(jqxBaseFramework);(function(e){window.jqxPlot=function(){},window.jqxPlot.prototype={get:function(t,i,r){return r!==void 0?t[i][r]:t[i]},min:function(t,i){for(var r=NaN,n=0;nr)&&(r=s)}return r},sum:function(t,i){for(var r=0,n=0;nMath.max(i.min,i.max))&&(!n||n.ignore_range!==!0))return NaN;var s=NaN,a=1;if(i.type===void 0||i.type!="logarithmic"){var u=Math.abs(i.max-i.min);u||(u=1),a=Math.abs(t-Math.min(i.min,i.max))/u}else if(i.type==="logarithmic"){var c=i.base;isNaN(c)&&(c=10);var d=Math.min(i.min,i.max);d<=0&&(d=1);var m=Math.max(i.min,i.max);m<=0&&(m=1);var v=e.jqx.log(m,c);m=Math.pow(c,v);var _=e.jqx.log(d,c);d=Math.pow(c,_);var S=e.jqx.log(t,c);a=Math.abs(S-_)/(v-_)}if(r.type==="logarithmic"){var c=r.base;isNaN(c)&&(c=10);var v=e.jqx.log(r.max,c),_=e.jqx.log(r.min,c);r.flip&&(a=1-a);var S=Math.min(_,v)+a*Math.abs(v-_);s=Math.pow(c,S)}else s=Math.min(r.min,r.max)+a*Math.abs(r.max-r.min),r.flip&&(s=Math.max(r.min,r.max)-s+r.min);return s},axis:function(t,i,r){if(r<=1)return[i,t];(isNaN(r)||r<2)&&(r=2);for(var n=0;Math.round(t)!=t&&Math.round(i)!=i&&n<10;)t*=10,i*=10,n++;for(var s=(i-t)/r;n<10&&Math.round(s)!=s;)t*=10,i*=10,s*=10,n++;for(var a=[1,2,5],u=0;;){var c=u%a.length,d=Math.floor(u/a.length),m=Math.pow(10,d)*a[c];c=(u+1)%a.length,d=Math.floor((u+1)/a.length);var v=Math.pow(10,d)*a[c];if(s>=m&&s"),this._gaugeParent=c.children(),this._gaugeParent.width(s),this._gaugeParent.height(a),!n)this.renderer.init(this._gaugeParent);else{var v=this.renderer.getContainer();v[0].style.width=s+"px",v[0].style.height=a+"px"}},_initRenderer:function(n){if(!e.jqx.createRenderer)throw"Please include a reference to jqxdraw.js";return e.jqx.createRenderer(this,n)},_refresh:function(n){var s=this;if(n){s._ticksIterator=0,s._labelsIterator=0,s._ranges&&e(s._ranges).remove(),s._pointer&&e(s._pointer).remove(),s._pointer=null,s._ranges=[],s.niceInterval&&(s._labels&&e(s._labels).remove(),s._labels=[],s._ticks&&(e(s._ticks).remove(),s._ticks=[])),s._hostInit(n),s._render(n);return}s.renderer||(s._isVML=!1,s.host.empty(),s._initRenderer(s.host));var a=s.renderer;!a||(s._ranges&&e(s._ranges).remove(),s._pointer&&e(s._pointer).remove(),s._labels&&e(s._labels).remove(),s._cap&&e(s._cap).remove(),s._ticks&&e(s._ticks).remove(),s._border&&e(s._border).remove(),s._caption&&e(s._caption).remove(),s._caption=null,s._labels=[],s._cap=null,s._ticks=[],s._ranges=[],s._border=null,s._pointer=null,s._validateProperties(),s._removeElements(),s._hostInit(),s._render(),s.setValue(this.value,0),s._editableLabels())},val:function(n){if(arguments.length==0||typeof n=="object")return this.value;this.setValue(n,0)},refresh:function(n){n!==!0&&this._refresh.apply(this,Array.prototype.slice(arguments))},_outerBorderOffset:function(){var n=parseInt(this.border.style["stroke-width"],10)||1;return n/2},_removeCollection:function(n){for(var s=0;s=1?Q:new Number(Q).toFixed(2),distance:s._getDistance(s._getLabelsDistance()),style:s.labels.className},n)}var w=0;if(s.int64==="s")if(this.tickMode==="default"?this.niceInterval?(d=this._getNiceInterval("radial"),c=this._getNiceInterval("radial",!0)):(d=new e.jqx.math().fromString(u.interval.toString(),10),c=new e.jqx.math().fromString(a.interval.toString(),10)):(m=this._max64.subtract(this._min64),c=m.div(new e.jqx.math().fromString(a.number.toString(),10)),d=m.div(new e.jqx.math().fromString(u.number.toString(),10))),this.niceInterval){_(this._min64),l(this._min64);for(var C=this._min64.subtract(this._min64.modulo(d)).add(d),L,A=C;A.greaterThanOrEqual(this._min64);A=A.subtract(c))L=A;for(var O=L,E=C;(O.lessThan(this._max64)||E.lessThan(this._max64))&&(w+=1,!(w>250||(E.lessThanOrEqual(this._max64)&&(_(E),v[E.toString()]=!0,O.equals(C)?Math.abs(this._getAngleByValue(E)-this._getAngleByValue(this.min))*this._innerRadius>this._getMaxLabelSize().height&&l(E):(E.add(d).lessThan(this._max64)||Math.abs(this._getAngleByValue(E)-this._getAngleByValue(this.max))*this._innerRadius>this._getMaxLabelSize().height)&&l(E)),!v[O.toString()]&&O.lessThanOrEqual(s._max64)&&S(O),s._checkForOverflow(O,c)||s._checkForOverflow(E,d))));O=O.add(c),E=E.add(d));_(this._max64),l(this._max64)}else for(var O=new e.jqx.math().fromString(s.min.toString(),10),E=new e.jqx.math().fromString(s.min.toString(),10);(O.lessThanOrEqual(s._max64)||E.lessThanOrEqual(s._max64))&&(w+=1,!(w>250));O=O.add(c),E=E.add(d))E.lessThanOrEqual(s._max64)&&u.visible&&(_(E),v[E.toString()]=!0),!v[O.toString()]&&a.visible&&O.lessThanOrEqual(s._max64)&&S(O);else if(s.int64==="u")if(this.tickMode==="default"?this.niceInterval?(d=this._getNiceInterval("radial"),c=this._getNiceInterval("radial",!0)):(d=new BigNumber(u.interval),c=new BigNumber(a.interval)):(m=this._max64.subtract(this._min64),c=m.divide(new BigNumber(a.number)),d=m.divide(new BigNumber(u.number))),this.niceInterval){_(this._min64),l(this._min64);for(var C=this._min64.subtract(this._min64.mod(d)).add(d),L,A=C;A.compare(this._min64)!==-1;A=A.subtract(c))L=A;for(var O=L,E=C;(O.compare(this._max64)===-1||E.compare(this._max64)===-1)&&(w+=1,!(w>250));O=O.add(c),E=E.add(d))E.compare(this._max64)!==1&&(_(E),v[E.toString()]=!0,O.compare(C)===0?Math.abs(this._getAngleByValue(E)-this._getAngleByValue(this.min))*this._innerRadius>this._getMaxLabelSize().height&&l(E):(E.add(d).compare(this._max64)===-1||Math.abs(this._getAngleByValue(E)-this._getAngleByValue(this.max))*this._innerRadius>this._getMaxLabelSize().height)&&l(E)),!v[O.toString()]&&O.compare(s._max64)!==1&&S(O);_(this._max64),l(this._max64)}else for(var O=new BigNumber(s.min),E=new BigNumber(s.min);(O.compare(s._max64)!==1||E.compare(s._max64)!==1)&&(w+=1,!(w>250));O=O.add(c),E=E.add(d))E.compare(s._max64)!==1&&u.visible&&(_(E),v[E.toString()]=!0),!v[O.toString()]&&a.visible&&O.compare(s._max64)!==1&&S(O);else if(this.tickMode==="default"?this.niceInterval?(d=this._getNiceInterval("radial"),c=this._getNiceInterval("radial",!0)):(d=u.interval,c=a.interval):(m=this.max-this.min,c=m/a.number,d=m/u.number),this.niceInterval){_(this.min),l(this.min);for(var C=this.min-this.min%d+d,L,A=C;A>=this.min;A=A-c)L=A;for(var O=L,E=C;(O250));O+=c,E+=d)E<=this.max&&(_(E),v[E.toFixed(5)]=!0,O===C?Math.abs(this._getAngleByValue(E)-this._getAngleByValue(this.min))*this._innerRadius>this._getMaxLabelSize().height&&l(E):(E+dthis._getMaxLabelSize().height)&&l(E)),!v[O.toFixed(5)]&&O<=this.max&&S(O);_(this.max),l(this.max)}else for(var O=this.min,E=this.min;(O<=this.max||E<=this.max)&&(w+=1,!(w>250));O+=c,E+=d)E<=this.max&&u.visible&&(_(E),v[E.toFixed(5)]=!0),!v[O.toFixed(5)]&&a.visible&&O<=this.max&&S(O);this._handleTicksVisibility()},_handleTicksVisibility:function(){this.ticksMinor.visible?this.host.children(".jqx-gauge-tick-minor").css("visibility","visible"):this.host.children(".jqx-gauge-tick-minor").css("visibility","hidden"),this.ticksMajor.visible?this.host.children(".jqx-gauge-tick-major").css("visibility","visible"):this.host.children(".jqx-gauge-tick-major").css("visibility","hidden")},_getSize:function(n){return n.toString().indexOf("%")>=0&&(n=parseInt(n,10)/100*this._innerRadius),n=parseInt(n,10),n},_getDistance:function(n){return this._getSize(n)+(this._originalRadius-this._innerRadius)},_drawTick:function(n,s){var a=this.that,u=n.angle,c=n.distance,d=n.size,m=a._outerBorderOffset(),v=a._originalRadius,_=v-c,S=_-d,l=v+m+_*Math.sin(u),w=v+m+_*Math.cos(u),C=v+m+S*Math.sin(u),L=v+m+S*Math.cos(u),A;if(n.style.class=a.toThemeProperty("jqx-gauge-tick-"+n.type),a._isVML&&(l=Math.round(l),C=Math.round(C),w=Math.round(w),L=Math.round(L)),s&&!a.niceInterval){var A=a._ticks[a._ticksIterator];A.setAttribute("x1",l),A.setAttribute("x2",C),A.setAttribute("y1",w),A.setAttribute("y2",L),a._ticksIterator++}else A=a.renderer.line(l,w,C,L,n.style),a._ticks.push(A)},_addRanges:function(n){var s="visible";if(!this.showRanges)s="hidden";else for(var a=this.ranges,u=0;un&&(n=s),a>n&&(n=a);return n},_getRangeDistance:function(n,s){var a=this._getLabelsDistance(),u=this._getDistance(n),c=this._getMaxRangeSize();if(this.labels.position==="outside"){if(au.max))){var c=u.int64?u._getAngleByValue(H._startValue64):u._getAngleByValue(H.startValue),d=u.int64?u._getAngleByValue(H._endValue64):u._getAngleByValue(H.endValue),m=u._originalRadius,v=m-u._getRangeDistance(H.startDistance,H.startWidth),_=m-u._getRangeDistance(H.endDistance,H.endWidth),S=H.startWidth,l=H.endWidth,w=u._outerBorderOffset(),C={x:m+w+v*Math.sin(c),y:m+w+v*Math.cos(c)},L={x:m+w+_*Math.sin(d),y:m+w+_*Math.cos(d)},A=u._getProjectionPoint(c,m+w,v,S),O=u._getProjectionPoint(d,m+w,_,l),E="default",Q,H;Math.abs(d-c)>Math.PI&&(E="opposite"),u._isVML?Q=u._rangeVMLRender(C,L,m,A,O,l,S,v,_,E):Q=u._rangeSVGRender(C,L,m,A,O,l,S,v,_,E),H.style.visibility=s,H.style.class=u.toThemeProperty("jqx-gauge-range"),H=u.renderer.path(Q,H.style),u._ranges.push(H)}},_rangeSVGRender:function(n,s,a,u,c,d,m,w,_,S){var l="",w=a-w,C=["0,1","0,0"];return S==="opposite"&&(C=["1,1","1,0"]),l="M"+n.x+","+n.y+" ",l+="A"+(a-w)+","+(a-w)+" 100 "+C[0]+" "+s.x+","+s.y+" ",l+="L "+c.x+","+c.y+" ",l+="A"+(a-d-w)+","+(a-d-w)+" 100 "+C[1]+" "+u.x+","+u.y+" ",l+="L "+n.x+","+n.y+" ",l+="z",l},_rangeVMLRender:function(n,s,a,u,c,d,m,C,_,S){a-=a-C+10;var l="",w=Math.floor(a+(m+d)/2),C=Math.floor(a-C),L={x:(u.x+c.x)/2,y:(u.y+c.y)/2},A=Math.sqrt((c.x-u.x)*(c.x-u.x)+(c.y-u.y)*(c.y-u.y)),O=Math.floor(L.x+Math.sqrt(a*a-A/2*(A/2))*(u.y-c.y)/A),E=Math.floor(L.y+Math.sqrt(a*a-A/2*(A/2))*(c.x-u.x)/A),Q={x:(n.x+s.x)/2,y:(n.y+s.y)/2},H=Math.sqrt((s.x-n.x)*(s.x-n.x)+(s.y-n.y)*(s.y-n.y)),de=Math.floor(Q.x+Math.sqrt(Math.abs(w*w-H/2*(H/2)))*(n.y-s.y)/H),D=Math.floor(Q.y+Math.sqrt(Math.abs(w*w-H/2*(H/2)))*(s.x-n.x)/H);return S==="opposite"&&(O=Math.floor(L.x-Math.sqrt(a*a-A/2*(A/2))*(u.y-c.y)/A),E=Math.floor(L.y-Math.sqrt(a*a-A/2*(A/2))*(c.x-u.x)/A),de=Math.floor(Q.x-Math.sqrt(Math.abs(w*w-H/2*(H/2)))*(n.y-s.y)/H),D=Math.floor(Q.y-Math.sqrt(Math.abs(w*w-H/2*(H/2)))*(s.x-n.x)/H)),a=Math.floor(a),s={x:Math.floor(s.x),y:Math.floor(s.y)},n={x:Math.floor(n.x),y:Math.floor(n.y)},u={x:Math.floor(u.x),y:Math.floor(u.y)},c={x:Math.floor(c.x),y:Math.floor(c.y)},l="m "+s.x+","+s.y,l+="at "+(de-w)+" "+(D-w)+" "+(w+de)+" "+(w+D)+" "+s.x+","+s.y+" "+n.x+","+n.y,l+="l "+u.x+","+u.y,l+="m "+s.x+","+s.y,l+="l "+c.x+","+c.y,l+="at "+(O-a)+" "+(E-a)+" "+(a+O)+" "+(a+E)+" "+c.x+","+c.y+" "+u.x+","+u.y,l+="qx "+u.x+" "+u.y,l},_getProjectionPoint:function(n,s,a,u){var c={x:s+(a-u)*Math.sin(n),y:s+(a-u)*Math.cos(n)};return c},_addLabels:function(n){var s=this,a=s._getLabelInterval();if(s.labels.visible&&s.labels.interval.toString()!=="0"){var u=this._getDistance(this._getLabelsDistance()),c=0;if(s.int64==="s")for(var d=new e.jqx.math().fromNumber(s.min.toString(),10);d.lessThanOrEqual(s._max64)&&(c+=1,!(c>250||d.lessThan(s._min64)||d.greaterThan(s._max64)));d=d.add(a))this._addLabel({angle:this._getAngleByValue(d),value:d.toString(),distance:u,style:this.labels.className});else if(s.int64==="u")for(var d=new BigNumber(s.min);d.compare(s._max64)!==1&&(c+=1,!(c>250||d.compare(s._min64)===-1||d.compare(s._max64)===1));d=d.add(a))this._addLabel({angle:this._getAngleByValue(d),value:d.toString(),distance:u,style:this.labels.className});else for(var d=this.min;d<=this.max&&(c+=1,!(c>250));d+=a)this._addLabel({angle:this._getAngleByValue(d),value:a>=1?d:new Number(d).toFixed(2),distance:u,style:this.labels.className},n)}},_getLabelsDistance:function(){var n=this._getMaxLabelSize(),s=this._getDistance(this.labels.distance),a=this._getDistance(this.ticksDistance);return n=n.width,this.labels.position==="inside"?a+n-5:this.labels.position==="outside"?su&&(de=-C.width/2*(parseInt(A)/25),parseInt(A)<=10&&(de*=-1)),O.class=this.toThemeProperty("jqx-gauge-label"),L=a.renderer.text(l,Math.round(_)-C.width/2+de,Math.round(S),C.width,C.height,0,O),a._labels.push(L)}},_addCaption:function(n){if(this.caption.visible!==!1){var s=this.that,a=s.caption.value,u=s.toThemeProperty("jqx-gauge-caption"),c=s.caption.offset,d=s.renderer.measureText(a,0,{class:u}),m=s._getPosition(this.caption.position,d,c);s.caption.style;var v=s._outerBorderOffset();if(n)this._caption.setAttribute("x",m.left+v),this._caption.setAttribute("y",m.top+v);else{var _=s.renderer.text(a,m.left+v,m.top+v,d.width,d.height,0,{class:u});this._caption=_}}},_getPosition:function(n,s,a){var u=0,c=0,d=this._originalRadius;switch(n){case"left":u=(d-s.width)/2,c=d-s.height/2;break;case"right":u=d+(d-s.width)/2,c=d-s.height/2;break;case"bottom":u=(2*d-s.width)/2,c=(d+2*d-s.height)/2;break;default:u=(2*d-s.width)/2,c=(d+s.height)/2;break}return{left:u+a[0],top:c+a[1]}},_addPointer:function(n){var s="visible";this.pointer.visible||(s="hidden"),this._originalRadius;var a=this._getSize(this.pointer.length),u=this._getAngleByValue(this.value),c=this.pointer.pointerType,d;d=this._computePointerPoints(this._getSize(this.pointer.width),u,a,c!=="default"),this._pointer=this.renderer.path(d,this.pointer.style),e(this._pointer).css("visibility",s)},_computePointerPoints:function(n,s,a,u){return u?this._computeRectPoints(n,s,a):this._computeArrowPoints(n,s,a)},_computeArrowPoints:function(n,s,a){var u=this._originalRadius-.5,c=Math.sin(s),d=Math.cos(s),m=this._outerBorderOffset(),v=u+m+a*c,_=u+m+a*d,S=u+m+n*d,l=u+m-n*c,w=u+m-n*d,C=u+m+n*c,L;return this._isVML&&(S=Math.round(S),w=Math.round(w),l=Math.round(l),C=Math.round(C),v=Math.round(v),_=Math.round(_)),L="M "+S+","+l+" L "+w+","+C+" L "+v+","+_,L},_computeRectPoints:function(n,s,a){var u=this._originalRadius,c=Math.sin(s),d=Math.cos(s),m=this._outerBorderOffset(),v=u+m-n*d+a*c,_=u+m+n*c+a*d,S=u+m+n*d+a*c,l=u+m-n*c+a*d,w=u+m+n*d,C=u+m-n*c,L=u+m-n*d,A=u+m+n*c,O;return this._isVML&&(w=Math.round(w),L=Math.round(L),C=Math.round(C),A=Math.round(A),v=Math.round(v),_=Math.round(_),S=Math.round(S),l=Math.round(l)),O="M "+w+","+C+" L "+L+","+A+" L "+v+","+_+" "+S+","+l,O},_getAngleByValue:function(n){var s=this,a=s.startAngle,u=a-s.endAngle,c,d,m,v,_;if(s.int64!==!1){s.int64==="s"?n=new e.jqx.math().fromString(n.toString(),10):n=new BigNumber(n),c=s._min64,d=s._max64,m=d.subtract(c),v=n.subtract(c),s.int64==="u"&&(v=v.intPart());var S=m.toString(),l,w=v.toString(),C;if(S.length>15){var L=S.length-15;if(S=S.slice(0,15)+"."+S.slice(15),l=parseFloat(S),w.length>L){var A=w.length-L;w=w.slice(0,A)+"."+w.slice(A)}else if(w.length===L)w="0."+w;else{for(var O="0.",E=0;E=s.min){var a=s._getAngleByValue(n),u=s.pointer.pointerType,c=s._computePointerPoints(s._getSize(s.pointer.width),a,s._getSize(s.pointer.length),u!=="default");s._isVML?(s._pointer&&e(s._pointer).remove(),s._pointer=s.renderer.path(c,s.pointer.style)):s.renderer.attr(s._pointer,{d:c}),s.int64!==!1?(s.value=n.toString(),s.int64==="s"?s._value64=new e.jqx.math().fromString(s.value,10):s._value64=new BigNumber(s.value)):s.value=n,e.jqx.aria(s,"aria-valuenow",n.toString())}},resize:function(n,s){this.width=n,this.height=s,this.refresh()},propertiesChangedHandler:function(n,s,a){a.width&&a.height&&Object.keys(a).length==2&&n._refresh(!0)},propertyChangedHandler:function(n,s,a,u){u!=a&&(n.batchUpdate&&n.batchUpdate.width&&n.batchUpdate.height&&Object.keys(n.batchUpdate).length==2||(s=="min"&&(n.int64===!0?n._min64=new e.jqx.math().fromString(u.toString(),10):this.min=parseInt(u),e.jqx.aria(n,"aria-valuemin",u)),s=="max"&&(n.int64===!0?n._max64=new e.jqx.math().fromString(u.toString(),10):this.max=parseInt(u),e.jqx.aria(n,"aria-valuemax",u)),s==="disabled"?(u?this.disable():this.enable(),e.jqx.aria(this,"aria-disabled",u)):s==="value"?(this.value=a,this.setValue(u)):(s==="startAngle"?this.startAngle=this.startAngle*Math.PI/180+Math.PI/2:s==="endAngle"?this.endAngle=this.endAngle*Math.PI/180+Math.PI/2:s==="colorScheme"?(this.pointer.style=null,this.cap.style=null):s==="radius"&&(this._radius=u),s!=="animationDuration"&&s!=="easing"&&this._refresh()),this.renderer instanceof e.jqx.HTML5Renderer&&this.renderer.refresh()))},_tickConstructor:function(n,s){if(this.host)return new this._tickConstructor(n,s);n=n||{},this.size=s._validatePercentage(n.size,"10%");function a(u,c){s.int64===!1?u[c]=parseFloat(n[c]):u[c]=n[c],u[c]||(u[c]=5)}a(this,"interval"),a(this,"number"),this.style=n.style||{stroke:"#898989","stroke-width":1},typeof n.visible=="undefined"?this.visible=!0:this.visible=n.visible},_capConstructor:function(n,s){var a=s._getColorScheme(s.colorScheme)[0];if(this.host)return new this._capConstructor(n,s);n=n||{},typeof n.visible=="undefined"?this.visible=!0:this.visible=n.visible,this.size=s._validatePercentage(n.size,"4%"),this.style=n.style||{fill:a,"stroke-width":"1px",stroke:a,"z-index":30}},_pointerConstructor:function(n,s){var a=s._getColorScheme(s.colorScheme)[0];if(this.host)return new this._pointerConstructor(n,s);n=n||{},typeof n.visible=="undefined"?this.visible=!0:this.visible=n.visible,this.pointerType=n.pointerType,this.pointerType!=="default"&&this.pointerType!=="rectangle"&&(this.pointerType="default"),this.style=n.style||{"z-index":0,stroke:a,fill:a,"stroke-width":1},this.length=s._validatePercentage(n.length,"70%"),this.width=s._validatePercentage(n.width,"2%")},_labelsConstructor:function(n,s){if(this.host)return new this._labelsConstructor(n,s);n=n||{},typeof n.visible=="undefined"?this.visible=!0:this.visible=n.visible,this.offset=n.offset,this.offset instanceof Array||(this.offset=[0,-10]),n.interval||(n.interval=20),s.int64!==!1?(this.interval=n.interval,s.int64==="s"?this._interval64=new e.jqx.math().fromString(n.interval.toString(),10):this._interval64=new BigNumber(n.interval)):this.interval=parseFloat(n.interval),n.number||(n.number=5),this.number=n.number,this.distance=s._validatePercentage(n.distance,"38%"),this.position=n.position,this.position!=="inside"&&this.position!=="outside"&&(this.position="none"),this.formatValue=n.formatValue,this.formatSettings=n.formatSettings,this.fontSize=n.fontSize,this.fontFamily=n.fontFamily,this.fontWeight=n.fontWeight,this.fontStyle=n.fontStyle},_captionConstructor:function(n,s){if(this.host)return new this._captionConstructor(n,s);n=n||{},typeof n.visible=="undefined"?this.visible=!0:this.visible=n.visible,this.value=n.value||"",this.position=n.position,this.position!=="bottom"&&this.position!=="top"&&this.position!=="left"&&this.position!=="right"&&(this.position="bottom"),this.offset=n.offset,this.offset instanceof Array||(this.offset=[0,0])},_rangeConstructor:function(n,s){if(this.host)return new this._rangeConstructor(n,s);n=n||{},this.startDistance=s._validatePercentage(n.startDistance,"5%"),this.endDistance=s._validatePercentage(n.endDistance,"5%"),this.style=n.style||{fill:"#000000",stroke:"#111111"},this.startWidth=parseFloat(n.startWidth,10),this.startWidth||(this.startWidth=10),this.startWidth=Math.max(this.startWidth,2),this.endWidth=parseFloat(n.endWidth,10),this.endWidth||(this.endWidth=10),this.endWidth=Math.max(this.endWidth,2),n.startValue===void 0&&(n.startValue=0),n.endValue===void 0&&(n.endValue=100),s.int64!==!1?(this.startValue=n.startValue,this.endValue=n.endValue,s.int64==="s"?(this._startValue64=new e.jqx.math().fromString(n.startValue.toString(),10),this._endValue64=new e.jqx.math().fromString(n.endValue.toString(),10)):(this._startValue64=new BigNumber(n.startValue),this._endValue64=new BigNumber(n.endValue))):(this.startValue=parseFloat(n.startValue,10),this.endValue=parseFloat(n.endValue,10))},_borderConstructor:function(n,s){if(this.host)return new this._borderConstructor(n,s);n=n||{},this.size=s._validatePercentage(n.size,"10%"),this.style=n.style||{stroke:"#cccccc"},typeof n.showGradient=="undefined"?this.showGradient=!0:this.showGradient=n.showGradient,typeof n.visible=="undefined"?this.visible=!0:this.visible=n.visible}},i={_events:["valueChanging","valueChanged"],_animationTimeout:10,_schemes:[{name:"scheme01",colors:["#307DD7","#AA4643","#89A54E","#71588F","#4198AF"]},{name:"scheme02",colors:["#7FD13B","#EA157A","#FEB80A","#00ADDC","#738AC8"]},{name:"scheme03",colors:["#E8601A","#FF9639","#F5BD6A","#599994","#115D6E"]},{name:"scheme04",colors:["#D02841","#FF7C41","#FFC051","#5B5F4D","#364651"]},{name:"scheme05",colors:["#25A0DA","#309B46","#8EBC00","#FF7515","#FFAE00"]},{name:"scheme06",colors:["#0A3A4A","#196674","#33A6B2","#9AC836","#D0E64B"]},{name:"scheme07",colors:["#CC6B32","#FFAB48","#FFE7AD","#A7C9AE","#888A63"]},{name:"scheme08",colors:["#3F3943","#01A2A6","#29D9C2","#BDF271","#FFFFA6"]},{name:"scheme09",colors:["#1B2B32","#37646F","#A3ABAF","#E1E7E8","#B22E2F"]},{name:"scheme10",colors:["#5A4B53","#9C3C58","#DE2B5B","#D86A41","#D2A825"]},{name:"scheme11",colors:["#993144","#FFA257","#CCA56A","#ADA072","#949681"]},{name:"scheme12",colors:["#105B63","#EEEAC5","#FFD34E","#DB9E36","#BD4932"]},{name:"scheme13",colors:["#BBEBBC","#F0EE94","#F5C465","#FA7642","#FF1E54"]},{name:"scheme14",colors:["#60573E","#F2EEAC","#BFA575","#A63841","#BFB8A3"]},{name:"scheme15",colors:["#444546","#FFBB6E","#F28D00","#D94F00","#7F203B"]},{name:"scheme16",colors:["#583C39","#674E49","#948658","#F0E99A","#564E49"]},{name:"scheme17",colors:["#142D58","#447F6E","#E1B65B","#C8782A","#9E3E17"]},{name:"scheme18",colors:["#4D2B1F","#635D61","#7992A2","#97BFD5","#BFDCF5"]},{name:"scheme19",colors:["#844341","#D5CC92","#BBA146","#897B26","#55591C"]},{name:"scheme20",colors:["#56626B","#6C9380","#C0CA55","#F07C6C","#AD5472"]},{name:"scheme21",colors:["#96003A","#FF7347","#FFBC7B","#FF4154","#642223"]},{name:"scheme22",colors:["#5D7359","#E0D697","#D6AA5C","#8C5430","#661C0E"]},{name:"scheme23",colors:["#16193B","#35478C","#4E7AC7","#7FB2F0","#ADD5F7"]},{name:"scheme24",colors:["#7B1A25","#BF5322","#9DA860","#CEA457","#B67818"]},{name:"scheme25",colors:["#0081DA","#3AAFFF","#99C900","#FFEB3D","#309B46"]},{name:"scheme26",colors:["#0069A5","#0098EE","#7BD2F6","#FFB800","#FF6800"]},{name:"scheme27",colors:["#FF6800","#A0A700","#FF8D00","#678900","#0069A5"]}],_getScale:function(n,s,a){return n&&n.toString().indexOf("%")>=0?(n=parseInt(n,10)/100,a[s]()*n):parseInt(n,10)},_removeElements:function(){this.host.children(".chartContainer").remove(),this.host.children("#tblChart").remove()},_getLabelInterval:function(){var n=this,s=n.labels,a;if(n.tickMode==="default")n.niceInterval?a=n._getNiceInterval(n.widgetName==="jqxGauge"?"radial":"linear"):n.int64===!1?a=s.interval:(s._interval64||(s._interval64=n.int64==="s"?new e.jqx.math().fromNumber(s.interval):new BigNumber(s.interval)),a=s._interval64);else if(n.int64===!1){var u=n.max-n.min;a=u/s.number}else{var u=n._max64.subtract(n._min64);n.int64==="s"?a=u.div(new e.jqx.math().fromNumber(s.number)):a=u.divide(new BigNumber(s.number))}return a},_getMaxLabelSize:function(){var n=this,s=this.max,a=this.min;a=n._formatLabel(a),s=n._formatLabel(s);var u=e('');u.css({"font-size":n.labels.fontSize,"font-family":n.labels.fontFamily,"font-weight":n.labels.fontWeight,"font-style":n.labels.fontStyle}),e("body").append(u),u.html(a);var c={width:u.width(),height:u.height()};u.html(s);var d={width:u.width(),height:u.height()};return u.remove(),c.width>d.width?c:d},disable:function(){this.disabled=!0,this.host.addClass(this.toThemeProperty("jqx-fill-state-disabled"))},enable:function(){this.disabled=!1,this.host.removeClass(this.toThemeProperty("jqx-fill-state-disabled"))},destroy:function(){var n=this;n._timeout&&clearTimeout(this._timeout),n._timeout=null,e.jqx.utilities.resize(n.host,null,!0),n._removeElements(),n.renderer.clear(),n.renderer=null;var s=e.data(n.element,"jqxGauge");s&&delete s.instance,n.host.children().remove(),n._caption=null,n._caption=null,n._pointer=null,n._labels=[],n._cap=null,n._ticks=[],n._ranges=[],n._border=null,n._gauge=null,n._caption=null,n.renderer=null,n._animations=[],n.host.removeData(),n.host.removeClass(),n.host.remove(),n.that=null,n.element=null,n._gaugeParent=null,delete n._gaugeParent,delete n.element,delete n.host},_validatePercentage:function(n,s){return parseFloat(n)!==0&&(!n||!parseInt(n,10))&&(n=s),n},_getColorScheme:function(n){for(var s,a=0;aa.max&&(n=a.max),n