@zyzgroup/core-vue 0.0.30 → 0.0.31

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.
@@ -15,9 +15,9 @@ getter: `,this.getter),Mr(t,2)),t._value}set value(t){this._setter(t)}get _dirty
15
15
  **/const to=[];function Ar(o){to.push(o)}function Nr(){to.pop()}function dt(o,...t){Is();const e=to.length?to[to.length-1].component:null,s=e&&e.appContext.config.warnHandler,r=kf();if(s)ys(s,e,11,[o+t.map(n=>{var a,i;return(i=(a=n.toString)==null?void 0:a.call(n))!=null?i:JSON.stringify(n)}).join(""),e&&e.proxy,r.map(({vnode:n})=>`at <${en(e,n.type)}>`).join(`
16
16
  `),r]);else{const n=[`[Vue warn]: ${o}`,...t];r.length&&n.push(`
17
17
  `,...Cf(r)),console.warn(...n)}Rs()}function kf(){let o=to[to.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 s=o.component&&o.component.parent;o=s&&s.vnode}return t}function Cf(o){const t=[];return o.forEach((e,s)=>{t.push(...s===0?[]:[`
18
- `],...Tf(e))}),t}function Tf({vnode:o,recurseCount:t}){const e=t>0?`... (${t} recursive calls)`:"",s=o.component?o.component.parent==null:!1,r=` at <${en(o.component,o.type,s)}`,n=">"+e;return o.props?[r,...Sf(o.props),n]:[r+n]}function Sf(o){const t=[],e=Object.keys(o);return e.slice(0,3).forEach(s=>{t.push(...jl(s,o[s]))}),e.length>3&&t.push(" ..."),t}function jl(o,t,e){return ce(t)?(t=JSON.stringify(t),e?t:[`${o}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?e?t:[`${o}=${t}`]:Ce(t)?(t=jl(o,Lt(t.value),!0),e?t:[`${o}=Ref<`,t,">"]):Ft(t)?[`${o}=fn${t.name?`<${t.name}>`:""}`]:(t=Lt(t),e?t:[`${o}=`,t])}const ma={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function ys(o,t,e,s){try{return s?o(...s):o()}catch(r){Go(r,t,e)}}function ts(o,t,e,s){if(Ft(o)){const n=ys(o,t,e,s);return n&&ta(n)&&n.catch(a=>{Go(a,t,e)}),n}const r=[];for(let n=0;n<o.length;n++)r.push(ts(o[n],t,e,s));return r}function Go(o,t,e,s=!0){const r=t?t.vnode:null;if(t){let n=t.parent;const a=t.proxy,i={}.NODE_ENV!=="production"?ma[e]:`https://vuejs.org/error-reference/#runtime-${e}`;for(;n;){const c=n.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](o,a,i)===!1)return}n=n.parent}const l=t.appContext.config.errorHandler;if(l){ys(l,null,10,[o,a,i]);return}}Ef(o,e,r,s)}function Ef(o,t,e,s=!0){if({}.NODE_ENV!=="production"){const r=ma[t];if(e&&Ar(e),dt(`Unhandled error${r?` during execution of ${r}`:""}`),e&&Nr(),s)throw o;console.error(o)}else console.error(o)}let Uo=!1,ga=!1;const Pe=[];let ns=0;const Co=[];let vs=null,Ds=0;const Hl=Promise.resolve();let ya=null;const Pf=100;function Wl(o){const t=ya||Hl;return o?t.then(this?o.bind(this):o):t}function Of(o){let t=ns+1,e=Pe.length;for(;t<e;){const s=t+e>>>1,r=Pe[s],n=jo(r);n<o||n===o&&r.pre?t=s+1:e=s}return t}function zr(o){(!Pe.length||!Pe.includes(o,Uo&&o.allowRecurse?ns+1:ns))&&(o.id==null?Pe.push(o):Pe.splice(Of(o.id),0,o),Zl())}function Zl(){!Uo&&!ga&&(ga=!0,ya=Hl.then(Jl))}function If(o){const t=Pe.indexOf(o);t>ns&&Pe.splice(t,1)}function ql(o){Pt(o)?Co.push(...o):(!vs||!vs.includes(o,o.allowRecurse?Ds+1:Ds))&&Co.push(o),Zl()}function Kl(o,t,e=Uo?ns+1:0){for({}.NODE_ENV!=="production"&&(t=t||new Map);e<Pe.length;e++){const s=Pe[e];if(s&&s.pre){if(o&&s.id!==o.uid||{}.NODE_ENV!=="production"&&va(t,s))continue;Pe.splice(e,1),e--,s()}}}function Ql(o){if(Co.length){const t=[...new Set(Co)].sort((e,s)=>jo(e)-jo(s));if(Co.length=0,vs){vs.push(...t);return}for(vs=t,{}.NODE_ENV!=="production"&&(o=o||new Map),Ds=0;Ds<vs.length;Ds++)({}).NODE_ENV!=="production"&&va(o,vs[Ds])||vs[Ds]();vs=null,Ds=0}}const jo=o=>o.id==null?1/0:o.id,Rf=(o,t)=>{const e=jo(o)-jo(t);if(e===0){if(o.pre&&!t.pre)return-1;if(t.pre&&!o.pre)return 1}return e};function Jl(o){ga=!1,Uo=!0,{}.NODE_ENV!=="production"&&(o=o||new Map),Pe.sort(Rf);const t={}.NODE_ENV!=="production"?e=>va(o,e):he;try{for(ns=0;ns<Pe.length;ns++){const e=Pe[ns];if(e&&e.active!==!1){if({}.NODE_ENV!=="production"&&t(e))continue;ys(e,null,14)}}}finally{ns=0,Pe.length=0,Ql(o),Uo=!1,ya=null,(Pe.length||Co.length)&&Jl(o)}}function va(o,t){if(!o.has(t))o.set(t,1);else{const e=o.get(t);if(e>Pf){const s=t.ownerInstance,r=s&&jc(s.type);return Go(`Maximum recursive updates exceeded${r?` in component <${r}>`:""}. 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}else o.set(t,e+1)}}let eo=!1;const To=new Set;({}).NODE_ENV!=="production"&&(oa().__VUE_HMR_RUNTIME__={createRecord:ba(tc),rerender:ba(Df),reload:ba(Lf)});const so=new Map;function Ff(o){const t=o.type.__hmrId;let e=so.get(t);e||(tc(t,o.type),e=so.get(t)),e.instances.add(o)}function $f(o){so.get(o.type.__hmrId).instances.delete(o)}function tc(o,t){return so.has(o)?!1:(so.set(o,{initialDef:Ho(t),instances:new Set}),!0)}function Ho(o){return Hc(o)?o.__vccOpts:o}function Df(o,t){const e=so.get(o);e&&(e.initialDef.render=t,[...e.instances].forEach(s=>{t&&(s.render=t,Ho(s.type).render=t),s.renderCache=[],eo=!0,s.effect.dirty=!0,s.update(),eo=!1}))}function Lf(o,t){const e=so.get(o);if(!e)return;t=Ho(t),ec(e.initialDef,t);const s=[...e.instances];for(const r of s){const n=Ho(r.type);To.has(n)||(n!==e.initialDef&&ec(n,t),To.add(n)),r.appContext.propsCache.delete(r.type),r.appContext.emitsCache.delete(r.type),r.appContext.optionsCache.delete(r.type),r.ceReload?(To.add(n),r.ceReload(t.styles),To.delete(n)):r.parent?(r.parent.effect.dirty=!0,zr(r.parent.update)):r.appContext.reload?r.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}ql(()=>{for(const r of s)To.delete(Ho(r.type))})}function ec(o,t){ie(o,t);for(const e in o)e!=="__file"&&!(e in t)&&delete o[e]}function ba(o){return(t,e)=>{try{return o(t,e)}catch(s){console.error(s),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let as,Wo=[],_a=!1;function Zo(o,...t){as?as.emit(o,...t):_a||Wo.push({event:o,args:t})}function sc(o,t){var e,s;as=o,as?(as.enabled=!0,Wo.forEach(({event:r,args:n})=>as.emit(r,...n)),Wo=[]):typeof window<"u"&&window.HTMLElement&&!((s=(e=window.navigator)==null?void 0:e.userAgent)!=null&&s.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(n=>{sc(n,t)}),setTimeout(()=>{as||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,_a=!0,Wo=[])},3e3)):(_a=!0,Wo=[])}function Mf(o,t){Zo("app:init",o,t,{Fragment:Xt,Text:tr,Comment:Ye,Static:er})}function Af(o){Zo("app:unmount",o)}const Nf=xa("component:added"),oc=xa("component:updated"),zf=xa("component:removed"),Yf=o=>{as&&typeof as.cleanupBuffer=="function"&&!as.cleanupBuffer(o)&&zf(o)};function xa(o){return t=>{Zo(o,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const Vf=rc("perf:start"),Bf=rc("perf:end");function rc(o){return(t,e,s)=>{Zo(o,t.appContext.app,t.uid,t,e,s)}}function Xf(o,t,e){Zo("component:emit",o.appContext.app,o,t,e)}function Gf(o,t,...e){if(o.isUnmounted)return;const s=o.vnode.props||Wt;if({}.NODE_ENV!=="production"){const{emitsOptions:u,propsOptions:[d]}=o;if(u)if(!(t in u))(!d||!(Zs(t)in d))&&dt(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${Zs(t)}" prop.`);else{const f=u[t];Ft(f)&&(f(...e)||dt(`Invalid event arguments: event validation failed for event "${t}".`))}}let r=e;const n=t.startsWith("update:"),a=n&&t.slice(7);if(a&&a in s){const u=`${a==="modelValue"?"model":a}Modifiers`,{number:d,trim:f}=s[u]||Wt;f&&(r=e.map(p=>ce(p)?p.trim():p)),d&&(r=e.map(Bh))}if({}.NODE_ENV!=="production"&&Xf(o,t,r),{}.NODE_ENV!=="production"){const u=t.toLowerCase();u!==t&&s[Zs(u)]&&dt(`Event "${u}" is emitted in component ${en(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 "${Ue(t)}" instead of "${t}".`)}let i,l=s[i=Zs(t)]||s[i=Zs(gs(t))];!l&&n&&(l=s[i=Zs(Ue(t))]),l&&ts(l,o,6,r);const c=s[i+"Once"];if(c){if(!o.emitted)o.emitted={};else if(o.emitted[i])return;o.emitted[i]=!0,ts(c,o,6,r)}}function nc(o,t,e=!1){const s=t.emitsCache,r=s.get(o);if(r!==void 0)return r;const n=o.emits;let a={},i=!1;if(!Ft(o)){const l=c=>{const u=nc(c,t,!0);u&&(i=!0,ie(a,u))};!e&&t.mixins.length&&t.mixins.forEach(l),o.extends&&l(o.extends),o.mixins&&o.mixins.forEach(l)}return!n&&!i?(Ht(o)&&s.set(o,null),null):(Pt(n)?n.forEach(l=>a[l]=null):ie(a,n),Ht(o)&&s.set(o,a),a)}function Yr(o,t){return!o||!Yo(t)?!1:(t=t.slice(2).replace(/Once$/,""),zt(o,t[0].toLowerCase()+t.slice(1))||zt(o,Ue(t))||zt(o,t))}let fe=null,Vr=null;function Br(o){const t=fe;return fe=o,Vr=o&&o.type.__scopeId||null,t}function So(o){Vr=o}function Eo(){Vr=null}function _t(o,t=fe,e){if(!t||o._n)return o;const s=(...r)=>{s._d&&$c(-1);const n=Br(t);let a;try{a=o(...r)}finally{Br(n),s._d&&$c(1)}return{}.NODE_ENV!=="production"&&oc(t),a};return s._n=!0,s._c=!0,s._d=!0,s}let wa=!1;function Xr(){wa=!0}function ka(o){const{type:t,vnode:e,proxy:s,withProxy:r,props:n,propsOptions:[a],slots:i,attrs:l,emit:c,render:u,renderCache:d,data:f,setupState:p,ctx:h,inheritAttrs:b}=o;let _,v;const w=Br(o);({}).NODE_ENV!=="production"&&(wa=!1);try{if(e.shapeFlag&4){const k=r||s,C={}.NODE_ENV!=="production"&&p.__isScriptSetup?new Proxy(k,{get(z,tt,I){return dt(`Property '${String(tt)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(z,tt,I)}}):k;_=ss(u.call(C,k,d,n,p,f,h)),v=l}else{const k=t;({}).NODE_ENV!=="production"&&l===n&&Xr(),_=ss(k.length>1?k(n,{}.NODE_ENV!=="production"?{get attrs(){return Xr(),l},slots:i,emit:c}:{attrs:l,slots:i,emit:c}):k(n,null)),v=t.props?l:Uf(l)}}catch(k){sr.length=0,Go(k,o,1),_=ct(Ye)}let g=_,m;if({}.NODE_ENV!=="production"&&_.patchFlag>0&&_.patchFlag&2048&&([g,m]=ac(_)),v&&b!==!1){const k=Object.keys(v),{shapeFlag:C}=g;if(k.length){if(C&7)a&&k.some(kr)&&(v=jf(v,a)),g=Ms(g,v);else if({}.NODE_ENV!=="production"&&!wa&&g.type!==Ye){const z=Object.keys(l),tt=[],I=[];for(let D=0,M=z.length;D<M;D++){const $=z[D];Yo($)?kr($)||tt.push($[2].toLowerCase()+$.slice(3)):I.push($)}I.length&&dt(`Extraneous non-props attributes (${I.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`),tt.length&&dt(`Extraneous non-emits event listeners (${tt.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"&&!ic(g)&&dt("Runtime directive used on component with non-element root node. The directives will not function as intended."),g=Ms(g),g.dirs=g.dirs?g.dirs.concat(e.dirs):e.dirs),e.transition&&({}.NODE_ENV!=="production"&&!ic(g)&&dt("Component inside <Transition> renders non-element root node that cannot be animated."),g.transition=e.transition),{}.NODE_ENV!=="production"&&m?m(g):_=g,Br(w),_}const ac=o=>{const t=o.children,e=o.dynamicChildren,s=Ca(t,!1);if(s){if({}.NODE_ENV!=="production"&&s.patchFlag>0&&s.patchFlag&2048)return ac(s)}else return[o,void 0];const r=t.indexOf(s),n=e?e.indexOf(s):-1,a=i=>{t[r]=i,e&&(n>-1?e[n]=i:i.patchFlag>0&&(o.dynamicChildren=[...e,i]))};return[ss(s),a]};function Ca(o,t=!0){let e;for(let s=0;s<o.length;s++){const r=o[s];if(Po(r)){if(r.type!==Ye||r.children==="v-if"){if(e)return;if(e=r,{}.NODE_ENV!=="production"&&t&&e.patchFlag>0&&e.patchFlag&2048)return Ca(e.children)}}else return}return e}const Uf=o=>{let t;for(const e in o)(e==="class"||e==="style"||Yo(e))&&((t||(t={}))[e]=o[e]);return t},jf=(o,t)=>{const e={};for(const s in o)(!kr(s)||!(s.slice(9)in t))&&(e[s]=o[s]);return e},ic=o=>o.shapeFlag&7||o.type===Ye;function Hf(o,t,e){const{props:s,children:r,component:n}=o,{props:a,children:i,patchFlag:l}=t,c=n.emitsOptions;if({}.NODE_ENV!=="production"&&(r||i)&&eo||t.dirs||t.transition)return!0;if(e&&l>=0){if(l&1024)return!0;if(l&16)return s?lc(s,a,c):!!a;if(l&8){const u=t.dynamicProps;for(let d=0;d<u.length;d++){const f=u[d];if(a[f]!==s[f]&&!Yr(c,f))return!0}}}else return(r||i)&&(!i||!i.$stable)?!0:s===a?!1:s?a?lc(s,a,c):!0:!!a;return!1}function lc(o,t,e){const s=Object.keys(t);if(s.length!==Object.keys(o).length)return!0;for(let r=0;r<s.length;r++){const n=s[r];if(t[n]!==o[n]&&!Yr(e,n))return!0}return!1}function Wf({vnode:o,parent:t},e){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===o&&(s.el=o.el),s===o)(o=t.vnode).el=e,t=t.parent;else break}}const Zf=Symbol.for("v-ndc"),qf=o=>o.__isSuspense;function Kf(o,t){t&&t.pendingBranch?Pt(o)?t.effects.push(...o):t.effects.push(o):ql(o)}const Qf=Symbol.for("v-scx"),Jf=()=>{{const o=Hr(Qf);return o||{}.NODE_ENV!=="production"&&dt("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),o}};function cc(o,t){return Ta(o,null,t)}const Gr={};function Et(o,t,e){return{}.NODE_ENV!=="production"&&!Ft(t)&&dt("`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."),Ta(o,t,e)}function Ta(o,t,{immediate:e,deep:s,flush:r,once:n,onTrack:a,onTrigger:i}=Wt){if(t&&n){const z=t;t=(...tt)=>{z(...tt),C()}}({}).NODE_ENV!=="production"&&s!==void 0&&typeof s=="number"&&dt('watch() "deep" option with number value will be used as watch depth in future versions. Please use a boolean instead to avoid potential breakage.'),{}.NODE_ENV!=="production"&&!t&&(e!==void 0&&dt('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),s!==void 0&&dt('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),n!==void 0&&dt('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const l=z=>{dt("Invalid watch source: ",z,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},c=_e,u=z=>s===!0?z:oo(z,s===!1?1:void 0);let d,f=!1,p=!1;if(Ce(o)?(d=()=>o.value,f=Js(o)):Qs(o)?(d=()=>u(o),f=!0):Pt(o)?(p=!0,f=o.some(z=>Qs(z)||Js(z)),d=()=>o.map(z=>{if(Ce(z))return z.value;if(Qs(z))return u(z);if(Ft(z))return ys(z,c,2);({}).NODE_ENV!=="production"&&l(z)})):Ft(o)?t?d=()=>ys(o,c,2):d=()=>(h&&h(),ts(o,c,3,[b])):(d=he,{}.NODE_ENV!=="production"&&l(o)),t&&s){const z=d;d=()=>oo(z())}let h,b=z=>{h=m.onStop=()=>{ys(z,c,4),h=m.onStop=void 0}},_;if(Jr)if(b=he,t?e&&ts(t,c,3,[d(),p?[]:void 0,b]):d(),r==="sync"){const z=Jf();_=z.__watcherHandles||(z.__watcherHandles=[])}else return he;let v=p?new Array(o.length).fill(Gr):Gr;const w=()=>{if(!(!m.active||!m.dirty))if(t){const z=m.run();(s||f||(p?z.some((tt,I)=>Es(tt,v[I])):Es(z,v)))&&(h&&h(),ts(t,c,3,[z,v===Gr?void 0:p&&v[0]===Gr?[]:v,b]),v=z)}else m.run()};w.allowRecurse=!!t;let g;r==="sync"?g=w:r==="post"?g=()=>ze(w,c&&c.suspense):(w.pre=!0,c&&(w.id=c.uid),g=()=>zr(w));const m=new na(d,he,g),k=qh(),C=()=>{m.stop(),k&&Jn(k.effects,m)};return{}.NODE_ENV!=="production"&&(m.onTrack=a,m.onTrigger=i),t?e?w():v=m.run():r==="post"?ze(m.run.bind(m),c&&c.suspense):m.run(),_&&_.push(C),C}function tp(o,t,e){const s=this.proxy,r=ce(o)?o.includes(".")?uc(s,o):()=>s[o]:o.bind(s,s);let n;Ft(t)?n=t:(n=t.handler,e=t);const a=nr(this),i=Ta(r,n.bind(s),e);return a(),i}function uc(o,t){const e=t.split(".");return()=>{let s=o;for(let r=0;r<e.length&&s;r++)s=s[e[r]];return s}}function oo(o,t,e=0,s){if(!Ht(o)||o.__v_skip)return o;if(t&&t>0){if(e>=t)return o;e++}if(s=s||new Set,s.has(o))return o;if(s.add(o),Ce(o))oo(o.value,t,e,s);else if(Pt(o))for(let r=0;r<o.length;r++)oo(o[r],t,e,s);else if(fl(o)||Ws(o))o.forEach(r=>{oo(r,t,e,s)});else if(ml(o))for(const r in o)oo(o[r],t,e,s);return o}function dc(o){zh(o)&&dt("Do not use built-in directive ids as custom directive id: "+o)}function ro(o,t){if(fe===null)return{}.NODE_ENV!=="production"&&dt("withDirectives can only be used inside render functions."),o;const e=tn(fe)||fe.proxy,s=o.dirs||(o.dirs=[]);for(let r=0;r<t.length;r++){let[n,a,i,l=Wt]=t[r];n&&(Ft(n)&&(n={mounted:n,updated:n}),n.deep&&oo(a),s.push({dir:n,instance:e,value:a,oldValue:void 0,arg:i,modifiers:l}))}return o}function no(o,t,e,s){const r=o.dirs,n=t&&t.dirs;for(let a=0;a<r.length;a++){const i=r[a];n&&(i.oldValue=n[a].value);let l=i.dir[s];l&&(Is(),ts(l,e,8,[o.el,i,o,t]),Rs())}}/*! #__NO_SIDE_EFFECTS__ */function K(o,t){return Ft(o)?(()=>ie({name:o.name},t,{setup:o}))():o}const qo=o=>!!o.type.__asyncLoader,Sa=o=>o.type.__isKeepAlive;function ep(o,t){hc(o,"a",t)}function sp(o,t){hc(o,"da",t)}function hc(o,t,e=_e){const s=o.__wdc||(o.__wdc=()=>{let r=e;for(;r;){if(r.isDeactivated)return;r=r.parent}return o()});if(Ur(t,s,e),e){let r=e.parent;for(;r&&r.parent;)Sa(r.parent.vnode)&&op(s,t,e,r),r=r.parent}}function op(o,t,e,s){const r=Ur(t,o,s,!0);te(()=>{Jn(s[t],r)},e)}function Ur(o,t,e=_e,s=!1){if(e){const r=e[o]||(e[o]=[]),n=t.__weh||(t.__weh=(...a)=>{if(e.isUnmounted)return;Is();const i=nr(e),l=ts(t,e,o,a);return i(),Rs(),l});return s?r.unshift(n):r.push(n),n}else if({}.NODE_ENV!=="production"){const r=Zs(ma[o].replace(/ hook$/,""));dt(`${r} 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 bs=o=>(t,e=_e)=>(!Jr||o==="sp")&&Ur(o,(...s)=>t(...s),e),rp=bs("bm"),ao=bs("m"),np=bs("bu"),ap=bs("u"),ip=bs("bum"),te=bs("um"),lp=bs("sp"),cp=bs("rtg"),up=bs("rtc");function dp(o,t=_e){Ur("ec",o,t)}function ye(o,t,e,s){let r;const n=e&&e[s];if(Pt(o)||ce(o)){r=new Array(o.length);for(let a=0,i=o.length;a<i;a++)r[a]=t(o[a],a,void 0,n&&n[a])}else if(typeof o=="number"){({}).NODE_ENV!=="production"&&!Number.isInteger(o)&&dt(`The v-for range expect an integer value but got ${o}.`),r=new Array(o);for(let a=0;a<o;a++)r[a]=t(a+1,a,void 0,n&&n[a])}else if(Ht(o))if(o[Symbol.iterator])r=Array.from(o,(a,i)=>t(a,i,void 0,n&&n[i]));else{const a=Object.keys(o);r=new Array(a.length);for(let i=0,l=a.length;i<l;i++){const c=a[i];r[i]=t(o[c],c,i,n&&n[i])}}else r=[];return e&&(e[s]=r),r}function Tt(o,t,e={},s,r){if(fe.isCE||fe.parent&&qo(fe.parent)&&fe.parent.isCE)return t!=="default"&&(e.name=t),ct("slot",e,s&&s());let n=o[t];({}).NODE_ENV!=="production"&&n&&n.length>1&&(dt("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."),n=()=>[]),n&&n._c&&(n._d=!1),L();const a=n&&fc(n(e)),i=Mt(Xt,{key:e.key||a&&a.key||`_${t}`},a||(s?s():[]),a&&o._===1?64:-2);return!r&&i.scopeId&&(i.slotScopeIds=[i.scopeId+"-s"]),n&&n._c&&(n._d=!0),i}function fc(o){return o.some(t=>Po(t)?!(t.type===Ye||t.type===Xt&&!fc(t.children)):!0)?o:null}const Ea=o=>o?Vc(o)?tn(o)||o.proxy:Ea(o.parent):null,io=ie(Object.create(null),{$:o=>o,$el:o=>o.vnode.el,$data:o=>o.data,$props:o=>({}).NODE_ENV!=="production"?ko(o.props):o.props,$attrs:o=>({}).NODE_ENV!=="production"?ko(o.attrs):o.attrs,$slots:o=>({}).NODE_ENV!=="production"?ko(o.slots):o.slots,$refs:o=>({}).NODE_ENV!=="production"?ko(o.refs):o.refs,$parent:o=>Ea(o.parent),$root:o=>Ea(o.root),$emit:o=>o.emit,$options:o=>Ra(o),$forceUpdate:o=>o.f||(o.f=()=>{o.effect.dirty=!0,zr(o.update)}),$nextTick:o=>o.n||(o.n=Wl.bind(o.proxy)),$watch:o=>tp.bind(o)}),Pa=o=>o==="_"||o==="$",Oa=(o,t)=>o!==Wt&&!o.__isScriptSetup&&zt(o,t),pc={get({_:o},t){const{ctx:e,setupState:s,data:r,props:n,accessCache:a,type:i,appContext:l}=o;if({}.NODE_ENV!=="production"&&t==="__isVue")return!0;let c;if(t[0]!=="$"){const p=a[t];if(p!==void 0)switch(p){case 1:return s[t];case 2:return r[t];case 4:return e[t];case 3:return n[t]}else{if(Oa(s,t))return a[t]=1,s[t];if(r!==Wt&&zt(r,t))return a[t]=2,r[t];if((c=o.propsOptions[0])&&zt(c,t))return a[t]=3,n[t];if(e!==Wt&&zt(e,t))return a[t]=4,e[t];Ia&&(a[t]=0)}}const u=io[t];let d,f;if(u)return t==="$attrs"?(ke(o,"get",t),{}.NODE_ENV!=="production"&&Xr()):{}.NODE_ENV!=="production"&&t==="$slots"&&ke(o,"get",t),u(o);if((d=i.__cssModules)&&(d=d[t]))return d;if(e!==Wt&&zt(e,t))return a[t]=4,e[t];if(f=l.config.globalProperties,zt(f,t))return f[t];({}).NODE_ENV!=="production"&&fe&&(!ce(t)||t.indexOf("__v")!==0)&&(r!==Wt&&Pa(t[0])&&zt(r,t)?dt(`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===fe&&dt(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:o},t,e){const{data:s,setupState:r,ctx:n}=o;return Oa(r,t)?(r[t]=e,!0):{}.NODE_ENV!=="production"&&r.__isScriptSetup&&zt(r,t)?(dt(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):s!==Wt&&zt(s,t)?(s[t]=e,!0):zt(o.props,t)?({}.NODE_ENV!=="production"&&dt(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in o?({}.NODE_ENV!=="production"&&dt(`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(n,t,{enumerable:!0,configurable:!0,value:e}):n[t]=e,!0)},has({_:{data:o,setupState:t,accessCache:e,ctx:s,appContext:r,propsOptions:n}},a){let i;return!!e[a]||o!==Wt&&zt(o,a)||Oa(t,a)||(i=n[0])&&zt(i,a)||zt(s,a)||zt(io,a)||zt(r.config.globalProperties,a)},defineProperty(o,t,e){return e.get!=null?o._.accessCache[t]=0:zt(e,"value")&&this.set(o,t,e.value,null),Reflect.defineProperty(o,t,e)}};({}).NODE_ENV!=="production"&&(pc.ownKeys=o=>(dt("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 hp(o){const t={};return Object.defineProperty(t,"_",{configurable:!0,enumerable:!1,get:()=>o}),Object.keys(io).forEach(e=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,get:()=>io[e](o),set:he})}),t}function fp(o){const{ctx:t,propsOptions:[e]}=o;e&&Object.keys(e).forEach(s=>{Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.props[s],set:he})})}function pp(o){const{ctx:t,setupState:e}=o;Object.keys(Lt(e)).forEach(s=>{if(!e.__isScriptSetup){if(Pa(s[0])){dt(`setup() return property ${JSON.stringify(s)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>e[s],set:he})}})}function mp(){return gp().slots}function gp(){const o=zc();return{}.NODE_ENV!=="production"&&!o&&dt("useContext() called without active instance."),o.setupContext||(o.setupContext=Uc(o))}function mc(o){return Pt(o)?o.reduce((t,e)=>(t[e]=null,t),{}):o}function yp(){const o=Object.create(null);return(t,e)=>{o[e]?dt(`${t} property "${e}" is already defined in ${o[e]}.`):o[e]=t}}let Ia=!0;function vp(o){const t=Ra(o),e=o.proxy,s=o.ctx;Ia=!1,t.beforeCreate&&gc(t.beforeCreate,o,"bc");const{data:r,computed:n,methods:a,watch:i,provide:l,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:p,updated:h,activated:b,deactivated:_,beforeDestroy:v,beforeUnmount:w,destroyed:g,unmounted:m,render:k,renderTracked:C,renderTriggered:z,errorCaptured:tt,serverPrefetch:I,expose:D,inheritAttrs:M,components:$,directives:N,filters:G}=t,rt={}.NODE_ENV!=="production"?yp():null;if({}.NODE_ENV!=="production"){const[q]=o.propsOptions;if(q)for(const at in q)rt("Props",at)}if(c&&bp(c,s,rt),a)for(const q in a){const at=a[q];Ft(at)?({}.NODE_ENV!=="production"?Object.defineProperty(s,q,{value:at.bind(e),configurable:!0,enumerable:!0,writable:!0}):s[q]=at.bind(e),{}.NODE_ENV!=="production"&&rt("Methods",q)):{}.NODE_ENV!=="production"&&dt(`Method "${q}" has type "${typeof at}" in the component definition. Did you reference the function correctly?`)}if(r){({}).NODE_ENV!=="production"&&!Ft(r)&&dt("The data option must be a function. Plain object usage is no longer supported.");const q=r.call(e,e);if({}.NODE_ENV!=="production"&&ta(q)&&dt("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!Ht(q))({}).NODE_ENV!=="production"&&dt("data() should return an object.");else if(o.data=Zt(q),{}.NODE_ENV!=="production")for(const at in q)rt("Data",at),Pa(at[0])||Object.defineProperty(s,at,{configurable:!0,enumerable:!0,get:()=>q[at],set:he})}if(Ia=!0,n)for(const q in n){const at=n[q],U=Ft(at)?at.bind(e,e):Ft(at.get)?at.get.bind(e,e):he;({}).NODE_ENV!=="production"&&U===he&&dt(`Computed property "${q}" has no getter.`);const H=!Ft(at)&&Ft(at.set)?at.set.bind(e):{}.NODE_ENV!=="production"?()=>{dt(`Write operation failed: computed property "${q}" is readonly.`)}:he,yt=sm({get:U,set:H});Object.defineProperty(s,q,{enumerable:!0,configurable:!0,get:()=>yt.value,set:pt=>yt.value=pt}),{}.NODE_ENV!=="production"&&rt("Computed",q)}if(i)for(const q in i)yc(i[q],s,e,q);if(l){const q=Ft(l)?l.call(e):l;Reflect.ownKeys(q).forEach(at=>{Tp(at,q[at])})}u&&gc(u,o,"c");function Q(q,at){Pt(at)?at.forEach(U=>q(U.bind(e))):at&&q(at.bind(e))}if(Q(rp,d),Q(ao,f),Q(np,p),Q(ap,h),Q(ep,b),Q(sp,_),Q(dp,tt),Q(up,C),Q(cp,z),Q(ip,w),Q(te,m),Q(lp,I),Pt(D))if(D.length){const q=o.exposed||(o.exposed={});D.forEach(at=>{Object.defineProperty(q,at,{get:()=>e[at],set:U=>e[at]=U})})}else o.exposed||(o.exposed={});k&&o.render===he&&(o.render=k),M!=null&&(o.inheritAttrs=M),$&&(o.components=$),N&&(o.directives=N)}function bp(o,t,e=he){Pt(o)&&(o=Fa(o));for(const s in o){const r=o[s];let n;Ht(r)?"default"in r?n=Hr(r.from||s,r.default,!0):n=Hr(r.from||s):n=Hr(r),Ce(n)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>n.value,set:a=>n.value=a}):t[s]=n,{}.NODE_ENV!=="production"&&e("Inject",s)}}function gc(o,t,e){ts(Pt(o)?o.map(s=>s.bind(t.proxy)):o.bind(t.proxy),t,e)}function yc(o,t,e,s){const r=s.includes(".")?uc(e,s):()=>e[s];if(ce(o)){const n=t[o];Ft(n)?Et(r,n):{}.NODE_ENV!=="production"&&dt(`Invalid watch handler specified by key "${o}"`,n)}else if(Ft(o))Et(r,o.bind(e));else if(Ht(o))if(Pt(o))o.forEach(n=>yc(n,t,e,s));else{const n=Ft(o.handler)?o.handler.bind(e):t[o.handler];Ft(n)?Et(r,n,o):{}.NODE_ENV!=="production"&&dt(`Invalid watch handler specified by key "${o.handler}"`,n)}else({}).NODE_ENV!=="production"&&dt(`Invalid watch option: "${s}"`,o)}function Ra(o){const t=o.type,{mixins:e,extends:s}=t,{mixins:r,optionsCache:n,config:{optionMergeStrategies:a}}=o.appContext,i=n.get(t);let l;return i?l=i:!r.length&&!e&&!s?l=t:(l={},r.length&&r.forEach(c=>jr(l,c,a,!0)),jr(l,t,a)),Ht(t)&&n.set(t,l),l}function jr(o,t,e,s=!1){const{mixins:r,extends:n}=t;n&&jr(o,n,e,!0),r&&r.forEach(a=>jr(o,a,e,!0));for(const a in t)if(s&&a==="expose")({}).NODE_ENV!=="production"&&dt('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const i=_p[a]||e&&e[a];o[a]=i?i(o[a],t[a]):t[a]}return o}const _p={data:vc,props:bc,emits:bc,methods:Ko,computed:Ko,beforeCreate:$e,created:$e,beforeMount:$e,mounted:$e,beforeUpdate:$e,updated:$e,beforeDestroy:$e,beforeUnmount:$e,destroyed:$e,unmounted:$e,activated:$e,deactivated:$e,errorCaptured:$e,serverPrefetch:$e,components:Ko,directives:Ko,watch:wp,provide:vc,inject:xp};function vc(o,t){return t?o?function(){return ie(Ft(o)?o.call(this,this):o,Ft(t)?t.call(this,this):t)}:t:o}function xp(o,t){return Ko(Fa(o),Fa(t))}function Fa(o){if(Pt(o)){const t={};for(let e=0;e<o.length;e++)t[o[e]]=o[e];return t}return o}function $e(o,t){return o?[...new Set([].concat(o,t))]:t}function Ko(o,t){return o?ie(Object.create(null),o,t):t}function bc(o,t){return o?Pt(o)&&Pt(t)?[...new Set([...o,...t])]:ie(Object.create(null),mc(o),mc(t??{})):t}function wp(o,t){if(!o)return t;if(!t)return o;const e=ie(Object.create(null),o);for(const s in t)e[s]=$e(o[s],t[s]);return e}function _c(){return{app:null,config:{isNativeTag:Ah,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 kp=0;function Cp(o,t){return function(s,r=null){Ft(s)||(s=ie({},s)),r!=null&&!Ht(r)&&({}.NODE_ENV!=="production"&&dt("root props passed to app.mount() must be an object."),r=null);const n=_c(),a=new WeakSet;let i=!1;const l=n.app={_uid:kp++,_component:s,_props:r,_container:null,_context:n,_instance:null,version:Wc,get config(){return n.config},set config(c){({}).NODE_ENV!=="production"&&dt("app.config cannot be replaced. Modify individual options instead.")},use(c,...u){return a.has(c)?{}.NODE_ENV!=="production"&&dt("Plugin has already been applied to target app."):c&&Ft(c.install)?(a.add(c),c.install(l,...u)):Ft(c)?(a.add(c),c(l,...u)):{}.NODE_ENV!=="production"&&dt('A plugin must either be a function or an object with an "install" function.'),l},mixin(c){return n.mixins.includes(c)?{}.NODE_ENV!=="production"&&dt("Mixin has already been applied to target app"+(c.name?`: ${c.name}`:"")):n.mixins.push(c),l},component(c,u){return{}.NODE_ENV!=="production"&&Va(c,n.config),u?({}.NODE_ENV!=="production"&&n.components[c]&&dt(`Component "${c}" has already been registered in target app.`),n.components[c]=u,l):n.components[c]},directive(c,u){return{}.NODE_ENV!=="production"&&dc(c),u?({}.NODE_ENV!=="production"&&n.directives[c]&&dt(`Directive "${c}" has already been registered in target app.`),n.directives[c]=u,l):n.directives[c]},mount(c,u,d){if(i)({}).NODE_ENV!=="production"&&dt("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"&&c.__vue_app__&&dt("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 f=ct(s,r);return f.appContext=n,d===!0?d="svg":d===!1&&(d=void 0),{}.NODE_ENV!=="production"&&(n.reload=()=>{o(Ms(f),c,d)}),u&&t?t(f,c):o(f,c,d),i=!0,l._container=c,c.__vue_app__=l,{}.NODE_ENV!=="production"&&(l._instance=f.component,Mf(l,Wc)),tn(f.component)||f.component.proxy}},unmount(){i?(o(null,l._container),{}.NODE_ENV!=="production"&&(l._instance=null,Af(l)),delete l._container.__vue_app__):{}.NODE_ENV!=="production"&&dt("Cannot unmount an app that is not mounted.")},provide(c,u){return{}.NODE_ENV!=="production"&&c in n.provides&&dt(`App already provides property with key "${String(c)}". It will be overwritten with the new value.`),n.provides[c]=u,l},runWithContext(c){const u=Qo;Qo=l;try{return c()}finally{Qo=u}}};return l}}let Qo=null;function Tp(o,t){if(!_e)({}).NODE_ENV!=="production"&&dt("provide() can only be used inside setup().");else{let e=_e.provides;const s=_e.parent&&_e.parent.provides;s===e&&(e=_e.provides=Object.create(s)),e[o]=t}}function Hr(o,t,e=!1){const s=_e||fe;if(s||Qo){const r=s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:Qo._context.provides;if(r&&o in r)return r[o];if(arguments.length>1)return e&&Ft(t)?t.call(s&&s.proxy):t;({}).NODE_ENV!=="production"&&dt(`injection "${String(o)}" not found.`)}else({}).NODE_ENV!=="production"&&dt("inject() can only be used inside setup() or functional components.")}function Sp(o,t,e,s=!1){const r={},n={};Er(n,qr,1),o.propsDefaults=Object.create(null),xc(o,t,r,n);for(const a in o.propsOptions[0])a in r||(r[a]=void 0);({}).NODE_ENV!=="production"&&Sc(t||{},r,o),e?o.props=s?r:yf(r):o.type.props?o.props=r:o.props=n,o.attrs=n}function Ep(o){for(;o;){if(o.type.__hmrId)return!0;o=o.parent}}function Pp(o,t,e,s){const{props:r,attrs:n,vnode:{patchFlag:a}}=o,i=Lt(r),[l]=o.propsOptions;let c=!1;if(!({}.NODE_ENV!=="production"&&Ep(o))&&(s||a>0)&&!(a&16)){if(a&8){const u=o.vnode.dynamicProps;for(let d=0;d<u.length;d++){let f=u[d];if(Yr(o.emitsOptions,f))continue;const p=t[f];if(l)if(zt(n,f))p!==n[f]&&(n[f]=p,c=!0);else{const h=gs(f);r[h]=$a(l,i,h,p,o,!1)}else p!==n[f]&&(n[f]=p,c=!0)}}}else{xc(o,t,r,n)&&(c=!0);let u;for(const d in i)(!t||!zt(t,d)&&((u=Ue(d))===d||!zt(t,u)))&&(l?e&&(e[d]!==void 0||e[u]!==void 0)&&(r[d]=$a(l,i,d,void 0,o,!0)):delete r[d]);if(n!==i)for(const d in n)(!t||!zt(t,d))&&(delete n[d],c=!0)}c&&rs(o,"set","$attrs"),{}.NODE_ENV!=="production"&&Sc(t||{},r,o)}function xc(o,t,e,s){const[r,n]=o.propsOptions;let a=!1,i;if(t)for(let l in t){if(Vo(l))continue;const c=t[l];let u;r&&zt(r,u=gs(l))?!n||!n.includes(u)?e[u]=c:(i||(i={}))[u]=c:Yr(o.emitsOptions,l)||(!(l in s)||c!==s[l])&&(s[l]=c,a=!0)}if(n){const l=Lt(e),c=i||Wt;for(let u=0;u<n.length;u++){const d=n[u];e[d]=$a(r,l,d,c[d],o,!zt(c,d))}}return a}function $a(o,t,e,s,r,n){const a=o[e];if(a!=null){const i=zt(a,"default");if(i&&s===void 0){const l=a.default;if(a.type!==Function&&!a.skipFactory&&Ft(l)){const{propsDefaults:c}=r;if(e in c)s=c[e];else{const u=nr(r);s=c[e]=l.call(null,t),u()}}else s=l}a[0]&&(n&&!i?s=!1:a[1]&&(s===""||s===Ue(e))&&(s=!0))}return s}function wc(o,t,e=!1){const s=t.propsCache,r=s.get(o);if(r)return r;const n=o.props,a={},i=[];let l=!1;if(!Ft(o)){const u=d=>{l=!0;const[f,p]=wc(d,t,!0);ie(a,f),p&&i.push(...p)};!e&&t.mixins.length&&t.mixins.forEach(u),o.extends&&u(o.extends),o.mixins&&o.mixins.forEach(u)}if(!n&&!l)return Ht(o)&&s.set(o,xo),xo;if(Pt(n))for(let u=0;u<n.length;u++){({}).NODE_ENV!=="production"&&!ce(n[u])&&dt("props must be strings when using array syntax.",n[u]);const d=gs(n[u]);kc(d)&&(a[d]=Wt)}else if(n){({}).NODE_ENV!=="production"&&!Ht(n)&&dt("invalid props options",n);for(const u in n){const d=gs(u);if(kc(d)){const f=n[u],p=a[d]=Pt(f)||Ft(f)?{type:f}:ie({},f);if(p){const h=Tc(Boolean,p.type),b=Tc(String,p.type);p[0]=h>-1,p[1]=b<0||h<b,(h>-1||zt(p,"default"))&&i.push(d)}}}}const c=[a,i];return Ht(o)&&s.set(o,c),c}function kc(o){return o[0]!=="$"&&!Vo(o)?!0:({}.NODE_ENV!=="production"&&dt(`Invalid prop name: "${o}" is a reserved property.`),!1)}function Da(o){return o===null?"null":typeof o=="function"?o.name||"":typeof o=="object"&&o.constructor&&o.constructor.name||""}function Cc(o,t){return Da(o)===Da(t)}function Tc(o,t){return Pt(t)?t.findIndex(e=>Cc(e,o)):Ft(t)&&Cc(t,o)?0:-1}function Sc(o,t,e){const s=Lt(t),r=e.propsOptions[0];for(const n in r){let a=r[n];a!=null&&Op(n,s[n],a,{}.NODE_ENV!=="production"?ko(s):s,!zt(o,n)&&!zt(o,Ue(n)))}}function Op(o,t,e,s,r){const{type:n,required:a,validator:i,skipCheck:l}=e;if(a&&r){dt('Missing required prop: "'+o+'"');return}if(!(t==null&&!a)){if(n!=null&&n!==!0&&!l){let c=!1;const u=Pt(n)?n:[n],d=[];for(let f=0;f<u.length&&!c;f++){const{valid:p,expectedType:h}=Rp(t,u[f]);d.push(h||""),c=p}if(!c){dt(Fp(o,t,d));return}}i&&!i(t,s)&&dt('Invalid prop: custom validator check failed for prop "'+o+'".')}}const Ip=_o("String,Number,Boolean,Function,Symbol,BigInt");function Rp(o,t){let e;const s=Da(t);if(Ip(s)){const r=typeof o;e=r===s.toLowerCase(),!e&&r==="object"&&(e=o instanceof t)}else s==="Object"?e=Ht(o):s==="Array"?e=Pt(o):s==="null"?e=o===null:e=o instanceof t;return{valid:e,expectedType:s}}function Fp(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 s=`Invalid prop: type check failed for prop "${o}". Expected ${e.map(Sr).join(" | ")}`;const r=e[0],n=ea(t),a=Ec(t,r),i=Ec(t,n);return e.length===1&&Pc(r)&&!$p(r,n)&&(s+=` with value ${a}`),s+=`, got ${n} `,Pc(n)&&(s+=`with value ${i}.`),s}function Ec(o,t){return t==="String"?`"${o}"`:t==="Number"?`${Number(o)}`:`${o}`}function Pc(o){return["string","number","boolean"].some(e=>o.toLowerCase()===e)}function $p(...o){return o.some(t=>t.toLowerCase()==="boolean")}const Oc=o=>o[0]==="_"||o==="$stable",La=o=>Pt(o)?o.map(ss):[ss(o)],Dp=(o,t,e)=>{if(t._n)return t;const s=_t((...r)=>({}.NODE_ENV!=="production"&&_e&&(!e||e.root===_e.root)&&dt(`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.`),La(t(...r))),e);return s._c=!1,s},Ic=(o,t,e)=>{const s=o._ctx;for(const r in o){if(Oc(r))continue;const n=o[r];if(Ft(n))t[r]=Dp(r,n,s);else if(n!=null){({}).NODE_ENV!=="production"&&dt(`Non-function value encountered for slot "${r}". Prefer function slots for better performance.`);const a=La(n);t[r]=()=>a}}},Rc=(o,t)=>{({}).NODE_ENV!=="production"&&!Sa(o.vnode)&&dt("Non-function value encountered for default slot. Prefer function slots for better performance.");const e=La(t);o.slots.default=()=>e},Lp=(o,t)=>{if(o.vnode.shapeFlag&32){const e=t._;e?(o.slots=Lt(t),Er(t,"_",e)):Ic(t,o.slots={})}else o.slots={},t&&Rc(o,t);Er(o.slots,qr,1)},Mp=(o,t,e)=>{const{vnode:s,slots:r}=o;let n=!0,a=Wt;if(s.shapeFlag&32){const i=t._;i?{}.NODE_ENV!=="production"&&eo?(ie(r,t),rs(o,"set","$slots")):e&&i===1?n=!1:(ie(r,t),!e&&i===1&&delete r._):(n=!t.$stable,Ic(t,r)),a=t}else t&&(Rc(o,t),a={default:1});if(n)for(const i in r)!Oc(i)&&a[i]==null&&delete r[i]};function Ma(o,t,e,s,r=!1){if(Pt(o)){o.forEach((f,p)=>Ma(f,t&&(Pt(t)?t[p]:t),e,s,r));return}if(qo(s)&&!r)return;const n=s.shapeFlag&4?tn(s.component)||s.component.proxy:s.el,a=r?null:n,{i,r:l}=o;if({}.NODE_ENV!=="production"&&!i){dt("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===Wt?i.refs={}:i.refs,d=i.setupState;if(c!=null&&c!==l&&(ce(c)?(u[c]=null,zt(d,c)&&(d[c]=null)):Ce(c)&&(c.value=null)),Ft(l))ys(l,i,12,[a,u]);else{const f=ce(l),p=Ce(l);if(f||p){const h=()=>{if(o.f){const b=f?zt(d,l)?d[l]:u[l]:l.value;r?Pt(b)&&Jn(b,n):Pt(b)?b.includes(n)||b.push(n):f?(u[l]=[n],zt(d,l)&&(d[l]=u[l])):(l.value=[n],o.k&&(u[o.k]=l.value))}else f?(u[l]=a,zt(d,l)&&(d[l]=a)):p?(l.value=a,o.k&&(u[o.k]=a)):{}.NODE_ENV!=="production"&&dt("Invalid template ref type:",l,`(${typeof l})`)};a?(h.id=-1,ze(h,e)):h()}else({}).NODE_ENV!=="production"&&dt("Invalid template ref type:",l,`(${typeof l})`)}}let Jo,Ls;function _s(o,t){o.appContext.config.performance&&Wr()&&Ls.mark(`vue-${t}-${o.uid}`),{}.NODE_ENV!=="production"&&Vf(o,t,Wr()?Ls.now():Date.now())}function xs(o,t){if(o.appContext.config.performance&&Wr()){const e=`vue-${t}-${o.uid}`,s=e+":end";Ls.mark(s),Ls.measure(`<${en(o,o.type)}> ${t}`,e,s),Ls.clearMarks(e),Ls.clearMarks(s)}({}).NODE_ENV!=="production"&&Bf(o,t,Wr()?Ls.now():Date.now())}function Wr(){return Jo!==void 0||(typeof window<"u"&&window.performance?(Jo=!0,Ls=window.performance):Jo=!1),Jo}function Ap(){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
+ `],...Tf(e))}),t}function Tf({vnode:o,recurseCount:t}){const e=t>0?`... (${t} recursive calls)`:"",s=o.component?o.component.parent==null:!1,r=` at <${en(o.component,o.type,s)}`,n=">"+e;return o.props?[r,...Sf(o.props),n]:[r+n]}function Sf(o){const t=[],e=Object.keys(o);return e.slice(0,3).forEach(s=>{t.push(...jl(s,o[s]))}),e.length>3&&t.push(" ..."),t}function jl(o,t,e){return ce(t)?(t=JSON.stringify(t),e?t:[`${o}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?e?t:[`${o}=${t}`]:Ce(t)?(t=jl(o,Lt(t.value),!0),e?t:[`${o}=Ref<`,t,">"]):Ft(t)?[`${o}=fn${t.name?`<${t.name}>`:""}`]:(t=Lt(t),e?t:[`${o}=`,t])}const ma={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function ys(o,t,e,s){try{return s?o(...s):o()}catch(r){Go(r,t,e)}}function ts(o,t,e,s){if(Ft(o)){const n=ys(o,t,e,s);return n&&ta(n)&&n.catch(a=>{Go(a,t,e)}),n}const r=[];for(let n=0;n<o.length;n++)r.push(ts(o[n],t,e,s));return r}function Go(o,t,e,s=!0){const r=t?t.vnode:null;if(t){let n=t.parent;const a=t.proxy,i={}.NODE_ENV!=="production"?ma[e]:`https://vuejs.org/error-reference/#runtime-${e}`;for(;n;){const c=n.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](o,a,i)===!1)return}n=n.parent}const l=t.appContext.config.errorHandler;if(l){ys(l,null,10,[o,a,i]);return}}Ef(o,e,r,s)}function Ef(o,t,e,s=!0){if({}.NODE_ENV!=="production"){const r=ma[t];if(e&&Ar(e),dt(`Unhandled error${r?` during execution of ${r}`:""}`),e&&Nr(),s)throw o;console.error(o)}else console.error(o)}let Uo=!1,ga=!1;const Pe=[];let ns=0;const Co=[];let vs=null,Ds=0;const Hl=Promise.resolve();let ya=null;const Pf=100;function Wl(o){const t=ya||Hl;return o?t.then(this?o.bind(this):o):t}function Of(o){let t=ns+1,e=Pe.length;for(;t<e;){const s=t+e>>>1,r=Pe[s],n=jo(r);n<o||n===o&&r.pre?t=s+1:e=s}return t}function zr(o){(!Pe.length||!Pe.includes(o,Uo&&o.allowRecurse?ns+1:ns))&&(o.id==null?Pe.push(o):Pe.splice(Of(o.id),0,o),Zl())}function Zl(){!Uo&&!ga&&(ga=!0,ya=Hl.then(Jl))}function If(o){const t=Pe.indexOf(o);t>ns&&Pe.splice(t,1)}function ql(o){Pt(o)?Co.push(...o):(!vs||!vs.includes(o,o.allowRecurse?Ds+1:Ds))&&Co.push(o),Zl()}function Kl(o,t,e=Uo?ns+1:0){for({}.NODE_ENV!=="production"&&(t=t||new Map);e<Pe.length;e++){const s=Pe[e];if(s&&s.pre){if(o&&s.id!==o.uid||{}.NODE_ENV!=="production"&&va(t,s))continue;Pe.splice(e,1),e--,s()}}}function Ql(o){if(Co.length){const t=[...new Set(Co)].sort((e,s)=>jo(e)-jo(s));if(Co.length=0,vs){vs.push(...t);return}for(vs=t,{}.NODE_ENV!=="production"&&(o=o||new Map),Ds=0;Ds<vs.length;Ds++)({}).NODE_ENV!=="production"&&va(o,vs[Ds])||vs[Ds]();vs=null,Ds=0}}const jo=o=>o.id==null?1/0:o.id,Rf=(o,t)=>{const e=jo(o)-jo(t);if(e===0){if(o.pre&&!t.pre)return-1;if(t.pre&&!o.pre)return 1}return e};function Jl(o){ga=!1,Uo=!0,{}.NODE_ENV!=="production"&&(o=o||new Map),Pe.sort(Rf);const t={}.NODE_ENV!=="production"?e=>va(o,e):he;try{for(ns=0;ns<Pe.length;ns++){const e=Pe[ns];if(e&&e.active!==!1){if({}.NODE_ENV!=="production"&&t(e))continue;ys(e,null,14)}}}finally{ns=0,Pe.length=0,Ql(o),Uo=!1,ya=null,(Pe.length||Co.length)&&Jl(o)}}function va(o,t){if(!o.has(t))o.set(t,1);else{const e=o.get(t);if(e>Pf){const s=t.ownerInstance,r=s&&jc(s.type);return Go(`Maximum recursive updates exceeded${r?` in component <${r}>`:""}. 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}else o.set(t,e+1)}}let eo=!1;const To=new Set;({}).NODE_ENV!=="production"&&(oa().__VUE_HMR_RUNTIME__={createRecord:ba(tc),rerender:ba(Df),reload:ba(Lf)});const so=new Map;function Ff(o){const t=o.type.__hmrId;let e=so.get(t);e||(tc(t,o.type),e=so.get(t)),e.instances.add(o)}function $f(o){so.get(o.type.__hmrId).instances.delete(o)}function tc(o,t){return so.has(o)?!1:(so.set(o,{initialDef:Ho(t),instances:new Set}),!0)}function Ho(o){return Hc(o)?o.__vccOpts:o}function Df(o,t){const e=so.get(o);e&&(e.initialDef.render=t,[...e.instances].forEach(s=>{t&&(s.render=t,Ho(s.type).render=t),s.renderCache=[],eo=!0,s.effect.dirty=!0,s.update(),eo=!1}))}function Lf(o,t){const e=so.get(o);if(!e)return;t=Ho(t),ec(e.initialDef,t);const s=[...e.instances];for(const r of s){const n=Ho(r.type);To.has(n)||(n!==e.initialDef&&ec(n,t),To.add(n)),r.appContext.propsCache.delete(r.type),r.appContext.emitsCache.delete(r.type),r.appContext.optionsCache.delete(r.type),r.ceReload?(To.add(n),r.ceReload(t.styles),To.delete(n)):r.parent?(r.parent.effect.dirty=!0,zr(r.parent.update)):r.appContext.reload?r.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}ql(()=>{for(const r of s)To.delete(Ho(r.type))})}function ec(o,t){ie(o,t);for(const e in o)e!=="__file"&&!(e in t)&&delete o[e]}function ba(o){return(t,e)=>{try{return o(t,e)}catch(s){console.error(s),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let as,Wo=[],_a=!1;function Zo(o,...t){as?as.emit(o,...t):_a||Wo.push({event:o,args:t})}function sc(o,t){var e,s;as=o,as?(as.enabled=!0,Wo.forEach(({event:r,args:n})=>as.emit(r,...n)),Wo=[]):typeof window<"u"&&window.HTMLElement&&!((s=(e=window.navigator)==null?void 0:e.userAgent)!=null&&s.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(n=>{sc(n,t)}),setTimeout(()=>{as||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,_a=!0,Wo=[])},3e3)):(_a=!0,Wo=[])}function Mf(o,t){Zo("app:init",o,t,{Fragment:Xt,Text:tr,Comment:Ye,Static:er})}function Af(o){Zo("app:unmount",o)}const Nf=xa("component:added"),oc=xa("component:updated"),zf=xa("component:removed"),Yf=o=>{as&&typeof as.cleanupBuffer=="function"&&!as.cleanupBuffer(o)&&zf(o)};function xa(o){return t=>{Zo(o,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const Vf=rc("perf:start"),Bf=rc("perf:end");function rc(o){return(t,e,s)=>{Zo(o,t.appContext.app,t.uid,t,e,s)}}function Xf(o,t,e){Zo("component:emit",o.appContext.app,o,t,e)}function Gf(o,t,...e){if(o.isUnmounted)return;const s=o.vnode.props||Wt;if({}.NODE_ENV!=="production"){const{emitsOptions:u,propsOptions:[d]}=o;if(u)if(!(t in u))(!d||!(Zs(t)in d))&&dt(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${Zs(t)}" prop.`);else{const f=u[t];Ft(f)&&(f(...e)||dt(`Invalid event arguments: event validation failed for event "${t}".`))}}let r=e;const n=t.startsWith("update:"),a=n&&t.slice(7);if(a&&a in s){const u=`${a==="modelValue"?"model":a}Modifiers`,{number:d,trim:f}=s[u]||Wt;f&&(r=e.map(p=>ce(p)?p.trim():p)),d&&(r=e.map(Bh))}if({}.NODE_ENV!=="production"&&Xf(o,t,r),{}.NODE_ENV!=="production"){const u=t.toLowerCase();u!==t&&s[Zs(u)]&&dt(`Event "${u}" is emitted in component ${en(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 "${Ue(t)}" instead of "${t}".`)}let i,l=s[i=Zs(t)]||s[i=Zs(gs(t))];!l&&n&&(l=s[i=Zs(Ue(t))]),l&&ts(l,o,6,r);const c=s[i+"Once"];if(c){if(!o.emitted)o.emitted={};else if(o.emitted[i])return;o.emitted[i]=!0,ts(c,o,6,r)}}function nc(o,t,e=!1){const s=t.emitsCache,r=s.get(o);if(r!==void 0)return r;const n=o.emits;let a={},i=!1;if(!Ft(o)){const l=c=>{const u=nc(c,t,!0);u&&(i=!0,ie(a,u))};!e&&t.mixins.length&&t.mixins.forEach(l),o.extends&&l(o.extends),o.mixins&&o.mixins.forEach(l)}return!n&&!i?(Ht(o)&&s.set(o,null),null):(Pt(n)?n.forEach(l=>a[l]=null):ie(a,n),Ht(o)&&s.set(o,a),a)}function Yr(o,t){return!o||!Yo(t)?!1:(t=t.slice(2).replace(/Once$/,""),zt(o,t[0].toLowerCase()+t.slice(1))||zt(o,Ue(t))||zt(o,t))}let fe=null,Vr=null;function Br(o){const t=fe;return fe=o,Vr=o&&o.type.__scopeId||null,t}function So(o){Vr=o}function Eo(){Vr=null}function _t(o,t=fe,e){if(!t||o._n)return o;const s=(...r)=>{s._d&&$c(-1);const n=Br(t);let a;try{a=o(...r)}finally{Br(n),s._d&&$c(1)}return{}.NODE_ENV!=="production"&&oc(t),a};return s._n=!0,s._c=!0,s._d=!0,s}let wa=!1;function Xr(){wa=!0}function ka(o){const{type:t,vnode:e,proxy:s,withProxy:r,props:n,propsOptions:[a],slots:i,attrs:l,emit:c,render:u,renderCache:d,data:f,setupState:p,ctx:h,inheritAttrs:b}=o;let _,v;const w=Br(o);({}).NODE_ENV!=="production"&&(wa=!1);try{if(e.shapeFlag&4){const k=r||s,C={}.NODE_ENV!=="production"&&p.__isScriptSetup?new Proxy(k,{get(z,tt,I){return dt(`Property '${String(tt)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(z,tt,I)}}):k;_=ss(u.call(C,k,d,n,p,f,h)),v=l}else{const k=t;({}).NODE_ENV!=="production"&&l===n&&Xr(),_=ss(k.length>1?k(n,{}.NODE_ENV!=="production"?{get attrs(){return Xr(),l},slots:i,emit:c}:{attrs:l,slots:i,emit:c}):k(n,null)),v=t.props?l:Uf(l)}}catch(k){sr.length=0,Go(k,o,1),_=ct(Ye)}let g=_,m;if({}.NODE_ENV!=="production"&&_.patchFlag>0&&_.patchFlag&2048&&([g,m]=ac(_)),v&&b!==!1){const k=Object.keys(v),{shapeFlag:C}=g;if(k.length){if(C&7)a&&k.some(kr)&&(v=jf(v,a)),g=Ms(g,v);else if({}.NODE_ENV!=="production"&&!wa&&g.type!==Ye){const z=Object.keys(l),tt=[],I=[];for(let D=0,M=z.length;D<M;D++){const $=z[D];Yo($)?kr($)||tt.push($[2].toLowerCase()+$.slice(3)):I.push($)}I.length&&dt(`Extraneous non-props attributes (${I.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`),tt.length&&dt(`Extraneous non-emits event listeners (${tt.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"&&!ic(g)&&dt("Runtime directive used on component with non-element root node. The directives will not function as intended."),g=Ms(g),g.dirs=g.dirs?g.dirs.concat(e.dirs):e.dirs),e.transition&&({}.NODE_ENV!=="production"&&!ic(g)&&dt("Component inside <Transition> renders non-element root node that cannot be animated."),g.transition=e.transition),{}.NODE_ENV!=="production"&&m?m(g):_=g,Br(w),_}const ac=o=>{const t=o.children,e=o.dynamicChildren,s=Ca(t,!1);if(s){if({}.NODE_ENV!=="production"&&s.patchFlag>0&&s.patchFlag&2048)return ac(s)}else return[o,void 0];const r=t.indexOf(s),n=e?e.indexOf(s):-1,a=i=>{t[r]=i,e&&(n>-1?e[n]=i:i.patchFlag>0&&(o.dynamicChildren=[...e,i]))};return[ss(s),a]};function Ca(o,t=!0){let e;for(let s=0;s<o.length;s++){const r=o[s];if(Po(r)){if(r.type!==Ye||r.children==="v-if"){if(e)return;if(e=r,{}.NODE_ENV!=="production"&&t&&e.patchFlag>0&&e.patchFlag&2048)return Ca(e.children)}}else return}return e}const Uf=o=>{let t;for(const e in o)(e==="class"||e==="style"||Yo(e))&&((t||(t={}))[e]=o[e]);return t},jf=(o,t)=>{const e={};for(const s in o)(!kr(s)||!(s.slice(9)in t))&&(e[s]=o[s]);return e},ic=o=>o.shapeFlag&7||o.type===Ye;function Hf(o,t,e){const{props:s,children:r,component:n}=o,{props:a,children:i,patchFlag:l}=t,c=n.emitsOptions;if({}.NODE_ENV!=="production"&&(r||i)&&eo||t.dirs||t.transition)return!0;if(e&&l>=0){if(l&1024)return!0;if(l&16)return s?lc(s,a,c):!!a;if(l&8){const u=t.dynamicProps;for(let d=0;d<u.length;d++){const f=u[d];if(a[f]!==s[f]&&!Yr(c,f))return!0}}}else return(r||i)&&(!i||!i.$stable)?!0:s===a?!1:s?a?lc(s,a,c):!0:!!a;return!1}function lc(o,t,e){const s=Object.keys(t);if(s.length!==Object.keys(o).length)return!0;for(let r=0;r<s.length;r++){const n=s[r];if(t[n]!==o[n]&&!Yr(e,n))return!0}return!1}function Wf({vnode:o,parent:t},e){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===o&&(s.el=o.el),s===o)(o=t.vnode).el=e,t=t.parent;else break}}const Zf=Symbol.for("v-ndc"),qf=o=>o.__isSuspense;function Kf(o,t){t&&t.pendingBranch?Pt(o)?t.effects.push(...o):t.effects.push(o):ql(o)}const Qf=Symbol.for("v-scx"),Jf=()=>{{const o=Hr(Qf);return o||{}.NODE_ENV!=="production"&&dt("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),o}};function cc(o,t){return Ta(o,null,t)}const Gr={};function Et(o,t,e){return{}.NODE_ENV!=="production"&&!Ft(t)&&dt("`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."),Ta(o,t,e)}function Ta(o,t,{immediate:e,deep:s,flush:r,once:n,onTrack:a,onTrigger:i}=Wt){if(t&&n){const z=t;t=(...tt)=>{z(...tt),C()}}({}).NODE_ENV!=="production"&&s!==void 0&&typeof s=="number"&&dt('watch() "deep" option with number value will be used as watch depth in future versions. Please use a boolean instead to avoid potential breakage.'),{}.NODE_ENV!=="production"&&!t&&(e!==void 0&&dt('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),s!==void 0&&dt('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),n!==void 0&&dt('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const l=z=>{dt("Invalid watch source: ",z,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},c=_e,u=z=>s===!0?z:oo(z,s===!1?1:void 0);let d,f=!1,p=!1;if(Ce(o)?(d=()=>o.value,f=Js(o)):Qs(o)?(d=()=>u(o),f=!0):Pt(o)?(p=!0,f=o.some(z=>Qs(z)||Js(z)),d=()=>o.map(z=>{if(Ce(z))return z.value;if(Qs(z))return u(z);if(Ft(z))return ys(z,c,2);({}).NODE_ENV!=="production"&&l(z)})):Ft(o)?t?d=()=>ys(o,c,2):d=()=>(h&&h(),ts(o,c,3,[b])):(d=he,{}.NODE_ENV!=="production"&&l(o)),t&&s){const z=d;d=()=>oo(z())}let h,b=z=>{h=m.onStop=()=>{ys(z,c,4),h=m.onStop=void 0}},_;if(Jr)if(b=he,t?e&&ts(t,c,3,[d(),p?[]:void 0,b]):d(),r==="sync"){const z=Jf();_=z.__watcherHandles||(z.__watcherHandles=[])}else return he;let v=p?new Array(o.length).fill(Gr):Gr;const w=()=>{if(!(!m.active||!m.dirty))if(t){const z=m.run();(s||f||(p?z.some((tt,I)=>Es(tt,v[I])):Es(z,v)))&&(h&&h(),ts(t,c,3,[z,v===Gr?void 0:p&&v[0]===Gr?[]:v,b]),v=z)}else m.run()};w.allowRecurse=!!t;let g;r==="sync"?g=w:r==="post"?g=()=>ze(w,c&&c.suspense):(w.pre=!0,c&&(w.id=c.uid),g=()=>zr(w));const m=new na(d,he,g),k=qh(),C=()=>{m.stop(),k&&Jn(k.effects,m)};return{}.NODE_ENV!=="production"&&(m.onTrack=a,m.onTrigger=i),t?e?w():v=m.run():r==="post"?ze(m.run.bind(m),c&&c.suspense):m.run(),_&&_.push(C),C}function tp(o,t,e){const s=this.proxy,r=ce(o)?o.includes(".")?uc(s,o):()=>s[o]:o.bind(s,s);let n;Ft(t)?n=t:(n=t.handler,e=t);const a=nr(this),i=Ta(r,n.bind(s),e);return a(),i}function uc(o,t){const e=t.split(".");return()=>{let s=o;for(let r=0;r<e.length&&s;r++)s=s[e[r]];return s}}function oo(o,t,e=0,s){if(!Ht(o)||o.__v_skip)return o;if(t&&t>0){if(e>=t)return o;e++}if(s=s||new Set,s.has(o))return o;if(s.add(o),Ce(o))oo(o.value,t,e,s);else if(Pt(o))for(let r=0;r<o.length;r++)oo(o[r],t,e,s);else if(fl(o)||Ws(o))o.forEach(r=>{oo(r,t,e,s)});else if(ml(o))for(const r in o)oo(o[r],t,e,s);return o}function dc(o){zh(o)&&dt("Do not use built-in directive ids as custom directive id: "+o)}function ro(o,t){if(fe===null)return{}.NODE_ENV!=="production"&&dt("withDirectives can only be used inside render functions."),o;const e=tn(fe)||fe.proxy,s=o.dirs||(o.dirs=[]);for(let r=0;r<t.length;r++){let[n,a,i,l=Wt]=t[r];n&&(Ft(n)&&(n={mounted:n,updated:n}),n.deep&&oo(a),s.push({dir:n,instance:e,value:a,oldValue:void 0,arg:i,modifiers:l}))}return o}function no(o,t,e,s){const r=o.dirs,n=t&&t.dirs;for(let a=0;a<r.length;a++){const i=r[a];n&&(i.oldValue=n[a].value);let l=i.dir[s];l&&(Is(),ts(l,e,8,[o.el,i,o,t]),Rs())}}/*! #__NO_SIDE_EFFECTS__ */function K(o,t){return Ft(o)?(()=>ie({name:o.name},t,{setup:o}))():o}const qo=o=>!!o.type.__asyncLoader,Sa=o=>o.type.__isKeepAlive;function ep(o,t){hc(o,"a",t)}function sp(o,t){hc(o,"da",t)}function hc(o,t,e=_e){const s=o.__wdc||(o.__wdc=()=>{let r=e;for(;r;){if(r.isDeactivated)return;r=r.parent}return o()});if(Ur(t,s,e),e){let r=e.parent;for(;r&&r.parent;)Sa(r.parent.vnode)&&op(s,t,e,r),r=r.parent}}function op(o,t,e,s){const r=Ur(t,o,s,!0);te(()=>{Jn(s[t],r)},e)}function Ur(o,t,e=_e,s=!1){if(e){const r=e[o]||(e[o]=[]),n=t.__weh||(t.__weh=(...a)=>{if(e.isUnmounted)return;Is();const i=nr(e),l=ts(t,e,o,a);return i(),Rs(),l});return s?r.unshift(n):r.push(n),n}else if({}.NODE_ENV!=="production"){const r=Zs(ma[o].replace(/ hook$/,""));dt(`${r} 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 bs=o=>(t,e=_e)=>(!Jr||o==="sp")&&Ur(o,(...s)=>t(...s),e),rp=bs("bm"),ao=bs("m"),np=bs("bu"),ap=bs("u"),ip=bs("bum"),te=bs("um"),lp=bs("sp"),cp=bs("rtg"),up=bs("rtc");function dp(o,t=_e){Ur("ec",o,t)}function ye(o,t,e,s){let r;const n=e&&e[s];if(Pt(o)||ce(o)){r=new Array(o.length);for(let a=0,i=o.length;a<i;a++)r[a]=t(o[a],a,void 0,n&&n[a])}else if(typeof o=="number"){({}).NODE_ENV!=="production"&&!Number.isInteger(o)&&dt(`The v-for range expect an integer value but got ${o}.`),r=new Array(o);for(let a=0;a<o;a++)r[a]=t(a+1,a,void 0,n&&n[a])}else if(Ht(o))if(o[Symbol.iterator])r=Array.from(o,(a,i)=>t(a,i,void 0,n&&n[i]));else{const a=Object.keys(o);r=new Array(a.length);for(let i=0,l=a.length;i<l;i++){const c=a[i];r[i]=t(o[c],c,i,n&&n[i])}}else r=[];return e&&(e[s]=r),r}function Ct(o,t,e={},s,r){if(fe.isCE||fe.parent&&qo(fe.parent)&&fe.parent.isCE)return t!=="default"&&(e.name=t),ct("slot",e,s&&s());let n=o[t];({}).NODE_ENV!=="production"&&n&&n.length>1&&(dt("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."),n=()=>[]),n&&n._c&&(n._d=!1),L();const a=n&&fc(n(e)),i=Mt(Xt,{key:e.key||a&&a.key||`_${t}`},a||(s?s():[]),a&&o._===1?64:-2);return!r&&i.scopeId&&(i.slotScopeIds=[i.scopeId+"-s"]),n&&n._c&&(n._d=!0),i}function fc(o){return o.some(t=>Po(t)?!(t.type===Ye||t.type===Xt&&!fc(t.children)):!0)?o:null}const Ea=o=>o?Vc(o)?tn(o)||o.proxy:Ea(o.parent):null,io=ie(Object.create(null),{$:o=>o,$el:o=>o.vnode.el,$data:o=>o.data,$props:o=>({}).NODE_ENV!=="production"?ko(o.props):o.props,$attrs:o=>({}).NODE_ENV!=="production"?ko(o.attrs):o.attrs,$slots:o=>({}).NODE_ENV!=="production"?ko(o.slots):o.slots,$refs:o=>({}).NODE_ENV!=="production"?ko(o.refs):o.refs,$parent:o=>Ea(o.parent),$root:o=>Ea(o.root),$emit:o=>o.emit,$options:o=>Ra(o),$forceUpdate:o=>o.f||(o.f=()=>{o.effect.dirty=!0,zr(o.update)}),$nextTick:o=>o.n||(o.n=Wl.bind(o.proxy)),$watch:o=>tp.bind(o)}),Pa=o=>o==="_"||o==="$",Oa=(o,t)=>o!==Wt&&!o.__isScriptSetup&&zt(o,t),pc={get({_:o},t){const{ctx:e,setupState:s,data:r,props:n,accessCache:a,type:i,appContext:l}=o;if({}.NODE_ENV!=="production"&&t==="__isVue")return!0;let c;if(t[0]!=="$"){const p=a[t];if(p!==void 0)switch(p){case 1:return s[t];case 2:return r[t];case 4:return e[t];case 3:return n[t]}else{if(Oa(s,t))return a[t]=1,s[t];if(r!==Wt&&zt(r,t))return a[t]=2,r[t];if((c=o.propsOptions[0])&&zt(c,t))return a[t]=3,n[t];if(e!==Wt&&zt(e,t))return a[t]=4,e[t];Ia&&(a[t]=0)}}const u=io[t];let d,f;if(u)return t==="$attrs"?(ke(o,"get",t),{}.NODE_ENV!=="production"&&Xr()):{}.NODE_ENV!=="production"&&t==="$slots"&&ke(o,"get",t),u(o);if((d=i.__cssModules)&&(d=d[t]))return d;if(e!==Wt&&zt(e,t))return a[t]=4,e[t];if(f=l.config.globalProperties,zt(f,t))return f[t];({}).NODE_ENV!=="production"&&fe&&(!ce(t)||t.indexOf("__v")!==0)&&(r!==Wt&&Pa(t[0])&&zt(r,t)?dt(`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===fe&&dt(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:o},t,e){const{data:s,setupState:r,ctx:n}=o;return Oa(r,t)?(r[t]=e,!0):{}.NODE_ENV!=="production"&&r.__isScriptSetup&&zt(r,t)?(dt(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):s!==Wt&&zt(s,t)?(s[t]=e,!0):zt(o.props,t)?({}.NODE_ENV!=="production"&&dt(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in o?({}.NODE_ENV!=="production"&&dt(`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(n,t,{enumerable:!0,configurable:!0,value:e}):n[t]=e,!0)},has({_:{data:o,setupState:t,accessCache:e,ctx:s,appContext:r,propsOptions:n}},a){let i;return!!e[a]||o!==Wt&&zt(o,a)||Oa(t,a)||(i=n[0])&&zt(i,a)||zt(s,a)||zt(io,a)||zt(r.config.globalProperties,a)},defineProperty(o,t,e){return e.get!=null?o._.accessCache[t]=0:zt(e,"value")&&this.set(o,t,e.value,null),Reflect.defineProperty(o,t,e)}};({}).NODE_ENV!=="production"&&(pc.ownKeys=o=>(dt("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 hp(o){const t={};return Object.defineProperty(t,"_",{configurable:!0,enumerable:!1,get:()=>o}),Object.keys(io).forEach(e=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,get:()=>io[e](o),set:he})}),t}function fp(o){const{ctx:t,propsOptions:[e]}=o;e&&Object.keys(e).forEach(s=>{Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.props[s],set:he})})}function pp(o){const{ctx:t,setupState:e}=o;Object.keys(Lt(e)).forEach(s=>{if(!e.__isScriptSetup){if(Pa(s[0])){dt(`setup() return property ${JSON.stringify(s)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>e[s],set:he})}})}function mp(){return gp().slots}function gp(){const o=zc();return{}.NODE_ENV!=="production"&&!o&&dt("useContext() called without active instance."),o.setupContext||(o.setupContext=Uc(o))}function mc(o){return Pt(o)?o.reduce((t,e)=>(t[e]=null,t),{}):o}function yp(){const o=Object.create(null);return(t,e)=>{o[e]?dt(`${t} property "${e}" is already defined in ${o[e]}.`):o[e]=t}}let Ia=!0;function vp(o){const t=Ra(o),e=o.proxy,s=o.ctx;Ia=!1,t.beforeCreate&&gc(t.beforeCreate,o,"bc");const{data:r,computed:n,methods:a,watch:i,provide:l,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:p,updated:h,activated:b,deactivated:_,beforeDestroy:v,beforeUnmount:w,destroyed:g,unmounted:m,render:k,renderTracked:C,renderTriggered:z,errorCaptured:tt,serverPrefetch:I,expose:D,inheritAttrs:M,components:$,directives:N,filters:G}=t,rt={}.NODE_ENV!=="production"?yp():null;if({}.NODE_ENV!=="production"){const[q]=o.propsOptions;if(q)for(const at in q)rt("Props",at)}if(c&&bp(c,s,rt),a)for(const q in a){const at=a[q];Ft(at)?({}.NODE_ENV!=="production"?Object.defineProperty(s,q,{value:at.bind(e),configurable:!0,enumerable:!0,writable:!0}):s[q]=at.bind(e),{}.NODE_ENV!=="production"&&rt("Methods",q)):{}.NODE_ENV!=="production"&&dt(`Method "${q}" has type "${typeof at}" in the component definition. Did you reference the function correctly?`)}if(r){({}).NODE_ENV!=="production"&&!Ft(r)&&dt("The data option must be a function. Plain object usage is no longer supported.");const q=r.call(e,e);if({}.NODE_ENV!=="production"&&ta(q)&&dt("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!Ht(q))({}).NODE_ENV!=="production"&&dt("data() should return an object.");else if(o.data=Zt(q),{}.NODE_ENV!=="production")for(const at in q)rt("Data",at),Pa(at[0])||Object.defineProperty(s,at,{configurable:!0,enumerable:!0,get:()=>q[at],set:he})}if(Ia=!0,n)for(const q in n){const at=n[q],U=Ft(at)?at.bind(e,e):Ft(at.get)?at.get.bind(e,e):he;({}).NODE_ENV!=="production"&&U===he&&dt(`Computed property "${q}" has no getter.`);const H=!Ft(at)&&Ft(at.set)?at.set.bind(e):{}.NODE_ENV!=="production"?()=>{dt(`Write operation failed: computed property "${q}" is readonly.`)}:he,yt=sm({get:U,set:H});Object.defineProperty(s,q,{enumerable:!0,configurable:!0,get:()=>yt.value,set:pt=>yt.value=pt}),{}.NODE_ENV!=="production"&&rt("Computed",q)}if(i)for(const q in i)yc(i[q],s,e,q);if(l){const q=Ft(l)?l.call(e):l;Reflect.ownKeys(q).forEach(at=>{Tp(at,q[at])})}u&&gc(u,o,"c");function Q(q,at){Pt(at)?at.forEach(U=>q(U.bind(e))):at&&q(at.bind(e))}if(Q(rp,d),Q(ao,f),Q(np,p),Q(ap,h),Q(ep,b),Q(sp,_),Q(dp,tt),Q(up,C),Q(cp,z),Q(ip,w),Q(te,m),Q(lp,I),Pt(D))if(D.length){const q=o.exposed||(o.exposed={});D.forEach(at=>{Object.defineProperty(q,at,{get:()=>e[at],set:U=>e[at]=U})})}else o.exposed||(o.exposed={});k&&o.render===he&&(o.render=k),M!=null&&(o.inheritAttrs=M),$&&(o.components=$),N&&(o.directives=N)}function bp(o,t,e=he){Pt(o)&&(o=Fa(o));for(const s in o){const r=o[s];let n;Ht(r)?"default"in r?n=Hr(r.from||s,r.default,!0):n=Hr(r.from||s):n=Hr(r),Ce(n)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>n.value,set:a=>n.value=a}):t[s]=n,{}.NODE_ENV!=="production"&&e("Inject",s)}}function gc(o,t,e){ts(Pt(o)?o.map(s=>s.bind(t.proxy)):o.bind(t.proxy),t,e)}function yc(o,t,e,s){const r=s.includes(".")?uc(e,s):()=>e[s];if(ce(o)){const n=t[o];Ft(n)?Et(r,n):{}.NODE_ENV!=="production"&&dt(`Invalid watch handler specified by key "${o}"`,n)}else if(Ft(o))Et(r,o.bind(e));else if(Ht(o))if(Pt(o))o.forEach(n=>yc(n,t,e,s));else{const n=Ft(o.handler)?o.handler.bind(e):t[o.handler];Ft(n)?Et(r,n,o):{}.NODE_ENV!=="production"&&dt(`Invalid watch handler specified by key "${o.handler}"`,n)}else({}).NODE_ENV!=="production"&&dt(`Invalid watch option: "${s}"`,o)}function Ra(o){const t=o.type,{mixins:e,extends:s}=t,{mixins:r,optionsCache:n,config:{optionMergeStrategies:a}}=o.appContext,i=n.get(t);let l;return i?l=i:!r.length&&!e&&!s?l=t:(l={},r.length&&r.forEach(c=>jr(l,c,a,!0)),jr(l,t,a)),Ht(t)&&n.set(t,l),l}function jr(o,t,e,s=!1){const{mixins:r,extends:n}=t;n&&jr(o,n,e,!0),r&&r.forEach(a=>jr(o,a,e,!0));for(const a in t)if(s&&a==="expose")({}).NODE_ENV!=="production"&&dt('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const i=_p[a]||e&&e[a];o[a]=i?i(o[a],t[a]):t[a]}return o}const _p={data:vc,props:bc,emits:bc,methods:Ko,computed:Ko,beforeCreate:$e,created:$e,beforeMount:$e,mounted:$e,beforeUpdate:$e,updated:$e,beforeDestroy:$e,beforeUnmount:$e,destroyed:$e,unmounted:$e,activated:$e,deactivated:$e,errorCaptured:$e,serverPrefetch:$e,components:Ko,directives:Ko,watch:wp,provide:vc,inject:xp};function vc(o,t){return t?o?function(){return ie(Ft(o)?o.call(this,this):o,Ft(t)?t.call(this,this):t)}:t:o}function xp(o,t){return Ko(Fa(o),Fa(t))}function Fa(o){if(Pt(o)){const t={};for(let e=0;e<o.length;e++)t[o[e]]=o[e];return t}return o}function $e(o,t){return o?[...new Set([].concat(o,t))]:t}function Ko(o,t){return o?ie(Object.create(null),o,t):t}function bc(o,t){return o?Pt(o)&&Pt(t)?[...new Set([...o,...t])]:ie(Object.create(null),mc(o),mc(t??{})):t}function wp(o,t){if(!o)return t;if(!t)return o;const e=ie(Object.create(null),o);for(const s in t)e[s]=$e(o[s],t[s]);return e}function _c(){return{app:null,config:{isNativeTag:Ah,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 kp=0;function Cp(o,t){return function(s,r=null){Ft(s)||(s=ie({},s)),r!=null&&!Ht(r)&&({}.NODE_ENV!=="production"&&dt("root props passed to app.mount() must be an object."),r=null);const n=_c(),a=new WeakSet;let i=!1;const l=n.app={_uid:kp++,_component:s,_props:r,_container:null,_context:n,_instance:null,version:Wc,get config(){return n.config},set config(c){({}).NODE_ENV!=="production"&&dt("app.config cannot be replaced. Modify individual options instead.")},use(c,...u){return a.has(c)?{}.NODE_ENV!=="production"&&dt("Plugin has already been applied to target app."):c&&Ft(c.install)?(a.add(c),c.install(l,...u)):Ft(c)?(a.add(c),c(l,...u)):{}.NODE_ENV!=="production"&&dt('A plugin must either be a function or an object with an "install" function.'),l},mixin(c){return n.mixins.includes(c)?{}.NODE_ENV!=="production"&&dt("Mixin has already been applied to target app"+(c.name?`: ${c.name}`:"")):n.mixins.push(c),l},component(c,u){return{}.NODE_ENV!=="production"&&Va(c,n.config),u?({}.NODE_ENV!=="production"&&n.components[c]&&dt(`Component "${c}" has already been registered in target app.`),n.components[c]=u,l):n.components[c]},directive(c,u){return{}.NODE_ENV!=="production"&&dc(c),u?({}.NODE_ENV!=="production"&&n.directives[c]&&dt(`Directive "${c}" has already been registered in target app.`),n.directives[c]=u,l):n.directives[c]},mount(c,u,d){if(i)({}).NODE_ENV!=="production"&&dt("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"&&c.__vue_app__&&dt("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 f=ct(s,r);return f.appContext=n,d===!0?d="svg":d===!1&&(d=void 0),{}.NODE_ENV!=="production"&&(n.reload=()=>{o(Ms(f),c,d)}),u&&t?t(f,c):o(f,c,d),i=!0,l._container=c,c.__vue_app__=l,{}.NODE_ENV!=="production"&&(l._instance=f.component,Mf(l,Wc)),tn(f.component)||f.component.proxy}},unmount(){i?(o(null,l._container),{}.NODE_ENV!=="production"&&(l._instance=null,Af(l)),delete l._container.__vue_app__):{}.NODE_ENV!=="production"&&dt("Cannot unmount an app that is not mounted.")},provide(c,u){return{}.NODE_ENV!=="production"&&c in n.provides&&dt(`App already provides property with key "${String(c)}". It will be overwritten with the new value.`),n.provides[c]=u,l},runWithContext(c){const u=Qo;Qo=l;try{return c()}finally{Qo=u}}};return l}}let Qo=null;function Tp(o,t){if(!_e)({}).NODE_ENV!=="production"&&dt("provide() can only be used inside setup().");else{let e=_e.provides;const s=_e.parent&&_e.parent.provides;s===e&&(e=_e.provides=Object.create(s)),e[o]=t}}function Hr(o,t,e=!1){const s=_e||fe;if(s||Qo){const r=s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:Qo._context.provides;if(r&&o in r)return r[o];if(arguments.length>1)return e&&Ft(t)?t.call(s&&s.proxy):t;({}).NODE_ENV!=="production"&&dt(`injection "${String(o)}" not found.`)}else({}).NODE_ENV!=="production"&&dt("inject() can only be used inside setup() or functional components.")}function Sp(o,t,e,s=!1){const r={},n={};Er(n,qr,1),o.propsDefaults=Object.create(null),xc(o,t,r,n);for(const a in o.propsOptions[0])a in r||(r[a]=void 0);({}).NODE_ENV!=="production"&&Sc(t||{},r,o),e?o.props=s?r:yf(r):o.type.props?o.props=r:o.props=n,o.attrs=n}function Ep(o){for(;o;){if(o.type.__hmrId)return!0;o=o.parent}}function Pp(o,t,e,s){const{props:r,attrs:n,vnode:{patchFlag:a}}=o,i=Lt(r),[l]=o.propsOptions;let c=!1;if(!({}.NODE_ENV!=="production"&&Ep(o))&&(s||a>0)&&!(a&16)){if(a&8){const u=o.vnode.dynamicProps;for(let d=0;d<u.length;d++){let f=u[d];if(Yr(o.emitsOptions,f))continue;const p=t[f];if(l)if(zt(n,f))p!==n[f]&&(n[f]=p,c=!0);else{const h=gs(f);r[h]=$a(l,i,h,p,o,!1)}else p!==n[f]&&(n[f]=p,c=!0)}}}else{xc(o,t,r,n)&&(c=!0);let u;for(const d in i)(!t||!zt(t,d)&&((u=Ue(d))===d||!zt(t,u)))&&(l?e&&(e[d]!==void 0||e[u]!==void 0)&&(r[d]=$a(l,i,d,void 0,o,!0)):delete r[d]);if(n!==i)for(const d in n)(!t||!zt(t,d))&&(delete n[d],c=!0)}c&&rs(o,"set","$attrs"),{}.NODE_ENV!=="production"&&Sc(t||{},r,o)}function xc(o,t,e,s){const[r,n]=o.propsOptions;let a=!1,i;if(t)for(let l in t){if(Vo(l))continue;const c=t[l];let u;r&&zt(r,u=gs(l))?!n||!n.includes(u)?e[u]=c:(i||(i={}))[u]=c:Yr(o.emitsOptions,l)||(!(l in s)||c!==s[l])&&(s[l]=c,a=!0)}if(n){const l=Lt(e),c=i||Wt;for(let u=0;u<n.length;u++){const d=n[u];e[d]=$a(r,l,d,c[d],o,!zt(c,d))}}return a}function $a(o,t,e,s,r,n){const a=o[e];if(a!=null){const i=zt(a,"default");if(i&&s===void 0){const l=a.default;if(a.type!==Function&&!a.skipFactory&&Ft(l)){const{propsDefaults:c}=r;if(e in c)s=c[e];else{const u=nr(r);s=c[e]=l.call(null,t),u()}}else s=l}a[0]&&(n&&!i?s=!1:a[1]&&(s===""||s===Ue(e))&&(s=!0))}return s}function wc(o,t,e=!1){const s=t.propsCache,r=s.get(o);if(r)return r;const n=o.props,a={},i=[];let l=!1;if(!Ft(o)){const u=d=>{l=!0;const[f,p]=wc(d,t,!0);ie(a,f),p&&i.push(...p)};!e&&t.mixins.length&&t.mixins.forEach(u),o.extends&&u(o.extends),o.mixins&&o.mixins.forEach(u)}if(!n&&!l)return Ht(o)&&s.set(o,xo),xo;if(Pt(n))for(let u=0;u<n.length;u++){({}).NODE_ENV!=="production"&&!ce(n[u])&&dt("props must be strings when using array syntax.",n[u]);const d=gs(n[u]);kc(d)&&(a[d]=Wt)}else if(n){({}).NODE_ENV!=="production"&&!Ht(n)&&dt("invalid props options",n);for(const u in n){const d=gs(u);if(kc(d)){const f=n[u],p=a[d]=Pt(f)||Ft(f)?{type:f}:ie({},f);if(p){const h=Tc(Boolean,p.type),b=Tc(String,p.type);p[0]=h>-1,p[1]=b<0||h<b,(h>-1||zt(p,"default"))&&i.push(d)}}}}const c=[a,i];return Ht(o)&&s.set(o,c),c}function kc(o){return o[0]!=="$"&&!Vo(o)?!0:({}.NODE_ENV!=="production"&&dt(`Invalid prop name: "${o}" is a reserved property.`),!1)}function Da(o){return o===null?"null":typeof o=="function"?o.name||"":typeof o=="object"&&o.constructor&&o.constructor.name||""}function Cc(o,t){return Da(o)===Da(t)}function Tc(o,t){return Pt(t)?t.findIndex(e=>Cc(e,o)):Ft(t)&&Cc(t,o)?0:-1}function Sc(o,t,e){const s=Lt(t),r=e.propsOptions[0];for(const n in r){let a=r[n];a!=null&&Op(n,s[n],a,{}.NODE_ENV!=="production"?ko(s):s,!zt(o,n)&&!zt(o,Ue(n)))}}function Op(o,t,e,s,r){const{type:n,required:a,validator:i,skipCheck:l}=e;if(a&&r){dt('Missing required prop: "'+o+'"');return}if(!(t==null&&!a)){if(n!=null&&n!==!0&&!l){let c=!1;const u=Pt(n)?n:[n],d=[];for(let f=0;f<u.length&&!c;f++){const{valid:p,expectedType:h}=Rp(t,u[f]);d.push(h||""),c=p}if(!c){dt(Fp(o,t,d));return}}i&&!i(t,s)&&dt('Invalid prop: custom validator check failed for prop "'+o+'".')}}const Ip=_o("String,Number,Boolean,Function,Symbol,BigInt");function Rp(o,t){let e;const s=Da(t);if(Ip(s)){const r=typeof o;e=r===s.toLowerCase(),!e&&r==="object"&&(e=o instanceof t)}else s==="Object"?e=Ht(o):s==="Array"?e=Pt(o):s==="null"?e=o===null:e=o instanceof t;return{valid:e,expectedType:s}}function Fp(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 s=`Invalid prop: type check failed for prop "${o}". Expected ${e.map(Sr).join(" | ")}`;const r=e[0],n=ea(t),a=Ec(t,r),i=Ec(t,n);return e.length===1&&Pc(r)&&!$p(r,n)&&(s+=` with value ${a}`),s+=`, got ${n} `,Pc(n)&&(s+=`with value ${i}.`),s}function Ec(o,t){return t==="String"?`"${o}"`:t==="Number"?`${Number(o)}`:`${o}`}function Pc(o){return["string","number","boolean"].some(e=>o.toLowerCase()===e)}function $p(...o){return o.some(t=>t.toLowerCase()==="boolean")}const Oc=o=>o[0]==="_"||o==="$stable",La=o=>Pt(o)?o.map(ss):[ss(o)],Dp=(o,t,e)=>{if(t._n)return t;const s=_t((...r)=>({}.NODE_ENV!=="production"&&_e&&(!e||e.root===_e.root)&&dt(`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.`),La(t(...r))),e);return s._c=!1,s},Ic=(o,t,e)=>{const s=o._ctx;for(const r in o){if(Oc(r))continue;const n=o[r];if(Ft(n))t[r]=Dp(r,n,s);else if(n!=null){({}).NODE_ENV!=="production"&&dt(`Non-function value encountered for slot "${r}". Prefer function slots for better performance.`);const a=La(n);t[r]=()=>a}}},Rc=(o,t)=>{({}).NODE_ENV!=="production"&&!Sa(o.vnode)&&dt("Non-function value encountered for default slot. Prefer function slots for better performance.");const e=La(t);o.slots.default=()=>e},Lp=(o,t)=>{if(o.vnode.shapeFlag&32){const e=t._;e?(o.slots=Lt(t),Er(t,"_",e)):Ic(t,o.slots={})}else o.slots={},t&&Rc(o,t);Er(o.slots,qr,1)},Mp=(o,t,e)=>{const{vnode:s,slots:r}=o;let n=!0,a=Wt;if(s.shapeFlag&32){const i=t._;i?{}.NODE_ENV!=="production"&&eo?(ie(r,t),rs(o,"set","$slots")):e&&i===1?n=!1:(ie(r,t),!e&&i===1&&delete r._):(n=!t.$stable,Ic(t,r)),a=t}else t&&(Rc(o,t),a={default:1});if(n)for(const i in r)!Oc(i)&&a[i]==null&&delete r[i]};function Ma(o,t,e,s,r=!1){if(Pt(o)){o.forEach((f,p)=>Ma(f,t&&(Pt(t)?t[p]:t),e,s,r));return}if(qo(s)&&!r)return;const n=s.shapeFlag&4?tn(s.component)||s.component.proxy:s.el,a=r?null:n,{i,r:l}=o;if({}.NODE_ENV!=="production"&&!i){dt("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===Wt?i.refs={}:i.refs,d=i.setupState;if(c!=null&&c!==l&&(ce(c)?(u[c]=null,zt(d,c)&&(d[c]=null)):Ce(c)&&(c.value=null)),Ft(l))ys(l,i,12,[a,u]);else{const f=ce(l),p=Ce(l);if(f||p){const h=()=>{if(o.f){const b=f?zt(d,l)?d[l]:u[l]:l.value;r?Pt(b)&&Jn(b,n):Pt(b)?b.includes(n)||b.push(n):f?(u[l]=[n],zt(d,l)&&(d[l]=u[l])):(l.value=[n],o.k&&(u[o.k]=l.value))}else f?(u[l]=a,zt(d,l)&&(d[l]=a)):p?(l.value=a,o.k&&(u[o.k]=a)):{}.NODE_ENV!=="production"&&dt("Invalid template ref type:",l,`(${typeof l})`)};a?(h.id=-1,ze(h,e)):h()}else({}).NODE_ENV!=="production"&&dt("Invalid template ref type:",l,`(${typeof l})`)}}let Jo,Ls;function _s(o,t){o.appContext.config.performance&&Wr()&&Ls.mark(`vue-${t}-${o.uid}`),{}.NODE_ENV!=="production"&&Vf(o,t,Wr()?Ls.now():Date.now())}function xs(o,t){if(o.appContext.config.performance&&Wr()){const e=`vue-${t}-${o.uid}`,s=e+":end";Ls.mark(s),Ls.measure(`<${en(o,o.type)}> ${t}`,e,s),Ls.clearMarks(e),Ls.clearMarks(s)}({}).NODE_ENV!=="production"&&Bf(o,t,Wr()?Ls.now():Date.now())}function Wr(){return Jo!==void 0||(typeof window<"u"&&window.performance?(Jo=!0,Ls=window.performance):Jo=!1),Jo}function Ap(){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.
19
19
 
20
- For more details, see https://link.vuejs.org/feature-flags.`)}}const ze=Kf;function Np(o){return zp(o)}function zp(o,t){Ap();const e=oa();e.__VUE__=!0,{}.NODE_ENV!=="production"&&sc(e.__VUE_DEVTOOLS_GLOBAL_HOOK__,e);const{insert:s,remove:r,patchProp:n,createElement:a,createText:i,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:f,setScopeId:p=he,insertStaticContent:h}=o,b=(S,F,X,W=null,Z=null,nt=null,ut=void 0,J=null,it={}.NODE_ENV!=="production"&&eo?!1:!!F.dynamicChildren)=>{if(S===F)return;S&&!rr(S,F)&&(W=Qt(S),V(S,Z,nt,!0),S=null),F.patchFlag===-2&&(it=!1,F.dynamicChildren=null);const{type:st,ref:ft,shapeFlag:St}=F;switch(st){case tr:_(S,F,X,W);break;case Ye:v(S,F,X,W);break;case er:S==null?w(F,X,W,ut):{}.NODE_ENV!=="production"&&g(S,F,X,ut);break;case Xt:N(S,F,X,W,Z,nt,ut,J,it);break;default:St&1?C(S,F,X,W,Z,nt,ut,J,it):St&6?G(S,F,X,W,Z,nt,ut,J,it):St&64||St&128?st.process(S,F,X,W,Z,nt,ut,J,it,Le):{}.NODE_ENV!=="production"&&dt("Invalid VNode type:",st,`(${typeof st})`)}ft!=null&&Z&&Ma(ft,S&&S.ref,nt,F||S,!F)},_=(S,F,X,W)=>{if(S==null)s(F.el=i(F.children),X,W);else{const Z=F.el=S.el;F.children!==S.children&&c(Z,F.children)}},v=(S,F,X,W)=>{S==null?s(F.el=l(F.children||""),X,W):F.el=S.el},w=(S,F,X,W)=>{[S.el,S.anchor]=h(S.children,F,X,W,S.el,S.anchor)},g=(S,F,X,W)=>{if(F.children!==S.children){const Z=f(S.anchor);k(S),[F.el,F.anchor]=h(F.children,X,Z,W)}else F.el=S.el,F.anchor=S.anchor},m=({el:S,anchor:F},X,W)=>{let Z;for(;S&&S!==F;)Z=f(S),s(S,X,W),S=Z;s(F,X,W)},k=({el:S,anchor:F})=>{let X;for(;S&&S!==F;)X=f(S),r(S),S=X;r(F)},C=(S,F,X,W,Z,nt,ut,J,it)=>{F.type==="svg"?ut="svg":F.type==="math"&&(ut="mathml"),S==null?z(F,X,W,Z,nt,ut,J,it):D(S,F,Z,nt,ut,J,it)},z=(S,F,X,W,Z,nt,ut,J)=>{let it,st;const{props:ft,shapeFlag:St,transition:kt,dirs:Rt}=S;if(it=S.el=a(S.type,nt,ft&&ft.is,ft),St&8?u(it,S.children):St&16&&I(S.children,it,null,W,Z,Aa(S,nt),ut,J),Rt&&no(S,null,W,"created"),tt(it,S,S.scopeId,ut,W),ft){for(const Ut in ft)Ut!=="value"&&!Vo(Ut)&&n(it,Ut,null,ft[Ut],nt,S.children,W,Z,Ct);"value"in ft&&n(it,"value",null,ft.value,nt),(st=ft.onVnodeBeforeMount)&&is(st,W,S)}({}).NODE_ENV!=="production"&&(Object.defineProperty(it,"__vnode",{value:S,enumerable:!1}),Object.defineProperty(it,"__vueParentComponent",{value:W,enumerable:!1})),Rt&&no(S,null,W,"beforeMount");const At=Yp(Z,kt);At&&kt.beforeEnter(it),s(it,F,X),((st=ft&&ft.onVnodeMounted)||At||Rt)&&ze(()=>{st&&is(st,W,S),At&&kt.enter(it),Rt&&no(S,null,W,"mounted")},Z)},tt=(S,F,X,W,Z)=>{if(X&&p(S,X),W)for(let nt=0;nt<W.length;nt++)p(S,W[nt]);if(Z){let nt=Z.subTree;if({}.NODE_ENV!=="production"&&nt.patchFlag>0&&nt.patchFlag&2048&&(nt=Ca(nt.children)||nt),F===nt){const ut=Z.vnode;tt(S,ut,ut.scopeId,ut.slotScopeIds,Z.parent)}}},I=(S,F,X,W,Z,nt,ut,J,it=0)=>{for(let st=it;st<S.length;st++){const ft=S[st]=J?As(S[st]):ss(S[st]);b(null,ft,F,X,W,Z,nt,ut,J)}},D=(S,F,X,W,Z,nt,ut)=>{const J=F.el=S.el;let{patchFlag:it,dynamicChildren:st,dirs:ft}=F;it|=S.patchFlag&16;const St=S.props||Wt,kt=F.props||Wt;let Rt;if(X&&lo(X,!1),(Rt=kt.onVnodeBeforeUpdate)&&is(Rt,X,F,S),ft&&no(F,S,X,"beforeUpdate"),X&&lo(X,!0),{}.NODE_ENV!=="production"&&eo&&(it=0,ut=!1,st=null),st?(M(S.dynamicChildren,st,J,X,W,Aa(F,Z),nt),{}.NODE_ENV!=="production"&&Zr(S,F)):ut||U(S,F,J,null,X,W,Aa(F,Z),nt,!1),it>0){if(it&16)$(J,F,St,kt,X,W,Z);else if(it&2&&St.class!==kt.class&&n(J,"class",null,kt.class,Z),it&4&&n(J,"style",St.style,kt.style,Z),it&8){const At=F.dynamicProps;for(let Ut=0;Ut<At.length;Ut++){const Jt=At[Ut],le=St[Jt],Me=kt[Jt];(Me!==le||Jt==="value")&&n(J,Jt,le,Me,Z,S.children,X,W,Ct)}}it&1&&S.children!==F.children&&u(J,F.children)}else!ut&&st==null&&$(J,F,St,kt,X,W,Z);((Rt=kt.onVnodeUpdated)||ft)&&ze(()=>{Rt&&is(Rt,X,F,S),ft&&no(F,S,X,"updated")},W)},M=(S,F,X,W,Z,nt,ut)=>{for(let J=0;J<F.length;J++){const it=S[J],st=F[J],ft=it.el&&(it.type===Xt||!rr(it,st)||it.shapeFlag&70)?d(it.el):X;b(it,st,ft,null,W,Z,nt,ut,!0)}},$=(S,F,X,W,Z,nt,ut)=>{if(X!==W){if(X!==Wt)for(const J in X)!Vo(J)&&!(J in W)&&n(S,J,X[J],null,ut,F.children,Z,nt,Ct);for(const J in W){if(Vo(J))continue;const it=W[J],st=X[J];it!==st&&J!=="value"&&n(S,J,st,it,ut,F.children,Z,nt,Ct)}"value"in W&&n(S,"value",X.value,W.value,ut)}},N=(S,F,X,W,Z,nt,ut,J,it)=>{const st=F.el=S?S.el:i(""),ft=F.anchor=S?S.anchor:i("");let{patchFlag:St,dynamicChildren:kt,slotScopeIds:Rt}=F;({}).NODE_ENV!=="production"&&(eo||St&2048)&&(St=0,it=!1,kt=null),Rt&&(J=J?J.concat(Rt):Rt),S==null?(s(st,X,W),s(ft,X,W),I(F.children||[],X,ft,Z,nt,ut,J,it)):St>0&&St&64&&kt&&S.dynamicChildren?(M(S.dynamicChildren,kt,X,Z,nt,ut,J),{}.NODE_ENV!=="production"?Zr(S,F):(F.key!=null||Z&&F===Z.subTree)&&Zr(S,F,!0)):U(S,F,X,ft,Z,nt,ut,J,it)},G=(S,F,X,W,Z,nt,ut,J,it)=>{F.slotScopeIds=J,S==null?F.shapeFlag&512?Z.ctx.activate(F,X,W,ut,it):rt(F,X,W,Z,nt,ut,it):Q(S,F,it)},rt=(S,F,X,W,Z,nt,ut)=>{const J=S.component=Wp(S,W,Z);if({}.NODE_ENV!=="production"&&J.type.__hmrId&&Ff(J),{}.NODE_ENV!=="production"&&(Ar(S),_s(J,"mount")),Sa(S)&&(J.ctx.renderer=Le),{}.NODE_ENV!=="production"&&_s(J,"init"),qp(J),{}.NODE_ENV!=="production"&&xs(J,"init"),J.asyncDep){if(Z&&Z.registerDep(J,q),!S.el){const it=J.subTree=ct(Ye);v(null,it,F,X)}}else q(J,S,F,X,Z,nt,ut);({}).NODE_ENV!=="production"&&(Nr(),xs(J,"mount"))},Q=(S,F,X)=>{const W=F.component=S.component;if(Hf(S,F,X))if(W.asyncDep&&!W.asyncResolved){({}).NODE_ENV!=="production"&&Ar(F),at(W,F,X),{}.NODE_ENV!=="production"&&Nr();return}else W.next=F,If(W.update),W.effect.dirty=!0,W.update();else F.el=S.el,W.vnode=F},q=(S,F,X,W,Z,nt,ut)=>{const J=()=>{if(S.isMounted){let{next:ft,bu:St,u:kt,parent:Rt,vnode:At}=S;{const js=Fc(S);if(js){ft&&(ft.el=At.el,at(S,ft,ut)),js.asyncDep.then(()=>{S.isUnmounted||J()});return}}let Ut=ft,Jt;({}).NODE_ENV!=="production"&&Ar(ft||S.vnode),lo(S,!1),ft?(ft.el=At.el,at(S,ft,ut)):ft=At,St&&Bo(St),(Jt=ft.props&&ft.props.onVnodeBeforeUpdate)&&is(Jt,Rt,ft,At),lo(S,!0),{}.NODE_ENV!=="production"&&_s(S,"render");const le=ka(S);({}).NODE_ENV!=="production"&&xs(S,"render");const Me=S.subTree;S.subTree=le,{}.NODE_ENV!=="production"&&_s(S,"patch"),b(Me,le,d(Me.el),Qt(Me),S,Z,nt),{}.NODE_ENV!=="production"&&xs(S,"patch"),ft.el=le.el,Ut===null&&Wf(S,le.el),kt&&ze(kt,Z),(Jt=ft.props&&ft.props.onVnodeUpdated)&&ze(()=>is(Jt,Rt,ft,At),Z),{}.NODE_ENV!=="production"&&oc(S),{}.NODE_ENV!=="production"&&Nr()}else{let ft;const{el:St,props:kt}=F,{bm:Rt,m:At,parent:Ut}=S,Jt=qo(F);if(lo(S,!1),Rt&&Bo(Rt),!Jt&&(ft=kt&&kt.onVnodeBeforeMount)&&is(ft,Ut,F),lo(S,!0),St&&Fe){const le=()=>{({}).NODE_ENV!=="production"&&_s(S,"render"),S.subTree=ka(S),{}.NODE_ENV!=="production"&&xs(S,"render"),{}.NODE_ENV!=="production"&&_s(S,"hydrate"),Fe(St,S.subTree,S,Z,null),{}.NODE_ENV!=="production"&&xs(S,"hydrate")};Jt?F.type.__asyncLoader().then(()=>!S.isUnmounted&&le()):le()}else{({}).NODE_ENV!=="production"&&_s(S,"render");const le=S.subTree=ka(S);({}).NODE_ENV!=="production"&&xs(S,"render"),{}.NODE_ENV!=="production"&&_s(S,"patch"),b(null,le,X,W,S,Z,nt),{}.NODE_ENV!=="production"&&xs(S,"patch"),F.el=le.el}if(At&&ze(At,Z),!Jt&&(ft=kt&&kt.onVnodeMounted)){const le=F;ze(()=>is(ft,Ut,le),Z)}(F.shapeFlag&256||Ut&&qo(Ut.vnode)&&Ut.vnode.shapeFlag&256)&&S.a&&ze(S.a,Z),S.isMounted=!0,{}.NODE_ENV!=="production"&&Nf(S),F=X=W=null}},it=S.effect=new na(J,he,()=>zr(st),S.scope),st=S.update=()=>{it.dirty&&it.run()};st.id=S.uid,lo(S,!0),{}.NODE_ENV!=="production"&&(it.onTrack=S.rtc?ft=>Bo(S.rtc,ft):void 0,it.onTrigger=S.rtg?ft=>Bo(S.rtg,ft):void 0,st.ownerInstance=S),st()},at=(S,F,X)=>{F.component=S;const W=S.vnode.props;S.vnode=F,S.next=null,Pp(S,F.props,W,X),Mp(S,F.children,X),Is(),Kl(S),Rs()},U=(S,F,X,W,Z,nt,ut,J,it=!1)=>{const st=S&&S.children,ft=S?S.shapeFlag:0,St=F.children,{patchFlag:kt,shapeFlag:Rt}=F;if(kt>0){if(kt&128){yt(st,St,X,W,Z,nt,ut,J,it);return}else if(kt&256){H(st,St,X,W,Z,nt,ut,J,it);return}}Rt&8?(ft&16&&Ct(st,Z,nt),St!==st&&u(X,St)):ft&16?Rt&16?yt(st,St,X,W,Z,nt,ut,J,it):Ct(st,Z,nt,!0):(ft&8&&u(X,""),Rt&16&&I(St,X,W,Z,nt,ut,J,it))},H=(S,F,X,W,Z,nt,ut,J,it)=>{S=S||xo,F=F||xo;const st=S.length,ft=F.length,St=Math.min(st,ft);let kt;for(kt=0;kt<St;kt++){const Rt=F[kt]=it?As(F[kt]):ss(F[kt]);b(S[kt],Rt,X,null,Z,nt,ut,J,it)}st>ft?Ct(S,Z,nt,!0,!1,St):I(F,X,W,Z,nt,ut,J,it,St)},yt=(S,F,X,W,Z,nt,ut,J,it)=>{let st=0;const ft=F.length;let St=S.length-1,kt=ft-1;for(;st<=St&&st<=kt;){const Rt=S[st],At=F[st]=it?As(F[st]):ss(F[st]);if(rr(Rt,At))b(Rt,At,X,null,Z,nt,ut,J,it);else break;st++}for(;st<=St&&st<=kt;){const Rt=S[St],At=F[kt]=it?As(F[kt]):ss(F[kt]);if(rr(Rt,At))b(Rt,At,X,null,Z,nt,ut,J,it);else break;St--,kt--}if(st>St){if(st<=kt){const Rt=kt+1,At=Rt<ft?F[Rt].el:W;for(;st<=kt;)b(null,F[st]=it?As(F[st]):ss(F[st]),X,At,Z,nt,ut,J,it),st++}}else if(st>kt)for(;st<=St;)V(S[st],Z,nt,!0),st++;else{const Rt=st,At=st,Ut=new Map;for(st=At;st<=kt;st++){const Se=F[st]=it?As(F[st]):ss(F[st]);Se.key!=null&&({}.NODE_ENV!=="production"&&Ut.has(Se.key)&&dt("Duplicate keys found during update:",JSON.stringify(Se.key),"Make sure keys are unique."),Ut.set(Se.key,st))}let Jt,le=0;const Me=kt-At+1;let js=!1,Gn=0;const vo=new Array(Me);for(st=0;st<Me;st++)vo[st]=0;for(st=Rt;st<=St;st++){const Se=S[st];if(le>=Me){V(Se,Z,nt,!0);continue}let Ae;if(Se.key!=null)Ae=Ut.get(Se.key);else for(Jt=At;Jt<=kt;Jt++)if(vo[Jt-At]===0&&rr(Se,F[Jt])){Ae=Jt;break}Ae===void 0?V(Se,Z,nt,!0):(vo[Ae-At]=st+1,Ae>=Gn?Gn=Ae:js=!0,b(Se,F[Ae],X,null,Z,nt,ut,J,it),le++)}const Un=js?Vp(vo):xo;for(Jt=Un.length-1,st=Me-1;st>=0;st--){const Se=At+st,Ae=F[Se],jn=Se+1<ft?F[Se+1].el:W;vo[st]===0?b(null,Ae,X,jn,Z,nt,ut,J,it):js&&(Jt<0||st!==Un[Jt]?pt(Ae,X,jn,2):Jt--)}}},pt=(S,F,X,W,Z=null)=>{const{el:nt,type:ut,transition:J,children:it,shapeFlag:st}=S;if(st&6){pt(S.component.subTree,F,X,W);return}if(st&128){S.suspense.move(F,X,W);return}if(st&64){ut.move(S,F,X,Le);return}if(ut===Xt){s(nt,F,X);for(let St=0;St<it.length;St++)pt(it[St],F,X,W);s(S.anchor,F,X);return}if(ut===er){m(S,F,X);return}if(W!==2&&st&1&&J)if(W===0)J.beforeEnter(nt),s(nt,F,X),ze(()=>J.enter(nt),Z);else{const{leave:St,delayLeave:kt,afterLeave:Rt}=J,At=()=>s(nt,F,X),Ut=()=>{St(nt,()=>{At(),Rt&&Rt()})};kt?kt(nt,At,Ut):Ut()}else s(nt,F,X)},V=(S,F,X,W=!1,Z=!1)=>{const{type:nt,props:ut,ref:J,children:it,dynamicChildren:st,shapeFlag:ft,patchFlag:St,dirs:kt}=S;if(J!=null&&Ma(J,null,X,S,!0),ft&256){F.ctx.deactivate(S);return}const Rt=ft&1&&kt,At=!qo(S);let Ut;if(At&&(Ut=ut&&ut.onVnodeBeforeUnmount)&&is(Ut,F,S),ft&6)Nt(S.component,X,W);else{if(ft&128){S.suspense.unmount(X,W);return}Rt&&no(S,null,F,"beforeUnmount"),ft&64?S.type.remove(S,F,X,Z,Le,W):st&&(nt!==Xt||St>0&&St&64)?Ct(st,F,X,!1,!0):(nt===Xt&&St&384||!Z&&ft&16)&&Ct(it,F,X),W&&P(S)}(At&&(Ut=ut&&ut.onVnodeUnmounted)||Rt)&&ze(()=>{Ut&&is(Ut,F,S),Rt&&no(S,null,F,"unmounted")},X)},P=S=>{const{type:F,el:X,anchor:W,transition:Z}=S;if(F===Xt){({}).NODE_ENV!=="production"&&S.patchFlag>0&&S.patchFlag&2048&&Z&&!Z.persisted?S.children.forEach(ut=>{ut.type===Ye?r(ut.el):P(ut)}):Bt(X,W);return}if(F===er){k(S);return}const nt=()=>{r(X),Z&&!Z.persisted&&Z.afterLeave&&Z.afterLeave()};if(S.shapeFlag&1&&Z&&!Z.persisted){const{leave:ut,delayLeave:J}=Z,it=()=>ut(X,nt);J?J(S.el,nt,it):it()}else nt()},Bt=(S,F)=>{let X;for(;S!==F;)X=f(S),r(S),S=X;r(F)},Nt=(S,F,X)=>{({}).NODE_ENV!=="production"&&S.type.__hmrId&&$f(S);const{bum:W,scope:Z,update:nt,subTree:ut,um:J}=S;W&&Bo(W),Z.stop(),nt&&(nt.active=!1,V(ut,S,F,X)),J&&ze(J,F),ze(()=>{S.isUnmounted=!0},F),F&&F.pendingBranch&&!F.isUnmounted&&S.asyncDep&&!S.asyncResolved&&S.suspenseId===F.pendingId&&(F.deps--,F.deps===0&&F.resolve()),{}.NODE_ENV!=="production"&&Yf(S)},Ct=(S,F,X,W=!1,Z=!1,nt=0)=>{for(let ut=nt;ut<S.length;ut++)V(S[ut],F,X,W,Z)},Qt=S=>S.shapeFlag&6?Qt(S.component.subTree):S.shapeFlag&128?S.suspense.next():f(S.anchor||S.el);let Gt=!1;const j=(S,F,X)=>{S==null?F._vnode&&V(F._vnode,null,null,!0):b(F._vnode||null,S,F,null,null,null,X),Gt||(Gt=!0,Kl(),Ql(),Gt=!1),F._vnode=S},Le={p:b,um:V,m:pt,r:P,mt:rt,mc:I,pc:U,pbc:M,n:Qt,o};let Ge,Fe;return t&&([Ge,Fe]=t(Le)),{render:j,hydrate:Ge,createApp:Cp(j,Ge)}}function Aa({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 lo({effect:o,update:t},e){o.allowRecurse=t.allowRecurse=e}function Yp(o,t){return(!o||o&&!o.pendingBranch)&&t&&!t.persisted}function Zr(o,t,e=!1){const s=o.children,r=t.children;if(Pt(s)&&Pt(r))for(let n=0;n<s.length;n++){const a=s[n];let i=r[n];i.shapeFlag&1&&!i.dynamicChildren&&((i.patchFlag<=0||i.patchFlag===32)&&(i=r[n]=As(r[n]),i.el=a.el),e||Zr(a,i)),i.type===tr&&(i.el=a.el),{}.NODE_ENV!=="production"&&i.type===Ye&&!i.el&&(i.el=a.el)}}function Vp(o){const t=o.slice(),e=[0];let s,r,n,a,i;const l=o.length;for(s=0;s<l;s++){const c=o[s];if(c!==0){if(r=e[e.length-1],o[r]<c){t[s]=r,e.push(s);continue}for(n=0,a=e.length-1;n<a;)i=n+a>>1,o[e[i]]<c?n=i+1:a=i;c<o[e[n]]&&(n>0&&(t[s]=e[n-1]),e[n]=s)}}for(n=e.length,a=e[n-1];n-- >0;)e[n]=a,a=t[a];return e}function Fc(o){const t=o.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Fc(t)}const Bp=o=>o.__isTeleport,Xt=Symbol.for("v-fgt"),tr=Symbol.for("v-txt"),Ye=Symbol.for("v-cmt"),er=Symbol.for("v-stc"),sr=[];let es=null;function L(o=!1){sr.push(es=o?null:[])}function Xp(){sr.pop(),es=sr[sr.length-1]||null}let or=1;function $c(o){or+=o}function Dc(o){return o.dynamicChildren=or>0?es||xo:null,Xp(),or>0&&es&&es.push(o),o}function B(o,t,e,s,r,n){return Dc(E(o,t,e,s,r,n,!0))}function Mt(o,t,e,s,r){return Dc(ct(o,t,e,s,r,!0))}function Po(o){return o?o.__v_isVNode===!0:!1}function rr(o,t){return{}.NODE_ENV!=="production"&&t.shapeFlag&6&&To.has(t.type)?(o.shapeFlag&=-257,t.shapeFlag&=-513,!1):o.type===t.type&&o.key===t.key}const Gp=(...o)=>Mc(...o),qr="__vInternal",Lc=({key:o})=>o??null,Kr=({ref:o,ref_key:t,ref_for:e})=>(typeof o=="number"&&(o=""+o),o!=null?ce(o)||Ce(o)||Ft(o)?{i:fe,r:o,k:t,f:!!e}:o:null);function E(o,t=null,e=null,s=0,r=null,n=o===Xt?0:1,a=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:o,props:t,key:t&&Lc(t),ref:t&&Kr(t),scopeId:Vr,slotScopeIds:null,children:e,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:n,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:fe};return i?(Na(l,e),n&128&&o.normalize(l)):e&&(l.shapeFlag|=ce(e)?8:16),{}.NODE_ENV!=="production"&&l.key!==l.key&&dt("VNode created with invalid key (NaN). VNode type:",l.type),or>0&&!a&&es&&(l.patchFlag>0||n&6)&&l.patchFlag!==32&&es.push(l),l}const ct={}.NODE_ENV!=="production"?Gp:Mc;function Mc(o,t=null,e=null,s=0,r=null,n=!1){if((!o||o===Zf)&&({}.NODE_ENV!=="production"&&!o&&dt(`Invalid vnode type when creating vnode: ${o}.`),o=Ye),Po(o)){const i=Ms(o,t,!0);return e&&Na(i,e),or>0&&!n&&es&&(i.shapeFlag&6?es[es.indexOf(o)]=i:es.push(i)),i.patchFlag|=-2,i}if(Hc(o)&&(o=o.__vccOpts),t){t=Up(t);let{class:i,style:l}=t;i&&!ce(i)&&(t.class=ae(i)),Ht(l)&&(fa(l)&&!Pt(l)&&(l=ie({},l)),t.style=A(l))}const a=ce(o)?1:qf(o)?128:Bp(o)?64:Ht(o)?4:Ft(o)?2:0;return{}.NODE_ENV!=="production"&&a&4&&fa(o)&&(o=Lt(o),dt("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
+ For more details, see https://link.vuejs.org/feature-flags.`)}}const ze=Kf;function Np(o){return zp(o)}function zp(o,t){Ap();const e=oa();e.__VUE__=!0,{}.NODE_ENV!=="production"&&sc(e.__VUE_DEVTOOLS_GLOBAL_HOOK__,e);const{insert:s,remove:r,patchProp:n,createElement:a,createText:i,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:f,setScopeId:p=he,insertStaticContent:h}=o,b=(S,F,X,W=null,Z=null,nt=null,ut=void 0,J=null,it={}.NODE_ENV!=="production"&&eo?!1:!!F.dynamicChildren)=>{if(S===F)return;S&&!rr(S,F)&&(W=Qt(S),V(S,Z,nt,!0),S=null),F.patchFlag===-2&&(it=!1,F.dynamicChildren=null);const{type:st,ref:ft,shapeFlag:St}=F;switch(st){case tr:_(S,F,X,W);break;case Ye:v(S,F,X,W);break;case er:S==null?w(F,X,W,ut):{}.NODE_ENV!=="production"&&g(S,F,X,ut);break;case Xt:N(S,F,X,W,Z,nt,ut,J,it);break;default:St&1?C(S,F,X,W,Z,nt,ut,J,it):St&6?G(S,F,X,W,Z,nt,ut,J,it):St&64||St&128?st.process(S,F,X,W,Z,nt,ut,J,it,Le):{}.NODE_ENV!=="production"&&dt("Invalid VNode type:",st,`(${typeof st})`)}ft!=null&&Z&&Ma(ft,S&&S.ref,nt,F||S,!F)},_=(S,F,X,W)=>{if(S==null)s(F.el=i(F.children),X,W);else{const Z=F.el=S.el;F.children!==S.children&&c(Z,F.children)}},v=(S,F,X,W)=>{S==null?s(F.el=l(F.children||""),X,W):F.el=S.el},w=(S,F,X,W)=>{[S.el,S.anchor]=h(S.children,F,X,W,S.el,S.anchor)},g=(S,F,X,W)=>{if(F.children!==S.children){const Z=f(S.anchor);k(S),[F.el,F.anchor]=h(F.children,X,Z,W)}else F.el=S.el,F.anchor=S.anchor},m=({el:S,anchor:F},X,W)=>{let Z;for(;S&&S!==F;)Z=f(S),s(S,X,W),S=Z;s(F,X,W)},k=({el:S,anchor:F})=>{let X;for(;S&&S!==F;)X=f(S),r(S),S=X;r(F)},C=(S,F,X,W,Z,nt,ut,J,it)=>{F.type==="svg"?ut="svg":F.type==="math"&&(ut="mathml"),S==null?z(F,X,W,Z,nt,ut,J,it):D(S,F,Z,nt,ut,J,it)},z=(S,F,X,W,Z,nt,ut,J)=>{let it,st;const{props:ft,shapeFlag:St,transition:kt,dirs:Rt}=S;if(it=S.el=a(S.type,nt,ft&&ft.is,ft),St&8?u(it,S.children):St&16&&I(S.children,it,null,W,Z,Aa(S,nt),ut,J),Rt&&no(S,null,W,"created"),tt(it,S,S.scopeId,ut,W),ft){for(const Ut in ft)Ut!=="value"&&!Vo(Ut)&&n(it,Ut,null,ft[Ut],nt,S.children,W,Z,Tt);"value"in ft&&n(it,"value",null,ft.value,nt),(st=ft.onVnodeBeforeMount)&&is(st,W,S)}({}).NODE_ENV!=="production"&&(Object.defineProperty(it,"__vnode",{value:S,enumerable:!1}),Object.defineProperty(it,"__vueParentComponent",{value:W,enumerable:!1})),Rt&&no(S,null,W,"beforeMount");const At=Yp(Z,kt);At&&kt.beforeEnter(it),s(it,F,X),((st=ft&&ft.onVnodeMounted)||At||Rt)&&ze(()=>{st&&is(st,W,S),At&&kt.enter(it),Rt&&no(S,null,W,"mounted")},Z)},tt=(S,F,X,W,Z)=>{if(X&&p(S,X),W)for(let nt=0;nt<W.length;nt++)p(S,W[nt]);if(Z){let nt=Z.subTree;if({}.NODE_ENV!=="production"&&nt.patchFlag>0&&nt.patchFlag&2048&&(nt=Ca(nt.children)||nt),F===nt){const ut=Z.vnode;tt(S,ut,ut.scopeId,ut.slotScopeIds,Z.parent)}}},I=(S,F,X,W,Z,nt,ut,J,it=0)=>{for(let st=it;st<S.length;st++){const ft=S[st]=J?As(S[st]):ss(S[st]);b(null,ft,F,X,W,Z,nt,ut,J)}},D=(S,F,X,W,Z,nt,ut)=>{const J=F.el=S.el;let{patchFlag:it,dynamicChildren:st,dirs:ft}=F;it|=S.patchFlag&16;const St=S.props||Wt,kt=F.props||Wt;let Rt;if(X&&lo(X,!1),(Rt=kt.onVnodeBeforeUpdate)&&is(Rt,X,F,S),ft&&no(F,S,X,"beforeUpdate"),X&&lo(X,!0),{}.NODE_ENV!=="production"&&eo&&(it=0,ut=!1,st=null),st?(M(S.dynamicChildren,st,J,X,W,Aa(F,Z),nt),{}.NODE_ENV!=="production"&&Zr(S,F)):ut||U(S,F,J,null,X,W,Aa(F,Z),nt,!1),it>0){if(it&16)$(J,F,St,kt,X,W,Z);else if(it&2&&St.class!==kt.class&&n(J,"class",null,kt.class,Z),it&4&&n(J,"style",St.style,kt.style,Z),it&8){const At=F.dynamicProps;for(let Ut=0;Ut<At.length;Ut++){const Jt=At[Ut],le=St[Jt],Me=kt[Jt];(Me!==le||Jt==="value")&&n(J,Jt,le,Me,Z,S.children,X,W,Tt)}}it&1&&S.children!==F.children&&u(J,F.children)}else!ut&&st==null&&$(J,F,St,kt,X,W,Z);((Rt=kt.onVnodeUpdated)||ft)&&ze(()=>{Rt&&is(Rt,X,F,S),ft&&no(F,S,X,"updated")},W)},M=(S,F,X,W,Z,nt,ut)=>{for(let J=0;J<F.length;J++){const it=S[J],st=F[J],ft=it.el&&(it.type===Xt||!rr(it,st)||it.shapeFlag&70)?d(it.el):X;b(it,st,ft,null,W,Z,nt,ut,!0)}},$=(S,F,X,W,Z,nt,ut)=>{if(X!==W){if(X!==Wt)for(const J in X)!Vo(J)&&!(J in W)&&n(S,J,X[J],null,ut,F.children,Z,nt,Tt);for(const J in W){if(Vo(J))continue;const it=W[J],st=X[J];it!==st&&J!=="value"&&n(S,J,st,it,ut,F.children,Z,nt,Tt)}"value"in W&&n(S,"value",X.value,W.value,ut)}},N=(S,F,X,W,Z,nt,ut,J,it)=>{const st=F.el=S?S.el:i(""),ft=F.anchor=S?S.anchor:i("");let{patchFlag:St,dynamicChildren:kt,slotScopeIds:Rt}=F;({}).NODE_ENV!=="production"&&(eo||St&2048)&&(St=0,it=!1,kt=null),Rt&&(J=J?J.concat(Rt):Rt),S==null?(s(st,X,W),s(ft,X,W),I(F.children||[],X,ft,Z,nt,ut,J,it)):St>0&&St&64&&kt&&S.dynamicChildren?(M(S.dynamicChildren,kt,X,Z,nt,ut,J),{}.NODE_ENV!=="production"?Zr(S,F):(F.key!=null||Z&&F===Z.subTree)&&Zr(S,F,!0)):U(S,F,X,ft,Z,nt,ut,J,it)},G=(S,F,X,W,Z,nt,ut,J,it)=>{F.slotScopeIds=J,S==null?F.shapeFlag&512?Z.ctx.activate(F,X,W,ut,it):rt(F,X,W,Z,nt,ut,it):Q(S,F,it)},rt=(S,F,X,W,Z,nt,ut)=>{const J=S.component=Wp(S,W,Z);if({}.NODE_ENV!=="production"&&J.type.__hmrId&&Ff(J),{}.NODE_ENV!=="production"&&(Ar(S),_s(J,"mount")),Sa(S)&&(J.ctx.renderer=Le),{}.NODE_ENV!=="production"&&_s(J,"init"),qp(J),{}.NODE_ENV!=="production"&&xs(J,"init"),J.asyncDep){if(Z&&Z.registerDep(J,q),!S.el){const it=J.subTree=ct(Ye);v(null,it,F,X)}}else q(J,S,F,X,Z,nt,ut);({}).NODE_ENV!=="production"&&(Nr(),xs(J,"mount"))},Q=(S,F,X)=>{const W=F.component=S.component;if(Hf(S,F,X))if(W.asyncDep&&!W.asyncResolved){({}).NODE_ENV!=="production"&&Ar(F),at(W,F,X),{}.NODE_ENV!=="production"&&Nr();return}else W.next=F,If(W.update),W.effect.dirty=!0,W.update();else F.el=S.el,W.vnode=F},q=(S,F,X,W,Z,nt,ut)=>{const J=()=>{if(S.isMounted){let{next:ft,bu:St,u:kt,parent:Rt,vnode:At}=S;{const js=Fc(S);if(js){ft&&(ft.el=At.el,at(S,ft,ut)),js.asyncDep.then(()=>{S.isUnmounted||J()});return}}let Ut=ft,Jt;({}).NODE_ENV!=="production"&&Ar(ft||S.vnode),lo(S,!1),ft?(ft.el=At.el,at(S,ft,ut)):ft=At,St&&Bo(St),(Jt=ft.props&&ft.props.onVnodeBeforeUpdate)&&is(Jt,Rt,ft,At),lo(S,!0),{}.NODE_ENV!=="production"&&_s(S,"render");const le=ka(S);({}).NODE_ENV!=="production"&&xs(S,"render");const Me=S.subTree;S.subTree=le,{}.NODE_ENV!=="production"&&_s(S,"patch"),b(Me,le,d(Me.el),Qt(Me),S,Z,nt),{}.NODE_ENV!=="production"&&xs(S,"patch"),ft.el=le.el,Ut===null&&Wf(S,le.el),kt&&ze(kt,Z),(Jt=ft.props&&ft.props.onVnodeUpdated)&&ze(()=>is(Jt,Rt,ft,At),Z),{}.NODE_ENV!=="production"&&oc(S),{}.NODE_ENV!=="production"&&Nr()}else{let ft;const{el:St,props:kt}=F,{bm:Rt,m:At,parent:Ut}=S,Jt=qo(F);if(lo(S,!1),Rt&&Bo(Rt),!Jt&&(ft=kt&&kt.onVnodeBeforeMount)&&is(ft,Ut,F),lo(S,!0),St&&Fe){const le=()=>{({}).NODE_ENV!=="production"&&_s(S,"render"),S.subTree=ka(S),{}.NODE_ENV!=="production"&&xs(S,"render"),{}.NODE_ENV!=="production"&&_s(S,"hydrate"),Fe(St,S.subTree,S,Z,null),{}.NODE_ENV!=="production"&&xs(S,"hydrate")};Jt?F.type.__asyncLoader().then(()=>!S.isUnmounted&&le()):le()}else{({}).NODE_ENV!=="production"&&_s(S,"render");const le=S.subTree=ka(S);({}).NODE_ENV!=="production"&&xs(S,"render"),{}.NODE_ENV!=="production"&&_s(S,"patch"),b(null,le,X,W,S,Z,nt),{}.NODE_ENV!=="production"&&xs(S,"patch"),F.el=le.el}if(At&&ze(At,Z),!Jt&&(ft=kt&&kt.onVnodeMounted)){const le=F;ze(()=>is(ft,Ut,le),Z)}(F.shapeFlag&256||Ut&&qo(Ut.vnode)&&Ut.vnode.shapeFlag&256)&&S.a&&ze(S.a,Z),S.isMounted=!0,{}.NODE_ENV!=="production"&&Nf(S),F=X=W=null}},it=S.effect=new na(J,he,()=>zr(st),S.scope),st=S.update=()=>{it.dirty&&it.run()};st.id=S.uid,lo(S,!0),{}.NODE_ENV!=="production"&&(it.onTrack=S.rtc?ft=>Bo(S.rtc,ft):void 0,it.onTrigger=S.rtg?ft=>Bo(S.rtg,ft):void 0,st.ownerInstance=S),st()},at=(S,F,X)=>{F.component=S;const W=S.vnode.props;S.vnode=F,S.next=null,Pp(S,F.props,W,X),Mp(S,F.children,X),Is(),Kl(S),Rs()},U=(S,F,X,W,Z,nt,ut,J,it=!1)=>{const st=S&&S.children,ft=S?S.shapeFlag:0,St=F.children,{patchFlag:kt,shapeFlag:Rt}=F;if(kt>0){if(kt&128){yt(st,St,X,W,Z,nt,ut,J,it);return}else if(kt&256){H(st,St,X,W,Z,nt,ut,J,it);return}}Rt&8?(ft&16&&Tt(st,Z,nt),St!==st&&u(X,St)):ft&16?Rt&16?yt(st,St,X,W,Z,nt,ut,J,it):Tt(st,Z,nt,!0):(ft&8&&u(X,""),Rt&16&&I(St,X,W,Z,nt,ut,J,it))},H=(S,F,X,W,Z,nt,ut,J,it)=>{S=S||xo,F=F||xo;const st=S.length,ft=F.length,St=Math.min(st,ft);let kt;for(kt=0;kt<St;kt++){const Rt=F[kt]=it?As(F[kt]):ss(F[kt]);b(S[kt],Rt,X,null,Z,nt,ut,J,it)}st>ft?Tt(S,Z,nt,!0,!1,St):I(F,X,W,Z,nt,ut,J,it,St)},yt=(S,F,X,W,Z,nt,ut,J,it)=>{let st=0;const ft=F.length;let St=S.length-1,kt=ft-1;for(;st<=St&&st<=kt;){const Rt=S[st],At=F[st]=it?As(F[st]):ss(F[st]);if(rr(Rt,At))b(Rt,At,X,null,Z,nt,ut,J,it);else break;st++}for(;st<=St&&st<=kt;){const Rt=S[St],At=F[kt]=it?As(F[kt]):ss(F[kt]);if(rr(Rt,At))b(Rt,At,X,null,Z,nt,ut,J,it);else break;St--,kt--}if(st>St){if(st<=kt){const Rt=kt+1,At=Rt<ft?F[Rt].el:W;for(;st<=kt;)b(null,F[st]=it?As(F[st]):ss(F[st]),X,At,Z,nt,ut,J,it),st++}}else if(st>kt)for(;st<=St;)V(S[st],Z,nt,!0),st++;else{const Rt=st,At=st,Ut=new Map;for(st=At;st<=kt;st++){const Se=F[st]=it?As(F[st]):ss(F[st]);Se.key!=null&&({}.NODE_ENV!=="production"&&Ut.has(Se.key)&&dt("Duplicate keys found during update:",JSON.stringify(Se.key),"Make sure keys are unique."),Ut.set(Se.key,st))}let Jt,le=0;const Me=kt-At+1;let js=!1,Gn=0;const vo=new Array(Me);for(st=0;st<Me;st++)vo[st]=0;for(st=Rt;st<=St;st++){const Se=S[st];if(le>=Me){V(Se,Z,nt,!0);continue}let Ae;if(Se.key!=null)Ae=Ut.get(Se.key);else for(Jt=At;Jt<=kt;Jt++)if(vo[Jt-At]===0&&rr(Se,F[Jt])){Ae=Jt;break}Ae===void 0?V(Se,Z,nt,!0):(vo[Ae-At]=st+1,Ae>=Gn?Gn=Ae:js=!0,b(Se,F[Ae],X,null,Z,nt,ut,J,it),le++)}const Un=js?Vp(vo):xo;for(Jt=Un.length-1,st=Me-1;st>=0;st--){const Se=At+st,Ae=F[Se],jn=Se+1<ft?F[Se+1].el:W;vo[st]===0?b(null,Ae,X,jn,Z,nt,ut,J,it):js&&(Jt<0||st!==Un[Jt]?pt(Ae,X,jn,2):Jt--)}}},pt=(S,F,X,W,Z=null)=>{const{el:nt,type:ut,transition:J,children:it,shapeFlag:st}=S;if(st&6){pt(S.component.subTree,F,X,W);return}if(st&128){S.suspense.move(F,X,W);return}if(st&64){ut.move(S,F,X,Le);return}if(ut===Xt){s(nt,F,X);for(let St=0;St<it.length;St++)pt(it[St],F,X,W);s(S.anchor,F,X);return}if(ut===er){m(S,F,X);return}if(W!==2&&st&1&&J)if(W===0)J.beforeEnter(nt),s(nt,F,X),ze(()=>J.enter(nt),Z);else{const{leave:St,delayLeave:kt,afterLeave:Rt}=J,At=()=>s(nt,F,X),Ut=()=>{St(nt,()=>{At(),Rt&&Rt()})};kt?kt(nt,At,Ut):Ut()}else s(nt,F,X)},V=(S,F,X,W=!1,Z=!1)=>{const{type:nt,props:ut,ref:J,children:it,dynamicChildren:st,shapeFlag:ft,patchFlag:St,dirs:kt}=S;if(J!=null&&Ma(J,null,X,S,!0),ft&256){F.ctx.deactivate(S);return}const Rt=ft&1&&kt,At=!qo(S);let Ut;if(At&&(Ut=ut&&ut.onVnodeBeforeUnmount)&&is(Ut,F,S),ft&6)Nt(S.component,X,W);else{if(ft&128){S.suspense.unmount(X,W);return}Rt&&no(S,null,F,"beforeUnmount"),ft&64?S.type.remove(S,F,X,Z,Le,W):st&&(nt!==Xt||St>0&&St&64)?Tt(st,F,X,!1,!0):(nt===Xt&&St&384||!Z&&ft&16)&&Tt(it,F,X),W&&P(S)}(At&&(Ut=ut&&ut.onVnodeUnmounted)||Rt)&&ze(()=>{Ut&&is(Ut,F,S),Rt&&no(S,null,F,"unmounted")},X)},P=S=>{const{type:F,el:X,anchor:W,transition:Z}=S;if(F===Xt){({}).NODE_ENV!=="production"&&S.patchFlag>0&&S.patchFlag&2048&&Z&&!Z.persisted?S.children.forEach(ut=>{ut.type===Ye?r(ut.el):P(ut)}):Bt(X,W);return}if(F===er){k(S);return}const nt=()=>{r(X),Z&&!Z.persisted&&Z.afterLeave&&Z.afterLeave()};if(S.shapeFlag&1&&Z&&!Z.persisted){const{leave:ut,delayLeave:J}=Z,it=()=>ut(X,nt);J?J(S.el,nt,it):it()}else nt()},Bt=(S,F)=>{let X;for(;S!==F;)X=f(S),r(S),S=X;r(F)},Nt=(S,F,X)=>{({}).NODE_ENV!=="production"&&S.type.__hmrId&&$f(S);const{bum:W,scope:Z,update:nt,subTree:ut,um:J}=S;W&&Bo(W),Z.stop(),nt&&(nt.active=!1,V(ut,S,F,X)),J&&ze(J,F),ze(()=>{S.isUnmounted=!0},F),F&&F.pendingBranch&&!F.isUnmounted&&S.asyncDep&&!S.asyncResolved&&S.suspenseId===F.pendingId&&(F.deps--,F.deps===0&&F.resolve()),{}.NODE_ENV!=="production"&&Yf(S)},Tt=(S,F,X,W=!1,Z=!1,nt=0)=>{for(let ut=nt;ut<S.length;ut++)V(S[ut],F,X,W,Z)},Qt=S=>S.shapeFlag&6?Qt(S.component.subTree):S.shapeFlag&128?S.suspense.next():f(S.anchor||S.el);let Gt=!1;const j=(S,F,X)=>{S==null?F._vnode&&V(F._vnode,null,null,!0):b(F._vnode||null,S,F,null,null,null,X),Gt||(Gt=!0,Kl(),Ql(),Gt=!1),F._vnode=S},Le={p:b,um:V,m:pt,r:P,mt:rt,mc:I,pc:U,pbc:M,n:Qt,o};let Ge,Fe;return t&&([Ge,Fe]=t(Le)),{render:j,hydrate:Ge,createApp:Cp(j,Ge)}}function Aa({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 lo({effect:o,update:t},e){o.allowRecurse=t.allowRecurse=e}function Yp(o,t){return(!o||o&&!o.pendingBranch)&&t&&!t.persisted}function Zr(o,t,e=!1){const s=o.children,r=t.children;if(Pt(s)&&Pt(r))for(let n=0;n<s.length;n++){const a=s[n];let i=r[n];i.shapeFlag&1&&!i.dynamicChildren&&((i.patchFlag<=0||i.patchFlag===32)&&(i=r[n]=As(r[n]),i.el=a.el),e||Zr(a,i)),i.type===tr&&(i.el=a.el),{}.NODE_ENV!=="production"&&i.type===Ye&&!i.el&&(i.el=a.el)}}function Vp(o){const t=o.slice(),e=[0];let s,r,n,a,i;const l=o.length;for(s=0;s<l;s++){const c=o[s];if(c!==0){if(r=e[e.length-1],o[r]<c){t[s]=r,e.push(s);continue}for(n=0,a=e.length-1;n<a;)i=n+a>>1,o[e[i]]<c?n=i+1:a=i;c<o[e[n]]&&(n>0&&(t[s]=e[n-1]),e[n]=s)}}for(n=e.length,a=e[n-1];n-- >0;)e[n]=a,a=t[a];return e}function Fc(o){const t=o.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Fc(t)}const Bp=o=>o.__isTeleport,Xt=Symbol.for("v-fgt"),tr=Symbol.for("v-txt"),Ye=Symbol.for("v-cmt"),er=Symbol.for("v-stc"),sr=[];let es=null;function L(o=!1){sr.push(es=o?null:[])}function Xp(){sr.pop(),es=sr[sr.length-1]||null}let or=1;function $c(o){or+=o}function Dc(o){return o.dynamicChildren=or>0?es||xo:null,Xp(),or>0&&es&&es.push(o),o}function B(o,t,e,s,r,n){return Dc(E(o,t,e,s,r,n,!0))}function Mt(o,t,e,s,r){return Dc(ct(o,t,e,s,r,!0))}function Po(o){return o?o.__v_isVNode===!0:!1}function rr(o,t){return{}.NODE_ENV!=="production"&&t.shapeFlag&6&&To.has(t.type)?(o.shapeFlag&=-257,t.shapeFlag&=-513,!1):o.type===t.type&&o.key===t.key}const Gp=(...o)=>Mc(...o),qr="__vInternal",Lc=({key:o})=>o??null,Kr=({ref:o,ref_key:t,ref_for:e})=>(typeof o=="number"&&(o=""+o),o!=null?ce(o)||Ce(o)||Ft(o)?{i:fe,r:o,k:t,f:!!e}:o:null);function E(o,t=null,e=null,s=0,r=null,n=o===Xt?0:1,a=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:o,props:t,key:t&&Lc(t),ref:t&&Kr(t),scopeId:Vr,slotScopeIds:null,children:e,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:n,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:fe};return i?(Na(l,e),n&128&&o.normalize(l)):e&&(l.shapeFlag|=ce(e)?8:16),{}.NODE_ENV!=="production"&&l.key!==l.key&&dt("VNode created with invalid key (NaN). VNode type:",l.type),or>0&&!a&&es&&(l.patchFlag>0||n&6)&&l.patchFlag!==32&&es.push(l),l}const ct={}.NODE_ENV!=="production"?Gp:Mc;function Mc(o,t=null,e=null,s=0,r=null,n=!1){if((!o||o===Zf)&&({}.NODE_ENV!=="production"&&!o&&dt(`Invalid vnode type when creating vnode: ${o}.`),o=Ye),Po(o)){const i=Ms(o,t,!0);return e&&Na(i,e),or>0&&!n&&es&&(i.shapeFlag&6?es[es.indexOf(o)]=i:es.push(i)),i.patchFlag|=-2,i}if(Hc(o)&&(o=o.__vccOpts),t){t=Up(t);let{class:i,style:l}=t;i&&!ce(i)&&(t.class=ae(i)),Ht(l)&&(fa(l)&&!Pt(l)&&(l=ie({},l)),t.style=A(l))}const a=ce(o)?1:qf(o)?128:Bp(o)?64:Ht(o)?4:Ft(o)?2:0;return{}.NODE_ENV!=="production"&&a&4&&fa(o)&&(o=Lt(o),dt("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`.",`
21
21
  Component that was made reactive: `,o)),E(o,t,e,s,r,a,n,!0)}function Up(o){return o?fa(o)||qr in o?ie({},o):o:null}function Ms(o,t,e=!1){const{props:s,ref:r,patchFlag:n,children:a}=o,i=t?za(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:o.type,props:i,key:i&&Lc(i),ref:t&&t.ref?e&&r?Pt(r)?r.concat(Kr(t)):[r,Kr(t)]:Kr(t):r,scopeId:o.scopeId,slotScopeIds:o.slotScopeIds,children:{}.NODE_ENV!=="production"&&n===-1&&Pt(a)?a.map(Ac):a,target:o.target,targetAnchor:o.targetAnchor,staticCount:o.staticCount,shapeFlag:o.shapeFlag,patchFlag:t&&o.type!==Xt?n===-1?16:n|16:n,dynamicProps:o.dynamicProps,dynamicChildren:o.dynamicChildren,appContext:o.appContext,dirs:o.dirs,transition:o.transition,component:o.component,suspense:o.suspense,ssContent:o.ssContent&&Ms(o.ssContent),ssFallback:o.ssFallback&&Ms(o.ssFallback),el:o.el,anchor:o.anchor,ctx:o.ctx,ce:o.ce}}function Ac(o){const t=Ms(o);return Pt(o.children)&&(t.children=o.children.map(Ac)),t}function jt(o=" ",t=0){return ct(tr,null,o,t)}function Nc(o,t){const e=ct(er,null,o);return e.staticCount=t,e}function $t(o="",t=!1){return t?(L(),Mt(Ye,null,o)):ct(Ye,null,o)}function ss(o){return o==null||typeof o=="boolean"?ct(Ye):Pt(o)?ct(Xt,null,o.slice()):typeof o=="object"?As(o):ct(tr,null,String(o))}function As(o){return o.el===null&&o.patchFlag!==-1||o.memo?o:Ms(o)}function Na(o,t){let e=0;const{shapeFlag:s}=o;if(t==null)t=null;else if(Pt(t))e=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Na(o,r()),r._c&&(r._d=!0));return}else{e=32;const r=t._;!r&&!(qr in t)?t._ctx=fe:r===3&&fe&&(fe.slots._===1?t._=1:(t._=2,o.patchFlag|=1024))}else Ft(t)?(t={default:t,_ctx:fe},e=32):(t=String(t),s&64?(e=16,t=[jt(t)]):e=8);o.children=t,o.shapeFlag|=e}function za(...o){const t={};for(let e=0;e<o.length;e++){const s=o[e];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=ae([t.class,s.class]));else if(r==="style")t.style=A([t.style,s.style]);else if(Yo(r)){const n=t[r],a=s[r];a&&n!==a&&!(Pt(n)&&n.includes(a))&&(t[r]=n?[].concat(n,a):a)}else r!==""&&(t[r]=s[r])}return t}function is(o,t,e,s=null){ts(o,t,7,[e,s])}const jp=_c();let Hp=0;function Wp(o,t,e){const s=o.type,r=(t?t.appContext:o.appContext)||jp,n={uid:Hp++,vnode:o,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Wh(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:wc(s,r),emitsOptions:nc(s,r),emit:null,emitted:null,propsDefaults:Wt,inheritAttrs:s.inheritAttrs,ctx:Wt,data:Wt,props:Wt,attrs:Wt,slots:Wt,refs:Wt,setupState:Wt,setupContext:null,attrsProxy:null,slotsProxy: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"?n.ctx=hp(n):n.ctx={_:n},n.root=t?t.root:n,n.emit=Gf.bind(null,n),o.ce&&o.ce(n),n}let _e=null;const zc=()=>_e||fe;let Qr,Ya;{const o=oa(),t=(e,s)=>{let r;return(r=o[e])||(r=o[e]=[]),r.push(s),n=>{r.length>1?r.forEach(a=>a(n)):r[0](n)}};Qr=t("__VUE_INSTANCE_SETTERS__",e=>_e=e),Ya=t("__VUE_SSR_SETTERS__",e=>Jr=e)}const nr=o=>{const t=_e;return Qr(o),o.scope.on(),()=>{o.scope.off(),Qr(t)}},Yc=()=>{_e&&_e.scope.off(),Qr(null)},Zp=_o("slot,component");function Va(o,{isNativeTag:t}){(Zp(o)||t(o))&&dt("Do not use built-in or reserved HTML elements as component id: "+o)}function Vc(o){return o.vnode.shapeFlag&4}let Jr=!1;function qp(o,t=!1){t&&Ya(t);const{props:e,children:s}=o.vnode,r=Vc(o);Sp(o,e,r,t),Lp(o,s);const n=r?Kp(o,t):void 0;return t&&Ya(!1),n}function Kp(o,t){var e;const s=o.type;if({}.NODE_ENV!=="production"){if(s.name&&Va(s.name,o.appContext.config),s.components){const n=Object.keys(s.components);for(let a=0;a<n.length;a++)Va(n[a],o.appContext.config)}if(s.directives){const n=Object.keys(s.directives);for(let a=0;a<n.length;a++)dc(n[a])}s.compilerOptions&&Qp()&&dt('"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=Bl(new Proxy(o.ctx,pc)),{}.NODE_ENV!=="production"&&fp(o);const{setup:r}=s;if(r){const n=o.setupContext=r.length>1?Uc(o):null,a=nr(o);Is();const i=ys(r,o,0,[{}.NODE_ENV!=="production"?ko(o.props):o.props,n]);if(Rs(),a(),ta(i)){if(i.then(Yc,Yc),t)return i.then(l=>{Bc(o,l,t)}).catch(l=>{Go(l,o,0)});if(o.asyncDep=i,{}.NODE_ENV!=="production"&&!o.suspense){const l=(e=s.name)!=null?e:"Anonymous";dt(`Component <${l}>: 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 Bc(o,i,t)}else Xc(o,t)}function Bc(o,t,e){Ft(t)?o.type.__ssrInlineRender?o.ssrRender=t:o.render=t:Ht(t)?({}.NODE_ENV!=="production"&&Po(t)&&dt("setup() should not return VNodes directly - return a render function instead."),{}.NODE_ENV!=="production"&&(o.devtoolsRawSetupState=t),o.setupState=Ul(t),{}.NODE_ENV!=="production"&&pp(o)):{}.NODE_ENV!=="production"&&t!==void 0&&dt(`setup() should return an object. Received: ${t===null?"null":typeof t}`),Xc(o,e)}let Ba;const Qp=()=>!Ba;function Xc(o,t,e){const s=o.type;if(!o.render){if(!t&&Ba&&!s.render){const r=s.template||Ra(o).template;if(r){({}).NODE_ENV!=="production"&&_s(o,"compile");const{isCustomElement:n,compilerOptions:a}=o.appContext.config,{delimiters:i,compilerOptions:l}=s,c=ie(ie({isCustomElement:n,delimiters:i},a),l);s.render=Ba(r,c),{}.NODE_ENV!=="production"&&xs(o,"compile")}}o.render=s.render||he}{const r=nr(o);Is();try{vp(o)}finally{Rs(),r()}}({}).NODE_ENV!=="production"&&!s.render&&o.render===he&&!t&&(s.template?dt('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".'):dt("Component is missing template or render function."))}function Gc(o){return o.attrsProxy||(o.attrsProxy=new Proxy(o.attrs,{}.NODE_ENV!=="production"?{get(t,e){return Xr(),ke(o,"get","$attrs"),t[e]},set(){return dt("setupContext.attrs is readonly."),!1},deleteProperty(){return dt("setupContext.attrs is readonly."),!1}}:{get(t,e){return ke(o,"get","$attrs"),t[e]}}))}function Jp(o){return o.slotsProxy||(o.slotsProxy=new Proxy(o.slots,{get(t,e){return ke(o,"get","$slots"),t[e]}}))}function Uc(o){const t=e=>{if({}.NODE_ENV!=="production"&&(o.exposed&&dt("expose() should be called only once per setup()."),e!=null)){let s=typeof e;s==="object"&&(Pt(e)?s="array":Ce(e)&&(s="ref")),s!=="object"&&dt(`expose() should be passed a plain object, received ${s}.`)}o.exposed=e||{}};return{}.NODE_ENV!=="production"?Object.freeze({get attrs(){return Gc(o)},get slots(){return Jp(o)},get emit(){return(e,...s)=>o.emit(e,...s)},expose:t}):{get attrs(){return Gc(o)},slots:o.slots,emit:o.emit,expose:t}}function tn(o){if(o.exposed)return o.exposeProxy||(o.exposeProxy=new Proxy(Ul(Bl(o.exposed)),{get(t,e){if(e in t)return t[e];if(e in io)return io[e](o)},has(t,e){return e in t||e in io}}))}const tm=/(?:^|[-_])(\w)/g,em=o=>o.replace(tm,t=>t.toUpperCase()).replace(/[-_]/g,"");function jc(o,t=!0){return Ft(o)?o.displayName||o.name:o.name||t&&o.__name}function en(o,t,e=!1){let s=jc(t);if(!s&&t.__file){const r=t.__file.match(/([^/\\]+)\.\w+$/);r&&(s=r[1])}if(!s&&o&&o.parent){const r=n=>{for(const a in n)if(n[a]===t)return a};s=r(o.components||o.parent.type.components)||r(o.appContext.components)}return s?em(s):e?"App":"Anonymous"}function Hc(o){return Ft(o)&&"__vccOpts"in o}const sm=(o,t)=>{const e=bf(o,t,Jr);if({}.NODE_ENV!=="production"){const s=zc();s&&s.appContext.config.warnRecursiveComputed&&(e._warnRecursive=!0)}return e};function qt(o,t,e){const s=arguments.length;return s===2?Ht(t)&&!Pt(t)?Po(t)?ct(o,null,[t]):ct(o,t):ct(o,null,t):(s>3?e=Array.prototype.slice.call(arguments,2):s===3&&Po(e)&&(e=[e]),ct(o,t,e))}function om(){if({}.NODE_ENV==="production"||typeof window>"u")return;const o={style:"color:#3ba776"},t={style:"color:#1677ff"},e={style:"color:#f5222d"},s={style:"color:#eb2f96"},r={header(d){return Ht(d)?d.__isVue?["div",o,"VueInstance"]:Ce(d)?["div",{},["span",o,u(d)],"<",i(d.value),">"]:Qs(d)?["div",{},["span",o,Js(d)?"ShallowReactive":"Reactive"],"<",i(d),`>${$s(d)?" (readonly)":""}`]:$s(d)?["div",{},["span",o,Js(d)?"ShallowReadonly":"Readonly"],"<",i(d),">"]:null:null},hasBody(d){return d&&d.__isVue},body(d){if(d&&d.__isVue)return["div",{},...n(d.$)]}};function n(d){const f=[];d.type.props&&d.props&&f.push(a("props",Lt(d.props))),d.setupState!==Wt&&f.push(a("setup",d.setupState)),d.data!==Wt&&f.push(a("data",Lt(d.data)));const p=l(d,"computed");p&&f.push(a("computed",p));const h=l(d,"inject");return h&&f.push(a("injected",h)),f.push(["div",{},["span",{style:s.style+";opacity:0.66"},"$ (internal): "],["object",{object:d}]]),f}function a(d,f){return f=ie({},f),Object.keys(f).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},d],["div",{style:"padding-left:1.25em"},...Object.keys(f).map(p=>["div",{},["span",s,p+": "],i(f[p],!1)])]]:["span",{}]}function i(d,f=!0){return typeof d=="number"?["span",t,d]:typeof d=="string"?["span",e,JSON.stringify(d)]:typeof d=="boolean"?["span",s,d]:Ht(d)?["object",{object:f?Lt(d):d}]:["span",e,String(d)]}function l(d,f){const p=d.type;if(Ft(p))return;const h={};for(const b in d.ctx)c(p,b,f)&&(h[b]=d.ctx[b]);return h}function c(d,f,p){const h=d[p];if(Pt(h)&&h.includes(f)||Ht(h)&&f in h||d.extends&&c(d.extends,f,p)||d.mixins&&d.mixins.some(b=>c(b,f,p)))return!0}function u(d){return Js(d)?"ShallowRef":d.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(r):window.devtoolsFormatters=[r]}const Wc="3.4.21",Xa={}.NODE_ENV!=="production"?dt:he;/**
22
22
  * @vue/runtime-dom v3.4.21
23
23
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
@@ -49,25 +49,25 @@ Component that was made reactive: `,o)),E(o,t,e,s,r,a,n,!0)}function Up(o){retur
49
49
  * Copyright (c) 2016 Jorik Tangelder;
50
50
  * Licensed under the MIT license */(function(o){(function(t,e,s,r){var n=["","webkit","Moz","MS","ms","o"],a=e.createElement("div"),i="function",l=Math.round,c=Math.abs,u=Date.now;function d(y,x,O){return setTimeout(g(y,O),x)}function f(y,x,O){return Array.isArray(y)?(p(y,O[x],O),!0):!1}function p(y,x,O){var Y;if(y)if(y.forEach)y.forEach(x,O);else if(y.length!==r)for(Y=0;Y<y.length;)x.call(O,y[Y],Y,y),Y++;else for(Y in y)y.hasOwnProperty(Y)&&x.call(O,y[Y],Y,y)}function h(y,x,O){var Y="DEPRECATED METHOD: "+x+`
51
51
  `+O+` AT
52
- `;return function(){var ot=new Error("get-stack-trace"),gt=ot&&ot.stack?ot.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",Yt=t.console&&(t.console.warn||t.console.log);return Yt&&Yt.call(t.console,Y,gt),y.apply(this,arguments)}}var b;typeof Object.assign!="function"?b=function(x){if(x===r||x===null)throw new TypeError("Cannot convert undefined or null to object");for(var O=Object(x),Y=1;Y<arguments.length;Y++){var ot=arguments[Y];if(ot!==r&&ot!==null)for(var gt in ot)ot.hasOwnProperty(gt)&&(O[gt]=ot[gt])}return O}:b=Object.assign;var _=h(function(x,O,Y){for(var ot=Object.keys(O),gt=0;gt<ot.length;)(!Y||Y&&x[ot[gt]]===r)&&(x[ot[gt]]=O[ot[gt]]),gt++;return x},"extend","Use `assign`."),v=h(function(x,O){return _(x,O,!0)},"merge","Use `assign`.");function w(y,x,O){var Y=x.prototype,ot;ot=y.prototype=Object.create(Y),ot.constructor=y,ot._super=Y,O&&b(ot,O)}function g(y,x){return function(){return y.apply(x,arguments)}}function m(y,x){return typeof y==i?y.apply(x&&x[0]||r,x):y}function k(y,x){return y===r?x:y}function C(y,x,O){p(D(x),function(Y){y.addEventListener(Y,O,!1)})}function z(y,x,O){p(D(x),function(Y){y.removeEventListener(Y,O,!1)})}function tt(y,x){for(;y;){if(y==x)return!0;y=y.parentNode}return!1}function I(y,x){return y.indexOf(x)>-1}function D(y){return y.trim().split(/\s+/g)}function M(y,x,O){if(y.indexOf&&!O)return y.indexOf(x);for(var Y=0;Y<y.length;){if(O&&y[Y][O]==x||!O&&y[Y]===x)return Y;Y++}return-1}function $(y){return Array.prototype.slice.call(y,0)}function N(y,x,O){for(var Y=[],ot=[],gt=0;gt<y.length;){var Yt=x?y[gt][x]:y[gt];M(ot,Yt)<0&&Y.push(y[gt]),ot[gt]=Yt,gt++}return O&&(x?Y=Y.sort(function(Ee,Ne){return Ee[x]>Ne[x]}):Y=Y.sort()),Y}function G(y,x){for(var O,Y,ot=x[0].toUpperCase()+x.slice(1),gt=0;gt<n.length;){if(O=n[gt],Y=O?O+ot:x,Y in y)return Y;gt++}return r}var rt=1;function Q(){return rt++}function q(y){var x=y.ownerDocument||y;return x.defaultView||x.parentWindow||t}var at=/mobile|tablet|ip(ad|hone|od)|android/i,U="ontouchstart"in t,H=G(t,"PointerEvent")!==r,yt=U&&at.test(navigator.userAgent),pt="touch",V="pen",P="mouse",Bt="kinect",Nt=25,Ct=1,Qt=2,Gt=4,j=8,Le=1,Ge=2,Fe=4,S=8,F=16,X=Ge|Fe,W=S|F,Z=X|W,nt=["x","y"],ut=["clientX","clientY"];function J(y,x){var O=this;this.manager=y,this.callback=x,this.element=y.element,this.target=y.options.inputTarget,this.domHandler=function(Y){m(y.options.enable,[y])&&O.handler(Y)},this.init()}J.prototype={handler:function(){},init:function(){this.evEl&&C(this.element,this.evEl,this.domHandler),this.evTarget&&C(this.target,this.evTarget,this.domHandler),this.evWin&&C(q(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&z(this.element,this.evEl,this.domHandler),this.evTarget&&z(this.target,this.evTarget,this.domHandler),this.evWin&&z(q(this.element),this.evWin,this.domHandler)}};function it(y){var x,O=y.options.inputClass;return O?x=O:H?x=rl:yt?x=Hn:U?x=nl:x=Ae,new x(y,st)}function st(y,x,O){var Y=O.pointers.length,ot=O.changedPointers.length,gt=x&Ct&&Y-ot===0,Yt=x&(Gt|j)&&Y-ot===0;O.isFirst=!!gt,O.isFinal=!!Yt,gt&&(y.session={}),O.eventType=x,ft(y,O),y.emit("hammer.input",O),y.recognize(O),y.session.prevInput=O}function ft(y,x){var O=y.session,Y=x.pointers,ot=Y.length;O.firstInput||(O.firstInput=Rt(x)),ot>1&&!O.firstMultiple?O.firstMultiple=Rt(x):ot===1&&(O.firstMultiple=!1);var gt=O.firstInput,Yt=O.firstMultiple,we=Yt?Yt.center:gt.center,Ee=x.center=At(Y);x.timeStamp=u(),x.deltaTime=x.timeStamp-gt.timeStamp,x.angle=Me(we,Ee),x.distance=le(we,Ee),St(O,x),x.offsetDirection=Jt(x.deltaX,x.deltaY);var Ne=Ut(x.deltaTime,x.deltaX,x.deltaY);x.overallVelocityX=Ne.x,x.overallVelocityY=Ne.y,x.overallVelocity=c(Ne.x)>c(Ne.y)?Ne.x:Ne.y,x.scale=Yt?Gn(Yt.pointers,Y):1,x.rotation=Yt?js(Yt.pointers,Y):0,x.maxPointers=O.prevInput?x.pointers.length>O.prevInput.maxPointers?x.pointers.length:O.prevInput.maxPointers:x.pointers.length,kt(O,x);var ms=y.element;tt(x.srcEvent.target,ms)&&(ms=x.srcEvent.target),x.target=ms}function St(y,x){var O=x.center,Y=y.offsetDelta||{},ot=y.prevDelta||{},gt=y.prevInput||{};(x.eventType===Ct||gt.eventType===Gt)&&(ot=y.prevDelta={x:gt.deltaX||0,y:gt.deltaY||0},Y=y.offsetDelta={x:O.x,y:O.y}),x.deltaX=ot.x+(O.x-Y.x),x.deltaY=ot.y+(O.y-Y.y)}function kt(y,x){var O=y.lastInterval||x,Y=x.timeStamp-O.timeStamp,ot,gt,Yt,we;if(x.eventType!=j&&(Y>Nt||O.velocity===r)){var Ee=x.deltaX-O.deltaX,Ne=x.deltaY-O.deltaY,ms=Ut(Y,Ee,Ne);gt=ms.x,Yt=ms.y,ot=c(ms.x)>c(ms.y)?ms.x:ms.y,we=Jt(Ee,Ne),y.lastInterval=x}else ot=O.velocity,gt=O.velocityX,Yt=O.velocityY,we=O.direction;x.velocity=ot,x.velocityX=gt,x.velocityY=Yt,x.direction=we}function Rt(y){for(var x=[],O=0;O<y.pointers.length;)x[O]={clientX:l(y.pointers[O].clientX),clientY:l(y.pointers[O].clientY)},O++;return{timeStamp:u(),pointers:x,center:At(x),deltaX:y.deltaX,deltaY:y.deltaY}}function At(y){var x=y.length;if(x===1)return{x:l(y[0].clientX),y:l(y[0].clientY)};for(var O=0,Y=0,ot=0;ot<x;)O+=y[ot].clientX,Y+=y[ot].clientY,ot++;return{x:l(O/x),y:l(Y/x)}}function Ut(y,x,O){return{x:x/y||0,y:O/y||0}}function Jt(y,x){return y===x?Le:c(y)>=c(x)?y<0?Ge:Fe:x<0?S:F}function le(y,x,O){O||(O=nt);var Y=x[O[0]]-y[O[0]],ot=x[O[1]]-y[O[1]];return Math.sqrt(Y*Y+ot*ot)}function Me(y,x,O){O||(O=nt);var Y=x[O[0]]-y[O[0]],ot=x[O[1]]-y[O[1]];return Math.atan2(ot,Y)*180/Math.PI}function js(y,x){return Me(x[1],x[0],ut)+Me(y[1],y[0],ut)}function Gn(y,x){return le(x[0],x[1],ut)/le(y[0],y[1],ut)}var vo={mousedown:Ct,mousemove:Qt,mouseup:Gt},Un="mousedown",Se="mousemove mouseup";function Ae(){this.evEl=Un,this.evWin=Se,this.pressed=!1,J.apply(this,arguments)}w(Ae,J,{handler:function(x){var O=vo[x.type];O&Ct&&x.button===0&&(this.pressed=!0),O&Qt&&x.which!==1&&(O=Gt),this.pressed&&(O&Gt&&(this.pressed=!1),this.callback(this.manager,O,{pointers:[x],changedPointers:[x],pointerType:P,srcEvent:x}))}});var jn={pointerdown:Ct,pointermove:Qt,pointerup:Gt,pointercancel:j,pointerout:j},$_={2:pt,3:V,4:P,5:Bt},Ch="pointerdown",Th="pointermove pointerup pointercancel";t.MSPointerEvent&&!t.PointerEvent&&(Ch="MSPointerDown",Th="MSPointerMove MSPointerUp MSPointerCancel");function rl(){this.evEl=Ch,this.evWin=Th,J.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}w(rl,J,{handler:function(x){var O=this.store,Y=!1,ot=x.type.toLowerCase().replace("ms",""),gt=jn[ot],Yt=$_[x.pointerType]||x.pointerType,we=Yt==pt,Ee=M(O,x.pointerId,"pointerId");gt&Ct&&(x.button===0||we)?Ee<0&&(O.push(x),Ee=O.length-1):gt&(Gt|j)&&(Y=!0),!(Ee<0)&&(O[Ee]=x,this.callback(this.manager,gt,{pointers:O,changedPointers:[x],pointerType:Yt,srcEvent:x}),Y&&O.splice(Ee,1))}});var D_={touchstart:Ct,touchmove:Qt,touchend:Gt,touchcancel:j},L_="touchstart",M_="touchstart touchmove touchend touchcancel";function Sh(){this.evTarget=L_,this.evWin=M_,this.started=!1,J.apply(this,arguments)}w(Sh,J,{handler:function(x){var O=D_[x.type];if(O===Ct&&(this.started=!0),!!this.started){var Y=A_.call(this,x,O);O&(Gt|j)&&Y[0].length-Y[1].length===0&&(this.started=!1),this.callback(this.manager,O,{pointers:Y[0],changedPointers:Y[1],pointerType:pt,srcEvent:x})}}});function A_(y,x){var O=$(y.touches),Y=$(y.changedTouches);return x&(Gt|j)&&(O=N(O.concat(Y),"identifier",!0)),[O,Y]}var N_={touchstart:Ct,touchmove:Qt,touchend:Gt,touchcancel:j},z_="touchstart touchmove touchend touchcancel";function Hn(){this.evTarget=z_,this.targetIds={},J.apply(this,arguments)}w(Hn,J,{handler:function(x){var O=N_[x.type],Y=Y_.call(this,x,O);Y&&this.callback(this.manager,O,{pointers:Y[0],changedPointers:Y[1],pointerType:pt,srcEvent:x})}});function Y_(y,x){var O=$(y.touches),Y=this.targetIds;if(x&(Ct|Qt)&&O.length===1)return Y[O[0].identifier]=!0,[O,O];var ot,gt,Yt=$(y.changedTouches),we=[],Ee=this.target;if(gt=O.filter(function(Ne){return tt(Ne.target,Ee)}),x===Ct)for(ot=0;ot<gt.length;)Y[gt[ot].identifier]=!0,ot++;for(ot=0;ot<Yt.length;)Y[Yt[ot].identifier]&&we.push(Yt[ot]),x&(Gt|j)&&delete Y[Yt[ot].identifier],ot++;if(we.length)return[N(gt.concat(we),"identifier",!0),we]}var V_=2500,Eh=25;function nl(){J.apply(this,arguments);var y=g(this.handler,this);this.touch=new Hn(this.manager,y),this.mouse=new Ae(this.manager,y),this.primaryTouch=null,this.lastTouches=[]}w(nl,J,{handler:function(x,O,Y){var ot=Y.pointerType==pt,gt=Y.pointerType==P;if(!(gt&&Y.sourceCapabilities&&Y.sourceCapabilities.firesTouchEvents)){if(ot)B_.call(this,O,Y);else if(gt&&X_.call(this,Y))return;this.callback(x,O,Y)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});function B_(y,x){y&Ct?(this.primaryTouch=x.changedPointers[0].identifier,Ph.call(this,x)):y&(Gt|j)&&Ph.call(this,x)}function Ph(y){var x=y.changedPointers[0];if(x.identifier===this.primaryTouch){var O={x:x.clientX,y:x.clientY};this.lastTouches.push(O);var Y=this.lastTouches,ot=function(){var gt=Y.indexOf(O);gt>-1&&Y.splice(gt,1)};setTimeout(ot,V_)}}function X_(y){for(var x=y.srcEvent.clientX,O=y.srcEvent.clientY,Y=0;Y<this.lastTouches.length;Y++){var ot=this.lastTouches[Y],gt=Math.abs(x-ot.x),Yt=Math.abs(O-ot.y);if(gt<=Eh&&Yt<=Eh)return!0}return!1}var Oh=G(a.style,"touchAction"),Ih=Oh!==r,Rh="compute",Fh="auto",al="manipulation",bo="none",_r="pan-x",xr="pan-y",Wn=U_();function il(y,x){this.manager=y,this.set(x)}il.prototype={set:function(y){y==Rh&&(y=this.compute()),Ih&&this.manager.element.style&&Wn[y]&&(this.manager.element.style[Oh]=y),this.actions=y.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var y=[];return p(this.manager.recognizers,function(x){m(x.options.enable,[x])&&(y=y.concat(x.getTouchAction()))}),G_(y.join(" "))},preventDefaults:function(y){var x=y.srcEvent,O=y.offsetDirection;if(this.manager.session.prevented){x.preventDefault();return}var Y=this.actions,ot=I(Y,bo)&&!Wn[bo],gt=I(Y,xr)&&!Wn[xr],Yt=I(Y,_r)&&!Wn[_r];if(ot){var we=y.pointers.length===1,Ee=y.distance<2,Ne=y.deltaTime<250;if(we&&Ee&&Ne)return}if(!(Yt&&gt)&&(ot||gt&&O&X||Yt&&O&W))return this.preventSrc(x)},preventSrc:function(y){this.manager.session.prevented=!0,y.preventDefault()}};function G_(y){if(I(y,bo))return bo;var x=I(y,_r),O=I(y,xr);return x&&O?bo:x||O?x?_r:xr:I(y,al)?al:Fh}function U_(){if(!Ih)return!1;var y={},x=t.CSS&&t.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(O){y[O]=x?t.CSS.supports("touch-action",O):!0}),y}var Zn=1,Qe=2,zo=4,Hs=8,Cs=Hs,wr=16,ps=32;function Ts(y){this.options=b({},this.defaults,y||{}),this.id=Q(),this.manager=null,this.options.enable=k(this.options.enable,!0),this.state=Zn,this.simultaneous={},this.requireFail=[]}Ts.prototype={defaults:{},set:function(y){return b(this.options,y),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(y){if(f(y,"recognizeWith",this))return this;var x=this.simultaneous;return y=qn(y,this),x[y.id]||(x[y.id]=y,y.recognizeWith(this)),this},dropRecognizeWith:function(y){return f(y,"dropRecognizeWith",this)?this:(y=qn(y,this),delete this.simultaneous[y.id],this)},requireFailure:function(y){if(f(y,"requireFailure",this))return this;var x=this.requireFail;return y=qn(y,this),M(x,y)===-1&&(x.push(y),y.requireFailure(this)),this},dropRequireFailure:function(y){if(f(y,"dropRequireFailure",this))return this;y=qn(y,this);var x=M(this.requireFail,y);return x>-1&&this.requireFail.splice(x,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(y){return!!this.simultaneous[y.id]},emit:function(y){var x=this,O=this.state;function Y(ot){x.manager.emit(ot,y)}O<Hs&&Y(x.options.event+$h(O)),Y(x.options.event),y.additionalEvent&&Y(y.additionalEvent),O>=Hs&&Y(x.options.event+$h(O))},tryEmit:function(y){if(this.canEmit())return this.emit(y);this.state=ps},canEmit:function(){for(var y=0;y<this.requireFail.length;){if(!(this.requireFail[y].state&(ps|Zn)))return!1;y++}return!0},recognize:function(y){var x=b({},y);if(!m(this.options.enable,[this,x])){this.reset(),this.state=ps;return}this.state&(Cs|wr|ps)&&(this.state=Zn),this.state=this.process(x),this.state&(Qe|zo|Hs|wr)&&this.tryEmit(x)},process:function(y){},getTouchAction:function(){},reset:function(){}};function $h(y){return y&wr?"cancel":y&Hs?"end":y&zo?"move":y&Qe?"start":""}function Dh(y){return y==F?"down":y==S?"up":y==Ge?"left":y==Fe?"right":""}function qn(y,x){var O=x.manager;return O?O.get(y):y}function os(){Ts.apply(this,arguments)}w(os,Ts,{defaults:{pointers:1},attrTest:function(y){var x=this.options.pointers;return x===0||y.pointers.length===x},process:function(y){var x=this.state,O=y.eventType,Y=x&(Qe|zo),ot=this.attrTest(y);return Y&&(O&j||!ot)?x|wr:Y||ot?O&Gt?x|Hs:x&Qe?x|zo:Qe:ps}});function Kn(){os.apply(this,arguments),this.pX=null,this.pY=null}w(Kn,os,{defaults:{event:"pan",threshold:10,pointers:1,direction:Z},getTouchAction:function(){var y=this.options.direction,x=[];return y&X&&x.push(xr),y&W&&x.push(_r),x},directionTest:function(y){var x=this.options,O=!0,Y=y.distance,ot=y.direction,gt=y.deltaX,Yt=y.deltaY;return ot&x.direction||(x.direction&X?(ot=gt===0?Le:gt<0?Ge:Fe,O=gt!=this.pX,Y=Math.abs(y.deltaX)):(ot=Yt===0?Le:Yt<0?S:F,O=Yt!=this.pY,Y=Math.abs(y.deltaY))),y.direction=ot,O&&Y>x.threshold&&ot&x.direction},attrTest:function(y){return os.prototype.attrTest.call(this,y)&&(this.state&Qe||!(this.state&Qe)&&this.directionTest(y))},emit:function(y){this.pX=y.deltaX,this.pY=y.deltaY;var x=Dh(y.direction);x&&(y.additionalEvent=this.options.event+x),this._super.emit.call(this,y)}});function ll(){os.apply(this,arguments)}w(ll,os,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[bo]},attrTest:function(y){return this._super.attrTest.call(this,y)&&(Math.abs(y.scale-1)>this.options.threshold||this.state&Qe)},emit:function(y){if(y.scale!==1){var x=y.scale<1?"in":"out";y.additionalEvent=this.options.event+x}this._super.emit.call(this,y)}});function cl(){Ts.apply(this,arguments),this._timer=null,this._input=null}w(cl,Ts,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Fh]},process:function(y){var x=this.options,O=y.pointers.length===x.pointers,Y=y.distance<x.threshold,ot=y.deltaTime>x.time;if(this._input=y,!Y||!O||y.eventType&(Gt|j)&&!ot)this.reset();else if(y.eventType&Ct)this.reset(),this._timer=d(function(){this.state=Cs,this.tryEmit()},x.time,this);else if(y.eventType&Gt)return Cs;return ps},reset:function(){clearTimeout(this._timer)},emit:function(y){this.state===Cs&&(y&&y.eventType&Gt?this.manager.emit(this.options.event+"up",y):(this._input.timeStamp=u(),this.manager.emit(this.options.event,this._input)))}});function ul(){os.apply(this,arguments)}w(ul,os,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[bo]},attrTest:function(y){return this._super.attrTest.call(this,y)&&(Math.abs(y.rotation)>this.options.threshold||this.state&Qe)}});function dl(){os.apply(this,arguments)}w(dl,os,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:X|W,pointers:1},getTouchAction:function(){return Kn.prototype.getTouchAction.call(this)},attrTest:function(y){var x=this.options.direction,O;return x&(X|W)?O=y.overallVelocity:x&X?O=y.overallVelocityX:x&W&&(O=y.overallVelocityY),this._super.attrTest.call(this,y)&&x&y.offsetDirection&&y.distance>this.options.threshold&&y.maxPointers==this.options.pointers&&c(O)>this.options.velocity&&y.eventType&Gt},emit:function(y){var x=Dh(y.offsetDirection);x&&this.manager.emit(this.options.event+x,y),this.manager.emit(this.options.event,y)}});function Qn(){Ts.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}w(Qn,Ts,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[al]},process:function(y){var x=this.options,O=y.pointers.length===x.pointers,Y=y.distance<x.threshold,ot=y.deltaTime<x.time;if(this.reset(),y.eventType&Ct&&this.count===0)return this.failTimeout();if(Y&&ot&&O){if(y.eventType!=Gt)return this.failTimeout();var gt=this.pTime?y.timeStamp-this.pTime<x.interval:!0,Yt=!this.pCenter||le(this.pCenter,y.center)<x.posThreshold;this.pTime=y.timeStamp,this.pCenter=y.center,!Yt||!gt?this.count=1:this.count+=1,this._input=y;var we=this.count%x.taps;if(we===0)return this.hasRequireFailures()?(this._timer=d(function(){this.state=Cs,this.tryEmit()},x.interval,this),Qe):Cs}return ps},failTimeout:function(){return this._timer=d(function(){this.state=ps},this.options.interval,this),ps},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==Cs&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}});function Ss(y,x){return x=x||{},x.recognizers=k(x.recognizers,Ss.defaults.preset),new hl(y,x)}Ss.VERSION="2.0.7",Ss.defaults={domEvents:!1,touchAction:Rh,enable:!0,inputTarget:null,inputClass:null,preset:[[ul,{enable:!1}],[ll,{enable:!1},["rotate"]],[dl,{direction:X}],[Kn,{direction:X},["swipe"]],[Qn],[Qn,{event:"doubletap",taps:2},["tap"]],[cl]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var j_=1,Lh=2;function hl(y,x){this.options=b({},Ss.defaults,x||{}),this.options.inputTarget=this.options.inputTarget||y,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=y,this.input=it(this),this.touchAction=new il(this,this.options.touchAction),Mh(this,!0),p(this.options.recognizers,function(O){var Y=this.add(new O[0](O[1]));O[2]&&Y.recognizeWith(O[2]),O[3]&&Y.requireFailure(O[3])},this)}hl.prototype={set:function(y){return b(this.options,y),y.touchAction&&this.touchAction.update(),y.inputTarget&&(this.input.destroy(),this.input.target=y.inputTarget,this.input.init()),this},stop:function(y){this.session.stopped=y?Lh:j_},recognize:function(y){var x=this.session;if(!x.stopped){this.touchAction.preventDefaults(y);var O,Y=this.recognizers,ot=x.curRecognizer;(!ot||ot&&ot.state&Cs)&&(ot=x.curRecognizer=null);for(var gt=0;gt<Y.length;)O=Y[gt],x.stopped!==Lh&&(!ot||O==ot||O.canRecognizeWith(ot))?O.recognize(y):O.reset(),!ot&&O.state&(Qe|zo|Hs)&&(ot=x.curRecognizer=O),gt++}},get:function(y){if(y instanceof Ts)return y;for(var x=this.recognizers,O=0;O<x.length;O++)if(x[O].options.event==y)return x[O];return null},add:function(y){if(f(y,"add",this))return this;var x=this.get(y.options.event);return x&&this.remove(x),this.recognizers.push(y),y.manager=this,this.touchAction.update(),y},remove:function(y){if(f(y,"remove",this))return this;if(y=this.get(y),y){var x=this.recognizers,O=M(x,y);O!==-1&&(x.splice(O,1),this.touchAction.update())}return this},on:function(y,x){if(y!==r&&x!==r){var O=this.handlers;return p(D(y),function(Y){O[Y]=O[Y]||[],O[Y].push(x)}),this}},off:function(y,x){if(y!==r){var O=this.handlers;return p(D(y),function(Y){x?O[Y]&&O[Y].splice(M(O[Y],x),1):delete O[Y]}),this}},emit:function(y,x){this.options.domEvents&&H_(y,x);var O=this.handlers[y]&&this.handlers[y].slice();if(!(!O||!O.length)){x.type=y,x.preventDefault=function(){x.srcEvent.preventDefault()};for(var Y=0;Y<O.length;)O[Y](x),Y++}},destroy:function(){this.element&&Mh(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}};function Mh(y,x){var O=y.element;if(O.style){var Y;p(y.options.cssProps,function(ot,gt){Y=G(O.style,gt),x?(y.oldCssProps[Y]=O.style[Y],O.style[Y]=ot):O.style[Y]=y.oldCssProps[Y]||""}),x||(y.oldCssProps={})}}function H_(y,x){var O=e.createEvent("Event");O.initEvent(y,!0,!0),O.gesture=x,x.target.dispatchEvent(O)}b(Ss,{INPUT_START:Ct,INPUT_MOVE:Qt,INPUT_END:Gt,INPUT_CANCEL:j,STATE_POSSIBLE:Zn,STATE_BEGAN:Qe,STATE_CHANGED:zo,STATE_ENDED:Hs,STATE_RECOGNIZED:Cs,STATE_CANCELLED:wr,STATE_FAILED:ps,DIRECTION_NONE:Le,DIRECTION_LEFT:Ge,DIRECTION_RIGHT:Fe,DIRECTION_UP:S,DIRECTION_DOWN:F,DIRECTION_HORIZONTAL:X,DIRECTION_VERTICAL:W,DIRECTION_ALL:Z,Manager:hl,Input:J,TouchAction:il,TouchInput:Hn,MouseInput:Ae,PointerEventInput:rl,TouchMouseInput:nl,SingleTouchInput:Sh,Recognizer:Ts,AttrRecognizer:os,Tap:Qn,Pan:Kn,Swipe:dl,Pinch:ll,Rotate:ul,Press:cl,on:C,off:z,each:p,merge:v,extend:_,assign:b,inherit:w,bindFn:g,prefixed:G});var W_=typeof t<"u"?t:typeof self<"u"?self:{};W_.Hammer=Ss,typeof r=="function"&&r.amd?r(function(){return Ss}):o.exports?o.exports=Ss:t[s]=Ss})(window,document,"Hammer")})(md);var Lg=md.exports;const Mg=tg(Lg);class Ag{constructor(){}static getFormatKeyNames(t){const e=ug(),s=[];return t.ctrl&&s.push(e?"Cmd":"Ctrl"),t.shift&&s.push("Shift"),t.alt&&s.push("Alt"),typeof t.key=="string"?s.push(Ha(t.key)):Array.isArray(t.key)&&(t.key.map(r=>Ha(r)),s.push(...t.key)),s}static matchKeyScheme(t,e){const s=t.ctrl??!1,r=t.shift??!1,n=t.alt??!1;if(t.exact)return(s===e.metaKey||s===e.ctrlKey)&&r===e.shiftKey&&n===e.altKey;const a=[];return s&&a.push(s===e.metaKey||s===e.ctrlKey),r&&a.push(r===e.shiftKey),n&&a.push(n===e.altKey),a.every(i=>i)}static on(t,e){if(t?.key===void 0||t?.key===null)return e;const s=t?.target??window;let r=!1;const n=this.getFormatKeyNames(t),a=i=>{if(i.stopPropagation(),!r&&i.key!=="Control"&&i.key!=="Meta"&&i.key!=="Shift"&&i.key!=="Option"&&i.key!=="Alt"&&n.find(l=>l.toLowerCase()===i.key.toLowerCase())&&this.matchKeyScheme(t,i)){i.preventDefault();const l=e(i);if(typeof l!="function")return;const c=u=>{u.preventDefault(),l(u),s.removeEventListener("keyup",c)};s.addEventListener("keyup",c)}};return e.title=t?.title??"",e.formatedKeyNames=n,e.pause=()=>r=!0,e.restart=()=>r=!1,e.removeListener=()=>s.removeEventListener("keydown",a),s.addEventListener("keydown",a),e}}class We extends cn{container;width;height;mousePoint={x:0,y:0,dx:0,dy:0,dStartX:0,dStartY:0};hammer;removes=[];constructor(t=document.documentElement,e=!0,s){super(),this.container=t,this.width=t.offsetWidth,this.height=t.offsetHeight,this.hammer=new Mg(this.container),e&&this.start(s)}emitDebounce=Wm((t,...e)=>super.emit(t,...e),50);emit(t,...e){switch(t){case"panLeft":case"panRight":this.emitDebounce(t,...e);break;default:super.emit(t,...e);break}return this}start(t){this.registerMouseEventListeners(),this.registerTransitionEventListeners(),this.registerAnimationEventListeners(),this.registerResizeObserver(),this.registerElementDisplayInParent(),t&&t.forEach(e=>{this.addRemoves(e())}),this.on("pointerMove",e=>{this.setMousePoint(us(e,this.container))})}destroy(){this.removes.forEach(t=>t()),this.removes=[],this.removeAllListeners()}restart(){this.destroy(),this.start()}addRemoves(t){this.removes.push(t)}registerMouseEventListeners(){const t=j=>{this.emit("mouseDown",j)},e=j=>{this.emit("mouseUp",j)},s=j=>{this.emit("mouseMove",j)},r=j=>{this.emit("mouseOver",j)},n=j=>{this.emit("mouseOut",j)},a=j=>{this.emit("mouseEnter",j)},i=j=>{this.emit("mouseLeave",j)},l=j=>{this.emit("mouseClick",j)},c=j=>{this.emit("mouseDoubleClick",j)},u=j=>{this.emit("mouseWheel",j)},d=j=>{this.emit("mouseContextMenu",j)},f=j=>{this.emit("touchStart",j)},p=j=>{this.emit("touchEnd",j)},h=j=>{this.emit("touchCancel",j)},b=j=>{this.emit("touchMove",j)},_=j=>{this.emit("pointerDown",j)},v=j=>{this.emit("pointerUp",j)},w=j=>{this.emit("pointerCancel",j)},g=j=>{this.emit("pointerMove",j)},m=j=>{this.emit("pan",j)},k=j=>{this.emit("panStart",j)},C=j=>{this.emit("panMove",j)},z=j=>{this.emit("panEnd",j)},tt=j=>{this.emit("panCancel",j)},I=j=>{this.emit("panLeft",j)},D=j=>{this.emit("panRight",j)},M=j=>{this.emit("panUp",j)},$=j=>{this.emit("panDown",j)},N=j=>{this.emit("pinch",j)},G=j=>{this.emit("press",j)},rt=j=>{this.emit("rotate",j)},Q=j=>{this.emit("swipe",j)},q=j=>{this.emit("swipeLeft",j)},at=j=>{this.emit("swipeRight",j)},U=j=>{this.emit("swipeUp",j)},H=j=>{this.emit("swipeDown",j)},yt=j=>{this.emit("tap",j)},pt=j=>{!j.target||this.container==j.target||this.container.contains(j.target)||this.emit("tapOutSide",j)},V=j=>{this.emit("inputChange",j,this.container.files)},P=j=>{this.emit("dragstart",j)},Bt=j=>{j.dataTransfer&&(j.dataTransfer.dropEffect="copy"),this.emit("dragover",j)},Nt=j=>{this.emit("dragenter",j)},Ct=j=>{this.emit("dragend",j)},Qt=j=>{j.dataTransfer,this.emit("drop",j,j.dataTransfer?.files)};this.container.addEventListener("mousedown",t,!1),this.container.addEventListener("mouseup",e,!1),this.container.addEventListener("mousemove",s,!1),this.container.addEventListener("mouseover",r,!1),this.container.addEventListener("mouseout",n,!1),this.container.addEventListener("mouseenter",a,!1),this.container.addEventListener("mouseleave",i,!1),this.container.addEventListener("click",l,!1),this.container.addEventListener("dblclick",c,!1),this.container.addEventListener("wheel",u,!1),this.container.addEventListener("contextmenu",d,!1),this.container.addEventListener("touchstart",f,!1),this.container.addEventListener("touchend",p,!1),this.container.addEventListener("touchcancel",h,!1),this.container.addEventListener("touchmove",b,!1),this.container.addEventListener("pointerdown",_,!1),this.container.addEventListener("pointerup",v,!1),this.container.addEventListener("pointercancel",w,!1),this.container.addEventListener("pointermove",g,!1),this.hammer.on("pan",m),this.hammer.on("panstart",k),this.hammer.on("panmove",C),this.hammer.on("panend",z),this.hammer.on("pancancel",tt),this.hammer.on("panleft",I),this.hammer.on("panright",D),this.hammer.on("panup",M),this.hammer.on("pandown",$),this.hammer.on("pinch",N),this.hammer.on("press",G),this.hammer.on("rotate",rt),this.hammer.on("swipe",Q),this.hammer.on("swipeleft",q),this.hammer.on("swiperight",at),this.hammer.on("swipeup",U),this.hammer.on("swipedown",H),this.hammer.on("tap",yt),document.addEventListener("pointerdown",pt,!1),this.container instanceof HTMLInputElement&&this.container.addEventListener("change",V,!1),this.container.addEventListener("dragstart",P,!1),this.container.addEventListener("dragover",Bt,!1),this.container.addEventListener("dragenter",Nt,!1),this.container.addEventListener("dragend",Ct,!1),this.container.addEventListener("drop",Qt,!1);const Gt=()=>{this.container.removeEventListener("mousedown",t,!1),this.container.removeEventListener("mouseup",e,!1),this.container.removeEventListener("mousemove",s,!1),this.container.removeEventListener("mouseover",r,!1),this.container.removeEventListener("mouseout",n,!1),this.container.removeEventListener("mouseenter",a,!1),this.container.removeEventListener("mouseleave",i,!1),this.container.removeEventListener("click",l,!1),this.container.removeEventListener("dblclick",c,!1),this.container.removeEventListener("wheel",u,!1),this.container.removeEventListener("contextmenu",d,!1),this.container.removeEventListener("touchstart",f,!1),this.container.removeEventListener("touchend",p,!1),this.container.removeEventListener("touchcancel",h,!1),this.container.removeEventListener("touchmove",b,!1),this.container.removeEventListener("pointerdown",_,!1),this.container.removeEventListener("pointerup",v,!1),this.container.removeEventListener("pointercancel",w),this.container.removeEventListener("pointermove",g,!1),this.hammer.off("pan",m),this.hammer.off("panstart",k),this.hammer.off("panmove",C),this.hammer.off("panend",z),this.hammer.off("pancancel",tt),this.hammer.off("panleft",I),this.hammer.off("panright",D),this.hammer.off("panup",M),this.hammer.off("pandown",$),this.hammer.off("pinch",N),this.hammer.off("press",G),this.hammer.off("rotate",rt),this.hammer.off("swipe",Q),this.hammer.off("swipeleft",q),this.hammer.off("swiperight",at),this.hammer.off("swipeup",U),this.hammer.off("swipedown",H),this.hammer.off("tap",yt),document.removeEventListener("pointerdown",pt,!1),document.removeEventListener("touchstart",pt,!1),document.removeEventListener("mousedown",pt,!1),this.container instanceof HTMLInputElement&&this.container.removeEventListener("change",V,!1),this.container.removeEventListener("dragstart",P,!1),this.container.removeEventListener("dragover",Bt,!1),this.container.removeEventListener("dragenter",Nt,!1),this.container.removeEventListener("dragend",Ct,!1),this.container.removeEventListener("drop",Qt,!1)};return this.addRemoves(Gt),Gt}registerTransitionEventListeners(){const t=r=>{this.emit("transitionstart",r)},e=r=>{this.emit("transitionend",r)};this.container.addEventListener("transitionstart",t,!1),this.container.addEventListener("transitionend",e,!1);const s=()=>{this.container.removeEventListener("transitionstart",t,!1),this.container.removeEventListener("transitionend",e,!1)};return this.addRemoves(s),s}registerAnimationEventListeners(){const t=r=>{this.emit("animationstart",r)},e=r=>{this.emit("animationend",r)};this.container.addEventListener("animationstart",t,!1),this.container.addEventListener("animationend",e,!1);const s=()=>{this.container.removeEventListener("animationstart",t,!1),this.container.removeEventListener("animationend",e,!1)};return this.addRemoves(s),s}registerKeyDown(t,e,s){const r=Ag.on(t,a=>(e(a,r.formatedKeyNames,r.pause,r.restart),s)),n=()=>{r.removeListener?.()};return this.addRemoves(n),n}registerResizeObserver(){let t;if(typeof ResizeObserver<"u"){const e=new ResizeObserver(s=>{const{width:r,height:n}=s[0].contentRect;this.width=r,this.height=n,this.emit("resize",r,n)});e.observe(this.container),t=()=>{e.unobserve(this.container)}}else{const e="orientationchange"in window?"orientationchange":"resize",s=r=>{const n=r.target.innerWidth,a=r.target.innerHeight;this.emit("resize",n,a)};window.addEventListener(e,s,!1),t=()=>{window.removeEventListener(e,s,!1)}}return this.addRemoves(t),t}registerElementDisplayInParent(t){const e={threshold:t?.threshold||.5,root:t?.parentElement},s=new IntersectionObserver((n,a)=>{let i=n[0];if(n.length>1){const c=n.find(u=>u.isIntersecting);c&&(i=c)}i.isIntersecting&&i.intersectionRatio>=e.threshold?this.emit("showInParent"):this.emit("showOffParent")},e);s.observe(this.container);const r=()=>{s.unobserve(this.container)};return this.addRemoves(r),r}registerPullDownRefresh(t){const e=t?.distance||50;return this.captureDrag({move:(s,r)=>{r.dStartY>0&&r.dStartY<e&&this.emit("pullDowning",r.dStartY)},end:(s,r)=>{r.dStartY>=e&&this.emit("pullDown")}})}registerPullUpLoading(t){const e=t?.distance||50;return this.captureDrag({move:(s,r)=>{r.dStartY>0&&r.dStartY<e&&this.emit("pullUping",r.dStartY)},end:(s,r)=>{r.dStartY>=e&&this.emit("pullUp")}})}setMousePoint(t){this.mousePoint.x=t.x,this.mousePoint.y=t.y,this.mousePoint.dx=typeof t.dx=="number"?t.dx:0,this.mousePoint.dy=typeof t.dy=="number"?t.dy:0,this.mousePoint.dStartX=typeof t.dStartX=="number"?t.dStartX:0,this.mousePoint.dStartY=typeof t.dStartY=="number"?t.dStartY:0}captureDrag(t){return this.captureDragUsePointer(t)}captureDragUsePointer(t){let e,s;const r=l=>{l.preventDefault(),l.stopPropagation(),this.on("pointerMove",a),this.on("pointerUp",n),this.on("pointerCancel",n),s=us(l,this.container);const c={...s};e=c,this.setMousePoint(c),t?.start?.(l,c)},n=l=>{l.preventDefault(),l.stopPropagation(),this.off("pointerMove",a),this.off("pointerUp",n),this.off("pointerCancel",n),s=us(l,this.container);const c={...s,dStartX:e?s.x-e.x:0,dStartY:e?s.y-e.y:0};this.setMousePoint(c),t?.end?.(l,c),e=null},a=l=>{l.preventDefault(),l.stopPropagation();const c={...s};s=us(l,this.container);const u={...s,dx:s.x-(c.x||0),dy:s.y-(c.y||0),dStartX:e?s.x-e.x:0,dStartY:e?s.y-e.y:0};this.setMousePoint(u),t?.move?.(l,u)};this.on("pointerDown",r);const i=()=>{this.off("pointerDown",r)};return this.addRemoves(i),i}captureDragUseMouse(t){let e,s;const r=l=>{l.preventDefault(),l.stopPropagation(),document.addEventListener("mousemove",a,!1),document.addEventListener("mouseup",n,!1),s=us(l,this.container);const c={...s};e=c,this.setMousePoint(c),t?.start?.(l,c)},n=l=>{l.preventDefault(),l.stopPropagation(),document.removeEventListener("mousemove",a,!1),document.removeEventListener("mouseup",n,!1),s=us(l,this.container);const c={...s,dStartX:e?s.x-e.x:0,dStartY:e?s.y-e.y:0};this.setMousePoint(c),t?.end?.(l,c),e=null},a=l=>{l.preventDefault(),l.stopPropagation();const c={...s};s=us(l,this.container);const u={...s,dx:s.x-(c.x||0),dy:s.y-(c.y||0),dStartX:e?s.x-e.x:0,dStartY:e?s.y-e.y:0};this.setMousePoint(u),t?.move?.(l,u)};this.on("mouseDown",r);const i=()=>{this.off("mouseDown",r)};return this.addRemoves(i),i}captureDragUseTouch(t){let e,s;const r=l=>{l.preventDefault(),l.stopPropagation(),this.on("touchMove",a),this.on("touchEnd",n),this.on("touchCancel",n);const c=l.changedTouches[0];s=us(c,this.container);const u={...s};e=u,this.setMousePoint(u),t?.start?.(c,u)},n=l=>{l.preventDefault(),l.stopPropagation(),this.off("touchMove",a),this.off("touchEnd",n),this.off("touchCancel",n);const c=l.changedTouches[0];s=us(c,this.container);const u={...s,dStartX:e?s.x-e.x:0,dStartY:e?s.y-e.y:0};this.setMousePoint(u),t?.end?.(c,u),e=null},a=l=>{l.preventDefault(),l.stopPropagation();const c=l.changedTouches[0],u={...s};s=us(c,this.container);const d={...s,dx:s.x-(u.x||0),dy:s.y-(u.y||0),dStartX:e?s.x-e.x:0,dStartY:e?s.y-e.y:0};this.setMousePoint(d),t?.move?.(c,d)};this.on("touchStart",r);const i=()=>{this.off("touchStart",r)};return this.addRemoves(i),i}}const Re=new We(document.documentElement,!0,[()=>Ng("(prefers-color-scheme: dark)"),zg,Vg,Yg]);Re.registerKeyDown({title:"打开",key:"o",ctrl:!0,exact:!0},()=>{og().then(o=>rg(o[0])).then(o=>{Re.emit("openFile",o)}).catch(o=>{Re.emit("openFileError",o)})});function Ng(o){let t="";switch(o){case"(prefers-color-scheme: dark)":t="matchMediaChangePrefersColorSchemeDark";break;default:t=o;break}const e=s=>{Re.emit(t,s.matches)};return window.matchMedia(o).addEventListener("change",e,!1),()=>{window.matchMedia(o).removeEventListener("change",e,!1)}}function zg(){let o="";const t=new MutationObserver(r=>{location.href!==o&&(o=location.href,Re.emit("urlchange",location.href))});t.observe(document,{attributes:!0,childList:!0,subtree:!0});const e=()=>{Re.emit("hashchange",location.hash)};window.addEventListener("hashchange",e,!1);const s=()=>{Re.emit("popstate")};return window.addEventListener("popstate",s,!1),()=>{t.disconnect(),window.removeEventListener("hashchange",e,!1),window.removeEventListener("popstate",s,!1)}}function Yg(){const o=n=>{Re.emit("beforeunload",n)};window.addEventListener("beforeunload",o,!1);const t=n=>{Re.emit("pagehide",n)};window.addEventListener("pagehide",t,!1);const e=n=>{Re.emit("windowFocus",n)};window.addEventListener("focus",e,!1);const s=n=>{Re.emit("windowBlur",n)};window.addEventListener("blur",s,!1);const r=n=>{document.hidden?Re.emit("windowVisibilityChangeHide",n):Re.emit("windowVisibilityChangeShow",n)};return document.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("beforeunload",o,!1),window.removeEventListener("pagehide",t,!1),window.removeEventListener("focus",e,!1),window.removeEventListener("blur",s,!1),document.removeEventListener("visibilitychange",r,!1)}}function Vg(){const o=t=>{Re.emit("scroll",t)};return document.addEventListener("scroll",o,!1),()=>{document.removeEventListener("scroll",o,!1)}}class Ii{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"),s=document.createElement("video"),r=document.createElement("source"),n=new MediaSource;n.addEventListener("sourceopen",()=>t(!0)),r.src=URL.createObjectURL(n),r.media="(min-width:10px)",s.append(r),e.width="5",e.style.cssText="position: absolute; visibility: hidden;",document.documentElement.append(e),e.contentDocument?.body.append(s),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(()=>{Ii.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 Bg extends cn{source;raw="";mode="text";tagname="";nodename="";textchunk="";entity="";quote="";attrs={};constructor(t){super(),this.source=t}parse(){const t=Im(this.source);if(t===0){this.emit("finish");return}let e,s,r=iu(this.source,0);for(let n=1;n<t;n++)e=s,s=r,r=iu(this.source,n),this.raw+=s,s&&this.step(s,r,e);r&&this.step(r,void 0,s),this.emit("finish")}step(t,e,s){t==`
52
+ `;return function(){var ot=new Error("get-stack-trace"),gt=ot&&ot.stack?ot.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",Yt=t.console&&(t.console.warn||t.console.log);return Yt&&Yt.call(t.console,Y,gt),y.apply(this,arguments)}}var b;typeof Object.assign!="function"?b=function(x){if(x===r||x===null)throw new TypeError("Cannot convert undefined or null to object");for(var O=Object(x),Y=1;Y<arguments.length;Y++){var ot=arguments[Y];if(ot!==r&&ot!==null)for(var gt in ot)ot.hasOwnProperty(gt)&&(O[gt]=ot[gt])}return O}:b=Object.assign;var _=h(function(x,O,Y){for(var ot=Object.keys(O),gt=0;gt<ot.length;)(!Y||Y&&x[ot[gt]]===r)&&(x[ot[gt]]=O[ot[gt]]),gt++;return x},"extend","Use `assign`."),v=h(function(x,O){return _(x,O,!0)},"merge","Use `assign`.");function w(y,x,O){var Y=x.prototype,ot;ot=y.prototype=Object.create(Y),ot.constructor=y,ot._super=Y,O&&b(ot,O)}function g(y,x){return function(){return y.apply(x,arguments)}}function m(y,x){return typeof y==i?y.apply(x&&x[0]||r,x):y}function k(y,x){return y===r?x:y}function C(y,x,O){p(D(x),function(Y){y.addEventListener(Y,O,!1)})}function z(y,x,O){p(D(x),function(Y){y.removeEventListener(Y,O,!1)})}function tt(y,x){for(;y;){if(y==x)return!0;y=y.parentNode}return!1}function I(y,x){return y.indexOf(x)>-1}function D(y){return y.trim().split(/\s+/g)}function M(y,x,O){if(y.indexOf&&!O)return y.indexOf(x);for(var Y=0;Y<y.length;){if(O&&y[Y][O]==x||!O&&y[Y]===x)return Y;Y++}return-1}function $(y){return Array.prototype.slice.call(y,0)}function N(y,x,O){for(var Y=[],ot=[],gt=0;gt<y.length;){var Yt=x?y[gt][x]:y[gt];M(ot,Yt)<0&&Y.push(y[gt]),ot[gt]=Yt,gt++}return O&&(x?Y=Y.sort(function(Ee,Ne){return Ee[x]>Ne[x]}):Y=Y.sort()),Y}function G(y,x){for(var O,Y,ot=x[0].toUpperCase()+x.slice(1),gt=0;gt<n.length;){if(O=n[gt],Y=O?O+ot:x,Y in y)return Y;gt++}return r}var rt=1;function Q(){return rt++}function q(y){var x=y.ownerDocument||y;return x.defaultView||x.parentWindow||t}var at=/mobile|tablet|ip(ad|hone|od)|android/i,U="ontouchstart"in t,H=G(t,"PointerEvent")!==r,yt=U&&at.test(navigator.userAgent),pt="touch",V="pen",P="mouse",Bt="kinect",Nt=25,Tt=1,Qt=2,Gt=4,j=8,Le=1,Ge=2,Fe=4,S=8,F=16,X=Ge|Fe,W=S|F,Z=X|W,nt=["x","y"],ut=["clientX","clientY"];function J(y,x){var O=this;this.manager=y,this.callback=x,this.element=y.element,this.target=y.options.inputTarget,this.domHandler=function(Y){m(y.options.enable,[y])&&O.handler(Y)},this.init()}J.prototype={handler:function(){},init:function(){this.evEl&&C(this.element,this.evEl,this.domHandler),this.evTarget&&C(this.target,this.evTarget,this.domHandler),this.evWin&&C(q(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&z(this.element,this.evEl,this.domHandler),this.evTarget&&z(this.target,this.evTarget,this.domHandler),this.evWin&&z(q(this.element),this.evWin,this.domHandler)}};function it(y){var x,O=y.options.inputClass;return O?x=O:H?x=rl:yt?x=Hn:U?x=nl:x=Ae,new x(y,st)}function st(y,x,O){var Y=O.pointers.length,ot=O.changedPointers.length,gt=x&Tt&&Y-ot===0,Yt=x&(Gt|j)&&Y-ot===0;O.isFirst=!!gt,O.isFinal=!!Yt,gt&&(y.session={}),O.eventType=x,ft(y,O),y.emit("hammer.input",O),y.recognize(O),y.session.prevInput=O}function ft(y,x){var O=y.session,Y=x.pointers,ot=Y.length;O.firstInput||(O.firstInput=Rt(x)),ot>1&&!O.firstMultiple?O.firstMultiple=Rt(x):ot===1&&(O.firstMultiple=!1);var gt=O.firstInput,Yt=O.firstMultiple,we=Yt?Yt.center:gt.center,Ee=x.center=At(Y);x.timeStamp=u(),x.deltaTime=x.timeStamp-gt.timeStamp,x.angle=Me(we,Ee),x.distance=le(we,Ee),St(O,x),x.offsetDirection=Jt(x.deltaX,x.deltaY);var Ne=Ut(x.deltaTime,x.deltaX,x.deltaY);x.overallVelocityX=Ne.x,x.overallVelocityY=Ne.y,x.overallVelocity=c(Ne.x)>c(Ne.y)?Ne.x:Ne.y,x.scale=Yt?Gn(Yt.pointers,Y):1,x.rotation=Yt?js(Yt.pointers,Y):0,x.maxPointers=O.prevInput?x.pointers.length>O.prevInput.maxPointers?x.pointers.length:O.prevInput.maxPointers:x.pointers.length,kt(O,x);var ms=y.element;tt(x.srcEvent.target,ms)&&(ms=x.srcEvent.target),x.target=ms}function St(y,x){var O=x.center,Y=y.offsetDelta||{},ot=y.prevDelta||{},gt=y.prevInput||{};(x.eventType===Tt||gt.eventType===Gt)&&(ot=y.prevDelta={x:gt.deltaX||0,y:gt.deltaY||0},Y=y.offsetDelta={x:O.x,y:O.y}),x.deltaX=ot.x+(O.x-Y.x),x.deltaY=ot.y+(O.y-Y.y)}function kt(y,x){var O=y.lastInterval||x,Y=x.timeStamp-O.timeStamp,ot,gt,Yt,we;if(x.eventType!=j&&(Y>Nt||O.velocity===r)){var Ee=x.deltaX-O.deltaX,Ne=x.deltaY-O.deltaY,ms=Ut(Y,Ee,Ne);gt=ms.x,Yt=ms.y,ot=c(ms.x)>c(ms.y)?ms.x:ms.y,we=Jt(Ee,Ne),y.lastInterval=x}else ot=O.velocity,gt=O.velocityX,Yt=O.velocityY,we=O.direction;x.velocity=ot,x.velocityX=gt,x.velocityY=Yt,x.direction=we}function Rt(y){for(var x=[],O=0;O<y.pointers.length;)x[O]={clientX:l(y.pointers[O].clientX),clientY:l(y.pointers[O].clientY)},O++;return{timeStamp:u(),pointers:x,center:At(x),deltaX:y.deltaX,deltaY:y.deltaY}}function At(y){var x=y.length;if(x===1)return{x:l(y[0].clientX),y:l(y[0].clientY)};for(var O=0,Y=0,ot=0;ot<x;)O+=y[ot].clientX,Y+=y[ot].clientY,ot++;return{x:l(O/x),y:l(Y/x)}}function Ut(y,x,O){return{x:x/y||0,y:O/y||0}}function Jt(y,x){return y===x?Le:c(y)>=c(x)?y<0?Ge:Fe:x<0?S:F}function le(y,x,O){O||(O=nt);var Y=x[O[0]]-y[O[0]],ot=x[O[1]]-y[O[1]];return Math.sqrt(Y*Y+ot*ot)}function Me(y,x,O){O||(O=nt);var Y=x[O[0]]-y[O[0]],ot=x[O[1]]-y[O[1]];return Math.atan2(ot,Y)*180/Math.PI}function js(y,x){return Me(x[1],x[0],ut)+Me(y[1],y[0],ut)}function Gn(y,x){return le(x[0],x[1],ut)/le(y[0],y[1],ut)}var vo={mousedown:Tt,mousemove:Qt,mouseup:Gt},Un="mousedown",Se="mousemove mouseup";function Ae(){this.evEl=Un,this.evWin=Se,this.pressed=!1,J.apply(this,arguments)}w(Ae,J,{handler:function(x){var O=vo[x.type];O&Tt&&x.button===0&&(this.pressed=!0),O&Qt&&x.which!==1&&(O=Gt),this.pressed&&(O&Gt&&(this.pressed=!1),this.callback(this.manager,O,{pointers:[x],changedPointers:[x],pointerType:P,srcEvent:x}))}});var jn={pointerdown:Tt,pointermove:Qt,pointerup:Gt,pointercancel:j,pointerout:j},$_={2:pt,3:V,4:P,5:Bt},Ch="pointerdown",Th="pointermove pointerup pointercancel";t.MSPointerEvent&&!t.PointerEvent&&(Ch="MSPointerDown",Th="MSPointerMove MSPointerUp MSPointerCancel");function rl(){this.evEl=Ch,this.evWin=Th,J.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}w(rl,J,{handler:function(x){var O=this.store,Y=!1,ot=x.type.toLowerCase().replace("ms",""),gt=jn[ot],Yt=$_[x.pointerType]||x.pointerType,we=Yt==pt,Ee=M(O,x.pointerId,"pointerId");gt&Tt&&(x.button===0||we)?Ee<0&&(O.push(x),Ee=O.length-1):gt&(Gt|j)&&(Y=!0),!(Ee<0)&&(O[Ee]=x,this.callback(this.manager,gt,{pointers:O,changedPointers:[x],pointerType:Yt,srcEvent:x}),Y&&O.splice(Ee,1))}});var D_={touchstart:Tt,touchmove:Qt,touchend:Gt,touchcancel:j},L_="touchstart",M_="touchstart touchmove touchend touchcancel";function Sh(){this.evTarget=L_,this.evWin=M_,this.started=!1,J.apply(this,arguments)}w(Sh,J,{handler:function(x){var O=D_[x.type];if(O===Tt&&(this.started=!0),!!this.started){var Y=A_.call(this,x,O);O&(Gt|j)&&Y[0].length-Y[1].length===0&&(this.started=!1),this.callback(this.manager,O,{pointers:Y[0],changedPointers:Y[1],pointerType:pt,srcEvent:x})}}});function A_(y,x){var O=$(y.touches),Y=$(y.changedTouches);return x&(Gt|j)&&(O=N(O.concat(Y),"identifier",!0)),[O,Y]}var N_={touchstart:Tt,touchmove:Qt,touchend:Gt,touchcancel:j},z_="touchstart touchmove touchend touchcancel";function Hn(){this.evTarget=z_,this.targetIds={},J.apply(this,arguments)}w(Hn,J,{handler:function(x){var O=N_[x.type],Y=Y_.call(this,x,O);Y&&this.callback(this.manager,O,{pointers:Y[0],changedPointers:Y[1],pointerType:pt,srcEvent:x})}});function Y_(y,x){var O=$(y.touches),Y=this.targetIds;if(x&(Tt|Qt)&&O.length===1)return Y[O[0].identifier]=!0,[O,O];var ot,gt,Yt=$(y.changedTouches),we=[],Ee=this.target;if(gt=O.filter(function(Ne){return tt(Ne.target,Ee)}),x===Tt)for(ot=0;ot<gt.length;)Y[gt[ot].identifier]=!0,ot++;for(ot=0;ot<Yt.length;)Y[Yt[ot].identifier]&&we.push(Yt[ot]),x&(Gt|j)&&delete Y[Yt[ot].identifier],ot++;if(we.length)return[N(gt.concat(we),"identifier",!0),we]}var V_=2500,Eh=25;function nl(){J.apply(this,arguments);var y=g(this.handler,this);this.touch=new Hn(this.manager,y),this.mouse=new Ae(this.manager,y),this.primaryTouch=null,this.lastTouches=[]}w(nl,J,{handler:function(x,O,Y){var ot=Y.pointerType==pt,gt=Y.pointerType==P;if(!(gt&&Y.sourceCapabilities&&Y.sourceCapabilities.firesTouchEvents)){if(ot)B_.call(this,O,Y);else if(gt&&X_.call(this,Y))return;this.callback(x,O,Y)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});function B_(y,x){y&Tt?(this.primaryTouch=x.changedPointers[0].identifier,Ph.call(this,x)):y&(Gt|j)&&Ph.call(this,x)}function Ph(y){var x=y.changedPointers[0];if(x.identifier===this.primaryTouch){var O={x:x.clientX,y:x.clientY};this.lastTouches.push(O);var Y=this.lastTouches,ot=function(){var gt=Y.indexOf(O);gt>-1&&Y.splice(gt,1)};setTimeout(ot,V_)}}function X_(y){for(var x=y.srcEvent.clientX,O=y.srcEvent.clientY,Y=0;Y<this.lastTouches.length;Y++){var ot=this.lastTouches[Y],gt=Math.abs(x-ot.x),Yt=Math.abs(O-ot.y);if(gt<=Eh&&Yt<=Eh)return!0}return!1}var Oh=G(a.style,"touchAction"),Ih=Oh!==r,Rh="compute",Fh="auto",al="manipulation",bo="none",_r="pan-x",xr="pan-y",Wn=U_();function il(y,x){this.manager=y,this.set(x)}il.prototype={set:function(y){y==Rh&&(y=this.compute()),Ih&&this.manager.element.style&&Wn[y]&&(this.manager.element.style[Oh]=y),this.actions=y.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var y=[];return p(this.manager.recognizers,function(x){m(x.options.enable,[x])&&(y=y.concat(x.getTouchAction()))}),G_(y.join(" "))},preventDefaults:function(y){var x=y.srcEvent,O=y.offsetDirection;if(this.manager.session.prevented){x.preventDefault();return}var Y=this.actions,ot=I(Y,bo)&&!Wn[bo],gt=I(Y,xr)&&!Wn[xr],Yt=I(Y,_r)&&!Wn[_r];if(ot){var we=y.pointers.length===1,Ee=y.distance<2,Ne=y.deltaTime<250;if(we&&Ee&&Ne)return}if(!(Yt&&gt)&&(ot||gt&&O&X||Yt&&O&W))return this.preventSrc(x)},preventSrc:function(y){this.manager.session.prevented=!0,y.preventDefault()}};function G_(y){if(I(y,bo))return bo;var x=I(y,_r),O=I(y,xr);return x&&O?bo:x||O?x?_r:xr:I(y,al)?al:Fh}function U_(){if(!Ih)return!1;var y={},x=t.CSS&&t.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(O){y[O]=x?t.CSS.supports("touch-action",O):!0}),y}var Zn=1,Qe=2,zo=4,Hs=8,Cs=Hs,wr=16,ps=32;function Ts(y){this.options=b({},this.defaults,y||{}),this.id=Q(),this.manager=null,this.options.enable=k(this.options.enable,!0),this.state=Zn,this.simultaneous={},this.requireFail=[]}Ts.prototype={defaults:{},set:function(y){return b(this.options,y),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(y){if(f(y,"recognizeWith",this))return this;var x=this.simultaneous;return y=qn(y,this),x[y.id]||(x[y.id]=y,y.recognizeWith(this)),this},dropRecognizeWith:function(y){return f(y,"dropRecognizeWith",this)?this:(y=qn(y,this),delete this.simultaneous[y.id],this)},requireFailure:function(y){if(f(y,"requireFailure",this))return this;var x=this.requireFail;return y=qn(y,this),M(x,y)===-1&&(x.push(y),y.requireFailure(this)),this},dropRequireFailure:function(y){if(f(y,"dropRequireFailure",this))return this;y=qn(y,this);var x=M(this.requireFail,y);return x>-1&&this.requireFail.splice(x,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(y){return!!this.simultaneous[y.id]},emit:function(y){var x=this,O=this.state;function Y(ot){x.manager.emit(ot,y)}O<Hs&&Y(x.options.event+$h(O)),Y(x.options.event),y.additionalEvent&&Y(y.additionalEvent),O>=Hs&&Y(x.options.event+$h(O))},tryEmit:function(y){if(this.canEmit())return this.emit(y);this.state=ps},canEmit:function(){for(var y=0;y<this.requireFail.length;){if(!(this.requireFail[y].state&(ps|Zn)))return!1;y++}return!0},recognize:function(y){var x=b({},y);if(!m(this.options.enable,[this,x])){this.reset(),this.state=ps;return}this.state&(Cs|wr|ps)&&(this.state=Zn),this.state=this.process(x),this.state&(Qe|zo|Hs|wr)&&this.tryEmit(x)},process:function(y){},getTouchAction:function(){},reset:function(){}};function $h(y){return y&wr?"cancel":y&Hs?"end":y&zo?"move":y&Qe?"start":""}function Dh(y){return y==F?"down":y==S?"up":y==Ge?"left":y==Fe?"right":""}function qn(y,x){var O=x.manager;return O?O.get(y):y}function os(){Ts.apply(this,arguments)}w(os,Ts,{defaults:{pointers:1},attrTest:function(y){var x=this.options.pointers;return x===0||y.pointers.length===x},process:function(y){var x=this.state,O=y.eventType,Y=x&(Qe|zo),ot=this.attrTest(y);return Y&&(O&j||!ot)?x|wr:Y||ot?O&Gt?x|Hs:x&Qe?x|zo:Qe:ps}});function Kn(){os.apply(this,arguments),this.pX=null,this.pY=null}w(Kn,os,{defaults:{event:"pan",threshold:10,pointers:1,direction:Z},getTouchAction:function(){var y=this.options.direction,x=[];return y&X&&x.push(xr),y&W&&x.push(_r),x},directionTest:function(y){var x=this.options,O=!0,Y=y.distance,ot=y.direction,gt=y.deltaX,Yt=y.deltaY;return ot&x.direction||(x.direction&X?(ot=gt===0?Le:gt<0?Ge:Fe,O=gt!=this.pX,Y=Math.abs(y.deltaX)):(ot=Yt===0?Le:Yt<0?S:F,O=Yt!=this.pY,Y=Math.abs(y.deltaY))),y.direction=ot,O&&Y>x.threshold&&ot&x.direction},attrTest:function(y){return os.prototype.attrTest.call(this,y)&&(this.state&Qe||!(this.state&Qe)&&this.directionTest(y))},emit:function(y){this.pX=y.deltaX,this.pY=y.deltaY;var x=Dh(y.direction);x&&(y.additionalEvent=this.options.event+x),this._super.emit.call(this,y)}});function ll(){os.apply(this,arguments)}w(ll,os,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[bo]},attrTest:function(y){return this._super.attrTest.call(this,y)&&(Math.abs(y.scale-1)>this.options.threshold||this.state&Qe)},emit:function(y){if(y.scale!==1){var x=y.scale<1?"in":"out";y.additionalEvent=this.options.event+x}this._super.emit.call(this,y)}});function cl(){Ts.apply(this,arguments),this._timer=null,this._input=null}w(cl,Ts,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Fh]},process:function(y){var x=this.options,O=y.pointers.length===x.pointers,Y=y.distance<x.threshold,ot=y.deltaTime>x.time;if(this._input=y,!Y||!O||y.eventType&(Gt|j)&&!ot)this.reset();else if(y.eventType&Tt)this.reset(),this._timer=d(function(){this.state=Cs,this.tryEmit()},x.time,this);else if(y.eventType&Gt)return Cs;return ps},reset:function(){clearTimeout(this._timer)},emit:function(y){this.state===Cs&&(y&&y.eventType&Gt?this.manager.emit(this.options.event+"up",y):(this._input.timeStamp=u(),this.manager.emit(this.options.event,this._input)))}});function ul(){os.apply(this,arguments)}w(ul,os,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[bo]},attrTest:function(y){return this._super.attrTest.call(this,y)&&(Math.abs(y.rotation)>this.options.threshold||this.state&Qe)}});function dl(){os.apply(this,arguments)}w(dl,os,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:X|W,pointers:1},getTouchAction:function(){return Kn.prototype.getTouchAction.call(this)},attrTest:function(y){var x=this.options.direction,O;return x&(X|W)?O=y.overallVelocity:x&X?O=y.overallVelocityX:x&W&&(O=y.overallVelocityY),this._super.attrTest.call(this,y)&&x&y.offsetDirection&&y.distance>this.options.threshold&&y.maxPointers==this.options.pointers&&c(O)>this.options.velocity&&y.eventType&Gt},emit:function(y){var x=Dh(y.offsetDirection);x&&this.manager.emit(this.options.event+x,y),this.manager.emit(this.options.event,y)}});function Qn(){Ts.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}w(Qn,Ts,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[al]},process:function(y){var x=this.options,O=y.pointers.length===x.pointers,Y=y.distance<x.threshold,ot=y.deltaTime<x.time;if(this.reset(),y.eventType&Tt&&this.count===0)return this.failTimeout();if(Y&&ot&&O){if(y.eventType!=Gt)return this.failTimeout();var gt=this.pTime?y.timeStamp-this.pTime<x.interval:!0,Yt=!this.pCenter||le(this.pCenter,y.center)<x.posThreshold;this.pTime=y.timeStamp,this.pCenter=y.center,!Yt||!gt?this.count=1:this.count+=1,this._input=y;var we=this.count%x.taps;if(we===0)return this.hasRequireFailures()?(this._timer=d(function(){this.state=Cs,this.tryEmit()},x.interval,this),Qe):Cs}return ps},failTimeout:function(){return this._timer=d(function(){this.state=ps},this.options.interval,this),ps},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==Cs&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}});function Ss(y,x){return x=x||{},x.recognizers=k(x.recognizers,Ss.defaults.preset),new hl(y,x)}Ss.VERSION="2.0.7",Ss.defaults={domEvents:!1,touchAction:Rh,enable:!0,inputTarget:null,inputClass:null,preset:[[ul,{enable:!1}],[ll,{enable:!1},["rotate"]],[dl,{direction:X}],[Kn,{direction:X},["swipe"]],[Qn],[Qn,{event:"doubletap",taps:2},["tap"]],[cl]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var j_=1,Lh=2;function hl(y,x){this.options=b({},Ss.defaults,x||{}),this.options.inputTarget=this.options.inputTarget||y,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=y,this.input=it(this),this.touchAction=new il(this,this.options.touchAction),Mh(this,!0),p(this.options.recognizers,function(O){var Y=this.add(new O[0](O[1]));O[2]&&Y.recognizeWith(O[2]),O[3]&&Y.requireFailure(O[3])},this)}hl.prototype={set:function(y){return b(this.options,y),y.touchAction&&this.touchAction.update(),y.inputTarget&&(this.input.destroy(),this.input.target=y.inputTarget,this.input.init()),this},stop:function(y){this.session.stopped=y?Lh:j_},recognize:function(y){var x=this.session;if(!x.stopped){this.touchAction.preventDefaults(y);var O,Y=this.recognizers,ot=x.curRecognizer;(!ot||ot&&ot.state&Cs)&&(ot=x.curRecognizer=null);for(var gt=0;gt<Y.length;)O=Y[gt],x.stopped!==Lh&&(!ot||O==ot||O.canRecognizeWith(ot))?O.recognize(y):O.reset(),!ot&&O.state&(Qe|zo|Hs)&&(ot=x.curRecognizer=O),gt++}},get:function(y){if(y instanceof Ts)return y;for(var x=this.recognizers,O=0;O<x.length;O++)if(x[O].options.event==y)return x[O];return null},add:function(y){if(f(y,"add",this))return this;var x=this.get(y.options.event);return x&&this.remove(x),this.recognizers.push(y),y.manager=this,this.touchAction.update(),y},remove:function(y){if(f(y,"remove",this))return this;if(y=this.get(y),y){var x=this.recognizers,O=M(x,y);O!==-1&&(x.splice(O,1),this.touchAction.update())}return this},on:function(y,x){if(y!==r&&x!==r){var O=this.handlers;return p(D(y),function(Y){O[Y]=O[Y]||[],O[Y].push(x)}),this}},off:function(y,x){if(y!==r){var O=this.handlers;return p(D(y),function(Y){x?O[Y]&&O[Y].splice(M(O[Y],x),1):delete O[Y]}),this}},emit:function(y,x){this.options.domEvents&&H_(y,x);var O=this.handlers[y]&&this.handlers[y].slice();if(!(!O||!O.length)){x.type=y,x.preventDefault=function(){x.srcEvent.preventDefault()};for(var Y=0;Y<O.length;)O[Y](x),Y++}},destroy:function(){this.element&&Mh(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}};function Mh(y,x){var O=y.element;if(O.style){var Y;p(y.options.cssProps,function(ot,gt){Y=G(O.style,gt),x?(y.oldCssProps[Y]=O.style[Y],O.style[Y]=ot):O.style[Y]=y.oldCssProps[Y]||""}),x||(y.oldCssProps={})}}function H_(y,x){var O=e.createEvent("Event");O.initEvent(y,!0,!0),O.gesture=x,x.target.dispatchEvent(O)}b(Ss,{INPUT_START:Tt,INPUT_MOVE:Qt,INPUT_END:Gt,INPUT_CANCEL:j,STATE_POSSIBLE:Zn,STATE_BEGAN:Qe,STATE_CHANGED:zo,STATE_ENDED:Hs,STATE_RECOGNIZED:Cs,STATE_CANCELLED:wr,STATE_FAILED:ps,DIRECTION_NONE:Le,DIRECTION_LEFT:Ge,DIRECTION_RIGHT:Fe,DIRECTION_UP:S,DIRECTION_DOWN:F,DIRECTION_HORIZONTAL:X,DIRECTION_VERTICAL:W,DIRECTION_ALL:Z,Manager:hl,Input:J,TouchAction:il,TouchInput:Hn,MouseInput:Ae,PointerEventInput:rl,TouchMouseInput:nl,SingleTouchInput:Sh,Recognizer:Ts,AttrRecognizer:os,Tap:Qn,Pan:Kn,Swipe:dl,Pinch:ll,Rotate:ul,Press:cl,on:C,off:z,each:p,merge:v,extend:_,assign:b,inherit:w,bindFn:g,prefixed:G});var W_=typeof t<"u"?t:typeof self<"u"?self:{};W_.Hammer=Ss,typeof r=="function"&&r.amd?r(function(){return Ss}):o.exports?o.exports=Ss:t[s]=Ss})(window,document,"Hammer")})(md);var Lg=md.exports;const Mg=tg(Lg);class Ag{constructor(){}static getFormatKeyNames(t){const e=ug(),s=[];return t.ctrl&&s.push(e?"Cmd":"Ctrl"),t.shift&&s.push("Shift"),t.alt&&s.push("Alt"),typeof t.key=="string"?s.push(Ha(t.key)):Array.isArray(t.key)&&(t.key.map(r=>Ha(r)),s.push(...t.key)),s}static matchKeyScheme(t,e){const s=t.ctrl??!1,r=t.shift??!1,n=t.alt??!1;if(t.exact)return(s===e.metaKey||s===e.ctrlKey)&&r===e.shiftKey&&n===e.altKey;const a=[];return s&&a.push(s===e.metaKey||s===e.ctrlKey),r&&a.push(r===e.shiftKey),n&&a.push(n===e.altKey),a.every(i=>i)}static on(t,e){if(t?.key===void 0||t?.key===null)return e;const s=t?.target??window;let r=!1;const n=this.getFormatKeyNames(t),a=i=>{if(i.stopPropagation(),!r&&i.key!=="Control"&&i.key!=="Meta"&&i.key!=="Shift"&&i.key!=="Option"&&i.key!=="Alt"&&n.find(l=>l.toLowerCase()===i.key.toLowerCase())&&this.matchKeyScheme(t,i)){i.preventDefault();const l=e(i);if(typeof l!="function")return;const c=u=>{u.preventDefault(),l(u),s.removeEventListener("keyup",c)};s.addEventListener("keyup",c)}};return e.title=t?.title??"",e.formatedKeyNames=n,e.pause=()=>r=!0,e.restart=()=>r=!1,e.removeListener=()=>s.removeEventListener("keydown",a),s.addEventListener("keydown",a),e}}class We extends cn{container;width;height;mousePoint={x:0,y:0,dx:0,dy:0,dStartX:0,dStartY:0};hammer;removes=[];constructor(t=document.documentElement,e=!0,s){super(),this.container=t,this.width=t.offsetWidth,this.height=t.offsetHeight,this.hammer=new Mg(this.container),e&&this.start(s)}emitDebounce=Wm((t,...e)=>super.emit(t,...e),50);emit(t,...e){switch(t){case"panLeft":case"panRight":this.emitDebounce(t,...e);break;default:super.emit(t,...e);break}return this}start(t){this.registerMouseEventListeners(),this.registerTransitionEventListeners(),this.registerAnimationEventListeners(),this.registerResizeObserver(),this.registerElementDisplayInParent(),t&&t.forEach(e=>{this.addRemoves(e())}),this.on("pointerMove",e=>{this.setMousePoint(us(e,this.container))})}destroy(){this.removes.forEach(t=>t()),this.removes=[],this.removeAllListeners()}restart(){this.destroy(),this.start()}addRemoves(t){this.removes.push(t)}registerMouseEventListeners(){const t=j=>{this.emit("mouseDown",j)},e=j=>{this.emit("mouseUp",j)},s=j=>{this.emit("mouseMove",j)},r=j=>{this.emit("mouseOver",j)},n=j=>{this.emit("mouseOut",j)},a=j=>{this.emit("mouseEnter",j)},i=j=>{this.emit("mouseLeave",j)},l=j=>{this.emit("mouseClick",j)},c=j=>{this.emit("mouseDoubleClick",j)},u=j=>{this.emit("mouseWheel",j)},d=j=>{this.emit("mouseContextMenu",j)},f=j=>{this.emit("touchStart",j)},p=j=>{this.emit("touchEnd",j)},h=j=>{this.emit("touchCancel",j)},b=j=>{this.emit("touchMove",j)},_=j=>{this.emit("pointerDown",j)},v=j=>{this.emit("pointerUp",j)},w=j=>{this.emit("pointerCancel",j)},g=j=>{this.emit("pointerMove",j)},m=j=>{this.emit("pan",j)},k=j=>{this.emit("panStart",j)},C=j=>{this.emit("panMove",j)},z=j=>{this.emit("panEnd",j)},tt=j=>{this.emit("panCancel",j)},I=j=>{this.emit("panLeft",j)},D=j=>{this.emit("panRight",j)},M=j=>{this.emit("panUp",j)},$=j=>{this.emit("panDown",j)},N=j=>{this.emit("pinch",j)},G=j=>{this.emit("press",j)},rt=j=>{this.emit("rotate",j)},Q=j=>{this.emit("swipe",j)},q=j=>{this.emit("swipeLeft",j)},at=j=>{this.emit("swipeRight",j)},U=j=>{this.emit("swipeUp",j)},H=j=>{this.emit("swipeDown",j)},yt=j=>{this.emit("tap",j)},pt=j=>{!j.target||this.container==j.target||this.container.contains(j.target)||this.emit("tapOutSide",j)},V=j=>{this.emit("inputChange",j,this.container.files)},P=j=>{this.emit("dragstart",j)},Bt=j=>{j.dataTransfer&&(j.dataTransfer.dropEffect="copy"),this.emit("dragover",j)},Nt=j=>{this.emit("dragenter",j)},Tt=j=>{this.emit("dragend",j)},Qt=j=>{j.dataTransfer,this.emit("drop",j,j.dataTransfer?.files)};this.container.addEventListener("mousedown",t,!1),this.container.addEventListener("mouseup",e,!1),this.container.addEventListener("mousemove",s,!1),this.container.addEventListener("mouseover",r,!1),this.container.addEventListener("mouseout",n,!1),this.container.addEventListener("mouseenter",a,!1),this.container.addEventListener("mouseleave",i,!1),this.container.addEventListener("click",l,!1),this.container.addEventListener("dblclick",c,!1),this.container.addEventListener("wheel",u,!1),this.container.addEventListener("contextmenu",d,!1),this.container.addEventListener("touchstart",f,!1),this.container.addEventListener("touchend",p,!1),this.container.addEventListener("touchcancel",h,!1),this.container.addEventListener("touchmove",b,!1),this.container.addEventListener("pointerdown",_,!1),this.container.addEventListener("pointerup",v,!1),this.container.addEventListener("pointercancel",w,!1),this.container.addEventListener("pointermove",g,!1),this.hammer.on("pan",m),this.hammer.on("panstart",k),this.hammer.on("panmove",C),this.hammer.on("panend",z),this.hammer.on("pancancel",tt),this.hammer.on("panleft",I),this.hammer.on("panright",D),this.hammer.on("panup",M),this.hammer.on("pandown",$),this.hammer.on("pinch",N),this.hammer.on("press",G),this.hammer.on("rotate",rt),this.hammer.on("swipe",Q),this.hammer.on("swipeleft",q),this.hammer.on("swiperight",at),this.hammer.on("swipeup",U),this.hammer.on("swipedown",H),this.hammer.on("tap",yt),document.addEventListener("pointerdown",pt,!1),this.container instanceof HTMLInputElement&&this.container.addEventListener("change",V,!1),this.container.addEventListener("dragstart",P,!1),this.container.addEventListener("dragover",Bt,!1),this.container.addEventListener("dragenter",Nt,!1),this.container.addEventListener("dragend",Tt,!1),this.container.addEventListener("drop",Qt,!1);const Gt=()=>{this.container.removeEventListener("mousedown",t,!1),this.container.removeEventListener("mouseup",e,!1),this.container.removeEventListener("mousemove",s,!1),this.container.removeEventListener("mouseover",r,!1),this.container.removeEventListener("mouseout",n,!1),this.container.removeEventListener("mouseenter",a,!1),this.container.removeEventListener("mouseleave",i,!1),this.container.removeEventListener("click",l,!1),this.container.removeEventListener("dblclick",c,!1),this.container.removeEventListener("wheel",u,!1),this.container.removeEventListener("contextmenu",d,!1),this.container.removeEventListener("touchstart",f,!1),this.container.removeEventListener("touchend",p,!1),this.container.removeEventListener("touchcancel",h,!1),this.container.removeEventListener("touchmove",b,!1),this.container.removeEventListener("pointerdown",_,!1),this.container.removeEventListener("pointerup",v,!1),this.container.removeEventListener("pointercancel",w),this.container.removeEventListener("pointermove",g,!1),this.hammer.off("pan",m),this.hammer.off("panstart",k),this.hammer.off("panmove",C),this.hammer.off("panend",z),this.hammer.off("pancancel",tt),this.hammer.off("panleft",I),this.hammer.off("panright",D),this.hammer.off("panup",M),this.hammer.off("pandown",$),this.hammer.off("pinch",N),this.hammer.off("press",G),this.hammer.off("rotate",rt),this.hammer.off("swipe",Q),this.hammer.off("swipeleft",q),this.hammer.off("swiperight",at),this.hammer.off("swipeup",U),this.hammer.off("swipedown",H),this.hammer.off("tap",yt),document.removeEventListener("pointerdown",pt,!1),document.removeEventListener("touchstart",pt,!1),document.removeEventListener("mousedown",pt,!1),this.container instanceof HTMLInputElement&&this.container.removeEventListener("change",V,!1),this.container.removeEventListener("dragstart",P,!1),this.container.removeEventListener("dragover",Bt,!1),this.container.removeEventListener("dragenter",Nt,!1),this.container.removeEventListener("dragend",Tt,!1),this.container.removeEventListener("drop",Qt,!1)};return this.addRemoves(Gt),Gt}registerTransitionEventListeners(){const t=r=>{this.emit("transitionstart",r)},e=r=>{this.emit("transitionend",r)};this.container.addEventListener("transitionstart",t,!1),this.container.addEventListener("transitionend",e,!1);const s=()=>{this.container.removeEventListener("transitionstart",t,!1),this.container.removeEventListener("transitionend",e,!1)};return this.addRemoves(s),s}registerAnimationEventListeners(){const t=r=>{this.emit("animationstart",r)},e=r=>{this.emit("animationend",r)};this.container.addEventListener("animationstart",t,!1),this.container.addEventListener("animationend",e,!1);const s=()=>{this.container.removeEventListener("animationstart",t,!1),this.container.removeEventListener("animationend",e,!1)};return this.addRemoves(s),s}registerKeyDown(t,e,s){const r=Ag.on(t,a=>(e(a,r.formatedKeyNames,r.pause,r.restart),s)),n=()=>{r.removeListener?.()};return this.addRemoves(n),n}registerResizeObserver(){let t;if(typeof ResizeObserver<"u"){const e=new ResizeObserver(s=>{const{width:r,height:n}=s[0].contentRect;this.width=r,this.height=n,this.emit("resize",r,n)});e.observe(this.container),t=()=>{e.unobserve(this.container)}}else{const e="orientationchange"in window?"orientationchange":"resize",s=r=>{const n=r.target.innerWidth,a=r.target.innerHeight;this.emit("resize",n,a)};window.addEventListener(e,s,!1),t=()=>{window.removeEventListener(e,s,!1)}}return this.addRemoves(t),t}registerElementDisplayInParent(t){const e={threshold:t?.threshold||.5,root:t?.parentElement},s=new IntersectionObserver((n,a)=>{let i=n[0];if(n.length>1){const c=n.find(u=>u.isIntersecting);c&&(i=c)}i.isIntersecting&&i.intersectionRatio>=e.threshold?this.emit("showInParent"):this.emit("showOffParent")},e);s.observe(this.container);const r=()=>{s.unobserve(this.container)};return this.addRemoves(r),r}registerPullDownRefresh(t){const e=t?.distance||50;return this.captureDrag({move:(s,r)=>{r.dStartY>0&&r.dStartY<e&&this.emit("pullDowning",r.dStartY)},end:(s,r)=>{r.dStartY>=e&&this.emit("pullDown")}})}registerPullUpLoading(t){const e=t?.distance||50;return this.captureDrag({move:(s,r)=>{r.dStartY>0&&r.dStartY<e&&this.emit("pullUping",r.dStartY)},end:(s,r)=>{r.dStartY>=e&&this.emit("pullUp")}})}setMousePoint(t){this.mousePoint.x=t.x,this.mousePoint.y=t.y,this.mousePoint.dx=typeof t.dx=="number"?t.dx:0,this.mousePoint.dy=typeof t.dy=="number"?t.dy:0,this.mousePoint.dStartX=typeof t.dStartX=="number"?t.dStartX:0,this.mousePoint.dStartY=typeof t.dStartY=="number"?t.dStartY:0}captureDrag(t){return this.captureDragUsePointer(t)}captureDragUsePointer(t){let e,s;const r=l=>{l.preventDefault(),l.stopPropagation(),this.on("pointerMove",a),this.on("pointerUp",n),this.on("pointerCancel",n),s=us(l,this.container);const c={...s};e=c,this.setMousePoint(c),t?.start?.(l,c)},n=l=>{l.preventDefault(),l.stopPropagation(),this.off("pointerMove",a),this.off("pointerUp",n),this.off("pointerCancel",n),s=us(l,this.container);const c={...s,dStartX:e?s.x-e.x:0,dStartY:e?s.y-e.y:0};this.setMousePoint(c),t?.end?.(l,c),e=null},a=l=>{l.preventDefault(),l.stopPropagation();const c={...s};s=us(l,this.container);const u={...s,dx:s.x-(c.x||0),dy:s.y-(c.y||0),dStartX:e?s.x-e.x:0,dStartY:e?s.y-e.y:0};this.setMousePoint(u),t?.move?.(l,u)};this.on("pointerDown",r);const i=()=>{this.off("pointerDown",r)};return this.addRemoves(i),i}captureDragUseMouse(t){let e,s;const r=l=>{l.preventDefault(),l.stopPropagation(),document.addEventListener("mousemove",a,!1),document.addEventListener("mouseup",n,!1),s=us(l,this.container);const c={...s};e=c,this.setMousePoint(c),t?.start?.(l,c)},n=l=>{l.preventDefault(),l.stopPropagation(),document.removeEventListener("mousemove",a,!1),document.removeEventListener("mouseup",n,!1),s=us(l,this.container);const c={...s,dStartX:e?s.x-e.x:0,dStartY:e?s.y-e.y:0};this.setMousePoint(c),t?.end?.(l,c),e=null},a=l=>{l.preventDefault(),l.stopPropagation();const c={...s};s=us(l,this.container);const u={...s,dx:s.x-(c.x||0),dy:s.y-(c.y||0),dStartX:e?s.x-e.x:0,dStartY:e?s.y-e.y:0};this.setMousePoint(u),t?.move?.(l,u)};this.on("mouseDown",r);const i=()=>{this.off("mouseDown",r)};return this.addRemoves(i),i}captureDragUseTouch(t){let e,s;const r=l=>{l.preventDefault(),l.stopPropagation(),this.on("touchMove",a),this.on("touchEnd",n),this.on("touchCancel",n);const c=l.changedTouches[0];s=us(c,this.container);const u={...s};e=u,this.setMousePoint(u),t?.start?.(c,u)},n=l=>{l.preventDefault(),l.stopPropagation(),this.off("touchMove",a),this.off("touchEnd",n),this.off("touchCancel",n);const c=l.changedTouches[0];s=us(c,this.container);const u={...s,dStartX:e?s.x-e.x:0,dStartY:e?s.y-e.y:0};this.setMousePoint(u),t?.end?.(c,u),e=null},a=l=>{l.preventDefault(),l.stopPropagation();const c=l.changedTouches[0],u={...s};s=us(c,this.container);const d={...s,dx:s.x-(u.x||0),dy:s.y-(u.y||0),dStartX:e?s.x-e.x:0,dStartY:e?s.y-e.y:0};this.setMousePoint(d),t?.move?.(c,d)};this.on("touchStart",r);const i=()=>{this.off("touchStart",r)};return this.addRemoves(i),i}}const Re=new We(document.documentElement,!0,[()=>Ng("(prefers-color-scheme: dark)"),zg,Vg,Yg]);Re.registerKeyDown({title:"打开",key:"o",ctrl:!0,exact:!0},()=>{og().then(o=>rg(o[0])).then(o=>{Re.emit("openFile",o)}).catch(o=>{Re.emit("openFileError",o)})});function Ng(o){let t="";switch(o){case"(prefers-color-scheme: dark)":t="matchMediaChangePrefersColorSchemeDark";break;default:t=o;break}const e=s=>{Re.emit(t,s.matches)};return window.matchMedia(o).addEventListener("change",e,!1),()=>{window.matchMedia(o).removeEventListener("change",e,!1)}}function zg(){let o="";const t=new MutationObserver(r=>{location.href!==o&&(o=location.href,Re.emit("urlchange",location.href))});t.observe(document,{attributes:!0,childList:!0,subtree:!0});const e=()=>{Re.emit("hashchange",location.hash)};window.addEventListener("hashchange",e,!1);const s=()=>{Re.emit("popstate")};return window.addEventListener("popstate",s,!1),()=>{t.disconnect(),window.removeEventListener("hashchange",e,!1),window.removeEventListener("popstate",s,!1)}}function Yg(){const o=n=>{Re.emit("beforeunload",n)};window.addEventListener("beforeunload",o,!1);const t=n=>{Re.emit("pagehide",n)};window.addEventListener("pagehide",t,!1);const e=n=>{Re.emit("windowFocus",n)};window.addEventListener("focus",e,!1);const s=n=>{Re.emit("windowBlur",n)};window.addEventListener("blur",s,!1);const r=n=>{document.hidden?Re.emit("windowVisibilityChangeHide",n):Re.emit("windowVisibilityChangeShow",n)};return document.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("beforeunload",o,!1),window.removeEventListener("pagehide",t,!1),window.removeEventListener("focus",e,!1),window.removeEventListener("blur",s,!1),document.removeEventListener("visibilitychange",r,!1)}}function Vg(){const o=t=>{Re.emit("scroll",t)};return document.addEventListener("scroll",o,!1),()=>{document.removeEventListener("scroll",o,!1)}}class Ii{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"),s=document.createElement("video"),r=document.createElement("source"),n=new MediaSource;n.addEventListener("sourceopen",()=>t(!0)),r.src=URL.createObjectURL(n),r.media="(min-width:10px)",s.append(r),e.width="5",e.style.cssText="position: absolute; visibility: hidden;",document.documentElement.append(e),e.contentDocument?.body.append(s),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(()=>{Ii.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 Bg extends cn{source;raw="";mode="text";tagname="";nodename="";textchunk="";entity="";quote="";attrs={};constructor(t){super(),this.source=t}parse(){const t=Im(this.source);if(t===0){this.emit("finish");return}let e,s,r=iu(this.source,0);for(let n=1;n<t;n++)e=s,s=r,r=iu(this.source,n),this.raw+=s,s&&this.step(s,r,e);r&&this.step(r,void 0,s),this.emit("finish")}step(t,e,s){t==`
53
53
  `&&this.emit("newline"),this.act(t,e,s)}act(t,e,s){switch(this.mode){case"text":switch(t){case"<":case"eof":this.nodename="",this.attrs={},this.mode="tag name start",this.raw=this.raw.slice(0,-1),this.textchunk&&this.emit("text",this.textchunk),this.raw+=t,this.textchunk="";break;case"&":this.mode="entity",this.entity="";break;default:this.textchunk+=t;break}break;case"entity":ls("whitespace",t)?(this.textchunk+=et.entity2text(this.entity),this.mode="text"):t==";"?(this.textchunk+=et.entity2text(this.entity+t),this.mode="text"):this.entity+=t;break;case"special":if(s=="!"&&t=="-"&&e=="-"){this.mode="comment start";break}if(this.textchunk=="[CDATA"&&t=="["){this.mode="cdata",this.textchunk="";break}if(t==">"||t=="eof"){this.emit("special",this.textchunk),this.mode="text",this.textchunk="";break}this.textchunk+=t;break;case"cdata":if(s=="]"&&t=="]"&&e==">"){this.mode="cdata end",this.textchunk=this.textchunk.slice(0,-1);break}t=="eof"&&(this.mode="cdata end",this.act(t,e,s)),this.textchunk+=t;break;case"cdata end":this.emit("cdata",this.textchunk),this.textchunk="",this.mode="text";break;case"comment start":e==">"||t=="eof"?(this.emit("comment",""),this.mode="skip"):this.mode="comment";break;case"skip":this.mode="text";break;case"comment":t=="-"&&s=="-"&&e==">"?(this.mode="comment end",this.textchunk=this.textchunk.slice(0,-1)):t=="eof"?this.emit("comment",this.textchunk):this.textchunk+=t;break;case"comment end":this.emit("comment",this.textchunk),this.textchunk="",this.mode="text";break;case"declaration":if(t=="?"&&e==">"){this.mode="declaration end";break}t=="eof"&&this.emit("comment",this.textchunk),this.textchunk+=t;break;case"declaration end":this.emit("comment",this.textchunk),this.textchunk="",this.mode="text";break;case"tag name start":if(t=="eof"){this.emit("text","<");break}if(!ls("whitespace",t)){if(this.mode="tag name",t=="/"){this.mode="close tag name start";break}else if(t=="!"){this.mode="special",this.textchunk="";break}else if(t=="?"){this.mode="declaration";break}this.act(t,e,s)}break;case"close tag name start":ls("whitespace",t)||(this.mode="close tag name",this.tagname="",this.nodename="",this.act(t,e,s));break;case"close tag name":if(ls("whitespace",t))this.tagname=this.nodename;else switch(t){case">":this.emit("/tag",this.tagname||this.nodename,this.attrs),this.mode="text";break;default:!this.tagname&&(this.nodename+=t);break}break;case"tag name":if(ls("whitespace",t))this.tagname=this.nodename,this.nodename="",this.mode="attr start";else switch(t){case">":this.emit("tag",this.nodename,this.attrs),this.mode="text";break;case"/":this.raw+=e,this.emit("tag",this.nodename,this.attrs),this.emit("/tag",this.nodename,this.attrs),this.mode="skip";break;default:this.nodename+=t;break}break;case"attr start":ls("whitespace",t)||(this.mode="attr",this.nodename="",this.act(t,e,s));break;case"attr":if(ls("whitespace",t)||t=="=")this.attrs[this.nodename]="",this.mode="attr value start";else switch(t){case">":this.nodename=="/"?(delete this.attrs["/"],this.emit("tag",this.tagname,this.attrs),this.emit("/tag",this.tagname,this.attrs)):(this.nodename&&(this.attrs[this.nodename]=""),this.emit("tag",this.tagname,this.attrs)),this.mode="text";break;default:this.nodename+=t;break}break;case"attr value start":if(!ls("whitespace",t)){if(this.mode="attr value",this.quote="",t=="'"||t=='"'){this.quote=t;return}this.act(t,e,s)}break;case"attr value":if(ls("whitespace",t)&&!this.quote)this.mode="attr start";else if(t==">"&&!this.quote)this.emit("tag",this.tagname,this.attrs),this.mode="text";else switch(t){case'"':case"'":this.quote==t&&s!="\\"&&(this.mode="attr start");break;default:this.attrs[this.nodename]+=t;break}break}}}function gd(o,t,e){if(typeof t<"u")window.localStorage.setItem(o,JSON.stringify({value:t,expires:typeof e=="number"?e:-1}));else{const s=window.localStorage.getItem(o);try{const r=JSON.parse(s||"");return"expires"in r&&parseInt(r.expires)>=0&&new Date().getTime()>parseInt(r.expires)?void 0:r.value||void 0}catch{return s||void 0}}}Re.on("matchMediaChangePrefersColorSchemeDark",o=>{Ri(o?"dark":"light")}),Xg();function Ri(o){gd("ColorScheme",o),document.documentElement.classList.toggle("dark",o=="dark")}function Xg(){const o=gd("ColorScheme");if(o=="dark"||o=="light")return Ri(o),o;{const t=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";return Ri(t),t}}const vt={safeAreaTop:et.getCSSVar("--safe-area-inset-top"),safeAreaRight:et.getCSSVar("--safe-area-inset-right"),safeAreaBottom:et.getCSSVar("--safe-area-inset-bottom"),safeAreaLeft:et.getCSSVar("--safe-area-inset-left"),colorPrimary:et.getCSSVar("--color-primary")||"#5078f0",colorRed:et.getCSSVar("--color-red")||"#ff5050",colorOrange:et.getCSSVar("--color-orange")||"#fa8c00",colorYellow:et.getCSSVar("--color-yellow")||"#fadc32",colorGreen:et.getCSSVar("--color-green")||"#00c878",colorBlue:et.getCSSVar("--color-blue")||"#00b4fa",colorPurple:et.getCSSVar("--color-purple")||"#6464fa",colorBlack:et.getCSSVar("--color-black")||"#001428",colorGray00:et.getCSSVar("--color-gray-00")||"#000000",colorGray33:et.getCSSVar("--color-gray-33")||"#333333",colorGray66:et.getCSSVar("--color-gray-66")||"#666666",colorGray99:et.getCSSVar("--color-gray-99")||"#999999",colorGrayCC:et.getCSSVar("--color-gray-cc")||"#cccccc",colorGrayDD:et.getCSSVar("--color-gray-dd")||"#dddddd",colorGrayE6:et.getCSSVar("--color-gray-e6")||"#e6e6e6",colorGrayEE:et.getCSSVar("--color-gray-ee")||"#eeeeee",colorGrayEF:et.getCSSVar("--color-gray-ef")||"#efefef",colorGrayF5:et.getCSSVar("--color-gray-f5")||"#f5f5f5",colorGrayFF:et.getCSSVar("--color-gray-ff")||"#ffffff",fontLineHeight:et.getCSSVar("--font-line-height")||"1.4",fontSize32:et.getCSSVar("--font-size-32")||"32px",fontSize24:et.getCSSVar("--font-size-24")||"24px",fontSize22:et.getCSSVar("--font-size-22")||"22px",fontSize20:et.getCSSVar("--font-size-20")||"20px",fontSize18:et.getCSSVar("--font-size-18")||"18px",fontSize16:et.getCSSVar("--font-size-16")||"16px",fontSize14:et.getCSSVar("--font-size-14")||"14px",fontSize12:et.getCSSVar("--font-size-12")||"12px",fontSize10:et.getCSSVar("--font-size-10")||"10px",d4:et.getCSSVar("--distance-4")||"4px",d8:et.getCSSVar("--distance-8")||"8px",d12:et.getCSSVar("--distance-12")||"12px",d16:et.getCSSVar("--distance-16")||"16px",d20:et.getCSSVar("--distance-20")||"20px",d32:et.getCSSVar("--distance-32")||"32px",d40:et.getCSSVar("--distance-40")||"40px",d44:et.getCSSVar("--distance-44")||"44px"};class It{__color={r:0,g:0,b:0,a:1};constructor(t,e){t&&this.setColor(t),typeof e=="number"&&this.setAlpha(e)}get color(){return this.__color}set color(t){this.__color=Fi(t)}setColor(t){return this.color=t,this}get r(){return this.__color.r}set r(t){this.__color.r=re(Math.round(t),0,255)}get g(){return this.__color.g}set g(t){this.__color.g=re(Math.round(t),0,255)}get b(){return this.__color.b}set b(t){this.__color.b=re(Math.round(t),0,255)}get a(){return this.__color.a}set a(t){this.__color.a=re(t,0,1)}setAlpha(t){return this.a=t,this}setRGB(t,e,s){return this.r=t,this.g=e,this.b=s,this}setRGBA(t,e,s,r){return this.r=t,this.g=e,this.b=s,this.a=r,this}get hex(){return(this.r<<16)+(this.g<<8)+this.b}toString(){if(this.a===1){const t="000000"+this.hex.toString(16);return"#"+t.slice(t.length-6)}else return`rgba(${this.r},${this.g},${this.b},${xe(this.a,6)})`}clone(){return new It(this.color)}copy(t){this.setColor(t.color)}opposite(t=!1,e="#000000",s="#ffffff"){if(t)return new It(this.r*.299+this.g*.587+this.b*.114>186?e:s);{const r=this.clone();return r.r=255-r.r,r.g=255-r.g,r.b=255-r.b,r}}lighten(t){t=re(Math.abs(t),0,1);let{r:e,g:s,b:r,a:n}=this.color;return e+=(255-e)*t,s+=(255-s)*t,r+=(255-r)*t,new It().setRGBA(e,s,r,n)}darken(t){t=re(Math.abs(t),0,1);let{r:e,g:s,b:r,a:n}=this.color;return e=e*(1-t),s=s*(1-t),r=r*(1-t),new It().setRGBA(e,s,r,n)}static gradient(t,e,s){try{const r=Fi(t),n=Fi(e);return new It().setRGB((n.r-r.r)*s+r.r,(n.g-r.g)*s+r.g,(n.b-r.b)*s+r.b)}catch{return new It(e)}}static random(){return new It(Math.random()*16777215)}get hsv(){const{r:t,g:e,b:s,a:r}=this.color,n=Math.max(t,e,s),a=Math.min(t,e,s),i=n-a;let l;return t===n?l=(e-s)/i:e===n?l=2+(s-t)/i:l=4+(t-e)/i,l/=6,l<0&&(l+=1),{h:i==0?0:l*360,s:n===0?0:i/n,v:n/255,a:r}}set h(t){const e=this.hsv;e.h=re(t,0,360),this.setColor(e)}get h(){return this.hsv.h}set s(t){const e=this.hsv;e.s=re(t,0,1),this.setColor(e)}get s(){return this.hsv.s}set v(t){const e=this.hsv;e.v=re(t,0,1),this.setColor(e)}get v(){return this.hsv.v}}function ge(o,t){return new It(o,t)}function Fi(o){const t=Object.prototype.hasOwnProperty.call(o,"a")?re(o.a,0,1):1;if(Object.prototype.hasOwnProperty.call(o,"r")&&Object.prototype.hasOwnProperty.call(o,"g")&&Object.prototype.hasOwnProperty.call(o,"b"))return o.r=re(Math.round(o.r),0,255),o.g=re(Math.round(o.g),0,255),o.b=re(Math.round(o.b),0,255),o.a=t,o;if(Object.prototype.hasOwnProperty.call(o,"h")&&Object.prototype.hasOwnProperty.call(o,"s")&&Object.prototype.hasOwnProperty.call(o,"v")){let s=re(o.h,0,360),r=re(o.s,0,1),n=re(o.v,0,1);const a=Math.floor(s/60)%6,i=s/60-Math.floor(s/60),l=n*(1-r),c=n*(1-i*r),u=n*(1-(1-i)*r),d=[[n,u,l],[c,n,l],[l,n,u],[l,c,n],[u,l,n],[n,l,c]][a];return{r:Math.round(d[0]*255),g:Math.round(d[1]*255),b:Math.round(d[2]*255),a:t}}const e={r:0,g:0,b:0,a:t};if(typeof o=="number")o<Math.pow(2,24)?(e.r=o>>16&255,e.g=o>>8&255,e.b=o&255):(e.r=o>>24&255,e.g=o>>16&255,e.b=o>>8&255,e.a=(o&255)/255);else if(typeof o=="string"){const s=/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,?\s*(\d?\.?\d*)?\s*\)/gi.exec(o);if(s)e.r=parseInt(s[1]),e.g=parseInt(s[2]),e.b=parseInt(s[3]),s[4]&&(e.a=parseFloat(s[4]));else{let r=o.match(/^#([A-F0-9])([A-F0-9])([A-F0-9])$/i);r?(e.r=parseInt(`${r[1]}${r[1]}`,16),e.g=parseInt(`${r[2]}${r[2]}`,16),e.b=parseInt(`${r[3]}${r[3]}`,16)):(r=o.match(/^#([A-F0-9]{2})([A-F0-9]{2})([A-F0-9]{2})$/i),r?(e.r=parseInt(r[1],16),e.g=parseInt(r[2],16),e.b=parseInt(r[3],16)):(r=o.match(/^#([A-F0-9]{2})([A-F0-9]{2})([A-F0-9]{2})([A-F0-9]{2})$/i),r?(e.r=parseInt(r[1],16),e.g=parseInt(r[2],16),e.b=parseInt(r[3],16),e.a=parseInt(r[4],16)/255):o==="none"&&(e.a=0)))}}else throw new Error("parseColor 不支持的颜色解析:"+o);return e.r=re(e.r,0,255),e.g=re(e.g,0,255),e.b=re(e.b,0,255),e.a=re(e.a,0,1),e}const Gg=["#0ac2d2","#7bb7fa","#60d7a9","#fdc162","#fd6a62","#f68dbb","#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff","#dc4916","#6871b1","#d1b935","#1bbc9b","#FF7F50","#4BBFC3","#ff9900"],Xs={backgroundColor:"#1a1a1a",numberColor:"#2FA1D6",booleanColor:"#806787",stringColor:"#1ed36f",functionColor:"#e61d5f",saveRowColor:"#dad5cb",buttonColor:"",borderColor:"",inputColor:""};Xs.buttonColor=new It(Xs.saveRowColor).darken(.1).toString(),Xs.borderColor=new It(Xs.backgroundColor).lighten(.07).toString(),Xs.inputColor=new It(Xs.backgroundColor).lighten(.085).toString();function On(o,t,e,s,r){const n=t/e;let a=0,i=0;switch(o){case"aspectFit":n>=1?(a=s,i=a/n,i>r&&(i=r,a=i*n)):(i=r,a=i*n,a>s&&(a=s,i=a/n));break;case"aspectFill":n>=1?(i=r,a=i*n):(a=s,i=a/n);break;case"widthFix":a=s,i=a/n;break;case"heightFix":i=r,a=i*n;break;case"scaleToFill":default:a=s,i=r;break}return{width:a,height:i}}const In=new Map;async function yd(o){return new Promise((t,e)=>{Ug(o,(s,r)=>s?e(s):t({width:r.width,height:r.height,aspectRatio:r.width/r.height}))})}const Ug=(o,t)=>{if(In.has(o))return t(null,In.get(o));const e=new Image;e.onload=function(){In.set(o,{width:e.naturalWidth||e.width,height:e.naturalHeight||e.height,element:e}),t(null,In.get(o))},e.onerror=function(s){t(s,null)},e.src=o};class hs extends ee{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(s=>{!s.independentTransformInGroup&&!s.isDragging&&(s.x=this.x+s.diffXInGroup,s.y=this.y+s.diffYInGroup,s.degree=this.degree+s.diffDegreeInGroup,s.scalarX=this.scalarX*s.diffScalarXInGroup,s.scalarY=this.scalarY*s.diffScalarYInGroup)}),super.frameUpdate(t,e)}addShape(t){(Array.isArray(t)?t:[t]).forEach(e=>{this.shapes.findIndex(s=>s.id==e.id)==-1&&(e.on("draging",(s,r)=>{this.enableDrag&&(this.x+=s,this.y+=r,this.emit("draging",s,r,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 s=this.pathd?.getBoundingClientRect();if(s&&(s.width||s.height)&&(t.push(s.x,s.x+s.width),e.push(s.y,s.y+s.height)),t.length==0||e.length==0)return null;const r=Math.min.apply(0,t),n=Math.min.apply(0,e),a=Math.max.apply(0,t),i=Math.max.apply(0,e);return{x:r,y:n,width:a-r,height:i-n}}setAttrs(t,e){typeof t!="string"?(super.setAttr(t),this.shapes.forEach(s=>{s.setAttr(t)})):e&&(super.setAttr(t,e),this.shapes.forEach(s=>{s.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,s=this.shapes.length;if(e<s)return t.expendFill(this);for(let r=s;r<e;r++){const a=t.shapes[r].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 ee({attrs:{...t.shapes[r].getAttrs()},d:c}))}}strokeDashTween(t,e){switch(e?.type){case"sequence":const s=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==s&&e?.onGroupComplete?.()}})});break;case"parallel":default:const r=new Ie({frameDuration:t}),n={},a={};this.shapes.forEach((i,l)=>{const c=xe(i.getTotalLength(),0);n[`offset_${l}`]=c,a[`offset_${l}`]=0,i.setAttr({strokeDasharray:`${c} ${c}`,strokeDashoffset:`${c}`})}),r.addTween(n,a,Object.assign(e||{},{onStart:()=>{e?.onGroupStart?.()},onUpdate:(i,l)=>{for(let c in i){const u=cs(c).number;this.shapes[u].setAttr("strokeDashoffset",""+xe(i[c],2))}e?.onGroupUpdate?.()},onComplete:()=>{e?.onGroupComplete?.()}})),r.play();break}}}const Do=hs;class ve extends ee{toX;toY;constructor(t){super(t),this.toX=t?.toX||0,this.toY=t?.toY||0;let e=this.toX-this.x,s=this.toY-this.y;return new Proxy(this,{set(r,n,a,i){switch(n){case"x":r.toX=a+e;break;case"y":r.toY=a+s;break;case"toX":e=a-r.x;break;case"toY":s=a-r.y;break}return Reflect.set(r,n,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 rd({x:this.x,y:this.y,toX:this.toX,toY:this.toY}),s=new rd({x:t.x,y:t.y,toX:t.toX,toY:t.toY});return e.intersection(s)}}class Rn extends ee{cx;cy;toX;toY;isLineThrough;constructor(t){super(t),this.cx=t?.cx||0,this.cy=t?.cy||0,this.toX=t?.toX||0,this.toY=t?.toY||0,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[["m",0,0],["q",t-this.x,e-this.y,this.toX-this.x,this.toY-this.y]]}else return[["m",0,0],["q",this.cx-this.x,this.cy-this.y,this.toX-this.x,this.toY-this.y]]}toCanvasContext(t){if(t.beginPath(),t.moveTo(0,0),this.isLineThrough){const e=this.cx*2-(this.x+this.toX)/2,s=this.cy*2-(this.y+this.toY)/2;t.quadraticCurveTo(e-this.x,s-this.y,this.toX-this.x,this.toY-this.y)}else t.quadraticCurveTo(this.cx-this.x,this.cy-this.y,this.toX-this.x,this.toY-this.y)}}class jg extends Bg{currentItem={};items=[];groups=[];globalStyles={};grad={};idtops={};text="";constructor(t){super(t),this.on("tag",(e,s)=>{switch(this.text="",this.currentItem={type:e},e){case"g":this.groups.push(this.currentItem);break}this.processAttrs(e,s)}),this.on("text",e=>{if(this.currentItem.type=="style"){try{const s=Zm(e);for(let r of s.stylesheet.rules)for(let n of r.declarations)for(let a of r.selectors)this.globalStyles[a]=this.globalStyles[a]||[],this.globalStyles[a].push(`${n.property}:${n.value}`)}catch{console.error("CAN'T parse css text: "+e)}return}this.text+=e}),this.on("/tag",(e,s)=>{let r=this.groups.length;for(;r--;)if(this.groups[r]!=this.currentItem){let n="",a="";for(let i in this.groups[r])i=="transform"?n=this.groups[r].transform:i=="class"&&this.globalStyles["."+this.groups[r][i]]?a=this.globalStyles["."+this.groups[r][i]].join(";")+";"+a:i=="id"&&this.globalStyles["#"+this.groups[r][i]]?a=this.globalStyles["#"+this.groups[r][i]].join(";")+";"+a:typeof this.currentItem[i]>"u"&&(this.currentItem[i]=this.groups[r][i]);typeof this.currentItem.transform>"u"?this.currentItem.transform=n:this.currentItem.transform+=" "+n,typeof this.currentItem.style>"u"?this.currentItem.style=a:this.currentItem.style=a+this.currentItem.style,this.currentItem.class&&this.globalStyles["."+this.currentItem.class]?this.currentItem.style=this.globalStyles["."+this.currentItem.class].join(";")+";"+this.currentItem.style:this.currentItem.id&&this.globalStyles["#"+this.currentItem.id]&&(this.currentItem.style=this.globalStyles["#"+this.currentItem.id].join(";")+";"+this.currentItem.style),Di(this.currentItem.style,this.currentItem,Li)}switch(this.processAttrs(e,s),e){case"g":this.groups.pop();break;case"cirlce":this.addToItems();break;case"ellipse":this.addToItems();break;case"polygon":this.addToItems();break;case"path":this.addToItems();break;case"line":this.addToItems();break;case"rect":this.addToItems();break;case"image":this.addToItems();break;case"text":this.currentItem.text=this.text,this.currentItem["text-anchor"]=this.currentItem["text-anchor"]||"start",this.addToItems();break}}),this.on("finish",()=>{this.emit("result",this.items)})}parse(){return super.parse(),this.items}processAttrs(t,e){let s=[],r;switch(t){case"svg":let n="",a="";if(e.width&&e.height)n=e.width,a=e.height;else if(e.viewBox){const i=e.viewBox.split(/\s+/gi);i.length==4&&(n=String(parseFloat(i[2])-parseFloat(i[0])),a=String(parseFloat(i[3])-parseFloat(i[1])))}n&&a&&this.items.push({type:"viewbox",width:n,height:a});break;case"line":typeof e.x1=="number"&&typeof e.y1=="number"&&typeof e.x2=="number"&&typeof e.y2=="number"&&(this.currentItem.path="M"+[e.x1,e.y1,e.x2,e.y2]);break;case"stop":r={},e.style&&Di(e.style,r),r.offset=r.offset||e.offset,r.color=r["stop-color"]||e["stop-color"],r.opacity=r["stop-opacity"]||e["stop-opacity"],~(r.offset+"").indexOf("%")?r.offset=parseFloat(r.offset):r.offset=parseFloat(r.offset)*100,r.offset=+r.offset.toFixed(2),this.grad.stops.push(r);break;case"linearGradient":this.grad.angle=(360+$i(parseFloat(e.x1),parseFloat(e.y1),parseFloat(e.x2),parseFloat(e.y2),parseFloat(e.x1)+100,parseFloat(e.y1))).toFixed(2),s=[this.grad.angle];for(let i=0,l=this.grad.stops.length;i<l;i++)r=this.grad.stops[i],i&&i!=l-1?s.push(r.color+":"+r.offset):s.push(r.color);this.idtops[this.grad.id]=s.join("-"),this.items.forEach(i=>{i.fillid==this.grad.id&&(i.fill=this.idtops[this.grad.id])});break;case"radialGradient":s=[];for(let i=0,l=this.grad.stops.length;i<l;i++)r=this.grad.stops[i],i&&i!=l-1?s.push(r.color+":"+r.offset):s.push(r.color);this.idtops[this.grad.id]=s.join("-"),this.items.forEach(i=>{i.fillid==this.grad.id&&(i.fill=this.idtops[this.grad.id])});break}for(let n in e){const a=e[n];if(Li.includes(n)&&(this.currentItem[n]=a),n==="id"&&(this.currentItem.type==="linearGradient"&&(this.grad={id:n,stops:[]}),this.currentItem.type==="radialGradient"&&(this.grad={id:n,stops:[]})),n==="style"&&Di(a,this.currentItem,Li),n==="transform"&&(this.currentItem.transform=a+(this.currentItem.transform||" ")),n==="fill"){const i=a.match(/url\(#([^)]+)\)/);if(i){const l=i[1];this.currentItem.fillid=l,this.idtops[l]&&(this.currentItem.fill=this.idtops[l])}}n==="points"&&this.currentItem.type=="polygon"&&(this.currentItem.path="M"+a+"z"),n==="d"&&this.currentItem.type=="path"&&(this.currentItem.path=a),n==="xlink:href"&&this.currentItem.type=="image"&&(this.currentItem.src=a)}}addToItems(){this.items.push(this.currentItem)}}function $i(o,t,e,s,r,n){if(typeof r>"u"||typeof n>"u"){const a=o-e,i=t-s;return!a&&!i?0:(180+Math.atan2(-i,-a)*180/Math.PI+360)%360}else return $i(o,t,r,n)-$i(e,s,r,n)}function Di(o,t,e){const s=(o+"").split(";"),r=/^\s+|\s+$/g;for(let n=0,a=s.length;n<a;n++){let i=s[n].split(":"),l=i[0].replace(r,"").replace(/[A-Z]/g,function(c){return"-"+c.toLowerCase()});(!e||e.includes(l))&&(t[l]=i[1].replace(r,""))}}const Li=["id","class","viewBox","width","height","x","y","cx","cy","r","rx","ry","cursor","opacity","src","fill","fill-opacity","stroke","stroke-dasharray","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","font","font-family","font-size","font-style","font-weight","letter-spacing"];class vd{app;rootEl;shapes=[];isMouseDown=!1;currentMouseInShape;currentEnableDragMouseInShape;dragDx=0;dragDy=0;constructor(t,e,s){this.app=t,this.rootEl=me.createSVGElement("svg"),et.empty(this.app.container),et.insert(this.app.container,this.rootEl),e&&s?this.setSize(e,s):(this.setSize(this.app.width,this.app.height),this.app.on("resize",()=>{this.setSize(this.app.width,this.app.height)})),this.app.captureDrag({start:()=>{this.isMouseDown=!0,this.dragDx=0,this.dragDy=0,this.setCursor()},end:()=>{this.isMouseDown=!1,this.dragDx=0,this.dragDy=0,this.setCursor()},move:(r,n)=>{this.currentEnableDragMouseInShape&&(this.dragDx+=n.dx,this.dragDy+=n.dy),this.setCursor()}}),this.app.on("tap",()=>{for(let r of this.shapes)if(this.currentMouseInShape==r){r.emit("clicked");let n=r.parent;for(;n;)n.emit("clicked",r),n=n.parent;break}})}setCursor(){this.currentEnableDragMouseInShape?(this.app.container.style.cursor="grab",this.isMouseDown&&(this.app.container.style.cursor="grabbing")):this.currentMouseInShape?this.app.container.style.cursor="pointer":this.app.container.style.cursor="default"}setSize(t,e){return et.attribute(this.rootEl,{viewBox:`0 0 ${t} ${e}`,width:`${t}`,height:`${e}`}),this}download(){return me.downloadFromSVGElement(this.rootEl)}_addDrawShape(t){this.shapes.findIndex(e=>e.id==t.id)===-1&&(this.shapes.push(t),t instanceof hs&&t.shapes.forEach(e=>{this._addDrawShape(e)}))}path(t){(Array.isArray(t)?t:[t]).forEach(e=>{this._addDrawShape(e)}),this.isMouseDown&&this.currentEnableDragMouseInShape||(this.currentMouseInShape=void 0);for(let e of this.shapes){if(!e.isShow){e.el&&(et.remove(e.el),delete e.el);continue}if(e.frameStart(this.app.mousePoint),e.el||(e instanceof $n?e.el=this.text(e.text,e.x,e.y,hu(e.getAttrs(),(r,n)=>typeof n=="string")):(e.el=me.createSvgPath(e.toSVGPathD(),e.id),et.insert(this.rootEl,e.el))),e.followMouse&&(!an(e.x,this.app.mousePoint.x,5)||!an(e.y,this.app.mousePoint.y,5))&&e.followTo(this.app.mousePoint),e.targetToAfterDragFree&&(this.isMouseDown||e.runEaseTo({x:e.targetToAfterDragFree.targetX,y:e.targetToAfterDragFree.targetY},{easing:e.targetToAfterDragFree?.easing})),this.isMouseDown&&this.currentEnableDragMouseInShape==e){e.isDragging=!0;const r=this.dragDx,n=this.dragDy;if(this.dragDx=0,this.dragDy=0,r||n){if(e.x+=r,e.y+=n,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",r,n)}}else e.isDragging=!1;e instanceof $n&&(e.setAttr("x",String(e.x)),e.setAttr("y",String(e.y))),e.frameUpdate(this.app.mousePoint);const s=e.toSVGPathD();if(this.attr(e,hu(e.getAttrs(),(r,n)=>typeof n=="string")),this.attr(e,"d",s),!this.currentMouseInShape){const r=e.isPointInPath(this.app.mousePoint.x,this.app.mousePoint.y,this.rootEl)||e.isPointInStroke(this.app.mousePoint.x,this.app.mousePoint.y,this.rootEl)||!1;e.isMouseIn=r,r&&(this.currentMouseInShape=e,e.enableDrag&&(this.currentEnableDragMouseInShape=e))}e.frameEnd(this.app.mousePoint)}this.currentMouseInShape||(this.currentEnableDragMouseInShape=void 0)}delete(t){(Array.isArray(t)?t:[t]).forEach(e=>{e.el&&et.remove(e.el),delete e.el,this.shapes=this.shapes.filter(s=>s.id!==e.id)})}clear(){this.shapes.forEach(t=>{t.el&&et.remove(t.el),delete t.el}),et.empty(this.rootEl),this.shapes=[]}attr(t,e,s){const r=t.el||t;return r instanceof SVGElement?e===void 0&&s===void 0?et.attribute(r):typeof e=="string"&&s===void 0?et.attribute(r,Ze(e))||"":(typeof e=="object"?et.attribute(r,e):typeof e=="string"&&s!==void 0&&et.attribute(r,Ze(e),s),this):this}circle(t,e,s){return this.path(new se({x:t,y:e,radius:s}))}circleEl(t,e,s){const r=me.createSVGElement("circle",{cx:String(t),cy:String(e),r:String(s)});return et.insert(this.rootEl,r),r}ellipse(t,e,s,r){return this.path(new _d({x:t,y:e,rx:s,ry:r}))}ellipseEl(t,e,s,r){const n=me.createSVGElement("ellipse",{cx:String(t),cy:String(e),rx:String(s),ry:String(r)});return et.insert(this.rootEl,n),n}rect(t,e,s,r){return this.path(new Te({x:t,y:e,width:s,height:r}))}rectEl(t,e,s,r){const n=me.createSVGElement("rect",{x:String(t),y:String(e),width:String(s),height:String(r)});return et.insert(this.rootEl,n),n}image(t,e,s,r,n){}text(t,e,s,r){const n=me.createSVGElement("text",{x:String(e),y:String(s)});return et.html(n,t),this.attr(n,Object.assign({"alignment-baseline":"middle"},r)),et.insert(this.rootEl,n),n}textWithTspan(t,e,s,r){const n=r?.["line-height"]||"1.2em",a=me.createSVGElement("text",{x:String(e),y:String(s)});return t.split(`
54
54
  `).forEach((i,l)=>{if(i.trim()){const c=me.createSVGElement("tspan",{x:String(e),dy:l>0?n:"0"});et.html(c,i),et.insert(a,c),this.attr(c,Object.assign({"alignment-baseline":"middle"},r))}}),et.insert(this.rootEl,a),a}}class Hg extends Do{svgWidth=0;svgHeight=0;width=0;height=0;constructor(t){super(t);const e=new jg(t.svg).parse();for(let s=0,r=e.length;s<r;s++){const n=e[s];if(n.type=="viewbox"&&n.width&&n.height){if(this.svgWidth=parseFloat(n.width),this.svgHeight=parseFloat(n.height),t.width){const u=this.svgWidth/this.svgHeight;this.width=t.width,this.height=this.width/u}else this.width=this.svgWidth,this.height=this.svgHeight;continue}if(n.type!="path"||!me.isSVGPath(n.path))continue;const a={};for(const u in n)u==="type"||u==="path"||u==="transform"||(a[u]=n[u]);const i=me.absolutizeSVGPath(me.parseSVGPath(n.path)),l=[];let c=[];for(let u=0,d=i.length;u<d;u++){const f=i[u];c.push(f),f[0].toLowerCase()=="z"&&(l.push(c),c=[])}c.length&&l.push(c),l.forEach(u=>{const d=pd(n.transform??"");d.scale(this.width&&this.svgWidth?this.width/this.svgWidth:1),this.addShape(new ee({...t,attrs:{...a,...t?.attrs||{}},d:u,originMatrix:d}))})}}shapeInit(){this.trim()}}class se extends ee{radius;constructor(t){super(t),this.radius=t?.radius||0}getBoundingClientRect(){return{x:this.x-this.radius,y:this.y-this.radius,width:this.radius*2,height:this.radius*2}}toSVGPathData(){return this.radius?[["m",0,-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",0,0]]}toCanvasContext(t){t.beginPath(),t.arc(0,0,this.radius,0,Math.PI*2,!0),t.closePath()}eq(t){return this.x===t.x&&this.y===t.y&&this.radius===t.radius&&this.mass===t.mass}midPointBtw(t){return{x:this.x+(t.x-this.x)/2,y:this.y+(t.y-this.y)/2}}length(){return vi(this.x,this.y)}scalar(t){return this.x*=t,this.y*=t,this}normalize(t=1){const e=this.length();if(e){const s=t/e;this.scalar(s)}return this}clamp(t){const e=this.length();return e&&e>t&&this.scalar(t/e),this}cross(t){const e=this.x,s=this.y;return{x:s*t.x-e*t.y,y:e*t.y-s*t.x}}multiply(t){return{x:this.x*t.x,y:this.y*t.y}}div(t){return{x:this.x/t.x,y:this.y/t.y}}add(t){return{x:this.x+t.x,y:this.y+t.y}}sub(t){return{x:this.x-t.x,y:this.y-t.y}}dot(t){return this.x*t.x+this.y*t.y}reflect(t){const e=this.dot(t);return{x:this.x-2*e*t.x,y:this.y-2*e*t.y}}checkCollision(t){const e=t.x-this.x,s=t.y-this.y;if(Math.sqrt(e*e+s*s)<this.radius+t.radius){const n=Math.atan2(s,e),a={x:0,y:0},i=ds(-n,e,s),l=ds(-n,this.vx,this.vy),c=ds(-n,t.vx,t.vy),u=l.x-c.x;l.x=((this.mass-t.mass)*l.x+2*t.mass*c.x)/(this.mass+t.mass),c.x=u+l.x;const d=Math.abs(l.x)+Math.abs(c.x),f=this.radius+t.radius-Math.abs(a.x-i.x);a.x+=l.x/d*f,i.x+=c.x/d*f;const p=ds(n,a.x,a.y),h=ds(n,i.x,i.y);t.x=this.x+h.x,t.y=this.y+h.y,this.x=this.x+p.x,this.y=this.y+p.y;const b=ds(n,l.x,l.y),_=ds(n,c.x,c.y);this.vx=b.x,this.vy=b.y,t.vx=_.x,t.vy=_.y}}checkWall(t){const e=typeof t?.bounce=="number"?t.bounce:-1,s=t.wall.x,r=t.wall.y,n=t.wall.x+t.wall.width,a=t.wall.y+t.wall.height;this.x+this.radius>n?(this.x=n-this.radius,this.vx*=e):this.x-this.radius<s&&(this.x=s+this.radius,this.vx*=e),this.y+this.radius>a?(this.y=a-this.radius,this.vy*=e):this.y-this.radius<r&&(this.y=r+this.radius,this.vy*=e)}}class bd extends ee{points;isStraight;constructor(t){if(super(t),this.points=t.points,this.points.length<3)throw new Error("points length must >= 3");this.isStraight=typeof t?.isStraight=="boolean"?t.isStraight:!0}toSVGPathData(){const t=[],e=this.points.length;if(this.isStraight){t.push(["M",this.points[0].x,this.points[0].y]);for(let s=1;s<=e-1;s++)t.push(["L",this.points[s].x,this.points[s].y]);t.push(["Z"])}else{const s=(this.points[0].x+this.points[e-1].x)/2,r=(this.points[0].y+this.points[e-1].y)/2;t.push(["M",s,r]);for(let n=0;n<e-1;n++){const a=(this.points[n].x+this.points[n+1].x)/2,i=(this.points[n].y+this.points[n+1].y)/2;t.push(["Q",this.points[n].x,this.points[n].y,a,i])}t.push(["Q",this.points[e-1].x,this.points[e-1].y,s,r])}return t}toCanvasContext(t){t.beginPath();const e=this.points.length;if(this.isStraight){t.moveTo(this.points[0].x,this.points[0].y);for(let s=1;s<=e-1;s++)t.lineTo(this.points[s].x,this.points[s].y);t.closePath()}else{const s=(this.points[0].x+this.points[e-1].x)/2,r=(this.points[0].y+this.points[e-1].y)/2;t.moveTo(s,r);for(let n=0;n<e-1;n++){const a=(this.points[n].x+this.points[n+1].x)/2,i=(this.points[n].y+this.points[n+1].y)/2;t.quadraticCurveTo(this.points[n].x,this.points[n].y,a,i)}t.quadraticCurveTo(this.points[e-1].x,this.points[e-1].y,s,r)}}isContainPoint(t,e){const s=this.points.length;let r=!1;const n=2e-10;for(let a=0,i=s-1;a<s;i=a,a++){const l=this.points[a].x,c=this.points[a].y,u=this.points[i].x,d=this.points[i].y;if(l===t&&c===e||u===t&&d===e||e===c&&e===d)return!0;if(e>=c&&e<d||e<c&&e>=d){const f=(u-l)/(d-c),p=l+f*(e-c);if(p===t||Math.abs(p-t)<n)return!0;p>t&&(r=!r)}}return r}[Symbol.iterator](){let t=-1;return{next:()=>({value:t<=this.points.length-1?this.points[++t]:void 0,done:t>=this.points.length})}}}class Te extends ee{width;height;borderRadius;constructor(t){super(t),this.width=t.width,this.height=t.height,this.borderRadius=t.borderRadius||0}static fromCubicBezier(t,e,s,r,n,a,i,l){const c=new ho({x:t,y:e,c1x:s,c1y:r,c2x:n,c2y:a,toX:i,toY:l});return new Te(c.getBoundingClientRect())}getBoundingClientRect(){return{x:this.x,y:this.y,width:this.width,height:this.height}}toSVGPathData(){return this.borderRadius?[["m",this.borderRadius,0],["l",this.width-this.borderRadius*2,0],["a",this.borderRadius,this.borderRadius,0,0,1,this.borderRadius,this.borderRadius],["l",0,this.height-this.borderRadius*2],["a",this.borderRadius,this.borderRadius,0,0,1,-this.borderRadius,this.borderRadius],["l",this.borderRadius*2-this.width,0],["a",this.borderRadius,this.borderRadius,0,0,1,-this.borderRadius,-this.borderRadius],["l",0,this.borderRadius*2-this.height],["a",this.borderRadius,this.borderRadius,0,0,1,this.borderRadius,-this.borderRadius],["z"]]:[["m",0,0],["l",this.width,0],["l",0,this.height],["l",-this.width,0],["z"]]}toCanvasContext(t){t.beginPath(),this.borderRadius<=0?t.rect(0,0,this.width,this.height):(t.moveTo(0,this.borderRadius),t.lineTo(0,this.height-this.borderRadius),t.quadraticCurveTo(0,this.height,this.borderRadius,this.height),t.lineTo(this.width-this.borderRadius,this.height),t.quadraticCurveTo(this.width,this.height,this.width,this.height-this.borderRadius),t.lineTo(this.width,this.borderRadius),t.quadraticCurveTo(this.width,0,this.width-this.borderRadius,0),t.lineTo(this.borderRadius,0),t.quadraticCurveTo(0,0,0,this.borderRadius)),t.closePath()}eq(t){return this.x===t.x&&this.y===t.y&&this.width===t.width&&this.height===t.height&&this.borderRadius===t.borderRadius}isIntersectRect(t){return!(this.x+this.width<t.x||t.x+t.width<this.x||this.y+this.height<t.y||t.y+t.height<this.y)}isContainPoint(t,e){return t>=this.x&&t<=this.x+this.width&&e>=this.y&&e<=this.y+this.height}}class _d extends ee{rx;ry;constructor(t){super(t),this.rx=t?.rx||0,this.ry=t?.ry||0}getBoundingClientRect(){return{x:this.x-this.rx,y:this.y-this.ry,width:this.rx*2,height:this.ry*2}}toSVGPathData(){return[["m",0,-this.ry],["a",this.rx,this.ry,0,1,1,0,2*this.ry],["a",this.rx,this.ry,0,1,1,0,-2*this.ry],["z"]]}toCanvasContext(t){t.beginPath(),t.ellipse(0,0,this.rx,this.ry,0,0,2*Math.PI,!0),t.closePath()}}class Fn extends ee{constructor(t){super(t)}toSVGPathData(){return[["m",-50,-25],["l",50,0],["l",0,-25],["l",50,50],["l",-50,50],["l",0,-25],["l",-50,0],["l",0,-50],["z"]]}toCanvasContext(t){t.beginPath(),t.moveTo(-50,-25),t.lineTo(0,-25),t.lineTo(0,-50),t.lineTo(50,0),t.lineTo(0,50),t.lineTo(0,25),t.lineTo(-50,25),t.lineTo(-50,-25),t.closePath()}}class Mi extends ee{constructor(t){super(t)}toSVGPathData(){return[["m",4,24],["l",4,-8],["l",6,-6],["l",1,-10],["l",-6,-10],["l",-7,10],["l",-4,0],["l",-7,-10],["l",-6,10],["l",1,10],["l",6,6],["l",4,8],["z"]]}toCanvasContext(t){t.beginPath(),t.moveTo(4,24),t.lineTo(8,16),t.lineTo(14,10),t.lineTo(15,0),t.lineTo(9,-10),t.lineTo(2,0),t.lineTo(-2,0),t.lineTo(-9,-10),t.lineTo(-15,0),t.lineTo(-14,10),t.lineTo(-8,16),t.lineTo(-4,24),t.closePath()}}class Wg extends ee{rx;ry;constructor(t){super(t),this.rx=t?.rx||10,this.ry=t?.ry||10}toSVGPathData(){return[["m",0,0],["l",this.rx*2.4,-this.ry*3.14],["a",this.rx/2,this.ry/2,0,0,0,-this.rx*2.4,-this.ry*1.5],["a",this.rx/2,this.ry/2,0,0,0,-this.rx*2.4,this.ry*1.5],["l",this.rx*2.4,this.ry*3.14],["z"]]}}class Zg extends ee{rx;ry;constructor(t){super(t),this.rx=t?.rx??50,this.ry=t?.ry??50}toSVGPathData(){return[["m",0,0+this.ry*.3],["C",0,0,0-this.rx/2,0,0-this.rx/2,0+this.ry*.3],["C",0-this.rx/2,0+(this.ry+this.ry*.3)/2,0,0+(this.ry+this.ry*.3)/1.4,0,0+this.ry],["C",0,0+(this.ry+this.ry*.3)/1.8,0+this.rx/2,0+(this.ry+this.ry*.3)/2,0+this.rx/2,0+this.ry*.3],["C",0+this.rx/2,0,0,0,0,0+this.ry*.3],["z"]]}}class qg extends ee{r;constructor(t){super(t),this.r=t?.r||20}toSVGPathData(){const t=[["m",0,-this.r]];for(let e=0;e<6;e+=1){const s=288+e*144,r=this.r*Math.cos(Vt(s)),n=this.r*Math.sin(Vt(s));t.push(["l",r,n])}return t}}class Kg extends ee{constructor(t){super(t)}toSVGPathData(){return[["M",0,0],["C",15,0,15,-40,5,-30],["L",0,0],["C",-15,0,-15,-40,-5,-30],["L",0,0],["a",15,15,0,1,1,0,30],["a",15,15,0,1,1,0,-30]]}}class Qg extends ee{constructor(t){super(t),this.originD="m5.068 9.267-3.08-.77a.512.512 0 0 1 0-.994l3.08-.77a2.289 2.289 0 0 0 1.665-1.665l.77-3.08a.512.512 0 0 1 .994 0l.77 3.08c.205.82.845 1.46 1.665 1.665l3.08.77a.512.512 0 0 1 0 .994l-3.08.77a2.29 2.29 0 0 0-1.665 1.665l-.77 3.08a.512.512 0 0 1-.994 0l-.77-3.08a2.289 2.289 0 0 0-1.665-1.665Z"}}class Jg extends Do{constructor(t){super(t);const e=new ve({...t,x:this.x,y:this.y,toX:this.x,toY:this.y-140-Math.random()*20}),s=30+Math.random()*30,r=new ve({...t,x:this.x,y:this.y-s,diffYInGroup:-s,toX:this.x+Math.random()*80-40,toY:this.y-100-Math.random()*40}),n=60+Math.random()*40,a=new ve({...t,x:this.x,y:this.y-n,diffYInGroup:-n,toX:this.x+Math.random()*60-30,toY:this.y-110-Math.random()*20});this.addShape([e,r,a])}}class $n extends ee{text;width=0;height=0;constructor(t){super(t),this.text=t.text,this.setAttr({fontSize:"10px",fontFamily:'system-ui, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif',emojiFontFamily:'"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "EmojiOne Color", "Android Emoji", "Twemoji Mozilla", "system emoji", sans-serif',fill:"#666666",stroke:"none","alignment-baseline":"middle",textAnchor:"start",...this.getAttrs()});const e=cs(this.getAttr("fontSize"),10).number,s=cs(this.getAttr("fontWeight"),400).number,r=et.measureText(this.text,e,s);this.width=r.width,this.height=r.height}getBoundingClientRect(){return null}toSVGPathData(){return[]}toCanvasContext(t){t.fillText(this.text,0,0)}}class ty extends Do{text;bg;padding;offset;isShow;textShape;bgShape;constructor(t){super(t),this.text=t.text,this.bg=t.bg||"rgba(0,0,0,0.5)",this.padding=t.padding||4,this.offset=t.offset||20,this.isShow=typeof t?.isShow=="boolean"?t?.isShow:!1,this.textShape=new $n({...t,x:this.x+this.offset,y:this.y+this.offset,text:this.text,attrs:{...this.getAttrs(),fill:ge(this.bg).opposite(!0).toString(),textAnchor:"start"}}),this.bgShape=new Te({...t,x:this.textShape.x-this.padding,y:this.textShape.y-this.textShape.height/2-this.padding,width:this.textShape.width+this.padding*2,height:this.textShape.height+this.padding*2,attrs:{...this.getAttrs(),fill:this.bg}}),this.addShape([this.bgShape,this.textShape])}shapeInit(){Wa(()=>{this.textShape.x=this.x+this.offset,this.textShape.y=this.y+this.offset,this.textShape.text=this.text,this.textShape.isShow=this.isShow,this.bgShape.x=this.textShape.x-this.padding,this.bgShape.y=this.textShape.y-this.textShape.height/2-this.padding,this.bgShape.width=this.textShape.width+this.padding*2,this.bgShape.height=this.textShape.height+this.padding*2,this.bgShape.isShow=this.isShow})}}class xd extends hs{radius;expandRaidus;startDegree;endDegree;text="";defaultShowText;tip="";p1=new se;p1Offset=10;p2=new se;p2Offset=40;p3=new se;p3Offset=10;p4=new se;p4Offset=10;direction=1;sectorArc;line12;line23;textShape;tipShape;constructor(t){super(t),this.radius=t.radius,this.expandRaidus=t.expandRaidus??20,this.startDegree=t.startDegree,this.endDegree=t.endDegree,this.text=t.text||"",this.defaultShowText=typeof t?.defaultShowText=="boolean"?t.defaultShowText:!!this.text,this.tip=t.tip||"",this.sectorArc=new ey({x:this.x,y:this.y,radius:this.radius,expandRaidus:this.expandRaidus,startDegree:this.startDegree,endDegree:this.endDegree,attrs:Object.assign({...this.getAttrs()},{strokeWidth:"0"})}),this.addShape(this.sectorArc);const e=Object.assign({...this.getAttrs()},{fill:"none"});this.line12=new ve({x:this.p1.x,y:this.p1.y,toX:this.p2.x,toY:this.p2.y,attrs:{...e},isShow:this.defaultShowText}),this.line23=new ve({x:this.p2.x,y:this.p2.y,toX:this.p3.x,toY:this.p3.y,attrs:{...e},isShow:this.defaultShowText}),this.textShape=new $n({x:this.p4.x,y:this.p4.y,text:this.text,attrs:{stroke:e.stroke,textAnchor:this.direction==1?"start":"end"},isShow:this.defaultShowText}),this.text&&(this.addShape(this.line12),this.addShape(this.line23),this.addShape(this.textShape)),this.tipShape=new ty({x:0,y:0,text:this.tip,isShow:!1}),this.tip&&this.addShape(this.tipShape)}frameUpdate(t){this.text&&!this.defaultShowText&&(this.line12.isShow=this.sectorArc.isMouseIn,this.line23.isShow=this.sectorArc.isMouseIn,this.textShape.isShow=this.sectorArc.isMouseIn);const e=this.startDegree+(this.endDegree-this.startDegree)/2,{dx:s,dy:r}=ks(Vt(e),this.sectorArc.radius+this.p1Offset);this.p1.x=this.x+s,this.p1.y=this.y+r;const{dx:n,dy:a}=ks(Vt(e),this.sectorArc.radius+this.p1Offset+this.p2Offset);this.p2.x=this.x+n,this.p2.y=this.y+a,this.line12.x=this.p1.x,this.line12.y=this.p1.y,this.line12.toX=this.p2.x,this.line12.toY=this.p2.y,this.direction=this.p1.x>this.x?1:-1,this.p3.x=this.p2.x+this.direction*this.p3Offset,this.p3.y=this.p2.y,this.p4.x=this.p3.x+this.direction*this.p4Offset,this.p4.y=this.p3.y,this.line23.x=this.p2.x,this.line23.y=this.p2.y,this.line23.toX=this.p3.x,this.line23.toY=this.p3.y,this.textShape.x=this.p4.x,this.textShape.y=this.p4.y,this.textShape.setAttr("textAnchor",this.direction==1?"start":"end"),this.sectorArc.isMouseIn?(this.tipShape.isShow=!0,this.tipShape.x=t.x,this.tipShape.y=t.y):(this.tipShape.isShow=!1,this.tipShape.x=t.x,this.tipShape.y=t.y)}}class ey extends ee{radius;realRadius;expandRaidus;startDegree;endDegree;vr;ar;bounce;durationTime;status;constructor(t){super(t),this.radius=0,this.realRadius=t.radius,this.expandRaidus=t.expandRaidus??20,this.startDegree=t.startDegree,this.endDegree=t.endDegree,this.vr=0,this.ar=.03,this.bounce=.6,this.durationTime=8.333333333333334,this.status=0}frameUpdate(){this.status==0&&this.radius<this.realRadius?(this.expand(this.realRadius),this.radius>=this.realRadius&&(this.status=1)):this.isMouseIn?this.expand(this.realRadius+this.expandRaidus):this.shrink(this.realRadius)}expand(t){this.vr+=this.ar,this.radius+=this.vr*this.durationTime,this.radius>t&&(this.radius=t,this.vr*=-this.bounce)}shrink(t){this.vr-=this.ar,this.radius+=this.vr*this.durationTime,this.radius<t&&(this.radius=t,this.vr*=-this.bounce)}toSVGPathData(){const{dx:t,dy:e}=ks(Vt(this.startDegree),this.radius),{dx:s,dy:r}=ks(Vt(this.endDegree),this.radius);return[["m",0,0],["l",t,e],["a",this.radius,this.radius,0,Math.abs(this.endDegree-this.startDegree)>=180?1:0,1,s-t,r-e],["z"]]}toCanvasContext(t){t.beginPath(),t.moveTo(0,0),t.arc(0,0,this.radius,Vt(this.startDegree),Vt(this.endDegree),!1),t.closePath()}containPoint(t,e){const s=bi(this.x,this.y,t,e),r=Ve(Fo(this.x,this.y,t,e));return s<=this.radius&&r>=this.startDegree&&r<=this.endDegree}}class sy extends hs{showFlame;ship;flame;constructor(t){super(t),this.showFlame=typeof t?.showFlame=="boolean"?t.showFlame:!1,this.ship=new ee({...t,d:[["M",10,0],["L",-10,10],["L",-5,0],["L",-10,-10],["L",10,0],["Z"]]}),this.addShape(this.ship),this.flame=new ee({...t,isShow:this.showFlame,d:[["m",-10,-5],["l",-7.5,5],["l",7.5,5],["z"]]}),this.addShape(this.flame)}shapeInit(){Wa(()=>{this.ship.x=this.x,this.ship.y=this.y,this.flame.x=this.x,this.flame.y=this.y,this.flame.isShow=this.showFlame})}}class wd extends Do{value;backgroundRect;occupyRect;handle;constructor(t){super(t);const e=t?.min||0,s=t?.max||100,r=t?.step||1,n=gu(e,s,r);this.value=n(typeof t?.defaultValue=="number"?re(t.defaultValue,e,s):e);const a=this.value/(s-e),i=t?.barWidth||100,l=t?.barHeight||4,c=t?.handleRadius||10,u=l*.5,d=t?.barColor||vt.colorGrayF5,f=t?.handleColor||vt.colorPrimary;this.backgroundRect=new Te({x:this.x,y:this.y,width:i,height:l,borderRadius:u,attrs:{fill:d},enableDrag:!1,independentTransformInGroup:!0}),this.addShape(this.backgroundRect),this.occupyRect=new Te({x:this.x,y:this.y,width:i*a,height:l,borderRadius:u,attrs:{fill:f},enableDrag:!1,independentTransformInGroup:!0}),this.addShape(this.occupyRect),this.handle=new se({x:this.x+i*a,y:this.y+u,diffXInGroup:i*a,diffYInGroup:u,radius:c,alongPath:new je({x:this.x,y:this.y+u,d:[["m",0,0],["l",i,0]]}),attrs:{fill:f},enableDrag:!0,independentTransformInGroup:!0}),this.addShape(this.handle),this.handle.on("draging",p=>{this.occupyRect.width=re(this.occupyRect.width+p,0,i),this.value=n((this.handle.x-this.x)/i*(s-e)+e),this.emit("change",this.value)})}}class Lo extends Do{width;height;cornerRadius;controlPoint;mainRect;rightPoint;constructor(t){super(t),this.width=t.width,this.height=t.height,this.cornerRadius=this.height/2,this.controlPoint=new se({...t,x:this.x,y:this.y,radius:2}),this.forceSetCXY(this.controlPoint.cX,this.controlPoint.cY),this.mainRect=new Te({...t,x:this.x-this.cornerRadius,y:this.y-this.cornerRadius,diffXInGroup:-this.cornerRadius,diffYInGroup:-this.cornerRadius,width:this.width+this.cornerRadius*2,height:this.height,borderRadius:this.cornerRadius}),this.rightPoint=new se({...t,x:this.x+this.width,y:this.y,diffXInGroup:this.width,radius:2}),this.addShape([this.mainRect,this.controlPoint,this.rightPoint])}getPin(){return{x:this.controlPoint.x+Math.cos(Vt(this.controlPoint.degree))*this.width,y:this.controlPoint.y+Math.sin(Vt(this.controlPoint.degree))*this.width}}}class Ai extends ee{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=e-e*Math.abs(Math.sin(Vt(this.extendDegree))),this.y=(t.y||0)+t.height-t.lineWidth-this.radius*Math.abs(Math.sin(Vt(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}=ks(Vt(this.startDegree),this.radius),{dx:s,dy:r}=ks(Vt(this.endDegree),this.radius);return[["m",t,e],["a",this.radius,this.radius,0,Math.abs(this.endDegree-this.startDegree)>=180?1:0,1,s-t,r-e]]}toCanvasContext(t){t.beginPath(),t.arc(0,0,this.radius,Vt(this.startDegree),Vt(this.endDegree),!1)}}let kd=class extends Do{percent=0;ringBg;ring;lines=[];bgColor;startColor;endColor;indicatorLineCount;constructor(t){super(t);const e=t?.startDegree||0,s=t?.endDegree||180,r=t?.extendDegree||15,n=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 Ai({...t,x:t?.x,y:t?.y,width:t.width,height:t.height,startDegree:e,endDegree:s,extendDegree:r,lineWidth:n,color:this.bgColor}),this.addShape(this.ringBg),this.ring=new Ai({...t,x:t?.x,y:t?.y,width:t.width,height:t.height,startDegree:e,endDegree:s,extendDegree:r,lineWidth:n}),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 ve({...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+(s-e+r*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,s)=>{this.shapes.forEach(r=>{r!=s&&(r.x+=t,r.y+=e)})})}frameUpdate(t,e){const s=this.ringBg.radius-this.ringBg.radius*Math.cos(Math.PI*this.percent),r=this.ringBg.radius*Math.sin(Math.PI*this.percent);if(e){const n=e.createLinearGradient(-this.ringBg.radius,0,-this.ringBg.radius+s,-r,{0:this.startColor,1:this.endColor});this.ring.setAttr({stroke:n})}else this.ring.setAttr({stroke:this.startColor});this.ring.setPercent(this.percent);for(let n=0;n<this.indicatorLineCount;n++){const a=n/(this.indicatorLineCount-1)<=this.percent;this.lines[n].setAttr({stroke:a&&e?e.createLinearGradient(0,0,this.lines[n].toX-this.lines[n].x,this.lines[n].toY-this.lines[n].y,{0:this.startColor,1:this.endColor}):a?this.startColor:this.bgColor})}}};class oy extends hs{fettis=[];constructor(t,e,s){super();const{shape:r,x:n,y:a,particleCount:i,angle:l,spread:c,startVelocity:u,decay:d,gravity:f,drift:p,ticks:h,colors:b,scalar:_,flat:v}=Object.assign({shape:Te,x:.5,y:.6,particleCount:100,angle:90,spread:70,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,colors:Gg,scalar:1,flat:!1},s||{}),w=Vt(l),g=Vt(c);let m=i;for(;m--;){const k=b[m%b.length],C=new r({x:t*n,y:e*a,width:10,height:10,scalar:_,attrs:{fill:k},independentTransformInGroup:!0});this.addShape(C),this.fettis.push({shape:C,wobble:Math.random()*10,wobbleSpeed:Math.min(.11,Math.random()*.1+.05),velocity:u*.5+Math.random()*u,angle2D:-w+(.5*g-Math.random()*g),tiltAngle:(Math.random()*.5+.25)*Math.PI,tick:0,totalTicks:h,decay:d,drift:p,random:Math.random()+2,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:f*3,scalar:_,flat:v,color:ge(k)})}}frameUpdate(t){this.fettis.length&&(this.fettis=this.fettis.filter(e=>{e.shape.x+=Math.cos(e.angle2D)*e.velocity+e.drift,e.shape.y+=Math.sin(e.angle2D)*e.velocity+e.gravity,e.velocity*=e.decay,e.flat?(e.wobble=0,e.wobbleX=e.shape.x+10*e.scalar,e.wobbleY=e.shape.y+10*e.scalar,e.tiltSin=0,e.tiltCos=0,e.random=1):(e.wobble+=e.wobbleSpeed,e.wobbleX=e.shape.x+10*e.scalar*Math.cos(e.wobble),e.wobbleY=e.shape.y+10*e.scalar*Math.sin(e.wobble),e.tiltAngle+=.1,e.tiltSin=Math.sin(e.tiltAngle),e.tiltCos=Math.cos(e.tiltAngle),e.random=Math.random()+2);const s=e.tick++/e.totalTicks,r=e.shape.x+e.random*e.tiltCos,n=e.shape.y+e.random*e.tiltSin,a=e.wobbleX+e.random*e.tiltCos,i=e.wobbleY+e.random*e.tiltSin;return e.shape.setAttr("fill",e.color.setAlpha(1-s).toString()),e.shape.degree=Ve(Math.PI/10*e.wobble),e.shape.scalarX=Math.abs(a-r)*.1,e.shape.scalarY=Math.abs(i-n)*.1,e.tick<e.totalTicks}))}}class Be{shapes;constructor(t){this.shapes=t}run(t){this.shapes.forEach(s=>{s.run(),t?.wall&&s.checkWall({wall:t.wall,bounce:t.bounce})});const e=this.shapes.length;for(let s=0,r=e-1;s<r;s++)for(let n=s+1;n<e;n++)this.shapes[s].checkCollision(this.shapes[n])}gravitate(){const t=this.shapes.length;this.shapes.forEach((e,s)=>{e.run();for(let r=s+1;r<t;r++)e.checkCollision(this.shapes[r]),e.gravitateTo(this.shapes[r])})}springChain(t){this.shapes.forEach((e,s)=>{s>0&&e.runSpringTo(this.shapes[s-1],t)})}springConnect(t){const e=Ys(t?.springLength,100);this.shapes.forEach(s=>{s.isDragging||this.shapes.filter(r=>r.id!==s.id).forEach(r=>{const n=Fo(s.x,s.y,r.x,r.y);s.runSpringTo({x:r.x-Math.cos(n)*e,y:r.y-Math.sin(n)*e},t)})})}springMass(t,e){const s=this.shapes.length,r=[];return this.shapes.forEach((n,a)=>{n.run(e),n.x>t.x+t.width?n.x=t.x:n.x<t.x&&(n.x=t.x+t.width),n.y>t.y+t.height?n.y=t.y:n.y<t.y&&(n.y=t.y+t.height);for(let i=a+1;i<s;i++)r.push([n.x,n.y,this.shapes[i].x,this.shapes[i].y,n.springMassTo(this.shapes[i],e)])}),r}polymorph(){if(this.shapes.length<2)throw new Error("shapes个数必须大于等于2");const t=this.shapes.length-1,e=new Array(t);for(let r=0;r<t;r++){const n=this.shapes[r].initPathD();this.shapes[r].frameStart();const a=this.shapes[r+1].initPathD();this.shapes[r+1].frameStart();const i=Math.max(n.polymorphPoints.length,a.polymorphPoints.length);e[r]=je.getPathInterpolator(n.expendFill(i),a.expendFill(i))}const s=new ee({d:e[0](0)});return r=>{const n=xe(t*r,6),a=Math.min(Math.floor(n),t-1),i=xe(n-a,6);s.originD=e[a](i);const l=this.shapes[a].getAttr("fill","none"),c=this.shapes[a+1].getAttr("fill","none");typeof l=="string"&&typeof c=="string"&&s.setAttr("fill",It.gradient(l,c,i).toString());const u=this.shapes[a].getAttr("stroke","none"),d=this.shapes[a+1].getAttr("stroke","none");return typeof u=="string"&&typeof d=="string"&&s.setAttr("stroke",It.gradient(u,d,i).toString()),s}}polymorphGroup(){if(this.shapes.length<2)throw new Error("shapes个数必须大于等于2");let t=0,e;const s=[];this.shapes.forEach(i=>{let l;i instanceof hs?(l=i,l.sortPathD()):(l=new hs,l.addShape(i)),s.push(l),t<l.shapes.length&&(t=l.shapes.length,e=l)}),s.forEach(i=>{i!==e&&i.expendFill(e)});const r=[];s.forEach((i,l)=>{i.shapes.forEach((c,u)=>{r[u]=r[u]||[],r[u][l]=c})});const n=[];r.forEach(i=>{n.push(new Be(i).polymorph())});const a=new hs;return n.forEach(i=>{a.addShape(i(0))}),i=>(n.forEach(l=>{l(i)}),a)}polymorphTween(t=6e3,e){const s=this.shapes.findIndex(i=>i instanceof hs)>=0?this.polymorphGroup():this.polymorph(),r=s(0),n=e?.onUpdate,a=new Ie({frameDuration:t});a.addTween({t:0},{t:1},Object.assign(e||{},{onUpdate:(i,l)=>{s(i.t),n?.(i,l),e?.draw?.(r)}})),a.play()}static generatePointsShape(t,e,s,r){const n=[];for(let a=0;a<r;a++){const i=a/r*2*Math.PI,{dx:l,dy:c}=ks(i,s);n.push({x:t+l,y:e+c})}return new bd({points:n})}static generateRosettaShape(t,e,s,r,n){if(n==0)throw new Error("no dividing by zero, please");const a=[],i=360/n;for(let l=0;l<n;l+=1){const c=i*l*Math.PI/180,u=t+2*s*Math.cos(c),d=e+2*s*Math.sin(c);a.push(new ki({x:t,y:e,rx:s,ry:r,xAxisRotate:i*l,largeArcFlag:1,sweepFlag:1,toX:u,toY:d})),a.push(new ki({x:u,y:d,rx:s,ry:r,xAxisRotate:i*l,largeArcFlag:1,sweepFlag:1,toX:t,toY:e}))}return new ee({d:je.fromLines(a)})}}class Ni{app;ctx;shapes=[];isMouseDown=!1;currentMouseInShape;currentEnableDragMouseInShape;dragDx=0;dragDy=0;constructor(t,e=!1){if(this.app=t,!(this.app.container instanceof HTMLCanvasElement))throw new Error("app.container 应该为 HTMLCanvasElement!");this.ctx=new wi(this.app.container,this.app.width,this.app.height,e),this.app.captureDrag({start:()=>{this.isMouseDown=!0,this.dragDx=0,this.dragDy=0,this.setCursor()},end:()=>{this.isMouseDown=!1,this.dragDx=0,this.dragDy=0,this.setCursor()},move:(s,r)=>{this.currentEnableDragMouseInShape&&(this.dragDx+=r.dx,this.dragDy+=r.dy),this.setCursor()}}),this.app.on("tap",()=>{for(let s of this.shapes)if(this.currentMouseInShape==s){s.emit("clicked");let r=s.parent;for(;r;)r.emit("clicked",s),r=r.parent;break}})}setCursor(){this.currentEnableDragMouseInShape?(this.app.container.style.cursor="grab",this.isMouseDown&&(this.app.container.style.cursor="grabbing")):this.currentMouseInShape?this.app.container.style.cursor="pointer":this.app.container.style.cursor="default"}transformCtxBaseOnShape(t){t.usePathDtoCanvasContext||(this.ctx.translate(t.x,t.y),this.ctx.rotate(Vt(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 hs&&t.shapes.forEach(e=>{this._addDrawShape(e)})}draw(t=[]){this.shapes=[],(Array.isArray(t)?t:[t]).forEach(e=>{this._addDrawShape(e)}),this.isMouseDown&&this.currentEnableDragMouseInShape||(this.currentMouseInShape=void 0);for(let e of this.shapes){if(!e.isShow)continue;if(this.ctx.save(),e.frameStart(this.app.mousePoint),et.attrsToCanvas(this.ctx,e.getAttrs()),e.followMouse&&(!an(e.x,this.app.mousePoint.x,5)||!an(e.y,this.app.mousePoint.y,5))&&e.followTo(this.app.mousePoint),e.targetToAfterDragFree&&(this.isMouseDown||e.runEaseTo({x:e.targetToAfterDragFree.targetX,y:e.targetToAfterDragFree.targetY},{easing:e.targetToAfterDragFree?.easing})),this.isMouseDown&&this.currentEnableDragMouseInShape==e){e.isDragging=!0;const r=this.dragDx,n=this.dragDy;if(this.dragDx=0,this.dragDy=0,r||n){if(e.x+=r,e.y+=n,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",r,n)}}else e.isDragging=!1;e.frameUpdate(this.app.mousePoint,this.ctx),this.transformCtxBaseOnShape(e),e.toCanvasContext(this.ctx),this.ctx.hasSetCustomStrokeStyle&&this.ctx.stroke(),this.ctx.hasSetCustomFillStyle&&this.ctx.fill();const s=this.ctx.currentPath2D;if(!this.currentMouseInShape){const r=this.ctx.isPointInPath(s,this.app.mousePoint.x,this.app.mousePoint.y)||this.ctx.isPointInStroke(s,this.app.mousePoint.x,this.app.mousePoint.y)||!1;e.isMouseIn=r,r&&(this.currentMouseInShape=e,e.enableDrag&&(this.currentEnableDragMouseInShape=e))}e.frameEnd(this.app.mousePoint),this.ctx.restore()}this.currentMouseInShape||(this.currentEnableDragMouseInShape=void 0)}drawMouseMoveLine(t="line",e){switch(t){case"brush":const s=e?.brushSize??10,r=e?.brushDensity??50,n=e?.brushColor??"#000000",a=this.ctx.getImageData(0,0,this.ctx.canvas.width,this.ctx.canvas.height),i=a.data,l=ge(n);return this.app.captureDrag({move:()=>{if(this.isMouseDown){for(let c=0;c<r;c++){const u=Math.random()*Math.PI*2,d=Math.random()*s,f=this.app.mousePoint.x+Math.cos(u)*d|0,p=this.app.mousePoint.y+Math.sin(u)*d|0,h=(f+p*a.width)*4;i[h]=l.r,i[h+1]=l.g,i[h+2]=l.b,i[h+3]=255}this.ctx.putImageData(a)}}});case"line":default:return this.app.captureDrag({start:c=>{this.ctx.beginPath(),this.ctx.moveTo(this.app.mousePoint.x,this.app.mousePoint.y)},end:()=>{this.ctx.closePath()},move:()=>{this.isMouseDown&&(this.ctx.lineTo(this.app.mousePoint.x,this.app.mousePoint.y),this.ctx.stroke())}})}}}class ry{map;constructor(t,e=120.619585,s=31.299379,r=18){this.map=new T.Map(t),this.map.centerAndZoom(new T.LngLat(e,s),r)}}const ny=K({__name:"Icon.ce",props:{icon:{default:"mdi-light:home"},color:{default:vt.colorPrimary}},setup(o){const t=o;return(e,s)=>(L(),B("span",{class:"icon",style:A(["color: "+e.color])},[ct(Ot(Ku),{icon:t.icon,color:e.color},null,8,["icon","color"])],4))}}),ay=`.icon[data-v-b2d9b612]{display:inline-flex;justify-content:center;align-items:center;cursor:pointer;font-size:1em}
55
- `,lt=(o,t)=>{const e=o.__vccOpts||o;for(const[s,r]of t)e[s]=r;return e},Cd=lt(ny,[["styles",[ay]],["__scopeId","data-v-b2d9b612"]]),iy=K({__name:"Icon",props:{icon:{default:"mdi-light:home"},color:{default:vt.colorPrimary}},setup(o){const t=o;return(e,s)=>(L(),B("span",{class:"icon",style:A(["color: "+e.color])},[ct(Ot(Ku),{icon:t.icon,color:e.color},null,8,["icon","color"])],4))}}),Q_="",fs=lt(iy,[["__scopeId","data-v-8789b4ce"]]),ly={class:"loading-11",ref:"loading11"},cy={class:"container container-1"},uy={class:"container container-2"},dy={class:"container container-3"},hy=K({__name:"Loading11",props:{color:{default:vt.colorPrimary},width:{default:"0.8em"}},setup(o){const t=o;return(e,s)=>(L(),B("div",ly,[E("div",{class:"loading-11-inner",style:A({width:t.width,height:t.width})},[E("div",cy,[E("div",{class:"dot dot-1",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-2",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-3",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-4",style:A({backgroundColor:t.color})},null,4)]),E("div",uy,[E("div",{class:"dot dot-1",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-2",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-3",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-4",style:A({backgroundColor:t.color})},null,4)]),E("div",dy,[E("div",{class:"dot dot-1",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-2",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-3",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-4",style:A({backgroundColor:t.color})},null,4)])],4)],512))}}),J_="",Dn=lt(hy,[["__scopeId","data-v-f95fac77"]]),fy={key:0,class:"loading"},po=lt(K({customOptions:{Loading11:Dn},inheritAttrs:!0,__name:"Button.ce",props:{label:{},icon:{},iconPosition:{default:"left"},disabled:{type:Boolean,default:!1},height:{default:"44px"},padding:{default:"20px"},fontSize:{default:"14px"},borderRadius:{default:"4px"},stylePattern:{default:"fullfilled"},borderColor:{},bgColor:{},fontColor:{},asyncClick:{}},emits:["yz-click","click"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(),a=R(s.borderColor),i=R(s.bgColor),l=R(s.fontColor),c=R(s.borderColor),u=R(s.bgColor);function d(m){switch(m){case"outline":a.value=s.borderColor??vt.colorPrimary,i.value=s.bgColor??vt.colorGrayFF,l.value=s.fontColor??vt.colorPrimary,c.value=a.value,u.value=i.value;break;case"fullfilled":default:a.value=s.borderColor??vt.colorPrimary,i.value=s.bgColor??vt.colorPrimary,l.value=s.fontColor??vt.colorGrayFF,c.value=a.value,u.value=i.value;break}}Et(()=>s.stylePattern,()=>{d(s.stylePattern)},{immediate:!0});const f=R(s.disabled?"0.6":"1"),p=R(s.disabled?"not-allowed":"pointer");let h=!1;const b=()=>{s.disabled||(h=!0,a.value=ge(c.value).lighten(.05).toString(),i.value=ge(u.value).lighten(.05).toString())},_=()=>{s.disabled||(h=!1,a.value=c.value,i.value=u.value)},v=R(!1),g=vu(()=>{s.disabled||v.value||(a.value=ge(c.value).darken(.05).toString(),i.value=ge(u.value).darken(.05).toString(),setTimeout(()=>{h?b():_()},150),r("yz-click"),r("click"),s.asyncClick&&(v.value=!0,s.asyncClick().then(()=>{v.value=!1}).catch(()=>{v.value=!1})))},500);return t({el:n}),(m,k)=>(L(),B("div",{ref_key:"el",ref:n,class:"button",style:A([`opacity: ${f.value}`,`border: 1px solid ${a.value}`,`background-color: ${i.value}`,`color: ${l.value}`,`border-radius: ${s.borderRadius}`,`height: ${s.height}`,`line-height: ${s.height}`,`font-size: ${s.fontSize}`,`cursor: ${p.value}`,"user-select: none"]),onMouseover:b,onMouseleave:_,onClick:k[0]||(k[0]=(...C)=>Ot(g)&&Ot(g)(...C))},[E("label",{class:"label truncate",style:A({padding:"0 "+m.padding,cursor:p.value})},[v.value?(L(),B("div",fy,[ct(Dn,{color:l.value},null,8,["color"])])):$t("",!0),Tt(m.$slots,"default",{},()=>[m.icon&&m.iconPosition==="left"?(L(),Mt(fs,{key:0,icon:m.icon,color:l.value,style:A({marginRight:Ot(vt).d4,cursor:p.value})},null,8,["icon","color","style"])):$t("",!0),E("span",{style:A({cursor:p.value})},bt(m.label),5),m.icon&&m.iconPosition==="right"?(L(),Mt(fs,{key:1,icon:m.icon,color:l.value,style:A({marginLeft:Ot(vt).d4,cursor:p.value})},null,8,["icon","color","style"])):$t("",!0)],!0)],4)],36))}}),[["styles",[`.button[data-v-42c4dc4c]{box-sizing:border-box;display:inline-flex;justify-content:center;align-items:center;z-index:0}.label[data-v-42c4dc4c]{display:inline-flex;justify-content:center;align-items:center}.loading[data-v-42c4dc4c]{margin-right:6px}
56
- `]],["__scopeId","data-v-42c4dc4c"]]),py={key:0,class:"loading"},my=K({customOptions:{Loading11:Dn},inheritAttrs:!0,__name:"Button",props:{label:{},icon:{},iconPosition:{default:"left"},disabled:{type:Boolean,default:!1},height:{default:"44px"},padding:{default:"20px"},fontSize:{default:"14px"},borderRadius:{default:"4px"},stylePattern:{default:"fullfilled"},borderColor:{},bgColor:{},fontColor:{},asyncClick:{}},emits:["yz-click","click"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(),a=R(s.borderColor),i=R(s.bgColor),l=R(s.fontColor),c=R(s.borderColor),u=R(s.bgColor);function d(m){switch(m){case"outline":a.value=s.borderColor??vt.colorPrimary,i.value=s.bgColor??vt.colorGrayFF,l.value=s.fontColor??vt.colorPrimary,c.value=a.value,u.value=i.value;break;case"fullfilled":default:a.value=s.borderColor??vt.colorPrimary,i.value=s.bgColor??vt.colorPrimary,l.value=s.fontColor??vt.colorGrayFF,c.value=a.value,u.value=i.value;break}}Et(()=>s.stylePattern,()=>{d(s.stylePattern)},{immediate:!0});const f=R(s.disabled?"0.6":"1"),p=R(s.disabled?"not-allowed":"pointer");let h=!1;const b=()=>{s.disabled||(h=!0,a.value=ge(c.value).lighten(.05).toString(),i.value=ge(u.value).lighten(.05).toString())},_=()=>{s.disabled||(h=!1,a.value=c.value,i.value=u.value)},v=R(!1),g=vu(()=>{s.disabled||v.value||(a.value=ge(c.value).darken(.05).toString(),i.value=ge(u.value).darken(.05).toString(),setTimeout(()=>{h?b():_()},150),r("yz-click"),r("click"),s.asyncClick&&(v.value=!0,s.asyncClick().then(()=>{v.value=!1}).catch(()=>{v.value=!1})))},500);return t({el:n}),(m,k)=>(L(),B("div",{ref_key:"el",ref:n,class:"button",style:A([`opacity: ${f.value}`,`border: 1px solid ${a.value}`,`background-color: ${i.value}`,`color: ${l.value}`,`border-radius: ${s.borderRadius}`,`height: ${s.height}`,`line-height: ${s.height}`,`font-size: ${s.fontSize}`,`cursor: ${p.value}`,"user-select: none"]),onMouseover:b,onMouseleave:_,onClick:k[0]||(k[0]=(...C)=>Ot(g)&&Ot(g)(...C))},[E("label",{class:"label truncate",style:A({padding:"0 "+m.padding,cursor:p.value})},[v.value?(L(),B("div",py,[ct(Dn,{color:l.value},null,8,["color"])])):$t("",!0),Tt(m.$slots,"default",{},()=>[m.icon&&m.iconPosition==="left"?(L(),Mt(fs,{key:0,icon:m.icon,color:l.value,style:A({marginRight:Ot(vt).d4,cursor:p.value})},null,8,["icon","color","style"])):$t("",!0),E("span",{style:A({cursor:p.value})},bt(m.label),5),m.icon&&m.iconPosition==="right"?(L(),Mt(fs,{key:1,icon:m.icon,color:l.value,style:A({marginLeft:Ot(vt).d4,cursor:p.value})},null,8,["icon","color","style"])):$t("",!0)],!0)],4)],36))}}),sx="",oe=lt(my,[["__scopeId","data-v-b3e1b144"]]),gy=["onClick","value"],yy={class:"option-inner"},vy=lt(K({customOptions:{Icon:fs,Button:oe},__name:"Select.ce",props:{options:{},initIndex:{default:0},fontSize:{default:"14px"}},emits:["change"],setup(o,{emit:t}){const e=o,s=t;ao(()=>{et.injectStyle(`
55
+ `,lt=(o,t)=>{const e=o.__vccOpts||o;for(const[s,r]of t)e[s]=r;return e},Cd=lt(ny,[["styles",[ay]],["__scopeId","data-v-b2d9b612"]]),iy=K({__name:"Icon",props:{icon:{default:"mdi-light:home"},color:{default:vt.colorPrimary}},setup(o){const t=o;return(e,s)=>(L(),B("span",{class:"icon",style:A(["color: "+e.color])},[ct(Ot(Ku),{icon:t.icon,color:e.color},null,8,["icon","color"])],4))}}),Q_="",fs=lt(iy,[["__scopeId","data-v-8789b4ce"]]),ly={class:"loading-11",ref:"loading11"},cy={class:"container container-1"},uy={class:"container container-2"},dy={class:"container container-3"},hy=K({__name:"Loading11",props:{color:{default:vt.colorPrimary},width:{default:"0.8em"}},setup(o){const t=o;return(e,s)=>(L(),B("div",ly,[E("div",{class:"loading-11-inner",style:A({width:t.width,height:t.width})},[E("div",cy,[E("div",{class:"dot dot-1",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-2",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-3",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-4",style:A({backgroundColor:t.color})},null,4)]),E("div",uy,[E("div",{class:"dot dot-1",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-2",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-3",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-4",style:A({backgroundColor:t.color})},null,4)]),E("div",dy,[E("div",{class:"dot dot-1",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-2",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-3",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-4",style:A({backgroundColor:t.color})},null,4)])],4)],512))}}),J_="",Dn=lt(hy,[["__scopeId","data-v-f95fac77"]]),fy={key:0,class:"loading"},po=lt(K({customOptions:{Loading11:Dn},inheritAttrs:!0,__name:"Button.ce",props:{label:{},icon:{},iconPosition:{default:"left"},disabled:{type:Boolean,default:!1},height:{default:"44px"},padding:{default:"20px"},fontSize:{default:"14px"},borderRadius:{default:"4px"},stylePattern:{default:"fullfilled"},borderColor:{},bgColor:{},fontColor:{},asyncClick:{}},emits:["yz-click","click"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(),a=R(s.borderColor),i=R(s.bgColor),l=R(s.fontColor),c=R(s.borderColor),u=R(s.bgColor);function d(m){switch(m){case"outline":a.value=s.borderColor??vt.colorPrimary,i.value=s.bgColor??vt.colorGrayFF,l.value=s.fontColor??vt.colorPrimary,c.value=a.value,u.value=i.value;break;case"fullfilled":default:a.value=s.borderColor??vt.colorPrimary,i.value=s.bgColor??vt.colorPrimary,l.value=s.fontColor??vt.colorGrayFF,c.value=a.value,u.value=i.value;break}}Et(()=>s.stylePattern,()=>{d(s.stylePattern)},{immediate:!0});const f=R(s.disabled?"0.6":"1"),p=R(s.disabled?"not-allowed":"pointer");let h=!1;const b=()=>{s.disabled||(h=!0,a.value=ge(c.value).lighten(.05).toString(),i.value=ge(u.value).lighten(.05).toString())},_=()=>{s.disabled||(h=!1,a.value=c.value,i.value=u.value)},v=R(!1),g=vu(()=>{s.disabled||v.value||(a.value=ge(c.value).darken(.05).toString(),i.value=ge(u.value).darken(.05).toString(),setTimeout(()=>{h?b():_()},150),r("yz-click"),r("click"),s.asyncClick&&(v.value=!0,s.asyncClick().then(()=>{v.value=!1}).catch(()=>{v.value=!1})))},500);return t({el:n}),(m,k)=>(L(),B("div",{ref_key:"el",ref:n,class:"button",style:A([`opacity: ${f.value}`,`border: 1px solid ${a.value}`,`background-color: ${i.value}`,`color: ${l.value}`,`border-radius: ${s.borderRadius}`,`height: ${s.height}`,`line-height: ${s.height}`,`font-size: ${s.fontSize}`,`cursor: ${p.value}`,"user-select: none"]),onMouseover:b,onMouseleave:_,onClick:k[0]||(k[0]=(...C)=>Ot(g)&&Ot(g)(...C))},[E("label",{class:"label truncate",style:A({padding:"0 "+m.padding,cursor:p.value})},[v.value?(L(),B("div",fy,[ct(Dn,{color:l.value},null,8,["color"])])):$t("",!0),Ct(m.$slots,"default",{},()=>[m.icon&&m.iconPosition==="left"?(L(),Mt(fs,{key:0,icon:m.icon,color:l.value,style:A({marginRight:Ot(vt).d4,cursor:p.value})},null,8,["icon","color","style"])):$t("",!0),E("span",{style:A({cursor:p.value})},bt(m.label),5),m.icon&&m.iconPosition==="right"?(L(),Mt(fs,{key:1,icon:m.icon,color:l.value,style:A({marginLeft:Ot(vt).d4,cursor:p.value})},null,8,["icon","color","style"])):$t("",!0)],!0)],4)],36))}}),[["styles",[`.button[data-v-42c4dc4c]{box-sizing:border-box;display:inline-flex;justify-content:center;align-items:center;z-index:0}.label[data-v-42c4dc4c]{display:inline-flex;justify-content:center;align-items:center}.loading[data-v-42c4dc4c]{margin-right:6px}
56
+ `]],["__scopeId","data-v-42c4dc4c"]]),py={key:0,class:"loading"},my=K({customOptions:{Loading11:Dn},inheritAttrs:!0,__name:"Button",props:{label:{},icon:{},iconPosition:{default:"left"},disabled:{type:Boolean,default:!1},height:{default:"44px"},padding:{default:"20px"},fontSize:{default:"14px"},borderRadius:{default:"4px"},stylePattern:{default:"fullfilled"},borderColor:{},bgColor:{},fontColor:{},asyncClick:{}},emits:["yz-click","click"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(),a=R(s.borderColor),i=R(s.bgColor),l=R(s.fontColor),c=R(s.borderColor),u=R(s.bgColor);function d(m){switch(m){case"outline":a.value=s.borderColor??vt.colorPrimary,i.value=s.bgColor??vt.colorGrayFF,l.value=s.fontColor??vt.colorPrimary,c.value=a.value,u.value=i.value;break;case"fullfilled":default:a.value=s.borderColor??vt.colorPrimary,i.value=s.bgColor??vt.colorPrimary,l.value=s.fontColor??vt.colorGrayFF,c.value=a.value,u.value=i.value;break}}Et(()=>s.stylePattern,()=>{d(s.stylePattern)},{immediate:!0});const f=R(s.disabled?"0.6":"1"),p=R(s.disabled?"not-allowed":"pointer");let h=!1;const b=()=>{s.disabled||(h=!0,a.value=ge(c.value).lighten(.05).toString(),i.value=ge(u.value).lighten(.05).toString())},_=()=>{s.disabled||(h=!1,a.value=c.value,i.value=u.value)},v=R(!1),g=vu(()=>{s.disabled||v.value||(a.value=ge(c.value).darken(.05).toString(),i.value=ge(u.value).darken(.05).toString(),setTimeout(()=>{h?b():_()},150),r("yz-click"),r("click"),s.asyncClick&&(v.value=!0,s.asyncClick().then(()=>{v.value=!1}).catch(()=>{v.value=!1})))},500);return t({el:n}),(m,k)=>(L(),B("div",{ref_key:"el",ref:n,class:"button",style:A([`opacity: ${f.value}`,`border: 1px solid ${a.value}`,`background-color: ${i.value}`,`color: ${l.value}`,`border-radius: ${s.borderRadius}`,`height: ${s.height}`,`line-height: ${s.height}`,`font-size: ${s.fontSize}`,`cursor: ${p.value}`,"user-select: none"]),onMouseover:b,onMouseleave:_,onClick:k[0]||(k[0]=(...C)=>Ot(g)&&Ot(g)(...C))},[E("label",{class:"label truncate",style:A({padding:"0 "+m.padding,cursor:p.value})},[v.value?(L(),B("div",py,[ct(Dn,{color:l.value},null,8,["color"])])):$t("",!0),Ct(m.$slots,"default",{},()=>[m.icon&&m.iconPosition==="left"?(L(),Mt(fs,{key:0,icon:m.icon,color:l.value,style:A({marginRight:Ot(vt).d4,cursor:p.value})},null,8,["icon","color","style"])):$t("",!0),E("span",{style:A({cursor:p.value})},bt(m.label),5),m.icon&&m.iconPosition==="right"?(L(),Mt(fs,{key:1,icon:m.icon,color:l.value,style:A({marginLeft:Ot(vt).d4,cursor:p.value})},null,8,["icon","color","style"])):$t("",!0)],!0)],4)],36))}}),sx="",oe=lt(my,[["__scopeId","data-v-b3e1b144"]]),gy=["onClick","value"],yy={class:"option-inner"},vy=lt(K({customOptions:{Icon:fs,Button:oe},__name:"Select.ce",props:{options:{},initIndex:{default:0},fontSize:{default:"14px"}},emits:["change"],setup(o,{emit:t}){const e=o,s=t;ao(()=>{et.injectStyle(`
57
57
  :root {
58
58
  --select-option-bg-color: ${vt.colorGrayFF};
59
59
  --select-option-bg-color-hover: ${vt.colorGrayF5};
60
60
  }
61
- `)});const r=R(!1),n=R(e.initIndex);Et(n,function(){s("change",n.value,e.options[n.value])});function a(){r.value=!r.value}function i(l){n.value=l,r.value=!1}return(l,c)=>(L(),B("div",{class:"select",style:A(["font-size:"+l.fontSize])},[E("div",{onClick:a},[Tt(l.$slots,"button",{selectedIndex:n.value},()=>[ct(oe,{icon:"carbon:chevron-sort",iconPosition:"right",label:l.options[n.value],style:{width:"100%"}},null,8,["label"])],!0)]),ro(E("div",{class:"options",style:A({border:"1px solid "+Ot(vt).colorGrayCC})},[(L(!0),B(Xt,null,ye(l.options,(u,d)=>(L(),B("div",{onClick:f=>i(d),class:"option",key:d,value:d,style:A({borderTop:(d==0?"0":"1px")+" solid "+Ot(vt).colorGrayCC})},[E("div",yy,[Tt(l.$slots,"default",{item:u,index:d},()=>[E("span",null,bt(u),1),d==n.value?(L(),Mt(fs,{key:0,icon:"mingcute:check-fill",class:"icon"})):$t("",!0)],!0)])],12,gy))),128))],4),[[zs,r.value]])],4))}}),[["styles",[`.select[data-v-4084db6c]{display:inline-block;position:relative}.options[data-v-4084db6c]{position:relative;width:100%;text-align:center;margin:0;padding:0;box-sizing:border-box;background-color:#fff}.option[data-v-4084db6c]{cursor:pointer}.option-inner[data-v-4084db6c]{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-4084db6c]:hover{background-color:var(--select-option-bg-color-hover)}.icon[data-v-4084db6c]{position:absolute;right:.5em;top:50%;transform:translateY(-50%)}
61
+ `)});const r=R(!1),n=R(e.initIndex);Et(n,function(){s("change",n.value,e.options[n.value])});function a(){r.value=!r.value}function i(l){n.value=l,r.value=!1}return(l,c)=>(L(),B("div",{class:"select",style:A(["font-size:"+l.fontSize])},[E("div",{onClick:a},[Ct(l.$slots,"button",{selectedIndex:n.value},()=>[ct(oe,{icon:"carbon:chevron-sort",iconPosition:"right",label:l.options[n.value],style:{width:"100%"}},null,8,["label"])],!0)]),ro(E("div",{class:"options",style:A({border:"1px solid "+Ot(vt).colorGrayCC})},[(L(!0),B(Xt,null,ye(l.options,(u,d)=>(L(),B("div",{onClick:f=>i(d),class:"option",key:d,value:d,style:A({borderTop:(d==0?"0":"1px")+" solid "+Ot(vt).colorGrayCC})},[E("div",yy,[Ct(l.$slots,"default",{item:u,index:d},()=>[E("span",null,bt(u),1),d==n.value?(L(),Mt(fs,{key:0,icon:"mingcute:check-fill",class:"icon"})):$t("",!0)],!0)])],12,gy))),128))],4),[[zs,r.value]])],4))}}),[["styles",[`.select[data-v-4084db6c]{display:inline-block;position:relative}.options[data-v-4084db6c]{position:relative;width:100%;text-align:center;margin:0;padding:0;box-sizing:border-box;background-color:#fff}.option[data-v-4084db6c]{cursor:pointer}.option-inner[data-v-4084db6c]{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-4084db6c]:hover{background-color:var(--select-option-bg-color-hover)}.icon[data-v-4084db6c]{position:absolute;right:.5em;top:50%;transform:translateY(-50%)}
62
62
  `]],["__scopeId","data-v-4084db6c"]]),by=["width","height"],_y=["fill"],xy=K({__name:"SVGDown",props:{width:{default:"1em"},height:{},color:{default:vt.colorGrayCC}},setup(o){const t=o;return(e,s)=>(L(),B("svg",{viewBox:"0 0 20 20",width:t.width,height:t.height??t.width,fill:"none",xmlns:"http://www.w3.org/2000/svg"},[E("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,_y)],8,by))}}),nx="",Ln=lt(xy,[["__scopeId","data-v-b1f2ae20"]]),wy={class:"button-default"},ky={class:"truncate"},Cy=["onClick","value"],Ty=K({customOptions:{SVGDown:Ln},__name:"SelectAbsolute.ce",props:{options:{},initIndex:{default:0},fontSize:{default:"16px"},bgColor:{default:vt.colorGrayFF},hoverColor:{default:vt.colorGrayF5},selectedColor:{default:vt.colorPrimary},fontColor:{default:vt.colorGray33},duration:{default:300}},emits:["change"],setup(o,{emit:t}){const e=o,s=t;ao(()=>{et.injectStyle(`
63
63
  :root {
64
64
  --select-option-bg-color: ${e.bgColor};
65
65
  --select-option-bg-color-hover: ${e.hoverColor};
66
66
  }
67
- `)});const r=R(!1),n=R(e.initIndex);Et(n,function(){s("change",n.value,e.options[n.value])});function a(){r.value=!r.value}function i(c){n.value=c,r.value=!1}const l=R("rotate(-180deg)");return cc(()=>{l.value=r.value?"rotate(0deg)":"rotate(-90deg)"}),(c,u)=>(L(),B("div",{class:"select-absolute",style:A({fontSize:e.fontSize,backgroundColor:e.bgColor})},[E("div",{class:"select-absolute-button",onClick:a},[Tt(c.$slots,"button",{selectedIndex:n.value},()=>[E("div",wy,[E("div",ky,bt(c.options[n.value]),1),ct(Ln,{class:"icon-down",width:"20px",style:A({transition:`transform ${e.duration}ms ease-in-out`,transform:l.value})},null,8,["style"])])],!0)]),E("div",{class:"options",style:A({maxHeight:r.value?"200px":0,transition:`all ${e.duration}ms ease-in-out`,borderTop:`${r.value?1:0}px solid #e6e6e6`})},[(L(!0),B(Xt,null,ye(c.options,(d,f)=>(L(),B("div",{onClick:p=>i(f),class:"option",key:f,value:f},[Tt(c.$slots,"default",{item:d,index:f},()=>[E("div",{class:"option-default",style:A({color:n.value==f?e.selectedColor:e.fontColor})},bt(d),5)],!0)],8,Cy))),128))],4)],4))}}),Td=lt(Ty,[["styles",[`.select-absolute[data-v-b1fe6587]{display:block;position:relative;width:100%}.select-absolute-button[data-v-b1fe6587]{overflow:hidden}.button-default[data-v-b1fe6587]{display:flex;justify-content:space-between;align-items:center;padding:0 10px 0 15px;height:44px;line-height:44px}.icon-down[data-v-b1fe6587]{flex:0 0 auto}.truncate[data-v-b1fe6587]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal;word-break:break-all}.options[data-v-b1fe6587]{position:absolute;bottom:0;left:0;transform:translateY(100%);z-index:99;width:100%;overflow-y:scroll;box-sizing:border-box}.options[data-v-b1fe6587]::-webkit-scrollbar{-webkit-appearance:none}.options[data-v-b1fe6587]::-webkit-scrollbar:vertical{width:2px}.options[data-v-b1fe6587]::-webkit-scrollbar-track{background-color:var(--select-option-bg-color)}.options[data-v-b1fe6587]::-webkit-scrollbar-thumb{border-radius:2px;background-color:#0000004d}.option[data-v-b1fe6587]{cursor:pointer}.option-default[data-v-b1fe6587]{padding:14px 15px;line-height:1;background-color:var(--select-option-bg-color)}.option-default[data-v-b1fe6587]:hover{background-color:var(--select-option-bg-color-hover)}
67
+ `)});const r=R(!1),n=R(e.initIndex);Et(n,function(){s("change",n.value,e.options[n.value])});function a(){r.value=!r.value}function i(c){n.value=c,r.value=!1}const l=R("rotate(-180deg)");return cc(()=>{l.value=r.value?"rotate(0deg)":"rotate(-90deg)"}),(c,u)=>(L(),B("div",{class:"select-absolute",style:A({fontSize:e.fontSize,backgroundColor:e.bgColor})},[E("div",{class:"select-absolute-button",onClick:a},[Ct(c.$slots,"button",{selectedIndex:n.value},()=>[E("div",wy,[E("div",ky,bt(c.options[n.value]),1),ct(Ln,{class:"icon-down",width:"20px",style:A({transition:`transform ${e.duration}ms ease-in-out`,transform:l.value})},null,8,["style"])])],!0)]),E("div",{class:"options",style:A({maxHeight:r.value?"200px":0,transition:`all ${e.duration}ms ease-in-out`,borderTop:`${r.value?1:0}px solid #e6e6e6`})},[(L(!0),B(Xt,null,ye(c.options,(d,f)=>(L(),B("div",{onClick:p=>i(f),class:"option",key:f,value:f},[Ct(c.$slots,"default",{item:d,index:f},()=>[E("div",{class:"option-default",style:A({color:n.value==f?e.selectedColor:e.fontColor})},bt(d),5)],!0)],8,Cy))),128))],4)],4))}}),Td=lt(Ty,[["styles",[`.select-absolute[data-v-b1fe6587]{display:block;position:relative;width:100%}.select-absolute-button[data-v-b1fe6587]{overflow:hidden}.button-default[data-v-b1fe6587]{display:flex;justify-content:space-between;align-items:center;padding:0 10px 0 15px;height:44px;line-height:44px}.icon-down[data-v-b1fe6587]{flex:0 0 auto}.truncate[data-v-b1fe6587]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal;word-break:break-all}.options[data-v-b1fe6587]{position:absolute;bottom:0;left:0;transform:translateY(100%);z-index:99;width:100%;overflow-y:scroll;box-sizing:border-box}.options[data-v-b1fe6587]::-webkit-scrollbar{-webkit-appearance:none}.options[data-v-b1fe6587]::-webkit-scrollbar:vertical{width:2px}.options[data-v-b1fe6587]::-webkit-scrollbar-track{background-color:var(--select-option-bg-color)}.options[data-v-b1fe6587]::-webkit-scrollbar-thumb{border-radius:2px;background-color:#0000004d}.option[data-v-b1fe6587]{cursor:pointer}.option-default[data-v-b1fe6587]{padding:14px 15px;line-height:1;background-color:var(--select-option-bg-color)}.option-default[data-v-b1fe6587]:hover{background-color:var(--select-option-bg-color-hover)}
68
68
  `]],["__scopeId","data-v-b1fe6587"]]),Sy=lt(K({__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,s=cs(e.width),r=cs(e.height),n=cs(e.padding),a=r.number-n.number*2+r.suffix,i=e.padding,l=s.number-cs(i).number-cs(a).number+s.suffix,c=t,u=R(e.init);Et(u,function(){c("change",u.value)});function d(){u.value=!u.value}return(f,p)=>(L(),B("div",{class:"switch",onClick:d,style:A(["width: "+e.width,"height: "+e.height,"background-color: "+(u.value?e.colorBgOn:e.colorBgOff)])},[E("span",{class:"round",style:A(["width: "+a,"height: "+a,"background-color: "+(u.value?e.colorPrimary:Ot(ge)(e.colorPrimary).lighten(.5).toString()),"transform: translate("+(u.value?l:Ot(i))+", 0)"])},null,4)],4))}}),[["styles",[`.switch[data-v-fedd031c]{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-fedd031c]{pointer-events:none;display:inline-block;box-sizing:border-box;border-radius:9999px;transition:all .2s cubic-bezier(.4,0,.2,1)}
69
- `]],["__scopeId","data-v-fedd031c"]]),Ey=["stroke","fill"],Py=["stroke","fill"],Oy=["stroke"],zi=lt(K({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 s=o,r=e;let n=R(s.selected),a=R(s.disabled),i=R(s.label);const l=()=>{switch(s.colorChangeMode){case"only-foreground":return a.value?s.colorDisabled:s.colorBackground;case"reverse":default:return a.value?s.colorDisabled:n.value?s.colorForeground:s.colorBackground}},c=()=>a.value?s.colorDisabled:ge(l()).darken(.2).toString(),u=()=>{switch(s.colorChangeMode){case"only-foreground":return a.value?s.colorBackground:s.colorForeground;case"reverse":default:return n.value?s.colorBackground:s.colorForeground}},d=()=>{a.value||(p(),r("change",n.value))},f=w=>{w!==n.value&&(n.value=w)},p=()=>{n.value=!n.value};return t({setValue:f,toggleValue:p,getValue:()=>n.value,enable:()=>{a.value=!1},disable:()=>{a.value=!0},setLabel:w=>{i.value=w}}),(w,g)=>(L(),B("div",{class:ae(["boolean-box",Ot(a)?"disabled":""]),onClick:d},[Tt(w.$slots,"default",{selected:Ot(n),disabled:Ot(a),label:Ot(i)},()=>[(L(),B("svg",{viewBox:"0 0 24 24",fill:"none",class:"icon",style:A(["width:"+s.boxWidth])},[s.isRounded?$t("",!0):(L(),B("rect",{key:0,x:"0",y:"0",width:"22",height:"22","strke-width":"1",stroke:c(),fill:l()},null,8,Ey)),s.isRounded?(L(),B("circle",{key:1,cx:"12",cy:"12",r:"11","strke-width":"1",stroke:c(),fill:l()},null,8,Py)):$t("",!0),Ot(n)?(L(),B("path",{key:2,d:"m7 13l3 3 7-7",stroke:u(),"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Oy)):$t("",!0)],4)),w.label?(L(),B("span",{key:0,style:A(["font-size:"+s.fontSize,"margin-left:"+s.labelPadding])},bt(w.label),5)):$t("",!0)],!0)],2))}}),[["styles",[`.boolean-box[data-v-79270ea2]{position:relative;display:inline-flex;justify-content:flex-start;align-items:center;cursor:pointer}.boolean-box.disabled[data-v-79270ea2]{cursor:not-allowed}.icon[data-v-79270ea2]{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}
70
- `]],["__scopeId","data-v-79270ea2"]]),Iy=["stroke","fill"],Ry=["stroke","fill"],Fy=["stroke"],$y=K({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 s=o,r=e;let n=R(s.selected),a=R(s.disabled),i=R(s.label);const l=()=>{switch(s.colorChangeMode){case"only-foreground":return a.value?s.colorDisabled:s.colorBackground;case"reverse":default:return a.value?s.colorDisabled:n.value?s.colorForeground:s.colorBackground}},c=()=>a.value?s.colorDisabled:ge(l()).darken(.2).toString(),u=()=>{switch(s.colorChangeMode){case"only-foreground":return a.value?s.colorBackground:s.colorForeground;case"reverse":default:return n.value?s.colorBackground:s.colorForeground}},d=()=>{a.value||(p(),r("change",n.value))},f=w=>{w!==n.value&&(n.value=w)},p=()=>{n.value=!n.value};return t({setValue:f,toggleValue:p,getValue:()=>n.value,enable:()=>{a.value=!1},disable:()=>{a.value=!0},setLabel:w=>{i.value=w}}),(w,g)=>(L(),B("div",{class:ae(["boolean-box",Ot(a)?"disabled":""]),onClick:d},[Tt(w.$slots,"default",{selected:Ot(n),disabled:Ot(a),label:Ot(i)},()=>[(L(),B("svg",{viewBox:"0 0 24 24",fill:"none",class:"icon",style:A(["width:"+s.boxWidth])},[s.isRounded?$t("",!0):(L(),B("rect",{key:0,x:"0",y:"0",width:"22",height:"22","strke-width":"1",stroke:c(),fill:l()},null,8,Iy)),s.isRounded?(L(),B("circle",{key:1,cx:"12",cy:"12",r:"11","strke-width":"1",stroke:c(),fill:l()},null,8,Ry)):$t("",!0),Ot(n)?(L(),B("path",{key:2,d:"m7 13l3 3 7-7",stroke:u(),"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Fy)):$t("",!0)],4)),w.label?(L(),B("span",{key:0,style:A(["font-size:"+s.fontSize,"margin-left:"+s.labelPadding])},bt(w.label),5)):$t("",!0)],!0)],2))}}),dx="",Gs=lt($y,[["__scopeId","data-v-3df94794"]]),Yi=lt(K({customOptions:{BooleanBox:Gs},__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,s=t,r=R([]),n=(l,c)=>{l&&(r.value[c]=l)};let a=R(e.initIndex);const i=(l,c)=>{a.value!==l?(r.value[a.value].toggleValue(),c&&(a.value=l,s("change",e.options[a.value]))):c||r.value[a.value].setValue(!0)};return(l,c)=>(L(!0),B(Xt,null,ye(l.options,(u,d)=>(L(),B("div",{class:"radio-group",key:d,style:A(["margin-left:"+(d>0?e.itemPadding:0)])},[ct(Gs,{ref_for:!0,ref:f=>n(f,d),selected:Ot(a)==d,disabled:l.disabledIndexs&&l.disabledIndexs.findIndex(f=>f===d)>=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:f=>i(d,f)},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}
69
+ `]],["__scopeId","data-v-fedd031c"]]),Ey=["stroke","fill"],Py=["stroke","fill"],Oy=["stroke"],zi=lt(K({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 s=o,r=e;let n=R(s.selected),a=R(s.disabled),i=R(s.label);const l=()=>{switch(s.colorChangeMode){case"only-foreground":return a.value?s.colorDisabled:s.colorBackground;case"reverse":default:return a.value?s.colorDisabled:n.value?s.colorForeground:s.colorBackground}},c=()=>a.value?s.colorDisabled:ge(l()).darken(.2).toString(),u=()=>{switch(s.colorChangeMode){case"only-foreground":return a.value?s.colorBackground:s.colorForeground;case"reverse":default:return n.value?s.colorBackground:s.colorForeground}},d=()=>{a.value||(p(),r("change",n.value))},f=w=>{w!==n.value&&(n.value=w)},p=()=>{n.value=!n.value};return t({setValue:f,toggleValue:p,getValue:()=>n.value,enable:()=>{a.value=!1},disable:()=>{a.value=!0},setLabel:w=>{i.value=w}}),(w,g)=>(L(),B("div",{class:ae(["boolean-box",Ot(a)?"disabled":""]),onClick:d},[Ct(w.$slots,"default",{selected:Ot(n),disabled:Ot(a),label:Ot(i)},()=>[(L(),B("svg",{viewBox:"0 0 24 24",fill:"none",class:"icon",style:A(["width:"+s.boxWidth])},[s.isRounded?$t("",!0):(L(),B("rect",{key:0,x:"0",y:"0",width:"22",height:"22","strke-width":"1",stroke:c(),fill:l()},null,8,Ey)),s.isRounded?(L(),B("circle",{key:1,cx:"12",cy:"12",r:"11","strke-width":"1",stroke:c(),fill:l()},null,8,Py)):$t("",!0),Ot(n)?(L(),B("path",{key:2,d:"m7 13l3 3 7-7",stroke:u(),"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Oy)):$t("",!0)],4)),w.label?(L(),B("span",{key:0,style:A(["font-size:"+s.fontSize,"margin-left:"+s.labelPadding])},bt(w.label),5)):$t("",!0)],!0)],2))}}),[["styles",[`.boolean-box[data-v-79270ea2]{position:relative;display:inline-flex;justify-content:flex-start;align-items:center;cursor:pointer}.boolean-box.disabled[data-v-79270ea2]{cursor:not-allowed}.icon[data-v-79270ea2]{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}
70
+ `]],["__scopeId","data-v-79270ea2"]]),Iy=["stroke","fill"],Ry=["stroke","fill"],Fy=["stroke"],$y=K({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 s=o,r=e;let n=R(s.selected),a=R(s.disabled),i=R(s.label);const l=()=>{switch(s.colorChangeMode){case"only-foreground":return a.value?s.colorDisabled:s.colorBackground;case"reverse":default:return a.value?s.colorDisabled:n.value?s.colorForeground:s.colorBackground}},c=()=>a.value?s.colorDisabled:ge(l()).darken(.2).toString(),u=()=>{switch(s.colorChangeMode){case"only-foreground":return a.value?s.colorBackground:s.colorForeground;case"reverse":default:return n.value?s.colorBackground:s.colorForeground}},d=()=>{a.value||(p(),r("change",n.value))},f=w=>{w!==n.value&&(n.value=w)},p=()=>{n.value=!n.value};return t({setValue:f,toggleValue:p,getValue:()=>n.value,enable:()=>{a.value=!1},disable:()=>{a.value=!0},setLabel:w=>{i.value=w}}),(w,g)=>(L(),B("div",{class:ae(["boolean-box",Ot(a)?"disabled":""]),onClick:d},[Ct(w.$slots,"default",{selected:Ot(n),disabled:Ot(a),label:Ot(i)},()=>[(L(),B("svg",{viewBox:"0 0 24 24",fill:"none",class:"icon",style:A(["width:"+s.boxWidth])},[s.isRounded?$t("",!0):(L(),B("rect",{key:0,x:"0",y:"0",width:"22",height:"22","strke-width":"1",stroke:c(),fill:l()},null,8,Iy)),s.isRounded?(L(),B("circle",{key:1,cx:"12",cy:"12",r:"11","strke-width":"1",stroke:c(),fill:l()},null,8,Ry)):$t("",!0),Ot(n)?(L(),B("path",{key:2,d:"m7 13l3 3 7-7",stroke:u(),"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Fy)):$t("",!0)],4)),w.label?(L(),B("span",{key:0,style:A(["font-size:"+s.fontSize,"margin-left:"+s.labelPadding])},bt(w.label),5)):$t("",!0)],!0)],2))}}),dx="",Gs=lt($y,[["__scopeId","data-v-3df94794"]]),Yi=lt(K({customOptions:{BooleanBox:Gs},__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,s=t,r=R([]),n=(l,c)=>{l&&(r.value[c]=l)};let a=R(e.initIndex);const i=(l,c)=>{a.value!==l?(r.value[a.value].toggleValue(),c&&(a.value=l,s("change",e.options[a.value]))):c||r.value[a.value].setValue(!0)};return(l,c)=>(L(!0),B(Xt,null,ye(l.options,(u,d)=>(L(),B("div",{class:"radio-group",key:d,style:A(["margin-left:"+(d>0?e.itemPadding:0)])},[ct(Gs,{ref_for:!0,ref:f=>n(f,d),selected:Ot(a)==d,disabled:l.disabledIndexs&&l.disabledIndexs.findIndex(f=>f===d)>=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:f=>i(d,f)},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}
71
71
  `]],["__scopeId","data-v-4793f58f"]]),Vi=lt(K({customOptions:{BooleanBox:Gs},__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,s=t;let r=Zt(e.initIndexs??[]);const n=(a,i)=>{const l=r.findIndex(u=>u===a);let c=!1;l>=0&&!i?(r.splice(l,1),c=!0):l<0&&i&&(r.push(a),c=!0),c&&s("change",r.map(u=>e.options[u]))};return(a,i)=>(L(!0),B(Xt,null,ye(a.options,(l,c)=>(L(),B("div",{class:"checkbox-group",key:c,style:A(["margin-left:"+(c>0?e.itemPadding:0)])},[ct(Gs,{selected:Ot(r).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=>n(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}
72
72
  `]],["__scopeId","data-v-f267549e"]]),Dy=["width","height"],Ly=["fill"],My=["fill"],Ay=["fill"],Ny=K({__name:"SVGPrompt",props:{width:{default:"1.5em"},height:{},color:{default:vt.colorRed}},setup(o){const t=o;return(e,s)=>(L(),B("svg",{viewBox:"0 0 24 24",width:t.width,height:t.height??t.width,fill:"none",xmlns:"http://www.w3.org/2000/svg"},[E("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4 12C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12ZM19 12C19 15.866 15.866 19 12 19C8.13401 19 5 15.866 5 12C5 8.13401 8.13401 5 12 5C15.866 5 19 8.13401 19 12Z",fill:t.color},null,8,Ly),E("path",{d:"M12.5332 15.2001C12.5332 15.4946 12.2944 15.7334 11.9999 15.7334C11.7053 15.7334 11.4665 15.4946 11.4665 15.2001L11.4665 10.9334C11.4665 10.6388 11.7053 10.4001 11.9999 10.4001C12.2944 10.4001 12.5332 10.6388 12.5332 10.9334L12.5332 15.2001Z",fill:t.color},null,8,My),E("path",{d:"M12.5332 8.80006C12.5332 9.09462 12.2944 9.3334 11.9999 9.3334C11.7053 9.3334 11.4665 9.09462 11.4665 8.80006C11.4665 8.50551 11.7053 8.26673 11.9999 8.26673C12.2944 8.26673 12.5332 8.50551 12.5332 8.80006Z",fill:t.color},null,8,Ay)],8,Dy))}}),gx="",Sd=lt(Ny,[["__scopeId","data-v-41294f60"]]),zy={class:"input"},Yy={class:"ellipsis"},Vy={class:"input-wrap"},By=["type","required"],Xy={key:0,style:{paddingLeft:"0.5em"}},Gy={key:1},Uy=lt(K({customOptions:{SVGPrompt:Sd},inheritAttrs:!0,__name:"Input.ce",props:{placeholder:{default:""},placeholderType:{default:"normal"},height:{default:"44px"},type:{default:"text"},required:{type:Boolean,default:!1},focusColor:{default:"#5a82f0"},errorColor:{default:"#ff5050"},borderColor:{default:"#cccccc"},placeholderColor:{default:"#8f8f8f"},fontColor:{default:"#333333"},borderRadius:{default:"4px"},duration:{default:500},validator:{}},emits:["focus","yz-focus","blur","yz-blur","input","yz-input"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=s.placeholder.split(""),a=s.duration/n.length,i=R(!1),l=R(""),c=R("");function u(){i.value=!0,r("focus"),r("yz-focus")}function d(){i.value=!1,r("blur"),r("yz-blur"),p()}function f(h){c.value=h.target.value,p()}function p(){if(c.value&&s.validator){const h=s.validator(c.value);if(!h.valid){l.value=h.errors[0];return}}l.value="",c.value&&(r("input",c.value),r("yz-input",c.value))}return te(()=>{}),t({}),(h,b)=>(L(),B("div",zy,[l.value?(L(),B("div",{key:0,class:"error-text",style:A({color:s.errorColor})},[ct(Sd,{class:"icon"}),E("div",Yy,bt(l.value),1)],4)):$t("",!0),E("div",Vy,[E("input",{class:ae(["input-raw",i.value||c.value?"focus":"blur"]),type:s.type,required:s.required,autocomplete:"off",style:A({height:s.height,lineHeight:s.height,borderRadius:s.borderRadius,color:s.fontColor,borderColor:l.value?s.errorColor:i.value?s.focusColor:c.value||s.placeholderType=="normal"?s.borderColor:"transparent",transition:s.duration+"ms"}),onFocus:u,onBlur:d,onInput:f,onChange:f},null,46,By),E("div",{class:"placeholder",style:A({lineHeight:i.value||c.value?1.3:s.height,color:s.placeholderColor,transition:s.placeholderType=="normal"?"":s.duration+"ms",transform:s.placeholderType=="normal"?"":i.value||c.value?"translateY(-100%)":"none"})},[!l.value&&s.placeholderType=="normal"&&!i.value&&!c.value?(L(),B("div",Xy,bt(s.placeholder),1)):$t("",!0),!l.value&&s.placeholderType=="jump"?(L(),B("div",Gy,bt(s.placeholder),1)):$t("",!0),!l.value&&s.placeholderType=="jump-each"?(L(!0),B(Xt,{key:2},ye(Ot(n),(_,v)=>(L(),B("span",{key:v,style:A({transition:s.duration+"ms cubic-bezier(0.68, -0.55, 0.265, 1.55)",transitionDelay:`${a*v}ms`,transform:i.value||c.value?`translateX(${100*v}%) translateY(-100%)`:`translateX(${100*v}%)`}),class:"single"},bt(_),5))),128)):$t("",!0)],4),E("div",{class:"background",style:A({transition:s.duration+"ms",backgroundColor:s.placeholderType=="normal"||i.value||c.value?"transparent":s.borderColor,height:s.placeholderType=="normal"||i.value||c.value?s.height:"2px",borderRadius:s.borderRadius})},null,4)])]))}}),[["styles",[`.input[data-v-40fabf25]{position:relative;box-sizing:border-box;font-size:1em}.error-text[data-v-40fabf25]{position:absolute;top:0;left:0;width:100%;font-size:.75em;display:flex;align-items:center;transform:translateY(-100%)}.icon[data-v-40fabf25]{flex:0 0 auto}.ellipsis[data-v-40fabf25]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal;word-break:break-all}.input-wrap[data-v-40fabf25]{position:relative;box-sizing:border-box}.input-raw[data-v-40fabf25]{display:block;box-sizing:border-box;position:relative;width:100%;background:transparent;outline:none;box-shadow:none;border:1px solid transparent;padding:.6em;z-index:10}.background[data-v-40fabf25]{position:absolute;left:0;bottom:0;width:100%;pointer-events:none;z-index:9}.placeholder[data-v-40fabf25]{position:absolute;left:0;top:0;width:100%;pointer-events:none}.focus~.placeholder[data-v-40fabf25]{font-size:.75em}.placeholder>div[data-v-40fabf25]{width:100%;display:flex;justify-content:flex-start;align-items:center}.placeholder>span.single[data-v-40fabf25]{position:absolute;left:0;top:0}
73
73
  `]],["__scopeId","data-v-40fabf25"]]),jy=["max","min","step","value","autofocus"],Hy={key:0,class:"label"},Bi=lt(K({customOptions:{},inheritAttrs:!0,__name:"InputRange.ce",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 s=o,r=e,n=R(s.defaultValue),a=()=>xe((n.value-s.min)/(s.max-s.min),4)*100,i=R(a());function l(d){n.value=xe(d.target.value,2),i.value=a(),r("change",n.value)}const c=`
@@ -81,8 +81,8 @@ Component that was made reactive: `,o)),E(o,t,e,s,r,a,n,!0)}function Up(o){retur
81
81
  --input-range-thumb-size: ${s.handleSize};
82
82
  --input-range-track-size: ${s.barHeight};
83
83
  }
84
- `,u=R();return Et(u,()=>{u.value&&et.injectStyle(c,u.value)}),te(()=>{}),t({}),(d,f)=>(L(),B("div",{class:"input-range",ref_key:"inputRangeContainer",ref:u},[E("input",{type:"range",max:s.max,min:s.min,step:s.step,value:n.value,autofocus:s.autofocus,onInput:l,style:A({background:`linear-gradient(to right, ${s.color} 0%, ${s.color} ${i.value}%, ${s.barColor} ${i.value}%, ${s.barColor})`})},null,44,jy),Tt(d.$slots,"default",{value:n.value},()=>[d.showValue?(L(),B("label",Hy,bt(n.value)+bt(s.unit),1)):$t("",!0)],!0)],512))}}),[["styles",[`.input-range[data-v-f2c303e9]{position:relative;box-sizing:border-box;font-size:1em;display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;overflow:hidden}.label[data-v-f2c303e9]{min-width:3em;text-align:right}input[type=range][data-v-f2c303e9]{flex:1 1 auto;-webkit-appearance:none;appearance:none;border-radius:9999px;margin:0;padding:0}input[type=range][data-v-f2c303e9]:focus{outline:none}input[type=range][data-v-f2c303e9]::-webkit-slider-runnable-track{height:var(--input-range-track-size);border-radius:9999px}input[type=range][data-v-f2c303e9]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;height:var(--input-range-thumb-size);width:var(--input-range-thumb-size);margin-top:-8px;background:var(--input-range-color);border-radius:50%;cursor:pointer}
85
- `]],["__scopeId","data-v-f2c303e9"]]),Wy=["width","height"],Zy=K({__name:"Canvas",props:{bgColor:{default:"rgba(255,255,255,0)"},enableCustomContext:{type:Boolean,default:!1}},emits:["ready","resize"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(),a=R(),i=R(0),l=R(0);let c;Et(n,()=>{n.value&&(c=new We(n.value,!1),c.on("resize",(b,_)=>{const v=Ro();i.value=Math.min(b,v.width),l.value=Math.min(_,v.height),p()}),c.start())}),Et(a,()=>{a.value&&p()});let u,d,f;function p(){u||!a.value||!i.value||!l.value||(u=new We(a.value,!1),u.on("resize",(b,_)=>{r("resize",b,_),d=new Ni(u,s.enableCustomContext),f?.(d),r("ready",d)}),u.start())}function h(){return new Promise(b=>{if(d)return b(d);f=b})}return te(()=>{u?.destroy(),c?.destroy()}),t({getCanvasElement:()=>a.value,getCanvas:h}),(b,_)=>(L(),B("div",{class:"canvas",ref_key:"canvasOutterRef",ref:n},[E("canvas",{ref_key:"canvasRef",ref:a,width:i.value,height:l.value,style:A({backgroundColor:s.bgColor})},null,12,Wy)],512))}}),xx="",Xe=lt(Zy,[["__scopeId","data-v-1fc03287"]]),qy={class:"input-range-canvas"},Ky={key:0,class:"label"},Ed=lt(K({customOptions:{Canvas:Xe},inheritAttrs:!0,__name:"InputRangeCanvas.ce",props:{min:{default:0},max:{default:100},step:{default:1},defaultValue:{default:0},unit:{default:""},showValue:{type:Boolean,default:!0},color:{default:"#5a82f0"},barColor:{default:"#f5f5f5"},handleSize:{default:"20px"},barHeight:{default:"4px"}},emits:["change"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(s.defaultValue),a=p=>{n.value=p,r("change",p)},i=cs(s.handleSize,20).number/2,l=cs(s.barHeight,4).number;let c;const u=()=>{c=new wd({x:0,y:i-l/2,min:s.min,max:s.max,step:s.step,defaultValue:n.value,barWidth:d,handleRadius:i,barHeight:l}),c.on("change",a)};let d=0;const f=R();return Et(f,()=>{f.value&&f.value.getCanvas().then(p=>{d=p.app.width,u(),p.app.on("resize",h=>{d=h,u()}),ne(()=>(p.ctx.clearRect(),p.draw(c),!0))})}),te(()=>{}),t({}),(p,h)=>(L(),B("div",qy,[E("div",{class:"input",style:A({height:s.handleSize})},[ct(Xe,{ref_key:"canvasRef",ref:f},null,512)],4),Tt(p.$slots,"default",{value:n.value},()=>[p.showValue?(L(),B("div",Ky,bt(n.value)+bt(s.unit),1)):$t("",!0)],!0)]))}}),[["styles",[`.input-range-canvas[data-v-14730339]{position:relative;box-sizing:border-box;font-size:1em;display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;overflow:hidden}.input[data-v-14730339]{flex:1 1 auto;overflow:hidden}.label[data-v-14730339]{min-width:3em;text-align:right}
84
+ `,u=R();return Et(u,()=>{u.value&&et.injectStyle(c,u.value)}),te(()=>{}),t({}),(d,f)=>(L(),B("div",{class:"input-range",ref_key:"inputRangeContainer",ref:u},[E("input",{type:"range",max:s.max,min:s.min,step:s.step,value:n.value,autofocus:s.autofocus,onInput:l,style:A({background:`linear-gradient(to right, ${s.color} 0%, ${s.color} ${i.value}%, ${s.barColor} ${i.value}%, ${s.barColor})`})},null,44,jy),Ct(d.$slots,"default",{value:n.value},()=>[d.showValue?(L(),B("label",Hy,bt(n.value)+bt(s.unit),1)):$t("",!0)],!0)],512))}}),[["styles",[`.input-range[data-v-f2c303e9]{position:relative;box-sizing:border-box;font-size:1em;display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;overflow:hidden}.label[data-v-f2c303e9]{min-width:3em;text-align:right}input[type=range][data-v-f2c303e9]{flex:1 1 auto;-webkit-appearance:none;appearance:none;border-radius:9999px;margin:0;padding:0}input[type=range][data-v-f2c303e9]:focus{outline:none}input[type=range][data-v-f2c303e9]::-webkit-slider-runnable-track{height:var(--input-range-track-size);border-radius:9999px}input[type=range][data-v-f2c303e9]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;height:var(--input-range-thumb-size);width:var(--input-range-thumb-size);margin-top:-8px;background:var(--input-range-color);border-radius:50%;cursor:pointer}
85
+ `]],["__scopeId","data-v-f2c303e9"]]),Wy=["width","height"],Zy=K({__name:"Canvas",props:{bgColor:{default:"rgba(255,255,255,0)"},enableCustomContext:{type:Boolean,default:!1}},emits:["ready","resize"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(),a=R(),i=R(0),l=R(0);let c;Et(n,()=>{n.value&&(c=new We(n.value,!1),c.on("resize",(b,_)=>{const v=Ro();i.value=Math.min(b,v.width),l.value=Math.min(_,v.height),p()}),c.start())}),Et(a,()=>{a.value&&p()});let u,d,f;function p(){u||!a.value||!i.value||!l.value||(u=new We(a.value,!1),u.on("resize",(b,_)=>{r("resize",b,_),d=new Ni(u,s.enableCustomContext),f?.(d),r("ready",d)}),u.start())}function h(){return new Promise(b=>{if(d)return b(d);f=b})}return te(()=>{u?.destroy(),c?.destroy()}),t({getCanvasElement:()=>a.value,getCanvas:h}),(b,_)=>(L(),B("div",{class:"canvas",ref_key:"canvasOutterRef",ref:n},[E("canvas",{ref_key:"canvasRef",ref:a,width:i.value,height:l.value,style:A({backgroundColor:s.bgColor})},null,12,Wy)],512))}}),xx="",Xe=lt(Zy,[["__scopeId","data-v-1fc03287"]]),qy={class:"input-range-canvas"},Ky={key:0,class:"label"},Ed=lt(K({customOptions:{Canvas:Xe},inheritAttrs:!0,__name:"InputRangeCanvas.ce",props:{min:{default:0},max:{default:100},step:{default:1},defaultValue:{default:0},unit:{default:""},showValue:{type:Boolean,default:!0},color:{default:"#5a82f0"},barColor:{default:"#f5f5f5"},handleSize:{default:"20px"},barHeight:{default:"4px"}},emits:["change"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(s.defaultValue),a=p=>{n.value=p,r("change",p)},i=cs(s.handleSize,20).number/2,l=cs(s.barHeight,4).number;let c;const u=()=>{c=new wd({x:0,y:i-l/2,min:s.min,max:s.max,step:s.step,defaultValue:n.value,barWidth:d,handleRadius:i,barHeight:l}),c.on("change",a)};let d=0;const f=R();return Et(f,()=>{f.value&&f.value.getCanvas().then(p=>{d=p.app.width,u(),p.app.on("resize",h=>{d=h,u()}),ne(()=>(p.ctx.clearRect(),p.draw(c),!0))})}),te(()=>{}),t({}),(p,h)=>(L(),B("div",qy,[E("div",{class:"input",style:A({height:s.handleSize})},[ct(Xe,{ref_key:"canvasRef",ref:f},null,512)],4),Ct(p.$slots,"default",{value:n.value},()=>[p.showValue?(L(),B("div",Ky,bt(n.value)+bt(s.unit),1)):$t("",!0)],!0)]))}}),[["styles",[`.input-range-canvas[data-v-14730339]{position:relative;box-sizing:border-box;font-size:1em;display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;overflow:hidden}.input[data-v-14730339]{flex:1 1 auto;overflow:hidden}.label[data-v-14730339]{min-width:3em;text-align:right}
86
86
  `]],["__scopeId","data-v-14730339"]]),wt=K({customOptions:{},inheritAttrs:!0,__name:"Container",props:{type:{default:"block"},effectTriggerTiming:{default:"manual"},styleSheets:{},supportCopyText:{type:Boolean,default:!1}},emits:["ready","resize","start","end"],setup(o,{expose:t,emit:e}){const s=o,r=e;let n="start";const a=()=>{n="start",r("start")},i=()=>{n="end",r("end")},l=()=>{n=="start"?i():a()},c=()=>{n=="start"?a():i()};let u=!1,d,f;const p=R();Et(p,()=>{if(!(!p.value||d)){if(s.styleSheets){let _="";for(let v in s.styleSheets)_+=`${v}: ${s.styleSheets[v]};`;et.injectStyle(`
87
87
  :root {
88
88
  ${_}
@@ -90,14 +90,14 @@ Component that was made reactive: `,o)),E(o,t,e,s,r,a,n,!0)}function Up(o){retur
90
90
  :host {
91
91
  ${_}
92
92
  }
93
- `,p.value)}d=new We(p.value,!1),d.on("resize",(_,v)=>{r("resize",_,v,p.value.getBoundingClientRect()),f?.(d),u||(u=!0,s.effectTriggerTiming!=="manual"&&a(),r("ready",d),s.effectTriggerTiming=="immediate"&&l())}),d.on("mouseEnter",()=>{s.effectTriggerTiming=="mouseMove"&&l()}),d.on("mouseLeave",()=>{s.effectTriggerTiming=="mouseMove"&&l()}),d.on("tap",()=>{s.effectTriggerTiming=="click"&&l(),s.supportCopyText&&et.copyToClipboard(et.getInnerText(p.value)).then(()=>{}).catch(_=>{})}),d.start()}});const h=()=>new Promise(_=>{if(d)return _(d);f=_}),b=()=>h().then(()=>p.value.getBoundingClientRect());return te(()=>{d?.destroy()}),t({getElement:()=>p.value,getApp:h,getSize:b,getStatus:()=>n,startEffect:a,endEffect:i,nextEffect:l,repeatEffect:c}),(_,v)=>(L(),B("div",{class:ae(["container",[s.type]]),ref_key:"containerRef",ref:p,style:A({position:"relative",boxSizing:"border-box",display:s.type=="shrink"?"inline-block":"block",width:s.type=="full"?"100%":"auto",height:s.type=="full"?"100%":"auto"})},[Tt(_.$slots,"default")],6))}}),Qy={class:"input-range-box"},Jy={key:0,class:"label"},t1=K({customOptions:{Container:wt},inheritAttrs:!0,__name:"InputRangeBox.ce",props:{min:{default:0},max:{default:100},step:{default:1},defaultValue:{default:0},unit:{default:""},showValue:{type:Boolean,default:!1},bgColor:{default:Xs.inputColor},barColor:{default:Xs.numberColor},barHeight:{default:"20px"}},emits:["change"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(s.defaultValue),a=()=>xe(gu(s.min,s.max,s.step)(n.value),2),i=()=>xe((n.value-s.min)/(s.max-s.min),4)*100;n.value=a();const l=R(i()),c={"--input-range-box-background-hover-color":ge(s.bgColor).lighten(.05).toString(),"--input-range-box-foreground-hover-color":ge(s.barColor).lighten(.05).toString()},u=R();function d(f){const p=async h=>{const b=await u.value.getSize();n.value=xe(zm(h,b.left,b.right,s.min,s.max),2),n.value=a(),l.value=i(),r("change",n.value)};f.captureDrag({start:h=>{p(h.clientX)},move:h=>{p(h.clientX)}})}return te(()=>{}),t({}),(f,p)=>(L(),B("div",Qy,[E("div",{class:"box",style:A({height:s.barHeight,cursor:"ew-resize"})},[ct(wt,{ref_key:"boxContainerRef",ref:u,type:"full",styleSheets:c,onReady:d},{default:_t(()=>[E("div",{class:"background",style:A({backgroundColor:s.bgColor,width:"100%",height:"100%"})},null,4),E("div",{class:"foreground",style:A({backgroundColor:s.barColor,width:l.value+"%",height:"100%"})},null,4)]),_:1},512)],4),Tt(f.$slots,"default",{value:n.value},()=>[f.showValue?(L(),B("label",Jy,bt(n.value)+bt(s.unit),1)):$t("",!0)],!0)]))}}),Pd=lt(t1,[["styles",[`.input-range-box[data-v-b07b3c9b]{position:relative;box-sizing:border-box;font-size:1em;display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;overflow:hidden}.label[data-v-b07b3c9b]{min-width:3em;text-align:right}.box[data-v-b07b3c9b]{flex:1 1 auto;position:relative}.foreground[data-v-b07b3c9b]{position:absolute;left:0;top:0}.box:hover .background[data-v-b07b3c9b]{background-color:var(--input-range-box-background-hover-color)!important}.box:hover .foreground[data-v-b07b3c9b]{background-color:var(--input-range-box-foreground-hover-color)!important}
94
- `]],["__scopeId","data-v-b07b3c9b"]]),Mo=K({customOptions:{Container:wt},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 s=o,r=e,n=Zt({}),a=Zt({});let i=s.name,l=s.duration,c=s.timingFunction,u=s.delay,d=s.repeat,f=s.direction;function p(){switch(i){case"superRainbow":l=s.duration||15e3;break;case"heartBeat":l=s.duration||1300;break;case"statusProcessing":l=s.duration||1200;break;case"rotateFall":case"rotateSlideOut":case"rotateSlideIn":l=s.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=s.duration||800;break;case"bounceIn":case"bounceOut":case"flipOutX":case"hinge":l=s.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=s.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=s.duration||600;break;default:l=s.duration||500;break}switch(i){case"superRainbow":c=s.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=s.timingFunction||"ease-in";break;case"lightSpeedInLeft":case"lightSpeedInRight":case"flipInLeft":case"flipInRight":case"flipInBottom":case"flipInTop":case"rotateInNewspaper":case"rotateSidesIn":c=s.timingFunction||"ease-out";break;case"pulse":case"headShake":case"heartBeat":case"statusProcessing":c=s.timingFunction||"ease-in-out";break;default:c=s.timingFunction||"ease";break}switch(i){default:u=s.delay||0;break}switch(i){case"superRainbow":case"statusProcessing":d=s.repeat||"infinite";break;default:d=s.repeat||1;break}switch(i){case"superRainbow":f=s.direction||"alternate";break;default:f=s.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":n.overflow="visible";break;default:n.overflow="hidden";break}switch(i){case"flip":case"flipInX":case"flipInY":case"flipOutX":case"flipOutY":a.backfaceVisibility="visible";break;default:delete a.backfaceVisibility;break}}Et(()=>s.name,()=>{i=s.name,p()},{immediate:!0});const h=R(),b=R(),_=z=>{n.perspective=s.perspective,z.on("animationstart",tt=>{r("cssanimationstart",tt.animationName)}),z.on("animationend",tt=>{r("cssanimationend",tt.animationName)})};function v(){b.value.style.animation="none",b.value.offsetHeight,b.value.style.animation=null}const w=()=>{a.animation="none"},g=()=>{v(),a.animation=`${l}ms ${c} ${u}ms ${d} ${f} ${s.fillMode} ${s.playState} ${i}`};return t({trigger:z=>{z&&(i=z,p()),h.value.startEffect(),f="normal",h.value.endEffect()},triggerReverse:z=>{z&&(i=z,p()),h.value.startEffect(),f="reverse",h.value.endEffect()},clear:()=>{a.animation="none"}}),(z,tt)=>(L(),Mt(wt,{class:"css-animation",ref_key:"containerRef",ref:h,type:s.containerType,supportCopyText:s.supportCopyText,effectTriggerTiming:s.effectTriggerTiming,style:A(n),onReady:_,onStart:w,onEnd:g},{default:_t(()=>[E("div",{class:"css-animation-inner",ref_key:"animationRef",ref:b,style:A({position:"relative",display:"block",width:"100%",height:"100%",cursor:"pointer",transformStyle:"preserve-3d",...a})},[Tt(z.$slots,"default")],4)]),_:3},8,["type","supportCopyText","effectTriggerTiming","style"]))}}),Tx="",e1={class:"status-processing",style:{position:"relative",display:"inline-block",width:"12px",height:"12px",borderRadius:"50%",overflow:"hidden"}},Od=K({customOptions:{CSSAnimation:Mo},__name:"Status.ce",props:{status:{default:"processing"},color:{}},setup(o,{expose:t,emit:e}){const s=o;let r="";switch(s.status){case"wait":r="#d9d9d9";break;case"success":r="#52c41a";break;case"error":r="#ff4d4f";break;case"processing":default:r="#1677ff";break}return s.color&&(r=s.color),t({}),(n,a)=>(L(),B("div",e1,[n.status==="processing"?(L(),Mt(Mo,{key:0,name:"statusProcessing",containerType:"full",effectTriggerTiming:"immediate"},{default:_t(()=>[E("div",{style:A({width:"100%",height:"100%",borderRadius:"50%",backgroundColor:Ot(r)})},null,4)]),_:1})):$t("",!0),E("div",{style:A({position:"absolute",top:"3px",left:"3px",width:"6px",height:"6px",borderRadius:"50%",backgroundColor:Ot(r)})},null,4)]))}}),s1=lt(K({customOptions:{},inheritAttrs:!0,__name:"InputFileDrop.ce",props:{placeholder:{default:"drop file"}},emits:["yz-drop"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(),a=R(!1);function i(){a.value=!0}function l(){a.value=!1}function c(d){d.preventDefault()}function u(d){d.preventDefault(),r("yz-drop",d.dataTransfer.files),l()}return te(()=>{}),t({}),(d,f)=>(L(),B("div",{class:ae(["input-file-drop",[a.value?"over":""]]),ref_key:"zone",ref:n,onDragenter:i,onDragleave:l,onDragover:c,onDrop:u},bt(s.placeholder),35))}}),[["styles",[`.input-file-drop[data-v-58986bc4]{width:100%;height:100%;display:flex;justify-content:center;align-items:center;border:2px dashed #ccc;color:#ccc}.input-file-drop.over[data-v-58986bc4]{border-color:#000;color:#000}
95
- `]],["__scopeId","data-v-58986bc4"]]),o1=["width","height"],r1=["fill"],n1=K({__name:"SVGDelete",props:{width:{default:"16px"},height:{},color:{default:vt.colorPrimary}},setup(o){const t=o;return(e,s)=>(L(),B("svg",{viewBox:"0 0 24 24",width:t.width,height:t.height??t.width,xmlns:"http://www.w3.org/2000/svg"},[E("path",{fill:t.color,d:"M7 21q-.825 0-1.412-.587T5 19V6H4V4h5V3h6v1h5v2h-1v13q0 .825-.587 1.413T17 21zM17 6H7v13h10zM9 17h2V8H9zm4 0h2V8h-2zM7 6v13z"},null,8,r1)],8,o1))}}),Px="",Id=lt(n1,[["__scopeId","data-v-4747d4a7"]]),a1=K({customOptions:{SVGDelete:Id},inheritAttrs:!0,__name:"SlideLeftItem.ce",props:{bgColor:{default:vt.colorGrayFF},deleteColor:{default:vt.colorRed},fontColor:{default:vt.colorGrayFF},borderRadius:{default:"4px"},deleteWidth:{default:"44px"},transtionDuration:{default:"150ms"}},emits:["delete"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(!1),a=()=>{r("delete"),n.value=!1};let i;const l=R();return Et(l,()=>{l.value&&(i=new We(l.value),i.on("panLeft",()=>{n.value=!0}),i.on("panRight",()=>{n.value=!1}),i.on("tapOutSide",()=>{n.value=!1}))}),te(()=>{i?.destroy()}),t({}),(c,u)=>(L(),B("div",{class:"parent",ref_key:"item",ref:l,style:A({backgroundColor:s.bgColor,borderRadius:s.borderRadius})},[E("div",{class:"content",style:A({transition:"all ease-in "+s.transtionDuration,transform:n.value?"translate(-"+s.deleteWidth+", 0)":"translate(0, 0)"})},[Tt(c.$slots,"default",{},void 0,!0)],4),E("div",{class:"delete",onClick:a,style:A({backgroundColor:s.deleteColor,width:s.deleteWidth,transition:"all ease-in "+s.transtionDuration,transform:n.value?"translate(0, 0)":"translate("+s.deleteWidth+", 0)"})},[ct(Id,{color:s.fontColor},null,8,["color"])],4)],4))}}),Rd=lt(a1,[["styles",[`.parent[data-v-4ea80232]{position:relative;overflow:hidden;width:100%}.content[data-v-4ea80232]{width:100%;height:100%}.delete[data-v-4ea80232]{position:absolute;right:0;top:0;height:100%;display:flex;justify-content:center;align-items:center;cursor:pointer}
96
- `]],["__scopeId","data-v-4ea80232"]]),i1=lt(K({customOptions:{Container:wt,SVGDown:Ln},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","resize"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=(d,f)=>{r("resize",d,f)},a=R(Number.MAX_SAFE_INTEGER+"px"),i=R(),l=R(!0);Et(i,()=>{i.value&&(a.value=i.value.getBoundingClientRect().height+"px",l.value=s.initOpen)});function c(){l.value=!l.value,l.value?r("open"):r("close")}const u=R(0);return cc(()=>{u.value=l.value?0:-90}),t({}),(d,f)=>(L(),Mt(wt,{onResize:n},{default:_t(()=>[E("div",{class:"accordion",style:A({background:s.bgColor,color:s.fontColor,borderRadius:s.borderRadius})},[E("div",{class:"accordion-title",onClick:c,style:A({height:s.titleHeight,lineHeight:s.titleHeight,margin:`0 ${s.padding}`,transitionDelay:`${l.value?0:s.duration}ms`,borderBottom:`${l.value?1:0}px solid ${s.borderColor}`})},[Tt(d.$slots,"title",{},()=>[jt("title")],!0),ct(Ln,{class:"arrow",style:A({transition:`transform ${s.duration}ms ease-in-out`,transform:`rotate(${u.value}deg)`})},null,8,["style"])],4),E("div",{class:"accordion-content",ref_key:"content",ref:i,style:A({margin:`0 ${s.padding}`,transition:`max-height ${s.duration}ms ease-in-out`,maxHeight:l.value?a.value:"0"})},[Tt(d.$slots,"content",{},void 0,!0)],4)],4)]),_:3}))}}),[["styles",[`.accordion[data-v-33318c10]{width:100%;font-size:1em;position:relative;overflow:hidden}.accordion-title[data-v-33318c10]{display:flex;justify-content:space-between;align-items:center;user-select:none;cursor:pointer}.accordion-content[data-v-33318c10]{word-break:break-all;overflow:hidden}
93
+ `,p.value)}d=new We(p.value,!1),d.on("resize",(_,v)=>{r("resize",_,v,p.value.getBoundingClientRect()),f?.(d),u||(u=!0,s.effectTriggerTiming!=="manual"&&a(),r("ready",d),s.effectTriggerTiming=="immediate"&&l())}),d.on("mouseEnter",()=>{s.effectTriggerTiming=="mouseMove"&&l()}),d.on("mouseLeave",()=>{s.effectTriggerTiming=="mouseMove"&&l()}),d.on("tap",()=>{s.effectTriggerTiming=="click"&&l(),s.supportCopyText&&et.copyToClipboard(et.getInnerText(p.value)).then(()=>{}).catch(_=>{})}),d.start()}});const h=()=>new Promise(_=>{if(d)return _(d);f=_}),b=()=>h().then(()=>p.value.getBoundingClientRect());return te(()=>{d?.destroy()}),t({getElement:()=>p.value,getApp:h,getSize:b,getStatus:()=>n,startEffect:a,endEffect:i,nextEffect:l,repeatEffect:c}),(_,v)=>(L(),B("div",{class:ae(["container",[s.type]]),ref_key:"containerRef",ref:p,style:A({position:"relative",boxSizing:"border-box",display:s.type=="shrink"?"inline-block":"block",width:s.type=="full"?"100%":"auto",height:s.type=="full"?"100%":"auto"})},[Ct(_.$slots,"default")],6))}}),Qy={class:"input-range-box"},Jy={key:0,class:"label"},t1=K({customOptions:{Container:wt},inheritAttrs:!0,__name:"InputRangeBox.ce",props:{min:{default:0},max:{default:100},step:{default:1},defaultValue:{default:0},unit:{default:""},showValue:{type:Boolean,default:!1},bgColor:{default:Xs.inputColor},barColor:{default:Xs.numberColor},barHeight:{default:"20px"}},emits:["change"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(s.defaultValue),a=()=>xe(gu(s.min,s.max,s.step)(n.value),2),i=()=>xe((n.value-s.min)/(s.max-s.min),4)*100;n.value=a();const l=R(i()),c={"--input-range-box-background-hover-color":ge(s.bgColor).lighten(.05).toString(),"--input-range-box-foreground-hover-color":ge(s.barColor).lighten(.05).toString()},u=R();function d(f){const p=async h=>{const b=await u.value.getSize();n.value=xe(zm(h,b.left,b.right,s.min,s.max),2),n.value=a(),l.value=i(),r("change",n.value)};f.captureDrag({start:h=>{p(h.clientX)},move:h=>{p(h.clientX)}})}return te(()=>{}),t({}),(f,p)=>(L(),B("div",Qy,[E("div",{class:"box",style:A({height:s.barHeight,cursor:"ew-resize"})},[ct(wt,{ref_key:"boxContainerRef",ref:u,type:"full",styleSheets:c,onReady:d},{default:_t(()=>[E("div",{class:"background",style:A({backgroundColor:s.bgColor,width:"100%",height:"100%"})},null,4),E("div",{class:"foreground",style:A({backgroundColor:s.barColor,width:l.value+"%",height:"100%"})},null,4)]),_:1},512)],4),Ct(f.$slots,"default",{value:n.value},()=>[f.showValue?(L(),B("label",Jy,bt(n.value)+bt(s.unit),1)):$t("",!0)],!0)]))}}),Pd=lt(t1,[["styles",[`.input-range-box[data-v-b07b3c9b]{position:relative;box-sizing:border-box;font-size:1em;display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;overflow:hidden}.label[data-v-b07b3c9b]{min-width:3em;text-align:right}.box[data-v-b07b3c9b]{flex:1 1 auto;position:relative}.foreground[data-v-b07b3c9b]{position:absolute;left:0;top:0}.box:hover .background[data-v-b07b3c9b]{background-color:var(--input-range-box-background-hover-color)!important}.box:hover .foreground[data-v-b07b3c9b]{background-color:var(--input-range-box-foreground-hover-color)!important}
94
+ `]],["__scopeId","data-v-b07b3c9b"]]),Mo=K({customOptions:{Container:wt},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 s=o,r=e,n=Zt({}),a=Zt({});let i=s.name,l=s.duration,c=s.timingFunction,u=s.delay,d=s.repeat,f=s.direction;function p(){switch(i){case"superRainbow":l=s.duration||15e3;break;case"heartBeat":l=s.duration||1300;break;case"statusProcessing":l=s.duration||1200;break;case"rotateFall":case"rotateSlideOut":case"rotateSlideIn":l=s.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=s.duration||800;break;case"bounceIn":case"bounceOut":case"flipOutX":case"hinge":l=s.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=s.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=s.duration||600;break;default:l=s.duration||500;break}switch(i){case"superRainbow":c=s.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=s.timingFunction||"ease-in";break;case"lightSpeedInLeft":case"lightSpeedInRight":case"flipInLeft":case"flipInRight":case"flipInBottom":case"flipInTop":case"rotateInNewspaper":case"rotateSidesIn":c=s.timingFunction||"ease-out";break;case"pulse":case"headShake":case"heartBeat":case"statusProcessing":c=s.timingFunction||"ease-in-out";break;default:c=s.timingFunction||"ease";break}switch(i){default:u=s.delay||0;break}switch(i){case"superRainbow":case"statusProcessing":d=s.repeat||"infinite";break;default:d=s.repeat||1;break}switch(i){case"superRainbow":f=s.direction||"alternate";break;default:f=s.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":n.overflow="visible";break;default:n.overflow="hidden";break}switch(i){case"flip":case"flipInX":case"flipInY":case"flipOutX":case"flipOutY":a.backfaceVisibility="visible";break;default:delete a.backfaceVisibility;break}}Et(()=>s.name,()=>{i=s.name,p()},{immediate:!0});const h=R(),b=R(),_=z=>{n.perspective=s.perspective,z.on("animationstart",tt=>{r("cssanimationstart",tt.animationName)}),z.on("animationend",tt=>{r("cssanimationend",tt.animationName)})};function v(){b.value.style.animation="none",b.value.offsetHeight,b.value.style.animation=null}const w=()=>{a.animation="none"},g=()=>{v(),a.animation=`${l}ms ${c} ${u}ms ${d} ${f} ${s.fillMode} ${s.playState} ${i}`};return t({trigger:z=>{z&&(i=z,p()),h.value.startEffect(),f="normal",h.value.endEffect()},triggerReverse:z=>{z&&(i=z,p()),h.value.startEffect(),f="reverse",h.value.endEffect()},clear:()=>{a.animation="none"}}),(z,tt)=>(L(),Mt(wt,{class:"css-animation",ref_key:"containerRef",ref:h,type:s.containerType,supportCopyText:s.supportCopyText,effectTriggerTiming:s.effectTriggerTiming,style:A(n),onReady:_,onStart:w,onEnd:g},{default:_t(()=>[E("div",{class:"css-animation-inner",ref_key:"animationRef",ref:b,style:A({position:"relative",display:"block",width:"100%",height:"100%",cursor:"pointer",transformStyle:"preserve-3d",...a})},[Ct(z.$slots,"default")],4)]),_:3},8,["type","supportCopyText","effectTriggerTiming","style"]))}}),Tx="",e1={class:"status-processing",style:{position:"relative",display:"inline-block",width:"12px",height:"12px",borderRadius:"50%",overflow:"hidden"}},Od=K({customOptions:{CSSAnimation:Mo},__name:"Status.ce",props:{status:{default:"processing"},color:{}},setup(o,{expose:t,emit:e}){const s=o;let r="";switch(s.status){case"wait":r="#d9d9d9";break;case"success":r="#52c41a";break;case"error":r="#ff4d4f";break;case"processing":default:r="#1677ff";break}return s.color&&(r=s.color),t({}),(n,a)=>(L(),B("div",e1,[n.status==="processing"?(L(),Mt(Mo,{key:0,name:"statusProcessing",containerType:"full",effectTriggerTiming:"immediate"},{default:_t(()=>[E("div",{style:A({width:"100%",height:"100%",borderRadius:"50%",backgroundColor:Ot(r)})},null,4)]),_:1})):$t("",!0),E("div",{style:A({position:"absolute",top:"3px",left:"3px",width:"6px",height:"6px",borderRadius:"50%",backgroundColor:Ot(r)})},null,4)]))}}),s1=lt(K({customOptions:{},inheritAttrs:!0,__name:"InputFileDrop.ce",props:{placeholder:{default:"drop file"}},emits:["yz-drop"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(),a=R(!1);function i(){a.value=!0}function l(){a.value=!1}function c(d){d.preventDefault()}function u(d){d.preventDefault(),r("yz-drop",d.dataTransfer.files),l()}return te(()=>{}),t({}),(d,f)=>(L(),B("div",{class:ae(["input-file-drop",[a.value?"over":""]]),ref_key:"zone",ref:n,onDragenter:i,onDragleave:l,onDragover:c,onDrop:u},[Ct(d.$slots,"default",{},()=>[jt(bt(s.placeholder),1)],!0)],34))}}),[["styles",[`.input-file-drop[data-v-141eb7ce]{width:100%;height:100%;display:flex;justify-content:center;align-items:center;border:2px dashed #ccc;color:#ccc}.input-file-drop.over[data-v-141eb7ce]{border-color:#000;color:#000}
95
+ `]],["__scopeId","data-v-141eb7ce"]]),o1=["width","height"],r1=["fill"],n1=K({__name:"SVGDelete",props:{width:{default:"16px"},height:{},color:{default:vt.colorPrimary}},setup(o){const t=o;return(e,s)=>(L(),B("svg",{viewBox:"0 0 24 24",width:t.width,height:t.height??t.width,xmlns:"http://www.w3.org/2000/svg"},[E("path",{fill:t.color,d:"M7 21q-.825 0-1.412-.587T5 19V6H4V4h5V3h6v1h5v2h-1v13q0 .825-.587 1.413T17 21zM17 6H7v13h10zM9 17h2V8H9zm4 0h2V8h-2zM7 6v13z"},null,8,r1)],8,o1))}}),Px="",Id=lt(n1,[["__scopeId","data-v-4747d4a7"]]),a1=K({customOptions:{SVGDelete:Id},inheritAttrs:!0,__name:"SlideLeftItem.ce",props:{bgColor:{default:vt.colorGrayFF},deleteColor:{default:vt.colorRed},fontColor:{default:vt.colorGrayFF},borderRadius:{default:"4px"},deleteWidth:{default:"44px"},transtionDuration:{default:"150ms"}},emits:["delete"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(!1),a=()=>{r("delete"),n.value=!1};let i;const l=R();return Et(l,()=>{l.value&&(i=new We(l.value),i.on("panLeft",()=>{n.value=!0}),i.on("panRight",()=>{n.value=!1}),i.on("tapOutSide",()=>{n.value=!1}))}),te(()=>{i?.destroy()}),t({}),(c,u)=>(L(),B("div",{class:"parent",ref_key:"item",ref:l,style:A({backgroundColor:s.bgColor,borderRadius:s.borderRadius})},[E("div",{class:"content",style:A({transition:"all ease-in "+s.transtionDuration,transform:n.value?"translate(-"+s.deleteWidth+", 0)":"translate(0, 0)"})},[Ct(c.$slots,"default",{},void 0,!0)],4),E("div",{class:"delete",onClick:a,style:A({backgroundColor:s.deleteColor,width:s.deleteWidth,transition:"all ease-in "+s.transtionDuration,transform:n.value?"translate(0, 0)":"translate("+s.deleteWidth+", 0)"})},[ct(Id,{color:s.fontColor},null,8,["color"])],4)],4))}}),Rd=lt(a1,[["styles",[`.parent[data-v-4ea80232]{position:relative;overflow:hidden;width:100%}.content[data-v-4ea80232]{width:100%;height:100%}.delete[data-v-4ea80232]{position:absolute;right:0;top:0;height:100%;display:flex;justify-content:center;align-items:center;cursor:pointer}
96
+ `]],["__scopeId","data-v-4ea80232"]]),i1=lt(K({customOptions:{Container:wt,SVGDown:Ln},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","resize"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=(d,f)=>{r("resize",d,f)},a=R(Number.MAX_SAFE_INTEGER+"px"),i=R(),l=R(!0);Et(i,()=>{i.value&&(a.value=i.value.getBoundingClientRect().height+"px",l.value=s.initOpen)});function c(){l.value=!l.value,l.value?r("open"):r("close")}const u=R(0);return cc(()=>{u.value=l.value?0:-90}),t({}),(d,f)=>(L(),Mt(wt,{onResize:n},{default:_t(()=>[E("div",{class:"accordion",style:A({background:s.bgColor,color:s.fontColor,borderRadius:s.borderRadius})},[E("div",{class:"accordion-title",onClick:c,style:A({height:s.titleHeight,lineHeight:s.titleHeight,margin:`0 ${s.padding}`,transitionDelay:`${l.value?0:s.duration}ms`,borderBottom:`${l.value?1:0}px solid ${s.borderColor}`})},[Ct(d.$slots,"title",{},()=>[jt("title")],!0),ct(Ln,{class:"arrow",style:A({transition:`transform ${s.duration}ms ease-in-out`,transform:`rotate(${u.value}deg)`})},null,8,["style"])],4),E("div",{class:"accordion-content",ref_key:"content",ref:i,style:A({margin:`0 ${s.padding}`,transition:`max-height ${s.duration}ms ease-in-out`,maxHeight:l.value?a.value:"0"})},[Ct(d.$slots,"content",{},void 0,!0)],4)],4)]),_:3}))}}),[["styles",[`.accordion[data-v-33318c10]{width:100%;font-size:1em;position:relative;overflow:hidden}.accordion-title[data-v-33318c10]{display:flex;justify-content:space-between;align-items:center;user-select:none;cursor:pointer}.accordion-content[data-v-33318c10]{word-break:break-all;overflow:hidden}
97
97
  `]],["__scopeId","data-v-33318c10"]]),l1=K({__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 s=o,r=R(0);function n(a){r.value=Math.min(Math.max(0,a),100)}return t({goto:n}),(a,i)=>(L(),B("div",{class:"bar",style:A({border:`1px solid ${s.borderColor}`,borderRadius:s.borderRadius,backgroundColor:s.bgColor})},[E("div",{class:"bar-inner",style:A({width:r.value+"%",backgroundColor:s.progressColor})},bt(s.showText?r.value+"%":""),5)],4))}}),Fx="",Mn=lt(l1,[["__scopeId","data-v-d986b312"]]),c1=["width","height"],u1=["src","type"],d1={class:"video-progress-bar"},Fd=lt(K({customOptions:{ProgressBar:Mn},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 s=o,r=e;let n;function a(d){if(n){n.resume();return}n=new Ie({frameDuration:this.duration*1e3}),n.addTween({x:0},{x:100},{frames:1,delay:0,onStart:()=>{r("start"),l.value?.goto(0)},onUpdate:f=>{l.value?.goto(f.x)},onComplete:()=>{r("complete"),n=null}}),n.play()}const i=R(),l=R();Et(i,()=>{i.value&&(i.value.addEventListener("play",a),s.autoplay&&Ii.tryAutoPlayOrAutoPlayAfterClick(i.value))}),te(()=>{i.value?.removeEventListener(a)});function c(){i.value?.play()}function u(){i.value?.pause(),n?.pause()}return t({play:c,pause:u}),(d,f)=>(L(),B("div",{class:"video",style:A({width:s.width,height:s.height}),onClick:c},[E("video",{ref_key:"video",ref:i,width:s.width,height:s.height,preload:"metadata"},[E("source",{src:s.src,type:s.type},null,8,u1)],8,c1),E("div",d1,[ct(Mn,{ref_key:"bar",ref:l,bgColor:"#ffffff"},null,512)])],4))}}),[["styles",[`.video[data-v-b54fc81b]{position:relative;overflow:hidden;background-color:#f5f5f5}.video-progress-bar[data-v-b54fc81b]{position:absolute;bottom:0;left:0;width:100%;height:6px}
98
- `]],["__scopeId","data-v-b54fc81b"]]),Us=K({customOptions:{},inheritAttrs:!0,__name:"Overlay",props:{visible:{type:Boolean,default:!1},color:{default:ge("#000000",.25).toString()},isGlobal:{type:Boolean,default:!0}},setup(o,{expose:t,emit:e}){const s=o,r=R(),n=document.documentElement.style.overflow,a=document.body.style.overflow;return Et(()=>s.visible,()=>{s.isGlobal?s.visible?(document.documentElement.style.overflow="hidden",document.body.style.overflow="hidden"):(document.documentElement.style.overflow=n,document.body.style.overflow=a):r.value&&(s.visible?r.value.parentElement.style.overflow="hidden":r.value.parentElement.style.overflow="")},{immediate:!0}),t({}),(i,l)=>s.visible?(L(),B("div",{key:0,class:"overlay",ref_key:"overlayRef",ref:r,style:A([`background-color: ${s.color}`,`position: ${s.isGlobal?"fixed":"absolute"}`,"z-index: 9000","display: block","width: 100%","height: 100%","inset: 0","overflow: hidden"])},[Tt(i.$slots,"default")],4)):$t("",!0)}}),h1=E("div",null,null,-1),be=K({customOptions:{Overlay:Us,Container:wt},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},isGlobal:{type:Boolean,default:!0},overlayBgColor:{},popValue:{},popPercent:{default:50},popBgColor:{default:"rgba(255,255,255,0)"}},emits:["open","close","resize","clickOverlay"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=new Ie({frameDuration:s.dur}),a=Zt({backgroundColor:s.popBgColor,position:"absolute",overflow:"hidden",opacity:"1"}),i=R("full");Et(()=>[s.directionFrom,s.popValue],()=>{n.clear();const b=s.popValue?s.popValue:s.popPercent,_=s.popValue?"px":"%";switch(s.directionFrom){case"left":a.height="100%",a.width=`${b}${_}`,a.top="0",a.bottom="0",delete a.right,n.addTween({left:b},{left:0},{easeFunction:ht.Quadratic.Out,onUpdate(v){a.left=`-${v.left}${_}`},onComplete:u});break;case"right":a.height="100%",a.width=`${b}${_}`,a.top="0",a.bottom="0",delete a.left,n.addTween({right:b},{right:0},{easeFunction:ht.Quadratic.Out,onUpdate(v){a.right=`-${v.right}${_}`},onComplete:u});break;case"top":a.width="100%",a.height=`${b}${_}`,a.left="0",a.right="0",delete a.bottom,n.addTween({top:b},{top:0},{easeFunction:ht.Quadratic.Out,onUpdate(v){a.top=`-${v.top}${_}`},onComplete:u});break;case"bottom":a.width="100%",a.height=`${b}${_}`,a.left="0",a.right="0",delete a.top,n.addTween({bottom:b},{bottom:0},{easeFunction:ht.Quadratic.Out,onUpdate(v){a.bottom=`-${v.bottom}${_}`},onComplete:u});break;case"center":delete a.width,delete a.height,a.left="50%",delete a.right,a.top="50%",delete a.bottom,n.addTween({scale:.8,opacity:0},{scale:1,opacity:1},{easeFunction:ht.Quadratic.Out,onUpdate(v){a.transform=`translate(-50%, -50%) scale(${v.scale})`,a.opacity=`${v.opacity}`},onComplete:u});break;case"absolute":a.width=s.absoluteWidth,a.height=s.absoluteHeight,a.left=s.absoluteLeft,a.top=s.absoluteTop,delete a.right,delete a.bottom;break}switch(s.directionFrom){case"center":i.value="shrink",a.transform="translate(-50%, -50%)";break;case"absolute":i.value="shrink",delete a.transform,delete a.opacity;break;default:i.value="full",delete a.transform,delete a.opacity;break}},{immediate:!0}),Et(()=>s.absoluteLeft,()=>{switch(s.directionFrom){case"absolute":a.left=s.absoluteLeft;break}}),Et(()=>s.absoluteTop,()=>{switch(s.directionFrom){case"absolute":a.top=s.absoluteTop;break}}),Et(()=>s.absoluteWidth,()=>{switch(s.directionFrom){case"absolute":a.width=s.absoluteWidth;break}}),Et(()=>s.absoluteHeight,()=>{switch(s.directionFrom){case"absolute":a.height=s.absoluteHeight;break}});const l=(b,_,v)=>{r("resize",b,_,v)};let c="open";function u(){c=="open"?r("open"):(d.value=!1,r("close"))}const d=R(!1);function f(){d.value=!0,c="open",n.play()}function p(){switch(c="close",s.directionFrom){case"absolute":u();break;default:n.reverse();break}}function h(b){const _=s.directionFrom=="absolute"&&s.absoluteWidth=="100%"&&s.absoluteHeight=="100%"?"pop-content":"pop";b.target&&et.hasClass(b.target,_)&&(s.closeWhenClickOverlay&&p(),r("clickOverlay"))}return t({open:f,close:p}),(b,_)=>(L(),Mt(Us,{visible:d.value,isGlobal:s.isGlobal,color:s.overlayBgColor},{default:_t(()=>[E("div",{class:"pop",style:{display:"block",position:"relative",width:"100%",height:"100%",overflow:"hidden"},onClick:h},[ct(wt,{class:"pop-content",type:i.value,style:A(a),onResize:l},{default:_t(()=>[Tt(b.$slots,"default",{},()=>[h1])]),_:3},8,["type","style"])])]),_:3},8,["visible","isGlobal","color"]))}}),f1=K({...{},name:"Image",customOptions:{Container:wt,Pop:be},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 s=o,r=e,n=new Ie({frameDuration:s.dur}),a=R(0),i=R(0),l=R(0),c=R(0),u=R(0),d=R(0),f=R(0),p=R(0),h=R(0),b=R(0);yd(s.src).then($=>{h.value=$.width,b.value=$.height,k()});const _=R(0),v=R(0),w=($,N)=>{_.value=$,v.value=N,k()},g=R(0),m=R(0);function k(){if(!_.value||!v.value||!h.value||!b.value)return;const $=On(s.mode,h.value,b.value,_.value,v.value);g.value=$.width,m.value=$.height;const{width:N,height:G}=Ro(),rt=On("aspectFit",h.value,b.value,N,G);f.value=rt.width,p.value=rt.height,u.value=(N-f.value)/2,d.value=(G-p.value)/2}const C=($,N,G)=>{r("settled",G.x,G.y,G.width,G.height)};let z=!1;const tt=R(),I=R();async function D(){if(!s.openImageDetailWhenClick)return;const $=await tt.value.getSize();n.clear(),n.addTween({left:$.x,top:$.y,width:$.width,height:$.height},{left:u.value,top:d.value,width:f.value,height:p.value},{easeFunction:ht.Quadratic.Out,onUpdate(N){a.value=N.left,i.value=N.top,l.value=N.width,c.value=N.height},onComplete(){z&&I.value.close(),z=!z}}),z||(I.value.open(),n.play())}function M(){z&&n.reverse()}return t({}),($,N)=>(L(),Mt(wt,{class:"image",type:"full",style:A({backgroundColor:s.bgColor}),onResize:w,onClick:D},{default:_t(()=>[ct(wt,{class:"image-inner",ref_key:"imageRef",ref:tt,type:"shrink",style:A({width:g.value+"px",height:m.value+"px",backgroundImage:`url(${s.src})`,backgroundSize:`${g.value}px ${m.value}px`}),onResize:C},null,8,["style"]),ct(be,{ref_key:"popRef",ref:I,"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:M},{default:_t(()=>[E("div",{class:"image-pop",style:A({width:"100%",height:"100%",backgroundImage:`url(${s.src})`,backgroundSize:"100% 100%"})},null,4)]),_:1},8,["absolute-left","absolute-top","absolute-width","absolute-height"])]),_:1},8,["style"]))}}),Xi=lt(f1,[["styles",[`.image[data-v-ecc6cad0]{overflow:hidden;display:flex!important;justify-content:center;align-items:center}.image-inner[data-v-ecc6cad0],.image-pop[data-v-ecc6cad0]{background-repeat:no-repeat;background-position:center center}
99
- `]],["__scopeId","data-v-ecc6cad0"]]),An=K({customOptions:{Container:wt,CSSAnimation:Mo},inheritAttrs:!0,__name:"Page",props:{effect:{default:"moveFromLeft"},duration:{default:500},easeFunction:{type:Function,default:ht.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["ready","pageOpenStart","pageOpenEnd","pageCloseStart","pageCloseEnd"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(),a=Zt({}),i=()=>{r("ready",C,z)},l=()=>{b()},c=R();let u="rotateRightSideFirst",d=s.effect;function f(tt,I){switch(d){case"static":I();break;default:tt();break}}let p=!1;const h=new Ie,b=()=>{const tt={},I={};h.clear(),h.frameDuration=s.duration,f(()=>{u=d},()=>{h.addTween(tt,I,{delay:s.delay/s.duration,easeFunction:s.easeFunction,onStart:()=>{r(p?"pageCloseStart":"pageOpenStart")},onUpdate:D=>{a.transform="","x"in D&&(a.transform+=` translateX(${D.x}%)`),"y"in D&&(a.transform+=` translateY(${D.y}%)`),"rx"in D&&(a.transform+=` rotateX(${D.rx}deg)`),"ry"in D&&(a.transform+=` rotateY(${D.ry}deg)`),"scale"in D&&(a.transform+=` scale(${D.scale})`),"opacity"in D&&(a.opacity=`${D.opacity}`)},onComplete:()=>{r(p?"pageCloseEnd":"pageOpenEnd")}})})};Et(()=>[s.effect,s.delay,s.duration,s.easeFunction],()=>{d=s.effect,b()},{immediate:!0});const _=()=>{r(p?"pageCloseStart":"pageOpenStart")},v=()=>{r(p?"pageCloseEnd":"pageOpenEnd")},w=()=>{f(()=>{c.value.trigger(u)},()=>{h.play()})},g=()=>{f(()=>{c.value.triggerReverse(u)},()=>{h.reverse()})},m=()=>{a.transform="none",a.opacity="1"};function k(){f(()=>{m()},()=>{c.value?.clear()})}const C=tt=>{tt&&(d=tt,b()),p=!1,k(),n.value.startEffect()},z=tt=>{tt&&(d=tt,b()),p=!0,k(),n.value.endEffect()};return t({open:C,close:z,clear:m,getElement:()=>n.value.getElement()}),(tt,I)=>(L(),Mt(wt,{class:"page",ref_key:"pageRef",ref:n,type:"full",effectTriggerTiming:"manual",style:{overflow:"hidden",width:"100%",height:"100%"},onReady:i,onResize:l,onStart:w,onEnd:g},{default:_t(()=>[ct(Mo,{ref_key:"cssAnimationRef",ref:c,containerType:"full",effectTriggerTiming:"manual",duration:s.duration,delay:s.delay,timingFunction:s.timingFunction,onCssanimationstart:_,onCssanimationend:v},{default:_t(()=>[E("div",{class:"page-inner",style:A({position:"relative",display:"block",width:"100%",height:"100%",overflow:"scroll",backfaceVisibility:"hidden",transformStyle:"preserve-3d",...a})},[Tt(tt.$slots,"default")],4)]),_:3},8,["duration","delay","timingFunction"])]),_:3},512))}}),Gi=K({customOptions:{Page:An,Container:wt},inheritAttrs:!0,__name:"Routes",props:{effect:{default:"moveToLeft"},duration:{default:500},easeFunction:{type:Function,default:ht.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["routeChangeStart","routeChangeEnd","renderComplete"],setup(o,{expose:t,emit:e}){const s=o,r=e;let n=-1,a=-1,i;const l=[];let c=[],u=[],d=[];function f(V){return V>=0&&V<c.length}function p(){return a>n}function h(V,P,Bt){switch(V){case n:return p()?P:Bt;case a:return p()?Bt:P;default:return"static"}}function b(V,P){switch(V){case"moveToLeft":return h(P,"moveToLeft","moveFromRight");case"moveToRight":return h(P,"moveToRight","moveFromLeft");case"moveToTop":return h(P,"moveToTop","moveFromBottom");case"moveToBottom":return h(P,"moveToBottom","moveFromTop");case"moveFromLeftPrevFade":return h(P,"fade","moveFromLeft");case"moveFromRightPrevFade":return h(P,"fade","moveFromRight");case"moveFromTopPrevFade":return h(P,"fade","moveFromTop");case"moveFromBottomPrevFade":return h(P,"fade","moveFromBottom");case"moveToLeftFade":return h(P,"moveToLeftFade","moveFromRightFade");case"moveToRightFade":return h(P,"moveToRightFade","moveFromLeftFade");case"moveToTopFade":return h(P,"moveToTopFade","moveFromBottomFade");case"moveToBottomFade":return h(P,"moveToBottomFade","moveFromTopFade");case"moveToLeftEasing":return h(P,"moveToLeft","moveFromRight");case"moveToRightEasing":return h(P,"moveToRight","moveFromLeft");case"moveToTopEasing":return h(P,"moveToTop","moveFromBottom");case"moveToBottomEasing":return h(P,"moveToBottom","moveFromTop");case"moveFromLeftPrevScaleToSmall":return h(P,"scaleToSmall","moveFromLeft");case"moveFromRightPrevScaleToSmall":return h(P,"scaleToSmall","moveFromRight");case"moveFromTopPrevScaleToSmall":return h(P,"scaleToSmall","moveFromTop");case"moveFromBottomPrevScaleToSmall":return h(P,"scaleToSmall","moveFromBottom");case"scaleSmall":return h(P,"scaleToSmall","scaleFromLarge");case"scaleLarge":return h(P,"scaleToLarge","scaleFromSmall");case"scaleToLargePrevScaleToSmall":return h(P,"scaleToSmallCenter","scaleFromSmallCenter");case"scaleFromSmallPrevMoveToLeft":return h(P,"moveToLeft","scaleFromSmall");case"scaleFromSmallPrevMoveToRight":return h(P,"moveToRight","scaleFromSmall");case"scaleFromSmallPrevMoveToTop":return h(P,"moveToTop","scaleFromSmall");case"scaleFromSmallPrevMoveToBottom":return h(P,"moveToBottom","scaleFromSmall");case"glueToLeft":return h(P,"rotateRightSideFirst","moveFromRight");case"glueToRight":return h(P,"rotateLeftSideFirst","moveFromLeft");case"glueToTop":return h(P,"rotateBottomSideFirst","moveFromBottom");case"glueToBottom":return h(P,"rotateTopSideFirst","moveFromTop");case"flipToLeft":return h(P,"flipOutLeft","flipInRight");case"flipToRight":return h(P,"flipOutRight","flipInLeft");case"flipToTop":return h(P,"flipOutTop","flipInBottom");case"flipToBottom":return h(P,"flipOutBottom","flipInTop");case"rotateFall":return h(P,"rotateFall","scaleFromSmall");case"newspaper":return h(P,"rotateOutNewspaper","rotateInNewspaper");case"moveFromLeftPrevPush":return h(P,"rotatePushRight","moveFromLeft");case"moveFromRightPrevPush":return h(P,"rotatePushLeft","moveFromRight");case"moveFromTopPrevPush":return h(P,"rotatePushBottom","moveFromTop");case"moveFromBottomPrevPush":return h(P,"rotatePushTop","moveFromBottom");case"pullFromLeftPrevPush":return h(P,"rotatePushRight","rotatePullLeft");case"pullFromRightPrevPush":return h(P,"rotatePushLeft","rotatePullRight");case"pullFromTopPrevPush":return h(P,"rotatePushBottom","rotatePullTop");case"pullFromBottomPrevPush":return h(P,"rotatePushTop","rotatePullBottom");case"moveFromLeftFadePrevFold":return h(P,"rotateFoldRight","moveFromLeftFade");case"moveFromRightFadePrevFold":return h(P,"rotateFoldLeft","moveFromRightFade");case"moveFromTopFadePrevFold":return h(P,"rotateFoldBottom","moveFromTopFade");case"moveFromBottomFadePrevFold":return h(P,"rotateFoldTop","moveFromBottomFade");case"moveToLeftFadePrevUnfold":return h(P,"moveToLeftFade","rotateUnfoldRight");case"moveToRightFadePrevUnfold":return h(P,"moveToRightFade","rotateUnfoldLeft");case"moveToTopFadePrevUnfold":return h(P,"moveToTopFade","rotateUnfoldBottom");case"moveToBottomFadePrevUnfold":return h(P,"moveToBottomFade","rotateUnfoldTop");case"rotateRoomLeftIn":return h(P,"rotateRoomLeftOut","rotateRoomLeftIn");case"rotateRoomRightIn":return h(P,"rotateRoomRightOut","rotateRoomRightIn");case"rotateRoomTopIn":return h(P,"rotateRoomTopOut","rotateRoomTopIn");case"rotateRoomBottomIn":return h(P,"rotateRoomBottomOut","rotateRoomBottomIn");case"rotateCubeLeftIn":return h(P,"rotateCubeLeftOut","rotateCubeLeftIn");case"rotateCubeRightIn":return h(P,"rotateCubeRightOut","rotateCubeRightIn");case"rotateCubeTopIn":return h(P,"rotateCubeTopOut","rotateCubeTopIn");case"rotateCubeBottomIn":return h(P,"rotateCubeBottomOut","rotateCubeBottomIn");case"rotateCarouselLeftIn":return h(P,"rotateCarouselLeftOut","rotateCarouselLeftIn");case"rotateCarouselRightIn":return h(P,"rotateCarouselRightOut","rotateCarouselRightIn");case"rotateCarouselTopIn":return h(P,"rotateCarouselTopOut","rotateCarouselTopIn");case"rotateCarouselBottomIn":return h(P,"rotateCarouselBottomOut","rotateCarouselBottomIn");case"rotateSidesIn":return h(P,"rotateSidesOut","rotateSidesIn");case"rotateSlideIn":return h(P,"rotateSlideOut","rotateSlideIn")}}function _(V,P=600,Bt=600){switch(V){case n:return P;case a:return Bt;default:return s.duration}}function v(V,P){switch(V){case"moveFromLeftFadePrevFold":case"moveFromRightFadePrevFold":case"moveFromTopFadePrevFold":case"moveFromBottomFadePrevFold":return _(P,700,700);case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":case"moveFromLeftPrevScaleToSmall":case"moveFromRightPrevScaleToSmall":case"moveFromTopPrevScaleToSmall":case"moveFromBottomPrevScaleToSmall":return _(P,700,600);case"scaleSmall":return _(P,700,500);case"scaleLarge":return _(P,500,700);case"scaleToLargePrevScaleToSmall":return _(P,400,400);case"scaleFromSmallPrevMoveToLeft":case"scaleFromSmallPrevMoveToRight":case"scaleFromSmallPrevMoveToTop":case"scaleFromSmallPrevMoveToBottom":return _(P,600,700);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":return _(P,800,600);default:return s.duration}}let w=s.timingFunction;function g(V){switch(V){default:return s.easeFunction}}function m(V,P){switch(V){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":switch(P){case n:w=p()?"ease-in-out":"ease";break;case a:default:w=p()?"ease":"ease-in-out"}return g(P);default:return w=s.timingFunction,s.easeFunction}}function k(V,P=300){switch(V){case a:return s.delay+P;default:return s.delay}}function C(V,P){switch(V){case"flipToLeft":case"flipToRight":case"flipToTop":case"flipToBottom":case"newspaper":return k(P,500);case"scaleSmall":case"scaleLarge":return k(P,300);case"scaleToLargePrevScaleToSmall":return k(P,400);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":case"rotateSidesIn":return k(P,200);case"pullFromLeftPrevPush":case"pullFromRightPrevPush":case"pullFromTopPrevPush":case"pullFromBottomPrevPush":return k(P,180);default:return s.delay}}let z=2,tt=2;const I=()=>{z=2,tt=2},D=()=>{z=2,tt=3},M=()=>{z=3,tt=2};function $(V){switch(s.effect){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":M();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":p()?M():D();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":p()?D():M();break;default:I();break}f(n)&&n==V&&(d[n].style.zIndex=`${z}`,d[n].style.visibility="visible"),f(a)&&a==V&&(d[a].style.zIndex=`${tt}`,d[a].style.visibility="visible")}function N(V){D(),V==n&&(d[n].style.zIndex=`${z}`,d[n].style.visibility="hidden"),V==a&&(d[a].style.zIndex=`${tt}`,d[a].style.visibility="visible",l.shift()?.(),r("routeChangeEnd",n,a,c.length),n=a)}const G=R();function rt(V=0,P=!1){if(!G.value)return;let Bt=0;ir(qt("div",{class:"routes-pages",style:{display:"block",width:"100%",height:"100%",overflow:"hidden",position:"relative"}},c.map((Nt,Ct)=>{const Qt=b(s.effect,Ct);return qt("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:n==Ct?"visible":"hidden",zIndex:P?"1":"0"}},Nt.pageKey?{key:Nt.pageKey}:{}),qt(An,{effect:Qt,duration:v(s.effect,Ct),easeFunction:m(s.effect,Ct),timingFunction:w,delay:C(s.effect,Ct),onReady:(Gt,j)=>{u[Ct]={open:Gt,close:j},++Bt==V&&(i?.(),r("renderComplete"))},onPageOpenStart:()=>{$(Ct)},onPageOpenEnd:()=>{N(Ct)},onPageCloseStart:()=>{$(Ct)},onPageCloseEnd:()=>{N(Ct)}},{default:()=>Nt.component instanceof HTMLElement?qt("div",{...Nt.attributes,innerHTML:Nt.component.innerHTML}):qt(Nt.component,Nt.attributes,()=>Nt.child)}))})),G.value),d=G.value.children[0].children}Et(()=>s.effect,()=>{rt()});function Q(V=[]){c=[...V],c.forEach(P=>{P.pageKey=P.pageKey||co()}),i=()=>{n=-1,pt(0)},rt(c.length,!0)}function q(V){V.pageKey=V.pageKey||co(),c.push(V),i=()=>{pt(c.length-1)},rt(1,c.length==1)}function at(){c.length<=1||pt(c.length-2,()=>{c.splice(c.length-1,1),n=c.length-1,rt()})}function U(){pt(n+1)}function H(){pt(n-1)}const yt=new un(1);function pt(V,P){yt.addTask(()=>new Promise(Bt=>{const Nt=()=>{P?.(),Bt()};if(!f(V)){Nt();return}if(a=V,a==n){Nt();return}l.push(Nt),rt(),r("routeChangeStart",n,a,c.length),p()?(f(n)&&u[n].open(),f(a)&&u[a].open()):(f(n)&&u[n].close(),f(a)&&u[a].close())}))}return t({reset:Q,push:q,pop:at,forward:U,back:H,goto:pt,currentPageIndex:()=>n,totalPages:()=>c.length}),(V,P)=>(L(),B("div",{class:"routes",ref_key:"routesRef",ref:G,style:{display:"block",position:"relative",width:"100%",height:"100%","overflow-x":"hidden","overflow-y":"hidden"}},null,512))}}),p1=K({...{},name:"Image",customOptions:{Container:wt,Pop:be},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 s=o,r=e,n=new Ie({frameDuration:s.dur}),a=R(0),i=R(0),l=R(0),c=R(0),u=R(0),d=R(0),f=R(0),p=R(0),h=R(0),b=R(0);yd(s.src).then($=>{h.value=$.width,b.value=$.height,k()});const _=R(0),v=R(0),w=($,N)=>{_.value=$,v.value=N,k()},g=R(0),m=R(0);function k(){if(!_.value||!v.value||!h.value||!b.value)return;const $=On(s.mode,h.value,b.value,_.value,v.value);g.value=$.width,m.value=$.height;const{width:N,height:G}=Ro(),rt=On("aspectFit",h.value,b.value,N,G);f.value=rt.width,p.value=rt.height,u.value=(N-f.value)/2,d.value=(G-p.value)/2}const C=($,N,G)=>{r("settled",G.x,G.y,G.width,G.height)};let z=!1;const tt=R(),I=R();async function D(){if(!s.openImageDetailWhenClick)return;const $=await tt.value.getSize();n.clear(),n.addTween({left:$.x,top:$.y,width:$.width,height:$.height},{left:u.value,top:d.value,width:f.value,height:p.value},{easeFunction:ht.Quadratic.Out,onUpdate(N){a.value=N.left,i.value=N.top,l.value=N.width,c.value=N.height},onComplete(){z&&I.value.close(),z=!z}}),z||(I.value.open(),n.play())}function M(){z&&n.reverse()}return t({}),($,N)=>(L(),Mt(wt,{class:"image",type:"full",style:A({backgroundColor:s.bgColor}),onResize:w,onClick:D},{default:_t(()=>[ct(wt,{class:"image-inner",ref_key:"imageRef",ref:tt,type:"shrink",style:A({width:g.value+"px",height:m.value+"px",backgroundImage:`url(${s.src})`,backgroundSize:`${g.value}px ${m.value}px`}),onResize:C},null,8,["style"]),ct(be,{ref_key:"popRef",ref:I,"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:M},{default:_t(()=>[E("div",{class:"image-pop",style:A({width:"100%",height:"100%",backgroundImage:`url(${s.src})`,backgroundSize:"100% 100%"})},null,4)]),_:1},8,["absolute-left","absolute-top","absolute-width","absolute-height"])]),_:1},8,["style"]))}}),Nx="",$d=lt(p1,[["__scopeId","data-v-48bcfc9f"]]),m1={key:0,style:{position:"absolute",top:"30px",left:"50%",transform:"translate(-50%, 0)",color:"#ffffff","font-size":"1em","z-index":"98"}},Dd=K({customOptions:{Image:$d,Container:wt,Routes:Gi},inheritAttrs:!0,__name:"ImageView.ce",props:{urls:{default:()=>[]},effect:{default:"moveToLeftFade"}},setup(o,{expose:t,emit:e}){const s=o,r=R(0);function n(f,p){r.value=p}const a=R(),i=f=>{f.on("panLeft",()=>{a.value?.forward()}),f.on("panRight",()=>{a.value?.back()}),a.value.reset(s.urls.map(p=>({component:qt($d,{mode:"aspectFit",src:p,openImageDetailWhenClick:!1})})))},l=R();function c(){l.value?.open()}function u(){l.value?.close()}const d=f=>{f.target&&et.hasClass(f.target,"image")&&u()};return t({open:c,close:u}),(f,p)=>(L(),Mt(be,{ref_key:"popRef",ref:l,directionFrom:"absolute",onClick:d},{default:_t(()=>[s.urls.length>1?(L(),B("div",m1,bt(r.value+1)+" / "+bt(s.urls.length),1)):$t("",!0),ct(wt,{style:{position:"absolute",top:"50%",transform:"translate(0, -50%)",width:"100%",height:"100%","z-index":"97"},onReady:i},{default:_t(()=>[ct(Gi,{ref_key:"routesRef",ref:a,effect:s.effect,onRouteChangeEnd:n},null,8,["effect"])]),_:1})]),_:1},512))}}),zx="",g1={class:"page"},y1={class:"header"},v1={class:"main"},b1={class:"main-scroll"},_1={class:"footer"},x1=lt(K({customOptions:{},inheritAttrs:!0,__name:"LayoutMobile.ce",props:{designWidth:{default:750}},setup(o,{expose:t,emit:e}){return hg(o.designWidth),t({}),(r,n)=>(L(),B("div",g1,[E("header",y1,[Tt(r.$slots,"header",{},void 0,!0)]),E("div",v1,[E("div",b1,[Tt(r.$slots,"main",{},void 0,!0)])]),E("footer",_1,[Tt(r.$slots,"footer",{},void 0,!0)])]))}}),[["styles",[`.page[data-v-20686fd2]{width:100%;height:100%;position:relative;overflow:hidden;display:flex;flex-direction:column}.main[data-v-20686fd2]{flex:1 1 auto;width:100%;overflow-y:scroll;display:flex;flex-direction:column}.main-scroll[data-v-20686fd2]{flex:1 1 auto;width:100%}.main-scroll[data-v-20686fd2]>:nth-child(1){min-height:100%}.header[data-v-20686fd2],.footer[data-v-20686fd2]{flex:0 0 auto}
100
- `]],["__scopeId","data-v-20686fd2"]]),w1=lt(K({customOptions:{},inheritAttrs:!0,__name:"LayoutCenter.ce",props:{type:{default:"grid"}},setup(o,{expose:t,emit:e}){const s=o,r=Zt({}),n=Zt({});function a(){switch(fu(r),fu(n),s.type){case"table":r.display="table",n.display="table-cell",n.verticalAlign="middle",n.textAlign="center";break;case"transform":n.position="absolute",n.top="50%",n.left="50%",n.transform="translate(-50%, -50%)";break;case"grid":r.display="grid",r.justifyContent="center",r.alignItems="center";break;case"flex":default:r.display="flex",n.margin="auto"}}return a(),te(()=>{}),t({}),(i,l)=>(L(),B("div",{class:"layout-center",style:A(r)},[E("div",{style:A(n)},[Tt(i.$slots,"default",{},void 0,!0)],4)],4))}}),[["styles",[`.layout-center[data-v-114afb17]{position:relative;display:block;width:100%;height:100%;overflow:hidden}
98
+ `]],["__scopeId","data-v-b54fc81b"]]),Us=K({customOptions:{},inheritAttrs:!0,__name:"Overlay",props:{visible:{type:Boolean,default:!1},color:{default:ge("#000000",.25).toString()},isGlobal:{type:Boolean,default:!0}},setup(o,{expose:t,emit:e}){const s=o,r=R(),n=document.documentElement.style.overflow,a=document.body.style.overflow;return Et(()=>s.visible,()=>{s.isGlobal?s.visible?(document.documentElement.style.overflow="hidden",document.body.style.overflow="hidden"):(document.documentElement.style.overflow=n,document.body.style.overflow=a):r.value&&(s.visible?r.value.parentElement.style.overflow="hidden":r.value.parentElement.style.overflow="")},{immediate:!0}),t({}),(i,l)=>s.visible?(L(),B("div",{key:0,class:"overlay",ref_key:"overlayRef",ref:r,style:A([`background-color: ${s.color}`,`position: ${s.isGlobal?"fixed":"absolute"}`,"z-index: 9000","display: block","width: 100%","height: 100%","inset: 0","overflow: hidden"])},[Ct(i.$slots,"default")],4)):$t("",!0)}}),h1=E("div",null,null,-1),be=K({customOptions:{Overlay:Us,Container:wt},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},isGlobal:{type:Boolean,default:!0},overlayBgColor:{},popValue:{},popPercent:{default:50},popBgColor:{default:"rgba(255,255,255,0)"}},emits:["open","close","resize","clickOverlay"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=new Ie({frameDuration:s.dur}),a=Zt({backgroundColor:s.popBgColor,position:"absolute",overflow:"hidden",opacity:"1"}),i=R("full");Et(()=>[s.directionFrom,s.popValue],()=>{n.clear();const b=s.popValue?s.popValue:s.popPercent,_=s.popValue?"px":"%";switch(s.directionFrom){case"left":a.height="100%",a.width=`${b}${_}`,a.top="0",a.bottom="0",delete a.right,n.addTween({left:b},{left:0},{easeFunction:ht.Quadratic.Out,onUpdate(v){a.left=`-${v.left}${_}`},onComplete:u});break;case"right":a.height="100%",a.width=`${b}${_}`,a.top="0",a.bottom="0",delete a.left,n.addTween({right:b},{right:0},{easeFunction:ht.Quadratic.Out,onUpdate(v){a.right=`-${v.right}${_}`},onComplete:u});break;case"top":a.width="100%",a.height=`${b}${_}`,a.left="0",a.right="0",delete a.bottom,n.addTween({top:b},{top:0},{easeFunction:ht.Quadratic.Out,onUpdate(v){a.top=`-${v.top}${_}`},onComplete:u});break;case"bottom":a.width="100%",a.height=`${b}${_}`,a.left="0",a.right="0",delete a.top,n.addTween({bottom:b},{bottom:0},{easeFunction:ht.Quadratic.Out,onUpdate(v){a.bottom=`-${v.bottom}${_}`},onComplete:u});break;case"center":delete a.width,delete a.height,a.left="50%",delete a.right,a.top="50%",delete a.bottom,n.addTween({scale:.8,opacity:0},{scale:1,opacity:1},{easeFunction:ht.Quadratic.Out,onUpdate(v){a.transform=`translate(-50%, -50%) scale(${v.scale})`,a.opacity=`${v.opacity}`},onComplete:u});break;case"absolute":a.width=s.absoluteWidth,a.height=s.absoluteHeight,a.left=s.absoluteLeft,a.top=s.absoluteTop,delete a.right,delete a.bottom;break}switch(s.directionFrom){case"center":i.value="shrink",a.transform="translate(-50%, -50%)";break;case"absolute":i.value="shrink",delete a.transform,delete a.opacity;break;default:i.value="full",delete a.transform,delete a.opacity;break}},{immediate:!0}),Et(()=>s.absoluteLeft,()=>{switch(s.directionFrom){case"absolute":a.left=s.absoluteLeft;break}}),Et(()=>s.absoluteTop,()=>{switch(s.directionFrom){case"absolute":a.top=s.absoluteTop;break}}),Et(()=>s.absoluteWidth,()=>{switch(s.directionFrom){case"absolute":a.width=s.absoluteWidth;break}}),Et(()=>s.absoluteHeight,()=>{switch(s.directionFrom){case"absolute":a.height=s.absoluteHeight;break}});const l=(b,_,v)=>{r("resize",b,_,v)};let c="open";function u(){c=="open"?r("open"):(d.value=!1,r("close"))}const d=R(!1);function f(){d.value=!0,c="open",n.play()}function p(){switch(c="close",s.directionFrom){case"absolute":u();break;default:n.reverse();break}}function h(b){const _=s.directionFrom=="absolute"&&s.absoluteWidth=="100%"&&s.absoluteHeight=="100%"?"pop-content":"pop";b.target&&et.hasClass(b.target,_)&&(s.closeWhenClickOverlay&&p(),r("clickOverlay"))}return t({open:f,close:p}),(b,_)=>(L(),Mt(Us,{visible:d.value,isGlobal:s.isGlobal,color:s.overlayBgColor},{default:_t(()=>[E("div",{class:"pop",style:{display:"block",position:"relative",width:"100%",height:"100%",overflow:"hidden"},onClick:h},[ct(wt,{class:"pop-content",type:i.value,style:A(a),onResize:l},{default:_t(()=>[Ct(b.$slots,"default",{},()=>[h1])]),_:3},8,["type","style"])])]),_:3},8,["visible","isGlobal","color"]))}}),f1=K({...{},name:"Image",customOptions:{Container:wt,Pop:be},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 s=o,r=e,n=new Ie({frameDuration:s.dur}),a=R(0),i=R(0),l=R(0),c=R(0),u=R(0),d=R(0),f=R(0),p=R(0),h=R(0),b=R(0);yd(s.src).then($=>{h.value=$.width,b.value=$.height,k()});const _=R(0),v=R(0),w=($,N)=>{_.value=$,v.value=N,k()},g=R(0),m=R(0);function k(){if(!_.value||!v.value||!h.value||!b.value)return;const $=On(s.mode,h.value,b.value,_.value,v.value);g.value=$.width,m.value=$.height;const{width:N,height:G}=Ro(),rt=On("aspectFit",h.value,b.value,N,G);f.value=rt.width,p.value=rt.height,u.value=(N-f.value)/2,d.value=(G-p.value)/2}const C=($,N,G)=>{r("settled",G.x,G.y,G.width,G.height)};let z=!1;const tt=R(),I=R();async function D(){if(!s.openImageDetailWhenClick)return;const $=await tt.value.getSize();n.clear(),n.addTween({left:$.x,top:$.y,width:$.width,height:$.height},{left:u.value,top:d.value,width:f.value,height:p.value},{easeFunction:ht.Quadratic.Out,onUpdate(N){a.value=N.left,i.value=N.top,l.value=N.width,c.value=N.height},onComplete(){z&&I.value.close(),z=!z}}),z||(I.value.open(),n.play())}function M(){z&&n.reverse()}return t({}),($,N)=>(L(),Mt(wt,{class:"image",type:"full",style:A({backgroundColor:s.bgColor}),onResize:w,onClick:D},{default:_t(()=>[ct(wt,{class:"image-inner",ref_key:"imageRef",ref:tt,type:"shrink",style:A({width:g.value+"px",height:m.value+"px",backgroundImage:`url(${s.src})`,backgroundSize:`${g.value}px ${m.value}px`}),onResize:C},null,8,["style"]),ct(be,{ref_key:"popRef",ref:I,"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:M},{default:_t(()=>[E("div",{class:"image-pop",style:A({width:"100%",height:"100%",backgroundImage:`url(${s.src})`,backgroundSize:"100% 100%"})},null,4)]),_:1},8,["absolute-left","absolute-top","absolute-width","absolute-height"])]),_:1},8,["style"]))}}),Xi=lt(f1,[["styles",[`.image[data-v-ecc6cad0]{overflow:hidden;display:flex!important;justify-content:center;align-items:center}.image-inner[data-v-ecc6cad0],.image-pop[data-v-ecc6cad0]{background-repeat:no-repeat;background-position:center center}
99
+ `]],["__scopeId","data-v-ecc6cad0"]]),An=K({customOptions:{Container:wt,CSSAnimation:Mo},inheritAttrs:!0,__name:"Page",props:{effect:{default:"moveFromLeft"},duration:{default:500},easeFunction:{type:Function,default:ht.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["ready","pageOpenStart","pageOpenEnd","pageCloseStart","pageCloseEnd"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(),a=Zt({}),i=()=>{r("ready",C,z)},l=()=>{b()},c=R();let u="rotateRightSideFirst",d=s.effect;function f(tt,I){switch(d){case"static":I();break;default:tt();break}}let p=!1;const h=new Ie,b=()=>{const tt={},I={};h.clear(),h.frameDuration=s.duration,f(()=>{u=d},()=>{h.addTween(tt,I,{delay:s.delay/s.duration,easeFunction:s.easeFunction,onStart:()=>{r(p?"pageCloseStart":"pageOpenStart")},onUpdate:D=>{a.transform="","x"in D&&(a.transform+=` translateX(${D.x}%)`),"y"in D&&(a.transform+=` translateY(${D.y}%)`),"rx"in D&&(a.transform+=` rotateX(${D.rx}deg)`),"ry"in D&&(a.transform+=` rotateY(${D.ry}deg)`),"scale"in D&&(a.transform+=` scale(${D.scale})`),"opacity"in D&&(a.opacity=`${D.opacity}`)},onComplete:()=>{r(p?"pageCloseEnd":"pageOpenEnd")}})})};Et(()=>[s.effect,s.delay,s.duration,s.easeFunction],()=>{d=s.effect,b()},{immediate:!0});const _=()=>{r(p?"pageCloseStart":"pageOpenStart")},v=()=>{r(p?"pageCloseEnd":"pageOpenEnd")},w=()=>{f(()=>{c.value.trigger(u)},()=>{h.play()})},g=()=>{f(()=>{c.value.triggerReverse(u)},()=>{h.reverse()})},m=()=>{a.transform="none",a.opacity="1"};function k(){f(()=>{m()},()=>{c.value?.clear()})}const C=tt=>{tt&&(d=tt,b()),p=!1,k(),n.value.startEffect()},z=tt=>{tt&&(d=tt,b()),p=!0,k(),n.value.endEffect()};return t({open:C,close:z,clear:m,getElement:()=>n.value.getElement()}),(tt,I)=>(L(),Mt(wt,{class:"page",ref_key:"pageRef",ref:n,type:"full",effectTriggerTiming:"manual",style:{overflow:"hidden",width:"100%",height:"100%"},onReady:i,onResize:l,onStart:w,onEnd:g},{default:_t(()=>[ct(Mo,{ref_key:"cssAnimationRef",ref:c,containerType:"full",effectTriggerTiming:"manual",duration:s.duration,delay:s.delay,timingFunction:s.timingFunction,onCssanimationstart:_,onCssanimationend:v},{default:_t(()=>[E("div",{class:"page-inner",style:A({position:"relative",display:"block",width:"100%",height:"100%",overflow:"scroll",backfaceVisibility:"hidden",transformStyle:"preserve-3d",...a})},[Ct(tt.$slots,"default")],4)]),_:3},8,["duration","delay","timingFunction"])]),_:3},512))}}),Gi=K({customOptions:{Page:An,Container:wt},inheritAttrs:!0,__name:"Routes",props:{effect:{default:"moveToLeft"},duration:{default:500},easeFunction:{type:Function,default:ht.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["routeChangeStart","routeChangeEnd","renderComplete"],setup(o,{expose:t,emit:e}){const s=o,r=e;let n=-1,a=-1,i;const l=[];let c=[],u=[],d=[];function f(V){return V>=0&&V<c.length}function p(){return a>n}function h(V,P,Bt){switch(V){case n:return p()?P:Bt;case a:return p()?Bt:P;default:return"static"}}function b(V,P){switch(V){case"moveToLeft":return h(P,"moveToLeft","moveFromRight");case"moveToRight":return h(P,"moveToRight","moveFromLeft");case"moveToTop":return h(P,"moveToTop","moveFromBottom");case"moveToBottom":return h(P,"moveToBottom","moveFromTop");case"moveFromLeftPrevFade":return h(P,"fade","moveFromLeft");case"moveFromRightPrevFade":return h(P,"fade","moveFromRight");case"moveFromTopPrevFade":return h(P,"fade","moveFromTop");case"moveFromBottomPrevFade":return h(P,"fade","moveFromBottom");case"moveToLeftFade":return h(P,"moveToLeftFade","moveFromRightFade");case"moveToRightFade":return h(P,"moveToRightFade","moveFromLeftFade");case"moveToTopFade":return h(P,"moveToTopFade","moveFromBottomFade");case"moveToBottomFade":return h(P,"moveToBottomFade","moveFromTopFade");case"moveToLeftEasing":return h(P,"moveToLeft","moveFromRight");case"moveToRightEasing":return h(P,"moveToRight","moveFromLeft");case"moveToTopEasing":return h(P,"moveToTop","moveFromBottom");case"moveToBottomEasing":return h(P,"moveToBottom","moveFromTop");case"moveFromLeftPrevScaleToSmall":return h(P,"scaleToSmall","moveFromLeft");case"moveFromRightPrevScaleToSmall":return h(P,"scaleToSmall","moveFromRight");case"moveFromTopPrevScaleToSmall":return h(P,"scaleToSmall","moveFromTop");case"moveFromBottomPrevScaleToSmall":return h(P,"scaleToSmall","moveFromBottom");case"scaleSmall":return h(P,"scaleToSmall","scaleFromLarge");case"scaleLarge":return h(P,"scaleToLarge","scaleFromSmall");case"scaleToLargePrevScaleToSmall":return h(P,"scaleToSmallCenter","scaleFromSmallCenter");case"scaleFromSmallPrevMoveToLeft":return h(P,"moveToLeft","scaleFromSmall");case"scaleFromSmallPrevMoveToRight":return h(P,"moveToRight","scaleFromSmall");case"scaleFromSmallPrevMoveToTop":return h(P,"moveToTop","scaleFromSmall");case"scaleFromSmallPrevMoveToBottom":return h(P,"moveToBottom","scaleFromSmall");case"glueToLeft":return h(P,"rotateRightSideFirst","moveFromRight");case"glueToRight":return h(P,"rotateLeftSideFirst","moveFromLeft");case"glueToTop":return h(P,"rotateBottomSideFirst","moveFromBottom");case"glueToBottom":return h(P,"rotateTopSideFirst","moveFromTop");case"flipToLeft":return h(P,"flipOutLeft","flipInRight");case"flipToRight":return h(P,"flipOutRight","flipInLeft");case"flipToTop":return h(P,"flipOutTop","flipInBottom");case"flipToBottom":return h(P,"flipOutBottom","flipInTop");case"rotateFall":return h(P,"rotateFall","scaleFromSmall");case"newspaper":return h(P,"rotateOutNewspaper","rotateInNewspaper");case"moveFromLeftPrevPush":return h(P,"rotatePushRight","moveFromLeft");case"moveFromRightPrevPush":return h(P,"rotatePushLeft","moveFromRight");case"moveFromTopPrevPush":return h(P,"rotatePushBottom","moveFromTop");case"moveFromBottomPrevPush":return h(P,"rotatePushTop","moveFromBottom");case"pullFromLeftPrevPush":return h(P,"rotatePushRight","rotatePullLeft");case"pullFromRightPrevPush":return h(P,"rotatePushLeft","rotatePullRight");case"pullFromTopPrevPush":return h(P,"rotatePushBottom","rotatePullTop");case"pullFromBottomPrevPush":return h(P,"rotatePushTop","rotatePullBottom");case"moveFromLeftFadePrevFold":return h(P,"rotateFoldRight","moveFromLeftFade");case"moveFromRightFadePrevFold":return h(P,"rotateFoldLeft","moveFromRightFade");case"moveFromTopFadePrevFold":return h(P,"rotateFoldBottom","moveFromTopFade");case"moveFromBottomFadePrevFold":return h(P,"rotateFoldTop","moveFromBottomFade");case"moveToLeftFadePrevUnfold":return h(P,"moveToLeftFade","rotateUnfoldRight");case"moveToRightFadePrevUnfold":return h(P,"moveToRightFade","rotateUnfoldLeft");case"moveToTopFadePrevUnfold":return h(P,"moveToTopFade","rotateUnfoldBottom");case"moveToBottomFadePrevUnfold":return h(P,"moveToBottomFade","rotateUnfoldTop");case"rotateRoomLeftIn":return h(P,"rotateRoomLeftOut","rotateRoomLeftIn");case"rotateRoomRightIn":return h(P,"rotateRoomRightOut","rotateRoomRightIn");case"rotateRoomTopIn":return h(P,"rotateRoomTopOut","rotateRoomTopIn");case"rotateRoomBottomIn":return h(P,"rotateRoomBottomOut","rotateRoomBottomIn");case"rotateCubeLeftIn":return h(P,"rotateCubeLeftOut","rotateCubeLeftIn");case"rotateCubeRightIn":return h(P,"rotateCubeRightOut","rotateCubeRightIn");case"rotateCubeTopIn":return h(P,"rotateCubeTopOut","rotateCubeTopIn");case"rotateCubeBottomIn":return h(P,"rotateCubeBottomOut","rotateCubeBottomIn");case"rotateCarouselLeftIn":return h(P,"rotateCarouselLeftOut","rotateCarouselLeftIn");case"rotateCarouselRightIn":return h(P,"rotateCarouselRightOut","rotateCarouselRightIn");case"rotateCarouselTopIn":return h(P,"rotateCarouselTopOut","rotateCarouselTopIn");case"rotateCarouselBottomIn":return h(P,"rotateCarouselBottomOut","rotateCarouselBottomIn");case"rotateSidesIn":return h(P,"rotateSidesOut","rotateSidesIn");case"rotateSlideIn":return h(P,"rotateSlideOut","rotateSlideIn")}}function _(V,P=600,Bt=600){switch(V){case n:return P;case a:return Bt;default:return s.duration}}function v(V,P){switch(V){case"moveFromLeftFadePrevFold":case"moveFromRightFadePrevFold":case"moveFromTopFadePrevFold":case"moveFromBottomFadePrevFold":return _(P,700,700);case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":case"moveFromLeftPrevScaleToSmall":case"moveFromRightPrevScaleToSmall":case"moveFromTopPrevScaleToSmall":case"moveFromBottomPrevScaleToSmall":return _(P,700,600);case"scaleSmall":return _(P,700,500);case"scaleLarge":return _(P,500,700);case"scaleToLargePrevScaleToSmall":return _(P,400,400);case"scaleFromSmallPrevMoveToLeft":case"scaleFromSmallPrevMoveToRight":case"scaleFromSmallPrevMoveToTop":case"scaleFromSmallPrevMoveToBottom":return _(P,600,700);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":return _(P,800,600);default:return s.duration}}let w=s.timingFunction;function g(V){switch(V){default:return s.easeFunction}}function m(V,P){switch(V){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":switch(P){case n:w=p()?"ease-in-out":"ease";break;case a:default:w=p()?"ease":"ease-in-out"}return g(P);default:return w=s.timingFunction,s.easeFunction}}function k(V,P=300){switch(V){case a:return s.delay+P;default:return s.delay}}function C(V,P){switch(V){case"flipToLeft":case"flipToRight":case"flipToTop":case"flipToBottom":case"newspaper":return k(P,500);case"scaleSmall":case"scaleLarge":return k(P,300);case"scaleToLargePrevScaleToSmall":return k(P,400);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":case"rotateSidesIn":return k(P,200);case"pullFromLeftPrevPush":case"pullFromRightPrevPush":case"pullFromTopPrevPush":case"pullFromBottomPrevPush":return k(P,180);default:return s.delay}}let z=2,tt=2;const I=()=>{z=2,tt=2},D=()=>{z=2,tt=3},M=()=>{z=3,tt=2};function $(V){switch(s.effect){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":M();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":p()?M():D();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":p()?D():M();break;default:I();break}f(n)&&n==V&&(d[n].style.zIndex=`${z}`,d[n].style.visibility="visible"),f(a)&&a==V&&(d[a].style.zIndex=`${tt}`,d[a].style.visibility="visible")}function N(V){D(),V==n&&(d[n].style.zIndex=`${z}`,d[n].style.visibility="hidden"),V==a&&(d[a].style.zIndex=`${tt}`,d[a].style.visibility="visible",l.shift()?.(),r("routeChangeEnd",n,a,c.length),n=a)}const G=R();function rt(V=0,P=!1){if(!G.value)return;let Bt=0;ir(qt("div",{class:"routes-pages",style:{display:"block",width:"100%",height:"100%",overflow:"hidden",position:"relative"}},c.map((Nt,Tt)=>{const Qt=b(s.effect,Tt);return qt("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:n==Tt?"visible":"hidden",zIndex:P?"1":"0"}},Nt.pageKey?{key:Nt.pageKey}:{}),qt(An,{effect:Qt,duration:v(s.effect,Tt),easeFunction:m(s.effect,Tt),timingFunction:w,delay:C(s.effect,Tt),onReady:(Gt,j)=>{u[Tt]={open:Gt,close:j},++Bt==V&&(i?.(),r("renderComplete"))},onPageOpenStart:()=>{$(Tt)},onPageOpenEnd:()=>{N(Tt)},onPageCloseStart:()=>{$(Tt)},onPageCloseEnd:()=>{N(Tt)}},{default:()=>Nt.component instanceof HTMLElement?qt("div",{...Nt.attributes,innerHTML:Nt.component.innerHTML}):qt(Nt.component,Nt.attributes,()=>Nt.child)}))})),G.value),d=G.value.children[0].children}Et(()=>s.effect,()=>{rt()});function Q(V=[]){c=[...V],c.forEach(P=>{P.pageKey=P.pageKey||co()}),i=()=>{n=-1,pt(0)},rt(c.length,!0)}function q(V){V.pageKey=V.pageKey||co(),c.push(V),i=()=>{pt(c.length-1)},rt(1,c.length==1)}function at(){c.length<=1||pt(c.length-2,()=>{c.splice(c.length-1,1),n=c.length-1,rt()})}function U(){pt(n+1)}function H(){pt(n-1)}const yt=new un(1);function pt(V,P){yt.addTask(()=>new Promise(Bt=>{const Nt=()=>{P?.(),Bt()};if(!f(V)){Nt();return}if(a=V,a==n){Nt();return}l.push(Nt),rt(),r("routeChangeStart",n,a,c.length),p()?(f(n)&&u[n].open(),f(a)&&u[a].open()):(f(n)&&u[n].close(),f(a)&&u[a].close())}))}return t({reset:Q,push:q,pop:at,forward:U,back:H,goto:pt,currentPageIndex:()=>n,totalPages:()=>c.length}),(V,P)=>(L(),B("div",{class:"routes",ref_key:"routesRef",ref:G,style:{display:"block",position:"relative",width:"100%",height:"100%","overflow-x":"hidden","overflow-y":"hidden"}},null,512))}}),p1=K({...{},name:"Image",customOptions:{Container:wt,Pop:be},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 s=o,r=e,n=new Ie({frameDuration:s.dur}),a=R(0),i=R(0),l=R(0),c=R(0),u=R(0),d=R(0),f=R(0),p=R(0),h=R(0),b=R(0);yd(s.src).then($=>{h.value=$.width,b.value=$.height,k()});const _=R(0),v=R(0),w=($,N)=>{_.value=$,v.value=N,k()},g=R(0),m=R(0);function k(){if(!_.value||!v.value||!h.value||!b.value)return;const $=On(s.mode,h.value,b.value,_.value,v.value);g.value=$.width,m.value=$.height;const{width:N,height:G}=Ro(),rt=On("aspectFit",h.value,b.value,N,G);f.value=rt.width,p.value=rt.height,u.value=(N-f.value)/2,d.value=(G-p.value)/2}const C=($,N,G)=>{r("settled",G.x,G.y,G.width,G.height)};let z=!1;const tt=R(),I=R();async function D(){if(!s.openImageDetailWhenClick)return;const $=await tt.value.getSize();n.clear(),n.addTween({left:$.x,top:$.y,width:$.width,height:$.height},{left:u.value,top:d.value,width:f.value,height:p.value},{easeFunction:ht.Quadratic.Out,onUpdate(N){a.value=N.left,i.value=N.top,l.value=N.width,c.value=N.height},onComplete(){z&&I.value.close(),z=!z}}),z||(I.value.open(),n.play())}function M(){z&&n.reverse()}return t({}),($,N)=>(L(),Mt(wt,{class:"image",type:"full",style:A({backgroundColor:s.bgColor}),onResize:w,onClick:D},{default:_t(()=>[ct(wt,{class:"image-inner",ref_key:"imageRef",ref:tt,type:"shrink",style:A({width:g.value+"px",height:m.value+"px",backgroundImage:`url(${s.src})`,backgroundSize:`${g.value}px ${m.value}px`}),onResize:C},null,8,["style"]),ct(be,{ref_key:"popRef",ref:I,"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:M},{default:_t(()=>[E("div",{class:"image-pop",style:A({width:"100%",height:"100%",backgroundImage:`url(${s.src})`,backgroundSize:"100% 100%"})},null,4)]),_:1},8,["absolute-left","absolute-top","absolute-width","absolute-height"])]),_:1},8,["style"]))}}),Nx="",$d=lt(p1,[["__scopeId","data-v-48bcfc9f"]]),m1={key:0,style:{position:"absolute",top:"30px",left:"50%",transform:"translate(-50%, 0)",color:"#ffffff","font-size":"1em","z-index":"98"}},Dd=K({customOptions:{Image:$d,Container:wt,Routes:Gi},inheritAttrs:!0,__name:"ImageView.ce",props:{urls:{default:()=>[]},effect:{default:"moveToLeftFade"}},setup(o,{expose:t,emit:e}){const s=o,r=R(0);function n(f,p){r.value=p}const a=R(),i=f=>{f.on("panLeft",()=>{a.value?.forward()}),f.on("panRight",()=>{a.value?.back()}),a.value.reset(s.urls.map(p=>({component:qt($d,{mode:"aspectFit",src:p,openImageDetailWhenClick:!1})})))},l=R();function c(){l.value?.open()}function u(){l.value?.close()}const d=f=>{f.target&&et.hasClass(f.target,"image")&&u()};return t({open:c,close:u}),(f,p)=>(L(),Mt(be,{ref_key:"popRef",ref:l,directionFrom:"absolute",onClick:d},{default:_t(()=>[s.urls.length>1?(L(),B("div",m1,bt(r.value+1)+" / "+bt(s.urls.length),1)):$t("",!0),ct(wt,{style:{position:"absolute",top:"50%",transform:"translate(0, -50%)",width:"100%",height:"100%","z-index":"97"},onReady:i},{default:_t(()=>[ct(Gi,{ref_key:"routesRef",ref:a,effect:s.effect,onRouteChangeEnd:n},null,8,["effect"])]),_:1})]),_:1},512))}}),zx="",g1={class:"page"},y1={class:"header"},v1={class:"main"},b1={class:"main-scroll"},_1={class:"footer"},x1=lt(K({customOptions:{},inheritAttrs:!0,__name:"LayoutMobile.ce",props:{designWidth:{default:750}},setup(o,{expose:t,emit:e}){return hg(o.designWidth),t({}),(r,n)=>(L(),B("div",g1,[E("header",y1,[Ct(r.$slots,"header",{},void 0,!0)]),E("div",v1,[E("div",b1,[Ct(r.$slots,"main",{},void 0,!0)])]),E("footer",_1,[Ct(r.$slots,"footer",{},void 0,!0)])]))}}),[["styles",[`.page[data-v-20686fd2]{width:100%;height:100%;position:relative;overflow:hidden;display:flex;flex-direction:column}.main[data-v-20686fd2]{flex:1 1 auto;width:100%;overflow-y:scroll;display:flex;flex-direction:column}.main-scroll[data-v-20686fd2]{flex:1 1 auto;width:100%}.main-scroll[data-v-20686fd2]>:nth-child(1){min-height:100%}.header[data-v-20686fd2],.footer[data-v-20686fd2]{flex:0 0 auto}
100
+ `]],["__scopeId","data-v-20686fd2"]]),w1=lt(K({customOptions:{},inheritAttrs:!0,__name:"LayoutCenter.ce",props:{type:{default:"grid"}},setup(o,{expose:t,emit:e}){const s=o,r=Zt({}),n=Zt({});function a(){switch(fu(r),fu(n),s.type){case"table":r.display="table",n.display="table-cell",n.verticalAlign="middle",n.textAlign="center";break;case"transform":n.position="absolute",n.top="50%",n.left="50%",n.transform="translate(-50%, -50%)";break;case"grid":r.display="grid",r.justifyContent="center",r.alignItems="center";break;case"flex":default:r.display="flex",n.margin="auto"}}return a(),te(()=>{}),t({}),(i,l)=>(L(),B("div",{class:"layout-center",style:A(r)},[E("div",{style:A(n)},[Ct(i.$slots,"default",{},void 0,!0)],4)],4))}}),[["styles",[`.layout-center[data-v-114afb17]{position:relative;display:block;width:100%;height:100%;overflow:hidden}
101
101
  `]],["__scopeId","data-v-114afb17"]]),ue=K({customOptions:{},inheritAttrs:!0,__name:"Container.ce",props:{type:{default:"block"},effectTriggerTiming:{default:"manual"},styleSheets:{},supportCopyText:{type:Boolean,default:!1}},emits:["ready","resize","start","end"],setup(o,{expose:t,emit:e}){const s=o,r=e;let n="start";const a=()=>{n="start",r("start")},i=()=>{n="end",r("end")},l=()=>{n=="start"?i():a()},c=()=>{n=="start"?a():i()};let u=!1,d,f;const p=R();Et(p,()=>{if(!(!p.value||d)){if(s.styleSheets){let _="";for(let v in s.styleSheets)_+=`${v}: ${s.styleSheets[v]};`;et.injectStyle(`
102
102
  :root {
103
103
  ${_}
@@ -105,16 +105,16 @@ Component that was made reactive: `,o)),E(o,t,e,s,r,a,n,!0)}function Up(o){retur
105
105
  :host {
106
106
  ${_}
107
107
  }
108
- `,p.value)}d=new We(p.value,!1),d.on("resize",(_,v)=>{r("resize",_,v,p.value.getBoundingClientRect()),f?.(d),u||(u=!0,s.effectTriggerTiming!=="manual"&&a(),r("ready",d),s.effectTriggerTiming=="immediate"&&l())}),d.on("mouseEnter",()=>{s.effectTriggerTiming=="mouseMove"&&l()}),d.on("mouseLeave",()=>{s.effectTriggerTiming=="mouseMove"&&l()}),d.on("tap",()=>{s.effectTriggerTiming=="click"&&l(),s.supportCopyText&&et.copyToClipboard(et.getInnerText(p.value)).then(()=>{}).catch(_=>{})}),d.start()}});const h=()=>new Promise(_=>{if(d)return _(d);f=_}),b=()=>h().then(()=>p.value.getBoundingClientRect());return te(()=>{d?.destroy()}),t({getElement:()=>p.value,getApp:h,getSize:b,getStatus:()=>n,startEffect:a,endEffect:i,nextEffect:l,repeatEffect:c}),(_,v)=>(L(),B("div",{class:ae(["container",[s.type]]),ref_key:"containerRef",ref:p,style:A({position:"relative",boxSizing:"border-box",display:s.type=="shrink"?"inline-block":"block",width:s.type=="full"?"100%":"auto",height:s.type=="full"?"100%":"auto"})},[Tt(_.$slots,"default")],6))}}),Nn=K({customOptions:{},inheritAttrs:!0,__name:"Overlay.ce",props:{visible:{type:Boolean,default:!1},color:{default:ge("#000000",.25).toString()},isGlobal:{type:Boolean,default:!0}},setup(o,{expose:t,emit:e}){const s=o,r=R(),n=document.documentElement.style.overflow,a=document.body.style.overflow;return Et(()=>s.visible,()=>{s.isGlobal?s.visible?(document.documentElement.style.overflow="hidden",document.body.style.overflow="hidden"):(document.documentElement.style.overflow=n,document.body.style.overflow=a):r.value&&(s.visible?r.value.parentElement.style.overflow="hidden":r.value.parentElement.style.overflow="")},{immediate:!0}),t({}),(i,l)=>s.visible?(L(),B("div",{key:0,class:"overlay",ref_key:"overlayRef",ref:r,style:A([`background-color: ${s.color}`,`position: ${s.isGlobal?"fixed":"absolute"}`,"z-index: 9000","display: block","width: 100%","height: 100%","inset: 0","overflow: hidden"])},[Tt(i.$slots,"default")],4)):$t("",!0)}}),k1=E("div",null,null,-1),mo=K({customOptions:{Overlay:Us,Container:wt},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},isGlobal:{type:Boolean,default:!0},overlayBgColor:{},popValue:{},popPercent:{default:50},popBgColor:{default:"rgba(255,255,255,0)"}},emits:["open","close","resize","clickOverlay"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=new Ie({frameDuration:s.dur}),a=Zt({backgroundColor:s.popBgColor,position:"absolute",overflow:"hidden",opacity:"1"}),i=R("full");Et(()=>[s.directionFrom,s.popValue],()=>{n.clear();const b=s.popValue?s.popValue:s.popPercent,_=s.popValue?"px":"%";switch(s.directionFrom){case"left":a.height="100%",a.width=`${b}${_}`,a.top="0",a.bottom="0",delete a.right,n.addTween({left:b},{left:0},{easeFunction:ht.Quadratic.Out,onUpdate(v){a.left=`-${v.left}${_}`},onComplete:u});break;case"right":a.height="100%",a.width=`${b}${_}`,a.top="0",a.bottom="0",delete a.left,n.addTween({right:b},{right:0},{easeFunction:ht.Quadratic.Out,onUpdate(v){a.right=`-${v.right}${_}`},onComplete:u});break;case"top":a.width="100%",a.height=`${b}${_}`,a.left="0",a.right="0",delete a.bottom,n.addTween({top:b},{top:0},{easeFunction:ht.Quadratic.Out,onUpdate(v){a.top=`-${v.top}${_}`},onComplete:u});break;case"bottom":a.width="100%",a.height=`${b}${_}`,a.left="0",a.right="0",delete a.top,n.addTween({bottom:b},{bottom:0},{easeFunction:ht.Quadratic.Out,onUpdate(v){a.bottom=`-${v.bottom}${_}`},onComplete:u});break;case"center":delete a.width,delete a.height,a.left="50%",delete a.right,a.top="50%",delete a.bottom,n.addTween({scale:.8,opacity:0},{scale:1,opacity:1},{easeFunction:ht.Quadratic.Out,onUpdate(v){a.transform=`translate(-50%, -50%) scale(${v.scale})`,a.opacity=`${v.opacity}`},onComplete:u});break;case"absolute":a.width=s.absoluteWidth,a.height=s.absoluteHeight,a.left=s.absoluteLeft,a.top=s.absoluteTop,delete a.right,delete a.bottom;break}switch(s.directionFrom){case"center":i.value="shrink",a.transform="translate(-50%, -50%)";break;case"absolute":i.value="shrink",delete a.transform,delete a.opacity;break;default:i.value="full",delete a.transform,delete a.opacity;break}},{immediate:!0}),Et(()=>s.absoluteLeft,()=>{switch(s.directionFrom){case"absolute":a.left=s.absoluteLeft;break}}),Et(()=>s.absoluteTop,()=>{switch(s.directionFrom){case"absolute":a.top=s.absoluteTop;break}}),Et(()=>s.absoluteWidth,()=>{switch(s.directionFrom){case"absolute":a.width=s.absoluteWidth;break}}),Et(()=>s.absoluteHeight,()=>{switch(s.directionFrom){case"absolute":a.height=s.absoluteHeight;break}});const l=(b,_,v)=>{r("resize",b,_,v)};let c="open";function u(){c=="open"?r("open"):(d.value=!1,r("close"))}const d=R(!1);function f(){d.value=!0,c="open",n.play()}function p(){switch(c="close",s.directionFrom){case"absolute":u();break;default:n.reverse();break}}function h(b){const _=s.directionFrom=="absolute"&&s.absoluteWidth=="100%"&&s.absoluteHeight=="100%"?"pop-content":"pop";b.target&&et.hasClass(b.target,_)&&(s.closeWhenClickOverlay&&p(),r("clickOverlay"))}return t({open:f,close:p}),(b,_)=>(L(),Mt(Us,{visible:d.value,isGlobal:s.isGlobal,color:s.overlayBgColor},{default:_t(()=>[E("div",{class:"pop",style:{display:"block",position:"relative",width:"100%",height:"100%",overflow:"hidden"},onClick:h},[ct(wt,{class:"pop-content",type:i.value,style:A(a),onResize:l},{default:_t(()=>[Tt(b.$slots,"default",{},()=>[k1])]),_:3},8,["type","style"])])]),_:3},8,["visible","isGlobal","color"]))}}),C1=E("div",{style:{"background-color":"#ffffff"}},"...",-1),Ui=K({customOptions:{Pop:be,Button:oe,Container:wt},inheritAttrs:!0,__name:"Popover.ce",props:{gap:{default:10},isGlobal:{type:Boolean,default:!0},closeWhenClickOverlay:{type:Boolean,default:!0}},setup(o,{expose:t}){const e=o,s=R();function r(){s.value.open()}function n(){s.value.close()}const a=R(),i=R(0),l=R(0),c=R(0),u=R(0),d=(f,p)=>{if(c.value=f,u.value=p,!a.value)return;const h=Ro(),b=a.value.getBoundingClientRect();i.value=Math.max(e.gap,Math.min(b.x+b.width+e.gap,h.width-f-e.gap)),l.value=Math.max(e.gap,Math.min(b.y,h.height-p-e.gap))};return t({open:r,close:n}),(f,p)=>(L(),B(Xt,null,[E("div",{ref_key:"popoverButtonRef",ref:a,class:"popover-button",style:{display:"inline-block"},onClick:r},[Tt(f.$slots,"button",{},()=>[ct(oe,null,{default:_t(()=>[jt("popover")]),_:1})])],512),ct(be,{ref_key:"popRef",ref:s,"direction-from":"absolute",isGlobal:e.isGlobal,closeWhenClickOverlay:e.closeWhenClickOverlay},{default:_t(()=>[E("div",{style:A({position:"absolute",left:i.value+"px",top:l.value+"px",width:c.value+"px",height:u.value+"px"})},[ct(wt,{type:"shrink",onResize:d},{default:_t(()=>[Tt(f.$slots,"panel",{},()=>[C1])]),_:3})],4)]),_:3},8,["isGlobal","closeWhenClickOverlay"])],64))}}),T1={class:"dialog-parent"},S1={key:0,class:"title"},E1={key:0,class:"title-inner truncate"},P1={class:"custom-content"},O1={class:"custom-content-default"},I1={key:1,class:"btns"},zn=lt(K({customOptions:{Overlay:Us,Pop:be,Icon:fs,Button:oe},inheritAttrs:!0,__name:"Dialog.ce",props:{closeWhenClickOverlay:{type:Boolean,default:!1},dur:{default:200},minWidth:{default:"12em"},maxWidth:{default:"20em"},overlayBgColor:{}},emits:["open","close","cancel","confirm"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(),a=R(""),i=R(""),l=R(!1),c=R(""),u=R("");let d,f,p;const h=()=>{r("open")},b=()=>{d?.(),r("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||"",d=m?.onClose,f=m?.onCancel,p=m?.onConfirm,n.value.open()}function v(){n.value.close()}function w(){v(),f?.(),r("cancel")}function g(){v(),p?.(),r("confirm")}return t({open:_,close:v}),(m,k)=>(L(),Mt(be,{ref_key:"popRef",ref:n,directionFrom:"center",closeWhenClickOverlay:s.closeWhenClickOverlay,dur:s.dur,overlayBgColor:s.overlayBgColor,onOpen:h,onClose:b},{default:_t(()=>[E("div",T1,[E("div",{class:"dialog",style:A({minWidth:s.minWidth,maxWidth:s.maxWidth})},[a.value||l.value?(L(),B("div",S1,[a.value?(L(),B("div",E1,bt(a.value),1)):$t("",!0),l.value?(L(),B("div",{key:1,class:"close",onClick:v},[ct(fs,{icon:"ic:baseline-close",color:Ot(vt).colorGrayCC},null,8,["color"])])):$t("",!0)])):$t("",!0),E("div",P1,[Tt(m.$slots,"default",{},()=>[E("div",O1,bt(i.value),1)],!0)]),c.value||u.value?(L(),B("div",I1,[c.value?(L(),Mt(oe,{key:0,onClick:w,class:"btn",bgColor:Ot(vt).colorGrayE6,borderColor:Ot(vt).colorGrayE6,fontColor:Ot(vt).colorGray33,borderRadius:"0"},{default:_t(()=>[jt(bt(c.value),1)]),_:1},8,["bgColor","borderColor","fontColor"])):$t("",!0),u.value?(L(),Mt(oe,{key:1,onClick:g,class:"btn",borderRadius:"0"},{default:_t(()=>[jt(bt(u.value),1)]),_:1})):$t("",!0)])):$t("",!0)],4)])]),_:3},8,["closeWhenClickOverlay","dur","overlayBgColor"]))}}),[["styles",[`.dialog-parent[data-v-061fc404]{display:flex;justify-content:center;align-items:center}.dialog[data-v-061fc404]{border-radius:8px;background-color:#fff;overflow:hidden}.title[data-v-061fc404]{position:relative;font-size:20px;min-height:20px;margin-top:1em}.title-inner[data-v-061fc404]{font-weight:700;min-height:20px;padding:0 2em;text-align:center}.close[data-v-061fc404]{position:absolute;top:0;right:0;width:2em;height:100%;font-size:1.2em;text-align:center}.custom-content[data-v-061fc404]{font-size:16px;word-break:break-all}.custom-content-default[data-v-061fc404]{padding:1em}.btns[data-v-061fc404]{display:flex;justify-content:center}.btn[data-v-061fc404]{flex:1 1 auto;border-radius:0}
109
- `]],["__scopeId","data-v-061fc404"]]),R1={class:"dialog-parent"},F1={key:0,class:"title"},$1={key:0,class:"title-inner truncate"},D1={class:"custom-content"},L1={class:"custom-content-default"},M1={key:1,class:"btns"},A1=K({customOptions:{Overlay:Us,Pop:be,Icon:fs,Button:oe},inheritAttrs:!0,__name:"Dialog",props:{closeWhenClickOverlay:{type:Boolean,default:!1},dur:{default:200},minWidth:{default:"12em"},maxWidth:{default:"20em"},overlayBgColor:{}},emits:["open","close","cancel","confirm"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(),a=R(""),i=R(""),l=R(!1),c=R(""),u=R("");let d,f,p;const h=()=>{r("open")},b=()=>{d?.(),r("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||"",d=m?.onClose,f=m?.onCancel,p=m?.onConfirm,n.value.open()}function v(){n.value.close()}function w(){v(),f?.(),r("cancel")}function g(){v(),p?.(),r("confirm")}return t({open:_,close:v}),(m,k)=>(L(),Mt(be,{ref_key:"popRef",ref:n,directionFrom:"center",closeWhenClickOverlay:s.closeWhenClickOverlay,dur:s.dur,overlayBgColor:s.overlayBgColor,onOpen:h,onClose:b},{default:_t(()=>[E("div",R1,[E("div",{class:"dialog",style:A({minWidth:s.minWidth,maxWidth:s.maxWidth})},[a.value||l.value?(L(),B("div",F1,[a.value?(L(),B("div",$1,bt(a.value),1)):$t("",!0),l.value?(L(),B("div",{key:1,class:"close",onClick:v},[ct(fs,{icon:"ic:baseline-close",color:Ot(vt).colorGrayCC},null,8,["color"])])):$t("",!0)])):$t("",!0),E("div",D1,[Tt(m.$slots,"default",{},()=>[E("div",L1,bt(i.value),1)],!0)]),c.value||u.value?(L(),B("div",M1,[c.value?(L(),Mt(oe,{key:0,onClick:w,class:"btn",bgColor:Ot(vt).colorGrayE6,borderColor:Ot(vt).colorGrayE6,fontColor:Ot(vt).colorGray33,borderRadius:"0"},{default:_t(()=>[jt(bt(c.value),1)]),_:1},8,["bgColor","borderColor","fontColor"])):$t("",!0),u.value?(L(),Mt(oe,{key:1,onClick:g,class:"btn",borderRadius:"0"},{default:_t(()=>[jt(bt(u.value),1)]),_:1})):$t("",!0)])):$t("",!0)],4)])]),_:3},8,["closeWhenClickOverlay","dur","overlayBgColor"]))}}),jx="",Yn=lt(A1,[["__scopeId","data-v-f9df8635"]]),N1={class:"loading-8"},z1={viewBox:"25 25 50 50"},Y1=K({__name:"Loading8",props:{color:{default:vt.colorPrimary}},setup(o){const t=o;return(e,s)=>(L(),B("div",N1,[(L(),B("svg",z1,[E("circle",{cx:"50",cy:"50",r:"20",style:A(["stroke: "+t.color])},null,4)]))]))}}),Hx="",Ld=lt(Y1,[["__scopeId","data-v-e5e3cf4c"]]),V1={class:"loading"},B1={class:"icon"},X1={style:{width:"8em"}},G1={key:0,class:"content"},Md=lt(K({customOptions:{Overlay:Us,Pop:be,Dialog:Yn,Loading8:Ld},inheritAttrs:!0,__name:"DialogLoading.ce",props:{closeWhenClickOverlay:{type:Boolean,default:!1},dur:{default:200}},emits:["open","close"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(),a=R(""),i=()=>{r("open")},l=()=>{r("close")};function c(d){a.value=d||"",n.value.open()}function u(){n.value.close()}return t({open:c,close:u}),(d,f)=>(L(),Mt(Yn,{ref_key:"dialogRef",ref:n,showConfirm:!1,showTitle:!1,closeWhenClickOverlay:s.closeWhenClickOverlay,dur:s.dur,onOpen:i,onClose:l},{default:_t(()=>[E("div",V1,[E("div",B1,[Tt(d.$slots,"default",{},()=>[E("div",X1,[ct(Ld)])],!0)]),a.value?(L(),B("div",G1,bt(a.value),1)):$t("",!0)])]),_:3},8,["closeWhenClickOverlay","dur"]))}}),[["styles",[`.loading[data-v-2227dca8]{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:1em}.icon[data-v-2227dca8]{padding:2em 0;display:flex;justify-content:center;align-items:center}.content[data-v-2227dca8]{font-size:1em;margin-top:-1em;margin-bottom:1em}
108
+ `,p.value)}d=new We(p.value,!1),d.on("resize",(_,v)=>{r("resize",_,v,p.value.getBoundingClientRect()),f?.(d),u||(u=!0,s.effectTriggerTiming!=="manual"&&a(),r("ready",d),s.effectTriggerTiming=="immediate"&&l())}),d.on("mouseEnter",()=>{s.effectTriggerTiming=="mouseMove"&&l()}),d.on("mouseLeave",()=>{s.effectTriggerTiming=="mouseMove"&&l()}),d.on("tap",()=>{s.effectTriggerTiming=="click"&&l(),s.supportCopyText&&et.copyToClipboard(et.getInnerText(p.value)).then(()=>{}).catch(_=>{})}),d.start()}});const h=()=>new Promise(_=>{if(d)return _(d);f=_}),b=()=>h().then(()=>p.value.getBoundingClientRect());return te(()=>{d?.destroy()}),t({getElement:()=>p.value,getApp:h,getSize:b,getStatus:()=>n,startEffect:a,endEffect:i,nextEffect:l,repeatEffect:c}),(_,v)=>(L(),B("div",{class:ae(["container",[s.type]]),ref_key:"containerRef",ref:p,style:A({position:"relative",boxSizing:"border-box",display:s.type=="shrink"?"inline-block":"block",width:s.type=="full"?"100%":"auto",height:s.type=="full"?"100%":"auto"})},[Ct(_.$slots,"default")],6))}}),Nn=K({customOptions:{},inheritAttrs:!0,__name:"Overlay.ce",props:{visible:{type:Boolean,default:!1},color:{default:ge("#000000",.25).toString()},isGlobal:{type:Boolean,default:!0}},setup(o,{expose:t,emit:e}){const s=o,r=R(),n=document.documentElement.style.overflow,a=document.body.style.overflow;return Et(()=>s.visible,()=>{s.isGlobal?s.visible?(document.documentElement.style.overflow="hidden",document.body.style.overflow="hidden"):(document.documentElement.style.overflow=n,document.body.style.overflow=a):r.value&&(s.visible?r.value.parentElement.style.overflow="hidden":r.value.parentElement.style.overflow="")},{immediate:!0}),t({}),(i,l)=>s.visible?(L(),B("div",{key:0,class:"overlay",ref_key:"overlayRef",ref:r,style:A([`background-color: ${s.color}`,`position: ${s.isGlobal?"fixed":"absolute"}`,"z-index: 9000","display: block","width: 100%","height: 100%","inset: 0","overflow: hidden"])},[Ct(i.$slots,"default")],4)):$t("",!0)}}),k1=E("div",null,null,-1),mo=K({customOptions:{Overlay:Us,Container:wt},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},isGlobal:{type:Boolean,default:!0},overlayBgColor:{},popValue:{},popPercent:{default:50},popBgColor:{default:"rgba(255,255,255,0)"}},emits:["open","close","resize","clickOverlay"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=new Ie({frameDuration:s.dur}),a=Zt({backgroundColor:s.popBgColor,position:"absolute",overflow:"hidden",opacity:"1"}),i=R("full");Et(()=>[s.directionFrom,s.popValue],()=>{n.clear();const b=s.popValue?s.popValue:s.popPercent,_=s.popValue?"px":"%";switch(s.directionFrom){case"left":a.height="100%",a.width=`${b}${_}`,a.top="0",a.bottom="0",delete a.right,n.addTween({left:b},{left:0},{easeFunction:ht.Quadratic.Out,onUpdate(v){a.left=`-${v.left}${_}`},onComplete:u});break;case"right":a.height="100%",a.width=`${b}${_}`,a.top="0",a.bottom="0",delete a.left,n.addTween({right:b},{right:0},{easeFunction:ht.Quadratic.Out,onUpdate(v){a.right=`-${v.right}${_}`},onComplete:u});break;case"top":a.width="100%",a.height=`${b}${_}`,a.left="0",a.right="0",delete a.bottom,n.addTween({top:b},{top:0},{easeFunction:ht.Quadratic.Out,onUpdate(v){a.top=`-${v.top}${_}`},onComplete:u});break;case"bottom":a.width="100%",a.height=`${b}${_}`,a.left="0",a.right="0",delete a.top,n.addTween({bottom:b},{bottom:0},{easeFunction:ht.Quadratic.Out,onUpdate(v){a.bottom=`-${v.bottom}${_}`},onComplete:u});break;case"center":delete a.width,delete a.height,a.left="50%",delete a.right,a.top="50%",delete a.bottom,n.addTween({scale:.8,opacity:0},{scale:1,opacity:1},{easeFunction:ht.Quadratic.Out,onUpdate(v){a.transform=`translate(-50%, -50%) scale(${v.scale})`,a.opacity=`${v.opacity}`},onComplete:u});break;case"absolute":a.width=s.absoluteWidth,a.height=s.absoluteHeight,a.left=s.absoluteLeft,a.top=s.absoluteTop,delete a.right,delete a.bottom;break}switch(s.directionFrom){case"center":i.value="shrink",a.transform="translate(-50%, -50%)";break;case"absolute":i.value="shrink",delete a.transform,delete a.opacity;break;default:i.value="full",delete a.transform,delete a.opacity;break}},{immediate:!0}),Et(()=>s.absoluteLeft,()=>{switch(s.directionFrom){case"absolute":a.left=s.absoluteLeft;break}}),Et(()=>s.absoluteTop,()=>{switch(s.directionFrom){case"absolute":a.top=s.absoluteTop;break}}),Et(()=>s.absoluteWidth,()=>{switch(s.directionFrom){case"absolute":a.width=s.absoluteWidth;break}}),Et(()=>s.absoluteHeight,()=>{switch(s.directionFrom){case"absolute":a.height=s.absoluteHeight;break}});const l=(b,_,v)=>{r("resize",b,_,v)};let c="open";function u(){c=="open"?r("open"):(d.value=!1,r("close"))}const d=R(!1);function f(){d.value=!0,c="open",n.play()}function p(){switch(c="close",s.directionFrom){case"absolute":u();break;default:n.reverse();break}}function h(b){const _=s.directionFrom=="absolute"&&s.absoluteWidth=="100%"&&s.absoluteHeight=="100%"?"pop-content":"pop";b.target&&et.hasClass(b.target,_)&&(s.closeWhenClickOverlay&&p(),r("clickOverlay"))}return t({open:f,close:p}),(b,_)=>(L(),Mt(Us,{visible:d.value,isGlobal:s.isGlobal,color:s.overlayBgColor},{default:_t(()=>[E("div",{class:"pop",style:{display:"block",position:"relative",width:"100%",height:"100%",overflow:"hidden"},onClick:h},[ct(wt,{class:"pop-content",type:i.value,style:A(a),onResize:l},{default:_t(()=>[Ct(b.$slots,"default",{},()=>[k1])]),_:3},8,["type","style"])])]),_:3},8,["visible","isGlobal","color"]))}}),C1=E("div",{style:{"background-color":"#ffffff"}},"...",-1),Ui=K({customOptions:{Pop:be,Button:oe,Container:wt},inheritAttrs:!0,__name:"Popover.ce",props:{gap:{default:10},isGlobal:{type:Boolean,default:!0},closeWhenClickOverlay:{type:Boolean,default:!0}},setup(o,{expose:t}){const e=o,s=R();function r(){s.value.open()}function n(){s.value.close()}const a=R(),i=R(0),l=R(0),c=R(0),u=R(0),d=(f,p)=>{if(c.value=f,u.value=p,!a.value)return;const h=Ro(),b=a.value.getBoundingClientRect();i.value=Math.max(e.gap,Math.min(b.x+b.width+e.gap,h.width-f-e.gap)),l.value=Math.max(e.gap,Math.min(b.y,h.height-p-e.gap))};return t({open:r,close:n}),(f,p)=>(L(),B(Xt,null,[E("div",{ref_key:"popoverButtonRef",ref:a,class:"popover-button",style:{display:"inline-block"},onClick:r},[Ct(f.$slots,"button",{},()=>[ct(oe,null,{default:_t(()=>[jt("popover")]),_:1})])],512),ct(be,{ref_key:"popRef",ref:s,"direction-from":"absolute",isGlobal:e.isGlobal,closeWhenClickOverlay:e.closeWhenClickOverlay},{default:_t(()=>[E("div",{style:A({position:"absolute",left:i.value+"px",top:l.value+"px",width:c.value+"px",height:u.value+"px"})},[ct(wt,{type:"shrink",onResize:d},{default:_t(()=>[Ct(f.$slots,"panel",{},()=>[C1])]),_:3})],4)]),_:3},8,["isGlobal","closeWhenClickOverlay"])],64))}}),T1={class:"dialog-parent"},S1={key:0,class:"title"},E1={key:0,class:"title-inner truncate"},P1={class:"custom-content"},O1={class:"custom-content-default"},I1={key:1,class:"btns"},zn=lt(K({customOptions:{Overlay:Us,Pop:be,Icon:fs,Button:oe},inheritAttrs:!0,__name:"Dialog.ce",props:{closeWhenClickOverlay:{type:Boolean,default:!1},dur:{default:200},minWidth:{default:"12em"},maxWidth:{default:"20em"},overlayBgColor:{}},emits:["open","close","cancel","confirm"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(),a=R(""),i=R(""),l=R(!1),c=R(""),u=R("");let d,f,p;const h=()=>{r("open")},b=()=>{d?.(),r("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||"",d=m?.onClose,f=m?.onCancel,p=m?.onConfirm,n.value.open()}function v(){n.value.close()}function w(){v(),f?.(),r("cancel")}function g(){v(),p?.(),r("confirm")}return t({open:_,close:v}),(m,k)=>(L(),Mt(be,{ref_key:"popRef",ref:n,directionFrom:"center",closeWhenClickOverlay:s.closeWhenClickOverlay,dur:s.dur,overlayBgColor:s.overlayBgColor,onOpen:h,onClose:b},{default:_t(()=>[E("div",T1,[E("div",{class:"dialog",style:A({minWidth:s.minWidth,maxWidth:s.maxWidth})},[a.value||l.value?(L(),B("div",S1,[a.value?(L(),B("div",E1,bt(a.value),1)):$t("",!0),l.value?(L(),B("div",{key:1,class:"close",onClick:v},[ct(fs,{icon:"ic:baseline-close",color:Ot(vt).colorGrayCC},null,8,["color"])])):$t("",!0)])):$t("",!0),E("div",P1,[Ct(m.$slots,"default",{},()=>[E("div",O1,bt(i.value),1)],!0)]),c.value||u.value?(L(),B("div",I1,[c.value?(L(),Mt(oe,{key:0,onClick:w,class:"btn",bgColor:Ot(vt).colorGrayE6,borderColor:Ot(vt).colorGrayE6,fontColor:Ot(vt).colorGray33,borderRadius:"0"},{default:_t(()=>[jt(bt(c.value),1)]),_:1},8,["bgColor","borderColor","fontColor"])):$t("",!0),u.value?(L(),Mt(oe,{key:1,onClick:g,class:"btn",borderRadius:"0"},{default:_t(()=>[jt(bt(u.value),1)]),_:1})):$t("",!0)])):$t("",!0)],4)])]),_:3},8,["closeWhenClickOverlay","dur","overlayBgColor"]))}}),[["styles",[`.dialog-parent[data-v-061fc404]{display:flex;justify-content:center;align-items:center}.dialog[data-v-061fc404]{border-radius:8px;background-color:#fff;overflow:hidden}.title[data-v-061fc404]{position:relative;font-size:20px;min-height:20px;margin-top:1em}.title-inner[data-v-061fc404]{font-weight:700;min-height:20px;padding:0 2em;text-align:center}.close[data-v-061fc404]{position:absolute;top:0;right:0;width:2em;height:100%;font-size:1.2em;text-align:center}.custom-content[data-v-061fc404]{font-size:16px;word-break:break-all}.custom-content-default[data-v-061fc404]{padding:1em}.btns[data-v-061fc404]{display:flex;justify-content:center}.btn[data-v-061fc404]{flex:1 1 auto;border-radius:0}
109
+ `]],["__scopeId","data-v-061fc404"]]),R1={class:"dialog-parent"},F1={key:0,class:"title"},$1={key:0,class:"title-inner truncate"},D1={class:"custom-content"},L1={class:"custom-content-default"},M1={key:1,class:"btns"},A1=K({customOptions:{Overlay:Us,Pop:be,Icon:fs,Button:oe},inheritAttrs:!0,__name:"Dialog",props:{closeWhenClickOverlay:{type:Boolean,default:!1},dur:{default:200},minWidth:{default:"12em"},maxWidth:{default:"20em"},overlayBgColor:{}},emits:["open","close","cancel","confirm"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(),a=R(""),i=R(""),l=R(!1),c=R(""),u=R("");let d,f,p;const h=()=>{r("open")},b=()=>{d?.(),r("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||"",d=m?.onClose,f=m?.onCancel,p=m?.onConfirm,n.value.open()}function v(){n.value.close()}function w(){v(),f?.(),r("cancel")}function g(){v(),p?.(),r("confirm")}return t({open:_,close:v}),(m,k)=>(L(),Mt(be,{ref_key:"popRef",ref:n,directionFrom:"center",closeWhenClickOverlay:s.closeWhenClickOverlay,dur:s.dur,overlayBgColor:s.overlayBgColor,onOpen:h,onClose:b},{default:_t(()=>[E("div",R1,[E("div",{class:"dialog",style:A({minWidth:s.minWidth,maxWidth:s.maxWidth})},[a.value||l.value?(L(),B("div",F1,[a.value?(L(),B("div",$1,bt(a.value),1)):$t("",!0),l.value?(L(),B("div",{key:1,class:"close",onClick:v},[ct(fs,{icon:"ic:baseline-close",color:Ot(vt).colorGrayCC},null,8,["color"])])):$t("",!0)])):$t("",!0),E("div",D1,[Ct(m.$slots,"default",{},()=>[E("div",L1,bt(i.value),1)],!0)]),c.value||u.value?(L(),B("div",M1,[c.value?(L(),Mt(oe,{key:0,onClick:w,class:"btn",bgColor:Ot(vt).colorGrayE6,borderColor:Ot(vt).colorGrayE6,fontColor:Ot(vt).colorGray33,borderRadius:"0"},{default:_t(()=>[jt(bt(c.value),1)]),_:1},8,["bgColor","borderColor","fontColor"])):$t("",!0),u.value?(L(),Mt(oe,{key:1,onClick:g,class:"btn",borderRadius:"0"},{default:_t(()=>[jt(bt(u.value),1)]),_:1})):$t("",!0)])):$t("",!0)],4)])]),_:3},8,["closeWhenClickOverlay","dur","overlayBgColor"]))}}),jx="",Yn=lt(A1,[["__scopeId","data-v-f9df8635"]]),N1={class:"loading-8"},z1={viewBox:"25 25 50 50"},Y1=K({__name:"Loading8",props:{color:{default:vt.colorPrimary}},setup(o){const t=o;return(e,s)=>(L(),B("div",N1,[(L(),B("svg",z1,[E("circle",{cx:"50",cy:"50",r:"20",style:A(["stroke: "+t.color])},null,4)]))]))}}),Hx="",Ld=lt(Y1,[["__scopeId","data-v-e5e3cf4c"]]),V1={class:"loading"},B1={class:"icon"},X1={style:{width:"8em"}},G1={key:0,class:"content"},Md=lt(K({customOptions:{Overlay:Us,Pop:be,Dialog:Yn,Loading8:Ld},inheritAttrs:!0,__name:"DialogLoading.ce",props:{closeWhenClickOverlay:{type:Boolean,default:!1},dur:{default:200}},emits:["open","close"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(),a=R(""),i=()=>{r("open")},l=()=>{r("close")};function c(d){a.value=d||"",n.value.open()}function u(){n.value.close()}return t({open:c,close:u}),(d,f)=>(L(),Mt(Yn,{ref_key:"dialogRef",ref:n,showConfirm:!1,showTitle:!1,closeWhenClickOverlay:s.closeWhenClickOverlay,dur:s.dur,onOpen:i,onClose:l},{default:_t(()=>[E("div",V1,[E("div",B1,[Ct(d.$slots,"default",{},()=>[E("div",X1,[ct(Ld)])],!0)]),a.value?(L(),B("div",G1,bt(a.value),1)):$t("",!0)])]),_:3},8,["closeWhenClickOverlay","dur"]))}}),[["styles",[`.loading[data-v-2227dca8]{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:1em}.icon[data-v-2227dca8]{padding:2em 0;display:flex;justify-content:center;align-items:center}.content[data-v-2227dca8]{font-size:1em;margin-top:-1em;margin-bottom:1em}
110
110
  `]],["__scopeId","data-v-2227dca8"]]),U1={class:"toast"},j1={class:"content"},Ad=lt(K({customOptions:{Overlay:Us,Pop:be,Dialog:Yn},inheritAttrs:!0,__name:"DialogToast.ce",props:{closeWhenClickOverlay:{type:Boolean,default:!1},dur:{default:200}},emits:["open","close"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(),a=R(""),i=()=>{r("open")},l=()=>{r("close")};function c(d,f=1500){a.value=d,n.value.open(),setTimeout(()=>{u()},f)}function u(){n.value.close()}return t({open:c,close:u}),(d,f)=>(L(),Mt(Yn,{ref_key:"dialogRef",ref:n,showConfirm:!1,showTitle:!1,closeWhenClickOverlay:s.closeWhenClickOverlay,dur:s.dur,overlayBgColor:"transparent",minWidth:"10em",onOpen:i,onClose:l},{default:_t(()=>[E("div",U1,[E("div",j1,bt(a.value),1)])]),_:1},8,["closeWhenClickOverlay","dur"]))}}),[["styles",[`.toast[data-v-c02c226c]{display:flex;flex-direction:column;justify-content:center;align-items:center;background-color:#333;color:#ccc;padding:1em}.content[data-v-c02c226c]{font-size:1em}
111
- `]],["__scopeId","data-v-c02c226c"]]),ji=K({customOptions:{Container:wt,CSSAnimation:Mo},inheritAttrs:!0,__name:"Page.ce",props:{effect:{default:"moveFromLeft"},duration:{default:500},easeFunction:{type:Function,default:ht.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["ready","pageOpenStart","pageOpenEnd","pageCloseStart","pageCloseEnd"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(),a=Zt({}),i=()=>{r("ready",C,z)},l=()=>{b()},c=R();let u="rotateRightSideFirst",d=s.effect;function f(tt,I){switch(d){case"static":I();break;default:tt();break}}let p=!1;const h=new Ie,b=()=>{const tt={},I={};h.clear(),h.frameDuration=s.duration,f(()=>{u=d},()=>{h.addTween(tt,I,{delay:s.delay/s.duration,easeFunction:s.easeFunction,onStart:()=>{r(p?"pageCloseStart":"pageOpenStart")},onUpdate:D=>{a.transform="","x"in D&&(a.transform+=` translateX(${D.x}%)`),"y"in D&&(a.transform+=` translateY(${D.y}%)`),"rx"in D&&(a.transform+=` rotateX(${D.rx}deg)`),"ry"in D&&(a.transform+=` rotateY(${D.ry}deg)`),"scale"in D&&(a.transform+=` scale(${D.scale})`),"opacity"in D&&(a.opacity=`${D.opacity}`)},onComplete:()=>{r(p?"pageCloseEnd":"pageOpenEnd")}})})};Et(()=>[s.effect,s.delay,s.duration,s.easeFunction],()=>{d=s.effect,b()},{immediate:!0});const _=()=>{r(p?"pageCloseStart":"pageOpenStart")},v=()=>{r(p?"pageCloseEnd":"pageOpenEnd")},w=()=>{f(()=>{c.value.trigger(u)},()=>{h.play()})},g=()=>{f(()=>{c.value.triggerReverse(u)},()=>{h.reverse()})},m=()=>{a.transform="none",a.opacity="1"};function k(){f(()=>{m()},()=>{c.value?.clear()})}const C=tt=>{tt&&(d=tt,b()),p=!1,k(),n.value.startEffect()},z=tt=>{tt&&(d=tt,b()),p=!0,k(),n.value.endEffect()};return t({open:C,close:z,clear:m,getElement:()=>n.value.getElement()}),(tt,I)=>(L(),Mt(wt,{class:"page",ref_key:"pageRef",ref:n,type:"full",effectTriggerTiming:"manual",style:{overflow:"hidden",width:"100%",height:"100%"},onReady:i,onResize:l,onStart:w,onEnd:g},{default:_t(()=>[ct(Mo,{ref_key:"cssAnimationRef",ref:c,containerType:"full",effectTriggerTiming:"manual",duration:s.duration,delay:s.delay,timingFunction:s.timingFunction,onCssanimationstart:_,onCssanimationend:v},{default:_t(()=>[E("div",{class:"page-inner",style:A({position:"relative",display:"block",width:"100%",height:"100%",overflow:"scroll",backfaceVisibility:"hidden",transformStyle:"preserve-3d",...a})},[Tt(tt.$slots,"default")],4)]),_:3},8,["duration","delay","timingFunction"])]),_:3},512))}}),Hi=K({customOptions:{Page:An,Container:wt},inheritAttrs:!0,__name:"Routes.ce",props:{effect:{default:"moveToLeft"},duration:{default:500},easeFunction:{type:Function,default:ht.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["routeChangeStart","routeChangeEnd","renderComplete"],setup(o,{expose:t,emit:e}){const s=o,r=e;let n=-1,a=-1,i;const l=[];let c=[],u=[],d=[];function f(V){return V>=0&&V<c.length}function p(){return a>n}function h(V,P,Bt){switch(V){case n:return p()?P:Bt;case a:return p()?Bt:P;default:return"static"}}function b(V,P){switch(V){case"moveToLeft":return h(P,"moveToLeft","moveFromRight");case"moveToRight":return h(P,"moveToRight","moveFromLeft");case"moveToTop":return h(P,"moveToTop","moveFromBottom");case"moveToBottom":return h(P,"moveToBottom","moveFromTop");case"moveFromLeftPrevFade":return h(P,"fade","moveFromLeft");case"moveFromRightPrevFade":return h(P,"fade","moveFromRight");case"moveFromTopPrevFade":return h(P,"fade","moveFromTop");case"moveFromBottomPrevFade":return h(P,"fade","moveFromBottom");case"moveToLeftFade":return h(P,"moveToLeftFade","moveFromRightFade");case"moveToRightFade":return h(P,"moveToRightFade","moveFromLeftFade");case"moveToTopFade":return h(P,"moveToTopFade","moveFromBottomFade");case"moveToBottomFade":return h(P,"moveToBottomFade","moveFromTopFade");case"moveToLeftEasing":return h(P,"moveToLeft","moveFromRight");case"moveToRightEasing":return h(P,"moveToRight","moveFromLeft");case"moveToTopEasing":return h(P,"moveToTop","moveFromBottom");case"moveToBottomEasing":return h(P,"moveToBottom","moveFromTop");case"moveFromLeftPrevScaleToSmall":return h(P,"scaleToSmall","moveFromLeft");case"moveFromRightPrevScaleToSmall":return h(P,"scaleToSmall","moveFromRight");case"moveFromTopPrevScaleToSmall":return h(P,"scaleToSmall","moveFromTop");case"moveFromBottomPrevScaleToSmall":return h(P,"scaleToSmall","moveFromBottom");case"scaleSmall":return h(P,"scaleToSmall","scaleFromLarge");case"scaleLarge":return h(P,"scaleToLarge","scaleFromSmall");case"scaleToLargePrevScaleToSmall":return h(P,"scaleToSmallCenter","scaleFromSmallCenter");case"scaleFromSmallPrevMoveToLeft":return h(P,"moveToLeft","scaleFromSmall");case"scaleFromSmallPrevMoveToRight":return h(P,"moveToRight","scaleFromSmall");case"scaleFromSmallPrevMoveToTop":return h(P,"moveToTop","scaleFromSmall");case"scaleFromSmallPrevMoveToBottom":return h(P,"moveToBottom","scaleFromSmall");case"glueToLeft":return h(P,"rotateRightSideFirst","moveFromRight");case"glueToRight":return h(P,"rotateLeftSideFirst","moveFromLeft");case"glueToTop":return h(P,"rotateBottomSideFirst","moveFromBottom");case"glueToBottom":return h(P,"rotateTopSideFirst","moveFromTop");case"flipToLeft":return h(P,"flipOutLeft","flipInRight");case"flipToRight":return h(P,"flipOutRight","flipInLeft");case"flipToTop":return h(P,"flipOutTop","flipInBottom");case"flipToBottom":return h(P,"flipOutBottom","flipInTop");case"rotateFall":return h(P,"rotateFall","scaleFromSmall");case"newspaper":return h(P,"rotateOutNewspaper","rotateInNewspaper");case"moveFromLeftPrevPush":return h(P,"rotatePushRight","moveFromLeft");case"moveFromRightPrevPush":return h(P,"rotatePushLeft","moveFromRight");case"moveFromTopPrevPush":return h(P,"rotatePushBottom","moveFromTop");case"moveFromBottomPrevPush":return h(P,"rotatePushTop","moveFromBottom");case"pullFromLeftPrevPush":return h(P,"rotatePushRight","rotatePullLeft");case"pullFromRightPrevPush":return h(P,"rotatePushLeft","rotatePullRight");case"pullFromTopPrevPush":return h(P,"rotatePushBottom","rotatePullTop");case"pullFromBottomPrevPush":return h(P,"rotatePushTop","rotatePullBottom");case"moveFromLeftFadePrevFold":return h(P,"rotateFoldRight","moveFromLeftFade");case"moveFromRightFadePrevFold":return h(P,"rotateFoldLeft","moveFromRightFade");case"moveFromTopFadePrevFold":return h(P,"rotateFoldBottom","moveFromTopFade");case"moveFromBottomFadePrevFold":return h(P,"rotateFoldTop","moveFromBottomFade");case"moveToLeftFadePrevUnfold":return h(P,"moveToLeftFade","rotateUnfoldRight");case"moveToRightFadePrevUnfold":return h(P,"moveToRightFade","rotateUnfoldLeft");case"moveToTopFadePrevUnfold":return h(P,"moveToTopFade","rotateUnfoldBottom");case"moveToBottomFadePrevUnfold":return h(P,"moveToBottomFade","rotateUnfoldTop");case"rotateRoomLeftIn":return h(P,"rotateRoomLeftOut","rotateRoomLeftIn");case"rotateRoomRightIn":return h(P,"rotateRoomRightOut","rotateRoomRightIn");case"rotateRoomTopIn":return h(P,"rotateRoomTopOut","rotateRoomTopIn");case"rotateRoomBottomIn":return h(P,"rotateRoomBottomOut","rotateRoomBottomIn");case"rotateCubeLeftIn":return h(P,"rotateCubeLeftOut","rotateCubeLeftIn");case"rotateCubeRightIn":return h(P,"rotateCubeRightOut","rotateCubeRightIn");case"rotateCubeTopIn":return h(P,"rotateCubeTopOut","rotateCubeTopIn");case"rotateCubeBottomIn":return h(P,"rotateCubeBottomOut","rotateCubeBottomIn");case"rotateCarouselLeftIn":return h(P,"rotateCarouselLeftOut","rotateCarouselLeftIn");case"rotateCarouselRightIn":return h(P,"rotateCarouselRightOut","rotateCarouselRightIn");case"rotateCarouselTopIn":return h(P,"rotateCarouselTopOut","rotateCarouselTopIn");case"rotateCarouselBottomIn":return h(P,"rotateCarouselBottomOut","rotateCarouselBottomIn");case"rotateSidesIn":return h(P,"rotateSidesOut","rotateSidesIn");case"rotateSlideIn":return h(P,"rotateSlideOut","rotateSlideIn")}}function _(V,P=600,Bt=600){switch(V){case n:return P;case a:return Bt;default:return s.duration}}function v(V,P){switch(V){case"moveFromLeftFadePrevFold":case"moveFromRightFadePrevFold":case"moveFromTopFadePrevFold":case"moveFromBottomFadePrevFold":return _(P,700,700);case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":case"moveFromLeftPrevScaleToSmall":case"moveFromRightPrevScaleToSmall":case"moveFromTopPrevScaleToSmall":case"moveFromBottomPrevScaleToSmall":return _(P,700,600);case"scaleSmall":return _(P,700,500);case"scaleLarge":return _(P,500,700);case"scaleToLargePrevScaleToSmall":return _(P,400,400);case"scaleFromSmallPrevMoveToLeft":case"scaleFromSmallPrevMoveToRight":case"scaleFromSmallPrevMoveToTop":case"scaleFromSmallPrevMoveToBottom":return _(P,600,700);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":return _(P,800,600);default:return s.duration}}let w=s.timingFunction;function g(V){switch(V){default:return s.easeFunction}}function m(V,P){switch(V){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":switch(P){case n:w=p()?"ease-in-out":"ease";break;case a:default:w=p()?"ease":"ease-in-out"}return g(P);default:return w=s.timingFunction,s.easeFunction}}function k(V,P=300){switch(V){case a:return s.delay+P;default:return s.delay}}function C(V,P){switch(V){case"flipToLeft":case"flipToRight":case"flipToTop":case"flipToBottom":case"newspaper":return k(P,500);case"scaleSmall":case"scaleLarge":return k(P,300);case"scaleToLargePrevScaleToSmall":return k(P,400);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":case"rotateSidesIn":return k(P,200);case"pullFromLeftPrevPush":case"pullFromRightPrevPush":case"pullFromTopPrevPush":case"pullFromBottomPrevPush":return k(P,180);default:return s.delay}}let z=2,tt=2;const I=()=>{z=2,tt=2},D=()=>{z=2,tt=3},M=()=>{z=3,tt=2};function $(V){switch(s.effect){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":M();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":p()?M():D();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":p()?D():M();break;default:I();break}f(n)&&n==V&&(d[n].style.zIndex=`${z}`,d[n].style.visibility="visible"),f(a)&&a==V&&(d[a].style.zIndex=`${tt}`,d[a].style.visibility="visible")}function N(V){D(),V==n&&(d[n].style.zIndex=`${z}`,d[n].style.visibility="hidden"),V==a&&(d[a].style.zIndex=`${tt}`,d[a].style.visibility="visible",l.shift()?.(),r("routeChangeEnd",n,a,c.length),n=a)}const G=R();function rt(V=0,P=!1){if(!G.value)return;let Bt=0;ir(qt("div",{class:"routes-pages",style:{display:"block",width:"100%",height:"100%",overflow:"hidden",position:"relative"}},c.map((Nt,Ct)=>{const Qt=b(s.effect,Ct);return qt("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:n==Ct?"visible":"hidden",zIndex:P?"1":"0"}},Nt.pageKey?{key:Nt.pageKey}:{}),qt(An,{effect:Qt,duration:v(s.effect,Ct),easeFunction:m(s.effect,Ct),timingFunction:w,delay:C(s.effect,Ct),onReady:(Gt,j)=>{u[Ct]={open:Gt,close:j},++Bt==V&&(i?.(),r("renderComplete"))},onPageOpenStart:()=>{$(Ct)},onPageOpenEnd:()=>{N(Ct)},onPageCloseStart:()=>{$(Ct)},onPageCloseEnd:()=>{N(Ct)}},{default:()=>Nt.component instanceof HTMLElement?qt("div",{...Nt.attributes,innerHTML:Nt.component.innerHTML}):qt(Nt.component,Nt.attributes,()=>Nt.child)}))})),G.value),d=G.value.children[0].children}Et(()=>s.effect,()=>{rt()});function Q(V=[]){c=[...V],c.forEach(P=>{P.pageKey=P.pageKey||co()}),i=()=>{n=-1,pt(0)},rt(c.length,!0)}function q(V){V.pageKey=V.pageKey||co(),c.push(V),i=()=>{pt(c.length-1)},rt(1,c.length==1)}function at(){c.length<=1||pt(c.length-2,()=>{c.splice(c.length-1,1),n=c.length-1,rt()})}function U(){pt(n+1)}function H(){pt(n-1)}const yt=new un(1);function pt(V,P){yt.addTask(()=>new Promise(Bt=>{const Nt=()=>{P?.(),Bt()};if(!f(V)){Nt();return}if(a=V,a==n){Nt();return}l.push(Nt),rt(),r("routeChangeStart",n,a,c.length),p()?(f(n)&&u[n].open(),f(a)&&u[a].open()):(f(n)&&u[n].close(),f(a)&&u[a].close())}))}return t({reset:Q,push:q,pop:at,forward:U,back:H,goto:pt,currentPageIndex:()=>n,totalPages:()=>c.length}),(V,P)=>(L(),B("div",{class:"routes",ref_key:"routesRef",ref:G,style:{display:"block",position:"relative",width:"100%",height:"100%","overflow-x":"hidden","overflow-y":"hidden"}},null,512))}}),H1={class:"tabs"},W1=["onClick"],Z1={class:"content"},q1=lt(K({customOptions:{},inheritAttrs:!0,__name:"Tabs.ce",props:{labels:{},pages:{},initIndex:{default:0}},emits:["changedIndex"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(s.initIndex),a=Zt([]),i=R(),l=R(0),c=R(0),u=R(0),d=R([]),f=[],p=mp(),h=p.default&&p.default();h&&(cr(a,h),v(n.value));const b=(g,m)=>{if(g){if(f.push({index:m,el:g}),f.length<a.length)return;d.value=f}};Et([i,d],()=>{_()});function _(){if(i.value&&d.value.length){const g=i.value.getBoundingClientRect(),m=d.value[n.value].el.getBoundingClientRect();l.value=m.x-g.x,c.value=m.y-g.y+m.height-2,u.value=m.width}}function v(g){n.value=g,r("changedIndex",g),_(),w.value.goto(g)}const w=R();return Et(w,()=>{w.value&&w.value.reset(s.pages,()=>{w.value.goto(s.initIndex)})}),t({}),(g,m)=>(L(),B("div",H1,[E("div",{class:"header",ref_key:"headerRef",ref:i},[(L(!0),B(Xt,null,ye(s.labels,(k,C)=>(L(),B("div",{key:k,class:ae(C==n.value?"active":""),onClick:z=>v(C)},[E("div",{ref_for:!0,ref:z=>b(z,C)},bt(k),513)],10,W1))),128)),E("div",{class:"indicator",style:A({top:c.value+"px",left:l.value+"px",width:u.value+"px",height:"2px"})},null,4)],512),E("div",Z1,[ct(Gi,{ref_key:"routesRef",ref:w},null,512)])]))}}),[["styles",[`.tabs[data-v-a49dc86a]{display:flex;flex-direction:column;width:100%;height:100%}.content[data-v-a49dc86a]{flex:1 1 auto}.header[data-v-a49dc86a]{flex:0 0 auto;position:relative;display:flex;font-size:14px;line-height:1;color:#999;box-sizing:border-box}.header .active[data-v-a49dc86a]{color:#5a82f0}.header>div[data-v-a49dc86a]{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-a49dc86a]{box-sizing:border-box;padding:10px 0}.header>div.indicator[data-v-a49dc86a]{display:inline-block;flex:0;position:absolute;background-color:#5a82f0;transition:all ease-out .2s}
111
+ `]],["__scopeId","data-v-c02c226c"]]),ji=K({customOptions:{Container:wt,CSSAnimation:Mo},inheritAttrs:!0,__name:"Page.ce",props:{effect:{default:"moveFromLeft"},duration:{default:500},easeFunction:{type:Function,default:ht.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["ready","pageOpenStart","pageOpenEnd","pageCloseStart","pageCloseEnd"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(),a=Zt({}),i=()=>{r("ready",C,z)},l=()=>{b()},c=R();let u="rotateRightSideFirst",d=s.effect;function f(tt,I){switch(d){case"static":I();break;default:tt();break}}let p=!1;const h=new Ie,b=()=>{const tt={},I={};h.clear(),h.frameDuration=s.duration,f(()=>{u=d},()=>{h.addTween(tt,I,{delay:s.delay/s.duration,easeFunction:s.easeFunction,onStart:()=>{r(p?"pageCloseStart":"pageOpenStart")},onUpdate:D=>{a.transform="","x"in D&&(a.transform+=` translateX(${D.x}%)`),"y"in D&&(a.transform+=` translateY(${D.y}%)`),"rx"in D&&(a.transform+=` rotateX(${D.rx}deg)`),"ry"in D&&(a.transform+=` rotateY(${D.ry}deg)`),"scale"in D&&(a.transform+=` scale(${D.scale})`),"opacity"in D&&(a.opacity=`${D.opacity}`)},onComplete:()=>{r(p?"pageCloseEnd":"pageOpenEnd")}})})};Et(()=>[s.effect,s.delay,s.duration,s.easeFunction],()=>{d=s.effect,b()},{immediate:!0});const _=()=>{r(p?"pageCloseStart":"pageOpenStart")},v=()=>{r(p?"pageCloseEnd":"pageOpenEnd")},w=()=>{f(()=>{c.value.trigger(u)},()=>{h.play()})},g=()=>{f(()=>{c.value.triggerReverse(u)},()=>{h.reverse()})},m=()=>{a.transform="none",a.opacity="1"};function k(){f(()=>{m()},()=>{c.value?.clear()})}const C=tt=>{tt&&(d=tt,b()),p=!1,k(),n.value.startEffect()},z=tt=>{tt&&(d=tt,b()),p=!0,k(),n.value.endEffect()};return t({open:C,close:z,clear:m,getElement:()=>n.value.getElement()}),(tt,I)=>(L(),Mt(wt,{class:"page",ref_key:"pageRef",ref:n,type:"full",effectTriggerTiming:"manual",style:{overflow:"hidden",width:"100%",height:"100%"},onReady:i,onResize:l,onStart:w,onEnd:g},{default:_t(()=>[ct(Mo,{ref_key:"cssAnimationRef",ref:c,containerType:"full",effectTriggerTiming:"manual",duration:s.duration,delay:s.delay,timingFunction:s.timingFunction,onCssanimationstart:_,onCssanimationend:v},{default:_t(()=>[E("div",{class:"page-inner",style:A({position:"relative",display:"block",width:"100%",height:"100%",overflow:"scroll",backfaceVisibility:"hidden",transformStyle:"preserve-3d",...a})},[Ct(tt.$slots,"default")],4)]),_:3},8,["duration","delay","timingFunction"])]),_:3},512))}}),Hi=K({customOptions:{Page:An,Container:wt},inheritAttrs:!0,__name:"Routes.ce",props:{effect:{default:"moveToLeft"},duration:{default:500},easeFunction:{type:Function,default:ht.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["routeChangeStart","routeChangeEnd","renderComplete"],setup(o,{expose:t,emit:e}){const s=o,r=e;let n=-1,a=-1,i;const l=[];let c=[],u=[],d=[];function f(V){return V>=0&&V<c.length}function p(){return a>n}function h(V,P,Bt){switch(V){case n:return p()?P:Bt;case a:return p()?Bt:P;default:return"static"}}function b(V,P){switch(V){case"moveToLeft":return h(P,"moveToLeft","moveFromRight");case"moveToRight":return h(P,"moveToRight","moveFromLeft");case"moveToTop":return h(P,"moveToTop","moveFromBottom");case"moveToBottom":return h(P,"moveToBottom","moveFromTop");case"moveFromLeftPrevFade":return h(P,"fade","moveFromLeft");case"moveFromRightPrevFade":return h(P,"fade","moveFromRight");case"moveFromTopPrevFade":return h(P,"fade","moveFromTop");case"moveFromBottomPrevFade":return h(P,"fade","moveFromBottom");case"moveToLeftFade":return h(P,"moveToLeftFade","moveFromRightFade");case"moveToRightFade":return h(P,"moveToRightFade","moveFromLeftFade");case"moveToTopFade":return h(P,"moveToTopFade","moveFromBottomFade");case"moveToBottomFade":return h(P,"moveToBottomFade","moveFromTopFade");case"moveToLeftEasing":return h(P,"moveToLeft","moveFromRight");case"moveToRightEasing":return h(P,"moveToRight","moveFromLeft");case"moveToTopEasing":return h(P,"moveToTop","moveFromBottom");case"moveToBottomEasing":return h(P,"moveToBottom","moveFromTop");case"moveFromLeftPrevScaleToSmall":return h(P,"scaleToSmall","moveFromLeft");case"moveFromRightPrevScaleToSmall":return h(P,"scaleToSmall","moveFromRight");case"moveFromTopPrevScaleToSmall":return h(P,"scaleToSmall","moveFromTop");case"moveFromBottomPrevScaleToSmall":return h(P,"scaleToSmall","moveFromBottom");case"scaleSmall":return h(P,"scaleToSmall","scaleFromLarge");case"scaleLarge":return h(P,"scaleToLarge","scaleFromSmall");case"scaleToLargePrevScaleToSmall":return h(P,"scaleToSmallCenter","scaleFromSmallCenter");case"scaleFromSmallPrevMoveToLeft":return h(P,"moveToLeft","scaleFromSmall");case"scaleFromSmallPrevMoveToRight":return h(P,"moveToRight","scaleFromSmall");case"scaleFromSmallPrevMoveToTop":return h(P,"moveToTop","scaleFromSmall");case"scaleFromSmallPrevMoveToBottom":return h(P,"moveToBottom","scaleFromSmall");case"glueToLeft":return h(P,"rotateRightSideFirst","moveFromRight");case"glueToRight":return h(P,"rotateLeftSideFirst","moveFromLeft");case"glueToTop":return h(P,"rotateBottomSideFirst","moveFromBottom");case"glueToBottom":return h(P,"rotateTopSideFirst","moveFromTop");case"flipToLeft":return h(P,"flipOutLeft","flipInRight");case"flipToRight":return h(P,"flipOutRight","flipInLeft");case"flipToTop":return h(P,"flipOutTop","flipInBottom");case"flipToBottom":return h(P,"flipOutBottom","flipInTop");case"rotateFall":return h(P,"rotateFall","scaleFromSmall");case"newspaper":return h(P,"rotateOutNewspaper","rotateInNewspaper");case"moveFromLeftPrevPush":return h(P,"rotatePushRight","moveFromLeft");case"moveFromRightPrevPush":return h(P,"rotatePushLeft","moveFromRight");case"moveFromTopPrevPush":return h(P,"rotatePushBottom","moveFromTop");case"moveFromBottomPrevPush":return h(P,"rotatePushTop","moveFromBottom");case"pullFromLeftPrevPush":return h(P,"rotatePushRight","rotatePullLeft");case"pullFromRightPrevPush":return h(P,"rotatePushLeft","rotatePullRight");case"pullFromTopPrevPush":return h(P,"rotatePushBottom","rotatePullTop");case"pullFromBottomPrevPush":return h(P,"rotatePushTop","rotatePullBottom");case"moveFromLeftFadePrevFold":return h(P,"rotateFoldRight","moveFromLeftFade");case"moveFromRightFadePrevFold":return h(P,"rotateFoldLeft","moveFromRightFade");case"moveFromTopFadePrevFold":return h(P,"rotateFoldBottom","moveFromTopFade");case"moveFromBottomFadePrevFold":return h(P,"rotateFoldTop","moveFromBottomFade");case"moveToLeftFadePrevUnfold":return h(P,"moveToLeftFade","rotateUnfoldRight");case"moveToRightFadePrevUnfold":return h(P,"moveToRightFade","rotateUnfoldLeft");case"moveToTopFadePrevUnfold":return h(P,"moveToTopFade","rotateUnfoldBottom");case"moveToBottomFadePrevUnfold":return h(P,"moveToBottomFade","rotateUnfoldTop");case"rotateRoomLeftIn":return h(P,"rotateRoomLeftOut","rotateRoomLeftIn");case"rotateRoomRightIn":return h(P,"rotateRoomRightOut","rotateRoomRightIn");case"rotateRoomTopIn":return h(P,"rotateRoomTopOut","rotateRoomTopIn");case"rotateRoomBottomIn":return h(P,"rotateRoomBottomOut","rotateRoomBottomIn");case"rotateCubeLeftIn":return h(P,"rotateCubeLeftOut","rotateCubeLeftIn");case"rotateCubeRightIn":return h(P,"rotateCubeRightOut","rotateCubeRightIn");case"rotateCubeTopIn":return h(P,"rotateCubeTopOut","rotateCubeTopIn");case"rotateCubeBottomIn":return h(P,"rotateCubeBottomOut","rotateCubeBottomIn");case"rotateCarouselLeftIn":return h(P,"rotateCarouselLeftOut","rotateCarouselLeftIn");case"rotateCarouselRightIn":return h(P,"rotateCarouselRightOut","rotateCarouselRightIn");case"rotateCarouselTopIn":return h(P,"rotateCarouselTopOut","rotateCarouselTopIn");case"rotateCarouselBottomIn":return h(P,"rotateCarouselBottomOut","rotateCarouselBottomIn");case"rotateSidesIn":return h(P,"rotateSidesOut","rotateSidesIn");case"rotateSlideIn":return h(P,"rotateSlideOut","rotateSlideIn")}}function _(V,P=600,Bt=600){switch(V){case n:return P;case a:return Bt;default:return s.duration}}function v(V,P){switch(V){case"moveFromLeftFadePrevFold":case"moveFromRightFadePrevFold":case"moveFromTopFadePrevFold":case"moveFromBottomFadePrevFold":return _(P,700,700);case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":case"moveFromLeftPrevScaleToSmall":case"moveFromRightPrevScaleToSmall":case"moveFromTopPrevScaleToSmall":case"moveFromBottomPrevScaleToSmall":return _(P,700,600);case"scaleSmall":return _(P,700,500);case"scaleLarge":return _(P,500,700);case"scaleToLargePrevScaleToSmall":return _(P,400,400);case"scaleFromSmallPrevMoveToLeft":case"scaleFromSmallPrevMoveToRight":case"scaleFromSmallPrevMoveToTop":case"scaleFromSmallPrevMoveToBottom":return _(P,600,700);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":return _(P,800,600);default:return s.duration}}let w=s.timingFunction;function g(V){switch(V){default:return s.easeFunction}}function m(V,P){switch(V){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":switch(P){case n:w=p()?"ease-in-out":"ease";break;case a:default:w=p()?"ease":"ease-in-out"}return g(P);default:return w=s.timingFunction,s.easeFunction}}function k(V,P=300){switch(V){case a:return s.delay+P;default:return s.delay}}function C(V,P){switch(V){case"flipToLeft":case"flipToRight":case"flipToTop":case"flipToBottom":case"newspaper":return k(P,500);case"scaleSmall":case"scaleLarge":return k(P,300);case"scaleToLargePrevScaleToSmall":return k(P,400);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":case"rotateSidesIn":return k(P,200);case"pullFromLeftPrevPush":case"pullFromRightPrevPush":case"pullFromTopPrevPush":case"pullFromBottomPrevPush":return k(P,180);default:return s.delay}}let z=2,tt=2;const I=()=>{z=2,tt=2},D=()=>{z=2,tt=3},M=()=>{z=3,tt=2};function $(V){switch(s.effect){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":M();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":p()?M():D();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":p()?D():M();break;default:I();break}f(n)&&n==V&&(d[n].style.zIndex=`${z}`,d[n].style.visibility="visible"),f(a)&&a==V&&(d[a].style.zIndex=`${tt}`,d[a].style.visibility="visible")}function N(V){D(),V==n&&(d[n].style.zIndex=`${z}`,d[n].style.visibility="hidden"),V==a&&(d[a].style.zIndex=`${tt}`,d[a].style.visibility="visible",l.shift()?.(),r("routeChangeEnd",n,a,c.length),n=a)}const G=R();function rt(V=0,P=!1){if(!G.value)return;let Bt=0;ir(qt("div",{class:"routes-pages",style:{display:"block",width:"100%",height:"100%",overflow:"hidden",position:"relative"}},c.map((Nt,Tt)=>{const Qt=b(s.effect,Tt);return qt("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:n==Tt?"visible":"hidden",zIndex:P?"1":"0"}},Nt.pageKey?{key:Nt.pageKey}:{}),qt(An,{effect:Qt,duration:v(s.effect,Tt),easeFunction:m(s.effect,Tt),timingFunction:w,delay:C(s.effect,Tt),onReady:(Gt,j)=>{u[Tt]={open:Gt,close:j},++Bt==V&&(i?.(),r("renderComplete"))},onPageOpenStart:()=>{$(Tt)},onPageOpenEnd:()=>{N(Tt)},onPageCloseStart:()=>{$(Tt)},onPageCloseEnd:()=>{N(Tt)}},{default:()=>Nt.component instanceof HTMLElement?qt("div",{...Nt.attributes,innerHTML:Nt.component.innerHTML}):qt(Nt.component,Nt.attributes,()=>Nt.child)}))})),G.value),d=G.value.children[0].children}Et(()=>s.effect,()=>{rt()});function Q(V=[]){c=[...V],c.forEach(P=>{P.pageKey=P.pageKey||co()}),i=()=>{n=-1,pt(0)},rt(c.length,!0)}function q(V){V.pageKey=V.pageKey||co(),c.push(V),i=()=>{pt(c.length-1)},rt(1,c.length==1)}function at(){c.length<=1||pt(c.length-2,()=>{c.splice(c.length-1,1),n=c.length-1,rt()})}function U(){pt(n+1)}function H(){pt(n-1)}const yt=new un(1);function pt(V,P){yt.addTask(()=>new Promise(Bt=>{const Nt=()=>{P?.(),Bt()};if(!f(V)){Nt();return}if(a=V,a==n){Nt();return}l.push(Nt),rt(),r("routeChangeStart",n,a,c.length),p()?(f(n)&&u[n].open(),f(a)&&u[a].open()):(f(n)&&u[n].close(),f(a)&&u[a].close())}))}return t({reset:Q,push:q,pop:at,forward:U,back:H,goto:pt,currentPageIndex:()=>n,totalPages:()=>c.length}),(V,P)=>(L(),B("div",{class:"routes",ref_key:"routesRef",ref:G,style:{display:"block",position:"relative",width:"100%",height:"100%","overflow-x":"hidden","overflow-y":"hidden"}},null,512))}}),H1={class:"tabs"},W1=["onClick"],Z1={class:"content"},q1=lt(K({customOptions:{},inheritAttrs:!0,__name:"Tabs.ce",props:{labels:{},pages:{},initIndex:{default:0}},emits:["changedIndex"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(s.initIndex),a=Zt([]),i=R(),l=R(0),c=R(0),u=R(0),d=R([]),f=[],p=mp(),h=p.default&&p.default();h&&(cr(a,h),v(n.value));const b=(g,m)=>{if(g){if(f.push({index:m,el:g}),f.length<a.length)return;d.value=f}};Et([i,d],()=>{_()});function _(){if(i.value&&d.value.length){const g=i.value.getBoundingClientRect(),m=d.value[n.value].el.getBoundingClientRect();l.value=m.x-g.x,c.value=m.y-g.y+m.height-2,u.value=m.width}}function v(g){n.value=g,r("changedIndex",g),_(),w.value.goto(g)}const w=R();return Et(w,()=>{w.value&&w.value.reset(s.pages,()=>{w.value.goto(s.initIndex)})}),t({}),(g,m)=>(L(),B("div",H1,[E("div",{class:"header",ref_key:"headerRef",ref:i},[(L(!0),B(Xt,null,ye(s.labels,(k,C)=>(L(),B("div",{key:k,class:ae(C==n.value?"active":""),onClick:z=>v(C)},[E("div",{ref_for:!0,ref:z=>b(z,C)},bt(k),513)],10,W1))),128)),E("div",{class:"indicator",style:A({top:c.value+"px",left:l.value+"px",width:u.value+"px",height:"2px"})},null,4)],512),E("div",Z1,[ct(Gi,{ref_key:"routesRef",ref:w},null,512)])]))}}),[["styles",[`.tabs[data-v-a49dc86a]{display:flex;flex-direction:column;width:100%;height:100%}.content[data-v-a49dc86a]{flex:1 1 auto}.header[data-v-a49dc86a]{flex:0 0 auto;position:relative;display:flex;font-size:14px;line-height:1;color:#999;box-sizing:border-box}.header .active[data-v-a49dc86a]{color:#5a82f0}.header>div[data-v-a49dc86a]{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-a49dc86a]{box-sizing:border-box;padding:10px 0}.header>div.indicator[data-v-a49dc86a]{display:inline-block;flex:0;position:absolute;background-color:#5a82f0;transition:all ease-out .2s}
112
112
  `]],["__scopeId","data-v-a49dc86a"]]),K1=["width","height"],Q1=K({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 s=o;let r=()=>{};const n=R();return Et(n,()=>{if(!n.value)return;const a=new We(n.value),i=new Ni(a,!0);i.ctx.strokeStyle=s.brushColor,i.ctx.lineWidth=s.brushSize,i.drawMouseMoveLine("line"),r=()=>{me.downloadFromSVGString(i.ctx.toRawSVG().raw,s.downloadFileName)}}),t({download:()=>r()}),(a,i)=>(L(),B("canvas",{ref_key:"panelRef",ref:n,width:s.canvasWidth,height:s.canvasHeight,style:A([`border: 1px solid ${a.borderColor}`])},null,12,K1))}}),Wi=lt(K({__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 s=o,r=R(0);function n(a){r.value=Math.min(Math.max(0,a),100)}return t({goto:n}),(a,i)=>(L(),B("div",{class:"bar",style:A({border:`1px solid ${s.borderColor}`,borderRadius:s.borderRadius,backgroundColor:s.bgColor})},[E("div",{class:"bar-inner",style:A({width:r.value+"%",backgroundColor:s.progressColor})},bt(s.showText?r.value+"%":""),5)],4))}}),[["styles",[`.bar[data-v-2492fe8d]{position:relative;overflow:hidden;width:100%;height:100%}.bar-inner[data-v-2492fe8d]{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}
113
113
  `]],["__scopeId","data-v-2492fe8d"]]),J1={class:"page-vertical-scroll-progress-bar"},Nd=lt(K({customOptions:{ProgressBar:Mn},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 s=o,r=e,n=R();return Re.on("scroll",()=>{const a=ig();r("progress",a),n.value?.goto(a)}),te(()=>{}),t({}),(a,i)=>(L(),B("div",J1,[ct(Mn,{ref_key:"bar",ref:n,bgColor:s.bgColor,progressColor:s.progressColor,borderColor:s.borderColor,borderRadius:s.borderRadius,duringTimeGap:s.duringTimeGap,showText:s.showText},null,8,["bgColor","progressColor","borderColor","borderRadius","duringTimeGap","showText"])]))}}),[["styles",[`.page-vertical-scroll-progress-bar[data-v-e6bef5e0]{position:relative;overflow:hidden;width:100%;height:100%}
114
114
  `]],["__scopeId","data-v-e6bef5e0"]]),tv=["fill"],ev=["fill"],sv=K({__name:"SVGCheck",props:{width:{default:"10px"},color:{default:vt.colorPrimary}},setup(o){const t=o;return(e,s)=>(L(),B("svg",{style:A(["width: "+t.width]),viewBox:"0 0 7 5",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[E("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,tv),E("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,ev)],4))}}),r2="",zd=lt(sv,[["__scopeId","data-v-987aed3d"]]),ov=o=>{const t={};if(o.attributes)for(let e=0,s=o.attributes,r=s.length;e<r;e++){const n=s[e];n.nodeName&&n.nodeValue&&(t[n.nodeName]=n.nodeValue)}return t},Zi=o=>(So("data-v-85491020"),o=o(),Eo(),o),rv=[Zi(()=>E("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"},null,-1)),Zi(()=>E("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"},null,-1)),Zi(()=>E("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"},null,-1))],nv=K({__name:"SVGCleanUp",props:{width:{default:"16px"},color:{default:vt.colorPrimary}},setup(o){const t=o;return(e,s)=>(L(),B("svg",{style:A(["width: "+t.width]),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},rv,4))}}),l2="",qi=lt(nv,[["__scopeId","data-v-85491020"]]);function c2(o){return o}document.getElementById("teleport")||document.documentElement;function av(o,t){{const e=document.querySelector("yz-dialog-toast#globalDialogToast");e&&"_instance"in e&&e._instance.exposed.open(o,t)}}function iv(o){{const t=document.querySelector("yz-dialog-loading#globalDialogLoading");return t&&"_instance"in t&&t._instance.exposed.open(o),()=>{t&&"_instance"in t&&t._instance.exposed.close()}}}function lv(o){{const t=document.querySelector("yz-dialog#globalDialog");return t&&"_instance"in t&&t._instance.exposed.open(o),()=>{t&&"_instance"in t&&t._instance.exposed.close()}}}function Ao(o,t="bottom",e){let s;o instanceof HTMLElement?s=qt(be,{directionFrom:t,popBgColor:e?.popBgColor||"#ffffff",absoluteLeft:e?.absoluteLeft,absoluteTop:e?.absoluteTop,absoluteWidth:e?.absoluteWidth,absoluteHeight:e?.absoluteHeight},()=>qt("div",{...ov(o),innerHTML:o.innerHTML})):s=qt(be,{directionFrom:t,popBgColor:e?.popBgColor||"#ffffff",absoluteLeft:e?.absoluteLeft,absoluteTop:e?.absoluteTop,absoluteWidth:e?.absoluteWidth,absoluteHeight:e?.absoluteHeight},()=>o),ir(s,document.getElementById("teleport")||document.documentElement),s.component?.exposed?.open();const r=()=>{s.component?.exposed?.close()};return r.vnode=s,r}function Yd(o,t){return Ao(o,"bottom",t)}function Vd(o,t){return Ao(o,"top",t)}function Bd(o,t){return Ao(o,"left",t)}function Xd(o,t){return Ao(o,"right",t)}function Gd(o,t){return Ao(o,"center",t)}function Ud(o,t){return Ao(o,"absolute",t)}const cv=()=>Yd(qt("div",{style:"padding: 30px;"},qt("yz-input",{placeholder:"请输入邮箱",validator:Io}))),uv=()=>Vd(qt("div",{style:"padding: 30px;"},qt("yz-input",{placeholder:"请输入邮箱",validator:Io}))),dv=()=>Bd(qt("div",{style:"padding: 30px;"},qt("yz-input",{placeholder:"请输入邮箱",validator:Io}))),hv=()=>Xd(qt("div",{style:"padding: 30px;"},qt("yz-input",{placeholder:"请输入邮箱",validator:Io}))),fv=()=>Gd(qt("div",{style:"width: 200px;height: 200px;padding: 30px;"},qt("yz-input",{placeholder:"请输入邮箱",validator:Io}))),pv=()=>Ud(qt("div",{style:"width: 200px;height: 200px;padding: 30px;"},qt("yz-input",{placeholder:"请输入邮箱",validator:Io})),{absoluteLeft:"50%",absoluteTop:"50%",absoluteWidth:"200px",absoluteHeight:"200px"});let Vn;function jd(o){{const t=document.querySelector("yz-plate-keyboard#globalPlateKeyboard");return t&&"_instance"in t&&(Vn&&t.removeEventListener("plates",Vn),Vn=e=>{"detail"in e&&o?.onPlates?.(e.detail[0])},t.addEventListener("plates",Vn),t.initPlates=o?.initPlates,t.completePlateLength=o?.completePlateLength,t._instance.exposed.open()),()=>{t&&"_instance"in t&&t._instance.exposed.close()}}}const Bn=o=>(So("data-v-8d96d860"),o=o(),Eo(),o),mv=Bn(()=>E("div",{class:"title"},"车牌颜色",-1)),gv={class:"plate-types"},yv=["onClick"],vv=Bn(()=>E("div",{class:"title"},"车牌号码",-1)),bv={class:"plate-numbers"},_v=Bn(()=>E("div",{class:"dot"},"·",-1)),xv=["onClick"],wv=Bn(()=>E("div",{class:"info"},"请输入您真实有效的车牌号,便于正常使用系统功能。",-1)),Hd=lt(K({customOptions:{SVGCheck:zd},__name:"PlateMobile.ce",props:{maxWidth:{default:"750px"}},emits:["clear","complete"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=[{name:"蓝牌",style:"background-color: #0078f0;",completePlateLength:7},{name:"绿牌",style:"background-color: #00f08c;",completePlateLength:8},{name:"黄牌",style:"background-color: #fac800;",completePlateLength:7},{name:"黄绿",style:"background: linear-gradient(90deg, #fac800 51.5%, #00f08c 51.51%);",completePlateLength:8},{name:"黑牌",style:"background-color: #222222;",completePlateLength:7}],a=R(0),i=Zt([]),l=R(-1);function c(){jd({initPlates:i,completePlateLength:n[a.value].completePlateLength,onPlates:f=>{cr(i,f),l.value=i.length,i.length===n[a.value].completePlateLength&&r("complete",n[a.value].name,i.join(""))}})}const u=f=>{a.value=f,l.value<=n[f].completePlateLength&&i.length<n[f].completePlateLength?(l.value=i.length,c(),r("clear")):cr(i,i.slice(0,n[f].completePlateLength)),n[f].completePlateLength===i.length&&r("complete",n[a.value].name,i.join(""))},d=f=>{cr(i,i.slice(0,f)),l.value=Math.min(Math.max(0,l.value),f),c(),r("clear")};return t({}),(f,p)=>(L(),B("div",za(f.$attrs,{class:"plate-mobile",style:{maxWidth:s.maxWidth}}),[mv,E("div",gv,[(L(),B(Xt,null,ye(n,(h,b)=>E("div",{key:b,class:ae(b==a.value?"checked":""),onClick:_=>u(b)},[E("div",{style:A(h.style)},null,4),E("div",null,bt(h.name),1),E("div",null,[ct(zd,{color:"#ffffff",width:"0.14rem"})])],10,yv)),64))]),vv,E("div",bv,[E("div",{onClick:p[0]||(p[0]=h=>d(0)),class:ae(l.value==0?"current":"")},bt(i[0]),3),E("div",{onClick:p[1]||(p[1]=h=>d(1)),class:ae(l.value==1?"current":"")},bt(i[1]),3),_v,(L(!0),B(Xt,null,ye(n[a.value].completePlateLength-2,h=>(L(),B("div",{key:h,class:ae(h+1==l.value?"current":""),onClick:b=>d(h+1)},bt(i[h+1]),11,xv))),128))]),wv],16))}}),[["styles",[`.plate-mobile[data-v-8d96d860]{background-color:#fff;overflow:hidden;border-radius:.16rem;padding-bottom:.3rem;padding-left:.3rem;padding-right:.3rem}.title[data-v-8d96d860]{font-size:16px;line-height:1;color:#333;font-weight:700;text-align:center;margin-top:.4rem;margin-bottom:.2rem}.plate-types[data-v-8d96d860]{display:flex;justify-content:center}.plate-types>div[data-v-8d96d860]{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;width:1.2rem;height:.88rem;border-radius:.08rem;background-color:#f5f5f5;cursor:pointer;overflow:hidden}.plate-types>div>div[data-v-8d96d860]:nth-child(1){width:.28rem;height:.28rem;margin-bottom:.1rem;border-radius:50%;background-color:#0078f0}.plate-types>div:nth-child(2)>div[data-v-8d96d860]:nth-child(1){background-color:#00f08c}.plate-types>div:nth-child(3)>div[data-v-8d96d860]:nth-child(1){background-color:#fac800}.plate-types>div:nth-child(4)>div[data-v-8d96d860]:nth-child(1){background:linear-gradient(90deg,#fac800 51.5%,#00f08c 51.51%)}.plate-types>div:nth-child(5)>div[data-v-8d96d860]:nth-child(1){background-color:#222}.plate-types>div>div[data-v-8d96d860]:nth-child(2){color:#ccc;font-size:14px;line-height:1;font-weight:700}.plate-types>div>div[data-v-8d96d860]:nth-child(3){display:none;position:absolute;right:-.02rem;bottom:-.02rem;width:.32rem;height:.32rem;border-radius:.32rem 0 .08rem;background:#5a82f0}.plate-types>div>div:nth-child(3)>svg[data-v-8d96d860]{position:absolute;top:.12rem;left:.12rem}.plate-types>div+div[data-v-8d96d860]{margin-left:.1rem}.plate-types>div.checked[data-v-8d96d860]{border:1px solid #5a82f0}.plate-types>div.checked>div[data-v-8d96d860]:nth-child(2){color:#333}.plate-types>div.checked>div[data-v-8d96d860]:nth-child(3){display:block}.plate-numbers[data-v-8d96d860]{display:flex;justify-content:center;align-items:center}.plate-numbers>div[data-v-8d96d860]{flex:1;max-width:.8rem;height:.88rem;line-height:.88rem;border-radius:.08rem;font-size:.36rem;color:#333;text-align:center;border:1px solid #cccccc}.plate-numbers>div.current[data-v-8d96d860]{border:1px solid #5a82f0}.plate-numbers>div+div[data-v-8d96d860]{margin-left:.1rem}.plate-numbers>div.dot[data-v-8d96d860]{flex:0;border:0;padding:0 .05rem;color:#ccc;font-size:46px;margin-right:-.1rem;margin-left:0}.info[data-v-8d96d860]{font-size:12px;line-height:16px;font-weight:400;color:#999;text-align:center;padding:0 .1rem;margin-top:.4rem}
115
115
  `]],["__scopeId","data-v-8d96d860"]]),kv=["data-number"],Cv=["data-number","data-unactive"],Tv=["data-number"],Sv=["data-number","data-unactive"],Ki=lt(K({customOptions:{Pop:be,SVGCleanUp:qi,Container:wt},__name:"PlateKeyboard.ce",props:{initPlates:{default:()=>[]},completePlateLength:{default:7}},emits:["open","close","plates"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(),a=R(0),i=Zt([]);function l(){i.length==0?a.value=0:i.length==1?a.value=1:a.value=2,i.length>=s.completePlateLength&&f()}Et(()=>[...s.initPlates],()=>{cr(i,s.initPlates),l()},{immediate:!0});const c=R(0),u=(g,m)=>{c.value=m},d=()=>{n.value.open(),r("open")},f=()=>{n.value.close(),r("close")},p=()=>{i.pop(),l(),r("plates",i)},h=g=>{if(g.target.dataset.unactive||"")return;let k=g.target.dataset.number;k&&(i.push(k),l(),r("plates",i))};t({open:d,close:f});const b=["京","沪","津","渝","黑","吉","辽","蒙","冀","新","甘","青","陕","宁","豫","鲁","晋","皖","鄂","湘","苏","川","云","桂","藏","浙","赣","粤","闽","琼","贵"],_=["1","2","3","4","5","6","7","8","9","0"],v=["A","B","C","D","E","F","G","H","J","K","L","M","N","P","Q","R","S","T","U","V","W","X","Y","Z"],w=["港","澳","学","警","使","领","挂","应","急"];return(g,m)=>(L(),Mt(be,{ref_key:"popRef",ref:n,directionFrom:"bottom",isGlobal:!0,closeWhenClickOverlay:!1,popValue:c.value},{default:_t(()=>[ct(wt,{class:"popup-plate",style:A({paddingBottom:Ot(vt).safeAreaBottom}),onResize:u},{default:_t(()=>[E("div",null,[E("div",{onClick:f},"关闭")]),E("div",{class:ae(["step",a.value==0?"":"hide"])},[(L(),B(Xt,null,ye(b,k=>E("div",{key:k,class:"popitem",onClick:h,"data-number":k},bt(k),9,kv)),64)),E("div",{class:"popitem popitem-clear",onClick:p},[ct(qi,{width:"16px"})])],2),E("div",{class:ae(["step",a.value!=0?"":"hide"])},[(L(),B(Xt,null,ye(_,k=>E("div",{key:k,class:ae(["popitem",a.value!=2?"unactive":""]),onClick:h,"data-number":k,"data-unactive":a.value!=2?"unactive":""},bt(k),11,Cv)),64)),(L(),B(Xt,null,ye(v,k=>E("div",{key:k,class:"popitem",onClick:h,"data-number":k},bt(k),9,Tv)),64)),(L(),B(Xt,null,ye(w,k=>E("div",{key:k,class:ae(["popitem",a.value!=2?"unactive":""]),onClick:h,"data-number":k,"data-unactive":a.value!=2?"unactive":""},bt(k),11,Sv)),64)),E("div",{class:"popitem popitem-clear",onClick:p},[ct(qi,{width:"16px"})])],2)]),_:1},8,["style"])]),_:1},8,["popValue"]))}}),[["styles",[`.popup-plate[data-v-205c59a9]{box-sizing:border-box;width:100%;background-color:#ddd}.hide[data-v-205c59a9]{display:none!important}.popup-plate>div[data-v-205c59a9]: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-205c59a9]{flex:0 0 auto;padding:0 .3rem;color:#5a82f0;font-size:16px;line-height:2.6;cursor:pointer}.popup-plate>.step[data-v-205c59a9]{display:flex;flex-wrap:wrap;justify-content:center;padding:.2rem .2rem .1rem}.popup-plate>.step>.popitem[data-v-205c59a9]{flex:0 0 auto;width:1rem;padding:.2rem 0;border:1px solid #e6e6e6;border-radius:.08rem;margin-right:.1rem;margin-bottom:.1rem;font-size:16px;line-height:1;text-align:center;background-color:#fff;cursor:pointer}.popup-plate>.step>.popitem[data-v-205c59a9]:not(.unactive):active{background-color:#eee}.popup-plate>.step>.popitem.unactive[data-v-205c59a9]{color:#ccc}.popup-plate>.step>.popitem.popitem-clear[data-v-205c59a9]{background-color:#eee;display:flex;justify-content:center;align-items:center}
116
116
  `]],["__scopeId","data-v-205c59a9"]]),Ev={class:"parent"},Pv=lt(K({customOptions:{},inheritAttrs:!0,__name:"PlateDisplay.ce",props:{plate:{},plateType:{},displayType:{default:"chinese"},fontColor:{},fontSize:{}},setup(o,{expose:t,emit:e}){const s=o,r=[{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: #cccccc; color: #ffffff;"}];function n(d){return d.length>2?d.substring(0,2)+"·"+d.substring(2):d}function a(d){const f=r.filter(p=>p.name===d);return f.length?f[0]:a("未知")}const i=n(s.plate),l=R(a(s.plateType));let c=s.fontColor,u=s.fontSize;switch(s.displayType){case"dot":c=c??"#999999",u=u??"14px";break;case"chinese":c=c??"#333333",u=u??"20px";break}return t({}),(d,f)=>(L(),B("div",Ev,[E("div",{class:ae(["leading",s.displayType]),style:A(l.value.style)},bt(l.value.name),7),E("div",{class:"text",style:A({color:Ot(c),"font-size":Ot(u)})},bt(Ot(i)),5)]))}}),[["styles",[`.parent[data-v-5a5145f8]{display:inline-flex;justify-content:center;align-items:center}.leading[data-v-5a5145f8]{box-sizing:border-box;font-size:12px;line-height:1;border-radius:2px}.leading.chinese[data-v-5a5145f8]{padding:4px}.leading.dot[data-v-5a5145f8]{font-size:0;width:14px;height:14px;border-radius:50%}.text[data-v-5a5145f8]{margin-left:5px;margin-right:5px;line-height:1}
117
- `]],["__scopeId","data-v-5a5145f8"]]),Ov=E("div",{style:{"background-color":"#ffffff"}},"...",-1),Wd=K({customOptions:{Pop:be,Button:oe,Container:wt},inheritAttrs:!0,__name:"Popover",props:{gap:{default:10},isGlobal:{type:Boolean,default:!0},closeWhenClickOverlay:{type:Boolean,default:!0}},setup(o,{expose:t}){const e=o,s=R();function r(){s.value.open()}function n(){s.value.close()}const a=R(),i=R(0),l=R(0),c=R(0),u=R(0),d=(f,p)=>{if(c.value=f,u.value=p,!a.value)return;const h=Ro(),b=a.value.getBoundingClientRect();i.value=Math.max(e.gap,Math.min(b.x+b.width+e.gap,h.width-f-e.gap)),l.value=Math.max(e.gap,Math.min(b.y,h.height-p-e.gap))};return t({open:r,close:n}),(f,p)=>(L(),B(Xt,null,[E("div",{ref_key:"popoverButtonRef",ref:a,class:"popover-button",style:{display:"inline-block"},onClick:r},[Tt(f.$slots,"button",{},()=>[ct(oe,null,{default:_t(()=>[jt("popover")]),_:1})])],512),ct(be,{ref_key:"popRef",ref:s,"direction-from":"absolute",isGlobal:e.isGlobal,closeWhenClickOverlay:e.closeWhenClickOverlay},{default:_t(()=>[E("div",{style:A({position:"absolute",left:i.value+"px",top:l.value+"px",width:c.value+"px",height:u.value+"px"})},[ct(wt,{type:"shrink",onResize:d},{default:_t(()=>[Tt(f.$slots,"panel",{},()=>[Ov])]),_:3})],4)]),_:3},8,["isGlobal","closeWhenClickOverlay"])],64))}}),Iv={class:"selector",style:{position:"relative",width:"124px",height:"106px",padding:"3px","background-color":"#222222","box-sizing":"border-box"}},Rv=E("div",{style:{width:"100%",height:"100%",background:`linear-gradient(
117
+ `]],["__scopeId","data-v-5a5145f8"]]),Ov=E("div",{style:{"background-color":"#ffffff"}},"...",-1),Wd=K({customOptions:{Pop:be,Button:oe,Container:wt},inheritAttrs:!0,__name:"Popover",props:{gap:{default:10},isGlobal:{type:Boolean,default:!0},closeWhenClickOverlay:{type:Boolean,default:!0}},setup(o,{expose:t}){const e=o,s=R();function r(){s.value.open()}function n(){s.value.close()}const a=R(),i=R(0),l=R(0),c=R(0),u=R(0),d=(f,p)=>{if(c.value=f,u.value=p,!a.value)return;const h=Ro(),b=a.value.getBoundingClientRect();i.value=Math.max(e.gap,Math.min(b.x+b.width+e.gap,h.width-f-e.gap)),l.value=Math.max(e.gap,Math.min(b.y,h.height-p-e.gap))};return t({open:r,close:n}),(f,p)=>(L(),B(Xt,null,[E("div",{ref_key:"popoverButtonRef",ref:a,class:"popover-button",style:{display:"inline-block"},onClick:r},[Ct(f.$slots,"button",{},()=>[ct(oe,null,{default:_t(()=>[jt("popover")]),_:1})])],512),ct(be,{ref_key:"popRef",ref:s,"direction-from":"absolute",isGlobal:e.isGlobal,closeWhenClickOverlay:e.closeWhenClickOverlay},{default:_t(()=>[E("div",{style:A({position:"absolute",left:i.value+"px",top:l.value+"px",width:c.value+"px",height:u.value+"px"})},[ct(wt,{type:"shrink",onResize:d},{default:_t(()=>[Ct(f.$slots,"panel",{},()=>[Ov])]),_:3})],4)]),_:3},8,["isGlobal","closeWhenClickOverlay"])],64))}}),Iv={class:"selector",style:{position:"relative",width:"124px",height:"106px",padding:"3px","background-color":"#222222","box-sizing":"border-box"}},Rv=E("div",{style:{width:"100%",height:"100%",background:`linear-gradient(
118
118
  to bottom,
119
119
  rgba(0, 0, 0, 0) 0%,
120
120
  rgb(0, 0, 0) 100%
@@ -127,12 +127,12 @@ Component that was made reactive: `,o)),E(o,t,e,s,r,a,n,!0)}function Up(o){retur
127
127
  rgb(0, 255, 0) 67%,
128
128
  rgb(255, 255, 0) 84%,
129
129
  rgb(255, 0, 0) 100%
130
- )`,"box-sizing":"border-box"}},Zd=K({customOptions:{Popover:Wd,Container:wt},__name:"ColorPicker.ce",props:{color:{default:"#5a82f0"}},emits:["change"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(),a=new It(s.color),i=new It(s.color),l=R(a.toString()),c=R(a.opposite(!0).toString()),u=R(i.toString()),d=R(i.opposite(!0).toString()),f=R(i.h),p=R(a.s),h=R(a.v);function b(w){w&&(a.setColor(w),i.setColor(w)),l.value=a.toString(),c.value=a.opposite(!0).toString(),u.value=i.toString(),d.value=i.opposite(!0).toString(),f.value=i.h,p.value=a.s,h.value=a.v}const _=w=>{const g=(m,k)=>{i.h=(1-k.y/w.height)*360,a.h=i.h,b()};w.captureDrag({start:g,move:g})},v=w=>{const g=(m,k)=>{a.s=k.x/w.width,a.v=1-k.y/w.height,b()};w.captureDrag({start:g,move:g,end:()=>{r("change",l.value),n.value.close(),et.copyToClipboard(l.value).then(()=>{})}})};return t({setColor:b}),(w,g)=>(L(),Mt(Wd,{ref_key:"popover",ref:n,closeWhenClickOverlay:!1},{button:_t(()=>[Tt(w.$slots,"default",{},()=>[E("span",{style:A([{display:"inline-block","vertical-align":"middle","font-size":"1em",padding:"0.3em 0.8em","border-radius":"0.3em",cursor:"pointer",outline:"'none'","text-align":"'center'",border:"0"},{backgroundColor:l.value,color:c.value}])},bt(l.value),5)])]),panel:_t(()=>[E("div",Iv,[E("div",{class:"saturation-field",style:A([{position:"relative",width:"100px",height:"100px",display:"inline-block",cursor:"pointer","box-sizing":"border-box"},{background:`linear-gradient(
130
+ )`,"box-sizing":"border-box"}},Zd=K({customOptions:{Popover:Wd,Container:wt},__name:"ColorPicker.ce",props:{color:{default:"#5a82f0"}},emits:["change"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(),a=new It(s.color),i=new It(s.color),l=R(a.toString()),c=R(a.opposite(!0).toString()),u=R(i.toString()),d=R(i.opposite(!0).toString()),f=R(i.h),p=R(a.s),h=R(a.v);function b(w){w&&(a.setColor(w),i.setColor(w)),l.value=a.toString(),c.value=a.opposite(!0).toString(),u.value=i.toString(),d.value=i.opposite(!0).toString(),f.value=i.h,p.value=a.s,h.value=a.v}const _=w=>{const g=(m,k)=>{i.h=(1-k.y/w.height)*360,a.h=i.h,b()};w.captureDrag({start:g,move:g})},v=w=>{const g=(m,k)=>{a.s=k.x/w.width,a.v=1-k.y/w.height,b()};w.captureDrag({start:g,move:g,end:()=>{r("change",l.value),n.value.close(),et.copyToClipboard(l.value).then(()=>{})}})};return t({setColor:b}),(w,g)=>(L(),Mt(Wd,{ref_key:"popover",ref:n,closeWhenClickOverlay:!1},{button:_t(()=>[Ct(w.$slots,"default",{},()=>[E("span",{style:A([{display:"inline-block","vertical-align":"middle","font-size":"1em",padding:"0.3em 0.8em","border-radius":"0.3em",cursor:"pointer",outline:"'none'","text-align":"'center'",border:"0"},{backgroundColor:l.value,color:c.value}])},bt(l.value),5)])]),panel:_t(()=>[E("div",Iv,[E("div",{class:"saturation-field",style:A([{position:"relative",width:"100px",height:"100px",display:"inline-block",cursor:"pointer","box-sizing":"border-box"},{background:`linear-gradient(
131
131
  to right,
132
132
  rgb(255, 255, 255) 0%,
133
133
  ${u.value} 100%
134
134
  )`}])},[ct(wt,{type:"full",onReady:v},{default:_t(()=>[Rv,E("div",{class:"field-knob",style:A([{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:100*p.value-6+"px",top:100*(1-h.value)-6+"px",backgroundColor:l.value,border:`2px solid ${c.value}`}])},null,4)]),_:1})],4),E("div",Fv,[ct(wt,{type:"full",onReady:_},{default:_t(()=>[E("div",{class:"hue-knob",style:A([{position:"absolute",width:"15px",height:"2px","z-index":"1","box-sizing":"border-box"},{marginTop:(1-f.value/360)*100+"px",borderRight:"4px solid "+d.value}])},null,4)]),_:1})])])]),_:3},512))}}),$v=`.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}
135
- `,Dv={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",yi&&this.$el.appendChild(o),o.data="about:blank",yi||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&&(!yi&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}},Lv={class:"resize-observer",tabindex:"-1"};function Mv(o,t,e,s,r,n){return L(),B("div",Lv)}const Av=lt(Dv,[["render",Mv],["styles",[$v]],["__scopeId","data-v-16da9fc4"]]),Nv=lt(K({__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 s=o,r=R(s.mapWidth),n=R(s.mapHeight);let a;const i=R();return Et(i,()=>{i.value&&(a=new We(i.value,!1),a.on("resize",(l,c)=>{r.value=l+"px",n.value=c+"px"}),a.start())}),ao(()=>{et.loadScript(`http://api.tianditu.gov.cn/api?v=4.0&tk=${s.mapKey}`,()=>{new ry(s.mapContainerID,s.mapCenterLng,s.mapCenterLat,s.mapZoom)},l=>{console.log("error",l)})}),te(()=>{a.destroy()}),t({}),(l,c)=>(L(),B("div",za({class:"mapDivWrap",ref_key:"mapWrap",ref:i},l.$attrs),[Tt(l.$slots,"default",{width:r.value,height:n.value},void 0,!0)],16))}}),[["styles",[`.mapDivWrap[data-v-7b13fce1]{position:relative;width:100%;height:100%}
135
+ `,Dv={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",yi&&this.$el.appendChild(o),o.data="about:blank",yi||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&&(!yi&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}},Lv={class:"resize-observer",tabindex:"-1"};function Mv(o,t,e,s,r,n){return L(),B("div",Lv)}const Av=lt(Dv,[["render",Mv],["styles",[$v]],["__scopeId","data-v-16da9fc4"]]),Nv=lt(K({__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 s=o,r=R(s.mapWidth),n=R(s.mapHeight);let a;const i=R();return Et(i,()=>{i.value&&(a=new We(i.value,!1),a.on("resize",(l,c)=>{r.value=l+"px",n.value=c+"px"}),a.start())}),ao(()=>{et.loadScript(`http://api.tianditu.gov.cn/api?v=4.0&tk=${s.mapKey}`,()=>{new ry(s.mapContainerID,s.mapCenterLng,s.mapCenterLat,s.mapZoom)},l=>{console.log("error",l)})}),te(()=>{a.destroy()}),t({}),(l,c)=>(L(),B("div",za({class:"mapDivWrap",ref_key:"mapWrap",ref:i},l.$attrs),[Ct(l.$slots,"default",{width:r.value,height:n.value},void 0,!0)],16))}}),[["styles",[`.mapDivWrap[data-v-7b13fce1]{position:relative;width:100%;height:100%}
136
136
  `]],["__scopeId","data-v-7b13fce1"]]);var vr=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(),s(++o%t.children.length)},!1);function e(u){return t.appendChild(u.dom),u}function s(u){for(var d=0;d<t.children.length;d++)t.children[d].style.display=d===u?"block":"none";o=u}var r=(performance||Date).now(),n=r,a=0,i=e(new vr.Panel("FPS","#0ff","#002")),l=e(new vr.Panel("MS","#0f0","#020"));if(self.performance&&self.performance.memory)var c=e(new vr.Panel("MB","#f08","#201"));return s(0),{REVISION:16,dom:t,addPanel:e,showPanel:s,begin:function(){r=(performance||Date).now()},end:function(){a++;var u=(performance||Date).now();if(l.update(u-r,200),u>n+1e3&&(i.update(a*1e3/(u-n),100),n=u,a=0,c)){var d=performance.memory;c.update(d.usedJSHeapSize/1048576,d.jsHeapSizeLimit/1048576)}return u},update:function(){r=this.end()},domElement:t,setMode:s}};vr.Panel=function(o,t,e){var s=1/0,r=0,n=Math.round,a=n(window.devicePixelRatio||1),i=80*a,l=48*a,c=3*a,u=2*a,d=3*a,f=15*a,p=74*a,h=30*a,b=document.createElement("canvas");b.width=i,b.height=l,b.style.cssText="width:80px;height:48px";var _=b.getContext("2d");return _.font="bold "+9*a+"px Helvetica,Arial,sans-serif",_.textBaseline="top",_.fillStyle=e,_.fillRect(0,0,i,l),_.fillStyle=t,_.fillText(o,c,u),_.fillRect(d,f,p,h),_.fillStyle=e,_.globalAlpha=.9,_.fillRect(d,f,p,h),{dom:b,update:function(v,w){s=Math.min(s,v),r=Math.max(r,v),_.fillStyle=e,_.globalAlpha=1,_.fillRect(0,0,i,f),_.fillStyle=t,_.fillText(n(v)+" "+o+" ("+n(s)+"-"+n(r)+")",c,u),_.drawImage(b,d+a,f,p-a,h,d,f,p-a,h),_.fillRect(d+p-a,f,a,h),_.fillStyle=e,_.globalAlpha=.9,_.fillRect(d+p-a,f,a,n((1-v/w)*h))}}};const zv=Object.assign({customOptions:{},inheritAttrs:!0},{__name:"FPSStats.ce",setup(o,{expose:t}){const e=R();return ao(()=>{const s=new vr;s.domElement.style.margin="1em",e.value.appendChild(s.domElement),ne(()=>(s.update(),!0))}),t({}),(s,r)=>(L(),B("div",{ref_key:"containerRef",ref:e},null,512))}}),Yv={class:"ease-graph"},Qi=lt(K({customOptions:{Button:oe,Canvas:Xe},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 s=o,r=e,n=R();let a;Et(n,()=>{n.value&&n.value.getCanvas().then(u=>{a=u,r("onMounted",s.easeName),a.app.on("showInParent",l)})});let i=!1;const l=()=>{if(!a||i)return;i=!0,r("onStart",s.easeName),a.ctx.fillStyle="rgb(250,250,250)",a.ctx.fillRect(0,0,s.canvasWidth,s.canvasHeight),a.ctx.lineWidth=.5,a.ctx.strokeStyle="rgb(230,230,230)",a.ctx.beginPath(),a.ctx.moveTo(0,s.graphVerticalGap),a.ctx.lineTo(s.canvasWidth,s.graphVerticalGap),a.ctx.moveTo(0,s.canvasHeight-s.graphVerticalGap),a.ctx.lineTo(s.canvasWidth,s.canvasHeight-s.graphVerticalGap),a.ctx.closePath(),a.ctx.stroke(),a.ctx.lineWidth=2,a.ctx.strokeStyle="rgb(255,127,127)";const u={x:s.graphHorizontalGap,y:s.canvasHeight-s.graphVerticalGap},d={x:s.graphHorizontalGap,y:s.canvasHeight-s.graphVerticalGap},f=()=>{a.ctx.beginPath(),a.ctx.moveTo(d.x,d.y),a.ctx.lineTo(u.x,u.y),a.ctx.closePath(),a.ctx.stroke(),d.x=u.x,d.y=u.y},p=new Ie({frameDuration:s.easeDuration});p.addTween(u,{x:s.canvasWidth-s.graphHorizontalGap},{frames:1,delay:0,easeFunction:xt.Easing.Linear.None,onUpdate:h=>{u.x=h.x},onComplete:()=>{}}),p.addTween(u,{y:s.graphVerticalGap},{frames:1,delay:0,easeFunction:s.easeFunction,onUpdate:h=>{u.y=h.y,f()},onComplete:()=>{r("onCompleted",s.easeName),i=!1}}),p.play()},c=()=>{r("onSelected",s.easeName,s.easeFunction)};return te(()=>{a.app.off("showInParent",l)}),t({start:l}),(u,d)=>(L(),B("div",Yv,[E("div",null,"缓动:"+bt(u.easeName),1),E("div",null,[E("div",null,[ct(oe,{stylePattern:"outline",height:"32px",padding:"10px",onClick:l},{default:_t(()=>[jt(" 开始 ")]),_:1})]),E("div",null,[ct(oe,{stylePattern:s.isSelected?"fullfilled":"outline",height:"32px",padding:"10px",onClick:c},{default:_t(()=>[jt(" 选择 ")]),_:1},8,["stylePattern"])])]),E("div",{style:A({width:u.canvasWidth+"px",height:u.canvasHeight+"px"})},[ct(Xe,{ref_key:"canvasRef",ref:n,bgColor:"#ffffff"},null,512)],4)]))}}),[["styles",[`.ease-graph[data-v-00a87d30]{display:inline-block}.ease-graph>div[data-v-00a87d30]:nth-child(1){margin-top:10px;font-size:14px}.ease-graph>div[data-v-00a87d30]:nth-child(2){margin-bottom:10px}.ease-graph>div:nth-child(2)>div[data-v-00a87d30]{display:inline-block}.ease-graph>div:nth-child(2)>div+div[data-v-00a87d30]{margin-left:10px}
137
137
  `]],["__scopeId","data-v-00a87d30"]]),Vv={class:"ease-graph"},Bv=K({customOptions:{Button:oe,Canvas:Xe},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 s=o,r=e,n=R();let a;Et(n,()=>{n.value&&n.value.getCanvas().then(u=>{a=u,r("onMounted",s.easeName),a.app.on("showInParent",l)})});let i=!1;const l=()=>{if(!a||i)return;i=!0,r("onStart",s.easeName),a.ctx.fillStyle="rgb(250,250,250)",a.ctx.fillRect(0,0,s.canvasWidth,s.canvasHeight),a.ctx.lineWidth=.5,a.ctx.strokeStyle="rgb(230,230,230)",a.ctx.beginPath(),a.ctx.moveTo(0,s.graphVerticalGap),a.ctx.lineTo(s.canvasWidth,s.graphVerticalGap),a.ctx.moveTo(0,s.canvasHeight-s.graphVerticalGap),a.ctx.lineTo(s.canvasWidth,s.canvasHeight-s.graphVerticalGap),a.ctx.closePath(),a.ctx.stroke(),a.ctx.lineWidth=2,a.ctx.strokeStyle="rgb(255,127,127)";const u={x:s.graphHorizontalGap,y:s.canvasHeight-s.graphVerticalGap},d={x:s.graphHorizontalGap,y:s.canvasHeight-s.graphVerticalGap},f=()=>{a.ctx.beginPath(),a.ctx.moveTo(d.x,d.y),a.ctx.lineTo(u.x,u.y),a.ctx.closePath(),a.ctx.stroke(),d.x=u.x,d.y=u.y},p=new Ie({frameDuration:s.easeDuration});p.addTween(u,{x:s.canvasWidth-s.graphHorizontalGap},{frames:1,delay:0,easeFunction:xt.Easing.Linear.None,onUpdate:h=>{u.x=h.x},onComplete:()=>{}}),p.addTween(u,{y:s.graphVerticalGap},{frames:1,delay:0,easeFunction:s.easeFunction,onUpdate:h=>{u.y=h.y,f()},onComplete:()=>{r("onCompleted",s.easeName),i=!1}}),p.play()},c=()=>{r("onSelected",s.easeName,s.easeFunction)};return te(()=>{a.app.off("showInParent",l)}),t({start:l}),(u,d)=>(L(),B("div",Vv,[E("div",null,"缓动:"+bt(u.easeName),1),E("div",null,[E("div",null,[ct(oe,{stylePattern:"outline",height:"32px",padding:"10px",onClick:l},{default:_t(()=>[jt(" 开始 ")]),_:1})]),E("div",null,[ct(oe,{stylePattern:s.isSelected?"fullfilled":"outline",height:"32px",padding:"10px",onClick:c},{default:_t(()=>[jt(" 选择 ")]),_:1},8,["stylePattern"])])]),E("div",{style:A({width:u.canvasWidth+"px",height:u.canvasHeight+"px"})},[ct(Xe,{ref_key:"canvasRef",ref:n,bgColor:"#ffffff"},null,512)],4)]))}}),x2="",qd=lt(Bv,[["__scopeId","data-v-e8afe7ba"]]),Xv=2e3,Kd=lt(K({customOptions:{EaseGraphDisplay:qd},inheritAttrs:!0,__name:"EaseGroupGraphDisplay.ce",props:{easeList:{default:()=>[{easeName:"Linear",easeFunction:xt.Easing.Linear.None},{easeName:"gap"},{easeName:"QuadraticIn",easeFunction:xt.Easing.Quadratic.In},{easeName:"QuadraticOut",easeFunction:xt.Easing.Quadratic.Out},{easeName:"QuadraticInOut",easeFunction:xt.Easing.Quadratic.InOut},{easeName:"gap"},{easeName:"CubicIn",easeFunction:xt.Easing.Cubic.In},{easeName:"CubicOut",easeFunction:xt.Easing.Cubic.Out},{easeName:"CubicInOut",easeFunction:xt.Easing.Cubic.InOut},{easeName:"gap"},{easeName:"QuarticIn",easeFunction:xt.Easing.Quartic.In},{easeName:"QuarticOut",easeFunction:xt.Easing.Quartic.Out},{easeName:"QuarticInOut",easeFunction:xt.Easing.Quartic.InOut},{easeName:"gap"},{easeName:"QuinticIn",easeFunction:xt.Easing.Quintic.In},{easeName:"QuinticOut",easeFunction:xt.Easing.Quintic.Out},{easeName:"QuinticInOut",easeFunction:xt.Easing.Quintic.InOut},{easeName:"gap"},{easeName:"SinusoidalIn",easeFunction:xt.Easing.Sinusoidal.In},{easeName:"SinusoidalOut",easeFunction:xt.Easing.Sinusoidal.Out},{easeName:"SinusoidalInOut",easeFunction:xt.Easing.Sinusoidal.InOut},{easeName:"gap"},{easeName:"ExponentialIn",easeFunction:xt.Easing.Exponential.In},{easeName:"ExponentialOut",easeFunction:xt.Easing.Exponential.Out},{easeName:"ExponentialInOut",easeFunction:xt.Easing.Exponential.InOut},{easeName:"gap"},{easeName:"CircularIn",easeFunction:xt.Easing.Circular.In},{easeName:"CircularOut",easeFunction:xt.Easing.Circular.Out},{easeName:"CircularInOut",easeFunction:xt.Easing.Circular.InOut},{easeName:"gap"},{easeName:"ElasticIn",easeFunction:xt.Easing.Elastic.In},{easeName:"ElasticOut",easeFunction:xt.Easing.Elastic.Out},{easeName:"ElasticInOut",easeFunction:xt.Easing.Elastic.InOut},{easeName:"gap"},{easeName:"BackIn",easeFunction:xt.Easing.Back.In},{easeName:"BackOut",easeFunction:xt.Easing.Back.Out},{easeName:"BackInOut",easeFunction:xt.Easing.Back.InOut},{easeName:"gap"},{easeName:"BounceIn",easeFunction:xt.Easing.Bounce.In},{easeName:"BounceOut",easeFunction:xt.Easing.Bounce.Out},{easeName:"BounceInOut",easeFunction:xt.Easing.Bounce.InOut},{easeName:"gap"},{easeName:"generatePow(10)In",easeFunction:xt.Easing.generatePow(10).In},{easeName:"generatePow(10)Out",easeFunction:xt.Easing.generatePow(10).Out},{easeName:"generatePow(10)InOut",easeFunction:xt.Easing.generatePow(10).InOut},{easeName:"gap"},{easeName:"4 steps",easeFunction:xt.Easing.createStep(4)},{easeName:"8 steps",easeFunction:xt.Easing.createStep(8)},{easeName:"12 steps",easeFunction:xt.Easing.createStep(12)},{easeName:"16 steps",easeFunction:xt.Easing.createStep(16)},{easeName:"gap"},{easeName:"Noisy Exponential.InOut",easeFunction:xt.Easing.createNoisyEasing(xt.Easing.Exponential.InOut,.1)},{easeName:"Noisy Elastic.InOut",easeFunction:xt.Easing.createNoisyEasing(xt.Easing.Elastic.InOut,.2)},{easeName:"Noisy Circular.InOut",easeFunction:xt.Easing.createNoisyEasing(xt.Easing.Circular.InOut,.1)},{easeName:"swing",easeFunction:xt.Easing.swing},{easeName:"causeSeizures",easeFunction:xt.Easing.causeSeizures}]}},emits:["selectedEaseFunction"],setup(o,{expose:t,emit:e}){const s=o,r=e,n={};function a(f,p){f&&(n[p]={el:f})}const i=new un(10);function l(f){i.addTask(()=>(n[f].el.start(),new Promise(p=>{n[f].resolve=p})))}function c(f){n[f].resolve?.()}const u=R("Linear");function d(f,p){u.value=f,r("selectedEaseFunction",f,p)}return d("Linear",xt.Easing.Linear.None),t({}),(f,p)=>(L(),B("div",null,[(L(!0),B(Xt,null,ye(s.easeList,h=>(L(),B("div",{key:h.easeName,class:"ease-graph-wrap"},[h.easeFunction?(L(),Mt(qd,{key:0,easeName:h.easeName,easeFunction:h.easeFunction,easeDuration:Xv,isSelected:u.value==h.easeName,onOnMounted:l,onOnCompleted:c,onOnSelected:d,ref_for:!0,ref:b=>a(b,h.easeName)},null,8,["easeName","easeFunction","isSelected"])):$t("",!0)]))),128))]))}}),[["styles",[`.ease-graph-wrap[data-v-b3ce4b26]{display:inline-block;margin-right:10px}.ease-group-gap[data-v-b3ce4b26]{margin:10px}
138
138
  `]],["__scopeId","data-v-b3ce4b26"]]),Gv={class:"interpolation-graph"},Qd=1/6,Jd=5/6,Ji=lt(K({customOptions:{Button:oe,Canvas:Xe},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 s=o,r=e,n=R();let a;Et(n,()=>{n.value&&n.value.getCanvas().then(b=>{a=b,r("onMounted",s.interpolationName),a.app.on("showInParent",h)})});const i=s.canvasWidth*Qd,l=s.canvasHeight/2,c=[s.canvasWidth*Jd,s.canvasWidth/2],u=[s.canvasHeight*Qd,s.canvasHeight*Jd],d=[...c,i],f=[...u,l];let p=!1;const h=()=>{if(!a||p)return;p=!0,r("onStart",s.interpolationName),a.ctx.fillStyle="rgb(250,250,250)",a.ctx.fillRect(0,0,s.canvasWidth,s.canvasHeight),a.ctx.fillStyle="rgb(200,200,200)",a.ctx.fillRect(i-3,l-3,6,6),a.ctx.fillRect(c[c.length-1]-3,u[u.length-1]-3,6,6);for(var b=0;b<c.length;b++)a.ctx.fillRect(c[b]-2,u[b]-2,4,4);const _=new Ie({frameDuration:s.interpolationDuration});_.addTween({x:i,y:l,old:{x:i,y:l}},{x:c,y:u},{frames:1,delay:0,easeFunction:xt.Easing.Linear.None,interpolationFunction:s.interpolationFunction,onUpdate:v=>{a.ctx.lineWidth=2,a.ctx.strokeStyle="rgba(255,127,127,0.9)",a.ctx.beginPath(),a.ctx.moveTo(v.old.x,v.old.y),a.ctx.lineTo(v.x,v.y),a.ctx.closePath(),a.ctx.stroke(),v.old.x=v.x,v.old.y=v.y},onComplete:()=>{}}),_.addTween({x:i,y:l,old:{x:i,y:l}},{x:d,y:f},{frames:1,delay:0,easeFunction:xt.Easing.Linear.None,interpolationFunction:s.interpolationFunction,onUpdate:v=>{a.ctx.lineWidth=2,a.ctx.strokeStyle="rgba(255,127,127,0.5)",a.ctx.beginPath(),a.ctx.moveTo(v.old.x,v.old.y),a.ctx.lineTo(v.x,v.y),a.ctx.closePath(),a.ctx.stroke(),v.old.x=v.x,v.old.y=v.y},onComplete:()=>{r("onCompleted",s.interpolationName),p=!1}}),_.play()};return te(()=>{a.app.off("showInParent",h)}),t({start:h}),(b,_)=>(L(),B("div",Gv,[E("div",null,[jt(" 插值:"+bt(b.interpolationName)+" ",1),ct(oe,{stylePattern:"outline",height:"32px",onClick:h},{default:_t(()=>[jt(" 开始 ")]),_:1})]),E("div",{style:A({width:b.canvasWidth+"px",height:b.canvasHeight+"px"})},[ct(Xe,{ref_key:"canvasRef",ref:n,bgColor:"#ffffff"},null,512)],4)]))}}),[["styles",[`.interpolation-graph[data-v-82139a83]{display:inline-block}.interpolation-graph>div[data-v-82139a83]:nth-child(1){margin-top:10px;margin-bottom:10px;font-size:14px}
@@ -150,7 +150,7 @@ Component that was made reactive: `,o)),E(o,t,e,s,r,a,n,!0)}function Up(o){retur
150
150
  --input-range-thumb-size: ${s.handleSize};
151
151
  --input-range-track-size: ${s.barHeight};
152
152
  }
153
- `,u=R();return Et(u,()=>{u.value&&et.injectStyle(c,u.value)}),te(()=>{}),t({}),(d,f)=>(L(),B("div",{class:"input-range",ref_key:"inputRangeContainer",ref:u},[E("input",{type:"range",max:s.max,min:s.min,step:s.step,value:n.value,autofocus:s.autofocus,onInput:l,style:A({background:`linear-gradient(to right, ${s.color} 0%, ${s.color} ${i.value}%, ${s.barColor} ${i.value}%, ${s.barColor})`})},null,44,qv),Tt(d.$slots,"default",{value:n.value},()=>[d.showValue?(L(),B("label",Kv,bt(n.value)+bt(s.unit),1)):$t("",!0)],!0)],512))}}),$2="",go=lt(Qv,[["__scopeId","data-v-db15bad2"]]),Jv=K({__name:"SVG",props:{bgColor:{default:"rgba(255,255,255,0)"}},emits:["ready","resize"],setup(o,{expose:t,emit:e}){const s=o,r=e;let n,a,i;const l=R();Et(l,()=>{n||!l.value||(n=new We(l.value,!1),n.on("resize",(u,d)=>{r("resize",u,d),a=new vd(n),i?.(a),r("ready",a)}),n.start())});function c(){return new Promise(u=>{if(a)return u(a);i=u})}return te(()=>{n?.destroy()}),t({getSVGElement:()=>l.value,getSVG:c}),(u,d)=>(L(),B("div",{class:"svg",ref_key:"svgRef",ref:l,style:A({backgroundColor:s.bgColor})},null,4))}}),D2="",rh=lt(Jv,[["__scopeId","data-v-132e642b"]]),tb='<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg"><g fill-rule="evenodd"><path d="M405.614 190.524c17.843 0 32.315-14.472 32.315-32.329s-14.472-32.329-32.315-32.329c-17.87 0-32.342 14.472-32.342 32.33 0 17.856 14.471 32.328 32.342 32.328zm21.479 7.867c-.528-.333-1.11-.569-1.665-.805a37.223 37.223 0 0 0-11.78-5.189l-8.034 8.103-7.811-8.2c-.028 0-.056.014-.084.014-4.135.985-8.2 2.747-11.821 5.133-.639.264-1.277.555-1.901.93-25.1 15.387-39.502 27.57-43.956 98.79-.43 6.924 4.842 12.876 11.738 13.306.278.014.541.028.805.028 6.577 0 12.099-5.12 12.529-11.766 1.512-24.045 3.927-39.627 7.437-50.38v43.47c0 3.386.652 6.535 1.804 9.421-.083.666-.167 1.319-.167 1.998l.028 120.172c0 8.186 6.618 14.832 14.819 14.832 8.2 0 14.832-6.646 14.832-14.832V320.283c.583.028 1.18.07 1.776.07.097 0 .222-.015.333-.015v103.078c0 8.2 6.632 14.832 14.832 14.832 8.2 0 14.833-6.632 14.833-14.832l.014-119.422c1.942-3.608 3.08-7.687 3.08-12.155v-43.11c3.427 10.74 5.827 26.238 7.312 50.02.416 6.646 5.952 11.766 12.515 11.766.25 0 .527 0 .791-.028 6.91-.43 12.168-6.396 11.752-13.306-4.454-71.234-18.87-83.403-43.97-98.79h-.041zm-21.41 66.087h-.152l-7.798-10.67 7.798-52.115h.152l7.798 52.115-7.798 10.67zM63.235 217.927c0 12.682 10.267 22.95 22.963 22.95 12.668 0 22.935-10.282 22.935-22.95s-10.281-22.95-22.935-22.95c-12.696 0-22.963 10.282-22.963 22.95zm38.211 28.527c-.374-.222-.79-.402-1.179-.569a26.82 26.82 0 0 0-8.367-3.69l-5.702 5.757-5.564-5.827c-.014 0-.042.014-.056.014a26.862 26.862 0 0 0-8.394 3.649c-.458.194-.916.388-1.346.652-15.873 9.727-25.724 17.69-29.914 55.056h17.912c.985-8.366 2.276-14.68 3.857-19.564v19.564h46.981v-19.314c1.554 4.843 2.803 11.086 3.774 19.314h17.899c-4.176-37.365-14.028-45.316-29.9-55.056v.014zM86.24 293.379h-.097l-5.536-7.576 5.536-36.99h.097l5.536 36.99-5.536 7.576zm67.432-75.452c0 12.682 10.281 22.95 22.963 22.95 12.668 0 22.935-10.282 22.935-22.95s-10.267-22.95-22.935-22.95c-12.682 0-22.963 10.282-22.963 22.95zm38.212 28.527c-.375-.222-.791-.402-1.18-.569a26.54 26.54 0 0 0-8.366-3.69l-5.703 5.757-5.55-5.827c-.014 0-.042.014-.055.014a26.723 26.723 0 0 0-8.395 3.649c-.458.194-.916.388-1.36.652-15.873 9.727-25.724 17.69-29.914 55.056h17.926c.985-8.366 2.276-14.68 3.858-19.564v19.564h46.98v-19.314c1.554 4.843 2.803 11.086 3.774 19.314h17.9c-4.191-37.365-14.042-45.316-29.915-55.056v.014zm-15.221 46.925h-.111l-5.536-7.576 5.536-36.99h.11l5.537 36.99-5.536 7.576zm-45.607-104.784c42.624 0 77.297-34.673 77.297-77.297C208.353 68.674 173.68 34 131.056 34c-42.624 0-77.298 34.674-77.298 77.298s34.674 77.297 77.298 77.297zm0-134.074c31.316 0 56.776 25.46 56.776 56.777 0 31.316-25.474 56.776-56.776 56.776-31.302 0-56.777-25.46-56.777-56.776 0-31.316 25.475-56.777 56.777-56.777z"/><path d="M170.918 103.084H139.27V69.908h-16.414v49.59h48.063zm30.137 305.277l-8.464-3.121a64.461 64.461 0 0 0-.707-18.732l8.172-3.774c5.106-2.345 7.354-8.422 4.995-13.528l-4.773-10.365c-2.345-5.106-8.408-7.353-13.514-4.995l-8.187 3.774a64.241 64.241 0 0 0-13.763-12.723l3.121-8.464c1.943-5.272-.763-11.155-6.035-13.098l-10.712-3.954c-5.106-1.873-11.21.944-13.098 6.036l-3.122 8.463a65.463 65.463 0 0 0-18.73.708l-3.775-8.186c-2.345-5.106-8.422-7.34-13.528-4.995L88.57 326.18c-5.106 2.358-7.353 8.436-4.995 13.528l3.774 8.172a64.996 64.996 0 0 0-12.723 13.778l-8.45-3.122c-5.106-1.9-11.21.916-13.112 6.022l-3.94 10.712a10.136 10.136 0 0 0 .305 7.797 10.124 10.124 0 0 0 5.73 5.287l8.464 3.135a64.95 64.95 0 0 0 .708 18.732l-8.187 3.774c-5.106 2.344-7.34 8.422-4.995 13.514l4.787 10.378c2.345 5.106 8.409 7.34 13.528 4.981l8.187-3.774a64.336 64.336 0 0 0 13.778 12.724l-3.122 8.464c-.958 2.553-.847 5.314.305 7.797a10.104 10.104 0 0 0 5.716 5.315l10.712 3.954c2.553.943 5.314.832 7.798-.305a10.034 10.034 0 0 0 5.286-5.73l3.136-8.464a64.931 64.931 0 0 0 18.731-.708l3.76 8.186c2.345 5.092 8.422 7.34 13.528 4.981l10.365-4.773c5.12-2.345 7.354-8.408 4.995-13.528l-3.774-8.172a64.24 64.24 0 0 0 12.71-13.778l8.463 3.136c2.567.957 5.328.832 7.812-.306 2.483-1.137 4.343-3.177 5.286-5.716l3.955-10.712c1.956-5.272-.736-11.141-6.022-13.084l-.014-.014zm-56.083 26.64c-5.342 2.456-11.017 3.705-16.858 3.705-15.693 0-30.08-9.213-36.644-23.463-9.296-20.202-.43-44.192 19.758-53.488a39.873 39.873 0 0 1 16.845-3.704c15.692 0 30.08 9.199 36.643 23.448 9.297 20.202.43 44.206-19.744 53.502zm142.635-185.578V76.458h-52.406V87.82h41.043v161.602H235.2v13.986h41.043v176.227H235.2v11.363h52.406V263.41h47.647l-.805-13.986z"/></g></svg>',eb={class:"btns"},sb={class:"btns"},ob={class:"btns sub-btns"},rb={class:"btns sub-btns"},nb={style:{width:"100%"}},ab={style:{width:"100%"}},ib={style:{height:"400px"}},lb={style:{height:"400px"}},cb=K({customOptions:{Button:oe,InputRange:go,SVG:rh,Canvas:Xe},inheritAttrs:!0,__name:"SVGAndCanvas.ce",props:{easeName:{default:"Linear"},easeFunction:{type:Function,default:xt.Easing.Linear.None}},setup(o,{expose:t}){const e=o,s=R();let r=0,n=0;Et(s,()=>{s.value&&s.value.getSVG().then(I=>{r=I.app.width,n=I.app.height,I.app.on("resize",(D,M)=>{r=D,n=M})})});const a=R(),i=R(),l=R(),c=R(""),u=R("");let d;function f(I){switch(u.value=I,c.value){case"AnimateToTweenCSS":z();break}}const p=new Hg({svg:tb,width:300,attrs:{"stroke-width":"1",stroke:"#ff0000",fill:"none"},enableDrag:!0}),h=new ee({d:"M62.9 14.9c-25-7.74-56.6 4.8-60.4 24.3-3.73 19.6 21.6 35 39.6 37.6 42.8 6.2 72.9-53.4 116-58.9 65-18.2 191 101 215 28.8 5-16.7-7-49.1-34-44-34 11.5-31 46.5-14 69.3 9.38 12.6 24.2 20.6 39.8 22.9 91.4 9.05 102-98.9 176-86.7 18.8 3.81 33 17.3 36.7 34.6 2.01 10.2.124 21.1-5.18 30.1"}),b=+h.getTotalLength().toFixed(0),_=R(b),v=R(Math.floor(b/2));function w(I){_.value=I,h.setAttr("strokeDasharray",`${_.value} ${_.value}`)}function g(I){v.value=I,h.setAttr("strokeDashoffset",`${v.value}`)}const m=[{name:"Shape",type:"Shape",onClick:()=>{c.value="Shape",!(!s.value||!a.value)&&(d?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{const M=new Lo({x:0,y:0,width:100,height:20,degree:30,scalar:2,attrs:{stroke:It.random().toString()},enableDrag:!0});I.clear(),d=ne(()=>(D.ctx.clearRect(),I.path([M]),D.draw([M]),!0))})}))}},{name:"Shapes",type:"Shapes",onClick:()=>{if(c.value="Shapes",!s.value||!a.value)return;d?.();const I=new ve({x:100,y:100,toX:100,toY:200,attrs:{stroke:"#666666"},enableDrag:!0}),D=new ve({x:100,y:100,toX:100,toY:200,degree:30,attrs:{stroke:"#666666"},enableDrag:!0}),M=Kt(0,r-100),$=Kt(0,n-100),N=new ve({attrs:{stroke:"#666666"}});N.x=M,N.y=$,N.toX=M+100,N.toY=$+100;const G=new ve({attrs:{stroke:"#666666"}});G.x=M+100,G.y=$,G.toX=M,G.toY=$+100;const rt=N.intersection(G),Q=new se({x:0,y:0,radius:10,attrs:{fill:It.random().toString()}});rt&&(Q.x=rt.x,Q.y=rt.y);const q=new Fn({x:Kt(0,r),y:Kt(0,n),scalar:.5,degree:45,attrs:{fill:"#5a82f0",stroke:"#ff0000",strokeWidth:"3"},enableDrag:!0,strokeArmyAnts:!0}),at=new Te({x:Kt(0,r),y:Kt(0,n),scalar:.8,degree:5,width:100,height:60,borderRadius:10,attrs:{fill:"pink",stroke:"#ff0000",strokeWidth:"3"},enableDrag:!0,strokeArmyAnts:!0}),U=new Wg({x:Kt(0,r),y:Kt(0,n),scalar:.99,degree:-1,attrs:{fill:It.random().toString(),stroke:"#ff0000",strokeWidth:"3"},enableDrag:!0,strokeArmyAnts:!0}),H=new Zg({x:Kt(0,r),y:Kt(0,n),scalar:.99,degree:-1,attrs:{fill:It.random().toString(),stroke:"#ff0000",strokeWidth:"3"},enableDrag:!0,strokeArmyAnts:!0}),yt=new qg({x:Kt(0,r),y:Kt(0,n),scalar:1,degree:0,attrs:{fill:It.random().toString()},enableDrag:!0}),pt=new Mi({x:Kt(0,r),y:Kt(0,n),scalar:1,degree:0,attrs:{fill:"rgb(200,80,80)",stroke:"#ff0000",strokeWidth:"3"},enableDrag:!0,strokeArmyAnts:!0}),V=new Kg({x:Kt(0,r),y:Kt(0,n),scalar:1,degree:0,attrs:{fill:It.random().toString(),stroke:"#ff0000",strokeWidth:"3"},enableDrag:!0,strokeArmyAnts:!0}),P=new Qg({x:Kt(0,r),y:Kt(0,n),scalar:1,degree:0,attrs:{fill:It.random().toString()},enableDrag:!0}),Bt=new Jg({x:100,y:200,degree:30,scalar:.8,attrs:{strokeWidth:"2",stroke:It.random().toString(),fill:"none"},enableDrag:!0}),Nt=new sy({x:Kt(0,r),y:Kt(0,n),degree:30,scalar:2,showFlame:!0,attrs:{stroke:It.random().toString()},enableDrag:!0}),Ct=new Lo({x:100,y:100,width:100,height:20,degree:30,attrs:{stroke:It.random().toString()},enableDrag:!0}),Qt=new wd({x:200,y:200,min:0,max:200,step:2,defaultValue:10,barWidth:200});Qt.on("change",Fe=>{console.log(`slider change: ${Fe}`)});const Gt=new Ai({x:100,y:100,width:100,height:100,startDegree:45,endDegree:270,lineWidth:10,color:It.random().toString(),enableDrag:!0}),j=new kd({x:Kt(0,r),y:Kt(0,n),width:300,height:150,startDegree:-30,endDegree:190,extendDegree:10,percent:.3,enableDrag:!0}),Le=new _d({x:Kt(0,r),y:Kt(0,n),rx:50,ry:10,enableDrag:!0,attrs:{fill:It.random().toString()}}),Ge=[I,D,N,G,Q,q,at,U,H,yt,pt,V,P,Bt,Nt,Ct,Qt,Gt,j,Le];s.value.getSVG().then(Fe=>{a.value.getCanvas().then(S=>{Fe.clear(),d=ne(()=>(Fe.path(Ge),S.ctx.clearRect(),S.draw(Ge),!0))})})}},{name:"followMouse",type:"followMouse",onClick:()=>{c.value="followMouse",!(!s.value||!a.value)&&(d?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{const M=new Fn({scalar:.5,followMouse:!0,attrs:{fill:It.random().toString()}}),$=M.clone(),N=new ve({x:I.app.width/2,y:I.app.height/2,attrs:{"stroke-width":"1",stroke:"#666666"}}),G=N.clone();I.clear(),d=ne(()=>(D.ctx.clearRect(),N.toX=M.x,N.toY=M.y,G.toX=$.x,G.toY=$.y,I.path([N,M]),D.draw([G,$]),!0))})}))}},{name:"targetToAfterDragFree",type:"targetToAfterDragFree",onClick:()=>{c.value="targetToAfterDragFree",!(!s.value||!a.value)&&(d?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{const M=new se({x:I.app.width/2,y:I.app.height/2,radius:30,attrs:{fill:It.random().toString()}});M.enableDrag=!0,M.targetToAfterDragFree={targetX:I.app.width/2,targetY:I.app.height/2};const $=M.clone();I.clear(),d=ne(()=>(I.path(M),D.ctx.clearRect(),D.draw($),!0))})}))}},{name:"BallCollision",type:"BallCollision",onClick:()=>{c.value="BallCollision",!(!s.value||!a.value)&&(d?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{const M=new se({x:50,y:I.app.height/2,radius:30,attrs:{fill:It.random().toString()}});M.mass=2,M.vx=2;const $=new se({x:I.app.width-50,y:I.app.height/2,radius:30,attrs:{fill:It.random().toString()}});$.mass=1,$.vx=-2,I.clear(),d=ne(()=>(M.checkCollision($),M.run(),$.run(),I.path([M,$]),D.ctx.clearRect(),D.draw([M,$]),!0))})}))}},{name:"Balls",type:"Balls",onClick:()=>{c.value="Balls",!(!s.value||!a.value)&&(d?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{const $=[];for(let rt=0;rt<15;rt++){const Q=Math.random()*20+15,q=new se({x:Math.random()*I.app.width,y:Math.random()*I.app.height,radius:Q,attrs:{fill:It.random().toString()}});q.mass=Q,q.vx=Math.random()*10-5,q.vy=Math.random()*10-5,$.push(q)}const N=new Te({x:0,y:0,width:I.app.width,height:I.app.height}),G=new Be($);I.clear(),d=ne(()=>(G.run({wall:N}),I.path($),D.ctx.clearRect(),D.draw($),!0))})}))}},{name:"万有引力",type:"Gravitate",onClick:()=>{c.value="Gravitate",!(!s.value||!a.value)&&(d?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{const $=[];for(let G=0;G<30;G++){const rt=Math.random()*25+5,Q=new se({x:Math.random()*I.app.width,y:Math.random()*I.app.height,radius:rt,attrs:{fill:It.random().toString()}});Q.mass=rt,$.push(Q)}const N=new Be($);I.clear(),d=ne(()=>(N.gravitate(),I.path($),D.ctx.clearRect(),D.draw($),!0))})}))}},{name:"行星",type:"SunPlanet",onClick:()=>{c.value="SunPlanet",!(!s.value||!a.value)&&(d?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{const M=new se({x:I.app.width*.5,y:I.app.height*.5,radius:50,attrs:{fill:It.random().toString()}});M.mass=1e4;const $=new se({x:I.app.width*.5+200,y:I.app.height*.5,radius:10,attrs:{fill:It.random().toString()}});$.mass=1,$.vy=7;const N=[M,$],G=new Be(N);I.clear(),d=ne(()=>(G.gravitate(),I.path(N),D.ctx.clearRect(),D.draw(N),!0))})}))}},{name:"SpringMass",type:"SpringMass",onClick:()=>{c.value="SpringMass",!(!s.value||!a.value)&&(d?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{const M=[];for(let q=0;q<30;q++){const at=Math.random()*10+2,U=new se({x:Math.random()*D.app.width,y:Math.random()*D.app.height,radius:at,attrs:{fill:It.random().toString()}});U.vx=Math.random()*6-3,U.vy=Math.random()*6-3,U.mass=at,M.push(U)}const N=new Be(M),G=new Te({x:0,y:0,width:D.app.width,height:D.app.height}),rt=new It("#666666");let Q=[];I.clear(),d=ne(()=>(I.delete(Q),Q=[],N.springMass(G,{spring:5e-4}).forEach(([q,at,U,H,yt])=>{yt>0&&Q.push(new ve({x:q,y:at,toX:U,toY:H,attrs:{strokeWidth:"1",stroke:rt.setAlpha(yt).toString()}}))}),I.path(Q),I.path(M),D.ctx.clearRect(),D.draw(Q),D.draw(M),!0))})}))}},{name:"LinePicture",type:"LinePicture",onClick:()=>{c.value="LinePicture",!(!s.value||!a.value)&&(d?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{const M=new se({x:0,y:0,radius:8,attrs:{fill:It.random().toString()}}),$=new se({x:0,y:0,radius:5,attrs:{fill:It.random().toString()}});let N=[p,M,$],G,rt;p.on("clicked",H=>{rt&&I.delete(rt),G&&G.restore(),G=H,H.save(),H.setAttr({fill:"pink",stroke:"green"}),N=[p,M,$];const yt=H.getBoundingClientRect();yt&&(rt=new Te(yt),rt.setAttr({fill:"none",stroke:"#0000ff",strokeWidth:"4"}),N.push(rt))});let Q=0,q=p.shapes[Q].getTotalLength(),at=0;const U=.01;I.clear(),d=ne(()=>{at>1&&(Q++,at=0,Q>p.shapes.length-1&&(Q=0),q=p.shapes[Q].getTotalLength()),D.ctx.clearRect();let{x:H,y:yt}=p.shapes[Q].interpolate(at);M.x=H,M.y=yt;let{x:pt,y:V}=p.shapes[Q].getPointAtLength(at*q);return $.x=pt,$.y=V,I.path(N),D.draw(N),at+=U,!0})})}))}},{name:"WalkMan",type:"WalkMan",onClick:()=>{c.value="WalkMan",!(!s.value||!a.value)&&(d?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{const M=new Lo({x:200,y:200,width:50,height:15,attrs:{stroke:"#666666"}}),$=new Lo({width:50,height:10,attrs:{stroke:"#666666"}}),N=new Lo({x:200,y:200,width:50,height:15,attrs:{stroke:"#666666"}}),G=new Lo({width:50,height:10,attrs:{stroke:"#666666"}});let rt=0,Q=0;function q(){Q+=.2,M.x+=rt,M.y+=Q,N.x+=rt,N.y+=Q}const at=-Math.PI/2;function U(V,P,Bt){const Nt=Math.sin(Bt)*45+90,Ct=Math.sin(Bt+at)*45+45,Qt=P.getPin();V.degree=Nt,P.degree=V.degree+Ct,P.x=V.getPin().x,P.y=V.getPin().y,P.vx=P.getPin().x-Qt.x,P.vy=P.getPin().y-Qt.y}function H(V){const P=V.getPin().y+V.height/2;if(P>D.app.height){const Bt=P-D.app.height;M.y-=Bt,$.y-=Bt,N.y-=Bt,G.y-=Bt,rt-=V.vx,Q-=V.vy}}function yt(){const V=D.app.width+200;M.x>D.app.width+100?(M.x-=V,$.x-=V,N.x-=V,G.x-=V):M.x<-100&&(M.x+=V,$.x+=V,N.x+=V,G.x+=V)}let pt=0;I.clear(),d=ne(()=>(D.ctx.clearRect(),pt+=.06,q(),U(M,$,pt),U(N,G,pt+Math.PI),H($),H(G),yt(),I.path([M,$,N,G]),D.draw([M,$,N,G]),!0))})}))}},{name:"俄罗斯方块",type:"RectGame",onClick:()=>{if(c.value="RectGame",!s.value||!a.value)return;d?.();function I(G){return new Te({x:Math.random()*G,y:0,width:50,height:50,attrs:{fill:It.random().toString()},enableDrag:!0})}const D=.2,M=[];function $(){const G=I(r);return M.push(G),G}let N=$();s.value.getSVG().then(G=>{a.value.getCanvas().then(rt=>{G.clear(),d=ne(()=>(rt.ctx.clearRect(),G.isMouseDown||rt.isMouseDown?(G.path(M),rt.draw(M)):(N&&N.run({gravity:D}),N&&N.y+N.height>=rt.ctx.canvas.height&&(N.y=rt.ctx.canvas.height-N.height,N=$()),M.forEach(Q=>(N&&N!==Q&&N.isIntersectRect(Q)&&(N.y=Q.y-N.height,N.y>=N.height?N=$():N=null),Q)),G.path(M),rt.draw(M)),!0))})})}},{name:"喷泉",type:"PointWater",onClick:()=>{c.value="PointWater",!(!s.value||!a.value)&&(d?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{const M=[];for(let $=0;$<80;$++){const N=new se({x:I.app.width/2,y:I.app.height,radius:2,attrs:{fill:It.random().toString()}});N.vx=Math.random()*2-1,N.vy=Math.random()*-10-10,M.push(N)}I.clear(),d=ne(()=>(M.forEach($=>{$.run({gravity:.5}),($.x-$.radius>I.app.width||$.x+$.radius<0||$.y-$.radius>I.app.height||$.y+$.radius<0)&&($.x=I.app.width/2,$.y=I.app.height,$.vx=Math.random()*2-1,$.vy=Math.random()*-10-10)}),I.path(M),D.ctx.clearRect(),D.draw(M),!0))})}))}},{name:"SpringChain",type:"SpringChain",onClick:()=>{if(c.value="SpringChain",!s.value||!a.value)return;d?.();function I($,N){const G=[];for(let rt=0;rt<3;rt++)G.push(new se({x:$,y:N,radius:20,attrs:{fill:It.random().toString()}}));return G}function D(){const $=[];for(let N=0;N<3;N++)$.push(new ve({attrs:{"stroke-width":"1",stroke:"#666666"}}));return $}const M={spring:.03,friction:.9,gravity:2};s.value.getSVG().then($=>{a.value.getCanvas().then(N=>{const G=D(),rt=I($.app.width/2,$.app.height/2),Q=new se({x:0,y:0}),q=D(),at=I(N.app.width/2,N.app.height/2),U=new se({x:0,y:0}),H=new Be([Q,...rt]),yt=new Be([U,...at]);$.clear(),d=ne(()=>(N.ctx.clearRect(),Q.x=$.app.mousePoint.x,Q.y=$.app.mousePoint.y,H.springChain(M),rt.forEach((pt,V)=>{if(V===0)G[V].x=$.app.mousePoint.x,G[V].y=$.app.mousePoint.y,G[V].toX=pt.x,G[V].toY=pt.y;else{const P=rt[V-1];G[V].x=P.x,G[V].y=P.y,G[V].toX=pt.x,G[V].toY=pt.y}}),$.path(G),$.path(rt),U.x=N.app.mousePoint.x,U.y=N.app.mousePoint.y,yt.springChain(M),at.forEach((pt,V)=>{if(V===0)q[V].x=N.app.mousePoint.x,q[V].y=N.app.mousePoint.y,q[V].toX=pt.x,q[V].toY=pt.y;else{const P=at[V-1];q[V].x=P.x,q[V].y=P.y,q[V].toX=pt.x,q[V].toY=pt.y}}),N.draw(q),N.draw(at),!0))})})}},{name:"多点弹簧",type:"PointSpringMulti",onClick:()=>{c.value="PointSpringMulti",!(!s.value||!a.value)&&(d?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{const M=[new ve({attrs:{stroke:"#666666"}}),new ve({attrs:{stroke:"#666666"}}),new ve({attrs:{stroke:"#666666"}})],$=[];for(let G=0;G<3;G++)$.push(new se({x:Math.random()*I.app.width,y:Math.random()*I.app.height,radius:10,attrs:{fill:It.random().toString()},enableDrag:!0}));const N=new se({radius:20,attrs:{fill:"#ff0000"}});I.clear(),d=ne(()=>(D.ctx.clearRect(),N.runSpringTo($,{spring:.03}),$.forEach((G,rt)=>{M[rt].x=N.x,M[rt].y=N.y,M[rt].toX=G.x,M[rt].toY=G.y}),I.path([...M,...$,N]),D.draw([...M,...$,N]),!0))})}))}},{name:"SpringConnect",type:"SpringConnect",onClick:()=>{c.value="SpringConnect",!(!s.value||!a.value)&&(d?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{const M=[new ve({attrs:{stroke:"#666666"}}),new ve({attrs:{stroke:"#666666"}}),new ve({attrs:{stroke:"#666666"}})],$=[];for(let G=0;G<3;G++)$.push(new se({x:Math.random()*I.app.width,y:Math.random()*I.app.height,radius:10,attrs:{fill:It.random().toString()},enableDrag:!0}));const N=new Be($);I.clear(),d=ne(()=>(N.springConnect({springLength:120}),M[0].x=$[0].x,M[0].y=$[0].y,M[0].toX=$[1].x,M[0].toY=$[1].y,M[1].x=$[1].x,M[1].y=$[1].y,M[1].toX=$[2].x,M[1].toY=$[2].y,M[2].x=$[2].x,M[2].y=$[2].y,M[2].toX=$[0].x,M[2].toY=$[0].y,I.path([...M,...$]),D.ctx.clearRect(),D.draw([...M,...$]),!0))})}))}},{name:"LineQuadraticBezier",type:"QuadraticBezierCurve",onClick:()=>{c.value="QuadraticBezierCurve",!(!s.value||!a.value)&&(d?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{const $=new Rn({x:50,y:I.app.height-50,toX:I.app.width-50,toY:I.app.height-50,cx:I.app.mousePoint.x,cy:I.app.mousePoint.y,attrs:{stroke:"#ff0000","stroke-width":"2"},isLineThrough:!1}),N=new Rn({x:50,y:I.app.height-50,toX:I.app.width-50,toY:I.app.height-50,cx:I.app.mousePoint.x,cy:I.app.mousePoint.y,attrs:{stroke:"#00ff00","stroke-width":"2"},isLineThrough:!0}),G=new Rn({x:50,y:D.ctx.canvas.height-50,toX:D.ctx.canvas.width-50,toY:D.ctx.canvas.height-50,cx:D.app.mousePoint.x,cy:D.app.mousePoint.y,attrs:{stroke:"#ff0000","stroke-width":"2"},isLineThrough:!1}),rt=new Rn({x:50,y:D.ctx.canvas.height-50,toX:D.ctx.canvas.width-50,toY:D.ctx.canvas.height-50,cx:D.app.mousePoint.x,cy:D.app.mousePoint.y,attrs:{stroke:"#00ff00","stroke-width":"2"},isLineThrough:!0});I.clear(),d=ne(()=>(D.ctx.clearRect(),N.cx=$.cx=I.app.mousePoint.x,N.cy=$.cy=I.app.mousePoint.y,I.path($),I.path(N),rt.cx=G.cx=D.app.mousePoint.x,rt.cy=G.cy=D.app.mousePoint.y,D.draw([G,rt]),!0))})}))}},{name:"PointsRandom",type:"PointsRandom",onClick:()=>{c.value="PointsRandom",!(!s.value||!a.value)&&(d?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{I.clear(),D.ctx.clearRect();const M=[];for(let G=0;G<10;G++)M.push({x:Math.random()*I.app.width,y:Math.random()*I.app.height});const $=M.map((G,rt)=>new Te({x:G.x,y:G.y,width:6,height:6,attrs:{fill:rt==0?"#ff0000":rt==M.length-1?"#00ff00":"#666666"}})),N=new bd({points:M,attrs:{stroke:"#ff0000"},isStraight:!0});N.isStraight=!0,I.path($),I.path(N),N.isStraight=!1,D.draw([...$,N])})}))}},{name:"扇形",type:"Sector",onClick:()=>{if(c.value="Sector",!s.value||!a.value)return;d?.();const I=new xd({x:300,y:100,radius:100,startDegree:80,endDegree:200,enableDrag:!0,text:"些许文字",defaultShowText:!1,tip:"提示文字...",attrs:{fill:"pink",stroke:"#666666"}}),D=new xd({x:300,y:100,radius:100,startDegree:80,endDegree:200,enableDrag:!0,text:"些许文字",defaultShowText:!1,tip:"提示文字...",attrs:{fill:"pink",stroke:"#666666"}});s.value.getSVG().then(M=>{a.value.getCanvas().then($=>{M.clear(),d=ne(()=>($.ctx.clearRect(),M.path(I),$.draw(D),!0))})})}},{name:"strokeDash",type:"StrokeDash",onClick:()=>{c.value="StrokeDash",!(!s.value||!a.value)&&(d?.(),h.setAttr({stroke:"#666666",strokeWidth:"4",strokeDasharray:`${_.value} ${_.value}`,strokeDashoffset:`${v.value}`}),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{I.clear(),d=ne(()=>(D.ctx.clearRect(),I.path(h),D.draw(h),!0))})}))}},{name:"strokeDashTween",type:"strokeDashTween",onClick:()=>{c.value="strokeDashTween",!(!s.value||!a.value)&&(d?.(),h.setAttr({stroke:"#ff0000",strokeWidth:"4"}),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{I.clear(),h.strokeDashTween(4e3,{easeFunction:e.easeFunction,onUpdate:()=>{I.path(h),D.ctx.clearRect(),D.draw(h)}})})}))}},{name:"strokeDashTweenParallel",type:"strokeDashTweenParallel",onClick:()=>{c.value="strokeDashTweenParallel",!(!s.value||!a.value)&&(d?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{I.clear(),D.ctx.clearRect(),p.setAttrs({stroke:"none"}),p.strokeDashTween(4e3,{type:"parallel",easeFunction:e.easeFunction,onGroupStart:()=>{p.setAttrs({stroke:It.random().toString()})},onGroupUpdate:()=>{I.path(p),D.ctx.clearRect(),D.draw(p)}})})}))}},{name:"strokeDashTweenSequence",type:"strokeDashTweenSequence",onClick:()=>{c.value="strokeDashTweenSequence",!(!s.value||!a.value)&&(d?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{I.clear(),D.ctx.clearRect(),p.setAttrs({stroke:"none"}),p.strokeDashTween(1e3,{type:"sequence",easeFunction:e.easeFunction,onGroupStart:()=>{p.setAttrs({stroke:It.random().toString()})},onGroupUpdate:()=>{I.path(p),D.ctx.clearRect(),D.draw(p)}})})}))}},{name:"线条动画",type:"InterpolatePath",onClick:()=>{if(c.value="InterpolatePath",!s.value||!a.value)return;d?.();const I=new Fn({x:200,y:200,scalar:1,attrs:{stroke:"#5a82f0"}}),D=new Te({width:100,height:60,x:150,y:170,borderRadius:10,attrs:{stroke:"#ACFFAD"}}),M=new Mi({x:200,y:200,scalar:3,attrs:{stroke:"rgb(200,80,80)"}}),$=Be.generatePointsShape(100,100,100,3);$.x=100,$.y=100,$.setAttr({stroke:"#666666"});const N=Be.generatePointsShape(100,100,100,6);N.x=50,N.y=50,N.setAttr({stroke:"#7EEDFF"});const G=new Be([$,N,I,D,M]);s.value.getSVG().then(rt=>{a.value.getCanvas().then(Q=>{rt.clear(),G.polymorphTween(6e3,{draw:q=>{rt.path(q),Q.ctx.clearRect(),Q.draw(q)}})})})}},{name:"线条动画Group",type:"InterpolatePathGroup",onClick:()=>{if(c.value="InterpolatePathGroup",!s.value||!a.value)return;d?.();const I=new Fn({x:200,y:200,scalar:1,attrs:{stroke:"#5a82f0"}}),D=new Te({width:100,height:60,x:150,y:170,borderRadius:10,attrs:{stroke:"#42B79E"}}),M=new Mi({x:200,y:200,scalar:3,attrs:{stroke:"rgb(200,80,80)"}}),$=new Be([I,D,p,M]);s.value.getSVG().then(N=>{a.value.getCanvas().then(G=>{N.clear(),$.polymorphTween(6e3,{draw:rt=>{N.path(rt),G.ctx.clearRect(),G.draw(rt)}})})})}},{name:"AnimateToTweenCSS",type:"AnimateToTweenCSS",onClick:()=>{c.value="AnimateToTweenCSS",!(!s.value||!a.value)&&(d?.(),et.setStyle(l.value,{transform:""}))}},{name:"Rosetta",type:"Rosetta",onClick:()=>{c.value="Rosetta",!(!s.value||!a.value)&&(d?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{const M=Be.generateRosettaShape(120,120,55,35,6);M.setAttr({stroke:"none",fill:"none"});const $=new Te({x:0,y:0,width:20,height:10,attrs:{stroke:"none",fill:"green"}}),N=new ee({attrs:{stroke:"red","stroke-width":"3",fill:"none"}});I.clear(),D.ctx.clearRect();const G=new Ie({frameDuration:15e3});G.addTween({progress:0},{progress:1},{onUpdate:rt=>{const Q=M.trailPath(N,rt.progress);$.x=Q.x,$.y=Q.y,$.degree=Q.alpha+90,I.path([N,$]),D.ctx.clearRect(),D.draw([N,$])}}),G.play()})}))}},{name:"Confetti",type:"Confetti",onClick:()=>{c.value="Confetti",!(!s.value||!a.value)&&(d?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{const M=new oy(D.app.width,D.app.height,{angle:Kt(55,125),spread:Kt(50,70),particleCount:Kt(50,100)});I.clear(),d=ne(()=>(D.ctx.clearRect(),I.path(M),D.draw(M),!0))})}))}}],k=[{type:"translateTo",onClick:()=>f("translateTo")},{type:"translateXTo",onClick:()=>f("translateXTo")},{type:"translateYTo",onClick:()=>f("translateYTo")},{type:"translateZTo",onClick:()=>f("translateZTo")},{type:"translate3dTo",onClick:()=>f("translate3dTo")},{type:"rotateTo",onClick:()=>f("rotateTo")},{type:"rotateXTo",onClick:()=>f("rotateXTo")},{type:"rotateYTo",onClick:()=>f("rotateYTo")},{type:"rotateZTo",onClick:()=>f("rotateZTo")},{type:"rotate3dTo",onClick:()=>f("rotate3dTo")},{type:"scaleTo",onClick:()=>f("scaleTo")},{type:"scaleXTo",onClick:()=>f("scaleXTo")},{type:"scaleYTo",onClick:()=>f("scaleYTo")},{type:"scaleZTo",onClick:()=>f("scaleZTo")},{type:"scale3dTo",onClick:()=>f("scale3dTo")},{type:"skewTo",onClick:()=>f("skewTo")},{type:"skewXTo",onClick:()=>f("skewXTo")},{type:"skewYTo",onClick:()=>f("skewYTo")},{type:"perspective",onClick:()=>f("perspective")}];let C;function z(){C||(C=new We(i.value));const I=50,D=0,M=0,$=0,N=C.width-I,G=C.height-I,rt=C.height-I,Q=C.width/2-I/2,q=C.height/2-I/2,at={},U={};switch(u.value){case"translateTo":Object.assign(at,{translateTo:[D,M]}),Object.assign(U,{translateTo:[N,G]});break;case"translateXTo":Object.assign(at,{translateXTo:D}),Object.assign(U,{translateXTo:N});break;case"translateYTo":Object.assign(at,{translateYTo:M}),Object.assign(U,{translateYTo:G});break;case"translateZTo":Object.assign(at,{translateTo:[Q,q],translateZTo:$}),Object.assign(U,{translateTo:[Q,q],translateZTo:rt});break;case"translate3dTo":Object.assign(at,{translate3dTo:[Q-50,q-50,$]}),Object.assign(U,{translate3dTo:[Q+50,q+50,rt]});break;case"rotateTo":Object.assign(at,{translateTo:[Q,q],rotateTo:0}),Object.assign(U,{translateTo:[Q,q],rotateTo:360});break;case"rotateXTo":Object.assign(at,{translateTo:[Q,q],rotateXTo:0}),Object.assign(U,{translateTo:[Q,q],rotateXTo:180});break;case"rotateYTo":Object.assign(at,{translateTo:[Q,q],rotateYTo:0}),Object.assign(U,{translateTo:[Q,q],rotateYTo:180});break;case"rotateZTo":Object.assign(at,{translateTo:[Q,q],rotateZTo:0}),Object.assign(U,{translateTo:[Q,q],rotateZTo:360});break;case"rotate3dTo":Object.assign(at,{translateTo:[Q,q],rotate3dTo:[0,0,0]}),Object.assign(U,{translateTo:[Q,q],rotate3dTo:[360,360,360]});break;case"scaleTo":Object.assign(at,{translateTo:[Q,q],scaleTo:1}),Object.assign(U,{translateTo:[Q,q],scaleTo:3});break;case"scaleXTo":Object.assign(at,{translateTo:[Q,q],scaleXTo:1}),Object.assign(U,{translateTo:[Q,q],scaleXTo:3});break;case"scaleYTo":Object.assign(at,{translateTo:[Q,q],scaleYTo:1}),Object.assign(U,{translateTo:[Q,q],scaleYTo:3});break;case"scaleZTo":Object.assign(at,{translateTo:[Q,q],scaleZTo:1}),Object.assign(U,{translateTo:[Q,q],scaleZTo:3});break;case"scale3dTo":Object.assign(at,{translateTo:[Q,q],scale3dTo:[1,1,1]}),Object.assign(U,{translateTo:[Q,q],scale3dTo:[3,3,3]});break;case"skewTo":Object.assign(at,{translateTo:[Q,q],skewTo:0}),Object.assign(U,{translateTo:[Q,q],skewTo:30});break;case"skewXTo":Object.assign(at,{translateTo:[Q,q],skewXTo:0}),Object.assign(U,{translateTo:[Q,q],skewXTo:30});break;case"skewYTo":Object.assign(at,{translateTo:[Q,q],skewYTo:0}),Object.assign(U,{translateTo:[Q,q],skewYTo:30});break;case"perspective":Object.assign(at,{translateTo:[Q,q],perspective:0}),Object.assign(U,{translateTo:[Q,q],perspective:1e3});break}const H=new Ie({frameDuration:2e3});H.addTween(at,U,{easeFunction:e.easeFunction,onUpdate:yt=>{et.setStyle(l.value,et.convertAttrs(l.value,yt))}}),H.play()}function tt(){return new Promise(I=>{a.value.getCanvas().then(D=>{me.downloadFromSVGString(D.ctx.toRawSVG().raw,"CanvasToSVG").then(()=>{setTimeout(()=>{I()},3e3)})})})}return te(()=>{}),t({}),(I,D)=>(L(),B(Xt,null,[E("div",eb,[ct(oe,{asyncClick:tt},{default:_t(()=>[jt(" downloadFromCanvasToSVG ")]),_:1})]),E("div",sb,[(L(),B(Xt,null,ye(m,M=>ct(oe,{key:M.type,item:M,onClick:M.onClick,stylePattern:c.value==M.type?"fullfilled":"outline"},{default:_t(()=>[jt(bt(M.name),1)]),_:2},1032,["item","onClick","stylePattern"])),64))]),ro(E("div",null," 当前缓动函数:"+bt(e.easeName),513),[[zs,c.value=="AnimateToTweenCSS"]]),ro(E("div",ob,[(L(),B(Xt,null,ye(k,M=>ct(oe,{key:M.type,item:M,onClick:M.onClick,stylePattern:u.value==M.type?"fullfilled":"outline"},{default:_t(()=>[jt(bt(M.type),1)]),_:2},1032,["item","onClick","stylePattern"])),64))],512),[[zs,c.value=="AnimateToTweenCSS"]]),ro(E("div",rb,[E("div",nb,[E("div",null,"stroke-dasharray: "+bt(_.value)+","+bt(_.value),1),ct(go,{max:988,defaultValue:_.value,onChange:w},null,8,["defaultValue"])]),E("div",ab,[E("div",null,"stroke-dashoffset: "+bt(v.value),1),ct(go,{max:988,defaultValue:v.value,onChange:g},null,8,["defaultValue"])])],512),[[zs,c.value=="StrokeDash"]]),ro(E("div",ib,[ct(rh,{ref_key:"svgRef",ref:s,bgColor:"#ffffff"},null,512)],512),[[zs,c.value!=="AnimateToTweenCSS"]]),ro(E("div",lb,[ct(Xe,{ref_key:"canvasRef",ref:a,bgColor:"#333333","enable-custom-context":!1},null,512)],512),[[zs,c.value!=="AnimateToTweenCSS"]]),ro(E("div",{ref_key:"tweenCSSContainerRef",ref:i,style:{height:"400px"},class:"css-area"},[E("div",{ref_key:"divTweenTargetRef",ref:l,class:"tween-css-target"},null,512)],512),[[zs,c.value=="AnimateToTweenCSS"]])],64))}}),nh=lt(cb,[["styles",[`.btns[data-v-c30e1503]{display:flex;flex-wrap:wrap}.btns>*[data-v-c30e1503]{margin-right:10px;margin-bottom:10px}.sub-btns[data-v-c30e1503]{padding-top:10px;background-color:#dbffff}.css-area[data-v-c30e1503]{background-color:#fff}.tween-css-target[data-v-c30e1503]{width:50px;height:50px;background-color:#cfc;background-color:#fcc;background-color:#ccf}
153
+ `,u=R();return Et(u,()=>{u.value&&et.injectStyle(c,u.value)}),te(()=>{}),t({}),(d,f)=>(L(),B("div",{class:"input-range",ref_key:"inputRangeContainer",ref:u},[E("input",{type:"range",max:s.max,min:s.min,step:s.step,value:n.value,autofocus:s.autofocus,onInput:l,style:A({background:`linear-gradient(to right, ${s.color} 0%, ${s.color} ${i.value}%, ${s.barColor} ${i.value}%, ${s.barColor})`})},null,44,qv),Ct(d.$slots,"default",{value:n.value},()=>[d.showValue?(L(),B("label",Kv,bt(n.value)+bt(s.unit),1)):$t("",!0)],!0)],512))}}),$2="",go=lt(Qv,[["__scopeId","data-v-db15bad2"]]),Jv=K({__name:"SVG",props:{bgColor:{default:"rgba(255,255,255,0)"}},emits:["ready","resize"],setup(o,{expose:t,emit:e}){const s=o,r=e;let n,a,i;const l=R();Et(l,()=>{n||!l.value||(n=new We(l.value,!1),n.on("resize",(u,d)=>{r("resize",u,d),a=new vd(n),i?.(a),r("ready",a)}),n.start())});function c(){return new Promise(u=>{if(a)return u(a);i=u})}return te(()=>{n?.destroy()}),t({getSVGElement:()=>l.value,getSVG:c}),(u,d)=>(L(),B("div",{class:"svg",ref_key:"svgRef",ref:l,style:A({backgroundColor:s.bgColor})},null,4))}}),D2="",rh=lt(Jv,[["__scopeId","data-v-132e642b"]]),tb='<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg"><g fill-rule="evenodd"><path d="M405.614 190.524c17.843 0 32.315-14.472 32.315-32.329s-14.472-32.329-32.315-32.329c-17.87 0-32.342 14.472-32.342 32.33 0 17.856 14.471 32.328 32.342 32.328zm21.479 7.867c-.528-.333-1.11-.569-1.665-.805a37.223 37.223 0 0 0-11.78-5.189l-8.034 8.103-7.811-8.2c-.028 0-.056.014-.084.014-4.135.985-8.2 2.747-11.821 5.133-.639.264-1.277.555-1.901.93-25.1 15.387-39.502 27.57-43.956 98.79-.43 6.924 4.842 12.876 11.738 13.306.278.014.541.028.805.028 6.577 0 12.099-5.12 12.529-11.766 1.512-24.045 3.927-39.627 7.437-50.38v43.47c0 3.386.652 6.535 1.804 9.421-.083.666-.167 1.319-.167 1.998l.028 120.172c0 8.186 6.618 14.832 14.819 14.832 8.2 0 14.832-6.646 14.832-14.832V320.283c.583.028 1.18.07 1.776.07.097 0 .222-.015.333-.015v103.078c0 8.2 6.632 14.832 14.832 14.832 8.2 0 14.833-6.632 14.833-14.832l.014-119.422c1.942-3.608 3.08-7.687 3.08-12.155v-43.11c3.427 10.74 5.827 26.238 7.312 50.02.416 6.646 5.952 11.766 12.515 11.766.25 0 .527 0 .791-.028 6.91-.43 12.168-6.396 11.752-13.306-4.454-71.234-18.87-83.403-43.97-98.79h-.041zm-21.41 66.087h-.152l-7.798-10.67 7.798-52.115h.152l7.798 52.115-7.798 10.67zM63.235 217.927c0 12.682 10.267 22.95 22.963 22.95 12.668 0 22.935-10.282 22.935-22.95s-10.281-22.95-22.935-22.95c-12.696 0-22.963 10.282-22.963 22.95zm38.211 28.527c-.374-.222-.79-.402-1.179-.569a26.82 26.82 0 0 0-8.367-3.69l-5.702 5.757-5.564-5.827c-.014 0-.042.014-.056.014a26.862 26.862 0 0 0-8.394 3.649c-.458.194-.916.388-1.346.652-15.873 9.727-25.724 17.69-29.914 55.056h17.912c.985-8.366 2.276-14.68 3.857-19.564v19.564h46.981v-19.314c1.554 4.843 2.803 11.086 3.774 19.314h17.899c-4.176-37.365-14.028-45.316-29.9-55.056v.014zM86.24 293.379h-.097l-5.536-7.576 5.536-36.99h.097l5.536 36.99-5.536 7.576zm67.432-75.452c0 12.682 10.281 22.95 22.963 22.95 12.668 0 22.935-10.282 22.935-22.95s-10.267-22.95-22.935-22.95c-12.682 0-22.963 10.282-22.963 22.95zm38.212 28.527c-.375-.222-.791-.402-1.18-.569a26.54 26.54 0 0 0-8.366-3.69l-5.703 5.757-5.55-5.827c-.014 0-.042.014-.055.014a26.723 26.723 0 0 0-8.395 3.649c-.458.194-.916.388-1.36.652-15.873 9.727-25.724 17.69-29.914 55.056h17.926c.985-8.366 2.276-14.68 3.858-19.564v19.564h46.98v-19.314c1.554 4.843 2.803 11.086 3.774 19.314h17.9c-4.191-37.365-14.042-45.316-29.915-55.056v.014zm-15.221 46.925h-.111l-5.536-7.576 5.536-36.99h.11l5.537 36.99-5.536 7.576zm-45.607-104.784c42.624 0 77.297-34.673 77.297-77.297C208.353 68.674 173.68 34 131.056 34c-42.624 0-77.298 34.674-77.298 77.298s34.674 77.297 77.298 77.297zm0-134.074c31.316 0 56.776 25.46 56.776 56.777 0 31.316-25.474 56.776-56.776 56.776-31.302 0-56.777-25.46-56.777-56.776 0-31.316 25.475-56.777 56.777-56.777z"/><path d="M170.918 103.084H139.27V69.908h-16.414v49.59h48.063zm30.137 305.277l-8.464-3.121a64.461 64.461 0 0 0-.707-18.732l8.172-3.774c5.106-2.345 7.354-8.422 4.995-13.528l-4.773-10.365c-2.345-5.106-8.408-7.353-13.514-4.995l-8.187 3.774a64.241 64.241 0 0 0-13.763-12.723l3.121-8.464c1.943-5.272-.763-11.155-6.035-13.098l-10.712-3.954c-5.106-1.873-11.21.944-13.098 6.036l-3.122 8.463a65.463 65.463 0 0 0-18.73.708l-3.775-8.186c-2.345-5.106-8.422-7.34-13.528-4.995L88.57 326.18c-5.106 2.358-7.353 8.436-4.995 13.528l3.774 8.172a64.996 64.996 0 0 0-12.723 13.778l-8.45-3.122c-5.106-1.9-11.21.916-13.112 6.022l-3.94 10.712a10.136 10.136 0 0 0 .305 7.797 10.124 10.124 0 0 0 5.73 5.287l8.464 3.135a64.95 64.95 0 0 0 .708 18.732l-8.187 3.774c-5.106 2.344-7.34 8.422-4.995 13.514l4.787 10.378c2.345 5.106 8.409 7.34 13.528 4.981l8.187-3.774a64.336 64.336 0 0 0 13.778 12.724l-3.122 8.464c-.958 2.553-.847 5.314.305 7.797a10.104 10.104 0 0 0 5.716 5.315l10.712 3.954c2.553.943 5.314.832 7.798-.305a10.034 10.034 0 0 0 5.286-5.73l3.136-8.464a64.931 64.931 0 0 0 18.731-.708l3.76 8.186c2.345 5.092 8.422 7.34 13.528 4.981l10.365-4.773c5.12-2.345 7.354-8.408 4.995-13.528l-3.774-8.172a64.24 64.24 0 0 0 12.71-13.778l8.463 3.136c2.567.957 5.328.832 7.812-.306 2.483-1.137 4.343-3.177 5.286-5.716l3.955-10.712c1.956-5.272-.736-11.141-6.022-13.084l-.014-.014zm-56.083 26.64c-5.342 2.456-11.017 3.705-16.858 3.705-15.693 0-30.08-9.213-36.644-23.463-9.296-20.202-.43-44.192 19.758-53.488a39.873 39.873 0 0 1 16.845-3.704c15.692 0 30.08 9.199 36.643 23.448 9.297 20.202.43 44.206-19.744 53.502zm142.635-185.578V76.458h-52.406V87.82h41.043v161.602H235.2v13.986h41.043v176.227H235.2v11.363h52.406V263.41h47.647l-.805-13.986z"/></g></svg>',eb={class:"btns"},sb={class:"btns"},ob={class:"btns sub-btns"},rb={class:"btns sub-btns"},nb={style:{width:"100%"}},ab={style:{width:"100%"}},ib={style:{height:"400px"}},lb={style:{height:"400px"}},cb=K({customOptions:{Button:oe,InputRange:go,SVG:rh,Canvas:Xe},inheritAttrs:!0,__name:"SVGAndCanvas.ce",props:{easeName:{default:"Linear"},easeFunction:{type:Function,default:xt.Easing.Linear.None}},setup(o,{expose:t}){const e=o,s=R();let r=0,n=0;Et(s,()=>{s.value&&s.value.getSVG().then(I=>{r=I.app.width,n=I.app.height,I.app.on("resize",(D,M)=>{r=D,n=M})})});const a=R(),i=R(),l=R(),c=R(""),u=R("");let d;function f(I){switch(u.value=I,c.value){case"AnimateToTweenCSS":z();break}}const p=new Hg({svg:tb,width:300,attrs:{"stroke-width":"1",stroke:"#ff0000",fill:"none"},enableDrag:!0}),h=new ee({d:"M62.9 14.9c-25-7.74-56.6 4.8-60.4 24.3-3.73 19.6 21.6 35 39.6 37.6 42.8 6.2 72.9-53.4 116-58.9 65-18.2 191 101 215 28.8 5-16.7-7-49.1-34-44-34 11.5-31 46.5-14 69.3 9.38 12.6 24.2 20.6 39.8 22.9 91.4 9.05 102-98.9 176-86.7 18.8 3.81 33 17.3 36.7 34.6 2.01 10.2.124 21.1-5.18 30.1"}),b=+h.getTotalLength().toFixed(0),_=R(b),v=R(Math.floor(b/2));function w(I){_.value=I,h.setAttr("strokeDasharray",`${_.value} ${_.value}`)}function g(I){v.value=I,h.setAttr("strokeDashoffset",`${v.value}`)}const m=[{name:"Shape",type:"Shape",onClick:()=>{c.value="Shape",!(!s.value||!a.value)&&(d?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{const M=new Lo({x:0,y:0,width:100,height:20,degree:30,scalar:2,attrs:{stroke:It.random().toString()},enableDrag:!0});I.clear(),d=ne(()=>(D.ctx.clearRect(),I.path([M]),D.draw([M]),!0))})}))}},{name:"Shapes",type:"Shapes",onClick:()=>{if(c.value="Shapes",!s.value||!a.value)return;d?.();const I=new ve({x:100,y:100,toX:100,toY:200,attrs:{stroke:"#666666"},enableDrag:!0}),D=new ve({x:100,y:100,toX:100,toY:200,degree:30,attrs:{stroke:"#666666"},enableDrag:!0}),M=Kt(0,r-100),$=Kt(0,n-100),N=new ve({attrs:{stroke:"#666666"}});N.x=M,N.y=$,N.toX=M+100,N.toY=$+100;const G=new ve({attrs:{stroke:"#666666"}});G.x=M+100,G.y=$,G.toX=M,G.toY=$+100;const rt=N.intersection(G),Q=new se({x:0,y:0,radius:10,attrs:{fill:It.random().toString()}});rt&&(Q.x=rt.x,Q.y=rt.y);const q=new Fn({x:Kt(0,r),y:Kt(0,n),scalar:.5,degree:45,attrs:{fill:"#5a82f0",stroke:"#ff0000",strokeWidth:"3"},enableDrag:!0,strokeArmyAnts:!0}),at=new Te({x:Kt(0,r),y:Kt(0,n),scalar:.8,degree:5,width:100,height:60,borderRadius:10,attrs:{fill:"pink",stroke:"#ff0000",strokeWidth:"3"},enableDrag:!0,strokeArmyAnts:!0}),U=new Wg({x:Kt(0,r),y:Kt(0,n),scalar:.99,degree:-1,attrs:{fill:It.random().toString(),stroke:"#ff0000",strokeWidth:"3"},enableDrag:!0,strokeArmyAnts:!0}),H=new Zg({x:Kt(0,r),y:Kt(0,n),scalar:.99,degree:-1,attrs:{fill:It.random().toString(),stroke:"#ff0000",strokeWidth:"3"},enableDrag:!0,strokeArmyAnts:!0}),yt=new qg({x:Kt(0,r),y:Kt(0,n),scalar:1,degree:0,attrs:{fill:It.random().toString()},enableDrag:!0}),pt=new Mi({x:Kt(0,r),y:Kt(0,n),scalar:1,degree:0,attrs:{fill:"rgb(200,80,80)",stroke:"#ff0000",strokeWidth:"3"},enableDrag:!0,strokeArmyAnts:!0}),V=new Kg({x:Kt(0,r),y:Kt(0,n),scalar:1,degree:0,attrs:{fill:It.random().toString(),stroke:"#ff0000",strokeWidth:"3"},enableDrag:!0,strokeArmyAnts:!0}),P=new Qg({x:Kt(0,r),y:Kt(0,n),scalar:1,degree:0,attrs:{fill:It.random().toString()},enableDrag:!0}),Bt=new Jg({x:100,y:200,degree:30,scalar:.8,attrs:{strokeWidth:"2",stroke:It.random().toString(),fill:"none"},enableDrag:!0}),Nt=new sy({x:Kt(0,r),y:Kt(0,n),degree:30,scalar:2,showFlame:!0,attrs:{stroke:It.random().toString()},enableDrag:!0}),Tt=new Lo({x:100,y:100,width:100,height:20,degree:30,attrs:{stroke:It.random().toString()},enableDrag:!0}),Qt=new wd({x:200,y:200,min:0,max:200,step:2,defaultValue:10,barWidth:200});Qt.on("change",Fe=>{console.log(`slider change: ${Fe}`)});const Gt=new Ai({x:100,y:100,width:100,height:100,startDegree:45,endDegree:270,lineWidth:10,color:It.random().toString(),enableDrag:!0}),j=new kd({x:Kt(0,r),y:Kt(0,n),width:300,height:150,startDegree:-30,endDegree:190,extendDegree:10,percent:.3,enableDrag:!0}),Le=new _d({x:Kt(0,r),y:Kt(0,n),rx:50,ry:10,enableDrag:!0,attrs:{fill:It.random().toString()}}),Ge=[I,D,N,G,Q,q,at,U,H,yt,pt,V,P,Bt,Nt,Tt,Qt,Gt,j,Le];s.value.getSVG().then(Fe=>{a.value.getCanvas().then(S=>{Fe.clear(),d=ne(()=>(Fe.path(Ge),S.ctx.clearRect(),S.draw(Ge),!0))})})}},{name:"followMouse",type:"followMouse",onClick:()=>{c.value="followMouse",!(!s.value||!a.value)&&(d?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{const M=new Fn({scalar:.5,followMouse:!0,attrs:{fill:It.random().toString()}}),$=M.clone(),N=new ve({x:I.app.width/2,y:I.app.height/2,attrs:{"stroke-width":"1",stroke:"#666666"}}),G=N.clone();I.clear(),d=ne(()=>(D.ctx.clearRect(),N.toX=M.x,N.toY=M.y,G.toX=$.x,G.toY=$.y,I.path([N,M]),D.draw([G,$]),!0))})}))}},{name:"targetToAfterDragFree",type:"targetToAfterDragFree",onClick:()=>{c.value="targetToAfterDragFree",!(!s.value||!a.value)&&(d?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{const M=new se({x:I.app.width/2,y:I.app.height/2,radius:30,attrs:{fill:It.random().toString()}});M.enableDrag=!0,M.targetToAfterDragFree={targetX:I.app.width/2,targetY:I.app.height/2};const $=M.clone();I.clear(),d=ne(()=>(I.path(M),D.ctx.clearRect(),D.draw($),!0))})}))}},{name:"BallCollision",type:"BallCollision",onClick:()=>{c.value="BallCollision",!(!s.value||!a.value)&&(d?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{const M=new se({x:50,y:I.app.height/2,radius:30,attrs:{fill:It.random().toString()}});M.mass=2,M.vx=2;const $=new se({x:I.app.width-50,y:I.app.height/2,radius:30,attrs:{fill:It.random().toString()}});$.mass=1,$.vx=-2,I.clear(),d=ne(()=>(M.checkCollision($),M.run(),$.run(),I.path([M,$]),D.ctx.clearRect(),D.draw([M,$]),!0))})}))}},{name:"Balls",type:"Balls",onClick:()=>{c.value="Balls",!(!s.value||!a.value)&&(d?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{const $=[];for(let rt=0;rt<15;rt++){const Q=Math.random()*20+15,q=new se({x:Math.random()*I.app.width,y:Math.random()*I.app.height,radius:Q,attrs:{fill:It.random().toString()}});q.mass=Q,q.vx=Math.random()*10-5,q.vy=Math.random()*10-5,$.push(q)}const N=new Te({x:0,y:0,width:I.app.width,height:I.app.height}),G=new Be($);I.clear(),d=ne(()=>(G.run({wall:N}),I.path($),D.ctx.clearRect(),D.draw($),!0))})}))}},{name:"万有引力",type:"Gravitate",onClick:()=>{c.value="Gravitate",!(!s.value||!a.value)&&(d?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{const $=[];for(let G=0;G<30;G++){const rt=Math.random()*25+5,Q=new se({x:Math.random()*I.app.width,y:Math.random()*I.app.height,radius:rt,attrs:{fill:It.random().toString()}});Q.mass=rt,$.push(Q)}const N=new Be($);I.clear(),d=ne(()=>(N.gravitate(),I.path($),D.ctx.clearRect(),D.draw($),!0))})}))}},{name:"行星",type:"SunPlanet",onClick:()=>{c.value="SunPlanet",!(!s.value||!a.value)&&(d?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{const M=new se({x:I.app.width*.5,y:I.app.height*.5,radius:50,attrs:{fill:It.random().toString()}});M.mass=1e4;const $=new se({x:I.app.width*.5+200,y:I.app.height*.5,radius:10,attrs:{fill:It.random().toString()}});$.mass=1,$.vy=7;const N=[M,$],G=new Be(N);I.clear(),d=ne(()=>(G.gravitate(),I.path(N),D.ctx.clearRect(),D.draw(N),!0))})}))}},{name:"SpringMass",type:"SpringMass",onClick:()=>{c.value="SpringMass",!(!s.value||!a.value)&&(d?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{const M=[];for(let q=0;q<30;q++){const at=Math.random()*10+2,U=new se({x:Math.random()*D.app.width,y:Math.random()*D.app.height,radius:at,attrs:{fill:It.random().toString()}});U.vx=Math.random()*6-3,U.vy=Math.random()*6-3,U.mass=at,M.push(U)}const N=new Be(M),G=new Te({x:0,y:0,width:D.app.width,height:D.app.height}),rt=new It("#666666");let Q=[];I.clear(),d=ne(()=>(I.delete(Q),Q=[],N.springMass(G,{spring:5e-4}).forEach(([q,at,U,H,yt])=>{yt>0&&Q.push(new ve({x:q,y:at,toX:U,toY:H,attrs:{strokeWidth:"1",stroke:rt.setAlpha(yt).toString()}}))}),I.path(Q),I.path(M),D.ctx.clearRect(),D.draw(Q),D.draw(M),!0))})}))}},{name:"LinePicture",type:"LinePicture",onClick:()=>{c.value="LinePicture",!(!s.value||!a.value)&&(d?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{const M=new se({x:0,y:0,radius:8,attrs:{fill:It.random().toString()}}),$=new se({x:0,y:0,radius:5,attrs:{fill:It.random().toString()}});let N=[p,M,$],G,rt;p.on("clicked",H=>{rt&&I.delete(rt),G&&G.restore(),G=H,H.save(),H.setAttr({fill:"pink",stroke:"green"}),N=[p,M,$];const yt=H.getBoundingClientRect();yt&&(rt=new Te(yt),rt.setAttr({fill:"none",stroke:"#0000ff",strokeWidth:"4"}),N.push(rt))});let Q=0,q=p.shapes[Q].getTotalLength(),at=0;const U=.01;I.clear(),d=ne(()=>{at>1&&(Q++,at=0,Q>p.shapes.length-1&&(Q=0),q=p.shapes[Q].getTotalLength()),D.ctx.clearRect();let{x:H,y:yt}=p.shapes[Q].interpolate(at);M.x=H,M.y=yt;let{x:pt,y:V}=p.shapes[Q].getPointAtLength(at*q);return $.x=pt,$.y=V,I.path(N),D.draw(N),at+=U,!0})})}))}},{name:"WalkMan",type:"WalkMan",onClick:()=>{c.value="WalkMan",!(!s.value||!a.value)&&(d?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{const M=new Lo({x:200,y:200,width:50,height:15,attrs:{stroke:"#666666"}}),$=new Lo({width:50,height:10,attrs:{stroke:"#666666"}}),N=new Lo({x:200,y:200,width:50,height:15,attrs:{stroke:"#666666"}}),G=new Lo({width:50,height:10,attrs:{stroke:"#666666"}});let rt=0,Q=0;function q(){Q+=.2,M.x+=rt,M.y+=Q,N.x+=rt,N.y+=Q}const at=-Math.PI/2;function U(V,P,Bt){const Nt=Math.sin(Bt)*45+90,Tt=Math.sin(Bt+at)*45+45,Qt=P.getPin();V.degree=Nt,P.degree=V.degree+Tt,P.x=V.getPin().x,P.y=V.getPin().y,P.vx=P.getPin().x-Qt.x,P.vy=P.getPin().y-Qt.y}function H(V){const P=V.getPin().y+V.height/2;if(P>D.app.height){const Bt=P-D.app.height;M.y-=Bt,$.y-=Bt,N.y-=Bt,G.y-=Bt,rt-=V.vx,Q-=V.vy}}function yt(){const V=D.app.width+200;M.x>D.app.width+100?(M.x-=V,$.x-=V,N.x-=V,G.x-=V):M.x<-100&&(M.x+=V,$.x+=V,N.x+=V,G.x+=V)}let pt=0;I.clear(),d=ne(()=>(D.ctx.clearRect(),pt+=.06,q(),U(M,$,pt),U(N,G,pt+Math.PI),H($),H(G),yt(),I.path([M,$,N,G]),D.draw([M,$,N,G]),!0))})}))}},{name:"俄罗斯方块",type:"RectGame",onClick:()=>{if(c.value="RectGame",!s.value||!a.value)return;d?.();function I(G){return new Te({x:Math.random()*G,y:0,width:50,height:50,attrs:{fill:It.random().toString()},enableDrag:!0})}const D=.2,M=[];function $(){const G=I(r);return M.push(G),G}let N=$();s.value.getSVG().then(G=>{a.value.getCanvas().then(rt=>{G.clear(),d=ne(()=>(rt.ctx.clearRect(),G.isMouseDown||rt.isMouseDown?(G.path(M),rt.draw(M)):(N&&N.run({gravity:D}),N&&N.y+N.height>=rt.ctx.canvas.height&&(N.y=rt.ctx.canvas.height-N.height,N=$()),M.forEach(Q=>(N&&N!==Q&&N.isIntersectRect(Q)&&(N.y=Q.y-N.height,N.y>=N.height?N=$():N=null),Q)),G.path(M),rt.draw(M)),!0))})})}},{name:"喷泉",type:"PointWater",onClick:()=>{c.value="PointWater",!(!s.value||!a.value)&&(d?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{const M=[];for(let $=0;$<80;$++){const N=new se({x:I.app.width/2,y:I.app.height,radius:2,attrs:{fill:It.random().toString()}});N.vx=Math.random()*2-1,N.vy=Math.random()*-10-10,M.push(N)}I.clear(),d=ne(()=>(M.forEach($=>{$.run({gravity:.5}),($.x-$.radius>I.app.width||$.x+$.radius<0||$.y-$.radius>I.app.height||$.y+$.radius<0)&&($.x=I.app.width/2,$.y=I.app.height,$.vx=Math.random()*2-1,$.vy=Math.random()*-10-10)}),I.path(M),D.ctx.clearRect(),D.draw(M),!0))})}))}},{name:"SpringChain",type:"SpringChain",onClick:()=>{if(c.value="SpringChain",!s.value||!a.value)return;d?.();function I($,N){const G=[];for(let rt=0;rt<3;rt++)G.push(new se({x:$,y:N,radius:20,attrs:{fill:It.random().toString()}}));return G}function D(){const $=[];for(let N=0;N<3;N++)$.push(new ve({attrs:{"stroke-width":"1",stroke:"#666666"}}));return $}const M={spring:.03,friction:.9,gravity:2};s.value.getSVG().then($=>{a.value.getCanvas().then(N=>{const G=D(),rt=I($.app.width/2,$.app.height/2),Q=new se({x:0,y:0}),q=D(),at=I(N.app.width/2,N.app.height/2),U=new se({x:0,y:0}),H=new Be([Q,...rt]),yt=new Be([U,...at]);$.clear(),d=ne(()=>(N.ctx.clearRect(),Q.x=$.app.mousePoint.x,Q.y=$.app.mousePoint.y,H.springChain(M),rt.forEach((pt,V)=>{if(V===0)G[V].x=$.app.mousePoint.x,G[V].y=$.app.mousePoint.y,G[V].toX=pt.x,G[V].toY=pt.y;else{const P=rt[V-1];G[V].x=P.x,G[V].y=P.y,G[V].toX=pt.x,G[V].toY=pt.y}}),$.path(G),$.path(rt),U.x=N.app.mousePoint.x,U.y=N.app.mousePoint.y,yt.springChain(M),at.forEach((pt,V)=>{if(V===0)q[V].x=N.app.mousePoint.x,q[V].y=N.app.mousePoint.y,q[V].toX=pt.x,q[V].toY=pt.y;else{const P=at[V-1];q[V].x=P.x,q[V].y=P.y,q[V].toX=pt.x,q[V].toY=pt.y}}),N.draw(q),N.draw(at),!0))})})}},{name:"多点弹簧",type:"PointSpringMulti",onClick:()=>{c.value="PointSpringMulti",!(!s.value||!a.value)&&(d?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{const M=[new ve({attrs:{stroke:"#666666"}}),new ve({attrs:{stroke:"#666666"}}),new ve({attrs:{stroke:"#666666"}})],$=[];for(let G=0;G<3;G++)$.push(new se({x:Math.random()*I.app.width,y:Math.random()*I.app.height,radius:10,attrs:{fill:It.random().toString()},enableDrag:!0}));const N=new se({radius:20,attrs:{fill:"#ff0000"}});I.clear(),d=ne(()=>(D.ctx.clearRect(),N.runSpringTo($,{spring:.03}),$.forEach((G,rt)=>{M[rt].x=N.x,M[rt].y=N.y,M[rt].toX=G.x,M[rt].toY=G.y}),I.path([...M,...$,N]),D.draw([...M,...$,N]),!0))})}))}},{name:"SpringConnect",type:"SpringConnect",onClick:()=>{c.value="SpringConnect",!(!s.value||!a.value)&&(d?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{const M=[new ve({attrs:{stroke:"#666666"}}),new ve({attrs:{stroke:"#666666"}}),new ve({attrs:{stroke:"#666666"}})],$=[];for(let G=0;G<3;G++)$.push(new se({x:Math.random()*I.app.width,y:Math.random()*I.app.height,radius:10,attrs:{fill:It.random().toString()},enableDrag:!0}));const N=new Be($);I.clear(),d=ne(()=>(N.springConnect({springLength:120}),M[0].x=$[0].x,M[0].y=$[0].y,M[0].toX=$[1].x,M[0].toY=$[1].y,M[1].x=$[1].x,M[1].y=$[1].y,M[1].toX=$[2].x,M[1].toY=$[2].y,M[2].x=$[2].x,M[2].y=$[2].y,M[2].toX=$[0].x,M[2].toY=$[0].y,I.path([...M,...$]),D.ctx.clearRect(),D.draw([...M,...$]),!0))})}))}},{name:"LineQuadraticBezier",type:"QuadraticBezierCurve",onClick:()=>{c.value="QuadraticBezierCurve",!(!s.value||!a.value)&&(d?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{const $=new Rn({x:50,y:I.app.height-50,toX:I.app.width-50,toY:I.app.height-50,cx:I.app.mousePoint.x,cy:I.app.mousePoint.y,attrs:{stroke:"#ff0000","stroke-width":"2"},isLineThrough:!1}),N=new Rn({x:50,y:I.app.height-50,toX:I.app.width-50,toY:I.app.height-50,cx:I.app.mousePoint.x,cy:I.app.mousePoint.y,attrs:{stroke:"#00ff00","stroke-width":"2"},isLineThrough:!0}),G=new Rn({x:50,y:D.ctx.canvas.height-50,toX:D.ctx.canvas.width-50,toY:D.ctx.canvas.height-50,cx:D.app.mousePoint.x,cy:D.app.mousePoint.y,attrs:{stroke:"#ff0000","stroke-width":"2"},isLineThrough:!1}),rt=new Rn({x:50,y:D.ctx.canvas.height-50,toX:D.ctx.canvas.width-50,toY:D.ctx.canvas.height-50,cx:D.app.mousePoint.x,cy:D.app.mousePoint.y,attrs:{stroke:"#00ff00","stroke-width":"2"},isLineThrough:!0});I.clear(),d=ne(()=>(D.ctx.clearRect(),N.cx=$.cx=I.app.mousePoint.x,N.cy=$.cy=I.app.mousePoint.y,I.path($),I.path(N),rt.cx=G.cx=D.app.mousePoint.x,rt.cy=G.cy=D.app.mousePoint.y,D.draw([G,rt]),!0))})}))}},{name:"PointsRandom",type:"PointsRandom",onClick:()=>{c.value="PointsRandom",!(!s.value||!a.value)&&(d?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{I.clear(),D.ctx.clearRect();const M=[];for(let G=0;G<10;G++)M.push({x:Math.random()*I.app.width,y:Math.random()*I.app.height});const $=M.map((G,rt)=>new Te({x:G.x,y:G.y,width:6,height:6,attrs:{fill:rt==0?"#ff0000":rt==M.length-1?"#00ff00":"#666666"}})),N=new bd({points:M,attrs:{stroke:"#ff0000"},isStraight:!0});N.isStraight=!0,I.path($),I.path(N),N.isStraight=!1,D.draw([...$,N])})}))}},{name:"扇形",type:"Sector",onClick:()=>{if(c.value="Sector",!s.value||!a.value)return;d?.();const I=new xd({x:300,y:100,radius:100,startDegree:80,endDegree:200,enableDrag:!0,text:"些许文字",defaultShowText:!1,tip:"提示文字...",attrs:{fill:"pink",stroke:"#666666"}}),D=new xd({x:300,y:100,radius:100,startDegree:80,endDegree:200,enableDrag:!0,text:"些许文字",defaultShowText:!1,tip:"提示文字...",attrs:{fill:"pink",stroke:"#666666"}});s.value.getSVG().then(M=>{a.value.getCanvas().then($=>{M.clear(),d=ne(()=>($.ctx.clearRect(),M.path(I),$.draw(D),!0))})})}},{name:"strokeDash",type:"StrokeDash",onClick:()=>{c.value="StrokeDash",!(!s.value||!a.value)&&(d?.(),h.setAttr({stroke:"#666666",strokeWidth:"4",strokeDasharray:`${_.value} ${_.value}`,strokeDashoffset:`${v.value}`}),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{I.clear(),d=ne(()=>(D.ctx.clearRect(),I.path(h),D.draw(h),!0))})}))}},{name:"strokeDashTween",type:"strokeDashTween",onClick:()=>{c.value="strokeDashTween",!(!s.value||!a.value)&&(d?.(),h.setAttr({stroke:"#ff0000",strokeWidth:"4"}),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{I.clear(),h.strokeDashTween(4e3,{easeFunction:e.easeFunction,onUpdate:()=>{I.path(h),D.ctx.clearRect(),D.draw(h)}})})}))}},{name:"strokeDashTweenParallel",type:"strokeDashTweenParallel",onClick:()=>{c.value="strokeDashTweenParallel",!(!s.value||!a.value)&&(d?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{I.clear(),D.ctx.clearRect(),p.setAttrs({stroke:"none"}),p.strokeDashTween(4e3,{type:"parallel",easeFunction:e.easeFunction,onGroupStart:()=>{p.setAttrs({stroke:It.random().toString()})},onGroupUpdate:()=>{I.path(p),D.ctx.clearRect(),D.draw(p)}})})}))}},{name:"strokeDashTweenSequence",type:"strokeDashTweenSequence",onClick:()=>{c.value="strokeDashTweenSequence",!(!s.value||!a.value)&&(d?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{I.clear(),D.ctx.clearRect(),p.setAttrs({stroke:"none"}),p.strokeDashTween(1e3,{type:"sequence",easeFunction:e.easeFunction,onGroupStart:()=>{p.setAttrs({stroke:It.random().toString()})},onGroupUpdate:()=>{I.path(p),D.ctx.clearRect(),D.draw(p)}})})}))}},{name:"线条动画",type:"InterpolatePath",onClick:()=>{if(c.value="InterpolatePath",!s.value||!a.value)return;d?.();const I=new Fn({x:200,y:200,scalar:1,attrs:{stroke:"#5a82f0"}}),D=new Te({width:100,height:60,x:150,y:170,borderRadius:10,attrs:{stroke:"#ACFFAD"}}),M=new Mi({x:200,y:200,scalar:3,attrs:{stroke:"rgb(200,80,80)"}}),$=Be.generatePointsShape(100,100,100,3);$.x=100,$.y=100,$.setAttr({stroke:"#666666"});const N=Be.generatePointsShape(100,100,100,6);N.x=50,N.y=50,N.setAttr({stroke:"#7EEDFF"});const G=new Be([$,N,I,D,M]);s.value.getSVG().then(rt=>{a.value.getCanvas().then(Q=>{rt.clear(),G.polymorphTween(6e3,{draw:q=>{rt.path(q),Q.ctx.clearRect(),Q.draw(q)}})})})}},{name:"线条动画Group",type:"InterpolatePathGroup",onClick:()=>{if(c.value="InterpolatePathGroup",!s.value||!a.value)return;d?.();const I=new Fn({x:200,y:200,scalar:1,attrs:{stroke:"#5a82f0"}}),D=new Te({width:100,height:60,x:150,y:170,borderRadius:10,attrs:{stroke:"#42B79E"}}),M=new Mi({x:200,y:200,scalar:3,attrs:{stroke:"rgb(200,80,80)"}}),$=new Be([I,D,p,M]);s.value.getSVG().then(N=>{a.value.getCanvas().then(G=>{N.clear(),$.polymorphTween(6e3,{draw:rt=>{N.path(rt),G.ctx.clearRect(),G.draw(rt)}})})})}},{name:"AnimateToTweenCSS",type:"AnimateToTweenCSS",onClick:()=>{c.value="AnimateToTweenCSS",!(!s.value||!a.value)&&(d?.(),et.setStyle(l.value,{transform:""}))}},{name:"Rosetta",type:"Rosetta",onClick:()=>{c.value="Rosetta",!(!s.value||!a.value)&&(d?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{const M=Be.generateRosettaShape(120,120,55,35,6);M.setAttr({stroke:"none",fill:"none"});const $=new Te({x:0,y:0,width:20,height:10,attrs:{stroke:"none",fill:"green"}}),N=new ee({attrs:{stroke:"red","stroke-width":"3",fill:"none"}});I.clear(),D.ctx.clearRect();const G=new Ie({frameDuration:15e3});G.addTween({progress:0},{progress:1},{onUpdate:rt=>{const Q=M.trailPath(N,rt.progress);$.x=Q.x,$.y=Q.y,$.degree=Q.alpha+90,I.path([N,$]),D.ctx.clearRect(),D.draw([N,$])}}),G.play()})}))}},{name:"Confetti",type:"Confetti",onClick:()=>{c.value="Confetti",!(!s.value||!a.value)&&(d?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then(D=>{const M=new oy(D.app.width,D.app.height,{angle:Kt(55,125),spread:Kt(50,70),particleCount:Kt(50,100)});I.clear(),d=ne(()=>(D.ctx.clearRect(),I.path(M),D.draw(M),!0))})}))}}],k=[{type:"translateTo",onClick:()=>f("translateTo")},{type:"translateXTo",onClick:()=>f("translateXTo")},{type:"translateYTo",onClick:()=>f("translateYTo")},{type:"translateZTo",onClick:()=>f("translateZTo")},{type:"translate3dTo",onClick:()=>f("translate3dTo")},{type:"rotateTo",onClick:()=>f("rotateTo")},{type:"rotateXTo",onClick:()=>f("rotateXTo")},{type:"rotateYTo",onClick:()=>f("rotateYTo")},{type:"rotateZTo",onClick:()=>f("rotateZTo")},{type:"rotate3dTo",onClick:()=>f("rotate3dTo")},{type:"scaleTo",onClick:()=>f("scaleTo")},{type:"scaleXTo",onClick:()=>f("scaleXTo")},{type:"scaleYTo",onClick:()=>f("scaleYTo")},{type:"scaleZTo",onClick:()=>f("scaleZTo")},{type:"scale3dTo",onClick:()=>f("scale3dTo")},{type:"skewTo",onClick:()=>f("skewTo")},{type:"skewXTo",onClick:()=>f("skewXTo")},{type:"skewYTo",onClick:()=>f("skewYTo")},{type:"perspective",onClick:()=>f("perspective")}];let C;function z(){C||(C=new We(i.value));const I=50,D=0,M=0,$=0,N=C.width-I,G=C.height-I,rt=C.height-I,Q=C.width/2-I/2,q=C.height/2-I/2,at={},U={};switch(u.value){case"translateTo":Object.assign(at,{translateTo:[D,M]}),Object.assign(U,{translateTo:[N,G]});break;case"translateXTo":Object.assign(at,{translateXTo:D}),Object.assign(U,{translateXTo:N});break;case"translateYTo":Object.assign(at,{translateYTo:M}),Object.assign(U,{translateYTo:G});break;case"translateZTo":Object.assign(at,{translateTo:[Q,q],translateZTo:$}),Object.assign(U,{translateTo:[Q,q],translateZTo:rt});break;case"translate3dTo":Object.assign(at,{translate3dTo:[Q-50,q-50,$]}),Object.assign(U,{translate3dTo:[Q+50,q+50,rt]});break;case"rotateTo":Object.assign(at,{translateTo:[Q,q],rotateTo:0}),Object.assign(U,{translateTo:[Q,q],rotateTo:360});break;case"rotateXTo":Object.assign(at,{translateTo:[Q,q],rotateXTo:0}),Object.assign(U,{translateTo:[Q,q],rotateXTo:180});break;case"rotateYTo":Object.assign(at,{translateTo:[Q,q],rotateYTo:0}),Object.assign(U,{translateTo:[Q,q],rotateYTo:180});break;case"rotateZTo":Object.assign(at,{translateTo:[Q,q],rotateZTo:0}),Object.assign(U,{translateTo:[Q,q],rotateZTo:360});break;case"rotate3dTo":Object.assign(at,{translateTo:[Q,q],rotate3dTo:[0,0,0]}),Object.assign(U,{translateTo:[Q,q],rotate3dTo:[360,360,360]});break;case"scaleTo":Object.assign(at,{translateTo:[Q,q],scaleTo:1}),Object.assign(U,{translateTo:[Q,q],scaleTo:3});break;case"scaleXTo":Object.assign(at,{translateTo:[Q,q],scaleXTo:1}),Object.assign(U,{translateTo:[Q,q],scaleXTo:3});break;case"scaleYTo":Object.assign(at,{translateTo:[Q,q],scaleYTo:1}),Object.assign(U,{translateTo:[Q,q],scaleYTo:3});break;case"scaleZTo":Object.assign(at,{translateTo:[Q,q],scaleZTo:1}),Object.assign(U,{translateTo:[Q,q],scaleZTo:3});break;case"scale3dTo":Object.assign(at,{translateTo:[Q,q],scale3dTo:[1,1,1]}),Object.assign(U,{translateTo:[Q,q],scale3dTo:[3,3,3]});break;case"skewTo":Object.assign(at,{translateTo:[Q,q],skewTo:0}),Object.assign(U,{translateTo:[Q,q],skewTo:30});break;case"skewXTo":Object.assign(at,{translateTo:[Q,q],skewXTo:0}),Object.assign(U,{translateTo:[Q,q],skewXTo:30});break;case"skewYTo":Object.assign(at,{translateTo:[Q,q],skewYTo:0}),Object.assign(U,{translateTo:[Q,q],skewYTo:30});break;case"perspective":Object.assign(at,{translateTo:[Q,q],perspective:0}),Object.assign(U,{translateTo:[Q,q],perspective:1e3});break}const H=new Ie({frameDuration:2e3});H.addTween(at,U,{easeFunction:e.easeFunction,onUpdate:yt=>{et.setStyle(l.value,et.convertAttrs(l.value,yt))}}),H.play()}function tt(){return new Promise(I=>{a.value.getCanvas().then(D=>{me.downloadFromSVGString(D.ctx.toRawSVG().raw,"CanvasToSVG").then(()=>{setTimeout(()=>{I()},3e3)})})})}return te(()=>{}),t({}),(I,D)=>(L(),B(Xt,null,[E("div",eb,[ct(oe,{asyncClick:tt},{default:_t(()=>[jt(" downloadFromCanvasToSVG ")]),_:1})]),E("div",sb,[(L(),B(Xt,null,ye(m,M=>ct(oe,{key:M.type,item:M,onClick:M.onClick,stylePattern:c.value==M.type?"fullfilled":"outline"},{default:_t(()=>[jt(bt(M.name),1)]),_:2},1032,["item","onClick","stylePattern"])),64))]),ro(E("div",null," 当前缓动函数:"+bt(e.easeName),513),[[zs,c.value=="AnimateToTweenCSS"]]),ro(E("div",ob,[(L(),B(Xt,null,ye(k,M=>ct(oe,{key:M.type,item:M,onClick:M.onClick,stylePattern:u.value==M.type?"fullfilled":"outline"},{default:_t(()=>[jt(bt(M.type),1)]),_:2},1032,["item","onClick","stylePattern"])),64))],512),[[zs,c.value=="AnimateToTweenCSS"]]),ro(E("div",rb,[E("div",nb,[E("div",null,"stroke-dasharray: "+bt(_.value)+","+bt(_.value),1),ct(go,{max:988,defaultValue:_.value,onChange:w},null,8,["defaultValue"])]),E("div",ab,[E("div",null,"stroke-dashoffset: "+bt(v.value),1),ct(go,{max:988,defaultValue:v.value,onChange:g},null,8,["defaultValue"])])],512),[[zs,c.value=="StrokeDash"]]),ro(E("div",ib,[ct(rh,{ref_key:"svgRef",ref:s,bgColor:"#ffffff"},null,512)],512),[[zs,c.value!=="AnimateToTweenCSS"]]),ro(E("div",lb,[ct(Xe,{ref_key:"canvasRef",ref:a,bgColor:"#333333","enable-custom-context":!1},null,512)],512),[[zs,c.value!=="AnimateToTweenCSS"]]),ro(E("div",{ref_key:"tweenCSSContainerRef",ref:i,style:{height:"400px"},class:"css-area"},[E("div",{ref_key:"divTweenTargetRef",ref:l,class:"tween-css-target"},null,512)],512),[[zs,c.value=="AnimateToTweenCSS"]])],64))}}),nh=lt(cb,[["styles",[`.btns[data-v-c30e1503]{display:flex;flex-wrap:wrap}.btns>*[data-v-c30e1503]{margin-right:10px;margin-bottom:10px}.sub-btns[data-v-c30e1503]{padding-top:10px;background-color:#dbffff}.css-area[data-v-c30e1503]{background-color:#fff}.tween-css-target[data-v-c30e1503]{width:50px;height:50px;background-color:#cfc;background-color:#fcc;background-color:#ccf}
154
154
  `]],["__scopeId","data-v-c30e1503"]]),ub=["fill"],db=["fill"],hb=K({__name:"SVGCheck.ce",props:{width:{default:"10px"},color:{default:vt.colorPrimary}},setup(o){const t=o;return(e,s)=>(L(),B("svg",{style:A(["width: "+t.width]),viewBox:"0 0 7 5",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[E("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,ub),E("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,db)],4))}}),fb=lt(hb,[["styles",[`svg[data-v-8fe3f9fd]{transform-origin:center}
155
155
  `]],["__scopeId","data-v-8fe3f9fd"]]),tl=o=>(So("data-v-7aebdea0"),o=o(),Eo(),o),pb=[tl(()=>E("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"},null,-1)),tl(()=>E("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"},null,-1)),tl(()=>E("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"},null,-1))],mb=K({__name:"SVGCleanUp.ce",props:{width:{default:"16px"},color:{default:vt.colorPrimary}},setup(o){const t=o;return(e,s)=>(L(),B("svg",{style:A(["width: "+t.width]),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},pb,4))}}),gb=lt(mb,[["styles",[`svg[data-v-7aebdea0]{transform-origin:center}
156
156
  `]],["__scopeId","data-v-7aebdea0"]]),yb=["width","height"],vb=["fill"],bb=K({__name:"SVGDelete.ce",props:{width:{default:"16px"},height:{},color:{default:vt.colorPrimary}},setup(o){const t=o;return(e,s)=>(L(),B("svg",{viewBox:"0 0 24 24",width:t.width,height:t.height??t.width,xmlns:"http://www.w3.org/2000/svg"},[E("path",{fill:t.color,d:"M7 21q-.825 0-1.412-.587T5 19V6H4V4h5V3h6v1h5v2h-1v13q0 .825-.587 1.413T17 21zM17 6H7v13h10zM9 17h2V8H9zm4 0h2V8h-2zM7 6v13z"},null,8,vb)],8,yb))}}),_b=lt(bb,[["styles",[`svg[data-v-8745630f]{transform-origin:center}
@@ -193,7 +193,7 @@ Component that was made reactive: `,o)),E(o,t,e,s,r,a,n,!0)}function Up(o){retur
193
193
  `]],["__scopeId","data-v-51a259a7"]]),Kb={class:"loading-9"},Qb=K({__name:"Loading9.ce",props:{color:{default:vt.colorPrimary}},setup(o){const e={borderTopColor:o.color};return(s,r)=>(L(),B("div",Kb,[E("div",{style:e})]))}}),Jb=lt(Qb,[["styles",[`.loading-9[data-v-ee782ac8]{position:relative;display:inline-flex;justify-content:center;align-items:center;width:100%;height:100%}.loading-9 div[data-v-ee782ac8]{width:50%;aspect-ratio:1 / 1;border:3px solid rgba(0,0,0,.1);border-radius:50%;animation:spin-ee782ac8 1s linear infinite}@keyframes spin-ee782ac8{to{transform:rotate(360deg)}}
194
194
  `]],["__scopeId","data-v-ee782ac8"]]),t_={class:"loading-10"},e_={viewBox:"0 0 50 50"},s_=K({__name:"Loading10.ce",props:{color:{default:vt.colorPrimary}},setup(o){const t=o;return(e,s)=>(L(),B("div",t_,[(L(),B("svg",e_,[E("circle",{class:"ring",cx:"25",cy:"25",r:"20",style:A(["stroke: rgba(0,0,0,0.1)"])},null,4),E("circle",{class:"ball",cx:"25",cy:"5",r:"3.5",style:A(["fill: "+t.color])},null,4)]))]))}}),o_=lt(s_,[["styles",[`.loading-10[data-v-984ad184]{position:relative;display:inline-flex;justify-content:center;align-items:center;width:100%;height:100%}.loading-10 svg[data-v-984ad184]{width:50%;aspect-ratio:1 / 1;transform-origin:center;animation:1.5s spin-984ad184 ease infinite}.ring[data-v-984ad184]{fill:none;stroke-width:2}.ball[data-v-984ad184]{stroke:none}@keyframes spin-984ad184{to{transform:rotate(360deg)}}
195
195
  `]],["__scopeId","data-v-984ad184"]]),r_={class:"loading-11",ref:"loading11"},n_={class:"container container-1"},a_={class:"container container-2"},i_={class:"container container-3"},l_=K({__name:"Loading11.ce",props:{color:{default:vt.colorPrimary},width:{default:"0.8em"}},setup(o){const t=o;return(e,s)=>(L(),B("div",r_,[E("div",{class:"loading-11-inner",style:A({width:t.width,height:t.width})},[E("div",n_,[E("div",{class:"dot dot-1",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-2",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-3",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-4",style:A({backgroundColor:t.color})},null,4)]),E("div",a_,[E("div",{class:"dot dot-1",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-2",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-3",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-4",style:A({backgroundColor:t.color})},null,4)]),E("div",i_,[E("div",{class:"dot dot-1",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-2",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-3",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-4",style:A({backgroundColor:t.color})},null,4)])],4)],512))}}),ih=lt(l_,[["styles",[`.loading-11[data-v-7fb118c9]{position:relative;display:inline-flex;justify-content:center;align-items:center;width:100%;height:100%}.loading-11-inner[data-v-7fb118c9]{position:relative}.loading-11-inner .container[data-v-7fb118c9]{position:absolute;width:100%;height:100%}.loading-11-inner .container .dot[data-v-7fb118c9]{width:20%;height:20%;border-radius:100%;position:absolute;animation:bouncedelay-7fb118c9 1.2s infinite ease-in-out;animation-fill-mode:both}.loading-11-inner .container .dot-1[data-v-7fb118c9]{top:0;left:0}.loading-11-inner .container .dot-2[data-v-7fb118c9]{top:0;right:0}.loading-11-inner .container .dot-3[data-v-7fb118c9]{right:0;bottom:0}.loading-11-inner .container .dot-4[data-v-7fb118c9]{left:0;bottom:0}.loading-11-inner .container-1 .dot-2[data-v-7fb118c9]{animation-delay:-.9s}.loading-11-inner .container-1 .dot-3[data-v-7fb118c9]{animation-delay:-.6s}.loading-11-inner .container-1 .dot-4[data-v-7fb118c9]{animation-delay:-.3s}.loading-11-inner .container-2[data-v-7fb118c9]{transform:rotate(45deg)}.loading-11-inner .container-2 .dot-1[data-v-7fb118c9]{animation-delay:-1.1s}.loading-11-inner .container-2 .dot-2[data-v-7fb118c9]{animation-delay:-.8s}.loading-11-inner .container-2 .dot-3[data-v-7fb118c9]{animation-delay:-.5s}.loading-11-inner .container-2 .dot-4[data-v-7fb118c9]{animation-delay:-.2s}.loading-11-inner .container-3[data-v-7fb118c9]{transform:rotate(90deg)}.loading-11-inner .container-3 .dot-1[data-v-7fb118c9]{animation-delay:-1s}.loading-11-inner .container-3 .dot-2[data-v-7fb118c9]{animation-delay:-.7s}.loading-11-inner .container-3 .dot-3[data-v-7fb118c9]{animation-delay:-.4s}.loading-11-inner .container-3 .dot-4[data-v-7fb118c9]{animation-delay:-.1s}@keyframes bouncedelay-7fb118c9{0%,80%,to{transform:scale(.3)}40%{transform:scale(1)}}
196
- `]],["__scopeId","data-v-7fb118c9"]]),c_={class:"face front"},u_={class:"face back"},d_=lt(K({customOptions:{},inheritAttrs:!0,__name:"CardFlip.ce",props:{type:{default:""},dur:{default:500},perspective:{default:"600px"}},emits:["click"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(!1),a=()=>{n.value=!n.value,r("click",n.value)};return t({}),(i,l)=>(L(),B("div",{class:"card-flip-scene",style:A({perspective:s.perspective})},[E("div",{class:ae(["card",[s.type,{flip:n.value}]]),style:A({transition:`transform ${s.dur}ms`}),onClick:a},[E("div",c_,[Tt(i.$slots,"front",{},()=>[jt("front")],!0)]),E("div",u_,[Tt(i.$slots,"back",{},()=>[jt("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)}
196
+ `]],["__scopeId","data-v-7fb118c9"]]),c_={class:"face front"},u_={class:"face back"},d_=lt(K({customOptions:{},inheritAttrs:!0,__name:"CardFlip.ce",props:{type:{default:""},dur:{default:500},perspective:{default:"600px"}},emits:["click"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(!1),a=()=>{n.value=!n.value,r("click",n.value)};return t({}),(i,l)=>(L(),B("div",{class:"card-flip-scene",style:A({perspective:s.perspective})},[E("div",{class:ae(["card",[s.type,{flip:n.value}]]),style:A({transition:`transform ${s.dur}ms`}),onClick:a},[E("div",c_,[Ct(i.$slots,"front",{},()=>[jt("front")],!0)]),E("div",u_,[Ct(i.$slots,"back",{},()=>[jt("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)}
197
197
  `]],["__scopeId","data-v-1ee90a6e"]]),h_=K({customOptions:{BooleanBox:Gs},__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,s=t,r=R([]),n=(l,c)=>{l&&(r.value[c]=l)};let a=R(e.initIndex);const i=(l,c)=>{a.value!==l?(r.value[a.value].toggleValue(),c&&(a.value=l,s("change",e.options[a.value]))):c||r.value[a.value].setValue(!0)};return(l,c)=>(L(!0),B(Xt,null,ye(l.options,(u,d)=>(L(),B("div",{class:"radio-group",key:d,style:A(["margin-left:"+(d>0?e.itemPadding:0)])},[ct(Gs,{ref_for:!0,ref:f=>n(f,d),selected:Ot(a)==d,disabled:l.disabledIndexs&&l.disabledIndexs.findIndex(f=>f===d)>=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:f=>i(d,f)},null,8,["selected","disabled","isRounded","label","labelPadding","colorBackground","colorForeground","colorDisabled","colorChangeMode","boxWidth","fontSize","onChange"])],4))),128))}}),iw="",lh=lt(h_,[["__scopeId","data-v-308d559c"]]),f_=K({customOptions:{BooleanBox:Gs},__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,s=t;let r=Zt(e.initIndexs??[]);const n=(a,i)=>{const l=r.findIndex(u=>u===a);let c=!1;l>=0&&!i?(r.splice(l,1),c=!0):l<0&&i&&(r.push(a),c=!0),c&&s("change",r.map(u=>e.options[u]))};return(a,i)=>(L(!0),B(Xt,null,ye(a.options,(l,c)=>(L(),B("div",{class:"checkbox-group",key:c,style:A(["margin-left:"+(c>0?e.itemPadding:0)])},[ct(Gs,{selected:Ot(r).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=>n(c,u)},null,8,["selected","disabled","isRounded","label","labelPadding","colorBackground","colorForeground","colorDisabled","colorChangeMode","boxWidth","fontSize","onChange"])],4))),128))}}),lw="",el=lt(f_,[["__scopeId","data-v-4c28fda3"]]),ch=lt(K({customOptions:{RadioGroup:lh,CheckboxGroup:el,InputRange:go},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 s=o,r=R(Math.floor(s.width/2)),n=`
198
198
  :root {
199
199
  --spin-cube-z: -${r.value}px;
@@ -201,18 +201,18 @@ Component that was made reactive: `,o)),E(o,t,e,s,r,a,n,!0)}function Up(o){retur
201
201
  :host {
202
202
  --spin-cube-z: -${r.value}px;
203
203
  }
204
- `,a=R();Et(a,()=>{a.value&&et.injectStyle(n,a.value)});const i=R(s.perspective+"px"),l=m=>{i.value=m==2e3?"none":m+"px"},c=R("50%"),u=m=>{c.value=m+"%"},d=R("50%"),f=m=>{d.value=m+"%"},p=`translateZ(-${r.value}px)`,h=R(p),b=m=>{switch(m){case"front":h.value=p+" rotateY(0deg)";break;case"right":h.value=p+" rotateY(-90deg)";break;case"back":h.value=p+" rotateY(-180deg)";break;case"left":h.value=p+" rotateY(90deg)";break;case"top":h.value=p+" rotateX(-90deg)";break;case"bottom":h.value=p+" rotateX(90deg)";break;default:h.value=p;break}},_=R(!1),v=m=>{m.length?_.value=!0:_.value=!1},w=R("visible"),g=m=>{m.length?w.value="visible":w.value="hidden"};return t({}),(m,k)=>(L(),B("div",{ref_key:"container",ref:a},[E("div",{class:"cube-scene",style:A({width:`${s.width}px`,height:`${s.height}px`,perspective:`${i.value}`,perspectiveOrigin:`${c.value} ${d.value}`})},[E("div",{class:ae(["cube",{spinning:_.value}]),style:A({transformStyle:"preserve-3d",transform:h.value,transition:`transform ${s.dur}ms`})},[E("div",{class:"face front",style:A({transform:`rotateY(0deg) translateZ(${r.value}px)`,backfaceVisibility:w.value})},[Tt(m.$slots,"front",{},()=>[jt("front")],!0)],4),E("div",{class:"face back",style:A({transform:`rotateY(180deg) translateZ(${r.value}px)`,backfaceVisibility:w.value})},[Tt(m.$slots,"back",{},()=>[jt("back")],!0)],4),E("div",{class:"face right",style:A({transform:`rotateY(90deg) translateZ(${r.value}px)`,backfaceVisibility:w.value})},[Tt(m.$slots,"right",{},()=>[jt("right")],!0)],4),E("div",{class:"face left",style:A({transform:`rotateY(-90deg) translateZ(${r.value}px)`,backfaceVisibility:w.value})},[Tt(m.$slots,"left",{},()=>[jt("left")],!0)],4),E("div",{class:"face top",style:A({transform:`rotateX(90deg) translateZ(${r.value}px)`,backfaceVisibility:w.value})},[Tt(m.$slots,"top",{},()=>[jt("top")],!0)],4),E("div",{class:"face bottom",style:A({transform:`rotateX(-90deg) translateZ(${r.value}px)`,backfaceVisibility:w.value})},[Tt(m.$slots,"bottom",{},()=>[jt("bottom")],!0)],4)],6)],4),E("div",null,[ct(lh,{options:["front","right","back","left","top","bottom"],onChange:b})]),E("div",null,[ct(el,{options:["Backface visible"],onChange:g})]),E("div",null,[ct(el,{options:["spin cube"],onChange:v})]),E("div",null,[jt(" perspective: "),ct(go,{min:1,max:2e3,defaultValue:s.perspective,unit:"px",onChange:l},null,8,["defaultValue"])]),E("div",null,[jt(" perspective-origin x: "),ct(go,{min:0,max:100,defaultValue:50,unit:"%",onChange:u})]),E("div",null,[jt(" perspective-origin y: "),ct(go,{min:0,max:100,defaultValue:50,unit:"%",onChange:f})])],512))}}),[["styles",[`.cube[data-v-93368194]{position:relative;width:100%;height:100%}.face[data-v-93368194]{position:absolute;width:100%;height:100%}.front[data-v-93368194]{background:hsla(0,100%,50%,.7)}.right[data-v-93368194]{background:hsla(60,100%,50%,.7)}.back[data-v-93368194]{background:hsla(120,100%,50%,.7)}.left[data-v-93368194]{background:hsla(180,100%,50%,.7)}.top[data-v-93368194]{background:hsla(240,100%,50%,.7)}.bottom[data-v-93368194]{background:hsla(300,100%,50%,.7)}.spinning[data-v-93368194]{animation:spinCube-93368194 8s infinite ease-in-out}@keyframes spinCube-93368194{0%{transform:translateZ(var(--spin-cube-z)) rotateX(0) rotateY(0)}to{transform:translateZ(var(--spin-cube-z)) rotateX(360deg) rotateY(360deg)}}
204
+ `,a=R();Et(a,()=>{a.value&&et.injectStyle(n,a.value)});const i=R(s.perspective+"px"),l=m=>{i.value=m==2e3?"none":m+"px"},c=R("50%"),u=m=>{c.value=m+"%"},d=R("50%"),f=m=>{d.value=m+"%"},p=`translateZ(-${r.value}px)`,h=R(p),b=m=>{switch(m){case"front":h.value=p+" rotateY(0deg)";break;case"right":h.value=p+" rotateY(-90deg)";break;case"back":h.value=p+" rotateY(-180deg)";break;case"left":h.value=p+" rotateY(90deg)";break;case"top":h.value=p+" rotateX(-90deg)";break;case"bottom":h.value=p+" rotateX(90deg)";break;default:h.value=p;break}},_=R(!1),v=m=>{m.length?_.value=!0:_.value=!1},w=R("visible"),g=m=>{m.length?w.value="visible":w.value="hidden"};return t({}),(m,k)=>(L(),B("div",{ref_key:"container",ref:a},[E("div",{class:"cube-scene",style:A({width:`${s.width}px`,height:`${s.height}px`,perspective:`${i.value}`,perspectiveOrigin:`${c.value} ${d.value}`})},[E("div",{class:ae(["cube",{spinning:_.value}]),style:A({transformStyle:"preserve-3d",transform:h.value,transition:`transform ${s.dur}ms`})},[E("div",{class:"face front",style:A({transform:`rotateY(0deg) translateZ(${r.value}px)`,backfaceVisibility:w.value})},[Ct(m.$slots,"front",{},()=>[jt("front")],!0)],4),E("div",{class:"face back",style:A({transform:`rotateY(180deg) translateZ(${r.value}px)`,backfaceVisibility:w.value})},[Ct(m.$slots,"back",{},()=>[jt("back")],!0)],4),E("div",{class:"face right",style:A({transform:`rotateY(90deg) translateZ(${r.value}px)`,backfaceVisibility:w.value})},[Ct(m.$slots,"right",{},()=>[jt("right")],!0)],4),E("div",{class:"face left",style:A({transform:`rotateY(-90deg) translateZ(${r.value}px)`,backfaceVisibility:w.value})},[Ct(m.$slots,"left",{},()=>[jt("left")],!0)],4),E("div",{class:"face top",style:A({transform:`rotateX(90deg) translateZ(${r.value}px)`,backfaceVisibility:w.value})},[Ct(m.$slots,"top",{},()=>[jt("top")],!0)],4),E("div",{class:"face bottom",style:A({transform:`rotateX(-90deg) translateZ(${r.value}px)`,backfaceVisibility:w.value})},[Ct(m.$slots,"bottom",{},()=>[jt("bottom")],!0)],4)],6)],4),E("div",null,[ct(lh,{options:["front","right","back","left","top","bottom"],onChange:b})]),E("div",null,[ct(el,{options:["Backface visible"],onChange:g})]),E("div",null,[ct(el,{options:["spin cube"],onChange:v})]),E("div",null,[jt(" perspective: "),ct(go,{min:1,max:2e3,defaultValue:s.perspective,unit:"px",onChange:l},null,8,["defaultValue"])]),E("div",null,[jt(" perspective-origin x: "),ct(go,{min:0,max:100,defaultValue:50,unit:"%",onChange:u})]),E("div",null,[jt(" perspective-origin y: "),ct(go,{min:0,max:100,defaultValue:50,unit:"%",onChange:f})])],512))}}),[["styles",[`.cube[data-v-93368194]{position:relative;width:100%;height:100%}.face[data-v-93368194]{position:absolute;width:100%;height:100%}.front[data-v-93368194]{background:hsla(0,100%,50%,.7)}.right[data-v-93368194]{background:hsla(60,100%,50%,.7)}.back[data-v-93368194]{background:hsla(120,100%,50%,.7)}.left[data-v-93368194]{background:hsla(180,100%,50%,.7)}.top[data-v-93368194]{background:hsla(240,100%,50%,.7)}.bottom[data-v-93368194]{background:hsla(300,100%,50%,.7)}.spinning[data-v-93368194]{animation:spinCube-93368194 8s infinite ease-in-out}@keyframes spinCube-93368194{0%{transform:translateZ(var(--spin-cube-z)) rotateX(0) rotateY(0)}to{transform:translateZ(var(--spin-cube-z)) rotateX(360deg) rotateY(360deg)}}
205
205
  `]],["__scopeId","data-v-93368194"]]),p_=o=>(So("data-v-57b7fa75"),o=o(),Eo(),o),m_={class:"ring-indicator"},g_={class:"ring-text"},y_=p_(()=>E("span",null,"%",-1)),uh=lt(K({customOptions:{Canvas:Xe},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 s=R(0);const r=wg(()=>{const c=re(Math.floor(e.percent),0,100);return s.value<c?s.value=Math.min(s.value+1,c):s.value>c&&(s.value=Math.max(s.value-1,c)),xe(s.value/100,2)},20),n=R(0),a=R(0),i=(c,u)=>{n.value=c,a.value=u},l=R();return Et(l,()=>{l.value&&l.value.getCanvas().then(c=>{const u=new kd({width:n.value,height:a.value,startDegree:0,endDegree:180,extendDegree:15,lineWidth:e.lineWidth,bgColor:e.bgColor,startColor:e.startColor,endColor:e.endColor});ne(()=>(c.ctx.clearRect(),u.setPercent(r()),c.draw(u),!0))})}),t({}),(c,u)=>(L(),B("div",m_,[ct(Xe,{ref_key:"canvasRef",ref:l,onResize:i},null,512),E("div",g_,[E("span",null,bt(Ot(s)),1),y_])]))}}),[["styles",[`.ring-indicator[data-v-57b7fa75]{position:relative;width:100%;height:100%}.ring-text[data-v-57b7fa75]{position:absolute;bottom:0;left:0;width:100%;text-align:center;font-family:D-DINExp;color:#333;padding-bottom:20px}.ring-text>span[data-v-57b7fa75]:nth-child(1){font-size:64px}.ring-text>span[data-v-57b7fa75]:nth-child(2){font-size:20px}
206
206
  `]],["__scopeId","data-v-57b7fa75"]]),dh=o=>(So("data-v-8b4a3cb1"),o=o(),Eo(),o),v_=[dh(()=>E("div",{class:"left"},null,-1)),dh(()=>E("div",{class:"right"},null,-1))],b_={key:0},__={key:1},yo=10,No=4,hh=lt(K({customOptions:{Container:wt},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,s=R(0),r=(n,a)=>{s.value=Math.floor(Math.min(n,a))};return t({}),(n,a)=>(L(),Mt(wt,{onResize:r,type:"full"},{default:_t(()=>[E("div",{class:"ring",style:A({width:s.value+"px",height:s.value+"px",padding:yo+"px",background:`linear-gradient(180deg, ${e.startColor} 0%, ${e.endColor} 100%)`})},[E("div",{class:"ring-rotate",style:A({animation:`rotate-reverse ${e.dur}ms infinite linear`,mask:`radial-gradient(transparent ${s.value/2-yo-No}px, #000 ${s.value/2-yo-No}px)`})},v_,4),E("div",{class:"ring-content",style:A({top:yo+No+"px",left:yo+No+"px",width:s.value-(yo+No)*2+"px",height:s.value-(yo+No)*2+"px"})},[e.text?(L(),B("div",b_,bt(e.text),1)):$t("",!0),e.secondText?(L(),B("div",__,bt(e.secondText),1)):$t("",!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}}
207
207
  `,`.ring[data-v-8b4a3cb1]{position:relative;display:block;margin:0 auto;border-radius:50%;overflow:hidden;box-sizing:border-box}.ring-rotate[data-v-8b4a3cb1]{width:100%;height:100%;position:relative;overflow:hidden;box-sizing:border-box;border-radius:50%}.ring-content[data-v-8b4a3cb1]{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-8b4a3cb1]:nth-child(1){font-size:20px;font-weight:700}.ring-content>div[data-v-8b4a3cb1]:nth-child(2){font-size:14px;margin-top:6px}.left[data-v-8b4a3cb1],.right[data-v-8b4a3cb1]{position:absolute;top:0;width:50%;height:100%;z-index:0}.left[data-v-8b4a3cb1]{left:0;background:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.5))}.right[data-v-8b4a3cb1]{right:0;background:linear-gradient(180deg,rgba(255,255,255,1),rgba(255,255,255,.5))}
208
208
  `]],["__scopeId","data-v-8b4a3cb1"]]),fh=lt(K({customOptions:{Container:wt},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,s=R(),r=R(40),n=R(20),a=R(20),i=(v,w)=>{r.value=Math.floor(v/(6+1)),n.value=Math.floor(w),a.value=Math.max(12,n.value)},l=()=>{e.initStart&&b(e.startTime)};let c;const u=()=>{c?.()},d=Zt([0,0,0,0,0,0]),f=Zt([0,0,0,0,0,0]),p=[0,0,0,0,0,0];let h=0;const b=v=>{v&&(Um(Gm(v),p),p.forEach((w,g)=>{d[g]=w,f[g]=w})),u(),h=0,_(pe(),0,!1),c=xg((w,g,m)=>{_(w,g,m)},1e3)},_=(v,w,g)=>{if(g)h=w;else{if(h>0){p.forEach((k,C)=>{d[C]=k,f[C]=k});const m=h+1;e.creaseType=="increase"?(Qa(d,m),Qa(f,m+1)):(Ja(d,m),Ja(f,m+1)),h=0}else e.creaseType=="increase"?Qa(f,1):Ja(f,1);Ti(()=>{f.forEach((m,k)=>{d[k]=m})},e.dur)}};return t({start:b,pause:u}),(v,w)=>(L(),Mt(wt,{ref_key:"containerRef",ref:s,type:"full",overflow:"visible","style-sheets":{"--yz-clock-flipper-bg-color":e.bgColor,"--yz-clock-flipper-text-color":e.textColor,"--yz-clock-flipper-border-radius":e.borderRadius+"px","--yz-clock-flipper-gap":e.gap+"px","--yz-clock-flipper-gap-double":e.gap*2+"px","--yz-clock-flipper-gap-four":e.gap*4+"px","--yz-clock-flipper-animation-duration":e.dur+"ms","--yz-clock-flipper-perspective":e.perspective+"px"},onResize:i,onReady:l},{default:_t(()=>[E("div",{class:"clock-flipper",style:A({fontSize:a.value+"px",lineHeight:n.value+"px"})},[(L(!0),B(Xt,null,ye(d,(g,m)=>(L(),B(Xt,{key:m},[E("div",{class:ae(["flip",[e.flipDirection,f[m]!=g?"go":""]]),style:A({width:r.value+"px"})},[E("div",{class:ae(["front digital",[`flipper_${m}`,`number_${g}`]])},null,2),E("div",{class:ae(["back digital",[`number_${f[m]}`]])},null,2)],6),m==1||m==3?(L(),B("div",{key:0,class:"gap",style:A({fontSize:Math.floor(a.value*.6)+"px",lineHeight:0})}," : ",4)):$t("",!0)],64))),128))],4)]),_:1},8,["style-sheets"]))}}),[["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)}}
209
209
  `,`.clock-flipper[data-v-0a7bd62f]{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-0a7bd62f]{position:relative;height:100%;box-sizing:border-box;color:var(--yz-clock-flipper-text-color)}.flip+.flip[data-v-0a7bd62f]{margin-left:var(--yz-clock-flipper-gap-double)}.flip.down .front[data-v-0a7bd62f]:after,.flip.down .back[data-v-0a7bd62f]:before{z-index:1}.flip.down .front[data-v-0a7bd62f]:before{z-index:3}.flip.down .back[data-v-0a7bd62f]:after{z-index:2;transform-origin:50% 0%;transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(180deg)}.flip.down.go .front[data-v-0a7bd62f]: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-0a7bd62f]:after{animation:backFlipDown var(--yz-clock-flipper-animation-duration) ease-in-out both}.flip.up .front[data-v-0a7bd62f]:before,.flip.up .back[data-v-0a7bd62f]:after{z-index:1}.flip.up .front[data-v-0a7bd62f]:after{z-index:3}.flip.up .back[data-v-0a7bd62f]:before{z-index:2;transform-origin:50% 100%;transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(-180deg)}.flip.up.go .front[data-v-0a7bd62f]: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-0a7bd62f]:before{animation:backFlipUp var(--yz-clock-flipper-animation-duration) ease-in-out both}.gap[data-v-0a7bd62f]{margin:0 var(--yz-clock-flipper-gap-four);color:var(--yz-clock-flipper-bg-color)}.digital[data-v-0a7bd62f]:before,.digital[data-v-0a7bd62f]: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-0a7bd62f]: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-0a7bd62f]: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-0a7bd62f]:before,.digital.number_0[data-v-0a7bd62f]:after{content:"0"}.digital.number_1[data-v-0a7bd62f]:before,.digital.number_1[data-v-0a7bd62f]:after{content:"1"}.digital.number_2[data-v-0a7bd62f]:before,.digital.number_2[data-v-0a7bd62f]:after{content:"2"}.digital.number_3[data-v-0a7bd62f]:before,.digital.number_3[data-v-0a7bd62f]:after{content:"3"}.digital.number_4[data-v-0a7bd62f]:before,.digital.number_4[data-v-0a7bd62f]:after{content:"4"}.digital.number_5[data-v-0a7bd62f]:before,.digital.number_5[data-v-0a7bd62f]:after{content:"5"}.digital.number_6[data-v-0a7bd62f]:before,.digital.number_6[data-v-0a7bd62f]:after{content:"6"}.digital.number_7[data-v-0a7bd62f]:before,.digital.number_7[data-v-0a7bd62f]:after{content:"7"}.digital.number_8[data-v-0a7bd62f]:before,.digital.number_8[data-v-0a7bd62f]:after{content:"8"}.digital.number_9[data-v-0a7bd62f]:before,.digital.number_9[data-v-0a7bd62f]:after{content:"9"}
210
- `]],["__scopeId","data-v-0a7bd62f"]]),ph=K({customOptions:{Container:wt},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({}),(s,r)=>(L(),Mt(wt,null,{default:_t(()=>[E("div",{style:A({backgroundImage:`url(${e.bgImageUrl})`,"background-clip":"text",color:"transparent"})},bt(e.text),5)]),_:1}))}}),x_={class:"slide"},mh=lt(K({customOptions:{Container:wt},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,s=Zt({}),r=()=>{switch(e.direction){case"left":s.transformOrigin="center left",s.transform="scaleX(0)";break;case"right":s.transformOrigin="center right",s.transform="scaleX(0)";break;case"down":s.transformOrigin="center bottom",s.transform="scaleY(0)";break;case"up":s.transformOrigin="center top",s.transform="scaleY(0)";break}},n=()=>{switch(e.direction){case"left":s.transformOrigin="center right",s.transform="scaleX(1)";break;case"right":s.transformOrigin="center left",s.transform="scaleX(1)";break;case"down":s.transformOrigin="center top",s.transform="scaleY(1)";break;case"up":s.transformOrigin="center bottom",s.transform="scaleY(1)";break}};return t({}),(a,i)=>(L(),Mt(wt,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:r,onEnd:n,style:{overflow:"hidden"}},{default:_t(()=>[E("div",{class:"slide-before",style:A({backgroundColor:e.color,transition:`transform ${e.dur}ms ease-in-out`,...s})},null,4),E("div",x_,[Tt(a.$slots,"default",{},void 0,!0)])]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.slide-before[data-v-370e136b]{position:absolute;z-index:0;inset:0;width:100%;height:100%}.slide[data-v-370e136b]{position:relative;z-index:1;cursor:pointer}
211
- `]],["__scopeId","data-v-370e136b"]]),w_={class:"slide-corner"},gh=lt(K({customOptions:{Container:wt},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,s=Zt({});let r=1,n=r*2;const a=(c,u)=>{r=Math.ceil(Math.max(c,u)/Math.min(c,u)),n=r*2,s.width=s.height=Math.ceil(Math.min(c,u))+"px"},i=()=>{switch(e.direction){case"fromBottomLeft":s.top="100%",s.right="100%",s.transform="translate(50%, -50%) scale3d(0, 0, 0)";break;case"fromBottomRight":s.top="100%",s.left="100%",s.transform="translate(-50%, -50%) scale3d(0, 0, 0)";break;case"fromTopLeft":s.bottom="100%",s.right="100%",s.transform="translate(50%, 50%) scale3d(0, 0, 0)";break;case"fromTopRight":s.bottom="100%",s.left="100%",s.transform="translate(-50%, 50%) scale3d(0, 0, 0)";break;case"fromCenter":s.top="50%",s.left="50%",s.transform="translate(-50%, -50%) scale3d(0, 0, 0)";break}},l=()=>{switch(e.direction){case"fromBottomLeft":s.top="100%",s.right="100%",s.transform=`translate(50%, -50%) scale3d(${n}, ${n}, ${n})`;break;case"fromBottomRight":s.top="100%",s.left="100%",s.transform=`translate(-50%, -50%) scale3d(${n}, ${n}, ${n})`;break;case"fromTopLeft":s.bottom="100%",s.right="100%",s.transform=`translate(50%, 50%) scale3d(${n}, ${n}, ${n})`;break;case"fromTopRight":s.bottom="100%",s.left="100%",s.transform=`translate(-50%, 50%) scale3d(${n}, ${n}, ${n})`;break;case"fromCenter":s.top="50%",s.left="50%",s.transform=`translate(-50%, -50%) scale3d(${n}, ${n}, ${n})`;break}};return t({}),(c,u)=>(L(),Mt(wt,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:i,onEnd:l,onResize:a,style:{overflow:"hidden"}},{default:_t(()=>[E("div",{class:"slide-corner-before",style:A({backgroundColor:e.color,borderRadius:"50%",transition:`transform ${e.timeGap*Ot(r)}ms ease-in-out`,transformOrigin:"center",...s})},null,4),E("div",w_,[Tt(c.$slots,"default",{},void 0,!0)])]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.slide-corner-before[data-v-6065adbb]{position:absolute;z-index:0}.slide-corner[data-v-6065adbb]{position:relative;z-index:1;cursor:pointer}
212
- `]],["__scopeId","data-v-6065adbb"]]),k_={class:"line-single"},yh=lt(K({customOptions:{Container:wt},inheritAttrs:!0,__name:"LineSingle.ce",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!0},effectTriggerTiming:{default:"mouseMove"},color:{default:"#3cefff"},timeGap:{default:50},lineHeight:{default:2},location:{default:"underline"},direction:{default:"right"}},setup(o,{expose:t}){const e=o;let s=1;const r=(l,c)=>{s=Math.ceil(Math.max(l,c)/Math.min(l,c))},n=Zt({});switch(e.location){case"underline":n.bottom="0";break;case"overline":n.top="0";break;case"through":n.top="50%";break}const a=()=>{switch(e.direction){case"right":n.transformOrigin="bottom right",n.transform="scaleX(0)";break;case"left":n.transformOrigin="bottom left",n.transform="scaleX(0)";break;case"fromCenter":n.transformOrigin="center",n.transform="scaleX(0)";break}},i=()=>{switch(e.direction){case"right":n.transformOrigin="bottom left",n.transform="scaleX(1)";break;case"left":n.transformOrigin="bottom right",n.transform="scaleX(1)";break;case"fromCenter":n.transformOrigin="center",n.transform="scaleX(1)";break}};return t({}),(l,c)=>(L(),Mt(wt,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:a,onEnd:i,onResize:r},{default:_t(()=>[E("div",{class:"line-single-before",style:A({left:0,width:"100%",height:e.lineHeight+"px",backgroundColor:e.color,transition:`transform ${e.timeGap*Ot(s)}ms ease-in-out`,...n})},null,4),E("div",k_,[Tt(l.$slots,"default",{},void 0,!0)])]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.line-single-before[data-v-f6ff8ebf]{position:absolute;z-index:0}.line-single[data-v-f6ff8ebf]{position:relative;z-index:1;cursor:pointer}
213
- `]],["__scopeId","data-v-f6ff8ebf"]]),C_={class:"line-double"},vh=lt(K({customOptions:{Container:wt},inheritAttrs:!0,__name:"LineDouble.ce",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!0},effectTriggerTiming:{default:"mouseMove"},color:{default:"#3cefff"},timeGap:{default:50},lineHeight:{default:2},location:{default:"horizontal"},direction:{default:"toEnd"}},setup(o,{expose:t}){const e=o;let s=1;const r=(u,d)=>{s=Math.ceil(Math.max(u,d)/Math.min(u,d))},n=Zt({}),a=Zt({}),i=Zt({});switch(e.location){case"horizontal":n.width="100%",n.height=e.lineHeight+"px",a.top="0",i.bottom="0";break;case"vertical":n.width=e.lineHeight+"px",n.height="100%",a.left="0",i.right="0";break}const l=()=>{switch(e.direction){case"toEnd":switch(e.location){case"horizontal":a.right="0",i.right="0",n.transformOrigin="center right",n.transform="scaleX(0)";break;case"vertical":a.bottom="0",i.bottom="0",n.transformOrigin="center bottom",n.transform="scaleY(0)";break}break;case"toStart":switch(e.location){case"horizontal":a.left="0",i.left="0",n.transformOrigin="center left",n.transform="scaleX(0)";break;case"vertical":a.top="0",i.top="0",n.transformOrigin="center top",n.transform="scaleY(0)";break}break;case"towards":switch(e.location){case"horizontal":a.right="0",a.transformOrigin="center right",i.left="0",i.transformOrigin="center left",n.transform="scaleX(0)";break;case"vertical":a.bottom="0",a.transformOrigin="center bottom",i.top="0",i.transformOrigin="center top",n.transform="scaleY(0)";break}break;case"fromCenter":switch(e.location){case"horizontal":a.left="50%",i.left="50%",n.transformOrigin="center",n.transform="translateX(-50%) scaleX(0)";break;case"vertical":a.top="50%",i.top="50%",n.transformOrigin="center",n.transform="translateY(-50%) scaleY(0)";break}break}},c=()=>{switch(e.direction){case"toEnd":switch(e.location){case"horizontal":a.left="0",i.left="0",n.transformOrigin="center left",n.transform="scaleX(1)";break;case"vertical":a.top="0",i.top="0",n.transformOrigin="center top",n.transform="scaleY(1)";break}break;case"toStart":switch(e.location){case"horizontal":a.right="0",i.right="0",n.transformOrigin="center right",n.transform="scaleX(1)";break;case"vertical":a.bottom="0",i.bottom="0",n.transformOrigin="center bottom",n.transform="scaleY(1)";break}break;case"towards":switch(e.location){case"horizontal":a.left="0",a.transformOrigin="center left",i.right="0",i.transformOrigin="center right",n.transform="scaleX(1)";break;case"vertical":a.top="0",a.transformOrigin="center top",i.bottom="0",i.transformOrigin="center bottom",n.transform="scaleY(1)";break}break;case"fromCenter":switch(e.location){case"horizontal":a.left="50%",i.left="50%",n.transformOrigin="center",n.transform="translateX(-50%) scaleX(1)";break;case"vertical":a.top="50%",i.top="50%",n.transformOrigin="center",n.transform="translateY(-50%) scaleY(1)";break}break}};return t({}),(u,d)=>(L(),Mt(wt,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:l,onEnd:c,onResize:r},{default:_t(()=>[E("div",{class:"line-double-before",style:A({backgroundColor:e.color,transition:`transform ${e.timeGap*Ot(s)}ms ease-in-out`,...n,...a})},null,4),E("div",C_,[Tt(u.$slots,"default",{},void 0,!0)]),E("div",{class:"line-double-after",style:A({backgroundColor:e.color,transition:`transform ${e.timeGap*Ot(s)}ms ease-in-out`,...n,...i})},null,4)]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.line-double-before[data-v-dcf10fee],.line-double-after[data-v-dcf10fee]{position:absolute;z-index:0}.line-double[data-v-dcf10fee]{position:relative;z-index:1;cursor:pointer}
214
- `]],["__scopeId","data-v-dcf10fee"]]),bh=lt(K({customOptions:{Container:wt},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,s=Zt({willChange:"box-shadow, transform"}),r=()=>{switch(s.boxShadow="none",e.direction){case"left":s.transform="translateX(0)";break;case"right":s.transform="translateX(0)";break;case"down":s.transform="translateY(0)";break;case"up":s.transform="translateY(0)";break}},n=()=>{switch(s.boxShadow=e.boxShadow,e.direction){case"left":s.transform=`translateX(-${e.distance}px)`;break;case"right":s.transform=`translateX(${e.distance}px)`;break;case"down":s.transform=`translateY(${e.distance}px)`;break;case"up":s.transform=`translateY(-${e.distance}px)`;break}};return t({}),(a,i)=>(L(),Mt(wt,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:r,onEnd:n},{default:_t(()=>[E("div",{class:"float",style:A({transition:`transform ${e.dur}ms ease-in-out, box-shadow ${e.dur}ms ease-in-out`,...s})},[Tt(a.$slots,"default",{},void 0,!0)],4)]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.float[data-v-e9e9dadd]{position:relative;z-index:1;cursor:pointer}
215
- `]],["__scopeId","data-v-e9e9dadd"]]),Xn=lt(K({customOptions:{Container:wt},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 s=o,r=e,n=Zt({}),a=Zt({});let i=s.name,l=s.duration,c=s.timingFunction,u=s.delay,d=s.repeat,f=s.direction;function p(){switch(i){case"superRainbow":l=s.duration||15e3;break;case"heartBeat":l=s.duration||1300;break;case"statusProcessing":l=s.duration||1200;break;case"rotateFall":case"rotateSlideOut":case"rotateSlideIn":l=s.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=s.duration||800;break;case"bounceIn":case"bounceOut":case"flipOutX":case"hinge":l=s.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=s.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=s.duration||600;break;default:l=s.duration||500;break}switch(i){case"superRainbow":c=s.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=s.timingFunction||"ease-in";break;case"lightSpeedInLeft":case"lightSpeedInRight":case"flipInLeft":case"flipInRight":case"flipInBottom":case"flipInTop":case"rotateInNewspaper":case"rotateSidesIn":c=s.timingFunction||"ease-out";break;case"pulse":case"headShake":case"heartBeat":case"statusProcessing":c=s.timingFunction||"ease-in-out";break;default:c=s.timingFunction||"ease";break}switch(i){default:u=s.delay||0;break}switch(i){case"superRainbow":case"statusProcessing":d=s.repeat||"infinite";break;default:d=s.repeat||1;break}switch(i){case"superRainbow":f=s.direction||"alternate";break;default:f=s.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":n.overflow="visible";break;default:n.overflow="hidden";break}switch(i){case"flip":case"flipInX":case"flipInY":case"flipOutX":case"flipOutY":a.backfaceVisibility="visible";break;default:delete a.backfaceVisibility;break}}Et(()=>s.name,()=>{i=s.name,p()},{immediate:!0});const h=R(),b=R(),_=z=>{n.perspective=s.perspective,z.on("animationstart",tt=>{r("cssanimationstart",tt.animationName)}),z.on("animationend",tt=>{r("cssanimationend",tt.animationName)})};function v(){b.value.style.animation="none",b.value.offsetHeight,b.value.style.animation=null}const w=()=>{a.animation="none"},g=()=>{v(),a.animation=`${l}ms ${c} ${u}ms ${d} ${f} ${s.fillMode} ${s.playState} ${i}`};return t({trigger:z=>{z&&(i=z,p()),h.value.startEffect(),f="normal",h.value.endEffect()},triggerReverse:z=>{z&&(i=z,p()),h.value.startEffect(),f="reverse",h.value.endEffect()},clear:()=>{a.animation="none"}}),(z,tt)=>(L(),Mt(wt,{class:"css-animation",ref_key:"containerRef",ref:h,type:s.containerType,supportCopyText:s.supportCopyText,effectTriggerTiming:s.effectTriggerTiming,style:A(n),onReady:_,onStart:w,onEnd:g},{default:_t(()=>[E("div",{class:"css-animation-inner",ref_key:"animationRef",ref:b,style:A({position:"relative",display:"block",width:"100%",height:"100%",cursor:"pointer",transformStyle:"preserve-3d",...a})},[Tt(z.$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}}
210
+ `]],["__scopeId","data-v-0a7bd62f"]]),ph=K({customOptions:{Container:wt},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({}),(s,r)=>(L(),Mt(wt,null,{default:_t(()=>[E("div",{style:A({backgroundImage:`url(${e.bgImageUrl})`,"background-clip":"text",color:"transparent"})},bt(e.text),5)]),_:1}))}}),x_={class:"slide"},mh=lt(K({customOptions:{Container:wt},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,s=Zt({}),r=()=>{switch(e.direction){case"left":s.transformOrigin="center left",s.transform="scaleX(0)";break;case"right":s.transformOrigin="center right",s.transform="scaleX(0)";break;case"down":s.transformOrigin="center bottom",s.transform="scaleY(0)";break;case"up":s.transformOrigin="center top",s.transform="scaleY(0)";break}},n=()=>{switch(e.direction){case"left":s.transformOrigin="center right",s.transform="scaleX(1)";break;case"right":s.transformOrigin="center left",s.transform="scaleX(1)";break;case"down":s.transformOrigin="center top",s.transform="scaleY(1)";break;case"up":s.transformOrigin="center bottom",s.transform="scaleY(1)";break}};return t({}),(a,i)=>(L(),Mt(wt,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:r,onEnd:n,style:{overflow:"hidden"}},{default:_t(()=>[E("div",{class:"slide-before",style:A({backgroundColor:e.color,transition:`transform ${e.dur}ms ease-in-out`,...s})},null,4),E("div",x_,[Ct(a.$slots,"default",{},void 0,!0)])]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.slide-before[data-v-370e136b]{position:absolute;z-index:0;inset:0;width:100%;height:100%}.slide[data-v-370e136b]{position:relative;z-index:1;cursor:pointer}
211
+ `]],["__scopeId","data-v-370e136b"]]),w_={class:"slide-corner"},gh=lt(K({customOptions:{Container:wt},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,s=Zt({});let r=1,n=r*2;const a=(c,u)=>{r=Math.ceil(Math.max(c,u)/Math.min(c,u)),n=r*2,s.width=s.height=Math.ceil(Math.min(c,u))+"px"},i=()=>{switch(e.direction){case"fromBottomLeft":s.top="100%",s.right="100%",s.transform="translate(50%, -50%) scale3d(0, 0, 0)";break;case"fromBottomRight":s.top="100%",s.left="100%",s.transform="translate(-50%, -50%) scale3d(0, 0, 0)";break;case"fromTopLeft":s.bottom="100%",s.right="100%",s.transform="translate(50%, 50%) scale3d(0, 0, 0)";break;case"fromTopRight":s.bottom="100%",s.left="100%",s.transform="translate(-50%, 50%) scale3d(0, 0, 0)";break;case"fromCenter":s.top="50%",s.left="50%",s.transform="translate(-50%, -50%) scale3d(0, 0, 0)";break}},l=()=>{switch(e.direction){case"fromBottomLeft":s.top="100%",s.right="100%",s.transform=`translate(50%, -50%) scale3d(${n}, ${n}, ${n})`;break;case"fromBottomRight":s.top="100%",s.left="100%",s.transform=`translate(-50%, -50%) scale3d(${n}, ${n}, ${n})`;break;case"fromTopLeft":s.bottom="100%",s.right="100%",s.transform=`translate(50%, 50%) scale3d(${n}, ${n}, ${n})`;break;case"fromTopRight":s.bottom="100%",s.left="100%",s.transform=`translate(-50%, 50%) scale3d(${n}, ${n}, ${n})`;break;case"fromCenter":s.top="50%",s.left="50%",s.transform=`translate(-50%, -50%) scale3d(${n}, ${n}, ${n})`;break}};return t({}),(c,u)=>(L(),Mt(wt,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:i,onEnd:l,onResize:a,style:{overflow:"hidden"}},{default:_t(()=>[E("div",{class:"slide-corner-before",style:A({backgroundColor:e.color,borderRadius:"50%",transition:`transform ${e.timeGap*Ot(r)}ms ease-in-out`,transformOrigin:"center",...s})},null,4),E("div",w_,[Ct(c.$slots,"default",{},void 0,!0)])]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.slide-corner-before[data-v-6065adbb]{position:absolute;z-index:0}.slide-corner[data-v-6065adbb]{position:relative;z-index:1;cursor:pointer}
212
+ `]],["__scopeId","data-v-6065adbb"]]),k_={class:"line-single"},yh=lt(K({customOptions:{Container:wt},inheritAttrs:!0,__name:"LineSingle.ce",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!0},effectTriggerTiming:{default:"mouseMove"},color:{default:"#3cefff"},timeGap:{default:50},lineHeight:{default:2},location:{default:"underline"},direction:{default:"right"}},setup(o,{expose:t}){const e=o;let s=1;const r=(l,c)=>{s=Math.ceil(Math.max(l,c)/Math.min(l,c))},n=Zt({});switch(e.location){case"underline":n.bottom="0";break;case"overline":n.top="0";break;case"through":n.top="50%";break}const a=()=>{switch(e.direction){case"right":n.transformOrigin="bottom right",n.transform="scaleX(0)";break;case"left":n.transformOrigin="bottom left",n.transform="scaleX(0)";break;case"fromCenter":n.transformOrigin="center",n.transform="scaleX(0)";break}},i=()=>{switch(e.direction){case"right":n.transformOrigin="bottom left",n.transform="scaleX(1)";break;case"left":n.transformOrigin="bottom right",n.transform="scaleX(1)";break;case"fromCenter":n.transformOrigin="center",n.transform="scaleX(1)";break}};return t({}),(l,c)=>(L(),Mt(wt,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:a,onEnd:i,onResize:r},{default:_t(()=>[E("div",{class:"line-single-before",style:A({left:0,width:"100%",height:e.lineHeight+"px",backgroundColor:e.color,transition:`transform ${e.timeGap*Ot(s)}ms ease-in-out`,...n})},null,4),E("div",k_,[Ct(l.$slots,"default",{},void 0,!0)])]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.line-single-before[data-v-f6ff8ebf]{position:absolute;z-index:0}.line-single[data-v-f6ff8ebf]{position:relative;z-index:1;cursor:pointer}
213
+ `]],["__scopeId","data-v-f6ff8ebf"]]),C_={class:"line-double"},vh=lt(K({customOptions:{Container:wt},inheritAttrs:!0,__name:"LineDouble.ce",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!0},effectTriggerTiming:{default:"mouseMove"},color:{default:"#3cefff"},timeGap:{default:50},lineHeight:{default:2},location:{default:"horizontal"},direction:{default:"toEnd"}},setup(o,{expose:t}){const e=o;let s=1;const r=(u,d)=>{s=Math.ceil(Math.max(u,d)/Math.min(u,d))},n=Zt({}),a=Zt({}),i=Zt({});switch(e.location){case"horizontal":n.width="100%",n.height=e.lineHeight+"px",a.top="0",i.bottom="0";break;case"vertical":n.width=e.lineHeight+"px",n.height="100%",a.left="0",i.right="0";break}const l=()=>{switch(e.direction){case"toEnd":switch(e.location){case"horizontal":a.right="0",i.right="0",n.transformOrigin="center right",n.transform="scaleX(0)";break;case"vertical":a.bottom="0",i.bottom="0",n.transformOrigin="center bottom",n.transform="scaleY(0)";break}break;case"toStart":switch(e.location){case"horizontal":a.left="0",i.left="0",n.transformOrigin="center left",n.transform="scaleX(0)";break;case"vertical":a.top="0",i.top="0",n.transformOrigin="center top",n.transform="scaleY(0)";break}break;case"towards":switch(e.location){case"horizontal":a.right="0",a.transformOrigin="center right",i.left="0",i.transformOrigin="center left",n.transform="scaleX(0)";break;case"vertical":a.bottom="0",a.transformOrigin="center bottom",i.top="0",i.transformOrigin="center top",n.transform="scaleY(0)";break}break;case"fromCenter":switch(e.location){case"horizontal":a.left="50%",i.left="50%",n.transformOrigin="center",n.transform="translateX(-50%) scaleX(0)";break;case"vertical":a.top="50%",i.top="50%",n.transformOrigin="center",n.transform="translateY(-50%) scaleY(0)";break}break}},c=()=>{switch(e.direction){case"toEnd":switch(e.location){case"horizontal":a.left="0",i.left="0",n.transformOrigin="center left",n.transform="scaleX(1)";break;case"vertical":a.top="0",i.top="0",n.transformOrigin="center top",n.transform="scaleY(1)";break}break;case"toStart":switch(e.location){case"horizontal":a.right="0",i.right="0",n.transformOrigin="center right",n.transform="scaleX(1)";break;case"vertical":a.bottom="0",i.bottom="0",n.transformOrigin="center bottom",n.transform="scaleY(1)";break}break;case"towards":switch(e.location){case"horizontal":a.left="0",a.transformOrigin="center left",i.right="0",i.transformOrigin="center right",n.transform="scaleX(1)";break;case"vertical":a.top="0",a.transformOrigin="center top",i.bottom="0",i.transformOrigin="center bottom",n.transform="scaleY(1)";break}break;case"fromCenter":switch(e.location){case"horizontal":a.left="50%",i.left="50%",n.transformOrigin="center",n.transform="translateX(-50%) scaleX(1)";break;case"vertical":a.top="50%",i.top="50%",n.transformOrigin="center",n.transform="translateY(-50%) scaleY(1)";break}break}};return t({}),(u,d)=>(L(),Mt(wt,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:l,onEnd:c,onResize:r},{default:_t(()=>[E("div",{class:"line-double-before",style:A({backgroundColor:e.color,transition:`transform ${e.timeGap*Ot(s)}ms ease-in-out`,...n,...a})},null,4),E("div",C_,[Ct(u.$slots,"default",{},void 0,!0)]),E("div",{class:"line-double-after",style:A({backgroundColor:e.color,transition:`transform ${e.timeGap*Ot(s)}ms ease-in-out`,...n,...i})},null,4)]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.line-double-before[data-v-dcf10fee],.line-double-after[data-v-dcf10fee]{position:absolute;z-index:0}.line-double[data-v-dcf10fee]{position:relative;z-index:1;cursor:pointer}
214
+ `]],["__scopeId","data-v-dcf10fee"]]),bh=lt(K({customOptions:{Container:wt},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,s=Zt({willChange:"box-shadow, transform"}),r=()=>{switch(s.boxShadow="none",e.direction){case"left":s.transform="translateX(0)";break;case"right":s.transform="translateX(0)";break;case"down":s.transform="translateY(0)";break;case"up":s.transform="translateY(0)";break}},n=()=>{switch(s.boxShadow=e.boxShadow,e.direction){case"left":s.transform=`translateX(-${e.distance}px)`;break;case"right":s.transform=`translateX(${e.distance}px)`;break;case"down":s.transform=`translateY(${e.distance}px)`;break;case"up":s.transform=`translateY(-${e.distance}px)`;break}};return t({}),(a,i)=>(L(),Mt(wt,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:r,onEnd:n},{default:_t(()=>[E("div",{class:"float",style:A({transition:`transform ${e.dur}ms ease-in-out, box-shadow ${e.dur}ms ease-in-out`,...s})},[Ct(a.$slots,"default",{},void 0,!0)],4)]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.float[data-v-e9e9dadd]{position:relative;z-index:1;cursor:pointer}
215
+ `]],["__scopeId","data-v-e9e9dadd"]]),Xn=lt(K({customOptions:{Container:wt},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 s=o,r=e,n=Zt({}),a=Zt({});let i=s.name,l=s.duration,c=s.timingFunction,u=s.delay,d=s.repeat,f=s.direction;function p(){switch(i){case"superRainbow":l=s.duration||15e3;break;case"heartBeat":l=s.duration||1300;break;case"statusProcessing":l=s.duration||1200;break;case"rotateFall":case"rotateSlideOut":case"rotateSlideIn":l=s.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=s.duration||800;break;case"bounceIn":case"bounceOut":case"flipOutX":case"hinge":l=s.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=s.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=s.duration||600;break;default:l=s.duration||500;break}switch(i){case"superRainbow":c=s.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=s.timingFunction||"ease-in";break;case"lightSpeedInLeft":case"lightSpeedInRight":case"flipInLeft":case"flipInRight":case"flipInBottom":case"flipInTop":case"rotateInNewspaper":case"rotateSidesIn":c=s.timingFunction||"ease-out";break;case"pulse":case"headShake":case"heartBeat":case"statusProcessing":c=s.timingFunction||"ease-in-out";break;default:c=s.timingFunction||"ease";break}switch(i){default:u=s.delay||0;break}switch(i){case"superRainbow":case"statusProcessing":d=s.repeat||"infinite";break;default:d=s.repeat||1;break}switch(i){case"superRainbow":f=s.direction||"alternate";break;default:f=s.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":n.overflow="visible";break;default:n.overflow="hidden";break}switch(i){case"flip":case"flipInX":case"flipInY":case"flipOutX":case"flipOutY":a.backfaceVisibility="visible";break;default:delete a.backfaceVisibility;break}}Et(()=>s.name,()=>{i=s.name,p()},{immediate:!0});const h=R(),b=R(),_=z=>{n.perspective=s.perspective,z.on("animationstart",tt=>{r("cssanimationstart",tt.animationName)}),z.on("animationend",tt=>{r("cssanimationend",tt.animationName)})};function v(){b.value.style.animation="none",b.value.offsetHeight,b.value.style.animation=null}const w=()=>{a.animation="none"},g=()=>{v(),a.animation=`${l}ms ${c} ${u}ms ${d} ${f} ${s.fillMode} ${s.playState} ${i}`};return t({trigger:z=>{z&&(i=z,p()),h.value.startEffect(),f="normal",h.value.endEffect()},triggerReverse:z=>{z&&(i=z,p()),h.value.startEffect(),f="reverse",h.value.endEffect()},clear:()=>{a.animation="none"}}),(z,tt)=>(L(),Mt(wt,{class:"css-animation",ref_key:"containerRef",ref:h,type:s.containerType,supportCopyText:s.supportCopyText,effectTriggerTiming:s.effectTriggerTiming,style:A(n),onReady:_,onStart:w,onEnd:g},{default:_t(()=>[E("div",{class:"css-animation-inner",ref_key:"animationRef",ref:b,style:A({position:"relative",display:"block",width:"100%",height:"100%",cursor:"pointer",transformStyle:"preserve-3d",...a})},[Ct(z.$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}}
216
216
  `]]]),T_={class:"circle"},_h=lt(K({customOptions:{Container:wt},inheritAttrs:!0,__name:"Circle.ce",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!0},effectTriggerTiming:{default:"mouseMove"},color:{default:"#3cefff"},dur:{default:750}},setup(o,{expose:t}){const e=o,s=R(),r=Zt({transition:`box-shadow ${e.dur}ms`,borderRadius:"100%"}),n=(l,c)=>{r.width=r.height=Math.ceil(Math.max(l,c))+"px",s.value?.repeatEffect?.()},a=()=>{const l=ge(e.color,.2).toString();r.boxShadow=`
217
217
  inset ${r.width} 0 0 ${l},
218
218
  inset 0 ${r.width} 0 ${l},
@@ -223,7 +223,7 @@ Component that was made reactive: `,o)),E(o,t,e,s,r,a,n,!0)}function Up(o){retur
223
223
  inset 0 0.5em 0 rgba(252, 150, 0, 0.5),
224
224
  inset -0.5em 0 0 rgba(0, 255, 0, 0.5),
225
225
  inset 0 -0.5em 0 rgba(0, 150, 255, 0.5)
226
- `};return t({}),(l,c)=>(L(),Mt(wt,{ref_key:"containerRef",ref:s,type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:a,onEnd:i,onResize:n},{default:_t(()=>[E("div",{class:"circle-before",style:A(r)},null,4),E("div",T_,[Tt(l.$slots,"default",{},void 0,!0)])]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.circle-before[data-v-f9873265]{position:absolute;z-index:2}.circle[data-v-f9873265]{position:relative;z-index:1;cursor:pointer}
227
- `]],["__scopeId","data-v-f9873265"]]),xh=lt(K({customOptions:{Container:wt},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,s=R(!0),r=()=>{s.value=!0},n=()=>{s.value=!1};return t({}),(a,i)=>(L(),Mt(wt,{type:e.containerType,overflow:"visible",supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:r,onEnd:n},{default:_t(()=>[s.value?(L(),B("div",{key:0,class:"text",style:A({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:Ot(ge)(a.borderColor).opposite(!0,"#333333","#ffffff").toString()})},bt(e.text),5)):$t("",!0),E("div",{class:"inner",style:A(s.value?{border:`${a.borderWidth}px solid ${a.borderColor}`,borderRadius:`${a.borderRadius}px`}:{})},[Tt(a.$slots,"default",{},void 0,!0)],4)]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.text[data-v-45681ed0]{position:absolute;top:0;left:0;z-index:1}.inner[data-v-45681ed0]{position:relative;overflow:hidden;box-sizing:border-box}
228
- `]],["__scopeId","data-v-45681ed0"]]),S_={class:"svg"},E_=[Nc('<defs data-v-7ee5c19e><mask id="mask" maskContentUnits="objectBoundingBox" data-v-7ee5c19e><ellipse cx=".5" cy=".5" rx=".48" ry=".28" fill="black" data-v-7ee5c19e></ellipse><rect x=".2" y="0" width=".6" height="1" rx=".1" ry=".1" fill="black" data-v-7ee5c19e></rect><ellipse cx=".5" cy=".5" rx=".4" ry=".2" fill="white" data-v-7ee5c19e></ellipse><rect x=".3" y=".1" width=".4" height=".8" rx=".1" ry=".1" fill="white" data-v-7ee5c19e></rect></mask></defs>',1)],P_=K({customOptions:{},inheritAttrs:!0,__name:"SVGMaskNapkin",setup(o){return(t,e)=>(L(),B("svg",S_,E_))}}),Nw="",wh=lt(P_,[["__scopeId","data-v-7ee5c19e"]]),kh=K({customOptions:{Container:wt,SVGMaskNapkin:wh},inheritAttrs:!0,__name:"ImageMask.ce",props:{maskMode:{default:"alaph"},imageUrl:{default:""}},setup(o,{expose:t}){const e=o,s=R(0),r=R(0),n=(a,i)=>{s.value=a,r.value=i};return t({}),(a,i)=>(L(),B("div",{style:A({width:`${s.value}px`,height:`${r.value}px`,maskImage:e.imageUrl?`url(${e.imageUrl})`:"url(#mask)","mask-mode":e.maskMode})},[Tt(a.$slots,"mask",{},()=>[ct(wh)]),ct(wt,{type:"shrink",onResize:n},{default:_t(()=>[Tt(a.$slots,"default")]),_:3})],4))}});class O_ 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 s=t;for(;t.previousElementSibling;)if(s.src===e)return!0;return!1}reloadVideo(){this.reloadQueued=!0;const t=this.video.currentTime,e=this.video.playState;this.video.load();const s=()=>{this.video.playState=e,this.video.currentTime=t.toString(),this.reloadQueued=!1,this.video.removeEventListener("loadeddata",s)};this.video.addEventListener("loadeddata",s)}}const I_=O_;function R_(o,t="style.css"){for(let e of o){const s=document.querySelector(e)?.shadowRoot;if(s){const r=document.createElement("link");r.setAttribute("rel","stylesheet"),r.setAttribute("href",t),s.appendChild(r)}}}const sl={},ol={},Dt=(o,t,e=!0)=>{const s=o.__name;sl[s]=[];let r=[...o.styles||[]],n=0;for(let a in o.customOptions)sl[s].push(a),`${o.customOptions[a].__scopeId}`,r=[...(sl[a]||[]).reduce((i,l)=>(i.push(...(ol[l]||[]).map(c=>cu(c))),i),[]),...(t[n++]?.styles||[]).map(i=>cu(i)),...r],ol[a]=r;if(e)o.styles=r;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 ol[s]=r,o},F_=()=>{customElements.define("yz-loading-1",mt(Ib)),customElements.define("yz-loading-2",mt($b)),customElements.define("yz-loading-3",mt(Lb)),customElements.define("yz-loading-4",mt(Nb)),customElements.define("yz-loading-5",mt(Vb)),customElements.define("yz-loading-6",mt(Gb)),customElements.define("yz-loading-7",mt(Hb)),customElements.define("yz-loading-8",mt(ah)),customElements.define("yz-loading-9",mt(Jb)),customElements.define("yz-loading-10",mt(o_)),customElements.define("yz-loading-11",mt(ih));const o=mt(Cd);customElements.define("yz-icon",o),Dt(po,[ih]);const t=mt(po);customElements.define("yz-button",t);const e=mt(x1);customElements.define("yz-layout-mobile",e);const s=mt(w1);customElements.define("yz-layout-center",s),Dt(mo,[Nn,ue]);const r=mt(mo);customElements.define("yz-pop",r),Dt(zn,[Nn,mo,Cd,po]);const n=mt(zn);customElements.define("yz-dialog",n),Dt(Md,[Nn,mo,zn,ah]);const a=mt(Md);customElements.define("yz-dialog-loading",a),Dt(Ad,[Nn,mo,zn]);const i=mt(Ad);customElements.define("yz-dialog-toast",i);const l=mt(vy);customElements.define("yz-select",l),Dt(Td,[Cb]);const c=mt(Td);customElements.define("yz-select-absolute",c);const u=mt(Sy);customElements.define("yz-switch",u);const d=mt(zi);customElements.define("yz-boolean-box",d),Dt(Yi,[zi]);const f=mt(Yi);customElements.define("yz-radio-group",f),Dt(Vi,[zi]);const p=mt(Vi);customElements.define("yz-checkbox-group",p),Dt(Ui,[mo,po,ue]);const h=mt(Ui);customElements.define("yz-popover",h),Dt(Zd,[Ui,ue]);const b=mt(Zd);customElements.define("yz-color-picker",b);const _=mt(Av);customElements.define("yz-resize-observer",_);const v=mt(Nv);customElements.define("yz-map-tianditu",v),Dt(Ki,[mo,gb,ue]);const w=mt(Ki);customElements.define("yz-plate-keyboard",w),Dt(Hd,[fb,Ki]);const g=mt(Hd);customElements.define("yz-plate-mobile",g),Dt(Rd,[_b]);const m=mt(Rd);customElements.define("yz-slide-left-item",m);const k=mt(Pv);customElements.define("yz-plate-display",k);const C=mt(q1);customElements.define("yz-tabs",C);const z=mt(zv);customElements.define("yz-fps-stats",z),Dt(Qi,[po,br]);const tt=mt(Qi);customElements.define("yz-ease-graph-display",tt),Dt(Kd,[Qi]);const I=mt(Kd);customElements.define("yz-ease-group-graph-display",I),Dt(Ji,[po,br]);const D=mt(Ji);customElements.define("yz-interpolation-graph-display",D),Dt(oh,[Ji]);const M=mt(oh);customElements.define("yz-interpolation-group-graph-display",M);const $=mt(Wi);customElements.define("yz-progress-bar",$),Dt(Nd,[Wi]);const N=mt(Nd);customElements.define("yz-page-vertical-scroll-progress-bar",N),Dt(nh,[po,Bi,Wv,br]);const G=mt(nh);customElements.define("yz-svg-and-canvas",G),customElements.define("yz-hand-write-panel",mt(Q1)),Dt(Fd,[Wi]);const rt=mt(Fd);customElements.define("yz-video",rt),customElements.define("yz-input",mt(Uy)),customElements.define("yz-input-range",mt(Bi)),Dt(Pd,[ue]);const Q=mt(Pd);customElements.define("yz-input-range-box",Q),Dt(Ed,[br]),customElements.define("yz-input-range-canvas",mt(Ed)),Dt(Od,[Xn]);const q=mt(Od);customElements.define("yz-status",q),customElements.define("yz-input-file-drop",mt(s1)),customElements.define("yz-accordion",mt(i1)),Dt(Xi,[ue]);const at=mt(Xi);customElements.define("yz-image",at);const U=mt(ue);customElements.define("yz-container",U),Dt(Xn,[ue]);const H=mt(Xn);customElements.define("yz-effect-css-animation",H),Dt(ji,[ue,Xn]);const yt=mt(ji);customElements.define("yz-page",yt),Dt(Hi,[ji,ue]);const pt=mt(Hi);customElements.define("yz-routes",pt),Dt(Dd,[Xi,ue,Hi]);const V=mt(Dd);customElements.define("yz-image-view",V);const P=mt(d_);customElements.define("yz-card-flip",P),Dt(ch,[Yi,Vi,Bi]);const Bt=mt(ch);customElements.define("yz-cube",Bt),Dt(uh,[br]);const Nt=mt(uh);customElements.define("yz-chat-ring-indicator",Nt),Dt(hh,[ue]);const Ct=mt(hh);customElements.define("yz-chat-ring-text",Ct),Dt(fh,[ue]);const Qt=mt(fh);customElements.define("yz-chat-clock-flipper",Qt),Dt(ph,[ue]);const Gt=mt(ph);customElements.define("yz-effect-text-background-clip",Gt),Dt(mh,[ue]);const j=mt(mh);customElements.define("yz-effect-slide",j),Dt(gh,[ue]);const Le=mt(gh);customElements.define("yz-effect-slide-corner",Le),Dt(yh,[ue]);const Ge=mt(yh);customElements.define("yz-effect-line-single",Ge),Dt(vh,[ue]);const Fe=mt(vh);customElements.define("yz-effect-line-double",Fe),Dt(bh,[ue]);const S=mt(bh);customElements.define("yz-effect-float",S),Dt(_h,[ue]);const F=mt(_h);customElements.define("yz-effect-circle",F),Dt(xh,[ue]);const X=mt(xh);customElements.define("yz-effect-border-focus-text",X),Dt(kh,[ue,Eb]);const W=mt(kh);customElements.define("yz-effect-image-mask",W),customElements.define("yz-responsive-video",I_);const Z=document.getElementById("teleport")||document.documentElement,nt=document.createElement("yz-dialog-toast");nt.id="globalDialogToast",Z?.appendChild(nt);const ut=document.createElement("yz-dialog-loading");ut.id="globalDialogLoading",Z?.appendChild(ut);const J=document.createElement("yz-dialog");J.id="globalDialog",Z?.appendChild(J);const it=document.createElement("yz-plate-keyboard");it.id="globalPlateKeyboard",Z?.appendChild(it)};return de.dialog=lv,de.install=F_,de.linkChildrenComponentsStyles=R_,de.loading=iv,de.mergeChildComponentCSS=Dt,de.plateKeyboard=jd,de.popAbsolute=Ud,de.popAbsoluteSample=pv,de.popBottom=Yd,de.popBottomSample=cv,de.popCenter=Gd,de.popCenterSample=fv,de.popLeft=Bd,de.popLeftSample=dv,de.popRight=Xd,de.popRightSample=hv,de.popTop=Vd,de.popTopSample=uv,de.toast=av,Object.defineProperty(de,Symbol.toStringTag,{value:"Module"}),de}({});
226
+ `};return t({}),(l,c)=>(L(),Mt(wt,{ref_key:"containerRef",ref:s,type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:a,onEnd:i,onResize:n},{default:_t(()=>[E("div",{class:"circle-before",style:A(r)},null,4),E("div",T_,[Ct(l.$slots,"default",{},void 0,!0)])]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.circle-before[data-v-f9873265]{position:absolute;z-index:2}.circle[data-v-f9873265]{position:relative;z-index:1;cursor:pointer}
227
+ `]],["__scopeId","data-v-f9873265"]]),xh=lt(K({customOptions:{Container:wt},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,s=R(!0),r=()=>{s.value=!0},n=()=>{s.value=!1};return t({}),(a,i)=>(L(),Mt(wt,{type:e.containerType,overflow:"visible",supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:r,onEnd:n},{default:_t(()=>[s.value?(L(),B("div",{key:0,class:"text",style:A({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:Ot(ge)(a.borderColor).opposite(!0,"#333333","#ffffff").toString()})},bt(e.text),5)):$t("",!0),E("div",{class:"inner",style:A(s.value?{border:`${a.borderWidth}px solid ${a.borderColor}`,borderRadius:`${a.borderRadius}px`}:{})},[Ct(a.$slots,"default",{},void 0,!0)],4)]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.text[data-v-45681ed0]{position:absolute;top:0;left:0;z-index:1}.inner[data-v-45681ed0]{position:relative;overflow:hidden;box-sizing:border-box}
228
+ `]],["__scopeId","data-v-45681ed0"]]),S_={class:"svg"},E_=[Nc('<defs data-v-7ee5c19e><mask id="mask" maskContentUnits="objectBoundingBox" data-v-7ee5c19e><ellipse cx=".5" cy=".5" rx=".48" ry=".28" fill="black" data-v-7ee5c19e></ellipse><rect x=".2" y="0" width=".6" height="1" rx=".1" ry=".1" fill="black" data-v-7ee5c19e></rect><ellipse cx=".5" cy=".5" rx=".4" ry=".2" fill="white" data-v-7ee5c19e></ellipse><rect x=".3" y=".1" width=".4" height=".8" rx=".1" ry=".1" fill="white" data-v-7ee5c19e></rect></mask></defs>',1)],P_=K({customOptions:{},inheritAttrs:!0,__name:"SVGMaskNapkin",setup(o){return(t,e)=>(L(),B("svg",S_,E_))}}),Nw="",wh=lt(P_,[["__scopeId","data-v-7ee5c19e"]]),kh=K({customOptions:{Container:wt,SVGMaskNapkin:wh},inheritAttrs:!0,__name:"ImageMask.ce",props:{maskMode:{default:"alaph"},imageUrl:{default:""}},setup(o,{expose:t}){const e=o,s=R(0),r=R(0),n=(a,i)=>{s.value=a,r.value=i};return t({}),(a,i)=>(L(),B("div",{style:A({width:`${s.value}px`,height:`${r.value}px`,maskImage:e.imageUrl?`url(${e.imageUrl})`:"url(#mask)","mask-mode":e.maskMode})},[Ct(a.$slots,"mask",{},()=>[ct(wh)]),ct(wt,{type:"shrink",onResize:n},{default:_t(()=>[Ct(a.$slots,"default")]),_:3})],4))}});class O_ 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 s=t;for(;t.previousElementSibling;)if(s.src===e)return!0;return!1}reloadVideo(){this.reloadQueued=!0;const t=this.video.currentTime,e=this.video.playState;this.video.load();const s=()=>{this.video.playState=e,this.video.currentTime=t.toString(),this.reloadQueued=!1,this.video.removeEventListener("loadeddata",s)};this.video.addEventListener("loadeddata",s)}}const I_=O_;function R_(o,t="style.css"){for(let e of o){const s=document.querySelector(e)?.shadowRoot;if(s){const r=document.createElement("link");r.setAttribute("rel","stylesheet"),r.setAttribute("href",t),s.appendChild(r)}}}const sl={},ol={},Dt=(o,t,e=!0)=>{const s=o.__name;sl[s]=[];let r=[...o.styles||[]],n=0;for(let a in o.customOptions)sl[s].push(a),`${o.customOptions[a].__scopeId}`,r=[...(sl[a]||[]).reduce((i,l)=>(i.push(...(ol[l]||[]).map(c=>cu(c))),i),[]),...(t[n++]?.styles||[]).map(i=>cu(i)),...r],ol[a]=r;if(e)o.styles=r;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 ol[s]=r,o},F_=()=>{customElements.define("yz-loading-1",mt(Ib)),customElements.define("yz-loading-2",mt($b)),customElements.define("yz-loading-3",mt(Lb)),customElements.define("yz-loading-4",mt(Nb)),customElements.define("yz-loading-5",mt(Vb)),customElements.define("yz-loading-6",mt(Gb)),customElements.define("yz-loading-7",mt(Hb)),customElements.define("yz-loading-8",mt(ah)),customElements.define("yz-loading-9",mt(Jb)),customElements.define("yz-loading-10",mt(o_)),customElements.define("yz-loading-11",mt(ih));const o=mt(Cd);customElements.define("yz-icon",o),Dt(po,[ih]);const t=mt(po);customElements.define("yz-button",t);const e=mt(x1);customElements.define("yz-layout-mobile",e);const s=mt(w1);customElements.define("yz-layout-center",s),Dt(mo,[Nn,ue]);const r=mt(mo);customElements.define("yz-pop",r),Dt(zn,[Nn,mo,Cd,po]);const n=mt(zn);customElements.define("yz-dialog",n),Dt(Md,[Nn,mo,zn,ah]);const a=mt(Md);customElements.define("yz-dialog-loading",a),Dt(Ad,[Nn,mo,zn]);const i=mt(Ad);customElements.define("yz-dialog-toast",i);const l=mt(vy);customElements.define("yz-select",l),Dt(Td,[Cb]);const c=mt(Td);customElements.define("yz-select-absolute",c);const u=mt(Sy);customElements.define("yz-switch",u);const d=mt(zi);customElements.define("yz-boolean-box",d),Dt(Yi,[zi]);const f=mt(Yi);customElements.define("yz-radio-group",f),Dt(Vi,[zi]);const p=mt(Vi);customElements.define("yz-checkbox-group",p),Dt(Ui,[mo,po,ue]);const h=mt(Ui);customElements.define("yz-popover",h),Dt(Zd,[Ui,ue]);const b=mt(Zd);customElements.define("yz-color-picker",b);const _=mt(Av);customElements.define("yz-resize-observer",_);const v=mt(Nv);customElements.define("yz-map-tianditu",v),Dt(Ki,[mo,gb,ue]);const w=mt(Ki);customElements.define("yz-plate-keyboard",w),Dt(Hd,[fb,Ki]);const g=mt(Hd);customElements.define("yz-plate-mobile",g),Dt(Rd,[_b]);const m=mt(Rd);customElements.define("yz-slide-left-item",m);const k=mt(Pv);customElements.define("yz-plate-display",k);const C=mt(q1);customElements.define("yz-tabs",C);const z=mt(zv);customElements.define("yz-fps-stats",z),Dt(Qi,[po,br]);const tt=mt(Qi);customElements.define("yz-ease-graph-display",tt),Dt(Kd,[Qi]);const I=mt(Kd);customElements.define("yz-ease-group-graph-display",I),Dt(Ji,[po,br]);const D=mt(Ji);customElements.define("yz-interpolation-graph-display",D),Dt(oh,[Ji]);const M=mt(oh);customElements.define("yz-interpolation-group-graph-display",M);const $=mt(Wi);customElements.define("yz-progress-bar",$),Dt(Nd,[Wi]);const N=mt(Nd);customElements.define("yz-page-vertical-scroll-progress-bar",N),Dt(nh,[po,Bi,Wv,br]);const G=mt(nh);customElements.define("yz-svg-and-canvas",G),customElements.define("yz-hand-write-panel",mt(Q1)),Dt(Fd,[Wi]);const rt=mt(Fd);customElements.define("yz-video",rt),customElements.define("yz-input",mt(Uy)),customElements.define("yz-input-range",mt(Bi)),Dt(Pd,[ue]);const Q=mt(Pd);customElements.define("yz-input-range-box",Q),Dt(Ed,[br]),customElements.define("yz-input-range-canvas",mt(Ed)),Dt(Od,[Xn]);const q=mt(Od);customElements.define("yz-status",q),customElements.define("yz-input-file-drop",mt(s1)),customElements.define("yz-accordion",mt(i1)),Dt(Xi,[ue]);const at=mt(Xi);customElements.define("yz-image",at);const U=mt(ue);customElements.define("yz-container",U),Dt(Xn,[ue]);const H=mt(Xn);customElements.define("yz-effect-css-animation",H),Dt(ji,[ue,Xn]);const yt=mt(ji);customElements.define("yz-page",yt),Dt(Hi,[ji,ue]);const pt=mt(Hi);customElements.define("yz-routes",pt),Dt(Dd,[Xi,ue,Hi]);const V=mt(Dd);customElements.define("yz-image-view",V);const P=mt(d_);customElements.define("yz-card-flip",P),Dt(ch,[Yi,Vi,Bi]);const Bt=mt(ch);customElements.define("yz-cube",Bt),Dt(uh,[br]);const Nt=mt(uh);customElements.define("yz-chat-ring-indicator",Nt),Dt(hh,[ue]);const Tt=mt(hh);customElements.define("yz-chat-ring-text",Tt),Dt(fh,[ue]);const Qt=mt(fh);customElements.define("yz-chat-clock-flipper",Qt),Dt(ph,[ue]);const Gt=mt(ph);customElements.define("yz-effect-text-background-clip",Gt),Dt(mh,[ue]);const j=mt(mh);customElements.define("yz-effect-slide",j),Dt(gh,[ue]);const Le=mt(gh);customElements.define("yz-effect-slide-corner",Le),Dt(yh,[ue]);const Ge=mt(yh);customElements.define("yz-effect-line-single",Ge),Dt(vh,[ue]);const Fe=mt(vh);customElements.define("yz-effect-line-double",Fe),Dt(bh,[ue]);const S=mt(bh);customElements.define("yz-effect-float",S),Dt(_h,[ue]);const F=mt(_h);customElements.define("yz-effect-circle",F),Dt(xh,[ue]);const X=mt(xh);customElements.define("yz-effect-border-focus-text",X),Dt(kh,[ue,Eb]);const W=mt(kh);customElements.define("yz-effect-image-mask",W),customElements.define("yz-responsive-video",I_);const Z=document.getElementById("teleport")||document.documentElement,nt=document.createElement("yz-dialog-toast");nt.id="globalDialogToast",Z?.appendChild(nt);const ut=document.createElement("yz-dialog-loading");ut.id="globalDialogLoading",Z?.appendChild(ut);const J=document.createElement("yz-dialog");J.id="globalDialog",Z?.appendChild(J);const it=document.createElement("yz-plate-keyboard");it.id="globalPlateKeyboard",Z?.appendChild(it)};return de.dialog=lv,de.install=F_,de.linkChildrenComponentsStyles=R_,de.loading=iv,de.mergeChildComponentCSS=Dt,de.plateKeyboard=jd,de.popAbsolute=Ud,de.popAbsoluteSample=pv,de.popBottom=Yd,de.popBottomSample=cv,de.popCenter=Gd,de.popCenterSample=fv,de.popLeft=Bd,de.popLeftSample=dv,de.popRight=Xd,de.popRightSample=hv,de.popTop=Vd,de.popTopSample=uv,de.toast=av,Object.defineProperty(de,Symbol.toStringTag,{value:"Module"}),de}({});
229
229
  //# sourceMappingURL=yz_custom_element.iife.js.map