@zyzgroup/core-vue 0.0.46 → 0.0.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ce/yz_custom_element.iife.js +50 -50
- package/ce/yz_custom_element.iife.js.map +1 -1
- package/ce/yz_custom_element.js +570 -584
- package/ce/yz_custom_element.js.map +1 -1
- package/ce/yz_custom_element.umd.cjs +50 -50
- package/ce/yz_custom_element.umd.cjs.map +1 -1
- package/dist/zyzgroup_core_vue.iife.js +4 -4
- package/dist/zyzgroup_core_vue.iife.js.map +1 -1
- package/dist/zyzgroup_core_vue.js +198 -212
- package/dist/zyzgroup_core_vue.js.map +1 -1
- package/dist/zyzgroup_core_vue.umd.cjs +4 -4
- package/dist/zyzgroup_core_vue.umd.cjs.map +1 -1
- package/package.json +1 -1
|
@@ -2,27 +2,27 @@ var YZCustomElement=function(ce){"use strict";/**
|
|
|
2
2
|
* @vue/shared v3.5.13
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
|
-
**//*! #__NO_SIDE_EFFECTS__ */function So(o){const t=Object.create(null);for(const e of o.split(","))t[e]=1;return e=>e in t}const qt={}.NODE_ENV!=="production"?Object.freeze({}):{},In={}.NODE_ENV!=="production"?Object.freeze([]):[],be=()=>{},Km=()=>!1,is=o=>o.charCodeAt(0)===111&&o.charCodeAt(1)===110&&(o.charCodeAt(2)>122||o.charCodeAt(2)<97),ir=o=>o.startsWith("onUpdate:"),oe=Object.assign,
|
|
5
|
+
**//*! #__NO_SIDE_EFFECTS__ */function So(o){const t=Object.create(null);for(const e of o.split(","))t[e]=1;return e=>e in t}const qt={}.NODE_ENV!=="production"?Object.freeze({}):{},In={}.NODE_ENV!=="production"?Object.freeze([]):[],be=()=>{},Km=()=>!1,is=o=>o.charCodeAt(0)===111&&o.charCodeAt(1)===110&&(o.charCodeAt(2)>122||o.charCodeAt(2)<97),ir=o=>o.startsWith("onUpdate:"),oe=Object.assign,si=(o,t)=>{const e=o.indexOf(t);e>-1&&o.splice(e,1)},Qm=Object.prototype.hasOwnProperty,Lt=(o,t)=>Qm.call(o,t),bt=Array.isArray,un=o=>ls(o)==="[object Map]",Vc=o=>ls(o)==="[object Set]",Jm=o=>ls(o)==="[object RegExp]",Ct=o=>typeof o=="function",re=o=>typeof o=="string",Oo=o=>typeof o=="symbol",Kt=o=>o!==null&&typeof o=="object",ri=o=>(Kt(o)||Ct(o))&&Ct(o.then)&&Ct(o.catch),Xc=Object.prototype.toString,ls=o=>Xc.call(o),ai=o=>ls(o).slice(8,-1),lr=o=>ls(o)==="[object Object]",ii=o=>re(o)&&o!=="NaN"&&o[0]!=="-"&&""+parseInt(o,10)===o,cs=So(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),t0=So("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),cr=o=>{const t=Object.create(null);return e=>t[e]||(t[e]=o(e))},e0=/-(\w)/g,we=cr(o=>o.replace(e0,(t,e)=>e?e.toUpperCase():"")),o0=/\B([A-Z])/g,Be=cr(o=>o.replace(o0,"-$1").toLowerCase()),fn=cr(o=>o.charAt(0).toUpperCase()+o.slice(1)),dn=cr(o=>o?`on${fn(o)}`:""),Zo=(o,t)=>!Object.is(o,t),hn=(o,...t)=>{for(let e=0;e<o.length;e++)o[e](...t)},ur=(o,t,e,n=!1)=>{Object.defineProperty(o,t,{configurable:!0,enumerable:!1,writable:n,value:e})},n0=o=>{const t=parseFloat(o);return isNaN(t)?o:t},li=o=>{const t=re(o)?Number(o):NaN;return isNaN(t)?o:t};let Zc;const us=()=>Zc||(Zc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function N(o){if(bt(o)){const t={};for(let e=0;e<o.length;e++){const n=o[e],s=re(n)?i0(n):N(n);if(s)for(const r in s)t[r]=s[r]}return t}else if(re(o)||Kt(o))return o}const s0=/;(?![^(]*\))/g,r0=/:([^]+)/,a0=/\/\*[^]*?\*\//g;function i0(o){const t={};return o.replace(a0,"").split(s0).forEach(e=>{if(e){const n=e.split(r0);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function jt(o){let t="";if(re(o))t=o;else if(bt(o))for(let e=0;e<o.length;e++){const n=jt(o[e]);n&&(t+=n+" ")}else if(Kt(o))for(const e in o)o[e]&&(t+=e+" ");return t.trim()}const l0="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",c0="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",u0="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",f0=So(l0),d0=So(c0),h0=So(u0),p0=So("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Uc(o){return!!o||o===""}const Hc=o=>!!(o&&o.__v_isRef===!0),ft=o=>re(o)?o:o==null?"":bt(o)||Kt(o)&&(o.toString===Xc||!Ct(o.toString))?Hc(o)?ft(o.value):JSON.stringify(o,Gc,2):String(o),Gc=(o,t)=>Hc(t)?Gc(o,t.value):un(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[n,s],r)=>(e[ci(n,r)+" =>"]=s,e),{})}:Vc(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>ci(e))}:Oo(t)?ci(t):Kt(t)&&!bt(t)&&!lr(t)?String(t):t,ci=(o,t="")=>{var e;return Oo(o)?`Symbol(${(e=o.description)!=null?e:t})`:o};/**
|
|
6
6
|
* @vue/reactivity v3.5.13
|
|
7
7
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
8
8
|
* @license MIT
|
|
9
|
-
**/function go(o,...t){console.warn(`[Vue warn] ${o}`,...t)}let Ye;class m0{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ye,!t&&Ye&&(this.index=(Ye.scopes||(Ye.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,e;if(this.scopes)for(t=0,e=this.scopes.length;t<e;t++)this.scopes[t].pause();for(t=0,e=this.effects.length;t<e;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,e;if(this.scopes)for(t=0,e=this.scopes.length;t<e;t++)this.scopes[t].resume();for(t=0,e=this.effects.length;t<e;t++)this.effects[t].resume()}}run(t){if(this._active){const e=Ye;try{return Ye=this,t()}finally{Ye=e}}else({}).NODE_ENV!=="production"&&go("cannot run an inactive effect scope.")}on(){Ye=this}off(){Ye=this.parent}stop(t){if(this._active){this._active=!1;let e,n;for(e=0,n=this.effects.length;e<n;e++)this.effects[e].stop();for(this.effects.length=0,e=0,n=this.cleanups.length;e<n;e++)this.cleanups[e]();if(this.cleanups.length=0,this.scopes){for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function g0(){return Ye}let Qt;const fi=new WeakSet;class jc{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Ye&&Ye.active&&Ye.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,fi.has(this)&&(fi.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||qc(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,eu(this),Kc(this);const t=Qt,e=ro;Qt=this,ro=!0;try{return this.fn()}finally{({}).NODE_ENV!=="production"&&Qt!==this&&go("Active effect was not restored correctly - this is likely a Vue internal bug."),Qc(this),Qt=t,ro=e,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)mi(t);this.deps=this.depsTail=void 0,eu(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?fi.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){pi(this)&&this.run()}get dirty(){return pi(this)}}let Wc=0,fs,ds;function qc(o,t=!1){if(o.flags|=8,t){o.next=ds,ds=o;return}o.next=fs,fs=o}function di(){Wc++}function hi(){if(--Wc>0)return;if(ds){let t=ds;for(ds=void 0;t;){const e=t.next;t.next=void 0,t.flags&=-9,t=e}}let o;for(;fs;){let t=fs;for(fs=void 0;t;){const e=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){o||(o=n)}t=e}}if(o)throw o}function Kc(o){for(let t=o.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Qc(o){let t,e=o.depsTail,n=e;for(;n;){const s=n.prevDep;n.version===-1?(n===e&&(e=s),mi(n),y0(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=s}o.deps=t,o.depsTail=e}function pi(o){for(let t=o.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Jc(t.dep.computed)||t.dep.version!==t.version))return!0;return!!o._dirty}function Jc(o){if(o.flags&4&&!(o.flags&16)||(o.flags&=-17,o.globalVersion===hs))return;o.globalVersion=hs;const t=o.dep;if(o.flags|=2,t.version>0&&!o.isSSR&&o.deps&&!pi(o)){o.flags&=-3;return}const e=Qt,n=ro;Qt=o,ro=!0;try{Kc(o);const s=o.fn(o._value);(t.version===0||Zo(s,o._value))&&(o._value=s,t.version++)}catch(s){throw t.version++,s}finally{Qt=e,ro=n,Qc(o),o.flags&=-3}}function mi(o,t=!1){const{dep:e,prevSub:n,nextSub:s}=o;if(n&&(n.nextSub=s,o.prevSub=void 0),s&&(s.prevSub=n,o.nextSub=void 0),{}.NODE_ENV!=="production"&&e.subsHead===o&&(e.subsHead=s),e.subs===o&&(e.subs=n,!n&&e.computed)){e.computed.flags&=-5;for(let r=e.computed.deps;r;r=r.nextDep)mi(r,!0)}!t&&!--e.sc&&e.map&&e.map.delete(e.key)}function y0(o){const{prevDep:t,nextDep:e}=o;t&&(t.nextDep=e,o.prevDep=void 0),e&&(e.prevDep=t,o.nextDep=void 0)}let ro=!0;const tu=[];function Po(){tu.push(ro),ro=!1}function Ro(){const o=tu.pop();ro=o===void 0?!0:o}function eu(o){const{cleanup:t}=o;if(o.cleanup=void 0,t){const e=Qt;Qt=void 0;try{t()}finally{Qt=e}}}let hs=0;class v0{constructor(t,e){this.sub=t,this.dep=e,this.version=e.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}let gi=class{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,{}.NODE_ENV!=="production"&&(this.subsHead=void 0)}track(t){if(!Qt||!ro||Qt===this.computed)return;let e=this.activeLink;if(e===void 0||e.sub!==Qt)e=this.activeLink=new v0(Qt,this),Qt.deps?(e.prevDep=Qt.depsTail,Qt.depsTail.nextDep=e,Qt.depsTail=e):Qt.deps=Qt.depsTail=e,ou(e);else if(e.version===-1&&(e.version=this.version,e.nextDep)){const n=e.nextDep;n.prevDep=e.prevDep,e.prevDep&&(e.prevDep.nextDep=n),e.prevDep=Qt.depsTail,e.nextDep=void 0,Qt.depsTail.nextDep=e,Qt.depsTail=e,Qt.deps===e&&(Qt.deps=n)}return{}.NODE_ENV!=="production"&&Qt.onTrack&&Qt.onTrack(oe({effect:Qt},t)),e}trigger(t){this.version++,hs++,this.notify(t)}notify(t){di();try{if({}.NODE_ENV!=="production")for(let e=this.subsHead;e;e=e.nextSub)e.sub.onTrigger&&!(e.sub.flags&8)&&e.sub.onTrigger(oe({effect:e.sub},t));for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{hi()}}};function ou(o){if(o.dep.sc++,o.sub.flags&4){const t=o.dep.computed;if(t&&!o.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)ou(n)}const e=o.dep.subs;e!==o&&(o.prevSub=e,e&&(e.nextSub=o)),{}.NODE_ENV!=="production"&&o.dep.subsHead===void 0&&(o.dep.subsHead=o),o.dep.subs=o}}const yi=new WeakMap,pn=Symbol({}.NODE_ENV!=="production"?"Object iterate":""),vi=Symbol({}.NODE_ENV!=="production"?"Map keys iterate":""),ps=Symbol({}.NODE_ENV!=="production"?"Array iterate":"");function _e(o,t,e){if(ro&&Qt){let n=yi.get(o);n||yi.set(o,n=new Map);let s=n.get(e);s||(n.set(e,s=new gi),s.map=n,s.key=e),{}.NODE_ENV!=="production"?s.track({target:o,type:t,key:e}):s.track()}}function yo(o,t,e,n,s,r){const a=yi.get(o);if(!a){hs++;return}const i=l=>{l&&({}.NODE_ENV!=="production"?l.trigger({target:o,type:t,key:e,newValue:n,oldValue:s,oldTarget:r}):l.trigger())};if(di(),t==="clear")a.forEach(i);else{const l=bt(o),c=l&&li(e);if(l&&e==="length"){const u=Number(n);a.forEach((f,d)=>{(d==="length"||d===ps||!Oo(d)&&d>=u)&&i(f)})}else switch((e!==void 0||a.has(void 0))&&i(a.get(e)),c&&i(a.get(ps)),t){case"add":l?c&&i(a.get("length")):(i(a.get(pn)),un(o)&&i(a.get(vi)));break;case"delete":l||(i(a.get(pn)),un(o)&&i(a.get(vi)));break;case"set":un(o)&&i(a.get(pn));break}}hi()}function An(o){const t=It(o);return t===o?t:(_e(t,"iterate",ps),Ae(o)?t:t.map(Re))}function fr(o){return _e(o=It(o),"iterate",ps),o}const b0={__proto__:null,[Symbol.iterator](){return bi(this,Symbol.iterator,Re)},concat(...o){return An(this).concat(...o.map(t=>bt(t)?An(t):t))},entries(){return bi(this,"entries",o=>(o[1]=Re(o[1]),o))},every(o,t){return Io(this,"every",o,t,void 0,arguments)},filter(o,t){return Io(this,"filter",o,t,e=>e.map(Re),arguments)},find(o,t){return Io(this,"find",o,t,Re,arguments)},findIndex(o,t){return Io(this,"findIndex",o,t,void 0,arguments)},findLast(o,t){return Io(this,"findLast",o,t,Re,arguments)},findLastIndex(o,t){return Io(this,"findLastIndex",o,t,void 0,arguments)},forEach(o,t){return Io(this,"forEach",o,t,void 0,arguments)},includes(...o){return _i(this,"includes",o)},indexOf(...o){return _i(this,"indexOf",o)},join(o){return An(this).join(o)},lastIndexOf(...o){return _i(this,"lastIndexOf",o)},map(o,t){return Io(this,"map",o,t,void 0,arguments)},pop(){return ms(this,"pop")},push(...o){return ms(this,"push",o)},reduce(o,...t){return nu(this,"reduce",o,t)},reduceRight(o,...t){return nu(this,"reduceRight",o,t)},shift(){return ms(this,"shift")},some(o,t){return Io(this,"some",o,t,void 0,arguments)},splice(...o){return ms(this,"splice",o)},toReversed(){return An(this).toReversed()},toSorted(o){return An(this).toSorted(o)},toSpliced(...o){return An(this).toSpliced(...o)},unshift(...o){return ms(this,"unshift",o)},values(){return bi(this,"values",Re)}};function bi(o,t,e){const n=fr(o),s=n[t]();return n!==o&&!Ae(o)&&(s._next=s.next,s.next=()=>{const r=s._next();return r.value&&(r.value=e(r.value)),r}),s}const _0=Array.prototype;function Io(o,t,e,n,s,r){const a=fr(o),i=a!==o&&!Ae(o),l=a[t];if(l!==_0[t]){const f=l.apply(o,r);return i?Re(f):f}let c=e;a!==o&&(i?c=function(f,d){return e.call(this,Re(f),d,o)}:e.length>2&&(c=function(f,d){return e.call(this,f,d,o)}));const u=l.call(a,c,n);return i&&s?s(u):u}function nu(o,t,e,n){const s=fr(o);let r=e;return s!==o&&(Ae(o)?e.length>3&&(r=function(a,i,l){return e.call(this,a,i,l,o)}):r=function(a,i,l){return e.call(this,a,Re(i),l,o)}),s[t](r,...n)}function _i(o,t,e){const n=It(o);_e(n,"iterate",ps);const s=n[t](...e);return(s===-1||s===!1)&&gr(e[0])?(e[0]=It(e[0]),n[t](...e)):s}function ms(o,t,e=[]){Po(),di();const n=It(o)[t].apply(o,e);return hi(),Ro(),n}const x0=So("__proto__,__v_isRef,__isVue"),su=new Set(Object.getOwnPropertyNames(Symbol).filter(o=>o!=="arguments"&&o!=="caller").map(o=>Symbol[o]).filter(Oo));function k0(o){Oo(o)||(o=String(o));const t=It(this);return _e(t,"has",o),t.hasOwnProperty(o)}class ru{constructor(t=!1,e=!1){this._isReadonly=t,this._isShallow=e}get(t,e,n){if(e==="__v_skip")return t.__v_skip;const s=this._isReadonly,r=this._isShallow;if(e==="__v_isReactive")return!s;if(e==="__v_isReadonly")return s;if(e==="__v_isShallow")return r;if(e==="__v_raw")return n===(s?r?du:fu:r?uu:cu).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const a=bt(t);if(!s){let l;if(a&&(l=b0[e]))return l;if(e==="hasOwnProperty")return k0}const i=Reflect.get(t,e,ge(t)?t:n);return(Oo(e)?su.has(e):x0(e))||(s||_e(t,"get",e),r)?i:ge(i)?a&&li(e)?i:i.value:Kt(i)?s?pu(i):Wt(i):i}}class au extends ru{constructor(t=!1){super(!1,t)}set(t,e,n,s){let r=t[e];if(!this._isShallow){const l=Ao(r);if(!Ae(n)&&!Ao(n)&&(r=It(r),n=It(n)),!bt(t)&&ge(r)&&!ge(n))return l?!1:(r.value=n,!0)}const a=bt(t)&&li(e)?Number(e)<t.length:Lt(t,e),i=Reflect.set(t,e,n,ge(t)?t:s);return t===It(s)&&(a?Zo(n,r)&&yo(t,"set",e,n,r):yo(t,"add",e,n)),i}deleteProperty(t,e){const n=Lt(t,e),s=t[e],r=Reflect.deleteProperty(t,e);return r&&n&&yo(t,"delete",e,void 0,s),r}has(t,e){const n=Reflect.has(t,e);return(!Oo(e)||!su.has(e))&&_e(t,"has",e),n}ownKeys(t){return _e(t,"iterate",bt(t)?"length":pn),Reflect.ownKeys(t)}}class iu extends ru{constructor(t=!1){super(!0,t)}set(t,e){return{}.NODE_ENV!=="production"&&go(`Set operation on key "${String(e)}" failed: target is readonly.`,t),!0}deleteProperty(t,e){return{}.NODE_ENV!=="production"&&go(`Delete operation on key "${String(e)}" failed: target is readonly.`,t),!0}}const w0=new au,C0=new iu,T0=new au(!0),E0=new iu(!0),xi=o=>o,dr=o=>Reflect.getPrototypeOf(o);function S0(o,t,e){return function(...n){const s=this.__v_raw,r=It(s),a=un(r),i=o==="entries"||o===Symbol.iterator&&a,l=o==="keys"&&a,c=s[o](...n),u=e?xi:t?ki:Re;return!t&&_e(r,"iterate",l?vi:pn),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:i?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function hr(o){return function(...t){if({}.NODE_ENV!=="production"){const e=t[0]?`on key "${t[0]}" `:"";go(`${fn(o)} operation ${e}failed: target is readonly.`,It(this))}return o==="delete"?!1:o==="clear"?void 0:this}}function O0(o,t){const e={get(s){const r=this.__v_raw,a=It(r),i=It(s);o||(Zo(s,i)&&_e(a,"get",s),_e(a,"get",i));const{has:l}=dr(a),c=t?xi:o?ki:Re;if(l.call(a,s))return c(r.get(s));if(l.call(a,i))return c(r.get(i));r!==a&&r.get(s)},get size(){const s=this.__v_raw;return!o&&_e(It(s),"iterate",pn),Reflect.get(s,"size",s)},has(s){const r=this.__v_raw,a=It(r),i=It(s);return o||(Zo(s,i)&&_e(a,"has",s),_e(a,"has",i)),s===i?r.has(s):r.has(s)||r.has(i)},forEach(s,r){const a=this,i=a.__v_raw,l=It(i),c=t?xi:o?ki:Re;return!o&&_e(l,"iterate",pn),i.forEach((u,f)=>s.call(r,c(u),c(f),a))}};return oe(e,o?{add:hr("add"),set:hr("set"),delete:hr("delete"),clear:hr("clear")}:{add(s){!t&&!Ae(s)&&!Ao(s)&&(s=It(s));const r=It(this);return dr(r).has.call(r,s)||(r.add(s),yo(r,"add",s,s)),this},set(s,r){!t&&!Ae(r)&&!Ao(r)&&(r=It(r));const a=It(this),{has:i,get:l}=dr(a);let c=i.call(a,s);c?{}.NODE_ENV!=="production"&&lu(a,i,s):(s=It(s),c=i.call(a,s));const u=l.call(a,s);return a.set(s,r),c?Zo(r,u)&&yo(a,"set",s,r,u):yo(a,"add",s,r),this},delete(s){const r=It(this),{has:a,get:i}=dr(r);let l=a.call(r,s);l?{}.NODE_ENV!=="production"&&lu(r,a,s):(s=It(s),l=a.call(r,s));const c=i?i.call(r,s):void 0,u=r.delete(s);return l&&yo(r,"delete",s,void 0,c),u},clear(){const s=It(this),r=s.size!==0,a={}.NODE_ENV!=="production"?un(s)?new Map(s):new Set(s):void 0,i=s.clear();return r&&yo(s,"clear",void 0,void 0,a),i}}),["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=S0(s,o,t)}),e}function pr(o,t){const e=O0(o,t);return(n,s,r)=>s==="__v_isReactive"?!o:s==="__v_isReadonly"?o:s==="__v_raw"?n:Reflect.get(Lt(e,s)&&s in n?e:n,s,r)}const P0={get:pr(!1,!1)},R0={get:pr(!1,!0)},I0={get:pr(!0,!1)},A0={get:pr(!0,!0)};function lu(o,t,e){const n=It(e);if(n!==e&&t.call(o,n)){const s=ii(o);go(`Reactive ${s} contains both the raw and reactive versions of the same object${s==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const cu=new WeakMap,uu=new WeakMap,fu=new WeakMap,du=new WeakMap;function $0(o){switch(o){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function N0(o){return o.__v_skip||!Object.isExtensible(o)?0:$0(ii(o))}function Wt(o){return Ao(o)?o:mr(o,!1,w0,P0,cu)}function hu(o){return mr(o,!1,T0,R0,uu)}function pu(o){return mr(o,!0,C0,I0,fu)}function vo(o){return mr(o,!0,E0,A0,du)}function mr(o,t,e,n,s){if(!Kt(o))return{}.NODE_ENV!=="production"&&go(`value cannot be made ${t?"readonly":"reactive"}: ${String(o)}`),o;if(o.__v_raw&&!(t&&o.__v_isReactive))return o;const r=s.get(o);if(r)return r;const a=N0(o);if(a===0)return o;const i=new Proxy(o,a===2?n:e);return s.set(o,i),i}function mn(o){return Ao(o)?mn(o.__v_raw):!!(o&&o.__v_isReactive)}function Ao(o){return!!(o&&o.__v_isReadonly)}function Ae(o){return!!(o&&o.__v_isShallow)}function gr(o){return o?!!o.__v_raw:!1}function It(o){const t=o&&o.__v_raw;return t?It(t):o}function F0(o){return!Lt(o,"__v_skip")&&Object.isExtensible(o)&&ur(o,"__v_skip",!0),o}const Re=o=>Kt(o)?Wt(o):o,ki=o=>Kt(o)?pu(o):o;function ge(o){return o?o.__v_isRef===!0:!1}function P(o){return mu(o,!1)}function z0(o){return mu(o,!0)}function mu(o,t){return ge(o)?o:new D0(o,t)}class D0{constructor(t,e){this.dep=new gi,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=e?t:It(t),this._value=e?t:Re(t),this.__v_isShallow=e}get value(){return{}.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track(),this._value}set value(t){const e=this._rawValue,n=this.__v_isShallow||Ae(t)||Ao(t);t=n?t:It(t),Zo(t,e)&&(this._rawValue=t,this._value=n?t:Re(t),{}.NODE_ENV!=="production"?this.dep.trigger({target:this,type:"set",key:"value",newValue:t,oldValue:e}):this.dep.trigger())}}function Tt(o){return ge(o)?o.value:o}const M0={get:(o,t,e)=>t==="__v_raw"?o:Tt(Reflect.get(o,t,e)),set:(o,t,e,n)=>{const s=o[t];return ge(s)&&!ge(e)?(s.value=e,!0):Reflect.set(o,t,e,n)}};function gu(o){return mn(o)?o:new Proxy(o,M0)}class L0{constructor(t,e,n){this.fn=t,this.setter=e,this._value=void 0,this.dep=new gi(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=hs-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!e,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&Qt!==this)return qc(this,!0),!0}get value(){const t={}.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track();return Jc(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter?this.setter(t):{}.NODE_ENV!=="production"&&go("Write operation failed: computed value is readonly")}}function B0(o,t,e=!1){let n,s;Ct(o)?n=o:(n=o.get,s=o.set);const r=new L0(n,s,e);return{}.NODE_ENV!=="production"&&t&&!e&&(r.onTrack=t.onTrack,r.onTrigger=t.onTrigger),r}const yr={},vr=new WeakMap;let gn;function Y0(o,t=!1,e=gn){if(e){let n=vr.get(e);n||vr.set(e,n=[]),n.push(o)}else({}).NODE_ENV!=="production"&&!t&&go("onWatcherCleanup() was called when there was no active watcher to associate with.")}function V0(o,t,e=qt){const{immediate:n,deep:s,once:r,scheduler:a,augmentJob:i,call:l}=e,c=_=>{(e.onWarn||go)("Invalid watch source: ",_,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},u=_=>s?_:Ae(_)||s===!1||s===0?$o(_,1):$o(_);let f,d,h,p,b=!1,x=!1;if(ge(o)?(d=()=>o.value,b=Ae(o)):mn(o)?(d=()=>u(o),b=!0):bt(o)?(x=!0,b=o.some(_=>mn(_)||Ae(_)),d=()=>o.map(_=>{if(ge(_))return _.value;if(mn(_))return u(_);if(Ct(_))return l?l(_,2):_();({}).NODE_ENV!=="production"&&c(_)})):Ct(o)?t?d=l?()=>l(o,2):o:d=()=>{if(h){Po();try{h()}finally{Ro()}}const _=gn;gn=f;try{return l?l(o,3,[p]):o(p)}finally{gn=_}}:(d=be,{}.NODE_ENV!=="production"&&c(o)),t&&s){const _=d,w=s===!0?1/0:s;d=()=>$o(_(),w)}const k=g0(),g=()=>{f.stop(),k&&k.active&&ri(k.effects,f)};if(r&&t){const _=t;t=(...w)=>{_(...w),g()}}let m=x?new Array(o.length).fill(yr):yr;const y=_=>{if(!(!(f.flags&1)||!f.dirty&&!_))if(t){const w=f.run();if(s||b||(x?w.some(($,Y)=>Zo($,m[Y])):Zo(w,m))){h&&h();const $=gn;gn=f;try{const Y=[w,m===yr?void 0:x&&m[0]===yr?[]:m,p];l?l(t,3,Y):t(...Y),m=w}finally{gn=$}}}else f.run()};return i&&i(y),f=new jc(d),f.scheduler=a?()=>a(y,!1):y,p=_=>Y0(_,!1,f),h=f.onStop=()=>{const _=vr.get(f);if(_){if(l)l(_,4);else for(const w of _)w();vr.delete(f)}},{}.NODE_ENV!=="production"&&(f.onTrack=e.onTrack,f.onTrigger=e.onTrigger),t?n?y(!0):m=f.run():a?a(y.bind(null,!0),!0):f.run(),g.pause=f.pause.bind(f),g.resume=f.resume.bind(f),g.stop=g,g}function $o(o,t=1/0,e){if(t<=0||!Kt(o)||o.__v_skip||(e=e||new Set,e.has(o)))return o;if(e.add(o),t--,ge(o))$o(o.value,t,e);else if(bt(o))for(let n=0;n<o.length;n++)$o(o[n],t,e);else if(Vc(o)||un(o))o.forEach(n=>{$o(n,t,e)});else if(lr(o)){for(const n in o)$o(o[n],t,e);for(const n of Object.getOwnPropertySymbols(o))Object.prototype.propertyIsEnumerable.call(o,n)&&$o(o[n],t,e)}return o}/**
|
|
9
|
+
**/function go(o,...t){console.warn(`[Vue warn] ${o}`,...t)}let Ye;class m0{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ye,!t&&Ye&&(this.index=(Ye.scopes||(Ye.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,e;if(this.scopes)for(t=0,e=this.scopes.length;t<e;t++)this.scopes[t].pause();for(t=0,e=this.effects.length;t<e;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,e;if(this.scopes)for(t=0,e=this.scopes.length;t<e;t++)this.scopes[t].resume();for(t=0,e=this.effects.length;t<e;t++)this.effects[t].resume()}}run(t){if(this._active){const e=Ye;try{return Ye=this,t()}finally{Ye=e}}else({}).NODE_ENV!=="production"&&go("cannot run an inactive effect scope.")}on(){Ye=this}off(){Ye=this.parent}stop(t){if(this._active){this._active=!1;let e,n;for(e=0,n=this.effects.length;e<n;e++)this.effects[e].stop();for(this.effects.length=0,e=0,n=this.cleanups.length;e<n;e++)this.cleanups[e]();if(this.cleanups.length=0,this.scopes){for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function g0(){return Ye}let Qt;const ui=new WeakSet;class jc{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Ye&&Ye.active&&Ye.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ui.has(this)&&(ui.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||qc(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,eu(this),Kc(this);const t=Qt,e=ro;Qt=this,ro=!0;try{return this.fn()}finally{({}).NODE_ENV!=="production"&&Qt!==this&&go("Active effect was not restored correctly - this is likely a Vue internal bug."),Qc(this),Qt=t,ro=e,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)pi(t);this.deps=this.depsTail=void 0,eu(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ui.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){hi(this)&&this.run()}get dirty(){return hi(this)}}let Wc=0,fs,ds;function qc(o,t=!1){if(o.flags|=8,t){o.next=ds,ds=o;return}o.next=fs,fs=o}function fi(){Wc++}function di(){if(--Wc>0)return;if(ds){let t=ds;for(ds=void 0;t;){const e=t.next;t.next=void 0,t.flags&=-9,t=e}}let o;for(;fs;){let t=fs;for(fs=void 0;t;){const e=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){o||(o=n)}t=e}}if(o)throw o}function Kc(o){for(let t=o.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Qc(o){let t,e=o.depsTail,n=e;for(;n;){const s=n.prevDep;n.version===-1?(n===e&&(e=s),pi(n),y0(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=s}o.deps=t,o.depsTail=e}function hi(o){for(let t=o.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Jc(t.dep.computed)||t.dep.version!==t.version))return!0;return!!o._dirty}function Jc(o){if(o.flags&4&&!(o.flags&16)||(o.flags&=-17,o.globalVersion===hs))return;o.globalVersion=hs;const t=o.dep;if(o.flags|=2,t.version>0&&!o.isSSR&&o.deps&&!hi(o)){o.flags&=-3;return}const e=Qt,n=ro;Qt=o,ro=!0;try{Kc(o);const s=o.fn(o._value);(t.version===0||Zo(s,o._value))&&(o._value=s,t.version++)}catch(s){throw t.version++,s}finally{Qt=e,ro=n,Qc(o),o.flags&=-3}}function pi(o,t=!1){const{dep:e,prevSub:n,nextSub:s}=o;if(n&&(n.nextSub=s,o.prevSub=void 0),s&&(s.prevSub=n,o.nextSub=void 0),{}.NODE_ENV!=="production"&&e.subsHead===o&&(e.subsHead=s),e.subs===o&&(e.subs=n,!n&&e.computed)){e.computed.flags&=-5;for(let r=e.computed.deps;r;r=r.nextDep)pi(r,!0)}!t&&!--e.sc&&e.map&&e.map.delete(e.key)}function y0(o){const{prevDep:t,nextDep:e}=o;t&&(t.nextDep=e,o.prevDep=void 0),e&&(e.prevDep=t,o.nextDep=void 0)}let ro=!0;const tu=[];function Po(){tu.push(ro),ro=!1}function Ro(){const o=tu.pop();ro=o===void 0?!0:o}function eu(o){const{cleanup:t}=o;if(o.cleanup=void 0,t){const e=Qt;Qt=void 0;try{t()}finally{Qt=e}}}let hs=0;class v0{constructor(t,e){this.sub=t,this.dep=e,this.version=e.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}let mi=class{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,{}.NODE_ENV!=="production"&&(this.subsHead=void 0)}track(t){if(!Qt||!ro||Qt===this.computed)return;let e=this.activeLink;if(e===void 0||e.sub!==Qt)e=this.activeLink=new v0(Qt,this),Qt.deps?(e.prevDep=Qt.depsTail,Qt.depsTail.nextDep=e,Qt.depsTail=e):Qt.deps=Qt.depsTail=e,ou(e);else if(e.version===-1&&(e.version=this.version,e.nextDep)){const n=e.nextDep;n.prevDep=e.prevDep,e.prevDep&&(e.prevDep.nextDep=n),e.prevDep=Qt.depsTail,e.nextDep=void 0,Qt.depsTail.nextDep=e,Qt.depsTail=e,Qt.deps===e&&(Qt.deps=n)}return{}.NODE_ENV!=="production"&&Qt.onTrack&&Qt.onTrack(oe({effect:Qt},t)),e}trigger(t){this.version++,hs++,this.notify(t)}notify(t){fi();try{if({}.NODE_ENV!=="production")for(let e=this.subsHead;e;e=e.nextSub)e.sub.onTrigger&&!(e.sub.flags&8)&&e.sub.onTrigger(oe({effect:e.sub},t));for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{di()}}};function ou(o){if(o.dep.sc++,o.sub.flags&4){const t=o.dep.computed;if(t&&!o.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)ou(n)}const e=o.dep.subs;e!==o&&(o.prevSub=e,e&&(e.nextSub=o)),{}.NODE_ENV!=="production"&&o.dep.subsHead===void 0&&(o.dep.subsHead=o),o.dep.subs=o}}const gi=new WeakMap,pn=Symbol({}.NODE_ENV!=="production"?"Object iterate":""),yi=Symbol({}.NODE_ENV!=="production"?"Map keys iterate":""),ps=Symbol({}.NODE_ENV!=="production"?"Array iterate":"");function _e(o,t,e){if(ro&&Qt){let n=gi.get(o);n||gi.set(o,n=new Map);let s=n.get(e);s||(n.set(e,s=new mi),s.map=n,s.key=e),{}.NODE_ENV!=="production"?s.track({target:o,type:t,key:e}):s.track()}}function yo(o,t,e,n,s,r){const a=gi.get(o);if(!a){hs++;return}const i=l=>{l&&({}.NODE_ENV!=="production"?l.trigger({target:o,type:t,key:e,newValue:n,oldValue:s,oldTarget:r}):l.trigger())};if(fi(),t==="clear")a.forEach(i);else{const l=bt(o),c=l&&ii(e);if(l&&e==="length"){const u=Number(n);a.forEach((f,d)=>{(d==="length"||d===ps||!Oo(d)&&d>=u)&&i(f)})}else switch((e!==void 0||a.has(void 0))&&i(a.get(e)),c&&i(a.get(ps)),t){case"add":l?c&&i(a.get("length")):(i(a.get(pn)),un(o)&&i(a.get(yi)));break;case"delete":l||(i(a.get(pn)),un(o)&&i(a.get(yi)));break;case"set":un(o)&&i(a.get(pn));break}}di()}function An(o){const t=It(o);return t===o?t:(_e(t,"iterate",ps),Ae(o)?t:t.map(Re))}function fr(o){return _e(o=It(o),"iterate",ps),o}const b0={__proto__:null,[Symbol.iterator](){return vi(this,Symbol.iterator,Re)},concat(...o){return An(this).concat(...o.map(t=>bt(t)?An(t):t))},entries(){return vi(this,"entries",o=>(o[1]=Re(o[1]),o))},every(o,t){return Io(this,"every",o,t,void 0,arguments)},filter(o,t){return Io(this,"filter",o,t,e=>e.map(Re),arguments)},find(o,t){return Io(this,"find",o,t,Re,arguments)},findIndex(o,t){return Io(this,"findIndex",o,t,void 0,arguments)},findLast(o,t){return Io(this,"findLast",o,t,Re,arguments)},findLastIndex(o,t){return Io(this,"findLastIndex",o,t,void 0,arguments)},forEach(o,t){return Io(this,"forEach",o,t,void 0,arguments)},includes(...o){return bi(this,"includes",o)},indexOf(...o){return bi(this,"indexOf",o)},join(o){return An(this).join(o)},lastIndexOf(...o){return bi(this,"lastIndexOf",o)},map(o,t){return Io(this,"map",o,t,void 0,arguments)},pop(){return ms(this,"pop")},push(...o){return ms(this,"push",o)},reduce(o,...t){return nu(this,"reduce",o,t)},reduceRight(o,...t){return nu(this,"reduceRight",o,t)},shift(){return ms(this,"shift")},some(o,t){return Io(this,"some",o,t,void 0,arguments)},splice(...o){return ms(this,"splice",o)},toReversed(){return An(this).toReversed()},toSorted(o){return An(this).toSorted(o)},toSpliced(...o){return An(this).toSpliced(...o)},unshift(...o){return ms(this,"unshift",o)},values(){return vi(this,"values",Re)}};function vi(o,t,e){const n=fr(o),s=n[t]();return n!==o&&!Ae(o)&&(s._next=s.next,s.next=()=>{const r=s._next();return r.value&&(r.value=e(r.value)),r}),s}const _0=Array.prototype;function Io(o,t,e,n,s,r){const a=fr(o),i=a!==o&&!Ae(o),l=a[t];if(l!==_0[t]){const f=l.apply(o,r);return i?Re(f):f}let c=e;a!==o&&(i?c=function(f,d){return e.call(this,Re(f),d,o)}:e.length>2&&(c=function(f,d){return e.call(this,f,d,o)}));const u=l.call(a,c,n);return i&&s?s(u):u}function nu(o,t,e,n){const s=fr(o);let r=e;return s!==o&&(Ae(o)?e.length>3&&(r=function(a,i,l){return e.call(this,a,i,l,o)}):r=function(a,i,l){return e.call(this,a,Re(i),l,o)}),s[t](r,...n)}function bi(o,t,e){const n=It(o);_e(n,"iterate",ps);const s=n[t](...e);return(s===-1||s===!1)&&gr(e[0])?(e[0]=It(e[0]),n[t](...e)):s}function ms(o,t,e=[]){Po(),fi();const n=It(o)[t].apply(o,e);return di(),Ro(),n}const x0=So("__proto__,__v_isRef,__isVue"),su=new Set(Object.getOwnPropertyNames(Symbol).filter(o=>o!=="arguments"&&o!=="caller").map(o=>Symbol[o]).filter(Oo));function k0(o){Oo(o)||(o=String(o));const t=It(this);return _e(t,"has",o),t.hasOwnProperty(o)}class ru{constructor(t=!1,e=!1){this._isReadonly=t,this._isShallow=e}get(t,e,n){if(e==="__v_skip")return t.__v_skip;const s=this._isReadonly,r=this._isShallow;if(e==="__v_isReactive")return!s;if(e==="__v_isReadonly")return s;if(e==="__v_isShallow")return r;if(e==="__v_raw")return n===(s?r?du:fu:r?uu:cu).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const a=bt(t);if(!s){let l;if(a&&(l=b0[e]))return l;if(e==="hasOwnProperty")return k0}const i=Reflect.get(t,e,ge(t)?t:n);return(Oo(e)?su.has(e):x0(e))||(s||_e(t,"get",e),r)?i:ge(i)?a&&ii(e)?i:i.value:Kt(i)?s?pu(i):Wt(i):i}}class au extends ru{constructor(t=!1){super(!1,t)}set(t,e,n,s){let r=t[e];if(!this._isShallow){const l=Ao(r);if(!Ae(n)&&!Ao(n)&&(r=It(r),n=It(n)),!bt(t)&&ge(r)&&!ge(n))return l?!1:(r.value=n,!0)}const a=bt(t)&&ii(e)?Number(e)<t.length:Lt(t,e),i=Reflect.set(t,e,n,ge(t)?t:s);return t===It(s)&&(a?Zo(n,r)&&yo(t,"set",e,n,r):yo(t,"add",e,n)),i}deleteProperty(t,e){const n=Lt(t,e),s=t[e],r=Reflect.deleteProperty(t,e);return r&&n&&yo(t,"delete",e,void 0,s),r}has(t,e){const n=Reflect.has(t,e);return(!Oo(e)||!su.has(e))&&_e(t,"has",e),n}ownKeys(t){return _e(t,"iterate",bt(t)?"length":pn),Reflect.ownKeys(t)}}class iu extends ru{constructor(t=!1){super(!0,t)}set(t,e){return{}.NODE_ENV!=="production"&&go(`Set operation on key "${String(e)}" failed: target is readonly.`,t),!0}deleteProperty(t,e){return{}.NODE_ENV!=="production"&&go(`Delete operation on key "${String(e)}" failed: target is readonly.`,t),!0}}const w0=new au,C0=new iu,T0=new au(!0),E0=new iu(!0),_i=o=>o,dr=o=>Reflect.getPrototypeOf(o);function S0(o,t,e){return function(...n){const s=this.__v_raw,r=It(s),a=un(r),i=o==="entries"||o===Symbol.iterator&&a,l=o==="keys"&&a,c=s[o](...n),u=e?_i:t?xi:Re;return!t&&_e(r,"iterate",l?yi:pn),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:i?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function hr(o){return function(...t){if({}.NODE_ENV!=="production"){const e=t[0]?`on key "${t[0]}" `:"";go(`${fn(o)} operation ${e}failed: target is readonly.`,It(this))}return o==="delete"?!1:o==="clear"?void 0:this}}function O0(o,t){const e={get(s){const r=this.__v_raw,a=It(r),i=It(s);o||(Zo(s,i)&&_e(a,"get",s),_e(a,"get",i));const{has:l}=dr(a),c=t?_i:o?xi:Re;if(l.call(a,s))return c(r.get(s));if(l.call(a,i))return c(r.get(i));r!==a&&r.get(s)},get size(){const s=this.__v_raw;return!o&&_e(It(s),"iterate",pn),Reflect.get(s,"size",s)},has(s){const r=this.__v_raw,a=It(r),i=It(s);return o||(Zo(s,i)&&_e(a,"has",s),_e(a,"has",i)),s===i?r.has(s):r.has(s)||r.has(i)},forEach(s,r){const a=this,i=a.__v_raw,l=It(i),c=t?_i:o?xi:Re;return!o&&_e(l,"iterate",pn),i.forEach((u,f)=>s.call(r,c(u),c(f),a))}};return oe(e,o?{add:hr("add"),set:hr("set"),delete:hr("delete"),clear:hr("clear")}:{add(s){!t&&!Ae(s)&&!Ao(s)&&(s=It(s));const r=It(this);return dr(r).has.call(r,s)||(r.add(s),yo(r,"add",s,s)),this},set(s,r){!t&&!Ae(r)&&!Ao(r)&&(r=It(r));const a=It(this),{has:i,get:l}=dr(a);let c=i.call(a,s);c?{}.NODE_ENV!=="production"&&lu(a,i,s):(s=It(s),c=i.call(a,s));const u=l.call(a,s);return a.set(s,r),c?Zo(r,u)&&yo(a,"set",s,r,u):yo(a,"add",s,r),this},delete(s){const r=It(this),{has:a,get:i}=dr(r);let l=a.call(r,s);l?{}.NODE_ENV!=="production"&&lu(r,a,s):(s=It(s),l=a.call(r,s));const c=i?i.call(r,s):void 0,u=r.delete(s);return l&&yo(r,"delete",s,void 0,c),u},clear(){const s=It(this),r=s.size!==0,a={}.NODE_ENV!=="production"?un(s)?new Map(s):new Set(s):void 0,i=s.clear();return r&&yo(s,"clear",void 0,void 0,a),i}}),["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=S0(s,o,t)}),e}function pr(o,t){const e=O0(o,t);return(n,s,r)=>s==="__v_isReactive"?!o:s==="__v_isReadonly"?o:s==="__v_raw"?n:Reflect.get(Lt(e,s)&&s in n?e:n,s,r)}const P0={get:pr(!1,!1)},R0={get:pr(!1,!0)},I0={get:pr(!0,!1)},A0={get:pr(!0,!0)};function lu(o,t,e){const n=It(e);if(n!==e&&t.call(o,n)){const s=ai(o);go(`Reactive ${s} contains both the raw and reactive versions of the same object${s==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const cu=new WeakMap,uu=new WeakMap,fu=new WeakMap,du=new WeakMap;function $0(o){switch(o){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function N0(o){return o.__v_skip||!Object.isExtensible(o)?0:$0(ai(o))}function Wt(o){return Ao(o)?o:mr(o,!1,w0,P0,cu)}function hu(o){return mr(o,!1,T0,R0,uu)}function pu(o){return mr(o,!0,C0,I0,fu)}function vo(o){return mr(o,!0,E0,A0,du)}function mr(o,t,e,n,s){if(!Kt(o))return{}.NODE_ENV!=="production"&&go(`value cannot be made ${t?"readonly":"reactive"}: ${String(o)}`),o;if(o.__v_raw&&!(t&&o.__v_isReactive))return o;const r=s.get(o);if(r)return r;const a=N0(o);if(a===0)return o;const i=new Proxy(o,a===2?n:e);return s.set(o,i),i}function mn(o){return Ao(o)?mn(o.__v_raw):!!(o&&o.__v_isReactive)}function Ao(o){return!!(o&&o.__v_isReadonly)}function Ae(o){return!!(o&&o.__v_isShallow)}function gr(o){return o?!!o.__v_raw:!1}function It(o){const t=o&&o.__v_raw;return t?It(t):o}function F0(o){return!Lt(o,"__v_skip")&&Object.isExtensible(o)&&ur(o,"__v_skip",!0),o}const Re=o=>Kt(o)?Wt(o):o,xi=o=>Kt(o)?pu(o):o;function ge(o){return o?o.__v_isRef===!0:!1}function P(o){return mu(o,!1)}function z0(o){return mu(o,!0)}function mu(o,t){return ge(o)?o:new D0(o,t)}class D0{constructor(t,e){this.dep=new mi,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=e?t:It(t),this._value=e?t:Re(t),this.__v_isShallow=e}get value(){return{}.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track(),this._value}set value(t){const e=this._rawValue,n=this.__v_isShallow||Ae(t)||Ao(t);t=n?t:It(t),Zo(t,e)&&(this._rawValue=t,this._value=n?t:Re(t),{}.NODE_ENV!=="production"?this.dep.trigger({target:this,type:"set",key:"value",newValue:t,oldValue:e}):this.dep.trigger())}}function Tt(o){return ge(o)?o.value:o}const M0={get:(o,t,e)=>t==="__v_raw"?o:Tt(Reflect.get(o,t,e)),set:(o,t,e,n)=>{const s=o[t];return ge(s)&&!ge(e)?(s.value=e,!0):Reflect.set(o,t,e,n)}};function gu(o){return mn(o)?o:new Proxy(o,M0)}class L0{constructor(t,e,n){this.fn=t,this.setter=e,this._value=void 0,this.dep=new mi(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=hs-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!e,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&Qt!==this)return qc(this,!0),!0}get value(){const t={}.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track();return Jc(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter?this.setter(t):{}.NODE_ENV!=="production"&&go("Write operation failed: computed value is readonly")}}function B0(o,t,e=!1){let n,s;Ct(o)?n=o:(n=o.get,s=o.set);const r=new L0(n,s,e);return{}.NODE_ENV!=="production"&&t&&!e&&(r.onTrack=t.onTrack,r.onTrigger=t.onTrigger),r}const yr={},vr=new WeakMap;let gn;function Y0(o,t=!1,e=gn){if(e){let n=vr.get(e);n||vr.set(e,n=[]),n.push(o)}else({}).NODE_ENV!=="production"&&!t&&go("onWatcherCleanup() was called when there was no active watcher to associate with.")}function V0(o,t,e=qt){const{immediate:n,deep:s,once:r,scheduler:a,augmentJob:i,call:l}=e,c=_=>{(e.onWarn||go)("Invalid watch source: ",_,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},u=_=>s?_:Ae(_)||s===!1||s===0?$o(_,1):$o(_);let f,d,h,p,b=!1,x=!1;if(ge(o)?(d=()=>o.value,b=Ae(o)):mn(o)?(d=()=>u(o),b=!0):bt(o)?(x=!0,b=o.some(_=>mn(_)||Ae(_)),d=()=>o.map(_=>{if(ge(_))return _.value;if(mn(_))return u(_);if(Ct(_))return l?l(_,2):_();({}).NODE_ENV!=="production"&&c(_)})):Ct(o)?t?d=l?()=>l(o,2):o:d=()=>{if(h){Po();try{h()}finally{Ro()}}const _=gn;gn=f;try{return l?l(o,3,[p]):o(p)}finally{gn=_}}:(d=be,{}.NODE_ENV!=="production"&&c(o)),t&&s){const _=d,w=s===!0?1/0:s;d=()=>$o(_(),w)}const k=g0(),g=()=>{f.stop(),k&&k.active&&si(k.effects,f)};if(r&&t){const _=t;t=(...w)=>{_(...w),g()}}let m=x?new Array(o.length).fill(yr):yr;const y=_=>{if(!(!(f.flags&1)||!f.dirty&&!_))if(t){const w=f.run();if(s||b||(x?w.some(($,Y)=>Zo($,m[Y])):Zo(w,m))){h&&h();const $=gn;gn=f;try{const Y=[w,m===yr?void 0:x&&m[0]===yr?[]:m,p];l?l(t,3,Y):t(...Y),m=w}finally{gn=$}}}else f.run()};return i&&i(y),f=new jc(d),f.scheduler=a?()=>a(y,!1):y,p=_=>Y0(_,!1,f),h=f.onStop=()=>{const _=vr.get(f);if(_){if(l)l(_,4);else for(const w of _)w();vr.delete(f)}},{}.NODE_ENV!=="production"&&(f.onTrack=e.onTrack,f.onTrigger=e.onTrigger),t?n?y(!0):m=f.run():a?a(y.bind(null,!0),!0):f.run(),g.pause=f.pause.bind(f),g.resume=f.resume.bind(f),g.stop=g,g}function $o(o,t=1/0,e){if(t<=0||!Kt(o)||o.__v_skip||(e=e||new Set,e.has(o)))return o;if(e.add(o),t--,ge(o))$o(o.value,t,e);else if(bt(o))for(let n=0;n<o.length;n++)$o(o[n],t,e);else if(Vc(o)||un(o))o.forEach(n=>{$o(n,t,e)});else if(lr(o)){for(const n in o)$o(o[n],t,e);for(const n of Object.getOwnPropertySymbols(o))Object.prototype.propertyIsEnumerable.call(o,n)&&$o(o[n],t,e)}return o}/**
|
|
10
10
|
* @vue/runtime-core v3.5.13
|
|
11
11
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
12
12
|
* @license MIT
|
|
13
|
-
**/const yn=[];function br(o){yn.push(o)}function _r(){yn.pop()}let
|
|
13
|
+
**/const yn=[];function br(o){yn.push(o)}function _r(){yn.pop()}let ki=!1;function J(o,...t){if(ki)return;ki=!0,Po();const e=yn.length?yn[yn.length-1].component:null,n=e&&e.appContext.config.warnHandler,s=X0();if(n)$n(n,e,11,[o+t.map(r=>{var a,i;return(i=(a=r.toString)==null?void 0:a.call(r))!=null?i:JSON.stringify(r)}).join(""),e&&e.proxy,s.map(({vnode:r})=>`at <${Vr(e,r.type)}>`).join(`
|
|
14
14
|
`),s]);else{const r=[`[Vue warn]: ${o}`,...t];s.length&&r.push(`
|
|
15
|
-
`,...Z0(s)),console.warn(...r)}Ro(),
|
|
16
|
-
`],...U0(e))}),t}function U0({vnode:o,recurseCount:t}){const e=t>0?`... (${t} recursive calls)`:"",n=o.component?o.component.parent==null:!1,s=` at <${Vr(o.component,o.type,n)}`,r=">"+e;return o.props?[s,...H0(o.props),r]:[s+r]}function H0(o){const t=[],e=Object.keys(o);return e.slice(0,3).forEach(n=>{t.push(...yu(n,o[n]))}),e.length>3&&t.push(" ..."),t}function yu(o,t,e){return re(t)?(t=JSON.stringify(t),e?t:[`${o}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?e?t:[`${o}=${t}`]:ge(t)?(t=yu(o,It(t.value),!0),e?t:[`${o}=Ref<`,t,">"]):Ct(t)?[`${o}=fn${t.name?`<${t.name}>`:""}`]:(t=It(t),e?t:[`${o}=`,t])}function G0(o,t){({}).NODE_ENV!=="production"&&o!==void 0&&(typeof o!="number"?J(`${t} is not a valid number - got ${JSON.stringify(o)}.`):isNaN(o)&&J(`${t} is NaN - the duration expression might be incorrect.`))}const Ci={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function $n(o,t,e,n){try{return n?o(...n):o()}catch(s){gs(s,t,e)}}function ao(o,t,e,n){if(Ct(o)){const s=$n(o,t,e,n);return s&&ai(s)&&s.catch(r=>{gs(r,t,e)}),s}if(bt(o)){const s=[];for(let r=0;r<o.length;r++)s.push(ao(o[r],t,e,n));return s}else({}).NODE_ENV!=="production"&&J(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof o}`)}function gs(o,t,e,n=!0){const s=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||qt;if(t){let i=t.parent;const l=t.proxy,c={}.NODE_ENV!=="production"?Ci[e]:`https://vuejs.org/error-reference/#runtime-${e}`;for(;i;){const u=i.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](o,l,c)===!1)return}i=i.parent}if(r){Po(),$n(r,null,10,[o,l,c]),Ro();return}}j0(o,e,s,n,a)}function j0(o,t,e,n=!0,s=!1){if({}.NODE_ENV!=="production"){const r=Ci[t];if(e&&br(e),J(`Unhandled error${r?` during execution of ${r}`:""}`),e&&_r(),n)throw o;console.error(o)}else{if(s)throw o;console.error(o)}}const $e=[];let bo=-1;const Nn=[];let Uo=null,Fn=0;const vu=Promise.resolve();let xr=null;const W0=100;function kr(o){const t=xr||vu;return o?t.then(this?o.bind(this):o):t}function q0(o){let t=bo+1,e=$e.length;for(;t<e;){const n=t+e>>>1,s=$e[n],r=ys(s);r<o||r===o&&s.flags&2?t=n+1:e=n}return t}function wr(o){if(!(o.flags&1)){const t=ys(o),e=$e[$e.length-1];!e||!(o.flags&2)&&t>=ys(e)?$e.push(o):$e.splice(q0(t),0,o),o.flags|=1,bu()}}function bu(){xr||(xr=vu.then(wu))}function _u(o){bt(o)?Nn.push(...o):Uo&&o.id===-1?Uo.splice(Fn+1,0,o):o.flags&1||(Nn.push(o),o.flags|=1),bu()}function xu(o,t,e=bo+1){for({}.NODE_ENV!=="production"&&(t=t||new Map);e<$e.length;e++){const n=$e[e];if(n&&n.flags&2){if(o&&n.id!==o.uid||{}.NODE_ENV!=="production"&&Ti(t,n))continue;$e.splice(e,1),e--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function ku(o){if(Nn.length){const t=[...new Set(Nn)].sort((e,n)=>ys(e)-ys(n));if(Nn.length=0,Uo){Uo.push(...t);return}for(Uo=t,{}.NODE_ENV!=="production"&&(o=o||new Map),Fn=0;Fn<Uo.length;Fn++){const e=Uo[Fn];({}).NODE_ENV!=="production"&&Ti(o,e)||(e.flags&4&&(e.flags&=-2),e.flags&8||e(),e.flags&=-2)}Uo=null,Fn=0}}const ys=o=>o.id==null?o.flags&2?-1:1/0:o.id;function wu(o){({}).NODE_ENV!=="production"&&(o=o||new Map);const t={}.NODE_ENV!=="production"?e=>Ti(o,e):be;try{for(bo=0;bo<$e.length;bo++){const e=$e[bo];if(e&&!(e.flags&8)){if({}.NODE_ENV!=="production"&&t(e))continue;e.flags&4&&(e.flags&=-2),$n(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2)}}}finally{for(;bo<$e.length;bo++){const e=$e[bo];e&&(e.flags&=-2)}bo=-1,$e.length=0,ku(o),xr=null,($e.length||Nn.length)&&wu(o)}}function Ti(o,t){const e=o.get(t)||0;if(e>W0){const n=t.i,s=n&&Rs(n.type);return gs(`Maximum recursive updates exceeded${s?` in component <${s}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}return o.set(t,e+1),!1}let _o=!1;const Cr=new Map;({}).NODE_ENV!=="production"&&(us().__VUE_HMR_RUNTIME__={createRecord:Ei(Cu),rerender:Ei(J0),reload:Ei(tg)});const vn=new Map;function K0(o){const t=o.type.__hmrId;let e=vn.get(t);e||(Cu(t,o.type),e=vn.get(t)),e.instances.add(o)}function Q0(o){vn.get(o.type.__hmrId).instances.delete(o)}function Cu(o,t){return vn.has(o)?!1:(vn.set(o,{initialDef:Tr(t),instances:new Set}),!0)}function Tr(o){return Pf(o)?o.__vccOpts:o}function J0(o,t){const e=vn.get(o);e&&(e.initialDef.render=t,[...e.instances].forEach(n=>{t&&(n.render=t,Tr(n.type).render=t),n.renderCache=[],_o=!0,n.update(),_o=!1}))}function tg(o,t){const e=vn.get(o);if(!e)return;t=Tr(t),Tu(e.initialDef,t);const n=[...e.instances];for(let s=0;s<n.length;s++){const r=n[s],a=Tr(r.type);let i=Cr.get(a);i||(a!==e.initialDef&&Tu(a,t),Cr.set(a,i=new Set)),i.add(r),r.appContext.propsCache.delete(r.type),r.appContext.emitsCache.delete(r.type),r.appContext.optionsCache.delete(r.type),r.ceReload?(i.add(r),r.ceReload(t.styles),i.delete(r)):r.parent?wr(()=>{_o=!0,r.parent.update(),_o=!1,i.delete(r)}):r.appContext.reload?r.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),r.root.ce&&r!==r.root&&r.root.ce._removeChildStyle(a)}_u(()=>{Cr.clear()})}function Tu(o,t){oe(o,t);for(const e in o)e!=="__file"&&!(e in t)&&delete o[e]}function Ei(o){return(t,e)=>{try{return o(t,e)}catch(n){console.error(n),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let xo,vs=[],Si=!1;function bs(o,...t){xo?xo.emit(o,...t):Si||vs.push({event:o,args:t})}function Eu(o,t){var e,n;xo=o,xo?(xo.enabled=!0,vs.forEach(({event:s,args:r})=>xo.emit(s,...r)),vs=[]):typeof window<"u"&&window.HTMLElement&&!((n=(e=window.navigator)==null?void 0:e.userAgent)!=null&&n.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(r=>{Eu(r,t)}),setTimeout(()=>{xo||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Si=!0,vs=[])},3e3)):(Si=!0,vs=[])}function eg(o,t){bs("app:init",o,t,{Fragment:Dt,Text:Cs,Comment:fe,Static:Ts})}function og(o){bs("app:unmount",o)}const Oi=Pi("component:added"),Su=Pi("component:updated"),ng=Pi("component:removed"),sg=o=>{xo&&typeof xo.cleanupBuffer=="function"&&!xo.cleanupBuffer(o)&&ng(o)};/*! #__NO_SIDE_EFFECTS__ */function Pi(o){return t=>{bs(o,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const rg=Ou("perf:start"),ag=Ou("perf:end");function Ou(o){return(t,e,n)=>{bs(o,t.appContext.app,t.uid,t,e,n)}}function ig(o,t,e){bs("component:emit",o.appContext.app,o,t,e)}let ye=null,Pu=null;function Er(o){const t=ye;return ye=o,Pu=o&&o.type.__scopeId||null,t}function W(o,t=ye,e){if(!t||o._n)return o;const n=(...s)=>{n._d&&vf(-1);const r=Er(t);let a;try{a=o(...s)}finally{Er(r),n._d&&vf(1)}return{}.NODE_ENV!=="production"&&Su(t),a};return n._n=!0,n._c=!0,n._d=!0,n}function Ru(o){t0(o)&&J("Do not use built-in directive ids as custom directive id: "+o)}function lg(o,t){if(ye===null)return{}.NODE_ENV!=="production"&&J("withDirectives can only be used inside render functions."),o;const e=Yr(ye),n=o.dirs||(o.dirs=[]);for(let s=0;s<t.length;s++){let[r,a,i,l=qt]=t[s];r&&(Ct(r)&&(r={mounted:r,updated:r}),r.deep&&$o(a),n.push({dir:r,instance:e,value:a,oldValue:void 0,arg:i,modifiers:l}))}return o}function bn(o,t,e,n){const s=o.dirs,r=t&&t.dirs;for(let a=0;a<s.length;a++){const i=s[a];r&&(i.oldValue=r[a].value);let l=i.dir[n];l&&(Po(),ao(l,e,8,[o.el,i,o,t]),Ro())}}const cg=Symbol("_vte"),Iu=o=>o.__isTeleport,Ho=Symbol("_leaveCb"),Sr=Symbol("_enterCb");function ug(){const o={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return pe(()=>{o.isMounted=!0}),$i(()=>{o.isUnmounting=!0}),o}const Ge=[Function,Array],Au={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ge,onEnter:Ge,onAfterEnter:Ge,onEnterCancelled:Ge,onBeforeLeave:Ge,onLeave:Ge,onAfterLeave:Ge,onLeaveCancelled:Ge,onBeforeAppear:Ge,onAppear:Ge,onAfterAppear:Ge,onAppearCancelled:Ge},$u=o=>{const t=o.subTree;return t.component?$u(t.component):t},fg={name:"BaseTransition",props:Au,setup(o,{slots:t}){const e=Ko(),n=ug();return()=>{const s=t.default&&Du(t.default(),!0);if(!s||!s.length)return;const r=Nu(s),a=It(o),{mode:i}=a;if({}.NODE_ENV!=="production"&&i&&i!=="in-out"&&i!=="out-in"&&i!=="default"&&J(`invalid <transition> mode: ${i}`),n.isLeaving)return Ii(r);const l=zu(r);if(!l)return Ii(r);let c=Ri(l,a,n,e,f=>c=f);l.type!==fe&&zn(l,c);let u=e.subTree&&zu(e.subTree);if(u&&u.type!==fe&&!Wo(l,u)&&$u(e).type!==fe){let f=Ri(u,a,n,e);if(zn(u,f),i==="out-in"&&l.type!==fe)return n.isLeaving=!0,f.afterLeave=()=>{n.isLeaving=!1,e.job.flags&8||e.update(),delete f.afterLeave,u=void 0},Ii(r);i==="in-out"&&l.type!==fe?f.delayLeave=(d,h,p)=>{const b=Fu(n,u);b[String(u.key)]=u,d[Ho]=()=>{h(),d[Ho]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{p(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return r}}};function Nu(o){let t=o[0];if(o.length>1){let e=!1;for(const n of o)if(n.type!==fe){if({}.NODE_ENV!=="production"&&e){J("<transition> can only be used on a single element or component. Use <transition-group> for lists.");break}if(t=n,e=!0,{}.NODE_ENV==="production")break}}return t}const dg=fg;function Fu(o,t){const{leavingVNodes:e}=o;let n=e.get(t.type);return n||(n=Object.create(null),e.set(t.type,n)),n}function Ri(o,t,e,n,s){const{appear:r,mode:a,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:d,onLeave:h,onAfterLeave:p,onLeaveCancelled:b,onBeforeAppear:x,onAppear:k,onAfterAppear:g,onAppearCancelled:m}=t,y=String(o.key),_=Fu(e,o),w=(B,M)=>{B&&ao(B,n,9,M)},$=(B,M)=>{const ut=M[1];w(B,M),bt(B)?B.every(j=>j.length<=1)&&ut():B.length<=1&&ut()},Y={mode:a,persisted:i,beforeEnter(B){let M=l;if(!e.isMounted)if(r)M=x||l;else return;B[Ho]&&B[Ho](!0);const ut=_[y];ut&&Wo(o,ut)&&ut.el[Ho]&&ut.el[Ho](),w(M,[B])},enter(B){let M=c,ut=u,j=f;if(!e.isMounted)if(r)M=k||c,ut=g||u,j=m||f;else return;let tt=!1;const gt=B[Sr]=Ot=>{tt||(tt=!0,Ot?w(j,[B]):w(ut,[B]),Y.delayedLeave&&Y.delayedLeave(),B[Sr]=void 0)};M?$(M,[B,gt]):gt()},leave(B,M){const ut=String(o.key);if(B[Sr]&&B[Sr](!0),e.isUnmounting)return M();w(d,[B]);let j=!1;const tt=B[Ho]=gt=>{j||(j=!0,M(),gt?w(b,[B]):w(p,[B]),B[Ho]=void 0,_[ut]===o&&delete _[ut])};_[ut]=o,h?$(h,[B,tt]):tt()},clone(B){const M=Ri(B,t,e,n,s);return s&&s(M),M}};return Y}function Ii(o){if(_s(o))return o=lo(o),o.children=null,o}function zu(o){if(!_s(o))return Iu(o.type)&&o.children?Nu(o.children):o;if({}.NODE_ENV!=="production"&&o.component)return o.component.subTree;const{shapeFlag:t,children:e}=o;if(e){if(t&16)return e[0];if(t&32&&Ct(e.default))return e.default()}}function zn(o,t){o.shapeFlag&6&&o.component?(o.transition=t,zn(o.component.subTree,t)):o.shapeFlag&128?(o.ssContent.transition=t.clone(o.ssContent),o.ssFallback.transition=t.clone(o.ssFallback)):o.transition=t}function Du(o,t=!1,e){let n=[],s=0;for(let r=0;r<o.length;r++){let a=o[r];const i=e==null?a.key:String(e)+String(a.key!=null?a.key:r);a.type===Dt?(a.patchFlag&128&&s++,n=n.concat(Du(a.children,t,i))):(t||a.type!==fe)&&n.push(i!=null?lo(a,{key:i}):a)}if(s>1)for(let r=0;r<n.length;r++)n[r].patchFlag=-2;return n}/*! #__NO_SIDE_EFFECTS__ */function V(o,t){return Ct(o)?(()=>oe({name:o.name},t,{setup:o}))():o}function Mu(o){o.ids=[o.ids[0]+o.ids[2]+++"-",0,0]}const hg=new WeakSet;function Or(o,t,e,n,s=!1){if(bt(o)){o.forEach((p,b)=>Or(p,t&&(bt(t)?t[b]:t),e,n,s));return}if(_n(n)&&!s){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Or(o,t,e,n.component.subTree);return}const r=n.shapeFlag&4?Yr(n.component):n.el,a=s?null:r,{i,r:l}=o;if({}.NODE_ENV!=="production"&&!i){J("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");return}const c=t&&t.r,u=i.refs===qt?i.refs={}:i.refs,f=i.setupState,d=It(f),h=f===qt?()=>!1:p=>({}).NODE_ENV!=="production"&&(Lt(d,p)&&!ge(d[p])&&J(`Template ref "${p}" used on a non-ref value. It will not work in the production build.`),hg.has(d[p]))?!1:Lt(d,p);if(c!=null&&c!==l&&(re(c)?(u[c]=null,h(c)&&(f[c]=null)):ge(c)&&(c.value=null)),Ct(l))$n(l,i,12,[a,u]);else{const p=re(l),b=ge(l);if(p||b){const x=()=>{if(o.f){const k=p?h(l)?f[l]:u[l]:l.value;s?bt(k)&&ri(k,r):bt(k)?k.includes(r)||k.push(r):p?(u[l]=[r],h(l)&&(f[l]=u[l])):(l.value=[r],o.k&&(u[o.k]=l.value))}else p?(u[l]=a,h(l)&&(f[l]=a)):b?(l.value=a,o.k&&(u[o.k]=a)):{}.NODE_ENV!=="production"&&J("Invalid template ref type:",l,`(${typeof l})`)};a?(x.id=-1,Se(x,e)):x()}else({}).NODE_ENV!=="production"&&J("Invalid template ref type:",l,`(${typeof l})`)}}us().requestIdleCallback,us().cancelIdleCallback;const _n=o=>!!o.type.__asyncLoader,_s=o=>o.type.__isKeepAlive,Lu={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(o,{slots:t}){const e=Ko(),n=e.ctx;if(!n.renderer)return()=>{const g=t.default&&t.default();return g&&g.length===1?g[0]:g};const s=new Map,r=new Set;let a=null;({}).NODE_ENV!=="production"&&(e.__v_cache=s);const i=e.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:f}}}=n,d=f("div");n.activate=(g,m,y,_,w)=>{const $=g.component;c(g,m,y,0,i),l($.vnode,g,m,y,$,i,_,g.slotScopeIds,w),Se(()=>{$.isDeactivated=!1,$.a&&hn($.a);const Y=g.props&&g.props.onVnodeMounted;Y&&je(Y,$.parent,g)},i),{}.NODE_ENV!=="production"&&Oi($)},n.deactivate=g=>{const m=g.component;Fr(m.m),Fr(m.a),c(g,d,null,1,i),Se(()=>{m.da&&hn(m.da);const y=g.props&&g.props.onVnodeUnmounted;y&&je(y,m.parent,g),m.isDeactivated=!0},i),{}.NODE_ENV!=="production"&&Oi(m)};function h(g){Ai(g),u(g,e,i,!0)}function p(g){s.forEach((m,y)=>{const _=Rs(m.type);_&&!g(_)&&b(y)})}function b(g){const m=s.get(g);m&&(!a||!Wo(m,a))?h(m):a&&Ai(a),s.delete(g),r.delete(g)}Rt(()=>[o.include,o.exclude],([g,m])=>{g&&p(y=>xs(g,y)),m&&p(y=>!xs(m,y))},{flush:"post",deep:!0});let x=null;const k=()=>{x!=null&&(Mr(e.subTree.type)?Se(()=>{s.set(x,Pr(e.subTree))},e.subTree.suspense):s.set(x,Pr(e.subTree)))};return pe(k),Yu(k),$i(()=>{s.forEach(g=>{const{subTree:m,suspense:y}=e,_=Pr(m);if(g.type===_.type&&g.key===_.key){Ai(_);const w=_.component.da;w&&Se(w,y);return}h(g)})}),()=>{if(x=null,!t.default)return a=null;const g=t.default(),m=g[0];if(g.length>1)return{}.NODE_ENV!=="production"&&J("KeepAlive should contain exactly one component child."),a=null,g;if(!jo(m)||!(m.shapeFlag&4)&&!(m.shapeFlag&128))return a=null,m;let y=Pr(m);if(y.type===fe)return a=null,y;const _=y.type,w=Rs(_n(y)?y.type.__asyncResolved||{}:_),{include:$,exclude:Y,max:B}=o;if($&&(!w||!xs($,w))||Y&&w&&xs(Y,w))return y.shapeFlag&=-257,a=y,m;const M=y.key==null?_:y.key,ut=s.get(M);return y.el&&(y=lo(y),m.shapeFlag&128&&(m.ssContent=y)),x=M,ut?(y.el=ut.el,y.component=ut.component,y.transition&&zn(y,y.transition),y.shapeFlag|=512,r.delete(M),r.add(M)):(r.add(M),B&&r.size>parseInt(B,10)&&b(r.values().next().value)),y.shapeFlag|=256,a=y,Mr(m.type)?m:y}}};function xs(o,t){return bt(o)?o.some(e=>xs(e,t)):re(o)?o.split(",").includes(t):Jm(o)?(o.lastIndex=0,o.test(t)):!1}function pg(o,t){Bu(o,"a",t)}function mg(o,t){Bu(o,"da",t)}function Bu(o,t,e=xe){const n=o.__wdc||(o.__wdc=()=>{let s=e;for(;s;){if(s.isDeactivated)return;s=s.parent}return o()});if(Rr(t,n,e),e){let s=e.parent;for(;s&&s.parent;)_s(s.parent.vnode)&&gg(n,t,e,s),s=s.parent}}function gg(o,t,e,n){const s=Rr(t,o,n,!0);ue(()=>{ri(n[t],s)},e)}function Ai(o){o.shapeFlag&=-257,o.shapeFlag&=-513}function Pr(o){return o.shapeFlag&128?o.ssContent:o}function Rr(o,t,e=xe,n=!1){if(e){const s=e[o]||(e[o]=[]),r=t.__weh||(t.__weh=(...a)=>{Po();const i=Os(e),l=ao(t,e,o,a);return i(),Ro(),l});return n?s.unshift(r):s.push(r),r}else if({}.NODE_ENV!=="production"){const s=dn(Ci[o].replace(/ hook$/,""));J(`${s} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const No=o=>(t,e=xe)=>{(!Ps||o==="sp")&&Rr(o,(...n)=>t(...n),e)},yg=No("bm"),pe=No("m"),vg=No("bu"),Yu=No("u"),$i=No("bum"),ue=No("um"),bg=No("sp"),_g=No("rtg"),xg=No("rtc");function kg(o,t=xe){Rr("ec",o,t)}const Ni="components",Vu=Symbol.for("v-ndc");function Xu(o){return re(o)?wg(Ni,o,!1)||o:o||Vu}function wg(o,t,e=!0,n=!1){const s=ye||xe;if(s){const r=s.type;if(o===Ni){const i=Rs(r,!1);if(i&&(i===t||i===we(t)||i===fn(we(t))))return r}const a=Zu(s[o]||r[o],t)||Zu(s.appContext[o],t);if(!a&&n)return r;if({}.NODE_ENV!=="production"&&e&&!a){const i=o===Ni?`
|
|
17
|
-
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`:"";J(`Failed to resolve ${o.slice(0,-1)}: ${t}${i}`)}return a}else({}).NODE_ENV!=="production"&&J(`resolve${fn(o.slice(0,-1))} can only be used in render() or setup().`)}function Zu(o,t){return o&&(o[t]||o[we(t)]||o[fn(we(t))])}function Ee(o,t,e,n){let s;const r=e&&e[n],a=bt(o);if(a||re(o)){const i=a&&mn(o);let l=!1;i&&(l=!Ae(o),o=fr(o)),s=new Array(o.length);for(let c=0,u=o.length;c<u;c++)s[c]=t(l?Re(o[c]):o[c],c,void 0,r&&r[c])}else if(typeof o=="number"){({}).NODE_ENV!=="production"&&!Number.isInteger(o)&&J(`The v-for range expect an integer value but got ${o}.`),s=new Array(o);for(let i=0;i<o;i++)s[i]=t(i+1,i,void 0,r&&r[i])}else if(Kt(o))if(o[Symbol.iterator])s=Array.from(o,(i,l)=>t(i,l,void 0,r&&r[l]));else{const i=Object.keys(o);s=new Array(i.length);for(let l=0,c=i.length;l<c;l++){const u=i[l];s[l]=t(o[u],u,l,r&&r[l])}}else s=[];return e&&(e[n]=s),s}function mt(o,t,e={},n,s){if(ye.ce||ye.parent&&_n(ye.parent)&&ye.parent.ce)return t!=="default"&&(e.name=t),I(),dt(Dt,null,[Z("slot",e,n&&n())],64);let r=o[t];({}).NODE_ENV!=="production"&&r&&r.length>1&&(J("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),r=()=>[]),r&&r._c&&(r._d=!1),I();const a=r&&Uu(r(e)),i=e.key||a&&a.key,l=dt(Dt,{key:(i&&!Oo(i)?i:`_${t}`)+(!a&&n?"_fb":"")},a||(n?n():[]),a&&o._===1?64:-2);return!s&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),r&&r._c&&(r._d=!0),l}function Uu(o){return o.some(t=>jo(t)?!(t.type===fe||t.type===Dt&&!Uu(t.children)):!0)?o:null}const Fi=o=>o?Cf(o)?Yr(o):Fi(o.parent):null,xn=oe(Object.create(null),{$:o=>o,$el:o=>o.vnode.el,$data:o=>o.data,$props:o=>({}).NODE_ENV!=="production"?vo(o.props):o.props,$attrs:o=>({}).NODE_ENV!=="production"?vo(o.attrs):o.attrs,$slots:o=>({}).NODE_ENV!=="production"?vo(o.slots):o.slots,$refs:o=>({}).NODE_ENV!=="production"?vo(o.refs):o.refs,$parent:o=>Fi(o.parent),$root:o=>Fi(o.root),$host:o=>o.ce,$emit:o=>o.emit,$options:o=>Li(o),$forceUpdate:o=>o.f||(o.f=()=>{wr(o.update)}),$nextTick:o=>o.n||(o.n=kr.bind(o.proxy)),$watch:o=>ny.bind(o)}),zi=o=>o==="_"||o==="$",Di=(o,t)=>o!==qt&&!o.__isScriptSetup&&Lt(o,t),Hu={get({_:o},t){if(t==="__v_skip")return!0;const{ctx:e,setupState:n,data:s,props:r,accessCache:a,type:i,appContext:l}=o;if({}.NODE_ENV!=="production"&&t==="__isVue")return!0;let c;if(t[0]!=="$"){const h=a[t];if(h!==void 0)switch(h){case 1:return n[t];case 2:return s[t];case 4:return e[t];case 3:return r[t]}else{if(Di(n,t))return a[t]=1,n[t];if(s!==qt&&Lt(s,t))return a[t]=2,s[t];if((c=o.propsOptions[0])&&Lt(c,t))return a[t]=3,r[t];if(e!==qt&&Lt(e,t))return a[t]=4,e[t];Mi&&(a[t]=0)}}const u=xn[t];let f,d;if(u)return t==="$attrs"?(_e(o.attrs,"get",""),{}.NODE_ENV!=="production"&&Dr()):{}.NODE_ENV!=="production"&&t==="$slots"&&_e(o,"get",t),u(o);if((f=i.__cssModules)&&(f=f[t]))return f;if(e!==qt&&Lt(e,t))return a[t]=4,e[t];if(d=l.config.globalProperties,Lt(d,t))return d[t];({}).NODE_ENV!=="production"&&ye&&(!re(t)||t.indexOf("__v")!==0)&&(s!==qt&&zi(t[0])&&Lt(s,t)?J(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):o===ye&&J(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:o},t,e){const{data:n,setupState:s,ctx:r}=o;return Di(s,t)?(s[t]=e,!0):{}.NODE_ENV!=="production"&&s.__isScriptSetup&&Lt(s,t)?(J(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):n!==qt&&Lt(n,t)?(n[t]=e,!0):Lt(o.props,t)?({}.NODE_ENV!=="production"&&J(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in o?({}.NODE_ENV!=="production"&&J(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):({}.NODE_ENV!=="production"&&t in o.appContext.config.globalProperties?Object.defineProperty(r,t,{enumerable:!0,configurable:!0,value:e}):r[t]=e,!0)},has({_:{data:o,setupState:t,accessCache:e,ctx:n,appContext:s,propsOptions:r}},a){let i;return!!e[a]||o!==qt&&Lt(o,a)||Di(t,a)||(i=r[0])&&Lt(i,a)||Lt(n,a)||Lt(xn,a)||Lt(s.config.globalProperties,a)},defineProperty(o,t,e){return e.get!=null?o._.accessCache[t]=0:Lt(e,"value")&&this.set(o,t,e.value,null),Reflect.defineProperty(o,t,e)}};({}).NODE_ENV!=="production"&&(Hu.ownKeys=o=>(J("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(o)));function Cg(o){const t={};return Object.defineProperty(t,"_",{configurable:!0,enumerable:!1,get:()=>o}),Object.keys(xn).forEach(e=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,get:()=>xn[e](o),set:be})}),t}function Tg(o){const{ctx:t,propsOptions:[e]}=o;e&&Object.keys(e).forEach(n=>{Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>o.props[n],set:be})})}function Eg(o){const{ctx:t,setupState:e}=o;Object.keys(It(e)).forEach(n=>{if(!e.__isScriptSetup){if(zi(n[0])){J(`setup() return property ${JSON.stringify(n)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>e[n],set:be})}})}function Sg(){return Og().slots}function Og(){const o=Ko();return{}.NODE_ENV!=="production"&&!o&&J("useContext() called without active instance."),o.setupContext||(o.setupContext=Of(o))}function Gu(o){return bt(o)?o.reduce((t,e)=>(t[e]=null,t),{}):o}function Pg(){const o=Object.create(null);return(t,e)=>{o[e]?J(`${t} property "${e}" is already defined in ${o[e]}.`):o[e]=t}}let Mi=!0;function Rg(o){const t=Li(o),e=o.proxy,n=o.ctx;Mi=!1,t.beforeCreate&&ju(t.beforeCreate,o,"bc");const{data:s,computed:r,methods:a,watch:i,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:p,activated:b,deactivated:x,beforeDestroy:k,beforeUnmount:g,destroyed:m,unmounted:y,render:_,renderTracked:w,renderTriggered:$,errorCaptured:Y,serverPrefetch:B,expose:M,inheritAttrs:ut,components:j,directives:tt,filters:gt}=t,Ot={}.NODE_ENV!=="production"?Pg():null;if({}.NODE_ENV!=="production"){const[xt]=o.propsOptions;if(xt)for(const kt in xt)Ot("Props",kt)}if(c&&Ig(c,n,Ot),a)for(const xt in a){const kt=a[xt];Ct(kt)?({}.NODE_ENV!=="production"?Object.defineProperty(n,xt,{value:kt.bind(e),configurable:!0,enumerable:!0,writable:!0}):n[xt]=kt.bind(e),{}.NODE_ENV!=="production"&&Ot("Methods",xt)):{}.NODE_ENV!=="production"&&J(`Method "${xt}" has type "${typeof kt}" in the component definition. Did you reference the function correctly?`)}if(s){({}).NODE_ENV!=="production"&&!Ct(s)&&J("The data option must be a function. Plain object usage is no longer supported.");const xt=s.call(e,e);if({}.NODE_ENV!=="production"&&ai(xt)&&J("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!Kt(xt))({}).NODE_ENV!=="production"&&J("data() should return an object.");else if(o.data=Wt(xt),{}.NODE_ENV!=="production")for(const kt in xt)Ot("Data",kt),zi(kt[0])||Object.defineProperty(n,kt,{configurable:!0,enumerable:!0,get:()=>xt[kt],set:be})}if(Mi=!0,r)for(const xt in r){const kt=r[xt],ne=Ct(kt)?kt.bind(e,e):Ct(kt.get)?kt.get.bind(e,e):be;({}).NODE_ENV!=="production"&&ne===be&&J(`Computed property "${xt}" has no getter.`);const me=!Ct(kt)&&Ct(kt.set)?kt.set.bind(e):{}.NODE_ENV!=="production"?()=>{J(`Write operation failed: computed property "${xt}" is readonly.`)}:be,he=de({get:ne,set:me});Object.defineProperty(n,xt,{enumerable:!0,configurable:!0,get:()=>he.value,set:Vt=>he.value=Vt}),{}.NODE_ENV!=="production"&&Ot("Computed",xt)}if(i)for(const xt in i)Wu(i[xt],n,e,xt);if(l){const xt=Ct(l)?l.call(e):l;Reflect.ownKeys(xt).forEach(kt=>{Ar(kt,xt[kt])})}u&&ju(u,o,"c");function $t(xt,kt){bt(kt)?kt.forEach(ne=>xt(ne.bind(e))):kt&&xt(kt.bind(e))}if($t(yg,f),$t(pe,d),$t(vg,h),$t(Yu,p),$t(pg,b),$t(mg,x),$t(kg,Y),$t(xg,w),$t(_g,$),$t($i,g),$t(ue,y),$t(bg,B),bt(M))if(M.length){const xt=o.exposed||(o.exposed={});M.forEach(kt=>{Object.defineProperty(xt,kt,{get:()=>e[kt],set:ne=>e[kt]=ne})})}else o.exposed||(o.exposed={});_&&o.render===be&&(o.render=_),ut!=null&&(o.inheritAttrs=ut),j&&(o.components=j),tt&&(o.directives=tt),B&&Mu(o)}function Ig(o,t,e=be){bt(o)&&(o=Bi(o));for(const n in o){const s=o[n];let r;Kt(s)?"default"in s?r=io(s.from||n,s.default,!0):r=io(s.from||n):r=io(s),ge(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:a=>r.value=a}):t[n]=r,{}.NODE_ENV!=="production"&&e("Inject",n)}}function ju(o,t,e){ao(bt(o)?o.map(n=>n.bind(t.proxy)):o.bind(t.proxy),t,e)}function Wu(o,t,e,n){let s=n.includes(".")?hf(e,n):()=>e[n];if(re(o)){const r=t[o];Ct(r)?Rt(s,r):{}.NODE_ENV!=="production"&&J(`Invalid watch handler specified by key "${o}"`,r)}else if(Ct(o))Rt(s,o.bind(e));else if(Kt(o))if(bt(o))o.forEach(r=>Wu(r,t,e,n));else{const r=Ct(o.handler)?o.handler.bind(e):t[o.handler];Ct(r)?Rt(s,r,o):{}.NODE_ENV!=="production"&&J(`Invalid watch handler specified by key "${o.handler}"`,r)}else({}).NODE_ENV!=="production"&&J(`Invalid watch option: "${n}"`,o)}function Li(o){const t=o.type,{mixins:e,extends:n}=t,{mixins:s,optionsCache:r,config:{optionMergeStrategies:a}}=o.appContext,i=r.get(t);let l;return i?l=i:!s.length&&!e&&!n?l=t:(l={},s.length&&s.forEach(c=>Ir(l,c,a,!0)),Ir(l,t,a)),Kt(t)&&r.set(t,l),l}function Ir(o,t,e,n=!1){const{mixins:s,extends:r}=t;r&&Ir(o,r,e,!0),s&&s.forEach(a=>Ir(o,a,e,!0));for(const a in t)if(n&&a==="expose")({}).NODE_ENV!=="production"&&J('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const i=Ag[a]||e&&e[a];o[a]=i?i(o[a],t[a]):t[a]}return o}const Ag={data:qu,props:Ku,emits:Ku,methods:ks,computed:ks,beforeCreate:Ne,created:Ne,beforeMount:Ne,mounted:Ne,beforeUpdate:Ne,updated:Ne,beforeDestroy:Ne,beforeUnmount:Ne,destroyed:Ne,unmounted:Ne,activated:Ne,deactivated:Ne,errorCaptured:Ne,serverPrefetch:Ne,components:ks,directives:ks,watch:Ng,provide:qu,inject:$g};function qu(o,t){return t?o?function(){return oe(Ct(o)?o.call(this,this):o,Ct(t)?t.call(this,this):t)}:t:o}function $g(o,t){return ks(Bi(o),Bi(t))}function Bi(o){if(bt(o)){const t={};for(let e=0;e<o.length;e++)t[o[e]]=o[e];return t}return o}function Ne(o,t){return o?[...new Set([].concat(o,t))]:t}function ks(o,t){return o?oe(Object.create(null),o,t):t}function Ku(o,t){return o?bt(o)&&bt(t)?[...new Set([...o,...t])]:oe(Object.create(null),Gu(o),Gu(t??{})):t}function Ng(o,t){if(!o)return t;if(!t)return o;const e=oe(Object.create(null),o);for(const n in t)e[n]=Ne(o[n],t[n]);return e}function Qu(){return{app:null,config:{isNativeTag:Km,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 Fg=0;function zg(o,t){return function(n,s=null){Ct(n)||(n=oe({},n)),s!=null&&!Kt(s)&&({}.NODE_ENV!=="production"&&J("root props passed to app.mount() must be an object."),s=null);const r=Qu(),a=new WeakSet,i=[];let l=!1;const c=r.app={_uid:Fg++,_component:n,_props:s,_container:null,_context:r,_instance:null,version:Rf,get config(){return r.config},set config(u){({}).NODE_ENV!=="production"&&J("app.config cannot be replaced. Modify individual options instead.")},use(u,...f){return a.has(u)?{}.NODE_ENV!=="production"&&J("Plugin has already been applied to target app."):u&&Ct(u.install)?(a.add(u),u.install(c,...f)):Ct(u)?(a.add(u),u(c,...f)):{}.NODE_ENV!=="production"&&J('A plugin must either be a function or an object with an "install" function.'),c},mixin(u){return r.mixins.includes(u)?{}.NODE_ENV!=="production"&&J("Mixin has already been applied to target app"+(u.name?`: ${u.name}`:"")):r.mixins.push(u),c},component(u,f){return{}.NODE_ENV!=="production"&&Qi(u,r.config),f?({}.NODE_ENV!=="production"&&r.components[u]&&J(`Component "${u}" has already been registered in target app.`),r.components[u]=f,c):r.components[u]},directive(u,f){return{}.NODE_ENV!=="production"&&Ru(u),f?({}.NODE_ENV!=="production"&&r.directives[u]&&J(`Directive "${u}" has already been registered in target app.`),r.directives[u]=f,c):r.directives[u]},mount(u,f,d){if(l)({}).NODE_ENV!=="production"&&J("App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`");else{({}).NODE_ENV!=="production"&&u.__vue_app__&&J("There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first.");const h=c._ceVNode||Z(n,s);return h.appContext=r,d===!0?d="svg":d===!1&&(d=void 0),{}.NODE_ENV!=="production"&&(r.reload=()=>{o(lo(h),u,d)}),f&&t?t(h,u):o(h,u,d),l=!0,c._container=u,u.__vue_app__=c,{}.NODE_ENV!=="production"&&(c._instance=h.component,eg(c,Rf)),Yr(h.component)}},onUnmount(u){({}).NODE_ENV!=="production"&&typeof u!="function"&&J(`Expected function as first argument to app.onUnmount(), but got ${typeof u}`),i.push(u)},unmount(){l?(ao(i,c._instance,16),o(null,c._container),{}.NODE_ENV!=="production"&&(c._instance=null,og(c)),delete c._container.__vue_app__):{}.NODE_ENV!=="production"&&J("Cannot unmount an app that is not mounted.")},provide(u,f){return{}.NODE_ENV!=="production"&&u in r.provides&&J(`App already provides property with key "${String(u)}". It will be overwritten with the new value.`),r.provides[u]=f,c},runWithContext(u){const f=Dn;Dn=c;try{return u()}finally{Dn=f}}};return c}}let Dn=null;function Ar(o,t){if(!xe)({}).NODE_ENV!=="production"&&J("provide() can only be used inside setup().");else{let e=xe.provides;const n=xe.parent&&xe.parent.provides;n===e&&(e=xe.provides=Object.create(n)),e[o]=t}}function io(o,t,e=!1){const n=xe||ye;if(n||Dn){const s=Dn?Dn._context.provides:n?n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(s&&o in s)return s[o];if(arguments.length>1)return e&&Ct(t)?t.call(n&&n.proxy):t;({}).NODE_ENV!=="production"&&J(`injection "${String(o)}" not found.`)}else({}).NODE_ENV!=="production"&&J("inject() can only be used inside setup() or functional components.")}const Ju={},tf=()=>Object.create(Ju),ef=o=>Object.getPrototypeOf(o)===Ju;function Dg(o,t,e,n=!1){const s={},r=tf();o.propsDefaults=Object.create(null),of(o,t,s,r);for(const a in o.propsOptions[0])a in s||(s[a]=void 0);({}).NODE_ENV!=="production"&&rf(t||{},s,o),e?o.props=n?s:hu(s):o.type.props?o.props=s:o.props=r,o.attrs=r}function Mg(o){for(;o;){if(o.type.__hmrId)return!0;o=o.parent}}function Lg(o,t,e,n){const{props:s,attrs:r,vnode:{patchFlag:a}}=o,i=It(s),[l]=o.propsOptions;let c=!1;if(!({}.NODE_ENV!=="production"&&Mg(o))&&(n||a>0)&&!(a&16)){if(a&8){const u=o.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(zr(o.emitsOptions,d))continue;const h=t[d];if(l)if(Lt(r,d))h!==r[d]&&(r[d]=h,c=!0);else{const p=we(d);s[p]=Yi(l,i,p,h,o,!1)}else h!==r[d]&&(r[d]=h,c=!0)}}}else{of(o,t,s,r)&&(c=!0);let u;for(const f in i)(!t||!Lt(t,f)&&((u=Be(f))===f||!Lt(t,u)))&&(l?e&&(e[f]!==void 0||e[u]!==void 0)&&(s[f]=Yi(l,i,f,void 0,o,!0)):delete s[f]);if(r!==i)for(const f in r)(!t||!Lt(t,f))&&(delete r[f],c=!0)}c&&yo(o.attrs,"set",""),{}.NODE_ENV!=="production"&&rf(t||{},s,o)}function of(o,t,e,n){const[s,r]=o.propsOptions;let a=!1,i;if(t)for(let l in t){if(cs(l))continue;const c=t[l];let u;s&&Lt(s,u=we(l))?!r||!r.includes(u)?e[u]=c:(i||(i={}))[u]=c:zr(o.emitsOptions,l)||(!(l in n)||c!==n[l])&&(n[l]=c,a=!0)}if(r){const l=It(e),c=i||qt;for(let u=0;u<r.length;u++){const f=r[u];e[f]=Yi(s,l,f,c[f],o,!Lt(c,f))}}return a}function Yi(o,t,e,n,s,r){const a=o[e];if(a!=null){const i=Lt(a,"default");if(i&&n===void 0){const l=a.default;if(a.type!==Function&&!a.skipFactory&&Ct(l)){const{propsDefaults:c}=s;if(e in c)n=c[e];else{const u=Os(s);n=c[e]=l.call(null,t),u()}}else n=l;s.ce&&s.ce._setProp(e,n)}a[0]&&(r&&!i?n=!1:a[1]&&(n===""||n===Be(e))&&(n=!0))}return n}const Bg=new WeakMap;function nf(o,t,e=!1){const n=e?Bg:t.propsCache,s=n.get(o);if(s)return s;const r=o.props,a={},i=[];let l=!1;if(!Ct(o)){const u=f=>{l=!0;const[d,h]=nf(f,t,!0);oe(a,d),h&&i.push(...h)};!e&&t.mixins.length&&t.mixins.forEach(u),o.extends&&u(o.extends),o.mixins&&o.mixins.forEach(u)}if(!r&&!l)return Kt(o)&&n.set(o,In),In;if(bt(r))for(let u=0;u<r.length;u++){({}).NODE_ENV!=="production"&&!re(r[u])&&J("props must be strings when using array syntax.",r[u]);const f=we(r[u]);sf(f)&&(a[f]=qt)}else if(r){({}).NODE_ENV!=="production"&&!Kt(r)&&J("invalid props options",r);for(const u in r){const f=we(u);if(sf(f)){const d=r[u],h=a[f]=bt(d)||Ct(d)?{type:d}:oe({},d),p=h.type;let b=!1,x=!0;if(bt(p))for(let k=0;k<p.length;++k){const g=p[k],m=Ct(g)&&g.name;if(m==="Boolean"){b=!0;break}else m==="String"&&(x=!1)}else b=Ct(p)&&p.name==="Boolean";h[0]=b,h[1]=x,(b||Lt(h,"default"))&&i.push(f)}}}const c=[a,i];return Kt(o)&&n.set(o,c),c}function sf(o){return o[0]!=="$"&&!cs(o)?!0:({}.NODE_ENV!=="production"&&J(`Invalid prop name: "${o}" is a reserved property.`),!1)}function Yg(o){return o===null?"null":typeof o=="function"?o.name||"":typeof o=="object"&&o.constructor&&o.constructor.name||""}function rf(o,t,e){const n=It(t),s=e.propsOptions[0],r=Object.keys(o).map(a=>we(a));for(const a in s){let i=s[a];i!=null&&Vg(a,n[a],i,{}.NODE_ENV!=="production"?vo(n):n,!r.includes(a))}}function Vg(o,t,e,n,s){const{type:r,required:a,validator:i,skipCheck:l}=e;if(a&&s){J('Missing required prop: "'+o+'"');return}if(!(t==null&&!a)){if(r!=null&&r!==!0&&!l){let c=!1;const u=bt(r)?r:[r],f=[];for(let d=0;d<u.length&&!c;d++){const{valid:h,expectedType:p}=Zg(t,u[d]);f.push(p||""),c=h}if(!c){J(Ug(o,t,f));return}}i&&!i(t,n)&&J('Invalid prop: custom validator check failed for prop "'+o+'".')}}const Xg=So("String,Number,Boolean,Function,Symbol,BigInt");function Zg(o,t){let e;const n=Yg(t);if(n==="null")e=o===null;else if(Xg(n)){const s=typeof o;e=s===n.toLowerCase(),!e&&s==="object"&&(e=o instanceof t)}else n==="Object"?e=Kt(o):n==="Array"?e=bt(o):e=o instanceof t;return{valid:e,expectedType:n}}function Ug(o,t,e){if(e.length===0)return`Prop type [] for prop "${o}" won't match anything. Did you mean to use type Array instead?`;let n=`Invalid prop: type check failed for prop "${o}". Expected ${e.map(fn).join(" | ")}`;const s=e[0],r=ii(t),a=af(t,s),i=af(t,r);return e.length===1&&lf(s)&&!Hg(s,r)&&(n+=` with value ${a}`),n+=`, got ${r} `,lf(r)&&(n+=`with value ${i}.`),n}function af(o,t){return t==="String"?`"${o}"`:t==="Number"?`${Number(o)}`:`${o}`}function lf(o){return["string","number","boolean"].some(e=>o.toLowerCase()===e)}function Hg(...o){return o.some(t=>t.toLowerCase()==="boolean")}const cf=o=>o[0]==="_"||o==="$stable",Vi=o=>bt(o)?o.map(co):[co(o)],Gg=(o,t,e)=>{if(t._n)return t;const n=W((...s)=>({}.NODE_ENV!=="production"&&xe&&(!e||e.root===xe.root)&&J(`Slot "${o}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`),Vi(t(...s))),e);return n._c=!1,n},uf=(o,t,e)=>{const n=o._ctx;for(const s in o){if(cf(s))continue;const r=o[s];if(Ct(r))t[s]=Gg(s,r,n);else if(r!=null){({}).NODE_ENV!=="production"&&J(`Non-function value encountered for slot "${s}". Prefer function slots for better performance.`);const a=Vi(r);t[s]=()=>a}}},ff=(o,t)=>{({}).NODE_ENV!=="production"&&!_s(o.vnode)&&J("Non-function value encountered for default slot. Prefer function slots for better performance.");const e=Vi(t);o.slots.default=()=>e},Xi=(o,t,e)=>{for(const n in t)(e||n!=="_")&&(o[n]=t[n])},jg=(o,t,e)=>{const n=o.slots=tf();if(o.vnode.shapeFlag&32){const s=t._;s?(Xi(n,t,e),e&&ur(n,"_",s,!0)):uf(t,n)}else t&&ff(o,t)},Wg=(o,t,e)=>{const{vnode:n,slots:s}=o;let r=!0,a=qt;if(n.shapeFlag&32){const i=t._;i?{}.NODE_ENV!=="production"&&_o?(Xi(s,t,e),yo(o,"set","$slots")):e&&i===1?r=!1:Xi(s,t,e):(r=!t.$stable,uf(t,s)),a=t}else t&&(ff(o,t),a={default:1});if(r)for(const i in s)!cf(i)&&a[i]==null&&delete s[i]};let ws,Go;function Fo(o,t){o.appContext.config.performance&&$r()&&Go.mark(`vue-${t}-${o.uid}`),{}.NODE_ENV!=="production"&&rg(o,t,$r()?Go.now():Date.now())}function zo(o,t){if(o.appContext.config.performance&&$r()){const e=`vue-${t}-${o.uid}`,n=e+":end";Go.mark(n),Go.measure(`<${Vr(o,o.type)}> ${t}`,e,n),Go.clearMarks(e),Go.clearMarks(n)}({}).NODE_ENV!=="production"&&ag(o,t,$r()?Go.now():Date.now())}function $r(){return ws!==void 0||(typeof window<"u"&&window.performance?(ws=!0,Go=window.performance):ws=!1),ws}function qg(){const o=[];if({}.NODE_ENV!=="production"&&o.length){const t=o.length>1;console.warn(`Feature flag${t?"s":""} ${o.join(", ")} ${t?"are":"is"} not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle.
|
|
15
|
+
`,...Z0(s)),console.warn(...r)}Ro(),ki=!1}function X0(){let o=yn[yn.length-1];if(!o)return[];const t=[];for(;o;){const e=t[0];e&&e.vnode===o?e.recurseCount++:t.push({vnode:o,recurseCount:0});const n=o.component&&o.component.parent;o=n&&n.vnode}return t}function Z0(o){const t=[];return o.forEach((e,n)=>{t.push(...n===0?[]:[`
|
|
16
|
+
`],...U0(e))}),t}function U0({vnode:o,recurseCount:t}){const e=t>0?`... (${t} recursive calls)`:"",n=o.component?o.component.parent==null:!1,s=` at <${Vr(o.component,o.type,n)}`,r=">"+e;return o.props?[s,...H0(o.props),r]:[s+r]}function H0(o){const t=[],e=Object.keys(o);return e.slice(0,3).forEach(n=>{t.push(...yu(n,o[n]))}),e.length>3&&t.push(" ..."),t}function yu(o,t,e){return re(t)?(t=JSON.stringify(t),e?t:[`${o}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?e?t:[`${o}=${t}`]:ge(t)?(t=yu(o,It(t.value),!0),e?t:[`${o}=Ref<`,t,">"]):Ct(t)?[`${o}=fn${t.name?`<${t.name}>`:""}`]:(t=It(t),e?t:[`${o}=`,t])}function G0(o,t){({}).NODE_ENV!=="production"&&o!==void 0&&(typeof o!="number"?J(`${t} is not a valid number - got ${JSON.stringify(o)}.`):isNaN(o)&&J(`${t} is NaN - the duration expression might be incorrect.`))}const wi={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function $n(o,t,e,n){try{return n?o(...n):o()}catch(s){gs(s,t,e)}}function ao(o,t,e,n){if(Ct(o)){const s=$n(o,t,e,n);return s&&ri(s)&&s.catch(r=>{gs(r,t,e)}),s}if(bt(o)){const s=[];for(let r=0;r<o.length;r++)s.push(ao(o[r],t,e,n));return s}else({}).NODE_ENV!=="production"&&J(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof o}`)}function gs(o,t,e,n=!0){const s=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||qt;if(t){let i=t.parent;const l=t.proxy,c={}.NODE_ENV!=="production"?wi[e]:`https://vuejs.org/error-reference/#runtime-${e}`;for(;i;){const u=i.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](o,l,c)===!1)return}i=i.parent}if(r){Po(),$n(r,null,10,[o,l,c]),Ro();return}}j0(o,e,s,n,a)}function j0(o,t,e,n=!0,s=!1){if({}.NODE_ENV!=="production"){const r=wi[t];if(e&&br(e),J(`Unhandled error${r?` during execution of ${r}`:""}`),e&&_r(),n)throw o;console.error(o)}else{if(s)throw o;console.error(o)}}const $e=[];let bo=-1;const Nn=[];let Uo=null,Fn=0;const vu=Promise.resolve();let xr=null;const W0=100;function kr(o){const t=xr||vu;return o?t.then(this?o.bind(this):o):t}function q0(o){let t=bo+1,e=$e.length;for(;t<e;){const n=t+e>>>1,s=$e[n],r=ys(s);r<o||r===o&&s.flags&2?t=n+1:e=n}return t}function wr(o){if(!(o.flags&1)){const t=ys(o),e=$e[$e.length-1];!e||!(o.flags&2)&&t>=ys(e)?$e.push(o):$e.splice(q0(t),0,o),o.flags|=1,bu()}}function bu(){xr||(xr=vu.then(wu))}function _u(o){bt(o)?Nn.push(...o):Uo&&o.id===-1?Uo.splice(Fn+1,0,o):o.flags&1||(Nn.push(o),o.flags|=1),bu()}function xu(o,t,e=bo+1){for({}.NODE_ENV!=="production"&&(t=t||new Map);e<$e.length;e++){const n=$e[e];if(n&&n.flags&2){if(o&&n.id!==o.uid||{}.NODE_ENV!=="production"&&Ci(t,n))continue;$e.splice(e,1),e--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function ku(o){if(Nn.length){const t=[...new Set(Nn)].sort((e,n)=>ys(e)-ys(n));if(Nn.length=0,Uo){Uo.push(...t);return}for(Uo=t,{}.NODE_ENV!=="production"&&(o=o||new Map),Fn=0;Fn<Uo.length;Fn++){const e=Uo[Fn];({}).NODE_ENV!=="production"&&Ci(o,e)||(e.flags&4&&(e.flags&=-2),e.flags&8||e(),e.flags&=-2)}Uo=null,Fn=0}}const ys=o=>o.id==null?o.flags&2?-1:1/0:o.id;function wu(o){({}).NODE_ENV!=="production"&&(o=o||new Map);const t={}.NODE_ENV!=="production"?e=>Ci(o,e):be;try{for(bo=0;bo<$e.length;bo++){const e=$e[bo];if(e&&!(e.flags&8)){if({}.NODE_ENV!=="production"&&t(e))continue;e.flags&4&&(e.flags&=-2),$n(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2)}}}finally{for(;bo<$e.length;bo++){const e=$e[bo];e&&(e.flags&=-2)}bo=-1,$e.length=0,ku(o),xr=null,($e.length||Nn.length)&&wu(o)}}function Ci(o,t){const e=o.get(t)||0;if(e>W0){const n=t.i,s=n&&Rs(n.type);return gs(`Maximum recursive updates exceeded${s?` in component <${s}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}return o.set(t,e+1),!1}let _o=!1;const Cr=new Map;({}).NODE_ENV!=="production"&&(us().__VUE_HMR_RUNTIME__={createRecord:Ti(Cu),rerender:Ti(J0),reload:Ti(tg)});const vn=new Map;function K0(o){const t=o.type.__hmrId;let e=vn.get(t);e||(Cu(t,o.type),e=vn.get(t)),e.instances.add(o)}function Q0(o){vn.get(o.type.__hmrId).instances.delete(o)}function Cu(o,t){return vn.has(o)?!1:(vn.set(o,{initialDef:Tr(t),instances:new Set}),!0)}function Tr(o){return Pf(o)?o.__vccOpts:o}function J0(o,t){const e=vn.get(o);e&&(e.initialDef.render=t,[...e.instances].forEach(n=>{t&&(n.render=t,Tr(n.type).render=t),n.renderCache=[],_o=!0,n.update(),_o=!1}))}function tg(o,t){const e=vn.get(o);if(!e)return;t=Tr(t),Tu(e.initialDef,t);const n=[...e.instances];for(let s=0;s<n.length;s++){const r=n[s],a=Tr(r.type);let i=Cr.get(a);i||(a!==e.initialDef&&Tu(a,t),Cr.set(a,i=new Set)),i.add(r),r.appContext.propsCache.delete(r.type),r.appContext.emitsCache.delete(r.type),r.appContext.optionsCache.delete(r.type),r.ceReload?(i.add(r),r.ceReload(t.styles),i.delete(r)):r.parent?wr(()=>{_o=!0,r.parent.update(),_o=!1,i.delete(r)}):r.appContext.reload?r.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),r.root.ce&&r!==r.root&&r.root.ce._removeChildStyle(a)}_u(()=>{Cr.clear()})}function Tu(o,t){oe(o,t);for(const e in o)e!=="__file"&&!(e in t)&&delete o[e]}function Ti(o){return(t,e)=>{try{return o(t,e)}catch(n){console.error(n),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let xo,vs=[],Ei=!1;function bs(o,...t){xo?xo.emit(o,...t):Ei||vs.push({event:o,args:t})}function Eu(o,t){var e,n;xo=o,xo?(xo.enabled=!0,vs.forEach(({event:s,args:r})=>xo.emit(s,...r)),vs=[]):typeof window<"u"&&window.HTMLElement&&!((n=(e=window.navigator)==null?void 0:e.userAgent)!=null&&n.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(r=>{Eu(r,t)}),setTimeout(()=>{xo||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Ei=!0,vs=[])},3e3)):(Ei=!0,vs=[])}function eg(o,t){bs("app:init",o,t,{Fragment:Dt,Text:Cs,Comment:fe,Static:Ts})}function og(o){bs("app:unmount",o)}const Si=Oi("component:added"),Su=Oi("component:updated"),ng=Oi("component:removed"),sg=o=>{xo&&typeof xo.cleanupBuffer=="function"&&!xo.cleanupBuffer(o)&&ng(o)};/*! #__NO_SIDE_EFFECTS__ */function Oi(o){return t=>{bs(o,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const rg=Ou("perf:start"),ag=Ou("perf:end");function Ou(o){return(t,e,n)=>{bs(o,t.appContext.app,t.uid,t,e,n)}}function ig(o,t,e){bs("component:emit",o.appContext.app,o,t,e)}let ye=null,Pu=null;function Er(o){const t=ye;return ye=o,Pu=o&&o.type.__scopeId||null,t}function W(o,t=ye,e){if(!t||o._n)return o;const n=(...s)=>{n._d&&vf(-1);const r=Er(t);let a;try{a=o(...s)}finally{Er(r),n._d&&vf(1)}return{}.NODE_ENV!=="production"&&Su(t),a};return n._n=!0,n._c=!0,n._d=!0,n}function Ru(o){t0(o)&&J("Do not use built-in directive ids as custom directive id: "+o)}function lg(o,t){if(ye===null)return{}.NODE_ENV!=="production"&&J("withDirectives can only be used inside render functions."),o;const e=Yr(ye),n=o.dirs||(o.dirs=[]);for(let s=0;s<t.length;s++){let[r,a,i,l=qt]=t[s];r&&(Ct(r)&&(r={mounted:r,updated:r}),r.deep&&$o(a),n.push({dir:r,instance:e,value:a,oldValue:void 0,arg:i,modifiers:l}))}return o}function bn(o,t,e,n){const s=o.dirs,r=t&&t.dirs;for(let a=0;a<s.length;a++){const i=s[a];r&&(i.oldValue=r[a].value);let l=i.dir[n];l&&(Po(),ao(l,e,8,[o.el,i,o,t]),Ro())}}const cg=Symbol("_vte"),Iu=o=>o.__isTeleport,Ho=Symbol("_leaveCb"),Sr=Symbol("_enterCb");function ug(){const o={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return pe(()=>{o.isMounted=!0}),Ai(()=>{o.isUnmounting=!0}),o}const Ge=[Function,Array],Au={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ge,onEnter:Ge,onAfterEnter:Ge,onEnterCancelled:Ge,onBeforeLeave:Ge,onLeave:Ge,onAfterLeave:Ge,onLeaveCancelled:Ge,onBeforeAppear:Ge,onAppear:Ge,onAfterAppear:Ge,onAppearCancelled:Ge},$u=o=>{const t=o.subTree;return t.component?$u(t.component):t},fg={name:"BaseTransition",props:Au,setup(o,{slots:t}){const e=Ko(),n=ug();return()=>{const s=t.default&&Du(t.default(),!0);if(!s||!s.length)return;const r=Nu(s),a=It(o),{mode:i}=a;if({}.NODE_ENV!=="production"&&i&&i!=="in-out"&&i!=="out-in"&&i!=="default"&&J(`invalid <transition> mode: ${i}`),n.isLeaving)return Ri(r);const l=zu(r);if(!l)return Ri(r);let c=Pi(l,a,n,e,f=>c=f);l.type!==fe&&zn(l,c);let u=e.subTree&&zu(e.subTree);if(u&&u.type!==fe&&!Wo(l,u)&&$u(e).type!==fe){let f=Pi(u,a,n,e);if(zn(u,f),i==="out-in"&&l.type!==fe)return n.isLeaving=!0,f.afterLeave=()=>{n.isLeaving=!1,e.job.flags&8||e.update(),delete f.afterLeave,u=void 0},Ri(r);i==="in-out"&&l.type!==fe?f.delayLeave=(d,h,p)=>{const b=Fu(n,u);b[String(u.key)]=u,d[Ho]=()=>{h(),d[Ho]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{p(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return r}}};function Nu(o){let t=o[0];if(o.length>1){let e=!1;for(const n of o)if(n.type!==fe){if({}.NODE_ENV!=="production"&&e){J("<transition> can only be used on a single element or component. Use <transition-group> for lists.");break}if(t=n,e=!0,{}.NODE_ENV==="production")break}}return t}const dg=fg;function Fu(o,t){const{leavingVNodes:e}=o;let n=e.get(t.type);return n||(n=Object.create(null),e.set(t.type,n)),n}function Pi(o,t,e,n,s){const{appear:r,mode:a,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:d,onLeave:h,onAfterLeave:p,onLeaveCancelled:b,onBeforeAppear:x,onAppear:k,onAfterAppear:g,onAppearCancelled:m}=t,y=String(o.key),_=Fu(e,o),w=(B,M)=>{B&&ao(B,n,9,M)},$=(B,M)=>{const ut=M[1];w(B,M),bt(B)?B.every(j=>j.length<=1)&&ut():B.length<=1&&ut()},Y={mode:a,persisted:i,beforeEnter(B){let M=l;if(!e.isMounted)if(r)M=x||l;else return;B[Ho]&&B[Ho](!0);const ut=_[y];ut&&Wo(o,ut)&&ut.el[Ho]&&ut.el[Ho](),w(M,[B])},enter(B){let M=c,ut=u,j=f;if(!e.isMounted)if(r)M=k||c,ut=g||u,j=m||f;else return;let tt=!1;const gt=B[Sr]=Ot=>{tt||(tt=!0,Ot?w(j,[B]):w(ut,[B]),Y.delayedLeave&&Y.delayedLeave(),B[Sr]=void 0)};M?$(M,[B,gt]):gt()},leave(B,M){const ut=String(o.key);if(B[Sr]&&B[Sr](!0),e.isUnmounting)return M();w(d,[B]);let j=!1;const tt=B[Ho]=gt=>{j||(j=!0,M(),gt?w(b,[B]):w(p,[B]),B[Ho]=void 0,_[ut]===o&&delete _[ut])};_[ut]=o,h?$(h,[B,tt]):tt()},clone(B){const M=Pi(B,t,e,n,s);return s&&s(M),M}};return Y}function Ri(o){if(_s(o))return o=lo(o),o.children=null,o}function zu(o){if(!_s(o))return Iu(o.type)&&o.children?Nu(o.children):o;if({}.NODE_ENV!=="production"&&o.component)return o.component.subTree;const{shapeFlag:t,children:e}=o;if(e){if(t&16)return e[0];if(t&32&&Ct(e.default))return e.default()}}function zn(o,t){o.shapeFlag&6&&o.component?(o.transition=t,zn(o.component.subTree,t)):o.shapeFlag&128?(o.ssContent.transition=t.clone(o.ssContent),o.ssFallback.transition=t.clone(o.ssFallback)):o.transition=t}function Du(o,t=!1,e){let n=[],s=0;for(let r=0;r<o.length;r++){let a=o[r];const i=e==null?a.key:String(e)+String(a.key!=null?a.key:r);a.type===Dt?(a.patchFlag&128&&s++,n=n.concat(Du(a.children,t,i))):(t||a.type!==fe)&&n.push(i!=null?lo(a,{key:i}):a)}if(s>1)for(let r=0;r<n.length;r++)n[r].patchFlag=-2;return n}/*! #__NO_SIDE_EFFECTS__ */function V(o,t){return Ct(o)?(()=>oe({name:o.name},t,{setup:o}))():o}function Mu(o){o.ids=[o.ids[0]+o.ids[2]+++"-",0,0]}const hg=new WeakSet;function Or(o,t,e,n,s=!1){if(bt(o)){o.forEach((p,b)=>Or(p,t&&(bt(t)?t[b]:t),e,n,s));return}if(_n(n)&&!s){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Or(o,t,e,n.component.subTree);return}const r=n.shapeFlag&4?Yr(n.component):n.el,a=s?null:r,{i,r:l}=o;if({}.NODE_ENV!=="production"&&!i){J("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");return}const c=t&&t.r,u=i.refs===qt?i.refs={}:i.refs,f=i.setupState,d=It(f),h=f===qt?()=>!1:p=>({}).NODE_ENV!=="production"&&(Lt(d,p)&&!ge(d[p])&&J(`Template ref "${p}" used on a non-ref value. It will not work in the production build.`),hg.has(d[p]))?!1:Lt(d,p);if(c!=null&&c!==l&&(re(c)?(u[c]=null,h(c)&&(f[c]=null)):ge(c)&&(c.value=null)),Ct(l))$n(l,i,12,[a,u]);else{const p=re(l),b=ge(l);if(p||b){const x=()=>{if(o.f){const k=p?h(l)?f[l]:u[l]:l.value;s?bt(k)&&si(k,r):bt(k)?k.includes(r)||k.push(r):p?(u[l]=[r],h(l)&&(f[l]=u[l])):(l.value=[r],o.k&&(u[o.k]=l.value))}else p?(u[l]=a,h(l)&&(f[l]=a)):b?(l.value=a,o.k&&(u[o.k]=a)):{}.NODE_ENV!=="production"&&J("Invalid template ref type:",l,`(${typeof l})`)};a?(x.id=-1,Se(x,e)):x()}else({}).NODE_ENV!=="production"&&J("Invalid template ref type:",l,`(${typeof l})`)}}us().requestIdleCallback,us().cancelIdleCallback;const _n=o=>!!o.type.__asyncLoader,_s=o=>o.type.__isKeepAlive,Lu={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(o,{slots:t}){const e=Ko(),n=e.ctx;if(!n.renderer)return()=>{const g=t.default&&t.default();return g&&g.length===1?g[0]:g};const s=new Map,r=new Set;let a=null;({}).NODE_ENV!=="production"&&(e.__v_cache=s);const i=e.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:f}}}=n,d=f("div");n.activate=(g,m,y,_,w)=>{const $=g.component;c(g,m,y,0,i),l($.vnode,g,m,y,$,i,_,g.slotScopeIds,w),Se(()=>{$.isDeactivated=!1,$.a&&hn($.a);const Y=g.props&&g.props.onVnodeMounted;Y&&je(Y,$.parent,g)},i),{}.NODE_ENV!=="production"&&Si($)},n.deactivate=g=>{const m=g.component;Fr(m.m),Fr(m.a),c(g,d,null,1,i),Se(()=>{m.da&&hn(m.da);const y=g.props&&g.props.onVnodeUnmounted;y&&je(y,m.parent,g),m.isDeactivated=!0},i),{}.NODE_ENV!=="production"&&Si(m)};function h(g){Ii(g),u(g,e,i,!0)}function p(g){s.forEach((m,y)=>{const _=Rs(m.type);_&&!g(_)&&b(y)})}function b(g){const m=s.get(g);m&&(!a||!Wo(m,a))?h(m):a&&Ii(a),s.delete(g),r.delete(g)}Rt(()=>[o.include,o.exclude],([g,m])=>{g&&p(y=>xs(g,y)),m&&p(y=>!xs(m,y))},{flush:"post",deep:!0});let x=null;const k=()=>{x!=null&&(Mr(e.subTree.type)?Se(()=>{s.set(x,Pr(e.subTree))},e.subTree.suspense):s.set(x,Pr(e.subTree)))};return pe(k),Yu(k),Ai(()=>{s.forEach(g=>{const{subTree:m,suspense:y}=e,_=Pr(m);if(g.type===_.type&&g.key===_.key){Ii(_);const w=_.component.da;w&&Se(w,y);return}h(g)})}),()=>{if(x=null,!t.default)return a=null;const g=t.default(),m=g[0];if(g.length>1)return{}.NODE_ENV!=="production"&&J("KeepAlive should contain exactly one component child."),a=null,g;if(!jo(m)||!(m.shapeFlag&4)&&!(m.shapeFlag&128))return a=null,m;let y=Pr(m);if(y.type===fe)return a=null,y;const _=y.type,w=Rs(_n(y)?y.type.__asyncResolved||{}:_),{include:$,exclude:Y,max:B}=o;if($&&(!w||!xs($,w))||Y&&w&&xs(Y,w))return y.shapeFlag&=-257,a=y,m;const M=y.key==null?_:y.key,ut=s.get(M);return y.el&&(y=lo(y),m.shapeFlag&128&&(m.ssContent=y)),x=M,ut?(y.el=ut.el,y.component=ut.component,y.transition&&zn(y,y.transition),y.shapeFlag|=512,r.delete(M),r.add(M)):(r.add(M),B&&r.size>parseInt(B,10)&&b(r.values().next().value)),y.shapeFlag|=256,a=y,Mr(m.type)?m:y}}};function xs(o,t){return bt(o)?o.some(e=>xs(e,t)):re(o)?o.split(",").includes(t):Jm(o)?(o.lastIndex=0,o.test(t)):!1}function pg(o,t){Bu(o,"a",t)}function mg(o,t){Bu(o,"da",t)}function Bu(o,t,e=xe){const n=o.__wdc||(o.__wdc=()=>{let s=e;for(;s;){if(s.isDeactivated)return;s=s.parent}return o()});if(Rr(t,n,e),e){let s=e.parent;for(;s&&s.parent;)_s(s.parent.vnode)&&gg(n,t,e,s),s=s.parent}}function gg(o,t,e,n){const s=Rr(t,o,n,!0);ue(()=>{si(n[t],s)},e)}function Ii(o){o.shapeFlag&=-257,o.shapeFlag&=-513}function Pr(o){return o.shapeFlag&128?o.ssContent:o}function Rr(o,t,e=xe,n=!1){if(e){const s=e[o]||(e[o]=[]),r=t.__weh||(t.__weh=(...a)=>{Po();const i=Os(e),l=ao(t,e,o,a);return i(),Ro(),l});return n?s.unshift(r):s.push(r),r}else if({}.NODE_ENV!=="production"){const s=dn(wi[o].replace(/ hook$/,""));J(`${s} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const No=o=>(t,e=xe)=>{(!Ps||o==="sp")&&Rr(o,(...n)=>t(...n),e)},yg=No("bm"),pe=No("m"),vg=No("bu"),Yu=No("u"),Ai=No("bum"),ue=No("um"),bg=No("sp"),_g=No("rtg"),xg=No("rtc");function kg(o,t=xe){Rr("ec",o,t)}const $i="components",Vu=Symbol.for("v-ndc");function Xu(o){return re(o)?wg($i,o,!1)||o:o||Vu}function wg(o,t,e=!0,n=!1){const s=ye||xe;if(s){const r=s.type;if(o===$i){const i=Rs(r,!1);if(i&&(i===t||i===we(t)||i===fn(we(t))))return r}const a=Zu(s[o]||r[o],t)||Zu(s.appContext[o],t);if(!a&&n)return r;if({}.NODE_ENV!=="production"&&e&&!a){const i=o===$i?`
|
|
17
|
+
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`:"";J(`Failed to resolve ${o.slice(0,-1)}: ${t}${i}`)}return a}else({}).NODE_ENV!=="production"&&J(`resolve${fn(o.slice(0,-1))} can only be used in render() or setup().`)}function Zu(o,t){return o&&(o[t]||o[we(t)]||o[fn(we(t))])}function Ee(o,t,e,n){let s;const r=e&&e[n],a=bt(o);if(a||re(o)){const i=a&&mn(o);let l=!1;i&&(l=!Ae(o),o=fr(o)),s=new Array(o.length);for(let c=0,u=o.length;c<u;c++)s[c]=t(l?Re(o[c]):o[c],c,void 0,r&&r[c])}else if(typeof o=="number"){({}).NODE_ENV!=="production"&&!Number.isInteger(o)&&J(`The v-for range expect an integer value but got ${o}.`),s=new Array(o);for(let i=0;i<o;i++)s[i]=t(i+1,i,void 0,r&&r[i])}else if(Kt(o))if(o[Symbol.iterator])s=Array.from(o,(i,l)=>t(i,l,void 0,r&&r[l]));else{const i=Object.keys(o);s=new Array(i.length);for(let l=0,c=i.length;l<c;l++){const u=i[l];s[l]=t(o[u],u,l,r&&r[l])}}else s=[];return e&&(e[n]=s),s}function mt(o,t,e={},n,s){if(ye.ce||ye.parent&&_n(ye.parent)&&ye.parent.ce)return t!=="default"&&(e.name=t),I(),dt(Dt,null,[Z("slot",e,n&&n())],64);let r=o[t];({}).NODE_ENV!=="production"&&r&&r.length>1&&(J("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),r=()=>[]),r&&r._c&&(r._d=!1),I();const a=r&&Uu(r(e)),i=e.key||a&&a.key,l=dt(Dt,{key:(i&&!Oo(i)?i:`_${t}`)+(!a&&n?"_fb":"")},a||(n?n():[]),a&&o._===1?64:-2);return!s&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),r&&r._c&&(r._d=!0),l}function Uu(o){return o.some(t=>jo(t)?!(t.type===fe||t.type===Dt&&!Uu(t.children)):!0)?o:null}const Ni=o=>o?Cf(o)?Yr(o):Ni(o.parent):null,xn=oe(Object.create(null),{$:o=>o,$el:o=>o.vnode.el,$data:o=>o.data,$props:o=>({}).NODE_ENV!=="production"?vo(o.props):o.props,$attrs:o=>({}).NODE_ENV!=="production"?vo(o.attrs):o.attrs,$slots:o=>({}).NODE_ENV!=="production"?vo(o.slots):o.slots,$refs:o=>({}).NODE_ENV!=="production"?vo(o.refs):o.refs,$parent:o=>Ni(o.parent),$root:o=>Ni(o.root),$host:o=>o.ce,$emit:o=>o.emit,$options:o=>Mi(o),$forceUpdate:o=>o.f||(o.f=()=>{wr(o.update)}),$nextTick:o=>o.n||(o.n=kr.bind(o.proxy)),$watch:o=>ny.bind(o)}),Fi=o=>o==="_"||o==="$",zi=(o,t)=>o!==qt&&!o.__isScriptSetup&&Lt(o,t),Hu={get({_:o},t){if(t==="__v_skip")return!0;const{ctx:e,setupState:n,data:s,props:r,accessCache:a,type:i,appContext:l}=o;if({}.NODE_ENV!=="production"&&t==="__isVue")return!0;let c;if(t[0]!=="$"){const h=a[t];if(h!==void 0)switch(h){case 1:return n[t];case 2:return s[t];case 4:return e[t];case 3:return r[t]}else{if(zi(n,t))return a[t]=1,n[t];if(s!==qt&&Lt(s,t))return a[t]=2,s[t];if((c=o.propsOptions[0])&&Lt(c,t))return a[t]=3,r[t];if(e!==qt&&Lt(e,t))return a[t]=4,e[t];Di&&(a[t]=0)}}const u=xn[t];let f,d;if(u)return t==="$attrs"?(_e(o.attrs,"get",""),{}.NODE_ENV!=="production"&&Dr()):{}.NODE_ENV!=="production"&&t==="$slots"&&_e(o,"get",t),u(o);if((f=i.__cssModules)&&(f=f[t]))return f;if(e!==qt&&Lt(e,t))return a[t]=4,e[t];if(d=l.config.globalProperties,Lt(d,t))return d[t];({}).NODE_ENV!=="production"&&ye&&(!re(t)||t.indexOf("__v")!==0)&&(s!==qt&&Fi(t[0])&&Lt(s,t)?J(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):o===ye&&J(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:o},t,e){const{data:n,setupState:s,ctx:r}=o;return zi(s,t)?(s[t]=e,!0):{}.NODE_ENV!=="production"&&s.__isScriptSetup&&Lt(s,t)?(J(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):n!==qt&&Lt(n,t)?(n[t]=e,!0):Lt(o.props,t)?({}.NODE_ENV!=="production"&&J(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in o?({}.NODE_ENV!=="production"&&J(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):({}.NODE_ENV!=="production"&&t in o.appContext.config.globalProperties?Object.defineProperty(r,t,{enumerable:!0,configurable:!0,value:e}):r[t]=e,!0)},has({_:{data:o,setupState:t,accessCache:e,ctx:n,appContext:s,propsOptions:r}},a){let i;return!!e[a]||o!==qt&&Lt(o,a)||zi(t,a)||(i=r[0])&&Lt(i,a)||Lt(n,a)||Lt(xn,a)||Lt(s.config.globalProperties,a)},defineProperty(o,t,e){return e.get!=null?o._.accessCache[t]=0:Lt(e,"value")&&this.set(o,t,e.value,null),Reflect.defineProperty(o,t,e)}};({}).NODE_ENV!=="production"&&(Hu.ownKeys=o=>(J("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(o)));function Cg(o){const t={};return Object.defineProperty(t,"_",{configurable:!0,enumerable:!1,get:()=>o}),Object.keys(xn).forEach(e=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,get:()=>xn[e](o),set:be})}),t}function Tg(o){const{ctx:t,propsOptions:[e]}=o;e&&Object.keys(e).forEach(n=>{Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>o.props[n],set:be})})}function Eg(o){const{ctx:t,setupState:e}=o;Object.keys(It(e)).forEach(n=>{if(!e.__isScriptSetup){if(Fi(n[0])){J(`setup() return property ${JSON.stringify(n)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>e[n],set:be})}})}function Sg(){return Og().slots}function Og(){const o=Ko();return{}.NODE_ENV!=="production"&&!o&&J("useContext() called without active instance."),o.setupContext||(o.setupContext=Of(o))}function Gu(o){return bt(o)?o.reduce((t,e)=>(t[e]=null,t),{}):o}function Pg(){const o=Object.create(null);return(t,e)=>{o[e]?J(`${t} property "${e}" is already defined in ${o[e]}.`):o[e]=t}}let Di=!0;function Rg(o){const t=Mi(o),e=o.proxy,n=o.ctx;Di=!1,t.beforeCreate&&ju(t.beforeCreate,o,"bc");const{data:s,computed:r,methods:a,watch:i,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:p,activated:b,deactivated:x,beforeDestroy:k,beforeUnmount:g,destroyed:m,unmounted:y,render:_,renderTracked:w,renderTriggered:$,errorCaptured:Y,serverPrefetch:B,expose:M,inheritAttrs:ut,components:j,directives:tt,filters:gt}=t,Ot={}.NODE_ENV!=="production"?Pg():null;if({}.NODE_ENV!=="production"){const[xt]=o.propsOptions;if(xt)for(const kt in xt)Ot("Props",kt)}if(c&&Ig(c,n,Ot),a)for(const xt in a){const kt=a[xt];Ct(kt)?({}.NODE_ENV!=="production"?Object.defineProperty(n,xt,{value:kt.bind(e),configurable:!0,enumerable:!0,writable:!0}):n[xt]=kt.bind(e),{}.NODE_ENV!=="production"&&Ot("Methods",xt)):{}.NODE_ENV!=="production"&&J(`Method "${xt}" has type "${typeof kt}" in the component definition. Did you reference the function correctly?`)}if(s){({}).NODE_ENV!=="production"&&!Ct(s)&&J("The data option must be a function. Plain object usage is no longer supported.");const xt=s.call(e,e);if({}.NODE_ENV!=="production"&&ri(xt)&&J("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!Kt(xt))({}).NODE_ENV!=="production"&&J("data() should return an object.");else if(o.data=Wt(xt),{}.NODE_ENV!=="production")for(const kt in xt)Ot("Data",kt),Fi(kt[0])||Object.defineProperty(n,kt,{configurable:!0,enumerable:!0,get:()=>xt[kt],set:be})}if(Di=!0,r)for(const xt in r){const kt=r[xt],ne=Ct(kt)?kt.bind(e,e):Ct(kt.get)?kt.get.bind(e,e):be;({}).NODE_ENV!=="production"&&ne===be&&J(`Computed property "${xt}" has no getter.`);const me=!Ct(kt)&&Ct(kt.set)?kt.set.bind(e):{}.NODE_ENV!=="production"?()=>{J(`Write operation failed: computed property "${xt}" is readonly.`)}:be,he=de({get:ne,set:me});Object.defineProperty(n,xt,{enumerable:!0,configurable:!0,get:()=>he.value,set:Vt=>he.value=Vt}),{}.NODE_ENV!=="production"&&Ot("Computed",xt)}if(i)for(const xt in i)Wu(i[xt],n,e,xt);if(l){const xt=Ct(l)?l.call(e):l;Reflect.ownKeys(xt).forEach(kt=>{Ar(kt,xt[kt])})}u&&ju(u,o,"c");function $t(xt,kt){bt(kt)?kt.forEach(ne=>xt(ne.bind(e))):kt&&xt(kt.bind(e))}if($t(yg,f),$t(pe,d),$t(vg,h),$t(Yu,p),$t(pg,b),$t(mg,x),$t(kg,Y),$t(xg,w),$t(_g,$),$t(Ai,g),$t(ue,y),$t(bg,B),bt(M))if(M.length){const xt=o.exposed||(o.exposed={});M.forEach(kt=>{Object.defineProperty(xt,kt,{get:()=>e[kt],set:ne=>e[kt]=ne})})}else o.exposed||(o.exposed={});_&&o.render===be&&(o.render=_),ut!=null&&(o.inheritAttrs=ut),j&&(o.components=j),tt&&(o.directives=tt),B&&Mu(o)}function Ig(o,t,e=be){bt(o)&&(o=Li(o));for(const n in o){const s=o[n];let r;Kt(s)?"default"in s?r=io(s.from||n,s.default,!0):r=io(s.from||n):r=io(s),ge(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:a=>r.value=a}):t[n]=r,{}.NODE_ENV!=="production"&&e("Inject",n)}}function ju(o,t,e){ao(bt(o)?o.map(n=>n.bind(t.proxy)):o.bind(t.proxy),t,e)}function Wu(o,t,e,n){let s=n.includes(".")?hf(e,n):()=>e[n];if(re(o)){const r=t[o];Ct(r)?Rt(s,r):{}.NODE_ENV!=="production"&&J(`Invalid watch handler specified by key "${o}"`,r)}else if(Ct(o))Rt(s,o.bind(e));else if(Kt(o))if(bt(o))o.forEach(r=>Wu(r,t,e,n));else{const r=Ct(o.handler)?o.handler.bind(e):t[o.handler];Ct(r)?Rt(s,r,o):{}.NODE_ENV!=="production"&&J(`Invalid watch handler specified by key "${o.handler}"`,r)}else({}).NODE_ENV!=="production"&&J(`Invalid watch option: "${n}"`,o)}function Mi(o){const t=o.type,{mixins:e,extends:n}=t,{mixins:s,optionsCache:r,config:{optionMergeStrategies:a}}=o.appContext,i=r.get(t);let l;return i?l=i:!s.length&&!e&&!n?l=t:(l={},s.length&&s.forEach(c=>Ir(l,c,a,!0)),Ir(l,t,a)),Kt(t)&&r.set(t,l),l}function Ir(o,t,e,n=!1){const{mixins:s,extends:r}=t;r&&Ir(o,r,e,!0),s&&s.forEach(a=>Ir(o,a,e,!0));for(const a in t)if(n&&a==="expose")({}).NODE_ENV!=="production"&&J('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const i=Ag[a]||e&&e[a];o[a]=i?i(o[a],t[a]):t[a]}return o}const Ag={data:qu,props:Ku,emits:Ku,methods:ks,computed:ks,beforeCreate:Ne,created:Ne,beforeMount:Ne,mounted:Ne,beforeUpdate:Ne,updated:Ne,beforeDestroy:Ne,beforeUnmount:Ne,destroyed:Ne,unmounted:Ne,activated:Ne,deactivated:Ne,errorCaptured:Ne,serverPrefetch:Ne,components:ks,directives:ks,watch:Ng,provide:qu,inject:$g};function qu(o,t){return t?o?function(){return oe(Ct(o)?o.call(this,this):o,Ct(t)?t.call(this,this):t)}:t:o}function $g(o,t){return ks(Li(o),Li(t))}function Li(o){if(bt(o)){const t={};for(let e=0;e<o.length;e++)t[o[e]]=o[e];return t}return o}function Ne(o,t){return o?[...new Set([].concat(o,t))]:t}function ks(o,t){return o?oe(Object.create(null),o,t):t}function Ku(o,t){return o?bt(o)&&bt(t)?[...new Set([...o,...t])]:oe(Object.create(null),Gu(o),Gu(t??{})):t}function Ng(o,t){if(!o)return t;if(!t)return o;const e=oe(Object.create(null),o);for(const n in t)e[n]=Ne(o[n],t[n]);return e}function Qu(){return{app:null,config:{isNativeTag:Km,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 Fg=0;function zg(o,t){return function(n,s=null){Ct(n)||(n=oe({},n)),s!=null&&!Kt(s)&&({}.NODE_ENV!=="production"&&J("root props passed to app.mount() must be an object."),s=null);const r=Qu(),a=new WeakSet,i=[];let l=!1;const c=r.app={_uid:Fg++,_component:n,_props:s,_container:null,_context:r,_instance:null,version:Rf,get config(){return r.config},set config(u){({}).NODE_ENV!=="production"&&J("app.config cannot be replaced. Modify individual options instead.")},use(u,...f){return a.has(u)?{}.NODE_ENV!=="production"&&J("Plugin has already been applied to target app."):u&&Ct(u.install)?(a.add(u),u.install(c,...f)):Ct(u)?(a.add(u),u(c,...f)):{}.NODE_ENV!=="production"&&J('A plugin must either be a function or an object with an "install" function.'),c},mixin(u){return r.mixins.includes(u)?{}.NODE_ENV!=="production"&&J("Mixin has already been applied to target app"+(u.name?`: ${u.name}`:"")):r.mixins.push(u),c},component(u,f){return{}.NODE_ENV!=="production"&&Ki(u,r.config),f?({}.NODE_ENV!=="production"&&r.components[u]&&J(`Component "${u}" has already been registered in target app.`),r.components[u]=f,c):r.components[u]},directive(u,f){return{}.NODE_ENV!=="production"&&Ru(u),f?({}.NODE_ENV!=="production"&&r.directives[u]&&J(`Directive "${u}" has already been registered in target app.`),r.directives[u]=f,c):r.directives[u]},mount(u,f,d){if(l)({}).NODE_ENV!=="production"&&J("App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`");else{({}).NODE_ENV!=="production"&&u.__vue_app__&&J("There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first.");const h=c._ceVNode||Z(n,s);return h.appContext=r,d===!0?d="svg":d===!1&&(d=void 0),{}.NODE_ENV!=="production"&&(r.reload=()=>{o(lo(h),u,d)}),f&&t?t(h,u):o(h,u,d),l=!0,c._container=u,u.__vue_app__=c,{}.NODE_ENV!=="production"&&(c._instance=h.component,eg(c,Rf)),Yr(h.component)}},onUnmount(u){({}).NODE_ENV!=="production"&&typeof u!="function"&&J(`Expected function as first argument to app.onUnmount(), but got ${typeof u}`),i.push(u)},unmount(){l?(ao(i,c._instance,16),o(null,c._container),{}.NODE_ENV!=="production"&&(c._instance=null,og(c)),delete c._container.__vue_app__):{}.NODE_ENV!=="production"&&J("Cannot unmount an app that is not mounted.")},provide(u,f){return{}.NODE_ENV!=="production"&&u in r.provides&&J(`App already provides property with key "${String(u)}". It will be overwritten with the new value.`),r.provides[u]=f,c},runWithContext(u){const f=Dn;Dn=c;try{return u()}finally{Dn=f}}};return c}}let Dn=null;function Ar(o,t){if(!xe)({}).NODE_ENV!=="production"&&J("provide() can only be used inside setup().");else{let e=xe.provides;const n=xe.parent&&xe.parent.provides;n===e&&(e=xe.provides=Object.create(n)),e[o]=t}}function io(o,t,e=!1){const n=xe||ye;if(n||Dn){const s=Dn?Dn._context.provides:n?n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(s&&o in s)return s[o];if(arguments.length>1)return e&&Ct(t)?t.call(n&&n.proxy):t;({}).NODE_ENV!=="production"&&J(`injection "${String(o)}" not found.`)}else({}).NODE_ENV!=="production"&&J("inject() can only be used inside setup() or functional components.")}const Ju={},tf=()=>Object.create(Ju),ef=o=>Object.getPrototypeOf(o)===Ju;function Dg(o,t,e,n=!1){const s={},r=tf();o.propsDefaults=Object.create(null),of(o,t,s,r);for(const a in o.propsOptions[0])a in s||(s[a]=void 0);({}).NODE_ENV!=="production"&&rf(t||{},s,o),e?o.props=n?s:hu(s):o.type.props?o.props=s:o.props=r,o.attrs=r}function Mg(o){for(;o;){if(o.type.__hmrId)return!0;o=o.parent}}function Lg(o,t,e,n){const{props:s,attrs:r,vnode:{patchFlag:a}}=o,i=It(s),[l]=o.propsOptions;let c=!1;if(!({}.NODE_ENV!=="production"&&Mg(o))&&(n||a>0)&&!(a&16)){if(a&8){const u=o.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(zr(o.emitsOptions,d))continue;const h=t[d];if(l)if(Lt(r,d))h!==r[d]&&(r[d]=h,c=!0);else{const p=we(d);s[p]=Bi(l,i,p,h,o,!1)}else h!==r[d]&&(r[d]=h,c=!0)}}}else{of(o,t,s,r)&&(c=!0);let u;for(const f in i)(!t||!Lt(t,f)&&((u=Be(f))===f||!Lt(t,u)))&&(l?e&&(e[f]!==void 0||e[u]!==void 0)&&(s[f]=Bi(l,i,f,void 0,o,!0)):delete s[f]);if(r!==i)for(const f in r)(!t||!Lt(t,f))&&(delete r[f],c=!0)}c&&yo(o.attrs,"set",""),{}.NODE_ENV!=="production"&&rf(t||{},s,o)}function of(o,t,e,n){const[s,r]=o.propsOptions;let a=!1,i;if(t)for(let l in t){if(cs(l))continue;const c=t[l];let u;s&&Lt(s,u=we(l))?!r||!r.includes(u)?e[u]=c:(i||(i={}))[u]=c:zr(o.emitsOptions,l)||(!(l in n)||c!==n[l])&&(n[l]=c,a=!0)}if(r){const l=It(e),c=i||qt;for(let u=0;u<r.length;u++){const f=r[u];e[f]=Bi(s,l,f,c[f],o,!Lt(c,f))}}return a}function Bi(o,t,e,n,s,r){const a=o[e];if(a!=null){const i=Lt(a,"default");if(i&&n===void 0){const l=a.default;if(a.type!==Function&&!a.skipFactory&&Ct(l)){const{propsDefaults:c}=s;if(e in c)n=c[e];else{const u=Os(s);n=c[e]=l.call(null,t),u()}}else n=l;s.ce&&s.ce._setProp(e,n)}a[0]&&(r&&!i?n=!1:a[1]&&(n===""||n===Be(e))&&(n=!0))}return n}const Bg=new WeakMap;function nf(o,t,e=!1){const n=e?Bg:t.propsCache,s=n.get(o);if(s)return s;const r=o.props,a={},i=[];let l=!1;if(!Ct(o)){const u=f=>{l=!0;const[d,h]=nf(f,t,!0);oe(a,d),h&&i.push(...h)};!e&&t.mixins.length&&t.mixins.forEach(u),o.extends&&u(o.extends),o.mixins&&o.mixins.forEach(u)}if(!r&&!l)return Kt(o)&&n.set(o,In),In;if(bt(r))for(let u=0;u<r.length;u++){({}).NODE_ENV!=="production"&&!re(r[u])&&J("props must be strings when using array syntax.",r[u]);const f=we(r[u]);sf(f)&&(a[f]=qt)}else if(r){({}).NODE_ENV!=="production"&&!Kt(r)&&J("invalid props options",r);for(const u in r){const f=we(u);if(sf(f)){const d=r[u],h=a[f]=bt(d)||Ct(d)?{type:d}:oe({},d),p=h.type;let b=!1,x=!0;if(bt(p))for(let k=0;k<p.length;++k){const g=p[k],m=Ct(g)&&g.name;if(m==="Boolean"){b=!0;break}else m==="String"&&(x=!1)}else b=Ct(p)&&p.name==="Boolean";h[0]=b,h[1]=x,(b||Lt(h,"default"))&&i.push(f)}}}const c=[a,i];return Kt(o)&&n.set(o,c),c}function sf(o){return o[0]!=="$"&&!cs(o)?!0:({}.NODE_ENV!=="production"&&J(`Invalid prop name: "${o}" is a reserved property.`),!1)}function Yg(o){return o===null?"null":typeof o=="function"?o.name||"":typeof o=="object"&&o.constructor&&o.constructor.name||""}function rf(o,t,e){const n=It(t),s=e.propsOptions[0],r=Object.keys(o).map(a=>we(a));for(const a in s){let i=s[a];i!=null&&Vg(a,n[a],i,{}.NODE_ENV!=="production"?vo(n):n,!r.includes(a))}}function Vg(o,t,e,n,s){const{type:r,required:a,validator:i,skipCheck:l}=e;if(a&&s){J('Missing required prop: "'+o+'"');return}if(!(t==null&&!a)){if(r!=null&&r!==!0&&!l){let c=!1;const u=bt(r)?r:[r],f=[];for(let d=0;d<u.length&&!c;d++){const{valid:h,expectedType:p}=Zg(t,u[d]);f.push(p||""),c=h}if(!c){J(Ug(o,t,f));return}}i&&!i(t,n)&&J('Invalid prop: custom validator check failed for prop "'+o+'".')}}const Xg=So("String,Number,Boolean,Function,Symbol,BigInt");function Zg(o,t){let e;const n=Yg(t);if(n==="null")e=o===null;else if(Xg(n)){const s=typeof o;e=s===n.toLowerCase(),!e&&s==="object"&&(e=o instanceof t)}else n==="Object"?e=Kt(o):n==="Array"?e=bt(o):e=o instanceof t;return{valid:e,expectedType:n}}function Ug(o,t,e){if(e.length===0)return`Prop type [] for prop "${o}" won't match anything. Did you mean to use type Array instead?`;let n=`Invalid prop: type check failed for prop "${o}". Expected ${e.map(fn).join(" | ")}`;const s=e[0],r=ai(t),a=af(t,s),i=af(t,r);return e.length===1&&lf(s)&&!Hg(s,r)&&(n+=` with value ${a}`),n+=`, got ${r} `,lf(r)&&(n+=`with value ${i}.`),n}function af(o,t){return t==="String"?`"${o}"`:t==="Number"?`${Number(o)}`:`${o}`}function lf(o){return["string","number","boolean"].some(e=>o.toLowerCase()===e)}function Hg(...o){return o.some(t=>t.toLowerCase()==="boolean")}const cf=o=>o[0]==="_"||o==="$stable",Yi=o=>bt(o)?o.map(co):[co(o)],Gg=(o,t,e)=>{if(t._n)return t;const n=W((...s)=>({}.NODE_ENV!=="production"&&xe&&(!e||e.root===xe.root)&&J(`Slot "${o}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`),Yi(t(...s))),e);return n._c=!1,n},uf=(o,t,e)=>{const n=o._ctx;for(const s in o){if(cf(s))continue;const r=o[s];if(Ct(r))t[s]=Gg(s,r,n);else if(r!=null){({}).NODE_ENV!=="production"&&J(`Non-function value encountered for slot "${s}". Prefer function slots for better performance.`);const a=Yi(r);t[s]=()=>a}}},ff=(o,t)=>{({}).NODE_ENV!=="production"&&!_s(o.vnode)&&J("Non-function value encountered for default slot. Prefer function slots for better performance.");const e=Yi(t);o.slots.default=()=>e},Vi=(o,t,e)=>{for(const n in t)(e||n!=="_")&&(o[n]=t[n])},jg=(o,t,e)=>{const n=o.slots=tf();if(o.vnode.shapeFlag&32){const s=t._;s?(Vi(n,t,e),e&&ur(n,"_",s,!0)):uf(t,n)}else t&&ff(o,t)},Wg=(o,t,e)=>{const{vnode:n,slots:s}=o;let r=!0,a=qt;if(n.shapeFlag&32){const i=t._;i?{}.NODE_ENV!=="production"&&_o?(Vi(s,t,e),yo(o,"set","$slots")):e&&i===1?r=!1:Vi(s,t,e):(r=!t.$stable,uf(t,s)),a=t}else t&&(ff(o,t),a={default:1});if(r)for(const i in s)!cf(i)&&a[i]==null&&delete s[i]};let ws,Go;function Fo(o,t){o.appContext.config.performance&&$r()&&Go.mark(`vue-${t}-${o.uid}`),{}.NODE_ENV!=="production"&&rg(o,t,$r()?Go.now():Date.now())}function zo(o,t){if(o.appContext.config.performance&&$r()){const e=`vue-${t}-${o.uid}`,n=e+":end";Go.mark(n),Go.measure(`<${Vr(o,o.type)}> ${t}`,e,n),Go.clearMarks(e),Go.clearMarks(n)}({}).NODE_ENV!=="production"&&ag(o,t,$r()?Go.now():Date.now())}function $r(){return ws!==void 0||(typeof window<"u"&&window.performance?(ws=!0,Go=window.performance):ws=!1),ws}function qg(){const o=[];if({}.NODE_ENV!=="production"&&o.length){const t=o.length>1;console.warn(`Feature flag${t?"s":""} ${o.join(", ")} ${t?"are":"is"} not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle.
|
|
18
18
|
|
|
19
|
-
For more details, see https://link.vuejs.org/feature-flags.`)}}const Se=uy;function Kg(o){return Qg(o)}function Qg(o,t){qg();const e=us();e.__VUE__=!0,{}.NODE_ENV!=="production"&&Eu(e.__VUE_DEVTOOLS_GLOBAL_HOOK__,e);const{insert:n,remove:s,patchProp:r,createElement:a,createText:i,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=be,insertStaticContent:p}=o,b=(S,E,z,X=null,U=null,H=null,rt=void 0,q=null,nt={}.NODE_ENV!=="production"&&_o?!1:!!E.dynamicChildren)=>{if(S===E)return;S&&!Wo(S,E)&&(X=ot(S),et(S,U,H,!0),S=null),E.patchFlag===-2&&(nt=!1,E.dynamicChildren=null);const{type:Q,ref:wt,shapeFlag:lt}=E;switch(Q){case Cs:x(S,E,z,X);break;case fe:k(S,E,z,X);break;case Ts:S==null?g(E,z,X,rt):{}.NODE_ENV!=="production"&&m(S,E,z,rt);break;case Dt:tt(S,E,z,X,U,H,rt,q,nt);break;default:lt&1?w(S,E,z,X,U,H,rt,q,nt):lt&6?gt(S,E,z,X,U,H,rt,q,nt):lt&64||lt&128?Q.process(S,E,z,X,U,H,rt,q,nt,Pt):{}.NODE_ENV!=="production"&&J("Invalid VNode type:",Q,`(${typeof Q})`)}wt!=null&&U&&Or(wt,S&&S.ref,H,E||S,!E)},x=(S,E,z,X)=>{if(S==null)n(E.el=i(E.children),z,X);else{const U=E.el=S.el;E.children!==S.children&&c(U,E.children)}},k=(S,E,z,X)=>{S==null?n(E.el=l(E.children||""),z,X):E.el=S.el},g=(S,E,z,X)=>{[S.el,S.anchor]=p(S.children,E,z,X,S.el,S.anchor)},m=(S,E,z,X)=>{if(E.children!==S.children){const U=d(S.anchor);_(S),[E.el,E.anchor]=p(E.children,z,U,X)}else E.el=S.el,E.anchor=S.anchor},y=({el:S,anchor:E},z,X)=>{let U;for(;S&&S!==E;)U=d(S),n(S,z,X),S=U;n(E,z,X)},_=({el:S,anchor:E})=>{let z;for(;S&&S!==E;)z=d(S),s(S),S=z;s(E)},w=(S,E,z,X,U,H,rt,q,nt)=>{E.type==="svg"?rt="svg":E.type==="math"&&(rt="mathml"),S==null?$(E,z,X,U,H,rt,q,nt):M(S,E,U,H,rt,q,nt)},$=(S,E,z,X,U,H,rt,q)=>{let nt,Q;const{props:wt,shapeFlag:lt,transition:vt,dirs:St}=S;if(nt=S.el=a(S.type,H,wt&&wt.is,wt),lt&8?u(nt,S.children):lt&16&&B(S.children,nt,null,X,U,Zi(S,H),rt,q),St&&bn(S,null,X,"created"),Y(nt,S,S.scopeId,rt,X),wt){for(const te in wt)te!=="value"&&!cs(te)&&r(nt,te,null,wt[te],H,X);"value"in wt&&r(nt,"value",null,wt.value,H),(Q=wt.onVnodeBeforeMount)&&je(Q,X,S)}({}).NODE_ENV!=="production"&&(ur(nt,"__vnode",S,!0),ur(nt,"__vueParentComponent",X,!0)),St&&bn(S,null,X,"beforeMount");const Ft=Jg(U,vt);Ft&&vt.beforeEnter(nt),n(nt,E,z),((Q=wt&&wt.onVnodeMounted)||Ft||St)&&Se(()=>{Q&&je(Q,X,S),Ft&&vt.enter(nt),St&&bn(S,null,X,"mounted")},U)},Y=(S,E,z,X,U)=>{if(z&&h(S,z),X)for(let H=0;H<X.length;H++)h(S,X[H]);if(U){let H=U.subTree;if({}.NODE_ENV!=="production"&&H.patchFlag>0&&H.patchFlag&2048&&(H=ji(H.children)||H),E===H||Mr(H.type)&&(H.ssContent===E||H.ssFallback===E)){const rt=U.vnode;Y(S,rt,rt.scopeId,rt.slotScopeIds,U.parent)}}},B=(S,E,z,X,U,H,rt,q,nt=0)=>{for(let Q=nt;Q<S.length;Q++){const wt=S[Q]=q?qo(S[Q]):co(S[Q]);b(null,wt,E,z,X,U,H,rt,q)}},M=(S,E,z,X,U,H,rt)=>{const q=E.el=S.el;({}).NODE_ENV!=="production"&&(q.__vnode=E);let{patchFlag:nt,dynamicChildren:Q,dirs:wt}=E;nt|=S.patchFlag&16;const lt=S.props||qt,vt=E.props||qt;let St;if(z&&kn(z,!1),(St=vt.onVnodeBeforeUpdate)&&je(St,z,E,S),wt&&bn(E,S,z,"beforeUpdate"),z&&kn(z,!0),{}.NODE_ENV!=="production"&&_o&&(nt=0,rt=!1,Q=null),(lt.innerHTML&&vt.innerHTML==null||lt.textContent&&vt.textContent==null)&&u(q,""),Q?(ut(S.dynamicChildren,Q,q,z,X,Zi(E,U),H),{}.NODE_ENV!=="production"&&Nr(S,E)):rt||ne(S,E,q,null,z,X,Zi(E,U),H,!1),nt>0){if(nt&16)j(q,lt,vt,z,U);else if(nt&2&<.class!==vt.class&&r(q,"class",null,vt.class,U),nt&4&&r(q,"style",lt.style,vt.style,U),nt&8){const Ft=E.dynamicProps;for(let te=0;te<Ft.length;te++){const Gt=Ft[te],Ce=lt[Gt],ve=vt[Gt];(ve!==Ce||Gt==="value")&&r(q,Gt,Ce,ve,U,z)}}nt&1&&S.children!==E.children&&u(q,E.children)}else!rt&&Q==null&&j(q,lt,vt,z,U);((St=vt.onVnodeUpdated)||wt)&&Se(()=>{St&&je(St,z,E,S),wt&&bn(E,S,z,"updated")},X)},ut=(S,E,z,X,U,H,rt)=>{for(let q=0;q<E.length;q++){const nt=S[q],Q=E[q],wt=nt.el&&(nt.type===Dt||!Wo(nt,Q)||nt.shapeFlag&70)?f(nt.el):z;b(nt,Q,wt,null,X,U,H,rt,!0)}},j=(S,E,z,X,U)=>{if(E!==z){if(E!==qt)for(const H in E)!cs(H)&&!(H in z)&&r(S,H,E[H],null,U,X);for(const H in z){if(cs(H))continue;const rt=z[H],q=E[H];rt!==q&&H!=="value"&&r(S,H,q,rt,U,X)}"value"in z&&r(S,"value",E.value,z.value,U)}},tt=(S,E,z,X,U,H,rt,q,nt)=>{const Q=E.el=S?S.el:i(""),wt=E.anchor=S?S.anchor:i("");let{patchFlag:lt,dynamicChildren:vt,slotScopeIds:St}=E;({}).NODE_ENV!=="production"&&(_o||lt&2048)&&(lt=0,nt=!1,vt=null),St&&(q=q?q.concat(St):St),S==null?(n(Q,z,X),n(wt,z,X),B(E.children||[],z,wt,U,H,rt,q,nt)):lt>0&<&64&&vt&&S.dynamicChildren?(ut(S.dynamicChildren,vt,z,U,H,rt,q),{}.NODE_ENV!=="production"?Nr(S,E):(E.key!=null||U&&E===U.subTree)&&Nr(S,E,!0)):ne(S,E,z,wt,U,H,rt,q,nt)},gt=(S,E,z,X,U,H,rt,q,nt)=>{E.slotScopeIds=q,S==null?E.shapeFlag&512?U.ctx.activate(E,z,X,rt,nt):Ot(E,z,X,U,H,rt,nt):$t(S,E,nt)},Ot=(S,E,z,X,U,H,rt)=>{const q=S.component=yy(S,X,U);if({}.NODE_ENV!=="production"&&q.type.__hmrId&&K0(q),{}.NODE_ENV!=="production"&&(br(S),Fo(q,"mount")),_s(S)&&(q.ctx.renderer=Pt),{}.NODE_ENV!=="production"&&Fo(q,"init"),by(q,!1,rt),{}.NODE_ENV!=="production"&&zo(q,"init"),q.asyncDep){if({}.NODE_ENV!=="production"&&_o&&(S.el=null),U&&U.registerDep(q,xt,rt),!S.el){const nt=q.subTree=Z(fe);k(null,nt,E,z)}}else xt(q,S,E,z,U,H,rt);({}).NODE_ENV!=="production"&&(_r(),zo(q,"mount"))},$t=(S,E,z)=>{const X=E.component=S.component;if(ly(S,E,z))if(X.asyncDep&&!X.asyncResolved){({}).NODE_ENV!=="production"&&br(E),kt(X,E,z),{}.NODE_ENV!=="production"&&_r();return}else X.next=E,X.update();else E.el=S.el,X.vnode=E},xt=(S,E,z,X,U,H,rt)=>{const q=()=>{if(S.isMounted){let{next:lt,bu:vt,u:St,parent:Ft,vnode:te}=S;{const ze=df(S);if(ze){lt&&(lt.el=te.el,kt(S,lt,rt)),ze.asyncDep.then(()=>{S.isUnmounted||q()});return}}let Gt=lt,Ce;({}).NODE_ENV!=="production"&&br(lt||S.vnode),kn(S,!1),lt?(lt.el=te.el,kt(S,lt,rt)):lt=te,vt&&hn(vt),(Ce=lt.props&<.props.onVnodeBeforeUpdate)&&je(Ce,Ft,lt,te),kn(S,!0),{}.NODE_ENV!=="production"&&Fo(S,"render");const ve=Gi(S);({}).NODE_ENV!=="production"&&zo(S,"render");const He=S.subTree;S.subTree=ve,{}.NODE_ENV!=="production"&&Fo(S,"patch"),b(He,ve,f(He.el),ot(He),S,U,H),{}.NODE_ENV!=="production"&&zo(S,"patch"),lt.el=ve.el,Gt===null&&cy(S,ve.el),St&&Se(St,U),(Ce=lt.props&<.props.onVnodeUpdated)&&Se(()=>je(Ce,Ft,lt,te),U),{}.NODE_ENV!=="production"&&Su(S),{}.NODE_ENV!=="production"&&_r()}else{let lt;const{el:vt,props:St}=E,{bm:Ft,m:te,parent:Gt,root:Ce,type:ve}=S,He=_n(E);if(kn(S,!1),Ft&&hn(Ft),!He&&(lt=St&&St.onVnodeBeforeMount)&&je(lt,Gt,E),kn(S,!0),vt&&Et){const ze=()=>{({}).NODE_ENV!=="production"&&Fo(S,"render"),S.subTree=Gi(S),{}.NODE_ENV!=="production"&&zo(S,"render"),{}.NODE_ENV!=="production"&&Fo(S,"hydrate"),Et(vt,S.subTree,S,U,null),{}.NODE_ENV!=="production"&&zo(S,"hydrate")};He&&ve.__asyncHydrate?ve.__asyncHydrate(vt,S,ze):ze()}else{Ce.ce&&Ce.ce._injectChildStyle(ve),{}.NODE_ENV!=="production"&&Fo(S,"render");const ze=S.subTree=Gi(S);({}).NODE_ENV!=="production"&&zo(S,"render"),{}.NODE_ENV!=="production"&&Fo(S,"patch"),b(null,ze,z,X,S,U,H),{}.NODE_ENV!=="production"&&zo(S,"patch"),E.el=ze.el}if(te&&Se(te,U),!He&&(lt=St&&St.onVnodeMounted)){const ze=E;Se(()=>je(lt,Gt,ze),U)}(E.shapeFlag&256||Gt&&_n(Gt.vnode)&&Gt.vnode.shapeFlag&256)&&S.a&&Se(S.a,U),S.isMounted=!0,{}.NODE_ENV!=="production"&&Oi(S),E=z=X=null}};S.scope.on();const nt=S.effect=new jc(q);S.scope.off();const Q=S.update=nt.run.bind(nt),wt=S.job=nt.runIfDirty.bind(nt);wt.i=S,wt.id=S.uid,nt.scheduler=()=>wr(wt),kn(S,!0),{}.NODE_ENV!=="production"&&(nt.onTrack=S.rtc?lt=>hn(S.rtc,lt):void 0,nt.onTrigger=S.rtg?lt=>hn(S.rtg,lt):void 0),Q()},kt=(S,E,z)=>{E.component=S;const X=S.vnode.props;S.vnode=E,S.next=null,Lg(S,E.props,X,z),Wg(S,E.children,z),Po(),xu(S),Ro()},ne=(S,E,z,X,U,H,rt,q,nt=!1)=>{const Q=S&&S.children,wt=S?S.shapeFlag:0,lt=E.children,{patchFlag:vt,shapeFlag:St}=E;if(vt>0){if(vt&128){he(Q,lt,z,X,U,H,rt,q,nt);return}else if(vt&256){me(Q,lt,z,X,U,H,rt,q,nt);return}}St&8?(wt&16&&F(Q,U,H),lt!==Q&&u(z,lt)):wt&16?St&16?he(Q,lt,z,X,U,H,rt,q,nt):F(Q,U,H,!0):(wt&8&&u(z,""),St&16&&B(lt,z,X,U,H,rt,q,nt))},me=(S,E,z,X,U,H,rt,q,nt)=>{S=S||In,E=E||In;const Q=S.length,wt=E.length,lt=Math.min(Q,wt);let vt;for(vt=0;vt<lt;vt++){const St=E[vt]=nt?qo(E[vt]):co(E[vt]);b(S[vt],St,z,null,U,H,rt,q,nt)}Q>wt?F(S,U,H,!0,!1,lt):B(E,z,X,U,H,rt,q,nt,lt)},he=(S,E,z,X,U,H,rt,q,nt)=>{let Q=0;const wt=E.length;let lt=S.length-1,vt=wt-1;for(;Q<=lt&&Q<=vt;){const St=S[Q],Ft=E[Q]=nt?qo(E[Q]):co(E[Q]);if(Wo(St,Ft))b(St,Ft,z,null,U,H,rt,q,nt);else break;Q++}for(;Q<=lt&&Q<=vt;){const St=S[lt],Ft=E[vt]=nt?qo(E[vt]):co(E[vt]);if(Wo(St,Ft))b(St,Ft,z,null,U,H,rt,q,nt);else break;lt--,vt--}if(Q>lt){if(Q<=vt){const St=vt+1,Ft=St<wt?E[St].el:X;for(;Q<=vt;)b(null,E[Q]=nt?qo(E[Q]):co(E[Q]),z,Ft,U,H,rt,q,nt),Q++}}else if(Q>vt)for(;Q<=lt;)et(S[Q],U,H,!0),Q++;else{const St=Q,Ft=Q,te=new Map;for(Q=Ft;Q<=vt;Q++){const Oe=E[Q]=nt?qo(E[Q]):co(E[Q]);Oe.key!=null&&({}.NODE_ENV!=="production"&&te.has(Oe.key)&&J("Duplicate keys found during update:",JSON.stringify(Oe.key),"Make sure keys are unique."),te.set(Oe.key,Q))}let Gt,Ce=0;const ve=vt-Ft+1;let He=!1,ze=0;const Pn=new Array(ve);for(Q=0;Q<ve;Q++)Pn[Q]=0;for(Q=St;Q<=lt;Q++){const Oe=S[Q];if(Ce>=ve){et(Oe,U,H,!0);continue}let De;if(Oe.key!=null)De=te.get(Oe.key);else for(Gt=Ft;Gt<=vt;Gt++)if(Pn[Gt-Ft]===0&&Wo(Oe,E[Gt])){De=Gt;break}De===void 0?et(Oe,U,H,!0):(Pn[De-Ft]=Q+1,De>=ze?ze=De:He=!0,b(Oe,E[De],z,null,U,H,rt,q,nt),Ce++)}const Ka=He?ty(Pn):In;for(Gt=Ka.length-1,Q=ve-1;Q>=0;Q--){const Oe=Ft+Q,De=E[Oe],Qa=Oe+1<wt?E[Oe+1].el:X;Pn[Q]===0?b(null,De,z,Qa,U,H,rt,q,nt):He&&(Gt<0||Q!==Ka[Gt]?Vt(De,z,Qa,2):Gt--)}}},Vt=(S,E,z,X,U=null)=>{const{el:H,type:rt,transition:q,children:nt,shapeFlag:Q}=S;if(Q&6){Vt(S.component.subTree,E,z,X);return}if(Q&128){S.suspense.move(E,z,X);return}if(Q&64){rt.move(S,E,z,Pt);return}if(rt===Dt){n(H,E,z);for(let lt=0;lt<nt.length;lt++)Vt(nt[lt],E,z,X);n(S.anchor,E,z);return}if(rt===Ts){y(S,E,z);return}if(X!==2&&Q&1&&q)if(X===0)q.beforeEnter(H),n(H,E,z),Se(()=>q.enter(H),U);else{const{leave:lt,delayLeave:vt,afterLeave:St}=q,Ft=()=>n(H,E,z),te=()=>{lt(H,()=>{Ft(),St&&St()})};vt?vt(H,Ft,te):te()}else n(H,E,z)},et=(S,E,z,X=!1,U=!1)=>{const{type:H,props:rt,ref:q,children:nt,dynamicChildren:Q,shapeFlag:wt,patchFlag:lt,dirs:vt,cacheIndex:St}=S;if(lt===-2&&(U=!1),q!=null&&Or(q,null,z,S,!0),St!=null&&(E.renderCache[St]=void 0),wt&256){E.ctx.deactivate(S);return}const Ft=wt&1&&vt,te=!_n(S);let Gt;if(te&&(Gt=rt&&rt.onVnodeBeforeUnmount)&&je(Gt,E,S),wt&6)Nt(S.component,z,X);else{if(wt&128){S.suspense.unmount(z,X);return}Ft&&bn(S,null,E,"beforeUnmount"),wt&64?S.type.remove(S,E,z,Pt,X):Q&&!Q.hasOnce&&(H!==Dt||lt>0&<&64)?F(Q,E,z,!1,!0):(H===Dt&<&384||!U&&wt&16)&&F(nt,E,z),X&&A(S)}(te&&(Gt=rt&&rt.onVnodeUnmounted)||Ft)&&Se(()=>{Gt&&je(Gt,E,S),Ft&&bn(S,null,E,"unmounted")},z)},A=S=>{const{type:E,el:z,anchor:X,transition:U}=S;if(E===Dt){({}).NODE_ENV!=="production"&&S.patchFlag>0&&S.patchFlag&2048&&U&&!U.persisted?S.children.forEach(rt=>{rt.type===fe?s(rt.el):A(rt)}):se(z,X);return}if(E===Ts){_(S);return}const H=()=>{s(z),U&&!U.persisted&&U.afterLeave&&U.afterLeave()};if(S.shapeFlag&1&&U&&!U.persisted){const{leave:rt,delayLeave:q}=U,nt=()=>rt(z,H);q?q(S.el,H,nt):nt()}else H()},se=(S,E)=>{let z;for(;S!==E;)z=d(S),s(S),S=z;s(E)},Nt=(S,E,z)=>{({}).NODE_ENV!=="production"&&S.type.__hmrId&&Q0(S);const{bum:X,scope:U,job:H,subTree:rt,um:q,m:nt,a:Q}=S;Fr(nt),Fr(Q),X&&hn(X),U.stop(),H&&(H.flags|=8,et(rt,S,E,z)),q&&Se(q,E),Se(()=>{S.isUnmounted=!0},E),E&&E.pendingBranch&&!E.isUnmounted&&S.asyncDep&&!S.asyncResolved&&S.suspenseId===E.pendingId&&(E.deps--,E.deps===0&&E.resolve()),{}.NODE_ENV!=="production"&&sg(S)},F=(S,E,z,X=!1,U=!1,H=0)=>{for(let rt=H;rt<S.length;rt++)et(S[rt],E,z,X,U)},ot=S=>{if(S.shapeFlag&6)return ot(S.component.subTree);if(S.shapeFlag&128)return S.suspense.next();const E=d(S.anchor||S.el),z=E&&E[cg];return z?d(z):E};let G=!1;const it=(S,E,z)=>{S==null?E._vnode&&et(E._vnode,null,null,!0):b(E._vnode||null,S,E,null,null,null,z),E._vnode=S,G||(G=!0,xu(),ku(),G=!1)},Pt={p:b,um:et,m:Vt,r:A,mt:Ot,mc:B,pc:ne,pbc:ut,n:ot,o};let Ht,Et;return t&&([Ht,Et]=t(Pt)),{render:it,hydrate:Ht,createApp:zg(it,Ht)}}function Zi({type:o,props:t},e){return e==="svg"&&o==="foreignObject"||e==="mathml"&&o==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:e}function kn({effect:o,job:t},e){e?(o.flags|=32,t.flags|=4):(o.flags&=-33,t.flags&=-5)}function Jg(o,t){return(!o||o&&!o.pendingBranch)&&t&&!t.persisted}function Nr(o,t,e=!1){const n=o.children,s=t.children;if(bt(n)&&bt(s))for(let r=0;r<n.length;r++){const a=n[r];let i=s[r];i.shapeFlag&1&&!i.dynamicChildren&&((i.patchFlag<=0||i.patchFlag===32)&&(i=s[r]=qo(s[r]),i.el=a.el),!e&&i.patchFlag!==-2&&Nr(a,i)),i.type===Cs&&(i.el=a.el),{}.NODE_ENV!=="production"&&i.type===fe&&!i.el&&(i.el=a.el)}}function ty(o){const t=o.slice(),e=[0];let n,s,r,a,i;const l=o.length;for(n=0;n<l;n++){const c=o[n];if(c!==0){if(s=e[e.length-1],o[s]<c){t[n]=s,e.push(n);continue}for(r=0,a=e.length-1;r<a;)i=r+a>>1,o[e[i]]<c?r=i+1:a=i;c<o[e[r]]&&(r>0&&(t[n]=e[r-1]),e[r]=n)}}for(r=e.length,a=e[r-1];r-- >0;)e[r]=a,a=t[a];return e}function df(o){const t=o.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:df(t)}function Fr(o){if(o)for(let t=0;t<o.length;t++)o[t].flags|=8}const ey=Symbol.for("v-scx"),oy=()=>{{const o=io(ey);return o||{}.NODE_ENV!=="production"&&J("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),o}};function Mn(o,t){return Ui(o,null,t)}function Rt(o,t,e){return{}.NODE_ENV!=="production"&&!Ct(t)&&J("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),Ui(o,t,e)}function Ui(o,t,e=qt){const{immediate:n,deep:s,flush:r,once:a}=e;({}).NODE_ENV!=="production"&&!t&&(n!==void 0&&J('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),s!==void 0&&J('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),a!==void 0&&J('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const i=oe({},e);({}).NODE_ENV!=="production"&&(i.onWarn=J);const l=t&&n||!t&&r!=="post";let c;if(Ps){if(r==="sync"){const h=oy();c=h.__watcherHandles||(h.__watcherHandles=[])}else if(!l){const h=()=>{};return h.stop=be,h.resume=be,h.pause=be,h}}const u=xe;i.call=(h,p,b)=>ao(h,u,p,b);let f=!1;r==="post"?i.scheduler=h=>{Se(h,u&&u.suspense)}:r!=="sync"&&(f=!0,i.scheduler=(h,p)=>{p?h():wr(h)}),i.augmentJob=h=>{t&&(h.flags|=4),f&&(h.flags|=2,u&&(h.id=u.uid,h.i=u))};const d=V0(o,t,i);return Ps&&(c?c.push(d):l&&d()),d}function ny(o,t,e){const n=this.proxy,s=re(o)?o.includes(".")?hf(n,o):()=>n[o]:o.bind(n,n);let r;Ct(t)?r=t:(r=t.handler,e=t);const a=Os(this),i=Ui(s,r.bind(n),e);return a(),i}function hf(o,t){const e=t.split(".");return()=>{let n=o;for(let s=0;s<e.length&&n;s++)n=n[e[s]];return n}}const sy=(o,t)=>t==="modelValue"||t==="model-value"?o.modelModifiers:o[`${t}Modifiers`]||o[`${we(t)}Modifiers`]||o[`${Be(t)}Modifiers`];function ry(o,t,...e){if(o.isUnmounted)return;const n=o.vnode.props||qt;if({}.NODE_ENV!=="production"){const{emitsOptions:u,propsOptions:[f]}=o;if(u)if(!(t in u))(!f||!(dn(we(t))in f))&&J(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${dn(we(t))}" prop.`);else{const d=u[t];Ct(d)&&(d(...e)||J(`Invalid event arguments: event validation failed for event "${t}".`))}}let s=e;const r=t.startsWith("update:"),a=r&&sy(n,t.slice(7));if(a&&(a.trim&&(s=e.map(u=>re(u)?u.trim():u)),a.number&&(s=e.map(n0))),{}.NODE_ENV!=="production"&&ig(o,t,s),{}.NODE_ENV!=="production"){const u=t.toLowerCase();u!==t&&n[dn(u)]&&J(`Event "${u}" is emitted in component ${Vr(o,o.type)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${Be(t)}" instead of "${t}".`)}let i,l=n[i=dn(t)]||n[i=dn(we(t))];!l&&r&&(l=n[i=dn(Be(t))]),l&&ao(l,o,6,s);const c=n[i+"Once"];if(c){if(!o.emitted)o.emitted={};else if(o.emitted[i])return;o.emitted[i]=!0,ao(c,o,6,s)}}function pf(o,t,e=!1){const n=t.emitsCache,s=n.get(o);if(s!==void 0)return s;const r=o.emits;let a={},i=!1;if(!Ct(o)){const l=c=>{const u=pf(c,t,!0);u&&(i=!0,oe(a,u))};!e&&t.mixins.length&&t.mixins.forEach(l),o.extends&&l(o.extends),o.mixins&&o.mixins.forEach(l)}return!r&&!i?(Kt(o)&&n.set(o,null),null):(bt(r)?r.forEach(l=>a[l]=null):oe(a,r),Kt(o)&&n.set(o,a),a)}function zr(o,t){return!o||!is(t)?!1:(t=t.slice(2).replace(/Once$/,""),Lt(o,t[0].toLowerCase()+t.slice(1))||Lt(o,Be(t))||Lt(o,t))}let Hi=!1;function Dr(){Hi=!0}function Gi(o){const{type:t,vnode:e,proxy:n,withProxy:s,propsOptions:[r],slots:a,attrs:i,emit:l,render:c,renderCache:u,props:f,data:d,setupState:h,ctx:p,inheritAttrs:b}=o,x=Er(o);let k,g;({}).NODE_ENV!=="production"&&(Hi=!1);try{if(e.shapeFlag&4){const _=s||n,w={}.NODE_ENV!=="production"&&h.__isScriptSetup?new Proxy(_,{get($,Y,B){return J(`Property '${String(Y)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get($,Y,B)}}):_;k=co(c.call(w,_,u,{}.NODE_ENV!=="production"?vo(f):f,h,d,p)),g=i}else{const _=t;({}).NODE_ENV!=="production"&&i===f&&Dr(),k=co(_.length>1?_({}.NODE_ENV!=="production"?vo(f):f,{}.NODE_ENV!=="production"?{get attrs(){return Dr(),vo(i)},slots:a,emit:l}:{attrs:i,slots:a,emit:l}):_({}.NODE_ENV!=="production"?vo(f):f,null)),g=t.props?i:ay(i)}}catch(_){Es.length=0,gs(_,o,1),k=Z(fe)}let m=k,y;if({}.NODE_ENV!=="production"&&k.patchFlag>0&&k.patchFlag&2048&&([m,y]=mf(k)),g&&b!==!1){const _=Object.keys(g),{shapeFlag:w}=m;if(_.length){if(w&7)r&&_.some(ir)&&(g=iy(g,r)),m=lo(m,g,!1,!0);else if({}.NODE_ENV!=="production"&&!Hi&&m.type!==fe){const $=Object.keys(i),Y=[],B=[];for(let M=0,ut=$.length;M<ut;M++){const j=$[M];is(j)?ir(j)||Y.push(j[2].toLowerCase()+j.slice(3)):B.push(j)}B.length&&J(`Extraneous non-props attributes (${B.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.`),Y.length&&J(`Extraneous non-emits event listeners (${Y.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`)}}}return e.dirs&&({}.NODE_ENV!=="production"&&!gf(m)&&J("Runtime directive used on component with non-element root node. The directives will not function as intended."),m=lo(m,null,!1,!0),m.dirs=m.dirs?m.dirs.concat(e.dirs):e.dirs),e.transition&&({}.NODE_ENV!=="production"&&!gf(m)&&J("Component inside <Transition> renders non-element root node that cannot be animated."),zn(m,e.transition)),{}.NODE_ENV!=="production"&&y?y(m):k=m,Er(x),k}const mf=o=>{const t=o.children,e=o.dynamicChildren,n=ji(t,!1);if(n){if({}.NODE_ENV!=="production"&&n.patchFlag>0&&n.patchFlag&2048)return mf(n)}else return[o,void 0];const s=t.indexOf(n),r=e?e.indexOf(n):-1,a=i=>{t[s]=i,e&&(r>-1?e[r]=i:i.patchFlag>0&&(o.dynamicChildren=[...e,i]))};return[co(n),a]};function ji(o,t=!0){let e;for(let n=0;n<o.length;n++){const s=o[n];if(jo(s)){if(s.type!==fe||s.children==="v-if"){if(e)return;if(e=s,{}.NODE_ENV!=="production"&&t&&e.patchFlag>0&&e.patchFlag&2048)return ji(e.children)}}else return}return e}const ay=o=>{let t;for(const e in o)(e==="class"||e==="style"||is(e))&&((t||(t={}))[e]=o[e]);return t},iy=(o,t)=>{const e={};for(const n in o)(!ir(n)||!(n.slice(9)in t))&&(e[n]=o[n]);return e},gf=o=>o.shapeFlag&7||o.type===fe;function ly(o,t,e){const{props:n,children:s,component:r}=o,{props:a,children:i,patchFlag:l}=t,c=r.emitsOptions;if({}.NODE_ENV!=="production"&&(s||i)&&_o||t.dirs||t.transition)return!0;if(e&&l>=0){if(l&1024)return!0;if(l&16)return n?yf(n,a,c):!!a;if(l&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(a[d]!==n[d]&&!zr(c,d))return!0}}}else return(s||i)&&(!i||!i.$stable)?!0:n===a?!1:n?a?yf(n,a,c):!0:!!a;return!1}function yf(o,t,e){const n=Object.keys(t);if(n.length!==Object.keys(o).length)return!0;for(let s=0;s<n.length;s++){const r=n[s];if(t[r]!==o[r]&&!zr(e,r))return!0}return!1}function cy({vnode:o,parent:t},e){for(;t;){const n=t.subTree;if(n.suspense&&n.suspense.activeBranch===o&&(n.el=o.el),n===o)(o=t.vnode).el=e,t=t.parent;else break}}const Mr=o=>o.__isSuspense;function uy(o,t){t&&t.pendingBranch?bt(o)?t.effects.push(...o):t.effects.push(o):_u(o)}const Dt=Symbol.for("v-fgt"),Cs=Symbol.for("v-txt"),fe=Symbol.for("v-cmt"),Ts=Symbol.for("v-stc"),Es=[];let Ve=null;function I(o=!1){Es.push(Ve=o?null:[])}function fy(){Es.pop(),Ve=Es[Es.length-1]||null}let Ss=1;function vf(o,t=!1){Ss+=o,o<0&&Ve&&t&&(Ve.hasOnce=!0)}function bf(o){return o.dynamicChildren=Ss>0?Ve||In:null,fy(),Ss>0&&Ve&&Ve.push(o),o}function D(o,t,e,n,s,r){return bf(v(o,t,e,n,s,r,!0))}function dt(o,t,e,n,s){return bf(Z(o,t,e,n,s,!0))}function jo(o){return o?o.__v_isVNode===!0:!1}function Wo(o,t){if({}.NODE_ENV!=="production"&&t.shapeFlag&6&&o.component){const e=Cr.get(t.type);if(e&&e.has(o.component))return o.shapeFlag&=-257,t.shapeFlag&=-513,!1}return o.type===t.type&&o.key===t.key}const dy=(...o)=>xf(...o),_f=({key:o})=>o??null,Lr=({ref:o,ref_key:t,ref_for:e})=>(typeof o=="number"&&(o=""+o),o!=null?re(o)||ge(o)||Ct(o)?{i:ye,r:o,k:t,f:!!e}:o:null);function v(o,t=null,e=null,n=0,s=null,r=o===Dt?0:1,a=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:o,props:t,key:t&&_f(t),ref:t&&Lr(t),scopeId:Pu,slotScopeIds:null,children:e,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:n,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:ye};return i?(Wi(l,e),r&128&&o.normalize(l)):e&&(l.shapeFlag|=re(e)?8:16),{}.NODE_ENV!=="production"&&l.key!==l.key&&J("VNode created with invalid key (NaN). VNode type:",l.type),Ss>0&&!a&&Ve&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&Ve.push(l),l}const Z={}.NODE_ENV!=="production"?dy:xf;function xf(o,t=null,e=null,n=0,s=null,r=!1){if((!o||o===Vu)&&({}.NODE_ENV!=="production"&&!o&&J(`Invalid vnode type when creating vnode: ${o}.`),o=fe),jo(o)){const i=lo(o,t,!0);return e&&Wi(i,e),Ss>0&&!r&&Ve&&(i.shapeFlag&6?Ve[Ve.indexOf(o)]=i:Ve.push(i)),i.patchFlag=-2,i}if(Pf(o)&&(o=o.__vccOpts),t){t=hy(t);let{class:i,style:l}=t;i&&!re(i)&&(t.class=jt(i)),Kt(l)&&(gr(l)&&!bt(l)&&(l=oe({},l)),t.style=N(l))}const a=re(o)?1:Mr(o)?128:Iu(o)?64:Kt(o)?4:Ct(o)?2:0;return{}.NODE_ENV!=="production"&&a&4&&gr(o)&&(o=It(o),J("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
|
|
20
|
-
Component that was made reactive: `,o)),v(o,t,e,n,s,a,r,!0)}function hy(o){return o?gr(o)||ef(o)?oe({},o):o:null}function lo(o,t,e=!1,n=!1){const{props:s,ref:r,patchFlag:a,children:i,transition:l}=o,c=t?qi(s||{},t):s,u={__v_isVNode:!0,__v_skip:!0,type:o.type,props:c,key:c&&_f(c),ref:t&&t.ref?e&&r?bt(r)?r.concat(Lr(t)):[r,Lr(t)]:Lr(t):r,scopeId:o.scopeId,slotScopeIds:o.slotScopeIds,children:{}.NODE_ENV!=="production"&&a===-1&&bt(i)?i.map(kf):i,target:o.target,targetStart:o.targetStart,targetAnchor:o.targetAnchor,staticCount:o.staticCount,shapeFlag:o.shapeFlag,patchFlag:t&&o.type!==Dt?a===-1?16:a|16:a,dynamicProps:o.dynamicProps,dynamicChildren:o.dynamicChildren,appContext:o.appContext,dirs:o.dirs,transition:l,component:o.component,suspense:o.suspense,ssContent:o.ssContent&&lo(o.ssContent),ssFallback:o.ssFallback&&lo(o.ssFallback),el:o.el,anchor:o.anchor,ctx:o.ctx,ce:o.ce};return l&&n&&zn(u,l.clone(u)),u}function kf(o){const t=lo(o);return bt(o.children)&&(t.children=o.children.map(kf)),t}function Bt(o=" ",t=0){return Z(Cs,null,o,t)}function py(o,t){const e=Z(Ts,null,o);return e.staticCount=t,e}function yt(o="",t=!1){return t?(I(),dt(fe,null,o)):Z(fe,null,o)}function co(o){return o==null||typeof o=="boolean"?Z(fe):bt(o)?Z(Dt,null,o.slice()):jo(o)?qo(o):Z(Cs,null,String(o))}function qo(o){return o.el===null&&o.patchFlag!==-1||o.memo?o:lo(o)}function Wi(o,t){let e=0;const{shapeFlag:n}=o;if(t==null)t=null;else if(bt(t))e=16;else if(typeof t=="object")if(n&65){const s=t.default;s&&(s._c&&(s._d=!1),Wi(o,s()),s._c&&(s._d=!0));return}else{e=32;const s=t._;!s&&!ef(t)?t._ctx=ye:s===3&&ye&&(ye.slots._===1?t._=1:(t._=2,o.patchFlag|=1024))}else Ct(t)?(t={default:t,_ctx:ye},e=32):(t=String(t),n&64?(e=16,t=[Bt(t)]):e=8);o.children=t,o.shapeFlag|=e}function qi(...o){const t={};for(let e=0;e<o.length;e++){const n=o[e];for(const s in n)if(s==="class")t.class!==n.class&&(t.class=jt([t.class,n.class]));else if(s==="style")t.style=N([t.style,n.style]);else if(is(s)){const r=t[s],a=n[s];a&&r!==a&&!(bt(r)&&r.includes(a))&&(t[s]=r?[].concat(r,a):a)}else s!==""&&(t[s]=n[s])}return t}function je(o,t,e,n=null){ao(o,t,7,[e,n])}const my=Qu();let gy=0;function yy(o,t,e){const n=o.type,s=(t?t.appContext:o.appContext)||my,r={uid:gy++,vnode:o,type:n,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new m0(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:nf(n,s),emitsOptions:pf(n,s),emit:null,emitted:null,propsDefaults:qt,inheritAttrs:n.inheritAttrs,ctx:qt,data:qt,props:qt,attrs:qt,slots:qt,refs:qt,setupState:qt,setupContext:null,suspense:e,suspenseId:e?e.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return{}.NODE_ENV!=="production"?r.ctx=Cg(r):r.ctx={_:r},r.root=t?t.root:r,r.emit=ry.bind(null,r),o.ce&&o.ce(r),r}let xe=null;const Ko=()=>xe||ye;let Br,Ki;{const o=us(),t=(e,n)=>{let s;return(s=o[e])||(s=o[e]=[]),s.push(n),r=>{s.length>1?s.forEach(a=>a(r)):s[0](r)}};Br=t("__VUE_INSTANCE_SETTERS__",e=>xe=e),Ki=t("__VUE_SSR_SETTERS__",e=>Ps=e)}const Os=o=>{const t=xe;return Br(o),o.scope.on(),()=>{o.scope.off(),Br(t)}},wf=()=>{xe&&xe.scope.off(),Br(null)},vy=So("slot,component");function Qi(o,{isNativeTag:t}){(vy(o)||t(o))&&J("Do not use built-in or reserved HTML elements as component id: "+o)}function Cf(o){return o.vnode.shapeFlag&4}let Ps=!1;function by(o,t=!1,e=!1){t&&Ki(t);const{props:n,children:s}=o.vnode,r=Cf(o);Dg(o,n,r,t),jg(o,s,e);const a=r?_y(o,t):void 0;return t&&Ki(!1),a}function _y(o,t){var e;const n=o.type;if({}.NODE_ENV!=="production"){if(n.name&&Qi(n.name,o.appContext.config),n.components){const r=Object.keys(n.components);for(let a=0;a<r.length;a++)Qi(r[a],o.appContext.config)}if(n.directives){const r=Object.keys(n.directives);for(let a=0;a<r.length;a++)Ru(r[a])}n.compilerOptions&&xy()&&J('"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.')}o.accessCache=Object.create(null),o.proxy=new Proxy(o.ctx,Hu),{}.NODE_ENV!=="production"&&Tg(o);const{setup:s}=n;if(s){Po();const r=o.setupContext=s.length>1?Of(o):null,a=Os(o),i=$n(s,o,0,[{}.NODE_ENV!=="production"?vo(o.props):o.props,r]),l=ai(i);if(Ro(),a(),(l||o.sp)&&!_n(o)&&Mu(o),l){if(i.then(wf,wf),t)return i.then(c=>{Tf(o,c,t)}).catch(c=>{gs(c,o,0)});if(o.asyncDep=i,{}.NODE_ENV!=="production"&&!o.suspense){const c=(e=n.name)!=null?e:"Anonymous";J(`Component <${c}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`)}}else Tf(o,i,t)}else Ef(o,t)}function Tf(o,t,e){Ct(t)?o.type.__ssrInlineRender?o.ssrRender=t:o.render=t:Kt(t)?({}.NODE_ENV!=="production"&&jo(t)&&J("setup() should not return VNodes directly - return a render function instead."),{}.NODE_ENV!=="production"&&(o.devtoolsRawSetupState=t),o.setupState=gu(t),{}.NODE_ENV!=="production"&&Eg(o)):{}.NODE_ENV!=="production"&&t!==void 0&&J(`setup() should return an object. Received: ${t===null?"null":typeof t}`),Ef(o,e)}let Ji;const xy=()=>!Ji;function Ef(o,t,e){const n=o.type;if(!o.render){if(!t&&Ji&&!n.render){const s=n.template||Li(o).template;if(s){({}).NODE_ENV!=="production"&&Fo(o,"compile");const{isCustomElement:r,compilerOptions:a}=o.appContext.config,{delimiters:i,compilerOptions:l}=n,c=oe(oe({isCustomElement:r,delimiters:i},a),l);n.render=Ji(s,c),{}.NODE_ENV!=="production"&&zo(o,"compile")}}o.render=n.render||be}{const s=Os(o);Po();try{Rg(o)}finally{Ro(),s()}}({}).NODE_ENV!=="production"&&!n.render&&o.render===be&&!t&&(n.template?J('Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'):J("Component is missing template or render function: ",n))}const Sf={}.NODE_ENV!=="production"?{get(o,t){return Dr(),_e(o,"get",""),o[t]},set(){return J("setupContext.attrs is readonly."),!1},deleteProperty(){return J("setupContext.attrs is readonly."),!1}}:{get(o,t){return _e(o,"get",""),o[t]}};function ky(o){return new Proxy(o.slots,{get(t,e){return _e(o,"get","$slots"),t[e]}})}function Of(o){const t=e=>{if({}.NODE_ENV!=="production"&&(o.exposed&&J("expose() should be called only once per setup()."),e!=null)){let n=typeof e;n==="object"&&(bt(e)?n="array":ge(e)&&(n="ref")),n!=="object"&&J(`expose() should be passed a plain object, received ${n}.`)}o.exposed=e||{}};if({}.NODE_ENV!=="production"){let e,n;return Object.freeze({get attrs(){return e||(e=new Proxy(o.attrs,Sf))},get slots(){return n||(n=ky(o))},get emit(){return(s,...r)=>o.emit(s,...r)},expose:t})}else return{attrs:new Proxy(o.attrs,Sf),slots:o.slots,emit:o.emit,expose:t}}function Yr(o){return o.exposed?o.exposeProxy||(o.exposeProxy=new Proxy(gu(F0(o.exposed)),{get(t,e){if(e in t)return t[e];if(e in xn)return xn[e](o)},has(t,e){return e in t||e in xn}})):o.proxy}const wy=/(?:^|[-_])(\w)/g,Cy=o=>o.replace(wy,t=>t.toUpperCase()).replace(/[-_]/g,"");function Rs(o,t=!0){return Ct(o)?o.displayName||o.name:o.name||t&&o.__name}function Vr(o,t,e=!1){let n=Rs(t);if(!n&&t.__file){const s=t.__file.match(/([^/\\]+)\.\w+$/);s&&(n=s[1])}if(!n&&o&&o.parent){const s=r=>{for(const a in r)if(r[a]===t)return a};n=s(o.components||o.parent.type.components)||s(o.appContext.components)}return n?Cy(n):e?"App":"Anonymous"}function Pf(o){return Ct(o)&&"__vccOpts"in o}const de=(o,t)=>{const e=B0(o,t,Ps);if({}.NODE_ENV!=="production"){const n=Ko();n&&n.appContext.config.warnRecursiveComputed&&(e._warnRecursive=!0)}return e};function Xt(o,t,e){const n=arguments.length;return n===2?Kt(t)&&!bt(t)?jo(t)?Z(o,null,[t]):Z(o,t):Z(o,null,t):(n>3?e=Array.prototype.slice.call(arguments,2):n===3&&jo(e)&&(e=[e]),Z(o,t,e))}function Ty(){if({}.NODE_ENV==="production"||typeof window>"u")return;const o={style:"color:#3ba776"},t={style:"color:#1677ff"},e={style:"color:#f5222d"},n={style:"color:#eb2f96"},s={__vue_custom_formatter:!0,header(f){return Kt(f)?f.__isVue?["div",o,"VueInstance"]:ge(f)?["div",{},["span",o,u(f)],"<",i("_value"in f?f._value:f),">"]:mn(f)?["div",{},["span",o,Ae(f)?"ShallowReactive":"Reactive"],"<",i(f),`>${Ao(f)?" (readonly)":""}`]:Ao(f)?["div",{},["span",o,Ae(f)?"ShallowReadonly":"Readonly"],"<",i(f),">"]:null:null},hasBody(f){return f&&f.__isVue},body(f){if(f&&f.__isVue)return["div",{},...r(f.$)]}};function r(f){const d=[];f.type.props&&f.props&&d.push(a("props",It(f.props))),f.setupState!==qt&&d.push(a("setup",f.setupState)),f.data!==qt&&d.push(a("data",It(f.data)));const h=l(f,"computed");h&&d.push(a("computed",h));const p=l(f,"inject");return p&&d.push(a("injected",p)),d.push(["div",{},["span",{style:n.style+";opacity:0.66"},"$ (internal): "],["object",{object:f}]]),d}function a(f,d){return d=oe({},d),Object.keys(d).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},f],["div",{style:"padding-left:1.25em"},...Object.keys(d).map(h=>["div",{},["span",n,h+": "],i(d[h],!1)])]]:["span",{}]}function i(f,d=!0){return typeof f=="number"?["span",t,f]:typeof f=="string"?["span",e,JSON.stringify(f)]:typeof f=="boolean"?["span",n,f]:Kt(f)?["object",{object:d?It(f):f}]:["span",e,String(f)]}function l(f,d){const h=f.type;if(Ct(h))return;const p={};for(const b in f.ctx)c(h,b,d)&&(p[b]=f.ctx[b]);return p}function c(f,d,h){const p=f[h];if(bt(p)&&p.includes(d)||Kt(p)&&d in p||f.extends&&c(f.extends,d,h)||f.mixins&&f.mixins.some(b=>c(b,d,h)))return!0}function u(f){return Ae(f)?"ShallowRef":f.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(s):window.devtoolsFormatters=[s]}const Rf="3.5.13",Le={}.NODE_ENV!=="production"?J:be;/**
|
|
19
|
+
For more details, see https://link.vuejs.org/feature-flags.`)}}const Se=uy;function Kg(o){return Qg(o)}function Qg(o,t){qg();const e=us();e.__VUE__=!0,{}.NODE_ENV!=="production"&&Eu(e.__VUE_DEVTOOLS_GLOBAL_HOOK__,e);const{insert:n,remove:s,patchProp:r,createElement:a,createText:i,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=be,insertStaticContent:p}=o,b=(S,E,z,X=null,U=null,H=null,rt=void 0,q=null,nt={}.NODE_ENV!=="production"&&_o?!1:!!E.dynamicChildren)=>{if(S===E)return;S&&!Wo(S,E)&&(X=ot(S),et(S,U,H,!0),S=null),E.patchFlag===-2&&(nt=!1,E.dynamicChildren=null);const{type:Q,ref:wt,shapeFlag:lt}=E;switch(Q){case Cs:x(S,E,z,X);break;case fe:k(S,E,z,X);break;case Ts:S==null?g(E,z,X,rt):{}.NODE_ENV!=="production"&&m(S,E,z,rt);break;case Dt:tt(S,E,z,X,U,H,rt,q,nt);break;default:lt&1?w(S,E,z,X,U,H,rt,q,nt):lt&6?gt(S,E,z,X,U,H,rt,q,nt):lt&64||lt&128?Q.process(S,E,z,X,U,H,rt,q,nt,Pt):{}.NODE_ENV!=="production"&&J("Invalid VNode type:",Q,`(${typeof Q})`)}wt!=null&&U&&Or(wt,S&&S.ref,H,E||S,!E)},x=(S,E,z,X)=>{if(S==null)n(E.el=i(E.children),z,X);else{const U=E.el=S.el;E.children!==S.children&&c(U,E.children)}},k=(S,E,z,X)=>{S==null?n(E.el=l(E.children||""),z,X):E.el=S.el},g=(S,E,z,X)=>{[S.el,S.anchor]=p(S.children,E,z,X,S.el,S.anchor)},m=(S,E,z,X)=>{if(E.children!==S.children){const U=d(S.anchor);_(S),[E.el,E.anchor]=p(E.children,z,U,X)}else E.el=S.el,E.anchor=S.anchor},y=({el:S,anchor:E},z,X)=>{let U;for(;S&&S!==E;)U=d(S),n(S,z,X),S=U;n(E,z,X)},_=({el:S,anchor:E})=>{let z;for(;S&&S!==E;)z=d(S),s(S),S=z;s(E)},w=(S,E,z,X,U,H,rt,q,nt)=>{E.type==="svg"?rt="svg":E.type==="math"&&(rt="mathml"),S==null?$(E,z,X,U,H,rt,q,nt):M(S,E,U,H,rt,q,nt)},$=(S,E,z,X,U,H,rt,q)=>{let nt,Q;const{props:wt,shapeFlag:lt,transition:vt,dirs:St}=S;if(nt=S.el=a(S.type,H,wt&&wt.is,wt),lt&8?u(nt,S.children):lt&16&&B(S.children,nt,null,X,U,Xi(S,H),rt,q),St&&bn(S,null,X,"created"),Y(nt,S,S.scopeId,rt,X),wt){for(const te in wt)te!=="value"&&!cs(te)&&r(nt,te,null,wt[te],H,X);"value"in wt&&r(nt,"value",null,wt.value,H),(Q=wt.onVnodeBeforeMount)&&je(Q,X,S)}({}).NODE_ENV!=="production"&&(ur(nt,"__vnode",S,!0),ur(nt,"__vueParentComponent",X,!0)),St&&bn(S,null,X,"beforeMount");const Ft=Jg(U,vt);Ft&&vt.beforeEnter(nt),n(nt,E,z),((Q=wt&&wt.onVnodeMounted)||Ft||St)&&Se(()=>{Q&&je(Q,X,S),Ft&&vt.enter(nt),St&&bn(S,null,X,"mounted")},U)},Y=(S,E,z,X,U)=>{if(z&&h(S,z),X)for(let H=0;H<X.length;H++)h(S,X[H]);if(U){let H=U.subTree;if({}.NODE_ENV!=="production"&&H.patchFlag>0&&H.patchFlag&2048&&(H=Gi(H.children)||H),E===H||Mr(H.type)&&(H.ssContent===E||H.ssFallback===E)){const rt=U.vnode;Y(S,rt,rt.scopeId,rt.slotScopeIds,U.parent)}}},B=(S,E,z,X,U,H,rt,q,nt=0)=>{for(let Q=nt;Q<S.length;Q++){const wt=S[Q]=q?qo(S[Q]):co(S[Q]);b(null,wt,E,z,X,U,H,rt,q)}},M=(S,E,z,X,U,H,rt)=>{const q=E.el=S.el;({}).NODE_ENV!=="production"&&(q.__vnode=E);let{patchFlag:nt,dynamicChildren:Q,dirs:wt}=E;nt|=S.patchFlag&16;const lt=S.props||qt,vt=E.props||qt;let St;if(z&&kn(z,!1),(St=vt.onVnodeBeforeUpdate)&&je(St,z,E,S),wt&&bn(E,S,z,"beforeUpdate"),z&&kn(z,!0),{}.NODE_ENV!=="production"&&_o&&(nt=0,rt=!1,Q=null),(lt.innerHTML&&vt.innerHTML==null||lt.textContent&&vt.textContent==null)&&u(q,""),Q?(ut(S.dynamicChildren,Q,q,z,X,Xi(E,U),H),{}.NODE_ENV!=="production"&&Nr(S,E)):rt||ne(S,E,q,null,z,X,Xi(E,U),H,!1),nt>0){if(nt&16)j(q,lt,vt,z,U);else if(nt&2&<.class!==vt.class&&r(q,"class",null,vt.class,U),nt&4&&r(q,"style",lt.style,vt.style,U),nt&8){const Ft=E.dynamicProps;for(let te=0;te<Ft.length;te++){const Gt=Ft[te],Ce=lt[Gt],ve=vt[Gt];(ve!==Ce||Gt==="value")&&r(q,Gt,Ce,ve,U,z)}}nt&1&&S.children!==E.children&&u(q,E.children)}else!rt&&Q==null&&j(q,lt,vt,z,U);((St=vt.onVnodeUpdated)||wt)&&Se(()=>{St&&je(St,z,E,S),wt&&bn(E,S,z,"updated")},X)},ut=(S,E,z,X,U,H,rt)=>{for(let q=0;q<E.length;q++){const nt=S[q],Q=E[q],wt=nt.el&&(nt.type===Dt||!Wo(nt,Q)||nt.shapeFlag&70)?f(nt.el):z;b(nt,Q,wt,null,X,U,H,rt,!0)}},j=(S,E,z,X,U)=>{if(E!==z){if(E!==qt)for(const H in E)!cs(H)&&!(H in z)&&r(S,H,E[H],null,U,X);for(const H in z){if(cs(H))continue;const rt=z[H],q=E[H];rt!==q&&H!=="value"&&r(S,H,q,rt,U,X)}"value"in z&&r(S,"value",E.value,z.value,U)}},tt=(S,E,z,X,U,H,rt,q,nt)=>{const Q=E.el=S?S.el:i(""),wt=E.anchor=S?S.anchor:i("");let{patchFlag:lt,dynamicChildren:vt,slotScopeIds:St}=E;({}).NODE_ENV!=="production"&&(_o||lt&2048)&&(lt=0,nt=!1,vt=null),St&&(q=q?q.concat(St):St),S==null?(n(Q,z,X),n(wt,z,X),B(E.children||[],z,wt,U,H,rt,q,nt)):lt>0&<&64&&vt&&S.dynamicChildren?(ut(S.dynamicChildren,vt,z,U,H,rt,q),{}.NODE_ENV!=="production"?Nr(S,E):(E.key!=null||U&&E===U.subTree)&&Nr(S,E,!0)):ne(S,E,z,wt,U,H,rt,q,nt)},gt=(S,E,z,X,U,H,rt,q,nt)=>{E.slotScopeIds=q,S==null?E.shapeFlag&512?U.ctx.activate(E,z,X,rt,nt):Ot(E,z,X,U,H,rt,nt):$t(S,E,nt)},Ot=(S,E,z,X,U,H,rt)=>{const q=S.component=yy(S,X,U);if({}.NODE_ENV!=="production"&&q.type.__hmrId&&K0(q),{}.NODE_ENV!=="production"&&(br(S),Fo(q,"mount")),_s(S)&&(q.ctx.renderer=Pt),{}.NODE_ENV!=="production"&&Fo(q,"init"),by(q,!1,rt),{}.NODE_ENV!=="production"&&zo(q,"init"),q.asyncDep){if({}.NODE_ENV!=="production"&&_o&&(S.el=null),U&&U.registerDep(q,xt,rt),!S.el){const nt=q.subTree=Z(fe);k(null,nt,E,z)}}else xt(q,S,E,z,U,H,rt);({}).NODE_ENV!=="production"&&(_r(),zo(q,"mount"))},$t=(S,E,z)=>{const X=E.component=S.component;if(ly(S,E,z))if(X.asyncDep&&!X.asyncResolved){({}).NODE_ENV!=="production"&&br(E),kt(X,E,z),{}.NODE_ENV!=="production"&&_r();return}else X.next=E,X.update();else E.el=S.el,X.vnode=E},xt=(S,E,z,X,U,H,rt)=>{const q=()=>{if(S.isMounted){let{next:lt,bu:vt,u:St,parent:Ft,vnode:te}=S;{const ze=df(S);if(ze){lt&&(lt.el=te.el,kt(S,lt,rt)),ze.asyncDep.then(()=>{S.isUnmounted||q()});return}}let Gt=lt,Ce;({}).NODE_ENV!=="production"&&br(lt||S.vnode),kn(S,!1),lt?(lt.el=te.el,kt(S,lt,rt)):lt=te,vt&&hn(vt),(Ce=lt.props&<.props.onVnodeBeforeUpdate)&&je(Ce,Ft,lt,te),kn(S,!0),{}.NODE_ENV!=="production"&&Fo(S,"render");const ve=Hi(S);({}).NODE_ENV!=="production"&&zo(S,"render");const He=S.subTree;S.subTree=ve,{}.NODE_ENV!=="production"&&Fo(S,"patch"),b(He,ve,f(He.el),ot(He),S,U,H),{}.NODE_ENV!=="production"&&zo(S,"patch"),lt.el=ve.el,Gt===null&&cy(S,ve.el),St&&Se(St,U),(Ce=lt.props&<.props.onVnodeUpdated)&&Se(()=>je(Ce,Ft,lt,te),U),{}.NODE_ENV!=="production"&&Su(S),{}.NODE_ENV!=="production"&&_r()}else{let lt;const{el:vt,props:St}=E,{bm:Ft,m:te,parent:Gt,root:Ce,type:ve}=S,He=_n(E);if(kn(S,!1),Ft&&hn(Ft),!He&&(lt=St&&St.onVnodeBeforeMount)&&je(lt,Gt,E),kn(S,!0),vt&&Et){const ze=()=>{({}).NODE_ENV!=="production"&&Fo(S,"render"),S.subTree=Hi(S),{}.NODE_ENV!=="production"&&zo(S,"render"),{}.NODE_ENV!=="production"&&Fo(S,"hydrate"),Et(vt,S.subTree,S,U,null),{}.NODE_ENV!=="production"&&zo(S,"hydrate")};He&&ve.__asyncHydrate?ve.__asyncHydrate(vt,S,ze):ze()}else{Ce.ce&&Ce.ce._injectChildStyle(ve),{}.NODE_ENV!=="production"&&Fo(S,"render");const ze=S.subTree=Hi(S);({}).NODE_ENV!=="production"&&zo(S,"render"),{}.NODE_ENV!=="production"&&Fo(S,"patch"),b(null,ze,z,X,S,U,H),{}.NODE_ENV!=="production"&&zo(S,"patch"),E.el=ze.el}if(te&&Se(te,U),!He&&(lt=St&&St.onVnodeMounted)){const ze=E;Se(()=>je(lt,Gt,ze),U)}(E.shapeFlag&256||Gt&&_n(Gt.vnode)&&Gt.vnode.shapeFlag&256)&&S.a&&Se(S.a,U),S.isMounted=!0,{}.NODE_ENV!=="production"&&Si(S),E=z=X=null}};S.scope.on();const nt=S.effect=new jc(q);S.scope.off();const Q=S.update=nt.run.bind(nt),wt=S.job=nt.runIfDirty.bind(nt);wt.i=S,wt.id=S.uid,nt.scheduler=()=>wr(wt),kn(S,!0),{}.NODE_ENV!=="production"&&(nt.onTrack=S.rtc?lt=>hn(S.rtc,lt):void 0,nt.onTrigger=S.rtg?lt=>hn(S.rtg,lt):void 0),Q()},kt=(S,E,z)=>{E.component=S;const X=S.vnode.props;S.vnode=E,S.next=null,Lg(S,E.props,X,z),Wg(S,E.children,z),Po(),xu(S),Ro()},ne=(S,E,z,X,U,H,rt,q,nt=!1)=>{const Q=S&&S.children,wt=S?S.shapeFlag:0,lt=E.children,{patchFlag:vt,shapeFlag:St}=E;if(vt>0){if(vt&128){he(Q,lt,z,X,U,H,rt,q,nt);return}else if(vt&256){me(Q,lt,z,X,U,H,rt,q,nt);return}}St&8?(wt&16&&F(Q,U,H),lt!==Q&&u(z,lt)):wt&16?St&16?he(Q,lt,z,X,U,H,rt,q,nt):F(Q,U,H,!0):(wt&8&&u(z,""),St&16&&B(lt,z,X,U,H,rt,q,nt))},me=(S,E,z,X,U,H,rt,q,nt)=>{S=S||In,E=E||In;const Q=S.length,wt=E.length,lt=Math.min(Q,wt);let vt;for(vt=0;vt<lt;vt++){const St=E[vt]=nt?qo(E[vt]):co(E[vt]);b(S[vt],St,z,null,U,H,rt,q,nt)}Q>wt?F(S,U,H,!0,!1,lt):B(E,z,X,U,H,rt,q,nt,lt)},he=(S,E,z,X,U,H,rt,q,nt)=>{let Q=0;const wt=E.length;let lt=S.length-1,vt=wt-1;for(;Q<=lt&&Q<=vt;){const St=S[Q],Ft=E[Q]=nt?qo(E[Q]):co(E[Q]);if(Wo(St,Ft))b(St,Ft,z,null,U,H,rt,q,nt);else break;Q++}for(;Q<=lt&&Q<=vt;){const St=S[lt],Ft=E[vt]=nt?qo(E[vt]):co(E[vt]);if(Wo(St,Ft))b(St,Ft,z,null,U,H,rt,q,nt);else break;lt--,vt--}if(Q>lt){if(Q<=vt){const St=vt+1,Ft=St<wt?E[St].el:X;for(;Q<=vt;)b(null,E[Q]=nt?qo(E[Q]):co(E[Q]),z,Ft,U,H,rt,q,nt),Q++}}else if(Q>vt)for(;Q<=lt;)et(S[Q],U,H,!0),Q++;else{const St=Q,Ft=Q,te=new Map;for(Q=Ft;Q<=vt;Q++){const Oe=E[Q]=nt?qo(E[Q]):co(E[Q]);Oe.key!=null&&({}.NODE_ENV!=="production"&&te.has(Oe.key)&&J("Duplicate keys found during update:",JSON.stringify(Oe.key),"Make sure keys are unique."),te.set(Oe.key,Q))}let Gt,Ce=0;const ve=vt-Ft+1;let He=!1,ze=0;const Pn=new Array(ve);for(Q=0;Q<ve;Q++)Pn[Q]=0;for(Q=St;Q<=lt;Q++){const Oe=S[Q];if(Ce>=ve){et(Oe,U,H,!0);continue}let De;if(Oe.key!=null)De=te.get(Oe.key);else for(Gt=Ft;Gt<=vt;Gt++)if(Pn[Gt-Ft]===0&&Wo(Oe,E[Gt])){De=Gt;break}De===void 0?et(Oe,U,H,!0):(Pn[De-Ft]=Q+1,De>=ze?ze=De:He=!0,b(Oe,E[De],z,null,U,H,rt,q,nt),Ce++)}const qa=He?ty(Pn):In;for(Gt=qa.length-1,Q=ve-1;Q>=0;Q--){const Oe=Ft+Q,De=E[Oe],Ka=Oe+1<wt?E[Oe+1].el:X;Pn[Q]===0?b(null,De,z,Ka,U,H,rt,q,nt):He&&(Gt<0||Q!==qa[Gt]?Vt(De,z,Ka,2):Gt--)}}},Vt=(S,E,z,X,U=null)=>{const{el:H,type:rt,transition:q,children:nt,shapeFlag:Q}=S;if(Q&6){Vt(S.component.subTree,E,z,X);return}if(Q&128){S.suspense.move(E,z,X);return}if(Q&64){rt.move(S,E,z,Pt);return}if(rt===Dt){n(H,E,z);for(let lt=0;lt<nt.length;lt++)Vt(nt[lt],E,z,X);n(S.anchor,E,z);return}if(rt===Ts){y(S,E,z);return}if(X!==2&&Q&1&&q)if(X===0)q.beforeEnter(H),n(H,E,z),Se(()=>q.enter(H),U);else{const{leave:lt,delayLeave:vt,afterLeave:St}=q,Ft=()=>n(H,E,z),te=()=>{lt(H,()=>{Ft(),St&&St()})};vt?vt(H,Ft,te):te()}else n(H,E,z)},et=(S,E,z,X=!1,U=!1)=>{const{type:H,props:rt,ref:q,children:nt,dynamicChildren:Q,shapeFlag:wt,patchFlag:lt,dirs:vt,cacheIndex:St}=S;if(lt===-2&&(U=!1),q!=null&&Or(q,null,z,S,!0),St!=null&&(E.renderCache[St]=void 0),wt&256){E.ctx.deactivate(S);return}const Ft=wt&1&&vt,te=!_n(S);let Gt;if(te&&(Gt=rt&&rt.onVnodeBeforeUnmount)&&je(Gt,E,S),wt&6)Nt(S.component,z,X);else{if(wt&128){S.suspense.unmount(z,X);return}Ft&&bn(S,null,E,"beforeUnmount"),wt&64?S.type.remove(S,E,z,Pt,X):Q&&!Q.hasOnce&&(H!==Dt||lt>0&<&64)?F(Q,E,z,!1,!0):(H===Dt&<&384||!U&&wt&16)&&F(nt,E,z),X&&A(S)}(te&&(Gt=rt&&rt.onVnodeUnmounted)||Ft)&&Se(()=>{Gt&&je(Gt,E,S),Ft&&bn(S,null,E,"unmounted")},z)},A=S=>{const{type:E,el:z,anchor:X,transition:U}=S;if(E===Dt){({}).NODE_ENV!=="production"&&S.patchFlag>0&&S.patchFlag&2048&&U&&!U.persisted?S.children.forEach(rt=>{rt.type===fe?s(rt.el):A(rt)}):se(z,X);return}if(E===Ts){_(S);return}const H=()=>{s(z),U&&!U.persisted&&U.afterLeave&&U.afterLeave()};if(S.shapeFlag&1&&U&&!U.persisted){const{leave:rt,delayLeave:q}=U,nt=()=>rt(z,H);q?q(S.el,H,nt):nt()}else H()},se=(S,E)=>{let z;for(;S!==E;)z=d(S),s(S),S=z;s(E)},Nt=(S,E,z)=>{({}).NODE_ENV!=="production"&&S.type.__hmrId&&Q0(S);const{bum:X,scope:U,job:H,subTree:rt,um:q,m:nt,a:Q}=S;Fr(nt),Fr(Q),X&&hn(X),U.stop(),H&&(H.flags|=8,et(rt,S,E,z)),q&&Se(q,E),Se(()=>{S.isUnmounted=!0},E),E&&E.pendingBranch&&!E.isUnmounted&&S.asyncDep&&!S.asyncResolved&&S.suspenseId===E.pendingId&&(E.deps--,E.deps===0&&E.resolve()),{}.NODE_ENV!=="production"&&sg(S)},F=(S,E,z,X=!1,U=!1,H=0)=>{for(let rt=H;rt<S.length;rt++)et(S[rt],E,z,X,U)},ot=S=>{if(S.shapeFlag&6)return ot(S.component.subTree);if(S.shapeFlag&128)return S.suspense.next();const E=d(S.anchor||S.el),z=E&&E[cg];return z?d(z):E};let G=!1;const it=(S,E,z)=>{S==null?E._vnode&&et(E._vnode,null,null,!0):b(E._vnode||null,S,E,null,null,null,z),E._vnode=S,G||(G=!0,xu(),ku(),G=!1)},Pt={p:b,um:et,m:Vt,r:A,mt:Ot,mc:B,pc:ne,pbc:ut,n:ot,o};let Ht,Et;return t&&([Ht,Et]=t(Pt)),{render:it,hydrate:Ht,createApp:zg(it,Ht)}}function Xi({type:o,props:t},e){return e==="svg"&&o==="foreignObject"||e==="mathml"&&o==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:e}function kn({effect:o,job:t},e){e?(o.flags|=32,t.flags|=4):(o.flags&=-33,t.flags&=-5)}function Jg(o,t){return(!o||o&&!o.pendingBranch)&&t&&!t.persisted}function Nr(o,t,e=!1){const n=o.children,s=t.children;if(bt(n)&&bt(s))for(let r=0;r<n.length;r++){const a=n[r];let i=s[r];i.shapeFlag&1&&!i.dynamicChildren&&((i.patchFlag<=0||i.patchFlag===32)&&(i=s[r]=qo(s[r]),i.el=a.el),!e&&i.patchFlag!==-2&&Nr(a,i)),i.type===Cs&&(i.el=a.el),{}.NODE_ENV!=="production"&&i.type===fe&&!i.el&&(i.el=a.el)}}function ty(o){const t=o.slice(),e=[0];let n,s,r,a,i;const l=o.length;for(n=0;n<l;n++){const c=o[n];if(c!==0){if(s=e[e.length-1],o[s]<c){t[n]=s,e.push(n);continue}for(r=0,a=e.length-1;r<a;)i=r+a>>1,o[e[i]]<c?r=i+1:a=i;c<o[e[r]]&&(r>0&&(t[n]=e[r-1]),e[r]=n)}}for(r=e.length,a=e[r-1];r-- >0;)e[r]=a,a=t[a];return e}function df(o){const t=o.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:df(t)}function Fr(o){if(o)for(let t=0;t<o.length;t++)o[t].flags|=8}const ey=Symbol.for("v-scx"),oy=()=>{{const o=io(ey);return o||{}.NODE_ENV!=="production"&&J("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),o}};function Mn(o,t){return Zi(o,null,t)}function Rt(o,t,e){return{}.NODE_ENV!=="production"&&!Ct(t)&&J("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),Zi(o,t,e)}function Zi(o,t,e=qt){const{immediate:n,deep:s,flush:r,once:a}=e;({}).NODE_ENV!=="production"&&!t&&(n!==void 0&&J('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),s!==void 0&&J('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),a!==void 0&&J('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const i=oe({},e);({}).NODE_ENV!=="production"&&(i.onWarn=J);const l=t&&n||!t&&r!=="post";let c;if(Ps){if(r==="sync"){const h=oy();c=h.__watcherHandles||(h.__watcherHandles=[])}else if(!l){const h=()=>{};return h.stop=be,h.resume=be,h.pause=be,h}}const u=xe;i.call=(h,p,b)=>ao(h,u,p,b);let f=!1;r==="post"?i.scheduler=h=>{Se(h,u&&u.suspense)}:r!=="sync"&&(f=!0,i.scheduler=(h,p)=>{p?h():wr(h)}),i.augmentJob=h=>{t&&(h.flags|=4),f&&(h.flags|=2,u&&(h.id=u.uid,h.i=u))};const d=V0(o,t,i);return Ps&&(c?c.push(d):l&&d()),d}function ny(o,t,e){const n=this.proxy,s=re(o)?o.includes(".")?hf(n,o):()=>n[o]:o.bind(n,n);let r;Ct(t)?r=t:(r=t.handler,e=t);const a=Os(this),i=Zi(s,r.bind(n),e);return a(),i}function hf(o,t){const e=t.split(".");return()=>{let n=o;for(let s=0;s<e.length&&n;s++)n=n[e[s]];return n}}const sy=(o,t)=>t==="modelValue"||t==="model-value"?o.modelModifiers:o[`${t}Modifiers`]||o[`${we(t)}Modifiers`]||o[`${Be(t)}Modifiers`];function ry(o,t,...e){if(o.isUnmounted)return;const n=o.vnode.props||qt;if({}.NODE_ENV!=="production"){const{emitsOptions:u,propsOptions:[f]}=o;if(u)if(!(t in u))(!f||!(dn(we(t))in f))&&J(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${dn(we(t))}" prop.`);else{const d=u[t];Ct(d)&&(d(...e)||J(`Invalid event arguments: event validation failed for event "${t}".`))}}let s=e;const r=t.startsWith("update:"),a=r&&sy(n,t.slice(7));if(a&&(a.trim&&(s=e.map(u=>re(u)?u.trim():u)),a.number&&(s=e.map(n0))),{}.NODE_ENV!=="production"&&ig(o,t,s),{}.NODE_ENV!=="production"){const u=t.toLowerCase();u!==t&&n[dn(u)]&&J(`Event "${u}" is emitted in component ${Vr(o,o.type)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${Be(t)}" instead of "${t}".`)}let i,l=n[i=dn(t)]||n[i=dn(we(t))];!l&&r&&(l=n[i=dn(Be(t))]),l&&ao(l,o,6,s);const c=n[i+"Once"];if(c){if(!o.emitted)o.emitted={};else if(o.emitted[i])return;o.emitted[i]=!0,ao(c,o,6,s)}}function pf(o,t,e=!1){const n=t.emitsCache,s=n.get(o);if(s!==void 0)return s;const r=o.emits;let a={},i=!1;if(!Ct(o)){const l=c=>{const u=pf(c,t,!0);u&&(i=!0,oe(a,u))};!e&&t.mixins.length&&t.mixins.forEach(l),o.extends&&l(o.extends),o.mixins&&o.mixins.forEach(l)}return!r&&!i?(Kt(o)&&n.set(o,null),null):(bt(r)?r.forEach(l=>a[l]=null):oe(a,r),Kt(o)&&n.set(o,a),a)}function zr(o,t){return!o||!is(t)?!1:(t=t.slice(2).replace(/Once$/,""),Lt(o,t[0].toLowerCase()+t.slice(1))||Lt(o,Be(t))||Lt(o,t))}let Ui=!1;function Dr(){Ui=!0}function Hi(o){const{type:t,vnode:e,proxy:n,withProxy:s,propsOptions:[r],slots:a,attrs:i,emit:l,render:c,renderCache:u,props:f,data:d,setupState:h,ctx:p,inheritAttrs:b}=o,x=Er(o);let k,g;({}).NODE_ENV!=="production"&&(Ui=!1);try{if(e.shapeFlag&4){const _=s||n,w={}.NODE_ENV!=="production"&&h.__isScriptSetup?new Proxy(_,{get($,Y,B){return J(`Property '${String(Y)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get($,Y,B)}}):_;k=co(c.call(w,_,u,{}.NODE_ENV!=="production"?vo(f):f,h,d,p)),g=i}else{const _=t;({}).NODE_ENV!=="production"&&i===f&&Dr(),k=co(_.length>1?_({}.NODE_ENV!=="production"?vo(f):f,{}.NODE_ENV!=="production"?{get attrs(){return Dr(),vo(i)},slots:a,emit:l}:{attrs:i,slots:a,emit:l}):_({}.NODE_ENV!=="production"?vo(f):f,null)),g=t.props?i:ay(i)}}catch(_){Es.length=0,gs(_,o,1),k=Z(fe)}let m=k,y;if({}.NODE_ENV!=="production"&&k.patchFlag>0&&k.patchFlag&2048&&([m,y]=mf(k)),g&&b!==!1){const _=Object.keys(g),{shapeFlag:w}=m;if(_.length){if(w&7)r&&_.some(ir)&&(g=iy(g,r)),m=lo(m,g,!1,!0);else if({}.NODE_ENV!=="production"&&!Ui&&m.type!==fe){const $=Object.keys(i),Y=[],B=[];for(let M=0,ut=$.length;M<ut;M++){const j=$[M];is(j)?ir(j)||Y.push(j[2].toLowerCase()+j.slice(3)):B.push(j)}B.length&&J(`Extraneous non-props attributes (${B.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.`),Y.length&&J(`Extraneous non-emits event listeners (${Y.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`)}}}return e.dirs&&({}.NODE_ENV!=="production"&&!gf(m)&&J("Runtime directive used on component with non-element root node. The directives will not function as intended."),m=lo(m,null,!1,!0),m.dirs=m.dirs?m.dirs.concat(e.dirs):e.dirs),e.transition&&({}.NODE_ENV!=="production"&&!gf(m)&&J("Component inside <Transition> renders non-element root node that cannot be animated."),zn(m,e.transition)),{}.NODE_ENV!=="production"&&y?y(m):k=m,Er(x),k}const mf=o=>{const t=o.children,e=o.dynamicChildren,n=Gi(t,!1);if(n){if({}.NODE_ENV!=="production"&&n.patchFlag>0&&n.patchFlag&2048)return mf(n)}else return[o,void 0];const s=t.indexOf(n),r=e?e.indexOf(n):-1,a=i=>{t[s]=i,e&&(r>-1?e[r]=i:i.patchFlag>0&&(o.dynamicChildren=[...e,i]))};return[co(n),a]};function Gi(o,t=!0){let e;for(let n=0;n<o.length;n++){const s=o[n];if(jo(s)){if(s.type!==fe||s.children==="v-if"){if(e)return;if(e=s,{}.NODE_ENV!=="production"&&t&&e.patchFlag>0&&e.patchFlag&2048)return Gi(e.children)}}else return}return e}const ay=o=>{let t;for(const e in o)(e==="class"||e==="style"||is(e))&&((t||(t={}))[e]=o[e]);return t},iy=(o,t)=>{const e={};for(const n in o)(!ir(n)||!(n.slice(9)in t))&&(e[n]=o[n]);return e},gf=o=>o.shapeFlag&7||o.type===fe;function ly(o,t,e){const{props:n,children:s,component:r}=o,{props:a,children:i,patchFlag:l}=t,c=r.emitsOptions;if({}.NODE_ENV!=="production"&&(s||i)&&_o||t.dirs||t.transition)return!0;if(e&&l>=0){if(l&1024)return!0;if(l&16)return n?yf(n,a,c):!!a;if(l&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(a[d]!==n[d]&&!zr(c,d))return!0}}}else return(s||i)&&(!i||!i.$stable)?!0:n===a?!1:n?a?yf(n,a,c):!0:!!a;return!1}function yf(o,t,e){const n=Object.keys(t);if(n.length!==Object.keys(o).length)return!0;for(let s=0;s<n.length;s++){const r=n[s];if(t[r]!==o[r]&&!zr(e,r))return!0}return!1}function cy({vnode:o,parent:t},e){for(;t;){const n=t.subTree;if(n.suspense&&n.suspense.activeBranch===o&&(n.el=o.el),n===o)(o=t.vnode).el=e,t=t.parent;else break}}const Mr=o=>o.__isSuspense;function uy(o,t){t&&t.pendingBranch?bt(o)?t.effects.push(...o):t.effects.push(o):_u(o)}const Dt=Symbol.for("v-fgt"),Cs=Symbol.for("v-txt"),fe=Symbol.for("v-cmt"),Ts=Symbol.for("v-stc"),Es=[];let Ve=null;function I(o=!1){Es.push(Ve=o?null:[])}function fy(){Es.pop(),Ve=Es[Es.length-1]||null}let Ss=1;function vf(o,t=!1){Ss+=o,o<0&&Ve&&t&&(Ve.hasOnce=!0)}function bf(o){return o.dynamicChildren=Ss>0?Ve||In:null,fy(),Ss>0&&Ve&&Ve.push(o),o}function D(o,t,e,n,s,r){return bf(v(o,t,e,n,s,r,!0))}function dt(o,t,e,n,s){return bf(Z(o,t,e,n,s,!0))}function jo(o){return o?o.__v_isVNode===!0:!1}function Wo(o,t){if({}.NODE_ENV!=="production"&&t.shapeFlag&6&&o.component){const e=Cr.get(t.type);if(e&&e.has(o.component))return o.shapeFlag&=-257,t.shapeFlag&=-513,!1}return o.type===t.type&&o.key===t.key}const dy=(...o)=>xf(...o),_f=({key:o})=>o??null,Lr=({ref:o,ref_key:t,ref_for:e})=>(typeof o=="number"&&(o=""+o),o!=null?re(o)||ge(o)||Ct(o)?{i:ye,r:o,k:t,f:!!e}:o:null);function v(o,t=null,e=null,n=0,s=null,r=o===Dt?0:1,a=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:o,props:t,key:t&&_f(t),ref:t&&Lr(t),scopeId:Pu,slotScopeIds:null,children:e,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:n,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:ye};return i?(ji(l,e),r&128&&o.normalize(l)):e&&(l.shapeFlag|=re(e)?8:16),{}.NODE_ENV!=="production"&&l.key!==l.key&&J("VNode created with invalid key (NaN). VNode type:",l.type),Ss>0&&!a&&Ve&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&Ve.push(l),l}const Z={}.NODE_ENV!=="production"?dy:xf;function xf(o,t=null,e=null,n=0,s=null,r=!1){if((!o||o===Vu)&&({}.NODE_ENV!=="production"&&!o&&J(`Invalid vnode type when creating vnode: ${o}.`),o=fe),jo(o)){const i=lo(o,t,!0);return e&&ji(i,e),Ss>0&&!r&&Ve&&(i.shapeFlag&6?Ve[Ve.indexOf(o)]=i:Ve.push(i)),i.patchFlag=-2,i}if(Pf(o)&&(o=o.__vccOpts),t){t=hy(t);let{class:i,style:l}=t;i&&!re(i)&&(t.class=jt(i)),Kt(l)&&(gr(l)&&!bt(l)&&(l=oe({},l)),t.style=N(l))}const a=re(o)?1:Mr(o)?128:Iu(o)?64:Kt(o)?4:Ct(o)?2:0;return{}.NODE_ENV!=="production"&&a&4&&gr(o)&&(o=It(o),J("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
|
|
20
|
+
Component that was made reactive: `,o)),v(o,t,e,n,s,a,r,!0)}function hy(o){return o?gr(o)||ef(o)?oe({},o):o:null}function lo(o,t,e=!1,n=!1){const{props:s,ref:r,patchFlag:a,children:i,transition:l}=o,c=t?Wi(s||{},t):s,u={__v_isVNode:!0,__v_skip:!0,type:o.type,props:c,key:c&&_f(c),ref:t&&t.ref?e&&r?bt(r)?r.concat(Lr(t)):[r,Lr(t)]:Lr(t):r,scopeId:o.scopeId,slotScopeIds:o.slotScopeIds,children:{}.NODE_ENV!=="production"&&a===-1&&bt(i)?i.map(kf):i,target:o.target,targetStart:o.targetStart,targetAnchor:o.targetAnchor,staticCount:o.staticCount,shapeFlag:o.shapeFlag,patchFlag:t&&o.type!==Dt?a===-1?16:a|16:a,dynamicProps:o.dynamicProps,dynamicChildren:o.dynamicChildren,appContext:o.appContext,dirs:o.dirs,transition:l,component:o.component,suspense:o.suspense,ssContent:o.ssContent&&lo(o.ssContent),ssFallback:o.ssFallback&&lo(o.ssFallback),el:o.el,anchor:o.anchor,ctx:o.ctx,ce:o.ce};return l&&n&&zn(u,l.clone(u)),u}function kf(o){const t=lo(o);return bt(o.children)&&(t.children=o.children.map(kf)),t}function Bt(o=" ",t=0){return Z(Cs,null,o,t)}function py(o,t){const e=Z(Ts,null,o);return e.staticCount=t,e}function yt(o="",t=!1){return t?(I(),dt(fe,null,o)):Z(fe,null,o)}function co(o){return o==null||typeof o=="boolean"?Z(fe):bt(o)?Z(Dt,null,o.slice()):jo(o)?qo(o):Z(Cs,null,String(o))}function qo(o){return o.el===null&&o.patchFlag!==-1||o.memo?o:lo(o)}function ji(o,t){let e=0;const{shapeFlag:n}=o;if(t==null)t=null;else if(bt(t))e=16;else if(typeof t=="object")if(n&65){const s=t.default;s&&(s._c&&(s._d=!1),ji(o,s()),s._c&&(s._d=!0));return}else{e=32;const s=t._;!s&&!ef(t)?t._ctx=ye:s===3&&ye&&(ye.slots._===1?t._=1:(t._=2,o.patchFlag|=1024))}else Ct(t)?(t={default:t,_ctx:ye},e=32):(t=String(t),n&64?(e=16,t=[Bt(t)]):e=8);o.children=t,o.shapeFlag|=e}function Wi(...o){const t={};for(let e=0;e<o.length;e++){const n=o[e];for(const s in n)if(s==="class")t.class!==n.class&&(t.class=jt([t.class,n.class]));else if(s==="style")t.style=N([t.style,n.style]);else if(is(s)){const r=t[s],a=n[s];a&&r!==a&&!(bt(r)&&r.includes(a))&&(t[s]=r?[].concat(r,a):a)}else s!==""&&(t[s]=n[s])}return t}function je(o,t,e,n=null){ao(o,t,7,[e,n])}const my=Qu();let gy=0;function yy(o,t,e){const n=o.type,s=(t?t.appContext:o.appContext)||my,r={uid:gy++,vnode:o,type:n,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new m0(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:nf(n,s),emitsOptions:pf(n,s),emit:null,emitted:null,propsDefaults:qt,inheritAttrs:n.inheritAttrs,ctx:qt,data:qt,props:qt,attrs:qt,slots:qt,refs:qt,setupState:qt,setupContext:null,suspense:e,suspenseId:e?e.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return{}.NODE_ENV!=="production"?r.ctx=Cg(r):r.ctx={_:r},r.root=t?t.root:r,r.emit=ry.bind(null,r),o.ce&&o.ce(r),r}let xe=null;const Ko=()=>xe||ye;let Br,qi;{const o=us(),t=(e,n)=>{let s;return(s=o[e])||(s=o[e]=[]),s.push(n),r=>{s.length>1?s.forEach(a=>a(r)):s[0](r)}};Br=t("__VUE_INSTANCE_SETTERS__",e=>xe=e),qi=t("__VUE_SSR_SETTERS__",e=>Ps=e)}const Os=o=>{const t=xe;return Br(o),o.scope.on(),()=>{o.scope.off(),Br(t)}},wf=()=>{xe&&xe.scope.off(),Br(null)},vy=So("slot,component");function Ki(o,{isNativeTag:t}){(vy(o)||t(o))&&J("Do not use built-in or reserved HTML elements as component id: "+o)}function Cf(o){return o.vnode.shapeFlag&4}let Ps=!1;function by(o,t=!1,e=!1){t&&qi(t);const{props:n,children:s}=o.vnode,r=Cf(o);Dg(o,n,r,t),jg(o,s,e);const a=r?_y(o,t):void 0;return t&&qi(!1),a}function _y(o,t){var e;const n=o.type;if({}.NODE_ENV!=="production"){if(n.name&&Ki(n.name,o.appContext.config),n.components){const r=Object.keys(n.components);for(let a=0;a<r.length;a++)Ki(r[a],o.appContext.config)}if(n.directives){const r=Object.keys(n.directives);for(let a=0;a<r.length;a++)Ru(r[a])}n.compilerOptions&&xy()&&J('"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.')}o.accessCache=Object.create(null),o.proxy=new Proxy(o.ctx,Hu),{}.NODE_ENV!=="production"&&Tg(o);const{setup:s}=n;if(s){Po();const r=o.setupContext=s.length>1?Of(o):null,a=Os(o),i=$n(s,o,0,[{}.NODE_ENV!=="production"?vo(o.props):o.props,r]),l=ri(i);if(Ro(),a(),(l||o.sp)&&!_n(o)&&Mu(o),l){if(i.then(wf,wf),t)return i.then(c=>{Tf(o,c,t)}).catch(c=>{gs(c,o,0)});if(o.asyncDep=i,{}.NODE_ENV!=="production"&&!o.suspense){const c=(e=n.name)!=null?e:"Anonymous";J(`Component <${c}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`)}}else Tf(o,i,t)}else Ef(o,t)}function Tf(o,t,e){Ct(t)?o.type.__ssrInlineRender?o.ssrRender=t:o.render=t:Kt(t)?({}.NODE_ENV!=="production"&&jo(t)&&J("setup() should not return VNodes directly - return a render function instead."),{}.NODE_ENV!=="production"&&(o.devtoolsRawSetupState=t),o.setupState=gu(t),{}.NODE_ENV!=="production"&&Eg(o)):{}.NODE_ENV!=="production"&&t!==void 0&&J(`setup() should return an object. Received: ${t===null?"null":typeof t}`),Ef(o,e)}let Qi;const xy=()=>!Qi;function Ef(o,t,e){const n=o.type;if(!o.render){if(!t&&Qi&&!n.render){const s=n.template||Mi(o).template;if(s){({}).NODE_ENV!=="production"&&Fo(o,"compile");const{isCustomElement:r,compilerOptions:a}=o.appContext.config,{delimiters:i,compilerOptions:l}=n,c=oe(oe({isCustomElement:r,delimiters:i},a),l);n.render=Qi(s,c),{}.NODE_ENV!=="production"&&zo(o,"compile")}}o.render=n.render||be}{const s=Os(o);Po();try{Rg(o)}finally{Ro(),s()}}({}).NODE_ENV!=="production"&&!n.render&&o.render===be&&!t&&(n.template?J('Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'):J("Component is missing template or render function: ",n))}const Sf={}.NODE_ENV!=="production"?{get(o,t){return Dr(),_e(o,"get",""),o[t]},set(){return J("setupContext.attrs is readonly."),!1},deleteProperty(){return J("setupContext.attrs is readonly."),!1}}:{get(o,t){return _e(o,"get",""),o[t]}};function ky(o){return new Proxy(o.slots,{get(t,e){return _e(o,"get","$slots"),t[e]}})}function Of(o){const t=e=>{if({}.NODE_ENV!=="production"&&(o.exposed&&J("expose() should be called only once per setup()."),e!=null)){let n=typeof e;n==="object"&&(bt(e)?n="array":ge(e)&&(n="ref")),n!=="object"&&J(`expose() should be passed a plain object, received ${n}.`)}o.exposed=e||{}};if({}.NODE_ENV!=="production"){let e,n;return Object.freeze({get attrs(){return e||(e=new Proxy(o.attrs,Sf))},get slots(){return n||(n=ky(o))},get emit(){return(s,...r)=>o.emit(s,...r)},expose:t})}else return{attrs:new Proxy(o.attrs,Sf),slots:o.slots,emit:o.emit,expose:t}}function Yr(o){return o.exposed?o.exposeProxy||(o.exposeProxy=new Proxy(gu(F0(o.exposed)),{get(t,e){if(e in t)return t[e];if(e in xn)return xn[e](o)},has(t,e){return e in t||e in xn}})):o.proxy}const wy=/(?:^|[-_])(\w)/g,Cy=o=>o.replace(wy,t=>t.toUpperCase()).replace(/[-_]/g,"");function Rs(o,t=!0){return Ct(o)?o.displayName||o.name:o.name||t&&o.__name}function Vr(o,t,e=!1){let n=Rs(t);if(!n&&t.__file){const s=t.__file.match(/([^/\\]+)\.\w+$/);s&&(n=s[1])}if(!n&&o&&o.parent){const s=r=>{for(const a in r)if(r[a]===t)return a};n=s(o.components||o.parent.type.components)||s(o.appContext.components)}return n?Cy(n):e?"App":"Anonymous"}function Pf(o){return Ct(o)&&"__vccOpts"in o}const de=(o,t)=>{const e=B0(o,t,Ps);if({}.NODE_ENV!=="production"){const n=Ko();n&&n.appContext.config.warnRecursiveComputed&&(e._warnRecursive=!0)}return e};function Xt(o,t,e){const n=arguments.length;return n===2?Kt(t)&&!bt(t)?jo(t)?Z(o,null,[t]):Z(o,t):Z(o,null,t):(n>3?e=Array.prototype.slice.call(arguments,2):n===3&&jo(e)&&(e=[e]),Z(o,t,e))}function Ty(){if({}.NODE_ENV==="production"||typeof window>"u")return;const o={style:"color:#3ba776"},t={style:"color:#1677ff"},e={style:"color:#f5222d"},n={style:"color:#eb2f96"},s={__vue_custom_formatter:!0,header(f){return Kt(f)?f.__isVue?["div",o,"VueInstance"]:ge(f)?["div",{},["span",o,u(f)],"<",i("_value"in f?f._value:f),">"]:mn(f)?["div",{},["span",o,Ae(f)?"ShallowReactive":"Reactive"],"<",i(f),`>${Ao(f)?" (readonly)":""}`]:Ao(f)?["div",{},["span",o,Ae(f)?"ShallowReadonly":"Readonly"],"<",i(f),">"]:null:null},hasBody(f){return f&&f.__isVue},body(f){if(f&&f.__isVue)return["div",{},...r(f.$)]}};function r(f){const d=[];f.type.props&&f.props&&d.push(a("props",It(f.props))),f.setupState!==qt&&d.push(a("setup",f.setupState)),f.data!==qt&&d.push(a("data",It(f.data)));const h=l(f,"computed");h&&d.push(a("computed",h));const p=l(f,"inject");return p&&d.push(a("injected",p)),d.push(["div",{},["span",{style:n.style+";opacity:0.66"},"$ (internal): "],["object",{object:f}]]),d}function a(f,d){return d=oe({},d),Object.keys(d).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},f],["div",{style:"padding-left:1.25em"},...Object.keys(d).map(h=>["div",{},["span",n,h+": "],i(d[h],!1)])]]:["span",{}]}function i(f,d=!0){return typeof f=="number"?["span",t,f]:typeof f=="string"?["span",e,JSON.stringify(f)]:typeof f=="boolean"?["span",n,f]:Kt(f)?["object",{object:d?It(f):f}]:["span",e,String(f)]}function l(f,d){const h=f.type;if(Ct(h))return;const p={};for(const b in f.ctx)c(h,b,d)&&(p[b]=f.ctx[b]);return p}function c(f,d,h){const p=f[h];if(bt(p)&&p.includes(d)||Kt(p)&&d in p||f.extends&&c(f.extends,d,h)||f.mixins&&f.mixins.some(b=>c(b,d,h)))return!0}function u(f){return Ae(f)?"ShallowRef":f.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(s):window.devtoolsFormatters=[s]}const Rf="3.5.13",Le={}.NODE_ENV!=="production"?J:be;/**
|
|
21
21
|
* @vue/runtime-dom v3.5.13
|
|
22
22
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
23
23
|
* @license MIT
|
|
24
|
-
**/let
|
|
25
|
-
Expected function or array of functions, received type ${typeof o}.`),be)}function Gy(o,t){if(bt(t)){const e=o.stopImmediatePropagation;return o.stopImmediatePropagation=()=>{e.call(o),o._stopped=!0},t.map(n=>s=>!s._stopped&&n&&n(s))}else return t}const Qf=o=>o.charCodeAt(0)===111&&o.charCodeAt(1)===110&&o.charCodeAt(2)>96&&o.charCodeAt(2)<123,jy=(o,t,e,n,s,r)=>{const a=s==="svg";t==="class"?Ny(o,n,a):t==="style"?Dy(o,e,n):is(t)?ir(t)||Vy(o,t,e,n,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Wy(o,t,n,a))?(jf(o,t,n),!o.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Gf(o,t,n,a,r,t!=="value")):o._isVueCE&&(/[A-Z]/.test(t)||!re(n))?jf(o,we(t),n,r,t):(t==="true-value"?o._trueValue=n:t==="false-value"&&(o._falseValue=n),Gf(o,t,n,a))};function Wy(o,t,e,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in o&&Qf(t)&&Ct(e));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&o.tagName==="INPUT"||t==="type"&&o.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=o.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Qf(t)&&re(e)?!1:t in o}const Jf={};/*! #__NO_SIDE_EFFECTS__ */function qy(o,t,e){const n=V(o,t);lr(n)&&oe(n,t);class s extends
|
|
24
|
+
**/let Ji;const If=typeof window<"u"&&window.trustedTypes;if(If)try{Ji=If.createPolicy("vue",{createHTML:o=>o})}catch(o){({}).NODE_ENV!=="production"&&Le(`Error creating trusted types policy: ${o}`)}const Af=Ji?o=>Ji.createHTML(o):o=>o,Ey="http://www.w3.org/2000/svg",Sy="http://www.w3.org/1998/Math/MathML",Do=typeof document<"u"?document:null,$f=Do&&Do.createElement("template"),Oy={insert:(o,t,e)=>{t.insertBefore(o,e||null)},remove:o=>{const t=o.parentNode;t&&t.removeChild(o)},createElement:(o,t,e,n)=>{const s=t==="svg"?Do.createElementNS(Ey,o):t==="mathml"?Do.createElementNS(Sy,o):e?Do.createElement(o,{is:e}):Do.createElement(o);return o==="select"&&n&&n.multiple!=null&&s.setAttribute("multiple",n.multiple),s},createText:o=>Do.createTextNode(o),createComment:o=>Do.createComment(o),setText:(o,t)=>{o.nodeValue=t},setElementText:(o,t)=>{o.textContent=t},parentNode:o=>o.parentNode,nextSibling:o=>o.nextSibling,querySelector:o=>Do.querySelector(o),setScopeId(o,t){o.setAttribute(t,"")},insertStaticContent(o,t,e,n,s,r){const a=e?e.previousSibling:t.lastChild;if(s&&(s===r||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),e),!(s===r||!(s=s.nextSibling)););else{$f.innerHTML=Af(n==="svg"?`<svg>${o}</svg>`:n==="mathml"?`<math>${o}</math>`:o);const i=$f.content;if(n==="svg"||n==="mathml"){const l=i.firstChild;for(;l.firstChild;)i.appendChild(l.firstChild);i.removeChild(l)}t.insertBefore(i,e)}return[a?a.nextSibling:t.firstChild,e?e.previousSibling:t.lastChild]}},Qo="transition",Is="animation",As=Symbol("_vtc"),Nf={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},Py=oe({},Au,Nf),Ff=(o=>(o.displayName="Transition",o.props=Py,o))((o,{slots:t})=>Xt(dg,Ry(o),t)),wn=(o,t=[])=>{bt(o)?o.forEach(e=>e(...t)):o&&o(...t)},zf=o=>o?bt(o)?o.some(t=>t.length>1):o.length>1:!1;function Ry(o){const t={};for(const j in o)j in Nf||(t[j]=o[j]);if(o.css===!1)return t;const{name:e="v",type:n,duration:s,enterFromClass:r=`${e}-enter-from`,enterActiveClass:a=`${e}-enter-active`,enterToClass:i=`${e}-enter-to`,appearFromClass:l=r,appearActiveClass:c=a,appearToClass:u=i,leaveFromClass:f=`${e}-leave-from`,leaveActiveClass:d=`${e}-leave-active`,leaveToClass:h=`${e}-leave-to`}=o,p=Iy(s),b=p&&p[0],x=p&&p[1],{onBeforeEnter:k,onEnter:g,onEnterCancelled:m,onLeave:y,onLeaveCancelled:_,onBeforeAppear:w=k,onAppear:$=g,onAppearCancelled:Y=m}=t,B=(j,tt,gt,Ot)=>{j._enterCancelled=Ot,Cn(j,tt?u:i),Cn(j,tt?c:a),gt&>()},M=(j,tt)=>{j._isLeaving=!1,Cn(j,f),Cn(j,h),Cn(j,d),tt&&tt()},ut=j=>(tt,gt)=>{const Ot=j?$:g,$t=()=>B(tt,j,gt);wn(Ot,[tt,$t]),Df(()=>{Cn(tt,j?l:r),Mo(tt,j?u:i),zf(Ot)||Mf(tt,n,b,$t)})};return oe(t,{onBeforeEnter(j){wn(k,[j]),Mo(j,r),Mo(j,a)},onBeforeAppear(j){wn(w,[j]),Mo(j,l),Mo(j,c)},onEnter:ut(!1),onAppear:ut(!0),onLeave(j,tt){j._isLeaving=!0;const gt=()=>M(j,tt);Mo(j,f),j._enterCancelled?(Mo(j,d),Yf()):(Yf(),Mo(j,d)),Df(()=>{j._isLeaving&&(Cn(j,f),Mo(j,h),zf(y)||Mf(j,n,x,gt))}),wn(y,[j,gt])},onEnterCancelled(j){B(j,!1,void 0,!0),wn(m,[j])},onAppearCancelled(j){B(j,!0,void 0,!0),wn(Y,[j])},onLeaveCancelled(j){M(j),wn(_,[j])}})}function Iy(o){if(o==null)return null;if(Kt(o))return[tl(o.enter),tl(o.leave)];{const t=tl(o);return[t,t]}}function tl(o){const t=li(o);return{}.NODE_ENV!=="production"&&G0(t,"<transition> explicit duration"),t}function Mo(o,t){t.split(/\s+/).forEach(e=>e&&o.classList.add(e)),(o[As]||(o[As]=new Set)).add(t)}function Cn(o,t){t.split(/\s+/).forEach(n=>n&&o.classList.remove(n));const e=o[As];e&&(e.delete(t),e.size||(o[As]=void 0))}function Df(o){requestAnimationFrame(()=>{requestAnimationFrame(o)})}let Ay=0;function Mf(o,t,e,n){const s=o._endId=++Ay,r=()=>{s===o._endId&&n()};if(e!=null)return setTimeout(r,e);const{type:a,timeout:i,propCount:l}=$y(o,t);if(!a)return n();const c=a+"end";let u=0;const f=()=>{o.removeEventListener(c,d),r()},d=h=>{h.target===o&&++u>=l&&f()};setTimeout(()=>{u<l&&f()},i+1),o.addEventListener(c,d)}function $y(o,t){const e=window.getComputedStyle(o),n=p=>(e[p]||"").split(", "),s=n(`${Qo}Delay`),r=n(`${Qo}Duration`),a=Lf(s,r),i=n(`${Is}Delay`),l=n(`${Is}Duration`),c=Lf(i,l);let u=null,f=0,d=0;t===Qo?a>0&&(u=Qo,f=a,d=r.length):t===Is?c>0&&(u=Is,f=c,d=l.length):(f=Math.max(a,c),u=f>0?a>c?Qo:Is:null,d=u?u===Qo?r.length:l.length:0);const h=u===Qo&&/\b(transform|all)(,|$)/.test(n(`${Qo}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:h}}function Lf(o,t){for(;o.length<t.length;)o=o.concat(o);return Math.max(...t.map((e,n)=>Bf(e)+Bf(o[n])))}function Bf(o){return o==="auto"?0:Number(o.slice(0,-1).replace(",","."))*1e3}function Yf(){return document.body.offsetHeight}function Ny(o,t,e){const n=o[As];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?o.removeAttribute("class"):e?o.setAttribute("class",t):o.className=t}const Xr=Symbol("_vod"),Vf=Symbol("_vsh"),Xf={beforeMount(o,{value:t},{transition:e}){o[Xr]=o.style.display==="none"?"":o.style.display,e&&t?e.beforeEnter(o):$s(o,t)},mounted(o,{value:t},{transition:e}){e&&t&&e.enter(o)},updated(o,{value:t,oldValue:e},{transition:n}){!t!=!e&&(n?t?(n.beforeEnter(o),$s(o,!0),n.enter(o)):n.leave(o,()=>{$s(o,!1)}):$s(o,t))},beforeUnmount(o,{value:t}){$s(o,t)}};({}).NODE_ENV!=="production"&&(Xf.name="show");function $s(o,t){o.style.display=t?o[Xr]:"none",o[Vf]=!t}const Fy=Symbol({}.NODE_ENV!=="production"?"CSS_VAR_TEXT":""),zy=/(^|;)\s*display\s*:/;function Dy(o,t,e){const n=o.style,s=re(e);let r=!1;if(e&&!s){if(t)if(re(t))for(const a of t.split(";")){const i=a.slice(0,a.indexOf(":")).trim();e[i]==null&&Zr(n,i,"")}else for(const a in t)e[a]==null&&Zr(n,a,"");for(const a in e)a==="display"&&(r=!0),Zr(n,a,e[a])}else if(s){if(t!==e){const a=n[Fy];a&&(e+=";"+a),n.cssText=e,r=zy.test(e)}}else t&&o.removeAttribute("style");Xr in o&&(o[Xr]=r?n.display:"",o[Vf]&&(n.display="none"))}const My=/[^\\];\s*$/,Zf=/\s*!important$/;function Zr(o,t,e){if(bt(e))e.forEach(n=>Zr(o,t,n));else if(e==null&&(e=""),{}.NODE_ENV!=="production"&&My.test(e)&&Le(`Unexpected semicolon at the end of '${t}' style value: '${e}'`),t.startsWith("--"))o.setProperty(t,e);else{const n=Ly(o,t);Zf.test(e)?o.setProperty(Be(n),e.replace(Zf,""),"important"):o[n]=e}}const Uf=["Webkit","Moz","ms"],el={};function Ly(o,t){const e=el[t];if(e)return e;let n=we(t);if(n!=="filter"&&n in o)return el[t]=n;n=fn(n);for(let s=0;s<Uf.length;s++){const r=Uf[s]+n;if(r in o)return el[t]=r}return t}const Hf="http://www.w3.org/1999/xlink";function Gf(o,t,e,n,s,r=p0(t)){n&&t.startsWith("xlink:")?e==null?o.removeAttributeNS(Hf,t.slice(6,t.length)):o.setAttributeNS(Hf,t,e):e==null||r&&!Uc(e)?o.removeAttribute(t):o.setAttribute(t,r?"":Oo(e)?String(e):e)}function jf(o,t,e,n,s){if(t==="innerHTML"||t==="textContent"){e!=null&&(o[t]=t==="innerHTML"?Af(e):e);return}const r=o.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const i=r==="OPTION"?o.getAttribute("value")||"":o.value,l=e==null?o.type==="checkbox"?"on":"":String(e);(i!==l||!("_value"in o))&&(o.value=l),e==null&&o.removeAttribute(t),o._value=e;return}let a=!1;if(e===""||e==null){const i=typeof o[t];i==="boolean"?e=Uc(e):e==null&&i==="string"?(e="",a=!0):i==="number"&&(e=0,a=!0)}try{o[t]=e}catch(i){({}).NODE_ENV!=="production"&&!a&&Le(`Failed setting prop "${t}" on <${r.toLowerCase()}>: value ${e} is invalid.`,i)}a&&o.removeAttribute(s||t)}function By(o,t,e,n){o.addEventListener(t,e,n)}function Yy(o,t,e,n){o.removeEventListener(t,e,n)}const Wf=Symbol("_vei");function Vy(o,t,e,n,s=null){const r=o[Wf]||(o[Wf]={}),a=r[t];if(n&&a)a.value={}.NODE_ENV!=="production"?Kf(n,t):n;else{const[i,l]=Xy(t);if(n){const c=r[t]=Hy({}.NODE_ENV!=="production"?Kf(n,t):n,s);By(o,i,c,l)}else a&&(Yy(o,i,a,l),r[t]=void 0)}}const qf=/(?:Once|Passive|Capture)$/;function Xy(o){let t;if(qf.test(o)){t={};let n;for(;n=o.match(qf);)o=o.slice(0,o.length-n[0].length),t[n[0].toLowerCase()]=!0}return[o[2]===":"?o.slice(3):Be(o.slice(2)),t]}let ol=0;const Zy=Promise.resolve(),Uy=()=>ol||(Zy.then(()=>ol=0),ol=Date.now());function Hy(o,t){const e=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=e.attached)return;ao(Gy(n,e.value),t,5,[n])};return e.value=o,e.attached=Uy(),e}function Kf(o,t){return Ct(o)||bt(o)?o:(Le(`Wrong type passed as event handler to ${t} - did you forget @ or : in front of your prop?
|
|
25
|
+
Expected function or array of functions, received type ${typeof o}.`),be)}function Gy(o,t){if(bt(t)){const e=o.stopImmediatePropagation;return o.stopImmediatePropagation=()=>{e.call(o),o._stopped=!0},t.map(n=>s=>!s._stopped&&n&&n(s))}else return t}const Qf=o=>o.charCodeAt(0)===111&&o.charCodeAt(1)===110&&o.charCodeAt(2)>96&&o.charCodeAt(2)<123,jy=(o,t,e,n,s,r)=>{const a=s==="svg";t==="class"?Ny(o,n,a):t==="style"?Dy(o,e,n):is(t)?ir(t)||Vy(o,t,e,n,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Wy(o,t,n,a))?(jf(o,t,n),!o.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Gf(o,t,n,a,r,t!=="value")):o._isVueCE&&(/[A-Z]/.test(t)||!re(n))?jf(o,we(t),n,r,t):(t==="true-value"?o._trueValue=n:t==="false-value"&&(o._falseValue=n),Gf(o,t,n,a))};function Wy(o,t,e,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in o&&Qf(t)&&Ct(e));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&o.tagName==="INPUT"||t==="type"&&o.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=o.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Qf(t)&&re(e)?!1:t in o}const Jf={};/*! #__NO_SIDE_EFFECTS__ */function qy(o,t,e){const n=V(o,t);lr(n)&&oe(n,t);class s extends nl{constructor(a){super(n,a,e)}}return s.def=n,s}const Ky=typeof HTMLElement<"u"?HTMLElement:class{};class nl extends Ky{constructor(t,e={},n=sl){super(),this._def=t,this._props=e,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&n!==sl?this._root=this.shadowRoot:({}.NODE_ENV!=="production"&&this.shadowRoot&&Le("Custom element has pre-rendered declarative shadow root but is not defined as hydratable. Use `defineSSRCustomElement`."),t.shadowRoot!==!1?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this),this._def.__asyncLoader||this._resolveProps(this._def)}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof nl){this._parent=t;break}this._instance||(this._resolved?(this._setParent(),this._update()):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._instance.provides=t._instance.provides)}disconnectedCallback(){this._connected=!1,kr(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)})}_resolveDef(){if(this._pendingResolve)return;for(let n=0;n<this.attributes.length;n++)this._setAttr(this.attributes[n].name);this._ob=new MutationObserver(n=>{for(const s of n)this._setAttr(s.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(n,s=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:r,styles:a}=n;let i;if(r&&!bt(r))for(const l in r){const c=r[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=li(this._props[l])),(i||(i=Object.create(null)))[we(l)]=!0)}this._numberProps=i,s&&this._resolveProps(n),this.shadowRoot?this._applyStyles(a):{}.NODE_ENV!=="production"&&a&&Le("Custom element style injection is not supported when using shadowRoot: false"),this._mount(n)},e=this._def.__asyncLoader;e?this._pendingResolve=e().then(n=>t(this._def=n,!0)):t(this._def)}_mount(t){({}).NODE_ENV!=="production"&&!t.name&&(t.name="VueElement"),this._app=this._createApp(t),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const e=this._instance&&this._instance.exposed;if(e)for(const n in e)Lt(this,n)?{}.NODE_ENV!=="production"&&Le(`Exposed property "${n}" already exists on custom element.`):Object.defineProperty(this,n,{get:()=>Tt(e[n])})}_resolveProps(t){const{props:e}=t,n=bt(e)?e:Object.keys(e||{});for(const s of Object.keys(this))s[0]!=="_"&&n.includes(s)&&this._setProp(s,this[s]);for(const s of n.map(we))Object.defineProperty(this,s,{get(){return this._getProp(s)},set(r){this._setProp(s,r,!0,!0)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const e=this.hasAttribute(t);let n=e?this.getAttribute(t):Jf;const s=we(t);e&&this._numberProps&&this._numberProps[s]&&(n=li(n)),this._setProp(s,n,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,e,n=!0,s=!1){if(e!==this._props[t]&&(e===Jf?delete this._props[t]:(this._props[t]=e,t==="key"&&this._app&&(this._app._ceVNode.key=e)),s&&this._instance&&this._update(),n)){const r=this._ob;r&&r.disconnect(),e===!0?this.setAttribute(Be(t),""):typeof e=="string"||typeof e=="number"?this.setAttribute(Be(t),e+""):e||this.removeAttribute(Be(t)),r&&r.observe(this,{attributes:!0})}}_update(){Ur(this._createVNode(),this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const e=Z(this._def,oe(t,this._props));return this._instance||(e.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0,{}.NODE_ENV!=="production"&&(n.ceReload=r=>{this._styles&&(this._styles.forEach(a=>this._root.removeChild(a)),this._styles.length=0),this._applyStyles(r),this._instance=null,this._update()});const s=(r,a)=>{this.dispatchEvent(new CustomEvent(r,lr(a[0])?oe({detail:a},a[0]):{detail:a}))};n.emit=(r,...a)=>{s(r,a),Be(r)!==r&&s(Be(r),a)},this._setParent()}),e}_applyStyles(t,e){if(!t)return;if(e){if(e===this._def||this._styleChildren.has(e))return;this._styleChildren.add(e)}const n=this._nonce;for(let s=t.length-1;s>=0;s--){const r=document.createElement("style");if(n&&r.setAttribute("nonce",n),r.textContent=t[s],this.shadowRoot.prepend(r),{}.NODE_ENV!=="production")if(e){if(e.__hmrId){this._childStyles||(this._childStyles=new Map);let a=this._childStyles.get(e.__hmrId);a||this._childStyles.set(e.__hmrId,a=[]),a.push(r)}}else(this._styles||(this._styles=[])).push(r)}}_parseSlots(){const t=this._slots={};let e;for(;e=this.firstChild;){const n=e.nodeType===1&&e.getAttribute("slot")||"default";(t[n]||(t[n]=[])).push(e),this.removeChild(e)}}_renderSlots(){const t=(this._teleportTarget||this).querySelectorAll("slot"),e=this._instance.type.__scopeId;for(let n=0;n<t.length;n++){const s=t[n],r=s.getAttribute("name")||"default",a=this._slots[r],i=s.parentNode;if(a)for(const l of a){if(e&&l.nodeType===1){const c=e+"-s",u=document.createTreeWalker(l,1);l.setAttribute(c,"");let f;for(;f=u.nextNode();)f.setAttribute(c,"")}i.insertBefore(l,s)}else for(;s.firstChild;)i.insertBefore(s.firstChild,s);i.removeChild(s)}}_injectChildStyle(t){this._applyStyles(t.styles,t)}_removeChildStyle(t){if({}.NODE_ENV!=="production"&&(this._styleChildren.delete(t),this._childStyles&&t.__hmrId)){const e=this._childStyles.get(t.__hmrId);e&&(e.forEach(n=>this._root.removeChild(n)),e.length=0)}}}function td(o){const t=Ko(),e=t&&t.ce;return e||({}.NODE_ENV!=="production"&&Le(t?`${o||"useHost"} can only be used in components defined via defineCustomElement.`:`${o||"useHost"} called without an active component instance.`),null)}function Qy(){const o={}.NODE_ENV!=="production"?td("useShadowRoot"):td();return o&&o.shadowRoot}const Jy=oe({patchProp:jy},Oy);let ed;function od(){return ed||(ed=Kg(Jy))}const Ur=(...o)=>{od().render(...o)},sl=(...o)=>{const t=od().createApp(...o);({}).NODE_ENV!=="production"&&(e1(t),o1(t));const{mount:e}=t;return t.mount=n=>{const s=n1(n);if(!s)return;const r=t._component;!Ct(r)&&!r.render&&!r.template&&(r.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const a=e(s,!1,t1(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),a},t};function t1(o){if(o instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&o instanceof MathMLElement)return"mathml"}function e1(o){Object.defineProperty(o.config,"isNativeTag",{value:t=>f0(t)||d0(t)||h0(t),writable:!1})}function o1(o){{const t=o.config.isCustomElement;Object.defineProperty(o.config,"isCustomElement",{get(){return t},set(){Le("The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead.")}});const e=o.config.compilerOptions,n='The `compilerOptions` config option is only respected when using a build of Vue.js that includes the runtime compiler (aka "full build"). Since you are using the runtime-only build, `compilerOptions` must be passed to `@vue/compiler-dom` in the build setup instead.\n- For vue-loader: pass it via vue-loader\'s `compilerOptions` loader option.\n- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\n- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-sfc';Object.defineProperty(o.config,"compilerOptions",{get(){return Le(n),e},set(){Le(n)}})}}function n1(o){if(re(o)){const t=document.querySelector(o);return{}.NODE_ENV!=="production"&&!t&&Le(`Failed to mount app: mount target selector "${o}" returned null.`),t}return{}.NODE_ENV!=="production"&&window.ShadowRoot&&o instanceof window.ShadowRoot&&o.mode==="closed"&&Le('mounting on a ShadowRoot with `{mode: "closed"}` may lead to unpredictable bugs'),o}/**
|
|
26
26
|
* vue v3.5.13
|
|
27
27
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
28
28
|
* @license MIT
|
|
@@ -35,13 +35,13 @@ Expected function or array of functions, received type ${typeof o}.`),be)}functi
|
|
|
35
35
|
|[\u{2B740}-\u{2B81D}]
|
|
36
36
|
|[\u{2B820}-\u{2CEAF}]
|
|
37
37
|
|[\u{2CEB0}-\u{2EBEF}]
|
|
38
|
-
`.replace(/\s+/g,""),"u");break;case"mime-image":t=/^image\//;break;case"mime-video":t=/^video\//;break;case"mime-audio":t=/^audio\//;break;case"mime-document-word":t=/^application\/(?:vnd\.openxmlformats-officedocument\.wordprocessingml\.document|msword|vnd\.ms-word\.document\.macroenabled\.12|vnd\.openxmlformats-officedocument\.wordprocessingml\.template|vnd\.ms-word\.template\.macroenabled\.12)$/;break;case"mime-document-excel":t=/^application\/(?:vnd\.openxmlformats-officedocument\.spreadsheetml\.sheet|vnd\.ms-excel|vnd\.ms-excel\.sheet\.macroenabled\.12|vnd\.openxmlformats-officedocument\.spreadsheetml\.template|vnd\.ms-excel\.template\.macroenabled\.12)$/;break;case"mime-document-ppt":t=/^application\/(?:vnd\.ms-powerpoint|vnd\.openxmlformats-officedocument\.presentationml\.presentation|vnd\.ms-powerpoint\.presentation\.macroenabled\.12|vnd\.openxmlformats-officedocument\.presentationml\.template|vnd\.ms-powerpoint\.template\.macroenabled\.12)$/;break;case"mime-document-json":t=/^application\/json$/;break;case"mime-document-xml":t=/^(?:application|text)\/(?:xml|xhtml\+xml)$/;break}return t},f1=(o,t)=>(typeof o=="string"&&(o=Gr(o)||new RegExp(o)),o.test(t)),sd=(o,t)=>{typeof o=="string"&&(o=Gr(o)||new RegExp(o));const e=t.match(o);return e?o.flags.toLowerCase().indexOf("g")>=0?e.map(n=>({matchIndex:-1,fullMatch:n,groupMatchs:[]})):{matchIndex:typeof e.index=="number"?e.index:-1,fullMatch:e[0],groupMatchs:e.slice(1)}:null},rd=(o,t)=>{typeof o=="string"&&(o=Gr(o)||new RegExp(o));const e=[],n=t.matchAll(o);for(const s of n)e.push({matchIndex:typeof s.index=="number"?s.index:-1,fullMatch:s[0],groupMatchs:s.slice(1)});return e};function Ln(o=12){const t="ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghijklmnopqrstuvwxyz0123456789",e=t.length;let n="";for(let s=0;s<o;s++)n+=t[Math.floor(Math.random()*e)];return n}function d1(o){return o.replace(/(^\w)/g,t=>t.toLowerCase())}const ko=(o,t="-")=>{let e=o.replace(new RegExp(`${t}?([A-Z])`,"g"),t+"$1").toLowerCase();return e=e.replace(new RegExp(`^${t}`),""),e};function h1(o){return o.replace(/(^\w|[_-]\w)/g,t=>t.slice(-1).toUpperCase())}function p1(o){return d1(h1(o))}const al=(o,t="")=>(o=o.replaceAll(/\[data-v-[0-9a-zA-Z]*\]/g,t),o),m1="[object String]",g1="[object Symbol]",y1="[object Array]";function il(o){return Object.prototype.toString.call(o)}function v1(o){return o!=null}function b1(o){return il(o)===m1}function _1(o){return o===o+0}function x1(o){return il(o)===g1}function k1(o){return il(o)===y1}function w1(o){return!!o&&typeof o=="object"}function C1(o){return w1(o)&&!k1(o)}function T1(o,...t){return new o.constructor(...t)}function ad(o){if(!C1(o))return o;for(const t in o)Object.prototype.hasOwnProperty.call(o,t)&&delete o[t];return o}function Bn(o=[],t=[]){const e=o.length,n=t.length;for(let r=0;r<n;r++)o[r]=t[r];let s=Math.max(0,e-n);for(;s>0;)o.pop(),s--;return o}function ll(o){for(;o.length;)o.pop()}function id(o,t){const e=o.findIndex(n=>n===t);return e>=0&&o.splice(e,1),o}function E1(o,t){return o.findIndex(e=>e==t)>=0}let ld;try{ld=Map}catch{ld=function(){}}let cd;try{cd=Set}catch{cd=function(){}}function cl(o){return Number.isNaN(o)}function fo(o,t){const e=parseFloat(o);if(Number.isNaN(e)){if(typeof t=="number")return t;throw new Error(`parseNumber(${o}) is NaN!`)}return e}function ud(o,t,e=Number.EPSILON*Math.pow(2,2)){return Math.abs(o-t)<e}function Yt(o,t,e){const n=Math.min(t,e),s=Math.max(t,e);return o<n?n:o>s?s:o}function S1(o,t){return(o%t+t)%t}function ul(o,t,e){return(1-e)*o+e*t}function O1(o,t,e,n,s){return n+(s-n)*((o-t)/(e-t))}const P1=(o,t,e)=>n=>{const s=Yt(n,o,t);return e==0?s:t-s<e?t:Math.round(s/e)*e};function R1(o,t=12){return fo(o,0).toFixed(t)}function ke(o,t=12){return+R1(o,t)}function Yn(o,t){const e=sd("number-single",String(o));return{hasNumber:!!e,number:e&&!Array.isArray(e)&&e.fullMatch?parseFloat(e.fullMatch):v1(t)?t:NaN,prefix:e&&!Array.isArray(e)&&e.fullMatch?o.substring(0,e.matchIndex):"",suffix:e&&!Array.isArray(e)&&e.fullMatch?o.substring(e.matchIndex+e.fullMatch.length):""}}function fl(o){const t=sd("number",o);return t?Array.isArray(t)?t.map(e=>Number(e.fullMatch)):[Number(t.fullMatch)]:[]}I1();function I1(){const o=new ArrayBuffer(4),t=new Float32Array(o),e=new Uint32Array(o),n=new Uint32Array(512),s=new Uint32Array(512);for(let l=0;l<256;++l){const c=l-127;c<-27?(n[l]=0,n[l|256]=32768,s[l]=24,s[l|256]=24):c<-14?(n[l]=1024>>-c-14,n[l|256]=1024>>-c-14|32768,s[l]=-c-1,s[l|256]=-c-1):c<=15?(n[l]=c+15<<10,n[l|256]=c+15<<10|32768,s[l]=13,s[l|256]=13):c<128?(n[l]=31744,n[l|256]=64512,s[l]=24,s[l|256]=24):(n[l]=31744,n[l|256]=64512,s[l]=13,s[l|256]=13)}const r=new Uint32Array(2048),a=new Uint32Array(64),i=new Uint32Array(64);for(let l=1;l<1024;++l){let c=l<<13,u=0;for(;!(c&8388608);)c<<=1,u-=8388608;c&=-8388609,u+=947912704,r[l]=c|u}for(let l=1024;l<2048;++l)r[l]=939524096+(l-1024<<13);for(let l=1;l<31;++l)a[l]=l<<23;a[31]=1199570944,a[32]=2147483648;for(let l=33;l<63;++l)a[l]=2147483648+(l-32<<23);a[63]=3347054592;for(let l=1;l<64;++l)l!==32&&(i[l]=1024);return{floatView:t,uint32View:e,baseTable:n,shiftTable:s,mantissaTable:r,exponentTable:a,offsetTable:i}}const fd=(o,t,e)=>t?e===Hr.base64?new Blob([o],{type:`${t};${e}`}):e===Hr.utf8?new Blob([o],{type:`${t};charset=${e}`}):new Blob([o],{type:`${t}`}):new Blob([o]);function ie(){return(performance||Date).now()}function A1(o){const t=Math.max(o.length,6);let e=0;e+=(o[t-2]||0)*10+(o[t-1]||0),e+=((o[t-4]||0)*10+(o[t-3]||0))*60;let n=0;for(let s=0;s<t-4;s++)n=n*10+(o[s]||0);return e+=n*60*60,e=Math.floor(Math.max(0,e)),e}function dl(o,t=!1){let e=0,n;typeof o=="number"?(e=o,n=[]):(n=o,e=A1(n),ll(n));const s=e%60;n.unshift(s%10),n.unshift(Math.floor(s/10)),e=Math.floor(e/60);const r=e%60;if(n.unshift(r%10),n.unshift(Math.floor(r/10)),e=Math.floor(e/60),t){const a=e%100;for(n.unshift(a%10),n.unshift(Math.floor(a/10)),e=Math.floor(e/100);e;)n.unshift(e%10),e=Math.floor(e/10)}else{const a=e%24;n.unshift(a%10),n.unshift(Math.floor(a/10))}return n}function $1(o,t=!1){const e=[],n=fl(o);for(let s=0,r=Math.max(n.length,3);s<r;s++){let a=Math.floor(Math.abs(n[s]||0));if(s==0)if(t){const i=a%100;for(e.push(Math.floor(i/10)),e.push(i%10),a=Math.floor(a/100);a;)e.unshift(a%10),a=Math.floor(a/10)}else{const i=a%24;e.push(Math.floor(i/10)),e.push(i%10)}else e.push(Math.floor(a/10)),e.push(a%10)}return dl(e,t)}function hl(o,t=1,e=!1){return o[o.length-1]+=t,dl(o,e)}function pl(o,t=1,e=!1){return o[o.length-1]-=t,dl(o,e)}function N1(o,t){Bn(t,o)}function F1(o){let t="";return{match:e=>(t=`${String(e)}不能为空`,e!=null&&e!==""),error:o||t}}function z1(o){return{match:t=>f1("email",t),error:o||"邮箱格式不正确"}}function D1(o,t){const e=t.reduce((n,s)=>{const{match:r,error:a}=s;return r(o)||n.push(a),n},[]);return{valid:e.length===0,errors:e}}function Vn(o,t){return D1(o,[F1(t?.emptyError||"邮箱不能为空"),z1(t?.error||"邮箱格式不正确")])}class ml{_maps=new Map;_mapsAddedDuringUpdate=new Map;_overflow;constructor(t){this._overflow=()=>{if(!t)return!1;const e=this.length;return e==0?!1:t?.overflow?t.overflow():!!t.size&&t.size>0&&e>=t.size}}entries(){return Array.from(this._maps.entries())}keys(){return Array.from(this._maps.keys())}values(){return Array.from(this._maps.values())}json(){return this.entries().reduce((t,[e,n])=>((b1(e)||_1(e)||x1(e))&&(t[e]=n),t),{})}get length(){return this.entries().length}set(t,e){for(;this._overflow();){const n=this._maps.keys().next();n.done||this.delete(n.value)}this._maps.set(t,e),this._mapsAddedDuringUpdate.set(t,e)}get(t){return this._maps.get(t)}has(t){return this._maps.has(t)}getIndex(t){const e=this.entries();if(e.length&&e[t])return e[t]}top(){return this.getIndex(0)}shift(){const t=this.top();if(t){const[e]=t;this.delete(e)}return t}delete(t){return this._mapsAddedDuringUpdate.delete(t),this._maps.delete(t)}clear(){this._maps.clear(),this._mapsAddedDuringUpdate.clear()}flush(){this.clear()}filter(t){let e=Array.from(this._maps.entries());for(;e.length>0;){this._mapsAddedDuringUpdate.clear();for(let n=0,s=e.length;n<s;n++){const[r,a]=e[n];t(r,a)===!1&&this.delete(r)}e=Array.from(this._mapsAddedDuringUpdate.entries())}}}const M1=()=>{},L1=300;function gl(o,t=L1,e){const n=typeof e?.leading=="boolean"?e.leading:!0,s=typeof e?.trailing=="boolean"?e.trailing:!1;return function(...a){const{get:i,set:l}=u1(this||o);if(!i("__THROTTLE_READY__",!0)){(n||s)&&l("__THROTTLE_FN_ARGS__",a);return}l("__THROTTLE_READY__",!1),n&&o.apply(this,a),s&&l("__THROTTLE_FN_ARGS__",a),setTimeout(()=>{const u=i("__THROTTLE_FN_ARGS__");u&&o.apply(this,u),l("__THROTTLE_FN_ARGS__",void 0),l("__THROTTLE_READY__",!0)},t)}}Array.prototype.ap=function(o){return this.reduce((t,e)=>t.concat(o.map(e)),[])};let Fs;function yl(o){Fs=o,o(),Fs=null}class B1{subscribers=new Set;add(){Fs&&!this.subscribers.has(Fs)&&this.subscribers.add(Fs)}notify(){this.subscribers.forEach(t=>t())}}const dd=new WeakMap;function jr(o,t){let e=dd.get(o);e||(e=new Map,dd.set(o,e));let n=e.get(t);return n||(n=new B1,e.set(t,n)),n}function Y1(o,t=!1){return Object.keys(o).forEach(e=>{let n=o[e];if(t&&typeof n=="object"&&n!==null)o[e]=vl(n,t);else{const s=jr(o,e);Object.defineProperty(o,e,{configurable:!0,enumerable:!0,get(){return s.add(),n},set(r){n!=r&&(n=r,s.notify())}})}}),o}function hd(o,t=!1){return Y1({value:o},t)}function vl(o,t=!1){const e={get(s,r,a){const i=Reflect.get(s,r,a);if(t&&typeof i=="object"&&i!==null&&!("isYZReactiveProxy"in i)){const c=vl(i,t);c.YZReactiveProxyParentTarget=s,c.YZReactiveProxyParentKey=r,Reflect.set(a,r,c)}return jr(s,r).add(),Reflect.get(s,r,a)},set(s,r,a,i){const l=Reflect.get(s,r,i),c=Reflect.set(s,r,a,i);return Array.isArray(s)?jr(s.YZReactiveProxyParentTarget,s.YZReactiveProxyParentKey).notify():l!=a&&jr(s,r).notify(),c},has(s,r){return r==="isYZReactiveProxy"||r in s}};return new Proxy(o,e)}const V1=vl;class Wr{events;constructor(){this.events={}}isEmpty(t){return this.events[t]==null||this.events[t].length==0}has(t,e){return this.events[t]!==void 0&&this.events[t].indexOf(e)!==-1}prependListener(t,e){return this.events[t]||(this.events[t]=[]),this.events[t].unshift(e),this}addListener(t,e){return this.events[t]||(this.events[t]=[]),this.events[t].push(e),this}on(t,e){return this.addListener(t,e),this}removeListener(t,e){return this.events[t]&&(this.events[t]=this.events[t].filter(n=>n!==e)),this}off(t,e){return this.removeListener(t,e),this}removeAllListeners(t){return t?this.events[t]=[]:this.events={},this}emit(t,...e){return this.events[t]&&this.events[t].slice(0).forEach(s=>{s(...e)}),this}once(t,e){const s=(()=>{let r=!1;return(...a)=>{r||(r=!0,e(...a),this.off(t,s))}})();return this.on(t,s),this}}function X1(o,t=(e,n)=>e<=n){const e=o.length;let n=Math.floor(e/2);for(;n>0;){for(let s=n;s<e;s++){const r=o[s];let a=s;for(;a>=n&&!t(o[a-n],r);)o[a]=o[a-n],a-=n;o[a]=r}n=Math.floor(n/2)}}let pd;try{pd=Promise}catch{pd=function(){}}class qr extends Wr{results=[];queue=[];rs;controller;concurrency;activeTaskCount=0;constructor(t=1){super(),this.concurrency=t,this.rs=new ReadableStream({start:async e=>{this.controller=e}})}get stream(){return this.rs}clearUnstartTasks(){this.queue=[]}addTask(t){Array.isArray(t)?this.queue.push(...t):this.queue.push(t),this.activeTaskCount<this.concurrency&&this.queue.length>0&&this.runTasks()}async runTasks(){for(;this.activeTaskCount<this.concurrency&&this.queue.length>0;){const t=this.queue.splice(0,this.concurrency-this.activeTaskCount);this.activeTaskCount+=t.length;const e=await Promise.allSettled(t.map(s=>s())),n=this.results.length;e.forEach((s,r)=>{if(s.status=="fulfilled"){const a=s.value;this.results.push(a),this.controller?.enqueue(a),this.emit("success",n+r,a)}else if(s.status=="rejected"){const a=new Error(s.reason);this.results.push(a),this.controller?.enqueue(a),this.emit("error",n+r,a)}}),this.activeTaskCount-=e.length}}}function Z1(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}var U1={exports:{}};(function(o,t){(function(e){o.exports=e()})(function(e){var n=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function s(k,g){var m=k[0],y=k[1],_=k[2],w=k[3];m+=(y&_|~y&w)+g[0]-680876936|0,m=(m<<7|m>>>25)+y|0,w+=(m&y|~m&_)+g[1]-389564586|0,w=(w<<12|w>>>20)+m|0,_+=(w&m|~w&y)+g[2]+606105819|0,_=(_<<17|_>>>15)+w|0,y+=(_&w|~_&m)+g[3]-1044525330|0,y=(y<<22|y>>>10)+_|0,m+=(y&_|~y&w)+g[4]-176418897|0,m=(m<<7|m>>>25)+y|0,w+=(m&y|~m&_)+g[5]+1200080426|0,w=(w<<12|w>>>20)+m|0,_+=(w&m|~w&y)+g[6]-1473231341|0,_=(_<<17|_>>>15)+w|0,y+=(_&w|~_&m)+g[7]-45705983|0,y=(y<<22|y>>>10)+_|0,m+=(y&_|~y&w)+g[8]+1770035416|0,m=(m<<7|m>>>25)+y|0,w+=(m&y|~m&_)+g[9]-1958414417|0,w=(w<<12|w>>>20)+m|0,_+=(w&m|~w&y)+g[10]-42063|0,_=(_<<17|_>>>15)+w|0,y+=(_&w|~_&m)+g[11]-1990404162|0,y=(y<<22|y>>>10)+_|0,m+=(y&_|~y&w)+g[12]+1804603682|0,m=(m<<7|m>>>25)+y|0,w+=(m&y|~m&_)+g[13]-40341101|0,w=(w<<12|w>>>20)+m|0,_+=(w&m|~w&y)+g[14]-1502002290|0,_=(_<<17|_>>>15)+w|0,y+=(_&w|~_&m)+g[15]+1236535329|0,y=(y<<22|y>>>10)+_|0,m+=(y&w|_&~w)+g[1]-165796510|0,m=(m<<5|m>>>27)+y|0,w+=(m&_|y&~_)+g[6]-1069501632|0,w=(w<<9|w>>>23)+m|0,_+=(w&y|m&~y)+g[11]+643717713|0,_=(_<<14|_>>>18)+w|0,y+=(_&m|w&~m)+g[0]-373897302|0,y=(y<<20|y>>>12)+_|0,m+=(y&w|_&~w)+g[5]-701558691|0,m=(m<<5|m>>>27)+y|0,w+=(m&_|y&~_)+g[10]+38016083|0,w=(w<<9|w>>>23)+m|0,_+=(w&y|m&~y)+g[15]-660478335|0,_=(_<<14|_>>>18)+w|0,y+=(_&m|w&~m)+g[4]-405537848|0,y=(y<<20|y>>>12)+_|0,m+=(y&w|_&~w)+g[9]+568446438|0,m=(m<<5|m>>>27)+y|0,w+=(m&_|y&~_)+g[14]-1019803690|0,w=(w<<9|w>>>23)+m|0,_+=(w&y|m&~y)+g[3]-187363961|0,_=(_<<14|_>>>18)+w|0,y+=(_&m|w&~m)+g[8]+1163531501|0,y=(y<<20|y>>>12)+_|0,m+=(y&w|_&~w)+g[13]-1444681467|0,m=(m<<5|m>>>27)+y|0,w+=(m&_|y&~_)+g[2]-51403784|0,w=(w<<9|w>>>23)+m|0,_+=(w&y|m&~y)+g[7]+1735328473|0,_=(_<<14|_>>>18)+w|0,y+=(_&m|w&~m)+g[12]-1926607734|0,y=(y<<20|y>>>12)+_|0,m+=(y^_^w)+g[5]-378558|0,m=(m<<4|m>>>28)+y|0,w+=(m^y^_)+g[8]-2022574463|0,w=(w<<11|w>>>21)+m|0,_+=(w^m^y)+g[11]+1839030562|0,_=(_<<16|_>>>16)+w|0,y+=(_^w^m)+g[14]-35309556|0,y=(y<<23|y>>>9)+_|0,m+=(y^_^w)+g[1]-1530992060|0,m=(m<<4|m>>>28)+y|0,w+=(m^y^_)+g[4]+1272893353|0,w=(w<<11|w>>>21)+m|0,_+=(w^m^y)+g[7]-155497632|0,_=(_<<16|_>>>16)+w|0,y+=(_^w^m)+g[10]-1094730640|0,y=(y<<23|y>>>9)+_|0,m+=(y^_^w)+g[13]+681279174|0,m=(m<<4|m>>>28)+y|0,w+=(m^y^_)+g[0]-358537222|0,w=(w<<11|w>>>21)+m|0,_+=(w^m^y)+g[3]-722521979|0,_=(_<<16|_>>>16)+w|0,y+=(_^w^m)+g[6]+76029189|0,y=(y<<23|y>>>9)+_|0,m+=(y^_^w)+g[9]-640364487|0,m=(m<<4|m>>>28)+y|0,w+=(m^y^_)+g[12]-421815835|0,w=(w<<11|w>>>21)+m|0,_+=(w^m^y)+g[15]+530742520|0,_=(_<<16|_>>>16)+w|0,y+=(_^w^m)+g[2]-995338651|0,y=(y<<23|y>>>9)+_|0,m+=(_^(y|~w))+g[0]-198630844|0,m=(m<<6|m>>>26)+y|0,w+=(y^(m|~_))+g[7]+1126891415|0,w=(w<<10|w>>>22)+m|0,_+=(m^(w|~y))+g[14]-1416354905|0,_=(_<<15|_>>>17)+w|0,y+=(w^(_|~m))+g[5]-57434055|0,y=(y<<21|y>>>11)+_|0,m+=(_^(y|~w))+g[12]+1700485571|0,m=(m<<6|m>>>26)+y|0,w+=(y^(m|~_))+g[3]-1894986606|0,w=(w<<10|w>>>22)+m|0,_+=(m^(w|~y))+g[10]-1051523|0,_=(_<<15|_>>>17)+w|0,y+=(w^(_|~m))+g[1]-2054922799|0,y=(y<<21|y>>>11)+_|0,m+=(_^(y|~w))+g[8]+1873313359|0,m=(m<<6|m>>>26)+y|0,w+=(y^(m|~_))+g[15]-30611744|0,w=(w<<10|w>>>22)+m|0,_+=(m^(w|~y))+g[6]-1560198380|0,_=(_<<15|_>>>17)+w|0,y+=(w^(_|~m))+g[13]+1309151649|0,y=(y<<21|y>>>11)+_|0,m+=(_^(y|~w))+g[4]-145523070|0,m=(m<<6|m>>>26)+y|0,w+=(y^(m|~_))+g[11]-1120210379|0,w=(w<<10|w>>>22)+m|0,_+=(m^(w|~y))+g[2]+718787259|0,_=(_<<15|_>>>17)+w|0,y+=(w^(_|~m))+g[9]-343485551|0,y=(y<<21|y>>>11)+_|0,k[0]=m+k[0]|0,k[1]=y+k[1]|0,k[2]=_+k[2]|0,k[3]=w+k[3]|0}function r(k){var g=[],m;for(m=0;m<64;m+=4)g[m>>2]=k.charCodeAt(m)+(k.charCodeAt(m+1)<<8)+(k.charCodeAt(m+2)<<16)+(k.charCodeAt(m+3)<<24);return g}function a(k){var g=[],m;for(m=0;m<64;m+=4)g[m>>2]=k[m]+(k[m+1]<<8)+(k[m+2]<<16)+(k[m+3]<<24);return g}function i(k){var g=k.length,m=[1732584193,-271733879,-1732584194,271733878],y,_,w,$,Y,B;for(y=64;y<=g;y+=64)s(m,r(k.substring(y-64,y)));for(k=k.substring(y-64),_=k.length,w=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],y=0;y<_;y+=1)w[y>>2]|=k.charCodeAt(y)<<(y%4<<3);if(w[y>>2]|=128<<(y%4<<3),y>55)for(s(m,w),y=0;y<16;y+=1)w[y]=0;return $=g*8,$=$.toString(16).match(/(.*?)(.{0,8})$/),Y=parseInt($[2],16),B=parseInt($[1],16)||0,w[14]=Y,w[15]=B,s(m,w),m}function l(k){var g=k.length,m=[1732584193,-271733879,-1732584194,271733878],y,_,w,$,Y,B;for(y=64;y<=g;y+=64)s(m,a(k.subarray(y-64,y)));for(k=y-64<g?k.subarray(y-64):new Uint8Array(0),_=k.length,w=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],y=0;y<_;y+=1)w[y>>2]|=k[y]<<(y%4<<3);if(w[y>>2]|=128<<(y%4<<3),y>55)for(s(m,w),y=0;y<16;y+=1)w[y]=0;return $=g*8,$=$.toString(16).match(/(.*?)(.{0,8})$/),Y=parseInt($[2],16),B=parseInt($[1],16)||0,w[14]=Y,w[15]=B,s(m,w),m}function c(k){var g="",m;for(m=0;m<4;m+=1)g+=n[k>>m*8+4&15]+n[k>>m*8&15];return g}function u(k){var g;for(g=0;g<k.length;g+=1)k[g]=c(k[g]);return k.join("")}u(i("hello")),typeof ArrayBuffer<"u"&&!ArrayBuffer.prototype.slice&&function(){function k(g,m){return g=g|0||0,g<0?Math.max(g+m,0):Math.min(g,m)}ArrayBuffer.prototype.slice=function(g,m){var y=this.byteLength,_=k(g,y),w=y,$,Y,B,M;return m!==e&&(w=k(m,y)),_>w?new ArrayBuffer(0):($=w-_,Y=new ArrayBuffer($),B=new Uint8Array(Y),M=new Uint8Array(this,_,$),B.set(M),Y)}}();function f(k){return/[\u0080-\uFFFF]/.test(k)&&(k=unescape(encodeURIComponent(k))),k}function d(k,g){var m=k.length,y=new ArrayBuffer(m),_=new Uint8Array(y),w;for(w=0;w<m;w+=1)_[w]=k.charCodeAt(w);return g?_:y}function h(k){return String.fromCharCode.apply(null,new Uint8Array(k))}function p(k,g,m){var y=new Uint8Array(k.byteLength+g.byteLength);return y.set(new Uint8Array(k)),y.set(new Uint8Array(g),k.byteLength),m?y:y.buffer}function b(k){var g=[],m=k.length,y;for(y=0;y<m-1;y+=2)g.push(parseInt(k.substr(y,2),16));return String.fromCharCode.apply(String,g)}function x(){this.reset()}return x.prototype.append=function(k){return this.appendBinary(f(k)),this},x.prototype.appendBinary=function(k){this._buff+=k,this._length+=k.length;var g=this._buff.length,m;for(m=64;m<=g;m+=64)s(this._hash,r(this._buff.substring(m-64,m)));return this._buff=this._buff.substring(m-64),this},x.prototype.end=function(k){var g=this._buff,m=g.length,y,_=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],w;for(y=0;y<m;y+=1)_[y>>2]|=g.charCodeAt(y)<<(y%4<<3);return this._finish(_,m),w=u(this._hash),k&&(w=b(w)),this.reset(),w},x.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},x.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},x.prototype.setState=function(k){return this._buff=k.buff,this._length=k.length,this._hash=k.hash,this},x.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},x.prototype._finish=function(k,g){var m=g,y,_,w;if(k[m>>2]|=128<<(m%4<<3),m>55)for(s(this._hash,k),m=0;m<16;m+=1)k[m]=0;y=this._length*8,y=y.toString(16).match(/(.*?)(.{0,8})$/),_=parseInt(y[2],16),w=parseInt(y[1],16)||0,k[14]=_,k[15]=w,s(this._hash,k)},x.hash=function(k,g){return x.hashBinary(f(k),g)},x.hashBinary=function(k,g){var m=i(k),y=u(m);return g?b(y):y},x.ArrayBuffer=function(){this.reset()},x.ArrayBuffer.prototype.append=function(k){var g=p(this._buff.buffer,k,!0),m=g.length,y;for(this._length+=k.byteLength,y=64;y<=m;y+=64)s(this._hash,a(g.subarray(y-64,y)));return this._buff=y-64<m?new Uint8Array(g.buffer.slice(y-64)):new Uint8Array(0),this},x.ArrayBuffer.prototype.end=function(k){var g=this._buff,m=g.length,y=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],_,w;for(_=0;_<m;_+=1)y[_>>2]|=g[_]<<(_%4<<3);return this._finish(y,m),w=u(this._hash),k&&(w=b(w)),this.reset(),w},x.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},x.ArrayBuffer.prototype.getState=function(){var k=x.prototype.getState.call(this);return k.buff=h(k.buff),k},x.ArrayBuffer.prototype.setState=function(k){return k.buff=d(k.buff,!0),x.prototype.setState.call(this,k)},x.ArrayBuffer.prototype.destroy=x.prototype.destroy,x.ArrayBuffer.prototype._finish=x.prototype._finish,x.ArrayBuffer.hash=function(k,g){var m=l(new Uint8Array(k)),y=u(m);return g?b(y):y},x})})(U1);const md=o=>new XMLSerializer().serializeToString(o),H1=(o,t=nd.SVG,e=Hr.utf8)=>fd(md(o),t,e);function G1(o,t){const e=hd(t||"");if(!t)try{let n=window.localStorage.getItem(o);n&&(n=JSON.parse(n),e.value=n?n.value:"")}catch{}return yl(()=>{if(e.value)try{window.localStorage.setItem(o,JSON.stringify(e))}catch{}else window.localStorage.removeItem(o)}),e}function Jt(o,t,e,n=!1){const s=async r=>{await e(r)};try{o.addEventListener(t,s,n)}catch{o.attachEvent("on"+t,s)}return()=>{try{o.removeEventListener(t,s,n)}catch{o.detachEvent("on"+t,s)}}}function Kr(o){o.preventDefault&&o.preventDefault();try{o.returnValue=!1}catch{}}function j1(){const o=window.navigator.userAgent,t=o.indexOf("MSIE ");if(t>0)return parseInt(o.substring(t+5,o.indexOf(".",t)),10);if(o.indexOf("Trident/")>0){const s=o.indexOf("rv:");return parseInt(o.substring(s+3,o.indexOf(".",s)),10)}const n=o.indexOf("Edge/");return n>0?parseInt(o.substring(n+5,o.indexOf(".",n)),10):-1}const bl=j1()!==-1;!!(uo.Worker&&uo.Blob&&uo.Promise&&uo.OffscreenCanvas&&uo.OffscreenCanvasRenderingContext2D&&uo.HTMLCanvasElement&&uo.HTMLCanvasElement.prototype.transferControlToOffscreen&&uo.URL&&uo.URL.createObjectURL),function(){if(!uo.OffscreenCanvas)return!1;const o=new OffscreenCanvas(1,1),t=o.getContext("2d");t.fillRect(0,0,1,1);const e=o.transferToImageBitmap();try{t.createPattern(e,"no-repeat")}catch{return!1}return!0}(),function(){if(!window.requestAnimationFrame){let o=ie();window.requestAnimationFrame=function(t){const e=ie(),n=Math.max(0,16-(e-o)),s=window.setTimeout(function(){t(e+n)},n);return o=e+n,s}}window.cancelAnimationFrame||(window.cancelAnimationFrame=function(o){clearTimeout(o)})}();function zs(o){let t=!1;return window.requestAnimationFrame(function e(n){!t&&o(n)&&window.requestAnimationFrame(e)}),()=>{t=!0}}function _l(o,t=0){if(t==0)return o(ie()),()=>{};{const e=ie();return zs(n=>n-e>=t?(o(n),!1):!0)}}function W1(o,t=0){let e=!1,n=0;const s=ie(),r=a=>{if(e)return;n++;const i=a-s-n*t;o(a,n,t<=i),_l(r,Math.max(0,t-i))};return _l(r,t),()=>{e=!0}}function gd(o,t=20){const e=1e3/t;let n=0,s;return()=>(ie()-n>=e&&(n=ie(),s=o()),s)}window.requestIdleCallback=window.requestIdleCallback||function(o,t){const e=ie();return setTimeout(function(){o({didTimeout:ie()-e>50,timeRemaining:()=>Math.max(0,50-(ie()-e))})},t?.timeout)},window.cancelIdleCallback=window.cancelIdleCallback||function(o){clearTimeout(o)};const xl=new ml;let kl=!1;function yd(o,t,e){o&&t&&xl.set(o,{cb:t,startTime:ie(),timeout:e}),!kl&&(kl=!0,K1(n=>{kl=!1;let s=n.timeRemaining();xl.filter((r,a)=>{let i=!1;const l=ie();(s>0||a.timeout&&ie()-a.startTime>=a.timeout)&&(a.cb(),i=!0);const c=ie();return s-=c-l,!i}),xl.length>0&&yd()}))}let Qr=0,Tn=33,Jo=33,wl;const vd=new MessageChannel,q1=vd.port2;vd.port1.onmessage=o=>{wl!==null&&wl({didTimeout:Qr<=ie(),timeRemaining:()=>Math.max(0,Qr-ie())})};function K1(o){return wl=o,requestAnimationFrame(t=>{let e=t-Qr+Jo;e<Jo&&Tn<Jo?(e<8&&(e=8),Jo=e<Tn?Tn:e):e>Jo&&Tn>Jo?Jo=e<Tn?Tn:e:Tn=e,Qr=t+Jo,q1.postMessage(null)})}class Ds{static _nextId=0;static nextId(){return Ds._nextId++}}const at={Linear:{None:function(o){return o}},Ease:{In:function(o){return Math.pow(o,1.7)}},Quadratic:{In:function(o){return o*o},Out:function(o){return o*(2-o)},InOut:function(o){return(o*=2)<1?.5*o*o:-.5*(--o*(o-2)-1)}},Cubic:{In:function(o){return o*o*o},Out:function(o){return--o*o*o+1},InOut:function(o){return(o*=2)<1?.5*o*o*o:.5*((o-=2)*o*o+2)}},Quartic:{In:function(o){return o*o*o*o},Out:function(o){return 1- --o*o*o*o},InOut:function(o){return(o*=2)<1?.5*o*o*o*o:-.5*((o-=2)*o*o*o-2)}},Quintic:{In:function(o){return o*o*o*o*o},Out:function(o){return--o*o*o*o*o+1},InOut:function(o){return(o*=2)<1?.5*o*o*o*o*o:.5*((o-=2)*o*o*o*o+2)}},Sinusoidal:{In:function(o){return 1-Math.sin((1-o)*Math.PI/2)},Out:function(o){return Math.sin(o*Math.PI/2)},InOut:function(o){return .5*(1-Math.sin(Math.PI*(.5-o)))}},Exponential:{In:function(o){return o===0?0:Math.pow(1024,o-1)},Out:function(o){return o===1?1:1-Math.pow(2,-10*o)},InOut:function(o){return o===0?0:o===1?1:(o*=2)<1?.5*Math.pow(1024,o-1):.5*(-Math.pow(2,-10*(o-1))+2)}},Circular:{In:function(o){return 1-Math.sqrt(1-o*o)},Out:function(o){return Math.sqrt(1- --o*o)},InOut:function(o){return(o*=2)<1?-.5*(Math.sqrt(1-o*o)-1):.5*(Math.sqrt(1-(o-=2)*o)+1)}},Elastic:{In:function(o){return o===0?0:o===1?1:-Math.pow(2,10*(o-1))*Math.sin((o-1.1)*5*Math.PI)},Out:function(o){return o===0?0:o===1?1:Math.pow(2,-10*o)*Math.sin((o-.1)*5*Math.PI)+1},InOut:function(o){return o===0?0:o===1?1:(o*=2,o<1?-.5*Math.pow(2,10*(o-1))*Math.sin((o-1.1)*5*Math.PI):.5*Math.pow(2,-10*(o-1))*Math.sin((o-1.1)*5*Math.PI)+1)}},Back:{In:function(o){return o===1?1:o*o*((1.70158+1)*o-1.70158)},Out:function(o){return o===0?0:--o*o*((1.70158+1)*o+1.70158)+1},InOut:function(o){const t=2.5949095;return(o*=2)<1?.5*(o*o*((t+1)*o-t)):.5*((o-=2)*o*((t+1)*o+t)+2)}},Bounce:{In:function(o){return 1-at.Bounce.Out(1-o)},Out:function(o){return o<1/2.75?7.5625*o*o:o<2/2.75?7.5625*(o-=1.5/2.75)*o+.75:o<2.5/2.75?7.5625*(o-=2.25/2.75)*o+.9375:7.5625*(o-=2.625/2.75)*o+.984375},InOut:function(o){return o<.5?at.Bounce.In(o*2)*.5:at.Bounce.Out(o*2-1)*.5+.5}},generatePow:function(o=4){return o=o<Number.EPSILON?Number.EPSILON:o,o=o>1e4?1e4:o,{In:function(t){return t**o},Out:function(t){return 1-(1-t)**o},InOut:function(t){return t<.5?(t*2)**o/2:(1-(2-t*2)**o)/2+.5}}},random:function(o){return Math.random()},createStep:function(o){return function(t){return Math.floor(t*o)/o}},createNoisyEasing:function(o,t=.1){const e=1-t;return function(n){return t*Math.random()+e*o(n)}},swing:function(o){return o+Math.sin(o*Math.PI*2)/2},causeSeizures:function(o){return o+.2*Math.random()-.1}},Cl=at;function Q1(o){switch(o){case at.Quadratic.In:return at.Quadratic.Out;case at.Quadratic.Out:return at.Quadratic.In;case at.Quadratic.InOut:return at.Quadratic.InOut;case at.Cubic.In:return at.Cubic.Out;case at.Cubic.Out:return at.Cubic.In;case at.Cubic.InOut:return at.Cubic.InOut;case at.Quartic.In:return at.Quartic.Out;case at.Quartic.Out:return at.Quartic.In;case at.Quartic.InOut:return at.Quartic.InOut;case at.Quintic.In:return at.Quintic.Out;case at.Quintic.Out:return at.Quintic.In;case at.Quintic.InOut:return at.Quintic.InOut;case at.Sinusoidal.In:return at.Sinusoidal.Out;case at.Sinusoidal.Out:return at.Sinusoidal.In;case at.Sinusoidal.InOut:return at.Sinusoidal.InOut;case at.Exponential.In:return at.Exponential.Out;case at.Exponential.Out:return at.Exponential.In;case at.Exponential.InOut:return at.Exponential.InOut;case at.Circular.In:return at.Circular.Out;case at.Circular.Out:return at.Circular.In;case at.Circular.InOut:return at.Circular.InOut;case at.Elastic.In:return at.Elastic.Out;case at.Elastic.Out:return at.Elastic.In;case at.Elastic.InOut:return at.Elastic.InOut;case at.Back.In:return at.Back.Out;case at.Back.Out:return at.Back.In;case at.Back.InOut:return at.Back.InOut;case at.Bounce.In:return at.Bounce.Out;case at.Bounce.Out:return at.Bounce.In;case at.Bounce.InOut:return at.Bounce.InOut;default:return o}}const Xn={Utils:{Linear:function(o,t,e){return(t-o)*e+o},Factorial:function(){const o=[1];return function(t){let e=1;if(o[t])return o[t];for(let n=t;n>1;n--)e*=n;return o[t]=e,e}}(),Bernstein:function(o,t){const e=Xn.Utils.Factorial;return e(o)/e(t)/e(o-t)},CatmullRom:function(o,t,e,n,s){const r=(e-o)*.5,a=(n-t)*.5,i=s*s,l=s*i;return(2*t-2*e+r+a)*l+(-3*t+3*e-2*r-a)*i+r*s+t},QuadraticBezier:(o,t,e,n)=>{const s=1-n;return s*s*o+2*s*n*t+n*n*e},CubicBezier:(o,t,e,n,s)=>{const r=1-s;return r*r*r*o+3*r*r*s*t+3*r*s*s*e+s*s*s*n}},Linear:function(o,t){const e=o.length-1,n=e*t,s=Math.floor(n),r=Xn.Utils.Linear;return t<0?r(o[0],o[1],n):t>1?r(o[e],o[e-1],e-n):r(o[s],o[s+1>e?e:s+1],n-s)},Bezier:function(o,t){let e=0;const n=o.length-1,s=Math.pow,r=Xn.Utils.Bernstein;for(let a=0;a<=n;a++)e+=s(1-t,n-a)*s(t,a)*o[a]*r(n,a);return e},CatmullRom:function(o,t){const e=o.length-1;let n=e*t,s=Math.floor(n);const r=Xn.Utils.CatmullRom;return o[0]===o[e]?(t<0&&(s=Math.floor(n=e*(1+t))),r(o[(s-1+e)%e],o[s],o[(s+1)%e],o[(s+2)%e],n-s)):t<0?o[0]-(r(o[0],o[0],o[1],o[1],-n)-o[0]):t>1?o[e]-(r(o[e],o[e],o[e-1],o[e-1],n-e)-o[e]):r(o[s?s-1:0],o[s],o[e<s+1?e:s+1],o[e<s+2?e:s+2],n-s)}},Tl=Xn;class bd{_tweens={};_tweensAddedDuringUpdate={};getAll(){return Object.keys(this._tweens).map(t=>this._tweens[t])}removeAll(){this._tweens={}}add(t){this._tweens[t.getId()]=t,this._tweensAddedDuringUpdate[t.getId()]=t}remove(t){delete this._tweens[t.getId()],delete this._tweensAddedDuringUpdate[t.getId()]}update(t=ie(),e=!1){const n=Object.keys(this._tweens);for(let s=0;s<n.length;s++){const r=this._tweens[n[s]],a=!e;r&&r.update(t,a)===!1&&!e&&delete this._tweens[n[s]]}return!!Object.keys(this._tweens).length}}const We=new bd;class _d{constructor(t,e=We){this._object=t,this._group=e}_id=Ds.nextId();_isPlaying=!1;_startTime=0;_delayTime=0;_durationTime=1e3;_isPaused=!1;_pauseStartTime=0;_initialRepeat=0;_repeat=0;_repeatDelayTime;_yoyo=!1;_reversed=!1;_valuesStart={};_valuesEnd={};_valuesStartRepeat={};_easingFunction=Cl.Linear.None;_interpolationFunction=Tl.Linear;_chainedTweens=[];_isChainStopped=!1;_onStartCallback;_onStartCallbackFired=!1;_onEveryStartCallback;_onEveryStartCallbackFired=!1;_onUpdateCallback;_onRepeatCallback;_onCompleteCallback;_onStopCallback;_goToEnd=!1;getId(){return this._id}isPlaying(){return this._isPlaying}isPaused(){return this._isPaused}to(t,e){return this._valuesEnd=Object.create(t),e!==void 0&&(this._durationTime=e),this}duration(t=1e3){return this._durationTime=t,this}start(t=ie()){if(this._isPlaying)return this;if(this._group&&this._group.add(this),this._repeat=this._initialRepeat,this._reversed){this._reversed=!1;for(const e in this._valuesStartRepeat)this._swapEndStartRepeatValues(e),this._valuesStart[e]=this._valuesStartRepeat[e]}return this._isPlaying=!0,this._isPaused=!1,this._onStartCallbackFired=!1,this._onEveryStartCallbackFired=!1,this._isChainStopped=!1,this._startTime=t,this._startTime+=this._delayTime,this._setupProperties(this._object,this._valuesStart,this._valuesEnd,this._valuesStartRepeat),this}_setupProperties(t,e,n,s){for(const r in n){const a=t[r],i=Array.isArray(a),l=i?"array":typeof a,c=!i&&Array.isArray(n[r]);if(!(l==="undefined"||l==="function")){if(c){let u=n[r];if(u.length===0)continue;u=u.map(this._handleRelativeValue.bind(this,a)),n[r]=[a].concat(u)}if((l==="object"||i)&&a&&!c){e[r]=i?[]:{};for(const u in a)e[r][u]=a[u];s[r]=i?[]:{},this._setupProperties(a,e[r],n[r],s[r])}else typeof e[r]>"u"&&(e[r]=a),i||(e[r]*=1),c?s[r]=n[r].slice().reverse():s[r]=e[r]||0}}}stop(){return this._isChainStopped||(this._isChainStopped=!0,this.stopChainedTweens()),this._isPlaying?(this._group&&this._group.remove(this),this._isPlaying=!1,this._isPaused=!1,this._onStopCallback&&this._onStopCallback(this._object),this):this}end(){return this._goToEnd=!0,this.update(1/0),this}pause(t=ie()){return this._isPaused||!this._isPlaying?this:(this._isPaused=!0,this._pauseStartTime=t,this._group&&this._group.remove(this),this)}resume(t=ie()){return!this._isPaused||!this._isPlaying?this:(this._isPaused=!1,this._startTime+=t-this._pauseStartTime,this._pauseStartTime=0,this._group&&this._group.add(this),this)}stopChainedTweens(){for(let t=0,e=this._chainedTweens.length;t<e;t++)this._chainedTweens[t].stop();return this}group(t=We){return this._group=t,this}delay(t=0){return this._delayTime=t,this}repeat(t=0){return this._initialRepeat=t,this._repeat=t,this}repeatDelay(t){return this._repeatDelayTime=t,this}yoyo(t=!1){return this._yoyo=t,this}easing(t=Cl.Linear.None){return this._easingFunction=t,this}interpolation(t=Tl.Linear){return this._interpolationFunction=t,this}chain(...t){return this._chainedTweens=t,this}onStart(t){return this._onStartCallback=t,this}onEveryStart(t){return this._onEveryStartCallback=t,this}onUpdate(t){return this._onUpdateCallback=t,this}onRepeat(t){return this._onRepeatCallback=t,this}onComplete(t){return this._onCompleteCallback=t,this}onStop(t){return this._onStopCallback=t,this}update(t=ie(),e=!0){if(this._isPaused)return!0;let n,s;const r=this._startTime+this._durationTime;if(!this._goToEnd&&!this._isPlaying){if(t>r)return!1;e&&this.start(t)}if(this._goToEnd=!1,t<this._startTime)return!0;this._onStartCallbackFired===!1&&(this._onStartCallback&&this._onStartCallback(this._object),this._onStartCallbackFired=!0),this._onEveryStartCallbackFired===!1&&(this._onEveryStartCallback&&this._onEveryStartCallback(this._object),this._onEveryStartCallbackFired=!0),s=(t-this._startTime)/this._durationTime,s=this._durationTime===0||s>1?1:s;const a=this._easingFunction(s);if(this._updateProperties(this._object,this._valuesStart,this._valuesEnd,a),this._onUpdateCallback&&this._onUpdateCallback(this._object,s),s===1)if(this._repeat>0){isFinite(this._repeat)&&this._repeat--;for(n in this._valuesStartRepeat)!this._yoyo&&typeof this._valuesEnd[n]=="string"&&(this._valuesStartRepeat[n]=this._valuesStartRepeat[n]+parseFloat(this._valuesEnd[n])),this._yoyo&&this._swapEndStartRepeatValues(n),this._valuesStart[n]=this._valuesStartRepeat[n];return this._yoyo&&(this._reversed=!this._reversed),this._repeatDelayTime!==void 0?this._startTime=t+this._repeatDelayTime:this._startTime=t+this._delayTime,this._onRepeatCallback&&this._onRepeatCallback(this._object),this._onEveryStartCallbackFired=!1,!0}else{this._onCompleteCallback&&this._onCompleteCallback(this._object);for(let i=0,l=this._chainedTweens.length;i<l;i++)this._chainedTweens[i].start(this._startTime+this._durationTime);return this._isPlaying=!1,!1}return!0}_updateProperties(t,e,n,s){for(const r in n){if(e[r]===void 0)continue;const a=e[r]||0;let i=n[r];const l=Array.isArray(t[r]),c=Array.isArray(i);!l&&c?t[r]=this._interpolationFunction(i,s):typeof i=="object"&&i?this._updateProperties(t[r],a,i,s):(i=this._handleRelativeValue(a,i),typeof i=="number"&&(t[r]=a+(i-a)*s))}}_handleRelativeValue(t,e){return typeof e!="string"?e:e.charAt(0)==="+"||e.charAt(0)==="-"?t+parseFloat(e):parseFloat(e)}_swapEndStartRepeatValues(t){const e=this._valuesStartRepeat[t],n=this._valuesEnd[t];typeof n=="string"?this._valuesStartRepeat[t]=this._valuesStartRepeat[t]+parseFloat(n):this._valuesStartRepeat[t]=n,this._valuesEnd[t]=e}}const J1=_d,tv=Ds.nextId,ev=We.getAll.bind(We),ov=We.removeAll.bind(We),nv=We.add.bind(We),sv=We.remove.bind(We),rv=We.update.bind(We),_t={now:ie,Sequence:Ds,Easing:Cl,Interpolation:Tl,Group:bd,Tween:J1,nextId:tv,getAll:ev,removeAll:ov,add:nv,remove:sv,update:rv};class av{autoStart;startTime;oldTime;elapsedTime;running;constructor(t=!0){this.autoStart=t,this.startTime=0,this.oldTime=0,this.elapsedTime=0,this.running=!1}start(){this.startTime=ie(),this.oldTime=this.startTime,this.elapsedTime=0,this.running=!0}stop(){this.getElapsedTime(),this.running=!1,this.autoStart=!1}getElapsedTime(){return this.getDelta(),this.elapsedTime}getDelta(){let t=0;if(this.autoStart&&!this.running)return this.start(),0;if(this.running){const e=ie();t=e-this.oldTime,this.oldTime=e,this.elapsedTime+=t}return t}}const xd=av;class Xe{tweens=[];frameDuration;onGroupStart;onGroupComplete;constructor(t){this.frameDuration=t?.frameDuration||1e3,this.onGroupStart=t?.onGroupStart,this.onGroupComplete=t?.onGroupComplete}get count(){return this.tweens.length}clear(){this.tweens=[]}sort(t=!1){X1(this.tweens,(e,n)=>t?e.delay>n.delay:e.delay<=n.delay)}cloneTweens(t=this.tweens){const e=[];return t.forEach(n=>{const s={...n};delete s.tween,s.fromValues={...s.fromValues},s.toValues={...s.toValues},e.push(s)}),e}addTween(t,e,n){const s={fromValues:t,toValues:e,frames:typeof n?.frames=="number"?n.frames:1,delay:typeof n?.delay=="number"?n.delay:this.tweens.length,easeFunction:n?.easeFunction||at.Linear.None,interpolationFunction:n?.interpolationFunction||Xn.Linear,repeat:typeof n?.repeat=="number"?n.repeat:0,yoyo:n?.yoyo||!1,onStart:n?.onStart||(()=>{}),onUpdate:n?.onUpdate||(()=>{}),onComplete:n?.onComplete||(()=>{})};return this.tweens.push(s),this}cancelRequestAnimationCycle=()=>{};runTweens(t){this.cancelRequestAnimationCycle();const e=new xd,n=this.frameDuration;return new Promise(s=>{this.onGroupStart?.(),this.cancelRequestAnimationCycle=zs(r=>{if(!this.isPaused){const i=Math.max(0,r-this.pausedDuration),l=Math.max(0,e.getElapsedTime()-this.pausedDuration);t.filter(c=>c.delay*n<=l).forEach(c=>{c.tween||(c.tween=new _d({...c.fromValues}).to({...c.toValues},c.frames*n).easing(c.easeFunction).interpolation(c.interpolationFunction).repeat(c.repeat).yoyo(c.yoyo).onStart(c.onStart).onUpdate(c.onUpdate).onComplete(c.onComplete),c.tween.start(i)),(c.delay+c.frames*(c.repeat+1))*n>l?c.tween.update(i):(c.tween.isPlaying()&&c.tween.end(),id(t,c))})}const a=!!t.length;return a||(this.onGroupComplete?.(),s()),a})})}isPaused=!1;pausedClock=new xd;pausedDuration=0;play(t=this.cloneTweens(this.tweens)){this.isPaused=!1,this.pausedDuration=0,this.runTweens(t)}reverse(){const t=this.cloneTweens(this.tweens);let e=0;t.forEach(n=>{e=Math.max(e,n.delay+n.frames),n.easeFunction=Q1(n.easeFunction);const s={...n.toValues};n.toValues={...n.fromValues},n.fromValues={...s}}),t.forEach(n=>{n.delay=e-n.frames}),this.play(t)}pause(){this.pausedClock.start(),this.isPaused=!0}resume(){this.pausedDuration+=this.pausedClock.getElapsedTime(),this.pausedClock.stop(),this.isPaused=!1}}const Jr=new ml,iv=(o=!0)=>{Jr.filter((t,e)=>(e.alternate&&(ih(e,e.alternate),o&&Jr.set(t,e.alternate),e.alternate=void 0),o))};function kd(o){let t=Jr.get(o);return t||(t=Yl(o),Jr.set(o,t)),t}function lv(o){const t=kd(o);return t.alternate||(t.alternate=Yl(o)),t.alternate}function cv(o,t,e=!0){t(lv(o)),yd("FLUSH_DOM_ACTION",()=>iv(e),50)}function ee(o){return o*Math.PI/180}function qe(o){return o*180/Math.PI}function wd(o,t,e=0){return Math.sqrt(o*o+t*t+e*e)}function Cd(o,t,e,n){return wd(e-o,n-t)}function El(o,t,e,n){const s=e-o,r=n-t;return s*s+r*r}function ta(o,t,e,n){let s=Math.atan2(n-t,e-o);return s<0&&(s+=Math.PI*2),s}function Zn(o,t){return{dx:Math.cos(o)*t,dy:Math.sin(o)*t}}const Td=uv("50,nbsp,51,iexcl,52,cent,53,pound,54,curren,55,yen,56,brvbar,57,sect,58,uml,59,copy,5a,ordf,5b,laquo,5c,not,5d,shy,5e,reg,5f,macr,5g,deg,5h,plusmn,5i,sup2,5j,sup3,5k,acute,5l,micro,5m,para,5n,middot,5o,cedil,5p,sup1,5q,ordm,5r,raquo,5s,frac14,5t,frac12,5u,frac34,5v,iquest,60,Agrave,61,Aacute,62,Acirc,63,Atilde,64,Auml,65,Aring,66,AElig,67,Ccedil,68,Egrave,69,Eacute,6a,Ecirc,6b,Euml,6c,Igrave,6d,Iacute,6e,Icirc,6f,Iuml,6g,ETH,6h,Ntilde,6i,Ograve,6j,Oacute,6k,Ocirc,6l,Otilde,6m,Ouml,6n,times,6o,Oslash,6p,Ugrave,6q,Uacute,6r,Ucirc,6s,Uuml,6t,Yacute,6u,THORN,6v,szlig,70,agrave,71,aacute,72,acirc,73,atilde,74,auml,75,aring,76,aelig,77,ccedil,78,egrave,79,eacute,7a,ecirc,7b,euml,7c,igrave,7d,iacute,7e,icirc,7f,iuml,7g,eth,7h,ntilde,7i,ograve,7j,oacute,7k,ocirc,7l,otilde,7m,ouml,7n,divide,7o,oslash,7p,ugrave,7q,uacute,7r,ucirc,7s,uuml,7t,yacute,7u,thorn,7v,yuml,ci,fnof,sh,Alpha,si,Beta,sj,Gamma,sk,Delta,sl,Epsilon,sm,Zeta,sn,Eta,so,Theta,sp,Iota,sq,Kappa,sr,Lambda,ss,Mu,st,Nu,su,Xi,sv,Omicron,t0,Pi,t1,Rho,t3,Sigma,t4,Tau,t5,Upsilon,t6,Phi,t7,Chi,t8,Psi,t9,Omega,th,alpha,ti,beta,tj,gamma,tk,delta,tl,epsilon,tm,zeta,tn,eta,to,theta,tp,iota,tq,kappa,tr,lambda,ts,mu,tt,nu,tu,xi,tv,omicron,u0,pi,u1,rho,u2,sigmaf,u3,sigma,u4,tau,u5,upsilon,u6,phi,u7,chi,u8,psi,u9,omega,uh,thetasym,ui,upsih,um,piv,812,bull,816,hellip,81i,prime,81j,Prime,81u,oline,824,frasl,88o,weierp,88h,image,88s,real,892,trade,89l,alefsym,8cg,larr,8ch,uarr,8ci,rarr,8cj,darr,8ck,harr,8dl,crarr,8eg,lArr,8eh,uArr,8ei,rArr,8ej,dArr,8ek,hArr,8g0,forall,8g2,part,8g3,exist,8g5,empty,8g7,nabla,8g8,isin,8g9,notin,8gb,ni,8gf,prod,8gh,sum,8gi,minus,8gn,lowast,8gq,radic,8gt,prop,8gu,infin,8h0,ang,8h7,and,8h8,or,8h9,cap,8ha,cup,8hb,int,8hk,there4,8hs,sim,8i5,cong,8i8,asymp,8j0,ne,8j1,equiv,8j4,le,8j5,ge,8k2,sub,8k3,sup,8k4,nsub,8k6,sube,8k7,supe,8kl,oplus,8kn,otimes,8l5,perp,8m5,sdot,8o8,lceil,8o9,rceil,8oa,lfloor,8ob,rfloor,8p9,lang,8pa,rang,9ea,loz,9j0,spades,9j3,clubs,9j5,hearts,9j6,diams,ai,OElig,aj,oelig,b0,Scaron,b1,scaron,bo,Yuml,m6,circ,ms,tilde,802,ensp,803,emsp,809,thinsp,80c,zwnj,80d,zwj,80e,lrm,80f,rlm,80j,ndash,80k,mdash,80o,lsquo,80p,rsquo,80q,sbquo,80s,ldquo,80t,rdquo,80u,bdquo,810,dagger,811,Dagger,81g,permil,81p,lsaquo,81q,rsaquo,85c,euro",32);function uv(o,t=10){const e={},n=o.split(",");for(let s=0;s<n.length;s+=2){const r="&"+n[s+1]+";",a=parseInt(n[s],t);e[r]="&#"+a+";"}return e["\\xa0"]=" ",e}function Fe(o,t){const e=Object.keys(t);for(let n=0;n<e.length;n++)o=o.replace(new RegExp("{"+e[n]+"}","gi"),""+t[e[n]]);return o}function ea(o){let t,e;if(!o)throw new Error("cannot create a random attribute name for an undefined object");const n="ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz";t="";do for(t="",e=0;e<12;e++)t+=n[Math.floor(Math.random()*n.length)];while(o[t]);return t}function fv(o){const t={left:"start",right:"end",center:"middle",start:"start",end:"end"};return t[o]||t.start}function dv(o){const t={alphabetic:"alphabetic",hanging:"hanging",top:"text-before-edge",bottom:"text-after-edge",middle:"central"};return t[o]||t.alphabetic}const Ms={strokeStyle:{svgAttr:"stroke",canvas:"#000000",svg:"none",apply:"stroke"},fillStyle:{svgAttr:"fill",canvas:"#000000",svg:null,apply:"fill"},lineCap:{svgAttr:"stroke-linecap",canvas:"butt",svg:"butt",apply:"stroke"},lineJoin:{svgAttr:"stroke-linejoin",canvas:"miter",svg:"miter",apply:"stroke"},miterLimit:{svgAttr:"stroke-miterlimit",canvas:10,svg:4,apply:"stroke"},lineWidth:{svgAttr:"stroke-width",canvas:1,svg:1,apply:"stroke"},globalAlpha:{svgAttr:"opacity",canvas:1,svg:1,apply:"fill stroke"},font:{canvas:"10px sans-serif"},shadowColor:{canvas:"#000000"},shadowOffsetX:{canvas:0},shadowOffsetY:{canvas:0},shadowBlur:{canvas:0},textAlign:{canvas:"start"},textBaseline:{canvas:"alphabetic"},lineDash:{svgAttr:"stroke-dasharray",canvas:[],svg:null,apply:"stroke"},lineDashOffset:{svgAttr:"stroke-dashoffset",canvas:0,svg:0,apply:"stroke"}};class Sl{__root;__ctx;constructor(t,e){this.__root=t,this.__ctx=e}addColorStop(t,e){const n=this.__ctx.__createElement("stop");if(n.setAttribute("offset",""+t),e.indexOf("rgba")!==-1){const r=/rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d?\.?\d*)\s*\)/gi.exec(e);r&&(n.setAttribute("stop-color",Fe("rgb({r},{g},{b})",{r:r[1],g:r[2],b:r[3]})),n.setAttribute("stop-opacity",r[4]))}else n.setAttribute("stop-color",e);this.__root.appendChild(n)}}class Ed{__root;__ctx;constructor(t,e){this.__root=t,this.__ctx=e}}class oa{__document=document;__canvas;__ctx;width;height;__styleStack;__groupStack;__rootSVG;__ids;__SVGdefs;__currentElement;__currentElementsToStyle=null;constructor({canvas:t,width:e=500,height:n=500}){t?(this.__canvas=t,this.__ctx=t.getContext("2d"),this.width=t.width,this.height=t.height):(this.__canvas=this.__document.createElement("canvas"),this.__ctx=this.__canvas.getContext("2d"),this.width=e,this.height=n),this.__setDefaultStyles(),this.__styleStack=[this.__getStyleState()],this.__groupStack=[],this.__rootSVG=this.__document.createElementNS("http://www.w3.org/2000/svg","svg"),this.__rootSVG.setAttribute("version","1.1"),this.__rootSVG.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.__rootSVG.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),this.__rootSVG.setAttribute("width",""+this.width),this.__rootSVG.setAttribute("height",""+this.height),this.__ids={},this.__SVGdefs=this.__document.createElementNS("http://www.w3.org/2000/svg","defs"),this.__rootSVG.appendChild(this.__SVGdefs),this.__currentElement=this.__document.createElementNS("http://www.w3.org/2000/svg","g"),this.__rootSVG.appendChild(this.__currentElement)}__setDefaultStyles(){const t=Object.keys(Ms);for(let e=0,n=t.length;e<n;e++){const s=t[e];this[s]=Ms[s].canvas}}__getStyleState(){const t={},e=Object.keys(Ms);for(let n=0,s=e.length;n<s;n++){const r=e[n];t[r]=this[r]}return t}__applyStyleState(t){const e=Object.keys(t);for(let n=0,s=e.length;n<s;n++){const r=e[n];this[r]=t[r]}}__createElement(t,e={},n=!1){const s=this.__document.createElementNS("http://www.w3.org/2000/svg",t),r=Object.keys(e);n&&(s.setAttribute("fill","none"),s.setAttribute("stroke","none"));for(let a=0;a<r.length;a++){const i=r[a];s.setAttribute(i,e[i])}return s}__applyStyleToCurrentElement(t){let e=this.__currentElement;const n=this.__currentElementsToStyle;n&&(e.setAttribute(t,""),e=n.element,n.children.forEach(r=>{r.setAttribute(t,"")}));const s=Object.keys(Ms);for(let r=0;r<s.length;r++){const a=Ms[s[r]],i=this[s[r]];if(a.apply){if(i instanceof Ed){if(i.__ctx)for(;i.__ctx.__SVGdefs.childNodes.length;){const l=i.__ctx.__SVGdefs.childNodes[0].getAttribute("id");this.__ids[l]=l,this.__SVGdefs.appendChild(i.__ctx.__SVGdefs.childNodes[0])}e.setAttribute(a.apply,Fe("url(#{id})",{id:i.__root.getAttribute("id")}))}else if(i instanceof Sl)e.setAttribute(a.apply,Fe("url(#{id})",{id:i.__root.getAttribute("id")}));else if(a.apply.indexOf(t)!==-1&&a.svg!==i)if((a.svgAttr==="stroke"||a.svgAttr==="fill")&&i.indexOf("rgba")!==-1){const c=/rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d?\.?\d*)\s*\)/gi.exec(i);if(c){e.setAttribute(a.svgAttr,Fe("rgb({r},{g},{b})",{r:c[1],g:c[2],b:c[3]}));let u=parseFloat(c[4]);const f=this.globalAlpha;f!=null&&(u*=f),e.setAttribute(a.svgAttr+"-opacity",""+u)}}else{let l=a.svgAttr;if(s[r]==="globalAlpha"&&(l=t+"-"+a.svgAttr,e.getAttribute(l)))continue;l&&e.setAttribute(l,i)}}}}__closestGroupOrSvg(t){return t=t||this.__currentElement,t.nodeName==="g"||t.nodeName==="svg"?t:this.__closestGroupOrSvg(t.parentNode)}getSerializedSvg(t){let e=new XMLSerializer().serializeToString(this.__rootSVG);if(/xmlns="http:\/\/www\.w3\.org\/2000\/svg".+xmlns="http:\/\/www\.w3\.org\/2000\/svg/gi.test(e)&&(e=e.replace('xmlns="http://www.w3.org/2000/svg','xmlns:xlink="http://www.w3.org/1999/xlink')),t){const s=Object.keys(Td);for(let r=0,a=s.length;r<a;r++){const i=s[r],l=Td[i],c=new RegExp(i,"gi");c.test(e)&&(e=e.replace(c,l))}}return e}getSvg(){return this.__rootSVG}save(){const t=this.__createElement("g"),e=this.__closestGroupOrSvg();this.__groupStack.push(e),e.appendChild(t),this.__currentElement=t,this.__styleStack.push(this.__getStyleState())}restore(){this.__currentElementsToStyle=null;const t=this.__groupStack.pop();t?this.__currentElement=t:this.__currentElement=this.__rootSVG.childNodes[1];const e=this.__styleStack.pop();e&&this.__applyStyleState(e)}__addTransform(t){const e=this.__closestGroupOrSvg();if(e.childNodes.length>0){this.__currentElement.nodeName==="path"&&(this.__currentElementsToStyle||(this.__currentElementsToStyle={element:e,children:[]}),this.__currentElementsToStyle.children.push(this.__currentElement),this.__applyCurrentDefaultPath());const s=this.__createElement("g");e.appendChild(s),this.__currentElement=s}let n=this.__currentElement.getAttribute("transform");n?n+=" ":n="",n+=t,this.__currentElement.setAttribute("transform",n)}scale(t,e){e===void 0&&(e=t),this.__addTransform(Fe("scale({x},{y})",{x:t,y:e}))}rotate(t){const e=t*180/Math.PI;this.__addTransform(Fe("rotate({angle},{cx},{cy})",{angle:e,cx:0,cy:0}))}translate(t,e){this.__addTransform(Fe("translate({x},{y})",{x:t,y:e}))}transform(t,e,n,s,r,a){this.__addTransform(Fe("matrix({a},{b},{c},{d},{e},{f})",{a:t,b:e,c:n,d:s,e:r,f:a}))}beginPath(){this.__currentDefaultPath="",this.__currentPosition={};const t=this.__createElement("path",{},!0);this.__closestGroupOrSvg().appendChild(t),this.__currentElement=t}__applyCurrentDefaultPath(){const t=this.__currentElement;t.nodeName==="path"&&t.setAttribute("d",this.__currentDefaultPath)}__addPathCommand(t){this.__currentDefaultPath+=" ",this.__currentDefaultPath+=t}moveTo(t,e){this.__currentElement.nodeName!=="path"&&this.beginPath(),this.__currentPosition={x:t,y:e},this.__addPathCommand(Fe("M {x} {y}",this.__currentPosition))}closePath(){this.__currentDefaultPath&&this.__addPathCommand("Z")}lineTo(t,e){this.__currentPosition={x:t,y:e},this.__currentDefaultPath.indexOf("M")>-1?this.__addPathCommand(Fe("L {x} {y}",this.__currentPosition)):this.__addPathCommand(Fe("M {x} {y}",this.__currentPosition))}bezierCurveTo(t,e,n,s,r,a){this.__currentPosition={x:r,y:a},this.__addPathCommand(Fe("C {cp1x} {cp1y} {cp2x} {cp2y} {x} {y}",{cp1x:t,cp1y:e,cp2x:n,cp2y:s,x:r,y:a}))}quadraticCurveTo(t,e,n,s){this.__currentPosition={x:n,y:s},this.__addPathCommand(Fe("Q {cpx} {cpy} {x} {y}",{cpx:t,cpy:e,x:n,y:s}))}normalize(t){const e=Math.sqrt(t[0]*t[0]+t[1]*t[1]);return[t[0]/e,t[1]/e]}arcTo(t,e,n,s,r){const a=this.__currentPosition&&this.__currentPosition.x,i=this.__currentPosition&&this.__currentPosition.y;if(typeof a>"u"||typeof i>"u")return;if(r<0)throw new Error("IndexSizeError: The radius provided ("+r+") is negative.");if(a===t&&i===e||t===n&&e===s||r===0){this.lineTo(t,e);return}const l=this.normalize([a-t,i-e]),c=this.normalize([n-t,s-e]);if(l[0]*c[1]===l[1]*c[0]){this.lineTo(t,e);return}const u=l[0]*c[0]+l[1]*c[1],f=Math.acos(Math.abs(u)),d=this.normalize([l[0]+c[0],l[1]+c[1]]),h=r/Math.sin(f/2),p=t+h*d[0],b=e+h*d[1],x=[-l[1],l[0]],k=[c[1],-c[0]],g=function(_){const w=_[0];return _[1]>=0?Math.acos(w):-Math.acos(w)},m=g(x),y=g(k);this.lineTo(p+x[0]*r,b+x[1]*r),this.arc(p,b,r,m,y)}stroke(){this.__currentElement.nodeName==="path"&&this.__currentElement.setAttribute("paint-order","fill stroke markers"),this.__applyCurrentDefaultPath(),this.__applyStyleToCurrentElement("stroke")}fill(){this.__currentElement.nodeName==="path"&&this.__currentElement.setAttribute("paint-order","stroke fill markers"),this.__applyCurrentDefaultPath(),this.__applyStyleToCurrentElement("fill")}rect(t,e,n,s){this.__currentElement.nodeName!=="path"&&this.beginPath(),this.moveTo(t,e),this.lineTo(t+n,e),this.lineTo(t+n,e+s),this.lineTo(t,e+s),this.lineTo(t,e),this.closePath()}fillRect(t,e,n,s){const r=this.__createElement("rect",{x:t,y:e,width:n,height:s},!0);this.__closestGroupOrSvg().appendChild(r),this.__currentElement=r,this.__applyStyleToCurrentElement("fill")}strokeRect(t,e,n,s){const r=this.__createElement("rect",{x:t,y:e,width:n,height:s},!0);this.__closestGroupOrSvg().appendChild(r),this.__currentElement=r,this.__applyStyleToCurrentElement("stroke")}__clearCanvas(){const e=this.__closestGroupOrSvg().getAttribute("transform"),n=this.__rootSVG.childNodes[1],s=n.childNodes;for(let r=s.length-1;r>=0;r--)s[r]&&n.removeChild(s[r]);this.__currentElement=n,this.__groupStack=[],e&&this.__addTransform(e)}clearRect(t,e,n,s){if(t===0&&e===0&&n===this.width&&s===this.height){this.__clearCanvas();return}const r=this.__closestGroupOrSvg(),a=this.__createElement("rect",{x:t,y:e,width:n,height:s,fill:"#FFFFFF"},!0);r.appendChild(a)}createLinearGradient(t,e,n,s){const r=this.__createElement("linearGradient",{id:ea(this.__ids),x1:t+"px",x2:n+"px",y1:e+"px",y2:s+"px",gradientUnits:"userSpaceOnUse"},!1);return this.__SVGdefs.appendChild(r),new Sl(r,this)}createRadialGradient(t,e,n,s,r,a){const i=this.__createElement("radialGradient",{id:ea(this.__ids),cx:s+"px",cy:r+"px",r:a+"px",fx:t+"px",fy:e+"px",gradientUnits:"userSpaceOnUse"},!1);return this.__SVGdefs.appendChild(i),new Sl(i,this)}__parseFont(){const e=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:%|in|[cem]m|ex|p[CustomCanvasContext]))(?:\s*\/\s*(normal|[.\d]+(?:%|in|[cem]m|ex|p[CustomCanvasContext])))?\s*([-,'"\sa-z0-9]+?)\s*$/i.exec(this.font),n={style:e[1]||"normal",size:e[4]||"10px",family:e[6]||"sans-serif",weight:e[3]||"normal",decoration:e[2]||"normal",href:null};return this.__fontUnderline==="underline"&&(n.decoration="underline"),this.__fontHref&&(n.href=this.__fontHref),n}__wrapTextLink(t,e){if(t.href){const n=this.__createElement("a");return n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",t.href),n.appendChild(e),n}return e}__applyText(t,e,n,s){const r=this.__parseFont(),a=this.__closestGroupOrSvg(),i=this.__createElement("text",{"font-family":r.family,"font-size":r.size,"font-style":r.style,"font-weight":r.weight,"text-decoration":r.decoration,x:e,y:n,"text-anchor":fv(this.textAlign),"dominant-baseline":dv(this.textBaseline)},!0);i.appendChild(this.__document.createTextNode(t)),this.__currentElement=i,this.__applyStyleToCurrentElement(s),a.appendChild(this.__wrapTextLink(r,i))}fillText(t,e,n){this.__applyText(t,e,n,"fill")}strokeText(t,e,n){this.__applyText(t,e,n,"stroke")}measureText(t){return this.__ctx.font=this.font,this.__ctx.measureText(t)}arc(t,e,n,s,r,a){if(s===r)return;s=s%(2*Math.PI),r=r%(2*Math.PI),s===r&&(r=(r+2*Math.PI-.001*(a?-1:1))%(2*Math.PI));const i=t+n*Math.cos(r),l=e+n*Math.sin(r),c=t+n*Math.cos(s),u=e+n*Math.sin(s),f=a?0:1;let d=0,h=r-s;h<0&&(h+=2*Math.PI),a?d=h>Math.PI?0:1:d=h>Math.PI?1:0,this.lineTo(c,u),this.__addPathCommand(Fe("A {rx} {ry} {xAxisRotation} {largeArcFlag} {sweepFlag} {endX} {endY}",{rx:n,ry:n,xAxisRotation:0,largeArcFlag:d,sweepFlag:f,endX:i,endY:l})),this.__currentPosition={x:i,y:l}}clip(){const t=this.__closestGroupOrSvg(),e=this.__createElement("clipPath"),n=ea(this.__ids),s=this.__createElement("g");this.__applyCurrentDefaultPath(),t.removeChild(this.__currentElement),e.setAttribute("id",n),e.appendChild(this.__currentElement),this.__SVGdefs.appendChild(e),t.setAttribute("clip-path",Fe("url(#{id})",{id:n})),t.appendChild(s),this.__currentElement=s}drawImage(...t){let e=t[0],n,s,r,a,i=0,l=0,c,u,f,d,h,p,b,x;if(t.length===3)n=t[1],s=t[2],c=e.width,u=e.height,r=c,a=u;else if(t.length===5)n=t[1],s=t[2],r=t[3],a=t[4],c=e.width,u=e.height;else if(t.length===9)i=t[1],l=t[2],c=t[3],u=t[4],n=t[5],s=t[6],r=t[7],a=t[8];else throw new Error("Invalid number of arguments passed to drawImage: "+arguments.length);const k=this.__closestGroupOrSvg();this.__currentElement;const g="translate("+n+", "+s+")";if(e instanceof oa){if(f=e.getSvg().cloneNode(!0),f.childNodes&&f.childNodes.length>1){for(d=f.childNodes[0];d.childNodes.length;)x=d.childNodes[0].getAttribute("id"),this.__ids[x]=x,this.__SVGdefs.appendChild(d.childNodes[0]);if(h=f.childNodes[1],h){const m=h.getAttribute("transform");let y;m?y=m+" "+g:y=g,h.setAttribute("transform",y),k.appendChild(h)}}}else(e.nodeName==="CANVAS"||e.nodeName==="IMG")&&(p=this.__createElement("image"),p.setAttribute("width",r),p.setAttribute("height",a),p.setAttribute("preserveAspectRatio","none"),(i||l||c!==e.width||u!==e.height)&&(b=this.__document.createElement("canvas"),b.width=r,b.height=a,b.getContext("2d")?.drawImage(e,i,l,c,u,0,0,r,a),e=b),p.setAttribute("transform",g),p.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",e.nodeName==="CANVAS"?e.toDataURL():e.getAttribute("src")),k.appendChild(p))}createPattern(t,e){const n=this.__document.createElementNS("http://www.w3.org/2000/svg","pattern"),s=ea(this.__ids);let r;return n.setAttribute("id",s),t.nodeName==="CANVAS"||t.nodeName==="IMG"?(r=this.__document.createElementNS("http://www.w3.org/2000/svg","image"),r.setAttribute("width",""+t.width),r.setAttribute("height",""+t.height),r.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",t.nodeName==="CANVAS"?t.toDataURL():t.getAttribute("src")),n.appendChild(r),this.__SVGdefs.appendChild(n)):t instanceof oa&&(n.setAttribute("width",""+t.width),n.setAttribute("height",""+t.height),n.appendChild(t.__rootSVG.childNodes[1]),this.__SVGdefs.appendChild(n)),new Ed(n,this)}setLineDash(t){t&&t.length>0?this.lineDash=t.join(","):this.lineDash=null}drawFocusRing(){}createImageData(){}getImageData(){}putImageData(){}globalCompositeOperation(){}setTransform(){}}class Ol{canvas;context;customContext;currentPath2D=new Path2D;path2Ds=[];currentMatrix=new DOMMatrix;hasSetCustomStrokeStyle=!1;hasSetCustomFillStyle=!1;constructor(t,e,n,s=!1){this.canvas=t,this.context=t.getContext("2d",{willReadFrequently:!0}),s&&(this.customContext=new oa({canvas:this.canvas,width:e||this.canvas.width,height:n||this.canvas.height}))}set lineWidth(t){this.hasSetCustomStrokeStyle=!0,this.context.lineWidth=t,this.customContext&&(this.customContext.lineWidth=t)}get lineWidth(){return this.context.lineWidth}set lineCap(t){this.hasSetCustomStrokeStyle=!0,this.context.lineCap=t,this.customContext&&(this.customContext.lineCap=t)}get lineCap(){return this.context.lineCap}set lineJoin(t){this.hasSetCustomStrokeStyle=!0,this.context.lineJoin=t,this.customContext&&(this.customContext.lineCap=t)}get lineJoin(){return this.context.lineJoin}set lineDashOffset(t){this.hasSetCustomStrokeStyle=!0,this.context.lineDashOffset=t,this.customContext&&(this.customContext.lineDashOffset=t)}get lineDashOffset(){return this.context.lineDashOffset}set miterLimit(t){this.hasSetCustomStrokeStyle=!0,this.context.miterLimit=t,this.customContext&&(this.customContext.miterLimit=t)}get miterLimit(){return this.context.miterLimit}set globalAlpha(t){this.context.globalAlpha=t,this.customContext&&(this.customContext.globalAlpha=t)}get globalAlpha(){return this.context.globalAlpha}set fillStyle(t){this.hasSetCustomFillStyle=!0,typeof t=="string"||t instanceof CanvasGradient||t instanceof CanvasPattern?(this.context.fillStyle=t,this.customContext&&(this.customContext.fillStyle=t)):(this.context.fillStyle=t.gradient,this.customContext&&(this.customContext.fillStyle=t.gradientCustom))}get fillStyle(){return this.context.fillStyle}set strokeStyle(t){this.hasSetCustomStrokeStyle=!0,typeof t=="string"||t instanceof CanvasGradient||t instanceof CanvasPattern?(this.context.strokeStyle=t,this.customContext&&(this.customContext.strokeStyle=t)):(this.context.strokeStyle=t.gradient,this.customContext&&(this.customContext.strokeStyle=t.gradientCustom))}get strokeStyle(){return this.context.strokeStyle}set font(t){this.context.font=t,this.customContext&&(this.customContext.font=t)}get font(){return this.context.font}set textBaseline(t){this.context.textBaseline=t,this.customContext&&(this.customContext.textBaseline=t)}get textBaseline(){return this.context.textBaseline}set textAlign(t){this.context.textAlign=t,this.customContext&&(this.customContext.textAlign=t)}get textAlign(){return this.context.textAlign}fill(t){return t?this.context.fill(t):(this.context.fill(),this.customContext&&this.customContext.fill()),this}fillRect(t,e,n,s){return this.context.fillRect(t,e,n,s),this.customContext&&this.customContext.fillRect(t,e,n,s),this}fillText(t,e,n,s){return this.hasSetCustomFillStyle=!1,this.context.fillText(t,e,n,s),this.customContext&&this.customContext.fillText(t,e,n),this}setLineDash(t){return this.context.setLineDash(t),this.customContext&&this.customContext.setLineDash(t),this}stroke(t){return t?this.context.stroke(t):(this.context.stroke(),this.customContext&&this.customContext.stroke()),this}strokeText(t,e,n,s){return this.context.strokeText(t,e,n,s),this.customContext&&this.customContext.strokeText(t,e,n),this}strokeRect(t,e,n,s){return this.context.strokeRect(t,e,n,s),this.customContext&&this.customContext.strokeRect(t,e,n,s),this}measureText(t){return this.context.measureText(t)}clearRect(t=0,e=0,n=this.canvas.width,s=this.canvas.height){return this.context.clearRect(t,e,n,s),this.customContext&&this.customContext.clearRect(t,e,n,s),this}save(){return this.context.save(),this.customContext&&this.customContext.save(),this.currentMatrix=new DOMMatrix,this.path2Ds.push(this.currentPath2D),this.currentPath2D=new Path2D,this}restore(){return this.context.restore(),this.customContext&&this.customContext.restore(),this.hasSetCustomStrokeStyle=!1,this.hasSetCustomFillStyle=!1,this.currentMatrix=new DOMMatrix,this.currentPath2D=this.path2Ds.pop()||new Path2D,this}beginPath(){return this.context.beginPath(),this.customContext&&this.customContext.beginPath(),this}closePath(){return this.context.closePath(),this.customContext&&this.customContext.closePath(),this.currentPath2D.closePath(),this}changePath2D(t=this.currentPath2D,e=this.currentMatrix){const n=new Path2D;n.addPath(t,e),this.currentPath2D=n}isPointInStroke(...t){return t[0]instanceof Path2D?this.context.isPointInStroke(t[0],t[1],t[2]):this.context.isPointInStroke(t[0],t[1])}isPointInPath(...t){return t[0]instanceof Path2D?this.context.isPointInPath(t[0],t[1],t[2]):this.context.isPointInPath(t[0],t[1])}translate(t,e){return this.context.translate(t,e),this.customContext&&this.customContext.translate(t,e),this.currentMatrix.translate(t,e),this.changePath2D(),this}rotate(t,e=0,n=0){return this.translate(e,n),this.context.rotate(t),this.customContext&&this.customContext.rotate(t),this.currentMatrix.rotate(t),this.translate(-e,-n),this.changePath2D(),this}scale(t,e=t,n=0,s=0){return this.translate(n,s),this.context.scale(t,e),this.customContext&&this.customContext.scale(t,e),this.currentMatrix.scale(t,e),this.translate(-n,-s),this.changePath2D(),this}moveTo(t,e){return this.context.moveTo(t,e),this.customContext&&this.customContext.moveTo(t,e),this.currentPath2D.moveTo(t,e),this}lineTo(t,e){return this.context.lineTo(t,e),this.customContext&&this.customContext.lineTo(t,e),this.currentPath2D.lineTo(t,e),this}arc(t,e,n,s,r,a){return this.context.arc(t,e,n,s,r,a),this.customContext&&this.customContext.arc(t,e,n,s,r,a?-1:1),this.currentPath2D.arc(t,e,n,s,r,a),this}arcTo(t,e,n,s,r){return this.context.arcTo(t,e,n,s,r),this.customContext&&this.customContext.arcTo(t,e,n,s,r),this.currentPath2D.arcTo(t,e,n,s,r),this}ellipse(t,e,n,s,r,a,i,l){return this.context.ellipse(t,e,n,s,r,a,i,l),this.currentPath2D.ellipse(t,e,n,s,r,a,i,l),this}quadraticCurveTo(t,e,n,s){return this.context.quadraticCurveTo(t,e,n,s),this.customContext&&this.customContext.quadraticCurveTo(t,e,n,s),this.currentPath2D.quadraticCurveTo(t,e,n,s),this}bezierCurveTo(t,e,n,s,r,a){return this.context.bezierCurveTo(t,e,n,s,r,a),this.customContext&&this.customContext.bezierCurveTo(t,e,n,s,r,a),this.currentPath2D.bezierCurveTo(t,e,n,s,r,a),this}rect(t,e,n,s){return this.context.rect(t,e,n,s),this.customContext&&this.customContext.rect(t,e,n,s),this.currentPath2D.rect(t,e,n,s),this}createLinearGradient(t,e,n,s,r){const a=this.context.createLinearGradient(t,e,n,s);return r&&Object.entries(r).forEach(([i,l])=>{a.addColorStop(parseFloat(i),l)}),a}createRadialGradient(t,e,n,s,r,a,i){const l=this.context.createRadialGradient(t,e,n,s,r,a);return i&&Object.entries(i).forEach(([c,u])=>{l.addColorStop(parseFloat(c),u)}),l}drawImage(t,...e){if(e.length===0)this.context.drawImage(t,0,0);else if(e.length===2){const n=e[0],s=e[1];this.context.drawImage(t,n,s)}else if(e.length===4){const n=e[0],s=e[1],r=e[2],a=e[3];this.context.drawImage(t,n,s,r,a)}else if(e.length===8){const n=e[0],s=e[1],r=e[2],a=e[3],i=e[4],l=e[5],c=e[6],u=e[7];this.context.drawImage(t,n,s,r,a,i,l,c,u)}else throw new Error("Invalid number of arguments passed to drawImage: "+e.length);return this.customContext&&this.customContext.drawImage(t,...e),this}getImageData(t=0,e=0,n=this.canvas.width,s=this.canvas.height,r){return this.context.getImageData(t,e,n,s,r)}putImageData(t,e=0,n=0){return this.context.putImageData(t,e,n)}createPattern(t,e){return this.context.createPattern(t,e)}toRawSVG(){if(this.customContext){const t=this.customContext.getSerializedSvg(!0),e=this.customContext.getSvg();return{raw:t,element:e}}else return{raw:"",element:null}}}const hv=Ol;class na{x;y;toX;toY;constructor(t){this.x=t?.x||0,this.y=t?.y||0,this.toX=t?.toX||0,this.toY=t?.toY||0}toSVGPathData(){return[["L",this.toX,this.toY]]}toCanvasContext(t){t.lineTo(this.toX,this.toY)}getBoundingClientRect(){const t=ta(this.x,this.y,this.toX,this.toY);if(t===0){const e=Math.min(this.x,this.toX),n=Math.min(this.y,this.toY),s=Math.max(this.x,this.toX),r=Math.max(this.y,this.toY);return{x:e,y:n,width:s-e,height:r-n}}else{const e=Math.sin(t),n=Math.cos(t),s=n*this.x-e*this.y,r=n*this.toX-e*this.toY,a=n*this.y+e*this.x,i=n*this.toY+e*this.toX;return{x:Math.min(s,r),y:Math.min(a,i),width:Math.max(s,r)-Math.min(s,r),height:Math.max(a,i)-Math.min(a,i)}}}interpolate(t){return{x:this.x+t*(this.toX-this.x),y:this.y+t*(this.toY-this.y)}}intersection(t){const e=this.x,n=this.y,s=t.toX,r=t.toY,a=this.toX-e,i=t.x-s;if(!a&&!i)return null;const l=(this.toY-n)/a,c=(t.y-r)/i;if(a){if(!i)return{x:s,y:l*(s-e)+n}}else return{x:e,y:c*(e-s)+r};const u=(-c*s+r+l*e-n)/(l-c),f=l*(u-e)+n;return isNaN(u)||isNaN(f)?null:{x:u,y:f}}}const Sd=na;class pv extends na{rx;ry;xAxisRotate;largeArcFlag;sweepFlag;constructor(t){super(t),this.rx=t.rx,this.ry=t.ry,this.xAxisRotate=t?.xAxisRotate??0,this.largeArcFlag=t?.largeArcFlag??1,this.sweepFlag=t?.sweepFlag??1,this.toX=t.toX,this.toY=t.toY}toSVGPathData(){return[["A",this.rx,this.ry,this.xAxisRotate,this.largeArcFlag,this.sweepFlag,this.toX,this.toY]]}toCanvasContext(t){const[e,n,s,r,a,i,l]=this.convert(this.x,this.y,this.toX,this.toY,this.rx,this.ry,this.xAxisRotate,this.largeArcFlag,this.sweepFlag);t.ellipse(e,n,s,r,a,i,l,!this.sweepFlag)}convert(t,e,n,s,r,a,i,l,c){const u=i/180*Math.PI,f=(t-n)/2,d=(e-s)/2,h=Math.cos(u)*f+Math.sin(u)*d,p=-Math.sin(u)*f+Math.cos(u)*d,b=h*h/(r*r)+p*p/(a*a);if(b>1){const ut=Math.sqrt(b);throw r=ut*r,a=ut*a,new Error(`Radii are too small to build an arc. Correcting them to ${r}/${a}.`)}const x=Math.sqrt((r*r*a*a-r*r*p*p-a*a*h*h)/(r*r*p*p+a*a*h*h)),k=l!=c?1:-1,g=k*x*r*p/a,m=k*x*-a*h/r,y=(t+n)/2,_=(e+s)/2,w=Math.cos(u)*g-Math.sin(u)*m+y,$=Math.sin(u)*g+Math.cos(u)*m+_,Y=(ut,j,tt,gt)=>(ut*gt>=j*tt?1:-1)*Math.acos((ut*tt+j*gt)/(Math.sqrt(ut*ut+j*j)*Math.sqrt(tt*tt+gt*gt))),B=Y(1,0,t-w,e-$)-u,M=Y(t-w,e-$,n-w,s-$);return[w,$,r,a,u,B,B+M]}}const mv=pv;class gv extends na{cx;cy;isLineThrough;constructor(t){super(t),this.cx=t.cx,this.cy=t.cy,this.isLineThrough=typeof t.isLineThrough=="boolean"?t.isLineThrough:!1}toSVGPathData(){if(this.isLineThrough){const t=this.cx*2-(this.x+this.toX)/2,e=this.cy*2-(this.y+this.toY)/2;return[["Q",t,e,this.toX,this.toY]]}else return[["Q",this.cx,this.cy,this.toX,this.toY]]}toCanvasContext(t){if(this.isLineThrough){const e=this.cx*2-(this.x+this.toX)/2,n=this.cy*2-(this.y+this.toY)/2;t.quadraticCurveTo(e,n,this.toX,this.toY)}else t.quadraticCurveTo(this.cx,this.cy,this.toX,this.toY)}getBoundingClientRect(){const t=[this.x,this.toX],e=[this.y,this.toY];let n,s,r,a;for(let c=0;c<2;++c)n=c==0?this.x-2*this.cx+this.toX:this.y-2*this.cy+this.toY,s=c==0?-2*this.x+2*this.cx:-2*this.y+2*this.cy,r=c==0?this.x:this.y,Math.abs(n)>1e-12&&(a=-s/(2*n),0<a&&a<1&&[t,e][c].push(n*a*a+s*a+r));const i={x:Math.min.apply(0,t),y:Math.min.apply(0,e)},l={x:Math.max.apply(0,t),y:Math.max.apply(0,e)};return{x:i.x,y:i.y,width:l.x-i.x,height:l.y-i.y}}interpolate(t){return{x:(1-t)*(1-t)*this.x+2*(1-t)*t*this.cx+t*t*this.toX,y:(1-t)*(1-t)*this.y+2*(1-t)*t*this.cy+t*t*this.toY}}}const yv=gv;class Un extends na{c1x;c1y;c2x;c2y;constructor(t){super(t),this.c1x=t.c1x,this.c1y=t.c1y,this.c2x=t.c2x,this.c2y=t.c2y}toSVGPathData(){return[["C",this.c1x,this.c1y,this.c2x,this.c2y,this.toX,this.toY]]}toCanvasContext(t){t.bezierCurveTo(this.c1x,this.c1y,this.c2x,this.c2y,this.toX,this.toY)}getBoundingClientRect(){let t=this.c2x-2*this.c1x+this.x-(this.toX-2*this.c2x+this.c1x),e=2*(this.c1x-this.x)-2*(this.c2x-this.c1x),n=this.x-this.c1x,s=(-e+Math.sqrt(e*e-4*t*n))/2/t,r=(-e-Math.sqrt(e*e-4*t*n))/2/t;const a=[this.y,this.toY],i=[this.x,this.toX];let l;const c=[];Math.abs(s)>1e12&&(s=.5),Math.abs(r)>1e12&&(r=.5),s>=0&&s<=1&&(l=this.interpolate(s),i.push(l.x),a.push(l.y),c.push({X:l.x,Y:l.y})),r>=0&&r<=1&&(l=this.interpolate(r),i.push(l.x),a.push(l.y),c.push({X:l.x,Y:l.y})),t=this.c2y-2*this.c1y+this.y-(this.toY-2*this.c2y+this.c1y),e=2*(this.c1y-this.y)-2*(this.c2y-this.c1y),n=this.y-this.c1y,s=(-e+Math.sqrt(e*e-4*t*n))/2/t,r=(-e-Math.sqrt(e*e-4*t*n))/2/t,Math.abs(s)>1e12&&(s=.5),Math.abs(r)>1e12&&(r=.5),s>=0&&s<=1&&(l=this.interpolate(s),i.push(l.x),a.push(l.y),c.push({X:l.x,Y:l.y})),r>=0&&r<=1&&(l=this.interpolate(r),i.push(l.x),a.push(l.y),c.push({X:l.x,Y:l.y}));const u=[],f=c.length;for(let p=0;p<f;p++){for(let b=p+1;b<f;b++)c[p].X===c[b].X&&c[p].Y===c[b].Y&&(b=++p);u.push({X:c[p].X,Y:c[p].Y})}const d={x:Math.min.apply(Math,i),y:Math.min.apply(Math,a)},h={x:Math.max.apply(Math,i),y:Math.max.apply(Math,a)};return{x:d.x,y:d.y,width:h.x-d.x,height:h.y-d.y,dots:u}}interpolate(t){return{x:Math.pow(1-t,3)*this.x+3*Math.pow(1-t,2)*t*this.c1x+3*Math.pow(1-t,1)*Math.pow(t,2)*this.c2x+Math.pow(t,3)*this.toX,y:Math.pow(1-t,3)*this.y+3*Math.pow(1-t,2)*t*this.c1y+3*Math.pow(1-t,1)*Math.pow(t,2)*this.c2y+Math.pow(t,3)*this.toY}}static base3(t,e,n,s,r){const a=-3*e+9*n-9*s+3*r,i=t*a+6*e-12*n+6*s;return t*i-3*e+3*n}static bezlen(t,e,n,s,r,a,i,l,c=1){c=Math.max(0,Math.min(c,1));const u=c/2,f=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],d=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472];let h=0;for(let p=0;p<12;p++){const b=u*f[p]+u,x=this.base3(b,t,n,r,i),k=this.base3(b,e,s,a,l);h+=d[p]*Math.sqrt(x*x+k*k)}return u*h}length(t=1){return Un.bezlen(this.x,this.y,this.c1x,this.c1y,this.c2x,this.c2y,this.toX,this.toY,t)}getTatLen(t){const e=this.x,n=this.y,s=this.c1x,r=this.c1y,a=this.c2x,i=this.c2y,l=this.toX,c=this.toY;if(t<0||Un.bezlen(e,n,s,r,a,i,l,c)<t)return 0;const u=1;let f=u/2,d=u-f,h=Un.bezlen(e,n,s,r,a,i,l,c,d);for(;Math.abs(h-t)>.01;)f/=2,d+=(h<t?1:-1)*f,h=Un.bezlen(e,n,s,r,a,i,l,c,d);return d}getPointAtSegmentLength(t){const e=this.getTatLen(t),n=1-e,s=Math.pow(n,3),r=Math.pow(n,2),a=e*e,i=a*e,l=s*this.x+r*3*e*this.c1x+n*3*e*e*this.c2x+i*this.toX,c=s*this.y+r*3*e*this.c1y+n*3*e*e*this.c2y+i*this.toY,u=this.x+2*e*(this.c1x-this.x)+a*(this.c2x-2*this.c1x+this.x),f=this.y+2*e*(this.c1y-this.y)+a*(this.c2y-2*this.c1y+this.y),d=this.c1x+2*e*(this.c2x-this.c1x)+a*(this.toX-2*this.c2x+this.c1x),h=this.c1y+2*e*(this.c2y-this.c1y)+a*(this.toY-2*this.c2y+this.c1y),p=n*this.x+e*this.c1x,b=n*this.y+e*this.c1y,x=n*this.c2x+e*this.toX,k=n*this.c2y+e*this.toY,g=90-Math.atan2(u-d,f-h)*180/Math.PI;return{x:l,y:c,m:{x:u,y:f},n:{x:d,y:h},start:{x:p,y:b},end:{x,y:k},alpha:g}}}const tn=Un,Ls=Math.PI*2;function Od(o,t,e,n){const s=o*n-t*e<0?-1:1;let r=o*e+t*n;return r>1&&(r=1),r<-1&&(r=-1),s*Math.acos(r)}function vv(o,t,e,n,s,r,a,i,l,c){const u=c*(o-e)/2+l*(t-n)/2,f=-l*(o-e)/2+c*(t-n)/2,d=a*a,h=i*i,p=u*u,b=f*f;let x=d*h-d*b-h*p;x<0&&(x=0),x/=d*b+h*p,x=Math.sqrt(x)*(s===r?-1:1);const k=x*a/i*f,g=x*-i/a*u,m=c*k-l*g+(o+e)/2,y=l*k+c*g+(t+n)/2,_=(u-k)/a,w=(f-g)/i,$=(-u-k)/a,Y=(-f-g)/i,B=Od(1,0,_,w);let M=Od(_,w,$,Y);return r===0&&M>0&&(M-=Ls),r===1&&M<0&&(M+=Ls),[m,y,B,M]}function bv(o,t){const e=1.3333333333333333*Math.tan(t/4),n=Math.cos(o),s=Math.sin(o),r=Math.cos(o+t),a=Math.sin(o+t);return[n,s,n-s*e,s+n*e,r+a*e,a-r*e,r,a]}function Pd(o,t,e,n,s,r,a,i,l){const c=Math.sin(l*Ls/360),u=Math.cos(l*Ls/360),f=u*(o-e)/2+c*(t-n)/2,d=-c*(o-e)/2+u*(t-n)/2;if(f===0&&d===0)return[];if(a===0||i===0)return[];a=Math.abs(a),i=Math.abs(i);const h=f*f/(a*a)+d*d/(i*i);h>1&&(a*=Math.sqrt(h),i*=Math.sqrt(h));const p=vv(o,t,e,n,s,r,a,i,c,u),b=[];let x=p[2],k=p[3];const g=Math.max(Math.ceil(Math.abs(k)/(Ls/4)),1);k/=g;for(let m=0;m<g;m++)b.push(bv(x,k)),x+=k;return b.map(m=>{for(let y=0;y<m.length;y+=2){let _=m[y+0],w=m[y+1];_*=a,w*=i;const $=u*_-c*w,Y=c*_+u*w;m[y+0]=$+p[0],m[y+1]=Y+p[1]}return m})}function Pl(o,t,e,n,s,r){return[o/3+.6666666666666666*e,t/3+.6666666666666666*n,s/3+.6666666666666666*e,r/3+.6666666666666666*n,s,r]}function Bs(o,t,e,n){return[o,t,e,n,e,n]}const sa={a:7,c:6,s:4,q:4,t:2,m:2,l:2,h:1,v:1,z:0};class En{static createSVGElement(t="path",e){const n=document.createElementNS.call(document,"http://www.w3.org/2000/svg",t);return e&&wv(n,e),n}static createSvgPath(t,e){return this.createSVGElement("path",{d:t,id:e||Ln()})}static downloadFromSVGElement(t,e="shape"){return sh(H1(t),`${e}.svg`)}static downloadFromSVGString(t,e="shape"){return sh(fd(t),`${e}.svg`)}static getSVGRawStringFromElement(t){return md(t)}static isSVGPath(t){return typeof t!="string"?!1:(t=t.trim(),/^[mlhvzaqtcs]\s*[-+.0-9][^mlhvzaqtcs]+/i.test(t)&&/[\dz]$/i.test(t))}static SVGPathDataToD(t){return t.map(e=>{if(!e[0])return"";switch(e[0].toLowerCase()){case"a":return`${e[0]} ${e[1]},${e[2]} ${e[3]} ${e[4]},${e[5]} ${e[6]},${e[7]}`;case"c":return`${e[0]} ${e[1]},${e[2]} ${e[3]},${e[4]} ${e[5]},${e[6]}`;case"s":case"q":return`${e[0]} ${e[1]},${e[2]} ${e[3]},${e[4]}`;default:return e[0]+" "+e.slice(1).join(",")}}).join(" ")}static parseSVGPath(t){const e=[];return En.isSVGPath(t)&&t.replace(/([mlhvzaqtcs])([^mlhvzaqtcs]*)/gi,(n,s,r)=>{let a=s.toLowerCase();const i=fl(r);for(a=="m"&&i.length>sa[a]&&(e.push([s,...i.splice(0,sa[a])]),a="l",s=s=="m"?"l":"L");i.length;){if(i.length<sa[a])throw new Error(`parseSVGPath substring:{ ${n} } command:{ ${s} } args:{ ${i} }`);e.push([s,...i.splice(0,sa[a])])}return a=="z"&&e.push([s]),""}),e}static absolutizeSVGPath(t){let e=0,n=0,s=0,r=0;return t.map(function(a){const i=a[0],l=i.toUpperCase();if(i!=l)switch(a[0]=l,i){case"a":a[6]+=s,a[7]+=r;break;case"v":a[1]+=r;break;case"h":a[1]+=s;break;default:for(let c=1;c<a.length;)a[c++]+=s,a[c++]+=r}switch(l){case"Z":s=e,r=n;break;case"H":s=a[1];break;case"V":r=a[1];break;case"M":s=e=a[1],r=n=a[2];break;default:s=a[a.length-2],r=a[a.length-1]}return a})}static relativeSVGPath(t){let e=0,n=0,s=0,r=0;return t.map(function(a){const i=a[0],l=i.toLowerCase();if(i!=l)switch(a[0]=l,i){case"A":a[6]-=s,a[7]-=r;break;case"V":a[1]-=r;break;case"H":a[1]-=s;break;default:for(let c=1;c<a.length;)a[c++]-=s,a[c++]-=r}switch(l){case"z":s=e,r=n;break;case"h":s+=a[1];break;case"v":r+=a[1];break;case"m":s+=a[1],r+=a[2],e+=a[1],n+=a[2];break;default:s+=a[a.length-2],r+=a[a.length-1]}return a})}static normalizeSVGPath(t){const e=[];let n=0,s=0,r=0,a=0,i=0,l=0,c=0,u=0,f;for(let d=0,h=t.length;d<h;d++){let p=t[d];const b=p[0];switch(b){case"M":n=p[1],s=p[2];break;case"A":const x=Pd(r,a,p[6],p[7],p[4],p[5],p[1],p[2],p[3]);if(!x.length)continue;x.forEach((m,y)=>{const[_,w,$,Y,B,M,ut,j]=m;p=["C",$,Y,B,M,ut,j],y<x.length-1&&e.push(p)});break;case"S":let k=r,g=a;(f=="C"||f=="S")&&(k+=k-c,g+=g-u),p=["C",k,g,p[1],p[2],p[3],p[4]];break;case"T":f=="Q"||f=="T"?(i=r*2-i,l=a*2-l):(i=r,l=a),p=["C",...Pl(r,a,i,l,p[1],p[2])];break;case"Q":i=p[1],l=p[2],p=["C",...Pl(r,a,p[1],p[2],p[3],p[4])];break;case"L":p=["C",...Bs(r,a,p[1],p[2])];break;case"H":p=["C",...Bs(r,a,p[1],a)];break;case"V":p=["C",...Bs(r,a,r,p[1])];break;case"Z":p=["C",...Bs(r,a,n,s)];break}f=b,r=p[p.length-2],a=p[p.length-1],p.length>4?(c=p[p.length-4],u=p[p.length-3]):(c=r,u=a),e.push(p)}return e}static catmullRom2bezier(t){const e=[];for(let n=0,s=t.length;s-2>n;n+=2){let r;n==0?r=[{x:t[n],y:t[n+1]},{x:t[n],y:t[n+1]},{x:t[n+2],y:t[n+3]},{x:t[n+4],y:t[n+5]}]:s-4==n?r=[{x:t[n-2],y:t[n-1]},{x:t[n],y:t[n+1]},{x:t[n+2],y:t[n+3]},{x:t[n+2],y:t[n+3]}]:r=[{x:t[n-2],y:t[n-1]},{x:t[n],y:t[n+1]},{x:t[n+2],y:t[n+3]},{x:t[n+4],y:t[n+5]}];const a=[{x:r[1].x,y:r[1].y},{x:(-r[0].x+6*r[1].x+r[2].x)/6,y:(-r[0].y+6*r[1].y+r[2].y)/6},{x:(r[1].x+6*r[2].x-r[3].x)/6,y:(r[1].y+6*r[2].y-r[3].y)/6},{x:r[2].x,y:r[2].y}];e.push(["C",a[1].x,a[1].y,a[2].x,a[2].y,a[3].x,a[3].y])}return e}static zvhToLSVGPath(t){const e=[];let n=["L",0,0],s;for(let r=0,a=t.length;r<a;r++){const i=t[r];switch(i[0]){case"M":n=["L",i[1],i[2]],e.push(i);break;case"Z":e.push(n);break;case"H":s=e[e.length-1]||["L",0,0],e.push(["L",i[1],s[s.length-1]]);break;case"V":s=e[e.length-1]||["L",0,0],e.push(["L",s[s.length-2],i[1]]);break;default:e.push(i)}}return e}static longhandSVGPath(t){const e={S:{to:"C",x:3},T:{to:"Q",x:1}};let n,s=0,r=0;for(let a=0,i=t.length;a<i;a++){const l=t[a],c=e[l[0]];c&&(l[0]=c.to,n&&(n[0]===c.to?(s=2*Number(n[c.x+2])-Number(n[c.x]),r=2*Number(n[c.x+3])-Number(n[c.x+1])):(s=Number(n[n.length-2]),r=Number(n[n.length-1]))),l.splice(1,0,s,r)),n=l}return t}}class wo{cX;cY;x;y;degree;scalarX;scalarY;startPathX=0;startPathY=0;prevPathX=0;prevPathY=0;normalizedLines=[];constructor(t){this.cX=0,this.cY=0,this.x=t?.x||0,this.y=t?.y||0,typeof t?.centerX=="number"&&typeof t?.centerY=="number"&&(this.cX=t.centerX-this.x,this.cY=t.centerY-this.y),this.degree=t?.degree||0,this.scalarX=1,this.scalarY=1,t?.scalar!==void 0&&(this.scalarX=t.scalar,this.scalarY=t.scalar),t?.scalarX!==void 0&&(this.scalarX=t.scalarX),t?.scalarY!==void 0&&(this.scalarY=t.scalarY),this.reset(t?.d,t?.originMatrix)}reset(t,e){typeof t=="string"?this.resetFromSVGPathData(En.parseSVGPath(t),e):t instanceof wo?this.resetFromSVGPathData(t.toSVGPathData(),e):this.resetFromSVGPathData(t||[],e)}resetFromSVGPathData(t,e){this.normalizedLines=[];const n=En.normalizeSVGPath(En.absolutizeSVGPath(t));this.prevPathX=this.startPathX=0,this.prevPathY=this.startPathY=0;let s=!1;for(let r=0,a=n.length;r<a;r++){const i=n[r];if(i[0]=="M"){s||(s=!0,this.startPathX=i[1],this.startPathY=i[2]),this.prevPathX=i[1],this.prevPathY=i[2];continue}this.appendLine(new tn({c1x:i[1],c1y:i[2],c2x:i[3],c2y:i[4],toX:i[5],toY:i[6]}))}e&&({x:this.startPathX,y:this.startPathY}=e.transformPoint({x:this.startPathX,y:this.startPathY}),{x:this.prevPathX,y:this.prevPathY}=e.transformPoint({x:this.prevPathX,y:this.prevPathY}),this.normalizedLines.forEach(r=>{({x:r.x,y:r.y}=e.transformPoint({x:r.x,y:r.y})),{x:r.c1x,y:r.c1y}=e.transformPoint({x:r.c1x,y:r.c1y}),{x:r.c2x,y:r.c2y}=e.transformPoint({x:r.c2x,y:r.c2y}),{x:r.toX,y:r.toY}=e.transformPoint({x:r.toX,y:r.toY})}))}static fromPolymorphPoints(t){const e=new wo;e.prevPathX=e.startPathX=t[0]||0,e.prevPathY=e.startPathY=t[1]||0;for(let n=2,s=t.length;n+5<s;n+=6)e.appendLine(new tn({c1x:t[n],c1y:t[n+1],c2x:t[n+2],c2y:t[n+3],toX:t[n+4],toY:t[n+5]}));return e}static fromLines(t){const e=new wo;e.prevPathX=e.startPathX=t[0].x||0,e.prevPathY=e.startPathY=t[0].y||0;for(let n=0,s=t.length;n<s;n++)e.appendLine(t[n]);return e}appendLine(t){if(t instanceof mv){Pd(this.prevPathX,this.prevPathY,t.toX,t.toY,t.largeArcFlag,t.sweepFlag,t.rx,t.ry,t.xAxisRotate).forEach(c=>{const[u,f,d,h,p,b,x,k]=c;this.normalizedLines.push(new tn({x:this.prevPathX,y:this.prevPathY,c1x:d,c1y:h,c2x:p,c2y:b,toX:x,toY:k})),this.prevPathX=x,this.prevPathY=k});return}let e,n,s,r,a,i;t instanceof tn?(e=t.c1x,n=t.c1y,s=t.c2x,r=t.c2y,a=t.toX,i=t.toY):t instanceof yv?[e,n,s,r,a,i]=Pl(this.prevPathX,this.prevPathY,t.cx,t.cy,t.toX,t.toY):[e,n,s,r,a,i]=Bs(this.prevPathX,this.prevPathY,t.toX,t.toY),this.normalizedLines.push(new tn({x:this.prevPathX,y:this.prevPathY,c1x:e,c1y:n,c2x:s,c2y:r,toX:a,toY:i})),this.prevPathX=a,this.prevPathY=i}toSVGPathData(){const{startPathX:t,startPathY:e,normalizedLines:n}=this.updateTransform(),s=[];s.push(["M",t,e]);for(let r=0,a=n.length;r<a;r++)s.push(...n[r].toSVGPathData());return s}toSVGPathD(){return En.SVGPathDataToD(this.toSVGPathData())}toCanvasContext(t){const{startPathX:e,startPathY:n,normalizedLines:s}=this.updateTransform();t.beginPath(),t.moveTo(e,n),s.forEach(r=>{r.toCanvasContext(t)})}getBoundingClientRect(){const{normalizedLines:t}=this.updateTransform(),e=[],n=[];if(t.forEach(l=>{const c=l.getBoundingClientRect();e.push(c.x,c.x+c.width),n.push(c.y,c.y+c.height)}),e.length==0||n.length==0)return{x:0,y:0,width:0,height:0};const s=Math.min.apply(0,e),r=Math.min.apply(0,n),a=Math.max.apply(0,e),i=Math.max.apply(0,n);return{x:s,y:r,width:a-s,height:i-r}}update(t){this.cX=typeof t.cX=="number"?t.cX:this.cX,this.cY=typeof t.cY=="number"?t.cY:this.cY,this.x=t.x,this.y=t.y,this.degree=t.degree,this.scalarX=t.scalarX,this.scalarY=t.scalarY}updateTransform(){const t=new Qe;if(t.translate(this.x+this.cX,this.y+this.cY),t.rotate(this.degree),t.scale(this.scalarX,this.scalarY),t.translate(-this.cX,-this.cY),t.isIdentity)return{startPathX:this.startPathX,startPathY:this.startPathY,normalizedLines:this.normalizedLines};{let e=this.startPathX,n=this.startPathY;({x:e,y:n}=t.transformPoint({x:e,y:n}));const s=[];return this.normalizedLines.forEach(r=>{let a=r.x,i=r.y,l=r.c1x,c=r.c1y,u=r.c2x,f=r.c2y,d=r.toX,h=r.toY;({x:a,y:i}=t.transformPoint({x:a,y:i})),{x:l,y:c}=t.transformPoint({x:l,y:c}),{x:u,y:f}=t.transformPoint({x:u,y:f}),{x:d,y:h}=t.transformPoint({x:d,y:h}),s.push(new tn({x:a,y:i,c1x:l,c1y:c,c2x:u,c2y:f,toX:d,toY:h}))}),{startPathX:e,startPathY:n,normalizedLines:s}}}getTotalLength(){const{normalizedLines:t}=this.updateTransform();return t.reduce((e,n)=>e+=n.length(),0)}getPointAtLength(t){const{normalizedLines:e}=this.updateTransform();let n=0;const s=e.length;for(let r=0;r<s;r++){const a=e[r],i=a.length();if(n+i>=t)return a.getPointAtSegmentLength(t-n);n+=i}return e[s-1].getPointAtSegmentLength(1)}interpolate(t){const{startPathX:e,startPathY:n,normalizedLines:s}=this.updateTransform(),r=s.length;if(r===0)return{x:e,y:n};if(r===1)return s[0].interpolate(t);{let a=t*r,i=s[0];if(a--,a>1)for(let l=1;l<r&&(i=s[l],a>1);l++)a-=1;return i.interpolate(a)}}getSubpath(t,e){if(this.getTotalLength()-e<1e-6)return this.getSubpathsAtLength(this,t);{const n=this.getSubpathsAtLength(this,e,1);return t?this.getSubpathsAtLength(n,t):n}}getSubpathsAtLength(t,e,n){const{startPathX:s,startPathY:r,normalizedLines:a}=t.updateTransform();let i=null,l=0;const c=new wo;c.prevPathX=c.startPathX=s,c.prevPathY=c.startPathY=r;for(let u=0,f=a.length;u<f;u++){const d=a[u],h=d.length();if(l+h>e&&!i){const p=d.getPointAtSegmentLength(e-l);if(c.appendLine(new tn({c1x:p.start.x,c1y:p.start.y,c2x:p.m.x,c2y:p.m.y,toX:p.x,toY:p.y})),n)return c;i=c,c.appendLine(new tn({c1x:p.n.x,c1y:p.n.y,c2x:p.end.x,c2y:p.end.y,toX:d.x,toY:d.y})),l+=h;continue}l+=h,c.appendLine(d)}return c}closestPoint(t,e){const n=this.getTotalLength();let s={x:t,y:e},r=0,a=1/0,i=8;for(let c=0;c<=n;c+=i){const u=this.getPointAtLength(c),f=El(u.x,u.y,t,e);f<a&&(s=u,r=c,a=f)}for(i/=2;i>.5;){const c=r-i,u=this.getPointAtLength(c),f=El(u.x,u.y,t,e),d=r+i,h=this.getPointAtLength(d),p=El(h.x,h.y,t,e);c>=0&&f<a?(s=u,r=c,a=f):d<=n&&p<a?(s=h,r=d,a=p):i/=2}const l=this.getPointAtLength(r+(r===n?-.1:.1));return{point:s,rotation:r>=n?ta(l.x,l.y,s.x,s.y):ta(s.x,s.y,l.x,l.y),distance:Math.sqrt(a)}}get polymorphPoints(){const{startPathX:t,startPathY:e,normalizedLines:n}=this.updateTransform();return[t,e].concat(n.reduce((s,r)=>s.concat([r.c1x,r.c1y,r.c2x,r.c2y,r.toX,r.toY]),[]))}perimeterPoints(){const t=this.polymorphPoints,e=t.length;let n=t[e-2],s=t[e-1],r=0;for(let a=0;a<e;a+=6)r+=Cd(t[a],t[a+1],n,s),n=t[a],s=t[a+1];return Math.floor(r)}expendFill(t){const e=this.polymorphPoints,n=e.length;let s=t-n;const r=Math.ceil(t/n),a=[];a.push(["M",e[0],e[1]]);let i=2;for(;i+5<=n-1;){const l=e[i++],c=e[i++],u=e[i++],f=e[i++],d=e[i++],h=e[i++];a.push(["C",l,c,u,f,d,h]);let p=0;for(;p<r&&s>0;)a.push(["C",d,h,d,h,d,h]),s-=6,p++}return a}static mixPoints(t,e,n){const s=t.length,r=new Array(s);for(let a=0;a<s;a++)r[a]=ke(t[a]+(e[a]-t[a])*n,6);return r}static getPathInterpolator(t,e){return n=>Math.abs(n-0)<Number.EPSILON?t:Math.abs(n-1)<Number.EPSILON?e:wo.fromPolymorphPoints(wo.mixPoints(new wo({d:t}).polymorphPoints,new wo({d:e}).polymorphPoints,n)).toSVGPathData()}}class Hn extends Wr{id;originD;originMatrix;independentTransformInGroup;forceCXY=!1;cX;cY;x;y;degree;scalarX;scalarY;diffXInGroup;diffYInGroup;diffDegreeInGroup;diffScalarXInGroup;diffScalarYInGroup;vx;vy;ax;ay;mass;attrs;enableDrag;alongPath;isDragging=!1;isMouseIn=!1;targetToAfterDragFree;followMouse;strokeArmyAnts;strokeArmyAntsOffset=0;strokeDashTotalLength=0;isShow=!0;el;pathd;usePathDtoCanvasContext=!1;parent;shapes=[];constructor(t){if(super(),this.id=Ln(),t?.d&&(this.originD=t?.d),t?.originMatrix&&(this.originMatrix=t.originMatrix),this.independentTransformInGroup=typeof t?.independentTransformInGroup=="boolean"?t.independentTransformInGroup:!1,this.x=t?.x||0,this.y=t?.y||0,this.cX=0,this.cY=0,typeof t?.centerX=="number"&&typeof t?.centerY=="number"&&this.forceSetCXY(t.centerX-this.x,t.centerY-this.y),this.degree=t?.degree||0,this.scalarX=1,this.scalarY=1,t?.scalar!==void 0&&(this.scalarX=t.scalar,this.scalarY=t.scalar),t?.scalarX!==void 0&&(this.scalarX=t.scalarX),t?.scalarY!==void 0&&(this.scalarY=t.scalarY),this.diffXInGroup=t?.diffXInGroup||0,this.diffYInGroup=t?.diffYInGroup||0,this.diffDegreeInGroup=t?.diffDegreeInGroup||0,this.diffScalarXInGroup=t?.diffScalarXInGroup||1,this.diffScalarYInGroup=t?.diffScalarYInGroup||1,this.vx=t?.vx||0,this.vy=t?.vy||0,this.ax=t?.ax||0,this.ay=t?.ay||0,this.mass=t?.mass||1,this.attrs={stroke:"none",fill:"none"},t?.attrs&&this.setAttr(t?.attrs),this.enableDrag=t?.enableDrag||!1,this.alongPath=t?.alongPath,this.targetToAfterDragFree=t?.targetToAfterDragFree,this.followMouse=t?.followMouse||!1,this.isShow=typeof t?.isShow=="boolean"?t?.isShow:!0,this.strokeArmyAnts=t?.strokeArmyAnts||!1,this.strokeArmyAnts){const n=this.getAttr("stroke-dasharray","4 4");this.setAttr("stroke-dasharray",n),this.strokeDashTotalLength=fl(n).reduce((s,r)=>s+r,0)}return V1(this)}forceSetCXY(t,e){this.cX=t,this.cY=e,this.forceCXY=!0}shapeInit(){}initPathD(){if(!this.pathd){if(this.pathd=new wo,yl(()=>{this.pathd?.reset(this.originD||this.toSVGPathData(),this.originMatrix)}),this.pathd&&!this.forceCXY){const t=this.shapes.length==0?this.pathd.getBoundingClientRect():this.getBoundingClientRect();t&&(this.pathd.cX=this.cX=t.x+t.width/2-this.pathd.x,this.pathd.cY=this.cY=t.y+t.height/2-this.pathd.y)}this.shapeInit()}return this.pathd}frameStart(t){}frameUpdate(t,e){this.pathd=this.initPathD(),this.pathd.update(this),this.strokeArmyAnts&&(this.isMouseIn||(this.setAttr("stroke-dashoffset",String(this.strokeArmyAntsOffset++)),this.strokeArmyAntsOffset>this.strokeDashTotalLength&&(this.strokeArmyAntsOffset=0)))}frameEnd(t){}toSVGPathData(){return[]}toSVGPathD(){return this.pathd?.toSVGPathD()||""}toCanvasContext(t){this.usePathDtoCanvasContext=!0,this.pathd?.toCanvasContext(t)}getBoundingClientRect(){return this.pathd?.getBoundingClientRect()||null}get center(){const t=this.getBoundingClientRect(),e={x:this.x,y:this.y};return t&&(e.x=t.x+t.width/2,e.y=t.y+t.height/2),e}trim(){if(this.parent)return;const t=this.getBoundingClientRect();if(!t)return;this.shapes.forEach(n=>{const s=n.originMatrix?n.originMatrix.clone():new Qe;s.translate(-t.x+n.x,-t.y+n.y),n.originMatrix=s});const e=this.originMatrix?this.originMatrix.clone():new Qe;e.translate(-t.x+this.x,-t.y+this.y),this.originMatrix=e}isPointInPath(t,e,n){if(n instanceof Ol)return n.isPointInPath(new Path2D(this.toSVGPathD()),t,e);let s;try{s=new SVGPoint(t,e)}catch{s=n.createSVGPoint(),s.x=t,s.y=e}if(this.el instanceof SVGGeometryElement)return this.el.isPointInFill(s);{const r=this.getBoundingClientRect();if(r)return t>=r.x&&t<=r.x+r.width&&e>=r.y&&e<=r.y+r.height}return!1}isPointInStroke(t,e,n){if(n instanceof Ol)return n.isPointInStroke(new Path2D(this.toSVGPathD()),t,e);let s;try{s=new SVGPoint(t,e)}catch{s=n.createSVGPoint(),s.x=t,s.y=e}return this.el instanceof SVGGeometryElement?this.el.isPointInStroke(s):!1}clone(){return T1(this).copy(this)}copy(t){return this.id=t.id,this.originD=t.originD,this.originMatrix=t.originMatrix,this.independentTransformInGroup=t.independentTransformInGroup,this.x=t.x,this.y=t.y,this.cX=t.cX,this.cY=t.cY,this.degree=t.degree,this.scalarX=t.scalarX,this.scalarY=t.scalarY,this.diffXInGroup=t.diffXInGroup,this.diffYInGroup=t.diffYInGroup,this.diffDegreeInGroup=t.diffDegreeInGroup,this.diffScalarXInGroup=t.diffScalarXInGroup,this.diffScalarYInGroup=t.diffScalarYInGroup,this.vx=t.vx,this.vy=t.vy,this.ax=t.ax,this.ay=t.ay,this.mass=t.mass,this.attrs={...t.attrs},this.enableDrag=t.enableDrag,this.alongPath=t.alongPath,this.targetToAfterDragFree=t.targetToAfterDragFree,this.followMouse=t.followMouse,this.isShow=t.isShow,this.strokeArmyAnts=t.strokeArmyAnts,this.strokeDashTotalLength=t.strokeDashTotalLength,this}save(){}restore(){}setAttr(t,e){typeof t!="string"?Object.assign(this.attrs,Object.fromEntries(Object.entries(t).map(([n,s])=>[ko(n),s]))):e&&(this.attrs[ko(t)]=e)}getAttr(t,e){return this.attrs[t]||this.attrs[ko(t)]||e}getAttrs(){return this.attrs}hasAttr(t){return!!this.attrs[t]||!!this.attrs[ko(t)]}distance(t){return Cd(this.x,this.y,t.x,t.y)}rotateTo(t){this.degree=qe(ta(this.x,this.y,t.x,t.y))}followTo(t,e=3){this.rotateTo(t);const{dx:n,dy:s}=Zn(ee(this.degree),e);this.vx=n,this.vy=s,this.run()}followAccelerationTo(t,e=.05){this.rotateTo(t);const{dx:n,dy:s}=Zn(ee(this.degree),e);this.ax=n,this.ay=s,this.run()}checkCollision(t){}checkWall(t){}gravitateTo(t){const e=t.x-this.x,n=t.y-this.y,s=e*e+n*n,r=Math.sqrt(s),a=this.mass*t.mass/s,i=a*e/r,l=a*n/r;this.vx+=i/this.mass,this.vy+=l/this.mass,t.vx-=i/t.mass,t.vy-=l/t.mass}run(t){this.vx+=this.ax,this.vy+=this.ay;const e=fo(t?.gravity,0);this.vy+=e;const n=fo(t?.friction,1);this.vx*=n,this.vy*=n,this.x+=this.vx,this.y+=this.vy}runEaseTo(t,e){const n=fo(e?.easing,.05),s=t.x-this.cX-this.x,r=t.y-this.cY-this.y;this.vx=s*n,this.vy=r*n,this.run(e)}runSpringTo(t,e){const n=fo(e?.spring,.03);(Array.isArray(t)?t:[t]).forEach(s=>{const r=s.x-this.cX-this.x,a=s.y-this.cY-this.y,i=r*n,l=a*n;this.vx+=i,this.vy+=l}),this.run({friction:.9,...e})}springMassTo(t,e){const n=fo(e?.springLength,100),s=fo(e?.spring,1e-4),r=t.x-this.x,a=t.y-this.y,i=Math.sqrt(r*r+a*a);if(i<n){const l=r*s,c=a*s;return this.vx+=l/this.mass,this.vy+=c/this.mass,t.vx-=l/t.mass,t.vy-=c/t.mass,1-i/n}return 0}getTotalLength(){return this.initPathD().getTotalLength()}interpolate(t){return this.initPathD().interpolate(t)}getPointAtLength(t){return this.initPathD().getPointAtLength(t)}trailPath(t,e=0){const n=this.getTotalLength();return t.originD=this.initPathD().getSubpath(0,e*n),this.getPointAtLength(e*n)}strokeDashTween(t=1e3,e){const n=this.initPathD(),s=ke(n.getTotalLength(),0);this.setAttr({strokeDasharray:`${s} ${s}`,strokeDashoffset:`${s}`});const r=e?.onUpdate,a=new Xe({frameDuration:t});a.addTween({offset:s},{offset:0},Object.assign(e||{},{onUpdate:(i,l)=>{this.setAttr("strokeDashoffset",""+ke(i.offset,2)),r?.(i,l)}})),a.play()}}class _v extends Hn{x;y;z;fl;vpX;vpY;cX;cY;cZ;radius;constructor(t){super(t),this.x=t?.x||0,this.y=t?.y||0,this.z=t?.z||0,this.fl=t?.fl||250,this.vpX=t?.vpX||0,this.vpY=t?.vpY||0,this.cX=t?.cX||0,this.cY=t?.cY||0,this.cZ=t?.cZ||0,this.radius=t?.radius||0}toSVGPathData(){return this.radius?[["M",this.getScreenX(),this.getScreenY()-this.radius],["a",this.radius,this.radius,0,1,1,0,2*this.radius],["a",this.radius,this.radius,0,1,1,0,-2*this.radius],["z"]]:[["M",this.getScreenX(),this.getScreenY()]]}toCanvasContext(t){t.beginPath(),t.arc(0,0,this.radius,0,Math.PI*2,!0),t.closePath()}setVanishingPoint(t,e){this.vpX=t,this.vpY=e}setCenter(t,e,n){this.cX=t,this.cY=e,this.cZ=n}rotateX(t){({x:this.y,y:this.z}=$l(ee(t),this.y,this.z))}rotateY(t){({x:this.x,y:this.z}=$l(ee(t),this.x,this.z))}rotateZ(t){({x:this.x,y:this.y}=$l(ee(t),this.x,this.y))}getScreenX(){const t=this.fl/(this.fl+this.z+this.cZ);return this.vpX+(this.cX+this.x)*t}getScreenY(){const t=this.fl/(this.fl+this.z+this.cZ);return this.vpY+(this.cY+this.y)*t}eq(t){return this.x===t.x&&this.y===t.y&&this.z===t.z&&this.radius===t.radius&&this.mass===t.mass}length(){return wd(this.x,this.y,this.z)}distance(t){const e=t.x-this.x,n=t.y-this.y,s=t.z-this.z;return Math.sqrt(e*e+n*n+s*s)}scalar(t){return this.x*=t,this.y*=t,this.z*=t,this}normalize(t=1){const e=this.length();if(e){const n=t/e;this.scalar(n)}return this}clamp(t){const e=this.length();return e&&e>t&&this.scalar(t/e),this}cross(t){const e=this.x,n=this.y,s=this.z;return{x:n*t.z-s*t.y,y:s*t.x-e*t.z,z:e*t.y-n*t.x}}multiply(t){return{x:this.x*t.x,y:this.y*t.y,z:this.z*t.z}}div(t){return{x:this.x/t.x,y:this.y/t.y,z:this.z/t.z}}add(t){return{x:this.x+t.x,y:this.y+t.y,z:this.z+t.z}}sub(t){return{x:this.x-t.x,y:this.y-t.y,z:this.z-t.z}}dot(t){return this.x*t.x+this.y*t.y+this.z*t.z}reflect(t){const e=this.dot(t);return{x:this.x-2*e*t.x,y:this.y-2*e*t.y,z:this.z-2*e*t.z}}}const ra=_v;class Rl{_x;_y;_z;_w;constructor(t=0,e=0,n=0,s=1){this._x=t,this._y=e,this._z=n,this._w=s}static slerpFlat(t,e,n,s,r,a,i){let l=n[s+0],c=n[s+1],u=n[s+2],f=n[s+3];const d=r[a+0],h=r[a+1],p=r[a+2],b=r[a+3];if(i===0){t[e+0]=l,t[e+1]=c,t[e+2]=u,t[e+3]=f;return}if(i===1){t[e+0]=d,t[e+1]=h,t[e+2]=p,t[e+3]=b;return}if(f!==b||l!==d||c!==h||u!==p){let x=1-i;const k=l*d+c*h+u*p+f*b,g=k>=0?1:-1,m=1-k*k;if(m>Number.EPSILON){const _=Math.sqrt(m),w=Math.atan2(_,k*g);x=Math.sin(x*w)/_,i=Math.sin(i*w)/_}const y=i*g;if(l=l*x+d*y,c=c*x+h*y,u=u*x+p*y,f=f*x+b*y,x===1-i){const _=1/Math.sqrt(l*l+c*c+u*u+f*f);l*=_,c*=_,u*=_,f*=_}}t[e]=l,t[e+1]=c,t[e+2]=u,t[e+3]=f}static multiplyQuaternionsFlat(t,e,n,s,r,a){const i=n[s],l=n[s+1],c=n[s+2],u=n[s+3],f=r[a],d=r[a+1],h=r[a+2],p=r[a+3];return t[e]=i*p+u*f+l*h-c*d,t[e+1]=l*p+u*d+c*f-i*h,t[e+2]=c*p+u*h+i*d-l*f,t[e+3]=u*p-i*f-l*d-c*h,t}get x(){return this._x}set x(t){this._x=t,this._onChangeCallback()}get y(){return this._y}set y(t){this._y=t,this._onChangeCallback()}get z(){return this._z}set z(t){this._z=t,this._onChangeCallback()}get w(){return this._w}set w(t){this._w=t,this._onChangeCallback()}set(t=this._x,e=this._y,n=this._z,s=this._w){return this._x=t,this._y=e,this._z=n,this._w=s,this._onChangeCallback(),this}clone(){return new Rl(this._x,this._y,this._z,this._w)}copy(t){return this._x=t.x,this._y=t.y,this._z=t.z,this._w=t.w,this._onChangeCallback(),this}setFromEuler(t,e=!0){const n=t.x,s=t.y,r=t.z,a=t.order,i=Math.cos,l=Math.sin,c=i(n/2),u=i(s/2),f=i(r/2),d=l(n/2),h=l(s/2),p=l(r/2);switch(a){case"XYZ":this._x=d*u*f+c*h*p,this._y=c*h*f-d*u*p,this._z=c*u*p+d*h*f,this._w=c*u*f-d*h*p;break;case"YXZ":this._x=d*u*f+c*h*p,this._y=c*h*f-d*u*p,this._z=c*u*p-d*h*f,this._w=c*u*f+d*h*p;break;case"ZXY":this._x=d*u*f-c*h*p,this._y=c*h*f+d*u*p,this._z=c*u*p+d*h*f,this._w=c*u*f-d*h*p;break;case"ZYX":this._x=d*u*f-c*h*p,this._y=c*h*f+d*u*p,this._z=c*u*p-d*h*f,this._w=c*u*f+d*h*p;break;case"YZX":this._x=d*u*f+c*h*p,this._y=c*h*f+d*u*p,this._z=c*u*p-d*h*f,this._w=c*u*f-d*h*p;break;case"XZY":this._x=d*u*f-c*h*p,this._y=c*h*f-d*u*p,this._z=c*u*p+d*h*f,this._w=c*u*f+d*h*p;break;default:console.warn("Quaternion: .setFromEuler() encountered an unknown order: "+a)}return e===!0&&this._onChangeCallback(),this}setFromAxisAngle(t,e){const n=e/2,s=Math.sin(n);return this._x=t.x*s,this._y=t.y*s,this._z=t.z*s,this._w=Math.cos(n),this._onChangeCallback(),this}setFromRotationMatrix4(t){const e=t.value,n=e[0],s=e[4],r=e[8],a=e[1],i=e[5],l=e[9],c=e[2],u=e[6],f=e[10],d=n+i+f;if(d>0){const h=.5/Math.sqrt(d+1);this._w=.25/h,this._x=(u-l)*h,this._y=(r-c)*h,this._z=(a-s)*h}else if(n>i&&n>f){const h=2*Math.sqrt(1+n-i-f);this._w=(u-l)/h,this._x=.25*h,this._y=(s+a)/h,this._z=(r+c)/h}else if(i>f){const h=2*Math.sqrt(1+i-n-f);this._w=(r-c)/h,this._x=(s+a)/h,this._y=.25*h,this._z=(l+u)/h}else{const h=2*Math.sqrt(1+f-n-i);this._w=(a-s)/h,this._x=(r+c)/h,this._y=(l+u)/h,this._z=.25*h}return this._onChangeCallback(),this}setFromUnitVectors(t,e){let n=t.dot(e)+1;return n<Number.EPSILON?(n=0,Math.abs(t.x)>Math.abs(t.z)?(this._x=-t.y,this._y=t.x,this._z=0,this._w=n):(this._x=0,this._y=-t.z,this._z=t.y,this._w=n)):(this._x=t.y*e.z-t.z*e.y,this._y=t.z*e.x-t.x*e.z,this._z=t.x*e.y-t.y*e.x,this._w=n),this.normalize()}angleTo(t){return 2*Math.acos(Math.abs(Yt(this.dot(t),-1,1)))}rotateTowards(t,e){const n=this.angleTo(t);if(n===0)return this;const s=Math.min(1,e/n);return this.slerp(t,s),this}identity(){return this.set(0,0,0,1)}invert(){return this.conjugate()}conjugate(){return this._x*=-1,this._y*=-1,this._z*=-1,this._onChangeCallback(),this}dot(t){return this._x*t._x+this._y*t._y+this._z*t._z+this._w*t._w}lengthSq(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w}length(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)}normalize(){let t=this.length();return t===0?(this._x=0,this._y=0,this._z=0,this._w=1):(t=1/t,this._x=this._x*t,this._y=this._y*t,this._z=this._z*t,this._w=this._w*t),this._onChangeCallback(),this}multiply(t){return this.multiplyQuaternions(this,t)}premultiply(t){return this.multiplyQuaternions(t,this)}multiplyQuaternions(t,e){const n=t._x,s=t._y,r=t._z,a=t._w,i=e._x,l=e._y,c=e._z,u=e._w;return this._x=n*u+a*i+s*c-r*l,this._y=s*u+a*l+r*i-n*c,this._z=r*u+a*c+n*l-s*i,this._w=a*u-n*i-s*l-r*c,this._onChangeCallback(),this}slerp(t,e){if(e===0)return this;if(e===1)return this.copy(t);const n=this._x,s=this._y,r=this._z,a=this._w;let i=a*t._w+n*t._x+s*t._y+r*t._z;if(i<0?(this._w=-t._w,this._x=-t._x,this._y=-t._y,this._z=-t._z,i=-i):this.copy(t),i>=1)return this._w=a,this._x=n,this._y=s,this._z=r,this;const l=1-i*i;if(l<=Number.EPSILON){const h=1-e;return this._w=h*a+e*this._w,this._x=h*n+e*this._x,this._y=h*s+e*this._y,this._z=h*r+e*this._z,this.normalize(),this}const c=Math.sqrt(l),u=Math.atan2(c,i),f=Math.sin((1-e)*u)/c,d=Math.sin(e*u)/c;return this._w=a*f+this._w*d,this._x=n*f+this._x*d,this._y=s*f+this._y*d,this._z=r*f+this._z*d,this._onChangeCallback(),this}slerpQuaternions(t,e,n){return this.copy(t).slerp(e,n)}random(){const t=2*Math.PI*Math.random(),e=2*Math.PI*Math.random(),n=Math.random(),s=Math.sqrt(1-n),r=Math.sqrt(n);return this.set(s*Math.sin(t),s*Math.cos(t),r*Math.sin(e),r*Math.cos(e))}equals(t){return t._x===this._x&&t._y===this._y&&t._z===this._z&&t._w===this._w}fromArray(t,e=0){return this._x=t[e],this._y=t[e+1],this._z=t[e+2],this._w=t[e+3],this._onChangeCallback(),this}toArray(t=[],e=0){return t[e]=this._x,t[e+1]=this._y,t[e+2]=this._z,t[e+3]=this._w,t}fromBufferAttribute(t,e){return this._x=t.getX(e),this._y=t.getY(e),this._z=t.getZ(e),this._w=t.getW(e),this._onChangeCallback(),this}toJSON(){return this.toArray()}onChange(t){return this._onChangeCallback=t,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._w}}class ho{x=0;y=0;z=0;constructor(t=0,e=0,n=0){this.x=t,this.y=e,this.z=n}set(t=0,e=0,n=0){return this.x=t,this.y=e,this.z=n,this}setScalar(t){return this.x=t,this.y=t,this.z=t,this}setX(t){return this.x=t,this}setY(t){return this.y=t,this}setZ(t){return this.z=t,this}setComponent(t,e){switch(t){case 0:this.x=e;break;case 1:this.y=e;break;case 2:this.z=e;break;default:throw new Error("index is out of range: "+t)}return this}getComponent(t){switch(t){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw new Error("index is out of range: "+t)}}clone(){return new ho(this.x,this.y,this.z)}copy(t){return this.x=t.x,this.y=t.y,this.z=t.z,this}add(t){return this.x+=t.x,this.y+=t.y,this.z+=t.z,this}addScalar(t){return this.x+=t,this.y+=t,this.z+=t,this}addVectors(t,e){return this.x=t.x+e.x,this.y=t.y+e.y,this.z=t.z+e.z,this}addScaledVector(t,e){return this.x+=t.x*e,this.y+=t.y*e,this.z+=t.z*e,this}sub(t){return this.x-=t.x,this.y-=t.y,this.z-=t.z,this}subScalar(t){return this.x-=t,this.y-=t,this.z-=t,this}subVectors(t,e){return this.x=t.x-e.x,this.y=t.y-e.y,this.z=t.z-e.z,this}multiply(t){return this.x*=t.x,this.y*=t.y,this.z*=t.z,this}multiplyScalar(t){return this.x*=t,this.y*=t,this.z*=t,this}multiplyVectors(t,e){return this.x=t.x*e.x,this.y=t.y*e.y,this.z=t.z*e.z,this}applyEuler(t){return this.applyQuaternion(Rd.setFromEuler(t))}applyAxisAngle(t,e){return this.applyQuaternion(Rd.setFromAxisAngle(t,e))}applyMatrix3(t){const e=this.x,n=this.y,s=this.z,r=t.value;return this.x=r[0]*e+r[3]*n+r[6]*s,this.y=r[1]*e+r[4]*n+r[7]*s,this.z=r[2]*e+r[5]*n+r[8]*s,this}applyNormalMatrix(t){return this.applyMatrix3(t).normalize()}applyMatrix4(t){const e=this.x,n=this.y,s=this.z,r=t.value,a=1/(r[3]*e+r[7]*n+r[11]*s+r[15]);return this.x=(r[0]*e+r[4]*n+r[8]*s+r[12])*a,this.y=(r[1]*e+r[5]*n+r[9]*s+r[13])*a,this.z=(r[2]*e+r[6]*n+r[10]*s+r[14])*a,this}applyQuaternion(t){const e=this.x,n=this.y,s=this.z,r=t.x,a=t.y,i=t.z,l=t.w,c=2*(a*s-i*n),u=2*(i*e-r*s),f=2*(r*n-a*e);return this.x=e+l*c+a*f-i*u,this.y=n+l*u+i*c-r*f,this.z=s+l*f+r*u-a*c,this}transformDirection(t){const e=this.x,n=this.y,s=this.z,r=t.value;return this.x=r[0]*e+r[4]*n+r[8]*s,this.y=r[1]*e+r[5]*n+r[9]*s,this.z=r[2]*e+r[6]*n+r[10]*s,this.normalize()}divide(t){return this.x/=t.x,this.y/=t.y,this.z/=t.z,this}divideScalar(t){return this.multiplyScalar(1/t)}min(t){return this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this.z=Math.min(this.z,t.z),this}max(t){return this.x=Math.max(this.x,t.x),this.y=Math.max(this.y,t.y),this.z=Math.max(this.z,t.z),this}clamp(t,e){return this.x=Yt(this.x,t.x,e.x),this.y=Yt(this.y,t.y,e.y),this.z=Yt(this.z,t.z,e.z),this}clampScalar(t,e){return this.x=Yt(this.x,t,e),this.y=Yt(this.y,t,e),this.z=Yt(this.z,t,e),this}clampLength(t,e){const n=this.length();return this.divideScalar(n||1).multiplyScalar(Yt(n,t,e))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this.z=Math.trunc(this.z),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this}dot(t){return this.x*t.x+this.y*t.y+this.z*t.z}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)}normalize(){return this.divideScalar(this.length()||1)}setLength(t){return this.normalize().multiplyScalar(t)}lerp(t,e){return this.x+=(t.x-this.x)*e,this.y+=(t.y-this.y)*e,this.z+=(t.z-this.z)*e,this}lerpVectors(t,e,n){return this.x=t.x+(e.x-t.x)*n,this.y=t.y+(e.y-t.y)*n,this.z=t.z+(e.z-t.z)*n,this}cross(t){return this.crossVectors(this,t)}crossVectors(t,e){const n=t.x,s=t.y,r=t.z,a=e.x,i=e.y,l=e.z;return this.x=s*l-r*i,this.y=r*a-n*l,this.z=n*i-s*a,this}projectOnVector(t){const e=t.lengthSq();if(e===0)return this.set(0,0,0);const n=t.dot(this)/e;return this.copy(t).multiplyScalar(n)}perpendOnVector(t){return Il.copy(this).projectOnVector(t),this.sub(Il)}projectOnPlane(t){return this.perpendOnVector(t)}reflect(t){return this.sub(Il.copy(t).multiplyScalar(2*this.dot(t)))}angleTo(t){const e=Math.sqrt(this.lengthSq()*t.lengthSq());if(e===0)return Math.PI/2;const n=this.dot(t)/e;return Math.acos(Yt(n,-1,1))}distanceTo(t){return Math.sqrt(this.distanceToSquared(t))}distanceToSquared(t){const e=this.x-t.x,n=this.y-t.y,s=this.z-t.z;return e*e+n*n+s*s}manhattanDistanceTo(t){return Math.abs(this.x-t.x)+Math.abs(this.y-t.y)+Math.abs(this.z-t.z)}setFromMatrix4Position(t){const e=t.value;return this.x=e[12],this.y=e[13],this.z=e[14],this}setFromMatrix4Scale(t){const e=this.setFromMatrix4Column(t,0).length(),n=this.setFromMatrix4Column(t,1).length(),s=this.setFromMatrix4Column(t,2).length();return this.x=e,this.y=n,this.z=s,this}setFromMatrix4Column(t,e){return this.fromArray(t.value,e*4)}setFromMatrix3Column(t,e){return this.fromArray(t.value,e*3)}setFromEuler(t){return this.x=t.x,this.y=t.y,this.z=t.z,this}equals(t){return t.x===this.x&&t.y===this.y&&t.z===this.z}fromArray(t,e=0){return this.x=t[e],this.y=t[e+1],this.z=t[e+2],this}toArray(t=[],e=0){return t[e]=this.x,t[e+1]=this.y,t[e+2]=this.z,t}fromBufferAttribute(t,e){return this.x=t.getX(e),this.y=t.getY(e),this.z=t.getZ(e),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this}randomDirection(){const t=Math.random()*Math.PI*2,e=Math.random()*2-1,n=Math.sqrt(1-e*e);return this.x=n*Math.cos(t),this.y=e,this.z=n*Math.sin(t),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z}}const Il=new ho,Rd=new Rl,aa=2e3,Id=2001,Ad=[1,0,0,1,0,0],$d=[1,0,0,0,1,0,0,0,1],Nd=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];class Ys{value;constructor(t=$d){this.value=Array.from(t)}get m11(){return this.value[0]}get m12(){return this.value[1]}get m13(){return this.value[2]}get m21(){return this.value[3]}get m22(){return this.value[4]}get m23(){return this.value[5]}get m31(){return this.value[6]}get m32(){return this.value[7]}get m33(){return this.value[8]}set m11(t){this.value[0]=t}set m12(t){this.value[1]=t}set m13(t){this.value[2]=t}set m21(t){this.value[3]=t}set m22(t){this.value[4]=t}set m23(t){this.value[5]=t}set m31(t){this.value[6]=t}set m32(t){this.value[7]=t}set m33(t){this.value[8]=t}set(t=1,e=0,n=0,s=0,r=1,a=0,i=0,l=0,c=1){const u=this.value;return u[0]=t,u[1]=s,u[2]=i,u[3]=e,u[4]=r,u[5]=l,u[6]=n,u[7]=a,u[8]=c,this}identity(){return this.value=Array.from($d),this}get isIdentity(){return this.m11==1&&this.m12==0&&this.m13==0&&this.m21==0&&this.m22==1&&this.m23==0&&this.m31==0&&this.m32==0&&this.m33==1}copy(t){return this.m11=t.m11,this.m12=t.m12,this.m13=t.m13,this.m21=t.m21,this.m22=t.m22,this.m23=t.m23,this.m31=t.m31,this.m32=t.m32,this.m33=t.m33,this}clone(){return new Ys(this.value)}fromArray(t,e=0){for(let n=0;n<9;n++)this.value[n]=t[n+e];return this}toArray(t=[],e=0){return t[e]=this.m11,t[e+1]=this.m12,t[e+2]=this.m13,t[e+3]=this.m21,t[e+4]=this.m22,t[e+5]=this.m23,t[e+6]=this.m31,t[e+7]=this.m32,t[e+8]=this.m33,t}extractBasis(t,e,n){return t.setFromMatrix3Column(this,0),e.setFromMatrix3Column(this,1),n.setFromMatrix3Column(this,2),this}setFromMatrix4(t){return this.set(t.m11,t.m21,t.m31,t.m12,t.m22,t.m32,t.m13,t.m23,t.m33),this}multiplyMatrices(t,e){const n=t.value,s=e.value,r=this.value,a=n[0],i=n[3],l=n[6],c=n[1],u=n[4],f=n[7],d=n[2],h=n[5],p=n[8],b=s[0],x=s[3],k=s[6],g=s[1],m=s[4],y=s[7],_=s[2],w=s[5],$=s[8];return r[0]=a*b+i*g+l*_,r[3]=a*x+i*m+l*w,r[6]=a*k+i*y+l*$,r[1]=c*b+u*g+f*_,r[4]=c*x+u*m+f*w,r[7]=c*k+u*y+f*$,r[2]=d*b+h*g+p*_,r[5]=d*x+h*m+p*w,r[8]=d*k+h*y+p*$,this}multiply(t){return this.multiplyMatrices(this,t)}premultiply(t){return this.multiplyMatrices(t,this)}multiplyScalar(t){return this.m11*=t,this.m12*=t,this.m13*=t,this.m21*=t,this.m22*=t,this.m23*=t,this.m31*=t,this.m32*=t,this.m33*=t,this}determinant(){const t=this.value,e=t[0],n=t[1],s=t[2],r=t[3],a=t[4],i=t[5],l=t[6],c=t[7],u=t[8];return e*a*u-e*i*c-n*r*u+n*i*l+s*r*c-s*a*l}invert(){const t=this.value,e=t[0],n=t[1],s=t[2],r=t[3],a=t[4],i=t[5],l=t[6],c=t[7],u=t[8],f=u*a-i*c,d=i*l-u*r,h=c*r-a*l,p=e*f+n*d+s*h;if(p===0)return this.set(0,0,0,0,0,0,0,0,0);const b=1/p;return t[0]=f*b,t[1]=(s*c-u*n)*b,t[2]=(i*n-s*a)*b,t[3]=d*b,t[4]=(u*e-s*l)*b,t[5]=(s*r-i*e)*b,t[6]=h*b,t[7]=(n*l-c*e)*b,t[8]=(a*e-n*r)*b,this}transpose(){let t;const e=this.value;return t=e[1],e[1]=e[3],e[3]=t,t=e[2],e[2]=e[6],e[6]=t,t=e[5],e[5]=e[7],e[7]=t,this}getNormalMatrix(t){return this.setFromMatrix4(t).invert().transpose()}transposeIntoArray(t){const e=this.value;return t[0]=e[0],t[1]=e[3],t[2]=e[6],t[3]=e[1],t[4]=e[4],t[5]=e[7],t[6]=e[2],t[7]=e[5],t[8]=e[8],this}setUvTransform(t,e,n,s,r,a,i){const l=Math.cos(r),c=Math.sin(r);return this.set(n*l,n*c,-n*(l*a+c*i)+a+t,-s*c,s*l,-s*(-c*a+l*i)+i+e,0,0,1),this}scale(t,e){return this.premultiply(Al.makeScale(t,e)),this}rotate(t){return this.premultiply(Al.makeRotation(-t)),this}translate(t,e){return this.premultiply(Al.makeTranslation(t,e)),this}makeTranslation(t,e){return typeof t=="number"?this.set(1,0,t,0,1,e,0,0,1):this.set(1,0,t.x,0,1,t.y,0,0,1),this}makeRotation(t){const e=Math.cos(t),n=Math.sin(t);return this.set(e,-n,0,n,e,0,0,0,1),this}makeScale(t,e){return this.set(t,0,0,0,e,0,0,0,1),this}equals(t){for(let e=0;e<9;e++)if(this.value[e]!==t.value[e])return!1;return!0}}class Ke{value;is3dSpecial=!1;constructor(t=Nd){this.value=Array.from(t)}get m11(){return this.value[0]}get m12(){return this.value[1]}get m13(){return this.value[2]}get m14(){return this.value[3]}get m21(){return this.value[4]}get m22(){return this.value[5]}get m23(){return this.value[6]}get m24(){return this.value[7]}get m31(){return this.value[8]}get m32(){return this.value[9]}get m33(){return this.value[10]}get m34(){return this.value[11]}get m41(){return this.value[12]}get m42(){return this.value[13]}get m43(){return this.value[14]}get m44(){return this.value[15]}set m11(t){this.value[0]=t}set m12(t){this.value[1]=t}set m13(t){this.value[2]=t}set m14(t){this.value[3]=t}set m21(t){this.value[4]=t}set m22(t){this.value[5]=t}set m23(t){this.value[6]=t}set m24(t){this.value[7]=t}set m31(t){this.value[8]=t}set m32(t){this.value[9]=t}set m33(t){this.value[10]=t}set m34(t){this.value[11]=t}set m41(t){this.value[12]=t}set m42(t){this.value[13]=t}set m43(t){this.value[14]=t}set m44(t){this.value[15]=t}set(t=1,e=0,n=0,s=0,r=0,a=1,i=0,l=0,c=0,u=0,f=1,d=0,h=0,p=0,b=0,x=1){const k=this.value;return k[0]=t,k[4]=e,k[8]=n,k[12]=s,k[1]=r,k[5]=a,k[9]=i,k[13]=l,k[2]=c,k[6]=u,k[10]=f,k[14]=d,k[3]=h,k[7]=p,k[11]=b,k[15]=x,this}is2D(){return!this.is3dSpecial&&this.m31==0&&this.m32==0&&this.m33==1&&this.m34==0&&this.m43==0&&this.m44==1}is3D(){return!this.is2D()}identity(){return this.value=Array.from(Nd),this}get isIdentity(){return this.m11==1&&this.m12==0&&this.m13==0&&this.m14==0&&this.m21==0&&this.m22==1&&this.m23==0&&this.m24==0&&this.m31==0&&this.m32==0&&this.m33==1&&this.m34==0&&this.m41==0&&this.m42==0&&this.m43==0&&this.m44==1}copy(t){return this.m11=t.m11,this.m12=t.m12,this.m13=t.m13,this.m14=t.m14,this.m21=t.m21,this.m22=t.m22,this.m23=t.m23,this.m24=t.m24,this.m31=t.m31,this.m32=t.m32,this.m33=t.m33,this.m34=t.m34,this.m41=t.m41,this.m42=t.m42,this.m43=t.m43,this.m44=t.m44,this}clone(){return new Ke(this.value)}static fromString(t){const e=new Ke,n=rd("number",t);return n.length===16&&n.forEach((s,r)=>{s.fullMatch&&(e.value[r]=parseFloat(s.fullMatch))}),e}fromArray(t,e=0){for(let n=0;n<16;n++)this.value[n]=t[n+e];return this}toArray(t=[],e=0){const n=this.value;return t[e]=n[0],t[e+1]=n[1],t[e+2]=n[2],t[e+3]=n[3],t[e+4]=n[4],t[e+5]=n[5],t[e+6]=n[6],t[e+7]=n[7],t[e+8]=n[8],t[e+9]=n[9],t[e+10]=n[10],t[e+11]=n[11],t[e+12]=n[12],t[e+13]=n[13],t[e+14]=n[14],t[e+15]=n[15],t}copyPosition(t){const e=this.value,n=t.value;return e[12]=n[12],e[13]=n[13],e[14]=n[14],this}setFromMatrix3(t){const e=t.value;return this.set(e[0],e[3],e[6],0,e[1],e[4],e[7],0,e[2],e[5],e[8],0,0,0,0,1),this}extractBasis(t,e,n){return t.setFromMatrix4Column(this,0),e.setFromMatrix4Column(this,1),n.setFromMatrix4Column(this,2),this}makeBasis(t,e,n){return this.set(t.x,e.x,n.x,0,t.y,e.y,n.y,0,t.z,e.z,n.z,0,0,0,0,1),this}normalize(){return this.multiplyScalar(1/(this.m44||1e-4))}transformPoint(t){const e=t.z||1,n=t.w||1;return{x:t.x*this.m11+t.y*this.m21+e*this.m31+n*this.m41,y:t.x*this.m12+t.y*this.m22+e*this.m32+n*this.m42,z:t.x*this.m13+t.y*this.m23+e*this.m33+n*this.m43,w:t.x*this.m14+t.y*this.m24+e*this.m34+n*this.m44}}toMatrix(t){const{scalarX:e,scalarY:n,skewX:s,skewY:r,x:a,y:i}=this.split(),l=[e,r,s,n,a,i];return t?(t.value=l,t):new Qe(l)}flatten(){return this.m31=0,this.m32=0,this.m33=1,this.m34=0,this.m14=0,this.m24=0,this.m43=0,this.m44=1,this}toString(t=6){return`matrix3d(${this.value.map(e=>ke(e,t)).join(",")})`}split(){const t=Math.sqrt(this.m11*this.m11+this.m12*this.m12+this.m13*this.m13),e=Math.sqrt(this.m21*this.m21+this.m22*this.m22+this.m23*this.m23),n=Math.sqrt(this.m31*this.m31+this.m32*this.m32+this.m33*this.m33),s=qe(Yt(Math.asin(-this.m13),-1,1));let r=qe(Math.atan2(this.m23,this.m33));Math.cos(ee(s))===0&&(r=qe(Math.atan2(-this.m31,this.m22)));let a=qe(Math.atan2(this.m12,this.m11));return this.m11<0&&this.m22>=0&&(a+=180),{x:this.m41,y:this.m42,z:this.m43,scalarX:t,scalarY:e,scalarZ:n,degreeX:r,degreeY:s,degreeZ:a,skewX:qe(this.m14),skewY:qe(this.m24),skewZ:qe(this.m34),skewW:this.m44,perspective:this.m34?-(1/this.m34):0}}extractRotation(t){const e=this.value,n=t.value,s=1/Gn.setFromMatrix4Column(t,0).length(),r=1/Gn.setFromMatrix4Column(t,1).length(),a=1/Gn.setFromMatrix4Column(t,2).length();return e[0]=n[0]*s,e[1]=n[1]*s,e[2]=n[2]*s,e[3]=0,e[4]=n[4]*r,e[5]=n[5]*r,e[6]=n[6]*r,e[7]=0,e[8]=n[8]*a,e[9]=n[9]*a,e[10]=n[10]*a,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,this}makeRotationFromEuler(t){const e=this.value,n=t.x,s=t.y,r=t.z,a=Math.cos(n),i=Math.sin(n),l=Math.cos(s),c=Math.sin(s),u=Math.cos(r),f=Math.sin(r);if(t.order==="XYZ"){const d=a*u,h=a*f,p=i*u,b=i*f;e[0]=l*u,e[4]=-l*f,e[8]=c,e[1]=h+p*c,e[5]=d-b*c,e[9]=-i*l,e[2]=b-d*c,e[6]=p+h*c,e[10]=a*l}else if(t.order==="YXZ"){const d=l*u,h=l*f,p=c*u,b=c*f;e[0]=d+b*i,e[4]=p*i-h,e[8]=a*c,e[1]=a*f,e[5]=a*u,e[9]=-i,e[2]=h*i-p,e[6]=b+d*i,e[10]=a*l}else if(t.order==="ZXY"){const d=l*u,h=l*f,p=c*u,b=c*f;e[0]=d-b*i,e[4]=-a*f,e[8]=p+h*i,e[1]=h+p*i,e[5]=a*u,e[9]=b-d*i,e[2]=-a*c,e[6]=i,e[10]=a*l}else if(t.order==="ZYX"){const d=a*u,h=a*f,p=i*u,b=i*f;e[0]=l*u,e[4]=p*c-h,e[8]=d*c+b,e[1]=l*f,e[5]=b*c+d,e[9]=h*c-p,e[2]=-c,e[6]=i*l,e[10]=a*l}else if(t.order==="YZX"){const d=a*l,h=a*c,p=i*l,b=i*c;e[0]=l*u,e[4]=b-d*f,e[8]=p*f+h,e[1]=f,e[5]=a*u,e[9]=-i*u,e[2]=-c*u,e[6]=h*f+p,e[10]=d-b*f}else if(t.order==="XZY"){const d=a*l,h=a*c,p=i*l,b=i*c;e[0]=l*u,e[4]=-f,e[8]=c*u,e[1]=d*f+b,e[5]=a*u,e[9]=h*f-p,e[2]=p*f-h,e[6]=i*u,e[10]=b*f+d}return e[3]=0,e[7]=0,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,this}makeRotationFromQuaternion(t){return this.compose(xv,t,kv)}lookAt(t,e,n){const s=this.value;return Ze.subVectors(t,e),Ze.lengthSq()===0&&(Ze.z=1),Ze.normalize(),en.crossVectors(n,Ze),en.lengthSq()===0&&(Math.abs(n.z)===1?Ze.x+=1e-4:Ze.z+=1e-4,Ze.normalize(),en.crossVectors(n,Ze)),en.normalize(),ia.crossVectors(Ze,en),s[0]=en.x,s[4]=ia.x,s[8]=Ze.x,s[1]=en.y,s[5]=ia.y,s[9]=Ze.y,s[2]=en.z,s[6]=ia.z,s[10]=Ze.z,this}multiplyMatrices(t,e){const n=t.value,s=e.value,r=this.value,a=n[0],i=n[4],l=n[8],c=n[12],u=n[1],f=n[5],d=n[9],h=n[13],p=n[2],b=n[6],x=n[10],k=n[14],g=n[3],m=n[7],y=n[11],_=n[15],w=s[0],$=s[4],Y=s[8],B=s[12],M=s[1],ut=s[5],j=s[9],tt=s[13],gt=s[2],Ot=s[6],$t=s[10],xt=s[14],kt=s[3],ne=s[7],me=s[11],he=s[15];return r[0]=a*w+i*M+l*gt+c*kt,r[4]=a*$+i*ut+l*Ot+c*ne,r[8]=a*Y+i*j+l*$t+c*me,r[12]=a*B+i*tt+l*xt+c*he,r[1]=u*w+f*M+d*gt+h*kt,r[5]=u*$+f*ut+d*Ot+h*ne,r[9]=u*Y+f*j+d*$t+h*me,r[13]=u*B+f*tt+d*xt+h*he,r[2]=p*w+b*M+x*gt+k*kt,r[6]=p*$+b*ut+x*Ot+k*ne,r[10]=p*Y+b*j+x*$t+k*me,r[14]=p*B+b*tt+x*xt+k*he,r[3]=g*w+m*M+y*gt+_*kt,r[7]=g*$+m*ut+y*Ot+_*ne,r[11]=g*Y+m*j+y*$t+_*me,r[15]=g*B+m*tt+y*xt+_*he,this}multiply(t){return this.multiplyMatrices(this,t)}premultiply(t){return this.multiplyMatrices(t,this)}multiplyScalar(t){return this.m11*=t,this.m12*=t,this.m13*=t,this.m14*=t,this.m21*=t,this.m22*=t,this.m23*=t,this.m24*=t,this.m31*=t,this.m32*=t,this.m33*=t,this.m34*=t,this}determinant(){const t=this.value,e=t[0],n=t[4],s=t[8],r=t[12],a=t[1],i=t[5],l=t[9],c=t[13],u=t[2],f=t[6],d=t[10],h=t[14],p=t[3],b=t[7],x=t[11],k=t[15];return p*(+r*l*f-s*c*f-r*i*d+n*c*d+s*i*h-n*l*h)+b*(+e*l*h-e*c*d+r*a*d-s*a*h+s*c*u-r*l*u)+x*(+e*c*f-e*i*h-r*a*f+n*a*h+r*i*u-n*c*u)+k*(-s*i*u-e*l*f+e*i*d+s*a*f-n*a*d+n*l*u)}transpose(){const t=this.value;let e;return e=t[1],t[1]=t[4],t[4]=e,e=t[2],t[2]=t[8],t[8]=e,e=t[6],t[6]=t[9],t[9]=e,e=t[3],t[3]=t[12],t[12]=e,e=t[7],t[7]=t[13],t[13]=e,e=t[11],t[11]=t[14],t[14]=e,this}setPosition(t,e,n){const s=this.value;return t instanceof ho?(s[12]=t.x,s[13]=t.y,s[14]=t.z):typeof t=="number"&&typeof e=="number"&&typeof n=="number"&&(s[12]=t,s[13]=e,s[14]=n),this}invert(){const t=this.value,e=t[0],n=t[1],s=t[2],r=t[3],a=t[4],i=t[5],l=t[6],c=t[7],u=t[8],f=t[9],d=t[10],h=t[11],p=t[12],b=t[13],x=t[14],k=t[15],g=f*x*c-b*d*c+b*l*h-i*x*h-f*l*k+i*d*k,m=p*d*c-u*x*c-p*l*h+a*x*h+u*l*k-a*d*k,y=u*b*c-p*f*c+p*i*h-a*b*h-u*i*k+a*f*k,_=p*f*l-u*b*l-p*i*d+a*b*d+u*i*x-a*f*x,w=e*g+n*m+s*y+r*_;if(w===0)return this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);const $=1/w;return t[0]=g*$,t[1]=(b*d*r-f*x*r-b*s*h+n*x*h+f*s*k-n*d*k)*$,t[2]=(i*x*r-b*l*r+b*s*c-n*x*c-i*s*k+n*l*k)*$,t[3]=(f*l*r-i*d*r-f*s*c+n*d*c+i*s*h-n*l*h)*$,t[4]=m*$,t[5]=(u*x*r-p*d*r+p*s*h-e*x*h-u*s*k+e*d*k)*$,t[6]=(p*l*r-a*x*r-p*s*c+e*x*c+a*s*k-e*l*k)*$,t[7]=(a*d*r-u*l*r+u*s*c-e*d*c-a*s*h+e*l*h)*$,t[8]=y*$,t[9]=(p*f*r-u*b*r-p*n*h+e*b*h+u*n*k-e*f*k)*$,t[10]=(a*b*r-p*i*r+p*n*c-e*b*c-a*n*k+e*i*k)*$,t[11]=(u*i*r-a*f*r-u*n*c+e*f*c+a*n*h-e*i*h)*$,t[12]=_*$,t[13]=(u*b*s-p*f*s+p*n*d-e*b*d-u*n*x+e*f*x)*$,t[14]=(p*i*s-a*b*s-p*n*l+e*b*l+a*n*x-e*i*x)*$,t[15]=(a*f*s-u*i*s+u*n*l-e*f*l-a*n*d+e*i*d)*$,this}getMaxScaleOnAxis(){const t=this.value,e=t[0]*t[0]+t[1]*t[1]+t[2]*t[2],n=t[4]*t[4]+t[5]*t[5]+t[6]*t[6],s=t[8]*t[8]+t[9]*t[9]+t[10]*t[10];return Math.sqrt(Math.max(e,n,s))}makeTranslation(t,e,n){return t instanceof ho?this.set(1,0,0,t.x,0,1,0,t.y,0,0,1,t.z,0,0,0,1):this.set(1,0,0,t,0,1,0,e,0,0,1,n,0,0,0,1),this}makeRotationX(t){const e=Math.cos(t),n=Math.sin(t);return this.set(1,0,0,0,0,e,-n,0,0,n,e,0,0,0,0,1),this}makeRotationY(t){const e=Math.cos(t),n=Math.sin(t);return this.set(e,0,n,0,0,1,0,0,-n,0,e,0,0,0,0,1),this}makeRotationZ(t){const e=Math.cos(t),n=Math.sin(t);return this.set(e,-n,0,0,n,e,0,0,0,0,1,0,0,0,0,1),this}makeRotationAxis(t,e){const n=Math.cos(e),s=Math.sin(e),r=1-n,a=t.x,i=t.y,l=t.z,c=r*a,u=r*i;return this.set(c*a+n,c*i-s*l,c*l+s*i,0,c*i+s*l,u*i+n,u*l-s*a,0,c*l-s*i,u*l+s*a,r*l*l+n,0,0,0,0,1),this}makeScale(t,e,n){return this.set(t,0,0,0,0,e,0,0,0,0,n,0,0,0,0,1),this}makeShear(t,e,n,s,r,a){return this.set(1,n,r,0,t,1,a,0,e,s,1,0,0,0,0,1),this}makePerspective(t,e,n,s,r,a,i=aa){const l=this.value,c=2*r/(e-t),u=2*r/(n-s),f=(e+t)/(e-t),d=(n+s)/(n-s);let h,p;if(i===aa)h=-(a+r)/(a-r),p=-2*a*r/(a-r);else if(i===Id)h=-a/(a-r),p=-a*r/(a-r);else throw new Error("Matrix4.makePerspective(): Invalid coordinate system: "+i);return l[0]=c,l[4]=0,l[8]=f,l[12]=0,l[1]=0,l[5]=u,l[9]=d,l[13]=0,l[2]=0,l[6]=0,l[10]=h,l[14]=p,l[3]=0,l[7]=0,l[11]=-1,l[15]=0,this}makeOrthographic(t,e,n,s,r,a,i=aa){const l=this.value,c=1/(e-t),u=1/(n-s),f=1/(a-r),d=(e+t)*c,h=(n+s)*u;let p,b;if(i===aa)p=(a+r)*f,b=-2*f;else if(i===Id)p=r*f,b=-1*f;else throw new Error("Matrix4.makeOrthographic(): Invalid coordinate system: "+i);return l[0]=2*c,l[4]=0,l[8]=0,l[12]=-d,l[1]=0,l[5]=2*u,l[9]=0,l[13]=-h,l[2]=0,l[6]=0,l[10]=b,l[14]=-p,l[3]=0,l[7]=0,l[11]=0,l[15]=1,this}compose(t,e,n){const s=this.value,r=e.x,a=e.y,i=e.z,l=e.w,c=r+r,u=a+a,f=i+i,d=r*c,h=r*u,p=r*f,b=a*u,x=a*f,k=i*f,g=l*c,m=l*u,y=l*f,_=n.x,w=n.y,$=n.z;return s[0]=(1-(b+k))*_,s[1]=(h+y)*_,s[2]=(p-m)*_,s[3]=0,s[4]=(h-y)*w,s[5]=(1-(d+k))*w,s[6]=(x+g)*w,s[7]=0,s[8]=(p+m)*$,s[9]=(x-g)*$,s[10]=(1-(d+b))*$,s[11]=0,s[12]=t.x,s[13]=t.y,s[14]=t.z,s[15]=1,this}decompose(t,e,n){const s=this.value;let r=Gn.set(s[0],s[1],s[2]).length();const a=Gn.set(s[4],s[5],s[6]).length(),i=Gn.set(s[8],s[9],s[10]).length();this.determinant()<0&&(r=-r),t.x=s[12],t.y=s[13],t.z=s[14],po.copy(this);const c=1/r,u=1/a,f=1/i;return po.value[0]*=c,po.value[1]*=c,po.value[2]*=c,po.value[4]*=u,po.value[5]*=u,po.value[6]*=u,po.value[8]*=f,po.value[9]*=f,po.value[10]*=f,e.setFromRotationMatrix4(po),n.x=r,n.y=a,n.z=i,this}equals(t){for(let e=0;e<16;e++)if(this.value[e]!==t.value[e])return!1;return!0}translate(t=0,e=0,n=0){return this.multiply(new Ke([1,0,0,0,0,1,0,0,0,0,1,0,t,e,n,1]))}scale(t=1,e=1,n=1){return this.multiply(new Ke([t,0,0,0,0,e,0,0,0,0,n,0,0,0,0,1]))}scaleVector3(t){const e=this.value,n=t.x,s=t.y,r=t.z;return e[0]*=n,e[4]*=s,e[8]*=r,e[1]*=n,e[5]*=s,e[9]*=r,e[2]*=n,e[6]*=s,e[10]*=r,e[3]*=n,e[7]*=s,e[11]*=r,this}rotateX(t){const e=ee(t),n=Math.cos(e),s=Math.sin(e);return this.multiply(new Ke([1,0,0,0,0,n,s,0,0,-s,n,0,0,0,0,1]))}rotateY(t){const e=ee(t),n=Math.cos(e),s=Math.sin(e);return this.multiply(new Ke([n,0,-s,0,0,1,0,0,s,0,n,0,0,0,0,1]))}rotateZ(t){this.is3dSpecial=!0;const e=ee(t),n=Math.cos(e),s=Math.sin(e);return this.multiply(new Ke([n,s,0,0,-s,n,0,0,0,0,1,0,0,0,0,1]))}skew(t=0,e=0,n=0){return this.multiply(new Ke([1,0,0,ee(t),0,1,0,ee(e),0,0,1,ee(n),0,0,0,1]))}perspective(t){return this.multiply(new Ke([1,0,0,0,0,1,0,0,0,0,1,t?-(1/t):0,0,0,0,1]))}unproject(t){let e=t.x*this.m11+t.y*this.m21+this.m41,n=t.x*this.m12+t.y*this.m22+this.m42,s=t.x*this.m13+t.y*this.m23+this.m43,r=t.x*this.m14+t.y*this.m24+this.m44,a=e+this.m31,i=n+this.m32,l=s+this.m33,c=r+this.m34;r==0&&(r=1e-4),e/=r,n/=r,s/=r,c==0&&(c=1e-4),a/=c,i/=c,l/=c;const u=l-s;if(u==0)return{x:e,y:n,z:s,mass:r};const f=-s/u;return e+=f*(a-e),n+=f*(i-n),{x:e,y:n,z:s,mass:r}}project(t){const e=t.z;let n=t.x*this.m11+t.y*this.m21+e*this.m31+this.m41,s=t.x*this.m12+t.y*this.m22+e*this.m32+this.m42,r=t.x*this.m14+t.y*this.m24+e*this.m34+this.m44;return r==0&&(r=1e-4),n/=r,s/=r,r<0&&(n-=this.m41,s-=this.m42,n*=1/r,s*=1/r,n+=this.m41,s+=this.m42),{x:n,y:s,z:e,mass:r}}bounds(t,e,n,s){const r=new ra({x:t,y:e}),a=new ra({x:t+n,y:e}),i=new ra({x:t+n,y:e+s}),l=new ra({x:t,y:e+s});({x:r.x,y:r.y,z:r.z,mass:r.mass}=this.project(r)),{x:a.x,y:a.y,z:a.z,mass:a.mass}=this.project(a),{x:i.x,y:i.y,z:i.z,mass:i.mass}=this.project(i),{x:l.x,y:l.y,z:l.z,mass:l.mass}=this.project(l);const c=Math.min(r.x,a.x,i.x,l.x),u=Math.min(r.y,a.y,i.y,l.y),f=Math.max(r.x,a.x,i.x,l.x)-c,d=Math.max(r.y,a.y,i.y,l.y)-u;return{x:c,y:u,width:f,height:d}}}class Qe{value;_m13=0;_m23=0;_m33=1;matrix4;constructor(t=Ad){this.value=Array.from(t),this.matrix4=this.toMatrix4()}get m11(){return this.value[0]}get m12(){return this.value[1]}get m13(){return this._m13}get m21(){return this.value[2]}get m22(){return this.value[3]}get m23(){return this._m23}get m31(){return this.value[4]}get m32(){return this.value[5]}get m33(){return this._m33}set m11(t){this.value[0]=t}set m12(t){this.value[1]=t}set m13(t){this._m13=t}set m21(t){this.value[2]=t}set m22(t){this.value[3]=t}set m23(t){this._m23=t}set m31(t){this.value[4]=t}set m32(t){this.value[5]=t}set m33(t){this._m33=t}static fromString(t){const e=new Qe,n=rd("number",t);return n.length===6&&n.forEach((s,r)=>{s.fullMatch&&(e.value[r]=parseFloat(s.fullMatch))}),e}toMatrix4(t=this.matrix4){const e=[this.m11,this.m12,0,this.m13,this.m21,this.m22,0,this.m23,0,0,1,0,this.m31,this.m32,0,this.m33];return t?(t.value=e,t):new Ke(e)}identity(){return this.value=Array.from(Ad),this.m13=0,this.m23=0,this.m33=1,this.matrix4=this.toMatrix4(),this}get isIdentity(){return this.m11==1&&this.m12==0&&this.m13==0&&this.m21==0&&this.m22==1&&this.m23==0&&this.m31==0&&this.m32==0&&this.m33==1}multiplyScalar(t){return this.m11*=t,this.m12*=t,this.m13*=t,this.m21*=t,this.m22*=t,this.m23*=t,this.m31*=t,this.m32*=t,this.m33*=t,this}normalize(){const t=this.m33||1e-4;return this.multiplyScalar(1/t)}transformPoint(t){const e=t.z||1;return{x:t.x*this.m11+t.y*this.m21+e*this.m31,y:t.x*this.m12+t.y*this.m22+e*this.m32,z:t.x*this.m13+t.y*this.m23+e*this.m33}}clone(){return new Qe(this.value)}multiply(t){const e=this.clone(),n=t instanceof Qe?t:new Qe(t);return this.m11=n.m11*e.m11+n.m12*e.m21+n.m13*e.m31,this.m12=n.m11*e.m12+n.m12*e.m22+n.m13*e.m32,this.m13=n.m11*e.m13+n.m12*e.m23+n.m13*e.m33,this.m21=n.m21*e.m11+n.m22*e.m21+n.m23*e.m31,this.m22=n.m21*e.m12+n.m22*e.m22+n.m23*e.m32,this.m23=n.m21*e.m13+n.m22*e.m23+n.m23*e.m33,this.m31=n.m31*e.m11+n.m32*e.m21+n.m33*e.m31,this.m32=n.m31*e.m12+n.m32*e.m22+n.m33*e.m32,this.m33=n.m31*e.m13+n.m32*e.m23+n.m33*e.m33,this}append(t){return this.multiply(t)}prepend(t){return t.multiply(this),this}invert(){const t=this.m11,e=this.m12,n=this.m13,s=this.m21,r=this.m22,a=this.m23,i=this.m31,l=this.m32,c=this.m33,u=c*r-a*l,f=-c*s+a*i,d=l*s-r*i;let h=t*u+e*f+n*d;return h?(h=1/h,this.m11=u*h,this.m12=(-c*e+n*l)*h,this.m13=(a*e-n*r)*h,this.m21=f*h,this.m22=(c*t-n*i)*h,this.m23=(-a*t+n*s)*h,this.m31=d*h,this.m32=(-l*t+e*i)*h,this.m33=(r*t-e*s)*h,this):null}adjugate(){const t=new Qe;return t.m11=this.m22*this.m33-this.m32*this.m23,t.m12=this.m32*this.m13-this.m12*this.m33,t.m13=this.m12*this.m23-this.m22*this.m13,t.m21=this.m31*this.m23-this.m21*this.m33,t.m22=this.m11*this.m33-this.m31*this.m13,t.m23=this.m21*this.m13-this.m11*this.m23,t.m31=this.m21*this.m32-this.m31*this.m22,t.m32=this.m31*this.m12-this.m11*this.m32,t.m33=this.m11*this.m22-this.m21*this.m12,t}split(){let t=qe(Math.atan2(this.m12,this.m11));return this.m11<0&&this.m22>=0&&(t+=180),{x:this.m31,y:this.m32,degree:t,scaleX:Math.sqrt(this.m11*this.m11+this.m12*this.m12),scaleY:Math.sqrt(this.m21*this.m21+this.m22*this.m22),skewX:qe(Math.atan2(-this.m21,this.m22)),skewY:qe(Math.atan2(this.m12,this.m11))}}getGroupCoords(t){const e=this.value[0],n=this.value[1],s=this.value[2],r=this.value[3],a=this.value[4],i=this.value[5],l=t.value[0],c=t.value[1],u=t.value[2],f=t.value[3],d=t.value[4],h=t.value[5],p=l*f,b=c*u,x=(u*n-e*f)/(b-p),k=(l*n-e*c)/(p-b),g=(u*r-s*f)/(b-p),m=(l*r-s*c)/(p-b),y=(u*(i-h)+f*(d-a))/(b-p),_=(l*(i-h)+c*(d-a))/(p-b),w=[x,k,g,m,y,_];return new Qe(w)}toString(t=6){return this.matrix4.is2D()?`matrix(${this.value.map(e=>ke(e,t)).join(",")})`:this.matrix4.toString()}translate(t,e){return this.multiply([1,0,0,1,t,e]),this.toMatrix4(),this}translateTo(t,e){return this.translate(t-this.m31,e-this.m32)}translateX(t){return this.translate(t,0)}translateXTo(t){return this.translateTo(t,this.m32)}translateY(t){return this.translate(0,t)}translateYTo(t){return this.translateTo(this.m31,t)}translateZ(t){return this.matrix4.translate(0,0,t),this.matrix4.toMatrix(this),this}translateZTo(t){return this.translateZ(t-this.matrix4.m43),this}translate3d(t,e,n){return this.matrix4.translate(t,e,n),this.matrix4.toMatrix(this),this}translate3dTo(t,e,n){return this.translate3d(t-this.matrix4.m41,e-this.matrix4.m42,n-this.matrix4.m43),this}rotate(t,e=0,n=0){const s=ee(t),r=Math.cos(s),a=Math.sin(s);return this.translate(e,n),this.multiply([r,a,-a,r,0,0]),this.translate(-e,-n),this.toMatrix4(),this}rotateTo(t,e=0,n=0){const{degree:s}=this.split();return this.rotate(t-s,e,n),this}rotateX(t){return this.matrix4.rotateX(t),this.matrix4.toMatrix(this),this}rotateXTo(t){const{degreeX:e}=this.matrix4.split();return this.rotateX(t-e),this}rotateY(t){return this.matrix4.rotateY(t),this.matrix4.toMatrix(this),this}rotateYTo(t){const{degreeY:e}=this.matrix4.split();return this.rotateY(t-e),this}rotateZ(t){return this.matrix4.rotateZ(t),this.matrix4.toMatrix(this),this}rotateZTo(t){const{degreeZ:e}=this.matrix4.split();return this.rotateZ(t-e),this}rotate3d(t,e,n){return this.matrix4.rotateX(t).rotateY(e).rotateZ(n),this.matrix4.toMatrix(this),this}rotate3dTo(t,e,n){const{degreeX:s,degreeY:r,degreeZ:a}=this.matrix4.split();return this.rotate3d(t-s,e-r,n-a),this}scale(t,e=t,n=0,s=0){return this.translate(n,s),this.multiply([t,0,0,e,0,0]),this.translate(-n,-s),this.toMatrix4(),this}scaleTo(t,e=t,n=0,s=0){return this.scale(t/this.m11,e/this.m22,n,s)}scaleX(t){return this.scale(t,1)}scaleXTo(t){return this.scale(t/this.m11,1)}scaleY(t){return this.scale(1,t)}scaleYTo(t){return this.scale(1,t/this.m22)}scaleZ(t){return this.matrix4.scale(1,1,t),this.matrix4.toMatrix(this),this}scaleZTo(t){const{scalarZ:e}=this.matrix4.split();return this.scaleZ(t/e),this}scale3d(t,e=t,n=t){return this.matrix4.scale(t,e,n),this.matrix4.toMatrix(this),this}scale3dTo(t,e=t,n=t){const{scalarX:s,scalarY:r,scalarZ:a}=this.matrix4.split();return this.scale3d(t/s,e/r,n/a),this}skew(t,e=t){return this.multiply([Math.cos(ee(e)),Math.sin(ee(e)),-Math.sin(ee(t)),Math.cos(ee(t)),0,0]),this.toMatrix4(),this}skewTo(t,e=t){const{skewX:n,skewY:s}=this.split();return this.skew(t-n,e-s)}skewX(t){const{skewY:e}=this.split();return this.skew(t,e)}skewXTo(t){const{skewY:e}=this.split();return this.skewTo(t,e)}skewY(t){const{skewX:e}=this.split();return this.skew(e,t)}skewYTo(t){const{skewX:e}=this.split();return this.skewTo(e,t)}skewZ(t){return this}skewZTo(t){return this}skew3d(t,e,n){return this}skew3dTo(t,e,n){return this}perspective(t){return this.matrix4.perspective(t),this.matrix4.toMatrix(this),this}}const xv=new ho(0,0,0),kv=new ho(1,1,1),en=new ho,ia=new ho,Ze=new ho,Gn=new ho,Al=new Ys,po=new Ke;function $l(o,t,e){const n=new Qe;return n.rotate(qe(o)),n.transformPoint({x:t,y:e})}function Nl(o,t,e){const n=kd(o);return n.props.style=n.props.style||{},t?n.props.style[t]||n.props.style[p1(t)]||n.props.style[ko(t)]||"":n.props.style}function Fd(o){const t={};if(getComputedStyle){const e=getComputedStyle(o);for(let n=0,s=e.length;n<s;n++)t[e[n]]=e.getPropertyValue(t[n])}else{const e=o.currentStyle;for(const n in e)t[n]=e[n]}return o.style.cssText&&o.style.cssText.split(";").filter(e=>!!e).forEach(e=>{const[n,s]=e.split(":");n&&s&&(t[n.trim()]=s.trim())}),t}function zd(o,t,e){let n=o.style[t]||"";if(!n&&getComputedStyle){t=ko(t);const s=getComputedStyle(o,e),r=s.getPropertyPriority(t);n=s.getPropertyValue(t).trim()+(r?"!"+r:"")}return n||(n=o.currentStyle[t]||""),n}function Vs(o,t,e){typeof t=="string"&&e?o.style.setProperty(ko(t),e.replace(/!important/i,""),e.toLowerCase().includes("!important")?"important":""):t instanceof Object&&Object.keys(t).forEach(n=>{Vs(o,n,t[n])})}function Dd(o,t){typeof t=="string"?o.style.removeProperty(ko(t)):Object.keys(t).forEach(e=>{Dd(o,e)})}function Co(o,t){let e;if(typeof t=="string"){const n=document.querySelector(t)?.shadowRoot;n?e=n:e=document.querySelector(t)}else e=t||document.getElementsByTagName("head")[0];if(e){const n=document.createElement("style");return n.innerHTML=o,e.appendChild(n),()=>{(e instanceof HTMLElement||e instanceof ShadowRoot)&&e.removeChild(n)}}else{const n=document.styleSheets[0].insertRule(o);return()=>{document.styleSheets[0].deleteRule(n)}}}function wv(o,t,e){if(t===void 0&&e===void 0)return Md(o);if(typeof t=="string"&&e===void 0)return Cv(o,t);let n={};typeof t=="object"?n=t:typeof t=="string"&&typeof e=="string"&&(n[t]=""+e),cv(o,s=>{Object.entries(n).forEach(([r,a])=>{s.props[r]=""+a})})}function Md(o){const t={};for(let e=0,n=o.attributes,s=n.length;e<s;e++){const r=n[e];r.nodeName&&r.nodeValue&&(r.nodeName==="style"?t[r.nodeName]=Fd(o):t[r.nodeName]=r.nodeValue)}return t}function Cv(o,t){return t==="style"?Fd(o):o.getAttribute(ko(t))}function la(o,t,e){return o.setAttribute(ko(t),""+e)}function Tv(o,t){const e=[];return e.push(Jt(o,"dragenter",n=>{Kr(n),t?.onEnter?.(n)})),e.push(Jt(o,"dragover",n=>{Kr(n);const s=n.dataTransfer;s&&(s.dropEffect="move"),t?.onOver?.(n)})),e.push(Jt(o,"dragleave",n=>{Kr(n),t?.onLeave?.(n)})),e.push(Jt(o,"drop",n=>{Kr(n);const s=n.dataTransfer;if(!s){t?.onDrop?.(n,[]);return}t?.onDrop?.(n,[...s.files])})),()=>{e.forEach(n=>n())}}function ca(){const o=document.documentElement;return{clientWidth:o.clientWidth,clientHeight:o.clientHeight,clientTop:o.clientTop,clientLeft:o.clientLeft,scrollWidth:o.scrollWidth,scrollHeight:o.scrollHeight,scrollTop:o.scrollTop,scrollLeft:o.scrollLeft,offsetWidth:o.offsetWidth,offsetHeight:o.offsetHeight,offsetTop:o.offsetTop,offsetLeft:o.offsetLeft,offsetParent:o.offsetParent}}function Xs(){return typeof window.innerWidth=="number"?{width:window.innerWidth,height:window.innerHeight}:document.compatMode==="CSS1Compat"?{width:document.documentElement.clientWidth,height:document.documentElement.clientHeight}:{width:document.body.clientWidth,height:document.body.clientHeight}}function Ld(o){const{top:t,left:e,width:n,height:s}=o.getBoundingClientRect(),{scrollLeft:r,scrollTop:a}=ca();return{x:e+r,y:t+a,width:n,height:s}}function Ev(){const{clientHeight:o,scrollTop:t,scrollHeight:e}=ca(),n=e-o;return n<=0?0:t/n*100}function Sv(){const o={x:0,y:0,dx:0,dy:0,dStartX:0,dStartY:0,isDown:!1},t={x:0,y:0,dx:0,dy:0,dStartX:0,dStartY:0,isDown:!1};return{mousePoint:t,setStartMousePoint:function(e,n){o.x=e.x,o.y=e.y,typeof n=="boolean"&&(o.isDown=n),this.setCurrentMousePoint(e,n)},setCurrentMousePoint:(e,n)=>{const s=t.x,r=t.y;t.x=e.x,t.y=e.y,t.dx=t.x-s,t.dy=t.y-r,t.dStartX=t.x-o.x,t.dStartY=t.y-o.y,typeof n=="boolean"&&(t.isDown=n)}}}function Bd(o){if("center"in o)return o.center;if(typeof o.pageX=="number"&&typeof o.pageY=="number")return{x:o.pageX,y:o.pageY};const{scrollLeft:t,scrollTop:e}=ca();return{x:o.clientX+t,y:o.clientY+e}}function Zs(o,t){const e={x:0,y:0};if(t){const n=Bd(o),s=Ld(t);e.x=Yt(n.x-s.x,0,s.width),e.y=Yt(n.y-s.y,0,s.height)}else{let n=0,s=0;if("currentTarget"in o&&o.currentTarget&&o.target&&o.currentTarget!=o.target){const r=o.currentTarget.getBoundingClientRect(),a=o.target.getBoundingClientRect();n=a.left-r.left,s=a.top-r.top}if("offsetX"in o)e.x=o.offsetX+n,e.y=o.offsetY+s;else{const r=Bd(o),a=Ld(o.target);e.x=Yt(r.x-a.x+n,0,a.width),e.y=Yt(r.y-a.y+s,0,a.height)}}return e}var Yd={exports:{}};/*! Hammer.JS - v2.0.7 - 2016-04-22
|
|
38
|
+
`.replace(/\s+/g,""),"u");break;case"mime-image":t=/^image\//;break;case"mime-video":t=/^video\//;break;case"mime-audio":t=/^audio\//;break;case"mime-document-word":t=/^application\/(?:vnd\.openxmlformats-officedocument\.wordprocessingml\.document|msword|vnd\.ms-word\.document\.macroenabled\.12|vnd\.openxmlformats-officedocument\.wordprocessingml\.template|vnd\.ms-word\.template\.macroenabled\.12)$/;break;case"mime-document-excel":t=/^application\/(?:vnd\.openxmlformats-officedocument\.spreadsheetml\.sheet|vnd\.ms-excel|vnd\.ms-excel\.sheet\.macroenabled\.12|vnd\.openxmlformats-officedocument\.spreadsheetml\.template|vnd\.ms-excel\.template\.macroenabled\.12)$/;break;case"mime-document-ppt":t=/^application\/(?:vnd\.ms-powerpoint|vnd\.openxmlformats-officedocument\.presentationml\.presentation|vnd\.ms-powerpoint\.presentation\.macroenabled\.12|vnd\.openxmlformats-officedocument\.presentationml\.template|vnd\.ms-powerpoint\.template\.macroenabled\.12)$/;break;case"mime-document-json":t=/^application\/json$/;break;case"mime-document-xml":t=/^(?:application|text)\/(?:xml|xhtml\+xml)$/;break}return t},f1=(o,t)=>(typeof o=="string"&&(o=Gr(o)||new RegExp(o)),o.test(t)),sd=(o,t)=>{typeof o=="string"&&(o=Gr(o)||new RegExp(o));const e=t.match(o);return e?o.flags.toLowerCase().indexOf("g")>=0?e.map(n=>({matchIndex:-1,fullMatch:n,groupMatchs:[]})):{matchIndex:typeof e.index=="number"?e.index:-1,fullMatch:e[0],groupMatchs:e.slice(1)}:null},rd=(o,t)=>{typeof o=="string"&&(o=Gr(o)||new RegExp(o));const e=[],n=t.matchAll(o);for(const s of n)e.push({matchIndex:typeof s.index=="number"?s.index:-1,fullMatch:s[0],groupMatchs:s.slice(1)});return e};function Ln(o=12){const t="ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghijklmnopqrstuvwxyz0123456789",e=t.length;let n="";for(let s=0;s<o;s++)n+=t[Math.floor(Math.random()*e)];return n}function d1(o){return o.replace(/(^\w)/g,t=>t.toLowerCase())}const ko=(o,t="-")=>{let e=o.replace(new RegExp(`${t}?([A-Z])`,"g"),t+"$1").toLowerCase();return e=e.replace(new RegExp(`^${t}`),""),e};function h1(o){return o.replace(/(^\w|[_-]\w)/g,t=>t.slice(-1).toUpperCase())}function p1(o){return d1(h1(o))}const rl=(o,t="")=>(o=o.replaceAll(/\[data-v-[0-9a-zA-Z]*\]/g,t),o),m1="[object String]",g1="[object Symbol]",y1="[object Array]";function al(o){return Object.prototype.toString.call(o)}function v1(o){return o!=null}function b1(o){return al(o)===m1}function _1(o){return o===o+0}function x1(o){return al(o)===g1}function k1(o){return al(o)===y1}function w1(o){return!!o&&typeof o=="object"}function C1(o){return w1(o)&&!k1(o)}function T1(o,...t){return new o.constructor(...t)}function ad(o){if(!C1(o))return o;for(const t in o)Object.prototype.hasOwnProperty.call(o,t)&&delete o[t];return o}function Bn(o=[],t=[]){const e=o.length,n=t.length;for(let r=0;r<n;r++)o[r]=t[r];let s=Math.max(0,e-n);for(;s>0;)o.pop(),s--;return o}function il(o){for(;o.length;)o.pop()}function id(o,t){const e=o.findIndex(n=>n===t);return e>=0&&o.splice(e,1),o}function E1(o,t){return o.findIndex(e=>e==t)>=0}let ld;try{ld=Map}catch{ld=function(){}}let cd;try{cd=Set}catch{cd=function(){}}function ll(o){return Number.isNaN(o)}function fo(o,t){const e=parseFloat(o);if(Number.isNaN(e)){if(typeof t=="number")return t;throw new Error(`parseNumber(${o}) is NaN!`)}return e}function ud(o,t,e=Number.EPSILON*Math.pow(2,2)){return Math.abs(o-t)<e}function Yt(o,t,e){const n=Math.min(t,e),s=Math.max(t,e);return o<n?n:o>s?s:o}function S1(o,t){return(o%t+t)%t}function cl(o,t,e){return(1-e)*o+e*t}function O1(o,t,e,n,s){return n+(s-n)*((o-t)/(e-t))}const P1=(o,t,e)=>n=>{const s=Yt(n,o,t);return e==0?s:t-s<e?t:Math.round(s/e)*e};function R1(o,t=12){return fo(o,0).toFixed(t)}function ke(o,t=12){return+R1(o,t)}function Yn(o,t){const e=sd("number-single",String(o));return{hasNumber:!!e,number:e&&!Array.isArray(e)&&e.fullMatch?parseFloat(e.fullMatch):v1(t)?t:NaN,prefix:e&&!Array.isArray(e)&&e.fullMatch?o.substring(0,e.matchIndex):"",suffix:e&&!Array.isArray(e)&&e.fullMatch?o.substring(e.matchIndex+e.fullMatch.length):""}}function ul(o){const t=sd("number",o);return t?Array.isArray(t)?t.map(e=>Number(e.fullMatch)):[Number(t.fullMatch)]:[]}I1();function I1(){const o=new ArrayBuffer(4),t=new Float32Array(o),e=new Uint32Array(o),n=new Uint32Array(512),s=new Uint32Array(512);for(let l=0;l<256;++l){const c=l-127;c<-27?(n[l]=0,n[l|256]=32768,s[l]=24,s[l|256]=24):c<-14?(n[l]=1024>>-c-14,n[l|256]=1024>>-c-14|32768,s[l]=-c-1,s[l|256]=-c-1):c<=15?(n[l]=c+15<<10,n[l|256]=c+15<<10|32768,s[l]=13,s[l|256]=13):c<128?(n[l]=31744,n[l|256]=64512,s[l]=24,s[l|256]=24):(n[l]=31744,n[l|256]=64512,s[l]=13,s[l|256]=13)}const r=new Uint32Array(2048),a=new Uint32Array(64),i=new Uint32Array(64);for(let l=1;l<1024;++l){let c=l<<13,u=0;for(;!(c&8388608);)c<<=1,u-=8388608;c&=-8388609,u+=947912704,r[l]=c|u}for(let l=1024;l<2048;++l)r[l]=939524096+(l-1024<<13);for(let l=1;l<31;++l)a[l]=l<<23;a[31]=1199570944,a[32]=2147483648;for(let l=33;l<63;++l)a[l]=2147483648+(l-32<<23);a[63]=3347054592;for(let l=1;l<64;++l)l!==32&&(i[l]=1024);return{floatView:t,uint32View:e,baseTable:n,shiftTable:s,mantissaTable:r,exponentTable:a,offsetTable:i}}const fd=(o,t,e)=>t?e===Hr.base64?new Blob([o],{type:`${t};${e}`}):e===Hr.utf8?new Blob([o],{type:`${t};charset=${e}`}):new Blob([o],{type:`${t}`}):new Blob([o]);function ie(){return(performance||Date).now()}function A1(o){const t=Math.max(o.length,6);let e=0;e+=(o[t-2]||0)*10+(o[t-1]||0),e+=((o[t-4]||0)*10+(o[t-3]||0))*60;let n=0;for(let s=0;s<t-4;s++)n=n*10+(o[s]||0);return e+=n*60*60,e=Math.floor(Math.max(0,e)),e}function fl(o,t=!1){let e=0,n;typeof o=="number"?(e=o,n=[]):(n=o,e=A1(n),il(n));const s=e%60;n.unshift(s%10),n.unshift(Math.floor(s/10)),e=Math.floor(e/60);const r=e%60;if(n.unshift(r%10),n.unshift(Math.floor(r/10)),e=Math.floor(e/60),t){const a=e%100;for(n.unshift(a%10),n.unshift(Math.floor(a/10)),e=Math.floor(e/100);e;)n.unshift(e%10),e=Math.floor(e/10)}else{const a=e%24;n.unshift(a%10),n.unshift(Math.floor(a/10))}return n}function $1(o,t=!1){const e=[],n=ul(o);for(let s=0,r=Math.max(n.length,3);s<r;s++){let a=Math.floor(Math.abs(n[s]||0));if(s==0)if(t){const i=a%100;for(e.push(Math.floor(i/10)),e.push(i%10),a=Math.floor(a/100);a;)e.unshift(a%10),a=Math.floor(a/10)}else{const i=a%24;e.push(Math.floor(i/10)),e.push(i%10)}else e.push(Math.floor(a/10)),e.push(a%10)}return fl(e,t)}function dl(o,t=1,e=!1){return o[o.length-1]+=t,fl(o,e)}function hl(o,t=1,e=!1){return o[o.length-1]-=t,fl(o,e)}function N1(o,t){Bn(t,o)}function F1(o){let t="";return{match:e=>(t=`${String(e)}不能为空`,e!=null&&e!==""),error:o||t}}function z1(o){return{match:t=>f1("email",t),error:o||"邮箱格式不正确"}}function D1(o,t){const e=t.reduce((n,s)=>{const{match:r,error:a}=s;return r(o)||n.push(a),n},[]);return{valid:e.length===0,errors:e}}function Vn(o,t){return D1(o,[F1(t?.emptyError||"邮箱不能为空"),z1(t?.error||"邮箱格式不正确")])}class jr{results=[];queue=[];concurrency;activeTaskCount=0;constructor(t=1){this.concurrency=t}clear(){this.queue=[]}addTask(t){Array.isArray(t)?this.queue.push(...t):this.queue.push(t),this.activeTaskCount<this.concurrency&&this.queue.length>0&&this._runTasks()}async _runTasks(){for(;this.activeTaskCount<this.concurrency&&this.queue.length>0;){const t=this.queue.splice(0,Math.max(0,this.concurrency-this.activeTaskCount));this.activeTaskCount+=t.length;const e=await Promise.allSettled(t.map(n=>n()));e.forEach((n,s)=>{if(n.status=="fulfilled"){const r=n.value;this.results.push(r)}else if(n.status=="rejected"){const r=new Error(n.reason);this.results.push(r)}}),this.activeTaskCount-=e.length}}}class pl{_maps=new Map;_mapsAddedDuringUpdate=new Map;_overflow;constructor(t){this._overflow=()=>{if(!t)return!1;const e=this.length;return e==0?!1:t?.overflow?t.overflow():!!t.size&&t.size>0&&e>=t.size}}entries(){return Array.from(this._maps.entries())}keys(){return Array.from(this._maps.keys())}values(){return Array.from(this._maps.values())}json(){return this.entries().reduce((t,[e,n])=>((b1(e)||_1(e)||x1(e))&&(t[e]=n),t),{})}get length(){return this.entries().length}set(t,e){for(;this._overflow();){const n=this._maps.keys().next();n.done||this.delete(n.value)}this._maps.set(t,e),this._mapsAddedDuringUpdate.set(t,e)}get(t){return this._maps.get(t)}has(t){return this._maps.has(t)}getIndex(t){const e=this.entries();if(e.length&&e[t])return e[t]}top(){return this.getIndex(0)}shift(){const t=this.top();if(t){const[e]=t;this.delete(e)}return t}delete(t){return this._mapsAddedDuringUpdate.delete(t),this._maps.delete(t)}clear(){this._maps.clear(),this._mapsAddedDuringUpdate.clear()}flush(){this.clear()}filter(t){let e=Array.from(this._maps.entries());for(;e.length>0;){this._mapsAddedDuringUpdate.clear();for(let n=0,s=e.length;n<s;n++){const[r,a]=e[n];t(r,a)===!1&&this.delete(r)}e=Array.from(this._mapsAddedDuringUpdate.entries())}}}const M1=()=>{},L1=300;function ml(o,t=L1,e){const n=typeof e?.leading=="boolean"?e.leading:!0,s=typeof e?.trailing=="boolean"?e.trailing:!1;return function(...a){const{get:i,set:l}=u1(this||o);if(!i("__THROTTLE_READY__",!0)){(n||s)&&l("__THROTTLE_FN_ARGS__",a);return}l("__THROTTLE_READY__",!1),n&&o.apply(this,a),s&&l("__THROTTLE_FN_ARGS__",a),setTimeout(()=>{const u=i("__THROTTLE_FN_ARGS__");u&&o.apply(this,u),l("__THROTTLE_FN_ARGS__",void 0),l("__THROTTLE_READY__",!0)},t)}}Array.prototype.ap=function(o){return this.reduce((t,e)=>t.concat(o.map(e)),[])};let Fs;function gl(o){Fs=o,o(),Fs=null}class B1{subscribers=new Set;add(){Fs&&!this.subscribers.has(Fs)&&this.subscribers.add(Fs)}notify(){this.subscribers.forEach(t=>t())}}const dd=new WeakMap;function Wr(o,t){let e=dd.get(o);e||(e=new Map,dd.set(o,e));let n=e.get(t);return n||(n=new B1,e.set(t,n)),n}function Y1(o,t=!1){return Object.keys(o).forEach(e=>{let n=o[e];if(t&&typeof n=="object"&&n!==null)o[e]=yl(n,t);else{const s=Wr(o,e);Object.defineProperty(o,e,{configurable:!0,enumerable:!0,get(){return s.add(),n},set(r){n!=r&&(n=r,s.notify())}})}}),o}function hd(o,t=!1){return Y1({value:o},t)}function yl(o,t=!1){const e={get(s,r,a){const i=Reflect.get(s,r,a);if(t&&typeof i=="object"&&i!==null&&!("isYZReactiveProxy"in i)){const c=yl(i,t);c.YZReactiveProxyParentTarget=s,c.YZReactiveProxyParentKey=r,Reflect.set(a,r,c)}return Wr(s,r).add(),Reflect.get(s,r,a)},set(s,r,a,i){const l=Reflect.get(s,r,i),c=Reflect.set(s,r,a,i);return Array.isArray(s)?Wr(s.YZReactiveProxyParentTarget,s.YZReactiveProxyParentKey).notify():l!=a&&Wr(s,r).notify(),c},has(s,r){return r==="isYZReactiveProxy"||r in s}};return new Proxy(o,e)}const V1=yl;class vl{events;constructor(){this.events={}}isEmpty(t){return this.events[t]==null||this.events[t].length==0}has(t,e){return this.events[t]!==void 0&&this.events[t].indexOf(e)!==-1}prependListener(t,e){return this.events[t]||(this.events[t]=[]),this.events[t].unshift(e),this}addListener(t,e){return this.events[t]||(this.events[t]=[]),this.events[t].push(e),this}on(t,e){return this.addListener(t,e),this}removeListener(t,e){return this.events[t]&&(this.events[t]=this.events[t].filter(n=>n!==e)),this}off(t,e){return this.removeListener(t,e),this}removeAllListeners(t){return t?this.events[t]=[]:this.events={},this}emit(t,...e){return this.events[t]&&this.events[t].slice(0).forEach(s=>{s(...e)}),this}once(t,e){const s=(()=>{let r=!1;return(...a)=>{r||(r=!0,e(...a),this.off(t,s))}})();return this.on(t,s),this}}function X1(o,t=(e,n)=>e<=n){const e=o.length;let n=Math.floor(e/2);for(;n>0;){for(let s=n;s<e;s++){const r=o[s];let a=s;for(;a>=n&&!t(o[a-n],r);)o[a]=o[a-n],a-=n;o[a]=r}n=Math.floor(n/2)}}let pd;try{pd=Promise}catch{pd=function(){}}function Z1(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}var U1={exports:{}};(function(o,t){(function(e){o.exports=e()})(function(e){var n=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function s(k,g){var m=k[0],y=k[1],_=k[2],w=k[3];m+=(y&_|~y&w)+g[0]-680876936|0,m=(m<<7|m>>>25)+y|0,w+=(m&y|~m&_)+g[1]-389564586|0,w=(w<<12|w>>>20)+m|0,_+=(w&m|~w&y)+g[2]+606105819|0,_=(_<<17|_>>>15)+w|0,y+=(_&w|~_&m)+g[3]-1044525330|0,y=(y<<22|y>>>10)+_|0,m+=(y&_|~y&w)+g[4]-176418897|0,m=(m<<7|m>>>25)+y|0,w+=(m&y|~m&_)+g[5]+1200080426|0,w=(w<<12|w>>>20)+m|0,_+=(w&m|~w&y)+g[6]-1473231341|0,_=(_<<17|_>>>15)+w|0,y+=(_&w|~_&m)+g[7]-45705983|0,y=(y<<22|y>>>10)+_|0,m+=(y&_|~y&w)+g[8]+1770035416|0,m=(m<<7|m>>>25)+y|0,w+=(m&y|~m&_)+g[9]-1958414417|0,w=(w<<12|w>>>20)+m|0,_+=(w&m|~w&y)+g[10]-42063|0,_=(_<<17|_>>>15)+w|0,y+=(_&w|~_&m)+g[11]-1990404162|0,y=(y<<22|y>>>10)+_|0,m+=(y&_|~y&w)+g[12]+1804603682|0,m=(m<<7|m>>>25)+y|0,w+=(m&y|~m&_)+g[13]-40341101|0,w=(w<<12|w>>>20)+m|0,_+=(w&m|~w&y)+g[14]-1502002290|0,_=(_<<17|_>>>15)+w|0,y+=(_&w|~_&m)+g[15]+1236535329|0,y=(y<<22|y>>>10)+_|0,m+=(y&w|_&~w)+g[1]-165796510|0,m=(m<<5|m>>>27)+y|0,w+=(m&_|y&~_)+g[6]-1069501632|0,w=(w<<9|w>>>23)+m|0,_+=(w&y|m&~y)+g[11]+643717713|0,_=(_<<14|_>>>18)+w|0,y+=(_&m|w&~m)+g[0]-373897302|0,y=(y<<20|y>>>12)+_|0,m+=(y&w|_&~w)+g[5]-701558691|0,m=(m<<5|m>>>27)+y|0,w+=(m&_|y&~_)+g[10]+38016083|0,w=(w<<9|w>>>23)+m|0,_+=(w&y|m&~y)+g[15]-660478335|0,_=(_<<14|_>>>18)+w|0,y+=(_&m|w&~m)+g[4]-405537848|0,y=(y<<20|y>>>12)+_|0,m+=(y&w|_&~w)+g[9]+568446438|0,m=(m<<5|m>>>27)+y|0,w+=(m&_|y&~_)+g[14]-1019803690|0,w=(w<<9|w>>>23)+m|0,_+=(w&y|m&~y)+g[3]-187363961|0,_=(_<<14|_>>>18)+w|0,y+=(_&m|w&~m)+g[8]+1163531501|0,y=(y<<20|y>>>12)+_|0,m+=(y&w|_&~w)+g[13]-1444681467|0,m=(m<<5|m>>>27)+y|0,w+=(m&_|y&~_)+g[2]-51403784|0,w=(w<<9|w>>>23)+m|0,_+=(w&y|m&~y)+g[7]+1735328473|0,_=(_<<14|_>>>18)+w|0,y+=(_&m|w&~m)+g[12]-1926607734|0,y=(y<<20|y>>>12)+_|0,m+=(y^_^w)+g[5]-378558|0,m=(m<<4|m>>>28)+y|0,w+=(m^y^_)+g[8]-2022574463|0,w=(w<<11|w>>>21)+m|0,_+=(w^m^y)+g[11]+1839030562|0,_=(_<<16|_>>>16)+w|0,y+=(_^w^m)+g[14]-35309556|0,y=(y<<23|y>>>9)+_|0,m+=(y^_^w)+g[1]-1530992060|0,m=(m<<4|m>>>28)+y|0,w+=(m^y^_)+g[4]+1272893353|0,w=(w<<11|w>>>21)+m|0,_+=(w^m^y)+g[7]-155497632|0,_=(_<<16|_>>>16)+w|0,y+=(_^w^m)+g[10]-1094730640|0,y=(y<<23|y>>>9)+_|0,m+=(y^_^w)+g[13]+681279174|0,m=(m<<4|m>>>28)+y|0,w+=(m^y^_)+g[0]-358537222|0,w=(w<<11|w>>>21)+m|0,_+=(w^m^y)+g[3]-722521979|0,_=(_<<16|_>>>16)+w|0,y+=(_^w^m)+g[6]+76029189|0,y=(y<<23|y>>>9)+_|0,m+=(y^_^w)+g[9]-640364487|0,m=(m<<4|m>>>28)+y|0,w+=(m^y^_)+g[12]-421815835|0,w=(w<<11|w>>>21)+m|0,_+=(w^m^y)+g[15]+530742520|0,_=(_<<16|_>>>16)+w|0,y+=(_^w^m)+g[2]-995338651|0,y=(y<<23|y>>>9)+_|0,m+=(_^(y|~w))+g[0]-198630844|0,m=(m<<6|m>>>26)+y|0,w+=(y^(m|~_))+g[7]+1126891415|0,w=(w<<10|w>>>22)+m|0,_+=(m^(w|~y))+g[14]-1416354905|0,_=(_<<15|_>>>17)+w|0,y+=(w^(_|~m))+g[5]-57434055|0,y=(y<<21|y>>>11)+_|0,m+=(_^(y|~w))+g[12]+1700485571|0,m=(m<<6|m>>>26)+y|0,w+=(y^(m|~_))+g[3]-1894986606|0,w=(w<<10|w>>>22)+m|0,_+=(m^(w|~y))+g[10]-1051523|0,_=(_<<15|_>>>17)+w|0,y+=(w^(_|~m))+g[1]-2054922799|0,y=(y<<21|y>>>11)+_|0,m+=(_^(y|~w))+g[8]+1873313359|0,m=(m<<6|m>>>26)+y|0,w+=(y^(m|~_))+g[15]-30611744|0,w=(w<<10|w>>>22)+m|0,_+=(m^(w|~y))+g[6]-1560198380|0,_=(_<<15|_>>>17)+w|0,y+=(w^(_|~m))+g[13]+1309151649|0,y=(y<<21|y>>>11)+_|0,m+=(_^(y|~w))+g[4]-145523070|0,m=(m<<6|m>>>26)+y|0,w+=(y^(m|~_))+g[11]-1120210379|0,w=(w<<10|w>>>22)+m|0,_+=(m^(w|~y))+g[2]+718787259|0,_=(_<<15|_>>>17)+w|0,y+=(w^(_|~m))+g[9]-343485551|0,y=(y<<21|y>>>11)+_|0,k[0]=m+k[0]|0,k[1]=y+k[1]|0,k[2]=_+k[2]|0,k[3]=w+k[3]|0}function r(k){var g=[],m;for(m=0;m<64;m+=4)g[m>>2]=k.charCodeAt(m)+(k.charCodeAt(m+1)<<8)+(k.charCodeAt(m+2)<<16)+(k.charCodeAt(m+3)<<24);return g}function a(k){var g=[],m;for(m=0;m<64;m+=4)g[m>>2]=k[m]+(k[m+1]<<8)+(k[m+2]<<16)+(k[m+3]<<24);return g}function i(k){var g=k.length,m=[1732584193,-271733879,-1732584194,271733878],y,_,w,$,Y,B;for(y=64;y<=g;y+=64)s(m,r(k.substring(y-64,y)));for(k=k.substring(y-64),_=k.length,w=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],y=0;y<_;y+=1)w[y>>2]|=k.charCodeAt(y)<<(y%4<<3);if(w[y>>2]|=128<<(y%4<<3),y>55)for(s(m,w),y=0;y<16;y+=1)w[y]=0;return $=g*8,$=$.toString(16).match(/(.*?)(.{0,8})$/),Y=parseInt($[2],16),B=parseInt($[1],16)||0,w[14]=Y,w[15]=B,s(m,w),m}function l(k){var g=k.length,m=[1732584193,-271733879,-1732584194,271733878],y,_,w,$,Y,B;for(y=64;y<=g;y+=64)s(m,a(k.subarray(y-64,y)));for(k=y-64<g?k.subarray(y-64):new Uint8Array(0),_=k.length,w=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],y=0;y<_;y+=1)w[y>>2]|=k[y]<<(y%4<<3);if(w[y>>2]|=128<<(y%4<<3),y>55)for(s(m,w),y=0;y<16;y+=1)w[y]=0;return $=g*8,$=$.toString(16).match(/(.*?)(.{0,8})$/),Y=parseInt($[2],16),B=parseInt($[1],16)||0,w[14]=Y,w[15]=B,s(m,w),m}function c(k){var g="",m;for(m=0;m<4;m+=1)g+=n[k>>m*8+4&15]+n[k>>m*8&15];return g}function u(k){var g;for(g=0;g<k.length;g+=1)k[g]=c(k[g]);return k.join("")}u(i("hello")),typeof ArrayBuffer<"u"&&!ArrayBuffer.prototype.slice&&function(){function k(g,m){return g=g|0||0,g<0?Math.max(g+m,0):Math.min(g,m)}ArrayBuffer.prototype.slice=function(g,m){var y=this.byteLength,_=k(g,y),w=y,$,Y,B,M;return m!==e&&(w=k(m,y)),_>w?new ArrayBuffer(0):($=w-_,Y=new ArrayBuffer($),B=new Uint8Array(Y),M=new Uint8Array(this,_,$),B.set(M),Y)}}();function f(k){return/[\u0080-\uFFFF]/.test(k)&&(k=unescape(encodeURIComponent(k))),k}function d(k,g){var m=k.length,y=new ArrayBuffer(m),_=new Uint8Array(y),w;for(w=0;w<m;w+=1)_[w]=k.charCodeAt(w);return g?_:y}function h(k){return String.fromCharCode.apply(null,new Uint8Array(k))}function p(k,g,m){var y=new Uint8Array(k.byteLength+g.byteLength);return y.set(new Uint8Array(k)),y.set(new Uint8Array(g),k.byteLength),m?y:y.buffer}function b(k){var g=[],m=k.length,y;for(y=0;y<m-1;y+=2)g.push(parseInt(k.substr(y,2),16));return String.fromCharCode.apply(String,g)}function x(){this.reset()}return x.prototype.append=function(k){return this.appendBinary(f(k)),this},x.prototype.appendBinary=function(k){this._buff+=k,this._length+=k.length;var g=this._buff.length,m;for(m=64;m<=g;m+=64)s(this._hash,r(this._buff.substring(m-64,m)));return this._buff=this._buff.substring(m-64),this},x.prototype.end=function(k){var g=this._buff,m=g.length,y,_=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],w;for(y=0;y<m;y+=1)_[y>>2]|=g.charCodeAt(y)<<(y%4<<3);return this._finish(_,m),w=u(this._hash),k&&(w=b(w)),this.reset(),w},x.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},x.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},x.prototype.setState=function(k){return this._buff=k.buff,this._length=k.length,this._hash=k.hash,this},x.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},x.prototype._finish=function(k,g){var m=g,y,_,w;if(k[m>>2]|=128<<(m%4<<3),m>55)for(s(this._hash,k),m=0;m<16;m+=1)k[m]=0;y=this._length*8,y=y.toString(16).match(/(.*?)(.{0,8})$/),_=parseInt(y[2],16),w=parseInt(y[1],16)||0,k[14]=_,k[15]=w,s(this._hash,k)},x.hash=function(k,g){return x.hashBinary(f(k),g)},x.hashBinary=function(k,g){var m=i(k),y=u(m);return g?b(y):y},x.ArrayBuffer=function(){this.reset()},x.ArrayBuffer.prototype.append=function(k){var g=p(this._buff.buffer,k,!0),m=g.length,y;for(this._length+=k.byteLength,y=64;y<=m;y+=64)s(this._hash,a(g.subarray(y-64,y)));return this._buff=y-64<m?new Uint8Array(g.buffer.slice(y-64)):new Uint8Array(0),this},x.ArrayBuffer.prototype.end=function(k){var g=this._buff,m=g.length,y=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],_,w;for(_=0;_<m;_+=1)y[_>>2]|=g[_]<<(_%4<<3);return this._finish(y,m),w=u(this._hash),k&&(w=b(w)),this.reset(),w},x.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},x.ArrayBuffer.prototype.getState=function(){var k=x.prototype.getState.call(this);return k.buff=h(k.buff),k},x.ArrayBuffer.prototype.setState=function(k){return k.buff=d(k.buff,!0),x.prototype.setState.call(this,k)},x.ArrayBuffer.prototype.destroy=x.prototype.destroy,x.ArrayBuffer.prototype._finish=x.prototype._finish,x.ArrayBuffer.hash=function(k,g){var m=l(new Uint8Array(k)),y=u(m);return g?b(y):y},x})})(U1);const md=o=>new XMLSerializer().serializeToString(o),H1=(o,t=nd.SVG,e=Hr.utf8)=>fd(md(o),t,e);function G1(o,t){const e=hd(t||"");if(!t)try{let n=window.localStorage.getItem(o);n&&(n=JSON.parse(n),e.value=n?n.value:"")}catch{}return gl(()=>{if(e.value)try{window.localStorage.setItem(o,JSON.stringify(e))}catch{}else window.localStorage.removeItem(o)}),e}function Jt(o,t,e,n=!1){const s=async r=>{await e(r)};try{o.addEventListener(t,s,n)}catch{o.attachEvent("on"+t,s)}return()=>{try{o.removeEventListener(t,s,n)}catch{o.detachEvent("on"+t,s)}}}function qr(o){o.preventDefault&&o.preventDefault();try{o.returnValue=!1}catch{}}function j1(){const o=window.navigator.userAgent,t=o.indexOf("MSIE ");if(t>0)return parseInt(o.substring(t+5,o.indexOf(".",t)),10);if(o.indexOf("Trident/")>0){const s=o.indexOf("rv:");return parseInt(o.substring(s+3,o.indexOf(".",s)),10)}const n=o.indexOf("Edge/");return n>0?parseInt(o.substring(n+5,o.indexOf(".",n)),10):-1}const bl=j1()!==-1;!!(uo.Worker&&uo.Blob&&uo.Promise&&uo.OffscreenCanvas&&uo.OffscreenCanvasRenderingContext2D&&uo.HTMLCanvasElement&&uo.HTMLCanvasElement.prototype.transferControlToOffscreen&&uo.URL&&uo.URL.createObjectURL),function(){if(!uo.OffscreenCanvas)return!1;const o=new OffscreenCanvas(1,1),t=o.getContext("2d");t.fillRect(0,0,1,1);const e=o.transferToImageBitmap();try{t.createPattern(e,"no-repeat")}catch{return!1}return!0}(),function(){if(!window.requestAnimationFrame){let o=ie();window.requestAnimationFrame=function(t){const e=ie(),n=Math.max(0,16-(e-o)),s=window.setTimeout(function(){t(e+n)},n);return o=e+n,s}}window.cancelAnimationFrame||(window.cancelAnimationFrame=function(o){clearTimeout(o)})}();function zs(o){let t=!1;return window.requestAnimationFrame(function e(n){!t&&o(n)&&window.requestAnimationFrame(e)}),()=>{t=!0}}function _l(o,t=0){if(t==0)return o(ie()),()=>{};{const e=ie();return zs(n=>n-e>=t?(o(n),!1):!0)}}function W1(o,t=0){let e=!1,n=0;const s=ie(),r=a=>{if(e)return;n++;const i=a-s-n*t;o(a,n,t<=i),_l(r,Math.max(0,t-i))};return _l(r,t),()=>{e=!0}}function gd(o,t=20){const e=1e3/t;let n=0,s;return()=>(ie()-n>=e&&(n=ie(),s=o()),s)}window.requestIdleCallback=window.requestIdleCallback||function(o,t){const e=ie();return setTimeout(function(){o({didTimeout:ie()-e>50,timeRemaining:()=>Math.max(0,50-(ie()-e))})},t?.timeout)},window.cancelIdleCallback=window.cancelIdleCallback||function(o){clearTimeout(o)};const xl=new pl;let kl=!1;function yd(o,t,e){o&&t&&xl.set(o,{cb:t,startTime:ie(),timeout:e}),!kl&&(kl=!0,K1(n=>{kl=!1;let s=n.timeRemaining();xl.filter((r,a)=>{let i=!1;const l=ie();(s>0||a.timeout&&ie()-a.startTime>=a.timeout)&&(a.cb(),i=!0);const c=ie();return s-=c-l,!i}),xl.length>0&&yd()}))}let Kr=0,Tn=33,Jo=33,wl;const vd=new MessageChannel,q1=vd.port2;vd.port1.onmessage=o=>{wl!==null&&wl({didTimeout:Kr<=ie(),timeRemaining:()=>Math.max(0,Kr-ie())})};function K1(o){return wl=o,requestAnimationFrame(t=>{let e=t-Kr+Jo;e<Jo&&Tn<Jo?(e<8&&(e=8),Jo=e<Tn?Tn:e):e>Jo&&Tn>Jo?Jo=e<Tn?Tn:e:Tn=e,Kr=t+Jo,q1.postMessage(null)})}class Ds{static _nextId=0;static nextId(){return Ds._nextId++}}const at={Linear:{None:function(o){return o}},Ease:{In:function(o){return Math.pow(o,1.7)}},Quadratic:{In:function(o){return o*o},Out:function(o){return o*(2-o)},InOut:function(o){return(o*=2)<1?.5*o*o:-.5*(--o*(o-2)-1)}},Cubic:{In:function(o){return o*o*o},Out:function(o){return--o*o*o+1},InOut:function(o){return(o*=2)<1?.5*o*o*o:.5*((o-=2)*o*o+2)}},Quartic:{In:function(o){return o*o*o*o},Out:function(o){return 1- --o*o*o*o},InOut:function(o){return(o*=2)<1?.5*o*o*o*o:-.5*((o-=2)*o*o*o-2)}},Quintic:{In:function(o){return o*o*o*o*o},Out:function(o){return--o*o*o*o*o+1},InOut:function(o){return(o*=2)<1?.5*o*o*o*o*o:.5*((o-=2)*o*o*o*o+2)}},Sinusoidal:{In:function(o){return 1-Math.sin((1-o)*Math.PI/2)},Out:function(o){return Math.sin(o*Math.PI/2)},InOut:function(o){return .5*(1-Math.sin(Math.PI*(.5-o)))}},Exponential:{In:function(o){return o===0?0:Math.pow(1024,o-1)},Out:function(o){return o===1?1:1-Math.pow(2,-10*o)},InOut:function(o){return o===0?0:o===1?1:(o*=2)<1?.5*Math.pow(1024,o-1):.5*(-Math.pow(2,-10*(o-1))+2)}},Circular:{In:function(o){return 1-Math.sqrt(1-o*o)},Out:function(o){return Math.sqrt(1- --o*o)},InOut:function(o){return(o*=2)<1?-.5*(Math.sqrt(1-o*o)-1):.5*(Math.sqrt(1-(o-=2)*o)+1)}},Elastic:{In:function(o){return o===0?0:o===1?1:-Math.pow(2,10*(o-1))*Math.sin((o-1.1)*5*Math.PI)},Out:function(o){return o===0?0:o===1?1:Math.pow(2,-10*o)*Math.sin((o-.1)*5*Math.PI)+1},InOut:function(o){return o===0?0:o===1?1:(o*=2,o<1?-.5*Math.pow(2,10*(o-1))*Math.sin((o-1.1)*5*Math.PI):.5*Math.pow(2,-10*(o-1))*Math.sin((o-1.1)*5*Math.PI)+1)}},Back:{In:function(o){return o===1?1:o*o*((1.70158+1)*o-1.70158)},Out:function(o){return o===0?0:--o*o*((1.70158+1)*o+1.70158)+1},InOut:function(o){const t=2.5949095;return(o*=2)<1?.5*(o*o*((t+1)*o-t)):.5*((o-=2)*o*((t+1)*o+t)+2)}},Bounce:{In:function(o){return 1-at.Bounce.Out(1-o)},Out:function(o){return o<1/2.75?7.5625*o*o:o<2/2.75?7.5625*(o-=1.5/2.75)*o+.75:o<2.5/2.75?7.5625*(o-=2.25/2.75)*o+.9375:7.5625*(o-=2.625/2.75)*o+.984375},InOut:function(o){return o<.5?at.Bounce.In(o*2)*.5:at.Bounce.Out(o*2-1)*.5+.5}},generatePow:function(o=4){return o=o<Number.EPSILON?Number.EPSILON:o,o=o>1e4?1e4:o,{In:function(t){return t**o},Out:function(t){return 1-(1-t)**o},InOut:function(t){return t<.5?(t*2)**o/2:(1-(2-t*2)**o)/2+.5}}},random:function(o){return Math.random()},createStep:function(o){return function(t){return Math.floor(t*o)/o}},createNoisyEasing:function(o,t=.1){const e=1-t;return function(n){return t*Math.random()+e*o(n)}},swing:function(o){return o+Math.sin(o*Math.PI*2)/2},causeSeizures:function(o){return o+.2*Math.random()-.1}},Cl=at;function Q1(o){switch(o){case at.Quadratic.In:return at.Quadratic.Out;case at.Quadratic.Out:return at.Quadratic.In;case at.Quadratic.InOut:return at.Quadratic.InOut;case at.Cubic.In:return at.Cubic.Out;case at.Cubic.Out:return at.Cubic.In;case at.Cubic.InOut:return at.Cubic.InOut;case at.Quartic.In:return at.Quartic.Out;case at.Quartic.Out:return at.Quartic.In;case at.Quartic.InOut:return at.Quartic.InOut;case at.Quintic.In:return at.Quintic.Out;case at.Quintic.Out:return at.Quintic.In;case at.Quintic.InOut:return at.Quintic.InOut;case at.Sinusoidal.In:return at.Sinusoidal.Out;case at.Sinusoidal.Out:return at.Sinusoidal.In;case at.Sinusoidal.InOut:return at.Sinusoidal.InOut;case at.Exponential.In:return at.Exponential.Out;case at.Exponential.Out:return at.Exponential.In;case at.Exponential.InOut:return at.Exponential.InOut;case at.Circular.In:return at.Circular.Out;case at.Circular.Out:return at.Circular.In;case at.Circular.InOut:return at.Circular.InOut;case at.Elastic.In:return at.Elastic.Out;case at.Elastic.Out:return at.Elastic.In;case at.Elastic.InOut:return at.Elastic.InOut;case at.Back.In:return at.Back.Out;case at.Back.Out:return at.Back.In;case at.Back.InOut:return at.Back.InOut;case at.Bounce.In:return at.Bounce.Out;case at.Bounce.Out:return at.Bounce.In;case at.Bounce.InOut:return at.Bounce.InOut;default:return o}}const Xn={Utils:{Linear:function(o,t,e){return(t-o)*e+o},Factorial:function(){const o=[1];return function(t){let e=1;if(o[t])return o[t];for(let n=t;n>1;n--)e*=n;return o[t]=e,e}}(),Bernstein:function(o,t){const e=Xn.Utils.Factorial;return e(o)/e(t)/e(o-t)},CatmullRom:function(o,t,e,n,s){const r=(e-o)*.5,a=(n-t)*.5,i=s*s,l=s*i;return(2*t-2*e+r+a)*l+(-3*t+3*e-2*r-a)*i+r*s+t},QuadraticBezier:(o,t,e,n)=>{const s=1-n;return s*s*o+2*s*n*t+n*n*e},CubicBezier:(o,t,e,n,s)=>{const r=1-s;return r*r*r*o+3*r*r*s*t+3*r*s*s*e+s*s*s*n}},Linear:function(o,t){const e=o.length-1,n=e*t,s=Math.floor(n),r=Xn.Utils.Linear;return t<0?r(o[0],o[1],n):t>1?r(o[e],o[e-1],e-n):r(o[s],o[s+1>e?e:s+1],n-s)},Bezier:function(o,t){let e=0;const n=o.length-1,s=Math.pow,r=Xn.Utils.Bernstein;for(let a=0;a<=n;a++)e+=s(1-t,n-a)*s(t,a)*o[a]*r(n,a);return e},CatmullRom:function(o,t){const e=o.length-1;let n=e*t,s=Math.floor(n);const r=Xn.Utils.CatmullRom;return o[0]===o[e]?(t<0&&(s=Math.floor(n=e*(1+t))),r(o[(s-1+e)%e],o[s],o[(s+1)%e],o[(s+2)%e],n-s)):t<0?o[0]-(r(o[0],o[0],o[1],o[1],-n)-o[0]):t>1?o[e]-(r(o[e],o[e],o[e-1],o[e-1],n-e)-o[e]):r(o[s?s-1:0],o[s],o[e<s+1?e:s+1],o[e<s+2?e:s+2],n-s)}},Tl=Xn;class bd{_tweens={};_tweensAddedDuringUpdate={};getAll(){return Object.keys(this._tweens).map(t=>this._tweens[t])}removeAll(){this._tweens={}}add(t){this._tweens[t.getId()]=t,this._tweensAddedDuringUpdate[t.getId()]=t}remove(t){delete this._tweens[t.getId()],delete this._tweensAddedDuringUpdate[t.getId()]}update(t=ie(),e=!1){const n=Object.keys(this._tweens);for(let s=0;s<n.length;s++){const r=this._tweens[n[s]],a=!e;r&&r.update(t,a)===!1&&!e&&delete this._tweens[n[s]]}return!!Object.keys(this._tweens).length}}const We=new bd;class _d{constructor(t,e=We){this._object=t,this._group=e}_id=Ds.nextId();_isPlaying=!1;_startTime=0;_delayTime=0;_durationTime=1e3;_isPaused=!1;_pauseStartTime=0;_initialRepeat=0;_repeat=0;_repeatDelayTime;_yoyo=!1;_reversed=!1;_valuesStart={};_valuesEnd={};_valuesStartRepeat={};_easingFunction=Cl.Linear.None;_interpolationFunction=Tl.Linear;_chainedTweens=[];_isChainStopped=!1;_onStartCallback;_onStartCallbackFired=!1;_onEveryStartCallback;_onEveryStartCallbackFired=!1;_onUpdateCallback;_onRepeatCallback;_onCompleteCallback;_onStopCallback;_goToEnd=!1;getId(){return this._id}isPlaying(){return this._isPlaying}isPaused(){return this._isPaused}to(t,e){return this._valuesEnd=Object.create(t),e!==void 0&&(this._durationTime=e),this}duration(t=1e3){return this._durationTime=t,this}start(t=ie()){if(this._isPlaying)return this;if(this._group&&this._group.add(this),this._repeat=this._initialRepeat,this._reversed){this._reversed=!1;for(const e in this._valuesStartRepeat)this._swapEndStartRepeatValues(e),this._valuesStart[e]=this._valuesStartRepeat[e]}return this._isPlaying=!0,this._isPaused=!1,this._onStartCallbackFired=!1,this._onEveryStartCallbackFired=!1,this._isChainStopped=!1,this._startTime=t,this._startTime+=this._delayTime,this._setupProperties(this._object,this._valuesStart,this._valuesEnd,this._valuesStartRepeat),this}_setupProperties(t,e,n,s){for(const r in n){const a=t[r],i=Array.isArray(a),l=i?"array":typeof a,c=!i&&Array.isArray(n[r]);if(!(l==="undefined"||l==="function")){if(c){let u=n[r];if(u.length===0)continue;u=u.map(this._handleRelativeValue.bind(this,a)),n[r]=[a].concat(u)}if((l==="object"||i)&&a&&!c){e[r]=i?[]:{};for(const u in a)e[r][u]=a[u];s[r]=i?[]:{},this._setupProperties(a,e[r],n[r],s[r])}else typeof e[r]>"u"&&(e[r]=a),i||(e[r]*=1),c?s[r]=n[r].slice().reverse():s[r]=e[r]||0}}}stop(){return this._isChainStopped||(this._isChainStopped=!0,this.stopChainedTweens()),this._isPlaying?(this._group&&this._group.remove(this),this._isPlaying=!1,this._isPaused=!1,this._onStopCallback&&this._onStopCallback(this._object),this):this}end(){return this._goToEnd=!0,this.update(1/0),this}pause(t=ie()){return this._isPaused||!this._isPlaying?this:(this._isPaused=!0,this._pauseStartTime=t,this._group&&this._group.remove(this),this)}resume(t=ie()){return!this._isPaused||!this._isPlaying?this:(this._isPaused=!1,this._startTime+=t-this._pauseStartTime,this._pauseStartTime=0,this._group&&this._group.add(this),this)}stopChainedTweens(){for(let t=0,e=this._chainedTweens.length;t<e;t++)this._chainedTweens[t].stop();return this}group(t=We){return this._group=t,this}delay(t=0){return this._delayTime=t,this}repeat(t=0){return this._initialRepeat=t,this._repeat=t,this}repeatDelay(t){return this._repeatDelayTime=t,this}yoyo(t=!1){return this._yoyo=t,this}easing(t=Cl.Linear.None){return this._easingFunction=t,this}interpolation(t=Tl.Linear){return this._interpolationFunction=t,this}chain(...t){return this._chainedTweens=t,this}onStart(t){return this._onStartCallback=t,this}onEveryStart(t){return this._onEveryStartCallback=t,this}onUpdate(t){return this._onUpdateCallback=t,this}onRepeat(t){return this._onRepeatCallback=t,this}onComplete(t){return this._onCompleteCallback=t,this}onStop(t){return this._onStopCallback=t,this}update(t=ie(),e=!0){if(this._isPaused)return!0;let n,s;const r=this._startTime+this._durationTime;if(!this._goToEnd&&!this._isPlaying){if(t>r)return!1;e&&this.start(t)}if(this._goToEnd=!1,t<this._startTime)return!0;this._onStartCallbackFired===!1&&(this._onStartCallback&&this._onStartCallback(this._object),this._onStartCallbackFired=!0),this._onEveryStartCallbackFired===!1&&(this._onEveryStartCallback&&this._onEveryStartCallback(this._object),this._onEveryStartCallbackFired=!0),s=(t-this._startTime)/this._durationTime,s=this._durationTime===0||s>1?1:s;const a=this._easingFunction(s);if(this._updateProperties(this._object,this._valuesStart,this._valuesEnd,a),this._onUpdateCallback&&this._onUpdateCallback(this._object,s),s===1)if(this._repeat>0){isFinite(this._repeat)&&this._repeat--;for(n in this._valuesStartRepeat)!this._yoyo&&typeof this._valuesEnd[n]=="string"&&(this._valuesStartRepeat[n]=this._valuesStartRepeat[n]+parseFloat(this._valuesEnd[n])),this._yoyo&&this._swapEndStartRepeatValues(n),this._valuesStart[n]=this._valuesStartRepeat[n];return this._yoyo&&(this._reversed=!this._reversed),this._repeatDelayTime!==void 0?this._startTime=t+this._repeatDelayTime:this._startTime=t+this._delayTime,this._onRepeatCallback&&this._onRepeatCallback(this._object),this._onEveryStartCallbackFired=!1,!0}else{this._onCompleteCallback&&this._onCompleteCallback(this._object);for(let i=0,l=this._chainedTweens.length;i<l;i++)this._chainedTweens[i].start(this._startTime+this._durationTime);return this._isPlaying=!1,!1}return!0}_updateProperties(t,e,n,s){for(const r in n){if(e[r]===void 0)continue;const a=e[r]||0;let i=n[r];const l=Array.isArray(t[r]),c=Array.isArray(i);!l&&c?t[r]=this._interpolationFunction(i,s):typeof i=="object"&&i?this._updateProperties(t[r],a,i,s):(i=this._handleRelativeValue(a,i),typeof i=="number"&&(t[r]=a+(i-a)*s))}}_handleRelativeValue(t,e){return typeof e!="string"?e:e.charAt(0)==="+"||e.charAt(0)==="-"?t+parseFloat(e):parseFloat(e)}_swapEndStartRepeatValues(t){const e=this._valuesStartRepeat[t],n=this._valuesEnd[t];typeof n=="string"?this._valuesStartRepeat[t]=this._valuesStartRepeat[t]+parseFloat(n):this._valuesStartRepeat[t]=n,this._valuesEnd[t]=e}}const J1=_d,tv=Ds.nextId,ev=We.getAll.bind(We),ov=We.removeAll.bind(We),nv=We.add.bind(We),sv=We.remove.bind(We),rv=We.update.bind(We),_t={now:ie,Sequence:Ds,Easing:Cl,Interpolation:Tl,Group:bd,Tween:J1,nextId:tv,getAll:ev,removeAll:ov,add:nv,remove:sv,update:rv};class av{autoStart;startTime;oldTime;elapsedTime;running;constructor(t=!0){this.autoStart=t,this.startTime=0,this.oldTime=0,this.elapsedTime=0,this.running=!1}start(){this.startTime=ie(),this.oldTime=this.startTime,this.elapsedTime=0,this.running=!0}stop(){this.getElapsedTime(),this.running=!1,this.autoStart=!1}getElapsedTime(){return this.getDelta(),this.elapsedTime}getDelta(){let t=0;if(this.autoStart&&!this.running)return this.start(),0;if(this.running){const e=ie();t=e-this.oldTime,this.oldTime=e,this.elapsedTime+=t}return t}}const xd=av;class Xe{tweens=[];frameDuration;onGroupStart;onGroupComplete;constructor(t){this.frameDuration=t?.frameDuration||1e3,this.onGroupStart=t?.onGroupStart,this.onGroupComplete=t?.onGroupComplete}get count(){return this.tweens.length}clear(){this.tweens=[]}sort(t=!1){X1(this.tweens,(e,n)=>t?e.delay>n.delay:e.delay<=n.delay)}cloneTweens(t=this.tweens){const e=[];return t.forEach(n=>{const s={...n};delete s.tween,s.fromValues={...s.fromValues},s.toValues={...s.toValues},e.push(s)}),e}addTween(t,e,n){const s={fromValues:t,toValues:e,frames:typeof n?.frames=="number"?n.frames:1,delay:typeof n?.delay=="number"?n.delay:this.tweens.length,easeFunction:n?.easeFunction||at.Linear.None,interpolationFunction:n?.interpolationFunction||Xn.Linear,repeat:typeof n?.repeat=="number"?n.repeat:0,yoyo:n?.yoyo||!1,onStart:n?.onStart||(()=>{}),onUpdate:n?.onUpdate||(()=>{}),onComplete:n?.onComplete||(()=>{})};return this.tweens.push(s),this}cancelRequestAnimationCycle=()=>{};runTweens(t){this.cancelRequestAnimationCycle();const e=new xd,n=this.frameDuration;return new Promise(s=>{this.onGroupStart?.(),this.cancelRequestAnimationCycle=zs(r=>{if(!this.isPaused){const i=Math.max(0,r-this.pausedDuration),l=Math.max(0,e.getElapsedTime()-this.pausedDuration);t.filter(c=>c.delay*n<=l).forEach(c=>{c.tween||(c.tween=new _d({...c.fromValues}).to({...c.toValues},c.frames*n).easing(c.easeFunction).interpolation(c.interpolationFunction).repeat(c.repeat).yoyo(c.yoyo).onStart(c.onStart).onUpdate(c.onUpdate).onComplete(c.onComplete),c.tween.start(i)),(c.delay+c.frames*(c.repeat+1))*n>l?c.tween.update(i):(c.tween.isPlaying()&&c.tween.end(),id(t,c))})}const a=!!t.length;return a||(this.onGroupComplete?.(),s()),a})})}isPaused=!1;pausedClock=new xd;pausedDuration=0;play(t=this.cloneTweens(this.tweens)){this.isPaused=!1,this.pausedDuration=0,this.runTweens(t)}reverse(){const t=this.cloneTweens(this.tweens);let e=0;t.forEach(n=>{e=Math.max(e,n.delay+n.frames),n.easeFunction=Q1(n.easeFunction);const s={...n.toValues};n.toValues={...n.fromValues},n.fromValues={...s}}),t.forEach(n=>{n.delay=e-n.frames}),this.play(t)}pause(){this.pausedClock.start(),this.isPaused=!0}resume(){this.pausedDuration+=this.pausedClock.getElapsedTime(),this.pausedClock.stop(),this.isPaused=!1}}const Qr=new pl,iv=(o=!0)=>{Qr.filter((t,e)=>(e.alternate&&(ih(e,e.alternate),o&&Qr.set(t,e.alternate),e.alternate=void 0),o))};function kd(o){let t=Qr.get(o);return t||(t=Yl(o),Qr.set(o,t)),t}function lv(o){const t=kd(o);return t.alternate||(t.alternate=Yl(o)),t.alternate}function cv(o,t,e=!0){t(lv(o)),yd("FLUSH_DOM_ACTION",()=>iv(e),50)}function ee(o){return o*Math.PI/180}function qe(o){return o*180/Math.PI}function wd(o,t,e=0){return Math.sqrt(o*o+t*t+e*e)}function Cd(o,t,e,n){return wd(e-o,n-t)}function El(o,t,e,n){const s=e-o,r=n-t;return s*s+r*r}function Jr(o,t,e,n){let s=Math.atan2(n-t,e-o);return s<0&&(s+=Math.PI*2),s}function Zn(o,t){return{dx:Math.cos(o)*t,dy:Math.sin(o)*t}}const Td=uv("50,nbsp,51,iexcl,52,cent,53,pound,54,curren,55,yen,56,brvbar,57,sect,58,uml,59,copy,5a,ordf,5b,laquo,5c,not,5d,shy,5e,reg,5f,macr,5g,deg,5h,plusmn,5i,sup2,5j,sup3,5k,acute,5l,micro,5m,para,5n,middot,5o,cedil,5p,sup1,5q,ordm,5r,raquo,5s,frac14,5t,frac12,5u,frac34,5v,iquest,60,Agrave,61,Aacute,62,Acirc,63,Atilde,64,Auml,65,Aring,66,AElig,67,Ccedil,68,Egrave,69,Eacute,6a,Ecirc,6b,Euml,6c,Igrave,6d,Iacute,6e,Icirc,6f,Iuml,6g,ETH,6h,Ntilde,6i,Ograve,6j,Oacute,6k,Ocirc,6l,Otilde,6m,Ouml,6n,times,6o,Oslash,6p,Ugrave,6q,Uacute,6r,Ucirc,6s,Uuml,6t,Yacute,6u,THORN,6v,szlig,70,agrave,71,aacute,72,acirc,73,atilde,74,auml,75,aring,76,aelig,77,ccedil,78,egrave,79,eacute,7a,ecirc,7b,euml,7c,igrave,7d,iacute,7e,icirc,7f,iuml,7g,eth,7h,ntilde,7i,ograve,7j,oacute,7k,ocirc,7l,otilde,7m,ouml,7n,divide,7o,oslash,7p,ugrave,7q,uacute,7r,ucirc,7s,uuml,7t,yacute,7u,thorn,7v,yuml,ci,fnof,sh,Alpha,si,Beta,sj,Gamma,sk,Delta,sl,Epsilon,sm,Zeta,sn,Eta,so,Theta,sp,Iota,sq,Kappa,sr,Lambda,ss,Mu,st,Nu,su,Xi,sv,Omicron,t0,Pi,t1,Rho,t3,Sigma,t4,Tau,t5,Upsilon,t6,Phi,t7,Chi,t8,Psi,t9,Omega,th,alpha,ti,beta,tj,gamma,tk,delta,tl,epsilon,tm,zeta,tn,eta,to,theta,tp,iota,tq,kappa,tr,lambda,ts,mu,tt,nu,tu,xi,tv,omicron,u0,pi,u1,rho,u2,sigmaf,u3,sigma,u4,tau,u5,upsilon,u6,phi,u7,chi,u8,psi,u9,omega,uh,thetasym,ui,upsih,um,piv,812,bull,816,hellip,81i,prime,81j,Prime,81u,oline,824,frasl,88o,weierp,88h,image,88s,real,892,trade,89l,alefsym,8cg,larr,8ch,uarr,8ci,rarr,8cj,darr,8ck,harr,8dl,crarr,8eg,lArr,8eh,uArr,8ei,rArr,8ej,dArr,8ek,hArr,8g0,forall,8g2,part,8g3,exist,8g5,empty,8g7,nabla,8g8,isin,8g9,notin,8gb,ni,8gf,prod,8gh,sum,8gi,minus,8gn,lowast,8gq,radic,8gt,prop,8gu,infin,8h0,ang,8h7,and,8h8,or,8h9,cap,8ha,cup,8hb,int,8hk,there4,8hs,sim,8i5,cong,8i8,asymp,8j0,ne,8j1,equiv,8j4,le,8j5,ge,8k2,sub,8k3,sup,8k4,nsub,8k6,sube,8k7,supe,8kl,oplus,8kn,otimes,8l5,perp,8m5,sdot,8o8,lceil,8o9,rceil,8oa,lfloor,8ob,rfloor,8p9,lang,8pa,rang,9ea,loz,9j0,spades,9j3,clubs,9j5,hearts,9j6,diams,ai,OElig,aj,oelig,b0,Scaron,b1,scaron,bo,Yuml,m6,circ,ms,tilde,802,ensp,803,emsp,809,thinsp,80c,zwnj,80d,zwj,80e,lrm,80f,rlm,80j,ndash,80k,mdash,80o,lsquo,80p,rsquo,80q,sbquo,80s,ldquo,80t,rdquo,80u,bdquo,810,dagger,811,Dagger,81g,permil,81p,lsaquo,81q,rsaquo,85c,euro",32);function uv(o,t=10){const e={},n=o.split(",");for(let s=0;s<n.length;s+=2){const r="&"+n[s+1]+";",a=parseInt(n[s],t);e[r]="&#"+a+";"}return e["\\xa0"]=" ",e}function Fe(o,t){const e=Object.keys(t);for(let n=0;n<e.length;n++)o=o.replace(new RegExp("{"+e[n]+"}","gi"),""+t[e[n]]);return o}function ta(o){let t,e;if(!o)throw new Error("cannot create a random attribute name for an undefined object");const n="ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz";t="";do for(t="",e=0;e<12;e++)t+=n[Math.floor(Math.random()*n.length)];while(o[t]);return t}function fv(o){const t={left:"start",right:"end",center:"middle",start:"start",end:"end"};return t[o]||t.start}function dv(o){const t={alphabetic:"alphabetic",hanging:"hanging",top:"text-before-edge",bottom:"text-after-edge",middle:"central"};return t[o]||t.alphabetic}const Ms={strokeStyle:{svgAttr:"stroke",canvas:"#000000",svg:"none",apply:"stroke"},fillStyle:{svgAttr:"fill",canvas:"#000000",svg:null,apply:"fill"},lineCap:{svgAttr:"stroke-linecap",canvas:"butt",svg:"butt",apply:"stroke"},lineJoin:{svgAttr:"stroke-linejoin",canvas:"miter",svg:"miter",apply:"stroke"},miterLimit:{svgAttr:"stroke-miterlimit",canvas:10,svg:4,apply:"stroke"},lineWidth:{svgAttr:"stroke-width",canvas:1,svg:1,apply:"stroke"},globalAlpha:{svgAttr:"opacity",canvas:1,svg:1,apply:"fill stroke"},font:{canvas:"10px sans-serif"},shadowColor:{canvas:"#000000"},shadowOffsetX:{canvas:0},shadowOffsetY:{canvas:0},shadowBlur:{canvas:0},textAlign:{canvas:"start"},textBaseline:{canvas:"alphabetic"},lineDash:{svgAttr:"stroke-dasharray",canvas:[],svg:null,apply:"stroke"},lineDashOffset:{svgAttr:"stroke-dashoffset",canvas:0,svg:0,apply:"stroke"}};class Sl{__root;__ctx;constructor(t,e){this.__root=t,this.__ctx=e}addColorStop(t,e){const n=this.__ctx.__createElement("stop");if(n.setAttribute("offset",""+t),e.indexOf("rgba")!==-1){const r=/rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d?\.?\d*)\s*\)/gi.exec(e);r&&(n.setAttribute("stop-color",Fe("rgb({r},{g},{b})",{r:r[1],g:r[2],b:r[3]})),n.setAttribute("stop-opacity",r[4]))}else n.setAttribute("stop-color",e);this.__root.appendChild(n)}}class Ed{__root;__ctx;constructor(t,e){this.__root=t,this.__ctx=e}}class ea{__document=document;__canvas;__ctx;width;height;__styleStack;__groupStack;__rootSVG;__ids;__SVGdefs;__currentElement;__currentElementsToStyle=null;constructor({canvas:t,width:e=500,height:n=500}){t?(this.__canvas=t,this.__ctx=t.getContext("2d"),this.width=t.width,this.height=t.height):(this.__canvas=this.__document.createElement("canvas"),this.__ctx=this.__canvas.getContext("2d"),this.width=e,this.height=n),this.__setDefaultStyles(),this.__styleStack=[this.__getStyleState()],this.__groupStack=[],this.__rootSVG=this.__document.createElementNS("http://www.w3.org/2000/svg","svg"),this.__rootSVG.setAttribute("version","1.1"),this.__rootSVG.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.__rootSVG.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),this.__rootSVG.setAttribute("width",""+this.width),this.__rootSVG.setAttribute("height",""+this.height),this.__ids={},this.__SVGdefs=this.__document.createElementNS("http://www.w3.org/2000/svg","defs"),this.__rootSVG.appendChild(this.__SVGdefs),this.__currentElement=this.__document.createElementNS("http://www.w3.org/2000/svg","g"),this.__rootSVG.appendChild(this.__currentElement)}__setDefaultStyles(){const t=Object.keys(Ms);for(let e=0,n=t.length;e<n;e++){const s=t[e];this[s]=Ms[s].canvas}}__getStyleState(){const t={},e=Object.keys(Ms);for(let n=0,s=e.length;n<s;n++){const r=e[n];t[r]=this[r]}return t}__applyStyleState(t){const e=Object.keys(t);for(let n=0,s=e.length;n<s;n++){const r=e[n];this[r]=t[r]}}__createElement(t,e={},n=!1){const s=this.__document.createElementNS("http://www.w3.org/2000/svg",t),r=Object.keys(e);n&&(s.setAttribute("fill","none"),s.setAttribute("stroke","none"));for(let a=0;a<r.length;a++){const i=r[a];s.setAttribute(i,e[i])}return s}__applyStyleToCurrentElement(t){let e=this.__currentElement;const n=this.__currentElementsToStyle;n&&(e.setAttribute(t,""),e=n.element,n.children.forEach(r=>{r.setAttribute(t,"")}));const s=Object.keys(Ms);for(let r=0;r<s.length;r++){const a=Ms[s[r]],i=this[s[r]];if(a.apply){if(i instanceof Ed){if(i.__ctx)for(;i.__ctx.__SVGdefs.childNodes.length;){const l=i.__ctx.__SVGdefs.childNodes[0].getAttribute("id");this.__ids[l]=l,this.__SVGdefs.appendChild(i.__ctx.__SVGdefs.childNodes[0])}e.setAttribute(a.apply,Fe("url(#{id})",{id:i.__root.getAttribute("id")}))}else if(i instanceof Sl)e.setAttribute(a.apply,Fe("url(#{id})",{id:i.__root.getAttribute("id")}));else if(a.apply.indexOf(t)!==-1&&a.svg!==i)if((a.svgAttr==="stroke"||a.svgAttr==="fill")&&i.indexOf("rgba")!==-1){const c=/rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d?\.?\d*)\s*\)/gi.exec(i);if(c){e.setAttribute(a.svgAttr,Fe("rgb({r},{g},{b})",{r:c[1],g:c[2],b:c[3]}));let u=parseFloat(c[4]);const f=this.globalAlpha;f!=null&&(u*=f),e.setAttribute(a.svgAttr+"-opacity",""+u)}}else{let l=a.svgAttr;if(s[r]==="globalAlpha"&&(l=t+"-"+a.svgAttr,e.getAttribute(l)))continue;l&&e.setAttribute(l,i)}}}}__closestGroupOrSvg(t){return t=t||this.__currentElement,t.nodeName==="g"||t.nodeName==="svg"?t:this.__closestGroupOrSvg(t.parentNode)}getSerializedSvg(t){let e=new XMLSerializer().serializeToString(this.__rootSVG);if(/xmlns="http:\/\/www\.w3\.org\/2000\/svg".+xmlns="http:\/\/www\.w3\.org\/2000\/svg/gi.test(e)&&(e=e.replace('xmlns="http://www.w3.org/2000/svg','xmlns:xlink="http://www.w3.org/1999/xlink')),t){const s=Object.keys(Td);for(let r=0,a=s.length;r<a;r++){const i=s[r],l=Td[i],c=new RegExp(i,"gi");c.test(e)&&(e=e.replace(c,l))}}return e}getSvg(){return this.__rootSVG}save(){const t=this.__createElement("g"),e=this.__closestGroupOrSvg();this.__groupStack.push(e),e.appendChild(t),this.__currentElement=t,this.__styleStack.push(this.__getStyleState())}restore(){this.__currentElementsToStyle=null;const t=this.__groupStack.pop();t?this.__currentElement=t:this.__currentElement=this.__rootSVG.childNodes[1];const e=this.__styleStack.pop();e&&this.__applyStyleState(e)}__addTransform(t){const e=this.__closestGroupOrSvg();if(e.childNodes.length>0){this.__currentElement.nodeName==="path"&&(this.__currentElementsToStyle||(this.__currentElementsToStyle={element:e,children:[]}),this.__currentElementsToStyle.children.push(this.__currentElement),this.__applyCurrentDefaultPath());const s=this.__createElement("g");e.appendChild(s),this.__currentElement=s}let n=this.__currentElement.getAttribute("transform");n?n+=" ":n="",n+=t,this.__currentElement.setAttribute("transform",n)}scale(t,e){e===void 0&&(e=t),this.__addTransform(Fe("scale({x},{y})",{x:t,y:e}))}rotate(t){const e=t*180/Math.PI;this.__addTransform(Fe("rotate({angle},{cx},{cy})",{angle:e,cx:0,cy:0}))}translate(t,e){this.__addTransform(Fe("translate({x},{y})",{x:t,y:e}))}transform(t,e,n,s,r,a){this.__addTransform(Fe("matrix({a},{b},{c},{d},{e},{f})",{a:t,b:e,c:n,d:s,e:r,f:a}))}beginPath(){this.__currentDefaultPath="",this.__currentPosition={};const t=this.__createElement("path",{},!0);this.__closestGroupOrSvg().appendChild(t),this.__currentElement=t}__applyCurrentDefaultPath(){const t=this.__currentElement;t.nodeName==="path"&&t.setAttribute("d",this.__currentDefaultPath)}__addPathCommand(t){this.__currentDefaultPath+=" ",this.__currentDefaultPath+=t}moveTo(t,e){this.__currentElement.nodeName!=="path"&&this.beginPath(),this.__currentPosition={x:t,y:e},this.__addPathCommand(Fe("M {x} {y}",this.__currentPosition))}closePath(){this.__currentDefaultPath&&this.__addPathCommand("Z")}lineTo(t,e){this.__currentPosition={x:t,y:e},this.__currentDefaultPath.indexOf("M")>-1?this.__addPathCommand(Fe("L {x} {y}",this.__currentPosition)):this.__addPathCommand(Fe("M {x} {y}",this.__currentPosition))}bezierCurveTo(t,e,n,s,r,a){this.__currentPosition={x:r,y:a},this.__addPathCommand(Fe("C {cp1x} {cp1y} {cp2x} {cp2y} {x} {y}",{cp1x:t,cp1y:e,cp2x:n,cp2y:s,x:r,y:a}))}quadraticCurveTo(t,e,n,s){this.__currentPosition={x:n,y:s},this.__addPathCommand(Fe("Q {cpx} {cpy} {x} {y}",{cpx:t,cpy:e,x:n,y:s}))}normalize(t){const e=Math.sqrt(t[0]*t[0]+t[1]*t[1]);return[t[0]/e,t[1]/e]}arcTo(t,e,n,s,r){const a=this.__currentPosition&&this.__currentPosition.x,i=this.__currentPosition&&this.__currentPosition.y;if(typeof a>"u"||typeof i>"u")return;if(r<0)throw new Error("IndexSizeError: The radius provided ("+r+") is negative.");if(a===t&&i===e||t===n&&e===s||r===0){this.lineTo(t,e);return}const l=this.normalize([a-t,i-e]),c=this.normalize([n-t,s-e]);if(l[0]*c[1]===l[1]*c[0]){this.lineTo(t,e);return}const u=l[0]*c[0]+l[1]*c[1],f=Math.acos(Math.abs(u)),d=this.normalize([l[0]+c[0],l[1]+c[1]]),h=r/Math.sin(f/2),p=t+h*d[0],b=e+h*d[1],x=[-l[1],l[0]],k=[c[1],-c[0]],g=function(_){const w=_[0];return _[1]>=0?Math.acos(w):-Math.acos(w)},m=g(x),y=g(k);this.lineTo(p+x[0]*r,b+x[1]*r),this.arc(p,b,r,m,y)}stroke(){this.__currentElement.nodeName==="path"&&this.__currentElement.setAttribute("paint-order","fill stroke markers"),this.__applyCurrentDefaultPath(),this.__applyStyleToCurrentElement("stroke")}fill(){this.__currentElement.nodeName==="path"&&this.__currentElement.setAttribute("paint-order","stroke fill markers"),this.__applyCurrentDefaultPath(),this.__applyStyleToCurrentElement("fill")}rect(t,e,n,s){this.__currentElement.nodeName!=="path"&&this.beginPath(),this.moveTo(t,e),this.lineTo(t+n,e),this.lineTo(t+n,e+s),this.lineTo(t,e+s),this.lineTo(t,e),this.closePath()}fillRect(t,e,n,s){const r=this.__createElement("rect",{x:t,y:e,width:n,height:s},!0);this.__closestGroupOrSvg().appendChild(r),this.__currentElement=r,this.__applyStyleToCurrentElement("fill")}strokeRect(t,e,n,s){const r=this.__createElement("rect",{x:t,y:e,width:n,height:s},!0);this.__closestGroupOrSvg().appendChild(r),this.__currentElement=r,this.__applyStyleToCurrentElement("stroke")}__clearCanvas(){const e=this.__closestGroupOrSvg().getAttribute("transform"),n=this.__rootSVG.childNodes[1],s=n.childNodes;for(let r=s.length-1;r>=0;r--)s[r]&&n.removeChild(s[r]);this.__currentElement=n,this.__groupStack=[],e&&this.__addTransform(e)}clearRect(t,e,n,s){if(t===0&&e===0&&n===this.width&&s===this.height){this.__clearCanvas();return}const r=this.__closestGroupOrSvg(),a=this.__createElement("rect",{x:t,y:e,width:n,height:s,fill:"#FFFFFF"},!0);r.appendChild(a)}createLinearGradient(t,e,n,s){const r=this.__createElement("linearGradient",{id:ta(this.__ids),x1:t+"px",x2:n+"px",y1:e+"px",y2:s+"px",gradientUnits:"userSpaceOnUse"},!1);return this.__SVGdefs.appendChild(r),new Sl(r,this)}createRadialGradient(t,e,n,s,r,a){const i=this.__createElement("radialGradient",{id:ta(this.__ids),cx:s+"px",cy:r+"px",r:a+"px",fx:t+"px",fy:e+"px",gradientUnits:"userSpaceOnUse"},!1);return this.__SVGdefs.appendChild(i),new Sl(i,this)}__parseFont(){const e=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:%|in|[cem]m|ex|p[CustomCanvasContext]))(?:\s*\/\s*(normal|[.\d]+(?:%|in|[cem]m|ex|p[CustomCanvasContext])))?\s*([-,'"\sa-z0-9]+?)\s*$/i.exec(this.font),n={style:e[1]||"normal",size:e[4]||"10px",family:e[6]||"sans-serif",weight:e[3]||"normal",decoration:e[2]||"normal",href:null};return this.__fontUnderline==="underline"&&(n.decoration="underline"),this.__fontHref&&(n.href=this.__fontHref),n}__wrapTextLink(t,e){if(t.href){const n=this.__createElement("a");return n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",t.href),n.appendChild(e),n}return e}__applyText(t,e,n,s){const r=this.__parseFont(),a=this.__closestGroupOrSvg(),i=this.__createElement("text",{"font-family":r.family,"font-size":r.size,"font-style":r.style,"font-weight":r.weight,"text-decoration":r.decoration,x:e,y:n,"text-anchor":fv(this.textAlign),"dominant-baseline":dv(this.textBaseline)},!0);i.appendChild(this.__document.createTextNode(t)),this.__currentElement=i,this.__applyStyleToCurrentElement(s),a.appendChild(this.__wrapTextLink(r,i))}fillText(t,e,n){this.__applyText(t,e,n,"fill")}strokeText(t,e,n){this.__applyText(t,e,n,"stroke")}measureText(t){return this.__ctx.font=this.font,this.__ctx.measureText(t)}arc(t,e,n,s,r,a){if(s===r)return;s=s%(2*Math.PI),r=r%(2*Math.PI),s===r&&(r=(r+2*Math.PI-.001*(a?-1:1))%(2*Math.PI));const i=t+n*Math.cos(r),l=e+n*Math.sin(r),c=t+n*Math.cos(s),u=e+n*Math.sin(s),f=a?0:1;let d=0,h=r-s;h<0&&(h+=2*Math.PI),a?d=h>Math.PI?0:1:d=h>Math.PI?1:0,this.lineTo(c,u),this.__addPathCommand(Fe("A {rx} {ry} {xAxisRotation} {largeArcFlag} {sweepFlag} {endX} {endY}",{rx:n,ry:n,xAxisRotation:0,largeArcFlag:d,sweepFlag:f,endX:i,endY:l})),this.__currentPosition={x:i,y:l}}clip(){const t=this.__closestGroupOrSvg(),e=this.__createElement("clipPath"),n=ta(this.__ids),s=this.__createElement("g");this.__applyCurrentDefaultPath(),t.removeChild(this.__currentElement),e.setAttribute("id",n),e.appendChild(this.__currentElement),this.__SVGdefs.appendChild(e),t.setAttribute("clip-path",Fe("url(#{id})",{id:n})),t.appendChild(s),this.__currentElement=s}drawImage(...t){let e=t[0],n,s,r,a,i=0,l=0,c,u,f,d,h,p,b,x;if(t.length===3)n=t[1],s=t[2],c=e.width,u=e.height,r=c,a=u;else if(t.length===5)n=t[1],s=t[2],r=t[3],a=t[4],c=e.width,u=e.height;else if(t.length===9)i=t[1],l=t[2],c=t[3],u=t[4],n=t[5],s=t[6],r=t[7],a=t[8];else throw new Error("Invalid number of arguments passed to drawImage: "+arguments.length);const k=this.__closestGroupOrSvg();this.__currentElement;const g="translate("+n+", "+s+")";if(e instanceof ea){if(f=e.getSvg().cloneNode(!0),f.childNodes&&f.childNodes.length>1){for(d=f.childNodes[0];d.childNodes.length;)x=d.childNodes[0].getAttribute("id"),this.__ids[x]=x,this.__SVGdefs.appendChild(d.childNodes[0]);if(h=f.childNodes[1],h){const m=h.getAttribute("transform");let y;m?y=m+" "+g:y=g,h.setAttribute("transform",y),k.appendChild(h)}}}else(e.nodeName==="CANVAS"||e.nodeName==="IMG")&&(p=this.__createElement("image"),p.setAttribute("width",r),p.setAttribute("height",a),p.setAttribute("preserveAspectRatio","none"),(i||l||c!==e.width||u!==e.height)&&(b=this.__document.createElement("canvas"),b.width=r,b.height=a,b.getContext("2d")?.drawImage(e,i,l,c,u,0,0,r,a),e=b),p.setAttribute("transform",g),p.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",e.nodeName==="CANVAS"?e.toDataURL():e.getAttribute("src")),k.appendChild(p))}createPattern(t,e){const n=this.__document.createElementNS("http://www.w3.org/2000/svg","pattern"),s=ta(this.__ids);let r;return n.setAttribute("id",s),t.nodeName==="CANVAS"||t.nodeName==="IMG"?(r=this.__document.createElementNS("http://www.w3.org/2000/svg","image"),r.setAttribute("width",""+t.width),r.setAttribute("height",""+t.height),r.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",t.nodeName==="CANVAS"?t.toDataURL():t.getAttribute("src")),n.appendChild(r),this.__SVGdefs.appendChild(n)):t instanceof ea&&(n.setAttribute("width",""+t.width),n.setAttribute("height",""+t.height),n.appendChild(t.__rootSVG.childNodes[1]),this.__SVGdefs.appendChild(n)),new Ed(n,this)}setLineDash(t){t&&t.length>0?this.lineDash=t.join(","):this.lineDash=null}drawFocusRing(){}createImageData(){}getImageData(){}putImageData(){}globalCompositeOperation(){}setTransform(){}}class Ol{canvas;context;customContext;currentPath2D=new Path2D;path2Ds=[];currentMatrix=new DOMMatrix;hasSetCustomStrokeStyle=!1;hasSetCustomFillStyle=!1;constructor(t,e,n,s=!1){this.canvas=t,this.context=t.getContext("2d",{willReadFrequently:!0}),s&&(this.customContext=new ea({canvas:this.canvas,width:e||this.canvas.width,height:n||this.canvas.height}))}set lineWidth(t){this.hasSetCustomStrokeStyle=!0,this.context.lineWidth=t,this.customContext&&(this.customContext.lineWidth=t)}get lineWidth(){return this.context.lineWidth}set lineCap(t){this.hasSetCustomStrokeStyle=!0,this.context.lineCap=t,this.customContext&&(this.customContext.lineCap=t)}get lineCap(){return this.context.lineCap}set lineJoin(t){this.hasSetCustomStrokeStyle=!0,this.context.lineJoin=t,this.customContext&&(this.customContext.lineCap=t)}get lineJoin(){return this.context.lineJoin}set lineDashOffset(t){this.hasSetCustomStrokeStyle=!0,this.context.lineDashOffset=t,this.customContext&&(this.customContext.lineDashOffset=t)}get lineDashOffset(){return this.context.lineDashOffset}set miterLimit(t){this.hasSetCustomStrokeStyle=!0,this.context.miterLimit=t,this.customContext&&(this.customContext.miterLimit=t)}get miterLimit(){return this.context.miterLimit}set globalAlpha(t){this.context.globalAlpha=t,this.customContext&&(this.customContext.globalAlpha=t)}get globalAlpha(){return this.context.globalAlpha}set fillStyle(t){this.hasSetCustomFillStyle=!0,typeof t=="string"||t instanceof CanvasGradient||t instanceof CanvasPattern?(this.context.fillStyle=t,this.customContext&&(this.customContext.fillStyle=t)):(this.context.fillStyle=t.gradient,this.customContext&&(this.customContext.fillStyle=t.gradientCustom))}get fillStyle(){return this.context.fillStyle}set strokeStyle(t){this.hasSetCustomStrokeStyle=!0,typeof t=="string"||t instanceof CanvasGradient||t instanceof CanvasPattern?(this.context.strokeStyle=t,this.customContext&&(this.customContext.strokeStyle=t)):(this.context.strokeStyle=t.gradient,this.customContext&&(this.customContext.strokeStyle=t.gradientCustom))}get strokeStyle(){return this.context.strokeStyle}set font(t){this.context.font=t,this.customContext&&(this.customContext.font=t)}get font(){return this.context.font}set textBaseline(t){this.context.textBaseline=t,this.customContext&&(this.customContext.textBaseline=t)}get textBaseline(){return this.context.textBaseline}set textAlign(t){this.context.textAlign=t,this.customContext&&(this.customContext.textAlign=t)}get textAlign(){return this.context.textAlign}fill(t){return t?this.context.fill(t):(this.context.fill(),this.customContext&&this.customContext.fill()),this}fillRect(t,e,n,s){return this.context.fillRect(t,e,n,s),this.customContext&&this.customContext.fillRect(t,e,n,s),this}fillText(t,e,n,s){return this.hasSetCustomFillStyle=!1,this.context.fillText(t,e,n,s),this.customContext&&this.customContext.fillText(t,e,n),this}setLineDash(t){return this.context.setLineDash(t),this.customContext&&this.customContext.setLineDash(t),this}stroke(t){return t?this.context.stroke(t):(this.context.stroke(),this.customContext&&this.customContext.stroke()),this}strokeText(t,e,n,s){return this.context.strokeText(t,e,n,s),this.customContext&&this.customContext.strokeText(t,e,n),this}strokeRect(t,e,n,s){return this.context.strokeRect(t,e,n,s),this.customContext&&this.customContext.strokeRect(t,e,n,s),this}measureText(t){return this.context.measureText(t)}clearRect(t=0,e=0,n=this.canvas.width,s=this.canvas.height){return this.context.clearRect(t,e,n,s),this.customContext&&this.customContext.clearRect(t,e,n,s),this}save(){return this.context.save(),this.customContext&&this.customContext.save(),this.currentMatrix=new DOMMatrix,this.path2Ds.push(this.currentPath2D),this.currentPath2D=new Path2D,this}restore(){return this.context.restore(),this.customContext&&this.customContext.restore(),this.hasSetCustomStrokeStyle=!1,this.hasSetCustomFillStyle=!1,this.currentMatrix=new DOMMatrix,this.currentPath2D=this.path2Ds.pop()||new Path2D,this}beginPath(){return this.context.beginPath(),this.customContext&&this.customContext.beginPath(),this}closePath(){return this.context.closePath(),this.customContext&&this.customContext.closePath(),this.currentPath2D.closePath(),this}changePath2D(t=this.currentPath2D,e=this.currentMatrix){const n=new Path2D;n.addPath(t,e),this.currentPath2D=n}isPointInStroke(...t){return t[0]instanceof Path2D?this.context.isPointInStroke(t[0],t[1],t[2]):this.context.isPointInStroke(t[0],t[1])}isPointInPath(...t){return t[0]instanceof Path2D?this.context.isPointInPath(t[0],t[1],t[2]):this.context.isPointInPath(t[0],t[1])}translate(t,e){return this.context.translate(t,e),this.customContext&&this.customContext.translate(t,e),this.currentMatrix.translate(t,e),this.changePath2D(),this}rotate(t,e=0,n=0){return this.translate(e,n),this.context.rotate(t),this.customContext&&this.customContext.rotate(t),this.currentMatrix.rotate(t),this.translate(-e,-n),this.changePath2D(),this}scale(t,e=t,n=0,s=0){return this.translate(n,s),this.context.scale(t,e),this.customContext&&this.customContext.scale(t,e),this.currentMatrix.scale(t,e),this.translate(-n,-s),this.changePath2D(),this}moveTo(t,e){return this.context.moveTo(t,e),this.customContext&&this.customContext.moveTo(t,e),this.currentPath2D.moveTo(t,e),this}lineTo(t,e){return this.context.lineTo(t,e),this.customContext&&this.customContext.lineTo(t,e),this.currentPath2D.lineTo(t,e),this}arc(t,e,n,s,r,a){return this.context.arc(t,e,n,s,r,a),this.customContext&&this.customContext.arc(t,e,n,s,r,a?-1:1),this.currentPath2D.arc(t,e,n,s,r,a),this}arcTo(t,e,n,s,r){return this.context.arcTo(t,e,n,s,r),this.customContext&&this.customContext.arcTo(t,e,n,s,r),this.currentPath2D.arcTo(t,e,n,s,r),this}ellipse(t,e,n,s,r,a,i,l){return this.context.ellipse(t,e,n,s,r,a,i,l),this.currentPath2D.ellipse(t,e,n,s,r,a,i,l),this}quadraticCurveTo(t,e,n,s){return this.context.quadraticCurveTo(t,e,n,s),this.customContext&&this.customContext.quadraticCurveTo(t,e,n,s),this.currentPath2D.quadraticCurveTo(t,e,n,s),this}bezierCurveTo(t,e,n,s,r,a){return this.context.bezierCurveTo(t,e,n,s,r,a),this.customContext&&this.customContext.bezierCurveTo(t,e,n,s,r,a),this.currentPath2D.bezierCurveTo(t,e,n,s,r,a),this}rect(t,e,n,s){return this.context.rect(t,e,n,s),this.customContext&&this.customContext.rect(t,e,n,s),this.currentPath2D.rect(t,e,n,s),this}createLinearGradient(t,e,n,s,r){const a=this.context.createLinearGradient(t,e,n,s);return r&&Object.entries(r).forEach(([i,l])=>{a.addColorStop(parseFloat(i),l)}),a}createRadialGradient(t,e,n,s,r,a,i){const l=this.context.createRadialGradient(t,e,n,s,r,a);return i&&Object.entries(i).forEach(([c,u])=>{l.addColorStop(parseFloat(c),u)}),l}drawImage(t,...e){if(e.length===0)this.context.drawImage(t,0,0);else if(e.length===2){const n=e[0],s=e[1];this.context.drawImage(t,n,s)}else if(e.length===4){const n=e[0],s=e[1],r=e[2],a=e[3];this.context.drawImage(t,n,s,r,a)}else if(e.length===8){const n=e[0],s=e[1],r=e[2],a=e[3],i=e[4],l=e[5],c=e[6],u=e[7];this.context.drawImage(t,n,s,r,a,i,l,c,u)}else throw new Error("Invalid number of arguments passed to drawImage: "+e.length);return this.customContext&&this.customContext.drawImage(t,...e),this}getImageData(t=0,e=0,n=this.canvas.width,s=this.canvas.height,r){return this.context.getImageData(t,e,n,s,r)}putImageData(t,e=0,n=0){return this.context.putImageData(t,e,n)}createPattern(t,e){return this.context.createPattern(t,e)}toRawSVG(){if(this.customContext){const t=this.customContext.getSerializedSvg(!0),e=this.customContext.getSvg();return{raw:t,element:e}}else return{raw:"",element:null}}}const hv=Ol;class oa{x;y;toX;toY;constructor(t){this.x=t?.x||0,this.y=t?.y||0,this.toX=t?.toX||0,this.toY=t?.toY||0}toSVGPathData(){return[["L",this.toX,this.toY]]}toCanvasContext(t){t.lineTo(this.toX,this.toY)}getBoundingClientRect(){const t=Jr(this.x,this.y,this.toX,this.toY);if(t===0){const e=Math.min(this.x,this.toX),n=Math.min(this.y,this.toY),s=Math.max(this.x,this.toX),r=Math.max(this.y,this.toY);return{x:e,y:n,width:s-e,height:r-n}}else{const e=Math.sin(t),n=Math.cos(t),s=n*this.x-e*this.y,r=n*this.toX-e*this.toY,a=n*this.y+e*this.x,i=n*this.toY+e*this.toX;return{x:Math.min(s,r),y:Math.min(a,i),width:Math.max(s,r)-Math.min(s,r),height:Math.max(a,i)-Math.min(a,i)}}}interpolate(t){return{x:this.x+t*(this.toX-this.x),y:this.y+t*(this.toY-this.y)}}intersection(t){const e=this.x,n=this.y,s=t.toX,r=t.toY,a=this.toX-e,i=t.x-s;if(!a&&!i)return null;const l=(this.toY-n)/a,c=(t.y-r)/i;if(a){if(!i)return{x:s,y:l*(s-e)+n}}else return{x:e,y:c*(e-s)+r};const u=(-c*s+r+l*e-n)/(l-c),f=l*(u-e)+n;return isNaN(u)||isNaN(f)?null:{x:u,y:f}}}const Sd=oa;class pv extends oa{rx;ry;xAxisRotate;largeArcFlag;sweepFlag;constructor(t){super(t),this.rx=t.rx,this.ry=t.ry,this.xAxisRotate=t?.xAxisRotate??0,this.largeArcFlag=t?.largeArcFlag??1,this.sweepFlag=t?.sweepFlag??1,this.toX=t.toX,this.toY=t.toY}toSVGPathData(){return[["A",this.rx,this.ry,this.xAxisRotate,this.largeArcFlag,this.sweepFlag,this.toX,this.toY]]}toCanvasContext(t){const[e,n,s,r,a,i,l]=this.convert(this.x,this.y,this.toX,this.toY,this.rx,this.ry,this.xAxisRotate,this.largeArcFlag,this.sweepFlag);t.ellipse(e,n,s,r,a,i,l,!this.sweepFlag)}convert(t,e,n,s,r,a,i,l,c){const u=i/180*Math.PI,f=(t-n)/2,d=(e-s)/2,h=Math.cos(u)*f+Math.sin(u)*d,p=-Math.sin(u)*f+Math.cos(u)*d,b=h*h/(r*r)+p*p/(a*a);if(b>1){const ut=Math.sqrt(b);throw r=ut*r,a=ut*a,new Error(`Radii are too small to build an arc. Correcting them to ${r}/${a}.`)}const x=Math.sqrt((r*r*a*a-r*r*p*p-a*a*h*h)/(r*r*p*p+a*a*h*h)),k=l!=c?1:-1,g=k*x*r*p/a,m=k*x*-a*h/r,y=(t+n)/2,_=(e+s)/2,w=Math.cos(u)*g-Math.sin(u)*m+y,$=Math.sin(u)*g+Math.cos(u)*m+_,Y=(ut,j,tt,gt)=>(ut*gt>=j*tt?1:-1)*Math.acos((ut*tt+j*gt)/(Math.sqrt(ut*ut+j*j)*Math.sqrt(tt*tt+gt*gt))),B=Y(1,0,t-w,e-$)-u,M=Y(t-w,e-$,n-w,s-$);return[w,$,r,a,u,B,B+M]}}const mv=pv;class gv extends oa{cx;cy;isLineThrough;constructor(t){super(t),this.cx=t.cx,this.cy=t.cy,this.isLineThrough=typeof t.isLineThrough=="boolean"?t.isLineThrough:!1}toSVGPathData(){if(this.isLineThrough){const t=this.cx*2-(this.x+this.toX)/2,e=this.cy*2-(this.y+this.toY)/2;return[["Q",t,e,this.toX,this.toY]]}else return[["Q",this.cx,this.cy,this.toX,this.toY]]}toCanvasContext(t){if(this.isLineThrough){const e=this.cx*2-(this.x+this.toX)/2,n=this.cy*2-(this.y+this.toY)/2;t.quadraticCurveTo(e,n,this.toX,this.toY)}else t.quadraticCurveTo(this.cx,this.cy,this.toX,this.toY)}getBoundingClientRect(){const t=[this.x,this.toX],e=[this.y,this.toY];let n,s,r,a;for(let c=0;c<2;++c)n=c==0?this.x-2*this.cx+this.toX:this.y-2*this.cy+this.toY,s=c==0?-2*this.x+2*this.cx:-2*this.y+2*this.cy,r=c==0?this.x:this.y,Math.abs(n)>1e-12&&(a=-s/(2*n),0<a&&a<1&&[t,e][c].push(n*a*a+s*a+r));const i={x:Math.min.apply(0,t),y:Math.min.apply(0,e)},l={x:Math.max.apply(0,t),y:Math.max.apply(0,e)};return{x:i.x,y:i.y,width:l.x-i.x,height:l.y-i.y}}interpolate(t){return{x:(1-t)*(1-t)*this.x+2*(1-t)*t*this.cx+t*t*this.toX,y:(1-t)*(1-t)*this.y+2*(1-t)*t*this.cy+t*t*this.toY}}}const yv=gv;class Un extends oa{c1x;c1y;c2x;c2y;constructor(t){super(t),this.c1x=t.c1x,this.c1y=t.c1y,this.c2x=t.c2x,this.c2y=t.c2y}toSVGPathData(){return[["C",this.c1x,this.c1y,this.c2x,this.c2y,this.toX,this.toY]]}toCanvasContext(t){t.bezierCurveTo(this.c1x,this.c1y,this.c2x,this.c2y,this.toX,this.toY)}getBoundingClientRect(){let t=this.c2x-2*this.c1x+this.x-(this.toX-2*this.c2x+this.c1x),e=2*(this.c1x-this.x)-2*(this.c2x-this.c1x),n=this.x-this.c1x,s=(-e+Math.sqrt(e*e-4*t*n))/2/t,r=(-e-Math.sqrt(e*e-4*t*n))/2/t;const a=[this.y,this.toY],i=[this.x,this.toX];let l;const c=[];Math.abs(s)>1e12&&(s=.5),Math.abs(r)>1e12&&(r=.5),s>=0&&s<=1&&(l=this.interpolate(s),i.push(l.x),a.push(l.y),c.push({X:l.x,Y:l.y})),r>=0&&r<=1&&(l=this.interpolate(r),i.push(l.x),a.push(l.y),c.push({X:l.x,Y:l.y})),t=this.c2y-2*this.c1y+this.y-(this.toY-2*this.c2y+this.c1y),e=2*(this.c1y-this.y)-2*(this.c2y-this.c1y),n=this.y-this.c1y,s=(-e+Math.sqrt(e*e-4*t*n))/2/t,r=(-e-Math.sqrt(e*e-4*t*n))/2/t,Math.abs(s)>1e12&&(s=.5),Math.abs(r)>1e12&&(r=.5),s>=0&&s<=1&&(l=this.interpolate(s),i.push(l.x),a.push(l.y),c.push({X:l.x,Y:l.y})),r>=0&&r<=1&&(l=this.interpolate(r),i.push(l.x),a.push(l.y),c.push({X:l.x,Y:l.y}));const u=[],f=c.length;for(let p=0;p<f;p++){for(let b=p+1;b<f;b++)c[p].X===c[b].X&&c[p].Y===c[b].Y&&(b=++p);u.push({X:c[p].X,Y:c[p].Y})}const d={x:Math.min.apply(Math,i),y:Math.min.apply(Math,a)},h={x:Math.max.apply(Math,i),y:Math.max.apply(Math,a)};return{x:d.x,y:d.y,width:h.x-d.x,height:h.y-d.y,dots:u}}interpolate(t){return{x:Math.pow(1-t,3)*this.x+3*Math.pow(1-t,2)*t*this.c1x+3*Math.pow(1-t,1)*Math.pow(t,2)*this.c2x+Math.pow(t,3)*this.toX,y:Math.pow(1-t,3)*this.y+3*Math.pow(1-t,2)*t*this.c1y+3*Math.pow(1-t,1)*Math.pow(t,2)*this.c2y+Math.pow(t,3)*this.toY}}static base3(t,e,n,s,r){const a=-3*e+9*n-9*s+3*r,i=t*a+6*e-12*n+6*s;return t*i-3*e+3*n}static bezlen(t,e,n,s,r,a,i,l,c=1){c=Math.max(0,Math.min(c,1));const u=c/2,f=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],d=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472];let h=0;for(let p=0;p<12;p++){const b=u*f[p]+u,x=this.base3(b,t,n,r,i),k=this.base3(b,e,s,a,l);h+=d[p]*Math.sqrt(x*x+k*k)}return u*h}length(t=1){return Un.bezlen(this.x,this.y,this.c1x,this.c1y,this.c2x,this.c2y,this.toX,this.toY,t)}getTatLen(t){const e=this.x,n=this.y,s=this.c1x,r=this.c1y,a=this.c2x,i=this.c2y,l=this.toX,c=this.toY;if(t<0||Un.bezlen(e,n,s,r,a,i,l,c)<t)return 0;const u=1;let f=u/2,d=u-f,h=Un.bezlen(e,n,s,r,a,i,l,c,d);for(;Math.abs(h-t)>.01;)f/=2,d+=(h<t?1:-1)*f,h=Un.bezlen(e,n,s,r,a,i,l,c,d);return d}getPointAtSegmentLength(t){const e=this.getTatLen(t),n=1-e,s=Math.pow(n,3),r=Math.pow(n,2),a=e*e,i=a*e,l=s*this.x+r*3*e*this.c1x+n*3*e*e*this.c2x+i*this.toX,c=s*this.y+r*3*e*this.c1y+n*3*e*e*this.c2y+i*this.toY,u=this.x+2*e*(this.c1x-this.x)+a*(this.c2x-2*this.c1x+this.x),f=this.y+2*e*(this.c1y-this.y)+a*(this.c2y-2*this.c1y+this.y),d=this.c1x+2*e*(this.c2x-this.c1x)+a*(this.toX-2*this.c2x+this.c1x),h=this.c1y+2*e*(this.c2y-this.c1y)+a*(this.toY-2*this.c2y+this.c1y),p=n*this.x+e*this.c1x,b=n*this.y+e*this.c1y,x=n*this.c2x+e*this.toX,k=n*this.c2y+e*this.toY,g=90-Math.atan2(u-d,f-h)*180/Math.PI;return{x:l,y:c,m:{x:u,y:f},n:{x:d,y:h},start:{x:p,y:b},end:{x,y:k},alpha:g}}}const tn=Un,Ls=Math.PI*2;function Od(o,t,e,n){const s=o*n-t*e<0?-1:1;let r=o*e+t*n;return r>1&&(r=1),r<-1&&(r=-1),s*Math.acos(r)}function vv(o,t,e,n,s,r,a,i,l,c){const u=c*(o-e)/2+l*(t-n)/2,f=-l*(o-e)/2+c*(t-n)/2,d=a*a,h=i*i,p=u*u,b=f*f;let x=d*h-d*b-h*p;x<0&&(x=0),x/=d*b+h*p,x=Math.sqrt(x)*(s===r?-1:1);const k=x*a/i*f,g=x*-i/a*u,m=c*k-l*g+(o+e)/2,y=l*k+c*g+(t+n)/2,_=(u-k)/a,w=(f-g)/i,$=(-u-k)/a,Y=(-f-g)/i,B=Od(1,0,_,w);let M=Od(_,w,$,Y);return r===0&&M>0&&(M-=Ls),r===1&&M<0&&(M+=Ls),[m,y,B,M]}function bv(o,t){const e=1.3333333333333333*Math.tan(t/4),n=Math.cos(o),s=Math.sin(o),r=Math.cos(o+t),a=Math.sin(o+t);return[n,s,n-s*e,s+n*e,r+a*e,a-r*e,r,a]}function Pd(o,t,e,n,s,r,a,i,l){const c=Math.sin(l*Ls/360),u=Math.cos(l*Ls/360),f=u*(o-e)/2+c*(t-n)/2,d=-c*(o-e)/2+u*(t-n)/2;if(f===0&&d===0)return[];if(a===0||i===0)return[];a=Math.abs(a),i=Math.abs(i);const h=f*f/(a*a)+d*d/(i*i);h>1&&(a*=Math.sqrt(h),i*=Math.sqrt(h));const p=vv(o,t,e,n,s,r,a,i,c,u),b=[];let x=p[2],k=p[3];const g=Math.max(Math.ceil(Math.abs(k)/(Ls/4)),1);k/=g;for(let m=0;m<g;m++)b.push(bv(x,k)),x+=k;return b.map(m=>{for(let y=0;y<m.length;y+=2){let _=m[y+0],w=m[y+1];_*=a,w*=i;const $=u*_-c*w,Y=c*_+u*w;m[y+0]=$+p[0],m[y+1]=Y+p[1]}return m})}function Pl(o,t,e,n,s,r){return[o/3+.6666666666666666*e,t/3+.6666666666666666*n,s/3+.6666666666666666*e,r/3+.6666666666666666*n,s,r]}function Bs(o,t,e,n){return[o,t,e,n,e,n]}const na={a:7,c:6,s:4,q:4,t:2,m:2,l:2,h:1,v:1,z:0};class En{static createSVGElement(t="path",e){const n=document.createElementNS.call(document,"http://www.w3.org/2000/svg",t);return e&&wv(n,e),n}static createSvgPath(t,e){return this.createSVGElement("path",{d:t,id:e||Ln()})}static downloadFromSVGElement(t,e="shape"){return sh(H1(t),`${e}.svg`)}static downloadFromSVGString(t,e="shape"){return sh(fd(t),`${e}.svg`)}static getSVGRawStringFromElement(t){return md(t)}static isSVGPath(t){return typeof t!="string"?!1:(t=t.trim(),/^[mlhvzaqtcs]\s*[-+.0-9][^mlhvzaqtcs]+/i.test(t)&&/[\dz]$/i.test(t))}static SVGPathDataToD(t){return t.map(e=>{if(!e[0])return"";switch(e[0].toLowerCase()){case"a":return`${e[0]} ${e[1]},${e[2]} ${e[3]} ${e[4]},${e[5]} ${e[6]},${e[7]}`;case"c":return`${e[0]} ${e[1]},${e[2]} ${e[3]},${e[4]} ${e[5]},${e[6]}`;case"s":case"q":return`${e[0]} ${e[1]},${e[2]} ${e[3]},${e[4]}`;default:return e[0]+" "+e.slice(1).join(",")}}).join(" ")}static parseSVGPath(t){const e=[];return En.isSVGPath(t)&&t.replace(/([mlhvzaqtcs])([^mlhvzaqtcs]*)/gi,(n,s,r)=>{let a=s.toLowerCase();const i=ul(r);for(a=="m"&&i.length>na[a]&&(e.push([s,...i.splice(0,na[a])]),a="l",s=s=="m"?"l":"L");i.length;){if(i.length<na[a])throw new Error(`parseSVGPath substring:{ ${n} } command:{ ${s} } args:{ ${i} }`);e.push([s,...i.splice(0,na[a])])}return a=="z"&&e.push([s]),""}),e}static absolutizeSVGPath(t){let e=0,n=0,s=0,r=0;return t.map(function(a){const i=a[0],l=i.toUpperCase();if(i!=l)switch(a[0]=l,i){case"a":a[6]+=s,a[7]+=r;break;case"v":a[1]+=r;break;case"h":a[1]+=s;break;default:for(let c=1;c<a.length;)a[c++]+=s,a[c++]+=r}switch(l){case"Z":s=e,r=n;break;case"H":s=a[1];break;case"V":r=a[1];break;case"M":s=e=a[1],r=n=a[2];break;default:s=a[a.length-2],r=a[a.length-1]}return a})}static relativeSVGPath(t){let e=0,n=0,s=0,r=0;return t.map(function(a){const i=a[0],l=i.toLowerCase();if(i!=l)switch(a[0]=l,i){case"A":a[6]-=s,a[7]-=r;break;case"V":a[1]-=r;break;case"H":a[1]-=s;break;default:for(let c=1;c<a.length;)a[c++]-=s,a[c++]-=r}switch(l){case"z":s=e,r=n;break;case"h":s+=a[1];break;case"v":r+=a[1];break;case"m":s+=a[1],r+=a[2],e+=a[1],n+=a[2];break;default:s+=a[a.length-2],r+=a[a.length-1]}return a})}static normalizeSVGPath(t){const e=[];let n=0,s=0,r=0,a=0,i=0,l=0,c=0,u=0,f;for(let d=0,h=t.length;d<h;d++){let p=t[d];const b=p[0];switch(b){case"M":n=p[1],s=p[2];break;case"A":const x=Pd(r,a,p[6],p[7],p[4],p[5],p[1],p[2],p[3]);if(!x.length)continue;x.forEach((m,y)=>{const[_,w,$,Y,B,M,ut,j]=m;p=["C",$,Y,B,M,ut,j],y<x.length-1&&e.push(p)});break;case"S":let k=r,g=a;(f=="C"||f=="S")&&(k+=k-c,g+=g-u),p=["C",k,g,p[1],p[2],p[3],p[4]];break;case"T":f=="Q"||f=="T"?(i=r*2-i,l=a*2-l):(i=r,l=a),p=["C",...Pl(r,a,i,l,p[1],p[2])];break;case"Q":i=p[1],l=p[2],p=["C",...Pl(r,a,p[1],p[2],p[3],p[4])];break;case"L":p=["C",...Bs(r,a,p[1],p[2])];break;case"H":p=["C",...Bs(r,a,p[1],a)];break;case"V":p=["C",...Bs(r,a,r,p[1])];break;case"Z":p=["C",...Bs(r,a,n,s)];break}f=b,r=p[p.length-2],a=p[p.length-1],p.length>4?(c=p[p.length-4],u=p[p.length-3]):(c=r,u=a),e.push(p)}return e}static catmullRom2bezier(t){const e=[];for(let n=0,s=t.length;s-2>n;n+=2){let r;n==0?r=[{x:t[n],y:t[n+1]},{x:t[n],y:t[n+1]},{x:t[n+2],y:t[n+3]},{x:t[n+4],y:t[n+5]}]:s-4==n?r=[{x:t[n-2],y:t[n-1]},{x:t[n],y:t[n+1]},{x:t[n+2],y:t[n+3]},{x:t[n+2],y:t[n+3]}]:r=[{x:t[n-2],y:t[n-1]},{x:t[n],y:t[n+1]},{x:t[n+2],y:t[n+3]},{x:t[n+4],y:t[n+5]}];const a=[{x:r[1].x,y:r[1].y},{x:(-r[0].x+6*r[1].x+r[2].x)/6,y:(-r[0].y+6*r[1].y+r[2].y)/6},{x:(r[1].x+6*r[2].x-r[3].x)/6,y:(r[1].y+6*r[2].y-r[3].y)/6},{x:r[2].x,y:r[2].y}];e.push(["C",a[1].x,a[1].y,a[2].x,a[2].y,a[3].x,a[3].y])}return e}static zvhToLSVGPath(t){const e=[];let n=["L",0,0],s;for(let r=0,a=t.length;r<a;r++){const i=t[r];switch(i[0]){case"M":n=["L",i[1],i[2]],e.push(i);break;case"Z":e.push(n);break;case"H":s=e[e.length-1]||["L",0,0],e.push(["L",i[1],s[s.length-1]]);break;case"V":s=e[e.length-1]||["L",0,0],e.push(["L",s[s.length-2],i[1]]);break;default:e.push(i)}}return e}static longhandSVGPath(t){const e={S:{to:"C",x:3},T:{to:"Q",x:1}};let n,s=0,r=0;for(let a=0,i=t.length;a<i;a++){const l=t[a],c=e[l[0]];c&&(l[0]=c.to,n&&(n[0]===c.to?(s=2*Number(n[c.x+2])-Number(n[c.x]),r=2*Number(n[c.x+3])-Number(n[c.x+1])):(s=Number(n[n.length-2]),r=Number(n[n.length-1]))),l.splice(1,0,s,r)),n=l}return t}}class wo{cX;cY;x;y;degree;scalarX;scalarY;startPathX=0;startPathY=0;prevPathX=0;prevPathY=0;normalizedLines=[];constructor(t){this.cX=0,this.cY=0,this.x=t?.x||0,this.y=t?.y||0,typeof t?.centerX=="number"&&typeof t?.centerY=="number"&&(this.cX=t.centerX-this.x,this.cY=t.centerY-this.y),this.degree=t?.degree||0,this.scalarX=1,this.scalarY=1,t?.scalar!==void 0&&(this.scalarX=t.scalar,this.scalarY=t.scalar),t?.scalarX!==void 0&&(this.scalarX=t.scalarX),t?.scalarY!==void 0&&(this.scalarY=t.scalarY),this.reset(t?.d,t?.originMatrix)}reset(t,e){typeof t=="string"?this.resetFromSVGPathData(En.parseSVGPath(t),e):t instanceof wo?this.resetFromSVGPathData(t.toSVGPathData(),e):this.resetFromSVGPathData(t||[],e)}resetFromSVGPathData(t,e){this.normalizedLines=[];const n=En.normalizeSVGPath(En.absolutizeSVGPath(t));this.prevPathX=this.startPathX=0,this.prevPathY=this.startPathY=0;let s=!1;for(let r=0,a=n.length;r<a;r++){const i=n[r];if(i[0]=="M"){s||(s=!0,this.startPathX=i[1],this.startPathY=i[2]),this.prevPathX=i[1],this.prevPathY=i[2];continue}this.appendLine(new tn({c1x:i[1],c1y:i[2],c2x:i[3],c2y:i[4],toX:i[5],toY:i[6]}))}e&&({x:this.startPathX,y:this.startPathY}=e.transformPoint({x:this.startPathX,y:this.startPathY}),{x:this.prevPathX,y:this.prevPathY}=e.transformPoint({x:this.prevPathX,y:this.prevPathY}),this.normalizedLines.forEach(r=>{({x:r.x,y:r.y}=e.transformPoint({x:r.x,y:r.y})),{x:r.c1x,y:r.c1y}=e.transformPoint({x:r.c1x,y:r.c1y}),{x:r.c2x,y:r.c2y}=e.transformPoint({x:r.c2x,y:r.c2y}),{x:r.toX,y:r.toY}=e.transformPoint({x:r.toX,y:r.toY})}))}static fromPolymorphPoints(t){const e=new wo;e.prevPathX=e.startPathX=t[0]||0,e.prevPathY=e.startPathY=t[1]||0;for(let n=2,s=t.length;n+5<s;n+=6)e.appendLine(new tn({c1x:t[n],c1y:t[n+1],c2x:t[n+2],c2y:t[n+3],toX:t[n+4],toY:t[n+5]}));return e}static fromLines(t){const e=new wo;e.prevPathX=e.startPathX=t[0].x||0,e.prevPathY=e.startPathY=t[0].y||0;for(let n=0,s=t.length;n<s;n++)e.appendLine(t[n]);return e}appendLine(t){if(t instanceof mv){Pd(this.prevPathX,this.prevPathY,t.toX,t.toY,t.largeArcFlag,t.sweepFlag,t.rx,t.ry,t.xAxisRotate).forEach(c=>{const[u,f,d,h,p,b,x,k]=c;this.normalizedLines.push(new tn({x:this.prevPathX,y:this.prevPathY,c1x:d,c1y:h,c2x:p,c2y:b,toX:x,toY:k})),this.prevPathX=x,this.prevPathY=k});return}let e,n,s,r,a,i;t instanceof tn?(e=t.c1x,n=t.c1y,s=t.c2x,r=t.c2y,a=t.toX,i=t.toY):t instanceof yv?[e,n,s,r,a,i]=Pl(this.prevPathX,this.prevPathY,t.cx,t.cy,t.toX,t.toY):[e,n,s,r,a,i]=Bs(this.prevPathX,this.prevPathY,t.toX,t.toY),this.normalizedLines.push(new tn({x:this.prevPathX,y:this.prevPathY,c1x:e,c1y:n,c2x:s,c2y:r,toX:a,toY:i})),this.prevPathX=a,this.prevPathY=i}toSVGPathData(){const{startPathX:t,startPathY:e,normalizedLines:n}=this.updateTransform(),s=[];s.push(["M",t,e]);for(let r=0,a=n.length;r<a;r++)s.push(...n[r].toSVGPathData());return s}toSVGPathD(){return En.SVGPathDataToD(this.toSVGPathData())}toCanvasContext(t){const{startPathX:e,startPathY:n,normalizedLines:s}=this.updateTransform();t.beginPath(),t.moveTo(e,n),s.forEach(r=>{r.toCanvasContext(t)})}getBoundingClientRect(){const{normalizedLines:t}=this.updateTransform(),e=[],n=[];if(t.forEach(l=>{const c=l.getBoundingClientRect();e.push(c.x,c.x+c.width),n.push(c.y,c.y+c.height)}),e.length==0||n.length==0)return{x:0,y:0,width:0,height:0};const s=Math.min.apply(0,e),r=Math.min.apply(0,n),a=Math.max.apply(0,e),i=Math.max.apply(0,n);return{x:s,y:r,width:a-s,height:i-r}}update(t){this.cX=typeof t.cX=="number"?t.cX:this.cX,this.cY=typeof t.cY=="number"?t.cY:this.cY,this.x=t.x,this.y=t.y,this.degree=t.degree,this.scalarX=t.scalarX,this.scalarY=t.scalarY}updateTransform(){const t=new Qe;if(t.translate(this.x+this.cX,this.y+this.cY),t.rotate(this.degree),t.scale(this.scalarX,this.scalarY),t.translate(-this.cX,-this.cY),t.isIdentity)return{startPathX:this.startPathX,startPathY:this.startPathY,normalizedLines:this.normalizedLines};{let e=this.startPathX,n=this.startPathY;({x:e,y:n}=t.transformPoint({x:e,y:n}));const s=[];return this.normalizedLines.forEach(r=>{let a=r.x,i=r.y,l=r.c1x,c=r.c1y,u=r.c2x,f=r.c2y,d=r.toX,h=r.toY;({x:a,y:i}=t.transformPoint({x:a,y:i})),{x:l,y:c}=t.transformPoint({x:l,y:c}),{x:u,y:f}=t.transformPoint({x:u,y:f}),{x:d,y:h}=t.transformPoint({x:d,y:h}),s.push(new tn({x:a,y:i,c1x:l,c1y:c,c2x:u,c2y:f,toX:d,toY:h}))}),{startPathX:e,startPathY:n,normalizedLines:s}}}getTotalLength(){const{normalizedLines:t}=this.updateTransform();return t.reduce((e,n)=>e+=n.length(),0)}getPointAtLength(t){const{normalizedLines:e}=this.updateTransform();let n=0;const s=e.length;for(let r=0;r<s;r++){const a=e[r],i=a.length();if(n+i>=t)return a.getPointAtSegmentLength(t-n);n+=i}return e[s-1].getPointAtSegmentLength(1)}interpolate(t){const{startPathX:e,startPathY:n,normalizedLines:s}=this.updateTransform(),r=s.length;if(r===0)return{x:e,y:n};if(r===1)return s[0].interpolate(t);{let a=t*r,i=s[0];if(a--,a>1)for(let l=1;l<r&&(i=s[l],a>1);l++)a-=1;return i.interpolate(a)}}getSubpath(t,e){if(this.getTotalLength()-e<1e-6)return this.getSubpathsAtLength(this,t);{const n=this.getSubpathsAtLength(this,e,1);return t?this.getSubpathsAtLength(n,t):n}}getSubpathsAtLength(t,e,n){const{startPathX:s,startPathY:r,normalizedLines:a}=t.updateTransform();let i=null,l=0;const c=new wo;c.prevPathX=c.startPathX=s,c.prevPathY=c.startPathY=r;for(let u=0,f=a.length;u<f;u++){const d=a[u],h=d.length();if(l+h>e&&!i){const p=d.getPointAtSegmentLength(e-l);if(c.appendLine(new tn({c1x:p.start.x,c1y:p.start.y,c2x:p.m.x,c2y:p.m.y,toX:p.x,toY:p.y})),n)return c;i=c,c.appendLine(new tn({c1x:p.n.x,c1y:p.n.y,c2x:p.end.x,c2y:p.end.y,toX:d.x,toY:d.y})),l+=h;continue}l+=h,c.appendLine(d)}return c}closestPoint(t,e){const n=this.getTotalLength();let s={x:t,y:e},r=0,a=1/0,i=8;for(let c=0;c<=n;c+=i){const u=this.getPointAtLength(c),f=El(u.x,u.y,t,e);f<a&&(s=u,r=c,a=f)}for(i/=2;i>.5;){const c=r-i,u=this.getPointAtLength(c),f=El(u.x,u.y,t,e),d=r+i,h=this.getPointAtLength(d),p=El(h.x,h.y,t,e);c>=0&&f<a?(s=u,r=c,a=f):d<=n&&p<a?(s=h,r=d,a=p):i/=2}const l=this.getPointAtLength(r+(r===n?-.1:.1));return{point:s,rotation:r>=n?Jr(l.x,l.y,s.x,s.y):Jr(s.x,s.y,l.x,l.y),distance:Math.sqrt(a)}}get polymorphPoints(){const{startPathX:t,startPathY:e,normalizedLines:n}=this.updateTransform();return[t,e].concat(n.reduce((s,r)=>s.concat([r.c1x,r.c1y,r.c2x,r.c2y,r.toX,r.toY]),[]))}perimeterPoints(){const t=this.polymorphPoints,e=t.length;let n=t[e-2],s=t[e-1],r=0;for(let a=0;a<e;a+=6)r+=Cd(t[a],t[a+1],n,s),n=t[a],s=t[a+1];return Math.floor(r)}expendFill(t){const e=this.polymorphPoints,n=e.length;let s=t-n;const r=Math.ceil(t/n),a=[];a.push(["M",e[0],e[1]]);let i=2;for(;i+5<=n-1;){const l=e[i++],c=e[i++],u=e[i++],f=e[i++],d=e[i++],h=e[i++];a.push(["C",l,c,u,f,d,h]);let p=0;for(;p<r&&s>0;)a.push(["C",d,h,d,h,d,h]),s-=6,p++}return a}static mixPoints(t,e,n){const s=t.length,r=new Array(s);for(let a=0;a<s;a++)r[a]=ke(t[a]+(e[a]-t[a])*n,6);return r}static getPathInterpolator(t,e){return n=>Math.abs(n-0)<Number.EPSILON?t:Math.abs(n-1)<Number.EPSILON?e:wo.fromPolymorphPoints(wo.mixPoints(new wo({d:t}).polymorphPoints,new wo({d:e}).polymorphPoints,n)).toSVGPathData()}}class Hn extends vl{id;originD;originMatrix;independentTransformInGroup;forceCXY=!1;cX;cY;x;y;degree;scalarX;scalarY;diffXInGroup;diffYInGroup;diffDegreeInGroup;diffScalarXInGroup;diffScalarYInGroup;vx;vy;ax;ay;mass;attrs;enableDrag;alongPath;isDragging=!1;isMouseIn=!1;targetToAfterDragFree;followMouse;strokeArmyAnts;strokeArmyAntsOffset=0;strokeDashTotalLength=0;isShow=!0;el;pathd;usePathDtoCanvasContext=!1;parent;shapes=[];constructor(t){if(super(),this.id=Ln(),t?.d&&(this.originD=t?.d),t?.originMatrix&&(this.originMatrix=t.originMatrix),this.independentTransformInGroup=typeof t?.independentTransformInGroup=="boolean"?t.independentTransformInGroup:!1,this.x=t?.x||0,this.y=t?.y||0,this.cX=0,this.cY=0,typeof t?.centerX=="number"&&typeof t?.centerY=="number"&&this.forceSetCXY(t.centerX-this.x,t.centerY-this.y),this.degree=t?.degree||0,this.scalarX=1,this.scalarY=1,t?.scalar!==void 0&&(this.scalarX=t.scalar,this.scalarY=t.scalar),t?.scalarX!==void 0&&(this.scalarX=t.scalarX),t?.scalarY!==void 0&&(this.scalarY=t.scalarY),this.diffXInGroup=t?.diffXInGroup||0,this.diffYInGroup=t?.diffYInGroup||0,this.diffDegreeInGroup=t?.diffDegreeInGroup||0,this.diffScalarXInGroup=t?.diffScalarXInGroup||1,this.diffScalarYInGroup=t?.diffScalarYInGroup||1,this.vx=t?.vx||0,this.vy=t?.vy||0,this.ax=t?.ax||0,this.ay=t?.ay||0,this.mass=t?.mass||1,this.attrs={stroke:"none",fill:"none"},t?.attrs&&this.setAttr(t?.attrs),this.enableDrag=t?.enableDrag||!1,this.alongPath=t?.alongPath,this.targetToAfterDragFree=t?.targetToAfterDragFree,this.followMouse=t?.followMouse||!1,this.isShow=typeof t?.isShow=="boolean"?t?.isShow:!0,this.strokeArmyAnts=t?.strokeArmyAnts||!1,this.strokeArmyAnts){const n=this.getAttr("stroke-dasharray","4 4");this.setAttr("stroke-dasharray",n),this.strokeDashTotalLength=ul(n).reduce((s,r)=>s+r,0)}return V1(this)}forceSetCXY(t,e){this.cX=t,this.cY=e,this.forceCXY=!0}shapeInit(){}initPathD(){if(!this.pathd){if(this.pathd=new wo,gl(()=>{this.pathd?.reset(this.originD||this.toSVGPathData(),this.originMatrix)}),this.pathd&&!this.forceCXY){const t=this.shapes.length==0?this.pathd.getBoundingClientRect():this.getBoundingClientRect();t&&(this.pathd.cX=this.cX=t.x+t.width/2-this.pathd.x,this.pathd.cY=this.cY=t.y+t.height/2-this.pathd.y)}this.shapeInit()}return this.pathd}frameStart(t){}frameUpdate(t,e){this.pathd=this.initPathD(),this.pathd.update(this),this.strokeArmyAnts&&(this.isMouseIn||(this.setAttr("stroke-dashoffset",String(this.strokeArmyAntsOffset++)),this.strokeArmyAntsOffset>this.strokeDashTotalLength&&(this.strokeArmyAntsOffset=0)))}frameEnd(t){}toSVGPathData(){return[]}toSVGPathD(){return this.pathd?.toSVGPathD()||""}toCanvasContext(t){this.usePathDtoCanvasContext=!0,this.pathd?.toCanvasContext(t)}getBoundingClientRect(){return this.pathd?.getBoundingClientRect()||null}get center(){const t=this.getBoundingClientRect(),e={x:this.x,y:this.y};return t&&(e.x=t.x+t.width/2,e.y=t.y+t.height/2),e}trim(){if(this.parent)return;const t=this.getBoundingClientRect();if(!t)return;this.shapes.forEach(n=>{const s=n.originMatrix?n.originMatrix.clone():new Qe;s.translate(-t.x+n.x,-t.y+n.y),n.originMatrix=s});const e=this.originMatrix?this.originMatrix.clone():new Qe;e.translate(-t.x+this.x,-t.y+this.y),this.originMatrix=e}isPointInPath(t,e,n){if(n instanceof Ol)return n.isPointInPath(new Path2D(this.toSVGPathD()),t,e);let s;try{s=new SVGPoint(t,e)}catch{s=n.createSVGPoint(),s.x=t,s.y=e}if(this.el instanceof SVGGeometryElement)return this.el.isPointInFill(s);{const r=this.getBoundingClientRect();if(r)return t>=r.x&&t<=r.x+r.width&&e>=r.y&&e<=r.y+r.height}return!1}isPointInStroke(t,e,n){if(n instanceof Ol)return n.isPointInStroke(new Path2D(this.toSVGPathD()),t,e);let s;try{s=new SVGPoint(t,e)}catch{s=n.createSVGPoint(),s.x=t,s.y=e}return this.el instanceof SVGGeometryElement?this.el.isPointInStroke(s):!1}clone(){return T1(this).copy(this)}copy(t){return this.id=t.id,this.originD=t.originD,this.originMatrix=t.originMatrix,this.independentTransformInGroup=t.independentTransformInGroup,this.x=t.x,this.y=t.y,this.cX=t.cX,this.cY=t.cY,this.degree=t.degree,this.scalarX=t.scalarX,this.scalarY=t.scalarY,this.diffXInGroup=t.diffXInGroup,this.diffYInGroup=t.diffYInGroup,this.diffDegreeInGroup=t.diffDegreeInGroup,this.diffScalarXInGroup=t.diffScalarXInGroup,this.diffScalarYInGroup=t.diffScalarYInGroup,this.vx=t.vx,this.vy=t.vy,this.ax=t.ax,this.ay=t.ay,this.mass=t.mass,this.attrs={...t.attrs},this.enableDrag=t.enableDrag,this.alongPath=t.alongPath,this.targetToAfterDragFree=t.targetToAfterDragFree,this.followMouse=t.followMouse,this.isShow=t.isShow,this.strokeArmyAnts=t.strokeArmyAnts,this.strokeDashTotalLength=t.strokeDashTotalLength,this}save(){}restore(){}setAttr(t,e){typeof t!="string"?Object.assign(this.attrs,Object.fromEntries(Object.entries(t).map(([n,s])=>[ko(n),s]))):e&&(this.attrs[ko(t)]=e)}getAttr(t,e){return this.attrs[t]||this.attrs[ko(t)]||e}getAttrs(){return this.attrs}hasAttr(t){return!!this.attrs[t]||!!this.attrs[ko(t)]}distance(t){return Cd(this.x,this.y,t.x,t.y)}rotateTo(t){this.degree=qe(Jr(this.x,this.y,t.x,t.y))}followTo(t,e=3){this.rotateTo(t);const{dx:n,dy:s}=Zn(ee(this.degree),e);this.vx=n,this.vy=s,this.run()}followAccelerationTo(t,e=.05){this.rotateTo(t);const{dx:n,dy:s}=Zn(ee(this.degree),e);this.ax=n,this.ay=s,this.run()}checkCollision(t){}checkWall(t){}gravitateTo(t){const e=t.x-this.x,n=t.y-this.y,s=e*e+n*n,r=Math.sqrt(s),a=this.mass*t.mass/s,i=a*e/r,l=a*n/r;this.vx+=i/this.mass,this.vy+=l/this.mass,t.vx-=i/t.mass,t.vy-=l/t.mass}run(t){this.vx+=this.ax,this.vy+=this.ay;const e=fo(t?.gravity,0);this.vy+=e;const n=fo(t?.friction,1);this.vx*=n,this.vy*=n,this.x+=this.vx,this.y+=this.vy}runEaseTo(t,e){const n=fo(e?.easing,.05),s=t.x-this.cX-this.x,r=t.y-this.cY-this.y;this.vx=s*n,this.vy=r*n,this.run(e)}runSpringTo(t,e){const n=fo(e?.spring,.03);(Array.isArray(t)?t:[t]).forEach(s=>{const r=s.x-this.cX-this.x,a=s.y-this.cY-this.y,i=r*n,l=a*n;this.vx+=i,this.vy+=l}),this.run({friction:.9,...e})}springMassTo(t,e){const n=fo(e?.springLength,100),s=fo(e?.spring,1e-4),r=t.x-this.x,a=t.y-this.y,i=Math.sqrt(r*r+a*a);if(i<n){const l=r*s,c=a*s;return this.vx+=l/this.mass,this.vy+=c/this.mass,t.vx-=l/t.mass,t.vy-=c/t.mass,1-i/n}return 0}getTotalLength(){return this.initPathD().getTotalLength()}interpolate(t){return this.initPathD().interpolate(t)}getPointAtLength(t){return this.initPathD().getPointAtLength(t)}trailPath(t,e=0){const n=this.getTotalLength();return t.originD=this.initPathD().getSubpath(0,e*n),this.getPointAtLength(e*n)}strokeDashTween(t=1e3,e){const n=this.initPathD(),s=ke(n.getTotalLength(),0);this.setAttr({strokeDasharray:`${s} ${s}`,strokeDashoffset:`${s}`});const r=e?.onUpdate,a=new Xe({frameDuration:t});a.addTween({offset:s},{offset:0},Object.assign(e||{},{onUpdate:(i,l)=>{this.setAttr("strokeDashoffset",""+ke(i.offset,2)),r?.(i,l)}})),a.play()}}class _v extends Hn{x;y;z;fl;vpX;vpY;cX;cY;cZ;radius;constructor(t){super(t),this.x=t?.x||0,this.y=t?.y||0,this.z=t?.z||0,this.fl=t?.fl||250,this.vpX=t?.vpX||0,this.vpY=t?.vpY||0,this.cX=t?.cX||0,this.cY=t?.cY||0,this.cZ=t?.cZ||0,this.radius=t?.radius||0}toSVGPathData(){return this.radius?[["M",this.getScreenX(),this.getScreenY()-this.radius],["a",this.radius,this.radius,0,1,1,0,2*this.radius],["a",this.radius,this.radius,0,1,1,0,-2*this.radius],["z"]]:[["M",this.getScreenX(),this.getScreenY()]]}toCanvasContext(t){t.beginPath(),t.arc(0,0,this.radius,0,Math.PI*2,!0),t.closePath()}setVanishingPoint(t,e){this.vpX=t,this.vpY=e}setCenter(t,e,n){this.cX=t,this.cY=e,this.cZ=n}rotateX(t){({x:this.y,y:this.z}=$l(ee(t),this.y,this.z))}rotateY(t){({x:this.x,y:this.z}=$l(ee(t),this.x,this.z))}rotateZ(t){({x:this.x,y:this.y}=$l(ee(t),this.x,this.y))}getScreenX(){const t=this.fl/(this.fl+this.z+this.cZ);return this.vpX+(this.cX+this.x)*t}getScreenY(){const t=this.fl/(this.fl+this.z+this.cZ);return this.vpY+(this.cY+this.y)*t}eq(t){return this.x===t.x&&this.y===t.y&&this.z===t.z&&this.radius===t.radius&&this.mass===t.mass}length(){return wd(this.x,this.y,this.z)}distance(t){const e=t.x-this.x,n=t.y-this.y,s=t.z-this.z;return Math.sqrt(e*e+n*n+s*s)}scalar(t){return this.x*=t,this.y*=t,this.z*=t,this}normalize(t=1){const e=this.length();if(e){const n=t/e;this.scalar(n)}return this}clamp(t){const e=this.length();return e&&e>t&&this.scalar(t/e),this}cross(t){const e=this.x,n=this.y,s=this.z;return{x:n*t.z-s*t.y,y:s*t.x-e*t.z,z:e*t.y-n*t.x}}multiply(t){return{x:this.x*t.x,y:this.y*t.y,z:this.z*t.z}}div(t){return{x:this.x/t.x,y:this.y/t.y,z:this.z/t.z}}add(t){return{x:this.x+t.x,y:this.y+t.y,z:this.z+t.z}}sub(t){return{x:this.x-t.x,y:this.y-t.y,z:this.z-t.z}}dot(t){return this.x*t.x+this.y*t.y+this.z*t.z}reflect(t){const e=this.dot(t);return{x:this.x-2*e*t.x,y:this.y-2*e*t.y,z:this.z-2*e*t.z}}}const sa=_v;class Rl{_x;_y;_z;_w;constructor(t=0,e=0,n=0,s=1){this._x=t,this._y=e,this._z=n,this._w=s}static slerpFlat(t,e,n,s,r,a,i){let l=n[s+0],c=n[s+1],u=n[s+2],f=n[s+3];const d=r[a+0],h=r[a+1],p=r[a+2],b=r[a+3];if(i===0){t[e+0]=l,t[e+1]=c,t[e+2]=u,t[e+3]=f;return}if(i===1){t[e+0]=d,t[e+1]=h,t[e+2]=p,t[e+3]=b;return}if(f!==b||l!==d||c!==h||u!==p){let x=1-i;const k=l*d+c*h+u*p+f*b,g=k>=0?1:-1,m=1-k*k;if(m>Number.EPSILON){const _=Math.sqrt(m),w=Math.atan2(_,k*g);x=Math.sin(x*w)/_,i=Math.sin(i*w)/_}const y=i*g;if(l=l*x+d*y,c=c*x+h*y,u=u*x+p*y,f=f*x+b*y,x===1-i){const _=1/Math.sqrt(l*l+c*c+u*u+f*f);l*=_,c*=_,u*=_,f*=_}}t[e]=l,t[e+1]=c,t[e+2]=u,t[e+3]=f}static multiplyQuaternionsFlat(t,e,n,s,r,a){const i=n[s],l=n[s+1],c=n[s+2],u=n[s+3],f=r[a],d=r[a+1],h=r[a+2],p=r[a+3];return t[e]=i*p+u*f+l*h-c*d,t[e+1]=l*p+u*d+c*f-i*h,t[e+2]=c*p+u*h+i*d-l*f,t[e+3]=u*p-i*f-l*d-c*h,t}get x(){return this._x}set x(t){this._x=t,this._onChangeCallback()}get y(){return this._y}set y(t){this._y=t,this._onChangeCallback()}get z(){return this._z}set z(t){this._z=t,this._onChangeCallback()}get w(){return this._w}set w(t){this._w=t,this._onChangeCallback()}set(t=this._x,e=this._y,n=this._z,s=this._w){return this._x=t,this._y=e,this._z=n,this._w=s,this._onChangeCallback(),this}clone(){return new Rl(this._x,this._y,this._z,this._w)}copy(t){return this._x=t.x,this._y=t.y,this._z=t.z,this._w=t.w,this._onChangeCallback(),this}setFromEuler(t,e=!0){const n=t.x,s=t.y,r=t.z,a=t.order,i=Math.cos,l=Math.sin,c=i(n/2),u=i(s/2),f=i(r/2),d=l(n/2),h=l(s/2),p=l(r/2);switch(a){case"XYZ":this._x=d*u*f+c*h*p,this._y=c*h*f-d*u*p,this._z=c*u*p+d*h*f,this._w=c*u*f-d*h*p;break;case"YXZ":this._x=d*u*f+c*h*p,this._y=c*h*f-d*u*p,this._z=c*u*p-d*h*f,this._w=c*u*f+d*h*p;break;case"ZXY":this._x=d*u*f-c*h*p,this._y=c*h*f+d*u*p,this._z=c*u*p+d*h*f,this._w=c*u*f-d*h*p;break;case"ZYX":this._x=d*u*f-c*h*p,this._y=c*h*f+d*u*p,this._z=c*u*p-d*h*f,this._w=c*u*f+d*h*p;break;case"YZX":this._x=d*u*f+c*h*p,this._y=c*h*f+d*u*p,this._z=c*u*p-d*h*f,this._w=c*u*f-d*h*p;break;case"XZY":this._x=d*u*f-c*h*p,this._y=c*h*f-d*u*p,this._z=c*u*p+d*h*f,this._w=c*u*f+d*h*p;break;default:console.warn("Quaternion: .setFromEuler() encountered an unknown order: "+a)}return e===!0&&this._onChangeCallback(),this}setFromAxisAngle(t,e){const n=e/2,s=Math.sin(n);return this._x=t.x*s,this._y=t.y*s,this._z=t.z*s,this._w=Math.cos(n),this._onChangeCallback(),this}setFromRotationMatrix4(t){const e=t.value,n=e[0],s=e[4],r=e[8],a=e[1],i=e[5],l=e[9],c=e[2],u=e[6],f=e[10],d=n+i+f;if(d>0){const h=.5/Math.sqrt(d+1);this._w=.25/h,this._x=(u-l)*h,this._y=(r-c)*h,this._z=(a-s)*h}else if(n>i&&n>f){const h=2*Math.sqrt(1+n-i-f);this._w=(u-l)/h,this._x=.25*h,this._y=(s+a)/h,this._z=(r+c)/h}else if(i>f){const h=2*Math.sqrt(1+i-n-f);this._w=(r-c)/h,this._x=(s+a)/h,this._y=.25*h,this._z=(l+u)/h}else{const h=2*Math.sqrt(1+f-n-i);this._w=(a-s)/h,this._x=(r+c)/h,this._y=(l+u)/h,this._z=.25*h}return this._onChangeCallback(),this}setFromUnitVectors(t,e){let n=t.dot(e)+1;return n<Number.EPSILON?(n=0,Math.abs(t.x)>Math.abs(t.z)?(this._x=-t.y,this._y=t.x,this._z=0,this._w=n):(this._x=0,this._y=-t.z,this._z=t.y,this._w=n)):(this._x=t.y*e.z-t.z*e.y,this._y=t.z*e.x-t.x*e.z,this._z=t.x*e.y-t.y*e.x,this._w=n),this.normalize()}angleTo(t){return 2*Math.acos(Math.abs(Yt(this.dot(t),-1,1)))}rotateTowards(t,e){const n=this.angleTo(t);if(n===0)return this;const s=Math.min(1,e/n);return this.slerp(t,s),this}identity(){return this.set(0,0,0,1)}invert(){return this.conjugate()}conjugate(){return this._x*=-1,this._y*=-1,this._z*=-1,this._onChangeCallback(),this}dot(t){return this._x*t._x+this._y*t._y+this._z*t._z+this._w*t._w}lengthSq(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w}length(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)}normalize(){let t=this.length();return t===0?(this._x=0,this._y=0,this._z=0,this._w=1):(t=1/t,this._x=this._x*t,this._y=this._y*t,this._z=this._z*t,this._w=this._w*t),this._onChangeCallback(),this}multiply(t){return this.multiplyQuaternions(this,t)}premultiply(t){return this.multiplyQuaternions(t,this)}multiplyQuaternions(t,e){const n=t._x,s=t._y,r=t._z,a=t._w,i=e._x,l=e._y,c=e._z,u=e._w;return this._x=n*u+a*i+s*c-r*l,this._y=s*u+a*l+r*i-n*c,this._z=r*u+a*c+n*l-s*i,this._w=a*u-n*i-s*l-r*c,this._onChangeCallback(),this}slerp(t,e){if(e===0)return this;if(e===1)return this.copy(t);const n=this._x,s=this._y,r=this._z,a=this._w;let i=a*t._w+n*t._x+s*t._y+r*t._z;if(i<0?(this._w=-t._w,this._x=-t._x,this._y=-t._y,this._z=-t._z,i=-i):this.copy(t),i>=1)return this._w=a,this._x=n,this._y=s,this._z=r,this;const l=1-i*i;if(l<=Number.EPSILON){const h=1-e;return this._w=h*a+e*this._w,this._x=h*n+e*this._x,this._y=h*s+e*this._y,this._z=h*r+e*this._z,this.normalize(),this}const c=Math.sqrt(l),u=Math.atan2(c,i),f=Math.sin((1-e)*u)/c,d=Math.sin(e*u)/c;return this._w=a*f+this._w*d,this._x=n*f+this._x*d,this._y=s*f+this._y*d,this._z=r*f+this._z*d,this._onChangeCallback(),this}slerpQuaternions(t,e,n){return this.copy(t).slerp(e,n)}random(){const t=2*Math.PI*Math.random(),e=2*Math.PI*Math.random(),n=Math.random(),s=Math.sqrt(1-n),r=Math.sqrt(n);return this.set(s*Math.sin(t),s*Math.cos(t),r*Math.sin(e),r*Math.cos(e))}equals(t){return t._x===this._x&&t._y===this._y&&t._z===this._z&&t._w===this._w}fromArray(t,e=0){return this._x=t[e],this._y=t[e+1],this._z=t[e+2],this._w=t[e+3],this._onChangeCallback(),this}toArray(t=[],e=0){return t[e]=this._x,t[e+1]=this._y,t[e+2]=this._z,t[e+3]=this._w,t}fromBufferAttribute(t,e){return this._x=t.getX(e),this._y=t.getY(e),this._z=t.getZ(e),this._w=t.getW(e),this._onChangeCallback(),this}toJSON(){return this.toArray()}onChange(t){return this._onChangeCallback=t,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._w}}class ho{x=0;y=0;z=0;constructor(t=0,e=0,n=0){this.x=t,this.y=e,this.z=n}set(t=0,e=0,n=0){return this.x=t,this.y=e,this.z=n,this}setScalar(t){return this.x=t,this.y=t,this.z=t,this}setX(t){return this.x=t,this}setY(t){return this.y=t,this}setZ(t){return this.z=t,this}setComponent(t,e){switch(t){case 0:this.x=e;break;case 1:this.y=e;break;case 2:this.z=e;break;default:throw new Error("index is out of range: "+t)}return this}getComponent(t){switch(t){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw new Error("index is out of range: "+t)}}clone(){return new ho(this.x,this.y,this.z)}copy(t){return this.x=t.x,this.y=t.y,this.z=t.z,this}add(t){return this.x+=t.x,this.y+=t.y,this.z+=t.z,this}addScalar(t){return this.x+=t,this.y+=t,this.z+=t,this}addVectors(t,e){return this.x=t.x+e.x,this.y=t.y+e.y,this.z=t.z+e.z,this}addScaledVector(t,e){return this.x+=t.x*e,this.y+=t.y*e,this.z+=t.z*e,this}sub(t){return this.x-=t.x,this.y-=t.y,this.z-=t.z,this}subScalar(t){return this.x-=t,this.y-=t,this.z-=t,this}subVectors(t,e){return this.x=t.x-e.x,this.y=t.y-e.y,this.z=t.z-e.z,this}multiply(t){return this.x*=t.x,this.y*=t.y,this.z*=t.z,this}multiplyScalar(t){return this.x*=t,this.y*=t,this.z*=t,this}multiplyVectors(t,e){return this.x=t.x*e.x,this.y=t.y*e.y,this.z=t.z*e.z,this}applyEuler(t){return this.applyQuaternion(Rd.setFromEuler(t))}applyAxisAngle(t,e){return this.applyQuaternion(Rd.setFromAxisAngle(t,e))}applyMatrix3(t){const e=this.x,n=this.y,s=this.z,r=t.value;return this.x=r[0]*e+r[3]*n+r[6]*s,this.y=r[1]*e+r[4]*n+r[7]*s,this.z=r[2]*e+r[5]*n+r[8]*s,this}applyNormalMatrix(t){return this.applyMatrix3(t).normalize()}applyMatrix4(t){const e=this.x,n=this.y,s=this.z,r=t.value,a=1/(r[3]*e+r[7]*n+r[11]*s+r[15]);return this.x=(r[0]*e+r[4]*n+r[8]*s+r[12])*a,this.y=(r[1]*e+r[5]*n+r[9]*s+r[13])*a,this.z=(r[2]*e+r[6]*n+r[10]*s+r[14])*a,this}applyQuaternion(t){const e=this.x,n=this.y,s=this.z,r=t.x,a=t.y,i=t.z,l=t.w,c=2*(a*s-i*n),u=2*(i*e-r*s),f=2*(r*n-a*e);return this.x=e+l*c+a*f-i*u,this.y=n+l*u+i*c-r*f,this.z=s+l*f+r*u-a*c,this}transformDirection(t){const e=this.x,n=this.y,s=this.z,r=t.value;return this.x=r[0]*e+r[4]*n+r[8]*s,this.y=r[1]*e+r[5]*n+r[9]*s,this.z=r[2]*e+r[6]*n+r[10]*s,this.normalize()}divide(t){return this.x/=t.x,this.y/=t.y,this.z/=t.z,this}divideScalar(t){return this.multiplyScalar(1/t)}min(t){return this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this.z=Math.min(this.z,t.z),this}max(t){return this.x=Math.max(this.x,t.x),this.y=Math.max(this.y,t.y),this.z=Math.max(this.z,t.z),this}clamp(t,e){return this.x=Yt(this.x,t.x,e.x),this.y=Yt(this.y,t.y,e.y),this.z=Yt(this.z,t.z,e.z),this}clampScalar(t,e){return this.x=Yt(this.x,t,e),this.y=Yt(this.y,t,e),this.z=Yt(this.z,t,e),this}clampLength(t,e){const n=this.length();return this.divideScalar(n||1).multiplyScalar(Yt(n,t,e))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this.z=Math.trunc(this.z),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this}dot(t){return this.x*t.x+this.y*t.y+this.z*t.z}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)}normalize(){return this.divideScalar(this.length()||1)}setLength(t){return this.normalize().multiplyScalar(t)}lerp(t,e){return this.x+=(t.x-this.x)*e,this.y+=(t.y-this.y)*e,this.z+=(t.z-this.z)*e,this}lerpVectors(t,e,n){return this.x=t.x+(e.x-t.x)*n,this.y=t.y+(e.y-t.y)*n,this.z=t.z+(e.z-t.z)*n,this}cross(t){return this.crossVectors(this,t)}crossVectors(t,e){const n=t.x,s=t.y,r=t.z,a=e.x,i=e.y,l=e.z;return this.x=s*l-r*i,this.y=r*a-n*l,this.z=n*i-s*a,this}projectOnVector(t){const e=t.lengthSq();if(e===0)return this.set(0,0,0);const n=t.dot(this)/e;return this.copy(t).multiplyScalar(n)}perpendOnVector(t){return Il.copy(this).projectOnVector(t),this.sub(Il)}projectOnPlane(t){return this.perpendOnVector(t)}reflect(t){return this.sub(Il.copy(t).multiplyScalar(2*this.dot(t)))}angleTo(t){const e=Math.sqrt(this.lengthSq()*t.lengthSq());if(e===0)return Math.PI/2;const n=this.dot(t)/e;return Math.acos(Yt(n,-1,1))}distanceTo(t){return Math.sqrt(this.distanceToSquared(t))}distanceToSquared(t){const e=this.x-t.x,n=this.y-t.y,s=this.z-t.z;return e*e+n*n+s*s}manhattanDistanceTo(t){return Math.abs(this.x-t.x)+Math.abs(this.y-t.y)+Math.abs(this.z-t.z)}setFromMatrix4Position(t){const e=t.value;return this.x=e[12],this.y=e[13],this.z=e[14],this}setFromMatrix4Scale(t){const e=this.setFromMatrix4Column(t,0).length(),n=this.setFromMatrix4Column(t,1).length(),s=this.setFromMatrix4Column(t,2).length();return this.x=e,this.y=n,this.z=s,this}setFromMatrix4Column(t,e){return this.fromArray(t.value,e*4)}setFromMatrix3Column(t,e){return this.fromArray(t.value,e*3)}setFromEuler(t){return this.x=t.x,this.y=t.y,this.z=t.z,this}equals(t){return t.x===this.x&&t.y===this.y&&t.z===this.z}fromArray(t,e=0){return this.x=t[e],this.y=t[e+1],this.z=t[e+2],this}toArray(t=[],e=0){return t[e]=this.x,t[e+1]=this.y,t[e+2]=this.z,t}fromBufferAttribute(t,e){return this.x=t.getX(e),this.y=t.getY(e),this.z=t.getZ(e),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this}randomDirection(){const t=Math.random()*Math.PI*2,e=Math.random()*2-1,n=Math.sqrt(1-e*e);return this.x=n*Math.cos(t),this.y=e,this.z=n*Math.sin(t),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z}}const Il=new ho,Rd=new Rl,ra=2e3,Id=2001,Ad=[1,0,0,1,0,0],$d=[1,0,0,0,1,0,0,0,1],Nd=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];class Ys{value;constructor(t=$d){this.value=Array.from(t)}get m11(){return this.value[0]}get m12(){return this.value[1]}get m13(){return this.value[2]}get m21(){return this.value[3]}get m22(){return this.value[4]}get m23(){return this.value[5]}get m31(){return this.value[6]}get m32(){return this.value[7]}get m33(){return this.value[8]}set m11(t){this.value[0]=t}set m12(t){this.value[1]=t}set m13(t){this.value[2]=t}set m21(t){this.value[3]=t}set m22(t){this.value[4]=t}set m23(t){this.value[5]=t}set m31(t){this.value[6]=t}set m32(t){this.value[7]=t}set m33(t){this.value[8]=t}set(t=1,e=0,n=0,s=0,r=1,a=0,i=0,l=0,c=1){const u=this.value;return u[0]=t,u[1]=s,u[2]=i,u[3]=e,u[4]=r,u[5]=l,u[6]=n,u[7]=a,u[8]=c,this}identity(){return this.value=Array.from($d),this}get isIdentity(){return this.m11==1&&this.m12==0&&this.m13==0&&this.m21==0&&this.m22==1&&this.m23==0&&this.m31==0&&this.m32==0&&this.m33==1}copy(t){return this.m11=t.m11,this.m12=t.m12,this.m13=t.m13,this.m21=t.m21,this.m22=t.m22,this.m23=t.m23,this.m31=t.m31,this.m32=t.m32,this.m33=t.m33,this}clone(){return new Ys(this.value)}fromArray(t,e=0){for(let n=0;n<9;n++)this.value[n]=t[n+e];return this}toArray(t=[],e=0){return t[e]=this.m11,t[e+1]=this.m12,t[e+2]=this.m13,t[e+3]=this.m21,t[e+4]=this.m22,t[e+5]=this.m23,t[e+6]=this.m31,t[e+7]=this.m32,t[e+8]=this.m33,t}extractBasis(t,e,n){return t.setFromMatrix3Column(this,0),e.setFromMatrix3Column(this,1),n.setFromMatrix3Column(this,2),this}setFromMatrix4(t){return this.set(t.m11,t.m21,t.m31,t.m12,t.m22,t.m32,t.m13,t.m23,t.m33),this}multiplyMatrices(t,e){const n=t.value,s=e.value,r=this.value,a=n[0],i=n[3],l=n[6],c=n[1],u=n[4],f=n[7],d=n[2],h=n[5],p=n[8],b=s[0],x=s[3],k=s[6],g=s[1],m=s[4],y=s[7],_=s[2],w=s[5],$=s[8];return r[0]=a*b+i*g+l*_,r[3]=a*x+i*m+l*w,r[6]=a*k+i*y+l*$,r[1]=c*b+u*g+f*_,r[4]=c*x+u*m+f*w,r[7]=c*k+u*y+f*$,r[2]=d*b+h*g+p*_,r[5]=d*x+h*m+p*w,r[8]=d*k+h*y+p*$,this}multiply(t){return this.multiplyMatrices(this,t)}premultiply(t){return this.multiplyMatrices(t,this)}multiplyScalar(t){return this.m11*=t,this.m12*=t,this.m13*=t,this.m21*=t,this.m22*=t,this.m23*=t,this.m31*=t,this.m32*=t,this.m33*=t,this}determinant(){const t=this.value,e=t[0],n=t[1],s=t[2],r=t[3],a=t[4],i=t[5],l=t[6],c=t[7],u=t[8];return e*a*u-e*i*c-n*r*u+n*i*l+s*r*c-s*a*l}invert(){const t=this.value,e=t[0],n=t[1],s=t[2],r=t[3],a=t[4],i=t[5],l=t[6],c=t[7],u=t[8],f=u*a-i*c,d=i*l-u*r,h=c*r-a*l,p=e*f+n*d+s*h;if(p===0)return this.set(0,0,0,0,0,0,0,0,0);const b=1/p;return t[0]=f*b,t[1]=(s*c-u*n)*b,t[2]=(i*n-s*a)*b,t[3]=d*b,t[4]=(u*e-s*l)*b,t[5]=(s*r-i*e)*b,t[6]=h*b,t[7]=(n*l-c*e)*b,t[8]=(a*e-n*r)*b,this}transpose(){let t;const e=this.value;return t=e[1],e[1]=e[3],e[3]=t,t=e[2],e[2]=e[6],e[6]=t,t=e[5],e[5]=e[7],e[7]=t,this}getNormalMatrix(t){return this.setFromMatrix4(t).invert().transpose()}transposeIntoArray(t){const e=this.value;return t[0]=e[0],t[1]=e[3],t[2]=e[6],t[3]=e[1],t[4]=e[4],t[5]=e[7],t[6]=e[2],t[7]=e[5],t[8]=e[8],this}setUvTransform(t,e,n,s,r,a,i){const l=Math.cos(r),c=Math.sin(r);return this.set(n*l,n*c,-n*(l*a+c*i)+a+t,-s*c,s*l,-s*(-c*a+l*i)+i+e,0,0,1),this}scale(t,e){return this.premultiply(Al.makeScale(t,e)),this}rotate(t){return this.premultiply(Al.makeRotation(-t)),this}translate(t,e){return this.premultiply(Al.makeTranslation(t,e)),this}makeTranslation(t,e){return typeof t=="number"?this.set(1,0,t,0,1,e,0,0,1):this.set(1,0,t.x,0,1,t.y,0,0,1),this}makeRotation(t){const e=Math.cos(t),n=Math.sin(t);return this.set(e,-n,0,n,e,0,0,0,1),this}makeScale(t,e){return this.set(t,0,0,0,e,0,0,0,1),this}equals(t){for(let e=0;e<9;e++)if(this.value[e]!==t.value[e])return!1;return!0}}class Ke{value;is3dSpecial=!1;constructor(t=Nd){this.value=Array.from(t)}get m11(){return this.value[0]}get m12(){return this.value[1]}get m13(){return this.value[2]}get m14(){return this.value[3]}get m21(){return this.value[4]}get m22(){return this.value[5]}get m23(){return this.value[6]}get m24(){return this.value[7]}get m31(){return this.value[8]}get m32(){return this.value[9]}get m33(){return this.value[10]}get m34(){return this.value[11]}get m41(){return this.value[12]}get m42(){return this.value[13]}get m43(){return this.value[14]}get m44(){return this.value[15]}set m11(t){this.value[0]=t}set m12(t){this.value[1]=t}set m13(t){this.value[2]=t}set m14(t){this.value[3]=t}set m21(t){this.value[4]=t}set m22(t){this.value[5]=t}set m23(t){this.value[6]=t}set m24(t){this.value[7]=t}set m31(t){this.value[8]=t}set m32(t){this.value[9]=t}set m33(t){this.value[10]=t}set m34(t){this.value[11]=t}set m41(t){this.value[12]=t}set m42(t){this.value[13]=t}set m43(t){this.value[14]=t}set m44(t){this.value[15]=t}set(t=1,e=0,n=0,s=0,r=0,a=1,i=0,l=0,c=0,u=0,f=1,d=0,h=0,p=0,b=0,x=1){const k=this.value;return k[0]=t,k[4]=e,k[8]=n,k[12]=s,k[1]=r,k[5]=a,k[9]=i,k[13]=l,k[2]=c,k[6]=u,k[10]=f,k[14]=d,k[3]=h,k[7]=p,k[11]=b,k[15]=x,this}is2D(){return!this.is3dSpecial&&this.m31==0&&this.m32==0&&this.m33==1&&this.m34==0&&this.m43==0&&this.m44==1}is3D(){return!this.is2D()}identity(){return this.value=Array.from(Nd),this}get isIdentity(){return this.m11==1&&this.m12==0&&this.m13==0&&this.m14==0&&this.m21==0&&this.m22==1&&this.m23==0&&this.m24==0&&this.m31==0&&this.m32==0&&this.m33==1&&this.m34==0&&this.m41==0&&this.m42==0&&this.m43==0&&this.m44==1}copy(t){return this.m11=t.m11,this.m12=t.m12,this.m13=t.m13,this.m14=t.m14,this.m21=t.m21,this.m22=t.m22,this.m23=t.m23,this.m24=t.m24,this.m31=t.m31,this.m32=t.m32,this.m33=t.m33,this.m34=t.m34,this.m41=t.m41,this.m42=t.m42,this.m43=t.m43,this.m44=t.m44,this}clone(){return new Ke(this.value)}static fromString(t){const e=new Ke,n=rd("number",t);return n.length===16&&n.forEach((s,r)=>{s.fullMatch&&(e.value[r]=parseFloat(s.fullMatch))}),e}fromArray(t,e=0){for(let n=0;n<16;n++)this.value[n]=t[n+e];return this}toArray(t=[],e=0){const n=this.value;return t[e]=n[0],t[e+1]=n[1],t[e+2]=n[2],t[e+3]=n[3],t[e+4]=n[4],t[e+5]=n[5],t[e+6]=n[6],t[e+7]=n[7],t[e+8]=n[8],t[e+9]=n[9],t[e+10]=n[10],t[e+11]=n[11],t[e+12]=n[12],t[e+13]=n[13],t[e+14]=n[14],t[e+15]=n[15],t}copyPosition(t){const e=this.value,n=t.value;return e[12]=n[12],e[13]=n[13],e[14]=n[14],this}setFromMatrix3(t){const e=t.value;return this.set(e[0],e[3],e[6],0,e[1],e[4],e[7],0,e[2],e[5],e[8],0,0,0,0,1),this}extractBasis(t,e,n){return t.setFromMatrix4Column(this,0),e.setFromMatrix4Column(this,1),n.setFromMatrix4Column(this,2),this}makeBasis(t,e,n){return this.set(t.x,e.x,n.x,0,t.y,e.y,n.y,0,t.z,e.z,n.z,0,0,0,0,1),this}normalize(){return this.multiplyScalar(1/(this.m44||1e-4))}transformPoint(t){const e=t.z||1,n=t.w||1;return{x:t.x*this.m11+t.y*this.m21+e*this.m31+n*this.m41,y:t.x*this.m12+t.y*this.m22+e*this.m32+n*this.m42,z:t.x*this.m13+t.y*this.m23+e*this.m33+n*this.m43,w:t.x*this.m14+t.y*this.m24+e*this.m34+n*this.m44}}toMatrix(t){const{scalarX:e,scalarY:n,skewX:s,skewY:r,x:a,y:i}=this.split(),l=[e,r,s,n,a,i];return t?(t.value=l,t):new Qe(l)}flatten(){return this.m31=0,this.m32=0,this.m33=1,this.m34=0,this.m14=0,this.m24=0,this.m43=0,this.m44=1,this}toString(t=6){return`matrix3d(${this.value.map(e=>ke(e,t)).join(",")})`}split(){const t=Math.sqrt(this.m11*this.m11+this.m12*this.m12+this.m13*this.m13),e=Math.sqrt(this.m21*this.m21+this.m22*this.m22+this.m23*this.m23),n=Math.sqrt(this.m31*this.m31+this.m32*this.m32+this.m33*this.m33),s=qe(Yt(Math.asin(-this.m13),-1,1));let r=qe(Math.atan2(this.m23,this.m33));Math.cos(ee(s))===0&&(r=qe(Math.atan2(-this.m31,this.m22)));let a=qe(Math.atan2(this.m12,this.m11));return this.m11<0&&this.m22>=0&&(a+=180),{x:this.m41,y:this.m42,z:this.m43,scalarX:t,scalarY:e,scalarZ:n,degreeX:r,degreeY:s,degreeZ:a,skewX:qe(this.m14),skewY:qe(this.m24),skewZ:qe(this.m34),skewW:this.m44,perspective:this.m34?-(1/this.m34):0}}extractRotation(t){const e=this.value,n=t.value,s=1/Gn.setFromMatrix4Column(t,0).length(),r=1/Gn.setFromMatrix4Column(t,1).length(),a=1/Gn.setFromMatrix4Column(t,2).length();return e[0]=n[0]*s,e[1]=n[1]*s,e[2]=n[2]*s,e[3]=0,e[4]=n[4]*r,e[5]=n[5]*r,e[6]=n[6]*r,e[7]=0,e[8]=n[8]*a,e[9]=n[9]*a,e[10]=n[10]*a,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,this}makeRotationFromEuler(t){const e=this.value,n=t.x,s=t.y,r=t.z,a=Math.cos(n),i=Math.sin(n),l=Math.cos(s),c=Math.sin(s),u=Math.cos(r),f=Math.sin(r);if(t.order==="XYZ"){const d=a*u,h=a*f,p=i*u,b=i*f;e[0]=l*u,e[4]=-l*f,e[8]=c,e[1]=h+p*c,e[5]=d-b*c,e[9]=-i*l,e[2]=b-d*c,e[6]=p+h*c,e[10]=a*l}else if(t.order==="YXZ"){const d=l*u,h=l*f,p=c*u,b=c*f;e[0]=d+b*i,e[4]=p*i-h,e[8]=a*c,e[1]=a*f,e[5]=a*u,e[9]=-i,e[2]=h*i-p,e[6]=b+d*i,e[10]=a*l}else if(t.order==="ZXY"){const d=l*u,h=l*f,p=c*u,b=c*f;e[0]=d-b*i,e[4]=-a*f,e[8]=p+h*i,e[1]=h+p*i,e[5]=a*u,e[9]=b-d*i,e[2]=-a*c,e[6]=i,e[10]=a*l}else if(t.order==="ZYX"){const d=a*u,h=a*f,p=i*u,b=i*f;e[0]=l*u,e[4]=p*c-h,e[8]=d*c+b,e[1]=l*f,e[5]=b*c+d,e[9]=h*c-p,e[2]=-c,e[6]=i*l,e[10]=a*l}else if(t.order==="YZX"){const d=a*l,h=a*c,p=i*l,b=i*c;e[0]=l*u,e[4]=b-d*f,e[8]=p*f+h,e[1]=f,e[5]=a*u,e[9]=-i*u,e[2]=-c*u,e[6]=h*f+p,e[10]=d-b*f}else if(t.order==="XZY"){const d=a*l,h=a*c,p=i*l,b=i*c;e[0]=l*u,e[4]=-f,e[8]=c*u,e[1]=d*f+b,e[5]=a*u,e[9]=h*f-p,e[2]=p*f-h,e[6]=i*u,e[10]=b*f+d}return e[3]=0,e[7]=0,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,this}makeRotationFromQuaternion(t){return this.compose(xv,t,kv)}lookAt(t,e,n){const s=this.value;return Ze.subVectors(t,e),Ze.lengthSq()===0&&(Ze.z=1),Ze.normalize(),en.crossVectors(n,Ze),en.lengthSq()===0&&(Math.abs(n.z)===1?Ze.x+=1e-4:Ze.z+=1e-4,Ze.normalize(),en.crossVectors(n,Ze)),en.normalize(),aa.crossVectors(Ze,en),s[0]=en.x,s[4]=aa.x,s[8]=Ze.x,s[1]=en.y,s[5]=aa.y,s[9]=Ze.y,s[2]=en.z,s[6]=aa.z,s[10]=Ze.z,this}multiplyMatrices(t,e){const n=t.value,s=e.value,r=this.value,a=n[0],i=n[4],l=n[8],c=n[12],u=n[1],f=n[5],d=n[9],h=n[13],p=n[2],b=n[6],x=n[10],k=n[14],g=n[3],m=n[7],y=n[11],_=n[15],w=s[0],$=s[4],Y=s[8],B=s[12],M=s[1],ut=s[5],j=s[9],tt=s[13],gt=s[2],Ot=s[6],$t=s[10],xt=s[14],kt=s[3],ne=s[7],me=s[11],he=s[15];return r[0]=a*w+i*M+l*gt+c*kt,r[4]=a*$+i*ut+l*Ot+c*ne,r[8]=a*Y+i*j+l*$t+c*me,r[12]=a*B+i*tt+l*xt+c*he,r[1]=u*w+f*M+d*gt+h*kt,r[5]=u*$+f*ut+d*Ot+h*ne,r[9]=u*Y+f*j+d*$t+h*me,r[13]=u*B+f*tt+d*xt+h*he,r[2]=p*w+b*M+x*gt+k*kt,r[6]=p*$+b*ut+x*Ot+k*ne,r[10]=p*Y+b*j+x*$t+k*me,r[14]=p*B+b*tt+x*xt+k*he,r[3]=g*w+m*M+y*gt+_*kt,r[7]=g*$+m*ut+y*Ot+_*ne,r[11]=g*Y+m*j+y*$t+_*me,r[15]=g*B+m*tt+y*xt+_*he,this}multiply(t){return this.multiplyMatrices(this,t)}premultiply(t){return this.multiplyMatrices(t,this)}multiplyScalar(t){return this.m11*=t,this.m12*=t,this.m13*=t,this.m14*=t,this.m21*=t,this.m22*=t,this.m23*=t,this.m24*=t,this.m31*=t,this.m32*=t,this.m33*=t,this.m34*=t,this}determinant(){const t=this.value,e=t[0],n=t[4],s=t[8],r=t[12],a=t[1],i=t[5],l=t[9],c=t[13],u=t[2],f=t[6],d=t[10],h=t[14],p=t[3],b=t[7],x=t[11],k=t[15];return p*(+r*l*f-s*c*f-r*i*d+n*c*d+s*i*h-n*l*h)+b*(+e*l*h-e*c*d+r*a*d-s*a*h+s*c*u-r*l*u)+x*(+e*c*f-e*i*h-r*a*f+n*a*h+r*i*u-n*c*u)+k*(-s*i*u-e*l*f+e*i*d+s*a*f-n*a*d+n*l*u)}transpose(){const t=this.value;let e;return e=t[1],t[1]=t[4],t[4]=e,e=t[2],t[2]=t[8],t[8]=e,e=t[6],t[6]=t[9],t[9]=e,e=t[3],t[3]=t[12],t[12]=e,e=t[7],t[7]=t[13],t[13]=e,e=t[11],t[11]=t[14],t[14]=e,this}setPosition(t,e,n){const s=this.value;return t instanceof ho?(s[12]=t.x,s[13]=t.y,s[14]=t.z):typeof t=="number"&&typeof e=="number"&&typeof n=="number"&&(s[12]=t,s[13]=e,s[14]=n),this}invert(){const t=this.value,e=t[0],n=t[1],s=t[2],r=t[3],a=t[4],i=t[5],l=t[6],c=t[7],u=t[8],f=t[9],d=t[10],h=t[11],p=t[12],b=t[13],x=t[14],k=t[15],g=f*x*c-b*d*c+b*l*h-i*x*h-f*l*k+i*d*k,m=p*d*c-u*x*c-p*l*h+a*x*h+u*l*k-a*d*k,y=u*b*c-p*f*c+p*i*h-a*b*h-u*i*k+a*f*k,_=p*f*l-u*b*l-p*i*d+a*b*d+u*i*x-a*f*x,w=e*g+n*m+s*y+r*_;if(w===0)return this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);const $=1/w;return t[0]=g*$,t[1]=(b*d*r-f*x*r-b*s*h+n*x*h+f*s*k-n*d*k)*$,t[2]=(i*x*r-b*l*r+b*s*c-n*x*c-i*s*k+n*l*k)*$,t[3]=(f*l*r-i*d*r-f*s*c+n*d*c+i*s*h-n*l*h)*$,t[4]=m*$,t[5]=(u*x*r-p*d*r+p*s*h-e*x*h-u*s*k+e*d*k)*$,t[6]=(p*l*r-a*x*r-p*s*c+e*x*c+a*s*k-e*l*k)*$,t[7]=(a*d*r-u*l*r+u*s*c-e*d*c-a*s*h+e*l*h)*$,t[8]=y*$,t[9]=(p*f*r-u*b*r-p*n*h+e*b*h+u*n*k-e*f*k)*$,t[10]=(a*b*r-p*i*r+p*n*c-e*b*c-a*n*k+e*i*k)*$,t[11]=(u*i*r-a*f*r-u*n*c+e*f*c+a*n*h-e*i*h)*$,t[12]=_*$,t[13]=(u*b*s-p*f*s+p*n*d-e*b*d-u*n*x+e*f*x)*$,t[14]=(p*i*s-a*b*s-p*n*l+e*b*l+a*n*x-e*i*x)*$,t[15]=(a*f*s-u*i*s+u*n*l-e*f*l-a*n*d+e*i*d)*$,this}getMaxScaleOnAxis(){const t=this.value,e=t[0]*t[0]+t[1]*t[1]+t[2]*t[2],n=t[4]*t[4]+t[5]*t[5]+t[6]*t[6],s=t[8]*t[8]+t[9]*t[9]+t[10]*t[10];return Math.sqrt(Math.max(e,n,s))}makeTranslation(t,e,n){return t instanceof ho?this.set(1,0,0,t.x,0,1,0,t.y,0,0,1,t.z,0,0,0,1):this.set(1,0,0,t,0,1,0,e,0,0,1,n,0,0,0,1),this}makeRotationX(t){const e=Math.cos(t),n=Math.sin(t);return this.set(1,0,0,0,0,e,-n,0,0,n,e,0,0,0,0,1),this}makeRotationY(t){const e=Math.cos(t),n=Math.sin(t);return this.set(e,0,n,0,0,1,0,0,-n,0,e,0,0,0,0,1),this}makeRotationZ(t){const e=Math.cos(t),n=Math.sin(t);return this.set(e,-n,0,0,n,e,0,0,0,0,1,0,0,0,0,1),this}makeRotationAxis(t,e){const n=Math.cos(e),s=Math.sin(e),r=1-n,a=t.x,i=t.y,l=t.z,c=r*a,u=r*i;return this.set(c*a+n,c*i-s*l,c*l+s*i,0,c*i+s*l,u*i+n,u*l-s*a,0,c*l-s*i,u*l+s*a,r*l*l+n,0,0,0,0,1),this}makeScale(t,e,n){return this.set(t,0,0,0,0,e,0,0,0,0,n,0,0,0,0,1),this}makeShear(t,e,n,s,r,a){return this.set(1,n,r,0,t,1,a,0,e,s,1,0,0,0,0,1),this}makePerspective(t,e,n,s,r,a,i=ra){const l=this.value,c=2*r/(e-t),u=2*r/(n-s),f=(e+t)/(e-t),d=(n+s)/(n-s);let h,p;if(i===ra)h=-(a+r)/(a-r),p=-2*a*r/(a-r);else if(i===Id)h=-a/(a-r),p=-a*r/(a-r);else throw new Error("Matrix4.makePerspective(): Invalid coordinate system: "+i);return l[0]=c,l[4]=0,l[8]=f,l[12]=0,l[1]=0,l[5]=u,l[9]=d,l[13]=0,l[2]=0,l[6]=0,l[10]=h,l[14]=p,l[3]=0,l[7]=0,l[11]=-1,l[15]=0,this}makeOrthographic(t,e,n,s,r,a,i=ra){const l=this.value,c=1/(e-t),u=1/(n-s),f=1/(a-r),d=(e+t)*c,h=(n+s)*u;let p,b;if(i===ra)p=(a+r)*f,b=-2*f;else if(i===Id)p=r*f,b=-1*f;else throw new Error("Matrix4.makeOrthographic(): Invalid coordinate system: "+i);return l[0]=2*c,l[4]=0,l[8]=0,l[12]=-d,l[1]=0,l[5]=2*u,l[9]=0,l[13]=-h,l[2]=0,l[6]=0,l[10]=b,l[14]=-p,l[3]=0,l[7]=0,l[11]=0,l[15]=1,this}compose(t,e,n){const s=this.value,r=e.x,a=e.y,i=e.z,l=e.w,c=r+r,u=a+a,f=i+i,d=r*c,h=r*u,p=r*f,b=a*u,x=a*f,k=i*f,g=l*c,m=l*u,y=l*f,_=n.x,w=n.y,$=n.z;return s[0]=(1-(b+k))*_,s[1]=(h+y)*_,s[2]=(p-m)*_,s[3]=0,s[4]=(h-y)*w,s[5]=(1-(d+k))*w,s[6]=(x+g)*w,s[7]=0,s[8]=(p+m)*$,s[9]=(x-g)*$,s[10]=(1-(d+b))*$,s[11]=0,s[12]=t.x,s[13]=t.y,s[14]=t.z,s[15]=1,this}decompose(t,e,n){const s=this.value;let r=Gn.set(s[0],s[1],s[2]).length();const a=Gn.set(s[4],s[5],s[6]).length(),i=Gn.set(s[8],s[9],s[10]).length();this.determinant()<0&&(r=-r),t.x=s[12],t.y=s[13],t.z=s[14],po.copy(this);const c=1/r,u=1/a,f=1/i;return po.value[0]*=c,po.value[1]*=c,po.value[2]*=c,po.value[4]*=u,po.value[5]*=u,po.value[6]*=u,po.value[8]*=f,po.value[9]*=f,po.value[10]*=f,e.setFromRotationMatrix4(po),n.x=r,n.y=a,n.z=i,this}equals(t){for(let e=0;e<16;e++)if(this.value[e]!==t.value[e])return!1;return!0}translate(t=0,e=0,n=0){return this.multiply(new Ke([1,0,0,0,0,1,0,0,0,0,1,0,t,e,n,1]))}scale(t=1,e=1,n=1){return this.multiply(new Ke([t,0,0,0,0,e,0,0,0,0,n,0,0,0,0,1]))}scaleVector3(t){const e=this.value,n=t.x,s=t.y,r=t.z;return e[0]*=n,e[4]*=s,e[8]*=r,e[1]*=n,e[5]*=s,e[9]*=r,e[2]*=n,e[6]*=s,e[10]*=r,e[3]*=n,e[7]*=s,e[11]*=r,this}rotateX(t){const e=ee(t),n=Math.cos(e),s=Math.sin(e);return this.multiply(new Ke([1,0,0,0,0,n,s,0,0,-s,n,0,0,0,0,1]))}rotateY(t){const e=ee(t),n=Math.cos(e),s=Math.sin(e);return this.multiply(new Ke([n,0,-s,0,0,1,0,0,s,0,n,0,0,0,0,1]))}rotateZ(t){this.is3dSpecial=!0;const e=ee(t),n=Math.cos(e),s=Math.sin(e);return this.multiply(new Ke([n,s,0,0,-s,n,0,0,0,0,1,0,0,0,0,1]))}skew(t=0,e=0,n=0){return this.multiply(new Ke([1,0,0,ee(t),0,1,0,ee(e),0,0,1,ee(n),0,0,0,1]))}perspective(t){return this.multiply(new Ke([1,0,0,0,0,1,0,0,0,0,1,t?-(1/t):0,0,0,0,1]))}unproject(t){let e=t.x*this.m11+t.y*this.m21+this.m41,n=t.x*this.m12+t.y*this.m22+this.m42,s=t.x*this.m13+t.y*this.m23+this.m43,r=t.x*this.m14+t.y*this.m24+this.m44,a=e+this.m31,i=n+this.m32,l=s+this.m33,c=r+this.m34;r==0&&(r=1e-4),e/=r,n/=r,s/=r,c==0&&(c=1e-4),a/=c,i/=c,l/=c;const u=l-s;if(u==0)return{x:e,y:n,z:s,mass:r};const f=-s/u;return e+=f*(a-e),n+=f*(i-n),{x:e,y:n,z:s,mass:r}}project(t){const e=t.z;let n=t.x*this.m11+t.y*this.m21+e*this.m31+this.m41,s=t.x*this.m12+t.y*this.m22+e*this.m32+this.m42,r=t.x*this.m14+t.y*this.m24+e*this.m34+this.m44;return r==0&&(r=1e-4),n/=r,s/=r,r<0&&(n-=this.m41,s-=this.m42,n*=1/r,s*=1/r,n+=this.m41,s+=this.m42),{x:n,y:s,z:e,mass:r}}bounds(t,e,n,s){const r=new sa({x:t,y:e}),a=new sa({x:t+n,y:e}),i=new sa({x:t+n,y:e+s}),l=new sa({x:t,y:e+s});({x:r.x,y:r.y,z:r.z,mass:r.mass}=this.project(r)),{x:a.x,y:a.y,z:a.z,mass:a.mass}=this.project(a),{x:i.x,y:i.y,z:i.z,mass:i.mass}=this.project(i),{x:l.x,y:l.y,z:l.z,mass:l.mass}=this.project(l);const c=Math.min(r.x,a.x,i.x,l.x),u=Math.min(r.y,a.y,i.y,l.y),f=Math.max(r.x,a.x,i.x,l.x)-c,d=Math.max(r.y,a.y,i.y,l.y)-u;return{x:c,y:u,width:f,height:d}}}class Qe{value;_m13=0;_m23=0;_m33=1;matrix4;constructor(t=Ad){this.value=Array.from(t),this.matrix4=this.toMatrix4()}get m11(){return this.value[0]}get m12(){return this.value[1]}get m13(){return this._m13}get m21(){return this.value[2]}get m22(){return this.value[3]}get m23(){return this._m23}get m31(){return this.value[4]}get m32(){return this.value[5]}get m33(){return this._m33}set m11(t){this.value[0]=t}set m12(t){this.value[1]=t}set m13(t){this._m13=t}set m21(t){this.value[2]=t}set m22(t){this.value[3]=t}set m23(t){this._m23=t}set m31(t){this.value[4]=t}set m32(t){this.value[5]=t}set m33(t){this._m33=t}static fromString(t){const e=new Qe,n=rd("number",t);return n.length===6&&n.forEach((s,r)=>{s.fullMatch&&(e.value[r]=parseFloat(s.fullMatch))}),e}toMatrix4(t=this.matrix4){const e=[this.m11,this.m12,0,this.m13,this.m21,this.m22,0,this.m23,0,0,1,0,this.m31,this.m32,0,this.m33];return t?(t.value=e,t):new Ke(e)}identity(){return this.value=Array.from(Ad),this.m13=0,this.m23=0,this.m33=1,this.matrix4=this.toMatrix4(),this}get isIdentity(){return this.m11==1&&this.m12==0&&this.m13==0&&this.m21==0&&this.m22==1&&this.m23==0&&this.m31==0&&this.m32==0&&this.m33==1}multiplyScalar(t){return this.m11*=t,this.m12*=t,this.m13*=t,this.m21*=t,this.m22*=t,this.m23*=t,this.m31*=t,this.m32*=t,this.m33*=t,this}normalize(){const t=this.m33||1e-4;return this.multiplyScalar(1/t)}transformPoint(t){const e=t.z||1;return{x:t.x*this.m11+t.y*this.m21+e*this.m31,y:t.x*this.m12+t.y*this.m22+e*this.m32,z:t.x*this.m13+t.y*this.m23+e*this.m33}}clone(){return new Qe(this.value)}multiply(t){const e=this.clone(),n=t instanceof Qe?t:new Qe(t);return this.m11=n.m11*e.m11+n.m12*e.m21+n.m13*e.m31,this.m12=n.m11*e.m12+n.m12*e.m22+n.m13*e.m32,this.m13=n.m11*e.m13+n.m12*e.m23+n.m13*e.m33,this.m21=n.m21*e.m11+n.m22*e.m21+n.m23*e.m31,this.m22=n.m21*e.m12+n.m22*e.m22+n.m23*e.m32,this.m23=n.m21*e.m13+n.m22*e.m23+n.m23*e.m33,this.m31=n.m31*e.m11+n.m32*e.m21+n.m33*e.m31,this.m32=n.m31*e.m12+n.m32*e.m22+n.m33*e.m32,this.m33=n.m31*e.m13+n.m32*e.m23+n.m33*e.m33,this}append(t){return this.multiply(t)}prepend(t){return t.multiply(this),this}invert(){const t=this.m11,e=this.m12,n=this.m13,s=this.m21,r=this.m22,a=this.m23,i=this.m31,l=this.m32,c=this.m33,u=c*r-a*l,f=-c*s+a*i,d=l*s-r*i;let h=t*u+e*f+n*d;return h?(h=1/h,this.m11=u*h,this.m12=(-c*e+n*l)*h,this.m13=(a*e-n*r)*h,this.m21=f*h,this.m22=(c*t-n*i)*h,this.m23=(-a*t+n*s)*h,this.m31=d*h,this.m32=(-l*t+e*i)*h,this.m33=(r*t-e*s)*h,this):null}adjugate(){const t=new Qe;return t.m11=this.m22*this.m33-this.m32*this.m23,t.m12=this.m32*this.m13-this.m12*this.m33,t.m13=this.m12*this.m23-this.m22*this.m13,t.m21=this.m31*this.m23-this.m21*this.m33,t.m22=this.m11*this.m33-this.m31*this.m13,t.m23=this.m21*this.m13-this.m11*this.m23,t.m31=this.m21*this.m32-this.m31*this.m22,t.m32=this.m31*this.m12-this.m11*this.m32,t.m33=this.m11*this.m22-this.m21*this.m12,t}split(){let t=qe(Math.atan2(this.m12,this.m11));return this.m11<0&&this.m22>=0&&(t+=180),{x:this.m31,y:this.m32,degree:t,scaleX:Math.sqrt(this.m11*this.m11+this.m12*this.m12),scaleY:Math.sqrt(this.m21*this.m21+this.m22*this.m22),skewX:qe(Math.atan2(-this.m21,this.m22)),skewY:qe(Math.atan2(this.m12,this.m11))}}getGroupCoords(t){const e=this.value[0],n=this.value[1],s=this.value[2],r=this.value[3],a=this.value[4],i=this.value[5],l=t.value[0],c=t.value[1],u=t.value[2],f=t.value[3],d=t.value[4],h=t.value[5],p=l*f,b=c*u,x=(u*n-e*f)/(b-p),k=(l*n-e*c)/(p-b),g=(u*r-s*f)/(b-p),m=(l*r-s*c)/(p-b),y=(u*(i-h)+f*(d-a))/(b-p),_=(l*(i-h)+c*(d-a))/(p-b),w=[x,k,g,m,y,_];return new Qe(w)}toString(t=6){return this.matrix4.is2D()?`matrix(${this.value.map(e=>ke(e,t)).join(",")})`:this.matrix4.toString()}translate(t,e){return this.multiply([1,0,0,1,t,e]),this.toMatrix4(),this}translateTo(t,e){return this.translate(t-this.m31,e-this.m32)}translateX(t){return this.translate(t,0)}translateXTo(t){return this.translateTo(t,this.m32)}translateY(t){return this.translate(0,t)}translateYTo(t){return this.translateTo(this.m31,t)}translateZ(t){return this.matrix4.translate(0,0,t),this.matrix4.toMatrix(this),this}translateZTo(t){return this.translateZ(t-this.matrix4.m43),this}translate3d(t,e,n){return this.matrix4.translate(t,e,n),this.matrix4.toMatrix(this),this}translate3dTo(t,e,n){return this.translate3d(t-this.matrix4.m41,e-this.matrix4.m42,n-this.matrix4.m43),this}rotate(t,e=0,n=0){const s=ee(t),r=Math.cos(s),a=Math.sin(s);return this.translate(e,n),this.multiply([r,a,-a,r,0,0]),this.translate(-e,-n),this.toMatrix4(),this}rotateTo(t,e=0,n=0){const{degree:s}=this.split();return this.rotate(t-s,e,n),this}rotateX(t){return this.matrix4.rotateX(t),this.matrix4.toMatrix(this),this}rotateXTo(t){const{degreeX:e}=this.matrix4.split();return this.rotateX(t-e),this}rotateY(t){return this.matrix4.rotateY(t),this.matrix4.toMatrix(this),this}rotateYTo(t){const{degreeY:e}=this.matrix4.split();return this.rotateY(t-e),this}rotateZ(t){return this.matrix4.rotateZ(t),this.matrix4.toMatrix(this),this}rotateZTo(t){const{degreeZ:e}=this.matrix4.split();return this.rotateZ(t-e),this}rotate3d(t,e,n){return this.matrix4.rotateX(t).rotateY(e).rotateZ(n),this.matrix4.toMatrix(this),this}rotate3dTo(t,e,n){const{degreeX:s,degreeY:r,degreeZ:a}=this.matrix4.split();return this.rotate3d(t-s,e-r,n-a),this}scale(t,e=t,n=0,s=0){return this.translate(n,s),this.multiply([t,0,0,e,0,0]),this.translate(-n,-s),this.toMatrix4(),this}scaleTo(t,e=t,n=0,s=0){return this.scale(t/this.m11,e/this.m22,n,s)}scaleX(t){return this.scale(t,1)}scaleXTo(t){return this.scale(t/this.m11,1)}scaleY(t){return this.scale(1,t)}scaleYTo(t){return this.scale(1,t/this.m22)}scaleZ(t){return this.matrix4.scale(1,1,t),this.matrix4.toMatrix(this),this}scaleZTo(t){const{scalarZ:e}=this.matrix4.split();return this.scaleZ(t/e),this}scale3d(t,e=t,n=t){return this.matrix4.scale(t,e,n),this.matrix4.toMatrix(this),this}scale3dTo(t,e=t,n=t){const{scalarX:s,scalarY:r,scalarZ:a}=this.matrix4.split();return this.scale3d(t/s,e/r,n/a),this}skew(t,e=t){return this.multiply([Math.cos(ee(e)),Math.sin(ee(e)),-Math.sin(ee(t)),Math.cos(ee(t)),0,0]),this.toMatrix4(),this}skewTo(t,e=t){const{skewX:n,skewY:s}=this.split();return this.skew(t-n,e-s)}skewX(t){const{skewY:e}=this.split();return this.skew(t,e)}skewXTo(t){const{skewY:e}=this.split();return this.skewTo(t,e)}skewY(t){const{skewX:e}=this.split();return this.skew(e,t)}skewYTo(t){const{skewX:e}=this.split();return this.skewTo(e,t)}skewZ(t){return this}skewZTo(t){return this}skew3d(t,e,n){return this}skew3dTo(t,e,n){return this}perspective(t){return this.matrix4.perspective(t),this.matrix4.toMatrix(this),this}}const xv=new ho(0,0,0),kv=new ho(1,1,1),en=new ho,aa=new ho,Ze=new ho,Gn=new ho,Al=new Ys,po=new Ke;function $l(o,t,e){const n=new Qe;return n.rotate(qe(o)),n.transformPoint({x:t,y:e})}function Nl(o,t,e){const n=kd(o);return n.props.style=n.props.style||{},t?n.props.style[t]||n.props.style[p1(t)]||n.props.style[ko(t)]||"":n.props.style}function Fd(o){const t={};if(getComputedStyle){const e=getComputedStyle(o);for(let n=0,s=e.length;n<s;n++)t[e[n]]=e.getPropertyValue(t[n])}else{const e=o.currentStyle;for(const n in e)t[n]=e[n]}return o.style.cssText&&o.style.cssText.split(";").filter(e=>!!e).forEach(e=>{const[n,s]=e.split(":");n&&s&&(t[n.trim()]=s.trim())}),t}function zd(o,t,e){let n=o.style[t]||"";if(!n&&getComputedStyle){t=ko(t);const s=getComputedStyle(o,e),r=s.getPropertyPriority(t);n=s.getPropertyValue(t).trim()+(r?"!"+r:"")}return n||(n=o.currentStyle[t]||""),n}function Vs(o,t,e){typeof t=="string"&&e?o.style.setProperty(ko(t),e.replace(/!important/i,""),e.toLowerCase().includes("!important")?"important":""):t instanceof Object&&Object.keys(t).forEach(n=>{Vs(o,n,t[n])})}function Dd(o,t){typeof t=="string"?o.style.removeProperty(ko(t)):Object.keys(t).forEach(e=>{Dd(o,e)})}function Co(o,t){let e;if(typeof t=="string"){const n=document.querySelector(t)?.shadowRoot;n?e=n:e=document.querySelector(t)}else e=t||document.getElementsByTagName("head")[0];if(e){const n=document.createElement("style");return n.innerHTML=o,e.appendChild(n),()=>{(e instanceof HTMLElement||e instanceof ShadowRoot)&&e.removeChild(n)}}else{const n=document.styleSheets[0].insertRule(o);return()=>{document.styleSheets[0].deleteRule(n)}}}function wv(o,t,e){if(t===void 0&&e===void 0)return Md(o);if(typeof t=="string"&&e===void 0)return Cv(o,t);let n={};typeof t=="object"?n=t:typeof t=="string"&&typeof e=="string"&&(n[t]=""+e),cv(o,s=>{Object.entries(n).forEach(([r,a])=>{s.props[r]=""+a})})}function Md(o){const t={};for(let e=0,n=o.attributes,s=n.length;e<s;e++){const r=n[e];r.nodeName&&r.nodeValue&&(r.nodeName==="style"?t[r.nodeName]=Fd(o):t[r.nodeName]=r.nodeValue)}return t}function Cv(o,t){return t==="style"?Fd(o):o.getAttribute(ko(t))}function ia(o,t,e){return o.setAttribute(ko(t),""+e)}function Tv(o,t){const e=[];return e.push(Jt(o,"dragenter",n=>{qr(n),t?.onEnter?.(n)})),e.push(Jt(o,"dragover",n=>{qr(n);const s=n.dataTransfer;s&&(s.dropEffect="move"),t?.onOver?.(n)})),e.push(Jt(o,"dragleave",n=>{qr(n),t?.onLeave?.(n)})),e.push(Jt(o,"drop",n=>{qr(n);const s=n.dataTransfer;if(!s){t?.onDrop?.(n,[]);return}t?.onDrop?.(n,[...s.files])})),()=>{e.forEach(n=>n())}}function la(){const o=document.documentElement;return{clientWidth:o.clientWidth,clientHeight:o.clientHeight,clientTop:o.clientTop,clientLeft:o.clientLeft,scrollWidth:o.scrollWidth,scrollHeight:o.scrollHeight,scrollTop:o.scrollTop,scrollLeft:o.scrollLeft,offsetWidth:o.offsetWidth,offsetHeight:o.offsetHeight,offsetTop:o.offsetTop,offsetLeft:o.offsetLeft,offsetParent:o.offsetParent}}function Xs(){return typeof window.innerWidth=="number"?{width:window.innerWidth,height:window.innerHeight}:document.compatMode==="CSS1Compat"?{width:document.documentElement.clientWidth,height:document.documentElement.clientHeight}:{width:document.body.clientWidth,height:document.body.clientHeight}}function Ld(o){const{top:t,left:e,width:n,height:s}=o.getBoundingClientRect(),{scrollLeft:r,scrollTop:a}=la();return{x:e+r,y:t+a,width:n,height:s}}function Ev(){const{clientHeight:o,scrollTop:t,scrollHeight:e}=la(),n=e-o;return n<=0?0:t/n*100}function Sv(){const o={x:0,y:0,dx:0,dy:0,dStartX:0,dStartY:0,isDown:!1},t={x:0,y:0,dx:0,dy:0,dStartX:0,dStartY:0,isDown:!1};return{mousePoint:t,setStartMousePoint:function(e,n){o.x=e.x,o.y=e.y,typeof n=="boolean"&&(o.isDown=n),this.setCurrentMousePoint(e,n)},setCurrentMousePoint:(e,n)=>{const s=t.x,r=t.y;t.x=e.x,t.y=e.y,t.dx=t.x-s,t.dy=t.y-r,t.dStartX=t.x-o.x,t.dStartY=t.y-o.y,typeof n=="boolean"&&(t.isDown=n)}}}function Bd(o){if("center"in o)return o.center;if(typeof o.pageX=="number"&&typeof o.pageY=="number")return{x:o.pageX,y:o.pageY};const{scrollLeft:t,scrollTop:e}=la();return{x:o.clientX+t,y:o.clientY+e}}function Zs(o,t){const e={x:0,y:0};if(t){const n=Bd(o),s=Ld(t);e.x=Yt(n.x-s.x,0,s.width),e.y=Yt(n.y-s.y,0,s.height)}else{let n=0,s=0;if("currentTarget"in o&&o.currentTarget&&o.target&&o.currentTarget!=o.target){const r=o.currentTarget.getBoundingClientRect(),a=o.target.getBoundingClientRect();n=a.left-r.left,s=a.top-r.top}if("offsetX"in o)e.x=o.offsetX+n,e.y=o.offsetY+s;else{const r=Bd(o),a=Ld(o.target);e.x=Yt(r.x-a.x+n,0,a.width),e.y=Yt(r.y-a.y+s,0,a.height)}}return e}var Yd={exports:{}};/*! Hammer.JS - v2.0.7 - 2016-04-22
|
|
39
39
|
* http://hammerjs.github.io/
|
|
40
40
|
*
|
|
41
41
|
* Copyright (c) 2016 Jorik Tangelder;
|
|
42
42
|
* Licensed under the MIT license */(function(o){(function(t,e,n,s){var r=["","webkit","Moz","MS","ms","o"],a=e.createElement("div"),i="function",l=Math.round,c=Math.abs,u=Date.now;function f(C,O,R){return setTimeout(m(C,R),O)}function d(C,O,R){return Array.isArray(C)?(h(C,R[O],R),!0):!1}function h(C,O,R){var L;if(C)if(C.forEach)C.forEach(O,R);else if(C.length!==s)for(L=0;L<C.length;)O.call(R,C[L],L,C),L++;else for(L in C)C.hasOwnProperty(L)&&O.call(R,C[L],L,C)}function p(C,O,R){var L="DEPRECATED METHOD: "+O+`
|
|
43
43
|
`+R+` AT
|
|
44
|
-
`;return function(){var K=new Error("get-stack-trace"),pt=K&&K.stack?K.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",zt=t.console&&(t.console.warn||t.console.log);return zt&&zt.call(t.console,L,pt),C.apply(this,arguments)}}var b;typeof Object.assign!="function"?b=function(O){if(O===s||O===null)throw new TypeError("Cannot convert undefined or null to object");for(var R=Object(O),L=1;L<arguments.length;L++){var K=arguments[L];if(K!==s&&K!==null)for(var pt in K)K.hasOwnProperty(pt)&&(R[pt]=K[pt])}return R}:b=Object.assign;var x=p(function(O,R,L){for(var K=Object.keys(R),pt=0;pt<K.length;)(!L||L&&O[K[pt]]===s)&&(O[K[pt]]=R[K[pt]]),pt++;return O},"extend","Use `assign`."),k=p(function(O,R){return x(O,R,!0)},"merge","Use `assign`.");function g(C,O,R){var L=O.prototype,K;K=C.prototype=Object.create(L),K.constructor=C,K._super=L,R&&b(K,R)}function m(C,O){return function(){return C.apply(O,arguments)}}function y(C,O){return typeof C==i?C.apply(O&&O[0]||s,O):C}function _(C,O){return C===s?O:C}function w(C,O,R){h(M(O),function(L){C.addEventListener(L,R,!1)})}function $(C,O,R){h(M(O),function(L){C.removeEventListener(L,R,!1)})}function Y(C,O){for(;C;){if(C==O)return!0;C=C.parentNode}return!1}function B(C,O){return C.indexOf(O)>-1}function M(C){return C.trim().split(/\s+/g)}function ut(C,O,R){if(C.indexOf&&!R)return C.indexOf(O);for(var L=0;L<C.length;){if(R&&C[L][R]==O||!R&&C[L]===O)return L;L++}return-1}function j(C){return Array.prototype.slice.call(C,0)}function tt(C,O,R){for(var L=[],K=[],pt=0;pt<C.length;){var zt=O?C[pt][O]:C[pt];ut(K,zt)<0&&L.push(C[pt]),K[pt]=zt,pt++}return R&&(O?L=L.sort(function(Pe,Me){return Pe[O]>Me[O]}):L=L.sort()),L}function gt(C,O){for(var R,L,K=O[0].toUpperCase()+O.slice(1),pt=0;pt<r.length;){if(R=r[pt],L=R?R+K:O,L in C)return L;pt++}return s}var Ot=1;function $t(){return Ot++}function xt(C){var O=C.ownerDocument||C;return O.defaultView||O.parentWindow||t}var kt=/mobile|tablet|ip(ad|hone|od)|android/i,ne="ontouchstart"in t,me=gt(t,"PointerEvent")!==s,he=ne&&kt.test(navigator.userAgent),Vt="touch",et="pen",A="mouse",se="kinect",Nt=25,F=1,ot=2,G=4,it=8,Pt=1,Ht=2,Et=4,S=8,E=16,z=Ht|Et,X=S|E,U=z|X,H=["x","y"],rt=["clientX","clientY"];function q(C,O){var R=this;this.manager=C,this.callback=O,this.element=C.element,this.target=C.options.inputTarget,this.domHandler=function(L){y(C.options.enable,[C])&&R.handler(L)},this.init()}q.prototype={handler:function(){},init:function(){this.evEl&&w(this.element,this.evEl,this.domHandler),this.evTarget&&w(this.target,this.evTarget,this.domHandler),this.evWin&&w(xt(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&$(this.element,this.evEl,this.domHandler),this.evTarget&&$(this.target,this.evTarget,this.domHandler),this.evWin&&$(xt(this.element),this.evWin,this.domHandler)}};function nt(C){var O,R=C.options.inputClass;return R?O=R:me?O=$c:he?O=Ja:ne?O=Nc:O=De,new O(C,Q)}function Q(C,O,R){var L=R.pointers.length,K=R.changedPointers.length,pt=O&F&&L-K===0,zt=O&(G|it)&&L-K===0;R.isFirst=!!pt,R.isFinal=!!zt,pt&&(C.session={}),R.eventType=O,wt(C,R),C.emit("hammer.input",R),C.recognize(R),C.session.prevInput=R}function wt(C,O){var R=C.session,L=O.pointers,K=L.length;R.firstInput||(R.firstInput=St(O)),K>1&&!R.firstMultiple?R.firstMultiple=St(O):K===1&&(R.firstMultiple=!1);var pt=R.firstInput,zt=R.firstMultiple,Te=zt?zt.center:pt.center,Pe=O.center=Ft(L);O.timeStamp=u(),O.deltaTime=O.timeStamp-pt.timeStamp,O.angle=ve(Te,Pe),O.distance=Ce(Te,Pe),lt(R,O),O.offsetDirection=Gt(O.deltaX,O.deltaY);var Me=te(O.deltaTime,O.deltaX,O.deltaY);O.overallVelocityX=Me.x,O.overallVelocityY=Me.y,O.overallVelocity=c(Me.x)>c(Me.y)?Me.x:Me.y,O.scale=zt?ze(zt.pointers,L):1,O.rotation=zt?He(zt.pointers,L):0,O.maxPointers=R.prevInput?O.pointers.length>R.prevInput.maxPointers?O.pointers.length:R.prevInput.maxPointers:O.pointers.length,vt(R,O);var Eo=C.element;Y(O.srcEvent.target,Eo)&&(Eo=O.srcEvent.target),O.target=Eo}function lt(C,O){var R=O.center,L=C.offsetDelta||{},K=C.prevDelta||{},pt=C.prevInput||{};(O.eventType===F||pt.eventType===G)&&(K=C.prevDelta={x:pt.deltaX||0,y:pt.deltaY||0},L=C.offsetDelta={x:R.x,y:R.y}),O.deltaX=K.x+(R.x-L.x),O.deltaY=K.y+(R.y-L.y)}function vt(C,O){var R=C.lastInterval||O,L=O.timeStamp-R.timeStamp,K,pt,zt,Te;if(O.eventType!=it&&(L>Nt||R.velocity===s)){var Pe=O.deltaX-R.deltaX,Me=O.deltaY-R.deltaY,Eo=te(L,Pe,Me);pt=Eo.x,zt=Eo.y,K=c(Eo.x)>c(Eo.y)?Eo.x:Eo.y,Te=Gt(Pe,Me),C.lastInterval=O}else K=R.velocity,pt=R.velocityX,zt=R.velocityY,Te=R.direction;O.velocity=K,O.velocityX=pt,O.velocityY=zt,O.direction=Te}function St(C){for(var O=[],R=0;R<C.pointers.length;)O[R]={clientX:l(C.pointers[R].clientX),clientY:l(C.pointers[R].clientY)},R++;return{timeStamp:u(),pointers:O,center:Ft(O),deltaX:C.deltaX,deltaY:C.deltaY}}function Ft(C){var O=C.length;if(O===1)return{x:l(C[0].clientX),y:l(C[0].clientY)};for(var R=0,L=0,K=0;K<O;)R+=C[K].clientX,L+=C[K].clientY,K++;return{x:l(R/O),y:l(L/O)}}function te(C,O,R){return{x:O/C||0,y:R/C||0}}function Gt(C,O){return C===O?Pt:c(C)>=c(O)?C<0?Ht:Et:O<0?S:E}function Ce(C,O,R){R||(R=H);var L=O[R[0]]-C[R[0]],K=O[R[1]]-C[R[1]];return Math.sqrt(L*L+K*K)}function ve(C,O,R){R||(R=H);var L=O[R[0]]-C[R[0]],K=O[R[1]]-C[R[1]];return Math.atan2(K,L)*180/Math.PI}function He(C,O){return ve(O[1],O[0],rt)+ve(C[1],C[0],rt)}function ze(C,O){return Ce(O[0],O[1],rt)/Ce(C[0],C[1],rt)}var Pn={mousedown:F,mousemove:ot,mouseup:G},Ka="mousedown",Oe="mousemove mouseup";function De(){this.evEl=Ka,this.evWin=Oe,this.pressed=!1,q.apply(this,arguments)}g(De,q,{handler:function(O){var R=Pn[O.type];R&F&&O.button===0&&(this.pressed=!0),R&ot&&O.which!==1&&(R=G),this.pressed&&(R&G&&(this.pressed=!1),this.callback(this.manager,R,{pointers:[O],changedPointers:[O],pointerType:A,srcEvent:O}))}});var Qa={pointerdown:F,pointermove:ot,pointerup:G,pointercancel:it,pointerout:it},cw={2:Vt,3:et,4:A,5:se},Mm="pointerdown",Lm="pointermove pointerup pointercancel";t.MSPointerEvent&&!t.PointerEvent&&(Mm="MSPointerDown",Lm="MSPointerMove MSPointerUp MSPointerCancel");function $c(){this.evEl=Mm,this.evWin=Lm,q.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}g($c,q,{handler:function(O){var R=this.store,L=!1,K=O.type.toLowerCase().replace("ms",""),pt=Qa[K],zt=cw[O.pointerType]||O.pointerType,Te=zt==Vt,Pe=ut(R,O.pointerId,"pointerId");pt&F&&(O.button===0||Te)?Pe<0&&(R.push(O),Pe=R.length-1):pt&(G|it)&&(L=!0),!(Pe<0)&&(R[Pe]=O,this.callback(this.manager,pt,{pointers:R,changedPointers:[O],pointerType:zt,srcEvent:O}),L&&R.splice(Pe,1))}});var uw={touchstart:F,touchmove:ot,touchend:G,touchcancel:it},fw="touchstart",dw="touchstart touchmove touchend touchcancel";function Bm(){this.evTarget=fw,this.evWin=dw,this.started=!1,q.apply(this,arguments)}g(Bm,q,{handler:function(O){var R=uw[O.type];if(R===F&&(this.started=!0),!!this.started){var L=hw.call(this,O,R);R&(G|it)&&L[0].length-L[1].length===0&&(this.started=!1),this.callback(this.manager,R,{pointers:L[0],changedPointers:L[1],pointerType:Vt,srcEvent:O})}}});function hw(C,O){var R=j(C.touches),L=j(C.changedTouches);return O&(G|it)&&(R=tt(R.concat(L),"identifier",!0)),[R,L]}var pw={touchstart:F,touchmove:ot,touchend:G,touchcancel:it},mw="touchstart touchmove touchend touchcancel";function Ja(){this.evTarget=mw,this.targetIds={},q.apply(this,arguments)}g(Ja,q,{handler:function(O){var R=pw[O.type],L=gw.call(this,O,R);L&&this.callback(this.manager,R,{pointers:L[0],changedPointers:L[1],pointerType:Vt,srcEvent:O})}});function gw(C,O){var R=j(C.touches),L=this.targetIds;if(O&(F|ot)&&R.length===1)return L[R[0].identifier]=!0,[R,R];var K,pt,zt=j(C.changedTouches),Te=[],Pe=this.target;if(pt=R.filter(function(Me){return Y(Me.target,Pe)}),O===F)for(K=0;K<pt.length;)L[pt[K].identifier]=!0,K++;for(K=0;K<zt.length;)L[zt[K].identifier]&&Te.push(zt[K]),O&(G|it)&&delete L[zt[K].identifier],K++;if(Te.length)return[tt(pt.concat(Te),"identifier",!0),Te]}var yw=2500,Ym=25;function Nc(){q.apply(this,arguments);var C=m(this.handler,this);this.touch=new Ja(this.manager,C),this.mouse=new De(this.manager,C),this.primaryTouch=null,this.lastTouches=[]}g(Nc,q,{handler:function(O,R,L){var K=L.pointerType==Vt,pt=L.pointerType==A;if(!(pt&&L.sourceCapabilities&&L.sourceCapabilities.firesTouchEvents)){if(K)vw.call(this,R,L);else if(pt&&bw.call(this,L))return;this.callback(O,R,L)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});function vw(C,O){C&F?(this.primaryTouch=O.changedPointers[0].identifier,Vm.call(this,O)):C&(G|it)&&Vm.call(this,O)}function Vm(C){var O=C.changedPointers[0];if(O.identifier===this.primaryTouch){var R={x:O.clientX,y:O.clientY};this.lastTouches.push(R);var L=this.lastTouches,K=function(){var pt=L.indexOf(R);pt>-1&&L.splice(pt,1)};setTimeout(K,yw)}}function bw(C){for(var O=C.srcEvent.clientX,R=C.srcEvent.clientY,L=0;L<this.lastTouches.length;L++){var K=this.lastTouches[L],pt=Math.abs(O-K.x),zt=Math.abs(R-K.y);if(pt<=Ym&&zt<=Ym)return!0}return!1}var Xm=gt(a.style,"touchAction"),Zm=Xm!==s,Um="compute",Hm="auto",Fc="manipulation",Rn="none",sr="pan-x",rr="pan-y",ti=xw();function zc(C,O){this.manager=C,this.set(O)}zc.prototype={set:function(C){C==Um&&(C=this.compute()),Zm&&this.manager.element.style&&ti[C]&&(this.manager.element.style[Xm]=C),this.actions=C.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var C=[];return h(this.manager.recognizers,function(O){y(O.options.enable,[O])&&(C=C.concat(O.getTouchAction()))}),_w(C.join(" "))},preventDefaults:function(C){var O=C.srcEvent,R=C.offsetDirection;if(this.manager.session.prevented){O.preventDefault();return}var L=this.actions,K=B(L,Rn)&&!ti[Rn],pt=B(L,rr)&&!ti[rr],zt=B(L,sr)&&!ti[sr];if(K){var Te=C.pointers.length===1,Pe=C.distance<2,Me=C.deltaTime<250;if(Te&&Pe&&Me)return}if(!(zt&&pt)&&(K||pt&&R&z||zt&&R&X))return this.preventSrc(O)},preventSrc:function(C){this.manager.session.prevented=!0,C.preventDefault()}};function _w(C){if(B(C,Rn))return Rn;var O=B(C,sr),R=B(C,rr);return O&&R?Rn:O||R?O?sr:rr:B(C,Fc)?Fc:Hm}function xw(){if(!Zm)return!1;var C={},O=t.CSS&&t.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(R){C[R]=O?t.CSS.supports("touch-action",R):!0}),C}var ei=1,so=2,as=4,cn=8,Yo=cn,ar=16,To=32;function Vo(C){this.options=b({},this.defaults,C||{}),this.id=$t(),this.manager=null,this.options.enable=_(this.options.enable,!0),this.state=ei,this.simultaneous={},this.requireFail=[]}Vo.prototype={defaults:{},set:function(C){return b(this.options,C),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(C){if(d(C,"recognizeWith",this))return this;var O=this.simultaneous;return C=oi(C,this),O[C.id]||(O[C.id]=C,C.recognizeWith(this)),this},dropRecognizeWith:function(C){return d(C,"dropRecognizeWith",this)?this:(C=oi(C,this),delete this.simultaneous[C.id],this)},requireFailure:function(C){if(d(C,"requireFailure",this))return this;var O=this.requireFail;return C=oi(C,this),ut(O,C)===-1&&(O.push(C),C.requireFailure(this)),this},dropRequireFailure:function(C){if(d(C,"dropRequireFailure",this))return this;C=oi(C,this);var O=ut(this.requireFail,C);return O>-1&&this.requireFail.splice(O,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(C){return!!this.simultaneous[C.id]},emit:function(C){var O=this,R=this.state;function L(K){O.manager.emit(K,C)}R<cn&&L(O.options.event+Gm(R)),L(O.options.event),C.additionalEvent&&L(C.additionalEvent),R>=cn&&L(O.options.event+Gm(R))},tryEmit:function(C){if(this.canEmit())return this.emit(C);this.state=To},canEmit:function(){for(var C=0;C<this.requireFail.length;){if(!(this.requireFail[C].state&(To|ei)))return!1;C++}return!0},recognize:function(C){var O=b({},C);if(!y(this.options.enable,[this,O])){this.reset(),this.state=To;return}this.state&(Yo|ar|To)&&(this.state=ei),this.state=this.process(O),this.state&(so|as|cn|ar)&&this.tryEmit(O)},process:function(C){},getTouchAction:function(){},reset:function(){}};function Gm(C){return C&ar?"cancel":C&cn?"end":C&as?"move":C&so?"start":""}function jm(C){return C==E?"down":C==S?"up":C==Ht?"left":C==Et?"right":""}function oi(C,O){var R=O.manager;return R?R.get(C):C}function mo(){Vo.apply(this,arguments)}g(mo,Vo,{defaults:{pointers:1},attrTest:function(C){var O=this.options.pointers;return O===0||C.pointers.length===O},process:function(C){var O=this.state,R=C.eventType,L=O&(so|as),K=this.attrTest(C);return L&&(R&it||!K)?O|ar:L||K?R&G?O|cn:O&so?O|as:so:To}});function ni(){mo.apply(this,arguments),this.pX=null,this.pY=null}g(ni,mo,{defaults:{event:"pan",threshold:10,pointers:1,direction:U},getTouchAction:function(){var C=this.options.direction,O=[];return C&z&&O.push(rr),C&X&&O.push(sr),O},directionTest:function(C){var O=this.options,R=!0,L=C.distance,K=C.direction,pt=C.deltaX,zt=C.deltaY;return K&O.direction||(O.direction&z?(K=pt===0?Pt:pt<0?Ht:Et,R=pt!=this.pX,L=Math.abs(C.deltaX)):(K=zt===0?Pt:zt<0?S:E,R=zt!=this.pY,L=Math.abs(C.deltaY))),C.direction=K,R&&L>O.threshold&&K&O.direction},attrTest:function(C){return mo.prototype.attrTest.call(this,C)&&(this.state&so||!(this.state&so)&&this.directionTest(C))},emit:function(C){this.pX=C.deltaX,this.pY=C.deltaY;var O=jm(C.direction);O&&(C.additionalEvent=this.options.event+O),this._super.emit.call(this,C)}});function Dc(){mo.apply(this,arguments)}g(Dc,mo,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Rn]},attrTest:function(C){return this._super.attrTest.call(this,C)&&(Math.abs(C.scale-1)>this.options.threshold||this.state&so)},emit:function(C){if(C.scale!==1){var O=C.scale<1?"in":"out";C.additionalEvent=this.options.event+O}this._super.emit.call(this,C)}});function Mc(){Vo.apply(this,arguments),this._timer=null,this._input=null}g(Mc,Vo,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Hm]},process:function(C){var O=this.options,R=C.pointers.length===O.pointers,L=C.distance<O.threshold,K=C.deltaTime>O.time;if(this._input=C,!L||!R||C.eventType&(G|it)&&!K)this.reset();else if(C.eventType&F)this.reset(),this._timer=f(function(){this.state=Yo,this.tryEmit()},O.time,this);else if(C.eventType&G)return Yo;return To},reset:function(){clearTimeout(this._timer)},emit:function(C){this.state===Yo&&(C&&C.eventType&G?this.manager.emit(this.options.event+"up",C):(this._input.timeStamp=u(),this.manager.emit(this.options.event,this._input)))}});function Lc(){mo.apply(this,arguments)}g(Lc,mo,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Rn]},attrTest:function(C){return this._super.attrTest.call(this,C)&&(Math.abs(C.rotation)>this.options.threshold||this.state&so)}});function Bc(){mo.apply(this,arguments)}g(Bc,mo,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:z|X,pointers:1},getTouchAction:function(){return ni.prototype.getTouchAction.call(this)},attrTest:function(C){var O=this.options.direction,R;return O&(z|X)?R=C.overallVelocity:O&z?R=C.overallVelocityX:O&X&&(R=C.overallVelocityY),this._super.attrTest.call(this,C)&&O&C.offsetDirection&&C.distance>this.options.threshold&&C.maxPointers==this.options.pointers&&c(R)>this.options.velocity&&C.eventType&G},emit:function(C){var O=jm(C.offsetDirection);O&&this.manager.emit(this.options.event+O,C),this.manager.emit(this.options.event,C)}});function si(){Vo.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}g(si,Vo,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Fc]},process:function(C){var O=this.options,R=C.pointers.length===O.pointers,L=C.distance<O.threshold,K=C.deltaTime<O.time;if(this.reset(),C.eventType&F&&this.count===0)return this.failTimeout();if(L&&K&&R){if(C.eventType!=G)return this.failTimeout();var pt=this.pTime?C.timeStamp-this.pTime<O.interval:!0,zt=!this.pCenter||Ce(this.pCenter,C.center)<O.posThreshold;this.pTime=C.timeStamp,this.pCenter=C.center,!zt||!pt?this.count=1:this.count+=1,this._input=C;var Te=this.count%O.taps;if(Te===0)return this.hasRequireFailures()?(this._timer=f(function(){this.state=Yo,this.tryEmit()},O.interval,this),so):Yo}return To},failTimeout:function(){return this._timer=f(function(){this.state=To},this.options.interval,this),To},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==Yo&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}});function Xo(C,O){return O=O||{},O.recognizers=_(O.recognizers,Xo.defaults.preset),new Yc(C,O)}Xo.VERSION="2.0.7",Xo.defaults={domEvents:!1,touchAction:Um,enable:!0,inputTarget:null,inputClass:null,preset:[[Lc,{enable:!1}],[Dc,{enable:!1},["rotate"]],[Bc,{direction:z}],[ni,{direction:z},["swipe"]],[si],[si,{event:"doubletap",taps:2},["tap"]],[Mc]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var kw=1,Wm=2;function Yc(C,O){this.options=b({},Xo.defaults,O||{}),this.options.inputTarget=this.options.inputTarget||C,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=C,this.input=nt(this),this.touchAction=new zc(this,this.options.touchAction),qm(this,!0),h(this.options.recognizers,function(R){var L=this.add(new R[0](R[1]));R[2]&&L.recognizeWith(R[2]),R[3]&&L.requireFailure(R[3])},this)}Yc.prototype={set:function(C){return b(this.options,C),C.touchAction&&this.touchAction.update(),C.inputTarget&&(this.input.destroy(),this.input.target=C.inputTarget,this.input.init()),this},stop:function(C){this.session.stopped=C?Wm:kw},recognize:function(C){var O=this.session;if(!O.stopped){this.touchAction.preventDefaults(C);var R,L=this.recognizers,K=O.curRecognizer;(!K||K&&K.state&Yo)&&(K=O.curRecognizer=null);for(var pt=0;pt<L.length;)R=L[pt],O.stopped!==Wm&&(!K||R==K||R.canRecognizeWith(K))?R.recognize(C):R.reset(),!K&&R.state&(so|as|cn)&&(K=O.curRecognizer=R),pt++}},get:function(C){if(C instanceof Vo)return C;for(var O=this.recognizers,R=0;R<O.length;R++)if(O[R].options.event==C)return O[R];return null},add:function(C){if(d(C,"add",this))return this;var O=this.get(C.options.event);return O&&this.remove(O),this.recognizers.push(C),C.manager=this,this.touchAction.update(),C},remove:function(C){if(d(C,"remove",this))return this;if(C=this.get(C),C){var O=this.recognizers,R=ut(O,C);R!==-1&&(O.splice(R,1),this.touchAction.update())}return this},on:function(C,O){if(C!==s&&O!==s){var R=this.handlers;return h(M(C),function(L){R[L]=R[L]||[],R[L].push(O)}),this}},off:function(C,O){if(C!==s){var R=this.handlers;return h(M(C),function(L){O?R[L]&&R[L].splice(ut(R[L],O),1):delete R[L]}),this}},emit:function(C,O){this.options.domEvents&&ww(C,O);var R=this.handlers[C]&&this.handlers[C].slice();if(!(!R||!R.length)){O.type=C,O.preventDefault=function(){O.srcEvent.preventDefault()};for(var L=0;L<R.length;)R[L](O),L++}},destroy:function(){this.element&&qm(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}};function qm(C,O){var R=C.element;if(R.style){var L;h(C.options.cssProps,function(K,pt){L=gt(R.style,pt),O?(C.oldCssProps[L]=R.style[L],R.style[L]=K):R.style[L]=C.oldCssProps[L]||""}),O||(C.oldCssProps={})}}function ww(C,O){var R=e.createEvent("Event");R.initEvent(C,!0,!0),R.gesture=O,O.target.dispatchEvent(R)}b(Xo,{INPUT_START:F,INPUT_MOVE:ot,INPUT_END:G,INPUT_CANCEL:it,STATE_POSSIBLE:ei,STATE_BEGAN:so,STATE_CHANGED:as,STATE_ENDED:cn,STATE_RECOGNIZED:Yo,STATE_CANCELLED:ar,STATE_FAILED:To,DIRECTION_NONE:Pt,DIRECTION_LEFT:Ht,DIRECTION_RIGHT:Et,DIRECTION_UP:S,DIRECTION_DOWN:E,DIRECTION_HORIZONTAL:z,DIRECTION_VERTICAL:X,DIRECTION_ALL:U,Manager:Yc,Input:q,TouchAction:zc,TouchInput:Ja,MouseInput:De,PointerEventInput:$c,TouchMouseInput:Nc,SingleTouchInput:Bm,Recognizer:Vo,AttrRecognizer:mo,Tap:si,Pan:ni,Swipe:Bc,Pinch:Dc,Rotate:Lc,Press:Mc,on:w,off:$,each:h,merge:k,extend:x,assign:b,inherit:g,bindFn:m,prefixed:gt});var Cw=typeof t<"u"?t:typeof self<"u"?self:{};Cw.Hammer=Xo,typeof s=="function"&&s.amd?s(function(){return Xo}):o.exports?o.exports=Xo:t[n]=Xo})(window,document,"Hammer")})(Yd);var Ov=Yd.exports;const Pv=Z1(Ov);async function Vd(o,t){return new Promise(e=>{const n=new ResizeObserver(s=>{const a=s[0].contentRect;t(a),e(()=>{n.unobserve(o)})});n.observe(o)})}function Sn(o,t){return Rv(o,t)}function Rv(o,t){const e=o.eb,n=a=>{e.on("pointerMove",r),e.on("pointerUp",s),e.on("pointerCancel",s),t?.start?.(a)},s=a=>{e.off("pointerMove",r),e.off("pointerUp",s),e.off("pointerCancel",s),t?.end?.(a)},r=a=>{t?.move?.(a)};return e.on("pointerDown",n),()=>e.off("pointerDown",n)}function ua(o=document.documentElement){const t=new Wr,e=new Pv(o);let n=[];const s=Sv(),r=s.mousePoint,a=E=>{t.emit("mouseDown",E)},i=E=>{t.emit("mouseUp",E)},l=E=>{r.isDown||s.setCurrentMousePoint(Zs(E,o)),t.emit("mouseMove",E)},c=E=>{t.emit("mouseOver",E)},u=E=>{t.emit("mouseOut",E)},f=E=>{t.emit("mouseEnter",E)},d=E=>{t.emit("mouseLeave",E)},h=E=>{t.emit("mouseClick",E)},p=E=>{t.emit("mouseDoubleClick",E)},b=E=>{t.emit("mouseWheel",E)},x=E=>{t.emit("mouseContextMenu",E)},k=E=>{t.emit("touchStart",E)},g=E=>{t.emit("touchEnd",E)},m=E=>{t.emit("touchCancel",E)},y=E=>{const z=E.changedTouches[0];r.isDown||s.setCurrentMousePoint(Zs(z,o)),t.emit("touchMove",E)},_=E=>{t.emit("pointerDown",E)},w=E=>{t.emit("pointerUp",E)},$=E=>{t.emit("pointerCancel",E)},Y=E=>{t.emit("pointerMove",E)},B=E=>{t.emit("pan",E)},M=E=>{t.emit("panStart",E)},ut=E=>{t.emit("panMove",E)},j=E=>{t.emit("panEnd",E)},tt=E=>{t.emit("panCancel",E)},gt=E=>{t.emit("panLeft",E)},Ot=E=>{t.emit("panRight",E)},$t=E=>{t.emit("panUp",E)},xt=E=>{t.emit("panDown",E)},kt=E=>{t.emit("pinch",E)},ne=E=>{t.emit("pinchin",E)},me=E=>{t.emit("pinchout",E)},he=E=>{t.emit("press",E)},Vt=E=>{t.emit("rotate",E)},et=E=>{t.emit("swipe",E)},A=E=>{t.emit("swipeLeft",E)},se=E=>{t.emit("swipeRight",E)},Nt=E=>{t.emit("swipeUp",E)},F=E=>{t.emit("swipeDown",E)},ot=E=>{t.emit("tap",E)},G=E=>{!E.target||o==E.target||o.contains(E.target)||t.emit("tapOutSide",E)},it=E=>{t.emit("transitionstart",E)},Pt=E=>{t.emit("transitionend",E)},Ht=E=>{t.emit("animationstart",E)},Et=E=>{t.emit("animationend",E)};let S={...o.getBoundingClientRect(),width:o.offsetWidth,height:o.offsetHeight};return{el:o,get rect(){return S},mousePoint:r,eb:t,start:async function(){n.push(Jt(o,"mousedown",a)),n.push(Jt(o,"mouseup",i)),n.push(Jt(o,"mousemove",l)),n.push(Jt(o,"mouseover",c)),n.push(Jt(o,"mouseout",u)),n.push(Jt(o,"mouseenter",f)),n.push(Jt(o,"mouseleave",d)),n.push(Jt(o,"click",h)),n.push(Jt(o,"dblclick",p)),n.push(Jt(o,"onwheel"in document.createElement("div")?"wheel":document.onmousewheel!==void 0?"mousewheel":"DOMMouseScroll",b)),n.push(Jt(o,"contextmenu",x)),n.push(Jt(o,"touchstart",k)),n.push(Jt(o,"touchend",g)),n.push(Jt(o,"touchcancel",m)),n.push(Jt(o,"touchmove",y)),n.push(Jt(o,"pointerdown",_)),n.push(Jt(o,"pointerup",w)),n.push(Jt(o,"pointercancel",$)),n.push(Jt(o,"pointermove",Y)),e.on("pan",B),e.on("panstart",M),e.on("panmove",ut),e.on("panend",j),e.on("pancancel",tt),e.on("panleft",gt),e.on("panright",Ot),e.on("panup",$t),e.on("pandown",xt),e.on("pinch",kt),e.on("pinchin",ne),e.on("pinchout",me),e.on("press",he),e.on("rotate",Vt),e.on("swipe",et),e.on("swipeleft",A),e.on("swiperight",se),e.on("swipeup",Nt),e.on("swipedown",F),e.on("tap",ot),n.push(Jt(document,"pointerdown",G)),n.push(Jt(o,"transitionstart",it)),n.push(Jt(o,"transitionend",Pt)),n.push(Jt(o,"animationstart",Ht)),n.push(Jt(o,"animationend",Et));const E=await Vd(o,z=>{S=z,t.emit("resize",z)});n.push(E),n.push(Sn(this,{start:z=>{s.setStartMousePoint(Zs(z,o),!0)},move:z=>{s.setCurrentMousePoint(Zs(z,o))},end:z=>{s.setCurrentMousePoint(Zs(z,o),!1)}}))},end:()=>{t.removeAllListeners(),n.forEach(E=>E()),n=[],e.off("pan",B),e.off("panstart",M),e.off("panmove",ut),e.off("panend",j),e.off("pancancel",tt),e.off("panleft",gt),e.off("panright",Ot),e.off("panup",$t),e.off("pandown",xt),e.off("pinch",kt),e.off("pinchin",ne),e.off("pinchout",me),e.off("press",he),e.off("rotate",Vt),e.off("swipe",et),e.off("swipeleft",A),e.off("swiperight",se),e.off("swipeup",Nt),e.off("swipedown",F),e.off("tap",ot)}}}function Iv(o="(prefers-color-scheme: dark)"){const t=window.matchMedia(o),e=hd(t.matches);return Jt(t,"change",n=>{e.value=n.matches}),e}const Fl=G1("__yz_theme__");if(!Fl.value){const o=Iv("(prefers-color-scheme: dark)");Fl.value=o.value?"dark":"light"}yl(()=>{switch(Fl.value){case"dark":document.documentElement.classList.add("dark"),la(document.documentElement,"data-theme","dark");break;default:document.documentElement.classList.remove("dark"),la(document.documentElement,"data-theme","light");break}});function Zt(o,t=""){return getComputedStyle(document.documentElement).getPropertyValue(o)||t}function Xd(o){document.getElementsByTagName("title")[0].innerText=o,document.title=o}let Zd=!1;function Av(){Zd||(Zd=!0,Co(`
|
|
44
|
+
`;return function(){var K=new Error("get-stack-trace"),pt=K&&K.stack?K.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",zt=t.console&&(t.console.warn||t.console.log);return zt&&zt.call(t.console,L,pt),C.apply(this,arguments)}}var b;typeof Object.assign!="function"?b=function(O){if(O===s||O===null)throw new TypeError("Cannot convert undefined or null to object");for(var R=Object(O),L=1;L<arguments.length;L++){var K=arguments[L];if(K!==s&&K!==null)for(var pt in K)K.hasOwnProperty(pt)&&(R[pt]=K[pt])}return R}:b=Object.assign;var x=p(function(O,R,L){for(var K=Object.keys(R),pt=0;pt<K.length;)(!L||L&&O[K[pt]]===s)&&(O[K[pt]]=R[K[pt]]),pt++;return O},"extend","Use `assign`."),k=p(function(O,R){return x(O,R,!0)},"merge","Use `assign`.");function g(C,O,R){var L=O.prototype,K;K=C.prototype=Object.create(L),K.constructor=C,K._super=L,R&&b(K,R)}function m(C,O){return function(){return C.apply(O,arguments)}}function y(C,O){return typeof C==i?C.apply(O&&O[0]||s,O):C}function _(C,O){return C===s?O:C}function w(C,O,R){h(M(O),function(L){C.addEventListener(L,R,!1)})}function $(C,O,R){h(M(O),function(L){C.removeEventListener(L,R,!1)})}function Y(C,O){for(;C;){if(C==O)return!0;C=C.parentNode}return!1}function B(C,O){return C.indexOf(O)>-1}function M(C){return C.trim().split(/\s+/g)}function ut(C,O,R){if(C.indexOf&&!R)return C.indexOf(O);for(var L=0;L<C.length;){if(R&&C[L][R]==O||!R&&C[L]===O)return L;L++}return-1}function j(C){return Array.prototype.slice.call(C,0)}function tt(C,O,R){for(var L=[],K=[],pt=0;pt<C.length;){var zt=O?C[pt][O]:C[pt];ut(K,zt)<0&&L.push(C[pt]),K[pt]=zt,pt++}return R&&(O?L=L.sort(function(Pe,Me){return Pe[O]>Me[O]}):L=L.sort()),L}function gt(C,O){for(var R,L,K=O[0].toUpperCase()+O.slice(1),pt=0;pt<r.length;){if(R=r[pt],L=R?R+K:O,L in C)return L;pt++}return s}var Ot=1;function $t(){return Ot++}function xt(C){var O=C.ownerDocument||C;return O.defaultView||O.parentWindow||t}var kt=/mobile|tablet|ip(ad|hone|od)|android/i,ne="ontouchstart"in t,me=gt(t,"PointerEvent")!==s,he=ne&&kt.test(navigator.userAgent),Vt="touch",et="pen",A="mouse",se="kinect",Nt=25,F=1,ot=2,G=4,it=8,Pt=1,Ht=2,Et=4,S=8,E=16,z=Ht|Et,X=S|E,U=z|X,H=["x","y"],rt=["clientX","clientY"];function q(C,O){var R=this;this.manager=C,this.callback=O,this.element=C.element,this.target=C.options.inputTarget,this.domHandler=function(L){y(C.options.enable,[C])&&R.handler(L)},this.init()}q.prototype={handler:function(){},init:function(){this.evEl&&w(this.element,this.evEl,this.domHandler),this.evTarget&&w(this.target,this.evTarget,this.domHandler),this.evWin&&w(xt(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&$(this.element,this.evEl,this.domHandler),this.evTarget&&$(this.target,this.evTarget,this.domHandler),this.evWin&&$(xt(this.element),this.evWin,this.domHandler)}};function nt(C){var O,R=C.options.inputClass;return R?O=R:me?O=$c:he?O=Qa:ne?O=Nc:O=De,new O(C,Q)}function Q(C,O,R){var L=R.pointers.length,K=R.changedPointers.length,pt=O&F&&L-K===0,zt=O&(G|it)&&L-K===0;R.isFirst=!!pt,R.isFinal=!!zt,pt&&(C.session={}),R.eventType=O,wt(C,R),C.emit("hammer.input",R),C.recognize(R),C.session.prevInput=R}function wt(C,O){var R=C.session,L=O.pointers,K=L.length;R.firstInput||(R.firstInput=St(O)),K>1&&!R.firstMultiple?R.firstMultiple=St(O):K===1&&(R.firstMultiple=!1);var pt=R.firstInput,zt=R.firstMultiple,Te=zt?zt.center:pt.center,Pe=O.center=Ft(L);O.timeStamp=u(),O.deltaTime=O.timeStamp-pt.timeStamp,O.angle=ve(Te,Pe),O.distance=Ce(Te,Pe),lt(R,O),O.offsetDirection=Gt(O.deltaX,O.deltaY);var Me=te(O.deltaTime,O.deltaX,O.deltaY);O.overallVelocityX=Me.x,O.overallVelocityY=Me.y,O.overallVelocity=c(Me.x)>c(Me.y)?Me.x:Me.y,O.scale=zt?ze(zt.pointers,L):1,O.rotation=zt?He(zt.pointers,L):0,O.maxPointers=R.prevInput?O.pointers.length>R.prevInput.maxPointers?O.pointers.length:R.prevInput.maxPointers:O.pointers.length,vt(R,O);var Eo=C.element;Y(O.srcEvent.target,Eo)&&(Eo=O.srcEvent.target),O.target=Eo}function lt(C,O){var R=O.center,L=C.offsetDelta||{},K=C.prevDelta||{},pt=C.prevInput||{};(O.eventType===F||pt.eventType===G)&&(K=C.prevDelta={x:pt.deltaX||0,y:pt.deltaY||0},L=C.offsetDelta={x:R.x,y:R.y}),O.deltaX=K.x+(R.x-L.x),O.deltaY=K.y+(R.y-L.y)}function vt(C,O){var R=C.lastInterval||O,L=O.timeStamp-R.timeStamp,K,pt,zt,Te;if(O.eventType!=it&&(L>Nt||R.velocity===s)){var Pe=O.deltaX-R.deltaX,Me=O.deltaY-R.deltaY,Eo=te(L,Pe,Me);pt=Eo.x,zt=Eo.y,K=c(Eo.x)>c(Eo.y)?Eo.x:Eo.y,Te=Gt(Pe,Me),C.lastInterval=O}else K=R.velocity,pt=R.velocityX,zt=R.velocityY,Te=R.direction;O.velocity=K,O.velocityX=pt,O.velocityY=zt,O.direction=Te}function St(C){for(var O=[],R=0;R<C.pointers.length;)O[R]={clientX:l(C.pointers[R].clientX),clientY:l(C.pointers[R].clientY)},R++;return{timeStamp:u(),pointers:O,center:Ft(O),deltaX:C.deltaX,deltaY:C.deltaY}}function Ft(C){var O=C.length;if(O===1)return{x:l(C[0].clientX),y:l(C[0].clientY)};for(var R=0,L=0,K=0;K<O;)R+=C[K].clientX,L+=C[K].clientY,K++;return{x:l(R/O),y:l(L/O)}}function te(C,O,R){return{x:O/C||0,y:R/C||0}}function Gt(C,O){return C===O?Pt:c(C)>=c(O)?C<0?Ht:Et:O<0?S:E}function Ce(C,O,R){R||(R=H);var L=O[R[0]]-C[R[0]],K=O[R[1]]-C[R[1]];return Math.sqrt(L*L+K*K)}function ve(C,O,R){R||(R=H);var L=O[R[0]]-C[R[0]],K=O[R[1]]-C[R[1]];return Math.atan2(K,L)*180/Math.PI}function He(C,O){return ve(O[1],O[0],rt)+ve(C[1],C[0],rt)}function ze(C,O){return Ce(O[0],O[1],rt)/Ce(C[0],C[1],rt)}var Pn={mousedown:F,mousemove:ot,mouseup:G},qa="mousedown",Oe="mousemove mouseup";function De(){this.evEl=qa,this.evWin=Oe,this.pressed=!1,q.apply(this,arguments)}g(De,q,{handler:function(O){var R=Pn[O.type];R&F&&O.button===0&&(this.pressed=!0),R&ot&&O.which!==1&&(R=G),this.pressed&&(R&G&&(this.pressed=!1),this.callback(this.manager,R,{pointers:[O],changedPointers:[O],pointerType:A,srcEvent:O}))}});var Ka={pointerdown:F,pointermove:ot,pointerup:G,pointercancel:it,pointerout:it},cw={2:Vt,3:et,4:A,5:se},Mm="pointerdown",Lm="pointermove pointerup pointercancel";t.MSPointerEvent&&!t.PointerEvent&&(Mm="MSPointerDown",Lm="MSPointerMove MSPointerUp MSPointerCancel");function $c(){this.evEl=Mm,this.evWin=Lm,q.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}g($c,q,{handler:function(O){var R=this.store,L=!1,K=O.type.toLowerCase().replace("ms",""),pt=Ka[K],zt=cw[O.pointerType]||O.pointerType,Te=zt==Vt,Pe=ut(R,O.pointerId,"pointerId");pt&F&&(O.button===0||Te)?Pe<0&&(R.push(O),Pe=R.length-1):pt&(G|it)&&(L=!0),!(Pe<0)&&(R[Pe]=O,this.callback(this.manager,pt,{pointers:R,changedPointers:[O],pointerType:zt,srcEvent:O}),L&&R.splice(Pe,1))}});var uw={touchstart:F,touchmove:ot,touchend:G,touchcancel:it},fw="touchstart",dw="touchstart touchmove touchend touchcancel";function Bm(){this.evTarget=fw,this.evWin=dw,this.started=!1,q.apply(this,arguments)}g(Bm,q,{handler:function(O){var R=uw[O.type];if(R===F&&(this.started=!0),!!this.started){var L=hw.call(this,O,R);R&(G|it)&&L[0].length-L[1].length===0&&(this.started=!1),this.callback(this.manager,R,{pointers:L[0],changedPointers:L[1],pointerType:Vt,srcEvent:O})}}});function hw(C,O){var R=j(C.touches),L=j(C.changedTouches);return O&(G|it)&&(R=tt(R.concat(L),"identifier",!0)),[R,L]}var pw={touchstart:F,touchmove:ot,touchend:G,touchcancel:it},mw="touchstart touchmove touchend touchcancel";function Qa(){this.evTarget=mw,this.targetIds={},q.apply(this,arguments)}g(Qa,q,{handler:function(O){var R=pw[O.type],L=gw.call(this,O,R);L&&this.callback(this.manager,R,{pointers:L[0],changedPointers:L[1],pointerType:Vt,srcEvent:O})}});function gw(C,O){var R=j(C.touches),L=this.targetIds;if(O&(F|ot)&&R.length===1)return L[R[0].identifier]=!0,[R,R];var K,pt,zt=j(C.changedTouches),Te=[],Pe=this.target;if(pt=R.filter(function(Me){return Y(Me.target,Pe)}),O===F)for(K=0;K<pt.length;)L[pt[K].identifier]=!0,K++;for(K=0;K<zt.length;)L[zt[K].identifier]&&Te.push(zt[K]),O&(G|it)&&delete L[zt[K].identifier],K++;if(Te.length)return[tt(pt.concat(Te),"identifier",!0),Te]}var yw=2500,Ym=25;function Nc(){q.apply(this,arguments);var C=m(this.handler,this);this.touch=new Qa(this.manager,C),this.mouse=new De(this.manager,C),this.primaryTouch=null,this.lastTouches=[]}g(Nc,q,{handler:function(O,R,L){var K=L.pointerType==Vt,pt=L.pointerType==A;if(!(pt&&L.sourceCapabilities&&L.sourceCapabilities.firesTouchEvents)){if(K)vw.call(this,R,L);else if(pt&&bw.call(this,L))return;this.callback(O,R,L)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});function vw(C,O){C&F?(this.primaryTouch=O.changedPointers[0].identifier,Vm.call(this,O)):C&(G|it)&&Vm.call(this,O)}function Vm(C){var O=C.changedPointers[0];if(O.identifier===this.primaryTouch){var R={x:O.clientX,y:O.clientY};this.lastTouches.push(R);var L=this.lastTouches,K=function(){var pt=L.indexOf(R);pt>-1&&L.splice(pt,1)};setTimeout(K,yw)}}function bw(C){for(var O=C.srcEvent.clientX,R=C.srcEvent.clientY,L=0;L<this.lastTouches.length;L++){var K=this.lastTouches[L],pt=Math.abs(O-K.x),zt=Math.abs(R-K.y);if(pt<=Ym&&zt<=Ym)return!0}return!1}var Xm=gt(a.style,"touchAction"),Zm=Xm!==s,Um="compute",Hm="auto",Fc="manipulation",Rn="none",sr="pan-x",rr="pan-y",Ja=xw();function zc(C,O){this.manager=C,this.set(O)}zc.prototype={set:function(C){C==Um&&(C=this.compute()),Zm&&this.manager.element.style&&Ja[C]&&(this.manager.element.style[Xm]=C),this.actions=C.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var C=[];return h(this.manager.recognizers,function(O){y(O.options.enable,[O])&&(C=C.concat(O.getTouchAction()))}),_w(C.join(" "))},preventDefaults:function(C){var O=C.srcEvent,R=C.offsetDirection;if(this.manager.session.prevented){O.preventDefault();return}var L=this.actions,K=B(L,Rn)&&!Ja[Rn],pt=B(L,rr)&&!Ja[rr],zt=B(L,sr)&&!Ja[sr];if(K){var Te=C.pointers.length===1,Pe=C.distance<2,Me=C.deltaTime<250;if(Te&&Pe&&Me)return}if(!(zt&&pt)&&(K||pt&&R&z||zt&&R&X))return this.preventSrc(O)},preventSrc:function(C){this.manager.session.prevented=!0,C.preventDefault()}};function _w(C){if(B(C,Rn))return Rn;var O=B(C,sr),R=B(C,rr);return O&&R?Rn:O||R?O?sr:rr:B(C,Fc)?Fc:Hm}function xw(){if(!Zm)return!1;var C={},O=t.CSS&&t.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(R){C[R]=O?t.CSS.supports("touch-action",R):!0}),C}var ti=1,so=2,as=4,cn=8,Yo=cn,ar=16,To=32;function Vo(C){this.options=b({},this.defaults,C||{}),this.id=$t(),this.manager=null,this.options.enable=_(this.options.enable,!0),this.state=ti,this.simultaneous={},this.requireFail=[]}Vo.prototype={defaults:{},set:function(C){return b(this.options,C),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(C){if(d(C,"recognizeWith",this))return this;var O=this.simultaneous;return C=ei(C,this),O[C.id]||(O[C.id]=C,C.recognizeWith(this)),this},dropRecognizeWith:function(C){return d(C,"dropRecognizeWith",this)?this:(C=ei(C,this),delete this.simultaneous[C.id],this)},requireFailure:function(C){if(d(C,"requireFailure",this))return this;var O=this.requireFail;return C=ei(C,this),ut(O,C)===-1&&(O.push(C),C.requireFailure(this)),this},dropRequireFailure:function(C){if(d(C,"dropRequireFailure",this))return this;C=ei(C,this);var O=ut(this.requireFail,C);return O>-1&&this.requireFail.splice(O,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(C){return!!this.simultaneous[C.id]},emit:function(C){var O=this,R=this.state;function L(K){O.manager.emit(K,C)}R<cn&&L(O.options.event+Gm(R)),L(O.options.event),C.additionalEvent&&L(C.additionalEvent),R>=cn&&L(O.options.event+Gm(R))},tryEmit:function(C){if(this.canEmit())return this.emit(C);this.state=To},canEmit:function(){for(var C=0;C<this.requireFail.length;){if(!(this.requireFail[C].state&(To|ti)))return!1;C++}return!0},recognize:function(C){var O=b({},C);if(!y(this.options.enable,[this,O])){this.reset(),this.state=To;return}this.state&(Yo|ar|To)&&(this.state=ti),this.state=this.process(O),this.state&(so|as|cn|ar)&&this.tryEmit(O)},process:function(C){},getTouchAction:function(){},reset:function(){}};function Gm(C){return C&ar?"cancel":C&cn?"end":C&as?"move":C&so?"start":""}function jm(C){return C==E?"down":C==S?"up":C==Ht?"left":C==Et?"right":""}function ei(C,O){var R=O.manager;return R?R.get(C):C}function mo(){Vo.apply(this,arguments)}g(mo,Vo,{defaults:{pointers:1},attrTest:function(C){var O=this.options.pointers;return O===0||C.pointers.length===O},process:function(C){var O=this.state,R=C.eventType,L=O&(so|as),K=this.attrTest(C);return L&&(R&it||!K)?O|ar:L||K?R&G?O|cn:O&so?O|as:so:To}});function oi(){mo.apply(this,arguments),this.pX=null,this.pY=null}g(oi,mo,{defaults:{event:"pan",threshold:10,pointers:1,direction:U},getTouchAction:function(){var C=this.options.direction,O=[];return C&z&&O.push(rr),C&X&&O.push(sr),O},directionTest:function(C){var O=this.options,R=!0,L=C.distance,K=C.direction,pt=C.deltaX,zt=C.deltaY;return K&O.direction||(O.direction&z?(K=pt===0?Pt:pt<0?Ht:Et,R=pt!=this.pX,L=Math.abs(C.deltaX)):(K=zt===0?Pt:zt<0?S:E,R=zt!=this.pY,L=Math.abs(C.deltaY))),C.direction=K,R&&L>O.threshold&&K&O.direction},attrTest:function(C){return mo.prototype.attrTest.call(this,C)&&(this.state&so||!(this.state&so)&&this.directionTest(C))},emit:function(C){this.pX=C.deltaX,this.pY=C.deltaY;var O=jm(C.direction);O&&(C.additionalEvent=this.options.event+O),this._super.emit.call(this,C)}});function Dc(){mo.apply(this,arguments)}g(Dc,mo,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Rn]},attrTest:function(C){return this._super.attrTest.call(this,C)&&(Math.abs(C.scale-1)>this.options.threshold||this.state&so)},emit:function(C){if(C.scale!==1){var O=C.scale<1?"in":"out";C.additionalEvent=this.options.event+O}this._super.emit.call(this,C)}});function Mc(){Vo.apply(this,arguments),this._timer=null,this._input=null}g(Mc,Vo,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Hm]},process:function(C){var O=this.options,R=C.pointers.length===O.pointers,L=C.distance<O.threshold,K=C.deltaTime>O.time;if(this._input=C,!L||!R||C.eventType&(G|it)&&!K)this.reset();else if(C.eventType&F)this.reset(),this._timer=f(function(){this.state=Yo,this.tryEmit()},O.time,this);else if(C.eventType&G)return Yo;return To},reset:function(){clearTimeout(this._timer)},emit:function(C){this.state===Yo&&(C&&C.eventType&G?this.manager.emit(this.options.event+"up",C):(this._input.timeStamp=u(),this.manager.emit(this.options.event,this._input)))}});function Lc(){mo.apply(this,arguments)}g(Lc,mo,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Rn]},attrTest:function(C){return this._super.attrTest.call(this,C)&&(Math.abs(C.rotation)>this.options.threshold||this.state&so)}});function Bc(){mo.apply(this,arguments)}g(Bc,mo,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:z|X,pointers:1},getTouchAction:function(){return oi.prototype.getTouchAction.call(this)},attrTest:function(C){var O=this.options.direction,R;return O&(z|X)?R=C.overallVelocity:O&z?R=C.overallVelocityX:O&X&&(R=C.overallVelocityY),this._super.attrTest.call(this,C)&&O&C.offsetDirection&&C.distance>this.options.threshold&&C.maxPointers==this.options.pointers&&c(R)>this.options.velocity&&C.eventType&G},emit:function(C){var O=jm(C.offsetDirection);O&&this.manager.emit(this.options.event+O,C),this.manager.emit(this.options.event,C)}});function ni(){Vo.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}g(ni,Vo,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Fc]},process:function(C){var O=this.options,R=C.pointers.length===O.pointers,L=C.distance<O.threshold,K=C.deltaTime<O.time;if(this.reset(),C.eventType&F&&this.count===0)return this.failTimeout();if(L&&K&&R){if(C.eventType!=G)return this.failTimeout();var pt=this.pTime?C.timeStamp-this.pTime<O.interval:!0,zt=!this.pCenter||Ce(this.pCenter,C.center)<O.posThreshold;this.pTime=C.timeStamp,this.pCenter=C.center,!zt||!pt?this.count=1:this.count+=1,this._input=C;var Te=this.count%O.taps;if(Te===0)return this.hasRequireFailures()?(this._timer=f(function(){this.state=Yo,this.tryEmit()},O.interval,this),so):Yo}return To},failTimeout:function(){return this._timer=f(function(){this.state=To},this.options.interval,this),To},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==Yo&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}});function Xo(C,O){return O=O||{},O.recognizers=_(O.recognizers,Xo.defaults.preset),new Yc(C,O)}Xo.VERSION="2.0.7",Xo.defaults={domEvents:!1,touchAction:Um,enable:!0,inputTarget:null,inputClass:null,preset:[[Lc,{enable:!1}],[Dc,{enable:!1},["rotate"]],[Bc,{direction:z}],[oi,{direction:z},["swipe"]],[ni],[ni,{event:"doubletap",taps:2},["tap"]],[Mc]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var kw=1,Wm=2;function Yc(C,O){this.options=b({},Xo.defaults,O||{}),this.options.inputTarget=this.options.inputTarget||C,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=C,this.input=nt(this),this.touchAction=new zc(this,this.options.touchAction),qm(this,!0),h(this.options.recognizers,function(R){var L=this.add(new R[0](R[1]));R[2]&&L.recognizeWith(R[2]),R[3]&&L.requireFailure(R[3])},this)}Yc.prototype={set:function(C){return b(this.options,C),C.touchAction&&this.touchAction.update(),C.inputTarget&&(this.input.destroy(),this.input.target=C.inputTarget,this.input.init()),this},stop:function(C){this.session.stopped=C?Wm:kw},recognize:function(C){var O=this.session;if(!O.stopped){this.touchAction.preventDefaults(C);var R,L=this.recognizers,K=O.curRecognizer;(!K||K&&K.state&Yo)&&(K=O.curRecognizer=null);for(var pt=0;pt<L.length;)R=L[pt],O.stopped!==Wm&&(!K||R==K||R.canRecognizeWith(K))?R.recognize(C):R.reset(),!K&&R.state&(so|as|cn)&&(K=O.curRecognizer=R),pt++}},get:function(C){if(C instanceof Vo)return C;for(var O=this.recognizers,R=0;R<O.length;R++)if(O[R].options.event==C)return O[R];return null},add:function(C){if(d(C,"add",this))return this;var O=this.get(C.options.event);return O&&this.remove(O),this.recognizers.push(C),C.manager=this,this.touchAction.update(),C},remove:function(C){if(d(C,"remove",this))return this;if(C=this.get(C),C){var O=this.recognizers,R=ut(O,C);R!==-1&&(O.splice(R,1),this.touchAction.update())}return this},on:function(C,O){if(C!==s&&O!==s){var R=this.handlers;return h(M(C),function(L){R[L]=R[L]||[],R[L].push(O)}),this}},off:function(C,O){if(C!==s){var R=this.handlers;return h(M(C),function(L){O?R[L]&&R[L].splice(ut(R[L],O),1):delete R[L]}),this}},emit:function(C,O){this.options.domEvents&&ww(C,O);var R=this.handlers[C]&&this.handlers[C].slice();if(!(!R||!R.length)){O.type=C,O.preventDefault=function(){O.srcEvent.preventDefault()};for(var L=0;L<R.length;)R[L](O),L++}},destroy:function(){this.element&&qm(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}};function qm(C,O){var R=C.element;if(R.style){var L;h(C.options.cssProps,function(K,pt){L=gt(R.style,pt),O?(C.oldCssProps[L]=R.style[L],R.style[L]=K):R.style[L]=C.oldCssProps[L]||""}),O||(C.oldCssProps={})}}function ww(C,O){var R=e.createEvent("Event");R.initEvent(C,!0,!0),R.gesture=O,O.target.dispatchEvent(R)}b(Xo,{INPUT_START:F,INPUT_MOVE:ot,INPUT_END:G,INPUT_CANCEL:it,STATE_POSSIBLE:ti,STATE_BEGAN:so,STATE_CHANGED:as,STATE_ENDED:cn,STATE_RECOGNIZED:Yo,STATE_CANCELLED:ar,STATE_FAILED:To,DIRECTION_NONE:Pt,DIRECTION_LEFT:Ht,DIRECTION_RIGHT:Et,DIRECTION_UP:S,DIRECTION_DOWN:E,DIRECTION_HORIZONTAL:z,DIRECTION_VERTICAL:X,DIRECTION_ALL:U,Manager:Yc,Input:q,TouchAction:zc,TouchInput:Qa,MouseInput:De,PointerEventInput:$c,TouchMouseInput:Nc,SingleTouchInput:Bm,Recognizer:Vo,AttrRecognizer:mo,Tap:ni,Pan:oi,Swipe:Bc,Pinch:Dc,Rotate:Lc,Press:Mc,on:w,off:$,each:h,merge:k,extend:x,assign:b,inherit:g,bindFn:m,prefixed:gt});var Cw=typeof t<"u"?t:typeof self<"u"?self:{};Cw.Hammer=Xo,typeof s=="function"&&s.amd?s(function(){return Xo}):o.exports?o.exports=Xo:t[n]=Xo})(window,document,"Hammer")})(Yd);var Ov=Yd.exports;const Pv=Z1(Ov);async function Vd(o,t){return new Promise(e=>{const n=new ResizeObserver(s=>{const a=s[0].contentRect;t(a),e(()=>{n.unobserve(o)})});n.observe(o)})}function Sn(o,t){return Rv(o,t)}function Rv(o,t){const e=o.eb,n=a=>{e.on("pointerMove",r),e.on("pointerUp",s),e.on("pointerCancel",s),t?.start?.(a)},s=a=>{e.off("pointerMove",r),e.off("pointerUp",s),e.off("pointerCancel",s),t?.end?.(a)},r=a=>{t?.move?.(a)};return e.on("pointerDown",n),()=>e.off("pointerDown",n)}function ca(o=document.documentElement){const t=new vl,e=new Pv(o);let n=[];const s=Sv(),r=s.mousePoint,a=E=>{t.emit("mouseDown",E)},i=E=>{t.emit("mouseUp",E)},l=E=>{r.isDown||s.setCurrentMousePoint(Zs(E,o)),t.emit("mouseMove",E)},c=E=>{t.emit("mouseOver",E)},u=E=>{t.emit("mouseOut",E)},f=E=>{t.emit("mouseEnter",E)},d=E=>{t.emit("mouseLeave",E)},h=E=>{t.emit("mouseClick",E)},p=E=>{t.emit("mouseDoubleClick",E)},b=E=>{t.emit("mouseWheel",E)},x=E=>{t.emit("mouseContextMenu",E)},k=E=>{t.emit("touchStart",E)},g=E=>{t.emit("touchEnd",E)},m=E=>{t.emit("touchCancel",E)},y=E=>{const z=E.changedTouches[0];r.isDown||s.setCurrentMousePoint(Zs(z,o)),t.emit("touchMove",E)},_=E=>{t.emit("pointerDown",E)},w=E=>{t.emit("pointerUp",E)},$=E=>{t.emit("pointerCancel",E)},Y=E=>{t.emit("pointerMove",E)},B=E=>{t.emit("pan",E)},M=E=>{t.emit("panStart",E)},ut=E=>{t.emit("panMove",E)},j=E=>{t.emit("panEnd",E)},tt=E=>{t.emit("panCancel",E)},gt=E=>{t.emit("panLeft",E)},Ot=E=>{t.emit("panRight",E)},$t=E=>{t.emit("panUp",E)},xt=E=>{t.emit("panDown",E)},kt=E=>{t.emit("pinch",E)},ne=E=>{t.emit("pinchin",E)},me=E=>{t.emit("pinchout",E)},he=E=>{t.emit("press",E)},Vt=E=>{t.emit("rotate",E)},et=E=>{t.emit("swipe",E)},A=E=>{t.emit("swipeLeft",E)},se=E=>{t.emit("swipeRight",E)},Nt=E=>{t.emit("swipeUp",E)},F=E=>{t.emit("swipeDown",E)},ot=E=>{t.emit("tap",E)},G=E=>{!E.target||o==E.target||o.contains(E.target)||t.emit("tapOutSide",E)},it=E=>{t.emit("transitionstart",E)},Pt=E=>{t.emit("transitionend",E)},Ht=E=>{t.emit("animationstart",E)},Et=E=>{t.emit("animationend",E)};let S={...o.getBoundingClientRect(),width:o.offsetWidth,height:o.offsetHeight};return{el:o,get rect(){return S},mousePoint:r,eb:t,start:async function(){n.push(Jt(o,"mousedown",a)),n.push(Jt(o,"mouseup",i)),n.push(Jt(o,"mousemove",l)),n.push(Jt(o,"mouseover",c)),n.push(Jt(o,"mouseout",u)),n.push(Jt(o,"mouseenter",f)),n.push(Jt(o,"mouseleave",d)),n.push(Jt(o,"click",h)),n.push(Jt(o,"dblclick",p)),n.push(Jt(o,"onwheel"in document.createElement("div")?"wheel":document.onmousewheel!==void 0?"mousewheel":"DOMMouseScroll",b)),n.push(Jt(o,"contextmenu",x)),n.push(Jt(o,"touchstart",k)),n.push(Jt(o,"touchend",g)),n.push(Jt(o,"touchcancel",m)),n.push(Jt(o,"touchmove",y)),n.push(Jt(o,"pointerdown",_)),n.push(Jt(o,"pointerup",w)),n.push(Jt(o,"pointercancel",$)),n.push(Jt(o,"pointermove",Y)),e.on("pan",B),e.on("panstart",M),e.on("panmove",ut),e.on("panend",j),e.on("pancancel",tt),e.on("panleft",gt),e.on("panright",Ot),e.on("panup",$t),e.on("pandown",xt),e.on("pinch",kt),e.on("pinchin",ne),e.on("pinchout",me),e.on("press",he),e.on("rotate",Vt),e.on("swipe",et),e.on("swipeleft",A),e.on("swiperight",se),e.on("swipeup",Nt),e.on("swipedown",F),e.on("tap",ot),n.push(Jt(document,"pointerdown",G)),n.push(Jt(o,"transitionstart",it)),n.push(Jt(o,"transitionend",Pt)),n.push(Jt(o,"animationstart",Ht)),n.push(Jt(o,"animationend",Et));const E=await Vd(o,z=>{S=z,t.emit("resize",z)});n.push(E),n.push(Sn(this,{start:z=>{s.setStartMousePoint(Zs(z,o),!0)},move:z=>{s.setCurrentMousePoint(Zs(z,o))},end:z=>{s.setCurrentMousePoint(Zs(z,o),!1)}}))},end:()=>{t.removeAllListeners(),n.forEach(E=>E()),n=[],e.off("pan",B),e.off("panstart",M),e.off("panmove",ut),e.off("panend",j),e.off("pancancel",tt),e.off("panleft",gt),e.off("panright",Ot),e.off("panup",$t),e.off("pandown",xt),e.off("pinch",kt),e.off("pinchin",ne),e.off("pinchout",me),e.off("press",he),e.off("rotate",Vt),e.off("swipe",et),e.off("swipeleft",A),e.off("swiperight",se),e.off("swipeup",Nt),e.off("swipedown",F),e.off("tap",ot)}}}function Iv(o="(prefers-color-scheme: dark)"){const t=window.matchMedia(o),e=hd(t.matches);return Jt(t,"change",n=>{e.value=n.matches}),e}const Fl=G1("__yz_theme__");if(!Fl.value){const o=Iv("(prefers-color-scheme: dark)");Fl.value=o.value?"dark":"light"}gl(()=>{switch(Fl.value){case"dark":document.documentElement.classList.add("dark"),ia(document.documentElement,"data-theme","dark");break;default:document.documentElement.classList.remove("dark"),ia(document.documentElement,"data-theme","light");break}});function Zt(o,t=""){return getComputedStyle(document.documentElement).getPropertyValue(o)||t}function Xd(o){document.getElementsByTagName("title")[0].innerText=o,document.title=o}let Zd=!1;function Av(){Zd||(Zd=!0,Co(`
|
|
45
45
|
:root {
|
|
46
46
|
--sat:env(safe-area-inset-top, 0px);
|
|
47
47
|
--sar:env(safe-area-inset-right, 0px);
|
|
@@ -54,39 +54,39 @@ Expected function or array of functions, received type ${typeof o}.`),be)}functi
|
|
|
54
54
|
--sab:env(safe-area-inset-bottom, 0px);
|
|
55
55
|
--sal:env(safe-area-inset-left, 0px);
|
|
56
56
|
}
|
|
57
|
-
`))}Av();const Je=new Wr;let fa,da,ha,pa;Vd(document.documentElement,()=>{setTimeout(()=>{const o=getComputedStyle(document.documentElement),t=o.getPropertyValue("--sat");t!==fa&&Je.emit("top",t),fa=t;const e=o.getPropertyValue("--sar");e!==da&&Je.emit("right",e),da=e;const n=o.getPropertyValue("--sab");n!==ha&&Je.emit("bottom",n),ha=n;const s=o.getPropertyValue("--sal");s!==pa&&Je.emit("left",s),pa=s},0)});const ma={onTop:o=>(fa&&o(fa),Je.on("top",o),()=>{Je.off("top",o)}),onRight:o=>(da&&o(da),Je.on("right",o),()=>{Je.off("right",o)}),onBottom:o=>(ha&&o(ha),Je.on("bottom",o),()=>{Je.off("bottom",o)}),onLeft:o=>(pa&&o(pa),Je.on("left",o),()=>{Je.off("left",o)})},Us=[];let Ud=M1;function $v(o){return Us.length==0&&(Ud=Jt(document,"scroll",t=>{Us.forEach(e=>e(t))})),Us.push(o),()=>{id(Us,o),Us.length==0&&Ud()}}async function Nv(o,t,e={threshold:.5}){return new Promise(n=>{new IntersectionObserver((r,a)=>{t(r,a),n(()=>{a.unobserve(o)})},e).observe(o)})}async function ga(o,t){let e;const n=typeof t.threshold=="number"?t.threshold:.5;return Nv(o,s=>{let r=s[0];if(s.length>1){const i=s.find(l=>l.isIntersecting);i&&(r=i)}const a=r.isIntersecting&&r.intersectionRatio>=n;e!==a&&(a?t?.onShow?.():t?.onHide?.()),e=a},{threshold:n,root:t.root})}function ya(o,t,e,n,s){const r=t/e;let a=0,i=0;switch(o){case"aspectFit":r>=1?(a=n,i=a/r,i>s&&(i=s,a=i*r)):(i=s,a=i*r,a>n&&(a=n,i=a/r));break;case"aspectFill":r>=1?(i=s,a=i*r):(a=n,i=a/r);break;case"widthFix":a=n,i=a/r;break;case"heightFix":i=s,a=i*r;break;case"scaleToFill":default:a=n,i=s;break}return{width:a,height:i}}function Fv(o){try{const t=document.createElement("canvas"),e=t.getContext("2d");return t.width=o.width,t.height=o.height,e.drawImage(o,0,0,t.width,t.height),e.getImageData(0,0,t.width,t.height)}catch{return new ImageData(o.width,o.height)}}class zl extends Hn{shapesCountChange=!1;constructor(t){super(t)}shapeInit(){}frameStart(t){return this.shapesCountChange&&(this.shapesCountChange=!1,this.shapes.forEach(e=>{e.parent=this,e.initPathD()}),this.pathd=this.initPathD(),this.shapes.forEach(e=>{!e.forceCXY&&!e.independentTransformInGroup&&(e.cX=this.cX-e.diffXInGroup,e.cY=this.cY-e.diffYInGroup)})),super.frameStart(t)}frameUpdate(t,e){this.shapes.forEach(n=>{!n.independentTransformInGroup&&!n.isDragging&&(n.x=this.x+n.diffXInGroup,n.y=this.y+n.diffYInGroup,n.degree=this.degree+n.diffDegreeInGroup,n.scalarX=this.scalarX*n.diffScalarXInGroup,n.scalarY=this.scalarY*n.diffScalarYInGroup)}),super.frameUpdate(t,e)}addShape(t){(Array.isArray(t)?t:[t]).forEach(e=>{this.shapes.findIndex(n=>n.id==e.id)==-1&&(e.on("draging",(n,s)=>{this.enableDrag&&(this.x+=n,this.y+=s,this.emit("draging",n,s,e))}),this.shapes.push(e),this.shapesCountChange=!0)})}getBoundingClientRect(){const t=[],e=[];this.shapes.forEach(l=>{const c=l.getBoundingClientRect();c&&(t.push(c.x,c.x+c.width),e.push(c.y,c.y+c.height))});const n=this.pathd?.getBoundingClientRect();if(n&&(n.width||n.height)&&(t.push(n.x,n.x+n.width),e.push(n.y,n.y+n.height)),t.length==0||e.length==0)return null;const s=Math.min.apply(0,t),r=Math.min.apply(0,e),a=Math.max.apply(0,t),i=Math.max.apply(0,e);return{x:s,y:r,width:a-s,height:i-r}}setAttrs(t,e){typeof t!="string"?(super.setAttr(t),this.shapes.forEach(n=>{n.setAttr(t)})):e&&(super.setAttr(t,e),this.shapes.forEach(n=>{n.setAttr(t,e)}))}sortPathD(){this.shapes=this.shapes.map(t=>{const e=t.initPathD();return{shape:t,perimeter:e.perimeterPoints()}}).sort((t,e)=>e.perimeter-t.perimeter).map(t=>t.shape)}expendFill(t){const e=t.shapes.length,n=this.shapes.length;if(e<n)return t.expendFill(this);for(let s=n;s<e;s++){const a=t.shapes[s].initPathD().polymorphPoints,i=a[0],l=a[1],c=[["M",i,l]];for(let u=2;u+5<a.length;u+=6)c.push(["C",i,l,i,l,i,l]);this.addShape(new Hn({attrs:{...t.shapes[s].getAttrs()},d:c}))}}strokeDashTween(t,e){switch(e?.type){case"sequence":const n=this.shapes.length-1;this.shapes.forEach((i,l)=>{i.strokeDashTween(t,{...e,delay:l,onStart:()=>{l==0&&e?.onGroupStart?.()},onUpdate:()=>{e?.onGroupUpdate?.()},onComplete:()=>{l==n&&e?.onGroupComplete?.()}})});break;case"parallel":default:const s=new Xe({frameDuration:t}),r={},a={};this.shapes.forEach((i,l)=>{const c=ke(i.getTotalLength(),0);r[`offset_${l}`]=c,a[`offset_${l}`]=0,i.setAttr({strokeDasharray:`${c} ${c}`,strokeDashoffset:`${c}`})}),s.addTween(r,a,Object.assign(e||{},{onStart:()=>{e?.onGroupStart?.()},onUpdate:(i,l)=>{for(const c in i){const u=Yn(c).number;this.shapes[u].setAttr("strokeDashoffset",""+ke(i[c],2))}e?.onGroupUpdate?.()},onComplete:()=>{e?.onGroupComplete?.()}})),s.play();break}}}const zv={1:705234,2:8108026,3:6346665,4:16630114,5:16607842,6:16158139,7:2542847,8:10640125,9:16735870,10:8978266,11:16580418,12:16754221,13:16725759,14:14436630,15:6844849,16:13744437,17:1817755,18:16744272,19:4964291,20:16750848,aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};class Ie{static NAMES=zv;_color={r:0,g:0,b:0,a:1};constructor(t,e){t&&this.setColor(t),this.setAlpha(e)}get color(){return this._color}set color(t){const e=`Color: Unknown color(${t}) type(${typeof t})`;if(typeof t=="number")this.setHEX(t);else if(typeof t=="string"){let n;if(n=/^(\w+)\(([^)]*)\)/.exec(t)){const s=n[2];let r;switch(n[1]){case"rgb":case"rgba":(r=/^\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(s))?(this.r=parseInt(r[1],10),this.g=parseInt(r[2],10),this.b=parseInt(r[3],10),this.a=r[4]?parseFloat(r[4]):1):(r=/^\s*(\d+)%\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(s))?(this.r=Yt(parseFloat(r[1]),0,100)*255/100,this.g=Yt(parseFloat(r[2]),0,100)*255/100,this.b=Yt(parseFloat(r[3]),0,100)*255/100,this.a=r[4]?parseFloat(r[4]):1):console.warn(e);break;case"hsl":case"hsla":(r=/^\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)%\s*,\s*(\d*\.?\d+)%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(s))?this.setHSL(parseFloat(r[1])/360,parseFloat(r[2])/100,parseFloat(r[3])/100,r[4]?parseFloat(r[4]):1):console.warn(e);break;case"hsv":case"hsva":case"hsb":case"hsba":(r=/^\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)%\s*,\s*(\d*\.?\d+)%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(s))?this.setHSV(parseFloat(r[1])/360,parseFloat(r[2])/100,parseFloat(r[3])/100,r[4]?parseFloat(r[4]):1):console.warn(e);break;default:console.warn(e)}}else if(n=/#([A-Fa-f0-9]+)/.exec(t)){const s=n[1],r=s.length;r===3?this.setRGB(parseInt(s.charAt(0),16),parseInt(s.charAt(1),16),parseInt(s.charAt(2),16),1):r===6||r===8?this.setHEX(parseInt(s,16)):console.warn(e)}else if(t&&t.length>0)try{this.setColorName(t)}catch{console.warn(e)}else console.warn(e)}else t instanceof Ie?this.setRGB(t.r,t.g,t.b,t.a):Object.prototype.hasOwnProperty.call(t,"r")&&Object.prototype.hasOwnProperty.call(t,"g")&&Object.prototype.hasOwnProperty.call(t,"b")?this.setRGB(t.r,t.g,t.b,Object.prototype.hasOwnProperty.call(t,"a")?t.a:1):Object.prototype.hasOwnProperty.call(t,"h")&&Object.prototype.hasOwnProperty.call(t,"s")&&Object.prototype.hasOwnProperty.call(t,"l")?this.setHSL(t.h,t.s,t.l,Object.prototype.hasOwnProperty.call(t,"a")?t.a:1):Object.prototype.hasOwnProperty.call(t,"h")&&Object.prototype.hasOwnProperty.call(t,"s")&&Object.prototype.hasOwnProperty.call(t,"v")?this.setHSV(t.h,t.s,t.v,Object.prototype.hasOwnProperty.call(t,"a")?t.a:1):Object.prototype.hasOwnProperty.call(t,"h")&&Object.prototype.hasOwnProperty.call(t,"s")&&Object.prototype.hasOwnProperty.call(t,"b")?this.setHSV(t.h,t.s,t.b,Object.prototype.hasOwnProperty.call(t,"a")?t.a:1):console.warn(e)}setColor(t){return this.color=t,this}set(t){return this.setColor(t)}get r(){return this._color.r}set r(t){try{this._color.r=Yt(Math.round(fo(t)),0,255)}catch{}}get g(){return this._color.g}set g(t){try{this._color.g=Yt(Math.round(fo(t)),0,255)}catch{}}get b(){return this._color.b}set b(t){try{this._color.b=Yt(Math.round(fo(t)),0,255)}catch{}}get a(){return this._color.a}set a(t){try{this._color.a=Yt(fo(t),0,1)}catch{}}setAlpha(t){return this.a=t,this}setFromVector3(t){return this.r=t.x,this.g=t.y,this.b=t.z,this}applyMatrix3(t){const e=this.r,n=this.g,s=this.b,r=t.value;return this.r=r[0]*e+r[3]*n+r[6]*s,this.g=r[1]*e+r[4]*n+r[7]*s,this.b=r[2]*e+r[5]*n+r[8]*s,this}fromBufferAttribute(t,e){return this.r=t.getX(e),this.g=t.getY(e),this.b=t.getZ(e),this}fromArray(t,e=0){return this.r=t[e],this.g=t[e+1],this.b=t[e+2],this.a=t[e+3],this}toArray(t=[],e=0){return t[e]=this.r,t[e+1]=this.g,t[e+2]=this.b,t[e+3]=this.a,t}toRGBString(){return this.a===1?`rgb(${this.r},${this.g},${this.b})`:`rgba(${this.r},${this.g},${this.b},${ke(this.a,6)})`}toHexString(){return this.a===1?("000000"+this.hex.toString(16)).slice(-6):("00000000"+this.hex.toString(16)).slice(-8)}toString(){return this.a===1?"#"+this.toHexString():this.toRGBString()}toColorSpaceString(t=qn){Jd.fromWorkingColorSpace(Mt.copy(this),t);const e=Mt.r,n=Mt.g,s=Mt.b;return t!==qn?`color(${t} ${e.toFixed(3)} ${n.toFixed(3)} ${s.toFixed(3)})`:this.toRGBString()}*[Symbol.iterator](){yield this.r,yield this.g,yield this.b,yield this.a}clone(){return new Ie(this.color)}copy(t){return this.setColor(t.color),this}copySRGBToLinear(t){return this.r=jn(t.r),this.g=jn(t.g),this.b=jn(t.b),this}copyLinearToSRGB(t){return this.r=Wn(t.r),this.g=Wn(t.g),this.b=Wn(t.b),this}convertSRGBToLinear(){return this.copySRGBToLinear(this),this}convertLinearToSRGB(){return this.copyLinearToSRGB(this),this}equals(t){return t.r===this.r&&t.g===this.g&&t.b===this.b&&t.a===this.a}add(t){return this.r=this.r+t.r,this.g=this.g+t.g,this.b=this.b+t.b,this}addColors(t,e){return this.r=t.r+e.r,this.g=t.g+e.g,this.b=t.b+e.b,this}addScalar(t){return this.r=this.r+t,this.g=this.g+t,this.b=this.b+t,this}setScalar(t){return this.r=t,this.g=t,this.b=t,this}sub(t){return this.r=this.r-t.r,this.g=this.g-t.g,this.b=this.b-t.b,this}multiply(t){return this.r=this.r*t.r,this.g=this.g*t.g,this.b=this.b*t.b,this}multiplyScalar(t){return this.r=this.r*t,this.g=this.g*t,this.b=this.b*t,this}opposite(t=!0,e="#000000",n="#ffffff"){if(t)return this.setColor(this.r*.299+this.g*.587+this.b*.114>186?e:n);{const{r:s,g:r,b:a}=this.color;return this.r=255-s,this.g=255-r,this.b=255-a,this}}lighten(t){t=Yt(t,0,1);const{r:e,g:n,b:s}=this.color;return this.r=e+(255-e)*t,this.g=n+(255-n)*t,this.b=s+(255-s)*t,this}darken(t){t=Yt(t,0,1);const{r:e,g:n,b:s}=this.color;return this.r=e*(1-t),this.g=n*(1-t),this.b=s*(1-t),this}lerp(t,e){e=Yt(e,0,1);const{r:n,g:s,b:r}=this.color;return this.r=n+(t.r-n)*e,this.g=s+(t.g-s)*e,this.b=r+(t.b-r)*e,this}lerpColors(t,e,n){return n=Yt(n,0,1),this.r=t.r+(e.r-t.r)*n,this.g=t.g+(e.g-t.g)*n,this.b=t.b+(e.b-t.b)*n,this}static gradient(t,e,n){try{return Mt.lerpColors(new Ie(t),new Ie(e),n).toString()}catch{return e}}static random(){return Mt.setHEX(Math.random()*16777215).toString()}static nextIndex=0;static next(t=Ie.nextIndex){Ie.nextIndex=t;const e=Object.keys(Ie.NAMES),n=e.length;return Mt.setHEX(Ie.NAMES[e[Ie.nextIndex++%n]]).toString()}setColorName(t){const e=Ie.NAMES[t.toLowerCase()];return e!==void 0?this.setHEX(e):t==="none"?this.a=0:(this.a=1,console.warn("Color.setColorName: Unknown color "+t)),this}static getColors(){return Object.values(Ie.NAMES).map(t=>Mt.setHEX(t).toString())}setRGB(t,e,n,s=1){return this.r=t,this.g=e,this.b=n,this.a=s,this}get rgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}setHEX(t){return t=Math.floor(t),t<16777216?(this.r=t>>16&255,this.g=t>>8&255,this.b=t&255,this.a=1):(this.r=t>>24&255,this.g=t>>16&255,this.b=t>>8&255,this.a=(t&255)/255),this}get hex(){let t=(this.r<<16)+(this.g<<8)+this.b;return this.a!==1&&(t=t<<8,t+=Math.round(this.a*255)),t}setHSL(t,e,n,s=1){const r=S1(t,1),a=Yt(e,0,1),i=Yt(n,0,1);if(a===0)this.r=i*255,this.g=i*255,this.b=i*255;else{const l=i<=.5?i*(1+a):i+a-i*a,c=2*i-l;this.r=Ml(c,l,r+.3333333333333333)*255,this.g=Ml(c,l,r)*255,this.b=Ml(c,l,r-.3333333333333333)*255}return this.a=s,this}getHSL(t){const e=this.r,n=this.g,s=this.b,r=Math.max(e,n,s)/255,a=Math.min(e,n,s)/255;let i,l;const c=(a+r)/2;if(a===r)i=0,l=0;else{const u=r-a;switch(l=c<=.5?u/(r+a):u/(2-r-a),r){case e:i=(n-s)/u+(n<s?6:0);break;case n:i=(s-e)/u+2;break;case s:default:i=(e-n)/u+4;break}i/=6}return t&&t.setHSL(i,l,c,this.a),{h:i,s:l,l:c,a:this.a}}offsetHSL(t,e,n){const s=this.getHSL();return this.setHSL(s.h+t,s.s+e,s.l+n)}lerpHSL(t,e){const n=this.getHSL(),s=t.getHSL(),r=ul(n.h,s.h,e),a=ul(n.s,s.s,e),i=ul(n.l,s.l,e);return this.setHSL(r,a,i),this}setHSV(t,e,n,s=1){const r=Yt(t,0,1)*360,a=Yt(e,0,1),i=Yt(n,0,1),l=Math.floor(r/60)%6,c=r/60-Math.floor(r/60),u=i*(1-a),f=i*(1-c*a),d=i*(1-(1-c)*a),h=[[i,d,u],[f,i,u],[u,i,d],[u,f,i],[d,u,i],[i,u,f]][l];return this.r=h[0]*255,this.g=h[1]*255,this.b=h[2]*255,this.a=s,this}setHSB(t,e,n,s=1){this.setHSV(t,e,n,s)}getHSV(t){const{r:e,g:n,b:s,a:r}=this.color,a=Math.max(e,n,s),i=Math.min(e,n,s),l=a-i;let c;e===a?c=(n-s)/l:n===a?c=2+(s-e)/l:c=4+(e-n)/l,c/=6,c<0&&(c+=1);const u=l==0?0:c,f=a===0?0:l/a,d=a/255;return t&&t.setHSV(u,f,d,r),{h:u,s:f,v:d,a:r}}getHSB(t){const{h:e,s:n,v:s,a:r}=this.getHSV(t);return{h:e,s:n,b:s,a:r}}}const Mt=new Ie;function jn(o){return o<.04045?o*.0773993808:Math.pow(o*.9478672986+.0521327014,2.4)}function Wn(o){return o<.0031308?o*12.92:1.055*Math.pow(o,.41666)-.055}const Dv="",qn="srgb",Hd="srgb-linear",Gd="linear",Dl="srgb",jd=new Ys().set(.4123908,.3575843,.1804808,.212639,.7151687,.0721923,.0193308,.1191948,.9505322),Wd=new Ys().set(3.2409699,-1.5373832,-.4986108,-.9692436,1.8759675,.0415551,.0556301,-.203977,1.0569715),qd=[.64,.33,.3,.6,.15,.06],Kd=[.2126,.7152,.0722],Qd=[.3127,.329],Jd={enabled:!0,workingColorSpace:Hd,spaces:{},convert:function(o,t,e){return this.enabled===!1||t===e||!t||!e||(this.spaces[t].transfer===Dl&&(o.r=jn(o.r),o.g=jn(o.g),o.b=jn(o.b)),this.spaces[t].primaries!==this.spaces[e].primaries&&(o.applyMatrix3(this.spaces[t].toXYZ),o.applyMatrix3(this.spaces[e].fromXYZ)),this.spaces[e].transfer===Dl&&(o.r=Wn(o.r),o.g=Wn(o.g),o.b=Wn(o.b))),o},fromWorkingColorSpace:function(o,t){return this.convert(o,this.workingColorSpace,t)},toWorkingColorSpace:function(o,t){return this.convert(o,t,this.workingColorSpace)},getPrimaries:function(o){return this.spaces[o].primaries},getTransfer:function(o){return o===Dv?Gd:this.spaces[o].transfer},getLuminanceCoefficients:function(o,t=this.workingColorSpace){return o.fromArray(this.spaces[t].luminanceCoefficients)},define:function(o){Object.assign(this.spaces,o)},_getMatrix:function(o,t,e){return o.copy(this.spaces[t].toXYZ).multiply(this.spaces[e].fromXYZ)},_getDrawingBufferColorSpace:function(o){return this.spaces[o].outputColorSpaceConfig.drawingBufferColorSpace},_getUnpackColorSpace:function(o=this.workingColorSpace){return this.spaces[o].workingColorSpaceConfig.unpackColorSpace}};Jd.define({[Hd]:{primaries:qd,whitePoint:Qd,transfer:Gd,toXYZ:jd,fromXYZ:Wd,luminanceCoefficients:Kd,workingColorSpaceConfig:{unpackColorSpace:qn},outputColorSpaceConfig:{drawingBufferColorSpace:qn}},[qn]:{primaries:qd,whitePoint:Qd,transfer:Dl,toXYZ:jd,fromXYZ:Wd,luminanceCoefficients:Kd,outputColorSpaceConfig:{drawingBufferColorSpace:qn}}});function Ml(o,t,e){return e<0&&(e+=1),e>1&&(e-=1),e<.16666666666666666?o+(t-o)*6*e:e<.5?t:e<.6666666666666666?o+(t-o)*6*(.6666666666666666-e):o}class Mv extends Hn{toX;toY;constructor(t){super(t),this.toX=t?.toX||0,this.toY=t?.toY||0;let e=this.toX-this.x,n=this.toY-this.y;return new Proxy(this,{set(s,r,a,i){switch(r){case"x":s.toX=a+e;break;case"y":s.toY=a+n;break;case"toX":e=a-s.x;break;case"toY":n=a-s.y;break}return Reflect.set(s,r,a,i)}})}toSVGPathData(){return[["m",0,0],["l",this.toX-this.x,this.toY-this.y]]}toCanvasContext(t){t.beginPath(),t.moveTo(0,0),t.lineTo(this.toX-this.x,this.toY-this.y)}intersection(t){const e=new Sd({x:this.x,y:this.y,toX:this.toX,toY:this.toY}),n=new Sd({x:t.x,y:t.y,toX:t.toX,toY:t.toY});return e.intersection(n)}}const Lv=Mv;class Ll{video;constructor(t){this.video=t}setSrcObject(t){this.video.addEventListener("loadedmetadata",e=>{e.target}),this.video.srcObject=t}captureWebCamera(){navigator.mediaDevices.getUserMedia({video:!0}).then(t=>{this.setSrcObject(t)})}static async videoMediaChangeSupport(){return new Promise(t=>{const e=document.createElement("iframe"),n=document.createElement("video"),s=document.createElement("source"),r=new MediaSource;r.addEventListener("sourceopen",()=>t(!0)),s.src=URL.createObjectURL(r),s.media="(min-width:10px)",n.append(s),e.width="5",e.style.cssText="position: absolute; visibility: hidden;",document.documentElement.append(e),e.contentDocument?.body.append(n),setTimeout(()=>{e.width="15"}),setTimeout(()=>{e.remove(),t(!1)},1e3)})}static tryAutoPlayOrAutoPlayAfterClick(t){return new Promise(e=>{t.play().then(()=>{t.autoplay=!0,e(!0)}).catch(()=>{Ll.setAutoPlayWhenClick(t),e(!1)})})}static setAutoPlayWhenClick(t){function e(){t.autoplay=!0,t.play(),document.removeEventListener("click",e),document.removeEventListener("touchend",e)}document.addEventListener("click",e),document.addEventListener("touchend",e)}}class Bv extends Hn{extendDegree;radius;startDegree;endDegree;diffDegree;constructor(t){super(t),this.extendDegree=t?.extendDegree||0,this.x=(t.x||0)+t.width/2;const e=Math.min(t.width/2,t.height)-t.lineWidth;this.radius=Math.max(0,e-e*Math.abs(Math.sin(ee(this.extendDegree)))),this.y=(t.y||0)+t.height-t.lineWidth-this.radius*Math.abs(Math.sin(ee(this.extendDegree))),this.diffDegree=t.endDegree-t.startDegree,this.startDegree=180+t.startDegree-this.extendDegree,this.endDegree=180+t.endDegree+this.extendDegree,this.setAttr({"stroke-linecap":"round","stroke-width":String(t.lineWidth),stroke:t.color||"none"})}setPercent(t){this.endDegree=this.startDegree+(this.diffDegree+this.extendDegree*2)*t}toSVGPathData(){const{dx:t,dy:e}=Zn(ee(this.startDegree),this.radius),{dx:n,dy:s}=Zn(ee(this.endDegree),this.radius);return[["m",t,e],["a",this.radius,this.radius,0,Math.abs(this.endDegree-this.startDegree)>=180?1:0,1,n-t,s-e]]}toCanvasContext(t){t.beginPath(),t.arc(0,0,this.radius,ee(this.startDegree),ee(this.endDegree),!1)}}const th=Bv;let Yv=class extends zl{percent=0;ringBg;ring;lines=[];bgColor;startColor;endColor;indicatorLineCount;constructor(t){super(t);const e=t?.startDegree||0,n=t?.endDegree||180,s=t?.extendDegree||15,r=t?.lineWidth||12;this.bgColor=t?.bgColor||"#B3C6E7",this.startColor=t?.startColor||"#5A82F0",this.endColor=t?.endColor||"#66B3FF",this.percent=t?.percent||0,this.indicatorLineCount=22+1;const a=20,i=2,l=17;this.ringBg=new th({...t,x:t?.x,y:t?.y,width:t.width,height:t.height,startDegree:e,endDegree:n,extendDegree:s,lineWidth:r,color:this.bgColor}),this.addShape(this.ringBg),this.ring=new th({...t,x:t?.x,y:t?.y,width:t.width,height:t.height,startDegree:e,endDegree:n,extendDegree:s,lineWidth:r}),this.addShape(this.ring);const c=this.ringBg.y-this.ringBg.radius+a;for(let u=0;u<this.indicatorLineCount;u++)this.lines.push(new Lv({...t,centerX:this.ringBg.x,centerY:this.ringBg.y,x:this.ringBg.x,y:c,toX:this.ringBg.x,toY:c+l,degree:this.ringBg.startDegree+90+(n-e+s*2)/(this.indicatorLineCount-1)*u,attrs:{"stroke-linecap":"round","stroke-width":String(i),stroke:this.bgColor}}));this.addShape(this.lines)}setPercent(t){this.percent=t}shapeInit(){this.on("draging",(t,e,n)=>{this.shapes.forEach(s=>{s!=n&&(s.x+=t,s.y+=e)})})}frameUpdate(t,e){const n=this.ringBg.radius-this.ringBg.radius*Math.cos(Math.PI*this.percent),s=this.ringBg.radius*Math.sin(Math.PI*this.percent);if(e){const r=e.createLinearGradient(-this.ringBg.radius,0,-this.ringBg.radius+n,-s,{0:this.startColor,1:this.endColor});this.ring.setAttr({stroke:this.startColor==this.endColor||this.percent==1?this.startColor:r})}else this.ring.setAttr({stroke:this.startColor});this.ring.setPercent(this.percent);for(let r=0;r<this.indicatorLineCount;r++){const a=r/(this.indicatorLineCount-1)<=this.percent;this.lines[r].setAttr({stroke:a&&e?e.createLinearGradient(0,0,this.lines[r].toX-this.lines[r].x,this.lines[r].toY-this.lines[r].y,{0:this.startColor,1:this.endColor}):a?this.startColor:this.bgColor})}}};class Vv extends Hn{radius;startDegree;endDegree;constructor(t){super(t),this.x=(t.x||0)+t.width/2,this.y=(t.y||0)+t.height/2,this.radius=Math.max(0,Math.min(t.width/2,t.height/2)-t.lineWidth),this.startDegree=-90+t.startDegree,this.endDegree=-90+t.endDegree,this.setAttr({"stroke-linecap":"round","stroke-width":String(t.lineWidth),stroke:t.color||"none"})}setPercent(t){this.endDegree=this.startDegree+360*t}toSVGPathData(){const{dx:t,dy:e}=Zn(ee(this.startDegree),this.radius),{dx:n,dy:s}=Zn(ee(this.endDegree),this.radius);return[["m",t,e],["a",this.radius,this.radius,0,Math.abs(this.endDegree-this.startDegree)>=180?1:0,1,n-t,s-e]]}toCanvasContext(t){t.beginPath(),t.arc(0,0,this.radius,ee(this.startDegree),ee(this.endDegree),!1)}}const eh=Vv;let Xv=class extends zl{percent=0;ringBg;ring;bgColor;startColor;endColor;constructor(t){super(t);const e=t?.lineWidth||12;this.bgColor=t?.bgColor||"#B3C6E7",this.startColor=t?.startColor||"#5A82F0",this.endColor=t?.endColor||"#66B3FF",this.percent=t?.percent||0,this.ringBg=new eh({...t,x:t?.x,y:t?.y,width:t.width,height:t.height,startDegree:0,endDegree:360,lineWidth:e,color:this.bgColor}),this.addShape(this.ringBg),this.ring=new eh({...t,x:t?.x,y:t?.y,width:t.width,height:t.height,startDegree:0,endDegree:0,lineWidth:e}),this.addShape(this.ring)}setPercent(t){this.percent=t}shapeInit(){this.on("draging",(t,e,n)=>{this.shapes.forEach(s=>{s!=n&&(s.x+=t,s.y+=e)})})}frameUpdate(t,e){const n=this.ringBg.radius*Math.sin(2*Math.PI*this.percent),s=this.ringBg.radius*Math.cos(2*Math.PI*this.percent);if(e){const r=e.createLinearGradient(0,-this.ringBg.radius,n,-s,{0:this.startColor,1:this.endColor});this.ring.setAttr({stroke:this.startColor==this.endColor||this.percent==1?this.startColor:r})}else this.ring.setAttr({stroke:this.startColor});this.ring.setPercent(this.percent)}};function Zv(o){return window.URL.createObjectURL(o)}const oh=new ml;async function nh(o,t=6e4){return new Promise((e,n)=>{const s=typeof o=="string"?o:Zv(o),r=oh.get(s);if(r)return e(r);const a=document.createElement("img");a.onload=l=>{clearTimeout(i);const c=a.naturalWidth||a.width,u=a.naturalHeight||a.height,f={width:c,height:u,aspectRatio:c/u,element:a,imageData:Fv(a)};oh.set(s,f),e(f),a.onerror=a.onload=null},a.onerror=l=>{clearTimeout(i),n(l)},a.src=s;const i=setTimeout(()=>{n("Timeout!")},t)})}async function Uv(o,t=6e4){return new Promise((e,n)=>{const s=document.createElement("script");s.type="text/javascript",s.async=!1,s.onload=a=>{clearTimeout(r),e(a),s.onerror=s.onload=null},s.onerror=a=>{clearTimeout(r),n(a)},s.src=o;const r=setTimeout(()=>{n("Timeout!")},t);document.body.appendChild(s)})}async function Hv(o,t=document.getElementsByTagName("head")[0],e=6e4){return new Promise((n,s)=>{const r=document.createElement("link");r.setAttribute("type","text/css"),r.setAttribute("rel","stylesheet"),r.onload=i=>{clearTimeout(a),n(i),r.onerror=r.onload=null},r.onerror=i=>{clearTimeout(a),s(i)},r.setAttribute("href",o);const a=setTimeout(()=>{s("Timeout!")},e);t.appendChild(r)})}function sh(o,t){const e=document.createElement("a");e.style.visibility="hidden",e.download=t,typeof o=="string"?e.href=o:e.href=window.URL.createObjectURL(o),e.click()}function va(o,t){return new RegExp("(?:^|\\s+)"+t+"(?:\\s+|$)").test(o.className)||!1}function ba(o){return{el:o,isRoot:()=>/(html|body)/i.test(o.tagName)||o===document.documentElement,isActive:()=>o===document.activeElement&&(o.type||o.href),getRemSize:function(){return parseFloat(getComputedStyle(document.documentElement).fontSize)},rem2px:function(t){return t*this.getRemSize()},getEmSize:function(){return o.parentElement?parseFloat(getComputedStyle(o.parentElement).fontSize):this.getRemSize()},nearestElement:()=>{let t=o;for(;t&&t.nodeType!==1&&t.parentElement;)t=t.parentElement;return t},parent:()=>o.parentElement,parents:function(t=o,e=[]){return!t||t.parentElement===null?e:this.parents(t.parentElement,e.concat([t]))},scrollParent:function(){const t=this.parents();for(let e=0,n=t.length;e<n;e++)if(/(auto|scroll)/.test(Nl(t[e],"overflow")+Nl(t[e],"overflow-y")+Nl(t[e],"overflow-x")))return t[e];return document.scrollingElement||document.documentElement},contains:t=>o.contains?o!=t&&o.contains(t):!!(o.compareDocumentPosition(t)&16),siblings:()=>Array.prototype.slice.call(o.parentElement?.children).filter(t=>t!==o),nextElementSibling:()=>o.nextElementSibling,previousElementSibling:()=>o.previousElementSibling,closest:t=>o.closest(t),shadowRoot:()=>o.shadowRoot,isInput:()=>o.tagName==="INPUT"||o instanceof HTMLInputElement,isSelect:()=>o.tagName==="SELECT"||o instanceof HTMLSelectElement,isTextArea:()=>o.tagName==="TEXTAREA"||o instanceof HTMLTextAreaElement,isInputCheckbox:function(){return this.isInput(o)&&o.getAttribute("type")==="checkbox"},isInputRadio:function(){return this.isInput(o)&&o.getAttribute("type")==="radio"},isInputText:function(){return this.isInput(o)&&o.getAttribute("type")==="text"},isInputNumber:function(){return this.isInput(o)&&o.getAttribute("type")==="number"},changeSelected:function(t){if(this.isSelect()){const e=o.options;for(let n=0,s=e.length;n<s;n++)e[n].selected=e[n].value==t}},changeRadioChecked:function(t){if(this.isInputRadio()){const e=document.getElementsByName(o.name);for(let n=0,s=e.length;n<s;n++){const r=e[n];r.checked=r.value==t}}},changeCheckboxChecked:function(t){this.isInputCheckbox()&&(o.checked=t)},insert:(t,e="append")=>{typeof t=="string"?o[e](Gv(t)):o[e](t)},html:function(t){if(typeof t=="string"){o.innerHTML=t;const e=rh(o);e!=o&&(o=e)}else this.insert(t,"replaceWith")},empty:function(){this.html("")},text:t=>{o.textContent=t},getInnerText:()=>{if(o instanceof SVGElement)return"";let t=o.innerText;if(!t){const e=o.querySelector("slot")?.assignedNodes()||[];let n=0;for(;!t&&n<=e.length-1;)"innerText"in e[n]&&(t=e[n].innerText),n++}return t},remove:()=>o.remove()}}function Gv(o,t=!1){const e=document.createElement("template");return e.innerHTML=o,t&&e.content.childNodes.forEach(n=>{const s=rh(n);s!=n&&e.content.replaceChild(s,n)}),e.content}function rh(o){return o.tagName=="SCRIPT"&&(o=ah(o)),o.querySelectorAll&&o.querySelectorAll("script").forEach(t=>{t.parentNode?.replaceChild(ah(t),t)}),o}function ah(o){const t=o.ownerDocument.createElement("script");t.text=o.text;const e=o.attributes;for(let n=0,s=e.length;n<s;n++)t.setAttribute(e[n].name,e[n].value);return t}async function Bl(o){if(navigator.clipboard)return await navigator.clipboard.writeText(o);{const t=document.createElement("textarea");return t.value=o,t.style.opacity="0",t.style.position="fixed",t.style.top="0",t.style.left="0",t.focus(),t.select(),document.execCommand("copy")}}function jv(o,t={},e=[],n){return{tag:o,props:t,children:e,el:n}}function Yl(o){return jv(o.tagName,Md(o),Array.from(o.children).map(t=>Yl(t)),o)}function _a(o,t=document.documentElement){if(o.el)return o.el;if(o.el=document.createElement(o.tag),o.props)for(const e in o.props){const n=o.props[e];e.startsWith("on")?o.el.addEventListener(e.slice(2).toLowerCase(),n):e==="style"?Vs(o.el,o.props[e]):la(o.el,e,n)}return o.children&&(typeof o.children=="string"?o.el.appendChild(document.createTextNode(o.children)):o.children.forEach(e=>{_a(e,o.el)})),t.appendChild(o.el),o.el}function ih(o,t){if(!o.el)return;if(o.tag!==t.tag){(o.el.parentElement||document.body).replaceChild(_a(t),o.el);return}const e=t.el=o.el,n=o.props,s=t.props;for(const i in n)i in s||(i.startsWith("on")?e.removeEventListener(i.slice(2).toLowerCase(),n[i]):e.removeAttribute(i));for(const i in s){const l=n[i],c=s[i];if(c!=l)if(i.startsWith("on")){const u=i.slice(2).toLowerCase();e.removeEventListener(u,l),e.addEventListener(u,c)}else if(i==="style"){for(const u in l)u in c||Dd(e,u);Vs(e,c)}else la(e,i,c)}const r=o.children||[],a=t.children||[];if(typeof a=="string")e.innerHTML=a;else if(typeof r=="string")e.innerHTML="",a.forEach(i=>{_a(i,e)});else{const i=Math.min(r.length,a.length);for(let l=0;l<i;l++)ih(r[l],a[l]);a.length>r.length&&a.slice(r.length).forEach(l=>{_a(l,e)}),a.length<r.length&&r.slice(a.length).forEach(l=>{l.el&&e.removeChild(l.el)})}}function lh(o){const t=document.documentElement,e=window.top===window.self?window.devicePixelRatio:1;t.dataset.dpr=e;let n=100;const s=function(){const r=Math.min(t.clientWidth,o);t.dataset.width=r,t.dataset.rem=n=Math.round(100*(r/o)),t.style.fontSize=n+"px"};s(),window.rem2px=function(r){return r=parseFloat(r),r*n},window.px2rem=function(r){return r=parseFloat(r),r/n},window.addEventListener&&window.addEventListener("orientationchange"in window?"orientationchange":"resize",s,!1)}class ch{controller;ctx;shapes=[];currentMouseInShape;currentEnableDragMouseInShape;dragDx=0;dragDy=0;constructor(t,e=!1){if(this.controller=t,!(this.controller.el instanceof HTMLCanvasElement))throw new Error("el 应该为 HTMLCanvasElement!");this.ctx=new hv(this.controller.el,this.controller.rect.width,this.controller.rect.height,e),Sn(this.controller,{start:()=>{this.dragDx=0,this.dragDy=0,this.setCursor()},end:()=>{this.dragDx=0,this.dragDy=0,this.setCursor()},move:()=>{this.currentEnableDragMouseInShape&&(this.dragDx+=this.controller.mousePoint.dx,this.dragDy+=this.controller.mousePoint.dy),this.setCursor()}}),this.controller.eb.on("tap",()=>{for(const n of this.shapes)if(this.currentMouseInShape==n){n.emit("clicked",n);let s=n.parent;for(;s;)s.emit("clicked",n),s=s.parent;break}})}setCursor(){this.currentEnableDragMouseInShape?(this.controller.el.style.cursor="grab",this.controller.mousePoint.isDown&&(this.controller.el.style.cursor="grabbing")):this.currentMouseInShape?this.controller.el.style.cursor="pointer":this.controller.el.style.cursor="default"}transformCtxBaseOnShape(t){t.usePathDtoCanvasContext||(this.ctx.translate(t.x,t.y),this.ctx.rotate(ee(t.degree),t.cX,t.cY),this.ctx.scale(t.scalarX,t.scalarY,t.cX,t.cY))}_addDrawShape(t){this.shapes.push(t),t instanceof zl&&t.shapes.forEach(e=>{this._addDrawShape(e)})}draw(t=[]){this.shapes=[],(Array.isArray(t)?t:[t]).forEach(e=>{this._addDrawShape(e)}),this.controller.mousePoint.isDown&&this.currentEnableDragMouseInShape||(this.currentMouseInShape=void 0);for(const e of this.shapes){if(!e.isShow)continue;if(this.ctx.save(),e.frameStart(this.controller.mousePoint),Wv(this.ctx,e.getAttrs()),e.followMouse&&(!ud(e.x,this.controller.mousePoint.x,5)||!ud(e.y,this.controller.mousePoint.y,5))&&e.followTo(this.controller.mousePoint),e.targetToAfterDragFree&&(this.controller.mousePoint.isDown||e.runEaseTo({x:e.targetToAfterDragFree.targetX,y:e.targetToAfterDragFree.targetY},{easing:e.targetToAfterDragFree?.easing})),this.controller.mousePoint.isDown&&this.currentEnableDragMouseInShape==e){e.isDragging=!0;const s=this.dragDx,r=this.dragDy;if(this.dragDx=0,this.dragDy=0,s||r){if(e.x+=s,e.y+=r,e.alongPath){const a=e.alongPath.closestPoint(e.x,e.y);e.x=a.point.x-e.cX,e.y=a.point.y-e.cY}e.emit("draging",s,r)}}else e.isDragging=!1;e.frameUpdate(this.controller.mousePoint,this.ctx),this.transformCtxBaseOnShape(e),e.toCanvasContext(this.ctx),this.ctx.hasSetCustomStrokeStyle&&this.ctx.stroke(),this.ctx.hasSetCustomFillStyle&&this.ctx.fill();const n=this.ctx.currentPath2D;if(!this.currentMouseInShape){const s=this.ctx.isPointInPath(n,this.controller.mousePoint.x,this.controller.mousePoint.y)||this.ctx.isPointInStroke(n,this.controller.mousePoint.x,this.controller.mousePoint.y)||!1;e.isMouseIn=s,s&&(this.currentMouseInShape=e,e.enableDrag&&(this.currentEnableDragMouseInShape=e))}e.frameEnd(this.controller.mousePoint),this.ctx.restore()}this.currentMouseInShape||(this.currentEnableDragMouseInShape=void 0)}drawMouseMoveLine(t="line",e){switch(t){case"brush":const n=e?.brushSize??10,s=e?.brushDensity??50,r=e?.brushColor??"#000000",a=this.ctx.getImageData(0,0,this.ctx.canvas.width,this.ctx.canvas.height),i=a.data,l=new Ie(r);Sn(this.controller,{move:c=>{for(let u=0;u<s;u++){const f=Math.random()*Math.PI*2,d=Math.random()*n,h=this.controller.mousePoint.x+Math.cos(f)*d|0,p=this.controller.mousePoint.y+Math.sin(f)*d|0,b=(h+p*a.width)*4;i[b]=l.r,i[b+1]=l.g,i[b+2]=l.b,i[b+3]=255}this.ctx.putImageData(a)}});break;case"line":default:Sn(this.controller,{start:()=>{this.ctx.beginPath(),this.ctx.moveTo(this.controller.mousePoint.x,this.controller.mousePoint.y)},end:()=>{this.ctx.closePath()},move:()=>{this.ctx.lineTo(this.controller.mousePoint.x,this.controller.mousePoint.y),this.ctx.stroke()}})}}}function Wv(o,t){for(const e in t){const n=t[e];switch(e){case"fill":n!=="none"&&(o.fillStyle=n);break;case"stroke":n!=="none"&&(o.strokeStyle=n);break;case"stroke-width":case"strokeWidth":o.lineWidth=Number(n);break;case"stroke-linecap":case"strokeLinecap":o.lineCap=n;break;case"stroke-linejoin":case"strokeLinejoin":switch(n){case"round":case"bevel":case"miter":o.lineJoin=n;break;default:o.lineJoin="miter";break}break;case"stroke-miterlimit":case"strokeMiterlimit":o.miterLimit=Number(n);break;case"stroke-opacity":case"strokeOpacity":break;case"stroke-dashoffset":case"strokeDashoffset":o.lineDashOffset=Number(n);break;case"stroke-dasharray":case"strokeDasharray":typeof n=="string"&&o.setLineDash(n.split(/\s+/).map(s=>Number(s)));break;case"cursor":break;case"font":typeof n=="string"&&(o.font=n);break;case"font-size":case"fontSize":o.font+=` ${n}`;break;case"font-family":case"fontFamily":o.font+=` ${n}`;break;case"font-weight":case"fontWeight":break;case"font-style":case"fontStyle":break;case"text-anchor":case"textAnchor":switch(n){case"middle":o.textAlign="center";break;case"end":o.textAlign="end";break;case"start":o.textAlign="start";break}break;case"alignment-baseline":case"alignmentBaseline":switch(n){case"middle":case"bottom":case"top":case"alphabetic":case"hanging":case"ideographic":o.textBaseline=n;break;default:o.textBaseline="alphabetic";break}break}}}class qv{map;constructor(t,e=120.619585,n=31.299379,s=18){this.map=new T.Map(t),this.map.centerAndZoom(new T.LngLat(e,n),s)}}function Kv(){return uh().__VUE_DEVTOOLS_GLOBAL_HOOK__}function uh(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const Qv=typeof Proxy=="function",Jv="devtools-plugin:setup",tb="plugin:settings:set";let Kn,Vl;function eb(){var o;return Kn!==void 0||(typeof window<"u"&&window.performance?(Kn=!0,Vl=window.performance):typeof globalThis<"u"&&(!((o=globalThis.perf_hooks)===null||o===void 0)&&o.performance)?(Kn=!0,Vl=globalThis.perf_hooks.performance):Kn=!1),Kn}function ob(){return eb()?Vl.now():Date.now()}class nb{constructor(t,e){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=e;const n={};if(t.settings)for(const a in t.settings){const i=t.settings[a];n[a]=i.defaultValue}const s=`__vue-devtools-plugin-settings__${t.id}`;let r=Object.assign({},n);try{const a=localStorage.getItem(s),i=JSON.parse(a);Object.assign(r,i)}catch{}this.fallbacks={getSettings(){return r},setSettings(a){try{localStorage.setItem(s,JSON.stringify(a))}catch{}r=a},now(){return ob()}},e&&e.on(tb,(a,i)=>{a===this.plugin.id&&this.fallbacks.setSettings(i)}),this.proxiedOn=new Proxy({},{get:(a,i)=>this.target?this.target.on[i]:(...l)=>{this.onQueue.push({method:i,args:l})}}),this.proxiedTarget=new Proxy({},{get:(a,i)=>this.target?this.target[i]:i==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(i)?(...l)=>(this.targetQueue.push({method:i,args:l,resolve:()=>{}}),this.fallbacks[i](...l)):(...l)=>new Promise(c=>{this.targetQueue.push({method:i,args:l,resolve:c})})})}async setRealTarget(t){this.target=t;for(const e of this.onQueue)this.target.on[e.method](...e.args);for(const e of this.targetQueue)e.resolve(await this.target[e.method](...e.args))}}function sb(o,t){const e=o,n=uh(),s=Kv(),r=Qv&&e.enableEarlyProxy;if(s&&(n.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!r))s.emit(Jv,o,t);else{const a=r?new nb(e,s):null;(n.__VUE_DEVTOOLS_PLUGINS__=n.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:e,setupFn:t,proxy:a}),a&&t(a.proxiedTarget)}}/*!
|
|
57
|
+
`))}Av();const Je=new vl;let ua,fa,da,ha;Vd(document.documentElement,()=>{setTimeout(()=>{const o=getComputedStyle(document.documentElement),t=o.getPropertyValue("--sat");t!==ua&&Je.emit("top",t),ua=t;const e=o.getPropertyValue("--sar");e!==fa&&Je.emit("right",e),fa=e;const n=o.getPropertyValue("--sab");n!==da&&Je.emit("bottom",n),da=n;const s=o.getPropertyValue("--sal");s!==ha&&Je.emit("left",s),ha=s},0)});const pa={onTop:o=>(ua&&o(ua),Je.on("top",o),()=>{Je.off("top",o)}),onRight:o=>(fa&&o(fa),Je.on("right",o),()=>{Je.off("right",o)}),onBottom:o=>(da&&o(da),Je.on("bottom",o),()=>{Je.off("bottom",o)}),onLeft:o=>(ha&&o(ha),Je.on("left",o),()=>{Je.off("left",o)})},Us=[];let Ud=M1;function $v(o){return Us.length==0&&(Ud=Jt(document,"scroll",t=>{Us.forEach(e=>e(t))})),Us.push(o),()=>{id(Us,o),Us.length==0&&Ud()}}async function Nv(o,t,e={threshold:.5}){return new Promise(n=>{new IntersectionObserver((r,a)=>{t(r,a),n(()=>{a.unobserve(o)})},e).observe(o)})}async function ma(o,t){let e;const n=typeof t.threshold=="number"?t.threshold:.5;return Nv(o,s=>{let r=s[0];if(s.length>1){const i=s.find(l=>l.isIntersecting);i&&(r=i)}const a=r.isIntersecting&&r.intersectionRatio>=n;e!==a&&(a?t?.onShow?.():t?.onHide?.()),e=a},{threshold:n,root:t.root})}function ga(o,t,e,n,s){const r=t/e;let a=0,i=0;switch(o){case"aspectFit":r>=1?(a=n,i=a/r,i>s&&(i=s,a=i*r)):(i=s,a=i*r,a>n&&(a=n,i=a/r));break;case"aspectFill":r>=1?(i=s,a=i*r):(a=n,i=a/r);break;case"widthFix":a=n,i=a/r;break;case"heightFix":i=s,a=i*r;break;case"scaleToFill":default:a=n,i=s;break}return{width:a,height:i}}function Fv(o){try{const t=document.createElement("canvas"),e=t.getContext("2d");return t.width=o.width,t.height=o.height,e.drawImage(o,0,0,t.width,t.height),e.getImageData(0,0,t.width,t.height)}catch{return new ImageData(o.width,o.height)}}class zl extends Hn{shapesCountChange=!1;constructor(t){super(t)}shapeInit(){}frameStart(t){return this.shapesCountChange&&(this.shapesCountChange=!1,this.shapes.forEach(e=>{e.parent=this,e.initPathD()}),this.pathd=this.initPathD(),this.shapes.forEach(e=>{!e.forceCXY&&!e.independentTransformInGroup&&(e.cX=this.cX-e.diffXInGroup,e.cY=this.cY-e.diffYInGroup)})),super.frameStart(t)}frameUpdate(t,e){this.shapes.forEach(n=>{!n.independentTransformInGroup&&!n.isDragging&&(n.x=this.x+n.diffXInGroup,n.y=this.y+n.diffYInGroup,n.degree=this.degree+n.diffDegreeInGroup,n.scalarX=this.scalarX*n.diffScalarXInGroup,n.scalarY=this.scalarY*n.diffScalarYInGroup)}),super.frameUpdate(t,e)}addShape(t){(Array.isArray(t)?t:[t]).forEach(e=>{this.shapes.findIndex(n=>n.id==e.id)==-1&&(e.on("draging",(n,s)=>{this.enableDrag&&(this.x+=n,this.y+=s,this.emit("draging",n,s,e))}),this.shapes.push(e),this.shapesCountChange=!0)})}getBoundingClientRect(){const t=[],e=[];this.shapes.forEach(l=>{const c=l.getBoundingClientRect();c&&(t.push(c.x,c.x+c.width),e.push(c.y,c.y+c.height))});const n=this.pathd?.getBoundingClientRect();if(n&&(n.width||n.height)&&(t.push(n.x,n.x+n.width),e.push(n.y,n.y+n.height)),t.length==0||e.length==0)return null;const s=Math.min.apply(0,t),r=Math.min.apply(0,e),a=Math.max.apply(0,t),i=Math.max.apply(0,e);return{x:s,y:r,width:a-s,height:i-r}}setAttrs(t,e){typeof t!="string"?(super.setAttr(t),this.shapes.forEach(n=>{n.setAttr(t)})):e&&(super.setAttr(t,e),this.shapes.forEach(n=>{n.setAttr(t,e)}))}sortPathD(){this.shapes=this.shapes.map(t=>{const e=t.initPathD();return{shape:t,perimeter:e.perimeterPoints()}}).sort((t,e)=>e.perimeter-t.perimeter).map(t=>t.shape)}expendFill(t){const e=t.shapes.length,n=this.shapes.length;if(e<n)return t.expendFill(this);for(let s=n;s<e;s++){const a=t.shapes[s].initPathD().polymorphPoints,i=a[0],l=a[1],c=[["M",i,l]];for(let u=2;u+5<a.length;u+=6)c.push(["C",i,l,i,l,i,l]);this.addShape(new Hn({attrs:{...t.shapes[s].getAttrs()},d:c}))}}strokeDashTween(t,e){switch(e?.type){case"sequence":const n=this.shapes.length-1;this.shapes.forEach((i,l)=>{i.strokeDashTween(t,{...e,delay:l,onStart:()=>{l==0&&e?.onGroupStart?.()},onUpdate:()=>{e?.onGroupUpdate?.()},onComplete:()=>{l==n&&e?.onGroupComplete?.()}})});break;case"parallel":default:const s=new Xe({frameDuration:t}),r={},a={};this.shapes.forEach((i,l)=>{const c=ke(i.getTotalLength(),0);r[`offset_${l}`]=c,a[`offset_${l}`]=0,i.setAttr({strokeDasharray:`${c} ${c}`,strokeDashoffset:`${c}`})}),s.addTween(r,a,Object.assign(e||{},{onStart:()=>{e?.onGroupStart?.()},onUpdate:(i,l)=>{for(const c in i){const u=Yn(c).number;this.shapes[u].setAttr("strokeDashoffset",""+ke(i[c],2))}e?.onGroupUpdate?.()},onComplete:()=>{e?.onGroupComplete?.()}})),s.play();break}}}const zv={1:705234,2:8108026,3:6346665,4:16630114,5:16607842,6:16158139,7:2542847,8:10640125,9:16735870,10:8978266,11:16580418,12:16754221,13:16725759,14:14436630,15:6844849,16:13744437,17:1817755,18:16744272,19:4964291,20:16750848,aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};class Ie{static NAMES=zv;_color={r:0,g:0,b:0,a:1};constructor(t,e){t&&this.setColor(t),this.setAlpha(e)}get color(){return this._color}set color(t){const e=`Color: Unknown color(${t}) type(${typeof t})`;if(typeof t=="number")this.setHEX(t);else if(typeof t=="string"){let n;if(n=/^(\w+)\(([^)]*)\)/.exec(t)){const s=n[2];let r;switch(n[1]){case"rgb":case"rgba":(r=/^\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(s))?(this.r=parseInt(r[1],10),this.g=parseInt(r[2],10),this.b=parseInt(r[3],10),this.a=r[4]?parseFloat(r[4]):1):(r=/^\s*(\d+)%\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(s))?(this.r=Yt(parseFloat(r[1]),0,100)*255/100,this.g=Yt(parseFloat(r[2]),0,100)*255/100,this.b=Yt(parseFloat(r[3]),0,100)*255/100,this.a=r[4]?parseFloat(r[4]):1):console.warn(e);break;case"hsl":case"hsla":(r=/^\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)%\s*,\s*(\d*\.?\d+)%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(s))?this.setHSL(parseFloat(r[1])/360,parseFloat(r[2])/100,parseFloat(r[3])/100,r[4]?parseFloat(r[4]):1):console.warn(e);break;case"hsv":case"hsva":case"hsb":case"hsba":(r=/^\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)%\s*,\s*(\d*\.?\d+)%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(s))?this.setHSV(parseFloat(r[1])/360,parseFloat(r[2])/100,parseFloat(r[3])/100,r[4]?parseFloat(r[4]):1):console.warn(e);break;default:console.warn(e)}}else if(n=/#([A-Fa-f0-9]+)/.exec(t)){const s=n[1],r=s.length;r===3?this.setRGB(parseInt(s.charAt(0),16),parseInt(s.charAt(1),16),parseInt(s.charAt(2),16),1):r===6||r===8?this.setHEX(parseInt(s,16)):console.warn(e)}else if(t&&t.length>0)try{this.setColorName(t)}catch{console.warn(e)}else console.warn(e)}else t instanceof Ie?this.setRGB(t.r,t.g,t.b,t.a):Object.prototype.hasOwnProperty.call(t,"r")&&Object.prototype.hasOwnProperty.call(t,"g")&&Object.prototype.hasOwnProperty.call(t,"b")?this.setRGB(t.r,t.g,t.b,Object.prototype.hasOwnProperty.call(t,"a")?t.a:1):Object.prototype.hasOwnProperty.call(t,"h")&&Object.prototype.hasOwnProperty.call(t,"s")&&Object.prototype.hasOwnProperty.call(t,"l")?this.setHSL(t.h,t.s,t.l,Object.prototype.hasOwnProperty.call(t,"a")?t.a:1):Object.prototype.hasOwnProperty.call(t,"h")&&Object.prototype.hasOwnProperty.call(t,"s")&&Object.prototype.hasOwnProperty.call(t,"v")?this.setHSV(t.h,t.s,t.v,Object.prototype.hasOwnProperty.call(t,"a")?t.a:1):Object.prototype.hasOwnProperty.call(t,"h")&&Object.prototype.hasOwnProperty.call(t,"s")&&Object.prototype.hasOwnProperty.call(t,"b")?this.setHSV(t.h,t.s,t.b,Object.prototype.hasOwnProperty.call(t,"a")?t.a:1):console.warn(e)}setColor(t){return this.color=t,this}set(t){return this.setColor(t)}get r(){return this._color.r}set r(t){try{this._color.r=Yt(Math.round(fo(t)),0,255)}catch{}}get g(){return this._color.g}set g(t){try{this._color.g=Yt(Math.round(fo(t)),0,255)}catch{}}get b(){return this._color.b}set b(t){try{this._color.b=Yt(Math.round(fo(t)),0,255)}catch{}}get a(){return this._color.a}set a(t){try{this._color.a=Yt(fo(t),0,1)}catch{}}setAlpha(t){return this.a=t,this}setFromVector3(t){return this.r=t.x,this.g=t.y,this.b=t.z,this}applyMatrix3(t){const e=this.r,n=this.g,s=this.b,r=t.value;return this.r=r[0]*e+r[3]*n+r[6]*s,this.g=r[1]*e+r[4]*n+r[7]*s,this.b=r[2]*e+r[5]*n+r[8]*s,this}fromBufferAttribute(t,e){return this.r=t.getX(e),this.g=t.getY(e),this.b=t.getZ(e),this}fromArray(t,e=0){return this.r=t[e],this.g=t[e+1],this.b=t[e+2],this.a=t[e+3],this}toArray(t=[],e=0){return t[e]=this.r,t[e+1]=this.g,t[e+2]=this.b,t[e+3]=this.a,t}toRGBString(){return this.a===1?`rgb(${this.r},${this.g},${this.b})`:`rgba(${this.r},${this.g},${this.b},${ke(this.a,6)})`}toHexString(){return this.a===1?("000000"+this.hex.toString(16)).slice(-6):("00000000"+this.hex.toString(16)).slice(-8)}toString(){return this.a===1?"#"+this.toHexString():this.toRGBString()}toColorSpaceString(t=qn){Jd.fromWorkingColorSpace(Mt.copy(this),t);const e=Mt.r,n=Mt.g,s=Mt.b;return t!==qn?`color(${t} ${e.toFixed(3)} ${n.toFixed(3)} ${s.toFixed(3)})`:this.toRGBString()}*[Symbol.iterator](){yield this.r,yield this.g,yield this.b,yield this.a}clone(){return new Ie(this.color)}copy(t){return this.setColor(t.color),this}copySRGBToLinear(t){return this.r=jn(t.r),this.g=jn(t.g),this.b=jn(t.b),this}copyLinearToSRGB(t){return this.r=Wn(t.r),this.g=Wn(t.g),this.b=Wn(t.b),this}convertSRGBToLinear(){return this.copySRGBToLinear(this),this}convertLinearToSRGB(){return this.copyLinearToSRGB(this),this}equals(t){return t.r===this.r&&t.g===this.g&&t.b===this.b&&t.a===this.a}add(t){return this.r=this.r+t.r,this.g=this.g+t.g,this.b=this.b+t.b,this}addColors(t,e){return this.r=t.r+e.r,this.g=t.g+e.g,this.b=t.b+e.b,this}addScalar(t){return this.r=this.r+t,this.g=this.g+t,this.b=this.b+t,this}setScalar(t){return this.r=t,this.g=t,this.b=t,this}sub(t){return this.r=this.r-t.r,this.g=this.g-t.g,this.b=this.b-t.b,this}multiply(t){return this.r=this.r*t.r,this.g=this.g*t.g,this.b=this.b*t.b,this}multiplyScalar(t){return this.r=this.r*t,this.g=this.g*t,this.b=this.b*t,this}opposite(t=!0,e="#000000",n="#ffffff"){if(t)return this.setColor(this.r*.299+this.g*.587+this.b*.114>186?e:n);{const{r:s,g:r,b:a}=this.color;return this.r=255-s,this.g=255-r,this.b=255-a,this}}lighten(t){t=Yt(t,0,1);const{r:e,g:n,b:s}=this.color;return this.r=e+(255-e)*t,this.g=n+(255-n)*t,this.b=s+(255-s)*t,this}darken(t){t=Yt(t,0,1);const{r:e,g:n,b:s}=this.color;return this.r=e*(1-t),this.g=n*(1-t),this.b=s*(1-t),this}lerp(t,e){e=Yt(e,0,1);const{r:n,g:s,b:r}=this.color;return this.r=n+(t.r-n)*e,this.g=s+(t.g-s)*e,this.b=r+(t.b-r)*e,this}lerpColors(t,e,n){return n=Yt(n,0,1),this.r=t.r+(e.r-t.r)*n,this.g=t.g+(e.g-t.g)*n,this.b=t.b+(e.b-t.b)*n,this}static gradient(t,e,n){try{return Mt.lerpColors(new Ie(t),new Ie(e),n).toString()}catch{return e}}static random(){return Mt.setHEX(Math.random()*16777215).toString()}static nextIndex=0;static next(t=Ie.nextIndex){Ie.nextIndex=t;const e=Object.keys(Ie.NAMES),n=e.length;return Mt.setHEX(Ie.NAMES[e[Ie.nextIndex++%n]]).toString()}setColorName(t){const e=Ie.NAMES[t.toLowerCase()];return e!==void 0?this.setHEX(e):t==="none"?this.a=0:(this.a=1,console.warn("Color.setColorName: Unknown color "+t)),this}static getColors(){return Object.values(Ie.NAMES).map(t=>Mt.setHEX(t).toString())}setRGB(t,e,n,s=1){return this.r=t,this.g=e,this.b=n,this.a=s,this}get rgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}setHEX(t){return t=Math.floor(t),t<16777216?(this.r=t>>16&255,this.g=t>>8&255,this.b=t&255,this.a=1):(this.r=t>>24&255,this.g=t>>16&255,this.b=t>>8&255,this.a=(t&255)/255),this}get hex(){let t=(this.r<<16)+(this.g<<8)+this.b;return this.a!==1&&(t=t<<8,t+=Math.round(this.a*255)),t}setHSL(t,e,n,s=1){const r=S1(t,1),a=Yt(e,0,1),i=Yt(n,0,1);if(a===0)this.r=i*255,this.g=i*255,this.b=i*255;else{const l=i<=.5?i*(1+a):i+a-i*a,c=2*i-l;this.r=Ml(c,l,r+.3333333333333333)*255,this.g=Ml(c,l,r)*255,this.b=Ml(c,l,r-.3333333333333333)*255}return this.a=s,this}getHSL(t){const e=this.r,n=this.g,s=this.b,r=Math.max(e,n,s)/255,a=Math.min(e,n,s)/255;let i,l;const c=(a+r)/2;if(a===r)i=0,l=0;else{const u=r-a;switch(l=c<=.5?u/(r+a):u/(2-r-a),r){case e:i=(n-s)/u+(n<s?6:0);break;case n:i=(s-e)/u+2;break;case s:default:i=(e-n)/u+4;break}i/=6}return t&&t.setHSL(i,l,c,this.a),{h:i,s:l,l:c,a:this.a}}offsetHSL(t,e,n){const s=this.getHSL();return this.setHSL(s.h+t,s.s+e,s.l+n)}lerpHSL(t,e){const n=this.getHSL(),s=t.getHSL(),r=cl(n.h,s.h,e),a=cl(n.s,s.s,e),i=cl(n.l,s.l,e);return this.setHSL(r,a,i),this}setHSV(t,e,n,s=1){const r=Yt(t,0,1)*360,a=Yt(e,0,1),i=Yt(n,0,1),l=Math.floor(r/60)%6,c=r/60-Math.floor(r/60),u=i*(1-a),f=i*(1-c*a),d=i*(1-(1-c)*a),h=[[i,d,u],[f,i,u],[u,i,d],[u,f,i],[d,u,i],[i,u,f]][l];return this.r=h[0]*255,this.g=h[1]*255,this.b=h[2]*255,this.a=s,this}setHSB(t,e,n,s=1){this.setHSV(t,e,n,s)}getHSV(t){const{r:e,g:n,b:s,a:r}=this.color,a=Math.max(e,n,s),i=Math.min(e,n,s),l=a-i;let c;e===a?c=(n-s)/l:n===a?c=2+(s-e)/l:c=4+(e-n)/l,c/=6,c<0&&(c+=1);const u=l==0?0:c,f=a===0?0:l/a,d=a/255;return t&&t.setHSV(u,f,d,r),{h:u,s:f,v:d,a:r}}getHSB(t){const{h:e,s:n,v:s,a:r}=this.getHSV(t);return{h:e,s:n,b:s,a:r}}}const Mt=new Ie;function jn(o){return o<.04045?o*.0773993808:Math.pow(o*.9478672986+.0521327014,2.4)}function Wn(o){return o<.0031308?o*12.92:1.055*Math.pow(o,.41666)-.055}const Dv="",qn="srgb",Hd="srgb-linear",Gd="linear",Dl="srgb",jd=new Ys().set(.4123908,.3575843,.1804808,.212639,.7151687,.0721923,.0193308,.1191948,.9505322),Wd=new Ys().set(3.2409699,-1.5373832,-.4986108,-.9692436,1.8759675,.0415551,.0556301,-.203977,1.0569715),qd=[.64,.33,.3,.6,.15,.06],Kd=[.2126,.7152,.0722],Qd=[.3127,.329],Jd={enabled:!0,workingColorSpace:Hd,spaces:{},convert:function(o,t,e){return this.enabled===!1||t===e||!t||!e||(this.spaces[t].transfer===Dl&&(o.r=jn(o.r),o.g=jn(o.g),o.b=jn(o.b)),this.spaces[t].primaries!==this.spaces[e].primaries&&(o.applyMatrix3(this.spaces[t].toXYZ),o.applyMatrix3(this.spaces[e].fromXYZ)),this.spaces[e].transfer===Dl&&(o.r=Wn(o.r),o.g=Wn(o.g),o.b=Wn(o.b))),o},fromWorkingColorSpace:function(o,t){return this.convert(o,this.workingColorSpace,t)},toWorkingColorSpace:function(o,t){return this.convert(o,t,this.workingColorSpace)},getPrimaries:function(o){return this.spaces[o].primaries},getTransfer:function(o){return o===Dv?Gd:this.spaces[o].transfer},getLuminanceCoefficients:function(o,t=this.workingColorSpace){return o.fromArray(this.spaces[t].luminanceCoefficients)},define:function(o){Object.assign(this.spaces,o)},_getMatrix:function(o,t,e){return o.copy(this.spaces[t].toXYZ).multiply(this.spaces[e].fromXYZ)},_getDrawingBufferColorSpace:function(o){return this.spaces[o].outputColorSpaceConfig.drawingBufferColorSpace},_getUnpackColorSpace:function(o=this.workingColorSpace){return this.spaces[o].workingColorSpaceConfig.unpackColorSpace}};Jd.define({[Hd]:{primaries:qd,whitePoint:Qd,transfer:Gd,toXYZ:jd,fromXYZ:Wd,luminanceCoefficients:Kd,workingColorSpaceConfig:{unpackColorSpace:qn},outputColorSpaceConfig:{drawingBufferColorSpace:qn}},[qn]:{primaries:qd,whitePoint:Qd,transfer:Dl,toXYZ:jd,fromXYZ:Wd,luminanceCoefficients:Kd,outputColorSpaceConfig:{drawingBufferColorSpace:qn}}});function Ml(o,t,e){return e<0&&(e+=1),e>1&&(e-=1),e<.16666666666666666?o+(t-o)*6*e:e<.5?t:e<.6666666666666666?o+(t-o)*6*(.6666666666666666-e):o}class Mv extends Hn{toX;toY;constructor(t){super(t),this.toX=t?.toX||0,this.toY=t?.toY||0;let e=this.toX-this.x,n=this.toY-this.y;return new Proxy(this,{set(s,r,a,i){switch(r){case"x":s.toX=a+e;break;case"y":s.toY=a+n;break;case"toX":e=a-s.x;break;case"toY":n=a-s.y;break}return Reflect.set(s,r,a,i)}})}toSVGPathData(){return[["m",0,0],["l",this.toX-this.x,this.toY-this.y]]}toCanvasContext(t){t.beginPath(),t.moveTo(0,0),t.lineTo(this.toX-this.x,this.toY-this.y)}intersection(t){const e=new Sd({x:this.x,y:this.y,toX:this.toX,toY:this.toY}),n=new Sd({x:t.x,y:t.y,toX:t.toX,toY:t.toY});return e.intersection(n)}}const Lv=Mv;class Ll{video;constructor(t){this.video=t}setSrcObject(t){this.video.addEventListener("loadedmetadata",e=>{e.target}),this.video.srcObject=t}captureWebCamera(){navigator.mediaDevices.getUserMedia({video:!0}).then(t=>{this.setSrcObject(t)})}static async videoMediaChangeSupport(){return new Promise(t=>{const e=document.createElement("iframe"),n=document.createElement("video"),s=document.createElement("source"),r=new MediaSource;r.addEventListener("sourceopen",()=>t(!0)),s.src=URL.createObjectURL(r),s.media="(min-width:10px)",n.append(s),e.width="5",e.style.cssText="position: absolute; visibility: hidden;",document.documentElement.append(e),e.contentDocument?.body.append(n),setTimeout(()=>{e.width="15"}),setTimeout(()=>{e.remove(),t(!1)},1e3)})}static tryAutoPlayOrAutoPlayAfterClick(t){return new Promise(e=>{t.play().then(()=>{t.autoplay=!0,e(!0)}).catch(()=>{Ll.setAutoPlayWhenClick(t),e(!1)})})}static setAutoPlayWhenClick(t){function e(){t.autoplay=!0,t.play(),document.removeEventListener("click",e),document.removeEventListener("touchend",e)}document.addEventListener("click",e),document.addEventListener("touchend",e)}}class Bv extends Hn{extendDegree;radius;startDegree;endDegree;diffDegree;constructor(t){super(t),this.extendDegree=t?.extendDegree||0,this.x=(t.x||0)+t.width/2;const e=Math.min(t.width/2,t.height)-t.lineWidth;this.radius=Math.max(0,e-e*Math.abs(Math.sin(ee(this.extendDegree)))),this.y=(t.y||0)+t.height-t.lineWidth-this.radius*Math.abs(Math.sin(ee(this.extendDegree))),this.diffDegree=t.endDegree-t.startDegree,this.startDegree=180+t.startDegree-this.extendDegree,this.endDegree=180+t.endDegree+this.extendDegree,this.setAttr({"stroke-linecap":"round","stroke-width":String(t.lineWidth),stroke:t.color||"none"})}setPercent(t){this.endDegree=this.startDegree+(this.diffDegree+this.extendDegree*2)*t}toSVGPathData(){const{dx:t,dy:e}=Zn(ee(this.startDegree),this.radius),{dx:n,dy:s}=Zn(ee(this.endDegree),this.radius);return[["m",t,e],["a",this.radius,this.radius,0,Math.abs(this.endDegree-this.startDegree)>=180?1:0,1,n-t,s-e]]}toCanvasContext(t){t.beginPath(),t.arc(0,0,this.radius,ee(this.startDegree),ee(this.endDegree),!1)}}const th=Bv;let Yv=class extends zl{percent=0;ringBg;ring;lines=[];bgColor;startColor;endColor;indicatorLineCount;constructor(t){super(t);const e=t?.startDegree||0,n=t?.endDegree||180,s=t?.extendDegree||15,r=t?.lineWidth||12;this.bgColor=t?.bgColor||"#B3C6E7",this.startColor=t?.startColor||"#5A82F0",this.endColor=t?.endColor||"#66B3FF",this.percent=t?.percent||0,this.indicatorLineCount=22+1;const a=20,i=2,l=17;this.ringBg=new th({...t,x:t?.x,y:t?.y,width:t.width,height:t.height,startDegree:e,endDegree:n,extendDegree:s,lineWidth:r,color:this.bgColor}),this.addShape(this.ringBg),this.ring=new th({...t,x:t?.x,y:t?.y,width:t.width,height:t.height,startDegree:e,endDegree:n,extendDegree:s,lineWidth:r}),this.addShape(this.ring);const c=this.ringBg.y-this.ringBg.radius+a;for(let u=0;u<this.indicatorLineCount;u++)this.lines.push(new Lv({...t,centerX:this.ringBg.x,centerY:this.ringBg.y,x:this.ringBg.x,y:c,toX:this.ringBg.x,toY:c+l,degree:this.ringBg.startDegree+90+(n-e+s*2)/(this.indicatorLineCount-1)*u,attrs:{"stroke-linecap":"round","stroke-width":String(i),stroke:this.bgColor}}));this.addShape(this.lines)}setPercent(t){this.percent=t}shapeInit(){this.on("draging",(t,e,n)=>{this.shapes.forEach(s=>{s!=n&&(s.x+=t,s.y+=e)})})}frameUpdate(t,e){const n=this.ringBg.radius-this.ringBg.radius*Math.cos(Math.PI*this.percent),s=this.ringBg.radius*Math.sin(Math.PI*this.percent);if(e){const r=e.createLinearGradient(-this.ringBg.radius,0,-this.ringBg.radius+n,-s,{0:this.startColor,1:this.endColor});this.ring.setAttr({stroke:this.startColor==this.endColor||this.percent==1?this.startColor:r})}else this.ring.setAttr({stroke:this.startColor});this.ring.setPercent(this.percent);for(let r=0;r<this.indicatorLineCount;r++){const a=r/(this.indicatorLineCount-1)<=this.percent;this.lines[r].setAttr({stroke:a&&e?e.createLinearGradient(0,0,this.lines[r].toX-this.lines[r].x,this.lines[r].toY-this.lines[r].y,{0:this.startColor,1:this.endColor}):a?this.startColor:this.bgColor})}}};class Vv extends Hn{radius;startDegree;endDegree;constructor(t){super(t),this.x=(t.x||0)+t.width/2,this.y=(t.y||0)+t.height/2,this.radius=Math.max(0,Math.min(t.width/2,t.height/2)-t.lineWidth),this.startDegree=-90+t.startDegree,this.endDegree=-90+t.endDegree,this.setAttr({"stroke-linecap":"round","stroke-width":String(t.lineWidth),stroke:t.color||"none"})}setPercent(t){this.endDegree=this.startDegree+360*t}toSVGPathData(){const{dx:t,dy:e}=Zn(ee(this.startDegree),this.radius),{dx:n,dy:s}=Zn(ee(this.endDegree),this.radius);return[["m",t,e],["a",this.radius,this.radius,0,Math.abs(this.endDegree-this.startDegree)>=180?1:0,1,n-t,s-e]]}toCanvasContext(t){t.beginPath(),t.arc(0,0,this.radius,ee(this.startDegree),ee(this.endDegree),!1)}}const eh=Vv;let Xv=class extends zl{percent=0;ringBg;ring;bgColor;startColor;endColor;constructor(t){super(t);const e=t?.lineWidth||12;this.bgColor=t?.bgColor||"#B3C6E7",this.startColor=t?.startColor||"#5A82F0",this.endColor=t?.endColor||"#66B3FF",this.percent=t?.percent||0,this.ringBg=new eh({...t,x:t?.x,y:t?.y,width:t.width,height:t.height,startDegree:0,endDegree:360,lineWidth:e,color:this.bgColor}),this.addShape(this.ringBg),this.ring=new eh({...t,x:t?.x,y:t?.y,width:t.width,height:t.height,startDegree:0,endDegree:0,lineWidth:e}),this.addShape(this.ring)}setPercent(t){this.percent=t}shapeInit(){this.on("draging",(t,e,n)=>{this.shapes.forEach(s=>{s!=n&&(s.x+=t,s.y+=e)})})}frameUpdate(t,e){const n=this.ringBg.radius*Math.sin(2*Math.PI*this.percent),s=this.ringBg.radius*Math.cos(2*Math.PI*this.percent);if(e){const r=e.createLinearGradient(0,-this.ringBg.radius,n,-s,{0:this.startColor,1:this.endColor});this.ring.setAttr({stroke:this.startColor==this.endColor||this.percent==1?this.startColor:r})}else this.ring.setAttr({stroke:this.startColor});this.ring.setPercent(this.percent)}};function Zv(o){return window.URL.createObjectURL(o)}const oh=new pl;async function nh(o,t=6e4){return new Promise((e,n)=>{const s=typeof o=="string"?o:Zv(o),r=oh.get(s);if(r)return e(r);const a=document.createElement("img");a.onload=l=>{clearTimeout(i);const c=a.naturalWidth||a.width,u=a.naturalHeight||a.height,f={width:c,height:u,aspectRatio:c/u,element:a,imageData:Fv(a)};oh.set(s,f),e(f),a.onerror=a.onload=null},a.onerror=l=>{clearTimeout(i),n(l)},a.src=s;const i=setTimeout(()=>{n("Timeout!")},t)})}async function Uv(o,t=6e4){return new Promise((e,n)=>{const s=document.createElement("script");s.type="text/javascript",s.async=!1,s.onload=a=>{clearTimeout(r),e(a),s.onerror=s.onload=null},s.onerror=a=>{clearTimeout(r),n(a)},s.src=o;const r=setTimeout(()=>{n("Timeout!")},t);document.body.appendChild(s)})}async function Hv(o,t=document.getElementsByTagName("head")[0],e=6e4){return new Promise((n,s)=>{const r=document.createElement("link");r.setAttribute("type","text/css"),r.setAttribute("rel","stylesheet"),r.onload=i=>{clearTimeout(a),n(i),r.onerror=r.onload=null},r.onerror=i=>{clearTimeout(a),s(i)},r.setAttribute("href",o);const a=setTimeout(()=>{s("Timeout!")},e);t.appendChild(r)})}function sh(o,t){const e=document.createElement("a");e.style.visibility="hidden",e.download=t,typeof o=="string"?e.href=o:e.href=window.URL.createObjectURL(o),e.click()}function ya(o,t){return new RegExp("(?:^|\\s+)"+t+"(?:\\s+|$)").test(o.className)||!1}function va(o){return{el:o,isRoot:()=>/(html|body)/i.test(o.tagName)||o===document.documentElement,isActive:()=>o===document.activeElement&&(o.type||o.href),getRemSize:function(){return parseFloat(getComputedStyle(document.documentElement).fontSize)},rem2px:function(t){return t*this.getRemSize()},getEmSize:function(){return o.parentElement?parseFloat(getComputedStyle(o.parentElement).fontSize):this.getRemSize()},nearestElement:()=>{let t=o;for(;t&&t.nodeType!==1&&t.parentElement;)t=t.parentElement;return t},parent:()=>o.parentElement,parents:function(t=o,e=[]){return!t||t.parentElement===null?e:this.parents(t.parentElement,e.concat([t]))},scrollParent:function(){const t=this.parents();for(let e=0,n=t.length;e<n;e++)if(/(auto|scroll)/.test(Nl(t[e],"overflow")+Nl(t[e],"overflow-y")+Nl(t[e],"overflow-x")))return t[e];return document.scrollingElement||document.documentElement},contains:t=>o.contains?o!=t&&o.contains(t):!!(o.compareDocumentPosition(t)&16),siblings:()=>Array.prototype.slice.call(o.parentElement?.children).filter(t=>t!==o),nextElementSibling:()=>o.nextElementSibling,previousElementSibling:()=>o.previousElementSibling,closest:t=>o.closest(t),shadowRoot:()=>o.shadowRoot,isInput:()=>o.tagName==="INPUT"||o instanceof HTMLInputElement,isSelect:()=>o.tagName==="SELECT"||o instanceof HTMLSelectElement,isTextArea:()=>o.tagName==="TEXTAREA"||o instanceof HTMLTextAreaElement,isInputCheckbox:function(){return this.isInput(o)&&o.getAttribute("type")==="checkbox"},isInputRadio:function(){return this.isInput(o)&&o.getAttribute("type")==="radio"},isInputText:function(){return this.isInput(o)&&o.getAttribute("type")==="text"},isInputNumber:function(){return this.isInput(o)&&o.getAttribute("type")==="number"},changeSelected:function(t){if(this.isSelect()){const e=o.options;for(let n=0,s=e.length;n<s;n++)e[n].selected=e[n].value==t}},changeRadioChecked:function(t){if(this.isInputRadio()){const e=document.getElementsByName(o.name);for(let n=0,s=e.length;n<s;n++){const r=e[n];r.checked=r.value==t}}},changeCheckboxChecked:function(t){this.isInputCheckbox()&&(o.checked=t)},insert:(t,e="append")=>{typeof t=="string"?o[e](Gv(t)):o[e](t)},html:function(t){if(typeof t=="string"){o.innerHTML=t;const e=rh(o);e!=o&&(o=e)}else this.insert(t,"replaceWith")},empty:function(){this.html("")},text:t=>{o.textContent=t},getInnerText:()=>{if(o instanceof SVGElement)return"";let t=o.innerText;if(!t){const e=o.querySelector("slot")?.assignedNodes()||[];let n=0;for(;!t&&n<=e.length-1;)"innerText"in e[n]&&(t=e[n].innerText),n++}return t},remove:()=>o.remove()}}function Gv(o,t=!1){const e=document.createElement("template");return e.innerHTML=o,t&&e.content.childNodes.forEach(n=>{const s=rh(n);s!=n&&e.content.replaceChild(s,n)}),e.content}function rh(o){return o.tagName=="SCRIPT"&&(o=ah(o)),o.querySelectorAll&&o.querySelectorAll("script").forEach(t=>{t.parentNode?.replaceChild(ah(t),t)}),o}function ah(o){const t=o.ownerDocument.createElement("script");t.text=o.text;const e=o.attributes;for(let n=0,s=e.length;n<s;n++)t.setAttribute(e[n].name,e[n].value);return t}async function Bl(o){if(navigator.clipboard)return await navigator.clipboard.writeText(o);{const t=document.createElement("textarea");return t.value=o,t.style.opacity="0",t.style.position="fixed",t.style.top="0",t.style.left="0",t.focus(),t.select(),document.execCommand("copy")}}function jv(o,t={},e=[],n){return{tag:o,props:t,children:e,el:n}}function Yl(o){return jv(o.tagName,Md(o),Array.from(o.children).map(t=>Yl(t)),o)}function ba(o,t=document.documentElement){if(o.el)return o.el;if(o.el=document.createElement(o.tag),o.props)for(const e in o.props){const n=o.props[e];e.startsWith("on")?o.el.addEventListener(e.slice(2).toLowerCase(),n):e==="style"?Vs(o.el,o.props[e]):ia(o.el,e,n)}return o.children&&(typeof o.children=="string"?o.el.appendChild(document.createTextNode(o.children)):o.children.forEach(e=>{ba(e,o.el)})),t.appendChild(o.el),o.el}function ih(o,t){if(!o.el)return;if(o.tag!==t.tag){(o.el.parentElement||document.body).replaceChild(ba(t),o.el);return}const e=t.el=o.el,n=o.props,s=t.props;for(const i in n)i in s||(i.startsWith("on")?e.removeEventListener(i.slice(2).toLowerCase(),n[i]):e.removeAttribute(i));for(const i in s){const l=n[i],c=s[i];if(c!=l)if(i.startsWith("on")){const u=i.slice(2).toLowerCase();e.removeEventListener(u,l),e.addEventListener(u,c)}else if(i==="style"){for(const u in l)u in c||Dd(e,u);Vs(e,c)}else ia(e,i,c)}const r=o.children||[],a=t.children||[];if(typeof a=="string")e.innerHTML=a;else if(typeof r=="string")e.innerHTML="",a.forEach(i=>{ba(i,e)});else{const i=Math.min(r.length,a.length);for(let l=0;l<i;l++)ih(r[l],a[l]);a.length>r.length&&a.slice(r.length).forEach(l=>{ba(l,e)}),a.length<r.length&&r.slice(a.length).forEach(l=>{l.el&&e.removeChild(l.el)})}}function lh(o){const t=document.documentElement,e=window.top===window.self?window.devicePixelRatio:1;t.dataset.dpr=e;let n=100;const s=function(){const r=Math.min(t.clientWidth,o);t.dataset.width=r,t.dataset.rem=n=Math.round(100*(r/o)),t.style.fontSize=n+"px"};s(),window.rem2px=function(r){return r=parseFloat(r),r*n},window.px2rem=function(r){return r=parseFloat(r),r/n},window.addEventListener&&window.addEventListener("orientationchange"in window?"orientationchange":"resize",s,!1)}class ch{controller;ctx;shapes=[];currentMouseInShape;currentEnableDragMouseInShape;dragDx=0;dragDy=0;constructor(t,e=!1){if(this.controller=t,!(this.controller.el instanceof HTMLCanvasElement))throw new Error("el 应该为 HTMLCanvasElement!");this.ctx=new hv(this.controller.el,this.controller.rect.width,this.controller.rect.height,e),Sn(this.controller,{start:()=>{this.dragDx=0,this.dragDy=0,this.setCursor()},end:()=>{this.dragDx=0,this.dragDy=0,this.setCursor()},move:()=>{this.currentEnableDragMouseInShape&&(this.dragDx+=this.controller.mousePoint.dx,this.dragDy+=this.controller.mousePoint.dy),this.setCursor()}}),this.controller.eb.on("tap",()=>{for(const n of this.shapes)if(this.currentMouseInShape==n){n.emit("clicked",n);let s=n.parent;for(;s;)s.emit("clicked",n),s=s.parent;break}})}setCursor(){this.currentEnableDragMouseInShape?(this.controller.el.style.cursor="grab",this.controller.mousePoint.isDown&&(this.controller.el.style.cursor="grabbing")):this.currentMouseInShape?this.controller.el.style.cursor="pointer":this.controller.el.style.cursor="default"}transformCtxBaseOnShape(t){t.usePathDtoCanvasContext||(this.ctx.translate(t.x,t.y),this.ctx.rotate(ee(t.degree),t.cX,t.cY),this.ctx.scale(t.scalarX,t.scalarY,t.cX,t.cY))}_addDrawShape(t){this.shapes.push(t),t instanceof zl&&t.shapes.forEach(e=>{this._addDrawShape(e)})}draw(t=[]){this.shapes=[],(Array.isArray(t)?t:[t]).forEach(e=>{this._addDrawShape(e)}),this.controller.mousePoint.isDown&&this.currentEnableDragMouseInShape||(this.currentMouseInShape=void 0);for(const e of this.shapes){if(!e.isShow)continue;if(this.ctx.save(),e.frameStart(this.controller.mousePoint),Wv(this.ctx,e.getAttrs()),e.followMouse&&(!ud(e.x,this.controller.mousePoint.x,5)||!ud(e.y,this.controller.mousePoint.y,5))&&e.followTo(this.controller.mousePoint),e.targetToAfterDragFree&&(this.controller.mousePoint.isDown||e.runEaseTo({x:e.targetToAfterDragFree.targetX,y:e.targetToAfterDragFree.targetY},{easing:e.targetToAfterDragFree?.easing})),this.controller.mousePoint.isDown&&this.currentEnableDragMouseInShape==e){e.isDragging=!0;const s=this.dragDx,r=this.dragDy;if(this.dragDx=0,this.dragDy=0,s||r){if(e.x+=s,e.y+=r,e.alongPath){const a=e.alongPath.closestPoint(e.x,e.y);e.x=a.point.x-e.cX,e.y=a.point.y-e.cY}e.emit("draging",s,r)}}else e.isDragging=!1;e.frameUpdate(this.controller.mousePoint,this.ctx),this.transformCtxBaseOnShape(e),e.toCanvasContext(this.ctx),this.ctx.hasSetCustomStrokeStyle&&this.ctx.stroke(),this.ctx.hasSetCustomFillStyle&&this.ctx.fill();const n=this.ctx.currentPath2D;if(!this.currentMouseInShape){const s=this.ctx.isPointInPath(n,this.controller.mousePoint.x,this.controller.mousePoint.y)||this.ctx.isPointInStroke(n,this.controller.mousePoint.x,this.controller.mousePoint.y)||!1;e.isMouseIn=s,s&&(this.currentMouseInShape=e,e.enableDrag&&(this.currentEnableDragMouseInShape=e))}e.frameEnd(this.controller.mousePoint),this.ctx.restore()}this.currentMouseInShape||(this.currentEnableDragMouseInShape=void 0)}drawMouseMoveLine(t="line",e){switch(t){case"brush":const n=e?.brushSize??10,s=e?.brushDensity??50,r=e?.brushColor??"#000000",a=this.ctx.getImageData(0,0,this.ctx.canvas.width,this.ctx.canvas.height),i=a.data,l=new Ie(r);Sn(this.controller,{move:c=>{for(let u=0;u<s;u++){const f=Math.random()*Math.PI*2,d=Math.random()*n,h=this.controller.mousePoint.x+Math.cos(f)*d|0,p=this.controller.mousePoint.y+Math.sin(f)*d|0,b=(h+p*a.width)*4;i[b]=l.r,i[b+1]=l.g,i[b+2]=l.b,i[b+3]=255}this.ctx.putImageData(a)}});break;case"line":default:Sn(this.controller,{start:()=>{this.ctx.beginPath(),this.ctx.moveTo(this.controller.mousePoint.x,this.controller.mousePoint.y)},end:()=>{this.ctx.closePath()},move:()=>{this.ctx.lineTo(this.controller.mousePoint.x,this.controller.mousePoint.y),this.ctx.stroke()}})}}}function Wv(o,t){for(const e in t){const n=t[e];switch(e){case"fill":n!=="none"&&(o.fillStyle=n);break;case"stroke":n!=="none"&&(o.strokeStyle=n);break;case"stroke-width":case"strokeWidth":o.lineWidth=Number(n);break;case"stroke-linecap":case"strokeLinecap":o.lineCap=n;break;case"stroke-linejoin":case"strokeLinejoin":switch(n){case"round":case"bevel":case"miter":o.lineJoin=n;break;default:o.lineJoin="miter";break}break;case"stroke-miterlimit":case"strokeMiterlimit":o.miterLimit=Number(n);break;case"stroke-opacity":case"strokeOpacity":break;case"stroke-dashoffset":case"strokeDashoffset":o.lineDashOffset=Number(n);break;case"stroke-dasharray":case"strokeDasharray":typeof n=="string"&&o.setLineDash(n.split(/\s+/).map(s=>Number(s)));break;case"cursor":break;case"font":typeof n=="string"&&(o.font=n);break;case"font-size":case"fontSize":o.font+=` ${n}`;break;case"font-family":case"fontFamily":o.font+=` ${n}`;break;case"font-weight":case"fontWeight":break;case"font-style":case"fontStyle":break;case"text-anchor":case"textAnchor":switch(n){case"middle":o.textAlign="center";break;case"end":o.textAlign="end";break;case"start":o.textAlign="start";break}break;case"alignment-baseline":case"alignmentBaseline":switch(n){case"middle":case"bottom":case"top":case"alphabetic":case"hanging":case"ideographic":o.textBaseline=n;break;default:o.textBaseline="alphabetic";break}break}}}class qv{map;constructor(t,e=120.619585,n=31.299379,s=18){this.map=new T.Map(t),this.map.centerAndZoom(new T.LngLat(e,n),s)}}function Kv(){return uh().__VUE_DEVTOOLS_GLOBAL_HOOK__}function uh(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const Qv=typeof Proxy=="function",Jv="devtools-plugin:setup",tb="plugin:settings:set";let Kn,Vl;function eb(){var o;return Kn!==void 0||(typeof window<"u"&&window.performance?(Kn=!0,Vl=window.performance):typeof globalThis<"u"&&(!((o=globalThis.perf_hooks)===null||o===void 0)&&o.performance)?(Kn=!0,Vl=globalThis.perf_hooks.performance):Kn=!1),Kn}function ob(){return eb()?Vl.now():Date.now()}class nb{constructor(t,e){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=e;const n={};if(t.settings)for(const a in t.settings){const i=t.settings[a];n[a]=i.defaultValue}const s=`__vue-devtools-plugin-settings__${t.id}`;let r=Object.assign({},n);try{const a=localStorage.getItem(s),i=JSON.parse(a);Object.assign(r,i)}catch{}this.fallbacks={getSettings(){return r},setSettings(a){try{localStorage.setItem(s,JSON.stringify(a))}catch{}r=a},now(){return ob()}},e&&e.on(tb,(a,i)=>{a===this.plugin.id&&this.fallbacks.setSettings(i)}),this.proxiedOn=new Proxy({},{get:(a,i)=>this.target?this.target.on[i]:(...l)=>{this.onQueue.push({method:i,args:l})}}),this.proxiedTarget=new Proxy({},{get:(a,i)=>this.target?this.target[i]:i==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(i)?(...l)=>(this.targetQueue.push({method:i,args:l,resolve:()=>{}}),this.fallbacks[i](...l)):(...l)=>new Promise(c=>{this.targetQueue.push({method:i,args:l,resolve:c})})})}async setRealTarget(t){this.target=t;for(const e of this.onQueue)this.target.on[e.method](...e.args);for(const e of this.targetQueue)e.resolve(await this.target[e.method](...e.args))}}function sb(o,t){const e=o,n=uh(),s=Kv(),r=Qv&&e.enableEarlyProxy;if(s&&(n.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!r))s.emit(Jv,o,t);else{const a=r?new nb(e,s):null;(n.__VUE_DEVTOOLS_PLUGINS__=n.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:e,setupFn:t,proxy:a}),a&&t(a.proxiedTarget)}}/*!
|
|
58
58
|
* vue-router v4.5.0
|
|
59
59
|
* (c) 2024 Eduardo San Martin Morote
|
|
60
60
|
* @license MIT
|
|
61
|
-
*/const Lo=typeof document<"u";function fh(o){return typeof o=="object"||"displayName"in o||"props"in o||"__vccOpts"in o}function rb(o){return o.__esModule||o[Symbol.toStringTag]==="Module"||o.default&&fh(o.default)}const Ut=Object.assign;function Xl(o,t){const e={};for(const n in t){const s=t[n];e[n]=Ue(s)?s.map(o):o(s)}return e}const Hs=()=>{},Ue=Array.isArray;function At(o){const t=Array.from(arguments).slice(1);console.warn.apply(console,["[Vue Router warn]: "+o].concat(t))}const dh=/#/g,ab=/&/g,ib=/\//g,lb=/=/g,cb=/\?/g,hh=/\+/g,ub=/%5B/g,fb=/%5D/g,ph=/%5E/g,db=/%60/g,mh=/%7B/g,hb=/%7C/g,gh=/%7D/g,pb=/%20/g;function Zl(o){return encodeURI(""+o).replace(hb,"|").replace(ub,"[").replace(fb,"]")}function mb(o){return Zl(o).replace(mh,"{").replace(gh,"}").replace(ph,"^")}function Ul(o){return Zl(o).replace(hh,"%2B").replace(pb,"+").replace(dh,"%23").replace(ab,"%26").replace(db,"`").replace(mh,"{").replace(gh,"}").replace(ph,"^")}function gb(o){return Ul(o).replace(lb,"%3D")}function yb(o){return Zl(o).replace(dh,"%23").replace(cb,"%3F")}function vb(o){return o==null?"":yb(o).replace(ib,"%2F")}function Qn(o){try{return decodeURIComponent(""+o)}catch{({}).NODE_ENV!=="production"&&At(`Error decoding "${o}". Using original value`)}return""+o}const bb=/\/$/,_b=o=>o.replace(bb,"");function Hl(o,t,e="/"){let n,s={},r="",a="";const i=t.indexOf("#");let l=t.indexOf("?");return i<l&&i>=0&&(l=-1),l>-1&&(n=t.slice(0,l),r=t.slice(l+1,i>-1?i:t.length),s=o(r)),i>-1&&(n=n||t.slice(0,i),a=t.slice(i,t.length)),n=wb(n??t,e),{fullPath:n+(r&&"?")+r+a,path:n,query:s,hash:Qn(a)}}function xb(o,t){const e=t.query?o(t.query):"";return t.path+(e&&"?")+e+(t.hash||"")}function yh(o,t){return!t||!o.toLowerCase().startsWith(t.toLowerCase())?o:o.slice(t.length)||"/"}function vh(o,t,e){const n=t.matched.length-1,s=e.matched.length-1;return n>-1&&n===s&&on(t.matched[n],e.matched[s])&&bh(t.params,e.params)&&o(t.query)===o(e.query)&&t.hash===e.hash}function on(o,t){return(o.aliasOf||o)===(t.aliasOf||t)}function bh(o,t){if(Object.keys(o).length!==Object.keys(t).length)return!1;for(const e in o)if(!kb(o[e],t[e]))return!1;return!0}function kb(o,t){return Ue(o)?_h(o,t):Ue(t)?_h(t,o):o===t}function _h(o,t){return Ue(t)?o.length===t.length&&o.every((e,n)=>e===t[n]):o.length===1&&o[0]===t}function wb(o,t){if(o.startsWith("/"))return o;if({}.NODE_ENV!=="production"&&!t.startsWith("/"))return At(`Cannot resolve a relative location without an absolute path. Trying to resolve "${o}" from "${t}". It should look like "/${t}".`),o;if(!o)return t;const e=t.split("/"),n=o.split("/"),s=n[n.length-1];(s===".."||s===".")&&n.push("");let r=e.length-1,a,i;for(a=0;a<n.length;a++)if(i=n[a],i!==".")if(i==="..")r>1&&r--;else break;return e.slice(0,r).join("/")+"/"+n.slice(a).join("/")}const nn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Gs;(function(o){o.pop="pop",o.push="push"})(Gs||(Gs={}));var js;(function(o){o.back="back",o.forward="forward",o.unknown=""})(js||(js={}));function Cb(o){if(!o)if(Lo){const t=document.querySelector("base");o=t&&t.getAttribute("href")||"/",o=o.replace(/^\w+:\/\/[^\/]+/,"")}else o="/";return o[0]!=="/"&&o[0]!=="#"&&(o="/"+o),_b(o)}const Tb=/^[^#]+#/;function Eb(o,t){return o.replace(Tb,"#")+t}function Sb(o,t){const e=document.documentElement.getBoundingClientRect(),n=o.getBoundingClientRect();return{behavior:t.behavior,left:n.left-e.left-(t.left||0),top:n.top-e.top-(t.top||0)}}const
|
|
61
|
+
*/const Lo=typeof document<"u";function fh(o){return typeof o=="object"||"displayName"in o||"props"in o||"__vccOpts"in o}function rb(o){return o.__esModule||o[Symbol.toStringTag]==="Module"||o.default&&fh(o.default)}const Ut=Object.assign;function Xl(o,t){const e={};for(const n in t){const s=t[n];e[n]=Ue(s)?s.map(o):o(s)}return e}const Hs=()=>{},Ue=Array.isArray;function At(o){const t=Array.from(arguments).slice(1);console.warn.apply(console,["[Vue Router warn]: "+o].concat(t))}const dh=/#/g,ab=/&/g,ib=/\//g,lb=/=/g,cb=/\?/g,hh=/\+/g,ub=/%5B/g,fb=/%5D/g,ph=/%5E/g,db=/%60/g,mh=/%7B/g,hb=/%7C/g,gh=/%7D/g,pb=/%20/g;function Zl(o){return encodeURI(""+o).replace(hb,"|").replace(ub,"[").replace(fb,"]")}function mb(o){return Zl(o).replace(mh,"{").replace(gh,"}").replace(ph,"^")}function Ul(o){return Zl(o).replace(hh,"%2B").replace(pb,"+").replace(dh,"%23").replace(ab,"%26").replace(db,"`").replace(mh,"{").replace(gh,"}").replace(ph,"^")}function gb(o){return Ul(o).replace(lb,"%3D")}function yb(o){return Zl(o).replace(dh,"%23").replace(cb,"%3F")}function vb(o){return o==null?"":yb(o).replace(ib,"%2F")}function Qn(o){try{return decodeURIComponent(""+o)}catch{({}).NODE_ENV!=="production"&&At(`Error decoding "${o}". Using original value`)}return""+o}const bb=/\/$/,_b=o=>o.replace(bb,"");function Hl(o,t,e="/"){let n,s={},r="",a="";const i=t.indexOf("#");let l=t.indexOf("?");return i<l&&i>=0&&(l=-1),l>-1&&(n=t.slice(0,l),r=t.slice(l+1,i>-1?i:t.length),s=o(r)),i>-1&&(n=n||t.slice(0,i),a=t.slice(i,t.length)),n=wb(n??t,e),{fullPath:n+(r&&"?")+r+a,path:n,query:s,hash:Qn(a)}}function xb(o,t){const e=t.query?o(t.query):"";return t.path+(e&&"?")+e+(t.hash||"")}function yh(o,t){return!t||!o.toLowerCase().startsWith(t.toLowerCase())?o:o.slice(t.length)||"/"}function vh(o,t,e){const n=t.matched.length-1,s=e.matched.length-1;return n>-1&&n===s&&on(t.matched[n],e.matched[s])&&bh(t.params,e.params)&&o(t.query)===o(e.query)&&t.hash===e.hash}function on(o,t){return(o.aliasOf||o)===(t.aliasOf||t)}function bh(o,t){if(Object.keys(o).length!==Object.keys(t).length)return!1;for(const e in o)if(!kb(o[e],t[e]))return!1;return!0}function kb(o,t){return Ue(o)?_h(o,t):Ue(t)?_h(t,o):o===t}function _h(o,t){return Ue(t)?o.length===t.length&&o.every((e,n)=>e===t[n]):o.length===1&&o[0]===t}function wb(o,t){if(o.startsWith("/"))return o;if({}.NODE_ENV!=="production"&&!t.startsWith("/"))return At(`Cannot resolve a relative location without an absolute path. Trying to resolve "${o}" from "${t}". It should look like "/${t}".`),o;if(!o)return t;const e=t.split("/"),n=o.split("/"),s=n[n.length-1];(s===".."||s===".")&&n.push("");let r=e.length-1,a,i;for(a=0;a<n.length;a++)if(i=n[a],i!==".")if(i==="..")r>1&&r--;else break;return e.slice(0,r).join("/")+"/"+n.slice(a).join("/")}const nn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Gs;(function(o){o.pop="pop",o.push="push"})(Gs||(Gs={}));var js;(function(o){o.back="back",o.forward="forward",o.unknown=""})(js||(js={}));function Cb(o){if(!o)if(Lo){const t=document.querySelector("base");o=t&&t.getAttribute("href")||"/",o=o.replace(/^\w+:\/\/[^\/]+/,"")}else o="/";return o[0]!=="/"&&o[0]!=="#"&&(o="/"+o),_b(o)}const Tb=/^[^#]+#/;function Eb(o,t){return o.replace(Tb,"#")+t}function Sb(o,t){const e=document.documentElement.getBoundingClientRect(),n=o.getBoundingClientRect();return{behavior:t.behavior,left:n.left-e.left-(t.left||0),top:n.top-e.top-(t.top||0)}}const _a=()=>({left:window.scrollX,top:window.scrollY});function Ob(o){let t;if("el"in o){const e=o.el,n=typeof e=="string"&&e.startsWith("#");if({}.NODE_ENV!=="production"&&typeof o.el=="string"&&(!n||!document.getElementById(o.el.slice(1))))try{const r=document.querySelector(o.el);if(n&&r){At(`The selector "${o.el}" should be passed as "el: document.querySelector('${o.el}')" because it starts with "#".`);return}}catch{At(`The selector "${o.el}" is invalid. If you are using an id selector, make sure to escape it. You can find more information about escaping characters in selectors at https://mathiasbynens.be/notes/css-escapes or use CSS.escape (https://developer.mozilla.org/en-US/docs/Web/API/CSS/escape).`);return}const s=typeof e=="string"?n?document.getElementById(e.slice(1)):document.querySelector(e):e;if(!s){({}).NODE_ENV!=="production"&&At(`Couldn't find element using selector "${o.el}" returned by scrollBehavior.`);return}t=Sb(s,o)}else t=o;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function xh(o,t){return(history.state?history.state.position-t:-1)+o}const Gl=new Map;function Pb(o,t){Gl.set(o,t)}function Rb(o){const t=Gl.get(o);return Gl.delete(o),t}let Ib=()=>location.protocol+"//"+location.host;function kh(o,t){const{pathname:e,search:n,hash:s}=t,r=o.indexOf("#");if(r>-1){let i=s.includes(o.slice(r))?o.slice(r).length:1,l=s.slice(i);return l[0]!=="/"&&(l="/"+l),yh(l,"")}return yh(e,o)+n+s}function Ab(o,t,e,n){let s=[],r=[],a=null;const i=({state:d})=>{const h=kh(o,location),p=e.value,b=t.value;let x=0;if(d){if(e.value=h,t.value=d,a&&a===p){a=null;return}x=b?d.position-b.position:0}else n(h);s.forEach(k=>{k(e.value,p,{delta:x,type:Gs.pop,direction:x?x>0?js.forward:js.back:js.unknown})})};function l(){a=e.value}function c(d){s.push(d);const h=()=>{const p=s.indexOf(d);p>-1&&s.splice(p,1)};return r.push(h),h}function u(){const{history:d}=window;d.state&&d.replaceState(Ut({},d.state,{scroll:_a()}),"")}function f(){for(const d of r)d();r=[],window.removeEventListener("popstate",i),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",i),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:f}}function wh(o,t,e,n=!1,s=!1){return{back:o,current:t,forward:e,replaced:n,position:window.history.length,scroll:s?_a():null}}function $b(o){const{history:t,location:e}=window,n={value:kh(o,e)},s={value:t.state};s.value||r(n.value,{back:null,current:n.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(l,c,u){const f=o.indexOf("#"),d=f>-1?(e.host&&document.querySelector("base")?o:o.slice(f))+l:Ib()+o+l;try{t[u?"replaceState":"pushState"](c,"",d),s.value=c}catch(h){({}).NODE_ENV!=="production"?At("Error with push/replace State",h):console.error(h),e[u?"replace":"assign"](d)}}function a(l,c){const u=Ut({},t.state,wh(s.value.back,l,s.value.forward,!0),c,{position:s.value.position});r(l,u,!0),n.value=l}function i(l,c){const u=Ut({},s.value,t.state,{forward:l,scroll:_a()});({}).NODE_ENV!=="production"&&!t.state&&At(`history.state seems to have been manually replaced without preserving the necessary values. Make sure to preserve existing history state if you are manually calling history.replaceState:
|
|
62
62
|
|
|
63
63
|
history.replaceState(history.state, '', url)
|
|
64
64
|
|
|
65
65
|
You can find more information at https://router.vuejs.org/guide/migration/#Usage-of-history-state`),r(u.current,u,!0);const f=Ut({},wh(n.value,l,null),{position:u.position+1},c);r(l,f,!1),n.value=l}return{location:n,state:s,push:i,replace:a}}function Nb(o){o=Cb(o);const t=$b(o),e=Ab(o,t.state,t.location,t.replace);function n(r,a=!0){a||e.pauseListeners(),history.go(r)}const s=Ut({location:"",base:o,go:n,createHref:Eb.bind(null,o)},t,e);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function Fb(o){return o=location.host?o||location.pathname+location.search:"",o.includes("#")||(o+="#"),{}.NODE_ENV!=="production"&&!o.endsWith("#/")&&!o.endsWith("#")&&At(`A hash base must end with a "#":
|
|
66
|
-
"${o}" should be "${o.replace(/#.*$/,"#")}".`),Nb(o)}function
|
|
66
|
+
"${o}" should be "${o.replace(/#.*$/,"#")}".`),Nb(o)}function xa(o){return typeof o=="string"||o&&typeof o=="object"}function Ch(o){return typeof o=="string"||typeof o=="symbol"}const jl=Symbol({}.NODE_ENV!=="production"?"navigation failure":"");var Th;(function(o){o[o.aborted=4]="aborted",o[o.cancelled=8]="cancelled",o[o.duplicated=16]="duplicated"})(Th||(Th={}));const zb={1({location:o,currentLocation:t}){return`No match for
|
|
67
67
|
${JSON.stringify(o)}${t?`
|
|
68
68
|
while being at
|
|
69
69
|
`+JSON.stringify(t):""}`},2({from:o,to:t}){return`Redirected from "${o.fullPath}" to "${Mb(t)}" via a navigation guard.`},4({from:o,to:t}){return`Navigation aborted from "${o.fullPath}" to "${t.fullPath}" via a navigation guard.`},8({from:o,to:t}){return`Navigation cancelled from "${o.fullPath}" to "${t.fullPath}" with a new navigation.`},16({from:o,to:t}){return`Avoided redundant navigation to current location: "${o.fullPath}".`}};function Jn(o,t){return{}.NODE_ENV!=="production"?Ut(new Error(zb[o](t)),{type:o,[jl]:!0},t):Ut(new Error,{type:o,[jl]:!0},t)}function Bo(o,t){return o instanceof Error&&jl in o&&(t==null||!!(o.type&t))}const Db=["params","query","hash"];function Mb(o){if(typeof o=="string")return o;if(o.path!=null)return o.path;const t={};for(const e of Db)e in o&&(t[e]=o[e]);return JSON.stringify(t,null,2)}const Eh="[^/]+?",Lb={sensitive:!1,strict:!1,start:!0,end:!0},Bb=/[.+*?^${}()[\]/\\]/g;function Yb(o,t){const e=Ut({},Lb,t),n=[];let s=e.start?"^":"";const r=[];for(const c of o){const u=c.length?[]:[90];e.strict&&!c.length&&(s+="/");for(let f=0;f<c.length;f++){const d=c[f];let h=40+(e.sensitive?.25:0);if(d.type===0)f||(s+="/"),s+=d.value.replace(Bb,"\\$&"),h+=40;else if(d.type===1){const{value:p,repeatable:b,optional:x,regexp:k}=d;r.push({name:p,repeatable:b,optional:x});const g=k||Eh;if(g!==Eh){h+=10;try{new RegExp(`(${g})`)}catch(y){throw new Error(`Invalid custom RegExp for param "${p}" (${g}): `+y.message)}}let m=b?`((?:${g})(?:/(?:${g}))*)`:`(${g})`;f||(m=x&&c.length<2?`(?:/${m})`:"/"+m),x&&(m+="?"),s+=m,h+=20,x&&(h+=-8),b&&(h+=-20),g===".*"&&(h+=-50)}u.push(h)}n.push(u)}if(e.strict&&e.end){const c=n.length-1;n[c][n[c].length-1]+=.7000000000000001}e.strict||(s+="/?"),e.end?s+="$":e.strict&&!s.endsWith("/")&&(s+="(?:/|$)");const a=new RegExp(s,e.sensitive?"":"i");function i(c){const u=c.match(a),f={};if(!u)return null;for(let d=1;d<u.length;d++){const h=u[d]||"",p=r[d-1];f[p.name]=h&&p.repeatable?h.split("/"):h}return f}function l(c){let u="",f=!1;for(const d of o){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const h of d)if(h.type===0)u+=h.value;else if(h.type===1){const{value:p,repeatable:b,optional:x}=h,k=p in c?c[p]:"";if(Ue(k)&&!b)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const g=Ue(k)?k.join("/"):k;if(!g)if(x)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${p}"`);u+=g}}return u||"/"}return{re:a,score:n,keys:r,parse:i,stringify:l}}function Vb(o,t){let e=0;for(;e<o.length&&e<t.length;){const n=t[e]-o[e];if(n)return n;e++}return o.length<t.length?o.length===1&&o[0]===80?-1:1:o.length>t.length?t.length===1&&t[0]===80?1:-1:0}function Sh(o,t){let e=0;const n=o.score,s=t.score;for(;e<n.length&&e<s.length;){const r=Vb(n[e],s[e]);if(r)return r;e++}if(Math.abs(s.length-n.length)===1){if(Oh(n))return 1;if(Oh(s))return-1}return s.length-n.length}function Oh(o){const t=o[o.length-1];return o.length>0&&t[t.length-1]<0}const Xb={type:0,value:""},Zb=/[a-zA-Z0-9_]/;function Ub(o){if(!o)return[[]];if(o==="/")return[[Xb]];if(!o.startsWith("/"))throw new Error({}.NODE_ENV!=="production"?`Route paths should start with a "/": "${o}" should be "/${o}".`:`Invalid path "${o}"`);function t(h){throw new Error(`ERR (${e})/"${c}": ${h}`)}let e=0,n=e;const s=[];let r;function a(){r&&s.push(r),r=[]}let i=0,l,c="",u="";function f(){c&&(e===0?r.push({type:0,value:c}):e===1||e===2||e===3?(r.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=l}for(;i<o.length;){if(l=o[i++],l==="\\"&&e!==2){n=e,e=4;continue}switch(e){case 0:l==="/"?(c&&f(),a()):l===":"?(f(),e=1):d();break;case 4:d(),e=n;break;case 1:l==="("?e=2:Zb.test(l)?d():(f(),e=0,l!=="*"&&l!=="?"&&l!=="+"&&i--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:e=3:u+=l;break;case 3:f(),e=0,l!=="*"&&l!=="?"&&l!=="+"&&i--,u="";break;default:t("Unknown state");break}}return e===2&&t(`Unfinished custom RegExp for param "${c}"`),f(),a(),s}function Hb(o,t,e){const n=Yb(Ub(o.path),e);if({}.NODE_ENV!=="production"){const r=new Set;for(const a of n.keys)r.has(a.name)&&At(`Found duplicated params with name "${a.name}" for path "${o.path}". Only the last one will be available on "$route.params".`),r.add(a.name)}const s=Ut(n,{record:o,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function Gb(o,t){const e=[],n=new Map;t=Ah({strict:!1,end:!0,sensitive:!1},t);function s(f){return n.get(f)}function r(f,d,h){const p=!h,b=Rh(f);({}).NODE_ENV!=="production"&&Kb(b,d),b.aliasOf=h&&h.record;const x=Ah(t,f),k=[b];if("alias"in f){const y=typeof f.alias=="string"?[f.alias]:f.alias;for(const _ of y)k.push(Rh(Ut({},b,{components:h?h.record.components:b.components,path:_,aliasOf:h?h.record:b})))}let g,m;for(const y of k){const{path:_}=y;if(d&&_[0]!=="/"){const w=d.record.path,$=w[w.length-1]==="/"?"":"/";y.path=d.record.path+(_&&$+_)}if({}.NODE_ENV!=="production"&&y.path==="*")throw new Error(`Catch all routes ("*") must now be defined using a param with a custom regexp.
|
|
70
|
-
See more at https://router.vuejs.org/guide/migration/#Removed-star-or-catch-all-routes.`);if(g=Hb(y,d,x),{}.NODE_ENV!=="production"&&d&&_[0]==="/"&&Jb(g,d),h?(h.alias.push(g),{}.NODE_ENV!=="production"&&qb(h,g)):(m=m||g,m!==g&&m.alias.push(g),p&&f.name&&!Ih(g)&&({}.NODE_ENV!=="production"&&Qb(f,d),a(f.name))),$h(g)&&l(g),b.children){const w=b.children;for(let $=0;$<w.length;$++)r(w[$],g,h&&h.children[$])}h=h||g}return m?()=>{a(m)}:Hs}function a(f){if(Ch(f)){const d=n.get(f);d&&(n.delete(f),e.splice(e.indexOf(d),1),d.children.forEach(a),d.alias.forEach(a))}else{const d=e.indexOf(f);d>-1&&(e.splice(d,1),f.record.name&&n.delete(f.record.name),f.children.forEach(a),f.alias.forEach(a))}}function i(){return e}function l(f){const d=t_(f,e);e.splice(d,0,f),f.record.name&&!Ih(f)&&n.set(f.record.name,f)}function c(f,d){let h,p={},b,x;if("name"in f&&f.name){if(h=n.get(f.name),!h)throw Jn(1,{location:f});if({}.NODE_ENV!=="production"){const m=Object.keys(f.params||{}).filter(y=>!h.keys.find(_=>_.name===y));m.length&&At(`Discarded invalid param(s) "${m.join('", "')}" when navigating. See https://github.com/vuejs/router/blob/main/packages/router/CHANGELOG.md#414-2022-08-22 for more details.`)}x=h.record.name,p=Ut(Ph(d.params,h.keys.filter(m=>!m.optional).concat(h.parent?h.parent.keys.filter(m=>m.optional):[]).map(m=>m.name)),f.params&&Ph(f.params,h.keys.map(m=>m.name))),b=h.stringify(p)}else if(f.path!=null)b=f.path,{}.NODE_ENV!=="production"&&!b.startsWith("/")&&At(`The Matcher cannot resolve relative paths but received "${b}". Unless you directly called \`matcher.resolve("${b}")\`, this is probably a bug in vue-router. Please open an issue at https://github.com/vuejs/router/issues/new/choose.`),h=e.find(m=>m.re.test(b)),h&&(p=h.parse(b),x=h.record.name);else{if(h=d.name?n.get(d.name):e.find(m=>m.re.test(d.path)),!h)throw Jn(1,{location:f,currentLocation:d});x=h.record.name,p=Ut({},d.params,f.params),b=h.stringify(p)}const k=[];let g=h;for(;g;)k.unshift(g.record),g=g.parent;return{name:x,path:b,params:p,matched:k,meta:Wb(k)}}o.forEach(f=>r(f));function u(){e.length=0,n.clear()}return{addRoute:r,resolve:c,removeRoute:a,clearRoutes:u,getRoutes:i,getRecordMatcher:s}}function Ph(o,t){const e={};for(const n of t)n in o&&(e[n]=o[n]);return e}function Rh(o){const t={path:o.path,redirect:o.redirect,name:o.name,meta:o.meta||{},aliasOf:o.aliasOf,beforeEnter:o.beforeEnter,props:jb(o),children:o.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in o?o.components||null:o.component&&{default:o.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function jb(o){const t={},e=o.props||!1;if("component"in o)t.default=e;else for(const n in o.components)t[n]=typeof e=="object"?e[n]:e;return t}function Ih(o){for(;o;){if(o.record.aliasOf)return!0;o=o.parent}return!1}function Wb(o){return o.reduce((t,e)=>Ut(t,e.meta),{})}function Ah(o,t){const e={};for(const n in o)e[n]=n in t?t[n]:o[n];return e}function Wl(o,t){return o.name===t.name&&o.optional===t.optional&&o.repeatable===t.repeatable}function qb(o,t){for(const e of o.keys)if(!e.optional&&!t.keys.find(Wl.bind(null,e)))return At(`Alias "${t.record.path}" and the original record: "${o.record.path}" must have the exact same param named "${e.name}"`);for(const e of t.keys)if(!e.optional&&!o.keys.find(Wl.bind(null,e)))return At(`Alias "${t.record.path}" and the original record: "${o.record.path}" must have the exact same param named "${e.name}"`)}function Kb(o,t){t&&t.record.name&&!o.name&&!o.path&&At(`The route named "${String(t.record.name)}" has a child without a name and an empty path. Using that name won't render the empty path child so you probably want to move the name to the child instead. If this is intentional, add a name to the child route to remove the warning.`)}function Qb(o,t){for(let e=t;e;e=e.parent)if(e.record.name===o.name)throw new Error(`A route named "${String(o.name)}" has been added as a ${t===e?"child":"descendant"} of a route with the same name. Route names must be unique and a nested route cannot use the same name as an ancestor.`)}function Jb(o,t){for(const e of t.keys)if(!o.keys.find(Wl.bind(null,e)))return At(`Absolute path "${o.record.path}" must have the exact same param named "${e.name}" as its parent "${t.record.path}".`)}function t_(o,t){let e=0,n=t.length;for(;e!==n;){const r=e+n>>1;Sh(o,t[r])<0?n=r:e=r+1}const s=e_(o);return s&&(n=t.lastIndexOf(s,n-1),{}.NODE_ENV!=="production"&&n<0&&At(`Finding ancestor route "${s.record.path}" failed for "${o.record.path}"`)),n}function e_(o){let t=o;for(;t=t.parent;)if($h(t)&&Sh(o,t)===0)return t}function $h({record:o}){return!!(o.name||o.components&&Object.keys(o.components).length||o.redirect)}function o_(o){const t={};if(o===""||o==="?")return t;const n=(o[0]==="?"?o.slice(1):o).split("&");for(let s=0;s<n.length;++s){const r=n[s].replace(hh," "),a=r.indexOf("="),i=Qn(a<0?r:r.slice(0,a)),l=a<0?null:Qn(r.slice(a+1));if(i in t){let c=t[i];Ue(c)||(c=t[i]=[c]),c.push(l)}else t[i]=l}return t}function Nh(o){let t="";for(let e in o){const n=o[e];if(e=gb(e),n==null){n!==void 0&&(t+=(t.length?"&":"")+e);continue}(Ue(n)?n.map(r=>r&&Ul(r)):[n&&Ul(n)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+e,r!=null&&(t+="="+r))})}return t}function n_(o){const t={};for(const e in o){const n=o[e];n!==void 0&&(t[e]=Ue(n)?n.map(s=>s==null?null:""+s):n==null?n:""+n)}return t}const s_=Symbol({}.NODE_ENV!=="production"?"router view location matched":""),Fh=Symbol({}.NODE_ENV!=="production"?"router view depth":""),
|
|
70
|
+
See more at https://router.vuejs.org/guide/migration/#Removed-star-or-catch-all-routes.`);if(g=Hb(y,d,x),{}.NODE_ENV!=="production"&&d&&_[0]==="/"&&Jb(g,d),h?(h.alias.push(g),{}.NODE_ENV!=="production"&&qb(h,g)):(m=m||g,m!==g&&m.alias.push(g),p&&f.name&&!Ih(g)&&({}.NODE_ENV!=="production"&&Qb(f,d),a(f.name))),$h(g)&&l(g),b.children){const w=b.children;for(let $=0;$<w.length;$++)r(w[$],g,h&&h.children[$])}h=h||g}return m?()=>{a(m)}:Hs}function a(f){if(Ch(f)){const d=n.get(f);d&&(n.delete(f),e.splice(e.indexOf(d),1),d.children.forEach(a),d.alias.forEach(a))}else{const d=e.indexOf(f);d>-1&&(e.splice(d,1),f.record.name&&n.delete(f.record.name),f.children.forEach(a),f.alias.forEach(a))}}function i(){return e}function l(f){const d=t_(f,e);e.splice(d,0,f),f.record.name&&!Ih(f)&&n.set(f.record.name,f)}function c(f,d){let h,p={},b,x;if("name"in f&&f.name){if(h=n.get(f.name),!h)throw Jn(1,{location:f});if({}.NODE_ENV!=="production"){const m=Object.keys(f.params||{}).filter(y=>!h.keys.find(_=>_.name===y));m.length&&At(`Discarded invalid param(s) "${m.join('", "')}" when navigating. See https://github.com/vuejs/router/blob/main/packages/router/CHANGELOG.md#414-2022-08-22 for more details.`)}x=h.record.name,p=Ut(Ph(d.params,h.keys.filter(m=>!m.optional).concat(h.parent?h.parent.keys.filter(m=>m.optional):[]).map(m=>m.name)),f.params&&Ph(f.params,h.keys.map(m=>m.name))),b=h.stringify(p)}else if(f.path!=null)b=f.path,{}.NODE_ENV!=="production"&&!b.startsWith("/")&&At(`The Matcher cannot resolve relative paths but received "${b}". Unless you directly called \`matcher.resolve("${b}")\`, this is probably a bug in vue-router. Please open an issue at https://github.com/vuejs/router/issues/new/choose.`),h=e.find(m=>m.re.test(b)),h&&(p=h.parse(b),x=h.record.name);else{if(h=d.name?n.get(d.name):e.find(m=>m.re.test(d.path)),!h)throw Jn(1,{location:f,currentLocation:d});x=h.record.name,p=Ut({},d.params,f.params),b=h.stringify(p)}const k=[];let g=h;for(;g;)k.unshift(g.record),g=g.parent;return{name:x,path:b,params:p,matched:k,meta:Wb(k)}}o.forEach(f=>r(f));function u(){e.length=0,n.clear()}return{addRoute:r,resolve:c,removeRoute:a,clearRoutes:u,getRoutes:i,getRecordMatcher:s}}function Ph(o,t){const e={};for(const n of t)n in o&&(e[n]=o[n]);return e}function Rh(o){const t={path:o.path,redirect:o.redirect,name:o.name,meta:o.meta||{},aliasOf:o.aliasOf,beforeEnter:o.beforeEnter,props:jb(o),children:o.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in o?o.components||null:o.component&&{default:o.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function jb(o){const t={},e=o.props||!1;if("component"in o)t.default=e;else for(const n in o.components)t[n]=typeof e=="object"?e[n]:e;return t}function Ih(o){for(;o;){if(o.record.aliasOf)return!0;o=o.parent}return!1}function Wb(o){return o.reduce((t,e)=>Ut(t,e.meta),{})}function Ah(o,t){const e={};for(const n in o)e[n]=n in t?t[n]:o[n];return e}function Wl(o,t){return o.name===t.name&&o.optional===t.optional&&o.repeatable===t.repeatable}function qb(o,t){for(const e of o.keys)if(!e.optional&&!t.keys.find(Wl.bind(null,e)))return At(`Alias "${t.record.path}" and the original record: "${o.record.path}" must have the exact same param named "${e.name}"`);for(const e of t.keys)if(!e.optional&&!o.keys.find(Wl.bind(null,e)))return At(`Alias "${t.record.path}" and the original record: "${o.record.path}" must have the exact same param named "${e.name}"`)}function Kb(o,t){t&&t.record.name&&!o.name&&!o.path&&At(`The route named "${String(t.record.name)}" has a child without a name and an empty path. Using that name won't render the empty path child so you probably want to move the name to the child instead. If this is intentional, add a name to the child route to remove the warning.`)}function Qb(o,t){for(let e=t;e;e=e.parent)if(e.record.name===o.name)throw new Error(`A route named "${String(o.name)}" has been added as a ${t===e?"child":"descendant"} of a route with the same name. Route names must be unique and a nested route cannot use the same name as an ancestor.`)}function Jb(o,t){for(const e of t.keys)if(!o.keys.find(Wl.bind(null,e)))return At(`Absolute path "${o.record.path}" must have the exact same param named "${e.name}" as its parent "${t.record.path}".`)}function t_(o,t){let e=0,n=t.length;for(;e!==n;){const r=e+n>>1;Sh(o,t[r])<0?n=r:e=r+1}const s=e_(o);return s&&(n=t.lastIndexOf(s,n-1),{}.NODE_ENV!=="production"&&n<0&&At(`Finding ancestor route "${s.record.path}" failed for "${o.record.path}"`)),n}function e_(o){let t=o;for(;t=t.parent;)if($h(t)&&Sh(o,t)===0)return t}function $h({record:o}){return!!(o.name||o.components&&Object.keys(o.components).length||o.redirect)}function o_(o){const t={};if(o===""||o==="?")return t;const n=(o[0]==="?"?o.slice(1):o).split("&");for(let s=0;s<n.length;++s){const r=n[s].replace(hh," "),a=r.indexOf("="),i=Qn(a<0?r:r.slice(0,a)),l=a<0?null:Qn(r.slice(a+1));if(i in t){let c=t[i];Ue(c)||(c=t[i]=[c]),c.push(l)}else t[i]=l}return t}function Nh(o){let t="";for(let e in o){const n=o[e];if(e=gb(e),n==null){n!==void 0&&(t+=(t.length?"&":"")+e);continue}(Ue(n)?n.map(r=>r&&Ul(r)):[n&&Ul(n)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+e,r!=null&&(t+="="+r))})}return t}function n_(o){const t={};for(const e in o){const n=o[e];n!==void 0&&(t[e]=Ue(n)?n.map(s=>s==null?null:""+s):n==null?n:""+n)}return t}const s_=Symbol({}.NODE_ENV!=="production"?"router view location matched":""),Fh=Symbol({}.NODE_ENV!=="production"?"router view depth":""),ka=Symbol({}.NODE_ENV!=="production"?"router":""),ql=Symbol({}.NODE_ENV!=="production"?"route location":""),Kl=Symbol({}.NODE_ENV!=="production"?"router view location":"");function Ws(){let o=[];function t(n){return o.push(n),()=>{const s=o.indexOf(n);s>-1&&o.splice(s,1)}}function e(){o=[]}return{add:t,list:()=>o.slice(),reset:e}}function sn(o,t,e,n,s,r=a=>a()){const a=n&&(n.enterCallbacks[s]=n.enterCallbacks[s]||[]);return()=>new Promise((i,l)=>{const c=d=>{d===!1?l(Jn(4,{from:e,to:t})):d instanceof Error?l(d):xa(d)?l(Jn(2,{from:t,to:d})):(a&&n.enterCallbacks[s]===a&&typeof d=="function"&&a.push(d),i())},u=r(()=>o.call(n&&n.instances[s],t,e,{}.NODE_ENV!=="production"?r_(c,t,e):c));let f=Promise.resolve(u);if(o.length<3&&(f=f.then(c)),{}.NODE_ENV!=="production"&&o.length>2){const d=`The "next" callback was never called inside of ${o.name?'"'+o.name+'"':""}:
|
|
71
71
|
${o.toString()}
|
|
72
|
-
. If you are returning a value instead of calling "next", make sure to remove the "next" parameter from your function.`;if(typeof u=="object"&&"then"in u)f=f.then(h=>c._called?h:(At(d),Promise.reject(new Error("Invalid navigation guard"))));else if(u!==void 0&&!c._called){At(d),l(new Error("Invalid navigation guard"));return}}f.catch(d=>l(d))})}function r_(o,t,e){let n=0;return function(){n++===1&&At(`The "next" callback was called more than once in one navigation guard when going from "${e.fullPath}" to "${t.fullPath}". It should be called exactly one time in each navigation guard. This will fail in production.`),o._called=!0,n===1&&o.apply(null,arguments)}}function Ql(o,t,e,n,s=r=>r()){const r=[];for(const a of o){({}).NODE_ENV!=="production"&&!a.components&&!a.children.length&&At(`Record with path "${a.path}" is either missing a "component(s)" or "children" property.`);for(const i in a.components){let l=a.components[i];if({}.NODE_ENV!=="production"){if(!l||typeof l!="object"&&typeof l!="function")throw At(`Component "${i}" in record with path "${a.path}" is not a valid component. Received "${String(l)}".`),new Error("Invalid route component");if("then"in l){At(`Component "${i}" in record with path "${a.path}" is a Promise instead of a function that returns a Promise. Did you write "import('./MyPage.vue')" instead of "() => import('./MyPage.vue')" ? This will break in production if not fixed.`);const c=l;l=()=>c}else l.__asyncLoader&&!l.__warnedDefineAsync&&(l.__warnedDefineAsync=!0,At(`Component "${i}" in record with path "${a.path}" is defined using "defineAsyncComponent()". Write "() => import('./MyPage.vue')" instead of "defineAsyncComponent(() => import('./MyPage.vue'))".`))}if(!(t!=="beforeRouteEnter"&&!a.instances[i]))if(fh(l)){const u=(l.__vccOpts||l)[t];u&&r.push(sn(u,e,n,a,i,s))}else{let c=l();({}).NODE_ENV!=="production"&&!("catch"in c)&&(At(`Component "${i}" in record with path "${a.path}" is a function that does not return a Promise. If you were passing a functional component, make sure to add a "displayName" to the component. This will break in production if not fixed.`),c=Promise.resolve(c)),r.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${i}" at "${a.path}"`);const f=rb(u)?u.default:u;a.mods[i]=u,a.components[i]=f;const h=(f.__vccOpts||f)[t];return h&&sn(h,e,n,a,i,s)()}))}}}return r}function zh(o){const t=io(
|
|
72
|
+
. If you are returning a value instead of calling "next", make sure to remove the "next" parameter from your function.`;if(typeof u=="object"&&"then"in u)f=f.then(h=>c._called?h:(At(d),Promise.reject(new Error("Invalid navigation guard"))));else if(u!==void 0&&!c._called){At(d),l(new Error("Invalid navigation guard"));return}}f.catch(d=>l(d))})}function r_(o,t,e){let n=0;return function(){n++===1&&At(`The "next" callback was called more than once in one navigation guard when going from "${e.fullPath}" to "${t.fullPath}". It should be called exactly one time in each navigation guard. This will fail in production.`),o._called=!0,n===1&&o.apply(null,arguments)}}function Ql(o,t,e,n,s=r=>r()){const r=[];for(const a of o){({}).NODE_ENV!=="production"&&!a.components&&!a.children.length&&At(`Record with path "${a.path}" is either missing a "component(s)" or "children" property.`);for(const i in a.components){let l=a.components[i];if({}.NODE_ENV!=="production"){if(!l||typeof l!="object"&&typeof l!="function")throw At(`Component "${i}" in record with path "${a.path}" is not a valid component. Received "${String(l)}".`),new Error("Invalid route component");if("then"in l){At(`Component "${i}" in record with path "${a.path}" is a Promise instead of a function that returns a Promise. Did you write "import('./MyPage.vue')" instead of "() => import('./MyPage.vue')" ? This will break in production if not fixed.`);const c=l;l=()=>c}else l.__asyncLoader&&!l.__warnedDefineAsync&&(l.__warnedDefineAsync=!0,At(`Component "${i}" in record with path "${a.path}" is defined using "defineAsyncComponent()". Write "() => import('./MyPage.vue')" instead of "defineAsyncComponent(() => import('./MyPage.vue'))".`))}if(!(t!=="beforeRouteEnter"&&!a.instances[i]))if(fh(l)){const u=(l.__vccOpts||l)[t];u&&r.push(sn(u,e,n,a,i,s))}else{let c=l();({}).NODE_ENV!=="production"&&!("catch"in c)&&(At(`Component "${i}" in record with path "${a.path}" is a function that does not return a Promise. If you were passing a functional component, make sure to add a "displayName" to the component. This will break in production if not fixed.`),c=Promise.resolve(c)),r.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${i}" at "${a.path}"`);const f=rb(u)?u.default:u;a.mods[i]=u,a.components[i]=f;const h=(f.__vccOpts||f)[t];return h&&sn(h,e,n,a,i,s)()}))}}}return r}function zh(o){const t=io(ka),e=io(ql);let n=!1,s=null;const r=de(()=>{const u=Tt(o.to);return{}.NODE_ENV!=="production"&&(!n||u!==s)&&(xa(u)||(n?At(`Invalid value for prop "to" in useLink()
|
|
73
73
|
- to:`,u,`
|
|
74
74
|
- previous to:`,s,`
|
|
75
75
|
- props:`,o):At(`Invalid value for prop "to" in useLink()
|
|
76
76
|
- to:`,u,`
|
|
77
|
-
- props:`,o)),s=u,n=!0),t.resolve(u)}),a=de(()=>{const{matched:u}=r.value,{length:f}=u,d=u[f-1],h=e.matched;if(!d||!h.length)return-1;const p=h.findIndex(on.bind(null,d));if(p>-1)return p;const b=Dh(u[f-2]);return f>1&&Dh(d)===b&&h[h.length-1].path!==b?h.findIndex(on.bind(null,u[f-2])):p}),i=de(()=>a.value>-1&&c_(e.params,r.value.params)),l=de(()=>a.value>-1&&a.value===e.matched.length-1&&bh(e.params,r.value.params));function c(u={}){if(l_(u)){const f=t[Tt(o.replace)?"replace":"push"](Tt(o.to)).catch(Hs);return o.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}if({}.NODE_ENV!=="production"&&Lo){const u=Ko();if(u){const f={route:r.value,isActive:i.value,isExactActive:l.value,error:null};u.__vrl_devtools=u.__vrl_devtools||[],u.__vrl_devtools.push(f),Mn(()=>{f.route=r.value,f.isActive=i.value,f.isExactActive=l.value,f.error=
|
|
77
|
+
- props:`,o)),s=u,n=!0),t.resolve(u)}),a=de(()=>{const{matched:u}=r.value,{length:f}=u,d=u[f-1],h=e.matched;if(!d||!h.length)return-1;const p=h.findIndex(on.bind(null,d));if(p>-1)return p;const b=Dh(u[f-2]);return f>1&&Dh(d)===b&&h[h.length-1].path!==b?h.findIndex(on.bind(null,u[f-2])):p}),i=de(()=>a.value>-1&&c_(e.params,r.value.params)),l=de(()=>a.value>-1&&a.value===e.matched.length-1&&bh(e.params,r.value.params));function c(u={}){if(l_(u)){const f=t[Tt(o.replace)?"replace":"push"](Tt(o.to)).catch(Hs);return o.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}if({}.NODE_ENV!=="production"&&Lo){const u=Ko();if(u){const f={route:r.value,isActive:i.value,isExactActive:l.value,error:null};u.__vrl_devtools=u.__vrl_devtools||[],u.__vrl_devtools.push(f),Mn(()=>{f.route=r.value,f.isActive=i.value,f.isExactActive=l.value,f.error=xa(Tt(o.to))?null:'Invalid "to" value'},{flush:"post"})}}return{route:r,href:de(()=>r.value.href),isActive:i,isExactActive:l,navigate:c}}function a_(o){return o.length===1?o[0]:o}const i_=V({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:zh,setup(o,{slots:t}){const e=Wt(zh(o)),{options:n}=io(ka),s=de(()=>({[Mh(o.activeClass,n.linkActiveClass,"router-link-active")]:e.isActive,[Mh(o.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:e.isExactActive}));return()=>{const r=t.default&&a_(t.default(e));return o.custom?r:Xt("a",{"aria-current":e.isExactActive?o.ariaCurrentValue:null,href:e.href,onClick:e.navigate,class:s.value},r)}}});function l_(o){if(!(o.metaKey||o.altKey||o.ctrlKey||o.shiftKey)&&!o.defaultPrevented&&!(o.button!==void 0&&o.button!==0)){if(o.currentTarget&&o.currentTarget.getAttribute){const t=o.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return o.preventDefault&&o.preventDefault(),!0}}function c_(o,t){for(const e in t){const n=t[e],s=o[e];if(typeof n=="string"){if(n!==s)return!1}else if(!Ue(s)||s.length!==n.length||n.some((r,a)=>r!==s[a]))return!1}return!0}function Dh(o){return o?o.aliasOf?o.aliasOf.path:o.path:""}const Mh=(o,t,e)=>o??t??e,u_=V({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(o,{attrs:t,slots:e}){({}).NODE_ENV!=="production"&&f_();const n=io(Kl),s=de(()=>o.route||n.value),r=io(Fh,0),a=de(()=>{let c=Tt(r);const{matched:u}=s.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),i=de(()=>s.value.matched[a.value]);Ar(Fh,de(()=>a.value+1)),Ar(s_,i),Ar(Kl,s);const l=P();return Rt(()=>[l.value,i.value,o.name],([c,u,f],[d,h,p])=>{u&&(u.instances[f]=c,h&&h!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),c&&u&&(!h||!on(u,h)||!d)&&(u.enterCallbacks[f]||[]).forEach(b=>b(c))},{flush:"post"}),()=>{const c=s.value,u=o.name,f=i.value,d=f&&f.components[u];if(!d)return Lh(e.default,{Component:d,route:c});const h=f.props[u],p=h?h===!0?c.params:typeof h=="function"?h(c):h:null,x=Xt(d,Ut({},p,t,{onVnodeUnmounted:k=>{k.component.isUnmounted&&(f.instances[u]=null)},ref:l}));if({}.NODE_ENV!=="production"&&Lo&&x.ref){const k={depth:a.value,name:f.name,path:f.path,meta:f.meta};(Ue(x.ref)?x.ref.map(m=>m.i):[x.ref.i]).forEach(m=>{m.__vrv_devtools=k})}return Lh(e.default,{Component:x,route:c})||x}}});function Lh(o,t){if(!o)return null;const e=o(t);return e.length===1?e[0]:e}const Jl=u_;function f_(){const o=Ko(),t=o.parent&&o.parent.type.name,e=o.parent&&o.parent.subTree&&o.parent.subTree.type;if(t&&(t==="KeepAlive"||t.includes("Transition"))&&typeof e=="object"&&e.name==="RouterView"){const n=t==="KeepAlive"?"keep-alive":"transition";At(`<router-view> can no longer be used directly inside <transition> or <keep-alive>.
|
|
78
78
|
Use slot props instead:
|
|
79
79
|
|
|
80
80
|
<router-view v-slot="{ Component }">
|
|
81
81
|
<${n}>
|
|
82
82
|
<component :is="Component" />
|
|
83
83
|
</${n}>
|
|
84
|
-
</router-view>`)}}function qs(o,t){const e=Ut({},o,{matched:o.matched.map(n=>k_(n,["instances","children","aliasOf"]))});return{_custom:{type:null,readOnly:!0,display:o.fullPath,tooltip:t,value:e}}}function
|
|
84
|
+
</router-view>`)}}function qs(o,t){const e=Ut({},o,{matched:o.matched.map(n=>k_(n,["instances","children","aliasOf"]))});return{_custom:{type:null,readOnly:!0,display:o.fullPath,tooltip:t,value:e}}}function wa(o){return{_custom:{display:o}}}let d_=0;function h_(o,t,e){if(t.__hasDevtools)return;t.__hasDevtools=!0;const n=d_++;sb({id:"org.vuejs.router"+(n?"."+n:""),label:"Vue Router",packageName:"vue-router",homepage:"https://router.vuejs.org",logo:"https://router.vuejs.org/logo.png",componentStateTypes:["Routing"],app:o},s=>{typeof s.now!="function"&&console.warn("[Vue Router]: You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),s.on.inspectComponent((u,f)=>{u.instanceData&&u.instanceData.state.push({type:"Routing",key:"$route",editable:!1,value:qs(t.currentRoute.value,"Current Route")})}),s.on.visitComponentTree(({treeNode:u,componentInstance:f})=>{if(f.__vrv_devtools){const d=f.__vrv_devtools;u.tags.push({label:(d.name?`${d.name.toString()}: `:"")+d.path,textColor:0,tooltip:"This component is rendered by <router-view>",backgroundColor:Bh})}Ue(f.__vrl_devtools)&&(f.__devtoolsApi=s,f.__vrl_devtools.forEach(d=>{let h=d.route.path,p=Xh,b="",x=0;d.error?(h=d.error,p=v_,x=b_):d.isExactActive?(p=Vh,b="This is exactly active"):d.isActive&&(p=Yh,b="This link is active"),u.tags.push({label:h,textColor:x,tooltip:b,backgroundColor:p})}))}),Rt(t.currentRoute,()=>{l(),s.notifyComponentUpdate(),s.sendInspectorTree(i),s.sendInspectorState(i)});const r="router:navigations:"+n;s.addTimelineLayer({id:r,label:`Router${n?" "+n:""} Navigations`,color:4237508}),t.onError((u,f)=>{s.addTimelineEvent({layerId:r,event:{title:"Error during Navigation",subtitle:f.fullPath,logType:"error",time:s.now(),data:{error:u},groupId:f.meta.__navigationId}})});let a=0;t.beforeEach((u,f)=>{const d={guard:wa("beforeEach"),from:qs(f,"Current Location during this navigation"),to:qs(u,"Target location")};Object.defineProperty(u.meta,"__navigationId",{value:a++}),s.addTimelineEvent({layerId:r,event:{time:s.now(),title:"Start of navigation",subtitle:u.fullPath,data:d,groupId:u.meta.__navigationId}})}),t.afterEach((u,f,d)=>{const h={guard:wa("afterEach")};d?(h.failure={_custom:{type:Error,readOnly:!0,display:d?d.message:"",tooltip:"Navigation Failure",value:d}},h.status=wa("❌")):h.status=wa("✅"),h.from=qs(f,"Current Location during this navigation"),h.to=qs(u,"Target location"),s.addTimelineEvent({layerId:r,event:{title:"End of navigation",subtitle:u.fullPath,time:s.now(),data:h,logType:d?"warning":"default",groupId:u.meta.__navigationId}})});const i="router-inspector:"+n;s.addInspector({id:i,label:"Routes"+(n?" "+n:""),icon:"book",treeFilterPlaceholder:"Search routes"});function l(){if(!c)return;const u=c;let f=e.getRoutes().filter(d=>!d.parent||!d.parent.record.components);f.forEach(Hh),u.filter&&(f=f.filter(d=>tc(d,u.filter.toLowerCase()))),f.forEach(d=>Uh(d,t.currentRoute.value)),u.rootNodes=f.map(Zh)}let c;s.on.getInspectorTree(u=>{c=u,u.app===o&&u.inspectorId===i&&l()}),s.on.getInspectorState(u=>{if(u.app===o&&u.inspectorId===i){const d=e.getRoutes().find(h=>h.record.__vd_id===u.nodeId);d&&(u.state={options:m_(d)})}}),s.sendInspectorTree(i),s.sendInspectorState(i)})}function p_(o){return o.optional?o.repeatable?"*":"?":o.repeatable?"+":""}function m_(o){const{record:t}=o,e=[{editable:!1,key:"path",value:t.path}];return t.name!=null&&e.push({editable:!1,key:"name",value:t.name}),e.push({editable:!1,key:"regexp",value:o.re}),o.keys.length&&e.push({editable:!1,key:"keys",value:{_custom:{type:null,readOnly:!0,display:o.keys.map(n=>`${n.name}${p_(n)}`).join(" "),tooltip:"Param keys",value:o.keys}}}),t.redirect!=null&&e.push({editable:!1,key:"redirect",value:t.redirect}),o.alias.length&&e.push({editable:!1,key:"aliases",value:o.alias.map(n=>n.record.path)}),Object.keys(o.record.meta).length&&e.push({editable:!1,key:"meta",value:o.record.meta}),e.push({key:"score",editable:!1,value:{_custom:{type:null,readOnly:!0,display:o.score.map(n=>n.join(", ")).join(" | "),tooltip:"Score used to sort routes",value:o.score}}}),e}const Bh=15485081,Yh=2450411,Vh=8702998,g_=2282478,Xh=16486972,y_=6710886,v_=16704226,b_=12131356;function Zh(o){const t=[],{record:e}=o;e.name!=null&&t.push({label:String(e.name),textColor:0,backgroundColor:g_}),e.aliasOf&&t.push({label:"alias",textColor:0,backgroundColor:Xh}),o.__vd_match&&t.push({label:"matches",textColor:0,backgroundColor:Bh}),o.__vd_exactActive&&t.push({label:"exact",textColor:0,backgroundColor:Vh}),o.__vd_active&&t.push({label:"active",textColor:0,backgroundColor:Yh}),e.redirect&&t.push({label:typeof e.redirect=="string"?`redirect: ${e.redirect}`:"redirects",textColor:16777215,backgroundColor:y_});let n=e.__vd_id;return n==null&&(n=String(__++),e.__vd_id=n),{id:n,label:e.path,tags:t,children:o.children.map(Zh)}}let __=0;const x_=/^\/(.*)\/([a-z]*)$/;function Uh(o,t){const e=t.matched.length&&on(t.matched[t.matched.length-1],o.record);o.__vd_exactActive=o.__vd_active=e,e||(o.__vd_active=t.matched.some(n=>on(n,o.record))),o.children.forEach(n=>Uh(n,t))}function Hh(o){o.__vd_match=!1,o.children.forEach(Hh)}function tc(o,t){const e=String(o.re).match(x_);if(o.__vd_match=!1,!e||e.length<3)return!1;if(new RegExp(e[1].replace(/\$$/,""),e[2]).test(t))return o.children.forEach(a=>tc(a,t)),o.record.path!=="/"||t==="/"?(o.__vd_match=o.re.test(t),!0):!1;const s=o.record.path.toLowerCase(),r=Qn(s);return!t.startsWith("/")&&(r.includes(t)||s.includes(t))||r.startsWith(t)||s.startsWith(t)||o.record.name&&String(o.record.name).includes(t)?!0:o.children.some(a=>tc(a,t))}function k_(o,t){const e={};for(const n in o)t.includes(n)||(e[n]=o[n]);return e}function w_(o){const t=Gb(o.routes,o),e=o.parseQuery||o_,n=o.stringifyQuery||Nh,s=o.history;if({}.NODE_ENV!=="production"&&!s)throw new Error('Provide the "history" option when calling "createRouter()": https://router.vuejs.org/api/interfaces/RouterOptions.html#history');const r=Ws(),a=Ws(),i=Ws(),l=z0(nn);let c=nn;Lo&&o.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Xl.bind(null,F=>""+F),f=Xl.bind(null,vb),d=Xl.bind(null,Qn);function h(F,ot){let G,it;return Ch(F)?(G=t.getRecordMatcher(F),{}.NODE_ENV!=="production"&&!G&&At(`Parent route "${String(F)}" not found when adding child route`,ot),it=ot):it=F,t.addRoute(it,G)}function p(F){const ot=t.getRecordMatcher(F);ot?t.removeRoute(ot):{}.NODE_ENV!=="production"&&At(`Cannot remove non-existent route "${String(F)}"`)}function b(){return t.getRoutes().map(F=>F.record)}function x(F){return!!t.getRecordMatcher(F)}function k(F,ot){if(ot=Ut({},ot||l.value),typeof F=="string"){const S=Hl(e,F,ot.path),E=t.resolve({path:S.path},ot),z=s.createHref(S.fullPath);return{}.NODE_ENV!=="production"&&(z.startsWith("//")?At(`Location "${F}" resolved to "${z}". A resolved location cannot start with multiple slashes.`):E.matched.length||At(`No match found for location with path "${F}"`)),Ut(S,E,{params:d(E.params),hash:Qn(S.hash),redirectedFrom:void 0,href:z})}if({}.NODE_ENV!=="production"&&!xa(F))return At(`router.resolve() was passed an invalid location. This will fail in production.
|
|
85
85
|
- Location:`,F),k({});let G;if(F.path!=null)({}).NODE_ENV!=="production"&&"params"in F&&!("name"in F)&&Object.keys(F.params).length&&At(`Path "${F.path}" was passed with params but they will be ignored. Use a named route alongside params instead.`),G=Ut({},F,{path:Hl(e,F.path,ot.path).path});else{const S=Ut({},F.params);for(const E in S)S[E]==null&&delete S[E];G=Ut({},F,{params:f(S)}),ot.params=f(ot.params)}const it=t.resolve(G,ot),Pt=F.hash||"";({}).NODE_ENV!=="production"&&Pt&&!Pt.startsWith("#")&&At(`A \`hash\` should always start with the character "#". Replace "${Pt}" with "#${Pt}".`),it.params=u(d(it.params));const Ht=xb(n,Ut({},F,{hash:mb(Pt),path:it.path})),Et=s.createHref(Ht);return{}.NODE_ENV!=="production"&&(Et.startsWith("//")?At(`Location "${F}" resolved to "${Et}". A resolved location cannot start with multiple slashes.`):it.matched.length||At(`No match found for location with path "${F.path!=null?F.path:F}"`)),Ut({fullPath:Ht,hash:Pt,query:n===Nh?n_(F.query):F.query||{}},it,{redirectedFrom:void 0,href:Et})}function g(F){return typeof F=="string"?Hl(e,F,l.value.path):Ut({},F)}function m(F,ot){if(c!==F)return Jn(8,{from:ot,to:F})}function y(F){return $(F)}function _(F){return y(Ut(g(F),{replace:!0}))}function w(F){const ot=F.matched[F.matched.length-1];if(ot&&ot.redirect){const{redirect:G}=ot;let it=typeof G=="function"?G(F):G;if(typeof it=="string"&&(it=it.includes("?")||it.includes("#")?it=g(it):{path:it},it.params={}),{}.NODE_ENV!=="production"&&it.path==null&&!("name"in it))throw At(`Invalid redirect found:
|
|
86
86
|
${JSON.stringify(it,null,2)}
|
|
87
87
|
when navigating to "${F.fullPath}". A redirect must contain a name or path. This will break in production.`),new Error("Invalid redirect");return Ut({query:F.query,hash:F.hash,params:it.path!=null?{}:F.params},it)}}function $(F,ot){const G=c=k(F),it=l.value,Pt=F.state,Ht=F.force,Et=F.replace===!0,S=w(G);if(S)return $(Ut(g(S),{state:typeof S=="object"?Ut({},Pt,S.state):Pt,force:Ht,replace:Et}),ot||G);const E=G;E.redirectedFrom=ot;let z;return!Ht&&vh(n,it,G)&&(z=Jn(16,{to:E,from:it}),he(it,it,!0,!1)),(z?Promise.resolve(z):M(E,it)).catch(X=>Bo(X)?Bo(X,2)?X:me(X):kt(X,E,it)).then(X=>{if(X){if(Bo(X,2))return{}.NODE_ENV!=="production"&&vh(n,k(X.to),E)&&ot&&(ot._count=ot._count?ot._count+1:1)>30?(At(`Detected a possibly infinite redirection in a navigation guard when going from "${it.fullPath}" to "${E.fullPath}". Aborting to avoid a Stack Overflow.
|
|
88
|
-
Are you always returning a new location within a navigation guard? That would lead to this error. Only return when redirecting or aborting, that should fix this. This might break in production if not fixed.`),Promise.reject(new Error("Infinite redirect in navigation guard"))):$(Ut({replace:Et},g(X.to),{state:typeof X.to=="object"?Ut({},Pt,X.to.state):Pt,force:Ht}),ot||E)}else X=j(E,it,!0,Et,Pt);return ut(E,it,X),X})}function Y(F,ot){const G=m(F,ot);return G?Promise.reject(G):Promise.resolve()}function B(F){const ot=A.values().next().value;return ot&&typeof ot.runWithContext=="function"?ot.runWithContext(F):F()}function M(F,ot){let G;const[it,Pt,Ht]=C_(F,ot);G=Ql(it.reverse(),"beforeRouteLeave",F,ot);for(const S of it)S.leaveGuards.forEach(E=>{G.push(sn(E,F,ot))});const Et=Y.bind(null,F,ot);return G.push(Et),Nt(G).then(()=>{G=[];for(const S of r.list())G.push(sn(S,F,ot));return G.push(Et),Nt(G)}).then(()=>{G=Ql(Pt,"beforeRouteUpdate",F,ot);for(const S of Pt)S.updateGuards.forEach(E=>{G.push(sn(E,F,ot))});return G.push(Et),Nt(G)}).then(()=>{G=[];for(const S of Ht)if(S.beforeEnter)if(Ue(S.beforeEnter))for(const E of S.beforeEnter)G.push(sn(E,F,ot));else G.push(sn(S.beforeEnter,F,ot));return G.push(Et),Nt(G)}).then(()=>(F.matched.forEach(S=>S.enterCallbacks={}),G=Ql(Ht,"beforeRouteEnter",F,ot,B),G.push(Et),Nt(G))).then(()=>{G=[];for(const S of a.list())G.push(sn(S,F,ot));return G.push(Et),Nt(G)}).catch(S=>Bo(S,8)?S:Promise.reject(S))}function ut(F,ot,G){i.list().forEach(it=>B(()=>it(F,ot,G)))}function j(F,ot,G,it,Pt){const Ht=m(F,ot);if(Ht)return Ht;const Et=ot===nn,S=Lo?history.state:{};G&&(it||Et?s.replace(F.fullPath,Ut({scroll:Et&&S&&S.scroll},Pt)):s.push(F.fullPath,Pt)),l.value=F,he(F,ot,G,Et),me()}let tt;function gt(){tt||(tt=s.listen((F,ot,G)=>{if(!se.listening)return;const it=k(F),Pt=w(it);if(Pt){$(Ut(Pt,{replace:!0,force:!0}),it).catch(Hs);return}c=it;const Ht=l.value;Lo&&Pb(xh(Ht.fullPath,G.delta),xa()),M(it,Ht).catch(Et=>Bo(Et,12)?Et:Bo(Et,2)?($(Ut(g(Et.to),{force:!0}),it).then(S=>{Bo(S,20)&&!G.delta&&G.type===Gs.pop&&s.go(-1,!1)}).catch(Hs),Promise.reject()):(G.delta&&s.go(-G.delta,!1),kt(Et,it,Ht))).then(Et=>{Et=Et||j(it,Ht,!1),Et&&(G.delta&&!Bo(Et,8)?s.go(-G.delta,!1):G.type===Gs.pop&&Bo(Et,20)&&s.go(-1,!1)),ut(it,Ht,Et)}).catch(Hs)}))}let Ot=Ws(),$t=Ws(),xt;function kt(F,ot,G){me(F);const it=$t.list();return it.length?it.forEach(Pt=>Pt(F,ot,G)):({}.NODE_ENV!=="production"&&At("uncaught error during route navigation:"),console.error(F)),Promise.reject(F)}function ne(){return xt&&l.value!==nn?Promise.resolve():new Promise((F,ot)=>{Ot.add([F,ot])})}function me(F){return xt||(xt=!F,gt(),Ot.list().forEach(([ot,G])=>F?G(F):ot()),Ot.reset()),F}function he(F,ot,G,it){const{scrollBehavior:Pt}=o;if(!Lo||!Pt)return Promise.resolve();const Ht=!G&&Rb(xh(F.fullPath,0))||(it||!G)&&history.state&&history.state.scroll||null;return kr().then(()=>Pt(F,ot,Ht)).then(Et=>Et&&Ob(Et)).catch(Et=>kt(Et,F,ot))}const Vt=F=>s.go(F);let et;const A=new Set,se={currentRoute:l,listening:!0,addRoute:h,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:x,getRoutes:b,resolve:k,options:o,push:y,replace:_,go:Vt,back:()=>Vt(-1),forward:()=>Vt(1),beforeEach:r.add,beforeResolve:a.add,afterEach:i.add,onError:$t.add,isReady:ne,install(F){const ot=this;F.component("RouterLink",i_),F.component("RouterView",Jl),F.config.globalProperties.$router=ot,Object.defineProperty(F.config.globalProperties,"$route",{enumerable:!0,get:()=>Tt(l)}),Lo&&!et&&l.value===nn&&(et=!0,y(s.location).catch(Pt=>{({}).NODE_ENV!=="production"&&At("Unexpected error when starting the router:",Pt)}));const G={};for(const Pt in nn)Object.defineProperty(G,Pt,{get:()=>l.value[Pt],enumerable:!0});F.provide(wa,ot),F.provide(ql,hu(G)),F.provide(Kl,l);const it=F.unmount;A.add(F),F.unmount=function(){A.delete(F),A.size<1&&(c=nn,tt&&tt(),tt=null,l.value=nn,et=!1,xt=!1),it()},{}.NODE_ENV!=="production"&&Lo&&h_(F,ot,t)}};function Nt(F){return F.reduce((ot,G)=>ot.then(()=>B(G)),Promise.resolve())}return se}function C_(o,t){const e=[],n=[],s=[],r=Math.max(t.matched.length,o.matched.length);for(let a=0;a<r;a++){const i=t.matched[a];i&&(o.matched.find(c=>on(c,i))?n.push(i):e.push(i));const l=o.matched[a];l&&(t.matched.find(c=>on(c,l))||s.push(l))}return[e,n,s]}function Ta(){return io(wa)}function Gh(o){return io(ql)}const T_={class:"page"},E_={class:"page-header"},S_={class:"page-main"},O_={class:"page-main-scroll"},P_={class:"page-footer"},R_={class:"page-global"},I_=V({customOptions:{},inheritAttrs:!0,__name:"LayoutPage",setup(o,{expose:t}){return t({}),(e,n)=>(I(),D("div",T_,[v("div",E_,[mt(e.$slots,"header",{},void 0,!0)]),v("div",S_,[v("div",O_,[mt(e.$slots,"default",{},void 0,!0)])]),v("div",P_,[mt(e.$slots,"footer",{},void 0,!0)]),v("div",R_,[mt(e.$slots,"global",{},void 0,!0)])]))}}),Pw="",st=(o,t)=>{const e=o.__vccOpts||o;for(const[n,s]of t)e[n]=s;return e},to=st(I_,[["__scopeId","data-v-3c77fd20"]]),A_={class:"view-document"},$_=["src"],N_=V({inheritAttrs:!0,customOptions:{LayoutPage:to},__name:"ViewDocument",props:{src:{default:""},title:{default:""}},setup(o){const t=o,e=Gh();Xd(typeof e.params.title=="string"?e.params.title:t.title);const n=decodeURIComponent(typeof e.params.src=="string"?e.params.src:t.src);return(s,r)=>(I(),dt(to,null,{default:W(()=>[v("div",A_,[v("img",{class:"img",src:Tt(n)},null,8,$_)])]),_:1}))}}),Rw="",ec=st(N_,[["__scopeId","data-v-786ac2a3"]]),jh=/^[a-z0-9]+(-[a-z0-9]+)*$/,Ea=(o,t,e,n="")=>{const s=o.split(":");if(o.slice(0,1)==="@"){if(s.length<2||s.length>3)return null;n=s.shift().slice(1)}if(s.length>3||!s.length)return null;if(s.length>1){const i=s.pop(),l=s.pop(),c={provider:s.length>0?s[0]:n,prefix:l,name:i};return t&&!Sa(c)?null:c}const r=s[0],a=r.split("-");if(a.length>1){const i={provider:n,prefix:a.shift(),name:a.join("-")};return t&&!Sa(i)?null:i}if(e&&n===""){const i={provider:n,prefix:"",name:r};return t&&!Sa(i,e)?null:i}return null},Sa=(o,t)=>o?!!((t&&o.prefix===""||o.prefix)&&o.name):!1,Wh=Object.freeze({left:0,top:0,width:16,height:16}),Oa=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Pa=Object.freeze({...Wh,...Oa}),oc=Object.freeze({...Pa,body:"",hidden:!1});function F_(o,t){const e={};!o.hFlip!=!t.hFlip&&(e.hFlip=!0),!o.vFlip!=!t.vFlip&&(e.vFlip=!0);const n=((o.rotate||0)+(t.rotate||0))%4;return n&&(e.rotate=n),e}function qh(o,t){const e=F_(o,t);for(const n in oc)n in Oa?n in o&&!(n in e)&&(e[n]=Oa[n]):n in t?e[n]=t[n]:n in o&&(e[n]=o[n]);return e}function z_(o,t){const e=o.icons,n=o.aliases||Object.create(null),s=Object.create(null);function r(a){if(e[a])return s[a]=[];if(!(a in s)){s[a]=null;const i=n[a]&&n[a].parent,l=i&&r(i);l&&(s[a]=[i].concat(l))}return s[a]}return Object.keys(e).concat(Object.keys(n)).forEach(r),s}function D_(o,t,e){const n=o.icons,s=o.aliases||Object.create(null);let r={};function a(i){r=qh(n[i]||s[i],r)}return a(t),e.forEach(a),qh(o,r)}function Kh(o,t){const e=[];if(typeof o!="object"||typeof o.icons!="object")return e;o.not_found instanceof Array&&o.not_found.forEach(s=>{t(s,null),e.push(s)});const n=z_(o);for(const s in n){const r=n[s];r&&(t(s,D_(o,s,r)),e.push(s))}return e}const M_={provider:"",aliases:{},not_found:{},...Wh};function nc(o,t){for(const e in t)if(e in o&&typeof o[e]!=typeof t[e])return!1;return!0}function Qh(o){if(typeof o!="object"||o===null)return null;const t=o;if(typeof t.prefix!="string"||!o.icons||typeof o.icons!="object"||!nc(o,M_))return null;const e=t.icons;for(const s in e){const r=e[s];if(!s||typeof r.body!="string"||!nc(r,oc))return null}const n=t.aliases||Object.create(null);for(const s in n){const r=n[s],a=r.parent;if(!s||typeof a!="string"||!e[a]&&!n[a]||!nc(r,oc))return null}return t}const Jh=Object.create(null);function L_(o,t){return{provider:o,prefix:t,icons:Object.create(null),missing:new Set}}function ts(o,t){const e=Jh[o]||(Jh[o]=Object.create(null));return e[t]||(e[t]=L_(o,t))}function tp(o,t){return Qh(t)?Kh(t,(e,n)=>{n?o.icons[e]=n:o.missing.add(e)}):[]}function B_(o,t,e){try{if(typeof e.body=="string")return o.icons[t]={...e},!0}catch{}return!1}let Ks=!1;function ep(o){return typeof o=="boolean"&&(Ks=o),Ks}function Y_(o){const t=typeof o=="string"?Ea(o,!0,Ks):o;if(t){const e=ts(t.provider,t.prefix),n=t.name;return e.icons[n]||(e.missing.has(n)?null:void 0)}}function V_(o,t){const e=Ea(o,!0,Ks);if(!e)return!1;const n=ts(e.provider,e.prefix);return t?B_(n,e.name,t):(n.missing.add(e.name),!0)}function X_(o,t){if(typeof o!="object")return!1;if(typeof t!="string"&&(t=o.provider||""),Ks&&!t&&!o.prefix){let s=!1;return Qh(o)&&(o.prefix="",Kh(o,(r,a)=>{V_(r,a)&&(s=!0)})),s}const e=o.prefix;if(!Sa({provider:t,prefix:e,name:"a"}))return!1;const n=ts(t,e);return!!tp(n,o)}const op=Object.freeze({width:null,height:null}),np=Object.freeze({...op,...Oa}),Z_=/(-?[0-9.]*[0-9]+[0-9.]*)/g,U_=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function sp(o,t,e){if(t===1)return o;if(e=e||100,typeof o=="number")return Math.ceil(o*t*e)/e;if(typeof o!="string")return o;const n=o.split(Z_);if(n===null||!n.length)return o;const s=[];let r=n.shift(),a=U_.test(r);for(;;){if(a){const i=parseFloat(r);isNaN(i)?s.push(r):s.push(Math.ceil(i*t*e)/e)}else s.push(r);if(r=n.shift(),r===void 0)return s.join("");a=!a}}function H_(o,t="defs"){let e="";const n=o.indexOf("<"+t);for(;n>=0;){const s=o.indexOf(">",n),r=o.indexOf("</"+t);if(s===-1||r===-1)break;const a=o.indexOf(">",r);if(a===-1)break;e+=o.slice(s+1,r).trim(),o=o.slice(0,n).trim()+o.slice(a+1)}return{defs:e,content:o}}function G_(o,t){return o?"<defs>"+o+"</defs>"+t:t}function j_(o,t,e){const n=H_(o);return G_(n.defs,t+n.content+e)}const W_=o=>o==="unset"||o==="undefined"||o==="none";function q_(o,t){const e={...Pa,...o},n={...np,...t},s={left:e.left,top:e.top,width:e.width,height:e.height};let r=e.body;[e,n].forEach(b=>{const x=[],k=b.hFlip,g=b.vFlip;let m=b.rotate;k?g?m+=2:(x.push("translate("+(s.width+s.left).toString()+" "+(0-s.top).toString()+")"),x.push("scale(-1 1)"),s.top=s.left=0):g&&(x.push("translate("+(0-s.left).toString()+" "+(s.height+s.top).toString()+")"),x.push("scale(1 -1)"),s.top=s.left=0);let y;switch(m<0&&(m-=Math.floor(m/4)*4),m=m%4,m){case 1:y=s.height/2+s.top,x.unshift("rotate(90 "+y.toString()+" "+y.toString()+")");break;case 2:x.unshift("rotate(180 "+(s.width/2+s.left).toString()+" "+(s.height/2+s.top).toString()+")");break;case 3:y=s.width/2+s.left,x.unshift("rotate(-90 "+y.toString()+" "+y.toString()+")");break}m%2===1&&(s.left!==s.top&&(y=s.left,s.left=s.top,s.top=y),s.width!==s.height&&(y=s.width,s.width=s.height,s.height=y)),x.length&&(r=j_(r,'<g transform="'+x.join(" ")+'">',"</g>"))});const a=n.width,i=n.height,l=s.width,c=s.height;let u,f;a===null?(f=i===null?"1em":i==="auto"?c:i,u=sp(f,l/c)):(u=a==="auto"?l:a,f=i===null?sp(u,c/l):i==="auto"?c:i);const d={},h=(b,x)=>{W_(x)||(d[b]=x.toString())};h("width",u),h("height",f);const p=[s.left,s.top,l,c];return d.viewBox=p.join(" "),{attributes:d,viewBox:p,body:r}}const K_=/\sid="(\S+)"/g,Q_="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let J_=0;function tx(o,t=Q_){const e=[];let n;for(;n=K_.exec(o);)e.push(n[1]);if(!e.length)return o;const s="suffix"+(Math.random()*16777216|Date.now()).toString(16);return e.forEach(r=>{const a=typeof t=="function"?t(r):t+(J_++).toString(),i=r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");o=o.replace(new RegExp('([#;"])('+i+')([")]|\\.[a-z])',"g"),"$1"+a+s+"$3")}),o=o.replace(new RegExp(s,"g"),""),o}const sc=Object.create(null);function ex(o,t){sc[o]=t}function rc(o){return sc[o]||sc[""]}function ac(o){let t;if(typeof o.resources=="string")t=[o.resources];else if(t=o.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:o.path||"/",maxURL:o.maxURL||500,rotate:o.rotate||750,timeout:o.timeout||5e3,random:o.random===!0,index:o.index||0,dataAfterTimeout:o.dataAfterTimeout!==!1}}const ic=Object.create(null),Qs=["https://api.simplesvg.com","https://api.unisvg.com"],Ra=[];for(;Qs.length>0;)Qs.length===1||Math.random()>.5?Ra.push(Qs.shift()):Ra.push(Qs.pop());ic[""]=ac({resources:["https://api.iconify.design"].concat(Ra)});function ox(o,t){const e=ac(t);return e===null?!1:(ic[o]=e,!0)}function lc(o){return ic[o]}let rp=(()=>{let o;try{if(o=fetch,typeof o=="function")return o}catch{}})();function nx(o,t){const e=lc(o);if(!e)return 0;let n;if(!e.maxURL)n=0;else{let s=0;e.resources.forEach(a=>{s=Math.max(s,a.length)});const r=t+".json?icons=";n=e.maxURL-s-e.path.length-r.length}return n}function sx(o){return o===404}const rx=(o,t,e)=>{const n=[],s=nx(o,t),r="icons";let a={type:r,provider:o,prefix:t,icons:[]},i=0;return e.forEach((l,c)=>{i+=l.length+1,i>=s&&c>0&&(n.push(a),a={type:r,provider:o,prefix:t,icons:[]},i=l.length),a.icons.push(l)}),n.push(a),n};function ax(o){if(typeof o=="string"){const t=lc(o);if(t)return t.path}return"/"}const ix={prepare:rx,send:(o,t,e)=>{if(!rp){e("abort",424);return}let n=ax(t.provider);switch(t.type){case"icons":{const r=t.prefix,i=t.icons.join(","),l=new URLSearchParams({icons:i});n+=r+".json?"+l.toString();break}case"custom":{const r=t.uri;n+=r.slice(0,1)==="/"?r.slice(1):r;break}default:e("abort",400);return}let s=503;rp(o+n).then(r=>{const a=r.status;if(a!==200){setTimeout(()=>{e(sx(a)?"abort":"next",a)});return}return s=501,r.json()}).then(r=>{if(typeof r!="object"||r===null){setTimeout(()=>{r===404?e("abort",r):e("next",s)});return}setTimeout(()=>{e("success",r)})}).catch(()=>{e("next",s)})}};function lx(o){const t={loaded:[],missing:[],pending:[]},e=Object.create(null);o.sort((s,r)=>s.provider!==r.provider?s.provider.localeCompare(r.provider):s.prefix!==r.prefix?s.prefix.localeCompare(r.prefix):s.name.localeCompare(r.name));let n={provider:"",prefix:"",name:""};return o.forEach(s=>{if(n.name===s.name&&n.prefix===s.prefix&&n.provider===s.provider)return;n=s;const r=s.provider,a=s.prefix,i=s.name,l=e[r]||(e[r]=Object.create(null)),c=l[a]||(l[a]=ts(r,a));let u;i in c.icons?u=t.loaded:a===""||c.missing.has(i)?u=t.missing:u=t.pending;const f={provider:r,prefix:a,name:i};u.push(f)}),t}function ap(o,t){o.forEach(e=>{const n=e.loaderCallbacks;n&&(e.loaderCallbacks=n.filter(s=>s.id!==t))})}function cx(o){o.pendingCallbacksFlag||(o.pendingCallbacksFlag=!0,setTimeout(()=>{o.pendingCallbacksFlag=!1;const t=o.loaderCallbacks?o.loaderCallbacks.slice(0):[];if(!t.length)return;let e=!1;const n=o.provider,s=o.prefix;t.forEach(r=>{const a=r.icons,i=a.pending.length;a.pending=a.pending.filter(l=>{if(l.prefix!==s)return!0;const c=l.name;if(o.icons[c])a.loaded.push({provider:n,prefix:s,name:c});else if(o.missing.has(c))a.missing.push({provider:n,prefix:s,name:c});else return e=!0,!0;return!1}),a.pending.length!==i&&(e||ap([o],r.id),r.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),r.abort))})}))}let ux=0;function fx(o,t,e){const n=ux++,s=ap.bind(null,e,n);if(!t.pending.length)return s;const r={id:n,icons:t,callback:o,abort:s};return e.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(r)}),s}function dx(o,t=!0,e=!1){const n=[];return o.forEach(s=>{const r=typeof s=="string"?Ea(s,t,e):s;r&&n.push(r)}),n}var hx={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function px(o,t,e,n){const s=o.resources.length,r=o.random?Math.floor(Math.random()*s):o.index;let a;if(o.random){let w=o.resources.slice(0);for(a=[];w.length>1;){const $=Math.floor(Math.random()*w.length);a.push(w[$]),w=w.slice(0,$).concat(w.slice($+1))}a=a.concat(w)}else a=o.resources.slice(r).concat(o.resources.slice(0,r));const i=Date.now();let l="pending",c=0,u,f=null,d=[],h=[];typeof n=="function"&&h.push(n);function p(){f&&(clearTimeout(f),f=null)}function b(){l==="pending"&&(l="aborted"),p(),d.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),d=[]}function x(w,$){$&&(h=[]),typeof w=="function"&&h.push(w)}function k(){return{startTime:i,payload:t,status:l,queriesSent:c,queriesPending:d.length,subscribe:x,abort:b}}function g(){l="failed",h.forEach(w=>{w(void 0,u)})}function m(){d.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),d=[]}function y(w,$,Y){const B=$!=="success";switch(d=d.filter(M=>M!==w),l){case"pending":break;case"failed":if(B||!o.dataAfterTimeout)return;break;default:return}if($==="abort"){u=Y,g();return}if(B){u=Y,d.length||(a.length?_():g());return}if(p(),m(),!o.random){const M=o.resources.indexOf(w.resource);M!==-1&&M!==o.index&&(o.index=M)}l="completed",h.forEach(M=>{M(Y)})}function _(){if(l!=="pending")return;p();const w=a.shift();if(w===void 0){if(d.length){f=setTimeout(()=>{p(),l==="pending"&&(m(),g())},o.timeout);return}g();return}const $={status:"pending",resource:w,callback:(Y,B)=>{y($,Y,B)}};d.push($),c++,f=setTimeout(_,o.rotate),e(w,t,$.callback)}return setTimeout(_),k}function ip(o){const t={...hx,...o};let e=[];function n(){e=e.filter(i=>i().status==="pending")}function s(i,l,c){const u=px(t,i,l,(f,d)=>{n(),c&&c(f,d)});return e.push(u),u}function r(i){return e.find(l=>i(l))||null}return{query:s,find:r,setIndex:i=>{t.index=i},getIndex:()=>t.index,cleanup:n}}function lp(){}const cc=Object.create(null);function mx(o){if(!cc[o]){const t=lc(o);if(!t)return;const e=ip(t),n={config:t,redundancy:e};cc[o]=n}return cc[o]}function gx(o,t,e){let n,s;if(typeof o=="string"){const r=rc(o);if(!r)return e(void 0,424),lp;s=r.send;const a=mx(o);a&&(n=a.redundancy)}else{const r=ac(o);if(r){n=ip(r);const a=o.resources?o.resources[0]:"",i=rc(a);i&&(s=i.send)}}return!n||!s?(e(void 0,424),lp):n.query(t,s,e)().abort}function cp(){}function yx(o){o.iconsLoaderFlag||(o.iconsLoaderFlag=!0,setTimeout(()=>{o.iconsLoaderFlag=!1,cx(o)}))}function vx(o){const t=[],e=[];return o.forEach(n=>{(n.match(jh)?t:e).push(n)}),{valid:t,invalid:e}}function Js(o,t,e){function n(){const s=o.pendingIcons;t.forEach(r=>{s&&s.delete(r),o.icons[r]||o.missing.add(r)})}if(e&&typeof e=="object")try{if(!tp(o,e).length){n();return}}catch(s){console.error(s)}n(),yx(o)}function up(o,t){o instanceof Promise?o.then(e=>{t(e)}).catch(()=>{t(null)}):t(o)}function bx(o,t){o.iconsToLoad?o.iconsToLoad=o.iconsToLoad.concat(t).sort():o.iconsToLoad=t,o.iconsQueueFlag||(o.iconsQueueFlag=!0,setTimeout(()=>{o.iconsQueueFlag=!1;const{provider:e,prefix:n}=o,s=o.iconsToLoad;if(delete o.iconsToLoad,!s||!s.length)return;const r=o.loadIcon;if(o.loadIcons&&(s.length>1||!r)){up(o.loadIcons(s,n,e),u=>{Js(o,s,u)});return}if(r){s.forEach(u=>{const f=r(u,n,e);up(f,d=>{const h=d?{prefix:n,icons:{[u]:d}}:null;Js(o,[u],h)})});return}const{valid:a,invalid:i}=vx(s);if(i.length&&Js(o,i,null),!a.length)return;const l=n.match(jh)?rc(e):null;if(!l){Js(o,a,null);return}l.prepare(e,n,a).forEach(u=>{gx(e,u,f=>{Js(o,u.icons,f)})})}))}const _x=(o,t)=>{const e=dx(o,!0,ep()),n=lx(e);if(!n.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(n.loaded,n.missing,n.pending,cp)}),()=>{l=!1}}const s=Object.create(null),r=[];let a,i;return n.pending.forEach(l=>{const{provider:c,prefix:u}=l;if(u===i&&c===a)return;a=c,i=u,r.push(ts(c,u));const f=s[c]||(s[c]=Object.create(null));f[u]||(f[u]=[])}),n.pending.forEach(l=>{const{provider:c,prefix:u,name:f}=l,d=ts(c,u),h=d.pendingIcons||(d.pendingIcons=new Set);h.has(f)||(h.add(f),s[c][u].push(f))}),r.forEach(l=>{const c=s[l.provider][l.prefix];c.length&&bx(l,c)}),t?fx(t,n,r):cp};function xx(o,t){const e={...o};for(const n in t){const s=t[n],r=typeof s;n in op?(s===null||s&&(r==="string"||r==="number"))&&(e[n]=s):r===typeof e[n]&&(e[n]=n==="rotate"?s%4:s)}return e}const kx=/[\s,]+/;function wx(o,t){t.split(kx).forEach(e=>{switch(e.trim()){case"horizontal":o.hFlip=!0;break;case"vertical":o.vFlip=!0;break}})}function Cx(o,t=0){const e=o.replace(/^-?[0-9.]*/,"");function n(s){for(;s<0;)s+=4;return s%4}if(e===""){const s=parseInt(o);return isNaN(s)?0:n(s)}else if(e!==o){let s=0;switch(e){case"%":s=25;break;case"deg":s=90}if(s){let r=parseFloat(o.slice(0,o.length-e.length));return isNaN(r)?0:(r=r/s,r%1===0?n(r):0)}}return t}function Tx(o,t){let e=o.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const n in t)e+=" "+n+'="'+t[n]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+e+">"+o+"</svg>"}function Ex(o){return o.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Sx(o){return"data:image/svg+xml,"+Ex(o)}function Ox(o){return'url("'+Sx(o)+'")'}const fp={...np,inline:!1},Px={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Rx={display:"inline-block"},uc={backgroundColor:"currentColor"},dp={backgroundColor:"transparent"},hp={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},pp={webkitMask:uc,mask:uc,background:dp};for(const o in pp){const t=pp[o];for(const e in hp)t[o+e]=hp[e]}const Ia={};["horizontal","vertical"].forEach(o=>{const t=o.slice(0,1)+"Flip";Ia[o+"-flip"]=t,Ia[o.slice(0,1)+"-flip"]=t,Ia[o+"Flip"]=t});function mp(o){return o+(o.match(/^[-0-9.]+$/)?"px":"")}const gp=(o,t)=>{const e=xx(fp,t),n={...Px},s=t.mode||"svg",r={},a=t.style,i=typeof a=="object"&&!(a instanceof Array)?a:{};for(let b in t){const x=t[b];if(x!==void 0)switch(b){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":e[b]=x===!0||x==="true"||x===1;break;case"flip":typeof x=="string"&&wx(e,x);break;case"color":r.color=x;break;case"rotate":typeof x=="string"?e[b]=Cx(x):typeof x=="number"&&(e[b]=x);break;case"ariaHidden":case"aria-hidden":x!==!0&&x!=="true"&&delete n["aria-hidden"];break;default:{const k=Ia[b];k?(x===!0||x==="true"||x===1)&&(e[k]=!0):fp[b]===void 0&&(n[b]=x)}}}const l=q_(o,e),c=l.attributes;if(e.inline&&(r.verticalAlign="-0.125em"),s==="svg"){n.style={...r,...i},Object.assign(n,c);let b=0,x=t.id;return typeof x=="string"&&(x=x.replace(/-/g,"_")),n.innerHTML=tx(l.body,x?()=>x+"ID"+b++:"iconifyVue"),Xt("svg",n)}const{body:u,width:f,height:d}=o,h=s==="mask"||(s==="bg"?!1:u.indexOf("currentColor")!==-1),p=Tx(u,{...c,width:f+"",height:d+""});return n.style={...r,"--svg":Ox(p),width:mp(c.width),height:mp(c.height),...Rx,...h?uc:dp,...i},Xt("span",n)};if(ep(!0),ex("",ix),typeof document<"u"&&typeof window<"u"){const o=window;if(o.IconifyPreload!==void 0){const t=o.IconifyPreload,e="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(n=>{try{(typeof n!="object"||n===null||n instanceof Array||typeof n.icons!="object"||typeof n.prefix!="string"||!X_(n))&&console.error(e)}catch{console.error(e)}})}if(o.IconifyProviders!==void 0){const t=o.IconifyProviders;if(typeof t=="object"&&t!==null)for(let e in t){const n="IconifyProviders["+e+"] is invalid.";try{const s=t[e];if(typeof s!="object"||!s||s.resources===void 0)continue;ox(e,s)||console.error(n)}catch{console.error(n)}}}}const Ix={...Pa,body:""},yp=V({inheritAttrs:!1,data(){return{_name:"",_loadingIcon:null,iconMounted:!1,counter:0}},mounted(){this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(o,t,e){if(typeof o=="object"&&o!==null&&typeof o.body=="string")return this._name="",this.abortLoading(),{data:o};let n;if(typeof o!="string"||(n=Ea(o,!1,!0))===null)return this.abortLoading(),null;let s=Y_(n);if(!s)return(!this._loadingIcon||this._loadingIcon.name!==o)&&(this.abortLoading(),this._name="",s!==null&&(this._loadingIcon={name:o,abort:_x([n],()=>{this.counter++})})),null;if(this.abortLoading(),this._name!==o&&(this._name=o,t&&t(o)),e){s=Object.assign({},s);const a=e(s.body,n.name,n.prefix,n.provider);typeof a=="string"&&(s.body=a)}const r=["iconify"];return n.prefix!==""&&r.push("iconify--"+n.prefix),n.provider!==""&&r.push("iconify--"+n.provider),{data:s,classes:r}}},render(){this.counter;const o=this.$attrs,t=this.iconMounted||o.ssr?this.getIcon(o.icon,o.onLoad,o.customise):null;if(!t)return gp(Ix,o);let e=o;return t.classes&&(e={...o,class:(typeof o.class=="string"?o.class+" ":"")+t.classes.join(" ")}),gp({...Pa,...t.data},e)}}),es=V({__name:"Icon",props:{icon:{default:"mdi-light:home"},color:{default:Zt("--xg-blue")}},setup(o){const t=o;return(e,n)=>(I(),D("span",{class:"icon",style:N(["color: "+e.color,"display: inline-flex","justify-content: center","align-items: center","cursor: pointer","font-size: 1em"])},[Z(Tt(yp),{icon:t.icon,color:e.color},null,8,["icon","color"])],4))}}),Ax={class:"loading-11",ref:"loading11"},$x={class:"container container-1"},Nx={class:"container container-2"},Fx={class:"container container-3"},zx=V({__name:"Loading11",props:{color:{default:Zt("--xg-blue")},width:{default:"0.8em"}},setup(o){const t=o;return(e,n)=>(I(),D("div",Ax,[v("div",{class:"loading-11-inner",style:N({width:t.width,height:t.width})},[v("div",$x,[v("div",{class:"dot dot-1",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-2",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-3",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-4",style:N({backgroundColor:t.color})},null,4)]),v("div",Nx,[v("div",{class:"dot dot-1",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-2",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-3",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-4",style:N({backgroundColor:t.color})},null,4)]),v("div",Fx,[v("div",{class:"dot dot-1",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-2",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-3",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-4",style:N({backgroundColor:t.color})},null,4)])],4)],512))}}),$w="",Aa=st(zx,[["__scopeId","data-v-b6f6b2a6"]]),Dx={key:0,class:"loading",style:{"margin-right":"6px"}},fc=.03,dc=.06,ae=V({customOptions:{Loading11:Aa},inheritAttrs:!0,__name:"Button",props:{label:{},icon:{},iconPosition:{default:"left"},disabled:{type:Boolean,default:!1},width:{default:"auto"},height:{default:"44px"},padding:{default:"20px"},fontSize:{default:"16px"},fontWeight:{default:"normal"},borderRadius:{default:"4px"},stylePattern:{default:"fullfill"},fontColor:{},borderColor:{},bgColor:{},bgColorStart:{},bgColorEnd:{},asyncClick:{}},emits:["yz-click","click"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P(),a=Zt("--xg-blue","#5a82f0"),i=P(n.fontColor),l=P(n.borderColor),c=P(n.bgColor),u=P(i.value),f=P(l.value),d=P(c.value),h=P(n.bgColorStart||""),p=P(n.bgColorEnd||""),b=n.bgColorStart&&n.bgColorEnd;function x(B){switch(B){case"transparent":l.value=n.borderColor||"rgba(255,255,255,0)",c.value=n.bgColor||"rgba(255,255,255,0)",i.value=n.fontColor||a;break;case"outline":l.value=n.borderColor||a,c.value=n.bgColor||"rgba(255,255,255,0)",i.value=n.fontColor||a;break;case"fullfill":default:l.value=n.borderColor||"rgba(255,255,255,0)",c.value=n.bgColor||a,i.value=n.fontColor||Mt.set(c.value).opposite(!0).toString();break}u.value=i.value,f.value=l.value,d.value=c.value,b&&(h.value=n.bgColorStart,p.value=n.bgColorEnd,c.value=`linear-gradient(180deg, ${h.value} 0%, ${p.value} 100%)`)}Rt(()=>n.stylePattern,()=>{x(n.stylePattern)},{immediate:!0});const k=P(n.disabled?"0.6":"1"),g=P(n.disabled?"not-allowed":"pointer");let m=!1;const y=()=>{n.disabled||(m=!0,n.stylePattern=="transparent"&&(i.value=Mt.set(u.value).darken(fc).toString()),l.value=Mt.set(f.value).darken(fc).toString(),b?c.value=`linear-gradient(180deg, ${p.value} 0%, ${h.value} 100%)`:c.value=Mt.set(d.value).darken(fc).toString())},_=()=>{n.disabled||(m=!1,i.value=u.value,l.value=f.value,b?c.value=`linear-gradient(180deg, ${h.value} 0%, ${p.value} 100%)`:c.value=d.value)},w=P(!1),Y=gl(()=>{n.disabled||w.value||(n.stylePattern=="transparent"&&(i.value=Mt.set(u.value).darken(dc).toString()),l.value=Mt.set(f.value).darken(dc).toString(),b?c.value=`linear-gradient(180deg, ${h.value} 0%, ${p.value} 100%)`:c.value=Mt.set(d.value).darken(dc).toString(),setTimeout(()=>{m?y():_()},150),s("yz-click"),s("click"),n.asyncClick&&(w.value=!0,n.asyncClick().then(()=>{w.value=!1}).catch(()=>{w.value=!1})))},300);return t({el:r}),(B,M)=>(I(),D("div",{ref_key:"el",ref:r,class:"button",style:N([`opacity: ${k.value}`,`border: 1px solid ${l.value}`,`background: ${c.value}`,`color: ${i.value}`,`border-radius: ${n.borderRadius}`,`width: ${n.width}`,`height: ${n.height}`,`line-height: ${n.height}`,`font-size: ${n.fontSize}`,`cursor: ${g.value}`,"user-select: none","box-sizing: border-box","display: inline-flex","justify-content: center","align-items: center","z-index: 0"]),onMouseover:y,onMouseleave:_,onClick:M[0]||(M[0]=(...ut)=>Tt(Y)&&Tt(Y)(...ut))},[v("label",{class:"label truncate",style:N({padding:"0 "+B.padding,cursor:g.value,display:"inline-flex",justifyContent:"center",alignItems:"center",fontWeight:n.fontWeight||"normal"})},[w.value?(I(),D("div",Dx,[Z(Aa,{color:i.value},null,8,["color"])])):yt("",!0),mt(B.$slots,"default",{},()=>[B.icon&&B.iconPosition==="left"?(I(),dt(es,{key:0,icon:B.icon,color:i.value,style:N({marginRight:"4px",cursor:g.value})},null,8,["icon","color","style"])):yt("",!0),v("span",{style:N({cursor:g.value})},ft(B.label),5),B.icon&&B.iconPosition==="right"?(I(),dt(es,{key:1,icon:B.icon,color:i.value,style:N({marginLeft:"4px",cursor:g.value})},null,8,["icon","color","style"])):yt("",!0)])],4)],36))}}),Mx={class:"xg-footer-inner"},Lx=V({customOptions:{Button:ae},inheritAttrs:!0,__name:"Footer",setup(o){const t=Ta();function e(){t.push("/park")}const n=P("0px");let s;return pe(()=>{s=ma.onBottom(r=>{n.value=r})}),ue(()=>{s?.()}),(r,a)=>(I(),D("div",{class:"xg-footer",style:N({paddingBottom:n.value})},[v("div",Mx,[Z(ae,{label:"去支付",width:"100%",onClick:e})])],4))}}),Nw="",$a=st(Lx,[["__scopeId","data-v-47056f4a"]]),Bx={class:"text"},Yx=V({customOptions:{},inheritAttrs:!0,__name:"PlateDisplay",props:{plate:{},plateType:{},displayType:{default:"chinese"}},setup(o,{expose:t,emit:e}){const n=o,s=[{name:"蓝牌",style:{"background-color":"#0078f0",color:"#ffffff"}},{name:"绿牌",style:{"background-color":"#00f08c",color:"#000000"}},{name:"黄牌",style:{"background-color":"#fac800",color:"#000000"}},{name:"黄绿",style:{background:"linear-gradient(90deg, #fac800 51.5%, #00f08c 51.51%)",color:"#000000"}},{name:"黑牌",style:{"background-color":"#222222",color:"#ffffff"}},{name:"白牌",style:{"background-color":"#ffffff",color:"#000000",border:"1px solid #999999"}},{name:"未知",style:{"background-color":"#cccccc",color:"#ffffff"}}];function r(c){switch(c){case"b":case"蓝牌":c="蓝牌";break;case"g":case"绿牌":c="绿牌";break;case"y":case"黄牌":c="黄牌";break;case"q":case"黄绿":c="黄绿";break;case"d":case"黑牌":c="黑牌";break;case"w":case"白牌":c="白牌";break;default:c="未知";break}const u=s.filter(f=>f.name===c);return u.length?u[0]:r("未知")}const a=P(r(n.plateType||"")),i=P(),l=P(14);return pe(()=>{l.value=ba(i.value).getEmSize()}),t({}),(c,u)=>(I(),D("div",{class:"plate-display",ref_key:"el",ref:i},[c.displayType=="dot"&&c.plate!=="无牌车"?(I(),D("div",{key:0,class:jt(["leading",c.displayType]),style:N({...a.value.style,width:l.value+"px",height:l.value+"px",marginRight:.36*l.value+"px"})},ft(a.value.name),7)):yt("",!0),c.displayType=="chinese"&&c.plate!=="无牌车"?(I(),D("div",{key:1,class:jt(["leading",c.displayType]),style:N(a.value.style)},ft(a.value.name),7)):yt("",!0),c.displayType=="plaintext"&&c.plate!=="无牌车"?(I(),D("div",{key:2,class:jt(["leading",c.displayType])},ft(a.value.name),3)):yt("",!0),v("div",Bx,ft(c.plate),1)],512))}}),Fw="",Na=st(Yx,[["__scopeId","data-v-6395bb5a"]]),ht=V({customOptions:{},inheritAttrs:!0,__name:"Container",props:{type:{default:"block"},effectTriggerTiming:{default:"manual"},supportCopyText:{type:Boolean,default:!1}},emits:["ready","update","clipboard_success","clipboard_error","start","end"],setup(o,{expose:t,emit:e}){const n=o,s=e;let r="start";const a=()=>{r="start",s("start")},i=()=>{r="end",s("end")},l=()=>{r=="start"?i():a()},c=P();let u,f,d=!1;return Mn(()=>{c.value&&(u||(u=ua(c.value),u.eb.on("resize",()=>{d&&s("update",u)}),u.eb.on("mouseEnter",()=>{n.effectTriggerTiming=="mouseMove"&&l()}),u.eb.on("mouseLeave",()=>{n.effectTriggerTiming=="mouseMove"&&l()}),u.eb.on("tap",()=>{if(n.effectTriggerTiming=="click"&&l(),n.supportCopyText){const h=ba(c.value).getInnerText();Bl(h).then(()=>{s("clipboard_success",h)}).catch(p=>{s("clipboard_error",p.toString())})}}),n.effectTriggerTiming!=="manual"&&a(),n.effectTriggerTiming=="immediate"&&l(),u.start().then(()=>{f?.(u),s("ready",u),d=!0})))}),pe(()=>{}),ue(()=>{u?.end()}),t({getController:()=>new Promise(h=>{if(u)return h(u);f=h}),getElement:()=>c.value,getRect:()=>c.value.getBoundingClientRect()}),(h,p)=>(I(),D("div",qi({ref_key:"r",ref:c,class:"container",style:{position:"relative",boxSizing:"border-box",display:n.type=="shrink"?"inline-block":"block",width:n.type=="full"?"100%":"auto",height:n.type=="full"?"100%":"auto"}},h.$attrs),[mt(h.$slots,"default")],16))}}),os=V({customOptions:{Container:ht},inheritAttrs:!0,__name:"CSSAnimation",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!1},effectTriggerTiming:{default:"mouseMove"},name:{default:"jelly"},timingFunction:{},duration:{},delay:{},repeat:{},direction:{},fillMode:{default:"both"},playState:{default:"running"},perspective:{default:"1200px"}},emits:["cssanimationstart","cssanimationend"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=Wt({}),a=Wt({});let i=n.name,l=n.duration,c=n.timingFunction,u=n.delay,f=n.repeat,d=n.direction;function h(w){switch(i=w,i){case"superRainbow":l=n.duration||15e3;break;case"heartBeat":l=n.duration||1300;break;case"statusProcessing":l=n.duration||1200;break;case"rotateFall":case"rotateSlideOut":case"rotateSlideIn":l=n.duration||1e3;break;case"rotateRightSideFirst":case"rotateLeftSideFirst":case"rotateTopSideFirst":case"rotateBottomSideFirst":case"rotatePushLeft":case"rotatePushRight":case"rotatePushTop":case"rotatePushBottom":case"rotateRoomLeftOut":case"rotateRoomLeftIn":case"rotateRoomRightOut":case"rotateRoomRightIn":case"rotateRoomTopOut":case"rotateRoomTopIn":case"rotateRoomBottomOut":case"rotateRoomBottomIn":case"rotateCarouselLeftOut":case"rotateCarouselLeftIn":case"rotateCarouselRightOut":case"rotateCarouselRightIn":case"rotateCarouselTopOut":case"rotateCarouselTopIn":case"rotateCarouselBottomOut":case"rotateCarouselBottomIn":l=n.duration||800;break;case"bounceIn":case"bounceOut":case"flipOutX":case"hinge":l=n.duration||750;break;case"rotateFoldRight":case"rotateFoldLeft":case"rotateFoldTop":case"rotateFoldBottom":case"rotateUnfoldLeft":case"rotateUnfoldRight":case"rotateUnfoldTop":case"rotateUnfoldBottom":case"fade":case"moveFromLeftFade":case"moveToLeftFade":case"moveFromRightFade":case"moveToRightFade":case"moveFromTopFade":case"moveToTopFade":case"moveFromBottomFade":case"moveToBottomFade":l=n.duration||700;break;case"moveFromLeft":case"moveToLeft":case"moveFromRight":case"moveToRight":case"moveFromTop":case"moveToTop":case"moveFromBottom":case"moveToBottom":case"rotateCubeLeftOut":case"rotateCubeLeftIn":case"rotateCubeRightOut":case"rotateCubeRightIn":case"rotateCubeTopOut":case"rotateCubeTopIn":case"rotateCubeBottomOut":case"rotateCubeBottomIn":l=n.duration||600;break;default:l=n.duration||500;break}switch(i){case"superRainbow":c=n.timingFunction||"linear";break;case"lightSpeedOutLeft":case"lightSpeedOutRight":case"rotateRightSideFirst":case"rotateLeftSideFirst":case"rotateTopSideFirst":case"rotateBottomSideFirst":case"flipOutRight":case"flipOutLeft":case"flipOutTop":case"flipOutBottom":case"rotateFall":case"rotateOutNewspaper":case"rotateCubeLeftOut":case"rotateCubeLeftIn":case"rotateCubeRightOut":case"rotateCubeRightIn":case"rotateCubeTopOut":case"rotateCubeTopIn":case"rotateCubeBottomOut":case"rotateCubeBottomIn":case"rotateSidesOut":c=n.timingFunction||"ease-in";break;case"lightSpeedInLeft":case"lightSpeedInRight":case"flipInLeft":case"flipInRight":case"flipInBottom":case"flipInTop":case"rotateInNewspaper":case"rotateSidesIn":c=n.timingFunction||"ease-out";break;case"pulse":case"headShake":case"heartBeat":case"statusProcessing":c=n.timingFunction||"ease-in-out";break;default:c=n.timingFunction||"ease";break}switch(i){default:u=n.delay||0;break}switch(i){case"superRainbow":case"statusProcessing":f=n.repeat||"infinite";break;default:f=n.repeat||1;break}switch(i){case"superRainbow":d=n.direction||"alternate";break;default:d=n.direction||"normal";break}switch(i){case"hinge":case"rotateFall":a.transformOrigin="left top";break;case"zoomOutLeft":case"rotateRightSideFirst":case"rotatePushLeft":case"rotatePullLeft":case"rotateFoldRight":case"rotateUnfoldRight":case"rotateRoomLeftIn":case"rotateRoomRightOut":case"rotateCubeLeftIn":case"rotateCubeRightOut":a.transformOrigin="left center";break;case"rotateInUpLeft":case"rotateInDownLeft":case"rotateOutUpLeft":case"rotateOutDownLeft":a.transformOrigin="left bottom";break;case"swing":case"zoomOutUp":case"rotateBottomSideFirst":case"rotatePushTop":case"rotatePullTop":case"rotateFoldBottom":case"rotateUnfoldBottom":case"rotateRoomTopIn":case"rotateRoomBottomOut":case"rotateCubeTopIn":case"rotateCubeBottomOut":a.transformOrigin="center top";break;case"bounce":case"zoomOutDown":case"rotateTopSideFirst":case"rotatePushBottom":case"rotatePullBottom":case"rotateFoldTop":case"rotateUnfoldTop":case"rotateRoomTopOut":case"rotateRoomBottomIn":case"rotateCubeTopOut":case"rotateCubeBottomIn":a.transformOrigin="center bottom";break;case"zoomOutRight":case"rotateLeftSideFirst":case"rotatePushRight":case"rotatePullRight":case"rotateFoldLeft":case"rotateUnfoldLeft":case"rotateRoomLeftOut":case"rotateRoomRightIn":case"rotateCubeLeftOut":case"rotateCubeRightIn":a.transformOrigin="right center";break;case"rotateInUpRight":case"rotateInDownRight":case"rotateOutUpRight":case"rotateOutDownRight":a.transformOrigin="right bottom";break;default:delete a.transformOrigin;break}switch(i){case"jelly":case"bounce":case"flash":case"pulse":case"rubberBand":case"shakeX":case"shakeY":case"headShake":case"swing":case"tada":case"wobble":case"jello":case"heartBeat":case"bounceIn":case"fadeIn":case"fadeOut":case"flip":case"flipInX":case"flipInY":case"flipOutX":case"flipOutY":case"hinge":case"jackInTheBox":r.overflow="visible";break;default:r.overflow="hidden";break}switch(i){case"flip":case"flipInX":case"flipInY":case"flipOutX":case"flipOutY":a.backfaceVisibility="visible";break;default:delete a.backfaceVisibility;break}}const p=P(),b=w=>{r.perspective=n.perspective,w.eb.on("animationstart",$=>{s("cssanimationstart",$.animationName)}),w.eb.on("animationend",$=>{s("cssanimationend",$.animationName)})};function x(){p.value.style.animation="none",p.value.offsetHeight,p.value.style.animation=null}const k=()=>{a.animation="none"},g=()=>{x(),a.animation=`${l}ms ${c} ${u}ms ${f} ${d} ${n.fillMode} ${n.playState} ${i}`},m=w=>{w&&h(w),k(),d="normal",g()},y=w=>{w&&h(w),k(),d="reverse",g()},_=()=>{a.animation="none"};return Rt(()=>n.name,()=>{h(n.name)},{immediate:!0}),t({trigger:m,triggerReverse:y,clear:_}),(w,$)=>(I(),dt(ht,{class:"css-animation",type:n.containerType,supportCopyText:n.supportCopyText,effectTriggerTiming:n.effectTriggerTiming,style:N(r),onReady:b,onStart:k,onEnd:g},{default:W(()=>[v("div",{class:"css-animation-inner",ref_key:"animationRef",ref:p,style:N({position:"relative",display:"block",width:"100%",height:"100%",cursor:"pointer",transformStyle:"preserve-3d",...a})},[mt(w.$slots,"default")],4)]),_:3},8,["type","supportCopyText","effectTriggerTiming","style"]))}}),zw="",Fa=V({customOptions:{Container:ht,CSSAnimation:os},inheritAttrs:!0,__name:"Page",props:{effect:{default:"moveFromLeft"},duration:{default:500},easeFunction:{type:Function,default:at.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["ready","pageOpenStart","pageOpenEnd","pageCloseStart","pageCloseEnd"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P(),a=Wt({}),i=()=>{s("ready",w,$)},l=()=>{b()},c=P();let u="rotateRightSideFirst",f=n.effect;function d(Y,B){switch(f){case"static":B();break;default:Y();break}}let h=!1;const p=new Xe,b=()=>{const Y={},B={};p.clear(),p.frameDuration=n.duration,d(()=>{u=f},()=>{p.addTween(Y,B,{delay:n.delay/n.duration,easeFunction:n.easeFunction,onStart:()=>{s(h?"pageCloseStart":"pageOpenStart")},onUpdate:M=>{a.transform="","x"in M&&(a.transform+=` translateX(${M.x}%)`),"y"in M&&(a.transform+=` translateY(${M.y}%)`),"rx"in M&&(a.transform+=` rotateX(${M.rx}deg)`),"ry"in M&&(a.transform+=` rotateY(${M.ry}deg)`),"scale"in M&&(a.transform+=` scale(${M.scale})`),"opacity"in M&&(a.opacity=`${M.opacity}`)},onComplete:()=>{s(h?"pageCloseEnd":"pageOpenEnd")}})})};Rt(()=>[n.effect,n.delay,n.duration,n.easeFunction],()=>{f=n.effect,b()},{immediate:!0});const x=()=>{s(h?"pageCloseStart":"pageOpenStart")},k=()=>{s(h?"pageCloseEnd":"pageOpenEnd")},g=()=>{d(()=>{c.value.trigger(u)},()=>{p.play()})},m=()=>{d(()=>{c.value.triggerReverse(u)},()=>{p.reverse()})},y=()=>{a.transform="none",a.opacity="1"};function _(){d(()=>{y()},()=>{c.value?.clear()})}const w=Y=>{Y&&(f=Y,b()),h=!1,_(),g()},$=Y=>{Y&&(f=Y,b()),h=!0,_(),m()};return t({open:w,close:$,clear:y}),(Y,B)=>(I(),dt(ht,{class:"page",ref_key:"pageRef",ref:r,type:"full",effectTriggerTiming:"manual",style:{overflow:"hidden",width:"100%",height:"100%"},onReady:i,onUpdate:l},{default:W(()=>[Z(os,{ref_key:"cssAnimationRef",ref:c,containerType:"full",effectTriggerTiming:"manual",duration:n.duration,delay:n.delay,timingFunction:n.timingFunction,onCssanimationstart:x,onCssanimationend:k},{default:W(()=>[v("div",{class:"page-inner",style:N({position:"relative",display:"block",width:"100%",height:"100%",overflow:"scroll",backfaceVisibility:"hidden",transformStyle:"preserve-3d",...a})},[mt(Y.$slots,"default")],4)]),_:3},8,["duration","delay","timingFunction"])]),_:3},512))}}),tr=V({customOptions:{Page:Fa,Container:ht},inheritAttrs:!0,__name:"Routes",props:{effect:{default:"moveToLeft"},duration:{default:500},easeFunction:{type:Function,default:at.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["routeChangeStart","routeChangeEnd","renderComplete"],setup(o,{expose:t,emit:e}){const n=o,s=e;let r=-1,a=-1,i;const l=[];let c=[],u=[],f=[];function d(et){return et>=0&&et<c.length}function h(){return a>r}function p(et,A,se){switch(et){case r:return h()?A:se;case a:return h()?se:A;default:return"static"}}function b(et,A){switch(et){case"moveToLeft":return p(A,"moveToLeft","moveFromRight");case"moveToRight":return p(A,"moveToRight","moveFromLeft");case"moveToTop":return p(A,"moveToTop","moveFromBottom");case"moveToBottom":return p(A,"moveToBottom","moveFromTop");case"moveFromLeftPrevFade":return p(A,"fade","moveFromLeft");case"moveFromRightPrevFade":return p(A,"fade","moveFromRight");case"moveFromTopPrevFade":return p(A,"fade","moveFromTop");case"moveFromBottomPrevFade":return p(A,"fade","moveFromBottom");case"moveToLeftFade":return p(A,"moveToLeftFade","moveFromRightFade");case"moveToRightFade":return p(A,"moveToRightFade","moveFromLeftFade");case"moveToTopFade":return p(A,"moveToTopFade","moveFromBottomFade");case"moveToBottomFade":return p(A,"moveToBottomFade","moveFromTopFade");case"moveToLeftEasing":return p(A,"moveToLeft","moveFromRight");case"moveToRightEasing":return p(A,"moveToRight","moveFromLeft");case"moveToTopEasing":return p(A,"moveToTop","moveFromBottom");case"moveToBottomEasing":return p(A,"moveToBottom","moveFromTop");case"moveFromLeftPrevScaleToSmall":return p(A,"scaleToSmall","moveFromLeft");case"moveFromRightPrevScaleToSmall":return p(A,"scaleToSmall","moveFromRight");case"moveFromTopPrevScaleToSmall":return p(A,"scaleToSmall","moveFromTop");case"moveFromBottomPrevScaleToSmall":return p(A,"scaleToSmall","moveFromBottom");case"scaleSmall":return p(A,"scaleToSmall","scaleFromLarge");case"scaleLarge":return p(A,"scaleToLarge","scaleFromSmall");case"scaleToLargePrevScaleToSmall":return p(A,"scaleToSmallCenter","scaleFromSmallCenter");case"scaleFromSmallPrevMoveToLeft":return p(A,"moveToLeft","scaleFromSmall");case"scaleFromSmallPrevMoveToRight":return p(A,"moveToRight","scaleFromSmall");case"scaleFromSmallPrevMoveToTop":return p(A,"moveToTop","scaleFromSmall");case"scaleFromSmallPrevMoveToBottom":return p(A,"moveToBottom","scaleFromSmall");case"glueToLeft":return p(A,"rotateRightSideFirst","moveFromRight");case"glueToRight":return p(A,"rotateLeftSideFirst","moveFromLeft");case"glueToTop":return p(A,"rotateBottomSideFirst","moveFromBottom");case"glueToBottom":return p(A,"rotateTopSideFirst","moveFromTop");case"flipToLeft":return p(A,"flipOutLeft","flipInRight");case"flipToRight":return p(A,"flipOutRight","flipInLeft");case"flipToTop":return p(A,"flipOutTop","flipInBottom");case"flipToBottom":return p(A,"flipOutBottom","flipInTop");case"rotateFall":return p(A,"rotateFall","scaleFromSmall");case"newspaper":return p(A,"rotateOutNewspaper","rotateInNewspaper");case"moveFromLeftPrevPush":return p(A,"rotatePushRight","moveFromLeft");case"moveFromRightPrevPush":return p(A,"rotatePushLeft","moveFromRight");case"moveFromTopPrevPush":return p(A,"rotatePushBottom","moveFromTop");case"moveFromBottomPrevPush":return p(A,"rotatePushTop","moveFromBottom");case"pullFromLeftPrevPush":return p(A,"rotatePushRight","rotatePullLeft");case"pullFromRightPrevPush":return p(A,"rotatePushLeft","rotatePullRight");case"pullFromTopPrevPush":return p(A,"rotatePushBottom","rotatePullTop");case"pullFromBottomPrevPush":return p(A,"rotatePushTop","rotatePullBottom");case"moveFromLeftFadePrevFold":return p(A,"rotateFoldRight","moveFromLeftFade");case"moveFromRightFadePrevFold":return p(A,"rotateFoldLeft","moveFromRightFade");case"moveFromTopFadePrevFold":return p(A,"rotateFoldBottom","moveFromTopFade");case"moveFromBottomFadePrevFold":return p(A,"rotateFoldTop","moveFromBottomFade");case"moveToLeftFadePrevUnfold":return p(A,"moveToLeftFade","rotateUnfoldRight");case"moveToRightFadePrevUnfold":return p(A,"moveToRightFade","rotateUnfoldLeft");case"moveToTopFadePrevUnfold":return p(A,"moveToTopFade","rotateUnfoldBottom");case"moveToBottomFadePrevUnfold":return p(A,"moveToBottomFade","rotateUnfoldTop");case"rotateRoomLeftIn":return p(A,"rotateRoomLeftOut","rotateRoomLeftIn");case"rotateRoomRightIn":return p(A,"rotateRoomRightOut","rotateRoomRightIn");case"rotateRoomTopIn":return p(A,"rotateRoomTopOut","rotateRoomTopIn");case"rotateRoomBottomIn":return p(A,"rotateRoomBottomOut","rotateRoomBottomIn");case"rotateCubeLeftIn":return p(A,"rotateCubeLeftOut","rotateCubeLeftIn");case"rotateCubeRightIn":return p(A,"rotateCubeRightOut","rotateCubeRightIn");case"rotateCubeTopIn":return p(A,"rotateCubeTopOut","rotateCubeTopIn");case"rotateCubeBottomIn":return p(A,"rotateCubeBottomOut","rotateCubeBottomIn");case"rotateCarouselLeftIn":return p(A,"rotateCarouselLeftOut","rotateCarouselLeftIn");case"rotateCarouselRightIn":return p(A,"rotateCarouselRightOut","rotateCarouselRightIn");case"rotateCarouselTopIn":return p(A,"rotateCarouselTopOut","rotateCarouselTopIn");case"rotateCarouselBottomIn":return p(A,"rotateCarouselBottomOut","rotateCarouselBottomIn");case"rotateSidesIn":return p(A,"rotateSidesOut","rotateSidesIn");case"rotateSlideIn":return p(A,"rotateSlideOut","rotateSlideIn")}}function x(et,A=600,se=600){switch(et){case r:return A;case a:return se;default:return n.duration}}function k(et,A){switch(et){case"moveFromLeftFadePrevFold":case"moveFromRightFadePrevFold":case"moveFromTopFadePrevFold":case"moveFromBottomFadePrevFold":return x(A,700,700);case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":case"moveFromLeftPrevScaleToSmall":case"moveFromRightPrevScaleToSmall":case"moveFromTopPrevScaleToSmall":case"moveFromBottomPrevScaleToSmall":return x(A,700,600);case"scaleSmall":return x(A,700,500);case"scaleLarge":return x(A,500,700);case"scaleToLargePrevScaleToSmall":return x(A,400,400);case"scaleFromSmallPrevMoveToLeft":case"scaleFromSmallPrevMoveToRight":case"scaleFromSmallPrevMoveToTop":case"scaleFromSmallPrevMoveToBottom":return x(A,600,700);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":return x(A,800,600);default:return n.duration}}let g=n.timingFunction;function m(et){switch(et){default:return n.easeFunction}}function y(et,A){switch(et){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":switch(A){case r:g=h()?"ease-in-out":"ease";break;case a:default:g=h()?"ease":"ease-in-out"}return m(A);default:return g=n.timingFunction,n.easeFunction}}function _(et,A=300){switch(et){case a:return n.delay+A;default:return n.delay}}function w(et,A){switch(et){case"flipToLeft":case"flipToRight":case"flipToTop":case"flipToBottom":case"newspaper":return _(A,500);case"scaleSmall":case"scaleLarge":return _(A,300);case"scaleToLargePrevScaleToSmall":return _(A,400);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":case"rotateSidesIn":return _(A,200);case"pullFromLeftPrevPush":case"pullFromRightPrevPush":case"pullFromTopPrevPush":case"pullFromBottomPrevPush":return _(A,180);default:return n.delay}}let $=2,Y=2;const B=()=>{$=2,Y=2},M=()=>{$=2,Y=3},ut=()=>{$=3,Y=2};function j(et){switch(n.effect){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":ut();break;case"scaleFromSmallPrevMoveToLeft":case"scaleFromSmallPrevMoveToRight":case"scaleFromSmallPrevMoveToTop":case"scaleFromSmallPrevMoveToBottom":case"rotateFall":case"rotateRoomLeftIn":case"rotateRoomRightIn":case"rotateRoomTopIn":case"rotateRoomBottomIn":case"rotateCubeLeftIn":case"rotateCubeRightIn":case"rotateCubeTopIn":case"rotateCubeBottomIn":case"rotateCarouselLeftIn":case"rotateCarouselRightIn":case"rotateCarouselTopIn":case"rotateCarouselBottomIn":h()?ut():M();break;case"moveFromLeftPrevFade":case"moveFromRightPrevFade":case"moveFromTopPrevFade":case"moveFromBottomPrevFade":case"moveFromLeftPrevScaleToSmall":case"moveFromRightPrevScaleToSmall":case"moveFromTopPrevScaleToSmall":case"moveFromBottomPrevScaleToSmall":case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":h()?M():ut();break;default:B();break}d(r)&&r==et&&(f[r].style.zIndex=`${$}`,f[r].style.visibility="visible"),d(a)&&a==et&&(f[a].style.zIndex=`${Y}`,f[a].style.visibility="visible")}function tt(et){M(),et==r&&(f[r].style.zIndex=`${$}`,f[r].style.visibility="hidden"),et==a&&(f[a].style.zIndex=`${Y}`,f[a].style.visibility="visible",l.shift()?.(),s("routeChangeEnd",r,a,c.length),r=a)}const gt=P();function Ot(et=0,A=!1){if(!gt.value)return;let se=0;Ur(Xt("div",{class:"routes-pages",style:{display:"block",width:"100%",height:"100%",overflow:"hidden",position:"relative"}},c.map((Nt,F)=>{const ot=b(n.effect,F);return Xt("div",Object.assign({class:"routes-page",style:{display:"block",width:"100%",height:"100%",overflow:"hidden",position:"absolute",top:"0",left:"0",backfaceVisibility:"hidden",transform:"translate3d(0, 0, 0)",transformStyle:"preserve-3d",visibility:r==F?"visible":"hidden",zIndex:A?"1":"0"}},Nt.pageKey?{key:Nt.pageKey}:{}),Xt(Fa,{effect:ot,duration:k(n.effect,F),easeFunction:y(n.effect,F),timingFunction:g,delay:w(n.effect,F),onReady:(G,it)=>{u[F]={open:G,close:it},++se==et&&(i?.(),s("renderComplete"))},onPageOpenStart:()=>{j(F)},onPageOpenEnd:()=>{tt(F)},onPageCloseStart:()=>{j(F)},onPageCloseEnd:()=>{tt(F)}},{default:()=>Nt.component instanceof HTMLElement?Xt("div",{...Nt.attributes,innerHTML:Nt.component.innerHTML}):Xt(Nt.component,Nt.attributes,()=>Nt.child)}))})),gt.value),f=gt.value.children[0].children}Rt(()=>n.effect,()=>{Ot()});function $t(et=[]){c=[...et],c.forEach(A=>{A.pageKey=A.pageKey||Ln()}),i=()=>{r=-1,Vt(0)},Ot(c.length,!0)}function xt(et){et.pageKey=et.pageKey||Ln(),c.push(et),i=()=>{Vt(c.length-1)},Ot(1,c.length==1)}function kt(){c.length<=1||Vt(c.length-2,()=>{c.splice(c.length-1,1),r=c.length-1,Ot()})}function ne(){Vt(r+1)}function me(){Vt(r-1)}const he=new qr(1);function Vt(et,A){he.addTask(()=>new Promise(se=>{const Nt=()=>{A?.(),se()};if(!d(et)){Nt();return}if(a=et,a==r){Nt();return}l.push(Nt),Ot(),s("routeChangeStart",r,a,c.length),h()?(d(r)&&u[r].open(),d(a)&&u[a].open()):(d(r)&&u[r].close(),d(a)&&u[a].close())}))}return t({reset:$t,push:xt,pop:kt,forward:ne,back:me,goto:Vt,currentPageIndex:()=>r,totalPages:()=>c.length}),(et,A)=>(I(),D("div",{class:"routes",ref_key:"routesRef",ref:gt,style:{display:"block",position:"relative",width:"100%",height:"100%","overflow-x":"hidden","overflow-y":"hidden"}},null,512))}}),rn=V({customOptions:{},inheritAttrs:!0,__name:"Overlay",props:{visible:{type:Boolean,default:!1},global:{type:Boolean,default:!0},color:{default:"rgba(0, 0, 0, 0.25)"}},setup(o,{expose:t}){const e=o,n=de(()=>({display:e.visible?"block":"none",overflow:"hidden","background-color":e.color,position:"fixed","z-index":"99999",width:"100%",height:"100%",inset:"0"})),s=P(),r=zd(document.documentElement,"overflow")||"visible";let a="";return Rt(()=>e.visible,()=>{e.global?Vs(document.documentElement,"overflow",e.visible?"hidden":r):(a||(a=zd(s.value.parentElement,"overflow")||"visible"),Vs(s.value.parentElement,"overflow",e.visible?"hidden":a))},{immediate:!0}),t({}),(i,l)=>(I(),D("div",{ref_key:"el",ref:s,class:"overlay",style:N(n.value)},[mt(i.$slots,"default")],4))}}),le=V({customOptions:{Overlay:rn,Container:ht},inheritAttrs:!0,__name:"Pop",props:{closeWhenClickOverlay:{type:Boolean,default:!0},directionFrom:{default:"bottom"},absoluteLeft:{default:"0px"},absoluteTop:{default:"0px"},absoluteWidth:{default:"100%"},absoluteHeight:{default:"100%"},dur:{default:200},global:{type:Boolean,default:!0},overlayBgColor:{},popValue:{}},emits:["open","close","resize","clickOverlay"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=new Xe({frameDuration:n.dur}),a=Wt({position:"absolute",opacity:"1",transformOrigin:"center",willChange:"transform"}),i=P(!1),l=P("full");Rt(()=>[n.directionFrom,n.popValue],()=>{r.clear();const b=!n.popValue,x=n.popValue?n.popValue:100,k=n.popValue?"px":"%";switch(n.directionFrom){case"left":a.height="100%",b?delete a.width:a.width=`${x}${k}`,a.top="0",a.bottom="0",delete a.right,r.addTween({left:x},{left:0},{easeFunction:at.Quadratic.Out,onUpdate(g){a.left=`-${g.left}${k}`},onComplete:f});break;case"right":a.height="100%",b?delete a.width:a.width=`${x}${k}`,a.top="0",a.bottom="0",delete a.left,r.addTween({right:x},{right:0},{easeFunction:at.Quadratic.Out,onUpdate(g){a.right=`-${g.right}${k}`},onComplete:f});break;case"top":a.width="100%",b?delete a.height:a.height=`${x}${k}`,a.left="0",a.right="0",delete a.bottom,r.addTween({top:x},{top:0},{easeFunction:at.Quadratic.Out,onUpdate(g){a.top=`-${g.top}${k}`},onComplete:f});break;case"bottom":a.width="100%",b?delete a.height:a.height=`${x}${k}`,a.left="0",a.right="0",delete a.top,r.addTween({bottom:x},{bottom:0},{easeFunction:at.Quadratic.Out,onUpdate(g){a.bottom=`-${g.bottom}${k}`},onComplete:f});break;case"center":delete a.width,delete a.height,a.left="50%",delete a.right,a.top="50%",delete a.bottom,r.addTween({scale:.8,opacity:0},{scale:1,opacity:1},{easeFunction:at.Quadratic.Out,onUpdate(g){a.transform=`translate(-50%, -50%) scale(${g.scale})`,a.opacity=`${g.opacity}`},onComplete:f});break;case"absolute":a.width=n.absoluteWidth,a.height=n.absoluteHeight,a.left=n.absoluteLeft,a.top=n.absoluteTop,delete a.right,delete a.bottom;break}switch(n.directionFrom){case"center":l.value="shrink",a.transform="translate(-50%, -50%)";break;case"absolute":l.value="shrink",delete a.transform,delete a.opacity;break;default:l.value="full",delete a.transform,delete a.opacity;break}b&&(l.value="shrink")},{immediate:!0}),Rt(()=>n.absoluteLeft,()=>{switch(n.directionFrom){case"absolute":a.left=n.absoluteLeft;break}}),Rt(()=>n.absoluteTop,()=>{switch(n.directionFrom){case"absolute":a.top=n.absoluteTop;break}}),Rt(()=>n.absoluteWidth,()=>{switch(n.directionFrom){case"absolute":a.width=n.absoluteWidth;break}}),Rt(()=>n.absoluteHeight,()=>{switch(n.directionFrom){case"absolute":a.height=n.absoluteHeight;break}});const c=b=>{s("resize",b.rect)};let u="open";function f(){u=="open"?s("open"):(i.value=!1,s("close"))}function d(){i.value=!0,u="open",r.play()}function h(){switch(u="close",n.directionFrom){case"absolute":f();break;default:r.reverse();break}}function p(b){const x=n.directionFrom=="absolute"&&n.absoluteWidth=="100%"&&n.absoluteHeight=="100%"?"pop-content":"pop";b.target&&va(b.target,x)&&(n.closeWhenClickOverlay&&h(),s("clickOverlay"))}return t({open:d,close:h}),(b,x)=>(I(),dt(rn,{visible:i.value,global:n.global,color:n.overlayBgColor},{default:W(()=>[v("div",{class:"pop",style:{display:"block",position:"relative",width:"100%",height:"100%"},onClick:p},[Z(ht,{class:"pop-content",type:l.value,style:N(a),onReady:c,onUpdate:c},{default:W(()=>[mt(b.$slots,"default",{},()=>[x[0]||(x[0]=v("div",null,null,-1))])]),_:3},8,["type","style"])])]),_:3},8,["visible","global","color"]))}}),Vx=["src"],Xx=V({name:"Image",customOptions:{Container:ht,Pop:le},inheritAttrs:!0,__name:"Image",props:{src:{},mode:{default:"scaleToFill"},dur:{default:300},bgColor:{default:"transparent"},openImageDetailWhenClick:{type:Boolean,default:!0}},emits:["settled"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=new Xe({frameDuration:n.dur}),a=P(0),i=P(0),l=P(0),c=P(0),u=P(0),f=P(0),d=P(0),h=P(0),p=P(!0),b=P(0),x=P(0);nh(n.src).then(tt=>{b.value=tt.width,x.value=tt.height,w()}).catch(()=>{p.value=!1});const k=P(0),g=P(0),m=tt=>{k.value=tt.rect.width,g.value=tt.rect.height,w()},y=P(0),_=P(0);function w(){if(!k.value||!g.value||!b.value||!x.value)return;const tt=ya(n.mode,b.value,x.value,k.value,g.value);y.value=tt.width,_.value=tt.height;const{width:gt,height:Ot}=Xs(),$t=ya("aspectFit",b.value,x.value,gt,Ot);d.value=$t.width,h.value=$t.height,u.value=(gt-d.value)/2,f.value=(Ot-h.value)/2}const $=tt=>{s("settled",tt.rect.x,tt.rect.y,tt.rect.width,tt.rect.height)};let Y=!1;const B=P(),M=P();async function ut(){if(!n.openImageDetailWhenClick)return;const tt=await B.value.getRect();r.clear(),r.addTween({left:tt.x,top:tt.y,width:tt.width,height:tt.height},{left:u.value,top:f.value,width:d.value,height:h.value},{easeFunction:at.Quadratic.Out,onUpdate(gt){a.value=gt.left,i.value=gt.top,l.value=gt.width,c.value=gt.height},onComplete(){Y&&M.value.close(),Y=!Y}}),Y||(M.value.open(),r.play())}function j(){Y&&r.reverse()}return t({}),(tt,gt)=>(I(),dt(ht,{class:"image",type:"full",style:N({backgroundColor:n.bgColor}),onReady:m,onUpdate:m,onClick:ut},{default:W(()=>[p.value?(I(),dt(ht,{key:0,class:"image-inner",ref_key:"imageRef",ref:B,type:"shrink",style:N({width:y.value+"px",height:_.value+"px",backgroundImage:`url(${n.src})`,backgroundSize:`${y.value}px ${_.value}px`}),onReady:$,onUpdate:$},null,8,["style"])):yt("",!0),p.value?yt("",!0):(I(),dt(ht,{key:1,type:"shrink"},{default:W(()=>[v("img",{src:n.src,style:{display:"block",objectFit:"contain"}},null,8,Vx)]),_:1})),Z(le,{ref_key:"popRef",ref:M,"direction-from":"absolute","absolute-left":`${a.value}px`,"absolute-top":`${i.value}px`,"absolute-width":`${l.value}px`,"absolute-height":`${c.value}px`,"close-when-click-overlay":!1,onClickOverlay:j},{default:W(()=>[v("div",{class:"image-pop",style:N({width:"100%",height:"100%",backgroundImage:`url(${n.src})`,backgroundSize:"100% 100%"})},null,4)]),_:1},8,["absolute-left","absolute-top","absolute-width","absolute-height"])]),_:1},8,["style"]))}}),Dw="",za=st(Xx,[["__scopeId","data-v-67c2d0de"]]),Zx={key:0,style:{position:"absolute",top:"30px",left:"50%",transform:"translate(-50%, 0)",color:"#ffffff","font-size":"1em","z-index":"98"}},Da=V({customOptions:{Image:za,Container:ht,Routes:tr},inheritAttrs:!0,__name:"ImageView",props:{urls:{default:()=>[]},effect:{default:"moveToLeftFade"}},setup(o,{expose:t,emit:e}){const n=o,s=P(0);function r(d,h){s.value=h}const a=P(),i=d=>{d.eb.on("panLeft",()=>{a.value?.forward()}),d.eb.on("panRight",()=>{a.value?.back()}),a.value.reset(n.urls.map(h=>({component:Xt(za,{mode:"aspectFit",src:h,openImageDetailWhenClick:!1})})))},l=P();function c(){l.value?.open()}function u(){l.value?.close()}const f=d=>{d.target&&va(d.target,"image")&&u()};return t({open:c,close:u}),(d,h)=>(I(),dt(le,{ref_key:"popRef",ref:l,directionFrom:"absolute",onClick:f},{default:W(()=>[n.urls.length>1?(I(),D("div",Zx,ft(s.value+1)+" / "+ft(n.urls.length),1)):yt("",!0),Z(ht,{style:{position:"absolute",top:"50%",transform:"translate(0, -50%)",width:"100%",height:"100%","z-index":"97"},onReady:i},{default:W(()=>[Z(tr,{ref_key:"routesRef",ref:a,effect:n.effect,onRouteChangeEnd:r},null,8,["effect"])]),_:1})]),_:1},512))}}),Ux={class:"pop-tel"},Hx=["href"],Gx=V({customOptions:{Pop:le},inheritAttrs:!0,__name:"PopTel",props:{tel:{}},setup(o,{expose:t,emit:e}){const n=P();function s(){n.value?.open()}function r(){n.value?.close()}return t({open:s,close:r}),(a,i)=>(I(),dt(le,{directionFrom:"bottom",closeWhenClickOverlay:!1,ref_key:"el",ref:n},{default:W(()=>[v("div",Ux,[v("div",null,ft(a.tel),1),v("a",{class:"pop-tel-call",onClick:r,href:`tel:${a.tel}`}," 呼叫 ",8,Hx),v("div",{class:"pop-tel-cancel",onClick:r}," 取消 ")])]),_:1},512))}}),Mw="",Ma=st(Gx,[["__scopeId","data-v-c1425500"]]),jx={class:"lot-main"},Wx={class:"lot-detail"},qx={class:"bold"},Kx=V({customOptions:{LayoutPage:to,Footer:$a,PlateDisplay:Na,ViewDocument:ec,PopTel:Ma,ImageView:Da},inheritAttrs:!0,__name:"Lot",setup(o){const t=Ta();function e(){t.push({name:"view-document",params:{title:"收费标准",src:encodeURIComponent("https://erichd2.oss-cn-shanghai.aliyuncs.com/0000/0002/2159")}})}const n=P();function s(){n.value?.open()}const r=P();function a(){r.value?.open()}return(i,l)=>(I(),dt(to,{class:"lot"},{footer:W(()=>[Z($a)]),global:W(()=>[Z(Ma,{tel:"15851575410",ref_key:"popTelEl",ref:n},null,512),Z(Da,{urls:["https://erichd2.oss-cn-shanghai.aliyuncs.com/0000/0002/2159","https://erichd2.oss-cn-shanghai.aliyuncs.com/0000/0002/2159"],ref_key:"imageViewEl",ref:r},null,512)]),default:W(()=>[l[15]||(l[15]=v("div",{class:"lot-main-bg"},null,-1)),v("div",jx,[l[12]||(l[12]=v("div",null,"若临测试泊位机器人停车场",-1)),l[13]||(l[13]=v("div",null,[v("div"),v("div",null,"编号"),v("div")],-1)),l[14]||(l[14]=v("div",null,[v("span",null,"103"),v("span",null,"002")],-1)),v("div",null,[l[0]||(l[0]=v("div",null,"停车场主页",-1)),l[1]||(l[1]=v("div",null,"更换附近车位",-1)),v("div",{onClick:e},"收费标准")]),v("div",Wx,[l[4]||(l[4]=v("div",null,[v("div",null,"待支付"),v("div",{class:"red"},"¥0.01")],-1)),l[5]||(l[5]=v("div",null,[v("div",null,"已支付"),v("div",null,"¥0.01")],-1)),l[6]||(l[6]=v("div",null,[v("div",null,"订单编号"),v("div",null,"33333333333")],-1)),l[7]||(l[7]=v("div",null,[v("div",null,"开始时间"),v("div",null,"2025-04-08 09:41:25")],-1)),l[8]||(l[8]=v("div",null,[v("div",null,"停车时长"),v("div",null,"51小时53分钟15秒")],-1)),l[9]||(l[9]=v("div",null,[v("div",null,"优惠券"),v("div",{class:"red"},"1分钟")],-1)),l[10]||(l[10]=v("div",null,[v("div",null,"优惠信息"),v("div",{class:"red"},"xxxx")],-1)),l[11]||(l[11]=v("div",{class:"lot-detail-gap"},null,-1)),v("div",null,[l[2]||(l[2]=v("div",null,"车牌号",-1)),v("div",qx,[Z(Na,{plate:"苏U77777","plate-type":"b"})])]),v("div",null,[l[3]||(l[3]=v("div",null,"现场照片",-1)),v("div",{onClick:a},"查看")])]),v("div",{class:"lot-actions"},[v("div",{onClick:s},"联系客服")])])]),_:1}))}}),Lw="",vp=st(Kx,[["__scopeId","data-v-feee85ac"]]),Qx=V({customOptions:{LayoutPage:to},inheritAttrs:!0,__name:"Park",setup(o){return(t,e)=>(I(),dt(to,{class:"park"},{default:W(()=>e[0]||(e[0]=[Bt("Park")])),_:1}))}}),Bw="",bp=st(Qx,[["__scopeId","data-v-9704593b"]]),_p=w_({history:Fb("/"),routes:[{path:"/view-document/:title/:src",name:"view-document",component:ec},{path:"/",name:"xg",redirect:"/lot"},{path:"/lot",name:"lot",component:vp},{path:"/park",name:"park",component:bp}],scrollBehavior:(o,t,e)=>e||{left:0,top:0}}),Jx=_p,La=P("next"),Ba=[];_p.beforeEach((o,t,e)=>{const n=Ba.length,s=Ba.findIndex(r=>r==o.name);n>1&&s>=0&&s<n-1?(La.value="prev",Ba.splice(s+1)):(La.value="next",Ba.push(o.name)),e()});const t2=V({customOptions:{},inheritAttrs:!0,__name:"Container.ce",props:{type:{default:"block"},effectTriggerTiming:{default:"manual"},supportCopyText:{type:Boolean,default:!1}},emits:["ready","update","clipboard_success","clipboard_error","start","end"],setup(o,{expose:t,emit:e}){const n=o,s=e;let r="start";const a=()=>{r="start",s("start")},i=()=>{r="end",s("end")},l=()=>{r=="start"?i():a()},c=P();let u,f,d=!1;return Mn(()=>{c.value&&(u||(u=ua(c.value),u.eb.on("resize",()=>{d&&s("update",u)}),u.eb.on("mouseEnter",()=>{n.effectTriggerTiming=="mouseMove"&&l()}),u.eb.on("mouseLeave",()=>{n.effectTriggerTiming=="mouseMove"&&l()}),u.eb.on("tap",()=>{if(n.effectTriggerTiming=="click"&&l(),n.supportCopyText){const h=ba(c.value).getInnerText();Bl(h).then(()=>{s("clipboard_success",h)}).catch(p=>{s("clipboard_error",p.toString())})}}),n.effectTriggerTiming!=="manual"&&a(),n.effectTriggerTiming=="immediate"&&l(),u.start().then(()=>{f?.(u),s("ready",u),d=!0})))}),pe(()=>{}),ue(()=>{u?.end()}),t({getController:()=>new Promise(h=>{if(u)return h(u);f=h}),getElement:()=>c.value,getRect:()=>c.value.getBoundingClientRect()}),(h,p)=>(I(),D("div",qi({ref_key:"r",ref:c,class:"container",style:{position:"relative",boxSizing:"border-box",display:n.type=="shrink"?"inline-block":"block",width:n.type=="full"?"100%":"auto",height:n.type=="full"?"100%":"auto"}},h.$attrs),[mt(h.$slots,"default")],16))}}),xp=st(V({customOptions:{Container:ht},inheritAttrs:!0,__name:"CSSTransition.ce",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!1},effectTriggerTiming:{default:"immediate"},name:{default:"superRainbow"},duration:{default:300},timingFunction:{default:"ease-out"},delay:{default:0}},emits:["csstransitionstart","csstransitionend"],setup(o,{expose:t,emit:e}){const n=o,s=e;let r=n.duration,a=n.timingFunction,i=n.delay;const l=Wt({}),c=Wt({}),u=h=>{h.eb.on("transitionstart",p=>{s("csstransitionstart",p)}),h.eb.on("transitionend",p=>{s("csstransitionend",p)})},f=()=>{c.transition="none"},d=()=>{c.transition=`all ${r}ms ${a} ${i}ms`};return Rt(()=>n.name,()=>{switch(n.name){default:delete c.transformOrigin;break}switch(n.name){default:l.overflow="hidden";break}switch(n.name){default:delete c.backfaceVisibility;break}f(),d()},{immediate:!0}),t({}),(h,p)=>(I(),dt(ht,{class:"css-transition",type:n.containerType,supportCopyText:n.supportCopyText,effectTriggerTiming:n.effectTriggerTiming,onReady:u,onStart:f,onEnd:d,style:N(l)},{default:W(()=>[v("div",{class:jt(["css-transition-inner",n.name]),style:N({position:"relative",display:"block",width:"100%",height:"100%",cursor:"pointer",...c})},[mt(h.$slots,"default")],6)]),_:3},8,["type","supportCopyText","effectTriggerTiming","style"]))}}),[["styles",[`@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotate-reverse{0%{transform:rotate(360deg)}to{transform:rotate(0)}}@keyframes jelly{0%,to{transform:scale(1)}25%{transform:scale(.9,1.1)}50%{transform:scale(1.1,.9)}75%{transform:scale(.95,1.05)}}@keyframes bounce{0%,20%,53%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0)}40%,43%{animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{transition-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0) scaleY(.95)}90%{transform:translate3d(0,-4px,0) scaleY(1.02)}}@keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}@keyframes pulse{0%{transform:scaleZ(1)}50%{transform:scale3d(1.05,1.05,1.05)}to{transform:scaleZ(1)}}@keyframes rubberBand{0%{transform:scaleZ(1)}30%{transform:scale3d(1.25,.75,1)}40%{transform:scale3d(.75,1.25,1)}50%{transform:scale3d(1.15,.85,1)}65%{transform:scale3d(.95,1.05,1)}75%{transform:scale3d(1.05,.95,1)}to{transform:scaleZ(1)}}@keyframes shakeX{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}@keyframes shakeY{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(0,-10px,0)}20%,40%,60%,80%{transform:translate3d(0,10px,0)}}@keyframes headShake{0%{transform:translate(0)}6.5%{transform:translate(-6px) rotateY(-9deg)}18.5%{transform:translate(5px) rotateY(7deg)}31.5%{transform:translate(-3px) rotateY(-5deg)}43.5%{transform:translate(2px) rotateY(3deg)}50%{transform:translate(0)}}@keyframes swing{20%{transform:rotate3d(0,0,1,15deg)}40%{transform:rotate3d(0,0,1,-10deg)}60%{transform:rotate3d(0,0,1,5deg)}80%{transform:rotate3d(0,0,1,-5deg)}to{transform:rotate3d(0,0,1,0)}}@keyframes tada{0%{transform:scaleZ(1)}10%,20%{transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{transform:scaleZ(1)}}@keyframes wobble{0%{transform:translateZ(0)}15%{transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{transform:translateZ(0)}}@keyframes jello{0%,11.1%,to{transform:translateZ(0)}22.2%{transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{transform:skew(6.25deg) skewY(6.25deg)}44.4%{transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{transform:skew(.390625deg) skewY(.390625deg)}88.8%{transform:skew(-.1953125deg) skewY(-.1953125deg)}}@keyframes heartBeat{0%{transform:scale(1)}14%{transform:scale(1.3)}28%{transform:scale(1)}42%{transform:scale(1.3)}70%{transform:scale(1)}}@keyframes backInLeft{0%{transform:translate(-2000px) scale(.7);opacity:.7}80%{transform:translate(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInRight{0%{transform:translate(2000px) scale(.7);opacity:.7}80%{transform:translate(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInUp{0%{transform:translateY(1200px) scale(.7);opacity:.7}80%{transform:translateY(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInDown{0%{transform:translateY(-1200px) scale(.7);opacity:.7}80%{transform:translateY(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backOutLeft{0%{transform:scale(1);opacity:1}20%{transform:translate(0) scale(.7);opacity:.7}to{transform:translate(-2000px) scale(.7);opacity:.7}}@keyframes backOutRight{0%{transform:scale(1);opacity:1}20%{transform:translate(0) scale(.7);opacity:.7}to{transform:translate(2000px) scale(.7);opacity:.7}}@keyframes backOutUp{0%{transform:scale(1);opacity:1}20%{transform:translateY(0) scale(.7);opacity:.7}to{transform:translateY(-700px) scale(.7);opacity:.7}}@keyframes backOutDown{0%{transform:scale(1);opacity:1}20%{transform:translateY(0) scale(.7);opacity:.7}to{transform:translateY(700px) scale(.7);opacity:.7}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:scale3d(.3,.3,.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(.9,.9,.9)}60%{opacity:1;transform:scale3d(1.03,1.03,1.03)}80%{transform:scale3d(.97,.97,.97)}to{opacity:1;transform:scaleZ(1)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;transform:translate3d(25px,0,0) scaleX(1)}75%{transform:translate3d(-10px,0,0) scaleX(.98)}90%{transform:translate3d(5px,0,0) scaleX(.995)}to{transform:translateZ(0)}}@keyframes bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;transform:translate3d(-25px,0,0) scaleX(1)}75%{transform:translate3d(10px,0,0) scaleX(.98)}90%{transform:translate3d(-5px,0,0) scaleX(.995)}to{transform:translateZ(0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;transform:translate3d(0,-20px,0) scaleY(.9)}75%{transform:translate3d(0,10px,0) scaleY(.95)}90%{transform:translate3d(0,-5px,0) scaleY(.985)}to{transform:translateZ(0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;transform:translate3d(0,25px,0) scaleY(.9)}75%{transform:translate3d(0,-10px,0) scaleY(.95)}90%{transform:translate3d(0,5px,0) scaleY(.985)}to{transform:translateZ(0)}}@keyframes bounceOut{20%{transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(.3,.3,.3)}}@keyframes bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0) scaleX(.9)}to{opacity:0;transform:translate3d(-2000px,0,0) scaleX(2)}}@keyframes bounceOutRight{20%{opacity:1;transform:translate3d(-20px,0,0) scaleX(.9)}to{opacity:0;transform:translate3d(2000px,0,0) scaleX(2)}}@keyframes bounceOutUp{20%{transform:translate3d(0,-10px,0) scaleY(.985)}40%,45%{opacity:1;transform:translate3d(0,20px,0) scaleY(.9)}to{opacity:0;transform:translate3d(0,-2000px,0) scaleY(3)}}@keyframes bounceOutDown{20%{transform:translate3d(0,10px,0) scaleY(.985)}40%,45%{opacity:1;transform:translate3d(0,-20px,0) scaleY(.9)}to{opacity:0;transform:translate3d(0,2000px,0) scaleY(3)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeInLeft{0%{opacity:0;transform:translate3d(-100%,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInLeftBig{0%{opacity:0;transform:translate3d(-2000px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInRight{0%{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInRightBig{0%{opacity:0;transform:translate3d(2000px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInUp{0%{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInUpBig{0%{opacity:0;transform:translate3d(0,2000px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInDown{0%{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInDownBig{0%{opacity:0;transform:translate3d(0,-2000px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInTopLeft{0%{opacity:0;transform:translate3d(-100%,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInTopRight{0%{opacity:0;transform:translate3d(100%,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInBottomLeft{0%{opacity:0;transform:translate3d(-100%,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInBottomRight{0%{opacity:0;transform:translate3d(100%,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}@keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes fadeOutRight{0%{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}@keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;transform:translate3d(2000px,0,0)}}@keyframes fadeOutUp{0%{opacity:1}to{opacity:0;transform:translate3d(0,-100%,0)}}@keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes fadeOutDown{0%{opacity:1}to{opacity:0;transform:translate3d(0,100%,0)}}@keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;transform:translate3d(0,2000px,0)}}@keyframes fadeOutTopLeft{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(-100%,-100%,0)}}@keyframes fadeOutTopRight{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(100%,-100%,0)}}@keyframes fadeOutBottomRight{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(100%,100%,0)}}@keyframes fadeOutBottomLeft{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(-100%,100%,0)}}@keyframes flip{0%{transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(-360deg);animation-timing-function:ease-out}40%{transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-190deg);animation-timing-function:ease-out}50%{transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-170deg);animation-timing-function:ease-in}80%{transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);animation-timing-function:ease-in}to{transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(0);animation-timing-function:ease-in}}@keyframes flipInX{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes flipInY{0%{transform:perspective(400px) rotateY(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateY(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateY(10deg);opacity:1}80%{transform:perspective(400px) rotateY(-5deg)}to{transform:perspective(400px)}}@keyframes flipOutX{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateX(-20deg);opacity:1}to{transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes flipOutY{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateY(-15deg);opacity:1}to{transform:perspective(400px) rotateY(90deg);opacity:0}}@keyframes flipOutRight{to{transform:translateZ(-1000px) rotateY(90deg);opacity:.2}}@keyframes flipInLeft{0%{transform:translateZ(-1000px) rotateY(-90deg);opacity:.2}}@keyframes flipOutLeft{to{transform:translateZ(-1000px) rotateY(-90deg);opacity:.2}}@keyframes flipInRight{0%{transform:translateZ(-1000px) rotateY(90deg);opacity:.2}}@keyframes flipOutTop{to{transform:translateZ(-1000px) rotateX(90deg);opacity:.2}}@keyframes flipInBottom{0%{transform:translateZ(-1000px) rotateX(-90deg);opacity:.2}}@keyframes flipOutBottom{to{transform:translateZ(-1000px) rotateX(-90deg);opacity:.2}}@keyframes flipInTop{0%{transform:translateZ(-1000px) rotateX(90deg);opacity:.2}}@keyframes lightSpeedInLeft{0%{transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{transform:skew(-20deg);opacity:1}80%{transform:skew(5deg)}to{transform:translateZ(0)}}@keyframes lightSpeedInRight{0%{transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{transform:skew(20deg);opacity:1}80%{transform:skew(-5deg)}to{transform:translateZ(0)}}@keyframes lightSpeedOutLeft{0%{opacity:1}to{transform:translate3d(-100%,0,0) skew(-30deg);opacity:0}}@keyframes lightSpeedOutRight{0%{opacity:1}to{transform:translate3d(100%,0,0) skew(30deg);opacity:0}}@keyframes rotateIn{0%{transform:rotate3d(0,0,1,-200deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInUpLeft{0%{transform:rotate3d(0,0,1,45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInUpRight{0%{transform:rotate3d(0,0,1,-90deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInDownLeft{0%{transform:rotate3d(0,0,1,-45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInDownRight{0%{transform:rotate3d(0,0,1,45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateOut{0%{opacity:1}to{transform:rotate3d(0,0,1,200deg);opacity:0}}@keyframes rotateOutUpLeft{0%{opacity:1}to{transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutUpRight{0%{opacity:1}to{transform:rotate3d(0,0,1,90deg);opacity:0}}@keyframes rotateOutDownLeft{0%{opacity:1}to{transform:rotate3d(0,0,1,45deg);opacity:0}}@keyframes rotateOutDownRight{0%{opacity:1}to{transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes hinge{0%{animation-timing-function:ease-in-out}20%,60%{transform:rotate3d(0,0,1,80deg);animation-timing-function:ease-in-out}40%,80%{transform:rotate3d(0,0,1,60deg);animation-timing-function:ease-in-out;opacity:1}to{transform:translate3d(0,700px,0);opacity:0}}@keyframes rotateFall{0%{transform:rotate(0)}20%{transform:rotate(10deg);animation-timing-function:ease-out}40%{transform:rotate(17deg)}60%{transform:rotate(16deg)}to{transform:translateY(100%) rotate(17deg)}}@keyframes rotateOutNewspaper{to{transform:translateZ(-3000px) rotate(360deg);opacity:0}}@keyframes rotateInNewspaper{0%{transform:translateZ(-3000px) rotate(-360deg);opacity:0}}@keyframes jackInTheBox{0%{opacity:0;transform:scale(.1) rotate(30deg);transform-origin:center bottom}50%{transform:rotate(-10deg)}70%{transform:rotate(3deg)}to{opacity:1;transform:scale(1)}}@keyframes rollIn{0%{opacity:0;transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;transform:translateZ(0)}}@keyframes rollOut{0%{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}@keyframes zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomInLeft{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInRight{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInUp{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInDown{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes zoomOutLeft{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;transform:scale(.1) translate3d(-2000px,0,0)}}@keyframes zoomOutRight{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;transform:scale(.1) translate3d(2000px,0,0)}}@keyframes zoomOutUp{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutDown{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes slideInLeft{0%{transform:translate3d(-100%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInRight{0%{transform:translate3d(100%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInUp{0%{transform:translate3d(0,100%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInDown{0%{transform:translate3d(0,-100%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideOutLeft{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(-100%,0,0)}}@keyframes slideOutRight{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(100%,0,0)}}@keyframes slideOutUp{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,-100%,0)}}@keyframes slideOutDown{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,100%,0)}}@keyframes rotateRightSideFirst{40%{transform:rotateY(15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateLeftSideFirst{40%{transform:rotateY(-15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateTopSideFirst{40%{transform:rotateX(15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateBottomSideFirst{40%{transform:rotateX(-15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotatePushLeft{to{opacity:0;transform:rotateY(90deg)}}@keyframes rotatePushRight{to{opacity:0;transform:rotateY(-90deg)}}@keyframes rotatePushTop{to{opacity:0;transform:rotateX(-90deg)}}@keyframes rotatePushBottom{to{opacity:0;transform:rotateX(90deg)}}@keyframes rotatePullRight{0%{opacity:0;transform:rotateY(-90deg)}}@keyframes rotatePullLeft{0%{opacity:0;transform:rotateY(90deg)}}@keyframes rotatePullTop{0%{opacity:0;transform:rotateX(-90deg)}}@keyframes rotatePullBottom{0%{opacity:0;transform:rotateX(90deg)}}@keyframes rotateFoldRight{to{opacity:0;transform:translate(100%) rotateY(90deg)}}@keyframes rotateFoldLeft{to{opacity:0;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateFoldTop{to{opacity:0;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateFoldBottom{to{opacity:0;transform:translateY(100%) rotateX(-90deg)}}@keyframes rotateUnfoldLeft{0%{opacity:0;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateUnfoldRight{0%{opacity:0;transform:translate(100%) rotateY(90deg)}}@keyframes rotateUnfoldTop{0%{opacity:0;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateUnfoldBottom{0%{opacity:0;transform:translateY(100%) rotateX(-90deg)}}@keyframes moveToLeft{to{transform:translate(-100%)}}@keyframes moveFromLeft{0%{transform:translate(-100%)}}@keyframes moveToRight{to{transform:translate(100%)}}@keyframes moveFromRight{0%{transform:translate(100%)}}@keyframes moveToTop{to{transform:translateY(-100%)}}@keyframes moveFromTop{0%{transform:translateY(-100%)}}@keyframes moveToBottom{to{transform:translateY(100%)}}@keyframes moveFromBottom{0%{transform:translateY(100%)}}@keyframes fade{to{opacity:.3}}@keyframes moveToLeftFade{to{opacity:.3;transform:translate(-100%)}}@keyframes moveFromLeftFade{0%{opacity:.3;transform:translate(-100%)}}@keyframes moveToRightFade{to{opacity:.3;transform:translate(100%)}}@keyframes moveFromRightFade{0%{opacity:.3;transform:translate(100%)}}@keyframes moveToTopFade{to{opacity:.3;transform:translateY(-100%)}}@keyframes moveFromTopFade{0%{opacity:.3;transform:translateY(-100%)}}@keyframes moveToBottomFade{to{opacity:.3;transform:translateY(100%)}}@keyframes moveFromBottomFade{0%{opacity:.3;transform:translateY(100%)}}@keyframes scaleToSmall{to{opacity:0;transform:scale(.8)}}@keyframes scaleFromSmall{0%{opacity:0;transform:scale(.8)}}@keyframes scaleFromLarge{0%{opacity:0;transform:scale(1.2)}}@keyframes scaleToLarge{to{opacity:0;transform:scale(1.2)}}@keyframes scaleToSmallCenter{to{opacity:0;transform:scale(.7)}}@keyframes scaleFromSmallCenter{0%{opacity:0;transform:scale(.7)}}@keyframes rotateRoomLeftOut{to{opacity:.3;transform:translate(-100%) rotateY(90deg)}}@keyframes rotateRoomLeftIn{0%{opacity:.3;transform:translate(100%) rotateY(-90deg)}}@keyframes rotateRoomRightOut{to{opacity:.3;transform:translate(100%) rotateY(-90deg)}}@keyframes rotateRoomRightIn{0%{opacity:.3;transform:translate(-100%) rotateY(90deg)}}@keyframes rotateRoomTopOut{to{opacity:.3;transform:translateY(-100%) rotateX(-90deg)}}@keyframes rotateRoomTopIn{0%{opacity:.3;transform:translateY(100%) rotateX(90deg)}}@keyframes rotateRoomBottomOut{to{opacity:.3;transform:translateY(100%) rotateX(90deg)}}@keyframes rotateRoomBottomIn{0%{opacity:.3;transform:translateY(-100%) rotateX(-90deg)}}@keyframes rotateCubeLeftOut{50%{animation-timing-function:ease-out;transform:translate(-50%) translateZ(-200px) rotateY(-45deg)}to{opacity:.3;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateCubeLeftIn{0%{opacity:.3;transform:translate(100%) rotateY(90deg)}50%{animation-timing-function:ease-out;transform:translate(50%) translateZ(-200px) rotateY(45deg)}}@keyframes rotateCubeRightOut{50%{animation-timing-function:ease-out;transform:translate(50%) translateZ(-200px) rotateY(45deg)}to{opacity:.3;transform:translate(100%) rotateY(90deg)}}@keyframes rotateCubeRightIn{0%{opacity:.3;transform:translate(-100%) rotateY(-90deg)}50%{animation-timing-function:ease-out;transform:translate(-50%) translateZ(-200px) rotateY(-45deg)}}@keyframes rotateCubeTopOut{50%{animation-timing-function:ease-out;transform:translateY(-50%) translateZ(-200px) rotateX(45deg)}to{opacity:.3;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateCubeTopIn{0%{opacity:.3;transform:translateY(100%) rotateX(-90deg)}50%{animation-timing-function:ease-out;transform:translateY(50%) translateZ(-200px) rotateX(-45deg)}}@keyframes rotateCubeBottomOut{50%{animation-timing-function:ease-out;transform:translateY(50%) translateZ(-200px) rotateX(-45deg)}to{opacity:.3;transform:translateY(100%) rotateX(-90deg)}}@keyframes rotateCubeBottomIn{0%{opacity:.3;transform:translateY(-100%) rotateX(90deg)}50%{animation-timing-function:ease-out;transform:translateY(-50%) translateZ(-200px) rotateX(45deg)}}@keyframes rotateCarouselLeftOut{to{opacity:.3;transform:translate(-150%) scale(.4) rotateY(-65deg)}}@keyframes rotateCarouselLeftIn{0%{opacity:.3;transform:translate(200%) scale(.4) rotateY(65deg)}}@keyframes rotateCarouselRightOut{to{opacity:.3;transform:translate(200%) scale(.4) rotateY(65deg)}}@keyframes rotateCarouselRightIn{0%{opacity:.3;transform:translate(-200%) scale(.4) rotateY(-65deg)}}@keyframes rotateCarouselTopOut{to{opacity:.3;transform:translateY(-200%) scale(.4) rotateX(65deg)}}@keyframes rotateCarouselTopIn{0%{opacity:.3;transform:translateY(200%) scale(.4) rotateX(-65deg)}}@keyframes rotateCarouselBottomOut{to{opacity:.3;transform:translateY(200%) scale(.4) rotateX(-65deg)}}@keyframes rotateCarouselBottomIn{0%{opacity:.3;transform:translateY(-200%) scale(.4) rotateX(65deg)}}@keyframes rotateSidesOut{to{opacity:0;transform:translateZ(-500px) rotateY(90deg)}}@keyframes rotateSidesIn{0%{opacity:0;transform:translateZ(-500px) rotateY(-90deg)}}@keyframes rotateSlideOut{25%{opacity:.5;transform:translateZ(-500px)}75%{opacity:.5;transform:translateZ(-500px) translate(-200%)}to{opacity:.5;transform:translateZ(-500px) translate(-200%)}}@keyframes rotateSlideIn{0%,25%{opacity:.5;transform:translateZ(-500px) translate(200%)}75%{opacity:.5;transform:translateZ(-500px)}to{opacity:1;transform:translateZ(0) translate(0)}}@keyframes superRainbow{0%{background:red}20%{background:orange}40%{background:yellow}60%{background:green}80%{background:blue}to{background:violet}}.superRainbow{background-position:0 0;background-size:200% 100%;background-image:linear-gradient(90deg,red,orange,yellow,green,blue,violet)}.superRainbow:hover{background-position:-100% 100%}@keyframes statusProcessing{0%{transform:scale(.8);opacity:.5}to{transform:scale(2.4);opacity:0}}
|
|
89
|
-
`]]]),Ya=st(V({customOptions:{Container:ht},inheritAttrs:!0,__name:"CSSAnimation.ce",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!1},effectTriggerTiming:{default:"mouseMove"},name:{default:"jelly"},timingFunction:{},duration:{},delay:{},repeat:{},direction:{},fillMode:{default:"both"},playState:{default:"running"},perspective:{default:"1200px"}},emits:["cssanimationstart","cssanimationend"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=Wt({}),a=Wt({});let i=n.name,l=n.duration,c=n.timingFunction,u=n.delay,f=n.repeat,d=n.direction;function h(w){switch(i=w,i){case"superRainbow":l=n.duration||15e3;break;case"heartBeat":l=n.duration||1300;break;case"statusProcessing":l=n.duration||1200;break;case"rotateFall":case"rotateSlideOut":case"rotateSlideIn":l=n.duration||1e3;break;case"rotateRightSideFirst":case"rotateLeftSideFirst":case"rotateTopSideFirst":case"rotateBottomSideFirst":case"rotatePushLeft":case"rotatePushRight":case"rotatePushTop":case"rotatePushBottom":case"rotateRoomLeftOut":case"rotateRoomLeftIn":case"rotateRoomRightOut":case"rotateRoomRightIn":case"rotateRoomTopOut":case"rotateRoomTopIn":case"rotateRoomBottomOut":case"rotateRoomBottomIn":case"rotateCarouselLeftOut":case"rotateCarouselLeftIn":case"rotateCarouselRightOut":case"rotateCarouselRightIn":case"rotateCarouselTopOut":case"rotateCarouselTopIn":case"rotateCarouselBottomOut":case"rotateCarouselBottomIn":l=n.duration||800;break;case"bounceIn":case"bounceOut":case"flipOutX":case"hinge":l=n.duration||750;break;case"rotateFoldRight":case"rotateFoldLeft":case"rotateFoldTop":case"rotateFoldBottom":case"rotateUnfoldLeft":case"rotateUnfoldRight":case"rotateUnfoldTop":case"rotateUnfoldBottom":case"fade":case"moveFromLeftFade":case"moveToLeftFade":case"moveFromRightFade":case"moveToRightFade":case"moveFromTopFade":case"moveToTopFade":case"moveFromBottomFade":case"moveToBottomFade":l=n.duration||700;break;case"moveFromLeft":case"moveToLeft":case"moveFromRight":case"moveToRight":case"moveFromTop":case"moveToTop":case"moveFromBottom":case"moveToBottom":case"rotateCubeLeftOut":case"rotateCubeLeftIn":case"rotateCubeRightOut":case"rotateCubeRightIn":case"rotateCubeTopOut":case"rotateCubeTopIn":case"rotateCubeBottomOut":case"rotateCubeBottomIn":l=n.duration||600;break;default:l=n.duration||500;break}switch(i){case"superRainbow":c=n.timingFunction||"linear";break;case"lightSpeedOutLeft":case"lightSpeedOutRight":case"rotateRightSideFirst":case"rotateLeftSideFirst":case"rotateTopSideFirst":case"rotateBottomSideFirst":case"flipOutRight":case"flipOutLeft":case"flipOutTop":case"flipOutBottom":case"rotateFall":case"rotateOutNewspaper":case"rotateCubeLeftOut":case"rotateCubeLeftIn":case"rotateCubeRightOut":case"rotateCubeRightIn":case"rotateCubeTopOut":case"rotateCubeTopIn":case"rotateCubeBottomOut":case"rotateCubeBottomIn":case"rotateSidesOut":c=n.timingFunction||"ease-in";break;case"lightSpeedInLeft":case"lightSpeedInRight":case"flipInLeft":case"flipInRight":case"flipInBottom":case"flipInTop":case"rotateInNewspaper":case"rotateSidesIn":c=n.timingFunction||"ease-out";break;case"pulse":case"headShake":case"heartBeat":case"statusProcessing":c=n.timingFunction||"ease-in-out";break;default:c=n.timingFunction||"ease";break}switch(i){default:u=n.delay||0;break}switch(i){case"superRainbow":case"statusProcessing":f=n.repeat||"infinite";break;default:f=n.repeat||1;break}switch(i){case"superRainbow":d=n.direction||"alternate";break;default:d=n.direction||"normal";break}switch(i){case"hinge":case"rotateFall":a.transformOrigin="left top";break;case"zoomOutLeft":case"rotateRightSideFirst":case"rotatePushLeft":case"rotatePullLeft":case"rotateFoldRight":case"rotateUnfoldRight":case"rotateRoomLeftIn":case"rotateRoomRightOut":case"rotateCubeLeftIn":case"rotateCubeRightOut":a.transformOrigin="left center";break;case"rotateInUpLeft":case"rotateInDownLeft":case"rotateOutUpLeft":case"rotateOutDownLeft":a.transformOrigin="left bottom";break;case"swing":case"zoomOutUp":case"rotateBottomSideFirst":case"rotatePushTop":case"rotatePullTop":case"rotateFoldBottom":case"rotateUnfoldBottom":case"rotateRoomTopIn":case"rotateRoomBottomOut":case"rotateCubeTopIn":case"rotateCubeBottomOut":a.transformOrigin="center top";break;case"bounce":case"zoomOutDown":case"rotateTopSideFirst":case"rotatePushBottom":case"rotatePullBottom":case"rotateFoldTop":case"rotateUnfoldTop":case"rotateRoomTopOut":case"rotateRoomBottomIn":case"rotateCubeTopOut":case"rotateCubeBottomIn":a.transformOrigin="center bottom";break;case"zoomOutRight":case"rotateLeftSideFirst":case"rotatePushRight":case"rotatePullRight":case"rotateFoldLeft":case"rotateUnfoldLeft":case"rotateRoomLeftOut":case"rotateRoomRightIn":case"rotateCubeLeftOut":case"rotateCubeRightIn":a.transformOrigin="right center";break;case"rotateInUpRight":case"rotateInDownRight":case"rotateOutUpRight":case"rotateOutDownRight":a.transformOrigin="right bottom";break;default:delete a.transformOrigin;break}switch(i){case"jelly":case"bounce":case"flash":case"pulse":case"rubberBand":case"shakeX":case"shakeY":case"headShake":case"swing":case"tada":case"wobble":case"jello":case"heartBeat":case"bounceIn":case"fadeIn":case"fadeOut":case"flip":case"flipInX":case"flipInY":case"flipOutX":case"flipOutY":case"hinge":case"jackInTheBox":r.overflow="visible";break;default:r.overflow="hidden";break}switch(i){case"flip":case"flipInX":case"flipInY":case"flipOutX":case"flipOutY":a.backfaceVisibility="visible";break;default:delete a.backfaceVisibility;break}}const p=P(),b=w=>{r.perspective=n.perspective,w.eb.on("animationstart",$=>{s("cssanimationstart",$.animationName)}),w.eb.on("animationend",$=>{s("cssanimationend",$.animationName)})};function x(){p.value.style.animation="none",p.value.offsetHeight,p.value.style.animation=null}const k=()=>{a.animation="none"},g=()=>{x(),a.animation=`${l}ms ${c} ${u}ms ${f} ${d} ${n.fillMode} ${n.playState} ${i}`},m=w=>{w&&h(w),k(),d="normal",g()},y=w=>{w&&h(w),k(),d="reverse",g()},_=()=>{a.animation="none"};return Rt(()=>n.name,()=>{h(n.name)},{immediate:!0}),t({trigger:m,triggerReverse:y,clear:_}),(w,$)=>(I(),dt(ht,{class:"css-animation",type:n.containerType,supportCopyText:n.supportCopyText,effectTriggerTiming:n.effectTriggerTiming,style:N(r),onReady:b,onStart:k,onEnd:g},{default:W(()=>[v("div",{class:"css-animation-inner",ref_key:"animationRef",ref:p,style:N({position:"relative",display:"block",width:"100%",height:"100%",cursor:"pointer",transformStyle:"preserve-3d",...a})},[mt(w.$slots,"default")],4)]),_:3},8,["type","supportCopyText","effectTriggerTiming","style"]))}}),[["styles",[`@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotate-reverse{0%{transform:rotate(360deg)}to{transform:rotate(0)}}@keyframes jelly{0%,to{transform:scale(1)}25%{transform:scale(.9,1.1)}50%{transform:scale(1.1,.9)}75%{transform:scale(.95,1.05)}}@keyframes bounce{0%,20%,53%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0)}40%,43%{animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{transition-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0) scaleY(.95)}90%{transform:translate3d(0,-4px,0) scaleY(1.02)}}@keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}@keyframes pulse{0%{transform:scaleZ(1)}50%{transform:scale3d(1.05,1.05,1.05)}to{transform:scaleZ(1)}}@keyframes rubberBand{0%{transform:scaleZ(1)}30%{transform:scale3d(1.25,.75,1)}40%{transform:scale3d(.75,1.25,1)}50%{transform:scale3d(1.15,.85,1)}65%{transform:scale3d(.95,1.05,1)}75%{transform:scale3d(1.05,.95,1)}to{transform:scaleZ(1)}}@keyframes shakeX{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}@keyframes shakeY{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(0,-10px,0)}20%,40%,60%,80%{transform:translate3d(0,10px,0)}}@keyframes headShake{0%{transform:translate(0)}6.5%{transform:translate(-6px) rotateY(-9deg)}18.5%{transform:translate(5px) rotateY(7deg)}31.5%{transform:translate(-3px) rotateY(-5deg)}43.5%{transform:translate(2px) rotateY(3deg)}50%{transform:translate(0)}}@keyframes swing{20%{transform:rotate3d(0,0,1,15deg)}40%{transform:rotate3d(0,0,1,-10deg)}60%{transform:rotate3d(0,0,1,5deg)}80%{transform:rotate3d(0,0,1,-5deg)}to{transform:rotate3d(0,0,1,0)}}@keyframes tada{0%{transform:scaleZ(1)}10%,20%{transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{transform:scaleZ(1)}}@keyframes wobble{0%{transform:translateZ(0)}15%{transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{transform:translateZ(0)}}@keyframes jello{0%,11.1%,to{transform:translateZ(0)}22.2%{transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{transform:skew(6.25deg) skewY(6.25deg)}44.4%{transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{transform:skew(.390625deg) skewY(.390625deg)}88.8%{transform:skew(-.1953125deg) skewY(-.1953125deg)}}@keyframes heartBeat{0%{transform:scale(1)}14%{transform:scale(1.3)}28%{transform:scale(1)}42%{transform:scale(1.3)}70%{transform:scale(1)}}@keyframes backInLeft{0%{transform:translate(-2000px) scale(.7);opacity:.7}80%{transform:translate(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInRight{0%{transform:translate(2000px) scale(.7);opacity:.7}80%{transform:translate(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInUp{0%{transform:translateY(1200px) scale(.7);opacity:.7}80%{transform:translateY(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInDown{0%{transform:translateY(-1200px) scale(.7);opacity:.7}80%{transform:translateY(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backOutLeft{0%{transform:scale(1);opacity:1}20%{transform:translate(0) scale(.7);opacity:.7}to{transform:translate(-2000px) scale(.7);opacity:.7}}@keyframes backOutRight{0%{transform:scale(1);opacity:1}20%{transform:translate(0) scale(.7);opacity:.7}to{transform:translate(2000px) scale(.7);opacity:.7}}@keyframes backOutUp{0%{transform:scale(1);opacity:1}20%{transform:translateY(0) scale(.7);opacity:.7}to{transform:translateY(-700px) scale(.7);opacity:.7}}@keyframes backOutDown{0%{transform:scale(1);opacity:1}20%{transform:translateY(0) scale(.7);opacity:.7}to{transform:translateY(700px) scale(.7);opacity:.7}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:scale3d(.3,.3,.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(.9,.9,.9)}60%{opacity:1;transform:scale3d(1.03,1.03,1.03)}80%{transform:scale3d(.97,.97,.97)}to{opacity:1;transform:scaleZ(1)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;transform:translate3d(25px,0,0) scaleX(1)}75%{transform:translate3d(-10px,0,0) scaleX(.98)}90%{transform:translate3d(5px,0,0) scaleX(.995)}to{transform:translateZ(0)}}@keyframes bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;transform:translate3d(-25px,0,0) scaleX(1)}75%{transform:translate3d(10px,0,0) scaleX(.98)}90%{transform:translate3d(-5px,0,0) scaleX(.995)}to{transform:translateZ(0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;transform:translate3d(0,-20px,0) scaleY(.9)}75%{transform:translate3d(0,10px,0) scaleY(.95)}90%{transform:translate3d(0,-5px,0) scaleY(.985)}to{transform:translateZ(0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;transform:translate3d(0,25px,0) scaleY(.9)}75%{transform:translate3d(0,-10px,0) scaleY(.95)}90%{transform:translate3d(0,5px,0) scaleY(.985)}to{transform:translateZ(0)}}@keyframes bounceOut{20%{transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(.3,.3,.3)}}@keyframes bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0) scaleX(.9)}to{opacity:0;transform:translate3d(-2000px,0,0) scaleX(2)}}@keyframes bounceOutRight{20%{opacity:1;transform:translate3d(-20px,0,0) scaleX(.9)}to{opacity:0;transform:translate3d(2000px,0,0) scaleX(2)}}@keyframes bounceOutUp{20%{transform:translate3d(0,-10px,0) scaleY(.985)}40%,45%{opacity:1;transform:translate3d(0,20px,0) scaleY(.9)}to{opacity:0;transform:translate3d(0,-2000px,0) scaleY(3)}}@keyframes bounceOutDown{20%{transform:translate3d(0,10px,0) scaleY(.985)}40%,45%{opacity:1;transform:translate3d(0,-20px,0) scaleY(.9)}to{opacity:0;transform:translate3d(0,2000px,0) scaleY(3)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeInLeft{0%{opacity:0;transform:translate3d(-100%,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInLeftBig{0%{opacity:0;transform:translate3d(-2000px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInRight{0%{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInRightBig{0%{opacity:0;transform:translate3d(2000px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInUp{0%{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInUpBig{0%{opacity:0;transform:translate3d(0,2000px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInDown{0%{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInDownBig{0%{opacity:0;transform:translate3d(0,-2000px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInTopLeft{0%{opacity:0;transform:translate3d(-100%,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInTopRight{0%{opacity:0;transform:translate3d(100%,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInBottomLeft{0%{opacity:0;transform:translate3d(-100%,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInBottomRight{0%{opacity:0;transform:translate3d(100%,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}@keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes fadeOutRight{0%{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}@keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;transform:translate3d(2000px,0,0)}}@keyframes fadeOutUp{0%{opacity:1}to{opacity:0;transform:translate3d(0,-100%,0)}}@keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes fadeOutDown{0%{opacity:1}to{opacity:0;transform:translate3d(0,100%,0)}}@keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;transform:translate3d(0,2000px,0)}}@keyframes fadeOutTopLeft{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(-100%,-100%,0)}}@keyframes fadeOutTopRight{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(100%,-100%,0)}}@keyframes fadeOutBottomRight{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(100%,100%,0)}}@keyframes fadeOutBottomLeft{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(-100%,100%,0)}}@keyframes flip{0%{transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(-360deg);animation-timing-function:ease-out}40%{transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-190deg);animation-timing-function:ease-out}50%{transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-170deg);animation-timing-function:ease-in}80%{transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);animation-timing-function:ease-in}to{transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(0);animation-timing-function:ease-in}}@keyframes flipInX{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes flipInY{0%{transform:perspective(400px) rotateY(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateY(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateY(10deg);opacity:1}80%{transform:perspective(400px) rotateY(-5deg)}to{transform:perspective(400px)}}@keyframes flipOutX{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateX(-20deg);opacity:1}to{transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes flipOutY{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateY(-15deg);opacity:1}to{transform:perspective(400px) rotateY(90deg);opacity:0}}@keyframes flipOutRight{to{transform:translateZ(-1000px) rotateY(90deg);opacity:.2}}@keyframes flipInLeft{0%{transform:translateZ(-1000px) rotateY(-90deg);opacity:.2}}@keyframes flipOutLeft{to{transform:translateZ(-1000px) rotateY(-90deg);opacity:.2}}@keyframes flipInRight{0%{transform:translateZ(-1000px) rotateY(90deg);opacity:.2}}@keyframes flipOutTop{to{transform:translateZ(-1000px) rotateX(90deg);opacity:.2}}@keyframes flipInBottom{0%{transform:translateZ(-1000px) rotateX(-90deg);opacity:.2}}@keyframes flipOutBottom{to{transform:translateZ(-1000px) rotateX(-90deg);opacity:.2}}@keyframes flipInTop{0%{transform:translateZ(-1000px) rotateX(90deg);opacity:.2}}@keyframes lightSpeedInLeft{0%{transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{transform:skew(-20deg);opacity:1}80%{transform:skew(5deg)}to{transform:translateZ(0)}}@keyframes lightSpeedInRight{0%{transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{transform:skew(20deg);opacity:1}80%{transform:skew(-5deg)}to{transform:translateZ(0)}}@keyframes lightSpeedOutLeft{0%{opacity:1}to{transform:translate3d(-100%,0,0) skew(-30deg);opacity:0}}@keyframes lightSpeedOutRight{0%{opacity:1}to{transform:translate3d(100%,0,0) skew(30deg);opacity:0}}@keyframes rotateIn{0%{transform:rotate3d(0,0,1,-200deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInUpLeft{0%{transform:rotate3d(0,0,1,45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInUpRight{0%{transform:rotate3d(0,0,1,-90deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInDownLeft{0%{transform:rotate3d(0,0,1,-45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInDownRight{0%{transform:rotate3d(0,0,1,45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateOut{0%{opacity:1}to{transform:rotate3d(0,0,1,200deg);opacity:0}}@keyframes rotateOutUpLeft{0%{opacity:1}to{transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutUpRight{0%{opacity:1}to{transform:rotate3d(0,0,1,90deg);opacity:0}}@keyframes rotateOutDownLeft{0%{opacity:1}to{transform:rotate3d(0,0,1,45deg);opacity:0}}@keyframes rotateOutDownRight{0%{opacity:1}to{transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes hinge{0%{animation-timing-function:ease-in-out}20%,60%{transform:rotate3d(0,0,1,80deg);animation-timing-function:ease-in-out}40%,80%{transform:rotate3d(0,0,1,60deg);animation-timing-function:ease-in-out;opacity:1}to{transform:translate3d(0,700px,0);opacity:0}}@keyframes rotateFall{0%{transform:rotate(0)}20%{transform:rotate(10deg);animation-timing-function:ease-out}40%{transform:rotate(17deg)}60%{transform:rotate(16deg)}to{transform:translateY(100%) rotate(17deg)}}@keyframes rotateOutNewspaper{to{transform:translateZ(-3000px) rotate(360deg);opacity:0}}@keyframes rotateInNewspaper{0%{transform:translateZ(-3000px) rotate(-360deg);opacity:0}}@keyframes jackInTheBox{0%{opacity:0;transform:scale(.1) rotate(30deg);transform-origin:center bottom}50%{transform:rotate(-10deg)}70%{transform:rotate(3deg)}to{opacity:1;transform:scale(1)}}@keyframes rollIn{0%{opacity:0;transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;transform:translateZ(0)}}@keyframes rollOut{0%{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}@keyframes zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomInLeft{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInRight{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInUp{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInDown{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes zoomOutLeft{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;transform:scale(.1) translate3d(-2000px,0,0)}}@keyframes zoomOutRight{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;transform:scale(.1) translate3d(2000px,0,0)}}@keyframes zoomOutUp{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutDown{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes slideInLeft{0%{transform:translate3d(-100%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInRight{0%{transform:translate3d(100%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInUp{0%{transform:translate3d(0,100%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInDown{0%{transform:translate3d(0,-100%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideOutLeft{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(-100%,0,0)}}@keyframes slideOutRight{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(100%,0,0)}}@keyframes slideOutUp{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,-100%,0)}}@keyframes slideOutDown{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,100%,0)}}@keyframes rotateRightSideFirst{40%{transform:rotateY(15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateLeftSideFirst{40%{transform:rotateY(-15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateTopSideFirst{40%{transform:rotateX(15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateBottomSideFirst{40%{transform:rotateX(-15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotatePushLeft{to{opacity:0;transform:rotateY(90deg)}}@keyframes rotatePushRight{to{opacity:0;transform:rotateY(-90deg)}}@keyframes rotatePushTop{to{opacity:0;transform:rotateX(-90deg)}}@keyframes rotatePushBottom{to{opacity:0;transform:rotateX(90deg)}}@keyframes rotatePullRight{0%{opacity:0;transform:rotateY(-90deg)}}@keyframes rotatePullLeft{0%{opacity:0;transform:rotateY(90deg)}}@keyframes rotatePullTop{0%{opacity:0;transform:rotateX(-90deg)}}@keyframes rotatePullBottom{0%{opacity:0;transform:rotateX(90deg)}}@keyframes rotateFoldRight{to{opacity:0;transform:translate(100%) rotateY(90deg)}}@keyframes rotateFoldLeft{to{opacity:0;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateFoldTop{to{opacity:0;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateFoldBottom{to{opacity:0;transform:translateY(100%) rotateX(-90deg)}}@keyframes rotateUnfoldLeft{0%{opacity:0;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateUnfoldRight{0%{opacity:0;transform:translate(100%) rotateY(90deg)}}@keyframes rotateUnfoldTop{0%{opacity:0;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateUnfoldBottom{0%{opacity:0;transform:translateY(100%) rotateX(-90deg)}}@keyframes moveToLeft{to{transform:translate(-100%)}}@keyframes moveFromLeft{0%{transform:translate(-100%)}}@keyframes moveToRight{to{transform:translate(100%)}}@keyframes moveFromRight{0%{transform:translate(100%)}}@keyframes moveToTop{to{transform:translateY(-100%)}}@keyframes moveFromTop{0%{transform:translateY(-100%)}}@keyframes moveToBottom{to{transform:translateY(100%)}}@keyframes moveFromBottom{0%{transform:translateY(100%)}}@keyframes fade{to{opacity:.3}}@keyframes moveToLeftFade{to{opacity:.3;transform:translate(-100%)}}@keyframes moveFromLeftFade{0%{opacity:.3;transform:translate(-100%)}}@keyframes moveToRightFade{to{opacity:.3;transform:translate(100%)}}@keyframes moveFromRightFade{0%{opacity:.3;transform:translate(100%)}}@keyframes moveToTopFade{to{opacity:.3;transform:translateY(-100%)}}@keyframes moveFromTopFade{0%{opacity:.3;transform:translateY(-100%)}}@keyframes moveToBottomFade{to{opacity:.3;transform:translateY(100%)}}@keyframes moveFromBottomFade{0%{opacity:.3;transform:translateY(100%)}}@keyframes scaleToSmall{to{opacity:0;transform:scale(.8)}}@keyframes scaleFromSmall{0%{opacity:0;transform:scale(.8)}}@keyframes scaleFromLarge{0%{opacity:0;transform:scale(1.2)}}@keyframes scaleToLarge{to{opacity:0;transform:scale(1.2)}}@keyframes scaleToSmallCenter{to{opacity:0;transform:scale(.7)}}@keyframes scaleFromSmallCenter{0%{opacity:0;transform:scale(.7)}}@keyframes rotateRoomLeftOut{to{opacity:.3;transform:translate(-100%) rotateY(90deg)}}@keyframes rotateRoomLeftIn{0%{opacity:.3;transform:translate(100%) rotateY(-90deg)}}@keyframes rotateRoomRightOut{to{opacity:.3;transform:translate(100%) rotateY(-90deg)}}@keyframes rotateRoomRightIn{0%{opacity:.3;transform:translate(-100%) rotateY(90deg)}}@keyframes rotateRoomTopOut{to{opacity:.3;transform:translateY(-100%) rotateX(-90deg)}}@keyframes rotateRoomTopIn{0%{opacity:.3;transform:translateY(100%) rotateX(90deg)}}@keyframes rotateRoomBottomOut{to{opacity:.3;transform:translateY(100%) rotateX(90deg)}}@keyframes rotateRoomBottomIn{0%{opacity:.3;transform:translateY(-100%) rotateX(-90deg)}}@keyframes rotateCubeLeftOut{50%{animation-timing-function:ease-out;transform:translate(-50%) translateZ(-200px) rotateY(-45deg)}to{opacity:.3;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateCubeLeftIn{0%{opacity:.3;transform:translate(100%) rotateY(90deg)}50%{animation-timing-function:ease-out;transform:translate(50%) translateZ(-200px) rotateY(45deg)}}@keyframes rotateCubeRightOut{50%{animation-timing-function:ease-out;transform:translate(50%) translateZ(-200px) rotateY(45deg)}to{opacity:.3;transform:translate(100%) rotateY(90deg)}}@keyframes rotateCubeRightIn{0%{opacity:.3;transform:translate(-100%) rotateY(-90deg)}50%{animation-timing-function:ease-out;transform:translate(-50%) translateZ(-200px) rotateY(-45deg)}}@keyframes rotateCubeTopOut{50%{animation-timing-function:ease-out;transform:translateY(-50%) translateZ(-200px) rotateX(45deg)}to{opacity:.3;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateCubeTopIn{0%{opacity:.3;transform:translateY(100%) rotateX(-90deg)}50%{animation-timing-function:ease-out;transform:translateY(50%) translateZ(-200px) rotateX(-45deg)}}@keyframes rotateCubeBottomOut{50%{animation-timing-function:ease-out;transform:translateY(50%) translateZ(-200px) rotateX(-45deg)}to{opacity:.3;transform:translateY(100%) rotateX(-90deg)}}@keyframes rotateCubeBottomIn{0%{opacity:.3;transform:translateY(-100%) rotateX(90deg)}50%{animation-timing-function:ease-out;transform:translateY(-50%) translateZ(-200px) rotateX(45deg)}}@keyframes rotateCarouselLeftOut{to{opacity:.3;transform:translate(-150%) scale(.4) rotateY(-65deg)}}@keyframes rotateCarouselLeftIn{0%{opacity:.3;transform:translate(200%) scale(.4) rotateY(65deg)}}@keyframes rotateCarouselRightOut{to{opacity:.3;transform:translate(200%) scale(.4) rotateY(65deg)}}@keyframes rotateCarouselRightIn{0%{opacity:.3;transform:translate(-200%) scale(.4) rotateY(-65deg)}}@keyframes rotateCarouselTopOut{to{opacity:.3;transform:translateY(-200%) scale(.4) rotateX(65deg)}}@keyframes rotateCarouselTopIn{0%{opacity:.3;transform:translateY(200%) scale(.4) rotateX(-65deg)}}@keyframes rotateCarouselBottomOut{to{opacity:.3;transform:translateY(200%) scale(.4) rotateX(-65deg)}}@keyframes rotateCarouselBottomIn{0%{opacity:.3;transform:translateY(-200%) scale(.4) rotateX(65deg)}}@keyframes rotateSidesOut{to{opacity:0;transform:translateZ(-500px) rotateY(90deg)}}@keyframes rotateSidesIn{0%{opacity:0;transform:translateZ(-500px) rotateY(-90deg)}}@keyframes rotateSlideOut{25%{opacity:.5;transform:translateZ(-500px)}75%{opacity:.5;transform:translateZ(-500px) translate(-200%)}to{opacity:.5;transform:translateZ(-500px) translate(-200%)}}@keyframes rotateSlideIn{0%,25%{opacity:.5;transform:translateZ(-500px) translate(200%)}75%{opacity:.5;transform:translateZ(-500px)}to{opacity:1;transform:translateZ(0) translate(0)}}@keyframes superRainbow{0%{background:red}20%{background:orange}40%{background:yellow}60%{background:green}80%{background:blue}to{background:violet}}.superRainbow{background-position:0 0;background-size:200% 100%;background-image:linear-gradient(90deg,red,orange,yellow,green,blue,violet)}.superRainbow:hover{background-position:-100% 100%}@keyframes statusProcessing{0%{transform:scale(.8);opacity:.5}to{transform:scale(2.4);opacity:0}}
|
|
88
|
+
Are you always returning a new location within a navigation guard? That would lead to this error. Only return when redirecting or aborting, that should fix this. This might break in production if not fixed.`),Promise.reject(new Error("Infinite redirect in navigation guard"))):$(Ut({replace:Et},g(X.to),{state:typeof X.to=="object"?Ut({},Pt,X.to.state):Pt,force:Ht}),ot||E)}else X=j(E,it,!0,Et,Pt);return ut(E,it,X),X})}function Y(F,ot){const G=m(F,ot);return G?Promise.reject(G):Promise.resolve()}function B(F){const ot=A.values().next().value;return ot&&typeof ot.runWithContext=="function"?ot.runWithContext(F):F()}function M(F,ot){let G;const[it,Pt,Ht]=C_(F,ot);G=Ql(it.reverse(),"beforeRouteLeave",F,ot);for(const S of it)S.leaveGuards.forEach(E=>{G.push(sn(E,F,ot))});const Et=Y.bind(null,F,ot);return G.push(Et),Nt(G).then(()=>{G=[];for(const S of r.list())G.push(sn(S,F,ot));return G.push(Et),Nt(G)}).then(()=>{G=Ql(Pt,"beforeRouteUpdate",F,ot);for(const S of Pt)S.updateGuards.forEach(E=>{G.push(sn(E,F,ot))});return G.push(Et),Nt(G)}).then(()=>{G=[];for(const S of Ht)if(S.beforeEnter)if(Ue(S.beforeEnter))for(const E of S.beforeEnter)G.push(sn(E,F,ot));else G.push(sn(S.beforeEnter,F,ot));return G.push(Et),Nt(G)}).then(()=>(F.matched.forEach(S=>S.enterCallbacks={}),G=Ql(Ht,"beforeRouteEnter",F,ot,B),G.push(Et),Nt(G))).then(()=>{G=[];for(const S of a.list())G.push(sn(S,F,ot));return G.push(Et),Nt(G)}).catch(S=>Bo(S,8)?S:Promise.reject(S))}function ut(F,ot,G){i.list().forEach(it=>B(()=>it(F,ot,G)))}function j(F,ot,G,it,Pt){const Ht=m(F,ot);if(Ht)return Ht;const Et=ot===nn,S=Lo?history.state:{};G&&(it||Et?s.replace(F.fullPath,Ut({scroll:Et&&S&&S.scroll},Pt)):s.push(F.fullPath,Pt)),l.value=F,he(F,ot,G,Et),me()}let tt;function gt(){tt||(tt=s.listen((F,ot,G)=>{if(!se.listening)return;const it=k(F),Pt=w(it);if(Pt){$(Ut(Pt,{replace:!0,force:!0}),it).catch(Hs);return}c=it;const Ht=l.value;Lo&&Pb(xh(Ht.fullPath,G.delta),_a()),M(it,Ht).catch(Et=>Bo(Et,12)?Et:Bo(Et,2)?($(Ut(g(Et.to),{force:!0}),it).then(S=>{Bo(S,20)&&!G.delta&&G.type===Gs.pop&&s.go(-1,!1)}).catch(Hs),Promise.reject()):(G.delta&&s.go(-G.delta,!1),kt(Et,it,Ht))).then(Et=>{Et=Et||j(it,Ht,!1),Et&&(G.delta&&!Bo(Et,8)?s.go(-G.delta,!1):G.type===Gs.pop&&Bo(Et,20)&&s.go(-1,!1)),ut(it,Ht,Et)}).catch(Hs)}))}let Ot=Ws(),$t=Ws(),xt;function kt(F,ot,G){me(F);const it=$t.list();return it.length?it.forEach(Pt=>Pt(F,ot,G)):({}.NODE_ENV!=="production"&&At("uncaught error during route navigation:"),console.error(F)),Promise.reject(F)}function ne(){return xt&&l.value!==nn?Promise.resolve():new Promise((F,ot)=>{Ot.add([F,ot])})}function me(F){return xt||(xt=!F,gt(),Ot.list().forEach(([ot,G])=>F?G(F):ot()),Ot.reset()),F}function he(F,ot,G,it){const{scrollBehavior:Pt}=o;if(!Lo||!Pt)return Promise.resolve();const Ht=!G&&Rb(xh(F.fullPath,0))||(it||!G)&&history.state&&history.state.scroll||null;return kr().then(()=>Pt(F,ot,Ht)).then(Et=>Et&&Ob(Et)).catch(Et=>kt(Et,F,ot))}const Vt=F=>s.go(F);let et;const A=new Set,se={currentRoute:l,listening:!0,addRoute:h,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:x,getRoutes:b,resolve:k,options:o,push:y,replace:_,go:Vt,back:()=>Vt(-1),forward:()=>Vt(1),beforeEach:r.add,beforeResolve:a.add,afterEach:i.add,onError:$t.add,isReady:ne,install(F){const ot=this;F.component("RouterLink",i_),F.component("RouterView",Jl),F.config.globalProperties.$router=ot,Object.defineProperty(F.config.globalProperties,"$route",{enumerable:!0,get:()=>Tt(l)}),Lo&&!et&&l.value===nn&&(et=!0,y(s.location).catch(Pt=>{({}).NODE_ENV!=="production"&&At("Unexpected error when starting the router:",Pt)}));const G={};for(const Pt in nn)Object.defineProperty(G,Pt,{get:()=>l.value[Pt],enumerable:!0});F.provide(ka,ot),F.provide(ql,hu(G)),F.provide(Kl,l);const it=F.unmount;A.add(F),F.unmount=function(){A.delete(F),A.size<1&&(c=nn,tt&&tt(),tt=null,l.value=nn,et=!1,xt=!1),it()},{}.NODE_ENV!=="production"&&Lo&&h_(F,ot,t)}};function Nt(F){return F.reduce((ot,G)=>ot.then(()=>B(G)),Promise.resolve())}return se}function C_(o,t){const e=[],n=[],s=[],r=Math.max(t.matched.length,o.matched.length);for(let a=0;a<r;a++){const i=t.matched[a];i&&(o.matched.find(c=>on(c,i))?n.push(i):e.push(i));const l=o.matched[a];l&&(t.matched.find(c=>on(c,l))||s.push(l))}return[e,n,s]}function Ca(){return io(ka)}function Gh(o){return io(ql)}const T_={class:"page"},E_={class:"page-header"},S_={class:"page-main"},O_={class:"page-main-scroll"},P_={class:"page-footer"},R_={class:"page-global"},I_=V({customOptions:{},inheritAttrs:!0,__name:"LayoutPage",setup(o,{expose:t}){return t({}),(e,n)=>(I(),D("div",T_,[v("div",E_,[mt(e.$slots,"header",{},void 0,!0)]),v("div",S_,[v("div",O_,[mt(e.$slots,"default",{},void 0,!0)])]),v("div",P_,[mt(e.$slots,"footer",{},void 0,!0)]),v("div",R_,[mt(e.$slots,"global",{},void 0,!0)])]))}}),Pw="",st=(o,t)=>{const e=o.__vccOpts||o;for(const[n,s]of t)e[n]=s;return e},to=st(I_,[["__scopeId","data-v-3c77fd20"]]),A_={class:"view-document"},$_=["src"],N_=V({inheritAttrs:!0,customOptions:{LayoutPage:to},__name:"ViewDocument",props:{src:{default:""},title:{default:""}},setup(o){const t=o,e=Gh();Xd(typeof e.params.title=="string"?e.params.title:t.title);const n=decodeURIComponent(typeof e.params.src=="string"?e.params.src:t.src);return(s,r)=>(I(),dt(to,null,{default:W(()=>[v("div",A_,[v("img",{class:"img",src:Tt(n)},null,8,$_)])]),_:1}))}}),Rw="",ec=st(N_,[["__scopeId","data-v-786ac2a3"]]),jh=/^[a-z0-9]+(-[a-z0-9]+)*$/,Ta=(o,t,e,n="")=>{const s=o.split(":");if(o.slice(0,1)==="@"){if(s.length<2||s.length>3)return null;n=s.shift().slice(1)}if(s.length>3||!s.length)return null;if(s.length>1){const i=s.pop(),l=s.pop(),c={provider:s.length>0?s[0]:n,prefix:l,name:i};return t&&!Ea(c)?null:c}const r=s[0],a=r.split("-");if(a.length>1){const i={provider:n,prefix:a.shift(),name:a.join("-")};return t&&!Ea(i)?null:i}if(e&&n===""){const i={provider:n,prefix:"",name:r};return t&&!Ea(i,e)?null:i}return null},Ea=(o,t)=>o?!!((t&&o.prefix===""||o.prefix)&&o.name):!1,Wh=Object.freeze({left:0,top:0,width:16,height:16}),Sa=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Oa=Object.freeze({...Wh,...Sa}),oc=Object.freeze({...Oa,body:"",hidden:!1});function F_(o,t){const e={};!o.hFlip!=!t.hFlip&&(e.hFlip=!0),!o.vFlip!=!t.vFlip&&(e.vFlip=!0);const n=((o.rotate||0)+(t.rotate||0))%4;return n&&(e.rotate=n),e}function qh(o,t){const e=F_(o,t);for(const n in oc)n in Sa?n in o&&!(n in e)&&(e[n]=Sa[n]):n in t?e[n]=t[n]:n in o&&(e[n]=o[n]);return e}function z_(o,t){const e=o.icons,n=o.aliases||Object.create(null),s=Object.create(null);function r(a){if(e[a])return s[a]=[];if(!(a in s)){s[a]=null;const i=n[a]&&n[a].parent,l=i&&r(i);l&&(s[a]=[i].concat(l))}return s[a]}return Object.keys(e).concat(Object.keys(n)).forEach(r),s}function D_(o,t,e){const n=o.icons,s=o.aliases||Object.create(null);let r={};function a(i){r=qh(n[i]||s[i],r)}return a(t),e.forEach(a),qh(o,r)}function Kh(o,t){const e=[];if(typeof o!="object"||typeof o.icons!="object")return e;o.not_found instanceof Array&&o.not_found.forEach(s=>{t(s,null),e.push(s)});const n=z_(o);for(const s in n){const r=n[s];r&&(t(s,D_(o,s,r)),e.push(s))}return e}const M_={provider:"",aliases:{},not_found:{},...Wh};function nc(o,t){for(const e in t)if(e in o&&typeof o[e]!=typeof t[e])return!1;return!0}function Qh(o){if(typeof o!="object"||o===null)return null;const t=o;if(typeof t.prefix!="string"||!o.icons||typeof o.icons!="object"||!nc(o,M_))return null;const e=t.icons;for(const s in e){const r=e[s];if(!s||typeof r.body!="string"||!nc(r,oc))return null}const n=t.aliases||Object.create(null);for(const s in n){const r=n[s],a=r.parent;if(!s||typeof a!="string"||!e[a]&&!n[a]||!nc(r,oc))return null}return t}const Jh=Object.create(null);function L_(o,t){return{provider:o,prefix:t,icons:Object.create(null),missing:new Set}}function ts(o,t){const e=Jh[o]||(Jh[o]=Object.create(null));return e[t]||(e[t]=L_(o,t))}function tp(o,t){return Qh(t)?Kh(t,(e,n)=>{n?o.icons[e]=n:o.missing.add(e)}):[]}function B_(o,t,e){try{if(typeof e.body=="string")return o.icons[t]={...e},!0}catch{}return!1}let Ks=!1;function ep(o){return typeof o=="boolean"&&(Ks=o),Ks}function Y_(o){const t=typeof o=="string"?Ta(o,!0,Ks):o;if(t){const e=ts(t.provider,t.prefix),n=t.name;return e.icons[n]||(e.missing.has(n)?null:void 0)}}function V_(o,t){const e=Ta(o,!0,Ks);if(!e)return!1;const n=ts(e.provider,e.prefix);return t?B_(n,e.name,t):(n.missing.add(e.name),!0)}function X_(o,t){if(typeof o!="object")return!1;if(typeof t!="string"&&(t=o.provider||""),Ks&&!t&&!o.prefix){let s=!1;return Qh(o)&&(o.prefix="",Kh(o,(r,a)=>{V_(r,a)&&(s=!0)})),s}const e=o.prefix;if(!Ea({provider:t,prefix:e,name:"a"}))return!1;const n=ts(t,e);return!!tp(n,o)}const op=Object.freeze({width:null,height:null}),np=Object.freeze({...op,...Sa}),Z_=/(-?[0-9.]*[0-9]+[0-9.]*)/g,U_=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function sp(o,t,e){if(t===1)return o;if(e=e||100,typeof o=="number")return Math.ceil(o*t*e)/e;if(typeof o!="string")return o;const n=o.split(Z_);if(n===null||!n.length)return o;const s=[];let r=n.shift(),a=U_.test(r);for(;;){if(a){const i=parseFloat(r);isNaN(i)?s.push(r):s.push(Math.ceil(i*t*e)/e)}else s.push(r);if(r=n.shift(),r===void 0)return s.join("");a=!a}}function H_(o,t="defs"){let e="";const n=o.indexOf("<"+t);for(;n>=0;){const s=o.indexOf(">",n),r=o.indexOf("</"+t);if(s===-1||r===-1)break;const a=o.indexOf(">",r);if(a===-1)break;e+=o.slice(s+1,r).trim(),o=o.slice(0,n).trim()+o.slice(a+1)}return{defs:e,content:o}}function G_(o,t){return o?"<defs>"+o+"</defs>"+t:t}function j_(o,t,e){const n=H_(o);return G_(n.defs,t+n.content+e)}const W_=o=>o==="unset"||o==="undefined"||o==="none";function q_(o,t){const e={...Oa,...o},n={...np,...t},s={left:e.left,top:e.top,width:e.width,height:e.height};let r=e.body;[e,n].forEach(b=>{const x=[],k=b.hFlip,g=b.vFlip;let m=b.rotate;k?g?m+=2:(x.push("translate("+(s.width+s.left).toString()+" "+(0-s.top).toString()+")"),x.push("scale(-1 1)"),s.top=s.left=0):g&&(x.push("translate("+(0-s.left).toString()+" "+(s.height+s.top).toString()+")"),x.push("scale(1 -1)"),s.top=s.left=0);let y;switch(m<0&&(m-=Math.floor(m/4)*4),m=m%4,m){case 1:y=s.height/2+s.top,x.unshift("rotate(90 "+y.toString()+" "+y.toString()+")");break;case 2:x.unshift("rotate(180 "+(s.width/2+s.left).toString()+" "+(s.height/2+s.top).toString()+")");break;case 3:y=s.width/2+s.left,x.unshift("rotate(-90 "+y.toString()+" "+y.toString()+")");break}m%2===1&&(s.left!==s.top&&(y=s.left,s.left=s.top,s.top=y),s.width!==s.height&&(y=s.width,s.width=s.height,s.height=y)),x.length&&(r=j_(r,'<g transform="'+x.join(" ")+'">',"</g>"))});const a=n.width,i=n.height,l=s.width,c=s.height;let u,f;a===null?(f=i===null?"1em":i==="auto"?c:i,u=sp(f,l/c)):(u=a==="auto"?l:a,f=i===null?sp(u,c/l):i==="auto"?c:i);const d={},h=(b,x)=>{W_(x)||(d[b]=x.toString())};h("width",u),h("height",f);const p=[s.left,s.top,l,c];return d.viewBox=p.join(" "),{attributes:d,viewBox:p,body:r}}const K_=/\sid="(\S+)"/g,Q_="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let J_=0;function tx(o,t=Q_){const e=[];let n;for(;n=K_.exec(o);)e.push(n[1]);if(!e.length)return o;const s="suffix"+(Math.random()*16777216|Date.now()).toString(16);return e.forEach(r=>{const a=typeof t=="function"?t(r):t+(J_++).toString(),i=r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");o=o.replace(new RegExp('([#;"])('+i+')([")]|\\.[a-z])',"g"),"$1"+a+s+"$3")}),o=o.replace(new RegExp(s,"g"),""),o}const sc=Object.create(null);function ex(o,t){sc[o]=t}function rc(o){return sc[o]||sc[""]}function ac(o){let t;if(typeof o.resources=="string")t=[o.resources];else if(t=o.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:o.path||"/",maxURL:o.maxURL||500,rotate:o.rotate||750,timeout:o.timeout||5e3,random:o.random===!0,index:o.index||0,dataAfterTimeout:o.dataAfterTimeout!==!1}}const ic=Object.create(null),Qs=["https://api.simplesvg.com","https://api.unisvg.com"],Pa=[];for(;Qs.length>0;)Qs.length===1||Math.random()>.5?Pa.push(Qs.shift()):Pa.push(Qs.pop());ic[""]=ac({resources:["https://api.iconify.design"].concat(Pa)});function ox(o,t){const e=ac(t);return e===null?!1:(ic[o]=e,!0)}function lc(o){return ic[o]}let rp=(()=>{let o;try{if(o=fetch,typeof o=="function")return o}catch{}})();function nx(o,t){const e=lc(o);if(!e)return 0;let n;if(!e.maxURL)n=0;else{let s=0;e.resources.forEach(a=>{s=Math.max(s,a.length)});const r=t+".json?icons=";n=e.maxURL-s-e.path.length-r.length}return n}function sx(o){return o===404}const rx=(o,t,e)=>{const n=[],s=nx(o,t),r="icons";let a={type:r,provider:o,prefix:t,icons:[]},i=0;return e.forEach((l,c)=>{i+=l.length+1,i>=s&&c>0&&(n.push(a),a={type:r,provider:o,prefix:t,icons:[]},i=l.length),a.icons.push(l)}),n.push(a),n};function ax(o){if(typeof o=="string"){const t=lc(o);if(t)return t.path}return"/"}const ix={prepare:rx,send:(o,t,e)=>{if(!rp){e("abort",424);return}let n=ax(t.provider);switch(t.type){case"icons":{const r=t.prefix,i=t.icons.join(","),l=new URLSearchParams({icons:i});n+=r+".json?"+l.toString();break}case"custom":{const r=t.uri;n+=r.slice(0,1)==="/"?r.slice(1):r;break}default:e("abort",400);return}let s=503;rp(o+n).then(r=>{const a=r.status;if(a!==200){setTimeout(()=>{e(sx(a)?"abort":"next",a)});return}return s=501,r.json()}).then(r=>{if(typeof r!="object"||r===null){setTimeout(()=>{r===404?e("abort",r):e("next",s)});return}setTimeout(()=>{e("success",r)})}).catch(()=>{e("next",s)})}};function lx(o){const t={loaded:[],missing:[],pending:[]},e=Object.create(null);o.sort((s,r)=>s.provider!==r.provider?s.provider.localeCompare(r.provider):s.prefix!==r.prefix?s.prefix.localeCompare(r.prefix):s.name.localeCompare(r.name));let n={provider:"",prefix:"",name:""};return o.forEach(s=>{if(n.name===s.name&&n.prefix===s.prefix&&n.provider===s.provider)return;n=s;const r=s.provider,a=s.prefix,i=s.name,l=e[r]||(e[r]=Object.create(null)),c=l[a]||(l[a]=ts(r,a));let u;i in c.icons?u=t.loaded:a===""||c.missing.has(i)?u=t.missing:u=t.pending;const f={provider:r,prefix:a,name:i};u.push(f)}),t}function ap(o,t){o.forEach(e=>{const n=e.loaderCallbacks;n&&(e.loaderCallbacks=n.filter(s=>s.id!==t))})}function cx(o){o.pendingCallbacksFlag||(o.pendingCallbacksFlag=!0,setTimeout(()=>{o.pendingCallbacksFlag=!1;const t=o.loaderCallbacks?o.loaderCallbacks.slice(0):[];if(!t.length)return;let e=!1;const n=o.provider,s=o.prefix;t.forEach(r=>{const a=r.icons,i=a.pending.length;a.pending=a.pending.filter(l=>{if(l.prefix!==s)return!0;const c=l.name;if(o.icons[c])a.loaded.push({provider:n,prefix:s,name:c});else if(o.missing.has(c))a.missing.push({provider:n,prefix:s,name:c});else return e=!0,!0;return!1}),a.pending.length!==i&&(e||ap([o],r.id),r.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),r.abort))})}))}let ux=0;function fx(o,t,e){const n=ux++,s=ap.bind(null,e,n);if(!t.pending.length)return s;const r={id:n,icons:t,callback:o,abort:s};return e.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(r)}),s}function dx(o,t=!0,e=!1){const n=[];return o.forEach(s=>{const r=typeof s=="string"?Ta(s,t,e):s;r&&n.push(r)}),n}var hx={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function px(o,t,e,n){const s=o.resources.length,r=o.random?Math.floor(Math.random()*s):o.index;let a;if(o.random){let w=o.resources.slice(0);for(a=[];w.length>1;){const $=Math.floor(Math.random()*w.length);a.push(w[$]),w=w.slice(0,$).concat(w.slice($+1))}a=a.concat(w)}else a=o.resources.slice(r).concat(o.resources.slice(0,r));const i=Date.now();let l="pending",c=0,u,f=null,d=[],h=[];typeof n=="function"&&h.push(n);function p(){f&&(clearTimeout(f),f=null)}function b(){l==="pending"&&(l="aborted"),p(),d.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),d=[]}function x(w,$){$&&(h=[]),typeof w=="function"&&h.push(w)}function k(){return{startTime:i,payload:t,status:l,queriesSent:c,queriesPending:d.length,subscribe:x,abort:b}}function g(){l="failed",h.forEach(w=>{w(void 0,u)})}function m(){d.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),d=[]}function y(w,$,Y){const B=$!=="success";switch(d=d.filter(M=>M!==w),l){case"pending":break;case"failed":if(B||!o.dataAfterTimeout)return;break;default:return}if($==="abort"){u=Y,g();return}if(B){u=Y,d.length||(a.length?_():g());return}if(p(),m(),!o.random){const M=o.resources.indexOf(w.resource);M!==-1&&M!==o.index&&(o.index=M)}l="completed",h.forEach(M=>{M(Y)})}function _(){if(l!=="pending")return;p();const w=a.shift();if(w===void 0){if(d.length){f=setTimeout(()=>{p(),l==="pending"&&(m(),g())},o.timeout);return}g();return}const $={status:"pending",resource:w,callback:(Y,B)=>{y($,Y,B)}};d.push($),c++,f=setTimeout(_,o.rotate),e(w,t,$.callback)}return setTimeout(_),k}function ip(o){const t={...hx,...o};let e=[];function n(){e=e.filter(i=>i().status==="pending")}function s(i,l,c){const u=px(t,i,l,(f,d)=>{n(),c&&c(f,d)});return e.push(u),u}function r(i){return e.find(l=>i(l))||null}return{query:s,find:r,setIndex:i=>{t.index=i},getIndex:()=>t.index,cleanup:n}}function lp(){}const cc=Object.create(null);function mx(o){if(!cc[o]){const t=lc(o);if(!t)return;const e=ip(t),n={config:t,redundancy:e};cc[o]=n}return cc[o]}function gx(o,t,e){let n,s;if(typeof o=="string"){const r=rc(o);if(!r)return e(void 0,424),lp;s=r.send;const a=mx(o);a&&(n=a.redundancy)}else{const r=ac(o);if(r){n=ip(r);const a=o.resources?o.resources[0]:"",i=rc(a);i&&(s=i.send)}}return!n||!s?(e(void 0,424),lp):n.query(t,s,e)().abort}function cp(){}function yx(o){o.iconsLoaderFlag||(o.iconsLoaderFlag=!0,setTimeout(()=>{o.iconsLoaderFlag=!1,cx(o)}))}function vx(o){const t=[],e=[];return o.forEach(n=>{(n.match(jh)?t:e).push(n)}),{valid:t,invalid:e}}function Js(o,t,e){function n(){const s=o.pendingIcons;t.forEach(r=>{s&&s.delete(r),o.icons[r]||o.missing.add(r)})}if(e&&typeof e=="object")try{if(!tp(o,e).length){n();return}}catch(s){console.error(s)}n(),yx(o)}function up(o,t){o instanceof Promise?o.then(e=>{t(e)}).catch(()=>{t(null)}):t(o)}function bx(o,t){o.iconsToLoad?o.iconsToLoad=o.iconsToLoad.concat(t).sort():o.iconsToLoad=t,o.iconsQueueFlag||(o.iconsQueueFlag=!0,setTimeout(()=>{o.iconsQueueFlag=!1;const{provider:e,prefix:n}=o,s=o.iconsToLoad;if(delete o.iconsToLoad,!s||!s.length)return;const r=o.loadIcon;if(o.loadIcons&&(s.length>1||!r)){up(o.loadIcons(s,n,e),u=>{Js(o,s,u)});return}if(r){s.forEach(u=>{const f=r(u,n,e);up(f,d=>{const h=d?{prefix:n,icons:{[u]:d}}:null;Js(o,[u],h)})});return}const{valid:a,invalid:i}=vx(s);if(i.length&&Js(o,i,null),!a.length)return;const l=n.match(jh)?rc(e):null;if(!l){Js(o,a,null);return}l.prepare(e,n,a).forEach(u=>{gx(e,u,f=>{Js(o,u.icons,f)})})}))}const _x=(o,t)=>{const e=dx(o,!0,ep()),n=lx(e);if(!n.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(n.loaded,n.missing,n.pending,cp)}),()=>{l=!1}}const s=Object.create(null),r=[];let a,i;return n.pending.forEach(l=>{const{provider:c,prefix:u}=l;if(u===i&&c===a)return;a=c,i=u,r.push(ts(c,u));const f=s[c]||(s[c]=Object.create(null));f[u]||(f[u]=[])}),n.pending.forEach(l=>{const{provider:c,prefix:u,name:f}=l,d=ts(c,u),h=d.pendingIcons||(d.pendingIcons=new Set);h.has(f)||(h.add(f),s[c][u].push(f))}),r.forEach(l=>{const c=s[l.provider][l.prefix];c.length&&bx(l,c)}),t?fx(t,n,r):cp};function xx(o,t){const e={...o};for(const n in t){const s=t[n],r=typeof s;n in op?(s===null||s&&(r==="string"||r==="number"))&&(e[n]=s):r===typeof e[n]&&(e[n]=n==="rotate"?s%4:s)}return e}const kx=/[\s,]+/;function wx(o,t){t.split(kx).forEach(e=>{switch(e.trim()){case"horizontal":o.hFlip=!0;break;case"vertical":o.vFlip=!0;break}})}function Cx(o,t=0){const e=o.replace(/^-?[0-9.]*/,"");function n(s){for(;s<0;)s+=4;return s%4}if(e===""){const s=parseInt(o);return isNaN(s)?0:n(s)}else if(e!==o){let s=0;switch(e){case"%":s=25;break;case"deg":s=90}if(s){let r=parseFloat(o.slice(0,o.length-e.length));return isNaN(r)?0:(r=r/s,r%1===0?n(r):0)}}return t}function Tx(o,t){let e=o.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const n in t)e+=" "+n+'="'+t[n]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+e+">"+o+"</svg>"}function Ex(o){return o.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Sx(o){return"data:image/svg+xml,"+Ex(o)}function Ox(o){return'url("'+Sx(o)+'")'}const fp={...np,inline:!1},Px={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Rx={display:"inline-block"},uc={backgroundColor:"currentColor"},dp={backgroundColor:"transparent"},hp={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},pp={webkitMask:uc,mask:uc,background:dp};for(const o in pp){const t=pp[o];for(const e in hp)t[o+e]=hp[e]}const Ra={};["horizontal","vertical"].forEach(o=>{const t=o.slice(0,1)+"Flip";Ra[o+"-flip"]=t,Ra[o.slice(0,1)+"-flip"]=t,Ra[o+"Flip"]=t});function mp(o){return o+(o.match(/^[-0-9.]+$/)?"px":"")}const gp=(o,t)=>{const e=xx(fp,t),n={...Px},s=t.mode||"svg",r={},a=t.style,i=typeof a=="object"&&!(a instanceof Array)?a:{};for(let b in t){const x=t[b];if(x!==void 0)switch(b){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":e[b]=x===!0||x==="true"||x===1;break;case"flip":typeof x=="string"&&wx(e,x);break;case"color":r.color=x;break;case"rotate":typeof x=="string"?e[b]=Cx(x):typeof x=="number"&&(e[b]=x);break;case"ariaHidden":case"aria-hidden":x!==!0&&x!=="true"&&delete n["aria-hidden"];break;default:{const k=Ra[b];k?(x===!0||x==="true"||x===1)&&(e[k]=!0):fp[b]===void 0&&(n[b]=x)}}}const l=q_(o,e),c=l.attributes;if(e.inline&&(r.verticalAlign="-0.125em"),s==="svg"){n.style={...r,...i},Object.assign(n,c);let b=0,x=t.id;return typeof x=="string"&&(x=x.replace(/-/g,"_")),n.innerHTML=tx(l.body,x?()=>x+"ID"+b++:"iconifyVue"),Xt("svg",n)}const{body:u,width:f,height:d}=o,h=s==="mask"||(s==="bg"?!1:u.indexOf("currentColor")!==-1),p=Tx(u,{...c,width:f+"",height:d+""});return n.style={...r,"--svg":Ox(p),width:mp(c.width),height:mp(c.height),...Rx,...h?uc:dp,...i},Xt("span",n)};if(ep(!0),ex("",ix),typeof document<"u"&&typeof window<"u"){const o=window;if(o.IconifyPreload!==void 0){const t=o.IconifyPreload,e="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(n=>{try{(typeof n!="object"||n===null||n instanceof Array||typeof n.icons!="object"||typeof n.prefix!="string"||!X_(n))&&console.error(e)}catch{console.error(e)}})}if(o.IconifyProviders!==void 0){const t=o.IconifyProviders;if(typeof t=="object"&&t!==null)for(let e in t){const n="IconifyProviders["+e+"] is invalid.";try{const s=t[e];if(typeof s!="object"||!s||s.resources===void 0)continue;ox(e,s)||console.error(n)}catch{console.error(n)}}}}const Ix={...Oa,body:""},yp=V({inheritAttrs:!1,data(){return{_name:"",_loadingIcon:null,iconMounted:!1,counter:0}},mounted(){this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(o,t,e){if(typeof o=="object"&&o!==null&&typeof o.body=="string")return this._name="",this.abortLoading(),{data:o};let n;if(typeof o!="string"||(n=Ta(o,!1,!0))===null)return this.abortLoading(),null;let s=Y_(n);if(!s)return(!this._loadingIcon||this._loadingIcon.name!==o)&&(this.abortLoading(),this._name="",s!==null&&(this._loadingIcon={name:o,abort:_x([n],()=>{this.counter++})})),null;if(this.abortLoading(),this._name!==o&&(this._name=o,t&&t(o)),e){s=Object.assign({},s);const a=e(s.body,n.name,n.prefix,n.provider);typeof a=="string"&&(s.body=a)}const r=["iconify"];return n.prefix!==""&&r.push("iconify--"+n.prefix),n.provider!==""&&r.push("iconify--"+n.provider),{data:s,classes:r}}},render(){this.counter;const o=this.$attrs,t=this.iconMounted||o.ssr?this.getIcon(o.icon,o.onLoad,o.customise):null;if(!t)return gp(Ix,o);let e=o;return t.classes&&(e={...o,class:(typeof o.class=="string"?o.class+" ":"")+t.classes.join(" ")}),gp({...Oa,...t.data},e)}}),es=V({__name:"Icon",props:{icon:{default:"mdi-light:home"},color:{default:Zt("--xg-blue")}},setup(o){const t=o;return(e,n)=>(I(),D("span",{class:"icon",style:N(["color: "+e.color,"display: inline-flex","justify-content: center","align-items: center","cursor: pointer","font-size: 1em"])},[Z(Tt(yp),{icon:t.icon,color:e.color},null,8,["icon","color"])],4))}}),Ax={class:"loading-11",ref:"loading11"},$x={class:"container container-1"},Nx={class:"container container-2"},Fx={class:"container container-3"},zx=V({__name:"Loading11",props:{color:{default:Zt("--xg-blue")},width:{default:"0.8em"}},setup(o){const t=o;return(e,n)=>(I(),D("div",Ax,[v("div",{class:"loading-11-inner",style:N({width:t.width,height:t.width})},[v("div",$x,[v("div",{class:"dot dot-1",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-2",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-3",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-4",style:N({backgroundColor:t.color})},null,4)]),v("div",Nx,[v("div",{class:"dot dot-1",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-2",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-3",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-4",style:N({backgroundColor:t.color})},null,4)]),v("div",Fx,[v("div",{class:"dot dot-1",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-2",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-3",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-4",style:N({backgroundColor:t.color})},null,4)])],4)],512))}}),$w="",Ia=st(zx,[["__scopeId","data-v-b6f6b2a6"]]),Dx={key:0,class:"loading",style:{"margin-right":"6px"}},fc=.03,dc=.06,ae=V({customOptions:{Loading11:Ia},inheritAttrs:!0,__name:"Button",props:{label:{},icon:{},iconPosition:{default:"left"},disabled:{type:Boolean,default:!1},width:{default:"auto"},height:{default:"44px"},padding:{default:"20px"},fontSize:{default:"16px"},fontWeight:{default:"normal"},borderRadius:{default:"4px"},stylePattern:{default:"fullfill"},fontColor:{},borderColor:{},bgColor:{},bgColorStart:{},bgColorEnd:{},asyncClick:{}},emits:["yz-click","click"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P(),a=Zt("--xg-blue","#5a82f0"),i=P(n.fontColor),l=P(n.borderColor),c=P(n.bgColor),u=P(i.value),f=P(l.value),d=P(c.value),h=P(n.bgColorStart||""),p=P(n.bgColorEnd||""),b=n.bgColorStart&&n.bgColorEnd;function x(B){switch(B){case"transparent":l.value=n.borderColor||"rgba(255,255,255,0)",c.value=n.bgColor||"rgba(255,255,255,0)",i.value=n.fontColor||a;break;case"outline":l.value=n.borderColor||a,c.value=n.bgColor||"rgba(255,255,255,0)",i.value=n.fontColor||a;break;case"fullfill":default:l.value=n.borderColor||"rgba(255,255,255,0)",c.value=n.bgColor||a,i.value=n.fontColor||Mt.set(c.value).opposite(!0).toString();break}u.value=i.value,f.value=l.value,d.value=c.value,b&&(h.value=n.bgColorStart,p.value=n.bgColorEnd,c.value=`linear-gradient(180deg, ${h.value} 0%, ${p.value} 100%)`)}Rt(()=>n.stylePattern,()=>{x(n.stylePattern)},{immediate:!0});const k=P(n.disabled?"0.6":"1"),g=P(n.disabled?"not-allowed":"pointer");let m=!1;const y=()=>{n.disabled||(m=!0,n.stylePattern=="transparent"&&(i.value=Mt.set(u.value).darken(fc).toString()),l.value=Mt.set(f.value).darken(fc).toString(),b?c.value=`linear-gradient(180deg, ${p.value} 0%, ${h.value} 100%)`:c.value=Mt.set(d.value).darken(fc).toString())},_=()=>{n.disabled||(m=!1,i.value=u.value,l.value=f.value,b?c.value=`linear-gradient(180deg, ${h.value} 0%, ${p.value} 100%)`:c.value=d.value)},w=P(!1),Y=ml(()=>{n.disabled||w.value||(n.stylePattern=="transparent"&&(i.value=Mt.set(u.value).darken(dc).toString()),l.value=Mt.set(f.value).darken(dc).toString(),b?c.value=`linear-gradient(180deg, ${h.value} 0%, ${p.value} 100%)`:c.value=Mt.set(d.value).darken(dc).toString(),setTimeout(()=>{m?y():_()},150),s("yz-click"),s("click"),n.asyncClick&&(w.value=!0,n.asyncClick().then(()=>{w.value=!1}).catch(()=>{w.value=!1})))},300);return t({el:r}),(B,M)=>(I(),D("div",{ref_key:"el",ref:r,class:"button",style:N([`opacity: ${k.value}`,`border: 1px solid ${l.value}`,`background: ${c.value}`,`color: ${i.value}`,`border-radius: ${n.borderRadius}`,`width: ${n.width}`,`height: ${n.height}`,`line-height: ${n.height}`,`font-size: ${n.fontSize}`,`cursor: ${g.value}`,"user-select: none","box-sizing: border-box","display: inline-flex","justify-content: center","align-items: center","z-index: 0"]),onMouseover:y,onMouseleave:_,onClick:M[0]||(M[0]=(...ut)=>Tt(Y)&&Tt(Y)(...ut))},[v("label",{class:"label truncate",style:N({padding:"0 "+B.padding,cursor:g.value,display:"inline-flex",justifyContent:"center",alignItems:"center",fontWeight:n.fontWeight||"normal"})},[w.value?(I(),D("div",Dx,[Z(Ia,{color:i.value},null,8,["color"])])):yt("",!0),mt(B.$slots,"default",{},()=>[B.icon&&B.iconPosition==="left"?(I(),dt(es,{key:0,icon:B.icon,color:i.value,style:N({marginRight:"4px",cursor:g.value})},null,8,["icon","color","style"])):yt("",!0),v("span",{style:N({cursor:g.value})},ft(B.label),5),B.icon&&B.iconPosition==="right"?(I(),dt(es,{key:1,icon:B.icon,color:i.value,style:N({marginLeft:"4px",cursor:g.value})},null,8,["icon","color","style"])):yt("",!0)])],4)],36))}}),Mx={class:"xg-footer-inner"},Lx=V({customOptions:{Button:ae},inheritAttrs:!0,__name:"Footer",setup(o){const t=Ca();function e(){t.push("/park")}const n=P("0px");let s;return pe(()=>{s=pa.onBottom(r=>{n.value=r})}),ue(()=>{s?.()}),(r,a)=>(I(),D("div",{class:"xg-footer",style:N({paddingBottom:n.value})},[v("div",Mx,[Z(ae,{label:"去支付",width:"100%",onClick:e})])],4))}}),Nw="",Aa=st(Lx,[["__scopeId","data-v-47056f4a"]]),Bx={class:"text"},Yx=V({customOptions:{},inheritAttrs:!0,__name:"PlateDisplay",props:{plate:{},plateType:{},displayType:{default:"chinese"}},setup(o,{expose:t,emit:e}){const n=o,s=[{name:"蓝牌",style:{"background-color":"#0078f0",color:"#ffffff"}},{name:"绿牌",style:{"background-color":"#00f08c",color:"#000000"}},{name:"黄牌",style:{"background-color":"#fac800",color:"#000000"}},{name:"黄绿",style:{background:"linear-gradient(90deg, #fac800 51.5%, #00f08c 51.51%)",color:"#000000"}},{name:"黑牌",style:{"background-color":"#222222",color:"#ffffff"}},{name:"白牌",style:{"background-color":"#ffffff",color:"#000000",border:"1px solid #999999"}},{name:"未知",style:{"background-color":"#cccccc",color:"#ffffff"}}];function r(c){switch(c){case"b":case"蓝牌":c="蓝牌";break;case"g":case"绿牌":c="绿牌";break;case"y":case"黄牌":c="黄牌";break;case"q":case"黄绿":c="黄绿";break;case"d":case"黑牌":c="黑牌";break;case"w":case"白牌":c="白牌";break;default:c="未知";break}const u=s.filter(f=>f.name===c);return u.length?u[0]:r("未知")}const a=P(r(n.plateType||"")),i=P(),l=P(14);return pe(()=>{l.value=va(i.value).getEmSize()}),t({}),(c,u)=>(I(),D("div",{class:"plate-display",ref_key:"el",ref:i},[c.displayType=="dot"&&c.plate!=="无牌车"?(I(),D("div",{key:0,class:jt(["leading",c.displayType]),style:N({...a.value.style,width:l.value+"px",height:l.value+"px",marginRight:.36*l.value+"px"})},ft(a.value.name),7)):yt("",!0),c.displayType=="chinese"&&c.plate!=="无牌车"?(I(),D("div",{key:1,class:jt(["leading",c.displayType]),style:N(a.value.style)},ft(a.value.name),7)):yt("",!0),c.displayType=="plaintext"&&c.plate!=="无牌车"?(I(),D("div",{key:2,class:jt(["leading",c.displayType])},ft(a.value.name),3)):yt("",!0),v("div",Bx,ft(c.plate),1)],512))}}),Fw="",$a=st(Yx,[["__scopeId","data-v-6395bb5a"]]),ht=V({customOptions:{},inheritAttrs:!0,__name:"Container",props:{type:{default:"block"},effectTriggerTiming:{default:"manual"},supportCopyText:{type:Boolean,default:!1}},emits:["ready","update","clipboard_success","clipboard_error","start","end"],setup(o,{expose:t,emit:e}){const n=o,s=e;let r="start";const a=()=>{r="start",s("start")},i=()=>{r="end",s("end")},l=()=>{r=="start"?i():a()},c=P();let u,f,d=!1;return Mn(()=>{c.value&&(u||(u=ca(c.value),u.eb.on("resize",()=>{d&&s("update",u)}),u.eb.on("mouseEnter",()=>{n.effectTriggerTiming=="mouseMove"&&l()}),u.eb.on("mouseLeave",()=>{n.effectTriggerTiming=="mouseMove"&&l()}),u.eb.on("tap",()=>{if(n.effectTriggerTiming=="click"&&l(),n.supportCopyText){const h=va(c.value).getInnerText();Bl(h).then(()=>{s("clipboard_success",h)}).catch(p=>{s("clipboard_error",p.toString())})}}),n.effectTriggerTiming!=="manual"&&a(),n.effectTriggerTiming=="immediate"&&l(),u.start().then(()=>{f?.(u),s("ready",u),d=!0})))}),pe(()=>{}),ue(()=>{u?.end()}),t({getController:()=>new Promise(h=>{if(u)return h(u);f=h}),getElement:()=>c.value,getRect:()=>c.value.getBoundingClientRect()}),(h,p)=>(I(),D("div",Wi({ref_key:"r",ref:c,class:"container",style:{position:"relative",boxSizing:"border-box",display:n.type=="shrink"?"inline-block":"block",width:n.type=="full"?"100%":"auto",height:n.type=="full"?"100%":"auto"}},h.$attrs),[mt(h.$slots,"default")],16))}}),os=V({customOptions:{Container:ht},inheritAttrs:!0,__name:"CSSAnimation",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!1},effectTriggerTiming:{default:"mouseMove"},name:{default:"jelly"},timingFunction:{},duration:{},delay:{},repeat:{},direction:{},fillMode:{default:"both"},playState:{default:"running"},perspective:{default:"1200px"}},emits:["cssanimationstart","cssanimationend"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=Wt({}),a=Wt({});let i=n.name,l=n.duration,c=n.timingFunction,u=n.delay,f=n.repeat,d=n.direction;function h(w){switch(i=w,i){case"superRainbow":l=n.duration||15e3;break;case"heartBeat":l=n.duration||1300;break;case"statusProcessing":l=n.duration||1200;break;case"rotateFall":case"rotateSlideOut":case"rotateSlideIn":l=n.duration||1e3;break;case"rotateRightSideFirst":case"rotateLeftSideFirst":case"rotateTopSideFirst":case"rotateBottomSideFirst":case"rotatePushLeft":case"rotatePushRight":case"rotatePushTop":case"rotatePushBottom":case"rotateRoomLeftOut":case"rotateRoomLeftIn":case"rotateRoomRightOut":case"rotateRoomRightIn":case"rotateRoomTopOut":case"rotateRoomTopIn":case"rotateRoomBottomOut":case"rotateRoomBottomIn":case"rotateCarouselLeftOut":case"rotateCarouselLeftIn":case"rotateCarouselRightOut":case"rotateCarouselRightIn":case"rotateCarouselTopOut":case"rotateCarouselTopIn":case"rotateCarouselBottomOut":case"rotateCarouselBottomIn":l=n.duration||800;break;case"bounceIn":case"bounceOut":case"flipOutX":case"hinge":l=n.duration||750;break;case"rotateFoldRight":case"rotateFoldLeft":case"rotateFoldTop":case"rotateFoldBottom":case"rotateUnfoldLeft":case"rotateUnfoldRight":case"rotateUnfoldTop":case"rotateUnfoldBottom":case"fade":case"moveFromLeftFade":case"moveToLeftFade":case"moveFromRightFade":case"moveToRightFade":case"moveFromTopFade":case"moveToTopFade":case"moveFromBottomFade":case"moveToBottomFade":l=n.duration||700;break;case"moveFromLeft":case"moveToLeft":case"moveFromRight":case"moveToRight":case"moveFromTop":case"moveToTop":case"moveFromBottom":case"moveToBottom":case"rotateCubeLeftOut":case"rotateCubeLeftIn":case"rotateCubeRightOut":case"rotateCubeRightIn":case"rotateCubeTopOut":case"rotateCubeTopIn":case"rotateCubeBottomOut":case"rotateCubeBottomIn":l=n.duration||600;break;default:l=n.duration||500;break}switch(i){case"superRainbow":c=n.timingFunction||"linear";break;case"lightSpeedOutLeft":case"lightSpeedOutRight":case"rotateRightSideFirst":case"rotateLeftSideFirst":case"rotateTopSideFirst":case"rotateBottomSideFirst":case"flipOutRight":case"flipOutLeft":case"flipOutTop":case"flipOutBottom":case"rotateFall":case"rotateOutNewspaper":case"rotateCubeLeftOut":case"rotateCubeLeftIn":case"rotateCubeRightOut":case"rotateCubeRightIn":case"rotateCubeTopOut":case"rotateCubeTopIn":case"rotateCubeBottomOut":case"rotateCubeBottomIn":case"rotateSidesOut":c=n.timingFunction||"ease-in";break;case"lightSpeedInLeft":case"lightSpeedInRight":case"flipInLeft":case"flipInRight":case"flipInBottom":case"flipInTop":case"rotateInNewspaper":case"rotateSidesIn":c=n.timingFunction||"ease-out";break;case"pulse":case"headShake":case"heartBeat":case"statusProcessing":c=n.timingFunction||"ease-in-out";break;default:c=n.timingFunction||"ease";break}switch(i){default:u=n.delay||0;break}switch(i){case"superRainbow":case"statusProcessing":f=n.repeat||"infinite";break;default:f=n.repeat||1;break}switch(i){case"superRainbow":d=n.direction||"alternate";break;default:d=n.direction||"normal";break}switch(i){case"hinge":case"rotateFall":a.transformOrigin="left top";break;case"zoomOutLeft":case"rotateRightSideFirst":case"rotatePushLeft":case"rotatePullLeft":case"rotateFoldRight":case"rotateUnfoldRight":case"rotateRoomLeftIn":case"rotateRoomRightOut":case"rotateCubeLeftIn":case"rotateCubeRightOut":a.transformOrigin="left center";break;case"rotateInUpLeft":case"rotateInDownLeft":case"rotateOutUpLeft":case"rotateOutDownLeft":a.transformOrigin="left bottom";break;case"swing":case"zoomOutUp":case"rotateBottomSideFirst":case"rotatePushTop":case"rotatePullTop":case"rotateFoldBottom":case"rotateUnfoldBottom":case"rotateRoomTopIn":case"rotateRoomBottomOut":case"rotateCubeTopIn":case"rotateCubeBottomOut":a.transformOrigin="center top";break;case"bounce":case"zoomOutDown":case"rotateTopSideFirst":case"rotatePushBottom":case"rotatePullBottom":case"rotateFoldTop":case"rotateUnfoldTop":case"rotateRoomTopOut":case"rotateRoomBottomIn":case"rotateCubeTopOut":case"rotateCubeBottomIn":a.transformOrigin="center bottom";break;case"zoomOutRight":case"rotateLeftSideFirst":case"rotatePushRight":case"rotatePullRight":case"rotateFoldLeft":case"rotateUnfoldLeft":case"rotateRoomLeftOut":case"rotateRoomRightIn":case"rotateCubeLeftOut":case"rotateCubeRightIn":a.transformOrigin="right center";break;case"rotateInUpRight":case"rotateInDownRight":case"rotateOutUpRight":case"rotateOutDownRight":a.transformOrigin="right bottom";break;default:delete a.transformOrigin;break}switch(i){case"jelly":case"bounce":case"flash":case"pulse":case"rubberBand":case"shakeX":case"shakeY":case"headShake":case"swing":case"tada":case"wobble":case"jello":case"heartBeat":case"bounceIn":case"fadeIn":case"fadeOut":case"flip":case"flipInX":case"flipInY":case"flipOutX":case"flipOutY":case"hinge":case"jackInTheBox":r.overflow="visible";break;default:r.overflow="hidden";break}switch(i){case"flip":case"flipInX":case"flipInY":case"flipOutX":case"flipOutY":a.backfaceVisibility="visible";break;default:delete a.backfaceVisibility;break}}const p=P(),b=w=>{r.perspective=n.perspective,w.eb.on("animationstart",$=>{s("cssanimationstart",$.animationName)}),w.eb.on("animationend",$=>{s("cssanimationend",$.animationName)})};function x(){p.value.style.animation="none",p.value.offsetHeight,p.value.style.animation=null}const k=()=>{a.animation="none"},g=()=>{x(),a.animation=`${l}ms ${c} ${u}ms ${f} ${d} ${n.fillMode} ${n.playState} ${i}`},m=w=>{w&&h(w),k(),d="normal",g()},y=w=>{w&&h(w),k(),d="reverse",g()},_=()=>{a.animation="none"};return Rt(()=>n.name,()=>{h(n.name)},{immediate:!0}),t({trigger:m,triggerReverse:y,clear:_}),(w,$)=>(I(),dt(ht,{class:"css-animation",type:n.containerType,supportCopyText:n.supportCopyText,effectTriggerTiming:n.effectTriggerTiming,style:N(r),onReady:b,onStart:k,onEnd:g},{default:W(()=>[v("div",{class:"css-animation-inner",ref_key:"animationRef",ref:p,style:N({position:"relative",display:"block",width:"100%",height:"100%",cursor:"pointer",transformStyle:"preserve-3d",...a})},[mt(w.$slots,"default")],4)]),_:3},8,["type","supportCopyText","effectTriggerTiming","style"]))}}),zw="",Na=V({customOptions:{Container:ht,CSSAnimation:os},inheritAttrs:!0,__name:"Page",props:{effect:{default:"moveFromLeft"},duration:{default:500},easeFunction:{type:Function,default:at.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["ready","pageOpenStart","pageOpenEnd","pageCloseStart","pageCloseEnd"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P(),a=Wt({}),i=()=>{s("ready",w,$)},l=()=>{b()},c=P();let u="rotateRightSideFirst",f=n.effect;function d(Y,B){switch(f){case"static":B();break;default:Y();break}}let h=!1;const p=new Xe,b=()=>{const Y={},B={};p.clear(),p.frameDuration=n.duration,d(()=>{u=f},()=>{p.addTween(Y,B,{delay:n.delay/n.duration,easeFunction:n.easeFunction,onStart:()=>{s(h?"pageCloseStart":"pageOpenStart")},onUpdate:M=>{a.transform="","x"in M&&(a.transform+=` translateX(${M.x}%)`),"y"in M&&(a.transform+=` translateY(${M.y}%)`),"rx"in M&&(a.transform+=` rotateX(${M.rx}deg)`),"ry"in M&&(a.transform+=` rotateY(${M.ry}deg)`),"scale"in M&&(a.transform+=` scale(${M.scale})`),"opacity"in M&&(a.opacity=`${M.opacity}`)},onComplete:()=>{s(h?"pageCloseEnd":"pageOpenEnd")}})})};Rt(()=>[n.effect,n.delay,n.duration,n.easeFunction],()=>{f=n.effect,b()},{immediate:!0});const x=()=>{s(h?"pageCloseStart":"pageOpenStart")},k=()=>{s(h?"pageCloseEnd":"pageOpenEnd")},g=()=>{d(()=>{c.value.trigger(u)},()=>{p.play()})},m=()=>{d(()=>{c.value.triggerReverse(u)},()=>{p.reverse()})},y=()=>{a.transform="none",a.opacity="1"};function _(){d(()=>{y()},()=>{c.value?.clear()})}const w=Y=>{Y&&(f=Y,b()),h=!1,_(),g()},$=Y=>{Y&&(f=Y,b()),h=!0,_(),m()};return t({open:w,close:$,clear:y}),(Y,B)=>(I(),dt(ht,{class:"page",ref_key:"pageRef",ref:r,type:"full",effectTriggerTiming:"manual",style:{overflow:"hidden",width:"100%",height:"100%"},onReady:i,onUpdate:l},{default:W(()=>[Z(os,{ref_key:"cssAnimationRef",ref:c,containerType:"full",effectTriggerTiming:"manual",duration:n.duration,delay:n.delay,timingFunction:n.timingFunction,onCssanimationstart:x,onCssanimationend:k},{default:W(()=>[v("div",{class:"page-inner",style:N({position:"relative",display:"block",width:"100%",height:"100%",overflow:"scroll",backfaceVisibility:"hidden",transformStyle:"preserve-3d",...a})},[mt(Y.$slots,"default")],4)]),_:3},8,["duration","delay","timingFunction"])]),_:3},512))}}),tr=V({customOptions:{Page:Na,Container:ht},inheritAttrs:!0,__name:"Routes",props:{effect:{default:"moveToLeft"},duration:{default:500},easeFunction:{type:Function,default:at.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["routeChangeStart","routeChangeEnd","renderComplete"],setup(o,{expose:t,emit:e}){const n=o,s=e;let r=-1,a=-1,i;const l=[];let c=[],u=[],f=[];function d(et){return et>=0&&et<c.length}function h(){return a>r}function p(et,A,se){switch(et){case r:return h()?A:se;case a:return h()?se:A;default:return"static"}}function b(et,A){switch(et){case"moveToLeft":return p(A,"moveToLeft","moveFromRight");case"moveToRight":return p(A,"moveToRight","moveFromLeft");case"moveToTop":return p(A,"moveToTop","moveFromBottom");case"moveToBottom":return p(A,"moveToBottom","moveFromTop");case"moveFromLeftPrevFade":return p(A,"fade","moveFromLeft");case"moveFromRightPrevFade":return p(A,"fade","moveFromRight");case"moveFromTopPrevFade":return p(A,"fade","moveFromTop");case"moveFromBottomPrevFade":return p(A,"fade","moveFromBottom");case"moveToLeftFade":return p(A,"moveToLeftFade","moveFromRightFade");case"moveToRightFade":return p(A,"moveToRightFade","moveFromLeftFade");case"moveToTopFade":return p(A,"moveToTopFade","moveFromBottomFade");case"moveToBottomFade":return p(A,"moveToBottomFade","moveFromTopFade");case"moveToLeftEasing":return p(A,"moveToLeft","moveFromRight");case"moveToRightEasing":return p(A,"moveToRight","moveFromLeft");case"moveToTopEasing":return p(A,"moveToTop","moveFromBottom");case"moveToBottomEasing":return p(A,"moveToBottom","moveFromTop");case"moveFromLeftPrevScaleToSmall":return p(A,"scaleToSmall","moveFromLeft");case"moveFromRightPrevScaleToSmall":return p(A,"scaleToSmall","moveFromRight");case"moveFromTopPrevScaleToSmall":return p(A,"scaleToSmall","moveFromTop");case"moveFromBottomPrevScaleToSmall":return p(A,"scaleToSmall","moveFromBottom");case"scaleSmall":return p(A,"scaleToSmall","scaleFromLarge");case"scaleLarge":return p(A,"scaleToLarge","scaleFromSmall");case"scaleToLargePrevScaleToSmall":return p(A,"scaleToSmallCenter","scaleFromSmallCenter");case"scaleFromSmallPrevMoveToLeft":return p(A,"moveToLeft","scaleFromSmall");case"scaleFromSmallPrevMoveToRight":return p(A,"moveToRight","scaleFromSmall");case"scaleFromSmallPrevMoveToTop":return p(A,"moveToTop","scaleFromSmall");case"scaleFromSmallPrevMoveToBottom":return p(A,"moveToBottom","scaleFromSmall");case"glueToLeft":return p(A,"rotateRightSideFirst","moveFromRight");case"glueToRight":return p(A,"rotateLeftSideFirst","moveFromLeft");case"glueToTop":return p(A,"rotateBottomSideFirst","moveFromBottom");case"glueToBottom":return p(A,"rotateTopSideFirst","moveFromTop");case"flipToLeft":return p(A,"flipOutLeft","flipInRight");case"flipToRight":return p(A,"flipOutRight","flipInLeft");case"flipToTop":return p(A,"flipOutTop","flipInBottom");case"flipToBottom":return p(A,"flipOutBottom","flipInTop");case"rotateFall":return p(A,"rotateFall","scaleFromSmall");case"newspaper":return p(A,"rotateOutNewspaper","rotateInNewspaper");case"moveFromLeftPrevPush":return p(A,"rotatePushRight","moveFromLeft");case"moveFromRightPrevPush":return p(A,"rotatePushLeft","moveFromRight");case"moveFromTopPrevPush":return p(A,"rotatePushBottom","moveFromTop");case"moveFromBottomPrevPush":return p(A,"rotatePushTop","moveFromBottom");case"pullFromLeftPrevPush":return p(A,"rotatePushRight","rotatePullLeft");case"pullFromRightPrevPush":return p(A,"rotatePushLeft","rotatePullRight");case"pullFromTopPrevPush":return p(A,"rotatePushBottom","rotatePullTop");case"pullFromBottomPrevPush":return p(A,"rotatePushTop","rotatePullBottom");case"moveFromLeftFadePrevFold":return p(A,"rotateFoldRight","moveFromLeftFade");case"moveFromRightFadePrevFold":return p(A,"rotateFoldLeft","moveFromRightFade");case"moveFromTopFadePrevFold":return p(A,"rotateFoldBottom","moveFromTopFade");case"moveFromBottomFadePrevFold":return p(A,"rotateFoldTop","moveFromBottomFade");case"moveToLeftFadePrevUnfold":return p(A,"moveToLeftFade","rotateUnfoldRight");case"moveToRightFadePrevUnfold":return p(A,"moveToRightFade","rotateUnfoldLeft");case"moveToTopFadePrevUnfold":return p(A,"moveToTopFade","rotateUnfoldBottom");case"moveToBottomFadePrevUnfold":return p(A,"moveToBottomFade","rotateUnfoldTop");case"rotateRoomLeftIn":return p(A,"rotateRoomLeftOut","rotateRoomLeftIn");case"rotateRoomRightIn":return p(A,"rotateRoomRightOut","rotateRoomRightIn");case"rotateRoomTopIn":return p(A,"rotateRoomTopOut","rotateRoomTopIn");case"rotateRoomBottomIn":return p(A,"rotateRoomBottomOut","rotateRoomBottomIn");case"rotateCubeLeftIn":return p(A,"rotateCubeLeftOut","rotateCubeLeftIn");case"rotateCubeRightIn":return p(A,"rotateCubeRightOut","rotateCubeRightIn");case"rotateCubeTopIn":return p(A,"rotateCubeTopOut","rotateCubeTopIn");case"rotateCubeBottomIn":return p(A,"rotateCubeBottomOut","rotateCubeBottomIn");case"rotateCarouselLeftIn":return p(A,"rotateCarouselLeftOut","rotateCarouselLeftIn");case"rotateCarouselRightIn":return p(A,"rotateCarouselRightOut","rotateCarouselRightIn");case"rotateCarouselTopIn":return p(A,"rotateCarouselTopOut","rotateCarouselTopIn");case"rotateCarouselBottomIn":return p(A,"rotateCarouselBottomOut","rotateCarouselBottomIn");case"rotateSidesIn":return p(A,"rotateSidesOut","rotateSidesIn");case"rotateSlideIn":return p(A,"rotateSlideOut","rotateSlideIn")}}function x(et,A=600,se=600){switch(et){case r:return A;case a:return se;default:return n.duration}}function k(et,A){switch(et){case"moveFromLeftFadePrevFold":case"moveFromRightFadePrevFold":case"moveFromTopFadePrevFold":case"moveFromBottomFadePrevFold":return x(A,700,700);case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":case"moveFromLeftPrevScaleToSmall":case"moveFromRightPrevScaleToSmall":case"moveFromTopPrevScaleToSmall":case"moveFromBottomPrevScaleToSmall":return x(A,700,600);case"scaleSmall":return x(A,700,500);case"scaleLarge":return x(A,500,700);case"scaleToLargePrevScaleToSmall":return x(A,400,400);case"scaleFromSmallPrevMoveToLeft":case"scaleFromSmallPrevMoveToRight":case"scaleFromSmallPrevMoveToTop":case"scaleFromSmallPrevMoveToBottom":return x(A,600,700);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":return x(A,800,600);default:return n.duration}}let g=n.timingFunction;function m(et){switch(et){default:return n.easeFunction}}function y(et,A){switch(et){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":switch(A){case r:g=h()?"ease-in-out":"ease";break;case a:default:g=h()?"ease":"ease-in-out"}return m(A);default:return g=n.timingFunction,n.easeFunction}}function _(et,A=300){switch(et){case a:return n.delay+A;default:return n.delay}}function w(et,A){switch(et){case"flipToLeft":case"flipToRight":case"flipToTop":case"flipToBottom":case"newspaper":return _(A,500);case"scaleSmall":case"scaleLarge":return _(A,300);case"scaleToLargePrevScaleToSmall":return _(A,400);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":case"rotateSidesIn":return _(A,200);case"pullFromLeftPrevPush":case"pullFromRightPrevPush":case"pullFromTopPrevPush":case"pullFromBottomPrevPush":return _(A,180);default:return n.delay}}let $=2,Y=2;const B=()=>{$=2,Y=2},M=()=>{$=2,Y=3},ut=()=>{$=3,Y=2};function j(et){switch(n.effect){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":ut();break;case"scaleFromSmallPrevMoveToLeft":case"scaleFromSmallPrevMoveToRight":case"scaleFromSmallPrevMoveToTop":case"scaleFromSmallPrevMoveToBottom":case"rotateFall":case"rotateRoomLeftIn":case"rotateRoomRightIn":case"rotateRoomTopIn":case"rotateRoomBottomIn":case"rotateCubeLeftIn":case"rotateCubeRightIn":case"rotateCubeTopIn":case"rotateCubeBottomIn":case"rotateCarouselLeftIn":case"rotateCarouselRightIn":case"rotateCarouselTopIn":case"rotateCarouselBottomIn":h()?ut():M();break;case"moveFromLeftPrevFade":case"moveFromRightPrevFade":case"moveFromTopPrevFade":case"moveFromBottomPrevFade":case"moveFromLeftPrevScaleToSmall":case"moveFromRightPrevScaleToSmall":case"moveFromTopPrevScaleToSmall":case"moveFromBottomPrevScaleToSmall":case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":h()?M():ut();break;default:B();break}d(r)&&r==et&&(f[r].style.zIndex=`${$}`,f[r].style.visibility="visible"),d(a)&&a==et&&(f[a].style.zIndex=`${Y}`,f[a].style.visibility="visible")}function tt(et){M(),et==r&&(f[r].style.zIndex=`${$}`,f[r].style.visibility="hidden"),et==a&&(f[a].style.zIndex=`${Y}`,f[a].style.visibility="visible",l.shift()?.(),s("routeChangeEnd",r,a,c.length),r=a)}const gt=P();function Ot(et=0,A=!1){if(!gt.value)return;let se=0;Ur(Xt("div",{class:"routes-pages",style:{display:"block",width:"100%",height:"100%",overflow:"hidden",position:"relative"}},c.map((Nt,F)=>{const ot=b(n.effect,F);return Xt("div",Object.assign({class:"routes-page",style:{display:"block",width:"100%",height:"100%",overflow:"hidden",position:"absolute",top:"0",left:"0",backfaceVisibility:"hidden",transform:"translate3d(0, 0, 0)",transformStyle:"preserve-3d",visibility:r==F?"visible":"hidden",zIndex:A?"1":"0"}},Nt.pageKey?{key:Nt.pageKey}:{}),Xt(Na,{effect:ot,duration:k(n.effect,F),easeFunction:y(n.effect,F),timingFunction:g,delay:w(n.effect,F),onReady:(G,it)=>{u[F]={open:G,close:it},++se==et&&(i?.(),s("renderComplete"))},onPageOpenStart:()=>{j(F)},onPageOpenEnd:()=>{tt(F)},onPageCloseStart:()=>{j(F)},onPageCloseEnd:()=>{tt(F)}},{default:()=>Nt.component instanceof HTMLElement?Xt("div",{...Nt.attributes,innerHTML:Nt.component.innerHTML}):Xt(Nt.component,Nt.attributes,()=>Nt.child)}))})),gt.value),f=gt.value.children[0].children}Rt(()=>n.effect,()=>{Ot()});function $t(et=[]){c=[...et],c.forEach(A=>{A.pageKey=A.pageKey||Ln()}),i=()=>{r=-1,Vt(0)},Ot(c.length,!0)}function xt(et){et.pageKey=et.pageKey||Ln(),c.push(et),i=()=>{Vt(c.length-1)},Ot(1,c.length==1)}function kt(){c.length<=1||Vt(c.length-2,()=>{c.splice(c.length-1,1),r=c.length-1,Ot()})}function ne(){Vt(r+1)}function me(){Vt(r-1)}const he=new jr(1);function Vt(et,A){he.addTask(()=>new Promise(se=>{const Nt=()=>{A?.(),se()};if(!d(et)){Nt();return}if(a=et,a==r){Nt();return}l.push(Nt),Ot(),s("routeChangeStart",r,a,c.length),h()?(d(r)&&u[r].open(),d(a)&&u[a].open()):(d(r)&&u[r].close(),d(a)&&u[a].close())}))}return t({reset:$t,push:xt,pop:kt,forward:ne,back:me,goto:Vt,currentPageIndex:()=>r,totalPages:()=>c.length}),(et,A)=>(I(),D("div",{class:"routes",ref_key:"routesRef",ref:gt,style:{display:"block",position:"relative",width:"100%",height:"100%","overflow-x":"hidden","overflow-y":"hidden"}},null,512))}}),rn=V({customOptions:{},inheritAttrs:!0,__name:"Overlay",props:{visible:{type:Boolean,default:!1},global:{type:Boolean,default:!0},color:{default:"rgba(0, 0, 0, 0.25)"}},setup(o,{expose:t}){const e=o,n=de(()=>({display:e.visible?"block":"none",overflow:"hidden","background-color":e.color,position:"fixed","z-index":"99999",width:"100%",height:"100%",inset:"0"})),s=P(),r=zd(document.documentElement,"overflow")||"visible";let a="";return Rt(()=>e.visible,()=>{e.global?Vs(document.documentElement,"overflow",e.visible?"hidden":r):(a||(a=zd(s.value.parentElement,"overflow")||"visible"),Vs(s.value.parentElement,"overflow",e.visible?"hidden":a))},{immediate:!0}),t({}),(i,l)=>(I(),D("div",{ref_key:"el",ref:s,class:"overlay",style:N(n.value)},[mt(i.$slots,"default")],4))}}),le=V({customOptions:{Overlay:rn,Container:ht},inheritAttrs:!0,__name:"Pop",props:{closeWhenClickOverlay:{type:Boolean,default:!0},directionFrom:{default:"bottom"},absoluteLeft:{default:"0px"},absoluteTop:{default:"0px"},absoluteWidth:{default:"100%"},absoluteHeight:{default:"100%"},dur:{default:200},global:{type:Boolean,default:!0},overlayBgColor:{},popValue:{}},emits:["open","close","resize","clickOverlay"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=new Xe({frameDuration:n.dur}),a=Wt({position:"absolute",opacity:"1",transformOrigin:"center",willChange:"transform"}),i=P(!1),l=P("full");Rt(()=>[n.directionFrom,n.popValue],()=>{r.clear();const b=!n.popValue,x=n.popValue?n.popValue:100,k=n.popValue?"px":"%";switch(n.directionFrom){case"left":a.height="100%",b?delete a.width:a.width=`${x}${k}`,a.top="0",a.bottom="0",delete a.right,r.addTween({left:x},{left:0},{easeFunction:at.Quadratic.Out,onUpdate(g){a.left=`-${g.left}${k}`},onComplete:f});break;case"right":a.height="100%",b?delete a.width:a.width=`${x}${k}`,a.top="0",a.bottom="0",delete a.left,r.addTween({right:x},{right:0},{easeFunction:at.Quadratic.Out,onUpdate(g){a.right=`-${g.right}${k}`},onComplete:f});break;case"top":a.width="100%",b?delete a.height:a.height=`${x}${k}`,a.left="0",a.right="0",delete a.bottom,r.addTween({top:x},{top:0},{easeFunction:at.Quadratic.Out,onUpdate(g){a.top=`-${g.top}${k}`},onComplete:f});break;case"bottom":a.width="100%",b?delete a.height:a.height=`${x}${k}`,a.left="0",a.right="0",delete a.top,r.addTween({bottom:x},{bottom:0},{easeFunction:at.Quadratic.Out,onUpdate(g){a.bottom=`-${g.bottom}${k}`},onComplete:f});break;case"center":delete a.width,delete a.height,a.left="50%",delete a.right,a.top="50%",delete a.bottom,r.addTween({scale:.8,opacity:0},{scale:1,opacity:1},{easeFunction:at.Quadratic.Out,onUpdate(g){a.transform=`translate(-50%, -50%) scale(${g.scale})`,a.opacity=`${g.opacity}`},onComplete:f});break;case"absolute":a.width=n.absoluteWidth,a.height=n.absoluteHeight,a.left=n.absoluteLeft,a.top=n.absoluteTop,delete a.right,delete a.bottom;break}switch(n.directionFrom){case"center":l.value="shrink",a.transform="translate(-50%, -50%)";break;case"absolute":l.value="shrink",delete a.transform,delete a.opacity;break;default:l.value="full",delete a.transform,delete a.opacity;break}b&&(l.value="shrink")},{immediate:!0}),Rt(()=>n.absoluteLeft,()=>{switch(n.directionFrom){case"absolute":a.left=n.absoluteLeft;break}}),Rt(()=>n.absoluteTop,()=>{switch(n.directionFrom){case"absolute":a.top=n.absoluteTop;break}}),Rt(()=>n.absoluteWidth,()=>{switch(n.directionFrom){case"absolute":a.width=n.absoluteWidth;break}}),Rt(()=>n.absoluteHeight,()=>{switch(n.directionFrom){case"absolute":a.height=n.absoluteHeight;break}});const c=b=>{s("resize",b.rect)};let u="open";function f(){u=="open"?s("open"):(i.value=!1,s("close"))}function d(){i.value=!0,u="open",r.play()}function h(){switch(u="close",n.directionFrom){case"absolute":f();break;default:r.reverse();break}}function p(b){const x=n.directionFrom=="absolute"&&n.absoluteWidth=="100%"&&n.absoluteHeight=="100%"?"pop-content":"pop";b.target&&ya(b.target,x)&&(n.closeWhenClickOverlay&&h(),s("clickOverlay"))}return t({open:d,close:h}),(b,x)=>(I(),dt(rn,{visible:i.value,global:n.global,color:n.overlayBgColor},{default:W(()=>[v("div",{class:"pop",style:{display:"block",position:"relative",width:"100%",height:"100%"},onClick:p},[Z(ht,{class:"pop-content",type:l.value,style:N(a),onReady:c,onUpdate:c},{default:W(()=>[mt(b.$slots,"default",{},()=>[x[0]||(x[0]=v("div",null,null,-1))])]),_:3},8,["type","style"])])]),_:3},8,["visible","global","color"]))}}),Vx=["src"],Xx=V({name:"Image",customOptions:{Container:ht,Pop:le},inheritAttrs:!0,__name:"Image",props:{src:{},mode:{default:"scaleToFill"},dur:{default:300},bgColor:{default:"transparent"},openImageDetailWhenClick:{type:Boolean,default:!0}},emits:["settled"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=new Xe({frameDuration:n.dur}),a=P(0),i=P(0),l=P(0),c=P(0),u=P(0),f=P(0),d=P(0),h=P(0),p=P(!0),b=P(0),x=P(0);nh(n.src).then(tt=>{b.value=tt.width,x.value=tt.height,w()}).catch(()=>{p.value=!1});const k=P(0),g=P(0),m=tt=>{k.value=tt.rect.width,g.value=tt.rect.height,w()},y=P(0),_=P(0);function w(){if(!k.value||!g.value||!b.value||!x.value)return;const tt=ga(n.mode,b.value,x.value,k.value,g.value);y.value=tt.width,_.value=tt.height;const{width:gt,height:Ot}=Xs(),$t=ga("aspectFit",b.value,x.value,gt,Ot);d.value=$t.width,h.value=$t.height,u.value=(gt-d.value)/2,f.value=(Ot-h.value)/2}const $=tt=>{s("settled",tt.rect.x,tt.rect.y,tt.rect.width,tt.rect.height)};let Y=!1;const B=P(),M=P();async function ut(){if(!n.openImageDetailWhenClick)return;const tt=await B.value.getRect();r.clear(),r.addTween({left:tt.x,top:tt.y,width:tt.width,height:tt.height},{left:u.value,top:f.value,width:d.value,height:h.value},{easeFunction:at.Quadratic.Out,onUpdate(gt){a.value=gt.left,i.value=gt.top,l.value=gt.width,c.value=gt.height},onComplete(){Y&&M.value.close(),Y=!Y}}),Y||(M.value.open(),r.play())}function j(){Y&&r.reverse()}return t({}),(tt,gt)=>(I(),dt(ht,{class:"image",type:"full",style:N({backgroundColor:n.bgColor}),onReady:m,onUpdate:m,onClick:ut},{default:W(()=>[p.value?(I(),dt(ht,{key:0,class:"image-inner",ref_key:"imageRef",ref:B,type:"shrink",style:N({width:y.value+"px",height:_.value+"px",backgroundImage:`url(${n.src})`,backgroundSize:`${y.value}px ${_.value}px`}),onReady:$,onUpdate:$},null,8,["style"])):yt("",!0),p.value?yt("",!0):(I(),dt(ht,{key:1,type:"shrink"},{default:W(()=>[v("img",{src:n.src,style:{display:"block",objectFit:"contain"}},null,8,Vx)]),_:1})),Z(le,{ref_key:"popRef",ref:M,"direction-from":"absolute","absolute-left":`${a.value}px`,"absolute-top":`${i.value}px`,"absolute-width":`${l.value}px`,"absolute-height":`${c.value}px`,"close-when-click-overlay":!1,onClickOverlay:j},{default:W(()=>[v("div",{class:"image-pop",style:N({width:"100%",height:"100%",backgroundImage:`url(${n.src})`,backgroundSize:"100% 100%"})},null,4)]),_:1},8,["absolute-left","absolute-top","absolute-width","absolute-height"])]),_:1},8,["style"]))}}),Dw="",Fa=st(Xx,[["__scopeId","data-v-67c2d0de"]]),Zx={key:0,style:{position:"absolute",top:"30px",left:"50%",transform:"translate(-50%, 0)",color:"#ffffff","font-size":"1em","z-index":"98"}},za=V({customOptions:{Image:Fa,Container:ht,Routes:tr},inheritAttrs:!0,__name:"ImageView",props:{urls:{default:()=>[]},effect:{default:"moveToLeftFade"}},setup(o,{expose:t,emit:e}){const n=o,s=P(0);function r(d,h){s.value=h}const a=P(),i=d=>{d.eb.on("panLeft",()=>{a.value?.forward()}),d.eb.on("panRight",()=>{a.value?.back()}),a.value.reset(n.urls.map(h=>({component:Xt(Fa,{mode:"aspectFit",src:h,openImageDetailWhenClick:!1})})))},l=P();function c(){l.value?.open()}function u(){l.value?.close()}const f=d=>{d.target&&ya(d.target,"image")&&u()};return t({open:c,close:u}),(d,h)=>(I(),dt(le,{ref_key:"popRef",ref:l,directionFrom:"absolute",onClick:f},{default:W(()=>[n.urls.length>1?(I(),D("div",Zx,ft(s.value+1)+" / "+ft(n.urls.length),1)):yt("",!0),Z(ht,{style:{position:"absolute",top:"50%",transform:"translate(0, -50%)",width:"100%",height:"100%","z-index":"97"},onReady:i},{default:W(()=>[Z(tr,{ref_key:"routesRef",ref:a,effect:n.effect,onRouteChangeEnd:r},null,8,["effect"])]),_:1})]),_:1},512))}}),Ux={class:"pop-tel"},Hx=["href"],Gx=V({customOptions:{Pop:le},inheritAttrs:!0,__name:"PopTel",props:{tel:{}},setup(o,{expose:t,emit:e}){const n=P();function s(){n.value?.open()}function r(){n.value?.close()}return t({open:s,close:r}),(a,i)=>(I(),dt(le,{directionFrom:"bottom",closeWhenClickOverlay:!1,ref_key:"el",ref:n},{default:W(()=>[v("div",Ux,[v("div",null,ft(a.tel),1),v("a",{class:"pop-tel-call",onClick:r,href:`tel:${a.tel}`}," 呼叫 ",8,Hx),v("div",{class:"pop-tel-cancel",onClick:r}," 取消 ")])]),_:1},512))}}),Mw="",Da=st(Gx,[["__scopeId","data-v-c1425500"]]),jx={class:"lot-main"},Wx={class:"lot-detail"},qx={class:"bold"},Kx=V({customOptions:{LayoutPage:to,Footer:Aa,PlateDisplay:$a,ViewDocument:ec,PopTel:Da,ImageView:za},inheritAttrs:!0,__name:"Lot",setup(o){const t=Ca();function e(){t.push({name:"view-document",params:{title:"收费标准",src:encodeURIComponent("https://erichd2.oss-cn-shanghai.aliyuncs.com/0000/0002/2159")}})}const n=P();function s(){n.value?.open()}const r=P();function a(){r.value?.open()}return(i,l)=>(I(),dt(to,{class:"lot"},{footer:W(()=>[Z(Aa)]),global:W(()=>[Z(Da,{tel:"15851575410",ref_key:"popTelEl",ref:n},null,512),Z(za,{urls:["https://erichd2.oss-cn-shanghai.aliyuncs.com/0000/0002/2159","https://erichd2.oss-cn-shanghai.aliyuncs.com/0000/0002/2159"],ref_key:"imageViewEl",ref:r},null,512)]),default:W(()=>[l[15]||(l[15]=v("div",{class:"lot-main-bg"},null,-1)),v("div",jx,[l[12]||(l[12]=v("div",null,"若临测试泊位机器人停车场",-1)),l[13]||(l[13]=v("div",null,[v("div"),v("div",null,"编号"),v("div")],-1)),l[14]||(l[14]=v("div",null,[v("span",null,"103"),v("span",null,"002")],-1)),v("div",null,[l[0]||(l[0]=v("div",null,"停车场主页",-1)),l[1]||(l[1]=v("div",null,"更换附近车位",-1)),v("div",{onClick:e},"收费标准")]),v("div",Wx,[l[4]||(l[4]=v("div",null,[v("div",null,"待支付"),v("div",{class:"red"},"¥0.01")],-1)),l[5]||(l[5]=v("div",null,[v("div",null,"已支付"),v("div",null,"¥0.01")],-1)),l[6]||(l[6]=v("div",null,[v("div",null,"订单编号"),v("div",null,"33333333333")],-1)),l[7]||(l[7]=v("div",null,[v("div",null,"开始时间"),v("div",null,"2025-04-08 09:41:25")],-1)),l[8]||(l[8]=v("div",null,[v("div",null,"停车时长"),v("div",null,"51小时53分钟15秒")],-1)),l[9]||(l[9]=v("div",null,[v("div",null,"优惠券"),v("div",{class:"red"},"1分钟")],-1)),l[10]||(l[10]=v("div",null,[v("div",null,"优惠信息"),v("div",{class:"red"},"xxxx")],-1)),l[11]||(l[11]=v("div",{class:"lot-detail-gap"},null,-1)),v("div",null,[l[2]||(l[2]=v("div",null,"车牌号",-1)),v("div",qx,[Z($a,{plate:"苏U77777","plate-type":"b"})])]),v("div",null,[l[3]||(l[3]=v("div",null,"现场照片",-1)),v("div",{onClick:a},"查看")])]),v("div",{class:"lot-actions"},[v("div",{onClick:s},"联系客服")])])]),_:1}))}}),Lw="",vp=st(Kx,[["__scopeId","data-v-feee85ac"]]),Qx=V({customOptions:{LayoutPage:to},inheritAttrs:!0,__name:"Park",setup(o){return(t,e)=>(I(),dt(to,{class:"park"},{default:W(()=>e[0]||(e[0]=[Bt("Park")])),_:1}))}}),Bw="",bp=st(Qx,[["__scopeId","data-v-9704593b"]]),_p=w_({history:Fb("/"),routes:[{path:"/view-document/:title/:src",name:"view-document",component:ec},{path:"/",name:"xg",redirect:"/lot"},{path:"/lot",name:"lot",component:vp},{path:"/park",name:"park",component:bp}],scrollBehavior:(o,t,e)=>e||{left:0,top:0}}),Jx=_p,Ma=P("next"),La=[];_p.beforeEach((o,t,e)=>{const n=La.length,s=La.findIndex(r=>r==o.name);n>1&&s>=0&&s<n-1?(Ma.value="prev",La.splice(s+1)):(Ma.value="next",La.push(o.name)),e()});const t2=V({customOptions:{},inheritAttrs:!0,__name:"Container.ce",props:{type:{default:"block"},effectTriggerTiming:{default:"manual"},supportCopyText:{type:Boolean,default:!1}},emits:["ready","update","clipboard_success","clipboard_error","start","end"],setup(o,{expose:t,emit:e}){const n=o,s=e;let r="start";const a=()=>{r="start",s("start")},i=()=>{r="end",s("end")},l=()=>{r=="start"?i():a()},c=P();let u,f,d=!1;return Mn(()=>{c.value&&(u||(u=ca(c.value),u.eb.on("resize",()=>{d&&s("update",u)}),u.eb.on("mouseEnter",()=>{n.effectTriggerTiming=="mouseMove"&&l()}),u.eb.on("mouseLeave",()=>{n.effectTriggerTiming=="mouseMove"&&l()}),u.eb.on("tap",()=>{if(n.effectTriggerTiming=="click"&&l(),n.supportCopyText){const h=va(c.value).getInnerText();Bl(h).then(()=>{s("clipboard_success",h)}).catch(p=>{s("clipboard_error",p.toString())})}}),n.effectTriggerTiming!=="manual"&&a(),n.effectTriggerTiming=="immediate"&&l(),u.start().then(()=>{f?.(u),s("ready",u),d=!0})))}),pe(()=>{}),ue(()=>{u?.end()}),t({getController:()=>new Promise(h=>{if(u)return h(u);f=h}),getElement:()=>c.value,getRect:()=>c.value.getBoundingClientRect()}),(h,p)=>(I(),D("div",Wi({ref_key:"r",ref:c,class:"container",style:{position:"relative",boxSizing:"border-box",display:n.type=="shrink"?"inline-block":"block",width:n.type=="full"?"100%":"auto",height:n.type=="full"?"100%":"auto"}},h.$attrs),[mt(h.$slots,"default")],16))}}),xp=st(V({customOptions:{Container:ht},inheritAttrs:!0,__name:"CSSTransition.ce",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!1},effectTriggerTiming:{default:"immediate"},name:{default:"superRainbow"},duration:{default:300},timingFunction:{default:"ease-out"},delay:{default:0}},emits:["csstransitionstart","csstransitionend"],setup(o,{expose:t,emit:e}){const n=o,s=e;let r=n.duration,a=n.timingFunction,i=n.delay;const l=Wt({}),c=Wt({}),u=h=>{h.eb.on("transitionstart",p=>{s("csstransitionstart",p)}),h.eb.on("transitionend",p=>{s("csstransitionend",p)})},f=()=>{c.transition="none"},d=()=>{c.transition=`all ${r}ms ${a} ${i}ms`};return Rt(()=>n.name,()=>{switch(n.name){default:delete c.transformOrigin;break}switch(n.name){default:l.overflow="hidden";break}switch(n.name){default:delete c.backfaceVisibility;break}f(),d()},{immediate:!0}),t({}),(h,p)=>(I(),dt(ht,{class:"css-transition",type:n.containerType,supportCopyText:n.supportCopyText,effectTriggerTiming:n.effectTriggerTiming,onReady:u,onStart:f,onEnd:d,style:N(l)},{default:W(()=>[v("div",{class:jt(["css-transition-inner",n.name]),style:N({position:"relative",display:"block",width:"100%",height:"100%",cursor:"pointer",...c})},[mt(h.$slots,"default")],6)]),_:3},8,["type","supportCopyText","effectTriggerTiming","style"]))}}),[["styles",[`@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotate-reverse{0%{transform:rotate(360deg)}to{transform:rotate(0)}}@keyframes jelly{0%,to{transform:scale(1)}25%{transform:scale(.9,1.1)}50%{transform:scale(1.1,.9)}75%{transform:scale(.95,1.05)}}@keyframes bounce{0%,20%,53%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0)}40%,43%{animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{transition-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0) scaleY(.95)}90%{transform:translate3d(0,-4px,0) scaleY(1.02)}}@keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}@keyframes pulse{0%{transform:scaleZ(1)}50%{transform:scale3d(1.05,1.05,1.05)}to{transform:scaleZ(1)}}@keyframes rubberBand{0%{transform:scaleZ(1)}30%{transform:scale3d(1.25,.75,1)}40%{transform:scale3d(.75,1.25,1)}50%{transform:scale3d(1.15,.85,1)}65%{transform:scale3d(.95,1.05,1)}75%{transform:scale3d(1.05,.95,1)}to{transform:scaleZ(1)}}@keyframes shakeX{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}@keyframes shakeY{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(0,-10px,0)}20%,40%,60%,80%{transform:translate3d(0,10px,0)}}@keyframes headShake{0%{transform:translate(0)}6.5%{transform:translate(-6px) rotateY(-9deg)}18.5%{transform:translate(5px) rotateY(7deg)}31.5%{transform:translate(-3px) rotateY(-5deg)}43.5%{transform:translate(2px) rotateY(3deg)}50%{transform:translate(0)}}@keyframes swing{20%{transform:rotate3d(0,0,1,15deg)}40%{transform:rotate3d(0,0,1,-10deg)}60%{transform:rotate3d(0,0,1,5deg)}80%{transform:rotate3d(0,0,1,-5deg)}to{transform:rotate3d(0,0,1,0)}}@keyframes tada{0%{transform:scaleZ(1)}10%,20%{transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{transform:scaleZ(1)}}@keyframes wobble{0%{transform:translateZ(0)}15%{transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{transform:translateZ(0)}}@keyframes jello{0%,11.1%,to{transform:translateZ(0)}22.2%{transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{transform:skew(6.25deg) skewY(6.25deg)}44.4%{transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{transform:skew(.390625deg) skewY(.390625deg)}88.8%{transform:skew(-.1953125deg) skewY(-.1953125deg)}}@keyframes heartBeat{0%{transform:scale(1)}14%{transform:scale(1.3)}28%{transform:scale(1)}42%{transform:scale(1.3)}70%{transform:scale(1)}}@keyframes backInLeft{0%{transform:translate(-2000px) scale(.7);opacity:.7}80%{transform:translate(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInRight{0%{transform:translate(2000px) scale(.7);opacity:.7}80%{transform:translate(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInUp{0%{transform:translateY(1200px) scale(.7);opacity:.7}80%{transform:translateY(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInDown{0%{transform:translateY(-1200px) scale(.7);opacity:.7}80%{transform:translateY(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backOutLeft{0%{transform:scale(1);opacity:1}20%{transform:translate(0) scale(.7);opacity:.7}to{transform:translate(-2000px) scale(.7);opacity:.7}}@keyframes backOutRight{0%{transform:scale(1);opacity:1}20%{transform:translate(0) scale(.7);opacity:.7}to{transform:translate(2000px) scale(.7);opacity:.7}}@keyframes backOutUp{0%{transform:scale(1);opacity:1}20%{transform:translateY(0) scale(.7);opacity:.7}to{transform:translateY(-700px) scale(.7);opacity:.7}}@keyframes backOutDown{0%{transform:scale(1);opacity:1}20%{transform:translateY(0) scale(.7);opacity:.7}to{transform:translateY(700px) scale(.7);opacity:.7}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:scale3d(.3,.3,.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(.9,.9,.9)}60%{opacity:1;transform:scale3d(1.03,1.03,1.03)}80%{transform:scale3d(.97,.97,.97)}to{opacity:1;transform:scaleZ(1)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;transform:translate3d(25px,0,0) scaleX(1)}75%{transform:translate3d(-10px,0,0) scaleX(.98)}90%{transform:translate3d(5px,0,0) scaleX(.995)}to{transform:translateZ(0)}}@keyframes bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;transform:translate3d(-25px,0,0) scaleX(1)}75%{transform:translate3d(10px,0,0) scaleX(.98)}90%{transform:translate3d(-5px,0,0) scaleX(.995)}to{transform:translateZ(0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;transform:translate3d(0,-20px,0) scaleY(.9)}75%{transform:translate3d(0,10px,0) scaleY(.95)}90%{transform:translate3d(0,-5px,0) scaleY(.985)}to{transform:translateZ(0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;transform:translate3d(0,25px,0) scaleY(.9)}75%{transform:translate3d(0,-10px,0) scaleY(.95)}90%{transform:translate3d(0,5px,0) scaleY(.985)}to{transform:translateZ(0)}}@keyframes bounceOut{20%{transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(.3,.3,.3)}}@keyframes bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0) scaleX(.9)}to{opacity:0;transform:translate3d(-2000px,0,0) scaleX(2)}}@keyframes bounceOutRight{20%{opacity:1;transform:translate3d(-20px,0,0) scaleX(.9)}to{opacity:0;transform:translate3d(2000px,0,0) scaleX(2)}}@keyframes bounceOutUp{20%{transform:translate3d(0,-10px,0) scaleY(.985)}40%,45%{opacity:1;transform:translate3d(0,20px,0) scaleY(.9)}to{opacity:0;transform:translate3d(0,-2000px,0) scaleY(3)}}@keyframes bounceOutDown{20%{transform:translate3d(0,10px,0) scaleY(.985)}40%,45%{opacity:1;transform:translate3d(0,-20px,0) scaleY(.9)}to{opacity:0;transform:translate3d(0,2000px,0) scaleY(3)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeInLeft{0%{opacity:0;transform:translate3d(-100%,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInLeftBig{0%{opacity:0;transform:translate3d(-2000px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInRight{0%{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInRightBig{0%{opacity:0;transform:translate3d(2000px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInUp{0%{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInUpBig{0%{opacity:0;transform:translate3d(0,2000px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInDown{0%{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInDownBig{0%{opacity:0;transform:translate3d(0,-2000px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInTopLeft{0%{opacity:0;transform:translate3d(-100%,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInTopRight{0%{opacity:0;transform:translate3d(100%,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInBottomLeft{0%{opacity:0;transform:translate3d(-100%,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInBottomRight{0%{opacity:0;transform:translate3d(100%,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}@keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes fadeOutRight{0%{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}@keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;transform:translate3d(2000px,0,0)}}@keyframes fadeOutUp{0%{opacity:1}to{opacity:0;transform:translate3d(0,-100%,0)}}@keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes fadeOutDown{0%{opacity:1}to{opacity:0;transform:translate3d(0,100%,0)}}@keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;transform:translate3d(0,2000px,0)}}@keyframes fadeOutTopLeft{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(-100%,-100%,0)}}@keyframes fadeOutTopRight{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(100%,-100%,0)}}@keyframes fadeOutBottomRight{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(100%,100%,0)}}@keyframes fadeOutBottomLeft{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(-100%,100%,0)}}@keyframes flip{0%{transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(-360deg);animation-timing-function:ease-out}40%{transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-190deg);animation-timing-function:ease-out}50%{transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-170deg);animation-timing-function:ease-in}80%{transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);animation-timing-function:ease-in}to{transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(0);animation-timing-function:ease-in}}@keyframes flipInX{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes flipInY{0%{transform:perspective(400px) rotateY(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateY(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateY(10deg);opacity:1}80%{transform:perspective(400px) rotateY(-5deg)}to{transform:perspective(400px)}}@keyframes flipOutX{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateX(-20deg);opacity:1}to{transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes flipOutY{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateY(-15deg);opacity:1}to{transform:perspective(400px) rotateY(90deg);opacity:0}}@keyframes flipOutRight{to{transform:translateZ(-1000px) rotateY(90deg);opacity:.2}}@keyframes flipInLeft{0%{transform:translateZ(-1000px) rotateY(-90deg);opacity:.2}}@keyframes flipOutLeft{to{transform:translateZ(-1000px) rotateY(-90deg);opacity:.2}}@keyframes flipInRight{0%{transform:translateZ(-1000px) rotateY(90deg);opacity:.2}}@keyframes flipOutTop{to{transform:translateZ(-1000px) rotateX(90deg);opacity:.2}}@keyframes flipInBottom{0%{transform:translateZ(-1000px) rotateX(-90deg);opacity:.2}}@keyframes flipOutBottom{to{transform:translateZ(-1000px) rotateX(-90deg);opacity:.2}}@keyframes flipInTop{0%{transform:translateZ(-1000px) rotateX(90deg);opacity:.2}}@keyframes lightSpeedInLeft{0%{transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{transform:skew(-20deg);opacity:1}80%{transform:skew(5deg)}to{transform:translateZ(0)}}@keyframes lightSpeedInRight{0%{transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{transform:skew(20deg);opacity:1}80%{transform:skew(-5deg)}to{transform:translateZ(0)}}@keyframes lightSpeedOutLeft{0%{opacity:1}to{transform:translate3d(-100%,0,0) skew(-30deg);opacity:0}}@keyframes lightSpeedOutRight{0%{opacity:1}to{transform:translate3d(100%,0,0) skew(30deg);opacity:0}}@keyframes rotateIn{0%{transform:rotate3d(0,0,1,-200deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInUpLeft{0%{transform:rotate3d(0,0,1,45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInUpRight{0%{transform:rotate3d(0,0,1,-90deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInDownLeft{0%{transform:rotate3d(0,0,1,-45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInDownRight{0%{transform:rotate3d(0,0,1,45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateOut{0%{opacity:1}to{transform:rotate3d(0,0,1,200deg);opacity:0}}@keyframes rotateOutUpLeft{0%{opacity:1}to{transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutUpRight{0%{opacity:1}to{transform:rotate3d(0,0,1,90deg);opacity:0}}@keyframes rotateOutDownLeft{0%{opacity:1}to{transform:rotate3d(0,0,1,45deg);opacity:0}}@keyframes rotateOutDownRight{0%{opacity:1}to{transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes hinge{0%{animation-timing-function:ease-in-out}20%,60%{transform:rotate3d(0,0,1,80deg);animation-timing-function:ease-in-out}40%,80%{transform:rotate3d(0,0,1,60deg);animation-timing-function:ease-in-out;opacity:1}to{transform:translate3d(0,700px,0);opacity:0}}@keyframes rotateFall{0%{transform:rotate(0)}20%{transform:rotate(10deg);animation-timing-function:ease-out}40%{transform:rotate(17deg)}60%{transform:rotate(16deg)}to{transform:translateY(100%) rotate(17deg)}}@keyframes rotateOutNewspaper{to{transform:translateZ(-3000px) rotate(360deg);opacity:0}}@keyframes rotateInNewspaper{0%{transform:translateZ(-3000px) rotate(-360deg);opacity:0}}@keyframes jackInTheBox{0%{opacity:0;transform:scale(.1) rotate(30deg);transform-origin:center bottom}50%{transform:rotate(-10deg)}70%{transform:rotate(3deg)}to{opacity:1;transform:scale(1)}}@keyframes rollIn{0%{opacity:0;transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;transform:translateZ(0)}}@keyframes rollOut{0%{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}@keyframes zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomInLeft{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInRight{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInUp{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInDown{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes zoomOutLeft{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;transform:scale(.1) translate3d(-2000px,0,0)}}@keyframes zoomOutRight{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;transform:scale(.1) translate3d(2000px,0,0)}}@keyframes zoomOutUp{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutDown{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes slideInLeft{0%{transform:translate3d(-100%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInRight{0%{transform:translate3d(100%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInUp{0%{transform:translate3d(0,100%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInDown{0%{transform:translate3d(0,-100%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideOutLeft{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(-100%,0,0)}}@keyframes slideOutRight{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(100%,0,0)}}@keyframes slideOutUp{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,-100%,0)}}@keyframes slideOutDown{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,100%,0)}}@keyframes rotateRightSideFirst{40%{transform:rotateY(15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateLeftSideFirst{40%{transform:rotateY(-15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateTopSideFirst{40%{transform:rotateX(15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateBottomSideFirst{40%{transform:rotateX(-15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotatePushLeft{to{opacity:0;transform:rotateY(90deg)}}@keyframes rotatePushRight{to{opacity:0;transform:rotateY(-90deg)}}@keyframes rotatePushTop{to{opacity:0;transform:rotateX(-90deg)}}@keyframes rotatePushBottom{to{opacity:0;transform:rotateX(90deg)}}@keyframes rotatePullRight{0%{opacity:0;transform:rotateY(-90deg)}}@keyframes rotatePullLeft{0%{opacity:0;transform:rotateY(90deg)}}@keyframes rotatePullTop{0%{opacity:0;transform:rotateX(-90deg)}}@keyframes rotatePullBottom{0%{opacity:0;transform:rotateX(90deg)}}@keyframes rotateFoldRight{to{opacity:0;transform:translate(100%) rotateY(90deg)}}@keyframes rotateFoldLeft{to{opacity:0;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateFoldTop{to{opacity:0;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateFoldBottom{to{opacity:0;transform:translateY(100%) rotateX(-90deg)}}@keyframes rotateUnfoldLeft{0%{opacity:0;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateUnfoldRight{0%{opacity:0;transform:translate(100%) rotateY(90deg)}}@keyframes rotateUnfoldTop{0%{opacity:0;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateUnfoldBottom{0%{opacity:0;transform:translateY(100%) rotateX(-90deg)}}@keyframes moveToLeft{to{transform:translate(-100%)}}@keyframes moveFromLeft{0%{transform:translate(-100%)}}@keyframes moveToRight{to{transform:translate(100%)}}@keyframes moveFromRight{0%{transform:translate(100%)}}@keyframes moveToTop{to{transform:translateY(-100%)}}@keyframes moveFromTop{0%{transform:translateY(-100%)}}@keyframes moveToBottom{to{transform:translateY(100%)}}@keyframes moveFromBottom{0%{transform:translateY(100%)}}@keyframes fade{to{opacity:.3}}@keyframes moveToLeftFade{to{opacity:.3;transform:translate(-100%)}}@keyframes moveFromLeftFade{0%{opacity:.3;transform:translate(-100%)}}@keyframes moveToRightFade{to{opacity:.3;transform:translate(100%)}}@keyframes moveFromRightFade{0%{opacity:.3;transform:translate(100%)}}@keyframes moveToTopFade{to{opacity:.3;transform:translateY(-100%)}}@keyframes moveFromTopFade{0%{opacity:.3;transform:translateY(-100%)}}@keyframes moveToBottomFade{to{opacity:.3;transform:translateY(100%)}}@keyframes moveFromBottomFade{0%{opacity:.3;transform:translateY(100%)}}@keyframes scaleToSmall{to{opacity:0;transform:scale(.8)}}@keyframes scaleFromSmall{0%{opacity:0;transform:scale(.8)}}@keyframes scaleFromLarge{0%{opacity:0;transform:scale(1.2)}}@keyframes scaleToLarge{to{opacity:0;transform:scale(1.2)}}@keyframes scaleToSmallCenter{to{opacity:0;transform:scale(.7)}}@keyframes scaleFromSmallCenter{0%{opacity:0;transform:scale(.7)}}@keyframes rotateRoomLeftOut{to{opacity:.3;transform:translate(-100%) rotateY(90deg)}}@keyframes rotateRoomLeftIn{0%{opacity:.3;transform:translate(100%) rotateY(-90deg)}}@keyframes rotateRoomRightOut{to{opacity:.3;transform:translate(100%) rotateY(-90deg)}}@keyframes rotateRoomRightIn{0%{opacity:.3;transform:translate(-100%) rotateY(90deg)}}@keyframes rotateRoomTopOut{to{opacity:.3;transform:translateY(-100%) rotateX(-90deg)}}@keyframes rotateRoomTopIn{0%{opacity:.3;transform:translateY(100%) rotateX(90deg)}}@keyframes rotateRoomBottomOut{to{opacity:.3;transform:translateY(100%) rotateX(90deg)}}@keyframes rotateRoomBottomIn{0%{opacity:.3;transform:translateY(-100%) rotateX(-90deg)}}@keyframes rotateCubeLeftOut{50%{animation-timing-function:ease-out;transform:translate(-50%) translateZ(-200px) rotateY(-45deg)}to{opacity:.3;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateCubeLeftIn{0%{opacity:.3;transform:translate(100%) rotateY(90deg)}50%{animation-timing-function:ease-out;transform:translate(50%) translateZ(-200px) rotateY(45deg)}}@keyframes rotateCubeRightOut{50%{animation-timing-function:ease-out;transform:translate(50%) translateZ(-200px) rotateY(45deg)}to{opacity:.3;transform:translate(100%) rotateY(90deg)}}@keyframes rotateCubeRightIn{0%{opacity:.3;transform:translate(-100%) rotateY(-90deg)}50%{animation-timing-function:ease-out;transform:translate(-50%) translateZ(-200px) rotateY(-45deg)}}@keyframes rotateCubeTopOut{50%{animation-timing-function:ease-out;transform:translateY(-50%) translateZ(-200px) rotateX(45deg)}to{opacity:.3;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateCubeTopIn{0%{opacity:.3;transform:translateY(100%) rotateX(-90deg)}50%{animation-timing-function:ease-out;transform:translateY(50%) translateZ(-200px) rotateX(-45deg)}}@keyframes rotateCubeBottomOut{50%{animation-timing-function:ease-out;transform:translateY(50%) translateZ(-200px) rotateX(-45deg)}to{opacity:.3;transform:translateY(100%) rotateX(-90deg)}}@keyframes rotateCubeBottomIn{0%{opacity:.3;transform:translateY(-100%) rotateX(90deg)}50%{animation-timing-function:ease-out;transform:translateY(-50%) translateZ(-200px) rotateX(45deg)}}@keyframes rotateCarouselLeftOut{to{opacity:.3;transform:translate(-150%) scale(.4) rotateY(-65deg)}}@keyframes rotateCarouselLeftIn{0%{opacity:.3;transform:translate(200%) scale(.4) rotateY(65deg)}}@keyframes rotateCarouselRightOut{to{opacity:.3;transform:translate(200%) scale(.4) rotateY(65deg)}}@keyframes rotateCarouselRightIn{0%{opacity:.3;transform:translate(-200%) scale(.4) rotateY(-65deg)}}@keyframes rotateCarouselTopOut{to{opacity:.3;transform:translateY(-200%) scale(.4) rotateX(65deg)}}@keyframes rotateCarouselTopIn{0%{opacity:.3;transform:translateY(200%) scale(.4) rotateX(-65deg)}}@keyframes rotateCarouselBottomOut{to{opacity:.3;transform:translateY(200%) scale(.4) rotateX(-65deg)}}@keyframes rotateCarouselBottomIn{0%{opacity:.3;transform:translateY(-200%) scale(.4) rotateX(65deg)}}@keyframes rotateSidesOut{to{opacity:0;transform:translateZ(-500px) rotateY(90deg)}}@keyframes rotateSidesIn{0%{opacity:0;transform:translateZ(-500px) rotateY(-90deg)}}@keyframes rotateSlideOut{25%{opacity:.5;transform:translateZ(-500px)}75%{opacity:.5;transform:translateZ(-500px) translate(-200%)}to{opacity:.5;transform:translateZ(-500px) translate(-200%)}}@keyframes rotateSlideIn{0%,25%{opacity:.5;transform:translateZ(-500px) translate(200%)}75%{opacity:.5;transform:translateZ(-500px)}to{opacity:1;transform:translateZ(0) translate(0)}}@keyframes superRainbow{0%{background:red}20%{background:orange}40%{background:yellow}60%{background:green}80%{background:blue}to{background:violet}}.superRainbow{background-position:0 0;background-size:200% 100%;background-image:linear-gradient(90deg,red,orange,yellow,green,blue,violet)}.superRainbow:hover{background-position:-100% 100%}@keyframes statusProcessing{0%{transform:scale(.8);opacity:.5}to{transform:scale(2.4);opacity:0}}
|
|
89
|
+
`]]]),Ba=st(V({customOptions:{Container:ht},inheritAttrs:!0,__name:"CSSAnimation.ce",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!1},effectTriggerTiming:{default:"mouseMove"},name:{default:"jelly"},timingFunction:{},duration:{},delay:{},repeat:{},direction:{},fillMode:{default:"both"},playState:{default:"running"},perspective:{default:"1200px"}},emits:["cssanimationstart","cssanimationend"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=Wt({}),a=Wt({});let i=n.name,l=n.duration,c=n.timingFunction,u=n.delay,f=n.repeat,d=n.direction;function h(w){switch(i=w,i){case"superRainbow":l=n.duration||15e3;break;case"heartBeat":l=n.duration||1300;break;case"statusProcessing":l=n.duration||1200;break;case"rotateFall":case"rotateSlideOut":case"rotateSlideIn":l=n.duration||1e3;break;case"rotateRightSideFirst":case"rotateLeftSideFirst":case"rotateTopSideFirst":case"rotateBottomSideFirst":case"rotatePushLeft":case"rotatePushRight":case"rotatePushTop":case"rotatePushBottom":case"rotateRoomLeftOut":case"rotateRoomLeftIn":case"rotateRoomRightOut":case"rotateRoomRightIn":case"rotateRoomTopOut":case"rotateRoomTopIn":case"rotateRoomBottomOut":case"rotateRoomBottomIn":case"rotateCarouselLeftOut":case"rotateCarouselLeftIn":case"rotateCarouselRightOut":case"rotateCarouselRightIn":case"rotateCarouselTopOut":case"rotateCarouselTopIn":case"rotateCarouselBottomOut":case"rotateCarouselBottomIn":l=n.duration||800;break;case"bounceIn":case"bounceOut":case"flipOutX":case"hinge":l=n.duration||750;break;case"rotateFoldRight":case"rotateFoldLeft":case"rotateFoldTop":case"rotateFoldBottom":case"rotateUnfoldLeft":case"rotateUnfoldRight":case"rotateUnfoldTop":case"rotateUnfoldBottom":case"fade":case"moveFromLeftFade":case"moveToLeftFade":case"moveFromRightFade":case"moveToRightFade":case"moveFromTopFade":case"moveToTopFade":case"moveFromBottomFade":case"moveToBottomFade":l=n.duration||700;break;case"moveFromLeft":case"moveToLeft":case"moveFromRight":case"moveToRight":case"moveFromTop":case"moveToTop":case"moveFromBottom":case"moveToBottom":case"rotateCubeLeftOut":case"rotateCubeLeftIn":case"rotateCubeRightOut":case"rotateCubeRightIn":case"rotateCubeTopOut":case"rotateCubeTopIn":case"rotateCubeBottomOut":case"rotateCubeBottomIn":l=n.duration||600;break;default:l=n.duration||500;break}switch(i){case"superRainbow":c=n.timingFunction||"linear";break;case"lightSpeedOutLeft":case"lightSpeedOutRight":case"rotateRightSideFirst":case"rotateLeftSideFirst":case"rotateTopSideFirst":case"rotateBottomSideFirst":case"flipOutRight":case"flipOutLeft":case"flipOutTop":case"flipOutBottom":case"rotateFall":case"rotateOutNewspaper":case"rotateCubeLeftOut":case"rotateCubeLeftIn":case"rotateCubeRightOut":case"rotateCubeRightIn":case"rotateCubeTopOut":case"rotateCubeTopIn":case"rotateCubeBottomOut":case"rotateCubeBottomIn":case"rotateSidesOut":c=n.timingFunction||"ease-in";break;case"lightSpeedInLeft":case"lightSpeedInRight":case"flipInLeft":case"flipInRight":case"flipInBottom":case"flipInTop":case"rotateInNewspaper":case"rotateSidesIn":c=n.timingFunction||"ease-out";break;case"pulse":case"headShake":case"heartBeat":case"statusProcessing":c=n.timingFunction||"ease-in-out";break;default:c=n.timingFunction||"ease";break}switch(i){default:u=n.delay||0;break}switch(i){case"superRainbow":case"statusProcessing":f=n.repeat||"infinite";break;default:f=n.repeat||1;break}switch(i){case"superRainbow":d=n.direction||"alternate";break;default:d=n.direction||"normal";break}switch(i){case"hinge":case"rotateFall":a.transformOrigin="left top";break;case"zoomOutLeft":case"rotateRightSideFirst":case"rotatePushLeft":case"rotatePullLeft":case"rotateFoldRight":case"rotateUnfoldRight":case"rotateRoomLeftIn":case"rotateRoomRightOut":case"rotateCubeLeftIn":case"rotateCubeRightOut":a.transformOrigin="left center";break;case"rotateInUpLeft":case"rotateInDownLeft":case"rotateOutUpLeft":case"rotateOutDownLeft":a.transformOrigin="left bottom";break;case"swing":case"zoomOutUp":case"rotateBottomSideFirst":case"rotatePushTop":case"rotatePullTop":case"rotateFoldBottom":case"rotateUnfoldBottom":case"rotateRoomTopIn":case"rotateRoomBottomOut":case"rotateCubeTopIn":case"rotateCubeBottomOut":a.transformOrigin="center top";break;case"bounce":case"zoomOutDown":case"rotateTopSideFirst":case"rotatePushBottom":case"rotatePullBottom":case"rotateFoldTop":case"rotateUnfoldTop":case"rotateRoomTopOut":case"rotateRoomBottomIn":case"rotateCubeTopOut":case"rotateCubeBottomIn":a.transformOrigin="center bottom";break;case"zoomOutRight":case"rotateLeftSideFirst":case"rotatePushRight":case"rotatePullRight":case"rotateFoldLeft":case"rotateUnfoldLeft":case"rotateRoomLeftOut":case"rotateRoomRightIn":case"rotateCubeLeftOut":case"rotateCubeRightIn":a.transformOrigin="right center";break;case"rotateInUpRight":case"rotateInDownRight":case"rotateOutUpRight":case"rotateOutDownRight":a.transformOrigin="right bottom";break;default:delete a.transformOrigin;break}switch(i){case"jelly":case"bounce":case"flash":case"pulse":case"rubberBand":case"shakeX":case"shakeY":case"headShake":case"swing":case"tada":case"wobble":case"jello":case"heartBeat":case"bounceIn":case"fadeIn":case"fadeOut":case"flip":case"flipInX":case"flipInY":case"flipOutX":case"flipOutY":case"hinge":case"jackInTheBox":r.overflow="visible";break;default:r.overflow="hidden";break}switch(i){case"flip":case"flipInX":case"flipInY":case"flipOutX":case"flipOutY":a.backfaceVisibility="visible";break;default:delete a.backfaceVisibility;break}}const p=P(),b=w=>{r.perspective=n.perspective,w.eb.on("animationstart",$=>{s("cssanimationstart",$.animationName)}),w.eb.on("animationend",$=>{s("cssanimationend",$.animationName)})};function x(){p.value.style.animation="none",p.value.offsetHeight,p.value.style.animation=null}const k=()=>{a.animation="none"},g=()=>{x(),a.animation=`${l}ms ${c} ${u}ms ${f} ${d} ${n.fillMode} ${n.playState} ${i}`},m=w=>{w&&h(w),k(),d="normal",g()},y=w=>{w&&h(w),k(),d="reverse",g()},_=()=>{a.animation="none"};return Rt(()=>n.name,()=>{h(n.name)},{immediate:!0}),t({trigger:m,triggerReverse:y,clear:_}),(w,$)=>(I(),dt(ht,{class:"css-animation",type:n.containerType,supportCopyText:n.supportCopyText,effectTriggerTiming:n.effectTriggerTiming,style:N(r),onReady:b,onStart:k,onEnd:g},{default:W(()=>[v("div",{class:"css-animation-inner",ref_key:"animationRef",ref:p,style:N({position:"relative",display:"block",width:"100%",height:"100%",cursor:"pointer",transformStyle:"preserve-3d",...a})},[mt(w.$slots,"default")],4)]),_:3},8,["type","supportCopyText","effectTriggerTiming","style"]))}}),[["styles",[`@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotate-reverse{0%{transform:rotate(360deg)}to{transform:rotate(0)}}@keyframes jelly{0%,to{transform:scale(1)}25%{transform:scale(.9,1.1)}50%{transform:scale(1.1,.9)}75%{transform:scale(.95,1.05)}}@keyframes bounce{0%,20%,53%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0)}40%,43%{animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{transition-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0) scaleY(.95)}90%{transform:translate3d(0,-4px,0) scaleY(1.02)}}@keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}@keyframes pulse{0%{transform:scaleZ(1)}50%{transform:scale3d(1.05,1.05,1.05)}to{transform:scaleZ(1)}}@keyframes rubberBand{0%{transform:scaleZ(1)}30%{transform:scale3d(1.25,.75,1)}40%{transform:scale3d(.75,1.25,1)}50%{transform:scale3d(1.15,.85,1)}65%{transform:scale3d(.95,1.05,1)}75%{transform:scale3d(1.05,.95,1)}to{transform:scaleZ(1)}}@keyframes shakeX{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}@keyframes shakeY{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(0,-10px,0)}20%,40%,60%,80%{transform:translate3d(0,10px,0)}}@keyframes headShake{0%{transform:translate(0)}6.5%{transform:translate(-6px) rotateY(-9deg)}18.5%{transform:translate(5px) rotateY(7deg)}31.5%{transform:translate(-3px) rotateY(-5deg)}43.5%{transform:translate(2px) rotateY(3deg)}50%{transform:translate(0)}}@keyframes swing{20%{transform:rotate3d(0,0,1,15deg)}40%{transform:rotate3d(0,0,1,-10deg)}60%{transform:rotate3d(0,0,1,5deg)}80%{transform:rotate3d(0,0,1,-5deg)}to{transform:rotate3d(0,0,1,0)}}@keyframes tada{0%{transform:scaleZ(1)}10%,20%{transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{transform:scaleZ(1)}}@keyframes wobble{0%{transform:translateZ(0)}15%{transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{transform:translateZ(0)}}@keyframes jello{0%,11.1%,to{transform:translateZ(0)}22.2%{transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{transform:skew(6.25deg) skewY(6.25deg)}44.4%{transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{transform:skew(.390625deg) skewY(.390625deg)}88.8%{transform:skew(-.1953125deg) skewY(-.1953125deg)}}@keyframes heartBeat{0%{transform:scale(1)}14%{transform:scale(1.3)}28%{transform:scale(1)}42%{transform:scale(1.3)}70%{transform:scale(1)}}@keyframes backInLeft{0%{transform:translate(-2000px) scale(.7);opacity:.7}80%{transform:translate(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInRight{0%{transform:translate(2000px) scale(.7);opacity:.7}80%{transform:translate(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInUp{0%{transform:translateY(1200px) scale(.7);opacity:.7}80%{transform:translateY(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInDown{0%{transform:translateY(-1200px) scale(.7);opacity:.7}80%{transform:translateY(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backOutLeft{0%{transform:scale(1);opacity:1}20%{transform:translate(0) scale(.7);opacity:.7}to{transform:translate(-2000px) scale(.7);opacity:.7}}@keyframes backOutRight{0%{transform:scale(1);opacity:1}20%{transform:translate(0) scale(.7);opacity:.7}to{transform:translate(2000px) scale(.7);opacity:.7}}@keyframes backOutUp{0%{transform:scale(1);opacity:1}20%{transform:translateY(0) scale(.7);opacity:.7}to{transform:translateY(-700px) scale(.7);opacity:.7}}@keyframes backOutDown{0%{transform:scale(1);opacity:1}20%{transform:translateY(0) scale(.7);opacity:.7}to{transform:translateY(700px) scale(.7);opacity:.7}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:scale3d(.3,.3,.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(.9,.9,.9)}60%{opacity:1;transform:scale3d(1.03,1.03,1.03)}80%{transform:scale3d(.97,.97,.97)}to{opacity:1;transform:scaleZ(1)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;transform:translate3d(25px,0,0) scaleX(1)}75%{transform:translate3d(-10px,0,0) scaleX(.98)}90%{transform:translate3d(5px,0,0) scaleX(.995)}to{transform:translateZ(0)}}@keyframes bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;transform:translate3d(-25px,0,0) scaleX(1)}75%{transform:translate3d(10px,0,0) scaleX(.98)}90%{transform:translate3d(-5px,0,0) scaleX(.995)}to{transform:translateZ(0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;transform:translate3d(0,-20px,0) scaleY(.9)}75%{transform:translate3d(0,10px,0) scaleY(.95)}90%{transform:translate3d(0,-5px,0) scaleY(.985)}to{transform:translateZ(0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;transform:translate3d(0,25px,0) scaleY(.9)}75%{transform:translate3d(0,-10px,0) scaleY(.95)}90%{transform:translate3d(0,5px,0) scaleY(.985)}to{transform:translateZ(0)}}@keyframes bounceOut{20%{transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(.3,.3,.3)}}@keyframes bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0) scaleX(.9)}to{opacity:0;transform:translate3d(-2000px,0,0) scaleX(2)}}@keyframes bounceOutRight{20%{opacity:1;transform:translate3d(-20px,0,0) scaleX(.9)}to{opacity:0;transform:translate3d(2000px,0,0) scaleX(2)}}@keyframes bounceOutUp{20%{transform:translate3d(0,-10px,0) scaleY(.985)}40%,45%{opacity:1;transform:translate3d(0,20px,0) scaleY(.9)}to{opacity:0;transform:translate3d(0,-2000px,0) scaleY(3)}}@keyframes bounceOutDown{20%{transform:translate3d(0,10px,0) scaleY(.985)}40%,45%{opacity:1;transform:translate3d(0,-20px,0) scaleY(.9)}to{opacity:0;transform:translate3d(0,2000px,0) scaleY(3)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeInLeft{0%{opacity:0;transform:translate3d(-100%,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInLeftBig{0%{opacity:0;transform:translate3d(-2000px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInRight{0%{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInRightBig{0%{opacity:0;transform:translate3d(2000px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInUp{0%{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInUpBig{0%{opacity:0;transform:translate3d(0,2000px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInDown{0%{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInDownBig{0%{opacity:0;transform:translate3d(0,-2000px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInTopLeft{0%{opacity:0;transform:translate3d(-100%,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInTopRight{0%{opacity:0;transform:translate3d(100%,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInBottomLeft{0%{opacity:0;transform:translate3d(-100%,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInBottomRight{0%{opacity:0;transform:translate3d(100%,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}@keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes fadeOutRight{0%{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}@keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;transform:translate3d(2000px,0,0)}}@keyframes fadeOutUp{0%{opacity:1}to{opacity:0;transform:translate3d(0,-100%,0)}}@keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes fadeOutDown{0%{opacity:1}to{opacity:0;transform:translate3d(0,100%,0)}}@keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;transform:translate3d(0,2000px,0)}}@keyframes fadeOutTopLeft{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(-100%,-100%,0)}}@keyframes fadeOutTopRight{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(100%,-100%,0)}}@keyframes fadeOutBottomRight{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(100%,100%,0)}}@keyframes fadeOutBottomLeft{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(-100%,100%,0)}}@keyframes flip{0%{transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(-360deg);animation-timing-function:ease-out}40%{transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-190deg);animation-timing-function:ease-out}50%{transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-170deg);animation-timing-function:ease-in}80%{transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);animation-timing-function:ease-in}to{transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(0);animation-timing-function:ease-in}}@keyframes flipInX{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes flipInY{0%{transform:perspective(400px) rotateY(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateY(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateY(10deg);opacity:1}80%{transform:perspective(400px) rotateY(-5deg)}to{transform:perspective(400px)}}@keyframes flipOutX{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateX(-20deg);opacity:1}to{transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes flipOutY{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateY(-15deg);opacity:1}to{transform:perspective(400px) rotateY(90deg);opacity:0}}@keyframes flipOutRight{to{transform:translateZ(-1000px) rotateY(90deg);opacity:.2}}@keyframes flipInLeft{0%{transform:translateZ(-1000px) rotateY(-90deg);opacity:.2}}@keyframes flipOutLeft{to{transform:translateZ(-1000px) rotateY(-90deg);opacity:.2}}@keyframes flipInRight{0%{transform:translateZ(-1000px) rotateY(90deg);opacity:.2}}@keyframes flipOutTop{to{transform:translateZ(-1000px) rotateX(90deg);opacity:.2}}@keyframes flipInBottom{0%{transform:translateZ(-1000px) rotateX(-90deg);opacity:.2}}@keyframes flipOutBottom{to{transform:translateZ(-1000px) rotateX(-90deg);opacity:.2}}@keyframes flipInTop{0%{transform:translateZ(-1000px) rotateX(90deg);opacity:.2}}@keyframes lightSpeedInLeft{0%{transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{transform:skew(-20deg);opacity:1}80%{transform:skew(5deg)}to{transform:translateZ(0)}}@keyframes lightSpeedInRight{0%{transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{transform:skew(20deg);opacity:1}80%{transform:skew(-5deg)}to{transform:translateZ(0)}}@keyframes lightSpeedOutLeft{0%{opacity:1}to{transform:translate3d(-100%,0,0) skew(-30deg);opacity:0}}@keyframes lightSpeedOutRight{0%{opacity:1}to{transform:translate3d(100%,0,0) skew(30deg);opacity:0}}@keyframes rotateIn{0%{transform:rotate3d(0,0,1,-200deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInUpLeft{0%{transform:rotate3d(0,0,1,45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInUpRight{0%{transform:rotate3d(0,0,1,-90deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInDownLeft{0%{transform:rotate3d(0,0,1,-45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInDownRight{0%{transform:rotate3d(0,0,1,45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateOut{0%{opacity:1}to{transform:rotate3d(0,0,1,200deg);opacity:0}}@keyframes rotateOutUpLeft{0%{opacity:1}to{transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutUpRight{0%{opacity:1}to{transform:rotate3d(0,0,1,90deg);opacity:0}}@keyframes rotateOutDownLeft{0%{opacity:1}to{transform:rotate3d(0,0,1,45deg);opacity:0}}@keyframes rotateOutDownRight{0%{opacity:1}to{transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes hinge{0%{animation-timing-function:ease-in-out}20%,60%{transform:rotate3d(0,0,1,80deg);animation-timing-function:ease-in-out}40%,80%{transform:rotate3d(0,0,1,60deg);animation-timing-function:ease-in-out;opacity:1}to{transform:translate3d(0,700px,0);opacity:0}}@keyframes rotateFall{0%{transform:rotate(0)}20%{transform:rotate(10deg);animation-timing-function:ease-out}40%{transform:rotate(17deg)}60%{transform:rotate(16deg)}to{transform:translateY(100%) rotate(17deg)}}@keyframes rotateOutNewspaper{to{transform:translateZ(-3000px) rotate(360deg);opacity:0}}@keyframes rotateInNewspaper{0%{transform:translateZ(-3000px) rotate(-360deg);opacity:0}}@keyframes jackInTheBox{0%{opacity:0;transform:scale(.1) rotate(30deg);transform-origin:center bottom}50%{transform:rotate(-10deg)}70%{transform:rotate(3deg)}to{opacity:1;transform:scale(1)}}@keyframes rollIn{0%{opacity:0;transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;transform:translateZ(0)}}@keyframes rollOut{0%{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}@keyframes zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomInLeft{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInRight{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInUp{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInDown{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes zoomOutLeft{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;transform:scale(.1) translate3d(-2000px,0,0)}}@keyframes zoomOutRight{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;transform:scale(.1) translate3d(2000px,0,0)}}@keyframes zoomOutUp{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutDown{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes slideInLeft{0%{transform:translate3d(-100%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInRight{0%{transform:translate3d(100%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInUp{0%{transform:translate3d(0,100%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInDown{0%{transform:translate3d(0,-100%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideOutLeft{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(-100%,0,0)}}@keyframes slideOutRight{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(100%,0,0)}}@keyframes slideOutUp{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,-100%,0)}}@keyframes slideOutDown{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,100%,0)}}@keyframes rotateRightSideFirst{40%{transform:rotateY(15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateLeftSideFirst{40%{transform:rotateY(-15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateTopSideFirst{40%{transform:rotateX(15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateBottomSideFirst{40%{transform:rotateX(-15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotatePushLeft{to{opacity:0;transform:rotateY(90deg)}}@keyframes rotatePushRight{to{opacity:0;transform:rotateY(-90deg)}}@keyframes rotatePushTop{to{opacity:0;transform:rotateX(-90deg)}}@keyframes rotatePushBottom{to{opacity:0;transform:rotateX(90deg)}}@keyframes rotatePullRight{0%{opacity:0;transform:rotateY(-90deg)}}@keyframes rotatePullLeft{0%{opacity:0;transform:rotateY(90deg)}}@keyframes rotatePullTop{0%{opacity:0;transform:rotateX(-90deg)}}@keyframes rotatePullBottom{0%{opacity:0;transform:rotateX(90deg)}}@keyframes rotateFoldRight{to{opacity:0;transform:translate(100%) rotateY(90deg)}}@keyframes rotateFoldLeft{to{opacity:0;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateFoldTop{to{opacity:0;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateFoldBottom{to{opacity:0;transform:translateY(100%) rotateX(-90deg)}}@keyframes rotateUnfoldLeft{0%{opacity:0;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateUnfoldRight{0%{opacity:0;transform:translate(100%) rotateY(90deg)}}@keyframes rotateUnfoldTop{0%{opacity:0;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateUnfoldBottom{0%{opacity:0;transform:translateY(100%) rotateX(-90deg)}}@keyframes moveToLeft{to{transform:translate(-100%)}}@keyframes moveFromLeft{0%{transform:translate(-100%)}}@keyframes moveToRight{to{transform:translate(100%)}}@keyframes moveFromRight{0%{transform:translate(100%)}}@keyframes moveToTop{to{transform:translateY(-100%)}}@keyframes moveFromTop{0%{transform:translateY(-100%)}}@keyframes moveToBottom{to{transform:translateY(100%)}}@keyframes moveFromBottom{0%{transform:translateY(100%)}}@keyframes fade{to{opacity:.3}}@keyframes moveToLeftFade{to{opacity:.3;transform:translate(-100%)}}@keyframes moveFromLeftFade{0%{opacity:.3;transform:translate(-100%)}}@keyframes moveToRightFade{to{opacity:.3;transform:translate(100%)}}@keyframes moveFromRightFade{0%{opacity:.3;transform:translate(100%)}}@keyframes moveToTopFade{to{opacity:.3;transform:translateY(-100%)}}@keyframes moveFromTopFade{0%{opacity:.3;transform:translateY(-100%)}}@keyframes moveToBottomFade{to{opacity:.3;transform:translateY(100%)}}@keyframes moveFromBottomFade{0%{opacity:.3;transform:translateY(100%)}}@keyframes scaleToSmall{to{opacity:0;transform:scale(.8)}}@keyframes scaleFromSmall{0%{opacity:0;transform:scale(.8)}}@keyframes scaleFromLarge{0%{opacity:0;transform:scale(1.2)}}@keyframes scaleToLarge{to{opacity:0;transform:scale(1.2)}}@keyframes scaleToSmallCenter{to{opacity:0;transform:scale(.7)}}@keyframes scaleFromSmallCenter{0%{opacity:0;transform:scale(.7)}}@keyframes rotateRoomLeftOut{to{opacity:.3;transform:translate(-100%) rotateY(90deg)}}@keyframes rotateRoomLeftIn{0%{opacity:.3;transform:translate(100%) rotateY(-90deg)}}@keyframes rotateRoomRightOut{to{opacity:.3;transform:translate(100%) rotateY(-90deg)}}@keyframes rotateRoomRightIn{0%{opacity:.3;transform:translate(-100%) rotateY(90deg)}}@keyframes rotateRoomTopOut{to{opacity:.3;transform:translateY(-100%) rotateX(-90deg)}}@keyframes rotateRoomTopIn{0%{opacity:.3;transform:translateY(100%) rotateX(90deg)}}@keyframes rotateRoomBottomOut{to{opacity:.3;transform:translateY(100%) rotateX(90deg)}}@keyframes rotateRoomBottomIn{0%{opacity:.3;transform:translateY(-100%) rotateX(-90deg)}}@keyframes rotateCubeLeftOut{50%{animation-timing-function:ease-out;transform:translate(-50%) translateZ(-200px) rotateY(-45deg)}to{opacity:.3;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateCubeLeftIn{0%{opacity:.3;transform:translate(100%) rotateY(90deg)}50%{animation-timing-function:ease-out;transform:translate(50%) translateZ(-200px) rotateY(45deg)}}@keyframes rotateCubeRightOut{50%{animation-timing-function:ease-out;transform:translate(50%) translateZ(-200px) rotateY(45deg)}to{opacity:.3;transform:translate(100%) rotateY(90deg)}}@keyframes rotateCubeRightIn{0%{opacity:.3;transform:translate(-100%) rotateY(-90deg)}50%{animation-timing-function:ease-out;transform:translate(-50%) translateZ(-200px) rotateY(-45deg)}}@keyframes rotateCubeTopOut{50%{animation-timing-function:ease-out;transform:translateY(-50%) translateZ(-200px) rotateX(45deg)}to{opacity:.3;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateCubeTopIn{0%{opacity:.3;transform:translateY(100%) rotateX(-90deg)}50%{animation-timing-function:ease-out;transform:translateY(50%) translateZ(-200px) rotateX(-45deg)}}@keyframes rotateCubeBottomOut{50%{animation-timing-function:ease-out;transform:translateY(50%) translateZ(-200px) rotateX(-45deg)}to{opacity:.3;transform:translateY(100%) rotateX(-90deg)}}@keyframes rotateCubeBottomIn{0%{opacity:.3;transform:translateY(-100%) rotateX(90deg)}50%{animation-timing-function:ease-out;transform:translateY(-50%) translateZ(-200px) rotateX(45deg)}}@keyframes rotateCarouselLeftOut{to{opacity:.3;transform:translate(-150%) scale(.4) rotateY(-65deg)}}@keyframes rotateCarouselLeftIn{0%{opacity:.3;transform:translate(200%) scale(.4) rotateY(65deg)}}@keyframes rotateCarouselRightOut{to{opacity:.3;transform:translate(200%) scale(.4) rotateY(65deg)}}@keyframes rotateCarouselRightIn{0%{opacity:.3;transform:translate(-200%) scale(.4) rotateY(-65deg)}}@keyframes rotateCarouselTopOut{to{opacity:.3;transform:translateY(-200%) scale(.4) rotateX(65deg)}}@keyframes rotateCarouselTopIn{0%{opacity:.3;transform:translateY(200%) scale(.4) rotateX(-65deg)}}@keyframes rotateCarouselBottomOut{to{opacity:.3;transform:translateY(200%) scale(.4) rotateX(-65deg)}}@keyframes rotateCarouselBottomIn{0%{opacity:.3;transform:translateY(-200%) scale(.4) rotateX(65deg)}}@keyframes rotateSidesOut{to{opacity:0;transform:translateZ(-500px) rotateY(90deg)}}@keyframes rotateSidesIn{0%{opacity:0;transform:translateZ(-500px) rotateY(-90deg)}}@keyframes rotateSlideOut{25%{opacity:.5;transform:translateZ(-500px)}75%{opacity:.5;transform:translateZ(-500px) translate(-200%)}to{opacity:.5;transform:translateZ(-500px) translate(-200%)}}@keyframes rotateSlideIn{0%,25%{opacity:.5;transform:translateZ(-500px) translate(200%)}75%{opacity:.5;transform:translateZ(-500px)}to{opacity:1;transform:translateZ(0) translate(0)}}@keyframes superRainbow{0%{background:red}20%{background:orange}40%{background:yellow}60%{background:green}80%{background:blue}to{background:violet}}.superRainbow{background-position:0 0;background-size:200% 100%;background-image:linear-gradient(90deg,red,orange,yellow,green,blue,violet)}.superRainbow:hover{background-position:-100% 100%}@keyframes statusProcessing{0%{transform:scale(.8);opacity:.5}to{transform:scale(2.4);opacity:0}}
|
|
90
90
|
`]]]),e2=V({__name:"Icon.ce",props:{icon:{default:"mdi-light:home"},color:{default:Zt("--xg-blue")}},setup(o){const t=o;return(e,n)=>(I(),D("span",{class:"icon",style:N(["color: "+e.color,"display: inline-flex","justify-content: center","align-items: center","cursor: pointer","font-size: 1em"])},[Z(Tt(yp),{icon:t.icon,color:e.color},null,8,["icon","color"])],4))}}),o2={class:"loading-1"},n2=V({__name:"Loading1.ce",props:{color:{default:Zt("--xg-blue")}},setup(o){const e={backgroundColor:o.color};return(n,s)=>(I(),D("div",o2,[v("div",{class:"rect1",style:e}),v("div",{class:"rect2",style:e}),v("div",{class:"rect3",style:e}),v("div",{class:"rect4",style:e}),v("div",{class:"rect5",style:e})]))}}),kp=st(n2,[["styles",[`.loading-1[data-v-114b2f4a]{position:relative;display:block;overflow:hidden;width:100%;height:100%;text-align:center}.loading-1>div[data-v-114b2f4a]{width:6px;height:100%;margin:auto 2px;display:inline-block;animation:stretchdelay-114b2f4a 1.2s infinite ease-in-out}.loading-1 .rect2[data-v-114b2f4a]{animation-delay:-1.1s}.loading-1 .rect3[data-v-114b2f4a]{animation-delay:-1s}.loading-1 .rect4[data-v-114b2f4a]{animation-delay:-.9s}.loading-1 .rect5[data-v-114b2f4a]{animation-delay:-.8s}@keyframes stretchdelay-114b2f4a{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}
|
|
91
91
|
`]],["__scopeId","data-v-114b2f4a"]]),s2={class:"loading-2"},r2=V({__name:"Loading2.ce",props:{color:{default:Zt("--xg-blue")}},setup(o){const e={backgroundColor:o.color};return(n,s)=>(I(),D("div",s2,[v("div",{class:"dot1",style:e}),v("div",{class:"dot2",style:e})]))}}),wp=st(r2,[["styles",[`.loading-2[data-v-f380c52b]{position:relative;display:block;width:100%;height:100%;text-align:center;animation:rotate-f380c52b 2s infinite linear}.dot1[data-v-f380c52b],.dot2[data-v-f380c52b]{width:60%;height:60%;display:inline-block;position:absolute;top:0;border-radius:100%;animation:bounce-f380c52b 2s infinite ease-in-out}.dot2[data-v-f380c52b]{top:auto;bottom:0;animation-delay:-1s}@keyframes rotate-f380c52b{to{transform:rotate(360deg)}}@keyframes bounce-f380c52b{0%,to{transform:scale(0)}50%{transform:scale(1)}}
|
|
92
92
|
`]],["__scopeId","data-v-f380c52b"]]),a2=V({__name:"Loading3.ce",props:{fromColor:{default:Zt("--xg-blue")},toColor:{default:Zt("--xg-red")}},setup(o){const t=o,e={backgroundColor:t.fromColor,width:"20%"},n=P();return pe(()=>{Co(`
|
|
@@ -124,7 +124,7 @@ ${JSON.stringify(it,null,2)}
|
|
|
124
124
|
`]],["__scopeId","data-v-76be859d"]]),y2={class:"loading-9"},v2=V({__name:"Loading9.ce",props:{color:{default:Zt("--xg-blue")}},setup(o){const e={borderTopColor:o.color};return(n,s)=>(I(),D("div",y2,[v("div",{style:e})]))}}),Pp=st(v2,[["styles",[`.loading-9[data-v-73b7b3a1]{position:relative;display:inline-flex;justify-content:center;align-items:center;width:100%;height:100%}.loading-9 div[data-v-73b7b3a1]{width:50%;aspect-ratio:1 / 1;border:3px solid rgba(0,0,0,.1);border-radius:50%;animation:spin-73b7b3a1 1s linear infinite}@keyframes spin-73b7b3a1{to{transform:rotate(360deg)}}
|
|
125
125
|
`]],["__scopeId","data-v-73b7b3a1"]]),b2={class:"loading-10"},_2={viewBox:"0 0 50 50"},x2=V({__name:"Loading10.ce",props:{color:{default:Zt("--xg-blue")}},setup(o){const t=o;return(e,n)=>(I(),D("div",b2,[(I(),D("svg",_2,[n[0]||(n[0]=v("circle",{class:"ring",cx:"25",cy:"25",r:"20",style:N(["stroke: rgba(0,0,0,0.1)"])},null,-1)),v("circle",{class:"ball",cx:"25",cy:"5",r:"3.5",style:N(["fill: "+t.color])},null,4)]))]))}}),Rp=st(x2,[["styles",[`.loading-10[data-v-cacbaf2e]{position:relative;display:inline-flex;justify-content:center;align-items:center;width:100%;height:100%}.loading-10 svg[data-v-cacbaf2e]{width:50%;aspect-ratio:1 / 1;transform-origin:center;animation:1.5s spin-cacbaf2e ease infinite}.ring[data-v-cacbaf2e]{fill:none;stroke-width:2}.ball[data-v-cacbaf2e]{stroke:none}@keyframes spin-cacbaf2e{to{transform:rotate(360deg)}}
|
|
126
126
|
`]],["__scopeId","data-v-cacbaf2e"]]),k2={class:"loading-11",ref:"loading11"},w2={class:"container container-1"},C2={class:"container container-2"},T2={class:"container container-3"},E2=V({__name:"Loading11.ce",props:{color:{default:Zt("--xg-blue")},width:{default:"0.8em"}},setup(o){const t=o;return(e,n)=>(I(),D("div",k2,[v("div",{class:"loading-11-inner",style:N({width:t.width,height:t.width})},[v("div",w2,[v("div",{class:"dot dot-1",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-2",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-3",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-4",style:N({backgroundColor:t.color})},null,4)]),v("div",C2,[v("div",{class:"dot dot-1",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-2",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-3",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-4",style:N({backgroundColor:t.color})},null,4)]),v("div",T2,[v("div",{class:"dot dot-1",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-2",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-3",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-4",style:N({backgroundColor:t.color})},null,4)])],4)],512))}}),pc=st(E2,[["styles",[`.loading-11[data-v-2b13c34d]{position:relative;display:inline-flex;justify-content:center;align-items:center;width:100%;height:100%}.loading-11-inner[data-v-2b13c34d]{position:relative}.loading-11-inner .container[data-v-2b13c34d]{position:absolute;width:100%;height:100%}.loading-11-inner .container .dot[data-v-2b13c34d]{width:20%;height:20%;border-radius:100%;position:absolute;animation:bouncedelay-2b13c34d 1.2s infinite ease-in-out;animation-fill-mode:both}.loading-11-inner .container .dot-1[data-v-2b13c34d]{top:0;left:0}.loading-11-inner .container .dot-2[data-v-2b13c34d]{top:0;right:0}.loading-11-inner .container .dot-3[data-v-2b13c34d]{right:0;bottom:0}.loading-11-inner .container .dot-4[data-v-2b13c34d]{left:0;bottom:0}.loading-11-inner .container-1 .dot-2[data-v-2b13c34d]{animation-delay:-.9s}.loading-11-inner .container-1 .dot-3[data-v-2b13c34d]{animation-delay:-.6s}.loading-11-inner .container-1 .dot-4[data-v-2b13c34d]{animation-delay:-.3s}.loading-11-inner .container-2[data-v-2b13c34d]{transform:rotate(45deg)}.loading-11-inner .container-2 .dot-1[data-v-2b13c34d]{animation-delay:-1.1s}.loading-11-inner .container-2 .dot-2[data-v-2b13c34d]{animation-delay:-.8s}.loading-11-inner .container-2 .dot-3[data-v-2b13c34d]{animation-delay:-.5s}.loading-11-inner .container-2 .dot-4[data-v-2b13c34d]{animation-delay:-.2s}.loading-11-inner .container-3[data-v-2b13c34d]{transform:rotate(90deg)}.loading-11-inner .container-3 .dot-1[data-v-2b13c34d]{animation-delay:-1s}.loading-11-inner .container-3 .dot-2[data-v-2b13c34d]{animation-delay:-.7s}.loading-11-inner .container-3 .dot-3[data-v-2b13c34d]{animation-delay:-.4s}.loading-11-inner .container-3 .dot-4[data-v-2b13c34d]{animation-delay:-.1s}@keyframes bouncedelay-2b13c34d{0%,80%,to{transform:scale(.3)}40%{transform:scale(1)}}
|
|
127
|
-
`]],["__scopeId","data-v-2b13c34d"]]),S2={key:0,class:"loading",style:{"margin-right":"6px"}},mc=.03,gc=.06,ns=V({customOptions:{Loading11:
|
|
127
|
+
`]],["__scopeId","data-v-2b13c34d"]]),S2={key:0,class:"loading",style:{"margin-right":"6px"}},mc=.03,gc=.06,ns=V({customOptions:{Loading11:Ia},inheritAttrs:!0,__name:"Button.ce",props:{label:{},icon:{},iconPosition:{default:"left"},disabled:{type:Boolean,default:!1},width:{default:"auto"},height:{default:"44px"},padding:{default:"20px"},fontSize:{default:"16px"},fontWeight:{default:"normal"},borderRadius:{default:"4px"},stylePattern:{default:"fullfill"},fontColor:{},borderColor:{},bgColor:{},bgColorStart:{},bgColorEnd:{},asyncClick:{}},emits:["yz-click","click"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P(),a=Zt("--xg-blue","#5a82f0"),i=P(n.fontColor),l=P(n.borderColor),c=P(n.bgColor),u=P(i.value),f=P(l.value),d=P(c.value),h=P(n.bgColorStart||""),p=P(n.bgColorEnd||""),b=n.bgColorStart&&n.bgColorEnd;function x(B){switch(B){case"transparent":l.value=n.borderColor||"rgba(255,255,255,0)",c.value=n.bgColor||"rgba(255,255,255,0)",i.value=n.fontColor||a;break;case"outline":l.value=n.borderColor||a,c.value=n.bgColor||"rgba(255,255,255,0)",i.value=n.fontColor||a;break;case"fullfill":default:l.value=n.borderColor||"rgba(255,255,255,0)",c.value=n.bgColor||a,i.value=n.fontColor||Mt.set(c.value).opposite(!0).toString();break}u.value=i.value,f.value=l.value,d.value=c.value,b&&(h.value=n.bgColorStart,p.value=n.bgColorEnd,c.value=`linear-gradient(180deg, ${h.value} 0%, ${p.value} 100%)`)}Rt(()=>n.stylePattern,()=>{x(n.stylePattern)},{immediate:!0});const k=P(n.disabled?"0.6":"1"),g=P(n.disabled?"not-allowed":"pointer");let m=!1;const y=()=>{n.disabled||(m=!0,n.stylePattern=="transparent"&&(i.value=Mt.set(u.value).darken(mc).toString()),l.value=Mt.set(f.value).darken(mc).toString(),b?c.value=`linear-gradient(180deg, ${p.value} 0%, ${h.value} 100%)`:c.value=Mt.set(d.value).darken(mc).toString())},_=()=>{n.disabled||(m=!1,i.value=u.value,l.value=f.value,b?c.value=`linear-gradient(180deg, ${h.value} 0%, ${p.value} 100%)`:c.value=d.value)},w=P(!1),Y=ml(()=>{n.disabled||w.value||(n.stylePattern=="transparent"&&(i.value=Mt.set(u.value).darken(gc).toString()),l.value=Mt.set(f.value).darken(gc).toString(),b?c.value=`linear-gradient(180deg, ${h.value} 0%, ${p.value} 100%)`:c.value=Mt.set(d.value).darken(gc).toString(),setTimeout(()=>{m?y():_()},150),s("yz-click"),s("click"),n.asyncClick&&(w.value=!0,n.asyncClick().then(()=>{w.value=!1}).catch(()=>{w.value=!1})))},300);return t({el:r}),(B,M)=>(I(),D("div",{ref_key:"el",ref:r,class:"button",style:N([`opacity: ${k.value}`,`border: 1px solid ${l.value}`,`background: ${c.value}`,`color: ${i.value}`,`border-radius: ${n.borderRadius}`,`width: ${n.width}`,`height: ${n.height}`,`line-height: ${n.height}`,`font-size: ${n.fontSize}`,`cursor: ${g.value}`,"user-select: none","box-sizing: border-box","display: inline-flex","justify-content: center","align-items: center","z-index: 0"]),onMouseover:y,onMouseleave:_,onClick:M[0]||(M[0]=(...ut)=>Tt(Y)&&Tt(Y)(...ut))},[v("label",{class:"label truncate",style:N({padding:"0 "+B.padding,cursor:g.value,display:"inline-flex",justifyContent:"center",alignItems:"center",fontWeight:n.fontWeight||"normal"})},[w.value?(I(),D("div",S2,[Z(Ia,{color:i.value},null,8,["color"])])):yt("",!0),mt(B.$slots,"default",{},()=>[B.icon&&B.iconPosition==="left"?(I(),dt(es,{key:0,icon:B.icon,color:i.value,style:N({marginRight:"4px",cursor:g.value})},null,8,["icon","color","style"])):yt("",!0),v("span",{style:N({cursor:g.value})},ft(B.label),5),B.icon&&B.iconPosition==="right"?(I(),dt(es,{key:1,icon:B.icon,color:i.value,style:N({marginLeft:"4px",cursor:g.value})},null,8,["icon","color","style"])):yt("",!0)])],4)],36))}}),O2=["stroke","fill"],P2=["stroke","fill"],R2=["stroke"],Ya=st(V({customOptions:{},__name:"BooleanBox.ce",props:{selected:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},isRounded:{type:Boolean,default:!0},label:{default:""},labelPadding:{default:"2px"},colorBackground:{default:"#ffffff"},colorForeground:{default:"#5a82f0"},colorDisabled:{default:"#cccccc"},colorChangeMode:{default:"reverse"},boxWidth:{default:"20px"},fontSize:{default:"14px"}},emits:["change"],setup(o,{expose:t,emit:e}){const n=o,s=e;let r=P(n.selected),a=P(n.disabled),i=P(n.label);const l=()=>{switch(n.colorChangeMode){case"only-foreground":return a.value?n.colorDisabled:n.colorBackground;case"reverse":default:return a.value?n.colorDisabled:r.value?n.colorForeground:n.colorBackground}},c=()=>a.value?n.colorDisabled:Mt.set(l()).darken(.2).toString(),u=()=>{switch(n.colorChangeMode){case"only-foreground":return a.value?n.colorBackground:n.colorForeground;case"reverse":default:return r.value?n.colorBackground:n.colorForeground}},f=()=>{a.value||(h(),s("change",r.value))},d=g=>{g!==r.value&&(r.value=g)},h=()=>{r.value=!r.value};return t({setValue:d,toggleValue:h,getValue:()=>r.value,enable:()=>{a.value=!1},disable:()=>{a.value=!0},setLabel:g=>{i.value=g}}),(g,m)=>(I(),D("div",{class:jt(["boolean-box",Tt(a)?"disabled":""]),onClick:f},[mt(g.$slots,"default",{selected:Tt(r),disabled:Tt(a),label:Tt(i)},()=>[(I(),D("svg",{viewBox:"0 0 24 24",fill:"none",class:"icon",style:N(["width:"+n.boxWidth])},[n.isRounded?yt("",!0):(I(),D("rect",{key:0,x:"0",y:"0",width:"22",height:"22","strke-width":"1",stroke:c(),fill:l()},null,8,O2)),n.isRounded?(I(),D("circle",{key:1,cx:"12",cy:"12",r:"11","strke-width":"1",stroke:c(),fill:l()},null,8,P2)):yt("",!0),Tt(r)?(I(),D("path",{key:2,d:"m7 13l3 3 7-7",stroke:u(),"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,R2)):yt("",!0)],4)),g.label?(I(),D("span",{key:0,style:N(["font-size:"+n.fontSize,"margin-left:"+n.labelPadding])},ft(g.label),5)):yt("",!0)],!0)],2))}}),[["styles",[`.boolean-box[data-v-3b6f7b07]{position:relative;display:inline-flex;justify-content:flex-start;align-items:center;cursor:pointer}.boolean-box.disabled[data-v-3b6f7b07]{cursor:not-allowed}.icon[data-v-3b6f7b07]{flex:0 0 auto;box-sizing:border-box;display:inline-flex;justify-content:flex-start;align-items:center;transition:border-color .2s ease-in-out,background-color .2s ease-in-out}
|
|
128
128
|
`]],["__scopeId","data-v-3b6f7b07"]]),I2=["stroke","fill"],A2=["stroke","fill"],$2=["stroke"],N2=V({customOptions:{},__name:"BooleanBox",props:{selected:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},isRounded:{type:Boolean,default:!0},label:{default:""},labelPadding:{default:"2px"},colorBackground:{default:"#ffffff"},colorForeground:{default:"#5a82f0"},colorDisabled:{default:"#cccccc"},colorChangeMode:{default:"reverse"},boxWidth:{default:"20px"},fontSize:{default:"14px"}},emits:["change"],setup(o,{expose:t,emit:e}){const n=o,s=e;let r=P(n.selected),a=P(n.disabled),i=P(n.label);const l=()=>{switch(n.colorChangeMode){case"only-foreground":return a.value?n.colorDisabled:n.colorBackground;case"reverse":default:return a.value?n.colorDisabled:r.value?n.colorForeground:n.colorBackground}},c=()=>a.value?n.colorDisabled:Mt.set(l()).darken(.2).toString(),u=()=>{switch(n.colorChangeMode){case"only-foreground":return a.value?n.colorBackground:n.colorForeground;case"reverse":default:return r.value?n.colorBackground:n.colorForeground}},f=()=>{a.value||(h(),s("change",r.value))},d=g=>{g!==r.value&&(r.value=g)},h=()=>{r.value=!r.value};return t({setValue:d,toggleValue:h,getValue:()=>r.value,enable:()=>{a.value=!1},disable:()=>{a.value=!0},setLabel:g=>{i.value=g}}),(g,m)=>(I(),D("div",{class:jt(["boolean-box",Tt(a)?"disabled":""]),onClick:f},[mt(g.$slots,"default",{selected:Tt(r),disabled:Tt(a),label:Tt(i)},()=>[(I(),D("svg",{viewBox:"0 0 24 24",fill:"none",class:"icon",style:N(["width:"+n.boxWidth])},[n.isRounded?yt("",!0):(I(),D("rect",{key:0,x:"0",y:"0",width:"22",height:"22","strke-width":"1",stroke:c(),fill:l()},null,8,I2)),n.isRounded?(I(),D("circle",{key:1,cx:"12",cy:"12",r:"11","strke-width":"1",stroke:c(),fill:l()},null,8,A2)):yt("",!0),Tt(r)?(I(),D("path",{key:2,d:"m7 13l3 3 7-7",stroke:u(),"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,$2)):yt("",!0)],4)),g.label?(I(),D("span",{key:0,style:N(["font-size:"+n.fontSize,"margin-left:"+n.labelPadding])},ft(g.label),5)):yt("",!0)],!0)],2))}}),sC="",an=st(N2,[["__scopeId","data-v-4e49399c"]]),yc=st(V({customOptions:{BooleanBox:an},__name:"RadioGroup.ce",props:{options:{},disabledIndexs:{},initIndex:{default:0},isRounded:{type:Boolean,default:!0},colorBackground:{default:"#ffffff"},colorForeground:{default:"#5a82f0"},colorDisabled:{default:"#cccccc"},colorChangeMode:{default:"reverse"},fontSize:{default:"14px"},boxWidth:{default:"20px"},itemPadding:{default:"10px"},labelPadding:{default:"2px"}},emits:["change"],setup(o,{emit:t}){const e=o,n=t,s=P([]),r=(l,c)=>{l&&(s.value[c]=l)};let a=P(e.initIndex);const i=(l,c)=>{a.value!==l?(s.value[a.value].toggleValue(),c&&(a.value=l,n("change",e.options[a.value]))):c||s.value[a.value].setValue(!0)};return(l,c)=>(I(!0),D(Dt,null,Ee(l.options,(u,f)=>(I(),D("div",{class:"radio-group",key:f,style:N(["margin-left:"+(f>0?e.itemPadding:0)])},[Z(an,{ref_for:!0,ref:d=>r(d,f),selected:Tt(a)==f,disabled:l.disabledIndexs&&l.disabledIndexs.findIndex(d=>d===f)>=0,isRounded:e.isRounded,label:u,labelPadding:e.labelPadding,colorBackground:e.colorBackground,colorForeground:e.colorForeground,colorDisabled:e.colorDisabled,colorChangeMode:e.colorChangeMode,boxWidth:e.boxWidth,fontSize:e.fontSize,onChange:d=>i(f,d)},null,8,["selected","disabled","isRounded","label","labelPadding","colorBackground","colorForeground","colorDisabled","colorChangeMode","boxWidth","fontSize","onChange"])],4))),128))}}),[["styles",[`.radio-group[data-v-4793f58f]{position:relative;display:inline-flex;justify-content:flex-start;align-items:center}
|
|
129
129
|
`]],["__scopeId","data-v-4793f58f"]]),vc=st(V({customOptions:{BooleanBox:an},__name:"CheckboxGroup.ce",props:{options:{},disabledIndexs:{},initIndexs:{},isRounded:{type:Boolean,default:!1},colorBackground:{default:"#ffffff"},colorForeground:{default:"#5a82f0"},colorDisabled:{default:"#cccccc"},colorChangeMode:{default:"reverse"},fontSize:{default:"14px"},boxWidth:{default:"20px"},itemPadding:{default:"10px"},labelPadding:{default:"2px"}},emits:["change"],setup(o,{emit:t}){const e=o,n=t;let s=Wt(e.initIndexs??[]);const r=(a,i)=>{const l=s.findIndex(u=>u===a);let c=!1;l>=0&&!i?(s.splice(l,1),c=!0):l<0&&i&&(s.push(a),c=!0),c&&n("change",s.map(u=>e.options[u]))};return(a,i)=>(I(!0),D(Dt,null,Ee(a.options,(l,c)=>(I(),D("div",{class:"checkbox-group",key:c,style:N(["margin-left:"+(c>0?e.itemPadding:0)])},[Z(an,{selected:Tt(s).findIndex(u=>u===c)>=0,disabled:a.disabledIndexs&&a.disabledIndexs.findIndex(u=>u===c)>=0,isRounded:e.isRounded,label:l,labelPadding:e.labelPadding,colorBackground:e.colorBackground,colorForeground:e.colorForeground,colorDisabled:e.colorDisabled,colorChangeMode:e.colorChangeMode,boxWidth:e.boxWidth,fontSize:e.fontSize,onChange:u=>r(c,u)},null,8,["selected","disabled","isRounded","label","labelPadding","colorBackground","colorForeground","colorDisabled","colorChangeMode","boxWidth","fontSize","onChange"])],4))),128))}}),[["styles",[`.checkbox-group[data-v-f267549e]{position:relative;display:inline-flex;justify-content:flex-start;align-items:center}
|
|
130
130
|
`]],["__scopeId","data-v-f267549e"]]),Ip=st(V({__name:"Switch.ce",props:{init:{type:Boolean,default:!1},width:{default:"44px"},height:{default:"26px"},padding:{default:"3px"},colorPrimary:{default:"#5a82f0"},colorBgOn:{default:"#efefef"},colorBgOff:{default:"#f5f5f5"}},emits:["change"],setup(o,{emit:t}){const e=o,n=Yn(e.width),s=Yn(e.height),r=Yn(e.padding),a=s.number-r.number*2+s.suffix,i=e.padding,l=n.number-Yn(i).number-Yn(a).number+n.suffix,c=t,u=P(e.init);Rt(u,function(){c("change",u.value)});function f(){u.value=!u.value}return(d,h)=>(I(),D("div",{class:"switch",onClick:f,style:N(["width: "+e.width,"height: "+e.height,"background-color: "+(u.value?e.colorBgOn:e.colorBgOff)])},[v("span",{class:"round",style:N(["width: "+a,"height: "+a,"background-color: "+(u.value?e.colorPrimary:Tt(Mt).set(e.colorPrimary).lighten(.5).toString()),"transform: translate("+(u.value?l:Tt(i))+", 0)"])},null,4)],4))}}),[["styles",[`.switch[data-v-69e8e457]{position:relative;display:inline-flex;align-items:center;flex-shrink:0;cursor:pointer;border-radius:9999px;box-sizing:border-box;transition:all .2s cubic-bezier(.4,0,.2,1)}.round[data-v-69e8e457]{pointer-events:none;display:inline-block;box-sizing:border-box;border-radius:9999px;transition:all .2s cubic-bezier(.4,0,.2,1)}
|
|
@@ -134,12 +134,12 @@ ${JSON.stringify(it,null,2)}
|
|
|
134
134
|
--select-option-bg-color-hover: #f5f5f5;
|
|
135
135
|
}
|
|
136
136
|
`)});const s=P(!1),r=P(e.initIndex);Rt(r,function(){n("change",r.value,e.options[r.value])});function a(){s.value=!s.value}function i(l){r.value=l,s.value=!1}return(l,c)=>(I(),D("div",{class:"select",style:N(["font-size:"+l.fontSize])},[v("div",{onClick:a},[mt(l.$slots,"button",{selectedIndex:r.value},()=>[Z(ae,{icon:"carbon:chevron-sort",iconPosition:"right",label:l.options[r.value],style:{width:"100%"}},null,8,["label"])],!0)]),lg(v("div",F2,[(I(!0),D(Dt,null,Ee(l.options,(u,f)=>(I(),D("div",{onClick:d=>i(f),class:"option",key:f,value:f,style:N({borderTop:(f==0?"0":"1px")+" solid #cccccc"})},[v("div",D2,[mt(l.$slots,"default",{item:u,index:f},()=>[v("span",null,ft(u),1),f==r.value?(I(),dt(es,{key:0,icon:"mingcute:check-fill",class:"icon"})):yt("",!0)],!0)])],12,z2))),128))],512),[[Xf,s.value]])],4))}}),[["styles",[`.select[data-v-b5769b65]{display:inline-block;position:relative}.options[data-v-b5769b65]{position:relative;width:100%;text-align:center;margin:0;padding:0;box-sizing:border-box;background-color:#fff}.option[data-v-b5769b65]{cursor:pointer}.option-inner[data-v-b5769b65]{padding:.5em 1em .5em .5em;display:flex;justify-content:center;align-items:center;position:relative;background-color:var(--select-option-bg-color)}.option-inner[data-v-b5769b65]:hover{background-color:var(--select-option-bg-color-hover)}.icon[data-v-b5769b65]{position:absolute;right:.5em;top:50%;transform:translateY(-50%)}
|
|
137
|
-
`]],["__scopeId","data-v-b5769b65"]]),M2=["width","height"],L2=["fill"],
|
|
137
|
+
`]],["__scopeId","data-v-b5769b65"]]),M2=["width","height"],L2=["fill"],Va=V({__name:"SVGDown",props:{width:{default:"1em"},height:{},color:{default:"#cccccc"}},setup(o){const t=o;return(e,n)=>(I(),D("svg",{viewBox:"0 0 20 20",width:t.width,height:t.height||t.width,style:{"transform-origin":"center"},fill:"none",xmlns:"http://www.w3.org/2000/svg"},[v("path",{"fill-rule":"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z","clip-rule":"evenodd",fill:t.color},null,8,L2)],8,M2))}}),B2={class:"button-default"},Y2={class:"truncate"},V2=["onClick","value"],X2=V({customOptions:{SVGDown:Va},__name:"SelectAbsolute.ce",props:{options:{},initIndex:{default:0},fontSize:{default:"16px"},bgColor:{default:"#ffffff"},hoverColor:{default:"#f5f5f5"},selectedColor:{default:Zt("--xg-blue")},fontColor:{default:"#333333"},duration:{default:300}},emits:["change"],setup(o,{emit:t}){const e=o,n=t;pe(()=>{Co(`
|
|
138
138
|
:root {
|
|
139
139
|
--select-option-bg-color: ${e.bgColor};
|
|
140
140
|
--select-option-bg-color-hover: ${e.hoverColor};
|
|
141
141
|
}
|
|
142
|
-
`)});const s=P(!1),r=P(e.initIndex);Rt(r,function(){n("change",r.value,e.options[r.value])});function a(){s.value=!s.value}function i(c){r.value=c,s.value=!1}const l=P("rotate(-180deg)");return Mn(()=>{l.value=s.value?"rotate(0deg)":"rotate(-90deg)"}),(c,u)=>(I(),D("div",{class:"select-absolute",style:N({fontSize:e.fontSize,backgroundColor:e.bgColor})},[v("div",{class:"select-absolute-button",onClick:a},[mt(c.$slots,"button",{selectedIndex:r.value},()=>[v("div",B2,[v("div",Y2,ft(c.options[r.value]),1),Z(
|
|
142
|
+
`)});const s=P(!1),r=P(e.initIndex);Rt(r,function(){n("change",r.value,e.options[r.value])});function a(){s.value=!s.value}function i(c){r.value=c,s.value=!1}const l=P("rotate(-180deg)");return Mn(()=>{l.value=s.value?"rotate(0deg)":"rotate(-90deg)"}),(c,u)=>(I(),D("div",{class:"select-absolute",style:N({fontSize:e.fontSize,backgroundColor:e.bgColor})},[v("div",{class:"select-absolute-button",onClick:a},[mt(c.$slots,"button",{selectedIndex:r.value},()=>[v("div",B2,[v("div",Y2,ft(c.options[r.value]),1),Z(Va,{class:"icon-down",width:"20px",style:N({transition:`transform ${e.duration}ms ease-in-out`,transform:l.value})},null,8,["style"])])],!0)]),v("div",{class:"options",style:N({maxHeight:s.value?"200px":0,transition:`all ${e.duration}ms ease-in-out`,borderTop:`${s.value?1:0}px solid #e6e6e6`})},[(I(!0),D(Dt,null,Ee(c.options,(f,d)=>(I(),D("div",{onClick:h=>i(d),class:"option",key:d,value:d},[mt(c.$slots,"default",{item:f,index:d},()=>[v("div",{class:"option-default",style:N({color:r.value==d?e.selectedColor:e.fontColor})},ft(f),5)],!0)],8,V2))),128))],4)],4))}}),$p=st(X2,[["styles",[`.select-absolute[data-v-d4388cc3]{display:block;position:relative;width:100%}.select-absolute-button[data-v-d4388cc3]{overflow:hidden}.button-default[data-v-d4388cc3]{display:flex;justify-content:space-between;align-items:center;padding:0 10px 0 15px;height:44px;line-height:44px}.icon-down[data-v-d4388cc3]{flex:0 0 auto}.truncate[data-v-d4388cc3]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal;word-break:break-all}.options[data-v-d4388cc3]{position:absolute;bottom:0;left:0;transform:translateY(100%);z-index:99;width:100%;overflow-y:scroll;box-sizing:border-box}.options[data-v-d4388cc3]::-webkit-scrollbar{-webkit-appearance:none}.options[data-v-d4388cc3]::-webkit-scrollbar:vertical{width:2px}.options[data-v-d4388cc3]::-webkit-scrollbar-track{background-color:var(--select-option-bg-color)}.options[data-v-d4388cc3]::-webkit-scrollbar-thumb{border-radius:2px;background-color:#0000004d}.option[data-v-d4388cc3]{cursor:pointer}.option-default[data-v-d4388cc3]{padding:14px 15px;line-height:1;background-color:var(--select-option-bg-color)}.option-default[data-v-d4388cc3]:hover{background-color:var(--select-option-bg-color-hover)}
|
|
143
143
|
`]],["__scopeId","data-v-d4388cc3"]]),Z2={viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",style:{display:"block",transformOrigin:"center"}},U2=["fill"],Np=V({__name:"SVGDelete",props:{color:{default:Zt("--xg-red","#fa503c")}},setup(o){const t=o;return(e,n)=>(I(),D("svg",Z2,[v("path",{d:"M7 21q-.825 0-1.412-.587T5 19V6H4V4h5V3h6v1h5v2h-1v13q0 .825-.587 1.413T17 21zM17 6H7v13h10zM9 17h2V8H9zm4 0h2V8h-2zM7 6v13z",fill:t.color},null,8,U2)]))}}),H2={style:{width:"38%"}},G2=V({customOptions:{SVGDelete:Np},inheritAttrs:!0,__name:"SlideLeftItem.ce",props:{deleteColor:{default:Zt("--xg-red","#fa503c")},borderRadius:{default:"4px"},deleteWidth:{default:"44px"},transtionDuration:{default:"150ms"}},emits:["delete"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P(!1),a=de(()=>Mt.set(n.deleteColor).opposite(!0).toString()),i=()=>{s("delete"),r.value=!1};function l(c){c.eb.on("panLeft",()=>{r.value=!0}),c.eb.on("panRight",()=>{r.value=!1}),c.eb.on("tapOutSide",()=>{r.value=!1})}return t({}),(c,u)=>(I(),dt(ht,{onReady:l,class:"slide-left-item",style:N({borderRadius:n.borderRadius})},{default:W(()=>[v("div",{class:"content",style:N({transition:"all ease-in "+n.transtionDuration,transform:r.value?"translate(-"+n.deleteWidth+", 0)":"translate(0, 0)"})},[mt(c.$slots,"default",{},void 0,!0)],4),v("div",{class:"delete",onClick:i,style:N({backgroundColor:n.deleteColor,width:n.deleteWidth,transition:"all ease-in "+n.transtionDuration,transform:r.value?"translate(0, 0)":"translate("+n.deleteWidth+", 0)"})},[v("div",H2,[Z(Np,{color:a.value},null,8,["color"])])],4)]),_:3},8,["style"]))}}),Fp=st(G2,[["styles",[`.content[data-v-dc11c411]{width:100%;height:100%;overflow:hidden}.delete[data-v-dc11c411]{position:absolute;right:0;top:0;height:100%;display:flex;justify-content:center;align-items:center;cursor:pointer}
|
|
144
144
|
`]],["__scopeId","data-v-dc11c411"]]),j2={class:"status-processing",style:{position:"relative",display:"inline-block",width:"12px",height:"12px",borderRadius:"50%",overflow:"hidden"}},W2=V({customOptions:{CSSAnimation:os},__name:"Status.ce",props:{status:{default:"processing"},color:{}},setup(o,{expose:t,emit:e}){const n=o;let s="";switch(n.status){case"wait":s="#d9d9d9";break;case"success":s="#52c41a";break;case"error":s="#ff4d4f";break;case"processing":default:s="#1677ff";break}return n.color&&(s=n.color),t({}),(r,a)=>(I(),D("div",j2,[r.status==="processing"?(I(),dt(os,{key:0,name:"statusProcessing",containerType:"full",effectTriggerTiming:"immediate"},{default:W(()=>[v("div",{style:N({width:"100%",height:"100%",borderRadius:"50%",backgroundColor:Tt(s)})},null,4)]),_:1})):yt("",!0),v("div",{style:N({position:"absolute",top:"3px",left:"3px",width:"6px",height:"6px",borderRadius:"50%",backgroundColor:Tt(s)})},null,4)]))}}),q2={viewBox:"4 4 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",style:{display:"block",transformOrigin:"center"}},K2=["id"],Q2=["stop-color"],J2=["stop-color"],t3=["fill"],e3=["fill"],o3=["fill"],ln=V({__name:"SVGWarn",props:{colorStart:{default:Zt("--xg-red","#fa503c")},colorEnd:{default:Zt("--xg-red-light","#fa8c78")}},setup(o){const t=o,e=de(()=>Mt.set(t.colorStart).opposite(!0).toString());return(n,s)=>(I(),D("svg",q2,[v("defs",null,[v("linearGradient",{id:`circle_bg_${n.colorStart}_${n.colorEnd}`,x1:"12",y1:"4",x2:"12",y2:"16",gradientUnits:"userSpaceOnUse"},[v("stop",{offset:"0","stop-color":n.colorStart},null,8,Q2),v("stop",{offset:"1","stop-color":n.colorEnd},null,8,J2)],8,K2)]),v("circle",{cx:"12",cy:"12",r:"8",fill:`url(#circle_bg_${n.colorStart}_${n.colorEnd})`},null,8,t3),v("path",{d:"M11.4666 8.80006C11.4666 8.50551 11.7053 8.26672 11.9999 8.26672C12.2944 8.26672 12.5332 8.50551 12.5332 8.80006V13.0667C12.5332 13.3613 12.2944 13.6001 11.9999 13.6001C11.7053 13.6001 11.4666 13.3613 11.4666 13.0667V8.80006Z",fill:e.value},null,8,e3),v("path",{d:"M11.4666 15.2001C11.4666 14.9055 11.7053 14.6667 11.9999 14.6667C12.2944 14.6667 12.5332 14.9055 12.5332 15.2001C12.5332 15.4946 12.2944 15.7334 11.9999 15.7334C11.7053 15.7334 11.4666 15.4946 11.4666 15.2001Z",fill:e.value},null,8,o3)]))}}),n3={class:"icon"},zp=st(V({customOptions:{SVGWarn:ln},inheritAttrs:!0,__name:"Text.ce",props:{type:{default:"none"},text:{default:""},color:{default:"#333333"}},setup(o,{expose:t}){const e=o,n=de(()=>e.type!=="none"),s=de(()=>e.type=="warn");return t({}),(r,a)=>(I(),D("div",{class:"text",style:N({color:e.color})},[v("div",n3,[mt(r.$slots,"icon",{},()=>[s.value?(I(),dt(ln,{key:0})):yt("",!0)],!0)]),v("div",{class:"ellipsis",style:N({marginLeft:n.value?"0.3em":"0"})},[mt(r.$slots,"default",{},()=>[Bt(ft(e.text),1)],!0)],4)],4))}}),[["styles",[`.text[data-v-4d59217f]{display:flex;justify-content:flex-start;align-items:center;font-size:1em;line-height:1;max-width:100%}.icon[data-v-4d59217f]{font-size:0;flex:0 0 auto}.ellipsis[data-v-4d59217f]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal;word-break:break-all}
|
|
145
145
|
`]],["__scopeId","data-v-4d59217f"]]),s3={class:"icon"},r3=V({customOptions:{SVGWarn:ln},inheritAttrs:!0,__name:"Text",props:{type:{default:"none"},text:{default:""},color:{default:"#333333"}},setup(o,{expose:t}){const e=o,n=de(()=>e.type!=="none"),s=de(()=>e.type=="warn");return t({}),(r,a)=>(I(),D("div",{class:"text",style:N({color:e.color})},[v("div",s3,[mt(r.$slots,"icon",{},()=>[s.value?(I(),dt(ln,{key:0})):yt("",!0)],!0)]),v("div",{class:"ellipsis",style:N({marginLeft:n.value?"0.3em":"0"})},[mt(r.$slots,"default",{},()=>[Bt(ft(e.text),1)],!0)],4)],4))}}),yC="",bc=st(r3,[["__scopeId","data-v-b1f6b1f2"]]),a3={class:"input"},i3={key:0,class:"error-prompt-top"},l3={key:0,style:{paddingLeft:"0.5em"}},c3={key:1},u3=["type","required"],f3={key:1,class:"error-prompt-bottom"},Dp=st(V({customOptions:{Text:bc},inheritAttrs:!0,__name:"Input.ce",props:{placeholder:{default:""},placeholderType:{default:"normal"},required:{type:Boolean,default:!1},showError:{type:Boolean,default:!0},validator:{},defaultValue:{},height:{default:"44px"},type:{default:"text"},borderColor:{default:"#cccccc"},focusColor:{default:"#5a82f0"},errorColor:{default:"#ff5050"},placeholderColor:{default:"#8f8f8f"},fontColor:{default:"#333333"},borderRadius:{default:"4px"},duration:{default:500}},emits:["focus","yz-focus","blur","yz-blur","input","yz-input","error","yz-error"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=de(()=>n.placeholderType=="normal"),a=de(()=>n.placeholderType=="underline"),i=de(()=>n.placeholderType=="jump"),l=de(()=>n.placeholderType=="jump-each"),c=n.placeholder.split(""),u=n.duration/c.length,f=P(),d=P(!1),h=P(""),p=P(n.defaultValue||"");function b(){d.value=!0,s("focus"),s("yz-focus")}function x(){d.value=!1,s("blur"),s("yz-blur"),g()}function k(m){p.value=m.target.value,g()}function g(){if(p.value&&n.validator){const m=n.validator(p.value);if(!m.valid){h.value=m.errors[0],s("error",h.value),s("yz-error",h.value);return}}h.value="",p.value&&(s("input",p.value),s("yz-input",p.value))}return pe(()=>{n.defaultValue&&(f.value.value=n.defaultValue)}),ue(()=>{}),t({}),(m,y)=>(I(),D("div",a3,[n.showError&&h.value&&!a.value?(I(),D("div",i3,[Z(bc,{type:"warn",color:n.errorColor},{default:W(()=>[Bt(ft(h.value),1)]),_:1},8,["color"])])):yt("",!0),v("div",{class:jt(["input-wrap",d.value||p.value?"focus":""])},[v("div",{class:"placeholder",style:N({lineHeight:d.value||p.value?1.3:n.height,color:n.placeholderColor,transition:r.value?"":n.duration+"ms",transform:r.value?"":d.value||p.value?"translateY(-100%)":"none"})},[!h.value&&r.value&&!d.value&&!p.value?(I(),D("div",l3,ft(n.placeholder),1)):yt("",!0),!h.value&&i.value?(I(),D("div",c3,ft(n.placeholder),1)):yt("",!0),!h.value&&l.value?(I(!0),D(Dt,{key:2},Ee(Tt(c),(_,w)=>(I(),D("span",{key:w,style:N({transition:n.duration+"ms cubic-bezier(0.68, -0.55, 0.265, 1.55)",transitionDelay:`${u*w}ms`,transform:d.value||p.value?`translateX(${100*w}%) translateY(-100%)`:`translateX(${100*w}%)`}),class:"single"},ft(_),5))),128)):yt("",!0)],4),v("input",{ref_key:"inputEl",ref:f,class:"input-raw",type:n.type,required:n.required,autocomplete:"off",style:N({height:n.height,lineHeight:n.height,color:n.fontColor,padding:a.value?"0.6em 0":"0.6em",border:`${a.value?"0":"1"}px solid transparent`,borderBottom:"1px solid transparent",borderRadius:a.value?"0":n.borderRadius,borderColor:h.value?n.errorColor:d.value?n.focusColor:p.value||r.value||a.value?n.borderColor:"transparent",transition:n.duration+"ms"}),onFocus:b,onBlur:x,onInput:k,onChange:k},null,44,u3),a.value?yt("",!0):(I(),D("div",{key:0,class:"background",style:N({transition:n.duration+"ms",backgroundColor:r.value||d.value||p.value?"transparent":n.borderColor,height:r.value||d.value||p.value?n.height:"2px",borderRadius:n.borderRadius})},null,4))],2),n.showError&&h.value&&a.value?(I(),D("div",f3,[Z(bc,{type:"warn",color:n.errorColor},{default:W(()=>[Bt(ft(h.value),1)]),_:1},8,["color"])])):yt("",!0)]))}}),[["styles",[`.input[data-v-7b994853]{position:relative;box-sizing:border-box;font-size:1em}.error-prompt-top[data-v-7b994853]{width:100%;font-size:.75em;line-height:1;margin-bottom:.5em}.error-prompt-bottom[data-v-7b994853]{width:100%;font-size:.75em;line-height:1;margin-top:.5em}.input-wrap[data-v-7b994853]{position:relative;box-sizing:border-box}.input-raw[data-v-7b994853]{display:block;box-sizing:border-box;position:relative;width:100%;background:transparent;outline:none;box-shadow:none;z-index:10}.background[data-v-7b994853]{position:absolute;left:0;bottom:0;width:100%;pointer-events:none;z-index:9}.placeholder[data-v-7b994853]{position:absolute;left:0;top:0;width:100%;pointer-events:none}.focus .placeholder[data-v-7b994853]{font-size:.75em}.placeholder>div[data-v-7b994853]{width:100%;display:flex;justify-content:flex-start;align-items:center}.placeholder>span.single[data-v-7b994853]{position:absolute;left:0;top:0}
|
|
@@ -168,10 +168,10 @@ ${JSON.stringify(it,null,2)}
|
|
|
168
168
|
`]],["__scopeId","data-v-02386ba8"]]),Lp=st(V({customOptions:{},inheritAttrs:!0,__name:"InputFileDrop.ce",props:{placeholder:{default:"drop file"}},emits:["yz-drop"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P(),a=P(!1);return pe(()=>{Tv(r.value,{onEnter:()=>{a.value=!0},onLeave:()=>{a.value=!1},onDrop:(i,l)=>{s("yz-drop",l),a.value=!1}})}),ue(()=>{}),t({}),(i,l)=>(I(),D("div",{class:jt(["input-file-drop",[a.value?"over":""]]),ref_key:"zone",ref:r},[mt(i.$slots,"default",{},()=>[Bt(ft(n.placeholder),1)],!0)],2))}}),[["styles",[`.input-file-drop[data-v-87bef8e6]{width:100%;height:100%;display:flex;justify-content:center;align-items:center;border:2px dashed #ccc;color:#ccc}.input-file-drop.over[data-v-87bef8e6]{border-color:#000;color:#000}
|
|
169
169
|
`]],["__scopeId","data-v-87bef8e6"]]),m3={class:"tabs"},g3=["onClick"],y3={class:"content"},Bp=st(V({customOptions:{},inheritAttrs:!0,__name:"Tabs.ce",props:{labels:{},pages:{},initIndex:{default:0}},emits:["changedIndex"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P(n.initIndex),a=Wt([]),i=P(),l=P(0),c=P(0),u=P(0),f=P([]),d=[],h=Sg(),p=h.default&&h.default();p&&(Bn(a,p),k(r.value));const b=(m,y)=>{if(m){if(d.push({index:y,el:m}),d.length<a.length)return;f.value=d}};Rt([i,f],()=>{x()});function x(){if(i.value&&f.value.length){const m=i.value.getBoundingClientRect(),y=f.value[r.value].el.getBoundingClientRect();l.value=y.x-m.x,c.value=y.y-m.y+y.height-2,u.value=y.width}}function k(m){r.value=m,s("changedIndex",m),x(),g.value.goto(m)}const g=P();return Rt(g,()=>{g.value&&g.value.reset(n.pages,()=>{g.value.goto(n.initIndex)})}),t({}),(m,y)=>(I(),D("div",m3,[v("div",{class:"header",ref_key:"headerRef",ref:i},[(I(!0),D(Dt,null,Ee(n.labels,(_,w)=>(I(),D("div",{key:_,class:jt(w==r.value?"active":""),onClick:$=>k(w)},[v("div",{ref_for:!0,ref:$=>b($,w)},ft(_),513)],10,g3))),128)),v("div",{class:"indicator",style:N({top:c.value+"px",left:l.value+"px",width:u.value+"px",height:"2px"})},null,4)],512),v("div",y3,[Z(tr,{ref_key:"routesRef",ref:g},null,512)])]))}}),[["styles",[`.tabs[data-v-50e63c9b]{display:flex;flex-direction:column;width:100%;height:100%}.content[data-v-50e63c9b]{flex:1 1 auto}.header[data-v-50e63c9b]{flex:0 0 auto;position:relative;display:flex;font-size:14px;line-height:1;color:#999;box-sizing:border-box}.header .active[data-v-50e63c9b]{color:#5a82f0}.header>div[data-v-50e63c9b]{flex:1 1 auto;cursor:pointer;text-align:center;display:flex;justify-content:center;align-items:center;font-weight:700;background-color:#fff;position:relative;box-sizing:border-box}.header>div>div[data-v-50e63c9b]{box-sizing:border-box;padding:10px 0}.header>div.indicator[data-v-50e63c9b]{display:inline-block;flex:0;position:absolute;background-color:#5a82f0;transition:all ease-out .2s}
|
|
170
170
|
`]],["__scopeId","data-v-50e63c9b"]]),v3={class:"view-document"},b3=["src"],Yp=st(V({inheritAttrs:!0,customOptions:{LayoutPage:to},__name:"ViewDocument.ce",props:{src:{default:""},title:{default:""}},setup(o){const t=o,e=Gh();Xd(typeof e.params.title=="string"?e.params.title:t.title);const n=decodeURIComponent(typeof e.params.src=="string"?e.params.src:t.src);return(s,r)=>(I(),dt(to,null,{default:W(()=>[v("div",v3,[v("img",{class:"img",src:Tt(n)},null,8,b3)])]),_:1}))}}),[["styles",[`.view-document[data-v-50989546]{box-sizing:border-box;width:100%;padding:15px}.img[data-v-50989546]{width:100%}
|
|
171
|
-
`]],["__scopeId","data-v-50989546"]]),
|
|
172
|
-
`]],["__scopeId","data-v-3a3c124d"]]),_3=V({__name:"ProgressBar",props:{bgColor:{default:"#efefef"},progressColor:{default:"#a0dde9"},borderColor:{default:"#eeeeee"},borderRadius:{default:"4px"},showText:{type:Boolean,default:!1}},emits:["complete"],setup(o,{expose:t,emit:e}){const n=o,s=P(0);function r(a){s.value=Math.min(Math.max(0,a),100)}return t({goto:r}),(a,i)=>(I(),D("div",{class:"bar",style:N({border:`1px solid ${n.borderColor}`,borderRadius:n.borderRadius,backgroundColor:n.bgColor})},[v("div",{class:"bar-inner",style:N({width:s.value+"%",backgroundColor:n.progressColor})},ft(n.showText?s.value+"%":""),5)],4))}}),AC="",
|
|
173
|
-
`]],["__scopeId","data-v-2ef8b3bf"]]),k3=["width","height"],w3=["src","type"],C3={class:"video-progress-bar"},Xp=st(V({customOptions:{ProgressBar:
|
|
174
|
-
`]],["__scopeId","data-v-986150b5"]]),T3=V({customOptions:{Overlay:rn,Container:ht},inheritAttrs:!0,__name:"Pop.ce",props:{closeWhenClickOverlay:{type:Boolean,default:!0},directionFrom:{default:"bottom"},absoluteLeft:{default:"0px"},absoluteTop:{default:"0px"},absoluteWidth:{default:"100%"},absoluteHeight:{default:"100%"},dur:{default:200},global:{type:Boolean,default:!0},overlayBgColor:{},popValue:{}},emits:["open","close","resize","clickOverlay"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=new Xe({frameDuration:n.dur}),a=Wt({position:"absolute",opacity:"1",transformOrigin:"center",willChange:"transform"}),i=P(!1),l=P("full");Rt(()=>[n.directionFrom,n.popValue],()=>{r.clear();const b=!n.popValue,x=n.popValue?n.popValue:100,k=n.popValue?"px":"%";switch(n.directionFrom){case"left":a.height="100%",b?delete a.width:a.width=`${x}${k}`,a.top="0",a.bottom="0",delete a.right,r.addTween({left:x},{left:0},{easeFunction:at.Quadratic.Out,onUpdate(g){a.left=`-${g.left}${k}`},onComplete:f});break;case"right":a.height="100%",b?delete a.width:a.width=`${x}${k}`,a.top="0",a.bottom="0",delete a.left,r.addTween({right:x},{right:0},{easeFunction:at.Quadratic.Out,onUpdate(g){a.right=`-${g.right}${k}`},onComplete:f});break;case"top":a.width="100%",b?delete a.height:a.height=`${x}${k}`,a.left="0",a.right="0",delete a.bottom,r.addTween({top:x},{top:0},{easeFunction:at.Quadratic.Out,onUpdate(g){a.top=`-${g.top}${k}`},onComplete:f});break;case"bottom":a.width="100%",b?delete a.height:a.height=`${x}${k}`,a.left="0",a.right="0",delete a.top,r.addTween({bottom:x},{bottom:0},{easeFunction:at.Quadratic.Out,onUpdate(g){a.bottom=`-${g.bottom}${k}`},onComplete:f});break;case"center":delete a.width,delete a.height,a.left="50%",delete a.right,a.top="50%",delete a.bottom,r.addTween({scale:.8,opacity:0},{scale:1,opacity:1},{easeFunction:at.Quadratic.Out,onUpdate(g){a.transform=`translate(-50%, -50%) scale(${g.scale})`,a.opacity=`${g.opacity}`},onComplete:f});break;case"absolute":a.width=n.absoluteWidth,a.height=n.absoluteHeight,a.left=n.absoluteLeft,a.top=n.absoluteTop,delete a.right,delete a.bottom;break}switch(n.directionFrom){case"center":l.value="shrink",a.transform="translate(-50%, -50%)";break;case"absolute":l.value="shrink",delete a.transform,delete a.opacity;break;default:l.value="full",delete a.transform,delete a.opacity;break}b&&(l.value="shrink")},{immediate:!0}),Rt(()=>n.absoluteLeft,()=>{switch(n.directionFrom){case"absolute":a.left=n.absoluteLeft;break}}),Rt(()=>n.absoluteTop,()=>{switch(n.directionFrom){case"absolute":a.top=n.absoluteTop;break}}),Rt(()=>n.absoluteWidth,()=>{switch(n.directionFrom){case"absolute":a.width=n.absoluteWidth;break}}),Rt(()=>n.absoluteHeight,()=>{switch(n.directionFrom){case"absolute":a.height=n.absoluteHeight;break}});const c=b=>{s("resize",b.rect)};let u="open";function f(){u=="open"?s("open"):(i.value=!1,s("close"))}function d(){i.value=!0,u="open",r.play()}function h(){switch(u="close",n.directionFrom){case"absolute":f();break;default:r.reverse();break}}function p(b){const x=n.directionFrom=="absolute"&&n.absoluteWidth=="100%"&&n.absoluteHeight=="100%"?"pop-content":"pop";b.target&&
|
|
171
|
+
`]],["__scopeId","data-v-50989546"]]),Xa=st(V({__name:"ProgressBar.ce",props:{bgColor:{default:"#efefef"},progressColor:{default:"#a0dde9"},borderColor:{default:"#eeeeee"},borderRadius:{default:"4px"},showText:{type:Boolean,default:!1}},emits:["complete"],setup(o,{expose:t,emit:e}){const n=o,s=P(0);function r(a){s.value=Math.min(Math.max(0,a),100)}return t({goto:r}),(a,i)=>(I(),D("div",{class:"bar",style:N({border:`1px solid ${n.borderColor}`,borderRadius:n.borderRadius,backgroundColor:n.bgColor})},[v("div",{class:"bar-inner",style:N({width:s.value+"%",backgroundColor:n.progressColor})},ft(n.showText?s.value+"%":""),5)],4))}}),[["styles",[`.bar[data-v-3a3c124d]{position:relative;overflow:hidden;width:100%;height:100%}.bar-inner[data-v-3a3c124d]{position:absolute;top:0;left:0;width:0;height:100%;text-align:center;font-size:12px;display:flex;justify-content:center;align-items:center;color:#666}
|
|
172
|
+
`]],["__scopeId","data-v-3a3c124d"]]),_3=V({__name:"ProgressBar",props:{bgColor:{default:"#efefef"},progressColor:{default:"#a0dde9"},borderColor:{default:"#eeeeee"},borderRadius:{default:"4px"},showText:{type:Boolean,default:!1}},emits:["complete"],setup(o,{expose:t,emit:e}){const n=o,s=P(0);function r(a){s.value=Math.min(Math.max(0,a),100)}return t({goto:r}),(a,i)=>(I(),D("div",{class:"bar",style:N({border:`1px solid ${n.borderColor}`,borderRadius:n.borderRadius,backgroundColor:n.bgColor})},[v("div",{class:"bar-inner",style:N({width:s.value+"%",backgroundColor:n.progressColor})},ft(n.showText?s.value+"%":""),5)],4))}}),AC="",Za=st(_3,[["__scopeId","data-v-6caeec52"]]),x3={class:"page-vertical-scroll-progress-bar"},Vp=st(V({customOptions:{ProgressBar:Za},inheritAttrs:!0,__name:"PageVerticalScrollProgressBar.ce",props:{bgColor:{default:"#efefef"},progressColor:{default:"#07B56D"},borderColor:{default:"transparent"},borderRadius:{default:"4px"},duringTimeGap:{default:1},showText:{type:Boolean,default:!1}},emits:["progress"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P(),a=$v(()=>{const i=Ev();s("progress",i),r.value?.goto(i)});return ue(()=>{a()}),t({}),(i,l)=>(I(),D("div",x3,[Z(Za,{ref_key:"bar",ref:r,bgColor:n.bgColor,progressColor:n.progressColor,borderColor:n.borderColor,borderRadius:n.borderRadius,duringTimeGap:n.duringTimeGap,showText:n.showText},null,8,["bgColor","progressColor","borderColor","borderRadius","duringTimeGap","showText"])]))}}),[["styles",[`.page-vertical-scroll-progress-bar[data-v-2ef8b3bf]{position:relative;overflow:hidden;width:100%;height:100%}
|
|
173
|
+
`]],["__scopeId","data-v-2ef8b3bf"]]),k3=["width","height"],w3=["src","type"],C3={class:"video-progress-bar"},Xp=st(V({customOptions:{ProgressBar:Za},inheritAttrs:!0,__name:"Video.ce",props:{src:{},type:{default:"video/webm"},autoplay:{type:Boolean,default:!0},width:{default:"320px"},height:{default:"138px"}},emits:["start","complete"],setup(o,{expose:t,emit:e}){const n=o,s=e;let r;function a(f){if(r){r.resume();return}r=new Xe({frameDuration:this.duration*1e3}),r.addTween({x:0},{x:100},{frames:1,delay:0,onStart:()=>{s("start"),l.value?.goto(0)},onUpdate:d=>{l.value?.goto(d.x)},onComplete:()=>{s("complete"),r=null}}),r.play()}const i=P(),l=P();Rt(i,()=>{i.value&&(i.value.addEventListener("play",a),n.autoplay&&Ll.tryAutoPlayOrAutoPlayAfterClick(i.value))}),ue(()=>{i.value?.removeEventListener(a)});function c(){i.value?.play()}function u(){i.value?.pause(),r?.pause()}return t({play:c,pause:u}),(f,d)=>(I(),D("div",{class:"video",style:N({width:n.width,height:n.height}),onClick:c},[v("video",{ref_key:"video",ref:i,width:n.width,height:n.height,preload:"metadata"},[v("source",{src:n.src,type:n.type},null,8,w3)],8,k3),v("div",C3,[Z(Za,{ref_key:"bar",ref:l,bgColor:"#ffffff"},null,512)])],4))}}),[["styles",[`.video[data-v-986150b5]{position:relative;overflow:hidden;background-color:#f5f5f5}.video-progress-bar[data-v-986150b5]{position:absolute;bottom:0;left:0;width:100%;height:6px}
|
|
174
|
+
`]],["__scopeId","data-v-986150b5"]]),T3=V({customOptions:{Overlay:rn,Container:ht},inheritAttrs:!0,__name:"Pop.ce",props:{closeWhenClickOverlay:{type:Boolean,default:!0},directionFrom:{default:"bottom"},absoluteLeft:{default:"0px"},absoluteTop:{default:"0px"},absoluteWidth:{default:"100%"},absoluteHeight:{default:"100%"},dur:{default:200},global:{type:Boolean,default:!0},overlayBgColor:{},popValue:{}},emits:["open","close","resize","clickOverlay"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=new Xe({frameDuration:n.dur}),a=Wt({position:"absolute",opacity:"1",transformOrigin:"center",willChange:"transform"}),i=P(!1),l=P("full");Rt(()=>[n.directionFrom,n.popValue],()=>{r.clear();const b=!n.popValue,x=n.popValue?n.popValue:100,k=n.popValue?"px":"%";switch(n.directionFrom){case"left":a.height="100%",b?delete a.width:a.width=`${x}${k}`,a.top="0",a.bottom="0",delete a.right,r.addTween({left:x},{left:0},{easeFunction:at.Quadratic.Out,onUpdate(g){a.left=`-${g.left}${k}`},onComplete:f});break;case"right":a.height="100%",b?delete a.width:a.width=`${x}${k}`,a.top="0",a.bottom="0",delete a.left,r.addTween({right:x},{right:0},{easeFunction:at.Quadratic.Out,onUpdate(g){a.right=`-${g.right}${k}`},onComplete:f});break;case"top":a.width="100%",b?delete a.height:a.height=`${x}${k}`,a.left="0",a.right="0",delete a.bottom,r.addTween({top:x},{top:0},{easeFunction:at.Quadratic.Out,onUpdate(g){a.top=`-${g.top}${k}`},onComplete:f});break;case"bottom":a.width="100%",b?delete a.height:a.height=`${x}${k}`,a.left="0",a.right="0",delete a.top,r.addTween({bottom:x},{bottom:0},{easeFunction:at.Quadratic.Out,onUpdate(g){a.bottom=`-${g.bottom}${k}`},onComplete:f});break;case"center":delete a.width,delete a.height,a.left="50%",delete a.right,a.top="50%",delete a.bottom,r.addTween({scale:.8,opacity:0},{scale:1,opacity:1},{easeFunction:at.Quadratic.Out,onUpdate(g){a.transform=`translate(-50%, -50%) scale(${g.scale})`,a.opacity=`${g.opacity}`},onComplete:f});break;case"absolute":a.width=n.absoluteWidth,a.height=n.absoluteHeight,a.left=n.absoluteLeft,a.top=n.absoluteTop,delete a.right,delete a.bottom;break}switch(n.directionFrom){case"center":l.value="shrink",a.transform="translate(-50%, -50%)";break;case"absolute":l.value="shrink",delete a.transform,delete a.opacity;break;default:l.value="full",delete a.transform,delete a.opacity;break}b&&(l.value="shrink")},{immediate:!0}),Rt(()=>n.absoluteLeft,()=>{switch(n.directionFrom){case"absolute":a.left=n.absoluteLeft;break}}),Rt(()=>n.absoluteTop,()=>{switch(n.directionFrom){case"absolute":a.top=n.absoluteTop;break}}),Rt(()=>n.absoluteWidth,()=>{switch(n.directionFrom){case"absolute":a.width=n.absoluteWidth;break}}),Rt(()=>n.absoluteHeight,()=>{switch(n.directionFrom){case"absolute":a.height=n.absoluteHeight;break}});const c=b=>{s("resize",b.rect)};let u="open";function f(){u=="open"?s("open"):(i.value=!1,s("close"))}function d(){i.value=!0,u="open",r.play()}function h(){switch(u="close",n.directionFrom){case"absolute":f();break;default:r.reverse();break}}function p(b){const x=n.directionFrom=="absolute"&&n.absoluteWidth=="100%"&&n.absoluteHeight=="100%"?"pop-content":"pop";b.target&&ya(b.target,x)&&(n.closeWhenClickOverlay&&h(),s("clickOverlay"))}return t({open:d,close:h}),(b,x)=>(I(),dt(rn,{visible:i.value,global:n.global,color:n.overlayBgColor},{default:W(()=>[v("div",{class:"pop",style:{display:"block",position:"relative",width:"100%",height:"100%"},onClick:p},[Z(ht,{class:"pop-content",type:l.value,style:N(a),onReady:c,onUpdate:c},{default:W(()=>[mt(b.$slots,"default",{},()=>[x[0]||(x[0]=v("div",null,null,-1))])]),_:3},8,["type","style"])])]),_:3},8,["visible","global","color"]))}}),E3={class:"pop-tel"},S3=["href"],Zp=st(V({customOptions:{Pop:le},inheritAttrs:!0,__name:"PopTel.ce",props:{tel:{}},setup(o,{expose:t,emit:e}){const n=P();function s(){n.value?.open()}function r(){n.value?.close()}return t({open:s,close:r}),(a,i)=>(I(),dt(le,{directionFrom:"bottom",closeWhenClickOverlay:!1,ref_key:"el",ref:n},{default:W(()=>[v("div",E3,[v("div",null,ft(a.tel),1),v("a",{class:"pop-tel-call",onClick:r,href:`tel:${a.tel}`}," 呼叫 ",8,S3),v("div",{class:"pop-tel-cancel",onClick:r}," 取消 ")])]),_:1},512))}}),[["styles",[`.pop-tel[data-v-63653ca8]{background-color:#fff;color:#333;border-top-left-radius:8px;border-top-right-radius:8px}.pop-tel>div[data-v-63653ca8],.pop-tel-call[data-v-63653ca8]{display:block;height:64px;line-height:64px;font-size:18px;text-align:center}.pop-tel-cancel[data-v-63653ca8],.pop-tel-call[data-v-63653ca8]{border-top:1px solid #e6e6e6}.pop-tel>div[data-v-63653ca8]:nth-child(1){color:#999}.pop-tel-call[data-v-63653ca8]{color:#333;font-weight:700}.pop-tel-call[data-v-63653ca8],.pop-tel-call[data-v-63653ca8]:link,.pop-tel-call[data-v-63653ca8]:visited,.pop-tel-call[data-v-63653ca8]:hover,.pop-tel-call[data-v-63653ca8]:active{-webkit-touch-callout:none;text-decoration:none}.pop-tel-call[data-v-63653ca8]:focus{outline:none}
|
|
175
175
|
`]],["__scopeId","data-v-63653ca8"]]),Up=V({customOptions:{Pop:le,Button:ae,Container:ht},inheritAttrs:!0,__name:"Popover.ce",props:{gap:{default:10},global:{type:Boolean,default:!0},closeWhenClickOverlay:{type:Boolean,default:!0}},setup(o,{expose:t}){const e=o,n=P(),s=P(0),r=P(0),a=P(0),i=P(0),l=P();function c(){l.value.open()}function u(){l.value.close()}const f=d=>{const h=d.rect;if(a.value=h.width,i.value=h.height,!n.value)return;const p=Xs(),b=n.value.getBoundingClientRect();s.value=Math.max(e.gap,Math.min(b.x+b.width+e.gap,p.width-h.width-e.gap)),r.value=Math.max(e.gap,Math.min(b.y,p.height-h.height-e.gap))};return t({open:c,close:u}),(d,h)=>(I(),D(Dt,null,[v("div",{ref_key:"popoverButtonRef",ref:n,class:"popover-button",style:{display:"inline-block"},onClick:c},[mt(d.$slots,"button",{},()=>[Z(ae,null,{default:W(()=>h[0]||(h[0]=[Bt("popover")])),_:1})])],512),Z(le,{ref_key:"popRef",ref:l,"direction-from":"absolute",global:e.global,closeWhenClickOverlay:e.closeWhenClickOverlay},{default:W(()=>[v("div",{style:N({position:"absolute",left:s.value+"px",top:r.value+"px",width:a.value+"px",height:i.value+"px"})},[Z(ht,{type:"shrink",onReady:f,onUpdate:f},{default:W(()=>[mt(d.$slots,"panel",{},()=>[h[1]||(h[1]=v("div",{style:{"background-color":"#ffffff"}},"...",-1))])]),_:3})],4)]),_:3},8,["global","closeWhenClickOverlay"])],64))}}),Hp=V({customOptions:{Pop:le,Button:ae,Container:ht},inheritAttrs:!0,__name:"Popover",props:{gap:{default:10},global:{type:Boolean,default:!0},closeWhenClickOverlay:{type:Boolean,default:!0}},setup(o,{expose:t}){const e=o,n=P(),s=P(0),r=P(0),a=P(0),i=P(0),l=P();function c(){l.value.open()}function u(){l.value.close()}const f=d=>{const h=d.rect;if(a.value=h.width,i.value=h.height,!n.value)return;const p=Xs(),b=n.value.getBoundingClientRect();s.value=Math.max(e.gap,Math.min(b.x+b.width+e.gap,p.width-h.width-e.gap)),r.value=Math.max(e.gap,Math.min(b.y,p.height-h.height-e.gap))};return t({open:c,close:u}),(d,h)=>(I(),D(Dt,null,[v("div",{ref_key:"popoverButtonRef",ref:n,class:"popover-button",style:{display:"inline-block"},onClick:c},[mt(d.$slots,"button",{},()=>[Z(ae,null,{default:W(()=>h[0]||(h[0]=[Bt("popover")])),_:1})])],512),Z(le,{ref_key:"popRef",ref:l,"direction-from":"absolute",global:e.global,closeWhenClickOverlay:e.closeWhenClickOverlay},{default:W(()=>[v("div",{style:N({position:"absolute",left:s.value+"px",top:r.value+"px",width:a.value+"px",height:i.value+"px"})},[Z(ht,{type:"shrink",onReady:f,onUpdate:f},{default:W(()=>[mt(d.$slots,"panel",{},()=>[h[1]||(h[1]=v("div",{style:{"background-color":"#ffffff"}},"...",-1))])]),_:3})],4)]),_:3},8,["global","closeWhenClickOverlay"])],64))}}),O3={class:"selector",style:{position:"relative",width:"124px",height:"106px",padding:"3px","background-color":"#222222","box-sizing":"border-box"}},P3={class:"hue-field",style:{width:"15px",height:"100px",cursor:"ns-resize",position:"absolute",top:"3px",right:"3px",background:`linear-gradient(
|
|
176
176
|
to bottom,
|
|
177
177
|
rgb(255, 0, 0) 0%,
|
|
@@ -189,21 +189,21 @@ ${JSON.stringify(it,null,2)}
|
|
|
189
189
|
to bottom,
|
|
190
190
|
rgba(0, 0, 0, 0) 0%,
|
|
191
191
|
rgb(0, 0, 0) 100%
|
|
192
|
-
)`,"box-sizing":"border-box"}},null,-1)),v("div",{class:"field-knob",style:N([{position:"absolute",width:"12px",height:"12px","box-shadow":"rgba(0, 0, 0, 0.5) 0px 1px 3px","border-radius":"12px","z-index":"1",cursor:"pointer","box-sizing":"border-box"},{left:x.value+"px",top:k.value+"px",backgroundColor:l.value,border:`2px solid ${c.value}`}])},null,4)]),_:1})],4),v("div",P3,[Z(ht,{type:"full",onReady:m},{default:W(()=>[v("div",{class:"hue-knob",style:N([{position:"absolute",width:"15px",height:"2px","z-index":"1","box-sizing":"border-box"},{marginTop:b.value+"px",borderRight:"4px solid "+f.value}])},null,4)]),_:1})])])]),_:3},512))}}),I3={viewBox:"6 6 12 12",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",fill:"none",style:{display:"block",transformOrigin:"center"}},A3=["fill"],$3=["fill"],er=V({__name:"SVGClose",props:{color:{default:"#666666"}},setup(o){const t=o;return(e,n)=>(I(),D("svg",I3,[v("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6.22785 6.22781C6.53159 5.92407 7.02405 5.92407 7.32779 6.22781L17.7722 16.6722C18.0759 16.976 18.0759 17.4685 17.7722 17.7722C17.4685 18.0759 16.976 18.0759 16.6723 17.7722L6.22785 7.32775C5.92411 7.02401 5.92411 6.53155 6.22785 6.22781Z",fill:t.color},null,8,A3),v("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M17.7722 6.22781C18.0759 6.53155 18.0759 7.02401 17.7722 7.32775L7.32775 17.7722C7.02401 18.0759 6.53155 18.0759 6.22781 17.7722C5.92406 17.4685 5.92407 16.976 6.22781 16.6722L16.6722 6.22781C16.976 5.92406 17.4684 5.92406 17.7722 6.22781Z",fill:t.color},null,8,$3)]))}}),N3=["viewBox"],F3=["cx","cy","rx","ry","fill"],
|
|
193
|
-
`]],["__scopeId","data-v-d254fcfe"]]),Z3={class:"dialog-parent"},U3={key:0,class:"top-icon"},H3={class:"top-icon-warn"},G3={class:"top-icon-warn-shadow"},j3={key:0,class:"title"},W3={key:0,class:"title-inner"},q3={class:"custom-content"},K3={class:"custom-content-default"},Q3=V({customOptions:{Overlay:rn,Pop:le,Button:ae,SVGClose:er,SVGWarn:ln,SVGEllipse:
|
|
194
|
-
`]],["__scopeId","data-v-78125a55"]]),ak={class:"toast"},ik={class:"content"},Wp=st(V({customOptions:{Overlay:rn,Pop:le,Dialog:
|
|
195
|
-
`]],["__scopeId","data-v-1b77e3db"]]),lk=V({customOptions:{Container:ht,CSSAnimation:os},inheritAttrs:!0,__name:"Page.ce",props:{effect:{default:"moveFromLeft"},duration:{default:500},easeFunction:{type:Function,default:at.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["ready","pageOpenStart","pageOpenEnd","pageCloseStart","pageCloseEnd"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P(),a=Wt({}),i=()=>{s("ready",w,$)},l=()=>{b()},c=P();let u="rotateRightSideFirst",f=n.effect;function d(Y,B){switch(f){case"static":B();break;default:Y();break}}let h=!1;const p=new Xe,b=()=>{const Y={},B={};p.clear(),p.frameDuration=n.duration,d(()=>{u=f},()=>{p.addTween(Y,B,{delay:n.delay/n.duration,easeFunction:n.easeFunction,onStart:()=>{s(h?"pageCloseStart":"pageOpenStart")},onUpdate:M=>{a.transform="","x"in M&&(a.transform+=` translateX(${M.x}%)`),"y"in M&&(a.transform+=` translateY(${M.y}%)`),"rx"in M&&(a.transform+=` rotateX(${M.rx}deg)`),"ry"in M&&(a.transform+=` rotateY(${M.ry}deg)`),"scale"in M&&(a.transform+=` scale(${M.scale})`),"opacity"in M&&(a.opacity=`${M.opacity}`)},onComplete:()=>{s(h?"pageCloseEnd":"pageOpenEnd")}})})};Rt(()=>[n.effect,n.delay,n.duration,n.easeFunction],()=>{f=n.effect,b()},{immediate:!0});const x=()=>{s(h?"pageCloseStart":"pageOpenStart")},k=()=>{s(h?"pageCloseEnd":"pageOpenEnd")},g=()=>{d(()=>{c.value.trigger(u)},()=>{p.play()})},m=()=>{d(()=>{c.value.triggerReverse(u)},()=>{p.reverse()})},y=()=>{a.transform="none",a.opacity="1"};function _(){d(()=>{y()},()=>{c.value?.clear()})}const w=Y=>{Y&&(f=Y,b()),h=!1,_(),g()},$=Y=>{Y&&(f=Y,b()),h=!0,_(),m()};return t({open:w,close:$,clear:y}),(Y,B)=>(I(),dt(ht,{class:"page",ref_key:"pageRef",ref:r,type:"full",effectTriggerTiming:"manual",style:{overflow:"hidden",width:"100%",height:"100%"},onReady:i,onUpdate:l},{default:W(()=>[Z(os,{ref_key:"cssAnimationRef",ref:c,containerType:"full",effectTriggerTiming:"manual",duration:n.duration,delay:n.delay,timingFunction:n.timingFunction,onCssanimationstart:x,onCssanimationend:k},{default:W(()=>[v("div",{class:"page-inner",style:N({position:"relative",display:"block",width:"100%",height:"100%",overflow:"scroll",backfaceVisibility:"hidden",transformStyle:"preserve-3d",...a})},[mt(Y.$slots,"default")],4)]),_:3},8,["duration","delay","timingFunction"])]),_:3},512))}}),qp=V({customOptions:{Page:Fa,Container:ht},inheritAttrs:!0,__name:"Routes.ce",props:{effect:{default:"moveToLeft"},duration:{default:500},easeFunction:{type:Function,default:at.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["routeChangeStart","routeChangeEnd","renderComplete"],setup(o,{expose:t,emit:e}){const n=o,s=e;let r=-1,a=-1,i;const l=[];let c=[],u=[],f=[];function d(et){return et>=0&&et<c.length}function h(){return a>r}function p(et,A,se){switch(et){case r:return h()?A:se;case a:return h()?se:A;default:return"static"}}function b(et,A){switch(et){case"moveToLeft":return p(A,"moveToLeft","moveFromRight");case"moveToRight":return p(A,"moveToRight","moveFromLeft");case"moveToTop":return p(A,"moveToTop","moveFromBottom");case"moveToBottom":return p(A,"moveToBottom","moveFromTop");case"moveFromLeftPrevFade":return p(A,"fade","moveFromLeft");case"moveFromRightPrevFade":return p(A,"fade","moveFromRight");case"moveFromTopPrevFade":return p(A,"fade","moveFromTop");case"moveFromBottomPrevFade":return p(A,"fade","moveFromBottom");case"moveToLeftFade":return p(A,"moveToLeftFade","moveFromRightFade");case"moveToRightFade":return p(A,"moveToRightFade","moveFromLeftFade");case"moveToTopFade":return p(A,"moveToTopFade","moveFromBottomFade");case"moveToBottomFade":return p(A,"moveToBottomFade","moveFromTopFade");case"moveToLeftEasing":return p(A,"moveToLeft","moveFromRight");case"moveToRightEasing":return p(A,"moveToRight","moveFromLeft");case"moveToTopEasing":return p(A,"moveToTop","moveFromBottom");case"moveToBottomEasing":return p(A,"moveToBottom","moveFromTop");case"moveFromLeftPrevScaleToSmall":return p(A,"scaleToSmall","moveFromLeft");case"moveFromRightPrevScaleToSmall":return p(A,"scaleToSmall","moveFromRight");case"moveFromTopPrevScaleToSmall":return p(A,"scaleToSmall","moveFromTop");case"moveFromBottomPrevScaleToSmall":return p(A,"scaleToSmall","moveFromBottom");case"scaleSmall":return p(A,"scaleToSmall","scaleFromLarge");case"scaleLarge":return p(A,"scaleToLarge","scaleFromSmall");case"scaleToLargePrevScaleToSmall":return p(A,"scaleToSmallCenter","scaleFromSmallCenter");case"scaleFromSmallPrevMoveToLeft":return p(A,"moveToLeft","scaleFromSmall");case"scaleFromSmallPrevMoveToRight":return p(A,"moveToRight","scaleFromSmall");case"scaleFromSmallPrevMoveToTop":return p(A,"moveToTop","scaleFromSmall");case"scaleFromSmallPrevMoveToBottom":return p(A,"moveToBottom","scaleFromSmall");case"glueToLeft":return p(A,"rotateRightSideFirst","moveFromRight");case"glueToRight":return p(A,"rotateLeftSideFirst","moveFromLeft");case"glueToTop":return p(A,"rotateBottomSideFirst","moveFromBottom");case"glueToBottom":return p(A,"rotateTopSideFirst","moveFromTop");case"flipToLeft":return p(A,"flipOutLeft","flipInRight");case"flipToRight":return p(A,"flipOutRight","flipInLeft");case"flipToTop":return p(A,"flipOutTop","flipInBottom");case"flipToBottom":return p(A,"flipOutBottom","flipInTop");case"rotateFall":return p(A,"rotateFall","scaleFromSmall");case"newspaper":return p(A,"rotateOutNewspaper","rotateInNewspaper");case"moveFromLeftPrevPush":return p(A,"rotatePushRight","moveFromLeft");case"moveFromRightPrevPush":return p(A,"rotatePushLeft","moveFromRight");case"moveFromTopPrevPush":return p(A,"rotatePushBottom","moveFromTop");case"moveFromBottomPrevPush":return p(A,"rotatePushTop","moveFromBottom");case"pullFromLeftPrevPush":return p(A,"rotatePushRight","rotatePullLeft");case"pullFromRightPrevPush":return p(A,"rotatePushLeft","rotatePullRight");case"pullFromTopPrevPush":return p(A,"rotatePushBottom","rotatePullTop");case"pullFromBottomPrevPush":return p(A,"rotatePushTop","rotatePullBottom");case"moveFromLeftFadePrevFold":return p(A,"rotateFoldRight","moveFromLeftFade");case"moveFromRightFadePrevFold":return p(A,"rotateFoldLeft","moveFromRightFade");case"moveFromTopFadePrevFold":return p(A,"rotateFoldBottom","moveFromTopFade");case"moveFromBottomFadePrevFold":return p(A,"rotateFoldTop","moveFromBottomFade");case"moveToLeftFadePrevUnfold":return p(A,"moveToLeftFade","rotateUnfoldRight");case"moveToRightFadePrevUnfold":return p(A,"moveToRightFade","rotateUnfoldLeft");case"moveToTopFadePrevUnfold":return p(A,"moveToTopFade","rotateUnfoldBottom");case"moveToBottomFadePrevUnfold":return p(A,"moveToBottomFade","rotateUnfoldTop");case"rotateRoomLeftIn":return p(A,"rotateRoomLeftOut","rotateRoomLeftIn");case"rotateRoomRightIn":return p(A,"rotateRoomRightOut","rotateRoomRightIn");case"rotateRoomTopIn":return p(A,"rotateRoomTopOut","rotateRoomTopIn");case"rotateRoomBottomIn":return p(A,"rotateRoomBottomOut","rotateRoomBottomIn");case"rotateCubeLeftIn":return p(A,"rotateCubeLeftOut","rotateCubeLeftIn");case"rotateCubeRightIn":return p(A,"rotateCubeRightOut","rotateCubeRightIn");case"rotateCubeTopIn":return p(A,"rotateCubeTopOut","rotateCubeTopIn");case"rotateCubeBottomIn":return p(A,"rotateCubeBottomOut","rotateCubeBottomIn");case"rotateCarouselLeftIn":return p(A,"rotateCarouselLeftOut","rotateCarouselLeftIn");case"rotateCarouselRightIn":return p(A,"rotateCarouselRightOut","rotateCarouselRightIn");case"rotateCarouselTopIn":return p(A,"rotateCarouselTopOut","rotateCarouselTopIn");case"rotateCarouselBottomIn":return p(A,"rotateCarouselBottomOut","rotateCarouselBottomIn");case"rotateSidesIn":return p(A,"rotateSidesOut","rotateSidesIn");case"rotateSlideIn":return p(A,"rotateSlideOut","rotateSlideIn")}}function x(et,A=600,se=600){switch(et){case r:return A;case a:return se;default:return n.duration}}function k(et,A){switch(et){case"moveFromLeftFadePrevFold":case"moveFromRightFadePrevFold":case"moveFromTopFadePrevFold":case"moveFromBottomFadePrevFold":return x(A,700,700);case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":case"moveFromLeftPrevScaleToSmall":case"moveFromRightPrevScaleToSmall":case"moveFromTopPrevScaleToSmall":case"moveFromBottomPrevScaleToSmall":return x(A,700,600);case"scaleSmall":return x(A,700,500);case"scaleLarge":return x(A,500,700);case"scaleToLargePrevScaleToSmall":return x(A,400,400);case"scaleFromSmallPrevMoveToLeft":case"scaleFromSmallPrevMoveToRight":case"scaleFromSmallPrevMoveToTop":case"scaleFromSmallPrevMoveToBottom":return x(A,600,700);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":return x(A,800,600);default:return n.duration}}let g=n.timingFunction;function m(et){switch(et){default:return n.easeFunction}}function y(et,A){switch(et){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":switch(A){case r:g=h()?"ease-in-out":"ease";break;case a:default:g=h()?"ease":"ease-in-out"}return m(A);default:return g=n.timingFunction,n.easeFunction}}function _(et,A=300){switch(et){case a:return n.delay+A;default:return n.delay}}function w(et,A){switch(et){case"flipToLeft":case"flipToRight":case"flipToTop":case"flipToBottom":case"newspaper":return _(A,500);case"scaleSmall":case"scaleLarge":return _(A,300);case"scaleToLargePrevScaleToSmall":return _(A,400);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":case"rotateSidesIn":return _(A,200);case"pullFromLeftPrevPush":case"pullFromRightPrevPush":case"pullFromTopPrevPush":case"pullFromBottomPrevPush":return _(A,180);default:return n.delay}}let $=2,Y=2;const B=()=>{$=2,Y=2},M=()=>{$=2,Y=3},ut=()=>{$=3,Y=2};function j(et){switch(n.effect){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":ut();break;case"scaleFromSmallPrevMoveToLeft":case"scaleFromSmallPrevMoveToRight":case"scaleFromSmallPrevMoveToTop":case"scaleFromSmallPrevMoveToBottom":case"rotateFall":case"rotateRoomLeftIn":case"rotateRoomRightIn":case"rotateRoomTopIn":case"rotateRoomBottomIn":case"rotateCubeLeftIn":case"rotateCubeRightIn":case"rotateCubeTopIn":case"rotateCubeBottomIn":case"rotateCarouselLeftIn":case"rotateCarouselRightIn":case"rotateCarouselTopIn":case"rotateCarouselBottomIn":h()?ut():M();break;case"moveFromLeftPrevFade":case"moveFromRightPrevFade":case"moveFromTopPrevFade":case"moveFromBottomPrevFade":case"moveFromLeftPrevScaleToSmall":case"moveFromRightPrevScaleToSmall":case"moveFromTopPrevScaleToSmall":case"moveFromBottomPrevScaleToSmall":case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":h()?M():ut();break;default:B();break}d(r)&&r==et&&(f[r].style.zIndex=`${$}`,f[r].style.visibility="visible"),d(a)&&a==et&&(f[a].style.zIndex=`${Y}`,f[a].style.visibility="visible")}function tt(et){M(),et==r&&(f[r].style.zIndex=`${$}`,f[r].style.visibility="hidden"),et==a&&(f[a].style.zIndex=`${Y}`,f[a].style.visibility="visible",l.shift()?.(),s("routeChangeEnd",r,a,c.length),r=a)}const gt=P();function Ot(et=0,A=!1){if(!gt.value)return;let se=0;Ur(Xt("div",{class:"routes-pages",style:{display:"block",width:"100%",height:"100%",overflow:"hidden",position:"relative"}},c.map((Nt,F)=>{const ot=b(n.effect,F);return Xt("div",Object.assign({class:"routes-page",style:{display:"block",width:"100%",height:"100%",overflow:"hidden",position:"absolute",top:"0",left:"0",backfaceVisibility:"hidden",transform:"translate3d(0, 0, 0)",transformStyle:"preserve-3d",visibility:r==F?"visible":"hidden",zIndex:A?"1":"0"}},Nt.pageKey?{key:Nt.pageKey}:{}),Xt(Fa,{effect:ot,duration:k(n.effect,F),easeFunction:y(n.effect,F),timingFunction:g,delay:w(n.effect,F),onReady:(G,it)=>{u[F]={open:G,close:it},++se==et&&(i?.(),s("renderComplete"))},onPageOpenStart:()=>{j(F)},onPageOpenEnd:()=>{tt(F)},onPageCloseStart:()=>{j(F)},onPageCloseEnd:()=>{tt(F)}},{default:()=>Nt.component instanceof HTMLElement?Xt("div",{...Nt.attributes,innerHTML:Nt.component.innerHTML}):Xt(Nt.component,Nt.attributes,()=>Nt.child)}))})),gt.value),f=gt.value.children[0].children}Rt(()=>n.effect,()=>{Ot()});function $t(et=[]){c=[...et],c.forEach(A=>{A.pageKey=A.pageKey||Ln()}),i=()=>{r=-1,Vt(0)},Ot(c.length,!0)}function xt(et){et.pageKey=et.pageKey||Ln(),c.push(et),i=()=>{Vt(c.length-1)},Ot(1,c.length==1)}function kt(){c.length<=1||Vt(c.length-2,()=>{c.splice(c.length-1,1),r=c.length-1,Ot()})}function ne(){Vt(r+1)}function me(){Vt(r-1)}const he=new qr(1);function Vt(et,A){he.addTask(()=>new Promise(se=>{const Nt=()=>{A?.(),se()};if(!d(et)){Nt();return}if(a=et,a==r){Nt();return}l.push(Nt),Ot(),s("routeChangeStart",r,a,c.length),h()?(d(r)&&u[r].open(),d(a)&&u[a].open()):(d(r)&&u[r].close(),d(a)&&u[a].close())}))}return t({reset:$t,push:xt,pop:kt,forward:ne,back:me,goto:Vt,currentPageIndex:()=>r,totalPages:()=>c.length}),(et,A)=>(I(),D("div",{class:"routes",ref_key:"routesRef",ref:gt,style:{display:"block",position:"relative",width:"100%",height:"100%","overflow-x":"hidden","overflow-y":"hidden"}},null,512))}}),ck=["src"],xc=st(V({name:"Image",customOptions:{Container:ht,Pop:le},inheritAttrs:!0,__name:"Image.ce",props:{src:{},mode:{default:"scaleToFill"},dur:{default:300},bgColor:{default:"transparent"},openImageDetailWhenClick:{type:Boolean,default:!0}},emits:["settled"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=new Xe({frameDuration:n.dur}),a=P(0),i=P(0),l=P(0),c=P(0),u=P(0),f=P(0),d=P(0),h=P(0),p=P(!0),b=P(0),x=P(0);nh(n.src).then(tt=>{b.value=tt.width,x.value=tt.height,w()}).catch(()=>{p.value=!1});const k=P(0),g=P(0),m=tt=>{k.value=tt.rect.width,g.value=tt.rect.height,w()},y=P(0),_=P(0);function w(){if(!k.value||!g.value||!b.value||!x.value)return;const tt=ya(n.mode,b.value,x.value,k.value,g.value);y.value=tt.width,_.value=tt.height;const{width:gt,height:Ot}=Xs(),$t=ya("aspectFit",b.value,x.value,gt,Ot);d.value=$t.width,h.value=$t.height,u.value=(gt-d.value)/2,f.value=(Ot-h.value)/2}const $=tt=>{s("settled",tt.rect.x,tt.rect.y,tt.rect.width,tt.rect.height)};let Y=!1;const B=P(),M=P();async function ut(){if(!n.openImageDetailWhenClick)return;const tt=await B.value.getRect();r.clear(),r.addTween({left:tt.x,top:tt.y,width:tt.width,height:tt.height},{left:u.value,top:f.value,width:d.value,height:h.value},{easeFunction:at.Quadratic.Out,onUpdate(gt){a.value=gt.left,i.value=gt.top,l.value=gt.width,c.value=gt.height},onComplete(){Y&&M.value.close(),Y=!Y}}),Y||(M.value.open(),r.play())}function j(){Y&&r.reverse()}return t({}),(tt,gt)=>(I(),dt(ht,{class:"image",type:"full",style:N({backgroundColor:n.bgColor}),onReady:m,onUpdate:m,onClick:ut},{default:W(()=>[p.value?(I(),dt(ht,{key:0,class:"image-inner",ref_key:"imageRef",ref:B,type:"shrink",style:N({width:y.value+"px",height:_.value+"px",backgroundImage:`url(${n.src})`,backgroundSize:`${y.value}px ${_.value}px`}),onReady:$,onUpdate:$},null,8,["style"])):yt("",!0),p.value?yt("",!0):(I(),dt(ht,{key:1,type:"shrink"},{default:W(()=>[v("img",{src:n.src,style:{display:"block",objectFit:"contain"}},null,8,ck)]),_:1})),Z(le,{ref_key:"popRef",ref:M,"direction-from":"absolute","absolute-left":`${a.value}px`,"absolute-top":`${i.value}px`,"absolute-width":`${l.value}px`,"absolute-height":`${c.value}px`,"close-when-click-overlay":!1,onClickOverlay:j},{default:W(()=>[v("div",{class:"image-pop",style:N({width:"100%",height:"100%",backgroundImage:`url(${n.src})`,backgroundSize:"100% 100%"})},null,4)]),_:1},8,["absolute-left","absolute-top","absolute-width","absolute-height"])]),_:1},8,["style"]))}}),[["styles",[`.image[data-v-b241a63e]{overflow:hidden;display:flex!important;justify-content:center;align-items:center}.image-inner[data-v-b241a63e],.image-pop[data-v-b241a63e]{background-repeat:no-repeat;background-position:center center}
|
|
196
|
-
`]],["__scopeId","data-v-b241a63e"]]),uk={key:0,style:{position:"absolute",top:"30px",left:"50%",transform:"translate(-50%, 0)",color:"#ffffff","font-size":"1em","z-index":"98"}},Kp=V({customOptions:{Image:
|
|
192
|
+
)`,"box-sizing":"border-box"}},null,-1)),v("div",{class:"field-knob",style:N([{position:"absolute",width:"12px",height:"12px","box-shadow":"rgba(0, 0, 0, 0.5) 0px 1px 3px","border-radius":"12px","z-index":"1",cursor:"pointer","box-sizing":"border-box"},{left:x.value+"px",top:k.value+"px",backgroundColor:l.value,border:`2px solid ${c.value}`}])},null,4)]),_:1})],4),v("div",P3,[Z(ht,{type:"full",onReady:m},{default:W(()=>[v("div",{class:"hue-knob",style:N([{position:"absolute",width:"15px",height:"2px","z-index":"1","box-sizing":"border-box"},{marginTop:b.value+"px",borderRight:"4px solid "+f.value}])},null,4)]),_:1})])])]),_:3},512))}}),I3={viewBox:"6 6 12 12",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",fill:"none",style:{display:"block",transformOrigin:"center"}},A3=["fill"],$3=["fill"],er=V({__name:"SVGClose",props:{color:{default:"#666666"}},setup(o){const t=o;return(e,n)=>(I(),D("svg",I3,[v("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6.22785 6.22781C6.53159 5.92407 7.02405 5.92407 7.32779 6.22781L17.7722 16.6722C18.0759 16.976 18.0759 17.4685 17.7722 17.7722C17.4685 18.0759 16.976 18.0759 16.6723 17.7722L6.22785 7.32775C5.92411 7.02401 5.92411 6.53155 6.22785 6.22781Z",fill:t.color},null,8,A3),v("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M17.7722 6.22781C18.0759 6.53155 18.0759 7.02401 17.7722 7.32775L7.32775 17.7722C7.02401 18.0759 6.53155 18.0759 6.22781 17.7722C5.92406 17.4685 5.92407 16.976 6.22781 16.6722L16.6722 6.22781C16.976 5.92406 17.4684 5.92406 17.7722 6.22781Z",fill:t.color},null,8,$3)]))}}),N3=["viewBox"],F3=["cx","cy","rx","ry","fill"],Ua=V({__name:"SVGEllipse",props:{color:{default:"#e6e6e6"}},setup(o){const t=o,e=P(0),n=P(0);function s(r){e.value=r.rect.width,n.value=r.rect.height}return(r,a)=>(I(),dt(ht,{type:"full",onReady:s},{default:W(()=>[(I(),D("svg",{viewBox:`0 0 ${e.value} ${n.value}`,xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",fill:"none",style:{display:"block",transformOrigin:"center"}},[v("ellipse",{cx:e.value*.5,cy:n.value*.5,rx:e.value*.5,ry:n.value*.5,fill:t.color},null,8,F3)],8,N3))]),_:1}))}}),z3={class:"dialog-parent"},D3={key:0,class:"top-icon"},M3={class:"top-icon-warn"},L3={class:"top-icon-warn-shadow"},B3={key:0,class:"title"},Y3={key:0,class:"title-inner"},V3={class:"custom-content"},X3={class:"custom-content-default"},Ha=st(V({customOptions:{Overlay:rn,Pop:le,Button:ae,SVGClose:er,SVGWarn:ln,SVGEllipse:Ua},inheritAttrs:!0,__name:"Dialog.ce",props:{closeWhenClickOverlay:{type:Boolean,default:!1},dur:{default:200},minWidth:{default:"280px"},maxWidth:{default:"320px"},overlayBgColor:{},stylePattern:{default:"fullfill"},borderRadius:{default:"12px"}},emits:["open","close","cancel","confirm"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P(),a=P(""),i=P(""),l=P(!1),c=P(""),u=P(""),f=P(n.stylePattern),d=P("transparent"),h=P("transparent"),p=P(!1),b=P(""),x=P(""),k=P(!1);function g(M){switch(f.value=M,M){case"fullfill":d.value="fullfill",h.value="fullfill",p.value=!1,b.value="",x.value="",k.value=!1;break;case"transparent":d.value="transparent",h.value="transparent",p.value=!1,b.value="",x.value="",k.value=!1;break;case"icon-warn-red":d.value="transparent",h.value="fullfill",p.value=!0,b.value=Zt("--xg-red","#fa503c"),x.value=Zt("--xg-red-light","#fa8c78"),k.value=!0;break;case"icon-warn-blue":d.value="transparent",h.value="fullfill",p.value=!0,b.value=Zt("--xg-blue","#5a82f0"),x.value=Zt("--xg-blue-light","#66b3ff"),k.value=!0;break}}Rt(()=>n.stylePattern,()=>{g(n.stylePattern)},{immediate:!0});let m,y;const _=()=>{s("open")},w=()=>{s("close")};function $(M){a.value=M?.title||"",i.value=M?.content||"",l.value=typeof M?.showClose=="boolean"?M?.showClose:!1,c.value=M?.cancelText||"",u.value=M?.confirmText||"",g(M?.stylePattern||n.stylePattern),m=M?.onCancel,y=M?.onConfirm,r.value.open()}function Y(){r.value.close(),m?.(),s("cancel")}function B(){r.value.close(),y?.(),s("confirm")}return t({open:$,close:Y}),(M,ut)=>(I(),dt(le,{ref_key:"popRef",ref:r,directionFrom:"center",closeWhenClickOverlay:n.closeWhenClickOverlay,dur:n.dur,overlayBgColor:n.overlayBgColor,onOpen:_,onClose:w},{default:W(()=>[v("div",z3,[v("div",{class:"dialog",style:N({minWidth:n.minWidth,maxWidth:n.maxWidth})},[p.value?(I(),D("div",D3,[v("div",M3,[Z(ln,{colorStart:b.value,colorEnd:x.value},null,8,["colorStart","colorEnd"])]),v("div",L3,[Z(Ua)])])):yt("",!0),v("div",{class:"dialog-inner",style:N({paddingTop:p.value?"24px":"0px",borderRadius:n.borderRadius})},[a.value||l.value?(I(),D("div",B3,[a.value?(I(),D("div",Y3,ft(a.value),1)):yt("",!0),l.value?(I(),D("div",{key:1,class:"close",onClick:Y},[v("div",null,[Z(er)])])):yt("",!0)])):yt("",!0),v("div",V3,[mt(M.$slots,"default",{},()=>[v("div",X3,ft(i.value),1)],!0)]),c.value||u.value?(I(),D("div",{key:1,class:jt(["btns",[f.value,k.value?"vertical":""]])},[c.value?(I(),dt(ae,{key:0,class:"btn",fontColor:"#333333",stylePattern:d.value,borderRadius:p.value?"44px":"0",borderColor:p.value?"#cccccc":"",bgColor:d.value=="transparent"?"#ffffff":"#f5f5f5",onClick:Y},{default:W(()=>[Bt(ft(c.value),1)]),_:1},8,["stylePattern","borderRadius","borderColor","bgColor"])):yt("",!0),u.value?(I(),dt(ae,{key:1,class:"btn",stylePattern:h.value,borderRadius:p.value?"44px":"0",bgColor:h.value=="transparent"?"#ffffff":"",bgColorStart:b.value,bgColorEnd:x.value,fontWeight:h.value=="transparent"?"bold":"",onClick:B},{default:W(()=>[Bt(ft(u.value),1)]),_:1},8,["stylePattern","borderRadius","bgColor","bgColorStart","bgColorEnd","fontWeight"])):yt("",!0)],2)):yt("",!0)],4)],4)])]),_:3},8,["closeWhenClickOverlay","dur","overlayBgColor"]))}}),[["styles",[`.dialog-parent[data-v-d254fcfe]{display:flex;justify-content:center;align-items:center}.dialog[data-v-d254fcfe]{position:relative}.top-icon[data-v-d254fcfe]{position:absolute;top:0;left:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;justify-content:center;align-items:center}.top-icon-warn[data-v-d254fcfe]{width:60px;height:60px}.top-icon-warn-shadow[data-v-d254fcfe]{width:40px;height:4px;margin-top:4px}.dialog-inner[data-v-d254fcfe]{background-color:#fff;overflow:hidden}.title[data-v-d254fcfe]{position:relative;font-size:20px;margin-top:20px;color:#333}.title-inner[data-v-d254fcfe]{padding:0 42px;text-align:center;font-weight:700}.close[data-v-d254fcfe]{position:absolute;top:0;right:0;width:32px;height:100%;text-align:center;display:flex;justify-content:left;align-items:center;cursor:pointer}.close>div[data-v-d254fcfe]{width:12px;display:flex;justify-content:center;align-items:center}.custom-content[data-v-d254fcfe]{font-size:16px;color:#666;word-break:break-all;text-align:center}.custom-content-default[data-v-d254fcfe]{padding:15px 20px 20px}.btns[data-v-d254fcfe]{display:flex;justify-content:center}.btns.vertical[data-v-d254fcfe]{flex-direction:column}.btns.vertical>.btn[data-v-d254fcfe]{margin-left:20px;margin-right:20px}.btns.vertical>.btn[data-v-d254fcfe]:nth-child(1){order:2;margin-top:10px;margin-bottom:20px}.btns.vertical>.btn[data-v-d254fcfe]:nth-child(2){order:1}.btns.transparent[data-v-d254fcfe]{border-top:1px solid #cccccc}.btns.transparent>.btn+.btn[data-v-d254fcfe]{border-left:1px solid #cccccc!important}.btn[data-v-d254fcfe]{flex:1 1 auto;border-radius:0}
|
|
193
|
+
`]],["__scopeId","data-v-d254fcfe"]]),Z3={class:"dialog-parent"},U3={key:0,class:"top-icon"},H3={class:"top-icon-warn"},G3={class:"top-icon-warn-shadow"},j3={key:0,class:"title"},W3={key:0,class:"title-inner"},q3={class:"custom-content"},K3={class:"custom-content-default"},Q3=V({customOptions:{Overlay:rn,Pop:le,Button:ae,SVGClose:er,SVGWarn:ln,SVGEllipse:Ua},inheritAttrs:!0,__name:"Dialog",props:{closeWhenClickOverlay:{type:Boolean,default:!1},dur:{default:200},minWidth:{default:"280px"},maxWidth:{default:"320px"},overlayBgColor:{},stylePattern:{default:"fullfill"},borderRadius:{default:"12px"}},emits:["open","close","cancel","confirm"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P(),a=P(""),i=P(""),l=P(!1),c=P(""),u=P(""),f=P(n.stylePattern),d=P("transparent"),h=P("transparent"),p=P(!1),b=P(""),x=P(""),k=P(!1);function g(M){switch(f.value=M,M){case"fullfill":d.value="fullfill",h.value="fullfill",p.value=!1,b.value="",x.value="",k.value=!1;break;case"transparent":d.value="transparent",h.value="transparent",p.value=!1,b.value="",x.value="",k.value=!1;break;case"icon-warn-red":d.value="transparent",h.value="fullfill",p.value=!0,b.value=Zt("--xg-red","#fa503c"),x.value=Zt("--xg-red-light","#fa8c78"),k.value=!0;break;case"icon-warn-blue":d.value="transparent",h.value="fullfill",p.value=!0,b.value=Zt("--xg-blue","#5a82f0"),x.value=Zt("--xg-blue-light","#66b3ff"),k.value=!0;break}}Rt(()=>n.stylePattern,()=>{g(n.stylePattern)},{immediate:!0});let m,y;const _=()=>{s("open")},w=()=>{s("close")};function $(M){a.value=M?.title||"",i.value=M?.content||"",l.value=typeof M?.showClose=="boolean"?M?.showClose:!1,c.value=M?.cancelText||"",u.value=M?.confirmText||"",g(M?.stylePattern||n.stylePattern),m=M?.onCancel,y=M?.onConfirm,r.value.open()}function Y(){r.value.close(),m?.(),s("cancel")}function B(){r.value.close(),y?.(),s("confirm")}return t({open:$,close:Y}),(M,ut)=>(I(),dt(le,{ref_key:"popRef",ref:r,directionFrom:"center",closeWhenClickOverlay:n.closeWhenClickOverlay,dur:n.dur,overlayBgColor:n.overlayBgColor,onOpen:_,onClose:w},{default:W(()=>[v("div",Z3,[v("div",{class:"dialog",style:N({minWidth:n.minWidth,maxWidth:n.maxWidth})},[p.value?(I(),D("div",U3,[v("div",H3,[Z(ln,{colorStart:b.value,colorEnd:x.value},null,8,["colorStart","colorEnd"])]),v("div",G3,[Z(Ua)])])):yt("",!0),v("div",{class:"dialog-inner",style:N({paddingTop:p.value?"24px":"0px",borderRadius:n.borderRadius})},[a.value||l.value?(I(),D("div",j3,[a.value?(I(),D("div",W3,ft(a.value),1)):yt("",!0),l.value?(I(),D("div",{key:1,class:"close",onClick:Y},[v("div",null,[Z(er)])])):yt("",!0)])):yt("",!0),v("div",q3,[mt(M.$slots,"default",{},()=>[v("div",K3,ft(i.value),1)],!0)]),c.value||u.value?(I(),D("div",{key:1,class:jt(["btns",[f.value,k.value?"vertical":""]])},[c.value?(I(),dt(ae,{key:0,class:"btn",fontColor:"#333333",stylePattern:d.value,borderRadius:p.value?"44px":"0",borderColor:p.value?"#cccccc":"",bgColor:d.value=="transparent"?"#ffffff":"#f5f5f5",onClick:Y},{default:W(()=>[Bt(ft(c.value),1)]),_:1},8,["stylePattern","borderRadius","borderColor","bgColor"])):yt("",!0),u.value?(I(),dt(ae,{key:1,class:"btn",stylePattern:h.value,borderRadius:p.value?"44px":"0",bgColor:h.value=="transparent"?"#ffffff":"",bgColorStart:b.value,bgColorEnd:x.value,fontWeight:h.value=="transparent"?"bold":"",onClick:B},{default:W(()=>[Bt(ft(u.value),1)]),_:1},8,["stylePattern","borderRadius","bgColor","bgColorStart","bgColorEnd","fontWeight"])):yt("",!0)],2)):yt("",!0)],4)],4)])]),_:3},8,["closeWhenClickOverlay","dur","overlayBgColor"]))}}),YC="",Ga=st(Q3,[["__scopeId","data-v-9cfe37ca"]]),J3={class:"loading-8"},tk={viewBox:"25 25 50 50"},ek=V({__name:"Loading8",props:{color:{default:Zt("--xg-blue")}},setup(o){const t=o;return(e,n)=>(I(),D("div",J3,[(I(),D("svg",tk,[v("circle",{cx:"50",cy:"50",r:"20",style:N(["stroke: "+t.color])},null,4)]))]))}}),VC="",Gp=st(ek,[["__scopeId","data-v-04be3476"]]),ok={class:"loading"},nk={class:"icon"},sk={style:{width:"8em"}},rk={key:0,class:"content"},jp=st(V({customOptions:{Overlay:rn,Pop:le,Dialog:Ga,Loading8:Gp},inheritAttrs:!0,__name:"DialogLoading.ce",props:{closeWhenClickOverlay:{type:Boolean,default:!1},dur:{default:200}},emits:["open","close"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P(),a=P(""),i=()=>{s("open")},l=()=>{s("close")};function c(f){a.value=f||"",r.value.open()}function u(){r.value.close()}return t({open:c,close:u}),(f,d)=>(I(),dt(Ga,{ref_key:"dialog",ref:r,showConfirm:!1,showTitle:!1,closeWhenClickOverlay:n.closeWhenClickOverlay,dur:n.dur,onOpen:i,onClose:l},{default:W(()=>[v("div",ok,[v("div",nk,[mt(f.$slots,"default",{},()=>[v("div",sk,[Z(Gp)])],!0)]),a.value?(I(),D("div",rk,ft(a.value),1)):yt("",!0)])]),_:3},8,["closeWhenClickOverlay","dur"]))}}),[["styles",[`.loading[data-v-78125a55]{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:1em}.icon[data-v-78125a55]{padding:2em 0;display:flex;justify-content:center;align-items:center}.content[data-v-78125a55]{font-size:1em;margin-top:-1em;margin-bottom:1em}
|
|
194
|
+
`]],["__scopeId","data-v-78125a55"]]),ak={class:"toast"},ik={class:"content"},Wp=st(V({customOptions:{Overlay:rn,Pop:le,Dialog:Ga},inheritAttrs:!0,__name:"DialogToast.ce",props:{closeWhenClickOverlay:{type:Boolean,default:!1},dur:{default:200}},emits:["open","close"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P(),a=P(""),i=()=>{s("open")},l=()=>{s("close")};function c(f,d=1500){a.value=f,r.value.open(),setTimeout(()=>{u()},d)}function u(){r.value.close()}return t({open:c,close:u}),(f,d)=>(I(),dt(Ga,{ref_key:"dialog",ref:r,showConfirm:!1,showTitle:!1,closeWhenClickOverlay:n.closeWhenClickOverlay,dur:n.dur,overlayBgColor:"transparent",minWidth:"160px",borderRadius:"8px",onOpen:i,onClose:l},{default:W(()=>[v("div",ak,[v("div",ik,ft(a.value),1)])]),_:1},8,["closeWhenClickOverlay","dur"]))}}),[["styles",[`.toast[data-v-1b77e3db]{display:flex;flex-direction:column;justify-content:center;align-items:center;background-color:#333;color:#ccc;padding:1em}.content[data-v-1b77e3db]{font-size:1em}
|
|
195
|
+
`]],["__scopeId","data-v-1b77e3db"]]),lk=V({customOptions:{Container:ht,CSSAnimation:os},inheritAttrs:!0,__name:"Page.ce",props:{effect:{default:"moveFromLeft"},duration:{default:500},easeFunction:{type:Function,default:at.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["ready","pageOpenStart","pageOpenEnd","pageCloseStart","pageCloseEnd"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P(),a=Wt({}),i=()=>{s("ready",w,$)},l=()=>{b()},c=P();let u="rotateRightSideFirst",f=n.effect;function d(Y,B){switch(f){case"static":B();break;default:Y();break}}let h=!1;const p=new Xe,b=()=>{const Y={},B={};p.clear(),p.frameDuration=n.duration,d(()=>{u=f},()=>{p.addTween(Y,B,{delay:n.delay/n.duration,easeFunction:n.easeFunction,onStart:()=>{s(h?"pageCloseStart":"pageOpenStart")},onUpdate:M=>{a.transform="","x"in M&&(a.transform+=` translateX(${M.x}%)`),"y"in M&&(a.transform+=` translateY(${M.y}%)`),"rx"in M&&(a.transform+=` rotateX(${M.rx}deg)`),"ry"in M&&(a.transform+=` rotateY(${M.ry}deg)`),"scale"in M&&(a.transform+=` scale(${M.scale})`),"opacity"in M&&(a.opacity=`${M.opacity}`)},onComplete:()=>{s(h?"pageCloseEnd":"pageOpenEnd")}})})};Rt(()=>[n.effect,n.delay,n.duration,n.easeFunction],()=>{f=n.effect,b()},{immediate:!0});const x=()=>{s(h?"pageCloseStart":"pageOpenStart")},k=()=>{s(h?"pageCloseEnd":"pageOpenEnd")},g=()=>{d(()=>{c.value.trigger(u)},()=>{p.play()})},m=()=>{d(()=>{c.value.triggerReverse(u)},()=>{p.reverse()})},y=()=>{a.transform="none",a.opacity="1"};function _(){d(()=>{y()},()=>{c.value?.clear()})}const w=Y=>{Y&&(f=Y,b()),h=!1,_(),g()},$=Y=>{Y&&(f=Y,b()),h=!0,_(),m()};return t({open:w,close:$,clear:y}),(Y,B)=>(I(),dt(ht,{class:"page",ref_key:"pageRef",ref:r,type:"full",effectTriggerTiming:"manual",style:{overflow:"hidden",width:"100%",height:"100%"},onReady:i,onUpdate:l},{default:W(()=>[Z(os,{ref_key:"cssAnimationRef",ref:c,containerType:"full",effectTriggerTiming:"manual",duration:n.duration,delay:n.delay,timingFunction:n.timingFunction,onCssanimationstart:x,onCssanimationend:k},{default:W(()=>[v("div",{class:"page-inner",style:N({position:"relative",display:"block",width:"100%",height:"100%",overflow:"scroll",backfaceVisibility:"hidden",transformStyle:"preserve-3d",...a})},[mt(Y.$slots,"default")],4)]),_:3},8,["duration","delay","timingFunction"])]),_:3},512))}}),qp=V({customOptions:{Page:Na,Container:ht},inheritAttrs:!0,__name:"Routes.ce",props:{effect:{default:"moveToLeft"},duration:{default:500},easeFunction:{type:Function,default:at.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["routeChangeStart","routeChangeEnd","renderComplete"],setup(o,{expose:t,emit:e}){const n=o,s=e;let r=-1,a=-1,i;const l=[];let c=[],u=[],f=[];function d(et){return et>=0&&et<c.length}function h(){return a>r}function p(et,A,se){switch(et){case r:return h()?A:se;case a:return h()?se:A;default:return"static"}}function b(et,A){switch(et){case"moveToLeft":return p(A,"moveToLeft","moveFromRight");case"moveToRight":return p(A,"moveToRight","moveFromLeft");case"moveToTop":return p(A,"moveToTop","moveFromBottom");case"moveToBottom":return p(A,"moveToBottom","moveFromTop");case"moveFromLeftPrevFade":return p(A,"fade","moveFromLeft");case"moveFromRightPrevFade":return p(A,"fade","moveFromRight");case"moveFromTopPrevFade":return p(A,"fade","moveFromTop");case"moveFromBottomPrevFade":return p(A,"fade","moveFromBottom");case"moveToLeftFade":return p(A,"moveToLeftFade","moveFromRightFade");case"moveToRightFade":return p(A,"moveToRightFade","moveFromLeftFade");case"moveToTopFade":return p(A,"moveToTopFade","moveFromBottomFade");case"moveToBottomFade":return p(A,"moveToBottomFade","moveFromTopFade");case"moveToLeftEasing":return p(A,"moveToLeft","moveFromRight");case"moveToRightEasing":return p(A,"moveToRight","moveFromLeft");case"moveToTopEasing":return p(A,"moveToTop","moveFromBottom");case"moveToBottomEasing":return p(A,"moveToBottom","moveFromTop");case"moveFromLeftPrevScaleToSmall":return p(A,"scaleToSmall","moveFromLeft");case"moveFromRightPrevScaleToSmall":return p(A,"scaleToSmall","moveFromRight");case"moveFromTopPrevScaleToSmall":return p(A,"scaleToSmall","moveFromTop");case"moveFromBottomPrevScaleToSmall":return p(A,"scaleToSmall","moveFromBottom");case"scaleSmall":return p(A,"scaleToSmall","scaleFromLarge");case"scaleLarge":return p(A,"scaleToLarge","scaleFromSmall");case"scaleToLargePrevScaleToSmall":return p(A,"scaleToSmallCenter","scaleFromSmallCenter");case"scaleFromSmallPrevMoveToLeft":return p(A,"moveToLeft","scaleFromSmall");case"scaleFromSmallPrevMoveToRight":return p(A,"moveToRight","scaleFromSmall");case"scaleFromSmallPrevMoveToTop":return p(A,"moveToTop","scaleFromSmall");case"scaleFromSmallPrevMoveToBottom":return p(A,"moveToBottom","scaleFromSmall");case"glueToLeft":return p(A,"rotateRightSideFirst","moveFromRight");case"glueToRight":return p(A,"rotateLeftSideFirst","moveFromLeft");case"glueToTop":return p(A,"rotateBottomSideFirst","moveFromBottom");case"glueToBottom":return p(A,"rotateTopSideFirst","moveFromTop");case"flipToLeft":return p(A,"flipOutLeft","flipInRight");case"flipToRight":return p(A,"flipOutRight","flipInLeft");case"flipToTop":return p(A,"flipOutTop","flipInBottom");case"flipToBottom":return p(A,"flipOutBottom","flipInTop");case"rotateFall":return p(A,"rotateFall","scaleFromSmall");case"newspaper":return p(A,"rotateOutNewspaper","rotateInNewspaper");case"moveFromLeftPrevPush":return p(A,"rotatePushRight","moveFromLeft");case"moveFromRightPrevPush":return p(A,"rotatePushLeft","moveFromRight");case"moveFromTopPrevPush":return p(A,"rotatePushBottom","moveFromTop");case"moveFromBottomPrevPush":return p(A,"rotatePushTop","moveFromBottom");case"pullFromLeftPrevPush":return p(A,"rotatePushRight","rotatePullLeft");case"pullFromRightPrevPush":return p(A,"rotatePushLeft","rotatePullRight");case"pullFromTopPrevPush":return p(A,"rotatePushBottom","rotatePullTop");case"pullFromBottomPrevPush":return p(A,"rotatePushTop","rotatePullBottom");case"moveFromLeftFadePrevFold":return p(A,"rotateFoldRight","moveFromLeftFade");case"moveFromRightFadePrevFold":return p(A,"rotateFoldLeft","moveFromRightFade");case"moveFromTopFadePrevFold":return p(A,"rotateFoldBottom","moveFromTopFade");case"moveFromBottomFadePrevFold":return p(A,"rotateFoldTop","moveFromBottomFade");case"moveToLeftFadePrevUnfold":return p(A,"moveToLeftFade","rotateUnfoldRight");case"moveToRightFadePrevUnfold":return p(A,"moveToRightFade","rotateUnfoldLeft");case"moveToTopFadePrevUnfold":return p(A,"moveToTopFade","rotateUnfoldBottom");case"moveToBottomFadePrevUnfold":return p(A,"moveToBottomFade","rotateUnfoldTop");case"rotateRoomLeftIn":return p(A,"rotateRoomLeftOut","rotateRoomLeftIn");case"rotateRoomRightIn":return p(A,"rotateRoomRightOut","rotateRoomRightIn");case"rotateRoomTopIn":return p(A,"rotateRoomTopOut","rotateRoomTopIn");case"rotateRoomBottomIn":return p(A,"rotateRoomBottomOut","rotateRoomBottomIn");case"rotateCubeLeftIn":return p(A,"rotateCubeLeftOut","rotateCubeLeftIn");case"rotateCubeRightIn":return p(A,"rotateCubeRightOut","rotateCubeRightIn");case"rotateCubeTopIn":return p(A,"rotateCubeTopOut","rotateCubeTopIn");case"rotateCubeBottomIn":return p(A,"rotateCubeBottomOut","rotateCubeBottomIn");case"rotateCarouselLeftIn":return p(A,"rotateCarouselLeftOut","rotateCarouselLeftIn");case"rotateCarouselRightIn":return p(A,"rotateCarouselRightOut","rotateCarouselRightIn");case"rotateCarouselTopIn":return p(A,"rotateCarouselTopOut","rotateCarouselTopIn");case"rotateCarouselBottomIn":return p(A,"rotateCarouselBottomOut","rotateCarouselBottomIn");case"rotateSidesIn":return p(A,"rotateSidesOut","rotateSidesIn");case"rotateSlideIn":return p(A,"rotateSlideOut","rotateSlideIn")}}function x(et,A=600,se=600){switch(et){case r:return A;case a:return se;default:return n.duration}}function k(et,A){switch(et){case"moveFromLeftFadePrevFold":case"moveFromRightFadePrevFold":case"moveFromTopFadePrevFold":case"moveFromBottomFadePrevFold":return x(A,700,700);case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":case"moveFromLeftPrevScaleToSmall":case"moveFromRightPrevScaleToSmall":case"moveFromTopPrevScaleToSmall":case"moveFromBottomPrevScaleToSmall":return x(A,700,600);case"scaleSmall":return x(A,700,500);case"scaleLarge":return x(A,500,700);case"scaleToLargePrevScaleToSmall":return x(A,400,400);case"scaleFromSmallPrevMoveToLeft":case"scaleFromSmallPrevMoveToRight":case"scaleFromSmallPrevMoveToTop":case"scaleFromSmallPrevMoveToBottom":return x(A,600,700);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":return x(A,800,600);default:return n.duration}}let g=n.timingFunction;function m(et){switch(et){default:return n.easeFunction}}function y(et,A){switch(et){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":switch(A){case r:g=h()?"ease-in-out":"ease";break;case a:default:g=h()?"ease":"ease-in-out"}return m(A);default:return g=n.timingFunction,n.easeFunction}}function _(et,A=300){switch(et){case a:return n.delay+A;default:return n.delay}}function w(et,A){switch(et){case"flipToLeft":case"flipToRight":case"flipToTop":case"flipToBottom":case"newspaper":return _(A,500);case"scaleSmall":case"scaleLarge":return _(A,300);case"scaleToLargePrevScaleToSmall":return _(A,400);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":case"rotateSidesIn":return _(A,200);case"pullFromLeftPrevPush":case"pullFromRightPrevPush":case"pullFromTopPrevPush":case"pullFromBottomPrevPush":return _(A,180);default:return n.delay}}let $=2,Y=2;const B=()=>{$=2,Y=2},M=()=>{$=2,Y=3},ut=()=>{$=3,Y=2};function j(et){switch(n.effect){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":ut();break;case"scaleFromSmallPrevMoveToLeft":case"scaleFromSmallPrevMoveToRight":case"scaleFromSmallPrevMoveToTop":case"scaleFromSmallPrevMoveToBottom":case"rotateFall":case"rotateRoomLeftIn":case"rotateRoomRightIn":case"rotateRoomTopIn":case"rotateRoomBottomIn":case"rotateCubeLeftIn":case"rotateCubeRightIn":case"rotateCubeTopIn":case"rotateCubeBottomIn":case"rotateCarouselLeftIn":case"rotateCarouselRightIn":case"rotateCarouselTopIn":case"rotateCarouselBottomIn":h()?ut():M();break;case"moveFromLeftPrevFade":case"moveFromRightPrevFade":case"moveFromTopPrevFade":case"moveFromBottomPrevFade":case"moveFromLeftPrevScaleToSmall":case"moveFromRightPrevScaleToSmall":case"moveFromTopPrevScaleToSmall":case"moveFromBottomPrevScaleToSmall":case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":h()?M():ut();break;default:B();break}d(r)&&r==et&&(f[r].style.zIndex=`${$}`,f[r].style.visibility="visible"),d(a)&&a==et&&(f[a].style.zIndex=`${Y}`,f[a].style.visibility="visible")}function tt(et){M(),et==r&&(f[r].style.zIndex=`${$}`,f[r].style.visibility="hidden"),et==a&&(f[a].style.zIndex=`${Y}`,f[a].style.visibility="visible",l.shift()?.(),s("routeChangeEnd",r,a,c.length),r=a)}const gt=P();function Ot(et=0,A=!1){if(!gt.value)return;let se=0;Ur(Xt("div",{class:"routes-pages",style:{display:"block",width:"100%",height:"100%",overflow:"hidden",position:"relative"}},c.map((Nt,F)=>{const ot=b(n.effect,F);return Xt("div",Object.assign({class:"routes-page",style:{display:"block",width:"100%",height:"100%",overflow:"hidden",position:"absolute",top:"0",left:"0",backfaceVisibility:"hidden",transform:"translate3d(0, 0, 0)",transformStyle:"preserve-3d",visibility:r==F?"visible":"hidden",zIndex:A?"1":"0"}},Nt.pageKey?{key:Nt.pageKey}:{}),Xt(Na,{effect:ot,duration:k(n.effect,F),easeFunction:y(n.effect,F),timingFunction:g,delay:w(n.effect,F),onReady:(G,it)=>{u[F]={open:G,close:it},++se==et&&(i?.(),s("renderComplete"))},onPageOpenStart:()=>{j(F)},onPageOpenEnd:()=>{tt(F)},onPageCloseStart:()=>{j(F)},onPageCloseEnd:()=>{tt(F)}},{default:()=>Nt.component instanceof HTMLElement?Xt("div",{...Nt.attributes,innerHTML:Nt.component.innerHTML}):Xt(Nt.component,Nt.attributes,()=>Nt.child)}))})),gt.value),f=gt.value.children[0].children}Rt(()=>n.effect,()=>{Ot()});function $t(et=[]){c=[...et],c.forEach(A=>{A.pageKey=A.pageKey||Ln()}),i=()=>{r=-1,Vt(0)},Ot(c.length,!0)}function xt(et){et.pageKey=et.pageKey||Ln(),c.push(et),i=()=>{Vt(c.length-1)},Ot(1,c.length==1)}function kt(){c.length<=1||Vt(c.length-2,()=>{c.splice(c.length-1,1),r=c.length-1,Ot()})}function ne(){Vt(r+1)}function me(){Vt(r-1)}const he=new jr(1);function Vt(et,A){he.addTask(()=>new Promise(se=>{const Nt=()=>{A?.(),se()};if(!d(et)){Nt();return}if(a=et,a==r){Nt();return}l.push(Nt),Ot(),s("routeChangeStart",r,a,c.length),h()?(d(r)&&u[r].open(),d(a)&&u[a].open()):(d(r)&&u[r].close(),d(a)&&u[a].close())}))}return t({reset:$t,push:xt,pop:kt,forward:ne,back:me,goto:Vt,currentPageIndex:()=>r,totalPages:()=>c.length}),(et,A)=>(I(),D("div",{class:"routes",ref_key:"routesRef",ref:gt,style:{display:"block",position:"relative",width:"100%",height:"100%","overflow-x":"hidden","overflow-y":"hidden"}},null,512))}}),ck=["src"],xc=st(V({name:"Image",customOptions:{Container:ht,Pop:le},inheritAttrs:!0,__name:"Image.ce",props:{src:{},mode:{default:"scaleToFill"},dur:{default:300},bgColor:{default:"transparent"},openImageDetailWhenClick:{type:Boolean,default:!0}},emits:["settled"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=new Xe({frameDuration:n.dur}),a=P(0),i=P(0),l=P(0),c=P(0),u=P(0),f=P(0),d=P(0),h=P(0),p=P(!0),b=P(0),x=P(0);nh(n.src).then(tt=>{b.value=tt.width,x.value=tt.height,w()}).catch(()=>{p.value=!1});const k=P(0),g=P(0),m=tt=>{k.value=tt.rect.width,g.value=tt.rect.height,w()},y=P(0),_=P(0);function w(){if(!k.value||!g.value||!b.value||!x.value)return;const tt=ga(n.mode,b.value,x.value,k.value,g.value);y.value=tt.width,_.value=tt.height;const{width:gt,height:Ot}=Xs(),$t=ga("aspectFit",b.value,x.value,gt,Ot);d.value=$t.width,h.value=$t.height,u.value=(gt-d.value)/2,f.value=(Ot-h.value)/2}const $=tt=>{s("settled",tt.rect.x,tt.rect.y,tt.rect.width,tt.rect.height)};let Y=!1;const B=P(),M=P();async function ut(){if(!n.openImageDetailWhenClick)return;const tt=await B.value.getRect();r.clear(),r.addTween({left:tt.x,top:tt.y,width:tt.width,height:tt.height},{left:u.value,top:f.value,width:d.value,height:h.value},{easeFunction:at.Quadratic.Out,onUpdate(gt){a.value=gt.left,i.value=gt.top,l.value=gt.width,c.value=gt.height},onComplete(){Y&&M.value.close(),Y=!Y}}),Y||(M.value.open(),r.play())}function j(){Y&&r.reverse()}return t({}),(tt,gt)=>(I(),dt(ht,{class:"image",type:"full",style:N({backgroundColor:n.bgColor}),onReady:m,onUpdate:m,onClick:ut},{default:W(()=>[p.value?(I(),dt(ht,{key:0,class:"image-inner",ref_key:"imageRef",ref:B,type:"shrink",style:N({width:y.value+"px",height:_.value+"px",backgroundImage:`url(${n.src})`,backgroundSize:`${y.value}px ${_.value}px`}),onReady:$,onUpdate:$},null,8,["style"])):yt("",!0),p.value?yt("",!0):(I(),dt(ht,{key:1,type:"shrink"},{default:W(()=>[v("img",{src:n.src,style:{display:"block",objectFit:"contain"}},null,8,ck)]),_:1})),Z(le,{ref_key:"popRef",ref:M,"direction-from":"absolute","absolute-left":`${a.value}px`,"absolute-top":`${i.value}px`,"absolute-width":`${l.value}px`,"absolute-height":`${c.value}px`,"close-when-click-overlay":!1,onClickOverlay:j},{default:W(()=>[v("div",{class:"image-pop",style:N({width:"100%",height:"100%",backgroundImage:`url(${n.src})`,backgroundSize:"100% 100%"})},null,4)]),_:1},8,["absolute-left","absolute-top","absolute-width","absolute-height"])]),_:1},8,["style"]))}}),[["styles",[`.image[data-v-b241a63e]{overflow:hidden;display:flex!important;justify-content:center;align-items:center}.image-inner[data-v-b241a63e],.image-pop[data-v-b241a63e]{background-repeat:no-repeat;background-position:center center}
|
|
196
|
+
`]],["__scopeId","data-v-b241a63e"]]),uk={key:0,style:{position:"absolute",top:"30px",left:"50%",transform:"translate(-50%, 0)",color:"#ffffff","font-size":"1em","z-index":"98"}},Kp=V({customOptions:{Image:Fa,Container:ht,Routes:tr},inheritAttrs:!0,__name:"ImageView.ce",props:{urls:{default:()=>[]},effect:{default:"moveToLeftFade"}},setup(o,{expose:t,emit:e}){const n=o,s=P(0);function r(d,h){s.value=h}const a=P(),i=d=>{d.eb.on("panLeft",()=>{a.value?.forward()}),d.eb.on("panRight",()=>{a.value?.back()}),a.value.reset(n.urls.map(h=>({component:Xt(Fa,{mode:"aspectFit",src:h,openImageDetailWhenClick:!1})})))},l=P();function c(){l.value?.open()}function u(){l.value?.close()}const f=d=>{d.target&&ya(d.target,"image")&&u()};return t({open:c,close:u}),(d,h)=>(I(),dt(le,{ref_key:"popRef",ref:l,directionFrom:"absolute",onClick:f},{default:W(()=>[n.urls.length>1?(I(),D("div",uk,ft(s.value+1)+" / "+ft(n.urls.length),1)):yt("",!0),Z(ht,{style:{position:"absolute",top:"50%",transform:"translate(0, -50%)",width:"100%",height:"100%","z-index":"97"},onReady:i},{default:W(()=>[Z(tr,{ref_key:"routesRef",ref:a,effect:n.effect,onRouteChangeEnd:r},null,8,["effect"])]),_:1})]),_:1},512))}}),Qp=st(V({customOptions:{Container:ht,SVGDown:Va},inheritAttrs:!0,__name:"Accordion.ce",props:{initOpen:{type:Boolean,default:!1},titleHeight:{default:"44px"},bgColor:{default:"#efefef"},fontColor:{default:"#333333"},borderColor:{default:"#dddddd"},borderRadius:{default:"4px"},padding:{default:"1em"},duration:{default:500}},emits:["open","close"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P(),a=P(Number.MAX_SAFE_INTEGER+"px"),i=P(!0);pe(()=>{kr(()=>{a.value=r.value.getBoundingClientRect().height+"px",i.value=n.initOpen})});function l(){i.value=!i.value,i.value?s("open"):s("close")}const c=P(0);return Mn(()=>{c.value=i.value?0:-90}),t({}),(u,f)=>(I(),dt(ht,null,{default:W(()=>[v("div",{class:"accordion",style:N({background:n.bgColor,color:n.fontColor,borderRadius:n.borderRadius})},[v("div",{class:"accordion-title",onClick:l,style:N({height:n.titleHeight,lineHeight:n.titleHeight,margin:`0 ${n.padding}`,transitionDelay:`${i.value?0:n.duration}ms`,borderBottom:`${i.value?1:0}px solid ${n.borderColor}`})},[mt(u.$slots,"title",{},()=>[f[0]||(f[0]=Bt("title"))],!0),Z(Va,{class:"arrow",style:N({transition:`transform ${n.duration}ms ease-in-out`,transform:`rotate(${c.value}deg)`})},null,8,["style"])],4),v("div",{class:"accordion-content",ref_key:"content",ref:r,style:N({margin:`0 ${n.padding}`,transition:`max-height ${n.duration}ms ease-in-out`,maxHeight:i.value?a.value:"0"})},[mt(u.$slots,"content",{},void 0,!0)],4)],4)]),_:3}))}}),[["styles",[`.accordion[data-v-58414e5a]{width:100%;font-size:1em;position:relative;overflow:hidden}.accordion-title[data-v-58414e5a]{display:flex;justify-content:space-between;align-items:center;user-select:none;cursor:pointer}.accordion-content[data-v-58414e5a]{word-break:break-all;overflow:hidden}
|
|
197
197
|
`]],["__scopeId","data-v-58414e5a"]]),fk=`.resize-observer[data-v-16da9fc4]{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.resize-observer[data-v-16da9fc4] object{position:absolute;top:0;left:0;height:100%;width:100%;display:block;overflow:hidden;pointer-events:none;z-index:-1}
|
|
198
|
-
`,dk={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!0},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},mounted(){this.$nextTick(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const o=document.createElement("object");this._resizeObject=o,o.setAttribute("aria-hidden","true"),o.setAttribute("tabindex",-1),o.onload=this.addResizeHandlers,o.type="text/html",bl&&this.$el.appendChild(o),o.data="about:blank",bl||this.$el.appendChild(o)},beforeDestroy(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("resize",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!bl&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}},hk={class:"resize-observer",tabindex:"-1"};function pk(o,t,e,n,s,r){return I(),D("div",hk)}const Jp=st(dk,[["render",pk],["styles",[fk]],["__scopeId","data-v-16da9fc4"]]),tm=V({__name:"MapTianditu.ce",props:{mapKey:{default:"8261564c2f1435b76dc5991adad737e6"},mapContainerID:{default:"mapTiandituDiv"},mapWidth:{},mapHeight:{},mapZoom:{default:18},mapCenterLng:{default:120.619585},mapCenterLat:{default:31.299379}},emits:["click"],setup(o,{expose:t,emit:e}){const n=o,s=P(n.mapWidth),r=P(n.mapHeight);function a(c){s.value=c.width+"px",r.value=c.height+"px"}function i(c){a(c.rect),Uv(`http://api.tianditu.gov.cn/api?v=4.0&tk=${n.mapKey}`).then(()=>{new qv(n.mapContainerID,n.mapCenterLng,n.mapCenterLat,n.mapZoom)}).catch(u=>{console.log("error",u)})}function l(c){a(c.rect)}return t({}),(c,u)=>(I(),dt(ht,{type:"full",onReady:i,onUpdate:l},{default:W(()=>[mt(c.$slots,"default",{width:s.value,height:r.value})]),_:3}))}}),mk=["width","height"],gk=V({customOptions:{},inheritAttrs:!0,__name:"HandWritePanel.ce",props:{canvasWidth:{default:"400"},canvasHeight:{default:"300"},borderColor:{default:"#000000"},brushSize:{default:4},brushDensity:{default:200},brushColor:{default:"#000000"},downloadFileName:{default:"手写图片"}},setup(o,{expose:t,emit:e}){const n=o;let s=()=>{};const r=P();return Rt(r,()=>{if(!r.value)return;const a=
|
|
199
|
-
`]],["__scopeId","data-v-67fd9815"]]),Sk=["fill"],Ok=["fill"],om=V({__name:"SVGCheck",props:{width:{default:"10px"},color:{default:Zt("--xg-blue")}},setup(o){const t=o;return(e,n)=>(I(),D("svg",{style:N(["transform-origin: center","width: "+t.width]),viewBox:"0 0 7 5",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[v("path",{d:"M0.153989 2.49994C-0.0513296 2.28468 -0.0513296 1.93567 0.153989 1.72041C0.359307 1.50514 0.692194 1.50514 0.897512 1.72041L3.12808 4.05902C3.3334 4.27428 3.3334 4.62329 3.12808 4.83855C2.92276 5.05382 2.58988 5.05382 2.38456 4.83855L0.153989 2.49994Z",fill:t.color},null,8,Sk),v("path",{d:"M6.10249 0.161447C6.30781 -0.0538159 6.64069 -0.0538157 6.84601 0.161447C7.05133 0.376711 7.05133 0.725721 6.84601 0.940984L3.12808 4.83855C2.92276 5.05382 2.58988 5.05382 2.38456 4.83855C2.17924 4.62329 2.17955 4.27439 2.38487 4.05913L6.10249 0.161447Z",fill:t.color},null,8,Ok)],4))}}),Pk=o=>{const t={};if(o.attributes)for(let e=0,n=o.attributes,s=n.length;e<s;e++){const r=n[e];r.nodeName&&r.nodeValue&&(t[r.nodeName]=r.nodeValue)}return t},eo=V({customOptions:{},inheritAttrs:!0,__name:"Click",props:{cover:{default:"rgba(0,0,0,0.1)"}},emits:["yz-click","click"],setup(o,{emit:t}){const e=o,n=t,s=P(!1),a=gl(()=>{s.value=!0,setTimeout(()=>{s.value=!1},100),n("yz-click"),n("click")},300);return(i,l)=>(I(),D("div",{class:"click",style:N(["position: relative","width: 100%","height: 100%","overflow: hidden","cursor: pointer","user-select: none","box-sizing: border-box","display: inline-flex","justify-content: center","align-items: center","z-index: 0"]),onClick:l[0]||(l[0]=(...c)=>Tt(a)&&Tt(a)(...c))},[mt(i.$slots,"default"),v("div",{style:N([`display: ${s.value?"block":"none"}`,"position: absolute","top: 0","left: 0","width: 100%","height: 100%",`background: ${e.cover}`,"z-index: 1"])},null,4)]))}});function JC(o){return o}const oo=document.getElementById("teleport")||document.documentElement;function Rk(o,t,e){{const n=document.createElement("yz-dialog-toast");if(oo.appendChild(n),n&&"_instance"in n){const s=()=>{e?.onOpen?.()},r=()=>{e?.onClose?.(),oo.removeChild(n)};n.addEventListener("open",s),n.addEventListener("close",r),n._instance.exposed.open(o,t)}}}function Ik(o){{const t=document.createElement("yz-dialog-loading");if(oo.appendChild(t),t&&"_instance"in t){const e=()=>{oo.removeChild(t)};t.addEventListener("close",e),t._instance.exposed.open(o)}return()=>{t&&"_instance"in t&&t._instance.exposed.close()}}}function Ak(o){{const t=document.createElement("yz-dialog");if(oo.appendChild(t),t&&"_instance"in t){const e=()=>{oo.removeChild(t)};t.addEventListener("close",e),t._instance.exposed.open(o)}return()=>{t&&"_instance"in t&&t._instance.exposed.close()}}}function ss(o,t="bottom",e){let n;o instanceof HTMLElement?n=Xt(le,{directionFrom:t,absoluteLeft:e?.absoluteLeft,absoluteTop:e?.absoluteTop,absoluteWidth:e?.absoluteWidth,absoluteHeight:e?.absoluteHeight},()=>Xt("div",{...Pk(o),innerHTML:o.innerHTML})):n=Xt(le,{directionFrom:t,absoluteLeft:e?.absoluteLeft,absoluteTop:e?.absoluteTop,absoluteWidth:e?.absoluteWidth,absoluteHeight:e?.absoluteHeight},()=>o),Ur(n,oo),n.component?.exposed?.open();const s=()=>{n.component?.exposed?.close()};return s.vnode=n,s}function nm(o,t){return ss(o,"bottom",t)}function sm(o,t){return ss(o,"top",t)}function rm(o,t){return ss(o,"left",t)}function am(o,t){return ss(o,"right",t)}function im(o,t){return ss(o,"center",t)}function lm(o,t){return ss(o,"absolute",t)}const $k=()=>nm(Xt("div",{style:"padding: 30px; background-color:#ffffff; width: 100%;"},Xt("yz-input",{placeholder:"请输入邮箱",validator:Vn}))),Nk=()=>sm(Xt("div",{style:"padding: 30px; background-color:#ffffff; width: 100%;"},Xt("yz-input",{placeholder:"请输入邮箱",validator:Vn}))),Fk=()=>rm(Xt("div",{style:"padding: 30px; background-color:#ffffff; height: 100%;"},Xt("yz-input",{placeholder:"请输入邮箱",validator:Vn}))),zk=()=>am(Xt("div",{style:"padding: 30px; background-color:#ffffff; height: 100%;"},Xt("yz-input",{placeholder:"请输入邮箱",validator:Vn}))),Dk=()=>im(Xt("div",{style:"width: 200px;height: 200px;padding: 30px; background-color:#ffffff;"},Xt("yz-input",{placeholder:"请输入邮箱",validator:Vn}))),Mk=()=>lm(Xt("div",{style:"width: 200px;height: 200px;padding: 30px; background-color:#ffffff;"},Xt("yz-input",{placeholder:"请输入邮箱",validator:Vn})),{absoluteLeft:"50%",absoluteTop:"50%",absoluteWidth:"200px",absoluteHeight:"200px"});function cm(o){{const t=document.createElement("yz-plate-keyboard");if(oo.appendChild(t),t&&"_instance"in t){if(o?.onPlates){const e=n=>{"detail"in n&&o.onPlates(n.detail[0])};t.addEventListener("plates",e)}if(o?.onOpen&&t.addEventListener("open",o.onOpen),o?.onClose){const e=()=>{oo.removeChild(t)};t.addEventListener("close",e)}if(o?.onResize){const e=n=>{"detail"in n&&o.onResize.apply(t,n.detail[0])};t.addEventListener("resize",e)}t.initPlates=o?.initPlates,t.completePlateLength=o?.completePlateLength,t._instance.exposed.open()}return()=>{t&&"_instance"in t&&t._instance.exposed.close()}}}function Lk(o){{const t=document.createElement("yz-number-keyboard");if(oo.appendChild(t),t&&"_instance"in t){if(o?.onNumber){const n=s=>{"detail"in s&&o.onNumber(s.detail[0])};t.addEventListener("number",n)}if(o?.onError){const n=s=>{"detail"in s&&o.onError(s.detail[0])};t.addEventListener("error",n)}const e=()=>{oo.removeChild(t)};t.addEventListener("close",e),typeof o?.min=="number"&&(t.min=o.min),typeof o?.max=="number"&&(t.max=o.max),t.title=o?.title,t._instance.exposed.open()}return()=>{t&&"_instance"in t&&t._instance.exposed.close()}}}const Bk=["onClick"],Yk={key:1},Vk=["onClick"],Xk={key:0,class:"info"},um=st(V({customOptions:{SVGCheck:om},inheritAttrs:!0,__name:"PlateMobile.ce",props:{maxWidth:{default:"750px"},showBottomInfo:{type:Boolean,default:!0},stylePattern:{default:"simple"}},emits:["clear","complete"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=[{name:"蓝牌",style:"background-color: #0078f0;",completePlateLength:7,symbol:"b"},{name:"绿牌",style:"background-color: #00f08c;",completePlateLength:8,symbol:"g"},{name:"黄牌",style:"background-color: #fac800;",completePlateLength:7,symbol:"y"},{name:"黄绿",style:"background: linear-gradient(90deg, #fac800 51.5%, #00f08c 51.51%);",completePlateLength:8,symbol:"q"},{name:"黑牌",style:"background-color: #222222;",completePlateLength:7,symbol:"d"}],a=P(),i=P(0),l=Wt([]),c=P(-1),u=P(!1),f=P(0);async function d(){const x=ca().clientHeight-a.value.getBoundingClientRect().bottom;cm({initPlates:l,completePlateLength:r[i.value].completePlateLength,onPlates:k=>{Bn(l,k),c.value=l.length,l.length===r[i.value].completePlateLength&&s("complete",r[i.value].name,l.join(""))},onOpen:()=>{u.value=!0},onClose:()=>{u.value=!1},onResize:k=>{f.value=Math.min(0,x-k.height)}})}const h=async b=>{i.value=b,c.value<=r[b].completePlateLength&&l.length<r[b].completePlateLength?(c.value=l.length,await d(),s("clear")):Bn(l,l.slice(0,r[b].completePlateLength)),r[b].completePlateLength===l.length&&s("complete",r[i.value].name,l.join(""))},p=async b=>{Bn(l,l.slice(0,b)),c.value=Math.min(Math.max(0,c.value),b),await d(),s("clear")};return t({}),(b,x)=>(I(),dt(ht,{class:"plate-mobile",style:N({maxWidth:n.maxWidth,transform:u.value?`translate(0, ${f.value}px)`:""})},{default:W(()=>[x[2]||(x[2]=v("div",{class:"title"},"车牌颜色",-1)),v("div",{class:jt(["plate-types",n.stylePattern])},[(I(),D(Dt,null,Ee(r,(k,g)=>v("div",{key:g,class:jt(g==i.value?"checked":""),onClick:m=>h(g)},[n.stylePattern=="dot"?(I(),D(Dt,{key:0},[v("div",{style:N(k.style)},null,4),v("div",null,ft(k.name),1),v("div",null,[Z(om,{color:"#ffffff",width:"7px"})])],64)):(I(),D("div",Yk,ft(k.name),1))],10,Bk)),64))],2),x[3]||(x[3]=v("div",{class:"title"},"车牌号码",-1)),v("div",{class:"plate-numbers",ref_key:"numbersRef",ref:a},[v("div",{onClick:x[0]||(x[0]=k=>p(0)),class:jt(c.value==0?"current":"")},ft(l[0]),3),v("div",{onClick:x[1]||(x[1]=k=>p(1)),class:jt(c.value==1?"current":"")},ft(l[1]),3),(I(!0),D(Dt,null,Ee(r[i.value].completePlateLength-2,k=>(I(),D("div",{key:k,class:jt(k+1==c.value?"current":""),onClick:g=>p(k+1)},ft(l[k+1]),11,Vk))),128))],512),n.showBottomInfo?(I(),D("div",Xk," 请输入您真实有效的车牌号,便于正常使用系统功能。 ")):yt("",!0)]),_:1},8,["style"]))}}),[["styles",[`.plate-mobile[data-v-bdf30c29]{background-color:#fff;overflow:hidden;border-radius:8px;padding-bottom:15px;padding-left:15px;padding-right:15px}.title[data-v-bdf30c29]{font-size:16px;line-height:1;color:#333;font-weight:700;text-align:center;margin-top:20px;margin-bottom:10px}.plate-types[data-v-bdf30c29]{display:flex;justify-content:center}.plate-types>div[data-v-bdf30c29]{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;width:60px;height:44px;border-radius:4px;background-color:#f5f5f5;cursor:pointer;overflow:hidden}.plate-types>div+div[data-v-bdf30c29]{margin-left:5px}.plate-types.dot>div>div[data-v-bdf30c29]:nth-child(1){width:14px;height:14px;margin-bottom:5px;border-radius:50%;background-color:#0078f0}.plate-types.dot>div:nth-child(2)>div[data-v-bdf30c29]:nth-child(1){background-color:#00f08c}.plate-types.dot>div:nth-child(3)>div[data-v-bdf30c29]:nth-child(1){background-color:#fac800}.plate-types.dot>div:nth-child(4)>div[data-v-bdf30c29]:nth-child(1){background:linear-gradient(90deg,#fac800 51.5%,#00f08c 51.51%)}.plate-types.dot>div:nth-child(5)>div[data-v-bdf30c29]:nth-child(1){background-color:#222}.plate-types.dot>div>div[data-v-bdf30c29]:nth-child(2){color:#ccc;font-size:14px;line-height:1;font-weight:700}.plate-types.dot>div>div[data-v-bdf30c29]:nth-child(3){display:none;position:absolute;right:-1px;bottom:-1px;width:16px;height:16px;border-radius:16px 0 4px;background:#5a82f0}.plate-types.dot>div>div:nth-child(3)>svg[data-v-bdf30c29]{position:absolute;top:6px;left:6px}.plate-types.dot>div.checked[data-v-bdf30c29]{border:1px solid #5a82f0}.plate-types.dot>div.checked>div[data-v-bdf30c29]:nth-child(2){color:#333}.plate-types.dot>div.checked>div[data-v-bdf30c29]:nth-child(3){display:block}.plate-types.simple>div>div[data-v-bdf30c29]:nth-child(1){color:#666;font-size:14px;line-height:1;font-weight:700}.plate-types.simple>div.checked>div[data-v-bdf30c29]:nth-child(1){color:#000}.plate-types.simple>div.checked[data-v-bdf30c29]:nth-child(1){background-color:#0078f0}.plate-types.simple>div.checked:nth-child(1)>div[data-v-bdf30c29]{color:#fff}.plate-types.simple>div.checked[data-v-bdf30c29]:nth-child(2){background-color:#00f08c}.plate-types.simple>div.checked[data-v-bdf30c29]:nth-child(3){background-color:#fac800}.plate-types.simple>div.checked[data-v-bdf30c29]:nth-child(4){background:linear-gradient(90deg,#fac800 51.5%,#00f08c 51.51%)}.plate-types.simple>div.checked[data-v-bdf30c29]:nth-child(5){background-color:#222}.plate-types.simple>div.checked:nth-child(5)>div[data-v-bdf30c29]{color:#fff}.plate-numbers[data-v-bdf30c29]{display:flex;justify-content:center;align-items:center}.plate-numbers>div[data-v-bdf30c29]{flex:1;max-width:40px;height:44px;line-height:44px;border-radius:4px;font-size:18px;color:#333;text-align:center;border:1px solid #cccccc}.plate-numbers>div.current[data-v-bdf30c29]{border:1px solid #5a82f0}.plate-numbers>div+div[data-v-bdf30c29]{margin-left:5px}.plate-numbers>div.dot[data-v-bdf30c29]{flex:0;border:0;padding:0 2.5px;color:#ccc;font-size:46px;margin-right:-5px;margin-left:0}.info[data-v-bdf30c29]{font-size:12px;line-height:16px;font-weight:400;color:#999;text-align:center;padding:0 5px;margin-top:20px}
|
|
200
|
-
`]],["__scopeId","data-v-bdf30c29"]]),Zk={class:"text"},kc=st(V({customOptions:{},inheritAttrs:!0,__name:"PlateDisplay.ce",props:{plate:{},plateType:{},displayType:{default:"chinese"}},setup(o,{expose:t,emit:e}){const n=o,s=[{name:"蓝牌",style:{"background-color":"#0078f0",color:"#ffffff"}},{name:"绿牌",style:{"background-color":"#00f08c",color:"#000000"}},{name:"黄牌",style:{"background-color":"#fac800",color:"#000000"}},{name:"黄绿",style:{background:"linear-gradient(90deg, #fac800 51.5%, #00f08c 51.51%)",color:"#000000"}},{name:"黑牌",style:{"background-color":"#222222",color:"#ffffff"}},{name:"白牌",style:{"background-color":"#ffffff",color:"#000000",border:"1px solid #999999"}},{name:"未知",style:{"background-color":"#cccccc",color:"#ffffff"}}];function r(c){switch(c){case"b":case"蓝牌":c="蓝牌";break;case"g":case"绿牌":c="绿牌";break;case"y":case"黄牌":c="黄牌";break;case"q":case"黄绿":c="黄绿";break;case"d":case"黑牌":c="黑牌";break;case"w":case"白牌":c="白牌";break;default:c="未知";break}const u=s.filter(f=>f.name===c);return u.length?u[0]:r("未知")}const a=P(r(n.plateType||"")),i=P(),l=P(14);return pe(()=>{l.value=
|
|
201
|
-
`]],["__scopeId","data-v-d7a17e1d"]]),Uk={class:"number-keyboard"},Hk={class:"top"},Gk={style:{width:"12px"}},jk={class:"result"},Wk={class:"input"},qk={class:"item"},Kk={class:"item"},Qk={class:"item"},Jk={class:"item"},t5={class:"item"},e5={class:"item"},o5={class:"item"},n5={class:"item"},s5={class:"item"},r5={class:"item"},a5={class:"item"},i5={class:"item"},l5={class:"item-inner no-bg"},c5={style:{width:"20px"}},fm=st(V({customOptions:{},__name:"NumberKeyboard.ce",props:{min:{},max:{},title:{default:"自定义金额"}},emits:["open","close","number","error"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P("0px");let a;pe(()=>{a=
|
|
202
|
-
`]],["__scopeId","data-v-1431eda3"]]),u5=["width","height"],no=V({__name:"Canvas",props:{bgColor:{default:"rgba(255,255,255,0)"},enableCustomContext:{type:Boolean,default:!1}},emits:["ready","update"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P(),a=P(0),i=P(0);let l,c,u;function f(b){const x=Xs();a.value=Math.min(b.width,x.width),i.value=Math.min(b.height,x.height)}function d(b){f(b.rect)}function h(b){f(b.rect),p&&s("update",c)}let p=!1;return Mn(()=>{r.value&&(!a.value||!i.value||l||(l=
|
|
198
|
+
`,dk={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!0},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},mounted(){this.$nextTick(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const o=document.createElement("object");this._resizeObject=o,o.setAttribute("aria-hidden","true"),o.setAttribute("tabindex",-1),o.onload=this.addResizeHandlers,o.type="text/html",bl&&this.$el.appendChild(o),o.data="about:blank",bl||this.$el.appendChild(o)},beforeDestroy(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("resize",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!bl&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}},hk={class:"resize-observer",tabindex:"-1"};function pk(o,t,e,n,s,r){return I(),D("div",hk)}const Jp=st(dk,[["render",pk],["styles",[fk]],["__scopeId","data-v-16da9fc4"]]),tm=V({__name:"MapTianditu.ce",props:{mapKey:{default:"8261564c2f1435b76dc5991adad737e6"},mapContainerID:{default:"mapTiandituDiv"},mapWidth:{},mapHeight:{},mapZoom:{default:18},mapCenterLng:{default:120.619585},mapCenterLat:{default:31.299379}},emits:["click"],setup(o,{expose:t,emit:e}){const n=o,s=P(n.mapWidth),r=P(n.mapHeight);function a(c){s.value=c.width+"px",r.value=c.height+"px"}function i(c){a(c.rect),Uv(`http://api.tianditu.gov.cn/api?v=4.0&tk=${n.mapKey}`).then(()=>{new qv(n.mapContainerID,n.mapCenterLng,n.mapCenterLat,n.mapZoom)}).catch(u=>{console.log("error",u)})}function l(c){a(c.rect)}return t({}),(c,u)=>(I(),dt(ht,{type:"full",onReady:i,onUpdate:l},{default:W(()=>[mt(c.$slots,"default",{width:s.value,height:r.value})]),_:3}))}}),mk=["width","height"],gk=V({customOptions:{},inheritAttrs:!0,__name:"HandWritePanel.ce",props:{canvasWidth:{default:"400"},canvasHeight:{default:"300"},borderColor:{default:"#000000"},brushSize:{default:4},brushDensity:{default:200},brushColor:{default:"#000000"},downloadFileName:{default:"手写图片"}},setup(o,{expose:t,emit:e}){const n=o;let s=()=>{};const r=P();return Rt(r,()=>{if(!r.value)return;const a=ca(r.value),i=new ch(a,!0);i.ctx.strokeStyle=n.brushColor,i.ctx.lineWidth=n.brushSize,i.drawMouseMoveLine("line"),s=()=>{En.downloadFromSVGString(i.ctx.toRawSVG().raw,n.downloadFileName)},a.start()}),t({download:()=>s()}),(a,i)=>(I(),D("canvas",{ref_key:"panelRef",ref:r,width:n.canvasWidth,height:n.canvasHeight,style:N([`border: 1px solid ${a.borderColor}`])},null,12,mk))}}),yk={viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",style:{display:"block",transformOrigin:"center"}},vk=["fill"],bk=["fill"],_k=["fill"],ja=V({__name:"SVGCleanLeft",props:{color:{default:"#333333"}},setup(o){return(t,e)=>(I(),D("svg",yk,[v("path",{d:"M38,32.71a1.13,1.13,0,0,1-.8-.33L21.57,16.8a1.13,1.13,0,0,1,1.61-1.6L38.75,30.77a1.14,1.14,0,0,1-.8,1.94Z",fill:t.color},null,8,vk),v("path",{d:"M22.38,32.71a1.17,1.17,0,0,1-.81-.33,1.15,1.15,0,0,1,0-1.61L37.15,15.2a1.13,1.13,0,1,1,1.6,1.6L23.18,32.38A1.13,1.13,0,0,1,22.38,32.71Z",fill:t.color},null,8,bk),v("path",{d:"M18.68,3.79h-3.1l-15.64,20L15.33,43.45l.25.33H47.94v-40ZM3,23.79,16.73,6.3H45.3v35H16.73Z",fill:t.color},null,8,_k)]))}}),xk=["data-number"],kk={style:{width:"16px"}},wk=["data-number","data-unactive"],Ck=["data-number"],Tk=["data-number","data-unactive"],Ek={style:{width:"16px"}},em=st(V({customOptions:{Pop:le,SVGCleanLeft:ja,Container:ht},__name:"PlateKeyboard.ce",props:{initPlates:{default:()=>[]},completePlateLength:{default:7}},emits:["open","close","plates","resize"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P("0px");let a;pe(()=>{a=pa.onBottom(_=>{r.value=_})}),ue(()=>{a?.()});const i=["京","沪","津","渝","黑","吉","辽","蒙","冀","新","甘","青","陕","宁","豫","鲁","晋","皖","鄂","湘","苏","川","云","桂","藏","浙","赣","粤","闽","琼","贵"],l=["1","2","3","4","5","6","7","8","9","0"],c=["A","B","C","D","E","F","G","H","J","K","L","M","N","P","Q","R","S","T","U","V","W","X","Y","Z"],u=["港","澳","学","警","使","领","挂","应","急"],f=P(),d=P(0),h=Wt([]);function p(){h.length==0?d.value=0:h.length==1?d.value=1:d.value=2,h.length>=n.completePlateLength&&g()}Rt(()=>[...n.initPlates],()=>{Bn(h,n.initPlates),p()},{immediate:!0});const b=P(0),x=_=>{b.value=_.rect.height,s("resize",_.rect)},k=()=>{f.value.open(),s("open")},g=()=>{f.value.close(),s("close")},m=()=>{h.pop(),p(),s("plates",h)},y=_=>{if(_.target.dataset.unactive||"")return;let $=_.target.dataset.number;$&&(h.push($),p(),s("plates",h))};return t({open:k,close:g}),(_,w)=>(I(),dt(le,{ref_key:"popRef",ref:f,directionFrom:"bottom",global:!0,closeWhenClickOverlay:!1,popValue:b.value},{default:W(()=>[Z(ht,{onReady:x,onUpdate:x},{default:W(()=>[v("div",{class:"popup-plate",style:N({paddingBottom:r.value})},[v("div",null,[v("div",{onClick:g},"关闭")]),v("div",{class:jt(["step",d.value==0?"":"hide"])},[(I(),D(Dt,null,Ee(i,$=>v("div",{key:$,class:"popitem",onClick:y,"data-number":$},ft($),9,xk)),64)),v("div",{class:"popitem popitem-clear",onClick:m},[v("div",kk,[Z(ja)])])],2),v("div",{class:jt(["step",d.value!=0?"":"hide"])},[(I(),D(Dt,null,Ee(l,$=>v("div",{key:$,class:jt(["popitem",d.value!=2?"unactive":""]),onClick:y,"data-number":$,"data-unactive":d.value!=2?"unactive":""},ft($),11,wk)),64)),(I(),D(Dt,null,Ee(c,$=>v("div",{key:$,class:"popitem",onClick:y,"data-number":$},ft($),9,Ck)),64)),(I(),D(Dt,null,Ee(u,$=>v("div",{key:$,class:jt(["popitem",d.value!=2?"unactive":""]),onClick:y,"data-number":$,"data-unactive":d.value!=2?"unactive":""},ft($),11,Tk)),64)),v("div",{class:"popitem popitem-clear",onClick:m},[v("div",Ek,[Z(ja)])])],2)],4)]),_:1})]),_:1},8,["popValue"]))}}),[["styles",[`.popup-plate[data-v-67fd9815]{box-sizing:border-box;width:100%;background-color:#ddd;color:#333}.hide[data-v-67fd9815]{display:none!important}.popup-plate>div[data-v-67fd9815]:nth-child(1){display:flex;justify-content:flex-end;background-color:#fff;border-top:1px solid #e6e6e6}.popup-plate>div:nth-child(1)>div[data-v-67fd9815]{flex:0 0 auto;padding:0 15px;color:#5a82f0;font-size:16px;line-height:2.6;cursor:pointer}.popup-plate>.step[data-v-67fd9815]{display:flex;flex-wrap:wrap;justify-content:center;padding:10px 10px 5px}.popup-plate>.step>.popitem[data-v-67fd9815]{flex:0 0 auto;width:50px;padding:010px 0;border:1px solid #e6e6e6;border-radius:4px;margin-right:5px;margin-bottom:5px;font-size:16px;line-height:1;text-align:center;background-color:#fff;cursor:pointer}.popup-plate>.step>.popitem[data-v-67fd9815]:not(.unactive):active{background-color:#eee}.popup-plate>.step>.popitem.unactive[data-v-67fd9815]{color:#ccc}.popup-plate>.step>.popitem.popitem-clear[data-v-67fd9815]{background-color:#eee;display:flex;justify-content:center;align-items:center}
|
|
199
|
+
`]],["__scopeId","data-v-67fd9815"]]),Sk=["fill"],Ok=["fill"],om=V({__name:"SVGCheck",props:{width:{default:"10px"},color:{default:Zt("--xg-blue")}},setup(o){const t=o;return(e,n)=>(I(),D("svg",{style:N(["transform-origin: center","width: "+t.width]),viewBox:"0 0 7 5",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[v("path",{d:"M0.153989 2.49994C-0.0513296 2.28468 -0.0513296 1.93567 0.153989 1.72041C0.359307 1.50514 0.692194 1.50514 0.897512 1.72041L3.12808 4.05902C3.3334 4.27428 3.3334 4.62329 3.12808 4.83855C2.92276 5.05382 2.58988 5.05382 2.38456 4.83855L0.153989 2.49994Z",fill:t.color},null,8,Sk),v("path",{d:"M6.10249 0.161447C6.30781 -0.0538159 6.64069 -0.0538157 6.84601 0.161447C7.05133 0.376711 7.05133 0.725721 6.84601 0.940984L3.12808 4.83855C2.92276 5.05382 2.58988 5.05382 2.38456 4.83855C2.17924 4.62329 2.17955 4.27439 2.38487 4.05913L6.10249 0.161447Z",fill:t.color},null,8,Ok)],4))}}),Pk=o=>{const t={};if(o.attributes)for(let e=0,n=o.attributes,s=n.length;e<s;e++){const r=n[e];r.nodeName&&r.nodeValue&&(t[r.nodeName]=r.nodeValue)}return t},eo=V({customOptions:{},inheritAttrs:!0,__name:"Click",props:{cover:{default:"rgba(0,0,0,0.1)"}},emits:["yz-click","click"],setup(o,{emit:t}){const e=o,n=t,s=P(!1),a=ml(()=>{s.value=!0,setTimeout(()=>{s.value=!1},100),n("yz-click"),n("click")},300);return(i,l)=>(I(),D("div",{class:"click",style:N(["position: relative","width: 100%","height: 100%","overflow: hidden","cursor: pointer","user-select: none","box-sizing: border-box","display: inline-flex","justify-content: center","align-items: center","z-index: 0"]),onClick:l[0]||(l[0]=(...c)=>Tt(a)&&Tt(a)(...c))},[mt(i.$slots,"default"),v("div",{style:N([`display: ${s.value?"block":"none"}`,"position: absolute","top: 0","left: 0","width: 100%","height: 100%",`background: ${e.cover}`,"z-index: 1"])},null,4)]))}});function JC(o){return o}const oo=document.getElementById("teleport")||document.documentElement;function Rk(o,t,e){{const n=document.createElement("yz-dialog-toast");if(oo.appendChild(n),n&&"_instance"in n){const s=()=>{e?.onOpen?.()},r=()=>{e?.onClose?.(),oo.removeChild(n)};n.addEventListener("open",s),n.addEventListener("close",r),n._instance.exposed.open(o,t)}}}function Ik(o){{const t=document.createElement("yz-dialog-loading");if(oo.appendChild(t),t&&"_instance"in t){const e=()=>{oo.removeChild(t)};t.addEventListener("close",e),t._instance.exposed.open(o)}return()=>{t&&"_instance"in t&&t._instance.exposed.close()}}}function Ak(o){{const t=document.createElement("yz-dialog");if(oo.appendChild(t),t&&"_instance"in t){const e=()=>{oo.removeChild(t)};t.addEventListener("close",e),t._instance.exposed.open(o)}return()=>{t&&"_instance"in t&&t._instance.exposed.close()}}}function ss(o,t="bottom",e){let n;o instanceof HTMLElement?n=Xt(le,{directionFrom:t,absoluteLeft:e?.absoluteLeft,absoluteTop:e?.absoluteTop,absoluteWidth:e?.absoluteWidth,absoluteHeight:e?.absoluteHeight},()=>Xt("div",{...Pk(o),innerHTML:o.innerHTML})):n=Xt(le,{directionFrom:t,absoluteLeft:e?.absoluteLeft,absoluteTop:e?.absoluteTop,absoluteWidth:e?.absoluteWidth,absoluteHeight:e?.absoluteHeight},()=>o),Ur(n,oo),n.component?.exposed?.open();const s=()=>{n.component?.exposed?.close()};return s.vnode=n,s}function nm(o,t){return ss(o,"bottom",t)}function sm(o,t){return ss(o,"top",t)}function rm(o,t){return ss(o,"left",t)}function am(o,t){return ss(o,"right",t)}function im(o,t){return ss(o,"center",t)}function lm(o,t){return ss(o,"absolute",t)}const $k=()=>nm(Xt("div",{style:"padding: 30px; background-color:#ffffff; width: 100%;"},Xt("yz-input",{placeholder:"请输入邮箱",validator:Vn}))),Nk=()=>sm(Xt("div",{style:"padding: 30px; background-color:#ffffff; width: 100%;"},Xt("yz-input",{placeholder:"请输入邮箱",validator:Vn}))),Fk=()=>rm(Xt("div",{style:"padding: 30px; background-color:#ffffff; height: 100%;"},Xt("yz-input",{placeholder:"请输入邮箱",validator:Vn}))),zk=()=>am(Xt("div",{style:"padding: 30px; background-color:#ffffff; height: 100%;"},Xt("yz-input",{placeholder:"请输入邮箱",validator:Vn}))),Dk=()=>im(Xt("div",{style:"width: 200px;height: 200px;padding: 30px; background-color:#ffffff;"},Xt("yz-input",{placeholder:"请输入邮箱",validator:Vn}))),Mk=()=>lm(Xt("div",{style:"width: 200px;height: 200px;padding: 30px; background-color:#ffffff;"},Xt("yz-input",{placeholder:"请输入邮箱",validator:Vn})),{absoluteLeft:"50%",absoluteTop:"50%",absoluteWidth:"200px",absoluteHeight:"200px"});function cm(o){{const t=document.createElement("yz-plate-keyboard");if(oo.appendChild(t),t&&"_instance"in t){if(o?.onPlates){const e=n=>{"detail"in n&&o.onPlates(n.detail[0])};t.addEventListener("plates",e)}if(o?.onOpen&&t.addEventListener("open",o.onOpen),o?.onClose){const e=()=>{oo.removeChild(t)};t.addEventListener("close",e)}if(o?.onResize){const e=n=>{"detail"in n&&o.onResize.apply(t,n.detail[0])};t.addEventListener("resize",e)}t.initPlates=o?.initPlates,t.completePlateLength=o?.completePlateLength,t._instance.exposed.open()}return()=>{t&&"_instance"in t&&t._instance.exposed.close()}}}function Lk(o){{const t=document.createElement("yz-number-keyboard");if(oo.appendChild(t),t&&"_instance"in t){if(o?.onNumber){const n=s=>{"detail"in s&&o.onNumber(s.detail[0])};t.addEventListener("number",n)}if(o?.onError){const n=s=>{"detail"in s&&o.onError(s.detail[0])};t.addEventListener("error",n)}const e=()=>{oo.removeChild(t)};t.addEventListener("close",e),typeof o?.min=="number"&&(t.min=o.min),typeof o?.max=="number"&&(t.max=o.max),t.title=o?.title,t._instance.exposed.open()}return()=>{t&&"_instance"in t&&t._instance.exposed.close()}}}const Bk=["onClick"],Yk={key:1},Vk=["onClick"],Xk={key:0,class:"info"},um=st(V({customOptions:{SVGCheck:om},inheritAttrs:!0,__name:"PlateMobile.ce",props:{maxWidth:{default:"750px"},showBottomInfo:{type:Boolean,default:!0},stylePattern:{default:"simple"}},emits:["clear","complete"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=[{name:"蓝牌",style:"background-color: #0078f0;",completePlateLength:7,symbol:"b"},{name:"绿牌",style:"background-color: #00f08c;",completePlateLength:8,symbol:"g"},{name:"黄牌",style:"background-color: #fac800;",completePlateLength:7,symbol:"y"},{name:"黄绿",style:"background: linear-gradient(90deg, #fac800 51.5%, #00f08c 51.51%);",completePlateLength:8,symbol:"q"},{name:"黑牌",style:"background-color: #222222;",completePlateLength:7,symbol:"d"}],a=P(),i=P(0),l=Wt([]),c=P(-1),u=P(!1),f=P(0);async function d(){const x=la().clientHeight-a.value.getBoundingClientRect().bottom;cm({initPlates:l,completePlateLength:r[i.value].completePlateLength,onPlates:k=>{Bn(l,k),c.value=l.length,l.length===r[i.value].completePlateLength&&s("complete",r[i.value].name,l.join(""))},onOpen:()=>{u.value=!0},onClose:()=>{u.value=!1},onResize:k=>{f.value=Math.min(0,x-k.height)}})}const h=async b=>{i.value=b,c.value<=r[b].completePlateLength&&l.length<r[b].completePlateLength?(c.value=l.length,await d(),s("clear")):Bn(l,l.slice(0,r[b].completePlateLength)),r[b].completePlateLength===l.length&&s("complete",r[i.value].name,l.join(""))},p=async b=>{Bn(l,l.slice(0,b)),c.value=Math.min(Math.max(0,c.value),b),await d(),s("clear")};return t({}),(b,x)=>(I(),dt(ht,{class:"plate-mobile",style:N({maxWidth:n.maxWidth,transform:u.value?`translate(0, ${f.value}px)`:""})},{default:W(()=>[x[2]||(x[2]=v("div",{class:"title"},"车牌颜色",-1)),v("div",{class:jt(["plate-types",n.stylePattern])},[(I(),D(Dt,null,Ee(r,(k,g)=>v("div",{key:g,class:jt(g==i.value?"checked":""),onClick:m=>h(g)},[n.stylePattern=="dot"?(I(),D(Dt,{key:0},[v("div",{style:N(k.style)},null,4),v("div",null,ft(k.name),1),v("div",null,[Z(om,{color:"#ffffff",width:"7px"})])],64)):(I(),D("div",Yk,ft(k.name),1))],10,Bk)),64))],2),x[3]||(x[3]=v("div",{class:"title"},"车牌号码",-1)),v("div",{class:"plate-numbers",ref_key:"numbersRef",ref:a},[v("div",{onClick:x[0]||(x[0]=k=>p(0)),class:jt(c.value==0?"current":"")},ft(l[0]),3),v("div",{onClick:x[1]||(x[1]=k=>p(1)),class:jt(c.value==1?"current":"")},ft(l[1]),3),(I(!0),D(Dt,null,Ee(r[i.value].completePlateLength-2,k=>(I(),D("div",{key:k,class:jt(k+1==c.value?"current":""),onClick:g=>p(k+1)},ft(l[k+1]),11,Vk))),128))],512),n.showBottomInfo?(I(),D("div",Xk," 请输入您真实有效的车牌号,便于正常使用系统功能。 ")):yt("",!0)]),_:1},8,["style"]))}}),[["styles",[`.plate-mobile[data-v-bdf30c29]{background-color:#fff;overflow:hidden;border-radius:8px;padding-bottom:15px;padding-left:15px;padding-right:15px}.title[data-v-bdf30c29]{font-size:16px;line-height:1;color:#333;font-weight:700;text-align:center;margin-top:20px;margin-bottom:10px}.plate-types[data-v-bdf30c29]{display:flex;justify-content:center}.plate-types>div[data-v-bdf30c29]{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;width:60px;height:44px;border-radius:4px;background-color:#f5f5f5;cursor:pointer;overflow:hidden}.plate-types>div+div[data-v-bdf30c29]{margin-left:5px}.plate-types.dot>div>div[data-v-bdf30c29]:nth-child(1){width:14px;height:14px;margin-bottom:5px;border-radius:50%;background-color:#0078f0}.plate-types.dot>div:nth-child(2)>div[data-v-bdf30c29]:nth-child(1){background-color:#00f08c}.plate-types.dot>div:nth-child(3)>div[data-v-bdf30c29]:nth-child(1){background-color:#fac800}.plate-types.dot>div:nth-child(4)>div[data-v-bdf30c29]:nth-child(1){background:linear-gradient(90deg,#fac800 51.5%,#00f08c 51.51%)}.plate-types.dot>div:nth-child(5)>div[data-v-bdf30c29]:nth-child(1){background-color:#222}.plate-types.dot>div>div[data-v-bdf30c29]:nth-child(2){color:#ccc;font-size:14px;line-height:1;font-weight:700}.plate-types.dot>div>div[data-v-bdf30c29]:nth-child(3){display:none;position:absolute;right:-1px;bottom:-1px;width:16px;height:16px;border-radius:16px 0 4px;background:#5a82f0}.plate-types.dot>div>div:nth-child(3)>svg[data-v-bdf30c29]{position:absolute;top:6px;left:6px}.plate-types.dot>div.checked[data-v-bdf30c29]{border:1px solid #5a82f0}.plate-types.dot>div.checked>div[data-v-bdf30c29]:nth-child(2){color:#333}.plate-types.dot>div.checked>div[data-v-bdf30c29]:nth-child(3){display:block}.plate-types.simple>div>div[data-v-bdf30c29]:nth-child(1){color:#666;font-size:14px;line-height:1;font-weight:700}.plate-types.simple>div.checked>div[data-v-bdf30c29]:nth-child(1){color:#000}.plate-types.simple>div.checked[data-v-bdf30c29]:nth-child(1){background-color:#0078f0}.plate-types.simple>div.checked:nth-child(1)>div[data-v-bdf30c29]{color:#fff}.plate-types.simple>div.checked[data-v-bdf30c29]:nth-child(2){background-color:#00f08c}.plate-types.simple>div.checked[data-v-bdf30c29]:nth-child(3){background-color:#fac800}.plate-types.simple>div.checked[data-v-bdf30c29]:nth-child(4){background:linear-gradient(90deg,#fac800 51.5%,#00f08c 51.51%)}.plate-types.simple>div.checked[data-v-bdf30c29]:nth-child(5){background-color:#222}.plate-types.simple>div.checked:nth-child(5)>div[data-v-bdf30c29]{color:#fff}.plate-numbers[data-v-bdf30c29]{display:flex;justify-content:center;align-items:center}.plate-numbers>div[data-v-bdf30c29]{flex:1;max-width:40px;height:44px;line-height:44px;border-radius:4px;font-size:18px;color:#333;text-align:center;border:1px solid #cccccc}.plate-numbers>div.current[data-v-bdf30c29]{border:1px solid #5a82f0}.plate-numbers>div+div[data-v-bdf30c29]{margin-left:5px}.plate-numbers>div.dot[data-v-bdf30c29]{flex:0;border:0;padding:0 2.5px;color:#ccc;font-size:46px;margin-right:-5px;margin-left:0}.info[data-v-bdf30c29]{font-size:12px;line-height:16px;font-weight:400;color:#999;text-align:center;padding:0 5px;margin-top:20px}
|
|
200
|
+
`]],["__scopeId","data-v-bdf30c29"]]),Zk={class:"text"},kc=st(V({customOptions:{},inheritAttrs:!0,__name:"PlateDisplay.ce",props:{plate:{},plateType:{},displayType:{default:"chinese"}},setup(o,{expose:t,emit:e}){const n=o,s=[{name:"蓝牌",style:{"background-color":"#0078f0",color:"#ffffff"}},{name:"绿牌",style:{"background-color":"#00f08c",color:"#000000"}},{name:"黄牌",style:{"background-color":"#fac800",color:"#000000"}},{name:"黄绿",style:{background:"linear-gradient(90deg, #fac800 51.5%, #00f08c 51.51%)",color:"#000000"}},{name:"黑牌",style:{"background-color":"#222222",color:"#ffffff"}},{name:"白牌",style:{"background-color":"#ffffff",color:"#000000",border:"1px solid #999999"}},{name:"未知",style:{"background-color":"#cccccc",color:"#ffffff"}}];function r(c){switch(c){case"b":case"蓝牌":c="蓝牌";break;case"g":case"绿牌":c="绿牌";break;case"y":case"黄牌":c="黄牌";break;case"q":case"黄绿":c="黄绿";break;case"d":case"黑牌":c="黑牌";break;case"w":case"白牌":c="白牌";break;default:c="未知";break}const u=s.filter(f=>f.name===c);return u.length?u[0]:r("未知")}const a=P(r(n.plateType||"")),i=P(),l=P(14);return pe(()=>{l.value=va(i.value).getEmSize()}),t({}),(c,u)=>(I(),D("div",{class:"plate-display",ref_key:"el",ref:i},[c.displayType=="dot"&&c.plate!=="无牌车"?(I(),D("div",{key:0,class:jt(["leading",c.displayType]),style:N({...a.value.style,width:l.value+"px",height:l.value+"px",marginRight:.36*l.value+"px"})},ft(a.value.name),7)):yt("",!0),c.displayType=="chinese"&&c.plate!=="无牌车"?(I(),D("div",{key:1,class:jt(["leading",c.displayType]),style:N(a.value.style)},ft(a.value.name),7)):yt("",!0),c.displayType=="plaintext"&&c.plate!=="无牌车"?(I(),D("div",{key:2,class:jt(["leading",c.displayType])},ft(a.value.name),3)):yt("",!0),v("div",Zk,ft(c.plate),1)],512))}}),[["styles",[`.plate-display[data-v-d7a17e1d]{display:inline-flex;justify-content:center;align-items:center}.leading[data-v-d7a17e1d]{box-sizing:border-box;font-size:.86em;line-height:1;border-radius:.3em;margin-right:.36em}.leading.chinese[data-v-d7a17e1d]{padding:.3em}.leading.dot[data-v-d7a17e1d]{font-size:0;border-radius:50%}.leading.plaintext[data-v-d7a17e1d]{padding-right:.36em;border-right:1px solid #e6e6e6;border-radius:0}.text[data-v-d7a17e1d]{line-height:1}
|
|
201
|
+
`]],["__scopeId","data-v-d7a17e1d"]]),Uk={class:"number-keyboard"},Hk={class:"top"},Gk={style:{width:"12px"}},jk={class:"result"},Wk={class:"input"},qk={class:"item"},Kk={class:"item"},Qk={class:"item"},Jk={class:"item"},t5={class:"item"},e5={class:"item"},o5={class:"item"},n5={class:"item"},s5={class:"item"},r5={class:"item"},a5={class:"item"},i5={class:"item"},l5={class:"item-inner no-bg"},c5={style:{width:"20px"}},fm=st(V({customOptions:{},__name:"NumberKeyboard.ce",props:{min:{},max:{},title:{default:"自定义金额"}},emits:["open","close","number","error"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P("0px");let a;pe(()=>{a=pa.onBottom(g=>{r.value=g})}),ue(()=>{a?.()});const i=[],l=[];let c=!1;const u=P(""),f=P(),d=()=>{il(i),il(l),c=!1,b(),f.value.open(),s("open")},h=()=>{f.value.close(),s("close")},p=()=>{if(u.value==""){s("error","请输入金额!");return}const g=parseFloat(u.value);if(ll(g)){s("error",`${g} is NaN!`);return}if(typeof n.min=="number"){const m=ke(n.min,2);if(!ll(g)&&g<m){s("error",`${n.title} 不能小于 ${m}`);return}}if(typeof n.max=="number"){const m=ke(n.max,2);if(!ll(g)&&g>m){s("error",`${n.title} 不能大于 ${m}`);return}}s("number",g),h()};function b(){u.value="",i.forEach(g=>{u.value+=""+g}),c&&(u.value+=".");for(let g=0,m=Math.min(l.length,2);g<m;g++)u.value+=""+l[g]}const x=g=>{typeof g=="number"?c?l.length<2&&l.push(g):i.push(g):c=!0,b()},k=()=>{l.length?l.pop():c?c=!1:i.length&&i.pop(),b()};return t({open:d,close:h}),(g,m)=>(I(),dt(le,{ref_key:"popRef",ref:f,directionFrom:"bottom",global:!0,closeWhenClickOverlay:!1},{default:W(()=>[v("div",Uk,[v("div",Hk,[v("div",{onClick:h},[v("div",Gk,[Z(er)])]),v("div",null,ft(g.title),1),v("div",{onClick:p},"完成")]),v("div",jk,[v("div",null,[v("div",Wk,[v("span",null,ft(u.value),1),m[11]||(m[11]=v("span",{class:"cursor"},[v("span",{class:"line"})],-1))])])]),v("div",{class:"numbers",style:N({paddingBottom:r.value})},[v("div",null,[v("div",qk,[Z(eo,{onClick:m[0]||(m[0]=()=>x(1))},{default:W(()=>m[12]||(m[12]=[v("div",{class:"item-inner"},"1",-1)])),_:1})]),v("div",Kk,[Z(eo,{onClick:m[1]||(m[1]=()=>x(2))},{default:W(()=>m[13]||(m[13]=[v("div",{class:"item-inner"},"2",-1)])),_:1})]),v("div",Qk,[Z(eo,{onClick:m[2]||(m[2]=()=>x(3))},{default:W(()=>m[14]||(m[14]=[v("div",{class:"item-inner"},"3",-1)])),_:1})]),v("div",Jk,[Z(eo,{onClick:m[3]||(m[3]=()=>x(4))},{default:W(()=>m[15]||(m[15]=[v("div",{class:"item-inner"},"4",-1)])),_:1})]),v("div",t5,[Z(eo,{onClick:m[4]||(m[4]=()=>x(5))},{default:W(()=>m[16]||(m[16]=[v("div",{class:"item-inner"},"5",-1)])),_:1})]),v("div",e5,[Z(eo,{onClick:m[5]||(m[5]=()=>x(6))},{default:W(()=>m[17]||(m[17]=[v("div",{class:"item-inner"},"6",-1)])),_:1})]),v("div",o5,[Z(eo,{onClick:m[6]||(m[6]=()=>x(7))},{default:W(()=>m[18]||(m[18]=[v("div",{class:"item-inner"},"7",-1)])),_:1})]),v("div",n5,[Z(eo,{onClick:m[7]||(m[7]=()=>x(8))},{default:W(()=>m[19]||(m[19]=[v("div",{class:"item-inner"},"8",-1)])),_:1})]),v("div",s5,[Z(eo,{onClick:m[8]||(m[8]=()=>x(9))},{default:W(()=>m[20]||(m[20]=[v("div",{class:"item-inner"},"9",-1)])),_:1})]),v("div",r5,[Z(eo,{onClick:m[9]||(m[9]=()=>x("."))},{default:W(()=>m[21]||(m[21]=[v("div",{class:"item-inner no-bg"},".",-1)])),_:1})]),v("div",a5,[Z(eo,{onClick:m[10]||(m[10]=()=>x(0))},{default:W(()=>m[22]||(m[22]=[v("div",{class:"item-inner"},"0",-1)])),_:1})]),v("div",i5,[Z(eo,{onClick:k},{default:W(()=>[v("div",l5,[v("div",c5,[Z(ja)])])]),_:1})])])],4)])]),_:1},512))}}),[["styles",[`@keyframes cursor-blinks-1431eda3{0%{opacity:1;display:block}50%{opacity:0;display:none}to{opacity:1;display:block}}.number-keyboard[data-v-1431eda3]{box-sizing:border-box;width:100%;background-color:#fff;color:#333;border-top-left-radius:16px;border-top-right-radius:16px}.top[data-v-1431eda3]{display:flex;justify-content:space-between;align-items:center;height:56px;line-height:56px;padding:0 15px;border-bottom:1px solid #e6e6e6}.top>div[data-v-1431eda3]:nth-child(1){flex:0 0 auto;width:24px;height:24px;display:flex;justify-content:center;align-items:center;padding-right:10px}.top>div[data-v-1431eda3]:nth-child(2){flex:1 1 auto;text-align:center;font-size:20px;font-weight:700;color:#333;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal;word-break:break-all}.top>div[data-v-1431eda3]:nth-child(3){flex:0 0 auto;font-size:16px;font-weight:700;color:#5a82f0;padding-left:10px}.result[data-v-1431eda3]{padding:15px}.result>div[data-v-1431eda3]{overflow:hidden;display:flex}.result>div>.input[data-v-1431eda3]{position:relative;flex:1 1 auto;height:44px;line-height:44px;border:1px solid #c8dcff;background:#e6f0ff;border-radius:4px;font-size:20px;font-weight:700;color:#5a82f0;padding:0 15px;display:flex;justify-content:flex-start;align-items:center}.cursor[data-v-1431eda3]{width:0;overflow:visible;position:relative}.line[data-v-1431eda3]{position:absolute;width:1px;height:24px;background:#5a82f0;left:0;top:50%;transform:translateY(-50%);animation:cursor-blinks-1431eda3 1.5s infinite steps(1,start)}.numbers[data-v-1431eda3]{background-color:#c6cad1}.numbers>div[data-v-1431eda3]{display:flex;flex-wrap:wrap;padding:4px}.item[data-v-1431eda3]{flex:0 0 33%;padding:4px;box-sizing:border-box}.item-inner[data-v-1431eda3]{background:#ffffff;width:100%;height:44px;line-height:44px;text-align:center;color:#333;font-size:20px;border-radius:4px;display:flex;justify-content:center;align-items:center;box-shadow:0 2px #aaa}.item-inner.no-bg[data-v-1431eda3]{background:rgba(255,255,255,0);box-shadow:none}
|
|
202
|
+
`]],["__scopeId","data-v-1431eda3"]]),u5=["width","height"],no=V({__name:"Canvas",props:{bgColor:{default:"rgba(255,255,255,0)"},enableCustomContext:{type:Boolean,default:!1}},emits:["ready","update"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P(),a=P(0),i=P(0);let l,c,u;function f(b){const x=Xs();a.value=Math.min(b.width,x.width),i.value=Math.min(b.height,x.height)}function d(b){f(b.rect)}function h(b){f(b.rect),p&&s("update",c)}let p=!1;return Mn(()=>{r.value&&(!a.value||!i.value||l||(l=ca(r.value),l.start().then(()=>{c=new ch(l,n.enableCustomContext),u?.(c),s("ready",c),p=!0})))}),ue(()=>{l?.end()}),t({getCanvas:()=>new Promise(b=>{if(c)return b(c);u=b}),getElement:()=>r.value,getRect:()=>r.value.getBoundingClientRect()}),(b,x)=>(I(),dt(ht,{class:"canvas",type:"full",onReady:d,onUpdate:h,style:{overflow:"hidden"}},{default:W(()=>[v("canvas",{ref_key:"r",ref:r,width:a.value,height:i.value,style:N({backgroundColor:n.bgColor})},null,12,u5)]),_:1}))}}),f5={class:"ring-indicator"},d5={class:"ring-text"},dm=st(V({customOptions:{Canvas:no},inheritAttrs:!0,__name:"RingIndicator.ce",props:{percent:{default:0},lineWidth:{default:12},bgColor:{default:"#B3C6E7"},startColor:{default:"#5A82F0"},endColor:{default:"#66B3FF"}},setup(o,{expose:t}){const e=o;let n=P(0);const s=gd(()=>{const c=Yt(Math.floor(e.percent),0,100);return n.value<c?n.value=Math.min(n.value+1,c):n.value>c&&(n.value=Math.max(n.value-1,c)),ke(n.value/100,2)},20),r=P(0),a=P(0);function i(c){r.value=c.controller.rect.width,a.value=c.controller.rect.height}function l(c){i(c);const u=new Xv({width:r.value,height:a.value,lineWidth:e.lineWidth,bgColor:e.bgColor,startColor:e.startColor,endColor:e.endColor});zs(()=>(c.ctx.clearRect(),u.setPercent(s()),c.draw(u),!0))}return t({}),(c,u)=>(I(),D("div",f5,[Z(no,{onReady:l,onUpdate:i}),v("div",d5,[v("span",null,ft(Tt(n)),1),u[0]||(u[0]=v("span",null,"%",-1))])]))}}),[["styles",[`.ring-indicator[data-v-6c27bf34]{position:relative;width:100%;height:100%}.ring-text[data-v-6c27bf34]{position:absolute;top:50%;left:50%;width:100%;transform:translate(-50%,-50%);text-align:center;font-family:D-DINCondensed-number;color:#333;text-indent:1em}.ring-text>span[data-v-6c27bf34]:nth-child(1){font-size:64px}.ring-text>span[data-v-6c27bf34]:nth-child(2){font-size:20px}
|
|
203
203
|
`]],["__scopeId","data-v-6c27bf34"]]),h5={class:"half-ring-indicator"},p5={class:"ring-text"},hm=st(V({customOptions:{Canvas:no},inheritAttrs:!0,__name:"HalfRingIndicator.ce",props:{percent:{default:0},lineWidth:{default:12},bgColor:{default:"#B3C6E7"},startColor:{default:"#5A82F0"},endColor:{default:"#66B3FF"}},setup(o,{expose:t}){const e=o;let n=P(0);const s=gd(()=>{const c=Yt(Math.floor(e.percent),0,100);return n.value<c?n.value=Math.min(n.value+1,c):n.value>c&&(n.value=Math.max(n.value-1,c)),ke(n.value/100,2)},20),r=P(0),a=P(0);function i(c){r.value=c.controller.rect.width,a.value=c.controller.rect.height}function l(c){i(c);const u=new Yv({width:r.value,height:a.value,startDegree:0,endDegree:180,extendDegree:15,lineWidth:e.lineWidth,bgColor:e.bgColor,startColor:e.startColor,endColor:e.endColor});zs(()=>(c.ctx.clearRect(),u.setPercent(s()),c.draw(u),!0))}return t({}),(c,u)=>(I(),D("div",h5,[Z(no,{onReady:l,onUpdate:i}),v("div",p5,[v("span",null,ft(Tt(n)),1),u[0]||(u[0]=v("span",null,"%",-1))])]))}}),[["styles",[`.half-ring-indicator[data-v-54027baf]{position:relative;width:100%;height:100%}.ring-text[data-v-54027baf]{position:absolute;bottom:0;left:0;width:100%;text-align:center;font-family:D-DINCondensed-number;color:#333;padding-bottom:20px;text-indent:1em}.ring-text>span[data-v-54027baf]:nth-child(1){font-size:64px}.ring-text>span[data-v-54027baf]:nth-child(2){font-size:20px}
|
|
204
204
|
`]],["__scopeId","data-v-54027baf"]]),m5={key:0},g5={key:1},On=10,rs=4,pm=st(V({customOptions:{Container:ht},inheritAttrs:!0,__name:"RingText.ce",props:{text:{default:""},secondText:{default:""},startColor:{default:"#5A82F0"},endColor:{default:"#66B3FF"},dur:{default:2e3}},setup(o,{expose:t}){const e=o,n=P(0),s=r=>{n.value=Math.floor(Math.min(r.rect.width,r.rect.height))};return t({}),(r,a)=>(I(),dt(ht,{onReady:s,onUpdate:s,type:"full"},{default:W(()=>[v("div",{class:"ring",style:N({width:n.value+"px",height:n.value+"px",padding:On+"px",background:`linear-gradient(180deg, ${e.startColor} 0%, ${e.endColor} 100%)`})},[v("div",{class:"ring-rotate",style:N({animation:`rotate ${e.dur}ms infinite linear`,mask:`radial-gradient(transparent ${n.value/2-On-rs}px, #000 ${n.value/2-On-rs}px)`})},a[0]||(a[0]=[v("div",{class:"left"},null,-1),v("div",{class:"right"},null,-1)]),4),v("div",{class:"ring-content",style:N({top:On+rs+"px",left:On+rs+"px",width:n.value-(On+rs)*2+"px",height:n.value-(On+rs)*2+"px"})},[e.text?(I(),D("div",m5,ft(e.text),1)):yt("",!0),e.secondText?(I(),D("div",g5,ft(e.secondText),1)):yt("",!0)],4)],4)]),_:1}))}}),[["styles",[`@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotate-reverse{0%{transform:rotate(360deg)}to{transform:rotate(0)}}@keyframes jelly{0%,to{transform:scale(1)}25%{transform:scale(.9,1.1)}50%{transform:scale(1.1,.9)}75%{transform:scale(.95,1.05)}}@keyframes bounce{0%,20%,53%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0)}40%,43%{animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{transition-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0) scaleY(.95)}90%{transform:translate3d(0,-4px,0) scaleY(1.02)}}@keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}@keyframes pulse{0%{transform:scaleZ(1)}50%{transform:scale3d(1.05,1.05,1.05)}to{transform:scaleZ(1)}}@keyframes rubberBand{0%{transform:scaleZ(1)}30%{transform:scale3d(1.25,.75,1)}40%{transform:scale3d(.75,1.25,1)}50%{transform:scale3d(1.15,.85,1)}65%{transform:scale3d(.95,1.05,1)}75%{transform:scale3d(1.05,.95,1)}to{transform:scaleZ(1)}}@keyframes shakeX{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}@keyframes shakeY{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(0,-10px,0)}20%,40%,60%,80%{transform:translate3d(0,10px,0)}}@keyframes headShake{0%{transform:translate(0)}6.5%{transform:translate(-6px) rotateY(-9deg)}18.5%{transform:translate(5px) rotateY(7deg)}31.5%{transform:translate(-3px) rotateY(-5deg)}43.5%{transform:translate(2px) rotateY(3deg)}50%{transform:translate(0)}}@keyframes swing{20%{transform:rotate3d(0,0,1,15deg)}40%{transform:rotate3d(0,0,1,-10deg)}60%{transform:rotate3d(0,0,1,5deg)}80%{transform:rotate3d(0,0,1,-5deg)}to{transform:rotate3d(0,0,1,0)}}@keyframes tada{0%{transform:scaleZ(1)}10%,20%{transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{transform:scaleZ(1)}}@keyframes wobble{0%{transform:translateZ(0)}15%{transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{transform:translateZ(0)}}@keyframes jello{0%,11.1%,to{transform:translateZ(0)}22.2%{transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{transform:skew(6.25deg) skewY(6.25deg)}44.4%{transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{transform:skew(.390625deg) skewY(.390625deg)}88.8%{transform:skew(-.1953125deg) skewY(-.1953125deg)}}@keyframes heartBeat{0%{transform:scale(1)}14%{transform:scale(1.3)}28%{transform:scale(1)}42%{transform:scale(1.3)}70%{transform:scale(1)}}@keyframes backInLeft{0%{transform:translate(-2000px) scale(.7);opacity:.7}80%{transform:translate(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInRight{0%{transform:translate(2000px) scale(.7);opacity:.7}80%{transform:translate(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInUp{0%{transform:translateY(1200px) scale(.7);opacity:.7}80%{transform:translateY(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInDown{0%{transform:translateY(-1200px) scale(.7);opacity:.7}80%{transform:translateY(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backOutLeft{0%{transform:scale(1);opacity:1}20%{transform:translate(0) scale(.7);opacity:.7}to{transform:translate(-2000px) scale(.7);opacity:.7}}@keyframes backOutRight{0%{transform:scale(1);opacity:1}20%{transform:translate(0) scale(.7);opacity:.7}to{transform:translate(2000px) scale(.7);opacity:.7}}@keyframes backOutUp{0%{transform:scale(1);opacity:1}20%{transform:translateY(0) scale(.7);opacity:.7}to{transform:translateY(-700px) scale(.7);opacity:.7}}@keyframes backOutDown{0%{transform:scale(1);opacity:1}20%{transform:translateY(0) scale(.7);opacity:.7}to{transform:translateY(700px) scale(.7);opacity:.7}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:scale3d(.3,.3,.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(.9,.9,.9)}60%{opacity:1;transform:scale3d(1.03,1.03,1.03)}80%{transform:scale3d(.97,.97,.97)}to{opacity:1;transform:scaleZ(1)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;transform:translate3d(25px,0,0) scaleX(1)}75%{transform:translate3d(-10px,0,0) scaleX(.98)}90%{transform:translate3d(5px,0,0) scaleX(.995)}to{transform:translateZ(0)}}@keyframes bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;transform:translate3d(-25px,0,0) scaleX(1)}75%{transform:translate3d(10px,0,0) scaleX(.98)}90%{transform:translate3d(-5px,0,0) scaleX(.995)}to{transform:translateZ(0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;transform:translate3d(0,-20px,0) scaleY(.9)}75%{transform:translate3d(0,10px,0) scaleY(.95)}90%{transform:translate3d(0,-5px,0) scaleY(.985)}to{transform:translateZ(0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;transform:translate3d(0,25px,0) scaleY(.9)}75%{transform:translate3d(0,-10px,0) scaleY(.95)}90%{transform:translate3d(0,5px,0) scaleY(.985)}to{transform:translateZ(0)}}@keyframes bounceOut{20%{transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(.3,.3,.3)}}@keyframes bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0) scaleX(.9)}to{opacity:0;transform:translate3d(-2000px,0,0) scaleX(2)}}@keyframes bounceOutRight{20%{opacity:1;transform:translate3d(-20px,0,0) scaleX(.9)}to{opacity:0;transform:translate3d(2000px,0,0) scaleX(2)}}@keyframes bounceOutUp{20%{transform:translate3d(0,-10px,0) scaleY(.985)}40%,45%{opacity:1;transform:translate3d(0,20px,0) scaleY(.9)}to{opacity:0;transform:translate3d(0,-2000px,0) scaleY(3)}}@keyframes bounceOutDown{20%{transform:translate3d(0,10px,0) scaleY(.985)}40%,45%{opacity:1;transform:translate3d(0,-20px,0) scaleY(.9)}to{opacity:0;transform:translate3d(0,2000px,0) scaleY(3)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeInLeft{0%{opacity:0;transform:translate3d(-100%,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInLeftBig{0%{opacity:0;transform:translate3d(-2000px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInRight{0%{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInRightBig{0%{opacity:0;transform:translate3d(2000px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInUp{0%{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInUpBig{0%{opacity:0;transform:translate3d(0,2000px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInDown{0%{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInDownBig{0%{opacity:0;transform:translate3d(0,-2000px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInTopLeft{0%{opacity:0;transform:translate3d(-100%,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInTopRight{0%{opacity:0;transform:translate3d(100%,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInBottomLeft{0%{opacity:0;transform:translate3d(-100%,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInBottomRight{0%{opacity:0;transform:translate3d(100%,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}@keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes fadeOutRight{0%{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}@keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;transform:translate3d(2000px,0,0)}}@keyframes fadeOutUp{0%{opacity:1}to{opacity:0;transform:translate3d(0,-100%,0)}}@keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes fadeOutDown{0%{opacity:1}to{opacity:0;transform:translate3d(0,100%,0)}}@keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;transform:translate3d(0,2000px,0)}}@keyframes fadeOutTopLeft{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(-100%,-100%,0)}}@keyframes fadeOutTopRight{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(100%,-100%,0)}}@keyframes fadeOutBottomRight{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(100%,100%,0)}}@keyframes fadeOutBottomLeft{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(-100%,100%,0)}}@keyframes flip{0%{transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(-360deg);animation-timing-function:ease-out}40%{transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-190deg);animation-timing-function:ease-out}50%{transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-170deg);animation-timing-function:ease-in}80%{transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);animation-timing-function:ease-in}to{transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(0);animation-timing-function:ease-in}}@keyframes flipInX{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes flipInY{0%{transform:perspective(400px) rotateY(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateY(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateY(10deg);opacity:1}80%{transform:perspective(400px) rotateY(-5deg)}to{transform:perspective(400px)}}@keyframes flipOutX{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateX(-20deg);opacity:1}to{transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes flipOutY{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateY(-15deg);opacity:1}to{transform:perspective(400px) rotateY(90deg);opacity:0}}@keyframes flipOutRight{to{transform:translateZ(-1000px) rotateY(90deg);opacity:.2}}@keyframes flipInLeft{0%{transform:translateZ(-1000px) rotateY(-90deg);opacity:.2}}@keyframes flipOutLeft{to{transform:translateZ(-1000px) rotateY(-90deg);opacity:.2}}@keyframes flipInRight{0%{transform:translateZ(-1000px) rotateY(90deg);opacity:.2}}@keyframes flipOutTop{to{transform:translateZ(-1000px) rotateX(90deg);opacity:.2}}@keyframes flipInBottom{0%{transform:translateZ(-1000px) rotateX(-90deg);opacity:.2}}@keyframes flipOutBottom{to{transform:translateZ(-1000px) rotateX(-90deg);opacity:.2}}@keyframes flipInTop{0%{transform:translateZ(-1000px) rotateX(90deg);opacity:.2}}@keyframes lightSpeedInLeft{0%{transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{transform:skew(-20deg);opacity:1}80%{transform:skew(5deg)}to{transform:translateZ(0)}}@keyframes lightSpeedInRight{0%{transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{transform:skew(20deg);opacity:1}80%{transform:skew(-5deg)}to{transform:translateZ(0)}}@keyframes lightSpeedOutLeft{0%{opacity:1}to{transform:translate3d(-100%,0,0) skew(-30deg);opacity:0}}@keyframes lightSpeedOutRight{0%{opacity:1}to{transform:translate3d(100%,0,0) skew(30deg);opacity:0}}@keyframes rotateIn{0%{transform:rotate3d(0,0,1,-200deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInUpLeft{0%{transform:rotate3d(0,0,1,45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInUpRight{0%{transform:rotate3d(0,0,1,-90deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInDownLeft{0%{transform:rotate3d(0,0,1,-45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInDownRight{0%{transform:rotate3d(0,0,1,45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateOut{0%{opacity:1}to{transform:rotate3d(0,0,1,200deg);opacity:0}}@keyframes rotateOutUpLeft{0%{opacity:1}to{transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutUpRight{0%{opacity:1}to{transform:rotate3d(0,0,1,90deg);opacity:0}}@keyframes rotateOutDownLeft{0%{opacity:1}to{transform:rotate3d(0,0,1,45deg);opacity:0}}@keyframes rotateOutDownRight{0%{opacity:1}to{transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes hinge{0%{animation-timing-function:ease-in-out}20%,60%{transform:rotate3d(0,0,1,80deg);animation-timing-function:ease-in-out}40%,80%{transform:rotate3d(0,0,1,60deg);animation-timing-function:ease-in-out;opacity:1}to{transform:translate3d(0,700px,0);opacity:0}}@keyframes rotateFall{0%{transform:rotate(0)}20%{transform:rotate(10deg);animation-timing-function:ease-out}40%{transform:rotate(17deg)}60%{transform:rotate(16deg)}to{transform:translateY(100%) rotate(17deg)}}@keyframes rotateOutNewspaper{to{transform:translateZ(-3000px) rotate(360deg);opacity:0}}@keyframes rotateInNewspaper{0%{transform:translateZ(-3000px) rotate(-360deg);opacity:0}}@keyframes jackInTheBox{0%{opacity:0;transform:scale(.1) rotate(30deg);transform-origin:center bottom}50%{transform:rotate(-10deg)}70%{transform:rotate(3deg)}to{opacity:1;transform:scale(1)}}@keyframes rollIn{0%{opacity:0;transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;transform:translateZ(0)}}@keyframes rollOut{0%{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}@keyframes zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomInLeft{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInRight{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInUp{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInDown{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes zoomOutLeft{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;transform:scale(.1) translate3d(-2000px,0,0)}}@keyframes zoomOutRight{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;transform:scale(.1) translate3d(2000px,0,0)}}@keyframes zoomOutUp{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutDown{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes slideInLeft{0%{transform:translate3d(-100%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInRight{0%{transform:translate3d(100%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInUp{0%{transform:translate3d(0,100%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInDown{0%{transform:translate3d(0,-100%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideOutLeft{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(-100%,0,0)}}@keyframes slideOutRight{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(100%,0,0)}}@keyframes slideOutUp{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,-100%,0)}}@keyframes slideOutDown{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,100%,0)}}@keyframes rotateRightSideFirst{40%{transform:rotateY(15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateLeftSideFirst{40%{transform:rotateY(-15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateTopSideFirst{40%{transform:rotateX(15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateBottomSideFirst{40%{transform:rotateX(-15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotatePushLeft{to{opacity:0;transform:rotateY(90deg)}}@keyframes rotatePushRight{to{opacity:0;transform:rotateY(-90deg)}}@keyframes rotatePushTop{to{opacity:0;transform:rotateX(-90deg)}}@keyframes rotatePushBottom{to{opacity:0;transform:rotateX(90deg)}}@keyframes rotatePullRight{0%{opacity:0;transform:rotateY(-90deg)}}@keyframes rotatePullLeft{0%{opacity:0;transform:rotateY(90deg)}}@keyframes rotatePullTop{0%{opacity:0;transform:rotateX(-90deg)}}@keyframes rotatePullBottom{0%{opacity:0;transform:rotateX(90deg)}}@keyframes rotateFoldRight{to{opacity:0;transform:translate(100%) rotateY(90deg)}}@keyframes rotateFoldLeft{to{opacity:0;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateFoldTop{to{opacity:0;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateFoldBottom{to{opacity:0;transform:translateY(100%) rotateX(-90deg)}}@keyframes rotateUnfoldLeft{0%{opacity:0;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateUnfoldRight{0%{opacity:0;transform:translate(100%) rotateY(90deg)}}@keyframes rotateUnfoldTop{0%{opacity:0;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateUnfoldBottom{0%{opacity:0;transform:translateY(100%) rotateX(-90deg)}}@keyframes moveToLeft{to{transform:translate(-100%)}}@keyframes moveFromLeft{0%{transform:translate(-100%)}}@keyframes moveToRight{to{transform:translate(100%)}}@keyframes moveFromRight{0%{transform:translate(100%)}}@keyframes moveToTop{to{transform:translateY(-100%)}}@keyframes moveFromTop{0%{transform:translateY(-100%)}}@keyframes moveToBottom{to{transform:translateY(100%)}}@keyframes moveFromBottom{0%{transform:translateY(100%)}}@keyframes fade{to{opacity:.3}}@keyframes moveToLeftFade{to{opacity:.3;transform:translate(-100%)}}@keyframes moveFromLeftFade{0%{opacity:.3;transform:translate(-100%)}}@keyframes moveToRightFade{to{opacity:.3;transform:translate(100%)}}@keyframes moveFromRightFade{0%{opacity:.3;transform:translate(100%)}}@keyframes moveToTopFade{to{opacity:.3;transform:translateY(-100%)}}@keyframes moveFromTopFade{0%{opacity:.3;transform:translateY(-100%)}}@keyframes moveToBottomFade{to{opacity:.3;transform:translateY(100%)}}@keyframes moveFromBottomFade{0%{opacity:.3;transform:translateY(100%)}}@keyframes scaleToSmall{to{opacity:0;transform:scale(.8)}}@keyframes scaleFromSmall{0%{opacity:0;transform:scale(.8)}}@keyframes scaleFromLarge{0%{opacity:0;transform:scale(1.2)}}@keyframes scaleToLarge{to{opacity:0;transform:scale(1.2)}}@keyframes scaleToSmallCenter{to{opacity:0;transform:scale(.7)}}@keyframes scaleFromSmallCenter{0%{opacity:0;transform:scale(.7)}}@keyframes rotateRoomLeftOut{to{opacity:.3;transform:translate(-100%) rotateY(90deg)}}@keyframes rotateRoomLeftIn{0%{opacity:.3;transform:translate(100%) rotateY(-90deg)}}@keyframes rotateRoomRightOut{to{opacity:.3;transform:translate(100%) rotateY(-90deg)}}@keyframes rotateRoomRightIn{0%{opacity:.3;transform:translate(-100%) rotateY(90deg)}}@keyframes rotateRoomTopOut{to{opacity:.3;transform:translateY(-100%) rotateX(-90deg)}}@keyframes rotateRoomTopIn{0%{opacity:.3;transform:translateY(100%) rotateX(90deg)}}@keyframes rotateRoomBottomOut{to{opacity:.3;transform:translateY(100%) rotateX(90deg)}}@keyframes rotateRoomBottomIn{0%{opacity:.3;transform:translateY(-100%) rotateX(-90deg)}}@keyframes rotateCubeLeftOut{50%{animation-timing-function:ease-out;transform:translate(-50%) translateZ(-200px) rotateY(-45deg)}to{opacity:.3;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateCubeLeftIn{0%{opacity:.3;transform:translate(100%) rotateY(90deg)}50%{animation-timing-function:ease-out;transform:translate(50%) translateZ(-200px) rotateY(45deg)}}@keyframes rotateCubeRightOut{50%{animation-timing-function:ease-out;transform:translate(50%) translateZ(-200px) rotateY(45deg)}to{opacity:.3;transform:translate(100%) rotateY(90deg)}}@keyframes rotateCubeRightIn{0%{opacity:.3;transform:translate(-100%) rotateY(-90deg)}50%{animation-timing-function:ease-out;transform:translate(-50%) translateZ(-200px) rotateY(-45deg)}}@keyframes rotateCubeTopOut{50%{animation-timing-function:ease-out;transform:translateY(-50%) translateZ(-200px) rotateX(45deg)}to{opacity:.3;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateCubeTopIn{0%{opacity:.3;transform:translateY(100%) rotateX(-90deg)}50%{animation-timing-function:ease-out;transform:translateY(50%) translateZ(-200px) rotateX(-45deg)}}@keyframes rotateCubeBottomOut{50%{animation-timing-function:ease-out;transform:translateY(50%) translateZ(-200px) rotateX(-45deg)}to{opacity:.3;transform:translateY(100%) rotateX(-90deg)}}@keyframes rotateCubeBottomIn{0%{opacity:.3;transform:translateY(-100%) rotateX(90deg)}50%{animation-timing-function:ease-out;transform:translateY(-50%) translateZ(-200px) rotateX(45deg)}}@keyframes rotateCarouselLeftOut{to{opacity:.3;transform:translate(-150%) scale(.4) rotateY(-65deg)}}@keyframes rotateCarouselLeftIn{0%{opacity:.3;transform:translate(200%) scale(.4) rotateY(65deg)}}@keyframes rotateCarouselRightOut{to{opacity:.3;transform:translate(200%) scale(.4) rotateY(65deg)}}@keyframes rotateCarouselRightIn{0%{opacity:.3;transform:translate(-200%) scale(.4) rotateY(-65deg)}}@keyframes rotateCarouselTopOut{to{opacity:.3;transform:translateY(-200%) scale(.4) rotateX(65deg)}}@keyframes rotateCarouselTopIn{0%{opacity:.3;transform:translateY(200%) scale(.4) rotateX(-65deg)}}@keyframes rotateCarouselBottomOut{to{opacity:.3;transform:translateY(200%) scale(.4) rotateX(-65deg)}}@keyframes rotateCarouselBottomIn{0%{opacity:.3;transform:translateY(-200%) scale(.4) rotateX(65deg)}}@keyframes rotateSidesOut{to{opacity:0;transform:translateZ(-500px) rotateY(90deg)}}@keyframes rotateSidesIn{0%{opacity:0;transform:translateZ(-500px) rotateY(-90deg)}}@keyframes rotateSlideOut{25%{opacity:.5;transform:translateZ(-500px)}75%{opacity:.5;transform:translateZ(-500px) translate(-200%)}to{opacity:.5;transform:translateZ(-500px) translate(-200%)}}@keyframes rotateSlideIn{0%,25%{opacity:.5;transform:translateZ(-500px) translate(200%)}75%{opacity:.5;transform:translateZ(-500px)}to{opacity:1;transform:translateZ(0) translate(0)}}@keyframes superRainbow{0%{background:red}20%{background:orange}40%{background:yellow}60%{background:green}80%{background:blue}to{background:violet}}.superRainbow{background-position:0 0;background-size:200% 100%;background-image:linear-gradient(90deg,red,orange,yellow,green,blue,violet)}.superRainbow:hover{background-position:-100% 100%}@keyframes statusProcessing{0%{transform:scale(.8);opacity:.5}to{transform:scale(2.4);opacity:0}}
|
|
205
205
|
`,`.ring[data-v-340d54e8]{position:relative;display:block;margin:0 auto;border-radius:50%;overflow:hidden;box-sizing:border-box}.ring-rotate[data-v-340d54e8]{width:100%;height:100%;position:relative;overflow:hidden;box-sizing:border-box;border-radius:50%}.ring-content[data-v-340d54e8]{position:absolute;overflow:hidden;box-sizing:border-box;border-radius:50%;color:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center}.ring-content>div[data-v-340d54e8]:nth-child(1){font-size:20px;font-weight:700}.ring-content>div[data-v-340d54e8]:nth-child(2){font-size:14px;margin-top:6px}.left[data-v-340d54e8],.right[data-v-340d54e8]{position:absolute;top:0;width:50%;height:100%;z-index:0}.left[data-v-340d54e8]{left:0;background:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.5))}.right[data-v-340d54e8]{right:0;background:linear-gradient(180deg,rgba(255,255,255,1),rgba(255,255,255,.5))}
|
|
206
|
-
`]],["__scopeId","data-v-340d54e8"]]),mm=st(V({customOptions:{Container:ht},inheritAttrs:!0,__name:"ClockFlipper.ce",props:{startTime:{default:"00:00:00"},initStart:{type:Boolean,default:!0},creaseType:{default:"increase"},flipDirection:{default:"down"},dur:{default:800},bgColor:{default:"#5a82f0"},textColor:{default:"#ffffff"},borderRadius:{default:8},gap:{default:1},perspective:{default:400}},setup(o,{expose:t}){const e=o,n=P(),s=P(40),r=P(20),a=P(20),i=k=>{s.value=Math.floor(k.rect.width/(6+1)),r.value=Math.floor(k.rect.height),a.value=Math.max(12,r.value)},l=k=>{e.initStart&&b(e.startTime),i(k)};let c;const u=()=>{c?.()},f=Wt([0,0,0,0,0,0]),d=Wt([0,0,0,0,0,0]),h=[0,0,0,0,0,0];let p=0;const b=k=>{k&&(N1($1(k),h),h.forEach((g,m)=>{f[m]=g,d[m]=g})),u(),p=0,x(ie(),0,!1),c=W1((g,m,y)=>{x(g,m,y)},1e3)},x=(k,g,m)=>{if(m)p=g;else{if(p>0){h.forEach((_,w)=>{f[w]=_,d[w]=_});const y=p+1;e.creaseType=="increase"?(
|
|
206
|
+
`]],["__scopeId","data-v-340d54e8"]]),mm=st(V({customOptions:{Container:ht},inheritAttrs:!0,__name:"ClockFlipper.ce",props:{startTime:{default:"00:00:00"},initStart:{type:Boolean,default:!0},creaseType:{default:"increase"},flipDirection:{default:"down"},dur:{default:800},bgColor:{default:"#5a82f0"},textColor:{default:"#ffffff"},borderRadius:{default:8},gap:{default:1},perspective:{default:400}},setup(o,{expose:t}){const e=o,n=P(),s=P(40),r=P(20),a=P(20),i=k=>{s.value=Math.floor(k.rect.width/(6+1)),r.value=Math.floor(k.rect.height),a.value=Math.max(12,r.value)},l=k=>{e.initStart&&b(e.startTime),i(k)};let c;const u=()=>{c?.()},f=Wt([0,0,0,0,0,0]),d=Wt([0,0,0,0,0,0]),h=[0,0,0,0,0,0];let p=0;const b=k=>{k&&(N1($1(k),h),h.forEach((g,m)=>{f[m]=g,d[m]=g})),u(),p=0,x(ie(),0,!1),c=W1((g,m,y)=>{x(g,m,y)},1e3)},x=(k,g,m)=>{if(m)p=g;else{if(p>0){h.forEach((_,w)=>{f[w]=_,d[w]=_});const y=p+1;e.creaseType=="increase"?(dl(f,y),dl(d,y+1)):(hl(f,y),hl(d,y+1)),p=0}else e.creaseType=="increase"?dl(d,1):hl(d,1);_l(()=>{d.forEach((y,_)=>{f[_]=y})},e.dur)}};return pe(()=>{Co(`
|
|
207
207
|
:root {
|
|
208
208
|
--yz-clock-flipper-bg-color:${e.bgColor};
|
|
209
209
|
--yz-clock-flipper-text-color:${e.textColor};
|
|
@@ -226,10 +226,10 @@ ${JSON.stringify(it,null,2)}
|
|
|
226
226
|
}
|
|
227
227
|
`,n.value.getElement())}),t({start:b,pause:u}),(k,g)=>(I(),dt(ht,{ref_key:"containerRef",ref:n,type:"full",overflow:"visible",onReady:l,onUpdate:i},{default:W(()=>[v("div",{class:"clock-flipper",style:N({fontSize:a.value+"px",lineHeight:r.value+"px"})},[(I(!0),D(Dt,null,Ee(f,(m,y)=>(I(),D(Dt,{key:y},[v("div",{class:jt(["flip",[e.flipDirection,d[y]!=m?"go":""]]),style:N({width:s.value+"px"})},[v("div",{class:jt(["front digital",[`flipper_${y}`,`number_${m}`]])},null,2),v("div",{class:jt(["back digital",[`number_${d[y]}`]])},null,2)],6),y==1||y==3?(I(),D("div",{key:0,class:"gap",style:N({fontSize:Math.floor(a.value*.6)+"px",lineHeight:0})}," : ",4)):yt("",!0)],64))),128))],4)]),_:1},512))}}),[["styles",[`@keyframes frontFlipDown{0%{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(0)}to{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(-180deg)}}@keyframes backFlipDown{0%{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(180deg)}to{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(0)}}@keyframes frontFlipUp{0%{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(0)}to{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(180deg)}}@keyframes backFlipUp{0%{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(-180deg)}to{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(0)}}
|
|
228
228
|
`,`.clock-flipper[data-v-7e04b895]{position:relative;margin:0 auto;box-sizing:border-box;display:flex;flex-direction:row;justify-content:center;align-items:center;text-align:center;height:100%;font-family:D-DINCondensed-number}.flip[data-v-7e04b895]{position:relative;height:100%;box-sizing:border-box;color:var(--yz-clock-flipper-text-color)}.flip+.flip[data-v-7e04b895]{margin-left:var(--yz-clock-flipper-gap-double)}.flip.down .front[data-v-7e04b895]:after,.flip.down .back[data-v-7e04b895]:before{z-index:1}.flip.down .front[data-v-7e04b895]:before{z-index:3}.flip.down .back[data-v-7e04b895]:after{z-index:2;transform-origin:50% 0%;transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(180deg)}.flip.down.go .front[data-v-7e04b895]:before{transform-origin:50% 100%;animation:frontFlipDown var(--yz-clock-flipper-animation-duration) ease-in-out both;backface-visibility:hidden;box-shadow:0 -2px 6px #ffffff4d}.flip.down.go .back[data-v-7e04b895]:after{animation:backFlipDown var(--yz-clock-flipper-animation-duration) ease-in-out both}.flip.up .front[data-v-7e04b895]:before,.flip.up .back[data-v-7e04b895]:after{z-index:1}.flip.up .front[data-v-7e04b895]:after{z-index:3}.flip.up .back[data-v-7e04b895]:before{z-index:2;transform-origin:50% 100%;transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(-180deg)}.flip.up.go .front[data-v-7e04b895]:after{transform-origin:50% 0;animation:frontFlipUp var(--yz-clock-flipper-animation-duration) ease-in-out both;backface-visibility:hidden;box-shadow:0 -2px 6px #ffffff4d}.flip.up.go .back[data-v-7e04b895]:before{animation:backFlipUp var(--yz-clock-flipper-animation-duration) ease-in-out both}.gap[data-v-7e04b895]{margin:0 var(--yz-clock-flipper-gap-four);color:var(--yz-clock-flipper-bg-color)}.digital[data-v-7e04b895]:before,.digital[data-v-7e04b895]:after{content:"";position:absolute;left:0;right:0;height:50%;box-sizing:border-box;background:var(--yz-clock-flipper-bg-color);overflow:hidden}.digital[data-v-7e04b895]:before{top:0;bottom:50%;border-radius:var(--yz-clock-flipper-border-radius) var(--yz-clock-flipper-border-radius) 0 0;border-bottom:solid var(--yz-clock-flipper-gap) var(--yz-clock-flipper-text-color)}.digital[data-v-7e04b895]:after{top:50%;bottom:0;border-radius:0 0 var(--yz-clock-flipper-border-radius) var(--yz-clock-flipper-border-radius);border-top:solid var(--yz-clock-flipper-gap) var(--yz-clock-flipper-text-color);line-height:0}.digital.number_0[data-v-7e04b895]:before,.digital.number_0[data-v-7e04b895]:after{content:"0"}.digital.number_1[data-v-7e04b895]:before,.digital.number_1[data-v-7e04b895]:after{content:"1"}.digital.number_2[data-v-7e04b895]:before,.digital.number_2[data-v-7e04b895]:after{content:"2"}.digital.number_3[data-v-7e04b895]:before,.digital.number_3[data-v-7e04b895]:after{content:"3"}.digital.number_4[data-v-7e04b895]:before,.digital.number_4[data-v-7e04b895]:after{content:"4"}.digital.number_5[data-v-7e04b895]:before,.digital.number_5[data-v-7e04b895]:after{content:"5"}.digital.number_6[data-v-7e04b895]:before,.digital.number_6[data-v-7e04b895]:after{content:"6"}.digital.number_7[data-v-7e04b895]:before,.digital.number_7[data-v-7e04b895]:after{content:"7"}.digital.number_8[data-v-7e04b895]:before,.digital.number_8[data-v-7e04b895]:after{content:"8"}.digital.number_9[data-v-7e04b895]:before,.digital.number_9[data-v-7e04b895]:after{content:"9"}
|
|
229
|
-
`]],["__scopeId","data-v-7e04b895"]]);var or=function(){var o=0,t=document.createElement("div");t.style.cssText="position:fixed;top:0;right:0;cursor:pointer;opacity:0.9;z-index:10000",t.addEventListener("click",function(u){u.preventDefault(),n(++o%t.children.length)},!1);function e(u){return t.appendChild(u.dom),u}function n(u){for(var f=0;f<t.children.length;f++)t.children[f].style.display=f===u?"block":"none";o=u}var s=(performance||Date).now(),r=s,a=0,i=e(new or.Panel("FPS","#0ff","#002")),l=e(new or.Panel("MS","#0f0","#020"));if(self.performance&&self.performance.memory)var c=e(new or.Panel("MB","#f08","#201"));return n(0),{REVISION:16,dom:t,addPanel:e,showPanel:n,begin:function(){s=(performance||Date).now()},end:function(){a++;var u=(performance||Date).now();if(l.update(u-s,200),u>r+1e3&&(i.update(a*1e3/(u-r),100),r=u,a=0,c)){var f=performance.memory;c.update(f.usedJSHeapSize/1048576,f.jsHeapSizeLimit/1048576)}return u},update:function(){s=this.end()},domElement:t,setMode:n}};or.Panel=function(o,t,e){var n=1/0,s=0,r=Math.round,a=r(window.devicePixelRatio||1),i=80*a,l=48*a,c=3*a,u=2*a,f=3*a,d=15*a,h=74*a,p=30*a,b=document.createElement("canvas");b.width=i,b.height=l,b.style.cssText="width:80px;height:48px";var x=b.getContext("2d");return x.font="bold "+9*a+"px Helvetica,Arial,sans-serif",x.textBaseline="top",x.fillStyle=e,x.fillRect(0,0,i,l),x.fillStyle=t,x.fillText(o,c,u),x.fillRect(f,d,h,p),x.fillStyle=e,x.globalAlpha=.9,x.fillRect(f,d,h,p),{dom:b,update:function(k,g){n=Math.min(n,k),s=Math.max(s,k),x.fillStyle=e,x.globalAlpha=1,x.fillRect(0,0,i,d),x.fillStyle=t,x.fillText(r(k)+" "+o+" ("+r(n)+"-"+r(s)+")",c,u),x.drawImage(b,f+a,d,h-a,p,f,d,h-a,p),x.fillRect(f+h-a,d,a,p),x.fillStyle=e,x.globalAlpha=.9,x.fillRect(f+h-a,d,a,r((1-k/g)*p))}}};const y5=Object.assign({customOptions:{},inheritAttrs:!0},{__name:"FPSStats.ce",setup(o,{expose:t}){const e=P();return pe(()=>{const n=new or;n.domElement.style.margin="1em",e.value.appendChild(n.domElement),zs(()=>(n.update(),!0))}),t({}),(n,s)=>(I(),D("div",{ref_key:"containerRef",ref:e},null,512))}}),v5={class:"ease-graph"},wc=st(V({customOptions:{Button:ae,Canvas:no},inheritAttrs:!0,__name:"EaseGraphDisplay.ce",props:{easeName:{},easeFunction:{},canvasWidth:{default:180},canvasHeight:{default:100},graphHorizontalGap:{default:5},graphVerticalGap:{default:20},easeDuration:{default:2e3},isSelected:{type:Boolean,default:!1}},emits:["onMounted","onStart","onCompleted","onSelected"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P();let a,i;Rt(r,()=>{r.value&&(
|
|
230
|
-
`]],["__scopeId","data-v-4358d221"]]),b5={class:"ease-graph"},_5=V({customOptions:{Button:ae,Canvas:no},inheritAttrs:!0,__name:"EaseGraphDisplay",props:{easeName:{},easeFunction:{},canvasWidth:{default:180},canvasHeight:{default:100},graphHorizontalGap:{default:5},graphVerticalGap:{default:20},easeDuration:{default:2e3},isSelected:{type:Boolean,default:!1}},emits:["onMounted","onStart","onCompleted","onSelected"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P();let a,i;Rt(r,()=>{r.value&&(
|
|
231
|
-
`]],["__scopeId","data-v-b3ce4b26"]]),k5={class:"interpolation-graph"},vm=1/6,bm=5/6,Cc=st(V({customOptions:{Button:ae,Canvas:no},inheritAttrs:!0,__name:"InterpolationGraphDisplay.ce",props:{interpolationName:{},interpolationFunction:{},canvasWidth:{default:240},canvasHeight:{default:160},interpolationDuration:{default:2e3}},emits:["onMounted","onStart","onCompleted"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P();let a,i;Rt(r,()=>{r.value&&(
|
|
232
|
-
`]],["__scopeId","data-v-40f2a3d6"]]),w5={class:"interpolation-graph"},_m=1/6,xm=5/6,C5=V({customOptions:{Button:ae,Canvas:no},inheritAttrs:!0,__name:"InterpolationGraphDisplay",props:{interpolationName:{},interpolationFunction:{},canvasWidth:{default:240},canvasHeight:{default:160},interpolationDuration:{default:2e3}},emits:["onMounted","onStart","onCompleted"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P();let a,i;Rt(r,()=>{r.value&&(
|
|
229
|
+
`]],["__scopeId","data-v-7e04b895"]]);var or=function(){var o=0,t=document.createElement("div");t.style.cssText="position:fixed;top:0;right:0;cursor:pointer;opacity:0.9;z-index:10000",t.addEventListener("click",function(u){u.preventDefault(),n(++o%t.children.length)},!1);function e(u){return t.appendChild(u.dom),u}function n(u){for(var f=0;f<t.children.length;f++)t.children[f].style.display=f===u?"block":"none";o=u}var s=(performance||Date).now(),r=s,a=0,i=e(new or.Panel("FPS","#0ff","#002")),l=e(new or.Panel("MS","#0f0","#020"));if(self.performance&&self.performance.memory)var c=e(new or.Panel("MB","#f08","#201"));return n(0),{REVISION:16,dom:t,addPanel:e,showPanel:n,begin:function(){s=(performance||Date).now()},end:function(){a++;var u=(performance||Date).now();if(l.update(u-s,200),u>r+1e3&&(i.update(a*1e3/(u-r),100),r=u,a=0,c)){var f=performance.memory;c.update(f.usedJSHeapSize/1048576,f.jsHeapSizeLimit/1048576)}return u},update:function(){s=this.end()},domElement:t,setMode:n}};or.Panel=function(o,t,e){var n=1/0,s=0,r=Math.round,a=r(window.devicePixelRatio||1),i=80*a,l=48*a,c=3*a,u=2*a,f=3*a,d=15*a,h=74*a,p=30*a,b=document.createElement("canvas");b.width=i,b.height=l,b.style.cssText="width:80px;height:48px";var x=b.getContext("2d");return x.font="bold "+9*a+"px Helvetica,Arial,sans-serif",x.textBaseline="top",x.fillStyle=e,x.fillRect(0,0,i,l),x.fillStyle=t,x.fillText(o,c,u),x.fillRect(f,d,h,p),x.fillStyle=e,x.globalAlpha=.9,x.fillRect(f,d,h,p),{dom:b,update:function(k,g){n=Math.min(n,k),s=Math.max(s,k),x.fillStyle=e,x.globalAlpha=1,x.fillRect(0,0,i,d),x.fillStyle=t,x.fillText(r(k)+" "+o+" ("+r(n)+"-"+r(s)+")",c,u),x.drawImage(b,f+a,d,h-a,p,f,d,h-a,p),x.fillRect(f+h-a,d,a,p),x.fillStyle=e,x.globalAlpha=.9,x.fillRect(f+h-a,d,a,r((1-k/g)*p))}}};const y5=Object.assign({customOptions:{},inheritAttrs:!0},{__name:"FPSStats.ce",setup(o,{expose:t}){const e=P();return pe(()=>{const n=new or;n.domElement.style.margin="1em",e.value.appendChild(n.domElement),zs(()=>(n.update(),!0))}),t({}),(n,s)=>(I(),D("div",{ref_key:"containerRef",ref:e},null,512))}}),v5={class:"ease-graph"},wc=st(V({customOptions:{Button:ae,Canvas:no},inheritAttrs:!0,__name:"EaseGraphDisplay.ce",props:{easeName:{},easeFunction:{},canvasWidth:{default:180},canvasHeight:{default:100},graphHorizontalGap:{default:5},graphVerticalGap:{default:20},easeDuration:{default:2e3},isSelected:{type:Boolean,default:!1}},emits:["onMounted","onStart","onCompleted","onSelected"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P();let a,i;Rt(r,()=>{r.value&&(ma(r.value.getElement(),{onShow:c}).then(f=>i=f),r.value.getCanvas().then(f=>{a=f,s("onMounted",n.easeName)}))});let l=!1;const c=()=>{if(!a||l)return;l=!0,s("onStart",n.easeName),a.ctx.fillStyle="rgb(250,250,250)",a.ctx.fillRect(0,0,n.canvasWidth,n.canvasHeight),a.ctx.lineWidth=.5,a.ctx.strokeStyle="rgb(230,230,230)",a.ctx.beginPath(),a.ctx.moveTo(0,n.graphVerticalGap),a.ctx.lineTo(n.canvasWidth,n.graphVerticalGap),a.ctx.moveTo(0,n.canvasHeight-n.graphVerticalGap),a.ctx.lineTo(n.canvasWidth,n.canvasHeight-n.graphVerticalGap),a.ctx.closePath(),a.ctx.stroke(),a.ctx.lineWidth=2,a.ctx.strokeStyle="rgb(255,127,127)";const f={x:n.graphHorizontalGap,y:n.canvasHeight-n.graphVerticalGap},d={x:n.graphHorizontalGap,y:n.canvasHeight-n.graphVerticalGap},h=()=>{a.ctx.beginPath(),a.ctx.moveTo(d.x,d.y),a.ctx.lineTo(f.x,f.y),a.ctx.closePath(),a.ctx.stroke(),d.x=f.x,d.y=f.y},p=new Xe({frameDuration:n.easeDuration});p.addTween(f,{x:n.canvasWidth-n.graphHorizontalGap},{frames:1,delay:0,easeFunction:_t.Easing.Linear.None,onUpdate:b=>{f.x=b.x},onComplete:()=>{}}),p.addTween(f,{y:n.graphVerticalGap},{frames:1,delay:0,easeFunction:n.easeFunction,onUpdate:b=>{f.y=b.y,h()},onComplete:()=>{s("onCompleted",n.easeName),l=!1}}),p.play()},u=()=>{s("onSelected",n.easeName,n.easeFunction)};return ue(()=>{i?.()}),t({start:c}),(f,d)=>(I(),D("div",v5,[v("div",null,"缓动:"+ft(f.easeName),1),v("div",null,[v("div",null,[Z(ae,{stylePattern:"outline",height:"32px",padding:"10px",onClick:c},{default:W(()=>d[0]||(d[0]=[Bt(" 开始 ")])),_:1})]),v("div",null,[Z(ae,{stylePattern:n.isSelected?"fullfill":"outline",height:"32px",padding:"10px",onClick:u},{default:W(()=>d[1]||(d[1]=[Bt(" 选择 ")])),_:1},8,["stylePattern"])])]),v("div",{style:N({width:f.canvasWidth+"px",height:f.canvasHeight+"px"})},[Z(no,{ref_key:"canvasRef",ref:r,bgColor:"#ffffff"},null,512)],4)]))}}),[["styles",[`.ease-graph[data-v-4358d221]{display:inline-block}.ease-graph>div[data-v-4358d221]:nth-child(1){margin-top:10px;font-size:14px}.ease-graph>div[data-v-4358d221]:nth-child(2){margin-bottom:10px}.ease-graph>div:nth-child(2)>div[data-v-4358d221]{display:inline-block}.ease-graph>div:nth-child(2)>div+div[data-v-4358d221]{margin-left:10px}
|
|
230
|
+
`]],["__scopeId","data-v-4358d221"]]),b5={class:"ease-graph"},_5=V({customOptions:{Button:ae,Canvas:no},inheritAttrs:!0,__name:"EaseGraphDisplay",props:{easeName:{},easeFunction:{},canvasWidth:{default:180},canvasHeight:{default:100},graphHorizontalGap:{default:5},graphVerticalGap:{default:20},easeDuration:{default:2e3},isSelected:{type:Boolean,default:!1}},emits:["onMounted","onStart","onCompleted","onSelected"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P();let a,i;Rt(r,()=>{r.value&&(ma(r.value.getElement(),{onShow:c}).then(f=>i=f),r.value.getCanvas().then(f=>{a=f,s("onMounted",n.easeName)}))});let l=!1;const c=()=>{if(!a||l)return;l=!0,s("onStart",n.easeName),a.ctx.fillStyle="rgb(250,250,250)",a.ctx.fillRect(0,0,n.canvasWidth,n.canvasHeight),a.ctx.lineWidth=.5,a.ctx.strokeStyle="rgb(230,230,230)",a.ctx.beginPath(),a.ctx.moveTo(0,n.graphVerticalGap),a.ctx.lineTo(n.canvasWidth,n.graphVerticalGap),a.ctx.moveTo(0,n.canvasHeight-n.graphVerticalGap),a.ctx.lineTo(n.canvasWidth,n.canvasHeight-n.graphVerticalGap),a.ctx.closePath(),a.ctx.stroke(),a.ctx.lineWidth=2,a.ctx.strokeStyle="rgb(255,127,127)";const f={x:n.graphHorizontalGap,y:n.canvasHeight-n.graphVerticalGap},d={x:n.graphHorizontalGap,y:n.canvasHeight-n.graphVerticalGap},h=()=>{a.ctx.beginPath(),a.ctx.moveTo(d.x,d.y),a.ctx.lineTo(f.x,f.y),a.ctx.closePath(),a.ctx.stroke(),d.x=f.x,d.y=f.y},p=new Xe({frameDuration:n.easeDuration});p.addTween(f,{x:n.canvasWidth-n.graphHorizontalGap},{frames:1,delay:0,easeFunction:_t.Easing.Linear.None,onUpdate:b=>{f.x=b.x},onComplete:()=>{}}),p.addTween(f,{y:n.graphVerticalGap},{frames:1,delay:0,easeFunction:n.easeFunction,onUpdate:b=>{f.y=b.y,h()},onComplete:()=>{s("onCompleted",n.easeName),l=!1}}),p.play()},u=()=>{s("onSelected",n.easeName,n.easeFunction)};return ue(()=>{i?.()}),t({start:c}),(f,d)=>(I(),D("div",b5,[v("div",null,"缓动:"+ft(f.easeName),1),v("div",null,[v("div",null,[Z(ae,{stylePattern:"outline",height:"32px",padding:"10px",onClick:c},{default:W(()=>d[0]||(d[0]=[Bt(" 开始 ")])),_:1})]),v("div",null,[Z(ae,{stylePattern:n.isSelected?"fullfill":"outline",height:"32px",padding:"10px",onClick:u},{default:W(()=>d[1]||(d[1]=[Bt(" 选择 ")])),_:1},8,["stylePattern"])])]),v("div",{style:N({width:f.canvasWidth+"px",height:f.canvasHeight+"px"})},[Z(no,{ref_key:"canvasRef",ref:r,bgColor:"#ffffff"},null,512)],4)]))}}),bT="",gm=st(_5,[["__scopeId","data-v-ceb1c6e1"]]),x5=2e3,ym=st(V({customOptions:{EaseGraphDisplay:gm},inheritAttrs:!0,__name:"EaseGroupGraphDisplay.ce",props:{easeList:{default:()=>[{easeName:"Linear",easeFunction:_t.Easing.Linear.None},{easeName:"gap"},{easeName:"QuadraticIn",easeFunction:_t.Easing.Quadratic.In},{easeName:"QuadraticOut",easeFunction:_t.Easing.Quadratic.Out},{easeName:"QuadraticInOut",easeFunction:_t.Easing.Quadratic.InOut},{easeName:"gap"},{easeName:"CubicIn",easeFunction:_t.Easing.Cubic.In},{easeName:"CubicOut",easeFunction:_t.Easing.Cubic.Out},{easeName:"CubicInOut",easeFunction:_t.Easing.Cubic.InOut},{easeName:"gap"},{easeName:"QuarticIn",easeFunction:_t.Easing.Quartic.In},{easeName:"QuarticOut",easeFunction:_t.Easing.Quartic.Out},{easeName:"QuarticInOut",easeFunction:_t.Easing.Quartic.InOut},{easeName:"gap"},{easeName:"QuinticIn",easeFunction:_t.Easing.Quintic.In},{easeName:"QuinticOut",easeFunction:_t.Easing.Quintic.Out},{easeName:"QuinticInOut",easeFunction:_t.Easing.Quintic.InOut},{easeName:"gap"},{easeName:"SinusoidalIn",easeFunction:_t.Easing.Sinusoidal.In},{easeName:"SinusoidalOut",easeFunction:_t.Easing.Sinusoidal.Out},{easeName:"SinusoidalInOut",easeFunction:_t.Easing.Sinusoidal.InOut},{easeName:"gap"},{easeName:"ExponentialIn",easeFunction:_t.Easing.Exponential.In},{easeName:"ExponentialOut",easeFunction:_t.Easing.Exponential.Out},{easeName:"ExponentialInOut",easeFunction:_t.Easing.Exponential.InOut},{easeName:"gap"},{easeName:"CircularIn",easeFunction:_t.Easing.Circular.In},{easeName:"CircularOut",easeFunction:_t.Easing.Circular.Out},{easeName:"CircularInOut",easeFunction:_t.Easing.Circular.InOut},{easeName:"gap"},{easeName:"ElasticIn",easeFunction:_t.Easing.Elastic.In},{easeName:"ElasticOut",easeFunction:_t.Easing.Elastic.Out},{easeName:"ElasticInOut",easeFunction:_t.Easing.Elastic.InOut},{easeName:"gap"},{easeName:"BackIn",easeFunction:_t.Easing.Back.In},{easeName:"BackOut",easeFunction:_t.Easing.Back.Out},{easeName:"BackInOut",easeFunction:_t.Easing.Back.InOut},{easeName:"gap"},{easeName:"BounceIn",easeFunction:_t.Easing.Bounce.In},{easeName:"BounceOut",easeFunction:_t.Easing.Bounce.Out},{easeName:"BounceInOut",easeFunction:_t.Easing.Bounce.InOut},{easeName:"gap"},{easeName:"generatePow(10)In",easeFunction:_t.Easing.generatePow(10).In},{easeName:"generatePow(10)Out",easeFunction:_t.Easing.generatePow(10).Out},{easeName:"generatePow(10)InOut",easeFunction:_t.Easing.generatePow(10).InOut},{easeName:"gap"},{easeName:"4 steps",easeFunction:_t.Easing.createStep(4)},{easeName:"8 steps",easeFunction:_t.Easing.createStep(8)},{easeName:"12 steps",easeFunction:_t.Easing.createStep(12)},{easeName:"16 steps",easeFunction:_t.Easing.createStep(16)},{easeName:"gap"},{easeName:"Noisy Exponential.InOut",easeFunction:_t.Easing.createNoisyEasing(_t.Easing.Exponential.InOut,.1)},{easeName:"Noisy Elastic.InOut",easeFunction:_t.Easing.createNoisyEasing(_t.Easing.Elastic.InOut,.2)},{easeName:"Noisy Circular.InOut",easeFunction:_t.Easing.createNoisyEasing(_t.Easing.Circular.InOut,.1)},{easeName:"swing",easeFunction:_t.Easing.swing},{easeName:"causeSeizures",easeFunction:_t.Easing.causeSeizures}]}},emits:["selectedEaseFunction"],setup(o,{expose:t,emit:e}){const n=o,s=e,r={};function a(d,h){d&&(r[h]={el:d})}const i=new jr(10);function l(d){i.addTask(()=>(r[d].el.start(),new Promise(h=>{r[d].resolve=h})))}function c(d){r[d].resolve?.()}const u=P("Linear");function f(d,h){u.value=d,s("selectedEaseFunction",d,h)}return f("Linear",_t.Easing.Linear.None),t({}),(d,h)=>(I(),D("div",null,[(I(!0),D(Dt,null,Ee(n.easeList,p=>(I(),D("div",{key:p.easeName,class:"ease-graph-wrap"},[p.easeFunction?(I(),dt(gm,{key:0,easeName:p.easeName,easeFunction:p.easeFunction,easeDuration:x5,isSelected:u.value==p.easeName,onOnMounted:l,onOnCompleted:c,onOnSelected:f,ref_for:!0,ref:b=>a(b,p.easeName)},null,8,["easeName","easeFunction","isSelected"])):yt("",!0)]))),128))]))}}),[["styles",[`.ease-graph-wrap[data-v-b3ce4b26]{display:inline-block;margin-right:10px}.ease-group-gap[data-v-b3ce4b26]{margin:10px}
|
|
231
|
+
`]],["__scopeId","data-v-b3ce4b26"]]),k5={class:"interpolation-graph"},vm=1/6,bm=5/6,Cc=st(V({customOptions:{Button:ae,Canvas:no},inheritAttrs:!0,__name:"InterpolationGraphDisplay.ce",props:{interpolationName:{},interpolationFunction:{},canvasWidth:{default:240},canvasHeight:{default:160},interpolationDuration:{default:2e3}},emits:["onMounted","onStart","onCompleted"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P();let a,i;Rt(r,()=>{r.value&&(ma(r.value.getElement(),{onShow:b}).then(x=>i=x),r.value.getCanvas().then(x=>{a=x,s("onMounted",n.interpolationName)}))});const l=n.canvasWidth*vm,c=n.canvasHeight/2,u=[n.canvasWidth*bm,n.canvasWidth/2],f=[n.canvasHeight*vm,n.canvasHeight*bm],d=[...u,l],h=[...f,c];let p=!1;const b=()=>{if(!a||p)return;p=!0,s("onStart",n.interpolationName),a.ctx.fillStyle="rgb(250,250,250)",a.ctx.fillRect(0,0,n.canvasWidth,n.canvasHeight),a.ctx.fillStyle="rgb(200,200,200)",a.ctx.fillRect(l-3,c-3,6,6),a.ctx.fillRect(u[u.length-1]-3,f[f.length-1]-3,6,6);for(var x=0;x<u.length;x++)a.ctx.fillRect(u[x]-2,f[x]-2,4,4);const k=new Xe({frameDuration:n.interpolationDuration});k.addTween({x:l,y:c,old:{x:l,y:c}},{x:u,y:f},{frames:1,delay:0,easeFunction:_t.Easing.Linear.None,interpolationFunction:n.interpolationFunction,onUpdate:g=>{a.ctx.lineWidth=2,a.ctx.strokeStyle="rgba(255,127,127,0.9)",a.ctx.beginPath(),a.ctx.moveTo(g.old.x,g.old.y),a.ctx.lineTo(g.x,g.y),a.ctx.closePath(),a.ctx.stroke(),g.old.x=g.x,g.old.y=g.y},onComplete:()=>{}}),k.addTween({x:l,y:c,old:{x:l,y:c}},{x:d,y:h},{frames:1,delay:0,easeFunction:_t.Easing.Linear.None,interpolationFunction:n.interpolationFunction,onUpdate:g=>{a.ctx.lineWidth=2,a.ctx.strokeStyle="rgba(255,127,127,0.5)",a.ctx.beginPath(),a.ctx.moveTo(g.old.x,g.old.y),a.ctx.lineTo(g.x,g.y),a.ctx.closePath(),a.ctx.stroke(),g.old.x=g.x,g.old.y=g.y},onComplete:()=>{s("onCompleted",n.interpolationName),p=!1}}),k.play()};return ue(()=>{i?.()}),t({start:b}),(x,k)=>(I(),D("div",k5,[v("div",null,[Bt(" 插值:"+ft(x.interpolationName)+" ",1),Z(ae,{stylePattern:"outline",height:"32px",onClick:b},{default:W(()=>k[0]||(k[0]=[Bt(" 开始 ")])),_:1})]),v("div",{style:N({width:x.canvasWidth+"px",height:x.canvasHeight+"px"})},[Z(no,{ref_key:"canvasRef",ref:r,bgColor:"#ffffff"},null,512)],4)]))}}),[["styles",[`.interpolation-graph[data-v-40f2a3d6]{display:inline-block}.interpolation-graph>div[data-v-40f2a3d6]:nth-child(1){margin-top:10px;margin-bottom:10px;font-size:14px}
|
|
232
|
+
`]],["__scopeId","data-v-40f2a3d6"]]),w5={class:"interpolation-graph"},_m=1/6,xm=5/6,C5=V({customOptions:{Button:ae,Canvas:no},inheritAttrs:!0,__name:"InterpolationGraphDisplay",props:{interpolationName:{},interpolationFunction:{},canvasWidth:{default:240},canvasHeight:{default:160},interpolationDuration:{default:2e3}},emits:["onMounted","onStart","onCompleted"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P();let a,i;Rt(r,()=>{r.value&&(ma(r.value.getElement(),{onShow:b}).then(x=>i=x),r.value.getCanvas().then(x=>{a=x,s("onMounted",n.interpolationName)}))});const l=n.canvasWidth*_m,c=n.canvasHeight/2,u=[n.canvasWidth*xm,n.canvasWidth/2],f=[n.canvasHeight*_m,n.canvasHeight*xm],d=[...u,l],h=[...f,c];let p=!1;const b=()=>{if(!a||p)return;p=!0,s("onStart",n.interpolationName),a.ctx.fillStyle="rgb(250,250,250)",a.ctx.fillRect(0,0,n.canvasWidth,n.canvasHeight),a.ctx.fillStyle="rgb(200,200,200)",a.ctx.fillRect(l-3,c-3,6,6),a.ctx.fillRect(u[u.length-1]-3,f[f.length-1]-3,6,6);for(var x=0;x<u.length;x++)a.ctx.fillRect(u[x]-2,f[x]-2,4,4);const k=new Xe({frameDuration:n.interpolationDuration});k.addTween({x:l,y:c,old:{x:l,y:c}},{x:u,y:f},{frames:1,delay:0,easeFunction:_t.Easing.Linear.None,interpolationFunction:n.interpolationFunction,onUpdate:g=>{a.ctx.lineWidth=2,a.ctx.strokeStyle="rgba(255,127,127,0.9)",a.ctx.beginPath(),a.ctx.moveTo(g.old.x,g.old.y),a.ctx.lineTo(g.x,g.y),a.ctx.closePath(),a.ctx.stroke(),g.old.x=g.x,g.old.y=g.y},onComplete:()=>{}}),k.addTween({x:l,y:c,old:{x:l,y:c}},{x:d,y:h},{frames:1,delay:0,easeFunction:_t.Easing.Linear.None,interpolationFunction:n.interpolationFunction,onUpdate:g=>{a.ctx.lineWidth=2,a.ctx.strokeStyle="rgba(255,127,127,0.5)",a.ctx.beginPath(),a.ctx.moveTo(g.old.x,g.old.y),a.ctx.lineTo(g.x,g.y),a.ctx.closePath(),a.ctx.stroke(),g.old.x=g.x,g.old.y=g.y},onComplete:()=>{s("onCompleted",n.interpolationName),p=!1}}),k.play()};return ue(()=>{i?.()}),t({start:b}),(x,k)=>(I(),D("div",w5,[v("div",null,[Bt(" 插值:"+ft(x.interpolationName)+" ",1),Z(ae,{stylePattern:"outline",height:"32px",onClick:b},{default:W(()=>k[0]||(k[0]=[Bt(" 开始 ")])),_:1})]),v("div",{style:N({width:x.canvasWidth+"px",height:x.canvasHeight+"px"})},[Z(no,{ref_key:"canvasRef",ref:r,bgColor:"#ffffff"},null,512)],4)]))}}),CT="",km=st(C5,[["__scopeId","data-v-9fcfb094"]]),T5=2e3,wm=st(V({customOptions:{InterpolationGraphDisplay:km},inheritAttrs:!0,__name:"InterpolationGroupGraphDisplay.ce",props:{interpolationList:{default:()=>[{interpolationName:"Linear",interpolationFunction:_t.Interpolation.Linear},{interpolationName:"Bezier",interpolationFunction:_t.Interpolation.Bezier},{interpolationName:"CatmullRom",interpolationFunction:_t.Interpolation.CatmullRom}]}},setup(o,{expose:t,emit:e}){const n=o,s={};function r(c,u){c&&(s[u]={el:c})}const a=new jr(1);function i(c){a.addTask(()=>(s[c].el.start(),new Promise(u=>{s[c].resolve=u})))}function l(c){s[c].resolve?.()}return t({}),(c,u)=>(I(),D("div",null,[(I(!0),D(Dt,null,Ee(n.interpolationList,f=>(I(),D("div",{key:f.interpolationName,class:"interpolation-graph-wrap"},[Z(km,{interpolationName:f.interpolationName,interpolationFunction:f.interpolationFunction,easeDuration:T5,onOnMounted:i,onOnCompleted:l,ref_for:!0,ref:d=>r(d,f.interpolationName)},null,8,["interpolationName","interpolationFunction"])]))),128))]))}}),[["styles",[`.interpolation-graph-wrap[data-v-7128e350]{display:inline-block;margin-right:10px}
|
|
233
233
|
`]],["__scopeId","data-v-7128e350"]]),E5={class:"face front"},S5={class:"face back"},Cm=st(V({customOptions:{},inheritAttrs:!0,__name:"CardFlip.ce",props:{type:{default:""},dur:{default:500},perspective:{default:"600px"}},emits:["click"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P(!1),a=()=>{r.value=!r.value,s("click",r.value)};return t({}),(i,l)=>(I(),D("div",{class:"card-flip-scene",style:N({perspective:n.perspective})},[v("div",{class:jt(["card",[n.type,{flip:r.value}]]),style:N({transition:`transform ${n.dur}ms`}),onClick:a},[v("div",E5,[mt(i.$slots,"front",{},()=>[l[0]||(l[0]=Bt("front"))],!0)]),v("div",S5,[mt(i.$slots,"back",{},()=>[l[1]||(l[1]=Bt("back"))],!0)])],6)],4))}}),[["styles",[`.card-flip-scene[data-v-1ee90a6e]{width:100%;height:100%;cursor:pointer}.card[data-v-1ee90a6e]{width:100%;height:100%;position:relative;transform-style:preserve-3d}.card.slide[data-v-1ee90a6e]{transform-origin:center right}.card.flip[data-v-1ee90a6e]{transform:rotateY(180deg)}.card.slide.flip[data-v-1ee90a6e]{transform:translate(-100%) rotateY(-180deg)}.face[data-v-1ee90a6e]{position:absolute;height:100%;width:100%;backface-visibility:hidden}.face[data-v-1ee90a6e]>:nth-child(1){display:block;width:100%;height:100%}.back[data-v-1ee90a6e]{transform:rotateY(180deg)}
|
|
234
234
|
`]],["__scopeId","data-v-1ee90a6e"]]),O5=V({customOptions:{BooleanBox:an},__name:"RadioGroup",props:{options:{},disabledIndexs:{},initIndex:{default:0},isRounded:{type:Boolean,default:!0},colorBackground:{default:"#ffffff"},colorForeground:{default:"#5a82f0"},colorDisabled:{default:"#cccccc"},colorChangeMode:{default:"reverse"},fontSize:{default:"14px"},boxWidth:{default:"20px"},itemPadding:{default:"10px"},labelPadding:{default:"2px"}},emits:["change"],setup(o,{emit:t}){const e=o,n=t,s=P([]),r=(l,c)=>{l&&(s.value[c]=l)};let a=P(e.initIndex);const i=(l,c)=>{a.value!==l?(s.value[a.value].toggleValue(),c&&(a.value=l,n("change",e.options[a.value]))):c||s.value[a.value].setValue(!0)};return(l,c)=>(I(!0),D(Dt,null,Ee(l.options,(u,f)=>(I(),D("div",{class:"radio-group",key:f,style:N(["margin-left:"+(f>0?e.itemPadding:0)])},[Z(an,{ref_for:!0,ref:d=>r(d,f),selected:Tt(a)==f,disabled:l.disabledIndexs&&l.disabledIndexs.findIndex(d=>d===f)>=0,isRounded:e.isRounded,label:u,labelPadding:e.labelPadding,colorBackground:e.colorBackground,colorForeground:e.colorForeground,colorDisabled:e.colorDisabled,colorChangeMode:e.colorChangeMode,boxWidth:e.boxWidth,fontSize:e.fontSize,onChange:d=>i(f,d)},null,8,["selected","disabled","isRounded","label","labelPadding","colorBackground","colorForeground","colorDisabled","colorChangeMode","boxWidth","fontSize","onChange"])],4))),128))}}),PT="",Tm=st(O5,[["__scopeId","data-v-308d559c"]]),P5=V({customOptions:{BooleanBox:an},__name:"CheckboxGroup",props:{options:{},disabledIndexs:{},initIndexs:{},isRounded:{type:Boolean,default:!1},colorBackground:{default:"#ffffff"},colorForeground:{default:"#5a82f0"},colorDisabled:{default:"#cccccc"},colorChangeMode:{default:"reverse"},fontSize:{default:"14px"},boxWidth:{default:"20px"},itemPadding:{default:"10px"},labelPadding:{default:"2px"}},emits:["change"],setup(o,{emit:t}){const e=o,n=t;let s=Wt(e.initIndexs??[]);const r=(a,i)=>{const l=s.findIndex(u=>u===a);let c=!1;l>=0&&!i?(s.splice(l,1),c=!0):l<0&&i&&(s.push(a),c=!0),c&&n("change",s.map(u=>e.options[u]))};return(a,i)=>(I(!0),D(Dt,null,Ee(a.options,(l,c)=>(I(),D("div",{class:"checkbox-group",key:c,style:N(["margin-left:"+(c>0?e.itemPadding:0)])},[Z(an,{selected:Tt(s).findIndex(u=>u===c)>=0,disabled:a.disabledIndexs&&a.disabledIndexs.findIndex(u=>u===c)>=0,isRounded:e.isRounded,label:l,labelPadding:e.labelPadding,colorBackground:e.colorBackground,colorForeground:e.colorForeground,colorDisabled:e.colorDisabled,colorChangeMode:e.colorChangeMode,boxWidth:e.boxWidth,fontSize:e.fontSize,onChange:u=>r(c,u)},null,8,["selected","disabled","isRounded","label","labelPadding","colorBackground","colorForeground","colorDisabled","colorChangeMode","boxWidth","fontSize","onChange"])],4))),128))}}),RT="",Tc=st(P5,[["__scopeId","data-v-4c28fda3"]]),R5=["max","min","step","value","autofocus"],I5={key:0,class:"label"},A5=V({customOptions:{},inheritAttrs:!0,__name:"InputRange",props:{min:{default:0},max:{default:100},step:{default:1},defaultValue:{default:0},unit:{default:""},showValue:{type:Boolean,default:!0},autofocus:{type:Boolean,default:!1},color:{default:"#5a82f0"},barColor:{default:"#f5f5f5"},handleSize:{default:"20px"},barHeight:{default:"4px"}},emits:["change"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P(n.defaultValue),a=()=>ke((r.value-n.min)/(n.max-n.min),4)*100,i=P(a());function l(f){r.value=ke(f.target.value,2),i.value=a(),s("change",r.value)}const c=`
|
|
235
235
|
:root {
|
|
@@ -242,14 +242,14 @@ ${JSON.stringify(it,null,2)}
|
|
|
242
242
|
--input-range-thumb-size: ${n.handleSize};
|
|
243
243
|
--input-range-track-size: ${n.barHeight};
|
|
244
244
|
}
|
|
245
|
-
`,u=P();return Rt(u,()=>{u.value&&Co(c,u.value)}),ue(()=>{}),t({}),(f,d)=>(I(),D("div",{class:"input-range",ref_key:"inputRangeContainer",ref:u},[v("input",{type:"range",max:n.max,min:n.min,step:n.step,value:r.value,autofocus:n.autofocus,onInput:l,style:N({background:`linear-gradient(to right, ${n.color} 0%, ${n.color} ${i.value}%, ${n.barColor} ${i.value}%, ${n.barColor})`})},null,44,R5),mt(f.$slots,"default",{value:r.value},()=>[f.showValue?(I(),D("label",I5,ft(r.value)+ft(n.unit),1)):yt("",!0)],!0)],512))}}),IT="",
|
|
245
|
+
`,u=P();return Rt(u,()=>{u.value&&Co(c,u.value)}),ue(()=>{}),t({}),(f,d)=>(I(),D("div",{class:"input-range",ref_key:"inputRangeContainer",ref:u},[v("input",{type:"range",max:n.max,min:n.min,step:n.step,value:r.value,autofocus:n.autofocus,onInput:l,style:N({background:`linear-gradient(to right, ${n.color} 0%, ${n.color} ${i.value}%, ${n.barColor} ${i.value}%, ${n.barColor})`})},null,44,R5),mt(f.$slots,"default",{value:r.value},()=>[f.showValue?(I(),D("label",I5,ft(r.value)+ft(n.unit),1)):yt("",!0)],!0)],512))}}),IT="",Wa=st(A5,[["__scopeId","data-v-cab67db2"]]),Em=st(V({customOptions:{RadioGroup:Tm,CheckboxGroup:Tc,InputRange:Wa},inheritAttrs:!0,__name:"Cube.ce",props:{width:{default:200},height:{default:200},dur:{default:1e3},perspective:{default:400}},setup(o,{expose:t,emit:e}){const n=o,s=P(Math.floor(n.width/2)),r=`
|
|
246
246
|
:root {
|
|
247
247
|
--spin-cube-z: -${s.value}px;
|
|
248
248
|
}
|
|
249
249
|
:host {
|
|
250
250
|
--spin-cube-z: -${s.value}px;
|
|
251
251
|
}
|
|
252
|
-
`,a=P();Rt(a,()=>{a.value&&Co(r,a.value)});const i=P(n.perspective+"px"),l=y=>{i.value=y==2e3?"none":y+"px"},c=P("50%"),u=y=>{c.value=y+"%"},f=P("50%"),d=y=>{f.value=y+"%"},h=`translateZ(-${s.value}px)`,p=P(h),b=y=>{switch(y){case"front":p.value=h+" rotateY(0deg)";break;case"right":p.value=h+" rotateY(-90deg)";break;case"back":p.value=h+" rotateY(-180deg)";break;case"left":p.value=h+" rotateY(90deg)";break;case"top":p.value=h+" rotateX(-90deg)";break;case"bottom":p.value=h+" rotateX(90deg)";break;default:p.value=h;break}},x=P(!1),k=y=>{y.length?x.value=!0:x.value=!1},g=P("visible"),m=y=>{y.length?g.value="visible":g.value="hidden"};return t({}),(y,_)=>(I(),D("div",{ref_key:"container",ref:a},[v("div",{class:"cube-scene",style:N({width:`${n.width}px`,height:`${n.height}px`,perspective:`${i.value}`,perspectiveOrigin:`${c.value} ${f.value}`})},[v("div",{class:jt(["cube",{spinning:x.value}]),style:N({transformStyle:"preserve-3d",transform:p.value,transition:`transform ${n.dur}ms`})},[v("div",{class:"face front",style:N({transform:`rotateY(0deg) translateZ(${s.value}px)`,backfaceVisibility:g.value})},[mt(y.$slots,"front",{},()=>[_[0]||(_[0]=Bt("front"))],!0)],4),v("div",{class:"face back",style:N({transform:`rotateY(180deg) translateZ(${s.value}px)`,backfaceVisibility:g.value})},[mt(y.$slots,"back",{},()=>[_[1]||(_[1]=Bt("back"))],!0)],4),v("div",{class:"face right",style:N({transform:`rotateY(90deg) translateZ(${s.value}px)`,backfaceVisibility:g.value})},[mt(y.$slots,"right",{},()=>[_[2]||(_[2]=Bt("right"))],!0)],4),v("div",{class:"face left",style:N({transform:`rotateY(-90deg) translateZ(${s.value}px)`,backfaceVisibility:g.value})},[mt(y.$slots,"left",{},()=>[_[3]||(_[3]=Bt("left"))],!0)],4),v("div",{class:"face top",style:N({transform:`rotateX(90deg) translateZ(${s.value}px)`,backfaceVisibility:g.value})},[mt(y.$slots,"top",{},()=>[_[4]||(_[4]=Bt("top"))],!0)],4),v("div",{class:"face bottom",style:N({transform:`rotateX(-90deg) translateZ(${s.value}px)`,backfaceVisibility:g.value})},[mt(y.$slots,"bottom",{},()=>[_[5]||(_[5]=Bt("bottom"))],!0)],4)],6)],4),v("div",null,[Z(Tm,{options:["front","right","back","left","top","bottom"],onChange:b})]),v("div",null,[Z(Tc,{options:["Backface visible"],onChange:m})]),v("div",null,[Z(Tc,{options:["spin cube"],onChange:k})]),v("div",null,[_[6]||(_[6]=Bt(" perspective: ")),Z(
|
|
252
|
+
`,a=P();Rt(a,()=>{a.value&&Co(r,a.value)});const i=P(n.perspective+"px"),l=y=>{i.value=y==2e3?"none":y+"px"},c=P("50%"),u=y=>{c.value=y+"%"},f=P("50%"),d=y=>{f.value=y+"%"},h=`translateZ(-${s.value}px)`,p=P(h),b=y=>{switch(y){case"front":p.value=h+" rotateY(0deg)";break;case"right":p.value=h+" rotateY(-90deg)";break;case"back":p.value=h+" rotateY(-180deg)";break;case"left":p.value=h+" rotateY(90deg)";break;case"top":p.value=h+" rotateX(-90deg)";break;case"bottom":p.value=h+" rotateX(90deg)";break;default:p.value=h;break}},x=P(!1),k=y=>{y.length?x.value=!0:x.value=!1},g=P("visible"),m=y=>{y.length?g.value="visible":g.value="hidden"};return t({}),(y,_)=>(I(),D("div",{ref_key:"container",ref:a},[v("div",{class:"cube-scene",style:N({width:`${n.width}px`,height:`${n.height}px`,perspective:`${i.value}`,perspectiveOrigin:`${c.value} ${f.value}`})},[v("div",{class:jt(["cube",{spinning:x.value}]),style:N({transformStyle:"preserve-3d",transform:p.value,transition:`transform ${n.dur}ms`})},[v("div",{class:"face front",style:N({transform:`rotateY(0deg) translateZ(${s.value}px)`,backfaceVisibility:g.value})},[mt(y.$slots,"front",{},()=>[_[0]||(_[0]=Bt("front"))],!0)],4),v("div",{class:"face back",style:N({transform:`rotateY(180deg) translateZ(${s.value}px)`,backfaceVisibility:g.value})},[mt(y.$slots,"back",{},()=>[_[1]||(_[1]=Bt("back"))],!0)],4),v("div",{class:"face right",style:N({transform:`rotateY(90deg) translateZ(${s.value}px)`,backfaceVisibility:g.value})},[mt(y.$slots,"right",{},()=>[_[2]||(_[2]=Bt("right"))],!0)],4),v("div",{class:"face left",style:N({transform:`rotateY(-90deg) translateZ(${s.value}px)`,backfaceVisibility:g.value})},[mt(y.$slots,"left",{},()=>[_[3]||(_[3]=Bt("left"))],!0)],4),v("div",{class:"face top",style:N({transform:`rotateX(90deg) translateZ(${s.value}px)`,backfaceVisibility:g.value})},[mt(y.$slots,"top",{},()=>[_[4]||(_[4]=Bt("top"))],!0)],4),v("div",{class:"face bottom",style:N({transform:`rotateX(-90deg) translateZ(${s.value}px)`,backfaceVisibility:g.value})},[mt(y.$slots,"bottom",{},()=>[_[5]||(_[5]=Bt("bottom"))],!0)],4)],6)],4),v("div",null,[Z(Tm,{options:["front","right","back","left","top","bottom"],onChange:b})]),v("div",null,[Z(Tc,{options:["Backface visible"],onChange:m})]),v("div",null,[Z(Tc,{options:["spin cube"],onChange:k})]),v("div",null,[_[6]||(_[6]=Bt(" perspective: ")),Z(Wa,{min:1,max:2e3,defaultValue:n.perspective,unit:"px",onChange:l},null,8,["defaultValue"])]),v("div",null,[_[7]||(_[7]=Bt(" perspective-origin x: ")),Z(Wa,{min:0,max:100,defaultValue:50,unit:"%",onChange:u})]),v("div",null,[_[8]||(_[8]=Bt(" perspective-origin y: ")),Z(Wa,{min:0,max:100,defaultValue:50,unit:"%",onChange:d})])],512))}}),[["styles",[`.cube[data-v-d77b4117]{position:relative;width:100%;height:100%}.face[data-v-d77b4117]{position:absolute;width:100%;height:100%}.front[data-v-d77b4117]{background:hsla(0,100%,50%,.7)}.right[data-v-d77b4117]{background:hsla(60,100%,50%,.7)}.back[data-v-d77b4117]{background:hsla(120,100%,50%,.7)}.left[data-v-d77b4117]{background:hsla(180,100%,50%,.7)}.top[data-v-d77b4117]{background:hsla(240,100%,50%,.7)}.bottom[data-v-d77b4117]{background:hsla(300,100%,50%,.7)}.spinning[data-v-d77b4117]{animation:spinCube-d77b4117 8s infinite ease-in-out}@keyframes spinCube-d77b4117{0%{transform:translateZ(var(--spin-cube-z)) rotateX(0) rotateY(0)}to{transform:translateZ(var(--spin-cube-z)) rotateX(360deg) rotateY(360deg)}}
|
|
253
253
|
`]],["__scopeId","data-v-d77b4117"]]),$5={class:"svg",style:{position:"absolute",width:"0",height:"0"}},Sm=V({customOptions:{},inheritAttrs:!0,__name:"SVGMaskNapkin",setup(o){return(t,e)=>(I(),D("svg",$5,e[0]||(e[0]=[py('<defs><mask id="mask" maskContentUnits="objectBoundingBox"><ellipse cx=".5" cy=".5" rx=".48" ry=".28" fill="black"></ellipse><rect x=".2" y="0" width=".6" height="1" rx=".1" ry=".1" fill="black"></rect><ellipse cx=".5" cy=".5" rx=".4" ry=".2" fill="white"></ellipse><rect x=".3" y=".1" width=".4" height=".8" rx=".1" ry=".1" fill="white"></rect></mask></defs>',1)])))}}),N5=V({customOptions:{Container:ht,SVGMaskNapkin:Sm},inheritAttrs:!0,__name:"ImageMask.ce",props:{maskMode:{default:"alaph"},imageUrl:{default:""}},setup(o,{expose:t}){const e=o,n=P(0),s=P(0),r=a=>{n.value=a.rect.width,s.value=a.rect.height};return t({}),(a,i)=>(I(),D("div",{style:N({width:`${n.value}px`,height:`${s.value}px`,maskImage:e.imageUrl?`url(${e.imageUrl})`:"url(#mask)","mask-mode":e.maskMode})},[mt(a.$slots,"mask",{},()=>[Z(Sm)]),Z(ht,{type:"shrink",onReady:r,onUpdate:r},{default:W(()=>[mt(a.$slots,"default")]),_:3})],4))}}),Om=st(V({customOptions:{Container:ht},inheritAttrs:!0,__name:"Float.ce",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!0},effectTriggerTiming:{default:"mouseMove"},dur:{default:200},distance:{default:4},boxShadow:{default:"none"},direction:{default:"up"}},setup(o,{expose:t}){const e=o,n=Wt({willChange:"box-shadow, transform"}),s=()=>{switch(n.boxShadow="none",e.direction){case"left":n.transform="translateX(0)";break;case"right":n.transform="translateX(0)";break;case"down":n.transform="translateY(0)";break;case"up":n.transform="translateY(0)";break}},r=()=>{switch(n.boxShadow=e.boxShadow,e.direction){case"left":n.transform=`translateX(-${e.distance}px)`;break;case"right":n.transform=`translateX(${e.distance}px)`;break;case"down":n.transform=`translateY(${e.distance}px)`;break;case"up":n.transform=`translateY(-${e.distance}px)`;break}};return t({}),(a,i)=>(I(),dt(ht,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:s,onEnd:r},{default:W(()=>[v("div",{class:"float",style:N({transition:`transform ${e.dur}ms ease-in-out, box-shadow ${e.dur}ms ease-in-out`,...n})},[mt(a.$slots,"default",{},void 0,!0)],4)]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.float[data-v-39f0e215]{position:relative;z-index:1;cursor:pointer}
|
|
254
254
|
`]],["__scopeId","data-v-39f0e215"]]),F5={class:"slide"},Pm=st(V({customOptions:{Container:ht},inheritAttrs:!0,__name:"Slide.ce",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!0},effectTriggerTiming:{default:"mouseMove"},color:{default:"#3cefff"},dur:{default:200},direction:{default:"up"}},setup(o,{expose:t}){const e=o,n=Wt({}),s=()=>{switch(e.direction){case"left":n.transformOrigin="center left",n.transform="scaleX(0)";break;case"right":n.transformOrigin="center right",n.transform="scaleX(0)";break;case"down":n.transformOrigin="center bottom",n.transform="scaleY(0)";break;case"up":n.transformOrigin="center top",n.transform="scaleY(0)";break}},r=()=>{switch(e.direction){case"left":n.transformOrigin="center right",n.transform="scaleX(1)";break;case"right":n.transformOrigin="center left",n.transform="scaleX(1)";break;case"down":n.transformOrigin="center top",n.transform="scaleY(1)";break;case"up":n.transformOrigin="center bottom",n.transform="scaleY(1)";break}};return t({}),(a,i)=>(I(),dt(ht,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:s,onEnd:r,style:{overflow:"hidden"}},{default:W(()=>[v("div",{class:"slide-before",style:N({backgroundColor:e.color,transition:`transform ${e.dur}ms ease-in-out`,...n})},null,4),v("div",F5,[mt(a.$slots,"default",{},void 0,!0)])]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.slide-before[data-v-b920d7c6]{position:absolute;z-index:0;inset:0;width:100%;height:100%}.slide[data-v-b920d7c6]{position:relative;z-index:1;cursor:pointer}
|
|
255
255
|
`]],["__scopeId","data-v-b920d7c6"]]),z5={class:"slide-corner"},Rm=st(V({customOptions:{Container:ht},inheritAttrs:!0,__name:"SlideCorner.ce",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!0},effectTriggerTiming:{default:"mouseMove"},color:{default:"#3cefff"},timeGap:{default:100},direction:{default:"fromBottomLeft"}},setup(o,{expose:t}){const e=o,n=Wt({});let s=1,r=s*2;const a=c=>{s=Math.ceil(Math.max(c.rect.width,c.rect.height)/Math.min(c.rect.width,c.rect.height)),r=s*2,n.width=n.height=Math.ceil(Math.min(c.rect.width,c.rect.height))+"px"},i=()=>{switch(e.direction){case"fromBottomLeft":n.top="100%",n.right="100%",n.transform="translate(50%, -50%) scale3d(0, 0, 0)";break;case"fromBottomRight":n.top="100%",n.left="100%",n.transform="translate(-50%, -50%) scale3d(0, 0, 0)";break;case"fromTopLeft":n.bottom="100%",n.right="100%",n.transform="translate(50%, 50%) scale3d(0, 0, 0)";break;case"fromTopRight":n.bottom="100%",n.left="100%",n.transform="translate(-50%, 50%) scale3d(0, 0, 0)";break;case"fromCenter":n.top="50%",n.left="50%",n.transform="translate(-50%, -50%) scale3d(0, 0, 0)";break}},l=()=>{switch(e.direction){case"fromBottomLeft":n.top="100%",n.right="100%",n.transform=`translate(50%, -50%) scale3d(${r}, ${r}, ${r})`;break;case"fromBottomRight":n.top="100%",n.left="100%",n.transform=`translate(-50%, -50%) scale3d(${r}, ${r}, ${r})`;break;case"fromTopLeft":n.bottom="100%",n.right="100%",n.transform=`translate(50%, 50%) scale3d(${r}, ${r}, ${r})`;break;case"fromTopRight":n.bottom="100%",n.left="100%",n.transform=`translate(-50%, 50%) scale3d(${r}, ${r}, ${r})`;break;case"fromCenter":n.top="50%",n.left="50%",n.transform=`translate(-50%, -50%) scale3d(${r}, ${r}, ${r})`;break}};return t({}),(c,u)=>(I(),dt(ht,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:i,onEnd:l,onReady:a,onUpdate:a,style:{overflow:"hidden"}},{default:W(()=>[v("div",{class:"slide-corner-before",style:N({backgroundColor:e.color,borderRadius:"50%",transition:`transform ${e.timeGap*Tt(s)}ms ease-in-out`,transformOrigin:"center",...n})},null,4),v("div",z5,[mt(c.$slots,"default",{},void 0,!0)])]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.slide-corner-before[data-v-8aebd26b]{position:absolute;z-index:0}.slide-corner[data-v-8aebd26b]{position:relative;z-index:1;cursor:pointer}
|
|
@@ -268,12 +268,12 @@ ${JSON.stringify(it,null,2)}
|
|
|
268
268
|
`};return t({}),(l,c)=>(I(),dt(ht,{ref_key:"containerRef",ref:n,type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:a,onEnd:i,onReady:r,onUpdate:r},{default:W(()=>[v("div",{class:"circle-before",style:N(s)},null,4),v("div",L5,[mt(l.$slots,"default",{},void 0,!0)])]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.circle-before[data-v-086cfe64]{position:absolute;z-index:2}.circle[data-v-086cfe64]{position:relative;z-index:1;cursor:pointer}
|
|
269
269
|
`]],["__scopeId","data-v-086cfe64"]]),B5=V({customOptions:{Container:ht},inheritAttrs:!0,__name:"TextBackgroundClip.ce",props:{text:{default:"文字背景为图片"},bgImageUrl:{default:"https://s3-us-west-2.amazonaws.com/s.cdpn.io/181794/kl-deer.png"}},setup(o,{expose:t}){const e=o;return t({}),(n,s)=>(I(),dt(ht,null,{default:W(()=>[v("div",{style:N({backgroundImage:`url(${e.bgImageUrl})`,"background-clip":"text",color:"transparent"})},ft(e.text),5)]),_:1}))}}),Nm=st(V({customOptions:{Container:ht},inheritAttrs:!0,__name:"BorderFocusText.ce",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!1},effectTriggerTiming:{default:"manual"},text:{default:""},textSize:{default:12},borderColor:{default:"#5a82f0"},borderWidth:{default:2},borderRadius:{default:8}},setup(o,{expose:t}){const e=o,n=P(!0),s=()=>{n.value=!0},r=()=>{n.value=!1};return t({}),(a,i)=>(I(),dt(ht,{type:e.containerType,overflow:"visible",supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:s,onEnd:r},{default:W(()=>[n.value?(I(),D("div",{key:0,class:"text",style:N({fontSize:`${a.textSize}px`,top:`${-Math.ceil(a.textSize/2)-4}px`,padding:"4px 12px",backgroundColor:a.borderColor,borderRadius:`${a.textSize}px 0 ${a.textSize}px 0`,color:Tt(Mt).set(a.borderColor).opposite(!0,"#333333","#ffffff").toString()})},ft(e.text),5)):yt("",!0),v("div",{class:"inner",style:N(n.value?{border:`${a.borderWidth}px solid ${a.borderColor}`,borderRadius:`${a.borderRadius}px`}:{})},[mt(a.$slots,"default",{},void 0,!0)],4)]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.text[data-v-8b11a683]{position:absolute;top:0;left:0;z-index:1}.inner[data-v-8b11a683]{position:relative;overflow:hidden;box-sizing:border-box}
|
|
270
270
|
`]],["__scopeId","data-v-8b11a683"]]),Y5=V({customOptions:{},inheritAttrs:!0,__name:"LayoutCenter.ce",props:{type:{default:"grid"}},setup(o,{expose:t,emit:e}){const n=o,s=Wt({}),r=Wt({});function a(){switch(ad(s),ad(r),n.type){case"table":s.display="table",r.display="table-cell",r.verticalAlign="middle",r.textAlign="center";break;case"transform":r.position="absolute",r.top="50%",r.left="50%",r.transform="translate(-50%, -50%)";break;case"grid":s.display="grid",s.justifyContent="center",s.alignItems="center";break;case"flex":default:s.display="flex",r.margin="auto"}}return a(),ue(()=>{}),t({}),(i,l)=>(I(),D("div",{class:"layout-center",style:N([{position:"relative",display:"block",width:"100%",height:"100%",overflow:"hidden"},s])},[v("div",{style:N(r)},[mt(i.$slots,"default")],4)],4))}}),V5={class:"page"},X5={class:"page-header"},Z5={class:"page-main"},U5={class:"page-main-scroll"},H5={class:"page-footer"},G5={class:"page-global"},nr=st(V({customOptions:{},inheritAttrs:!0,__name:"LayoutPage.ce",setup(o,{expose:t}){return t({}),(e,n)=>(I(),D("div",V5,[v("div",X5,[mt(e.$slots,"header",{},void 0,!0)]),v("div",Z5,[v("div",U5,[mt(e.$slots,"default",{},void 0,!0)])]),v("div",H5,[mt(e.$slots,"footer",{},void 0,!0)]),v("div",G5,[mt(e.$slots,"global",{},void 0,!0)])]))}}),[["styles",[`.page[data-v-02c1f8bd]{position:relative;width:100%;height:100%;overflow:hidden;display:flex;flex-direction:column}.page-header[data-v-02c1f8bd],.page-footer[data-v-02c1f8bd]{position:relative;z-index:1;flex:0 0 auto}.page-main[data-v-02c1f8bd]{position:relative;z-index:2;flex:1 1 auto;width:100%;overflow:hidden;display:flex;flex-direction:column}.page-main-scroll[data-v-02c1f8bd]{position:relative;z-index:3;flex:1 1 auto;width:100%;overflow-y:scroll}
|
|
271
|
-
`]],["__scopeId","data-v-02c1f8bd"]]),Ec=st(V({customOptions:{},inheritAttrs:!0,__name:"LayoutMobile.ce",props:{designWidth:{default:750}},setup(o,{expose:t}){const e=o;return lh(e.designWidth),t({}),(n,s)=>(I(),D("div",{class:"layout-mobile",style:N({position:"relative",overflow:"hidden",maxWidth:e.designWidth+"px",height:"100%",margin:"0 auto"})},[Z(Tt(Jl),null,{default:W(({Component:r})=>[r?(I(),dt(Ff,{key:0,name:Tt(
|
|
272
|
-
`]],["__scopeId","data-v-f2010453"]]),j5=V({customOptions:{},inheritAttrs:!0,__name:"LayoutMobile",props:{designWidth:{default:750}},setup(o,{expose:t}){const e=o;return lh(e.designWidth),t({}),(n,s)=>(I(),D("div",{class:"layout-mobile",style:N({position:"relative",overflow:"hidden",maxWidth:e.designWidth+"px",height:"100%",margin:"0 auto"})},[Z(Tt(Jl),null,{default:W(({Component:r})=>[r?(I(),dt(Ff,{key:0,name:Tt(
|
|
271
|
+
`]],["__scopeId","data-v-02c1f8bd"]]),Ec=st(V({customOptions:{},inheritAttrs:!0,__name:"LayoutMobile.ce",props:{designWidth:{default:750}},setup(o,{expose:t}){const e=o;return lh(e.designWidth),t({}),(n,s)=>(I(),D("div",{class:"layout-mobile",style:N({position:"relative",overflow:"hidden",maxWidth:e.designWidth+"px",height:"100%",margin:"0 auto"})},[Z(Tt(Jl),null,{default:W(({Component:r})=>[r?(I(),dt(Ff,{key:0,name:Tt(Ma)},{default:W(()=>[(I(),dt(Lu,null,[(I(),dt(Xu(r)))],1024))]),_:2},1032,["name"])):yt("",!0)]),_:1})],4))}}),[["styles",[`@media only screen and (max-width: 300px){html[data-v-f2010453]{font-size:40px}}@media only screen and (min-width: 301px) and (max-width: 330px){html[data-v-f2010453]{font-size:44px}}@media only screen and (min-width: 331px) and (max-width: 375px){html[data-v-f2010453]{font-size:50px}}@media only screen and (min-width: 376px) and (max-width: 405px){html[data-v-f2010453]{font-size:54px}}@media only screen and (min-width: 406px) and (max-width: 450px){html[data-v-f2010453]{font-size:60px}}@media only screen and (min-width: 451px) and (max-width: 480px){html[data-v-f2010453]{font-size:64px}}@media only screen and (min-width: 481px) and (max-width: 525px){html[data-v-f2010453]{font-size:70px}}@media only screen and (min-width: 526px) and (max-width: 555px){html[data-v-f2010453]{font-size:74px}}@media only screen and (min-width: 556px) and (max-width: 600px){html[data-v-f2010453]{font-size:80px}}@media only screen and (min-width: 601px) and (max-width: 640px){html[data-v-f2010453]{font-size:84px}}@media only screen and (min-width: 641px) and (max-width: 675px){html[data-v-f2010453]{font-size:90px}}@media only screen and (min-width: 676px) and (max-width: 705px){html[data-v-f2010453]{font-size:94px}}@media only screen and (min-width: 706px) and (max-width: 750px){html[data-v-f2010453]{font-size:100px}}@media only screen and (min-width: 751px){html[data-v-f2010453]{font-size:100px}}.next-enter-active[data-v-f2010453],.next-leave-active[data-v-f2010453],.prev-enter-active[data-v-f2010453],.prev-leave-active[data-v-f2010453]{transition:all .3s ease}.next-leave-from[data-v-f2010453]{position:absolute;left:0}.next-leave-to[data-v-f2010453]{position:absolute;left:-100%}.next-enter-from[data-v-f2010453]{position:absolute;right:-100%}.next-enter-to[data-v-f2010453],.prev-leave-from[data-v-f2010453]{position:absolute;right:0}.prev-leave-to[data-v-f2010453]{position:absolute;right:-100%}.prev-enter-from[data-v-f2010453]{position:absolute;left:-100%}.prev-enter-to[data-v-f2010453]{position:absolute;left:0}
|
|
272
|
+
`]],["__scopeId","data-v-f2010453"]]),j5=V({customOptions:{},inheritAttrs:!0,__name:"LayoutMobile",props:{designWidth:{default:750}},setup(o,{expose:t}){const e=o;return lh(e.designWidth),t({}),(n,s)=>(I(),D("div",{class:"layout-mobile",style:N({position:"relative",overflow:"hidden",maxWidth:e.designWidth+"px",height:"100%",margin:"0 auto"})},[Z(Tt(Jl),null,{default:W(({Component:r})=>[r?(I(),dt(Ff,{key:0,name:Tt(Ma)},{default:W(()=>[(I(),dt(Lu,null,[(I(),dt(Xu(r)))],1024))]),_:2},1032,["name"])):yt("",!0)]),_:1})],4))}}),QT="",Fm=st(j5,[["__scopeId","data-v-101c75bb"]]),zm=st(V({customOptions:{LayoutMobile:Fm,Lot:vp,Park:bp},inheritAttrs:!0,__name:"XG.ce",setup(o){return(t,e)=>(I(),dt(Fm,{class:"xg"}))}}),[["styles",[`:root,:host{--yz-xg-blue: #5a82f0;--yz-xg-green: #328a8c;--yz-xg-red: #fa503c;--yz-xg-yellow: #fa8d01;--yz-xg-border-color: #e6e6e6;--yz-xg-primary: var(--yz-xg-blue)}.blue{color:var(--yz-xg-blue)!important}.green{color:var(--yz-xg-green)!important}.red{color:var(--yz-xg-red)!important}.yellow{color:var(--yz-xg-yellow)!important}.bold{font-weight:700}
|
|
273
273
|
`,`.xg[data-v-ebd444cc]{background-color:#f5f5f5}
|
|
274
|
-
`]],["__scopeId","data-v-ebd444cc"]]),W5={class:"xg-footer-inner"},Sc=st(V({customOptions:{Button:ae},inheritAttrs:!0,__name:"Footer.ce",setup(o){const t=
|
|
275
|
-
`]],["__scopeId","data-v-48051ce1"]]),q5={class:"lot-main"},K5={class:"lot-detail"},Q5={class:"bold"},Oc=st(V({customOptions:{LayoutPage:to,Footer:$a,
|
|
274
|
+
`]],["__scopeId","data-v-ebd444cc"]]),W5={class:"xg-footer-inner"},Sc=st(V({customOptions:{Button:ae},inheritAttrs:!0,__name:"Footer.ce",setup(o){const t=Ca();function e(){t.push("/park")}const n=P("0px");let s;return pe(()=>{s=pa.onBottom(r=>{n.value=r})}),ue(()=>{s?.()}),(r,a)=>(I(),D("div",{class:"xg-footer",style:N({paddingBottom:n.value})},[v("div",W5,[Z(ae,{label:"去支付",width:"100%",onClick:e})])],4))}}),[["styles",[`.xg-footer[data-v-48051ce1]{box-sizing:border-box;background-color:#fff;border-top:1px solid #cccccc}.xg-footer-inner[data-v-48051ce1]{box-sizing:border-box;width:100%;padding:.2rem .3rem}
|
|
275
|
+
`]],["__scopeId","data-v-48051ce1"]]),q5={class:"lot-main"},K5={class:"lot-detail"},Q5={class:"bold"},Oc=st(V({customOptions:{LayoutPage:to,Footer:Aa,PlateDisplay:$a,ViewDocument:ec,PopTel:Da,ImageView:za},inheritAttrs:!0,__name:"Lot.ce",setup(o){const t=Ca();function e(){t.push({name:"view-document",params:{title:"收费标准",src:encodeURIComponent("https://erichd2.oss-cn-shanghai.aliyuncs.com/0000/0002/2159")}})}const n=P();function s(){n.value?.open()}const r=P();function a(){r.value?.open()}return(i,l)=>(I(),dt(to,{class:"lot"},{footer:W(()=>[Z(Aa)]),global:W(()=>[Z(Da,{tel:"15851575410",ref_key:"popTelEl",ref:n},null,512),Z(za,{urls:["https://erichd2.oss-cn-shanghai.aliyuncs.com/0000/0002/2159","https://erichd2.oss-cn-shanghai.aliyuncs.com/0000/0002/2159"],ref_key:"imageViewEl",ref:r},null,512)]),default:W(()=>[l[15]||(l[15]=v("div",{class:"lot-main-bg"},null,-1)),v("div",q5,[l[12]||(l[12]=v("div",null,"若临测试泊位机器人停车场",-1)),l[13]||(l[13]=v("div",null,[v("div"),v("div",null,"编号"),v("div")],-1)),l[14]||(l[14]=v("div",null,[v("span",null,"103"),v("span",null,"002")],-1)),v("div",null,[l[0]||(l[0]=v("div",null,"停车场主页",-1)),l[1]||(l[1]=v("div",null,"更换附近车位",-1)),v("div",{onClick:e},"收费标准")]),v("div",K5,[l[4]||(l[4]=v("div",null,[v("div",null,"待支付"),v("div",{class:"red"},"¥0.01")],-1)),l[5]||(l[5]=v("div",null,[v("div",null,"已支付"),v("div",null,"¥0.01")],-1)),l[6]||(l[6]=v("div",null,[v("div",null,"订单编号"),v("div",null,"33333333333")],-1)),l[7]||(l[7]=v("div",null,[v("div",null,"开始时间"),v("div",null,"2025-04-08 09:41:25")],-1)),l[8]||(l[8]=v("div",null,[v("div",null,"停车时长"),v("div",null,"51小时53分钟15秒")],-1)),l[9]||(l[9]=v("div",null,[v("div",null,"优惠券"),v("div",{class:"red"},"1分钟")],-1)),l[10]||(l[10]=v("div",null,[v("div",null,"优惠信息"),v("div",{class:"red"},"xxxx")],-1)),l[11]||(l[11]=v("div",{class:"lot-detail-gap"},null,-1)),v("div",null,[l[2]||(l[2]=v("div",null,"车牌号",-1)),v("div",Q5,[Z($a,{plate:"苏U77777","plate-type":"b"})])]),v("div",null,[l[3]||(l[3]=v("div",null,"现场照片",-1)),v("div",{onClick:a},"查看")])]),v("div",{class:"lot-actions"},[v("div",{onClick:s},"联系客服")])])]),_:1}))}}),[["styles",[`.lot-main-bg[data-v-06c9e609]{position:absolute;top:0;left:0;z-index:1;width:100%;height:5.2rem;border-bottom-left-radius:2rem .5rem;border-bottom-right-radius:2rem .5rem;background:linear-gradient(180deg,#5a82f0 0%,#66b3ff 100%)}.lot-main[data-v-06c9e609]{position:relative;z-index:2;width:100%;overflow:hidden;box-sizing:border-box;line-height:1;color:#fff;padding:0 .3rem;margin-bottom:.3rem;text-align:center}.lot-main>div[data-v-06c9e609]:nth-child(1){font-size:.32rem;padding-top:.4rem;word-break:break-all;font-weight:700}.lot-main>div:nth-child(2)>div[data-v-06c9e609]:nth-child(1){width:2.4rem;height:.04rem;background:linear-gradient(90deg,rgba(255,255,255,0) 0%,#ffffff 100%)}.lot-main>div:nth-child(2)>div[data-v-06c9e609]:nth-child(3){width:2.4rem;height:.04rem;background:linear-gradient(90deg,#ffffff 0%,rgba(255,255,255,0) 100%)}.lot-main>div:nth-child(2)>div[data-v-06c9e609]:nth-child(2){width:1rem;font-size:.28rem;line-height:.32rem}.lot-main>div[data-v-06c9e609]:nth-child(2){display:flex;align-items:center;margin:.28rem auto 0;width:4.8rem;position:relative}.lot-main>div[data-v-06c9e609]:nth-child(3){font-family:D-DINExp-Bold-number;margin-top:.12rem;font-size:.8rem;letter-spacing:.06rem}.lot-main>div:nth-child(3)>span+span[data-v-06c9e609]{margin-left:.3rem}.lot-main>div[data-v-06c9e609]:nth-child(4){display:flex;justify-content:space-between;font-size:.28rem;line-height:.28rem;margin:.3rem 0}.lot-main>div:nth-child(4)>div[data-v-06c9e609]{flex:1 1 auto;text-align:center}.lot-main>div:nth-child(4)>div+div[data-v-06c9e609]{border-left:1px solid rgba(255,255,255,.4)}.lot-detail[data-v-06c9e609]{position:relative;background:#ffffff;box-shadow:0 .04rem .1rem #0000001a;border-radius:.08rem;padding:0 .3rem .1rem;font-size:.28rem;color:#666}.lot-detail>div[data-v-06c9e609]{line-height:.4rem;margin:.2rem auto;display:flex;justify-content:space-between}.lot-detail>div[data-v-06c9e609]:nth-child(1){border-bottom:1px solid var(--yz-xg-border-color);line-height:.88rem;margin:0 0 .2rem;font-weight:700}.lot-detail>div:nth-child(1)>div[data-v-06c9e609]:nth-child(2){font-size:.4rem}.lot-detail>div>div[data-v-06c9e609]:nth-child(1){flex:0 0 auto;padding-right:.2rem}.lot-detail>div>div[data-v-06c9e609]:nth-child(2){color:#333}.lot-detail-gap[data-v-06c9e609]{border-top:1px solid var(--yz-xg-border-color)}.lot-actions[data-v-06c9e609]{margin:.2rem 0;background:#ffffff;box-shadow:0 .04rem .1rem #0000001a;border-radius:.08rem;display:flex;align-items:center;font-size:.28rem}.lot-actions>div[data-v-06c9e609]{flex:1;line-height:.88rem;position:relative;cursor:pointer;color:var(--yz-xg-primary);text-align:center;font-weight:700}
|
|
276
276
|
`]],["__scopeId","data-v-06c9e609"]]),Pc=st(V({customOptions:{LayoutPage:to},inheritAttrs:!0,__name:"Park.ce",setup(o){return(t,e)=>(I(),dt(to,{class:"park"},{default:W(()=>e[0]||(e[0]=[Bt("Park")])),_:1}))}}),[["styles",[`.park[data-v-287bba59]{background-color:pink}
|
|
277
277
|
`]],["__scopeId","data-v-287bba59"]]);class J5 extends HTMLElement{constructor(){super(),this.listenedMedia=[],this.reloadQueued=!1}connectedCallback(){this.video=this.querySelector("video"),this.bindMediaListeners()}disconnectedCallback(){this.unbindMediaListeners()}bindMediaListeners(){this.querySelectorAll("source").forEach(t=>{if(t.media){const e=()=>{(t.media===this.video.currentSrc||!this.previousSiblingIsPlaying(t,this.video.currentSrc)&&!this.reloadQueued)&&this.reloadVideo()};this.listenedMedia.push({media:t.media,handler:e}),window.matchMedia(t.media).addEventListener("change",e)}})}unbindMediaListeners(){this.listenedMedia.forEach(t=>{window.matchMedia(t.media).removeEventListener("change",t.handler)})}previousSiblingIsPlaying(t,e){const n=t;for(;t.previousElementSibling;)if(n.src===e)return!0;return!1}reloadVideo(){this.reloadQueued=!0;const t=this.video.currentTime,e=this.video.playState;this.video.load();const n=()=>{this.video.playState=e,this.video.currentTime=t.toString(),this.reloadQueued=!1,this.video.removeEventListener("loadeddata",n)};this.video.addEventListener("loadeddata",n)}}const tw=J5,ew=`.bg-grid[data-v-b0888d9a]{width:100%;height:100%;background:url(data:image/gif;base64,R0lGODlhLAEsAfcAAAAAADMzM2ZmZpmZmczMzODg4P///5lmZmYzM8yZmZkzM8xmZswzMzMAAGYAAJkAAMwAAAAAAP8zM/9mZv+Zmf/MzP8zAMwzAP9mM8xmM5kzAP+ZZv9mAJlmM8yZZmYzAMxmAP+ZM//Mmf+ZAMyZM5lmAP/MZsyZAP/MM//MAJmZZmZmM8zMmZmZM8zMZszMMzMzAGZmAJmZAMzMAP//AP//M///Zv//mf//zMz/AJnMAMz/M5nMM2aZAMz/Zpn/AGaZM5nMZjNmAGbMAJn/M8z/mWb/AGbMMzOZAJn/ZjPMAGb/MzP/AGaZZjNmM5nMmTOZM2bMZjPMMwAzAABmAACZAADMAAD/ADP/M2b/Zpn/mcz/zAD/MwDMMzP/ZjPMZgCZM2b/mQD/ZjOZZmbMmQBmMwDMZjP/mZn/zAD/mTPMmQCZZmb/zADMmTP/zAD/zGaZmTNmZpnMzDOZmWbMzDPMzAAzMwBmZgCZmQDMzAD//zP//2b//5n//8z//wDM/wCZzDPM/zOZzABmmWbM/wCZ/zNmmWaZzAAzZgBmzDOZ/5nM/wBm/zNmzAAzmWaZ/wAzzDNm/wAz/2ZmmTMzZpmZzDMzmWZmzDMzzAAAMwAAZgAAmQAAzAAA/zMz/2Zm/5mZ/8zM/zMA/zMAzGYz/2YzzDMAmZlm/2YA/2YzmZlmzDMAZmYAzJkz/8yZ/5kA/5kzzGYAmcxm/5kAzMwz/8wA/5lmmWYzZsyZzJkzmcxmzMwzzDMAM2YAZpkAmcwAzP8A//8z//9m//+Z///M//8AzMwAmf8zzMwzmZkAZv9mzP8AmZkzZsxmmWYAM8wAZv8zmf+ZzP8AZswzZpkAM/9mmcwAM/8zZv8AMwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAAYALAAAAAAsASwBAAj/AAsIHEiwoMGDCBMqXMiwocOHECNKnEixosWLGAsY2MiRo8aOHT+C3ChyZEmQJ0OO9LiSZEsDKVm2jOly5kuaMG/qtMlzJc6fO30GNTkUZVGVPYkmNboUqdCmMp9KVTqVaVWnVLNa1Yp1q9euYKNyFfuVbNiaV82qRTuWbVm3Z3NChbtWblq6eO221fuWb1ygc/3WBXxXcF7CexH3Vfz36GDHhyEbnsz4ceDKkS9Lxkx5s2fNoAtzHv1ZdOnEpxenbhwadWvVr1mbjm15tm3Xt2Hnlo27t27fvH8LD068NnDjw5EXz7xbuXPmx6Enl768M23qz603x85de3Tv08H//81Ivrz58+jTq1/PvuDq7KSvi4f/vnv87fPt18/P//53/+EBWJ2A9MlHoH4G7ndgfwo2mOCD+C0ooYMRUvifhQFiOKCGBVYI4YUfZhjihiN2CKKHKJ6ooogpsrgiiS3C+KKJLtYoo4003qhjjjwiGGOPDJbo44xD4ljkjkcCOaGQ/bXn5JNQRinllOxxmOSVQf6I5ZJaZkmkl0aCiaSYSlpJ5pZmcvmlmmGyOaabZTIJJ5pypmlnnXh2OeeZfO7p5516ArqmoG0S+qahcQaa56CLFtrooY8myqiilE5qqaOVYnoppJlyahKVoIYq6qikroconZ1KqumqnrKqaquwvv8qK6qbztrnqbdGSquru8baq61/6pprqr8WO2ytxgZL7LG8Muurs8Diqiyy0CYr7bXCTtusts9yG2222C7rrbXgXlbqueimqy664VI7brXwvitvu9vS262934qLL7n6ltvvv+7uG6/A8/obsMH1InyvwvkeDHDCDy8cccMQO2xxxRhLfLHGGVPM8cceh0zSuiSXbPLJGRGsMsP8bizywCzDPHHLHdMMss0vFzyzzC7j7DPPNQN9s9A5r7yzzj0T/TPSQTM9tNNFxwz10kYnPbXSWF+ttYIod+3112BX3bTYT5Md9dFmUy112lmzvfXacKMdt9Vu1z332HeXnffZdO//rbbcgPcdON6D610434QLrnjijA8I9uOQRz6q3Yf/vbjhlyOOeeOad245559vLrrnbftdeuWnZx466W+j3rrqqYMe++ir1z4765TD/rrsu9Mer+TABy88ernzXrzvveNuevK2M39788cr73r00C9P/fPYO6/99dtb7/303+vO/fjhG18+8uSDL+7w7LfvvkPpi3++9PKrX//95tufP/7oz1+9/v0DIP32R8AA8m+ABiwgAhf4vwM2UIEPTKAEGZi9+C3mfRjMIAYtOMEIUrB7AvSgCCvoPxKG0IQORCEEVdhBFn6Qgy8sIQhTOMMV1rCFN4zhCXM4Qh66cGkaDKIQ/yUHwx4W8YdI9KESj7hEGTLxiU6M4g6hOEUp0pCKV7SiDbG4RS3ikItf9KIOs7jDIZrxjCcD4xi7WMU2kvGNbIRjGN0YxzrOUY5rvKMd88hHI4rRj3TUoyD7mEQ1AhKPh9zjltDIyEaWypCF/GMkA0nIJlIykYPEZCUhaUlETtKTnVTkJ0UZykyO0pSl3KQkU6nJVp5SSY6MpSyjxMlartKWl3ylK1mpy17y8pe4BGUwSTlMVBZTlbkE5i2Xmcxj7tKZvkzTLKdJTeIxU5jXJGY2jblNZGKzmd18ZjijOU5lgvOc30ynNtG5TnVyk53vdKc3bVjNetqzItA0pzzFCf/PecaznQD9p0D9SVB+7pOc/TRoQAuK0IPqc6EKHWhEGfrQbt3zohhlSD43Wk6OJrShEAWpREVKUY861KQhrWhJO8rSj6p0ojAlaUxfKtMkZvSmOB0ISkdK057udKUu/elMhVpTn7b0pEdNKVGNGtSk8nSpUHUqUB2a06piNKpNzSpStapUqQ7Vq0XF6lbH2lWuPhWsTCXrWc061bKqta1rdZdV51pPsbr1rnHFK1z3+lW29vWtf9VrYPNKWL6GFa12LexgDZtWwR5WT3SN7CwTy1jKLvayjwVsZh3bWMVu1rOdrSxiR+vXz4q2tKHFbGpN2zzJuraRlmWtbFdL29j/1pa0mr0tam3LW9xytre79S1ogZtb4v42W69NrhmNO1zhnra4zlUtc5973OBaF7rXrS52t6vd7jY3u9/lbngvqNzyZnC60o3ubNG7XvXqVrzUHa9840vf9IK3vu29r33hu1/v4te8AH4fe9/r3/7O18D/HbCC3btg/eaXvw8ucIQPPOEEM/jCqA2whoXXYAgTmMIftrCDQ4zgElfYxCQ+sYpTzOIOS7jFGPYwJzdM48i5GMQ3FrGMY/ziHKPYxysGMoxHLOQi8xjHR9Zxj2dS4yZ/zchETvKPpRxkKg95x1HOMpa3vGQtd5nLSPZymMGs5PE4+cwmgzKZpyzmMruZGc1rrnKb4fzlOo/Zzm+Wc5yvjGc63zkuAQEAOw==) repeat scroll 0 0 white;overflow:hidden}
|
|
278
|
-
`,ow={},nw={class:"bg-grid"};function sw(o,t){return I(),D("div",nw,[mt(o.$slots,"default",{},void 0,!0)])}const rw=st(ow,[["render",sw],["styles",[ew]],["__scopeId","data-v-b0888d9a"]]);function aw(o,t="style.css"){for(let e of o){const n=document.querySelector(e)?.shadowRoot;n&&Hv(t,n)}}const Rc={},Ic={},iw=(o,t,e=!0)=>{const n=o.__name;Rc[n]=[];let s=[...o.styles||[]],r=0;for(let a in o.customOptions)Rc[n].push(a),s=[...(Rc[a]||[]).reduce((i,l)=>(i.push(...(Ic[l]||[]).map(c=>
|
|
278
|
+
`,ow={},nw={class:"bg-grid"};function sw(o,t){return I(),D("div",nw,[mt(o.$slots,"default",{},void 0,!0)])}const rw=st(ow,[["render",sw],["styles",[ew]],["__scopeId","data-v-b0888d9a"]]);function aw(o,t="style.css"){for(let e of o){const n=document.querySelector(e)?.shadowRoot;n&&Hv(t,n)}}const Rc={},Ic={},iw=(o,t,e=!0)=>{const n=o.__name;Rc[n]=[];let s=[...o.styles||[]],r=0;for(let a in o.customOptions)Rc[n].push(a),s=[...(Rc[a]||[]).reduce((i,l)=>(i.push(...(Ic[l]||[]).map(c=>rl(c))),i),[]),...(t[r++]?.styles||[]).map(i=>rl(i)),...s],Ic[a]=s;if(e)o.styles=s;else for(let a of o.styles){const i=document.createElement("style");i.innerHTML=a,document.head.insertBefore(i,document.head.childNodes[document.head.childNodes.length-1].nextSibling)}return Ic[n]=s,o},Dm={CSSTransition:[xp],CSSAnimation:[Ba],Loading1:[kp],Loading2:[wp],Loading3:[Cp],Loading4:[Tp],Loading5:[Ep],Loading6:[Sp],Loading7:[Op],Loading8:[hc],Loading9:[Pp],Loading10:[Rp],Loading11:[pc],Button:[pc],BooleanBox:[Ya],RadioGroup:[yc,Ya],CheckboxGroup:[vc,Ya],Switch:[Ip],Select:[Ap],SelectAbsolute:[$p],SlideLeftItem:[Fp],Status:[Ba],Text:[zp],Input:[Dp,zp],InputRange:[_c],InputRangeBox:[Mp],InputFileDrop:[Lp],Tabs:[Bp,qp],ViewDocument:[Yp,nr],ProgressBar:[Xa],PageVerticalScrollProgressBar:[Vp,Xa],Video:[Xp,Xa],PopTel:[Zp],Popover:[ns],ColorPicker:[Up],Dialog:[Ha,ns],DialogLoading:[jp,Ha,hc],DialogToast:[Wp,Ha],Page:[Ba],Routes:[lk],Image:[xc],ImageView:[xc,qp],Accordion:[Qp],ResizeObserver:[Jp],MapTianditu:[tm],PlateKeyboard:[em],PlateMobile:[um],PlateDisplay:[kc],NumberKeyboard:[fm],RingIndicator:[dm],HalfRingIndicator:[hm],RingText:[pm],ClockFlipper:[mm],EaseGraphDisplay:[wc,ns],EaseGroupGraphDisplay:[ym,wc],InterpolationGraphDisplay:[Cc,ns],InterpolationGroupGraphDisplay:[wm,Cc],CardFlip:[Cm],Cube:[Em,yc,vc,_c],Float:[Om],Slide:[Pm],SlideCorner:[Rm],LineSingle:[Im],LineDouble:[Am],Circle:[$m],BorderFocusText:[Nm],LayoutPage:[nr],LayoutMobile:[Ec],XG:[zm,Ec,Oc,Pc],Footer:[Sc,ns],Lot:[Oc,nr,Sc,kc,Yp,Zp,Kp],Park:[Pc,nr]},Ac=(o,t=!1,e=[])=>{if(!o.__name)return[];const n=o.__name.split(".")?.[0]||"",s=[];!E1(e,n)&&t&&(s.push(...(o.styles||[]).map(a=>rl(a))),e.push(n));const r=Dm[n]||[];for(let a of r){const i=a.__name.split(".")?.[0]||"";if(i==n)continue;const l=Dm[i]||[];for(let c of l)s.push(...Ac(c,!0,e))}return s};function ct(o,{plugins:t=[]}={plugins:[Jx]}){return qy({...o,exposed:o.exposed,setup(e,{attrs:n,slots:s,emit:r,expose:a}){const i=sl();t.forEach(i.use);const l=Ko();Object.assign(l.appContext,i._context),Object.assign(l.provides,i._context.provides);const c=document.createElement("style");return c.innerText=Ac(o).join("").replace(/\n/g,""),Qy().appendChild(c),o.setup?.(e,{attrs:n,slots:s,emit:r,expose:a})}})}const lw=()=>{customElements.define("yz-container",ct(t2)),customElements.define("yz-effect-css-transition",ct(xp)),customElements.define("yz-effect-css-animation",ct(Ba)),customElements.define("yz-icon",ct(e2)),customElements.define("yz-loading-1",ct(kp)),customElements.define("yz-loading-2",ct(wp)),customElements.define("yz-loading-3",ct(Cp)),customElements.define("yz-loading-4",ct(Tp)),customElements.define("yz-loading-5",ct(Ep)),customElements.define("yz-loading-6",ct(Sp)),customElements.define("yz-loading-7",ct(Op)),customElements.define("yz-loading-8",ct(hc)),customElements.define("yz-loading-9",ct(Pp)),customElements.define("yz-loading-10",ct(Rp)),customElements.define("yz-loading-11",ct(pc)),customElements.define("yz-button",ct(ns)),customElements.define("yz-boolean-box",ct(Ya)),customElements.define("yz-radio-group",ct(yc)),customElements.define("yz-checkbox-group",ct(vc)),customElements.define("yz-switch",ct(Ip)),customElements.define("yz-select",ct(Ap)),customElements.define("yz-select-absolute",ct($p)),customElements.define("yz-slide-left-item",ct(Fp)),customElements.define("yz-status",ct(W2)),customElements.define("yz-input",ct(Dp)),customElements.define("yz-input-range",ct(_c)),customElements.define("yz-input-range-box",ct(Mp)),customElements.define("yz-input-file-drop",ct(Lp)),customElements.define("yz-tabs",ct(Bp)),customElements.define("yz-progress-bar",ct(Xa)),customElements.define("yz-page-vertical-scroll-progress-bar",ct(Vp)),customElements.define("yz-video",ct(Xp)),customElements.define("yz-pop",ct(T3)),customElements.define("yz-popover",ct(Up)),customElements.define("yz-color-picker",ct(R3)),customElements.define("yz-dialog",ct(Ha)),customElements.define("yz-dialog-loading",ct(jp)),customElements.define("yz-dialog-toast",ct(Wp)),customElements.define("yz-image",ct(xc)),customElements.define("yz-image-view",ct(Kp)),customElements.define("yz-accordion",ct(Qp)),customElements.define("yz-resize-observer",ct(Jp)),customElements.define("yz-map-tianditu",ct(tm)),customElements.define("yz-hand-write-panel",ct(gk)),customElements.define("yz-plate-keyboard",ct(em)),customElements.define("yz-plate-mobile",ct(um)),customElements.define("yz-plate-display",ct(kc)),customElements.define("yz-number-keyboard",ct(fm)),customElements.define("yz-chat-ring-indicator",ct(dm)),customElements.define("yz-chat-half-ring-indicator",ct(hm)),customElements.define("yz-chat-ring-text",ct(pm)),customElements.define("yz-chat-clock-flipper",ct(mm)),customElements.define("yz-fps-stats",ct(y5)),customElements.define("yz-ease-graph-display",ct(wc)),customElements.define("yz-ease-group-graph-display",ct(ym)),customElements.define("yz-interpolation-graph-display",ct(Cc)),customElements.define("yz-interpolation-group-graph-display",ct(wm)),customElements.define("yz-card-flip",ct(Cm)),customElements.define("yz-cube",ct(Em)),customElements.define("yz-effect-image-mask",ct(N5)),customElements.define("yz-effect-float",ct(Om)),customElements.define("yz-effect-slide",ct(Pm)),customElements.define("yz-effect-slide-corner",ct(Rm)),customElements.define("yz-effect-line-single",ct(Im)),customElements.define("yz-effect-line-double",ct(Am)),customElements.define("yz-effect-circle",ct($m)),customElements.define("yz-effect-text-background-clip",ct(B5)),customElements.define("yz-effect-border-focus-text",ct(Nm)),customElements.define("yz-layout-center",ct(Y5)),customElements.define("yz-layout-page",ct(nr)),customElements.define("yz-layout-mobile",ct(Ec)),customElements.define("yz-xg",ct(zm)),customElements.define("yz-xg-footer",ct(Sc)),customElements.define("yz-xg-lot",ct(Oc)),customElements.define("yz-xg-park",ct(Pc)),customElements.define("yz-responsive-video",tw),customElements.define("yz-bg-grid",ct(rw))};return ce.collectChildComponentCSS=Ac,ce.dialog=Ak,ce.install=lw,ce.linkChildrenComponentsStyles=aw,ce.loading=Ik,ce.mergeChildComponentCSS=iw,ce.numberKeyboard=Lk,ce.plateKeyboard=cm,ce.popAbsolute=lm,ce.popAbsoluteSample=Mk,ce.popBottom=nm,ce.popBottomSample=$k,ce.popCenter=im,ce.popCenterSample=Dk,ce.popLeft=rm,ce.popLeftSample=Fk,ce.popRight=am,ce.popRightSample=zk,ce.popTop=sm,ce.popTopSample=Nk,ce.teleport=oo,ce.toast=Rk,Object.defineProperty(ce,Symbol.toStringTag,{value:"Module"}),ce}({});
|
|
279
279
|
//# sourceMappingURL=yz_custom_element.iife.js.map
|