@zyzgroup/core-vue 0.0.43 → 0.0.45

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.
Files changed (93) hide show
  1. package/ce/style.css +1 -1
  2. package/ce/yz_custom_element.iife.js +148 -149
  3. package/ce/yz_custom_element.iife.js.map +1 -1
  4. package/ce/yz_custom_element.js +17265 -15234
  5. package/ce/yz_custom_element.js.map +1 -1
  6. package/ce/yz_custom_element.umd.cjs +148 -149
  7. package/ce/yz_custom_element.umd.cjs.map +1 -1
  8. package/dist/style.css +1 -1
  9. package/dist/zyzgroup_core_vue.iife.js +17 -10
  10. package/dist/zyzgroup_core_vue.iife.js.map +1 -1
  11. package/dist/zyzgroup_core_vue.js +8801 -3726
  12. package/dist/zyzgroup_core_vue.js.map +1 -1
  13. package/dist/zyzgroup_core_vue.umd.cjs +17 -10
  14. package/dist/zyzgroup_core_vue.umd.cjs.map +1 -1
  15. package/package.json +2 -2
  16. package/types/components/Accordion.ce.vue.d.ts +5 -11
  17. package/types/components/Accordion.vue.d.ts +5 -11
  18. package/types/components/Button.ce.vue.d.ts +17 -13
  19. package/types/components/Button.vue.d.ts +17 -13
  20. package/types/components/Canvas.ce.vue.d.ts +5 -5
  21. package/types/components/Canvas.vue.d.ts +5 -5
  22. package/types/components/Click.ce.vue.d.ts +38 -0
  23. package/types/components/Click.vue.d.ts +38 -0
  24. package/types/components/Container.ce.vue.d.ts +166 -12
  25. package/types/components/Container.vue.d.ts +166 -12
  26. package/types/components/Dialog.ce.vue.d.ts +31 -10
  27. package/types/components/Dialog.vue.d.ts +31 -10
  28. package/types/components/DialogLoading.ce.vue.d.ts +2 -2
  29. package/types/components/DialogLoading.vue.d.ts +2 -2
  30. package/types/components/MapTianditu.ce.vue.d.ts +8 -4
  31. package/types/components/MapTianditu.vue.d.ts +8 -4
  32. package/types/components/NumberKeyboard.ce.vue.d.ts +22 -0
  33. package/types/components/NumberKeyboard.vue.d.ts +22 -0
  34. package/types/components/Overlay.ce.vue.d.ts +3 -3
  35. package/types/components/Overlay.vue.d.ts +3 -3
  36. package/types/components/Page.ce.vue.d.ts +2 -3
  37. package/types/components/Page.vue.d.ts +2 -3
  38. package/types/components/PlateKeyboard.ce.vue.d.ts +2 -2
  39. package/types/components/PlateKeyboard.vue.d.ts +2 -2
  40. package/types/components/Pop.ce.vue.d.ts +12 -11
  41. package/types/components/Pop.vue.d.ts +12 -11
  42. package/types/components/Popover.ce.vue.d.ts +12 -12
  43. package/types/components/Popover.vue.d.ts +12 -12
  44. package/types/components/SVG.ce.vue.d.ts +5 -5
  45. package/types/components/SVG.vue.d.ts +5 -5
  46. package/types/components/chat/HalfRingIndicator.ce.vue.d.ts +15 -0
  47. package/types/components/chat/HalfRingIndicator.vue.d.ts +15 -0
  48. package/types/components/effect/BorderFocusText.ce.vue.d.ts +3 -4
  49. package/types/components/effect/BorderFocusText.vue.d.ts +3 -4
  50. package/types/components/effect/CSSAnimation.ce.vue.d.ts +3 -4
  51. package/types/components/effect/CSSAnimation.vue.d.ts +3 -4
  52. package/types/components/effect/CSSTransition.ce.vue.d.ts +3 -4
  53. package/types/components/effect/CSSTransition.vue.d.ts +3 -4
  54. package/types/components/effect/Circle.ce.vue.d.ts +4 -5
  55. package/types/components/effect/Circle.vue.d.ts +4 -5
  56. package/types/components/effect/Float.ce.vue.d.ts +1 -2
  57. package/types/components/effect/Float.vue.d.ts +1 -2
  58. package/types/components/effect/ImageMask.ce.vue.d.ts +3 -3
  59. package/types/components/effect/ImageMask.vue.d.ts +3 -3
  60. package/types/components/effect/LineDouble.ce.vue.d.ts +4 -5
  61. package/types/components/effect/LineDouble.vue.d.ts +4 -5
  62. package/types/components/effect/LineSingle.ce.vue.d.ts +4 -5
  63. package/types/components/effect/LineSingle.vue.d.ts +4 -5
  64. package/types/components/effect/Slide.ce.vue.d.ts +1 -2
  65. package/types/components/effect/Slide.vue.d.ts +1 -2
  66. package/types/components/effect/SlideCorner.ce.vue.d.ts +4 -5
  67. package/types/components/effect/SlideCorner.vue.d.ts +4 -5
  68. package/types/components/form/ColorPicker.ce.vue.d.ts +9 -13
  69. package/types/components/form/ColorPicker.vue.d.ts +9 -13
  70. package/types/components/form/Input.ce.vue.d.ts +1 -1
  71. package/types/components/form/Input.vue.d.ts +1 -1
  72. package/types/components/form/InputRangeBox.ce.vue.d.ts +2 -2
  73. package/types/components/form/InputRangeBox.vue.d.ts +2 -2
  74. package/types/components/form/InputRangeCanvas.ce.vue.d.ts +6 -4
  75. package/types/components/form/InputRangeCanvas.vue.d.ts +6 -4
  76. package/types/components/form/SlideLeftItem.ce.vue.d.ts +8 -7
  77. package/types/components/form/SlideLeftItem.vue.d.ts +8 -7
  78. package/types/components/form/Switch.ce.vue.d.ts +1 -1
  79. package/types/components/form/Switch.vue.d.ts +1 -1
  80. package/types/components/svg/SVGAdd.ce.vue.d.ts +7 -0
  81. package/types/components/svg/SVGAdd.vue.d.ts +7 -0
  82. package/types/components/svg/SVGCleanLeft.ce.vue.d.ts +7 -0
  83. package/types/components/svg/SVGCleanLeft.vue.d.ts +7 -0
  84. package/types/components/svg/SVGClose.ce.vue.d.ts +7 -0
  85. package/types/components/svg/SVGClose.vue.d.ts +7 -0
  86. package/types/components/svg/SVGDelete.ce.vue.d.ts +0 -3
  87. package/types/components/svg/SVGDelete.vue.d.ts +0 -3
  88. package/types/components/svg/SVGEllipse.ce.vue.d.ts +7 -0
  89. package/types/components/svg/SVGEllipse.vue.d.ts +7 -0
  90. package/types/components/svg/SVGWarn.ce.vue.d.ts +4 -4
  91. package/types/components/svg/SVGWarn.vue.d.ts +4 -4
  92. package/types/globalTeleport.d.ts +14 -3
  93. package/types/main.d.ts +1 -0
@@ -1,32 +1,32 @@
1
- (function(ee,Ye){typeof exports=="object"&&typeof module<"u"?Ye(exports):typeof define=="function"&&define.amd?define(["exports"],Ye):(ee=typeof globalThis<"u"?globalThis:ee||self,Ye(ee.YZCustomElement={}))})(this,function(ee){"use strict";/**
1
+ (function(oe,Be){typeof exports=="object"&&typeof module<"u"?Be(exports):typeof define=="function"&&define.amd?define(["exports"],Be):(oe=typeof globalThis<"u"?globalThis:oe||self,Be(oe.YZCustomElement={}))})(this,function(oe){"use strict";/**
2
2
  * @vue/shared v3.5.13
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
- **//*! #__NO_SIDE_EFFECTS__ */function Ye(e){const t=Object.create(null);for(const o of e.split(","))t[o]=1;return o=>o in t}const Ht={}.NODE_ENV!=="production"?Object.freeze({}):{},On={}.NODE_ENV!=="production"?Object.freeze([]):[],ge=()=>{},sm=()=>!1,qn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ur=e=>e.startsWith("onUpdate:"),Jt=Object.assign,Fa=(e,t)=>{const o=e.indexOf(t);o>-1&&e.splice(o,1)},am=Object.prototype.hasOwnProperty,Yt=(e,t)=>am.call(e,t),_t=Array.isArray,sn=e=>Kn(e)==="[object Map]",ac=e=>Kn(e)==="[object Set]",im=e=>Kn(e)==="[object RegExp]",Tt=e=>typeof e=="function",oe=e=>typeof e=="string",wo=e=>typeof e=="symbol",Wt=e=>e!==null&&typeof e=="object",La=e=>(Wt(e)||Tt(e))&&Tt(e.then)&&Tt(e.catch),ic=Object.prototype.toString,Kn=e=>ic.call(e),za=e=>Kn(e).slice(8,-1),jr=e=>Kn(e)==="[object Object]",Ma=e=>oe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Qn=Ye(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),lm=Ye("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Hr=e=>{const t=Object.create(null);return o=>t[o]||(t[o]=e(o))},cm=/-(\w)/g,be=Hr(e=>e.replace(cm,(t,o)=>o?o.toUpperCase():"")),um=/\B([A-Z])/g,Ve=Hr(e=>e.replace(um,"-$1").toLowerCase()),an=Hr(e=>e.charAt(0).toUpperCase()+e.slice(1)),ln=Hr(e=>e?`on${an(e)}`:""),Bo=(e,t)=>!Object.is(e,t),cn=(e,...t)=>{for(let o=0;o<e.length;o++)e[o](...t)},Wr=(e,t,o,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:o})},fm=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ba=e=>{const t=oe(e)?Number(e):NaN;return isNaN(t)?e:t};let lc;const Jn=()=>lc||(lc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function N(e){if(_t(e)){const t={};for(let o=0;o<e.length;o++){const n=e[o],r=oe(n)?mm(n):N(n);if(r)for(const s in r)t[s]=r[s]}return t}else if(oe(e)||Wt(e))return e}const dm=/;(?![^(]*\))/g,pm=/:([^]+)/,hm=/\/\*[^]*?\*\//g;function mm(e){const t={};return e.replace(hm,"").split(dm).forEach(o=>{if(o){const n=o.split(pm);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Ut(e){let t="";if(oe(e))t=e;else if(_t(e))for(let o=0;o<e.length;o++){const n=Ut(e[o]);n&&(t+=n+" ")}else if(Wt(e))for(const o in e)e[o]&&(t+=o+" ");return t.trim()}const gm="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",ym="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",vm="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",bm=Ye(gm),_m=Ye(ym),xm=Ye(vm),km=Ye("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function cc(e){return!!e||e===""}const uc=e=>!!(e&&e.__v_isRef===!0),ut=e=>oe(e)?e:e==null?"":_t(e)||Wt(e)&&(e.toString===ic||!Tt(e.toString))?uc(e)?ut(e.value):JSON.stringify(e,fc,2):String(e),fc=(e,t)=>uc(t)?fc(e,t.value):sn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((o,[n,r],s)=>(o[Ya(n,s)+" =>"]=r,o),{})}:ac(t)?{[`Set(${t.size})`]:[...t.values()].map(o=>Ya(o))}:wo(t)?Ya(t):Wt(t)&&!_t(t)&&!jr(t)?String(t):t,Ya=(e,t="")=>{var o;return wo(e)?`Symbol(${(o=e.description)!=null?o:t})`:e};/**
5
+ **//*! #__NO_SIDE_EFFECTS__ */function Be(o){const t=Object.create(null);for(const e of o.split(","))t[e]=1;return e=>e in t}const qt={}.NODE_ENV!=="production"?Object.freeze({}):{},Rn={}.NODE_ENV!=="production"?Object.freeze([]):[],be=()=>{},qm=()=>!1,as=o=>o.charCodeAt(0)===111&&o.charCodeAt(1)===110&&(o.charCodeAt(2)>122||o.charCodeAt(2)<97),rr=o=>o.startsWith("onUpdate:"),ne=Object.assign,ni=(o,t)=>{const e=o.indexOf(t);e>-1&&o.splice(e,1)},Km=Object.prototype.hasOwnProperty,Lt=(o,t)=>Km.call(o,t),bt=Array.isArray,cn=o=>is(o)==="[object Map]",Lc=o=>is(o)==="[object Set]",Qm=o=>is(o)==="[object RegExp]",Ct=o=>typeof o=="function",ae=o=>typeof o=="string",So=o=>typeof o=="symbol",Kt=o=>o!==null&&typeof o=="object",si=o=>(Kt(o)||Ct(o))&&Ct(o.then)&&Ct(o.catch),Bc=Object.prototype.toString,is=o=>Bc.call(o),ri=o=>is(o).slice(8,-1),ar=o=>is(o)==="[object Object]",ai=o=>ae(o)&&o!=="NaN"&&o[0]!=="-"&&""+parseInt(o,10)===o,ls=Be(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Jm=Be("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),ir=o=>{const t=Object.create(null);return e=>t[e]||(t[e]=o(e))},t0=/-(\w)/g,we=ir(o=>o.replace(t0,(t,e)=>e?e.toUpperCase():"")),e0=/\B([A-Z])/g,Ve=ir(o=>o.replace(e0,"-$1").toLowerCase()),un=ir(o=>o.charAt(0).toUpperCase()+o.slice(1)),fn=ir(o=>o?`on${un(o)}`:""),Xo=(o,t)=>!Object.is(o,t),dn=(o,...t)=>{for(let e=0;e<o.length;e++)o[e](...t)},lr=(o,t,e,n=!1)=>{Object.defineProperty(o,t,{configurable:!0,enumerable:!1,writable:n,value:e})},o0=o=>{const t=parseFloat(o);return isNaN(t)?o:t},ii=o=>{const t=ae(o)?Number(o):NaN;return isNaN(t)?o:t};let Vc;const cs=()=>Vc||(Vc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function N(o){if(bt(o)){const t={};for(let e=0;e<o.length;e++){const n=o[e],s=ae(n)?a0(n):N(n);if(s)for(const r in s)t[r]=s[r]}return t}else if(ae(o)||Kt(o))return o}const n0=/;(?![^(]*\))/g,s0=/:([^]+)/,r0=/\/\*[^]*?\*\//g;function a0(o){const t={};return o.replace(r0,"").split(n0).forEach(e=>{if(e){const n=e.split(s0);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Gt(o){let t="";if(ae(o))t=o;else if(bt(o))for(let e=0;e<o.length;e++){const n=Gt(o[e]);n&&(t+=n+" ")}else if(Kt(o))for(const e in o)o[e]&&(t+=e+" ");return t.trim()}const i0="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",l0="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",c0="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",u0=Be(i0),f0=Be(l0),d0=Be(c0),h0=Be("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Yc(o){return!!o||o===""}const Xc=o=>!!(o&&o.__v_isRef===!0),ft=o=>ae(o)?o:o==null?"":bt(o)||Kt(o)&&(o.toString===Bc||!Ct(o.toString))?Xc(o)?ft(o.value):JSON.stringify(o,Zc,2):String(o),Zc=(o,t)=>Xc(t)?Zc(o,t.value):cn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[n,s],r)=>(e[li(n,r)+" =>"]=s,e),{})}:Lc(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>li(e))}:So(t)?li(t):Kt(t)&&!bt(t)&&!ar(t)?String(t):t,li=(o,t="")=>{var e;return So(o)?`Symbol(${(e=o.description)!=null?e:t})`:o};/**
6
6
  * @vue/reactivity v3.5.13
7
7
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
8
8
  * @license MIT
9
- **/function co(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let Xe;class wm{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Xe,!t&&Xe&&(this.index=(Xe.scopes||(Xe.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,o;if(this.scopes)for(t=0,o=this.scopes.length;t<o;t++)this.scopes[t].pause();for(t=0,o=this.effects.length;t<o;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,o;if(this.scopes)for(t=0,o=this.scopes.length;t<o;t++)this.scopes[t].resume();for(t=0,o=this.effects.length;t<o;t++)this.effects[t].resume()}}run(t){if(this._active){const o=Xe;try{return Xe=this,t()}finally{Xe=o}}else({}).NODE_ENV!=="production"&&co("cannot run an inactive effect scope.")}on(){Xe=this}off(){Xe=this.parent}stop(t){if(this._active){this._active=!1;let o,n;for(o=0,n=this.effects.length;o<n;o++)this.effects[o].stop();for(this.effects.length=0,o=0,n=this.cleanups.length;o<n;o++)this.cleanups[o]();if(this.cleanups.length=0,this.scopes){for(o=0,n=this.scopes.length;o<n;o++)this.scopes[o].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function Cm(){return Xe}let qt;const Va=new WeakSet;class dc{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Xe&&Xe.active&&Xe.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Va.has(this)&&(Va.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||hc(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,bc(this),mc(this);const t=qt,o=eo;qt=this,eo=!0;try{return this.fn()}finally{({}).NODE_ENV!=="production"&&qt!==this&&co("Active effect was not restored correctly - this is likely a Vue internal bug."),gc(this),qt=t,eo=o,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Ua(t);this.deps=this.depsTail=void 0,bc(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Va.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ga(this)&&this.run()}get dirty(){return Ga(this)}}let pc=0,tr,er;function hc(e,t=!1){if(e.flags|=8,t){e.next=er,er=e;return}e.next=tr,tr=e}function Xa(){pc++}function Za(){if(--pc>0)return;if(er){let t=er;for(er=void 0;t;){const o=t.next;t.next=void 0,t.flags&=-9,t=o}}let e;for(;tr;){let t=tr;for(tr=void 0;t;){const o=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=o}}if(e)throw e}function mc(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function gc(e){let t,o=e.depsTail,n=o;for(;n;){const r=n.prevDep;n.version===-1?(n===o&&(o=r),Ua(n),Tm(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=r}e.deps=t,e.depsTail=o}function Ga(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(yc(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function yc(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===or))return;e.globalVersion=or;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Ga(e)){e.flags&=-3;return}const o=qt,n=eo;qt=e,eo=!0;try{mc(e);const r=e.fn(e._value);(t.version===0||Bo(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{qt=o,eo=n,gc(e),e.flags&=-3}}function Ua(e,t=!1){const{dep:o,prevSub:n,nextSub:r}=e;if(n&&(n.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=n,e.nextSub=void 0),{}.NODE_ENV!=="production"&&o.subsHead===e&&(o.subsHead=r),o.subs===e&&(o.subs=n,!n&&o.computed)){o.computed.flags&=-5;for(let s=o.computed.deps;s;s=s.nextDep)Ua(s,!0)}!t&&!--o.sc&&o.map&&o.map.delete(o.key)}function Tm(e){const{prevDep:t,nextDep:o}=e;t&&(t.nextDep=o,e.prevDep=void 0),o&&(o.prevDep=t,e.nextDep=void 0)}let eo=!0;const vc=[];function Co(){vc.push(eo),eo=!1}function To(){const e=vc.pop();eo=e===void 0?!0:e}function bc(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const o=qt;qt=void 0;try{t()}finally{qt=o}}}let or=0;class Em{constructor(t,o){this.sub=t,this.dep=o,this.version=o.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}let ja=class{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,{}.NODE_ENV!=="production"&&(this.subsHead=void 0)}track(t){if(!qt||!eo||qt===this.computed)return;let o=this.activeLink;if(o===void 0||o.sub!==qt)o=this.activeLink=new Em(qt,this),qt.deps?(o.prevDep=qt.depsTail,qt.depsTail.nextDep=o,qt.depsTail=o):qt.deps=qt.depsTail=o,_c(o);else if(o.version===-1&&(o.version=this.version,o.nextDep)){const n=o.nextDep;n.prevDep=o.prevDep,o.prevDep&&(o.prevDep.nextDep=n),o.prevDep=qt.depsTail,o.nextDep=void 0,qt.depsTail.nextDep=o,qt.depsTail=o,qt.deps===o&&(qt.deps=n)}return{}.NODE_ENV!=="production"&&qt.onTrack&&qt.onTrack(Jt({effect:qt},t)),o}trigger(t){this.version++,or++,this.notify(t)}notify(t){Xa();try{if({}.NODE_ENV!=="production")for(let o=this.subsHead;o;o=o.nextSub)o.sub.onTrigger&&!(o.sub.flags&8)&&o.sub.onTrigger(Jt({effect:o.sub},t));for(let o=this.subs;o;o=o.prevSub)o.sub.notify()&&o.sub.dep.notify()}finally{Za()}}};function _c(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)_c(n)}const o=e.dep.subs;o!==e&&(e.prevSub=o,o&&(o.nextSub=e)),{}.NODE_ENV!=="production"&&e.dep.subsHead===void 0&&(e.dep.subsHead=e),e.dep.subs=e}}const Ha=new WeakMap,un=Symbol({}.NODE_ENV!=="production"?"Object iterate":""),Wa=Symbol({}.NODE_ENV!=="production"?"Map keys iterate":""),nr=Symbol({}.NODE_ENV!=="production"?"Array iterate":"");function ye(e,t,o){if(eo&&qt){let n=Ha.get(e);n||Ha.set(e,n=new Map);let r=n.get(o);r||(n.set(o,r=new ja),r.map=n,r.key=o),{}.NODE_ENV!=="production"?r.track({target:e,type:t,key:o}):r.track()}}function uo(e,t,o,n,r,s){const a=Ha.get(e);if(!a){or++;return}const l=i=>{i&&({}.NODE_ENV!=="production"?i.trigger({target:e,type:t,key:o,newValue:n,oldValue:r,oldTarget:s}):i.trigger())};if(Xa(),t==="clear")a.forEach(l);else{const i=_t(e),c=i&&Ma(o);if(i&&o==="length"){const u=Number(n);a.forEach((f,d)=>{(d==="length"||d===nr||!wo(d)&&d>=u)&&l(f)})}else switch((o!==void 0||a.has(void 0))&&l(a.get(o)),c&&l(a.get(nr)),t){case"add":i?c&&l(a.get("length")):(l(a.get(un)),sn(e)&&l(a.get(Wa)));break;case"delete":i||(l(a.get(un)),sn(e)&&l(a.get(Wa)));break;case"set":sn(e)&&l(a.get(un));break}}Za()}function Pn(e){const t=At(e);return t===e?t:(ye(t,"iterate",nr),Ie(e)?t:t.map(Oe))}function qr(e){return ye(e=At(e),"iterate",nr),e}const Sm={__proto__:null,[Symbol.iterator](){return qa(this,Symbol.iterator,Oe)},concat(...e){return Pn(this).concat(...e.map(t=>_t(t)?Pn(t):t))},entries(){return qa(this,"entries",e=>(e[1]=Oe(e[1]),e))},every(e,t){return Eo(this,"every",e,t,void 0,arguments)},filter(e,t){return Eo(this,"filter",e,t,o=>o.map(Oe),arguments)},find(e,t){return Eo(this,"find",e,t,Oe,arguments)},findIndex(e,t){return Eo(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Eo(this,"findLast",e,t,Oe,arguments)},findLastIndex(e,t){return Eo(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Eo(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ka(this,"includes",e)},indexOf(...e){return Ka(this,"indexOf",e)},join(e){return Pn(this).join(e)},lastIndexOf(...e){return Ka(this,"lastIndexOf",e)},map(e,t){return Eo(this,"map",e,t,void 0,arguments)},pop(){return rr(this,"pop")},push(...e){return rr(this,"push",e)},reduce(e,...t){return xc(this,"reduce",e,t)},reduceRight(e,...t){return xc(this,"reduceRight",e,t)},shift(){return rr(this,"shift")},some(e,t){return Eo(this,"some",e,t,void 0,arguments)},splice(...e){return rr(this,"splice",e)},toReversed(){return Pn(this).toReversed()},toSorted(e){return Pn(this).toSorted(e)},toSpliced(...e){return Pn(this).toSpliced(...e)},unshift(...e){return rr(this,"unshift",e)},values(){return qa(this,"values",Oe)}};function qa(e,t,o){const n=qr(e),r=n[t]();return n!==e&&!Ie(e)&&(r._next=r.next,r.next=()=>{const s=r._next();return s.value&&(s.value=o(s.value)),s}),r}const Om=Array.prototype;function Eo(e,t,o,n,r,s){const a=qr(e),l=a!==e&&!Ie(e),i=a[t];if(i!==Om[t]){const f=i.apply(e,s);return l?Oe(f):f}let c=o;a!==e&&(l?c=function(f,d){return o.call(this,Oe(f),d,e)}:o.length>2&&(c=function(f,d){return o.call(this,f,d,e)}));const u=i.call(a,c,n);return l&&r?r(u):u}function xc(e,t,o,n){const r=qr(e);let s=o;return r!==e&&(Ie(e)?o.length>3&&(s=function(a,l,i){return o.call(this,a,l,i,e)}):s=function(a,l,i){return o.call(this,a,Oe(l),i,e)}),r[t](s,...n)}function Ka(e,t,o){const n=At(e);ye(n,"iterate",nr);const r=n[t](...o);return(r===-1||r===!1)&&es(o[0])?(o[0]=At(o[0]),n[t](...o)):r}function rr(e,t,o=[]){Co(),Xa();const n=At(e)[t].apply(e,o);return Za(),To(),n}const Pm=Ye("__proto__,__v_isRef,__isVue"),kc=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(wo));function Rm(e){wo(e)||(e=String(e));const t=At(this);return ye(t,"has",e),t.hasOwnProperty(e)}class wc{constructor(t=!1,o=!1){this._isReadonly=t,this._isShallow=o}get(t,o,n){if(o==="__v_skip")return t.__v_skip;const r=this._isReadonly,s=this._isShallow;if(o==="__v_isReactive")return!r;if(o==="__v_isReadonly")return r;if(o==="__v_isShallow")return s;if(o==="__v_raw")return n===(r?s?Rc:Pc:s?Oc:Sc).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const a=_t(t);if(!r){let i;if(a&&(i=Sm[o]))return i;if(o==="hasOwnProperty")return Rm}const l=Reflect.get(t,o,pe(t)?t:n);return(wo(o)?kc.has(o):Pm(o))||(r||ye(t,"get",o),s)?l:pe(l)?a&&Ma(o)?l:l.value:Wt(l)?r?Ac(l):jt(l):l}}class Cc extends wc{constructor(t=!1){super(!1,t)}set(t,o,n,r){let s=t[o];if(!this._isShallow){const i=So(s);if(!Ie(n)&&!So(n)&&(s=At(s),n=At(n)),!_t(t)&&pe(s)&&!pe(n))return i?!1:(s.value=n,!0)}const a=_t(t)&&Ma(o)?Number(o)<t.length:Yt(t,o),l=Reflect.set(t,o,n,pe(t)?t:r);return t===At(r)&&(a?Bo(n,s)&&uo(t,"set",o,n,s):uo(t,"add",o,n)),l}deleteProperty(t,o){const n=Yt(t,o),r=t[o],s=Reflect.deleteProperty(t,o);return s&&n&&uo(t,"delete",o,void 0,r),s}has(t,o){const n=Reflect.has(t,o);return(!wo(o)||!kc.has(o))&&ye(t,"has",o),n}ownKeys(t){return ye(t,"iterate",_t(t)?"length":un),Reflect.ownKeys(t)}}class Tc extends wc{constructor(t=!1){super(!0,t)}set(t,o){return{}.NODE_ENV!=="production"&&co(`Set operation on key "${String(o)}" failed: target is readonly.`,t),!0}deleteProperty(t,o){return{}.NODE_ENV!=="production"&&co(`Delete operation on key "${String(o)}" failed: target is readonly.`,t),!0}}const Im=new Cc,Am=new Tc,$m=new Cc(!0),Nm=new Tc(!0),Qa=e=>e,Kr=e=>Reflect.getPrototypeOf(e);function Dm(e,t,o){return function(...n){const r=this.__v_raw,s=At(r),a=sn(s),l=e==="entries"||e===Symbol.iterator&&a,i=e==="keys"&&a,c=r[e](...n),u=o?Qa:t?Ja:Oe;return!t&&ye(s,"iterate",i?Wa:un),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:l?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function Qr(e){return function(...t){if({}.NODE_ENV!=="production"){const o=t[0]?`on key "${t[0]}" `:"";co(`${an(e)} operation ${o}failed: target is readonly.`,At(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function Fm(e,t){const o={get(r){const s=this.__v_raw,a=At(s),l=At(r);e||(Bo(r,l)&&ye(a,"get",r),ye(a,"get",l));const{has:i}=Kr(a),c=t?Qa:e?Ja:Oe;if(i.call(a,r))return c(s.get(r));if(i.call(a,l))return c(s.get(l));s!==a&&s.get(r)},get size(){const r=this.__v_raw;return!e&&ye(At(r),"iterate",un),Reflect.get(r,"size",r)},has(r){const s=this.__v_raw,a=At(s),l=At(r);return e||(Bo(r,l)&&ye(a,"has",r),ye(a,"has",l)),r===l?s.has(r):s.has(r)||s.has(l)},forEach(r,s){const a=this,l=a.__v_raw,i=At(l),c=t?Qa:e?Ja:Oe;return!e&&ye(i,"iterate",un),l.forEach((u,f)=>r.call(s,c(u),c(f),a))}};return Jt(o,e?{add:Qr("add"),set:Qr("set"),delete:Qr("delete"),clear:Qr("clear")}:{add(r){!t&&!Ie(r)&&!So(r)&&(r=At(r));const s=At(this);return Kr(s).has.call(s,r)||(s.add(r),uo(s,"add",r,r)),this},set(r,s){!t&&!Ie(s)&&!So(s)&&(s=At(s));const a=At(this),{has:l,get:i}=Kr(a);let c=l.call(a,r);c?{}.NODE_ENV!=="production"&&Ec(a,l,r):(r=At(r),c=l.call(a,r));const u=i.call(a,r);return a.set(r,s),c?Bo(s,u)&&uo(a,"set",r,s,u):uo(a,"add",r,s),this},delete(r){const s=At(this),{has:a,get:l}=Kr(s);let i=a.call(s,r);i?{}.NODE_ENV!=="production"&&Ec(s,a,r):(r=At(r),i=a.call(s,r));const c=l?l.call(s,r):void 0,u=s.delete(r);return i&&uo(s,"delete",r,void 0,c),u},clear(){const r=At(this),s=r.size!==0,a={}.NODE_ENV!=="production"?sn(r)?new Map(r):new Set(r):void 0,l=r.clear();return s&&uo(r,"clear",void 0,void 0,a),l}}),["keys","values","entries",Symbol.iterator].forEach(r=>{o[r]=Dm(r,e,t)}),o}function Jr(e,t){const o=Fm(e,t);return(n,r,s)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?n:Reflect.get(Yt(o,r)&&r in n?o:n,r,s)}const Lm={get:Jr(!1,!1)},zm={get:Jr(!1,!0)},Mm={get:Jr(!0,!1)},Bm={get:Jr(!0,!0)};function Ec(e,t,o){const n=At(o);if(n!==o&&t.call(e,n)){const r=za(e);co(`Reactive ${r} contains both the raw and reactive versions of the same object${r==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const Sc=new WeakMap,Oc=new WeakMap,Pc=new WeakMap,Rc=new WeakMap;function Ym(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Vm(e){return e.__v_skip||!Object.isExtensible(e)?0:Ym(za(e))}function jt(e){return So(e)?e:ts(e,!1,Im,Lm,Sc)}function Ic(e){return ts(e,!1,$m,zm,Oc)}function Ac(e){return ts(e,!0,Am,Mm,Pc)}function fo(e){return ts(e,!0,Nm,Bm,Rc)}function ts(e,t,o,n,r){if(!Wt(e))return{}.NODE_ENV!=="production"&&co(`value cannot be made ${t?"readonly":"reactive"}: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=r.get(e);if(s)return s;const a=Vm(e);if(a===0)return e;const l=new Proxy(e,a===2?n:o);return r.set(e,l),l}function fn(e){return So(e)?fn(e.__v_raw):!!(e&&e.__v_isReactive)}function So(e){return!!(e&&e.__v_isReadonly)}function Ie(e){return!!(e&&e.__v_isShallow)}function es(e){return e?!!e.__v_raw:!1}function At(e){const t=e&&e.__v_raw;return t?At(t):e}function Xm(e){return!Yt(e,"__v_skip")&&Object.isExtensible(e)&&Wr(e,"__v_skip",!0),e}const Oe=e=>Wt(e)?jt(e):e,Ja=e=>Wt(e)?Ac(e):e;function pe(e){return e?e.__v_isRef===!0:!1}function R(e){return $c(e,!1)}function Zm(e){return $c(e,!0)}function $c(e,t){return pe(e)?e:new Gm(e,t)}class Gm{constructor(t,o){this.dep=new ja,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=o?t:At(t),this._value=o?t:Oe(t),this.__v_isShallow=o}get value(){return{}.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track(),this._value}set value(t){const o=this._rawValue,n=this.__v_isShallow||Ie(t)||So(t);t=n?t:At(t),Bo(t,o)&&(this._rawValue=t,this._value=n?t:Oe(t),{}.NODE_ENV!=="production"?this.dep.trigger({target:this,type:"set",key:"value",newValue:t,oldValue:o}):this.dep.trigger())}}function vt(e){return pe(e)?e.value:e}const Um={get:(e,t,o)=>t==="__v_raw"?e:vt(Reflect.get(e,t,o)),set:(e,t,o,n)=>{const r=e[t];return pe(r)&&!pe(o)?(r.value=o,!0):Reflect.set(e,t,o,n)}};function Nc(e){return fn(e)?e:new Proxy(e,Um)}class jm{constructor(t,o,n){this.fn=t,this.setter=o,this._value=void 0,this.dep=new ja(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=or-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!o,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&qt!==this)return hc(this,!0),!0}get value(){const t={}.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track();return yc(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter?this.setter(t):{}.NODE_ENV!=="production"&&co("Write operation failed: computed value is readonly")}}function Hm(e,t,o=!1){let n,r;Tt(e)?n=e:(n=e.get,r=e.set);const s=new jm(n,r,o);return{}.NODE_ENV!=="production"&&t&&!o&&(s.onTrack=t.onTrack,s.onTrigger=t.onTrigger),s}const os={},ns=new WeakMap;let dn;function Wm(e,t=!1,o=dn){if(o){let n=ns.get(o);n||ns.set(o,n=[]),n.push(e)}else({}).NODE_ENV!=="production"&&!t&&co("onWatcherCleanup() was called when there was no active watcher to associate with.")}function qm(e,t,o=Ht){const{immediate:n,deep:r,once:s,scheduler:a,augmentJob:l,call:i}=o,c=_=>{(o.onWarn||co)("Invalid watch source: ",_,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},u=_=>r?_:Ie(_)||r===!1||r===0?Oo(_,1):Oo(_);let f,d,h,p,w=!1,x=!1;if(pe(e)?(d=()=>e.value,w=Ie(e)):fn(e)?(d=()=>u(e),w=!0):_t(e)?(x=!0,w=e.some(_=>fn(_)||Ie(_)),d=()=>e.map(_=>{if(pe(_))return _.value;if(fn(_))return u(_);if(Tt(_))return i?i(_,2):_();({}).NODE_ENV!=="production"&&c(_)})):Tt(e)?t?d=i?()=>i(e,2):e:d=()=>{if(h){Co();try{h()}finally{To()}}const _=dn;dn=f;try{return i?i(e,3,[p]):e(p)}finally{dn=_}}:(d=ge,{}.NODE_ENV!=="production"&&c(e)),t&&r){const _=d,C=r===!0?1/0:r;d=()=>Oo(_(),C)}const v=Cm(),g=()=>{f.stop(),v&&v.active&&Fa(v.effects,f)};if(s&&t){const _=t;t=(...C)=>{_(...C),g()}}let y=x?new Array(e.length).fill(os):os;const m=_=>{if(!(!(f.flags&1)||!f.dirty&&!_))if(t){const C=f.run();if(r||w||(x?C.some((M,X)=>Bo(M,y[X])):Bo(C,y))){h&&h();const M=dn;dn=f;try{const X=[C,y===os?void 0:x&&y[0]===os?[]:y,p];i?i(t,3,X):t(...X),y=C}finally{dn=M}}}else f.run()};return l&&l(m),f=new dc(d),f.scheduler=a?()=>a(m,!1):m,p=_=>Wm(_,!1,f),h=f.onStop=()=>{const _=ns.get(f);if(_){if(i)i(_,4);else for(const C of _)C();ns.delete(f)}},{}.NODE_ENV!=="production"&&(f.onTrack=o.onTrack,f.onTrigger=o.onTrigger),t?n?m(!0):y=f.run():a?a(m.bind(null,!0),!0):f.run(),g.pause=f.pause.bind(f),g.resume=f.resume.bind(f),g.stop=g,g}function Oo(e,t=1/0,o){if(t<=0||!Wt(e)||e.__v_skip||(o=o||new Set,o.has(e)))return e;if(o.add(e),t--,pe(e))Oo(e.value,t,o);else if(_t(e))for(let n=0;n<e.length;n++)Oo(e[n],t,o);else if(ac(e)||sn(e))e.forEach(n=>{Oo(n,t,o)});else if(jr(e)){for(const n in e)Oo(e[n],t,o);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&Oo(e[n],t,o)}return e}/**
9
+ **/function go(o,...t){console.warn(`[Vue warn] ${o}`,...t)}let Ye;class p0{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ye,!t&&Ye&&(this.index=(Ye.scopes||(Ye.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,e;if(this.scopes)for(t=0,e=this.scopes.length;t<e;t++)this.scopes[t].pause();for(t=0,e=this.effects.length;t<e;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,e;if(this.scopes)for(t=0,e=this.scopes.length;t<e;t++)this.scopes[t].resume();for(t=0,e=this.effects.length;t<e;t++)this.effects[t].resume()}}run(t){if(this._active){const e=Ye;try{return Ye=this,t()}finally{Ye=e}}else({}).NODE_ENV!=="production"&&go("cannot run an inactive effect scope.")}on(){Ye=this}off(){Ye=this.parent}stop(t){if(this._active){this._active=!1;let e,n;for(e=0,n=this.effects.length;e<n;e++)this.effects[e].stop();for(this.effects.length=0,e=0,n=this.cleanups.length;e<n;e++)this.cleanups[e]();if(this.cleanups.length=0,this.scopes){for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function m0(){return Ye}let Qt;const ci=new WeakSet;class Uc{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Ye&&Ye.active&&Ye.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ci.has(this)&&(ci.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||jc(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Qc(this),Gc(this);const t=Qt,e=ao;Qt=this,ao=!0;try{return this.fn()}finally{({}).NODE_ENV!=="production"&&Qt!==this&&go("Active effect was not restored correctly - this is likely a Vue internal bug."),Wc(this),Qt=t,ao=e,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)hi(t);this.deps=this.depsTail=void 0,Qc(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ci.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){di(this)&&this.run()}get dirty(){return di(this)}}let Hc=0,us,fs;function jc(o,t=!1){if(o.flags|=8,t){o.next=fs,fs=o;return}o.next=us,us=o}function ui(){Hc++}function fi(){if(--Hc>0)return;if(fs){let t=fs;for(fs=void 0;t;){const e=t.next;t.next=void 0,t.flags&=-9,t=e}}let o;for(;us;){let t=us;for(us=void 0;t;){const e=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){o||(o=n)}t=e}}if(o)throw o}function Gc(o){for(let t=o.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Wc(o){let t,e=o.depsTail,n=e;for(;n;){const s=n.prevDep;n.version===-1?(n===e&&(e=s),hi(n),g0(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=s}o.deps=t,o.depsTail=e}function di(o){for(let t=o.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(qc(t.dep.computed)||t.dep.version!==t.version))return!0;return!!o._dirty}function qc(o){if(o.flags&4&&!(o.flags&16)||(o.flags&=-17,o.globalVersion===ds))return;o.globalVersion=ds;const t=o.dep;if(o.flags|=2,t.version>0&&!o.isSSR&&o.deps&&!di(o)){o.flags&=-3;return}const e=Qt,n=ao;Qt=o,ao=!0;try{Gc(o);const s=o.fn(o._value);(t.version===0||Xo(s,o._value))&&(o._value=s,t.version++)}catch(s){throw t.version++,s}finally{Qt=e,ao=n,Wc(o),o.flags&=-3}}function hi(o,t=!1){const{dep:e,prevSub:n,nextSub:s}=o;if(n&&(n.nextSub=s,o.prevSub=void 0),s&&(s.prevSub=n,o.nextSub=void 0),{}.NODE_ENV!=="production"&&e.subsHead===o&&(e.subsHead=s),e.subs===o&&(e.subs=n,!n&&e.computed)){e.computed.flags&=-5;for(let r=e.computed.deps;r;r=r.nextDep)hi(r,!0)}!t&&!--e.sc&&e.map&&e.map.delete(e.key)}function g0(o){const{prevDep:t,nextDep:e}=o;t&&(t.nextDep=e,o.prevDep=void 0),e&&(e.prevDep=t,o.nextDep=void 0)}let ao=!0;const Kc=[];function Oo(){Kc.push(ao),ao=!1}function Po(){const o=Kc.pop();ao=o===void 0?!0:o}function Qc(o){const{cleanup:t}=o;if(o.cleanup=void 0,t){const e=Qt;Qt=void 0;try{t()}finally{Qt=e}}}let ds=0;class y0{constructor(t,e){this.sub=t,this.dep=e,this.version=e.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}let pi=class{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,{}.NODE_ENV!=="production"&&(this.subsHead=void 0)}track(t){if(!Qt||!ao||Qt===this.computed)return;let e=this.activeLink;if(e===void 0||e.sub!==Qt)e=this.activeLink=new y0(Qt,this),Qt.deps?(e.prevDep=Qt.depsTail,Qt.depsTail.nextDep=e,Qt.depsTail=e):Qt.deps=Qt.depsTail=e,Jc(e);else if(e.version===-1&&(e.version=this.version,e.nextDep)){const n=e.nextDep;n.prevDep=e.prevDep,e.prevDep&&(e.prevDep.nextDep=n),e.prevDep=Qt.depsTail,e.nextDep=void 0,Qt.depsTail.nextDep=e,Qt.depsTail=e,Qt.deps===e&&(Qt.deps=n)}return{}.NODE_ENV!=="production"&&Qt.onTrack&&Qt.onTrack(ne({effect:Qt},t)),e}trigger(t){this.version++,ds++,this.notify(t)}notify(t){ui();try{if({}.NODE_ENV!=="production")for(let e=this.subsHead;e;e=e.nextSub)e.sub.onTrigger&&!(e.sub.flags&8)&&e.sub.onTrigger(ne({effect:e.sub},t));for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{fi()}}};function Jc(o){if(o.dep.sc++,o.sub.flags&4){const t=o.dep.computed;if(t&&!o.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)Jc(n)}const e=o.dep.subs;e!==o&&(o.prevSub=e,e&&(e.nextSub=o)),{}.NODE_ENV!=="production"&&o.dep.subsHead===void 0&&(o.dep.subsHead=o),o.dep.subs=o}}const mi=new WeakMap,hn=Symbol({}.NODE_ENV!=="production"?"Object iterate":""),gi=Symbol({}.NODE_ENV!=="production"?"Map keys iterate":""),hs=Symbol({}.NODE_ENV!=="production"?"Array iterate":"");function _e(o,t,e){if(ao&&Qt){let n=mi.get(o);n||mi.set(o,n=new Map);let s=n.get(e);s||(n.set(e,s=new pi),s.map=n,s.key=e),{}.NODE_ENV!=="production"?s.track({target:o,type:t,key:e}):s.track()}}function yo(o,t,e,n,s,r){const a=mi.get(o);if(!a){ds++;return}const i=l=>{l&&({}.NODE_ENV!=="production"?l.trigger({target:o,type:t,key:e,newValue:n,oldValue:s,oldTarget:r}):l.trigger())};if(ui(),t==="clear")a.forEach(i);else{const l=bt(o),c=l&&ai(e);if(l&&e==="length"){const u=Number(n);a.forEach((f,d)=>{(d==="length"||d===hs||!So(d)&&d>=u)&&i(f)})}else switch((e!==void 0||a.has(void 0))&&i(a.get(e)),c&&i(a.get(hs)),t){case"add":l?c&&i(a.get("length")):(i(a.get(hn)),cn(o)&&i(a.get(gi)));break;case"delete":l||(i(a.get(hn)),cn(o)&&i(a.get(gi)));break;case"set":cn(o)&&i(a.get(hn));break}}fi()}function In(o){const t=It(o);return t===o?t:(_e(t,"iterate",hs),Ae(o)?t:t.map(Re))}function cr(o){return _e(o=It(o),"iterate",hs),o}const v0={__proto__:null,[Symbol.iterator](){return yi(this,Symbol.iterator,Re)},concat(...o){return In(this).concat(...o.map(t=>bt(t)?In(t):t))},entries(){return yi(this,"entries",o=>(o[1]=Re(o[1]),o))},every(o,t){return Ro(this,"every",o,t,void 0,arguments)},filter(o,t){return Ro(this,"filter",o,t,e=>e.map(Re),arguments)},find(o,t){return Ro(this,"find",o,t,Re,arguments)},findIndex(o,t){return Ro(this,"findIndex",o,t,void 0,arguments)},findLast(o,t){return Ro(this,"findLast",o,t,Re,arguments)},findLastIndex(o,t){return Ro(this,"findLastIndex",o,t,void 0,arguments)},forEach(o,t){return Ro(this,"forEach",o,t,void 0,arguments)},includes(...o){return vi(this,"includes",o)},indexOf(...o){return vi(this,"indexOf",o)},join(o){return In(this).join(o)},lastIndexOf(...o){return vi(this,"lastIndexOf",o)},map(o,t){return Ro(this,"map",o,t,void 0,arguments)},pop(){return ps(this,"pop")},push(...o){return ps(this,"push",o)},reduce(o,...t){return tu(this,"reduce",o,t)},reduceRight(o,...t){return tu(this,"reduceRight",o,t)},shift(){return ps(this,"shift")},some(o,t){return Ro(this,"some",o,t,void 0,arguments)},splice(...o){return ps(this,"splice",o)},toReversed(){return In(this).toReversed()},toSorted(o){return In(this).toSorted(o)},toSpliced(...o){return In(this).toSpliced(...o)},unshift(...o){return ps(this,"unshift",o)},values(){return yi(this,"values",Re)}};function yi(o,t,e){const n=cr(o),s=n[t]();return n!==o&&!Ae(o)&&(s._next=s.next,s.next=()=>{const r=s._next();return r.value&&(r.value=e(r.value)),r}),s}const b0=Array.prototype;function Ro(o,t,e,n,s,r){const a=cr(o),i=a!==o&&!Ae(o),l=a[t];if(l!==b0[t]){const f=l.apply(o,r);return i?Re(f):f}let c=e;a!==o&&(i?c=function(f,d){return e.call(this,Re(f),d,o)}:e.length>2&&(c=function(f,d){return e.call(this,f,d,o)}));const u=l.call(a,c,n);return i&&s?s(u):u}function tu(o,t,e,n){const s=cr(o);let r=e;return s!==o&&(Ae(o)?e.length>3&&(r=function(a,i,l){return e.call(this,a,i,l,o)}):r=function(a,i,l){return e.call(this,a,Re(i),l,o)}),s[t](r,...n)}function vi(o,t,e){const n=It(o);_e(n,"iterate",hs);const s=n[t](...e);return(s===-1||s===!1)&&pr(e[0])?(e[0]=It(e[0]),n[t](...e)):s}function ps(o,t,e=[]){Oo(),ui();const n=It(o)[t].apply(o,e);return fi(),Po(),n}const _0=Be("__proto__,__v_isRef,__isVue"),eu=new Set(Object.getOwnPropertyNames(Symbol).filter(o=>o!=="arguments"&&o!=="caller").map(o=>Symbol[o]).filter(So));function x0(o){So(o)||(o=String(o));const t=It(this);return _e(t,"has",o),t.hasOwnProperty(o)}class ou{constructor(t=!1,e=!1){this._isReadonly=t,this._isShallow=e}get(t,e,n){if(e==="__v_skip")return t.__v_skip;const s=this._isReadonly,r=this._isShallow;if(e==="__v_isReactive")return!s;if(e==="__v_isReadonly")return s;if(e==="__v_isShallow")return r;if(e==="__v_raw")return n===(s?r?cu:lu:r?iu:au).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const a=bt(t);if(!s){let l;if(a&&(l=v0[e]))return l;if(e==="hasOwnProperty")return x0}const i=Reflect.get(t,e,ge(t)?t:n);return(So(e)?eu.has(e):_0(e))||(s||_e(t,"get",e),r)?i:ge(i)?a&&ai(e)?i:i.value:Kt(i)?s?fu(i):Wt(i):i}}class nu extends ou{constructor(t=!1){super(!1,t)}set(t,e,n,s){let r=t[e];if(!this._isShallow){const l=Io(r);if(!Ae(n)&&!Io(n)&&(r=It(r),n=It(n)),!bt(t)&&ge(r)&&!ge(n))return l?!1:(r.value=n,!0)}const a=bt(t)&&ai(e)?Number(e)<t.length:Lt(t,e),i=Reflect.set(t,e,n,ge(t)?t:s);return t===It(s)&&(a?Xo(n,r)&&yo(t,"set",e,n,r):yo(t,"add",e,n)),i}deleteProperty(t,e){const n=Lt(t,e),s=t[e],r=Reflect.deleteProperty(t,e);return r&&n&&yo(t,"delete",e,void 0,s),r}has(t,e){const n=Reflect.has(t,e);return(!So(e)||!eu.has(e))&&_e(t,"has",e),n}ownKeys(t){return _e(t,"iterate",bt(t)?"length":hn),Reflect.ownKeys(t)}}class su extends ou{constructor(t=!1){super(!0,t)}set(t,e){return{}.NODE_ENV!=="production"&&go(`Set operation on key "${String(e)}" failed: target is readonly.`,t),!0}deleteProperty(t,e){return{}.NODE_ENV!=="production"&&go(`Delete operation on key "${String(e)}" failed: target is readonly.`,t),!0}}const k0=new nu,w0=new su,C0=new nu(!0),T0=new su(!0),bi=o=>o,ur=o=>Reflect.getPrototypeOf(o);function E0(o,t,e){return function(...n){const s=this.__v_raw,r=It(s),a=cn(r),i=o==="entries"||o===Symbol.iterator&&a,l=o==="keys"&&a,c=s[o](...n),u=e?bi:t?_i:Re;return!t&&_e(r,"iterate",l?gi:hn),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:i?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function fr(o){return function(...t){if({}.NODE_ENV!=="production"){const e=t[0]?`on key "${t[0]}" `:"";go(`${un(o)} operation ${e}failed: target is readonly.`,It(this))}return o==="delete"?!1:o==="clear"?void 0:this}}function S0(o,t){const e={get(s){const r=this.__v_raw,a=It(r),i=It(s);o||(Xo(s,i)&&_e(a,"get",s),_e(a,"get",i));const{has:l}=ur(a),c=t?bi:o?_i:Re;if(l.call(a,s))return c(r.get(s));if(l.call(a,i))return c(r.get(i));r!==a&&r.get(s)},get size(){const s=this.__v_raw;return!o&&_e(It(s),"iterate",hn),Reflect.get(s,"size",s)},has(s){const r=this.__v_raw,a=It(r),i=It(s);return o||(Xo(s,i)&&_e(a,"has",s),_e(a,"has",i)),s===i?r.has(s):r.has(s)||r.has(i)},forEach(s,r){const a=this,i=a.__v_raw,l=It(i),c=t?bi:o?_i:Re;return!o&&_e(l,"iterate",hn),i.forEach((u,f)=>s.call(r,c(u),c(f),a))}};return ne(e,o?{add:fr("add"),set:fr("set"),delete:fr("delete"),clear:fr("clear")}:{add(s){!t&&!Ae(s)&&!Io(s)&&(s=It(s));const r=It(this);return ur(r).has.call(r,s)||(r.add(s),yo(r,"add",s,s)),this},set(s,r){!t&&!Ae(r)&&!Io(r)&&(r=It(r));const a=It(this),{has:i,get:l}=ur(a);let c=i.call(a,s);c?{}.NODE_ENV!=="production"&&ru(a,i,s):(s=It(s),c=i.call(a,s));const u=l.call(a,s);return a.set(s,r),c?Xo(r,u)&&yo(a,"set",s,r,u):yo(a,"add",s,r),this},delete(s){const r=It(this),{has:a,get:i}=ur(r);let l=a.call(r,s);l?{}.NODE_ENV!=="production"&&ru(r,a,s):(s=It(s),l=a.call(r,s));const c=i?i.call(r,s):void 0,u=r.delete(s);return l&&yo(r,"delete",s,void 0,c),u},clear(){const s=It(this),r=s.size!==0,a={}.NODE_ENV!=="production"?cn(s)?new Map(s):new Set(s):void 0,i=s.clear();return r&&yo(s,"clear",void 0,void 0,a),i}}),["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=E0(s,o,t)}),e}function dr(o,t){const e=S0(o,t);return(n,s,r)=>s==="__v_isReactive"?!o:s==="__v_isReadonly"?o:s==="__v_raw"?n:Reflect.get(Lt(e,s)&&s in n?e:n,s,r)}const O0={get:dr(!1,!1)},P0={get:dr(!1,!0)},R0={get:dr(!0,!1)},I0={get:dr(!0,!0)};function ru(o,t,e){const n=It(e);if(n!==e&&t.call(o,n)){const s=ri(o);go(`Reactive ${s} contains both the raw and reactive versions of the same object${s==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const au=new WeakMap,iu=new WeakMap,lu=new WeakMap,cu=new WeakMap;function A0(o){switch(o){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function $0(o){return o.__v_skip||!Object.isExtensible(o)?0:A0(ri(o))}function Wt(o){return Io(o)?o:hr(o,!1,k0,O0,au)}function uu(o){return hr(o,!1,C0,P0,iu)}function fu(o){return hr(o,!0,w0,R0,lu)}function vo(o){return hr(o,!0,T0,I0,cu)}function hr(o,t,e,n,s){if(!Kt(o))return{}.NODE_ENV!=="production"&&go(`value cannot be made ${t?"readonly":"reactive"}: ${String(o)}`),o;if(o.__v_raw&&!(t&&o.__v_isReactive))return o;const r=s.get(o);if(r)return r;const a=$0(o);if(a===0)return o;const i=new Proxy(o,a===2?n:e);return s.set(o,i),i}function pn(o){return Io(o)?pn(o.__v_raw):!!(o&&o.__v_isReactive)}function Io(o){return!!(o&&o.__v_isReadonly)}function Ae(o){return!!(o&&o.__v_isShallow)}function pr(o){return o?!!o.__v_raw:!1}function It(o){const t=o&&o.__v_raw;return t?It(t):o}function N0(o){return!Lt(o,"__v_skip")&&Object.isExtensible(o)&&lr(o,"__v_skip",!0),o}const Re=o=>Kt(o)?Wt(o):o,_i=o=>Kt(o)?fu(o):o;function ge(o){return o?o.__v_isRef===!0:!1}function P(o){return du(o,!1)}function F0(o){return du(o,!0)}function du(o,t){return ge(o)?o:new z0(o,t)}class z0{constructor(t,e){this.dep=new pi,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=e?t:It(t),this._value=e?t:Re(t),this.__v_isShallow=e}get value(){return{}.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track(),this._value}set value(t){const e=this._rawValue,n=this.__v_isShallow||Ae(t)||Io(t);t=n?t:It(t),Xo(t,e)&&(this._rawValue=t,this._value=n?t:Re(t),{}.NODE_ENV!=="production"?this.dep.trigger({target:this,type:"set",key:"value",newValue:t,oldValue:e}):this.dep.trigger())}}function Tt(o){return ge(o)?o.value:o}const D0={get:(o,t,e)=>t==="__v_raw"?o:Tt(Reflect.get(o,t,e)),set:(o,t,e,n)=>{const s=o[t];return ge(s)&&!ge(e)?(s.value=e,!0):Reflect.set(o,t,e,n)}};function hu(o){return pn(o)?o:new Proxy(o,D0)}class M0{constructor(t,e,n){this.fn=t,this.setter=e,this._value=void 0,this.dep=new pi(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ds-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!e,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&Qt!==this)return jc(this,!0),!0}get value(){const t={}.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track();return qc(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter?this.setter(t):{}.NODE_ENV!=="production"&&go("Write operation failed: computed value is readonly")}}function L0(o,t,e=!1){let n,s;Ct(o)?n=o:(n=o.get,s=o.set);const r=new M0(n,s,e);return{}.NODE_ENV!=="production"&&t&&!e&&(r.onTrack=t.onTrack,r.onTrigger=t.onTrigger),r}const mr={},gr=new WeakMap;let mn;function B0(o,t=!1,e=mn){if(e){let n=gr.get(e);n||gr.set(e,n=[]),n.push(o)}else({}).NODE_ENV!=="production"&&!t&&go("onWatcherCleanup() was called when there was no active watcher to associate with.")}function V0(o,t,e=qt){const{immediate:n,deep:s,once:r,scheduler:a,augmentJob:i,call:l}=e,c=_=>{(e.onWarn||go)("Invalid watch source: ",_,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},u=_=>s?_:Ae(_)||s===!1||s===0?Ao(_,1):Ao(_);let f,d,h,p,b=!1,x=!1;if(ge(o)?(d=()=>o.value,b=Ae(o)):pn(o)?(d=()=>u(o),b=!0):bt(o)?(x=!0,b=o.some(_=>pn(_)||Ae(_)),d=()=>o.map(_=>{if(ge(_))return _.value;if(pn(_))return u(_);if(Ct(_))return l?l(_,2):_();({}).NODE_ENV!=="production"&&c(_)})):Ct(o)?t?d=l?()=>l(o,2):o:d=()=>{if(h){Oo();try{h()}finally{Po()}}const _=mn;mn=f;try{return l?l(o,3,[p]):o(p)}finally{mn=_}}:(d=be,{}.NODE_ENV!=="production"&&c(o)),t&&s){const _=d,w=s===!0?1/0:s;d=()=>Ao(_(),w)}const k=m0(),g=()=>{f.stop(),k&&k.active&&ni(k.effects,f)};if(r&&t){const _=t;t=(...w)=>{_(...w),g()}}let m=x?new Array(o.length).fill(mr):mr;const y=_=>{if(!(!(f.flags&1)||!f.dirty&&!_))if(t){const w=f.run();if(s||b||(x?w.some(($,V)=>Xo($,m[V])):Xo(w,m))){h&&h();const $=mn;mn=f;try{const V=[w,m===mr?void 0:x&&m[0]===mr?[]:m,p];l?l(t,3,V):t(...V),m=w}finally{mn=$}}}else f.run()};return i&&i(y),f=new Uc(d),f.scheduler=a?()=>a(y,!1):y,p=_=>B0(_,!1,f),h=f.onStop=()=>{const _=gr.get(f);if(_){if(l)l(_,4);else for(const w of _)w();gr.delete(f)}},{}.NODE_ENV!=="production"&&(f.onTrack=e.onTrack,f.onTrigger=e.onTrigger),t?n?y(!0):m=f.run():a?a(y.bind(null,!0),!0):f.run(),g.pause=f.pause.bind(f),g.resume=f.resume.bind(f),g.stop=g,g}function Ao(o,t=1/0,e){if(t<=0||!Kt(o)||o.__v_skip||(e=e||new Set,e.has(o)))return o;if(e.add(o),t--,ge(o))Ao(o.value,t,e);else if(bt(o))for(let n=0;n<o.length;n++)Ao(o[n],t,e);else if(Lc(o)||cn(o))o.forEach(n=>{Ao(n,t,e)});else if(ar(o)){for(const n in o)Ao(o[n],t,e);for(const n of Object.getOwnPropertySymbols(o))Object.prototype.propertyIsEnumerable.call(o,n)&&Ao(o[n],t,e)}return o}/**
10
10
  * @vue/runtime-core v3.5.13
11
11
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
12
12
  * @license MIT
13
- **/const pn=[];function rs(e){pn.push(e)}function ss(){pn.pop()}let ti=!1;function Q(e,...t){if(ti)return;ti=!0,Co();const o=pn.length?pn[pn.length-1].component:null,n=o&&o.appContext.config.warnHandler,r=Km();if(n)Rn(n,o,11,[e+t.map(s=>{var a,l;return(l=(a=s.toString)==null?void 0:a.call(s))!=null?l:JSON.stringify(s)}).join(""),o&&o.proxy,r.map(({vnode:s})=>`at <${Ss(o,s.type)}>`).join(`
14
- `),r]);else{const s=[`[Vue warn]: ${e}`,...t];r.length&&s.push(`
15
- `,...Qm(r)),console.warn(...s)}To(),ti=!1}function Km(){let e=pn[pn.length-1];if(!e)return[];const t=[];for(;e;){const o=t[0];o&&o.vnode===e?o.recurseCount++:t.push({vnode:e,recurseCount:0});const n=e.component&&e.component.parent;e=n&&n.vnode}return t}function Qm(e){const t=[];return e.forEach((o,n)=>{t.push(...n===0?[]:[`
16
- `],...Jm(o))}),t}function Jm({vnode:e,recurseCount:t}){const o=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,r=` at <${Ss(e.component,e.type,n)}`,s=">"+o;return e.props?[r,...t0(e.props),s]:[r+s]}function t0(e){const t=[],o=Object.keys(e);return o.slice(0,3).forEach(n=>{t.push(...Dc(n,e[n]))}),o.length>3&&t.push(" ..."),t}function Dc(e,t,o){return oe(t)?(t=JSON.stringify(t),o?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?o?t:[`${e}=${t}`]:pe(t)?(t=Dc(e,At(t.value),!0),o?t:[`${e}=Ref<`,t,">"]):Tt(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=At(t),o?t:[`${e}=`,t])}function e0(e,t){({}).NODE_ENV!=="production"&&e!==void 0&&(typeof e!="number"?Q(`${t} is not a valid number - got ${JSON.stringify(e)}.`):isNaN(e)&&Q(`${t} is NaN - the duration expression might be incorrect.`))}const ei={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function Rn(e,t,o,n){try{return n?e(...n):e()}catch(r){sr(r,t,o)}}function oo(e,t,o,n){if(Tt(e)){const r=Rn(e,t,o,n);return r&&La(r)&&r.catch(s=>{sr(s,t,o)}),r}if(_t(e)){const r=[];for(let s=0;s<e.length;s++)r.push(oo(e[s],t,o,n));return r}else({}).NODE_ENV!=="production"&&Q(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`)}function sr(e,t,o,n=!0){const r=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||Ht;if(t){let l=t.parent;const i=t.proxy,c={}.NODE_ENV!=="production"?ei[o]:`https://vuejs.org/error-reference/#runtime-${o}`;for(;l;){const u=l.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,i,c)===!1)return}l=l.parent}if(s){Co(),Rn(s,null,10,[e,i,c]),To();return}}o0(e,o,r,n,a)}function o0(e,t,o,n=!0,r=!1){if({}.NODE_ENV!=="production"){const s=ei[t];if(o&&rs(o),Q(`Unhandled error${s?` during execution of ${s}`:""}`),o&&ss(),n)throw e;console.error(e)}else{if(r)throw e;console.error(e)}}const Ae=[];let po=-1;const In=[];let Yo=null,An=0;const Fc=Promise.resolve();let as=null;const n0=100;function is(e){const t=as||Fc;return e?t.then(this?e.bind(this):e):t}function r0(e){let t=po+1,o=Ae.length;for(;t<o;){const n=t+o>>>1,r=Ae[n],s=ar(r);s<e||s===e&&r.flags&2?t=n+1:o=n}return t}function ls(e){if(!(e.flags&1)){const t=ar(e),o=Ae[Ae.length-1];!o||!(e.flags&2)&&t>=ar(o)?Ae.push(e):Ae.splice(r0(t),0,e),e.flags|=1,Lc()}}function Lc(){as||(as=Fc.then(Yc))}function zc(e){_t(e)?In.push(...e):Yo&&e.id===-1?Yo.splice(An+1,0,e):e.flags&1||(In.push(e),e.flags|=1),Lc()}function Mc(e,t,o=po+1){for({}.NODE_ENV!=="production"&&(t=t||new Map);o<Ae.length;o++){const n=Ae[o];if(n&&n.flags&2){if(e&&n.id!==e.uid||{}.NODE_ENV!=="production"&&oi(t,n))continue;Ae.splice(o,1),o--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function Bc(e){if(In.length){const t=[...new Set(In)].sort((o,n)=>ar(o)-ar(n));if(In.length=0,Yo){Yo.push(...t);return}for(Yo=t,{}.NODE_ENV!=="production"&&(e=e||new Map),An=0;An<Yo.length;An++){const o=Yo[An];({}).NODE_ENV!=="production"&&oi(e,o)||(o.flags&4&&(o.flags&=-2),o.flags&8||o(),o.flags&=-2)}Yo=null,An=0}}const ar=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Yc(e){({}).NODE_ENV!=="production"&&(e=e||new Map);const t={}.NODE_ENV!=="production"?o=>oi(e,o):ge;try{for(po=0;po<Ae.length;po++){const o=Ae[po];if(o&&!(o.flags&8)){if({}.NODE_ENV!=="production"&&t(o))continue;o.flags&4&&(o.flags&=-2),Rn(o,o.i,o.i?15:14),o.flags&4||(o.flags&=-2)}}}finally{for(;po<Ae.length;po++){const o=Ae[po];o&&(o.flags&=-2)}po=-1,Ae.length=0,Bc(e),as=null,(Ae.length||In.length)&&Yc(e)}}function oi(e,t){const o=e.get(t)||0;if(o>n0){const n=t.i,r=n&&br(n.type);return sr(`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}return e.set(t,o+1),!1}let ho=!1;const cs=new Map;({}).NODE_ENV!=="production"&&(Jn().__VUE_HMR_RUNTIME__={createRecord:ni(Vc),rerender:ni(i0),reload:ni(l0)});const hn=new Map;function s0(e){const t=e.type.__hmrId;let o=hn.get(t);o||(Vc(t,e.type),o=hn.get(t)),o.instances.add(e)}function a0(e){hn.get(e.type.__hmrId).instances.delete(e)}function Vc(e,t){return hn.has(e)?!1:(hn.set(e,{initialDef:us(t),instances:new Set}),!0)}function us(e){return ju(e)?e.__vccOpts:e}function i0(e,t){const o=hn.get(e);o&&(o.initialDef.render=t,[...o.instances].forEach(n=>{t&&(n.render=t,us(n.type).render=t),n.renderCache=[],ho=!0,n.update(),ho=!1}))}function l0(e,t){const o=hn.get(e);if(!o)return;t=us(t),Xc(o.initialDef,t);const n=[...o.instances];for(let r=0;r<n.length;r++){const s=n[r],a=us(s.type);let l=cs.get(a);l||(a!==o.initialDef&&Xc(a,t),cs.set(a,l=new Set)),l.add(s),s.appContext.propsCache.delete(s.type),s.appContext.emitsCache.delete(s.type),s.appContext.optionsCache.delete(s.type),s.ceReload?(l.add(s),s.ceReload(t.styles),l.delete(s)):s.parent?ls(()=>{ho=!0,s.parent.update(),ho=!1,l.delete(s)}):s.appContext.reload?s.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),s.root.ce&&s!==s.root&&s.root.ce._removeChildStyle(a)}zc(()=>{cs.clear()})}function Xc(e,t){Jt(e,t);for(const o in e)o!=="__file"&&!(o in t)&&delete e[o]}function ni(e){return(t,o)=>{try{return e(t,o)}catch(n){console.error(n),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let mo,ir=[],ri=!1;function lr(e,...t){mo?mo.emit(e,...t):ri||ir.push({event:e,args:t})}function Zc(e,t){var o,n;mo=e,mo?(mo.enabled=!0,ir.forEach(({event:r,args:s})=>mo.emit(r,...s)),ir=[]):typeof window<"u"&&window.HTMLElement&&!((n=(o=window.navigator)==null?void 0:o.userAgent)!=null&&n.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(s=>{Zc(s,t)}),setTimeout(()=>{mo||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,ri=!0,ir=[])},3e3)):(ri=!0,ir=[])}function c0(e,t){lr("app:init",e,t,{Fragment:zt,Text:pr,Comment:ce,Static:hr})}function u0(e){lr("app:unmount",e)}const si=ai("component:added"),Gc=ai("component:updated"),f0=ai("component:removed"),d0=e=>{mo&&typeof mo.cleanupBuffer=="function"&&!mo.cleanupBuffer(e)&&f0(e)};/*! #__NO_SIDE_EFFECTS__ */function ai(e){return t=>{lr(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const p0=Uc("perf:start"),h0=Uc("perf:end");function Uc(e){return(t,o,n)=>{lr(e,t.appContext.app,t.uid,t,o,n)}}function m0(e,t,o){lr("component:emit",e.appContext.app,e,t,o)}let he=null,jc=null;function fs(e){const t=he;return he=e,jc=e&&e.type.__scopeId||null,t}function st(e,t=he,o){if(!t||e._n)return e;const n=(...r)=>{n._d&&Du(-1);const s=fs(t);let a;try{a=e(...r)}finally{fs(s),n._d&&Du(1)}return{}.NODE_ENV!=="production"&&Gc(t),a};return n._n=!0,n._c=!0,n._d=!0,n}function Hc(e){lm(e)&&Q("Do not use built-in directive ids as custom directive id: "+e)}function g0(e,t){if(he===null)return{}.NODE_ENV!=="production"&&Q("withDirectives can only be used inside render functions."),e;const o=Es(he),n=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[s,a,l,i=Ht]=t[r];s&&(Tt(s)&&(s={mounted:s,updated:s}),s.deep&&Oo(a),n.push({dir:s,instance:o,value:a,oldValue:void 0,arg:l,modifiers:i}))}return e}function mn(e,t,o,n){const r=e.dirs,s=t&&t.dirs;for(let a=0;a<r.length;a++){const l=r[a];s&&(l.oldValue=s[a].value);let i=l.dir[n];i&&(Co(),oo(i,o,8,[e.el,l,e,t]),To())}}const y0=Symbol("_vte"),Wc=e=>e.__isTeleport,Vo=Symbol("_leaveCb"),ds=Symbol("_enterCb");function v0(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return fe(()=>{e.isMounted=!0}),ui(()=>{e.isUnmounting=!0}),e}const He=[Function,Array],qc={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:He,onEnter:He,onAfterEnter:He,onEnterCancelled:He,onBeforeLeave:He,onLeave:He,onAfterLeave:He,onLeaveCancelled:He,onBeforeAppear:He,onAppear:He,onAfterAppear:He,onAppearCancelled:He},Kc=e=>{const t=e.subTree;return t.component?Kc(t.component):t},b0={name:"BaseTransition",props:qc,setup(e,{slots:t}){const o=jo(),n=v0();return()=>{const r=t.default&&eu(t.default(),!0);if(!r||!r.length)return;const s=Qc(r),a=At(e),{mode:l}=a;if({}.NODE_ENV!=="production"&&l&&l!=="in-out"&&l!=="out-in"&&l!=="default"&&Q(`invalid <transition> mode: ${l}`),n.isLeaving)return li(s);const i=tu(s);if(!i)return li(s);let c=ii(i,a,n,o,f=>c=f);i.type!==ce&&$n(i,c);let u=o.subTree&&tu(o.subTree);if(u&&u.type!==ce&&!Go(i,u)&&Kc(o).type!==ce){let f=ii(u,a,n,o);if($n(u,f),l==="out-in"&&i.type!==ce)return n.isLeaving=!0,f.afterLeave=()=>{n.isLeaving=!1,o.job.flags&8||o.update(),delete f.afterLeave,u=void 0},li(s);l==="in-out"&&i.type!==ce?f.delayLeave=(d,h,p)=>{const w=Jc(n,u);w[String(u.key)]=u,d[Vo]=()=>{h(),d[Vo]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{p(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return s}}};function Qc(e){let t=e[0];if(e.length>1){let o=!1;for(const n of e)if(n.type!==ce){if({}.NODE_ENV!=="production"&&o){Q("<transition> can only be used on a single element or component. Use <transition-group> for lists.");break}if(t=n,o=!0,{}.NODE_ENV==="production")break}}return t}const _0=b0;function Jc(e,t){const{leavingVNodes:o}=e;let n=o.get(t.type);return n||(n=Object.create(null),o.set(t.type,n)),n}function ii(e,t,o,n,r){const{appear:s,mode:a,persisted:l=!1,onBeforeEnter:i,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:d,onLeave:h,onAfterLeave:p,onLeaveCancelled:w,onBeforeAppear:x,onAppear:v,onAfterAppear:g,onAppearCancelled:y}=t,m=String(e.key),_=Jc(o,e),C=(G,V)=>{G&&oo(G,n,9,V)},M=(G,V)=>{const pt=V[1];C(G,V),_t(G)?G.every(K=>K.length<=1)&&pt():G.length<=1&&pt()},X={mode:a,persisted:l,beforeEnter(G){let V=i;if(!o.isMounted)if(s)V=x||i;else return;G[Vo]&&G[Vo](!0);const pt=_[m];pt&&Go(e,pt)&&pt.el[Vo]&&pt.el[Vo](),C(V,[G])},enter(G){let V=c,pt=u,K=f;if(!o.isMounted)if(s)V=v||c,pt=g||u,K=y||f;else return;let lt=!1;const gt=G[ds]=wt=>{lt||(lt=!0,wt?C(K,[G]):C(pt,[G]),X.delayedLeave&&X.delayedLeave(),G[ds]=void 0)};V?M(V,[G,gt]):gt()},leave(G,V){const pt=String(e.key);if(G[ds]&&G[ds](!0),o.isUnmounting)return V();C(d,[G]);let K=!1;const lt=G[Vo]=gt=>{K||(K=!0,V(),gt?C(w,[G]):C(p,[G]),G[Vo]=void 0,_[pt]===e&&delete _[pt])};_[pt]=e,h?M(h,[G,lt]):lt()},clone(G){const V=ii(G,t,o,n,r);return r&&r(V),V}};return X}function li(e){if(cr(e))return e=ro(e),e.children=null,e}function tu(e){if(!cr(e))return Wc(e.type)&&e.children?Qc(e.children):e;if({}.NODE_ENV!=="production"&&e.component)return e.component.subTree;const{shapeFlag:t,children:o}=e;if(o){if(t&16)return o[0];if(t&32&&Tt(o.default))return o.default()}}function $n(e,t){e.shapeFlag&6&&e.component?(e.transition=t,$n(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function eu(e,t=!1,o){let n=[],r=0;for(let s=0;s<e.length;s++){let a=e[s];const l=o==null?a.key:String(o)+String(a.key!=null?a.key:s);a.type===zt?(a.patchFlag&128&&r++,n=n.concat(eu(a.children,t,l))):(t||a.type!==ce)&&n.push(l!=null?ro(a,{key:l}):a)}if(r>1)for(let s=0;s<n.length;s++)n[s].patchFlag=-2;return n}/*! #__NO_SIDE_EFFECTS__ */function Y(e,t){return Tt(e)?(()=>Jt({name:e.name},t,{setup:e}))():e}function ou(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const x0=new WeakSet;function ps(e,t,o,n,r=!1){if(_t(e)){e.forEach((p,w)=>ps(p,t&&(_t(t)?t[w]:t),o,n,r));return}if(gn(n)&&!r){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&ps(e,t,o,n.component.subTree);return}const s=n.shapeFlag&4?Es(n.component):n.el,a=r?null:s,{i:l,r:i}=e;if({}.NODE_ENV!=="production"&&!l){Q("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=l.refs===Ht?l.refs={}:l.refs,f=l.setupState,d=At(f),h=f===Ht?()=>!1:p=>({}).NODE_ENV!=="production"&&(Yt(d,p)&&!pe(d[p])&&Q(`Template ref "${p}" used on a non-ref value. It will not work in the production build.`),x0.has(d[p]))?!1:Yt(d,p);if(c!=null&&c!==i&&(oe(c)?(u[c]=null,h(c)&&(f[c]=null)):pe(c)&&(c.value=null)),Tt(i))Rn(i,l,12,[a,u]);else{const p=oe(i),w=pe(i);if(p||w){const x=()=>{if(e.f){const v=p?h(i)?f[i]:u[i]:i.value;r?_t(v)&&Fa(v,s):_t(v)?v.includes(s)||v.push(s):p?(u[i]=[s],h(i)&&(f[i]=u[i])):(i.value=[s],e.k&&(u[e.k]=i.value))}else p?(u[i]=a,h(i)&&(f[i]=a)):w?(i.value=a,e.k&&(u[e.k]=a)):{}.NODE_ENV!=="production"&&Q("Invalid template ref type:",i,`(${typeof i})`)};a?(x.id=-1,Ce(x,o)):x()}else({}).NODE_ENV!=="production"&&Q("Invalid template ref type:",i,`(${typeof i})`)}}Jn().requestIdleCallback,Jn().cancelIdleCallback;const gn=e=>!!e.type.__asyncLoader,cr=e=>e.type.__isKeepAlive,nu={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const o=jo(),n=o.ctx;if(!n.renderer)return()=>{const g=t.default&&t.default();return g&&g.length===1?g[0]:g};const r=new Map,s=new Set;let a=null;({}).NODE_ENV!=="production"&&(o.__v_cache=r);const l=o.suspense,{renderer:{p:i,m:c,um:u,o:{createElement:f}}}=n,d=f("div");n.activate=(g,y,m,_,C)=>{const M=g.component;c(g,y,m,0,l),i(M.vnode,g,y,m,M,l,_,g.slotScopeIds,C),Ce(()=>{M.isDeactivated=!1,M.a&&cn(M.a);const X=g.props&&g.props.onVnodeMounted;X&&We(X,M.parent,g)},l),{}.NODE_ENV!=="production"&&si(M)},n.deactivate=g=>{const y=g.component;_s(y.m),_s(y.a),c(g,d,null,1,l),Ce(()=>{y.da&&cn(y.da);const m=g.props&&g.props.onVnodeUnmounted;m&&We(m,y.parent,g),y.isDeactivated=!0},l),{}.NODE_ENV!=="production"&&si(y)};function h(g){ci(g),u(g,o,l,!0)}function p(g){r.forEach((y,m)=>{const _=br(y.type);_&&!g(_)&&w(m)})}function w(g){const y=r.get(g);y&&(!a||!Go(y,a))?h(y):a&&ci(a),r.delete(g),s.delete(g)}Pt(()=>[e.include,e.exclude],([g,y])=>{g&&p(m=>ur(g,m)),y&&p(m=>!ur(y,m))},{flush:"post",deep:!0});let x=null;const v=()=>{x!=null&&(ws(o.subTree.type)?Ce(()=>{r.set(x,hs(o.subTree))},o.subTree.suspense):r.set(x,hs(o.subTree)))};return fe(v),su(v),ui(()=>{r.forEach(g=>{const{subTree:y,suspense:m}=o,_=hs(y);if(g.type===_.type&&g.key===_.key){ci(_);const C=_.component.da;C&&Ce(C,m);return}h(g)})}),()=>{if(x=null,!t.default)return a=null;const g=t.default(),y=g[0];if(g.length>1)return{}.NODE_ENV!=="production"&&Q("KeepAlive should contain exactly one component child."),a=null,g;if(!Zo(y)||!(y.shapeFlag&4)&&!(y.shapeFlag&128))return a=null,y;let m=hs(y);if(m.type===ce)return a=null,m;const _=m.type,C=br(gn(m)?m.type.__asyncResolved||{}:_),{include:M,exclude:X,max:G}=e;if(M&&(!C||!ur(M,C))||X&&C&&ur(X,C))return m.shapeFlag&=-257,a=m,y;const V=m.key==null?_:m.key,pt=r.get(V);return m.el&&(m=ro(m),y.shapeFlag&128&&(y.ssContent=m)),x=V,pt?(m.el=pt.el,m.component=pt.component,m.transition&&$n(m,m.transition),m.shapeFlag|=512,s.delete(V),s.add(V)):(s.add(V),G&&s.size>parseInt(G,10)&&w(s.values().next().value)),m.shapeFlag|=256,a=m,ws(y.type)?y:m}}};function ur(e,t){return _t(e)?e.some(o=>ur(o,t)):oe(e)?e.split(",").includes(t):im(e)?(e.lastIndex=0,e.test(t)):!1}function k0(e,t){ru(e,"a",t)}function w0(e,t){ru(e,"da",t)}function ru(e,t,o=ve){const n=e.__wdc||(e.__wdc=()=>{let r=o;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(ms(t,n,o),o){let r=o.parent;for(;r&&r.parent;)cr(r.parent.vnode)&&C0(n,t,o,r),r=r.parent}}function C0(e,t,o,n){const r=ms(t,e,n,!0);se(()=>{Fa(n[t],r)},o)}function ci(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function hs(e){return e.shapeFlag&128?e.ssContent:e}function ms(e,t,o=ve,n=!1){if(o){const r=o[e]||(o[e]=[]),s=t.__weh||(t.__weh=(...a)=>{Co();const l=yr(o),i=oo(t,o,e,a);return l(),To(),i});return n?r.unshift(s):r.push(s),s}else if({}.NODE_ENV!=="production"){const r=ln(ei[e].replace(/ hook$/,""));Q(`${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 Po=e=>(t,o=ve)=>{(!vr||e==="sp")&&ms(e,(...n)=>t(...n),o)},T0=Po("bm"),fe=Po("m"),E0=Po("bu"),su=Po("u"),ui=Po("bum"),se=Po("um"),S0=Po("sp"),O0=Po("rtg"),P0=Po("rtc");function R0(e,t=ve){ms("ec",e,t)}const fi="components",au=Symbol.for("v-ndc");function iu(e){return oe(e)?I0(fi,e,!1)||e:e||au}function I0(e,t,o=!0,n=!1){const r=he||ve;if(r){const s=r.type;if(e===fi){const l=br(s,!1);if(l&&(l===t||l===be(t)||l===an(be(t))))return s}const a=lu(r[e]||s[e],t)||lu(r.appContext[e],t);if(!a&&n)return s;if({}.NODE_ENV!=="production"&&o&&!a){const l=e===fi?`
17
- If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`:"";Q(`Failed to resolve ${e.slice(0,-1)}: ${t}${l}`)}return a}else({}).NODE_ENV!=="production"&&Q(`resolve${an(e.slice(0,-1))} can only be used in render() or setup().`)}function lu(e,t){return e&&(e[t]||e[be(t)]||e[an(be(t))])}function we(e,t,o,n){let r;const s=o&&o[n],a=_t(e);if(a||oe(e)){const l=a&&fn(e);let i=!1;l&&(i=!Ie(e),e=qr(e)),r=new Array(e.length);for(let c=0,u=e.length;c<u;c++)r[c]=t(i?Oe(e[c]):e[c],c,void 0,s&&s[c])}else if(typeof e=="number"){({}).NODE_ENV!=="production"&&!Number.isInteger(e)&&Q(`The v-for range expect an integer value but got ${e}.`),r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,s&&s[l])}else if(Wt(e))if(e[Symbol.iterator])r=Array.from(e,(l,i)=>t(l,i,void 0,s&&s[i]));else{const l=Object.keys(e);r=new Array(l.length);for(let i=0,c=l.length;i<c;i++){const u=l[i];r[i]=t(e[u],u,i,s&&s[i])}}else r=[];return o&&(o[n]=r),r}function dt(e,t,o={},n,r){if(he.ce||he.parent&&gn(he.parent)&&he.parent.ce)return t!=="default"&&(o.name=t),A(),ht(zt,null,[J("slot",o,n&&n())],64);let s=e[t];({}).NODE_ENV!=="production"&&s&&s.length>1&&(Q("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."),s=()=>[]),s&&s._c&&(s._d=!1),A();const a=s&&cu(s(o)),l=o.key||a&&a.key,i=ht(zt,{key:(l&&!wo(l)?l:`_${t}`)+(!a&&n?"_fb":"")},a||(n?n():[]),a&&e._===1?64:-2);return!r&&i.scopeId&&(i.slotScopeIds=[i.scopeId+"-s"]),s&&s._c&&(s._d=!0),i}function cu(e){return e.some(t=>Zo(t)?!(t.type===ce||t.type===zt&&!cu(t.children)):!0)?e:null}const di=e=>e?Vu(e)?Es(e):di(e.parent):null,yn=Jt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>({}).NODE_ENV!=="production"?fo(e.props):e.props,$attrs:e=>({}).NODE_ENV!=="production"?fo(e.attrs):e.attrs,$slots:e=>({}).NODE_ENV!=="production"?fo(e.slots):e.slots,$refs:e=>({}).NODE_ENV!=="production"?fo(e.refs):e.refs,$parent:e=>di(e.parent),$root:e=>di(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>gi(e),$forceUpdate:e=>e.f||(e.f=()=>{ls(e.update)}),$nextTick:e=>e.n||(e.n=is.bind(e.proxy)),$watch:e=>fg.bind(e)}),pi=e=>e==="_"||e==="$",hi=(e,t)=>e!==Ht&&!e.__isScriptSetup&&Yt(e,t),uu={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:o,setupState:n,data:r,props:s,accessCache:a,type:l,appContext:i}=e;if({}.NODE_ENV!=="production"&&t==="__isVue")return!0;let c;if(t[0]!=="$"){const h=a[t];if(h!==void 0)switch(h){case 1:return n[t];case 2:return r[t];case 4:return o[t];case 3:return s[t]}else{if(hi(n,t))return a[t]=1,n[t];if(r!==Ht&&Yt(r,t))return a[t]=2,r[t];if((c=e.propsOptions[0])&&Yt(c,t))return a[t]=3,s[t];if(o!==Ht&&Yt(o,t))return a[t]=4,o[t];mi&&(a[t]=0)}}const u=yn[t];let f,d;if(u)return t==="$attrs"?(ye(e.attrs,"get",""),{}.NODE_ENV!=="production"&&ks()):{}.NODE_ENV!=="production"&&t==="$slots"&&ye(e,"get",t),u(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(o!==Ht&&Yt(o,t))return a[t]=4,o[t];if(d=i.config.globalProperties,Yt(d,t))return d[t];({}).NODE_ENV!=="production"&&he&&(!oe(t)||t.indexOf("__v")!==0)&&(r!==Ht&&pi(t[0])&&Yt(r,t)?Q(`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.`):e===he&&Q(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,o){const{data:n,setupState:r,ctx:s}=e;return hi(r,t)?(r[t]=o,!0):{}.NODE_ENV!=="production"&&r.__isScriptSetup&&Yt(r,t)?(Q(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):n!==Ht&&Yt(n,t)?(n[t]=o,!0):Yt(e.props,t)?({}.NODE_ENV!=="production"&&Q(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?({}.NODE_ENV!=="production"&&Q(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):({}.NODE_ENV!=="production"&&t in e.appContext.config.globalProperties?Object.defineProperty(s,t,{enumerable:!0,configurable:!0,value:o}):s[t]=o,!0)},has({_:{data:e,setupState:t,accessCache:o,ctx:n,appContext:r,propsOptions:s}},a){let l;return!!o[a]||e!==Ht&&Yt(e,a)||hi(t,a)||(l=s[0])&&Yt(l,a)||Yt(n,a)||Yt(yn,a)||Yt(r.config.globalProperties,a)},defineProperty(e,t,o){return o.get!=null?e._.accessCache[t]=0:Yt(o,"value")&&this.set(e,t,o.value,null),Reflect.defineProperty(e,t,o)}};({}).NODE_ENV!=="production"&&(uu.ownKeys=e=>(Q("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(e)));function A0(e){const t={};return Object.defineProperty(t,"_",{configurable:!0,enumerable:!1,get:()=>e}),Object.keys(yn).forEach(o=>{Object.defineProperty(t,o,{configurable:!0,enumerable:!1,get:()=>yn[o](e),set:ge})}),t}function $0(e){const{ctx:t,propsOptions:[o]}=e;o&&Object.keys(o).forEach(n=>{Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>e.props[n],set:ge})})}function N0(e){const{ctx:t,setupState:o}=e;Object.keys(At(o)).forEach(n=>{if(!o.__isScriptSetup){if(pi(n[0])){Q(`setup() return property ${JSON.stringify(n)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>o[n],set:ge})}})}function D0(){return F0().slots}function F0(){const e=jo();return{}.NODE_ENV!=="production"&&!e&&Q("useContext() called without active instance."),e.setupContext||(e.setupContext=Uu(e))}function fu(e){return _t(e)?e.reduce((t,o)=>(t[o]=null,t),{}):e}function L0(){const e=Object.create(null);return(t,o)=>{e[o]?Q(`${t} property "${o}" is already defined in ${e[o]}.`):e[o]=t}}let mi=!0;function z0(e){const t=gi(e),o=e.proxy,n=e.ctx;mi=!1,t.beforeCreate&&du(t.beforeCreate,e,"bc");const{data:r,computed:s,methods:a,watch:l,provide:i,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:p,activated:w,deactivated:x,beforeDestroy:v,beforeUnmount:g,destroyed:y,unmounted:m,render:_,renderTracked:C,renderTriggered:M,errorCaptured:X,serverPrefetch:G,expose:V,inheritAttrs:pt,components:K,directives:lt,filters:gt}=t,wt={}.NODE_ENV!=="production"?L0():null;if({}.NODE_ENV!=="production"){const[Et]=e.propsOptions;if(Et)for(const St in Et)wt("Props",St)}if(c&&M0(c,n,wt),a)for(const Et in a){const St=a[Et];Tt(St)?({}.NODE_ENV!=="production"?Object.defineProperty(n,Et,{value:St.bind(o),configurable:!0,enumerable:!0,writable:!0}):n[Et]=St.bind(o),{}.NODE_ENV!=="production"&&wt("Methods",Et)):{}.NODE_ENV!=="production"&&Q(`Method "${Et}" has type "${typeof St}" in the component definition. Did you reference the function correctly?`)}if(r){({}).NODE_ENV!=="production"&&!Tt(r)&&Q("The data option must be a function. Plain object usage is no longer supported.");const Et=r.call(o,o);if({}.NODE_ENV!=="production"&&La(Et)&&Q("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!Wt(Et))({}).NODE_ENV!=="production"&&Q("data() should return an object.");else if(e.data=jt(Et),{}.NODE_ENV!=="production")for(const St in Et)wt("Data",St),pi(St[0])||Object.defineProperty(n,St,{configurable:!0,enumerable:!0,get:()=>Et[St],set:ge})}if(mi=!0,s)for(const Et in s){const St=s[Et],ue=Tt(St)?St.bind(o,o):Tt(St.get)?St.get.bind(o,o):ge;({}).NODE_ENV!=="production"&&ue===ge&&Q(`Computed property "${Et}" has no getter.`);const Re=!Tt(St)&&Tt(St.set)?St.set.bind(o):{}.NODE_ENV!=="production"?()=>{Q(`Write operation failed: computed property "${Et}" is readonly.`)}:ge,Te=de({get:ue,set:Re});Object.defineProperty(n,Et,{enumerable:!0,configurable:!0,get:()=>Te.value,set:Bt=>Te.value=Bt}),{}.NODE_ENV!=="production"&&wt("Computed",Et)}if(l)for(const Et in l)pu(l[Et],n,o,Et);if(i){const Et=Tt(i)?i.call(o):i;Reflect.ownKeys(Et).forEach(St=>{ys(St,Et[St])})}u&&du(u,e,"c");function Mt(Et,St){_t(St)?St.forEach(ue=>Et(ue.bind(o))):St&&Et(St.bind(o))}if(Mt(T0,f),Mt(fe,d),Mt(E0,h),Mt(su,p),Mt(k0,w),Mt(w0,x),Mt(R0,X),Mt(P0,C),Mt(O0,M),Mt(ui,g),Mt(se,m),Mt(S0,G),_t(V))if(V.length){const Et=e.exposed||(e.exposed={});V.forEach(St=>{Object.defineProperty(Et,St,{get:()=>o[St],set:ue=>o[St]=ue})})}else e.exposed||(e.exposed={});_&&e.render===ge&&(e.render=_),pt!=null&&(e.inheritAttrs=pt),K&&(e.components=K),lt&&(e.directives=lt),G&&ou(e)}function M0(e,t,o=ge){_t(e)&&(e=yi(e));for(const n in e){const r=e[n];let s;Wt(r)?"default"in r?s=no(r.from||n,r.default,!0):s=no(r.from||n):s=no(r),pe(s)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>s.value,set:a=>s.value=a}):t[n]=s,{}.NODE_ENV!=="production"&&o("Inject",n)}}function du(e,t,o){oo(_t(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,o)}function pu(e,t,o,n){let r=n.includes(".")?Ru(o,n):()=>o[n];if(oe(e)){const s=t[e];Tt(s)?Pt(r,s):{}.NODE_ENV!=="production"&&Q(`Invalid watch handler specified by key "${e}"`,s)}else if(Tt(e))Pt(r,e.bind(o));else if(Wt(e))if(_t(e))e.forEach(s=>pu(s,t,o,n));else{const s=Tt(e.handler)?e.handler.bind(o):t[e.handler];Tt(s)?Pt(r,s,e):{}.NODE_ENV!=="production"&&Q(`Invalid watch handler specified by key "${e.handler}"`,s)}else({}).NODE_ENV!=="production"&&Q(`Invalid watch option: "${n}"`,e)}function gi(e){const t=e.type,{mixins:o,extends:n}=t,{mixins:r,optionsCache:s,config:{optionMergeStrategies:a}}=e.appContext,l=s.get(t);let i;return l?i=l:!r.length&&!o&&!n?i=t:(i={},r.length&&r.forEach(c=>gs(i,c,a,!0)),gs(i,t,a)),Wt(t)&&s.set(t,i),i}function gs(e,t,o,n=!1){const{mixins:r,extends:s}=t;s&&gs(e,s,o,!0),r&&r.forEach(a=>gs(e,a,o,!0));for(const a in t)if(n&&a==="expose")({}).NODE_ENV!=="production"&&Q('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const l=B0[a]||o&&o[a];e[a]=l?l(e[a],t[a]):t[a]}return e}const B0={data:hu,props:mu,emits:mu,methods:fr,computed:fr,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:fr,directives:fr,watch:V0,provide:hu,inject:Y0};function hu(e,t){return t?e?function(){return Jt(Tt(e)?e.call(this,this):e,Tt(t)?t.call(this,this):t)}:t:e}function Y0(e,t){return fr(yi(e),yi(t))}function yi(e){if(_t(e)){const t={};for(let o=0;o<e.length;o++)t[e[o]]=e[o];return t}return e}function $e(e,t){return e?[...new Set([].concat(e,t))]:t}function fr(e,t){return e?Jt(Object.create(null),e,t):t}function mu(e,t){return e?_t(e)&&_t(t)?[...new Set([...e,...t])]:Jt(Object.create(null),fu(e),fu(t??{})):t}function V0(e,t){if(!e)return t;if(!t)return e;const o=Jt(Object.create(null),e);for(const n in t)o[n]=$e(e[n],t[n]);return o}function gu(){return{app:null,config:{isNativeTag:sm,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 X0=0;function Z0(e,t){return function(n,r=null){Tt(n)||(n=Jt({},n)),r!=null&&!Wt(r)&&({}.NODE_ENV!=="production"&&Q("root props passed to app.mount() must be an object."),r=null);const s=gu(),a=new WeakSet,l=[];let i=!1;const c=s.app={_uid:X0++,_component:n,_props:r,_container:null,_context:s,_instance:null,version:Hu,get config(){return s.config},set config(u){({}).NODE_ENV!=="production"&&Q("app.config cannot be replaced. Modify individual options instead.")},use(u,...f){return a.has(u)?{}.NODE_ENV!=="production"&&Q("Plugin has already been applied to target app."):u&&Tt(u.install)?(a.add(u),u.install(c,...f)):Tt(u)?(a.add(u),u(c,...f)):{}.NODE_ENV!=="production"&&Q('A plugin must either be a function or an object with an "install" function.'),c},mixin(u){return s.mixins.includes(u)?{}.NODE_ENV!=="production"&&Q("Mixin has already been applied to target app"+(u.name?`: ${u.name}`:"")):s.mixins.push(u),c},component(u,f){return{}.NODE_ENV!=="production"&&Pi(u,s.config),f?({}.NODE_ENV!=="production"&&s.components[u]&&Q(`Component "${u}" has already been registered in target app.`),s.components[u]=f,c):s.components[u]},directive(u,f){return{}.NODE_ENV!=="production"&&Hc(u),f?({}.NODE_ENV!=="production"&&s.directives[u]&&Q(`Directive "${u}" has already been registered in target app.`),s.directives[u]=f,c):s.directives[u]},mount(u,f,d){if(i)({}).NODE_ENV!=="production"&&Q("App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`");else{({}).NODE_ENV!=="production"&&u.__vue_app__&&Q("There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first.");const h=c._ceVNode||J(n,r);return h.appContext=s,d===!0?d="svg":d===!1&&(d=void 0),{}.NODE_ENV!=="production"&&(s.reload=()=>{e(ro(h),u,d)}),f&&t?t(h,u):e(h,u,d),i=!0,c._container=u,u.__vue_app__=c,{}.NODE_ENV!=="production"&&(c._instance=h.component,c0(c,Hu)),Es(h.component)}},onUnmount(u){({}).NODE_ENV!=="production"&&typeof u!="function"&&Q(`Expected function as first argument to app.onUnmount(), but got ${typeof u}`),l.push(u)},unmount(){i?(oo(l,c._instance,16),e(null,c._container),{}.NODE_ENV!=="production"&&(c._instance=null,u0(c)),delete c._container.__vue_app__):{}.NODE_ENV!=="production"&&Q("Cannot unmount an app that is not mounted.")},provide(u,f){return{}.NODE_ENV!=="production"&&u in s.provides&&Q(`App already provides property with key "${String(u)}". It will be overwritten with the new value.`),s.provides[u]=f,c},runWithContext(u){const f=Nn;Nn=c;try{return u()}finally{Nn=f}}};return c}}let Nn=null;function ys(e,t){if(!ve)({}).NODE_ENV!=="production"&&Q("provide() can only be used inside setup().");else{let o=ve.provides;const n=ve.parent&&ve.parent.provides;n===o&&(o=ve.provides=Object.create(n)),o[e]=t}}function no(e,t,o=!1){const n=ve||he;if(n||Nn){const r=Nn?Nn._context.provides:n?n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return o&&Tt(t)?t.call(n&&n.proxy):t;({}).NODE_ENV!=="production"&&Q(`injection "${String(e)}" not found.`)}else({}).NODE_ENV!=="production"&&Q("inject() can only be used inside setup() or functional components.")}const yu={},vu=()=>Object.create(yu),bu=e=>Object.getPrototypeOf(e)===yu;function G0(e,t,o,n=!1){const r={},s=vu();e.propsDefaults=Object.create(null),_u(e,t,r,s);for(const a in e.propsOptions[0])a in r||(r[a]=void 0);({}).NODE_ENV!=="production"&&wu(t||{},r,e),o?e.props=n?r:Ic(r):e.type.props?e.props=r:e.props=s,e.attrs=s}function U0(e){for(;e;){if(e.type.__hmrId)return!0;e=e.parent}}function j0(e,t,o,n){const{props:r,attrs:s,vnode:{patchFlag:a}}=e,l=At(r),[i]=e.propsOptions;let c=!1;if(!({}.NODE_ENV!=="production"&&U0(e))&&(n||a>0)&&!(a&16)){if(a&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(xs(e.emitsOptions,d))continue;const h=t[d];if(i)if(Yt(s,d))h!==s[d]&&(s[d]=h,c=!0);else{const p=be(d);r[p]=vi(i,l,p,h,e,!1)}else h!==s[d]&&(s[d]=h,c=!0)}}}else{_u(e,t,r,s)&&(c=!0);let u;for(const f in l)(!t||!Yt(t,f)&&((u=Ve(f))===f||!Yt(t,u)))&&(i?o&&(o[f]!==void 0||o[u]!==void 0)&&(r[f]=vi(i,l,f,void 0,e,!0)):delete r[f]);if(s!==l)for(const f in s)(!t||!Yt(t,f))&&(delete s[f],c=!0)}c&&uo(e.attrs,"set",""),{}.NODE_ENV!=="production"&&wu(t||{},r,e)}function _u(e,t,o,n){const[r,s]=e.propsOptions;let a=!1,l;if(t)for(let i in t){if(Qn(i))continue;const c=t[i];let u;r&&Yt(r,u=be(i))?!s||!s.includes(u)?o[u]=c:(l||(l={}))[u]=c:xs(e.emitsOptions,i)||(!(i in n)||c!==n[i])&&(n[i]=c,a=!0)}if(s){const i=At(o),c=l||Ht;for(let u=0;u<s.length;u++){const f=s[u];o[f]=vi(r,i,f,c[f],e,!Yt(c,f))}}return a}function vi(e,t,o,n,r,s){const a=e[o];if(a!=null){const l=Yt(a,"default");if(l&&n===void 0){const i=a.default;if(a.type!==Function&&!a.skipFactory&&Tt(i)){const{propsDefaults:c}=r;if(o in c)n=c[o];else{const u=yr(r);n=c[o]=i.call(null,t),u()}}else n=i;r.ce&&r.ce._setProp(o,n)}a[0]&&(s&&!l?n=!1:a[1]&&(n===""||n===Ve(o))&&(n=!0))}return n}const H0=new WeakMap;function xu(e,t,o=!1){const n=o?H0:t.propsCache,r=n.get(e);if(r)return r;const s=e.props,a={},l=[];let i=!1;if(!Tt(e)){const u=f=>{i=!0;const[d,h]=xu(f,t,!0);Jt(a,d),h&&l.push(...h)};!o&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!i)return Wt(e)&&n.set(e,On),On;if(_t(s))for(let u=0;u<s.length;u++){({}).NODE_ENV!=="production"&&!oe(s[u])&&Q("props must be strings when using array syntax.",s[u]);const f=be(s[u]);ku(f)&&(a[f]=Ht)}else if(s){({}).NODE_ENV!=="production"&&!Wt(s)&&Q("invalid props options",s);for(const u in s){const f=be(u);if(ku(f)){const d=s[u],h=a[f]=_t(d)||Tt(d)?{type:d}:Jt({},d),p=h.type;let w=!1,x=!0;if(_t(p))for(let v=0;v<p.length;++v){const g=p[v],y=Tt(g)&&g.name;if(y==="Boolean"){w=!0;break}else y==="String"&&(x=!1)}else w=Tt(p)&&p.name==="Boolean";h[0]=w,h[1]=x,(w||Yt(h,"default"))&&l.push(f)}}}const c=[a,l];return Wt(e)&&n.set(e,c),c}function ku(e){return e[0]!=="$"&&!Qn(e)?!0:({}.NODE_ENV!=="production"&&Q(`Invalid prop name: "${e}" is a reserved property.`),!1)}function W0(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function wu(e,t,o){const n=At(t),r=o.propsOptions[0],s=Object.keys(e).map(a=>be(a));for(const a in r){let l=r[a];l!=null&&q0(a,n[a],l,{}.NODE_ENV!=="production"?fo(n):n,!s.includes(a))}}function q0(e,t,o,n,r){const{type:s,required:a,validator:l,skipCheck:i}=o;if(a&&r){Q('Missing required prop: "'+e+'"');return}if(!(t==null&&!a)){if(s!=null&&s!==!0&&!i){let c=!1;const u=_t(s)?s:[s],f=[];for(let d=0;d<u.length&&!c;d++){const{valid:h,expectedType:p}=Q0(t,u[d]);f.push(p||""),c=h}if(!c){Q(J0(e,t,f));return}}l&&!l(t,n)&&Q('Invalid prop: custom validator check failed for prop "'+e+'".')}}const K0=Ye("String,Number,Boolean,Function,Symbol,BigInt");function Q0(e,t){let o;const n=W0(t);if(n==="null")o=e===null;else if(K0(n)){const r=typeof e;o=r===n.toLowerCase(),!o&&r==="object"&&(o=e instanceof t)}else n==="Object"?o=Wt(e):n==="Array"?o=_t(e):o=e instanceof t;return{valid:o,expectedType:n}}function J0(e,t,o){if(o.length===0)return`Prop type [] for prop "${e}" won't match anything. Did you mean to use type Array instead?`;let n=`Invalid prop: type check failed for prop "${e}". Expected ${o.map(an).join(" | ")}`;const r=o[0],s=za(t),a=Cu(t,r),l=Cu(t,s);return o.length===1&&Tu(r)&&!tg(r,s)&&(n+=` with value ${a}`),n+=`, got ${s} `,Tu(s)&&(n+=`with value ${l}.`),n}function Cu(e,t){return t==="String"?`"${e}"`:t==="Number"?`${Number(e)}`:`${e}`}function Tu(e){return["string","number","boolean"].some(o=>e.toLowerCase()===o)}function tg(...e){return e.some(t=>t.toLowerCase()==="boolean")}const Eu=e=>e[0]==="_"||e==="$stable",bi=e=>_t(e)?e.map(so):[so(e)],eg=(e,t,o)=>{if(t._n)return t;const n=st((...r)=>({}.NODE_ENV!=="production"&&ve&&(!o||o.root===ve.root)&&Q(`Slot "${e}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`),bi(t(...r))),o);return n._c=!1,n},Su=(e,t,o)=>{const n=e._ctx;for(const r in e){if(Eu(r))continue;const s=e[r];if(Tt(s))t[r]=eg(r,s,n);else if(s!=null){({}).NODE_ENV!=="production"&&Q(`Non-function value encountered for slot "${r}". Prefer function slots for better performance.`);const a=bi(s);t[r]=()=>a}}},Ou=(e,t)=>{({}).NODE_ENV!=="production"&&!cr(e.vnode)&&Q("Non-function value encountered for default slot. Prefer function slots for better performance.");const o=bi(t);e.slots.default=()=>o},_i=(e,t,o)=>{for(const n in t)(o||n!=="_")&&(e[n]=t[n])},og=(e,t,o)=>{const n=e.slots=vu();if(e.vnode.shapeFlag&32){const r=t._;r?(_i(n,t,o),o&&Wr(n,"_",r,!0)):Su(t,n)}else t&&Ou(e,t)},ng=(e,t,o)=>{const{vnode:n,slots:r}=e;let s=!0,a=Ht;if(n.shapeFlag&32){const l=t._;l?{}.NODE_ENV!=="production"&&ho?(_i(r,t,o),uo(e,"set","$slots")):o&&l===1?s=!1:_i(r,t,o):(s=!t.$stable,Su(t,r)),a=t}else t&&(Ou(e,t),a={default:1});if(s)for(const l in r)!Eu(l)&&a[l]==null&&delete r[l]};let dr,Xo;function Ro(e,t){e.appContext.config.performance&&vs()&&Xo.mark(`vue-${t}-${e.uid}`),{}.NODE_ENV!=="production"&&p0(e,t,vs()?Xo.now():Date.now())}function Io(e,t){if(e.appContext.config.performance&&vs()){const o=`vue-${t}-${e.uid}`,n=o+":end";Xo.mark(n),Xo.measure(`<${Ss(e,e.type)}> ${t}`,o,n),Xo.clearMarks(o),Xo.clearMarks(n)}({}).NODE_ENV!=="production"&&h0(e,t,vs()?Xo.now():Date.now())}function vs(){return dr!==void 0||(typeof window<"u"&&window.performance?(dr=!0,Xo=window.performance):dr=!1),dr}function rg(){const e=[];if({}.NODE_ENV!=="production"&&e.length){const t=e.length>1;console.warn(`Feature flag${t?"s":""} ${e.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.
13
+ **/const gn=[];function yr(o){gn.push(o)}function vr(){gn.pop()}let xi=!1;function J(o,...t){if(xi)return;xi=!0,Oo();const e=gn.length?gn[gn.length-1].component:null,n=e&&e.appContext.config.warnHandler,s=Y0();if(n)An(n,e,11,[o+t.map(r=>{var a,i;return(i=(a=r.toString)==null?void 0:a.call(r))!=null?i:JSON.stringify(r)}).join(""),e&&e.proxy,s.map(({vnode:r})=>`at <${Br(e,r.type)}>`).join(`
14
+ `),s]);else{const r=[`[Vue warn]: ${o}`,...t];s.length&&r.push(`
15
+ `,...X0(s)),console.warn(...r)}Po(),xi=!1}function Y0(){let o=gn[gn.length-1];if(!o)return[];const t=[];for(;o;){const e=t[0];e&&e.vnode===o?e.recurseCount++:t.push({vnode:o,recurseCount:0});const n=o.component&&o.component.parent;o=n&&n.vnode}return t}function X0(o){const t=[];return o.forEach((e,n)=>{t.push(...n===0?[]:[`
16
+ `],...Z0(e))}),t}function Z0({vnode:o,recurseCount:t}){const e=t>0?`... (${t} recursive calls)`:"",n=o.component?o.component.parent==null:!1,s=` at <${Br(o.component,o.type,n)}`,r=">"+e;return o.props?[s,...U0(o.props),r]:[s+r]}function U0(o){const t=[],e=Object.keys(o);return e.slice(0,3).forEach(n=>{t.push(...pu(n,o[n]))}),e.length>3&&t.push(" ..."),t}function pu(o,t,e){return ae(t)?(t=JSON.stringify(t),e?t:[`${o}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?e?t:[`${o}=${t}`]:ge(t)?(t=pu(o,It(t.value),!0),e?t:[`${o}=Ref<`,t,">"]):Ct(t)?[`${o}=fn${t.name?`<${t.name}>`:""}`]:(t=It(t),e?t:[`${o}=`,t])}function H0(o,t){({}).NODE_ENV!=="production"&&o!==void 0&&(typeof o!="number"?J(`${t} is not a valid number - got ${JSON.stringify(o)}.`):isNaN(o)&&J(`${t} is NaN - the duration expression might be incorrect.`))}const ki={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function An(o,t,e,n){try{return n?o(...n):o()}catch(s){ms(s,t,e)}}function io(o,t,e,n){if(Ct(o)){const s=An(o,t,e,n);return s&&si(s)&&s.catch(r=>{ms(r,t,e)}),s}if(bt(o)){const s=[];for(let r=0;r<o.length;r++)s.push(io(o[r],t,e,n));return s}else({}).NODE_ENV!=="production"&&J(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof o}`)}function ms(o,t,e,n=!0){const s=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||qt;if(t){let i=t.parent;const l=t.proxy,c={}.NODE_ENV!=="production"?ki[e]:`https://vuejs.org/error-reference/#runtime-${e}`;for(;i;){const u=i.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](o,l,c)===!1)return}i=i.parent}if(r){Oo(),An(r,null,10,[o,l,c]),Po();return}}j0(o,e,s,n,a)}function j0(o,t,e,n=!0,s=!1){if({}.NODE_ENV!=="production"){const r=ki[t];if(e&&yr(e),J(`Unhandled error${r?` during execution of ${r}`:""}`),e&&vr(),n)throw o;console.error(o)}else{if(s)throw o;console.error(o)}}const $e=[];let bo=-1;const $n=[];let Zo=null,Nn=0;const mu=Promise.resolve();let br=null;const G0=100;function _r(o){const t=br||mu;return o?t.then(this?o.bind(this):o):t}function W0(o){let t=bo+1,e=$e.length;for(;t<e;){const n=t+e>>>1,s=$e[n],r=gs(s);r<o||r===o&&s.flags&2?t=n+1:e=n}return t}function xr(o){if(!(o.flags&1)){const t=gs(o),e=$e[$e.length-1];!e||!(o.flags&2)&&t>=gs(e)?$e.push(o):$e.splice(W0(t),0,o),o.flags|=1,gu()}}function gu(){br||(br=mu.then(_u))}function yu(o){bt(o)?$n.push(...o):Zo&&o.id===-1?Zo.splice(Nn+1,0,o):o.flags&1||($n.push(o),o.flags|=1),gu()}function vu(o,t,e=bo+1){for({}.NODE_ENV!=="production"&&(t=t||new Map);e<$e.length;e++){const n=$e[e];if(n&&n.flags&2){if(o&&n.id!==o.uid||{}.NODE_ENV!=="production"&&wi(t,n))continue;$e.splice(e,1),e--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function bu(o){if($n.length){const t=[...new Set($n)].sort((e,n)=>gs(e)-gs(n));if($n.length=0,Zo){Zo.push(...t);return}for(Zo=t,{}.NODE_ENV!=="production"&&(o=o||new Map),Nn=0;Nn<Zo.length;Nn++){const e=Zo[Nn];({}).NODE_ENV!=="production"&&wi(o,e)||(e.flags&4&&(e.flags&=-2),e.flags&8||e(),e.flags&=-2)}Zo=null,Nn=0}}const gs=o=>o.id==null?o.flags&2?-1:1/0:o.id;function _u(o){({}).NODE_ENV!=="production"&&(o=o||new Map);const t={}.NODE_ENV!=="production"?e=>wi(o,e):be;try{for(bo=0;bo<$e.length;bo++){const e=$e[bo];if(e&&!(e.flags&8)){if({}.NODE_ENV!=="production"&&t(e))continue;e.flags&4&&(e.flags&=-2),An(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2)}}}finally{for(;bo<$e.length;bo++){const e=$e[bo];e&&(e.flags&=-2)}bo=-1,$e.length=0,bu(o),br=null,($e.length||$n.length)&&_u(o)}}function wi(o,t){const e=o.get(t)||0;if(e>G0){const n=t.i,s=n&&Ps(n.type);return ms(`Maximum recursive updates exceeded${s?` in component <${s}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}return o.set(t,e+1),!1}let _o=!1;const kr=new Map;({}).NODE_ENV!=="production"&&(cs().__VUE_HMR_RUNTIME__={createRecord:Ci(xu),rerender:Ci(Q0),reload:Ci(J0)});const yn=new Map;function q0(o){const t=o.type.__hmrId;let e=yn.get(t);e||(xu(t,o.type),e=yn.get(t)),e.instances.add(o)}function K0(o){yn.get(o.type.__hmrId).instances.delete(o)}function xu(o,t){return yn.has(o)?!1:(yn.set(o,{initialDef:wr(t),instances:new Set}),!0)}function wr(o){return Ef(o)?o.__vccOpts:o}function Q0(o,t){const e=yn.get(o);e&&(e.initialDef.render=t,[...e.instances].forEach(n=>{t&&(n.render=t,wr(n.type).render=t),n.renderCache=[],_o=!0,n.update(),_o=!1}))}function J0(o,t){const e=yn.get(o);if(!e)return;t=wr(t),ku(e.initialDef,t);const n=[...e.instances];for(let s=0;s<n.length;s++){const r=n[s],a=wr(r.type);let i=kr.get(a);i||(a!==e.initialDef&&ku(a,t),kr.set(a,i=new Set)),i.add(r),r.appContext.propsCache.delete(r.type),r.appContext.emitsCache.delete(r.type),r.appContext.optionsCache.delete(r.type),r.ceReload?(i.add(r),r.ceReload(t.styles),i.delete(r)):r.parent?xr(()=>{_o=!0,r.parent.update(),_o=!1,i.delete(r)}):r.appContext.reload?r.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),r.root.ce&&r!==r.root&&r.root.ce._removeChildStyle(a)}yu(()=>{kr.clear()})}function ku(o,t){ne(o,t);for(const e in o)e!=="__file"&&!(e in t)&&delete o[e]}function Ci(o){return(t,e)=>{try{return o(t,e)}catch(n){console.error(n),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let xo,ys=[],Ti=!1;function vs(o,...t){xo?xo.emit(o,...t):Ti||ys.push({event:o,args:t})}function wu(o,t){var e,n;xo=o,xo?(xo.enabled=!0,ys.forEach(({event:s,args:r})=>xo.emit(s,...r)),ys=[]):typeof window<"u"&&window.HTMLElement&&!((n=(e=window.navigator)==null?void 0:e.userAgent)!=null&&n.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(r=>{wu(r,t)}),setTimeout(()=>{xo||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Ti=!0,ys=[])},3e3)):(Ti=!0,ys=[])}function tg(o,t){vs("app:init",o,t,{Fragment:Dt,Text:ws,Comment:fe,Static:Cs})}function eg(o){vs("app:unmount",o)}const Ei=Si("component:added"),Cu=Si("component:updated"),og=Si("component:removed"),ng=o=>{xo&&typeof xo.cleanupBuffer=="function"&&!xo.cleanupBuffer(o)&&og(o)};/*! #__NO_SIDE_EFFECTS__ */function Si(o){return t=>{vs(o,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const sg=Tu("perf:start"),rg=Tu("perf:end");function Tu(o){return(t,e,n)=>{vs(o,t.appContext.app,t.uid,t,e,n)}}function ag(o,t,e){vs("component:emit",o.appContext.app,o,t,e)}let ye=null,Eu=null;function Cr(o){const t=ye;return ye=o,Eu=o&&o.type.__scopeId||null,t}function W(o,t=ye,e){if(!t||o._n)return o;const n=(...s)=>{n._d&&mf(-1);const r=Cr(t);let a;try{a=o(...s)}finally{Cr(r),n._d&&mf(1)}return{}.NODE_ENV!=="production"&&Cu(t),a};return n._n=!0,n._c=!0,n._d=!0,n}function Su(o){Jm(o)&&J("Do not use built-in directive ids as custom directive id: "+o)}function ig(o,t){if(ye===null)return{}.NODE_ENV!=="production"&&J("withDirectives can only be used inside render functions."),o;const e=Lr(ye),n=o.dirs||(o.dirs=[]);for(let s=0;s<t.length;s++){let[r,a,i,l=qt]=t[s];r&&(Ct(r)&&(r={mounted:r,updated:r}),r.deep&&Ao(a),n.push({dir:r,instance:e,value:a,oldValue:void 0,arg:i,modifiers:l}))}return o}function vn(o,t,e,n){const s=o.dirs,r=t&&t.dirs;for(let a=0;a<s.length;a++){const i=s[a];r&&(i.oldValue=r[a].value);let l=i.dir[n];l&&(Oo(),io(l,e,8,[o.el,i,o,t]),Po())}}const lg=Symbol("_vte"),Ou=o=>o.__isTeleport,Uo=Symbol("_leaveCb"),Tr=Symbol("_enterCb");function cg(){const o={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return pe(()=>{o.isMounted=!0}),Ii(()=>{o.isUnmounting=!0}),o}const Ge=[Function,Array],Pu={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ge,onEnter:Ge,onAfterEnter:Ge,onEnterCancelled:Ge,onBeforeLeave:Ge,onLeave:Ge,onAfterLeave:Ge,onLeaveCancelled:Ge,onBeforeAppear:Ge,onAppear:Ge,onAfterAppear:Ge,onAppearCancelled:Ge},Ru=o=>{const t=o.subTree;return t.component?Ru(t.component):t},ug={name:"BaseTransition",props:Pu,setup(o,{slots:t}){const e=qo(),n=cg();return()=>{const s=t.default&&Nu(t.default(),!0);if(!s||!s.length)return;const r=Iu(s),a=It(o),{mode:i}=a;if({}.NODE_ENV!=="production"&&i&&i!=="in-out"&&i!=="out-in"&&i!=="default"&&J(`invalid <transition> mode: ${i}`),n.isLeaving)return Pi(r);const l=$u(r);if(!l)return Pi(r);let c=Oi(l,a,n,e,f=>c=f);l.type!==fe&&Fn(l,c);let u=e.subTree&&$u(e.subTree);if(u&&u.type!==fe&&!Go(l,u)&&Ru(e).type!==fe){let f=Oi(u,a,n,e);if(Fn(u,f),i==="out-in"&&l.type!==fe)return n.isLeaving=!0,f.afterLeave=()=>{n.isLeaving=!1,e.job.flags&8||e.update(),delete f.afterLeave,u=void 0},Pi(r);i==="in-out"&&l.type!==fe?f.delayLeave=(d,h,p)=>{const b=Au(n,u);b[String(u.key)]=u,d[Uo]=()=>{h(),d[Uo]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{p(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return r}}};function Iu(o){let t=o[0];if(o.length>1){let e=!1;for(const n of o)if(n.type!==fe){if({}.NODE_ENV!=="production"&&e){J("<transition> can only be used on a single element or component. Use <transition-group> for lists.");break}if(t=n,e=!0,{}.NODE_ENV==="production")break}}return t}const fg=ug;function Au(o,t){const{leavingVNodes:e}=o;let n=e.get(t.type);return n||(n=Object.create(null),e.set(t.type,n)),n}function Oi(o,t,e,n,s){const{appear:r,mode:a,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:d,onLeave:h,onAfterLeave:p,onLeaveCancelled:b,onBeforeAppear:x,onAppear:k,onAfterAppear:g,onAppearCancelled:m}=t,y=String(o.key),_=Au(e,o),w=(B,M)=>{B&&io(B,n,9,M)},$=(B,M)=>{const ut=M[1];w(B,M),bt(B)?B.every(G=>G.length<=1)&&ut():B.length<=1&&ut()},V={mode:a,persisted:i,beforeEnter(B){let M=l;if(!e.isMounted)if(r)M=x||l;else return;B[Uo]&&B[Uo](!0);const ut=_[y];ut&&Go(o,ut)&&ut.el[Uo]&&ut.el[Uo](),w(M,[B])},enter(B){let M=c,ut=u,G=f;if(!e.isMounted)if(r)M=k||c,ut=g||u,G=m||f;else return;let tt=!1;const gt=B[Tr]=Ot=>{tt||(tt=!0,Ot?w(G,[B]):w(ut,[B]),V.delayedLeave&&V.delayedLeave(),B[Tr]=void 0)};M?$(M,[B,gt]):gt()},leave(B,M){const ut=String(o.key);if(B[Tr]&&B[Tr](!0),e.isUnmounting)return M();w(d,[B]);let G=!1;const tt=B[Uo]=gt=>{G||(G=!0,M(),gt?w(b,[B]):w(p,[B]),B[Uo]=void 0,_[ut]===o&&delete _[ut])};_[ut]=o,h?$(h,[B,tt]):tt()},clone(B){const M=Oi(B,t,e,n,s);return s&&s(M),M}};return V}function Pi(o){if(bs(o))return o=co(o),o.children=null,o}function $u(o){if(!bs(o))return Ou(o.type)&&o.children?Iu(o.children):o;if({}.NODE_ENV!=="production"&&o.component)return o.component.subTree;const{shapeFlag:t,children:e}=o;if(e){if(t&16)return e[0];if(t&32&&Ct(e.default))return e.default()}}function Fn(o,t){o.shapeFlag&6&&o.component?(o.transition=t,Fn(o.component.subTree,t)):o.shapeFlag&128?(o.ssContent.transition=t.clone(o.ssContent),o.ssFallback.transition=t.clone(o.ssFallback)):o.transition=t}function Nu(o,t=!1,e){let n=[],s=0;for(let r=0;r<o.length;r++){let a=o[r];const i=e==null?a.key:String(e)+String(a.key!=null?a.key:r);a.type===Dt?(a.patchFlag&128&&s++,n=n.concat(Nu(a.children,t,i))):(t||a.type!==fe)&&n.push(i!=null?co(a,{key:i}):a)}if(s>1)for(let r=0;r<n.length;r++)n[r].patchFlag=-2;return n}/*! #__NO_SIDE_EFFECTS__ */function Y(o,t){return Ct(o)?(()=>ne({name:o.name},t,{setup:o}))():o}function Fu(o){o.ids=[o.ids[0]+o.ids[2]+++"-",0,0]}const dg=new WeakSet;function Er(o,t,e,n,s=!1){if(bt(o)){o.forEach((p,b)=>Er(p,t&&(bt(t)?t[b]:t),e,n,s));return}if(bn(n)&&!s){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Er(o,t,e,n.component.subTree);return}const r=n.shapeFlag&4?Lr(n.component):n.el,a=s?null:r,{i,r:l}=o;if({}.NODE_ENV!=="production"&&!i){J("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");return}const c=t&&t.r,u=i.refs===qt?i.refs={}:i.refs,f=i.setupState,d=It(f),h=f===qt?()=>!1:p=>({}).NODE_ENV!=="production"&&(Lt(d,p)&&!ge(d[p])&&J(`Template ref "${p}" used on a non-ref value. It will not work in the production build.`),dg.has(d[p]))?!1:Lt(d,p);if(c!=null&&c!==l&&(ae(c)?(u[c]=null,h(c)&&(f[c]=null)):ge(c)&&(c.value=null)),Ct(l))An(l,i,12,[a,u]);else{const p=ae(l),b=ge(l);if(p||b){const x=()=>{if(o.f){const k=p?h(l)?f[l]:u[l]:l.value;s?bt(k)&&ni(k,r):bt(k)?k.includes(r)||k.push(r):p?(u[l]=[r],h(l)&&(f[l]=u[l])):(l.value=[r],o.k&&(u[o.k]=l.value))}else p?(u[l]=a,h(l)&&(f[l]=a)):b?(l.value=a,o.k&&(u[o.k]=a)):{}.NODE_ENV!=="production"&&J("Invalid template ref type:",l,`(${typeof l})`)};a?(x.id=-1,Se(x,e)):x()}else({}).NODE_ENV!=="production"&&J("Invalid template ref type:",l,`(${typeof l})`)}}cs().requestIdleCallback,cs().cancelIdleCallback;const bn=o=>!!o.type.__asyncLoader,bs=o=>o.type.__isKeepAlive,zu={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(o,{slots:t}){const e=qo(),n=e.ctx;if(!n.renderer)return()=>{const g=t.default&&t.default();return g&&g.length===1?g[0]:g};const s=new Map,r=new Set;let a=null;({}).NODE_ENV!=="production"&&(e.__v_cache=s);const i=e.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:f}}}=n,d=f("div");n.activate=(g,m,y,_,w)=>{const $=g.component;c(g,m,y,0,i),l($.vnode,g,m,y,$,i,_,g.slotScopeIds,w),Se(()=>{$.isDeactivated=!1,$.a&&dn($.a);const V=g.props&&g.props.onVnodeMounted;V&&We(V,$.parent,g)},i),{}.NODE_ENV!=="production"&&Ei($)},n.deactivate=g=>{const m=g.component;$r(m.m),$r(m.a),c(g,d,null,1,i),Se(()=>{m.da&&dn(m.da);const y=g.props&&g.props.onVnodeUnmounted;y&&We(y,m.parent,g),m.isDeactivated=!0},i),{}.NODE_ENV!=="production"&&Ei(m)};function h(g){Ri(g),u(g,e,i,!0)}function p(g){s.forEach((m,y)=>{const _=Ps(m.type);_&&!g(_)&&b(y)})}function b(g){const m=s.get(g);m&&(!a||!Go(m,a))?h(m):a&&Ri(a),s.delete(g),r.delete(g)}Rt(()=>[o.include,o.exclude],([g,m])=>{g&&p(y=>_s(g,y)),m&&p(y=>!_s(m,y))},{flush:"post",deep:!0});let x=null;const k=()=>{x!=null&&(zr(e.subTree.type)?Se(()=>{s.set(x,Sr(e.subTree))},e.subTree.suspense):s.set(x,Sr(e.subTree)))};return pe(k),Mu(k),Ii(()=>{s.forEach(g=>{const{subTree:m,suspense:y}=e,_=Sr(m);if(g.type===_.type&&g.key===_.key){Ri(_);const w=_.component.da;w&&Se(w,y);return}h(g)})}),()=>{if(x=null,!t.default)return a=null;const g=t.default(),m=g[0];if(g.length>1)return{}.NODE_ENV!=="production"&&J("KeepAlive should contain exactly one component child."),a=null,g;if(!jo(m)||!(m.shapeFlag&4)&&!(m.shapeFlag&128))return a=null,m;let y=Sr(m);if(y.type===fe)return a=null,y;const _=y.type,w=Ps(bn(y)?y.type.__asyncResolved||{}:_),{include:$,exclude:V,max:B}=o;if($&&(!w||!_s($,w))||V&&w&&_s(V,w))return y.shapeFlag&=-257,a=y,m;const M=y.key==null?_:y.key,ut=s.get(M);return y.el&&(y=co(y),m.shapeFlag&128&&(m.ssContent=y)),x=M,ut?(y.el=ut.el,y.component=ut.component,y.transition&&Fn(y,y.transition),y.shapeFlag|=512,r.delete(M),r.add(M)):(r.add(M),B&&r.size>parseInt(B,10)&&b(r.values().next().value)),y.shapeFlag|=256,a=y,zr(m.type)?m:y}}};function _s(o,t){return bt(o)?o.some(e=>_s(e,t)):ae(o)?o.split(",").includes(t):Qm(o)?(o.lastIndex=0,o.test(t)):!1}function hg(o,t){Du(o,"a",t)}function pg(o,t){Du(o,"da",t)}function Du(o,t,e=xe){const n=o.__wdc||(o.__wdc=()=>{let s=e;for(;s;){if(s.isDeactivated)return;s=s.parent}return o()});if(Or(t,n,e),e){let s=e.parent;for(;s&&s.parent;)bs(s.parent.vnode)&&mg(n,t,e,s),s=s.parent}}function mg(o,t,e,n){const s=Or(t,o,n,!0);ue(()=>{ni(n[t],s)},e)}function Ri(o){o.shapeFlag&=-257,o.shapeFlag&=-513}function Sr(o){return o.shapeFlag&128?o.ssContent:o}function Or(o,t,e=xe,n=!1){if(e){const s=e[o]||(e[o]=[]),r=t.__weh||(t.__weh=(...a)=>{Oo();const i=Ss(e),l=io(t,e,o,a);return i(),Po(),l});return n?s.unshift(r):s.push(r),r}else if({}.NODE_ENV!=="production"){const s=fn(ki[o].replace(/ hook$/,""));J(`${s} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const $o=o=>(t,e=xe)=>{(!Os||o==="sp")&&Or(o,(...n)=>t(...n),e)},gg=$o("bm"),pe=$o("m"),yg=$o("bu"),Mu=$o("u"),Ii=$o("bum"),ue=$o("um"),vg=$o("sp"),bg=$o("rtg"),_g=$o("rtc");function xg(o,t=xe){Or("ec",o,t)}const Ai="components",Lu=Symbol.for("v-ndc");function Bu(o){return ae(o)?kg(Ai,o,!1)||o:o||Lu}function kg(o,t,e=!0,n=!1){const s=ye||xe;if(s){const r=s.type;if(o===Ai){const i=Ps(r,!1);if(i&&(i===t||i===we(t)||i===un(we(t))))return r}const a=Vu(s[o]||r[o],t)||Vu(s.appContext[o],t);if(!a&&n)return r;if({}.NODE_ENV!=="production"&&e&&!a){const i=o===Ai?`
17
+ If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`:"";J(`Failed to resolve ${o.slice(0,-1)}: ${t}${i}`)}return a}else({}).NODE_ENV!=="production"&&J(`resolve${un(o.slice(0,-1))} can only be used in render() or setup().`)}function Vu(o,t){return o&&(o[t]||o[we(t)]||o[un(we(t))])}function Ee(o,t,e,n){let s;const r=e&&e[n],a=bt(o);if(a||ae(o)){const i=a&&pn(o);let l=!1;i&&(l=!Ae(o),o=cr(o)),s=new Array(o.length);for(let c=0,u=o.length;c<u;c++)s[c]=t(l?Re(o[c]):o[c],c,void 0,r&&r[c])}else if(typeof o=="number"){({}).NODE_ENV!=="production"&&!Number.isInteger(o)&&J(`The v-for range expect an integer value but got ${o}.`),s=new Array(o);for(let i=0;i<o;i++)s[i]=t(i+1,i,void 0,r&&r[i])}else if(Kt(o))if(o[Symbol.iterator])s=Array.from(o,(i,l)=>t(i,l,void 0,r&&r[l]));else{const i=Object.keys(o);s=new Array(i.length);for(let l=0,c=i.length;l<c;l++){const u=i[l];s[l]=t(o[u],u,l,r&&r[l])}}else s=[];return e&&(e[n]=s),s}function mt(o,t,e={},n,s){if(ye.ce||ye.parent&&bn(ye.parent)&&ye.parent.ce)return t!=="default"&&(e.name=t),I(),dt(Dt,null,[Z("slot",e,n&&n())],64);let r=o[t];({}).NODE_ENV!=="production"&&r&&r.length>1&&(J("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),r=()=>[]),r&&r._c&&(r._d=!1),I();const a=r&&Yu(r(e)),i=e.key||a&&a.key,l=dt(Dt,{key:(i&&!So(i)?i:`_${t}`)+(!a&&n?"_fb":"")},a||(n?n():[]),a&&o._===1?64:-2);return!s&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),r&&r._c&&(r._d=!0),l}function Yu(o){return o.some(t=>jo(t)?!(t.type===fe||t.type===Dt&&!Yu(t.children)):!0)?o:null}const $i=o=>o?xf(o)?Lr(o):$i(o.parent):null,_n=ne(Object.create(null),{$:o=>o,$el:o=>o.vnode.el,$data:o=>o.data,$props:o=>({}).NODE_ENV!=="production"?vo(o.props):o.props,$attrs:o=>({}).NODE_ENV!=="production"?vo(o.attrs):o.attrs,$slots:o=>({}).NODE_ENV!=="production"?vo(o.slots):o.slots,$refs:o=>({}).NODE_ENV!=="production"?vo(o.refs):o.refs,$parent:o=>$i(o.parent),$root:o=>$i(o.root),$host:o=>o.ce,$emit:o=>o.emit,$options:o=>Di(o),$forceUpdate:o=>o.f||(o.f=()=>{xr(o.update)}),$nextTick:o=>o.n||(o.n=_r.bind(o.proxy)),$watch:o=>oy.bind(o)}),Ni=o=>o==="_"||o==="$",Fi=(o,t)=>o!==qt&&!o.__isScriptSetup&&Lt(o,t),Xu={get({_:o},t){if(t==="__v_skip")return!0;const{ctx:e,setupState:n,data:s,props:r,accessCache:a,type:i,appContext:l}=o;if({}.NODE_ENV!=="production"&&t==="__isVue")return!0;let c;if(t[0]!=="$"){const h=a[t];if(h!==void 0)switch(h){case 1:return n[t];case 2:return s[t];case 4:return e[t];case 3:return r[t]}else{if(Fi(n,t))return a[t]=1,n[t];if(s!==qt&&Lt(s,t))return a[t]=2,s[t];if((c=o.propsOptions[0])&&Lt(c,t))return a[t]=3,r[t];if(e!==qt&&Lt(e,t))return a[t]=4,e[t];zi&&(a[t]=0)}}const u=_n[t];let f,d;if(u)return t==="$attrs"?(_e(o.attrs,"get",""),{}.NODE_ENV!=="production"&&Fr()):{}.NODE_ENV!=="production"&&t==="$slots"&&_e(o,"get",t),u(o);if((f=i.__cssModules)&&(f=f[t]))return f;if(e!==qt&&Lt(e,t))return a[t]=4,e[t];if(d=l.config.globalProperties,Lt(d,t))return d[t];({}).NODE_ENV!=="production"&&ye&&(!ae(t)||t.indexOf("__v")!==0)&&(s!==qt&&Ni(t[0])&&Lt(s,t)?J(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):o===ye&&J(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:o},t,e){const{data:n,setupState:s,ctx:r}=o;return Fi(s,t)?(s[t]=e,!0):{}.NODE_ENV!=="production"&&s.__isScriptSetup&&Lt(s,t)?(J(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):n!==qt&&Lt(n,t)?(n[t]=e,!0):Lt(o.props,t)?({}.NODE_ENV!=="production"&&J(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in o?({}.NODE_ENV!=="production"&&J(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):({}.NODE_ENV!=="production"&&t in o.appContext.config.globalProperties?Object.defineProperty(r,t,{enumerable:!0,configurable:!0,value:e}):r[t]=e,!0)},has({_:{data:o,setupState:t,accessCache:e,ctx:n,appContext:s,propsOptions:r}},a){let i;return!!e[a]||o!==qt&&Lt(o,a)||Fi(t,a)||(i=r[0])&&Lt(i,a)||Lt(n,a)||Lt(_n,a)||Lt(s.config.globalProperties,a)},defineProperty(o,t,e){return e.get!=null?o._.accessCache[t]=0:Lt(e,"value")&&this.set(o,t,e.value,null),Reflect.defineProperty(o,t,e)}};({}).NODE_ENV!=="production"&&(Xu.ownKeys=o=>(J("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(o)));function wg(o){const t={};return Object.defineProperty(t,"_",{configurable:!0,enumerable:!1,get:()=>o}),Object.keys(_n).forEach(e=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,get:()=>_n[e](o),set:be})}),t}function Cg(o){const{ctx:t,propsOptions:[e]}=o;e&&Object.keys(e).forEach(n=>{Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>o.props[n],set:be})})}function Tg(o){const{ctx:t,setupState:e}=o;Object.keys(It(e)).forEach(n=>{if(!e.__isScriptSetup){if(Ni(n[0])){J(`setup() return property ${JSON.stringify(n)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>e[n],set:be})}})}function Eg(){return Sg().slots}function Sg(){const o=qo();return{}.NODE_ENV!=="production"&&!o&&J("useContext() called without active instance."),o.setupContext||(o.setupContext=Tf(o))}function Zu(o){return bt(o)?o.reduce((t,e)=>(t[e]=null,t),{}):o}function Og(){const o=Object.create(null);return(t,e)=>{o[e]?J(`${t} property "${e}" is already defined in ${o[e]}.`):o[e]=t}}let zi=!0;function Pg(o){const t=Di(o),e=o.proxy,n=o.ctx;zi=!1,t.beforeCreate&&Uu(t.beforeCreate,o,"bc");const{data:s,computed:r,methods:a,watch:i,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:p,activated:b,deactivated:x,beforeDestroy:k,beforeUnmount:g,destroyed:m,unmounted:y,render:_,renderTracked:w,renderTriggered:$,errorCaptured:V,serverPrefetch:B,expose:M,inheritAttrs:ut,components:G,directives:tt,filters:gt}=t,Ot={}.NODE_ENV!=="production"?Og():null;if({}.NODE_ENV!=="production"){const[xt]=o.propsOptions;if(xt)for(const kt in xt)Ot("Props",kt)}if(c&&Rg(c,n,Ot),a)for(const xt in a){const kt=a[xt];Ct(kt)?({}.NODE_ENV!=="production"?Object.defineProperty(n,xt,{value:kt.bind(e),configurable:!0,enumerable:!0,writable:!0}):n[xt]=kt.bind(e),{}.NODE_ENV!=="production"&&Ot("Methods",xt)):{}.NODE_ENV!=="production"&&J(`Method "${xt}" has type "${typeof kt}" in the component definition. Did you reference the function correctly?`)}if(s){({}).NODE_ENV!=="production"&&!Ct(s)&&J("The data option must be a function. Plain object usage is no longer supported.");const xt=s.call(e,e);if({}.NODE_ENV!=="production"&&si(xt)&&J("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!Kt(xt))({}).NODE_ENV!=="production"&&J("data() should return an object.");else if(o.data=Wt(xt),{}.NODE_ENV!=="production")for(const kt in xt)Ot("Data",kt),Ni(kt[0])||Object.defineProperty(n,kt,{configurable:!0,enumerable:!0,get:()=>xt[kt],set:be})}if(zi=!0,r)for(const xt in r){const kt=r[xt],se=Ct(kt)?kt.bind(e,e):Ct(kt.get)?kt.get.bind(e,e):be;({}).NODE_ENV!=="production"&&se===be&&J(`Computed property "${xt}" has no getter.`);const me=!Ct(kt)&&Ct(kt.set)?kt.set.bind(e):{}.NODE_ENV!=="production"?()=>{J(`Write operation failed: computed property "${xt}" is readonly.`)}:be,he=de({get:se,set:me});Object.defineProperty(n,xt,{enumerable:!0,configurable:!0,get:()=>he.value,set:Yt=>he.value=Yt}),{}.NODE_ENV!=="production"&&Ot("Computed",xt)}if(i)for(const xt in i)Hu(i[xt],n,e,xt);if(l){const xt=Ct(l)?l.call(e):l;Reflect.ownKeys(xt).forEach(kt=>{Rr(kt,xt[kt])})}u&&Uu(u,o,"c");function $t(xt,kt){bt(kt)?kt.forEach(se=>xt(se.bind(e))):kt&&xt(kt.bind(e))}if($t(gg,f),$t(pe,d),$t(yg,h),$t(Mu,p),$t(hg,b),$t(pg,x),$t(xg,V),$t(_g,w),$t(bg,$),$t(Ii,g),$t(ue,y),$t(vg,B),bt(M))if(M.length){const xt=o.exposed||(o.exposed={});M.forEach(kt=>{Object.defineProperty(xt,kt,{get:()=>e[kt],set:se=>e[kt]=se})})}else o.exposed||(o.exposed={});_&&o.render===be&&(o.render=_),ut!=null&&(o.inheritAttrs=ut),G&&(o.components=G),tt&&(o.directives=tt),B&&Fu(o)}function Rg(o,t,e=be){bt(o)&&(o=Mi(o));for(const n in o){const s=o[n];let r;Kt(s)?"default"in s?r=lo(s.from||n,s.default,!0):r=lo(s.from||n):r=lo(s),ge(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:a=>r.value=a}):t[n]=r,{}.NODE_ENV!=="production"&&e("Inject",n)}}function Uu(o,t,e){io(bt(o)?o.map(n=>n.bind(t.proxy)):o.bind(t.proxy),t,e)}function Hu(o,t,e,n){let s=n.includes(".")?uf(e,n):()=>e[n];if(ae(o)){const r=t[o];Ct(r)?Rt(s,r):{}.NODE_ENV!=="production"&&J(`Invalid watch handler specified by key "${o}"`,r)}else if(Ct(o))Rt(s,o.bind(e));else if(Kt(o))if(bt(o))o.forEach(r=>Hu(r,t,e,n));else{const r=Ct(o.handler)?o.handler.bind(e):t[o.handler];Ct(r)?Rt(s,r,o):{}.NODE_ENV!=="production"&&J(`Invalid watch handler specified by key "${o.handler}"`,r)}else({}).NODE_ENV!=="production"&&J(`Invalid watch option: "${n}"`,o)}function Di(o){const t=o.type,{mixins:e,extends:n}=t,{mixins:s,optionsCache:r,config:{optionMergeStrategies:a}}=o.appContext,i=r.get(t);let l;return i?l=i:!s.length&&!e&&!n?l=t:(l={},s.length&&s.forEach(c=>Pr(l,c,a,!0)),Pr(l,t,a)),Kt(t)&&r.set(t,l),l}function Pr(o,t,e,n=!1){const{mixins:s,extends:r}=t;r&&Pr(o,r,e,!0),s&&s.forEach(a=>Pr(o,a,e,!0));for(const a in t)if(n&&a==="expose")({}).NODE_ENV!=="production"&&J('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const i=Ig[a]||e&&e[a];o[a]=i?i(o[a],t[a]):t[a]}return o}const Ig={data:ju,props:Gu,emits:Gu,methods:xs,computed:xs,beforeCreate:Ne,created:Ne,beforeMount:Ne,mounted:Ne,beforeUpdate:Ne,updated:Ne,beforeDestroy:Ne,beforeUnmount:Ne,destroyed:Ne,unmounted:Ne,activated:Ne,deactivated:Ne,errorCaptured:Ne,serverPrefetch:Ne,components:xs,directives:xs,watch:$g,provide:ju,inject:Ag};function ju(o,t){return t?o?function(){return ne(Ct(o)?o.call(this,this):o,Ct(t)?t.call(this,this):t)}:t:o}function Ag(o,t){return xs(Mi(o),Mi(t))}function Mi(o){if(bt(o)){const t={};for(let e=0;e<o.length;e++)t[o[e]]=o[e];return t}return o}function Ne(o,t){return o?[...new Set([].concat(o,t))]:t}function xs(o,t){return o?ne(Object.create(null),o,t):t}function Gu(o,t){return o?bt(o)&&bt(t)?[...new Set([...o,...t])]:ne(Object.create(null),Zu(o),Zu(t??{})):t}function $g(o,t){if(!o)return t;if(!t)return o;const e=ne(Object.create(null),o);for(const n in t)e[n]=Ne(o[n],t[n]);return e}function Wu(){return{app:null,config:{isNativeTag:qm,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 Ng=0;function Fg(o,t){return function(n,s=null){Ct(n)||(n=ne({},n)),s!=null&&!Kt(s)&&({}.NODE_ENV!=="production"&&J("root props passed to app.mount() must be an object."),s=null);const r=Wu(),a=new WeakSet,i=[];let l=!1;const c=r.app={_uid:Ng++,_component:n,_props:s,_container:null,_context:r,_instance:null,version:Sf,get config(){return r.config},set config(u){({}).NODE_ENV!=="production"&&J("app.config cannot be replaced. Modify individual options instead.")},use(u,...f){return a.has(u)?{}.NODE_ENV!=="production"&&J("Plugin has already been applied to target app."):u&&Ct(u.install)?(a.add(u),u.install(c,...f)):Ct(u)?(a.add(u),u(c,...f)):{}.NODE_ENV!=="production"&&J('A plugin must either be a function or an object with an "install" function.'),c},mixin(u){return r.mixins.includes(u)?{}.NODE_ENV!=="production"&&J("Mixin has already been applied to target app"+(u.name?`: ${u.name}`:"")):r.mixins.push(u),c},component(u,f){return{}.NODE_ENV!=="production"&&qi(u,r.config),f?({}.NODE_ENV!=="production"&&r.components[u]&&J(`Component "${u}" has already been registered in target app.`),r.components[u]=f,c):r.components[u]},directive(u,f){return{}.NODE_ENV!=="production"&&Su(u),f?({}.NODE_ENV!=="production"&&r.directives[u]&&J(`Directive "${u}" has already been registered in target app.`),r.directives[u]=f,c):r.directives[u]},mount(u,f,d){if(l)({}).NODE_ENV!=="production"&&J("App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`");else{({}).NODE_ENV!=="production"&&u.__vue_app__&&J("There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first.");const h=c._ceVNode||Z(n,s);return h.appContext=r,d===!0?d="svg":d===!1&&(d=void 0),{}.NODE_ENV!=="production"&&(r.reload=()=>{o(co(h),u,d)}),f&&t?t(h,u):o(h,u,d),l=!0,c._container=u,u.__vue_app__=c,{}.NODE_ENV!=="production"&&(c._instance=h.component,tg(c,Sf)),Lr(h.component)}},onUnmount(u){({}).NODE_ENV!=="production"&&typeof u!="function"&&J(`Expected function as first argument to app.onUnmount(), but got ${typeof u}`),i.push(u)},unmount(){l?(io(i,c._instance,16),o(null,c._container),{}.NODE_ENV!=="production"&&(c._instance=null,eg(c)),delete c._container.__vue_app__):{}.NODE_ENV!=="production"&&J("Cannot unmount an app that is not mounted.")},provide(u,f){return{}.NODE_ENV!=="production"&&u in r.provides&&J(`App already provides property with key "${String(u)}". It will be overwritten with the new value.`),r.provides[u]=f,c},runWithContext(u){const f=zn;zn=c;try{return u()}finally{zn=f}}};return c}}let zn=null;function Rr(o,t){if(!xe)({}).NODE_ENV!=="production"&&J("provide() can only be used inside setup().");else{let e=xe.provides;const n=xe.parent&&xe.parent.provides;n===e&&(e=xe.provides=Object.create(n)),e[o]=t}}function lo(o,t,e=!1){const n=xe||ye;if(n||zn){const s=zn?zn._context.provides:n?n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(s&&o in s)return s[o];if(arguments.length>1)return e&&Ct(t)?t.call(n&&n.proxy):t;({}).NODE_ENV!=="production"&&J(`injection "${String(o)}" not found.`)}else({}).NODE_ENV!=="production"&&J("inject() can only be used inside setup() or functional components.")}const qu={},Ku=()=>Object.create(qu),Qu=o=>Object.getPrototypeOf(o)===qu;function zg(o,t,e,n=!1){const s={},r=Ku();o.propsDefaults=Object.create(null),Ju(o,t,s,r);for(const a in o.propsOptions[0])a in s||(s[a]=void 0);({}).NODE_ENV!=="production"&&of(t||{},s,o),e?o.props=n?s:uu(s):o.type.props?o.props=s:o.props=r,o.attrs=r}function Dg(o){for(;o;){if(o.type.__hmrId)return!0;o=o.parent}}function Mg(o,t,e,n){const{props:s,attrs:r,vnode:{patchFlag:a}}=o,i=It(s),[l]=o.propsOptions;let c=!1;if(!({}.NODE_ENV!=="production"&&Dg(o))&&(n||a>0)&&!(a&16)){if(a&8){const u=o.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(Nr(o.emitsOptions,d))continue;const h=t[d];if(l)if(Lt(r,d))h!==r[d]&&(r[d]=h,c=!0);else{const p=we(d);s[p]=Li(l,i,p,h,o,!1)}else h!==r[d]&&(r[d]=h,c=!0)}}}else{Ju(o,t,s,r)&&(c=!0);let u;for(const f in i)(!t||!Lt(t,f)&&((u=Ve(f))===f||!Lt(t,u)))&&(l?e&&(e[f]!==void 0||e[u]!==void 0)&&(s[f]=Li(l,i,f,void 0,o,!0)):delete s[f]);if(r!==i)for(const f in r)(!t||!Lt(t,f))&&(delete r[f],c=!0)}c&&yo(o.attrs,"set",""),{}.NODE_ENV!=="production"&&of(t||{},s,o)}function Ju(o,t,e,n){const[s,r]=o.propsOptions;let a=!1,i;if(t)for(let l in t){if(ls(l))continue;const c=t[l];let u;s&&Lt(s,u=we(l))?!r||!r.includes(u)?e[u]=c:(i||(i={}))[u]=c:Nr(o.emitsOptions,l)||(!(l in n)||c!==n[l])&&(n[l]=c,a=!0)}if(r){const l=It(e),c=i||qt;for(let u=0;u<r.length;u++){const f=r[u];e[f]=Li(s,l,f,c[f],o,!Lt(c,f))}}return a}function Li(o,t,e,n,s,r){const a=o[e];if(a!=null){const i=Lt(a,"default");if(i&&n===void 0){const l=a.default;if(a.type!==Function&&!a.skipFactory&&Ct(l)){const{propsDefaults:c}=s;if(e in c)n=c[e];else{const u=Ss(s);n=c[e]=l.call(null,t),u()}}else n=l;s.ce&&s.ce._setProp(e,n)}a[0]&&(r&&!i?n=!1:a[1]&&(n===""||n===Ve(e))&&(n=!0))}return n}const Lg=new WeakMap;function tf(o,t,e=!1){const n=e?Lg:t.propsCache,s=n.get(o);if(s)return s;const r=o.props,a={},i=[];let l=!1;if(!Ct(o)){const u=f=>{l=!0;const[d,h]=tf(f,t,!0);ne(a,d),h&&i.push(...h)};!e&&t.mixins.length&&t.mixins.forEach(u),o.extends&&u(o.extends),o.mixins&&o.mixins.forEach(u)}if(!r&&!l)return Kt(o)&&n.set(o,Rn),Rn;if(bt(r))for(let u=0;u<r.length;u++){({}).NODE_ENV!=="production"&&!ae(r[u])&&J("props must be strings when using array syntax.",r[u]);const f=we(r[u]);ef(f)&&(a[f]=qt)}else if(r){({}).NODE_ENV!=="production"&&!Kt(r)&&J("invalid props options",r);for(const u in r){const f=we(u);if(ef(f)){const d=r[u],h=a[f]=bt(d)||Ct(d)?{type:d}:ne({},d),p=h.type;let b=!1,x=!0;if(bt(p))for(let k=0;k<p.length;++k){const g=p[k],m=Ct(g)&&g.name;if(m==="Boolean"){b=!0;break}else m==="String"&&(x=!1)}else b=Ct(p)&&p.name==="Boolean";h[0]=b,h[1]=x,(b||Lt(h,"default"))&&i.push(f)}}}const c=[a,i];return Kt(o)&&n.set(o,c),c}function ef(o){return o[0]!=="$"&&!ls(o)?!0:({}.NODE_ENV!=="production"&&J(`Invalid prop name: "${o}" is a reserved property.`),!1)}function Bg(o){return o===null?"null":typeof o=="function"?o.name||"":typeof o=="object"&&o.constructor&&o.constructor.name||""}function of(o,t,e){const n=It(t),s=e.propsOptions[0],r=Object.keys(o).map(a=>we(a));for(const a in s){let i=s[a];i!=null&&Vg(a,n[a],i,{}.NODE_ENV!=="production"?vo(n):n,!r.includes(a))}}function Vg(o,t,e,n,s){const{type:r,required:a,validator:i,skipCheck:l}=e;if(a&&s){J('Missing required prop: "'+o+'"');return}if(!(t==null&&!a)){if(r!=null&&r!==!0&&!l){let c=!1;const u=bt(r)?r:[r],f=[];for(let d=0;d<u.length&&!c;d++){const{valid:h,expectedType:p}=Xg(t,u[d]);f.push(p||""),c=h}if(!c){J(Zg(o,t,f));return}}i&&!i(t,n)&&J('Invalid prop: custom validator check failed for prop "'+o+'".')}}const Yg=Be("String,Number,Boolean,Function,Symbol,BigInt");function Xg(o,t){let e;const n=Bg(t);if(n==="null")e=o===null;else if(Yg(n)){const s=typeof o;e=s===n.toLowerCase(),!e&&s==="object"&&(e=o instanceof t)}else n==="Object"?e=Kt(o):n==="Array"?e=bt(o):e=o instanceof t;return{valid:e,expectedType:n}}function Zg(o,t,e){if(e.length===0)return`Prop type [] for prop "${o}" won't match anything. Did you mean to use type Array instead?`;let n=`Invalid prop: type check failed for prop "${o}". Expected ${e.map(un).join(" | ")}`;const s=e[0],r=ri(t),a=nf(t,s),i=nf(t,r);return e.length===1&&sf(s)&&!Ug(s,r)&&(n+=` with value ${a}`),n+=`, got ${r} `,sf(r)&&(n+=`with value ${i}.`),n}function nf(o,t){return t==="String"?`"${o}"`:t==="Number"?`${Number(o)}`:`${o}`}function sf(o){return["string","number","boolean"].some(e=>o.toLowerCase()===e)}function Ug(...o){return o.some(t=>t.toLowerCase()==="boolean")}const rf=o=>o[0]==="_"||o==="$stable",Bi=o=>bt(o)?o.map(uo):[uo(o)],Hg=(o,t,e)=>{if(t._n)return t;const n=W((...s)=>({}.NODE_ENV!=="production"&&xe&&(!e||e.root===xe.root)&&J(`Slot "${o}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`),Bi(t(...s))),e);return n._c=!1,n},af=(o,t,e)=>{const n=o._ctx;for(const s in o){if(rf(s))continue;const r=o[s];if(Ct(r))t[s]=Hg(s,r,n);else if(r!=null){({}).NODE_ENV!=="production"&&J(`Non-function value encountered for slot "${s}". Prefer function slots for better performance.`);const a=Bi(r);t[s]=()=>a}}},lf=(o,t)=>{({}).NODE_ENV!=="production"&&!bs(o.vnode)&&J("Non-function value encountered for default slot. Prefer function slots for better performance.");const e=Bi(t);o.slots.default=()=>e},Vi=(o,t,e)=>{for(const n in t)(e||n!=="_")&&(o[n]=t[n])},jg=(o,t,e)=>{const n=o.slots=Ku();if(o.vnode.shapeFlag&32){const s=t._;s?(Vi(n,t,e),e&&lr(n,"_",s,!0)):af(t,n)}else t&&lf(o,t)},Gg=(o,t,e)=>{const{vnode:n,slots:s}=o;let r=!0,a=qt;if(n.shapeFlag&32){const i=t._;i?{}.NODE_ENV!=="production"&&_o?(Vi(s,t,e),yo(o,"set","$slots")):e&&i===1?r=!1:Vi(s,t,e):(r=!t.$stable,af(t,s)),a=t}else t&&(lf(o,t),a={default:1});if(r)for(const i in s)!rf(i)&&a[i]==null&&delete s[i]};let ks,Ho;function No(o,t){o.appContext.config.performance&&Ir()&&Ho.mark(`vue-${t}-${o.uid}`),{}.NODE_ENV!=="production"&&sg(o,t,Ir()?Ho.now():Date.now())}function Fo(o,t){if(o.appContext.config.performance&&Ir()){const e=`vue-${t}-${o.uid}`,n=e+":end";Ho.mark(n),Ho.measure(`<${Br(o,o.type)}> ${t}`,e,n),Ho.clearMarks(e),Ho.clearMarks(n)}({}).NODE_ENV!=="production"&&rg(o,t,Ir()?Ho.now():Date.now())}function Ir(){return ks!==void 0||(typeof window<"u"&&window.performance?(ks=!0,Ho=window.performance):ks=!1),ks}function Wg(){const o=[];if({}.NODE_ENV!=="production"&&o.length){const t=o.length>1;console.warn(`Feature flag${t?"s":""} ${o.join(", ")} ${t?"are":"is"} not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle.
18
18
 
19
- For more details, see https://link.vuejs.org/feature-flags.`)}}const Ce=vg;function sg(e){return ag(e)}function ag(e,t){rg();const o=Jn();o.__VUE__=!0,{}.NODE_ENV!=="production"&&Zc(o.__VUE_DEVTOOLS_GLOBAL_HOOK__,o);const{insert:n,remove:r,patchProp:s,createElement:a,createText:l,createComment:i,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=ge,insertStaticContent:p}=e,w=(S,O,z,B=null,Z=null,j=null,rt=void 0,H=null,ot={}.NODE_ENV!=="production"&&ho?!1:!!O.dynamicChildren)=>{if(S===O)return;S&&!Go(S,O)&&(B=et(S),tt(S,Z,j,!0),S=null),O.patchFlag===-2&&(ot=!1,O.dynamicChildren=null);const{type:q,ref:Ct,shapeFlag:it}=O;switch(q){case pr:x(S,O,z,B);break;case ce:v(S,O,z,B);break;case hr:S==null?g(O,z,B,rt):{}.NODE_ENV!=="production"&&y(S,O,z,rt);break;case zt:lt(S,O,z,B,Z,j,rt,H,ot);break;default:it&1?C(S,O,z,B,Z,j,rt,H,ot):it&6?gt(S,O,z,B,Z,j,rt,H,ot):it&64||it&128?q.process(S,O,z,B,Z,j,rt,H,ot,It):{}.NODE_ENV!=="production"&&Q("Invalid VNode type:",q,`(${typeof q})`)}Ct!=null&&Z&&ps(Ct,S&&S.ref,j,O||S,!O)},x=(S,O,z,B)=>{if(S==null)n(O.el=l(O.children),z,B);else{const Z=O.el=S.el;O.children!==S.children&&c(Z,O.children)}},v=(S,O,z,B)=>{S==null?n(O.el=i(O.children||""),z,B):O.el=S.el},g=(S,O,z,B)=>{[S.el,S.anchor]=p(S.children,O,z,B,S.el,S.anchor)},y=(S,O,z,B)=>{if(O.children!==S.children){const Z=d(S.anchor);_(S),[O.el,O.anchor]=p(O.children,z,Z,B)}else O.el=S.el,O.anchor=S.anchor},m=({el:S,anchor:O},z,B)=>{let Z;for(;S&&S!==O;)Z=d(S),n(S,z,B),S=Z;n(O,z,B)},_=({el:S,anchor:O})=>{let z;for(;S&&S!==O;)z=d(S),r(S),S=z;r(O)},C=(S,O,z,B,Z,j,rt,H,ot)=>{O.type==="svg"?rt="svg":O.type==="math"&&(rt="mathml"),S==null?M(O,z,B,Z,j,rt,H,ot):V(S,O,Z,j,rt,H,ot)},M=(S,O,z,B,Z,j,rt,H)=>{let ot,q;const{props:Ct,shapeFlag:it,transition:bt,dirs:Ot}=S;if(ot=S.el=a(S.type,j,Ct&&Ct.is,Ct),it&8?u(ot,S.children):it&16&&G(S.children,ot,null,B,Z,xi(S,j),rt,H),Ot&&mn(S,null,B,"created"),X(ot,S,S.scopeId,rt,B),Ct){for(const Qt in Ct)Qt!=="value"&&!Qn(Qt)&&s(ot,Qt,null,Ct[Qt],j,B);"value"in Ct&&s(ot,"value",null,Ct.value,j),(q=Ct.onVnodeBeforeMount)&&We(q,B,S)}({}).NODE_ENV!=="production"&&(Wr(ot,"__vnode",S,!0),Wr(ot,"__vueParentComponent",B,!0)),Ot&&mn(S,null,B,"beforeMount");const Ft=ig(Z,bt);Ft&&bt.beforeEnter(ot),n(ot,O,z),((q=Ct&&Ct.onVnodeMounted)||Ft||Ot)&&Ce(()=>{q&&We(q,B,S),Ft&&bt.enter(ot),Ot&&mn(S,null,B,"mounted")},Z)},X=(S,O,z,B,Z)=>{if(z&&h(S,z),B)for(let j=0;j<B.length;j++)h(S,B[j]);if(Z){let j=Z.subTree;if({}.NODE_ENV!=="production"&&j.patchFlag>0&&j.patchFlag&2048&&(j=Ei(j.children)||j),O===j||ws(j.type)&&(j.ssContent===O||j.ssFallback===O)){const rt=Z.vnode;X(S,rt,rt.scopeId,rt.slotScopeIds,Z.parent)}}},G=(S,O,z,B,Z,j,rt,H,ot=0)=>{for(let q=ot;q<S.length;q++){const Ct=S[q]=H?Uo(S[q]):so(S[q]);w(null,Ct,O,z,B,Z,j,rt,H)}},V=(S,O,z,B,Z,j,rt)=>{const H=O.el=S.el;({}).NODE_ENV!=="production"&&(H.__vnode=O);let{patchFlag:ot,dynamicChildren:q,dirs:Ct}=O;ot|=S.patchFlag&16;const it=S.props||Ht,bt=O.props||Ht;let Ot;if(z&&vn(z,!1),(Ot=bt.onVnodeBeforeUpdate)&&We(Ot,z,O,S),Ct&&mn(O,S,z,"beforeUpdate"),z&&vn(z,!0),{}.NODE_ENV!=="production"&&ho&&(ot=0,rt=!1,q=null),(it.innerHTML&&bt.innerHTML==null||it.textContent&&bt.textContent==null)&&u(H,""),q?(pt(S.dynamicChildren,q,H,z,B,xi(O,Z),j),{}.NODE_ENV!=="production"&&bs(S,O)):rt||ue(S,O,H,null,z,B,xi(O,Z),j,!1),ot>0){if(ot&16)K(H,it,bt,z,Z);else if(ot&2&&it.class!==bt.class&&s(H,"class",null,bt.class,Z),ot&4&&s(H,"style",it.style,bt.style,Z),ot&8){const Ft=O.dynamicProps;for(let Qt=0;Qt<Ft.length;Qt++){const Gt=Ft[Qt],xe=it[Gt],me=bt[Gt];(me!==xe||Gt==="value")&&s(H,Gt,xe,me,Z,z)}}ot&1&&S.children!==O.children&&u(H,O.children)}else!rt&&q==null&&K(H,it,bt,z,Z);((Ot=bt.onVnodeUpdated)||Ct)&&Ce(()=>{Ot&&We(Ot,z,O,S),Ct&&mn(O,S,z,"updated")},B)},pt=(S,O,z,B,Z,j,rt)=>{for(let H=0;H<O.length;H++){const ot=S[H],q=O[H],Ct=ot.el&&(ot.type===zt||!Go(ot,q)||ot.shapeFlag&70)?f(ot.el):z;w(ot,q,Ct,null,B,Z,j,rt,!0)}},K=(S,O,z,B,Z)=>{if(O!==z){if(O!==Ht)for(const j in O)!Qn(j)&&!(j in z)&&s(S,j,O[j],null,Z,B);for(const j in z){if(Qn(j))continue;const rt=z[j],H=O[j];rt!==H&&j!=="value"&&s(S,j,H,rt,Z,B)}"value"in z&&s(S,"value",O.value,z.value,Z)}},lt=(S,O,z,B,Z,j,rt,H,ot)=>{const q=O.el=S?S.el:l(""),Ct=O.anchor=S?S.anchor:l("");let{patchFlag:it,dynamicChildren:bt,slotScopeIds:Ot}=O;({}).NODE_ENV!=="production"&&(ho||it&2048)&&(it=0,ot=!1,bt=null),Ot&&(H=H?H.concat(Ot):Ot),S==null?(n(q,z,B),n(Ct,z,B),G(O.children||[],z,Ct,Z,j,rt,H,ot)):it>0&&it&64&&bt&&S.dynamicChildren?(pt(S.dynamicChildren,bt,z,Z,j,rt,H),{}.NODE_ENV!=="production"?bs(S,O):(O.key!=null||Z&&O===Z.subTree)&&bs(S,O,!0)):ue(S,O,z,Ct,Z,j,rt,H,ot)},gt=(S,O,z,B,Z,j,rt,H,ot)=>{O.slotScopeIds=H,S==null?O.shapeFlag&512?Z.ctx.activate(O,z,B,rt,ot):wt(O,z,B,Z,j,rt,ot):Mt(S,O,ot)},wt=(S,O,z,B,Z,j,rt)=>{const H=S.component=Tg(S,B,Z);if({}.NODE_ENV!=="production"&&H.type.__hmrId&&s0(H),{}.NODE_ENV!=="production"&&(rs(S),Ro(H,"mount")),cr(S)&&(H.ctx.renderer=It),{}.NODE_ENV!=="production"&&Ro(H,"init"),Sg(H,!1,rt),{}.NODE_ENV!=="production"&&Io(H,"init"),H.asyncDep){if({}.NODE_ENV!=="production"&&ho&&(S.el=null),Z&&Z.registerDep(H,Et,rt),!S.el){const ot=H.subTree=J(ce);v(null,ot,O,z)}}else Et(H,S,O,z,Z,j,rt);({}).NODE_ENV!=="production"&&(ss(),Io(H,"mount"))},Mt=(S,O,z)=>{const B=O.component=S.component;if(gg(S,O,z))if(B.asyncDep&&!B.asyncResolved){({}).NODE_ENV!=="production"&&rs(O),St(B,O,z),{}.NODE_ENV!=="production"&&ss();return}else B.next=O,B.update();else O.el=S.el,B.vnode=O},Et=(S,O,z,B,Z,j,rt)=>{const H=()=>{if(S.isMounted){let{next:it,bu:bt,u:Ot,parent:Ft,vnode:Qt}=S;{const Fe=Pu(S);if(Fe){it&&(it.el=Qt.el,St(S,it,rt)),Fe.asyncDep.then(()=>{S.isUnmounted||H()});return}}let Gt=it,xe;({}).NODE_ENV!=="production"&&rs(it||S.vnode),vn(S,!1),it?(it.el=Qt.el,St(S,it,rt)):it=Qt,bt&&cn(bt),(xe=it.props&&it.props.onVnodeBeforeUpdate)&&We(xe,Ft,it,Qt),vn(S,!0),{}.NODE_ENV!=="production"&&Ro(S,"render");const me=Ti(S);({}).NODE_ENV!=="production"&&Io(S,"render");const je=S.subTree;S.subTree=me,{}.NODE_ENV!=="production"&&Ro(S,"patch"),w(je,me,f(je.el),et(je),S,Z,j),{}.NODE_ENV!=="production"&&Io(S,"patch"),it.el=me.el,Gt===null&&yg(S,me.el),Ot&&Ce(Ot,Z),(xe=it.props&&it.props.onVnodeUpdated)&&Ce(()=>We(xe,Ft,it,Qt),Z),{}.NODE_ENV!=="production"&&Gc(S),{}.NODE_ENV!=="production"&&ss()}else{let it;const{el:bt,props:Ot}=O,{bm:Ft,m:Qt,parent:Gt,root:xe,type:me}=S,je=gn(O);if(vn(S,!1),Ft&&cn(Ft),!je&&(it=Ot&&Ot.onVnodeBeforeMount)&&We(it,Gt,O),vn(S,!0),bt&&Rt){const Fe=()=>{({}).NODE_ENV!=="production"&&Ro(S,"render"),S.subTree=Ti(S),{}.NODE_ENV!=="production"&&Io(S,"render"),{}.NODE_ENV!=="production"&&Ro(S,"hydrate"),Rt(bt,S.subTree,S,Z,null),{}.NODE_ENV!=="production"&&Io(S,"hydrate")};je&&me.__asyncHydrate?me.__asyncHydrate(bt,S,Fe):Fe()}else{xe.ce&&xe.ce._injectChildStyle(me),{}.NODE_ENV!=="production"&&Ro(S,"render");const Fe=S.subTree=Ti(S);({}).NODE_ENV!=="production"&&Io(S,"render"),{}.NODE_ENV!=="production"&&Ro(S,"patch"),w(null,Fe,z,B,S,Z,j),{}.NODE_ENV!=="production"&&Io(S,"patch"),O.el=Fe.el}if(Qt&&Ce(Qt,Z),!je&&(it=Ot&&Ot.onVnodeMounted)){const Fe=O;Ce(()=>We(it,Gt,Fe),Z)}(O.shapeFlag&256||Gt&&gn(Gt.vnode)&&Gt.vnode.shapeFlag&256)&&S.a&&Ce(S.a,Z),S.isMounted=!0,{}.NODE_ENV!=="production"&&si(S),O=z=B=null}};S.scope.on();const ot=S.effect=new dc(H);S.scope.off();const q=S.update=ot.run.bind(ot),Ct=S.job=ot.runIfDirty.bind(ot);Ct.i=S,Ct.id=S.uid,ot.scheduler=()=>ls(Ct),vn(S,!0),{}.NODE_ENV!=="production"&&(ot.onTrack=S.rtc?it=>cn(S.rtc,it):void 0,ot.onTrigger=S.rtg?it=>cn(S.rtg,it):void 0),q()},St=(S,O,z)=>{O.component=S;const B=S.vnode.props;S.vnode=O,S.next=null,j0(S,O.props,B,z),ng(S,O.children,z),Co(),Mc(S),To()},ue=(S,O,z,B,Z,j,rt,H,ot=!1)=>{const q=S&&S.children,Ct=S?S.shapeFlag:0,it=O.children,{patchFlag:bt,shapeFlag:Ot}=O;if(bt>0){if(bt&128){Te(q,it,z,B,Z,j,rt,H,ot);return}else if(bt&256){Re(q,it,z,B,Z,j,rt,H,ot);return}}Ot&8?(Ct&16&&D(q,Z,j),it!==q&&u(z,it)):Ct&16?Ot&16?Te(q,it,z,B,Z,j,rt,H,ot):D(q,Z,j,!0):(Ct&8&&u(z,""),Ot&16&&G(it,z,B,Z,j,rt,H,ot))},Re=(S,O,z,B,Z,j,rt,H,ot)=>{S=S||On,O=O||On;const q=S.length,Ct=O.length,it=Math.min(q,Ct);let bt;for(bt=0;bt<it;bt++){const Ot=O[bt]=ot?Uo(O[bt]):so(O[bt]);w(S[bt],Ot,z,null,Z,j,rt,H,ot)}q>Ct?D(S,Z,j,!0,!1,it):G(O,z,B,Z,j,rt,H,ot,it)},Te=(S,O,z,B,Z,j,rt,H,ot)=>{let q=0;const Ct=O.length;let it=S.length-1,bt=Ct-1;for(;q<=it&&q<=bt;){const Ot=S[q],Ft=O[q]=ot?Uo(O[q]):so(O[q]);if(Go(Ot,Ft))w(Ot,Ft,z,null,Z,j,rt,H,ot);else break;q++}for(;q<=it&&q<=bt;){const Ot=S[it],Ft=O[bt]=ot?Uo(O[bt]):so(O[bt]);if(Go(Ot,Ft))w(Ot,Ft,z,null,Z,j,rt,H,ot);else break;it--,bt--}if(q>it){if(q<=bt){const Ot=bt+1,Ft=Ot<Ct?O[Ot].el:B;for(;q<=bt;)w(null,O[q]=ot?Uo(O[q]):so(O[q]),z,Ft,Z,j,rt,H,ot),q++}}else if(q>bt)for(;q<=it;)tt(S[q],Z,j,!0),q++;else{const Ot=q,Ft=q,Qt=new Map;for(q=Ft;q<=bt;q++){const Ee=O[q]=ot?Uo(O[q]):so(O[q]);Ee.key!=null&&({}.NODE_ENV!=="production"&&Qt.has(Ee.key)&&Q("Duplicate keys found during update:",JSON.stringify(Ee.key),"Make sure keys are unique."),Qt.set(Ee.key,q))}let Gt,xe=0;const me=bt-Ft+1;let je=!1,Fe=0;const En=new Array(me);for(q=0;q<me;q++)En[q]=0;for(q=Ot;q<=it;q++){const Ee=S[q];if(xe>=me){tt(Ee,Z,j,!0);continue}let Le;if(Ee.key!=null)Le=Qt.get(Ee.key);else for(Gt=Ft;Gt<=bt;Gt++)if(En[Gt-Ft]===0&&Go(Ee,O[Gt])){Le=Gt;break}Le===void 0?tt(Ee,Z,j,!0):(En[Le-Ft]=q+1,Le>=Fe?Fe=Le:je=!0,w(Ee,O[Le],z,null,Z,j,rt,H,ot),xe++)}const Oa=je?lg(En):On;for(Gt=Oa.length-1,q=me-1;q>=0;q--){const Ee=Ft+q,Le=O[Ee],Pa=Ee+1<Ct?O[Ee+1].el:B;En[q]===0?w(null,Le,z,Pa,Z,j,rt,H,ot):je&&(Gt<0||q!==Oa[Gt]?Bt(Le,z,Pa,2):Gt--)}}},Bt=(S,O,z,B,Z=null)=>{const{el:j,type:rt,transition:H,children:ot,shapeFlag:q}=S;if(q&6){Bt(S.component.subTree,O,z,B);return}if(q&128){S.suspense.move(O,z,B);return}if(q&64){rt.move(S,O,z,It);return}if(rt===zt){n(j,O,z);for(let it=0;it<ot.length;it++)Bt(ot[it],O,z,B);n(S.anchor,O,z);return}if(rt===hr){m(S,O,z);return}if(B!==2&&q&1&&H)if(B===0)H.beforeEnter(j),n(j,O,z),Ce(()=>H.enter(j),Z);else{const{leave:it,delayLeave:bt,afterLeave:Ot}=H,Ft=()=>n(j,O,z),Qt=()=>{it(j,()=>{Ft(),Ot&&Ot()})};bt?bt(j,Ft,Qt):Qt()}else n(j,O,z)},tt=(S,O,z,B=!1,Z=!1)=>{const{type:j,props:rt,ref:H,children:ot,dynamicChildren:q,shapeFlag:Ct,patchFlag:it,dirs:bt,cacheIndex:Ot}=S;if(it===-2&&(Z=!1),H!=null&&ps(H,null,z,S,!0),Ot!=null&&(O.renderCache[Ot]=void 0),Ct&256){O.ctx.deactivate(S);return}const Ft=Ct&1&&bt,Qt=!gn(S);let Gt;if(Qt&&(Gt=rt&&rt.onVnodeBeforeUnmount)&&We(Gt,O,S),Ct&6)Nt(S.component,z,B);else{if(Ct&128){S.suspense.unmount(z,B);return}Ft&&mn(S,null,O,"beforeUnmount"),Ct&64?S.type.remove(S,O,z,It,B):q&&!q.hasOnce&&(j!==zt||it>0&&it&64)?D(q,O,z,!1,!0):(j===zt&&it&384||!Z&&Ct&16)&&D(ot,O,z),B&&I(S)}(Qt&&(Gt=rt&&rt.onVnodeUnmounted)||Ft)&&Ce(()=>{Gt&&We(Gt,O,S),Ft&&mn(S,null,O,"unmounted")},z)},I=S=>{const{type:O,el:z,anchor:B,transition:Z}=S;if(O===zt){({}).NODE_ENV!=="production"&&S.patchFlag>0&&S.patchFlag&2048&&Z&&!Z.persisted?S.children.forEach(rt=>{rt.type===ce?r(rt.el):I(rt)}):te(z,B);return}if(O===hr){_(S);return}const j=()=>{r(z),Z&&!Z.persisted&&Z.afterLeave&&Z.afterLeave()};if(S.shapeFlag&1&&Z&&!Z.persisted){const{leave:rt,delayLeave:H}=Z,ot=()=>rt(z,j);H?H(S.el,j,ot):ot()}else j()},te=(S,O)=>{let z;for(;S!==O;)z=d(S),r(S),S=z;r(O)},Nt=(S,O,z)=>{({}).NODE_ENV!=="production"&&S.type.__hmrId&&a0(S);const{bum:B,scope:Z,job:j,subTree:rt,um:H,m:ot,a:q}=S;_s(ot),_s(q),B&&cn(B),Z.stop(),j&&(j.flags|=8,tt(rt,S,O,z)),H&&Ce(H,O),Ce(()=>{S.isUnmounted=!0},O),O&&O.pendingBranch&&!O.isUnmounted&&S.asyncDep&&!S.asyncResolved&&S.suspenseId===O.pendingId&&(O.deps--,O.deps===0&&O.resolve()),{}.NODE_ENV!=="production"&&d0(S)},D=(S,O,z,B=!1,Z=!1,j=0)=>{for(let rt=j;rt<S.length;rt++)tt(S[rt],O,z,B,Z)},et=S=>{if(S.shapeFlag&6)return et(S.component.subTree);if(S.shapeFlag&128)return S.suspense.next();const O=d(S.anchor||S.el),z=O&&O[y0];return z?d(z):O};let U=!1;const $=(S,O,z)=>{S==null?O._vnode&&tt(O._vnode,null,null,!0):w(O._vnode||null,S,O,null,null,null,z),O._vnode=S,U||(U=!0,Mc(),Bc(),U=!1)},It={p:w,um:tt,m:Bt,r:I,mt:wt,mc:G,pc:ue,pbc:pt,n:et,o:e};let Kt,Rt;return t&&([Kt,Rt]=t(It)),{render:$,hydrate:Kt,createApp:Z0($,Kt)}}function xi({type:e,props:t},o){return o==="svg"&&e==="foreignObject"||o==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:o}function vn({effect:e,job:t},o){o?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ig(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function bs(e,t,o=!1){const n=e.children,r=t.children;if(_t(n)&&_t(r))for(let s=0;s<n.length;s++){const a=n[s];let l=r[s];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[s]=Uo(r[s]),l.el=a.el),!o&&l.patchFlag!==-2&&bs(a,l)),l.type===pr&&(l.el=a.el),{}.NODE_ENV!=="production"&&l.type===ce&&!l.el&&(l.el=a.el)}}function lg(e){const t=e.slice(),o=[0];let n,r,s,a,l;const i=e.length;for(n=0;n<i;n++){const c=e[n];if(c!==0){if(r=o[o.length-1],e[r]<c){t[n]=r,o.push(n);continue}for(s=0,a=o.length-1;s<a;)l=s+a>>1,e[o[l]]<c?s=l+1:a=l;c<e[o[s]]&&(s>0&&(t[n]=o[s-1]),o[s]=n)}}for(s=o.length,a=o[s-1];s-- >0;)o[s]=a,a=t[a];return o}function Pu(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Pu(t)}function _s(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const cg=Symbol.for("v-scx"),ug=()=>{{const e=no(cg);return e||{}.NODE_ENV!=="production"&&Q("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function ki(e,t){return wi(e,null,t)}function Pt(e,t,o){return{}.NODE_ENV!=="production"&&!Tt(t)&&Q("`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."),wi(e,t,o)}function wi(e,t,o=Ht){const{immediate:n,deep:r,flush:s,once:a}=o;({}).NODE_ENV!=="production"&&!t&&(n!==void 0&&Q('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),r!==void 0&&Q('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),a!==void 0&&Q('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const l=Jt({},o);({}).NODE_ENV!=="production"&&(l.onWarn=Q);const i=t&&n||!t&&s!=="post";let c;if(vr){if(s==="sync"){const h=ug();c=h.__watcherHandles||(h.__watcherHandles=[])}else if(!i){const h=()=>{};return h.stop=ge,h.resume=ge,h.pause=ge,h}}const u=ve;l.call=(h,p,w)=>oo(h,u,p,w);let f=!1;s==="post"?l.scheduler=h=>{Ce(h,u&&u.suspense)}:s!=="sync"&&(f=!0,l.scheduler=(h,p)=>{p?h():ls(h)}),l.augmentJob=h=>{t&&(h.flags|=4),f&&(h.flags|=2,u&&(h.id=u.uid,h.i=u))};const d=qm(e,t,l);return vr&&(c?c.push(d):i&&d()),d}function fg(e,t,o){const n=this.proxy,r=oe(e)?e.includes(".")?Ru(n,e):()=>n[e]:e.bind(n,n);let s;Tt(t)?s=t:(s=t.handler,o=t);const a=yr(this),l=wi(r,s.bind(n),o);return a(),l}function Ru(e,t){const o=t.split(".");return()=>{let n=e;for(let r=0;r<o.length&&n;r++)n=n[o[r]];return n}}const dg=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${be(t)}Modifiers`]||e[`${Ve(t)}Modifiers`];function pg(e,t,...o){if(e.isUnmounted)return;const n=e.vnode.props||Ht;if({}.NODE_ENV!=="production"){const{emitsOptions:u,propsOptions:[f]}=e;if(u)if(!(t in u))(!f||!(ln(be(t))in f))&&Q(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${ln(be(t))}" prop.`);else{const d=u[t];Tt(d)&&(d(...o)||Q(`Invalid event arguments: event validation failed for event "${t}".`))}}let r=o;const s=t.startsWith("update:"),a=s&&dg(n,t.slice(7));if(a&&(a.trim&&(r=o.map(u=>oe(u)?u.trim():u)),a.number&&(r=o.map(fm))),{}.NODE_ENV!=="production"&&m0(e,t,r),{}.NODE_ENV!=="production"){const u=t.toLowerCase();u!==t&&n[ln(u)]&&Q(`Event "${u}" is emitted in component ${Ss(e,e.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 "${Ve(t)}" instead of "${t}".`)}let l,i=n[l=ln(t)]||n[l=ln(be(t))];!i&&s&&(i=n[l=ln(Ve(t))]),i&&oo(i,e,6,r);const c=n[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,oo(c,e,6,r)}}function Iu(e,t,o=!1){const n=t.emitsCache,r=n.get(e);if(r!==void 0)return r;const s=e.emits;let a={},l=!1;if(!Tt(e)){const i=c=>{const u=Iu(c,t,!0);u&&(l=!0,Jt(a,u))};!o&&t.mixins.length&&t.mixins.forEach(i),e.extends&&i(e.extends),e.mixins&&e.mixins.forEach(i)}return!s&&!l?(Wt(e)&&n.set(e,null),null):(_t(s)?s.forEach(i=>a[i]=null):Jt(a,s),Wt(e)&&n.set(e,a),a)}function xs(e,t){return!e||!qn(t)?!1:(t=t.slice(2).replace(/Once$/,""),Yt(e,t[0].toLowerCase()+t.slice(1))||Yt(e,Ve(t))||Yt(e,t))}let Ci=!1;function ks(){Ci=!0}function Ti(e){const{type:t,vnode:o,proxy:n,withProxy:r,propsOptions:[s],slots:a,attrs:l,emit:i,render:c,renderCache:u,props:f,data:d,setupState:h,ctx:p,inheritAttrs:w}=e,x=fs(e);let v,g;({}).NODE_ENV!=="production"&&(Ci=!1);try{if(o.shapeFlag&4){const _=r||n,C={}.NODE_ENV!=="production"&&h.__isScriptSetup?new Proxy(_,{get(M,X,G){return Q(`Property '${String(X)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(M,X,G)}}):_;v=so(c.call(C,_,u,{}.NODE_ENV!=="production"?fo(f):f,h,d,p)),g=l}else{const _=t;({}).NODE_ENV!=="production"&&l===f&&ks(),v=so(_.length>1?_({}.NODE_ENV!=="production"?fo(f):f,{}.NODE_ENV!=="production"?{get attrs(){return ks(),fo(l)},slots:a,emit:i}:{attrs:l,slots:a,emit:i}):_({}.NODE_ENV!=="production"?fo(f):f,null)),g=t.props?l:hg(l)}}catch(_){mr.length=0,sr(_,e,1),v=J(ce)}let y=v,m;if({}.NODE_ENV!=="production"&&v.patchFlag>0&&v.patchFlag&2048&&([y,m]=Au(v)),g&&w!==!1){const _=Object.keys(g),{shapeFlag:C}=y;if(_.length){if(C&7)s&&_.some(Ur)&&(g=mg(g,s)),y=ro(y,g,!1,!0);else if({}.NODE_ENV!=="production"&&!Ci&&y.type!==ce){const M=Object.keys(l),X=[],G=[];for(let V=0,pt=M.length;V<pt;V++){const K=M[V];qn(K)?Ur(K)||X.push(K[2].toLowerCase()+K.slice(3)):G.push(K)}G.length&&Q(`Extraneous non-props attributes (${G.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.`),X.length&&Q(`Extraneous non-emits event listeners (${X.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 o.dirs&&({}.NODE_ENV!=="production"&&!$u(y)&&Q("Runtime directive used on component with non-element root node. The directives will not function as intended."),y=ro(y,null,!1,!0),y.dirs=y.dirs?y.dirs.concat(o.dirs):o.dirs),o.transition&&({}.NODE_ENV!=="production"&&!$u(y)&&Q("Component inside <Transition> renders non-element root node that cannot be animated."),$n(y,o.transition)),{}.NODE_ENV!=="production"&&m?m(y):v=y,fs(x),v}const Au=e=>{const t=e.children,o=e.dynamicChildren,n=Ei(t,!1);if(n){if({}.NODE_ENV!=="production"&&n.patchFlag>0&&n.patchFlag&2048)return Au(n)}else return[e,void 0];const r=t.indexOf(n),s=o?o.indexOf(n):-1,a=l=>{t[r]=l,o&&(s>-1?o[s]=l:l.patchFlag>0&&(e.dynamicChildren=[...o,l]))};return[so(n),a]};function Ei(e,t=!0){let o;for(let n=0;n<e.length;n++){const r=e[n];if(Zo(r)){if(r.type!==ce||r.children==="v-if"){if(o)return;if(o=r,{}.NODE_ENV!=="production"&&t&&o.patchFlag>0&&o.patchFlag&2048)return Ei(o.children)}}else return}return o}const hg=e=>{let t;for(const o in e)(o==="class"||o==="style"||qn(o))&&((t||(t={}))[o]=e[o]);return t},mg=(e,t)=>{const o={};for(const n in e)(!Ur(n)||!(n.slice(9)in t))&&(o[n]=e[n]);return o},$u=e=>e.shapeFlag&7||e.type===ce;function gg(e,t,o){const{props:n,children:r,component:s}=e,{props:a,children:l,patchFlag:i}=t,c=s.emitsOptions;if({}.NODE_ENV!=="production"&&(r||l)&&ho||t.dirs||t.transition)return!0;if(o&&i>=0){if(i&1024)return!0;if(i&16)return n?Nu(n,a,c):!!a;if(i&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(a[d]!==n[d]&&!xs(c,d))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:n===a?!1:n?a?Nu(n,a,c):!0:!!a;return!1}function Nu(e,t,o){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let r=0;r<n.length;r++){const s=n[r];if(t[s]!==e[s]&&!xs(o,s))return!0}return!1}function yg({vnode:e,parent:t},o){for(;t;){const n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.el=e.el),n===e)(e=t.vnode).el=o,t=t.parent;else break}}const ws=e=>e.__isSuspense;function vg(e,t){t&&t.pendingBranch?_t(e)?t.effects.push(...e):t.effects.push(e):zc(e)}const zt=Symbol.for("v-fgt"),pr=Symbol.for("v-txt"),ce=Symbol.for("v-cmt"),hr=Symbol.for("v-stc"),mr=[];let Ze=null;function A(e=!1){mr.push(Ze=e?null:[])}function bg(){mr.pop(),Ze=mr[mr.length-1]||null}let gr=1;function Du(e,t=!1){gr+=e,e<0&&Ze&&t&&(Ze.hasOnce=!0)}function Fu(e){return e.dynamicChildren=gr>0?Ze||On:null,bg(),gr>0&&Ze&&Ze.push(e),e}function F(e,t,o,n,r,s){return Fu(k(e,t,o,n,r,s,!0))}function ht(e,t,o,n,r){return Fu(J(e,t,o,n,r,!0))}function Zo(e){return e?e.__v_isVNode===!0:!1}function Go(e,t){if({}.NODE_ENV!=="production"&&t.shapeFlag&6&&e.component){const o=cs.get(t.type);if(o&&o.has(e.component))return e.shapeFlag&=-257,t.shapeFlag&=-513,!1}return e.type===t.type&&e.key===t.key}const _g=(...e)=>zu(...e),Lu=({key:e})=>e??null,Cs=({ref:e,ref_key:t,ref_for:o})=>(typeof e=="number"&&(e=""+e),e!=null?oe(e)||pe(e)||Tt(e)?{i:he,r:e,k:t,f:!!o}:e:null);function k(e,t=null,o=null,n=0,r=null,s=e===zt?0:1,a=!1,l=!1){const i={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Lu(t),ref:t&&Cs(t),scopeId:jc,slotScopeIds:null,children:o,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:n,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:he};return l?(Si(i,o),s&128&&e.normalize(i)):o&&(i.shapeFlag|=oe(o)?8:16),{}.NODE_ENV!=="production"&&i.key!==i.key&&Q("VNode created with invalid key (NaN). VNode type:",i.type),gr>0&&!a&&Ze&&(i.patchFlag>0||s&6)&&i.patchFlag!==32&&Ze.push(i),i}const J={}.NODE_ENV!=="production"?_g:zu;function zu(e,t=null,o=null,n=0,r=null,s=!1){if((!e||e===au)&&({}.NODE_ENV!=="production"&&!e&&Q(`Invalid vnode type when creating vnode: ${e}.`),e=ce),Zo(e)){const l=ro(e,t,!0);return o&&Si(l,o),gr>0&&!s&&Ze&&(l.shapeFlag&6?Ze[Ze.indexOf(e)]=l:Ze.push(l)),l.patchFlag=-2,l}if(ju(e)&&(e=e.__vccOpts),t){t=xg(t);let{class:l,style:i}=t;l&&!oe(l)&&(t.class=Ut(l)),Wt(i)&&(es(i)&&!_t(i)&&(i=Jt({},i)),t.style=N(i))}const a=oe(e)?1:ws(e)?128:Wc(e)?64:Wt(e)?4:Tt(e)?2:0;return{}.NODE_ENV!=="production"&&a&4&&es(e)&&(e=At(e),Q("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
20
- Component that was made reactive: `,e)),k(e,t,o,n,r,a,s,!0)}function xg(e){return e?es(e)||bu(e)?Jt({},e):e:null}function ro(e,t,o=!1,n=!1){const{props:r,ref:s,patchFlag:a,children:l,transition:i}=e,c=t?Bu(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Lu(c),ref:t&&t.ref?o&&s?_t(s)?s.concat(Cs(t)):[s,Cs(t)]:Cs(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:{}.NODE_ENV!=="production"&&a===-1&&_t(l)?l.map(Mu):l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==zt?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:i,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ro(e.ssContent),ssFallback:e.ssFallback&&ro(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return i&&n&&$n(u,i.clone(u)),u}function Mu(e){const t=ro(e);return _t(e.children)&&(t.children=e.children.map(Mu)),t}function Vt(e=" ",t=0){return J(pr,null,e,t)}function kg(e,t){const o=J(hr,null,e);return o.staticCount=t,o}function yt(e="",t=!1){return t?(A(),ht(ce,null,e)):J(ce,null,e)}function so(e){return e==null||typeof e=="boolean"?J(ce):_t(e)?J(zt,null,e.slice()):Zo(e)?Uo(e):J(pr,null,String(e))}function Uo(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ro(e)}function Si(e,t){let o=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(_t(t))o=16;else if(typeof t=="object")if(n&65){const r=t.default;r&&(r._c&&(r._d=!1),Si(e,r()),r._c&&(r._d=!0));return}else{o=32;const r=t._;!r&&!bu(t)?t._ctx=he:r===3&&he&&(he.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Tt(t)?(t={default:t,_ctx:he},o=32):(t=String(t),n&64?(o=16,t=[Vt(t)]):o=8);e.children=t,e.shapeFlag|=o}function Bu(...e){const t={};for(let o=0;o<e.length;o++){const n=e[o];for(const r in n)if(r==="class")t.class!==n.class&&(t.class=Ut([t.class,n.class]));else if(r==="style")t.style=N([t.style,n.style]);else if(qn(r)){const s=t[r],a=n[r];a&&s!==a&&!(_t(s)&&s.includes(a))&&(t[r]=s?[].concat(s,a):a)}else r!==""&&(t[r]=n[r])}return t}function We(e,t,o,n=null){oo(e,t,7,[o,n])}const wg=gu();let Cg=0;function Tg(e,t,o){const n=e.type,r=(t?t.appContext:e.appContext)||wg,s={uid:Cg++,vnode:e,type:n,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new wm(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:xu(n,r),emitsOptions:Iu(n,r),emit:null,emitted:null,propsDefaults:Ht,inheritAttrs:n.inheritAttrs,ctx:Ht,data:Ht,props:Ht,attrs:Ht,slots:Ht,refs:Ht,setupState:Ht,setupContext:null,suspense:o,suspenseId:o?o.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"?s.ctx=A0(s):s.ctx={_:s},s.root=t?t.root:s,s.emit=pg.bind(null,s),e.ce&&e.ce(s),s}let ve=null;const jo=()=>ve||he;let Ts,Oi;{const e=Jn(),t=(o,n)=>{let r;return(r=e[o])||(r=e[o]=[]),r.push(n),s=>{r.length>1?r.forEach(a=>a(s)):r[0](s)}};Ts=t("__VUE_INSTANCE_SETTERS__",o=>ve=o),Oi=t("__VUE_SSR_SETTERS__",o=>vr=o)}const yr=e=>{const t=ve;return Ts(e),e.scope.on(),()=>{e.scope.off(),Ts(t)}},Yu=()=>{ve&&ve.scope.off(),Ts(null)},Eg=Ye("slot,component");function Pi(e,{isNativeTag:t}){(Eg(e)||t(e))&&Q("Do not use built-in or reserved HTML elements as component id: "+e)}function Vu(e){return e.vnode.shapeFlag&4}let vr=!1;function Sg(e,t=!1,o=!1){t&&Oi(t);const{props:n,children:r}=e.vnode,s=Vu(e);G0(e,n,s,t),og(e,r,o);const a=s?Og(e,t):void 0;return t&&Oi(!1),a}function Og(e,t){var o;const n=e.type;if({}.NODE_ENV!=="production"){if(n.name&&Pi(n.name,e.appContext.config),n.components){const s=Object.keys(n.components);for(let a=0;a<s.length;a++)Pi(s[a],e.appContext.config)}if(n.directives){const s=Object.keys(n.directives);for(let a=0;a<s.length;a++)Hc(s[a])}n.compilerOptions&&Pg()&&Q('"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.')}e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,uu),{}.NODE_ENV!=="production"&&$0(e);const{setup:r}=n;if(r){Co();const s=e.setupContext=r.length>1?Uu(e):null,a=yr(e),l=Rn(r,e,0,[{}.NODE_ENV!=="production"?fo(e.props):e.props,s]),i=La(l);if(To(),a(),(i||e.sp)&&!gn(e)&&ou(e),i){if(l.then(Yu,Yu),t)return l.then(c=>{Xu(e,c,t)}).catch(c=>{sr(c,e,0)});if(e.asyncDep=l,{}.NODE_ENV!=="production"&&!e.suspense){const c=(o=n.name)!=null?o:"Anonymous";Q(`Component <${c}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`)}}else Xu(e,l,t)}else Zu(e,t)}function Xu(e,t,o){Tt(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Wt(t)?({}.NODE_ENV!=="production"&&Zo(t)&&Q("setup() should not return VNodes directly - return a render function instead."),{}.NODE_ENV!=="production"&&(e.devtoolsRawSetupState=t),e.setupState=Nc(t),{}.NODE_ENV!=="production"&&N0(e)):{}.NODE_ENV!=="production"&&t!==void 0&&Q(`setup() should return an object. Received: ${t===null?"null":typeof t}`),Zu(e,o)}let Ri;const Pg=()=>!Ri;function Zu(e,t,o){const n=e.type;if(!e.render){if(!t&&Ri&&!n.render){const r=n.template||gi(e).template;if(r){({}).NODE_ENV!=="production"&&Ro(e,"compile");const{isCustomElement:s,compilerOptions:a}=e.appContext.config,{delimiters:l,compilerOptions:i}=n,c=Jt(Jt({isCustomElement:s,delimiters:l},a),i);n.render=Ri(r,c),{}.NODE_ENV!=="production"&&Io(e,"compile")}}e.render=n.render||ge}{const r=yr(e);Co();try{z0(e)}finally{To(),r()}}({}).NODE_ENV!=="production"&&!n.render&&e.render===ge&&!t&&(n.template?Q('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".'):Q("Component is missing template or render function: ",n))}const Gu={}.NODE_ENV!=="production"?{get(e,t){return ks(),ye(e,"get",""),e[t]},set(){return Q("setupContext.attrs is readonly."),!1},deleteProperty(){return Q("setupContext.attrs is readonly."),!1}}:{get(e,t){return ye(e,"get",""),e[t]}};function Rg(e){return new Proxy(e.slots,{get(t,o){return ye(e,"get","$slots"),t[o]}})}function Uu(e){const t=o=>{if({}.NODE_ENV!=="production"&&(e.exposed&&Q("expose() should be called only once per setup()."),o!=null)){let n=typeof o;n==="object"&&(_t(o)?n="array":pe(o)&&(n="ref")),n!=="object"&&Q(`expose() should be passed a plain object, received ${n}.`)}e.exposed=o||{}};if({}.NODE_ENV!=="production"){let o,n;return Object.freeze({get attrs(){return o||(o=new Proxy(e.attrs,Gu))},get slots(){return n||(n=Rg(e))},get emit(){return(r,...s)=>e.emit(r,...s)},expose:t})}else return{attrs:new Proxy(e.attrs,Gu),slots:e.slots,emit:e.emit,expose:t}}function Es(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Nc(Xm(e.exposed)),{get(t,o){if(o in t)return t[o];if(o in yn)return yn[o](e)},has(t,o){return o in t||o in yn}})):e.proxy}const Ig=/(?:^|[-_])(\w)/g,Ag=e=>e.replace(Ig,t=>t.toUpperCase()).replace(/[-_]/g,"");function br(e,t=!0){return Tt(e)?e.displayName||e.name:e.name||t&&e.__name}function Ss(e,t,o=!1){let n=br(t);if(!n&&t.__file){const r=t.__file.match(/([^/\\]+)\.\w+$/);r&&(n=r[1])}if(!n&&e&&e.parent){const r=s=>{for(const a in s)if(s[a]===t)return a};n=r(e.components||e.parent.type.components)||r(e.appContext.components)}return n?Ag(n):o?"App":"Anonymous"}function ju(e){return Tt(e)&&"__vccOpts"in e}const de=(e,t)=>{const o=Hm(e,t,vr);if({}.NODE_ENV!=="production"){const n=jo();n&&n.appContext.config.warnRecursiveComputed&&(o._warnRecursive=!0)}return o};function Xt(e,t,o){const n=arguments.length;return n===2?Wt(t)&&!_t(t)?Zo(t)?J(e,null,[t]):J(e,t):J(e,null,t):(n>3?o=Array.prototype.slice.call(arguments,2):n===3&&Zo(o)&&(o=[o]),J(e,t,o))}function $g(){if({}.NODE_ENV==="production"||typeof window>"u")return;const e={style:"color:#3ba776"},t={style:"color:#1677ff"},o={style:"color:#f5222d"},n={style:"color:#eb2f96"},r={__vue_custom_formatter:!0,header(f){return Wt(f)?f.__isVue?["div",e,"VueInstance"]:pe(f)?["div",{},["span",e,u(f)],"<",l("_value"in f?f._value:f),">"]:fn(f)?["div",{},["span",e,Ie(f)?"ShallowReactive":"Reactive"],"<",l(f),`>${So(f)?" (readonly)":""}`]:So(f)?["div",{},["span",e,Ie(f)?"ShallowReadonly":"Readonly"],"<",l(f),">"]:null:null},hasBody(f){return f&&f.__isVue},body(f){if(f&&f.__isVue)return["div",{},...s(f.$)]}};function s(f){const d=[];f.type.props&&f.props&&d.push(a("props",At(f.props))),f.setupState!==Ht&&d.push(a("setup",f.setupState)),f.data!==Ht&&d.push(a("data",At(f.data)));const h=i(f,"computed");h&&d.push(a("computed",h));const p=i(f,"inject");return p&&d.push(a("injected",p)),d.push(["div",{},["span",{style:n.style+";opacity:0.66"},"$ (internal): "],["object",{object:f}]]),d}function a(f,d){return d=Jt({},d),Object.keys(d).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},f],["div",{style:"padding-left:1.25em"},...Object.keys(d).map(h=>["div",{},["span",n,h+": "],l(d[h],!1)])]]:["span",{}]}function l(f,d=!0){return typeof f=="number"?["span",t,f]:typeof f=="string"?["span",o,JSON.stringify(f)]:typeof f=="boolean"?["span",n,f]:Wt(f)?["object",{object:d?At(f):f}]:["span",o,String(f)]}function i(f,d){const h=f.type;if(Tt(h))return;const p={};for(const w in f.ctx)c(h,w,d)&&(p[w]=f.ctx[w]);return p}function c(f,d,h){const p=f[h];if(_t(p)&&p.includes(d)||Wt(p)&&d in p||f.extends&&c(f.extends,d,h)||f.mixins&&f.mixins.some(w=>c(w,d,h)))return!0}function u(f){return Ie(f)?"ShallowRef":f.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(r):window.devtoolsFormatters=[r]}const Hu="3.5.13",Me={}.NODE_ENV!=="production"?Q:ge;/**
19
+ For more details, see https://link.vuejs.org/feature-flags.`)}}const Se=cy;function qg(o){return Kg(o)}function Kg(o,t){Wg();const e=cs();e.__VUE__=!0,{}.NODE_ENV!=="production"&&wu(e.__VUE_DEVTOOLS_GLOBAL_HOOK__,e);const{insert:n,remove:s,patchProp:r,createElement:a,createText:i,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=be,insertStaticContent:p}=o,b=(S,E,z,X=null,U=null,H=null,rt=void 0,q=null,nt={}.NODE_ENV!=="production"&&_o?!1:!!E.dynamicChildren)=>{if(S===E)return;S&&!Go(S,E)&&(X=ot(S),et(S,U,H,!0),S=null),E.patchFlag===-2&&(nt=!1,E.dynamicChildren=null);const{type:Q,ref:wt,shapeFlag:lt}=E;switch(Q){case ws:x(S,E,z,X);break;case fe:k(S,E,z,X);break;case Cs:S==null?g(E,z,X,rt):{}.NODE_ENV!=="production"&&m(S,E,z,rt);break;case Dt:tt(S,E,z,X,U,H,rt,q,nt);break;default:lt&1?w(S,E,z,X,U,H,rt,q,nt):lt&6?gt(S,E,z,X,U,H,rt,q,nt):lt&64||lt&128?Q.process(S,E,z,X,U,H,rt,q,nt,Pt):{}.NODE_ENV!=="production"&&J("Invalid VNode type:",Q,`(${typeof Q})`)}wt!=null&&U&&Er(wt,S&&S.ref,H,E||S,!E)},x=(S,E,z,X)=>{if(S==null)n(E.el=i(E.children),z,X);else{const U=E.el=S.el;E.children!==S.children&&c(U,E.children)}},k=(S,E,z,X)=>{S==null?n(E.el=l(E.children||""),z,X):E.el=S.el},g=(S,E,z,X)=>{[S.el,S.anchor]=p(S.children,E,z,X,S.el,S.anchor)},m=(S,E,z,X)=>{if(E.children!==S.children){const U=d(S.anchor);_(S),[E.el,E.anchor]=p(E.children,z,U,X)}else E.el=S.el,E.anchor=S.anchor},y=({el:S,anchor:E},z,X)=>{let U;for(;S&&S!==E;)U=d(S),n(S,z,X),S=U;n(E,z,X)},_=({el:S,anchor:E})=>{let z;for(;S&&S!==E;)z=d(S),s(S),S=z;s(E)},w=(S,E,z,X,U,H,rt,q,nt)=>{E.type==="svg"?rt="svg":E.type==="math"&&(rt="mathml"),S==null?$(E,z,X,U,H,rt,q,nt):M(S,E,U,H,rt,q,nt)},$=(S,E,z,X,U,H,rt,q)=>{let nt,Q;const{props:wt,shapeFlag:lt,transition:vt,dirs:St}=S;if(nt=S.el=a(S.type,H,wt&&wt.is,wt),lt&8?u(nt,S.children):lt&16&&B(S.children,nt,null,X,U,Yi(S,H),rt,q),St&&vn(S,null,X,"created"),V(nt,S,S.scopeId,rt,X),wt){for(const te in wt)te!=="value"&&!ls(te)&&r(nt,te,null,wt[te],H,X);"value"in wt&&r(nt,"value",null,wt.value,H),(Q=wt.onVnodeBeforeMount)&&We(Q,X,S)}({}).NODE_ENV!=="production"&&(lr(nt,"__vnode",S,!0),lr(nt,"__vueParentComponent",X,!0)),St&&vn(S,null,X,"beforeMount");const Ft=Qg(U,vt);Ft&&vt.beforeEnter(nt),n(nt,E,z),((Q=wt&&wt.onVnodeMounted)||Ft||St)&&Se(()=>{Q&&We(Q,X,S),Ft&&vt.enter(nt),St&&vn(S,null,X,"mounted")},U)},V=(S,E,z,X,U)=>{if(z&&h(S,z),X)for(let H=0;H<X.length;H++)h(S,X[H]);if(U){let H=U.subTree;if({}.NODE_ENV!=="production"&&H.patchFlag>0&&H.patchFlag&2048&&(H=Hi(H.children)||H),E===H||zr(H.type)&&(H.ssContent===E||H.ssFallback===E)){const rt=U.vnode;V(S,rt,rt.scopeId,rt.slotScopeIds,U.parent)}}},B=(S,E,z,X,U,H,rt,q,nt=0)=>{for(let Q=nt;Q<S.length;Q++){const wt=S[Q]=q?Wo(S[Q]):uo(S[Q]);b(null,wt,E,z,X,U,H,rt,q)}},M=(S,E,z,X,U,H,rt)=>{const q=E.el=S.el;({}).NODE_ENV!=="production"&&(q.__vnode=E);let{patchFlag:nt,dynamicChildren:Q,dirs:wt}=E;nt|=S.patchFlag&16;const lt=S.props||qt,vt=E.props||qt;let St;if(z&&xn(z,!1),(St=vt.onVnodeBeforeUpdate)&&We(St,z,E,S),wt&&vn(E,S,z,"beforeUpdate"),z&&xn(z,!0),{}.NODE_ENV!=="production"&&_o&&(nt=0,rt=!1,Q=null),(lt.innerHTML&&vt.innerHTML==null||lt.textContent&&vt.textContent==null)&&u(q,""),Q?(ut(S.dynamicChildren,Q,q,z,X,Yi(E,U),H),{}.NODE_ENV!=="production"&&Ar(S,E)):rt||se(S,E,q,null,z,X,Yi(E,U),H,!1),nt>0){if(nt&16)G(q,lt,vt,z,U);else if(nt&2&&lt.class!==vt.class&&r(q,"class",null,vt.class,U),nt&4&&r(q,"style",lt.style,vt.style,U),nt&8){const Ft=E.dynamicProps;for(let te=0;te<Ft.length;te++){const jt=Ft[te],Ce=lt[jt],ve=vt[jt];(ve!==Ce||jt==="value")&&r(q,jt,Ce,ve,U,z)}}nt&1&&S.children!==E.children&&u(q,E.children)}else!rt&&Q==null&&G(q,lt,vt,z,U);((St=vt.onVnodeUpdated)||wt)&&Se(()=>{St&&We(St,z,E,S),wt&&vn(E,S,z,"updated")},X)},ut=(S,E,z,X,U,H,rt)=>{for(let q=0;q<E.length;q++){const nt=S[q],Q=E[q],wt=nt.el&&(nt.type===Dt||!Go(nt,Q)||nt.shapeFlag&70)?f(nt.el):z;b(nt,Q,wt,null,X,U,H,rt,!0)}},G=(S,E,z,X,U)=>{if(E!==z){if(E!==qt)for(const H in E)!ls(H)&&!(H in z)&&r(S,H,E[H],null,U,X);for(const H in z){if(ls(H))continue;const rt=z[H],q=E[H];rt!==q&&H!=="value"&&r(S,H,q,rt,U,X)}"value"in z&&r(S,"value",E.value,z.value,U)}},tt=(S,E,z,X,U,H,rt,q,nt)=>{const Q=E.el=S?S.el:i(""),wt=E.anchor=S?S.anchor:i("");let{patchFlag:lt,dynamicChildren:vt,slotScopeIds:St}=E;({}).NODE_ENV!=="production"&&(_o||lt&2048)&&(lt=0,nt=!1,vt=null),St&&(q=q?q.concat(St):St),S==null?(n(Q,z,X),n(wt,z,X),B(E.children||[],z,wt,U,H,rt,q,nt)):lt>0&&lt&64&&vt&&S.dynamicChildren?(ut(S.dynamicChildren,vt,z,U,H,rt,q),{}.NODE_ENV!=="production"?Ar(S,E):(E.key!=null||U&&E===U.subTree)&&Ar(S,E,!0)):se(S,E,z,wt,U,H,rt,q,nt)},gt=(S,E,z,X,U,H,rt,q,nt)=>{E.slotScopeIds=q,S==null?E.shapeFlag&512?U.ctx.activate(E,z,X,rt,nt):Ot(E,z,X,U,H,rt,nt):$t(S,E,nt)},Ot=(S,E,z,X,U,H,rt)=>{const q=S.component=gy(S,X,U);if({}.NODE_ENV!=="production"&&q.type.__hmrId&&q0(q),{}.NODE_ENV!=="production"&&(yr(S),No(q,"mount")),bs(S)&&(q.ctx.renderer=Pt),{}.NODE_ENV!=="production"&&No(q,"init"),vy(q,!1,rt),{}.NODE_ENV!=="production"&&Fo(q,"init"),q.asyncDep){if({}.NODE_ENV!=="production"&&_o&&(S.el=null),U&&U.registerDep(q,xt,rt),!S.el){const nt=q.subTree=Z(fe);k(null,nt,E,z)}}else xt(q,S,E,z,U,H,rt);({}).NODE_ENV!=="production"&&(vr(),Fo(q,"mount"))},$t=(S,E,z)=>{const X=E.component=S.component;if(iy(S,E,z))if(X.asyncDep&&!X.asyncResolved){({}).NODE_ENV!=="production"&&yr(E),kt(X,E,z),{}.NODE_ENV!=="production"&&vr();return}else X.next=E,X.update();else E.el=S.el,X.vnode=E},xt=(S,E,z,X,U,H,rt)=>{const q=()=>{if(S.isMounted){let{next:lt,bu:vt,u:St,parent:Ft,vnode:te}=S;{const ze=cf(S);if(ze){lt&&(lt.el=te.el,kt(S,lt,rt)),ze.asyncDep.then(()=>{S.isUnmounted||q()});return}}let jt=lt,Ce;({}).NODE_ENV!=="production"&&yr(lt||S.vnode),xn(S,!1),lt?(lt.el=te.el,kt(S,lt,rt)):lt=te,vt&&dn(vt),(Ce=lt.props&&lt.props.onVnodeBeforeUpdate)&&We(Ce,Ft,lt,te),xn(S,!0),{}.NODE_ENV!=="production"&&No(S,"render");const ve=Ui(S);({}).NODE_ENV!=="production"&&Fo(S,"render");const je=S.subTree;S.subTree=ve,{}.NODE_ENV!=="production"&&No(S,"patch"),b(je,ve,f(je.el),ot(je),S,U,H),{}.NODE_ENV!=="production"&&Fo(S,"patch"),lt.el=ve.el,jt===null&&ly(S,ve.el),St&&Se(St,U),(Ce=lt.props&&lt.props.onVnodeUpdated)&&Se(()=>We(Ce,Ft,lt,te),U),{}.NODE_ENV!=="production"&&Cu(S),{}.NODE_ENV!=="production"&&vr()}else{let lt;const{el:vt,props:St}=E,{bm:Ft,m:te,parent:jt,root:Ce,type:ve}=S,je=bn(E);if(xn(S,!1),Ft&&dn(Ft),!je&&(lt=St&&St.onVnodeBeforeMount)&&We(lt,jt,E),xn(S,!0),vt&&Et){const ze=()=>{({}).NODE_ENV!=="production"&&No(S,"render"),S.subTree=Ui(S),{}.NODE_ENV!=="production"&&Fo(S,"render"),{}.NODE_ENV!=="production"&&No(S,"hydrate"),Et(vt,S.subTree,S,U,null),{}.NODE_ENV!=="production"&&Fo(S,"hydrate")};je&&ve.__asyncHydrate?ve.__asyncHydrate(vt,S,ze):ze()}else{Ce.ce&&Ce.ce._injectChildStyle(ve),{}.NODE_ENV!=="production"&&No(S,"render");const ze=S.subTree=Ui(S);({}).NODE_ENV!=="production"&&Fo(S,"render"),{}.NODE_ENV!=="production"&&No(S,"patch"),b(null,ze,z,X,S,U,H),{}.NODE_ENV!=="production"&&Fo(S,"patch"),E.el=ze.el}if(te&&Se(te,U),!je&&(lt=St&&St.onVnodeMounted)){const ze=E;Se(()=>We(lt,jt,ze),U)}(E.shapeFlag&256||jt&&bn(jt.vnode)&&jt.vnode.shapeFlag&256)&&S.a&&Se(S.a,U),S.isMounted=!0,{}.NODE_ENV!=="production"&&Ei(S),E=z=X=null}};S.scope.on();const nt=S.effect=new Uc(q);S.scope.off();const Q=S.update=nt.run.bind(nt),wt=S.job=nt.runIfDirty.bind(nt);wt.i=S,wt.id=S.uid,nt.scheduler=()=>xr(wt),xn(S,!0),{}.NODE_ENV!=="production"&&(nt.onTrack=S.rtc?lt=>dn(S.rtc,lt):void 0,nt.onTrigger=S.rtg?lt=>dn(S.rtg,lt):void 0),Q()},kt=(S,E,z)=>{E.component=S;const X=S.vnode.props;S.vnode=E,S.next=null,Mg(S,E.props,X,z),Gg(S,E.children,z),Oo(),vu(S),Po()},se=(S,E,z,X,U,H,rt,q,nt=!1)=>{const Q=S&&S.children,wt=S?S.shapeFlag:0,lt=E.children,{patchFlag:vt,shapeFlag:St}=E;if(vt>0){if(vt&128){he(Q,lt,z,X,U,H,rt,q,nt);return}else if(vt&256){me(Q,lt,z,X,U,H,rt,q,nt);return}}St&8?(wt&16&&F(Q,U,H),lt!==Q&&u(z,lt)):wt&16?St&16?he(Q,lt,z,X,U,H,rt,q,nt):F(Q,U,H,!0):(wt&8&&u(z,""),St&16&&B(lt,z,X,U,H,rt,q,nt))},me=(S,E,z,X,U,H,rt,q,nt)=>{S=S||Rn,E=E||Rn;const Q=S.length,wt=E.length,lt=Math.min(Q,wt);let vt;for(vt=0;vt<lt;vt++){const St=E[vt]=nt?Wo(E[vt]):uo(E[vt]);b(S[vt],St,z,null,U,H,rt,q,nt)}Q>wt?F(S,U,H,!0,!1,lt):B(E,z,X,U,H,rt,q,nt,lt)},he=(S,E,z,X,U,H,rt,q,nt)=>{let Q=0;const wt=E.length;let lt=S.length-1,vt=wt-1;for(;Q<=lt&&Q<=vt;){const St=S[Q],Ft=E[Q]=nt?Wo(E[Q]):uo(E[Q]);if(Go(St,Ft))b(St,Ft,z,null,U,H,rt,q,nt);else break;Q++}for(;Q<=lt&&Q<=vt;){const St=S[lt],Ft=E[vt]=nt?Wo(E[vt]):uo(E[vt]);if(Go(St,Ft))b(St,Ft,z,null,U,H,rt,q,nt);else break;lt--,vt--}if(Q>lt){if(Q<=vt){const St=vt+1,Ft=St<wt?E[St].el:X;for(;Q<=vt;)b(null,E[Q]=nt?Wo(E[Q]):uo(E[Q]),z,Ft,U,H,rt,q,nt),Q++}}else if(Q>vt)for(;Q<=lt;)et(S[Q],U,H,!0),Q++;else{const St=Q,Ft=Q,te=new Map;for(Q=Ft;Q<=vt;Q++){const Oe=E[Q]=nt?Wo(E[Q]):uo(E[Q]);Oe.key!=null&&({}.NODE_ENV!=="production"&&te.has(Oe.key)&&J("Duplicate keys found during update:",JSON.stringify(Oe.key),"Make sure keys are unique."),te.set(Oe.key,Q))}let jt,Ce=0;const ve=vt-Ft+1;let je=!1,ze=0;const On=new Array(ve);for(Q=0;Q<ve;Q++)On[Q]=0;for(Q=St;Q<=lt;Q++){const Oe=S[Q];if(Ce>=ve){et(Oe,U,H,!0);continue}let De;if(Oe.key!=null)De=te.get(Oe.key);else for(jt=Ft;jt<=vt;jt++)if(On[jt-Ft]===0&&Go(Oe,E[jt])){De=jt;break}De===void 0?et(Oe,U,H,!0):(On[De-Ft]=Q+1,De>=ze?ze=De:je=!0,b(Oe,E[De],z,null,U,H,rt,q,nt),Ce++)}const Wa=je?Jg(On):Rn;for(jt=Wa.length-1,Q=ve-1;Q>=0;Q--){const Oe=Ft+Q,De=E[Oe],qa=Oe+1<wt?E[Oe+1].el:X;On[Q]===0?b(null,De,z,qa,U,H,rt,q,nt):je&&(jt<0||Q!==Wa[jt]?Yt(De,z,qa,2):jt--)}}},Yt=(S,E,z,X,U=null)=>{const{el:H,type:rt,transition:q,children:nt,shapeFlag:Q}=S;if(Q&6){Yt(S.component.subTree,E,z,X);return}if(Q&128){S.suspense.move(E,z,X);return}if(Q&64){rt.move(S,E,z,Pt);return}if(rt===Dt){n(H,E,z);for(let lt=0;lt<nt.length;lt++)Yt(nt[lt],E,z,X);n(S.anchor,E,z);return}if(rt===Cs){y(S,E,z);return}if(X!==2&&Q&1&&q)if(X===0)q.beforeEnter(H),n(H,E,z),Se(()=>q.enter(H),U);else{const{leave:lt,delayLeave:vt,afterLeave:St}=q,Ft=()=>n(H,E,z),te=()=>{lt(H,()=>{Ft(),St&&St()})};vt?vt(H,Ft,te):te()}else n(H,E,z)},et=(S,E,z,X=!1,U=!1)=>{const{type:H,props:rt,ref:q,children:nt,dynamicChildren:Q,shapeFlag:wt,patchFlag:lt,dirs:vt,cacheIndex:St}=S;if(lt===-2&&(U=!1),q!=null&&Er(q,null,z,S,!0),St!=null&&(E.renderCache[St]=void 0),wt&256){E.ctx.deactivate(S);return}const Ft=wt&1&&vt,te=!bn(S);let jt;if(te&&(jt=rt&&rt.onVnodeBeforeUnmount)&&We(jt,E,S),wt&6)Nt(S.component,z,X);else{if(wt&128){S.suspense.unmount(z,X);return}Ft&&vn(S,null,E,"beforeUnmount"),wt&64?S.type.remove(S,E,z,Pt,X):Q&&!Q.hasOnce&&(H!==Dt||lt>0&&lt&64)?F(Q,E,z,!1,!0):(H===Dt&&lt&384||!U&&wt&16)&&F(nt,E,z),X&&A(S)}(te&&(jt=rt&&rt.onVnodeUnmounted)||Ft)&&Se(()=>{jt&&We(jt,E,S),Ft&&vn(S,null,E,"unmounted")},z)},A=S=>{const{type:E,el:z,anchor:X,transition:U}=S;if(E===Dt){({}).NODE_ENV!=="production"&&S.patchFlag>0&&S.patchFlag&2048&&U&&!U.persisted?S.children.forEach(rt=>{rt.type===fe?s(rt.el):A(rt)}):re(z,X);return}if(E===Cs){_(S);return}const H=()=>{s(z),U&&!U.persisted&&U.afterLeave&&U.afterLeave()};if(S.shapeFlag&1&&U&&!U.persisted){const{leave:rt,delayLeave:q}=U,nt=()=>rt(z,H);q?q(S.el,H,nt):nt()}else H()},re=(S,E)=>{let z;for(;S!==E;)z=d(S),s(S),S=z;s(E)},Nt=(S,E,z)=>{({}).NODE_ENV!=="production"&&S.type.__hmrId&&K0(S);const{bum:X,scope:U,job:H,subTree:rt,um:q,m:nt,a:Q}=S;$r(nt),$r(Q),X&&dn(X),U.stop(),H&&(H.flags|=8,et(rt,S,E,z)),q&&Se(q,E),Se(()=>{S.isUnmounted=!0},E),E&&E.pendingBranch&&!E.isUnmounted&&S.asyncDep&&!S.asyncResolved&&S.suspenseId===E.pendingId&&(E.deps--,E.deps===0&&E.resolve()),{}.NODE_ENV!=="production"&&ng(S)},F=(S,E,z,X=!1,U=!1,H=0)=>{for(let rt=H;rt<S.length;rt++)et(S[rt],E,z,X,U)},ot=S=>{if(S.shapeFlag&6)return ot(S.component.subTree);if(S.shapeFlag&128)return S.suspense.next();const E=d(S.anchor||S.el),z=E&&E[lg];return z?d(z):E};let j=!1;const it=(S,E,z)=>{S==null?E._vnode&&et(E._vnode,null,null,!0):b(E._vnode||null,S,E,null,null,null,z),E._vnode=S,j||(j=!0,vu(),bu(),j=!1)},Pt={p:b,um:et,m:Yt,r:A,mt:Ot,mc:B,pc:se,pbc:ut,n:ot,o};let Ht,Et;return t&&([Ht,Et]=t(Pt)),{render:it,hydrate:Ht,createApp:Fg(it,Ht)}}function Yi({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 xn({effect:o,job:t},e){e?(o.flags|=32,t.flags|=4):(o.flags&=-33,t.flags&=-5)}function Qg(o,t){return(!o||o&&!o.pendingBranch)&&t&&!t.persisted}function Ar(o,t,e=!1){const n=o.children,s=t.children;if(bt(n)&&bt(s))for(let r=0;r<n.length;r++){const a=n[r];let i=s[r];i.shapeFlag&1&&!i.dynamicChildren&&((i.patchFlag<=0||i.patchFlag===32)&&(i=s[r]=Wo(s[r]),i.el=a.el),!e&&i.patchFlag!==-2&&Ar(a,i)),i.type===ws&&(i.el=a.el),{}.NODE_ENV!=="production"&&i.type===fe&&!i.el&&(i.el=a.el)}}function Jg(o){const t=o.slice(),e=[0];let n,s,r,a,i;const l=o.length;for(n=0;n<l;n++){const c=o[n];if(c!==0){if(s=e[e.length-1],o[s]<c){t[n]=s,e.push(n);continue}for(r=0,a=e.length-1;r<a;)i=r+a>>1,o[e[i]]<c?r=i+1:a=i;c<o[e[r]]&&(r>0&&(t[n]=e[r-1]),e[r]=n)}}for(r=e.length,a=e[r-1];r-- >0;)e[r]=a,a=t[a];return e}function cf(o){const t=o.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:cf(t)}function $r(o){if(o)for(let t=0;t<o.length;t++)o[t].flags|=8}const ty=Symbol.for("v-scx"),ey=()=>{{const o=lo(ty);return o||{}.NODE_ENV!=="production"&&J("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),o}};function Dn(o,t){return Xi(o,null,t)}function Rt(o,t,e){return{}.NODE_ENV!=="production"&&!Ct(t)&&J("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),Xi(o,t,e)}function Xi(o,t,e=qt){const{immediate:n,deep:s,flush:r,once:a}=e;({}).NODE_ENV!=="production"&&!t&&(n!==void 0&&J('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),s!==void 0&&J('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),a!==void 0&&J('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const i=ne({},e);({}).NODE_ENV!=="production"&&(i.onWarn=J);const l=t&&n||!t&&r!=="post";let c;if(Os){if(r==="sync"){const h=ey();c=h.__watcherHandles||(h.__watcherHandles=[])}else if(!l){const h=()=>{};return h.stop=be,h.resume=be,h.pause=be,h}}const u=xe;i.call=(h,p,b)=>io(h,u,p,b);let f=!1;r==="post"?i.scheduler=h=>{Se(h,u&&u.suspense)}:r!=="sync"&&(f=!0,i.scheduler=(h,p)=>{p?h():xr(h)}),i.augmentJob=h=>{t&&(h.flags|=4),f&&(h.flags|=2,u&&(h.id=u.uid,h.i=u))};const d=V0(o,t,i);return Os&&(c?c.push(d):l&&d()),d}function oy(o,t,e){const n=this.proxy,s=ae(o)?o.includes(".")?uf(n,o):()=>n[o]:o.bind(n,n);let r;Ct(t)?r=t:(r=t.handler,e=t);const a=Ss(this),i=Xi(s,r.bind(n),e);return a(),i}function uf(o,t){const e=t.split(".");return()=>{let n=o;for(let s=0;s<e.length&&n;s++)n=n[e[s]];return n}}const ny=(o,t)=>t==="modelValue"||t==="model-value"?o.modelModifiers:o[`${t}Modifiers`]||o[`${we(t)}Modifiers`]||o[`${Ve(t)}Modifiers`];function sy(o,t,...e){if(o.isUnmounted)return;const n=o.vnode.props||qt;if({}.NODE_ENV!=="production"){const{emitsOptions:u,propsOptions:[f]}=o;if(u)if(!(t in u))(!f||!(fn(we(t))in f))&&J(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${fn(we(t))}" prop.`);else{const d=u[t];Ct(d)&&(d(...e)||J(`Invalid event arguments: event validation failed for event "${t}".`))}}let s=e;const r=t.startsWith("update:"),a=r&&ny(n,t.slice(7));if(a&&(a.trim&&(s=e.map(u=>ae(u)?u.trim():u)),a.number&&(s=e.map(o0))),{}.NODE_ENV!=="production"&&ag(o,t,s),{}.NODE_ENV!=="production"){const u=t.toLowerCase();u!==t&&n[fn(u)]&&J(`Event "${u}" is emitted in component ${Br(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 "${Ve(t)}" instead of "${t}".`)}let i,l=n[i=fn(t)]||n[i=fn(we(t))];!l&&r&&(l=n[i=fn(Ve(t))]),l&&io(l,o,6,s);const c=n[i+"Once"];if(c){if(!o.emitted)o.emitted={};else if(o.emitted[i])return;o.emitted[i]=!0,io(c,o,6,s)}}function ff(o,t,e=!1){const n=t.emitsCache,s=n.get(o);if(s!==void 0)return s;const r=o.emits;let a={},i=!1;if(!Ct(o)){const l=c=>{const u=ff(c,t,!0);u&&(i=!0,ne(a,u))};!e&&t.mixins.length&&t.mixins.forEach(l),o.extends&&l(o.extends),o.mixins&&o.mixins.forEach(l)}return!r&&!i?(Kt(o)&&n.set(o,null),null):(bt(r)?r.forEach(l=>a[l]=null):ne(a,r),Kt(o)&&n.set(o,a),a)}function Nr(o,t){return!o||!as(t)?!1:(t=t.slice(2).replace(/Once$/,""),Lt(o,t[0].toLowerCase()+t.slice(1))||Lt(o,Ve(t))||Lt(o,t))}let Zi=!1;function Fr(){Zi=!0}function Ui(o){const{type:t,vnode:e,proxy:n,withProxy:s,propsOptions:[r],slots:a,attrs:i,emit:l,render:c,renderCache:u,props:f,data:d,setupState:h,ctx:p,inheritAttrs:b}=o,x=Cr(o);let k,g;({}).NODE_ENV!=="production"&&(Zi=!1);try{if(e.shapeFlag&4){const _=s||n,w={}.NODE_ENV!=="production"&&h.__isScriptSetup?new Proxy(_,{get($,V,B){return J(`Property '${String(V)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get($,V,B)}}):_;k=uo(c.call(w,_,u,{}.NODE_ENV!=="production"?vo(f):f,h,d,p)),g=i}else{const _=t;({}).NODE_ENV!=="production"&&i===f&&Fr(),k=uo(_.length>1?_({}.NODE_ENV!=="production"?vo(f):f,{}.NODE_ENV!=="production"?{get attrs(){return Fr(),vo(i)},slots:a,emit:l}:{attrs:i,slots:a,emit:l}):_({}.NODE_ENV!=="production"?vo(f):f,null)),g=t.props?i:ry(i)}}catch(_){Ts.length=0,ms(_,o,1),k=Z(fe)}let m=k,y;if({}.NODE_ENV!=="production"&&k.patchFlag>0&&k.patchFlag&2048&&([m,y]=df(k)),g&&b!==!1){const _=Object.keys(g),{shapeFlag:w}=m;if(_.length){if(w&7)r&&_.some(rr)&&(g=ay(g,r)),m=co(m,g,!1,!0);else if({}.NODE_ENV!=="production"&&!Zi&&m.type!==fe){const $=Object.keys(i),V=[],B=[];for(let M=0,ut=$.length;M<ut;M++){const G=$[M];as(G)?rr(G)||V.push(G[2].toLowerCase()+G.slice(3)):B.push(G)}B.length&&J(`Extraneous non-props attributes (${B.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.`),V.length&&J(`Extraneous non-emits event listeners (${V.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"&&!hf(m)&&J("Runtime directive used on component with non-element root node. The directives will not function as intended."),m=co(m,null,!1,!0),m.dirs=m.dirs?m.dirs.concat(e.dirs):e.dirs),e.transition&&({}.NODE_ENV!=="production"&&!hf(m)&&J("Component inside <Transition> renders non-element root node that cannot be animated."),Fn(m,e.transition)),{}.NODE_ENV!=="production"&&y?y(m):k=m,Cr(x),k}const df=o=>{const t=o.children,e=o.dynamicChildren,n=Hi(t,!1);if(n){if({}.NODE_ENV!=="production"&&n.patchFlag>0&&n.patchFlag&2048)return df(n)}else return[o,void 0];const s=t.indexOf(n),r=e?e.indexOf(n):-1,a=i=>{t[s]=i,e&&(r>-1?e[r]=i:i.patchFlag>0&&(o.dynamicChildren=[...e,i]))};return[uo(n),a]};function Hi(o,t=!0){let e;for(let n=0;n<o.length;n++){const s=o[n];if(jo(s)){if(s.type!==fe||s.children==="v-if"){if(e)return;if(e=s,{}.NODE_ENV!=="production"&&t&&e.patchFlag>0&&e.patchFlag&2048)return Hi(e.children)}}else return}return e}const ry=o=>{let t;for(const e in o)(e==="class"||e==="style"||as(e))&&((t||(t={}))[e]=o[e]);return t},ay=(o,t)=>{const e={};for(const n in o)(!rr(n)||!(n.slice(9)in t))&&(e[n]=o[n]);return e},hf=o=>o.shapeFlag&7||o.type===fe;function iy(o,t,e){const{props:n,children:s,component:r}=o,{props:a,children:i,patchFlag:l}=t,c=r.emitsOptions;if({}.NODE_ENV!=="production"&&(s||i)&&_o||t.dirs||t.transition)return!0;if(e&&l>=0){if(l&1024)return!0;if(l&16)return n?pf(n,a,c):!!a;if(l&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(a[d]!==n[d]&&!Nr(c,d))return!0}}}else return(s||i)&&(!i||!i.$stable)?!0:n===a?!1:n?a?pf(n,a,c):!0:!!a;return!1}function pf(o,t,e){const n=Object.keys(t);if(n.length!==Object.keys(o).length)return!0;for(let s=0;s<n.length;s++){const r=n[s];if(t[r]!==o[r]&&!Nr(e,r))return!0}return!1}function ly({vnode:o,parent:t},e){for(;t;){const n=t.subTree;if(n.suspense&&n.suspense.activeBranch===o&&(n.el=o.el),n===o)(o=t.vnode).el=e,t=t.parent;else break}}const zr=o=>o.__isSuspense;function cy(o,t){t&&t.pendingBranch?bt(o)?t.effects.push(...o):t.effects.push(o):yu(o)}const Dt=Symbol.for("v-fgt"),ws=Symbol.for("v-txt"),fe=Symbol.for("v-cmt"),Cs=Symbol.for("v-stc"),Ts=[];let Xe=null;function I(o=!1){Ts.push(Xe=o?null:[])}function uy(){Ts.pop(),Xe=Ts[Ts.length-1]||null}let Es=1;function mf(o,t=!1){Es+=o,o<0&&Xe&&t&&(Xe.hasOnce=!0)}function gf(o){return o.dynamicChildren=Es>0?Xe||Rn:null,uy(),Es>0&&Xe&&Xe.push(o),o}function D(o,t,e,n,s,r){return gf(v(o,t,e,n,s,r,!0))}function dt(o,t,e,n,s){return gf(Z(o,t,e,n,s,!0))}function jo(o){return o?o.__v_isVNode===!0:!1}function Go(o,t){if({}.NODE_ENV!=="production"&&t.shapeFlag&6&&o.component){const e=kr.get(t.type);if(e&&e.has(o.component))return o.shapeFlag&=-257,t.shapeFlag&=-513,!1}return o.type===t.type&&o.key===t.key}const fy=(...o)=>vf(...o),yf=({key:o})=>o??null,Dr=({ref:o,ref_key:t,ref_for:e})=>(typeof o=="number"&&(o=""+o),o!=null?ae(o)||ge(o)||Ct(o)?{i:ye,r:o,k:t,f:!!e}:o:null);function v(o,t=null,e=null,n=0,s=null,r=o===Dt?0:1,a=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:o,props:t,key:t&&yf(t),ref:t&&Dr(t),scopeId:Eu,slotScopeIds:null,children:e,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:n,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:ye};return i?(ji(l,e),r&128&&o.normalize(l)):e&&(l.shapeFlag|=ae(e)?8:16),{}.NODE_ENV!=="production"&&l.key!==l.key&&J("VNode created with invalid key (NaN). VNode type:",l.type),Es>0&&!a&&Xe&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&Xe.push(l),l}const Z={}.NODE_ENV!=="production"?fy:vf;function vf(o,t=null,e=null,n=0,s=null,r=!1){if((!o||o===Lu)&&({}.NODE_ENV!=="production"&&!o&&J(`Invalid vnode type when creating vnode: ${o}.`),o=fe),jo(o)){const i=co(o,t,!0);return e&&ji(i,e),Es>0&&!r&&Xe&&(i.shapeFlag&6?Xe[Xe.indexOf(o)]=i:Xe.push(i)),i.patchFlag=-2,i}if(Ef(o)&&(o=o.__vccOpts),t){t=dy(t);let{class:i,style:l}=t;i&&!ae(i)&&(t.class=Gt(i)),Kt(l)&&(pr(l)&&!bt(l)&&(l=ne({},l)),t.style=N(l))}const a=ae(o)?1:zr(o)?128:Ou(o)?64:Kt(o)?4:Ct(o)?2:0;return{}.NODE_ENV!=="production"&&a&4&&pr(o)&&(o=It(o),J("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
20
+ Component that was made reactive: `,o)),v(o,t,e,n,s,a,r,!0)}function dy(o){return o?pr(o)||Qu(o)?ne({},o):o:null}function co(o,t,e=!1,n=!1){const{props:s,ref:r,patchFlag:a,children:i,transition:l}=o,c=t?Gi(s||{},t):s,u={__v_isVNode:!0,__v_skip:!0,type:o.type,props:c,key:c&&yf(c),ref:t&&t.ref?e&&r?bt(r)?r.concat(Dr(t)):[r,Dr(t)]:Dr(t):r,scopeId:o.scopeId,slotScopeIds:o.slotScopeIds,children:{}.NODE_ENV!=="production"&&a===-1&&bt(i)?i.map(bf):i,target:o.target,targetStart:o.targetStart,targetAnchor:o.targetAnchor,staticCount:o.staticCount,shapeFlag:o.shapeFlag,patchFlag:t&&o.type!==Dt?a===-1?16:a|16:a,dynamicProps:o.dynamicProps,dynamicChildren:o.dynamicChildren,appContext:o.appContext,dirs:o.dirs,transition:l,component:o.component,suspense:o.suspense,ssContent:o.ssContent&&co(o.ssContent),ssFallback:o.ssFallback&&co(o.ssFallback),el:o.el,anchor:o.anchor,ctx:o.ctx,ce:o.ce};return l&&n&&Fn(u,l.clone(u)),u}function bf(o){const t=co(o);return bt(o.children)&&(t.children=o.children.map(bf)),t}function Bt(o=" ",t=0){return Z(ws,null,o,t)}function hy(o,t){const e=Z(Cs,null,o);return e.staticCount=t,e}function yt(o="",t=!1){return t?(I(),dt(fe,null,o)):Z(fe,null,o)}function uo(o){return o==null||typeof o=="boolean"?Z(fe):bt(o)?Z(Dt,null,o.slice()):jo(o)?Wo(o):Z(ws,null,String(o))}function Wo(o){return o.el===null&&o.patchFlag!==-1||o.memo?o:co(o)}function ji(o,t){let e=0;const{shapeFlag:n}=o;if(t==null)t=null;else if(bt(t))e=16;else if(typeof t=="object")if(n&65){const s=t.default;s&&(s._c&&(s._d=!1),ji(o,s()),s._c&&(s._d=!0));return}else{e=32;const s=t._;!s&&!Qu(t)?t._ctx=ye:s===3&&ye&&(ye.slots._===1?t._=1:(t._=2,o.patchFlag|=1024))}else Ct(t)?(t={default:t,_ctx:ye},e=32):(t=String(t),n&64?(e=16,t=[Bt(t)]):e=8);o.children=t,o.shapeFlag|=e}function Gi(...o){const t={};for(let e=0;e<o.length;e++){const n=o[e];for(const s in n)if(s==="class")t.class!==n.class&&(t.class=Gt([t.class,n.class]));else if(s==="style")t.style=N([t.style,n.style]);else if(as(s)){const r=t[s],a=n[s];a&&r!==a&&!(bt(r)&&r.includes(a))&&(t[s]=r?[].concat(r,a):a)}else s!==""&&(t[s]=n[s])}return t}function We(o,t,e,n=null){io(o,t,7,[e,n])}const py=Wu();let my=0;function gy(o,t,e){const n=o.type,s=(t?t.appContext:o.appContext)||py,r={uid:my++,vnode:o,type:n,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new p0(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:tf(n,s),emitsOptions:ff(n,s),emit:null,emitted:null,propsDefaults:qt,inheritAttrs:n.inheritAttrs,ctx:qt,data:qt,props:qt,attrs:qt,slots:qt,refs:qt,setupState:qt,setupContext:null,suspense:e,suspenseId:e?e.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return{}.NODE_ENV!=="production"?r.ctx=wg(r):r.ctx={_:r},r.root=t?t.root:r,r.emit=sy.bind(null,r),o.ce&&o.ce(r),r}let xe=null;const qo=()=>xe||ye;let Mr,Wi;{const o=cs(),t=(e,n)=>{let s;return(s=o[e])||(s=o[e]=[]),s.push(n),r=>{s.length>1?s.forEach(a=>a(r)):s[0](r)}};Mr=t("__VUE_INSTANCE_SETTERS__",e=>xe=e),Wi=t("__VUE_SSR_SETTERS__",e=>Os=e)}const Ss=o=>{const t=xe;return Mr(o),o.scope.on(),()=>{o.scope.off(),Mr(t)}},_f=()=>{xe&&xe.scope.off(),Mr(null)},yy=Be("slot,component");function qi(o,{isNativeTag:t}){(yy(o)||t(o))&&J("Do not use built-in or reserved HTML elements as component id: "+o)}function xf(o){return o.vnode.shapeFlag&4}let Os=!1;function vy(o,t=!1,e=!1){t&&Wi(t);const{props:n,children:s}=o.vnode,r=xf(o);zg(o,n,r,t),jg(o,s,e);const a=r?by(o,t):void 0;return t&&Wi(!1),a}function by(o,t){var e;const n=o.type;if({}.NODE_ENV!=="production"){if(n.name&&qi(n.name,o.appContext.config),n.components){const r=Object.keys(n.components);for(let a=0;a<r.length;a++)qi(r[a],o.appContext.config)}if(n.directives){const r=Object.keys(n.directives);for(let a=0;a<r.length;a++)Su(r[a])}n.compilerOptions&&_y()&&J('"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.')}o.accessCache=Object.create(null),o.proxy=new Proxy(o.ctx,Xu),{}.NODE_ENV!=="production"&&Cg(o);const{setup:s}=n;if(s){Oo();const r=o.setupContext=s.length>1?Tf(o):null,a=Ss(o),i=An(s,o,0,[{}.NODE_ENV!=="production"?vo(o.props):o.props,r]),l=si(i);if(Po(),a(),(l||o.sp)&&!bn(o)&&Fu(o),l){if(i.then(_f,_f),t)return i.then(c=>{kf(o,c,t)}).catch(c=>{ms(c,o,0)});if(o.asyncDep=i,{}.NODE_ENV!=="production"&&!o.suspense){const c=(e=n.name)!=null?e:"Anonymous";J(`Component <${c}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`)}}else kf(o,i,t)}else wf(o,t)}function kf(o,t,e){Ct(t)?o.type.__ssrInlineRender?o.ssrRender=t:o.render=t:Kt(t)?({}.NODE_ENV!=="production"&&jo(t)&&J("setup() should not return VNodes directly - return a render function instead."),{}.NODE_ENV!=="production"&&(o.devtoolsRawSetupState=t),o.setupState=hu(t),{}.NODE_ENV!=="production"&&Tg(o)):{}.NODE_ENV!=="production"&&t!==void 0&&J(`setup() should return an object. Received: ${t===null?"null":typeof t}`),wf(o,e)}let Ki;const _y=()=>!Ki;function wf(o,t,e){const n=o.type;if(!o.render){if(!t&&Ki&&!n.render){const s=n.template||Di(o).template;if(s){({}).NODE_ENV!=="production"&&No(o,"compile");const{isCustomElement:r,compilerOptions:a}=o.appContext.config,{delimiters:i,compilerOptions:l}=n,c=ne(ne({isCustomElement:r,delimiters:i},a),l);n.render=Ki(s,c),{}.NODE_ENV!=="production"&&Fo(o,"compile")}}o.render=n.render||be}{const s=Ss(o);Oo();try{Pg(o)}finally{Po(),s()}}({}).NODE_ENV!=="production"&&!n.render&&o.render===be&&!t&&(n.template?J('Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'):J("Component is missing template or render function: ",n))}const Cf={}.NODE_ENV!=="production"?{get(o,t){return Fr(),_e(o,"get",""),o[t]},set(){return J("setupContext.attrs is readonly."),!1},deleteProperty(){return J("setupContext.attrs is readonly."),!1}}:{get(o,t){return _e(o,"get",""),o[t]}};function xy(o){return new Proxy(o.slots,{get(t,e){return _e(o,"get","$slots"),t[e]}})}function Tf(o){const t=e=>{if({}.NODE_ENV!=="production"&&(o.exposed&&J("expose() should be called only once per setup()."),e!=null)){let n=typeof e;n==="object"&&(bt(e)?n="array":ge(e)&&(n="ref")),n!=="object"&&J(`expose() should be passed a plain object, received ${n}.`)}o.exposed=e||{}};if({}.NODE_ENV!=="production"){let e,n;return Object.freeze({get attrs(){return e||(e=new Proxy(o.attrs,Cf))},get slots(){return n||(n=xy(o))},get emit(){return(s,...r)=>o.emit(s,...r)},expose:t})}else return{attrs:new Proxy(o.attrs,Cf),slots:o.slots,emit:o.emit,expose:t}}function Lr(o){return o.exposed?o.exposeProxy||(o.exposeProxy=new Proxy(hu(N0(o.exposed)),{get(t,e){if(e in t)return t[e];if(e in _n)return _n[e](o)},has(t,e){return e in t||e in _n}})):o.proxy}const ky=/(?:^|[-_])(\w)/g,wy=o=>o.replace(ky,t=>t.toUpperCase()).replace(/[-_]/g,"");function Ps(o,t=!0){return Ct(o)?o.displayName||o.name:o.name||t&&o.__name}function Br(o,t,e=!1){let n=Ps(t);if(!n&&t.__file){const s=t.__file.match(/([^/\\]+)\.\w+$/);s&&(n=s[1])}if(!n&&o&&o.parent){const s=r=>{for(const a in r)if(r[a]===t)return a};n=s(o.components||o.parent.type.components)||s(o.appContext.components)}return n?wy(n):e?"App":"Anonymous"}function Ef(o){return Ct(o)&&"__vccOpts"in o}const de=(o,t)=>{const e=L0(o,t,Os);if({}.NODE_ENV!=="production"){const n=qo();n&&n.appContext.config.warnRecursiveComputed&&(e._warnRecursive=!0)}return e};function Xt(o,t,e){const n=arguments.length;return n===2?Kt(t)&&!bt(t)?jo(t)?Z(o,null,[t]):Z(o,t):Z(o,null,t):(n>3?e=Array.prototype.slice.call(arguments,2):n===3&&jo(e)&&(e=[e]),Z(o,t,e))}function Cy(){if({}.NODE_ENV==="production"||typeof window>"u")return;const o={style:"color:#3ba776"},t={style:"color:#1677ff"},e={style:"color:#f5222d"},n={style:"color:#eb2f96"},s={__vue_custom_formatter:!0,header(f){return Kt(f)?f.__isVue?["div",o,"VueInstance"]:ge(f)?["div",{},["span",o,u(f)],"<",i("_value"in f?f._value:f),">"]:pn(f)?["div",{},["span",o,Ae(f)?"ShallowReactive":"Reactive"],"<",i(f),`>${Io(f)?" (readonly)":""}`]:Io(f)?["div",{},["span",o,Ae(f)?"ShallowReadonly":"Readonly"],"<",i(f),">"]:null:null},hasBody(f){return f&&f.__isVue},body(f){if(f&&f.__isVue)return["div",{},...r(f.$)]}};function r(f){const d=[];f.type.props&&f.props&&d.push(a("props",It(f.props))),f.setupState!==qt&&d.push(a("setup",f.setupState)),f.data!==qt&&d.push(a("data",It(f.data)));const h=l(f,"computed");h&&d.push(a("computed",h));const p=l(f,"inject");return p&&d.push(a("injected",p)),d.push(["div",{},["span",{style:n.style+";opacity:0.66"},"$ (internal): "],["object",{object:f}]]),d}function a(f,d){return d=ne({},d),Object.keys(d).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},f],["div",{style:"padding-left:1.25em"},...Object.keys(d).map(h=>["div",{},["span",n,h+": "],i(d[h],!1)])]]:["span",{}]}function i(f,d=!0){return typeof f=="number"?["span",t,f]:typeof f=="string"?["span",e,JSON.stringify(f)]:typeof f=="boolean"?["span",n,f]:Kt(f)?["object",{object:d?It(f):f}]:["span",e,String(f)]}function l(f,d){const h=f.type;if(Ct(h))return;const p={};for(const b in f.ctx)c(h,b,d)&&(p[b]=f.ctx[b]);return p}function c(f,d,h){const p=f[h];if(bt(p)&&p.includes(d)||Kt(p)&&d in p||f.extends&&c(f.extends,d,h)||f.mixins&&f.mixins.some(b=>c(b,d,h)))return!0}function u(f){return Ae(f)?"ShallowRef":f.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(s):window.devtoolsFormatters=[s]}const Sf="3.5.13",Le={}.NODE_ENV!=="production"?J:be;/**
21
21
  * @vue/runtime-dom v3.5.13
22
22
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
23
23
  * @license MIT
24
- **/let Ii;const Wu=typeof window<"u"&&window.trustedTypes;if(Wu)try{Ii=Wu.createPolicy("vue",{createHTML:e=>e})}catch(e){({}).NODE_ENV!=="production"&&Me(`Error creating trusted types policy: ${e}`)}const qu=Ii?e=>Ii.createHTML(e):e=>e,Ng="http://www.w3.org/2000/svg",Dg="http://www.w3.org/1998/Math/MathML",Ao=typeof document<"u"?document:null,Ku=Ao&&Ao.createElement("template"),Fg={insert:(e,t,o)=>{t.insertBefore(e,o||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,o,n)=>{const r=t==="svg"?Ao.createElementNS(Ng,e):t==="mathml"?Ao.createElementNS(Dg,e):o?Ao.createElement(e,{is:o}):Ao.createElement(e);return e==="select"&&n&&n.multiple!=null&&r.setAttribute("multiple",n.multiple),r},createText:e=>Ao.createTextNode(e),createComment:e=>Ao.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ao.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,o,n,r,s){const a=o?o.previousSibling:t.lastChild;if(r&&(r===s||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),o),!(r===s||!(r=r.nextSibling)););else{Ku.innerHTML=qu(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const l=Ku.content;if(n==="svg"||n==="mathml"){const i=l.firstChild;for(;i.firstChild;)l.appendChild(i.firstChild);l.removeChild(i)}t.insertBefore(l,o)}return[a?a.nextSibling:t.firstChild,o?o.previousSibling:t.lastChild]}},Ho="transition",_r="animation",xr=Symbol("_vtc"),Qu={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Lg=Jt({},qc,Qu),Ju=(e=>(e.displayName="Transition",e.props=Lg,e))((e,{slots:t})=>Xt(_0,zg(e),t)),bn=(e,t=[])=>{_t(e)?e.forEach(o=>o(...t)):e&&e(...t)},tf=e=>e?_t(e)?e.some(t=>t.length>1):e.length>1:!1;function zg(e){const t={};for(const K in e)K in Qu||(t[K]=e[K]);if(e.css===!1)return t;const{name:o="v",type:n,duration:r,enterFromClass:s=`${o}-enter-from`,enterActiveClass:a=`${o}-enter-active`,enterToClass:l=`${o}-enter-to`,appearFromClass:i=s,appearActiveClass:c=a,appearToClass:u=l,leaveFromClass:f=`${o}-leave-from`,leaveActiveClass:d=`${o}-leave-active`,leaveToClass:h=`${o}-leave-to`}=e,p=Mg(r),w=p&&p[0],x=p&&p[1],{onBeforeEnter:v,onEnter:g,onEnterCancelled:y,onLeave:m,onLeaveCancelled:_,onBeforeAppear:C=v,onAppear:M=g,onAppearCancelled:X=y}=t,G=(K,lt,gt,wt)=>{K._enterCancelled=wt,_n(K,lt?u:l),_n(K,lt?c:a),gt&&gt()},V=(K,lt)=>{K._isLeaving=!1,_n(K,f),_n(K,h),_n(K,d),lt&&lt()},pt=K=>(lt,gt)=>{const wt=K?M:g,Mt=()=>G(lt,K,gt);bn(wt,[lt,Mt]),ef(()=>{_n(lt,K?i:s),$o(lt,K?u:l),tf(wt)||of(lt,n,w,Mt)})};return Jt(t,{onBeforeEnter(K){bn(v,[K]),$o(K,s),$o(K,a)},onBeforeAppear(K){bn(C,[K]),$o(K,i),$o(K,c)},onEnter:pt(!1),onAppear:pt(!0),onLeave(K,lt){K._isLeaving=!0;const gt=()=>V(K,lt);$o(K,f),K._enterCancelled?($o(K,d),sf()):(sf(),$o(K,d)),ef(()=>{K._isLeaving&&(_n(K,f),$o(K,h),tf(m)||of(K,n,x,gt))}),bn(m,[K,gt])},onEnterCancelled(K){G(K,!1,void 0,!0),bn(y,[K])},onAppearCancelled(K){G(K,!0,void 0,!0),bn(X,[K])},onLeaveCancelled(K){V(K),bn(_,[K])}})}function Mg(e){if(e==null)return null;if(Wt(e))return[Ai(e.enter),Ai(e.leave)];{const t=Ai(e);return[t,t]}}function Ai(e){const t=Ba(e);return{}.NODE_ENV!=="production"&&e0(t,"<transition> explicit duration"),t}function $o(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.add(o)),(e[xr]||(e[xr]=new Set)).add(t)}function _n(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const o=e[xr];o&&(o.delete(t),o.size||(e[xr]=void 0))}function ef(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Bg=0;function of(e,t,o,n){const r=e._endId=++Bg,s=()=>{r===e._endId&&n()};if(o!=null)return setTimeout(s,o);const{type:a,timeout:l,propCount:i}=Yg(e,t);if(!a)return n();const c=a+"end";let u=0;const f=()=>{e.removeEventListener(c,d),s()},d=h=>{h.target===e&&++u>=i&&f()};setTimeout(()=>{u<i&&f()},l+1),e.addEventListener(c,d)}function Yg(e,t){const o=window.getComputedStyle(e),n=p=>(o[p]||"").split(", "),r=n(`${Ho}Delay`),s=n(`${Ho}Duration`),a=nf(r,s),l=n(`${_r}Delay`),i=n(`${_r}Duration`),c=nf(l,i);let u=null,f=0,d=0;t===Ho?a>0&&(u=Ho,f=a,d=s.length):t===_r?c>0&&(u=_r,f=c,d=i.length):(f=Math.max(a,c),u=f>0?a>c?Ho:_r:null,d=u?u===Ho?s.length:i.length:0);const h=u===Ho&&/\b(transform|all)(,|$)/.test(n(`${Ho}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:h}}function nf(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((o,n)=>rf(o)+rf(e[n])))}function rf(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function sf(){return document.body.offsetHeight}function Vg(e,t,o){const n=e[xr];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):o?e.setAttribute("class",t):e.className=t}const Os=Symbol("_vod"),af=Symbol("_vsh"),lf={beforeMount(e,{value:t},{transition:o}){e[Os]=e.style.display==="none"?"":e.style.display,o&&t?o.beforeEnter(e):kr(e,t)},mounted(e,{value:t},{transition:o}){o&&t&&o.enter(e)},updated(e,{value:t,oldValue:o},{transition:n}){!t!=!o&&(n?t?(n.beforeEnter(e),kr(e,!0),n.enter(e)):n.leave(e,()=>{kr(e,!1)}):kr(e,t))},beforeUnmount(e,{value:t}){kr(e,t)}};({}).NODE_ENV!=="production"&&(lf.name="show");function kr(e,t){e.style.display=t?e[Os]:"none",e[af]=!t}const Xg=Symbol({}.NODE_ENV!=="production"?"CSS_VAR_TEXT":""),Zg=/(^|;)\s*display\s*:/;function Gg(e,t,o){const n=e.style,r=oe(o);let s=!1;if(o&&!r){if(t)if(oe(t))for(const a of t.split(";")){const l=a.slice(0,a.indexOf(":")).trim();o[l]==null&&Ps(n,l,"")}else for(const a in t)o[a]==null&&Ps(n,a,"");for(const a in o)a==="display"&&(s=!0),Ps(n,a,o[a])}else if(r){if(t!==o){const a=n[Xg];a&&(o+=";"+a),n.cssText=o,s=Zg.test(o)}}else t&&e.removeAttribute("style");Os in e&&(e[Os]=s?n.display:"",e[af]&&(n.display="none"))}const Ug=/[^\\];\s*$/,cf=/\s*!important$/;function Ps(e,t,o){if(_t(o))o.forEach(n=>Ps(e,t,n));else if(o==null&&(o=""),{}.NODE_ENV!=="production"&&Ug.test(o)&&Me(`Unexpected semicolon at the end of '${t}' style value: '${o}'`),t.startsWith("--"))e.setProperty(t,o);else{const n=jg(e,t);cf.test(o)?e.setProperty(Ve(n),o.replace(cf,""),"important"):e[n]=o}}const uf=["Webkit","Moz","ms"],$i={};function jg(e,t){const o=$i[t];if(o)return o;let n=be(t);if(n!=="filter"&&n in e)return $i[t]=n;n=an(n);for(let r=0;r<uf.length;r++){const s=uf[r]+n;if(s in e)return $i[t]=s}return t}const ff="http://www.w3.org/1999/xlink";function df(e,t,o,n,r,s=km(t)){n&&t.startsWith("xlink:")?o==null?e.removeAttributeNS(ff,t.slice(6,t.length)):e.setAttributeNS(ff,t,o):o==null||s&&!cc(o)?e.removeAttribute(t):e.setAttribute(t,s?"":wo(o)?String(o):o)}function pf(e,t,o,n,r){if(t==="innerHTML"||t==="textContent"){o!=null&&(e[t]=t==="innerHTML"?qu(o):o);return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){const l=s==="OPTION"?e.getAttribute("value")||"":e.value,i=o==null?e.type==="checkbox"?"on":"":String(o);(l!==i||!("_value"in e))&&(e.value=i),o==null&&e.removeAttribute(t),e._value=o;return}let a=!1;if(o===""||o==null){const l=typeof e[t];l==="boolean"?o=cc(o):o==null&&l==="string"?(o="",a=!0):l==="number"&&(o=0,a=!0)}try{e[t]=o}catch(l){({}).NODE_ENV!=="production"&&!a&&Me(`Failed setting prop "${t}" on <${s.toLowerCase()}>: value ${o} is invalid.`,l)}a&&e.removeAttribute(r||t)}function Hg(e,t,o,n){e.addEventListener(t,o,n)}function Wg(e,t,o,n){e.removeEventListener(t,o,n)}const hf=Symbol("_vei");function qg(e,t,o,n,r=null){const s=e[hf]||(e[hf]={}),a=s[t];if(n&&a)a.value={}.NODE_ENV!=="production"?gf(n,t):n;else{const[l,i]=Kg(t);if(n){const c=s[t]=ty({}.NODE_ENV!=="production"?gf(n,t):n,r);Hg(e,l,c,i)}else a&&(Wg(e,l,a,i),s[t]=void 0)}}const mf=/(?:Once|Passive|Capture)$/;function Kg(e){let t;if(mf.test(e)){t={};let n;for(;n=e.match(mf);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Ve(e.slice(2)),t]}let Ni=0;const Qg=Promise.resolve(),Jg=()=>Ni||(Qg.then(()=>Ni=0),Ni=Date.now());function ty(e,t){const o=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=o.attached)return;oo(ey(n,o.value),t,5,[n])};return o.value=e,o.attached=Jg(),o}function gf(e,t){return Tt(e)||_t(e)?e:(Me(`Wrong type passed as event handler to ${t} - did you forget @ or : in front of your prop?
25
- Expected function or array of functions, received type ${typeof e}.`),ge)}function ey(e,t){if(_t(t)){const o=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{o.call(e),e._stopped=!0},t.map(n=>r=>!r._stopped&&n&&n(r))}else return t}const yf=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,oy=(e,t,o,n,r,s)=>{const a=r==="svg";t==="class"?Vg(e,n,a):t==="style"?Gg(e,o,n):qn(t)?Ur(t)||qg(e,t,o,n,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ny(e,t,n,a))?(pf(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&df(e,t,n,a,s,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!oe(n))?pf(e,be(t),n,s,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),df(e,t,n,a))};function ny(e,t,o,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&yf(t)&&Tt(o));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return yf(t)&&oe(o)?!1:t in e}const vf={};/*! #__NO_SIDE_EFFECTS__ */function ry(e,t,o){const n=Y(e,t);jr(n)&&Jt(n,t);class r extends Di{constructor(a){super(n,a,o)}}return r.def=n,r}const sy=typeof HTMLElement<"u"?HTMLElement:class{};class Di extends sy{constructor(t,o={},n=Fi){super(),this._def=t,this._props=o,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&n!==Fi?this._root=this.shadowRoot:({}.NODE_ENV!=="production"&&this.shadowRoot&&Me("Custom element has pre-rendered declarative shadow root but is not defined as hydratable. Use `defineSSRCustomElement`."),t.shadowRoot!==!1?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this),this._def.__asyncLoader||this._resolveProps(this._def)}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof Di){this._parent=t;break}this._instance||(this._resolved?(this._setParent(),this._update()):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._instance.provides=t._instance.provides)}disconnectedCallback(){this._connected=!1,is(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)})}_resolveDef(){if(this._pendingResolve)return;for(let n=0;n<this.attributes.length;n++)this._setAttr(this.attributes[n].name);this._ob=new MutationObserver(n=>{for(const r of n)this._setAttr(r.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(n,r=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:s,styles:a}=n;let l;if(s&&!_t(s))for(const i in s){const c=s[i];(c===Number||c&&c.type===Number)&&(i in this._props&&(this._props[i]=Ba(this._props[i])),(l||(l=Object.create(null)))[be(i)]=!0)}this._numberProps=l,r&&this._resolveProps(n),this.shadowRoot?this._applyStyles(a):{}.NODE_ENV!=="production"&&a&&Me("Custom element style injection is not supported when using shadowRoot: false"),this._mount(n)},o=this._def.__asyncLoader;o?this._pendingResolve=o().then(n=>t(this._def=n,!0)):t(this._def)}_mount(t){({}).NODE_ENV!=="production"&&!t.name&&(t.name="VueElement"),this._app=this._createApp(t),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const o=this._instance&&this._instance.exposed;if(o)for(const n in o)Yt(this,n)?{}.NODE_ENV!=="production"&&Me(`Exposed property "${n}" already exists on custom element.`):Object.defineProperty(this,n,{get:()=>vt(o[n])})}_resolveProps(t){const{props:o}=t,n=_t(o)?o:Object.keys(o||{});for(const r of Object.keys(this))r[0]!=="_"&&n.includes(r)&&this._setProp(r,this[r]);for(const r of n.map(be))Object.defineProperty(this,r,{get(){return this._getProp(r)},set(s){this._setProp(r,s,!0,!0)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const o=this.hasAttribute(t);let n=o?this.getAttribute(t):vf;const r=be(t);o&&this._numberProps&&this._numberProps[r]&&(n=Ba(n)),this._setProp(r,n,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,o,n=!0,r=!1){if(o!==this._props[t]&&(o===vf?delete this._props[t]:(this._props[t]=o,t==="key"&&this._app&&(this._app._ceVNode.key=o)),r&&this._instance&&this._update(),n)){const s=this._ob;s&&s.disconnect(),o===!0?this.setAttribute(Ve(t),""):typeof o=="string"||typeof o=="number"?this.setAttribute(Ve(t),o+""):o||this.removeAttribute(Ve(t)),s&&s.observe(this,{attributes:!0})}}_update(){Rs(this._createVNode(),this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const o=J(this._def,Jt(t,this._props));return this._instance||(o.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0,{}.NODE_ENV!=="production"&&(n.ceReload=s=>{this._styles&&(this._styles.forEach(a=>this._root.removeChild(a)),this._styles.length=0),this._applyStyles(s),this._instance=null,this._update()});const r=(s,a)=>{this.dispatchEvent(new CustomEvent(s,jr(a[0])?Jt({detail:a},a[0]):{detail:a}))};n.emit=(s,...a)=>{r(s,a),Ve(s)!==s&&r(Ve(s),a)},this._setParent()}),o}_applyStyles(t,o){if(!t)return;if(o){if(o===this._def||this._styleChildren.has(o))return;this._styleChildren.add(o)}const n=this._nonce;for(let r=t.length-1;r>=0;r--){const s=document.createElement("style");if(n&&s.setAttribute("nonce",n),s.textContent=t[r],this.shadowRoot.prepend(s),{}.NODE_ENV!=="production")if(o){if(o.__hmrId){this._childStyles||(this._childStyles=new Map);let a=this._childStyles.get(o.__hmrId);a||this._childStyles.set(o.__hmrId,a=[]),a.push(s)}}else(this._styles||(this._styles=[])).push(s)}}_parseSlots(){const t=this._slots={};let o;for(;o=this.firstChild;){const n=o.nodeType===1&&o.getAttribute("slot")||"default";(t[n]||(t[n]=[])).push(o),this.removeChild(o)}}_renderSlots(){const t=(this._teleportTarget||this).querySelectorAll("slot"),o=this._instance.type.__scopeId;for(let n=0;n<t.length;n++){const r=t[n],s=r.getAttribute("name")||"default",a=this._slots[s],l=r.parentNode;if(a)for(const i of a){if(o&&i.nodeType===1){const c=o+"-s",u=document.createTreeWalker(i,1);i.setAttribute(c,"");let f;for(;f=u.nextNode();)f.setAttribute(c,"")}l.insertBefore(i,r)}else for(;r.firstChild;)l.insertBefore(r.firstChild,r);l.removeChild(r)}}_injectChildStyle(t){this._applyStyles(t.styles,t)}_removeChildStyle(t){if({}.NODE_ENV!=="production"&&(this._styleChildren.delete(t),this._childStyles&&t.__hmrId)){const o=this._childStyles.get(t.__hmrId);o&&(o.forEach(n=>this._root.removeChild(n)),o.length=0)}}}function bf(e){const t=jo(),o=t&&t.ce;return o||({}.NODE_ENV!=="production"&&Me(t?`${e||"useHost"} can only be used in components defined via defineCustomElement.`:`${e||"useHost"} called without an active component instance.`),null)}function ay(){const e={}.NODE_ENV!=="production"?bf("useShadowRoot"):bf();return e&&e.shadowRoot}const iy=Jt({patchProp:oy},Fg);let _f;function xf(){return _f||(_f=sg(iy))}const Rs=(...e)=>{xf().render(...e)},Fi=(...e)=>{const t=xf().createApp(...e);({}).NODE_ENV!=="production"&&(cy(t),uy(t));const{mount:o}=t;return t.mount=n=>{const r=fy(n);if(!r)return;const s=t._component;!Tt(s)&&!s.render&&!s.template&&(s.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const a=o(r,!1,ly(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a},t};function ly(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function cy(e){Object.defineProperty(e.config,"isNativeTag",{value:t=>bm(t)||_m(t)||xm(t),writable:!1})}function uy(e){{const t=e.config.isCustomElement;Object.defineProperty(e.config,"isCustomElement",{get(){return t},set(){Me("The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead.")}});const o=e.config.compilerOptions,n='The `compilerOptions` config option is only respected when using a build of Vue.js that includes the runtime compiler (aka "full build"). Since you are using the runtime-only build, `compilerOptions` must be passed to `@vue/compiler-dom` in the build setup instead.\n- For vue-loader: pass it via vue-loader\'s `compilerOptions` loader option.\n- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\n- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-sfc';Object.defineProperty(e.config,"compilerOptions",{get(){return Me(n),o},set(){Me(n)}})}}function fy(e){if(oe(e)){const t=document.querySelector(e);return{}.NODE_ENV!=="production"&&!t&&Me(`Failed to mount app: mount target selector "${e}" returned null.`),t}return{}.NODE_ENV!=="production"&&window.ShadowRoot&&e instanceof window.ShadowRoot&&e.mode==="closed"&&Me('mounting on a ShadowRoot with `{mode: "closed"}` may lead to unpredictable bugs'),e}/**
24
+ **/let Qi;const Of=typeof window<"u"&&window.trustedTypes;if(Of)try{Qi=Of.createPolicy("vue",{createHTML:o=>o})}catch(o){({}).NODE_ENV!=="production"&&Le(`Error creating trusted types policy: ${o}`)}const Pf=Qi?o=>Qi.createHTML(o):o=>o,Ty="http://www.w3.org/2000/svg",Ey="http://www.w3.org/1998/Math/MathML",zo=typeof document<"u"?document:null,Rf=zo&&zo.createElement("template"),Sy={insert:(o,t,e)=>{t.insertBefore(o,e||null)},remove:o=>{const t=o.parentNode;t&&t.removeChild(o)},createElement:(o,t,e,n)=>{const s=t==="svg"?zo.createElementNS(Ty,o):t==="mathml"?zo.createElementNS(Ey,o):e?zo.createElement(o,{is:e}):zo.createElement(o);return o==="select"&&n&&n.multiple!=null&&s.setAttribute("multiple",n.multiple),s},createText:o=>zo.createTextNode(o),createComment:o=>zo.createComment(o),setText:(o,t)=>{o.nodeValue=t},setElementText:(o,t)=>{o.textContent=t},parentNode:o=>o.parentNode,nextSibling:o=>o.nextSibling,querySelector:o=>zo.querySelector(o),setScopeId(o,t){o.setAttribute(t,"")},insertStaticContent(o,t,e,n,s,r){const a=e?e.previousSibling:t.lastChild;if(s&&(s===r||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),e),!(s===r||!(s=s.nextSibling)););else{Rf.innerHTML=Pf(n==="svg"?`<svg>${o}</svg>`:n==="mathml"?`<math>${o}</math>`:o);const i=Rf.content;if(n==="svg"||n==="mathml"){const l=i.firstChild;for(;l.firstChild;)i.appendChild(l.firstChild);i.removeChild(l)}t.insertBefore(i,e)}return[a?a.nextSibling:t.firstChild,e?e.previousSibling:t.lastChild]}},Ko="transition",Rs="animation",Is=Symbol("_vtc"),If={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Oy=ne({},Pu,If),Af=(o=>(o.displayName="Transition",o.props=Oy,o))((o,{slots:t})=>Xt(fg,Py(o),t)),kn=(o,t=[])=>{bt(o)?o.forEach(e=>e(...t)):o&&o(...t)},$f=o=>o?bt(o)?o.some(t=>t.length>1):o.length>1:!1;function Py(o){const t={};for(const G in o)G in If||(t[G]=o[G]);if(o.css===!1)return t;const{name:e="v",type:n,duration:s,enterFromClass:r=`${e}-enter-from`,enterActiveClass:a=`${e}-enter-active`,enterToClass:i=`${e}-enter-to`,appearFromClass:l=r,appearActiveClass:c=a,appearToClass:u=i,leaveFromClass:f=`${e}-leave-from`,leaveActiveClass:d=`${e}-leave-active`,leaveToClass:h=`${e}-leave-to`}=o,p=Ry(s),b=p&&p[0],x=p&&p[1],{onBeforeEnter:k,onEnter:g,onEnterCancelled:m,onLeave:y,onLeaveCancelled:_,onBeforeAppear:w=k,onAppear:$=g,onAppearCancelled:V=m}=t,B=(G,tt,gt,Ot)=>{G._enterCancelled=Ot,wn(G,tt?u:i),wn(G,tt?c:a),gt&&gt()},M=(G,tt)=>{G._isLeaving=!1,wn(G,f),wn(G,h),wn(G,d),tt&&tt()},ut=G=>(tt,gt)=>{const Ot=G?$:g,$t=()=>B(tt,G,gt);kn(Ot,[tt,$t]),Nf(()=>{wn(tt,G?l:r),Do(tt,G?u:i),$f(Ot)||Ff(tt,n,b,$t)})};return ne(t,{onBeforeEnter(G){kn(k,[G]),Do(G,r),Do(G,a)},onBeforeAppear(G){kn(w,[G]),Do(G,l),Do(G,c)},onEnter:ut(!1),onAppear:ut(!0),onLeave(G,tt){G._isLeaving=!0;const gt=()=>M(G,tt);Do(G,f),G._enterCancelled?(Do(G,d),Mf()):(Mf(),Do(G,d)),Nf(()=>{G._isLeaving&&(wn(G,f),Do(G,h),$f(y)||Ff(G,n,x,gt))}),kn(y,[G,gt])},onEnterCancelled(G){B(G,!1,void 0,!0),kn(m,[G])},onAppearCancelled(G){B(G,!0,void 0,!0),kn(V,[G])},onLeaveCancelled(G){M(G),kn(_,[G])}})}function Ry(o){if(o==null)return null;if(Kt(o))return[Ji(o.enter),Ji(o.leave)];{const t=Ji(o);return[t,t]}}function Ji(o){const t=ii(o);return{}.NODE_ENV!=="production"&&H0(t,"<transition> explicit duration"),t}function Do(o,t){t.split(/\s+/).forEach(e=>e&&o.classList.add(e)),(o[Is]||(o[Is]=new Set)).add(t)}function wn(o,t){t.split(/\s+/).forEach(n=>n&&o.classList.remove(n));const e=o[Is];e&&(e.delete(t),e.size||(o[Is]=void 0))}function Nf(o){requestAnimationFrame(()=>{requestAnimationFrame(o)})}let Iy=0;function Ff(o,t,e,n){const s=o._endId=++Iy,r=()=>{s===o._endId&&n()};if(e!=null)return setTimeout(r,e);const{type:a,timeout:i,propCount:l}=Ay(o,t);if(!a)return n();const c=a+"end";let u=0;const f=()=>{o.removeEventListener(c,d),r()},d=h=>{h.target===o&&++u>=l&&f()};setTimeout(()=>{u<l&&f()},i+1),o.addEventListener(c,d)}function Ay(o,t){const e=window.getComputedStyle(o),n=p=>(e[p]||"").split(", "),s=n(`${Ko}Delay`),r=n(`${Ko}Duration`),a=zf(s,r),i=n(`${Rs}Delay`),l=n(`${Rs}Duration`),c=zf(i,l);let u=null,f=0,d=0;t===Ko?a>0&&(u=Ko,f=a,d=r.length):t===Rs?c>0&&(u=Rs,f=c,d=l.length):(f=Math.max(a,c),u=f>0?a>c?Ko:Rs:null,d=u?u===Ko?r.length:l.length:0);const h=u===Ko&&/\b(transform|all)(,|$)/.test(n(`${Ko}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:h}}function zf(o,t){for(;o.length<t.length;)o=o.concat(o);return Math.max(...t.map((e,n)=>Df(e)+Df(o[n])))}function Df(o){return o==="auto"?0:Number(o.slice(0,-1).replace(",","."))*1e3}function Mf(){return document.body.offsetHeight}function $y(o,t,e){const n=o[Is];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?o.removeAttribute("class"):e?o.setAttribute("class",t):o.className=t}const Vr=Symbol("_vod"),Lf=Symbol("_vsh"),Bf={beforeMount(o,{value:t},{transition:e}){o[Vr]=o.style.display==="none"?"":o.style.display,e&&t?e.beforeEnter(o):As(o,t)},mounted(o,{value:t},{transition:e}){e&&t&&e.enter(o)},updated(o,{value:t,oldValue:e},{transition:n}){!t!=!e&&(n?t?(n.beforeEnter(o),As(o,!0),n.enter(o)):n.leave(o,()=>{As(o,!1)}):As(o,t))},beforeUnmount(o,{value:t}){As(o,t)}};({}).NODE_ENV!=="production"&&(Bf.name="show");function As(o,t){o.style.display=t?o[Vr]:"none",o[Lf]=!t}const Ny=Symbol({}.NODE_ENV!=="production"?"CSS_VAR_TEXT":""),Fy=/(^|;)\s*display\s*:/;function zy(o,t,e){const n=o.style,s=ae(e);let r=!1;if(e&&!s){if(t)if(ae(t))for(const a of t.split(";")){const i=a.slice(0,a.indexOf(":")).trim();e[i]==null&&Yr(n,i,"")}else for(const a in t)e[a]==null&&Yr(n,a,"");for(const a in e)a==="display"&&(r=!0),Yr(n,a,e[a])}else if(s){if(t!==e){const a=n[Ny];a&&(e+=";"+a),n.cssText=e,r=Fy.test(e)}}else t&&o.removeAttribute("style");Vr in o&&(o[Vr]=r?n.display:"",o[Lf]&&(n.display="none"))}const Dy=/[^\\];\s*$/,Vf=/\s*!important$/;function Yr(o,t,e){if(bt(e))e.forEach(n=>Yr(o,t,n));else if(e==null&&(e=""),{}.NODE_ENV!=="production"&&Dy.test(e)&&Le(`Unexpected semicolon at the end of '${t}' style value: '${e}'`),t.startsWith("--"))o.setProperty(t,e);else{const n=My(o,t);Vf.test(e)?o.setProperty(Ve(n),e.replace(Vf,""),"important"):o[n]=e}}const Yf=["Webkit","Moz","ms"],tl={};function My(o,t){const e=tl[t];if(e)return e;let n=we(t);if(n!=="filter"&&n in o)return tl[t]=n;n=un(n);for(let s=0;s<Yf.length;s++){const r=Yf[s]+n;if(r in o)return tl[t]=r}return t}const Xf="http://www.w3.org/1999/xlink";function Zf(o,t,e,n,s,r=h0(t)){n&&t.startsWith("xlink:")?e==null?o.removeAttributeNS(Xf,t.slice(6,t.length)):o.setAttributeNS(Xf,t,e):e==null||r&&!Yc(e)?o.removeAttribute(t):o.setAttribute(t,r?"":So(e)?String(e):e)}function Uf(o,t,e,n,s){if(t==="innerHTML"||t==="textContent"){e!=null&&(o[t]=t==="innerHTML"?Pf(e):e);return}const r=o.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const i=r==="OPTION"?o.getAttribute("value")||"":o.value,l=e==null?o.type==="checkbox"?"on":"":String(e);(i!==l||!("_value"in o))&&(o.value=l),e==null&&o.removeAttribute(t),o._value=e;return}let a=!1;if(e===""||e==null){const i=typeof o[t];i==="boolean"?e=Yc(e):e==null&&i==="string"?(e="",a=!0):i==="number"&&(e=0,a=!0)}try{o[t]=e}catch(i){({}).NODE_ENV!=="production"&&!a&&Le(`Failed setting prop "${t}" on <${r.toLowerCase()}>: value ${e} is invalid.`,i)}a&&o.removeAttribute(s||t)}function Ly(o,t,e,n){o.addEventListener(t,e,n)}function By(o,t,e,n){o.removeEventListener(t,e,n)}const Hf=Symbol("_vei");function Vy(o,t,e,n,s=null){const r=o[Hf]||(o[Hf]={}),a=r[t];if(n&&a)a.value={}.NODE_ENV!=="production"?Gf(n,t):n;else{const[i,l]=Yy(t);if(n){const c=r[t]=Uy({}.NODE_ENV!=="production"?Gf(n,t):n,s);Ly(o,i,c,l)}else a&&(By(o,i,a,l),r[t]=void 0)}}const jf=/(?:Once|Passive|Capture)$/;function Yy(o){let t;if(jf.test(o)){t={};let n;for(;n=o.match(jf);)o=o.slice(0,o.length-n[0].length),t[n[0].toLowerCase()]=!0}return[o[2]===":"?o.slice(3):Ve(o.slice(2)),t]}let el=0;const Xy=Promise.resolve(),Zy=()=>el||(Xy.then(()=>el=0),el=Date.now());function Uy(o,t){const e=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=e.attached)return;io(Hy(n,e.value),t,5,[n])};return e.value=o,e.attached=Zy(),e}function Gf(o,t){return Ct(o)||bt(o)?o:(Le(`Wrong type passed as event handler to ${t} - did you forget @ or : in front of your prop?
25
+ Expected function or array of functions, received type ${typeof o}.`),be)}function Hy(o,t){if(bt(t)){const e=o.stopImmediatePropagation;return o.stopImmediatePropagation=()=>{e.call(o),o._stopped=!0},t.map(n=>s=>!s._stopped&&n&&n(s))}else return t}const Wf=o=>o.charCodeAt(0)===111&&o.charCodeAt(1)===110&&o.charCodeAt(2)>96&&o.charCodeAt(2)<123,jy=(o,t,e,n,s,r)=>{const a=s==="svg";t==="class"?$y(o,n,a):t==="style"?zy(o,e,n):as(t)?rr(t)||Vy(o,t,e,n,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Gy(o,t,n,a))?(Uf(o,t,n),!o.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Zf(o,t,n,a,r,t!=="value")):o._isVueCE&&(/[A-Z]/.test(t)||!ae(n))?Uf(o,we(t),n,r,t):(t==="true-value"?o._trueValue=n:t==="false-value"&&(o._falseValue=n),Zf(o,t,n,a))};function Gy(o,t,e,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in o&&Wf(t)&&Ct(e));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&o.tagName==="INPUT"||t==="type"&&o.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=o.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Wf(t)&&ae(e)?!1:t in o}const qf={};/*! #__NO_SIDE_EFFECTS__ */function Wy(o,t,e){const n=Y(o,t);ar(n)&&ne(n,t);class s extends ol{constructor(a){super(n,a,e)}}return s.def=n,s}const qy=typeof HTMLElement<"u"?HTMLElement:class{};class ol extends qy{constructor(t,e={},n=nl){super(),this._def=t,this._props=e,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&n!==nl?this._root=this.shadowRoot:({}.NODE_ENV!=="production"&&this.shadowRoot&&Le("Custom element has pre-rendered declarative shadow root but is not defined as hydratable. Use `defineSSRCustomElement`."),t.shadowRoot!==!1?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this),this._def.__asyncLoader||this._resolveProps(this._def)}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof ol){this._parent=t;break}this._instance||(this._resolved?(this._setParent(),this._update()):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._instance.provides=t._instance.provides)}disconnectedCallback(){this._connected=!1,_r(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)})}_resolveDef(){if(this._pendingResolve)return;for(let n=0;n<this.attributes.length;n++)this._setAttr(this.attributes[n].name);this._ob=new MutationObserver(n=>{for(const s of n)this._setAttr(s.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(n,s=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:r,styles:a}=n;let i;if(r&&!bt(r))for(const l in r){const c=r[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=ii(this._props[l])),(i||(i=Object.create(null)))[we(l)]=!0)}this._numberProps=i,s&&this._resolveProps(n),this.shadowRoot?this._applyStyles(a):{}.NODE_ENV!=="production"&&a&&Le("Custom element style injection is not supported when using shadowRoot: false"),this._mount(n)},e=this._def.__asyncLoader;e?this._pendingResolve=e().then(n=>t(this._def=n,!0)):t(this._def)}_mount(t){({}).NODE_ENV!=="production"&&!t.name&&(t.name="VueElement"),this._app=this._createApp(t),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const e=this._instance&&this._instance.exposed;if(e)for(const n in e)Lt(this,n)?{}.NODE_ENV!=="production"&&Le(`Exposed property "${n}" already exists on custom element.`):Object.defineProperty(this,n,{get:()=>Tt(e[n])})}_resolveProps(t){const{props:e}=t,n=bt(e)?e:Object.keys(e||{});for(const s of Object.keys(this))s[0]!=="_"&&n.includes(s)&&this._setProp(s,this[s]);for(const s of n.map(we))Object.defineProperty(this,s,{get(){return this._getProp(s)},set(r){this._setProp(s,r,!0,!0)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const e=this.hasAttribute(t);let n=e?this.getAttribute(t):qf;const s=we(t);e&&this._numberProps&&this._numberProps[s]&&(n=ii(n)),this._setProp(s,n,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,e,n=!0,s=!1){if(e!==this._props[t]&&(e===qf?delete this._props[t]:(this._props[t]=e,t==="key"&&this._app&&(this._app._ceVNode.key=e)),s&&this._instance&&this._update(),n)){const r=this._ob;r&&r.disconnect(),e===!0?this.setAttribute(Ve(t),""):typeof e=="string"||typeof e=="number"?this.setAttribute(Ve(t),e+""):e||this.removeAttribute(Ve(t)),r&&r.observe(this,{attributes:!0})}}_update(){Xr(this._createVNode(),this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const e=Z(this._def,ne(t,this._props));return this._instance||(e.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0,{}.NODE_ENV!=="production"&&(n.ceReload=r=>{this._styles&&(this._styles.forEach(a=>this._root.removeChild(a)),this._styles.length=0),this._applyStyles(r),this._instance=null,this._update()});const s=(r,a)=>{this.dispatchEvent(new CustomEvent(r,ar(a[0])?ne({detail:a},a[0]):{detail:a}))};n.emit=(r,...a)=>{s(r,a),Ve(r)!==r&&s(Ve(r),a)},this._setParent()}),e}_applyStyles(t,e){if(!t)return;if(e){if(e===this._def||this._styleChildren.has(e))return;this._styleChildren.add(e)}const n=this._nonce;for(let s=t.length-1;s>=0;s--){const r=document.createElement("style");if(n&&r.setAttribute("nonce",n),r.textContent=t[s],this.shadowRoot.prepend(r),{}.NODE_ENV!=="production")if(e){if(e.__hmrId){this._childStyles||(this._childStyles=new Map);let a=this._childStyles.get(e.__hmrId);a||this._childStyles.set(e.__hmrId,a=[]),a.push(r)}}else(this._styles||(this._styles=[])).push(r)}}_parseSlots(){const t=this._slots={};let e;for(;e=this.firstChild;){const n=e.nodeType===1&&e.getAttribute("slot")||"default";(t[n]||(t[n]=[])).push(e),this.removeChild(e)}}_renderSlots(){const t=(this._teleportTarget||this).querySelectorAll("slot"),e=this._instance.type.__scopeId;for(let n=0;n<t.length;n++){const s=t[n],r=s.getAttribute("name")||"default",a=this._slots[r],i=s.parentNode;if(a)for(const l of a){if(e&&l.nodeType===1){const c=e+"-s",u=document.createTreeWalker(l,1);l.setAttribute(c,"");let f;for(;f=u.nextNode();)f.setAttribute(c,"")}i.insertBefore(l,s)}else for(;s.firstChild;)i.insertBefore(s.firstChild,s);i.removeChild(s)}}_injectChildStyle(t){this._applyStyles(t.styles,t)}_removeChildStyle(t){if({}.NODE_ENV!=="production"&&(this._styleChildren.delete(t),this._childStyles&&t.__hmrId)){const e=this._childStyles.get(t.__hmrId);e&&(e.forEach(n=>this._root.removeChild(n)),e.length=0)}}}function Kf(o){const t=qo(),e=t&&t.ce;return e||({}.NODE_ENV!=="production"&&Le(t?`${o||"useHost"} can only be used in components defined via defineCustomElement.`:`${o||"useHost"} called without an active component instance.`),null)}function Ky(){const o={}.NODE_ENV!=="production"?Kf("useShadowRoot"):Kf();return o&&o.shadowRoot}const Qy=ne({patchProp:jy},Sy);let Qf;function Jf(){return Qf||(Qf=qg(Qy))}const Xr=(...o)=>{Jf().render(...o)},nl=(...o)=>{const t=Jf().createApp(...o);({}).NODE_ENV!=="production"&&(t1(t),e1(t));const{mount:e}=t;return t.mount=n=>{const s=o1(n);if(!s)return;const r=t._component;!Ct(r)&&!r.render&&!r.template&&(r.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const a=e(s,!1,Jy(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),a},t};function Jy(o){if(o instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&o instanceof MathMLElement)return"mathml"}function t1(o){Object.defineProperty(o.config,"isNativeTag",{value:t=>u0(t)||f0(t)||d0(t),writable:!1})}function e1(o){{const t=o.config.isCustomElement;Object.defineProperty(o.config,"isCustomElement",{get(){return t},set(){Le("The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead.")}});const e=o.config.compilerOptions,n='The `compilerOptions` config option is only respected when using a build of Vue.js that includes the runtime compiler (aka "full build"). Since you are using the runtime-only build, `compilerOptions` must be passed to `@vue/compiler-dom` in the build setup instead.\n- For vue-loader: pass it via vue-loader\'s `compilerOptions` loader option.\n- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\n- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-sfc';Object.defineProperty(o.config,"compilerOptions",{get(){return Le(n),e},set(){Le(n)}})}}function o1(o){if(ae(o)){const t=document.querySelector(o);return{}.NODE_ENV!=="production"&&!t&&Le(`Failed to mount app: mount target selector "${o}" returned null.`),t}return{}.NODE_ENV!=="production"&&window.ShadowRoot&&o instanceof window.ShadowRoot&&o.mode==="closed"&&Le('mounting on a ShadowRoot with `{mode: "closed"}` may lead to unpredictable bugs'),o}/**
26
26
  * vue v3.5.13
27
27
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
28
28
  * @license MIT
29
- **/function dy(){$g()}({}).NODE_ENV!=="production"&&dy();function kf(){return typeof window<"u"?window:typeof global<"u"?global:this||{}}const Is=e=>{let t=null;switch(e){case"any-character":t=/[^]/;break;case"bin":t=/^(0b)?[0-1]+$/i;break;case"oct":t=/^(0o)?[0-7]+$/i;break;case"hex":t=/^(0x)?[0-9a-fA-F]+$/i;break;case"ascii":t=/^[\x00-\xFF]+$/i;break;case"int":t=/^[-+]?[0-9]+$/;break;case"number":t=/[-+]?[0-9]*\.?[0-9]+(?:e[-+]?\d+)?/gi;break;case"number-single":t=/[-+]?[0-9]*\.?[0-9]+(?:e[-+]?\d+)?/i;break;case"split":t=/\s*,\s*/gi;break;case"trim":t=/^\s+|\s+$/g;break;case"regexp":t=/[\\^$.*+?()[\]{}|]/g;break;case"regexp-flags":t=/\w*$/;break;case"native-method":t=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(Is("regexp"),"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");break;case"svg-segment":t=/([mlhvzaqtcs])([^mlhvzaqtcs]*)/gi;break;case"mobile-china":t=/^\+?[1-9]{1}[0-9]{10}$/g;break;case"email":t=/^[A-Za-z0-9_!#$%&'*+/=?`{|}~^.-]+\@[A-Za-z0-9._-]+\.[A-Za-z0-9]+$/gm;break;case"ip":t=/^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/;break;case"url":t=/^http[s]?:\/\/([\w-]+\.)+[\w-]+([\w-./?%&=]*)?$/;break;case"element-url":t=/^url\(['"]?(.+?)['"]?\)$/i;break;case"date":t=/^\d{4}(\-|\/|\.)(\d{1,2})(\-|\/|\.)(\d{1,2})$/;break;case"time":t=/^(\d{1,2}):(\d{1,2}):(\d{1,2})$/;break;case"datetime":t=/^\d{4}(\-|\/|\.)(\d{1,2})(\-|\/|\.)(\d{1,2})\s+(\d{1,2}):(\d{1,2}):(\d{1,2})$/;break;case"base64-data":t=/^\s*data:(?:[a-z]+\/[a-z0-9-+.]+(?:;[a-z-]+=[a-z0-9-]+)?)?(?:;base64)?,([a-z0-9!$&',()*+;=\-._~:@/?%\s]*?)\s*$/i;break;case"hex-color":t=/^#([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$/i;break;case"color":t=/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgba?\(\s*([\d\.]+%?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+%?)?)\s*\)|hsba?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?)%?\s*\)|hsla?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?)%?\s*\))\s*$/i;break;case"whitespace":t=/[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u2028\u2029\u202f\u205f\u3000]/g;break;case"commaSpaces":t=/[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*/;break;case"var-name":t=/^[a-zA-Z_$][a-zA-Z0-9_$]*$/;break;case"bezier":t=/^(?:cubic-)?bezier\(([^,]+),([^,]+),([^,]+),([^\)]+)\)/;break;case"chinese-name":t=/^(?:[\u4e00-\u9fa5·]{2,16})$/;break;case"chinese":t=new RegExp(String.raw`
29
+ **/function n1(){Cy()}({}).NODE_ENV!=="production"&&n1();function td(){return typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:this||{}}const Zr=o=>{let t=null;switch(o){case"any-character":t=/[^]/;break;case"bin":t=/^(0b)?[0-1]+$/i;break;case"oct":t=/^(0o)?[0-7]+$/i;break;case"hex":t=/^(0x)?[0-9a-fA-F]+$/i;break;case"ascii":t=/^[\x00-\xFF]+$/i;break;case"int":t=/^[-+]?[0-9]+$/;break;case"number":t=/[-+]?[0-9]*\.?[0-9]+(?:e[-+]?\d+)?/gi;break;case"number-single":t=/[-+]?[0-9]*\.?[0-9]+(?:e[-+]?\d+)?/i;break;case"split":t=/\s*,\s*/gi;break;case"trim":t=/^\s+|\s+$/g;break;case"regexp":t=/[\\^$.*+?()[\]{}|]/g;break;case"regexp-flags":t=/\w*$/;break;case"native-method":t=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(Zr("regexp"),"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");break;case"svg-segment":t=/([mlhvzaqtcs])([^mlhvzaqtcs]*)/gi;break;case"mobile-china":t=/^\+?[1-9]{1}[0-9]{10}$/g;break;case"email":t=/^[A-Za-z0-9_!#$%&'*+/=?`{|}~^.-]+\@[A-Za-z0-9._-]+\.[A-Za-z0-9]+$/gm;break;case"ip":t=/^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/;break;case"url":t=/^http[s]?:\/\/([\w-]+\.)+[\w-]+([\w-./?%&=]*)?$/;break;case"element-url":t=/^url\(['"]?(.+?)['"]?\)$/i;break;case"date":t=/^\d{4}(\-|\/|\.)(\d{1,2})(\-|\/|\.)(\d{1,2})$/;break;case"time":t=/^(\d{1,2}):(\d{1,2}):(\d{1,2})$/;break;case"datetime":t=/^\d{4}(\-|\/|\.)(\d{1,2})(\-|\/|\.)(\d{1,2})\s+(\d{1,2}):(\d{1,2}):(\d{1,2})$/;break;case"base64-data":t=/^\s*data:(?:[a-z]+\/[a-z0-9-+.]+(?:;[a-z-]+=[a-z0-9-]+)?)?(?:;base64)?,([a-z0-9!$&',()*+;=\-._~:@/?%\s]*?)\s*$/i;break;case"hex-color":t=/^#([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$/i;break;case"color":t=/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgba?\(\s*([\d\.]+%?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+%?)?)\s*\)|hsba?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?)%?\s*\)|hsla?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?)%?\s*\))\s*$/i;break;case"whitespace":t=/[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u2028\u2029\u202f\u205f\u3000]/g;break;case"commaSpaces":t=/[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*/;break;case"var-name":t=/^[a-zA-Z_$][a-zA-Z0-9_$]*$/;break;case"bezier":t=/^(?:cubic-)?bezier\(([^,]+),([^,]+),([^,]+),([^\)]+)\)/;break;case"chinese-name":t=/^(?:[\u4e00-\u9fa5·]{2,16})$/;break;case"chinese":t=new RegExp(String.raw`
30
30
  [\u{FA0E}\u{FA0F}\u{FA11}\u{FA13}\u{FA14}\u{FA1F}\u{FA21}\u{FA23}\u{FA24}\u{FA27}-\u{FA29}]
31
31
  |[\u{4E00}-\u{9FCC}]
32
32
  |[\u{3400}-\u{4DB5}]
@@ -35,9 +35,13 @@ Expected function or array of functions, received type ${typeof e}.`),ge)}functi
35
35
  |[\u{2B740}-\u{2B81D}]
36
36
  |[\u{2B820}-\u{2CEAF}]
37
37
  |[\u{2CEB0}-\u{2EBEF}]
38
- `.replace(/\s+/g,""),"u");break;case"mime-image":t=/^image\//;break;case"mime-video":t=/^video\//;break;case"mime-audio":t=/^audio\//;break;case"mime-document-word":t=/^application\/(?:vnd\.openxmlformats-officedocument\.wordprocessingml\.document|msword|vnd\.ms-word\.document\.macroenabled\.12|vnd\.openxmlformats-officedocument\.wordprocessingml\.template|vnd\.ms-word\.template\.macroenabled\.12)$/;break;case"mime-document-excel":t=/^application\/(?:vnd\.openxmlformats-officedocument\.spreadsheetml\.sheet|vnd\.ms-excel|vnd\.ms-excel\.sheet\.macroenabled\.12|vnd\.openxmlformats-officedocument\.spreadsheetml\.template|vnd\.ms-excel\.template\.macroenabled\.12)$/;break;case"mime-document-ppt":t=/^application\/(?:vnd\.ms-powerpoint|vnd\.openxmlformats-officedocument\.presentationml\.presentation|vnd\.ms-powerpoint\.presentation\.macroenabled\.12|vnd\.openxmlformats-officedocument\.presentationml\.template|vnd\.ms-powerpoint\.template\.macroenabled\.12)$/;break;case"mime-document-json":t=/^application\/json$/;break;case"mime-document-xml":t=/^(?:application|text)\/(?:xml|xhtml\+xml)$/;break}return t},py=(e,t)=>(typeof e=="string"&&(e=Is(e)||new RegExp(e)),e.test(t)),wf=(e,t)=>{typeof e=="string"&&(e=Is(e)||new RegExp(e));const o=t.match(e);return o?e.flags.toLowerCase().indexOf("g")>=0?o.map(n=>({matchIndex:-1,fullMatch:n,groupMatchs:[]})):{matchIndex:typeof o.index=="number"?o.index:-1,fullMatch:o[0],groupMatchs:o.slice(1)}:null},Cf=(e,t)=>{typeof e=="string"&&(e=Is(e)||new RegExp(e));const o=[],n=t.matchAll(e);for(const r of n)o.push({matchIndex:typeof r.index=="number"?r.index:-1,fullMatch:r[0],groupMatchs:r.slice(1)});return o};function Dn(e=12){const t="ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghijklmnopqrstuvwxyz0123456789",o=t.length;let n="";for(let r=0;r<e;r++)n+=t[Math.floor(Math.random()*o)];return n}function hy(e){return e.replace(/(^\w)/g,t=>t.toLowerCase())}const No=(e,t="-")=>{let o=e.replace(new RegExp(`${t}?([A-Z])`,"g"),t+"$1").toLowerCase();return o=o.replace(new RegExp(`^${t}`),""),o};function my(e){return e.replace(/(^\w|[_-]\w)/g,t=>t.slice(-1).toUpperCase())}function gy(e){return hy(my(e))}const Li=(e,t="")=>(e=e.replaceAll(/\[data-v-[0-9a-zA-Z]*\]/g,t),e),yy="[object String]",vy="[object Symbol]";function Tf(e){return Object.prototype.toString.call(e)}function by(e){return e!=null}function _y(e){return Tf(e)===yy}function xy(e){return e===e+0}function ky(e){return Tf(e)===vy}function wy(e,...t){return new e.constructor(...t)}function Ef(e){for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&delete e[t];return e}function wr(e=[],t=[]){const o=e.length,n=t.length;for(let s=0;s<n;s++)e[s]=t[s];let r=Math.max(0,o-n);for(;r>0;)e.pop(),r--;return e}function Cy(e,t){const o=e.findIndex(n=>n===t);return o>=0&&e.splice(o,1),e}function Ty(e,t){return e.findIndex(o=>o==t)>=0}let Sf;try{Sf=Map}catch{Sf=function(){}}let Of;try{Of=Set}catch{Of=function(){}}function Ey(e){return typeof e=="number"&&Number.isNaN(e)}function xn(e,t){if(e=parseFloat(e),Ey(e)){if(typeof t=="number")return t;throw new Error(`parseNumber(${e}) isNaN!`)}return e}function Pf(e,t,o=Number.EPSILON*Math.pow(2,2)){return Math.abs(e-t)<o}const le=(e,t,o)=>e<t?t:e>o?o:e;function Sy(e,t,o,n,r){return n+(r-n)*((e-t)/(o-t))}const Oy=(e,t,o)=>n=>{const r=le(n,e,t);return o==0?r:t-r<o?t:Math.round(r/o)*o};function Py(e,t=12){return xn(e,0).toFixed(t)}function Pe(e,t=12){return+Py(e,t)}function Fn(e,t){const o=wf("number-single",String(e));return{hasNumber:!!o,number:o&&!Array.isArray(o)&&o.fullMatch?parseFloat(o.fullMatch):by(t)?t:NaN,prefix:o&&!Array.isArray(o)&&o.fullMatch?e.substring(0,o.matchIndex):"",suffix:o&&!Array.isArray(o)&&o.fullMatch?e.substring(o.matchIndex+o.fullMatch.length):""}}function zi(e){const t=wf("number",e);return t?Array.isArray(t)?t.map(o=>Number(o.fullMatch)):[Number(t.fullMatch)]:[]}Ry();function Ry(){const e=new ArrayBuffer(4),t=new Float32Array(e),o=new Uint32Array(e),n=new Uint32Array(512),r=new Uint32Array(512);for(let i=0;i<256;++i){const c=i-127;c<-27?(n[i]=0,n[i|256]=32768,r[i]=24,r[i|256]=24):c<-14?(n[i]=1024>>-c-14,n[i|256]=1024>>-c-14|32768,r[i]=-c-1,r[i|256]=-c-1):c<=15?(n[i]=c+15<<10,n[i|256]=c+15<<10|32768,r[i]=13,r[i|256]=13):c<128?(n[i]=31744,n[i|256]=64512,r[i]=24,r[i|256]=24):(n[i]=31744,n[i|256]=64512,r[i]=13,r[i|256]=13)}const s=new Uint32Array(2048),a=new Uint32Array(64),l=new Uint32Array(64);for(let i=1;i<1024;++i){let c=i<<13,u=0;for(;!(c&8388608);)c<<=1,u-=8388608;c&=-8388609,u+=947912704,s[i]=c|u}for(let i=1024;i<2048;++i)s[i]=939524096+(i-1024<<13);for(let i=1;i<31;++i)a[i]=i<<23;a[31]=1199570944,a[32]=2147483648;for(let i=33;i<63;++i)a[i]=2147483648+(i-32<<23);a[63]=3347054592;for(let i=1;i<64;++i)i!==32&&(l[i]=1024);return{floatView:t,uint32View:o,baseTable:n,shiftTable:r,mantissaTable:s,exponentTable:a,offsetTable:l}}var Rf=(e=>(e.UNKNOWN="",e.TEXT="text/plain",e.MD="text/plain",e.HTML="text/html",e.XML_TEXT="text/xml",e.CSS="text/css",e.JPEG="image/jpeg",e.PNG="image/png",e.GIF="image/gif",e.BMP="image/bmp",e.WEBP="image/webp",e.SVG="image/svg+xml",e.ICON="image/x-icon",e.MICROSOFT_ICON="image/vnd.microsoft.icon",e.MPEG="audio/mpeg",e.MP3="audio/mpeg",e.MP4="video/mp4",e.OGG="audio/ogg",e.WAV="audio/wav",e.MIDI="audio/midi",e.WEBM="video/webm",e.VIDEO_OGG="video/ogg",e.OCTET_STREAM="application/octet-stream",e.JAVASCRIPT="application/javascript",e.ECMASCRIPT="application/ecmascript",e.JSON="application/json",e.XML="application/xml",e.XHTML="application/xhtml+xml",e.XWWW="application/x-www-form-urlencoded",e.DOC="application/msword",e.CSV="application/x-csv",e.EXCEL="application/vnb.ms-excel",e.PPT="application/vnb.mspowerpoint",e.PDF="application/pdf",e.ZIP="application/zip",e.TGZ="application/x-gtar",e.TAR_GZ="application/x-gzip",e.EOT="appliaction/vnd.ms-fontobject",e.TTF="aplication/font-sfnt",e.PKCS12="aplication/pkcs12",e))(Rf||{}),As=(e=>(e.ascii="ascii",e.utf8="utf8",e.utf16le="utf16le",e.ucs2="ucs2",e.base64="base64",e.base64url="base64url",e.latin1="latin1",e.binary="binary",e.hex="hex",e))(As||{});const If=(e,t,o)=>t?o===As.base64?new Blob([e],{type:`${t};${o}`}):o===As.utf8?new Blob([e],{type:`${t};charset=${o}`}):new Blob([e],{type:`${t}`}):new Blob([e]);function re(){return(performance||Date).now()}function Iy(e){let t=0;for(let o=5;o>=0;o=o-2)o==5?t+=e[o-1]*10+e[o]:o==3?t+=(e[o-1]*10+e[o])*60:o==1&&(t+=(e[o-1]*10+e[o])*60*60);return t=Math.floor(Math.max(0,t)),t*1e3}function Mi(e){let t=Iy(e)/1e3;const o=t%60;e[5]=o%10,e[4]=Math.floor(o/10),t=Math.floor(t/60);const n=t%60;e[3]=n%10,e[2]=Math.floor(n/10),t=Math.floor(t/60);const r=t%60%24;return e[1]=r%10,e[0]=Math.floor(r/10),e}function Ay(e){const t=[0,0,0,0,0,0],o=zi(e),n=o.length,r=Math.min(n,3);for(let s=0;s<r;s++){const a=Math.floor(Math.abs(o[n-r+s]||0));t[2*s+1]=a%10,t[2*s]=Math.floor(a/10)}return Mi(t)}function Bi(e,t=1){return e[5]+=t,Mi(e)}function Yi(e,t=1){return e[5]-=t,Mi(e)}function $y(e,t){e.forEach((o,n)=>{t[n]=o})}function Ny(e,t){const o=t.reduce((n,r)=>{const{match:s,error:a}=r;return s(e)||n.push(a),n},[]);return{valid:o.length===0,errors:o}}function Dy(e="xxx不能为空!"){return{match:t=>!!t,error:e}}function Fy(e="邮箱格式不正确!"){return{match:t=>py("email",t),error:e}}class Ly{criterias=[];constructor(t=[]){t.forEach(o=>this.add(o))}add(...t){this.criterias.push(...t)}clear(){this.criterias=[]}get(){return t=>Ny(t,this.criterias)}run(t){return this.get()(t)}}function Ln(e){return new Ly([Dy("邮箱不能为空!"),Fy("邮箱格式不正确!")]).run(e)}function Af(e,t){let o=!0;return function(...n){o&&(o=!1,e.apply(this,n),setTimeout(()=>{o=!0},t))}}function zy(e,t){let o;return function(...n){clearTimeout(o),o=setTimeout(()=>{e.apply(this,n)},t)}}class $s{events;constructor(){this.events={}}has(t,o){return this.events[t]!==void 0&&this.events[t].indexOf(o)!==-1}prependListener(t,o){return this.events[t]||(this.events[t]=[]),this.events[t].unshift(o),this}addListener(t,o){return this.events[t]||(this.events[t]=[]),this.events[t].push(o),this}on(t,o){return this.addListener(t,o),this}removeListener(t,o){return this.events[t]&&(this.events[t]=this.events[t].filter(n=>n!==o)),this}off(t,o){return this.removeListener(t,o),this}removeAllListeners(t){return t?this.events[t]=[]:this.events={},this}emit(t,...o){return this.events[t]&&this.events[t].slice(0).forEach(r=>{r(...o)}),this}once(t,o){const r=(()=>{let s=!1;return(...a)=>{s||(s=!0,o(...a),this.off(t,r))}})();return this.on(t,r),this}}class Ns extends $s{results=[];queue=[];rs;controller;concurrency;activeTaskCount=0;constructor(t=1){super(),this.concurrency=t,this.rs=new ReadableStream({start:async o=>{this.controller=o}})}get stream(){return this.rs}clearUnstartTasks(){this.queue=[]}addTask(t){Array.isArray(t)?this.queue.push(...t):this.queue.push(t),this.activeTaskCount<this.concurrency&&this.queue.length>0&&this.runTasks()}async runTasks(){for(;this.activeTaskCount<this.concurrency&&this.queue.length>0;){const t=this.queue.splice(0,this.concurrency-this.activeTaskCount);this.activeTaskCount+=t.length;const o=await Promise.allSettled(t.map(r=>r())),n=this.results.length;o.forEach((r,s)=>{if(r.status=="fulfilled"){const a=r.value;this.results.push(a),this.controller?.enqueue(a),this.emit("success",n+s,a)}else if(r.status=="rejected"){const a=new Error(r.reason);this.results.push(a),this.controller?.enqueue(a),this.emit("error",n+s,a)}}),this.activeTaskCount-=o.length}}}Array.prototype.ap=function(e){return this.reduce((t,o)=>t.concat(e.map(o)),[])};let Cr;function My(e){Cr=e,e(),Cr=null}class By{subscribers=new Set;add(){Cr&&!this.subscribers.has(Cr)&&this.subscribers.add(Cr)}notify(){this.subscribers.forEach(t=>t())}}const $f=new WeakMap;function Vi(e,t){let o=$f.get(e);o||(o=new Map,$f.set(e,o));let n=o.get(t);return n||(n=new By,o.set(t,n)),n}function Nf(e,t=!1){const o={get(r,s,a){const l=Reflect.get(r,s,a);if(t&&typeof l=="object"&&l!==null&&!("isYZReactiveProxy"in l)){const c=Nf(l,t);c.YZReactiveProxyParentTarget=r,c.YZReactiveProxyParentKey=s,Reflect.set(a,s,c)}return Vi(r,s).add(),Reflect.get(r,s,a)},set(r,s,a,l){const i=Reflect.get(r,s,l),c=Reflect.set(r,s,a,l);return Array.isArray(r)?Vi(r.YZReactiveProxyParentTarget,r.YZReactiveProxyParentKey).notify():i!=a&&Vi(r,s).notify(),c},has(r,s){return s==="isYZReactiveProxy"||s in r}};return new Proxy(e,o)}const Yy=Nf;class Xi{maps=new Map;mapsAddedDuringUpdate=new Map;entries(){return Array.from(this.maps.entries())}keys(){return Array.from(this.maps.keys())}values(){return Array.from(this.maps.values())}json(){return this.entries().reduce((t,[o,n])=>((_y(o)||xy(o)||ky(o))&&(t[o]=n),t),{})}get length(){return this.entries().length}set(t,o){this.maps.set(t,o),this.mapsAddedDuringUpdate.set(t,o)}get(t){return this.maps.get(t)}getIndex(t){const o=this.entries();if(o.length&&o[t]){const[n,r]=o[t];return[n,r]}}top(){return this.getIndex(0)}shift(){const t=this.top();if(t){const[o]=t;this.delete(o)}return t}delete(t){return this.mapsAddedDuringUpdate.delete(t),this.maps.delete(t)}clear(){this.maps.clear(),this.mapsAddedDuringUpdate.clear()}filter(t){let o=Array.from(this.maps.entries());for(;o.length>0;){this.mapsAddedDuringUpdate.clear();for(let n=0,r=o.length;n<r;n++){const[s,a]=o[n];t(s,a)===!1&&this.delete(s)}o=Array.from(this.mapsAddedDuringUpdate.entries())}}}function Vy(e,t=(o,n)=>o<=n){const o=e.length;let n=Math.floor(o/2);for(;n>0;){for(let r=n;r<o;r++){const s=e[r];let a=r;for(;a>=n&&!t(e[a-n],s);)e[a]=e[a-n],a-=n;e[a]=s}n=Math.floor(n/2)}}let Df;try{Df=Promise}catch{Df=function(){}}function Xy(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Zy={exports:{}};(function(e,t){(function(o){e.exports=o()})(function(o){var n=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function r(v,g){var y=v[0],m=v[1],_=v[2],C=v[3];y+=(m&_|~m&C)+g[0]-680876936|0,y=(y<<7|y>>>25)+m|0,C+=(y&m|~y&_)+g[1]-389564586|0,C=(C<<12|C>>>20)+y|0,_+=(C&y|~C&m)+g[2]+606105819|0,_=(_<<17|_>>>15)+C|0,m+=(_&C|~_&y)+g[3]-1044525330|0,m=(m<<22|m>>>10)+_|0,y+=(m&_|~m&C)+g[4]-176418897|0,y=(y<<7|y>>>25)+m|0,C+=(y&m|~y&_)+g[5]+1200080426|0,C=(C<<12|C>>>20)+y|0,_+=(C&y|~C&m)+g[6]-1473231341|0,_=(_<<17|_>>>15)+C|0,m+=(_&C|~_&y)+g[7]-45705983|0,m=(m<<22|m>>>10)+_|0,y+=(m&_|~m&C)+g[8]+1770035416|0,y=(y<<7|y>>>25)+m|0,C+=(y&m|~y&_)+g[9]-1958414417|0,C=(C<<12|C>>>20)+y|0,_+=(C&y|~C&m)+g[10]-42063|0,_=(_<<17|_>>>15)+C|0,m+=(_&C|~_&y)+g[11]-1990404162|0,m=(m<<22|m>>>10)+_|0,y+=(m&_|~m&C)+g[12]+1804603682|0,y=(y<<7|y>>>25)+m|0,C+=(y&m|~y&_)+g[13]-40341101|0,C=(C<<12|C>>>20)+y|0,_+=(C&y|~C&m)+g[14]-1502002290|0,_=(_<<17|_>>>15)+C|0,m+=(_&C|~_&y)+g[15]+1236535329|0,m=(m<<22|m>>>10)+_|0,y+=(m&C|_&~C)+g[1]-165796510|0,y=(y<<5|y>>>27)+m|0,C+=(y&_|m&~_)+g[6]-1069501632|0,C=(C<<9|C>>>23)+y|0,_+=(C&m|y&~m)+g[11]+643717713|0,_=(_<<14|_>>>18)+C|0,m+=(_&y|C&~y)+g[0]-373897302|0,m=(m<<20|m>>>12)+_|0,y+=(m&C|_&~C)+g[5]-701558691|0,y=(y<<5|y>>>27)+m|0,C+=(y&_|m&~_)+g[10]+38016083|0,C=(C<<9|C>>>23)+y|0,_+=(C&m|y&~m)+g[15]-660478335|0,_=(_<<14|_>>>18)+C|0,m+=(_&y|C&~y)+g[4]-405537848|0,m=(m<<20|m>>>12)+_|0,y+=(m&C|_&~C)+g[9]+568446438|0,y=(y<<5|y>>>27)+m|0,C+=(y&_|m&~_)+g[14]-1019803690|0,C=(C<<9|C>>>23)+y|0,_+=(C&m|y&~m)+g[3]-187363961|0,_=(_<<14|_>>>18)+C|0,m+=(_&y|C&~y)+g[8]+1163531501|0,m=(m<<20|m>>>12)+_|0,y+=(m&C|_&~C)+g[13]-1444681467|0,y=(y<<5|y>>>27)+m|0,C+=(y&_|m&~_)+g[2]-51403784|0,C=(C<<9|C>>>23)+y|0,_+=(C&m|y&~m)+g[7]+1735328473|0,_=(_<<14|_>>>18)+C|0,m+=(_&y|C&~y)+g[12]-1926607734|0,m=(m<<20|m>>>12)+_|0,y+=(m^_^C)+g[5]-378558|0,y=(y<<4|y>>>28)+m|0,C+=(y^m^_)+g[8]-2022574463|0,C=(C<<11|C>>>21)+y|0,_+=(C^y^m)+g[11]+1839030562|0,_=(_<<16|_>>>16)+C|0,m+=(_^C^y)+g[14]-35309556|0,m=(m<<23|m>>>9)+_|0,y+=(m^_^C)+g[1]-1530992060|0,y=(y<<4|y>>>28)+m|0,C+=(y^m^_)+g[4]+1272893353|0,C=(C<<11|C>>>21)+y|0,_+=(C^y^m)+g[7]-155497632|0,_=(_<<16|_>>>16)+C|0,m+=(_^C^y)+g[10]-1094730640|0,m=(m<<23|m>>>9)+_|0,y+=(m^_^C)+g[13]+681279174|0,y=(y<<4|y>>>28)+m|0,C+=(y^m^_)+g[0]-358537222|0,C=(C<<11|C>>>21)+y|0,_+=(C^y^m)+g[3]-722521979|0,_=(_<<16|_>>>16)+C|0,m+=(_^C^y)+g[6]+76029189|0,m=(m<<23|m>>>9)+_|0,y+=(m^_^C)+g[9]-640364487|0,y=(y<<4|y>>>28)+m|0,C+=(y^m^_)+g[12]-421815835|0,C=(C<<11|C>>>21)+y|0,_+=(C^y^m)+g[15]+530742520|0,_=(_<<16|_>>>16)+C|0,m+=(_^C^y)+g[2]-995338651|0,m=(m<<23|m>>>9)+_|0,y+=(_^(m|~C))+g[0]-198630844|0,y=(y<<6|y>>>26)+m|0,C+=(m^(y|~_))+g[7]+1126891415|0,C=(C<<10|C>>>22)+y|0,_+=(y^(C|~m))+g[14]-1416354905|0,_=(_<<15|_>>>17)+C|0,m+=(C^(_|~y))+g[5]-57434055|0,m=(m<<21|m>>>11)+_|0,y+=(_^(m|~C))+g[12]+1700485571|0,y=(y<<6|y>>>26)+m|0,C+=(m^(y|~_))+g[3]-1894986606|0,C=(C<<10|C>>>22)+y|0,_+=(y^(C|~m))+g[10]-1051523|0,_=(_<<15|_>>>17)+C|0,m+=(C^(_|~y))+g[1]-2054922799|0,m=(m<<21|m>>>11)+_|0,y+=(_^(m|~C))+g[8]+1873313359|0,y=(y<<6|y>>>26)+m|0,C+=(m^(y|~_))+g[15]-30611744|0,C=(C<<10|C>>>22)+y|0,_+=(y^(C|~m))+g[6]-1560198380|0,_=(_<<15|_>>>17)+C|0,m+=(C^(_|~y))+g[13]+1309151649|0,m=(m<<21|m>>>11)+_|0,y+=(_^(m|~C))+g[4]-145523070|0,y=(y<<6|y>>>26)+m|0,C+=(m^(y|~_))+g[11]-1120210379|0,C=(C<<10|C>>>22)+y|0,_+=(y^(C|~m))+g[2]+718787259|0,_=(_<<15|_>>>17)+C|0,m+=(C^(_|~y))+g[9]-343485551|0,m=(m<<21|m>>>11)+_|0,v[0]=y+v[0]|0,v[1]=m+v[1]|0,v[2]=_+v[2]|0,v[3]=C+v[3]|0}function s(v){var g=[],y;for(y=0;y<64;y+=4)g[y>>2]=v.charCodeAt(y)+(v.charCodeAt(y+1)<<8)+(v.charCodeAt(y+2)<<16)+(v.charCodeAt(y+3)<<24);return g}function a(v){var g=[],y;for(y=0;y<64;y+=4)g[y>>2]=v[y]+(v[y+1]<<8)+(v[y+2]<<16)+(v[y+3]<<24);return g}function l(v){var g=v.length,y=[1732584193,-271733879,-1732584194,271733878],m,_,C,M,X,G;for(m=64;m<=g;m+=64)r(y,s(v.substring(m-64,m)));for(v=v.substring(m-64),_=v.length,C=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],m=0;m<_;m+=1)C[m>>2]|=v.charCodeAt(m)<<(m%4<<3);if(C[m>>2]|=128<<(m%4<<3),m>55)for(r(y,C),m=0;m<16;m+=1)C[m]=0;return M=g*8,M=M.toString(16).match(/(.*?)(.{0,8})$/),X=parseInt(M[2],16),G=parseInt(M[1],16)||0,C[14]=X,C[15]=G,r(y,C),y}function i(v){var g=v.length,y=[1732584193,-271733879,-1732584194,271733878],m,_,C,M,X,G;for(m=64;m<=g;m+=64)r(y,a(v.subarray(m-64,m)));for(v=m-64<g?v.subarray(m-64):new Uint8Array(0),_=v.length,C=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],m=0;m<_;m+=1)C[m>>2]|=v[m]<<(m%4<<3);if(C[m>>2]|=128<<(m%4<<3),m>55)for(r(y,C),m=0;m<16;m+=1)C[m]=0;return M=g*8,M=M.toString(16).match(/(.*?)(.{0,8})$/),X=parseInt(M[2],16),G=parseInt(M[1],16)||0,C[14]=X,C[15]=G,r(y,C),y}function c(v){var g="",y;for(y=0;y<4;y+=1)g+=n[v>>y*8+4&15]+n[v>>y*8&15];return g}function u(v){var g;for(g=0;g<v.length;g+=1)v[g]=c(v[g]);return v.join("")}u(l("hello")),typeof ArrayBuffer<"u"&&!ArrayBuffer.prototype.slice&&function(){function v(g,y){return g=g|0||0,g<0?Math.max(g+y,0):Math.min(g,y)}ArrayBuffer.prototype.slice=function(g,y){var m=this.byteLength,_=v(g,m),C=m,M,X,G,V;return y!==o&&(C=v(y,m)),_>C?new ArrayBuffer(0):(M=C-_,X=new ArrayBuffer(M),G=new Uint8Array(X),V=new Uint8Array(this,_,M),G.set(V),X)}}();function f(v){return/[\u0080-\uFFFF]/.test(v)&&(v=unescape(encodeURIComponent(v))),v}function d(v,g){var y=v.length,m=new ArrayBuffer(y),_=new Uint8Array(m),C;for(C=0;C<y;C+=1)_[C]=v.charCodeAt(C);return g?_:m}function h(v){return String.fromCharCode.apply(null,new Uint8Array(v))}function p(v,g,y){var m=new Uint8Array(v.byteLength+g.byteLength);return m.set(new Uint8Array(v)),m.set(new Uint8Array(g),v.byteLength),y?m:m.buffer}function w(v){var g=[],y=v.length,m;for(m=0;m<y-1;m+=2)g.push(parseInt(v.substr(m,2),16));return String.fromCharCode.apply(String,g)}function x(){this.reset()}return x.prototype.append=function(v){return this.appendBinary(f(v)),this},x.prototype.appendBinary=function(v){this._buff+=v,this._length+=v.length;var g=this._buff.length,y;for(y=64;y<=g;y+=64)r(this._hash,s(this._buff.substring(y-64,y)));return this._buff=this._buff.substring(y-64),this},x.prototype.end=function(v){var g=this._buff,y=g.length,m,_=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],C;for(m=0;m<y;m+=1)_[m>>2]|=g.charCodeAt(m)<<(m%4<<3);return this._finish(_,y),C=u(this._hash),v&&(C=w(C)),this.reset(),C},x.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},x.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},x.prototype.setState=function(v){return this._buff=v.buff,this._length=v.length,this._hash=v.hash,this},x.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},x.prototype._finish=function(v,g){var y=g,m,_,C;if(v[y>>2]|=128<<(y%4<<3),y>55)for(r(this._hash,v),y=0;y<16;y+=1)v[y]=0;m=this._length*8,m=m.toString(16).match(/(.*?)(.{0,8})$/),_=parseInt(m[2],16),C=parseInt(m[1],16)||0,v[14]=_,v[15]=C,r(this._hash,v)},x.hash=function(v,g){return x.hashBinary(f(v),g)},x.hashBinary=function(v,g){var y=l(v),m=u(y);return g?w(m):m},x.ArrayBuffer=function(){this.reset()},x.ArrayBuffer.prototype.append=function(v){var g=p(this._buff.buffer,v,!0),y=g.length,m;for(this._length+=v.byteLength,m=64;m<=y;m+=64)r(this._hash,a(g.subarray(m-64,m)));return this._buff=m-64<y?new Uint8Array(g.buffer.slice(m-64)):new Uint8Array(0),this},x.ArrayBuffer.prototype.end=function(v){var g=this._buff,y=g.length,m=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],_,C;for(_=0;_<y;_+=1)m[_>>2]|=g[_]<<(_%4<<3);return this._finish(m,y),C=u(this._hash),v&&(C=w(C)),this.reset(),C},x.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},x.ArrayBuffer.prototype.getState=function(){var v=x.prototype.getState.call(this);return v.buff=h(v.buff),v},x.ArrayBuffer.prototype.setState=function(v){return v.buff=d(v.buff,!0),x.prototype.setState.call(this,v)},x.ArrayBuffer.prototype.destroy=x.prototype.destroy,x.ArrayBuffer.prototype._finish=x.prototype._finish,x.ArrayBuffer.hash=function(v,g){var y=i(new Uint8Array(v)),m=u(y);return g?w(m):m},x})})(Zy);const Ff=e=>new XMLSerializer().serializeToString(e),Gy=(e,t=Rf.SVG,o=As.utf8)=>If(Ff(e),t,o);function Be(e,t,o,n=!1){const r=async s=>{await o(s)};try{e.addEventListener(t,r,n)}catch{e.attachEvent("on"+t,r)}return()=>{try{e.removeEventListener(t,r,n)}catch{e.detachEvent("on"+t,r)}}}function Ds(e){e.preventDefault&&e.preventDefault();try{e.returnValue=!1}catch{}}function Tr(){const e=new $s;return{on:(t,o)=>{e.on(t,o)},off:(t,o)=>{e.off(t,o)},emit:(t,...o)=>{e.emit(t,...o)}}}function Uy(){const e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);if(e.indexOf("Trident/")>0){const r=e.indexOf("rv:");return parseInt(e.substring(r+3,e.indexOf(".",r)),10)}const n=e.indexOf("Edge/");return n>0?parseInt(e.substring(n+5,e.indexOf(".",n)),10):-1}const Zi=Uy()!==-1;(()=>{const e=kf();return!!(e.Worker&&e.Blob&&e.Promise&&e.OffscreenCanvas&&e.OffscreenCanvasRenderingContext2D&&e.HTMLCanvasElement&&e.HTMLCanvasElement.prototype.transferControlToOffscreen&&e.URL&&e.URL.createObjectURL)})(),function(){if(!kf().OffscreenCanvas)return!1;const t=new OffscreenCanvas(1,1),o=t.getContext("2d");o.fillRect(0,0,1,1);const n=t.transferToImageBitmap();try{o.createPattern(n,"no-repeat")}catch{return!1}return!0}(),function(){if(!window.requestAnimationFrame){let e=re();window.requestAnimationFrame=function(t){const o=re(),n=Math.max(0,16-(o-e)),r=window.setTimeout(function(){t(o+n)},n);return e=o+n,r}}window.cancelAnimationFrame||(window.cancelAnimationFrame=function(e){clearTimeout(e)})}();function Fs(e){let t=!1;return window.requestAnimationFrame(function o(n){!t&&e(n)&&window.requestAnimationFrame(o)}),()=>{t=!0}}function Gi(e,t=0){if(t==0)return e(re()),()=>{};{const o=re();return Fs(n=>n-o>=t?(e(n),!1):!0)}}function jy(e,t=0){let o=!1,n=0;const r=re(),s=a=>{if(o)return;n++;const l=a-r-n*t;e(a,n,t<=l),Gi(s,Math.max(0,t-l))};return Gi(s,t),()=>{o=!0}}function Hy(e,t=20){const o=1e3/t;let n=0,r;return()=>(re()-n>=o&&(n=re(),r=e()),r)}window.requestIdleCallback=window.requestIdleCallback||function(e,t){const o=re();return setTimeout(function(){e({didTimeout:re()-o>50,timeRemaining:()=>Math.max(0,50-(re()-o))})},t?.timeout)},window.cancelIdleCallback=window.cancelIdleCallback||function(e){clearTimeout(e)};const Ui=new Xi;let ji=!1;function Lf(e,t,o){e&&t&&Ui.set(e,{cb:t,startTime:re(),timeout:o}),!ji&&(ji=!0,qy(n=>{ji=!1;let r=n.timeRemaining();Ui.filter((s,a)=>{let l=!1;const i=re();(r>0||a.timeout&&re()-a.startTime>=a.timeout)&&(a.cb(),l=!0);const c=re();return r-=c-i,!l}),Ui.length>0&&Lf()}))}let Ls=0,kn=33,Wo=33,Hi;const zf=new MessageChannel,Wy=zf.port2;zf.port1.onmessage=e=>{Hi!==null&&Hi({didTimeout:Ls<=re(),timeRemaining:()=>Math.max(0,Ls-re())})};function qy(e){return Hi=e,requestAnimationFrame(t=>{let o=t-Ls+Wo;o<Wo&&kn<Wo?(o<8&&(o=8),Wo=o<kn?kn:o):o>Wo&&kn>Wo?Wo=o<kn?kn:o:kn=o,Ls=t+Wo,Wy.postMessage(null)})}class Er{static _nextId=0;static nextId(){return Er._nextId++}}const at={Linear:{None:function(e){return e}},Ease:{In:function(e){return Math.pow(e,1.7)}},Quadratic:{In:function(e){return e*e},Out:function(e){return e*(2-e)},InOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)}},Cubic:{In:function(e){return e*e*e},Out:function(e){return--e*e*e+1},InOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)}},Quartic:{In:function(e){return e*e*e*e},Out:function(e){return 1- --e*e*e*e},InOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)}},Quintic:{In:function(e){return e*e*e*e*e},Out:function(e){return--e*e*e*e*e+1},InOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)}},Sinusoidal:{In:function(e){return 1-Math.sin((1-e)*Math.PI/2)},Out:function(e){return Math.sin(e*Math.PI/2)},InOut:function(e){return .5*(1-Math.sin(Math.PI*(.5-e)))}},Exponential:{In:function(e){return e===0?0:Math.pow(1024,e-1)},Out:function(e){return e===1?1:1-Math.pow(2,-10*e)},InOut:function(e){return e===0?0:e===1?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(-Math.pow(2,-10*(e-1))+2)}},Circular:{In:function(e){return 1-Math.sqrt(1-e*e)},Out:function(e){return Math.sqrt(1- --e*e)},InOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)}},Elastic:{In:function(e){return e===0?0:e===1?1:-Math.pow(2,10*(e-1))*Math.sin((e-1.1)*5*Math.PI)},Out:function(e){return e===0?0:e===1?1:Math.pow(2,-10*e)*Math.sin((e-.1)*5*Math.PI)+1},InOut:function(e){return e===0?0:e===1?1:(e*=2,e<1?-.5*Math.pow(2,10*(e-1))*Math.sin((e-1.1)*5*Math.PI):.5*Math.pow(2,-10*(e-1))*Math.sin((e-1.1)*5*Math.PI)+1)}},Back:{In:function(e){return e===1?1:e*e*((1.70158+1)*e-1.70158)},Out:function(e){return e===0?0:--e*e*((1.70158+1)*e+1.70158)+1},InOut:function(e){const t=2.5949095;return(e*=2)<1?.5*(e*e*((t+1)*e-t)):.5*((e-=2)*e*((t+1)*e+t)+2)}},Bounce:{In:function(e){return 1-at.Bounce.Out(1-e)},Out:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},InOut:function(e){return e<.5?at.Bounce.In(e*2)*.5:at.Bounce.Out(e*2-1)*.5+.5}},generatePow:function(e=4){return e=e<Number.EPSILON?Number.EPSILON:e,e=e>1e4?1e4:e,{In:function(t){return t**e},Out:function(t){return 1-(1-t)**e},InOut:function(t){return t<.5?(t*2)**e/2:(1-(2-t*2)**e)/2+.5}}},random:function(e){return Math.random()},createStep:function(e){return function(t){return Math.floor(t*e)/e}},createNoisyEasing:function(e,t=.1){const o=1-t;return function(n){return t*Math.random()+o*e(n)}},swing:function(e){return e+Math.sin(e*Math.PI*2)/2},causeSeizures:function(e){return e+.2*Math.random()-.1}},Wi=at;function Ky(e){switch(e){case at.Quadratic.In:return at.Quadratic.Out;case at.Quadratic.Out:return at.Quadratic.In;case at.Quadratic.InOut:return at.Quadratic.InOut;case at.Cubic.In:return at.Cubic.Out;case at.Cubic.Out:return at.Cubic.In;case at.Cubic.InOut:return at.Cubic.InOut;case at.Quartic.In:return at.Quartic.Out;case at.Quartic.Out:return at.Quartic.In;case at.Quartic.InOut:return at.Quartic.InOut;case at.Quintic.In:return at.Quintic.Out;case at.Quintic.Out:return at.Quintic.In;case at.Quintic.InOut:return at.Quintic.InOut;case at.Sinusoidal.In:return at.Sinusoidal.Out;case at.Sinusoidal.Out:return at.Sinusoidal.In;case at.Sinusoidal.InOut:return at.Sinusoidal.InOut;case at.Exponential.In:return at.Exponential.Out;case at.Exponential.Out:return at.Exponential.In;case at.Exponential.InOut:return at.Exponential.InOut;case at.Circular.In:return at.Circular.Out;case at.Circular.Out:return at.Circular.In;case at.Circular.InOut:return at.Circular.InOut;case at.Elastic.In:return at.Elastic.Out;case at.Elastic.Out:return at.Elastic.In;case at.Elastic.InOut:return at.Elastic.InOut;case at.Back.In:return at.Back.Out;case at.Back.Out:return at.Back.In;case at.Back.InOut:return at.Back.InOut;case at.Bounce.In:return at.Bounce.Out;case at.Bounce.Out:return at.Bounce.In;case at.Bounce.InOut:return at.Bounce.InOut;default:return e}}const zn={Utils:{Linear:function(e,t,o){return(t-e)*o+e},Factorial:function(){const e=[1];return function(t){let o=1;if(e[t])return e[t];for(let n=t;n>1;n--)o*=n;return e[t]=o,o}}(),Bernstein:function(e,t){const o=zn.Utils.Factorial;return o(e)/o(t)/o(e-t)},CatmullRom:function(e,t,o,n,r){const s=(o-e)*.5,a=(n-t)*.5,l=r*r,i=r*l;return(2*t-2*o+s+a)*i+(-3*t+3*o-2*s-a)*l+s*r+t},QuadraticBezier:(e,t,o,n)=>{const r=1-n;return r*r*e+2*r*n*t+n*n*o},CubicBezier:(e,t,o,n,r)=>{const s=1-r;return s*s*s*e+3*s*s*r*t+3*s*r*r*o+r*r*r*n}},Linear:function(e,t){const o=e.length-1,n=o*t,r=Math.floor(n),s=zn.Utils.Linear;return t<0?s(e[0],e[1],n):t>1?s(e[o],e[o-1],o-n):s(e[r],e[r+1>o?o:r+1],n-r)},Bezier:function(e,t){let o=0;const n=e.length-1,r=Math.pow,s=zn.Utils.Bernstein;for(let a=0;a<=n;a++)o+=r(1-t,n-a)*r(t,a)*e[a]*s(n,a);return o},CatmullRom:function(e,t){const o=e.length-1;let n=o*t,r=Math.floor(n);const s=zn.Utils.CatmullRom;return e[0]===e[o]?(t<0&&(r=Math.floor(n=o*(1+t))),s(e[(r-1+o)%o],e[r],e[(r+1)%o],e[(r+2)%o],n-r)):t<0?e[0]-(s(e[0],e[0],e[1],e[1],-n)-e[0]):t>1?e[o]-(s(e[o],e[o],e[o-1],e[o-1],n-o)-e[o]):s(e[r?r-1:0],e[r],e[o<r+1?o:r+1],e[o<r+2?o:r+2],n-r)}},qi=zn;class Mf{_tweens={};_tweensAddedDuringUpdate={};getAll(){return Object.keys(this._tweens).map(t=>this._tweens[t])}removeAll(){this._tweens={}}add(t){this._tweens[t.getId()]=t,this._tweensAddedDuringUpdate[t.getId()]=t}remove(t){delete this._tweens[t.getId()],delete this._tweensAddedDuringUpdate[t.getId()]}update(t=re(),o=!1){const n=Object.keys(this._tweens);for(let r=0;r<n.length;r++){const s=this._tweens[n[r]],a=!o;s&&s.update(t,a)===!1&&!o&&delete this._tweens[n[r]]}return!!Object.keys(this._tweens).length}}const qe=new Mf;class Bf{constructor(t,o=qe){this._object=t,this._group=o}_id=Er.nextId();_isPlaying=!1;_startTime=0;_delayTime=0;_durationTime=1e3;_isPaused=!1;_pauseStartTime=0;_initialRepeat=0;_repeat=0;_repeatDelayTime;_yoyo=!1;_reversed=!1;_valuesStart={};_valuesEnd={};_valuesStartRepeat={};_easingFunction=Wi.Linear.None;_interpolationFunction=qi.Linear;_chainedTweens=[];_isChainStopped=!1;_onStartCallback;_onStartCallbackFired=!1;_onEveryStartCallback;_onEveryStartCallbackFired=!1;_onUpdateCallback;_onRepeatCallback;_onCompleteCallback;_onStopCallback;_goToEnd=!1;getId(){return this._id}isPlaying(){return this._isPlaying}isPaused(){return this._isPaused}to(t,o){return this._valuesEnd=Object.create(t),o!==void 0&&(this._durationTime=o),this}duration(t=1e3){return this._durationTime=t,this}start(t=re()){if(this._isPlaying)return this;if(this._group&&this._group.add(this),this._repeat=this._initialRepeat,this._reversed){this._reversed=!1;for(const o in this._valuesStartRepeat)this._swapEndStartRepeatValues(o),this._valuesStart[o]=this._valuesStartRepeat[o]}return this._isPlaying=!0,this._isPaused=!1,this._onStartCallbackFired=!1,this._onEveryStartCallbackFired=!1,this._isChainStopped=!1,this._startTime=t,this._startTime+=this._delayTime,this._setupProperties(this._object,this._valuesStart,this._valuesEnd,this._valuesStartRepeat),this}_setupProperties(t,o,n,r){for(const s in n){const a=t[s],l=Array.isArray(a),i=l?"array":typeof a,c=!l&&Array.isArray(n[s]);if(!(i==="undefined"||i==="function")){if(c){let u=n[s];if(u.length===0)continue;u=u.map(this._handleRelativeValue.bind(this,a)),n[s]=[a].concat(u)}if((i==="object"||l)&&a&&!c){o[s]=l?[]:{};for(const u in a)o[s][u]=a[u];r[s]=l?[]:{},this._setupProperties(a,o[s],n[s],r[s])}else typeof o[s]>"u"&&(o[s]=a),l||(o[s]*=1),c?r[s]=n[s].slice().reverse():r[s]=o[s]||0}}}stop(){return this._isChainStopped||(this._isChainStopped=!0,this.stopChainedTweens()),this._isPlaying?(this._group&&this._group.remove(this),this._isPlaying=!1,this._isPaused=!1,this._onStopCallback&&this._onStopCallback(this._object),this):this}end(){return this._goToEnd=!0,this.update(1/0),this}pause(t=re()){return this._isPaused||!this._isPlaying?this:(this._isPaused=!0,this._pauseStartTime=t,this._group&&this._group.remove(this),this)}resume(t=re()){return!this._isPaused||!this._isPlaying?this:(this._isPaused=!1,this._startTime+=t-this._pauseStartTime,this._pauseStartTime=0,this._group&&this._group.add(this),this)}stopChainedTweens(){for(let t=0,o=this._chainedTweens.length;t<o;t++)this._chainedTweens[t].stop();return this}group(t=qe){return this._group=t,this}delay(t=0){return this._delayTime=t,this}repeat(t=0){return this._initialRepeat=t,this._repeat=t,this}repeatDelay(t){return this._repeatDelayTime=t,this}yoyo(t=!1){return this._yoyo=t,this}easing(t=Wi.Linear.None){return this._easingFunction=t,this}interpolation(t=qi.Linear){return this._interpolationFunction=t,this}chain(...t){return this._chainedTweens=t,this}onStart(t){return this._onStartCallback=t,this}onEveryStart(t){return this._onEveryStartCallback=t,this}onUpdate(t){return this._onUpdateCallback=t,this}onRepeat(t){return this._onRepeatCallback=t,this}onComplete(t){return this._onCompleteCallback=t,this}onStop(t){return this._onStopCallback=t,this}update(t=re(),o=!0){if(this._isPaused)return!0;let n,r;const s=this._startTime+this._durationTime;if(!this._goToEnd&&!this._isPlaying){if(t>s)return!1;o&&this.start(t)}if(this._goToEnd=!1,t<this._startTime)return!0;this._onStartCallbackFired===!1&&(this._onStartCallback&&this._onStartCallback(this._object),this._onStartCallbackFired=!0),this._onEveryStartCallbackFired===!1&&(this._onEveryStartCallback&&this._onEveryStartCallback(this._object),this._onEveryStartCallbackFired=!0),r=(t-this._startTime)/this._durationTime,r=this._durationTime===0||r>1?1:r;const a=this._easingFunction(r);if(this._updateProperties(this._object,this._valuesStart,this._valuesEnd,a),this._onUpdateCallback&&this._onUpdateCallback(this._object,r),r===1)if(this._repeat>0){isFinite(this._repeat)&&this._repeat--;for(n in this._valuesStartRepeat)!this._yoyo&&typeof this._valuesEnd[n]=="string"&&(this._valuesStartRepeat[n]=this._valuesStartRepeat[n]+parseFloat(this._valuesEnd[n])),this._yoyo&&this._swapEndStartRepeatValues(n),this._valuesStart[n]=this._valuesStartRepeat[n];return this._yoyo&&(this._reversed=!this._reversed),this._repeatDelayTime!==void 0?this._startTime=t+this._repeatDelayTime:this._startTime=t+this._delayTime,this._onRepeatCallback&&this._onRepeatCallback(this._object),this._onEveryStartCallbackFired=!1,!0}else{this._onCompleteCallback&&this._onCompleteCallback(this._object);for(let l=0,i=this._chainedTweens.length;l<i;l++)this._chainedTweens[l].start(this._startTime+this._durationTime);return this._isPlaying=!1,!1}return!0}_updateProperties(t,o,n,r){for(const s in n){if(o[s]===void 0)continue;const a=o[s]||0;let l=n[s];const i=Array.isArray(t[s]),c=Array.isArray(l);!i&&c?t[s]=this._interpolationFunction(l,r):typeof l=="object"&&l?this._updateProperties(t[s],a,l,r):(l=this._handleRelativeValue(a,l),typeof l=="number"&&(t[s]=a+(l-a)*r))}}_handleRelativeValue(t,o){return typeof o!="string"?o:o.charAt(0)==="+"||o.charAt(0)==="-"?t+parseFloat(o):parseFloat(o)}_swapEndStartRepeatValues(t){const o=this._valuesStartRepeat[t],n=this._valuesEnd[t];typeof n=="string"?this._valuesStartRepeat[t]=this._valuesStartRepeat[t]+parseFloat(n):this._valuesStartRepeat[t]=n,this._valuesEnd[t]=o}}const Qy=Bf,Jy=Er.nextId,tv=qe.getAll.bind(qe),ev=qe.removeAll.bind(qe),ov=qe.add.bind(qe),nv=qe.remove.bind(qe),rv=qe.update.bind(qe),xt={now:re,Sequence:Er,Easing:Wi,Interpolation:qi,Group:Mf,Tween:Qy,nextId:Jy,getAll:tv,removeAll:ev,add:ov,remove:nv,update:rv};class sv{autoStart;startTime;oldTime;elapsedTime;running;constructor(t=!0){this.autoStart=t,this.startTime=0,this.oldTime=0,this.elapsedTime=0,this.running=!1}start(){this.startTime=re(),this.oldTime=this.startTime,this.elapsedTime=0,this.running=!0}stop(){this.getElapsedTime(),this.running=!1,this.autoStart=!1}getElapsedTime(){return this.getDelta(),this.elapsedTime}getDelta(){let t=0;if(this.autoStart&&!this.running)return this.start(),0;if(this.running){const o=re();t=o-this.oldTime,this.oldTime=o,this.elapsedTime+=t}return t}}const Yf=sv;class Ge{tweens=[];frameDuration;onGroupStart;onGroupComplete;constructor(t){this.frameDuration=t?.frameDuration||1e3,this.onGroupStart=t?.onGroupStart,this.onGroupComplete=t?.onGroupComplete}get count(){return this.tweens.length}clear(){this.tweens=[]}sort(t=!1){Vy(this.tweens,(o,n)=>t?o.delay>n.delay:o.delay<=n.delay)}cloneTweens(t=this.tweens){const o=[];return t.forEach(n=>{const r={...n};delete r.tween,r.fromValues={...r.fromValues},r.toValues={...r.toValues},o.push(r)}),o}addTween(t,o,n){const r={fromValues:t,toValues:o,frames:typeof n?.frames=="number"?n.frames:1,delay:typeof n?.delay=="number"?n.delay:this.tweens.length,easeFunction:n?.easeFunction||at.Linear.None,interpolationFunction:n?.interpolationFunction||zn.Linear,repeat:typeof n?.repeat=="number"?n.repeat:0,yoyo:n?.yoyo||!1,onStart:n?.onStart||(()=>{}),onUpdate:n?.onUpdate||(()=>{}),onComplete:n?.onComplete||(()=>{})};return this.tweens.push(r),this}cancelRequestAnimationCycle=()=>{};runTweens(t){this.cancelRequestAnimationCycle();const o=new Yf,n=this.frameDuration;return new Promise(r=>{this.onGroupStart?.(),this.cancelRequestAnimationCycle=Fs(s=>{if(!this.isPaused){const l=Math.max(0,s-this.pausedDuration),i=Math.max(0,o.getElapsedTime()-this.pausedDuration);t.filter(c=>c.delay*n<=i).forEach(c=>{c.tween||(c.tween=new Bf({...c.fromValues}).to({...c.toValues},c.frames*n).easing(c.easeFunction).interpolation(c.interpolationFunction).repeat(c.repeat).yoyo(c.yoyo).onStart(c.onStart).onUpdate(c.onUpdate).onComplete(c.onComplete),c.tween.start(l)),(c.delay+c.frames*(c.repeat+1))*n>i?c.tween.update(l):(c.tween.isPlaying()&&c.tween.end(),Cy(t,c))})}const a=!!t.length;return a||(this.onGroupComplete?.(),r()),a})})}isPaused=!1;pausedClock=new Yf;pausedDuration=0;play(t=this.cloneTweens(this.tweens)){this.isPaused=!1,this.pausedDuration=0,this.runTweens(t)}reverse(){const t=this.cloneTweens(this.tweens);let o=0;t.forEach(n=>{o=Math.max(o,n.delay+n.frames),n.easeFunction=Ky(n.easeFunction);const r={...n.toValues};n.toValues={...n.fromValues},n.fromValues={...r}}),t.forEach(n=>{n.delay=o-n.frames}),this.play(t)}pause(){this.pausedClock.start(),this.isPaused=!0}resume(){this.pausedDuration+=this.pausedClock.getElapsedTime(),this.pausedClock.stop(),this.isPaused=!1}}const zs=new Xi,av=(e=!0)=>{zs.filter((t,o)=>(o.alternate&&(md(o,o.alternate),e&&zs.set(t,o.alternate),o.alternate=void 0),e))};function Vf(e){let t=zs.get(e);return t||(t=ll(e),zs.set(e,t)),t}function iv(e){const t=Vf(e);return t.alternate||(t.alternate=ll(e)),t.alternate}function lv(e,t,o=!0){t(iv(e)),Lf("FLUSH_DOM_ACTION",()=>av(o),50)}function ae(e){return e*Math.PI/180}function Ke(e){return e*180/Math.PI}function Xf(e,t,o=0){return Math.sqrt(e*e+t*t+o*o)}function Zf(e,t,o,n){return Xf(o-e,n-t)}function Ki(e,t,o,n){const r=o-e,s=n-t;return r*r+s*s}function Ms(e,t,o,n){let r=Math.atan2(n-t,o-e);return r<0&&(r+=Math.PI*2),r}function Bs(e,t){return{dx:Math.cos(e)*t,dy:Math.sin(e)*t}}const Gf=cv("50,nbsp,51,iexcl,52,cent,53,pound,54,curren,55,yen,56,brvbar,57,sect,58,uml,59,copy,5a,ordf,5b,laquo,5c,not,5d,shy,5e,reg,5f,macr,5g,deg,5h,plusmn,5i,sup2,5j,sup3,5k,acute,5l,micro,5m,para,5n,middot,5o,cedil,5p,sup1,5q,ordm,5r,raquo,5s,frac14,5t,frac12,5u,frac34,5v,iquest,60,Agrave,61,Aacute,62,Acirc,63,Atilde,64,Auml,65,Aring,66,AElig,67,Ccedil,68,Egrave,69,Eacute,6a,Ecirc,6b,Euml,6c,Igrave,6d,Iacute,6e,Icirc,6f,Iuml,6g,ETH,6h,Ntilde,6i,Ograve,6j,Oacute,6k,Ocirc,6l,Otilde,6m,Ouml,6n,times,6o,Oslash,6p,Ugrave,6q,Uacute,6r,Ucirc,6s,Uuml,6t,Yacute,6u,THORN,6v,szlig,70,agrave,71,aacute,72,acirc,73,atilde,74,auml,75,aring,76,aelig,77,ccedil,78,egrave,79,eacute,7a,ecirc,7b,euml,7c,igrave,7d,iacute,7e,icirc,7f,iuml,7g,eth,7h,ntilde,7i,ograve,7j,oacute,7k,ocirc,7l,otilde,7m,ouml,7n,divide,7o,oslash,7p,ugrave,7q,uacute,7r,ucirc,7s,uuml,7t,yacute,7u,thorn,7v,yuml,ci,fnof,sh,Alpha,si,Beta,sj,Gamma,sk,Delta,sl,Epsilon,sm,Zeta,sn,Eta,so,Theta,sp,Iota,sq,Kappa,sr,Lambda,ss,Mu,st,Nu,su,Xi,sv,Omicron,t0,Pi,t1,Rho,t3,Sigma,t4,Tau,t5,Upsilon,t6,Phi,t7,Chi,t8,Psi,t9,Omega,th,alpha,ti,beta,tj,gamma,tk,delta,tl,epsilon,tm,zeta,tn,eta,to,theta,tp,iota,tq,kappa,tr,lambda,ts,mu,tt,nu,tu,xi,tv,omicron,u0,pi,u1,rho,u2,sigmaf,u3,sigma,u4,tau,u5,upsilon,u6,phi,u7,chi,u8,psi,u9,omega,uh,thetasym,ui,upsih,um,piv,812,bull,816,hellip,81i,prime,81j,Prime,81u,oline,824,frasl,88o,weierp,88h,image,88s,real,892,trade,89l,alefsym,8cg,larr,8ch,uarr,8ci,rarr,8cj,darr,8ck,harr,8dl,crarr,8eg,lArr,8eh,uArr,8ei,rArr,8ej,dArr,8ek,hArr,8g0,forall,8g2,part,8g3,exist,8g5,empty,8g7,nabla,8g8,isin,8g9,notin,8gb,ni,8gf,prod,8gh,sum,8gi,minus,8gn,lowast,8gq,radic,8gt,prop,8gu,infin,8h0,ang,8h7,and,8h8,or,8h9,cap,8ha,cup,8hb,int,8hk,there4,8hs,sim,8i5,cong,8i8,asymp,8j0,ne,8j1,equiv,8j4,le,8j5,ge,8k2,sub,8k3,sup,8k4,nsub,8k6,sube,8k7,supe,8kl,oplus,8kn,otimes,8l5,perp,8m5,sdot,8o8,lceil,8o9,rceil,8oa,lfloor,8ob,rfloor,8p9,lang,8pa,rang,9ea,loz,9j0,spades,9j3,clubs,9j5,hearts,9j6,diams,ai,OElig,aj,oelig,b0,Scaron,b1,scaron,bo,Yuml,m6,circ,ms,tilde,802,ensp,803,emsp,809,thinsp,80c,zwnj,80d,zwj,80e,lrm,80f,rlm,80j,ndash,80k,mdash,80o,lsquo,80p,rsquo,80q,sbquo,80s,ldquo,80t,rdquo,80u,bdquo,810,dagger,811,Dagger,81g,permil,81p,lsaquo,81q,rsaquo,85c,euro",32);function cv(e,t=10){const o={},n=e.split(",");for(let r=0;r<n.length;r+=2){const s="&"+n[r+1]+";",a=parseInt(n[r],t);o[s]="&#"+a+";"}return o["\\xa0"]="&#160;",o}function Ne(e,t){const o=Object.keys(t);for(let n=0;n<o.length;n++)e=e.replace(new RegExp("{"+o[n]+"}","gi"),""+t[o[n]]);return e}function Ys(e){let t,o;if(!e)throw new Error("cannot create a random attribute name for an undefined object");const n="ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz";t="";do for(t="",o=0;o<12;o++)t+=n[Math.floor(Math.random()*n.length)];while(e[t]);return t}function uv(e){const t={left:"start",right:"end",center:"middle",start:"start",end:"end"};return t[e]||t.start}function fv(e){const t={alphabetic:"alphabetic",hanging:"hanging",top:"text-before-edge",bottom:"text-after-edge",middle:"central"};return t[e]||t.alphabetic}const Sr={strokeStyle:{svgAttr:"stroke",canvas:"#000000",svg:"none",apply:"stroke"},fillStyle:{svgAttr:"fill",canvas:"#000000",svg:null,apply:"fill"},lineCap:{svgAttr:"stroke-linecap",canvas:"butt",svg:"butt",apply:"stroke"},lineJoin:{svgAttr:"stroke-linejoin",canvas:"miter",svg:"miter",apply:"stroke"},miterLimit:{svgAttr:"stroke-miterlimit",canvas:10,svg:4,apply:"stroke"},lineWidth:{svgAttr:"stroke-width",canvas:1,svg:1,apply:"stroke"},globalAlpha:{svgAttr:"opacity",canvas:1,svg:1,apply:"fill stroke"},font:{canvas:"10px sans-serif"},shadowColor:{canvas:"#000000"},shadowOffsetX:{canvas:0},shadowOffsetY:{canvas:0},shadowBlur:{canvas:0},textAlign:{canvas:"start"},textBaseline:{canvas:"alphabetic"},lineDash:{svgAttr:"stroke-dasharray",canvas:[],svg:null,apply:"stroke"},lineDashOffset:{svgAttr:"stroke-dashoffset",canvas:0,svg:0,apply:"stroke"}};class Qi{__root;__ctx;constructor(t,o){this.__root=t,this.__ctx=o}addColorStop(t,o){const n=this.__ctx.__createElement("stop");if(n.setAttribute("offset",""+t),o.indexOf("rgba")!==-1){const s=/rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d?\.?\d*)\s*\)/gi.exec(o);s&&(n.setAttribute("stop-color",Ne("rgb({r},{g},{b})",{r:s[1],g:s[2],b:s[3]})),n.setAttribute("stop-opacity",s[4]))}else n.setAttribute("stop-color",o);this.__root.appendChild(n)}}class Uf{__root;__ctx;constructor(t,o){this.__root=t,this.__ctx=o}}class Vs{__document=document;__canvas;__ctx;width;height;__styleStack;__groupStack;__rootSVG;__ids;__SVGdefs;__currentElement;__currentElementsToStyle=null;constructor({canvas:t,width:o=500,height:n=500}){t?(this.__canvas=t,this.__ctx=t.getContext("2d"),this.width=t.width,this.height=t.height):(this.__canvas=this.__document.createElement("canvas"),this.__ctx=this.__canvas.getContext("2d"),this.width=o,this.height=n),this.__setDefaultStyles(),this.__styleStack=[this.__getStyleState()],this.__groupStack=[],this.__rootSVG=this.__document.createElementNS("http://www.w3.org/2000/svg","svg"),this.__rootSVG.setAttribute("version","1.1"),this.__rootSVG.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.__rootSVG.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),this.__rootSVG.setAttribute("width",""+this.width),this.__rootSVG.setAttribute("height",""+this.height),this.__ids={},this.__SVGdefs=this.__document.createElementNS("http://www.w3.org/2000/svg","defs"),this.__rootSVG.appendChild(this.__SVGdefs),this.__currentElement=this.__document.createElementNS("http://www.w3.org/2000/svg","g"),this.__rootSVG.appendChild(this.__currentElement)}__setDefaultStyles(){const t=Object.keys(Sr);for(let o=0,n=t.length;o<n;o++){const r=t[o];this[r]=Sr[r].canvas}}__getStyleState(){const t={},o=Object.keys(Sr);for(let n=0,r=o.length;n<r;n++){const s=o[n];t[s]=this[s]}return t}__applyStyleState(t){const o=Object.keys(t);for(let n=0,r=o.length;n<r;n++){const s=o[n];this[s]=t[s]}}__createElement(t,o={},n=!1){const r=this.__document.createElementNS("http://www.w3.org/2000/svg",t),s=Object.keys(o);n&&(r.setAttribute("fill","none"),r.setAttribute("stroke","none"));for(let a=0;a<s.length;a++){const l=s[a];r.setAttribute(l,o[l])}return r}__applyStyleToCurrentElement(t){let o=this.__currentElement;const n=this.__currentElementsToStyle;n&&(o.setAttribute(t,""),o=n.element,n.children.forEach(s=>{s.setAttribute(t,"")}));const r=Object.keys(Sr);for(let s=0;s<r.length;s++){const a=Sr[r[s]],l=this[r[s]];if(a.apply){if(l instanceof Uf){if(l.__ctx)for(;l.__ctx.__SVGdefs.childNodes.length;){const i=l.__ctx.__SVGdefs.childNodes[0].getAttribute("id");this.__ids[i]=i,this.__SVGdefs.appendChild(l.__ctx.__SVGdefs.childNodes[0])}o.setAttribute(a.apply,Ne("url(#{id})",{id:l.__root.getAttribute("id")}))}else if(l instanceof Qi)o.setAttribute(a.apply,Ne("url(#{id})",{id:l.__root.getAttribute("id")}));else if(a.apply.indexOf(t)!==-1&&a.svg!==l)if((a.svgAttr==="stroke"||a.svgAttr==="fill")&&l.indexOf("rgba")!==-1){const c=/rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d?\.?\d*)\s*\)/gi.exec(l);if(c){o.setAttribute(a.svgAttr,Ne("rgb({r},{g},{b})",{r:c[1],g:c[2],b:c[3]}));let u=parseFloat(c[4]);const f=this.globalAlpha;f!=null&&(u*=f),o.setAttribute(a.svgAttr+"-opacity",""+u)}}else{let i=a.svgAttr;if(r[s]==="globalAlpha"&&(i=t+"-"+a.svgAttr,o.getAttribute(i)))continue;i&&o.setAttribute(i,l)}}}}__closestGroupOrSvg(t){return t=t||this.__currentElement,t.nodeName==="g"||t.nodeName==="svg"?t:this.__closestGroupOrSvg(t.parentNode)}getSerializedSvg(t){let o=new XMLSerializer().serializeToString(this.__rootSVG);if(/xmlns="http:\/\/www\.w3\.org\/2000\/svg".+xmlns="http:\/\/www\.w3\.org\/2000\/svg/gi.test(o)&&(o=o.replace('xmlns="http://www.w3.org/2000/svg','xmlns:xlink="http://www.w3.org/1999/xlink')),t){const r=Object.keys(Gf);for(let s=0,a=r.length;s<a;s++){const l=r[s],i=Gf[l],c=new RegExp(l,"gi");c.test(o)&&(o=o.replace(c,i))}}return o}getSvg(){return this.__rootSVG}save(){const t=this.__createElement("g"),o=this.__closestGroupOrSvg();this.__groupStack.push(o),o.appendChild(t),this.__currentElement=t,this.__styleStack.push(this.__getStyleState())}restore(){this.__currentElementsToStyle=null;const t=this.__groupStack.pop();t?this.__currentElement=t:this.__currentElement=this.__rootSVG.childNodes[1];const o=this.__styleStack.pop();o&&this.__applyStyleState(o)}__addTransform(t){const o=this.__closestGroupOrSvg();if(o.childNodes.length>0){this.__currentElement.nodeName==="path"&&(this.__currentElementsToStyle||(this.__currentElementsToStyle={element:o,children:[]}),this.__currentElementsToStyle.children.push(this.__currentElement),this.__applyCurrentDefaultPath());const r=this.__createElement("g");o.appendChild(r),this.__currentElement=r}let n=this.__currentElement.getAttribute("transform");n?n+=" ":n="",n+=t,this.__currentElement.setAttribute("transform",n)}scale(t,o){o===void 0&&(o=t),this.__addTransform(Ne("scale({x},{y})",{x:t,y:o}))}rotate(t){const o=t*180/Math.PI;this.__addTransform(Ne("rotate({angle},{cx},{cy})",{angle:o,cx:0,cy:0}))}translate(t,o){this.__addTransform(Ne("translate({x},{y})",{x:t,y:o}))}transform(t,o,n,r,s,a){this.__addTransform(Ne("matrix({a},{b},{c},{d},{e},{f})",{a:t,b:o,c:n,d:r,e:s,f:a}))}beginPath(){this.__currentDefaultPath="",this.__currentPosition={};const t=this.__createElement("path",{},!0);this.__closestGroupOrSvg().appendChild(t),this.__currentElement=t}__applyCurrentDefaultPath(){const t=this.__currentElement;t.nodeName==="path"&&t.setAttribute("d",this.__currentDefaultPath)}__addPathCommand(t){this.__currentDefaultPath+=" ",this.__currentDefaultPath+=t}moveTo(t,o){this.__currentElement.nodeName!=="path"&&this.beginPath(),this.__currentPosition={x:t,y:o},this.__addPathCommand(Ne("M {x} {y}",this.__currentPosition))}closePath(){this.__currentDefaultPath&&this.__addPathCommand("Z")}lineTo(t,o){this.__currentPosition={x:t,y:o},this.__currentDefaultPath.indexOf("M")>-1?this.__addPathCommand(Ne("L {x} {y}",this.__currentPosition)):this.__addPathCommand(Ne("M {x} {y}",this.__currentPosition))}bezierCurveTo(t,o,n,r,s,a){this.__currentPosition={x:s,y:a},this.__addPathCommand(Ne("C {cp1x} {cp1y} {cp2x} {cp2y} {x} {y}",{cp1x:t,cp1y:o,cp2x:n,cp2y:r,x:s,y:a}))}quadraticCurveTo(t,o,n,r){this.__currentPosition={x:n,y:r},this.__addPathCommand(Ne("Q {cpx} {cpy} {x} {y}",{cpx:t,cpy:o,x:n,y:r}))}normalize(t){const o=Math.sqrt(t[0]*t[0]+t[1]*t[1]);return[t[0]/o,t[1]/o]}arcTo(t,o,n,r,s){const a=this.__currentPosition&&this.__currentPosition.x,l=this.__currentPosition&&this.__currentPosition.y;if(typeof a>"u"||typeof l>"u")return;if(s<0)throw new Error("IndexSizeError: The radius provided ("+s+") is negative.");if(a===t&&l===o||t===n&&o===r||s===0){this.lineTo(t,o);return}const i=this.normalize([a-t,l-o]),c=this.normalize([n-t,r-o]);if(i[0]*c[1]===i[1]*c[0]){this.lineTo(t,o);return}const u=i[0]*c[0]+i[1]*c[1],f=Math.acos(Math.abs(u)),d=this.normalize([i[0]+c[0],i[1]+c[1]]),h=s/Math.sin(f/2),p=t+h*d[0],w=o+h*d[1],x=[-i[1],i[0]],v=[c[1],-c[0]],g=function(_){const C=_[0];return _[1]>=0?Math.acos(C):-Math.acos(C)},y=g(x),m=g(v);this.lineTo(p+x[0]*s,w+x[1]*s),this.arc(p,w,s,y,m)}stroke(){this.__currentElement.nodeName==="path"&&this.__currentElement.setAttribute("paint-order","fill stroke markers"),this.__applyCurrentDefaultPath(),this.__applyStyleToCurrentElement("stroke")}fill(){this.__currentElement.nodeName==="path"&&this.__currentElement.setAttribute("paint-order","stroke fill markers"),this.__applyCurrentDefaultPath(),this.__applyStyleToCurrentElement("fill")}rect(t,o,n,r){this.__currentElement.nodeName!=="path"&&this.beginPath(),this.moveTo(t,o),this.lineTo(t+n,o),this.lineTo(t+n,o+r),this.lineTo(t,o+r),this.lineTo(t,o),this.closePath()}fillRect(t,o,n,r){const s=this.__createElement("rect",{x:t,y:o,width:n,height:r},!0);this.__closestGroupOrSvg().appendChild(s),this.__currentElement=s,this.__applyStyleToCurrentElement("fill")}strokeRect(t,o,n,r){const s=this.__createElement("rect",{x:t,y:o,width:n,height:r},!0);this.__closestGroupOrSvg().appendChild(s),this.__currentElement=s,this.__applyStyleToCurrentElement("stroke")}__clearCanvas(){const o=this.__closestGroupOrSvg().getAttribute("transform"),n=this.__rootSVG.childNodes[1],r=n.childNodes;for(let s=r.length-1;s>=0;s--)r[s]&&n.removeChild(r[s]);this.__currentElement=n,this.__groupStack=[],o&&this.__addTransform(o)}clearRect(t,o,n,r){if(t===0&&o===0&&n===this.width&&r===this.height){this.__clearCanvas();return}const s=this.__closestGroupOrSvg(),a=this.__createElement("rect",{x:t,y:o,width:n,height:r,fill:"#FFFFFF"},!0);s.appendChild(a)}createLinearGradient(t,o,n,r){const s=this.__createElement("linearGradient",{id:Ys(this.__ids),x1:t+"px",x2:n+"px",y1:o+"px",y2:r+"px",gradientUnits:"userSpaceOnUse"},!1);return this.__SVGdefs.appendChild(s),new Qi(s,this)}createRadialGradient(t,o,n,r,s,a){const l=this.__createElement("radialGradient",{id:Ys(this.__ids),cx:r+"px",cy:s+"px",r:a+"px",fx:t+"px",fy:o+"px",gradientUnits:"userSpaceOnUse"},!1);return this.__SVGdefs.appendChild(l),new Qi(l,this)}__parseFont(){const o=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:%|in|[cem]m|ex|p[CustomCanvasContext]))(?:\s*\/\s*(normal|[.\d]+(?:%|in|[cem]m|ex|p[CustomCanvasContext])))?\s*([-,'"\sa-z0-9]+?)\s*$/i.exec(this.font),n={style:o[1]||"normal",size:o[4]||"10px",family:o[6]||"sans-serif",weight:o[3]||"normal",decoration:o[2]||"normal",href:null};return this.__fontUnderline==="underline"&&(n.decoration="underline"),this.__fontHref&&(n.href=this.__fontHref),n}__wrapTextLink(t,o){if(t.href){const n=this.__createElement("a");return n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",t.href),n.appendChild(o),n}return o}__applyText(t,o,n,r){const s=this.__parseFont(),a=this.__closestGroupOrSvg(),l=this.__createElement("text",{"font-family":s.family,"font-size":s.size,"font-style":s.style,"font-weight":s.weight,"text-decoration":s.decoration,x:o,y:n,"text-anchor":uv(this.textAlign),"dominant-baseline":fv(this.textBaseline)},!0);l.appendChild(this.__document.createTextNode(t)),this.__currentElement=l,this.__applyStyleToCurrentElement(r),a.appendChild(this.__wrapTextLink(s,l))}fillText(t,o,n){this.__applyText(t,o,n,"fill")}strokeText(t,o,n){this.__applyText(t,o,n,"stroke")}measureText(t){return this.__ctx.font=this.font,this.__ctx.measureText(t)}arc(t,o,n,r,s,a){if(r===s)return;r=r%(2*Math.PI),s=s%(2*Math.PI),r===s&&(s=(s+2*Math.PI-.001*(a?-1:1))%(2*Math.PI));const l=t+n*Math.cos(s),i=o+n*Math.sin(s),c=t+n*Math.cos(r),u=o+n*Math.sin(r),f=a?0:1;let d=0,h=s-r;h<0&&(h+=2*Math.PI),a?d=h>Math.PI?0:1:d=h>Math.PI?1:0,this.lineTo(c,u),this.__addPathCommand(Ne("A {rx} {ry} {xAxisRotation} {largeArcFlag} {sweepFlag} {endX} {endY}",{rx:n,ry:n,xAxisRotation:0,largeArcFlag:d,sweepFlag:f,endX:l,endY:i})),this.__currentPosition={x:l,y:i}}clip(){const t=this.__closestGroupOrSvg(),o=this.__createElement("clipPath"),n=Ys(this.__ids),r=this.__createElement("g");this.__applyCurrentDefaultPath(),t.removeChild(this.__currentElement),o.setAttribute("id",n),o.appendChild(this.__currentElement),this.__SVGdefs.appendChild(o),t.setAttribute("clip-path",Ne("url(#{id})",{id:n})),t.appendChild(r),this.__currentElement=r}drawImage(...t){let o=t[0],n,r,s,a,l=0,i=0,c,u,f,d,h,p,w,x;if(t.length===3)n=t[1],r=t[2],c=o.width,u=o.height,s=c,a=u;else if(t.length===5)n=t[1],r=t[2],s=t[3],a=t[4],c=o.width,u=o.height;else if(t.length===9)l=t[1],i=t[2],c=t[3],u=t[4],n=t[5],r=t[6],s=t[7],a=t[8];else throw new Error("Invalid number of arguments passed to drawImage: "+arguments.length);const v=this.__closestGroupOrSvg();this.__currentElement;const g="translate("+n+", "+r+")";if(o instanceof Vs){if(f=o.getSvg().cloneNode(!0),f.childNodes&&f.childNodes.length>1){for(d=f.childNodes[0];d.childNodes.length;)x=d.childNodes[0].getAttribute("id"),this.__ids[x]=x,this.__SVGdefs.appendChild(d.childNodes[0]);if(h=f.childNodes[1],h){const y=h.getAttribute("transform");let m;y?m=y+" "+g:m=g,h.setAttribute("transform",m),v.appendChild(h)}}}else(o.nodeName==="CANVAS"||o.nodeName==="IMG")&&(p=this.__createElement("image"),p.setAttribute("width",s),p.setAttribute("height",a),p.setAttribute("preserveAspectRatio","none"),(l||i||c!==o.width||u!==o.height)&&(w=this.__document.createElement("canvas"),w.width=s,w.height=a,w.getContext("2d")?.drawImage(o,l,i,c,u,0,0,s,a),o=w),p.setAttribute("transform",g),p.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",o.nodeName==="CANVAS"?o.toDataURL():o.getAttribute("src")),v.appendChild(p))}createPattern(t,o){const n=this.__document.createElementNS("http://www.w3.org/2000/svg","pattern"),r=Ys(this.__ids);let s;return n.setAttribute("id",r),t.nodeName==="CANVAS"||t.nodeName==="IMG"?(s=this.__document.createElementNS("http://www.w3.org/2000/svg","image"),s.setAttribute("width",""+t.width),s.setAttribute("height",""+t.height),s.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",t.nodeName==="CANVAS"?t.toDataURL():t.getAttribute("src")),n.appendChild(s),this.__SVGdefs.appendChild(n)):t instanceof Vs&&(n.setAttribute("width",""+t.width),n.setAttribute("height",""+t.height),n.appendChild(t.__rootSVG.childNodes[1]),this.__SVGdefs.appendChild(n)),new Uf(n,this)}setLineDash(t){t&&t.length>0?this.lineDash=t.join(","):this.lineDash=null}drawFocusRing(){}createImageData(){}getImageData(){}putImageData(){}globalCompositeOperation(){}setTransform(){}}class Ji{canvas;context;customContext;currentPath2D=new Path2D;path2Ds=[];currentMatrix=new DOMMatrix;hasSetCustomStrokeStyle=!1;hasSetCustomFillStyle=!1;constructor(t,o,n,r=!1){this.canvas=t,this.context=t.getContext("2d",{willReadFrequently:!0}),r&&(this.customContext=new Vs({canvas:this.canvas,width:o||this.canvas.width,height:n||this.canvas.height}))}set lineWidth(t){this.hasSetCustomStrokeStyle=!0,this.context.lineWidth=t,this.customContext&&(this.customContext.lineWidth=t)}get lineWidth(){return this.context.lineWidth}set lineCap(t){this.hasSetCustomStrokeStyle=!0,this.context.lineCap=t,this.customContext&&(this.customContext.lineCap=t)}get lineCap(){return this.context.lineCap}set lineJoin(t){this.hasSetCustomStrokeStyle=!0,this.context.lineJoin=t,this.customContext&&(this.customContext.lineCap=t)}get lineJoin(){return this.context.lineJoin}set lineDashOffset(t){this.hasSetCustomStrokeStyle=!0,this.context.lineDashOffset=t,this.customContext&&(this.customContext.lineDashOffset=t)}get lineDashOffset(){return this.context.lineDashOffset}set miterLimit(t){this.hasSetCustomStrokeStyle=!0,this.context.miterLimit=t,this.customContext&&(this.customContext.miterLimit=t)}get miterLimit(){return this.context.miterLimit}set globalAlpha(t){this.context.globalAlpha=t,this.customContext&&(this.customContext.globalAlpha=t)}get globalAlpha(){return this.context.globalAlpha}set fillStyle(t){this.hasSetCustomFillStyle=!0,typeof t=="string"||t instanceof CanvasGradient||t instanceof CanvasPattern?(this.context.fillStyle=t,this.customContext&&(this.customContext.fillStyle=t)):(this.context.fillStyle=t.gradient,this.customContext&&(this.customContext.fillStyle=t.gradientCustom))}get fillStyle(){return this.context.fillStyle}set strokeStyle(t){this.hasSetCustomStrokeStyle=!0,typeof t=="string"||t instanceof CanvasGradient||t instanceof CanvasPattern?(this.context.strokeStyle=t,this.customContext&&(this.customContext.strokeStyle=t)):(this.context.strokeStyle=t.gradient,this.customContext&&(this.customContext.strokeStyle=t.gradientCustom))}get strokeStyle(){return this.context.strokeStyle}set font(t){this.context.font=t,this.customContext&&(this.customContext.font=t)}get font(){return this.context.font}set textBaseline(t){this.context.textBaseline=t,this.customContext&&(this.customContext.textBaseline=t)}get textBaseline(){return this.context.textBaseline}set textAlign(t){this.context.textAlign=t,this.customContext&&(this.customContext.textAlign=t)}get textAlign(){return this.context.textAlign}fill(t){return t?this.context.fill(t):(this.context.fill(),this.customContext&&this.customContext.fill()),this}fillRect(t,o,n,r){return this.context.fillRect(t,o,n,r),this.customContext&&this.customContext.fillRect(t,o,n,r),this}fillText(t,o,n,r){return this.hasSetCustomFillStyle=!1,this.context.fillText(t,o,n,r),this.customContext&&this.customContext.fillText(t,o,n),this}setLineDash(t){return this.context.setLineDash(t),this.customContext&&this.customContext.setLineDash(t),this}stroke(t){return t?this.context.stroke(t):(this.context.stroke(),this.customContext&&this.customContext.stroke()),this}strokeText(t,o,n,r){return this.context.strokeText(t,o,n,r),this.customContext&&this.customContext.strokeText(t,o,n),this}strokeRect(t,o,n,r){return this.context.strokeRect(t,o,n,r),this.customContext&&this.customContext.strokeRect(t,o,n,r),this}measureText(t){return this.context.measureText(t)}clearRect(t=0,o=0,n=this.canvas.width,r=this.canvas.height){return this.context.clearRect(t,o,n,r),this.customContext&&this.customContext.clearRect(t,o,n,r),this}save(){return this.context.save(),this.customContext&&this.customContext.save(),this.currentMatrix=new DOMMatrix,this.path2Ds.push(this.currentPath2D),this.currentPath2D=new Path2D,this}restore(){return this.context.restore(),this.customContext&&this.customContext.restore(),this.hasSetCustomStrokeStyle=!1,this.hasSetCustomFillStyle=!1,this.currentMatrix=new DOMMatrix,this.currentPath2D=this.path2Ds.pop()||new Path2D,this}beginPath(){return this.context.beginPath(),this.customContext&&this.customContext.beginPath(),this}closePath(){return this.context.closePath(),this.customContext&&this.customContext.closePath(),this.currentPath2D.closePath(),this}changePath2D(t=this.currentPath2D,o=this.currentMatrix){const n=new Path2D;n.addPath(t,o),this.currentPath2D=n}isPointInStroke(...t){return t[0]instanceof Path2D?this.context.isPointInStroke(t[0],t[1],t[2]):this.context.isPointInStroke(t[0],t[1])}isPointInPath(...t){return t[0]instanceof Path2D?this.context.isPointInPath(t[0],t[1],t[2]):this.context.isPointInPath(t[0],t[1])}translate(t,o){return this.context.translate(t,o),this.customContext&&this.customContext.translate(t,o),this.currentMatrix.translate(t,o),this.changePath2D(),this}rotate(t,o=0,n=0){return this.translate(o,n),this.context.rotate(t),this.customContext&&this.customContext.rotate(t),this.currentMatrix.rotate(t),this.translate(-o,-n),this.changePath2D(),this}scale(t,o=t,n=0,r=0){return this.translate(n,r),this.context.scale(t,o),this.customContext&&this.customContext.scale(t,o),this.currentMatrix.scale(t,o),this.translate(-n,-r),this.changePath2D(),this}moveTo(t,o){return this.context.moveTo(t,o),this.customContext&&this.customContext.moveTo(t,o),this.currentPath2D.moveTo(t,o),this}lineTo(t,o){return this.context.lineTo(t,o),this.customContext&&this.customContext.lineTo(t,o),this.currentPath2D.lineTo(t,o),this}arc(t,o,n,r,s,a){return this.context.arc(t,o,n,r,s,a),this.customContext&&this.customContext.arc(t,o,n,r,s,a?-1:1),this.currentPath2D.arc(t,o,n,r,s,a),this}arcTo(t,o,n,r,s){return this.context.arcTo(t,o,n,r,s),this.customContext&&this.customContext.arcTo(t,o,n,r,s),this.currentPath2D.arcTo(t,o,n,r,s),this}ellipse(t,o,n,r,s,a,l,i){return this.context.ellipse(t,o,n,r,s,a,l,i),this.currentPath2D.ellipse(t,o,n,r,s,a,l,i),this}quadraticCurveTo(t,o,n,r){return this.context.quadraticCurveTo(t,o,n,r),this.customContext&&this.customContext.quadraticCurveTo(t,o,n,r),this.currentPath2D.quadraticCurveTo(t,o,n,r),this}bezierCurveTo(t,o,n,r,s,a){return this.context.bezierCurveTo(t,o,n,r,s,a),this.customContext&&this.customContext.bezierCurveTo(t,o,n,r,s,a),this.currentPath2D.bezierCurveTo(t,o,n,r,s,a),this}rect(t,o,n,r){return this.context.rect(t,o,n,r),this.customContext&&this.customContext.rect(t,o,n,r),this.currentPath2D.rect(t,o,n,r),this}createLinearGradient(t,o,n,r,s){const a=this.context.createLinearGradient(t,o,n,r);return s&&Object.entries(s).forEach(([l,i])=>{a.addColorStop(parseFloat(l),i)}),a}createRadialGradient(t,o,n,r,s,a,l){const i=this.context.createRadialGradient(t,o,n,r,s,a);return l&&Object.entries(l).forEach(([c,u])=>{i.addColorStop(parseFloat(c),u)}),i}drawImage(t,...o){if(o.length===0)this.context.drawImage(t,0,0);else if(o.length===2){const n=o[0],r=o[1];this.context.drawImage(t,n,r)}else if(o.length===4){const n=o[0],r=o[1],s=o[2],a=o[3];this.context.drawImage(t,n,r,s,a)}else if(o.length===8){const n=o[0],r=o[1],s=o[2],a=o[3],l=o[4],i=o[5],c=o[6],u=o[7];this.context.drawImage(t,n,r,s,a,l,i,c,u)}else throw new Error("Invalid number of arguments passed to drawImage: "+o.length);return this.customContext&&this.customContext.drawImage(t,...o),this}getImageData(t=0,o=0,n=this.canvas.width,r=this.canvas.height,s){return this.context.getImageData(t,o,n,r,s)}putImageData(t,o=0,n=0){return this.context.putImageData(t,o,n)}createPattern(t,o){return this.context.createPattern(t,o)}toRawSVG(){if(this.customContext){const t=this.customContext.getSerializedSvg(!0),o=this.customContext.getSvg();return{raw:t,element:o}}else return{raw:"",element:null}}}const dv=Ji;class Xs{x;y;toX;toY;constructor(t){this.x=t?.x||0,this.y=t?.y||0,this.toX=t?.toX||0,this.toY=t?.toY||0}toSVGPathData(){return[["L",this.toX,this.toY]]}toCanvasContext(t){t.lineTo(this.toX,this.toY)}getBoundingClientRect(){const t=Ms(this.x,this.y,this.toX,this.toY);if(t===0){const o=Math.min(this.x,this.toX),n=Math.min(this.y,this.toY),r=Math.max(this.x,this.toX),s=Math.max(this.y,this.toY);return{x:o,y:n,width:r-o,height:s-n}}else{const o=Math.sin(t),n=Math.cos(t),r=n*this.x-o*this.y,s=n*this.toX-o*this.toY,a=n*this.y+o*this.x,l=n*this.toY+o*this.toX;return{x:Math.min(r,s),y:Math.min(a,l),width:Math.max(r,s)-Math.min(r,s),height:Math.max(a,l)-Math.min(a,l)}}}interpolate(t){return{x:this.x+t*(this.toX-this.x),y:this.y+t*(this.toY-this.y)}}intersection(t){const o=this.x,n=this.y,r=t.toX,s=t.toY,a=this.toX-o,l=t.x-r;if(!a&&!l)return null;const i=(this.toY-n)/a,c=(t.y-s)/l;if(a){if(!l)return{x:r,y:i*(r-o)+n}}else return{x:o,y:c*(o-r)+s};const u=(-c*r+s+i*o-n)/(i-c),f=i*(u-o)+n;return isNaN(u)||isNaN(f)?null:{x:u,y:f}}}const jf=Xs;class pv extends Xs{rx;ry;xAxisRotate;largeArcFlag;sweepFlag;constructor(t){super(t),this.rx=t.rx,this.ry=t.ry,this.xAxisRotate=t?.xAxisRotate??0,this.largeArcFlag=t?.largeArcFlag??1,this.sweepFlag=t?.sweepFlag??1,this.toX=t.toX,this.toY=t.toY}toSVGPathData(){return[["A",this.rx,this.ry,this.xAxisRotate,this.largeArcFlag,this.sweepFlag,this.toX,this.toY]]}toCanvasContext(t){const[o,n,r,s,a,l,i]=this.convert(this.x,this.y,this.toX,this.toY,this.rx,this.ry,this.xAxisRotate,this.largeArcFlag,this.sweepFlag);t.ellipse(o,n,r,s,a,l,i,!this.sweepFlag)}convert(t,o,n,r,s,a,l,i,c){const u=l/180*Math.PI,f=(t-n)/2,d=(o-r)/2,h=Math.cos(u)*f+Math.sin(u)*d,p=-Math.sin(u)*f+Math.cos(u)*d,w=h*h/(s*s)+p*p/(a*a);if(w>1){const pt=Math.sqrt(w);throw s=pt*s,a=pt*a,new Error(`Radii are too small to build an arc. Correcting them to ${s}/${a}.`)}const x=Math.sqrt((s*s*a*a-s*s*p*p-a*a*h*h)/(s*s*p*p+a*a*h*h)),v=i!=c?1:-1,g=v*x*s*p/a,y=v*x*-a*h/s,m=(t+n)/2,_=(o+r)/2,C=Math.cos(u)*g-Math.sin(u)*y+m,M=Math.sin(u)*g+Math.cos(u)*y+_,X=(pt,K,lt,gt)=>(pt*gt>=K*lt?1:-1)*Math.acos((pt*lt+K*gt)/(Math.sqrt(pt*pt+K*K)*Math.sqrt(lt*lt+gt*gt))),G=X(1,0,t-C,o-M)-u,V=X(t-C,o-M,n-C,r-M);return[C,M,s,a,u,G,G+V]}}const hv=pv;class mv extends Xs{cx;cy;isLineThrough;constructor(t){super(t),this.cx=t.cx,this.cy=t.cy,this.isLineThrough=typeof t.isLineThrough=="boolean"?t.isLineThrough:!1}toSVGPathData(){if(this.isLineThrough){const t=this.cx*2-(this.x+this.toX)/2,o=this.cy*2-(this.y+this.toY)/2;return[["Q",t,o,this.toX,this.toY]]}else return[["Q",this.cx,this.cy,this.toX,this.toY]]}toCanvasContext(t){if(this.isLineThrough){const o=this.cx*2-(this.x+this.toX)/2,n=this.cy*2-(this.y+this.toY)/2;t.quadraticCurveTo(o,n,this.toX,this.toY)}else t.quadraticCurveTo(this.cx,this.cy,this.toX,this.toY)}getBoundingClientRect(){const t=[this.x,this.toX],o=[this.y,this.toY];let n,r,s,a;for(let c=0;c<2;++c)n=c==0?this.x-2*this.cx+this.toX:this.y-2*this.cy+this.toY,r=c==0?-2*this.x+2*this.cx:-2*this.y+2*this.cy,s=c==0?this.x:this.y,Math.abs(n)>1e-12&&(a=-r/(2*n),0<a&&a<1&&[t,o][c].push(n*a*a+r*a+s));const l={x:Math.min.apply(0,t),y:Math.min.apply(0,o)},i={x:Math.max.apply(0,t),y:Math.max.apply(0,o)};return{x:l.x,y:l.y,width:i.x-l.x,height:i.y-l.y}}interpolate(t){return{x:(1-t)*(1-t)*this.x+2*(1-t)*t*this.cx+t*t*this.toX,y:(1-t)*(1-t)*this.y+2*(1-t)*t*this.cy+t*t*this.toY}}}const gv=mv;class Mn extends Xs{c1x;c1y;c2x;c2y;constructor(t){super(t),this.c1x=t.c1x,this.c1y=t.c1y,this.c2x=t.c2x,this.c2y=t.c2y}toSVGPathData(){return[["C",this.c1x,this.c1y,this.c2x,this.c2y,this.toX,this.toY]]}toCanvasContext(t){t.bezierCurveTo(this.c1x,this.c1y,this.c2x,this.c2y,this.toX,this.toY)}getBoundingClientRect(){let t=this.c2x-2*this.c1x+this.x-(this.toX-2*this.c2x+this.c1x),o=2*(this.c1x-this.x)-2*(this.c2x-this.c1x),n=this.x-this.c1x,r=(-o+Math.sqrt(o*o-4*t*n))/2/t,s=(-o-Math.sqrt(o*o-4*t*n))/2/t;const a=[this.y,this.toY],l=[this.x,this.toX];let i;const c=[];Math.abs(r)>1e12&&(r=.5),Math.abs(s)>1e12&&(s=.5),r>=0&&r<=1&&(i=this.interpolate(r),l.push(i.x),a.push(i.y),c.push({X:i.x,Y:i.y})),s>=0&&s<=1&&(i=this.interpolate(s),l.push(i.x),a.push(i.y),c.push({X:i.x,Y:i.y})),t=this.c2y-2*this.c1y+this.y-(this.toY-2*this.c2y+this.c1y),o=2*(this.c1y-this.y)-2*(this.c2y-this.c1y),n=this.y-this.c1y,r=(-o+Math.sqrt(o*o-4*t*n))/2/t,s=(-o-Math.sqrt(o*o-4*t*n))/2/t,Math.abs(r)>1e12&&(r=.5),Math.abs(s)>1e12&&(s=.5),r>=0&&r<=1&&(i=this.interpolate(r),l.push(i.x),a.push(i.y),c.push({X:i.x,Y:i.y})),s>=0&&s<=1&&(i=this.interpolate(s),l.push(i.x),a.push(i.y),c.push({X:i.x,Y:i.y}));let u=[],f=c.length;for(let p=0;p<f;p++){for(let w=p+1;w<f;w++)c[p].X===c[w].X&&c[p].Y===c[w].Y&&(w=++p);u.push({X:c[p].X,Y:c[p].Y})}const d={x:Math.min.apply(Math,l),y:Math.min.apply(Math,a)},h={x:Math.max.apply(Math,l),y:Math.max.apply(Math,a)};return{x:d.x,y:d.y,width:h.x-d.x,height:h.y-d.y,dots:u}}interpolate(t){return{x:Math.pow(1-t,3)*this.x+3*Math.pow(1-t,2)*t*this.c1x+3*Math.pow(1-t,1)*Math.pow(t,2)*this.c2x+Math.pow(t,3)*this.toX,y:Math.pow(1-t,3)*this.y+3*Math.pow(1-t,2)*t*this.c1y+3*Math.pow(1-t,1)*Math.pow(t,2)*this.c2y+Math.pow(t,3)*this.toY}}static base3(t,o,n,r,s){const a=-3*o+9*n-9*r+3*s,l=t*a+6*o-12*n+6*r;return t*l-3*o+3*n}static bezlen(t,o,n,r,s,a,l,i,c=1){c=Math.max(0,Math.min(c,1));const u=c/2,f=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],d=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472];let h=0;for(let p=0;p<12;p++){const w=u*f[p]+u,x=this.base3(w,t,n,s,l),v=this.base3(w,o,r,a,i);h+=d[p]*Math.sqrt(x*x+v*v)}return u*h}length(t=1){return Mn.bezlen(this.x,this.y,this.c1x,this.c1y,this.c2x,this.c2y,this.toX,this.toY,t)}getTatLen(t){const o=this.x,n=this.y,r=this.c1x,s=this.c1y,a=this.c2x,l=this.c2y,i=this.toX,c=this.toY;if(t<0||Mn.bezlen(o,n,r,s,a,l,i,c)<t)return 0;let u=1,f=u/2,d=u-f,h=Mn.bezlen(o,n,r,s,a,l,i,c,d);for(;Math.abs(h-t)>.01;)f/=2,d+=(h<t?1:-1)*f,h=Mn.bezlen(o,n,r,s,a,l,i,c,d);return d}getPointAtSegmentLength(t){const o=this.getTatLen(t);let n=1-o,r=Math.pow(n,3),s=Math.pow(n,2),a=o*o,l=a*o,i=r*this.x+s*3*o*this.c1x+n*3*o*o*this.c2x+l*this.toX,c=r*this.y+s*3*o*this.c1y+n*3*o*o*this.c2y+l*this.toY,u=this.x+2*o*(this.c1x-this.x)+a*(this.c2x-2*this.c1x+this.x),f=this.y+2*o*(this.c1y-this.y)+a*(this.c2y-2*this.c1y+this.y),d=this.c1x+2*o*(this.c2x-this.c1x)+a*(this.toX-2*this.c2x+this.c1x),h=this.c1y+2*o*(this.c2y-this.c1y)+a*(this.toY-2*this.c2y+this.c1y),p=n*this.x+o*this.c1x,w=n*this.y+o*this.c1y,x=n*this.c2x+o*this.toX,v=n*this.c2y+o*this.toY,g=90-Math.atan2(u-d,f-h)*180/Math.PI;return{x:i,y:c,m:{x:u,y:f},n:{x:d,y:h},start:{x:p,y:w},end:{x,y:v},alpha:g}}}const qo=Mn,Or=Math.PI*2;function Hf(e,t,o,n){const r=e*n-t*o<0?-1:1;let s=e*o+t*n;return s>1&&(s=1),s<-1&&(s=-1),r*Math.acos(s)}function yv(e,t,o,n,r,s,a,l,i,c){const u=c*(e-o)/2+i*(t-n)/2,f=-i*(e-o)/2+c*(t-n)/2,d=a*a,h=l*l,p=u*u,w=f*f;let x=d*h-d*w-h*p;x<0&&(x=0),x/=d*w+h*p,x=Math.sqrt(x)*(r===s?-1:1);const v=x*a/l*f,g=x*-l/a*u,y=c*v-i*g+(e+o)/2,m=i*v+c*g+(t+n)/2,_=(u-v)/a,C=(f-g)/l,M=(-u-v)/a,X=(-f-g)/l,G=Hf(1,0,_,C);let V=Hf(_,C,M,X);return s===0&&V>0&&(V-=Or),s===1&&V<0&&(V+=Or),[y,m,G,V]}function vv(e,t){const o=1.3333333333333333*Math.tan(t/4),n=Math.cos(e),r=Math.sin(e),s=Math.cos(e+t),a=Math.sin(e+t);return[n,r,n-r*o,r+n*o,s+a*o,a-s*o,s,a]}function Wf(e,t,o,n,r,s,a,l,i){const c=Math.sin(i*Or/360),u=Math.cos(i*Or/360),f=u*(e-o)/2+c*(t-n)/2,d=-c*(e-o)/2+u*(t-n)/2;if(f===0&&d===0)return[];if(a===0||l===0)return[];a=Math.abs(a),l=Math.abs(l);const h=f*f/(a*a)+d*d/(l*l);h>1&&(a*=Math.sqrt(h),l*=Math.sqrt(h));const p=yv(e,t,o,n,r,s,a,l,c,u),w=[];let x=p[2],v=p[3];const g=Math.max(Math.ceil(Math.abs(v)/(Or/4)),1);v/=g;for(let y=0;y<g;y++)w.push(vv(x,v)),x+=v;return w.map(y=>{for(let m=0;m<y.length;m+=2){let _=y[m+0],C=y[m+1];_*=a,C*=l;const M=u*_-c*C,X=c*_+u*C;y[m+0]=M+p[0],y[m+1]=X+p[1]}return y})}function tl(e,t,o,n,r,s){return[e/3+2/3*o,t/3+2/3*n,r/3+2/3*o,s/3+2/3*n,r,s]}function Pr(e,t,o,n){return[e,t,o,n,o,n]}const Zs={a:7,c:6,s:4,q:4,t:2,m:2,l:2,h:1,v:1,z:0};class wn{static createSVGElement(t="path",o){const n=document.createElementNS.call(document,"http://www.w3.org/2000/svg",t);return o&&xv(n,o),n}static createSvgPath(t,o){return this.createSVGElement("path",{d:t,id:o||Dn()})}static downloadFromSVGElement(t,o="shape"){return dd(Gy(t),`${o}.svg`)}static downloadFromSVGString(t,o="shape"){return dd(If(t),`${o}.svg`)}static getSVGRawStringFromElement(t){return Ff(t)}static isSVGPath(t){return typeof t!="string"?!1:(t=t.trim(),/^[mlhvzaqtcs]\s*[-+.0-9][^mlhvzaqtcs]+/i.test(t)&&/[\dz]$/i.test(t))}static SVGPathDataToD(t){return t.map(o=>{if(!o[0])return"";switch(o[0].toLowerCase()){case"a":return`${o[0]} ${o[1]},${o[2]} ${o[3]} ${o[4]},${o[5]} ${o[6]},${o[7]}`;case"c":return`${o[0]} ${o[1]},${o[2]} ${o[3]},${o[4]} ${o[5]},${o[6]}`;case"s":case"q":return`${o[0]} ${o[1]},${o[2]} ${o[3]},${o[4]}`;default:return o[0]+" "+o.slice(1).join(",")}}).join(" ")}static parseSVGPath(t){const o=[];return wn.isSVGPath(t)&&t.replace(/([mlhvzaqtcs])([^mlhvzaqtcs]*)/gi,(n,r,s)=>{let a=r.toLowerCase();const l=zi(s);for(a=="m"&&l.length>Zs[a]&&(o.push([r,...l.splice(0,Zs[a])]),a="l",r=r=="m"?"l":"L");l.length;){if(l.length<Zs[a])throw new Error(`parseSVGPath substring:{ ${n} } command:{ ${r} } args:{ ${l} }`);o.push([r,...l.splice(0,Zs[a])])}return a=="z"&&o.push([r]),""}),o}static absolutizeSVGPath(t){let o=0,n=0,r=0,s=0;return t.map(function(a){const l=a[0],i=l.toUpperCase();if(l!=i)switch(a[0]=i,l){case"a":a[6]+=r,a[7]+=s;break;case"v":a[1]+=s;break;case"h":a[1]+=r;break;default:for(let c=1;c<a.length;)a[c++]+=r,a[c++]+=s}switch(i){case"Z":r=o,s=n;break;case"H":r=a[1];break;case"V":s=a[1];break;case"M":r=o=a[1],s=n=a[2];break;default:r=a[a.length-2],s=a[a.length-1]}return a})}static relativeSVGPath(t){let o=0,n=0,r=0,s=0;return t.map(function(a){const l=a[0],i=l.toLowerCase();if(l!=i)switch(a[0]=i,l){case"A":a[6]-=r,a[7]-=s;break;case"V":a[1]-=s;break;case"H":a[1]-=r;break;default:for(let c=1;c<a.length;)a[c++]-=r,a[c++]-=s}switch(i){case"z":r=o,s=n;break;case"h":r+=a[1];break;case"v":s+=a[1];break;case"m":r+=a[1],s+=a[2],o+=a[1],n+=a[2];break;default:r+=a[a.length-2],s+=a[a.length-1]}return a})}static normalizeSVGPath(t){const o=[];let n=0,r=0,s=0,a=0,l=0,i=0,c=0,u=0,f;for(let d=0,h=t.length;d<h;d++){let p=t[d];const w=p[0];switch(w){case"M":n=p[1],r=p[2];break;case"A":const x=Wf(s,a,p[6],p[7],p[4],p[5],p[1],p[2],p[3]);if(!x.length)continue;x.forEach((y,m)=>{const[_,C,M,X,G,V,pt,K]=y;p=["C",M,X,G,V,pt,K],m<x.length-1&&o.push(p)});break;case"S":let v=s,g=a;(f=="C"||f=="S")&&(v+=v-c,g+=g-u),p=["C",v,g,p[1],p[2],p[3],p[4]];break;case"T":f=="Q"||f=="T"?(l=s*2-l,i=a*2-i):(l=s,i=a),p=["C",...tl(s,a,l,i,p[1],p[2])];break;case"Q":l=p[1],i=p[2],p=["C",...tl(s,a,p[1],p[2],p[3],p[4])];break;case"L":p=["C",...Pr(s,a,p[1],p[2])];break;case"H":p=["C",...Pr(s,a,p[1],a)];break;case"V":p=["C",...Pr(s,a,s,p[1])];break;case"Z":p=["C",...Pr(s,a,n,r)];break}f=w,s=p[p.length-2],a=p[p.length-1],p.length>4?(c=p[p.length-4],u=p[p.length-3]):(c=s,u=a),o.push(p)}return o}static catmullRom2bezier(t){const o=[];for(let n=0,r=t.length;r-2>n;n+=2){let s;n==0?s=[{x:t[n],y:t[n+1]},{x:t[n],y:t[n+1]},{x:t[n+2],y:t[n+3]},{x:t[n+4],y:t[n+5]}]:r-4==n?s=[{x:t[n-2],y:t[n-1]},{x:t[n],y:t[n+1]},{x:t[n+2],y:t[n+3]},{x:t[n+2],y:t[n+3]}]:s=[{x:t[n-2],y:t[n-1]},{x:t[n],y:t[n+1]},{x:t[n+2],y:t[n+3]},{x:t[n+4],y:t[n+5]}];const a=[{x:s[1].x,y:s[1].y},{x:(-s[0].x+6*s[1].x+s[2].x)/6,y:(-s[0].y+6*s[1].y+s[2].y)/6},{x:(s[1].x+6*s[2].x-s[3].x)/6,y:(s[1].y+6*s[2].y-s[3].y)/6},{x:s[2].x,y:s[2].y}];o.push(["C",a[1].x,a[1].y,a[2].x,a[2].y,a[3].x,a[3].y])}return o}static zvhToLSVGPath(t){const o=[];let n=["L",0,0],r;for(let s=0,a=t.length;s<a;s++){const l=t[s];switch(l[0]){case"M":n=["L",l[1],l[2]],o.push(l);break;case"Z":o.push(n);break;case"H":r=o[o.length-1]||["L",0,0],o.push(["L",l[1],r[r.length-1]]);break;case"V":r=o[o.length-1]||["L",0,0],o.push(["L",r[r.length-2],l[1]]);break;default:o.push(l)}}return o}static longhandSVGPath(t){const o={S:{to:"C",x:3},T:{to:"Q",x:1}};let n,r=0,s=0;for(let a=0,l=t.length;a<l;a++){const i=t[a],c=o[i[0]];c&&(i[0]=c.to,n&&(n[0]===c.to?(r=2*Number(n[c.x+2])-Number(n[c.x]),s=2*Number(n[c.x+3])-Number(n[c.x+1])):(r=Number(n[n.length-2]),s=Number(n[n.length-1]))),i.splice(1,0,r,s)),n=i}return t}}class go{cX;cY;x;y;degree;scalarX;scalarY;startPathX=0;startPathY=0;prevPathX=0;prevPathY=0;normalizedLines=[];constructor(t){this.cX=0,this.cY=0,this.x=t?.x||0,this.y=t?.y||0,typeof t?.centerX=="number"&&typeof t?.centerY=="number"&&(this.cX=t.centerX-this.x,this.cY=t.centerY-this.y),this.degree=t?.degree||0,this.scalarX=1,this.scalarY=1,t?.scalar!==void 0&&(this.scalarX=t.scalar,this.scalarY=t.scalar),t?.scalarX!==void 0&&(this.scalarX=t.scalarX),t?.scalarY!==void 0&&(this.scalarY=t.scalarY),this.reset(t?.d,t?.originMatrix)}reset(t,o){typeof t=="string"?this.resetFromSVGPathData(wn.parseSVGPath(t),o):t instanceof go?this.resetFromSVGPathData(t.toSVGPathData(),o):this.resetFromSVGPathData(t||[],o)}resetFromSVGPathData(t,o){this.normalizedLines=[];const n=wn.normalizeSVGPath(wn.absolutizeSVGPath(t));this.prevPathX=this.startPathX=0,this.prevPathY=this.startPathY=0;let r=!1;for(let s=0,a=n.length;s<a;s++){const l=n[s];if(l[0]=="M"){r||(r=!0,this.startPathX=l[1],this.startPathY=l[2]),this.prevPathX=l[1],this.prevPathY=l[2];continue}this.appendLine(new qo({c1x:l[1],c1y:l[2],c2x:l[3],c2y:l[4],toX:l[5],toY:l[6]}))}o&&({x:this.startPathX,y:this.startPathY}=o.transformPoint({x:this.startPathX,y:this.startPathY}),{x:this.prevPathX,y:this.prevPathY}=o.transformPoint({x:this.prevPathX,y:this.prevPathY}),this.normalizedLines.forEach(s=>{({x:s.x,y:s.y}=o.transformPoint({x:s.x,y:s.y})),{x:s.c1x,y:s.c1y}=o.transformPoint({x:s.c1x,y:s.c1y}),{x:s.c2x,y:s.c2y}=o.transformPoint({x:s.c2x,y:s.c2y}),{x:s.toX,y:s.toY}=o.transformPoint({x:s.toX,y:s.toY})}))}static fromPolymorphPoints(t){const o=new go;o.prevPathX=o.startPathX=t[0]||0,o.prevPathY=o.startPathY=t[1]||0;for(let n=2,r=t.length;n+5<r;n+=6)o.appendLine(new qo({c1x:t[n],c1y:t[n+1],c2x:t[n+2],c2y:t[n+3],toX:t[n+4],toY:t[n+5]}));return o}static fromLines(t){const o=new go;o.prevPathX=o.startPathX=t[0].x||0,o.prevPathY=o.startPathY=t[0].y||0;for(let n=0,r=t.length;n<r;n++)o.appendLine(t[n]);return o}appendLine(t){if(t instanceof hv){Wf(this.prevPathX,this.prevPathY,t.toX,t.toY,t.largeArcFlag,t.sweepFlag,t.rx,t.ry,t.xAxisRotate).forEach(c=>{const[u,f,d,h,p,w,x,v]=c;this.normalizedLines.push(new qo({x:this.prevPathX,y:this.prevPathY,c1x:d,c1y:h,c2x:p,c2y:w,toX:x,toY:v})),this.prevPathX=x,this.prevPathY=v});return}let o,n,r,s,a,l;t instanceof qo?(o=t.c1x,n=t.c1y,r=t.c2x,s=t.c2y,a=t.toX,l=t.toY):t instanceof gv?[o,n,r,s,a,l]=tl(this.prevPathX,this.prevPathY,t.cx,t.cy,t.toX,t.toY):[o,n,r,s,a,l]=Pr(this.prevPathX,this.prevPathY,t.toX,t.toY),this.normalizedLines.push(new qo({x:this.prevPathX,y:this.prevPathY,c1x:o,c1y:n,c2x:r,c2y:s,toX:a,toY:l})),this.prevPathX=a,this.prevPathY=l}toSVGPathData(){const{startPathX:t,startPathY:o,normalizedLines:n}=this.updateTransform(),r=[];r.push(["M",t,o]);for(let s=0,a=n.length;s<a;s++)r.push(...n[s].toSVGPathData());return r}toSVGPathD(){return wn.SVGPathDataToD(this.toSVGPathData())}toCanvasContext(t){const{startPathX:o,startPathY:n,normalizedLines:r}=this.updateTransform();t.beginPath(),t.moveTo(o,n),r.forEach(s=>{s.toCanvasContext(t)})}getBoundingClientRect(){const{normalizedLines:t}=this.updateTransform(),o=[],n=[];if(t.forEach(i=>{const c=i.getBoundingClientRect();o.push(c.x,c.x+c.width),n.push(c.y,c.y+c.height)}),o.length==0||n.length==0)return{x:0,y:0,width:0,height:0};const r=Math.min.apply(0,o),s=Math.min.apply(0,n),a=Math.max.apply(0,o),l=Math.max.apply(0,n);return{x:r,y:s,width:a-r,height:l-s}}update(t){this.cX=typeof t.cX=="number"?t.cX:this.cX,this.cY=typeof t.cY=="number"?t.cY:this.cY,this.x=t.x,this.y=t.y,this.degree=t.degree,this.scalarX=t.scalarX,this.scalarY=t.scalarY}updateTransform(){const t=new Qe;if(t.translate(this.x+this.cX,this.y+this.cY),t.rotate(this.degree),t.scale(this.scalarX,this.scalarY),t.translate(-this.cX,-this.cY),t.isIdentity)return{startPathX:this.startPathX,startPathY:this.startPathY,normalizedLines:this.normalizedLines};{let o=this.startPathX,n=this.startPathY;({x:o,y:n}=t.transformPoint({x:o,y:n}));const r=[];return this.normalizedLines.forEach(s=>{let a=s.x,l=s.y,i=s.c1x,c=s.c1y,u=s.c2x,f=s.c2y,d=s.toX,h=s.toY;({x:a,y:l}=t.transformPoint({x:a,y:l})),{x:i,y:c}=t.transformPoint({x:i,y:c}),{x:u,y:f}=t.transformPoint({x:u,y:f}),{x:d,y:h}=t.transformPoint({x:d,y:h}),r.push(new qo({x:a,y:l,c1x:i,c1y:c,c2x:u,c2y:f,toX:d,toY:h}))}),{startPathX:o,startPathY:n,normalizedLines:r}}}getTotalLength(){const{normalizedLines:t}=this.updateTransform();return t.reduce((o,n)=>o+=n.length(),0)}getPointAtLength(t){const{normalizedLines:o}=this.updateTransform();let n=0;const r=o.length;for(let s=0;s<r;s++){const a=o[s],l=a.length();if(n+l>=t)return a.getPointAtSegmentLength(t-n);n+=l}return o[r-1].getPointAtSegmentLength(1)}interpolate(t){const{startPathX:o,startPathY:n,normalizedLines:r}=this.updateTransform(),s=r.length;if(s===0)return{x:o,y:n};if(s===1)return r[0].interpolate(t);{let a=t*s,l=r[0];if(a--,a>1)for(let i=1;i<s&&(l=r[i],a>1);i++)a-=1;return l.interpolate(a)}}getSubpath(t,o){if(this.getTotalLength()-o<1e-6)return this.getSubpathsAtLength(this,t);{const n=this.getSubpathsAtLength(this,o,1);return t?this.getSubpathsAtLength(n,t):n}}getSubpathsAtLength(t,o,n){const{startPathX:r,startPathY:s,normalizedLines:a}=t.updateTransform();let l=null,i=0;const c=new go;c.prevPathX=c.startPathX=r,c.prevPathY=c.startPathY=s;for(let u=0,f=a.length;u<f;u++){const d=a[u],h=d.length();if(i+h>o&&!l){const p=d.getPointAtSegmentLength(o-i);if(c.appendLine(new qo({c1x:p.start.x,c1y:p.start.y,c2x:p.m.x,c2y:p.m.y,toX:p.x,toY:p.y})),n)return c;l=c,c.appendLine(new qo({c1x:p.n.x,c1y:p.n.y,c2x:p.end.x,c2y:p.end.y,toX:d.x,toY:d.y})),i+=h;continue}i+=h,c.appendLine(d)}return c}closestPoint(t,o){const n=this.getTotalLength();let r={x:t,y:o},s=0,a=1/0,l=8;for(let c=0;c<=n;c+=l){let u=this.getPointAtLength(c),f=Ki(u.x,u.y,t,o);f<a&&(r=u,s=c,a=f)}for(l/=2;l>.5;){let c=s-l,u=this.getPointAtLength(c),f=Ki(u.x,u.y,t,o),d=s+l,h=this.getPointAtLength(d),p=Ki(h.x,h.y,t,o);c>=0&&f<a?(r=u,s=c,a=f):d<=n&&p<a?(r=h,s=d,a=p):l/=2}const i=this.getPointAtLength(s+(s===n?-.1:.1));return{point:r,rotation:s>=n?Ms(i.x,i.y,r.x,r.y):Ms(r.x,r.y,i.x,i.y),distance:Math.sqrt(a)}}get polymorphPoints(){const{startPathX:t,startPathY:o,normalizedLines:n}=this.updateTransform();return[t,o].concat(n.reduce((r,s)=>r.concat([s.c1x,s.c1y,s.c2x,s.c2y,s.toX,s.toY]),[]))}perimeterPoints(){const t=this.polymorphPoints,o=t.length;let n=t[o-2],r=t[o-1],s=0;for(let a=0;a<o;a+=6)s+=Zf(t[a],t[a+1],n,r),n=t[a],r=t[a+1];return Math.floor(s)}expendFill(t){const o=this.polymorphPoints,n=o.length;let r=t-n;const s=Math.ceil(t/n),a=[];a.push(["M",o[0],o[1]]);let l=2;for(;l+5<=n-1;){const i=o[l++],c=o[l++],u=o[l++],f=o[l++],d=o[l++],h=o[l++];a.push(["C",i,c,u,f,d,h]);let p=0;for(;p<s&&r>0;)a.push(["C",d,h,d,h,d,h]),r-=6,p++}return a}static mixPoints(t,o,n){const r=t.length,s=new Array(r);for(let a=0;a<r;a++)s[a]=Pe(t[a]+(o[a]-t[a])*n,6);return s}static getPathInterpolator(t,o){return n=>Math.abs(n-0)<Number.EPSILON?t:Math.abs(n-1)<Number.EPSILON?o:go.fromPolymorphPoints(go.mixPoints(new go({d:t}).polymorphPoints,new go({d:o}).polymorphPoints,n)).toSVGPathData()}}class Rr extends $s{id;originD;originMatrix;independentTransformInGroup;forceCXY=!1;cX;cY;x;y;degree;scalarX;scalarY;diffXInGroup;diffYInGroup;diffDegreeInGroup;diffScalarXInGroup;diffScalarYInGroup;vx;vy;ax;ay;mass;attrs;enableDrag;alongPath;isDragging=!1;isMouseIn=!1;targetToAfterDragFree;followMouse;strokeArmyAnts;strokeArmyAntsOffset=0;strokeDashTotalLength=0;isShow=!0;el;pathd;usePathDtoCanvasContext=!1;parent;shapes=[];constructor(t){if(super(),this.id=Dn(),t?.d&&(this.originD=t?.d),t?.originMatrix&&(this.originMatrix=t.originMatrix),this.independentTransformInGroup=typeof t?.independentTransformInGroup=="boolean"?t.independentTransformInGroup:!1,this.x=t?.x||0,this.y=t?.y||0,this.cX=0,this.cY=0,typeof t?.centerX=="number"&&typeof t?.centerY=="number"&&this.forceSetCXY(t.centerX-this.x,t.centerY-this.y),this.degree=t?.degree||0,this.scalarX=1,this.scalarY=1,t?.scalar!==void 0&&(this.scalarX=t.scalar,this.scalarY=t.scalar),t?.scalarX!==void 0&&(this.scalarX=t.scalarX),t?.scalarY!==void 0&&(this.scalarY=t.scalarY),this.diffXInGroup=t?.diffXInGroup||0,this.diffYInGroup=t?.diffYInGroup||0,this.diffDegreeInGroup=t?.diffDegreeInGroup||0,this.diffScalarXInGroup=t?.diffScalarXInGroup||1,this.diffScalarYInGroup=t?.diffScalarYInGroup||1,this.vx=t?.vx||0,this.vy=t?.vy||0,this.ax=t?.ax||0,this.ay=t?.ay||0,this.mass=t?.mass||1,this.attrs={stroke:"none",fill:"none"},t?.attrs&&this.setAttr(t?.attrs),this.enableDrag=t?.enableDrag||!1,this.alongPath=t?.alongPath,this.targetToAfterDragFree=t?.targetToAfterDragFree,this.followMouse=t?.followMouse||!1,this.isShow=typeof t?.isShow=="boolean"?t?.isShow:!0,this.strokeArmyAnts=t?.strokeArmyAnts||!1,this.strokeArmyAnts){const n=this.getAttr("stroke-dasharray","4 4");this.setAttr("stroke-dasharray",n),this.strokeDashTotalLength=zi(n).reduce((r,s)=>r+s,0)}return Yy(this)}forceSetCXY(t,o){this.cX=t,this.cY=o,this.forceCXY=!0}shapeInit(){}initPathD(){if(!this.pathd){if(this.pathd=new go,My(()=>{this.pathd?.reset(this.originD||this.toSVGPathData(),this.originMatrix)}),this.pathd&&!this.forceCXY){const t=this.shapes.length==0?this.pathd.getBoundingClientRect():this.getBoundingClientRect();t&&(this.pathd.cX=this.cX=t.x+t.width/2-this.pathd.x,this.pathd.cY=this.cY=t.y+t.height/2-this.pathd.y)}this.shapeInit()}return this.pathd}frameStart(t){}frameUpdate(t,o){this.pathd=this.initPathD(),this.pathd.update(this),this.strokeArmyAnts&&(this.isMouseIn||(this.setAttr("stroke-dashoffset",String(this.strokeArmyAntsOffset++)),this.strokeArmyAntsOffset>this.strokeDashTotalLength&&(this.strokeArmyAntsOffset=0)))}frameEnd(t){}toSVGPathData(){return[]}toSVGPathD(){return this.pathd?.toSVGPathD()||""}toCanvasContext(t){this.usePathDtoCanvasContext=!0,this.pathd?.toCanvasContext(t)}getBoundingClientRect(){return this.pathd?.getBoundingClientRect()||null}get center(){const t=this.getBoundingClientRect(),o={x:this.x,y:this.y};return t&&(o.x=t.x+t.width/2,o.y=t.y+t.height/2),o}trim(){if(this.parent)return;const t=this.getBoundingClientRect();if(!t)return;this.shapes.forEach(n=>{const r=n.originMatrix?n.originMatrix.clone():new Qe;r.translate(-t.x+n.x,-t.y+n.y),n.originMatrix=r});const o=this.originMatrix?this.originMatrix.clone():new Qe;o.translate(-t.x+this.x,-t.y+this.y),this.originMatrix=o}isPointInPath(t,o,n){if(n instanceof Ji)return n.isPointInPath(new Path2D(this.toSVGPathD()),t,o);let r;try{r=new SVGPoint(t,o)}catch{r=n.createSVGPoint(),r.x=t,r.y=o}if(this.el instanceof SVGGeometryElement)return this.el.isPointInFill(r);{const s=this.getBoundingClientRect();if(s)return t>=s.x&&t<=s.x+s.width&&o>=s.y&&o<=s.y+s.height}return!1}isPointInStroke(t,o,n){if(n instanceof Ji)return n.isPointInStroke(new Path2D(this.toSVGPathD()),t,o);let r;try{r=new SVGPoint(t,o)}catch{r=n.createSVGPoint(),r.x=t,r.y=o}return this.el instanceof SVGGeometryElement?this.el.isPointInStroke(r):!1}clone(){return wy(this).copy(this)}copy(t){return this.id=t.id,this.originD=t.originD,this.originMatrix=t.originMatrix,this.independentTransformInGroup=t.independentTransformInGroup,this.x=t.x,this.y=t.y,this.cX=t.cX,this.cY=t.cY,this.degree=t.degree,this.scalarX=t.scalarX,this.scalarY=t.scalarY,this.diffXInGroup=t.diffXInGroup,this.diffYInGroup=t.diffYInGroup,this.diffDegreeInGroup=t.diffDegreeInGroup,this.diffScalarXInGroup=t.diffScalarXInGroup,this.diffScalarYInGroup=t.diffScalarYInGroup,this.vx=t.vx,this.vy=t.vy,this.ax=t.ax,this.ay=t.ay,this.mass=t.mass,this.attrs={...t.attrs},this.enableDrag=t.enableDrag,this.alongPath=t.alongPath,this.targetToAfterDragFree=t.targetToAfterDragFree,this.followMouse=t.followMouse,this.isShow=t.isShow,this.strokeArmyAnts=t.strokeArmyAnts,this.strokeDashTotalLength=t.strokeDashTotalLength,this}save(){}restore(){}setAttr(t,o){typeof t!="string"?Object.assign(this.attrs,Object.fromEntries(Object.entries(t).map(([n,r])=>[No(n),r]))):o&&(this.attrs[No(t)]=o)}getAttr(t,o){return this.attrs[t]||this.attrs[No(t)]||o}getAttrs(){return this.attrs}hasAttr(t){return!!this.attrs[t]||!!this.attrs[No(t)]}distance(t){return Zf(this.x,this.y,t.x,t.y)}rotateTo(t){this.degree=Ke(Ms(this.x,this.y,t.x,t.y))}followTo(t,o=3){this.rotateTo(t);const{dx:n,dy:r}=Bs(ae(this.degree),o);this.vx=n,this.vy=r,this.run()}followAccelerationTo(t,o=.05){this.rotateTo(t);const{dx:n,dy:r}=Bs(ae(this.degree),o);this.ax=n,this.ay=r,this.run()}checkCollision(t){}checkWall(t){}gravitateTo(t){const o=t.x-this.x,n=t.y-this.y,r=o*o+n*n,s=Math.sqrt(r),a=this.mass*t.mass/r,l=a*o/s,i=a*n/s;this.vx+=l/this.mass,this.vy+=i/this.mass,t.vx-=l/t.mass,t.vy-=i/t.mass}run(t){this.vx+=this.ax,this.vy+=this.ay;const o=xn(t?.gravity,0);this.vy+=o;const n=xn(t?.friction,1);this.vx*=n,this.vy*=n,this.x+=this.vx,this.y+=this.vy}runEaseTo(t,o){const n=xn(o?.easing,.05),r=t.x-this.cX-this.x,s=t.y-this.cY-this.y;this.vx=r*n,this.vy=s*n,this.run(o)}runSpringTo(t,o){const n=xn(o?.spring,.03);(Array.isArray(t)?t:[t]).forEach(r=>{const s=r.x-this.cX-this.x,a=r.y-this.cY-this.y,l=s*n,i=a*n;this.vx+=l,this.vy+=i}),this.run({friction:.9,...o})}springMassTo(t,o){const n=xn(o?.springLength,100),r=xn(o?.spring,1e-4),s=t.x-this.x,a=t.y-this.y,l=Math.sqrt(s*s+a*a);if(l<n){const i=s*r,c=a*r;return this.vx+=i/this.mass,this.vy+=c/this.mass,t.vx-=i/t.mass,t.vy-=c/t.mass,1-l/n}return 0}getTotalLength(){return this.initPathD().getTotalLength()}interpolate(t){return this.initPathD().interpolate(t)}getPointAtLength(t){return this.initPathD().getPointAtLength(t)}trailPath(t,o=0){const n=this.getTotalLength();return t.originD=this.initPathD().getSubpath(0,o*n),this.getPointAtLength(o*n)}strokeDashTween(t=1e3,o){const n=this.initPathD(),r=Pe(n.getTotalLength(),0);this.setAttr({strokeDasharray:`${r} ${r}`,strokeDashoffset:`${r}`});const s=o?.onUpdate,a=new Ge({frameDuration:t});a.addTween({offset:r},{offset:0},Object.assign(o||{},{onUpdate:(l,i)=>{this.setAttr("strokeDashoffset",""+Pe(l.offset,2)),s?.(l,i)}})),a.play()}}const bv=Rr;class _v extends Rr{x;y;z;fl;vpX;vpY;cX;cY;cZ;radius;constructor(t){super(t),this.x=t?.x||0,this.y=t?.y||0,this.z=t?.z||0,this.fl=t?.fl||250,this.vpX=t?.vpX||0,this.vpY=t?.vpY||0,this.cX=t?.cX||0,this.cY=t?.cY||0,this.cZ=t?.cZ||0,this.radius=t?.radius||0}toSVGPathData(){return this.radius?[["M",this.getScreenX(),this.getScreenY()-this.radius],["a",this.radius,this.radius,0,1,1,0,2*this.radius],["a",this.radius,this.radius,0,1,1,0,-2*this.radius],["z"]]:[["M",this.getScreenX(),this.getScreenY()]]}toCanvasContext(t){t.beginPath(),t.arc(0,0,this.radius,0,Math.PI*2,!0),t.closePath()}setVanishingPoint(t,o){this.vpX=t,this.vpY=o}setCenter(t,o,n){this.cX=t,this.cY=o,this.cZ=n}rotateX(t){({x:this.y,y:this.z}=el(ae(t),this.y,this.z))}rotateY(t){({x:this.x,y:this.z}=el(ae(t),this.x,this.z))}rotateZ(t){({x:this.x,y:this.y}=el(ae(t),this.x,this.y))}getScreenX(){const t=this.fl/(this.fl+this.z+this.cZ);return this.vpX+(this.cX+this.x)*t}getScreenY(){const t=this.fl/(this.fl+this.z+this.cZ);return this.vpY+(this.cY+this.y)*t}eq(t){return this.x===t.x&&this.y===t.y&&this.z===t.z&&this.radius===t.radius&&this.mass===t.mass}length(){return Xf(this.x,this.y,this.z)}distance(t){const o=t.x-this.x,n=t.y-this.y,r=t.z-this.z;return Math.sqrt(o*o+n*n+r*r)}scalar(t){return this.x*=t,this.y*=t,this.z*=t,this}normalize(t=1){const o=this.length();if(o){const n=t/o;this.scalar(n)}return this}clamp(t){const o=this.length();return o&&o>t&&this.scalar(t/o),this}cross(t){const o=this.x,n=this.y,r=this.z;return{x:n*t.z-r*t.y,y:r*t.x-o*t.z,z:o*t.y-n*t.x}}multiply(t){return{x:this.x*t.x,y:this.y*t.y,z:this.z*t.z}}div(t){return{x:this.x/t.x,y:this.y/t.y,z:this.z/t.z}}add(t){return{x:this.x+t.x,y:this.y+t.y,z:this.z+t.z}}sub(t){return{x:this.x-t.x,y:this.y-t.y,z:this.z-t.z}}dot(t){return this.x*t.x+this.y*t.y+this.z*t.z}reflect(t){const o=this.dot(t);return{x:this.x-2*o*t.x,y:this.y-2*o*t.y,z:this.z-2*o*t.z}}}const Gs=_v,qf=[1,0,0,1,0,0],Kf=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];class Qe{value;_m13=0;_m23=0;_m33=1;matrix3d;constructor(t=qf){this.value=Array.from(t),this.m13=0,this.m23=0,this.m33=1,this.matrix3d=this.toMatrix3D()}static fromString(t){const o=new Qe,n=Cf("number",t);return n.length===6&&n.forEach((r,s)=>{r.fullMatch&&(o.value[s]=parseFloat(r.fullMatch))}),o}get m11(){return this.value[0]}get m12(){return this.value[1]}get m13(){return this._m13}get m21(){return this.value[2]}get m22(){return this.value[3]}get m23(){return this._m23}get m31(){return this.value[4]}get m32(){return this.value[5]}get m33(){return this._m33}set m11(t){this.value[0]=t}set m12(t){this.value[1]=t}set m13(t){this._m13=t}set m21(t){this.value[2]=t}set m22(t){this.value[3]=t}set m23(t){this._m23=t}set m31(t){this.value[4]=t}set m32(t){this.value[5]=t}set m33(t){this._m33=t}toMatrix3D(t=this.matrix3d){const o=[this.m11,this.m12,0,this.m13,this.m21,this.m22,0,this.m23,0,0,1,0,this.m31,this.m32,0,this.m33];return t?(t.value=o,t):new ao(o)}identity(){return this.value=Array.from(qf),this.m13=0,this.m23=0,this.m33=1,this.matrix3d=this.toMatrix3D(),this}get isIdentity(){return this.m11==1&&this.m12==0&&this.m13==0&&this.m21==0&&this.m22==1&&this.m23==0&&this.m31==0&&this.m32==0&&this.m33==1}scalar(t){return this.m11*=t,this.m12*=t,this.m13*=t,this.m21*=t,this.m22*=t,this.m23*=t,this.m31*=t,this.m32*=t,this.m33*=t,this}normalize(){const t=this.m33||1e-4;return this.scalar(1/t)}transformPoint(t){const o=t.z||1;return{x:t.x*this.m11+t.y*this.m21+o*this.m31,y:t.x*this.m12+t.y*this.m22+o*this.m32,z:t.x*this.m13+t.y*this.m23+o*this.m33}}clone(){return new Qe([...this.value])}multiply(t){const o=this.clone(),n=t instanceof Qe?t:new Qe(t);return this.m11=n.m11*o.m11+n.m12*o.m21+n.m13*o.m31,this.m12=n.m11*o.m12+n.m12*o.m22+n.m13*o.m32,this.m13=n.m11*o.m13+n.m12*o.m23+n.m13*o.m33,this.m21=n.m21*o.m11+n.m22*o.m21+n.m23*o.m31,this.m22=n.m21*o.m12+n.m22*o.m22+n.m23*o.m32,this.m23=n.m21*o.m13+n.m22*o.m23+n.m23*o.m33,this.m31=n.m31*o.m11+n.m32*o.m21+n.m33*o.m31,this.m32=n.m31*o.m12+n.m32*o.m22+n.m33*o.m32,this.m33=n.m31*o.m13+n.m32*o.m23+n.m33*o.m33,this}append(t){return this.multiply(t)}prepend(t){return t.multiply(this),this}inverse(){const t=this.m11,o=this.m12,n=this.m13,r=this.m21,s=this.m22,a=this.m23,l=this.m31,i=this.m32,c=this.m33,u=c*s-a*i,f=-c*r+a*l,d=i*r-s*l;let h=t*u+o*f+n*d;return h?(h=1/h,this.m11=u*h,this.m12=(-c*o+n*i)*h,this.m13=(a*o-n*s)*h,this.m21=f*h,this.m22=(c*t-n*l)*h,this.m23=(-a*t+n*r)*h,this.m31=d*h,this.m32=(-i*t+o*l)*h,this.m33=(s*t-o*r)*h,this):null}adjugate(){const t=new Qe;return t.m11=this.m22*this.m33-this.m32*this.m23,t.m12=this.m32*this.m13-this.m12*this.m33,t.m13=this.m12*this.m23-this.m22*this.m13,t.m21=this.m31*this.m23-this.m21*this.m33,t.m22=this.m11*this.m33-this.m31*this.m13,t.m23=this.m21*this.m13-this.m11*this.m23,t.m31=this.m21*this.m32-this.m31*this.m22,t.m32=this.m31*this.m12-this.m11*this.m32,t.m33=this.m11*this.m22-this.m21*this.m12,t}split(){let t=Ke(Math.atan2(this.m12,this.m11));return this.m11<0&&this.m22>=0&&(t+=180),{x:this.m31,y:this.m32,degree:t,scaleX:Math.sqrt(this.m11*this.m11+this.m12*this.m12),scaleY:Math.sqrt(this.m21*this.m21+this.m22*this.m22),skewX:Ke(Math.atan2(-this.m21,this.m22)),skewY:Ke(Math.atan2(this.m12,this.m11))}}getGroupCoords(t){const o=this.value[0],n=this.value[1],r=this.value[2],s=this.value[3],a=this.value[4],l=this.value[5],i=t.value[0],c=t.value[1],u=t.value[2],f=t.value[3],d=t.value[4],h=t.value[5],p=i*f,w=c*u,x=(u*n-o*f)/(w-p),v=(i*n-o*c)/(p-w),g=(u*s-r*f)/(w-p),y=(i*s-r*c)/(p-w),m=(u*(l-h)+f*(d-a))/(w-p),_=(i*(l-h)+c*(d-a))/(p-w),C=[x,v,g,y,m,_];return new Qe(C)}toString(t=6){return this.matrix3d.is2D()?`matrix(${this.value.map(o=>Pe(o,t)).join(",")})`:this.matrix3d.toString()}translate(t,o){return this.multiply([1,0,0,1,t,o]),this.toMatrix3D(),this}translateTo(t,o){return this.translate(t-this.m31,o-this.m32)}translateX(t){return this.translate(t,0)}translateXTo(t){return this.translateTo(t,this.m32)}translateY(t){return this.translate(0,t)}translateYTo(t){return this.translateTo(this.m31,t)}translateZ(t){return this.matrix3d.translate(0,0,t),this.matrix3d.toMatrix(this),this}translateZTo(t){return this.translateZ(t-this.matrix3d.m43),this}translate3d(t,o,n){return this.matrix3d.translate(t,o,n),this.matrix3d.toMatrix(this),this}translate3dTo(t,o,n){return this.translate3d(t-this.matrix3d.m41,o-this.matrix3d.m42,n-this.matrix3d.m43),this}rotate(t,o=0,n=0){const r=ae(t),s=Math.cos(r),a=Math.sin(r);return this.translate(o,n),this.multiply([s,a,-a,s,0,0]),this.translate(-o,-n),this.toMatrix3D(),this}rotateTo(t,o=0,n=0){const{degree:r}=this.split();return this.rotate(t-r,o,n),this}rotateX(t){return this.matrix3d.rotateX(t),this.matrix3d.toMatrix(this),this}rotateXTo(t){const{degreeX:o}=this.matrix3d.split();return this.rotateX(t-o),this}rotateY(t){return this.matrix3d.rotateY(t),this.matrix3d.toMatrix(this),this}rotateYTo(t){const{degreeY:o}=this.matrix3d.split();return this.rotateY(t-o),this}rotateZ(t){return this.matrix3d.rotateZ(t),this.matrix3d.toMatrix(this),this}rotateZTo(t){const{degreeZ:o}=this.matrix3d.split();return this.rotateZ(t-o),this}rotate3d(t,o,n){return this.matrix3d.rotateX(t).rotateY(o).rotateZ(n),this.matrix3d.toMatrix(this),this}rotate3dTo(t,o,n){const{degreeX:r,degreeY:s,degreeZ:a}=this.matrix3d.split();return this.rotate3d(t-r,o-s,n-a),this}scale(t,o=t,n=0,r=0){return this.translate(n,r),this.multiply([t,0,0,o,0,0]),this.translate(-n,-r),this.toMatrix3D(),this}scaleTo(t,o=t,n=0,r=0){return this.scale(t/this.m11,o/this.m22,n,r)}scaleX(t){return this.scale(t,1)}scaleXTo(t){return this.scale(t/this.m11,1)}scaleY(t){return this.scale(1,t)}scaleYTo(t){return this.scale(1,t/this.m22)}scaleZ(t){return this.matrix3d.scale(1,1,t),this.matrix3d.toMatrix(this),this}scaleZTo(t){const{scalarZ:o}=this.matrix3d.split();return this.scaleZ(t/o),this}scale3d(t,o=t,n=t){return this.matrix3d.scale(t,o,n),this.matrix3d.toMatrix(this),this}scale3dTo(t,o=t,n=t){const{scalarX:r,scalarY:s,scalarZ:a}=this.matrix3d.split();return this.scale3d(t/r,o/s,n/a),this}skew(t,o=t){return this.multiply([Math.cos(ae(o)),Math.sin(ae(o)),-Math.sin(ae(t)),Math.cos(ae(t)),0,0]),this.toMatrix3D(),this}skewTo(t,o=t){const{skewX:n,skewY:r}=this.split();return this.skew(t-n,o-r)}skewX(t){const{skewY:o}=this.split();return this.skew(t,o)}skewXTo(t){const{skewY:o}=this.split();return this.skewTo(t,o)}skewY(t){const{skewX:o}=this.split();return this.skew(o,t)}skewYTo(t){const{skewX:o}=this.split();return this.skewTo(o,t)}skewZ(t){return this}skewZTo(t){return this}skew3d(t,o,n){return this}skew3dTo(t,o,n){return this}perspective(t){return this.matrix3d.perspective(t),this.matrix3d.toMatrix(this),this}}class ao{value;is3dSpecial=!1;constructor(t=Kf){this.value=Array.from(t)}static fromString(t){const o=new ao,n=Cf("number",t);return n.length===16&&n.forEach((r,s)=>{r.fullMatch&&(o.value[s]=parseFloat(r.fullMatch))}),o}get m11(){return this.value[0]}get m12(){return this.value[1]}get m13(){return this.value[2]}get m14(){return this.value[3]}get m21(){return this.value[4]}get m22(){return this.value[5]}get m23(){return this.value[6]}get m24(){return this.value[7]}get m31(){return this.value[8]}get m32(){return this.value[9]}get m33(){return this.value[10]}get m34(){return this.value[11]}get m41(){return this.value[12]}get m42(){return this.value[13]}get m43(){return this.value[14]}get m44(){return this.value[15]}set m11(t){this.value[0]=t}set m12(t){this.value[1]=t}set m13(t){this.value[2]=t}set m14(t){this.value[3]=t}set m21(t){this.value[4]=t}set m22(t){this.value[5]=t}set m23(t){this.value[6]=t}set m24(t){this.value[7]=t}set m31(t){this.value[8]=t}set m32(t){this.value[9]=t}set m33(t){this.value[10]=t}set m34(t){this.value[11]=t}set m41(t){this.value[12]=t}set m42(t){this.value[13]=t}set m43(t){this.value[14]=t}set m44(t){this.value[15]=t}is2D(){return!this.is3dSpecial&&this.m31==0&&this.m32==0&&this.m33==1&&this.m34==0&&this.m43==0&&this.m44==1}is3D(){return!this.is2D()}identity(){return this.value=Array.from(Kf),this}get isIdentity(){return this.m11==1&&this.m12==0&&this.m13==0&&this.m14==0&&this.m21==0&&this.m22==1&&this.m23==0&&this.m24==0&&this.m31==0&&this.m32==0&&this.m33==1&&this.m34==0&&this.m41==0&&this.m42==0&&this.m43==0&&this.m44==1}clone(){return new ao([...this.value])}scalar(t){return this.m11*=t,this.m12*=t,this.m13*=t,this.m14*=t,this.m21*=t,this.m22*=t,this.m23*=t,this.m24*=t,this.m31*=t,this.m32*=t,this.m33*=t,this.m34*=t,this.m41*=t,this.m42*=t,this.m43*=t,this.m44*=t,this}normalize(){return this.scalar(1/(this.m44||1e-4))}transformPoint(t){const o=t.z||1,n=t.w||1;return{x:t.x*this.m11+t.y*this.m21+o*this.m31+n*this.m41,y:t.x*this.m12+t.y*this.m22+o*this.m32+n*this.m42,z:t.x*this.m13+t.y*this.m23+o*this.m33+n*this.m43,w:t.x*this.m14+t.y*this.m24+o*this.m34+n*this.m44}}toMatrix(t){const{scalarX:o,scalarY:n,skewX:r,skewY:s,x:a,y:l}=this.split(),i=[o,s,r,n,a,l];return t?(t.value=i,t):new Qe(i)}flatten(){return this.m31=0,this.m32=0,this.m33=1,this.m34=0,this.m14=0,this.m24=0,this.m43=0,this.m44=1,this}toString(t=6){return`matrix3d(${this.value.map(o=>Pe(o,t)).join(",")})`}split(){const t=Math.sqrt(this.m11*this.m11+this.m12*this.m12+this.m13*this.m13),o=Math.sqrt(this.m21*this.m21+this.m22*this.m22+this.m23*this.m23),n=Math.sqrt(this.m31*this.m31+this.m32*this.m32+this.m33*this.m33),r=Ke(le(Math.asin(-this.m13),-1,1));let s=Ke(Math.atan2(this.m23,this.m33));Math.cos(ae(r))===0&&(s=Ke(Math.atan2(-this.m31,this.m22)));let a=Ke(Math.atan2(this.m12,this.m11));return this.m11<0&&this.m22>=0&&(a+=180),{x:this.m41,y:this.m42,z:this.m43,scalarX:t,scalarY:o,scalarZ:n,degreeX:s,degreeY:r,degreeZ:a,skewX:Ke(this.m14),skewY:Ke(this.m24),skewZ:Ke(this.m34),skewW:this.m44,perspective:this.m34?-(1/this.m34):0}}inverse(){const t=[],o=this.m11,n=this.m12,r=this.m13,s=this.m14,a=this.m21,l=this.m22,i=this.m23,c=this.m24,u=this.m31,f=this.m32,d=this.m33,h=this.m34,p=this.m41,w=this.m42,x=this.m43,v=this.m44;t[0]=i*h*w-c*d*w+c*f*x-l*h*x-i*f*v+l*d*v,t[1]=s*d*w-r*h*w-s*f*x+n*h*x+r*f*v-n*d*v,t[2]=r*c*w-s*i*w+s*l*x-n*c*x-r*l*v+n*i*v,t[3]=s*i*f-r*c*f-s*l*d+n*c*d+r*l*h-n*i*h;const g=o*t[0]+a*t[1]+u*t[2]+p*t[3];if(g==0)return console.warn("Can't invert matrix, determinant is 0");t[4]=c*d*p-i*h*p-c*u*x+a*h*x+i*u*v-a*d*v,t[5]=r*h*p-s*d*p+s*u*x-o*h*x-r*u*v+o*d*v,t[6]=s*i*p-r*c*p-s*a*x+o*c*x+r*a*v-o*i*v,t[7]=r*c*u-s*i*u+s*a*d-o*c*d-r*a*h+o*i*h,t[8]=l*h*p-c*f*p+c*u*w-a*h*w-l*u*v+a*f*v,t[9]=s*f*p-n*h*p-s*u*w+o*h*w+n*u*v-o*f*v,t[10]=n*c*p-s*l*p+s*a*w-o*c*w-n*a*v+o*l*v,t[11]=s*l*u-n*c*u-s*a*f+o*c*f+n*a*h-o*l*h,t[12]=i*f*p-l*d*p-i*u*w+a*d*w+l*u*x-a*f*x,t[13]=n*d*p-r*f*p+r*u*w-o*d*w-n*u*x+o*f*x,t[14]=r*l*p-n*i*p-r*a*w+o*i*w+n*a*x-o*l*x,t[15]=n*i*u-r*l*u+r*a*f-o*i*f-n*a*d+o*l*d,this.value=t,this.scalar(1/g)}multiply(t){const o=this.clone();return this.m11=t.m11*o.m11+t.m12*o.m21+t.m13*o.m31+t.m14*o.m41,this.m12=t.m11*o.m12+t.m12*o.m22+t.m13*o.m32+t.m14*o.m42,this.m13=t.m11*o.m13+t.m12*o.m23+t.m13*o.m33+t.m14*o.m43,this.m14=t.m11*o.m14+t.m12*o.m24+t.m13*o.m34+t.m14*o.m44,this.m21=t.m21*o.m11+t.m22*o.m21+t.m23*o.m31+t.m24*o.m41,this.m22=t.m21*o.m12+t.m22*o.m22+t.m23*o.m32+t.m24*o.m42,this.m23=t.m21*o.m13+t.m22*o.m23+t.m23*o.m33+t.m24*o.m43,this.m24=t.m21*o.m14+t.m22*o.m24+t.m23*o.m34+t.m24*o.m44,this.m31=t.m31*o.m11+t.m32*o.m21+t.m33*o.m31+t.m34*o.m41,this.m32=t.m31*o.m12+t.m32*o.m22+t.m33*o.m32+t.m34*o.m42,this.m33=t.m31*o.m13+t.m32*o.m23+t.m33*o.m33+t.m34*o.m43,this.m34=t.m31*o.m14+t.m32*o.m24+t.m33*o.m34+t.m34*o.m44,this.m41=t.m41*o.m11+t.m42*o.m21+t.m43*o.m31+t.m44*o.m41,this.m42=t.m41*o.m12+t.m42*o.m22+t.m43*o.m32+t.m44*o.m42,this.m43=t.m41*o.m13+t.m42*o.m23+t.m43*o.m33+t.m44*o.m43,this.m44=t.m41*o.m14+t.m42*o.m24+t.m43*o.m34+t.m44*o.m44,this}translate(t=0,o=0,n=0){return this.multiply(new ao([1,0,0,0,0,1,0,0,0,0,1,0,t,o,n,1]))}scale(t=1,o=1,n=1){return this.multiply(new ao([t,0,0,0,0,o,0,0,0,0,n,0,0,0,0,1]))}rotateX(t){const o=ae(t),n=Math.cos(o),r=Math.sin(o);return this.multiply(new ao([1,0,0,0,0,n,r,0,0,-r,n,0,0,0,0,1]))}rotateY(t){const o=ae(t),n=Math.cos(o),r=Math.sin(o);return this.multiply(new ao([n,0,-r,0,0,1,0,0,r,0,n,0,0,0,0,1]))}rotateZ(t){this.is3dSpecial=!0;const o=ae(t),n=Math.cos(o),r=Math.sin(o);return this.multiply(new ao([n,r,0,0,-r,n,0,0,0,0,1,0,0,0,0,1]))}skew(t=0,o=0,n=0){return this.multiply(new ao([1,0,0,ae(t),0,1,0,ae(o),0,0,1,ae(n),0,0,0,1]))}perspective(t){return this.multiply(new ao([1,0,0,0,0,1,0,0,0,0,1,t?-(1/t):0,0,0,0,1]))}unproject(t){let o=t.x*this.m11+t.y*this.m21+this.m41,n=t.x*this.m12+t.y*this.m22+this.m42,r=t.x*this.m13+t.y*this.m23+this.m43,s=t.x*this.m14+t.y*this.m24+this.m44,a=o+this.m31,l=n+this.m32,i=r+this.m33,c=s+this.m34;s==0&&(s=1e-4),o/=s,n/=s,r/=s,c==0&&(c=1e-4),a/=c,l/=c,i/=c;const u=i-r;if(u==0)return{x:o,y:n,z:r,mass:s};const f=-r/u;return o+=f*(a-o),n+=f*(l-n),{x:o,y:n,z:r,mass:s}}project(t){const o=t.z;let n=t.x*this.m11+t.y*this.m21+o*this.m31+this.m41,r=t.x*this.m12+t.y*this.m22+o*this.m32+this.m42,s=t.x*this.m14+t.y*this.m24+o*this.m34+this.m44;return s==0&&(s=1e-4),n/=s,r/=s,s<0&&(n-=this.m41,r-=this.m42,n*=1/s,r*=1/s,n+=this.m41,r+=this.m42),{x:n,y:r,z:o,mass:s}}bounds(t,o,n,r){const s=new Gs({x:t,y:o}),a=new Gs({x:t+n,y:o}),l=new Gs({x:t+n,y:o+r}),i=new Gs({x:t,y:o+r});({x:s.x,y:s.y,z:s.z,mass:s.mass}=this.project(s)),{x:a.x,y:a.y,z:a.z,mass:a.mass}=this.project(a),{x:l.x,y:l.y,z:l.z,mass:l.mass}=this.project(l),{x:i.x,y:i.y,z:i.z,mass:i.mass}=this.project(i);const c=Math.min(s.x,a.x,l.x,i.x),u=Math.min(s.y,a.y,l.y,i.y),f=Math.max(s.x,a.x,l.x,i.x)-c,d=Math.max(s.y,a.y,l.y,i.y)-u;return{x:c,y:u,width:f,height:d}}}function el(e,t,o){const n=new Qe;return n.rotate(Ke(e)),n.transformPoint({x:t,y:o})}function ol(e,t,o){const n=Vf(e);return n.props.style=n.props.style||{},t?n.props.style[t]||n.props.style[gy(t)]||n.props.style[No(t)]||"":n.props.style}function Qf(e){const t={};if(getComputedStyle){const o=getComputedStyle(e);for(let n=0,r=o.length;n<r;n++)t[o[n]]=o.getPropertyValue(t[n])}else{const o=e.currentStyle;for(const n in o)t[n]=o[n]}return e.style.cssText&&e.style.cssText.split(";").filter(o=>!!o).forEach(o=>{const[n,r]=o.split(":");n&&r&&(t[n.trim()]=r.trim())}),t}function nl(e,t,o){typeof t=="string"&&o?e.style.setProperty(No(t),o.replace(/!important/i,""),String(o).toLowerCase().includes("!important")?"important":""):t instanceof Object&&Object.keys(t).forEach(n=>{nl(e,n,t[n])})}function Jf(e,t){typeof t=="string"?e.style.removeProperty(No(t)):Object.keys(t).forEach(o=>{Jf(e,o)})}function yo(e,t){let o;if(typeof t=="string"){const r=document.querySelector(t)?.shadowRoot;r?o=r:o=document.querySelector(t)}else o=t||document.getElementsByTagName("head")[0];const n=document.createElement("style");if(n.innerHTML=e,o)return o.appendChild(n),()=>{(o instanceof HTMLElement||o instanceof ShadowRoot)&&o.removeChild(n)};{const r=document.styleSheets[0].insertRule(e);return()=>{document.styleSheets[0].deleteRule(r)}}}function xv(e,t,o){if(t===void 0&&o===void 0)return td(e);if(typeof t=="string"&&o===void 0)return kv(e,t);let n={};typeof t=="object"?n=t:typeof t=="string"&&typeof o=="string"&&(n[t]=""+o),lv(e,r=>{Object.entries(n).forEach(([s,a])=>{r.props[s]=""+a})})}function td(e){const t={};for(let o=0,n=e.attributes,r=n.length;o<r;o++){const s=n[o];s.nodeName&&s.nodeValue&&(s.nodeName==="style"?t[s.nodeName]=Qf(e):t[s.nodeName]=s.nodeValue)}return t}function kv(e,t){return t==="style"?Qf(e):e.getAttribute(No(t))}function ed(e,t,o){return e.setAttribute(No(t),""+o)}function wv(e,t){const o=[];return o.push(Be(e,"dragenter",n=>{Ds(n),t?.onEnter?.(n)})),o.push(Be(e,"dragover",n=>{Ds(n);const r=n.dataTransfer;r&&(r.dropEffect="move"),t?.onOver?.(n)})),o.push(Be(e,"dragleave",n=>{Ds(n),t?.onLeave?.(n)})),o.push(Be(e,"drop",n=>{Ds(n);const r=n.dataTransfer;if(!r){t?.onDrop?.(n,[]);return}t?.onDrop?.(n,[...r.files])})),()=>{o.forEach(n=>n())}}const io=Tr();let od="";new MutationObserver((e,t)=>{location.href!==od&&(od=location.href,io.emit("urlchange",location.href))}).observe(document,{attributes:!0,childList:!0,subtree:!0}),Be(window,"hashchange",()=>{io.emit("hashchange",location.hash)}),Be(window,"popstate",e=>{io.emit("popstate",e.state)}),Be(window,"orientationchange"in window?"orientationchange":"resize",e=>{const t=e.target.innerWidth,o=e.target.innerHeight;io.emit("windowresize",t,o)}),Be(window,"load",e=>{io.emit("load",e)}),Be(window,"beforeunload",e=>{io.emit("beforeunload",e)}),Be(window,"pagehide",e=>{io.emit("pagehide",e)}),Be(window,"focus",e=>{io.emit("focus",e)}),Be(window,"blur",e=>{io.emit("blur",e)}),Be(window,"visibilitychange",e=>{document.hidden?io.emit("windowhidden",e):io.emit("windowvisible",e)});function nd(e){document.getElementsByTagName("title")[0].innerText=e,document.title=e}let rd=!1;function Us(){rd||(rd=!0,yo(`
39
- /* iOS > 11.2 */
40
- /* 注意:--xxx:后面不要有空格 */
38
+ `.replace(/\s+/g,""),"u");break;case"mime-image":t=/^image\//;break;case"mime-video":t=/^video\//;break;case"mime-audio":t=/^audio\//;break;case"mime-document-word":t=/^application\/(?:vnd\.openxmlformats-officedocument\.wordprocessingml\.document|msword|vnd\.ms-word\.document\.macroenabled\.12|vnd\.openxmlformats-officedocument\.wordprocessingml\.template|vnd\.ms-word\.template\.macroenabled\.12)$/;break;case"mime-document-excel":t=/^application\/(?:vnd\.openxmlformats-officedocument\.spreadsheetml\.sheet|vnd\.ms-excel|vnd\.ms-excel\.sheet\.macroenabled\.12|vnd\.openxmlformats-officedocument\.spreadsheetml\.template|vnd\.ms-excel\.template\.macroenabled\.12)$/;break;case"mime-document-ppt":t=/^application\/(?:vnd\.ms-powerpoint|vnd\.openxmlformats-officedocument\.presentationml\.presentation|vnd\.ms-powerpoint\.presentation\.macroenabled\.12|vnd\.openxmlformats-officedocument\.presentationml\.template|vnd\.ms-powerpoint\.template\.macroenabled\.12)$/;break;case"mime-document-json":t=/^application\/json$/;break;case"mime-document-xml":t=/^(?:application|text)\/(?:xml|xhtml\+xml)$/;break}return t},s1=(o,t)=>(typeof o=="string"&&(o=Zr(o)||new RegExp(o)),o.test(t)),ed=(o,t)=>{typeof o=="string"&&(o=Zr(o)||new RegExp(o));const e=t.match(o);return e?o.flags.toLowerCase().indexOf("g")>=0?e.map(n=>({matchIndex:-1,fullMatch:n,groupMatchs:[]})):{matchIndex:typeof e.index=="number"?e.index:-1,fullMatch:e[0],groupMatchs:e.slice(1)}:null},od=(o,t)=>{typeof o=="string"&&(o=Zr(o)||new RegExp(o));const e=[],n=t.matchAll(o);for(const s of n)e.push({matchIndex:typeof s.index=="number"?s.index:-1,fullMatch:s[0],groupMatchs:s.slice(1)});return e};function Mn(o=12){const t="ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghijklmnopqrstuvwxyz0123456789",e=t.length;let n="";for(let s=0;s<o;s++)n+=t[Math.floor(Math.random()*e)];return n}function r1(o){return o.replace(/(^\w)/g,t=>t.toLowerCase())}const ko=(o,t="-")=>{let e=o.replace(new RegExp(`${t}?([A-Z])`,"g"),t+"$1").toLowerCase();return e=e.replace(new RegExp(`^${t}`),""),e};function a1(o){return o.replace(/(^\w|[_-]\w)/g,t=>t.slice(-1).toUpperCase())}function i1(o){return r1(a1(o))}const sl=(o,t="")=>(o=o.replaceAll(/\[data-v-[0-9a-zA-Z]*\]/g,t),o),l1="[object String]",c1="[object Symbol]";function nd(o){return Object.prototype.toString.call(o)}function u1(o){return o!=null}function f1(o){return nd(o)===l1}function d1(o){return o===o+0}function h1(o){return nd(o)===c1}function p1(o,...t){return new o.constructor(...t)}function sd(o){for(const t in o)Object.prototype.hasOwnProperty.call(o,t)&&delete o[t];return o}function Ln(o=[],t=[]){const e=o.length,n=t.length;for(let r=0;r<n;r++)o[r]=t[r];let s=Math.max(0,e-n);for(;s>0;)o.pop(),s--;return o}function rl(o){for(;o.length;)o.pop()}function rd(o,t){const e=o.findIndex(n=>n===t);return e>=0&&o.splice(e,1),o}function m1(o,t){return o.findIndex(e=>e==t)>=0}let ad;try{ad=Map}catch{ad=function(){}}let id;try{id=Set}catch{id=function(){}}function al(o){return Number.isNaN(o)}function fo(o,t){const e=parseFloat(o);if(Number.isNaN(e)){if(typeof t=="number")return t;throw new Error(`parseNumber(${o}) is NaN!`)}return e}function ld(o,t,e=Number.EPSILON*Math.pow(2,2)){return Math.abs(o-t)<e}function Vt(o,t,e){const n=Math.min(t,e),s=Math.max(t,e);return o<n?n:o>s?s:o}function g1(o,t){return(o%t+t)%t}function il(o,t,e){return(1-e)*o+e*t}function y1(o,t,e,n,s){return n+(s-n)*((o-t)/(e-t))}const v1=(o,t,e)=>n=>{const s=Vt(n,o,t);return e==0?s:t-s<e?t:Math.round(s/e)*e};function b1(o,t=12){return fo(o,0).toFixed(t)}function ke(o,t=12){return+b1(o,t)}function Bn(o,t){const e=ed("number-single",String(o));return{hasNumber:!!e,number:e&&!Array.isArray(e)&&e.fullMatch?parseFloat(e.fullMatch):u1(t)?t:NaN,prefix:e&&!Array.isArray(e)&&e.fullMatch?o.substring(0,e.matchIndex):"",suffix:e&&!Array.isArray(e)&&e.fullMatch?o.substring(e.matchIndex+e.fullMatch.length):""}}function ll(o){const t=ed("number",o);return t?Array.isArray(t)?t.map(e=>Number(e.fullMatch)):[Number(t.fullMatch)]:[]}_1();function _1(){const o=new ArrayBuffer(4),t=new Float32Array(o),e=new Uint32Array(o),n=new Uint32Array(512),s=new Uint32Array(512);for(let l=0;l<256;++l){const c=l-127;c<-27?(n[l]=0,n[l|256]=32768,s[l]=24,s[l|256]=24):c<-14?(n[l]=1024>>-c-14,n[l|256]=1024>>-c-14|32768,s[l]=-c-1,s[l|256]=-c-1):c<=15?(n[l]=c+15<<10,n[l|256]=c+15<<10|32768,s[l]=13,s[l|256]=13):c<128?(n[l]=31744,n[l|256]=64512,s[l]=24,s[l|256]=24):(n[l]=31744,n[l|256]=64512,s[l]=13,s[l|256]=13)}const r=new Uint32Array(2048),a=new Uint32Array(64),i=new Uint32Array(64);for(let l=1;l<1024;++l){let c=l<<13,u=0;for(;!(c&8388608);)c<<=1,u-=8388608;c&=-8388609,u+=947912704,r[l]=c|u}for(let l=1024;l<2048;++l)r[l]=939524096+(l-1024<<13);for(let l=1;l<31;++l)a[l]=l<<23;a[31]=1199570944,a[32]=2147483648;for(let l=33;l<63;++l)a[l]=2147483648+(l-32<<23);a[63]=3347054592;for(let l=1;l<64;++l)l!==32&&(i[l]=1024);return{floatView:t,uint32View:e,baseTable:n,shiftTable:s,mantissaTable:r,exponentTable:a,offsetTable:i}}var cd=(o=>(o.UNKNOWN="",o.TEXT="text/plain",o.MD="text/plain",o.HTML="text/html",o.XML_TEXT="text/xml",o.CSS="text/css",o.JPEG="image/jpeg",o.PNG="image/png",o.GIF="image/gif",o.BMP="image/bmp",o.WEBP="image/webp",o.SVG="image/svg+xml",o.ICON="image/x-icon",o.MICROSOFT_ICON="image/vnd.microsoft.icon",o.MPEG="audio/mpeg",o.MP3="audio/mpeg",o.MP4="video/mp4",o.OGG="audio/ogg",o.WAV="audio/wav",o.MIDI="audio/midi",o.WEBM="video/webm",o.VIDEO_OGG="video/ogg",o.OCTET_STREAM="application/octet-stream",o.JAVASCRIPT="application/javascript",o.ECMASCRIPT="application/ecmascript",o.JSON="application/json",o.XML="application/xml",o.XHTML="application/xhtml+xml",o.XWWW="application/x-www-form-urlencoded",o.DOC="application/msword",o.CSV="application/x-csv",o.EXCEL="application/vnb.ms-excel",o.PPT="application/vnb.mspowerpoint",o.PDF="application/pdf",o.ZIP="application/zip",o.TGZ="application/x-gtar",o.TAR_GZ="application/x-gzip",o.EOT="appliaction/vnd.ms-fontobject",o.TTF="aplication/font-sfnt",o.PKCS12="aplication/pkcs12",o))(cd||{}),Ur=(o=>(o.ascii="ascii",o.utf8="utf8",o.utf16le="utf16le",o.ucs2="ucs2",o.base64="base64",o.base64url="base64url",o.latin1="latin1",o.binary="binary",o.hex="hex",o))(Ur||{});const ud=(o,t,e)=>t?e===Ur.base64?new Blob([o],{type:`${t};${e}`}):e===Ur.utf8?new Blob([o],{type:`${t};charset=${e}`}):new Blob([o],{type:`${t}`}):new Blob([o]);function le(){return(performance||Date).now()}function x1(o){const t=Math.max(o.length,6);let e=0;e+=(o[t-2]||0)*10+(o[t-1]||0),e+=((o[t-4]||0)*10+(o[t-3]||0))*60;let n=0;for(let s=0;s<t-4;s++)n=n*10+(o[s]||0);return e+=n*60*60,e=Math.floor(Math.max(0,e)),e}function cl(o,t=!1){let e=0,n;typeof o=="number"?(e=o,n=[]):(n=o,e=x1(n),rl(n));const s=e%60;n.unshift(s%10),n.unshift(Math.floor(s/10)),e=Math.floor(e/60);const r=e%60;if(n.unshift(r%10),n.unshift(Math.floor(r/10)),e=Math.floor(e/60),t){const a=e%100;for(n.unshift(a%10),n.unshift(Math.floor(a/10)),e=Math.floor(e/100);e;)n.unshift(e%10),e=Math.floor(e/10)}else{const a=e%24;n.unshift(a%10),n.unshift(Math.floor(a/10))}return n}function k1(o,t=!1){const e=[],n=ll(o);for(let s=0,r=Math.max(n.length,3);s<r;s++){let a=Math.floor(Math.abs(n[s]||0));if(s==0)if(t){const i=a%100;for(e.push(Math.floor(i/10)),e.push(i%10),a=Math.floor(a/100);a;)e.unshift(a%10),a=Math.floor(a/10)}else{const i=a%24;e.push(Math.floor(i/10)),e.push(i%10)}else e.push(Math.floor(a/10)),e.push(a%10)}return cl(e,t)}function ul(o,t=1,e=!1){return o[o.length-1]+=t,cl(o,e)}function fl(o,t=1,e=!1){return o[o.length-1]-=t,cl(o,e)}function w1(o,t){Ln(t,o)}function C1(o="x不能为空!"){return{match:t=>t!=null&&t!=="",error:o}}function T1(o="邮箱格式不正确!"){return{match:t=>s1("email",t),error:o}}function E1(o,t){const e=t.reduce((n,s)=>{const{match:r,error:a}=s;return r(o)||n.push(a),n},[]);return{valid:e.length===0,errors:e}}function Vn(o,t){return E1(o,[C1(t?.emptyError||"邮箱不能为空!"),T1(t?.error||"邮箱格式不正确!")])}class Hr{events;constructor(){this.events={}}isEmpty(t){return this.events[t]==null||this.events[t].length==0}has(t,e){return this.events[t]!==void 0&&this.events[t].indexOf(e)!==-1}prependListener(t,e){return this.events[t]||(this.events[t]=[]),this.events[t].unshift(e),this}addListener(t,e){return this.events[t]||(this.events[t]=[]),this.events[t].push(e),this}on(t,e){return this.addListener(t,e),this}removeListener(t,e){return this.events[t]&&(this.events[t]=this.events[t].filter(n=>n!==e)),this}off(t,e){return this.removeListener(t,e),this}removeAllListeners(t){return t?this.events[t]=[]:this.events={},this}emit(t,...e){return this.events[t]&&this.events[t].slice(0).forEach(s=>{s(...e)}),this}once(t,e){const s=(()=>{let r=!1;return(...a)=>{r||(r=!0,e(...a),this.off(t,s))}})();return this.on(t,s),this}}class jr extends Hr{results=[];queue=[];rs;controller;concurrency;activeTaskCount=0;constructor(t=1){super(),this.concurrency=t,this.rs=new ReadableStream({start:async e=>{this.controller=e}})}get stream(){return this.rs}clearUnstartTasks(){this.queue=[]}addTask(t){Array.isArray(t)?this.queue.push(...t):this.queue.push(t),this.activeTaskCount<this.concurrency&&this.queue.length>0&&this.runTasks()}async runTasks(){for(;this.activeTaskCount<this.concurrency&&this.queue.length>0;){const t=this.queue.splice(0,this.concurrency-this.activeTaskCount);this.activeTaskCount+=t.length;const e=await Promise.allSettled(t.map(s=>s())),n=this.results.length;e.forEach((s,r)=>{if(s.status=="fulfilled"){const a=s.value;this.results.push(a),this.controller?.enqueue(a),this.emit("success",n+r,a)}else if(s.status=="rejected"){const a=new Error(s.reason);this.results.push(a),this.controller?.enqueue(a),this.emit("error",n+r,a)}}),this.activeTaskCount-=e.length}}}class dl{_maps=new Map;_mapsAddedDuringUpdate=new Map;_overflow;constructor(t){this._overflow=()=>{if(!t)return!1;const e=this.length;return e==0?!1:t?.overflow?t.overflow():!!t.size&&t.size>0&&e>=t.size}}entries(){return Array.from(this._maps.entries())}keys(){return Array.from(this._maps.keys())}values(){return Array.from(this._maps.values())}json(){return this.entries().reduce((t,[e,n])=>((f1(e)||d1(e)||h1(e))&&(t[e]=n),t),{})}get length(){return this.entries().length}set(t,e){for(;this._overflow();){const n=this._maps.keys().next();n.done||this.delete(n.value)}this._maps.set(t,e),this._mapsAddedDuringUpdate.set(t,e)}get(t){return this._maps.get(t)}has(t){return this._maps.has(t)}getIndex(t){const e=this.entries();if(e.length&&e[t])return e[t]}top(){return this.getIndex(0)}shift(){const t=this.top();if(t){const[e]=t;this.delete(e)}return t}delete(t){return this._mapsAddedDuringUpdate.delete(t),this._maps.delete(t)}clear(){this._maps.clear(),this._mapsAddedDuringUpdate.clear()}flush(){this.clear()}filter(t){let e=Array.from(this._maps.entries());for(;e.length>0;){this._mapsAddedDuringUpdate.clear();for(let n=0,s=e.length;n<s;n++){const[r,a]=e[n];t(r,a)===!1&&this.delete(r)}e=Array.from(this._mapsAddedDuringUpdate.entries())}}}const S1=()=>{},O1=300;function hl(o,t=O1,e){const n=typeof e?.leading=="boolean"?e.leading:!0,s=typeof e?.trailing=="boolean"?e.trailing:!1;let r=!0;return function(...i){r&&(r=!1,setTimeout(()=>{!n&&s&&o.apply(this,i),r=!0},t),n&&o.apply(this,i))}}Array.prototype.ap=function(o){return this.reduce((t,e)=>t.concat(o.map(e)),[])};let $s;function pl(o){$s=o,o(),$s=null}class P1{subscribers=new Set;add(){$s&&!this.subscribers.has($s)&&this.subscribers.add($s)}notify(){this.subscribers.forEach(t=>t())}}const fd=new WeakMap;function Gr(o,t){let e=fd.get(o);e||(e=new Map,fd.set(o,e));let n=e.get(t);return n||(n=new P1,e.set(t,n)),n}function R1(o,t=!1){return Object.keys(o).forEach(e=>{let n=o[e];if(t&&typeof n=="object"&&n!==null)o[e]=ml(n,t);else{const s=Gr(o,e);Object.defineProperty(o,e,{configurable:!0,enumerable:!0,get(){return s.add(),n},set(r){n!=r&&(n=r,s.notify())}})}}),o}function dd(o,t=!1){return R1({value:o},t)}function ml(o,t=!1){const e={get(s,r,a){const i=Reflect.get(s,r,a);if(t&&typeof i=="object"&&i!==null&&!("isYZReactiveProxy"in i)){const c=ml(i,t);c.YZReactiveProxyParentTarget=s,c.YZReactiveProxyParentKey=r,Reflect.set(a,r,c)}return Gr(s,r).add(),Reflect.get(s,r,a)},set(s,r,a,i){const l=Reflect.get(s,r,i),c=Reflect.set(s,r,a,i);return Array.isArray(s)?Gr(s.YZReactiveProxyParentTarget,s.YZReactiveProxyParentKey).notify():l!=a&&Gr(s,r).notify(),c},has(s,r){return r==="isYZReactiveProxy"||r in s}};return new Proxy(o,e)}const I1=ml;function A1(o,t=(e,n)=>e<=n){const e=o.length;let n=Math.floor(e/2);for(;n>0;){for(let s=n;s<e;s++){const r=o[s];let a=s;for(;a>=n&&!t(o[a-n],r);)o[a]=o[a-n],a-=n;o[a]=r}n=Math.floor(n/2)}}let hd;try{hd=Promise}catch{hd=function(){}}function $1(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}var N1={exports:{}};(function(o,t){(function(e){o.exports=e()})(function(e){var n=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function s(k,g){var m=k[0],y=k[1],_=k[2],w=k[3];m+=(y&_|~y&w)+g[0]-680876936|0,m=(m<<7|m>>>25)+y|0,w+=(m&y|~m&_)+g[1]-389564586|0,w=(w<<12|w>>>20)+m|0,_+=(w&m|~w&y)+g[2]+606105819|0,_=(_<<17|_>>>15)+w|0,y+=(_&w|~_&m)+g[3]-1044525330|0,y=(y<<22|y>>>10)+_|0,m+=(y&_|~y&w)+g[4]-176418897|0,m=(m<<7|m>>>25)+y|0,w+=(m&y|~m&_)+g[5]+1200080426|0,w=(w<<12|w>>>20)+m|0,_+=(w&m|~w&y)+g[6]-1473231341|0,_=(_<<17|_>>>15)+w|0,y+=(_&w|~_&m)+g[7]-45705983|0,y=(y<<22|y>>>10)+_|0,m+=(y&_|~y&w)+g[8]+1770035416|0,m=(m<<7|m>>>25)+y|0,w+=(m&y|~m&_)+g[9]-1958414417|0,w=(w<<12|w>>>20)+m|0,_+=(w&m|~w&y)+g[10]-42063|0,_=(_<<17|_>>>15)+w|0,y+=(_&w|~_&m)+g[11]-1990404162|0,y=(y<<22|y>>>10)+_|0,m+=(y&_|~y&w)+g[12]+1804603682|0,m=(m<<7|m>>>25)+y|0,w+=(m&y|~m&_)+g[13]-40341101|0,w=(w<<12|w>>>20)+m|0,_+=(w&m|~w&y)+g[14]-1502002290|0,_=(_<<17|_>>>15)+w|0,y+=(_&w|~_&m)+g[15]+1236535329|0,y=(y<<22|y>>>10)+_|0,m+=(y&w|_&~w)+g[1]-165796510|0,m=(m<<5|m>>>27)+y|0,w+=(m&_|y&~_)+g[6]-1069501632|0,w=(w<<9|w>>>23)+m|0,_+=(w&y|m&~y)+g[11]+643717713|0,_=(_<<14|_>>>18)+w|0,y+=(_&m|w&~m)+g[0]-373897302|0,y=(y<<20|y>>>12)+_|0,m+=(y&w|_&~w)+g[5]-701558691|0,m=(m<<5|m>>>27)+y|0,w+=(m&_|y&~_)+g[10]+38016083|0,w=(w<<9|w>>>23)+m|0,_+=(w&y|m&~y)+g[15]-660478335|0,_=(_<<14|_>>>18)+w|0,y+=(_&m|w&~m)+g[4]-405537848|0,y=(y<<20|y>>>12)+_|0,m+=(y&w|_&~w)+g[9]+568446438|0,m=(m<<5|m>>>27)+y|0,w+=(m&_|y&~_)+g[14]-1019803690|0,w=(w<<9|w>>>23)+m|0,_+=(w&y|m&~y)+g[3]-187363961|0,_=(_<<14|_>>>18)+w|0,y+=(_&m|w&~m)+g[8]+1163531501|0,y=(y<<20|y>>>12)+_|0,m+=(y&w|_&~w)+g[13]-1444681467|0,m=(m<<5|m>>>27)+y|0,w+=(m&_|y&~_)+g[2]-51403784|0,w=(w<<9|w>>>23)+m|0,_+=(w&y|m&~y)+g[7]+1735328473|0,_=(_<<14|_>>>18)+w|0,y+=(_&m|w&~m)+g[12]-1926607734|0,y=(y<<20|y>>>12)+_|0,m+=(y^_^w)+g[5]-378558|0,m=(m<<4|m>>>28)+y|0,w+=(m^y^_)+g[8]-2022574463|0,w=(w<<11|w>>>21)+m|0,_+=(w^m^y)+g[11]+1839030562|0,_=(_<<16|_>>>16)+w|0,y+=(_^w^m)+g[14]-35309556|0,y=(y<<23|y>>>9)+_|0,m+=(y^_^w)+g[1]-1530992060|0,m=(m<<4|m>>>28)+y|0,w+=(m^y^_)+g[4]+1272893353|0,w=(w<<11|w>>>21)+m|0,_+=(w^m^y)+g[7]-155497632|0,_=(_<<16|_>>>16)+w|0,y+=(_^w^m)+g[10]-1094730640|0,y=(y<<23|y>>>9)+_|0,m+=(y^_^w)+g[13]+681279174|0,m=(m<<4|m>>>28)+y|0,w+=(m^y^_)+g[0]-358537222|0,w=(w<<11|w>>>21)+m|0,_+=(w^m^y)+g[3]-722521979|0,_=(_<<16|_>>>16)+w|0,y+=(_^w^m)+g[6]+76029189|0,y=(y<<23|y>>>9)+_|0,m+=(y^_^w)+g[9]-640364487|0,m=(m<<4|m>>>28)+y|0,w+=(m^y^_)+g[12]-421815835|0,w=(w<<11|w>>>21)+m|0,_+=(w^m^y)+g[15]+530742520|0,_=(_<<16|_>>>16)+w|0,y+=(_^w^m)+g[2]-995338651|0,y=(y<<23|y>>>9)+_|0,m+=(_^(y|~w))+g[0]-198630844|0,m=(m<<6|m>>>26)+y|0,w+=(y^(m|~_))+g[7]+1126891415|0,w=(w<<10|w>>>22)+m|0,_+=(m^(w|~y))+g[14]-1416354905|0,_=(_<<15|_>>>17)+w|0,y+=(w^(_|~m))+g[5]-57434055|0,y=(y<<21|y>>>11)+_|0,m+=(_^(y|~w))+g[12]+1700485571|0,m=(m<<6|m>>>26)+y|0,w+=(y^(m|~_))+g[3]-1894986606|0,w=(w<<10|w>>>22)+m|0,_+=(m^(w|~y))+g[10]-1051523|0,_=(_<<15|_>>>17)+w|0,y+=(w^(_|~m))+g[1]-2054922799|0,y=(y<<21|y>>>11)+_|0,m+=(_^(y|~w))+g[8]+1873313359|0,m=(m<<6|m>>>26)+y|0,w+=(y^(m|~_))+g[15]-30611744|0,w=(w<<10|w>>>22)+m|0,_+=(m^(w|~y))+g[6]-1560198380|0,_=(_<<15|_>>>17)+w|0,y+=(w^(_|~m))+g[13]+1309151649|0,y=(y<<21|y>>>11)+_|0,m+=(_^(y|~w))+g[4]-145523070|0,m=(m<<6|m>>>26)+y|0,w+=(y^(m|~_))+g[11]-1120210379|0,w=(w<<10|w>>>22)+m|0,_+=(m^(w|~y))+g[2]+718787259|0,_=(_<<15|_>>>17)+w|0,y+=(w^(_|~m))+g[9]-343485551|0,y=(y<<21|y>>>11)+_|0,k[0]=m+k[0]|0,k[1]=y+k[1]|0,k[2]=_+k[2]|0,k[3]=w+k[3]|0}function r(k){var g=[],m;for(m=0;m<64;m+=4)g[m>>2]=k.charCodeAt(m)+(k.charCodeAt(m+1)<<8)+(k.charCodeAt(m+2)<<16)+(k.charCodeAt(m+3)<<24);return g}function a(k){var g=[],m;for(m=0;m<64;m+=4)g[m>>2]=k[m]+(k[m+1]<<8)+(k[m+2]<<16)+(k[m+3]<<24);return g}function i(k){var g=k.length,m=[1732584193,-271733879,-1732584194,271733878],y,_,w,$,V,B;for(y=64;y<=g;y+=64)s(m,r(k.substring(y-64,y)));for(k=k.substring(y-64),_=k.length,w=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],y=0;y<_;y+=1)w[y>>2]|=k.charCodeAt(y)<<(y%4<<3);if(w[y>>2]|=128<<(y%4<<3),y>55)for(s(m,w),y=0;y<16;y+=1)w[y]=0;return $=g*8,$=$.toString(16).match(/(.*?)(.{0,8})$/),V=parseInt($[2],16),B=parseInt($[1],16)||0,w[14]=V,w[15]=B,s(m,w),m}function l(k){var g=k.length,m=[1732584193,-271733879,-1732584194,271733878],y,_,w,$,V,B;for(y=64;y<=g;y+=64)s(m,a(k.subarray(y-64,y)));for(k=y-64<g?k.subarray(y-64):new Uint8Array(0),_=k.length,w=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],y=0;y<_;y+=1)w[y>>2]|=k[y]<<(y%4<<3);if(w[y>>2]|=128<<(y%4<<3),y>55)for(s(m,w),y=0;y<16;y+=1)w[y]=0;return $=g*8,$=$.toString(16).match(/(.*?)(.{0,8})$/),V=parseInt($[2],16),B=parseInt($[1],16)||0,w[14]=V,w[15]=B,s(m,w),m}function c(k){var g="",m;for(m=0;m<4;m+=1)g+=n[k>>m*8+4&15]+n[k>>m*8&15];return g}function u(k){var g;for(g=0;g<k.length;g+=1)k[g]=c(k[g]);return k.join("")}u(i("hello")),typeof ArrayBuffer<"u"&&!ArrayBuffer.prototype.slice&&function(){function k(g,m){return g=g|0||0,g<0?Math.max(g+m,0):Math.min(g,m)}ArrayBuffer.prototype.slice=function(g,m){var y=this.byteLength,_=k(g,y),w=y,$,V,B,M;return m!==e&&(w=k(m,y)),_>w?new ArrayBuffer(0):($=w-_,V=new ArrayBuffer($),B=new Uint8Array(V),M=new Uint8Array(this,_,$),B.set(M),V)}}();function f(k){return/[\u0080-\uFFFF]/.test(k)&&(k=unescape(encodeURIComponent(k))),k}function d(k,g){var m=k.length,y=new ArrayBuffer(m),_=new Uint8Array(y),w;for(w=0;w<m;w+=1)_[w]=k.charCodeAt(w);return g?_:y}function h(k){return String.fromCharCode.apply(null,new Uint8Array(k))}function p(k,g,m){var y=new Uint8Array(k.byteLength+g.byteLength);return y.set(new Uint8Array(k)),y.set(new Uint8Array(g),k.byteLength),m?y:y.buffer}function b(k){var g=[],m=k.length,y;for(y=0;y<m-1;y+=2)g.push(parseInt(k.substr(y,2),16));return String.fromCharCode.apply(String,g)}function x(){this.reset()}return x.prototype.append=function(k){return this.appendBinary(f(k)),this},x.prototype.appendBinary=function(k){this._buff+=k,this._length+=k.length;var g=this._buff.length,m;for(m=64;m<=g;m+=64)s(this._hash,r(this._buff.substring(m-64,m)));return this._buff=this._buff.substring(m-64),this},x.prototype.end=function(k){var g=this._buff,m=g.length,y,_=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],w;for(y=0;y<m;y+=1)_[y>>2]|=g.charCodeAt(y)<<(y%4<<3);return this._finish(_,m),w=u(this._hash),k&&(w=b(w)),this.reset(),w},x.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},x.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},x.prototype.setState=function(k){return this._buff=k.buff,this._length=k.length,this._hash=k.hash,this},x.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},x.prototype._finish=function(k,g){var m=g,y,_,w;if(k[m>>2]|=128<<(m%4<<3),m>55)for(s(this._hash,k),m=0;m<16;m+=1)k[m]=0;y=this._length*8,y=y.toString(16).match(/(.*?)(.{0,8})$/),_=parseInt(y[2],16),w=parseInt(y[1],16)||0,k[14]=_,k[15]=w,s(this._hash,k)},x.hash=function(k,g){return x.hashBinary(f(k),g)},x.hashBinary=function(k,g){var m=i(k),y=u(m);return g?b(y):y},x.ArrayBuffer=function(){this.reset()},x.ArrayBuffer.prototype.append=function(k){var g=p(this._buff.buffer,k,!0),m=g.length,y;for(this._length+=k.byteLength,y=64;y<=m;y+=64)s(this._hash,a(g.subarray(y-64,y)));return this._buff=y-64<m?new Uint8Array(g.buffer.slice(y-64)):new Uint8Array(0),this},x.ArrayBuffer.prototype.end=function(k){var g=this._buff,m=g.length,y=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],_,w;for(_=0;_<m;_+=1)y[_>>2]|=g[_]<<(_%4<<3);return this._finish(y,m),w=u(this._hash),k&&(w=b(w)),this.reset(),w},x.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},x.ArrayBuffer.prototype.getState=function(){var k=x.prototype.getState.call(this);return k.buff=h(k.buff),k},x.ArrayBuffer.prototype.setState=function(k){return k.buff=d(k.buff,!0),x.prototype.setState.call(this,k)},x.ArrayBuffer.prototype.destroy=x.prototype.destroy,x.ArrayBuffer.prototype._finish=x.prototype._finish,x.ArrayBuffer.hash=function(k,g){var m=l(new Uint8Array(k)),y=u(m);return g?b(y):y},x})})(N1);const pd=o=>new XMLSerializer().serializeToString(o),F1=(o,t=cd.SVG,e=Ur.utf8)=>ud(pd(o),t,e);function z1(o,t){const e=dd(t||"");if(!t)try{let n=window.localStorage.getItem(o);n&&(n=JSON.parse(n),e.value=n?n.value:"")}catch{}return pl(()=>{if(e.value)try{window.localStorage.setItem(o,JSON.stringify(e))}catch{}else window.localStorage.removeItem(o)}),e}function Jt(o,t,e,n=!1){const s=async r=>{await e(r)};try{o.addEventListener(t,s,n)}catch{o.attachEvent("on"+t,s)}return()=>{try{o.removeEventListener(t,s,n)}catch{o.detachEvent("on"+t,s)}}}function Wr(o){o.preventDefault&&o.preventDefault();try{o.returnValue=!1}catch{}}function D1(){const o=window.navigator.userAgent,t=o.indexOf("MSIE ");if(t>0)return parseInt(o.substring(t+5,o.indexOf(".",t)),10);if(o.indexOf("Trident/")>0){const s=o.indexOf("rv:");return parseInt(o.substring(s+3,o.indexOf(".",s)),10)}const n=o.indexOf("Edge/");return n>0?parseInt(o.substring(n+5,o.indexOf(".",n)),10):-1}const gl=D1()!==-1;(()=>{const o=td();return!!(o.Worker&&o.Blob&&o.Promise&&o.OffscreenCanvas&&o.OffscreenCanvasRenderingContext2D&&o.HTMLCanvasElement&&o.HTMLCanvasElement.prototype.transferControlToOffscreen&&o.URL&&o.URL.createObjectURL)})(),function(){if(!td().OffscreenCanvas)return!1;const t=new OffscreenCanvas(1,1),e=t.getContext("2d");e.fillRect(0,0,1,1);const n=t.transferToImageBitmap();try{e.createPattern(n,"no-repeat")}catch{return!1}return!0}(),function(){if(!window.requestAnimationFrame){let o=le();window.requestAnimationFrame=function(t){const e=le(),n=Math.max(0,16-(e-o)),s=window.setTimeout(function(){t(e+n)},n);return o=e+n,s}}window.cancelAnimationFrame||(window.cancelAnimationFrame=function(o){clearTimeout(o)})}();function Ns(o){let t=!1;return window.requestAnimationFrame(function e(n){!t&&o(n)&&window.requestAnimationFrame(e)}),()=>{t=!0}}function yl(o,t=0){if(t==0)return o(le()),()=>{};{const e=le();return Ns(n=>n-e>=t?(o(n),!1):!0)}}function M1(o,t=0){let e=!1,n=0;const s=le(),r=a=>{if(e)return;n++;const i=a-s-n*t;o(a,n,t<=i),yl(r,Math.max(0,t-i))};return yl(r,t),()=>{e=!0}}function md(o,t=20){const e=1e3/t;let n=0,s;return()=>(le()-n>=e&&(n=le(),s=o()),s)}window.requestIdleCallback=window.requestIdleCallback||function(o,t){const e=le();return setTimeout(function(){o({didTimeout:le()-e>50,timeRemaining:()=>Math.max(0,50-(le()-e))})},t?.timeout)},window.cancelIdleCallback=window.cancelIdleCallback||function(o){clearTimeout(o)};const vl=new dl;let bl=!1;function gd(o,t,e){o&&t&&vl.set(o,{cb:t,startTime:le(),timeout:e}),!bl&&(bl=!0,B1(n=>{bl=!1;let s=n.timeRemaining();vl.filter((r,a)=>{let i=!1;const l=le();(s>0||a.timeout&&le()-a.startTime>=a.timeout)&&(a.cb(),i=!0);const c=le();return s-=c-l,!i}),vl.length>0&&gd()}))}let qr=0,Cn=33,Qo=33,_l;const yd=new MessageChannel,L1=yd.port2;yd.port1.onmessage=o=>{_l!==null&&_l({didTimeout:qr<=le(),timeRemaining:()=>Math.max(0,qr-le())})};function B1(o){return _l=o,requestAnimationFrame(t=>{let e=t-qr+Qo;e<Qo&&Cn<Qo?(e<8&&(e=8),Qo=e<Cn?Cn:e):e>Qo&&Cn>Qo?Qo=e<Cn?Cn:e:Cn=e,qr=t+Qo,L1.postMessage(null)})}class Fs{static _nextId=0;static nextId(){return Fs._nextId++}}const at={Linear:{None:function(o){return o}},Ease:{In:function(o){return Math.pow(o,1.7)}},Quadratic:{In:function(o){return o*o},Out:function(o){return o*(2-o)},InOut:function(o){return(o*=2)<1?.5*o*o:-.5*(--o*(o-2)-1)}},Cubic:{In:function(o){return o*o*o},Out:function(o){return--o*o*o+1},InOut:function(o){return(o*=2)<1?.5*o*o*o:.5*((o-=2)*o*o+2)}},Quartic:{In:function(o){return o*o*o*o},Out:function(o){return 1- --o*o*o*o},InOut:function(o){return(o*=2)<1?.5*o*o*o*o:-.5*((o-=2)*o*o*o-2)}},Quintic:{In:function(o){return o*o*o*o*o},Out:function(o){return--o*o*o*o*o+1},InOut:function(o){return(o*=2)<1?.5*o*o*o*o*o:.5*((o-=2)*o*o*o*o+2)}},Sinusoidal:{In:function(o){return 1-Math.sin((1-o)*Math.PI/2)},Out:function(o){return Math.sin(o*Math.PI/2)},InOut:function(o){return .5*(1-Math.sin(Math.PI*(.5-o)))}},Exponential:{In:function(o){return o===0?0:Math.pow(1024,o-1)},Out:function(o){return o===1?1:1-Math.pow(2,-10*o)},InOut:function(o){return o===0?0:o===1?1:(o*=2)<1?.5*Math.pow(1024,o-1):.5*(-Math.pow(2,-10*(o-1))+2)}},Circular:{In:function(o){return 1-Math.sqrt(1-o*o)},Out:function(o){return Math.sqrt(1- --o*o)},InOut:function(o){return(o*=2)<1?-.5*(Math.sqrt(1-o*o)-1):.5*(Math.sqrt(1-(o-=2)*o)+1)}},Elastic:{In:function(o){return o===0?0:o===1?1:-Math.pow(2,10*(o-1))*Math.sin((o-1.1)*5*Math.PI)},Out:function(o){return o===0?0:o===1?1:Math.pow(2,-10*o)*Math.sin((o-.1)*5*Math.PI)+1},InOut:function(o){return o===0?0:o===1?1:(o*=2,o<1?-.5*Math.pow(2,10*(o-1))*Math.sin((o-1.1)*5*Math.PI):.5*Math.pow(2,-10*(o-1))*Math.sin((o-1.1)*5*Math.PI)+1)}},Back:{In:function(o){return o===1?1:o*o*((1.70158+1)*o-1.70158)},Out:function(o){return o===0?0:--o*o*((1.70158+1)*o+1.70158)+1},InOut:function(o){const t=2.5949095;return(o*=2)<1?.5*(o*o*((t+1)*o-t)):.5*((o-=2)*o*((t+1)*o+t)+2)}},Bounce:{In:function(o){return 1-at.Bounce.Out(1-o)},Out:function(o){return o<1/2.75?7.5625*o*o:o<2/2.75?7.5625*(o-=1.5/2.75)*o+.75:o<2.5/2.75?7.5625*(o-=2.25/2.75)*o+.9375:7.5625*(o-=2.625/2.75)*o+.984375},InOut:function(o){return o<.5?at.Bounce.In(o*2)*.5:at.Bounce.Out(o*2-1)*.5+.5}},generatePow:function(o=4){return o=o<Number.EPSILON?Number.EPSILON:o,o=o>1e4?1e4:o,{In:function(t){return t**o},Out:function(t){return 1-(1-t)**o},InOut:function(t){return t<.5?(t*2)**o/2:(1-(2-t*2)**o)/2+.5}}},random:function(o){return Math.random()},createStep:function(o){return function(t){return Math.floor(t*o)/o}},createNoisyEasing:function(o,t=.1){const e=1-t;return function(n){return t*Math.random()+e*o(n)}},swing:function(o){return o+Math.sin(o*Math.PI*2)/2},causeSeizures:function(o){return o+.2*Math.random()-.1}},xl=at;function V1(o){switch(o){case at.Quadratic.In:return at.Quadratic.Out;case at.Quadratic.Out:return at.Quadratic.In;case at.Quadratic.InOut:return at.Quadratic.InOut;case at.Cubic.In:return at.Cubic.Out;case at.Cubic.Out:return at.Cubic.In;case at.Cubic.InOut:return at.Cubic.InOut;case at.Quartic.In:return at.Quartic.Out;case at.Quartic.Out:return at.Quartic.In;case at.Quartic.InOut:return at.Quartic.InOut;case at.Quintic.In:return at.Quintic.Out;case at.Quintic.Out:return at.Quintic.In;case at.Quintic.InOut:return at.Quintic.InOut;case at.Sinusoidal.In:return at.Sinusoidal.Out;case at.Sinusoidal.Out:return at.Sinusoidal.In;case at.Sinusoidal.InOut:return at.Sinusoidal.InOut;case at.Exponential.In:return at.Exponential.Out;case at.Exponential.Out:return at.Exponential.In;case at.Exponential.InOut:return at.Exponential.InOut;case at.Circular.In:return at.Circular.Out;case at.Circular.Out:return at.Circular.In;case at.Circular.InOut:return at.Circular.InOut;case at.Elastic.In:return at.Elastic.Out;case at.Elastic.Out:return at.Elastic.In;case at.Elastic.InOut:return at.Elastic.InOut;case at.Back.In:return at.Back.Out;case at.Back.Out:return at.Back.In;case at.Back.InOut:return at.Back.InOut;case at.Bounce.In:return at.Bounce.Out;case at.Bounce.Out:return at.Bounce.In;case at.Bounce.InOut:return at.Bounce.InOut;default:return o}}const Yn={Utils:{Linear:function(o,t,e){return(t-o)*e+o},Factorial:function(){const o=[1];return function(t){let e=1;if(o[t])return o[t];for(let n=t;n>1;n--)e*=n;return o[t]=e,e}}(),Bernstein:function(o,t){const e=Yn.Utils.Factorial;return e(o)/e(t)/e(o-t)},CatmullRom:function(o,t,e,n,s){const r=(e-o)*.5,a=(n-t)*.5,i=s*s,l=s*i;return(2*t-2*e+r+a)*l+(-3*t+3*e-2*r-a)*i+r*s+t},QuadraticBezier:(o,t,e,n)=>{const s=1-n;return s*s*o+2*s*n*t+n*n*e},CubicBezier:(o,t,e,n,s)=>{const r=1-s;return r*r*r*o+3*r*r*s*t+3*r*s*s*e+s*s*s*n}},Linear:function(o,t){const e=o.length-1,n=e*t,s=Math.floor(n),r=Yn.Utils.Linear;return t<0?r(o[0],o[1],n):t>1?r(o[e],o[e-1],e-n):r(o[s],o[s+1>e?e:s+1],n-s)},Bezier:function(o,t){let e=0;const n=o.length-1,s=Math.pow,r=Yn.Utils.Bernstein;for(let a=0;a<=n;a++)e+=s(1-t,n-a)*s(t,a)*o[a]*r(n,a);return e},CatmullRom:function(o,t){const e=o.length-1;let n=e*t,s=Math.floor(n);const r=Yn.Utils.CatmullRom;return o[0]===o[e]?(t<0&&(s=Math.floor(n=e*(1+t))),r(o[(s-1+e)%e],o[s],o[(s+1)%e],o[(s+2)%e],n-s)):t<0?o[0]-(r(o[0],o[0],o[1],o[1],-n)-o[0]):t>1?o[e]-(r(o[e],o[e],o[e-1],o[e-1],n-e)-o[e]):r(o[s?s-1:0],o[s],o[e<s+1?e:s+1],o[e<s+2?e:s+2],n-s)}},kl=Yn;class vd{_tweens={};_tweensAddedDuringUpdate={};getAll(){return Object.keys(this._tweens).map(t=>this._tweens[t])}removeAll(){this._tweens={}}add(t){this._tweens[t.getId()]=t,this._tweensAddedDuringUpdate[t.getId()]=t}remove(t){delete this._tweens[t.getId()],delete this._tweensAddedDuringUpdate[t.getId()]}update(t=le(),e=!1){const n=Object.keys(this._tweens);for(let s=0;s<n.length;s++){const r=this._tweens[n[s]],a=!e;r&&r.update(t,a)===!1&&!e&&delete this._tweens[n[s]]}return!!Object.keys(this._tweens).length}}const qe=new vd;class bd{constructor(t,e=qe){this._object=t,this._group=e}_id=Fs.nextId();_isPlaying=!1;_startTime=0;_delayTime=0;_durationTime=1e3;_isPaused=!1;_pauseStartTime=0;_initialRepeat=0;_repeat=0;_repeatDelayTime;_yoyo=!1;_reversed=!1;_valuesStart={};_valuesEnd={};_valuesStartRepeat={};_easingFunction=xl.Linear.None;_interpolationFunction=kl.Linear;_chainedTweens=[];_isChainStopped=!1;_onStartCallback;_onStartCallbackFired=!1;_onEveryStartCallback;_onEveryStartCallbackFired=!1;_onUpdateCallback;_onRepeatCallback;_onCompleteCallback;_onStopCallback;_goToEnd=!1;getId(){return this._id}isPlaying(){return this._isPlaying}isPaused(){return this._isPaused}to(t,e){return this._valuesEnd=Object.create(t),e!==void 0&&(this._durationTime=e),this}duration(t=1e3){return this._durationTime=t,this}start(t=le()){if(this._isPlaying)return this;if(this._group&&this._group.add(this),this._repeat=this._initialRepeat,this._reversed){this._reversed=!1;for(const e in this._valuesStartRepeat)this._swapEndStartRepeatValues(e),this._valuesStart[e]=this._valuesStartRepeat[e]}return this._isPlaying=!0,this._isPaused=!1,this._onStartCallbackFired=!1,this._onEveryStartCallbackFired=!1,this._isChainStopped=!1,this._startTime=t,this._startTime+=this._delayTime,this._setupProperties(this._object,this._valuesStart,this._valuesEnd,this._valuesStartRepeat),this}_setupProperties(t,e,n,s){for(const r in n){const a=t[r],i=Array.isArray(a),l=i?"array":typeof a,c=!i&&Array.isArray(n[r]);if(!(l==="undefined"||l==="function")){if(c){let u=n[r];if(u.length===0)continue;u=u.map(this._handleRelativeValue.bind(this,a)),n[r]=[a].concat(u)}if((l==="object"||i)&&a&&!c){e[r]=i?[]:{};for(const u in a)e[r][u]=a[u];s[r]=i?[]:{},this._setupProperties(a,e[r],n[r],s[r])}else typeof e[r]>"u"&&(e[r]=a),i||(e[r]*=1),c?s[r]=n[r].slice().reverse():s[r]=e[r]||0}}}stop(){return this._isChainStopped||(this._isChainStopped=!0,this.stopChainedTweens()),this._isPlaying?(this._group&&this._group.remove(this),this._isPlaying=!1,this._isPaused=!1,this._onStopCallback&&this._onStopCallback(this._object),this):this}end(){return this._goToEnd=!0,this.update(1/0),this}pause(t=le()){return this._isPaused||!this._isPlaying?this:(this._isPaused=!0,this._pauseStartTime=t,this._group&&this._group.remove(this),this)}resume(t=le()){return!this._isPaused||!this._isPlaying?this:(this._isPaused=!1,this._startTime+=t-this._pauseStartTime,this._pauseStartTime=0,this._group&&this._group.add(this),this)}stopChainedTweens(){for(let t=0,e=this._chainedTweens.length;t<e;t++)this._chainedTweens[t].stop();return this}group(t=qe){return this._group=t,this}delay(t=0){return this._delayTime=t,this}repeat(t=0){return this._initialRepeat=t,this._repeat=t,this}repeatDelay(t){return this._repeatDelayTime=t,this}yoyo(t=!1){return this._yoyo=t,this}easing(t=xl.Linear.None){return this._easingFunction=t,this}interpolation(t=kl.Linear){return this._interpolationFunction=t,this}chain(...t){return this._chainedTweens=t,this}onStart(t){return this._onStartCallback=t,this}onEveryStart(t){return this._onEveryStartCallback=t,this}onUpdate(t){return this._onUpdateCallback=t,this}onRepeat(t){return this._onRepeatCallback=t,this}onComplete(t){return this._onCompleteCallback=t,this}onStop(t){return this._onStopCallback=t,this}update(t=le(),e=!0){if(this._isPaused)return!0;let n,s;const r=this._startTime+this._durationTime;if(!this._goToEnd&&!this._isPlaying){if(t>r)return!1;e&&this.start(t)}if(this._goToEnd=!1,t<this._startTime)return!0;this._onStartCallbackFired===!1&&(this._onStartCallback&&this._onStartCallback(this._object),this._onStartCallbackFired=!0),this._onEveryStartCallbackFired===!1&&(this._onEveryStartCallback&&this._onEveryStartCallback(this._object),this._onEveryStartCallbackFired=!0),s=(t-this._startTime)/this._durationTime,s=this._durationTime===0||s>1?1:s;const a=this._easingFunction(s);if(this._updateProperties(this._object,this._valuesStart,this._valuesEnd,a),this._onUpdateCallback&&this._onUpdateCallback(this._object,s),s===1)if(this._repeat>0){isFinite(this._repeat)&&this._repeat--;for(n in this._valuesStartRepeat)!this._yoyo&&typeof this._valuesEnd[n]=="string"&&(this._valuesStartRepeat[n]=this._valuesStartRepeat[n]+parseFloat(this._valuesEnd[n])),this._yoyo&&this._swapEndStartRepeatValues(n),this._valuesStart[n]=this._valuesStartRepeat[n];return this._yoyo&&(this._reversed=!this._reversed),this._repeatDelayTime!==void 0?this._startTime=t+this._repeatDelayTime:this._startTime=t+this._delayTime,this._onRepeatCallback&&this._onRepeatCallback(this._object),this._onEveryStartCallbackFired=!1,!0}else{this._onCompleteCallback&&this._onCompleteCallback(this._object);for(let i=0,l=this._chainedTweens.length;i<l;i++)this._chainedTweens[i].start(this._startTime+this._durationTime);return this._isPlaying=!1,!1}return!0}_updateProperties(t,e,n,s){for(const r in n){if(e[r]===void 0)continue;const a=e[r]||0;let i=n[r];const l=Array.isArray(t[r]),c=Array.isArray(i);!l&&c?t[r]=this._interpolationFunction(i,s):typeof i=="object"&&i?this._updateProperties(t[r],a,i,s):(i=this._handleRelativeValue(a,i),typeof i=="number"&&(t[r]=a+(i-a)*s))}}_handleRelativeValue(t,e){return typeof e!="string"?e:e.charAt(0)==="+"||e.charAt(0)==="-"?t+parseFloat(e):parseFloat(e)}_swapEndStartRepeatValues(t){const e=this._valuesStartRepeat[t],n=this._valuesEnd[t];typeof n=="string"?this._valuesStartRepeat[t]=this._valuesStartRepeat[t]+parseFloat(n):this._valuesStartRepeat[t]=n,this._valuesEnd[t]=e}}const Y1=bd,X1=Fs.nextId,Z1=qe.getAll.bind(qe),U1=qe.removeAll.bind(qe),H1=qe.add.bind(qe),j1=qe.remove.bind(qe),G1=qe.update.bind(qe),_t={now:le,Sequence:Fs,Easing:xl,Interpolation:kl,Group:vd,Tween:Y1,nextId:X1,getAll:Z1,removeAll:U1,add:H1,remove:j1,update:G1};class W1{autoStart;startTime;oldTime;elapsedTime;running;constructor(t=!0){this.autoStart=t,this.startTime=0,this.oldTime=0,this.elapsedTime=0,this.running=!1}start(){this.startTime=le(),this.oldTime=this.startTime,this.elapsedTime=0,this.running=!0}stop(){this.getElapsedTime(),this.running=!1,this.autoStart=!1}getElapsedTime(){return this.getDelta(),this.elapsedTime}getDelta(){let t=0;if(this.autoStart&&!this.running)return this.start(),0;if(this.running){const e=le();t=e-this.oldTime,this.oldTime=e,this.elapsedTime+=t}return t}}const _d=W1;class Ze{tweens=[];frameDuration;onGroupStart;onGroupComplete;constructor(t){this.frameDuration=t?.frameDuration||1e3,this.onGroupStart=t?.onGroupStart,this.onGroupComplete=t?.onGroupComplete}get count(){return this.tweens.length}clear(){this.tweens=[]}sort(t=!1){A1(this.tweens,(e,n)=>t?e.delay>n.delay:e.delay<=n.delay)}cloneTweens(t=this.tweens){const e=[];return t.forEach(n=>{const s={...n};delete s.tween,s.fromValues={...s.fromValues},s.toValues={...s.toValues},e.push(s)}),e}addTween(t,e,n){const s={fromValues:t,toValues:e,frames:typeof n?.frames=="number"?n.frames:1,delay:typeof n?.delay=="number"?n.delay:this.tweens.length,easeFunction:n?.easeFunction||at.Linear.None,interpolationFunction:n?.interpolationFunction||Yn.Linear,repeat:typeof n?.repeat=="number"?n.repeat:0,yoyo:n?.yoyo||!1,onStart:n?.onStart||(()=>{}),onUpdate:n?.onUpdate||(()=>{}),onComplete:n?.onComplete||(()=>{})};return this.tweens.push(s),this}cancelRequestAnimationCycle=()=>{};runTweens(t){this.cancelRequestAnimationCycle();const e=new _d,n=this.frameDuration;return new Promise(s=>{this.onGroupStart?.(),this.cancelRequestAnimationCycle=Ns(r=>{if(!this.isPaused){const i=Math.max(0,r-this.pausedDuration),l=Math.max(0,e.getElapsedTime()-this.pausedDuration);t.filter(c=>c.delay*n<=l).forEach(c=>{c.tween||(c.tween=new bd({...c.fromValues}).to({...c.toValues},c.frames*n).easing(c.easeFunction).interpolation(c.interpolationFunction).repeat(c.repeat).yoyo(c.yoyo).onStart(c.onStart).onUpdate(c.onUpdate).onComplete(c.onComplete),c.tween.start(i)),(c.delay+c.frames*(c.repeat+1))*n>l?c.tween.update(i):(c.tween.isPlaying()&&c.tween.end(),rd(t,c))})}const a=!!t.length;return a||(this.onGroupComplete?.(),s()),a})})}isPaused=!1;pausedClock=new _d;pausedDuration=0;play(t=this.cloneTweens(this.tweens)){this.isPaused=!1,this.pausedDuration=0,this.runTweens(t)}reverse(){const t=this.cloneTweens(this.tweens);let e=0;t.forEach(n=>{e=Math.max(e,n.delay+n.frames),n.easeFunction=V1(n.easeFunction);const s={...n.toValues};n.toValues={...n.fromValues},n.fromValues={...s}}),t.forEach(n=>{n.delay=e-n.frames}),this.play(t)}pause(){this.pausedClock.start(),this.isPaused=!0}resume(){this.pausedDuration+=this.pausedClock.getElapsedTime(),this.pausedClock.stop(),this.isPaused=!1}}const Kr=new dl,q1=(o=!0)=>{Kr.filter((t,e)=>(e.alternate&&(ah(e,e.alternate),o&&Kr.set(t,e.alternate),e.alternate=void 0),o))};function xd(o){let t=Kr.get(o);return t||(t=Ml(o),Kr.set(o,t)),t}function K1(o){const t=xd(o);return t.alternate||(t.alternate=Ml(o)),t.alternate}function Q1(o,t,e=!0){t(K1(o)),gd("FLUSH_DOM_ACTION",()=>q1(e),50)}function ee(o){return o*Math.PI/180}function Ke(o){return o*180/Math.PI}function kd(o,t,e=0){return Math.sqrt(o*o+t*t+e*e)}function wd(o,t,e,n){return kd(e-o,n-t)}function wl(o,t,e,n){const s=e-o,r=n-t;return s*s+r*r}function Qr(o,t,e,n){let s=Math.atan2(n-t,e-o);return s<0&&(s+=Math.PI*2),s}function Xn(o,t){return{dx:Math.cos(o)*t,dy:Math.sin(o)*t}}const Cd=J1("50,nbsp,51,iexcl,52,cent,53,pound,54,curren,55,yen,56,brvbar,57,sect,58,uml,59,copy,5a,ordf,5b,laquo,5c,not,5d,shy,5e,reg,5f,macr,5g,deg,5h,plusmn,5i,sup2,5j,sup3,5k,acute,5l,micro,5m,para,5n,middot,5o,cedil,5p,sup1,5q,ordm,5r,raquo,5s,frac14,5t,frac12,5u,frac34,5v,iquest,60,Agrave,61,Aacute,62,Acirc,63,Atilde,64,Auml,65,Aring,66,AElig,67,Ccedil,68,Egrave,69,Eacute,6a,Ecirc,6b,Euml,6c,Igrave,6d,Iacute,6e,Icirc,6f,Iuml,6g,ETH,6h,Ntilde,6i,Ograve,6j,Oacute,6k,Ocirc,6l,Otilde,6m,Ouml,6n,times,6o,Oslash,6p,Ugrave,6q,Uacute,6r,Ucirc,6s,Uuml,6t,Yacute,6u,THORN,6v,szlig,70,agrave,71,aacute,72,acirc,73,atilde,74,auml,75,aring,76,aelig,77,ccedil,78,egrave,79,eacute,7a,ecirc,7b,euml,7c,igrave,7d,iacute,7e,icirc,7f,iuml,7g,eth,7h,ntilde,7i,ograve,7j,oacute,7k,ocirc,7l,otilde,7m,ouml,7n,divide,7o,oslash,7p,ugrave,7q,uacute,7r,ucirc,7s,uuml,7t,yacute,7u,thorn,7v,yuml,ci,fnof,sh,Alpha,si,Beta,sj,Gamma,sk,Delta,sl,Epsilon,sm,Zeta,sn,Eta,so,Theta,sp,Iota,sq,Kappa,sr,Lambda,ss,Mu,st,Nu,su,Xi,sv,Omicron,t0,Pi,t1,Rho,t3,Sigma,t4,Tau,t5,Upsilon,t6,Phi,t7,Chi,t8,Psi,t9,Omega,th,alpha,ti,beta,tj,gamma,tk,delta,tl,epsilon,tm,zeta,tn,eta,to,theta,tp,iota,tq,kappa,tr,lambda,ts,mu,tt,nu,tu,xi,tv,omicron,u0,pi,u1,rho,u2,sigmaf,u3,sigma,u4,tau,u5,upsilon,u6,phi,u7,chi,u8,psi,u9,omega,uh,thetasym,ui,upsih,um,piv,812,bull,816,hellip,81i,prime,81j,Prime,81u,oline,824,frasl,88o,weierp,88h,image,88s,real,892,trade,89l,alefsym,8cg,larr,8ch,uarr,8ci,rarr,8cj,darr,8ck,harr,8dl,crarr,8eg,lArr,8eh,uArr,8ei,rArr,8ej,dArr,8ek,hArr,8g0,forall,8g2,part,8g3,exist,8g5,empty,8g7,nabla,8g8,isin,8g9,notin,8gb,ni,8gf,prod,8gh,sum,8gi,minus,8gn,lowast,8gq,radic,8gt,prop,8gu,infin,8h0,ang,8h7,and,8h8,or,8h9,cap,8ha,cup,8hb,int,8hk,there4,8hs,sim,8i5,cong,8i8,asymp,8j0,ne,8j1,equiv,8j4,le,8j5,ge,8k2,sub,8k3,sup,8k4,nsub,8k6,sube,8k7,supe,8kl,oplus,8kn,otimes,8l5,perp,8m5,sdot,8o8,lceil,8o9,rceil,8oa,lfloor,8ob,rfloor,8p9,lang,8pa,rang,9ea,loz,9j0,spades,9j3,clubs,9j5,hearts,9j6,diams,ai,OElig,aj,oelig,b0,Scaron,b1,scaron,bo,Yuml,m6,circ,ms,tilde,802,ensp,803,emsp,809,thinsp,80c,zwnj,80d,zwj,80e,lrm,80f,rlm,80j,ndash,80k,mdash,80o,lsquo,80p,rsquo,80q,sbquo,80s,ldquo,80t,rdquo,80u,bdquo,810,dagger,811,Dagger,81g,permil,81p,lsaquo,81q,rsaquo,85c,euro",32);function J1(o,t=10){const e={},n=o.split(",");for(let s=0;s<n.length;s+=2){const r="&"+n[s+1]+";",a=parseInt(n[s],t);e[r]="&#"+a+";"}return e["\\xa0"]="&#160;",e}function Fe(o,t){const e=Object.keys(t);for(let n=0;n<e.length;n++)o=o.replace(new RegExp("{"+e[n]+"}","gi"),""+t[e[n]]);return o}function Jr(o){let t,e;if(!o)throw new Error("cannot create a random attribute name for an undefined object");const n="ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz";t="";do for(t="",e=0;e<12;e++)t+=n[Math.floor(Math.random()*n.length)];while(o[t]);return t}function tv(o){const t={left:"start",right:"end",center:"middle",start:"start",end:"end"};return t[o]||t.start}function ev(o){const t={alphabetic:"alphabetic",hanging:"hanging",top:"text-before-edge",bottom:"text-after-edge",middle:"central"};return t[o]||t.alphabetic}const zs={strokeStyle:{svgAttr:"stroke",canvas:"#000000",svg:"none",apply:"stroke"},fillStyle:{svgAttr:"fill",canvas:"#000000",svg:null,apply:"fill"},lineCap:{svgAttr:"stroke-linecap",canvas:"butt",svg:"butt",apply:"stroke"},lineJoin:{svgAttr:"stroke-linejoin",canvas:"miter",svg:"miter",apply:"stroke"},miterLimit:{svgAttr:"stroke-miterlimit",canvas:10,svg:4,apply:"stroke"},lineWidth:{svgAttr:"stroke-width",canvas:1,svg:1,apply:"stroke"},globalAlpha:{svgAttr:"opacity",canvas:1,svg:1,apply:"fill stroke"},font:{canvas:"10px sans-serif"},shadowColor:{canvas:"#000000"},shadowOffsetX:{canvas:0},shadowOffsetY:{canvas:0},shadowBlur:{canvas:0},textAlign:{canvas:"start"},textBaseline:{canvas:"alphabetic"},lineDash:{svgAttr:"stroke-dasharray",canvas:[],svg:null,apply:"stroke"},lineDashOffset:{svgAttr:"stroke-dashoffset",canvas:0,svg:0,apply:"stroke"}};class Cl{__root;__ctx;constructor(t,e){this.__root=t,this.__ctx=e}addColorStop(t,e){const n=this.__ctx.__createElement("stop");if(n.setAttribute("offset",""+t),e.indexOf("rgba")!==-1){const r=/rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d?\.?\d*)\s*\)/gi.exec(e);r&&(n.setAttribute("stop-color",Fe("rgb({r},{g},{b})",{r:r[1],g:r[2],b:r[3]})),n.setAttribute("stop-opacity",r[4]))}else n.setAttribute("stop-color",e);this.__root.appendChild(n)}}class Td{__root;__ctx;constructor(t,e){this.__root=t,this.__ctx=e}}class ta{__document=document;__canvas;__ctx;width;height;__styleStack;__groupStack;__rootSVG;__ids;__SVGdefs;__currentElement;__currentElementsToStyle=null;constructor({canvas:t,width:e=500,height:n=500}){t?(this.__canvas=t,this.__ctx=t.getContext("2d"),this.width=t.width,this.height=t.height):(this.__canvas=this.__document.createElement("canvas"),this.__ctx=this.__canvas.getContext("2d"),this.width=e,this.height=n),this.__setDefaultStyles(),this.__styleStack=[this.__getStyleState()],this.__groupStack=[],this.__rootSVG=this.__document.createElementNS("http://www.w3.org/2000/svg","svg"),this.__rootSVG.setAttribute("version","1.1"),this.__rootSVG.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.__rootSVG.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),this.__rootSVG.setAttribute("width",""+this.width),this.__rootSVG.setAttribute("height",""+this.height),this.__ids={},this.__SVGdefs=this.__document.createElementNS("http://www.w3.org/2000/svg","defs"),this.__rootSVG.appendChild(this.__SVGdefs),this.__currentElement=this.__document.createElementNS("http://www.w3.org/2000/svg","g"),this.__rootSVG.appendChild(this.__currentElement)}__setDefaultStyles(){const t=Object.keys(zs);for(let e=0,n=t.length;e<n;e++){const s=t[e];this[s]=zs[s].canvas}}__getStyleState(){const t={},e=Object.keys(zs);for(let n=0,s=e.length;n<s;n++){const r=e[n];t[r]=this[r]}return t}__applyStyleState(t){const e=Object.keys(t);for(let n=0,s=e.length;n<s;n++){const r=e[n];this[r]=t[r]}}__createElement(t,e={},n=!1){const s=this.__document.createElementNS("http://www.w3.org/2000/svg",t),r=Object.keys(e);n&&(s.setAttribute("fill","none"),s.setAttribute("stroke","none"));for(let a=0;a<r.length;a++){const i=r[a];s.setAttribute(i,e[i])}return s}__applyStyleToCurrentElement(t){let e=this.__currentElement;const n=this.__currentElementsToStyle;n&&(e.setAttribute(t,""),e=n.element,n.children.forEach(r=>{r.setAttribute(t,"")}));const s=Object.keys(zs);for(let r=0;r<s.length;r++){const a=zs[s[r]],i=this[s[r]];if(a.apply){if(i instanceof Td){if(i.__ctx)for(;i.__ctx.__SVGdefs.childNodes.length;){const l=i.__ctx.__SVGdefs.childNodes[0].getAttribute("id");this.__ids[l]=l,this.__SVGdefs.appendChild(i.__ctx.__SVGdefs.childNodes[0])}e.setAttribute(a.apply,Fe("url(#{id})",{id:i.__root.getAttribute("id")}))}else if(i instanceof Cl)e.setAttribute(a.apply,Fe("url(#{id})",{id:i.__root.getAttribute("id")}));else if(a.apply.indexOf(t)!==-1&&a.svg!==i)if((a.svgAttr==="stroke"||a.svgAttr==="fill")&&i.indexOf("rgba")!==-1){const c=/rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d?\.?\d*)\s*\)/gi.exec(i);if(c){e.setAttribute(a.svgAttr,Fe("rgb({r},{g},{b})",{r:c[1],g:c[2],b:c[3]}));let u=parseFloat(c[4]);const f=this.globalAlpha;f!=null&&(u*=f),e.setAttribute(a.svgAttr+"-opacity",""+u)}}else{let l=a.svgAttr;if(s[r]==="globalAlpha"&&(l=t+"-"+a.svgAttr,e.getAttribute(l)))continue;l&&e.setAttribute(l,i)}}}}__closestGroupOrSvg(t){return t=t||this.__currentElement,t.nodeName==="g"||t.nodeName==="svg"?t:this.__closestGroupOrSvg(t.parentNode)}getSerializedSvg(t){let e=new XMLSerializer().serializeToString(this.__rootSVG);if(/xmlns="http:\/\/www\.w3\.org\/2000\/svg".+xmlns="http:\/\/www\.w3\.org\/2000\/svg/gi.test(e)&&(e=e.replace('xmlns="http://www.w3.org/2000/svg','xmlns:xlink="http://www.w3.org/1999/xlink')),t){const s=Object.keys(Cd);for(let r=0,a=s.length;r<a;r++){const i=s[r],l=Cd[i],c=new RegExp(i,"gi");c.test(e)&&(e=e.replace(c,l))}}return e}getSvg(){return this.__rootSVG}save(){const t=this.__createElement("g"),e=this.__closestGroupOrSvg();this.__groupStack.push(e),e.appendChild(t),this.__currentElement=t,this.__styleStack.push(this.__getStyleState())}restore(){this.__currentElementsToStyle=null;const t=this.__groupStack.pop();t?this.__currentElement=t:this.__currentElement=this.__rootSVG.childNodes[1];const e=this.__styleStack.pop();e&&this.__applyStyleState(e)}__addTransform(t){const e=this.__closestGroupOrSvg();if(e.childNodes.length>0){this.__currentElement.nodeName==="path"&&(this.__currentElementsToStyle||(this.__currentElementsToStyle={element:e,children:[]}),this.__currentElementsToStyle.children.push(this.__currentElement),this.__applyCurrentDefaultPath());const s=this.__createElement("g");e.appendChild(s),this.__currentElement=s}let n=this.__currentElement.getAttribute("transform");n?n+=" ":n="",n+=t,this.__currentElement.setAttribute("transform",n)}scale(t,e){e===void 0&&(e=t),this.__addTransform(Fe("scale({x},{y})",{x:t,y:e}))}rotate(t){const e=t*180/Math.PI;this.__addTransform(Fe("rotate({angle},{cx},{cy})",{angle:e,cx:0,cy:0}))}translate(t,e){this.__addTransform(Fe("translate({x},{y})",{x:t,y:e}))}transform(t,e,n,s,r,a){this.__addTransform(Fe("matrix({a},{b},{c},{d},{e},{f})",{a:t,b:e,c:n,d:s,e:r,f:a}))}beginPath(){this.__currentDefaultPath="",this.__currentPosition={};const t=this.__createElement("path",{},!0);this.__closestGroupOrSvg().appendChild(t),this.__currentElement=t}__applyCurrentDefaultPath(){const t=this.__currentElement;t.nodeName==="path"&&t.setAttribute("d",this.__currentDefaultPath)}__addPathCommand(t){this.__currentDefaultPath+=" ",this.__currentDefaultPath+=t}moveTo(t,e){this.__currentElement.nodeName!=="path"&&this.beginPath(),this.__currentPosition={x:t,y:e},this.__addPathCommand(Fe("M {x} {y}",this.__currentPosition))}closePath(){this.__currentDefaultPath&&this.__addPathCommand("Z")}lineTo(t,e){this.__currentPosition={x:t,y:e},this.__currentDefaultPath.indexOf("M")>-1?this.__addPathCommand(Fe("L {x} {y}",this.__currentPosition)):this.__addPathCommand(Fe("M {x} {y}",this.__currentPosition))}bezierCurveTo(t,e,n,s,r,a){this.__currentPosition={x:r,y:a},this.__addPathCommand(Fe("C {cp1x} {cp1y} {cp2x} {cp2y} {x} {y}",{cp1x:t,cp1y:e,cp2x:n,cp2y:s,x:r,y:a}))}quadraticCurveTo(t,e,n,s){this.__currentPosition={x:n,y:s},this.__addPathCommand(Fe("Q {cpx} {cpy} {x} {y}",{cpx:t,cpy:e,x:n,y:s}))}normalize(t){const e=Math.sqrt(t[0]*t[0]+t[1]*t[1]);return[t[0]/e,t[1]/e]}arcTo(t,e,n,s,r){const a=this.__currentPosition&&this.__currentPosition.x,i=this.__currentPosition&&this.__currentPosition.y;if(typeof a>"u"||typeof i>"u")return;if(r<0)throw new Error("IndexSizeError: The radius provided ("+r+") is negative.");if(a===t&&i===e||t===n&&e===s||r===0){this.lineTo(t,e);return}const l=this.normalize([a-t,i-e]),c=this.normalize([n-t,s-e]);if(l[0]*c[1]===l[1]*c[0]){this.lineTo(t,e);return}const u=l[0]*c[0]+l[1]*c[1],f=Math.acos(Math.abs(u)),d=this.normalize([l[0]+c[0],l[1]+c[1]]),h=r/Math.sin(f/2),p=t+h*d[0],b=e+h*d[1],x=[-l[1],l[0]],k=[c[1],-c[0]],g=function(_){const w=_[0];return _[1]>=0?Math.acos(w):-Math.acos(w)},m=g(x),y=g(k);this.lineTo(p+x[0]*r,b+x[1]*r),this.arc(p,b,r,m,y)}stroke(){this.__currentElement.nodeName==="path"&&this.__currentElement.setAttribute("paint-order","fill stroke markers"),this.__applyCurrentDefaultPath(),this.__applyStyleToCurrentElement("stroke")}fill(){this.__currentElement.nodeName==="path"&&this.__currentElement.setAttribute("paint-order","stroke fill markers"),this.__applyCurrentDefaultPath(),this.__applyStyleToCurrentElement("fill")}rect(t,e,n,s){this.__currentElement.nodeName!=="path"&&this.beginPath(),this.moveTo(t,e),this.lineTo(t+n,e),this.lineTo(t+n,e+s),this.lineTo(t,e+s),this.lineTo(t,e),this.closePath()}fillRect(t,e,n,s){const r=this.__createElement("rect",{x:t,y:e,width:n,height:s},!0);this.__closestGroupOrSvg().appendChild(r),this.__currentElement=r,this.__applyStyleToCurrentElement("fill")}strokeRect(t,e,n,s){const r=this.__createElement("rect",{x:t,y:e,width:n,height:s},!0);this.__closestGroupOrSvg().appendChild(r),this.__currentElement=r,this.__applyStyleToCurrentElement("stroke")}__clearCanvas(){const e=this.__closestGroupOrSvg().getAttribute("transform"),n=this.__rootSVG.childNodes[1],s=n.childNodes;for(let r=s.length-1;r>=0;r--)s[r]&&n.removeChild(s[r]);this.__currentElement=n,this.__groupStack=[],e&&this.__addTransform(e)}clearRect(t,e,n,s){if(t===0&&e===0&&n===this.width&&s===this.height){this.__clearCanvas();return}const r=this.__closestGroupOrSvg(),a=this.__createElement("rect",{x:t,y:e,width:n,height:s,fill:"#FFFFFF"},!0);r.appendChild(a)}createLinearGradient(t,e,n,s){const r=this.__createElement("linearGradient",{id:Jr(this.__ids),x1:t+"px",x2:n+"px",y1:e+"px",y2:s+"px",gradientUnits:"userSpaceOnUse"},!1);return this.__SVGdefs.appendChild(r),new Cl(r,this)}createRadialGradient(t,e,n,s,r,a){const i=this.__createElement("radialGradient",{id:Jr(this.__ids),cx:s+"px",cy:r+"px",r:a+"px",fx:t+"px",fy:e+"px",gradientUnits:"userSpaceOnUse"},!1);return this.__SVGdefs.appendChild(i),new Cl(i,this)}__parseFont(){const e=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:%|in|[cem]m|ex|p[CustomCanvasContext]))(?:\s*\/\s*(normal|[.\d]+(?:%|in|[cem]m|ex|p[CustomCanvasContext])))?\s*([-,'"\sa-z0-9]+?)\s*$/i.exec(this.font),n={style:e[1]||"normal",size:e[4]||"10px",family:e[6]||"sans-serif",weight:e[3]||"normal",decoration:e[2]||"normal",href:null};return this.__fontUnderline==="underline"&&(n.decoration="underline"),this.__fontHref&&(n.href=this.__fontHref),n}__wrapTextLink(t,e){if(t.href){const n=this.__createElement("a");return n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",t.href),n.appendChild(e),n}return e}__applyText(t,e,n,s){const r=this.__parseFont(),a=this.__closestGroupOrSvg(),i=this.__createElement("text",{"font-family":r.family,"font-size":r.size,"font-style":r.style,"font-weight":r.weight,"text-decoration":r.decoration,x:e,y:n,"text-anchor":tv(this.textAlign),"dominant-baseline":ev(this.textBaseline)},!0);i.appendChild(this.__document.createTextNode(t)),this.__currentElement=i,this.__applyStyleToCurrentElement(s),a.appendChild(this.__wrapTextLink(r,i))}fillText(t,e,n){this.__applyText(t,e,n,"fill")}strokeText(t,e,n){this.__applyText(t,e,n,"stroke")}measureText(t){return this.__ctx.font=this.font,this.__ctx.measureText(t)}arc(t,e,n,s,r,a){if(s===r)return;s=s%(2*Math.PI),r=r%(2*Math.PI),s===r&&(r=(r+2*Math.PI-.001*(a?-1:1))%(2*Math.PI));const i=t+n*Math.cos(r),l=e+n*Math.sin(r),c=t+n*Math.cos(s),u=e+n*Math.sin(s),f=a?0:1;let d=0,h=r-s;h<0&&(h+=2*Math.PI),a?d=h>Math.PI?0:1:d=h>Math.PI?1:0,this.lineTo(c,u),this.__addPathCommand(Fe("A {rx} {ry} {xAxisRotation} {largeArcFlag} {sweepFlag} {endX} {endY}",{rx:n,ry:n,xAxisRotation:0,largeArcFlag:d,sweepFlag:f,endX:i,endY:l})),this.__currentPosition={x:i,y:l}}clip(){const t=this.__closestGroupOrSvg(),e=this.__createElement("clipPath"),n=Jr(this.__ids),s=this.__createElement("g");this.__applyCurrentDefaultPath(),t.removeChild(this.__currentElement),e.setAttribute("id",n),e.appendChild(this.__currentElement),this.__SVGdefs.appendChild(e),t.setAttribute("clip-path",Fe("url(#{id})",{id:n})),t.appendChild(s),this.__currentElement=s}drawImage(...t){let e=t[0],n,s,r,a,i=0,l=0,c,u,f,d,h,p,b,x;if(t.length===3)n=t[1],s=t[2],c=e.width,u=e.height,r=c,a=u;else if(t.length===5)n=t[1],s=t[2],r=t[3],a=t[4],c=e.width,u=e.height;else if(t.length===9)i=t[1],l=t[2],c=t[3],u=t[4],n=t[5],s=t[6],r=t[7],a=t[8];else throw new Error("Invalid number of arguments passed to drawImage: "+arguments.length);const k=this.__closestGroupOrSvg();this.__currentElement;const g="translate("+n+", "+s+")";if(e instanceof ta){if(f=e.getSvg().cloneNode(!0),f.childNodes&&f.childNodes.length>1){for(d=f.childNodes[0];d.childNodes.length;)x=d.childNodes[0].getAttribute("id"),this.__ids[x]=x,this.__SVGdefs.appendChild(d.childNodes[0]);if(h=f.childNodes[1],h){const m=h.getAttribute("transform");let y;m?y=m+" "+g:y=g,h.setAttribute("transform",y),k.appendChild(h)}}}else(e.nodeName==="CANVAS"||e.nodeName==="IMG")&&(p=this.__createElement("image"),p.setAttribute("width",r),p.setAttribute("height",a),p.setAttribute("preserveAspectRatio","none"),(i||l||c!==e.width||u!==e.height)&&(b=this.__document.createElement("canvas"),b.width=r,b.height=a,b.getContext("2d")?.drawImage(e,i,l,c,u,0,0,r,a),e=b),p.setAttribute("transform",g),p.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",e.nodeName==="CANVAS"?e.toDataURL():e.getAttribute("src")),k.appendChild(p))}createPattern(t,e){const n=this.__document.createElementNS("http://www.w3.org/2000/svg","pattern"),s=Jr(this.__ids);let r;return n.setAttribute("id",s),t.nodeName==="CANVAS"||t.nodeName==="IMG"?(r=this.__document.createElementNS("http://www.w3.org/2000/svg","image"),r.setAttribute("width",""+t.width),r.setAttribute("height",""+t.height),r.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",t.nodeName==="CANVAS"?t.toDataURL():t.getAttribute("src")),n.appendChild(r),this.__SVGdefs.appendChild(n)):t instanceof ta&&(n.setAttribute("width",""+t.width),n.setAttribute("height",""+t.height),n.appendChild(t.__rootSVG.childNodes[1]),this.__SVGdefs.appendChild(n)),new Td(n,this)}setLineDash(t){t&&t.length>0?this.lineDash=t.join(","):this.lineDash=null}drawFocusRing(){}createImageData(){}getImageData(){}putImageData(){}globalCompositeOperation(){}setTransform(){}}class Tl{canvas;context;customContext;currentPath2D=new Path2D;path2Ds=[];currentMatrix=new DOMMatrix;hasSetCustomStrokeStyle=!1;hasSetCustomFillStyle=!1;constructor(t,e,n,s=!1){this.canvas=t,this.context=t.getContext("2d",{willReadFrequently:!0}),s&&(this.customContext=new ta({canvas:this.canvas,width:e||this.canvas.width,height:n||this.canvas.height}))}set lineWidth(t){this.hasSetCustomStrokeStyle=!0,this.context.lineWidth=t,this.customContext&&(this.customContext.lineWidth=t)}get lineWidth(){return this.context.lineWidth}set lineCap(t){this.hasSetCustomStrokeStyle=!0,this.context.lineCap=t,this.customContext&&(this.customContext.lineCap=t)}get lineCap(){return this.context.lineCap}set lineJoin(t){this.hasSetCustomStrokeStyle=!0,this.context.lineJoin=t,this.customContext&&(this.customContext.lineCap=t)}get lineJoin(){return this.context.lineJoin}set lineDashOffset(t){this.hasSetCustomStrokeStyle=!0,this.context.lineDashOffset=t,this.customContext&&(this.customContext.lineDashOffset=t)}get lineDashOffset(){return this.context.lineDashOffset}set miterLimit(t){this.hasSetCustomStrokeStyle=!0,this.context.miterLimit=t,this.customContext&&(this.customContext.miterLimit=t)}get miterLimit(){return this.context.miterLimit}set globalAlpha(t){this.context.globalAlpha=t,this.customContext&&(this.customContext.globalAlpha=t)}get globalAlpha(){return this.context.globalAlpha}set fillStyle(t){this.hasSetCustomFillStyle=!0,typeof t=="string"||t instanceof CanvasGradient||t instanceof CanvasPattern?(this.context.fillStyle=t,this.customContext&&(this.customContext.fillStyle=t)):(this.context.fillStyle=t.gradient,this.customContext&&(this.customContext.fillStyle=t.gradientCustom))}get fillStyle(){return this.context.fillStyle}set strokeStyle(t){this.hasSetCustomStrokeStyle=!0,typeof t=="string"||t instanceof CanvasGradient||t instanceof CanvasPattern?(this.context.strokeStyle=t,this.customContext&&(this.customContext.strokeStyle=t)):(this.context.strokeStyle=t.gradient,this.customContext&&(this.customContext.strokeStyle=t.gradientCustom))}get strokeStyle(){return this.context.strokeStyle}set font(t){this.context.font=t,this.customContext&&(this.customContext.font=t)}get font(){return this.context.font}set textBaseline(t){this.context.textBaseline=t,this.customContext&&(this.customContext.textBaseline=t)}get textBaseline(){return this.context.textBaseline}set textAlign(t){this.context.textAlign=t,this.customContext&&(this.customContext.textAlign=t)}get textAlign(){return this.context.textAlign}fill(t){return t?this.context.fill(t):(this.context.fill(),this.customContext&&this.customContext.fill()),this}fillRect(t,e,n,s){return this.context.fillRect(t,e,n,s),this.customContext&&this.customContext.fillRect(t,e,n,s),this}fillText(t,e,n,s){return this.hasSetCustomFillStyle=!1,this.context.fillText(t,e,n,s),this.customContext&&this.customContext.fillText(t,e,n),this}setLineDash(t){return this.context.setLineDash(t),this.customContext&&this.customContext.setLineDash(t),this}stroke(t){return t?this.context.stroke(t):(this.context.stroke(),this.customContext&&this.customContext.stroke()),this}strokeText(t,e,n,s){return this.context.strokeText(t,e,n,s),this.customContext&&this.customContext.strokeText(t,e,n),this}strokeRect(t,e,n,s){return this.context.strokeRect(t,e,n,s),this.customContext&&this.customContext.strokeRect(t,e,n,s),this}measureText(t){return this.context.measureText(t)}clearRect(t=0,e=0,n=this.canvas.width,s=this.canvas.height){return this.context.clearRect(t,e,n,s),this.customContext&&this.customContext.clearRect(t,e,n,s),this}save(){return this.context.save(),this.customContext&&this.customContext.save(),this.currentMatrix=new DOMMatrix,this.path2Ds.push(this.currentPath2D),this.currentPath2D=new Path2D,this}restore(){return this.context.restore(),this.customContext&&this.customContext.restore(),this.hasSetCustomStrokeStyle=!1,this.hasSetCustomFillStyle=!1,this.currentMatrix=new DOMMatrix,this.currentPath2D=this.path2Ds.pop()||new Path2D,this}beginPath(){return this.context.beginPath(),this.customContext&&this.customContext.beginPath(),this}closePath(){return this.context.closePath(),this.customContext&&this.customContext.closePath(),this.currentPath2D.closePath(),this}changePath2D(t=this.currentPath2D,e=this.currentMatrix){const n=new Path2D;n.addPath(t,e),this.currentPath2D=n}isPointInStroke(...t){return t[0]instanceof Path2D?this.context.isPointInStroke(t[0],t[1],t[2]):this.context.isPointInStroke(t[0],t[1])}isPointInPath(...t){return t[0]instanceof Path2D?this.context.isPointInPath(t[0],t[1],t[2]):this.context.isPointInPath(t[0],t[1])}translate(t,e){return this.context.translate(t,e),this.customContext&&this.customContext.translate(t,e),this.currentMatrix.translate(t,e),this.changePath2D(),this}rotate(t,e=0,n=0){return this.translate(e,n),this.context.rotate(t),this.customContext&&this.customContext.rotate(t),this.currentMatrix.rotate(t),this.translate(-e,-n),this.changePath2D(),this}scale(t,e=t,n=0,s=0){return this.translate(n,s),this.context.scale(t,e),this.customContext&&this.customContext.scale(t,e),this.currentMatrix.scale(t,e),this.translate(-n,-s),this.changePath2D(),this}moveTo(t,e){return this.context.moveTo(t,e),this.customContext&&this.customContext.moveTo(t,e),this.currentPath2D.moveTo(t,e),this}lineTo(t,e){return this.context.lineTo(t,e),this.customContext&&this.customContext.lineTo(t,e),this.currentPath2D.lineTo(t,e),this}arc(t,e,n,s,r,a){return this.context.arc(t,e,n,s,r,a),this.customContext&&this.customContext.arc(t,e,n,s,r,a?-1:1),this.currentPath2D.arc(t,e,n,s,r,a),this}arcTo(t,e,n,s,r){return this.context.arcTo(t,e,n,s,r),this.customContext&&this.customContext.arcTo(t,e,n,s,r),this.currentPath2D.arcTo(t,e,n,s,r),this}ellipse(t,e,n,s,r,a,i,l){return this.context.ellipse(t,e,n,s,r,a,i,l),this.currentPath2D.ellipse(t,e,n,s,r,a,i,l),this}quadraticCurveTo(t,e,n,s){return this.context.quadraticCurveTo(t,e,n,s),this.customContext&&this.customContext.quadraticCurveTo(t,e,n,s),this.currentPath2D.quadraticCurveTo(t,e,n,s),this}bezierCurveTo(t,e,n,s,r,a){return this.context.bezierCurveTo(t,e,n,s,r,a),this.customContext&&this.customContext.bezierCurveTo(t,e,n,s,r,a),this.currentPath2D.bezierCurveTo(t,e,n,s,r,a),this}rect(t,e,n,s){return this.context.rect(t,e,n,s),this.customContext&&this.customContext.rect(t,e,n,s),this.currentPath2D.rect(t,e,n,s),this}createLinearGradient(t,e,n,s,r){const a=this.context.createLinearGradient(t,e,n,s);return r&&Object.entries(r).forEach(([i,l])=>{a.addColorStop(parseFloat(i),l)}),a}createRadialGradient(t,e,n,s,r,a,i){const l=this.context.createRadialGradient(t,e,n,s,r,a);return i&&Object.entries(i).forEach(([c,u])=>{l.addColorStop(parseFloat(c),u)}),l}drawImage(t,...e){if(e.length===0)this.context.drawImage(t,0,0);else if(e.length===2){const n=e[0],s=e[1];this.context.drawImage(t,n,s)}else if(e.length===4){const n=e[0],s=e[1],r=e[2],a=e[3];this.context.drawImage(t,n,s,r,a)}else if(e.length===8){const n=e[0],s=e[1],r=e[2],a=e[3],i=e[4],l=e[5],c=e[6],u=e[7];this.context.drawImage(t,n,s,r,a,i,l,c,u)}else throw new Error("Invalid number of arguments passed to drawImage: "+e.length);return this.customContext&&this.customContext.drawImage(t,...e),this}getImageData(t=0,e=0,n=this.canvas.width,s=this.canvas.height,r){return this.context.getImageData(t,e,n,s,r)}putImageData(t,e=0,n=0){return this.context.putImageData(t,e,n)}createPattern(t,e){return this.context.createPattern(t,e)}toRawSVG(){if(this.customContext){const t=this.customContext.getSerializedSvg(!0),e=this.customContext.getSvg();return{raw:t,element:e}}else return{raw:"",element:null}}}const ov=Tl;class ea{x;y;toX;toY;constructor(t){this.x=t?.x||0,this.y=t?.y||0,this.toX=t?.toX||0,this.toY=t?.toY||0}toSVGPathData(){return[["L",this.toX,this.toY]]}toCanvasContext(t){t.lineTo(this.toX,this.toY)}getBoundingClientRect(){const t=Qr(this.x,this.y,this.toX,this.toY);if(t===0){const e=Math.min(this.x,this.toX),n=Math.min(this.y,this.toY),s=Math.max(this.x,this.toX),r=Math.max(this.y,this.toY);return{x:e,y:n,width:s-e,height:r-n}}else{const e=Math.sin(t),n=Math.cos(t),s=n*this.x-e*this.y,r=n*this.toX-e*this.toY,a=n*this.y+e*this.x,i=n*this.toY+e*this.toX;return{x:Math.min(s,r),y:Math.min(a,i),width:Math.max(s,r)-Math.min(s,r),height:Math.max(a,i)-Math.min(a,i)}}}interpolate(t){return{x:this.x+t*(this.toX-this.x),y:this.y+t*(this.toY-this.y)}}intersection(t){const e=this.x,n=this.y,s=t.toX,r=t.toY,a=this.toX-e,i=t.x-s;if(!a&&!i)return null;const l=(this.toY-n)/a,c=(t.y-r)/i;if(a){if(!i)return{x:s,y:l*(s-e)+n}}else return{x:e,y:c*(e-s)+r};const u=(-c*s+r+l*e-n)/(l-c),f=l*(u-e)+n;return isNaN(u)||isNaN(f)?null:{x:u,y:f}}}const Ed=ea;class nv extends ea{rx;ry;xAxisRotate;largeArcFlag;sweepFlag;constructor(t){super(t),this.rx=t.rx,this.ry=t.ry,this.xAxisRotate=t?.xAxisRotate??0,this.largeArcFlag=t?.largeArcFlag??1,this.sweepFlag=t?.sweepFlag??1,this.toX=t.toX,this.toY=t.toY}toSVGPathData(){return[["A",this.rx,this.ry,this.xAxisRotate,this.largeArcFlag,this.sweepFlag,this.toX,this.toY]]}toCanvasContext(t){const[e,n,s,r,a,i,l]=this.convert(this.x,this.y,this.toX,this.toY,this.rx,this.ry,this.xAxisRotate,this.largeArcFlag,this.sweepFlag);t.ellipse(e,n,s,r,a,i,l,!this.sweepFlag)}convert(t,e,n,s,r,a,i,l,c){const u=i/180*Math.PI,f=(t-n)/2,d=(e-s)/2,h=Math.cos(u)*f+Math.sin(u)*d,p=-Math.sin(u)*f+Math.cos(u)*d,b=h*h/(r*r)+p*p/(a*a);if(b>1){const ut=Math.sqrt(b);throw r=ut*r,a=ut*a,new Error(`Radii are too small to build an arc. Correcting them to ${r}/${a}.`)}const x=Math.sqrt((r*r*a*a-r*r*p*p-a*a*h*h)/(r*r*p*p+a*a*h*h)),k=l!=c?1:-1,g=k*x*r*p/a,m=k*x*-a*h/r,y=(t+n)/2,_=(e+s)/2,w=Math.cos(u)*g-Math.sin(u)*m+y,$=Math.sin(u)*g+Math.cos(u)*m+_,V=(ut,G,tt,gt)=>(ut*gt>=G*tt?1:-1)*Math.acos((ut*tt+G*gt)/(Math.sqrt(ut*ut+G*G)*Math.sqrt(tt*tt+gt*gt))),B=V(1,0,t-w,e-$)-u,M=V(t-w,e-$,n-w,s-$);return[w,$,r,a,u,B,B+M]}}const sv=nv;class rv extends ea{cx;cy;isLineThrough;constructor(t){super(t),this.cx=t.cx,this.cy=t.cy,this.isLineThrough=typeof t.isLineThrough=="boolean"?t.isLineThrough:!1}toSVGPathData(){if(this.isLineThrough){const t=this.cx*2-(this.x+this.toX)/2,e=this.cy*2-(this.y+this.toY)/2;return[["Q",t,e,this.toX,this.toY]]}else return[["Q",this.cx,this.cy,this.toX,this.toY]]}toCanvasContext(t){if(this.isLineThrough){const e=this.cx*2-(this.x+this.toX)/2,n=this.cy*2-(this.y+this.toY)/2;t.quadraticCurveTo(e,n,this.toX,this.toY)}else t.quadraticCurveTo(this.cx,this.cy,this.toX,this.toY)}getBoundingClientRect(){const t=[this.x,this.toX],e=[this.y,this.toY];let n,s,r,a;for(let c=0;c<2;++c)n=c==0?this.x-2*this.cx+this.toX:this.y-2*this.cy+this.toY,s=c==0?-2*this.x+2*this.cx:-2*this.y+2*this.cy,r=c==0?this.x:this.y,Math.abs(n)>1e-12&&(a=-s/(2*n),0<a&&a<1&&[t,e][c].push(n*a*a+s*a+r));const i={x:Math.min.apply(0,t),y:Math.min.apply(0,e)},l={x:Math.max.apply(0,t),y:Math.max.apply(0,e)};return{x:i.x,y:i.y,width:l.x-i.x,height:l.y-i.y}}interpolate(t){return{x:(1-t)*(1-t)*this.x+2*(1-t)*t*this.cx+t*t*this.toX,y:(1-t)*(1-t)*this.y+2*(1-t)*t*this.cy+t*t*this.toY}}}const av=rv;class Zn extends ea{c1x;c1y;c2x;c2y;constructor(t){super(t),this.c1x=t.c1x,this.c1y=t.c1y,this.c2x=t.c2x,this.c2y=t.c2y}toSVGPathData(){return[["C",this.c1x,this.c1y,this.c2x,this.c2y,this.toX,this.toY]]}toCanvasContext(t){t.bezierCurveTo(this.c1x,this.c1y,this.c2x,this.c2y,this.toX,this.toY)}getBoundingClientRect(){let t=this.c2x-2*this.c1x+this.x-(this.toX-2*this.c2x+this.c1x),e=2*(this.c1x-this.x)-2*(this.c2x-this.c1x),n=this.x-this.c1x,s=(-e+Math.sqrt(e*e-4*t*n))/2/t,r=(-e-Math.sqrt(e*e-4*t*n))/2/t;const a=[this.y,this.toY],i=[this.x,this.toX];let l;const c=[];Math.abs(s)>1e12&&(s=.5),Math.abs(r)>1e12&&(r=.5),s>=0&&s<=1&&(l=this.interpolate(s),i.push(l.x),a.push(l.y),c.push({X:l.x,Y:l.y})),r>=0&&r<=1&&(l=this.interpolate(r),i.push(l.x),a.push(l.y),c.push({X:l.x,Y:l.y})),t=this.c2y-2*this.c1y+this.y-(this.toY-2*this.c2y+this.c1y),e=2*(this.c1y-this.y)-2*(this.c2y-this.c1y),n=this.y-this.c1y,s=(-e+Math.sqrt(e*e-4*t*n))/2/t,r=(-e-Math.sqrt(e*e-4*t*n))/2/t,Math.abs(s)>1e12&&(s=.5),Math.abs(r)>1e12&&(r=.5),s>=0&&s<=1&&(l=this.interpolate(s),i.push(l.x),a.push(l.y),c.push({X:l.x,Y:l.y})),r>=0&&r<=1&&(l=this.interpolate(r),i.push(l.x),a.push(l.y),c.push({X:l.x,Y:l.y}));const u=[],f=c.length;for(let p=0;p<f;p++){for(let b=p+1;b<f;b++)c[p].X===c[b].X&&c[p].Y===c[b].Y&&(b=++p);u.push({X:c[p].X,Y:c[p].Y})}const d={x:Math.min.apply(Math,i),y:Math.min.apply(Math,a)},h={x:Math.max.apply(Math,i),y:Math.max.apply(Math,a)};return{x:d.x,y:d.y,width:h.x-d.x,height:h.y-d.y,dots:u}}interpolate(t){return{x:Math.pow(1-t,3)*this.x+3*Math.pow(1-t,2)*t*this.c1x+3*Math.pow(1-t,1)*Math.pow(t,2)*this.c2x+Math.pow(t,3)*this.toX,y:Math.pow(1-t,3)*this.y+3*Math.pow(1-t,2)*t*this.c1y+3*Math.pow(1-t,1)*Math.pow(t,2)*this.c2y+Math.pow(t,3)*this.toY}}static base3(t,e,n,s,r){const a=-3*e+9*n-9*s+3*r,i=t*a+6*e-12*n+6*s;return t*i-3*e+3*n}static bezlen(t,e,n,s,r,a,i,l,c=1){c=Math.max(0,Math.min(c,1));const u=c/2,f=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],d=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472];let h=0;for(let p=0;p<12;p++){const b=u*f[p]+u,x=this.base3(b,t,n,r,i),k=this.base3(b,e,s,a,l);h+=d[p]*Math.sqrt(x*x+k*k)}return u*h}length(t=1){return Zn.bezlen(this.x,this.y,this.c1x,this.c1y,this.c2x,this.c2y,this.toX,this.toY,t)}getTatLen(t){const e=this.x,n=this.y,s=this.c1x,r=this.c1y,a=this.c2x,i=this.c2y,l=this.toX,c=this.toY;if(t<0||Zn.bezlen(e,n,s,r,a,i,l,c)<t)return 0;const u=1;let f=u/2,d=u-f,h=Zn.bezlen(e,n,s,r,a,i,l,c,d);for(;Math.abs(h-t)>.01;)f/=2,d+=(h<t?1:-1)*f,h=Zn.bezlen(e,n,s,r,a,i,l,c,d);return d}getPointAtSegmentLength(t){const e=this.getTatLen(t),n=1-e,s=Math.pow(n,3),r=Math.pow(n,2),a=e*e,i=a*e,l=s*this.x+r*3*e*this.c1x+n*3*e*e*this.c2x+i*this.toX,c=s*this.y+r*3*e*this.c1y+n*3*e*e*this.c2y+i*this.toY,u=this.x+2*e*(this.c1x-this.x)+a*(this.c2x-2*this.c1x+this.x),f=this.y+2*e*(this.c1y-this.y)+a*(this.c2y-2*this.c1y+this.y),d=this.c1x+2*e*(this.c2x-this.c1x)+a*(this.toX-2*this.c2x+this.c1x),h=this.c1y+2*e*(this.c2y-this.c1y)+a*(this.toY-2*this.c2y+this.c1y),p=n*this.x+e*this.c1x,b=n*this.y+e*this.c1y,x=n*this.c2x+e*this.toX,k=n*this.c2y+e*this.toY,g=90-Math.atan2(u-d,f-h)*180/Math.PI;return{x:l,y:c,m:{x:u,y:f},n:{x:d,y:h},start:{x:p,y:b},end:{x,y:k},alpha:g}}}const Jo=Zn,Ds=Math.PI*2;function Sd(o,t,e,n){const s=o*n-t*e<0?-1:1;let r=o*e+t*n;return r>1&&(r=1),r<-1&&(r=-1),s*Math.acos(r)}function iv(o,t,e,n,s,r,a,i,l,c){const u=c*(o-e)/2+l*(t-n)/2,f=-l*(o-e)/2+c*(t-n)/2,d=a*a,h=i*i,p=u*u,b=f*f;let x=d*h-d*b-h*p;x<0&&(x=0),x/=d*b+h*p,x=Math.sqrt(x)*(s===r?-1:1);const k=x*a/i*f,g=x*-i/a*u,m=c*k-l*g+(o+e)/2,y=l*k+c*g+(t+n)/2,_=(u-k)/a,w=(f-g)/i,$=(-u-k)/a,V=(-f-g)/i,B=Sd(1,0,_,w);let M=Sd(_,w,$,V);return r===0&&M>0&&(M-=Ds),r===1&&M<0&&(M+=Ds),[m,y,B,M]}function lv(o,t){const e=1.3333333333333333*Math.tan(t/4),n=Math.cos(o),s=Math.sin(o),r=Math.cos(o+t),a=Math.sin(o+t);return[n,s,n-s*e,s+n*e,r+a*e,a-r*e,r,a]}function Od(o,t,e,n,s,r,a,i,l){const c=Math.sin(l*Ds/360),u=Math.cos(l*Ds/360),f=u*(o-e)/2+c*(t-n)/2,d=-c*(o-e)/2+u*(t-n)/2;if(f===0&&d===0)return[];if(a===0||i===0)return[];a=Math.abs(a),i=Math.abs(i);const h=f*f/(a*a)+d*d/(i*i);h>1&&(a*=Math.sqrt(h),i*=Math.sqrt(h));const p=iv(o,t,e,n,s,r,a,i,c,u),b=[];let x=p[2],k=p[3];const g=Math.max(Math.ceil(Math.abs(k)/(Ds/4)),1);k/=g;for(let m=0;m<g;m++)b.push(lv(x,k)),x+=k;return b.map(m=>{for(let y=0;y<m.length;y+=2){let _=m[y+0],w=m[y+1];_*=a,w*=i;const $=u*_-c*w,V=c*_+u*w;m[y+0]=$+p[0],m[y+1]=V+p[1]}return m})}function El(o,t,e,n,s,r){return[o/3+2/3*e,t/3+2/3*n,s/3+2/3*e,r/3+2/3*n,s,r]}function Ms(o,t,e,n){return[o,t,e,n,e,n]}const oa={a:7,c:6,s:4,q:4,t:2,m:2,l:2,h:1,v:1,z:0};class Tn{static createSVGElement(t="path",e){const n=document.createElementNS.call(document,"http://www.w3.org/2000/svg",t);return e&&dv(n,e),n}static createSvgPath(t,e){return this.createSVGElement("path",{d:t,id:e||Mn()})}static downloadFromSVGElement(t,e="shape"){return nh(F1(t),`${e}.svg`)}static downloadFromSVGString(t,e="shape"){return nh(ud(t),`${e}.svg`)}static getSVGRawStringFromElement(t){return pd(t)}static isSVGPath(t){return typeof t!="string"?!1:(t=t.trim(),/^[mlhvzaqtcs]\s*[-+.0-9][^mlhvzaqtcs]+/i.test(t)&&/[\dz]$/i.test(t))}static SVGPathDataToD(t){return t.map(e=>{if(!e[0])return"";switch(e[0].toLowerCase()){case"a":return`${e[0]} ${e[1]},${e[2]} ${e[3]} ${e[4]},${e[5]} ${e[6]},${e[7]}`;case"c":return`${e[0]} ${e[1]},${e[2]} ${e[3]},${e[4]} ${e[5]},${e[6]}`;case"s":case"q":return`${e[0]} ${e[1]},${e[2]} ${e[3]},${e[4]}`;default:return e[0]+" "+e.slice(1).join(",")}}).join(" ")}static parseSVGPath(t){const e=[];return Tn.isSVGPath(t)&&t.replace(/([mlhvzaqtcs])([^mlhvzaqtcs]*)/gi,(n,s,r)=>{let a=s.toLowerCase();const i=ll(r);for(a=="m"&&i.length>oa[a]&&(e.push([s,...i.splice(0,oa[a])]),a="l",s=s=="m"?"l":"L");i.length;){if(i.length<oa[a])throw new Error(`parseSVGPath substring:{ ${n} } command:{ ${s} } args:{ ${i} }`);e.push([s,...i.splice(0,oa[a])])}return a=="z"&&e.push([s]),""}),e}static absolutizeSVGPath(t){let e=0,n=0,s=0,r=0;return t.map(function(a){const i=a[0],l=i.toUpperCase();if(i!=l)switch(a[0]=l,i){case"a":a[6]+=s,a[7]+=r;break;case"v":a[1]+=r;break;case"h":a[1]+=s;break;default:for(let c=1;c<a.length;)a[c++]+=s,a[c++]+=r}switch(l){case"Z":s=e,r=n;break;case"H":s=a[1];break;case"V":r=a[1];break;case"M":s=e=a[1],r=n=a[2];break;default:s=a[a.length-2],r=a[a.length-1]}return a})}static relativeSVGPath(t){let e=0,n=0,s=0,r=0;return t.map(function(a){const i=a[0],l=i.toLowerCase();if(i!=l)switch(a[0]=l,i){case"A":a[6]-=s,a[7]-=r;break;case"V":a[1]-=r;break;case"H":a[1]-=s;break;default:for(let c=1;c<a.length;)a[c++]-=s,a[c++]-=r}switch(l){case"z":s=e,r=n;break;case"h":s+=a[1];break;case"v":r+=a[1];break;case"m":s+=a[1],r+=a[2],e+=a[1],n+=a[2];break;default:s+=a[a.length-2],r+=a[a.length-1]}return a})}static normalizeSVGPath(t){const e=[];let n=0,s=0,r=0,a=0,i=0,l=0,c=0,u=0,f;for(let d=0,h=t.length;d<h;d++){let p=t[d];const b=p[0];switch(b){case"M":n=p[1],s=p[2];break;case"A":const x=Od(r,a,p[6],p[7],p[4],p[5],p[1],p[2],p[3]);if(!x.length)continue;x.forEach((m,y)=>{const[_,w,$,V,B,M,ut,G]=m;p=["C",$,V,B,M,ut,G],y<x.length-1&&e.push(p)});break;case"S":let k=r,g=a;(f=="C"||f=="S")&&(k+=k-c,g+=g-u),p=["C",k,g,p[1],p[2],p[3],p[4]];break;case"T":f=="Q"||f=="T"?(i=r*2-i,l=a*2-l):(i=r,l=a),p=["C",...El(r,a,i,l,p[1],p[2])];break;case"Q":i=p[1],l=p[2],p=["C",...El(r,a,p[1],p[2],p[3],p[4])];break;case"L":p=["C",...Ms(r,a,p[1],p[2])];break;case"H":p=["C",...Ms(r,a,p[1],a)];break;case"V":p=["C",...Ms(r,a,r,p[1])];break;case"Z":p=["C",...Ms(r,a,n,s)];break}f=b,r=p[p.length-2],a=p[p.length-1],p.length>4?(c=p[p.length-4],u=p[p.length-3]):(c=r,u=a),e.push(p)}return e}static catmullRom2bezier(t){const e=[];for(let n=0,s=t.length;s-2>n;n+=2){let r;n==0?r=[{x:t[n],y:t[n+1]},{x:t[n],y:t[n+1]},{x:t[n+2],y:t[n+3]},{x:t[n+4],y:t[n+5]}]:s-4==n?r=[{x:t[n-2],y:t[n-1]},{x:t[n],y:t[n+1]},{x:t[n+2],y:t[n+3]},{x:t[n+2],y:t[n+3]}]:r=[{x:t[n-2],y:t[n-1]},{x:t[n],y:t[n+1]},{x:t[n+2],y:t[n+3]},{x:t[n+4],y:t[n+5]}];const a=[{x:r[1].x,y:r[1].y},{x:(-r[0].x+6*r[1].x+r[2].x)/6,y:(-r[0].y+6*r[1].y+r[2].y)/6},{x:(r[1].x+6*r[2].x-r[3].x)/6,y:(r[1].y+6*r[2].y-r[3].y)/6},{x:r[2].x,y:r[2].y}];e.push(["C",a[1].x,a[1].y,a[2].x,a[2].y,a[3].x,a[3].y])}return e}static zvhToLSVGPath(t){const e=[];let n=["L",0,0],s;for(let r=0,a=t.length;r<a;r++){const i=t[r];switch(i[0]){case"M":n=["L",i[1],i[2]],e.push(i);break;case"Z":e.push(n);break;case"H":s=e[e.length-1]||["L",0,0],e.push(["L",i[1],s[s.length-1]]);break;case"V":s=e[e.length-1]||["L",0,0],e.push(["L",s[s.length-2],i[1]]);break;default:e.push(i)}}return e}static longhandSVGPath(t){const e={S:{to:"C",x:3},T:{to:"Q",x:1}};let n,s=0,r=0;for(let a=0,i=t.length;a<i;a++){const l=t[a],c=e[l[0]];c&&(l[0]=c.to,n&&(n[0]===c.to?(s=2*Number(n[c.x+2])-Number(n[c.x]),r=2*Number(n[c.x+3])-Number(n[c.x+1])):(s=Number(n[n.length-2]),r=Number(n[n.length-1]))),l.splice(1,0,s,r)),n=l}return t}}class wo{cX;cY;x;y;degree;scalarX;scalarY;startPathX=0;startPathY=0;prevPathX=0;prevPathY=0;normalizedLines=[];constructor(t){this.cX=0,this.cY=0,this.x=t?.x||0,this.y=t?.y||0,typeof t?.centerX=="number"&&typeof t?.centerY=="number"&&(this.cX=t.centerX-this.x,this.cY=t.centerY-this.y),this.degree=t?.degree||0,this.scalarX=1,this.scalarY=1,t?.scalar!==void 0&&(this.scalarX=t.scalar,this.scalarY=t.scalar),t?.scalarX!==void 0&&(this.scalarX=t.scalarX),t?.scalarY!==void 0&&(this.scalarY=t.scalarY),this.reset(t?.d,t?.originMatrix)}reset(t,e){typeof t=="string"?this.resetFromSVGPathData(Tn.parseSVGPath(t),e):t instanceof wo?this.resetFromSVGPathData(t.toSVGPathData(),e):this.resetFromSVGPathData(t||[],e)}resetFromSVGPathData(t,e){this.normalizedLines=[];const n=Tn.normalizeSVGPath(Tn.absolutizeSVGPath(t));this.prevPathX=this.startPathX=0,this.prevPathY=this.startPathY=0;let s=!1;for(let r=0,a=n.length;r<a;r++){const i=n[r];if(i[0]=="M"){s||(s=!0,this.startPathX=i[1],this.startPathY=i[2]),this.prevPathX=i[1],this.prevPathY=i[2];continue}this.appendLine(new Jo({c1x:i[1],c1y:i[2],c2x:i[3],c2y:i[4],toX:i[5],toY:i[6]}))}e&&({x:this.startPathX,y:this.startPathY}=e.transformPoint({x:this.startPathX,y:this.startPathY}),{x:this.prevPathX,y:this.prevPathY}=e.transformPoint({x:this.prevPathX,y:this.prevPathY}),this.normalizedLines.forEach(r=>{({x:r.x,y:r.y}=e.transformPoint({x:r.x,y:r.y})),{x:r.c1x,y:r.c1y}=e.transformPoint({x:r.c1x,y:r.c1y}),{x:r.c2x,y:r.c2y}=e.transformPoint({x:r.c2x,y:r.c2y}),{x:r.toX,y:r.toY}=e.transformPoint({x:r.toX,y:r.toY})}))}static fromPolymorphPoints(t){const e=new wo;e.prevPathX=e.startPathX=t[0]||0,e.prevPathY=e.startPathY=t[1]||0;for(let n=2,s=t.length;n+5<s;n+=6)e.appendLine(new Jo({c1x:t[n],c1y:t[n+1],c2x:t[n+2],c2y:t[n+3],toX:t[n+4],toY:t[n+5]}));return e}static fromLines(t){const e=new wo;e.prevPathX=e.startPathX=t[0].x||0,e.prevPathY=e.startPathY=t[0].y||0;for(let n=0,s=t.length;n<s;n++)e.appendLine(t[n]);return e}appendLine(t){if(t instanceof sv){Od(this.prevPathX,this.prevPathY,t.toX,t.toY,t.largeArcFlag,t.sweepFlag,t.rx,t.ry,t.xAxisRotate).forEach(c=>{const[u,f,d,h,p,b,x,k]=c;this.normalizedLines.push(new Jo({x:this.prevPathX,y:this.prevPathY,c1x:d,c1y:h,c2x:p,c2y:b,toX:x,toY:k})),this.prevPathX=x,this.prevPathY=k});return}let e,n,s,r,a,i;t instanceof Jo?(e=t.c1x,n=t.c1y,s=t.c2x,r=t.c2y,a=t.toX,i=t.toY):t instanceof av?[e,n,s,r,a,i]=El(this.prevPathX,this.prevPathY,t.cx,t.cy,t.toX,t.toY):[e,n,s,r,a,i]=Ms(this.prevPathX,this.prevPathY,t.toX,t.toY),this.normalizedLines.push(new Jo({x:this.prevPathX,y:this.prevPathY,c1x:e,c1y:n,c2x:s,c2y:r,toX:a,toY:i})),this.prevPathX=a,this.prevPathY=i}toSVGPathData(){const{startPathX:t,startPathY:e,normalizedLines:n}=this.updateTransform(),s=[];s.push(["M",t,e]);for(let r=0,a=n.length;r<a;r++)s.push(...n[r].toSVGPathData());return s}toSVGPathD(){return Tn.SVGPathDataToD(this.toSVGPathData())}toCanvasContext(t){const{startPathX:e,startPathY:n,normalizedLines:s}=this.updateTransform();t.beginPath(),t.moveTo(e,n),s.forEach(r=>{r.toCanvasContext(t)})}getBoundingClientRect(){const{normalizedLines:t}=this.updateTransform(),e=[],n=[];if(t.forEach(l=>{const c=l.getBoundingClientRect();e.push(c.x,c.x+c.width),n.push(c.y,c.y+c.height)}),e.length==0||n.length==0)return{x:0,y:0,width:0,height:0};const s=Math.min.apply(0,e),r=Math.min.apply(0,n),a=Math.max.apply(0,e),i=Math.max.apply(0,n);return{x:s,y:r,width:a-s,height:i-r}}update(t){this.cX=typeof t.cX=="number"?t.cX:this.cX,this.cY=typeof t.cY=="number"?t.cY:this.cY,this.x=t.x,this.y=t.y,this.degree=t.degree,this.scalarX=t.scalarX,this.scalarY=t.scalarY}updateTransform(){const t=new Je;if(t.translate(this.x+this.cX,this.y+this.cY),t.rotate(this.degree),t.scale(this.scalarX,this.scalarY),t.translate(-this.cX,-this.cY),t.isIdentity)return{startPathX:this.startPathX,startPathY:this.startPathY,normalizedLines:this.normalizedLines};{let e=this.startPathX,n=this.startPathY;({x:e,y:n}=t.transformPoint({x:e,y:n}));const s=[];return this.normalizedLines.forEach(r=>{let a=r.x,i=r.y,l=r.c1x,c=r.c1y,u=r.c2x,f=r.c2y,d=r.toX,h=r.toY;({x:a,y:i}=t.transformPoint({x:a,y:i})),{x:l,y:c}=t.transformPoint({x:l,y:c}),{x:u,y:f}=t.transformPoint({x:u,y:f}),{x:d,y:h}=t.transformPoint({x:d,y:h}),s.push(new Jo({x:a,y:i,c1x:l,c1y:c,c2x:u,c2y:f,toX:d,toY:h}))}),{startPathX:e,startPathY:n,normalizedLines:s}}}getTotalLength(){const{normalizedLines:t}=this.updateTransform();return t.reduce((e,n)=>e+=n.length(),0)}getPointAtLength(t){const{normalizedLines:e}=this.updateTransform();let n=0;const s=e.length;for(let r=0;r<s;r++){const a=e[r],i=a.length();if(n+i>=t)return a.getPointAtSegmentLength(t-n);n+=i}return e[s-1].getPointAtSegmentLength(1)}interpolate(t){const{startPathX:e,startPathY:n,normalizedLines:s}=this.updateTransform(),r=s.length;if(r===0)return{x:e,y:n};if(r===1)return s[0].interpolate(t);{let a=t*r,i=s[0];if(a--,a>1)for(let l=1;l<r&&(i=s[l],a>1);l++)a-=1;return i.interpolate(a)}}getSubpath(t,e){if(this.getTotalLength()-e<1e-6)return this.getSubpathsAtLength(this,t);{const n=this.getSubpathsAtLength(this,e,1);return t?this.getSubpathsAtLength(n,t):n}}getSubpathsAtLength(t,e,n){const{startPathX:s,startPathY:r,normalizedLines:a}=t.updateTransform();let i=null,l=0;const c=new wo;c.prevPathX=c.startPathX=s,c.prevPathY=c.startPathY=r;for(let u=0,f=a.length;u<f;u++){const d=a[u],h=d.length();if(l+h>e&&!i){const p=d.getPointAtSegmentLength(e-l);if(c.appendLine(new Jo({c1x:p.start.x,c1y:p.start.y,c2x:p.m.x,c2y:p.m.y,toX:p.x,toY:p.y})),n)return c;i=c,c.appendLine(new Jo({c1x:p.n.x,c1y:p.n.y,c2x:p.end.x,c2y:p.end.y,toX:d.x,toY:d.y})),l+=h;continue}l+=h,c.appendLine(d)}return c}closestPoint(t,e){const n=this.getTotalLength();let s={x:t,y:e},r=0,a=1/0,i=8;for(let c=0;c<=n;c+=i){const u=this.getPointAtLength(c),f=wl(u.x,u.y,t,e);f<a&&(s=u,r=c,a=f)}for(i/=2;i>.5;){const c=r-i,u=this.getPointAtLength(c),f=wl(u.x,u.y,t,e),d=r+i,h=this.getPointAtLength(d),p=wl(h.x,h.y,t,e);c>=0&&f<a?(s=u,r=c,a=f):d<=n&&p<a?(s=h,r=d,a=p):i/=2}const l=this.getPointAtLength(r+(r===n?-.1:.1));return{point:s,rotation:r>=n?Qr(l.x,l.y,s.x,s.y):Qr(s.x,s.y,l.x,l.y),distance:Math.sqrt(a)}}get polymorphPoints(){const{startPathX:t,startPathY:e,normalizedLines:n}=this.updateTransform();return[t,e].concat(n.reduce((s,r)=>s.concat([r.c1x,r.c1y,r.c2x,r.c2y,r.toX,r.toY]),[]))}perimeterPoints(){const t=this.polymorphPoints,e=t.length;let n=t[e-2],s=t[e-1],r=0;for(let a=0;a<e;a+=6)r+=wd(t[a],t[a+1],n,s),n=t[a],s=t[a+1];return Math.floor(r)}expendFill(t){const e=this.polymorphPoints,n=e.length;let s=t-n;const r=Math.ceil(t/n),a=[];a.push(["M",e[0],e[1]]);let i=2;for(;i+5<=n-1;){const l=e[i++],c=e[i++],u=e[i++],f=e[i++],d=e[i++],h=e[i++];a.push(["C",l,c,u,f,d,h]);let p=0;for(;p<r&&s>0;)a.push(["C",d,h,d,h,d,h]),s-=6,p++}return a}static mixPoints(t,e,n){const s=t.length,r=new Array(s);for(let a=0;a<s;a++)r[a]=ke(t[a]+(e[a]-t[a])*n,6);return r}static getPathInterpolator(t,e){return n=>Math.abs(n-0)<Number.EPSILON?t:Math.abs(n-1)<Number.EPSILON?e:wo.fromPolymorphPoints(wo.mixPoints(new wo({d:t}).polymorphPoints,new wo({d:e}).polymorphPoints,n)).toSVGPathData()}}class Un extends Hr{id;originD;originMatrix;independentTransformInGroup;forceCXY=!1;cX;cY;x;y;degree;scalarX;scalarY;diffXInGroup;diffYInGroup;diffDegreeInGroup;diffScalarXInGroup;diffScalarYInGroup;vx;vy;ax;ay;mass;attrs;enableDrag;alongPath;isDragging=!1;isMouseIn=!1;targetToAfterDragFree;followMouse;strokeArmyAnts;strokeArmyAntsOffset=0;strokeDashTotalLength=0;isShow=!0;el;pathd;usePathDtoCanvasContext=!1;parent;shapes=[];constructor(t){if(super(),this.id=Mn(),t?.d&&(this.originD=t?.d),t?.originMatrix&&(this.originMatrix=t.originMatrix),this.independentTransformInGroup=typeof t?.independentTransformInGroup=="boolean"?t.independentTransformInGroup:!1,this.x=t?.x||0,this.y=t?.y||0,this.cX=0,this.cY=0,typeof t?.centerX=="number"&&typeof t?.centerY=="number"&&this.forceSetCXY(t.centerX-this.x,t.centerY-this.y),this.degree=t?.degree||0,this.scalarX=1,this.scalarY=1,t?.scalar!==void 0&&(this.scalarX=t.scalar,this.scalarY=t.scalar),t?.scalarX!==void 0&&(this.scalarX=t.scalarX),t?.scalarY!==void 0&&(this.scalarY=t.scalarY),this.diffXInGroup=t?.diffXInGroup||0,this.diffYInGroup=t?.diffYInGroup||0,this.diffDegreeInGroup=t?.diffDegreeInGroup||0,this.diffScalarXInGroup=t?.diffScalarXInGroup||1,this.diffScalarYInGroup=t?.diffScalarYInGroup||1,this.vx=t?.vx||0,this.vy=t?.vy||0,this.ax=t?.ax||0,this.ay=t?.ay||0,this.mass=t?.mass||1,this.attrs={stroke:"none",fill:"none"},t?.attrs&&this.setAttr(t?.attrs),this.enableDrag=t?.enableDrag||!1,this.alongPath=t?.alongPath,this.targetToAfterDragFree=t?.targetToAfterDragFree,this.followMouse=t?.followMouse||!1,this.isShow=typeof t?.isShow=="boolean"?t?.isShow:!0,this.strokeArmyAnts=t?.strokeArmyAnts||!1,this.strokeArmyAnts){const n=this.getAttr("stroke-dasharray","4 4");this.setAttr("stroke-dasharray",n),this.strokeDashTotalLength=ll(n).reduce((s,r)=>s+r,0)}return I1(this)}forceSetCXY(t,e){this.cX=t,this.cY=e,this.forceCXY=!0}shapeInit(){}initPathD(){if(!this.pathd){if(this.pathd=new wo,pl(()=>{this.pathd?.reset(this.originD||this.toSVGPathData(),this.originMatrix)}),this.pathd&&!this.forceCXY){const t=this.shapes.length==0?this.pathd.getBoundingClientRect():this.getBoundingClientRect();t&&(this.pathd.cX=this.cX=t.x+t.width/2-this.pathd.x,this.pathd.cY=this.cY=t.y+t.height/2-this.pathd.y)}this.shapeInit()}return this.pathd}frameStart(t){}frameUpdate(t,e){this.pathd=this.initPathD(),this.pathd.update(this),this.strokeArmyAnts&&(this.isMouseIn||(this.setAttr("stroke-dashoffset",String(this.strokeArmyAntsOffset++)),this.strokeArmyAntsOffset>this.strokeDashTotalLength&&(this.strokeArmyAntsOffset=0)))}frameEnd(t){}toSVGPathData(){return[]}toSVGPathD(){return this.pathd?.toSVGPathD()||""}toCanvasContext(t){this.usePathDtoCanvasContext=!0,this.pathd?.toCanvasContext(t)}getBoundingClientRect(){return this.pathd?.getBoundingClientRect()||null}get center(){const t=this.getBoundingClientRect(),e={x:this.x,y:this.y};return t&&(e.x=t.x+t.width/2,e.y=t.y+t.height/2),e}trim(){if(this.parent)return;const t=this.getBoundingClientRect();if(!t)return;this.shapes.forEach(n=>{const s=n.originMatrix?n.originMatrix.clone():new Je;s.translate(-t.x+n.x,-t.y+n.y),n.originMatrix=s});const e=this.originMatrix?this.originMatrix.clone():new Je;e.translate(-t.x+this.x,-t.y+this.y),this.originMatrix=e}isPointInPath(t,e,n){if(n instanceof Tl)return n.isPointInPath(new Path2D(this.toSVGPathD()),t,e);let s;try{s=new SVGPoint(t,e)}catch{s=n.createSVGPoint(),s.x=t,s.y=e}if(this.el instanceof SVGGeometryElement)return this.el.isPointInFill(s);{const r=this.getBoundingClientRect();if(r)return t>=r.x&&t<=r.x+r.width&&e>=r.y&&e<=r.y+r.height}return!1}isPointInStroke(t,e,n){if(n instanceof Tl)return n.isPointInStroke(new Path2D(this.toSVGPathD()),t,e);let s;try{s=new SVGPoint(t,e)}catch{s=n.createSVGPoint(),s.x=t,s.y=e}return this.el instanceof SVGGeometryElement?this.el.isPointInStroke(s):!1}clone(){return p1(this).copy(this)}copy(t){return this.id=t.id,this.originD=t.originD,this.originMatrix=t.originMatrix,this.independentTransformInGroup=t.independentTransformInGroup,this.x=t.x,this.y=t.y,this.cX=t.cX,this.cY=t.cY,this.degree=t.degree,this.scalarX=t.scalarX,this.scalarY=t.scalarY,this.diffXInGroup=t.diffXInGroup,this.diffYInGroup=t.diffYInGroup,this.diffDegreeInGroup=t.diffDegreeInGroup,this.diffScalarXInGroup=t.diffScalarXInGroup,this.diffScalarYInGroup=t.diffScalarYInGroup,this.vx=t.vx,this.vy=t.vy,this.ax=t.ax,this.ay=t.ay,this.mass=t.mass,this.attrs={...t.attrs},this.enableDrag=t.enableDrag,this.alongPath=t.alongPath,this.targetToAfterDragFree=t.targetToAfterDragFree,this.followMouse=t.followMouse,this.isShow=t.isShow,this.strokeArmyAnts=t.strokeArmyAnts,this.strokeDashTotalLength=t.strokeDashTotalLength,this}save(){}restore(){}setAttr(t,e){typeof t!="string"?Object.assign(this.attrs,Object.fromEntries(Object.entries(t).map(([n,s])=>[ko(n),s]))):e&&(this.attrs[ko(t)]=e)}getAttr(t,e){return this.attrs[t]||this.attrs[ko(t)]||e}getAttrs(){return this.attrs}hasAttr(t){return!!this.attrs[t]||!!this.attrs[ko(t)]}distance(t){return wd(this.x,this.y,t.x,t.y)}rotateTo(t){this.degree=Ke(Qr(this.x,this.y,t.x,t.y))}followTo(t,e=3){this.rotateTo(t);const{dx:n,dy:s}=Xn(ee(this.degree),e);this.vx=n,this.vy=s,this.run()}followAccelerationTo(t,e=.05){this.rotateTo(t);const{dx:n,dy:s}=Xn(ee(this.degree),e);this.ax=n,this.ay=s,this.run()}checkCollision(t){}checkWall(t){}gravitateTo(t){const e=t.x-this.x,n=t.y-this.y,s=e*e+n*n,r=Math.sqrt(s),a=this.mass*t.mass/s,i=a*e/r,l=a*n/r;this.vx+=i/this.mass,this.vy+=l/this.mass,t.vx-=i/t.mass,t.vy-=l/t.mass}run(t){this.vx+=this.ax,this.vy+=this.ay;const e=fo(t?.gravity,0);this.vy+=e;const n=fo(t?.friction,1);this.vx*=n,this.vy*=n,this.x+=this.vx,this.y+=this.vy}runEaseTo(t,e){const n=fo(e?.easing,.05),s=t.x-this.cX-this.x,r=t.y-this.cY-this.y;this.vx=s*n,this.vy=r*n,this.run(e)}runSpringTo(t,e){const n=fo(e?.spring,.03);(Array.isArray(t)?t:[t]).forEach(s=>{const r=s.x-this.cX-this.x,a=s.y-this.cY-this.y,i=r*n,l=a*n;this.vx+=i,this.vy+=l}),this.run({friction:.9,...e})}springMassTo(t,e){const n=fo(e?.springLength,100),s=fo(e?.spring,1e-4),r=t.x-this.x,a=t.y-this.y,i=Math.sqrt(r*r+a*a);if(i<n){const l=r*s,c=a*s;return this.vx+=l/this.mass,this.vy+=c/this.mass,t.vx-=l/t.mass,t.vy-=c/t.mass,1-i/n}return 0}getTotalLength(){return this.initPathD().getTotalLength()}interpolate(t){return this.initPathD().interpolate(t)}getPointAtLength(t){return this.initPathD().getPointAtLength(t)}trailPath(t,e=0){const n=this.getTotalLength();return t.originD=this.initPathD().getSubpath(0,e*n),this.getPointAtLength(e*n)}strokeDashTween(t=1e3,e){const n=this.initPathD(),s=ke(n.getTotalLength(),0);this.setAttr({strokeDasharray:`${s} ${s}`,strokeDashoffset:`${s}`});const r=e?.onUpdate,a=new Ze({frameDuration:t});a.addTween({offset:s},{offset:0},Object.assign(e||{},{onUpdate:(i,l)=>{this.setAttr("strokeDashoffset",""+ke(i.offset,2)),r?.(i,l)}})),a.play()}}class cv extends Un{x;y;z;fl;vpX;vpY;cX;cY;cZ;radius;constructor(t){super(t),this.x=t?.x||0,this.y=t?.y||0,this.z=t?.z||0,this.fl=t?.fl||250,this.vpX=t?.vpX||0,this.vpY=t?.vpY||0,this.cX=t?.cX||0,this.cY=t?.cY||0,this.cZ=t?.cZ||0,this.radius=t?.radius||0}toSVGPathData(){return this.radius?[["M",this.getScreenX(),this.getScreenY()-this.radius],["a",this.radius,this.radius,0,1,1,0,2*this.radius],["a",this.radius,this.radius,0,1,1,0,-2*this.radius],["z"]]:[["M",this.getScreenX(),this.getScreenY()]]}toCanvasContext(t){t.beginPath(),t.arc(0,0,this.radius,0,Math.PI*2,!0),t.closePath()}setVanishingPoint(t,e){this.vpX=t,this.vpY=e}setCenter(t,e,n){this.cX=t,this.cY=e,this.cZ=n}rotateX(t){({x:this.y,y:this.z}=Rl(ee(t),this.y,this.z))}rotateY(t){({x:this.x,y:this.z}=Rl(ee(t),this.x,this.z))}rotateZ(t){({x:this.x,y:this.y}=Rl(ee(t),this.x,this.y))}getScreenX(){const t=this.fl/(this.fl+this.z+this.cZ);return this.vpX+(this.cX+this.x)*t}getScreenY(){const t=this.fl/(this.fl+this.z+this.cZ);return this.vpY+(this.cY+this.y)*t}eq(t){return this.x===t.x&&this.y===t.y&&this.z===t.z&&this.radius===t.radius&&this.mass===t.mass}length(){return kd(this.x,this.y,this.z)}distance(t){const e=t.x-this.x,n=t.y-this.y,s=t.z-this.z;return Math.sqrt(e*e+n*n+s*s)}scalar(t){return this.x*=t,this.y*=t,this.z*=t,this}normalize(t=1){const e=this.length();if(e){const n=t/e;this.scalar(n)}return this}clamp(t){const e=this.length();return e&&e>t&&this.scalar(t/e),this}cross(t){const e=this.x,n=this.y,s=this.z;return{x:n*t.z-s*t.y,y:s*t.x-e*t.z,z:e*t.y-n*t.x}}multiply(t){return{x:this.x*t.x,y:this.y*t.y,z:this.z*t.z}}div(t){return{x:this.x/t.x,y:this.y/t.y,z:this.z/t.z}}add(t){return{x:this.x+t.x,y:this.y+t.y,z:this.z+t.z}}sub(t){return{x:this.x-t.x,y:this.y-t.y,z:this.z-t.z}}dot(t){return this.x*t.x+this.y*t.y+this.z*t.z}reflect(t){const e=this.dot(t);return{x:this.x-2*e*t.x,y:this.y-2*e*t.y,z:this.z-2*e*t.z}}}const na=cv;class Sl{_x;_y;_z;_w;constructor(t=0,e=0,n=0,s=1){this._x=t,this._y=e,this._z=n,this._w=s}static slerpFlat(t,e,n,s,r,a,i){let l=n[s+0],c=n[s+1],u=n[s+2],f=n[s+3];const d=r[a+0],h=r[a+1],p=r[a+2],b=r[a+3];if(i===0){t[e+0]=l,t[e+1]=c,t[e+2]=u,t[e+3]=f;return}if(i===1){t[e+0]=d,t[e+1]=h,t[e+2]=p,t[e+3]=b;return}if(f!==b||l!==d||c!==h||u!==p){let x=1-i;const k=l*d+c*h+u*p+f*b,g=k>=0?1:-1,m=1-k*k;if(m>Number.EPSILON){const _=Math.sqrt(m),w=Math.atan2(_,k*g);x=Math.sin(x*w)/_,i=Math.sin(i*w)/_}const y=i*g;if(l=l*x+d*y,c=c*x+h*y,u=u*x+p*y,f=f*x+b*y,x===1-i){const _=1/Math.sqrt(l*l+c*c+u*u+f*f);l*=_,c*=_,u*=_,f*=_}}t[e]=l,t[e+1]=c,t[e+2]=u,t[e+3]=f}static multiplyQuaternionsFlat(t,e,n,s,r,a){const i=n[s],l=n[s+1],c=n[s+2],u=n[s+3],f=r[a],d=r[a+1],h=r[a+2],p=r[a+3];return t[e]=i*p+u*f+l*h-c*d,t[e+1]=l*p+u*d+c*f-i*h,t[e+2]=c*p+u*h+i*d-l*f,t[e+3]=u*p-i*f-l*d-c*h,t}get x(){return this._x}set x(t){this._x=t,this._onChangeCallback()}get y(){return this._y}set y(t){this._y=t,this._onChangeCallback()}get z(){return this._z}set z(t){this._z=t,this._onChangeCallback()}get w(){return this._w}set w(t){this._w=t,this._onChangeCallback()}set(t=this._x,e=this._y,n=this._z,s=this._w){return this._x=t,this._y=e,this._z=n,this._w=s,this._onChangeCallback(),this}clone(){return new Sl(this._x,this._y,this._z,this._w)}copy(t){return this._x=t.x,this._y=t.y,this._z=t.z,this._w=t.w,this._onChangeCallback(),this}setFromEuler(t,e=!0){const n=t.x,s=t.y,r=t.z,a=t.order,i=Math.cos,l=Math.sin,c=i(n/2),u=i(s/2),f=i(r/2),d=l(n/2),h=l(s/2),p=l(r/2);switch(a){case"XYZ":this._x=d*u*f+c*h*p,this._y=c*h*f-d*u*p,this._z=c*u*p+d*h*f,this._w=c*u*f-d*h*p;break;case"YXZ":this._x=d*u*f+c*h*p,this._y=c*h*f-d*u*p,this._z=c*u*p-d*h*f,this._w=c*u*f+d*h*p;break;case"ZXY":this._x=d*u*f-c*h*p,this._y=c*h*f+d*u*p,this._z=c*u*p+d*h*f,this._w=c*u*f-d*h*p;break;case"ZYX":this._x=d*u*f-c*h*p,this._y=c*h*f+d*u*p,this._z=c*u*p-d*h*f,this._w=c*u*f+d*h*p;break;case"YZX":this._x=d*u*f+c*h*p,this._y=c*h*f+d*u*p,this._z=c*u*p-d*h*f,this._w=c*u*f-d*h*p;break;case"XZY":this._x=d*u*f-c*h*p,this._y=c*h*f-d*u*p,this._z=c*u*p+d*h*f,this._w=c*u*f+d*h*p;break;default:console.warn("Quaternion: .setFromEuler() encountered an unknown order: "+a)}return e===!0&&this._onChangeCallback(),this}setFromAxisAngle(t,e){const n=e/2,s=Math.sin(n);return this._x=t.x*s,this._y=t.y*s,this._z=t.z*s,this._w=Math.cos(n),this._onChangeCallback(),this}setFromRotationMatrix4(t){const e=t.value,n=e[0],s=e[4],r=e[8],a=e[1],i=e[5],l=e[9],c=e[2],u=e[6],f=e[10],d=n+i+f;if(d>0){const h=.5/Math.sqrt(d+1);this._w=.25/h,this._x=(u-l)*h,this._y=(r-c)*h,this._z=(a-s)*h}else if(n>i&&n>f){const h=2*Math.sqrt(1+n-i-f);this._w=(u-l)/h,this._x=.25*h,this._y=(s+a)/h,this._z=(r+c)/h}else if(i>f){const h=2*Math.sqrt(1+i-n-f);this._w=(r-c)/h,this._x=(s+a)/h,this._y=.25*h,this._z=(l+u)/h}else{const h=2*Math.sqrt(1+f-n-i);this._w=(a-s)/h,this._x=(r+c)/h,this._y=(l+u)/h,this._z=.25*h}return this._onChangeCallback(),this}setFromUnitVectors(t,e){let n=t.dot(e)+1;return n<Number.EPSILON?(n=0,Math.abs(t.x)>Math.abs(t.z)?(this._x=-t.y,this._y=t.x,this._z=0,this._w=n):(this._x=0,this._y=-t.z,this._z=t.y,this._w=n)):(this._x=t.y*e.z-t.z*e.y,this._y=t.z*e.x-t.x*e.z,this._z=t.x*e.y-t.y*e.x,this._w=n),this.normalize()}angleTo(t){return 2*Math.acos(Math.abs(Vt(this.dot(t),-1,1)))}rotateTowards(t,e){const n=this.angleTo(t);if(n===0)return this;const s=Math.min(1,e/n);return this.slerp(t,s),this}identity(){return this.set(0,0,0,1)}invert(){return this.conjugate()}conjugate(){return this._x*=-1,this._y*=-1,this._z*=-1,this._onChangeCallback(),this}dot(t){return this._x*t._x+this._y*t._y+this._z*t._z+this._w*t._w}lengthSq(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w}length(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)}normalize(){let t=this.length();return t===0?(this._x=0,this._y=0,this._z=0,this._w=1):(t=1/t,this._x=this._x*t,this._y=this._y*t,this._z=this._z*t,this._w=this._w*t),this._onChangeCallback(),this}multiply(t){return this.multiplyQuaternions(this,t)}premultiply(t){return this.multiplyQuaternions(t,this)}multiplyQuaternions(t,e){const n=t._x,s=t._y,r=t._z,a=t._w,i=e._x,l=e._y,c=e._z,u=e._w;return this._x=n*u+a*i+s*c-r*l,this._y=s*u+a*l+r*i-n*c,this._z=r*u+a*c+n*l-s*i,this._w=a*u-n*i-s*l-r*c,this._onChangeCallback(),this}slerp(t,e){if(e===0)return this;if(e===1)return this.copy(t);const n=this._x,s=this._y,r=this._z,a=this._w;let i=a*t._w+n*t._x+s*t._y+r*t._z;if(i<0?(this._w=-t._w,this._x=-t._x,this._y=-t._y,this._z=-t._z,i=-i):this.copy(t),i>=1)return this._w=a,this._x=n,this._y=s,this._z=r,this;const l=1-i*i;if(l<=Number.EPSILON){const h=1-e;return this._w=h*a+e*this._w,this._x=h*n+e*this._x,this._y=h*s+e*this._y,this._z=h*r+e*this._z,this.normalize(),this}const c=Math.sqrt(l),u=Math.atan2(c,i),f=Math.sin((1-e)*u)/c,d=Math.sin(e*u)/c;return this._w=a*f+this._w*d,this._x=n*f+this._x*d,this._y=s*f+this._y*d,this._z=r*f+this._z*d,this._onChangeCallback(),this}slerpQuaternions(t,e,n){return this.copy(t).slerp(e,n)}random(){const t=2*Math.PI*Math.random(),e=2*Math.PI*Math.random(),n=Math.random(),s=Math.sqrt(1-n),r=Math.sqrt(n);return this.set(s*Math.sin(t),s*Math.cos(t),r*Math.sin(e),r*Math.cos(e))}equals(t){return t._x===this._x&&t._y===this._y&&t._z===this._z&&t._w===this._w}fromArray(t,e=0){return this._x=t[e],this._y=t[e+1],this._z=t[e+2],this._w=t[e+3],this._onChangeCallback(),this}toArray(t=[],e=0){return t[e]=this._x,t[e+1]=this._y,t[e+2]=this._z,t[e+3]=this._w,t}fromBufferAttribute(t,e){return this._x=t.getX(e),this._y=t.getY(e),this._z=t.getZ(e),this._w=t.getW(e),this._onChangeCallback(),this}toJSON(){return this.toArray()}onChange(t){return this._onChangeCallback=t,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._w}}class ho{x=0;y=0;z=0;constructor(t=0,e=0,n=0){this.x=t,this.y=e,this.z=n}set(t=0,e=0,n=0){return this.x=t,this.y=e,this.z=n,this}setScalar(t){return this.x=t,this.y=t,this.z=t,this}setX(t){return this.x=t,this}setY(t){return this.y=t,this}setZ(t){return this.z=t,this}setComponent(t,e){switch(t){case 0:this.x=e;break;case 1:this.y=e;break;case 2:this.z=e;break;default:throw new Error("index is out of range: "+t)}return this}getComponent(t){switch(t){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw new Error("index is out of range: "+t)}}clone(){return new ho(this.x,this.y,this.z)}copy(t){return this.x=t.x,this.y=t.y,this.z=t.z,this}add(t){return this.x+=t.x,this.y+=t.y,this.z+=t.z,this}addScalar(t){return this.x+=t,this.y+=t,this.z+=t,this}addVectors(t,e){return this.x=t.x+e.x,this.y=t.y+e.y,this.z=t.z+e.z,this}addScaledVector(t,e){return this.x+=t.x*e,this.y+=t.y*e,this.z+=t.z*e,this}sub(t){return this.x-=t.x,this.y-=t.y,this.z-=t.z,this}subScalar(t){return this.x-=t,this.y-=t,this.z-=t,this}subVectors(t,e){return this.x=t.x-e.x,this.y=t.y-e.y,this.z=t.z-e.z,this}multiply(t){return this.x*=t.x,this.y*=t.y,this.z*=t.z,this}multiplyScalar(t){return this.x*=t,this.y*=t,this.z*=t,this}multiplyVectors(t,e){return this.x=t.x*e.x,this.y=t.y*e.y,this.z=t.z*e.z,this}applyEuler(t){return this.applyQuaternion(Pd.setFromEuler(t))}applyAxisAngle(t,e){return this.applyQuaternion(Pd.setFromAxisAngle(t,e))}applyMatrix3(t){const e=this.x,n=this.y,s=this.z,r=t.value;return this.x=r[0]*e+r[3]*n+r[6]*s,this.y=r[1]*e+r[4]*n+r[7]*s,this.z=r[2]*e+r[5]*n+r[8]*s,this}applyNormalMatrix(t){return this.applyMatrix3(t).normalize()}applyMatrix4(t){const e=this.x,n=this.y,s=this.z,r=t.value,a=1/(r[3]*e+r[7]*n+r[11]*s+r[15]);return this.x=(r[0]*e+r[4]*n+r[8]*s+r[12])*a,this.y=(r[1]*e+r[5]*n+r[9]*s+r[13])*a,this.z=(r[2]*e+r[6]*n+r[10]*s+r[14])*a,this}applyQuaternion(t){const e=this.x,n=this.y,s=this.z,r=t.x,a=t.y,i=t.z,l=t.w,c=2*(a*s-i*n),u=2*(i*e-r*s),f=2*(r*n-a*e);return this.x=e+l*c+a*f-i*u,this.y=n+l*u+i*c-r*f,this.z=s+l*f+r*u-a*c,this}transformDirection(t){const e=this.x,n=this.y,s=this.z,r=t.value;return this.x=r[0]*e+r[4]*n+r[8]*s,this.y=r[1]*e+r[5]*n+r[9]*s,this.z=r[2]*e+r[6]*n+r[10]*s,this.normalize()}divide(t){return this.x/=t.x,this.y/=t.y,this.z/=t.z,this}divideScalar(t){return this.multiplyScalar(1/t)}min(t){return this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this.z=Math.min(this.z,t.z),this}max(t){return this.x=Math.max(this.x,t.x),this.y=Math.max(this.y,t.y),this.z=Math.max(this.z,t.z),this}clamp(t,e){return this.x=Vt(this.x,t.x,e.x),this.y=Vt(this.y,t.y,e.y),this.z=Vt(this.z,t.z,e.z),this}clampScalar(t,e){return this.x=Vt(this.x,t,e),this.y=Vt(this.y,t,e),this.z=Vt(this.z,t,e),this}clampLength(t,e){const n=this.length();return this.divideScalar(n||1).multiplyScalar(Vt(n,t,e))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this.z=Math.trunc(this.z),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this}dot(t){return this.x*t.x+this.y*t.y+this.z*t.z}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)}normalize(){return this.divideScalar(this.length()||1)}setLength(t){return this.normalize().multiplyScalar(t)}lerp(t,e){return this.x+=(t.x-this.x)*e,this.y+=(t.y-this.y)*e,this.z+=(t.z-this.z)*e,this}lerpVectors(t,e,n){return this.x=t.x+(e.x-t.x)*n,this.y=t.y+(e.y-t.y)*n,this.z=t.z+(e.z-t.z)*n,this}cross(t){return this.crossVectors(this,t)}crossVectors(t,e){const n=t.x,s=t.y,r=t.z,a=e.x,i=e.y,l=e.z;return this.x=s*l-r*i,this.y=r*a-n*l,this.z=n*i-s*a,this}projectOnVector(t){const e=t.lengthSq();if(e===0)return this.set(0,0,0);const n=t.dot(this)/e;return this.copy(t).multiplyScalar(n)}perpendOnVector(t){return Ol.copy(this).projectOnVector(t),this.sub(Ol)}projectOnPlane(t){return this.perpendOnVector(t)}reflect(t){return this.sub(Ol.copy(t).multiplyScalar(2*this.dot(t)))}angleTo(t){const e=Math.sqrt(this.lengthSq()*t.lengthSq());if(e===0)return Math.PI/2;const n=this.dot(t)/e;return Math.acos(Vt(n,-1,1))}distanceTo(t){return Math.sqrt(this.distanceToSquared(t))}distanceToSquared(t){const e=this.x-t.x,n=this.y-t.y,s=this.z-t.z;return e*e+n*n+s*s}manhattanDistanceTo(t){return Math.abs(this.x-t.x)+Math.abs(this.y-t.y)+Math.abs(this.z-t.z)}setFromMatrix4Position(t){const e=t.value;return this.x=e[12],this.y=e[13],this.z=e[14],this}setFromMatrix4Scale(t){const e=this.setFromMatrix4Column(t,0).length(),n=this.setFromMatrix4Column(t,1).length(),s=this.setFromMatrix4Column(t,2).length();return this.x=e,this.y=n,this.z=s,this}setFromMatrix4Column(t,e){return this.fromArray(t.value,e*4)}setFromMatrix3Column(t,e){return this.fromArray(t.value,e*3)}setFromEuler(t){return this.x=t.x,this.y=t.y,this.z=t.z,this}equals(t){return t.x===this.x&&t.y===this.y&&t.z===this.z}fromArray(t,e=0){return this.x=t[e],this.y=t[e+1],this.z=t[e+2],this}toArray(t=[],e=0){return t[e]=this.x,t[e+1]=this.y,t[e+2]=this.z,t}fromBufferAttribute(t,e){return this.x=t.getX(e),this.y=t.getY(e),this.z=t.getZ(e),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this}randomDirection(){const t=Math.random()*Math.PI*2,e=Math.random()*2-1,n=Math.sqrt(1-e*e);return this.x=n*Math.cos(t),this.y=e,this.z=n*Math.sin(t),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z}}const Ol=new ho,Pd=new Sl,sa=2e3,Rd=2001,Id=[1,0,0,1,0,0],Ad=[1,0,0,0,1,0,0,0,1],$d=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];class Ls{value;constructor(t=Ad){this.value=Array.from(t)}get m11(){return this.value[0]}get m12(){return this.value[1]}get m13(){return this.value[2]}get m21(){return this.value[3]}get m22(){return this.value[4]}get m23(){return this.value[5]}get m31(){return this.value[6]}get m32(){return this.value[7]}get m33(){return this.value[8]}set m11(t){this.value[0]=t}set m12(t){this.value[1]=t}set m13(t){this.value[2]=t}set m21(t){this.value[3]=t}set m22(t){this.value[4]=t}set m23(t){this.value[5]=t}set m31(t){this.value[6]=t}set m32(t){this.value[7]=t}set m33(t){this.value[8]=t}set(t=1,e=0,n=0,s=0,r=1,a=0,i=0,l=0,c=1){const u=this.value;return u[0]=t,u[1]=s,u[2]=i,u[3]=e,u[4]=r,u[5]=l,u[6]=n,u[7]=a,u[8]=c,this}identity(){return this.value=Array.from(Ad),this}get isIdentity(){return this.m11==1&&this.m12==0&&this.m13==0&&this.m21==0&&this.m22==1&&this.m23==0&&this.m31==0&&this.m32==0&&this.m33==1}copy(t){return this.m11=t.m11,this.m12=t.m12,this.m13=t.m13,this.m21=t.m21,this.m22=t.m22,this.m23=t.m23,this.m31=t.m31,this.m32=t.m32,this.m33=t.m33,this}clone(){return new Ls(this.value)}fromArray(t,e=0){for(let n=0;n<9;n++)this.value[n]=t[n+e];return this}toArray(t=[],e=0){return t[e]=this.m11,t[e+1]=this.m12,t[e+2]=this.m13,t[e+3]=this.m21,t[e+4]=this.m22,t[e+5]=this.m23,t[e+6]=this.m31,t[e+7]=this.m32,t[e+8]=this.m33,t}extractBasis(t,e,n){return t.setFromMatrix3Column(this,0),e.setFromMatrix3Column(this,1),n.setFromMatrix3Column(this,2),this}setFromMatrix4(t){return this.set(t.m11,t.m21,t.m31,t.m12,t.m22,t.m32,t.m13,t.m23,t.m33),this}multiplyMatrices(t,e){const n=t.value,s=e.value,r=this.value,a=n[0],i=n[3],l=n[6],c=n[1],u=n[4],f=n[7],d=n[2],h=n[5],p=n[8],b=s[0],x=s[3],k=s[6],g=s[1],m=s[4],y=s[7],_=s[2],w=s[5],$=s[8];return r[0]=a*b+i*g+l*_,r[3]=a*x+i*m+l*w,r[6]=a*k+i*y+l*$,r[1]=c*b+u*g+f*_,r[4]=c*x+u*m+f*w,r[7]=c*k+u*y+f*$,r[2]=d*b+h*g+p*_,r[5]=d*x+h*m+p*w,r[8]=d*k+h*y+p*$,this}multiply(t){return this.multiplyMatrices(this,t)}premultiply(t){return this.multiplyMatrices(t,this)}multiplyScalar(t){return this.m11*=t,this.m12*=t,this.m13*=t,this.m21*=t,this.m22*=t,this.m23*=t,this.m31*=t,this.m32*=t,this.m33*=t,this}determinant(){const t=this.value,e=t[0],n=t[1],s=t[2],r=t[3],a=t[4],i=t[5],l=t[6],c=t[7],u=t[8];return e*a*u-e*i*c-n*r*u+n*i*l+s*r*c-s*a*l}invert(){const t=this.value,e=t[0],n=t[1],s=t[2],r=t[3],a=t[4],i=t[5],l=t[6],c=t[7],u=t[8],f=u*a-i*c,d=i*l-u*r,h=c*r-a*l,p=e*f+n*d+s*h;if(p===0)return this.set(0,0,0,0,0,0,0,0,0);const b=1/p;return t[0]=f*b,t[1]=(s*c-u*n)*b,t[2]=(i*n-s*a)*b,t[3]=d*b,t[4]=(u*e-s*l)*b,t[5]=(s*r-i*e)*b,t[6]=h*b,t[7]=(n*l-c*e)*b,t[8]=(a*e-n*r)*b,this}transpose(){let t;const e=this.value;return t=e[1],e[1]=e[3],e[3]=t,t=e[2],e[2]=e[6],e[6]=t,t=e[5],e[5]=e[7],e[7]=t,this}getNormalMatrix(t){return this.setFromMatrix4(t).invert().transpose()}transposeIntoArray(t){const e=this.value;return t[0]=e[0],t[1]=e[3],t[2]=e[6],t[3]=e[1],t[4]=e[4],t[5]=e[7],t[6]=e[2],t[7]=e[5],t[8]=e[8],this}setUvTransform(t,e,n,s,r,a,i){const l=Math.cos(r),c=Math.sin(r);return this.set(n*l,n*c,-n*(l*a+c*i)+a+t,-s*c,s*l,-s*(-c*a+l*i)+i+e,0,0,1),this}scale(t,e){return this.premultiply(Pl.makeScale(t,e)),this}rotate(t){return this.premultiply(Pl.makeRotation(-t)),this}translate(t,e){return this.premultiply(Pl.makeTranslation(t,e)),this}makeTranslation(t,e){return typeof t=="number"?this.set(1,0,t,0,1,e,0,0,1):this.set(1,0,t.x,0,1,t.y,0,0,1),this}makeRotation(t){const e=Math.cos(t),n=Math.sin(t);return this.set(e,-n,0,n,e,0,0,0,1),this}makeScale(t,e){return this.set(t,0,0,0,e,0,0,0,1),this}equals(t){for(let e=0;e<9;e++)if(this.value[e]!==t.value[e])return!1;return!0}}class Qe{value;is3dSpecial=!1;constructor(t=$d){this.value=Array.from(t)}get m11(){return this.value[0]}get m12(){return this.value[1]}get m13(){return this.value[2]}get m14(){return this.value[3]}get m21(){return this.value[4]}get m22(){return this.value[5]}get m23(){return this.value[6]}get m24(){return this.value[7]}get m31(){return this.value[8]}get m32(){return this.value[9]}get m33(){return this.value[10]}get m34(){return this.value[11]}get m41(){return this.value[12]}get m42(){return this.value[13]}get m43(){return this.value[14]}get m44(){return this.value[15]}set m11(t){this.value[0]=t}set m12(t){this.value[1]=t}set m13(t){this.value[2]=t}set m14(t){this.value[3]=t}set m21(t){this.value[4]=t}set m22(t){this.value[5]=t}set m23(t){this.value[6]=t}set m24(t){this.value[7]=t}set m31(t){this.value[8]=t}set m32(t){this.value[9]=t}set m33(t){this.value[10]=t}set m34(t){this.value[11]=t}set m41(t){this.value[12]=t}set m42(t){this.value[13]=t}set m43(t){this.value[14]=t}set m44(t){this.value[15]=t}set(t=1,e=0,n=0,s=0,r=0,a=1,i=0,l=0,c=0,u=0,f=1,d=0,h=0,p=0,b=0,x=1){const k=this.value;return k[0]=t,k[4]=e,k[8]=n,k[12]=s,k[1]=r,k[5]=a,k[9]=i,k[13]=l,k[2]=c,k[6]=u,k[10]=f,k[14]=d,k[3]=h,k[7]=p,k[11]=b,k[15]=x,this}is2D(){return!this.is3dSpecial&&this.m31==0&&this.m32==0&&this.m33==1&&this.m34==0&&this.m43==0&&this.m44==1}is3D(){return!this.is2D()}identity(){return this.value=Array.from($d),this}get isIdentity(){return this.m11==1&&this.m12==0&&this.m13==0&&this.m14==0&&this.m21==0&&this.m22==1&&this.m23==0&&this.m24==0&&this.m31==0&&this.m32==0&&this.m33==1&&this.m34==0&&this.m41==0&&this.m42==0&&this.m43==0&&this.m44==1}copy(t){return this.m11=t.m11,this.m12=t.m12,this.m13=t.m13,this.m14=t.m14,this.m21=t.m21,this.m22=t.m22,this.m23=t.m23,this.m24=t.m24,this.m31=t.m31,this.m32=t.m32,this.m33=t.m33,this.m34=t.m34,this.m41=t.m41,this.m42=t.m42,this.m43=t.m43,this.m44=t.m44,this}clone(){return new Qe(this.value)}static fromString(t){const e=new Qe,n=od("number",t);return n.length===16&&n.forEach((s,r)=>{s.fullMatch&&(e.value[r]=parseFloat(s.fullMatch))}),e}fromArray(t,e=0){for(let n=0;n<16;n++)this.value[n]=t[n+e];return this}toArray(t=[],e=0){const n=this.value;return t[e]=n[0],t[e+1]=n[1],t[e+2]=n[2],t[e+3]=n[3],t[e+4]=n[4],t[e+5]=n[5],t[e+6]=n[6],t[e+7]=n[7],t[e+8]=n[8],t[e+9]=n[9],t[e+10]=n[10],t[e+11]=n[11],t[e+12]=n[12],t[e+13]=n[13],t[e+14]=n[14],t[e+15]=n[15],t}copyPosition(t){const e=this.value,n=t.value;return e[12]=n[12],e[13]=n[13],e[14]=n[14],this}setFromMatrix3(t){const e=t.value;return this.set(e[0],e[3],e[6],0,e[1],e[4],e[7],0,e[2],e[5],e[8],0,0,0,0,1),this}extractBasis(t,e,n){return t.setFromMatrix4Column(this,0),e.setFromMatrix4Column(this,1),n.setFromMatrix4Column(this,2),this}makeBasis(t,e,n){return this.set(t.x,e.x,n.x,0,t.y,e.y,n.y,0,t.z,e.z,n.z,0,0,0,0,1),this}normalize(){return this.multiplyScalar(1/(this.m44||1e-4))}transformPoint(t){const e=t.z||1,n=t.w||1;return{x:t.x*this.m11+t.y*this.m21+e*this.m31+n*this.m41,y:t.x*this.m12+t.y*this.m22+e*this.m32+n*this.m42,z:t.x*this.m13+t.y*this.m23+e*this.m33+n*this.m43,w:t.x*this.m14+t.y*this.m24+e*this.m34+n*this.m44}}toMatrix(t){const{scalarX:e,scalarY:n,skewX:s,skewY:r,x:a,y:i}=this.split(),l=[e,r,s,n,a,i];return t?(t.value=l,t):new Je(l)}flatten(){return this.m31=0,this.m32=0,this.m33=1,this.m34=0,this.m14=0,this.m24=0,this.m43=0,this.m44=1,this}toString(t=6){return`matrix4(${this.value.map(e=>ke(e,t)).join(",")})`}split(){const t=Math.sqrt(this.m11*this.m11+this.m12*this.m12+this.m13*this.m13),e=Math.sqrt(this.m21*this.m21+this.m22*this.m22+this.m23*this.m23),n=Math.sqrt(this.m31*this.m31+this.m32*this.m32+this.m33*this.m33),s=Ke(Vt(Math.asin(-this.m13),-1,1));let r=Ke(Math.atan2(this.m23,this.m33));Math.cos(ee(s))===0&&(r=Ke(Math.atan2(-this.m31,this.m22)));let a=Ke(Math.atan2(this.m12,this.m11));return this.m11<0&&this.m22>=0&&(a+=180),{x:this.m41,y:this.m42,z:this.m43,scalarX:t,scalarY:e,scalarZ:n,degreeX:r,degreeY:s,degreeZ:a,skewX:Ke(this.m14),skewY:Ke(this.m24),skewZ:Ke(this.m34),skewW:this.m44,perspective:this.m34?-(1/this.m34):0}}extractRotation(t){const e=this.value,n=t.value,s=1/Hn.setFromMatrix4Column(t,0).length(),r=1/Hn.setFromMatrix4Column(t,1).length(),a=1/Hn.setFromMatrix4Column(t,2).length();return e[0]=n[0]*s,e[1]=n[1]*s,e[2]=n[2]*s,e[3]=0,e[4]=n[4]*r,e[5]=n[5]*r,e[6]=n[6]*r,e[7]=0,e[8]=n[8]*a,e[9]=n[9]*a,e[10]=n[10]*a,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,this}makeRotationFromEuler(t){const e=this.value,n=t.x,s=t.y,r=t.z,a=Math.cos(n),i=Math.sin(n),l=Math.cos(s),c=Math.sin(s),u=Math.cos(r),f=Math.sin(r);if(t.order==="XYZ"){const d=a*u,h=a*f,p=i*u,b=i*f;e[0]=l*u,e[4]=-l*f,e[8]=c,e[1]=h+p*c,e[5]=d-b*c,e[9]=-i*l,e[2]=b-d*c,e[6]=p+h*c,e[10]=a*l}else if(t.order==="YXZ"){const d=l*u,h=l*f,p=c*u,b=c*f;e[0]=d+b*i,e[4]=p*i-h,e[8]=a*c,e[1]=a*f,e[5]=a*u,e[9]=-i,e[2]=h*i-p,e[6]=b+d*i,e[10]=a*l}else if(t.order==="ZXY"){const d=l*u,h=l*f,p=c*u,b=c*f;e[0]=d-b*i,e[4]=-a*f,e[8]=p+h*i,e[1]=h+p*i,e[5]=a*u,e[9]=b-d*i,e[2]=-a*c,e[6]=i,e[10]=a*l}else if(t.order==="ZYX"){const d=a*u,h=a*f,p=i*u,b=i*f;e[0]=l*u,e[4]=p*c-h,e[8]=d*c+b,e[1]=l*f,e[5]=b*c+d,e[9]=h*c-p,e[2]=-c,e[6]=i*l,e[10]=a*l}else if(t.order==="YZX"){const d=a*l,h=a*c,p=i*l,b=i*c;e[0]=l*u,e[4]=b-d*f,e[8]=p*f+h,e[1]=f,e[5]=a*u,e[9]=-i*u,e[2]=-c*u,e[6]=h*f+p,e[10]=d-b*f}else if(t.order==="XZY"){const d=a*l,h=a*c,p=i*l,b=i*c;e[0]=l*u,e[4]=-f,e[8]=c*u,e[1]=d*f+b,e[5]=a*u,e[9]=h*f-p,e[2]=p*f-h,e[6]=i*u,e[10]=b*f+d}return e[3]=0,e[7]=0,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,this}makeRotationFromQuaternion(t){return this.compose(uv,t,fv)}lookAt(t,e,n){const s=this.value;return Ue.subVectors(t,e),Ue.lengthSq()===0&&(Ue.z=1),Ue.normalize(),tn.crossVectors(n,Ue),tn.lengthSq()===0&&(Math.abs(n.z)===1?Ue.x+=1e-4:Ue.z+=1e-4,Ue.normalize(),tn.crossVectors(n,Ue)),tn.normalize(),ra.crossVectors(Ue,tn),s[0]=tn.x,s[4]=ra.x,s[8]=Ue.x,s[1]=tn.y,s[5]=ra.y,s[9]=Ue.y,s[2]=tn.z,s[6]=ra.z,s[10]=Ue.z,this}multiplyMatrices(t,e){const n=t.value,s=e.value,r=this.value,a=n[0],i=n[4],l=n[8],c=n[12],u=n[1],f=n[5],d=n[9],h=n[13],p=n[2],b=n[6],x=n[10],k=n[14],g=n[3],m=n[7],y=n[11],_=n[15],w=s[0],$=s[4],V=s[8],B=s[12],M=s[1],ut=s[5],G=s[9],tt=s[13],gt=s[2],Ot=s[6],$t=s[10],xt=s[14],kt=s[3],se=s[7],me=s[11],he=s[15];return r[0]=a*w+i*M+l*gt+c*kt,r[4]=a*$+i*ut+l*Ot+c*se,r[8]=a*V+i*G+l*$t+c*me,r[12]=a*B+i*tt+l*xt+c*he,r[1]=u*w+f*M+d*gt+h*kt,r[5]=u*$+f*ut+d*Ot+h*se,r[9]=u*V+f*G+d*$t+h*me,r[13]=u*B+f*tt+d*xt+h*he,r[2]=p*w+b*M+x*gt+k*kt,r[6]=p*$+b*ut+x*Ot+k*se,r[10]=p*V+b*G+x*$t+k*me,r[14]=p*B+b*tt+x*xt+k*he,r[3]=g*w+m*M+y*gt+_*kt,r[7]=g*$+m*ut+y*Ot+_*se,r[11]=g*V+m*G+y*$t+_*me,r[15]=g*B+m*tt+y*xt+_*he,this}multiply(t){return this.multiplyMatrices(this,t)}premultiply(t){return this.multiplyMatrices(t,this)}multiplyScalar(t){return this.m11*=t,this.m12*=t,this.m13*=t,this.m14*=t,this.m21*=t,this.m22*=t,this.m23*=t,this.m24*=t,this.m31*=t,this.m32*=t,this.m33*=t,this.m34*=t,this}determinant(){const t=this.value,e=t[0],n=t[4],s=t[8],r=t[12],a=t[1],i=t[5],l=t[9],c=t[13],u=t[2],f=t[6],d=t[10],h=t[14],p=t[3],b=t[7],x=t[11],k=t[15];return p*(+r*l*f-s*c*f-r*i*d+n*c*d+s*i*h-n*l*h)+b*(+e*l*h-e*c*d+r*a*d-s*a*h+s*c*u-r*l*u)+x*(+e*c*f-e*i*h-r*a*f+n*a*h+r*i*u-n*c*u)+k*(-s*i*u-e*l*f+e*i*d+s*a*f-n*a*d+n*l*u)}transpose(){const t=this.value;let e;return e=t[1],t[1]=t[4],t[4]=e,e=t[2],t[2]=t[8],t[8]=e,e=t[6],t[6]=t[9],t[9]=e,e=t[3],t[3]=t[12],t[12]=e,e=t[7],t[7]=t[13],t[13]=e,e=t[11],t[11]=t[14],t[14]=e,this}setPosition(t,e,n){const s=this.value;return t instanceof ho?(s[12]=t.x,s[13]=t.y,s[14]=t.z):typeof t=="number"&&typeof e=="number"&&typeof n=="number"&&(s[12]=t,s[13]=e,s[14]=n),this}invert(){const t=this.value,e=t[0],n=t[1],s=t[2],r=t[3],a=t[4],i=t[5],l=t[6],c=t[7],u=t[8],f=t[9],d=t[10],h=t[11],p=t[12],b=t[13],x=t[14],k=t[15],g=f*x*c-b*d*c+b*l*h-i*x*h-f*l*k+i*d*k,m=p*d*c-u*x*c-p*l*h+a*x*h+u*l*k-a*d*k,y=u*b*c-p*f*c+p*i*h-a*b*h-u*i*k+a*f*k,_=p*f*l-u*b*l-p*i*d+a*b*d+u*i*x-a*f*x,w=e*g+n*m+s*y+r*_;if(w===0)return this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);const $=1/w;return t[0]=g*$,t[1]=(b*d*r-f*x*r-b*s*h+n*x*h+f*s*k-n*d*k)*$,t[2]=(i*x*r-b*l*r+b*s*c-n*x*c-i*s*k+n*l*k)*$,t[3]=(f*l*r-i*d*r-f*s*c+n*d*c+i*s*h-n*l*h)*$,t[4]=m*$,t[5]=(u*x*r-p*d*r+p*s*h-e*x*h-u*s*k+e*d*k)*$,t[6]=(p*l*r-a*x*r-p*s*c+e*x*c+a*s*k-e*l*k)*$,t[7]=(a*d*r-u*l*r+u*s*c-e*d*c-a*s*h+e*l*h)*$,t[8]=y*$,t[9]=(p*f*r-u*b*r-p*n*h+e*b*h+u*n*k-e*f*k)*$,t[10]=(a*b*r-p*i*r+p*n*c-e*b*c-a*n*k+e*i*k)*$,t[11]=(u*i*r-a*f*r-u*n*c+e*f*c+a*n*h-e*i*h)*$,t[12]=_*$,t[13]=(u*b*s-p*f*s+p*n*d-e*b*d-u*n*x+e*f*x)*$,t[14]=(p*i*s-a*b*s-p*n*l+e*b*l+a*n*x-e*i*x)*$,t[15]=(a*f*s-u*i*s+u*n*l-e*f*l-a*n*d+e*i*d)*$,this}getMaxScaleOnAxis(){const t=this.value,e=t[0]*t[0]+t[1]*t[1]+t[2]*t[2],n=t[4]*t[4]+t[5]*t[5]+t[6]*t[6],s=t[8]*t[8]+t[9]*t[9]+t[10]*t[10];return Math.sqrt(Math.max(e,n,s))}makeTranslation(t,e,n){return t instanceof ho?this.set(1,0,0,t.x,0,1,0,t.y,0,0,1,t.z,0,0,0,1):this.set(1,0,0,t,0,1,0,e,0,0,1,n,0,0,0,1),this}makeRotationX(t){const e=Math.cos(t),n=Math.sin(t);return this.set(1,0,0,0,0,e,-n,0,0,n,e,0,0,0,0,1),this}makeRotationY(t){const e=Math.cos(t),n=Math.sin(t);return this.set(e,0,n,0,0,1,0,0,-n,0,e,0,0,0,0,1),this}makeRotationZ(t){const e=Math.cos(t),n=Math.sin(t);return this.set(e,-n,0,0,n,e,0,0,0,0,1,0,0,0,0,1),this}makeRotationAxis(t,e){const n=Math.cos(e),s=Math.sin(e),r=1-n,a=t.x,i=t.y,l=t.z,c=r*a,u=r*i;return this.set(c*a+n,c*i-s*l,c*l+s*i,0,c*i+s*l,u*i+n,u*l-s*a,0,c*l-s*i,u*l+s*a,r*l*l+n,0,0,0,0,1),this}makeScale(t,e,n){return this.set(t,0,0,0,0,e,0,0,0,0,n,0,0,0,0,1),this}makeShear(t,e,n,s,r,a){return this.set(1,n,r,0,t,1,a,0,e,s,1,0,0,0,0,1),this}makePerspective(t,e,n,s,r,a,i=sa){const l=this.value,c=2*r/(e-t),u=2*r/(n-s),f=(e+t)/(e-t),d=(n+s)/(n-s);let h,p;if(i===sa)h=-(a+r)/(a-r),p=-2*a*r/(a-r);else if(i===Rd)h=-a/(a-r),p=-a*r/(a-r);else throw new Error("Matrix4.makePerspective(): Invalid coordinate system: "+i);return l[0]=c,l[4]=0,l[8]=f,l[12]=0,l[1]=0,l[5]=u,l[9]=d,l[13]=0,l[2]=0,l[6]=0,l[10]=h,l[14]=p,l[3]=0,l[7]=0,l[11]=-1,l[15]=0,this}makeOrthographic(t,e,n,s,r,a,i=sa){const l=this.value,c=1/(e-t),u=1/(n-s),f=1/(a-r),d=(e+t)*c,h=(n+s)*u;let p,b;if(i===sa)p=(a+r)*f,b=-2*f;else if(i===Rd)p=r*f,b=-1*f;else throw new Error("Matrix4.makeOrthographic(): Invalid coordinate system: "+i);return l[0]=2*c,l[4]=0,l[8]=0,l[12]=-d,l[1]=0,l[5]=2*u,l[9]=0,l[13]=-h,l[2]=0,l[6]=0,l[10]=b,l[14]=-p,l[3]=0,l[7]=0,l[11]=0,l[15]=1,this}compose(t,e,n){const s=this.value,r=e.x,a=e.y,i=e.z,l=e.w,c=r+r,u=a+a,f=i+i,d=r*c,h=r*u,p=r*f,b=a*u,x=a*f,k=i*f,g=l*c,m=l*u,y=l*f,_=n.x,w=n.y,$=n.z;return s[0]=(1-(b+k))*_,s[1]=(h+y)*_,s[2]=(p-m)*_,s[3]=0,s[4]=(h-y)*w,s[5]=(1-(d+k))*w,s[6]=(x+g)*w,s[7]=0,s[8]=(p+m)*$,s[9]=(x-g)*$,s[10]=(1-(d+b))*$,s[11]=0,s[12]=t.x,s[13]=t.y,s[14]=t.z,s[15]=1,this}decompose(t,e,n){const s=this.value;let r=Hn.set(s[0],s[1],s[2]).length();const a=Hn.set(s[4],s[5],s[6]).length(),i=Hn.set(s[8],s[9],s[10]).length();this.determinant()<0&&(r=-r),t.x=s[12],t.y=s[13],t.z=s[14],po.copy(this);const c=1/r,u=1/a,f=1/i;return po.value[0]*=c,po.value[1]*=c,po.value[2]*=c,po.value[4]*=u,po.value[5]*=u,po.value[6]*=u,po.value[8]*=f,po.value[9]*=f,po.value[10]*=f,e.setFromRotationMatrix4(po),n.x=r,n.y=a,n.z=i,this}equals(t){for(let e=0;e<16;e++)if(this.value[e]!==t.value[e])return!1;return!0}translate(t=0,e=0,n=0){return this.multiply(new Qe([1,0,0,0,0,1,0,0,0,0,1,0,t,e,n,1]))}scale(t=1,e=1,n=1){return this.multiply(new Qe([t,0,0,0,0,e,0,0,0,0,n,0,0,0,0,1]))}scaleVector3(t){const e=this.value,n=t.x,s=t.y,r=t.z;return e[0]*=n,e[4]*=s,e[8]*=r,e[1]*=n,e[5]*=s,e[9]*=r,e[2]*=n,e[6]*=s,e[10]*=r,e[3]*=n,e[7]*=s,e[11]*=r,this}rotateX(t){const e=ee(t),n=Math.cos(e),s=Math.sin(e);return this.multiply(new Qe([1,0,0,0,0,n,s,0,0,-s,n,0,0,0,0,1]))}rotateY(t){const e=ee(t),n=Math.cos(e),s=Math.sin(e);return this.multiply(new Qe([n,0,-s,0,0,1,0,0,s,0,n,0,0,0,0,1]))}rotateZ(t){this.is3dSpecial=!0;const e=ee(t),n=Math.cos(e),s=Math.sin(e);return this.multiply(new Qe([n,s,0,0,-s,n,0,0,0,0,1,0,0,0,0,1]))}skew(t=0,e=0,n=0){return this.multiply(new Qe([1,0,0,ee(t),0,1,0,ee(e),0,0,1,ee(n),0,0,0,1]))}perspective(t){return this.multiply(new Qe([1,0,0,0,0,1,0,0,0,0,1,t?-(1/t):0,0,0,0,1]))}unproject(t){let e=t.x*this.m11+t.y*this.m21+this.m41,n=t.x*this.m12+t.y*this.m22+this.m42,s=t.x*this.m13+t.y*this.m23+this.m43,r=t.x*this.m14+t.y*this.m24+this.m44,a=e+this.m31,i=n+this.m32,l=s+this.m33,c=r+this.m34;r==0&&(r=1e-4),e/=r,n/=r,s/=r,c==0&&(c=1e-4),a/=c,i/=c,l/=c;const u=l-s;if(u==0)return{x:e,y:n,z:s,mass:r};const f=-s/u;return e+=f*(a-e),n+=f*(i-n),{x:e,y:n,z:s,mass:r}}project(t){const e=t.z;let n=t.x*this.m11+t.y*this.m21+e*this.m31+this.m41,s=t.x*this.m12+t.y*this.m22+e*this.m32+this.m42,r=t.x*this.m14+t.y*this.m24+e*this.m34+this.m44;return r==0&&(r=1e-4),n/=r,s/=r,r<0&&(n-=this.m41,s-=this.m42,n*=1/r,s*=1/r,n+=this.m41,s+=this.m42),{x:n,y:s,z:e,mass:r}}bounds(t,e,n,s){const r=new na({x:t,y:e}),a=new na({x:t+n,y:e}),i=new na({x:t+n,y:e+s}),l=new na({x:t,y:e+s});({x:r.x,y:r.y,z:r.z,mass:r.mass}=this.project(r)),{x:a.x,y:a.y,z:a.z,mass:a.mass}=this.project(a),{x:i.x,y:i.y,z:i.z,mass:i.mass}=this.project(i),{x:l.x,y:l.y,z:l.z,mass:l.mass}=this.project(l);const c=Math.min(r.x,a.x,i.x,l.x),u=Math.min(r.y,a.y,i.y,l.y),f=Math.max(r.x,a.x,i.x,l.x)-c,d=Math.max(r.y,a.y,i.y,l.y)-u;return{x:c,y:u,width:f,height:d}}}class Je{value;_m13=0;_m23=0;_m33=1;matrix4;constructor(t=Id){this.value=Array.from(t),this.matrix4=this.toMatrix4()}get m11(){return this.value[0]}get m12(){return this.value[1]}get m13(){return this._m13}get m21(){return this.value[2]}get m22(){return this.value[3]}get m23(){return this._m23}get m31(){return this.value[4]}get m32(){return this.value[5]}get m33(){return this._m33}set m11(t){this.value[0]=t}set m12(t){this.value[1]=t}set m13(t){this._m13=t}set m21(t){this.value[2]=t}set m22(t){this.value[3]=t}set m23(t){this._m23=t}set m31(t){this.value[4]=t}set m32(t){this.value[5]=t}set m33(t){this._m33=t}static fromString(t){const e=new Je,n=od("number",t);return n.length===6&&n.forEach((s,r)=>{s.fullMatch&&(e.value[r]=parseFloat(s.fullMatch))}),e}toMatrix4(t=this.matrix4){const e=[this.m11,this.m12,0,this.m13,this.m21,this.m22,0,this.m23,0,0,1,0,this.m31,this.m32,0,this.m33];return t?(t.value=e,t):new Qe(e)}identity(){return this.value=Array.from(Id),this.m13=0,this.m23=0,this.m33=1,this.matrix4=this.toMatrix4(),this}get isIdentity(){return this.m11==1&&this.m12==0&&this.m13==0&&this.m21==0&&this.m22==1&&this.m23==0&&this.m31==0&&this.m32==0&&this.m33==1}multiplyScalar(t){return this.m11*=t,this.m12*=t,this.m13*=t,this.m21*=t,this.m22*=t,this.m23*=t,this.m31*=t,this.m32*=t,this.m33*=t,this}normalize(){const t=this.m33||1e-4;return this.multiplyScalar(1/t)}transformPoint(t){const e=t.z||1;return{x:t.x*this.m11+t.y*this.m21+e*this.m31,y:t.x*this.m12+t.y*this.m22+e*this.m32,z:t.x*this.m13+t.y*this.m23+e*this.m33}}clone(){return new Je(this.value)}multiply(t){const e=this.clone(),n=t instanceof Je?t:new Je(t);return this.m11=n.m11*e.m11+n.m12*e.m21+n.m13*e.m31,this.m12=n.m11*e.m12+n.m12*e.m22+n.m13*e.m32,this.m13=n.m11*e.m13+n.m12*e.m23+n.m13*e.m33,this.m21=n.m21*e.m11+n.m22*e.m21+n.m23*e.m31,this.m22=n.m21*e.m12+n.m22*e.m22+n.m23*e.m32,this.m23=n.m21*e.m13+n.m22*e.m23+n.m23*e.m33,this.m31=n.m31*e.m11+n.m32*e.m21+n.m33*e.m31,this.m32=n.m31*e.m12+n.m32*e.m22+n.m33*e.m32,this.m33=n.m31*e.m13+n.m32*e.m23+n.m33*e.m33,this}append(t){return this.multiply(t)}prepend(t){return t.multiply(this),this}invert(){const t=this.m11,e=this.m12,n=this.m13,s=this.m21,r=this.m22,a=this.m23,i=this.m31,l=this.m32,c=this.m33,u=c*r-a*l,f=-c*s+a*i,d=l*s-r*i;let h=t*u+e*f+n*d;return h?(h=1/h,this.m11=u*h,this.m12=(-c*e+n*l)*h,this.m13=(a*e-n*r)*h,this.m21=f*h,this.m22=(c*t-n*i)*h,this.m23=(-a*t+n*s)*h,this.m31=d*h,this.m32=(-l*t+e*i)*h,this.m33=(r*t-e*s)*h,this):null}adjugate(){const t=new Je;return t.m11=this.m22*this.m33-this.m32*this.m23,t.m12=this.m32*this.m13-this.m12*this.m33,t.m13=this.m12*this.m23-this.m22*this.m13,t.m21=this.m31*this.m23-this.m21*this.m33,t.m22=this.m11*this.m33-this.m31*this.m13,t.m23=this.m21*this.m13-this.m11*this.m23,t.m31=this.m21*this.m32-this.m31*this.m22,t.m32=this.m31*this.m12-this.m11*this.m32,t.m33=this.m11*this.m22-this.m21*this.m12,t}split(){let t=Ke(Math.atan2(this.m12,this.m11));return this.m11<0&&this.m22>=0&&(t+=180),{x:this.m31,y:this.m32,degree:t,scaleX:Math.sqrt(this.m11*this.m11+this.m12*this.m12),scaleY:Math.sqrt(this.m21*this.m21+this.m22*this.m22),skewX:Ke(Math.atan2(-this.m21,this.m22)),skewY:Ke(Math.atan2(this.m12,this.m11))}}getGroupCoords(t){const e=this.value[0],n=this.value[1],s=this.value[2],r=this.value[3],a=this.value[4],i=this.value[5],l=t.value[0],c=t.value[1],u=t.value[2],f=t.value[3],d=t.value[4],h=t.value[5],p=l*f,b=c*u,x=(u*n-e*f)/(b-p),k=(l*n-e*c)/(p-b),g=(u*r-s*f)/(b-p),m=(l*r-s*c)/(p-b),y=(u*(i-h)+f*(d-a))/(b-p),_=(l*(i-h)+c*(d-a))/(p-b),w=[x,k,g,m,y,_];return new Je(w)}toString(t=6){return this.matrix4.is2D()?`matrix(${this.value.map(e=>ke(e,t)).join(",")})`:this.matrix4.toString()}translate(t,e){return this.multiply([1,0,0,1,t,e]),this.toMatrix4(),this}translateTo(t,e){return this.translate(t-this.m31,e-this.m32)}translateX(t){return this.translate(t,0)}translateXTo(t){return this.translateTo(t,this.m32)}translateY(t){return this.translate(0,t)}translateYTo(t){return this.translateTo(this.m31,t)}translateZ(t){return this.matrix4.translate(0,0,t),this.matrix4.toMatrix(this),this}translateZTo(t){return this.translateZ(t-this.matrix4.m43),this}translate3d(t,e,n){return this.matrix4.translate(t,e,n),this.matrix4.toMatrix(this),this}translate3dTo(t,e,n){return this.translate3d(t-this.matrix4.m41,e-this.matrix4.m42,n-this.matrix4.m43),this}rotate(t,e=0,n=0){const s=ee(t),r=Math.cos(s),a=Math.sin(s);return this.translate(e,n),this.multiply([r,a,-a,r,0,0]),this.translate(-e,-n),this.toMatrix4(),this}rotateTo(t,e=0,n=0){const{degree:s}=this.split();return this.rotate(t-s,e,n),this}rotateX(t){return this.matrix4.rotateX(t),this.matrix4.toMatrix(this),this}rotateXTo(t){const{degreeX:e}=this.matrix4.split();return this.rotateX(t-e),this}rotateY(t){return this.matrix4.rotateY(t),this.matrix4.toMatrix(this),this}rotateYTo(t){const{degreeY:e}=this.matrix4.split();return this.rotateY(t-e),this}rotateZ(t){return this.matrix4.rotateZ(t),this.matrix4.toMatrix(this),this}rotateZTo(t){const{degreeZ:e}=this.matrix4.split();return this.rotateZ(t-e),this}rotate3d(t,e,n){return this.matrix4.rotateX(t).rotateY(e).rotateZ(n),this.matrix4.toMatrix(this),this}rotate3dTo(t,e,n){const{degreeX:s,degreeY:r,degreeZ:a}=this.matrix4.split();return this.rotate3d(t-s,e-r,n-a),this}scale(t,e=t,n=0,s=0){return this.translate(n,s),this.multiply([t,0,0,e,0,0]),this.translate(-n,-s),this.toMatrix4(),this}scaleTo(t,e=t,n=0,s=0){return this.scale(t/this.m11,e/this.m22,n,s)}scaleX(t){return this.scale(t,1)}scaleXTo(t){return this.scale(t/this.m11,1)}scaleY(t){return this.scale(1,t)}scaleYTo(t){return this.scale(1,t/this.m22)}scaleZ(t){return this.matrix4.scale(1,1,t),this.matrix4.toMatrix(this),this}scaleZTo(t){const{scalarZ:e}=this.matrix4.split();return this.scaleZ(t/e),this}scale3d(t,e=t,n=t){return this.matrix4.scale(t,e,n),this.matrix4.toMatrix(this),this}scale3dTo(t,e=t,n=t){const{scalarX:s,scalarY:r,scalarZ:a}=this.matrix4.split();return this.scale3d(t/s,e/r,n/a),this}skew(t,e=t){return this.multiply([Math.cos(ee(e)),Math.sin(ee(e)),-Math.sin(ee(t)),Math.cos(ee(t)),0,0]),this.toMatrix4(),this}skewTo(t,e=t){const{skewX:n,skewY:s}=this.split();return this.skew(t-n,e-s)}skewX(t){const{skewY:e}=this.split();return this.skew(t,e)}skewXTo(t){const{skewY:e}=this.split();return this.skewTo(t,e)}skewY(t){const{skewX:e}=this.split();return this.skew(e,t)}skewYTo(t){const{skewX:e}=this.split();return this.skewTo(e,t)}skewZ(t){return this}skewZTo(t){return this}skew3d(t,e,n){return this}skew3dTo(t,e,n){return this}perspective(t){return this.matrix4.perspective(t),this.matrix4.toMatrix(this),this}}const uv=new ho(0,0,0),fv=new ho(1,1,1),tn=new ho,ra=new ho,Ue=new ho,Hn=new ho,Pl=new Ls,po=new Qe;function Rl(o,t,e){const n=new Je;return n.rotate(Ke(o)),n.transformPoint({x:t,y:e})}function Il(o,t,e){const n=xd(o);return n.props.style=n.props.style||{},t?n.props.style[t]||n.props.style[i1(t)]||n.props.style[ko(t)]||"":n.props.style}function Nd(o){const t={};if(getComputedStyle){const e=getComputedStyle(o);for(let n=0,s=e.length;n<s;n++)t[e[n]]=e.getPropertyValue(t[n])}else{const e=o.currentStyle;for(const n in e)t[n]=e[n]}return o.style.cssText&&o.style.cssText.split(";").filter(e=>!!e).forEach(e=>{const[n,s]=e.split(":");n&&s&&(t[n.trim()]=s.trim())}),t}function Fd(o,t,e){let n=o.style[t]||"";if(!n&&getComputedStyle){t=ko(t);const s=getComputedStyle(o,e),r=s.getPropertyPriority(t);n=s.getPropertyValue(t).trim()+(r?"!"+r:"")}return n||(n=o.currentStyle[t]||""),n}function Bs(o,t,e){typeof t=="string"&&e?o.style.setProperty(ko(t),e.replace(/!important/i,""),e.toLowerCase().includes("!important")?"important":""):t instanceof Object&&Object.keys(t).forEach(n=>{Bs(o,n,t[n])})}function zd(o,t){typeof t=="string"?o.style.removeProperty(ko(t)):Object.keys(t).forEach(e=>{zd(o,e)})}function Co(o,t){let e;if(typeof t=="string"){const n=document.querySelector(t)?.shadowRoot;n?e=n:e=document.querySelector(t)}else e=t||document.getElementsByTagName("head")[0];if(e){const n=document.createElement("style");return n.innerHTML=o,e.appendChild(n),()=>{(e instanceof HTMLElement||e instanceof ShadowRoot)&&e.removeChild(n)}}else{const n=document.styleSheets[0].insertRule(o);return()=>{document.styleSheets[0].deleteRule(n)}}}function dv(o,t,e){if(t===void 0&&e===void 0)return Dd(o);if(typeof t=="string"&&e===void 0)return hv(o,t);let n={};typeof t=="object"?n=t:typeof t=="string"&&typeof e=="string"&&(n[t]=""+e),Q1(o,s=>{Object.entries(n).forEach(([r,a])=>{s.props[r]=""+a})})}function Dd(o){const t={};for(let e=0,n=o.attributes,s=n.length;e<s;e++){const r=n[e];r.nodeName&&r.nodeValue&&(r.nodeName==="style"?t[r.nodeName]=Nd(o):t[r.nodeName]=r.nodeValue)}return t}function hv(o,t){return t==="style"?Nd(o):o.getAttribute(ko(t))}function aa(o,t,e){return o.setAttribute(ko(t),""+e)}function pv(o,t){const e=[];return e.push(Jt(o,"dragenter",n=>{Wr(n),t?.onEnter?.(n)})),e.push(Jt(o,"dragover",n=>{Wr(n);const s=n.dataTransfer;s&&(s.dropEffect="move"),t?.onOver?.(n)})),e.push(Jt(o,"dragleave",n=>{Wr(n),t?.onLeave?.(n)})),e.push(Jt(o,"drop",n=>{Wr(n);const s=n.dataTransfer;if(!s){t?.onDrop?.(n,[]);return}t?.onDrop?.(n,[...s.files])})),()=>{e.forEach(n=>n())}}function ia(){const o=document.documentElement;return{clientWidth:o.clientWidth,clientHeight:o.clientHeight,clientTop:o.clientTop,clientLeft:o.clientLeft,scrollWidth:o.scrollWidth,scrollHeight:o.scrollHeight,scrollTop:o.scrollTop,scrollLeft:o.scrollLeft,offsetWidth:o.offsetWidth,offsetHeight:o.offsetHeight,offsetTop:o.offsetTop,offsetLeft:o.offsetLeft,offsetParent:o.offsetParent}}function Vs(){return typeof window.innerWidth=="number"?{width:window.innerWidth,height:window.innerHeight}:document.compatMode==="CSS1Compat"?{width:document.documentElement.clientWidth,height:document.documentElement.clientHeight}:{width:document.body.clientWidth,height:document.body.clientHeight}}function Md(o){const{top:t,left:e,width:n,height:s}=o.getBoundingClientRect(),{scrollLeft:r,scrollTop:a}=ia();return{x:e+r,y:t+a,width:n,height:s}}function mv(){const{clientHeight:o,scrollTop:t,scrollHeight:e}=ia(),n=e-o;return n<=0?0:t/n*100}function gv(){const o={x:0,y:0,dx:0,dy:0,dStartX:0,dStartY:0,isDown:!1},t={x:0,y:0,dx:0,dy:0,dStartX:0,dStartY:0,isDown:!1};return{mousePoint:t,setStartMousePoint:function(e,n){o.x=e.x,o.y=e.y,typeof n=="boolean"&&(o.isDown=n),this.setCurrentMousePoint(e,n)},setCurrentMousePoint:(e,n)=>{const s=t.x,r=t.y;t.x=e.x,t.y=e.y,t.dx=t.x-s,t.dy=t.y-r,t.dStartX=t.x-o.x,t.dStartY=t.y-o.y,typeof n=="boolean"&&(t.isDown=n)}}}function Ld(o){if("center"in o)return o.center;if(typeof o.pageX=="number"&&typeof o.pageY=="number")return{x:o.pageX,y:o.pageY};const{scrollLeft:t,scrollTop:e}=ia();return{x:o.clientX+t,y:o.clientY+e}}function Ys(o,t){const e={x:0,y:0};if(t){const n=Ld(o),s=Md(t);e.x=Vt(n.x-s.x,0,s.width),e.y=Vt(n.y-s.y,0,s.height)}else{let n=0,s=0;if("currentTarget"in o&&o.currentTarget&&o.target&&o.currentTarget!=o.target){const r=o.currentTarget.getBoundingClientRect(),a=o.target.getBoundingClientRect();n=a.left-r.left,s=a.top-r.top}if("offsetX"in o)e.x=o.offsetX+n,e.y=o.offsetY+s;else{const r=Ld(o),a=Md(o.target);e.x=Vt(r.x-a.x+n,0,a.width),e.y=Vt(r.y-a.y+s,0,a.height)}}return e}var Bd={exports:{}};/*! Hammer.JS - v2.0.7 - 2016-04-22
39
+ * http://hammerjs.github.io/
40
+ *
41
+ * Copyright (c) 2016 Jorik Tangelder;
42
+ * Licensed under the MIT license */(function(o){(function(t,e,n,s){var r=["","webkit","Moz","MS","ms","o"],a=e.createElement("div"),i="function",l=Math.round,c=Math.abs,u=Date.now;function f(C,O,R){return setTimeout(m(C,R),O)}function d(C,O,R){return Array.isArray(C)?(h(C,R[O],R),!0):!1}function h(C,O,R){var L;if(C)if(C.forEach)C.forEach(O,R);else if(C.length!==s)for(L=0;L<C.length;)O.call(R,C[L],L,C),L++;else for(L in C)C.hasOwnProperty(L)&&O.call(R,C[L],L,C)}function p(C,O,R){var L="DEPRECATED METHOD: "+O+`
43
+ `+R+` AT
44
+ `;return function(){var K=new Error("get-stack-trace"),pt=K&&K.stack?K.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",zt=t.console&&(t.console.warn||t.console.log);return zt&&zt.call(t.console,L,pt),C.apply(this,arguments)}}var b;typeof Object.assign!="function"?b=function(O){if(O===s||O===null)throw new TypeError("Cannot convert undefined or null to object");for(var R=Object(O),L=1;L<arguments.length;L++){var K=arguments[L];if(K!==s&&K!==null)for(var pt in K)K.hasOwnProperty(pt)&&(R[pt]=K[pt])}return R}:b=Object.assign;var x=p(function(O,R,L){for(var K=Object.keys(R),pt=0;pt<K.length;)(!L||L&&O[K[pt]]===s)&&(O[K[pt]]=R[K[pt]]),pt++;return O},"extend","Use `assign`."),k=p(function(O,R){return x(O,R,!0)},"merge","Use `assign`.");function g(C,O,R){var L=O.prototype,K;K=C.prototype=Object.create(L),K.constructor=C,K._super=L,R&&b(K,R)}function m(C,O){return function(){return C.apply(O,arguments)}}function y(C,O){return typeof C==i?C.apply(O&&O[0]||s,O):C}function _(C,O){return C===s?O:C}function w(C,O,R){h(M(O),function(L){C.addEventListener(L,R,!1)})}function $(C,O,R){h(M(O),function(L){C.removeEventListener(L,R,!1)})}function V(C,O){for(;C;){if(C==O)return!0;C=C.parentNode}return!1}function B(C,O){return C.indexOf(O)>-1}function M(C){return C.trim().split(/\s+/g)}function ut(C,O,R){if(C.indexOf&&!R)return C.indexOf(O);for(var L=0;L<C.length;){if(R&&C[L][R]==O||!R&&C[L]===O)return L;L++}return-1}function G(C){return Array.prototype.slice.call(C,0)}function tt(C,O,R){for(var L=[],K=[],pt=0;pt<C.length;){var zt=O?C[pt][O]:C[pt];ut(K,zt)<0&&L.push(C[pt]),K[pt]=zt,pt++}return R&&(O?L=L.sort(function(Pe,Me){return Pe[O]>Me[O]}):L=L.sort()),L}function gt(C,O){for(var R,L,K=O[0].toUpperCase()+O.slice(1),pt=0;pt<r.length;){if(R=r[pt],L=R?R+K:O,L in C)return L;pt++}return s}var Ot=1;function $t(){return Ot++}function xt(C){var O=C.ownerDocument||C;return O.defaultView||O.parentWindow||t}var kt=/mobile|tablet|ip(ad|hone|od)|android/i,se="ontouchstart"in t,me=gt(t,"PointerEvent")!==s,he=se&&kt.test(navigator.userAgent),Yt="touch",et="pen",A="mouse",re="kinect",Nt=25,F=1,ot=2,j=4,it=8,Pt=1,Ht=2,Et=4,S=8,E=16,z=Ht|Et,X=S|E,U=z|X,H=["x","y"],rt=["clientX","clientY"];function q(C,O){var R=this;this.manager=C,this.callback=O,this.element=C.element,this.target=C.options.inputTarget,this.domHandler=function(L){y(C.options.enable,[C])&&R.handler(L)},this.init()}q.prototype={handler:function(){},init:function(){this.evEl&&w(this.element,this.evEl,this.domHandler),this.evTarget&&w(this.target,this.evTarget,this.domHandler),this.evWin&&w(xt(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&$(this.element,this.evEl,this.domHandler),this.evTarget&&$(this.target,this.evTarget,this.domHandler),this.evWin&&$(xt(this.element),this.evWin,this.domHandler)}};function nt(C){var O,R=C.options.inputClass;return R?O=R:me?O=Rc:he?O=Ka:se?O=Ic:O=De,new O(C,Q)}function Q(C,O,R){var L=R.pointers.length,K=R.changedPointers.length,pt=O&F&&L-K===0,zt=O&(j|it)&&L-K===0;R.isFirst=!!pt,R.isFinal=!!zt,pt&&(C.session={}),R.eventType=O,wt(C,R),C.emit("hammer.input",R),C.recognize(R),C.session.prevInput=R}function wt(C,O){var R=C.session,L=O.pointers,K=L.length;R.firstInput||(R.firstInput=St(O)),K>1&&!R.firstMultiple?R.firstMultiple=St(O):K===1&&(R.firstMultiple=!1);var pt=R.firstInput,zt=R.firstMultiple,Te=zt?zt.center:pt.center,Pe=O.center=Ft(L);O.timeStamp=u(),O.deltaTime=O.timeStamp-pt.timeStamp,O.angle=ve(Te,Pe),O.distance=Ce(Te,Pe),lt(R,O),O.offsetDirection=jt(O.deltaX,O.deltaY);var Me=te(O.deltaTime,O.deltaX,O.deltaY);O.overallVelocityX=Me.x,O.overallVelocityY=Me.y,O.overallVelocity=c(Me.x)>c(Me.y)?Me.x:Me.y,O.scale=zt?ze(zt.pointers,L):1,O.rotation=zt?je(zt.pointers,L):0,O.maxPointers=R.prevInput?O.pointers.length>R.prevInput.maxPointers?O.pointers.length:R.prevInput.maxPointers:O.pointers.length,vt(R,O);var Eo=C.element;V(O.srcEvent.target,Eo)&&(Eo=O.srcEvent.target),O.target=Eo}function lt(C,O){var R=O.center,L=C.offsetDelta||{},K=C.prevDelta||{},pt=C.prevInput||{};(O.eventType===F||pt.eventType===j)&&(K=C.prevDelta={x:pt.deltaX||0,y:pt.deltaY||0},L=C.offsetDelta={x:R.x,y:R.y}),O.deltaX=K.x+(R.x-L.x),O.deltaY=K.y+(R.y-L.y)}function vt(C,O){var R=C.lastInterval||O,L=O.timeStamp-R.timeStamp,K,pt,zt,Te;if(O.eventType!=it&&(L>Nt||R.velocity===s)){var Pe=O.deltaX-R.deltaX,Me=O.deltaY-R.deltaY,Eo=te(L,Pe,Me);pt=Eo.x,zt=Eo.y,K=c(Eo.x)>c(Eo.y)?Eo.x:Eo.y,Te=jt(Pe,Me),C.lastInterval=O}else K=R.velocity,pt=R.velocityX,zt=R.velocityY,Te=R.direction;O.velocity=K,O.velocityX=pt,O.velocityY=zt,O.direction=Te}function St(C){for(var O=[],R=0;R<C.pointers.length;)O[R]={clientX:l(C.pointers[R].clientX),clientY:l(C.pointers[R].clientY)},R++;return{timeStamp:u(),pointers:O,center:Ft(O),deltaX:C.deltaX,deltaY:C.deltaY}}function Ft(C){var O=C.length;if(O===1)return{x:l(C[0].clientX),y:l(C[0].clientY)};for(var R=0,L=0,K=0;K<O;)R+=C[K].clientX,L+=C[K].clientY,K++;return{x:l(R/O),y:l(L/O)}}function te(C,O,R){return{x:O/C||0,y:R/C||0}}function jt(C,O){return C===O?Pt:c(C)>=c(O)?C<0?Ht:Et:O<0?S:E}function Ce(C,O,R){R||(R=H);var L=O[R[0]]-C[R[0]],K=O[R[1]]-C[R[1]];return Math.sqrt(L*L+K*K)}function ve(C,O,R){R||(R=H);var L=O[R[0]]-C[R[0]],K=O[R[1]]-C[R[1]];return Math.atan2(K,L)*180/Math.PI}function je(C,O){return ve(O[1],O[0],rt)+ve(C[1],C[0],rt)}function ze(C,O){return Ce(O[0],O[1],rt)/Ce(C[0],C[1],rt)}var On={mousedown:F,mousemove:ot,mouseup:j},Wa="mousedown",Oe="mousemove mouseup";function De(){this.evEl=Wa,this.evWin=Oe,this.pressed=!1,q.apply(this,arguments)}g(De,q,{handler:function(O){var R=On[O.type];R&F&&O.button===0&&(this.pressed=!0),R&ot&&O.which!==1&&(R=j),this.pressed&&(R&j&&(this.pressed=!1),this.callback(this.manager,R,{pointers:[O],changedPointers:[O],pointerType:A,srcEvent:O}))}});var qa={pointerdown:F,pointermove:ot,pointerup:j,pointercancel:it,pointerout:it},Q5={2:Yt,3:et,4:A,5:re},Dm="pointerdown",Mm="pointermove pointerup pointercancel";t.MSPointerEvent&&!t.PointerEvent&&(Dm="MSPointerDown",Mm="MSPointerMove MSPointerUp MSPointerCancel");function Rc(){this.evEl=Dm,this.evWin=Mm,q.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}g(Rc,q,{handler:function(O){var R=this.store,L=!1,K=O.type.toLowerCase().replace("ms",""),pt=qa[K],zt=Q5[O.pointerType]||O.pointerType,Te=zt==Yt,Pe=ut(R,O.pointerId,"pointerId");pt&F&&(O.button===0||Te)?Pe<0&&(R.push(O),Pe=R.length-1):pt&(j|it)&&(L=!0),!(Pe<0)&&(R[Pe]=O,this.callback(this.manager,pt,{pointers:R,changedPointers:[O],pointerType:zt,srcEvent:O}),L&&R.splice(Pe,1))}});var J5={touchstart:F,touchmove:ot,touchend:j,touchcancel:it},tw="touchstart",ew="touchstart touchmove touchend touchcancel";function Lm(){this.evTarget=tw,this.evWin=ew,this.started=!1,q.apply(this,arguments)}g(Lm,q,{handler:function(O){var R=J5[O.type];if(R===F&&(this.started=!0),!!this.started){var L=ow.call(this,O,R);R&(j|it)&&L[0].length-L[1].length===0&&(this.started=!1),this.callback(this.manager,R,{pointers:L[0],changedPointers:L[1],pointerType:Yt,srcEvent:O})}}});function ow(C,O){var R=G(C.touches),L=G(C.changedTouches);return O&(j|it)&&(R=tt(R.concat(L),"identifier",!0)),[R,L]}var nw={touchstart:F,touchmove:ot,touchend:j,touchcancel:it},sw="touchstart touchmove touchend touchcancel";function Ka(){this.evTarget=sw,this.targetIds={},q.apply(this,arguments)}g(Ka,q,{handler:function(O){var R=nw[O.type],L=rw.call(this,O,R);L&&this.callback(this.manager,R,{pointers:L[0],changedPointers:L[1],pointerType:Yt,srcEvent:O})}});function rw(C,O){var R=G(C.touches),L=this.targetIds;if(O&(F|ot)&&R.length===1)return L[R[0].identifier]=!0,[R,R];var K,pt,zt=G(C.changedTouches),Te=[],Pe=this.target;if(pt=R.filter(function(Me){return V(Me.target,Pe)}),O===F)for(K=0;K<pt.length;)L[pt[K].identifier]=!0,K++;for(K=0;K<zt.length;)L[zt[K].identifier]&&Te.push(zt[K]),O&(j|it)&&delete L[zt[K].identifier],K++;if(Te.length)return[tt(pt.concat(Te),"identifier",!0),Te]}var aw=2500,Bm=25;function Ic(){q.apply(this,arguments);var C=m(this.handler,this);this.touch=new Ka(this.manager,C),this.mouse=new De(this.manager,C),this.primaryTouch=null,this.lastTouches=[]}g(Ic,q,{handler:function(O,R,L){var K=L.pointerType==Yt,pt=L.pointerType==A;if(!(pt&&L.sourceCapabilities&&L.sourceCapabilities.firesTouchEvents)){if(K)iw.call(this,R,L);else if(pt&&lw.call(this,L))return;this.callback(O,R,L)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});function iw(C,O){C&F?(this.primaryTouch=O.changedPointers[0].identifier,Vm.call(this,O)):C&(j|it)&&Vm.call(this,O)}function Vm(C){var O=C.changedPointers[0];if(O.identifier===this.primaryTouch){var R={x:O.clientX,y:O.clientY};this.lastTouches.push(R);var L=this.lastTouches,K=function(){var pt=L.indexOf(R);pt>-1&&L.splice(pt,1)};setTimeout(K,aw)}}function lw(C){for(var O=C.srcEvent.clientX,R=C.srcEvent.clientY,L=0;L<this.lastTouches.length;L++){var K=this.lastTouches[L],pt=Math.abs(O-K.x),zt=Math.abs(R-K.y);if(pt<=Bm&&zt<=Bm)return!0}return!1}var Ym=gt(a.style,"touchAction"),Xm=Ym!==s,Zm="compute",Um="auto",Ac="manipulation",Pn="none",or="pan-x",nr="pan-y",Qa=uw();function $c(C,O){this.manager=C,this.set(O)}$c.prototype={set:function(C){C==Zm&&(C=this.compute()),Xm&&this.manager.element.style&&Qa[C]&&(this.manager.element.style[Ym]=C),this.actions=C.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var C=[];return h(this.manager.recognizers,function(O){y(O.options.enable,[O])&&(C=C.concat(O.getTouchAction()))}),cw(C.join(" "))},preventDefaults:function(C){var O=C.srcEvent,R=C.offsetDirection;if(this.manager.session.prevented){O.preventDefault();return}var L=this.actions,K=B(L,Pn)&&!Qa[Pn],pt=B(L,nr)&&!Qa[nr],zt=B(L,or)&&!Qa[or];if(K){var Te=C.pointers.length===1,Pe=C.distance<2,Me=C.deltaTime<250;if(Te&&Pe&&Me)return}if(!(zt&&pt)&&(K||pt&&R&z||zt&&R&X))return this.preventSrc(O)},preventSrc:function(C){this.manager.session.prevented=!0,C.preventDefault()}};function cw(C){if(B(C,Pn))return Pn;var O=B(C,or),R=B(C,nr);return O&&R?Pn:O||R?O?or:nr:B(C,Ac)?Ac:Um}function uw(){if(!Xm)return!1;var C={},O=t.CSS&&t.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(R){C[R]=O?t.CSS.supports("touch-action",R):!0}),C}var Ja=1,ro=2,rs=4,ln=8,Bo=ln,sr=16,To=32;function Vo(C){this.options=b({},this.defaults,C||{}),this.id=$t(),this.manager=null,this.options.enable=_(this.options.enable,!0),this.state=Ja,this.simultaneous={},this.requireFail=[]}Vo.prototype={defaults:{},set:function(C){return b(this.options,C),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(C){if(d(C,"recognizeWith",this))return this;var O=this.simultaneous;return C=ti(C,this),O[C.id]||(O[C.id]=C,C.recognizeWith(this)),this},dropRecognizeWith:function(C){return d(C,"dropRecognizeWith",this)?this:(C=ti(C,this),delete this.simultaneous[C.id],this)},requireFailure:function(C){if(d(C,"requireFailure",this))return this;var O=this.requireFail;return C=ti(C,this),ut(O,C)===-1&&(O.push(C),C.requireFailure(this)),this},dropRequireFailure:function(C){if(d(C,"dropRequireFailure",this))return this;C=ti(C,this);var O=ut(this.requireFail,C);return O>-1&&this.requireFail.splice(O,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(C){return!!this.simultaneous[C.id]},emit:function(C){var O=this,R=this.state;function L(K){O.manager.emit(K,C)}R<ln&&L(O.options.event+Hm(R)),L(O.options.event),C.additionalEvent&&L(C.additionalEvent),R>=ln&&L(O.options.event+Hm(R))},tryEmit:function(C){if(this.canEmit())return this.emit(C);this.state=To},canEmit:function(){for(var C=0;C<this.requireFail.length;){if(!(this.requireFail[C].state&(To|Ja)))return!1;C++}return!0},recognize:function(C){var O=b({},C);if(!y(this.options.enable,[this,O])){this.reset(),this.state=To;return}this.state&(Bo|sr|To)&&(this.state=Ja),this.state=this.process(O),this.state&(ro|rs|ln|sr)&&this.tryEmit(O)},process:function(C){},getTouchAction:function(){},reset:function(){}};function Hm(C){return C&sr?"cancel":C&ln?"end":C&rs?"move":C&ro?"start":""}function jm(C){return C==E?"down":C==S?"up":C==Ht?"left":C==Et?"right":""}function ti(C,O){var R=O.manager;return R?R.get(C):C}function mo(){Vo.apply(this,arguments)}g(mo,Vo,{defaults:{pointers:1},attrTest:function(C){var O=this.options.pointers;return O===0||C.pointers.length===O},process:function(C){var O=this.state,R=C.eventType,L=O&(ro|rs),K=this.attrTest(C);return L&&(R&it||!K)?O|sr:L||K?R&j?O|ln:O&ro?O|rs:ro:To}});function ei(){mo.apply(this,arguments),this.pX=null,this.pY=null}g(ei,mo,{defaults:{event:"pan",threshold:10,pointers:1,direction:U},getTouchAction:function(){var C=this.options.direction,O=[];return C&z&&O.push(nr),C&X&&O.push(or),O},directionTest:function(C){var O=this.options,R=!0,L=C.distance,K=C.direction,pt=C.deltaX,zt=C.deltaY;return K&O.direction||(O.direction&z?(K=pt===0?Pt:pt<0?Ht:Et,R=pt!=this.pX,L=Math.abs(C.deltaX)):(K=zt===0?Pt:zt<0?S:E,R=zt!=this.pY,L=Math.abs(C.deltaY))),C.direction=K,R&&L>O.threshold&&K&O.direction},attrTest:function(C){return mo.prototype.attrTest.call(this,C)&&(this.state&ro||!(this.state&ro)&&this.directionTest(C))},emit:function(C){this.pX=C.deltaX,this.pY=C.deltaY;var O=jm(C.direction);O&&(C.additionalEvent=this.options.event+O),this._super.emit.call(this,C)}});function Nc(){mo.apply(this,arguments)}g(Nc,mo,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Pn]},attrTest:function(C){return this._super.attrTest.call(this,C)&&(Math.abs(C.scale-1)>this.options.threshold||this.state&ro)},emit:function(C){if(C.scale!==1){var O=C.scale<1?"in":"out";C.additionalEvent=this.options.event+O}this._super.emit.call(this,C)}});function Fc(){Vo.apply(this,arguments),this._timer=null,this._input=null}g(Fc,Vo,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Um]},process:function(C){var O=this.options,R=C.pointers.length===O.pointers,L=C.distance<O.threshold,K=C.deltaTime>O.time;if(this._input=C,!L||!R||C.eventType&(j|it)&&!K)this.reset();else if(C.eventType&F)this.reset(),this._timer=f(function(){this.state=Bo,this.tryEmit()},O.time,this);else if(C.eventType&j)return Bo;return To},reset:function(){clearTimeout(this._timer)},emit:function(C){this.state===Bo&&(C&&C.eventType&j?this.manager.emit(this.options.event+"up",C):(this._input.timeStamp=u(),this.manager.emit(this.options.event,this._input)))}});function zc(){mo.apply(this,arguments)}g(zc,mo,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Pn]},attrTest:function(C){return this._super.attrTest.call(this,C)&&(Math.abs(C.rotation)>this.options.threshold||this.state&ro)}});function Dc(){mo.apply(this,arguments)}g(Dc,mo,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:z|X,pointers:1},getTouchAction:function(){return ei.prototype.getTouchAction.call(this)},attrTest:function(C){var O=this.options.direction,R;return O&(z|X)?R=C.overallVelocity:O&z?R=C.overallVelocityX:O&X&&(R=C.overallVelocityY),this._super.attrTest.call(this,C)&&O&C.offsetDirection&&C.distance>this.options.threshold&&C.maxPointers==this.options.pointers&&c(R)>this.options.velocity&&C.eventType&j},emit:function(C){var O=jm(C.offsetDirection);O&&this.manager.emit(this.options.event+O,C),this.manager.emit(this.options.event,C)}});function oi(){Vo.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}g(oi,Vo,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Ac]},process:function(C){var O=this.options,R=C.pointers.length===O.pointers,L=C.distance<O.threshold,K=C.deltaTime<O.time;if(this.reset(),C.eventType&F&&this.count===0)return this.failTimeout();if(L&&K&&R){if(C.eventType!=j)return this.failTimeout();var pt=this.pTime?C.timeStamp-this.pTime<O.interval:!0,zt=!this.pCenter||Ce(this.pCenter,C.center)<O.posThreshold;this.pTime=C.timeStamp,this.pCenter=C.center,!zt||!pt?this.count=1:this.count+=1,this._input=C;var Te=this.count%O.taps;if(Te===0)return this.hasRequireFailures()?(this._timer=f(function(){this.state=Bo,this.tryEmit()},O.interval,this),ro):Bo}return To},failTimeout:function(){return this._timer=f(function(){this.state=To},this.options.interval,this),To},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==Bo&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}});function Yo(C,O){return O=O||{},O.recognizers=_(O.recognizers,Yo.defaults.preset),new Mc(C,O)}Yo.VERSION="2.0.7",Yo.defaults={domEvents:!1,touchAction:Zm,enable:!0,inputTarget:null,inputClass:null,preset:[[zc,{enable:!1}],[Nc,{enable:!1},["rotate"]],[Dc,{direction:z}],[ei,{direction:z},["swipe"]],[oi],[oi,{event:"doubletap",taps:2},["tap"]],[Fc]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var fw=1,Gm=2;function Mc(C,O){this.options=b({},Yo.defaults,O||{}),this.options.inputTarget=this.options.inputTarget||C,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=C,this.input=nt(this),this.touchAction=new $c(this,this.options.touchAction),Wm(this,!0),h(this.options.recognizers,function(R){var L=this.add(new R[0](R[1]));R[2]&&L.recognizeWith(R[2]),R[3]&&L.requireFailure(R[3])},this)}Mc.prototype={set:function(C){return b(this.options,C),C.touchAction&&this.touchAction.update(),C.inputTarget&&(this.input.destroy(),this.input.target=C.inputTarget,this.input.init()),this},stop:function(C){this.session.stopped=C?Gm:fw},recognize:function(C){var O=this.session;if(!O.stopped){this.touchAction.preventDefaults(C);var R,L=this.recognizers,K=O.curRecognizer;(!K||K&&K.state&Bo)&&(K=O.curRecognizer=null);for(var pt=0;pt<L.length;)R=L[pt],O.stopped!==Gm&&(!K||R==K||R.canRecognizeWith(K))?R.recognize(C):R.reset(),!K&&R.state&(ro|rs|ln)&&(K=O.curRecognizer=R),pt++}},get:function(C){if(C instanceof Vo)return C;for(var O=this.recognizers,R=0;R<O.length;R++)if(O[R].options.event==C)return O[R];return null},add:function(C){if(d(C,"add",this))return this;var O=this.get(C.options.event);return O&&this.remove(O),this.recognizers.push(C),C.manager=this,this.touchAction.update(),C},remove:function(C){if(d(C,"remove",this))return this;if(C=this.get(C),C){var O=this.recognizers,R=ut(O,C);R!==-1&&(O.splice(R,1),this.touchAction.update())}return this},on:function(C,O){if(C!==s&&O!==s){var R=this.handlers;return h(M(C),function(L){R[L]=R[L]||[],R[L].push(O)}),this}},off:function(C,O){if(C!==s){var R=this.handlers;return h(M(C),function(L){O?R[L]&&R[L].splice(ut(R[L],O),1):delete R[L]}),this}},emit:function(C,O){this.options.domEvents&&dw(C,O);var R=this.handlers[C]&&this.handlers[C].slice();if(!(!R||!R.length)){O.type=C,O.preventDefault=function(){O.srcEvent.preventDefault()};for(var L=0;L<R.length;)R[L](O),L++}},destroy:function(){this.element&&Wm(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}};function Wm(C,O){var R=C.element;if(R.style){var L;h(C.options.cssProps,function(K,pt){L=gt(R.style,pt),O?(C.oldCssProps[L]=R.style[L],R.style[L]=K):R.style[L]=C.oldCssProps[L]||""}),O||(C.oldCssProps={})}}function dw(C,O){var R=e.createEvent("Event");R.initEvent(C,!0,!0),R.gesture=O,O.target.dispatchEvent(R)}b(Yo,{INPUT_START:F,INPUT_MOVE:ot,INPUT_END:j,INPUT_CANCEL:it,STATE_POSSIBLE:Ja,STATE_BEGAN:ro,STATE_CHANGED:rs,STATE_ENDED:ln,STATE_RECOGNIZED:Bo,STATE_CANCELLED:sr,STATE_FAILED:To,DIRECTION_NONE:Pt,DIRECTION_LEFT:Ht,DIRECTION_RIGHT:Et,DIRECTION_UP:S,DIRECTION_DOWN:E,DIRECTION_HORIZONTAL:z,DIRECTION_VERTICAL:X,DIRECTION_ALL:U,Manager:Mc,Input:q,TouchAction:$c,TouchInput:Ka,MouseInput:De,PointerEventInput:Rc,TouchMouseInput:Ic,SingleTouchInput:Lm,Recognizer:Vo,AttrRecognizer:mo,Tap:oi,Pan:ei,Swipe:Dc,Pinch:Nc,Rotate:zc,Press:Fc,on:w,off:$,each:h,merge:k,extend:x,assign:b,inherit:g,bindFn:m,prefixed:gt});var hw=typeof t<"u"?t:typeof self<"u"?self:{};hw.Hammer=Yo,typeof s=="function"&&s.amd?s(function(){return Yo}):o.exports?o.exports=Yo:t[n]=Yo})(window,document,"Hammer")})(Bd);var yv=Bd.exports;const vv=$1(yv);async function Vd(o,t){return new Promise(e=>{const n=new ResizeObserver(s=>{const a=s[0].contentRect;t(a),e(()=>{n.unobserve(o)})});n.observe(o)})}function En(o,t){return bv(o,t)}function bv(o,t){const e=o.eb,n=a=>{e.on("pointerMove",r),e.on("pointerUp",s),e.on("pointerCancel",s),t?.start?.(a)},s=a=>{e.off("pointerMove",r),e.off("pointerUp",s),e.off("pointerCancel",s),t?.end?.(a)},r=a=>{t?.move?.(a)};return e.on("pointerDown",n),()=>e.off("pointerDown",n)}function la(o=document.documentElement){const t=new Hr,e=new vv(o);let n=[];const s=gv(),r=s.mousePoint,a=E=>{t.emit("mouseDown",E)},i=E=>{t.emit("mouseUp",E)},l=E=>{r.isDown||s.setCurrentMousePoint(Ys(E,o)),t.emit("mouseMove",E)},c=E=>{t.emit("mouseOver",E)},u=E=>{t.emit("mouseOut",E)},f=E=>{t.emit("mouseEnter",E)},d=E=>{t.emit("mouseLeave",E)},h=E=>{t.emit("mouseClick",E)},p=E=>{t.emit("mouseDoubleClick",E)},b=E=>{t.emit("mouseWheel",E)},x=E=>{t.emit("mouseContextMenu",E)},k=E=>{t.emit("touchStart",E)},g=E=>{t.emit("touchEnd",E)},m=E=>{t.emit("touchCancel",E)},y=E=>{const z=E.changedTouches[0];r.isDown||s.setCurrentMousePoint(Ys(z,o)),t.emit("touchMove",E)},_=E=>{t.emit("pointerDown",E)},w=E=>{t.emit("pointerUp",E)},$=E=>{t.emit("pointerCancel",E)},V=E=>{t.emit("pointerMove",E)},B=E=>{t.emit("pan",E)},M=E=>{t.emit("panStart",E)},ut=E=>{t.emit("panMove",E)},G=E=>{t.emit("panEnd",E)},tt=E=>{t.emit("panCancel",E)},gt=E=>{t.emit("panLeft",E)},Ot=E=>{t.emit("panRight",E)},$t=E=>{t.emit("panUp",E)},xt=E=>{t.emit("panDown",E)},kt=E=>{t.emit("pinch",E)},se=E=>{t.emit("pinchin",E)},me=E=>{t.emit("pinchout",E)},he=E=>{t.emit("press",E)},Yt=E=>{t.emit("rotate",E)},et=E=>{t.emit("swipe",E)},A=E=>{t.emit("swipeLeft",E)},re=E=>{t.emit("swipeRight",E)},Nt=E=>{t.emit("swipeUp",E)},F=E=>{t.emit("swipeDown",E)},ot=E=>{t.emit("tap",E)},j=E=>{!E.target||o==E.target||o.contains(E.target)||t.emit("tapOutSide",E)},it=E=>{t.emit("transitionstart",E)},Pt=E=>{t.emit("transitionend",E)},Ht=E=>{t.emit("animationstart",E)},Et=E=>{t.emit("animationend",E)};let S={...o.getBoundingClientRect(),width:o.offsetWidth,height:o.offsetHeight};return{el:o,get rect(){return S},mousePoint:r,eb:t,start:async function(){n.push(Jt(o,"mousedown",a)),n.push(Jt(o,"mouseup",i)),n.push(Jt(o,"mousemove",l)),n.push(Jt(o,"mouseover",c)),n.push(Jt(o,"mouseout",u)),n.push(Jt(o,"mouseenter",f)),n.push(Jt(o,"mouseleave",d)),n.push(Jt(o,"click",h)),n.push(Jt(o,"dblclick",p)),n.push(Jt(o,"onwheel"in document.createElement("div")?"wheel":document.onmousewheel!==void 0?"mousewheel":"DOMMouseScroll",b)),n.push(Jt(o,"contextmenu",x)),n.push(Jt(o,"touchstart",k)),n.push(Jt(o,"touchend",g)),n.push(Jt(o,"touchcancel",m)),n.push(Jt(o,"touchmove",y)),n.push(Jt(o,"pointerdown",_)),n.push(Jt(o,"pointerup",w)),n.push(Jt(o,"pointercancel",$)),n.push(Jt(o,"pointermove",V)),e.on("pan",B),e.on("panstart",M),e.on("panmove",ut),e.on("panend",G),e.on("pancancel",tt),e.on("panleft",gt),e.on("panright",Ot),e.on("panup",$t),e.on("pandown",xt),e.on("pinch",kt),e.on("pinchin",se),e.on("pinchout",me),e.on("press",he),e.on("rotate",Yt),e.on("swipe",et),e.on("swipeleft",A),e.on("swiperight",re),e.on("swipeup",Nt),e.on("swipedown",F),e.on("tap",ot),n.push(Jt(document,"pointerdown",j)),n.push(Jt(o,"transitionstart",it)),n.push(Jt(o,"transitionend",Pt)),n.push(Jt(o,"animationstart",Ht)),n.push(Jt(o,"animationend",Et));const E=await Vd(o,z=>{S=z,t.emit("resize",z)});n.push(E),n.push(En(this,{start:z=>{s.setStartMousePoint(Ys(z,o),!0)},move:z=>{s.setCurrentMousePoint(Ys(z,o))},end:z=>{s.setCurrentMousePoint(Ys(z,o),!1)}}))},end:()=>{t.removeAllListeners(),n.forEach(E=>E()),n=[],e.off("pan",B),e.off("panstart",M),e.off("panmove",ut),e.off("panend",G),e.off("pancancel",tt),e.off("panleft",gt),e.off("panright",Ot),e.off("panup",$t),e.off("pandown",xt),e.off("pinch",kt),e.off("pinchin",se),e.off("pinchout",me),e.off("press",he),e.off("rotate",Yt),e.off("swipe",et),e.off("swipeleft",A),e.off("swiperight",re),e.off("swipeup",Nt),e.off("swipedown",F),e.off("tap",ot)}}}function _v(o="(prefers-color-scheme: dark)"){const t=window.matchMedia(o),e=dd(t.matches);return Jt(t,"change",n=>{e.value=n.matches}),e}const Al=z1("__yz_theme__");if(!Al.value){const o=_v("(prefers-color-scheme: dark)");Al.value=o.value?"dark":"light"}pl(()=>{switch(Al.value){case"dark":document.documentElement.classList.add("dark"),aa(document.documentElement,"data-theme","dark");break;default:document.documentElement.classList.remove("dark"),aa(document.documentElement,"data-theme","light");break}});function Zt(o,t=""){return getComputedStyle(document.documentElement).getPropertyValue(o)||t}function Yd(o){document.getElementsByTagName("title")[0].innerText=o,document.title=o}let Xd=!1;function xv(){Xd||(Xd=!0,Co(`
41
45
  :root {
42
46
  --sat:env(safe-area-inset-top, 0px);
43
47
  --sar:env(safe-area-inset-right, 0px);
@@ -50,48 +54,42 @@ Expected function or array of functions, received type ${typeof e}.`),ge)}functi
50
54
  --sab:env(safe-area-inset-bottom, 0px);
51
55
  --sal:env(safe-area-inset-left, 0px);
52
56
  }
53
- `))}const Ko=Tr(),rl={onTop:e=>(Us(),setTimeout(()=>{const t=getComputedStyle(document.documentElement);Ko.emit("top",t.getPropertyValue("--sat"))},1),Ko.on("top",e)),onRight:e=>(Us(),setTimeout(()=>{const t=getComputedStyle(document.documentElement);Ko.emit("right",t.getPropertyValue("--sar"))},1),Ko.on("right",e)),onBottom:e=>(Us(),setTimeout(()=>{const t=getComputedStyle(document.documentElement);Ko.emit("bottom",t.getPropertyValue("--sab"))},1),Ko.on("bottom",e)),onLeft:e=>(Us(),setTimeout(()=>{const t=getComputedStyle(document.documentElement);Ko.emit("left",t.getPropertyValue("--sal"))},1),Ko.on("left",e))};function Cv(){const e=Tr();return{destroy:Be(document,"scroll",t=>{e.emit("scroll",t)}),on:t=>(e.on("scroll",t),()=>{e.off("scroll",t)})}}function Tv(e){const t=Tr(),o=new ResizeObserver(n=>{const r=n[0],{width:s,height:a}=r.contentRect;t.emit("resize",s,a)});return o.observe(e),{on:n=>(t.on("resize",n),()=>{t.off("resize",n)}),destroy:()=>{o.unobserve(e)}}}function js(e,t=.5,o){const n=Tr();let r;const s=new IntersectionObserver((a,l)=>{let i=a[0];if(a.length>1){const u=a.find(f=>f.isIntersecting);u&&(i=u)}const c=i.isIntersecting&&i.intersectionRatio>=t;r!==c&&(c?n.emit("show"):n.emit("hide"),r=c)},{threshold:t,root:o});return s.observe(e),{onshow:a=>(n.on("show",a),()=>{n.off("show",a)}),onhide:a=>(n.on("hide",a),()=>{n.off("hide",a)}),destroy:()=>{s.unobserve(e)}}}function Hs(e,t,o,n,r){const s=t/o;let a=0,l=0;switch(e){case"aspectFit":s>=1?(a=n,l=a/s,l>r&&(l=r,a=l*s)):(l=r,a=l*s,a>n&&(a=n,l=a/s));break;case"aspectFill":s>=1?(l=r,a=l*s):(a=n,l=a/s);break;case"widthFix":a=n,l=a/s;break;case"heightFix":l=r,a=l*s;break;case"scaleToFill":default:a=n,l=r;break}return{width:a,height:l}}function Ev(e){try{const t=document.createElement("canvas"),o=t.getContext("2d");return t.width=e.width,t.height=e.height,o.drawImage(e,0,0,t.width,t.height),o.getImageData(0,0,t.width,t.height)}catch{return new ImageData(e.width,e.height)}}class sd extends Rr{shapesCountChange=!1;constructor(t){super(t)}shapeInit(){}frameStart(t){return this.shapesCountChange&&(this.shapesCountChange=!1,this.shapes.forEach(o=>{o.parent=this,o.initPathD()}),this.pathd=this.initPathD(),this.shapes.forEach(o=>{!o.forceCXY&&!o.independentTransformInGroup&&(o.cX=this.cX-o.diffXInGroup,o.cY=this.cY-o.diffYInGroup)})),super.frameStart(t)}frameUpdate(t,o){this.shapes.forEach(n=>{!n.independentTransformInGroup&&!n.isDragging&&(n.x=this.x+n.diffXInGroup,n.y=this.y+n.diffYInGroup,n.degree=this.degree+n.diffDegreeInGroup,n.scalarX=this.scalarX*n.diffScalarXInGroup,n.scalarY=this.scalarY*n.diffScalarYInGroup)}),super.frameUpdate(t,o)}addShape(t){(Array.isArray(t)?t:[t]).forEach(o=>{this.shapes.findIndex(n=>n.id==o.id)==-1&&(o.on("draging",(n,r)=>{this.enableDrag&&(this.x+=n,this.y+=r,this.emit("draging",n,r,o))}),this.shapes.push(o),this.shapesCountChange=!0)})}getBoundingClientRect(){const t=[],o=[];this.shapes.forEach(i=>{const c=i.getBoundingClientRect();c&&(t.push(c.x,c.x+c.width),o.push(c.y,c.y+c.height))});const n=this.pathd?.getBoundingClientRect();if(n&&(n.width||n.height)&&(t.push(n.x,n.x+n.width),o.push(n.y,n.y+n.height)),t.length==0||o.length==0)return null;const r=Math.min.apply(0,t),s=Math.min.apply(0,o),a=Math.max.apply(0,t),l=Math.max.apply(0,o);return{x:r,y:s,width:a-r,height:l-s}}setAttrs(t,o){typeof t!="string"?(super.setAttr(t),this.shapes.forEach(n=>{n.setAttr(t)})):o&&(super.setAttr(t,o),this.shapes.forEach(n=>{n.setAttr(t,o)}))}sortPathD(){this.shapes=this.shapes.map(t=>{const o=t.initPathD();return{shape:t,perimeter:o.perimeterPoints()}}).sort((t,o)=>o.perimeter-t.perimeter).map(t=>t.shape)}expendFill(t){const o=t.shapes.length,n=this.shapes.length;if(o<n)return t.expendFill(this);for(let r=n;r<o;r++){const a=t.shapes[r].initPathD().polymorphPoints,l=a[0],i=a[1],c=[["M",l,i]];for(let u=2;u+5<a.length;u+=6)c.push(["C",l,i,l,i,l,i]);this.addShape(new Rr({attrs:{...t.shapes[r].getAttrs()},d:c}))}}strokeDashTween(t,o){switch(o?.type){case"sequence":const n=this.shapes.length-1;this.shapes.forEach((l,i)=>{l.strokeDashTween(t,{...o,delay:i,onStart:()=>{i==0&&o?.onGroupStart?.()},onUpdate:()=>{o?.onGroupUpdate?.()},onComplete:()=>{i==n&&o?.onGroupComplete?.()}})});break;case"parallel":default:const r=new Ge({frameDuration:t}),s={},a={};this.shapes.forEach((l,i)=>{const c=Pe(l.getTotalLength(),0);s[`offset_${i}`]=c,a[`offset_${i}`]=0,l.setAttr({strokeDasharray:`${c} ${c}`,strokeDashoffset:`${c}`})}),r.addTween(s,a,Object.assign(o||{},{onStart:()=>{o?.onGroupStart?.()},onUpdate:(l,i)=>{for(let c in l){const u=Fn(c).number;this.shapes[u].setAttr("strokeDashoffset",""+Pe(l[c],2))}o?.onGroupUpdate?.()},onComplete:()=>{o?.onGroupComplete?.()}})),r.play();break}}}const Sv=sd,Ov=getComputedStyle(document.documentElement);function Dt(e){return Ov.getPropertyValue(e)}const kt={colorPrimary:Dt("--color-primary")||"#5A82F0",colorRed:Dt("--color-red")||"#FA503C",colorOrange:Dt("--color-orange")||"#fa8c00",colorYellow:Dt("--color-yellow")||"#fadc32",colorGreen:Dt("--color-green")||"#00c878",colorBlue:Dt("--color-blue")||"#00b4fa",colorPurple:Dt("--color-purple")||"#6464fa",colorBlack:Dt("--color-black")||"#001428",colorGray00:Dt("--color-gray-00")||"#000000",colorGray33:Dt("--color-gray-33")||"#333333",colorGray66:Dt("--color-gray-66")||"#666666",colorGray99:Dt("--color-gray-99")||"#999999",colorGrayCC:Dt("--color-gray-cc")||"#cccccc",colorGrayDD:Dt("--color-gray-dd")||"#dddddd",colorGrayE6:Dt("--color-gray-e6")||"#e6e6e6",colorGrayEE:Dt("--color-gray-ee")||"#eeeeee",colorGrayEF:Dt("--color-gray-ef")||"#efefef",colorGrayF5:Dt("--color-gray-f5")||"#f5f5f5",colorGrayFF:Dt("--color-gray-ff")||"#ffffff",fontLineHeight:Dt("--font-line-height")||"1.4",fontSize32:Dt("--font-size-32")||"32px",fontSize24:Dt("--font-size-24")||"24px",fontSize22:Dt("--font-size-22")||"22px",fontSize20:Dt("--font-size-20")||"20px",fontSize18:Dt("--font-size-18")||"18px",fontSize16:Dt("--font-size-16")||"16px",fontSize14:Dt("--font-size-14")||"14px",fontSize12:Dt("--font-size-12")||"12px",fontSize10:Dt("--font-size-10")||"10px",d4:Dt("--distance-4")||"4px",d8:Dt("--distance-8")||"8px",d12:Dt("--distance-12")||"12px",d16:Dt("--distance-16")||"16px",d20:Dt("--distance-20")||"20px",d32:Dt("--distance-32")||"32px",d40:Dt("--distance-40")||"40px",d44:Dt("--distance-44")||"44px"};class De{__color={r:0,g:0,b:0,a:1};constructor(t,o){t&&this.setColor(t),typeof o=="number"&&this.setAlpha(o)}get color(){return this.__color}set color(t){this.__color=sl(t)}setColor(t){return this.color=t,this}get r(){return this.__color.r}set r(t){this.__color.r=le(Math.round(t),0,255)}get g(){return this.__color.g}set g(t){this.__color.g=le(Math.round(t),0,255)}get b(){return this.__color.b}set b(t){this.__color.b=le(Math.round(t),0,255)}get a(){return this.__color.a}set a(t){this.__color.a=le(t,0,1)}setAlpha(t){return this.a=t,this}setRGB(t,o,n){return this.r=t,this.g=o,this.b=n,this}setRGBA(t,o,n,r){return this.r=t,this.g=o,this.b=n,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},${Pe(this.a,6)})`}clone(){return new De(this.color)}copy(t){this.setColor(t.color)}opposite(t=!1,o="#000000",n="#ffffff"){if(t)return new De(this.r*.299+this.g*.587+this.b*.114>186?o:n);{const r=this.clone();return r.r=255-r.r,r.g=255-r.g,r.b=255-r.b,r}}lighten(t){t=le(Math.abs(t),0,1);let{r:o,g:n,b:r}=this.color;return o+=(255-o)*t,n+=(255-n)*t,r+=(255-r)*t,new De().setRGBA(o,n,r,this.color.a)}darken(t){t=le(Math.abs(t),0,1);let{r:o,g:n,b:r}=this.color;return o=o*(1-t),n=n*(1-t),r=r*(1-t),new De().setRGBA(o,n,r,this.color.a)}static gradient(t,o,n){try{const r=sl(t),s=sl(o);return new De().setRGB((s.r-r.r)*n+r.r,(s.g-r.g)*n+r.g,(s.b-r.b)*n+r.b)}catch{return new De(o)}}static random(){return new De(Math.random()*16777215)}get hsv(){const{r:t,g:o,b:n,a:r}=this.color,s=Math.max(t,o,n),a=Math.min(t,o,n),l=s-a;let i;return t===s?i=(o-n)/l:o===s?i=2+(n-t)/l:i=4+(t-o)/l,i/=6,i<0&&(i+=1),{h:l==0?0:i*360,s:s===0?0:l/s,v:s/255,a:r}}set h(t){const o=this.hsv;o.h=le(t,0,360),this.setColor(o)}get h(){return this.hsv.h}set s(t){const o=this.hsv;o.s=le(t,0,1),this.setColor(o)}get s(){return this.hsv.s}set v(t){const o=this.hsv;o.v=le(t,0,1),this.setColor(o)}get v(){return this.hsv.v}}function _e(e,t){return new De(e,t)}function sl(e){const t=Object.prototype.hasOwnProperty.call(e,"a")?le(e.a,0,1):1;if(Object.prototype.hasOwnProperty.call(e,"r")&&Object.prototype.hasOwnProperty.call(e,"g")&&Object.prototype.hasOwnProperty.call(e,"b"))return e.r=le(Math.round(e.r),0,255),e.g=le(Math.round(e.g),0,255),e.b=le(Math.round(e.b),0,255),e.a=t,e;if(Object.prototype.hasOwnProperty.call(e,"h")&&Object.prototype.hasOwnProperty.call(e,"s")&&Object.prototype.hasOwnProperty.call(e,"v")){const n=le(e.h,0,360),r=le(e.s,0,1),s=le(e.v,0,1),a=Math.floor(n/60)%6,l=n/60-Math.floor(n/60),i=s*(1-r),c=s*(1-l*r),u=s*(1-(1-l)*r),f=[[s,u,i],[c,s,i],[i,s,u],[i,c,s],[u,i,s],[s,i,c]][a];return{r:Math.round(f[0]*255),g:Math.round(f[1]*255),b:Math.round(f[2]*255),a:t}}const o={r:0,g:0,b:0,a:t};if(typeof e=="number")e<Math.pow(2,24)?(o.r=e>>16&255,o.g=e>>8&255,o.b=e&255):(o.r=e>>24&255,o.g=e>>16&255,o.b=e>>8&255,o.a=(e&255)/255);else if(typeof e=="string"){const n=/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,?\s*(\d?\.?\d*)?\s*\)/gi.exec(e);if(n)o.r=parseInt(n[1]),o.g=parseInt(n[2]),o.b=parseInt(n[3]),n[4]&&(o.a=parseFloat(n[4]));else{let r=e.match(/^#([A-F0-9])([A-F0-9])([A-F0-9])$/i);r?(o.r=parseInt(`${r[1]}${r[1]}`,16),o.g=parseInt(`${r[2]}${r[2]}`,16),o.b=parseInt(`${r[3]}${r[3]}`,16)):(r=e.match(/^#([A-F0-9]{2})([A-F0-9]{2})([A-F0-9]{2})$/i),r?(o.r=parseInt(r[1],16),o.g=parseInt(r[2],16),o.b=parseInt(r[3],16)):(r=e.match(/^#([A-F0-9]{2})([A-F0-9]{2})([A-F0-9]{2})([A-F0-9]{2})$/i),r?(o.r=parseInt(r[1],16),o.g=parseInt(r[2],16),o.b=parseInt(r[3],16),o.a=parseInt(r[4],16)/255):e==="none"&&(o.a=0)))}}else throw new Error("parseColor 不支持的颜色解析:"+e);return o.r=le(o.r,0,255),o.g=le(o.g,0,255),o.b=le(o.b,0,255),o.a=le(o.a,0,1),o}const Qo={backgroundColor:"#1a1a1a",numberColor:"#2FA1D6",booleanColor:"#806787",stringColor:"#1ed36f",functionColor:"#e61d5f",saveRowColor:"#dad5cb",buttonColor:"",borderColor:"",inputColor:""};Qo.buttonColor=new De(Qo.saveRowColor).darken(.1).toString(),Qo.borderColor=new De(Qo.backgroundColor).lighten(.07).toString(),Qo.inputColor=new De(Qo.backgroundColor).lighten(.085).toString();class Pv extends bv{toX;toY;constructor(t){super(t),this.toX=t?.toX||0,this.toY=t?.toY||0;let o=this.toX-this.x,n=this.toY-this.y;return new Proxy(this,{set(r,s,a,l){switch(s){case"x":r.toX=a+o;break;case"y":r.toY=a+n;break;case"toX":o=a-r.x;break;case"toY":n=a-r.y;break}return Reflect.set(r,s,a,l)}})}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 o=new jf({x:this.x,y:this.y,toX:this.toX,toY:this.toY}),n=new jf({x:t.x,y:t.y,toX:t.toX,toY:t.toY});return o.intersection(n)}}const Rv=Pv;var ad={exports:{}};/*! Hammer.JS - v2.0.7 - 2016-04-22
54
- * http://hammerjs.github.io/
55
- *
56
- * Copyright (c) 2016 Jorik Tangelder;
57
- * Licensed under the MIT license */(function(e){(function(t,o,n,r){var s=["","webkit","Moz","MS","ms","o"],a=o.createElement("div"),l="function",i=Math.round,c=Math.abs,u=Date.now;function f(b,E,P){return setTimeout(y(b,P),E)}function d(b,E,P){return Array.isArray(b)?(h(b,P[E],P),!0):!1}function h(b,E,P){var L;if(b)if(b.forEach)b.forEach(E,P);else if(b.length!==r)for(L=0;L<b.length;)E.call(P,b[L],L,b),L++;else for(L in b)b.hasOwnProperty(L)&&E.call(P,b[L],L,b)}function p(b,E,P){var L="DEPRECATED METHOD: "+E+`
58
- `+P+` AT
59
- `;return function(){var W=new Error("get-stack-trace"),ft=W&&W.stack?W.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",Lt=t.console&&(t.console.warn||t.console.log);return Lt&&Lt.call(t.console,L,ft),b.apply(this,arguments)}}var w;typeof Object.assign!="function"?w=function(E){if(E===r||E===null)throw new TypeError("Cannot convert undefined or null to object");for(var P=Object(E),L=1;L<arguments.length;L++){var W=arguments[L];if(W!==r&&W!==null)for(var ft in W)W.hasOwnProperty(ft)&&(P[ft]=W[ft])}return P}:w=Object.assign;var x=p(function(E,P,L){for(var W=Object.keys(P),ft=0;ft<W.length;)(!L||L&&E[W[ft]]===r)&&(E[W[ft]]=P[W[ft]]),ft++;return E},"extend","Use `assign`."),v=p(function(E,P){return x(E,P,!0)},"merge","Use `assign`.");function g(b,E,P){var L=E.prototype,W;W=b.prototype=Object.create(L),W.constructor=b,W._super=L,P&&w(W,P)}function y(b,E){return function(){return b.apply(E,arguments)}}function m(b,E){return typeof b==l?b.apply(E&&E[0]||r,E):b}function _(b,E){return b===r?E:b}function C(b,E,P){h(V(E),function(L){b.addEventListener(L,P,!1)})}function M(b,E,P){h(V(E),function(L){b.removeEventListener(L,P,!1)})}function X(b,E){for(;b;){if(b==E)return!0;b=b.parentNode}return!1}function G(b,E){return b.indexOf(E)>-1}function V(b){return b.trim().split(/\s+/g)}function pt(b,E,P){if(b.indexOf&&!P)return b.indexOf(E);for(var L=0;L<b.length;){if(P&&b[L][P]==E||!P&&b[L]===E)return L;L++}return-1}function K(b){return Array.prototype.slice.call(b,0)}function lt(b,E,P){for(var L=[],W=[],ft=0;ft<b.length;){var Lt=E?b[ft][E]:b[ft];pt(W,Lt)<0&&L.push(b[ft]),W[ft]=Lt,ft++}return P&&(E?L=L.sort(function(Se,ze){return Se[E]>ze[E]}):L=L.sort()),L}function gt(b,E){for(var P,L,W=E[0].toUpperCase()+E.slice(1),ft=0;ft<s.length;){if(P=s[ft],L=P?P+W:E,L in b)return L;ft++}return r}var wt=1;function Mt(){return wt++}function Et(b){var E=b.ownerDocument||b;return E.defaultView||E.parentWindow||t}var St=/mobile|tablet|ip(ad|hone|od)|android/i,ue="ontouchstart"in t,Re=gt(t,"PointerEvent")!==r,Te=ue&&St.test(navigator.userAgent),Bt="touch",tt="pen",I="mouse",te="kinect",Nt=25,D=1,et=2,U=4,$=8,It=1,Kt=2,Rt=4,S=8,O=16,z=Kt|Rt,B=S|O,Z=z|B,j=["x","y"],rt=["clientX","clientY"];function H(b,E){var P=this;this.manager=b,this.callback=E,this.element=b.element,this.target=b.options.inputTarget,this.domHandler=function(L){m(b.options.enable,[b])&&P.handler(L)},this.init()}H.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(Et(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&M(this.element,this.evEl,this.domHandler),this.evTarget&&M(this.target,this.evTarget,this.domHandler),this.evWin&&M(Et(this.element),this.evWin,this.domHandler)}};function ot(b){var E,P=b.options.inputClass;return P?E=P:Re?E=Kl:Te?E=Ra:ue?E=Ql:E=Le,new E(b,q)}function q(b,E,P){var L=P.pointers.length,W=P.changedPointers.length,ft=E&D&&L-W===0,Lt=E&(U|$)&&L-W===0;P.isFirst=!!ft,P.isFinal=!!Lt,ft&&(b.session={}),P.eventType=E,Ct(b,P),b.emit("hammer.input",P),b.recognize(P),b.session.prevInput=P}function Ct(b,E){var P=b.session,L=E.pointers,W=L.length;P.firstInput||(P.firstInput=Ot(E)),W>1&&!P.firstMultiple?P.firstMultiple=Ot(E):W===1&&(P.firstMultiple=!1);var ft=P.firstInput,Lt=P.firstMultiple,ke=Lt?Lt.center:ft.center,Se=E.center=Ft(L);E.timeStamp=u(),E.deltaTime=E.timeStamp-ft.timeStamp,E.angle=me(ke,Se),E.distance=xe(ke,Se),it(P,E),E.offsetDirection=Gt(E.deltaX,E.deltaY);var ze=Qt(E.deltaTime,E.deltaX,E.deltaY);E.overallVelocityX=ze.x,E.overallVelocityY=ze.y,E.overallVelocity=c(ze.x)>c(ze.y)?ze.x:ze.y,E.scale=Lt?Fe(Lt.pointers,L):1,E.rotation=Lt?je(Lt.pointers,L):0,E.maxPointers=P.prevInput?E.pointers.length>P.prevInput.maxPointers?E.pointers.length:P.prevInput.maxPointers:E.pointers.length,bt(P,E);var ko=b.element;X(E.srcEvent.target,ko)&&(ko=E.srcEvent.target),E.target=ko}function it(b,E){var P=E.center,L=b.offsetDelta||{},W=b.prevDelta||{},ft=b.prevInput||{};(E.eventType===D||ft.eventType===U)&&(W=b.prevDelta={x:ft.deltaX||0,y:ft.deltaY||0},L=b.offsetDelta={x:P.x,y:P.y}),E.deltaX=W.x+(P.x-L.x),E.deltaY=W.y+(P.y-L.y)}function bt(b,E){var P=b.lastInterval||E,L=E.timeStamp-P.timeStamp,W,ft,Lt,ke;if(E.eventType!=$&&(L>Nt||P.velocity===r)){var Se=E.deltaX-P.deltaX,ze=E.deltaY-P.deltaY,ko=Qt(L,Se,ze);ft=ko.x,Lt=ko.y,W=c(ko.x)>c(ko.y)?ko.x:ko.y,ke=Gt(Se,ze),b.lastInterval=E}else W=P.velocity,ft=P.velocityX,Lt=P.velocityY,ke=P.direction;E.velocity=W,E.velocityX=ft,E.velocityY=Lt,E.direction=ke}function Ot(b){for(var E=[],P=0;P<b.pointers.length;)E[P]={clientX:i(b.pointers[P].clientX),clientY:i(b.pointers[P].clientY)},P++;return{timeStamp:u(),pointers:E,center:Ft(E),deltaX:b.deltaX,deltaY:b.deltaY}}function Ft(b){var E=b.length;if(E===1)return{x:i(b[0].clientX),y:i(b[0].clientY)};for(var P=0,L=0,W=0;W<E;)P+=b[W].clientX,L+=b[W].clientY,W++;return{x:i(P/E),y:i(L/E)}}function Qt(b,E,P){return{x:E/b||0,y:P/b||0}}function Gt(b,E){return b===E?It:c(b)>=c(E)?b<0?Kt:Rt:E<0?S:O}function xe(b,E,P){P||(P=j);var L=E[P[0]]-b[P[0]],W=E[P[1]]-b[P[1]];return Math.sqrt(L*L+W*W)}function me(b,E,P){P||(P=j);var L=E[P[0]]-b[P[0]],W=E[P[1]]-b[P[1]];return Math.atan2(W,L)*180/Math.PI}function je(b,E){return me(E[1],E[0],rt)+me(b[1],b[0],rt)}function Fe(b,E){return xe(E[0],E[1],rt)/xe(b[0],b[1],rt)}var En={mousedown:D,mousemove:et,mouseup:U},Oa="mousedown",Ee="mousemove mouseup";function Le(){this.evEl=Oa,this.evWin=Ee,this.pressed=!1,H.apply(this,arguments)}g(Le,H,{handler:function(E){var P=En[E.type];P&D&&E.button===0&&(this.pressed=!0),P&et&&E.which!==1&&(P=U),this.pressed&&(P&U&&(this.pressed=!1),this.callback(this.manager,P,{pointers:[E],changedPointers:[E],pointerType:I,srcEvent:E}))}});var Pa={pointerdown:D,pointermove:et,pointerup:U,pointercancel:$,pointerout:$},d3={2:Bt,3:tt,4:I,5:te},Uh="pointerdown",jh="pointermove pointerup pointercancel";t.MSPointerEvent&&!t.PointerEvent&&(Uh="MSPointerDown",jh="MSPointerMove MSPointerUp MSPointerCancel");function Kl(){this.evEl=Uh,this.evWin=jh,H.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}g(Kl,H,{handler:function(E){var P=this.store,L=!1,W=E.type.toLowerCase().replace("ms",""),ft=Pa[W],Lt=d3[E.pointerType]||E.pointerType,ke=Lt==Bt,Se=pt(P,E.pointerId,"pointerId");ft&D&&(E.button===0||ke)?Se<0&&(P.push(E),Se=P.length-1):ft&(U|$)&&(L=!0),!(Se<0)&&(P[Se]=E,this.callback(this.manager,ft,{pointers:P,changedPointers:[E],pointerType:Lt,srcEvent:E}),L&&P.splice(Se,1))}});var p3={touchstart:D,touchmove:et,touchend:U,touchcancel:$},h3="touchstart",m3="touchstart touchmove touchend touchcancel";function Hh(){this.evTarget=h3,this.evWin=m3,this.started=!1,H.apply(this,arguments)}g(Hh,H,{handler:function(E){var P=p3[E.type];if(P===D&&(this.started=!0),!!this.started){var L=g3.call(this,E,P);P&(U|$)&&L[0].length-L[1].length===0&&(this.started=!1),this.callback(this.manager,P,{pointers:L[0],changedPointers:L[1],pointerType:Bt,srcEvent:E})}}});function g3(b,E){var P=K(b.touches),L=K(b.changedTouches);return E&(U|$)&&(P=lt(P.concat(L),"identifier",!0)),[P,L]}var y3={touchstart:D,touchmove:et,touchend:U,touchcancel:$},v3="touchstart touchmove touchend touchcancel";function Ra(){this.evTarget=v3,this.targetIds={},H.apply(this,arguments)}g(Ra,H,{handler:function(E){var P=y3[E.type],L=b3.call(this,E,P);L&&this.callback(this.manager,P,{pointers:L[0],changedPointers:L[1],pointerType:Bt,srcEvent:E})}});function b3(b,E){var P=K(b.touches),L=this.targetIds;if(E&(D|et)&&P.length===1)return L[P[0].identifier]=!0,[P,P];var W,ft,Lt=K(b.changedTouches),ke=[],Se=this.target;if(ft=P.filter(function(ze){return X(ze.target,Se)}),E===D)for(W=0;W<ft.length;)L[ft[W].identifier]=!0,W++;for(W=0;W<Lt.length;)L[Lt[W].identifier]&&ke.push(Lt[W]),E&(U|$)&&delete L[Lt[W].identifier],W++;if(ke.length)return[lt(ft.concat(ke),"identifier",!0),ke]}var _3=2500,Wh=25;function Ql(){H.apply(this,arguments);var b=y(this.handler,this);this.touch=new Ra(this.manager,b),this.mouse=new Le(this.manager,b),this.primaryTouch=null,this.lastTouches=[]}g(Ql,H,{handler:function(E,P,L){var W=L.pointerType==Bt,ft=L.pointerType==I;if(!(ft&&L.sourceCapabilities&&L.sourceCapabilities.firesTouchEvents)){if(W)x3.call(this,P,L);else if(ft&&k3.call(this,L))return;this.callback(E,P,L)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});function x3(b,E){b&D?(this.primaryTouch=E.changedPointers[0].identifier,qh.call(this,E)):b&(U|$)&&qh.call(this,E)}function qh(b){var E=b.changedPointers[0];if(E.identifier===this.primaryTouch){var P={x:E.clientX,y:E.clientY};this.lastTouches.push(P);var L=this.lastTouches,W=function(){var ft=L.indexOf(P);ft>-1&&L.splice(ft,1)};setTimeout(W,_3)}}function k3(b){for(var E=b.srcEvent.clientX,P=b.srcEvent.clientY,L=0;L<this.lastTouches.length;L++){var W=this.lastTouches[L],ft=Math.abs(E-W.x),Lt=Math.abs(P-W.y);if(ft<=Wh&&Lt<=Wh)return!0}return!1}var Kh=gt(a.style,"touchAction"),Qh=Kh!==r,Jh="compute",tm="auto",Jl="manipulation",Sn="none",Xr="pan-x",Zr="pan-y",Ia=C3();function tc(b,E){this.manager=b,this.set(E)}tc.prototype={set:function(b){b==Jh&&(b=this.compute()),Qh&&this.manager.element.style&&Ia[b]&&(this.manager.element.style[Kh]=b),this.actions=b.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var b=[];return h(this.manager.recognizers,function(E){m(E.options.enable,[E])&&(b=b.concat(E.getTouchAction()))}),w3(b.join(" "))},preventDefaults:function(b){var E=b.srcEvent,P=b.offsetDirection;if(this.manager.session.prevented){E.preventDefault();return}var L=this.actions,W=G(L,Sn)&&!Ia[Sn],ft=G(L,Zr)&&!Ia[Zr],Lt=G(L,Xr)&&!Ia[Xr];if(W){var ke=b.pointers.length===1,Se=b.distance<2,ze=b.deltaTime<250;if(ke&&Se&&ze)return}if(!(Lt&&ft)&&(W||ft&&P&z||Lt&&P&B))return this.preventSrc(E)},preventSrc:function(b){this.manager.session.prevented=!0,b.preventDefault()}};function w3(b){if(G(b,Sn))return Sn;var E=G(b,Xr),P=G(b,Zr);return E&&P?Sn:E||P?E?Xr:Zr:G(b,Jl)?Jl:tm}function C3(){if(!Qh)return!1;var b={},E=t.CSS&&t.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(P){b[P]=E?t.CSS.supports("touch-action",P):!0}),b}var Aa=1,to=2,Wn=4,rn=8,Lo=rn,Gr=16,xo=32;function zo(b){this.options=w({},this.defaults,b||{}),this.id=Mt(),this.manager=null,this.options.enable=_(this.options.enable,!0),this.state=Aa,this.simultaneous={},this.requireFail=[]}zo.prototype={defaults:{},set:function(b){return w(this.options,b),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(b){if(d(b,"recognizeWith",this))return this;var E=this.simultaneous;return b=$a(b,this),E[b.id]||(E[b.id]=b,b.recognizeWith(this)),this},dropRecognizeWith:function(b){return d(b,"dropRecognizeWith",this)?this:(b=$a(b,this),delete this.simultaneous[b.id],this)},requireFailure:function(b){if(d(b,"requireFailure",this))return this;var E=this.requireFail;return b=$a(b,this),pt(E,b)===-1&&(E.push(b),b.requireFailure(this)),this},dropRequireFailure:function(b){if(d(b,"dropRequireFailure",this))return this;b=$a(b,this);var E=pt(this.requireFail,b);return E>-1&&this.requireFail.splice(E,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(b){return!!this.simultaneous[b.id]},emit:function(b){var E=this,P=this.state;function L(W){E.manager.emit(W,b)}P<rn&&L(E.options.event+em(P)),L(E.options.event),b.additionalEvent&&L(b.additionalEvent),P>=rn&&L(E.options.event+em(P))},tryEmit:function(b){if(this.canEmit())return this.emit(b);this.state=xo},canEmit:function(){for(var b=0;b<this.requireFail.length;){if(!(this.requireFail[b].state&(xo|Aa)))return!1;b++}return!0},recognize:function(b){var E=w({},b);if(!m(this.options.enable,[this,E])){this.reset(),this.state=xo;return}this.state&(Lo|Gr|xo)&&(this.state=Aa),this.state=this.process(E),this.state&(to|Wn|rn|Gr)&&this.tryEmit(E)},process:function(b){},getTouchAction:function(){},reset:function(){}};function em(b){return b&Gr?"cancel":b&rn?"end":b&Wn?"move":b&to?"start":""}function om(b){return b==O?"down":b==S?"up":b==Kt?"left":b==Rt?"right":""}function $a(b,E){var P=E.manager;return P?P.get(b):b}function lo(){zo.apply(this,arguments)}g(lo,zo,{defaults:{pointers:1},attrTest:function(b){var E=this.options.pointers;return E===0||b.pointers.length===E},process:function(b){var E=this.state,P=b.eventType,L=E&(to|Wn),W=this.attrTest(b);return L&&(P&$||!W)?E|Gr:L||W?P&U?E|rn:E&to?E|Wn:to:xo}});function Na(){lo.apply(this,arguments),this.pX=null,this.pY=null}g(Na,lo,{defaults:{event:"pan",threshold:10,pointers:1,direction:Z},getTouchAction:function(){var b=this.options.direction,E=[];return b&z&&E.push(Zr),b&B&&E.push(Xr),E},directionTest:function(b){var E=this.options,P=!0,L=b.distance,W=b.direction,ft=b.deltaX,Lt=b.deltaY;return W&E.direction||(E.direction&z?(W=ft===0?It:ft<0?Kt:Rt,P=ft!=this.pX,L=Math.abs(b.deltaX)):(W=Lt===0?It:Lt<0?S:O,P=Lt!=this.pY,L=Math.abs(b.deltaY))),b.direction=W,P&&L>E.threshold&&W&E.direction},attrTest:function(b){return lo.prototype.attrTest.call(this,b)&&(this.state&to||!(this.state&to)&&this.directionTest(b))},emit:function(b){this.pX=b.deltaX,this.pY=b.deltaY;var E=om(b.direction);E&&(b.additionalEvent=this.options.event+E),this._super.emit.call(this,b)}});function ec(){lo.apply(this,arguments)}g(ec,lo,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Sn]},attrTest:function(b){return this._super.attrTest.call(this,b)&&(Math.abs(b.scale-1)>this.options.threshold||this.state&to)},emit:function(b){if(b.scale!==1){var E=b.scale<1?"in":"out";b.additionalEvent=this.options.event+E}this._super.emit.call(this,b)}});function oc(){zo.apply(this,arguments),this._timer=null,this._input=null}g(oc,zo,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[tm]},process:function(b){var E=this.options,P=b.pointers.length===E.pointers,L=b.distance<E.threshold,W=b.deltaTime>E.time;if(this._input=b,!L||!P||b.eventType&(U|$)&&!W)this.reset();else if(b.eventType&D)this.reset(),this._timer=f(function(){this.state=Lo,this.tryEmit()},E.time,this);else if(b.eventType&U)return Lo;return xo},reset:function(){clearTimeout(this._timer)},emit:function(b){this.state===Lo&&(b&&b.eventType&U?this.manager.emit(this.options.event+"up",b):(this._input.timeStamp=u(),this.manager.emit(this.options.event,this._input)))}});function nc(){lo.apply(this,arguments)}g(nc,lo,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Sn]},attrTest:function(b){return this._super.attrTest.call(this,b)&&(Math.abs(b.rotation)>this.options.threshold||this.state&to)}});function rc(){lo.apply(this,arguments)}g(rc,lo,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:z|B,pointers:1},getTouchAction:function(){return Na.prototype.getTouchAction.call(this)},attrTest:function(b){var E=this.options.direction,P;return E&(z|B)?P=b.overallVelocity:E&z?P=b.overallVelocityX:E&B&&(P=b.overallVelocityY),this._super.attrTest.call(this,b)&&E&b.offsetDirection&&b.distance>this.options.threshold&&b.maxPointers==this.options.pointers&&c(P)>this.options.velocity&&b.eventType&U},emit:function(b){var E=om(b.offsetDirection);E&&this.manager.emit(this.options.event+E,b),this.manager.emit(this.options.event,b)}});function Da(){zo.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}g(Da,zo,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Jl]},process:function(b){var E=this.options,P=b.pointers.length===E.pointers,L=b.distance<E.threshold,W=b.deltaTime<E.time;if(this.reset(),b.eventType&D&&this.count===0)return this.failTimeout();if(L&&W&&P){if(b.eventType!=U)return this.failTimeout();var ft=this.pTime?b.timeStamp-this.pTime<E.interval:!0,Lt=!this.pCenter||xe(this.pCenter,b.center)<E.posThreshold;this.pTime=b.timeStamp,this.pCenter=b.center,!Lt||!ft?this.count=1:this.count+=1,this._input=b;var ke=this.count%E.taps;if(ke===0)return this.hasRequireFailures()?(this._timer=f(function(){this.state=Lo,this.tryEmit()},E.interval,this),to):Lo}return xo},failTimeout:function(){return this._timer=f(function(){this.state=xo},this.options.interval,this),xo},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==Lo&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}});function Mo(b,E){return E=E||{},E.recognizers=_(E.recognizers,Mo.defaults.preset),new sc(b,E)}Mo.VERSION="2.0.7",Mo.defaults={domEvents:!1,touchAction:Jh,enable:!0,inputTarget:null,inputClass:null,preset:[[nc,{enable:!1}],[ec,{enable:!1},["rotate"]],[rc,{direction:z}],[Na,{direction:z},["swipe"]],[Da],[Da,{event:"doubletap",taps:2},["tap"]],[oc]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var T3=1,nm=2;function sc(b,E){this.options=w({},Mo.defaults,E||{}),this.options.inputTarget=this.options.inputTarget||b,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=b,this.input=ot(this),this.touchAction=new tc(this,this.options.touchAction),rm(this,!0),h(this.options.recognizers,function(P){var L=this.add(new P[0](P[1]));P[2]&&L.recognizeWith(P[2]),P[3]&&L.requireFailure(P[3])},this)}sc.prototype={set:function(b){return w(this.options,b),b.touchAction&&this.touchAction.update(),b.inputTarget&&(this.input.destroy(),this.input.target=b.inputTarget,this.input.init()),this},stop:function(b){this.session.stopped=b?nm:T3},recognize:function(b){var E=this.session;if(!E.stopped){this.touchAction.preventDefaults(b);var P,L=this.recognizers,W=E.curRecognizer;(!W||W&&W.state&Lo)&&(W=E.curRecognizer=null);for(var ft=0;ft<L.length;)P=L[ft],E.stopped!==nm&&(!W||P==W||P.canRecognizeWith(W))?P.recognize(b):P.reset(),!W&&P.state&(to|Wn|rn)&&(W=E.curRecognizer=P),ft++}},get:function(b){if(b instanceof zo)return b;for(var E=this.recognizers,P=0;P<E.length;P++)if(E[P].options.event==b)return E[P];return null},add:function(b){if(d(b,"add",this))return this;var E=this.get(b.options.event);return E&&this.remove(E),this.recognizers.push(b),b.manager=this,this.touchAction.update(),b},remove:function(b){if(d(b,"remove",this))return this;if(b=this.get(b),b){var E=this.recognizers,P=pt(E,b);P!==-1&&(E.splice(P,1),this.touchAction.update())}return this},on:function(b,E){if(b!==r&&E!==r){var P=this.handlers;return h(V(b),function(L){P[L]=P[L]||[],P[L].push(E)}),this}},off:function(b,E){if(b!==r){var P=this.handlers;return h(V(b),function(L){E?P[L]&&P[L].splice(pt(P[L],E),1):delete P[L]}),this}},emit:function(b,E){this.options.domEvents&&E3(b,E);var P=this.handlers[b]&&this.handlers[b].slice();if(!(!P||!P.length)){E.type=b,E.preventDefault=function(){E.srcEvent.preventDefault()};for(var L=0;L<P.length;)P[L](E),L++}},destroy:function(){this.element&&rm(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}};function rm(b,E){var P=b.element;if(P.style){var L;h(b.options.cssProps,function(W,ft){L=gt(P.style,ft),E?(b.oldCssProps[L]=P.style[L],P.style[L]=W):P.style[L]=b.oldCssProps[L]||""}),E||(b.oldCssProps={})}}function E3(b,E){var P=o.createEvent("Event");P.initEvent(b,!0,!0),P.gesture=E,E.target.dispatchEvent(P)}w(Mo,{INPUT_START:D,INPUT_MOVE:et,INPUT_END:U,INPUT_CANCEL:$,STATE_POSSIBLE:Aa,STATE_BEGAN:to,STATE_CHANGED:Wn,STATE_ENDED:rn,STATE_RECOGNIZED:Lo,STATE_CANCELLED:Gr,STATE_FAILED:xo,DIRECTION_NONE:It,DIRECTION_LEFT:Kt,DIRECTION_RIGHT:Rt,DIRECTION_UP:S,DIRECTION_DOWN:O,DIRECTION_HORIZONTAL:z,DIRECTION_VERTICAL:B,DIRECTION_ALL:Z,Manager:sc,Input:H,TouchAction:tc,TouchInput:Ra,MouseInput:Le,PointerEventInput:Kl,TouchMouseInput:Ql,SingleTouchInput:Hh,Recognizer:zo,AttrRecognizer:lo,Tap:Da,Pan:Na,Swipe:rc,Pinch:ec,Rotate:nc,Press:oc,on:C,off:M,each:h,merge:v,extend:x,assign:w,inherit:g,bindFn:y,prefixed:gt});var S3=typeof t<"u"?t:typeof self<"u"?self:{};S3.Hammer=Mo,typeof r=="function"&&r.amd?r(function(){return Mo}):e.exports?e.exports=Mo:t[n]=Mo})(window,document,"Hammer")})(ad);var Iv=ad.exports;const Av=Xy(Iv);function Ws(){const e=document.documentElement;return{clientWidth:e.clientWidth,clientHeight:e.clientHeight,clientTop:e.clientTop,clientLeft:e.clientLeft,scrollWidth:e.scrollWidth,scrollHeight:e.scrollHeight,scrollTop:e.scrollTop,scrollLeft:e.scrollLeft,offsetWidth:e.offsetWidth,offsetHeight:e.offsetHeight,offsetTop:e.offsetTop,offsetLeft:e.offsetLeft,offsetParent:e.offsetParent}}function Ir(){return typeof window.innerWidth=="number"?{width:window.innerWidth,height:window.innerHeight}:document.compatMode==="CSS1Compat"?{width:document.documentElement.clientWidth,height:document.documentElement.clientHeight}:{width:document.body.clientWidth,height:document.body.clientHeight}}function id(e){const{top:t,left:o,width:n,height:r}=e.getBoundingClientRect(),{scrollLeft:s,scrollTop:a}=Ws();return{x:o+s,y:t+a,width:n,height:r}}function $v(){const{clientHeight:e,scrollTop:t,scrollHeight:o}=Ws(),n=o-e;return n<=0?0:t/n*100}function ld(e){if("center"in e)return e.center;if(typeof e.pageX=="number"&&typeof e.pageY=="number")return{x:e.pageX,y:e.pageY};const{scrollLeft:t,scrollTop:o}=Ws();return{x:e.clientX+t,y:e.clientY+o}}function vo(e,t){const o={x:0,y:0};if(t){const n=ld(e),r=id(t);o.x=n.x-r.x,o.y=n.y-r.y}else{let n=0,r=0;if("currentTarget"in e&&e.currentTarget&&e.target&&e.currentTarget!=e.target){const s=e.currentTarget.getBoundingClientRect(),a=e.target.getBoundingClientRect();n=a.left-s.left,r=a.top-s.top}if("offsetX"in e)o.x=e.offsetX+n,o.y=e.offsetY+r;else{const s=ld(e),a=id(e.target);o.x=s.x-a.x+n,o.y=s.y-a.y+r}}return o}class Cn extends $s{container;width;height;mousePoint={x:0,y:0,dx:0,dy:0,dStartX:0,dStartY:0};hammer;removes=[];constructor(t=document.documentElement,o=!0,n){super(),this.container=t,this.width=t.offsetWidth,this.height=t.offsetHeight,this.hammer=new Av(this.container),o&&this.start(n)}emitDebounce=zy((t,...o)=>super.emit(t,...o),50);emit(t,...o){switch(t){case"panLeft":case"panRight":this.emitDebounce(t,...o);break;default:super.emit(t,...o);break}return this}start(t){this.registerMouseEventListeners(),this.registerTransitionEventListeners(),this.registerAnimationEventListeners(),this.registerResizeObserver(),t&&t.forEach(o=>{this.addRemoves(o())}),this.on("pointerMove",o=>{this.setMousePoint(vo(o,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=$=>{this.emit("mouseDown",$)},o=$=>{this.emit("mouseUp",$)},n=$=>{this.emit("mouseMove",$)},r=$=>{this.emit("mouseOver",$)},s=$=>{this.emit("mouseOut",$)},a=$=>{this.emit("mouseEnter",$)},l=$=>{this.emit("mouseLeave",$)},i=$=>{this.emit("mouseClick",$)},c=$=>{this.emit("mouseDoubleClick",$)},u=$=>{this.emit("mouseWheel",$)},f=$=>{this.emit("mouseContextMenu",$)},d=$=>{this.emit("touchStart",$)},h=$=>{this.emit("touchEnd",$)},p=$=>{this.emit("touchCancel",$)},w=$=>{this.emit("touchMove",$)},x=$=>{this.emit("pointerDown",$)},v=$=>{this.emit("pointerUp",$)},g=$=>{this.emit("pointerCancel",$)},y=$=>{this.emit("pointerMove",$)},m=$=>{this.emit("pan",$)},_=$=>{this.emit("panStart",$)},C=$=>{this.emit("panMove",$)},M=$=>{this.emit("panEnd",$)},X=$=>{this.emit("panCancel",$)},G=$=>{this.emit("panLeft",$)},V=$=>{this.emit("panRight",$)},pt=$=>{this.emit("panUp",$)},K=$=>{this.emit("panDown",$)},lt=$=>{this.emit("pinch",$)},gt=$=>{this.emit("press",$)},wt=$=>{this.emit("rotate",$)},Mt=$=>{this.emit("swipe",$)},Et=$=>{this.emit("swipeLeft",$)},St=$=>{this.emit("swipeRight",$)},ue=$=>{this.emit("swipeUp",$)},Re=$=>{this.emit("swipeDown",$)},Te=$=>{this.emit("tap",$)},Bt=$=>{!$.target||this.container==$.target||this.container.contains($.target)||this.emit("tapOutSide",$)},tt=$=>{this.emit("inputChange",$,this.container.files)},I=$=>{this.emit("dragstart",$)},te=$=>{$.dataTransfer&&($.dataTransfer.dropEffect="copy"),this.emit("dragover",$)},Nt=$=>{this.emit("dragenter",$)},D=$=>{this.emit("dragend",$)},et=$=>{$.dataTransfer,this.emit("drop",$,$.dataTransfer?.files||null)};this.container.addEventListener("mousedown",t,!1),this.container.addEventListener("mouseup",o,!1),this.container.addEventListener("mousemove",n,!1),this.container.addEventListener("mouseover",r,!1),this.container.addEventListener("mouseout",s,!1),this.container.addEventListener("mouseenter",a,!1),this.container.addEventListener("mouseleave",l,!1),this.container.addEventListener("click",i,!1),this.container.addEventListener("dblclick",c,!1),this.container.addEventListener("wheel",u,!1),this.container.addEventListener("contextmenu",f,!1),this.container.addEventListener("touchstart",d,!1),this.container.addEventListener("touchend",h,!1),this.container.addEventListener("touchcancel",p,!1),this.container.addEventListener("touchmove",w,!1),this.container.addEventListener("pointerdown",x,!1),this.container.addEventListener("pointerup",v,!1),this.container.addEventListener("pointercancel",g,!1),this.container.addEventListener("pointermove",y,!1),this.hammer.on("pan",m),this.hammer.on("panstart",_),this.hammer.on("panmove",C),this.hammer.on("panend",M),this.hammer.on("pancancel",X),this.hammer.on("panleft",G),this.hammer.on("panright",V),this.hammer.on("panup",pt),this.hammer.on("pandown",K),this.hammer.on("pinch",lt),this.hammer.on("press",gt),this.hammer.on("rotate",wt),this.hammer.on("swipe",Mt),this.hammer.on("swipeleft",Et),this.hammer.on("swiperight",St),this.hammer.on("swipeup",ue),this.hammer.on("swipedown",Re),this.hammer.on("tap",Te),document.addEventListener("pointerdown",Bt,!1),this.container instanceof HTMLInputElement&&this.container.addEventListener("change",tt,!1),this.container.addEventListener("dragstart",I,!1),this.container.addEventListener("dragover",te,!1),this.container.addEventListener("dragenter",Nt,!1),this.container.addEventListener("dragend",D,!1),this.container.addEventListener("drop",et,!1);const U=()=>{this.container.removeEventListener("mousedown",t,!1),this.container.removeEventListener("mouseup",o,!1),this.container.removeEventListener("mousemove",n,!1),this.container.removeEventListener("mouseover",r,!1),this.container.removeEventListener("mouseout",s,!1),this.container.removeEventListener("mouseenter",a,!1),this.container.removeEventListener("mouseleave",l,!1),this.container.removeEventListener("click",i,!1),this.container.removeEventListener("dblclick",c,!1),this.container.removeEventListener("wheel",u,!1),this.container.removeEventListener("contextmenu",f,!1),this.container.removeEventListener("touchstart",d,!1),this.container.removeEventListener("touchend",h,!1),this.container.removeEventListener("touchcancel",p,!1),this.container.removeEventListener("touchmove",w,!1),this.container.removeEventListener("pointerdown",x,!1),this.container.removeEventListener("pointerup",v,!1),this.container.removeEventListener("pointercancel",g),this.container.removeEventListener("pointermove",y,!1),this.hammer.off("pan",m),this.hammer.off("panstart",_),this.hammer.off("panmove",C),this.hammer.off("panend",M),this.hammer.off("pancancel",X),this.hammer.off("panleft",G),this.hammer.off("panright",V),this.hammer.off("panup",pt),this.hammer.off("pandown",K),this.hammer.off("pinch",lt),this.hammer.off("press",gt),this.hammer.off("rotate",wt),this.hammer.off("swipe",Mt),this.hammer.off("swipeleft",Et),this.hammer.off("swiperight",St),this.hammer.off("swipeup",ue),this.hammer.off("swipedown",Re),this.hammer.off("tap",Te),document.removeEventListener("pointerdown",Bt,!1),document.removeEventListener("touchstart",Bt,!1),document.removeEventListener("mousedown",Bt,!1),this.container instanceof HTMLInputElement&&this.container.removeEventListener("change",tt,!1),this.container.removeEventListener("dragstart",I,!1),this.container.removeEventListener("dragover",te,!1),this.container.removeEventListener("dragenter",Nt,!1),this.container.removeEventListener("dragend",D,!1),this.container.removeEventListener("drop",et,!1)};return this.addRemoves(U),U}registerTransitionEventListeners(){const t=r=>{this.emit("transitionstart",r)},o=r=>{this.emit("transitionend",r)};this.container.addEventListener("transitionstart",t,!1),this.container.addEventListener("transitionend",o,!1);const n=()=>{this.container.removeEventListener("transitionstart",t,!1),this.container.removeEventListener("transitionend",o,!1)};return this.addRemoves(n),n}registerAnimationEventListeners(){const t=r=>{this.emit("animationstart",r)},o=r=>{this.emit("animationend",r)};this.container.addEventListener("animationstart",t,!1),this.container.addEventListener("animationend",o,!1);const n=()=>{this.container.removeEventListener("animationstart",t,!1),this.container.removeEventListener("animationend",o,!1)};return this.addRemoves(n),n}registerResizeObserver(){const{on:t,destroy:o}=Tv(this.container),n=t((s,a)=>{this.width=s,this.height=a,this.emit("resize",s,a)}),r=()=>{n(),o()};return this.addRemoves(r),r}registerPullDownRefresh(t){const o=t?.distance||50;return this.captureDrag({move:(n,r)=>{r.dStartY>0&&r.dStartY<o&&this.emit("pullDowning",r.dStartY)},end:(n,r)=>{r.dStartY>=o&&this.emit("pullDown")}})}registerPullUpLoading(t){const o=t?.distance||50;return this.captureDrag({move:(n,r)=>{r.dStartY>0&&r.dStartY<o&&this.emit("pullUping",r.dStartY)},end:(n,r)=>{r.dStartY>=o&&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 o,n;const r=i=>{i.preventDefault(),i.stopPropagation(),this.on("pointerMove",a),this.on("pointerUp",s),this.on("pointerCancel",s),n=vo(i,this.container);const c={...n};o=c,this.setMousePoint(c),t?.start?.(i,c)},s=i=>{i.preventDefault(),i.stopPropagation(),this.off("pointerMove",a),this.off("pointerUp",s),this.off("pointerCancel",s),n=vo(i,this.container);const c={...n,dStartX:o?n.x-o.x:0,dStartY:o?n.y-o.y:0};this.setMousePoint(c),t?.end?.(i,c),o=null},a=i=>{i.preventDefault(),i.stopPropagation();const c={...n};n=vo(i,this.container);const u={...n,dx:n.x-(c.x||0),dy:n.y-(c.y||0),dStartX:o?n.x-o.x:0,dStartY:o?n.y-o.y:0};this.setMousePoint(u),t?.move?.(i,u)};this.on("pointerDown",r);const l=()=>{this.off("pointerDown",r)};return this.addRemoves(l),l}captureDragUseMouse(t){let o,n;const r=i=>{i.preventDefault(),i.stopPropagation(),document.addEventListener("mousemove",a,!1),document.addEventListener("mouseup",s,!1),n=vo(i,this.container);const c={...n};o=c,this.setMousePoint(c),t?.start?.(i,c)},s=i=>{i.preventDefault(),i.stopPropagation(),document.removeEventListener("mousemove",a,!1),document.removeEventListener("mouseup",s,!1),n=vo(i,this.container);const c={...n,dStartX:o?n.x-o.x:0,dStartY:o?n.y-o.y:0};this.setMousePoint(c),t?.end?.(i,c),o=null},a=i=>{i.preventDefault(),i.stopPropagation();const c={...n};n=vo(i,this.container);const u={...n,dx:n.x-(c.x||0),dy:n.y-(c.y||0),dStartX:o?n.x-o.x:0,dStartY:o?n.y-o.y:0};this.setMousePoint(u),t?.move?.(i,u)};this.on("mouseDown",r);const l=()=>{this.off("mouseDown",r)};return this.addRemoves(l),l}captureDragUseTouch(t){let o,n;const r=i=>{i.preventDefault(),i.stopPropagation(),this.on("touchMove",a),this.on("touchEnd",s),this.on("touchCancel",s);const c=i.changedTouches[0];n=vo(c,this.container);const u={...n};o=u,this.setMousePoint(u),t?.start?.(c,u)},s=i=>{i.preventDefault(),i.stopPropagation(),this.off("touchMove",a),this.off("touchEnd",s),this.off("touchCancel",s);const c=i.changedTouches[0];n=vo(c,this.container);const u={...n,dStartX:o?n.x-o.x:0,dStartY:o?n.y-o.y:0};this.setMousePoint(u),t?.end?.(c,u),o=null},a=i=>{i.preventDefault(),i.stopPropagation();const c=i.changedTouches[0],u={...n};n=vo(c,this.container);const f={...n,dx:n.x-(u.x||0),dy:n.y-(u.y||0),dStartX:o?n.x-o.x:0,dStartY:o?n.y-o.y:0};this.setMousePoint(f),t?.move?.(c,f)};this.on("touchStart",r);const l=()=>{this.off("touchStart",r)};return this.addRemoves(l),l}}class al{video;constructor(t){this.video=t}setSrcObject(t){this.video.addEventListener("loadedmetadata",o=>{o.target}),this.video.srcObject=t}captureWebCamera(){navigator.mediaDevices.getUserMedia({video:!0}).then(t=>{this.setSrcObject(t)})}static async videoMediaChangeSupport(){return new Promise(t=>{const o=document.createElement("iframe"),n=document.createElement("video"),r=document.createElement("source"),s=new MediaSource;s.addEventListener("sourceopen",()=>t(!0)),r.src=URL.createObjectURL(s),r.media="(min-width:10px)",n.append(r),o.width="5",o.style.cssText="position: absolute; visibility: hidden;",document.documentElement.append(o),o.contentDocument?.body.append(n),setTimeout(()=>{o.width="15"}),setTimeout(()=>{o.remove(),t(!1)},1e3)})}static tryAutoPlayOrAutoPlayAfterClick(t){return new Promise(o=>{t.play().then(()=>{t.autoplay=!0,o(!0)}).catch(()=>{al.setAutoPlayWhenClick(t),o(!1)})})}static setAutoPlayWhenClick(t){function o(){t.autoplay=!0,t.play(),document.removeEventListener("click",o),document.removeEventListener("touchend",o)}document.addEventListener("click",o),document.addEventListener("touchend",o)}}class Nv extends Rr{extendDegree;radius;startDegree;endDegree;diffDegree;constructor(t){super(t),this.extendDegree=t?.extendDegree||0,this.x=(t.x||0)+t.width/2;const o=Math.min(t.width/2,t.height)-t.lineWidth;this.radius=o-o*Math.abs(Math.sin(ae(this.extendDegree))),this.y=(t.y||0)+t.height-t.lineWidth-this.radius*Math.abs(Math.sin(ae(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:o}=Bs(ae(this.startDegree),this.radius),{dx:n,dy:r}=Bs(ae(this.endDegree),this.radius);return[["m",t,o],["a",this.radius,this.radius,0,Math.abs(this.endDegree-this.startDegree)>=180?1:0,1,n-t,r-o]]}toCanvasContext(t){t.beginPath(),t.arc(0,0,this.radius,ae(this.startDegree),ae(this.endDegree),!1)}}const cd=Nv;let Dv=class extends Sv{percent=0;ringBg;ring;lines=[];bgColor;startColor;endColor;indicatorLineCount;constructor(t){super(t);const o=t?.startDegree||0,n=t?.endDegree||180,r=t?.extendDegree||15,s=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,l=2,i=17;this.ringBg=new cd({...t,x:t?.x,y:t?.y,width:t.width,height:t.height,startDegree:o,endDegree:n,extendDegree:r,lineWidth:s,color:this.bgColor}),this.addShape(this.ringBg),this.ring=new cd({...t,x:t?.x,y:t?.y,width:t.width,height:t.height,startDegree:o,endDegree:n,extendDegree:r,lineWidth:s}),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 Rv({...t,centerX:this.ringBg.x,centerY:this.ringBg.y,x:this.ringBg.x,y:c,toX:this.ringBg.x,toY:c+i,degree:this.ringBg.startDegree+90+(n-o+r*2)/(this.indicatorLineCount-1)*u,attrs:{"stroke-linecap":"round","stroke-width":String(l),stroke:this.bgColor}}));this.addShape(this.lines)}setPercent(t){this.percent=t}shapeInit(){this.on("draging",(t,o,n)=>{this.shapes.forEach(r=>{r!=n&&(r.x+=t,r.y+=o)})})}frameUpdate(t,o){const n=this.ringBg.radius-this.ringBg.radius*Math.cos(Math.PI*this.percent),r=this.ringBg.radius*Math.sin(Math.PI*this.percent);if(o){const s=o.createLinearGradient(-this.ringBg.radius,0,-this.ringBg.radius+n,-r,{0:this.startColor,1:this.endColor});this.ring.setAttr({stroke:s})}else this.ring.setAttr({stroke:this.startColor});this.ring.setPercent(this.percent);for(let s=0;s<this.indicatorLineCount;s++){const a=s/(this.indicatorLineCount-1)<=this.percent;this.lines[s].setAttr({stroke:a&&o?o.createLinearGradient(0,0,this.lines[s].toX-this.lines[s].x,this.lines[s].toY-this.lines[s].y,{0:this.startColor,1:this.endColor}):a?this.startColor:this.bgColor})}}};function Fv(e){return window.URL.createObjectURL(e)}const ud=new Xi;async function fd(e,t=6e4){const o=typeof e=="string"?e:Fv(e);return new Promise((n,r)=>{const s=ud.get(o);if(s)return n(s);const a=document.createElement("img");a.onload=i=>{clearTimeout(l);const c=a.naturalWidth||a.width,u=a.naturalHeight||a.height,f={width:c,height:u,aspectRatio:c/u,element:a,imageData:Ev(a)};ud.set(o,f),n(f),a.onerror=a.onload=null},a.onerror=i=>{clearTimeout(l),r(i)},a.src=o;const l=setTimeout(()=>{r("Timeout!")},t)})}async function Lv(e,t=6e4){return new Promise((o,n)=>{const r=document.createElement("script");r.type="text/javascript",r.async=!1,r.onload=a=>{clearTimeout(s),o(a),r.onerror=r.onload=null},r.onerror=a=>{clearTimeout(s),n(a)},r.src=e;const s=setTimeout(()=>{n("Timeout!")},t);document.body.appendChild(r)})}async function zv(e,t=document.getElementsByTagName("head")[0],o=6e4){return new Promise((n,r)=>{const s=document.createElement("link");s.setAttribute("type","text/css"),s.setAttribute("rel","stylesheet"),s.onload=l=>{clearTimeout(a),n(l),s.onerror=s.onload=null},s.onerror=l=>{clearTimeout(a),r(l)},s.setAttribute("href",e);const a=setTimeout(()=>{r("Timeout!")},o);t.appendChild(s)})}function dd(e,t){const o=document.createElement("a");o.style.visibility="hidden",o.download=t,typeof e=="string"?o.href=e:o.href=window.URL.createObjectURL(e),o.click()}function qs(e,t){return new RegExp("(?:^|\\s+)"+t+"(?:\\s+|$)").test(e.className)||!1}function Ks(e){return{el:e,isRoot:()=>/(html|body)/i.test(e.tagName)||e===document.documentElement,isActive:()=>e===document.activeElement&&(e.type||e.href),getRemSize:function(){return parseFloat(getComputedStyle(document.documentElement).fontSize)},rem2px:function(t){return t*this.getRemSize()},getEmSize:function(){return e.parentElement?parseFloat(getComputedStyle(e.parentElement).fontSize):this.getRemSize()},nearestElement:()=>{let t=e;for(;t&&t.nodeType!==1&&t.parentElement;)t=t.parentElement;return t},parent:()=>e.parentElement,parents:function(t=e,o=[]){return!t||t.parentElement===null?o:this.parents(t.parentElement,o.concat([t]))},scrollParent:function(){const t=this.parents();for(let o=0,n=t.length;o<n;o++)if(/(auto|scroll)/.test(ol(t[o],"overflow")+ol(t[o],"overflow-y")+ol(t[o],"overflow-x")))return t[o];return document.scrollingElement||document.documentElement},contains:t=>e.contains?e!=t&&e.contains(t):!!(e.compareDocumentPosition(t)&16),siblings:()=>Array.prototype.slice.call(e.parentElement?.children).filter(t=>t!==e),nextElementSibling:()=>e.nextElementSibling,previousElementSibling:()=>e.previousElementSibling,closest:t=>e.closest(t),shadowRoot:()=>e.shadowRoot,isInput:()=>e.tagName==="INPUT"||e instanceof HTMLInputElement,isSelect:()=>e.tagName==="SELECT"||e instanceof HTMLSelectElement,isTextArea:()=>e.tagName==="TEXTAREA"||e instanceof HTMLTextAreaElement,isInputCheckbox:function(){return this.isInput(e)&&e.getAttribute("type")==="checkbox"},isInputRadio:function(){return this.isInput(e)&&e.getAttribute("type")==="radio"},isInputText:function(){return this.isInput(e)&&e.getAttribute("type")==="text"},isInputNumber:function(){return this.isInput(e)&&e.getAttribute("type")==="number"},changeSelected:function(t){if(this.isSelect()){const o=e.options;for(let n=0,r=o.length;n<r;n++)o[n].selected=o[n].value==t}},changeRadioChecked:function(t){if(this.isInputRadio()){const o=document.getElementsByName(e.name);for(let n=0,r=o.length;n<r;n++){const s=o[n];s.checked=s.value==t}}},changeCheckboxChecked:function(t){this.isInputCheckbox()&&(e.checked=t)},insert:(t,o="append")=>{typeof t=="string"?e[o](Mv(t)):e[o](t)},html:function(t){if(typeof t=="string"){e.innerHTML=t;const o=pd(e);o!=e&&(e=o)}else this.insert(t,"replaceWith")},empty:function(){this.html("")},text:t=>{e.textContent=t},getInnerText:()=>{if(e instanceof SVGElement)return"";let t=e.innerText;if(!t){const o=e.querySelector("slot")?.assignedNodes()||[];let n=0;for(;!t&&n<=o.length-1;)"innerText"in o[n]&&(t=o[n].innerText),n++}return t},remove:()=>e.remove()}}function Mv(e){const t=document.createElement("template");return t.innerHTML=e,t.content.childNodes.forEach(o=>{const n=pd(o);n!=o&&t.content.replaceChild(n,o)}),t.content}function pd(e){return e.tagName=="SCRIPT"&&(e=hd(e)),e.querySelectorAll&&e.querySelectorAll("script").forEach(t=>{t.parentNode?.replaceChild(hd(t),t)}),e}function hd(e){const t=e.ownerDocument.createElement("script");t.text=e.text;const o=e.attributes;for(let n=0,r=o.length;n<r;n++)t.setAttribute(o[n].name,o[n].value);return t}async function il(e){if(navigator.clipboard)return await navigator.clipboard.writeText(e);{const t=document.createElement("textarea");return t.value=e,t.style.opacity="0",t.style.position="fixed",t.style.top="0",t.style.left="0",t.focus(),t.select(),document.execCommand("copy")}}function Bv(e,t={},o=[],n){return{tag:e,props:t,children:o,el:n}}function ll(e){return Bv(e.tagName,td(e),Array.from(e.children).map(t=>ll(t)),e)}function Qs(e,t=document.documentElement){if(e.el)return e.el;if(e.el=document.createElement(e.tag),e.props)for(const o in e.props){const n=e.props[o];o.startsWith("on")?e.el.addEventListener(o.slice(2).toLowerCase(),n):o==="style"?nl(e.el,e.props[o]):ed(e.el,o,n)}return e.children&&(typeof e.children=="string"?e.el.appendChild(document.createTextNode(e.children)):e.children.forEach(o=>{Qs(o,e.el)})),t.appendChild(e.el),e.el}function md(e,t){if(!e.el)return;if(e.tag!==t.tag){(e.el.parentElement||document.body).replaceChild(Qs(t),e.el);return}const o=t.el=e.el,n=e.props,r=t.props;for(const l in n)l in r||(l.startsWith("on")?o.removeEventListener(l.slice(2).toLowerCase(),n[l]):o.removeAttribute(l));for(const l in r){const i=n[l],c=r[l];if(c!=i)if(l.startsWith("on")){const u=l.slice(2).toLowerCase();o.removeEventListener(u,i),o.addEventListener(u,c)}else if(l==="style"){for(const u in i)u in c||Jf(o,u);nl(o,c)}else ed(o,l,c)}const s=e.children||[],a=t.children||[];if(typeof a=="string")o.innerHTML=a;else if(typeof s=="string")o.innerHTML="",a.forEach(l=>{Qs(l,o)});else{const l=Math.min(s.length,a.length);for(let i=0;i<l;i++)md(s[i],a[i]);a.length>s.length&&a.slice(s.length).forEach(i=>{Qs(i,o)}),a.length<s.length&&s.slice(a.length).forEach(i=>{i.el&&o.removeChild(i.el)})}}function gd(e){const t=document.documentElement,o=window.top===window.self?window.devicePixelRatio:1;t.dataset.dpr=o;let n=100;const r=function(){const s=Math.min(t.clientWidth,e);t.dataset.width=s,t.dataset.rem=n=Math.round(100*(s/e)),t.style.fontSize=n+"px"};r(),window.rem2px=function(s){return s=parseFloat(s),s*n},window.px2rem=function(s){return s=parseFloat(s),s/n},window.addEventListener&&window.addEventListener("orientationchange"in window?"orientationchange":"resize",r,!1)}class yd{app;ctx;shapes=[];isMouseDown=!1;currentMouseInShape;currentEnableDragMouseInShape;dragDx=0;dragDy=0;constructor(t,o=!1){if(this.app=t,!(this.app.container instanceof HTMLCanvasElement))throw new Error("app.container 应该为 HTMLCanvasElement!");this.ctx=new dv(this.app.container,this.app.width,this.app.height,o),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:(n,r)=>{this.currentEnableDragMouseInShape&&(this.dragDx+=r.dx,this.dragDy+=r.dy),this.setCursor()}}),this.app.on("tap",()=>{for(const n of this.shapes)if(this.currentMouseInShape==n){n.emit("clicked",n);let r=n.parent;for(;r;)r.emit("clicked",n),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(ae(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 sd&&t.shapes.forEach(o=>{this._addDrawShape(o)})}draw(t=[]){this.shapes=[],(Array.isArray(t)?t:[t]).forEach(o=>{this._addDrawShape(o)}),this.isMouseDown&&this.currentEnableDragMouseInShape||(this.currentMouseInShape=void 0);for(const o of this.shapes){if(!o.isShow)continue;if(this.ctx.save(),o.frameStart(this.app.mousePoint),Yv(this.ctx,o.getAttrs()),o.followMouse&&(!Pf(o.x,this.app.mousePoint.x,5)||!Pf(o.y,this.app.mousePoint.y,5))&&o.followTo(this.app.mousePoint),o.targetToAfterDragFree&&(this.isMouseDown||o.runEaseTo({x:o.targetToAfterDragFree.targetX,y:o.targetToAfterDragFree.targetY},{easing:o.targetToAfterDragFree?.easing})),this.isMouseDown&&this.currentEnableDragMouseInShape==o){o.isDragging=!0;const r=this.dragDx,s=this.dragDy;if(this.dragDx=0,this.dragDy=0,r||s){if(o.x+=r,o.y+=s,o.alongPath){const a=o.alongPath.closestPoint(o.x,o.y);o.x=a.point.x-o.cX,o.y=a.point.y-o.cY}o.emit("draging",r,s)}}else o.isDragging=!1;o.frameUpdate(this.app.mousePoint,this.ctx),this.transformCtxBaseOnShape(o),o.toCanvasContext(this.ctx),this.ctx.hasSetCustomStrokeStyle&&this.ctx.stroke(),this.ctx.hasSetCustomFillStyle&&this.ctx.fill();const n=this.ctx.currentPath2D;if(!this.currentMouseInShape){const r=this.ctx.isPointInPath(n,this.app.mousePoint.x,this.app.mousePoint.y)||this.ctx.isPointInStroke(n,this.app.mousePoint.x,this.app.mousePoint.y)||!1;o.isMouseIn=r,r&&(this.currentMouseInShape=o,o.enableDrag&&(this.currentEnableDragMouseInShape=o))}o.frameEnd(this.app.mousePoint),this.ctx.restore()}this.currentMouseInShape||(this.currentEnableDragMouseInShape=void 0)}drawMouseMoveLine(t="line",o){switch(t){case"brush":const n=o?.brushSize??10,r=o?.brushDensity??50,s=o?.brushColor??"#000000",a=this.ctx.getImageData(0,0,this.ctx.canvas.width,this.ctx.canvas.height),l=a.data,i=_e(s);return this.app.captureDrag({move:()=>{if(this.isMouseDown){for(let c=0;c<r;c++){const u=Math.random()*Math.PI*2,f=Math.random()*n,d=this.app.mousePoint.x+Math.cos(u)*f|0,h=this.app.mousePoint.y+Math.sin(u)*f|0,p=(d+h*a.width)*4;l[p]=i.r,l[p+1]=i.g,l[p+2]=i.b,l[p+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())}})}}}function Yv(e,t){for(const o in t){const n=t[o];switch(o){case"fill":n!=="none"&&(e.fillStyle=n);break;case"stroke":n!=="none"&&(e.strokeStyle=n);break;case"stroke-width":case"strokeWidth":e.lineWidth=Number(n);break;case"stroke-linecap":case"strokeLinecap":e.lineCap=n;break;case"stroke-linejoin":case"strokeLinejoin":switch(n){case"round":case"bevel":case"miter":e.lineJoin=n;break;default:e.lineJoin="miter";break}break;case"stroke-miterlimit":case"strokeMiterlimit":e.miterLimit=Number(n);break;case"stroke-opacity":case"strokeOpacity":break;case"stroke-dashoffset":case"strokeDashoffset":e.lineDashOffset=Number(n);break;case"stroke-dasharray":case"strokeDasharray":typeof n=="string"&&e.setLineDash(n.split(/\s+/).map(r=>Number(r)));break;case"cursor":break;case"font":typeof n=="string"&&(e.font=n);break;case"font-size":case"fontSize":e.font+=` ${n}`;break;case"font-family":case"fontFamily":e.font+=` ${n}`;break;case"font-weight":case"fontWeight":break;case"font-style":case"fontStyle":break;case"text-anchor":case"textAnchor":switch(n){case"middle":e.textAlign="center";break;case"end":e.textAlign="end";break;case"start":e.textAlign="start";break}break;case"alignment-baseline":case"alignmentBaseline":switch(n){case"middle":case"bottom":case"top":case"alphabetic":case"hanging":case"ideographic":e.textBaseline=n;break;default:e.textBaseline="alphabetic";break}break}}}class Vv{map;constructor(t,o=120.619585,n=31.299379,r=18){this.map=new T.Map(t),this.map.centerAndZoom(new T.LngLat(o,n),r)}}const Xv=e=>{const t={};if(e.attributes)for(let o=0,n=e.attributes,r=n.length;o<r;o++){const s=n[o];s.nodeName&&s.nodeValue&&(t[s.nodeName]=s.nodeValue)}return t},Jo=Y({customOptions:{},inheritAttrs:!0,__name:"Overlay",props:{visible:{type:Boolean,default:!1},isGlobal:{type:Boolean,default:!0},color:{default:"rgba(0, 0, 0, 0.25)"}},setup(e,{expose:t}){const o=e,n=de(()=>({"background-color":o.color,position:"fixed","z-index":"99999",display:"block",width:"100%",height:"100%",inset:"0",overflow:"hidden"})),r=R(),s=document.documentElement.style.overflow;let a;return Pt(()=>o.visible,()=>{o.isGlobal?document.documentElement.style.overflow=o.visible?"hidden":s:(a||(a=r.value.parentElement.style.overflow||"visible"),r.value.parentElement.style.overflow=o.visible?"hidden":a)},{immediate:!0}),t({}),(l,i)=>o.visible?(A(),F("div",{key:0,class:"overlay",style:N(n.value),ref_key:"el",ref:r},[dt(l.$slots,"default")],4)):yt("",!0)}}),mt=Y({customOptions:{},inheritAttrs:!0,__name:"Container",props:{type:{default:"block"},effectTriggerTiming:{default:"manual"},supportCopyText:{type:Boolean,default:!1}},emits:["ready","resize","clipboard_success","clipboard_error","start","end"],setup(e,{expose:t,emit:o}){const n=e,r=o;let s="start";const a=()=>{s="start",r("start")},l=()=>{s="end",r("end")},i=()=>{s=="start"?l():a()},c=R();let u=!1,f,d;fe(()=>{f=new Cn(c.value,!1),f.on("resize",(w,x)=>{r("resize",w,x,c.value.getBoundingClientRect()),d?.(f),u||(u=!0,n.effectTriggerTiming!=="manual"&&a(),r("ready",f),n.effectTriggerTiming=="immediate"&&i())}),f.on("mouseEnter",()=>{n.effectTriggerTiming=="mouseMove"&&i()}),f.on("mouseLeave",()=>{n.effectTriggerTiming=="mouseMove"&&i()}),f.on("tap",()=>{if(n.effectTriggerTiming=="click"&&i(),n.supportCopyText){const w=Ks(c.value).getInnerText();il(w).then(()=>{r("clipboard_success",w)}).catch(x=>{r("clipboard_error",x.toString())})}}),f.start()});const h=()=>new Promise(w=>{if(f)return w(f);d=w}),p=async()=>(await h(),c.value.getBoundingClientRect());return se(()=>{f?.destroy()}),t({getElement:()=>c.value,getApp:h,getSize:p}),(w,x)=>(A(),F("div",{class:Ut(["container",[n.type]]),ref_key:"r",ref:c,style:N({position:"relative",boxSizing:"border-box",display:n.type=="shrink"?"inline-block":"block",width:n.type=="full"?"100%":"auto",height:n.type=="full"?"100%":"auto"})},[dt(w.$slots,"default")],6))}}),ie=Y({customOptions:{Overlay:Jo,Container:mt},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:{}},emits:["open","close","resize","clickOverlay"],setup(e,{expose:t,emit:o}){const n=e,r=o,s=new Ge({frameDuration:n.dur}),a=jt({position:"absolute",overflow:"hidden",opacity:"1"}),l=R(!1),i=R("full");Pt(()=>[n.directionFrom,n.popValue],()=>{s.clear();const w=!n.popValue,x=n.popValue?n.popValue:100,v=n.popValue?"px":"%";switch(n.directionFrom){case"left":a.height="100%",w?delete a.width:a.width=`${x}${v}`,a.top="0",a.bottom="0",delete a.right,s.addTween({left:x},{left:0},{easeFunction:at.Quadratic.Out,onUpdate(g){a.left=`-${g.left}${v}`},onComplete:f});break;case"right":a.height="100%",w?delete a.width:a.width=`${x}${v}`,a.top="0",a.bottom="0",delete a.left,s.addTween({right:x},{right:0},{easeFunction:at.Quadratic.Out,onUpdate(g){a.right=`-${g.right}${v}`},onComplete:f});break;case"top":a.width="100%",w?delete a.height:a.height=`${x}${v}`,a.left="0",a.right="0",delete a.bottom,s.addTween({top:x},{top:0},{easeFunction:at.Quadratic.Out,onUpdate(g){a.top=`-${g.top}${v}`},onComplete:f});break;case"bottom":a.width="100%",w?delete a.height:a.height=`${x}${v}`,a.left="0",a.right="0",delete a.top,s.addTween({bottom:x},{bottom:0},{easeFunction:at.Quadratic.Out,onUpdate(g){a.bottom=`-${g.bottom}${v}`},onComplete:f});break;case"center":delete a.width,delete a.height,a.left="50%",delete a.right,a.top="50%",delete a.bottom,s.addTween({scale:.8,opacity:0},{scale:1,opacity:1},{easeFunction:at.Quadratic.Out,onUpdate(g){a.transform=`translate(-50%, -50%) scale(${g.scale})`,a.opacity=`${g.opacity}`},onComplete:f});break;case"absolute":a.width=n.absoluteWidth,a.height=n.absoluteHeight,a.left=n.absoluteLeft,a.top=n.absoluteTop,delete a.right,delete a.bottom;break}switch(n.directionFrom){case"center":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}w&&(i.value="shrink")},{immediate:!0}),Pt(()=>n.absoluteLeft,()=>{switch(n.directionFrom){case"absolute":a.left=n.absoluteLeft;break}}),Pt(()=>n.absoluteTop,()=>{switch(n.directionFrom){case"absolute":a.top=n.absoluteTop;break}}),Pt(()=>n.absoluteWidth,()=>{switch(n.directionFrom){case"absolute":a.width=n.absoluteWidth;break}}),Pt(()=>n.absoluteHeight,()=>{switch(n.directionFrom){case"absolute":a.height=n.absoluteHeight;break}});const c=(w,x,v)=>{r("resize",w,x,v)};let u="open";function f(){u=="open"?r("open"):(l.value=!1,r("close"))}function d(){l.value=!0,u="open",s.play()}function h(){switch(u="close",n.directionFrom){case"absolute":f();break;default:s.reverse();break}}function p(w){const x=n.directionFrom=="absolute"&&n.absoluteWidth=="100%"&&n.absoluteHeight=="100%"?"pop-content":"pop";w.target&&qs(w.target,x)&&(n.closeWhenClickOverlay&&h(),r("clickOverlay"))}return t({open:d,close:h}),(w,x)=>(A(),ht(Jo,{visible:l.value,isGlobal:n.isGlobal,color:n.overlayBgColor},{default:st(()=>[k("div",{class:"pop",style:{display:"block",position:"relative",width:"100%",height:"100%",overflow:"hidden"},onClick:p},[J(mt,{class:"pop-content",type:i.value,style:N(a),onResize:c},{default:st(()=>[dt(w.$slots,"default",{},()=>[x[0]||(x[0]=k("div",null,null,-1))])]),_:3},8,["type","style"])])]),_:3},8,["visible","isGlobal","color"]))}}),vd=/^[a-z0-9]+(-[a-z0-9]+)*$/,Js=(e,t,o,n="")=>{const r=e.split(":");if(e.slice(0,1)==="@"){if(r.length<2||r.length>3)return null;n=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const l=r.pop(),i=r.pop(),c={provider:r.length>0?r[0]:n,prefix:i,name:l};return t&&!ta(c)?null:c}const s=r[0],a=s.split("-");if(a.length>1){const l={provider:n,prefix:a.shift(),name:a.join("-")};return t&&!ta(l)?null:l}if(o&&n===""){const l={provider:n,prefix:"",name:s};return t&&!ta(l,o)?null:l}return null},ta=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1,bd=Object.freeze({left:0,top:0,width:16,height:16}),ea=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),oa=Object.freeze({...bd,...ea}),cl=Object.freeze({...oa,body:"",hidden:!1});function Zv(e,t){const o={};!e.hFlip!=!t.hFlip&&(o.hFlip=!0),!e.vFlip!=!t.vFlip&&(o.vFlip=!0);const n=((e.rotate||0)+(t.rotate||0))%4;return n&&(o.rotate=n),o}function _d(e,t){const o=Zv(e,t);for(const n in cl)n in ea?n in e&&!(n in o)&&(o[n]=ea[n]):n in t?o[n]=t[n]:n in e&&(o[n]=e[n]);return o}function Gv(e,t){const o=e.icons,n=e.aliases||Object.create(null),r=Object.create(null);function s(a){if(o[a])return r[a]=[];if(!(a in r)){r[a]=null;const l=n[a]&&n[a].parent,i=l&&s(l);i&&(r[a]=[l].concat(i))}return r[a]}return Object.keys(o).concat(Object.keys(n)).forEach(s),r}function Uv(e,t,o){const n=e.icons,r=e.aliases||Object.create(null);let s={};function a(l){s=_d(n[l]||r[l],s)}return a(t),o.forEach(a),_d(e,s)}function xd(e,t){const o=[];if(typeof e!="object"||typeof e.icons!="object")return o;e.not_found instanceof Array&&e.not_found.forEach(r=>{t(r,null),o.push(r)});const n=Gv(e);for(const r in n){const s=n[r];s&&(t(r,Uv(e,r,s)),o.push(r))}return o}const jv={provider:"",aliases:{},not_found:{},...bd};function ul(e,t){for(const o in t)if(o in e&&typeof e[o]!=typeof t[o])return!1;return!0}function kd(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!ul(e,jv))return null;const o=t.icons;for(const r in o){const s=o[r];if(!r||typeof s.body!="string"||!ul(s,cl))return null}const n=t.aliases||Object.create(null);for(const r in n){const s=n[r],a=s.parent;if(!r||typeof a!="string"||!o[a]&&!n[a]||!ul(s,cl))return null}return t}const wd=Object.create(null);function Hv(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Bn(e,t){const o=wd[e]||(wd[e]=Object.create(null));return o[t]||(o[t]=Hv(e,t))}function Cd(e,t){return kd(t)?xd(t,(o,n)=>{n?e.icons[o]=n:e.missing.add(o)}):[]}function Wv(e,t,o){try{if(typeof o.body=="string")return e.icons[t]={...o},!0}catch{}return!1}let Ar=!1;function Td(e){return typeof e=="boolean"&&(Ar=e),Ar}function qv(e){const t=typeof e=="string"?Js(e,!0,Ar):e;if(t){const o=Bn(t.provider,t.prefix),n=t.name;return o.icons[n]||(o.missing.has(n)?null:void 0)}}function Kv(e,t){const o=Js(e,!0,Ar);if(!o)return!1;const n=Bn(o.provider,o.prefix);return t?Wv(n,o.name,t):(n.missing.add(o.name),!0)}function Qv(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Ar&&!t&&!e.prefix){let r=!1;return kd(e)&&(e.prefix="",xd(e,(s,a)=>{Kv(s,a)&&(r=!0)})),r}const o=e.prefix;if(!ta({provider:t,prefix:o,name:"a"}))return!1;const n=Bn(t,o);return!!Cd(n,e)}const Ed=Object.freeze({width:null,height:null}),Sd=Object.freeze({...Ed,...ea}),Jv=/(-?[0-9.]*[0-9]+[0-9.]*)/g,t1=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Od(e,t,o){if(t===1)return e;if(o=o||100,typeof e=="number")return Math.ceil(e*t*o)/o;if(typeof e!="string")return e;const n=e.split(Jv);if(n===null||!n.length)return e;const r=[];let s=n.shift(),a=t1.test(s);for(;;){if(a){const l=parseFloat(s);isNaN(l)?r.push(s):r.push(Math.ceil(l*t*o)/o)}else r.push(s);if(s=n.shift(),s===void 0)return r.join("");a=!a}}function e1(e,t="defs"){let o="";const n=e.indexOf("<"+t);for(;n>=0;){const r=e.indexOf(">",n),s=e.indexOf("</"+t);if(r===-1||s===-1)break;const a=e.indexOf(">",s);if(a===-1)break;o+=e.slice(r+1,s).trim(),e=e.slice(0,n).trim()+e.slice(a+1)}return{defs:o,content:e}}function o1(e,t){return e?"<defs>"+e+"</defs>"+t:t}function n1(e,t,o){const n=e1(e);return o1(n.defs,t+n.content+o)}const r1=e=>e==="unset"||e==="undefined"||e==="none";function s1(e,t){const o={...oa,...e},n={...Sd,...t},r={left:o.left,top:o.top,width:o.width,height:o.height};let s=o.body;[o,n].forEach(w=>{const x=[],v=w.hFlip,g=w.vFlip;let y=w.rotate;v?g?y+=2:(x.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),x.push("scale(-1 1)"),r.top=r.left=0):g&&(x.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),x.push("scale(1 -1)"),r.top=r.left=0);let m;switch(y<0&&(y-=Math.floor(y/4)*4),y=y%4,y){case 1:m=r.height/2+r.top,x.unshift("rotate(90 "+m.toString()+" "+m.toString()+")");break;case 2:x.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:m=r.width/2+r.left,x.unshift("rotate(-90 "+m.toString()+" "+m.toString()+")");break}y%2===1&&(r.left!==r.top&&(m=r.left,r.left=r.top,r.top=m),r.width!==r.height&&(m=r.width,r.width=r.height,r.height=m)),x.length&&(s=n1(s,'<g transform="'+x.join(" ")+'">',"</g>"))});const a=n.width,l=n.height,i=r.width,c=r.height;let u,f;a===null?(f=l===null?"1em":l==="auto"?c:l,u=Od(f,i/c)):(u=a==="auto"?i:a,f=l===null?Od(u,c/i):l==="auto"?c:l);const d={},h=(w,x)=>{r1(x)||(d[w]=x.toString())};h("width",u),h("height",f);const p=[r.left,r.top,i,c];return d.viewBox=p.join(" "),{attributes:d,viewBox:p,body:s}}const a1=/\sid="(\S+)"/g,i1="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let l1=0;function c1(e,t=i1){const o=[];let n;for(;n=a1.exec(e);)o.push(n[1]);if(!o.length)return e;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return o.forEach(s=>{const a=typeof t=="function"?t(s):t+(l1++).toString(),l=s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+l+')([")]|\\.[a-z])',"g"),"$1"+a+r+"$3")}),e=e.replace(new RegExp(r,"g"),""),e}const fl=Object.create(null);function u1(e,t){fl[e]=t}function dl(e){return fl[e]||fl[""]}function pl(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const hl=Object.create(null),$r=["https://api.simplesvg.com","https://api.unisvg.com"],na=[];for(;$r.length>0;)$r.length===1||Math.random()>.5?na.push($r.shift()):na.push($r.pop());hl[""]=pl({resources:["https://api.iconify.design"].concat(na)});function f1(e,t){const o=pl(t);return o===null?!1:(hl[e]=o,!0)}function ml(e){return hl[e]}let Pd=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function d1(e,t){const o=ml(e);if(!o)return 0;let n;if(!o.maxURL)n=0;else{let r=0;o.resources.forEach(a=>{r=Math.max(r,a.length)});const s=t+".json?icons=";n=o.maxURL-r-o.path.length-s.length}return n}function p1(e){return e===404}const h1=(e,t,o)=>{const n=[],r=d1(e,t),s="icons";let a={type:s,provider:e,prefix:t,icons:[]},l=0;return o.forEach((i,c)=>{l+=i.length+1,l>=r&&c>0&&(n.push(a),a={type:s,provider:e,prefix:t,icons:[]},l=i.length),a.icons.push(i)}),n.push(a),n};function m1(e){if(typeof e=="string"){const t=ml(e);if(t)return t.path}return"/"}const g1={prepare:h1,send:(e,t,o)=>{if(!Pd){o("abort",424);return}let n=m1(t.provider);switch(t.type){case"icons":{const s=t.prefix,l=t.icons.join(","),i=new URLSearchParams({icons:l});n+=s+".json?"+i.toString();break}case"custom":{const s=t.uri;n+=s.slice(0,1)==="/"?s.slice(1):s;break}default:o("abort",400);return}let r=503;Pd(e+n).then(s=>{const a=s.status;if(a!==200){setTimeout(()=>{o(p1(a)?"abort":"next",a)});return}return r=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?o("abort",s):o("next",r)});return}setTimeout(()=>{o("success",s)})}).catch(()=>{o("next",r)})}};function y1(e){const t={loaded:[],missing:[],pending:[]},o=Object.create(null);e.sort((r,s)=>r.provider!==s.provider?r.provider.localeCompare(s.provider):r.prefix!==s.prefix?r.prefix.localeCompare(s.prefix):r.name.localeCompare(s.name));let n={provider:"",prefix:"",name:""};return e.forEach(r=>{if(n.name===r.name&&n.prefix===r.prefix&&n.provider===r.provider)return;n=r;const s=r.provider,a=r.prefix,l=r.name,i=o[s]||(o[s]=Object.create(null)),c=i[a]||(i[a]=Bn(s,a));let u;l in c.icons?u=t.loaded:a===""||c.missing.has(l)?u=t.missing:u=t.pending;const f={provider:s,prefix:a,name:l};u.push(f)}),t}function Rd(e,t){e.forEach(o=>{const n=o.loaderCallbacks;n&&(o.loaderCallbacks=n.filter(r=>r.id!==t))})}function v1(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let o=!1;const n=e.provider,r=e.prefix;t.forEach(s=>{const a=s.icons,l=a.pending.length;a.pending=a.pending.filter(i=>{if(i.prefix!==r)return!0;const c=i.name;if(e.icons[c])a.loaded.push({provider:n,prefix:r,name:c});else if(e.missing.has(c))a.missing.push({provider:n,prefix:r,name:c});else return o=!0,!0;return!1}),a.pending.length!==l&&(o||Rd([e],s.id),s.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),s.abort))})}))}let b1=0;function _1(e,t,o){const n=b1++,r=Rd.bind(null,o,n);if(!t.pending.length)return r;const s={id:n,icons:t,callback:e,abort:r};return o.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(s)}),r}function x1(e,t=!0,o=!1){const n=[];return e.forEach(r=>{const s=typeof r=="string"?Js(r,t,o):r;s&&n.push(s)}),n}var k1={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function w1(e,t,o,n){const r=e.resources.length,s=e.random?Math.floor(Math.random()*r):e.index;let a;if(e.random){let C=e.resources.slice(0);for(a=[];C.length>1;){const M=Math.floor(Math.random()*C.length);a.push(C[M]),C=C.slice(0,M).concat(C.slice(M+1))}a=a.concat(C)}else a=e.resources.slice(s).concat(e.resources.slice(0,s));const l=Date.now();let i="pending",c=0,u,f=null,d=[],h=[];typeof n=="function"&&h.push(n);function p(){f&&(clearTimeout(f),f=null)}function w(){i==="pending"&&(i="aborted"),p(),d.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),d=[]}function x(C,M){M&&(h=[]),typeof C=="function"&&h.push(C)}function v(){return{startTime:l,payload:t,status:i,queriesSent:c,queriesPending:d.length,subscribe:x,abort:w}}function g(){i="failed",h.forEach(C=>{C(void 0,u)})}function y(){d.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),d=[]}function m(C,M,X){const G=M!=="success";switch(d=d.filter(V=>V!==C),i){case"pending":break;case"failed":if(G||!e.dataAfterTimeout)return;break;default:return}if(M==="abort"){u=X,g();return}if(G){u=X,d.length||(a.length?_():g());return}if(p(),y(),!e.random){const V=e.resources.indexOf(C.resource);V!==-1&&V!==e.index&&(e.index=V)}i="completed",h.forEach(V=>{V(X)})}function _(){if(i!=="pending")return;p();const C=a.shift();if(C===void 0){if(d.length){f=setTimeout(()=>{p(),i==="pending"&&(y(),g())},e.timeout);return}g();return}const M={status:"pending",resource:C,callback:(X,G)=>{m(M,X,G)}};d.push(M),c++,f=setTimeout(_,e.rotate),o(C,t,M.callback)}return setTimeout(_),v}function Id(e){const t={...k1,...e};let o=[];function n(){o=o.filter(l=>l().status==="pending")}function r(l,i,c){const u=w1(t,l,i,(f,d)=>{n(),c&&c(f,d)});return o.push(u),u}function s(l){return o.find(i=>l(i))||null}return{query:r,find:s,setIndex:l=>{t.index=l},getIndex:()=>t.index,cleanup:n}}function Ad(){}const gl=Object.create(null);function C1(e){if(!gl[e]){const t=ml(e);if(!t)return;const o=Id(t),n={config:t,redundancy:o};gl[e]=n}return gl[e]}function T1(e,t,o){let n,r;if(typeof e=="string"){const s=dl(e);if(!s)return o(void 0,424),Ad;r=s.send;const a=C1(e);a&&(n=a.redundancy)}else{const s=pl(e);if(s){n=Id(s);const a=e.resources?e.resources[0]:"",l=dl(a);l&&(r=l.send)}}return!n||!r?(o(void 0,424),Ad):n.query(t,r,o)().abort}function $d(){}function E1(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,v1(e)}))}function S1(e){const t=[],o=[];return e.forEach(n=>{(n.match(vd)?t:o).push(n)}),{valid:t,invalid:o}}function Nr(e,t,o){function n(){const r=e.pendingIcons;t.forEach(s=>{r&&r.delete(s),e.icons[s]||e.missing.add(s)})}if(o&&typeof o=="object")try{if(!Cd(e,o).length){n();return}}catch(r){console.error(r)}n(),E1(e)}function Nd(e,t){e instanceof Promise?e.then(o=>{t(o)}).catch(()=>{t(null)}):t(e)}function O1(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:o,prefix:n}=e,r=e.iconsToLoad;if(delete e.iconsToLoad,!r||!r.length)return;const s=e.loadIcon;if(e.loadIcons&&(r.length>1||!s)){Nd(e.loadIcons(r,n,o),u=>{Nr(e,r,u)});return}if(s){r.forEach(u=>{const f=s(u,n,o);Nd(f,d=>{const h=d?{prefix:n,icons:{[u]:d}}:null;Nr(e,[u],h)})});return}const{valid:a,invalid:l}=S1(r);if(l.length&&Nr(e,l,null),!a.length)return;const i=n.match(vd)?dl(o):null;if(!i){Nr(e,a,null);return}i.prepare(o,n,a).forEach(u=>{T1(o,u,f=>{Nr(e,u.icons,f)})})}))}const P1=(e,t)=>{const o=x1(e,!0,Td()),n=y1(o);if(!n.pending.length){let i=!0;return t&&setTimeout(()=>{i&&t(n.loaded,n.missing,n.pending,$d)}),()=>{i=!1}}const r=Object.create(null),s=[];let a,l;return n.pending.forEach(i=>{const{provider:c,prefix:u}=i;if(u===l&&c===a)return;a=c,l=u,s.push(Bn(c,u));const f=r[c]||(r[c]=Object.create(null));f[u]||(f[u]=[])}),n.pending.forEach(i=>{const{provider:c,prefix:u,name:f}=i,d=Bn(c,u),h=d.pendingIcons||(d.pendingIcons=new Set);h.has(f)||(h.add(f),r[c][u].push(f))}),s.forEach(i=>{const c=r[i.provider][i.prefix];c.length&&O1(i,c)}),t?_1(t,n,s):$d};function R1(e,t){const o={...e};for(const n in t){const r=t[n],s=typeof r;n in Ed?(r===null||r&&(s==="string"||s==="number"))&&(o[n]=r):s===typeof o[n]&&(o[n]=n==="rotate"?r%4:r)}return o}const I1=/[\s,]+/;function A1(e,t){t.split(I1).forEach(o=>{switch(o.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function $1(e,t=0){const o=e.replace(/^-?[0-9.]*/,"");function n(r){for(;r<0;)r+=4;return r%4}if(o===""){const r=parseInt(e);return isNaN(r)?0:n(r)}else if(o!==e){let r=0;switch(o){case"%":r=25;break;case"deg":r=90}if(r){let s=parseFloat(e.slice(0,e.length-o.length));return isNaN(s)?0:(s=s/r,s%1===0?n(s):0)}}return t}function N1(e,t){let o=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const n in t)o+=" "+n+'="'+t[n]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+o+">"+e+"</svg>"}function D1(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function F1(e){return"data:image/svg+xml,"+D1(e)}function L1(e){return'url("'+F1(e)+'")'}const Dd={...Sd,inline:!1},z1={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},M1={display:"inline-block"},yl={backgroundColor:"currentColor"},Fd={backgroundColor:"transparent"},Ld={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},zd={webkitMask:yl,mask:yl,background:Fd};for(const e in zd){const t=zd[e];for(const o in Ld)t[e+o]=Ld[o]}const ra={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";ra[e+"-flip"]=t,ra[e.slice(0,1)+"-flip"]=t,ra[e+"Flip"]=t});function Md(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Bd=(e,t)=>{const o=R1(Dd,t),n={...z1},r=t.mode||"svg",s={},a=t.style,l=typeof a=="object"&&!(a instanceof Array)?a:{};for(let w in t){const x=t[w];if(x!==void 0)switch(w){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":o[w]=x===!0||x==="true"||x===1;break;case"flip":typeof x=="string"&&A1(o,x);break;case"color":s.color=x;break;case"rotate":typeof x=="string"?o[w]=$1(x):typeof x=="number"&&(o[w]=x);break;case"ariaHidden":case"aria-hidden":x!==!0&&x!=="true"&&delete n["aria-hidden"];break;default:{const v=ra[w];v?(x===!0||x==="true"||x===1)&&(o[v]=!0):Dd[w]===void 0&&(n[w]=x)}}}const i=s1(e,o),c=i.attributes;if(o.inline&&(s.verticalAlign="-0.125em"),r==="svg"){n.style={...s,...l},Object.assign(n,c);let w=0,x=t.id;return typeof x=="string"&&(x=x.replace(/-/g,"_")),n.innerHTML=c1(i.body,x?()=>x+"ID"+w++:"iconifyVue"),Xt("svg",n)}const{body:u,width:f,height:d}=e,h=r==="mask"||(r==="bg"?!1:u.indexOf("currentColor")!==-1),p=N1(u,{...c,width:f+"",height:d+""});return n.style={...s,"--svg":L1(p),width:Md(c.width),height:Md(c.height),...M1,...h?yl:Fd,...l},Xt("span",n)};if(Td(!0),u1("",g1),typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,o="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(n=>{try{(typeof n!="object"||n===null||n instanceof Array||typeof n.icons!="object"||typeof n.prefix!="string"||!Qv(n))&&console.error(o)}catch{console.error(o)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let o in t){const n="IconifyProviders["+o+"] is invalid.";try{const r=t[o];if(typeof r!="object"||!r||r.resources===void 0)continue;f1(o,r)||console.error(n)}catch{console.error(n)}}}}const B1={...oa,body:""},Yd=Y({inheritAttrs:!1,data(){return{_name:"",_loadingIcon:null,iconMounted:!1,counter:0}},mounted(){this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(e,t,o){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let n;if(typeof e!="string"||(n=Js(e,!1,!0))===null)return this.abortLoading(),null;let r=qv(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:P1([n],()=>{this.counter++})})),null;if(this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e)),o){r=Object.assign({},r);const a=o(r.body,n.name,n.prefix,n.provider);typeof a=="string"&&(r.body=a)}const s=["iconify"];return n.prefix!==""&&s.push("iconify--"+n.prefix),n.provider!==""&&s.push("iconify--"+n.provider),{data:r,classes:s}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted||e.ssr?this.getIcon(e.icon,e.onLoad,e.customise):null;if(!t)return Bd(B1,e);let o=e;return t.classes&&(o={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),Bd({...oa,...t.data},o)}}),bo=Y({__name:"Icon",props:{icon:{default:"mdi-light:home"},color:{default:kt.colorPrimary}},setup(e){const t=e;return(o,n)=>(A(),F("span",{class:"icon",style:N(["color: "+o.color,"display: inline-flex","justify-content: center","align-items: center","cursor: pointer","font-size: 1em"])},[J(vt(Yd),{icon:t.icon,color:o.color},null,8,["icon","color"])],4))}}),Y1={class:"loading-11",ref:"loading11"},V1={class:"container container-1"},X1={class:"container container-2"},Z1={class:"container container-3"},G1=Y({__name:"Loading11",props:{color:{default:kt.colorPrimary},width:{default:"0.8em"}},setup(e){const t=e;return(o,n)=>(A(),F("div",Y1,[k("div",{class:"loading-11-inner",style:N({width:t.width,height:t.width})},[k("div",V1,[k("div",{class:"dot dot-1",style:N({backgroundColor:t.color})},null,4),k("div",{class:"dot dot-2",style:N({backgroundColor:t.color})},null,4),k("div",{class:"dot dot-3",style:N({backgroundColor:t.color})},null,4),k("div",{class:"dot dot-4",style:N({backgroundColor:t.color})},null,4)]),k("div",X1,[k("div",{class:"dot dot-1",style:N({backgroundColor:t.color})},null,4),k("div",{class:"dot dot-2",style:N({backgroundColor:t.color})},null,4),k("div",{class:"dot dot-3",style:N({backgroundColor:t.color})},null,4),k("div",{class:"dot dot-4",style:N({backgroundColor:t.color})},null,4)]),k("div",Z1,[k("div",{class:"dot dot-1",style:N({backgroundColor:t.color})},null,4),k("div",{class:"dot dot-2",style:N({backgroundColor:t.color})},null,4),k("div",{class:"dot dot-3",style:N({backgroundColor:t.color})},null,4),k("div",{class:"dot dot-4",style:N({backgroundColor:t.color})},null,4)])],4)],512))}}),N3="",nt=(e,t)=>{const o=e.__vccOpts||e;for(const[n,r]of t)o[n]=r;return o},sa=nt(G1,[["__scopeId","data-v-f95fac77"]]),U1={key:0,class:"loading",style:{"margin-right":"6px"}},ne=Y({customOptions:{Loading11:sa},inheritAttrs:!0,__name:"Button",props:{label:{},icon:{},iconPosition:{default:"left"},disabled:{type:Boolean,default:!1},width:{default:"auto"},height:{default:"44px"},padding:{default:"20px"},fontSize:{default:"14px"},borderRadius:{default:"4px"},stylePattern:{default:"fullfilled"},borderColor:{},bgColor:{},fontColor:{},asyncClick:{}},emits:["yz-click","click"],setup(e,{expose:t,emit:o}){const n=e,r=o,s=R(),a=R(n.borderColor),l=R(n.bgColor),i=R(n.fontColor),c=R(n.borderColor),u=R(n.bgColor);function f(m){switch(m){case"outline":a.value=n.borderColor??kt.colorPrimary,l.value=n.bgColor??kt.colorGrayFF,i.value=n.fontColor??kt.colorPrimary,c.value=a.value,u.value=l.value;break;case"fullfilled":default:a.value=n.borderColor??kt.colorPrimary,l.value=n.bgColor??kt.colorPrimary,i.value=n.fontColor??kt.colorGrayFF,c.value=a.value,u.value=l.value;break}}Pt(()=>n.stylePattern,()=>{f(n.stylePattern)},{immediate:!0});const d=R(n.disabled?"0.6":"1"),h=R(n.disabled?"not-allowed":"pointer");let p=!1;const w=()=>{n.disabled||(p=!0,a.value=_e(c.value).lighten(.05).toString(),l.value=_e(u.value).lighten(.05).toString())},x=()=>{n.disabled||(p=!1,a.value=c.value,l.value=u.value)},v=R(!1),y=Af(()=>{n.disabled||v.value||(a.value=_e(c.value).darken(.1).toString(),l.value=_e(u.value).darken(.1).toString(),setTimeout(()=>{p?w():x()},150),r("yz-click"),r("click"),n.asyncClick&&(v.value=!0,n.asyncClick().then(()=>{v.value=!1}).catch(()=>{v.value=!1})))},300);return t({el:s}),(m,_)=>(A(),F("div",{ref_key:"el",ref:s,class:"button",style:N([`opacity: ${d.value}`,`border: 1px solid ${a.value}`,`background-color: ${l.value}`,`color: ${i.value}`,`border-radius: ${n.borderRadius}`,`width: ${n.width}`,`height: ${n.height}`,`line-height: ${n.height}`,`font-size: ${n.fontSize}`,`cursor: ${h.value}`,"user-select: none","box-sizing: border-box","display: inline-flex","justify-content: center","align-items: center","z-index: 0"]),onMouseover:w,onMouseleave:x,onClick:_[0]||(_[0]=(...C)=>vt(y)&&vt(y)(...C))},[k("label",{class:"label truncate",style:N({padding:"0 "+m.padding,cursor:h.value,display:"inline-flex",justifyContent:"center",alignItems:"center"})},[v.value?(A(),F("div",U1,[J(sa,{color:i.value},null,8,["color"])])):yt("",!0),dt(m.$slots,"default",{},()=>[m.icon&&m.iconPosition==="left"?(A(),ht(bo,{key:0,icon:m.icon,color:i.value,style:N({marginRight:vt(kt).d4,cursor:h.value})},null,8,["icon","color","style"])):yt("",!0),k("span",{style:N({cursor:h.value})},ut(m.label),5),m.icon&&m.iconPosition==="right"?(A(),ht(bo,{key:1,icon:m.icon,color:i.value,style:N({marginLeft:vt(kt).d4,cursor:h.value})},null,8,["icon","color","style"])):yt("",!0)])],4)],36))}}),j1={class:"dialog-parent"},H1={key:0,class:"title"},W1={key:0,class:"title-inner truncate"},q1={class:"custom-content"},K1={class:"custom-content-default"},Q1={key:1,class:"btns"},J1=Y({customOptions:{Overlay:Jo,Pop:ie,Icon:bo,Button:ne},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(e,{expose:t,emit:o}){const n=e,r=o,s=R(),a=R(""),l=R(""),i=R(!1),c=R(""),u=R("");let f,d,h;const p=()=>{r("open")},w=()=>{f?.(),r("close")};function x(m){a.value=m?.title||"",l.value=m?.content||"",i.value=typeof m?.showClose=="boolean"?m?.showClose:!1,c.value=m?.cancelText||"",u.value=m?.confirmText||"",f=m?.onClose,d=m?.onCancel,h=m?.onConfirm,s.value.open()}function v(){s.value.close()}function g(){v(),d?.(),r("cancel")}function y(){v(),h?.(),r("confirm")}return t({open:x,close:v}),(m,_)=>(A(),ht(ie,{ref_key:"popRef",ref:s,directionFrom:"center",closeWhenClickOverlay:n.closeWhenClickOverlay,dur:n.dur,overlayBgColor:n.overlayBgColor,onOpen:p,onClose:w},{default:st(()=>[k("div",j1,[k("div",{class:"dialog",style:N({minWidth:n.minWidth,maxWidth:n.maxWidth})},[a.value||i.value?(A(),F("div",H1,[a.value?(A(),F("div",W1,ut(a.value),1)):yt("",!0),i.value?(A(),F("div",{key:1,class:"close",onClick:v},[J(bo,{icon:"ic:baseline-close",color:vt(kt).colorGrayCC},null,8,["color"])])):yt("",!0)])):yt("",!0),k("div",q1,[dt(m.$slots,"default",{},()=>[k("div",K1,ut(l.value),1)],!0)]),c.value||u.value?(A(),F("div",Q1,[c.value?(A(),ht(ne,{key:0,onClick:g,class:"btn",bgColor:vt(kt).colorGrayE6,borderColor:vt(kt).colorGrayE6,fontColor:vt(kt).colorGray33,borderRadius:"0"},{default:st(()=>[Vt(ut(c.value),1)]),_:1},8,["bgColor","borderColor","fontColor"])):yt("",!0),u.value?(A(),ht(ne,{key:1,onClick:y,class:"btn",borderRadius:"0"},{default:st(()=>[Vt(ut(u.value),1)]),_:1})):yt("",!0)])):yt("",!0)],4)])]),_:3},8,["closeWhenClickOverlay","dur","overlayBgColor"]))}}),D3="",aa=nt(J1,[["__scopeId","data-v-f9df8635"]]),tb={class:"loading-8"},eb={viewBox:"25 25 50 50"},ob=Y({__name:"Loading8",props:{color:{default:kt.colorPrimary}},setup(e){const t=e;return(o,n)=>(A(),F("div",tb,[(A(),F("svg",eb,[k("circle",{cx:"50",cy:"50",r:"20",style:N(["stroke: "+t.color])},null,4)]))]))}}),F3="",Vd=nt(ob,[["__scopeId","data-v-e5e3cf4c"]]),nb=["fill"],rb=["fill"],sb=["fill"],ia=Y({__name:"SVGWarn",props:{scale:{default:1},color:{default:"#FA503C"}},setup(e){const t=e,o=de(()=>new De(t.color).opposite(!0).toString());return(n,r)=>(A(),F("svg",{width:"16",height:"16",viewBox:"4 4 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:N({transformOrigin:"center",transform:`scale(${t.scale})`})},[k("circle",{cx:"12",cy:"12",r:"8",fill:t.color},null,8,nb),k("path",{d:"M11.4666 8.80006C11.4666 8.50551 11.7053 8.26672 11.9999 8.26672C12.2944 8.26672 12.5332 8.50551 12.5332 8.80006V13.0667C12.5332 13.3613 12.2944 13.6001 11.9999 13.6001C11.7053 13.6001 11.4666 13.3613 11.4666 13.0667V8.80006Z",fill:o.value},null,8,rb),k("path",{d:"M11.4666 15.2001C11.4666 14.9055 11.7053 14.6667 11.9999 14.6667C12.2944 14.6667 12.5332 14.9055 12.5332 15.2001C12.5332 15.4946 12.2944 15.7334 11.9999 15.7334C11.7053 15.7334 11.4666 15.4946 11.4666 15.2001Z",fill:o.value},null,8,sb)],4))}}),ab={class:"icon"},ib=Y({customOptions:{SVGWarn:ia},inheritAttrs:!0,__name:"Text",props:{type:{default:"none"},text:{default:""},color:{default:"#333333"}},setup(e,{expose:t}){const o=e,n=de(()=>o.type!=="none"),r=de(()=>o.type=="warn");return t({}),(s,a)=>(A(),F("div",{class:"text",style:N({color:o.color})},[k("div",ab,[dt(s.$slots,"icon",{},()=>[r.value?(A(),ht(ia,{key:0})):yt("",!0)],!0)]),k("div",{class:"ellipsis",style:N({marginLeft:n.value?"0.3em":"0"})},[dt(s.$slots,"default",{},()=>[Vt(ut(o.text),1)],!0)],4)],4))}}),L3="",vl=nt(ib,[["__scopeId","data-v-b1f6b1f2"]]),bl=Y({__name:"SVGCleanUp",props:{width:{default:"16px"},color:{default:kt.colorPrimary}},setup(e){const t=e;return(o,n)=>(A(),F("svg",{style:N(["transform-origin: center","width: "+t.width]),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},n[0]||(n[0]=[k("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),k("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),k("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)]),4))}});function z3(e){return e}const Yn=document.getElementById("teleport")||document.documentElement;function lb(e,t){{const o=document.querySelector("yz-dialog-toast#globalDialogToast");o&&"_instance"in o&&o._instance.exposed.open(e,t)}}function cb(e){{const t=document.querySelector("yz-dialog-loading#globalDialogLoading");return t&&"_instance"in t&&t._instance.exposed.open(e),()=>{t&&"_instance"in t&&t._instance.exposed.close()}}}function ub(e){{const t=document.querySelector("yz-dialog#globalDialog");return t&&"_instance"in t&&t._instance.exposed.open(e),()=>{t&&"_instance"in t&&t._instance.exposed.close()}}}function Vn(e,t="bottom",o){let n;e instanceof HTMLElement?n=Xt(ie,{directionFrom:t,absoluteLeft:o?.absoluteLeft,absoluteTop:o?.absoluteTop,absoluteWidth:o?.absoluteWidth,absoluteHeight:o?.absoluteHeight},()=>Xt("div",{...Xv(e),innerHTML:e.innerHTML})):n=Xt(ie,{directionFrom:t,absoluteLeft:o?.absoluteLeft,absoluteTop:o?.absoluteTop,absoluteWidth:o?.absoluteWidth,absoluteHeight:o?.absoluteHeight},()=>e),Rs(n,Yn),n.component?.exposed?.open();const r=()=>{n.component?.exposed?.close()};return r.vnode=n,r}function Xd(e,t){return Vn(e,"bottom",t)}function Zd(e,t){return Vn(e,"top",t)}function Gd(e,t){return Vn(e,"left",t)}function Ud(e,t){return Vn(e,"right",t)}function jd(e,t){return Vn(e,"center",t)}function Hd(e,t){return Vn(e,"absolute",t)}const fb=()=>Xd(Xt("div",{style:"padding: 30px; background-color:#ffffff; width: 100%;"},Xt("yz-input",{placeholder:"请输入邮箱",validator:Ln}))),db=()=>Zd(Xt("div",{style:"padding: 30px; background-color:#ffffff; width: 100%;"},Xt("yz-input",{placeholder:"请输入邮箱",validator:Ln}))),pb=()=>Gd(Xt("div",{style:"padding: 30px; background-color:#ffffff; height: 100%;"},Xt("yz-input",{placeholder:"请输入邮箱",validator:Ln}))),hb=()=>Ud(Xt("div",{style:"padding: 30px; background-color:#ffffff; height: 100%;"},Xt("yz-input",{placeholder:"请输入邮箱",validator:Ln}))),mb=()=>jd(Xt("div",{style:"width: 200px;height: 200px;padding: 30px; background-color:#ffffff;"},Xt("yz-input",{placeholder:"请输入邮箱",validator:Ln}))),gb=()=>Hd(Xt("div",{style:"width: 200px;height: 200px;padding: 30px; background-color:#ffffff;"},Xt("yz-input",{placeholder:"请输入邮箱",validator:Ln})),{absoluteLeft:"50%",absoluteTop:"50%",absoluteWidth:"200px",absoluteHeight:"200px"});let Wd=!1;function qd(e){{const t=document.querySelector("yz-plate-keyboard#globalPlateKeyboard");if(t&&"_instance"in t){Wd||(Wd=!0,t.addEventListener("plates",n=>{"detail"in n&&e?.onPlates?.(n.detail[0])}),t.addEventListener("open",n=>{e?.onOpen?.()}),t.addEventListener("close",n=>{e?.onClose?.()}),t.addEventListener("resize",n=>{"detail"in n&&e?.onResize?.apply(t,n.detail)}));const o=t;o.initPlates=e?.initPlates,o.completePlateLength=e?.completePlateLength,t._instance.exposed.open()}return()=>{t&&"_instance"in t&&t._instance.exposed.close()}}}function yb(){return Kd().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Kd(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const vb=typeof Proxy=="function",bb="devtools-plugin:setup",_b="plugin:settings:set";let Xn,_l;function xb(){var e;return Xn!==void 0||(typeof window<"u"&&window.performance?(Xn=!0,_l=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(Xn=!0,_l=globalThis.perf_hooks.performance):Xn=!1),Xn}function kb(){return xb()?_l.now():Date.now()}class wb{constructor(t,o){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=o;const n={};if(t.settings)for(const a in t.settings){const l=t.settings[a];n[a]=l.defaultValue}const r=`__vue-devtools-plugin-settings__${t.id}`;let s=Object.assign({},n);try{const a=localStorage.getItem(r),l=JSON.parse(a);Object.assign(s,l)}catch{}this.fallbacks={getSettings(){return s},setSettings(a){try{localStorage.setItem(r,JSON.stringify(a))}catch{}s=a},now(){return kb()}},o&&o.on(_b,(a,l)=>{a===this.plugin.id&&this.fallbacks.setSettings(l)}),this.proxiedOn=new Proxy({},{get:(a,l)=>this.target?this.target.on[l]:(...i)=>{this.onQueue.push({method:l,args:i})}}),this.proxiedTarget=new Proxy({},{get:(a,l)=>this.target?this.target[l]:l==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(l)?(...i)=>(this.targetQueue.push({method:l,args:i,resolve:()=>{}}),this.fallbacks[l](...i)):(...i)=>new Promise(c=>{this.targetQueue.push({method:l,args:i,resolve:c})})})}async setRealTarget(t){this.target=t;for(const o of this.onQueue)this.target.on[o.method](...o.args);for(const o of this.targetQueue)o.resolve(await this.target[o.method](...o.args))}}function Cb(e,t){const o=e,n=Kd(),r=yb(),s=vb&&o.enableEarlyProxy;if(r&&(n.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!s))r.emit(bb,e,t);else{const a=s?new wb(o,r):null;(n.__VUE_DEVTOOLS_PLUGINS__=n.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:o,setupFn:t,proxy:a}),a&&t(a.proxiedTarget)}}/*!
57
+ `))}xv();const to=new Hr;let ca,ua,fa,da;Vd(document.documentElement,()=>{setTimeout(()=>{const o=getComputedStyle(document.documentElement),t=o.getPropertyValue("--sat");t!==ca&&to.emit("top",t),ca=t;const e=o.getPropertyValue("--sar");e!==ua&&to.emit("right",e),ua=e;const n=o.getPropertyValue("--sab");n!==fa&&to.emit("bottom",n),fa=n;const s=o.getPropertyValue("--sal");s!==da&&to.emit("left",s),da=s},0)});const ha={onTop:o=>(ca&&o(ca),to.on("top",o),()=>{to.off("top",o)}),onRight:o=>(ua&&o(ua),to.on("right",o),()=>{to.off("right",o)}),onBottom:o=>(fa&&o(fa),to.on("bottom",o),()=>{to.off("bottom",o)}),onLeft:o=>(da&&o(da),to.on("left",o),()=>{to.off("left",o)})},Xs=[];let Zd=S1;function kv(o){return Xs.length==0&&(Zd=Jt(document,"scroll",t=>{Xs.forEach(e=>e(t))})),Xs.push(o),()=>{rd(Xs,o),Xs.length==0&&Zd()}}async function wv(o,t,e={threshold:.5}){return new Promise(n=>{new IntersectionObserver((r,a)=>{t(r,a),n(()=>{a.unobserve(o)})},e).observe(o)})}async function pa(o,t){let e;const n=typeof t.threshold=="number"?t.threshold:.5;return wv(o,s=>{let r=s[0];if(s.length>1){const i=s.find(l=>l.isIntersecting);i&&(r=i)}const a=r.isIntersecting&&r.intersectionRatio>=n;e!==a&&(a?t?.onShow?.():t?.onHide?.()),e=a},{threshold:n,root:t.root})}function ma(o,t,e,n,s){const r=t/e;let a=0,i=0;switch(o){case"aspectFit":r>=1?(a=n,i=a/r,i>s&&(i=s,a=i*r)):(i=s,a=i*r,a>n&&(a=n,i=a/r));break;case"aspectFill":r>=1?(i=s,a=i*r):(a=n,i=a/r);break;case"widthFix":a=n,i=a/r;break;case"heightFix":i=s,a=i*r;break;case"scaleToFill":default:a=n,i=s;break}return{width:a,height:i}}function Cv(o){try{const t=document.createElement("canvas"),e=t.getContext("2d");return t.width=o.width,t.height=o.height,e.drawImage(o,0,0,t.width,t.height),e.getImageData(0,0,t.width,t.height)}catch{return new ImageData(o.width,o.height)}}class $l extends Un{shapesCountChange=!1;constructor(t){super(t)}shapeInit(){}frameStart(t){return this.shapesCountChange&&(this.shapesCountChange=!1,this.shapes.forEach(e=>{e.parent=this,e.initPathD()}),this.pathd=this.initPathD(),this.shapes.forEach(e=>{!e.forceCXY&&!e.independentTransformInGroup&&(e.cX=this.cX-e.diffXInGroup,e.cY=this.cY-e.diffYInGroup)})),super.frameStart(t)}frameUpdate(t,e){this.shapes.forEach(n=>{!n.independentTransformInGroup&&!n.isDragging&&(n.x=this.x+n.diffXInGroup,n.y=this.y+n.diffYInGroup,n.degree=this.degree+n.diffDegreeInGroup,n.scalarX=this.scalarX*n.diffScalarXInGroup,n.scalarY=this.scalarY*n.diffScalarYInGroup)}),super.frameUpdate(t,e)}addShape(t){(Array.isArray(t)?t:[t]).forEach(e=>{this.shapes.findIndex(n=>n.id==e.id)==-1&&(e.on("draging",(n,s)=>{this.enableDrag&&(this.x+=n,this.y+=s,this.emit("draging",n,s,e))}),this.shapes.push(e),this.shapesCountChange=!0)})}getBoundingClientRect(){const t=[],e=[];this.shapes.forEach(l=>{const c=l.getBoundingClientRect();c&&(t.push(c.x,c.x+c.width),e.push(c.y,c.y+c.height))});const n=this.pathd?.getBoundingClientRect();if(n&&(n.width||n.height)&&(t.push(n.x,n.x+n.width),e.push(n.y,n.y+n.height)),t.length==0||e.length==0)return null;const s=Math.min.apply(0,t),r=Math.min.apply(0,e),a=Math.max.apply(0,t),i=Math.max.apply(0,e);return{x:s,y:r,width:a-s,height:i-r}}setAttrs(t,e){typeof t!="string"?(super.setAttr(t),this.shapes.forEach(n=>{n.setAttr(t)})):e&&(super.setAttr(t,e),this.shapes.forEach(n=>{n.setAttr(t,e)}))}sortPathD(){this.shapes=this.shapes.map(t=>{const e=t.initPathD();return{shape:t,perimeter:e.perimeterPoints()}}).sort((t,e)=>e.perimeter-t.perimeter).map(t=>t.shape)}expendFill(t){const e=t.shapes.length,n=this.shapes.length;if(e<n)return t.expendFill(this);for(let s=n;s<e;s++){const a=t.shapes[s].initPathD().polymorphPoints,i=a[0],l=a[1],c=[["M",i,l]];for(let u=2;u+5<a.length;u+=6)c.push(["C",i,l,i,l,i,l]);this.addShape(new Un({attrs:{...t.shapes[s].getAttrs()},d:c}))}}strokeDashTween(t,e){switch(e?.type){case"sequence":const n=this.shapes.length-1;this.shapes.forEach((i,l)=>{i.strokeDashTween(t,{...e,delay:l,onStart:()=>{l==0&&e?.onGroupStart?.()},onUpdate:()=>{e?.onGroupUpdate?.()},onComplete:()=>{l==n&&e?.onGroupComplete?.()}})});break;case"parallel":default:const s=new Ze({frameDuration:t}),r={},a={};this.shapes.forEach((i,l)=>{const c=ke(i.getTotalLength(),0);r[`offset_${l}`]=c,a[`offset_${l}`]=0,i.setAttr({strokeDasharray:`${c} ${c}`,strokeDashoffset:`${c}`})}),s.addTween(r,a,Object.assign(e||{},{onStart:()=>{e?.onGroupStart?.()},onUpdate:(i,l)=>{for(const c in i){const u=Bn(c).number;this.shapes[u].setAttr("strokeDashoffset",""+ke(i[c],2))}e?.onGroupUpdate?.()},onComplete:()=>{e?.onGroupComplete?.()}})),s.play();break}}}const Tv={1:705234,2:8108026,3:6346665,4:16630114,5:16607842,6:16158139,7:2542847,8:10640125,9:16735870,10:8978266,11:16580418,12:16754221,13:16725759,14:14436630,15:6844849,16:13744437,17:1817755,18:16744272,19:4964291,20:16750848,aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};class Ie{static NAMES=Tv;_color={r:0,g:0,b:0,a:1};constructor(t,e){t&&this.setColor(t),this.setAlpha(e)}get color(){return this._color}set color(t){const e=`Color: Unknown color(${t}) type(${typeof t})`;if(typeof t=="number")this.setHEX(t);else if(typeof t=="string"){let n;if(n=/^(\w+)\(([^)]*)\)/.exec(t)){const s=n[2];let r;switch(n[1]){case"rgb":case"rgba":(r=/^\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(s))?(this.r=parseInt(r[1],10),this.g=parseInt(r[2],10),this.b=parseInt(r[3],10),this.a=r[4]?parseFloat(r[4]):1):(r=/^\s*(\d+)%\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(s))?(this.r=Vt(parseFloat(r[1]),0,100)*255/100,this.g=Vt(parseFloat(r[2]),0,100)*255/100,this.b=Vt(parseFloat(r[3]),0,100)*255/100,this.a=r[4]?parseFloat(r[4]):1):console.warn(e);break;case"hsl":case"hsla":(r=/^\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)%\s*,\s*(\d*\.?\d+)%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(s))?this.setHSL(parseFloat(r[1])/360,parseFloat(r[2])/100,parseFloat(r[3])/100,r[4]?parseFloat(r[4]):1):console.warn(e);break;case"hsv":case"hsva":case"hsb":case"hsba":(r=/^\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)%\s*,\s*(\d*\.?\d+)%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(s))?this.setHSV(parseFloat(r[1])/360,parseFloat(r[2])/100,parseFloat(r[3])/100,r[4]?parseFloat(r[4]):1):console.warn(e);break;default:console.warn(e)}}else if(n=/#([A-Fa-f0-9]+)/.exec(t)){const s=n[1],r=s.length;r===3?this.setRGB(parseInt(s.charAt(0),16),parseInt(s.charAt(1),16),parseInt(s.charAt(2),16),1):r===6||r===8?this.setHEX(parseInt(s,16)):console.warn(e)}else if(t&&t.length>0)try{this.setColorName(t)}catch{console.warn(e)}else console.warn(e)}else t instanceof Ie?this.setRGB(t.r,t.g,t.b,t.a):Object.prototype.hasOwnProperty.call(t,"r")&&Object.prototype.hasOwnProperty.call(t,"g")&&Object.prototype.hasOwnProperty.call(t,"b")?this.setRGB(t.r,t.g,t.b,Object.prototype.hasOwnProperty.call(t,"a")?t.a:1):Object.prototype.hasOwnProperty.call(t,"h")&&Object.prototype.hasOwnProperty.call(t,"s")&&Object.prototype.hasOwnProperty.call(t,"l")?this.setHSL(t.h,t.s,t.l,Object.prototype.hasOwnProperty.call(t,"a")?t.a:1):Object.prototype.hasOwnProperty.call(t,"h")&&Object.prototype.hasOwnProperty.call(t,"s")&&Object.prototype.hasOwnProperty.call(t,"v")?this.setHSV(t.h,t.s,t.v,Object.prototype.hasOwnProperty.call(t,"a")?t.a:1):Object.prototype.hasOwnProperty.call(t,"h")&&Object.prototype.hasOwnProperty.call(t,"s")&&Object.prototype.hasOwnProperty.call(t,"b")?this.setHSV(t.h,t.s,t.b,Object.prototype.hasOwnProperty.call(t,"a")?t.a:1):console.warn(e)}setColor(t){return this.color=t,this}set(t){return this.setColor(t)}get r(){return this._color.r}set r(t){try{this._color.r=Vt(Math.round(fo(t)),0,255)}catch{}}get g(){return this._color.g}set g(t){try{this._color.g=Vt(Math.round(fo(t)),0,255)}catch{}}get b(){return this._color.b}set b(t){try{this._color.b=Vt(Math.round(fo(t)),0,255)}catch{}}get a(){return this._color.a}set a(t){try{this._color.a=Vt(fo(t),0,1)}catch{}}setAlpha(t){return this.a=t,this}setFromVector3(t){return this.r=t.x,this.g=t.y,this.b=t.z,this}applyMatrix3(t){const e=this.r,n=this.g,s=this.b,r=t.value;return this.r=r[0]*e+r[3]*n+r[6]*s,this.g=r[1]*e+r[4]*n+r[7]*s,this.b=r[2]*e+r[5]*n+r[8]*s,this}fromBufferAttribute(t,e){return this.r=t.getX(e),this.g=t.getY(e),this.b=t.getZ(e),this}fromArray(t,e=0){return this.r=t[e],this.g=t[e+1],this.b=t[e+2],this.a=t[e+3],this}toArray(t=[],e=0){return t[e]=this.r,t[e+1]=this.g,t[e+2]=this.b,t[e+3]=this.a,t}toRGBString(){return this.a===1?`rgb(${this.r},${this.g},${this.b})`:`rgba(${this.r},${this.g},${this.b},${ke(this.a,6)})`}toHexString(){return this.a===1?("000000"+this.hex.toString(16)).slice(-6):("00000000"+this.hex.toString(16)).slice(-8)}toString(){return this.a===1?"#"+this.toHexString():this.toRGBString()}toColorSpaceString(t=Wn){Qd.fromWorkingColorSpace(Mt.copy(this),t);const e=Mt.r,n=Mt.g,s=Mt.b;return t!==Wn?`color(${t} ${e.toFixed(3)} ${n.toFixed(3)} ${s.toFixed(3)})`:this.toRGBString()}*[Symbol.iterator](){yield this.r,yield this.g,yield this.b,yield this.a}clone(){return new Ie(this.color)}copy(t){return this.setColor(t.color),this}copySRGBToLinear(t){return this.r=jn(t.r),this.g=jn(t.g),this.b=jn(t.b),this}copyLinearToSRGB(t){return this.r=Gn(t.r),this.g=Gn(t.g),this.b=Gn(t.b),this}convertSRGBToLinear(){return this.copySRGBToLinear(this),this}convertLinearToSRGB(){return this.copyLinearToSRGB(this),this}equals(t){return t.r===this.r&&t.g===this.g&&t.b===this.b&&t.a===this.a}add(t){return this.r=this.r+t.r,this.g=this.g+t.g,this.b=this.b+t.b,this}addColors(t,e){return this.r=t.r+e.r,this.g=t.g+e.g,this.b=t.b+e.b,this}addScalar(t){return this.r=this.r+t,this.g=this.g+t,this.b=this.b+t,this}setScalar(t){return this.r=t,this.g=t,this.b=t,this}sub(t){return this.r=this.r-t.r,this.g=this.g-t.g,this.b=this.b-t.b,this}multiply(t){return this.r=this.r*t.r,this.g=this.g*t.g,this.b=this.b*t.b,this}multiplyScalar(t){return this.r=this.r*t,this.g=this.g*t,this.b=this.b*t,this}opposite(t=!0,e="#000000",n="#ffffff"){if(t)return this.setColor(this.r*.299+this.g*.587+this.b*.114>186?e:n);{const{r:s,g:r,b:a}=this.color;return this.r=255-s,this.g=255-r,this.b=255-a,this}}lighten(t){t=Vt(t,0,1);const{r:e,g:n,b:s}=this.color;return this.r=e+(255-e)*t,this.g=n+(255-n)*t,this.b=s+(255-s)*t,this}darken(t){t=Vt(t,0,1);const{r:e,g:n,b:s}=this.color;return this.r=e*(1-t),this.g=n*(1-t),this.b=s*(1-t),this}lerp(t,e){e=Vt(e,0,1);const{r:n,g:s,b:r}=this.color;return this.r=n+(t.r-n)*e,this.g=s+(t.g-s)*e,this.b=r+(t.b-r)*e,this}lerpColors(t,e,n){return n=Vt(n,0,1),this.r=t.r+(e.r-t.r)*n,this.g=t.g+(e.g-t.g)*n,this.b=t.b+(e.b-t.b)*n,this}static gradient(t,e,n){try{return Mt.lerpColors(new Ie(t),new Ie(e),n).toString()}catch{return e}}static random(){return Mt.setHEX(Math.random()*16777215).toString()}static nextIndex=0;static next(t=Ie.nextIndex){Ie.nextIndex=t;const e=Object.keys(Ie.NAMES),n=e.length;return Mt.setHEX(Ie.NAMES[e[Ie.nextIndex++%n]]).toString()}setColorName(t){const e=Ie.NAMES[t.toLowerCase()];return e!==void 0?this.setHEX(e):t==="none"?this.a=0:(this.a=1,console.warn("Color.setColorName: Unknown color "+t)),this}static getColors(){return Object.values(Ie.NAMES).map(t=>Mt.setHEX(t).toString())}setRGB(t,e,n,s=1){return this.r=t,this.g=e,this.b=n,this.a=s,this}get rgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}setHEX(t){return t=Math.floor(t),t<16777216?(this.r=t>>16&255,this.g=t>>8&255,this.b=t&255,this.a=1):(this.r=t>>24&255,this.g=t>>16&255,this.b=t>>8&255,this.a=(t&255)/255),this}get hex(){let t=(this.r<<16)+(this.g<<8)+this.b;return this.a!==1&&(t=t<<8,t+=Math.round(this.a*255)),t}setHSL(t,e,n,s=1){const r=g1(t,1),a=Vt(e,0,1),i=Vt(n,0,1);if(a===0)this.r=i*255,this.g=i*255,this.b=i*255;else{const l=i<=.5?i*(1+a):i+a-i*a,c=2*i-l;this.r=Fl(c,l,r+1/3)*255,this.g=Fl(c,l,r)*255,this.b=Fl(c,l,r-1/3)*255}return this.a=s,this}getHSL(t){const e=this.r,n=this.g,s=this.b,r=Math.max(e,n,s)/255,a=Math.min(e,n,s)/255;let i,l;const c=(a+r)/2;if(a===r)i=0,l=0;else{const u=r-a;switch(l=c<=.5?u/(r+a):u/(2-r-a),r){case e:i=(n-s)/u+(n<s?6:0);break;case n:i=(s-e)/u+2;break;case s:default:i=(e-n)/u+4;break}i/=6}return t&&t.setHSL(i,l,c,this.a),{h:i,s:l,l:c,a:this.a}}offsetHSL(t,e,n){const s=this.getHSL();return this.setHSL(s.h+t,s.s+e,s.l+n)}lerpHSL(t,e){const n=this.getHSL(),s=t.getHSL(),r=il(n.h,s.h,e),a=il(n.s,s.s,e),i=il(n.l,s.l,e);return this.setHSL(r,a,i),this}setHSV(t,e,n,s=1){const r=Vt(t,0,1)*360,a=Vt(e,0,1),i=Vt(n,0,1),l=Math.floor(r/60)%6,c=r/60-Math.floor(r/60),u=i*(1-a),f=i*(1-c*a),d=i*(1-(1-c)*a),h=[[i,d,u],[f,i,u],[u,i,d],[u,f,i],[d,u,i],[i,u,f]][l];return this.r=h[0]*255,this.g=h[1]*255,this.b=h[2]*255,this.a=s,this}setHSB(t,e,n,s=1){this.setHSV(t,e,n,s)}getHSV(t){const{r:e,g:n,b:s,a:r}=this.color,a=Math.max(e,n,s),i=Math.min(e,n,s),l=a-i;let c;e===a?c=(n-s)/l:n===a?c=2+(s-e)/l:c=4+(e-n)/l,c/=6,c<0&&(c+=1);const u=l==0?0:c,f=a===0?0:l/a,d=a/255;return t&&t.setHSV(u,f,d,r),{h:u,s:f,v:d,a:r}}getHSB(t){const{h:e,s:n,v:s,a:r}=this.getHSV(t);return{h:e,s:n,b:s,a:r}}}const Mt=new Ie;function jn(o){return o<.04045?o*.0773993808:Math.pow(o*.9478672986+.0521327014,2.4)}function Gn(o){return o<.0031308?o*12.92:1.055*Math.pow(o,.41666)-.055}const Ev="",Wn="srgb",Ud="srgb-linear",Hd="linear",Nl="srgb",jd=new Ls().set(.4123908,.3575843,.1804808,.212639,.7151687,.0721923,.0193308,.1191948,.9505322),Gd=new Ls().set(3.2409699,-1.5373832,-.4986108,-.9692436,1.8759675,.0415551,.0556301,-.203977,1.0569715),Wd=[.64,.33,.3,.6,.15,.06],qd=[.2126,.7152,.0722],Kd=[.3127,.329],Qd={enabled:!0,workingColorSpace:Ud,spaces:{},convert:function(o,t,e){return this.enabled===!1||t===e||!t||!e||(this.spaces[t].transfer===Nl&&(o.r=jn(o.r),o.g=jn(o.g),o.b=jn(o.b)),this.spaces[t].primaries!==this.spaces[e].primaries&&(o.applyMatrix3(this.spaces[t].toXYZ),o.applyMatrix3(this.spaces[e].fromXYZ)),this.spaces[e].transfer===Nl&&(o.r=Gn(o.r),o.g=Gn(o.g),o.b=Gn(o.b))),o},fromWorkingColorSpace:function(o,t){return this.convert(o,this.workingColorSpace,t)},toWorkingColorSpace:function(o,t){return this.convert(o,t,this.workingColorSpace)},getPrimaries:function(o){return this.spaces[o].primaries},getTransfer:function(o){return o===Ev?Hd:this.spaces[o].transfer},getLuminanceCoefficients:function(o,t=this.workingColorSpace){return o.fromArray(this.spaces[t].luminanceCoefficients)},define:function(o){Object.assign(this.spaces,o)},_getMatrix:function(o,t,e){return o.copy(this.spaces[t].toXYZ).multiply(this.spaces[e].fromXYZ)},_getDrawingBufferColorSpace:function(o){return this.spaces[o].outputColorSpaceConfig.drawingBufferColorSpace},_getUnpackColorSpace:function(o=this.workingColorSpace){return this.spaces[o].workingColorSpaceConfig.unpackColorSpace}};Qd.define({[Ud]:{primaries:Wd,whitePoint:Kd,transfer:Hd,toXYZ:jd,fromXYZ:Gd,luminanceCoefficients:qd,workingColorSpaceConfig:{unpackColorSpace:Wn},outputColorSpaceConfig:{drawingBufferColorSpace:Wn}},[Wn]:{primaries:Wd,whitePoint:Kd,transfer:Nl,toXYZ:jd,fromXYZ:Gd,luminanceCoefficients:qd,outputColorSpaceConfig:{drawingBufferColorSpace:Wn}}});function Fl(o,t,e){return e<0&&(e+=1),e>1&&(e-=1),e<1/6?o+(t-o)*6*e:e<1/2?t:e<2/3?o+(t-o)*6*(2/3-e):o}class Sv extends Un{toX;toY;constructor(t){super(t),this.toX=t?.toX||0,this.toY=t?.toY||0;let e=this.toX-this.x,n=this.toY-this.y;return new Proxy(this,{set(s,r,a,i){switch(r){case"x":s.toX=a+e;break;case"y":s.toY=a+n;break;case"toX":e=a-s.x;break;case"toY":n=a-s.y;break}return Reflect.set(s,r,a,i)}})}toSVGPathData(){return[["m",0,0],["l",this.toX-this.x,this.toY-this.y]]}toCanvasContext(t){t.beginPath(),t.moveTo(0,0),t.lineTo(this.toX-this.x,this.toY-this.y)}intersection(t){const e=new Ed({x:this.x,y:this.y,toX:this.toX,toY:this.toY}),n=new Ed({x:t.x,y:t.y,toX:t.toX,toY:t.toY});return e.intersection(n)}}const Ov=Sv;class zl{video;constructor(t){this.video=t}setSrcObject(t){this.video.addEventListener("loadedmetadata",e=>{e.target}),this.video.srcObject=t}captureWebCamera(){navigator.mediaDevices.getUserMedia({video:!0}).then(t=>{this.setSrcObject(t)})}static async videoMediaChangeSupport(){return new Promise(t=>{const e=document.createElement("iframe"),n=document.createElement("video"),s=document.createElement("source"),r=new MediaSource;r.addEventListener("sourceopen",()=>t(!0)),s.src=URL.createObjectURL(r),s.media="(min-width:10px)",n.append(s),e.width="5",e.style.cssText="position: absolute; visibility: hidden;",document.documentElement.append(e),e.contentDocument?.body.append(n),setTimeout(()=>{e.width="15"}),setTimeout(()=>{e.remove(),t(!1)},1e3)})}static tryAutoPlayOrAutoPlayAfterClick(t){return new Promise(e=>{t.play().then(()=>{t.autoplay=!0,e(!0)}).catch(()=>{zl.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 Pv extends Un{extendDegree;radius;startDegree;endDegree;diffDegree;constructor(t){super(t),this.extendDegree=t?.extendDegree||0,this.x=(t.x||0)+t.width/2;const e=Math.min(t.width/2,t.height)-t.lineWidth;this.radius=Math.max(0,e-e*Math.abs(Math.sin(ee(this.extendDegree)))),this.y=(t.y||0)+t.height-t.lineWidth-this.radius*Math.abs(Math.sin(ee(this.extendDegree))),this.diffDegree=t.endDegree-t.startDegree,this.startDegree=180+t.startDegree-this.extendDegree,this.endDegree=180+t.endDegree+this.extendDegree,this.setAttr({"stroke-linecap":"round","stroke-width":String(t.lineWidth),stroke:t.color||"none"})}setPercent(t){this.endDegree=this.startDegree+(this.diffDegree+this.extendDegree*2)*t}toSVGPathData(){const{dx:t,dy:e}=Xn(ee(this.startDegree),this.radius),{dx:n,dy:s}=Xn(ee(this.endDegree),this.radius);return[["m",t,e],["a",this.radius,this.radius,0,Math.abs(this.endDegree-this.startDegree)>=180?1:0,1,n-t,s-e]]}toCanvasContext(t){t.beginPath(),t.arc(0,0,this.radius,ee(this.startDegree),ee(this.endDegree),!1)}}const Jd=Pv;let Rv=class extends $l{percent=0;ringBg;ring;lines=[];bgColor;startColor;endColor;indicatorLineCount;constructor(t){super(t);const e=t?.startDegree||0,n=t?.endDegree||180,s=t?.extendDegree||15,r=t?.lineWidth||12;this.bgColor=t?.bgColor||"#B3C6E7",this.startColor=t?.startColor||"#5A82F0",this.endColor=t?.endColor||"#66B3FF",this.percent=t?.percent||0,this.indicatorLineCount=22+1;const a=20,i=2,l=17;this.ringBg=new Jd({...t,x:t?.x,y:t?.y,width:t.width,height:t.height,startDegree:e,endDegree:n,extendDegree:s,lineWidth:r,color:this.bgColor}),this.addShape(this.ringBg),this.ring=new Jd({...t,x:t?.x,y:t?.y,width:t.width,height:t.height,startDegree:e,endDegree:n,extendDegree:s,lineWidth:r}),this.addShape(this.ring);const c=this.ringBg.y-this.ringBg.radius+a;for(let u=0;u<this.indicatorLineCount;u++)this.lines.push(new Ov({...t,centerX:this.ringBg.x,centerY:this.ringBg.y,x:this.ringBg.x,y:c,toX:this.ringBg.x,toY:c+l,degree:this.ringBg.startDegree+90+(n-e+s*2)/(this.indicatorLineCount-1)*u,attrs:{"stroke-linecap":"round","stroke-width":String(i),stroke:this.bgColor}}));this.addShape(this.lines)}setPercent(t){this.percent=t}shapeInit(){this.on("draging",(t,e,n)=>{this.shapes.forEach(s=>{s!=n&&(s.x+=t,s.y+=e)})})}frameUpdate(t,e){const n=this.ringBg.radius-this.ringBg.radius*Math.cos(Math.PI*this.percent),s=this.ringBg.radius*Math.sin(Math.PI*this.percent);if(e){const r=e.createLinearGradient(-this.ringBg.radius,0,-this.ringBg.radius+n,-s,{0:this.startColor,1:this.endColor});this.ring.setAttr({stroke:this.startColor==this.endColor||this.percent==1?this.startColor:r})}else this.ring.setAttr({stroke:this.startColor});this.ring.setPercent(this.percent);for(let r=0;r<this.indicatorLineCount;r++){const a=r/(this.indicatorLineCount-1)<=this.percent;this.lines[r].setAttr({stroke:a&&e?e.createLinearGradient(0,0,this.lines[r].toX-this.lines[r].x,this.lines[r].toY-this.lines[r].y,{0:this.startColor,1:this.endColor}):a?this.startColor:this.bgColor})}}};class Iv extends Un{radius;startDegree;endDegree;constructor(t){super(t),this.x=(t.x||0)+t.width/2,this.y=(t.y||0)+t.height/2,this.radius=Math.max(0,Math.min(t.width/2,t.height/2)-t.lineWidth),this.startDegree=-90+t.startDegree,this.endDegree=-90+t.endDegree,this.setAttr({"stroke-linecap":"round","stroke-width":String(t.lineWidth),stroke:t.color||"none"})}setPercent(t){this.endDegree=this.startDegree+360*t}toSVGPathData(){const{dx:t,dy:e}=Xn(ee(this.startDegree),this.radius),{dx:n,dy:s}=Xn(ee(this.endDegree),this.radius);return[["m",t,e],["a",this.radius,this.radius,0,Math.abs(this.endDegree-this.startDegree)>=180?1:0,1,n-t,s-e]]}toCanvasContext(t){t.beginPath(),t.arc(0,0,this.radius,ee(this.startDegree),ee(this.endDegree),!1)}}const th=Iv;let Av=class extends $l{percent=0;ringBg;ring;bgColor;startColor;endColor;constructor(t){super(t);const e=t?.lineWidth||12;this.bgColor=t?.bgColor||"#B3C6E7",this.startColor=t?.startColor||"#5A82F0",this.endColor=t?.endColor||"#66B3FF",this.percent=t?.percent||0,this.ringBg=new th({...t,x:t?.x,y:t?.y,width:t.width,height:t.height,startDegree:0,endDegree:360,lineWidth:e,color:this.bgColor}),this.addShape(this.ringBg),this.ring=new th({...t,x:t?.x,y:t?.y,width:t.width,height:t.height,startDegree:0,endDegree:0,lineWidth:e}),this.addShape(this.ring)}setPercent(t){this.percent=t}shapeInit(){this.on("draging",(t,e,n)=>{this.shapes.forEach(s=>{s!=n&&(s.x+=t,s.y+=e)})})}frameUpdate(t,e){const n=this.ringBg.radius*Math.sin(2*Math.PI*this.percent),s=this.ringBg.radius*Math.cos(2*Math.PI*this.percent);if(e){const r=e.createLinearGradient(0,-this.ringBg.radius,n,-s,{0:this.startColor,1:this.endColor});this.ring.setAttr({stroke:this.startColor==this.endColor||this.percent==1?this.startColor:r})}else this.ring.setAttr({stroke:this.startColor});this.ring.setPercent(this.percent)}};function $v(o){return window.URL.createObjectURL(o)}const eh=new dl;async function oh(o,t=6e4){return new Promise((e,n)=>{const s=typeof o=="string"?o:$v(o),r=eh.get(s);if(r)return e(r);const a=document.createElement("img");a.onload=l=>{clearTimeout(i);const c=a.naturalWidth||a.width,u=a.naturalHeight||a.height,f={width:c,height:u,aspectRatio:c/u,element:a,imageData:Cv(a)};eh.set(s,f),e(f),a.onerror=a.onload=null},a.onerror=l=>{clearTimeout(i),n(l)},a.src=s;const i=setTimeout(()=>{n("Timeout!")},t)})}async function Nv(o,t=6e4){return new Promise((e,n)=>{const s=document.createElement("script");s.type="text/javascript",s.async=!1,s.onload=a=>{clearTimeout(r),e(a),s.onerror=s.onload=null},s.onerror=a=>{clearTimeout(r),n(a)},s.src=o;const r=setTimeout(()=>{n("Timeout!")},t);document.body.appendChild(s)})}async function Fv(o,t=document.getElementsByTagName("head")[0],e=6e4){return new Promise((n,s)=>{const r=document.createElement("link");r.setAttribute("type","text/css"),r.setAttribute("rel","stylesheet"),r.onload=i=>{clearTimeout(a),n(i),r.onerror=r.onload=null},r.onerror=i=>{clearTimeout(a),s(i)},r.setAttribute("href",o);const a=setTimeout(()=>{s("Timeout!")},e);t.appendChild(r)})}function nh(o,t){const e=document.createElement("a");e.style.visibility="hidden",e.download=t,typeof o=="string"?e.href=o:e.href=window.URL.createObjectURL(o),e.click()}function ga(o,t){return new RegExp("(?:^|\\s+)"+t+"(?:\\s+|$)").test(o.className)||!1}function ya(o){return{el:o,isRoot:()=>/(html|body)/i.test(o.tagName)||o===document.documentElement,isActive:()=>o===document.activeElement&&(o.type||o.href),getRemSize:function(){return parseFloat(getComputedStyle(document.documentElement).fontSize)},rem2px:function(t){return t*this.getRemSize()},getEmSize:function(){return o.parentElement?parseFloat(getComputedStyle(o.parentElement).fontSize):this.getRemSize()},nearestElement:()=>{let t=o;for(;t&&t.nodeType!==1&&t.parentElement;)t=t.parentElement;return t},parent:()=>o.parentElement,parents:function(t=o,e=[]){return!t||t.parentElement===null?e:this.parents(t.parentElement,e.concat([t]))},scrollParent:function(){const t=this.parents();for(let e=0,n=t.length;e<n;e++)if(/(auto|scroll)/.test(Il(t[e],"overflow")+Il(t[e],"overflow-y")+Il(t[e],"overflow-x")))return t[e];return document.scrollingElement||document.documentElement},contains:t=>o.contains?o!=t&&o.contains(t):!!(o.compareDocumentPosition(t)&16),siblings:()=>Array.prototype.slice.call(o.parentElement?.children).filter(t=>t!==o),nextElementSibling:()=>o.nextElementSibling,previousElementSibling:()=>o.previousElementSibling,closest:t=>o.closest(t),shadowRoot:()=>o.shadowRoot,isInput:()=>o.tagName==="INPUT"||o instanceof HTMLInputElement,isSelect:()=>o.tagName==="SELECT"||o instanceof HTMLSelectElement,isTextArea:()=>o.tagName==="TEXTAREA"||o instanceof HTMLTextAreaElement,isInputCheckbox:function(){return this.isInput(o)&&o.getAttribute("type")==="checkbox"},isInputRadio:function(){return this.isInput(o)&&o.getAttribute("type")==="radio"},isInputText:function(){return this.isInput(o)&&o.getAttribute("type")==="text"},isInputNumber:function(){return this.isInput(o)&&o.getAttribute("type")==="number"},changeSelected:function(t){if(this.isSelect()){const e=o.options;for(let n=0,s=e.length;n<s;n++)e[n].selected=e[n].value==t}},changeRadioChecked:function(t){if(this.isInputRadio()){const e=document.getElementsByName(o.name);for(let n=0,s=e.length;n<s;n++){const r=e[n];r.checked=r.value==t}}},changeCheckboxChecked:function(t){this.isInputCheckbox()&&(o.checked=t)},insert:(t,e="append")=>{typeof t=="string"?o[e](zv(t)):o[e](t)},html:function(t){if(typeof t=="string"){o.innerHTML=t;const e=sh(o);e!=o&&(o=e)}else this.insert(t,"replaceWith")},empty:function(){this.html("")},text:t=>{o.textContent=t},getInnerText:()=>{if(o instanceof SVGElement)return"";let t=o.innerText;if(!t){const e=o.querySelector("slot")?.assignedNodes()||[];let n=0;for(;!t&&n<=e.length-1;)"innerText"in e[n]&&(t=e[n].innerText),n++}return t},remove:()=>o.remove()}}function zv(o,t=!1){const e=document.createElement("template");return e.innerHTML=o,t&&e.content.childNodes.forEach(n=>{const s=sh(n);s!=n&&e.content.replaceChild(s,n)}),e.content}function sh(o){return o.tagName=="SCRIPT"&&(o=rh(o)),o.querySelectorAll&&o.querySelectorAll("script").forEach(t=>{t.parentNode?.replaceChild(rh(t),t)}),o}function rh(o){const t=o.ownerDocument.createElement("script");t.text=o.text;const e=o.attributes;for(let n=0,s=e.length;n<s;n++)t.setAttribute(e[n].name,e[n].value);return t}async function Dl(o){if(navigator.clipboard)return await navigator.clipboard.writeText(o);{const t=document.createElement("textarea");return t.value=o,t.style.opacity="0",t.style.position="fixed",t.style.top="0",t.style.left="0",t.focus(),t.select(),document.execCommand("copy")}}function Dv(o,t={},e=[],n){return{tag:o,props:t,children:e,el:n}}function Ml(o){return Dv(o.tagName,Dd(o),Array.from(o.children).map(t=>Ml(t)),o)}function va(o,t=document.documentElement){if(o.el)return o.el;if(o.el=document.createElement(o.tag),o.props)for(const e in o.props){const n=o.props[e];e.startsWith("on")?o.el.addEventListener(e.slice(2).toLowerCase(),n):e==="style"?Bs(o.el,o.props[e]):aa(o.el,e,n)}return o.children&&(typeof o.children=="string"?o.el.appendChild(document.createTextNode(o.children)):o.children.forEach(e=>{va(e,o.el)})),t.appendChild(o.el),o.el}function ah(o,t){if(!o.el)return;if(o.tag!==t.tag){(o.el.parentElement||document.body).replaceChild(va(t),o.el);return}const e=t.el=o.el,n=o.props,s=t.props;for(const i in n)i in s||(i.startsWith("on")?e.removeEventListener(i.slice(2).toLowerCase(),n[i]):e.removeAttribute(i));for(const i in s){const l=n[i],c=s[i];if(c!=l)if(i.startsWith("on")){const u=i.slice(2).toLowerCase();e.removeEventListener(u,l),e.addEventListener(u,c)}else if(i==="style"){for(const u in l)u in c||zd(e,u);Bs(e,c)}else aa(e,i,c)}const r=o.children||[],a=t.children||[];if(typeof a=="string")e.innerHTML=a;else if(typeof r=="string")e.innerHTML="",a.forEach(i=>{va(i,e)});else{const i=Math.min(r.length,a.length);for(let l=0;l<i;l++)ah(r[l],a[l]);a.length>r.length&&a.slice(r.length).forEach(l=>{va(l,e)}),a.length<r.length&&r.slice(a.length).forEach(l=>{l.el&&e.removeChild(l.el)})}}function ih(o){const t=document.documentElement,e=window.top===window.self?window.devicePixelRatio:1;t.dataset.dpr=e;let n=100;const s=function(){const r=Math.min(t.clientWidth,o);t.dataset.width=r,t.dataset.rem=n=Math.round(100*(r/o)),t.style.fontSize=n+"px"};s(),window.rem2px=function(r){return r=parseFloat(r),r*n},window.px2rem=function(r){return r=parseFloat(r),r/n},window.addEventListener&&window.addEventListener("orientationchange"in window?"orientationchange":"resize",s,!1)}class lh{controller;ctx;shapes=[];currentMouseInShape;currentEnableDragMouseInShape;dragDx=0;dragDy=0;constructor(t,e=!1){if(this.controller=t,!(this.controller.el instanceof HTMLCanvasElement))throw new Error("el 应该为 HTMLCanvasElement!");this.ctx=new ov(this.controller.el,this.controller.rect.width,this.controller.rect.height,e),En(this.controller,{start:()=>{this.dragDx=0,this.dragDy=0,this.setCursor()},end:()=>{this.dragDx=0,this.dragDy=0,this.setCursor()},move:()=>{this.currentEnableDragMouseInShape&&(this.dragDx+=this.controller.mousePoint.dx,this.dragDy+=this.controller.mousePoint.dy),this.setCursor()}}),this.controller.eb.on("tap",()=>{for(const n of this.shapes)if(this.currentMouseInShape==n){n.emit("clicked",n);let s=n.parent;for(;s;)s.emit("clicked",n),s=s.parent;break}})}setCursor(){this.currentEnableDragMouseInShape?(this.controller.el.style.cursor="grab",this.controller.mousePoint.isDown&&(this.controller.el.style.cursor="grabbing")):this.currentMouseInShape?this.controller.el.style.cursor="pointer":this.controller.el.style.cursor="default"}transformCtxBaseOnShape(t){t.usePathDtoCanvasContext||(this.ctx.translate(t.x,t.y),this.ctx.rotate(ee(t.degree),t.cX,t.cY),this.ctx.scale(t.scalarX,t.scalarY,t.cX,t.cY))}_addDrawShape(t){this.shapes.push(t),t instanceof $l&&t.shapes.forEach(e=>{this._addDrawShape(e)})}draw(t=[]){this.shapes=[],(Array.isArray(t)?t:[t]).forEach(e=>{this._addDrawShape(e)}),this.controller.mousePoint.isDown&&this.currentEnableDragMouseInShape||(this.currentMouseInShape=void 0);for(const e of this.shapes){if(!e.isShow)continue;if(this.ctx.save(),e.frameStart(this.controller.mousePoint),Mv(this.ctx,e.getAttrs()),e.followMouse&&(!ld(e.x,this.controller.mousePoint.x,5)||!ld(e.y,this.controller.mousePoint.y,5))&&e.followTo(this.controller.mousePoint),e.targetToAfterDragFree&&(this.controller.mousePoint.isDown||e.runEaseTo({x:e.targetToAfterDragFree.targetX,y:e.targetToAfterDragFree.targetY},{easing:e.targetToAfterDragFree?.easing})),this.controller.mousePoint.isDown&&this.currentEnableDragMouseInShape==e){e.isDragging=!0;const s=this.dragDx,r=this.dragDy;if(this.dragDx=0,this.dragDy=0,s||r){if(e.x+=s,e.y+=r,e.alongPath){const a=e.alongPath.closestPoint(e.x,e.y);e.x=a.point.x-e.cX,e.y=a.point.y-e.cY}e.emit("draging",s,r)}}else e.isDragging=!1;e.frameUpdate(this.controller.mousePoint,this.ctx),this.transformCtxBaseOnShape(e),e.toCanvasContext(this.ctx),this.ctx.hasSetCustomStrokeStyle&&this.ctx.stroke(),this.ctx.hasSetCustomFillStyle&&this.ctx.fill();const n=this.ctx.currentPath2D;if(!this.currentMouseInShape){const s=this.ctx.isPointInPath(n,this.controller.mousePoint.x,this.controller.mousePoint.y)||this.ctx.isPointInStroke(n,this.controller.mousePoint.x,this.controller.mousePoint.y)||!1;e.isMouseIn=s,s&&(this.currentMouseInShape=e,e.enableDrag&&(this.currentEnableDragMouseInShape=e))}e.frameEnd(this.controller.mousePoint),this.ctx.restore()}this.currentMouseInShape||(this.currentEnableDragMouseInShape=void 0)}drawMouseMoveLine(t="line",e){switch(t){case"brush":const n=e?.brushSize??10,s=e?.brushDensity??50,r=e?.brushColor??"#000000",a=this.ctx.getImageData(0,0,this.ctx.canvas.width,this.ctx.canvas.height),i=a.data,l=new Ie(r);En(this.controller,{move:c=>{for(let u=0;u<s;u++){const f=Math.random()*Math.PI*2,d=Math.random()*n,h=this.controller.mousePoint.x+Math.cos(f)*d|0,p=this.controller.mousePoint.y+Math.sin(f)*d|0,b=(h+p*a.width)*4;i[b]=l.r,i[b+1]=l.g,i[b+2]=l.b,i[b+3]=255}this.ctx.putImageData(a)}});break;case"line":default:En(this.controller,{start:()=>{this.ctx.beginPath(),this.ctx.moveTo(this.controller.mousePoint.x,this.controller.mousePoint.y)},end:()=>{this.ctx.closePath()},move:()=>{this.ctx.lineTo(this.controller.mousePoint.x,this.controller.mousePoint.y),this.ctx.stroke()}})}}}function Mv(o,t){for(const e in t){const n=t[e];switch(e){case"fill":n!=="none"&&(o.fillStyle=n);break;case"stroke":n!=="none"&&(o.strokeStyle=n);break;case"stroke-width":case"strokeWidth":o.lineWidth=Number(n);break;case"stroke-linecap":case"strokeLinecap":o.lineCap=n;break;case"stroke-linejoin":case"strokeLinejoin":switch(n){case"round":case"bevel":case"miter":o.lineJoin=n;break;default:o.lineJoin="miter";break}break;case"stroke-miterlimit":case"strokeMiterlimit":o.miterLimit=Number(n);break;case"stroke-opacity":case"strokeOpacity":break;case"stroke-dashoffset":case"strokeDashoffset":o.lineDashOffset=Number(n);break;case"stroke-dasharray":case"strokeDasharray":typeof n=="string"&&o.setLineDash(n.split(/\s+/).map(s=>Number(s)));break;case"cursor":break;case"font":typeof n=="string"&&(o.font=n);break;case"font-size":case"fontSize":o.font+=` ${n}`;break;case"font-family":case"fontFamily":o.font+=` ${n}`;break;case"font-weight":case"fontWeight":break;case"font-style":case"fontStyle":break;case"text-anchor":case"textAnchor":switch(n){case"middle":o.textAlign="center";break;case"end":o.textAlign="end";break;case"start":o.textAlign="start";break}break;case"alignment-baseline":case"alignmentBaseline":switch(n){case"middle":case"bottom":case"top":case"alphabetic":case"hanging":case"ideographic":o.textBaseline=n;break;default:o.textBaseline="alphabetic";break}break}}}class Lv{map;constructor(t,e=120.619585,n=31.299379,s=18){this.map=new T.Map(t),this.map.centerAndZoom(new T.LngLat(e,n),s)}}function Bv(){return ch().__VUE_DEVTOOLS_GLOBAL_HOOK__}function ch(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const Vv=typeof Proxy=="function",Yv="devtools-plugin:setup",Xv="plugin:settings:set";let qn,Ll;function Zv(){var o;return qn!==void 0||(typeof window<"u"&&window.performance?(qn=!0,Ll=window.performance):typeof globalThis<"u"&&(!((o=globalThis.perf_hooks)===null||o===void 0)&&o.performance)?(qn=!0,Ll=globalThis.perf_hooks.performance):qn=!1),qn}function Uv(){return Zv()?Ll.now():Date.now()}class Hv{constructor(t,e){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=e;const n={};if(t.settings)for(const a in t.settings){const i=t.settings[a];n[a]=i.defaultValue}const s=`__vue-devtools-plugin-settings__${t.id}`;let r=Object.assign({},n);try{const a=localStorage.getItem(s),i=JSON.parse(a);Object.assign(r,i)}catch{}this.fallbacks={getSettings(){return r},setSettings(a){try{localStorage.setItem(s,JSON.stringify(a))}catch{}r=a},now(){return Uv()}},e&&e.on(Xv,(a,i)=>{a===this.plugin.id&&this.fallbacks.setSettings(i)}),this.proxiedOn=new Proxy({},{get:(a,i)=>this.target?this.target.on[i]:(...l)=>{this.onQueue.push({method:i,args:l})}}),this.proxiedTarget=new Proxy({},{get:(a,i)=>this.target?this.target[i]:i==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(i)?(...l)=>(this.targetQueue.push({method:i,args:l,resolve:()=>{}}),this.fallbacks[i](...l)):(...l)=>new Promise(c=>{this.targetQueue.push({method:i,args:l,resolve:c})})})}async setRealTarget(t){this.target=t;for(const e of this.onQueue)this.target.on[e.method](...e.args);for(const e of this.targetQueue)e.resolve(await this.target[e.method](...e.args))}}function jv(o,t){const e=o,n=ch(),s=Bv(),r=Vv&&e.enableEarlyProxy;if(s&&(n.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!r))s.emit(Yv,o,t);else{const a=r?new Hv(e,s):null;(n.__VUE_DEVTOOLS_PLUGINS__=n.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:e,setupFn:t,proxy:a}),a&&t(a.proxiedTarget)}}/*!
60
58
  * vue-router v4.5.0
61
59
  * (c) 2024 Eduardo San Martin Morote
62
60
  * @license MIT
63
- */const Do=typeof document<"u";function Qd(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Tb(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Qd(e.default)}const Zt=Object.assign;function xl(e,t){const o={};for(const n in t){const r=t[n];o[n]=Ue(r)?r.map(e):e(r)}return o}const Dr=()=>{},Ue=Array.isArray;function $t(e){const t=Array.from(arguments).slice(1);console.warn.apply(console,["[Vue Router warn]: "+e].concat(t))}const Jd=/#/g,Eb=/&/g,Sb=/\//g,Ob=/=/g,Pb=/\?/g,tp=/\+/g,Rb=/%5B/g,Ib=/%5D/g,ep=/%5E/g,Ab=/%60/g,op=/%7B/g,$b=/%7C/g,np=/%7D/g,Nb=/%20/g;function kl(e){return encodeURI(""+e).replace($b,"|").replace(Rb,"[").replace(Ib,"]")}function Db(e){return kl(e).replace(op,"{").replace(np,"}").replace(ep,"^")}function wl(e){return kl(e).replace(tp,"%2B").replace(Nb,"+").replace(Jd,"%23").replace(Eb,"%26").replace(Ab,"`").replace(op,"{").replace(np,"}").replace(ep,"^")}function Fb(e){return wl(e).replace(Ob,"%3D")}function Lb(e){return kl(e).replace(Jd,"%23").replace(Pb,"%3F")}function zb(e){return e==null?"":Lb(e).replace(Sb,"%2F")}function Zn(e){try{return decodeURIComponent(""+e)}catch{({}).NODE_ENV!=="production"&&$t(`Error decoding "${e}". Using original value`)}return""+e}const Mb=/\/$/,Bb=e=>e.replace(Mb,"");function Cl(e,t,o="/"){let n,r={},s="",a="";const l=t.indexOf("#");let i=t.indexOf("?");return l<i&&l>=0&&(i=-1),i>-1&&(n=t.slice(0,i),s=t.slice(i+1,l>-1?l:t.length),r=e(s)),l>-1&&(n=n||t.slice(0,l),a=t.slice(l,t.length)),n=Xb(n??t,o),{fullPath:n+(s&&"?")+s+a,path:n,query:r,hash:Zn(a)}}function Yb(e,t){const o=t.query?e(t.query):"";return t.path+(o&&"?")+o+(t.hash||"")}function rp(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function sp(e,t,o){const n=t.matched.length-1,r=o.matched.length-1;return n>-1&&n===r&&tn(t.matched[n],o.matched[r])&&ap(t.params,o.params)&&e(t.query)===e(o.query)&&t.hash===o.hash}function tn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ap(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const o in e)if(!Vb(e[o],t[o]))return!1;return!0}function Vb(e,t){return Ue(e)?ip(e,t):Ue(t)?ip(t,e):e===t}function ip(e,t){return Ue(t)?e.length===t.length&&e.every((o,n)=>o===t[n]):e.length===1&&e[0]===t}function Xb(e,t){if(e.startsWith("/"))return e;if({}.NODE_ENV!=="production"&&!t.startsWith("/"))return $t(`Cannot resolve a relative location without an absolute path. Trying to resolve "${e}" from "${t}". It should look like "/${t}".`),e;if(!e)return t;const o=t.split("/"),n=e.split("/"),r=n[n.length-1];(r===".."||r===".")&&n.push("");let s=o.length-1,a,l;for(a=0;a<n.length;a++)if(l=n[a],l!==".")if(l==="..")s>1&&s--;else break;return o.slice(0,s).join("/")+"/"+n.slice(a).join("/")}const en={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Fr;(function(e){e.pop="pop",e.push="push"})(Fr||(Fr={}));var Lr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Lr||(Lr={}));function Zb(e){if(!e)if(Do){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Bb(e)}const Gb=/^[^#]+#/;function Ub(e,t){return e.replace(Gb,"#")+t}function jb(e,t){const o=document.documentElement.getBoundingClientRect(),n=e.getBoundingClientRect();return{behavior:t.behavior,left:n.left-o.left-(t.left||0),top:n.top-o.top-(t.top||0)}}const la=()=>({left:window.scrollX,top:window.scrollY});function Hb(e){let t;if("el"in e){const o=e.el,n=typeof o=="string"&&o.startsWith("#");if({}.NODE_ENV!=="production"&&typeof e.el=="string"&&(!n||!document.getElementById(e.el.slice(1))))try{const s=document.querySelector(e.el);if(n&&s){$t(`The selector "${e.el}" should be passed as "el: document.querySelector('${e.el}')" because it starts with "#".`);return}}catch{$t(`The selector "${e.el}" is invalid. If you are using an id selector, make sure to escape it. You can find more information about escaping characters in selectors at https://mathiasbynens.be/notes/css-escapes or use CSS.escape (https://developer.mozilla.org/en-US/docs/Web/API/CSS/escape).`);return}const r=typeof o=="string"?n?document.getElementById(o.slice(1)):document.querySelector(o):o;if(!r){({}).NODE_ENV!=="production"&&$t(`Couldn't find element using selector "${e.el}" returned by scrollBehavior.`);return}t=jb(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function lp(e,t){return(history.state?history.state.position-t:-1)+e}const Tl=new Map;function Wb(e,t){Tl.set(e,t)}function qb(e){const t=Tl.get(e);return Tl.delete(e),t}let Kb=()=>location.protocol+"//"+location.host;function cp(e,t){const{pathname:o,search:n,hash:r}=t,s=e.indexOf("#");if(s>-1){let l=r.includes(e.slice(s))?e.slice(s).length:1,i=r.slice(l);return i[0]!=="/"&&(i="/"+i),rp(i,"")}return rp(o,e)+n+r}function Qb(e,t,o,n){let r=[],s=[],a=null;const l=({state:d})=>{const h=cp(e,location),p=o.value,w=t.value;let x=0;if(d){if(o.value=h,t.value=d,a&&a===p){a=null;return}x=w?d.position-w.position:0}else n(h);r.forEach(v=>{v(o.value,p,{delta:x,type:Fr.pop,direction:x?x>0?Lr.forward:Lr.back:Lr.unknown})})};function i(){a=o.value}function c(d){r.push(d);const h=()=>{const p=r.indexOf(d);p>-1&&r.splice(p,1)};return s.push(h),h}function u(){const{history:d}=window;d.state&&d.replaceState(Zt({},d.state,{scroll:la()}),"")}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:i,listen:c,destroy:f}}function up(e,t,o,n=!1,r=!1){return{back:e,current:t,forward:o,replaced:n,position:window.history.length,scroll:r?la():null}}function Jb(e){const{history:t,location:o}=window,n={value:cp(e,o)},r={value:t.state};r.value||s(n.value,{back:null,current:n.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(i,c,u){const f=e.indexOf("#"),d=f>-1?(o.host&&document.querySelector("base")?e:e.slice(f))+i:Kb()+e+i;try{t[u?"replaceState":"pushState"](c,"",d),r.value=c}catch(h){({}).NODE_ENV!=="production"?$t("Error with push/replace State",h):console.error(h),o[u?"replace":"assign"](d)}}function a(i,c){const u=Zt({},t.state,up(r.value.back,i,r.value.forward,!0),c,{position:r.value.position});s(i,u,!0),n.value=i}function l(i,c){const u=Zt({},r.value,t.state,{forward:i,scroll:la()});({}).NODE_ENV!=="production"&&!t.state&&$t(`history.state seems to have been manually replaced without preserving the necessary values. Make sure to preserve existing history state if you are manually calling history.replaceState:
61
+ */const Mo=typeof document<"u";function uh(o){return typeof o=="object"||"displayName"in o||"props"in o||"__vccOpts"in o}function Gv(o){return o.__esModule||o[Symbol.toStringTag]==="Module"||o.default&&uh(o.default)}const Ut=Object.assign;function Bl(o,t){const e={};for(const n in t){const s=t[n];e[n]=He(s)?s.map(o):o(s)}return e}const Zs=()=>{},He=Array.isArray;function At(o){const t=Array.from(arguments).slice(1);console.warn.apply(console,["[Vue Router warn]: "+o].concat(t))}const fh=/#/g,Wv=/&/g,qv=/\//g,Kv=/=/g,Qv=/\?/g,dh=/\+/g,Jv=/%5B/g,tb=/%5D/g,hh=/%5E/g,eb=/%60/g,ph=/%7B/g,ob=/%7C/g,mh=/%7D/g,nb=/%20/g;function Vl(o){return encodeURI(""+o).replace(ob,"|").replace(Jv,"[").replace(tb,"]")}function sb(o){return Vl(o).replace(ph,"{").replace(mh,"}").replace(hh,"^")}function Yl(o){return Vl(o).replace(dh,"%2B").replace(nb,"+").replace(fh,"%23").replace(Wv,"%26").replace(eb,"`").replace(ph,"{").replace(mh,"}").replace(hh,"^")}function rb(o){return Yl(o).replace(Kv,"%3D")}function ab(o){return Vl(o).replace(fh,"%23").replace(Qv,"%3F")}function ib(o){return o==null?"":ab(o).replace(qv,"%2F")}function Kn(o){try{return decodeURIComponent(""+o)}catch{({}).NODE_ENV!=="production"&&At(`Error decoding "${o}". Using original value`)}return""+o}const lb=/\/$/,cb=o=>o.replace(lb,"");function Xl(o,t,e="/"){let n,s={},r="",a="";const i=t.indexOf("#");let l=t.indexOf("?");return i<l&&i>=0&&(l=-1),l>-1&&(n=t.slice(0,l),r=t.slice(l+1,i>-1?i:t.length),s=o(r)),i>-1&&(n=n||t.slice(0,i),a=t.slice(i,t.length)),n=db(n??t,e),{fullPath:n+(r&&"?")+r+a,path:n,query:s,hash:Kn(a)}}function ub(o,t){const e=t.query?o(t.query):"";return t.path+(e&&"?")+e+(t.hash||"")}function gh(o,t){return!t||!o.toLowerCase().startsWith(t.toLowerCase())?o:o.slice(t.length)||"/"}function yh(o,t,e){const n=t.matched.length-1,s=e.matched.length-1;return n>-1&&n===s&&en(t.matched[n],e.matched[s])&&vh(t.params,e.params)&&o(t.query)===o(e.query)&&t.hash===e.hash}function en(o,t){return(o.aliasOf||o)===(t.aliasOf||t)}function vh(o,t){if(Object.keys(o).length!==Object.keys(t).length)return!1;for(const e in o)if(!fb(o[e],t[e]))return!1;return!0}function fb(o,t){return He(o)?bh(o,t):He(t)?bh(t,o):o===t}function bh(o,t){return He(t)?o.length===t.length&&o.every((e,n)=>e===t[n]):o.length===1&&o[0]===t}function db(o,t){if(o.startsWith("/"))return o;if({}.NODE_ENV!=="production"&&!t.startsWith("/"))return At(`Cannot resolve a relative location without an absolute path. Trying to resolve "${o}" from "${t}". It should look like "/${t}".`),o;if(!o)return t;const e=t.split("/"),n=o.split("/"),s=n[n.length-1];(s===".."||s===".")&&n.push("");let r=e.length-1,a,i;for(a=0;a<n.length;a++)if(i=n[a],i!==".")if(i==="..")r>1&&r--;else break;return e.slice(0,r).join("/")+"/"+n.slice(a).join("/")}const on={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Us;(function(o){o.pop="pop",o.push="push"})(Us||(Us={}));var Hs;(function(o){o.back="back",o.forward="forward",o.unknown=""})(Hs||(Hs={}));function hb(o){if(!o)if(Mo){const t=document.querySelector("base");o=t&&t.getAttribute("href")||"/",o=o.replace(/^\w+:\/\/[^\/]+/,"")}else o="/";return o[0]!=="/"&&o[0]!=="#"&&(o="/"+o),cb(o)}const pb=/^[^#]+#/;function mb(o,t){return o.replace(pb,"#")+t}function gb(o,t){const e=document.documentElement.getBoundingClientRect(),n=o.getBoundingClientRect();return{behavior:t.behavior,left:n.left-e.left-(t.left||0),top:n.top-e.top-(t.top||0)}}const ba=()=>({left:window.scrollX,top:window.scrollY});function yb(o){let t;if("el"in o){const e=o.el,n=typeof e=="string"&&e.startsWith("#");if({}.NODE_ENV!=="production"&&typeof o.el=="string"&&(!n||!document.getElementById(o.el.slice(1))))try{const r=document.querySelector(o.el);if(n&&r){At(`The selector "${o.el}" should be passed as "el: document.querySelector('${o.el}')" because it starts with "#".`);return}}catch{At(`The selector "${o.el}" is invalid. If you are using an id selector, make sure to escape it. You can find more information about escaping characters in selectors at https://mathiasbynens.be/notes/css-escapes or use CSS.escape (https://developer.mozilla.org/en-US/docs/Web/API/CSS/escape).`);return}const s=typeof e=="string"?n?document.getElementById(e.slice(1)):document.querySelector(e):e;if(!s){({}).NODE_ENV!=="production"&&At(`Couldn't find element using selector "${o.el}" returned by scrollBehavior.`);return}t=gb(s,o)}else t=o;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function _h(o,t){return(history.state?history.state.position-t:-1)+o}const Zl=new Map;function vb(o,t){Zl.set(o,t)}function bb(o){const t=Zl.get(o);return Zl.delete(o),t}let _b=()=>location.protocol+"//"+location.host;function xh(o,t){const{pathname:e,search:n,hash:s}=t,r=o.indexOf("#");if(r>-1){let i=s.includes(o.slice(r))?o.slice(r).length:1,l=s.slice(i);return l[0]!=="/"&&(l="/"+l),gh(l,"")}return gh(e,o)+n+s}function xb(o,t,e,n){let s=[],r=[],a=null;const i=({state:d})=>{const h=xh(o,location),p=e.value,b=t.value;let x=0;if(d){if(e.value=h,t.value=d,a&&a===p){a=null;return}x=b?d.position-b.position:0}else n(h);s.forEach(k=>{k(e.value,p,{delta:x,type:Us.pop,direction:x?x>0?Hs.forward:Hs.back:Hs.unknown})})};function l(){a=e.value}function c(d){s.push(d);const h=()=>{const p=s.indexOf(d);p>-1&&s.splice(p,1)};return r.push(h),h}function u(){const{history:d}=window;d.state&&d.replaceState(Ut({},d.state,{scroll:ba()}),"")}function f(){for(const d of r)d();r=[],window.removeEventListener("popstate",i),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",i),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:f}}function kh(o,t,e,n=!1,s=!1){return{back:o,current:t,forward:e,replaced:n,position:window.history.length,scroll:s?ba():null}}function kb(o){const{history:t,location:e}=window,n={value:xh(o,e)},s={value:t.state};s.value||r(n.value,{back:null,current:n.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(l,c,u){const f=o.indexOf("#"),d=f>-1?(e.host&&document.querySelector("base")?o:o.slice(f))+l:_b()+o+l;try{t[u?"replaceState":"pushState"](c,"",d),s.value=c}catch(h){({}).NODE_ENV!=="production"?At("Error with push/replace State",h):console.error(h),e[u?"replace":"assign"](d)}}function a(l,c){const u=Ut({},t.state,kh(s.value.back,l,s.value.forward,!0),c,{position:s.value.position});r(l,u,!0),n.value=l}function i(l,c){const u=Ut({},s.value,t.state,{forward:l,scroll:ba()});({}).NODE_ENV!=="production"&&!t.state&&At(`history.state seems to have been manually replaced without preserving the necessary values. Make sure to preserve existing history state if you are manually calling history.replaceState:
64
62
 
65
63
  history.replaceState(history.state, '', url)
66
64
 
67
- You can find more information at https://router.vuejs.org/guide/migration/#Usage-of-history-state`),s(u.current,u,!0);const f=Zt({},up(n.value,i,null),{position:u.position+1},c);s(i,f,!1),n.value=i}return{location:n,state:r,push:l,replace:a}}function t_(e){e=Zb(e);const t=Jb(e),o=Qb(e,t.state,t.location,t.replace);function n(s,a=!0){a||o.pauseListeners(),history.go(s)}const r=Zt({location:"",base:e,go:n,createHref:Ub.bind(null,e)},t,o);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function e_(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),{}.NODE_ENV!=="production"&&!e.endsWith("#/")&&!e.endsWith("#")&&$t(`A hash base must end with a "#":
68
- "${e}" should be "${e.replace(/#.*$/,"#")}".`),t_(e)}function ca(e){return typeof e=="string"||e&&typeof e=="object"}function fp(e){return typeof e=="string"||typeof e=="symbol"}const El=Symbol({}.NODE_ENV!=="production"?"navigation failure":"");var dp;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(dp||(dp={}));const o_={1({location:e,currentLocation:t}){return`No match for
69
- ${JSON.stringify(e)}${t?`
65
+ You can find more information at https://router.vuejs.org/guide/migration/#Usage-of-history-state`),r(u.current,u,!0);const f=Ut({},kh(n.value,l,null),{position:u.position+1},c);r(l,f,!1),n.value=l}return{location:n,state:s,push:i,replace:a}}function wb(o){o=hb(o);const t=kb(o),e=xb(o,t.state,t.location,t.replace);function n(r,a=!0){a||e.pauseListeners(),history.go(r)}const s=Ut({location:"",base:o,go:n,createHref:mb.bind(null,o)},t,e);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function Cb(o){return o=location.host?o||location.pathname+location.search:"",o.includes("#")||(o+="#"),{}.NODE_ENV!=="production"&&!o.endsWith("#/")&&!o.endsWith("#")&&At(`A hash base must end with a "#":
66
+ "${o}" should be "${o.replace(/#.*$/,"#")}".`),wb(o)}function _a(o){return typeof o=="string"||o&&typeof o=="object"}function wh(o){return typeof o=="string"||typeof o=="symbol"}const Ul=Symbol({}.NODE_ENV!=="production"?"navigation failure":"");var Ch;(function(o){o[o.aborted=4]="aborted",o[o.cancelled=8]="cancelled",o[o.duplicated=16]="duplicated"})(Ch||(Ch={}));const Tb={1({location:o,currentLocation:t}){return`No match for
67
+ ${JSON.stringify(o)}${t?`
70
68
  while being at
71
- `+JSON.stringify(t):""}`},2({from:e,to:t}){return`Redirected from "${e.fullPath}" to "${r_(t)}" via a navigation guard.`},4({from:e,to:t}){return`Navigation aborted from "${e.fullPath}" to "${t.fullPath}" via a navigation guard.`},8({from:e,to:t}){return`Navigation cancelled from "${e.fullPath}" to "${t.fullPath}" with a new navigation.`},16({from:e,to:t}){return`Avoided redundant navigation to current location: "${e.fullPath}".`}};function Gn(e,t){return{}.NODE_ENV!=="production"?Zt(new Error(o_[e](t)),{type:e,[El]:!0},t):Zt(new Error,{type:e,[El]:!0},t)}function Fo(e,t){return e instanceof Error&&El in e&&(t==null||!!(e.type&t))}const n_=["params","query","hash"];function r_(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const o of n_)o in e&&(t[o]=e[o]);return JSON.stringify(t,null,2)}const pp="[^/]+?",s_={sensitive:!1,strict:!1,start:!0,end:!0},a_=/[.+*?^${}()[\]/\\]/g;function i_(e,t){const o=Zt({},s_,t),n=[];let r=o.start?"^":"";const s=[];for(const c of e){const u=c.length?[]:[90];o.strict&&!c.length&&(r+="/");for(let f=0;f<c.length;f++){const d=c[f];let h=40+(o.sensitive?.25:0);if(d.type===0)f||(r+="/"),r+=d.value.replace(a_,"\\$&"),h+=40;else if(d.type===1){const{value:p,repeatable:w,optional:x,regexp:v}=d;s.push({name:p,repeatable:w,optional:x});const g=v||pp;if(g!==pp){h+=10;try{new RegExp(`(${g})`)}catch(m){throw new Error(`Invalid custom RegExp for param "${p}" (${g}): `+m.message)}}let y=w?`((?:${g})(?:/(?:${g}))*)`:`(${g})`;f||(y=x&&c.length<2?`(?:/${y})`:"/"+y),x&&(y+="?"),r+=y,h+=20,x&&(h+=-8),w&&(h+=-20),g===".*"&&(h+=-50)}u.push(h)}n.push(u)}if(o.strict&&o.end){const c=n.length-1;n[c][n[c].length-1]+=.7000000000000001}o.strict||(r+="/?"),o.end?r+="$":o.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const a=new RegExp(r,o.sensitive?"":"i");function l(c){const u=c.match(a),f={};if(!u)return null;for(let d=1;d<u.length;d++){const h=u[d]||"",p=s[d-1];f[p.name]=h&&p.repeatable?h.split("/"):h}return f}function i(c){let u="",f=!1;for(const d of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const h of d)if(h.type===0)u+=h.value;else if(h.type===1){const{value:p,repeatable:w,optional:x}=h,v=p in c?c[p]:"";if(Ue(v)&&!w)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const g=Ue(v)?v.join("/"):v;if(!g)if(x)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${p}"`);u+=g}}return u||"/"}return{re:a,score:n,keys:s,parse:l,stringify:i}}function l_(e,t){let o=0;for(;o<e.length&&o<t.length;){const n=t[o]-e[o];if(n)return n;o++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function hp(e,t){let o=0;const n=e.score,r=t.score;for(;o<n.length&&o<r.length;){const s=l_(n[o],r[o]);if(s)return s;o++}if(Math.abs(r.length-n.length)===1){if(mp(n))return 1;if(mp(r))return-1}return r.length-n.length}function mp(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const c_={type:0,value:""},u_=/[a-zA-Z0-9_]/;function f_(e){if(!e)return[[]];if(e==="/")return[[c_]];if(!e.startsWith("/"))throw new Error({}.NODE_ENV!=="production"?`Route paths should start with a "/": "${e}" should be "/${e}".`:`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${o})/"${c}": ${h}`)}let o=0,n=o;const r=[];let s;function a(){s&&r.push(s),s=[]}let l=0,i,c="",u="";function f(){c&&(o===0?s.push({type:0,value:c}):o===1||o===2||o===3?(s.length>1&&(i==="*"||i==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:i==="*"||i==="+",optional:i==="*"||i==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=i}for(;l<e.length;){if(i=e[l++],i==="\\"&&o!==2){n=o,o=4;continue}switch(o){case 0:i==="/"?(c&&f(),a()):i===":"?(f(),o=1):d();break;case 4:d(),o=n;break;case 1:i==="("?o=2:u_.test(i)?d():(f(),o=0,i!=="*"&&i!=="?"&&i!=="+"&&l--);break;case 2:i===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+i:o=3:u+=i;break;case 3:f(),o=0,i!=="*"&&i!=="?"&&i!=="+"&&l--,u="";break;default:t("Unknown state");break}}return o===2&&t(`Unfinished custom RegExp for param "${c}"`),f(),a(),r}function d_(e,t,o){const n=i_(f_(e.path),o);if({}.NODE_ENV!=="production"){const s=new Set;for(const a of n.keys)s.has(a.name)&&$t(`Found duplicated params with name "${a.name}" for path "${e.path}". Only the last one will be available on "$route.params".`),s.add(a.name)}const r=Zt(n,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function p_(e,t){const o=[],n=new Map;t=bp({strict:!1,end:!0,sensitive:!1},t);function r(f){return n.get(f)}function s(f,d,h){const p=!h,w=yp(f);({}).NODE_ENV!=="production"&&y_(w,d),w.aliasOf=h&&h.record;const x=bp(t,f),v=[w];if("alias"in f){const m=typeof f.alias=="string"?[f.alias]:f.alias;for(const _ of m)v.push(yp(Zt({},w,{components:h?h.record.components:w.components,path:_,aliasOf:h?h.record:w})))}let g,y;for(const m of v){const{path:_}=m;if(d&&_[0]!=="/"){const C=d.record.path,M=C[C.length-1]==="/"?"":"/";m.path=d.record.path+(_&&M+_)}if({}.NODE_ENV!=="production"&&m.path==="*")throw new Error(`Catch all routes ("*") must now be defined using a param with a custom regexp.
72
- See more at https://router.vuejs.org/guide/migration/#Removed-star-or-catch-all-routes.`);if(g=d_(m,d,x),{}.NODE_ENV!=="production"&&d&&_[0]==="/"&&b_(g,d),h?(h.alias.push(g),{}.NODE_ENV!=="production"&&g_(h,g)):(y=y||g,y!==g&&y.alias.push(g),p&&f.name&&!vp(g)&&({}.NODE_ENV!=="production"&&v_(f,d),a(f.name))),_p(g)&&i(g),w.children){const C=w.children;for(let M=0;M<C.length;M++)s(C[M],g,h&&h.children[M])}h=h||g}return y?()=>{a(y)}:Dr}function a(f){if(fp(f)){const d=n.get(f);d&&(n.delete(f),o.splice(o.indexOf(d),1),d.children.forEach(a),d.alias.forEach(a))}else{const d=o.indexOf(f);d>-1&&(o.splice(d,1),f.record.name&&n.delete(f.record.name),f.children.forEach(a),f.alias.forEach(a))}}function l(){return o}function i(f){const d=__(f,o);o.splice(d,0,f),f.record.name&&!vp(f)&&n.set(f.record.name,f)}function c(f,d){let h,p={},w,x;if("name"in f&&f.name){if(h=n.get(f.name),!h)throw Gn(1,{location:f});if({}.NODE_ENV!=="production"){const y=Object.keys(f.params||{}).filter(m=>!h.keys.find(_=>_.name===m));y.length&&$t(`Discarded invalid param(s) "${y.join('", "')}" when navigating. See https://github.com/vuejs/router/blob/main/packages/router/CHANGELOG.md#414-2022-08-22 for more details.`)}x=h.record.name,p=Zt(gp(d.params,h.keys.filter(y=>!y.optional).concat(h.parent?h.parent.keys.filter(y=>y.optional):[]).map(y=>y.name)),f.params&&gp(f.params,h.keys.map(y=>y.name))),w=h.stringify(p)}else if(f.path!=null)w=f.path,{}.NODE_ENV!=="production"&&!w.startsWith("/")&&$t(`The Matcher cannot resolve relative paths but received "${w}". Unless you directly called \`matcher.resolve("${w}")\`, this is probably a bug in vue-router. Please open an issue at https://github.com/vuejs/router/issues/new/choose.`),h=o.find(y=>y.re.test(w)),h&&(p=h.parse(w),x=h.record.name);else{if(h=d.name?n.get(d.name):o.find(y=>y.re.test(d.path)),!h)throw Gn(1,{location:f,currentLocation:d});x=h.record.name,p=Zt({},d.params,f.params),w=h.stringify(p)}const v=[];let g=h;for(;g;)v.unshift(g.record),g=g.parent;return{name:x,path:w,params:p,matched:v,meta:m_(v)}}e.forEach(f=>s(f));function u(){o.length=0,n.clear()}return{addRoute:s,resolve:c,removeRoute:a,clearRoutes:u,getRoutes:l,getRecordMatcher:r}}function gp(e,t){const o={};for(const n of t)n in e&&(o[n]=e[n]);return o}function yp(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:h_(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function h_(e){const t={},o=e.props||!1;if("component"in e)t.default=o;else for(const n in e.components)t[n]=typeof o=="object"?o[n]:o;return t}function vp(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function m_(e){return e.reduce((t,o)=>Zt(t,o.meta),{})}function bp(e,t){const o={};for(const n in e)o[n]=n in t?t[n]:e[n];return o}function Sl(e,t){return e.name===t.name&&e.optional===t.optional&&e.repeatable===t.repeatable}function g_(e,t){for(const o of e.keys)if(!o.optional&&!t.keys.find(Sl.bind(null,o)))return $t(`Alias "${t.record.path}" and the original record: "${e.record.path}" must have the exact same param named "${o.name}"`);for(const o of t.keys)if(!o.optional&&!e.keys.find(Sl.bind(null,o)))return $t(`Alias "${t.record.path}" and the original record: "${e.record.path}" must have the exact same param named "${o.name}"`)}function y_(e,t){t&&t.record.name&&!e.name&&!e.path&&$t(`The route named "${String(t.record.name)}" has a child without a name and an empty path. Using that name won't render the empty path child so you probably want to move the name to the child instead. If this is intentional, add a name to the child route to remove the warning.`)}function v_(e,t){for(let o=t;o;o=o.parent)if(o.record.name===e.name)throw new Error(`A route named "${String(e.name)}" has been added as a ${t===o?"child":"descendant"} of a route with the same name. Route names must be unique and a nested route cannot use the same name as an ancestor.`)}function b_(e,t){for(const o of t.keys)if(!e.keys.find(Sl.bind(null,o)))return $t(`Absolute path "${e.record.path}" must have the exact same param named "${o.name}" as its parent "${t.record.path}".`)}function __(e,t){let o=0,n=t.length;for(;o!==n;){const s=o+n>>1;hp(e,t[s])<0?n=s:o=s+1}const r=x_(e);return r&&(n=t.lastIndexOf(r,n-1),{}.NODE_ENV!=="production"&&n<0&&$t(`Finding ancestor route "${r.record.path}" failed for "${e.record.path}"`)),n}function x_(e){let t=e;for(;t=t.parent;)if(_p(t)&&hp(e,t)===0)return t}function _p({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function k_(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const s=n[r].replace(tp," "),a=s.indexOf("="),l=Zn(a<0?s:s.slice(0,a)),i=a<0?null:Zn(s.slice(a+1));if(l in t){let c=t[l];Ue(c)||(c=t[l]=[c]),c.push(i)}else t[l]=i}return t}function xp(e){let t="";for(let o in e){const n=e[o];if(o=Fb(o),n==null){n!==void 0&&(t+=(t.length?"&":"")+o);continue}(Ue(n)?n.map(s=>s&&wl(s)):[n&&wl(n)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+o,s!=null&&(t+="="+s))})}return t}function w_(e){const t={};for(const o in e){const n=e[o];n!==void 0&&(t[o]=Ue(n)?n.map(r=>r==null?null:""+r):n==null?n:""+n)}return t}const C_=Symbol({}.NODE_ENV!=="production"?"router view location matched":""),kp=Symbol({}.NODE_ENV!=="production"?"router view depth":""),ua=Symbol({}.NODE_ENV!=="production"?"router":""),Ol=Symbol({}.NODE_ENV!=="production"?"route location":""),Pl=Symbol({}.NODE_ENV!=="production"?"router view location":"");function zr(){let e=[];function t(n){return e.push(n),()=>{const r=e.indexOf(n);r>-1&&e.splice(r,1)}}function o(){e=[]}return{add:t,list:()=>e.slice(),reset:o}}function on(e,t,o,n,r,s=a=>a()){const a=n&&(n.enterCallbacks[r]=n.enterCallbacks[r]||[]);return()=>new Promise((l,i)=>{const c=d=>{d===!1?i(Gn(4,{from:o,to:t})):d instanceof Error?i(d):ca(d)?i(Gn(2,{from:t,to:d})):(a&&n.enterCallbacks[r]===a&&typeof d=="function"&&a.push(d),l())},u=s(()=>e.call(n&&n.instances[r],t,o,{}.NODE_ENV!=="production"?T_(c,t,o):c));let f=Promise.resolve(u);if(e.length<3&&(f=f.then(c)),{}.NODE_ENV!=="production"&&e.length>2){const d=`The "next" callback was never called inside of ${e.name?'"'+e.name+'"':""}:
73
- ${e.toString()}
74
- . If you are returning a value instead of calling "next", make sure to remove the "next" parameter from your function.`;if(typeof u=="object"&&"then"in u)f=f.then(h=>c._called?h:($t(d),Promise.reject(new Error("Invalid navigation guard"))));else if(u!==void 0&&!c._called){$t(d),i(new Error("Invalid navigation guard"));return}}f.catch(d=>i(d))})}function T_(e,t,o){let n=0;return function(){n++===1&&$t(`The "next" callback was called more than once in one navigation guard when going from "${o.fullPath}" to "${t.fullPath}". It should be called exactly one time in each navigation guard. This will fail in production.`),e._called=!0,n===1&&e.apply(null,arguments)}}function Rl(e,t,o,n,r=s=>s()){const s=[];for(const a of e){({}).NODE_ENV!=="production"&&!a.components&&!a.children.length&&$t(`Record with path "${a.path}" is either missing a "component(s)" or "children" property.`);for(const l in a.components){let i=a.components[l];if({}.NODE_ENV!=="production"){if(!i||typeof i!="object"&&typeof i!="function")throw $t(`Component "${l}" in record with path "${a.path}" is not a valid component. Received "${String(i)}".`),new Error("Invalid route component");if("then"in i){$t(`Component "${l}" in record with path "${a.path}" is a Promise instead of a function that returns a Promise. Did you write "import('./MyPage.vue')" instead of "() => import('./MyPage.vue')" ? This will break in production if not fixed.`);const c=i;i=()=>c}else i.__asyncLoader&&!i.__warnedDefineAsync&&(i.__warnedDefineAsync=!0,$t(`Component "${l}" in record with path "${a.path}" is defined using "defineAsyncComponent()". Write "() => import('./MyPage.vue')" instead of "defineAsyncComponent(() => import('./MyPage.vue'))".`))}if(!(t!=="beforeRouteEnter"&&!a.instances[l]))if(Qd(i)){const u=(i.__vccOpts||i)[t];u&&s.push(on(u,o,n,a,l,r))}else{let c=i();({}).NODE_ENV!=="production"&&!("catch"in c)&&($t(`Component "${l}" in record with path "${a.path}" is a function that does not return a Promise. If you were passing a functional component, make sure to add a "displayName" to the component. This will break in production if not fixed.`),c=Promise.resolve(c)),s.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${l}" at "${a.path}"`);const f=Tb(u)?u.default:u;a.mods[l]=u,a.components[l]=f;const h=(f.__vccOpts||f)[t];return h&&on(h,o,n,a,l,r)()}))}}}return s}function wp(e){const t=no(ua),o=no(Ol);let n=!1,r=null;const s=de(()=>{const u=vt(e.to);return{}.NODE_ENV!=="production"&&(!n||u!==r)&&(ca(u)||(n?$t(`Invalid value for prop "to" in useLink()
69
+ `+JSON.stringify(t):""}`},2({from:o,to:t}){return`Redirected from "${o.fullPath}" to "${Sb(t)}" via a navigation guard.`},4({from:o,to:t}){return`Navigation aborted from "${o.fullPath}" to "${t.fullPath}" via a navigation guard.`},8({from:o,to:t}){return`Navigation cancelled from "${o.fullPath}" to "${t.fullPath}" with a new navigation.`},16({from:o,to:t}){return`Avoided redundant navigation to current location: "${o.fullPath}".`}};function Qn(o,t){return{}.NODE_ENV!=="production"?Ut(new Error(Tb[o](t)),{type:o,[Ul]:!0},t):Ut(new Error,{type:o,[Ul]:!0},t)}function Lo(o,t){return o instanceof Error&&Ul in o&&(t==null||!!(o.type&t))}const Eb=["params","query","hash"];function Sb(o){if(typeof o=="string")return o;if(o.path!=null)return o.path;const t={};for(const e of Eb)e in o&&(t[e]=o[e]);return JSON.stringify(t,null,2)}const Th="[^/]+?",Ob={sensitive:!1,strict:!1,start:!0,end:!0},Pb=/[.+*?^${}()[\]/\\]/g;function Rb(o,t){const e=Ut({},Ob,t),n=[];let s=e.start?"^":"";const r=[];for(const c of o){const u=c.length?[]:[90];e.strict&&!c.length&&(s+="/");for(let f=0;f<c.length;f++){const d=c[f];let h=40+(e.sensitive?.25:0);if(d.type===0)f||(s+="/"),s+=d.value.replace(Pb,"\\$&"),h+=40;else if(d.type===1){const{value:p,repeatable:b,optional:x,regexp:k}=d;r.push({name:p,repeatable:b,optional:x});const g=k||Th;if(g!==Th){h+=10;try{new RegExp(`(${g})`)}catch(y){throw new Error(`Invalid custom RegExp for param "${p}" (${g}): `+y.message)}}let m=b?`((?:${g})(?:/(?:${g}))*)`:`(${g})`;f||(m=x&&c.length<2?`(?:/${m})`:"/"+m),x&&(m+="?"),s+=m,h+=20,x&&(h+=-8),b&&(h+=-20),g===".*"&&(h+=-50)}u.push(h)}n.push(u)}if(e.strict&&e.end){const c=n.length-1;n[c][n[c].length-1]+=.7000000000000001}e.strict||(s+="/?"),e.end?s+="$":e.strict&&!s.endsWith("/")&&(s+="(?:/|$)");const a=new RegExp(s,e.sensitive?"":"i");function i(c){const u=c.match(a),f={};if(!u)return null;for(let d=1;d<u.length;d++){const h=u[d]||"",p=r[d-1];f[p.name]=h&&p.repeatable?h.split("/"):h}return f}function l(c){let u="",f=!1;for(const d of o){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const h of d)if(h.type===0)u+=h.value;else if(h.type===1){const{value:p,repeatable:b,optional:x}=h,k=p in c?c[p]:"";if(He(k)&&!b)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const g=He(k)?k.join("/"):k;if(!g)if(x)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${p}"`);u+=g}}return u||"/"}return{re:a,score:n,keys:r,parse:i,stringify:l}}function Ib(o,t){let e=0;for(;e<o.length&&e<t.length;){const n=t[e]-o[e];if(n)return n;e++}return o.length<t.length?o.length===1&&o[0]===40+40?-1:1:o.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function Eh(o,t){let e=0;const n=o.score,s=t.score;for(;e<n.length&&e<s.length;){const r=Ib(n[e],s[e]);if(r)return r;e++}if(Math.abs(s.length-n.length)===1){if(Sh(n))return 1;if(Sh(s))return-1}return s.length-n.length}function Sh(o){const t=o[o.length-1];return o.length>0&&t[t.length-1]<0}const Ab={type:0,value:""},$b=/[a-zA-Z0-9_]/;function Nb(o){if(!o)return[[]];if(o==="/")return[[Ab]];if(!o.startsWith("/"))throw new Error({}.NODE_ENV!=="production"?`Route paths should start with a "/": "${o}" should be "/${o}".`:`Invalid path "${o}"`);function t(h){throw new Error(`ERR (${e})/"${c}": ${h}`)}let e=0,n=e;const s=[];let r;function a(){r&&s.push(r),r=[]}let i=0,l,c="",u="";function f(){c&&(e===0?r.push({type:0,value:c}):e===1||e===2||e===3?(r.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=l}for(;i<o.length;){if(l=o[i++],l==="\\"&&e!==2){n=e,e=4;continue}switch(e){case 0:l==="/"?(c&&f(),a()):l===":"?(f(),e=1):d();break;case 4:d(),e=n;break;case 1:l==="("?e=2:$b.test(l)?d():(f(),e=0,l!=="*"&&l!=="?"&&l!=="+"&&i--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:e=3:u+=l;break;case 3:f(),e=0,l!=="*"&&l!=="?"&&l!=="+"&&i--,u="";break;default:t("Unknown state");break}}return e===2&&t(`Unfinished custom RegExp for param "${c}"`),f(),a(),s}function Fb(o,t,e){const n=Rb(Nb(o.path),e);if({}.NODE_ENV!=="production"){const r=new Set;for(const a of n.keys)r.has(a.name)&&At(`Found duplicated params with name "${a.name}" for path "${o.path}". Only the last one will be available on "$route.params".`),r.add(a.name)}const s=Ut(n,{record:o,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function zb(o,t){const e=[],n=new Map;t=Ih({strict:!1,end:!0,sensitive:!1},t);function s(f){return n.get(f)}function r(f,d,h){const p=!h,b=Ph(f);({}).NODE_ENV!=="production"&&Bb(b,d),b.aliasOf=h&&h.record;const x=Ih(t,f),k=[b];if("alias"in f){const y=typeof f.alias=="string"?[f.alias]:f.alias;for(const _ of y)k.push(Ph(Ut({},b,{components:h?h.record.components:b.components,path:_,aliasOf:h?h.record:b})))}let g,m;for(const y of k){const{path:_}=y;if(d&&_[0]!=="/"){const w=d.record.path,$=w[w.length-1]==="/"?"":"/";y.path=d.record.path+(_&&$+_)}if({}.NODE_ENV!=="production"&&y.path==="*")throw new Error(`Catch all routes ("*") must now be defined using a param with a custom regexp.
70
+ See more at https://router.vuejs.org/guide/migration/#Removed-star-or-catch-all-routes.`);if(g=Fb(y,d,x),{}.NODE_ENV!=="production"&&d&&_[0]==="/"&&Yb(g,d),h?(h.alias.push(g),{}.NODE_ENV!=="production"&&Lb(h,g)):(m=m||g,m!==g&&m.alias.push(g),p&&f.name&&!Rh(g)&&({}.NODE_ENV!=="production"&&Vb(f,d),a(f.name))),Ah(g)&&l(g),b.children){const w=b.children;for(let $=0;$<w.length;$++)r(w[$],g,h&&h.children[$])}h=h||g}return m?()=>{a(m)}:Zs}function a(f){if(wh(f)){const d=n.get(f);d&&(n.delete(f),e.splice(e.indexOf(d),1),d.children.forEach(a),d.alias.forEach(a))}else{const d=e.indexOf(f);d>-1&&(e.splice(d,1),f.record.name&&n.delete(f.record.name),f.children.forEach(a),f.alias.forEach(a))}}function i(){return e}function l(f){const d=Xb(f,e);e.splice(d,0,f),f.record.name&&!Rh(f)&&n.set(f.record.name,f)}function c(f,d){let h,p={},b,x;if("name"in f&&f.name){if(h=n.get(f.name),!h)throw Qn(1,{location:f});if({}.NODE_ENV!=="production"){const m=Object.keys(f.params||{}).filter(y=>!h.keys.find(_=>_.name===y));m.length&&At(`Discarded invalid param(s) "${m.join('", "')}" when navigating. See https://github.com/vuejs/router/blob/main/packages/router/CHANGELOG.md#414-2022-08-22 for more details.`)}x=h.record.name,p=Ut(Oh(d.params,h.keys.filter(m=>!m.optional).concat(h.parent?h.parent.keys.filter(m=>m.optional):[]).map(m=>m.name)),f.params&&Oh(f.params,h.keys.map(m=>m.name))),b=h.stringify(p)}else if(f.path!=null)b=f.path,{}.NODE_ENV!=="production"&&!b.startsWith("/")&&At(`The Matcher cannot resolve relative paths but received "${b}". Unless you directly called \`matcher.resolve("${b}")\`, this is probably a bug in vue-router. Please open an issue at https://github.com/vuejs/router/issues/new/choose.`),h=e.find(m=>m.re.test(b)),h&&(p=h.parse(b),x=h.record.name);else{if(h=d.name?n.get(d.name):e.find(m=>m.re.test(d.path)),!h)throw Qn(1,{location:f,currentLocation:d});x=h.record.name,p=Ut({},d.params,f.params),b=h.stringify(p)}const k=[];let g=h;for(;g;)k.unshift(g.record),g=g.parent;return{name:x,path:b,params:p,matched:k,meta:Mb(k)}}o.forEach(f=>r(f));function u(){e.length=0,n.clear()}return{addRoute:r,resolve:c,removeRoute:a,clearRoutes:u,getRoutes:i,getRecordMatcher:s}}function Oh(o,t){const e={};for(const n of t)n in o&&(e[n]=o[n]);return e}function Ph(o){const t={path:o.path,redirect:o.redirect,name:o.name,meta:o.meta||{},aliasOf:o.aliasOf,beforeEnter:o.beforeEnter,props:Db(o),children:o.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in o?o.components||null:o.component&&{default:o.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function Db(o){const t={},e=o.props||!1;if("component"in o)t.default=e;else for(const n in o.components)t[n]=typeof e=="object"?e[n]:e;return t}function Rh(o){for(;o;){if(o.record.aliasOf)return!0;o=o.parent}return!1}function Mb(o){return o.reduce((t,e)=>Ut(t,e.meta),{})}function Ih(o,t){const e={};for(const n in o)e[n]=n in t?t[n]:o[n];return e}function Hl(o,t){return o.name===t.name&&o.optional===t.optional&&o.repeatable===t.repeatable}function Lb(o,t){for(const e of o.keys)if(!e.optional&&!t.keys.find(Hl.bind(null,e)))return At(`Alias "${t.record.path}" and the original record: "${o.record.path}" must have the exact same param named "${e.name}"`);for(const e of t.keys)if(!e.optional&&!o.keys.find(Hl.bind(null,e)))return At(`Alias "${t.record.path}" and the original record: "${o.record.path}" must have the exact same param named "${e.name}"`)}function Bb(o,t){t&&t.record.name&&!o.name&&!o.path&&At(`The route named "${String(t.record.name)}" has a child without a name and an empty path. Using that name won't render the empty path child so you probably want to move the name to the child instead. If this is intentional, add a name to the child route to remove the warning.`)}function Vb(o,t){for(let e=t;e;e=e.parent)if(e.record.name===o.name)throw new Error(`A route named "${String(o.name)}" has been added as a ${t===e?"child":"descendant"} of a route with the same name. Route names must be unique and a nested route cannot use the same name as an ancestor.`)}function Yb(o,t){for(const e of t.keys)if(!o.keys.find(Hl.bind(null,e)))return At(`Absolute path "${o.record.path}" must have the exact same param named "${e.name}" as its parent "${t.record.path}".`)}function Xb(o,t){let e=0,n=t.length;for(;e!==n;){const r=e+n>>1;Eh(o,t[r])<0?n=r:e=r+1}const s=Zb(o);return s&&(n=t.lastIndexOf(s,n-1),{}.NODE_ENV!=="production"&&n<0&&At(`Finding ancestor route "${s.record.path}" failed for "${o.record.path}"`)),n}function Zb(o){let t=o;for(;t=t.parent;)if(Ah(t)&&Eh(o,t)===0)return t}function Ah({record:o}){return!!(o.name||o.components&&Object.keys(o.components).length||o.redirect)}function Ub(o){const t={};if(o===""||o==="?")return t;const n=(o[0]==="?"?o.slice(1):o).split("&");for(let s=0;s<n.length;++s){const r=n[s].replace(dh," "),a=r.indexOf("="),i=Kn(a<0?r:r.slice(0,a)),l=a<0?null:Kn(r.slice(a+1));if(i in t){let c=t[i];He(c)||(c=t[i]=[c]),c.push(l)}else t[i]=l}return t}function $h(o){let t="";for(let e in o){const n=o[e];if(e=rb(e),n==null){n!==void 0&&(t+=(t.length?"&":"")+e);continue}(He(n)?n.map(r=>r&&Yl(r)):[n&&Yl(n)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+e,r!=null&&(t+="="+r))})}return t}function Hb(o){const t={};for(const e in o){const n=o[e];n!==void 0&&(t[e]=He(n)?n.map(s=>s==null?null:""+s):n==null?n:""+n)}return t}const jb=Symbol({}.NODE_ENV!=="production"?"router view location matched":""),Nh=Symbol({}.NODE_ENV!=="production"?"router view depth":""),xa=Symbol({}.NODE_ENV!=="production"?"router":""),jl=Symbol({}.NODE_ENV!=="production"?"route location":""),Gl=Symbol({}.NODE_ENV!=="production"?"router view location":"");function js(){let o=[];function t(n){return o.push(n),()=>{const s=o.indexOf(n);s>-1&&o.splice(s,1)}}function e(){o=[]}return{add:t,list:()=>o.slice(),reset:e}}function nn(o,t,e,n,s,r=a=>a()){const a=n&&(n.enterCallbacks[s]=n.enterCallbacks[s]||[]);return()=>new Promise((i,l)=>{const c=d=>{d===!1?l(Qn(4,{from:e,to:t})):d instanceof Error?l(d):_a(d)?l(Qn(2,{from:t,to:d})):(a&&n.enterCallbacks[s]===a&&typeof d=="function"&&a.push(d),i())},u=r(()=>o.call(n&&n.instances[s],t,e,{}.NODE_ENV!=="production"?Gb(c,t,e):c));let f=Promise.resolve(u);if(o.length<3&&(f=f.then(c)),{}.NODE_ENV!=="production"&&o.length>2){const d=`The "next" callback was never called inside of ${o.name?'"'+o.name+'"':""}:
71
+ ${o.toString()}
72
+ . If you are returning a value instead of calling "next", make sure to remove the "next" parameter from your function.`;if(typeof u=="object"&&"then"in u)f=f.then(h=>c._called?h:(At(d),Promise.reject(new Error("Invalid navigation guard"))));else if(u!==void 0&&!c._called){At(d),l(new Error("Invalid navigation guard"));return}}f.catch(d=>l(d))})}function Gb(o,t,e){let n=0;return function(){n++===1&&At(`The "next" callback was called more than once in one navigation guard when going from "${e.fullPath}" to "${t.fullPath}". It should be called exactly one time in each navigation guard. This will fail in production.`),o._called=!0,n===1&&o.apply(null,arguments)}}function Wl(o,t,e,n,s=r=>r()){const r=[];for(const a of o){({}).NODE_ENV!=="production"&&!a.components&&!a.children.length&&At(`Record with path "${a.path}" is either missing a "component(s)" or "children" property.`);for(const i in a.components){let l=a.components[i];if({}.NODE_ENV!=="production"){if(!l||typeof l!="object"&&typeof l!="function")throw At(`Component "${i}" in record with path "${a.path}" is not a valid component. Received "${String(l)}".`),new Error("Invalid route component");if("then"in l){At(`Component "${i}" in record with path "${a.path}" is a Promise instead of a function that returns a Promise. Did you write "import('./MyPage.vue')" instead of "() => import('./MyPage.vue')" ? This will break in production if not fixed.`);const c=l;l=()=>c}else l.__asyncLoader&&!l.__warnedDefineAsync&&(l.__warnedDefineAsync=!0,At(`Component "${i}" in record with path "${a.path}" is defined using "defineAsyncComponent()". Write "() => import('./MyPage.vue')" instead of "defineAsyncComponent(() => import('./MyPage.vue'))".`))}if(!(t!=="beforeRouteEnter"&&!a.instances[i]))if(uh(l)){const u=(l.__vccOpts||l)[t];u&&r.push(nn(u,e,n,a,i,s))}else{let c=l();({}).NODE_ENV!=="production"&&!("catch"in c)&&(At(`Component "${i}" in record with path "${a.path}" is a function that does not return a Promise. If you were passing a functional component, make sure to add a "displayName" to the component. This will break in production if not fixed.`),c=Promise.resolve(c)),r.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${i}" at "${a.path}"`);const f=Gv(u)?u.default:u;a.mods[i]=u,a.components[i]=f;const h=(f.__vccOpts||f)[t];return h&&nn(h,e,n,a,i,s)()}))}}}return r}function Fh(o){const t=lo(xa),e=lo(jl);let n=!1,s=null;const r=de(()=>{const u=Tt(o.to);return{}.NODE_ENV!=="production"&&(!n||u!==s)&&(_a(u)||(n?At(`Invalid value for prop "to" in useLink()
75
73
  - to:`,u,`
76
- - previous to:`,r,`
77
- - props:`,e):$t(`Invalid value for prop "to" in useLink()
74
+ - previous to:`,s,`
75
+ - props:`,o):At(`Invalid value for prop "to" in useLink()
78
76
  - to:`,u,`
79
- - props:`,e)),r=u,n=!0),t.resolve(u)}),a=de(()=>{const{matched:u}=s.value,{length:f}=u,d=u[f-1],h=o.matched;if(!d||!h.length)return-1;const p=h.findIndex(tn.bind(null,d));if(p>-1)return p;const w=Cp(u[f-2]);return f>1&&Cp(d)===w&&h[h.length-1].path!==w?h.findIndex(tn.bind(null,u[f-2])):p}),l=de(()=>a.value>-1&&P_(o.params,s.value.params)),i=de(()=>a.value>-1&&a.value===o.matched.length-1&&ap(o.params,s.value.params));function c(u={}){if(O_(u)){const f=t[vt(e.replace)?"replace":"push"](vt(e.to)).catch(Dr);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}if({}.NODE_ENV!=="production"&&Do){const u=jo();if(u){const f={route:s.value,isActive:l.value,isExactActive:i.value,error:null};u.__vrl_devtools=u.__vrl_devtools||[],u.__vrl_devtools.push(f),ki(()=>{f.route=s.value,f.isActive=l.value,f.isExactActive=i.value,f.error=ca(vt(e.to))?null:'Invalid "to" value'},{flush:"post"})}}return{route:s,href:de(()=>s.value.href),isActive:l,isExactActive:i,navigate:c}}function E_(e){return e.length===1?e[0]:e}const S_=Y({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:wp,setup(e,{slots:t}){const o=jt(wp(e)),{options:n}=no(ua),r=de(()=>({[Tp(e.activeClass,n.linkActiveClass,"router-link-active")]:o.isActive,[Tp(e.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:o.isExactActive}));return()=>{const s=t.default&&E_(t.default(o));return e.custom?s:Xt("a",{"aria-current":o.isExactActive?e.ariaCurrentValue:null,href:o.href,onClick:o.navigate,class:r.value},s)}}});function O_(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function P_(e,t){for(const o in t){const n=t[o],r=e[o];if(typeof n=="string"){if(n!==r)return!1}else if(!Ue(r)||r.length!==n.length||n.some((s,a)=>s!==r[a]))return!1}return!0}function Cp(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Tp=(e,t,o)=>e??t??o,R_=Y({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:o}){({}).NODE_ENV!=="production"&&I_();const n=no(Pl),r=de(()=>e.route||n.value),s=no(kp,0),a=de(()=>{let c=vt(s);const{matched:u}=r.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),l=de(()=>r.value.matched[a.value]);ys(kp,de(()=>a.value+1)),ys(C_,l),ys(Pl,r);const i=R();return Pt(()=>[i.value,l.value,e.name],([c,u,f],[d,h,p])=>{u&&(u.instances[f]=c,h&&h!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),c&&u&&(!h||!tn(u,h)||!d)&&(u.enterCallbacks[f]||[]).forEach(w=>w(c))},{flush:"post"}),()=>{const c=r.value,u=e.name,f=l.value,d=f&&f.components[u];if(!d)return Ep(o.default,{Component:d,route:c});const h=f.props[u],p=h?h===!0?c.params:typeof h=="function"?h(c):h:null,x=Xt(d,Zt({},p,t,{onVnodeUnmounted:v=>{v.component.isUnmounted&&(f.instances[u]=null)},ref:i}));if({}.NODE_ENV!=="production"&&Do&&x.ref){const v={depth:a.value,name:f.name,path:f.path,meta:f.meta};(Ue(x.ref)?x.ref.map(y=>y.i):[x.ref.i]).forEach(y=>{y.__vrv_devtools=v})}return Ep(o.default,{Component:x,route:c})||x}}});function Ep(e,t){if(!e)return null;const o=e(t);return o.length===1?o[0]:o}const Il=R_;function I_(){const e=jo(),t=e.parent&&e.parent.type.name,o=e.parent&&e.parent.subTree&&e.parent.subTree.type;if(t&&(t==="KeepAlive"||t.includes("Transition"))&&typeof o=="object"&&o.name==="RouterView"){const n=t==="KeepAlive"?"keep-alive":"transition";$t(`<router-view> can no longer be used directly inside <transition> or <keep-alive>.
77
+ - props:`,o)),s=u,n=!0),t.resolve(u)}),a=de(()=>{const{matched:u}=r.value,{length:f}=u,d=u[f-1],h=e.matched;if(!d||!h.length)return-1;const p=h.findIndex(en.bind(null,d));if(p>-1)return p;const b=zh(u[f-2]);return f>1&&zh(d)===b&&h[h.length-1].path!==b?h.findIndex(en.bind(null,u[f-2])):p}),i=de(()=>a.value>-1&&Qb(e.params,r.value.params)),l=de(()=>a.value>-1&&a.value===e.matched.length-1&&vh(e.params,r.value.params));function c(u={}){if(Kb(u)){const f=t[Tt(o.replace)?"replace":"push"](Tt(o.to)).catch(Zs);return o.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}if({}.NODE_ENV!=="production"&&Mo){const u=qo();if(u){const f={route:r.value,isActive:i.value,isExactActive:l.value,error:null};u.__vrl_devtools=u.__vrl_devtools||[],u.__vrl_devtools.push(f),Dn(()=>{f.route=r.value,f.isActive=i.value,f.isExactActive=l.value,f.error=_a(Tt(o.to))?null:'Invalid "to" value'},{flush:"post"})}}return{route:r,href:de(()=>r.value.href),isActive:i,isExactActive:l,navigate:c}}function Wb(o){return o.length===1?o[0]:o}const qb=Y({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Fh,setup(o,{slots:t}){const e=Wt(Fh(o)),{options:n}=lo(xa),s=de(()=>({[Dh(o.activeClass,n.linkActiveClass,"router-link-active")]:e.isActive,[Dh(o.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:e.isExactActive}));return()=>{const r=t.default&&Wb(t.default(e));return o.custom?r:Xt("a",{"aria-current":e.isExactActive?o.ariaCurrentValue:null,href:e.href,onClick:e.navigate,class:s.value},r)}}});function Kb(o){if(!(o.metaKey||o.altKey||o.ctrlKey||o.shiftKey)&&!o.defaultPrevented&&!(o.button!==void 0&&o.button!==0)){if(o.currentTarget&&o.currentTarget.getAttribute){const t=o.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return o.preventDefault&&o.preventDefault(),!0}}function Qb(o,t){for(const e in t){const n=t[e],s=o[e];if(typeof n=="string"){if(n!==s)return!1}else if(!He(s)||s.length!==n.length||n.some((r,a)=>r!==s[a]))return!1}return!0}function zh(o){return o?o.aliasOf?o.aliasOf.path:o.path:""}const Dh=(o,t,e)=>o??t??e,Jb=Y({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(o,{attrs:t,slots:e}){({}).NODE_ENV!=="production"&&t_();const n=lo(Gl),s=de(()=>o.route||n.value),r=lo(Nh,0),a=de(()=>{let c=Tt(r);const{matched:u}=s.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),i=de(()=>s.value.matched[a.value]);Rr(Nh,de(()=>a.value+1)),Rr(jb,i),Rr(Gl,s);const l=P();return Rt(()=>[l.value,i.value,o.name],([c,u,f],[d,h,p])=>{u&&(u.instances[f]=c,h&&h!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),c&&u&&(!h||!en(u,h)||!d)&&(u.enterCallbacks[f]||[]).forEach(b=>b(c))},{flush:"post"}),()=>{const c=s.value,u=o.name,f=i.value,d=f&&f.components[u];if(!d)return Mh(e.default,{Component:d,route:c});const h=f.props[u],p=h?h===!0?c.params:typeof h=="function"?h(c):h:null,x=Xt(d,Ut({},p,t,{onVnodeUnmounted:k=>{k.component.isUnmounted&&(f.instances[u]=null)},ref:l}));if({}.NODE_ENV!=="production"&&Mo&&x.ref){const k={depth:a.value,name:f.name,path:f.path,meta:f.meta};(He(x.ref)?x.ref.map(m=>m.i):[x.ref.i]).forEach(m=>{m.__vrv_devtools=k})}return Mh(e.default,{Component:x,route:c})||x}}});function Mh(o,t){if(!o)return null;const e=o(t);return e.length===1?e[0]:e}const ql=Jb;function t_(){const o=qo(),t=o.parent&&o.parent.type.name,e=o.parent&&o.parent.subTree&&o.parent.subTree.type;if(t&&(t==="KeepAlive"||t.includes("Transition"))&&typeof e=="object"&&e.name==="RouterView"){const n=t==="KeepAlive"?"keep-alive":"transition";At(`<router-view> can no longer be used directly inside <transition> or <keep-alive>.
80
78
  Use slot props instead:
81
79
 
82
80
  <router-view v-slot="{ Component }">
83
81
  <${n}>
84
82
  <component :is="Component" />
85
83
  </${n}>
86
- </router-view>`)}}function Mr(e,t){const o=Zt({},e,{matched:e.matched.map(n=>V_(n,["instances","children","aliasOf"]))});return{_custom:{type:null,readOnly:!0,display:e.fullPath,tooltip:t,value:o}}}function fa(e){return{_custom:{display:e}}}let A_=0;function $_(e,t,o){if(t.__hasDevtools)return;t.__hasDevtools=!0;const n=A_++;Cb({id:"org.vuejs.router"+(n?"."+n:""),label:"Vue Router",packageName:"vue-router",homepage:"https://router.vuejs.org",logo:"https://router.vuejs.org/logo.png",componentStateTypes:["Routing"],app:e},r=>{typeof r.now!="function"&&console.warn("[Vue Router]: You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),r.on.inspectComponent((u,f)=>{u.instanceData&&u.instanceData.state.push({type:"Routing",key:"$route",editable:!1,value:Mr(t.currentRoute.value,"Current Route")})}),r.on.visitComponentTree(({treeNode:u,componentInstance:f})=>{if(f.__vrv_devtools){const d=f.__vrv_devtools;u.tags.push({label:(d.name?`${d.name.toString()}: `:"")+d.path,textColor:0,tooltip:"This component is rendered by &lt;router-view&gt;",backgroundColor:Sp})}Ue(f.__vrl_devtools)&&(f.__devtoolsApi=r,f.__vrl_devtools.forEach(d=>{let h=d.route.path,p=Rp,w="",x=0;d.error?(h=d.error,p=z_,x=M_):d.isExactActive?(p=Pp,w="This is exactly active"):d.isActive&&(p=Op,w="This link is active"),u.tags.push({label:h,textColor:x,tooltip:w,backgroundColor:p})}))}),Pt(t.currentRoute,()=>{i(),r.notifyComponentUpdate(),r.sendInspectorTree(l),r.sendInspectorState(l)});const s="router:navigations:"+n;r.addTimelineLayer({id:s,label:`Router${n?" "+n:""} Navigations`,color:4237508}),t.onError((u,f)=>{r.addTimelineEvent({layerId:s,event:{title:"Error during Navigation",subtitle:f.fullPath,logType:"error",time:r.now(),data:{error:u},groupId:f.meta.__navigationId}})});let a=0;t.beforeEach((u,f)=>{const d={guard:fa("beforeEach"),from:Mr(f,"Current Location during this navigation"),to:Mr(u,"Target location")};Object.defineProperty(u.meta,"__navigationId",{value:a++}),r.addTimelineEvent({layerId:s,event:{time:r.now(),title:"Start of navigation",subtitle:u.fullPath,data:d,groupId:u.meta.__navigationId}})}),t.afterEach((u,f,d)=>{const h={guard:fa("afterEach")};d?(h.failure={_custom:{type:Error,readOnly:!0,display:d?d.message:"",tooltip:"Navigation Failure",value:d}},h.status=fa("❌")):h.status=fa("✅"),h.from=Mr(f,"Current Location during this navigation"),h.to=Mr(u,"Target location"),r.addTimelineEvent({layerId:s,event:{title:"End of navigation",subtitle:u.fullPath,time:r.now(),data:h,logType:d?"warning":"default",groupId:u.meta.__navigationId}})});const l="router-inspector:"+n;r.addInspector({id:l,label:"Routes"+(n?" "+n:""),icon:"book",treeFilterPlaceholder:"Search routes"});function i(){if(!c)return;const u=c;let f=o.getRoutes().filter(d=>!d.parent||!d.parent.record.components);f.forEach($p),u.filter&&(f=f.filter(d=>Al(d,u.filter.toLowerCase()))),f.forEach(d=>Ap(d,t.currentRoute.value)),u.rootNodes=f.map(Ip)}let c;r.on.getInspectorTree(u=>{c=u,u.app===e&&u.inspectorId===l&&i()}),r.on.getInspectorState(u=>{if(u.app===e&&u.inspectorId===l){const d=o.getRoutes().find(h=>h.record.__vd_id===u.nodeId);d&&(u.state={options:D_(d)})}}),r.sendInspectorTree(l),r.sendInspectorState(l)})}function N_(e){return e.optional?e.repeatable?"*":"?":e.repeatable?"+":""}function D_(e){const{record:t}=e,o=[{editable:!1,key:"path",value:t.path}];return t.name!=null&&o.push({editable:!1,key:"name",value:t.name}),o.push({editable:!1,key:"regexp",value:e.re}),e.keys.length&&o.push({editable:!1,key:"keys",value:{_custom:{type:null,readOnly:!0,display:e.keys.map(n=>`${n.name}${N_(n)}`).join(" "),tooltip:"Param keys",value:e.keys}}}),t.redirect!=null&&o.push({editable:!1,key:"redirect",value:t.redirect}),e.alias.length&&o.push({editable:!1,key:"aliases",value:e.alias.map(n=>n.record.path)}),Object.keys(e.record.meta).length&&o.push({editable:!1,key:"meta",value:e.record.meta}),o.push({key:"score",editable:!1,value:{_custom:{type:null,readOnly:!0,display:e.score.map(n=>n.join(", ")).join(" | "),tooltip:"Score used to sort routes",value:e.score}}}),o}const Sp=15485081,Op=2450411,Pp=8702998,F_=2282478,Rp=16486972,L_=6710886,z_=16704226,M_=12131356;function Ip(e){const t=[],{record:o}=e;o.name!=null&&t.push({label:String(o.name),textColor:0,backgroundColor:F_}),o.aliasOf&&t.push({label:"alias",textColor:0,backgroundColor:Rp}),e.__vd_match&&t.push({label:"matches",textColor:0,backgroundColor:Sp}),e.__vd_exactActive&&t.push({label:"exact",textColor:0,backgroundColor:Pp}),e.__vd_active&&t.push({label:"active",textColor:0,backgroundColor:Op}),o.redirect&&t.push({label:typeof o.redirect=="string"?`redirect: ${o.redirect}`:"redirects",textColor:16777215,backgroundColor:L_});let n=o.__vd_id;return n==null&&(n=String(B_++),o.__vd_id=n),{id:n,label:o.path,tags:t,children:e.children.map(Ip)}}let B_=0;const Y_=/^\/(.*)\/([a-z]*)$/;function Ap(e,t){const o=t.matched.length&&tn(t.matched[t.matched.length-1],e.record);e.__vd_exactActive=e.__vd_active=o,o||(e.__vd_active=t.matched.some(n=>tn(n,e.record))),e.children.forEach(n=>Ap(n,t))}function $p(e){e.__vd_match=!1,e.children.forEach($p)}function Al(e,t){const o=String(e.re).match(Y_);if(e.__vd_match=!1,!o||o.length<3)return!1;if(new RegExp(o[1].replace(/\$$/,""),o[2]).test(t))return e.children.forEach(a=>Al(a,t)),e.record.path!=="/"||t==="/"?(e.__vd_match=e.re.test(t),!0):!1;const r=e.record.path.toLowerCase(),s=Zn(r);return!t.startsWith("/")&&(s.includes(t)||r.includes(t))||s.startsWith(t)||r.startsWith(t)||e.record.name&&String(e.record.name).includes(t)?!0:e.children.some(a=>Al(a,t))}function V_(e,t){const o={};for(const n in e)t.includes(n)||(o[n]=e[n]);return o}function X_(e){const t=p_(e.routes,e),o=e.parseQuery||k_,n=e.stringifyQuery||xp,r=e.history;if({}.NODE_ENV!=="production"&&!r)throw new Error('Provide the "history" option when calling "createRouter()": https://router.vuejs.org/api/interfaces/RouterOptions.html#history');const s=zr(),a=zr(),l=zr(),i=Zm(en);let c=en;Do&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=xl.bind(null,D=>""+D),f=xl.bind(null,zb),d=xl.bind(null,Zn);function h(D,et){let U,$;return fp(D)?(U=t.getRecordMatcher(D),{}.NODE_ENV!=="production"&&!U&&$t(`Parent route "${String(D)}" not found when adding child route`,et),$=et):$=D,t.addRoute($,U)}function p(D){const et=t.getRecordMatcher(D);et?t.removeRoute(et):{}.NODE_ENV!=="production"&&$t(`Cannot remove non-existent route "${String(D)}"`)}function w(){return t.getRoutes().map(D=>D.record)}function x(D){return!!t.getRecordMatcher(D)}function v(D,et){if(et=Zt({},et||i.value),typeof D=="string"){const S=Cl(o,D,et.path),O=t.resolve({path:S.path},et),z=r.createHref(S.fullPath);return{}.NODE_ENV!=="production"&&(z.startsWith("//")?$t(`Location "${D}" resolved to "${z}". A resolved location cannot start with multiple slashes.`):O.matched.length||$t(`No match found for location with path "${D}"`)),Zt(S,O,{params:d(O.params),hash:Zn(S.hash),redirectedFrom:void 0,href:z})}if({}.NODE_ENV!=="production"&&!ca(D))return $t(`router.resolve() was passed an invalid location. This will fail in production.
87
- - Location:`,D),v({});let U;if(D.path!=null)({}).NODE_ENV!=="production"&&"params"in D&&!("name"in D)&&Object.keys(D.params).length&&$t(`Path "${D.path}" was passed with params but they will be ignored. Use a named route alongside params instead.`),U=Zt({},D,{path:Cl(o,D.path,et.path).path});else{const S=Zt({},D.params);for(const O in S)S[O]==null&&delete S[O];U=Zt({},D,{params:f(S)}),et.params=f(et.params)}const $=t.resolve(U,et),It=D.hash||"";({}).NODE_ENV!=="production"&&It&&!It.startsWith("#")&&$t(`A \`hash\` should always start with the character "#". Replace "${It}" with "#${It}".`),$.params=u(d($.params));const Kt=Yb(n,Zt({},D,{hash:Db(It),path:$.path})),Rt=r.createHref(Kt);return{}.NODE_ENV!=="production"&&(Rt.startsWith("//")?$t(`Location "${D}" resolved to "${Rt}". A resolved location cannot start with multiple slashes.`):$.matched.length||$t(`No match found for location with path "${D.path!=null?D.path:D}"`)),Zt({fullPath:Kt,hash:It,query:n===xp?w_(D.query):D.query||{}},$,{redirectedFrom:void 0,href:Rt})}function g(D){return typeof D=="string"?Cl(o,D,i.value.path):Zt({},D)}function y(D,et){if(c!==D)return Gn(8,{from:et,to:D})}function m(D){return M(D)}function _(D){return m(Zt(g(D),{replace:!0}))}function C(D){const et=D.matched[D.matched.length-1];if(et&&et.redirect){const{redirect:U}=et;let $=typeof U=="function"?U(D):U;if(typeof $=="string"&&($=$.includes("?")||$.includes("#")?$=g($):{path:$},$.params={}),{}.NODE_ENV!=="production"&&$.path==null&&!("name"in $))throw $t(`Invalid redirect found:
88
- ${JSON.stringify($,null,2)}
89
- when navigating to "${D.fullPath}". A redirect must contain a name or path. This will break in production.`),new Error("Invalid redirect");return Zt({query:D.query,hash:D.hash,params:$.path!=null?{}:D.params},$)}}function M(D,et){const U=c=v(D),$=i.value,It=D.state,Kt=D.force,Rt=D.replace===!0,S=C(U);if(S)return M(Zt(g(S),{state:typeof S=="object"?Zt({},It,S.state):It,force:Kt,replace:Rt}),et||U);const O=U;O.redirectedFrom=et;let z;return!Kt&&sp(n,$,U)&&(z=Gn(16,{to:O,from:$}),Te($,$,!0,!1)),(z?Promise.resolve(z):V(O,$)).catch(B=>Fo(B)?Fo(B,2)?B:Re(B):St(B,O,$)).then(B=>{if(B){if(Fo(B,2))return{}.NODE_ENV!=="production"&&sp(n,v(B.to),O)&&et&&(et._count=et._count?et._count+1:1)>30?($t(`Detected a possibly infinite redirection in a navigation guard when going from "${$.fullPath}" to "${O.fullPath}". Aborting to avoid a Stack Overflow.
90
- Are you always returning a new location within a navigation guard? That would lead to this error. Only return when redirecting or aborting, that should fix this. This might break in production if not fixed.`),Promise.reject(new Error("Infinite redirect in navigation guard"))):M(Zt({replace:Rt},g(B.to),{state:typeof B.to=="object"?Zt({},It,B.to.state):It,force:Kt}),et||O)}else B=K(O,$,!0,Rt,It);return pt(O,$,B),B})}function X(D,et){const U=y(D,et);return U?Promise.reject(U):Promise.resolve()}function G(D){const et=I.values().next().value;return et&&typeof et.runWithContext=="function"?et.runWithContext(D):D()}function V(D,et){let U;const[$,It,Kt]=Z_(D,et);U=Rl($.reverse(),"beforeRouteLeave",D,et);for(const S of $)S.leaveGuards.forEach(O=>{U.push(on(O,D,et))});const Rt=X.bind(null,D,et);return U.push(Rt),Nt(U).then(()=>{U=[];for(const S of s.list())U.push(on(S,D,et));return U.push(Rt),Nt(U)}).then(()=>{U=Rl(It,"beforeRouteUpdate",D,et);for(const S of It)S.updateGuards.forEach(O=>{U.push(on(O,D,et))});return U.push(Rt),Nt(U)}).then(()=>{U=[];for(const S of Kt)if(S.beforeEnter)if(Ue(S.beforeEnter))for(const O of S.beforeEnter)U.push(on(O,D,et));else U.push(on(S.beforeEnter,D,et));return U.push(Rt),Nt(U)}).then(()=>(D.matched.forEach(S=>S.enterCallbacks={}),U=Rl(Kt,"beforeRouteEnter",D,et,G),U.push(Rt),Nt(U))).then(()=>{U=[];for(const S of a.list())U.push(on(S,D,et));return U.push(Rt),Nt(U)}).catch(S=>Fo(S,8)?S:Promise.reject(S))}function pt(D,et,U){l.list().forEach($=>G(()=>$(D,et,U)))}function K(D,et,U,$,It){const Kt=y(D,et);if(Kt)return Kt;const Rt=et===en,S=Do?history.state:{};U&&($||Rt?r.replace(D.fullPath,Zt({scroll:Rt&&S&&S.scroll},It)):r.push(D.fullPath,It)),i.value=D,Te(D,et,U,Rt),Re()}let lt;function gt(){lt||(lt=r.listen((D,et,U)=>{if(!te.listening)return;const $=v(D),It=C($);if(It){M(Zt(It,{replace:!0,force:!0}),$).catch(Dr);return}c=$;const Kt=i.value;Do&&Wb(lp(Kt.fullPath,U.delta),la()),V($,Kt).catch(Rt=>Fo(Rt,12)?Rt:Fo(Rt,2)?(M(Zt(g(Rt.to),{force:!0}),$).then(S=>{Fo(S,20)&&!U.delta&&U.type===Fr.pop&&r.go(-1,!1)}).catch(Dr),Promise.reject()):(U.delta&&r.go(-U.delta,!1),St(Rt,$,Kt))).then(Rt=>{Rt=Rt||K($,Kt,!1),Rt&&(U.delta&&!Fo(Rt,8)?r.go(-U.delta,!1):U.type===Fr.pop&&Fo(Rt,20)&&r.go(-1,!1)),pt($,Kt,Rt)}).catch(Dr)}))}let wt=zr(),Mt=zr(),Et;function St(D,et,U){Re(D);const $=Mt.list();return $.length?$.forEach(It=>It(D,et,U)):({}.NODE_ENV!=="production"&&$t("uncaught error during route navigation:"),console.error(D)),Promise.reject(D)}function ue(){return Et&&i.value!==en?Promise.resolve():new Promise((D,et)=>{wt.add([D,et])})}function Re(D){return Et||(Et=!D,gt(),wt.list().forEach(([et,U])=>D?U(D):et()),wt.reset()),D}function Te(D,et,U,$){const{scrollBehavior:It}=e;if(!Do||!It)return Promise.resolve();const Kt=!U&&qb(lp(D.fullPath,0))||($||!U)&&history.state&&history.state.scroll||null;return is().then(()=>It(D,et,Kt)).then(Rt=>Rt&&Hb(Rt)).catch(Rt=>St(Rt,D,et))}const Bt=D=>r.go(D);let tt;const I=new Set,te={currentRoute:i,listening:!0,addRoute:h,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:x,getRoutes:w,resolve:v,options:e,push:m,replace:_,go:Bt,back:()=>Bt(-1),forward:()=>Bt(1),beforeEach:s.add,beforeResolve:a.add,afterEach:l.add,onError:Mt.add,isReady:ue,install(D){const et=this;D.component("RouterLink",S_),D.component("RouterView",Il),D.config.globalProperties.$router=et,Object.defineProperty(D.config.globalProperties,"$route",{enumerable:!0,get:()=>vt(i)}),Do&&!tt&&i.value===en&&(tt=!0,m(r.location).catch(It=>{({}).NODE_ENV!=="production"&&$t("Unexpected error when starting the router:",It)}));const U={};for(const It in en)Object.defineProperty(U,It,{get:()=>i.value[It],enumerable:!0});D.provide(ua,et),D.provide(Ol,Ic(U)),D.provide(Pl,i);const $=D.unmount;I.add(D),D.unmount=function(){I.delete(D),I.size<1&&(c=en,lt&&lt(),lt=null,i.value=en,tt=!1,Et=!1),$()},{}.NODE_ENV!=="production"&&Do&&$_(D,et,t)}};function Nt(D){return D.reduce((et,U)=>et.then(()=>G(U)),Promise.resolve())}return te}function Z_(e,t){const o=[],n=[],r=[],s=Math.max(t.matched.length,e.matched.length);for(let a=0;a<s;a++){const l=t.matched[a];l&&(e.matched.find(c=>tn(c,l))?n.push(l):o.push(l));const i=e.matched[a];i&&(t.matched.find(c=>tn(c,i))||r.push(i))}return[o,n,r]}function da(){return no(ua)}function Np(e){return no(Ol)}const G_={class:"page"},U_={class:"page-header"},j_={class:"page-main"},H_={class:"page-main-scroll"},W_={class:"page-footer"},q_={class:"page-global"},K_=Y({customOptions:{},inheritAttrs:!0,__name:"LayoutPage",setup(e,{expose:t}){return t({}),(o,n)=>(A(),F("div",G_,[k("div",U_,[dt(o.$slots,"header",{},void 0,!0)]),k("div",j_,[k("div",H_,[dt(o.$slots,"default",{},void 0,!0)])]),k("div",W_,[dt(o.$slots,"footer",{},void 0,!0)]),k("div",q_,[dt(o.$slots,"global",{},void 0,!0)])]))}}),B3="",Je=nt(K_,[["__scopeId","data-v-3c77fd20"]]),Q_={class:"view-document"},J_=["src"],tx=Y({inheritAttrs:!0,customOptions:{LayoutPage:Je},__name:"ViewDocument",props:{src:{default:""},title:{default:""}},setup(e){const t=e,o=Np();nd(typeof o.params.title=="string"?o.params.title:t.title);const n=decodeURIComponent(typeof o.params.src=="string"?o.params.src:t.src);return(r,s)=>(A(),ht(Je,null,{default:st(()=>[k("div",Q_,[k("img",{class:"img",src:vt(n)},null,8,J_)])]),_:1}))}}),Y3="",$l=nt(tx,[["__scopeId","data-v-786ac2a3"]]),ex={class:"xg-footer-inner"},ox=Y({customOptions:{Button:ne},inheritAttrs:!0,__name:"Footer",setup(e){const t=da();function o(){t.push("/park")}const n=R("0px");let r;return fe(()=>{r=rl.onBottom(s=>{n.value=s})}),se(()=>{r?.()}),(s,a)=>(A(),F("div",{class:"xg-footer",style:N({paddingBottom:n.value})},[k("div",ex,[J(ne,{label:"去支付",width:"100%",onClick:o})])],4))}}),V3="",pa=nt(ox,[["__scopeId","data-v-47056f4a"]]),nx={class:"text"},rx=Y({customOptions:{},inheritAttrs:!0,__name:"PlateDisplay",props:{plate:{},plateType:{},displayType:{default:"chinese"}},setup(e,{expose:t,emit:o}){const n=e,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":"#ffffff",color:"#000000",border:"1px solid #999999"}},{name:"未知",style:{"background-color":"#cccccc",color:"#ffffff"}}];function s(c){switch(c){case"b":case"蓝牌":c="蓝牌";break;case"g":case"绿牌":c="绿牌";break;case"y":case"黄牌":c="黄牌";break;case"q":case"黄绿":c="黄绿";break;case"d":case"黑牌":c="黑牌";break;case"w":case"白牌":c="白牌";break;default:c="未知";break}const u=r.filter(f=>f.name===c);return u.length?u[0]:s("未知")}const a=R(s(n.plateType||"")),l=R(),i=R(14);return fe(()=>{i.value=Ks(l.value).getEmSize()}),t({}),(c,u)=>(A(),F("div",{class:"plate-display",ref_key:"el",ref:l},[c.displayType=="dot"&&c.plate!=="无牌车"?(A(),F("div",{key:0,class:Ut(["leading",c.displayType]),style:N({...a.value.style,width:i.value+"px",height:i.value+"px",marginRight:.36*i.value+"px"})},ut(a.value.name),7)):yt("",!0),c.displayType=="chinese"&&c.plate!=="无牌车"?(A(),F("div",{key:1,class:Ut(["leading",c.displayType]),style:N(a.value.style)},ut(a.value.name),7)):yt("",!0),c.displayType=="plaintext"&&c.plate!=="无牌车"?(A(),F("div",{key:2,class:Ut(["leading",c.displayType])},ut(a.value.name),3)):yt("",!0),k("div",nx,ut(c.plate),1)],512))}}),X3="",ha=nt(rx,[["__scopeId","data-v-6395bb5a"]]),Un=Y({customOptions:{Container:mt},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(e,{expose:t,emit:o}){const n=e,r=o,s=jt({}),a=jt({});let l=n.name,i=n.duration,c=n.timingFunction,u=n.delay,f=n.repeat,d=n.direction;function h(C){switch(l=C,l){case"superRainbow":i=n.duration||15e3;break;case"heartBeat":i=n.duration||1300;break;case"statusProcessing":i=n.duration||1200;break;case"rotateFall":case"rotateSlideOut":case"rotateSlideIn":i=n.duration||1e3;break;case"rotateRightSideFirst":case"rotateLeftSideFirst":case"rotateTopSideFirst":case"rotateBottomSideFirst":case"rotatePushLeft":case"rotatePushRight":case"rotatePushTop":case"rotatePushBottom":case"rotateRoomLeftOut":case"rotateRoomLeftIn":case"rotateRoomRightOut":case"rotateRoomRightIn":case"rotateRoomTopOut":case"rotateRoomTopIn":case"rotateRoomBottomOut":case"rotateRoomBottomIn":case"rotateCarouselLeftOut":case"rotateCarouselLeftIn":case"rotateCarouselRightOut":case"rotateCarouselRightIn":case"rotateCarouselTopOut":case"rotateCarouselTopIn":case"rotateCarouselBottomOut":case"rotateCarouselBottomIn":i=n.duration||800;break;case"bounceIn":case"bounceOut":case"flipOutX":case"hinge":i=n.duration||750;break;case"rotateFoldRight":case"rotateFoldLeft":case"rotateFoldTop":case"rotateFoldBottom":case"rotateUnfoldLeft":case"rotateUnfoldRight":case"rotateUnfoldTop":case"rotateUnfoldBottom":case"fade":case"moveFromLeftFade":case"moveToLeftFade":case"moveFromRightFade":case"moveToRightFade":case"moveFromTopFade":case"moveToTopFade":case"moveFromBottomFade":case"moveToBottomFade":i=n.duration||700;break;case"moveFromLeft":case"moveToLeft":case"moveFromRight":case"moveToRight":case"moveFromTop":case"moveToTop":case"moveFromBottom":case"moveToBottom":case"rotateCubeLeftOut":case"rotateCubeLeftIn":case"rotateCubeRightOut":case"rotateCubeRightIn":case"rotateCubeTopOut":case"rotateCubeTopIn":case"rotateCubeBottomOut":case"rotateCubeBottomIn":i=n.duration||600;break;default:i=n.duration||500;break}switch(l){case"superRainbow":c=n.timingFunction||"linear";break;case"lightSpeedOutLeft":case"lightSpeedOutRight":case"rotateRightSideFirst":case"rotateLeftSideFirst":case"rotateTopSideFirst":case"rotateBottomSideFirst":case"flipOutRight":case"flipOutLeft":case"flipOutTop":case"flipOutBottom":case"rotateFall":case"rotateOutNewspaper":case"rotateCubeLeftOut":case"rotateCubeLeftIn":case"rotateCubeRightOut":case"rotateCubeRightIn":case"rotateCubeTopOut":case"rotateCubeTopIn":case"rotateCubeBottomOut":case"rotateCubeBottomIn":case"rotateSidesOut":c=n.timingFunction||"ease-in";break;case"lightSpeedInLeft":case"lightSpeedInRight":case"flipInLeft":case"flipInRight":case"flipInBottom":case"flipInTop":case"rotateInNewspaper":case"rotateSidesIn":c=n.timingFunction||"ease-out";break;case"pulse":case"headShake":case"heartBeat":case"statusProcessing":c=n.timingFunction||"ease-in-out";break;default:c=n.timingFunction||"ease";break}switch(l){default:u=n.delay||0;break}switch(l){case"superRainbow":case"statusProcessing":f=n.repeat||"infinite";break;default:f=n.repeat||1;break}switch(l){case"superRainbow":d=n.direction||"alternate";break;default:d=n.direction||"normal";break}switch(l){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(l){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":s.overflow="visible";break;default:s.overflow="hidden";break}switch(l){case"flip":case"flipInX":case"flipInY":case"flipOutX":case"flipOutY":a.backfaceVisibility="visible";break;default:delete a.backfaceVisibility;break}}const p=R(),w=C=>{s.perspective=n.perspective,C.on("animationstart",M=>{r("cssanimationstart",M.animationName)}),C.on("animationend",M=>{r("cssanimationend",M.animationName)})};function x(){p.value.style.animation="none",p.value.offsetHeight,p.value.style.animation=null}const v=()=>{a.animation="none"},g=()=>{x(),a.animation=`${i}ms ${c} ${u}ms ${f} ${d} ${n.fillMode} ${n.playState} ${l}`},y=C=>{C&&h(C),v(),d="normal",g()},m=C=>{C&&h(C),v(),d="reverse",g()},_=()=>{a.animation="none"};return Pt(()=>n.name,()=>{h(n.name)},{immediate:!0}),t({trigger:y,triggerReverse:m,clear:_}),(C,M)=>(A(),ht(mt,{class:"css-animation",type:n.containerType,supportCopyText:n.supportCopyText,effectTriggerTiming:n.effectTriggerTiming,style:N(s),onReady:w,onStart:v,onEnd:g},{default:st(()=>[k("div",{class:"css-animation-inner",ref_key:"animationRef",ref:p,style:N({position:"relative",display:"block",width:"100%",height:"100%",cursor:"pointer",transformStyle:"preserve-3d",...a})},[dt(C.$slots,"default")],4)]),_:3},8,["type","supportCopyText","effectTriggerTiming","style"]))}}),Z3="",ma=Y({customOptions:{Container:mt,CSSAnimation:Un},inheritAttrs:!0,__name:"Page",props:{effect:{default:"moveFromLeft"},duration:{default:500},easeFunction:{type:Function,default:at.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["ready","pageOpenStart","pageOpenEnd","pageCloseStart","pageCloseEnd"],setup(e,{expose:t,emit:o}){const n=e,r=o,s=R(),a=jt({}),l=()=>{r("ready",C,M)},i=()=>{w()},c=R();let u="rotateRightSideFirst",f=n.effect;function d(X,G){switch(f){case"static":G();break;default:X();break}}let h=!1;const p=new Ge,w=()=>{const X={},G={};p.clear(),p.frameDuration=n.duration,d(()=>{u=f},()=>{p.addTween(X,G,{delay:n.delay/n.duration,easeFunction:n.easeFunction,onStart:()=>{r(h?"pageCloseStart":"pageOpenStart")},onUpdate:V=>{a.transform="","x"in V&&(a.transform+=` translateX(${V.x}%)`),"y"in V&&(a.transform+=` translateY(${V.y}%)`),"rx"in V&&(a.transform+=` rotateX(${V.rx}deg)`),"ry"in V&&(a.transform+=` rotateY(${V.ry}deg)`),"scale"in V&&(a.transform+=` scale(${V.scale})`),"opacity"in V&&(a.opacity=`${V.opacity}`)},onComplete:()=>{r(h?"pageCloseEnd":"pageOpenEnd")}})})};Pt(()=>[n.effect,n.delay,n.duration,n.easeFunction],()=>{f=n.effect,w()},{immediate:!0});const x=()=>{r(h?"pageCloseStart":"pageOpenStart")},v=()=>{r(h?"pageCloseEnd":"pageOpenEnd")},g=()=>{d(()=>{c.value.trigger(u)},()=>{p.play()})},y=()=>{d(()=>{c.value.triggerReverse(u)},()=>{p.reverse()})},m=()=>{a.transform="none",a.opacity="1"};function _(){d(()=>{m()},()=>{c.value?.clear()})}const C=X=>{X&&(f=X,w()),h=!1,_(),g()},M=X=>{X&&(f=X,w()),h=!0,_(),y()};return t({open:C,close:M,clear:m,getElement:()=>s.value.getElement()}),(X,G)=>(A(),ht(mt,{class:"page",ref_key:"pageRef",ref:s,type:"full",effectTriggerTiming:"manual",style:{overflow:"hidden",width:"100%",height:"100%"},onReady:l,onResize:i},{default:st(()=>[J(Un,{ref_key:"cssAnimationRef",ref:c,containerType:"full",effectTriggerTiming:"manual",duration:n.duration,delay:n.delay,timingFunction:n.timingFunction,onCssanimationstart:x,onCssanimationend:v},{default:st(()=>[k("div",{class:"page-inner",style:N({position:"relative",display:"block",width:"100%",height:"100%",overflow:"scroll",backfaceVisibility:"hidden",transformStyle:"preserve-3d",...a})},[dt(X.$slots,"default")],4)]),_:3},8,["duration","delay","timingFunction"])]),_:3},512))}}),Br=Y({customOptions:{Page:ma,Container:mt},inheritAttrs:!0,__name:"Routes",props:{effect:{default:"moveToLeft"},duration:{default:500},easeFunction:{type:Function,default:at.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["routeChangeStart","routeChangeEnd","renderComplete"],setup(e,{expose:t,emit:o}){const n=e,r=o;let s=-1,a=-1,l;const i=[];let c=[],u=[],f=[];function d(tt){return tt>=0&&tt<c.length}function h(){return a>s}function p(tt,I,te){switch(tt){case s:return h()?I:te;case a:return h()?te:I;default:return"static"}}function w(tt,I){switch(tt){case"moveToLeft":return p(I,"moveToLeft","moveFromRight");case"moveToRight":return p(I,"moveToRight","moveFromLeft");case"moveToTop":return p(I,"moveToTop","moveFromBottom");case"moveToBottom":return p(I,"moveToBottom","moveFromTop");case"moveFromLeftPrevFade":return p(I,"fade","moveFromLeft");case"moveFromRightPrevFade":return p(I,"fade","moveFromRight");case"moveFromTopPrevFade":return p(I,"fade","moveFromTop");case"moveFromBottomPrevFade":return p(I,"fade","moveFromBottom");case"moveToLeftFade":return p(I,"moveToLeftFade","moveFromRightFade");case"moveToRightFade":return p(I,"moveToRightFade","moveFromLeftFade");case"moveToTopFade":return p(I,"moveToTopFade","moveFromBottomFade");case"moveToBottomFade":return p(I,"moveToBottomFade","moveFromTopFade");case"moveToLeftEasing":return p(I,"moveToLeft","moveFromRight");case"moveToRightEasing":return p(I,"moveToRight","moveFromLeft");case"moveToTopEasing":return p(I,"moveToTop","moveFromBottom");case"moveToBottomEasing":return p(I,"moveToBottom","moveFromTop");case"moveFromLeftPrevScaleToSmall":return p(I,"scaleToSmall","moveFromLeft");case"moveFromRightPrevScaleToSmall":return p(I,"scaleToSmall","moveFromRight");case"moveFromTopPrevScaleToSmall":return p(I,"scaleToSmall","moveFromTop");case"moveFromBottomPrevScaleToSmall":return p(I,"scaleToSmall","moveFromBottom");case"scaleSmall":return p(I,"scaleToSmall","scaleFromLarge");case"scaleLarge":return p(I,"scaleToLarge","scaleFromSmall");case"scaleToLargePrevScaleToSmall":return p(I,"scaleToSmallCenter","scaleFromSmallCenter");case"scaleFromSmallPrevMoveToLeft":return p(I,"moveToLeft","scaleFromSmall");case"scaleFromSmallPrevMoveToRight":return p(I,"moveToRight","scaleFromSmall");case"scaleFromSmallPrevMoveToTop":return p(I,"moveToTop","scaleFromSmall");case"scaleFromSmallPrevMoveToBottom":return p(I,"moveToBottom","scaleFromSmall");case"glueToLeft":return p(I,"rotateRightSideFirst","moveFromRight");case"glueToRight":return p(I,"rotateLeftSideFirst","moveFromLeft");case"glueToTop":return p(I,"rotateBottomSideFirst","moveFromBottom");case"glueToBottom":return p(I,"rotateTopSideFirst","moveFromTop");case"flipToLeft":return p(I,"flipOutLeft","flipInRight");case"flipToRight":return p(I,"flipOutRight","flipInLeft");case"flipToTop":return p(I,"flipOutTop","flipInBottom");case"flipToBottom":return p(I,"flipOutBottom","flipInTop");case"rotateFall":return p(I,"rotateFall","scaleFromSmall");case"newspaper":return p(I,"rotateOutNewspaper","rotateInNewspaper");case"moveFromLeftPrevPush":return p(I,"rotatePushRight","moveFromLeft");case"moveFromRightPrevPush":return p(I,"rotatePushLeft","moveFromRight");case"moveFromTopPrevPush":return p(I,"rotatePushBottom","moveFromTop");case"moveFromBottomPrevPush":return p(I,"rotatePushTop","moveFromBottom");case"pullFromLeftPrevPush":return p(I,"rotatePushRight","rotatePullLeft");case"pullFromRightPrevPush":return p(I,"rotatePushLeft","rotatePullRight");case"pullFromTopPrevPush":return p(I,"rotatePushBottom","rotatePullTop");case"pullFromBottomPrevPush":return p(I,"rotatePushTop","rotatePullBottom");case"moveFromLeftFadePrevFold":return p(I,"rotateFoldRight","moveFromLeftFade");case"moveFromRightFadePrevFold":return p(I,"rotateFoldLeft","moveFromRightFade");case"moveFromTopFadePrevFold":return p(I,"rotateFoldBottom","moveFromTopFade");case"moveFromBottomFadePrevFold":return p(I,"rotateFoldTop","moveFromBottomFade");case"moveToLeftFadePrevUnfold":return p(I,"moveToLeftFade","rotateUnfoldRight");case"moveToRightFadePrevUnfold":return p(I,"moveToRightFade","rotateUnfoldLeft");case"moveToTopFadePrevUnfold":return p(I,"moveToTopFade","rotateUnfoldBottom");case"moveToBottomFadePrevUnfold":return p(I,"moveToBottomFade","rotateUnfoldTop");case"rotateRoomLeftIn":return p(I,"rotateRoomLeftOut","rotateRoomLeftIn");case"rotateRoomRightIn":return p(I,"rotateRoomRightOut","rotateRoomRightIn");case"rotateRoomTopIn":return p(I,"rotateRoomTopOut","rotateRoomTopIn");case"rotateRoomBottomIn":return p(I,"rotateRoomBottomOut","rotateRoomBottomIn");case"rotateCubeLeftIn":return p(I,"rotateCubeLeftOut","rotateCubeLeftIn");case"rotateCubeRightIn":return p(I,"rotateCubeRightOut","rotateCubeRightIn");case"rotateCubeTopIn":return p(I,"rotateCubeTopOut","rotateCubeTopIn");case"rotateCubeBottomIn":return p(I,"rotateCubeBottomOut","rotateCubeBottomIn");case"rotateCarouselLeftIn":return p(I,"rotateCarouselLeftOut","rotateCarouselLeftIn");case"rotateCarouselRightIn":return p(I,"rotateCarouselRightOut","rotateCarouselRightIn");case"rotateCarouselTopIn":return p(I,"rotateCarouselTopOut","rotateCarouselTopIn");case"rotateCarouselBottomIn":return p(I,"rotateCarouselBottomOut","rotateCarouselBottomIn");case"rotateSidesIn":return p(I,"rotateSidesOut","rotateSidesIn");case"rotateSlideIn":return p(I,"rotateSlideOut","rotateSlideIn")}}function x(tt,I=600,te=600){switch(tt){case s:return I;case a:return te;default:return n.duration}}function v(tt,I){switch(tt){case"moveFromLeftFadePrevFold":case"moveFromRightFadePrevFold":case"moveFromTopFadePrevFold":case"moveFromBottomFadePrevFold":return x(I,700,700);case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":case"moveFromLeftPrevScaleToSmall":case"moveFromRightPrevScaleToSmall":case"moveFromTopPrevScaleToSmall":case"moveFromBottomPrevScaleToSmall":return x(I,700,600);case"scaleSmall":return x(I,700,500);case"scaleLarge":return x(I,500,700);case"scaleToLargePrevScaleToSmall":return x(I,400,400);case"scaleFromSmallPrevMoveToLeft":case"scaleFromSmallPrevMoveToRight":case"scaleFromSmallPrevMoveToTop":case"scaleFromSmallPrevMoveToBottom":return x(I,600,700);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":return x(I,800,600);default:return n.duration}}let g=n.timingFunction;function y(tt){switch(tt){default:return n.easeFunction}}function m(tt,I){switch(tt){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":switch(I){case s:g=h()?"ease-in-out":"ease";break;case a:default:g=h()?"ease":"ease-in-out"}return y(I);default:return g=n.timingFunction,n.easeFunction}}function _(tt,I=300){switch(tt){case a:return n.delay+I;default:return n.delay}}function C(tt,I){switch(tt){case"flipToLeft":case"flipToRight":case"flipToTop":case"flipToBottom":case"newspaper":return _(I,500);case"scaleSmall":case"scaleLarge":return _(I,300);case"scaleToLargePrevScaleToSmall":return _(I,400);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":case"rotateSidesIn":return _(I,200);case"pullFromLeftPrevPush":case"pullFromRightPrevPush":case"pullFromTopPrevPush":case"pullFromBottomPrevPush":return _(I,180);default:return n.delay}}let M=2,X=2;const G=()=>{M=2,X=2},V=()=>{M=2,X=3},pt=()=>{M=3,X=2};function K(tt){switch(n.effect){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":pt();break;case"scaleFromSmallPrevMoveToLeft":case"scaleFromSmallPrevMoveToRight":case"scaleFromSmallPrevMoveToTop":case"scaleFromSmallPrevMoveToBottom":case"rotateFall":case"rotateRoomLeftIn":case"rotateRoomRightIn":case"rotateRoomTopIn":case"rotateRoomBottomIn":case"rotateCubeLeftIn":case"rotateCubeRightIn":case"rotateCubeTopIn":case"rotateCubeBottomIn":case"rotateCarouselLeftIn":case"rotateCarouselRightIn":case"rotateCarouselTopIn":case"rotateCarouselBottomIn":h()?pt():V();break;case"moveFromLeftPrevFade":case"moveFromRightPrevFade":case"moveFromTopPrevFade":case"moveFromBottomPrevFade":case"moveFromLeftPrevScaleToSmall":case"moveFromRightPrevScaleToSmall":case"moveFromTopPrevScaleToSmall":case"moveFromBottomPrevScaleToSmall":case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":h()?V():pt();break;default:G();break}d(s)&&s==tt&&(f[s].style.zIndex=`${M}`,f[s].style.visibility="visible"),d(a)&&a==tt&&(f[a].style.zIndex=`${X}`,f[a].style.visibility="visible")}function lt(tt){V(),tt==s&&(f[s].style.zIndex=`${M}`,f[s].style.visibility="hidden"),tt==a&&(f[a].style.zIndex=`${X}`,f[a].style.visibility="visible",i.shift()?.(),r("routeChangeEnd",s,a,c.length),s=a)}const gt=R();function wt(tt=0,I=!1){if(!gt.value)return;let te=0;Rs(Xt("div",{class:"routes-pages",style:{display:"block",width:"100%",height:"100%",overflow:"hidden",position:"relative"}},c.map((Nt,D)=>{const et=w(n.effect,D);return Xt("div",Object.assign({class:"routes-page",style:{display:"block",width:"100%",height:"100%",overflow:"hidden",position:"absolute",top:"0",left:"0",backfaceVisibility:"hidden",transform:"translate3d(0, 0, 0)",transformStyle:"preserve-3d",visibility:s==D?"visible":"hidden",zIndex:I?"1":"0"}},Nt.pageKey?{key:Nt.pageKey}:{}),Xt(ma,{effect:et,duration:v(n.effect,D),easeFunction:m(n.effect,D),timingFunction:g,delay:C(n.effect,D),onReady:(U,$)=>{u[D]={open:U,close:$},++te==tt&&(l?.(),r("renderComplete"))},onPageOpenStart:()=>{K(D)},onPageOpenEnd:()=>{lt(D)},onPageCloseStart:()=>{K(D)},onPageCloseEnd:()=>{lt(D)}},{default:()=>Nt.component instanceof HTMLElement?Xt("div",{...Nt.attributes,innerHTML:Nt.component.innerHTML}):Xt(Nt.component,Nt.attributes,()=>Nt.child)}))})),gt.value),f=gt.value.children[0].children}Pt(()=>n.effect,()=>{wt()});function Mt(tt=[]){c=[...tt],c.forEach(I=>{I.pageKey=I.pageKey||Dn()}),l=()=>{s=-1,Bt(0)},wt(c.length,!0)}function Et(tt){tt.pageKey=tt.pageKey||Dn(),c.push(tt),l=()=>{Bt(c.length-1)},wt(1,c.length==1)}function St(){c.length<=1||Bt(c.length-2,()=>{c.splice(c.length-1,1),s=c.length-1,wt()})}function ue(){Bt(s+1)}function Re(){Bt(s-1)}const Te=new Ns(1);function Bt(tt,I){Te.addTask(()=>new Promise(te=>{const Nt=()=>{I?.(),te()};if(!d(tt)){Nt();return}if(a=tt,a==s){Nt();return}i.push(Nt),wt(),r("routeChangeStart",s,a,c.length),h()?(d(s)&&u[s].open(),d(a)&&u[a].open()):(d(s)&&u[s].close(),d(a)&&u[a].close())}))}return t({reset:Mt,push:Et,pop:St,forward:ue,back:Re,goto:Bt,currentPageIndex:()=>s,totalPages:()=>c.length}),(tt,I)=>(A(),F("div",{class:"routes",ref_key:"routesRef",ref:gt,style:{display:"block",position:"relative",width:"100%",height:"100%","overflow-x":"hidden","overflow-y":"hidden"}},null,512))}}),sx=["src"],ax=Y({name:"Image",customOptions:{Container:mt,Pop:ie},inheritAttrs:!0,__name:"Image",props:{src:{},mode:{default:"scaleToFill"},dur:{default:300},bgColor:{default:"transparent"},openImageDetailWhenClick:{type:Boolean,default:!0}},emits:["settled"],setup(e,{expose:t,emit:o}){const n=e,r=o,s=new Ge({frameDuration:n.dur}),a=R(0),l=R(0),i=R(0),c=R(0),u=R(0),f=R(0),d=R(0),h=R(0),p=R(!0),w=R(0),x=R(0);fd(n.src).then(lt=>{w.value=lt.width,x.value=lt.height,C()}).catch(()=>{p.value=!1});const v=R(0),g=R(0),y=(lt,gt)=>{v.value=lt,g.value=gt,C()},m=R(0),_=R(0);function C(){if(!v.value||!g.value||!w.value||!x.value)return;const lt=Hs(n.mode,w.value,x.value,v.value,g.value);m.value=lt.width,_.value=lt.height;const{width:gt,height:wt}=Ir(),Mt=Hs("aspectFit",w.value,x.value,gt,wt);d.value=Mt.width,h.value=Mt.height,u.value=(gt-d.value)/2,f.value=(wt-h.value)/2}const M=(lt,gt,wt)=>{r("settled",wt.x,wt.y,wt.width,wt.height)};let X=!1;const G=R(),V=R();async function pt(){if(!n.openImageDetailWhenClick)return;const lt=await G.value.getSize();s.clear(),s.addTween({left:lt.x,top:lt.y,width:lt.width,height:lt.height},{left:u.value,top:f.value,width:d.value,height:h.value},{easeFunction:at.Quadratic.Out,onUpdate(gt){a.value=gt.left,l.value=gt.top,i.value=gt.width,c.value=gt.height},onComplete(){X&&V.value.close(),X=!X}}),X||(V.value.open(),s.play())}function K(){X&&s.reverse()}return t({}),(lt,gt)=>(A(),ht(mt,{class:"image",type:"full",style:N({backgroundColor:n.bgColor}),onResize:y,onClick:pt},{default:st(()=>[p.value?(A(),ht(mt,{key:0,class:"image-inner",ref_key:"imageRef",ref:G,type:"shrink",style:N({width:m.value+"px",height:_.value+"px",backgroundImage:`url(${n.src})`,backgroundSize:`${m.value}px ${_.value}px`}),onResize:M},null,8,["style"])):yt("",!0),p.value?yt("",!0):(A(),ht(mt,{key:1,type:"shrink"},{default:st(()=>[k("img",{src:n.src,style:{display:"block",objectFit:"contain"}},null,8,sx)]),_:1})),J(ie,{ref_key:"popRef",ref:V,"direction-from":"absolute","absolute-left":`${a.value}px`,"absolute-top":`${l.value}px`,"absolute-width":`${i.value}px`,"absolute-height":`${c.value}px`,"close-when-click-overlay":!1,onClickOverlay:K},{default:st(()=>[k("div",{class:"image-pop",style:N({width:"100%",height:"100%",backgroundImage:`url(${n.src})`,backgroundSize:"100% 100%"})},null,4)]),_:1},8,["absolute-left","absolute-top","absolute-width","absolute-height"])]),_:1},8,["style"]))}}),G3="",ga=nt(ax,[["__scopeId","data-v-fdc8ba41"]]),ix={key:0,style:{position:"absolute",top:"30px",left:"50%",transform:"translate(-50%, 0)",color:"#ffffff","font-size":"1em","z-index":"98"}},ya=Y({customOptions:{Image:ga,Container:mt,Routes:Br},inheritAttrs:!0,__name:"ImageView",props:{urls:{default:()=>[]},effect:{default:"moveToLeftFade"}},setup(e,{expose:t,emit:o}){const n=e,r=R(0);function s(d,h){r.value=h}const a=R(),l=d=>{d.on("panLeft",()=>{a.value?.forward()}),d.on("panRight",()=>{a.value?.back()}),a.value.reset(n.urls.map(h=>({component:Xt(ga,{mode:"aspectFit",src:h,openImageDetailWhenClick:!1})})))},i=R();function c(){i.value?.open()}function u(){i.value?.close()}const f=d=>{d.target&&qs(d.target,"image")&&u()};return t({open:c,close:u}),(d,h)=>(A(),ht(ie,{ref_key:"popRef",ref:i,directionFrom:"absolute",onClick:f},{default:st(()=>[n.urls.length>1?(A(),F("div",ix,ut(r.value+1)+" / "+ut(n.urls.length),1)):yt("",!0),J(mt,{style:{position:"absolute",top:"50%",transform:"translate(0, -50%)",width:"100%",height:"100%","z-index":"97"},onReady:l},{default:st(()=>[J(Br,{ref_key:"routesRef",ref:a,effect:n.effect,onRouteChangeEnd:s},null,8,["effect"])]),_:1})]),_:1},512))}}),lx={class:"pop-tel"},cx=["href"],ux=Y({customOptions:{Pop:ie},inheritAttrs:!0,__name:"PopTel",props:{tel:{}},setup(e,{expose:t,emit:o}){const n=R();function r(){n.value?.open()}function s(){n.value?.close()}return t({open:r,close:s}),(a,l)=>(A(),ht(ie,{directionFrom:"bottom",closeWhenClickOverlay:!1,ref_key:"el",ref:n},{default:st(()=>[k("div",lx,[k("div",null,ut(a.tel),1),k("a",{class:"pop-tel-call",onClick:s,href:`tel:${a.tel}`}," 呼叫 ",8,cx),k("div",{class:"pop-tel-cancel",onClick:s}," 取消 ")])]),_:1},512))}}),U3="",va=nt(ux,[["__scopeId","data-v-c1425500"]]),fx={class:"lot-main"},dx={class:"lot-detail"},px={class:"bold"},hx=Y({customOptions:{LayoutPage:Je,Footer:pa,PlateDisplay:ha,ViewDocument:$l,PopTel:va,ImageView:ya},inheritAttrs:!0,__name:"Lot",setup(e){const t=da();function o(){t.push({name:"view-document",params:{title:"收费标准",src:encodeURIComponent("https://erichd2.oss-cn-shanghai.aliyuncs.com/0000/0002/2159")}})}const n=R();function r(){n.value?.open()}const s=R();function a(){s.value?.open()}return(l,i)=>(A(),ht(Je,{class:"lot"},{footer:st(()=>[J(pa)]),global:st(()=>[J(va,{tel:"15851575410",ref_key:"popTelEl",ref:n},null,512),J(ya,{urls:["https://erichd2.oss-cn-shanghai.aliyuncs.com/0000/0002/2159","https://erichd2.oss-cn-shanghai.aliyuncs.com/0000/0002/2159"],ref_key:"imageViewEl",ref:s},null,512)]),default:st(()=>[i[15]||(i[15]=k("div",{class:"lot-main-bg"},null,-1)),k("div",fx,[i[12]||(i[12]=k("div",null,"若临测试泊位机器人停车场",-1)),i[13]||(i[13]=k("div",null,[k("div"),k("div",null,"编号"),k("div")],-1)),i[14]||(i[14]=k("div",null,[k("span",null,"103"),k("span",null,"002")],-1)),k("div",null,[i[0]||(i[0]=k("div",null,"停车场主页",-1)),i[1]||(i[1]=k("div",null,"更换附近车位",-1)),k("div",{onClick:o},"收费标准")]),k("div",dx,[i[4]||(i[4]=k("div",null,[k("div",null,"待支付"),k("div",{class:"red"},"¥0.01")],-1)),i[5]||(i[5]=k("div",null,[k("div",null,"已支付"),k("div",null,"¥0.01")],-1)),i[6]||(i[6]=k("div",null,[k("div",null,"订单编号"),k("div",null,"33333333333")],-1)),i[7]||(i[7]=k("div",null,[k("div",null,"开始时间"),k("div",null,"2025-04-08 09:41:25")],-1)),i[8]||(i[8]=k("div",null,[k("div",null,"停车时长"),k("div",null,"51小时53分钟15秒")],-1)),i[9]||(i[9]=k("div",null,[k("div",null,"优惠券"),k("div",{class:"red"},"1分钟")],-1)),i[10]||(i[10]=k("div",null,[k("div",null,"优惠信息"),k("div",{class:"red"},"xxxx")],-1)),i[11]||(i[11]=k("div",{class:"lot-detail-gap"},null,-1)),k("div",null,[i[2]||(i[2]=k("div",null,"车牌号",-1)),k("div",px,[J(ha,{plate:"苏U77777","plate-type":"b"})])]),k("div",null,[i[3]||(i[3]=k("div",null,"现场照片",-1)),k("div",{onClick:a},"查看")])]),k("div",{class:"lot-actions"},[k("div",{onClick:r},"联系客服")])])]),_:1}))}}),j3="",Dp=nt(hx,[["__scopeId","data-v-feee85ac"]]),mx=Y({customOptions:{LayoutPage:Je},inheritAttrs:!0,__name:"Park",setup(e){return(t,o)=>(A(),ht(Je,{class:"park"},{default:st(()=>o[0]||(o[0]=[Vt("Park")])),_:1}))}}),H3="",Fp=nt(mx,[["__scopeId","data-v-9704593b"]]),Lp=X_({history:e_("/"),routes:[{path:"/view-document/:title/:src",name:"view-document",component:$l},{path:"/",name:"xg",redirect:"/lot"},{path:"/lot",name:"lot",component:Dp},{path:"/park",name:"park",component:Fp}],scrollBehavior:(e,t,o)=>o||{left:0,top:0}}),gx=Lp,ba=R("next"),_a=[];Lp.beforeEach((e,t,o)=>{const n=_a.length,r=_a.findIndex(s=>s==e.name);n>1&&r>=0&&r<n-1?(ba.value="prev",_a.splice(r+1)):(ba.value="next",_a.push(e.name)),o()});const yx=Y({customOptions:{},inheritAttrs:!0,__name:"Container.ce",props:{type:{default:"block"},effectTriggerTiming:{default:"manual"},supportCopyText:{type:Boolean,default:!1}},emits:["ready","resize","clipboard_success","clipboard_error","start","end"],setup(e,{expose:t,emit:o}){const n=e,r=o;let s="start";const a=()=>{s="start",r("start")},l=()=>{s="end",r("end")},i=()=>{s=="start"?l():a()},c=R();let u=!1,f,d;fe(()=>{f=new Cn(c.value,!1),f.on("resize",(w,x)=>{r("resize",w,x,c.value.getBoundingClientRect()),d?.(f),u||(u=!0,n.effectTriggerTiming!=="manual"&&a(),r("ready",f),n.effectTriggerTiming=="immediate"&&i())}),f.on("mouseEnter",()=>{n.effectTriggerTiming=="mouseMove"&&i()}),f.on("mouseLeave",()=>{n.effectTriggerTiming=="mouseMove"&&i()}),f.on("tap",()=>{if(n.effectTriggerTiming=="click"&&i(),n.supportCopyText){const w=Ks(c.value).getInnerText();il(w).then(()=>{r("clipboard_success",w)}).catch(x=>{r("clipboard_error",x.toString())})}}),f.start()});const h=()=>new Promise(w=>{if(f)return w(f);d=w}),p=async()=>(await h(),c.value.getBoundingClientRect());return se(()=>{f?.destroy()}),t({getElement:()=>c.value,getApp:h,getSize:p}),(w,x)=>(A(),F("div",{class:Ut(["container",[n.type]]),ref_key:"r",ref:c,style:N({position:"relative",boxSizing:"border-box",display:n.type=="shrink"?"inline-block":"block",width:n.type=="full"?"100%":"auto",height:n.type=="full"?"100%":"auto"})},[dt(w.$slots,"default")],6))}}),zp=nt(Y({customOptions:{Container:mt},inheritAttrs:!0,__name:"CSSTransition.ce",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!1},effectTriggerTiming:{default:"immediate"},name:{default:"superRainbow"},duration:{default:300},timingFunction:{default:"ease-out"},delay:{default:0}},emits:["csstransitionstart","csstransitionend"],setup(e,{expose:t,emit:o}){const n=e,r=o;let s=n.duration,a=n.timingFunction,l=n.delay;const i=jt({}),c=jt({}),u=h=>{h.on("transitionstart",p=>{r("csstransitionstart",p)}),h.on("transitionend",p=>{r("csstransitionend",p)})},f=()=>{c.transition="none"},d=()=>{c.transition=`all ${s}ms ${a} ${l}ms`};return Pt(()=>n.name,()=>{switch(n.name){default:delete c.transformOrigin;break}switch(n.name){default:i.overflow="hidden";break}switch(n.name){default:delete c.backfaceVisibility;break}f(),d()},{immediate:!0}),t({}),(h,p)=>(A(),ht(mt,{class:"css-transition",type:n.containerType,supportCopyText:n.supportCopyText,effectTriggerTiming:n.effectTriggerTiming,onReady:u,onStart:f,onEnd:d,style:N(i)},{default:st(()=>[k("div",{class:Ut(["css-transition-inner",n.name]),style:N({position:"relative",display:"block",width:"100%",height:"100%",cursor:"pointer",...c})},[dt(h.$slots,"default")],6)]),_:3},8,["type","supportCopyText","effectTriggerTiming","style"]))}}),[["styles",[`@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotate-reverse{0%{transform:rotate(360deg)}to{transform:rotate(0)}}@keyframes jelly{0%,to{transform:scale(1)}25%{transform:scale(.9,1.1)}50%{transform:scale(1.1,.9)}75%{transform:scale(.95,1.05)}}@keyframes bounce{0%,20%,53%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0)}40%,43%{animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{transition-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0) scaleY(.95)}90%{transform:translate3d(0,-4px,0) scaleY(1.02)}}@keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}@keyframes pulse{0%{transform:scaleZ(1)}50%{transform:scale3d(1.05,1.05,1.05)}to{transform:scaleZ(1)}}@keyframes rubberBand{0%{transform:scaleZ(1)}30%{transform:scale3d(1.25,.75,1)}40%{transform:scale3d(.75,1.25,1)}50%{transform:scale3d(1.15,.85,1)}65%{transform:scale3d(.95,1.05,1)}75%{transform:scale3d(1.05,.95,1)}to{transform:scaleZ(1)}}@keyframes shakeX{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}@keyframes shakeY{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(0,-10px,0)}20%,40%,60%,80%{transform:translate3d(0,10px,0)}}@keyframes headShake{0%{transform:translate(0)}6.5%{transform:translate(-6px) rotateY(-9deg)}18.5%{transform:translate(5px) rotateY(7deg)}31.5%{transform:translate(-3px) rotateY(-5deg)}43.5%{transform:translate(2px) rotateY(3deg)}50%{transform:translate(0)}}@keyframes swing{20%{transform:rotate3d(0,0,1,15deg)}40%{transform:rotate3d(0,0,1,-10deg)}60%{transform:rotate3d(0,0,1,5deg)}80%{transform:rotate3d(0,0,1,-5deg)}to{transform:rotate3d(0,0,1,0)}}@keyframes tada{0%{transform:scaleZ(1)}10%,20%{transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{transform:scaleZ(1)}}@keyframes wobble{0%{transform:translateZ(0)}15%{transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{transform:translateZ(0)}}@keyframes jello{0%,11.1%,to{transform:translateZ(0)}22.2%{transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{transform:skew(6.25deg) skewY(6.25deg)}44.4%{transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{transform:skew(.390625deg) skewY(.390625deg)}88.8%{transform:skew(-.1953125deg) skewY(-.1953125deg)}}@keyframes heartBeat{0%{transform:scale(1)}14%{transform:scale(1.3)}28%{transform:scale(1)}42%{transform:scale(1.3)}70%{transform:scale(1)}}@keyframes backInLeft{0%{transform:translate(-2000px) scale(.7);opacity:.7}80%{transform:translate(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInRight{0%{transform:translate(2000px) scale(.7);opacity:.7}80%{transform:translate(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInUp{0%{transform:translateY(1200px) scale(.7);opacity:.7}80%{transform:translateY(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInDown{0%{transform:translateY(-1200px) scale(.7);opacity:.7}80%{transform:translateY(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backOutLeft{0%{transform:scale(1);opacity:1}20%{transform:translate(0) scale(.7);opacity:.7}to{transform:translate(-2000px) scale(.7);opacity:.7}}@keyframes backOutRight{0%{transform:scale(1);opacity:1}20%{transform:translate(0) scale(.7);opacity:.7}to{transform:translate(2000px) scale(.7);opacity:.7}}@keyframes backOutUp{0%{transform:scale(1);opacity:1}20%{transform:translateY(0) scale(.7);opacity:.7}to{transform:translateY(-700px) scale(.7);opacity:.7}}@keyframes backOutDown{0%{transform:scale(1);opacity:1}20%{transform:translateY(0) scale(.7);opacity:.7}to{transform:translateY(700px) scale(.7);opacity:.7}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:scale3d(.3,.3,.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(.9,.9,.9)}60%{opacity:1;transform:scale3d(1.03,1.03,1.03)}80%{transform:scale3d(.97,.97,.97)}to{opacity:1;transform:scaleZ(1)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;transform:translate3d(25px,0,0) scaleX(1)}75%{transform:translate3d(-10px,0,0) scaleX(.98)}90%{transform:translate3d(5px,0,0) scaleX(.995)}to{transform:translateZ(0)}}@keyframes bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;transform:translate3d(-25px,0,0) scaleX(1)}75%{transform:translate3d(10px,0,0) scaleX(.98)}90%{transform:translate3d(-5px,0,0) scaleX(.995)}to{transform:translateZ(0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;transform:translate3d(0,-20px,0) scaleY(.9)}75%{transform:translate3d(0,10px,0) scaleY(.95)}90%{transform:translate3d(0,-5px,0) scaleY(.985)}to{transform:translateZ(0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;transform:translate3d(0,25px,0) scaleY(.9)}75%{transform:translate3d(0,-10px,0) scaleY(.95)}90%{transform:translate3d(0,5px,0) scaleY(.985)}to{transform:translateZ(0)}}@keyframes bounceOut{20%{transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(.3,.3,.3)}}@keyframes bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0) scaleX(.9)}to{opacity:0;transform:translate3d(-2000px,0,0) scaleX(2)}}@keyframes bounceOutRight{20%{opacity:1;transform:translate3d(-20px,0,0) scaleX(.9)}to{opacity:0;transform:translate3d(2000px,0,0) scaleX(2)}}@keyframes bounceOutUp{20%{transform:translate3d(0,-10px,0) scaleY(.985)}40%,45%{opacity:1;transform:translate3d(0,20px,0) scaleY(.9)}to{opacity:0;transform:translate3d(0,-2000px,0) scaleY(3)}}@keyframes bounceOutDown{20%{transform:translate3d(0,10px,0) scaleY(.985)}40%,45%{opacity:1;transform:translate3d(0,-20px,0) scaleY(.9)}to{opacity:0;transform:translate3d(0,2000px,0) scaleY(3)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeInLeft{0%{opacity:0;transform:translate3d(-100%,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInLeftBig{0%{opacity:0;transform:translate3d(-2000px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInRight{0%{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInRightBig{0%{opacity:0;transform:translate3d(2000px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInUp{0%{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInUpBig{0%{opacity:0;transform:translate3d(0,2000px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInDown{0%{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInDownBig{0%{opacity:0;transform:translate3d(0,-2000px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInTopLeft{0%{opacity:0;transform:translate3d(-100%,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInTopRight{0%{opacity:0;transform:translate3d(100%,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInBottomLeft{0%{opacity:0;transform:translate3d(-100%,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInBottomRight{0%{opacity:0;transform:translate3d(100%,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}@keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes fadeOutRight{0%{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}@keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;transform:translate3d(2000px,0,0)}}@keyframes fadeOutUp{0%{opacity:1}to{opacity:0;transform:translate3d(0,-100%,0)}}@keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes fadeOutDown{0%{opacity:1}to{opacity:0;transform:translate3d(0,100%,0)}}@keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;transform:translate3d(0,2000px,0)}}@keyframes fadeOutTopLeft{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(-100%,-100%,0)}}@keyframes fadeOutTopRight{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(100%,-100%,0)}}@keyframes fadeOutBottomRight{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(100%,100%,0)}}@keyframes fadeOutBottomLeft{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(-100%,100%,0)}}@keyframes flip{0%{transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(-360deg);animation-timing-function:ease-out}40%{transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-190deg);animation-timing-function:ease-out}50%{transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-170deg);animation-timing-function:ease-in}80%{transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);animation-timing-function:ease-in}to{transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(0);animation-timing-function:ease-in}}@keyframes flipInX{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes flipInY{0%{transform:perspective(400px) rotateY(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateY(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateY(10deg);opacity:1}80%{transform:perspective(400px) rotateY(-5deg)}to{transform:perspective(400px)}}@keyframes flipOutX{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateX(-20deg);opacity:1}to{transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes flipOutY{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateY(-15deg);opacity:1}to{transform:perspective(400px) rotateY(90deg);opacity:0}}@keyframes flipOutRight{to{transform:translateZ(-1000px) rotateY(90deg);opacity:.2}}@keyframes flipInLeft{0%{transform:translateZ(-1000px) rotateY(-90deg);opacity:.2}}@keyframes flipOutLeft{to{transform:translateZ(-1000px) rotateY(-90deg);opacity:.2}}@keyframes flipInRight{0%{transform:translateZ(-1000px) rotateY(90deg);opacity:.2}}@keyframes flipOutTop{to{transform:translateZ(-1000px) rotateX(90deg);opacity:.2}}@keyframes flipInBottom{0%{transform:translateZ(-1000px) rotateX(-90deg);opacity:.2}}@keyframes flipOutBottom{to{transform:translateZ(-1000px) rotateX(-90deg);opacity:.2}}@keyframes flipInTop{0%{transform:translateZ(-1000px) rotateX(90deg);opacity:.2}}@keyframes lightSpeedInLeft{0%{transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{transform:skew(-20deg);opacity:1}80%{transform:skew(5deg)}to{transform:translateZ(0)}}@keyframes lightSpeedInRight{0%{transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{transform:skew(20deg);opacity:1}80%{transform:skew(-5deg)}to{transform:translateZ(0)}}@keyframes lightSpeedOutLeft{0%{opacity:1}to{transform:translate3d(-100%,0,0) skew(-30deg);opacity:0}}@keyframes lightSpeedOutRight{0%{opacity:1}to{transform:translate3d(100%,0,0) skew(30deg);opacity:0}}@keyframes rotateIn{0%{transform:rotate3d(0,0,1,-200deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInUpLeft{0%{transform:rotate3d(0,0,1,45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInUpRight{0%{transform:rotate3d(0,0,1,-90deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInDownLeft{0%{transform:rotate3d(0,0,1,-45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInDownRight{0%{transform:rotate3d(0,0,1,45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateOut{0%{opacity:1}to{transform:rotate3d(0,0,1,200deg);opacity:0}}@keyframes rotateOutUpLeft{0%{opacity:1}to{transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutUpRight{0%{opacity:1}to{transform:rotate3d(0,0,1,90deg);opacity:0}}@keyframes rotateOutDownLeft{0%{opacity:1}to{transform:rotate3d(0,0,1,45deg);opacity:0}}@keyframes rotateOutDownRight{0%{opacity:1}to{transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes hinge{0%{animation-timing-function:ease-in-out}20%,60%{transform:rotate3d(0,0,1,80deg);animation-timing-function:ease-in-out}40%,80%{transform:rotate3d(0,0,1,60deg);animation-timing-function:ease-in-out;opacity:1}to{transform:translate3d(0,700px,0);opacity:0}}@keyframes rotateFall{0%{transform:rotate(0)}20%{transform:rotate(10deg);animation-timing-function:ease-out}40%{transform:rotate(17deg)}60%{transform:rotate(16deg)}to{transform:translateY(100%) rotate(17deg)}}@keyframes rotateOutNewspaper{to{transform:translateZ(-3000px) rotate(360deg);opacity:0}}@keyframes rotateInNewspaper{0%{transform:translateZ(-3000px) rotate(-360deg);opacity:0}}@keyframes jackInTheBox{0%{opacity:0;transform:scale(.1) rotate(30deg);transform-origin:center bottom}50%{transform:rotate(-10deg)}70%{transform:rotate(3deg)}to{opacity:1;transform:scale(1)}}@keyframes rollIn{0%{opacity:0;transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;transform:translateZ(0)}}@keyframes rollOut{0%{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}@keyframes zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomInLeft{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInRight{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInUp{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInDown{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes zoomOutLeft{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;transform:scale(.1) translate3d(-2000px,0,0)}}@keyframes zoomOutRight{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;transform:scale(.1) translate3d(2000px,0,0)}}@keyframes zoomOutUp{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutDown{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes slideInLeft{0%{transform:translate3d(-100%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInRight{0%{transform:translate3d(100%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInUp{0%{transform:translate3d(0,100%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInDown{0%{transform:translate3d(0,-100%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideOutLeft{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(-100%,0,0)}}@keyframes slideOutRight{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(100%,0,0)}}@keyframes slideOutUp{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,-100%,0)}}@keyframes slideOutDown{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,100%,0)}}@keyframes rotateRightSideFirst{40%{transform:rotateY(15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateLeftSideFirst{40%{transform:rotateY(-15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateTopSideFirst{40%{transform:rotateX(15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateBottomSideFirst{40%{transform:rotateX(-15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotatePushLeft{to{opacity:0;transform:rotateY(90deg)}}@keyframes rotatePushRight{to{opacity:0;transform:rotateY(-90deg)}}@keyframes rotatePushTop{to{opacity:0;transform:rotateX(-90deg)}}@keyframes rotatePushBottom{to{opacity:0;transform:rotateX(90deg)}}@keyframes rotatePullRight{0%{opacity:0;transform:rotateY(-90deg)}}@keyframes rotatePullLeft{0%{opacity:0;transform:rotateY(90deg)}}@keyframes rotatePullTop{0%{opacity:0;transform:rotateX(-90deg)}}@keyframes rotatePullBottom{0%{opacity:0;transform:rotateX(90deg)}}@keyframes rotateFoldRight{to{opacity:0;transform:translate(100%) rotateY(90deg)}}@keyframes rotateFoldLeft{to{opacity:0;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateFoldTop{to{opacity:0;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateFoldBottom{to{opacity:0;transform:translateY(100%) rotateX(-90deg)}}@keyframes rotateUnfoldLeft{0%{opacity:0;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateUnfoldRight{0%{opacity:0;transform:translate(100%) rotateY(90deg)}}@keyframes rotateUnfoldTop{0%{opacity:0;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateUnfoldBottom{0%{opacity:0;transform:translateY(100%) rotateX(-90deg)}}@keyframes moveToLeft{to{transform:translate(-100%)}}@keyframes moveFromLeft{0%{transform:translate(-100%)}}@keyframes moveToRight{to{transform:translate(100%)}}@keyframes moveFromRight{0%{transform:translate(100%)}}@keyframes moveToTop{to{transform:translateY(-100%)}}@keyframes moveFromTop{0%{transform:translateY(-100%)}}@keyframes moveToBottom{to{transform:translateY(100%)}}@keyframes moveFromBottom{0%{transform:translateY(100%)}}@keyframes fade{to{opacity:.3}}@keyframes moveToLeftFade{to{opacity:.3;transform:translate(-100%)}}@keyframes moveFromLeftFade{0%{opacity:.3;transform:translate(-100%)}}@keyframes moveToRightFade{to{opacity:.3;transform:translate(100%)}}@keyframes moveFromRightFade{0%{opacity:.3;transform:translate(100%)}}@keyframes moveToTopFade{to{opacity:.3;transform:translateY(-100%)}}@keyframes moveFromTopFade{0%{opacity:.3;transform:translateY(-100%)}}@keyframes moveToBottomFade{to{opacity:.3;transform:translateY(100%)}}@keyframes moveFromBottomFade{0%{opacity:.3;transform:translateY(100%)}}@keyframes scaleToSmall{to{opacity:0;transform:scale(.8)}}@keyframes scaleFromSmall{0%{opacity:0;transform:scale(.8)}}@keyframes scaleFromLarge{0%{opacity:0;transform:scale(1.2)}}@keyframes scaleToLarge{to{opacity:0;transform:scale(1.2)}}@keyframes scaleToSmallCenter{to{opacity:0;transform:scale(.7)}}@keyframes scaleFromSmallCenter{0%{opacity:0;transform:scale(.7)}}@keyframes rotateRoomLeftOut{to{opacity:.3;transform:translate(-100%) rotateY(90deg)}}@keyframes rotateRoomLeftIn{0%{opacity:.3;transform:translate(100%) rotateY(-90deg)}}@keyframes rotateRoomRightOut{to{opacity:.3;transform:translate(100%) rotateY(-90deg)}}@keyframes rotateRoomRightIn{0%{opacity:.3;transform:translate(-100%) rotateY(90deg)}}@keyframes rotateRoomTopOut{to{opacity:.3;transform:translateY(-100%) rotateX(-90deg)}}@keyframes rotateRoomTopIn{0%{opacity:.3;transform:translateY(100%) rotateX(90deg)}}@keyframes rotateRoomBottomOut{to{opacity:.3;transform:translateY(100%) rotateX(90deg)}}@keyframes rotateRoomBottomIn{0%{opacity:.3;transform:translateY(-100%) rotateX(-90deg)}}@keyframes rotateCubeLeftOut{50%{animation-timing-function:ease-out;transform:translate(-50%) translateZ(-200px) rotateY(-45deg)}to{opacity:.3;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateCubeLeftIn{0%{opacity:.3;transform:translate(100%) rotateY(90deg)}50%{animation-timing-function:ease-out;transform:translate(50%) translateZ(-200px) rotateY(45deg)}}@keyframes rotateCubeRightOut{50%{animation-timing-function:ease-out;transform:translate(50%) translateZ(-200px) rotateY(45deg)}to{opacity:.3;transform:translate(100%) rotateY(90deg)}}@keyframes rotateCubeRightIn{0%{opacity:.3;transform:translate(-100%) rotateY(-90deg)}50%{animation-timing-function:ease-out;transform:translate(-50%) translateZ(-200px) rotateY(-45deg)}}@keyframes rotateCubeTopOut{50%{animation-timing-function:ease-out;transform:translateY(-50%) translateZ(-200px) rotateX(45deg)}to{opacity:.3;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateCubeTopIn{0%{opacity:.3;transform:translateY(100%) rotateX(-90deg)}50%{animation-timing-function:ease-out;transform:translateY(50%) translateZ(-200px) rotateX(-45deg)}}@keyframes rotateCubeBottomOut{50%{animation-timing-function:ease-out;transform:translateY(50%) translateZ(-200px) rotateX(-45deg)}to{opacity:.3;transform:translateY(100%) rotateX(-90deg)}}@keyframes rotateCubeBottomIn{0%{opacity:.3;transform:translateY(-100%) rotateX(90deg)}50%{animation-timing-function:ease-out;transform:translateY(-50%) translateZ(-200px) rotateX(45deg)}}@keyframes rotateCarouselLeftOut{to{opacity:.3;transform:translate(-150%) scale(.4) rotateY(-65deg)}}@keyframes rotateCarouselLeftIn{0%{opacity:.3;transform:translate(200%) scale(.4) rotateY(65deg)}}@keyframes rotateCarouselRightOut{to{opacity:.3;transform:translate(200%) scale(.4) rotateY(65deg)}}@keyframes rotateCarouselRightIn{0%{opacity:.3;transform:translate(-200%) scale(.4) rotateY(-65deg)}}@keyframes rotateCarouselTopOut{to{opacity:.3;transform:translateY(-200%) scale(.4) rotateX(65deg)}}@keyframes rotateCarouselTopIn{0%{opacity:.3;transform:translateY(200%) scale(.4) rotateX(-65deg)}}@keyframes rotateCarouselBottomOut{to{opacity:.3;transform:translateY(200%) scale(.4) rotateX(-65deg)}}@keyframes rotateCarouselBottomIn{0%{opacity:.3;transform:translateY(-200%) scale(.4) rotateX(65deg)}}@keyframes rotateSidesOut{to{opacity:0;transform:translateZ(-500px) rotateY(90deg)}}@keyframes rotateSidesIn{0%{opacity:0;transform:translateZ(-500px) rotateY(-90deg)}}@keyframes rotateSlideOut{25%{opacity:.5;transform:translateZ(-500px)}75%{opacity:.5;transform:translateZ(-500px) translate(-200%)}to{opacity:.5;transform:translateZ(-500px) translate(-200%)}}@keyframes rotateSlideIn{0%,25%{opacity:.5;transform:translateZ(-500px) translate(200%)}75%{opacity:.5;transform:translateZ(-500px)}to{opacity:1;transform:translateZ(0) translate(0)}}@keyframes superRainbow{0%{background:red}20%{background:orange}40%{background:yellow}60%{background:green}80%{background:blue}to{background:violet}}.superRainbow{background-position:0 0;background-size:200% 100%;background-image:linear-gradient(90deg,red,orange,yellow,green,blue,violet)}.superRainbow:hover{background-position:-100% 100%}@keyframes statusProcessing{0%{transform:scale(.8);opacity:.5}to{transform:scale(2.4);opacity:0}}
91
- `]]]),xa=nt(Y({customOptions:{Container:mt},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(e,{expose:t,emit:o}){const n=e,r=o,s=jt({}),a=jt({});let l=n.name,i=n.duration,c=n.timingFunction,u=n.delay,f=n.repeat,d=n.direction;function h(C){switch(l=C,l){case"superRainbow":i=n.duration||15e3;break;case"heartBeat":i=n.duration||1300;break;case"statusProcessing":i=n.duration||1200;break;case"rotateFall":case"rotateSlideOut":case"rotateSlideIn":i=n.duration||1e3;break;case"rotateRightSideFirst":case"rotateLeftSideFirst":case"rotateTopSideFirst":case"rotateBottomSideFirst":case"rotatePushLeft":case"rotatePushRight":case"rotatePushTop":case"rotatePushBottom":case"rotateRoomLeftOut":case"rotateRoomLeftIn":case"rotateRoomRightOut":case"rotateRoomRightIn":case"rotateRoomTopOut":case"rotateRoomTopIn":case"rotateRoomBottomOut":case"rotateRoomBottomIn":case"rotateCarouselLeftOut":case"rotateCarouselLeftIn":case"rotateCarouselRightOut":case"rotateCarouselRightIn":case"rotateCarouselTopOut":case"rotateCarouselTopIn":case"rotateCarouselBottomOut":case"rotateCarouselBottomIn":i=n.duration||800;break;case"bounceIn":case"bounceOut":case"flipOutX":case"hinge":i=n.duration||750;break;case"rotateFoldRight":case"rotateFoldLeft":case"rotateFoldTop":case"rotateFoldBottom":case"rotateUnfoldLeft":case"rotateUnfoldRight":case"rotateUnfoldTop":case"rotateUnfoldBottom":case"fade":case"moveFromLeftFade":case"moveToLeftFade":case"moveFromRightFade":case"moveToRightFade":case"moveFromTopFade":case"moveToTopFade":case"moveFromBottomFade":case"moveToBottomFade":i=n.duration||700;break;case"moveFromLeft":case"moveToLeft":case"moveFromRight":case"moveToRight":case"moveFromTop":case"moveToTop":case"moveFromBottom":case"moveToBottom":case"rotateCubeLeftOut":case"rotateCubeLeftIn":case"rotateCubeRightOut":case"rotateCubeRightIn":case"rotateCubeTopOut":case"rotateCubeTopIn":case"rotateCubeBottomOut":case"rotateCubeBottomIn":i=n.duration||600;break;default:i=n.duration||500;break}switch(l){case"superRainbow":c=n.timingFunction||"linear";break;case"lightSpeedOutLeft":case"lightSpeedOutRight":case"rotateRightSideFirst":case"rotateLeftSideFirst":case"rotateTopSideFirst":case"rotateBottomSideFirst":case"flipOutRight":case"flipOutLeft":case"flipOutTop":case"flipOutBottom":case"rotateFall":case"rotateOutNewspaper":case"rotateCubeLeftOut":case"rotateCubeLeftIn":case"rotateCubeRightOut":case"rotateCubeRightIn":case"rotateCubeTopOut":case"rotateCubeTopIn":case"rotateCubeBottomOut":case"rotateCubeBottomIn":case"rotateSidesOut":c=n.timingFunction||"ease-in";break;case"lightSpeedInLeft":case"lightSpeedInRight":case"flipInLeft":case"flipInRight":case"flipInBottom":case"flipInTop":case"rotateInNewspaper":case"rotateSidesIn":c=n.timingFunction||"ease-out";break;case"pulse":case"headShake":case"heartBeat":case"statusProcessing":c=n.timingFunction||"ease-in-out";break;default:c=n.timingFunction||"ease";break}switch(l){default:u=n.delay||0;break}switch(l){case"superRainbow":case"statusProcessing":f=n.repeat||"infinite";break;default:f=n.repeat||1;break}switch(l){case"superRainbow":d=n.direction||"alternate";break;default:d=n.direction||"normal";break}switch(l){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(l){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":s.overflow="visible";break;default:s.overflow="hidden";break}switch(l){case"flip":case"flipInX":case"flipInY":case"flipOutX":case"flipOutY":a.backfaceVisibility="visible";break;default:delete a.backfaceVisibility;break}}const p=R(),w=C=>{s.perspective=n.perspective,C.on("animationstart",M=>{r("cssanimationstart",M.animationName)}),C.on("animationend",M=>{r("cssanimationend",M.animationName)})};function x(){p.value.style.animation="none",p.value.offsetHeight,p.value.style.animation=null}const v=()=>{a.animation="none"},g=()=>{x(),a.animation=`${i}ms ${c} ${u}ms ${f} ${d} ${n.fillMode} ${n.playState} ${l}`},y=C=>{C&&h(C),v(),d="normal",g()},m=C=>{C&&h(C),v(),d="reverse",g()},_=()=>{a.animation="none"};return Pt(()=>n.name,()=>{h(n.name)},{immediate:!0}),t({trigger:y,triggerReverse:m,clear:_}),(C,M)=>(A(),ht(mt,{class:"css-animation",type:n.containerType,supportCopyText:n.supportCopyText,effectTriggerTiming:n.effectTriggerTiming,style:N(s),onReady:w,onStart:v,onEnd:g},{default:st(()=>[k("div",{class:"css-animation-inner",ref_key:"animationRef",ref:p,style:N({position:"relative",display:"block",width:"100%",height:"100%",cursor:"pointer",transformStyle:"preserve-3d",...a})},[dt(C.$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}}
92
- `]]]),Mp=Y({__name:"Icon.ce",props:{icon:{default:"mdi-light:home"},color:{default:kt.colorPrimary}},setup(e){const t=e;return(o,n)=>(A(),F("span",{class:"icon",style:N(["color: "+o.color,"display: inline-flex","justify-content: center","align-items: center","cursor: pointer","font-size: 1em"])},[J(vt(Yd),{icon:t.icon,color:o.color},null,8,["icon","color"])],4))}}),vx={class:"loading-1"},bx=Y({__name:"Loading1.ce",props:{color:{default:kt.colorPrimary}},setup(e){const o={backgroundColor:e.color};return(n,r)=>(A(),F("div",vx,[k("div",{class:"rect1",style:o}),k("div",{class:"rect2",style:o}),k("div",{class:"rect3",style:o}),k("div",{class:"rect4",style:o}),k("div",{class:"rect5",style:o})]))}}),Bp=nt(bx,[["styles",[`.loading-1[data-v-f7deb691]{position:relative;display:block;overflow:hidden;width:100%;height:100%;text-align:center}.loading-1>div[data-v-f7deb691]{width:6px;height:100%;margin:auto 2px;display:inline-block;animation:stretchdelay-f7deb691 1.2s infinite ease-in-out}.loading-1 .rect2[data-v-f7deb691]{animation-delay:-1.1s}.loading-1 .rect3[data-v-f7deb691]{animation-delay:-1s}.loading-1 .rect4[data-v-f7deb691]{animation-delay:-.9s}.loading-1 .rect5[data-v-f7deb691]{animation-delay:-.8s}@keyframes stretchdelay-f7deb691{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}
93
- `]],["__scopeId","data-v-f7deb691"]]),_x={class:"loading-2"},xx=Y({__name:"Loading2.ce",props:{color:{default:kt.colorPrimary}},setup(e){const o={backgroundColor:e.color};return(n,r)=>(A(),F("div",_x,[k("div",{class:"dot1",style:o}),k("div",{class:"dot2",style:o})]))}}),Yp=nt(xx,[["styles",[`.loading-2[data-v-945f5b2e]{position:relative;display:block;width:100%;height:100%;text-align:center;animation:rotate-945f5b2e 2s infinite linear}.dot1[data-v-945f5b2e],.dot2[data-v-945f5b2e]{width:60%;height:60%;display:inline-block;position:absolute;top:0;border-radius:100%;animation:bounce-945f5b2e 2s infinite ease-in-out}.dot2[data-v-945f5b2e]{top:auto;bottom:0;animation-delay:-1s}@keyframes rotate-945f5b2e{to{transform:rotate(360deg)}}@keyframes bounce-945f5b2e{0%,to{transform:scale(0)}50%{transform:scale(1)}}
94
- `]],["__scopeId","data-v-945f5b2e"]]),kx=Y({__name:"Loading3.ce",props:{fromColor:{default:kt.colorPrimary},toColor:{default:kt.colorRed}},setup(e){const t=e,o={backgroundColor:t.fromColor,width:"20%"},n=R();return fe(()=>{yo(`
84
+ </router-view>`)}}function Gs(o,t){const e=Ut({},o,{matched:o.matched.map(n=>f_(n,["instances","children","aliasOf"]))});return{_custom:{type:null,readOnly:!0,display:o.fullPath,tooltip:t,value:e}}}function ka(o){return{_custom:{display:o}}}let e_=0;function o_(o,t,e){if(t.__hasDevtools)return;t.__hasDevtools=!0;const n=e_++;jv({id:"org.vuejs.router"+(n?"."+n:""),label:"Vue Router",packageName:"vue-router",homepage:"https://router.vuejs.org",logo:"https://router.vuejs.org/logo.png",componentStateTypes:["Routing"],app:o},s=>{typeof s.now!="function"&&console.warn("[Vue Router]: You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),s.on.inspectComponent((u,f)=>{u.instanceData&&u.instanceData.state.push({type:"Routing",key:"$route",editable:!1,value:Gs(t.currentRoute.value,"Current Route")})}),s.on.visitComponentTree(({treeNode:u,componentInstance:f})=>{if(f.__vrv_devtools){const d=f.__vrv_devtools;u.tags.push({label:(d.name?`${d.name.toString()}: `:"")+d.path,textColor:0,tooltip:"This component is rendered by &lt;router-view&gt;",backgroundColor:Lh})}He(f.__vrl_devtools)&&(f.__devtoolsApi=s,f.__vrl_devtools.forEach(d=>{let h=d.route.path,p=Yh,b="",x=0;d.error?(h=d.error,p=i_,x=l_):d.isExactActive?(p=Vh,b="This is exactly active"):d.isActive&&(p=Bh,b="This link is active"),u.tags.push({label:h,textColor:x,tooltip:b,backgroundColor:p})}))}),Rt(t.currentRoute,()=>{l(),s.notifyComponentUpdate(),s.sendInspectorTree(i),s.sendInspectorState(i)});const r="router:navigations:"+n;s.addTimelineLayer({id:r,label:`Router${n?" "+n:""} Navigations`,color:4237508}),t.onError((u,f)=>{s.addTimelineEvent({layerId:r,event:{title:"Error during Navigation",subtitle:f.fullPath,logType:"error",time:s.now(),data:{error:u},groupId:f.meta.__navigationId}})});let a=0;t.beforeEach((u,f)=>{const d={guard:ka("beforeEach"),from:Gs(f,"Current Location during this navigation"),to:Gs(u,"Target location")};Object.defineProperty(u.meta,"__navigationId",{value:a++}),s.addTimelineEvent({layerId:r,event:{time:s.now(),title:"Start of navigation",subtitle:u.fullPath,data:d,groupId:u.meta.__navigationId}})}),t.afterEach((u,f,d)=>{const h={guard:ka("afterEach")};d?(h.failure={_custom:{type:Error,readOnly:!0,display:d?d.message:"",tooltip:"Navigation Failure",value:d}},h.status=ka("❌")):h.status=ka("✅"),h.from=Gs(f,"Current Location during this navigation"),h.to=Gs(u,"Target location"),s.addTimelineEvent({layerId:r,event:{title:"End of navigation",subtitle:u.fullPath,time:s.now(),data:h,logType:d?"warning":"default",groupId:u.meta.__navigationId}})});const i="router-inspector:"+n;s.addInspector({id:i,label:"Routes"+(n?" "+n:""),icon:"book",treeFilterPlaceholder:"Search routes"});function l(){if(!c)return;const u=c;let f=e.getRoutes().filter(d=>!d.parent||!d.parent.record.components);f.forEach(Uh),u.filter&&(f=f.filter(d=>Kl(d,u.filter.toLowerCase()))),f.forEach(d=>Zh(d,t.currentRoute.value)),u.rootNodes=f.map(Xh)}let c;s.on.getInspectorTree(u=>{c=u,u.app===o&&u.inspectorId===i&&l()}),s.on.getInspectorState(u=>{if(u.app===o&&u.inspectorId===i){const d=e.getRoutes().find(h=>h.record.__vd_id===u.nodeId);d&&(u.state={options:s_(d)})}}),s.sendInspectorTree(i),s.sendInspectorState(i)})}function n_(o){return o.optional?o.repeatable?"*":"?":o.repeatable?"+":""}function s_(o){const{record:t}=o,e=[{editable:!1,key:"path",value:t.path}];return t.name!=null&&e.push({editable:!1,key:"name",value:t.name}),e.push({editable:!1,key:"regexp",value:o.re}),o.keys.length&&e.push({editable:!1,key:"keys",value:{_custom:{type:null,readOnly:!0,display:o.keys.map(n=>`${n.name}${n_(n)}`).join(" "),tooltip:"Param keys",value:o.keys}}}),t.redirect!=null&&e.push({editable:!1,key:"redirect",value:t.redirect}),o.alias.length&&e.push({editable:!1,key:"aliases",value:o.alias.map(n=>n.record.path)}),Object.keys(o.record.meta).length&&e.push({editable:!1,key:"meta",value:o.record.meta}),e.push({key:"score",editable:!1,value:{_custom:{type:null,readOnly:!0,display:o.score.map(n=>n.join(", ")).join(" | "),tooltip:"Score used to sort routes",value:o.score}}}),e}const Lh=15485081,Bh=2450411,Vh=8702998,r_=2282478,Yh=16486972,a_=6710886,i_=16704226,l_=12131356;function Xh(o){const t=[],{record:e}=o;e.name!=null&&t.push({label:String(e.name),textColor:0,backgroundColor:r_}),e.aliasOf&&t.push({label:"alias",textColor:0,backgroundColor:Yh}),o.__vd_match&&t.push({label:"matches",textColor:0,backgroundColor:Lh}),o.__vd_exactActive&&t.push({label:"exact",textColor:0,backgroundColor:Vh}),o.__vd_active&&t.push({label:"active",textColor:0,backgroundColor:Bh}),e.redirect&&t.push({label:typeof e.redirect=="string"?`redirect: ${e.redirect}`:"redirects",textColor:16777215,backgroundColor:a_});let n=e.__vd_id;return n==null&&(n=String(c_++),e.__vd_id=n),{id:n,label:e.path,tags:t,children:o.children.map(Xh)}}let c_=0;const u_=/^\/(.*)\/([a-z]*)$/;function Zh(o,t){const e=t.matched.length&&en(t.matched[t.matched.length-1],o.record);o.__vd_exactActive=o.__vd_active=e,e||(o.__vd_active=t.matched.some(n=>en(n,o.record))),o.children.forEach(n=>Zh(n,t))}function Uh(o){o.__vd_match=!1,o.children.forEach(Uh)}function Kl(o,t){const e=String(o.re).match(u_);if(o.__vd_match=!1,!e||e.length<3)return!1;if(new RegExp(e[1].replace(/\$$/,""),e[2]).test(t))return o.children.forEach(a=>Kl(a,t)),o.record.path!=="/"||t==="/"?(o.__vd_match=o.re.test(t),!0):!1;const s=o.record.path.toLowerCase(),r=Kn(s);return!t.startsWith("/")&&(r.includes(t)||s.includes(t))||r.startsWith(t)||s.startsWith(t)||o.record.name&&String(o.record.name).includes(t)?!0:o.children.some(a=>Kl(a,t))}function f_(o,t){const e={};for(const n in o)t.includes(n)||(e[n]=o[n]);return e}function d_(o){const t=zb(o.routes,o),e=o.parseQuery||Ub,n=o.stringifyQuery||$h,s=o.history;if({}.NODE_ENV!=="production"&&!s)throw new Error('Provide the "history" option when calling "createRouter()": https://router.vuejs.org/api/interfaces/RouterOptions.html#history');const r=js(),a=js(),i=js(),l=F0(on);let c=on;Mo&&o.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Bl.bind(null,F=>""+F),f=Bl.bind(null,ib),d=Bl.bind(null,Kn);function h(F,ot){let j,it;return wh(F)?(j=t.getRecordMatcher(F),{}.NODE_ENV!=="production"&&!j&&At(`Parent route "${String(F)}" not found when adding child route`,ot),it=ot):it=F,t.addRoute(it,j)}function p(F){const ot=t.getRecordMatcher(F);ot?t.removeRoute(ot):{}.NODE_ENV!=="production"&&At(`Cannot remove non-existent route "${String(F)}"`)}function b(){return t.getRoutes().map(F=>F.record)}function x(F){return!!t.getRecordMatcher(F)}function k(F,ot){if(ot=Ut({},ot||l.value),typeof F=="string"){const S=Xl(e,F,ot.path),E=t.resolve({path:S.path},ot),z=s.createHref(S.fullPath);return{}.NODE_ENV!=="production"&&(z.startsWith("//")?At(`Location "${F}" resolved to "${z}". A resolved location cannot start with multiple slashes.`):E.matched.length||At(`No match found for location with path "${F}"`)),Ut(S,E,{params:d(E.params),hash:Kn(S.hash),redirectedFrom:void 0,href:z})}if({}.NODE_ENV!=="production"&&!_a(F))return At(`router.resolve() was passed an invalid location. This will fail in production.
85
+ - Location:`,F),k({});let j;if(F.path!=null)({}).NODE_ENV!=="production"&&"params"in F&&!("name"in F)&&Object.keys(F.params).length&&At(`Path "${F.path}" was passed with params but they will be ignored. Use a named route alongside params instead.`),j=Ut({},F,{path:Xl(e,F.path,ot.path).path});else{const S=Ut({},F.params);for(const E in S)S[E]==null&&delete S[E];j=Ut({},F,{params:f(S)}),ot.params=f(ot.params)}const it=t.resolve(j,ot),Pt=F.hash||"";({}).NODE_ENV!=="production"&&Pt&&!Pt.startsWith("#")&&At(`A \`hash\` should always start with the character "#". Replace "${Pt}" with "#${Pt}".`),it.params=u(d(it.params));const Ht=ub(n,Ut({},F,{hash:sb(Pt),path:it.path})),Et=s.createHref(Ht);return{}.NODE_ENV!=="production"&&(Et.startsWith("//")?At(`Location "${F}" resolved to "${Et}". A resolved location cannot start with multiple slashes.`):it.matched.length||At(`No match found for location with path "${F.path!=null?F.path:F}"`)),Ut({fullPath:Ht,hash:Pt,query:n===$h?Hb(F.query):F.query||{}},it,{redirectedFrom:void 0,href:Et})}function g(F){return typeof F=="string"?Xl(e,F,l.value.path):Ut({},F)}function m(F,ot){if(c!==F)return Qn(8,{from:ot,to:F})}function y(F){return $(F)}function _(F){return y(Ut(g(F),{replace:!0}))}function w(F){const ot=F.matched[F.matched.length-1];if(ot&&ot.redirect){const{redirect:j}=ot;let it=typeof j=="function"?j(F):j;if(typeof it=="string"&&(it=it.includes("?")||it.includes("#")?it=g(it):{path:it},it.params={}),{}.NODE_ENV!=="production"&&it.path==null&&!("name"in it))throw At(`Invalid redirect found:
86
+ ${JSON.stringify(it,null,2)}
87
+ when navigating to "${F.fullPath}". A redirect must contain a name or path. This will break in production.`),new Error("Invalid redirect");return Ut({query:F.query,hash:F.hash,params:it.path!=null?{}:F.params},it)}}function $(F,ot){const j=c=k(F),it=l.value,Pt=F.state,Ht=F.force,Et=F.replace===!0,S=w(j);if(S)return $(Ut(g(S),{state:typeof S=="object"?Ut({},Pt,S.state):Pt,force:Ht,replace:Et}),ot||j);const E=j;E.redirectedFrom=ot;let z;return!Ht&&yh(n,it,j)&&(z=Qn(16,{to:E,from:it}),he(it,it,!0,!1)),(z?Promise.resolve(z):M(E,it)).catch(X=>Lo(X)?Lo(X,2)?X:me(X):kt(X,E,it)).then(X=>{if(X){if(Lo(X,2))return{}.NODE_ENV!=="production"&&yh(n,k(X.to),E)&&ot&&(ot._count=ot._count?ot._count+1:1)>30?(At(`Detected a possibly infinite redirection in a navigation guard when going from "${it.fullPath}" to "${E.fullPath}". Aborting to avoid a Stack Overflow.
88
+ Are you always returning a new location within a navigation guard? That would lead to this error. Only return when redirecting or aborting, that should fix this. This might break in production if not fixed.`),Promise.reject(new Error("Infinite redirect in navigation guard"))):$(Ut({replace:Et},g(X.to),{state:typeof X.to=="object"?Ut({},Pt,X.to.state):Pt,force:Ht}),ot||E)}else X=G(E,it,!0,Et,Pt);return ut(E,it,X),X})}function V(F,ot){const j=m(F,ot);return j?Promise.reject(j):Promise.resolve()}function B(F){const ot=A.values().next().value;return ot&&typeof ot.runWithContext=="function"?ot.runWithContext(F):F()}function M(F,ot){let j;const[it,Pt,Ht]=h_(F,ot);j=Wl(it.reverse(),"beforeRouteLeave",F,ot);for(const S of it)S.leaveGuards.forEach(E=>{j.push(nn(E,F,ot))});const Et=V.bind(null,F,ot);return j.push(Et),Nt(j).then(()=>{j=[];for(const S of r.list())j.push(nn(S,F,ot));return j.push(Et),Nt(j)}).then(()=>{j=Wl(Pt,"beforeRouteUpdate",F,ot);for(const S of Pt)S.updateGuards.forEach(E=>{j.push(nn(E,F,ot))});return j.push(Et),Nt(j)}).then(()=>{j=[];for(const S of Ht)if(S.beforeEnter)if(He(S.beforeEnter))for(const E of S.beforeEnter)j.push(nn(E,F,ot));else j.push(nn(S.beforeEnter,F,ot));return j.push(Et),Nt(j)}).then(()=>(F.matched.forEach(S=>S.enterCallbacks={}),j=Wl(Ht,"beforeRouteEnter",F,ot,B),j.push(Et),Nt(j))).then(()=>{j=[];for(const S of a.list())j.push(nn(S,F,ot));return j.push(Et),Nt(j)}).catch(S=>Lo(S,8)?S:Promise.reject(S))}function ut(F,ot,j){i.list().forEach(it=>B(()=>it(F,ot,j)))}function G(F,ot,j,it,Pt){const Ht=m(F,ot);if(Ht)return Ht;const Et=ot===on,S=Mo?history.state:{};j&&(it||Et?s.replace(F.fullPath,Ut({scroll:Et&&S&&S.scroll},Pt)):s.push(F.fullPath,Pt)),l.value=F,he(F,ot,j,Et),me()}let tt;function gt(){tt||(tt=s.listen((F,ot,j)=>{if(!re.listening)return;const it=k(F),Pt=w(it);if(Pt){$(Ut(Pt,{replace:!0,force:!0}),it).catch(Zs);return}c=it;const Ht=l.value;Mo&&vb(_h(Ht.fullPath,j.delta),ba()),M(it,Ht).catch(Et=>Lo(Et,12)?Et:Lo(Et,2)?($(Ut(g(Et.to),{force:!0}),it).then(S=>{Lo(S,20)&&!j.delta&&j.type===Us.pop&&s.go(-1,!1)}).catch(Zs),Promise.reject()):(j.delta&&s.go(-j.delta,!1),kt(Et,it,Ht))).then(Et=>{Et=Et||G(it,Ht,!1),Et&&(j.delta&&!Lo(Et,8)?s.go(-j.delta,!1):j.type===Us.pop&&Lo(Et,20)&&s.go(-1,!1)),ut(it,Ht,Et)}).catch(Zs)}))}let Ot=js(),$t=js(),xt;function kt(F,ot,j){me(F);const it=$t.list();return it.length?it.forEach(Pt=>Pt(F,ot,j)):({}.NODE_ENV!=="production"&&At("uncaught error during route navigation:"),console.error(F)),Promise.reject(F)}function se(){return xt&&l.value!==on?Promise.resolve():new Promise((F,ot)=>{Ot.add([F,ot])})}function me(F){return xt||(xt=!F,gt(),Ot.list().forEach(([ot,j])=>F?j(F):ot()),Ot.reset()),F}function he(F,ot,j,it){const{scrollBehavior:Pt}=o;if(!Mo||!Pt)return Promise.resolve();const Ht=!j&&bb(_h(F.fullPath,0))||(it||!j)&&history.state&&history.state.scroll||null;return _r().then(()=>Pt(F,ot,Ht)).then(Et=>Et&&yb(Et)).catch(Et=>kt(Et,F,ot))}const Yt=F=>s.go(F);let et;const A=new Set,re={currentRoute:l,listening:!0,addRoute:h,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:x,getRoutes:b,resolve:k,options:o,push:y,replace:_,go:Yt,back:()=>Yt(-1),forward:()=>Yt(1),beforeEach:r.add,beforeResolve:a.add,afterEach:i.add,onError:$t.add,isReady:se,install(F){const ot=this;F.component("RouterLink",qb),F.component("RouterView",ql),F.config.globalProperties.$router=ot,Object.defineProperty(F.config.globalProperties,"$route",{enumerable:!0,get:()=>Tt(l)}),Mo&&!et&&l.value===on&&(et=!0,y(s.location).catch(Pt=>{({}).NODE_ENV!=="production"&&At("Unexpected error when starting the router:",Pt)}));const j={};for(const Pt in on)Object.defineProperty(j,Pt,{get:()=>l.value[Pt],enumerable:!0});F.provide(xa,ot),F.provide(jl,uu(j)),F.provide(Gl,l);const it=F.unmount;A.add(F),F.unmount=function(){A.delete(F),A.size<1&&(c=on,tt&&tt(),tt=null,l.value=on,et=!1,xt=!1),it()},{}.NODE_ENV!=="production"&&Mo&&o_(F,ot,t)}};function Nt(F){return F.reduce((ot,j)=>ot.then(()=>B(j)),Promise.resolve())}return re}function h_(o,t){const e=[],n=[],s=[],r=Math.max(t.matched.length,o.matched.length);for(let a=0;a<r;a++){const i=t.matched[a];i&&(o.matched.find(c=>en(c,i))?n.push(i):e.push(i));const l=o.matched[a];l&&(t.matched.find(c=>en(c,l))||s.push(l))}return[e,n,s]}function wa(){return lo(xa)}function Hh(o){return lo(jl)}const p_={class:"page"},m_={class:"page-header"},g_={class:"page-main"},y_={class:"page-main-scroll"},v_={class:"page-footer"},b_={class:"page-global"},__=Y({customOptions:{},inheritAttrs:!0,__name:"LayoutPage",setup(o,{expose:t}){return t({}),(e,n)=>(I(),D("div",p_,[v("div",m_,[mt(e.$slots,"header",{},void 0,!0)]),v("div",g_,[v("div",y_,[mt(e.$slots,"default",{},void 0,!0)])]),v("div",v_,[mt(e.$slots,"footer",{},void 0,!0)]),v("div",b_,[mt(e.$slots,"global",{},void 0,!0)])]))}}),vw="",st=(o,t)=>{const e=o.__vccOpts||o;for(const[n,s]of t)e[n]=s;return e},eo=st(__,[["__scopeId","data-v-3c77fd20"]]),x_={class:"view-document"},k_=["src"],w_=Y({inheritAttrs:!0,customOptions:{LayoutPage:eo},__name:"ViewDocument",props:{src:{default:""},title:{default:""}},setup(o){const t=o,e=Hh();Yd(typeof e.params.title=="string"?e.params.title:t.title);const n=decodeURIComponent(typeof e.params.src=="string"?e.params.src:t.src);return(s,r)=>(I(),dt(eo,null,{default:W(()=>[v("div",x_,[v("img",{class:"img",src:Tt(n)},null,8,k_)])]),_:1}))}}),bw="",Ql=st(w_,[["__scopeId","data-v-786ac2a3"]]),jh=/^[a-z0-9]+(-[a-z0-9]+)*$/,Ca=(o,t,e,n="")=>{const s=o.split(":");if(o.slice(0,1)==="@"){if(s.length<2||s.length>3)return null;n=s.shift().slice(1)}if(s.length>3||!s.length)return null;if(s.length>1){const i=s.pop(),l=s.pop(),c={provider:s.length>0?s[0]:n,prefix:l,name:i};return t&&!Ta(c)?null:c}const r=s[0],a=r.split("-");if(a.length>1){const i={provider:n,prefix:a.shift(),name:a.join("-")};return t&&!Ta(i)?null:i}if(e&&n===""){const i={provider:n,prefix:"",name:r};return t&&!Ta(i,e)?null:i}return null},Ta=(o,t)=>o?!!((t&&o.prefix===""||o.prefix)&&o.name):!1,Gh=Object.freeze({left:0,top:0,width:16,height:16}),Ea=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Sa=Object.freeze({...Gh,...Ea}),Jl=Object.freeze({...Sa,body:"",hidden:!1});function C_(o,t){const e={};!o.hFlip!=!t.hFlip&&(e.hFlip=!0),!o.vFlip!=!t.vFlip&&(e.vFlip=!0);const n=((o.rotate||0)+(t.rotate||0))%4;return n&&(e.rotate=n),e}function Wh(o,t){const e=C_(o,t);for(const n in Jl)n in Ea?n in o&&!(n in e)&&(e[n]=Ea[n]):n in t?e[n]=t[n]:n in o&&(e[n]=o[n]);return e}function T_(o,t){const e=o.icons,n=o.aliases||Object.create(null),s=Object.create(null);function r(a){if(e[a])return s[a]=[];if(!(a in s)){s[a]=null;const i=n[a]&&n[a].parent,l=i&&r(i);l&&(s[a]=[i].concat(l))}return s[a]}return Object.keys(e).concat(Object.keys(n)).forEach(r),s}function E_(o,t,e){const n=o.icons,s=o.aliases||Object.create(null);let r={};function a(i){r=Wh(n[i]||s[i],r)}return a(t),e.forEach(a),Wh(o,r)}function qh(o,t){const e=[];if(typeof o!="object"||typeof o.icons!="object")return e;o.not_found instanceof Array&&o.not_found.forEach(s=>{t(s,null),e.push(s)});const n=T_(o);for(const s in n){const r=n[s];r&&(t(s,E_(o,s,r)),e.push(s))}return e}const S_={provider:"",aliases:{},not_found:{},...Gh};function tc(o,t){for(const e in t)if(e in o&&typeof o[e]!=typeof t[e])return!1;return!0}function Kh(o){if(typeof o!="object"||o===null)return null;const t=o;if(typeof t.prefix!="string"||!o.icons||typeof o.icons!="object"||!tc(o,S_))return null;const e=t.icons;for(const s in e){const r=e[s];if(!s||typeof r.body!="string"||!tc(r,Jl))return null}const n=t.aliases||Object.create(null);for(const s in n){const r=n[s],a=r.parent;if(!s||typeof a!="string"||!e[a]&&!n[a]||!tc(r,Jl))return null}return t}const Qh=Object.create(null);function O_(o,t){return{provider:o,prefix:t,icons:Object.create(null),missing:new Set}}function Jn(o,t){const e=Qh[o]||(Qh[o]=Object.create(null));return e[t]||(e[t]=O_(o,t))}function Jh(o,t){return Kh(t)?qh(t,(e,n)=>{n?o.icons[e]=n:o.missing.add(e)}):[]}function P_(o,t,e){try{if(typeof e.body=="string")return o.icons[t]={...e},!0}catch{}return!1}let Ws=!1;function tp(o){return typeof o=="boolean"&&(Ws=o),Ws}function R_(o){const t=typeof o=="string"?Ca(o,!0,Ws):o;if(t){const e=Jn(t.provider,t.prefix),n=t.name;return e.icons[n]||(e.missing.has(n)?null:void 0)}}function I_(o,t){const e=Ca(o,!0,Ws);if(!e)return!1;const n=Jn(e.provider,e.prefix);return t?P_(n,e.name,t):(n.missing.add(e.name),!0)}function A_(o,t){if(typeof o!="object")return!1;if(typeof t!="string"&&(t=o.provider||""),Ws&&!t&&!o.prefix){let s=!1;return Kh(o)&&(o.prefix="",qh(o,(r,a)=>{I_(r,a)&&(s=!0)})),s}const e=o.prefix;if(!Ta({provider:t,prefix:e,name:"a"}))return!1;const n=Jn(t,e);return!!Jh(n,o)}const ep=Object.freeze({width:null,height:null}),op=Object.freeze({...ep,...Ea}),$_=/(-?[0-9.]*[0-9]+[0-9.]*)/g,N_=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function np(o,t,e){if(t===1)return o;if(e=e||100,typeof o=="number")return Math.ceil(o*t*e)/e;if(typeof o!="string")return o;const n=o.split($_);if(n===null||!n.length)return o;const s=[];let r=n.shift(),a=N_.test(r);for(;;){if(a){const i=parseFloat(r);isNaN(i)?s.push(r):s.push(Math.ceil(i*t*e)/e)}else s.push(r);if(r=n.shift(),r===void 0)return s.join("");a=!a}}function F_(o,t="defs"){let e="";const n=o.indexOf("<"+t);for(;n>=0;){const s=o.indexOf(">",n),r=o.indexOf("</"+t);if(s===-1||r===-1)break;const a=o.indexOf(">",r);if(a===-1)break;e+=o.slice(s+1,r).trim(),o=o.slice(0,n).trim()+o.slice(a+1)}return{defs:e,content:o}}function z_(o,t){return o?"<defs>"+o+"</defs>"+t:t}function D_(o,t,e){const n=F_(o);return z_(n.defs,t+n.content+e)}const M_=o=>o==="unset"||o==="undefined"||o==="none";function L_(o,t){const e={...Sa,...o},n={...op,...t},s={left:e.left,top:e.top,width:e.width,height:e.height};let r=e.body;[e,n].forEach(b=>{const x=[],k=b.hFlip,g=b.vFlip;let m=b.rotate;k?g?m+=2:(x.push("translate("+(s.width+s.left).toString()+" "+(0-s.top).toString()+")"),x.push("scale(-1 1)"),s.top=s.left=0):g&&(x.push("translate("+(0-s.left).toString()+" "+(s.height+s.top).toString()+")"),x.push("scale(1 -1)"),s.top=s.left=0);let y;switch(m<0&&(m-=Math.floor(m/4)*4),m=m%4,m){case 1:y=s.height/2+s.top,x.unshift("rotate(90 "+y.toString()+" "+y.toString()+")");break;case 2:x.unshift("rotate(180 "+(s.width/2+s.left).toString()+" "+(s.height/2+s.top).toString()+")");break;case 3:y=s.width/2+s.left,x.unshift("rotate(-90 "+y.toString()+" "+y.toString()+")");break}m%2===1&&(s.left!==s.top&&(y=s.left,s.left=s.top,s.top=y),s.width!==s.height&&(y=s.width,s.width=s.height,s.height=y)),x.length&&(r=D_(r,'<g transform="'+x.join(" ")+'">',"</g>"))});const a=n.width,i=n.height,l=s.width,c=s.height;let u,f;a===null?(f=i===null?"1em":i==="auto"?c:i,u=np(f,l/c)):(u=a==="auto"?l:a,f=i===null?np(u,c/l):i==="auto"?c:i);const d={},h=(b,x)=>{M_(x)||(d[b]=x.toString())};h("width",u),h("height",f);const p=[s.left,s.top,l,c];return d.viewBox=p.join(" "),{attributes:d,viewBox:p,body:r}}const B_=/\sid="(\S+)"/g,V_="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Y_=0;function X_(o,t=V_){const e=[];let n;for(;n=B_.exec(o);)e.push(n[1]);if(!e.length)return o;const s="suffix"+(Math.random()*16777216|Date.now()).toString(16);return e.forEach(r=>{const a=typeof t=="function"?t(r):t+(Y_++).toString(),i=r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");o=o.replace(new RegExp('([#;"])('+i+')([")]|\\.[a-z])',"g"),"$1"+a+s+"$3")}),o=o.replace(new RegExp(s,"g"),""),o}const ec=Object.create(null);function Z_(o,t){ec[o]=t}function oc(o){return ec[o]||ec[""]}function nc(o){let t;if(typeof o.resources=="string")t=[o.resources];else if(t=o.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:o.path||"/",maxURL:o.maxURL||500,rotate:o.rotate||750,timeout:o.timeout||5e3,random:o.random===!0,index:o.index||0,dataAfterTimeout:o.dataAfterTimeout!==!1}}const sc=Object.create(null),qs=["https://api.simplesvg.com","https://api.unisvg.com"],Oa=[];for(;qs.length>0;)qs.length===1||Math.random()>.5?Oa.push(qs.shift()):Oa.push(qs.pop());sc[""]=nc({resources:["https://api.iconify.design"].concat(Oa)});function U_(o,t){const e=nc(t);return e===null?!1:(sc[o]=e,!0)}function rc(o){return sc[o]}let sp=(()=>{let o;try{if(o=fetch,typeof o=="function")return o}catch{}})();function H_(o,t){const e=rc(o);if(!e)return 0;let n;if(!e.maxURL)n=0;else{let s=0;e.resources.forEach(a=>{s=Math.max(s,a.length)});const r=t+".json?icons=";n=e.maxURL-s-e.path.length-r.length}return n}function j_(o){return o===404}const G_=(o,t,e)=>{const n=[],s=H_(o,t),r="icons";let a={type:r,provider:o,prefix:t,icons:[]},i=0;return e.forEach((l,c)=>{i+=l.length+1,i>=s&&c>0&&(n.push(a),a={type:r,provider:o,prefix:t,icons:[]},i=l.length),a.icons.push(l)}),n.push(a),n};function W_(o){if(typeof o=="string"){const t=rc(o);if(t)return t.path}return"/"}const q_={prepare:G_,send:(o,t,e)=>{if(!sp){e("abort",424);return}let n=W_(t.provider);switch(t.type){case"icons":{const r=t.prefix,i=t.icons.join(","),l=new URLSearchParams({icons:i});n+=r+".json?"+l.toString();break}case"custom":{const r=t.uri;n+=r.slice(0,1)==="/"?r.slice(1):r;break}default:e("abort",400);return}let s=503;sp(o+n).then(r=>{const a=r.status;if(a!==200){setTimeout(()=>{e(j_(a)?"abort":"next",a)});return}return s=501,r.json()}).then(r=>{if(typeof r!="object"||r===null){setTimeout(()=>{r===404?e("abort",r):e("next",s)});return}setTimeout(()=>{e("success",r)})}).catch(()=>{e("next",s)})}};function K_(o){const t={loaded:[],missing:[],pending:[]},e=Object.create(null);o.sort((s,r)=>s.provider!==r.provider?s.provider.localeCompare(r.provider):s.prefix!==r.prefix?s.prefix.localeCompare(r.prefix):s.name.localeCompare(r.name));let n={provider:"",prefix:"",name:""};return o.forEach(s=>{if(n.name===s.name&&n.prefix===s.prefix&&n.provider===s.provider)return;n=s;const r=s.provider,a=s.prefix,i=s.name,l=e[r]||(e[r]=Object.create(null)),c=l[a]||(l[a]=Jn(r,a));let u;i in c.icons?u=t.loaded:a===""||c.missing.has(i)?u=t.missing:u=t.pending;const f={provider:r,prefix:a,name:i};u.push(f)}),t}function rp(o,t){o.forEach(e=>{const n=e.loaderCallbacks;n&&(e.loaderCallbacks=n.filter(s=>s.id!==t))})}function Q_(o){o.pendingCallbacksFlag||(o.pendingCallbacksFlag=!0,setTimeout(()=>{o.pendingCallbacksFlag=!1;const t=o.loaderCallbacks?o.loaderCallbacks.slice(0):[];if(!t.length)return;let e=!1;const n=o.provider,s=o.prefix;t.forEach(r=>{const a=r.icons,i=a.pending.length;a.pending=a.pending.filter(l=>{if(l.prefix!==s)return!0;const c=l.name;if(o.icons[c])a.loaded.push({provider:n,prefix:s,name:c});else if(o.missing.has(c))a.missing.push({provider:n,prefix:s,name:c});else return e=!0,!0;return!1}),a.pending.length!==i&&(e||rp([o],r.id),r.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),r.abort))})}))}let J_=0;function tx(o,t,e){const n=J_++,s=rp.bind(null,e,n);if(!t.pending.length)return s;const r={id:n,icons:t,callback:o,abort:s};return e.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(r)}),s}function ex(o,t=!0,e=!1){const n=[];return o.forEach(s=>{const r=typeof s=="string"?Ca(s,t,e):s;r&&n.push(r)}),n}var ox={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function nx(o,t,e,n){const s=o.resources.length,r=o.random?Math.floor(Math.random()*s):o.index;let a;if(o.random){let w=o.resources.slice(0);for(a=[];w.length>1;){const $=Math.floor(Math.random()*w.length);a.push(w[$]),w=w.slice(0,$).concat(w.slice($+1))}a=a.concat(w)}else a=o.resources.slice(r).concat(o.resources.slice(0,r));const i=Date.now();let l="pending",c=0,u,f=null,d=[],h=[];typeof n=="function"&&h.push(n);function p(){f&&(clearTimeout(f),f=null)}function b(){l==="pending"&&(l="aborted"),p(),d.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),d=[]}function x(w,$){$&&(h=[]),typeof w=="function"&&h.push(w)}function k(){return{startTime:i,payload:t,status:l,queriesSent:c,queriesPending:d.length,subscribe:x,abort:b}}function g(){l="failed",h.forEach(w=>{w(void 0,u)})}function m(){d.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),d=[]}function y(w,$,V){const B=$!=="success";switch(d=d.filter(M=>M!==w),l){case"pending":break;case"failed":if(B||!o.dataAfterTimeout)return;break;default:return}if($==="abort"){u=V,g();return}if(B){u=V,d.length||(a.length?_():g());return}if(p(),m(),!o.random){const M=o.resources.indexOf(w.resource);M!==-1&&M!==o.index&&(o.index=M)}l="completed",h.forEach(M=>{M(V)})}function _(){if(l!=="pending")return;p();const w=a.shift();if(w===void 0){if(d.length){f=setTimeout(()=>{p(),l==="pending"&&(m(),g())},o.timeout);return}g();return}const $={status:"pending",resource:w,callback:(V,B)=>{y($,V,B)}};d.push($),c++,f=setTimeout(_,o.rotate),e(w,t,$.callback)}return setTimeout(_),k}function ap(o){const t={...ox,...o};let e=[];function n(){e=e.filter(i=>i().status==="pending")}function s(i,l,c){const u=nx(t,i,l,(f,d)=>{n(),c&&c(f,d)});return e.push(u),u}function r(i){return e.find(l=>i(l))||null}return{query:s,find:r,setIndex:i=>{t.index=i},getIndex:()=>t.index,cleanup:n}}function ip(){}const ac=Object.create(null);function sx(o){if(!ac[o]){const t=rc(o);if(!t)return;const e=ap(t),n={config:t,redundancy:e};ac[o]=n}return ac[o]}function rx(o,t,e){let n,s;if(typeof o=="string"){const r=oc(o);if(!r)return e(void 0,424),ip;s=r.send;const a=sx(o);a&&(n=a.redundancy)}else{const r=nc(o);if(r){n=ap(r);const a=o.resources?o.resources[0]:"",i=oc(a);i&&(s=i.send)}}return!n||!s?(e(void 0,424),ip):n.query(t,s,e)().abort}function lp(){}function ax(o){o.iconsLoaderFlag||(o.iconsLoaderFlag=!0,setTimeout(()=>{o.iconsLoaderFlag=!1,Q_(o)}))}function ix(o){const t=[],e=[];return o.forEach(n=>{(n.match(jh)?t:e).push(n)}),{valid:t,invalid:e}}function Ks(o,t,e){function n(){const s=o.pendingIcons;t.forEach(r=>{s&&s.delete(r),o.icons[r]||o.missing.add(r)})}if(e&&typeof e=="object")try{if(!Jh(o,e).length){n();return}}catch(s){console.error(s)}n(),ax(o)}function cp(o,t){o instanceof Promise?o.then(e=>{t(e)}).catch(()=>{t(null)}):t(o)}function lx(o,t){o.iconsToLoad?o.iconsToLoad=o.iconsToLoad.concat(t).sort():o.iconsToLoad=t,o.iconsQueueFlag||(o.iconsQueueFlag=!0,setTimeout(()=>{o.iconsQueueFlag=!1;const{provider:e,prefix:n}=o,s=o.iconsToLoad;if(delete o.iconsToLoad,!s||!s.length)return;const r=o.loadIcon;if(o.loadIcons&&(s.length>1||!r)){cp(o.loadIcons(s,n,e),u=>{Ks(o,s,u)});return}if(r){s.forEach(u=>{const f=r(u,n,e);cp(f,d=>{const h=d?{prefix:n,icons:{[u]:d}}:null;Ks(o,[u],h)})});return}const{valid:a,invalid:i}=ix(s);if(i.length&&Ks(o,i,null),!a.length)return;const l=n.match(jh)?oc(e):null;if(!l){Ks(o,a,null);return}l.prepare(e,n,a).forEach(u=>{rx(e,u,f=>{Ks(o,u.icons,f)})})}))}const cx=(o,t)=>{const e=ex(o,!0,tp()),n=K_(e);if(!n.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(n.loaded,n.missing,n.pending,lp)}),()=>{l=!1}}const s=Object.create(null),r=[];let a,i;return n.pending.forEach(l=>{const{provider:c,prefix:u}=l;if(u===i&&c===a)return;a=c,i=u,r.push(Jn(c,u));const f=s[c]||(s[c]=Object.create(null));f[u]||(f[u]=[])}),n.pending.forEach(l=>{const{provider:c,prefix:u,name:f}=l,d=Jn(c,u),h=d.pendingIcons||(d.pendingIcons=new Set);h.has(f)||(h.add(f),s[c][u].push(f))}),r.forEach(l=>{const c=s[l.provider][l.prefix];c.length&&lx(l,c)}),t?tx(t,n,r):lp};function ux(o,t){const e={...o};for(const n in t){const s=t[n],r=typeof s;n in ep?(s===null||s&&(r==="string"||r==="number"))&&(e[n]=s):r===typeof e[n]&&(e[n]=n==="rotate"?s%4:s)}return e}const fx=/[\s,]+/;function dx(o,t){t.split(fx).forEach(e=>{switch(e.trim()){case"horizontal":o.hFlip=!0;break;case"vertical":o.vFlip=!0;break}})}function hx(o,t=0){const e=o.replace(/^-?[0-9.]*/,"");function n(s){for(;s<0;)s+=4;return s%4}if(e===""){const s=parseInt(o);return isNaN(s)?0:n(s)}else if(e!==o){let s=0;switch(e){case"%":s=25;break;case"deg":s=90}if(s){let r=parseFloat(o.slice(0,o.length-e.length));return isNaN(r)?0:(r=r/s,r%1===0?n(r):0)}}return t}function px(o,t){let e=o.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const n in t)e+=" "+n+'="'+t[n]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+e+">"+o+"</svg>"}function mx(o){return o.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function gx(o){return"data:image/svg+xml,"+mx(o)}function yx(o){return'url("'+gx(o)+'")'}const up={...op,inline:!1},vx={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},bx={display:"inline-block"},ic={backgroundColor:"currentColor"},fp={backgroundColor:"transparent"},dp={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},hp={webkitMask:ic,mask:ic,background:fp};for(const o in hp){const t=hp[o];for(const e in dp)t[o+e]=dp[e]}const Pa={};["horizontal","vertical"].forEach(o=>{const t=o.slice(0,1)+"Flip";Pa[o+"-flip"]=t,Pa[o.slice(0,1)+"-flip"]=t,Pa[o+"Flip"]=t});function pp(o){return o+(o.match(/^[-0-9.]+$/)?"px":"")}const mp=(o,t)=>{const e=ux(up,t),n={...vx},s=t.mode||"svg",r={},a=t.style,i=typeof a=="object"&&!(a instanceof Array)?a:{};for(let b in t){const x=t[b];if(x!==void 0)switch(b){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":e[b]=x===!0||x==="true"||x===1;break;case"flip":typeof x=="string"&&dx(e,x);break;case"color":r.color=x;break;case"rotate":typeof x=="string"?e[b]=hx(x):typeof x=="number"&&(e[b]=x);break;case"ariaHidden":case"aria-hidden":x!==!0&&x!=="true"&&delete n["aria-hidden"];break;default:{const k=Pa[b];k?(x===!0||x==="true"||x===1)&&(e[k]=!0):up[b]===void 0&&(n[b]=x)}}}const l=L_(o,e),c=l.attributes;if(e.inline&&(r.verticalAlign="-0.125em"),s==="svg"){n.style={...r,...i},Object.assign(n,c);let b=0,x=t.id;return typeof x=="string"&&(x=x.replace(/-/g,"_")),n.innerHTML=X_(l.body,x?()=>x+"ID"+b++:"iconifyVue"),Xt("svg",n)}const{body:u,width:f,height:d}=o,h=s==="mask"||(s==="bg"?!1:u.indexOf("currentColor")!==-1),p=px(u,{...c,width:f+"",height:d+""});return n.style={...r,"--svg":yx(p),width:pp(c.width),height:pp(c.height),...bx,...h?ic:fp,...i},Xt("span",n)};if(tp(!0),Z_("",q_),typeof document<"u"&&typeof window<"u"){const o=window;if(o.IconifyPreload!==void 0){const t=o.IconifyPreload,e="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(n=>{try{(typeof n!="object"||n===null||n instanceof Array||typeof n.icons!="object"||typeof n.prefix!="string"||!A_(n))&&console.error(e)}catch{console.error(e)}})}if(o.IconifyProviders!==void 0){const t=o.IconifyProviders;if(typeof t=="object"&&t!==null)for(let e in t){const n="IconifyProviders["+e+"] is invalid.";try{const s=t[e];if(typeof s!="object"||!s||s.resources===void 0)continue;U_(e,s)||console.error(n)}catch{console.error(n)}}}}const _x={...Sa,body:""},gp=Y({inheritAttrs:!1,data(){return{_name:"",_loadingIcon:null,iconMounted:!1,counter:0}},mounted(){this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(o,t,e){if(typeof o=="object"&&o!==null&&typeof o.body=="string")return this._name="",this.abortLoading(),{data:o};let n;if(typeof o!="string"||(n=Ca(o,!1,!0))===null)return this.abortLoading(),null;let s=R_(n);if(!s)return(!this._loadingIcon||this._loadingIcon.name!==o)&&(this.abortLoading(),this._name="",s!==null&&(this._loadingIcon={name:o,abort:cx([n],()=>{this.counter++})})),null;if(this.abortLoading(),this._name!==o&&(this._name=o,t&&t(o)),e){s=Object.assign({},s);const a=e(s.body,n.name,n.prefix,n.provider);typeof a=="string"&&(s.body=a)}const r=["iconify"];return n.prefix!==""&&r.push("iconify--"+n.prefix),n.provider!==""&&r.push("iconify--"+n.provider),{data:s,classes:r}}},render(){this.counter;const o=this.$attrs,t=this.iconMounted||o.ssr?this.getIcon(o.icon,o.onLoad,o.customise):null;if(!t)return mp(_x,o);let e=o;return t.classes&&(e={...o,class:(typeof o.class=="string"?o.class+" ":"")+t.classes.join(" ")}),mp({...Sa,...t.data},e)}}),ts=Y({__name:"Icon",props:{icon:{default:"mdi-light:home"},color:{default:Zt("--xg-blue")}},setup(o){const t=o;return(e,n)=>(I(),D("span",{class:"icon",style:N(["color: "+e.color,"display: inline-flex","justify-content: center","align-items: center","cursor: pointer","font-size: 1em"])},[Z(Tt(gp),{icon:t.icon,color:e.color},null,8,["icon","color"])],4))}}),xx={class:"loading-11",ref:"loading11"},kx={class:"container container-1"},wx={class:"container container-2"},Cx={class:"container container-3"},Tx=Y({__name:"Loading11",props:{color:{default:Zt("--xg-blue")},width:{default:"0.8em"}},setup(o){const t=o;return(e,n)=>(I(),D("div",xx,[v("div",{class:"loading-11-inner",style:N({width:t.width,height:t.width})},[v("div",kx,[v("div",{class:"dot dot-1",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-2",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-3",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-4",style:N({backgroundColor:t.color})},null,4)]),v("div",wx,[v("div",{class:"dot dot-1",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-2",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-3",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-4",style:N({backgroundColor:t.color})},null,4)]),v("div",Cx,[v("div",{class:"dot dot-1",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-2",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-3",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-4",style:N({backgroundColor:t.color})},null,4)])],4)],512))}}),kw="",Ra=st(Tx,[["__scopeId","data-v-b6f6b2a6"]]),Ex={key:0,class:"loading",style:{"margin-right":"6px"}},lc=.03,cc=.06,ie=Y({customOptions:{Loading11:Ra},inheritAttrs:!0,__name:"Button",props:{label:{},icon:{},iconPosition:{default:"left"},disabled:{type:Boolean,default:!1},width:{default:"auto"},height:{default:"44px"},padding:{default:"20px"},fontSize:{default:"16px"},fontWeight:{default:"normal"},borderRadius:{default:"4px"},stylePattern:{default:"fullfill"},fontColor:{},borderColor:{},bgColor:{},bgColorStart:{},bgColorEnd:{},asyncClick:{}},emits:["yz-click","click"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P(),a=Zt("--xg-blue","#5a82f0"),i=P(n.fontColor),l=P(n.borderColor),c=P(n.bgColor),u=P(i.value),f=P(l.value),d=P(c.value),h=P(n.bgColorStart||""),p=P(n.bgColorEnd||""),b=n.bgColorStart&&n.bgColorEnd;function x(B){switch(B){case"transparent":l.value=n.borderColor||"rgba(255,255,255,0)",c.value=n.bgColor||"rgba(255,255,255,0)",i.value=n.fontColor||a;break;case"outline":l.value=n.borderColor||a,c.value=n.bgColor||"rgba(255,255,255,0)",i.value=n.fontColor||a;break;case"fullfill":default:l.value=n.borderColor||"rgba(255,255,255,0)",c.value=n.bgColor||a,i.value=n.fontColor||Mt.set(c.value).opposite(!0).toString();break}u.value=i.value,f.value=l.value,d.value=c.value,b&&(h.value=n.bgColorStart,p.value=n.bgColorEnd,c.value=`linear-gradient(180deg, ${h.value} 0%, ${p.value} 100%)`)}Rt(()=>n.stylePattern,()=>{x(n.stylePattern)},{immediate:!0});const k=P(n.disabled?"0.6":"1"),g=P(n.disabled?"not-allowed":"pointer");let m=!1;const y=()=>{n.disabled||(m=!0,n.stylePattern=="transparent"&&(i.value=Mt.set(u.value).darken(lc).toString()),l.value=Mt.set(f.value).darken(lc).toString(),b?c.value=`linear-gradient(180deg, ${p.value} 0%, ${h.value} 100%)`:c.value=Mt.set(d.value).darken(lc).toString())},_=()=>{n.disabled||(m=!1,i.value=u.value,l.value=f.value,b?c.value=`linear-gradient(180deg, ${h.value} 0%, ${p.value} 100%)`:c.value=d.value)},w=P(!1),V=hl(()=>{n.disabled||w.value||(n.stylePattern=="transparent"&&(i.value=Mt.set(u.value).darken(cc).toString()),l.value=Mt.set(f.value).darken(cc).toString(),b?c.value=`linear-gradient(180deg, ${h.value} 0%, ${p.value} 100%)`:c.value=Mt.set(d.value).darken(cc).toString(),setTimeout(()=>{m?y():_()},150),s("yz-click"),s("click"),n.asyncClick&&(w.value=!0,n.asyncClick().then(()=>{w.value=!1}).catch(()=>{w.value=!1})))},300);return t({el:r}),(B,M)=>(I(),D("div",{ref_key:"el",ref:r,class:"button",style:N([`opacity: ${k.value}`,`border: 1px solid ${l.value}`,`background: ${c.value}`,`color: ${i.value}`,`border-radius: ${n.borderRadius}`,`width: ${n.width}`,`height: ${n.height}`,`line-height: ${n.height}`,`font-size: ${n.fontSize}`,`cursor: ${g.value}`,"user-select: none","box-sizing: border-box","display: inline-flex","justify-content: center","align-items: center","z-index: 0"]),onMouseover:y,onMouseleave:_,onClick:M[0]||(M[0]=(...ut)=>Tt(V)&&Tt(V)(...ut))},[v("label",{class:"label truncate",style:N({padding:"0 "+B.padding,cursor:g.value,display:"inline-flex",justifyContent:"center",alignItems:"center",fontWeight:n.fontWeight||"normal"})},[w.value?(I(),D("div",Ex,[Z(Ra,{color:i.value},null,8,["color"])])):yt("",!0),mt(B.$slots,"default",{},()=>[B.icon&&B.iconPosition==="left"?(I(),dt(ts,{key:0,icon:B.icon,color:i.value,style:N({marginRight:"4px",cursor:g.value})},null,8,["icon","color","style"])):yt("",!0),v("span",{style:N({cursor:g.value})},ft(B.label),5),B.icon&&B.iconPosition==="right"?(I(),dt(ts,{key:1,icon:B.icon,color:i.value,style:N({marginLeft:"4px",cursor:g.value})},null,8,["icon","color","style"])):yt("",!0)])],4)],36))}}),Sx={class:"xg-footer-inner"},Ox=Y({customOptions:{Button:ie},inheritAttrs:!0,__name:"Footer",setup(o){const t=wa();function e(){t.push("/park")}const n=P("0px");let s;return pe(()=>{s=ha.onBottom(r=>{n.value=r})}),ue(()=>{s?.()}),(r,a)=>(I(),D("div",{class:"xg-footer",style:N({paddingBottom:n.value})},[v("div",Sx,[Z(ie,{label:"去支付",width:"100%",onClick:e})])],4))}}),ww="",Ia=st(Ox,[["__scopeId","data-v-47056f4a"]]),Px={class:"text"},Rx=Y({customOptions:{},inheritAttrs:!0,__name:"PlateDisplay",props:{plate:{},plateType:{},displayType:{default:"chinese"}},setup(o,{expose:t,emit:e}){const n=o,s=[{name:"蓝牌",style:{"background-color":"#0078f0",color:"#ffffff"}},{name:"绿牌",style:{"background-color":"#00f08c",color:"#000000"}},{name:"黄牌",style:{"background-color":"#fac800",color:"#000000"}},{name:"黄绿",style:{background:"linear-gradient(90deg, #fac800 51.5%, #00f08c 51.51%)",color:"#000000"}},{name:"黑牌",style:{"background-color":"#222222",color:"#ffffff"}},{name:"白牌",style:{"background-color":"#ffffff",color:"#000000",border:"1px solid #999999"}},{name:"未知",style:{"background-color":"#cccccc",color:"#ffffff"}}];function r(c){switch(c){case"b":case"蓝牌":c="蓝牌";break;case"g":case"绿牌":c="绿牌";break;case"y":case"黄牌":c="黄牌";break;case"q":case"黄绿":c="黄绿";break;case"d":case"黑牌":c="黑牌";break;case"w":case"白牌":c="白牌";break;default:c="未知";break}const u=s.filter(f=>f.name===c);return u.length?u[0]:r("未知")}const a=P(r(n.plateType||"")),i=P(),l=P(14);return pe(()=>{l.value=ya(i.value).getEmSize()}),t({}),(c,u)=>(I(),D("div",{class:"plate-display",ref_key:"el",ref:i},[c.displayType=="dot"&&c.plate!=="无牌车"?(I(),D("div",{key:0,class:Gt(["leading",c.displayType]),style:N({...a.value.style,width:l.value+"px",height:l.value+"px",marginRight:.36*l.value+"px"})},ft(a.value.name),7)):yt("",!0),c.displayType=="chinese"&&c.plate!=="无牌车"?(I(),D("div",{key:1,class:Gt(["leading",c.displayType]),style:N(a.value.style)},ft(a.value.name),7)):yt("",!0),c.displayType=="plaintext"&&c.plate!=="无牌车"?(I(),D("div",{key:2,class:Gt(["leading",c.displayType])},ft(a.value.name),3)):yt("",!0),v("div",Px,ft(c.plate),1)],512))}}),Cw="",Aa=st(Rx,[["__scopeId","data-v-6395bb5a"]]),ht=Y({customOptions:{},inheritAttrs:!0,__name:"Container",props:{type:{default:"block"},effectTriggerTiming:{default:"manual"},supportCopyText:{type:Boolean,default:!1}},emits:["ready","update","clipboard_success","clipboard_error","start","end"],setup(o,{expose:t,emit:e}){const n=o,s=e;let r="start";const a=()=>{r="start",s("start")},i=()=>{r="end",s("end")},l=()=>{r=="start"?i():a()},c=P();let u,f,d=!1;return Dn(()=>{c.value&&(u||(u=la(c.value),u.eb.on("resize",()=>{d&&s("update",u)}),u.eb.on("mouseEnter",()=>{n.effectTriggerTiming=="mouseMove"&&l()}),u.eb.on("mouseLeave",()=>{n.effectTriggerTiming=="mouseMove"&&l()}),u.eb.on("tap",()=>{if(n.effectTriggerTiming=="click"&&l(),n.supportCopyText){const h=ya(c.value).getInnerText();Dl(h).then(()=>{s("clipboard_success",h)}).catch(p=>{s("clipboard_error",p.toString())})}}),n.effectTriggerTiming!=="manual"&&a(),n.effectTriggerTiming=="immediate"&&l(),u.start().then(()=>{f?.(u),s("ready",u),d=!0})))}),pe(()=>{}),ue(()=>{u?.end()}),t({getController:()=>new Promise(h=>{if(u)return h(u);f=h}),getElement:()=>c.value,getRect:()=>c.value.getBoundingClientRect()}),(h,p)=>(I(),D("div",Gi({ref_key:"r",ref:c,class:"container",style:{position:"relative",boxSizing:"border-box",display:n.type=="shrink"?"inline-block":"block",width:n.type=="full"?"100%":"auto",height:n.type=="full"?"100%":"auto"}},h.$attrs),[mt(h.$slots,"default")],16))}}),es=Y({customOptions:{Container:ht},inheritAttrs:!0,__name:"CSSAnimation",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!1},effectTriggerTiming:{default:"mouseMove"},name:{default:"jelly"},timingFunction:{},duration:{},delay:{},repeat:{},direction:{},fillMode:{default:"both"},playState:{default:"running"},perspective:{default:"1200px"}},emits:["cssanimationstart","cssanimationend"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=Wt({}),a=Wt({});let i=n.name,l=n.duration,c=n.timingFunction,u=n.delay,f=n.repeat,d=n.direction;function h(w){switch(i=w,i){case"superRainbow":l=n.duration||15e3;break;case"heartBeat":l=n.duration||1300;break;case"statusProcessing":l=n.duration||1200;break;case"rotateFall":case"rotateSlideOut":case"rotateSlideIn":l=n.duration||1e3;break;case"rotateRightSideFirst":case"rotateLeftSideFirst":case"rotateTopSideFirst":case"rotateBottomSideFirst":case"rotatePushLeft":case"rotatePushRight":case"rotatePushTop":case"rotatePushBottom":case"rotateRoomLeftOut":case"rotateRoomLeftIn":case"rotateRoomRightOut":case"rotateRoomRightIn":case"rotateRoomTopOut":case"rotateRoomTopIn":case"rotateRoomBottomOut":case"rotateRoomBottomIn":case"rotateCarouselLeftOut":case"rotateCarouselLeftIn":case"rotateCarouselRightOut":case"rotateCarouselRightIn":case"rotateCarouselTopOut":case"rotateCarouselTopIn":case"rotateCarouselBottomOut":case"rotateCarouselBottomIn":l=n.duration||800;break;case"bounceIn":case"bounceOut":case"flipOutX":case"hinge":l=n.duration||750;break;case"rotateFoldRight":case"rotateFoldLeft":case"rotateFoldTop":case"rotateFoldBottom":case"rotateUnfoldLeft":case"rotateUnfoldRight":case"rotateUnfoldTop":case"rotateUnfoldBottom":case"fade":case"moveFromLeftFade":case"moveToLeftFade":case"moveFromRightFade":case"moveToRightFade":case"moveFromTopFade":case"moveToTopFade":case"moveFromBottomFade":case"moveToBottomFade":l=n.duration||700;break;case"moveFromLeft":case"moveToLeft":case"moveFromRight":case"moveToRight":case"moveFromTop":case"moveToTop":case"moveFromBottom":case"moveToBottom":case"rotateCubeLeftOut":case"rotateCubeLeftIn":case"rotateCubeRightOut":case"rotateCubeRightIn":case"rotateCubeTopOut":case"rotateCubeTopIn":case"rotateCubeBottomOut":case"rotateCubeBottomIn":l=n.duration||600;break;default:l=n.duration||500;break}switch(i){case"superRainbow":c=n.timingFunction||"linear";break;case"lightSpeedOutLeft":case"lightSpeedOutRight":case"rotateRightSideFirst":case"rotateLeftSideFirst":case"rotateTopSideFirst":case"rotateBottomSideFirst":case"flipOutRight":case"flipOutLeft":case"flipOutTop":case"flipOutBottom":case"rotateFall":case"rotateOutNewspaper":case"rotateCubeLeftOut":case"rotateCubeLeftIn":case"rotateCubeRightOut":case"rotateCubeRightIn":case"rotateCubeTopOut":case"rotateCubeTopIn":case"rotateCubeBottomOut":case"rotateCubeBottomIn":case"rotateSidesOut":c=n.timingFunction||"ease-in";break;case"lightSpeedInLeft":case"lightSpeedInRight":case"flipInLeft":case"flipInRight":case"flipInBottom":case"flipInTop":case"rotateInNewspaper":case"rotateSidesIn":c=n.timingFunction||"ease-out";break;case"pulse":case"headShake":case"heartBeat":case"statusProcessing":c=n.timingFunction||"ease-in-out";break;default:c=n.timingFunction||"ease";break}switch(i){default:u=n.delay||0;break}switch(i){case"superRainbow":case"statusProcessing":f=n.repeat||"infinite";break;default:f=n.repeat||1;break}switch(i){case"superRainbow":d=n.direction||"alternate";break;default:d=n.direction||"normal";break}switch(i){case"hinge":case"rotateFall":a.transformOrigin="left top";break;case"zoomOutLeft":case"rotateRightSideFirst":case"rotatePushLeft":case"rotatePullLeft":case"rotateFoldRight":case"rotateUnfoldRight":case"rotateRoomLeftIn":case"rotateRoomRightOut":case"rotateCubeLeftIn":case"rotateCubeRightOut":a.transformOrigin="left center";break;case"rotateInUpLeft":case"rotateInDownLeft":case"rotateOutUpLeft":case"rotateOutDownLeft":a.transformOrigin="left bottom";break;case"swing":case"zoomOutUp":case"rotateBottomSideFirst":case"rotatePushTop":case"rotatePullTop":case"rotateFoldBottom":case"rotateUnfoldBottom":case"rotateRoomTopIn":case"rotateRoomBottomOut":case"rotateCubeTopIn":case"rotateCubeBottomOut":a.transformOrigin="center top";break;case"bounce":case"zoomOutDown":case"rotateTopSideFirst":case"rotatePushBottom":case"rotatePullBottom":case"rotateFoldTop":case"rotateUnfoldTop":case"rotateRoomTopOut":case"rotateRoomBottomIn":case"rotateCubeTopOut":case"rotateCubeBottomIn":a.transformOrigin="center bottom";break;case"zoomOutRight":case"rotateLeftSideFirst":case"rotatePushRight":case"rotatePullRight":case"rotateFoldLeft":case"rotateUnfoldLeft":case"rotateRoomLeftOut":case"rotateRoomRightIn":case"rotateCubeLeftOut":case"rotateCubeRightIn":a.transformOrigin="right center";break;case"rotateInUpRight":case"rotateInDownRight":case"rotateOutUpRight":case"rotateOutDownRight":a.transformOrigin="right bottom";break;default:delete a.transformOrigin;break}switch(i){case"jelly":case"bounce":case"flash":case"pulse":case"rubberBand":case"shakeX":case"shakeY":case"headShake":case"swing":case"tada":case"wobble":case"jello":case"heartBeat":case"bounceIn":case"fadeIn":case"fadeOut":case"flip":case"flipInX":case"flipInY":case"flipOutX":case"flipOutY":case"hinge":case"jackInTheBox":r.overflow="visible";break;default:r.overflow="hidden";break}switch(i){case"flip":case"flipInX":case"flipInY":case"flipOutX":case"flipOutY":a.backfaceVisibility="visible";break;default:delete a.backfaceVisibility;break}}const p=P(),b=w=>{r.perspective=n.perspective,w.eb.on("animationstart",$=>{s("cssanimationstart",$.animationName)}),w.eb.on("animationend",$=>{s("cssanimationend",$.animationName)})};function x(){p.value.style.animation="none",p.value.offsetHeight,p.value.style.animation=null}const k=()=>{a.animation="none"},g=()=>{x(),a.animation=`${l}ms ${c} ${u}ms ${f} ${d} ${n.fillMode} ${n.playState} ${i}`},m=w=>{w&&h(w),k(),d="normal",g()},y=w=>{w&&h(w),k(),d="reverse",g()},_=()=>{a.animation="none"};return Rt(()=>n.name,()=>{h(n.name)},{immediate:!0}),t({trigger:m,triggerReverse:y,clear:_}),(w,$)=>(I(),dt(ht,{class:"css-animation",type:n.containerType,supportCopyText:n.supportCopyText,effectTriggerTiming:n.effectTriggerTiming,style:N(r),onReady:b,onStart:k,onEnd:g},{default:W(()=>[v("div",{class:"css-animation-inner",ref_key:"animationRef",ref:p,style:N({position:"relative",display:"block",width:"100%",height:"100%",cursor:"pointer",transformStyle:"preserve-3d",...a})},[mt(w.$slots,"default")],4)]),_:3},8,["type","supportCopyText","effectTriggerTiming","style"]))}}),Tw="",$a=Y({customOptions:{Container:ht,CSSAnimation:es},inheritAttrs:!0,__name:"Page",props:{effect:{default:"moveFromLeft"},duration:{default:500},easeFunction:{type:Function,default:at.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["ready","pageOpenStart","pageOpenEnd","pageCloseStart","pageCloseEnd"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P(),a=Wt({}),i=()=>{s("ready",w,$)},l=()=>{b()},c=P();let u="rotateRightSideFirst",f=n.effect;function d(V,B){switch(f){case"static":B();break;default:V();break}}let h=!1;const p=new Ze,b=()=>{const V={},B={};p.clear(),p.frameDuration=n.duration,d(()=>{u=f},()=>{p.addTween(V,B,{delay:n.delay/n.duration,easeFunction:n.easeFunction,onStart:()=>{s(h?"pageCloseStart":"pageOpenStart")},onUpdate:M=>{a.transform="","x"in M&&(a.transform+=` translateX(${M.x}%)`),"y"in M&&(a.transform+=` translateY(${M.y}%)`),"rx"in M&&(a.transform+=` rotateX(${M.rx}deg)`),"ry"in M&&(a.transform+=` rotateY(${M.ry}deg)`),"scale"in M&&(a.transform+=` scale(${M.scale})`),"opacity"in M&&(a.opacity=`${M.opacity}`)},onComplete:()=>{s(h?"pageCloseEnd":"pageOpenEnd")}})})};Rt(()=>[n.effect,n.delay,n.duration,n.easeFunction],()=>{f=n.effect,b()},{immediate:!0});const x=()=>{s(h?"pageCloseStart":"pageOpenStart")},k=()=>{s(h?"pageCloseEnd":"pageOpenEnd")},g=()=>{d(()=>{c.value.trigger(u)},()=>{p.play()})},m=()=>{d(()=>{c.value.triggerReverse(u)},()=>{p.reverse()})},y=()=>{a.transform="none",a.opacity="1"};function _(){d(()=>{y()},()=>{c.value?.clear()})}const w=V=>{V&&(f=V,b()),h=!1,_(),g()},$=V=>{V&&(f=V,b()),h=!0,_(),m()};return t({open:w,close:$,clear:y}),(V,B)=>(I(),dt(ht,{class:"page",ref_key:"pageRef",ref:r,type:"full",effectTriggerTiming:"manual",style:{overflow:"hidden",width:"100%",height:"100%"},onReady:i,onUpdate:l},{default:W(()=>[Z(es,{ref_key:"cssAnimationRef",ref:c,containerType:"full",effectTriggerTiming:"manual",duration:n.duration,delay:n.delay,timingFunction:n.timingFunction,onCssanimationstart:x,onCssanimationend:k},{default:W(()=>[v("div",{class:"page-inner",style:N({position:"relative",display:"block",width:"100%",height:"100%",overflow:"scroll",backfaceVisibility:"hidden",transformStyle:"preserve-3d",...a})},[mt(V.$slots,"default")],4)]),_:3},8,["duration","delay","timingFunction"])]),_:3},512))}}),Qs=Y({customOptions:{Page:$a,Container:ht},inheritAttrs:!0,__name:"Routes",props:{effect:{default:"moveToLeft"},duration:{default:500},easeFunction:{type:Function,default:at.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["routeChangeStart","routeChangeEnd","renderComplete"],setup(o,{expose:t,emit:e}){const n=o,s=e;let r=-1,a=-1,i;const l=[];let c=[],u=[],f=[];function d(et){return et>=0&&et<c.length}function h(){return a>r}function p(et,A,re){switch(et){case r:return h()?A:re;case a:return h()?re:A;default:return"static"}}function b(et,A){switch(et){case"moveToLeft":return p(A,"moveToLeft","moveFromRight");case"moveToRight":return p(A,"moveToRight","moveFromLeft");case"moveToTop":return p(A,"moveToTop","moveFromBottom");case"moveToBottom":return p(A,"moveToBottom","moveFromTop");case"moveFromLeftPrevFade":return p(A,"fade","moveFromLeft");case"moveFromRightPrevFade":return p(A,"fade","moveFromRight");case"moveFromTopPrevFade":return p(A,"fade","moveFromTop");case"moveFromBottomPrevFade":return p(A,"fade","moveFromBottom");case"moveToLeftFade":return p(A,"moveToLeftFade","moveFromRightFade");case"moveToRightFade":return p(A,"moveToRightFade","moveFromLeftFade");case"moveToTopFade":return p(A,"moveToTopFade","moveFromBottomFade");case"moveToBottomFade":return p(A,"moveToBottomFade","moveFromTopFade");case"moveToLeftEasing":return p(A,"moveToLeft","moveFromRight");case"moveToRightEasing":return p(A,"moveToRight","moveFromLeft");case"moveToTopEasing":return p(A,"moveToTop","moveFromBottom");case"moveToBottomEasing":return p(A,"moveToBottom","moveFromTop");case"moveFromLeftPrevScaleToSmall":return p(A,"scaleToSmall","moveFromLeft");case"moveFromRightPrevScaleToSmall":return p(A,"scaleToSmall","moveFromRight");case"moveFromTopPrevScaleToSmall":return p(A,"scaleToSmall","moveFromTop");case"moveFromBottomPrevScaleToSmall":return p(A,"scaleToSmall","moveFromBottom");case"scaleSmall":return p(A,"scaleToSmall","scaleFromLarge");case"scaleLarge":return p(A,"scaleToLarge","scaleFromSmall");case"scaleToLargePrevScaleToSmall":return p(A,"scaleToSmallCenter","scaleFromSmallCenter");case"scaleFromSmallPrevMoveToLeft":return p(A,"moveToLeft","scaleFromSmall");case"scaleFromSmallPrevMoveToRight":return p(A,"moveToRight","scaleFromSmall");case"scaleFromSmallPrevMoveToTop":return p(A,"moveToTop","scaleFromSmall");case"scaleFromSmallPrevMoveToBottom":return p(A,"moveToBottom","scaleFromSmall");case"glueToLeft":return p(A,"rotateRightSideFirst","moveFromRight");case"glueToRight":return p(A,"rotateLeftSideFirst","moveFromLeft");case"glueToTop":return p(A,"rotateBottomSideFirst","moveFromBottom");case"glueToBottom":return p(A,"rotateTopSideFirst","moveFromTop");case"flipToLeft":return p(A,"flipOutLeft","flipInRight");case"flipToRight":return p(A,"flipOutRight","flipInLeft");case"flipToTop":return p(A,"flipOutTop","flipInBottom");case"flipToBottom":return p(A,"flipOutBottom","flipInTop");case"rotateFall":return p(A,"rotateFall","scaleFromSmall");case"newspaper":return p(A,"rotateOutNewspaper","rotateInNewspaper");case"moveFromLeftPrevPush":return p(A,"rotatePushRight","moveFromLeft");case"moveFromRightPrevPush":return p(A,"rotatePushLeft","moveFromRight");case"moveFromTopPrevPush":return p(A,"rotatePushBottom","moveFromTop");case"moveFromBottomPrevPush":return p(A,"rotatePushTop","moveFromBottom");case"pullFromLeftPrevPush":return p(A,"rotatePushRight","rotatePullLeft");case"pullFromRightPrevPush":return p(A,"rotatePushLeft","rotatePullRight");case"pullFromTopPrevPush":return p(A,"rotatePushBottom","rotatePullTop");case"pullFromBottomPrevPush":return p(A,"rotatePushTop","rotatePullBottom");case"moveFromLeftFadePrevFold":return p(A,"rotateFoldRight","moveFromLeftFade");case"moveFromRightFadePrevFold":return p(A,"rotateFoldLeft","moveFromRightFade");case"moveFromTopFadePrevFold":return p(A,"rotateFoldBottom","moveFromTopFade");case"moveFromBottomFadePrevFold":return p(A,"rotateFoldTop","moveFromBottomFade");case"moveToLeftFadePrevUnfold":return p(A,"moveToLeftFade","rotateUnfoldRight");case"moveToRightFadePrevUnfold":return p(A,"moveToRightFade","rotateUnfoldLeft");case"moveToTopFadePrevUnfold":return p(A,"moveToTopFade","rotateUnfoldBottom");case"moveToBottomFadePrevUnfold":return p(A,"moveToBottomFade","rotateUnfoldTop");case"rotateRoomLeftIn":return p(A,"rotateRoomLeftOut","rotateRoomLeftIn");case"rotateRoomRightIn":return p(A,"rotateRoomRightOut","rotateRoomRightIn");case"rotateRoomTopIn":return p(A,"rotateRoomTopOut","rotateRoomTopIn");case"rotateRoomBottomIn":return p(A,"rotateRoomBottomOut","rotateRoomBottomIn");case"rotateCubeLeftIn":return p(A,"rotateCubeLeftOut","rotateCubeLeftIn");case"rotateCubeRightIn":return p(A,"rotateCubeRightOut","rotateCubeRightIn");case"rotateCubeTopIn":return p(A,"rotateCubeTopOut","rotateCubeTopIn");case"rotateCubeBottomIn":return p(A,"rotateCubeBottomOut","rotateCubeBottomIn");case"rotateCarouselLeftIn":return p(A,"rotateCarouselLeftOut","rotateCarouselLeftIn");case"rotateCarouselRightIn":return p(A,"rotateCarouselRightOut","rotateCarouselRightIn");case"rotateCarouselTopIn":return p(A,"rotateCarouselTopOut","rotateCarouselTopIn");case"rotateCarouselBottomIn":return p(A,"rotateCarouselBottomOut","rotateCarouselBottomIn");case"rotateSidesIn":return p(A,"rotateSidesOut","rotateSidesIn");case"rotateSlideIn":return p(A,"rotateSlideOut","rotateSlideIn")}}function x(et,A=600,re=600){switch(et){case r:return A;case a:return re;default:return n.duration}}function k(et,A){switch(et){case"moveFromLeftFadePrevFold":case"moveFromRightFadePrevFold":case"moveFromTopFadePrevFold":case"moveFromBottomFadePrevFold":return x(A,700,700);case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":case"moveFromLeftPrevScaleToSmall":case"moveFromRightPrevScaleToSmall":case"moveFromTopPrevScaleToSmall":case"moveFromBottomPrevScaleToSmall":return x(A,700,600);case"scaleSmall":return x(A,700,500);case"scaleLarge":return x(A,500,700);case"scaleToLargePrevScaleToSmall":return x(A,400,400);case"scaleFromSmallPrevMoveToLeft":case"scaleFromSmallPrevMoveToRight":case"scaleFromSmallPrevMoveToTop":case"scaleFromSmallPrevMoveToBottom":return x(A,600,700);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":return x(A,800,600);default:return n.duration}}let g=n.timingFunction;function m(et){switch(et){default:return n.easeFunction}}function y(et,A){switch(et){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":switch(A){case r:g=h()?"ease-in-out":"ease";break;case a:default:g=h()?"ease":"ease-in-out"}return m(A);default:return g=n.timingFunction,n.easeFunction}}function _(et,A=300){switch(et){case a:return n.delay+A;default:return n.delay}}function w(et,A){switch(et){case"flipToLeft":case"flipToRight":case"flipToTop":case"flipToBottom":case"newspaper":return _(A,500);case"scaleSmall":case"scaleLarge":return _(A,300);case"scaleToLargePrevScaleToSmall":return _(A,400);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":case"rotateSidesIn":return _(A,200);case"pullFromLeftPrevPush":case"pullFromRightPrevPush":case"pullFromTopPrevPush":case"pullFromBottomPrevPush":return _(A,180);default:return n.delay}}let $=2,V=2;const B=()=>{$=2,V=2},M=()=>{$=2,V=3},ut=()=>{$=3,V=2};function G(et){switch(n.effect){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":ut();break;case"scaleFromSmallPrevMoveToLeft":case"scaleFromSmallPrevMoveToRight":case"scaleFromSmallPrevMoveToTop":case"scaleFromSmallPrevMoveToBottom":case"rotateFall":case"rotateRoomLeftIn":case"rotateRoomRightIn":case"rotateRoomTopIn":case"rotateRoomBottomIn":case"rotateCubeLeftIn":case"rotateCubeRightIn":case"rotateCubeTopIn":case"rotateCubeBottomIn":case"rotateCarouselLeftIn":case"rotateCarouselRightIn":case"rotateCarouselTopIn":case"rotateCarouselBottomIn":h()?ut():M();break;case"moveFromLeftPrevFade":case"moveFromRightPrevFade":case"moveFromTopPrevFade":case"moveFromBottomPrevFade":case"moveFromLeftPrevScaleToSmall":case"moveFromRightPrevScaleToSmall":case"moveFromTopPrevScaleToSmall":case"moveFromBottomPrevScaleToSmall":case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":h()?M():ut();break;default:B();break}d(r)&&r==et&&(f[r].style.zIndex=`${$}`,f[r].style.visibility="visible"),d(a)&&a==et&&(f[a].style.zIndex=`${V}`,f[a].style.visibility="visible")}function tt(et){M(),et==r&&(f[r].style.zIndex=`${$}`,f[r].style.visibility="hidden"),et==a&&(f[a].style.zIndex=`${V}`,f[a].style.visibility="visible",l.shift()?.(),s("routeChangeEnd",r,a,c.length),r=a)}const gt=P();function Ot(et=0,A=!1){if(!gt.value)return;let re=0;Xr(Xt("div",{class:"routes-pages",style:{display:"block",width:"100%",height:"100%",overflow:"hidden",position:"relative"}},c.map((Nt,F)=>{const ot=b(n.effect,F);return Xt("div",Object.assign({class:"routes-page",style:{display:"block",width:"100%",height:"100%",overflow:"hidden",position:"absolute",top:"0",left:"0",backfaceVisibility:"hidden",transform:"translate3d(0, 0, 0)",transformStyle:"preserve-3d",visibility:r==F?"visible":"hidden",zIndex:A?"1":"0"}},Nt.pageKey?{key:Nt.pageKey}:{}),Xt($a,{effect:ot,duration:k(n.effect,F),easeFunction:y(n.effect,F),timingFunction:g,delay:w(n.effect,F),onReady:(j,it)=>{u[F]={open:j,close:it},++re==et&&(i?.(),s("renderComplete"))},onPageOpenStart:()=>{G(F)},onPageOpenEnd:()=>{tt(F)},onPageCloseStart:()=>{G(F)},onPageCloseEnd:()=>{tt(F)}},{default:()=>Nt.component instanceof HTMLElement?Xt("div",{...Nt.attributes,innerHTML:Nt.component.innerHTML}):Xt(Nt.component,Nt.attributes,()=>Nt.child)}))})),gt.value),f=gt.value.children[0].children}Rt(()=>n.effect,()=>{Ot()});function $t(et=[]){c=[...et],c.forEach(A=>{A.pageKey=A.pageKey||Mn()}),i=()=>{r=-1,Yt(0)},Ot(c.length,!0)}function xt(et){et.pageKey=et.pageKey||Mn(),c.push(et),i=()=>{Yt(c.length-1)},Ot(1,c.length==1)}function kt(){c.length<=1||Yt(c.length-2,()=>{c.splice(c.length-1,1),r=c.length-1,Ot()})}function se(){Yt(r+1)}function me(){Yt(r-1)}const he=new jr(1);function Yt(et,A){he.addTask(()=>new Promise(re=>{const Nt=()=>{A?.(),re()};if(!d(et)){Nt();return}if(a=et,a==r){Nt();return}l.push(Nt),Ot(),s("routeChangeStart",r,a,c.length),h()?(d(r)&&u[r].open(),d(a)&&u[a].open()):(d(r)&&u[r].close(),d(a)&&u[a].close())}))}return t({reset:$t,push:xt,pop:kt,forward:se,back:me,goto:Yt,currentPageIndex:()=>r,totalPages:()=>c.length}),(et,A)=>(I(),D("div",{class:"routes",ref_key:"routesRef",ref:gt,style:{display:"block",position:"relative",width:"100%",height:"100%","overflow-x":"hidden","overflow-y":"hidden"}},null,512))}}),sn=Y({customOptions:{},inheritAttrs:!0,__name:"Overlay",props:{visible:{type:Boolean,default:!1},global:{type:Boolean,default:!0},color:{default:"rgba(0, 0, 0, 0.25)"}},setup(o,{expose:t}){const e=o,n=de(()=>({display:e.visible?"block":"none",overflow:"hidden","background-color":e.color,position:"fixed","z-index":"99999",width:"100%",height:"100%",inset:"0"})),s=P(),r=Fd(document.documentElement,"overflow")||"visible";let a="";return Rt(()=>e.visible,()=>{e.global?Bs(document.documentElement,"overflow",e.visible?"hidden":r):(a||(a=Fd(s.value.parentElement,"overflow")||"visible"),Bs(s.value.parentElement,"overflow",e.visible?"hidden":a))},{immediate:!0}),t({}),(i,l)=>(I(),D("div",{ref_key:"el",ref:s,class:"overlay",style:N(n.value)},[mt(i.$slots,"default")],4))}}),ce=Y({customOptions:{Overlay:sn,Container:ht},inheritAttrs:!0,__name:"Pop",props:{closeWhenClickOverlay:{type:Boolean,default:!0},directionFrom:{default:"bottom"},absoluteLeft:{default:"0px"},absoluteTop:{default:"0px"},absoluteWidth:{default:"100%"},absoluteHeight:{default:"100%"},dur:{default:200},global:{type:Boolean,default:!0},overlayBgColor:{},popValue:{}},emits:["open","close","resize","clickOverlay"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=new Ze({frameDuration:n.dur}),a=Wt({position:"absolute",opacity:"1",transformOrigin:"center",willChange:"transform"}),i=P(!1),l=P("full");Rt(()=>[n.directionFrom,n.popValue],()=>{r.clear();const b=!n.popValue,x=n.popValue?n.popValue:100,k=n.popValue?"px":"%";switch(n.directionFrom){case"left":a.height="100%",b?delete a.width:a.width=`${x}${k}`,a.top="0",a.bottom="0",delete a.right,r.addTween({left:x},{left:0},{easeFunction:at.Quadratic.Out,onUpdate(g){a.left=`-${g.left}${k}`},onComplete:f});break;case"right":a.height="100%",b?delete a.width:a.width=`${x}${k}`,a.top="0",a.bottom="0",delete a.left,r.addTween({right:x},{right:0},{easeFunction:at.Quadratic.Out,onUpdate(g){a.right=`-${g.right}${k}`},onComplete:f});break;case"top":a.width="100%",b?delete a.height:a.height=`${x}${k}`,a.left="0",a.right="0",delete a.bottom,r.addTween({top:x},{top:0},{easeFunction:at.Quadratic.Out,onUpdate(g){a.top=`-${g.top}${k}`},onComplete:f});break;case"bottom":a.width="100%",b?delete a.height:a.height=`${x}${k}`,a.left="0",a.right="0",delete a.top,r.addTween({bottom:x},{bottom:0},{easeFunction:at.Quadratic.Out,onUpdate(g){a.bottom=`-${g.bottom}${k}`},onComplete:f});break;case"center":delete a.width,delete a.height,a.left="50%",delete a.right,a.top="50%",delete a.bottom,r.addTween({scale:.8,opacity:0},{scale:1,opacity:1},{easeFunction:at.Quadratic.Out,onUpdate(g){a.transform=`translate(-50%, -50%) scale(${g.scale})`,a.opacity=`${g.opacity}`},onComplete:f});break;case"absolute":a.width=n.absoluteWidth,a.height=n.absoluteHeight,a.left=n.absoluteLeft,a.top=n.absoluteTop,delete a.right,delete a.bottom;break}switch(n.directionFrom){case"center":l.value="shrink",a.transform="translate(-50%, -50%)";break;case"absolute":l.value="shrink",delete a.transform,delete a.opacity;break;default:l.value="full",delete a.transform,delete a.opacity;break}b&&(l.value="shrink")},{immediate:!0}),Rt(()=>n.absoluteLeft,()=>{switch(n.directionFrom){case"absolute":a.left=n.absoluteLeft;break}}),Rt(()=>n.absoluteTop,()=>{switch(n.directionFrom){case"absolute":a.top=n.absoluteTop;break}}),Rt(()=>n.absoluteWidth,()=>{switch(n.directionFrom){case"absolute":a.width=n.absoluteWidth;break}}),Rt(()=>n.absoluteHeight,()=>{switch(n.directionFrom){case"absolute":a.height=n.absoluteHeight;break}});const c=b=>{s("resize",b.rect)};let u="open";function f(){u=="open"?s("open"):(i.value=!1,s("close"))}function d(){i.value=!0,u="open",r.play()}function h(){switch(u="close",n.directionFrom){case"absolute":f();break;default:r.reverse();break}}function p(b){const x=n.directionFrom=="absolute"&&n.absoluteWidth=="100%"&&n.absoluteHeight=="100%"?"pop-content":"pop";b.target&&ga(b.target,x)&&(n.closeWhenClickOverlay&&h(),s("clickOverlay"))}return t({open:d,close:h}),(b,x)=>(I(),dt(sn,{visible:i.value,global:n.global,color:n.overlayBgColor},{default:W(()=>[v("div",{class:"pop",style:{display:"block",position:"relative",width:"100%",height:"100%"},onClick:p},[Z(ht,{class:"pop-content",type:l.value,style:N(a),onReady:c,onUpdate:c},{default:W(()=>[mt(b.$slots,"default",{},()=>[x[0]||(x[0]=v("div",null,null,-1))])]),_:3},8,["type","style"])])]),_:3},8,["visible","global","color"]))}}),Ix=["src"],Ax=Y({name:"Image",customOptions:{Container:ht,Pop:ce},inheritAttrs:!0,__name:"Image",props:{src:{},mode:{default:"scaleToFill"},dur:{default:300},bgColor:{default:"transparent"},openImageDetailWhenClick:{type:Boolean,default:!0}},emits:["settled"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=new Ze({frameDuration:n.dur}),a=P(0),i=P(0),l=P(0),c=P(0),u=P(0),f=P(0),d=P(0),h=P(0),p=P(!0),b=P(0),x=P(0);oh(n.src).then(tt=>{b.value=tt.width,x.value=tt.height,w()}).catch(()=>{p.value=!1});const k=P(0),g=P(0),m=tt=>{k.value=tt.rect.width,g.value=tt.rect.height,w()},y=P(0),_=P(0);function w(){if(!k.value||!g.value||!b.value||!x.value)return;const tt=ma(n.mode,b.value,x.value,k.value,g.value);y.value=tt.width,_.value=tt.height;const{width:gt,height:Ot}=Vs(),$t=ma("aspectFit",b.value,x.value,gt,Ot);d.value=$t.width,h.value=$t.height,u.value=(gt-d.value)/2,f.value=(Ot-h.value)/2}const $=tt=>{s("settled",tt.rect.x,tt.rect.y,tt.rect.width,tt.rect.height)};let V=!1;const B=P(),M=P();async function ut(){if(!n.openImageDetailWhenClick)return;const tt=await B.value.getRect();r.clear(),r.addTween({left:tt.x,top:tt.y,width:tt.width,height:tt.height},{left:u.value,top:f.value,width:d.value,height:h.value},{easeFunction:at.Quadratic.Out,onUpdate(gt){a.value=gt.left,i.value=gt.top,l.value=gt.width,c.value=gt.height},onComplete(){V&&M.value.close(),V=!V}}),V||(M.value.open(),r.play())}function G(){V&&r.reverse()}return t({}),(tt,gt)=>(I(),dt(ht,{class:"image",type:"full",style:N({backgroundColor:n.bgColor}),onReady:m,onUpdate:m,onClick:ut},{default:W(()=>[p.value?(I(),dt(ht,{key:0,class:"image-inner",ref_key:"imageRef",ref:B,type:"shrink",style:N({width:y.value+"px",height:_.value+"px",backgroundImage:`url(${n.src})`,backgroundSize:`${y.value}px ${_.value}px`}),onReady:$,onUpdate:$},null,8,["style"])):yt("",!0),p.value?yt("",!0):(I(),dt(ht,{key:1,type:"shrink"},{default:W(()=>[v("img",{src:n.src,style:{display:"block",objectFit:"contain"}},null,8,Ix)]),_:1})),Z(ce,{ref_key:"popRef",ref:M,"direction-from":"absolute","absolute-left":`${a.value}px`,"absolute-top":`${i.value}px`,"absolute-width":`${l.value}px`,"absolute-height":`${c.value}px`,"close-when-click-overlay":!1,onClickOverlay:G},{default:W(()=>[v("div",{class:"image-pop",style:N({width:"100%",height:"100%",backgroundImage:`url(${n.src})`,backgroundSize:"100% 100%"})},null,4)]),_:1},8,["absolute-left","absolute-top","absolute-width","absolute-height"])]),_:1},8,["style"]))}}),Ew="",Na=st(Ax,[["__scopeId","data-v-67c2d0de"]]),$x={key:0,style:{position:"absolute",top:"30px",left:"50%",transform:"translate(-50%, 0)",color:"#ffffff","font-size":"1em","z-index":"98"}},Fa=Y({customOptions:{Image:Na,Container:ht,Routes:Qs},inheritAttrs:!0,__name:"ImageView",props:{urls:{default:()=>[]},effect:{default:"moveToLeftFade"}},setup(o,{expose:t,emit:e}){const n=o,s=P(0);function r(d,h){s.value=h}const a=P(),i=d=>{d.eb.on("panLeft",()=>{a.value?.forward()}),d.eb.on("panRight",()=>{a.value?.back()}),a.value.reset(n.urls.map(h=>({component:Xt(Na,{mode:"aspectFit",src:h,openImageDetailWhenClick:!1})})))},l=P();function c(){l.value?.open()}function u(){l.value?.close()}const f=d=>{d.target&&ga(d.target,"image")&&u()};return t({open:c,close:u}),(d,h)=>(I(),dt(ce,{ref_key:"popRef",ref:l,directionFrom:"absolute",onClick:f},{default:W(()=>[n.urls.length>1?(I(),D("div",$x,ft(s.value+1)+" / "+ft(n.urls.length),1)):yt("",!0),Z(ht,{style:{position:"absolute",top:"50%",transform:"translate(0, -50%)",width:"100%",height:"100%","z-index":"97"},onReady:i},{default:W(()=>[Z(Qs,{ref_key:"routesRef",ref:a,effect:n.effect,onRouteChangeEnd:r},null,8,["effect"])]),_:1})]),_:1},512))}}),Nx={class:"pop-tel"},Fx=["href"],zx=Y({customOptions:{Pop:ce},inheritAttrs:!0,__name:"PopTel",props:{tel:{}},setup(o,{expose:t,emit:e}){const n=P();function s(){n.value?.open()}function r(){n.value?.close()}return t({open:s,close:r}),(a,i)=>(I(),dt(ce,{directionFrom:"bottom",closeWhenClickOverlay:!1,ref_key:"el",ref:n},{default:W(()=>[v("div",Nx,[v("div",null,ft(a.tel),1),v("a",{class:"pop-tel-call",onClick:r,href:`tel:${a.tel}`}," 呼叫 ",8,Fx),v("div",{class:"pop-tel-cancel",onClick:r}," 取消 ")])]),_:1},512))}}),Sw="",za=st(zx,[["__scopeId","data-v-c1425500"]]),Dx={class:"lot-main"},Mx={class:"lot-detail"},Lx={class:"bold"},Bx=Y({customOptions:{LayoutPage:eo,Footer:Ia,PlateDisplay:Aa,ViewDocument:Ql,PopTel:za,ImageView:Fa},inheritAttrs:!0,__name:"Lot",setup(o){const t=wa();function e(){t.push({name:"view-document",params:{title:"收费标准",src:encodeURIComponent("https://erichd2.oss-cn-shanghai.aliyuncs.com/0000/0002/2159")}})}const n=P();function s(){n.value?.open()}const r=P();function a(){r.value?.open()}return(i,l)=>(I(),dt(eo,{class:"lot"},{footer:W(()=>[Z(Ia)]),global:W(()=>[Z(za,{tel:"15851575410",ref_key:"popTelEl",ref:n},null,512),Z(Fa,{urls:["https://erichd2.oss-cn-shanghai.aliyuncs.com/0000/0002/2159","https://erichd2.oss-cn-shanghai.aliyuncs.com/0000/0002/2159"],ref_key:"imageViewEl",ref:r},null,512)]),default:W(()=>[l[15]||(l[15]=v("div",{class:"lot-main-bg"},null,-1)),v("div",Dx,[l[12]||(l[12]=v("div",null,"若临测试泊位机器人停车场",-1)),l[13]||(l[13]=v("div",null,[v("div"),v("div",null,"编号"),v("div")],-1)),l[14]||(l[14]=v("div",null,[v("span",null,"103"),v("span",null,"002")],-1)),v("div",null,[l[0]||(l[0]=v("div",null,"停车场主页",-1)),l[1]||(l[1]=v("div",null,"更换附近车位",-1)),v("div",{onClick:e},"收费标准")]),v("div",Mx,[l[4]||(l[4]=v("div",null,[v("div",null,"待支付"),v("div",{class:"red"},"¥0.01")],-1)),l[5]||(l[5]=v("div",null,[v("div",null,"已支付"),v("div",null,"¥0.01")],-1)),l[6]||(l[6]=v("div",null,[v("div",null,"订单编号"),v("div",null,"33333333333")],-1)),l[7]||(l[7]=v("div",null,[v("div",null,"开始时间"),v("div",null,"2025-04-08 09:41:25")],-1)),l[8]||(l[8]=v("div",null,[v("div",null,"停车时长"),v("div",null,"51小时53分钟15秒")],-1)),l[9]||(l[9]=v("div",null,[v("div",null,"优惠券"),v("div",{class:"red"},"1分钟")],-1)),l[10]||(l[10]=v("div",null,[v("div",null,"优惠信息"),v("div",{class:"red"},"xxxx")],-1)),l[11]||(l[11]=v("div",{class:"lot-detail-gap"},null,-1)),v("div",null,[l[2]||(l[2]=v("div",null,"车牌号",-1)),v("div",Lx,[Z(Aa,{plate:"苏U77777","plate-type":"b"})])]),v("div",null,[l[3]||(l[3]=v("div",null,"现场照片",-1)),v("div",{onClick:a},"查看")])]),v("div",{class:"lot-actions"},[v("div",{onClick:s},"联系客服")])])]),_:1}))}}),Ow="",yp=st(Bx,[["__scopeId","data-v-feee85ac"]]),Vx=Y({customOptions:{LayoutPage:eo},inheritAttrs:!0,__name:"Park",setup(o){return(t,e)=>(I(),dt(eo,{class:"park"},{default:W(()=>e[0]||(e[0]=[Bt("Park")])),_:1}))}}),Pw="",vp=st(Vx,[["__scopeId","data-v-9704593b"]]),bp=d_({history:Cb("/"),routes:[{path:"/view-document/:title/:src",name:"view-document",component:Ql},{path:"/",name:"xg",redirect:"/lot"},{path:"/lot",name:"lot",component:yp},{path:"/park",name:"park",component:vp}],scrollBehavior:(o,t,e)=>e||{left:0,top:0}}),Yx=bp,Da=P("next"),Ma=[];bp.beforeEach((o,t,e)=>{const n=Ma.length,s=Ma.findIndex(r=>r==o.name);n>1&&s>=0&&s<n-1?(Da.value="prev",Ma.splice(s+1)):(Da.value="next",Ma.push(o.name)),e()});const Xx=Y({customOptions:{},inheritAttrs:!0,__name:"Container.ce",props:{type:{default:"block"},effectTriggerTiming:{default:"manual"},supportCopyText:{type:Boolean,default:!1}},emits:["ready","update","clipboard_success","clipboard_error","start","end"],setup(o,{expose:t,emit:e}){const n=o,s=e;let r="start";const a=()=>{r="start",s("start")},i=()=>{r="end",s("end")},l=()=>{r=="start"?i():a()},c=P();let u,f,d=!1;return Dn(()=>{c.value&&(u||(u=la(c.value),u.eb.on("resize",()=>{d&&s("update",u)}),u.eb.on("mouseEnter",()=>{n.effectTriggerTiming=="mouseMove"&&l()}),u.eb.on("mouseLeave",()=>{n.effectTriggerTiming=="mouseMove"&&l()}),u.eb.on("tap",()=>{if(n.effectTriggerTiming=="click"&&l(),n.supportCopyText){const h=ya(c.value).getInnerText();Dl(h).then(()=>{s("clipboard_success",h)}).catch(p=>{s("clipboard_error",p.toString())})}}),n.effectTriggerTiming!=="manual"&&a(),n.effectTriggerTiming=="immediate"&&l(),u.start().then(()=>{f?.(u),s("ready",u),d=!0})))}),pe(()=>{}),ue(()=>{u?.end()}),t({getController:()=>new Promise(h=>{if(u)return h(u);f=h}),getElement:()=>c.value,getRect:()=>c.value.getBoundingClientRect()}),(h,p)=>(I(),D("div",Gi({ref_key:"r",ref:c,class:"container",style:{position:"relative",boxSizing:"border-box",display:n.type=="shrink"?"inline-block":"block",width:n.type=="full"?"100%":"auto",height:n.type=="full"?"100%":"auto"}},h.$attrs),[mt(h.$slots,"default")],16))}}),_p=st(Y({customOptions:{Container:ht},inheritAttrs:!0,__name:"CSSTransition.ce",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!1},effectTriggerTiming:{default:"immediate"},name:{default:"superRainbow"},duration:{default:300},timingFunction:{default:"ease-out"},delay:{default:0}},emits:["csstransitionstart","csstransitionend"],setup(o,{expose:t,emit:e}){const n=o,s=e;let r=n.duration,a=n.timingFunction,i=n.delay;const l=Wt({}),c=Wt({}),u=h=>{h.eb.on("transitionstart",p=>{s("csstransitionstart",p)}),h.eb.on("transitionend",p=>{s("csstransitionend",p)})},f=()=>{c.transition="none"},d=()=>{c.transition=`all ${r}ms ${a} ${i}ms`};return Rt(()=>n.name,()=>{switch(n.name){default:delete c.transformOrigin;break}switch(n.name){default:l.overflow="hidden";break}switch(n.name){default:delete c.backfaceVisibility;break}f(),d()},{immediate:!0}),t({}),(h,p)=>(I(),dt(ht,{class:"css-transition",type:n.containerType,supportCopyText:n.supportCopyText,effectTriggerTiming:n.effectTriggerTiming,onReady:u,onStart:f,onEnd:d,style:N(l)},{default:W(()=>[v("div",{class:Gt(["css-transition-inner",n.name]),style:N({position:"relative",display:"block",width:"100%",height:"100%",cursor:"pointer",...c})},[mt(h.$slots,"default")],6)]),_:3},8,["type","supportCopyText","effectTriggerTiming","style"]))}}),[["styles",[`@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotate-reverse{0%{transform:rotate(360deg)}to{transform:rotate(0)}}@keyframes jelly{0%,to{transform:scale(1)}25%{transform:scale(.9,1.1)}50%{transform:scale(1.1,.9)}75%{transform:scale(.95,1.05)}}@keyframes bounce{0%,20%,53%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0)}40%,43%{animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{transition-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0) scaleY(.95)}90%{transform:translate3d(0,-4px,0) scaleY(1.02)}}@keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}@keyframes pulse{0%{transform:scaleZ(1)}50%{transform:scale3d(1.05,1.05,1.05)}to{transform:scaleZ(1)}}@keyframes rubberBand{0%{transform:scaleZ(1)}30%{transform:scale3d(1.25,.75,1)}40%{transform:scale3d(.75,1.25,1)}50%{transform:scale3d(1.15,.85,1)}65%{transform:scale3d(.95,1.05,1)}75%{transform:scale3d(1.05,.95,1)}to{transform:scaleZ(1)}}@keyframes shakeX{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}@keyframes shakeY{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(0,-10px,0)}20%,40%,60%,80%{transform:translate3d(0,10px,0)}}@keyframes headShake{0%{transform:translate(0)}6.5%{transform:translate(-6px) rotateY(-9deg)}18.5%{transform:translate(5px) rotateY(7deg)}31.5%{transform:translate(-3px) rotateY(-5deg)}43.5%{transform:translate(2px) rotateY(3deg)}50%{transform:translate(0)}}@keyframes swing{20%{transform:rotate3d(0,0,1,15deg)}40%{transform:rotate3d(0,0,1,-10deg)}60%{transform:rotate3d(0,0,1,5deg)}80%{transform:rotate3d(0,0,1,-5deg)}to{transform:rotate3d(0,0,1,0)}}@keyframes tada{0%{transform:scaleZ(1)}10%,20%{transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{transform:scaleZ(1)}}@keyframes wobble{0%{transform:translateZ(0)}15%{transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{transform:translateZ(0)}}@keyframes jello{0%,11.1%,to{transform:translateZ(0)}22.2%{transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{transform:skew(6.25deg) skewY(6.25deg)}44.4%{transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{transform:skew(.390625deg) skewY(.390625deg)}88.8%{transform:skew(-.1953125deg) skewY(-.1953125deg)}}@keyframes heartBeat{0%{transform:scale(1)}14%{transform:scale(1.3)}28%{transform:scale(1)}42%{transform:scale(1.3)}70%{transform:scale(1)}}@keyframes backInLeft{0%{transform:translate(-2000px) scale(.7);opacity:.7}80%{transform:translate(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInRight{0%{transform:translate(2000px) scale(.7);opacity:.7}80%{transform:translate(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInUp{0%{transform:translateY(1200px) scale(.7);opacity:.7}80%{transform:translateY(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInDown{0%{transform:translateY(-1200px) scale(.7);opacity:.7}80%{transform:translateY(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backOutLeft{0%{transform:scale(1);opacity:1}20%{transform:translate(0) scale(.7);opacity:.7}to{transform:translate(-2000px) scale(.7);opacity:.7}}@keyframes backOutRight{0%{transform:scale(1);opacity:1}20%{transform:translate(0) scale(.7);opacity:.7}to{transform:translate(2000px) scale(.7);opacity:.7}}@keyframes backOutUp{0%{transform:scale(1);opacity:1}20%{transform:translateY(0) scale(.7);opacity:.7}to{transform:translateY(-700px) scale(.7);opacity:.7}}@keyframes backOutDown{0%{transform:scale(1);opacity:1}20%{transform:translateY(0) scale(.7);opacity:.7}to{transform:translateY(700px) scale(.7);opacity:.7}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:scale3d(.3,.3,.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(.9,.9,.9)}60%{opacity:1;transform:scale3d(1.03,1.03,1.03)}80%{transform:scale3d(.97,.97,.97)}to{opacity:1;transform:scaleZ(1)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;transform:translate3d(25px,0,0) scaleX(1)}75%{transform:translate3d(-10px,0,0) scaleX(.98)}90%{transform:translate3d(5px,0,0) scaleX(.995)}to{transform:translateZ(0)}}@keyframes bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;transform:translate3d(-25px,0,0) scaleX(1)}75%{transform:translate3d(10px,0,0) scaleX(.98)}90%{transform:translate3d(-5px,0,0) scaleX(.995)}to{transform:translateZ(0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;transform:translate3d(0,-20px,0) scaleY(.9)}75%{transform:translate3d(0,10px,0) scaleY(.95)}90%{transform:translate3d(0,-5px,0) scaleY(.985)}to{transform:translateZ(0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;transform:translate3d(0,25px,0) scaleY(.9)}75%{transform:translate3d(0,-10px,0) scaleY(.95)}90%{transform:translate3d(0,5px,0) scaleY(.985)}to{transform:translateZ(0)}}@keyframes bounceOut{20%{transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(.3,.3,.3)}}@keyframes bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0) scaleX(.9)}to{opacity:0;transform:translate3d(-2000px,0,0) scaleX(2)}}@keyframes bounceOutRight{20%{opacity:1;transform:translate3d(-20px,0,0) scaleX(.9)}to{opacity:0;transform:translate3d(2000px,0,0) scaleX(2)}}@keyframes bounceOutUp{20%{transform:translate3d(0,-10px,0) scaleY(.985)}40%,45%{opacity:1;transform:translate3d(0,20px,0) scaleY(.9)}to{opacity:0;transform:translate3d(0,-2000px,0) scaleY(3)}}@keyframes bounceOutDown{20%{transform:translate3d(0,10px,0) scaleY(.985)}40%,45%{opacity:1;transform:translate3d(0,-20px,0) scaleY(.9)}to{opacity:0;transform:translate3d(0,2000px,0) scaleY(3)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeInLeft{0%{opacity:0;transform:translate3d(-100%,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInLeftBig{0%{opacity:0;transform:translate3d(-2000px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInRight{0%{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInRightBig{0%{opacity:0;transform:translate3d(2000px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInUp{0%{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInUpBig{0%{opacity:0;transform:translate3d(0,2000px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInDown{0%{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInDownBig{0%{opacity:0;transform:translate3d(0,-2000px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInTopLeft{0%{opacity:0;transform:translate3d(-100%,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInTopRight{0%{opacity:0;transform:translate3d(100%,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInBottomLeft{0%{opacity:0;transform:translate3d(-100%,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInBottomRight{0%{opacity:0;transform:translate3d(100%,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}@keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes fadeOutRight{0%{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}@keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;transform:translate3d(2000px,0,0)}}@keyframes fadeOutUp{0%{opacity:1}to{opacity:0;transform:translate3d(0,-100%,0)}}@keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes fadeOutDown{0%{opacity:1}to{opacity:0;transform:translate3d(0,100%,0)}}@keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;transform:translate3d(0,2000px,0)}}@keyframes fadeOutTopLeft{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(-100%,-100%,0)}}@keyframes fadeOutTopRight{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(100%,-100%,0)}}@keyframes fadeOutBottomRight{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(100%,100%,0)}}@keyframes fadeOutBottomLeft{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(-100%,100%,0)}}@keyframes flip{0%{transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(-360deg);animation-timing-function:ease-out}40%{transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-190deg);animation-timing-function:ease-out}50%{transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-170deg);animation-timing-function:ease-in}80%{transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);animation-timing-function:ease-in}to{transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(0);animation-timing-function:ease-in}}@keyframes flipInX{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes flipInY{0%{transform:perspective(400px) rotateY(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateY(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateY(10deg);opacity:1}80%{transform:perspective(400px) rotateY(-5deg)}to{transform:perspective(400px)}}@keyframes flipOutX{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateX(-20deg);opacity:1}to{transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes flipOutY{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateY(-15deg);opacity:1}to{transform:perspective(400px) rotateY(90deg);opacity:0}}@keyframes flipOutRight{to{transform:translateZ(-1000px) rotateY(90deg);opacity:.2}}@keyframes flipInLeft{0%{transform:translateZ(-1000px) rotateY(-90deg);opacity:.2}}@keyframes flipOutLeft{to{transform:translateZ(-1000px) rotateY(-90deg);opacity:.2}}@keyframes flipInRight{0%{transform:translateZ(-1000px) rotateY(90deg);opacity:.2}}@keyframes flipOutTop{to{transform:translateZ(-1000px) rotateX(90deg);opacity:.2}}@keyframes flipInBottom{0%{transform:translateZ(-1000px) rotateX(-90deg);opacity:.2}}@keyframes flipOutBottom{to{transform:translateZ(-1000px) rotateX(-90deg);opacity:.2}}@keyframes flipInTop{0%{transform:translateZ(-1000px) rotateX(90deg);opacity:.2}}@keyframes lightSpeedInLeft{0%{transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{transform:skew(-20deg);opacity:1}80%{transform:skew(5deg)}to{transform:translateZ(0)}}@keyframes lightSpeedInRight{0%{transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{transform:skew(20deg);opacity:1}80%{transform:skew(-5deg)}to{transform:translateZ(0)}}@keyframes lightSpeedOutLeft{0%{opacity:1}to{transform:translate3d(-100%,0,0) skew(-30deg);opacity:0}}@keyframes lightSpeedOutRight{0%{opacity:1}to{transform:translate3d(100%,0,0) skew(30deg);opacity:0}}@keyframes rotateIn{0%{transform:rotate3d(0,0,1,-200deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInUpLeft{0%{transform:rotate3d(0,0,1,45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInUpRight{0%{transform:rotate3d(0,0,1,-90deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInDownLeft{0%{transform:rotate3d(0,0,1,-45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInDownRight{0%{transform:rotate3d(0,0,1,45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateOut{0%{opacity:1}to{transform:rotate3d(0,0,1,200deg);opacity:0}}@keyframes rotateOutUpLeft{0%{opacity:1}to{transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutUpRight{0%{opacity:1}to{transform:rotate3d(0,0,1,90deg);opacity:0}}@keyframes rotateOutDownLeft{0%{opacity:1}to{transform:rotate3d(0,0,1,45deg);opacity:0}}@keyframes rotateOutDownRight{0%{opacity:1}to{transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes hinge{0%{animation-timing-function:ease-in-out}20%,60%{transform:rotate3d(0,0,1,80deg);animation-timing-function:ease-in-out}40%,80%{transform:rotate3d(0,0,1,60deg);animation-timing-function:ease-in-out;opacity:1}to{transform:translate3d(0,700px,0);opacity:0}}@keyframes rotateFall{0%{transform:rotate(0)}20%{transform:rotate(10deg);animation-timing-function:ease-out}40%{transform:rotate(17deg)}60%{transform:rotate(16deg)}to{transform:translateY(100%) rotate(17deg)}}@keyframes rotateOutNewspaper{to{transform:translateZ(-3000px) rotate(360deg);opacity:0}}@keyframes rotateInNewspaper{0%{transform:translateZ(-3000px) rotate(-360deg);opacity:0}}@keyframes jackInTheBox{0%{opacity:0;transform:scale(.1) rotate(30deg);transform-origin:center bottom}50%{transform:rotate(-10deg)}70%{transform:rotate(3deg)}to{opacity:1;transform:scale(1)}}@keyframes rollIn{0%{opacity:0;transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;transform:translateZ(0)}}@keyframes rollOut{0%{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}@keyframes zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomInLeft{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInRight{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInUp{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInDown{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes zoomOutLeft{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;transform:scale(.1) translate3d(-2000px,0,0)}}@keyframes zoomOutRight{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;transform:scale(.1) translate3d(2000px,0,0)}}@keyframes zoomOutUp{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutDown{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes slideInLeft{0%{transform:translate3d(-100%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInRight{0%{transform:translate3d(100%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInUp{0%{transform:translate3d(0,100%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInDown{0%{transform:translate3d(0,-100%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideOutLeft{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(-100%,0,0)}}@keyframes slideOutRight{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(100%,0,0)}}@keyframes slideOutUp{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,-100%,0)}}@keyframes slideOutDown{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,100%,0)}}@keyframes rotateRightSideFirst{40%{transform:rotateY(15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateLeftSideFirst{40%{transform:rotateY(-15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateTopSideFirst{40%{transform:rotateX(15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateBottomSideFirst{40%{transform:rotateX(-15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotatePushLeft{to{opacity:0;transform:rotateY(90deg)}}@keyframes rotatePushRight{to{opacity:0;transform:rotateY(-90deg)}}@keyframes rotatePushTop{to{opacity:0;transform:rotateX(-90deg)}}@keyframes rotatePushBottom{to{opacity:0;transform:rotateX(90deg)}}@keyframes rotatePullRight{0%{opacity:0;transform:rotateY(-90deg)}}@keyframes rotatePullLeft{0%{opacity:0;transform:rotateY(90deg)}}@keyframes rotatePullTop{0%{opacity:0;transform:rotateX(-90deg)}}@keyframes rotatePullBottom{0%{opacity:0;transform:rotateX(90deg)}}@keyframes rotateFoldRight{to{opacity:0;transform:translate(100%) rotateY(90deg)}}@keyframes rotateFoldLeft{to{opacity:0;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateFoldTop{to{opacity:0;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateFoldBottom{to{opacity:0;transform:translateY(100%) rotateX(-90deg)}}@keyframes rotateUnfoldLeft{0%{opacity:0;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateUnfoldRight{0%{opacity:0;transform:translate(100%) rotateY(90deg)}}@keyframes rotateUnfoldTop{0%{opacity:0;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateUnfoldBottom{0%{opacity:0;transform:translateY(100%) rotateX(-90deg)}}@keyframes moveToLeft{to{transform:translate(-100%)}}@keyframes moveFromLeft{0%{transform:translate(-100%)}}@keyframes moveToRight{to{transform:translate(100%)}}@keyframes moveFromRight{0%{transform:translate(100%)}}@keyframes moveToTop{to{transform:translateY(-100%)}}@keyframes moveFromTop{0%{transform:translateY(-100%)}}@keyframes moveToBottom{to{transform:translateY(100%)}}@keyframes moveFromBottom{0%{transform:translateY(100%)}}@keyframes fade{to{opacity:.3}}@keyframes moveToLeftFade{to{opacity:.3;transform:translate(-100%)}}@keyframes moveFromLeftFade{0%{opacity:.3;transform:translate(-100%)}}@keyframes moveToRightFade{to{opacity:.3;transform:translate(100%)}}@keyframes moveFromRightFade{0%{opacity:.3;transform:translate(100%)}}@keyframes moveToTopFade{to{opacity:.3;transform:translateY(-100%)}}@keyframes moveFromTopFade{0%{opacity:.3;transform:translateY(-100%)}}@keyframes moveToBottomFade{to{opacity:.3;transform:translateY(100%)}}@keyframes moveFromBottomFade{0%{opacity:.3;transform:translateY(100%)}}@keyframes scaleToSmall{to{opacity:0;transform:scale(.8)}}@keyframes scaleFromSmall{0%{opacity:0;transform:scale(.8)}}@keyframes scaleFromLarge{0%{opacity:0;transform:scale(1.2)}}@keyframes scaleToLarge{to{opacity:0;transform:scale(1.2)}}@keyframes scaleToSmallCenter{to{opacity:0;transform:scale(.7)}}@keyframes scaleFromSmallCenter{0%{opacity:0;transform:scale(.7)}}@keyframes rotateRoomLeftOut{to{opacity:.3;transform:translate(-100%) rotateY(90deg)}}@keyframes rotateRoomLeftIn{0%{opacity:.3;transform:translate(100%) rotateY(-90deg)}}@keyframes rotateRoomRightOut{to{opacity:.3;transform:translate(100%) rotateY(-90deg)}}@keyframes rotateRoomRightIn{0%{opacity:.3;transform:translate(-100%) rotateY(90deg)}}@keyframes rotateRoomTopOut{to{opacity:.3;transform:translateY(-100%) rotateX(-90deg)}}@keyframes rotateRoomTopIn{0%{opacity:.3;transform:translateY(100%) rotateX(90deg)}}@keyframes rotateRoomBottomOut{to{opacity:.3;transform:translateY(100%) rotateX(90deg)}}@keyframes rotateRoomBottomIn{0%{opacity:.3;transform:translateY(-100%) rotateX(-90deg)}}@keyframes rotateCubeLeftOut{50%{animation-timing-function:ease-out;transform:translate(-50%) translateZ(-200px) rotateY(-45deg)}to{opacity:.3;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateCubeLeftIn{0%{opacity:.3;transform:translate(100%) rotateY(90deg)}50%{animation-timing-function:ease-out;transform:translate(50%) translateZ(-200px) rotateY(45deg)}}@keyframes rotateCubeRightOut{50%{animation-timing-function:ease-out;transform:translate(50%) translateZ(-200px) rotateY(45deg)}to{opacity:.3;transform:translate(100%) rotateY(90deg)}}@keyframes rotateCubeRightIn{0%{opacity:.3;transform:translate(-100%) rotateY(-90deg)}50%{animation-timing-function:ease-out;transform:translate(-50%) translateZ(-200px) rotateY(-45deg)}}@keyframes rotateCubeTopOut{50%{animation-timing-function:ease-out;transform:translateY(-50%) translateZ(-200px) rotateX(45deg)}to{opacity:.3;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateCubeTopIn{0%{opacity:.3;transform:translateY(100%) rotateX(-90deg)}50%{animation-timing-function:ease-out;transform:translateY(50%) translateZ(-200px) rotateX(-45deg)}}@keyframes rotateCubeBottomOut{50%{animation-timing-function:ease-out;transform:translateY(50%) translateZ(-200px) rotateX(-45deg)}to{opacity:.3;transform:translateY(100%) rotateX(-90deg)}}@keyframes rotateCubeBottomIn{0%{opacity:.3;transform:translateY(-100%) rotateX(90deg)}50%{animation-timing-function:ease-out;transform:translateY(-50%) translateZ(-200px) rotateX(45deg)}}@keyframes rotateCarouselLeftOut{to{opacity:.3;transform:translate(-150%) scale(.4) rotateY(-65deg)}}@keyframes rotateCarouselLeftIn{0%{opacity:.3;transform:translate(200%) scale(.4) rotateY(65deg)}}@keyframes rotateCarouselRightOut{to{opacity:.3;transform:translate(200%) scale(.4) rotateY(65deg)}}@keyframes rotateCarouselRightIn{0%{opacity:.3;transform:translate(-200%) scale(.4) rotateY(-65deg)}}@keyframes rotateCarouselTopOut{to{opacity:.3;transform:translateY(-200%) scale(.4) rotateX(65deg)}}@keyframes rotateCarouselTopIn{0%{opacity:.3;transform:translateY(200%) scale(.4) rotateX(-65deg)}}@keyframes rotateCarouselBottomOut{to{opacity:.3;transform:translateY(200%) scale(.4) rotateX(-65deg)}}@keyframes rotateCarouselBottomIn{0%{opacity:.3;transform:translateY(-200%) scale(.4) rotateX(65deg)}}@keyframes rotateSidesOut{to{opacity:0;transform:translateZ(-500px) rotateY(90deg)}}@keyframes rotateSidesIn{0%{opacity:0;transform:translateZ(-500px) rotateY(-90deg)}}@keyframes rotateSlideOut{25%{opacity:.5;transform:translateZ(-500px)}75%{opacity:.5;transform:translateZ(-500px) translate(-200%)}to{opacity:.5;transform:translateZ(-500px) translate(-200%)}}@keyframes rotateSlideIn{0%,25%{opacity:.5;transform:translateZ(-500px) translate(200%)}75%{opacity:.5;transform:translateZ(-500px)}to{opacity:1;transform:translateZ(0) translate(0)}}@keyframes superRainbow{0%{background:red}20%{background:orange}40%{background:yellow}60%{background:green}80%{background:blue}to{background:violet}}.superRainbow{background-position:0 0;background-size:200% 100%;background-image:linear-gradient(90deg,red,orange,yellow,green,blue,violet)}.superRainbow:hover{background-position:-100% 100%}@keyframes statusProcessing{0%{transform:scale(.8);opacity:.5}to{transform:scale(2.4);opacity:0}}
89
+ `]]]),La=st(Y({customOptions:{Container:ht},inheritAttrs:!0,__name:"CSSAnimation.ce",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!1},effectTriggerTiming:{default:"mouseMove"},name:{default:"jelly"},timingFunction:{},duration:{},delay:{},repeat:{},direction:{},fillMode:{default:"both"},playState:{default:"running"},perspective:{default:"1200px"}},emits:["cssanimationstart","cssanimationend"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=Wt({}),a=Wt({});let i=n.name,l=n.duration,c=n.timingFunction,u=n.delay,f=n.repeat,d=n.direction;function h(w){switch(i=w,i){case"superRainbow":l=n.duration||15e3;break;case"heartBeat":l=n.duration||1300;break;case"statusProcessing":l=n.duration||1200;break;case"rotateFall":case"rotateSlideOut":case"rotateSlideIn":l=n.duration||1e3;break;case"rotateRightSideFirst":case"rotateLeftSideFirst":case"rotateTopSideFirst":case"rotateBottomSideFirst":case"rotatePushLeft":case"rotatePushRight":case"rotatePushTop":case"rotatePushBottom":case"rotateRoomLeftOut":case"rotateRoomLeftIn":case"rotateRoomRightOut":case"rotateRoomRightIn":case"rotateRoomTopOut":case"rotateRoomTopIn":case"rotateRoomBottomOut":case"rotateRoomBottomIn":case"rotateCarouselLeftOut":case"rotateCarouselLeftIn":case"rotateCarouselRightOut":case"rotateCarouselRightIn":case"rotateCarouselTopOut":case"rotateCarouselTopIn":case"rotateCarouselBottomOut":case"rotateCarouselBottomIn":l=n.duration||800;break;case"bounceIn":case"bounceOut":case"flipOutX":case"hinge":l=n.duration||750;break;case"rotateFoldRight":case"rotateFoldLeft":case"rotateFoldTop":case"rotateFoldBottom":case"rotateUnfoldLeft":case"rotateUnfoldRight":case"rotateUnfoldTop":case"rotateUnfoldBottom":case"fade":case"moveFromLeftFade":case"moveToLeftFade":case"moveFromRightFade":case"moveToRightFade":case"moveFromTopFade":case"moveToTopFade":case"moveFromBottomFade":case"moveToBottomFade":l=n.duration||700;break;case"moveFromLeft":case"moveToLeft":case"moveFromRight":case"moveToRight":case"moveFromTop":case"moveToTop":case"moveFromBottom":case"moveToBottom":case"rotateCubeLeftOut":case"rotateCubeLeftIn":case"rotateCubeRightOut":case"rotateCubeRightIn":case"rotateCubeTopOut":case"rotateCubeTopIn":case"rotateCubeBottomOut":case"rotateCubeBottomIn":l=n.duration||600;break;default:l=n.duration||500;break}switch(i){case"superRainbow":c=n.timingFunction||"linear";break;case"lightSpeedOutLeft":case"lightSpeedOutRight":case"rotateRightSideFirst":case"rotateLeftSideFirst":case"rotateTopSideFirst":case"rotateBottomSideFirst":case"flipOutRight":case"flipOutLeft":case"flipOutTop":case"flipOutBottom":case"rotateFall":case"rotateOutNewspaper":case"rotateCubeLeftOut":case"rotateCubeLeftIn":case"rotateCubeRightOut":case"rotateCubeRightIn":case"rotateCubeTopOut":case"rotateCubeTopIn":case"rotateCubeBottomOut":case"rotateCubeBottomIn":case"rotateSidesOut":c=n.timingFunction||"ease-in";break;case"lightSpeedInLeft":case"lightSpeedInRight":case"flipInLeft":case"flipInRight":case"flipInBottom":case"flipInTop":case"rotateInNewspaper":case"rotateSidesIn":c=n.timingFunction||"ease-out";break;case"pulse":case"headShake":case"heartBeat":case"statusProcessing":c=n.timingFunction||"ease-in-out";break;default:c=n.timingFunction||"ease";break}switch(i){default:u=n.delay||0;break}switch(i){case"superRainbow":case"statusProcessing":f=n.repeat||"infinite";break;default:f=n.repeat||1;break}switch(i){case"superRainbow":d=n.direction||"alternate";break;default:d=n.direction||"normal";break}switch(i){case"hinge":case"rotateFall":a.transformOrigin="left top";break;case"zoomOutLeft":case"rotateRightSideFirst":case"rotatePushLeft":case"rotatePullLeft":case"rotateFoldRight":case"rotateUnfoldRight":case"rotateRoomLeftIn":case"rotateRoomRightOut":case"rotateCubeLeftIn":case"rotateCubeRightOut":a.transformOrigin="left center";break;case"rotateInUpLeft":case"rotateInDownLeft":case"rotateOutUpLeft":case"rotateOutDownLeft":a.transformOrigin="left bottom";break;case"swing":case"zoomOutUp":case"rotateBottomSideFirst":case"rotatePushTop":case"rotatePullTop":case"rotateFoldBottom":case"rotateUnfoldBottom":case"rotateRoomTopIn":case"rotateRoomBottomOut":case"rotateCubeTopIn":case"rotateCubeBottomOut":a.transformOrigin="center top";break;case"bounce":case"zoomOutDown":case"rotateTopSideFirst":case"rotatePushBottom":case"rotatePullBottom":case"rotateFoldTop":case"rotateUnfoldTop":case"rotateRoomTopOut":case"rotateRoomBottomIn":case"rotateCubeTopOut":case"rotateCubeBottomIn":a.transformOrigin="center bottom";break;case"zoomOutRight":case"rotateLeftSideFirst":case"rotatePushRight":case"rotatePullRight":case"rotateFoldLeft":case"rotateUnfoldLeft":case"rotateRoomLeftOut":case"rotateRoomRightIn":case"rotateCubeLeftOut":case"rotateCubeRightIn":a.transformOrigin="right center";break;case"rotateInUpRight":case"rotateInDownRight":case"rotateOutUpRight":case"rotateOutDownRight":a.transformOrigin="right bottom";break;default:delete a.transformOrigin;break}switch(i){case"jelly":case"bounce":case"flash":case"pulse":case"rubberBand":case"shakeX":case"shakeY":case"headShake":case"swing":case"tada":case"wobble":case"jello":case"heartBeat":case"bounceIn":case"fadeIn":case"fadeOut":case"flip":case"flipInX":case"flipInY":case"flipOutX":case"flipOutY":case"hinge":case"jackInTheBox":r.overflow="visible";break;default:r.overflow="hidden";break}switch(i){case"flip":case"flipInX":case"flipInY":case"flipOutX":case"flipOutY":a.backfaceVisibility="visible";break;default:delete a.backfaceVisibility;break}}const p=P(),b=w=>{r.perspective=n.perspective,w.eb.on("animationstart",$=>{s("cssanimationstart",$.animationName)}),w.eb.on("animationend",$=>{s("cssanimationend",$.animationName)})};function x(){p.value.style.animation="none",p.value.offsetHeight,p.value.style.animation=null}const k=()=>{a.animation="none"},g=()=>{x(),a.animation=`${l}ms ${c} ${u}ms ${f} ${d} ${n.fillMode} ${n.playState} ${i}`},m=w=>{w&&h(w),k(),d="normal",g()},y=w=>{w&&h(w),k(),d="reverse",g()},_=()=>{a.animation="none"};return Rt(()=>n.name,()=>{h(n.name)},{immediate:!0}),t({trigger:m,triggerReverse:y,clear:_}),(w,$)=>(I(),dt(ht,{class:"css-animation",type:n.containerType,supportCopyText:n.supportCopyText,effectTriggerTiming:n.effectTriggerTiming,style:N(r),onReady:b,onStart:k,onEnd:g},{default:W(()=>[v("div",{class:"css-animation-inner",ref_key:"animationRef",ref:p,style:N({position:"relative",display:"block",width:"100%",height:"100%",cursor:"pointer",transformStyle:"preserve-3d",...a})},[mt(w.$slots,"default")],4)]),_:3},8,["type","supportCopyText","effectTriggerTiming","style"]))}}),[["styles",[`@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotate-reverse{0%{transform:rotate(360deg)}to{transform:rotate(0)}}@keyframes jelly{0%,to{transform:scale(1)}25%{transform:scale(.9,1.1)}50%{transform:scale(1.1,.9)}75%{transform:scale(.95,1.05)}}@keyframes bounce{0%,20%,53%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0)}40%,43%{animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{transition-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0) scaleY(.95)}90%{transform:translate3d(0,-4px,0) scaleY(1.02)}}@keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}@keyframes pulse{0%{transform:scaleZ(1)}50%{transform:scale3d(1.05,1.05,1.05)}to{transform:scaleZ(1)}}@keyframes rubberBand{0%{transform:scaleZ(1)}30%{transform:scale3d(1.25,.75,1)}40%{transform:scale3d(.75,1.25,1)}50%{transform:scale3d(1.15,.85,1)}65%{transform:scale3d(.95,1.05,1)}75%{transform:scale3d(1.05,.95,1)}to{transform:scaleZ(1)}}@keyframes shakeX{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}@keyframes shakeY{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(0,-10px,0)}20%,40%,60%,80%{transform:translate3d(0,10px,0)}}@keyframes headShake{0%{transform:translate(0)}6.5%{transform:translate(-6px) rotateY(-9deg)}18.5%{transform:translate(5px) rotateY(7deg)}31.5%{transform:translate(-3px) rotateY(-5deg)}43.5%{transform:translate(2px) rotateY(3deg)}50%{transform:translate(0)}}@keyframes swing{20%{transform:rotate3d(0,0,1,15deg)}40%{transform:rotate3d(0,0,1,-10deg)}60%{transform:rotate3d(0,0,1,5deg)}80%{transform:rotate3d(0,0,1,-5deg)}to{transform:rotate3d(0,0,1,0)}}@keyframes tada{0%{transform:scaleZ(1)}10%,20%{transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{transform:scaleZ(1)}}@keyframes wobble{0%{transform:translateZ(0)}15%{transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{transform:translateZ(0)}}@keyframes jello{0%,11.1%,to{transform:translateZ(0)}22.2%{transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{transform:skew(6.25deg) skewY(6.25deg)}44.4%{transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{transform:skew(.390625deg) skewY(.390625deg)}88.8%{transform:skew(-.1953125deg) skewY(-.1953125deg)}}@keyframes heartBeat{0%{transform:scale(1)}14%{transform:scale(1.3)}28%{transform:scale(1)}42%{transform:scale(1.3)}70%{transform:scale(1)}}@keyframes backInLeft{0%{transform:translate(-2000px) scale(.7);opacity:.7}80%{transform:translate(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInRight{0%{transform:translate(2000px) scale(.7);opacity:.7}80%{transform:translate(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInUp{0%{transform:translateY(1200px) scale(.7);opacity:.7}80%{transform:translateY(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInDown{0%{transform:translateY(-1200px) scale(.7);opacity:.7}80%{transform:translateY(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backOutLeft{0%{transform:scale(1);opacity:1}20%{transform:translate(0) scale(.7);opacity:.7}to{transform:translate(-2000px) scale(.7);opacity:.7}}@keyframes backOutRight{0%{transform:scale(1);opacity:1}20%{transform:translate(0) scale(.7);opacity:.7}to{transform:translate(2000px) scale(.7);opacity:.7}}@keyframes backOutUp{0%{transform:scale(1);opacity:1}20%{transform:translateY(0) scale(.7);opacity:.7}to{transform:translateY(-700px) scale(.7);opacity:.7}}@keyframes backOutDown{0%{transform:scale(1);opacity:1}20%{transform:translateY(0) scale(.7);opacity:.7}to{transform:translateY(700px) scale(.7);opacity:.7}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:scale3d(.3,.3,.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(.9,.9,.9)}60%{opacity:1;transform:scale3d(1.03,1.03,1.03)}80%{transform:scale3d(.97,.97,.97)}to{opacity:1;transform:scaleZ(1)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;transform:translate3d(25px,0,0) scaleX(1)}75%{transform:translate3d(-10px,0,0) scaleX(.98)}90%{transform:translate3d(5px,0,0) scaleX(.995)}to{transform:translateZ(0)}}@keyframes bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;transform:translate3d(-25px,0,0) scaleX(1)}75%{transform:translate3d(10px,0,0) scaleX(.98)}90%{transform:translate3d(-5px,0,0) scaleX(.995)}to{transform:translateZ(0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;transform:translate3d(0,-20px,0) scaleY(.9)}75%{transform:translate3d(0,10px,0) scaleY(.95)}90%{transform:translate3d(0,-5px,0) scaleY(.985)}to{transform:translateZ(0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;transform:translate3d(0,25px,0) scaleY(.9)}75%{transform:translate3d(0,-10px,0) scaleY(.95)}90%{transform:translate3d(0,5px,0) scaleY(.985)}to{transform:translateZ(0)}}@keyframes bounceOut{20%{transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(.3,.3,.3)}}@keyframes bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0) scaleX(.9)}to{opacity:0;transform:translate3d(-2000px,0,0) scaleX(2)}}@keyframes bounceOutRight{20%{opacity:1;transform:translate3d(-20px,0,0) scaleX(.9)}to{opacity:0;transform:translate3d(2000px,0,0) scaleX(2)}}@keyframes bounceOutUp{20%{transform:translate3d(0,-10px,0) scaleY(.985)}40%,45%{opacity:1;transform:translate3d(0,20px,0) scaleY(.9)}to{opacity:0;transform:translate3d(0,-2000px,0) scaleY(3)}}@keyframes bounceOutDown{20%{transform:translate3d(0,10px,0) scaleY(.985)}40%,45%{opacity:1;transform:translate3d(0,-20px,0) scaleY(.9)}to{opacity:0;transform:translate3d(0,2000px,0) scaleY(3)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeInLeft{0%{opacity:0;transform:translate3d(-100%,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInLeftBig{0%{opacity:0;transform:translate3d(-2000px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInRight{0%{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInRightBig{0%{opacity:0;transform:translate3d(2000px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInUp{0%{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInUpBig{0%{opacity:0;transform:translate3d(0,2000px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInDown{0%{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInDownBig{0%{opacity:0;transform:translate3d(0,-2000px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInTopLeft{0%{opacity:0;transform:translate3d(-100%,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInTopRight{0%{opacity:0;transform:translate3d(100%,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInBottomLeft{0%{opacity:0;transform:translate3d(-100%,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInBottomRight{0%{opacity:0;transform:translate3d(100%,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}@keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes fadeOutRight{0%{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}@keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;transform:translate3d(2000px,0,0)}}@keyframes fadeOutUp{0%{opacity:1}to{opacity:0;transform:translate3d(0,-100%,0)}}@keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes fadeOutDown{0%{opacity:1}to{opacity:0;transform:translate3d(0,100%,0)}}@keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;transform:translate3d(0,2000px,0)}}@keyframes fadeOutTopLeft{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(-100%,-100%,0)}}@keyframes fadeOutTopRight{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(100%,-100%,0)}}@keyframes fadeOutBottomRight{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(100%,100%,0)}}@keyframes fadeOutBottomLeft{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(-100%,100%,0)}}@keyframes flip{0%{transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(-360deg);animation-timing-function:ease-out}40%{transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-190deg);animation-timing-function:ease-out}50%{transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-170deg);animation-timing-function:ease-in}80%{transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);animation-timing-function:ease-in}to{transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(0);animation-timing-function:ease-in}}@keyframes flipInX{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes flipInY{0%{transform:perspective(400px) rotateY(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateY(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateY(10deg);opacity:1}80%{transform:perspective(400px) rotateY(-5deg)}to{transform:perspective(400px)}}@keyframes flipOutX{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateX(-20deg);opacity:1}to{transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes flipOutY{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateY(-15deg);opacity:1}to{transform:perspective(400px) rotateY(90deg);opacity:0}}@keyframes flipOutRight{to{transform:translateZ(-1000px) rotateY(90deg);opacity:.2}}@keyframes flipInLeft{0%{transform:translateZ(-1000px) rotateY(-90deg);opacity:.2}}@keyframes flipOutLeft{to{transform:translateZ(-1000px) rotateY(-90deg);opacity:.2}}@keyframes flipInRight{0%{transform:translateZ(-1000px) rotateY(90deg);opacity:.2}}@keyframes flipOutTop{to{transform:translateZ(-1000px) rotateX(90deg);opacity:.2}}@keyframes flipInBottom{0%{transform:translateZ(-1000px) rotateX(-90deg);opacity:.2}}@keyframes flipOutBottom{to{transform:translateZ(-1000px) rotateX(-90deg);opacity:.2}}@keyframes flipInTop{0%{transform:translateZ(-1000px) rotateX(90deg);opacity:.2}}@keyframes lightSpeedInLeft{0%{transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{transform:skew(-20deg);opacity:1}80%{transform:skew(5deg)}to{transform:translateZ(0)}}@keyframes lightSpeedInRight{0%{transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{transform:skew(20deg);opacity:1}80%{transform:skew(-5deg)}to{transform:translateZ(0)}}@keyframes lightSpeedOutLeft{0%{opacity:1}to{transform:translate3d(-100%,0,0) skew(-30deg);opacity:0}}@keyframes lightSpeedOutRight{0%{opacity:1}to{transform:translate3d(100%,0,0) skew(30deg);opacity:0}}@keyframes rotateIn{0%{transform:rotate3d(0,0,1,-200deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInUpLeft{0%{transform:rotate3d(0,0,1,45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInUpRight{0%{transform:rotate3d(0,0,1,-90deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInDownLeft{0%{transform:rotate3d(0,0,1,-45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInDownRight{0%{transform:rotate3d(0,0,1,45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateOut{0%{opacity:1}to{transform:rotate3d(0,0,1,200deg);opacity:0}}@keyframes rotateOutUpLeft{0%{opacity:1}to{transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutUpRight{0%{opacity:1}to{transform:rotate3d(0,0,1,90deg);opacity:0}}@keyframes rotateOutDownLeft{0%{opacity:1}to{transform:rotate3d(0,0,1,45deg);opacity:0}}@keyframes rotateOutDownRight{0%{opacity:1}to{transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes hinge{0%{animation-timing-function:ease-in-out}20%,60%{transform:rotate3d(0,0,1,80deg);animation-timing-function:ease-in-out}40%,80%{transform:rotate3d(0,0,1,60deg);animation-timing-function:ease-in-out;opacity:1}to{transform:translate3d(0,700px,0);opacity:0}}@keyframes rotateFall{0%{transform:rotate(0)}20%{transform:rotate(10deg);animation-timing-function:ease-out}40%{transform:rotate(17deg)}60%{transform:rotate(16deg)}to{transform:translateY(100%) rotate(17deg)}}@keyframes rotateOutNewspaper{to{transform:translateZ(-3000px) rotate(360deg);opacity:0}}@keyframes rotateInNewspaper{0%{transform:translateZ(-3000px) rotate(-360deg);opacity:0}}@keyframes jackInTheBox{0%{opacity:0;transform:scale(.1) rotate(30deg);transform-origin:center bottom}50%{transform:rotate(-10deg)}70%{transform:rotate(3deg)}to{opacity:1;transform:scale(1)}}@keyframes rollIn{0%{opacity:0;transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;transform:translateZ(0)}}@keyframes rollOut{0%{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}@keyframes zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomInLeft{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInRight{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInUp{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInDown{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes zoomOutLeft{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;transform:scale(.1) translate3d(-2000px,0,0)}}@keyframes zoomOutRight{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;transform:scale(.1) translate3d(2000px,0,0)}}@keyframes zoomOutUp{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutDown{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes slideInLeft{0%{transform:translate3d(-100%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInRight{0%{transform:translate3d(100%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInUp{0%{transform:translate3d(0,100%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInDown{0%{transform:translate3d(0,-100%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideOutLeft{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(-100%,0,0)}}@keyframes slideOutRight{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(100%,0,0)}}@keyframes slideOutUp{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,-100%,0)}}@keyframes slideOutDown{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,100%,0)}}@keyframes rotateRightSideFirst{40%{transform:rotateY(15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateLeftSideFirst{40%{transform:rotateY(-15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateTopSideFirst{40%{transform:rotateX(15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateBottomSideFirst{40%{transform:rotateX(-15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotatePushLeft{to{opacity:0;transform:rotateY(90deg)}}@keyframes rotatePushRight{to{opacity:0;transform:rotateY(-90deg)}}@keyframes rotatePushTop{to{opacity:0;transform:rotateX(-90deg)}}@keyframes rotatePushBottom{to{opacity:0;transform:rotateX(90deg)}}@keyframes rotatePullRight{0%{opacity:0;transform:rotateY(-90deg)}}@keyframes rotatePullLeft{0%{opacity:0;transform:rotateY(90deg)}}@keyframes rotatePullTop{0%{opacity:0;transform:rotateX(-90deg)}}@keyframes rotatePullBottom{0%{opacity:0;transform:rotateX(90deg)}}@keyframes rotateFoldRight{to{opacity:0;transform:translate(100%) rotateY(90deg)}}@keyframes rotateFoldLeft{to{opacity:0;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateFoldTop{to{opacity:0;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateFoldBottom{to{opacity:0;transform:translateY(100%) rotateX(-90deg)}}@keyframes rotateUnfoldLeft{0%{opacity:0;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateUnfoldRight{0%{opacity:0;transform:translate(100%) rotateY(90deg)}}@keyframes rotateUnfoldTop{0%{opacity:0;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateUnfoldBottom{0%{opacity:0;transform:translateY(100%) rotateX(-90deg)}}@keyframes moveToLeft{to{transform:translate(-100%)}}@keyframes moveFromLeft{0%{transform:translate(-100%)}}@keyframes moveToRight{to{transform:translate(100%)}}@keyframes moveFromRight{0%{transform:translate(100%)}}@keyframes moveToTop{to{transform:translateY(-100%)}}@keyframes moveFromTop{0%{transform:translateY(-100%)}}@keyframes moveToBottom{to{transform:translateY(100%)}}@keyframes moveFromBottom{0%{transform:translateY(100%)}}@keyframes fade{to{opacity:.3}}@keyframes moveToLeftFade{to{opacity:.3;transform:translate(-100%)}}@keyframes moveFromLeftFade{0%{opacity:.3;transform:translate(-100%)}}@keyframes moveToRightFade{to{opacity:.3;transform:translate(100%)}}@keyframes moveFromRightFade{0%{opacity:.3;transform:translate(100%)}}@keyframes moveToTopFade{to{opacity:.3;transform:translateY(-100%)}}@keyframes moveFromTopFade{0%{opacity:.3;transform:translateY(-100%)}}@keyframes moveToBottomFade{to{opacity:.3;transform:translateY(100%)}}@keyframes moveFromBottomFade{0%{opacity:.3;transform:translateY(100%)}}@keyframes scaleToSmall{to{opacity:0;transform:scale(.8)}}@keyframes scaleFromSmall{0%{opacity:0;transform:scale(.8)}}@keyframes scaleFromLarge{0%{opacity:0;transform:scale(1.2)}}@keyframes scaleToLarge{to{opacity:0;transform:scale(1.2)}}@keyframes scaleToSmallCenter{to{opacity:0;transform:scale(.7)}}@keyframes scaleFromSmallCenter{0%{opacity:0;transform:scale(.7)}}@keyframes rotateRoomLeftOut{to{opacity:.3;transform:translate(-100%) rotateY(90deg)}}@keyframes rotateRoomLeftIn{0%{opacity:.3;transform:translate(100%) rotateY(-90deg)}}@keyframes rotateRoomRightOut{to{opacity:.3;transform:translate(100%) rotateY(-90deg)}}@keyframes rotateRoomRightIn{0%{opacity:.3;transform:translate(-100%) rotateY(90deg)}}@keyframes rotateRoomTopOut{to{opacity:.3;transform:translateY(-100%) rotateX(-90deg)}}@keyframes rotateRoomTopIn{0%{opacity:.3;transform:translateY(100%) rotateX(90deg)}}@keyframes rotateRoomBottomOut{to{opacity:.3;transform:translateY(100%) rotateX(90deg)}}@keyframes rotateRoomBottomIn{0%{opacity:.3;transform:translateY(-100%) rotateX(-90deg)}}@keyframes rotateCubeLeftOut{50%{animation-timing-function:ease-out;transform:translate(-50%) translateZ(-200px) rotateY(-45deg)}to{opacity:.3;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateCubeLeftIn{0%{opacity:.3;transform:translate(100%) rotateY(90deg)}50%{animation-timing-function:ease-out;transform:translate(50%) translateZ(-200px) rotateY(45deg)}}@keyframes rotateCubeRightOut{50%{animation-timing-function:ease-out;transform:translate(50%) translateZ(-200px) rotateY(45deg)}to{opacity:.3;transform:translate(100%) rotateY(90deg)}}@keyframes rotateCubeRightIn{0%{opacity:.3;transform:translate(-100%) rotateY(-90deg)}50%{animation-timing-function:ease-out;transform:translate(-50%) translateZ(-200px) rotateY(-45deg)}}@keyframes rotateCubeTopOut{50%{animation-timing-function:ease-out;transform:translateY(-50%) translateZ(-200px) rotateX(45deg)}to{opacity:.3;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateCubeTopIn{0%{opacity:.3;transform:translateY(100%) rotateX(-90deg)}50%{animation-timing-function:ease-out;transform:translateY(50%) translateZ(-200px) rotateX(-45deg)}}@keyframes rotateCubeBottomOut{50%{animation-timing-function:ease-out;transform:translateY(50%) translateZ(-200px) rotateX(-45deg)}to{opacity:.3;transform:translateY(100%) rotateX(-90deg)}}@keyframes rotateCubeBottomIn{0%{opacity:.3;transform:translateY(-100%) rotateX(90deg)}50%{animation-timing-function:ease-out;transform:translateY(-50%) translateZ(-200px) rotateX(45deg)}}@keyframes rotateCarouselLeftOut{to{opacity:.3;transform:translate(-150%) scale(.4) rotateY(-65deg)}}@keyframes rotateCarouselLeftIn{0%{opacity:.3;transform:translate(200%) scale(.4) rotateY(65deg)}}@keyframes rotateCarouselRightOut{to{opacity:.3;transform:translate(200%) scale(.4) rotateY(65deg)}}@keyframes rotateCarouselRightIn{0%{opacity:.3;transform:translate(-200%) scale(.4) rotateY(-65deg)}}@keyframes rotateCarouselTopOut{to{opacity:.3;transform:translateY(-200%) scale(.4) rotateX(65deg)}}@keyframes rotateCarouselTopIn{0%{opacity:.3;transform:translateY(200%) scale(.4) rotateX(-65deg)}}@keyframes rotateCarouselBottomOut{to{opacity:.3;transform:translateY(200%) scale(.4) rotateX(-65deg)}}@keyframes rotateCarouselBottomIn{0%{opacity:.3;transform:translateY(-200%) scale(.4) rotateX(65deg)}}@keyframes rotateSidesOut{to{opacity:0;transform:translateZ(-500px) rotateY(90deg)}}@keyframes rotateSidesIn{0%{opacity:0;transform:translateZ(-500px) rotateY(-90deg)}}@keyframes rotateSlideOut{25%{opacity:.5;transform:translateZ(-500px)}75%{opacity:.5;transform:translateZ(-500px) translate(-200%)}to{opacity:.5;transform:translateZ(-500px) translate(-200%)}}@keyframes rotateSlideIn{0%,25%{opacity:.5;transform:translateZ(-500px) translate(200%)}75%{opacity:.5;transform:translateZ(-500px)}to{opacity:1;transform:translateZ(0) translate(0)}}@keyframes superRainbow{0%{background:red}20%{background:orange}40%{background:yellow}60%{background:green}80%{background:blue}to{background:violet}}.superRainbow{background-position:0 0;background-size:200% 100%;background-image:linear-gradient(90deg,red,orange,yellow,green,blue,violet)}.superRainbow:hover{background-position:-100% 100%}@keyframes statusProcessing{0%{transform:scale(.8);opacity:.5}to{transform:scale(2.4);opacity:0}}
90
+ `]]]),Zx=Y({__name:"Icon.ce",props:{icon:{default:"mdi-light:home"},color:{default:Zt("--xg-blue")}},setup(o){const t=o;return(e,n)=>(I(),D("span",{class:"icon",style:N(["color: "+e.color,"display: inline-flex","justify-content: center","align-items: center","cursor: pointer","font-size: 1em"])},[Z(Tt(gp),{icon:t.icon,color:e.color},null,8,["icon","color"])],4))}}),Ux={class:"loading-1"},Hx=Y({__name:"Loading1.ce",props:{color:{default:Zt("--xg-blue")}},setup(o){const e={backgroundColor:o.color};return(n,s)=>(I(),D("div",Ux,[v("div",{class:"rect1",style:e}),v("div",{class:"rect2",style:e}),v("div",{class:"rect3",style:e}),v("div",{class:"rect4",style:e}),v("div",{class:"rect5",style:e})]))}}),xp=st(Hx,[["styles",[`.loading-1[data-v-114b2f4a]{position:relative;display:block;overflow:hidden;width:100%;height:100%;text-align:center}.loading-1>div[data-v-114b2f4a]{width:6px;height:100%;margin:auto 2px;display:inline-block;animation:stretchdelay-114b2f4a 1.2s infinite ease-in-out}.loading-1 .rect2[data-v-114b2f4a]{animation-delay:-1.1s}.loading-1 .rect3[data-v-114b2f4a]{animation-delay:-1s}.loading-1 .rect4[data-v-114b2f4a]{animation-delay:-.9s}.loading-1 .rect5[data-v-114b2f4a]{animation-delay:-.8s}@keyframes stretchdelay-114b2f4a{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}
91
+ `]],["__scopeId","data-v-114b2f4a"]]),jx={class:"loading-2"},Gx=Y({__name:"Loading2.ce",props:{color:{default:Zt("--xg-blue")}},setup(o){const e={backgroundColor:o.color};return(n,s)=>(I(),D("div",jx,[v("div",{class:"dot1",style:e}),v("div",{class:"dot2",style:e})]))}}),kp=st(Gx,[["styles",[`.loading-2[data-v-f380c52b]{position:relative;display:block;width:100%;height:100%;text-align:center;animation:rotate-f380c52b 2s infinite linear}.dot1[data-v-f380c52b],.dot2[data-v-f380c52b]{width:60%;height:60%;display:inline-block;position:absolute;top:0;border-radius:100%;animation:bounce-f380c52b 2s infinite ease-in-out}.dot2[data-v-f380c52b]{top:auto;bottom:0;animation-delay:-1s}@keyframes rotate-f380c52b{to{transform:rotate(360deg)}}@keyframes bounce-f380c52b{0%,to{transform:scale(0)}50%{transform:scale(1)}}
92
+ `]],["__scopeId","data-v-f380c52b"]]),Wx=Y({__name:"Loading3.ce",props:{fromColor:{default:Zt("--xg-blue")},toColor:{default:Zt("--xg-red")}},setup(o){const t=o,e={backgroundColor:t.fromColor,width:"20%"},n=P();return pe(()=>{Co(`
95
93
  @keyframes snake {
96
94
  0% {
97
95
  opacity: 0.3;
@@ -110,42 +108,42 @@ ${JSON.stringify($,null,2)}
110
108
  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.1);
111
109
  }
112
110
  }
113
- `,n.value)}),se(()=>{}),(r,s)=>(A(),F("div",{class:"loading-3",ref_key:"loading3",ref:n},[k("div",{class:"dot",style:N({...o,left:"0"})},null,4),k("div",{class:"dot",style:N({...o,left:"20%"})},null,4),k("div",{class:"dot",style:N({...o,left:"40%"})},null,4),k("div",{class:"dot",style:N({...o,left:"60%"})},null,4),k("div",{class:"dot",style:N({...o,left:"80%"})},null,4)],512))}}),Vp=nt(kx,[["styles",[`.loading-3[data-v-f52e798a]{position:relative;display:inline-block;width:100%;height:100%;text-align:center}.dot[data-v-f52e798a]{display:inline-block;top:50%;transform:translateY(-50%);position:absolute;aspect-ratio:1 / 1;opacity:.5;border-radius:100%;animation:snake 1s infinite ease-in-out}.loading-3 div[data-v-f52e798a]:nth-child(1){animation-delay:0s}.loading-3 div[data-v-f52e798a]:nth-child(2){animation-delay:.2s}.loading-3 div[data-v-f52e798a]:nth-child(3){animation-delay:.4s}.loading-3 div[data-v-f52e798a]:nth-child(4){animation-delay:.6s}.loading-3 div[data-v-f52e798a]:nth-child(5){animation-delay:.8s}
114
- `]],["__scopeId","data-v-f52e798a"]]),wx={class:"loading-4"},Cx=Y({__name:"Loading4.ce",props:{color:{default:kt.colorPrimary}},setup(e){const o={backgroundColor:e.color};return(n,r)=>(A(),F("div",wx,[k("div",{class:"rect",style:o})]))}}),Xp=nt(Cx,[["styles",[`.loading-4[data-v-b2b74418]{position:relative;width:100%;height:100%;display:flex;justify-content:center;align-items:center;overflow:hidden;perspective:120px}.rect[data-v-b2b74418]{width:40%;aspect-ratio:1 / 1;animation:rotateplane-b2b74418 1.2s infinite ease-in-out}@keyframes rotateplane-b2b74418{0%{transform:perspective(120px) rotateX(0) rotateY(0)}50%{transform:perspective(120px) rotateX(-180deg) rotateY(0)}to{transform:perspective(120px) rotateX(-180deg) rotateY(-180deg)}}
115
- `]],["__scopeId","data-v-b2b74418"]]),Tx={class:"loading-5"},Ex=Y({__name:"Loading5.ce",props:{color:{default:kt.colorPrimary}},setup(e){const o={backgroundColor:e.color};return(n,r)=>(A(),F("div",Tx,[k("div",{class:"cube1",style:o}),k("div",{class:"cube2",style:o})]))}}),Zp=nt(Ex,[["styles",[`.loading-5[data-v-2e49b1eb]{position:relative;display:block;width:100%;height:100%}.cube1[data-v-2e49b1eb],.cube2[data-v-2e49b1eb]{width:40%;aspect-ratio:1 / 1;display:inline-block;position:absolute;top:10%;left:10%;transform:translate(-10%,-10%);animation:cubemove-2e49b1eb 1.8s infinite ease-in-out;transform-origin:center}.cube2[data-v-2e49b1eb]{animation-delay:-.9s}@keyframes cubemove-2e49b1eb{25%{transform:translate(42px) rotate(-90deg) scale(.5)}50%{transform:translate(42px) translateY(42px) rotate(-179deg)}50.1%{transform:translate(42px) translateY(42px) rotate(-180deg)}75%{transform:translate(0) translateY(42px) rotate(-270deg) scale(.5)}to{transform:rotate(-360deg)}}
116
- `]],["__scopeId","data-v-2e49b1eb"]]),Sx={class:"loading-6"},Ox=Y({__name:"Loading6.ce",props:{color:{default:kt.colorPrimary}},setup(e){const o={backgroundColor:e.color};return(n,r)=>(A(),F("div",Sx,[k("div",{style:o}),k("div",{style:o}),k("div",{style:o})]))}}),Gp=nt(Ox,[["styles",[`.loading-6[data-v-0e771b32]{position:relative;display:block;width:100%;height:100%}.loading-6>div[data-v-0e771b32]{border-radius:100%}.loading-6>div[data-v-0e771b32]:nth-child(2){animation-delay:-.4s}.loading-6>div[data-v-0e771b32]:nth-child(3){animation-delay:-.2s}.loading-6>div[data-v-0e771b32]{position:absolute;left:20%;top:20%;width:60%;aspect-ratio:1 / 1;opacity:0;margin:0;animation:loading-6-0e771b32 1s 0s linear infinite}@keyframes loading-6-0e771b32{0%{transform:scale(0);opacity:0}5%{opacity:1}to{transform:scale(1);opacity:0}}
117
- `]],["__scopeId","data-v-0e771b32"]]),Px=Y({__name:"Loading7.ce",props:{color:{default:kt.colorPrimary}},setup(e){const t=e,o=R();return fe(()=>{yo(`
111
+ `,n.value)}),ue(()=>{}),(s,r)=>(I(),D("div",{class:"loading-3",ref_key:"loading3",ref:n},[v("div",{class:"dot",style:N({...e,left:"0"})},null,4),v("div",{class:"dot",style:N({...e,left:"20%"})},null,4),v("div",{class:"dot",style:N({...e,left:"40%"})},null,4),v("div",{class:"dot",style:N({...e,left:"60%"})},null,4),v("div",{class:"dot",style:N({...e,left:"80%"})},null,4)],512))}}),wp=st(Wx,[["styles",[`.loading-3[data-v-ea05e166]{position:relative;display:inline-block;width:100%;height:100%;text-align:center}.dot[data-v-ea05e166]{display:inline-block;top:50%;transform:translateY(-50%);position:absolute;aspect-ratio:1 / 1;opacity:.5;border-radius:100%;animation:snake 1s infinite ease-in-out}.loading-3 div[data-v-ea05e166]:nth-child(1){animation-delay:0s}.loading-3 div[data-v-ea05e166]:nth-child(2){animation-delay:.2s}.loading-3 div[data-v-ea05e166]:nth-child(3){animation-delay:.4s}.loading-3 div[data-v-ea05e166]:nth-child(4){animation-delay:.6s}.loading-3 div[data-v-ea05e166]:nth-child(5){animation-delay:.8s}
112
+ `]],["__scopeId","data-v-ea05e166"]]),qx={class:"loading-4"},Kx=Y({__name:"Loading4.ce",props:{color:{default:Zt("--xg-blue")}},setup(o){const e={backgroundColor:o.color};return(n,s)=>(I(),D("div",qx,[v("div",{class:"rect",style:e})]))}}),Cp=st(Kx,[["styles",[`.loading-4[data-v-1d313db2]{position:relative;width:100%;height:100%;display:flex;justify-content:center;align-items:center;overflow:hidden;perspective:120px}.rect[data-v-1d313db2]{width:40%;aspect-ratio:1 / 1;animation:rotateplane-1d313db2 1.2s infinite ease-in-out}@keyframes rotateplane-1d313db2{0%{transform:perspective(120px) rotateX(0) rotateY(0)}50%{transform:perspective(120px) rotateX(-180deg) rotateY(0)}to{transform:perspective(120px) rotateX(-180deg) rotateY(-180deg)}}
113
+ `]],["__scopeId","data-v-1d313db2"]]),Qx={class:"loading-5"},Jx=Y({__name:"Loading5.ce",props:{color:{default:Zt("--xg-blue")}},setup(o){const e={backgroundColor:o.color};return(n,s)=>(I(),D("div",Qx,[v("div",{class:"cube1",style:e}),v("div",{class:"cube2",style:e})]))}}),Tp=st(Jx,[["styles",[`.loading-5[data-v-ae19640f]{position:relative;display:block;width:100%;height:100%}.cube1[data-v-ae19640f],.cube2[data-v-ae19640f]{width:40%;aspect-ratio:1 / 1;display:inline-block;position:absolute;top:10%;left:10%;transform:translate(-10%,-10%);animation:cubemove-ae19640f 1.8s infinite ease-in-out;transform-origin:center}.cube2[data-v-ae19640f]{animation-delay:-.9s}@keyframes cubemove-ae19640f{25%{transform:translate(42px) rotate(-90deg) scale(.5)}50%{transform:translate(42px) translateY(42px) rotate(-179deg)}50.1%{transform:translate(42px) translateY(42px) rotate(-180deg)}75%{transform:translate(0) translateY(42px) rotate(-270deg) scale(.5)}to{transform:rotate(-360deg)}}
114
+ `]],["__scopeId","data-v-ae19640f"]]),t2={class:"loading-6"},e2=Y({__name:"Loading6.ce",props:{color:{default:Zt("--xg-blue")}},setup(o){const e={backgroundColor:o.color};return(n,s)=>(I(),D("div",t2,[v("div",{style:e}),v("div",{style:e}),v("div",{style:e})]))}}),Ep=st(e2,[["styles",[`.loading-6[data-v-7a1031b5]{position:relative;display:block;width:100%;height:100%}.loading-6>div[data-v-7a1031b5]{border-radius:100%}.loading-6>div[data-v-7a1031b5]:nth-child(2){animation-delay:-.4s}.loading-6>div[data-v-7a1031b5]:nth-child(3){animation-delay:-.2s}.loading-6>div[data-v-7a1031b5]{position:absolute;left:20%;top:20%;width:60%;aspect-ratio:1 / 1;opacity:0;margin:0;animation:loading-6-7a1031b5 1s 0s linear infinite}@keyframes loading-6-7a1031b5{0%{transform:scale(0);opacity:0}5%{opacity:1}to{transform:scale(1);opacity:0}}
115
+ `]],["__scopeId","data-v-7a1031b5"]]),o2=Y({__name:"Loading7.ce",props:{color:{default:Zt("--xg-blue")}},setup(o){const t=o,e=P();return pe(()=>{Co(`
118
116
  :root {
119
117
  --loading-7-bg-color: ${t.color}
120
118
  }
121
119
  :host {
122
120
  --loading-7-bg-color: ${t.color}
123
121
  }
124
- `,o.value)}),se(()=>{}),(n,r)=>(A(),F("div",{class:"loading-7",ref_key:"loading7",ref:o},r[0]||(r[0]=[k("div",null,null,-1)]),512))}}),Up=nt(Px,[["styles",[`.loading-7[data-v-aaf2a3a7]{position:relative;display:block;width:100%;height:100%}.loading-7>div[data-v-aaf2a3a7]{width:50%;height:50%;margin:auto;position:absolute;inset:0}.loading-7>div[data-v-aaf2a3a7]:before{content:"";width:100%;height:5px;box-sizing:border-box;background:#000;opacity:.1;position:absolute;top:calc(100% + 5px);left:0;border-radius:50%;animation:shadow-aaf2a3a7 .5s linear infinite}.loading-7>div[data-v-aaf2a3a7]:after{content:"";width:100%;height:100%;animation:animate-aaf2a3a7 .5s linear infinite;position:absolute;inset:0;border-radius:3px;background-color:var(--loading-7-bg-color)}@keyframes animate-aaf2a3a7{17%{border-bottom-right-radius:3px}25%{transform:translateY(9px) rotate(22.5deg)}50%{transform:translateY(18px) scaleY(.9) rotate(45deg);border-bottom-right-radius:40px}75%{transform:translateY(9px) rotate(67.5deg)}to{transform:translateY(0) rotate(90deg)}}@keyframes shadow-aaf2a3a7{0%,to{transform:scale(1)}50%{transform:scaleX(1.2)}}
125
- `]],["__scopeId","data-v-aaf2a3a7"]]),Rx={class:"loading-8"},Ix={viewBox:"25 25 50 50"},Ax=Y({__name:"Loading8.ce",props:{color:{default:kt.colorPrimary}},setup(e){const t=e;return(o,n)=>(A(),F("div",Rx,[(A(),F("svg",Ix,[k("circle",{cx:"50",cy:"50",r:"20",style:N(["stroke: "+t.color])},null,4)]))]))}}),Nl=nt(Ax,[["styles",[`.loading-8[data-v-51a259a7]{position:relative;display:inline-flex;justify-content:center;align-items:center;width:100%;height:100%}.loading-8 svg[data-v-51a259a7]{transform-origin:center;animation:rotate-51a259a7 2s linear infinite;width:50%;aspect-ratio:1 / 1}.loading-8 circle[data-v-51a259a7]{fill:none;stroke-width:3;stroke-dasharray:1,200;stroke-dashoffset:0;stroke-linecap:round;animation:dash-51a259a7 1.5s ease-in-out infinite}@keyframes rotate-51a259a7{to{transform:rotate(360deg)}}@keyframes dash-51a259a7{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,200;stroke-dashoffset:-35px}to{stroke-dashoffset:-125px}}
126
- `]],["__scopeId","data-v-51a259a7"]]),$x={class:"loading-9"},Nx=Y({__name:"Loading9.ce",props:{color:{default:kt.colorPrimary}},setup(e){const o={borderTopColor:e.color};return(n,r)=>(A(),F("div",$x,[k("div",{style:o})]))}}),jp=nt(Nx,[["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)}}
127
- `]],["__scopeId","data-v-ee782ac8"]]),Dx={class:"loading-10"},Fx={viewBox:"0 0 50 50"},Lx=Y({__name:"Loading10.ce",props:{color:{default:kt.colorPrimary}},setup(e){const t=e;return(o,n)=>(A(),F("div",Dx,[(A(),F("svg",Fx,[n[0]||(n[0]=k("circle",{class:"ring",cx:"25",cy:"25",r:"20",style:N(["stroke: rgba(0,0,0,0.1)"])},null,-1)),k("circle",{class:"ball",cx:"25",cy:"5",r:"3.5",style:N(["fill: "+t.color])},null,4)]))]))}}),Hp=nt(Lx,[["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)}}
128
- `]],["__scopeId","data-v-984ad184"]]),zx={class:"loading-11",ref:"loading11"},Mx={class:"container container-1"},Bx={class:"container container-2"},Yx={class:"container container-3"},Vx=Y({__name:"Loading11.ce",props:{color:{default:kt.colorPrimary},width:{default:"0.8em"}},setup(e){const t=e;return(o,n)=>(A(),F("div",zx,[k("div",{class:"loading-11-inner",style:N({width:t.width,height:t.width})},[k("div",Mx,[k("div",{class:"dot dot-1",style:N({backgroundColor:t.color})},null,4),k("div",{class:"dot dot-2",style:N({backgroundColor:t.color})},null,4),k("div",{class:"dot dot-3",style:N({backgroundColor:t.color})},null,4),k("div",{class:"dot dot-4",style:N({backgroundColor:t.color})},null,4)]),k("div",Bx,[k("div",{class:"dot dot-1",style:N({backgroundColor:t.color})},null,4),k("div",{class:"dot dot-2",style:N({backgroundColor:t.color})},null,4),k("div",{class:"dot dot-3",style:N({backgroundColor:t.color})},null,4),k("div",{class:"dot dot-4",style:N({backgroundColor:t.color})},null,4)]),k("div",Yx,[k("div",{class:"dot dot-1",style:N({backgroundColor:t.color})},null,4),k("div",{class:"dot dot-2",style:N({backgroundColor:t.color})},null,4),k("div",{class:"dot dot-3",style:N({backgroundColor:t.color})},null,4),k("div",{class:"dot dot-4",style:N({backgroundColor:t.color})},null,4)])],4)],512))}}),Dl=nt(Vx,[["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)}}
129
- `]],["__scopeId","data-v-7fb118c9"]]),Xx={key:0,class:"loading",style:{"margin-right":"6px"}},jn=Y({customOptions:{Loading11:sa},inheritAttrs:!0,__name:"Button.ce",props:{label:{},icon:{},iconPosition:{default:"left"},disabled:{type:Boolean,default:!1},width:{default:"auto"},height:{default:"44px"},padding:{default:"20px"},fontSize:{default:"14px"},borderRadius:{default:"4px"},stylePattern:{default:"fullfilled"},borderColor:{},bgColor:{},fontColor:{},asyncClick:{}},emits:["yz-click","click"],setup(e,{expose:t,emit:o}){const n=e,r=o,s=R(),a=R(n.borderColor),l=R(n.bgColor),i=R(n.fontColor),c=R(n.borderColor),u=R(n.bgColor);function f(m){switch(m){case"outline":a.value=n.borderColor??kt.colorPrimary,l.value=n.bgColor??kt.colorGrayFF,i.value=n.fontColor??kt.colorPrimary,c.value=a.value,u.value=l.value;break;case"fullfilled":default:a.value=n.borderColor??kt.colorPrimary,l.value=n.bgColor??kt.colorPrimary,i.value=n.fontColor??kt.colorGrayFF,c.value=a.value,u.value=l.value;break}}Pt(()=>n.stylePattern,()=>{f(n.stylePattern)},{immediate:!0});const d=R(n.disabled?"0.6":"1"),h=R(n.disabled?"not-allowed":"pointer");let p=!1;const w=()=>{n.disabled||(p=!0,a.value=_e(c.value).lighten(.05).toString(),l.value=_e(u.value).lighten(.05).toString())},x=()=>{n.disabled||(p=!1,a.value=c.value,l.value=u.value)},v=R(!1),y=Af(()=>{n.disabled||v.value||(a.value=_e(c.value).darken(.1).toString(),l.value=_e(u.value).darken(.1).toString(),setTimeout(()=>{p?w():x()},150),r("yz-click"),r("click"),n.asyncClick&&(v.value=!0,n.asyncClick().then(()=>{v.value=!1}).catch(()=>{v.value=!1})))},300);return t({el:s}),(m,_)=>(A(),F("div",{ref_key:"el",ref:s,class:"button",style:N([`opacity: ${d.value}`,`border: 1px solid ${a.value}`,`background-color: ${l.value}`,`color: ${i.value}`,`border-radius: ${n.borderRadius}`,`width: ${n.width}`,`height: ${n.height}`,`line-height: ${n.height}`,`font-size: ${n.fontSize}`,`cursor: ${h.value}`,"user-select: none","box-sizing: border-box","display: inline-flex","justify-content: center","align-items: center","z-index: 0"]),onMouseover:w,onMouseleave:x,onClick:_[0]||(_[0]=(...C)=>vt(y)&&vt(y)(...C))},[k("label",{class:"label truncate",style:N({padding:"0 "+m.padding,cursor:h.value,display:"inline-flex",justifyContent:"center",alignItems:"center"})},[v.value?(A(),F("div",Xx,[J(sa,{color:i.value},null,8,["color"])])):yt("",!0),dt(m.$slots,"default",{},()=>[m.icon&&m.iconPosition==="left"?(A(),ht(bo,{key:0,icon:m.icon,color:i.value,style:N({marginRight:vt(kt).d4,cursor:h.value})},null,8,["icon","color","style"])):yt("",!0),k("span",{style:N({cursor:h.value})},ut(m.label),5),m.icon&&m.iconPosition==="right"?(A(),ht(bo,{key:1,icon:m.icon,color:i.value,style:N({marginLeft:vt(kt).d4,cursor:h.value})},null,8,["icon","color","style"])):yt("",!0)])],4)],36))}}),Zx=["stroke","fill"],Gx=["stroke","fill"],Ux=["stroke"],ka=nt(Y({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(e,{expose:t,emit:o}){const n=e,r=o;let s=R(n.selected),a=R(n.disabled),l=R(n.label);const i=()=>{switch(n.colorChangeMode){case"only-foreground":return a.value?n.colorDisabled:n.colorBackground;case"reverse":default:return a.value?n.colorDisabled:s.value?n.colorForeground:n.colorBackground}},c=()=>a.value?n.colorDisabled:_e(i()).darken(.2).toString(),u=()=>{switch(n.colorChangeMode){case"only-foreground":return a.value?n.colorBackground:n.colorForeground;case"reverse":default:return s.value?n.colorBackground:n.colorForeground}},f=()=>{a.value||(h(),r("change",s.value))},d=g=>{g!==s.value&&(s.value=g)},h=()=>{s.value=!s.value};return t({setValue:d,toggleValue:h,getValue:()=>s.value,enable:()=>{a.value=!1},disable:()=>{a.value=!0},setLabel:g=>{l.value=g}}),(g,y)=>(A(),F("div",{class:Ut(["boolean-box",vt(a)?"disabled":""]),onClick:f},[dt(g.$slots,"default",{selected:vt(s),disabled:vt(a),label:vt(l)},()=>[(A(),F("svg",{viewBox:"0 0 24 24",fill:"none",class:"icon",style:N(["width:"+n.boxWidth])},[n.isRounded?yt("",!0):(A(),F("rect",{key:0,x:"0",y:"0",width:"22",height:"22","strke-width":"1",stroke:c(),fill:i()},null,8,Zx)),n.isRounded?(A(),F("circle",{key:1,cx:"12",cy:"12",r:"11","strke-width":"1",stroke:c(),fill:i()},null,8,Gx)):yt("",!0),vt(s)?(A(),F("path",{key:2,d:"m7 13l3 3 7-7",stroke:u(),"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Ux)):yt("",!0)],4)),g.label?(A(),F("span",{key:0,style:N(["font-size:"+n.fontSize,"margin-left:"+n.labelPadding])},ut(g.label),5)):yt("",!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}
130
- `]],["__scopeId","data-v-79270ea2"]]),jx=["stroke","fill"],Hx=["stroke","fill"],Wx=["stroke"],qx=Y({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(e,{expose:t,emit:o}){const n=e,r=o;let s=R(n.selected),a=R(n.disabled),l=R(n.label);const i=()=>{switch(n.colorChangeMode){case"only-foreground":return a.value?n.colorDisabled:n.colorBackground;case"reverse":default:return a.value?n.colorDisabled:s.value?n.colorForeground:n.colorBackground}},c=()=>a.value?n.colorDisabled:_e(i()).darken(.2).toString(),u=()=>{switch(n.colorChangeMode){case"only-foreground":return a.value?n.colorBackground:n.colorForeground;case"reverse":default:return s.value?n.colorBackground:n.colorForeground}},f=()=>{a.value||(h(),r("change",s.value))},d=g=>{g!==s.value&&(s.value=g)},h=()=>{s.value=!s.value};return t({setValue:d,toggleValue:h,getValue:()=>s.value,enable:()=>{a.value=!1},disable:()=>{a.value=!0},setLabel:g=>{l.value=g}}),(g,y)=>(A(),F("div",{class:Ut(["boolean-box",vt(a)?"disabled":""]),onClick:f},[dt(g.$slots,"default",{selected:vt(s),disabled:vt(a),label:vt(l)},()=>[(A(),F("svg",{viewBox:"0 0 24 24",fill:"none",class:"icon",style:N(["width:"+n.boxWidth])},[n.isRounded?yt("",!0):(A(),F("rect",{key:0,x:"0",y:"0",width:"22",height:"22","strke-width":"1",stroke:c(),fill:i()},null,8,jx)),n.isRounded?(A(),F("circle",{key:1,cx:"12",cy:"12",r:"11","strke-width":"1",stroke:c(),fill:i()},null,8,Hx)):yt("",!0),vt(s)?(A(),F("path",{key:2,d:"m7 13l3 3 7-7",stroke:u(),"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Wx)):yt("",!0)],4)),g.label?(A(),F("span",{key:0,style:N(["font-size:"+n.fontSize,"margin-left:"+n.labelPadding])},ut(g.label),5)):yt("",!0)],!0)],2))}}),dw="",nn=nt(qx,[["__scopeId","data-v-3df94794"]]),Fl=nt(Y({customOptions:{BooleanBox:nn},__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(e,{emit:t}){const o=e,n=t,r=R([]),s=(i,c)=>{i&&(r.value[c]=i)};let a=R(o.initIndex);const l=(i,c)=>{a.value!==i?(r.value[a.value].toggleValue(),c&&(a.value=i,n("change",o.options[a.value]))):c||r.value[a.value].setValue(!0)};return(i,c)=>(A(!0),F(zt,null,we(i.options,(u,f)=>(A(),F("div",{class:"radio-group",key:f,style:N(["margin-left:"+(f>0?o.itemPadding:0)])},[J(nn,{ref_for:!0,ref:d=>s(d,f),selected:vt(a)==f,disabled:i.disabledIndexs&&i.disabledIndexs.findIndex(d=>d===f)>=0,isRounded:o.isRounded,label:u,labelPadding:o.labelPadding,colorBackground:o.colorBackground,colorForeground:o.colorForeground,colorDisabled:o.colorDisabled,colorChangeMode:o.colorChangeMode,boxWidth:o.boxWidth,fontSize:o.fontSize,onChange:d=>l(f,d)},null,8,["selected","disabled","isRounded","label","labelPadding","colorBackground","colorForeground","colorDisabled","colorChangeMode","boxWidth","fontSize","onChange"])],4))),128))}}),[["styles",[`.radio-group[data-v-4793f58f]{position:relative;display:inline-flex;justify-content:flex-start;align-items:center}
131
- `]],["__scopeId","data-v-4793f58f"]]),Ll=nt(Y({customOptions:{BooleanBox:nn},__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(e,{emit:t}){const o=e,n=t;let r=jt(o.initIndexs??[]);const s=(a,l)=>{const i=r.findIndex(u=>u===a);let c=!1;i>=0&&!l?(r.splice(i,1),c=!0):i<0&&l&&(r.push(a),c=!0),c&&n("change",r.map(u=>o.options[u]))};return(a,l)=>(A(!0),F(zt,null,we(a.options,(i,c)=>(A(),F("div",{class:"checkbox-group",key:c,style:N(["margin-left:"+(c>0?o.itemPadding:0)])},[J(nn,{selected:vt(r).findIndex(u=>u===c)>=0,disabled:a.disabledIndexs&&a.disabledIndexs.findIndex(u=>u===c)>=0,isRounded:o.isRounded,label:i,labelPadding:o.labelPadding,colorBackground:o.colorBackground,colorForeground:o.colorForeground,colorDisabled:o.colorDisabled,colorChangeMode:o.colorChangeMode,boxWidth:o.boxWidth,fontSize:o.fontSize,onChange:u=>s(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}
132
- `]],["__scopeId","data-v-f267549e"]]),Wp=nt(Y({__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(e,{emit:t}){const o=e,n=Fn(o.width),r=Fn(o.height),s=Fn(o.padding),a=r.number-s.number*2+r.suffix,l=o.padding,i=n.number-Fn(l).number-Fn(a).number+n.suffix,c=t,u=R(o.init);Pt(u,function(){c("change",u.value)});function f(){u.value=!u.value}return(d,h)=>(A(),F("div",{class:"switch",onClick:f,style:N(["width: "+o.width,"height: "+o.height,"background-color: "+(u.value?o.colorBgOn:o.colorBgOff)])},[k("span",{class:"round",style:N(["width: "+a,"height: "+a,"background-color: "+(u.value?o.colorPrimary:vt(_e)(o.colorPrimary).lighten(.5).toString()),"transform: translate("+(u.value?i:vt(l))+", 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)}
133
- `]],["__scopeId","data-v-fedd031c"]]),Kx=["onClick","value"],Qx={class:"option-inner"},qp=nt(Y({customOptions:{Icon:bo,Button:ne},__name:"Select.ce",props:{options:{},initIndex:{default:0},fontSize:{default:"14px"}},emits:["change"],setup(e,{emit:t}){const o=e,n=t;fe(()=>{yo(`
122
+ `,e.value)}),ue(()=>{}),(n,s)=>(I(),D("div",{class:"loading-7",ref_key:"loading7",ref:e},s[0]||(s[0]=[v("div",null,null,-1)]),512))}}),Sp=st(o2,[["styles",[`.loading-7[data-v-1689a97f]{position:relative;display:block;width:100%;height:100%}.loading-7>div[data-v-1689a97f]{width:50%;height:50%;margin:auto;position:absolute;inset:0}.loading-7>div[data-v-1689a97f]:before{content:"";width:100%;height:5px;box-sizing:border-box;background:#000;opacity:.1;position:absolute;top:calc(100% + 5px);left:0;border-radius:50%;animation:shadow-1689a97f .5s linear infinite}.loading-7>div[data-v-1689a97f]:after{content:"";width:100%;height:100%;animation:animate-1689a97f .5s linear infinite;position:absolute;inset:0;border-radius:3px;background-color:var(--loading-7-bg-color)}@keyframes animate-1689a97f{17%{border-bottom-right-radius:3px}25%{transform:translateY(9px) rotate(22.5deg)}50%{transform:translateY(18px) scaleY(.9) rotate(45deg);border-bottom-right-radius:40px}75%{transform:translateY(9px) rotate(67.5deg)}to{transform:translateY(0) rotate(90deg)}}@keyframes shadow-1689a97f{0%,to{transform:scale(1)}50%{transform:scaleX(1.2)}}
123
+ `]],["__scopeId","data-v-1689a97f"]]),n2={class:"loading-8"},s2={viewBox:"25 25 50 50"},r2=Y({__name:"Loading8.ce",props:{color:{default:Zt("--xg-blue")}},setup(o){const t=o;return(e,n)=>(I(),D("div",n2,[(I(),D("svg",s2,[v("circle",{cx:"50",cy:"50",r:"20",style:N(["stroke: "+t.color])},null,4)]))]))}}),uc=st(r2,[["styles",[`.loading-8[data-v-76be859d]{position:relative;display:inline-flex;justify-content:center;align-items:center;width:100%;height:100%}.loading-8 svg[data-v-76be859d]{transform-origin:center;animation:rotate-76be859d 2s linear infinite;width:50%;aspect-ratio:1 / 1}.loading-8 circle[data-v-76be859d]{fill:none;stroke-width:3;stroke-dasharray:1,200;stroke-dashoffset:0;stroke-linecap:round;animation:dash-76be859d 1.5s ease-in-out infinite}@keyframes rotate-76be859d{to{transform:rotate(360deg)}}@keyframes dash-76be859d{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,200;stroke-dashoffset:-35px}to{stroke-dashoffset:-125px}}
124
+ `]],["__scopeId","data-v-76be859d"]]),a2={class:"loading-9"},i2=Y({__name:"Loading9.ce",props:{color:{default:Zt("--xg-blue")}},setup(o){const e={borderTopColor:o.color};return(n,s)=>(I(),D("div",a2,[v("div",{style:e})]))}}),Op=st(i2,[["styles",[`.loading-9[data-v-73b7b3a1]{position:relative;display:inline-flex;justify-content:center;align-items:center;width:100%;height:100%}.loading-9 div[data-v-73b7b3a1]{width:50%;aspect-ratio:1 / 1;border:3px solid rgba(0,0,0,.1);border-radius:50%;animation:spin-73b7b3a1 1s linear infinite}@keyframes spin-73b7b3a1{to{transform:rotate(360deg)}}
125
+ `]],["__scopeId","data-v-73b7b3a1"]]),l2={class:"loading-10"},c2={viewBox:"0 0 50 50"},u2=Y({__name:"Loading10.ce",props:{color:{default:Zt("--xg-blue")}},setup(o){const t=o;return(e,n)=>(I(),D("div",l2,[(I(),D("svg",c2,[n[0]||(n[0]=v("circle",{class:"ring",cx:"25",cy:"25",r:"20",style:N(["stroke: rgba(0,0,0,0.1)"])},null,-1)),v("circle",{class:"ball",cx:"25",cy:"5",r:"3.5",style:N(["fill: "+t.color])},null,4)]))]))}}),Pp=st(u2,[["styles",[`.loading-10[data-v-cacbaf2e]{position:relative;display:inline-flex;justify-content:center;align-items:center;width:100%;height:100%}.loading-10 svg[data-v-cacbaf2e]{width:50%;aspect-ratio:1 / 1;transform-origin:center;animation:1.5s spin-cacbaf2e ease infinite}.ring[data-v-cacbaf2e]{fill:none;stroke-width:2}.ball[data-v-cacbaf2e]{stroke:none}@keyframes spin-cacbaf2e{to{transform:rotate(360deg)}}
126
+ `]],["__scopeId","data-v-cacbaf2e"]]),f2={class:"loading-11",ref:"loading11"},d2={class:"container container-1"},h2={class:"container container-2"},p2={class:"container container-3"},m2=Y({__name:"Loading11.ce",props:{color:{default:Zt("--xg-blue")},width:{default:"0.8em"}},setup(o){const t=o;return(e,n)=>(I(),D("div",f2,[v("div",{class:"loading-11-inner",style:N({width:t.width,height:t.width})},[v("div",d2,[v("div",{class:"dot dot-1",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-2",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-3",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-4",style:N({backgroundColor:t.color})},null,4)]),v("div",h2,[v("div",{class:"dot dot-1",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-2",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-3",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-4",style:N({backgroundColor:t.color})},null,4)]),v("div",p2,[v("div",{class:"dot dot-1",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-2",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-3",style:N({backgroundColor:t.color})},null,4),v("div",{class:"dot dot-4",style:N({backgroundColor:t.color})},null,4)])],4)],512))}}),fc=st(m2,[["styles",[`.loading-11[data-v-2b13c34d]{position:relative;display:inline-flex;justify-content:center;align-items:center;width:100%;height:100%}.loading-11-inner[data-v-2b13c34d]{position:relative}.loading-11-inner .container[data-v-2b13c34d]{position:absolute;width:100%;height:100%}.loading-11-inner .container .dot[data-v-2b13c34d]{width:20%;height:20%;border-radius:100%;position:absolute;animation:bouncedelay-2b13c34d 1.2s infinite ease-in-out;animation-fill-mode:both}.loading-11-inner .container .dot-1[data-v-2b13c34d]{top:0;left:0}.loading-11-inner .container .dot-2[data-v-2b13c34d]{top:0;right:0}.loading-11-inner .container .dot-3[data-v-2b13c34d]{right:0;bottom:0}.loading-11-inner .container .dot-4[data-v-2b13c34d]{left:0;bottom:0}.loading-11-inner .container-1 .dot-2[data-v-2b13c34d]{animation-delay:-.9s}.loading-11-inner .container-1 .dot-3[data-v-2b13c34d]{animation-delay:-.6s}.loading-11-inner .container-1 .dot-4[data-v-2b13c34d]{animation-delay:-.3s}.loading-11-inner .container-2[data-v-2b13c34d]{transform:rotate(45deg)}.loading-11-inner .container-2 .dot-1[data-v-2b13c34d]{animation-delay:-1.1s}.loading-11-inner .container-2 .dot-2[data-v-2b13c34d]{animation-delay:-.8s}.loading-11-inner .container-2 .dot-3[data-v-2b13c34d]{animation-delay:-.5s}.loading-11-inner .container-2 .dot-4[data-v-2b13c34d]{animation-delay:-.2s}.loading-11-inner .container-3[data-v-2b13c34d]{transform:rotate(90deg)}.loading-11-inner .container-3 .dot-1[data-v-2b13c34d]{animation-delay:-1s}.loading-11-inner .container-3 .dot-2[data-v-2b13c34d]{animation-delay:-.7s}.loading-11-inner .container-3 .dot-3[data-v-2b13c34d]{animation-delay:-.4s}.loading-11-inner .container-3 .dot-4[data-v-2b13c34d]{animation-delay:-.1s}@keyframes bouncedelay-2b13c34d{0%,80%,to{transform:scale(.3)}40%{transform:scale(1)}}
127
+ `]],["__scopeId","data-v-2b13c34d"]]),g2={key:0,class:"loading",style:{"margin-right":"6px"}},dc=.03,hc=.06,os=Y({customOptions:{Loading11:Ra},inheritAttrs:!0,__name:"Button.ce",props:{label:{},icon:{},iconPosition:{default:"left"},disabled:{type:Boolean,default:!1},width:{default:"auto"},height:{default:"44px"},padding:{default:"20px"},fontSize:{default:"16px"},fontWeight:{default:"normal"},borderRadius:{default:"4px"},stylePattern:{default:"fullfill"},fontColor:{},borderColor:{},bgColor:{},bgColorStart:{},bgColorEnd:{},asyncClick:{}},emits:["yz-click","click"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P(),a=Zt("--xg-blue","#5a82f0"),i=P(n.fontColor),l=P(n.borderColor),c=P(n.bgColor),u=P(i.value),f=P(l.value),d=P(c.value),h=P(n.bgColorStart||""),p=P(n.bgColorEnd||""),b=n.bgColorStart&&n.bgColorEnd;function x(B){switch(B){case"transparent":l.value=n.borderColor||"rgba(255,255,255,0)",c.value=n.bgColor||"rgba(255,255,255,0)",i.value=n.fontColor||a;break;case"outline":l.value=n.borderColor||a,c.value=n.bgColor||"rgba(255,255,255,0)",i.value=n.fontColor||a;break;case"fullfill":default:l.value=n.borderColor||"rgba(255,255,255,0)",c.value=n.bgColor||a,i.value=n.fontColor||Mt.set(c.value).opposite(!0).toString();break}u.value=i.value,f.value=l.value,d.value=c.value,b&&(h.value=n.bgColorStart,p.value=n.bgColorEnd,c.value=`linear-gradient(180deg, ${h.value} 0%, ${p.value} 100%)`)}Rt(()=>n.stylePattern,()=>{x(n.stylePattern)},{immediate:!0});const k=P(n.disabled?"0.6":"1"),g=P(n.disabled?"not-allowed":"pointer");let m=!1;const y=()=>{n.disabled||(m=!0,n.stylePattern=="transparent"&&(i.value=Mt.set(u.value).darken(dc).toString()),l.value=Mt.set(f.value).darken(dc).toString(),b?c.value=`linear-gradient(180deg, ${p.value} 0%, ${h.value} 100%)`:c.value=Mt.set(d.value).darken(dc).toString())},_=()=>{n.disabled||(m=!1,i.value=u.value,l.value=f.value,b?c.value=`linear-gradient(180deg, ${h.value} 0%, ${p.value} 100%)`:c.value=d.value)},w=P(!1),V=hl(()=>{n.disabled||w.value||(n.stylePattern=="transparent"&&(i.value=Mt.set(u.value).darken(hc).toString()),l.value=Mt.set(f.value).darken(hc).toString(),b?c.value=`linear-gradient(180deg, ${h.value} 0%, ${p.value} 100%)`:c.value=Mt.set(d.value).darken(hc).toString(),setTimeout(()=>{m?y():_()},150),s("yz-click"),s("click"),n.asyncClick&&(w.value=!0,n.asyncClick().then(()=>{w.value=!1}).catch(()=>{w.value=!1})))},300);return t({el:r}),(B,M)=>(I(),D("div",{ref_key:"el",ref:r,class:"button",style:N([`opacity: ${k.value}`,`border: 1px solid ${l.value}`,`background: ${c.value}`,`color: ${i.value}`,`border-radius: ${n.borderRadius}`,`width: ${n.width}`,`height: ${n.height}`,`line-height: ${n.height}`,`font-size: ${n.fontSize}`,`cursor: ${g.value}`,"user-select: none","box-sizing: border-box","display: inline-flex","justify-content: center","align-items: center","z-index: 0"]),onMouseover:y,onMouseleave:_,onClick:M[0]||(M[0]=(...ut)=>Tt(V)&&Tt(V)(...ut))},[v("label",{class:"label truncate",style:N({padding:"0 "+B.padding,cursor:g.value,display:"inline-flex",justifyContent:"center",alignItems:"center",fontWeight:n.fontWeight||"normal"})},[w.value?(I(),D("div",g2,[Z(Ra,{color:i.value},null,8,["color"])])):yt("",!0),mt(B.$slots,"default",{},()=>[B.icon&&B.iconPosition==="left"?(I(),dt(ts,{key:0,icon:B.icon,color:i.value,style:N({marginRight:"4px",cursor:g.value})},null,8,["icon","color","style"])):yt("",!0),v("span",{style:N({cursor:g.value})},ft(B.label),5),B.icon&&B.iconPosition==="right"?(I(),dt(ts,{key:1,icon:B.icon,color:i.value,style:N({marginLeft:"4px",cursor:g.value})},null,8,["icon","color","style"])):yt("",!0)])],4)],36))}}),y2=["stroke","fill"],v2=["stroke","fill"],b2=["stroke"],Ba=st(Y({customOptions:{},__name:"BooleanBox.ce",props:{selected:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},isRounded:{type:Boolean,default:!0},label:{default:""},labelPadding:{default:"2px"},colorBackground:{default:"#ffffff"},colorForeground:{default:"#5a82f0"},colorDisabled:{default:"#cccccc"},colorChangeMode:{default:"reverse"},boxWidth:{default:"20px"},fontSize:{default:"14px"}},emits:["change"],setup(o,{expose:t,emit:e}){const n=o,s=e;let r=P(n.selected),a=P(n.disabled),i=P(n.label);const l=()=>{switch(n.colorChangeMode){case"only-foreground":return a.value?n.colorDisabled:n.colorBackground;case"reverse":default:return a.value?n.colorDisabled:r.value?n.colorForeground:n.colorBackground}},c=()=>a.value?n.colorDisabled:Mt.set(l()).darken(.2).toString(),u=()=>{switch(n.colorChangeMode){case"only-foreground":return a.value?n.colorBackground:n.colorForeground;case"reverse":default:return r.value?n.colorBackground:n.colorForeground}},f=()=>{a.value||(h(),s("change",r.value))},d=g=>{g!==r.value&&(r.value=g)},h=()=>{r.value=!r.value};return t({setValue:d,toggleValue:h,getValue:()=>r.value,enable:()=>{a.value=!1},disable:()=>{a.value=!0},setLabel:g=>{i.value=g}}),(g,m)=>(I(),D("div",{class:Gt(["boolean-box",Tt(a)?"disabled":""]),onClick:f},[mt(g.$slots,"default",{selected:Tt(r),disabled:Tt(a),label:Tt(i)},()=>[(I(),D("svg",{viewBox:"0 0 24 24",fill:"none",class:"icon",style:N(["width:"+n.boxWidth])},[n.isRounded?yt("",!0):(I(),D("rect",{key:0,x:"0",y:"0",width:"22",height:"22","strke-width":"1",stroke:c(),fill:l()},null,8,y2)),n.isRounded?(I(),D("circle",{key:1,cx:"12",cy:"12",r:"11","strke-width":"1",stroke:c(),fill:l()},null,8,v2)):yt("",!0),Tt(r)?(I(),D("path",{key:2,d:"m7 13l3 3 7-7",stroke:u(),"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,b2)):yt("",!0)],4)),g.label?(I(),D("span",{key:0,style:N(["font-size:"+n.fontSize,"margin-left:"+n.labelPadding])},ft(g.label),5)):yt("",!0)],!0)],2))}}),[["styles",[`.boolean-box[data-v-3b6f7b07]{position:relative;display:inline-flex;justify-content:flex-start;align-items:center;cursor:pointer}.boolean-box.disabled[data-v-3b6f7b07]{cursor:not-allowed}.icon[data-v-3b6f7b07]{flex:0 0 auto;box-sizing:border-box;display:inline-flex;justify-content:flex-start;align-items:center;transition:border-color .2s ease-in-out,background-color .2s ease-in-out}
128
+ `]],["__scopeId","data-v-3b6f7b07"]]),_2=["stroke","fill"],x2=["stroke","fill"],k2=["stroke"],w2=Y({customOptions:{},__name:"BooleanBox",props:{selected:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},isRounded:{type:Boolean,default:!0},label:{default:""},labelPadding:{default:"2px"},colorBackground:{default:"#ffffff"},colorForeground:{default:"#5a82f0"},colorDisabled:{default:"#cccccc"},colorChangeMode:{default:"reverse"},boxWidth:{default:"20px"},fontSize:{default:"14px"}},emits:["change"],setup(o,{expose:t,emit:e}){const n=o,s=e;let r=P(n.selected),a=P(n.disabled),i=P(n.label);const l=()=>{switch(n.colorChangeMode){case"only-foreground":return a.value?n.colorDisabled:n.colorBackground;case"reverse":default:return a.value?n.colorDisabled:r.value?n.colorForeground:n.colorBackground}},c=()=>a.value?n.colorDisabled:Mt.set(l()).darken(.2).toString(),u=()=>{switch(n.colorChangeMode){case"only-foreground":return a.value?n.colorBackground:n.colorForeground;case"reverse":default:return r.value?n.colorBackground:n.colorForeground}},f=()=>{a.value||(h(),s("change",r.value))},d=g=>{g!==r.value&&(r.value=g)},h=()=>{r.value=!r.value};return t({setValue:d,toggleValue:h,getValue:()=>r.value,enable:()=>{a.value=!1},disable:()=>{a.value=!0},setLabel:g=>{i.value=g}}),(g,m)=>(I(),D("div",{class:Gt(["boolean-box",Tt(a)?"disabled":""]),onClick:f},[mt(g.$slots,"default",{selected:Tt(r),disabled:Tt(a),label:Tt(i)},()=>[(I(),D("svg",{viewBox:"0 0 24 24",fill:"none",class:"icon",style:N(["width:"+n.boxWidth])},[n.isRounded?yt("",!0):(I(),D("rect",{key:0,x:"0",y:"0",width:"22",height:"22","strke-width":"1",stroke:c(),fill:l()},null,8,_2)),n.isRounded?(I(),D("circle",{key:1,cx:"12",cy:"12",r:"11","strke-width":"1",stroke:c(),fill:l()},null,8,x2)):yt("",!0),Tt(r)?(I(),D("path",{key:2,d:"m7 13l3 3 7-7",stroke:u(),"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,k2)):yt("",!0)],4)),g.label?(I(),D("span",{key:0,style:N(["font-size:"+n.fontSize,"margin-left:"+n.labelPadding])},ft(g.label),5)):yt("",!0)],!0)],2))}}),jw="",rn=st(w2,[["__scopeId","data-v-4e49399c"]]),pc=st(Y({customOptions:{BooleanBox:rn},__name:"RadioGroup.ce",props:{options:{},disabledIndexs:{},initIndex:{default:0},isRounded:{type:Boolean,default:!0},colorBackground:{default:"#ffffff"},colorForeground:{default:"#5a82f0"},colorDisabled:{default:"#cccccc"},colorChangeMode:{default:"reverse"},fontSize:{default:"14px"},boxWidth:{default:"20px"},itemPadding:{default:"10px"},labelPadding:{default:"2px"}},emits:["change"],setup(o,{emit:t}){const e=o,n=t,s=P([]),r=(l,c)=>{l&&(s.value[c]=l)};let a=P(e.initIndex);const i=(l,c)=>{a.value!==l?(s.value[a.value].toggleValue(),c&&(a.value=l,n("change",e.options[a.value]))):c||s.value[a.value].setValue(!0)};return(l,c)=>(I(!0),D(Dt,null,Ee(l.options,(u,f)=>(I(),D("div",{class:"radio-group",key:f,style:N(["margin-left:"+(f>0?e.itemPadding:0)])},[Z(rn,{ref_for:!0,ref:d=>r(d,f),selected:Tt(a)==f,disabled:l.disabledIndexs&&l.disabledIndexs.findIndex(d=>d===f)>=0,isRounded:e.isRounded,label:u,labelPadding:e.labelPadding,colorBackground:e.colorBackground,colorForeground:e.colorForeground,colorDisabled:e.colorDisabled,colorChangeMode:e.colorChangeMode,boxWidth:e.boxWidth,fontSize:e.fontSize,onChange:d=>i(f,d)},null,8,["selected","disabled","isRounded","label","labelPadding","colorBackground","colorForeground","colorDisabled","colorChangeMode","boxWidth","fontSize","onChange"])],4))),128))}}),[["styles",[`.radio-group[data-v-4793f58f]{position:relative;display:inline-flex;justify-content:flex-start;align-items:center}
129
+ `]],["__scopeId","data-v-4793f58f"]]),mc=st(Y({customOptions:{BooleanBox:rn},__name:"CheckboxGroup.ce",props:{options:{},disabledIndexs:{},initIndexs:{},isRounded:{type:Boolean,default:!1},colorBackground:{default:"#ffffff"},colorForeground:{default:"#5a82f0"},colorDisabled:{default:"#cccccc"},colorChangeMode:{default:"reverse"},fontSize:{default:"14px"},boxWidth:{default:"20px"},itemPadding:{default:"10px"},labelPadding:{default:"2px"}},emits:["change"],setup(o,{emit:t}){const e=o,n=t;let s=Wt(e.initIndexs??[]);const r=(a,i)=>{const l=s.findIndex(u=>u===a);let c=!1;l>=0&&!i?(s.splice(l,1),c=!0):l<0&&i&&(s.push(a),c=!0),c&&n("change",s.map(u=>e.options[u]))};return(a,i)=>(I(!0),D(Dt,null,Ee(a.options,(l,c)=>(I(),D("div",{class:"checkbox-group",key:c,style:N(["margin-left:"+(c>0?e.itemPadding:0)])},[Z(rn,{selected:Tt(s).findIndex(u=>u===c)>=0,disabled:a.disabledIndexs&&a.disabledIndexs.findIndex(u=>u===c)>=0,isRounded:e.isRounded,label:l,labelPadding:e.labelPadding,colorBackground:e.colorBackground,colorForeground:e.colorForeground,colorDisabled:e.colorDisabled,colorChangeMode:e.colorChangeMode,boxWidth:e.boxWidth,fontSize:e.fontSize,onChange:u=>r(c,u)},null,8,["selected","disabled","isRounded","label","labelPadding","colorBackground","colorForeground","colorDisabled","colorChangeMode","boxWidth","fontSize","onChange"])],4))),128))}}),[["styles",[`.checkbox-group[data-v-f267549e]{position:relative;display:inline-flex;justify-content:flex-start;align-items:center}
130
+ `]],["__scopeId","data-v-f267549e"]]),Rp=st(Y({__name:"Switch.ce",props:{init:{type:Boolean,default:!1},width:{default:"44px"},height:{default:"26px"},padding:{default:"3px"},colorPrimary:{default:"#5a82f0"},colorBgOn:{default:"#efefef"},colorBgOff:{default:"#f5f5f5"}},emits:["change"],setup(o,{emit:t}){const e=o,n=Bn(e.width),s=Bn(e.height),r=Bn(e.padding),a=s.number-r.number*2+s.suffix,i=e.padding,l=n.number-Bn(i).number-Bn(a).number+n.suffix,c=t,u=P(e.init);Rt(u,function(){c("change",u.value)});function f(){u.value=!u.value}return(d,h)=>(I(),D("div",{class:"switch",onClick:f,style:N(["width: "+e.width,"height: "+e.height,"background-color: "+(u.value?e.colorBgOn:e.colorBgOff)])},[v("span",{class:"round",style:N(["width: "+a,"height: "+a,"background-color: "+(u.value?e.colorPrimary:Tt(Mt).set(e.colorPrimary).lighten(.5).toString()),"transform: translate("+(u.value?l:Tt(i))+", 0)"])},null,4)],4))}}),[["styles",[`.switch[data-v-69e8e457]{position:relative;display:inline-flex;align-items:center;flex-shrink:0;cursor:pointer;border-radius:9999px;box-sizing:border-box;transition:all .2s cubic-bezier(.4,0,.2,1)}.round[data-v-69e8e457]{pointer-events:none;display:inline-block;box-sizing:border-box;border-radius:9999px;transition:all .2s cubic-bezier(.4,0,.2,1)}
131
+ `]],["__scopeId","data-v-69e8e457"]]),C2={class:"options",style:{border:"1px solid #cccccc"}},T2=["onClick","value"],E2={class:"option-inner"},Ip=st(Y({customOptions:{Icon:ts,Button:ie},__name:"Select.ce",props:{options:{},initIndex:{default:0},fontSize:{default:"14px"}},emits:["change"],setup(o,{emit:t}){const e=o,n=t;pe(()=>{Co(`
134
132
  :root {
135
- --select-option-bg-color: ${kt.colorGrayFF};
136
- --select-option-bg-color-hover: ${kt.colorGrayF5};
133
+ --select-option-bg-color: #ffffff;
134
+ --select-option-bg-color-hover: #f5f5f5;
137
135
  }
138
- `)});const r=R(!1),s=R(o.initIndex);Pt(s,function(){n("change",s.value,o.options[s.value])});function a(){r.value=!r.value}function l(i){s.value=i,r.value=!1}return(i,c)=>(A(),F("div",{class:"select",style:N(["font-size:"+i.fontSize])},[k("div",{onClick:a},[dt(i.$slots,"button",{selectedIndex:s.value},()=>[J(ne,{icon:"carbon:chevron-sort",iconPosition:"right",label:i.options[s.value],style:{width:"100%"}},null,8,["label"])],!0)]),g0(k("div",{class:"options",style:N({border:"1px solid "+vt(kt).colorGrayCC})},[(A(!0),F(zt,null,we(i.options,(u,f)=>(A(),F("div",{onClick:d=>l(f),class:"option",key:f,value:f,style:N({borderTop:(f==0?"0":"1px")+" solid "+vt(kt).colorGrayCC})},[k("div",Qx,[dt(i.$slots,"default",{item:u,index:f},()=>[k("span",null,ut(u),1),f==s.value?(A(),ht(bo,{key:0,icon:"mingcute:check-fill",class:"icon"})):yt("",!0)],!0)])],12,Kx))),128))],4),[[lf,r.value]])],4))}}),[["styles",[`.select[data-v-fa255391]{display:inline-block;position:relative}.options[data-v-fa255391]{position:relative;width:100%;text-align:center;margin:0;padding:0;box-sizing:border-box;background-color:#fff}.option[data-v-fa255391]{cursor:pointer}.option-inner[data-v-fa255391]{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-fa255391]:hover{background-color:var(--select-option-bg-color-hover)}.icon[data-v-fa255391]{position:absolute;right:.5em;top:50%;transform:translateY(-50%)}
139
- `]],["__scopeId","data-v-fa255391"]]),Jx=["width","height"],t2=["fill"],wa=Y({__name:"SVGDown",props:{width:{default:"1em"},height:{},color:{default:kt.colorGrayCC}},setup(e){const t=e;return(o,n)=>(A(),F("svg",{viewBox:"0 0 20 20",width:t.width,height:t.height||t.width,style:{"transform-origin":"center"},fill:"none",xmlns:"http://www.w3.org/2000/svg"},[k("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,t2)],8,Jx))}}),e2={class:"button-default"},o2={class:"truncate"},n2=["onClick","value"],r2=Y({customOptions:{SVGDown:wa},__name:"SelectAbsolute.ce",props:{options:{},initIndex:{default:0},fontSize:{default:"16px"},bgColor:{default:kt.colorGrayFF},hoverColor:{default:kt.colorGrayF5},selectedColor:{default:kt.colorPrimary},fontColor:{default:kt.colorGray33},duration:{default:300}},emits:["change"],setup(e,{emit:t}){const o=e,n=t;fe(()=>{yo(`
136
+ `)});const s=P(!1),r=P(e.initIndex);Rt(r,function(){n("change",r.value,e.options[r.value])});function a(){s.value=!s.value}function i(l){r.value=l,s.value=!1}return(l,c)=>(I(),D("div",{class:"select",style:N(["font-size:"+l.fontSize])},[v("div",{onClick:a},[mt(l.$slots,"button",{selectedIndex:r.value},()=>[Z(ie,{icon:"carbon:chevron-sort",iconPosition:"right",label:l.options[r.value],style:{width:"100%"}},null,8,["label"])],!0)]),ig(v("div",C2,[(I(!0),D(Dt,null,Ee(l.options,(u,f)=>(I(),D("div",{onClick:d=>i(f),class:"option",key:f,value:f,style:N({borderTop:(f==0?"0":"1px")+" solid #cccccc"})},[v("div",E2,[mt(l.$slots,"default",{item:u,index:f},()=>[v("span",null,ft(u),1),f==r.value?(I(),dt(ts,{key:0,icon:"mingcute:check-fill",class:"icon"})):yt("",!0)],!0)])],12,T2))),128))],512),[[Bf,s.value]])],4))}}),[["styles",[`.select[data-v-b5769b65]{display:inline-block;position:relative}.options[data-v-b5769b65]{position:relative;width:100%;text-align:center;margin:0;padding:0;box-sizing:border-box;background-color:#fff}.option[data-v-b5769b65]{cursor:pointer}.option-inner[data-v-b5769b65]{padding:.5em 1em .5em .5em;display:flex;justify-content:center;align-items:center;position:relative;background-color:var(--select-option-bg-color)}.option-inner[data-v-b5769b65]:hover{background-color:var(--select-option-bg-color-hover)}.icon[data-v-b5769b65]{position:absolute;right:.5em;top:50%;transform:translateY(-50%)}
137
+ `]],["__scopeId","data-v-b5769b65"]]),S2=["width","height"],O2=["fill"],Va=Y({__name:"SVGDown",props:{width:{default:"1em"},height:{},color:{default:"#cccccc"}},setup(o){const t=o;return(e,n)=>(I(),D("svg",{viewBox:"0 0 20 20",width:t.width,height:t.height||t.width,style:{"transform-origin":"center"},fill:"none",xmlns:"http://www.w3.org/2000/svg"},[v("path",{"fill-rule":"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z","clip-rule":"evenodd",fill:t.color},null,8,O2)],8,S2))}}),P2={class:"button-default"},R2={class:"truncate"},I2=["onClick","value"],A2=Y({customOptions:{SVGDown:Va},__name:"SelectAbsolute.ce",props:{options:{},initIndex:{default:0},fontSize:{default:"16px"},bgColor:{default:"#ffffff"},hoverColor:{default:"#f5f5f5"},selectedColor:{default:Zt("--xg-blue")},fontColor:{default:"#333333"},duration:{default:300}},emits:["change"],setup(o,{emit:t}){const e=o,n=t;pe(()=>{Co(`
140
138
  :root {
141
- --select-option-bg-color: ${o.bgColor};
142
- --select-option-bg-color-hover: ${o.hoverColor};
139
+ --select-option-bg-color: ${e.bgColor};
140
+ --select-option-bg-color-hover: ${e.hoverColor};
143
141
  }
144
- `)});const r=R(!1),s=R(o.initIndex);Pt(s,function(){n("change",s.value,o.options[s.value])});function a(){r.value=!r.value}function l(c){s.value=c,r.value=!1}const i=R("rotate(-180deg)");return ki(()=>{i.value=r.value?"rotate(0deg)":"rotate(-90deg)"}),(c,u)=>(A(),F("div",{class:"select-absolute",style:N({fontSize:o.fontSize,backgroundColor:o.bgColor})},[k("div",{class:"select-absolute-button",onClick:a},[dt(c.$slots,"button",{selectedIndex:s.value},()=>[k("div",e2,[k("div",o2,ut(c.options[s.value]),1),J(wa,{class:"icon-down",width:"20px",style:N({transition:`transform ${o.duration}ms ease-in-out`,transform:i.value})},null,8,["style"])])],!0)]),k("div",{class:"options",style:N({maxHeight:r.value?"200px":0,transition:`all ${o.duration}ms ease-in-out`,borderTop:`${r.value?1:0}px solid #e6e6e6`})},[(A(!0),F(zt,null,we(c.options,(f,d)=>(A(),F("div",{onClick:h=>l(d),class:"option",key:d,value:d},[dt(c.$slots,"default",{item:f,index:d},()=>[k("div",{class:"option-default",style:N({color:s.value==d?o.selectedColor:o.fontColor})},ut(f),5)],!0)],8,n2))),128))],4)],4))}}),Kp=nt(r2,[["styles",[`.select-absolute[data-v-09b63393]{display:block;position:relative;width:100%}.select-absolute-button[data-v-09b63393]{overflow:hidden}.button-default[data-v-09b63393]{display:flex;justify-content:space-between;align-items:center;padding:0 10px 0 15px;height:44px;line-height:44px}.icon-down[data-v-09b63393]{flex:0 0 auto}.truncate[data-v-09b63393]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal;word-break:break-all}.options[data-v-09b63393]{position:absolute;bottom:0;left:0;transform:translateY(100%);z-index:99;width:100%;overflow-y:scroll;box-sizing:border-box}.options[data-v-09b63393]::-webkit-scrollbar{-webkit-appearance:none}.options[data-v-09b63393]::-webkit-scrollbar:vertical{width:2px}.options[data-v-09b63393]::-webkit-scrollbar-track{background-color:var(--select-option-bg-color)}.options[data-v-09b63393]::-webkit-scrollbar-thumb{border-radius:2px;background-color:#0000004d}.option[data-v-09b63393]{cursor:pointer}.option-default[data-v-09b63393]{padding:14px 15px;line-height:1;background-color:var(--select-option-bg-color)}.option-default[data-v-09b63393]:hover{background-color:var(--select-option-bg-color-hover)}
145
- `]],["__scopeId","data-v-09b63393"]]),s2=["width","height"],a2=["fill"],Qp=Y({__name:"SVGDelete",props:{width:{default:"16px"},height:{},color:{default:kt.colorPrimary}},setup(e){const t=e;return(o,n)=>(A(),F("svg",{viewBox:"0 0 24 24",width:t.width,height:t.height??t.width,xmlns:"http://www.w3.org/2000/svg",style:{"transform-origin":"center"}},[k("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,a2)],8,s2))}}),i2=Y({customOptions:{SVGDelete:Qp},inheritAttrs:!0,__name:"SlideLeftItem.ce",props:{deleteColor:{default:kt.colorRed},fontColor:{default:kt.colorGrayFF},borderRadius:{default:"4px"},deleteWidth:{default:"44px"},transtionDuration:{default:"150ms"}},emits:["delete"],setup(e,{expose:t,emit:o}){const n=e,r=o,s=R(!1),a=()=>{r("delete"),s.value=!1};let l;const i=R();return Pt(i,()=>{i.value&&(l=new Cn(i.value),l.on("panLeft",()=>{s.value=!0}),l.on("panRight",()=>{s.value=!1}),l.on("tapOutSide",()=>{s.value=!1}))}),se(()=>{l?.destroy()}),t({}),(c,u)=>(A(),F("div",{class:"parent",ref_key:"item",ref:i,style:N({borderRadius:n.borderRadius})},[k("div",{class:"content",style:N({transition:"all ease-in "+n.transtionDuration,transform:s.value?"translate(-"+n.deleteWidth+", 0)":"translate(0, 0)"})},[dt(c.$slots,"default",{},void 0,!0)],4),k("div",{class:"delete",onClick:a,style:N({backgroundColor:n.deleteColor,width:n.deleteWidth,transition:"all ease-in "+n.transtionDuration,transform:s.value?"translate(0, 0)":"translate("+n.deleteWidth+", 0)"})},[J(Qp,{color:n.fontColor},null,8,["color"])],4)],4))}}),Jp=nt(i2,[["styles",[`.parent[data-v-4042d51e]{position:relative;overflow:hidden;width:100%}.content[data-v-4042d51e]{width:100%;height:100%;overflow:hidden}.delete[data-v-4042d51e]{position:absolute;right:0;top:0;height:100%;display:flex;justify-content:center;align-items:center;cursor:pointer}
146
- `]],["__scopeId","data-v-4042d51e"]]),l2={class:"status-processing",style:{position:"relative",display:"inline-block",width:"12px",height:"12px",borderRadius:"50%",overflow:"hidden"}},c2=Y({customOptions:{CSSAnimation:Un},__name:"Status.ce",props:{status:{default:"processing"},color:{}},setup(e,{expose:t,emit:o}){const n=e;let r="";switch(n.status){case"wait":r="#d9d9d9";break;case"success":r="#52c41a";break;case"error":r="#ff4d4f";break;case"processing":default:r="#1677ff";break}return n.color&&(r=n.color),t({}),(s,a)=>(A(),F("div",l2,[s.status==="processing"?(A(),ht(Un,{key:0,name:"statusProcessing",containerType:"full",effectTriggerTiming:"immediate"},{default:st(()=>[k("div",{style:N({width:"100%",height:"100%",borderRadius:"50%",backgroundColor:vt(r)})},null,4)]),_:1})):yt("",!0),k("div",{style:N({position:"absolute",top:"3px",left:"3px",width:"6px",height:"6px",borderRadius:"50%",backgroundColor:vt(r)})},null,4)]))}}),u2={class:"icon"},th=nt(Y({customOptions:{SVGWarn:ia},inheritAttrs:!0,__name:"Text.ce",props:{type:{default:"none"},text:{default:""},color:{default:"#333333"}},setup(e,{expose:t}){const o=e,n=de(()=>o.type!=="none"),r=de(()=>o.type=="warn");return t({}),(s,a)=>(A(),F("div",{class:"text",style:N({color:o.color})},[k("div",u2,[dt(s.$slots,"icon",{},()=>[r.value?(A(),ht(ia,{key:0})):yt("",!0)],!0)]),k("div",{class:"ellipsis",style:N({marginLeft:n.value?"0.3em":"0"})},[dt(s.$slots,"default",{},()=>[Vt(ut(o.text),1)],!0)],4)],4))}}),[["styles",[`.text[data-v-4d59217f]{display:flex;justify-content:flex-start;align-items:center;font-size:1em;line-height:1;max-width:100%}.icon[data-v-4d59217f]{font-size:0;flex:0 0 auto}.ellipsis[data-v-4d59217f]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal;word-break:break-all}
147
- `]],["__scopeId","data-v-4d59217f"]]),f2={class:"input"},d2={key:0,class:"error-prompt-top"},p2={key:0,style:{paddingLeft:"0.5em"}},h2={key:1},m2=["type","required"],g2={key:1,class:"error-prompt-bottom"},eh=nt(Y({customOptions:{Text:vl},inheritAttrs:!0,__name:"Input.ce",props:{placeholder:{default:""},placeholderType:{default:"normal"},required:{type:Boolean,default:!1},showError:{type:Boolean,default:!0},validator:{},defaultValue:{},height:{default:"44px"},type:{default:"text"},borderColor:{default:"#cccccc"},focusColor:{default:"#5a82f0"},errorColor:{default:"#ff5050"},placeholderColor:{default:"#8f8f8f"},fontColor:{default:"#333333"},borderRadius:{default:"4px"},duration:{default:500}},emits:["focus","yz-focus","blur","yz-blur","input","yz-input","error","yz-error"],setup(e,{expose:t,emit:o}){const n=e,r=o,s=de(()=>n.placeholderType=="normal"),a=de(()=>n.placeholderType=="underline"),l=de(()=>n.placeholderType=="jump"),i=de(()=>n.placeholderType=="jump-each"),c=n.placeholder.split(""),u=n.duration/c.length,f=R(),d=R(!1),h=R(""),p=R(n.defaultValue||"");function w(){d.value=!0,r("focus"),r("yz-focus")}function x(){d.value=!1,r("blur"),r("yz-blur"),g()}function v(y){p.value=y.target.value,g()}function g(){if(p.value&&n.validator){const y=n.validator(p.value);if(!y.valid){h.value=y.errors[0],r("error",h.value),r("yz-error",h.value);return}}h.value="",p.value&&(r("input",p.value),r("yz-input",p.value))}return fe(()=>{n.defaultValue&&(f.value.value=n.defaultValue)}),se(()=>{}),t({}),(y,m)=>(A(),F("div",f2,[n.showError&&h.value&&!a.value?(A(),F("div",d2,[J(vl,{type:"warn",color:n.errorColor},{default:st(()=>[Vt(ut(h.value),1)]),_:1},8,["color"])])):yt("",!0),k("div",{class:Ut(["input-wrap",d.value||p.value?"focus":""])},[k("div",{class:"placeholder",style:N({lineHeight:d.value||p.value?1.3:n.height,color:n.placeholderColor,transition:s.value?"":n.duration+"ms",transform:s.value?"":d.value||p.value?"translateY(-100%)":"none"})},[!h.value&&s.value&&!d.value&&!p.value?(A(),F("div",p2,ut(n.placeholder),1)):yt("",!0),!h.value&&l.value?(A(),F("div",h2,ut(n.placeholder),1)):yt("",!0),!h.value&&i.value?(A(!0),F(zt,{key:2},we(vt(c),(_,C)=>(A(),F("span",{key:C,style:N({transition:n.duration+"ms cubic-bezier(0.68, -0.55, 0.265, 1.55)",transitionDelay:`${u*C}ms`,transform:d.value||p.value?`translateX(${100*C}%) translateY(-100%)`:`translateX(${100*C}%)`}),class:"single"},ut(_),5))),128)):yt("",!0)],4),k("input",{ref_key:"inputEl",ref:f,class:"input-raw",type:n.type,required:n.required,autocomplete:"off",style:N({height:n.height,lineHeight:n.height,color:n.fontColor,padding:a.value?"0.6em 0":"0.6em",border:`${a.value?"0":"1"}px solid transparent`,borderBottom:"1px solid transparent",borderRadius:a.value?"0":n.borderRadius,borderColor:h.value?n.errorColor:d.value?n.focusColor:p.value||s.value||a.value?n.borderColor:"transparent",transition:n.duration+"ms"}),onFocus:w,onBlur:x,onInput:v,onChange:v},null,44,m2),a.value?yt("",!0):(A(),F("div",{key:0,class:"background",style:N({transition:n.duration+"ms",backgroundColor:s.value||d.value||p.value?"transparent":n.borderColor,height:s.value||d.value||p.value?n.height:"2px",borderRadius:n.borderRadius})},null,4))],2),n.showError&&h.value&&a.value?(A(),F("div",g2,[J(vl,{type:"warn",color:n.errorColor},{default:st(()=>[Vt(ut(h.value),1)]),_:1},8,["color"])])):yt("",!0)]))}}),[["styles",[`.input[data-v-7b994853]{position:relative;box-sizing:border-box;font-size:1em}.error-prompt-top[data-v-7b994853]{width:100%;font-size:.75em;line-height:1;margin-bottom:.5em}.error-prompt-bottom[data-v-7b994853]{width:100%;font-size:.75em;line-height:1;margin-top:.5em}.input-wrap[data-v-7b994853]{position:relative;box-sizing:border-box}.input-raw[data-v-7b994853]{display:block;box-sizing:border-box;position:relative;width:100%;background:transparent;outline:none;box-shadow:none;z-index:10}.background[data-v-7b994853]{position:absolute;left:0;bottom:0;width:100%;pointer-events:none;z-index:9}.placeholder[data-v-7b994853]{position:absolute;left:0;top:0;width:100%;pointer-events:none}.focus .placeholder[data-v-7b994853]{font-size:.75em}.placeholder>div[data-v-7b994853]{width:100%;display:flex;justify-content:flex-start;align-items:center}.placeholder>span.single[data-v-7b994853]{position:absolute;left:0;top:0}
148
- `]],["__scopeId","data-v-7b994853"]]),y2=["max","min","step","value","autofocus"],v2={key:0,class:"label"},zl=nt(Y({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(e,{expose:t,emit:o}){const n=e,r=o,s=R(n.defaultValue),a=()=>Pe((s.value-n.min)/(n.max-n.min),4)*100,l=R(a());function i(f){s.value=Pe(f.target.value,2),l.value=a(),r("change",s.value)}const c=`
142
+ `)});const s=P(!1),r=P(e.initIndex);Rt(r,function(){n("change",r.value,e.options[r.value])});function a(){s.value=!s.value}function i(c){r.value=c,s.value=!1}const l=P("rotate(-180deg)");return Dn(()=>{l.value=s.value?"rotate(0deg)":"rotate(-90deg)"}),(c,u)=>(I(),D("div",{class:"select-absolute",style:N({fontSize:e.fontSize,backgroundColor:e.bgColor})},[v("div",{class:"select-absolute-button",onClick:a},[mt(c.$slots,"button",{selectedIndex:r.value},()=>[v("div",P2,[v("div",R2,ft(c.options[r.value]),1),Z(Va,{class:"icon-down",width:"20px",style:N({transition:`transform ${e.duration}ms ease-in-out`,transform:l.value})},null,8,["style"])])],!0)]),v("div",{class:"options",style:N({maxHeight:s.value?"200px":0,transition:`all ${e.duration}ms ease-in-out`,borderTop:`${s.value?1:0}px solid #e6e6e6`})},[(I(!0),D(Dt,null,Ee(c.options,(f,d)=>(I(),D("div",{onClick:h=>i(d),class:"option",key:d,value:d},[mt(c.$slots,"default",{item:f,index:d},()=>[v("div",{class:"option-default",style:N({color:r.value==d?e.selectedColor:e.fontColor})},ft(f),5)],!0)],8,I2))),128))],4)],4))}}),Ap=st(A2,[["styles",[`.select-absolute[data-v-d4388cc3]{display:block;position:relative;width:100%}.select-absolute-button[data-v-d4388cc3]{overflow:hidden}.button-default[data-v-d4388cc3]{display:flex;justify-content:space-between;align-items:center;padding:0 10px 0 15px;height:44px;line-height:44px}.icon-down[data-v-d4388cc3]{flex:0 0 auto}.truncate[data-v-d4388cc3]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal;word-break:break-all}.options[data-v-d4388cc3]{position:absolute;bottom:0;left:0;transform:translateY(100%);z-index:99;width:100%;overflow-y:scroll;box-sizing:border-box}.options[data-v-d4388cc3]::-webkit-scrollbar{-webkit-appearance:none}.options[data-v-d4388cc3]::-webkit-scrollbar:vertical{width:2px}.options[data-v-d4388cc3]::-webkit-scrollbar-track{background-color:var(--select-option-bg-color)}.options[data-v-d4388cc3]::-webkit-scrollbar-thumb{border-radius:2px;background-color:#0000004d}.option[data-v-d4388cc3]{cursor:pointer}.option-default[data-v-d4388cc3]{padding:14px 15px;line-height:1;background-color:var(--select-option-bg-color)}.option-default[data-v-d4388cc3]:hover{background-color:var(--select-option-bg-color-hover)}
143
+ `]],["__scopeId","data-v-d4388cc3"]]),$2={viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",style:{display:"block",transformOrigin:"center"}},N2=["fill"],$p=Y({__name:"SVGDelete",props:{color:{default:Zt("--xg-red","#fa503c")}},setup(o){const t=o;return(e,n)=>(I(),D("svg",$2,[v("path",{d:"M7 21q-.825 0-1.412-.587T5 19V6H4V4h5V3h6v1h5v2h-1v13q0 .825-.587 1.413T17 21zM17 6H7v13h10zM9 17h2V8H9zm4 0h2V8h-2zM7 6v13z",fill:t.color},null,8,N2)]))}}),F2={style:{width:"38%"}},z2=Y({customOptions:{SVGDelete:$p},inheritAttrs:!0,__name:"SlideLeftItem.ce",props:{deleteColor:{default:Zt("--xg-red","#fa503c")},borderRadius:{default:"4px"},deleteWidth:{default:"44px"},transtionDuration:{default:"150ms"}},emits:["delete"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P(!1),a=de(()=>Mt.set(n.deleteColor).opposite(!0).toString()),i=()=>{s("delete"),r.value=!1};function l(c){c.eb.on("panLeft",()=>{r.value=!0}),c.eb.on("panRight",()=>{r.value=!1}),c.eb.on("tapOutSide",()=>{r.value=!1})}return t({}),(c,u)=>(I(),dt(ht,{onReady:l,class:"slide-left-item",style:N({borderRadius:n.borderRadius})},{default:W(()=>[v("div",{class:"content",style:N({transition:"all ease-in "+n.transtionDuration,transform:r.value?"translate(-"+n.deleteWidth+", 0)":"translate(0, 0)"})},[mt(c.$slots,"default",{},void 0,!0)],4),v("div",{class:"delete",onClick:i,style:N({backgroundColor:n.deleteColor,width:n.deleteWidth,transition:"all ease-in "+n.transtionDuration,transform:r.value?"translate(0, 0)":"translate("+n.deleteWidth+", 0)"})},[v("div",F2,[Z($p,{color:a.value},null,8,["color"])])],4)]),_:3},8,["style"]))}}),Np=st(z2,[["styles",[`.content[data-v-dc11c411]{width:100%;height:100%;overflow:hidden}.delete[data-v-dc11c411]{position:absolute;right:0;top:0;height:100%;display:flex;justify-content:center;align-items:center;cursor:pointer}
144
+ `]],["__scopeId","data-v-dc11c411"]]),D2={class:"status-processing",style:{position:"relative",display:"inline-block",width:"12px",height:"12px",borderRadius:"50%",overflow:"hidden"}},M2=Y({customOptions:{CSSAnimation:es},__name:"Status.ce",props:{status:{default:"processing"},color:{}},setup(o,{expose:t,emit:e}){const n=o;let s="";switch(n.status){case"wait":s="#d9d9d9";break;case"success":s="#52c41a";break;case"error":s="#ff4d4f";break;case"processing":default:s="#1677ff";break}return n.color&&(s=n.color),t({}),(r,a)=>(I(),D("div",D2,[r.status==="processing"?(I(),dt(es,{key:0,name:"statusProcessing",containerType:"full",effectTriggerTiming:"immediate"},{default:W(()=>[v("div",{style:N({width:"100%",height:"100%",borderRadius:"50%",backgroundColor:Tt(s)})},null,4)]),_:1})):yt("",!0),v("div",{style:N({position:"absolute",top:"3px",left:"3px",width:"6px",height:"6px",borderRadius:"50%",backgroundColor:Tt(s)})},null,4)]))}}),L2={viewBox:"4 4 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",style:{display:"block",transformOrigin:"center"}},B2=["id"],V2=["stop-color"],Y2=["stop-color"],X2=["fill"],Z2=["fill"],U2=["fill"],an=Y({__name:"SVGWarn",props:{colorStart:{default:Zt("--xg-red","#fa503c")},colorEnd:{default:Zt("--xg-red-light","#fa8c78")}},setup(o){const t=o,e=de(()=>Mt.set(t.colorStart).opposite(!0).toString());return(n,s)=>(I(),D("svg",L2,[v("defs",null,[v("linearGradient",{id:`circle_bg_${n.colorStart}_${n.colorEnd}`,x1:"12",y1:"4",x2:"12",y2:"16",gradientUnits:"userSpaceOnUse"},[v("stop",{offset:"0","stop-color":n.colorStart},null,8,V2),v("stop",{offset:"1","stop-color":n.colorEnd},null,8,Y2)],8,B2)]),v("circle",{cx:"12",cy:"12",r:"8",fill:`url(#circle_bg_${n.colorStart}_${n.colorEnd})`},null,8,X2),v("path",{d:"M11.4666 8.80006C11.4666 8.50551 11.7053 8.26672 11.9999 8.26672C12.2944 8.26672 12.5332 8.50551 12.5332 8.80006V13.0667C12.5332 13.3613 12.2944 13.6001 11.9999 13.6001C11.7053 13.6001 11.4666 13.3613 11.4666 13.0667V8.80006Z",fill:e.value},null,8,Z2),v("path",{d:"M11.4666 15.2001C11.4666 14.9055 11.7053 14.6667 11.9999 14.6667C12.2944 14.6667 12.5332 14.9055 12.5332 15.2001C12.5332 15.4946 12.2944 15.7334 11.9999 15.7334C11.7053 15.7334 11.4666 15.4946 11.4666 15.2001Z",fill:e.value},null,8,U2)]))}}),H2={class:"icon"},Fp=st(Y({customOptions:{SVGWarn:an},inheritAttrs:!0,__name:"Text.ce",props:{type:{default:"none"},text:{default:""},color:{default:"#333333"}},setup(o,{expose:t}){const e=o,n=de(()=>e.type!=="none"),s=de(()=>e.type=="warn");return t({}),(r,a)=>(I(),D("div",{class:"text",style:N({color:e.color})},[v("div",H2,[mt(r.$slots,"icon",{},()=>[s.value?(I(),dt(an,{key:0})):yt("",!0)],!0)]),v("div",{class:"ellipsis",style:N({marginLeft:n.value?"0.3em":"0"})},[mt(r.$slots,"default",{},()=>[Bt(ft(e.text),1)],!0)],4)],4))}}),[["styles",[`.text[data-v-4d59217f]{display:flex;justify-content:flex-start;align-items:center;font-size:1em;line-height:1;max-width:100%}.icon[data-v-4d59217f]{font-size:0;flex:0 0 auto}.ellipsis[data-v-4d59217f]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal;word-break:break-all}
145
+ `]],["__scopeId","data-v-4d59217f"]]),j2={class:"icon"},G2=Y({customOptions:{SVGWarn:an},inheritAttrs:!0,__name:"Text",props:{type:{default:"none"},text:{default:""},color:{default:"#333333"}},setup(o,{expose:t}){const e=o,n=de(()=>e.type!=="none"),s=de(()=>e.type=="warn");return t({}),(r,a)=>(I(),D("div",{class:"text",style:N({color:e.color})},[v("div",j2,[mt(r.$slots,"icon",{},()=>[s.value?(I(),dt(an,{key:0})):yt("",!0)],!0)]),v("div",{class:"ellipsis",style:N({marginLeft:n.value?"0.3em":"0"})},[mt(r.$slots,"default",{},()=>[Bt(ft(e.text),1)],!0)],4)],4))}}),aC="",gc=st(G2,[["__scopeId","data-v-b1f6b1f2"]]),W2={class:"input"},q2={key:0,class:"error-prompt-top"},K2={key:0,style:{paddingLeft:"0.5em"}},Q2={key:1},J2=["type","required"],t3={key:1,class:"error-prompt-bottom"},zp=st(Y({customOptions:{Text:gc},inheritAttrs:!0,__name:"Input.ce",props:{placeholder:{default:""},placeholderType:{default:"normal"},required:{type:Boolean,default:!1},showError:{type:Boolean,default:!0},validator:{},defaultValue:{},height:{default:"44px"},type:{default:"text"},borderColor:{default:"#cccccc"},focusColor:{default:"#5a82f0"},errorColor:{default:"#ff5050"},placeholderColor:{default:"#8f8f8f"},fontColor:{default:"#333333"},borderRadius:{default:"4px"},duration:{default:500}},emits:["focus","yz-focus","blur","yz-blur","input","yz-input","error","yz-error"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=de(()=>n.placeholderType=="normal"),a=de(()=>n.placeholderType=="underline"),i=de(()=>n.placeholderType=="jump"),l=de(()=>n.placeholderType=="jump-each"),c=n.placeholder.split(""),u=n.duration/c.length,f=P(),d=P(!1),h=P(""),p=P(n.defaultValue||"");function b(){d.value=!0,s("focus"),s("yz-focus")}function x(){d.value=!1,s("blur"),s("yz-blur"),g()}function k(m){p.value=m.target.value,g()}function g(){if(p.value&&n.validator){const m=n.validator(p.value);if(!m.valid){h.value=m.errors[0],s("error",h.value),s("yz-error",h.value);return}}h.value="",p.value&&(s("input",p.value),s("yz-input",p.value))}return pe(()=>{n.defaultValue&&(f.value.value=n.defaultValue)}),ue(()=>{}),t({}),(m,y)=>(I(),D("div",W2,[n.showError&&h.value&&!a.value?(I(),D("div",q2,[Z(gc,{type:"warn",color:n.errorColor},{default:W(()=>[Bt(ft(h.value),1)]),_:1},8,["color"])])):yt("",!0),v("div",{class:Gt(["input-wrap",d.value||p.value?"focus":""])},[v("div",{class:"placeholder",style:N({lineHeight:d.value||p.value?1.3:n.height,color:n.placeholderColor,transition:r.value?"":n.duration+"ms",transform:r.value?"":d.value||p.value?"translateY(-100%)":"none"})},[!h.value&&r.value&&!d.value&&!p.value?(I(),D("div",K2,ft(n.placeholder),1)):yt("",!0),!h.value&&i.value?(I(),D("div",Q2,ft(n.placeholder),1)):yt("",!0),!h.value&&l.value?(I(!0),D(Dt,{key:2},Ee(Tt(c),(_,w)=>(I(),D("span",{key:w,style:N({transition:n.duration+"ms cubic-bezier(0.68, -0.55, 0.265, 1.55)",transitionDelay:`${u*w}ms`,transform:d.value||p.value?`translateX(${100*w}%) translateY(-100%)`:`translateX(${100*w}%)`}),class:"single"},ft(_),5))),128)):yt("",!0)],4),v("input",{ref_key:"inputEl",ref:f,class:"input-raw",type:n.type,required:n.required,autocomplete:"off",style:N({height:n.height,lineHeight:n.height,color:n.fontColor,padding:a.value?"0.6em 0":"0.6em",border:`${a.value?"0":"1"}px solid transparent`,borderBottom:"1px solid transparent",borderRadius:a.value?"0":n.borderRadius,borderColor:h.value?n.errorColor:d.value?n.focusColor:p.value||r.value||a.value?n.borderColor:"transparent",transition:n.duration+"ms"}),onFocus:b,onBlur:x,onInput:k,onChange:k},null,44,J2),a.value?yt("",!0):(I(),D("div",{key:0,class:"background",style:N({transition:n.duration+"ms",backgroundColor:r.value||d.value||p.value?"transparent":n.borderColor,height:r.value||d.value||p.value?n.height:"2px",borderRadius:n.borderRadius})},null,4))],2),n.showError&&h.value&&a.value?(I(),D("div",t3,[Z(gc,{type:"warn",color:n.errorColor},{default:W(()=>[Bt(ft(h.value),1)]),_:1},8,["color"])])):yt("",!0)]))}}),[["styles",[`.input[data-v-7b994853]{position:relative;box-sizing:border-box;font-size:1em}.error-prompt-top[data-v-7b994853]{width:100%;font-size:.75em;line-height:1;margin-bottom:.5em}.error-prompt-bottom[data-v-7b994853]{width:100%;font-size:.75em;line-height:1;margin-top:.5em}.input-wrap[data-v-7b994853]{position:relative;box-sizing:border-box}.input-raw[data-v-7b994853]{display:block;box-sizing:border-box;position:relative;width:100%;background:transparent;outline:none;box-shadow:none;z-index:10}.background[data-v-7b994853]{position:absolute;left:0;bottom:0;width:100%;pointer-events:none;z-index:9}.placeholder[data-v-7b994853]{position:absolute;left:0;top:0;width:100%;pointer-events:none}.focus .placeholder[data-v-7b994853]{font-size:.75em}.placeholder>div[data-v-7b994853]{width:100%;display:flex;justify-content:flex-start;align-items:center}.placeholder>span.single[data-v-7b994853]{position:absolute;left:0;top:0}
146
+ `]],["__scopeId","data-v-7b994853"]]),e3=["max","min","step","value","autofocus"],o3={key:0,class:"label"},yc=st(Y({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 n=o,s=e,r=P(n.defaultValue),a=()=>ke((r.value-n.min)/(n.max-n.min),4)*100,i=P(a());function l(f){r.value=ke(f.target.value,2),i.value=a(),s("change",r.value)}const c=`
149
147
  :root {
150
148
  --input-range-color: ${n.color};
151
149
  --input-range-thumb-size: ${n.handleSize};
@@ -156,25 +154,25 @@ ${JSON.stringify($,null,2)}
156
154
  --input-range-thumb-size: ${n.handleSize};
157
155
  --input-range-track-size: ${n.barHeight};
158
156
  }
159
- `,u=R();return Pt(u,()=>{u.value&&yo(c,u.value)}),se(()=>{}),t({}),(f,d)=>(A(),F("div",{class:"input-range",ref_key:"inputRangeContainer",ref:u},[k("input",{type:"range",max:n.max,min:n.min,step:n.step,value:s.value,autofocus:n.autofocus,onInput:i,style:N({background:`linear-gradient(to right, ${n.color} 0%, ${n.color} ${l.value}%, ${n.barColor} ${l.value}%, ${n.barColor})`})},null,44,y2),dt(f.$slots,"default",{value:s.value},()=>[f.showValue?(A(),F("label",v2,ut(s.value)+ut(n.unit),1)):yt("",!0)],!0)],512))}}),[["styles",[`.input-range[data-v-d547a5f1]{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-d547a5f1]{min-width:3em;text-align:right}input[type=range][data-v-d547a5f1]{flex:1 1 auto;-webkit-appearance:none;appearance:none;border-radius:9999px;margin:0;padding:0}input[type=range][data-v-d547a5f1]:focus{outline:none}input[type=range][data-v-d547a5f1]::-webkit-slider-runnable-track{height:var(--input-range-track-size);border-radius:9999px}input[type=range][data-v-d547a5f1]::-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}
160
- `]],["__scopeId","data-v-d547a5f1"]]),b2={key:0,class:"label"},_2=Y({customOptions:{Container:mt},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:Qo.inputColor},barColor:{default:Qo.numberColor},barHeight:{default:"20px"}},emits:["change"],setup(e,{expose:t,emit:o}){const n=e,r=o,s=R(n.defaultValue),a=()=>Pe(Oy(n.min,n.max,n.step)(s.value),2),l=()=>Pe((s.value-n.min)/(n.max-n.min),4)*100;s.value=a();const i=R(l()),c=R();function u(d){const h=async p=>{const w=await c.value.getSize();s.value=Pe(Sy(p,w.left,w.right,n.min,n.max),2),s.value=a(),i.value=l(),r("change",s.value)};d.captureDrag({start:p=>{h(p.clientX)},move:p=>{h(p.clientX)}})}const f=R();return fe(()=>{yo(`
157
+ `,u=P();return Rt(u,()=>{u.value&&Co(c,u.value)}),ue(()=>{}),t({}),(f,d)=>(I(),D("div",{class:"input-range",ref_key:"inputRangeContainer",ref:u},[v("input",{type:"range",max:n.max,min:n.min,step:n.step,value:r.value,autofocus:n.autofocus,onInput:l,style:N({background:`linear-gradient(to right, ${n.color} 0%, ${n.color} ${i.value}%, ${n.barColor} ${i.value}%, ${n.barColor})`})},null,44,e3),mt(f.$slots,"default",{value:r.value},()=>[f.showValue?(I(),D("label",o3,ft(r.value)+ft(n.unit),1)):yt("",!0)],!0)],512))}}),[["styles",[`.input-range[data-v-d547a5f1]{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-d547a5f1]{min-width:3em;text-align:right}input[type=range][data-v-d547a5f1]{flex:1 1 auto;-webkit-appearance:none;appearance:none;border-radius:9999px;margin:0;padding:0}input[type=range][data-v-d547a5f1]:focus{outline:none}input[type=range][data-v-d547a5f1]::-webkit-slider-runnable-track{height:var(--input-range-track-size);border-radius:9999px}input[type=range][data-v-d547a5f1]::-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}
158
+ `]],["__scopeId","data-v-d547a5f1"]]),n3={key:0,class:"label"},Dp=st(Y({customOptions:{Container:ht},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:"#2d2d2d"},barColor:{default:"#2FA1D6"},barHeight:{default:"20px"}},emits:["change"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P(n.defaultValue),a=()=>ke(v1(n.min,n.max,n.step)(r.value),2),i=()=>ke((r.value-n.min)/(n.max-n.min),4)*100;r.value=a();const l=P(i()),c=P();function u(d){const h=async p=>{const b=await c.value.getRect();r.value=ke(y1(p,b.left,b.right,n.min,n.max),2),r.value=a(),l.value=i(),s("change",r.value)};En(d,{start:p=>{h(p.clientX)},move:p=>{h(p.clientX)}})}const f=P();return pe(()=>{Co(`
161
159
  :root {
162
- --input-range-box-background-hover-color: ${_e(n.bgColor).lighten(.05).toString()};
163
- --input-range-box-foreground-hover-color: ${_e(n.barColor).lighten(.05).toString()};
160
+ --input-range-box-background-hover-color: ${Mt.set(n.bgColor).lighten(.05).toString()};
161
+ --input-range-box-foreground-hover-color: ${Mt.set(n.barColor).lighten(.05).toString()};
164
162
  }
165
163
  :host {
166
- --input-range-box-background-hover-color: ${_e(n.bgColor).lighten(.05).toString()};
167
- --input-range-box-foreground-hover-color: ${_e(n.barColor).lighten(.05).toString()};
164
+ --input-range-box-background-hover-color: ${Mt.set(n.bgColor).lighten(.05).toString()};
165
+ --input-range-box-foreground-hover-color: ${Mt.set(n.barColor).lighten(.05).toString()};
168
166
  }
169
- `,f.value)}),se(()=>{}),t({}),(d,h)=>(A(),F("div",{class:"input-range-box",ref_key:"r",ref:f},[k("div",{class:"box",style:N({height:n.barHeight,cursor:"ew-resize"})},[J(mt,{ref_key:"boxContainerRef",ref:c,type:"full",onReady:u},{default:st(()=>[k("div",{class:"background",style:N({backgroundColor:n.bgColor,width:"100%",height:"100%"})},null,4),k("div",{class:"foreground",style:N({backgroundColor:n.barColor,width:i.value+"%",height:"100%"})},null,4)]),_:1},512)],4),dt(d.$slots,"default",{value:s.value},()=>[d.showValue?(A(),F("label",b2,ut(s.value)+ut(n.unit),1)):yt("",!0)],!0)],512))}}),oh=nt(_2,[["styles",[`.input-range-box[data-v-809fb595]{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-809fb595]{min-width:3em;text-align:right}.box[data-v-809fb595]{flex:1 1 auto;position:relative}.foreground[data-v-809fb595]{position:absolute;left:0;top:0}.box:hover .background[data-v-809fb595]{background-color:var(--input-range-box-background-hover-color)!important}.box:hover .foreground[data-v-809fb595]{background-color:var(--input-range-box-foreground-hover-color)!important}
170
- `]],["__scopeId","data-v-809fb595"]]),nh=nt(Y({customOptions:{},inheritAttrs:!0,__name:"InputFileDrop.ce",props:{placeholder:{default:"drop file"}},emits:["yz-drop"],setup(e,{expose:t,emit:o}){const n=e,r=o,s=R(),a=R(!1);return fe(()=>{wv(s.value,{onEnter:()=>{a.value=!0},onLeave:()=>{a.value=!1},onDrop:(l,i)=>{r("yz-drop",i),a.value=!1}})}),se(()=>{}),t({}),(l,i)=>(A(),F("div",{class:Ut(["input-file-drop",[a.value?"over":""]]),ref_key:"zone",ref:s},[dt(l.$slots,"default",{},()=>[Vt(ut(n.placeholder),1)],!0)],2))}}),[["styles",[`.input-file-drop[data-v-87bef8e6]{width:100%;height:100%;display:flex;justify-content:center;align-items:center;border:2px dashed #ccc;color:#ccc}.input-file-drop.over[data-v-87bef8e6]{border-color:#000;color:#000}
171
- `]],["__scopeId","data-v-87bef8e6"]]),x2={class:"tabs"},k2=["onClick"],w2={class:"content"},rh=nt(Y({customOptions:{},inheritAttrs:!0,__name:"Tabs.ce",props:{labels:{},pages:{},initIndex:{default:0}},emits:["changedIndex"],setup(e,{expose:t,emit:o}){const n=e,r=o,s=R(n.initIndex),a=jt([]),l=R(),i=R(0),c=R(0),u=R(0),f=R([]),d=[],h=D0(),p=h.default&&h.default();p&&(wr(a,p),v(s.value));const w=(y,m)=>{if(y){if(d.push({index:m,el:y}),d.length<a.length)return;f.value=d}};Pt([l,f],()=>{x()});function x(){if(l.value&&f.value.length){const y=l.value.getBoundingClientRect(),m=f.value[s.value].el.getBoundingClientRect();i.value=m.x-y.x,c.value=m.y-y.y+m.height-2,u.value=m.width}}function v(y){s.value=y,r("changedIndex",y),x(),g.value.goto(y)}const g=R();return Pt(g,()=>{g.value&&g.value.reset(n.pages,()=>{g.value.goto(n.initIndex)})}),t({}),(y,m)=>(A(),F("div",x2,[k("div",{class:"header",ref_key:"headerRef",ref:l},[(A(!0),F(zt,null,we(n.labels,(_,C)=>(A(),F("div",{key:_,class:Ut(C==s.value?"active":""),onClick:M=>v(C)},[k("div",{ref_for:!0,ref:M=>w(M,C)},ut(_),513)],10,k2))),128)),k("div",{class:"indicator",style:N({top:c.value+"px",left:i.value+"px",width:u.value+"px",height:"2px"})},null,4)],512),k("div",w2,[J(Br,{ref_key:"routesRef",ref:g},null,512)])]))}}),[["styles",[`.tabs[data-v-50e63c9b]{display:flex;flex-direction:column;width:100%;height:100%}.content[data-v-50e63c9b]{flex:1 1 auto}.header[data-v-50e63c9b]{flex:0 0 auto;position:relative;display:flex;font-size:14px;line-height:1;color:#999;box-sizing:border-box}.header .active[data-v-50e63c9b]{color:#5a82f0}.header>div[data-v-50e63c9b]{flex:1 1 auto;cursor:pointer;text-align:center;display:flex;justify-content:center;align-items:center;font-weight:700;background-color:#fff;position:relative;box-sizing:border-box}.header>div>div[data-v-50e63c9b]{box-sizing:border-box;padding:10px 0}.header>div.indicator[data-v-50e63c9b]{display:inline-block;flex:0;position:absolute;background-color:#5a82f0;transition:all ease-out .2s}
172
- `]],["__scopeId","data-v-50e63c9b"]]),C2={class:"view-document"},T2=["src"],sh=nt(Y({inheritAttrs:!0,customOptions:{LayoutPage:Je},__name:"ViewDocument.ce",props:{src:{default:""},title:{default:""}},setup(e){const t=e,o=Np();nd(typeof o.params.title=="string"?o.params.title:t.title);const n=decodeURIComponent(typeof o.params.src=="string"?o.params.src:t.src);return(r,s)=>(A(),ht(Je,null,{default:st(()=>[k("div",C2,[k("img",{class:"img",src:vt(n)},null,8,T2)])]),_:1}))}}),[["styles",[`.view-document[data-v-50989546]{box-sizing:border-box;width:100%;padding:15px}.img[data-v-50989546]{width:100%}
173
- `]],["__scopeId","data-v-50989546"]]),Ca=nt(Y({__name:"ProgressBar.ce",props:{bgColor:{default:"#efefef"},progressColor:{default:"#a0dde9"},borderColor:{default:"#eeeeee"},borderRadius:{default:"4px"},showText:{type:Boolean,default:!1}},emits:["complete"],setup(e,{expose:t,emit:o}){const n=e,r=R(0);function s(a){r.value=Math.min(Math.max(0,a),100)}return t({goto:s}),(a,l)=>(A(),F("div",{class:"bar",style:N({border:`1px solid ${n.borderColor}`,borderRadius:n.borderRadius,backgroundColor:n.bgColor})},[k("div",{class:"bar-inner",style:N({width:r.value+"%",backgroundColor:n.progressColor})},ut(n.showText?r.value+"%":""),5)],4))}}),[["styles",[`.bar[data-v-3a3c124d]{position:relative;overflow:hidden;width:100%;height:100%}.bar-inner[data-v-3a3c124d]{position:absolute;top:0;left:0;width:0;height:100%;text-align:center;font-size:12px;display:flex;justify-content:center;align-items:center;color:#666}
174
- `]],["__scopeId","data-v-3a3c124d"]]),E2=Y({__name:"ProgressBar",props:{bgColor:{default:"#efefef"},progressColor:{default:"#a0dde9"},borderColor:{default:"#eeeeee"},borderRadius:{default:"4px"},showText:{type:Boolean,default:!1}},emits:["complete"],setup(e,{expose:t,emit:o}){const n=e,r=R(0);function s(a){r.value=Math.min(Math.max(0,a),100)}return t({goto:s}),(a,l)=>(A(),F("div",{class:"bar",style:N({border:`1px solid ${n.borderColor}`,borderRadius:n.borderRadius,backgroundColor:n.bgColor})},[k("div",{class:"bar-inner",style:N({width:r.value+"%",backgroundColor:n.progressColor})},ut(n.showText?r.value+"%":""),5)],4))}}),zw="",Ta=nt(E2,[["__scopeId","data-v-6caeec52"]]),S2={class:"page-vertical-scroll-progress-bar"},ah=nt(Y({customOptions:{ProgressBar:Ta},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(e,{expose:t,emit:o}){const n=e,r=o,s=R(),a=Cv();return a.on(()=>{const l=$v();r("progress",l),s.value?.goto(l)}),se(()=>{a.destroy()}),t({}),(l,i)=>(A(),F("div",S2,[J(Ta,{ref_key:"bar",ref:s,bgColor:n.bgColor,progressColor:n.progressColor,borderColor:n.borderColor,borderRadius:n.borderRadius,duringTimeGap:n.duringTimeGap,showText:n.showText},null,8,["bgColor","progressColor","borderColor","borderRadius","duringTimeGap","showText"])]))}}),[["styles",[`.page-vertical-scroll-progress-bar[data-v-470566ed]{position:relative;overflow:hidden;width:100%;height:100%}
175
- `]],["__scopeId","data-v-470566ed"]]),O2=["width","height"],P2=["src","type"],R2={class:"video-progress-bar"},ih=nt(Y({customOptions:{ProgressBar:Ta},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(e,{expose:t,emit:o}){const n=e,r=o;let s;function a(f){if(s){s.resume();return}s=new Ge({frameDuration:this.duration*1e3}),s.addTween({x:0},{x:100},{frames:1,delay:0,onStart:()=>{r("start"),i.value?.goto(0)},onUpdate:d=>{i.value?.goto(d.x)},onComplete:()=>{r("complete"),s=null}}),s.play()}const l=R(),i=R();Pt(l,()=>{l.value&&(l.value.addEventListener("play",a),n.autoplay&&al.tryAutoPlayOrAutoPlayAfterClick(l.value))}),se(()=>{l.value?.removeEventListener(a)});function c(){l.value?.play()}function u(){l.value?.pause(),s?.pause()}return t({play:c,pause:u}),(f,d)=>(A(),F("div",{class:"video",style:N({width:n.width,height:n.height}),onClick:c},[k("video",{ref_key:"video",ref:l,width:n.width,height:n.height,preload:"metadata"},[k("source",{src:n.src,type:n.type},null,8,P2)],8,O2),k("div",R2,[J(Ta,{ref_key:"bar",ref:i,bgColor:"#ffffff"},null,512)])],4))}}),[["styles",[`.video[data-v-986150b5]{position:relative;overflow:hidden;background-color:#f5f5f5}.video-progress-bar[data-v-986150b5]{position:absolute;bottom:0;left:0;width:100%;height:6px}
176
- `]],["__scopeId","data-v-986150b5"]]),I2=Y({customOptions:{Overlay:Jo,Container:mt},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:{}},emits:["open","close","resize","clickOverlay"],setup(e,{expose:t,emit:o}){const n=e,r=o,s=new Ge({frameDuration:n.dur}),a=jt({position:"absolute",overflow:"hidden",opacity:"1"}),l=R(!1),i=R("full");Pt(()=>[n.directionFrom,n.popValue],()=>{s.clear();const w=!n.popValue,x=n.popValue?n.popValue:100,v=n.popValue?"px":"%";switch(n.directionFrom){case"left":a.height="100%",w?delete a.width:a.width=`${x}${v}`,a.top="0",a.bottom="0",delete a.right,s.addTween({left:x},{left:0},{easeFunction:at.Quadratic.Out,onUpdate(g){a.left=`-${g.left}${v}`},onComplete:f});break;case"right":a.height="100%",w?delete a.width:a.width=`${x}${v}`,a.top="0",a.bottom="0",delete a.left,s.addTween({right:x},{right:0},{easeFunction:at.Quadratic.Out,onUpdate(g){a.right=`-${g.right}${v}`},onComplete:f});break;case"top":a.width="100%",w?delete a.height:a.height=`${x}${v}`,a.left="0",a.right="0",delete a.bottom,s.addTween({top:x},{top:0},{easeFunction:at.Quadratic.Out,onUpdate(g){a.top=`-${g.top}${v}`},onComplete:f});break;case"bottom":a.width="100%",w?delete a.height:a.height=`${x}${v}`,a.left="0",a.right="0",delete a.top,s.addTween({bottom:x},{bottom:0},{easeFunction:at.Quadratic.Out,onUpdate(g){a.bottom=`-${g.bottom}${v}`},onComplete:f});break;case"center":delete a.width,delete a.height,a.left="50%",delete a.right,a.top="50%",delete a.bottom,s.addTween({scale:.8,opacity:0},{scale:1,opacity:1},{easeFunction:at.Quadratic.Out,onUpdate(g){a.transform=`translate(-50%, -50%) scale(${g.scale})`,a.opacity=`${g.opacity}`},onComplete:f});break;case"absolute":a.width=n.absoluteWidth,a.height=n.absoluteHeight,a.left=n.absoluteLeft,a.top=n.absoluteTop,delete a.right,delete a.bottom;break}switch(n.directionFrom){case"center":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}w&&(i.value="shrink")},{immediate:!0}),Pt(()=>n.absoluteLeft,()=>{switch(n.directionFrom){case"absolute":a.left=n.absoluteLeft;break}}),Pt(()=>n.absoluteTop,()=>{switch(n.directionFrom){case"absolute":a.top=n.absoluteTop;break}}),Pt(()=>n.absoluteWidth,()=>{switch(n.directionFrom){case"absolute":a.width=n.absoluteWidth;break}}),Pt(()=>n.absoluteHeight,()=>{switch(n.directionFrom){case"absolute":a.height=n.absoluteHeight;break}});const c=(w,x,v)=>{r("resize",w,x,v)};let u="open";function f(){u=="open"?r("open"):(l.value=!1,r("close"))}function d(){l.value=!0,u="open",s.play()}function h(){switch(u="close",n.directionFrom){case"absolute":f();break;default:s.reverse();break}}function p(w){const x=n.directionFrom=="absolute"&&n.absoluteWidth=="100%"&&n.absoluteHeight=="100%"?"pop-content":"pop";w.target&&qs(w.target,x)&&(n.closeWhenClickOverlay&&h(),r("clickOverlay"))}return t({open:d,close:h}),(w,x)=>(A(),ht(Jo,{visible:l.value,isGlobal:n.isGlobal,color:n.overlayBgColor},{default:st(()=>[k("div",{class:"pop",style:{display:"block",position:"relative",width:"100%",height:"100%",overflow:"hidden"},onClick:p},[J(mt,{class:"pop-content",type:i.value,style:N(a),onResize:c},{default:st(()=>[dt(w.$slots,"default",{},()=>[x[0]||(x[0]=k("div",null,null,-1))])]),_:3},8,["type","style"])])]),_:3},8,["visible","isGlobal","color"]))}}),A2={class:"pop-tel"},$2=["href"],lh=nt(Y({customOptions:{Pop:ie},inheritAttrs:!0,__name:"PopTel.ce",props:{tel:{}},setup(e,{expose:t,emit:o}){const n=R();function r(){n.value?.open()}function s(){n.value?.close()}return t({open:r,close:s}),(a,l)=>(A(),ht(ie,{directionFrom:"bottom",closeWhenClickOverlay:!1,ref_key:"el",ref:n},{default:st(()=>[k("div",A2,[k("div",null,ut(a.tel),1),k("a",{class:"pop-tel-call",onClick:s,href:`tel:${a.tel}`}," 呼叫 ",8,$2),k("div",{class:"pop-tel-cancel",onClick:s}," 取消 ")])]),_:1},512))}}),[["styles",[`.pop-tel[data-v-63653ca8]{background-color:#fff;color:#333;border-top-left-radius:8px;border-top-right-radius:8px}.pop-tel>div[data-v-63653ca8],.pop-tel-call[data-v-63653ca8]{display:block;height:64px;line-height:64px;font-size:18px;text-align:center}.pop-tel-cancel[data-v-63653ca8],.pop-tel-call[data-v-63653ca8]{border-top:1px solid #e6e6e6}.pop-tel>div[data-v-63653ca8]:nth-child(1){color:#999}.pop-tel-call[data-v-63653ca8]{color:#333;font-weight:700}.pop-tel-call[data-v-63653ca8],.pop-tel-call[data-v-63653ca8]:link,.pop-tel-call[data-v-63653ca8]:visited,.pop-tel-call[data-v-63653ca8]:hover,.pop-tel-call[data-v-63653ca8]:active{-webkit-touch-callout:none;text-decoration:none}.pop-tel-call[data-v-63653ca8]:focus{outline:none}
177
- `]],["__scopeId","data-v-63653ca8"]]),ch=Y({customOptions:{Pop:ie,Button:ne,Container:mt},inheritAttrs:!0,__name:"Popover.ce",props:{gap:{default:10},isGlobal:{type:Boolean,default:!0},closeWhenClickOverlay:{type:Boolean,default:!0}},setup(e,{expose:t}){const o=e,n=R();function r(){n.value.open()}function s(){n.value.close()}const a=R(),l=R(0),i=R(0),c=R(0),u=R(0),f=(d,h)=>{if(c.value=d,u.value=h,!a.value)return;const p=Ir(),w=a.value.getBoundingClientRect();l.value=Math.max(o.gap,Math.min(w.x+w.width+o.gap,p.width-d-o.gap)),i.value=Math.max(o.gap,Math.min(w.y,p.height-h-o.gap))};return t({open:r,close:s}),(d,h)=>(A(),F(zt,null,[k("div",{ref_key:"popoverButtonRef",ref:a,class:"popover-button",style:{display:"inline-block"},onClick:r},[dt(d.$slots,"button",{},()=>[J(ne,null,{default:st(()=>h[0]||(h[0]=[Vt("popover")])),_:1})])],512),J(ie,{ref_key:"popRef",ref:n,"direction-from":"absolute",isGlobal:o.isGlobal,closeWhenClickOverlay:o.closeWhenClickOverlay},{default:st(()=>[k("div",{style:N({position:"absolute",left:l.value+"px",top:i.value+"px",width:c.value+"px",height:u.value+"px"})},[J(mt,{type:"shrink",onResize:f},{default:st(()=>[dt(d.$slots,"panel",{},()=>[h[1]||(h[1]=k("div",{style:{"background-color":"#ffffff"}},"...",-1))])]),_:3})],4)]),_:3},8,["isGlobal","closeWhenClickOverlay"])],64))}}),uh=Y({customOptions:{Pop:ie,Button:ne,Container:mt},inheritAttrs:!0,__name:"Popover",props:{gap:{default:10},isGlobal:{type:Boolean,default:!0},closeWhenClickOverlay:{type:Boolean,default:!0}},setup(e,{expose:t}){const o=e,n=R();function r(){n.value.open()}function s(){n.value.close()}const a=R(),l=R(0),i=R(0),c=R(0),u=R(0),f=(d,h)=>{if(c.value=d,u.value=h,!a.value)return;const p=Ir(),w=a.value.getBoundingClientRect();l.value=Math.max(o.gap,Math.min(w.x+w.width+o.gap,p.width-d-o.gap)),i.value=Math.max(o.gap,Math.min(w.y,p.height-h-o.gap))};return t({open:r,close:s}),(d,h)=>(A(),F(zt,null,[k("div",{ref_key:"popoverButtonRef",ref:a,class:"popover-button",style:{display:"inline-block"},onClick:r},[dt(d.$slots,"button",{},()=>[J(ne,null,{default:st(()=>h[0]||(h[0]=[Vt("popover")])),_:1})])],512),J(ie,{ref_key:"popRef",ref:n,"direction-from":"absolute",isGlobal:o.isGlobal,closeWhenClickOverlay:o.closeWhenClickOverlay},{default:st(()=>[k("div",{style:N({position:"absolute",left:l.value+"px",top:i.value+"px",width:c.value+"px",height:u.value+"px"})},[J(mt,{type:"shrink",onResize:f},{default:st(()=>[dt(d.$slots,"panel",{},()=>[h[1]||(h[1]=k("div",{style:{"background-color":"#ffffff"}},"...",-1))])]),_:3})],4)]),_:3},8,["isGlobal","closeWhenClickOverlay"])],64))}}),N2={class:"selector",style:{position:"relative",width:"124px",height:"106px",padding:"3px","background-color":"#222222","box-sizing":"border-box"}},D2={class:"hue-field",style:{width:"15px",height:"100px",cursor:"ns-resize",position:"absolute",top:"3px",right:"3px",background:`linear-gradient(
167
+ `,f.value)}),ue(()=>{}),t({}),(d,h)=>(I(),D("div",{class:"input-range-box",ref_key:"r",ref:f},[v("div",{class:"box",style:N({height:n.barHeight,cursor:"ew-resize"})},[Z(ht,{ref_key:"boxContainerRef",ref:c,type:"full",onReady:u},{default:W(()=>[v("div",{class:"background",style:N({backgroundColor:n.bgColor,width:"100%",height:"100%"})},null,4),v("div",{class:"foreground",style:N({backgroundColor:n.barColor,width:l.value+"%",height:"100%"})},null,4)]),_:1},512)],4),mt(d.$slots,"default",{value:r.value},()=>[d.showValue?(I(),D("label",n3,ft(r.value)+ft(n.unit),1)):yt("",!0)],!0)],512))}}),[["styles",[`.input-range-box[data-v-02386ba8]{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-02386ba8]{min-width:3em;text-align:right}.box[data-v-02386ba8]{flex:1 1 auto;position:relative}.foreground[data-v-02386ba8]{position:absolute;left:0;top:0}.box:hover .background[data-v-02386ba8]{background-color:var(--input-range-box-background-hover-color)!important}.box:hover .foreground[data-v-02386ba8]{background-color:var(--input-range-box-foreground-hover-color)!important}
168
+ `]],["__scopeId","data-v-02386ba8"]]),Mp=st(Y({customOptions:{},inheritAttrs:!0,__name:"InputFileDrop.ce",props:{placeholder:{default:"drop file"}},emits:["yz-drop"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P(),a=P(!1);return pe(()=>{pv(r.value,{onEnter:()=>{a.value=!0},onLeave:()=>{a.value=!1},onDrop:(i,l)=>{s("yz-drop",l),a.value=!1}})}),ue(()=>{}),t({}),(i,l)=>(I(),D("div",{class:Gt(["input-file-drop",[a.value?"over":""]]),ref_key:"zone",ref:r},[mt(i.$slots,"default",{},()=>[Bt(ft(n.placeholder),1)],!0)],2))}}),[["styles",[`.input-file-drop[data-v-87bef8e6]{width:100%;height:100%;display:flex;justify-content:center;align-items:center;border:2px dashed #ccc;color:#ccc}.input-file-drop.over[data-v-87bef8e6]{border-color:#000;color:#000}
169
+ `]],["__scopeId","data-v-87bef8e6"]]),s3={class:"tabs"},r3=["onClick"],a3={class:"content"},Lp=st(Y({customOptions:{},inheritAttrs:!0,__name:"Tabs.ce",props:{labels:{},pages:{},initIndex:{default:0}},emits:["changedIndex"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P(n.initIndex),a=Wt([]),i=P(),l=P(0),c=P(0),u=P(0),f=P([]),d=[],h=Eg(),p=h.default&&h.default();p&&(Ln(a,p),k(r.value));const b=(m,y)=>{if(m){if(d.push({index:y,el:m}),d.length<a.length)return;f.value=d}};Rt([i,f],()=>{x()});function x(){if(i.value&&f.value.length){const m=i.value.getBoundingClientRect(),y=f.value[r.value].el.getBoundingClientRect();l.value=y.x-m.x,c.value=y.y-m.y+y.height-2,u.value=y.width}}function k(m){r.value=m,s("changedIndex",m),x(),g.value.goto(m)}const g=P();return Rt(g,()=>{g.value&&g.value.reset(n.pages,()=>{g.value.goto(n.initIndex)})}),t({}),(m,y)=>(I(),D("div",s3,[v("div",{class:"header",ref_key:"headerRef",ref:i},[(I(!0),D(Dt,null,Ee(n.labels,(_,w)=>(I(),D("div",{key:_,class:Gt(w==r.value?"active":""),onClick:$=>k(w)},[v("div",{ref_for:!0,ref:$=>b($,w)},ft(_),513)],10,r3))),128)),v("div",{class:"indicator",style:N({top:c.value+"px",left:l.value+"px",width:u.value+"px",height:"2px"})},null,4)],512),v("div",a3,[Z(Qs,{ref_key:"routesRef",ref:g},null,512)])]))}}),[["styles",[`.tabs[data-v-50e63c9b]{display:flex;flex-direction:column;width:100%;height:100%}.content[data-v-50e63c9b]{flex:1 1 auto}.header[data-v-50e63c9b]{flex:0 0 auto;position:relative;display:flex;font-size:14px;line-height:1;color:#999;box-sizing:border-box}.header .active[data-v-50e63c9b]{color:#5a82f0}.header>div[data-v-50e63c9b]{flex:1 1 auto;cursor:pointer;text-align:center;display:flex;justify-content:center;align-items:center;font-weight:700;background-color:#fff;position:relative;box-sizing:border-box}.header>div>div[data-v-50e63c9b]{box-sizing:border-box;padding:10px 0}.header>div.indicator[data-v-50e63c9b]{display:inline-block;flex:0;position:absolute;background-color:#5a82f0;transition:all ease-out .2s}
170
+ `]],["__scopeId","data-v-50e63c9b"]]),i3={class:"view-document"},l3=["src"],Bp=st(Y({inheritAttrs:!0,customOptions:{LayoutPage:eo},__name:"ViewDocument.ce",props:{src:{default:""},title:{default:""}},setup(o){const t=o,e=Hh();Yd(typeof e.params.title=="string"?e.params.title:t.title);const n=decodeURIComponent(typeof e.params.src=="string"?e.params.src:t.src);return(s,r)=>(I(),dt(eo,null,{default:W(()=>[v("div",i3,[v("img",{class:"img",src:Tt(n)},null,8,l3)])]),_:1}))}}),[["styles",[`.view-document[data-v-50989546]{box-sizing:border-box;width:100%;padding:15px}.img[data-v-50989546]{width:100%}
171
+ `]],["__scopeId","data-v-50989546"]]),Ya=st(Y({__name:"ProgressBar.ce",props:{bgColor:{default:"#efefef"},progressColor:{default:"#a0dde9"},borderColor:{default:"#eeeeee"},borderRadius:{default:"4px"},showText:{type:Boolean,default:!1}},emits:["complete"],setup(o,{expose:t,emit:e}){const n=o,s=P(0);function r(a){s.value=Math.min(Math.max(0,a),100)}return t({goto:r}),(a,i)=>(I(),D("div",{class:"bar",style:N({border:`1px solid ${n.borderColor}`,borderRadius:n.borderRadius,backgroundColor:n.bgColor})},[v("div",{class:"bar-inner",style:N({width:s.value+"%",backgroundColor:n.progressColor})},ft(n.showText?s.value+"%":""),5)],4))}}),[["styles",[`.bar[data-v-3a3c124d]{position:relative;overflow:hidden;width:100%;height:100%}.bar-inner[data-v-3a3c124d]{position:absolute;top:0;left:0;width:0;height:100%;text-align:center;font-size:12px;display:flex;justify-content:center;align-items:center;color:#666}
172
+ `]],["__scopeId","data-v-3a3c124d"]]),c3=Y({__name:"ProgressBar",props:{bgColor:{default:"#efefef"},progressColor:{default:"#a0dde9"},borderColor:{default:"#eeeeee"},borderRadius:{default:"4px"},showText:{type:Boolean,default:!1}},emits:["complete"],setup(o,{expose:t,emit:e}){const n=o,s=P(0);function r(a){s.value=Math.min(Math.max(0,a),100)}return t({goto:r}),(a,i)=>(I(),D("div",{class:"bar",style:N({border:`1px solid ${n.borderColor}`,borderRadius:n.borderRadius,backgroundColor:n.bgColor})},[v("div",{class:"bar-inner",style:N({width:s.value+"%",backgroundColor:n.progressColor})},ft(n.showText?s.value+"%":""),5)],4))}}),xC="",Xa=st(c3,[["__scopeId","data-v-6caeec52"]]),u3={class:"page-vertical-scroll-progress-bar"},Vp=st(Y({customOptions:{ProgressBar:Xa},inheritAttrs:!0,__name:"PageVerticalScrollProgressBar.ce",props:{bgColor:{default:"#efefef"},progressColor:{default:"#07B56D"},borderColor:{default:"transparent"},borderRadius:{default:"4px"},duringTimeGap:{default:1},showText:{type:Boolean,default:!1}},emits:["progress"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P(),a=kv(()=>{const i=mv();s("progress",i),r.value?.goto(i)});return ue(()=>{a()}),t({}),(i,l)=>(I(),D("div",u3,[Z(Xa,{ref_key:"bar",ref:r,bgColor:n.bgColor,progressColor:n.progressColor,borderColor:n.borderColor,borderRadius:n.borderRadius,duringTimeGap:n.duringTimeGap,showText:n.showText},null,8,["bgColor","progressColor","borderColor","borderRadius","duringTimeGap","showText"])]))}}),[["styles",[`.page-vertical-scroll-progress-bar[data-v-2ef8b3bf]{position:relative;overflow:hidden;width:100%;height:100%}
173
+ `]],["__scopeId","data-v-2ef8b3bf"]]),f3=["width","height"],d3=["src","type"],h3={class:"video-progress-bar"},Yp=st(Y({customOptions:{ProgressBar:Xa},inheritAttrs:!0,__name:"Video.ce",props:{src:{},type:{default:"video/webm"},autoplay:{type:Boolean,default:!0},width:{default:"320px"},height:{default:"138px"}},emits:["start","complete"],setup(o,{expose:t,emit:e}){const n=o,s=e;let r;function a(f){if(r){r.resume();return}r=new Ze({frameDuration:this.duration*1e3}),r.addTween({x:0},{x:100},{frames:1,delay:0,onStart:()=>{s("start"),l.value?.goto(0)},onUpdate:d=>{l.value?.goto(d.x)},onComplete:()=>{s("complete"),r=null}}),r.play()}const i=P(),l=P();Rt(i,()=>{i.value&&(i.value.addEventListener("play",a),n.autoplay&&zl.tryAutoPlayOrAutoPlayAfterClick(i.value))}),ue(()=>{i.value?.removeEventListener(a)});function c(){i.value?.play()}function u(){i.value?.pause(),r?.pause()}return t({play:c,pause:u}),(f,d)=>(I(),D("div",{class:"video",style:N({width:n.width,height:n.height}),onClick:c},[v("video",{ref_key:"video",ref:i,width:n.width,height:n.height,preload:"metadata"},[v("source",{src:n.src,type:n.type},null,8,d3)],8,f3),v("div",h3,[Z(Xa,{ref_key:"bar",ref:l,bgColor:"#ffffff"},null,512)])],4))}}),[["styles",[`.video[data-v-986150b5]{position:relative;overflow:hidden;background-color:#f5f5f5}.video-progress-bar[data-v-986150b5]{position:absolute;bottom:0;left:0;width:100%;height:6px}
174
+ `]],["__scopeId","data-v-986150b5"]]),p3=Y({customOptions:{Overlay:sn,Container:ht},inheritAttrs:!0,__name:"Pop.ce",props:{closeWhenClickOverlay:{type:Boolean,default:!0},directionFrom:{default:"bottom"},absoluteLeft:{default:"0px"},absoluteTop:{default:"0px"},absoluteWidth:{default:"100%"},absoluteHeight:{default:"100%"},dur:{default:200},global:{type:Boolean,default:!0},overlayBgColor:{},popValue:{}},emits:["open","close","resize","clickOverlay"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=new Ze({frameDuration:n.dur}),a=Wt({position:"absolute",opacity:"1",transformOrigin:"center",willChange:"transform"}),i=P(!1),l=P("full");Rt(()=>[n.directionFrom,n.popValue],()=>{r.clear();const b=!n.popValue,x=n.popValue?n.popValue:100,k=n.popValue?"px":"%";switch(n.directionFrom){case"left":a.height="100%",b?delete a.width:a.width=`${x}${k}`,a.top="0",a.bottom="0",delete a.right,r.addTween({left:x},{left:0},{easeFunction:at.Quadratic.Out,onUpdate(g){a.left=`-${g.left}${k}`},onComplete:f});break;case"right":a.height="100%",b?delete a.width:a.width=`${x}${k}`,a.top="0",a.bottom="0",delete a.left,r.addTween({right:x},{right:0},{easeFunction:at.Quadratic.Out,onUpdate(g){a.right=`-${g.right}${k}`},onComplete:f});break;case"top":a.width="100%",b?delete a.height:a.height=`${x}${k}`,a.left="0",a.right="0",delete a.bottom,r.addTween({top:x},{top:0},{easeFunction:at.Quadratic.Out,onUpdate(g){a.top=`-${g.top}${k}`},onComplete:f});break;case"bottom":a.width="100%",b?delete a.height:a.height=`${x}${k}`,a.left="0",a.right="0",delete a.top,r.addTween({bottom:x},{bottom:0},{easeFunction:at.Quadratic.Out,onUpdate(g){a.bottom=`-${g.bottom}${k}`},onComplete:f});break;case"center":delete a.width,delete a.height,a.left="50%",delete a.right,a.top="50%",delete a.bottom,r.addTween({scale:.8,opacity:0},{scale:1,opacity:1},{easeFunction:at.Quadratic.Out,onUpdate(g){a.transform=`translate(-50%, -50%) scale(${g.scale})`,a.opacity=`${g.opacity}`},onComplete:f});break;case"absolute":a.width=n.absoluteWidth,a.height=n.absoluteHeight,a.left=n.absoluteLeft,a.top=n.absoluteTop,delete a.right,delete a.bottom;break}switch(n.directionFrom){case"center":l.value="shrink",a.transform="translate(-50%, -50%)";break;case"absolute":l.value="shrink",delete a.transform,delete a.opacity;break;default:l.value="full",delete a.transform,delete a.opacity;break}b&&(l.value="shrink")},{immediate:!0}),Rt(()=>n.absoluteLeft,()=>{switch(n.directionFrom){case"absolute":a.left=n.absoluteLeft;break}}),Rt(()=>n.absoluteTop,()=>{switch(n.directionFrom){case"absolute":a.top=n.absoluteTop;break}}),Rt(()=>n.absoluteWidth,()=>{switch(n.directionFrom){case"absolute":a.width=n.absoluteWidth;break}}),Rt(()=>n.absoluteHeight,()=>{switch(n.directionFrom){case"absolute":a.height=n.absoluteHeight;break}});const c=b=>{s("resize",b.rect)};let u="open";function f(){u=="open"?s("open"):(i.value=!1,s("close"))}function d(){i.value=!0,u="open",r.play()}function h(){switch(u="close",n.directionFrom){case"absolute":f();break;default:r.reverse();break}}function p(b){const x=n.directionFrom=="absolute"&&n.absoluteWidth=="100%"&&n.absoluteHeight=="100%"?"pop-content":"pop";b.target&&ga(b.target,x)&&(n.closeWhenClickOverlay&&h(),s("clickOverlay"))}return t({open:d,close:h}),(b,x)=>(I(),dt(sn,{visible:i.value,global:n.global,color:n.overlayBgColor},{default:W(()=>[v("div",{class:"pop",style:{display:"block",position:"relative",width:"100%",height:"100%"},onClick:p},[Z(ht,{class:"pop-content",type:l.value,style:N(a),onReady:c,onUpdate:c},{default:W(()=>[mt(b.$slots,"default",{},()=>[x[0]||(x[0]=v("div",null,null,-1))])]),_:3},8,["type","style"])])]),_:3},8,["visible","global","color"]))}}),m3={class:"pop-tel"},g3=["href"],Xp=st(Y({customOptions:{Pop:ce},inheritAttrs:!0,__name:"PopTel.ce",props:{tel:{}},setup(o,{expose:t,emit:e}){const n=P();function s(){n.value?.open()}function r(){n.value?.close()}return t({open:s,close:r}),(a,i)=>(I(),dt(ce,{directionFrom:"bottom",closeWhenClickOverlay:!1,ref_key:"el",ref:n},{default:W(()=>[v("div",m3,[v("div",null,ft(a.tel),1),v("a",{class:"pop-tel-call",onClick:r,href:`tel:${a.tel}`}," 呼叫 ",8,g3),v("div",{class:"pop-tel-cancel",onClick:r}," 取消 ")])]),_:1},512))}}),[["styles",[`.pop-tel[data-v-63653ca8]{background-color:#fff;color:#333;border-top-left-radius:8px;border-top-right-radius:8px}.pop-tel>div[data-v-63653ca8],.pop-tel-call[data-v-63653ca8]{display:block;height:64px;line-height:64px;font-size:18px;text-align:center}.pop-tel-cancel[data-v-63653ca8],.pop-tel-call[data-v-63653ca8]{border-top:1px solid #e6e6e6}.pop-tel>div[data-v-63653ca8]:nth-child(1){color:#999}.pop-tel-call[data-v-63653ca8]{color:#333;font-weight:700}.pop-tel-call[data-v-63653ca8],.pop-tel-call[data-v-63653ca8]:link,.pop-tel-call[data-v-63653ca8]:visited,.pop-tel-call[data-v-63653ca8]:hover,.pop-tel-call[data-v-63653ca8]:active{-webkit-touch-callout:none;text-decoration:none}.pop-tel-call[data-v-63653ca8]:focus{outline:none}
175
+ `]],["__scopeId","data-v-63653ca8"]]),Zp=Y({customOptions:{Pop:ce,Button:ie,Container:ht},inheritAttrs:!0,__name:"Popover.ce",props:{gap:{default:10},global:{type:Boolean,default:!0},closeWhenClickOverlay:{type:Boolean,default:!0}},setup(o,{expose:t}){const e=o,n=P(),s=P(0),r=P(0),a=P(0),i=P(0),l=P();function c(){l.value.open()}function u(){l.value.close()}const f=d=>{const h=d.rect;if(a.value=h.width,i.value=h.height,!n.value)return;const p=Vs(),b=n.value.getBoundingClientRect();s.value=Math.max(e.gap,Math.min(b.x+b.width+e.gap,p.width-h.width-e.gap)),r.value=Math.max(e.gap,Math.min(b.y,p.height-h.height-e.gap))};return t({open:c,close:u}),(d,h)=>(I(),D(Dt,null,[v("div",{ref_key:"popoverButtonRef",ref:n,class:"popover-button",style:{display:"inline-block"},onClick:c},[mt(d.$slots,"button",{},()=>[Z(ie,null,{default:W(()=>h[0]||(h[0]=[Bt("popover")])),_:1})])],512),Z(ce,{ref_key:"popRef",ref:l,"direction-from":"absolute",global:e.global,closeWhenClickOverlay:e.closeWhenClickOverlay},{default:W(()=>[v("div",{style:N({position:"absolute",left:s.value+"px",top:r.value+"px",width:a.value+"px",height:i.value+"px"})},[Z(ht,{type:"shrink",onReady:f,onUpdate:f},{default:W(()=>[mt(d.$slots,"panel",{},()=>[h[1]||(h[1]=v("div",{style:{"background-color":"#ffffff"}},"...",-1))])]),_:3})],4)]),_:3},8,["global","closeWhenClickOverlay"])],64))}}),Up=Y({customOptions:{Pop:ce,Button:ie,Container:ht},inheritAttrs:!0,__name:"Popover",props:{gap:{default:10},global:{type:Boolean,default:!0},closeWhenClickOverlay:{type:Boolean,default:!0}},setup(o,{expose:t}){const e=o,n=P(),s=P(0),r=P(0),a=P(0),i=P(0),l=P();function c(){l.value.open()}function u(){l.value.close()}const f=d=>{const h=d.rect;if(a.value=h.width,i.value=h.height,!n.value)return;const p=Vs(),b=n.value.getBoundingClientRect();s.value=Math.max(e.gap,Math.min(b.x+b.width+e.gap,p.width-h.width-e.gap)),r.value=Math.max(e.gap,Math.min(b.y,p.height-h.height-e.gap))};return t({open:c,close:u}),(d,h)=>(I(),D(Dt,null,[v("div",{ref_key:"popoverButtonRef",ref:n,class:"popover-button",style:{display:"inline-block"},onClick:c},[mt(d.$slots,"button",{},()=>[Z(ie,null,{default:W(()=>h[0]||(h[0]=[Bt("popover")])),_:1})])],512),Z(ce,{ref_key:"popRef",ref:l,"direction-from":"absolute",global:e.global,closeWhenClickOverlay:e.closeWhenClickOverlay},{default:W(()=>[v("div",{style:N({position:"absolute",left:s.value+"px",top:r.value+"px",width:a.value+"px",height:i.value+"px"})},[Z(ht,{type:"shrink",onReady:f,onUpdate:f},{default:W(()=>[mt(d.$slots,"panel",{},()=>[h[1]||(h[1]=v("div",{style:{"background-color":"#ffffff"}},"...",-1))])]),_:3})],4)]),_:3},8,["global","closeWhenClickOverlay"])],64))}}),y3={class:"selector",style:{position:"relative",width:"124px",height:"106px",padding:"3px","background-color":"#222222","box-sizing":"border-box"}},v3={class:"hue-field",style:{width:"15px",height:"100px",cursor:"ns-resize",position:"absolute",top:"3px",right:"3px",background:`linear-gradient(
178
176
  to bottom,
179
177
  rgb(255, 0, 0) 0%,
180
178
  rgb(255, 0, 255) 17%,
@@ -183,56 +181,57 @@ ${JSON.stringify($,null,2)}
183
181
  rgb(0, 255, 0) 67%,
184
182
  rgb(255, 255, 0) 84%,
185
183
  rgb(255, 0, 0) 100%
186
- )`,"box-sizing":"border-box"}},F2=Y({customOptions:{Popover:uh,Container:mt},__name:"ColorPicker.ce",props:{color:{default:"#5a82f0"}},emits:["change"],setup(e,{expose:t,emit:o}){const n=e,r=o,s=R(),a=new De(n.color),l=new De(n.color),i=R(a.toString()),c=R(a.opposite(!0).toString()),u=R(l.toString()),f=R(l.opposite(!0).toString()),d=R(l.h),h=R(a.s),p=R(a.v);function w(g){g&&(a.setColor(g),l.setColor(g)),i.value=a.toString(),c.value=a.opposite(!0).toString(),u.value=l.toString(),f.value=l.opposite(!0).toString(),d.value=l.h,h.value=a.s,p.value=a.v}const x=g=>{const y=(m,_)=>{l.h=(1-_.y/g.height)*360,a.h=l.h,w()};g.captureDrag({start:y,move:y})},v=g=>{const y=(m,_)=>{a.s=_.x/g.width,a.v=1-_.y/g.height,w()};g.captureDrag({start:y,move:y,end:()=>{r("change",i.value),s.value.close(),il(i.value).then(()=>{})}})};return t({setColor:w}),(g,y)=>(A(),ht(uh,{ref_key:"popover",ref:s,closeWhenClickOverlay:!1},{button:st(()=>[dt(g.$slots,"default",{},()=>[k("span",{style:N([{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:i.value,color:c.value}])},ut(i.value),5)])]),panel:st(()=>[k("div",N2,[k("div",{class:"saturation-field",style:N([{position:"relative",width:"100px",height:"100px",display:"inline-block",cursor:"pointer","box-sizing":"border-box"},{background:`linear-gradient(
184
+ )`,"box-sizing":"border-box"}},b3=Y({customOptions:{Popover:Up,Container:ht},__name:"ColorPicker.ce",props:{color:{default:"#5a82f0"}},emits:["change"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P(),a=new Ie(n.color),i=new Ie(n.color),l=P(""),c=P(""),u=P(""),f=P(""),d=P(0),h=P(0),p=P(0),b=P(0),x=P(0),k=P(0);function g(){l.value=a.toString(),c.value=Mt.set(a).opposite(!0).toString(),u.value=i.toString(),f.value=Mt.set(i).opposite(!0).toString();const _=i.getHSV(),w=a.getHSV();d.value=_.h,h.value=w.s,p.value=w.v,b.value=(1-d.value)*100,x.value=100*h.value-6,k.value=100*(1-p.value)-6}g();const m=_=>{const w=()=>{if(!_.mousePoint.isDown)return;const $=Vt(1-_.mousePoint.y/_.rect.height,0,1);i.setHSV($,h.value,p.value),a.setHSV($,h.value,p.value),g()};En(_,{start:w,move:w})},y=_=>{const w=()=>{_.mousePoint.isDown&&(a.setHSV(d.value,_.mousePoint.x/_.rect.width,1-_.mousePoint.y/_.rect.height),g())};En(_,{start:w,move:w,end:()=>{s("change",l.value),r.value.close(),Dl(l.value).then(()=>{})}})};return t({}),(_,w)=>(I(),dt(Up,{ref_key:"popover",ref:r,closeWhenClickOverlay:!1},{button:W(()=>[mt(_.$slots,"default",{},()=>[v("span",{style:N([{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}])},ft(l.value),5)])]),panel:W(()=>[v("div",y3,[v("div",{class:"saturation-field",style:N([{position:"relative",width:"100px",height:"100px",display:"inline-block",cursor:"pointer","box-sizing":"border-box"},{background:`linear-gradient(
187
185
  to right,
188
186
  rgb(255, 255, 255) 0%,
189
187
  ${u.value} 100%
190
- )`}])},[J(mt,{type:"full",onReady:v},{default:st(()=>[y[0]||(y[0]=k("div",{style:{width:"100%",height:"100%",background:`linear-gradient(
188
+ )`}])},[Z(ht,{type:"full",onReady:y},{default:W(()=>[w[0]||(w[0]=v("div",{style:{width:"100%",height:"100%",background:`linear-gradient(
191
189
  to bottom,
192
190
  rgba(0, 0, 0, 0) 0%,
193
191
  rgb(0, 0, 0) 100%
194
- )`,"box-sizing":"border-box"}},null,-1)),k("div",{class:"field-knob",style:N([{position:"absolute",width:"12px",height:"12px","box-shadow":"rgba(0, 0, 0, 0.5) 0px 1px 3px","border-radius":"12px","z-index":"1",cursor:"pointer","box-sizing":"border-box"},{left:100*h.value-6+"px",top:100*(1-p.value)-6+"px",backgroundColor:i.value,border:`2px solid ${c.value}`}])},null,4)]),_:1})],4),k("div",D2,[J(mt,{type:"full",onReady:x},{default:st(()=>[k("div",{class:"hue-knob",style:N([{position:"absolute",width:"15px",height:"2px","z-index":"1","box-sizing":"border-box"},{marginTop:(1-d.value/360)*100+"px",borderRight:"4px solid "+f.value}])},null,4)]),_:1})])])]),_:3},512))}}),L2={class:"dialog-parent"},z2={key:0,class:"title"},M2={key:0,class:"title-inner truncate"},B2={class:"custom-content"},Y2={class:"custom-content-default"},V2={key:1,class:"btns"},Ea=nt(Y({customOptions:{Overlay:Jo,Pop:ie,Icon:bo,Button:ne},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(e,{expose:t,emit:o}){const n=e,r=o,s=R(),a=R(""),l=R(""),i=R(!1),c=R(""),u=R("");let f,d,h;const p=()=>{r("open")},w=()=>{f?.(),r("close")};function x(m){a.value=m?.title||"",l.value=m?.content||"",i.value=typeof m?.showClose=="boolean"?m?.showClose:!1,c.value=m?.cancelText||"",u.value=m?.confirmText||"",f=m?.onClose,d=m?.onCancel,h=m?.onConfirm,s.value.open()}function v(){s.value.close()}function g(){v(),d?.(),r("cancel")}function y(){v(),h?.(),r("confirm")}return t({open:x,close:v}),(m,_)=>(A(),ht(ie,{ref_key:"popRef",ref:s,directionFrom:"center",closeWhenClickOverlay:n.closeWhenClickOverlay,dur:n.dur,overlayBgColor:n.overlayBgColor,onOpen:p,onClose:w},{default:st(()=>[k("div",L2,[k("div",{class:"dialog",style:N({minWidth:n.minWidth,maxWidth:n.maxWidth})},[a.value||i.value?(A(),F("div",z2,[a.value?(A(),F("div",M2,ut(a.value),1)):yt("",!0),i.value?(A(),F("div",{key:1,class:"close",onClick:v},[J(bo,{icon:"ic:baseline-close",color:vt(kt).colorGrayCC},null,8,["color"])])):yt("",!0)])):yt("",!0),k("div",B2,[dt(m.$slots,"default",{},()=>[k("div",Y2,ut(l.value),1)],!0)]),c.value||u.value?(A(),F("div",V2,[c.value?(A(),ht(ne,{key:0,onClick:g,class:"btn",bgColor:vt(kt).colorGrayE6,borderColor:vt(kt).colorGrayE6,fontColor:vt(kt).colorGray33,borderRadius:"0"},{default:st(()=>[Vt(ut(c.value),1)]),_:1},8,["bgColor","borderColor","fontColor"])):yt("",!0),u.value?(A(),ht(ne,{key:1,onClick:y,class:"btn",borderRadius:"0"},{default:st(()=>[Vt(ut(u.value),1)]),_:1})):yt("",!0)])):yt("",!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}
195
- `]],["__scopeId","data-v-061fc404"]]),X2={class:"loading"},Z2={class:"icon"},G2={style:{width:"8em"}},U2={key:0,class:"content"},fh=nt(Y({customOptions:{Overlay:Jo,Pop:ie,Dialog:aa,Loading8:Vd},inheritAttrs:!0,__name:"DialogLoading.ce",props:{closeWhenClickOverlay:{type:Boolean,default:!1},dur:{default:200}},emits:["open","close"],setup(e,{expose:t,emit:o}){const n=e,r=o,s=R(),a=R(""),l=()=>{r("open")},i=()=>{r("close")};function c(f){a.value=f||"",s.value.open()}function u(){s.value.close()}return t({open:c,close:u}),(f,d)=>(A(),ht(aa,{ref_key:"dialogRef",ref:s,showConfirm:!1,showTitle:!1,closeWhenClickOverlay:n.closeWhenClickOverlay,dur:n.dur,onOpen:l,onClose:i},{default:st(()=>[k("div",X2,[k("div",Z2,[dt(f.$slots,"default",{},()=>[k("div",G2,[J(Vd)])],!0)]),a.value?(A(),F("div",U2,ut(a.value),1)):yt("",!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}
196
- `]],["__scopeId","data-v-2227dca8"]]),j2={class:"toast"},H2={class:"content"},dh=nt(Y({customOptions:{Overlay:Jo,Pop:ie,Dialog:aa},inheritAttrs:!0,__name:"DialogToast.ce",props:{closeWhenClickOverlay:{type:Boolean,default:!1},dur:{default:200}},emits:["open","close"],setup(e,{expose:t,emit:o}){const n=e,r=o,s=R(),a=R(""),l=()=>{r("open")},i=()=>{r("close")};function c(f,d=1500){a.value=f,s.value.open(),setTimeout(()=>{u()},d)}function u(){s.value.close()}return t({open:c,close:u}),(f,d)=>(A(),ht(aa,{ref_key:"dialogRef",ref:s,showConfirm:!1,showTitle:!1,closeWhenClickOverlay:n.closeWhenClickOverlay,dur:n.dur,overlayBgColor:"transparent",minWidth:"10em",onOpen:l,onClose:i},{default:st(()=>[k("div",j2,[k("div",H2,ut(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}
197
- `]],["__scopeId","data-v-c02c226c"]]),W2=Y({customOptions:{Container:mt,CSSAnimation:Un},inheritAttrs:!0,__name:"Page.ce",props:{effect:{default:"moveFromLeft"},duration:{default:500},easeFunction:{type:Function,default:at.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["ready","pageOpenStart","pageOpenEnd","pageCloseStart","pageCloseEnd"],setup(e,{expose:t,emit:o}){const n=e,r=o,s=R(),a=jt({}),l=()=>{r("ready",C,M)},i=()=>{w()},c=R();let u="rotateRightSideFirst",f=n.effect;function d(X,G){switch(f){case"static":G();break;default:X();break}}let h=!1;const p=new Ge,w=()=>{const X={},G={};p.clear(),p.frameDuration=n.duration,d(()=>{u=f},()=>{p.addTween(X,G,{delay:n.delay/n.duration,easeFunction:n.easeFunction,onStart:()=>{r(h?"pageCloseStart":"pageOpenStart")},onUpdate:V=>{a.transform="","x"in V&&(a.transform+=` translateX(${V.x}%)`),"y"in V&&(a.transform+=` translateY(${V.y}%)`),"rx"in V&&(a.transform+=` rotateX(${V.rx}deg)`),"ry"in V&&(a.transform+=` rotateY(${V.ry}deg)`),"scale"in V&&(a.transform+=` scale(${V.scale})`),"opacity"in V&&(a.opacity=`${V.opacity}`)},onComplete:()=>{r(h?"pageCloseEnd":"pageOpenEnd")}})})};Pt(()=>[n.effect,n.delay,n.duration,n.easeFunction],()=>{f=n.effect,w()},{immediate:!0});const x=()=>{r(h?"pageCloseStart":"pageOpenStart")},v=()=>{r(h?"pageCloseEnd":"pageOpenEnd")},g=()=>{d(()=>{c.value.trigger(u)},()=>{p.play()})},y=()=>{d(()=>{c.value.triggerReverse(u)},()=>{p.reverse()})},m=()=>{a.transform="none",a.opacity="1"};function _(){d(()=>{m()},()=>{c.value?.clear()})}const C=X=>{X&&(f=X,w()),h=!1,_(),g()},M=X=>{X&&(f=X,w()),h=!0,_(),y()};return t({open:C,close:M,clear:m,getElement:()=>s.value.getElement()}),(X,G)=>(A(),ht(mt,{class:"page",ref_key:"pageRef",ref:s,type:"full",effectTriggerTiming:"manual",style:{overflow:"hidden",width:"100%",height:"100%"},onReady:l,onResize:i},{default:st(()=>[J(Un,{ref_key:"cssAnimationRef",ref:c,containerType:"full",effectTriggerTiming:"manual",duration:n.duration,delay:n.delay,timingFunction:n.timingFunction,onCssanimationstart:x,onCssanimationend:v},{default:st(()=>[k("div",{class:"page-inner",style:N({position:"relative",display:"block",width:"100%",height:"100%",overflow:"scroll",backfaceVisibility:"hidden",transformStyle:"preserve-3d",...a})},[dt(X.$slots,"default")],4)]),_:3},8,["duration","delay","timingFunction"])]),_:3},512))}}),ph=Y({customOptions:{Page:ma,Container:mt},inheritAttrs:!0,__name:"Routes.ce",props:{effect:{default:"moveToLeft"},duration:{default:500},easeFunction:{type:Function,default:at.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["routeChangeStart","routeChangeEnd","renderComplete"],setup(e,{expose:t,emit:o}){const n=e,r=o;let s=-1,a=-1,l;const i=[];let c=[],u=[],f=[];function d(tt){return tt>=0&&tt<c.length}function h(){return a>s}function p(tt,I,te){switch(tt){case s:return h()?I:te;case a:return h()?te:I;default:return"static"}}function w(tt,I){switch(tt){case"moveToLeft":return p(I,"moveToLeft","moveFromRight");case"moveToRight":return p(I,"moveToRight","moveFromLeft");case"moveToTop":return p(I,"moveToTop","moveFromBottom");case"moveToBottom":return p(I,"moveToBottom","moveFromTop");case"moveFromLeftPrevFade":return p(I,"fade","moveFromLeft");case"moveFromRightPrevFade":return p(I,"fade","moveFromRight");case"moveFromTopPrevFade":return p(I,"fade","moveFromTop");case"moveFromBottomPrevFade":return p(I,"fade","moveFromBottom");case"moveToLeftFade":return p(I,"moveToLeftFade","moveFromRightFade");case"moveToRightFade":return p(I,"moveToRightFade","moveFromLeftFade");case"moveToTopFade":return p(I,"moveToTopFade","moveFromBottomFade");case"moveToBottomFade":return p(I,"moveToBottomFade","moveFromTopFade");case"moveToLeftEasing":return p(I,"moveToLeft","moveFromRight");case"moveToRightEasing":return p(I,"moveToRight","moveFromLeft");case"moveToTopEasing":return p(I,"moveToTop","moveFromBottom");case"moveToBottomEasing":return p(I,"moveToBottom","moveFromTop");case"moveFromLeftPrevScaleToSmall":return p(I,"scaleToSmall","moveFromLeft");case"moveFromRightPrevScaleToSmall":return p(I,"scaleToSmall","moveFromRight");case"moveFromTopPrevScaleToSmall":return p(I,"scaleToSmall","moveFromTop");case"moveFromBottomPrevScaleToSmall":return p(I,"scaleToSmall","moveFromBottom");case"scaleSmall":return p(I,"scaleToSmall","scaleFromLarge");case"scaleLarge":return p(I,"scaleToLarge","scaleFromSmall");case"scaleToLargePrevScaleToSmall":return p(I,"scaleToSmallCenter","scaleFromSmallCenter");case"scaleFromSmallPrevMoveToLeft":return p(I,"moveToLeft","scaleFromSmall");case"scaleFromSmallPrevMoveToRight":return p(I,"moveToRight","scaleFromSmall");case"scaleFromSmallPrevMoveToTop":return p(I,"moveToTop","scaleFromSmall");case"scaleFromSmallPrevMoveToBottom":return p(I,"moveToBottom","scaleFromSmall");case"glueToLeft":return p(I,"rotateRightSideFirst","moveFromRight");case"glueToRight":return p(I,"rotateLeftSideFirst","moveFromLeft");case"glueToTop":return p(I,"rotateBottomSideFirst","moveFromBottom");case"glueToBottom":return p(I,"rotateTopSideFirst","moveFromTop");case"flipToLeft":return p(I,"flipOutLeft","flipInRight");case"flipToRight":return p(I,"flipOutRight","flipInLeft");case"flipToTop":return p(I,"flipOutTop","flipInBottom");case"flipToBottom":return p(I,"flipOutBottom","flipInTop");case"rotateFall":return p(I,"rotateFall","scaleFromSmall");case"newspaper":return p(I,"rotateOutNewspaper","rotateInNewspaper");case"moveFromLeftPrevPush":return p(I,"rotatePushRight","moveFromLeft");case"moveFromRightPrevPush":return p(I,"rotatePushLeft","moveFromRight");case"moveFromTopPrevPush":return p(I,"rotatePushBottom","moveFromTop");case"moveFromBottomPrevPush":return p(I,"rotatePushTop","moveFromBottom");case"pullFromLeftPrevPush":return p(I,"rotatePushRight","rotatePullLeft");case"pullFromRightPrevPush":return p(I,"rotatePushLeft","rotatePullRight");case"pullFromTopPrevPush":return p(I,"rotatePushBottom","rotatePullTop");case"pullFromBottomPrevPush":return p(I,"rotatePushTop","rotatePullBottom");case"moveFromLeftFadePrevFold":return p(I,"rotateFoldRight","moveFromLeftFade");case"moveFromRightFadePrevFold":return p(I,"rotateFoldLeft","moveFromRightFade");case"moveFromTopFadePrevFold":return p(I,"rotateFoldBottom","moveFromTopFade");case"moveFromBottomFadePrevFold":return p(I,"rotateFoldTop","moveFromBottomFade");case"moveToLeftFadePrevUnfold":return p(I,"moveToLeftFade","rotateUnfoldRight");case"moveToRightFadePrevUnfold":return p(I,"moveToRightFade","rotateUnfoldLeft");case"moveToTopFadePrevUnfold":return p(I,"moveToTopFade","rotateUnfoldBottom");case"moveToBottomFadePrevUnfold":return p(I,"moveToBottomFade","rotateUnfoldTop");case"rotateRoomLeftIn":return p(I,"rotateRoomLeftOut","rotateRoomLeftIn");case"rotateRoomRightIn":return p(I,"rotateRoomRightOut","rotateRoomRightIn");case"rotateRoomTopIn":return p(I,"rotateRoomTopOut","rotateRoomTopIn");case"rotateRoomBottomIn":return p(I,"rotateRoomBottomOut","rotateRoomBottomIn");case"rotateCubeLeftIn":return p(I,"rotateCubeLeftOut","rotateCubeLeftIn");case"rotateCubeRightIn":return p(I,"rotateCubeRightOut","rotateCubeRightIn");case"rotateCubeTopIn":return p(I,"rotateCubeTopOut","rotateCubeTopIn");case"rotateCubeBottomIn":return p(I,"rotateCubeBottomOut","rotateCubeBottomIn");case"rotateCarouselLeftIn":return p(I,"rotateCarouselLeftOut","rotateCarouselLeftIn");case"rotateCarouselRightIn":return p(I,"rotateCarouselRightOut","rotateCarouselRightIn");case"rotateCarouselTopIn":return p(I,"rotateCarouselTopOut","rotateCarouselTopIn");case"rotateCarouselBottomIn":return p(I,"rotateCarouselBottomOut","rotateCarouselBottomIn");case"rotateSidesIn":return p(I,"rotateSidesOut","rotateSidesIn");case"rotateSlideIn":return p(I,"rotateSlideOut","rotateSlideIn")}}function x(tt,I=600,te=600){switch(tt){case s:return I;case a:return te;default:return n.duration}}function v(tt,I){switch(tt){case"moveFromLeftFadePrevFold":case"moveFromRightFadePrevFold":case"moveFromTopFadePrevFold":case"moveFromBottomFadePrevFold":return x(I,700,700);case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":case"moveFromLeftPrevScaleToSmall":case"moveFromRightPrevScaleToSmall":case"moveFromTopPrevScaleToSmall":case"moveFromBottomPrevScaleToSmall":return x(I,700,600);case"scaleSmall":return x(I,700,500);case"scaleLarge":return x(I,500,700);case"scaleToLargePrevScaleToSmall":return x(I,400,400);case"scaleFromSmallPrevMoveToLeft":case"scaleFromSmallPrevMoveToRight":case"scaleFromSmallPrevMoveToTop":case"scaleFromSmallPrevMoveToBottom":return x(I,600,700);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":return x(I,800,600);default:return n.duration}}let g=n.timingFunction;function y(tt){switch(tt){default:return n.easeFunction}}function m(tt,I){switch(tt){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":switch(I){case s:g=h()?"ease-in-out":"ease";break;case a:default:g=h()?"ease":"ease-in-out"}return y(I);default:return g=n.timingFunction,n.easeFunction}}function _(tt,I=300){switch(tt){case a:return n.delay+I;default:return n.delay}}function C(tt,I){switch(tt){case"flipToLeft":case"flipToRight":case"flipToTop":case"flipToBottom":case"newspaper":return _(I,500);case"scaleSmall":case"scaleLarge":return _(I,300);case"scaleToLargePrevScaleToSmall":return _(I,400);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":case"rotateSidesIn":return _(I,200);case"pullFromLeftPrevPush":case"pullFromRightPrevPush":case"pullFromTopPrevPush":case"pullFromBottomPrevPush":return _(I,180);default:return n.delay}}let M=2,X=2;const G=()=>{M=2,X=2},V=()=>{M=2,X=3},pt=()=>{M=3,X=2};function K(tt){switch(n.effect){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":pt();break;case"scaleFromSmallPrevMoveToLeft":case"scaleFromSmallPrevMoveToRight":case"scaleFromSmallPrevMoveToTop":case"scaleFromSmallPrevMoveToBottom":case"rotateFall":case"rotateRoomLeftIn":case"rotateRoomRightIn":case"rotateRoomTopIn":case"rotateRoomBottomIn":case"rotateCubeLeftIn":case"rotateCubeRightIn":case"rotateCubeTopIn":case"rotateCubeBottomIn":case"rotateCarouselLeftIn":case"rotateCarouselRightIn":case"rotateCarouselTopIn":case"rotateCarouselBottomIn":h()?pt():V();break;case"moveFromLeftPrevFade":case"moveFromRightPrevFade":case"moveFromTopPrevFade":case"moveFromBottomPrevFade":case"moveFromLeftPrevScaleToSmall":case"moveFromRightPrevScaleToSmall":case"moveFromTopPrevScaleToSmall":case"moveFromBottomPrevScaleToSmall":case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":h()?V():pt();break;default:G();break}d(s)&&s==tt&&(f[s].style.zIndex=`${M}`,f[s].style.visibility="visible"),d(a)&&a==tt&&(f[a].style.zIndex=`${X}`,f[a].style.visibility="visible")}function lt(tt){V(),tt==s&&(f[s].style.zIndex=`${M}`,f[s].style.visibility="hidden"),tt==a&&(f[a].style.zIndex=`${X}`,f[a].style.visibility="visible",i.shift()?.(),r("routeChangeEnd",s,a,c.length),s=a)}const gt=R();function wt(tt=0,I=!1){if(!gt.value)return;let te=0;Rs(Xt("div",{class:"routes-pages",style:{display:"block",width:"100%",height:"100%",overflow:"hidden",position:"relative"}},c.map((Nt,D)=>{const et=w(n.effect,D);return Xt("div",Object.assign({class:"routes-page",style:{display:"block",width:"100%",height:"100%",overflow:"hidden",position:"absolute",top:"0",left:"0",backfaceVisibility:"hidden",transform:"translate3d(0, 0, 0)",transformStyle:"preserve-3d",visibility:s==D?"visible":"hidden",zIndex:I?"1":"0"}},Nt.pageKey?{key:Nt.pageKey}:{}),Xt(ma,{effect:et,duration:v(n.effect,D),easeFunction:m(n.effect,D),timingFunction:g,delay:C(n.effect,D),onReady:(U,$)=>{u[D]={open:U,close:$},++te==tt&&(l?.(),r("renderComplete"))},onPageOpenStart:()=>{K(D)},onPageOpenEnd:()=>{lt(D)},onPageCloseStart:()=>{K(D)},onPageCloseEnd:()=>{lt(D)}},{default:()=>Nt.component instanceof HTMLElement?Xt("div",{...Nt.attributes,innerHTML:Nt.component.innerHTML}):Xt(Nt.component,Nt.attributes,()=>Nt.child)}))})),gt.value),f=gt.value.children[0].children}Pt(()=>n.effect,()=>{wt()});function Mt(tt=[]){c=[...tt],c.forEach(I=>{I.pageKey=I.pageKey||Dn()}),l=()=>{s=-1,Bt(0)},wt(c.length,!0)}function Et(tt){tt.pageKey=tt.pageKey||Dn(),c.push(tt),l=()=>{Bt(c.length-1)},wt(1,c.length==1)}function St(){c.length<=1||Bt(c.length-2,()=>{c.splice(c.length-1,1),s=c.length-1,wt()})}function ue(){Bt(s+1)}function Re(){Bt(s-1)}const Te=new Ns(1);function Bt(tt,I){Te.addTask(()=>new Promise(te=>{const Nt=()=>{I?.(),te()};if(!d(tt)){Nt();return}if(a=tt,a==s){Nt();return}i.push(Nt),wt(),r("routeChangeStart",s,a,c.length),h()?(d(s)&&u[s].open(),d(a)&&u[a].open()):(d(s)&&u[s].close(),d(a)&&u[a].close())}))}return t({reset:Mt,push:Et,pop:St,forward:ue,back:Re,goto:Bt,currentPageIndex:()=>s,totalPages:()=>c.length}),(tt,I)=>(A(),F("div",{class:"routes",ref_key:"routesRef",ref:gt,style:{display:"block",position:"relative",width:"100%",height:"100%","overflow-x":"hidden","overflow-y":"hidden"}},null,512))}}),q2=["src"],Ml=nt(Y({name:"Image",customOptions:{Container:mt,Pop:ie},inheritAttrs:!0,__name:"Image.ce",props:{src:{},mode:{default:"scaleToFill"},dur:{default:300},bgColor:{default:"transparent"},openImageDetailWhenClick:{type:Boolean,default:!0}},emits:["settled"],setup(e,{expose:t,emit:o}){const n=e,r=o,s=new Ge({frameDuration:n.dur}),a=R(0),l=R(0),i=R(0),c=R(0),u=R(0),f=R(0),d=R(0),h=R(0),p=R(!0),w=R(0),x=R(0);fd(n.src).then(lt=>{w.value=lt.width,x.value=lt.height,C()}).catch(()=>{p.value=!1});const v=R(0),g=R(0),y=(lt,gt)=>{v.value=lt,g.value=gt,C()},m=R(0),_=R(0);function C(){if(!v.value||!g.value||!w.value||!x.value)return;const lt=Hs(n.mode,w.value,x.value,v.value,g.value);m.value=lt.width,_.value=lt.height;const{width:gt,height:wt}=Ir(),Mt=Hs("aspectFit",w.value,x.value,gt,wt);d.value=Mt.width,h.value=Mt.height,u.value=(gt-d.value)/2,f.value=(wt-h.value)/2}const M=(lt,gt,wt)=>{r("settled",wt.x,wt.y,wt.width,wt.height)};let X=!1;const G=R(),V=R();async function pt(){if(!n.openImageDetailWhenClick)return;const lt=await G.value.getSize();s.clear(),s.addTween({left:lt.x,top:lt.y,width:lt.width,height:lt.height},{left:u.value,top:f.value,width:d.value,height:h.value},{easeFunction:at.Quadratic.Out,onUpdate(gt){a.value=gt.left,l.value=gt.top,i.value=gt.width,c.value=gt.height},onComplete(){X&&V.value.close(),X=!X}}),X||(V.value.open(),s.play())}function K(){X&&s.reverse()}return t({}),(lt,gt)=>(A(),ht(mt,{class:"image",type:"full",style:N({backgroundColor:n.bgColor}),onResize:y,onClick:pt},{default:st(()=>[p.value?(A(),ht(mt,{key:0,class:"image-inner",ref_key:"imageRef",ref:G,type:"shrink",style:N({width:m.value+"px",height:_.value+"px",backgroundImage:`url(${n.src})`,backgroundSize:`${m.value}px ${_.value}px`}),onResize:M},null,8,["style"])):yt("",!0),p.value?yt("",!0):(A(),ht(mt,{key:1,type:"shrink"},{default:st(()=>[k("img",{src:n.src,style:{display:"block",objectFit:"contain"}},null,8,q2)]),_:1})),J(ie,{ref_key:"popRef",ref:V,"direction-from":"absolute","absolute-left":`${a.value}px`,"absolute-top":`${l.value}px`,"absolute-width":`${i.value}px`,"absolute-height":`${c.value}px`,"close-when-click-overlay":!1,onClickOverlay:K},{default:st(()=>[k("div",{class:"image-pop",style:N({width:"100%",height:"100%",backgroundImage:`url(${n.src})`,backgroundSize:"100% 100%"})},null,4)]),_:1},8,["absolute-left","absolute-top","absolute-width","absolute-height"])]),_:1},8,["style"]))}}),[["styles",[`.image[data-v-44b67b7c]{overflow:hidden;display:flex!important;justify-content:center;align-items:center}.image-inner[data-v-44b67b7c],.image-pop[data-v-44b67b7c]{background-repeat:no-repeat;background-position:center center}
198
- `]],["__scopeId","data-v-44b67b7c"]]),K2={key:0,style:{position:"absolute",top:"30px",left:"50%",transform:"translate(-50%, 0)",color:"#ffffff","font-size":"1em","z-index":"98"}},hh=Y({customOptions:{Image:ga,Container:mt,Routes:Br},inheritAttrs:!0,__name:"ImageView.ce",props:{urls:{default:()=>[]},effect:{default:"moveToLeftFade"}},setup(e,{expose:t,emit:o}){const n=e,r=R(0);function s(d,h){r.value=h}const a=R(),l=d=>{d.on("panLeft",()=>{a.value?.forward()}),d.on("panRight",()=>{a.value?.back()}),a.value.reset(n.urls.map(h=>({component:Xt(ga,{mode:"aspectFit",src:h,openImageDetailWhenClick:!1})})))},i=R();function c(){i.value?.open()}function u(){i.value?.close()}const f=d=>{d.target&&qs(d.target,"image")&&u()};return t({open:c,close:u}),(d,h)=>(A(),ht(ie,{ref_key:"popRef",ref:i,directionFrom:"absolute",onClick:f},{default:st(()=>[n.urls.length>1?(A(),F("div",K2,ut(r.value+1)+" / "+ut(n.urls.length),1)):yt("",!0),J(mt,{style:{position:"absolute",top:"50%",transform:"translate(0, -50%)",width:"100%",height:"100%","z-index":"97"},onReady:l},{default:st(()=>[J(Br,{ref_key:"routesRef",ref:a,effect:n.effect,onRouteChangeEnd:s},null,8,["effect"])]),_:1})]),_:1},512))}}),mh=nt(Y({customOptions:{Container:mt,SVGDown:wa},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(e,{expose:t,emit:o}){const n=e,r=o,s=(f,d)=>{r("resize",f,d)},a=R(),l=R(Number.MAX_SAFE_INTEGER+"px"),i=R(!0);fe(()=>{is(()=>{l.value=a.value.getBoundingClientRect().height+"px",i.value=n.initOpen})});function c(){i.value=!i.value,i.value?r("open"):r("close")}const u=R(0);return ki(()=>{u.value=i.value?0:-90}),t({}),(f,d)=>(A(),ht(mt,{onResize:s},{default:st(()=>[k("div",{class:"accordion",style:N({background:n.bgColor,color:n.fontColor,borderRadius:n.borderRadius})},[k("div",{class:"accordion-title",onClick:c,style:N({height:n.titleHeight,lineHeight:n.titleHeight,margin:`0 ${n.padding}`,transitionDelay:`${i.value?0:n.duration}ms`,borderBottom:`${i.value?1:0}px solid ${n.borderColor}`})},[dt(f.$slots,"title",{},()=>[d[0]||(d[0]=Vt("title"))],!0),J(wa,{class:"arrow",style:N({transition:`transform ${n.duration}ms ease-in-out`,transform:`rotate(${u.value}deg)`})},null,8,["style"])],4),k("div",{class:"accordion-content",ref_key:"content",ref:a,style:N({margin:`0 ${n.padding}`,transition:`max-height ${n.duration}ms ease-in-out`,maxHeight:i.value?l.value:"0"})},[dt(f.$slots,"content",{},void 0,!0)],4)],4)]),_:3}))}}),[["styles",[`.accordion[data-v-a023bf3b]{width:100%;font-size:1em;position:relative;overflow:hidden}.accordion-title[data-v-a023bf3b]{display:flex;justify-content:space-between;align-items:center;user-select:none;cursor:pointer}.accordion-content[data-v-a023bf3b]{word-break:break-all;overflow:hidden}
199
- `]],["__scopeId","data-v-a023bf3b"]]),Q2=`.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}
200
- `,J2={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 e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",Zi&&this.$el.appendChild(e),e.data="about:blank",Zi||this.$el.appendChild(e)},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&&(!Zi&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}},tk={class:"resize-observer",tabindex:"-1"};function ek(e,t,o,n,r,s){return A(),F("div",tk)}const gh=nt(J2,[["render",ek],["styles",[Q2]],["__scopeId","data-v-16da9fc4"]]),yh=nt(Y({__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(e,{expose:t,emit:o}){const n=e,r=R(n.mapWidth),s=R(n.mapHeight);let a;const l=R();return Pt(l,()=>{l.value&&(a=new Cn(l.value,!1),a.on("resize",(i,c)=>{r.value=i+"px",s.value=c+"px"}),a.start())}),fe(()=>{Lv(`http://api.tianditu.gov.cn/api?v=4.0&tk=${n.mapKey}`).then(()=>{new Vv(n.mapContainerID,n.mapCenterLng,n.mapCenterLat,n.mapZoom)}).catch(i=>{console.log("error",i)})}),se(()=>{a.destroy()}),t({}),(i,c)=>(A(),F("div",Bu({class:"mapDivWrap",ref_key:"mapWrap",ref:l},i.$attrs),[dt(i.$slots,"default",{width:r.value,height:s.value},void 0,!0)],16))}}),[["styles",[`.mapDivWrap[data-v-24e42cfa]{position:relative;width:100%;height:100%}
201
- `]],["__scopeId","data-v-24e42cfa"]]),ok=["width","height"],nk=Y({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(e,{expose:t,emit:o}){const n=e;let r=()=>{};const s=R();return Pt(s,()=>{if(!s.value)return;const a=new Cn(s.value),l=new yd(a,!0);l.ctx.strokeStyle=n.brushColor,l.ctx.lineWidth=n.brushSize,l.drawMouseMoveLine("line"),r=()=>{wn.downloadFromSVGString(l.ctx.toRawSVG().raw,n.downloadFileName)}}),t({download:()=>r()}),(a,l)=>(A(),F("canvas",{ref_key:"panelRef",ref:s,width:n.canvasWidth,height:n.canvasHeight,style:N([`border: 1px solid ${a.borderColor}`])},null,12,ok))}}),rk=["data-number"],sk=["data-number","data-unactive"],ak=["data-number"],ik=["data-number","data-unactive"],vh=nt(Y({customOptions:{Pop:ie,SVGCleanUp:bl,Container:mt},__name:"PlateKeyboard.ce",props:{initPlates:{default:()=>[]},completePlateLength:{default:7}},emits:["open","close","plates","resize"],setup(e,{expose:t,emit:o}){const n=e,r=o,s=R("0px");let a;fe(()=>{a=rl.onBottom(_=>{s.value=_})}),se(()=>{a?.()});const l=["京","沪","津","渝","黑","吉","辽","蒙","冀","新","甘","青","陕","宁","豫","鲁","晋","皖","鄂","湘","苏","川","云","桂","藏","浙","赣","粤","闽","琼","贵"],i=["1","2","3","4","5","6","7","8","9","0"],c=["A","B","C","D","E","F","G","H","J","K","L","M","N","P","Q","R","S","T","U","V","W","X","Y","Z"],u=["港","澳","学","警","使","领","挂","应","急"],f=R(),d=R(0),h=jt([]);function p(){h.length==0?d.value=0:h.length==1?d.value=1:d.value=2,h.length>=n.completePlateLength&&g()}Pt(()=>[...n.initPlates],()=>{wr(h,n.initPlates),p()},{immediate:!0});const w=R(0),x=(_,C,M)=>{w.value=C,r("resize",_,C,M)},v=()=>{f.value.open(),r("open")},g=()=>{f.value.close(),r("close")},y=()=>{h.pop(),p(),r("plates",h)},m=_=>{if(_.target.dataset.unactive||"")return;let M=_.target.dataset.number;M&&(h.push(M),p(),r("plates",h))};return t({open:v,close:g}),(_,C)=>(A(),ht(ie,{ref_key:"popRef",ref:f,directionFrom:"bottom",isGlobal:!0,closeWhenClickOverlay:!1,popValue:w.value},{default:st(()=>[J(mt,{class:"popup-plate",onResize:x,style:N({paddingbottom:s.value})},{default:st(()=>[k("div",null,[k("div",{onClick:g},"关闭")]),k("div",{class:Ut(["step",d.value==0?"":"hide"])},[(A(),F(zt,null,we(l,M=>k("div",{key:M,class:"popitem",onClick:m,"data-number":M},ut(M),9,rk)),64)),k("div",{class:"popitem popitem-clear",onClick:y},[J(bl,{width:"16px"})])],2),k("div",{class:Ut(["step",d.value!=0?"":"hide"])},[(A(),F(zt,null,we(i,M=>k("div",{key:M,class:Ut(["popitem",d.value!=2?"unactive":""]),onClick:m,"data-number":M,"data-unactive":d.value!=2?"unactive":""},ut(M),11,sk)),64)),(A(),F(zt,null,we(c,M=>k("div",{key:M,class:"popitem",onClick:m,"data-number":M},ut(M),9,ak)),64)),(A(),F(zt,null,we(u,M=>k("div",{key:M,class:Ut(["popitem",d.value!=2?"unactive":""]),onClick:m,"data-number":M,"data-unactive":d.value!=2?"unactive":""},ut(M),11,ik)),64)),k("div",{class:"popitem popitem-clear",onClick:y},[J(bl,{width:"16px"})])],2)]),_:1},8,["style"])]),_:1},8,["popValue"]))}}),[["styles",[`.popup-plate[data-v-822419a0]{box-sizing:border-box;width:100%;background-color:#ddd}.hide[data-v-822419a0]{display:none!important}.popup-plate>div[data-v-822419a0]: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-822419a0]{flex:0 0 auto;padding:0 15px;color:#5a82f0;font-size:16px;line-height:2.6;cursor:pointer}.popup-plate>.step[data-v-822419a0]{display:flex;flex-wrap:wrap;justify-content:center;padding:10px 10px 5px}.popup-plate>.step>.popitem[data-v-822419a0]{flex:0 0 auto;width:50px;padding:010px 0;border:1px solid #e6e6e6;border-radius:4px;margin-right:5px;margin-bottom:5px;font-size:16px;line-height:1;text-align:center;background-color:#fff;cursor:pointer}.popup-plate>.step>.popitem[data-v-822419a0]:not(.unactive):active{background-color:#eee}.popup-plate>.step>.popitem.unactive[data-v-822419a0]{color:#ccc}.popup-plate>.step>.popitem.popitem-clear[data-v-822419a0]{background-color:#eee;display:flex;justify-content:center;align-items:center}
202
- `]],["__scopeId","data-v-822419a0"]]),lk=["fill"],ck=["fill"],bh=Y({__name:"SVGCheck",props:{width:{default:"10px"},color:{default:kt.colorPrimary}},setup(e){const t=e;return(o,n)=>(A(),F("svg",{style:N(["transform-origin: center","width: "+t.width]),viewBox:"0 0 7 5",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[k("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,lk),k("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,ck)],4))}}),uk=["onClick"],fk={key:1},dk=["onClick"],pk={key:0,class:"info"},_h=nt(Y({customOptions:{SVGCheck:bh},inheritAttrs:!0,__name:"PlateMobile.ce",props:{maxWidth:{default:"750px"},showBottomInfo:{type:Boolean,default:!0},stylePattern:{default:"simple"}},emits:["clear","complete"],setup(e,{expose:t,emit:o}){const n=e,r=o,s=[{name:"蓝牌",style:"background-color: #0078f0;",completePlateLength:7,symbol:"b"},{name:"绿牌",style:"background-color: #00f08c;",completePlateLength:8,symbol:"g"},{name:"黄牌",style:"background-color: #fac800;",completePlateLength:7,symbol:"y"},{name:"黄绿",style:"background: linear-gradient(90deg, #fac800 51.5%, #00f08c 51.51%);",completePlateLength:8,symbol:"q"},{name:"黑牌",style:"background-color: #222222;",completePlateLength:7,symbol:"d"}],a=R(),l=R(0),i=jt([]),c=R(-1),u=R(!1),f=R(0);async function d(){const x=Ws().clientHeight-a.value.getBoundingClientRect().bottom;qd({initPlates:i,completePlateLength:s[l.value].completePlateLength,onPlates:v=>{wr(i,v),c.value=i.length,i.length===s[l.value].completePlateLength&&r("complete",s[l.value].name,i.join(""))},onOpen:()=>{u.value=!0},onClose:()=>{u.value=!1},onResize:(v,g,y)=>{f.value=Math.min(0,x-y.height)}})}const h=async w=>{l.value=w,c.value<=s[w].completePlateLength&&i.length<s[w].completePlateLength?(c.value=i.length,await d(),r("clear")):wr(i,i.slice(0,s[w].completePlateLength)),s[w].completePlateLength===i.length&&r("complete",s[l.value].name,i.join(""))},p=async w=>{wr(i,i.slice(0,w)),c.value=Math.min(Math.max(0,c.value),w),await d(),r("clear")};return t({}),(w,x)=>(A(),ht(mt,{class:"plate-mobile",style:N({maxWidth:n.maxWidth,transform:u.value?`translate(0, ${f.value}px)`:""})},{default:st(()=>[x[2]||(x[2]=k("div",{class:"title"},"车牌颜色",-1)),k("div",{class:Ut(["plate-types",n.stylePattern])},[(A(),F(zt,null,we(s,(v,g)=>k("div",{key:g,class:Ut(g==l.value?"checked":""),onClick:y=>h(g)},[n.stylePattern=="dot"?(A(),F(zt,{key:0},[k("div",{style:N(v.style)},null,4),k("div",null,ut(v.name),1),k("div",null,[J(bh,{color:"#ffffff",width:"7px"})])],64)):(A(),F("div",fk,ut(v.name),1))],10,uk)),64))],2),x[3]||(x[3]=k("div",{class:"title"},"车牌号码",-1)),k("div",{class:"plate-numbers",ref_key:"numbersRef",ref:a},[k("div",{onClick:x[0]||(x[0]=v=>p(0)),class:Ut(c.value==0?"current":"")},ut(i[0]),3),k("div",{onClick:x[1]||(x[1]=v=>p(1)),class:Ut(c.value==1?"current":"")},ut(i[1]),3),(A(!0),F(zt,null,we(s[l.value].completePlateLength-2,v=>(A(),F("div",{key:v,class:Ut(v+1==c.value?"current":""),onClick:g=>p(v+1)},ut(i[v+1]),11,dk))),128))],512),n.showBottomInfo?(A(),F("div",pk," 请输入您真实有效的车牌号,便于正常使用系统功能。 ")):yt("",!0)]),_:1},8,["style"]))}}),[["styles",[`.plate-mobile[data-v-f24b9241]{background-color:#fff;overflow:hidden;border-radius:8px;padding-bottom:15px;padding-left:15px;padding-right:15px}.title[data-v-f24b9241]{font-size:16px;line-height:1;color:#333;font-weight:700;text-align:center;margin-top:20px;margin-bottom:10px}.plate-types[data-v-f24b9241]{display:flex;justify-content:center}.plate-types>div[data-v-f24b9241]{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;width:60px;height:44px;border-radius:4px;background-color:#f5f5f5;cursor:pointer;overflow:hidden}.plate-types>div+div[data-v-f24b9241]{margin-left:5px}.plate-types.dot>div>div[data-v-f24b9241]:nth-child(1){width:14px;height:14px;margin-bottom:5px;border-radius:50%;background-color:#0078f0}.plate-types.dot>div:nth-child(2)>div[data-v-f24b9241]:nth-child(1){background-color:#00f08c}.plate-types.dot>div:nth-child(3)>div[data-v-f24b9241]:nth-child(1){background-color:#fac800}.plate-types.dot>div:nth-child(4)>div[data-v-f24b9241]:nth-child(1){background:linear-gradient(90deg,#fac800 51.5%,#00f08c 51.51%)}.plate-types.dot>div:nth-child(5)>div[data-v-f24b9241]:nth-child(1){background-color:#222}.plate-types.dot>div>div[data-v-f24b9241]:nth-child(2){color:#ccc;font-size:14px;line-height:1;font-weight:700}.plate-types.dot>div>div[data-v-f24b9241]:nth-child(3){display:none;position:absolute;right:-1px;bottom:-1px;width:16px;height:16px;border-radius:16px 0 4px;background:#5a82f0}.plate-types.dot>div>div:nth-child(3)>svg[data-v-f24b9241]{position:absolute;top:6px;left:6px}.plate-types.dot>div.checked[data-v-f24b9241]{border:1px solid #5a82f0}.plate-types.dot>div.checked>div[data-v-f24b9241]:nth-child(2){color:#333}.plate-types.dot>div.checked>div[data-v-f24b9241]:nth-child(3){display:block}.plate-types.simple>div>div[data-v-f24b9241]:nth-child(1){color:#666;font-size:14px;line-height:1;font-weight:700}.plate-types.simple>div.checked>div[data-v-f24b9241]:nth-child(1){color:#000}.plate-types.simple>div.checked[data-v-f24b9241]:nth-child(1){background-color:#0078f0}.plate-types.simple>div.checked:nth-child(1)>div[data-v-f24b9241]{color:#fff}.plate-types.simple>div.checked[data-v-f24b9241]:nth-child(2){background-color:#00f08c}.plate-types.simple>div.checked[data-v-f24b9241]:nth-child(3){background-color:#fac800}.plate-types.simple>div.checked[data-v-f24b9241]:nth-child(4){background:linear-gradient(90deg,#fac800 51.5%,#00f08c 51.51%)}.plate-types.simple>div.checked[data-v-f24b9241]:nth-child(5){background-color:#222}.plate-types.simple>div.checked:nth-child(5)>div[data-v-f24b9241]{color:#fff}.plate-numbers[data-v-f24b9241]{display:flex;justify-content:center;align-items:center}.plate-numbers>div[data-v-f24b9241]{flex:1;max-width:40px;height:44px;line-height:44px;border-radius:4px;font-size:18px;color:#333;text-align:center;border:1px solid #cccccc}.plate-numbers>div.current[data-v-f24b9241]{border:1px solid #5a82f0}.plate-numbers>div+div[data-v-f24b9241]{margin-left:5px}.plate-numbers>div.dot[data-v-f24b9241]{flex:0;border:0;padding:0 2.5px;color:#ccc;font-size:46px;margin-right:-5px;margin-left:0}.info[data-v-f24b9241]{font-size:12px;line-height:16px;font-weight:400;color:#999;text-align:center;padding:0 5px;margin-top:20px}
203
- `]],["__scopeId","data-v-f24b9241"]]),hk={class:"text"},Bl=nt(Y({customOptions:{},inheritAttrs:!0,__name:"PlateDisplay.ce",props:{plate:{},plateType:{},displayType:{default:"chinese"}},setup(e,{expose:t,emit:o}){const n=e,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":"#ffffff",color:"#000000",border:"1px solid #999999"}},{name:"未知",style:{"background-color":"#cccccc",color:"#ffffff"}}];function s(c){switch(c){case"b":case"蓝牌":c="蓝牌";break;case"g":case"绿牌":c="绿牌";break;case"y":case"黄牌":c="黄牌";break;case"q":case"黄绿":c="黄绿";break;case"d":case"黑牌":c="黑牌";break;case"w":case"白牌":c="白牌";break;default:c="未知";break}const u=r.filter(f=>f.name===c);return u.length?u[0]:s("未知")}const a=R(s(n.plateType||"")),l=R(),i=R(14);return fe(()=>{i.value=Ks(l.value).getEmSize()}),t({}),(c,u)=>(A(),F("div",{class:"plate-display",ref_key:"el",ref:l},[c.displayType=="dot"&&c.plate!=="无牌车"?(A(),F("div",{key:0,class:Ut(["leading",c.displayType]),style:N({...a.value.style,width:i.value+"px",height:i.value+"px",marginRight:.36*i.value+"px"})},ut(a.value.name),7)):yt("",!0),c.displayType=="chinese"&&c.plate!=="无牌车"?(A(),F("div",{key:1,class:Ut(["leading",c.displayType]),style:N(a.value.style)},ut(a.value.name),7)):yt("",!0),c.displayType=="plaintext"&&c.plate!=="无牌车"?(A(),F("div",{key:2,class:Ut(["leading",c.displayType])},ut(a.value.name),3)):yt("",!0),k("div",hk,ut(c.plate),1)],512))}}),[["styles",[`.plate-display[data-v-d7a17e1d]{display:inline-flex;justify-content:center;align-items:center}.leading[data-v-d7a17e1d]{box-sizing:border-box;font-size:.86em;line-height:1;border-radius:.3em;margin-right:.36em}.leading.chinese[data-v-d7a17e1d]{padding:.3em}.leading.dot[data-v-d7a17e1d]{font-size:0;border-radius:50%}.leading.plaintext[data-v-d7a17e1d]{padding-right:.36em;border-right:1px solid #e6e6e6;border-radius:0}.text[data-v-d7a17e1d]{line-height:1}
204
- `]],["__scopeId","data-v-d7a17e1d"]]),mk=["width","height"],_o=Y({__name:"Canvas",props:{bgColor:{default:"rgba(255,255,255,0)"},enableCustomContext:{type:Boolean,default:!1}},emits:["ready","resize"],setup(e,{expose:t,emit:o}){const n=e,r=o,s=R(),a=R(),l=R(0),i=R(0);let c;Pt(s,()=>{s.value&&(c=new Cn(s.value,!1),c.on("resize",(w,x)=>{const v=Ir();l.value=Math.min(w,v.width),i.value=Math.min(x,v.height),h()}),c.start())}),Pt(a,()=>{a.value&&h()});let u,f,d;function h(){u||!a.value||!l.value||!i.value||(u=new Cn(a.value,!1),u.on("resize",(w,x)=>{r("resize",w,x),f=new yd(u,n.enableCustomContext),d?.(f),r("ready",f)}),u.start())}function p(){return new Promise(w=>{if(f)return w(f);d=w})}return se(()=>{u?.destroy(),c?.destroy()}),t({getCanvasElement:()=>a.value,getCanvas:p}),(w,x)=>(A(),F("div",{class:"canvas",ref_key:"canvasOutterRef",ref:s,style:{display:"block",position:"relative",overflow:"hidden",width:"100%",height:"100%"}},[k("canvas",{ref_key:"canvasRef",ref:a,width:l.value,height:i.value,style:N({backgroundColor:n.bgColor})},null,12,mk)],512))}}),gk={class:"ring-indicator"},yk={class:"ring-text"},xh=nt(Y({customOptions:{Canvas:_o},inheritAttrs:!0,__name:"RingIndicator.ce",props:{percent:{default:0},lineWidth:{default:12},bgColor:{default:"#B3C6E7"},startColor:{default:"#5A82F0"},endColor:{default:"#66B3FF"}},setup(e,{expose:t}){const o=e;let n=R(0);const r=Hy(()=>{const c=le(Math.floor(o.percent),0,100);return n.value<c?n.value=Math.min(n.value+1,c):n.value>c&&(n.value=Math.max(n.value-1,c)),Pe(n.value/100,2)},20),s=R(0),a=R(0),l=(c,u)=>{s.value=c,a.value=u},i=R();return Pt(i,()=>{i.value&&i.value.getCanvas().then(c=>{const u=new Dv({width:s.value,height:a.value,startDegree:0,endDegree:180,extendDegree:15,lineWidth:o.lineWidth,bgColor:o.bgColor,startColor:o.startColor,endColor:o.endColor});Fs(()=>(c.ctx.clearRect(),u.setPercent(r()),c.draw(u),!0))})}),t({}),(c,u)=>(A(),F("div",gk,[J(_o,{ref_key:"canvasRef",ref:i,onResize:l},null,512),k("div",yk,[k("span",null,ut(vt(n)),1),u[0]||(u[0]=k("span",null,"%",-1))])]))}}),[["styles",[`.ring-indicator[data-v-2cf9c903]{position:relative;width:100%;height:100%}.ring-text[data-v-2cf9c903]{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-2cf9c903]:nth-child(1){font-size:64px}.ring-text>span[data-v-2cf9c903]:nth-child(2){font-size:20px}
205
- `]],["__scopeId","data-v-2cf9c903"]]),vk={key:0},bk={key:1},Tn=10,Hn=4,kh=nt(Y({customOptions:{Container:mt},inheritAttrs:!0,__name:"RingText.ce",props:{text:{default:""},secondText:{default:""},startColor:{default:"#5A82F0"},endColor:{default:"#66B3FF"},dur:{default:2e3}},setup(e,{expose:t}){const o=e,n=R(0),r=(s,a)=>{n.value=Math.floor(Math.min(s,a))};return t({}),(s,a)=>(A(),ht(mt,{onResize:r,type:"full"},{default:st(()=>[k("div",{class:"ring",style:N({width:n.value+"px",height:n.value+"px",padding:Tn+"px",background:`linear-gradient(180deg, ${o.startColor} 0%, ${o.endColor} 100%)`})},[k("div",{class:"ring-rotate",style:N({animation:`rotate-reverse ${o.dur}ms infinite linear`,mask:`radial-gradient(transparent ${n.value/2-Tn-Hn}px, #000 ${n.value/2-Tn-Hn}px)`})},a[0]||(a[0]=[k("div",{class:"left"},null,-1),k("div",{class:"right"},null,-1)]),4),k("div",{class:"ring-content",style:N({top:Tn+Hn+"px",left:Tn+Hn+"px",width:n.value-(Tn+Hn)*2+"px",height:n.value-(Tn+Hn)*2+"px"})},[o.text?(A(),F("div",vk,ut(o.text),1)):yt("",!0),o.secondText?(A(),F("div",bk,ut(o.secondText),1)):yt("",!0)],4)],4)]),_:1}))}}),[["styles",[`@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotate-reverse{0%{transform:rotate(360deg)}to{transform:rotate(0)}}@keyframes jelly{0%,to{transform:scale(1)}25%{transform:scale(.9,1.1)}50%{transform:scale(1.1,.9)}75%{transform:scale(.95,1.05)}}@keyframes bounce{0%,20%,53%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0)}40%,43%{animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{transition-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0) scaleY(.95)}90%{transform:translate3d(0,-4px,0) scaleY(1.02)}}@keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}@keyframes pulse{0%{transform:scaleZ(1)}50%{transform:scale3d(1.05,1.05,1.05)}to{transform:scaleZ(1)}}@keyframes rubberBand{0%{transform:scaleZ(1)}30%{transform:scale3d(1.25,.75,1)}40%{transform:scale3d(.75,1.25,1)}50%{transform:scale3d(1.15,.85,1)}65%{transform:scale3d(.95,1.05,1)}75%{transform:scale3d(1.05,.95,1)}to{transform:scaleZ(1)}}@keyframes shakeX{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}@keyframes shakeY{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(0,-10px,0)}20%,40%,60%,80%{transform:translate3d(0,10px,0)}}@keyframes headShake{0%{transform:translate(0)}6.5%{transform:translate(-6px) rotateY(-9deg)}18.5%{transform:translate(5px) rotateY(7deg)}31.5%{transform:translate(-3px) rotateY(-5deg)}43.5%{transform:translate(2px) rotateY(3deg)}50%{transform:translate(0)}}@keyframes swing{20%{transform:rotate3d(0,0,1,15deg)}40%{transform:rotate3d(0,0,1,-10deg)}60%{transform:rotate3d(0,0,1,5deg)}80%{transform:rotate3d(0,0,1,-5deg)}to{transform:rotate3d(0,0,1,0)}}@keyframes tada{0%{transform:scaleZ(1)}10%,20%{transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{transform:scaleZ(1)}}@keyframes wobble{0%{transform:translateZ(0)}15%{transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{transform:translateZ(0)}}@keyframes jello{0%,11.1%,to{transform:translateZ(0)}22.2%{transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{transform:skew(6.25deg) skewY(6.25deg)}44.4%{transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{transform:skew(.390625deg) skewY(.390625deg)}88.8%{transform:skew(-.1953125deg) skewY(-.1953125deg)}}@keyframes heartBeat{0%{transform:scale(1)}14%{transform:scale(1.3)}28%{transform:scale(1)}42%{transform:scale(1.3)}70%{transform:scale(1)}}@keyframes backInLeft{0%{transform:translate(-2000px) scale(.7);opacity:.7}80%{transform:translate(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInRight{0%{transform:translate(2000px) scale(.7);opacity:.7}80%{transform:translate(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInUp{0%{transform:translateY(1200px) scale(.7);opacity:.7}80%{transform:translateY(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInDown{0%{transform:translateY(-1200px) scale(.7);opacity:.7}80%{transform:translateY(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backOutLeft{0%{transform:scale(1);opacity:1}20%{transform:translate(0) scale(.7);opacity:.7}to{transform:translate(-2000px) scale(.7);opacity:.7}}@keyframes backOutRight{0%{transform:scale(1);opacity:1}20%{transform:translate(0) scale(.7);opacity:.7}to{transform:translate(2000px) scale(.7);opacity:.7}}@keyframes backOutUp{0%{transform:scale(1);opacity:1}20%{transform:translateY(0) scale(.7);opacity:.7}to{transform:translateY(-700px) scale(.7);opacity:.7}}@keyframes backOutDown{0%{transform:scale(1);opacity:1}20%{transform:translateY(0) scale(.7);opacity:.7}to{transform:translateY(700px) scale(.7);opacity:.7}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:scale3d(.3,.3,.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(.9,.9,.9)}60%{opacity:1;transform:scale3d(1.03,1.03,1.03)}80%{transform:scale3d(.97,.97,.97)}to{opacity:1;transform:scaleZ(1)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;transform:translate3d(25px,0,0) scaleX(1)}75%{transform:translate3d(-10px,0,0) scaleX(.98)}90%{transform:translate3d(5px,0,0) scaleX(.995)}to{transform:translateZ(0)}}@keyframes bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;transform:translate3d(-25px,0,0) scaleX(1)}75%{transform:translate3d(10px,0,0) scaleX(.98)}90%{transform:translate3d(-5px,0,0) scaleX(.995)}to{transform:translateZ(0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;transform:translate3d(0,-20px,0) scaleY(.9)}75%{transform:translate3d(0,10px,0) scaleY(.95)}90%{transform:translate3d(0,-5px,0) scaleY(.985)}to{transform:translateZ(0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;transform:translate3d(0,25px,0) scaleY(.9)}75%{transform:translate3d(0,-10px,0) scaleY(.95)}90%{transform:translate3d(0,5px,0) scaleY(.985)}to{transform:translateZ(0)}}@keyframes bounceOut{20%{transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(.3,.3,.3)}}@keyframes bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0) scaleX(.9)}to{opacity:0;transform:translate3d(-2000px,0,0) scaleX(2)}}@keyframes bounceOutRight{20%{opacity:1;transform:translate3d(-20px,0,0) scaleX(.9)}to{opacity:0;transform:translate3d(2000px,0,0) scaleX(2)}}@keyframes bounceOutUp{20%{transform:translate3d(0,-10px,0) scaleY(.985)}40%,45%{opacity:1;transform:translate3d(0,20px,0) scaleY(.9)}to{opacity:0;transform:translate3d(0,-2000px,0) scaleY(3)}}@keyframes bounceOutDown{20%{transform:translate3d(0,10px,0) scaleY(.985)}40%,45%{opacity:1;transform:translate3d(0,-20px,0) scaleY(.9)}to{opacity:0;transform:translate3d(0,2000px,0) scaleY(3)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeInLeft{0%{opacity:0;transform:translate3d(-100%,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInLeftBig{0%{opacity:0;transform:translate3d(-2000px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInRight{0%{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInRightBig{0%{opacity:0;transform:translate3d(2000px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInUp{0%{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInUpBig{0%{opacity:0;transform:translate3d(0,2000px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInDown{0%{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInDownBig{0%{opacity:0;transform:translate3d(0,-2000px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInTopLeft{0%{opacity:0;transform:translate3d(-100%,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInTopRight{0%{opacity:0;transform:translate3d(100%,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInBottomLeft{0%{opacity:0;transform:translate3d(-100%,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInBottomRight{0%{opacity:0;transform:translate3d(100%,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}@keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes fadeOutRight{0%{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}@keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;transform:translate3d(2000px,0,0)}}@keyframes fadeOutUp{0%{opacity:1}to{opacity:0;transform:translate3d(0,-100%,0)}}@keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes fadeOutDown{0%{opacity:1}to{opacity:0;transform:translate3d(0,100%,0)}}@keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;transform:translate3d(0,2000px,0)}}@keyframes fadeOutTopLeft{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(-100%,-100%,0)}}@keyframes fadeOutTopRight{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(100%,-100%,0)}}@keyframes fadeOutBottomRight{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(100%,100%,0)}}@keyframes fadeOutBottomLeft{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(-100%,100%,0)}}@keyframes flip{0%{transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(-360deg);animation-timing-function:ease-out}40%{transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-190deg);animation-timing-function:ease-out}50%{transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-170deg);animation-timing-function:ease-in}80%{transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);animation-timing-function:ease-in}to{transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(0);animation-timing-function:ease-in}}@keyframes flipInX{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes flipInY{0%{transform:perspective(400px) rotateY(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateY(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateY(10deg);opacity:1}80%{transform:perspective(400px) rotateY(-5deg)}to{transform:perspective(400px)}}@keyframes flipOutX{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateX(-20deg);opacity:1}to{transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes flipOutY{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateY(-15deg);opacity:1}to{transform:perspective(400px) rotateY(90deg);opacity:0}}@keyframes flipOutRight{to{transform:translateZ(-1000px) rotateY(90deg);opacity:.2}}@keyframes flipInLeft{0%{transform:translateZ(-1000px) rotateY(-90deg);opacity:.2}}@keyframes flipOutLeft{to{transform:translateZ(-1000px) rotateY(-90deg);opacity:.2}}@keyframes flipInRight{0%{transform:translateZ(-1000px) rotateY(90deg);opacity:.2}}@keyframes flipOutTop{to{transform:translateZ(-1000px) rotateX(90deg);opacity:.2}}@keyframes flipInBottom{0%{transform:translateZ(-1000px) rotateX(-90deg);opacity:.2}}@keyframes flipOutBottom{to{transform:translateZ(-1000px) rotateX(-90deg);opacity:.2}}@keyframes flipInTop{0%{transform:translateZ(-1000px) rotateX(90deg);opacity:.2}}@keyframes lightSpeedInLeft{0%{transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{transform:skew(-20deg);opacity:1}80%{transform:skew(5deg)}to{transform:translateZ(0)}}@keyframes lightSpeedInRight{0%{transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{transform:skew(20deg);opacity:1}80%{transform:skew(-5deg)}to{transform:translateZ(0)}}@keyframes lightSpeedOutLeft{0%{opacity:1}to{transform:translate3d(-100%,0,0) skew(-30deg);opacity:0}}@keyframes lightSpeedOutRight{0%{opacity:1}to{transform:translate3d(100%,0,0) skew(30deg);opacity:0}}@keyframes rotateIn{0%{transform:rotate3d(0,0,1,-200deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInUpLeft{0%{transform:rotate3d(0,0,1,45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInUpRight{0%{transform:rotate3d(0,0,1,-90deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInDownLeft{0%{transform:rotate3d(0,0,1,-45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInDownRight{0%{transform:rotate3d(0,0,1,45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateOut{0%{opacity:1}to{transform:rotate3d(0,0,1,200deg);opacity:0}}@keyframes rotateOutUpLeft{0%{opacity:1}to{transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutUpRight{0%{opacity:1}to{transform:rotate3d(0,0,1,90deg);opacity:0}}@keyframes rotateOutDownLeft{0%{opacity:1}to{transform:rotate3d(0,0,1,45deg);opacity:0}}@keyframes rotateOutDownRight{0%{opacity:1}to{transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes hinge{0%{animation-timing-function:ease-in-out}20%,60%{transform:rotate3d(0,0,1,80deg);animation-timing-function:ease-in-out}40%,80%{transform:rotate3d(0,0,1,60deg);animation-timing-function:ease-in-out;opacity:1}to{transform:translate3d(0,700px,0);opacity:0}}@keyframes rotateFall{0%{transform:rotate(0)}20%{transform:rotate(10deg);animation-timing-function:ease-out}40%{transform:rotate(17deg)}60%{transform:rotate(16deg)}to{transform:translateY(100%) rotate(17deg)}}@keyframes rotateOutNewspaper{to{transform:translateZ(-3000px) rotate(360deg);opacity:0}}@keyframes rotateInNewspaper{0%{transform:translateZ(-3000px) rotate(-360deg);opacity:0}}@keyframes jackInTheBox{0%{opacity:0;transform:scale(.1) rotate(30deg);transform-origin:center bottom}50%{transform:rotate(-10deg)}70%{transform:rotate(3deg)}to{opacity:1;transform:scale(1)}}@keyframes rollIn{0%{opacity:0;transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;transform:translateZ(0)}}@keyframes rollOut{0%{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}@keyframes zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomInLeft{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInRight{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInUp{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInDown{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes zoomOutLeft{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;transform:scale(.1) translate3d(-2000px,0,0)}}@keyframes zoomOutRight{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;transform:scale(.1) translate3d(2000px,0,0)}}@keyframes zoomOutUp{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutDown{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes slideInLeft{0%{transform:translate3d(-100%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInRight{0%{transform:translate3d(100%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInUp{0%{transform:translate3d(0,100%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInDown{0%{transform:translate3d(0,-100%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideOutLeft{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(-100%,0,0)}}@keyframes slideOutRight{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(100%,0,0)}}@keyframes slideOutUp{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,-100%,0)}}@keyframes slideOutDown{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,100%,0)}}@keyframes rotateRightSideFirst{40%{transform:rotateY(15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateLeftSideFirst{40%{transform:rotateY(-15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateTopSideFirst{40%{transform:rotateX(15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateBottomSideFirst{40%{transform:rotateX(-15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotatePushLeft{to{opacity:0;transform:rotateY(90deg)}}@keyframes rotatePushRight{to{opacity:0;transform:rotateY(-90deg)}}@keyframes rotatePushTop{to{opacity:0;transform:rotateX(-90deg)}}@keyframes rotatePushBottom{to{opacity:0;transform:rotateX(90deg)}}@keyframes rotatePullRight{0%{opacity:0;transform:rotateY(-90deg)}}@keyframes rotatePullLeft{0%{opacity:0;transform:rotateY(90deg)}}@keyframes rotatePullTop{0%{opacity:0;transform:rotateX(-90deg)}}@keyframes rotatePullBottom{0%{opacity:0;transform:rotateX(90deg)}}@keyframes rotateFoldRight{to{opacity:0;transform:translate(100%) rotateY(90deg)}}@keyframes rotateFoldLeft{to{opacity:0;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateFoldTop{to{opacity:0;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateFoldBottom{to{opacity:0;transform:translateY(100%) rotateX(-90deg)}}@keyframes rotateUnfoldLeft{0%{opacity:0;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateUnfoldRight{0%{opacity:0;transform:translate(100%) rotateY(90deg)}}@keyframes rotateUnfoldTop{0%{opacity:0;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateUnfoldBottom{0%{opacity:0;transform:translateY(100%) rotateX(-90deg)}}@keyframes moveToLeft{to{transform:translate(-100%)}}@keyframes moveFromLeft{0%{transform:translate(-100%)}}@keyframes moveToRight{to{transform:translate(100%)}}@keyframes moveFromRight{0%{transform:translate(100%)}}@keyframes moveToTop{to{transform:translateY(-100%)}}@keyframes moveFromTop{0%{transform:translateY(-100%)}}@keyframes moveToBottom{to{transform:translateY(100%)}}@keyframes moveFromBottom{0%{transform:translateY(100%)}}@keyframes fade{to{opacity:.3}}@keyframes moveToLeftFade{to{opacity:.3;transform:translate(-100%)}}@keyframes moveFromLeftFade{0%{opacity:.3;transform:translate(-100%)}}@keyframes moveToRightFade{to{opacity:.3;transform:translate(100%)}}@keyframes moveFromRightFade{0%{opacity:.3;transform:translate(100%)}}@keyframes moveToTopFade{to{opacity:.3;transform:translateY(-100%)}}@keyframes moveFromTopFade{0%{opacity:.3;transform:translateY(-100%)}}@keyframes moveToBottomFade{to{opacity:.3;transform:translateY(100%)}}@keyframes moveFromBottomFade{0%{opacity:.3;transform:translateY(100%)}}@keyframes scaleToSmall{to{opacity:0;transform:scale(.8)}}@keyframes scaleFromSmall{0%{opacity:0;transform:scale(.8)}}@keyframes scaleFromLarge{0%{opacity:0;transform:scale(1.2)}}@keyframes scaleToLarge{to{opacity:0;transform:scale(1.2)}}@keyframes scaleToSmallCenter{to{opacity:0;transform:scale(.7)}}@keyframes scaleFromSmallCenter{0%{opacity:0;transform:scale(.7)}}@keyframes rotateRoomLeftOut{to{opacity:.3;transform:translate(-100%) rotateY(90deg)}}@keyframes rotateRoomLeftIn{0%{opacity:.3;transform:translate(100%) rotateY(-90deg)}}@keyframes rotateRoomRightOut{to{opacity:.3;transform:translate(100%) rotateY(-90deg)}}@keyframes rotateRoomRightIn{0%{opacity:.3;transform:translate(-100%) rotateY(90deg)}}@keyframes rotateRoomTopOut{to{opacity:.3;transform:translateY(-100%) rotateX(-90deg)}}@keyframes rotateRoomTopIn{0%{opacity:.3;transform:translateY(100%) rotateX(90deg)}}@keyframes rotateRoomBottomOut{to{opacity:.3;transform:translateY(100%) rotateX(90deg)}}@keyframes rotateRoomBottomIn{0%{opacity:.3;transform:translateY(-100%) rotateX(-90deg)}}@keyframes rotateCubeLeftOut{50%{animation-timing-function:ease-out;transform:translate(-50%) translateZ(-200px) rotateY(-45deg)}to{opacity:.3;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateCubeLeftIn{0%{opacity:.3;transform:translate(100%) rotateY(90deg)}50%{animation-timing-function:ease-out;transform:translate(50%) translateZ(-200px) rotateY(45deg)}}@keyframes rotateCubeRightOut{50%{animation-timing-function:ease-out;transform:translate(50%) translateZ(-200px) rotateY(45deg)}to{opacity:.3;transform:translate(100%) rotateY(90deg)}}@keyframes rotateCubeRightIn{0%{opacity:.3;transform:translate(-100%) rotateY(-90deg)}50%{animation-timing-function:ease-out;transform:translate(-50%) translateZ(-200px) rotateY(-45deg)}}@keyframes rotateCubeTopOut{50%{animation-timing-function:ease-out;transform:translateY(-50%) translateZ(-200px) rotateX(45deg)}to{opacity:.3;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateCubeTopIn{0%{opacity:.3;transform:translateY(100%) rotateX(-90deg)}50%{animation-timing-function:ease-out;transform:translateY(50%) translateZ(-200px) rotateX(-45deg)}}@keyframes rotateCubeBottomOut{50%{animation-timing-function:ease-out;transform:translateY(50%) translateZ(-200px) rotateX(-45deg)}to{opacity:.3;transform:translateY(100%) rotateX(-90deg)}}@keyframes rotateCubeBottomIn{0%{opacity:.3;transform:translateY(-100%) rotateX(90deg)}50%{animation-timing-function:ease-out;transform:translateY(-50%) translateZ(-200px) rotateX(45deg)}}@keyframes rotateCarouselLeftOut{to{opacity:.3;transform:translate(-150%) scale(.4) rotateY(-65deg)}}@keyframes rotateCarouselLeftIn{0%{opacity:.3;transform:translate(200%) scale(.4) rotateY(65deg)}}@keyframes rotateCarouselRightOut{to{opacity:.3;transform:translate(200%) scale(.4) rotateY(65deg)}}@keyframes rotateCarouselRightIn{0%{opacity:.3;transform:translate(-200%) scale(.4) rotateY(-65deg)}}@keyframes rotateCarouselTopOut{to{opacity:.3;transform:translateY(-200%) scale(.4) rotateX(65deg)}}@keyframes rotateCarouselTopIn{0%{opacity:.3;transform:translateY(200%) scale(.4) rotateX(-65deg)}}@keyframes rotateCarouselBottomOut{to{opacity:.3;transform:translateY(200%) scale(.4) rotateX(-65deg)}}@keyframes rotateCarouselBottomIn{0%{opacity:.3;transform:translateY(-200%) scale(.4) rotateX(65deg)}}@keyframes rotateSidesOut{to{opacity:0;transform:translateZ(-500px) rotateY(90deg)}}@keyframes rotateSidesIn{0%{opacity:0;transform:translateZ(-500px) rotateY(-90deg)}}@keyframes rotateSlideOut{25%{opacity:.5;transform:translateZ(-500px)}75%{opacity:.5;transform:translateZ(-500px) translate(-200%)}to{opacity:.5;transform:translateZ(-500px) translate(-200%)}}@keyframes rotateSlideIn{0%,25%{opacity:.5;transform:translateZ(-500px) translate(200%)}75%{opacity:.5;transform:translateZ(-500px)}to{opacity:1;transform:translateZ(0) translate(0)}}@keyframes superRainbow{0%{background:red}20%{background:orange}40%{background:yellow}60%{background:green}80%{background:blue}to{background:violet}}.superRainbow{background-position:0 0;background-size:200% 100%;background-image:linear-gradient(90deg,red,orange,yellow,green,blue,violet)}.superRainbow:hover{background-position:-100% 100%}@keyframes statusProcessing{0%{transform:scale(.8);opacity:.5}to{transform:scale(2.4);opacity:0}}
206
- `,`.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))}
207
- `]],["__scopeId","data-v-8b4a3cb1"]]),wh=nt(Y({customOptions:{Container:mt},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(e,{expose:t}){const o=e,n=R(),r=R(40),s=R(20),a=R(20),l=(v,g)=>{r.value=Math.floor(v/(6+1)),s.value=Math.floor(g),a.value=Math.max(12,s.value)},i=()=>{o.initStart&&w(o.startTime)};let c;const u=()=>{c?.()},f=jt([0,0,0,0,0,0]),d=jt([0,0,0,0,0,0]),h=[0,0,0,0,0,0];let p=0;const w=v=>{v&&($y(Ay(v),h),h.forEach((g,y)=>{f[y]=g,d[y]=g})),u(),p=0,x(re(),0,!1),c=jy((g,y,m)=>{x(g,y,m)},1e3)},x=(v,g,y)=>{if(y)p=g;else{if(p>0){h.forEach((_,C)=>{f[C]=_,d[C]=_});const m=p+1;o.creaseType=="increase"?(Bi(f,m),Bi(d,m+1)):(Yi(f,m),Yi(d,m+1)),p=0}else o.creaseType=="increase"?Bi(d,1):Yi(d,1);Gi(()=>{d.forEach((m,_)=>{f[_]=m})},o.dur)}};return fe(()=>{yo(`
192
+ )`,"box-sizing":"border-box"}},null,-1)),v("div",{class:"field-knob",style:N([{position:"absolute",width:"12px",height:"12px","box-shadow":"rgba(0, 0, 0, 0.5) 0px 1px 3px","border-radius":"12px","z-index":"1",cursor:"pointer","box-sizing":"border-box"},{left:x.value+"px",top:k.value+"px",backgroundColor:l.value,border:`2px solid ${c.value}`}])},null,4)]),_:1})],4),v("div",v3,[Z(ht,{type:"full",onReady:m},{default:W(()=>[v("div",{class:"hue-knob",style:N([{position:"absolute",width:"15px",height:"2px","z-index":"1","box-sizing":"border-box"},{marginTop:b.value+"px",borderRight:"4px solid "+f.value}])},null,4)]),_:1})])])]),_:3},512))}}),_3={viewBox:"6 6 12 12",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",fill:"none",style:{display:"block",transformOrigin:"center"}},x3=["fill"],k3=["fill"],Js=Y({__name:"SVGClose",props:{color:{default:"#666666"}},setup(o){const t=o;return(e,n)=>(I(),D("svg",_3,[v("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6.22785 6.22781C6.53159 5.92407 7.02405 5.92407 7.32779 6.22781L17.7722 16.6722C18.0759 16.976 18.0759 17.4685 17.7722 17.7722C17.4685 18.0759 16.976 18.0759 16.6723 17.7722L6.22785 7.32775C5.92411 7.02401 5.92411 6.53155 6.22785 6.22781Z",fill:t.color},null,8,x3),v("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M17.7722 6.22781C18.0759 6.53155 18.0759 7.02401 17.7722 7.32775L7.32775 17.7722C7.02401 18.0759 6.53155 18.0759 6.22781 17.7722C5.92406 17.4685 5.92407 16.976 6.22781 16.6722L16.6722 6.22781C16.976 5.92406 17.4684 5.92406 17.7722 6.22781Z",fill:t.color},null,8,k3)]))}}),w3=["viewBox"],C3=["cx","cy","rx","ry","fill"],Za=Y({__name:"SVGEllipse",props:{color:{default:"#e6e6e6"}},setup(o){const t=o,e=P(0),n=P(0);function s(r){e.value=r.rect.width,n.value=r.rect.height}return(r,a)=>(I(),dt(ht,{type:"full",onReady:s},{default:W(()=>[(I(),D("svg",{viewBox:`0 0 ${e.value} ${n.value}`,xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",fill:"none",style:{display:"block",transformOrigin:"center"}},[v("ellipse",{cx:e.value*.5,cy:n.value*.5,rx:e.value*.5,ry:n.value*.5,fill:t.color},null,8,C3)],8,w3))]),_:1}))}}),T3={class:"dialog-parent"},E3={key:0,class:"top-icon"},S3={class:"top-icon-warn"},O3={class:"top-icon-warn-shadow"},P3={key:0,class:"title"},R3={key:0,class:"title-inner"},I3={class:"custom-content"},A3={class:"custom-content-default"},Ua=st(Y({customOptions:{Overlay:sn,Pop:ce,Button:ie,SVGClose:Js,SVGWarn:an,SVGEllipse:Za},inheritAttrs:!0,__name:"Dialog.ce",props:{closeWhenClickOverlay:{type:Boolean,default:!1},dur:{default:200},minWidth:{default:"280px"},maxWidth:{default:"320px"},overlayBgColor:{},stylePattern:{default:"fullfill"},borderRadius:{default:"12px"}},emits:["open","close","cancel","confirm"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P(),a=P(""),i=P(""),l=P(!1),c=P(""),u=P(""),f=P(n.stylePattern),d=P("transparent"),h=P("transparent"),p=P(!1),b=P(""),x=P(""),k=P(!1);function g(M){switch(f.value=M,M){case"fullfill":d.value="fullfill",h.value="fullfill",p.value=!1,b.value="",x.value="",k.value=!1;break;case"transparent":d.value="transparent",h.value="transparent",p.value=!1,b.value="",x.value="",k.value=!1;break;case"icon-warn-red":d.value="transparent",h.value="fullfill",p.value=!0,b.value=Zt("--xg-red","#fa503c"),x.value=Zt("--xg-red-light","#fa8c78"),k.value=!0;break;case"icon-warn-blue":d.value="transparent",h.value="fullfill",p.value=!0,b.value=Zt("--xg-blue","#5a82f0"),x.value=Zt("--xg-blue-light","#66b3ff"),k.value=!0;break}}Rt(()=>n.stylePattern,()=>{g(n.stylePattern)},{immediate:!0});let m,y;const _=()=>{s("open")},w=()=>{s("close")};function $(M){a.value=M?.title||"",i.value=M?.content||"",l.value=typeof M?.showClose=="boolean"?M?.showClose:!1,c.value=M?.cancelText||"",u.value=M?.confirmText||"",g(M?.stylePattern||n.stylePattern),m=M?.onCancel,y=M?.onConfirm,r.value.open()}function V(){r.value.close(),m?.(),s("cancel")}function B(){r.value.close(),y?.(),s("confirm")}return t({open:$,close:V}),(M,ut)=>(I(),dt(ce,{ref_key:"popRef",ref:r,directionFrom:"center",closeWhenClickOverlay:n.closeWhenClickOverlay,dur:n.dur,overlayBgColor:n.overlayBgColor,onOpen:_,onClose:w},{default:W(()=>[v("div",T3,[v("div",{class:"dialog",style:N({minWidth:n.minWidth,maxWidth:n.maxWidth})},[p.value?(I(),D("div",E3,[v("div",S3,[Z(an,{colorStart:b.value,colorEnd:x.value},null,8,["colorStart","colorEnd"])]),v("div",O3,[Z(Za)])])):yt("",!0),v("div",{class:"dialog-inner",style:N({paddingTop:p.value?"24px":"0px",borderRadius:n.borderRadius})},[a.value||l.value?(I(),D("div",P3,[a.value?(I(),D("div",R3,ft(a.value),1)):yt("",!0),l.value?(I(),D("div",{key:1,class:"close",onClick:V},[v("div",null,[Z(Js)])])):yt("",!0)])):yt("",!0),v("div",I3,[mt(M.$slots,"default",{},()=>[v("div",A3,ft(i.value),1)],!0)]),c.value||u.value?(I(),D("div",{key:1,class:Gt(["btns",[f.value,k.value?"vertical":""]])},[c.value?(I(),dt(ie,{key:0,class:"btn",fontColor:"#333333",stylePattern:d.value,borderRadius:p.value?"44px":"0",borderColor:p.value?"#cccccc":"",bgColor:d.value=="transparent"?"#ffffff":"#f5f5f5",onClick:V},{default:W(()=>[Bt(ft(c.value),1)]),_:1},8,["stylePattern","borderRadius","borderColor","bgColor"])):yt("",!0),u.value?(I(),dt(ie,{key:1,class:"btn",stylePattern:h.value,borderRadius:p.value?"44px":"0",bgColor:h.value=="transparent"?"#ffffff":"",bgColorStart:b.value,bgColorEnd:x.value,fontWeight:h.value=="transparent"?"bold":"",onClick:B},{default:W(()=>[Bt(ft(u.value),1)]),_:1},8,["stylePattern","borderRadius","bgColor","bgColorStart","bgColorEnd","fontWeight"])):yt("",!0)],2)):yt("",!0)],4)],4)])]),_:3},8,["closeWhenClickOverlay","dur","overlayBgColor"]))}}),[["styles",[`.dialog-parent[data-v-d254fcfe]{display:flex;justify-content:center;align-items:center}.dialog[data-v-d254fcfe]{position:relative}.top-icon[data-v-d254fcfe]{position:absolute;top:0;left:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;justify-content:center;align-items:center}.top-icon-warn[data-v-d254fcfe]{width:60px;height:60px}.top-icon-warn-shadow[data-v-d254fcfe]{width:40px;height:4px;margin-top:4px}.dialog-inner[data-v-d254fcfe]{background-color:#fff;overflow:hidden}.title[data-v-d254fcfe]{position:relative;font-size:20px;margin-top:20px;color:#333}.title-inner[data-v-d254fcfe]{padding:0 42px;text-align:center;font-weight:700}.close[data-v-d254fcfe]{position:absolute;top:0;right:0;width:32px;height:100%;text-align:center;display:flex;justify-content:left;align-items:center;cursor:pointer}.close>div[data-v-d254fcfe]{width:12px;display:flex;justify-content:center;align-items:center}.custom-content[data-v-d254fcfe]{font-size:16px;color:#666;word-break:break-all;text-align:center}.custom-content-default[data-v-d254fcfe]{padding:15px 20px 20px}.btns[data-v-d254fcfe]{display:flex;justify-content:center}.btns.vertical[data-v-d254fcfe]{flex-direction:column}.btns.vertical>.btn[data-v-d254fcfe]{margin-left:20px;margin-right:20px}.btns.vertical>.btn[data-v-d254fcfe]:nth-child(1){order:2;margin-top:10px;margin-bottom:20px}.btns.vertical>.btn[data-v-d254fcfe]:nth-child(2){order:1}.btns.transparent[data-v-d254fcfe]{border-top:1px solid #cccccc}.btns.transparent>.btn+.btn[data-v-d254fcfe]{border-left:1px solid #cccccc!important}.btn[data-v-d254fcfe]{flex:1 1 auto;border-radius:0}
193
+ `]],["__scopeId","data-v-d254fcfe"]]),$3={class:"dialog-parent"},N3={key:0,class:"top-icon"},F3={class:"top-icon-warn"},z3={class:"top-icon-warn-shadow"},D3={key:0,class:"title"},M3={key:0,class:"title-inner"},L3={class:"custom-content"},B3={class:"custom-content-default"},V3=Y({customOptions:{Overlay:sn,Pop:ce,Button:ie,SVGClose:Js,SVGWarn:an,SVGEllipse:Za},inheritAttrs:!0,__name:"Dialog",props:{closeWhenClickOverlay:{type:Boolean,default:!1},dur:{default:200},minWidth:{default:"280px"},maxWidth:{default:"320px"},overlayBgColor:{},stylePattern:{default:"fullfill"},borderRadius:{default:"12px"}},emits:["open","close","cancel","confirm"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P(),a=P(""),i=P(""),l=P(!1),c=P(""),u=P(""),f=P(n.stylePattern),d=P("transparent"),h=P("transparent"),p=P(!1),b=P(""),x=P(""),k=P(!1);function g(M){switch(f.value=M,M){case"fullfill":d.value="fullfill",h.value="fullfill",p.value=!1,b.value="",x.value="",k.value=!1;break;case"transparent":d.value="transparent",h.value="transparent",p.value=!1,b.value="",x.value="",k.value=!1;break;case"icon-warn-red":d.value="transparent",h.value="fullfill",p.value=!0,b.value=Zt("--xg-red","#fa503c"),x.value=Zt("--xg-red-light","#fa8c78"),k.value=!0;break;case"icon-warn-blue":d.value="transparent",h.value="fullfill",p.value=!0,b.value=Zt("--xg-blue","#5a82f0"),x.value=Zt("--xg-blue-light","#66b3ff"),k.value=!0;break}}Rt(()=>n.stylePattern,()=>{g(n.stylePattern)},{immediate:!0});let m,y;const _=()=>{s("open")},w=()=>{s("close")};function $(M){a.value=M?.title||"",i.value=M?.content||"",l.value=typeof M?.showClose=="boolean"?M?.showClose:!1,c.value=M?.cancelText||"",u.value=M?.confirmText||"",g(M?.stylePattern||n.stylePattern),m=M?.onCancel,y=M?.onConfirm,r.value.open()}function V(){r.value.close(),m?.(),s("cancel")}function B(){r.value.close(),y?.(),s("confirm")}return t({open:$,close:V}),(M,ut)=>(I(),dt(ce,{ref_key:"popRef",ref:r,directionFrom:"center",closeWhenClickOverlay:n.closeWhenClickOverlay,dur:n.dur,overlayBgColor:n.overlayBgColor,onOpen:_,onClose:w},{default:W(()=>[v("div",$3,[v("div",{class:"dialog",style:N({minWidth:n.minWidth,maxWidth:n.maxWidth})},[p.value?(I(),D("div",N3,[v("div",F3,[Z(an,{colorStart:b.value,colorEnd:x.value},null,8,["colorStart","colorEnd"])]),v("div",z3,[Z(Za)])])):yt("",!0),v("div",{class:"dialog-inner",style:N({paddingTop:p.value?"24px":"0px",borderRadius:n.borderRadius})},[a.value||l.value?(I(),D("div",D3,[a.value?(I(),D("div",M3,ft(a.value),1)):yt("",!0),l.value?(I(),D("div",{key:1,class:"close",onClick:V},[v("div",null,[Z(Js)])])):yt("",!0)])):yt("",!0),v("div",L3,[mt(M.$slots,"default",{},()=>[v("div",B3,ft(i.value),1)],!0)]),c.value||u.value?(I(),D("div",{key:1,class:Gt(["btns",[f.value,k.value?"vertical":""]])},[c.value?(I(),dt(ie,{key:0,class:"btn",fontColor:"#333333",stylePattern:d.value,borderRadius:p.value?"44px":"0",borderColor:p.value?"#cccccc":"",bgColor:d.value=="transparent"?"#ffffff":"#f5f5f5",onClick:V},{default:W(()=>[Bt(ft(c.value),1)]),_:1},8,["stylePattern","borderRadius","borderColor","bgColor"])):yt("",!0),u.value?(I(),dt(ie,{key:1,class:"btn",stylePattern:h.value,borderRadius:p.value?"44px":"0",bgColor:h.value=="transparent"?"#ffffff":"",bgColorStart:b.value,bgColorEnd:x.value,fontWeight:h.value=="transparent"?"bold":"",onClick:B},{default:W(()=>[Bt(ft(u.value),1)]),_:1},8,["stylePattern","borderRadius","bgColor","bgColorStart","bgColorEnd","fontWeight"])):yt("",!0)],2)):yt("",!0)],4)],4)])]),_:3},8,["closeWhenClickOverlay","dur","overlayBgColor"]))}}),RC="",Ha=st(V3,[["__scopeId","data-v-9cfe37ca"]]),Y3={class:"loading-8"},X3={viewBox:"25 25 50 50"},Z3=Y({__name:"Loading8",props:{color:{default:Zt("--xg-blue")}},setup(o){const t=o;return(e,n)=>(I(),D("div",Y3,[(I(),D("svg",X3,[v("circle",{cx:"50",cy:"50",r:"20",style:N(["stroke: "+t.color])},null,4)]))]))}}),IC="",Hp=st(Z3,[["__scopeId","data-v-04be3476"]]),U3={class:"loading"},H3={class:"icon"},j3={style:{width:"8em"}},G3={key:0,class:"content"},jp=st(Y({customOptions:{Overlay:sn,Pop:ce,Dialog:Ha,Loading8:Hp},inheritAttrs:!0,__name:"DialogLoading.ce",props:{closeWhenClickOverlay:{type:Boolean,default:!1},dur:{default:200}},emits:["open","close"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P(),a=P(""),i=()=>{s("open")},l=()=>{s("close")};function c(f){a.value=f||"",r.value.open()}function u(){r.value.close()}return t({open:c,close:u}),(f,d)=>(I(),dt(Ha,{ref_key:"dialog",ref:r,showConfirm:!1,showTitle:!1,closeWhenClickOverlay:n.closeWhenClickOverlay,dur:n.dur,onOpen:i,onClose:l},{default:W(()=>[v("div",U3,[v("div",H3,[mt(f.$slots,"default",{},()=>[v("div",j3,[Z(Hp)])],!0)]),a.value?(I(),D("div",G3,ft(a.value),1)):yt("",!0)])]),_:3},8,["closeWhenClickOverlay","dur"]))}}),[["styles",[`.loading[data-v-78125a55]{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:1em}.icon[data-v-78125a55]{padding:2em 0;display:flex;justify-content:center;align-items:center}.content[data-v-78125a55]{font-size:1em;margin-top:-1em;margin-bottom:1em}
194
+ `]],["__scopeId","data-v-78125a55"]]),W3={class:"toast"},q3={class:"content"},Gp=st(Y({customOptions:{Overlay:sn,Pop:ce,Dialog:Ha},inheritAttrs:!0,__name:"DialogToast.ce",props:{closeWhenClickOverlay:{type:Boolean,default:!1},dur:{default:200}},emits:["open","close"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P(),a=P(""),i=()=>{s("open")},l=()=>{s("close")};function c(f,d=1500){a.value=f,r.value.open(),setTimeout(()=>{u()},d)}function u(){r.value.close()}return t({open:c,close:u}),(f,d)=>(I(),dt(Ha,{ref_key:"dialog",ref:r,showConfirm:!1,showTitle:!1,closeWhenClickOverlay:n.closeWhenClickOverlay,dur:n.dur,overlayBgColor:"transparent",minWidth:"160px",borderRadius:"8px",onOpen:i,onClose:l},{default:W(()=>[v("div",W3,[v("div",q3,ft(a.value),1)])]),_:1},8,["closeWhenClickOverlay","dur"]))}}),[["styles",[`.toast[data-v-1b77e3db]{display:flex;flex-direction:column;justify-content:center;align-items:center;background-color:#333;color:#ccc;padding:1em}.content[data-v-1b77e3db]{font-size:1em}
195
+ `]],["__scopeId","data-v-1b77e3db"]]),K3=Y({customOptions:{Container:ht,CSSAnimation:es},inheritAttrs:!0,__name:"Page.ce",props:{effect:{default:"moveFromLeft"},duration:{default:500},easeFunction:{type:Function,default:at.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["ready","pageOpenStart","pageOpenEnd","pageCloseStart","pageCloseEnd"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P(),a=Wt({}),i=()=>{s("ready",w,$)},l=()=>{b()},c=P();let u="rotateRightSideFirst",f=n.effect;function d(V,B){switch(f){case"static":B();break;default:V();break}}let h=!1;const p=new Ze,b=()=>{const V={},B={};p.clear(),p.frameDuration=n.duration,d(()=>{u=f},()=>{p.addTween(V,B,{delay:n.delay/n.duration,easeFunction:n.easeFunction,onStart:()=>{s(h?"pageCloseStart":"pageOpenStart")},onUpdate:M=>{a.transform="","x"in M&&(a.transform+=` translateX(${M.x}%)`),"y"in M&&(a.transform+=` translateY(${M.y}%)`),"rx"in M&&(a.transform+=` rotateX(${M.rx}deg)`),"ry"in M&&(a.transform+=` rotateY(${M.ry}deg)`),"scale"in M&&(a.transform+=` scale(${M.scale})`),"opacity"in M&&(a.opacity=`${M.opacity}`)},onComplete:()=>{s(h?"pageCloseEnd":"pageOpenEnd")}})})};Rt(()=>[n.effect,n.delay,n.duration,n.easeFunction],()=>{f=n.effect,b()},{immediate:!0});const x=()=>{s(h?"pageCloseStart":"pageOpenStart")},k=()=>{s(h?"pageCloseEnd":"pageOpenEnd")},g=()=>{d(()=>{c.value.trigger(u)},()=>{p.play()})},m=()=>{d(()=>{c.value.triggerReverse(u)},()=>{p.reverse()})},y=()=>{a.transform="none",a.opacity="1"};function _(){d(()=>{y()},()=>{c.value?.clear()})}const w=V=>{V&&(f=V,b()),h=!1,_(),g()},$=V=>{V&&(f=V,b()),h=!0,_(),m()};return t({open:w,close:$,clear:y}),(V,B)=>(I(),dt(ht,{class:"page",ref_key:"pageRef",ref:r,type:"full",effectTriggerTiming:"manual",style:{overflow:"hidden",width:"100%",height:"100%"},onReady:i,onUpdate:l},{default:W(()=>[Z(es,{ref_key:"cssAnimationRef",ref:c,containerType:"full",effectTriggerTiming:"manual",duration:n.duration,delay:n.delay,timingFunction:n.timingFunction,onCssanimationstart:x,onCssanimationend:k},{default:W(()=>[v("div",{class:"page-inner",style:N({position:"relative",display:"block",width:"100%",height:"100%",overflow:"scroll",backfaceVisibility:"hidden",transformStyle:"preserve-3d",...a})},[mt(V.$slots,"default")],4)]),_:3},8,["duration","delay","timingFunction"])]),_:3},512))}}),Wp=Y({customOptions:{Page:$a,Container:ht},inheritAttrs:!0,__name:"Routes.ce",props:{effect:{default:"moveToLeft"},duration:{default:500},easeFunction:{type:Function,default:at.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["routeChangeStart","routeChangeEnd","renderComplete"],setup(o,{expose:t,emit:e}){const n=o,s=e;let r=-1,a=-1,i;const l=[];let c=[],u=[],f=[];function d(et){return et>=0&&et<c.length}function h(){return a>r}function p(et,A,re){switch(et){case r:return h()?A:re;case a:return h()?re:A;default:return"static"}}function b(et,A){switch(et){case"moveToLeft":return p(A,"moveToLeft","moveFromRight");case"moveToRight":return p(A,"moveToRight","moveFromLeft");case"moveToTop":return p(A,"moveToTop","moveFromBottom");case"moveToBottom":return p(A,"moveToBottom","moveFromTop");case"moveFromLeftPrevFade":return p(A,"fade","moveFromLeft");case"moveFromRightPrevFade":return p(A,"fade","moveFromRight");case"moveFromTopPrevFade":return p(A,"fade","moveFromTop");case"moveFromBottomPrevFade":return p(A,"fade","moveFromBottom");case"moveToLeftFade":return p(A,"moveToLeftFade","moveFromRightFade");case"moveToRightFade":return p(A,"moveToRightFade","moveFromLeftFade");case"moveToTopFade":return p(A,"moveToTopFade","moveFromBottomFade");case"moveToBottomFade":return p(A,"moveToBottomFade","moveFromTopFade");case"moveToLeftEasing":return p(A,"moveToLeft","moveFromRight");case"moveToRightEasing":return p(A,"moveToRight","moveFromLeft");case"moveToTopEasing":return p(A,"moveToTop","moveFromBottom");case"moveToBottomEasing":return p(A,"moveToBottom","moveFromTop");case"moveFromLeftPrevScaleToSmall":return p(A,"scaleToSmall","moveFromLeft");case"moveFromRightPrevScaleToSmall":return p(A,"scaleToSmall","moveFromRight");case"moveFromTopPrevScaleToSmall":return p(A,"scaleToSmall","moveFromTop");case"moveFromBottomPrevScaleToSmall":return p(A,"scaleToSmall","moveFromBottom");case"scaleSmall":return p(A,"scaleToSmall","scaleFromLarge");case"scaleLarge":return p(A,"scaleToLarge","scaleFromSmall");case"scaleToLargePrevScaleToSmall":return p(A,"scaleToSmallCenter","scaleFromSmallCenter");case"scaleFromSmallPrevMoveToLeft":return p(A,"moveToLeft","scaleFromSmall");case"scaleFromSmallPrevMoveToRight":return p(A,"moveToRight","scaleFromSmall");case"scaleFromSmallPrevMoveToTop":return p(A,"moveToTop","scaleFromSmall");case"scaleFromSmallPrevMoveToBottom":return p(A,"moveToBottom","scaleFromSmall");case"glueToLeft":return p(A,"rotateRightSideFirst","moveFromRight");case"glueToRight":return p(A,"rotateLeftSideFirst","moveFromLeft");case"glueToTop":return p(A,"rotateBottomSideFirst","moveFromBottom");case"glueToBottom":return p(A,"rotateTopSideFirst","moveFromTop");case"flipToLeft":return p(A,"flipOutLeft","flipInRight");case"flipToRight":return p(A,"flipOutRight","flipInLeft");case"flipToTop":return p(A,"flipOutTop","flipInBottom");case"flipToBottom":return p(A,"flipOutBottom","flipInTop");case"rotateFall":return p(A,"rotateFall","scaleFromSmall");case"newspaper":return p(A,"rotateOutNewspaper","rotateInNewspaper");case"moveFromLeftPrevPush":return p(A,"rotatePushRight","moveFromLeft");case"moveFromRightPrevPush":return p(A,"rotatePushLeft","moveFromRight");case"moveFromTopPrevPush":return p(A,"rotatePushBottom","moveFromTop");case"moveFromBottomPrevPush":return p(A,"rotatePushTop","moveFromBottom");case"pullFromLeftPrevPush":return p(A,"rotatePushRight","rotatePullLeft");case"pullFromRightPrevPush":return p(A,"rotatePushLeft","rotatePullRight");case"pullFromTopPrevPush":return p(A,"rotatePushBottom","rotatePullTop");case"pullFromBottomPrevPush":return p(A,"rotatePushTop","rotatePullBottom");case"moveFromLeftFadePrevFold":return p(A,"rotateFoldRight","moveFromLeftFade");case"moveFromRightFadePrevFold":return p(A,"rotateFoldLeft","moveFromRightFade");case"moveFromTopFadePrevFold":return p(A,"rotateFoldBottom","moveFromTopFade");case"moveFromBottomFadePrevFold":return p(A,"rotateFoldTop","moveFromBottomFade");case"moveToLeftFadePrevUnfold":return p(A,"moveToLeftFade","rotateUnfoldRight");case"moveToRightFadePrevUnfold":return p(A,"moveToRightFade","rotateUnfoldLeft");case"moveToTopFadePrevUnfold":return p(A,"moveToTopFade","rotateUnfoldBottom");case"moveToBottomFadePrevUnfold":return p(A,"moveToBottomFade","rotateUnfoldTop");case"rotateRoomLeftIn":return p(A,"rotateRoomLeftOut","rotateRoomLeftIn");case"rotateRoomRightIn":return p(A,"rotateRoomRightOut","rotateRoomRightIn");case"rotateRoomTopIn":return p(A,"rotateRoomTopOut","rotateRoomTopIn");case"rotateRoomBottomIn":return p(A,"rotateRoomBottomOut","rotateRoomBottomIn");case"rotateCubeLeftIn":return p(A,"rotateCubeLeftOut","rotateCubeLeftIn");case"rotateCubeRightIn":return p(A,"rotateCubeRightOut","rotateCubeRightIn");case"rotateCubeTopIn":return p(A,"rotateCubeTopOut","rotateCubeTopIn");case"rotateCubeBottomIn":return p(A,"rotateCubeBottomOut","rotateCubeBottomIn");case"rotateCarouselLeftIn":return p(A,"rotateCarouselLeftOut","rotateCarouselLeftIn");case"rotateCarouselRightIn":return p(A,"rotateCarouselRightOut","rotateCarouselRightIn");case"rotateCarouselTopIn":return p(A,"rotateCarouselTopOut","rotateCarouselTopIn");case"rotateCarouselBottomIn":return p(A,"rotateCarouselBottomOut","rotateCarouselBottomIn");case"rotateSidesIn":return p(A,"rotateSidesOut","rotateSidesIn");case"rotateSlideIn":return p(A,"rotateSlideOut","rotateSlideIn")}}function x(et,A=600,re=600){switch(et){case r:return A;case a:return re;default:return n.duration}}function k(et,A){switch(et){case"moveFromLeftFadePrevFold":case"moveFromRightFadePrevFold":case"moveFromTopFadePrevFold":case"moveFromBottomFadePrevFold":return x(A,700,700);case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":case"moveFromLeftPrevScaleToSmall":case"moveFromRightPrevScaleToSmall":case"moveFromTopPrevScaleToSmall":case"moveFromBottomPrevScaleToSmall":return x(A,700,600);case"scaleSmall":return x(A,700,500);case"scaleLarge":return x(A,500,700);case"scaleToLargePrevScaleToSmall":return x(A,400,400);case"scaleFromSmallPrevMoveToLeft":case"scaleFromSmallPrevMoveToRight":case"scaleFromSmallPrevMoveToTop":case"scaleFromSmallPrevMoveToBottom":return x(A,600,700);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":return x(A,800,600);default:return n.duration}}let g=n.timingFunction;function m(et){switch(et){default:return n.easeFunction}}function y(et,A){switch(et){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":switch(A){case r:g=h()?"ease-in-out":"ease";break;case a:default:g=h()?"ease":"ease-in-out"}return m(A);default:return g=n.timingFunction,n.easeFunction}}function _(et,A=300){switch(et){case a:return n.delay+A;default:return n.delay}}function w(et,A){switch(et){case"flipToLeft":case"flipToRight":case"flipToTop":case"flipToBottom":case"newspaper":return _(A,500);case"scaleSmall":case"scaleLarge":return _(A,300);case"scaleToLargePrevScaleToSmall":return _(A,400);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":case"rotateSidesIn":return _(A,200);case"pullFromLeftPrevPush":case"pullFromRightPrevPush":case"pullFromTopPrevPush":case"pullFromBottomPrevPush":return _(A,180);default:return n.delay}}let $=2,V=2;const B=()=>{$=2,V=2},M=()=>{$=2,V=3},ut=()=>{$=3,V=2};function G(et){switch(n.effect){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":ut();break;case"scaleFromSmallPrevMoveToLeft":case"scaleFromSmallPrevMoveToRight":case"scaleFromSmallPrevMoveToTop":case"scaleFromSmallPrevMoveToBottom":case"rotateFall":case"rotateRoomLeftIn":case"rotateRoomRightIn":case"rotateRoomTopIn":case"rotateRoomBottomIn":case"rotateCubeLeftIn":case"rotateCubeRightIn":case"rotateCubeTopIn":case"rotateCubeBottomIn":case"rotateCarouselLeftIn":case"rotateCarouselRightIn":case"rotateCarouselTopIn":case"rotateCarouselBottomIn":h()?ut():M();break;case"moveFromLeftPrevFade":case"moveFromRightPrevFade":case"moveFromTopPrevFade":case"moveFromBottomPrevFade":case"moveFromLeftPrevScaleToSmall":case"moveFromRightPrevScaleToSmall":case"moveFromTopPrevScaleToSmall":case"moveFromBottomPrevScaleToSmall":case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":h()?M():ut();break;default:B();break}d(r)&&r==et&&(f[r].style.zIndex=`${$}`,f[r].style.visibility="visible"),d(a)&&a==et&&(f[a].style.zIndex=`${V}`,f[a].style.visibility="visible")}function tt(et){M(),et==r&&(f[r].style.zIndex=`${$}`,f[r].style.visibility="hidden"),et==a&&(f[a].style.zIndex=`${V}`,f[a].style.visibility="visible",l.shift()?.(),s("routeChangeEnd",r,a,c.length),r=a)}const gt=P();function Ot(et=0,A=!1){if(!gt.value)return;let re=0;Xr(Xt("div",{class:"routes-pages",style:{display:"block",width:"100%",height:"100%",overflow:"hidden",position:"relative"}},c.map((Nt,F)=>{const ot=b(n.effect,F);return Xt("div",Object.assign({class:"routes-page",style:{display:"block",width:"100%",height:"100%",overflow:"hidden",position:"absolute",top:"0",left:"0",backfaceVisibility:"hidden",transform:"translate3d(0, 0, 0)",transformStyle:"preserve-3d",visibility:r==F?"visible":"hidden",zIndex:A?"1":"0"}},Nt.pageKey?{key:Nt.pageKey}:{}),Xt($a,{effect:ot,duration:k(n.effect,F),easeFunction:y(n.effect,F),timingFunction:g,delay:w(n.effect,F),onReady:(j,it)=>{u[F]={open:j,close:it},++re==et&&(i?.(),s("renderComplete"))},onPageOpenStart:()=>{G(F)},onPageOpenEnd:()=>{tt(F)},onPageCloseStart:()=>{G(F)},onPageCloseEnd:()=>{tt(F)}},{default:()=>Nt.component instanceof HTMLElement?Xt("div",{...Nt.attributes,innerHTML:Nt.component.innerHTML}):Xt(Nt.component,Nt.attributes,()=>Nt.child)}))})),gt.value),f=gt.value.children[0].children}Rt(()=>n.effect,()=>{Ot()});function $t(et=[]){c=[...et],c.forEach(A=>{A.pageKey=A.pageKey||Mn()}),i=()=>{r=-1,Yt(0)},Ot(c.length,!0)}function xt(et){et.pageKey=et.pageKey||Mn(),c.push(et),i=()=>{Yt(c.length-1)},Ot(1,c.length==1)}function kt(){c.length<=1||Yt(c.length-2,()=>{c.splice(c.length-1,1),r=c.length-1,Ot()})}function se(){Yt(r+1)}function me(){Yt(r-1)}const he=new jr(1);function Yt(et,A){he.addTask(()=>new Promise(re=>{const Nt=()=>{A?.(),re()};if(!d(et)){Nt();return}if(a=et,a==r){Nt();return}l.push(Nt),Ot(),s("routeChangeStart",r,a,c.length),h()?(d(r)&&u[r].open(),d(a)&&u[a].open()):(d(r)&&u[r].close(),d(a)&&u[a].close())}))}return t({reset:$t,push:xt,pop:kt,forward:se,back:me,goto:Yt,currentPageIndex:()=>r,totalPages:()=>c.length}),(et,A)=>(I(),D("div",{class:"routes",ref_key:"routesRef",ref:gt,style:{display:"block",position:"relative",width:"100%",height:"100%","overflow-x":"hidden","overflow-y":"hidden"}},null,512))}}),Q3=["src"],vc=st(Y({name:"Image",customOptions:{Container:ht,Pop:ce},inheritAttrs:!0,__name:"Image.ce",props:{src:{},mode:{default:"scaleToFill"},dur:{default:300},bgColor:{default:"transparent"},openImageDetailWhenClick:{type:Boolean,default:!0}},emits:["settled"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=new Ze({frameDuration:n.dur}),a=P(0),i=P(0),l=P(0),c=P(0),u=P(0),f=P(0),d=P(0),h=P(0),p=P(!0),b=P(0),x=P(0);oh(n.src).then(tt=>{b.value=tt.width,x.value=tt.height,w()}).catch(()=>{p.value=!1});const k=P(0),g=P(0),m=tt=>{k.value=tt.rect.width,g.value=tt.rect.height,w()},y=P(0),_=P(0);function w(){if(!k.value||!g.value||!b.value||!x.value)return;const tt=ma(n.mode,b.value,x.value,k.value,g.value);y.value=tt.width,_.value=tt.height;const{width:gt,height:Ot}=Vs(),$t=ma("aspectFit",b.value,x.value,gt,Ot);d.value=$t.width,h.value=$t.height,u.value=(gt-d.value)/2,f.value=(Ot-h.value)/2}const $=tt=>{s("settled",tt.rect.x,tt.rect.y,tt.rect.width,tt.rect.height)};let V=!1;const B=P(),M=P();async function ut(){if(!n.openImageDetailWhenClick)return;const tt=await B.value.getRect();r.clear(),r.addTween({left:tt.x,top:tt.y,width:tt.width,height:tt.height},{left:u.value,top:f.value,width:d.value,height:h.value},{easeFunction:at.Quadratic.Out,onUpdate(gt){a.value=gt.left,i.value=gt.top,l.value=gt.width,c.value=gt.height},onComplete(){V&&M.value.close(),V=!V}}),V||(M.value.open(),r.play())}function G(){V&&r.reverse()}return t({}),(tt,gt)=>(I(),dt(ht,{class:"image",type:"full",style:N({backgroundColor:n.bgColor}),onReady:m,onUpdate:m,onClick:ut},{default:W(()=>[p.value?(I(),dt(ht,{key:0,class:"image-inner",ref_key:"imageRef",ref:B,type:"shrink",style:N({width:y.value+"px",height:_.value+"px",backgroundImage:`url(${n.src})`,backgroundSize:`${y.value}px ${_.value}px`}),onReady:$,onUpdate:$},null,8,["style"])):yt("",!0),p.value?yt("",!0):(I(),dt(ht,{key:1,type:"shrink"},{default:W(()=>[v("img",{src:n.src,style:{display:"block",objectFit:"contain"}},null,8,Q3)]),_:1})),Z(ce,{ref_key:"popRef",ref:M,"direction-from":"absolute","absolute-left":`${a.value}px`,"absolute-top":`${i.value}px`,"absolute-width":`${l.value}px`,"absolute-height":`${c.value}px`,"close-when-click-overlay":!1,onClickOverlay:G},{default:W(()=>[v("div",{class:"image-pop",style:N({width:"100%",height:"100%",backgroundImage:`url(${n.src})`,backgroundSize:"100% 100%"})},null,4)]),_:1},8,["absolute-left","absolute-top","absolute-width","absolute-height"])]),_:1},8,["style"]))}}),[["styles",[`.image[data-v-b241a63e]{overflow:hidden;display:flex!important;justify-content:center;align-items:center}.image-inner[data-v-b241a63e],.image-pop[data-v-b241a63e]{background-repeat:no-repeat;background-position:center center}
196
+ `]],["__scopeId","data-v-b241a63e"]]),J3={key:0,style:{position:"absolute",top:"30px",left:"50%",transform:"translate(-50%, 0)",color:"#ffffff","font-size":"1em","z-index":"98"}},qp=Y({customOptions:{Image:Na,Container:ht,Routes:Qs},inheritAttrs:!0,__name:"ImageView.ce",props:{urls:{default:()=>[]},effect:{default:"moveToLeftFade"}},setup(o,{expose:t,emit:e}){const n=o,s=P(0);function r(d,h){s.value=h}const a=P(),i=d=>{d.eb.on("panLeft",()=>{a.value?.forward()}),d.eb.on("panRight",()=>{a.value?.back()}),a.value.reset(n.urls.map(h=>({component:Xt(Na,{mode:"aspectFit",src:h,openImageDetailWhenClick:!1})})))},l=P();function c(){l.value?.open()}function u(){l.value?.close()}const f=d=>{d.target&&ga(d.target,"image")&&u()};return t({open:c,close:u}),(d,h)=>(I(),dt(ce,{ref_key:"popRef",ref:l,directionFrom:"absolute",onClick:f},{default:W(()=>[n.urls.length>1?(I(),D("div",J3,ft(s.value+1)+" / "+ft(n.urls.length),1)):yt("",!0),Z(ht,{style:{position:"absolute",top:"50%",transform:"translate(0, -50%)",width:"100%",height:"100%","z-index":"97"},onReady:i},{default:W(()=>[Z(Qs,{ref_key:"routesRef",ref:a,effect:n.effect,onRouteChangeEnd:r},null,8,["effect"])]),_:1})]),_:1},512))}}),Kp=st(Y({customOptions:{Container:ht,SVGDown:Va},inheritAttrs:!0,__name:"Accordion.ce",props:{initOpen:{type:Boolean,default:!1},titleHeight:{default:"44px"},bgColor:{default:"#efefef"},fontColor:{default:"#333333"},borderColor:{default:"#dddddd"},borderRadius:{default:"4px"},padding:{default:"1em"},duration:{default:500}},emits:["open","close"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P(),a=P(Number.MAX_SAFE_INTEGER+"px"),i=P(!0);pe(()=>{_r(()=>{a.value=r.value.getBoundingClientRect().height+"px",i.value=n.initOpen})});function l(){i.value=!i.value,i.value?s("open"):s("close")}const c=P(0);return Dn(()=>{c.value=i.value?0:-90}),t({}),(u,f)=>(I(),dt(ht,null,{default:W(()=>[v("div",{class:"accordion",style:N({background:n.bgColor,color:n.fontColor,borderRadius:n.borderRadius})},[v("div",{class:"accordion-title",onClick:l,style:N({height:n.titleHeight,lineHeight:n.titleHeight,margin:`0 ${n.padding}`,transitionDelay:`${i.value?0:n.duration}ms`,borderBottom:`${i.value?1:0}px solid ${n.borderColor}`})},[mt(u.$slots,"title",{},()=>[f[0]||(f[0]=Bt("title"))],!0),Z(Va,{class:"arrow",style:N({transition:`transform ${n.duration}ms ease-in-out`,transform:`rotate(${c.value}deg)`})},null,8,["style"])],4),v("div",{class:"accordion-content",ref_key:"content",ref:r,style:N({margin:`0 ${n.padding}`,transition:`max-height ${n.duration}ms ease-in-out`,maxHeight:i.value?a.value:"0"})},[mt(u.$slots,"content",{},void 0,!0)],4)],4)]),_:3}))}}),[["styles",[`.accordion[data-v-58414e5a]{width:100%;font-size:1em;position:relative;overflow:hidden}.accordion-title[data-v-58414e5a]{display:flex;justify-content:space-between;align-items:center;user-select:none;cursor:pointer}.accordion-content[data-v-58414e5a]{word-break:break-all;overflow:hidden}
197
+ `]],["__scopeId","data-v-58414e5a"]]),tk=`.resize-observer[data-v-16da9fc4]{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.resize-observer[data-v-16da9fc4] object{position:absolute;top:0;left:0;height:100%;width:100%;display:block;overflow:hidden;pointer-events:none;z-index:-1}
198
+ `,ek={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",gl&&this.$el.appendChild(o),o.data="about:blank",gl||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&&(!gl&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}},ok={class:"resize-observer",tabindex:"-1"};function nk(o,t,e,n,s,r){return I(),D("div",ok)}const Qp=st(ek,[["render",nk],["styles",[tk]],["__scopeId","data-v-16da9fc4"]]),Jp=Y({__name:"MapTianditu.ce",props:{mapKey:{default:"8261564c2f1435b76dc5991adad737e6"},mapContainerID:{default:"mapTiandituDiv"},mapWidth:{},mapHeight:{},mapZoom:{default:18},mapCenterLng:{default:120.619585},mapCenterLat:{default:31.299379}},emits:["click"],setup(o,{expose:t,emit:e}){const n=o,s=P(n.mapWidth),r=P(n.mapHeight);function a(c){s.value=c.width+"px",r.value=c.height+"px"}function i(c){a(c.rect),Nv(`http://api.tianditu.gov.cn/api?v=4.0&tk=${n.mapKey}`).then(()=>{new Lv(n.mapContainerID,n.mapCenterLng,n.mapCenterLat,n.mapZoom)}).catch(u=>{console.log("error",u)})}function l(c){a(c.rect)}return t({}),(c,u)=>(I(),dt(ht,{type:"full",onReady:i,onUpdate:l},{default:W(()=>[mt(c.$slots,"default",{width:s.value,height:r.value})]),_:3}))}}),sk=["width","height"],rk=Y({customOptions:{},inheritAttrs:!0,__name:"HandWritePanel.ce",props:{canvasWidth:{default:"400"},canvasHeight:{default:"300"},borderColor:{default:"#000000"},brushSize:{default:4},brushDensity:{default:200},brushColor:{default:"#000000"},downloadFileName:{default:"手写图片"}},setup(o,{expose:t,emit:e}){const n=o;let s=()=>{};const r=P();return Rt(r,()=>{if(!r.value)return;const a=la(r.value),i=new lh(a,!0);i.ctx.strokeStyle=n.brushColor,i.ctx.lineWidth=n.brushSize,i.drawMouseMoveLine("line"),s=()=>{Tn.downloadFromSVGString(i.ctx.toRawSVG().raw,n.downloadFileName)},a.start()}),t({download:()=>s()}),(a,i)=>(I(),D("canvas",{ref_key:"panelRef",ref:r,width:n.canvasWidth,height:n.canvasHeight,style:N([`border: 1px solid ${a.borderColor}`])},null,12,sk))}}),ak={viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",style:{display:"block",transformOrigin:"center"}},ik=["fill"],lk=["fill"],ck=["fill"],ja=Y({__name:"SVGCleanLeft",props:{color:{default:"#333333"}},setup(o){return(t,e)=>(I(),D("svg",ak,[v("path",{d:"M38,32.71a1.13,1.13,0,0,1-.8-.33L21.57,16.8a1.13,1.13,0,0,1,1.61-1.6L38.75,30.77a1.14,1.14,0,0,1-.8,1.94Z",fill:t.color},null,8,ik),v("path",{d:"M22.38,32.71a1.17,1.17,0,0,1-.81-.33,1.15,1.15,0,0,1,0-1.61L37.15,15.2a1.13,1.13,0,1,1,1.6,1.6L23.18,32.38A1.13,1.13,0,0,1,22.38,32.71Z",fill:t.color},null,8,lk),v("path",{d:"M18.68,3.79h-3.1l-15.64,20L15.33,43.45l.25.33H47.94v-40ZM3,23.79,16.73,6.3H45.3v35H16.73Z",fill:t.color},null,8,ck)]))}}),uk=["data-number"],fk={style:{width:"16px"}},dk=["data-number","data-unactive"],hk=["data-number"],pk=["data-number","data-unactive"],mk={style:{width:"16px"}},tm=st(Y({customOptions:{Pop:ce,SVGCleanLeft:ja,Container:ht},__name:"PlateKeyboard.ce",props:{initPlates:{default:()=>[]},completePlateLength:{default:7}},emits:["open","close","plates","resize"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P("0px");let a;pe(()=>{a=ha.onBottom(_=>{r.value=_})}),ue(()=>{a?.()});const i=["京","沪","津","渝","黑","吉","辽","蒙","冀","新","甘","青","陕","宁","豫","鲁","晋","皖","鄂","湘","苏","川","云","桂","藏","浙","赣","粤","闽","琼","贵"],l=["1","2","3","4","5","6","7","8","9","0"],c=["A","B","C","D","E","F","G","H","J","K","L","M","N","P","Q","R","S","T","U","V","W","X","Y","Z"],u=["港","澳","学","警","使","领","挂","应","急"],f=P(),d=P(0),h=Wt([]);function p(){h.length==0?d.value=0:h.length==1?d.value=1:d.value=2,h.length>=n.completePlateLength&&g()}Rt(()=>[...n.initPlates],()=>{Ln(h,n.initPlates),p()},{immediate:!0});const b=P(0),x=_=>{b.value=_.rect.height,s("resize",_.rect)},k=()=>{f.value.open(),s("open")},g=()=>{f.value.close(),s("close")},m=()=>{h.pop(),p(),s("plates",h)},y=_=>{if(_.target.dataset.unactive||"")return;let $=_.target.dataset.number;$&&(h.push($),p(),s("plates",h))};return t({open:k,close:g}),(_,w)=>(I(),dt(ce,{ref_key:"popRef",ref:f,directionFrom:"bottom",global:!0,closeWhenClickOverlay:!1,popValue:b.value},{default:W(()=>[Z(ht,{onReady:x,onUpdate:x},{default:W(()=>[v("div",{class:"popup-plate",style:N({paddingBottom:r.value})},[v("div",null,[v("div",{onClick:g},"关闭")]),v("div",{class:Gt(["step",d.value==0?"":"hide"])},[(I(),D(Dt,null,Ee(i,$=>v("div",{key:$,class:"popitem",onClick:y,"data-number":$},ft($),9,uk)),64)),v("div",{class:"popitem popitem-clear",onClick:m},[v("div",fk,[Z(ja)])])],2),v("div",{class:Gt(["step",d.value!=0?"":"hide"])},[(I(),D(Dt,null,Ee(l,$=>v("div",{key:$,class:Gt(["popitem",d.value!=2?"unactive":""]),onClick:y,"data-number":$,"data-unactive":d.value!=2?"unactive":""},ft($),11,dk)),64)),(I(),D(Dt,null,Ee(c,$=>v("div",{key:$,class:"popitem",onClick:y,"data-number":$},ft($),9,hk)),64)),(I(),D(Dt,null,Ee(u,$=>v("div",{key:$,class:Gt(["popitem",d.value!=2?"unactive":""]),onClick:y,"data-number":$,"data-unactive":d.value!=2?"unactive":""},ft($),11,pk)),64)),v("div",{class:"popitem popitem-clear",onClick:m},[v("div",mk,[Z(ja)])])],2)],4)]),_:1})]),_:1},8,["popValue"]))}}),[["styles",[`.popup-plate[data-v-67fd9815]{box-sizing:border-box;width:100%;background-color:#ddd;color:#333}.hide[data-v-67fd9815]{display:none!important}.popup-plate>div[data-v-67fd9815]:nth-child(1){display:flex;justify-content:flex-end;background-color:#fff;border-top:1px solid #e6e6e6}.popup-plate>div:nth-child(1)>div[data-v-67fd9815]{flex:0 0 auto;padding:0 15px;color:#5a82f0;font-size:16px;line-height:2.6;cursor:pointer}.popup-plate>.step[data-v-67fd9815]{display:flex;flex-wrap:wrap;justify-content:center;padding:10px 10px 5px}.popup-plate>.step>.popitem[data-v-67fd9815]{flex:0 0 auto;width:50px;padding:010px 0;border:1px solid #e6e6e6;border-radius:4px;margin-right:5px;margin-bottom:5px;font-size:16px;line-height:1;text-align:center;background-color:#fff;cursor:pointer}.popup-plate>.step>.popitem[data-v-67fd9815]:not(.unactive):active{background-color:#eee}.popup-plate>.step>.popitem.unactive[data-v-67fd9815]{color:#ccc}.popup-plate>.step>.popitem.popitem-clear[data-v-67fd9815]{background-color:#eee;display:flex;justify-content:center;align-items:center}
199
+ `]],["__scopeId","data-v-67fd9815"]]),gk=["fill"],yk=["fill"],em=Y({__name:"SVGCheck",props:{width:{default:"10px"},color:{default:Zt("--xg-blue")}},setup(o){const t=o;return(e,n)=>(I(),D("svg",{style:N(["transform-origin: center","width: "+t.width]),viewBox:"0 0 7 5",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[v("path",{d:"M0.153989 2.49994C-0.0513296 2.28468 -0.0513296 1.93567 0.153989 1.72041C0.359307 1.50514 0.692194 1.50514 0.897512 1.72041L3.12808 4.05902C3.3334 4.27428 3.3334 4.62329 3.12808 4.83855C2.92276 5.05382 2.58988 5.05382 2.38456 4.83855L0.153989 2.49994Z",fill:t.color},null,8,gk),v("path",{d:"M6.10249 0.161447C6.30781 -0.0538159 6.64069 -0.0538157 6.84601 0.161447C7.05133 0.376711 7.05133 0.725721 6.84601 0.940984L3.12808 4.83855C2.92276 5.05382 2.58988 5.05382 2.38456 4.83855C2.17924 4.62329 2.17955 4.27439 2.38487 4.05913L6.10249 0.161447Z",fill:t.color},null,8,yk)],4))}}),vk=o=>{const t={};if(o.attributes)for(let e=0,n=o.attributes,s=n.length;e<s;e++){const r=n[e];r.nodeName&&r.nodeValue&&(t[r.nodeName]=r.nodeValue)}return t},oo=Y({customOptions:{},inheritAttrs:!0,__name:"Click",props:{cover:{default:"rgba(0,0,0,0.1)"}},emits:["yz-click","click"],setup(o,{emit:t}){const e=o,n=t,s=P(!1),a=hl(()=>{s.value=!0,setTimeout(()=>{s.value=!1},100),n("yz-click"),n("click")},300);return(i,l)=>(I(),D("div",{class:"click",style:N(["position: relative","width: 100%","height: 100%","overflow: hidden","cursor: pointer","user-select: none","box-sizing: border-box","display: inline-flex","justify-content: center","align-items: center","z-index: 0"]),onClick:l[0]||(l[0]=(...c)=>Tt(a)&&Tt(a)(...c))},[mt(i.$slots,"default"),v("div",{style:N([`display: ${s.value?"block":"none"}`,"position: absolute","top: 0","left: 0","width: 100%","height: 100%",`background: ${e.cover}`,"z-index: 1"])},null,4)]))}});function YC(o){return o}const no=document.getElementById("teleport")||document.documentElement;function bk(o,t,e){{const n=document.createElement("yz-dialog-toast");if(no.appendChild(n),n&&"_instance"in n){const s=()=>{e?.onOpen?.()},r=()=>{e?.onClose?.(),no.removeChild(n)};n.addEventListener("open",s),n.addEventListener("close",r),n._instance.exposed.open(o,t)}}}function _k(o){{const t=document.createElement("yz-dialog-loading");if(no.appendChild(t),t&&"_instance"in t){const e=()=>{no.removeChild(t)};t.addEventListener("close",e),t._instance.exposed.open(o)}return()=>{t&&"_instance"in t&&t._instance.exposed.close()}}}function xk(o){{const t=document.createElement("yz-dialog");if(no.appendChild(t),t&&"_instance"in t){const e=()=>{no.removeChild(t)};t.addEventListener("close",e),t._instance.exposed.open(o)}return()=>{t&&"_instance"in t&&t._instance.exposed.close()}}}function ns(o,t="bottom",e){let n;o instanceof HTMLElement?n=Xt(ce,{directionFrom:t,absoluteLeft:e?.absoluteLeft,absoluteTop:e?.absoluteTop,absoluteWidth:e?.absoluteWidth,absoluteHeight:e?.absoluteHeight},()=>Xt("div",{...vk(o),innerHTML:o.innerHTML})):n=Xt(ce,{directionFrom:t,absoluteLeft:e?.absoluteLeft,absoluteTop:e?.absoluteTop,absoluteWidth:e?.absoluteWidth,absoluteHeight:e?.absoluteHeight},()=>o),Xr(n,no),n.component?.exposed?.open();const s=()=>{n.component?.exposed?.close()};return s.vnode=n,s}function om(o,t){return ns(o,"bottom",t)}function nm(o,t){return ns(o,"top",t)}function sm(o,t){return ns(o,"left",t)}function rm(o,t){return ns(o,"right",t)}function am(o,t){return ns(o,"center",t)}function im(o,t){return ns(o,"absolute",t)}const kk=()=>om(Xt("div",{style:"padding: 30px; background-color:#ffffff; width: 100%;"},Xt("yz-input",{placeholder:"请输入邮箱",validator:Vn}))),wk=()=>nm(Xt("div",{style:"padding: 30px; background-color:#ffffff; width: 100%;"},Xt("yz-input",{placeholder:"请输入邮箱",validator:Vn}))),Ck=()=>sm(Xt("div",{style:"padding: 30px; background-color:#ffffff; height: 100%;"},Xt("yz-input",{placeholder:"请输入邮箱",validator:Vn}))),Tk=()=>rm(Xt("div",{style:"padding: 30px; background-color:#ffffff; height: 100%;"},Xt("yz-input",{placeholder:"请输入邮箱",validator:Vn}))),Ek=()=>am(Xt("div",{style:"width: 200px;height: 200px;padding: 30px; background-color:#ffffff;"},Xt("yz-input",{placeholder:"请输入邮箱",validator:Vn}))),Sk=()=>im(Xt("div",{style:"width: 200px;height: 200px;padding: 30px; background-color:#ffffff;"},Xt("yz-input",{placeholder:"请输入邮箱",validator:Vn})),{absoluteLeft:"50%",absoluteTop:"50%",absoluteWidth:"200px",absoluteHeight:"200px"});function lm(o){{const t=document.createElement("yz-plate-keyboard");if(no.appendChild(t),t&&"_instance"in t){if(o?.onPlates){const e=n=>{"detail"in n&&o.onPlates(n.detail[0])};t.addEventListener("plates",e)}if(o?.onOpen&&t.addEventListener("open",o.onOpen),o?.onClose){const e=()=>{no.removeChild(t)};t.addEventListener("close",e)}if(o?.onResize){const e=n=>{"detail"in n&&o.onResize.apply(t,n.detail[0])};t.addEventListener("resize",e)}t.initPlates=o?.initPlates,t.completePlateLength=o?.completePlateLength,t._instance.exposed.open()}return()=>{t&&"_instance"in t&&t._instance.exposed.close()}}}function Ok(o){{const t=document.createElement("yz-number-keyboard");if(no.appendChild(t),t&&"_instance"in t){if(o?.onNumber){const n=s=>{"detail"in s&&o.onNumber(s.detail[0])};t.addEventListener("number",n)}if(o?.onError){const n=s=>{"detail"in s&&o.onError(s.detail[0])};t.addEventListener("error",n)}const e=()=>{no.removeChild(t)};t.addEventListener("close",e),typeof o?.min=="number"&&(t.min=o.min),typeof o?.max=="number"&&(t.max=o.max),t.title=o?.title,t._instance.exposed.open()}return()=>{t&&"_instance"in t&&t._instance.exposed.close()}}}const Pk=["onClick"],Rk={key:1},Ik=["onClick"],Ak={key:0,class:"info"},cm=st(Y({customOptions:{SVGCheck:em},inheritAttrs:!0,__name:"PlateMobile.ce",props:{maxWidth:{default:"750px"},showBottomInfo:{type:Boolean,default:!0},stylePattern:{default:"simple"}},emits:["clear","complete"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=[{name:"蓝牌",style:"background-color: #0078f0;",completePlateLength:7,symbol:"b"},{name:"绿牌",style:"background-color: #00f08c;",completePlateLength:8,symbol:"g"},{name:"黄牌",style:"background-color: #fac800;",completePlateLength:7,symbol:"y"},{name:"黄绿",style:"background: linear-gradient(90deg, #fac800 51.5%, #00f08c 51.51%);",completePlateLength:8,symbol:"q"},{name:"黑牌",style:"background-color: #222222;",completePlateLength:7,symbol:"d"}],a=P(),i=P(0),l=Wt([]),c=P(-1),u=P(!1),f=P(0);async function d(){const x=ia().clientHeight-a.value.getBoundingClientRect().bottom;lm({initPlates:l,completePlateLength:r[i.value].completePlateLength,onPlates:k=>{Ln(l,k),c.value=l.length,l.length===r[i.value].completePlateLength&&s("complete",r[i.value].name,l.join(""))},onOpen:()=>{u.value=!0},onClose:()=>{u.value=!1},onResize:k=>{f.value=Math.min(0,x-k.height)}})}const h=async b=>{i.value=b,c.value<=r[b].completePlateLength&&l.length<r[b].completePlateLength?(c.value=l.length,await d(),s("clear")):Ln(l,l.slice(0,r[b].completePlateLength)),r[b].completePlateLength===l.length&&s("complete",r[i.value].name,l.join(""))},p=async b=>{Ln(l,l.slice(0,b)),c.value=Math.min(Math.max(0,c.value),b),await d(),s("clear")};return t({}),(b,x)=>(I(),dt(ht,{class:"plate-mobile",style:N({maxWidth:n.maxWidth,transform:u.value?`translate(0, ${f.value}px)`:""})},{default:W(()=>[x[2]||(x[2]=v("div",{class:"title"},"车牌颜色",-1)),v("div",{class:Gt(["plate-types",n.stylePattern])},[(I(),D(Dt,null,Ee(r,(k,g)=>v("div",{key:g,class:Gt(g==i.value?"checked":""),onClick:m=>h(g)},[n.stylePattern=="dot"?(I(),D(Dt,{key:0},[v("div",{style:N(k.style)},null,4),v("div",null,ft(k.name),1),v("div",null,[Z(em,{color:"#ffffff",width:"7px"})])],64)):(I(),D("div",Rk,ft(k.name),1))],10,Pk)),64))],2),x[3]||(x[3]=v("div",{class:"title"},"车牌号码",-1)),v("div",{class:"plate-numbers",ref_key:"numbersRef",ref:a},[v("div",{onClick:x[0]||(x[0]=k=>p(0)),class:Gt(c.value==0?"current":"")},ft(l[0]),3),v("div",{onClick:x[1]||(x[1]=k=>p(1)),class:Gt(c.value==1?"current":"")},ft(l[1]),3),(I(!0),D(Dt,null,Ee(r[i.value].completePlateLength-2,k=>(I(),D("div",{key:k,class:Gt(k+1==c.value?"current":""),onClick:g=>p(k+1)},ft(l[k+1]),11,Ik))),128))],512),n.showBottomInfo?(I(),D("div",Ak," 请输入您真实有效的车牌号,便于正常使用系统功能。 ")):yt("",!0)]),_:1},8,["style"]))}}),[["styles",[`.plate-mobile[data-v-bdf30c29]{background-color:#fff;overflow:hidden;border-radius:8px;padding-bottom:15px;padding-left:15px;padding-right:15px}.title[data-v-bdf30c29]{font-size:16px;line-height:1;color:#333;font-weight:700;text-align:center;margin-top:20px;margin-bottom:10px}.plate-types[data-v-bdf30c29]{display:flex;justify-content:center}.plate-types>div[data-v-bdf30c29]{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;width:60px;height:44px;border-radius:4px;background-color:#f5f5f5;cursor:pointer;overflow:hidden}.plate-types>div+div[data-v-bdf30c29]{margin-left:5px}.plate-types.dot>div>div[data-v-bdf30c29]:nth-child(1){width:14px;height:14px;margin-bottom:5px;border-radius:50%;background-color:#0078f0}.plate-types.dot>div:nth-child(2)>div[data-v-bdf30c29]:nth-child(1){background-color:#00f08c}.plate-types.dot>div:nth-child(3)>div[data-v-bdf30c29]:nth-child(1){background-color:#fac800}.plate-types.dot>div:nth-child(4)>div[data-v-bdf30c29]:nth-child(1){background:linear-gradient(90deg,#fac800 51.5%,#00f08c 51.51%)}.plate-types.dot>div:nth-child(5)>div[data-v-bdf30c29]:nth-child(1){background-color:#222}.plate-types.dot>div>div[data-v-bdf30c29]:nth-child(2){color:#ccc;font-size:14px;line-height:1;font-weight:700}.plate-types.dot>div>div[data-v-bdf30c29]:nth-child(3){display:none;position:absolute;right:-1px;bottom:-1px;width:16px;height:16px;border-radius:16px 0 4px;background:#5a82f0}.plate-types.dot>div>div:nth-child(3)>svg[data-v-bdf30c29]{position:absolute;top:6px;left:6px}.plate-types.dot>div.checked[data-v-bdf30c29]{border:1px solid #5a82f0}.plate-types.dot>div.checked>div[data-v-bdf30c29]:nth-child(2){color:#333}.plate-types.dot>div.checked>div[data-v-bdf30c29]:nth-child(3){display:block}.plate-types.simple>div>div[data-v-bdf30c29]:nth-child(1){color:#666;font-size:14px;line-height:1;font-weight:700}.plate-types.simple>div.checked>div[data-v-bdf30c29]:nth-child(1){color:#000}.plate-types.simple>div.checked[data-v-bdf30c29]:nth-child(1){background-color:#0078f0}.plate-types.simple>div.checked:nth-child(1)>div[data-v-bdf30c29]{color:#fff}.plate-types.simple>div.checked[data-v-bdf30c29]:nth-child(2){background-color:#00f08c}.plate-types.simple>div.checked[data-v-bdf30c29]:nth-child(3){background-color:#fac800}.plate-types.simple>div.checked[data-v-bdf30c29]:nth-child(4){background:linear-gradient(90deg,#fac800 51.5%,#00f08c 51.51%)}.plate-types.simple>div.checked[data-v-bdf30c29]:nth-child(5){background-color:#222}.plate-types.simple>div.checked:nth-child(5)>div[data-v-bdf30c29]{color:#fff}.plate-numbers[data-v-bdf30c29]{display:flex;justify-content:center;align-items:center}.plate-numbers>div[data-v-bdf30c29]{flex:1;max-width:40px;height:44px;line-height:44px;border-radius:4px;font-size:18px;color:#333;text-align:center;border:1px solid #cccccc}.plate-numbers>div.current[data-v-bdf30c29]{border:1px solid #5a82f0}.plate-numbers>div+div[data-v-bdf30c29]{margin-left:5px}.plate-numbers>div.dot[data-v-bdf30c29]{flex:0;border:0;padding:0 2.5px;color:#ccc;font-size:46px;margin-right:-5px;margin-left:0}.info[data-v-bdf30c29]{font-size:12px;line-height:16px;font-weight:400;color:#999;text-align:center;padding:0 5px;margin-top:20px}
200
+ `]],["__scopeId","data-v-bdf30c29"]]),$k={class:"text"},bc=st(Y({customOptions:{},inheritAttrs:!0,__name:"PlateDisplay.ce",props:{plate:{},plateType:{},displayType:{default:"chinese"}},setup(o,{expose:t,emit:e}){const n=o,s=[{name:"蓝牌",style:{"background-color":"#0078f0",color:"#ffffff"}},{name:"绿牌",style:{"background-color":"#00f08c",color:"#000000"}},{name:"黄牌",style:{"background-color":"#fac800",color:"#000000"}},{name:"黄绿",style:{background:"linear-gradient(90deg, #fac800 51.5%, #00f08c 51.51%)",color:"#000000"}},{name:"黑牌",style:{"background-color":"#222222",color:"#ffffff"}},{name:"白牌",style:{"background-color":"#ffffff",color:"#000000",border:"1px solid #999999"}},{name:"未知",style:{"background-color":"#cccccc",color:"#ffffff"}}];function r(c){switch(c){case"b":case"蓝牌":c="蓝牌";break;case"g":case"绿牌":c="绿牌";break;case"y":case"黄牌":c="黄牌";break;case"q":case"黄绿":c="黄绿";break;case"d":case"黑牌":c="黑牌";break;case"w":case"白牌":c="白牌";break;default:c="未知";break}const u=s.filter(f=>f.name===c);return u.length?u[0]:r("未知")}const a=P(r(n.plateType||"")),i=P(),l=P(14);return pe(()=>{l.value=ya(i.value).getEmSize()}),t({}),(c,u)=>(I(),D("div",{class:"plate-display",ref_key:"el",ref:i},[c.displayType=="dot"&&c.plate!=="无牌车"?(I(),D("div",{key:0,class:Gt(["leading",c.displayType]),style:N({...a.value.style,width:l.value+"px",height:l.value+"px",marginRight:.36*l.value+"px"})},ft(a.value.name),7)):yt("",!0),c.displayType=="chinese"&&c.plate!=="无牌车"?(I(),D("div",{key:1,class:Gt(["leading",c.displayType]),style:N(a.value.style)},ft(a.value.name),7)):yt("",!0),c.displayType=="plaintext"&&c.plate!=="无牌车"?(I(),D("div",{key:2,class:Gt(["leading",c.displayType])},ft(a.value.name),3)):yt("",!0),v("div",$k,ft(c.plate),1)],512))}}),[["styles",[`.plate-display[data-v-d7a17e1d]{display:inline-flex;justify-content:center;align-items:center}.leading[data-v-d7a17e1d]{box-sizing:border-box;font-size:.86em;line-height:1;border-radius:.3em;margin-right:.36em}.leading.chinese[data-v-d7a17e1d]{padding:.3em}.leading.dot[data-v-d7a17e1d]{font-size:0;border-radius:50%}.leading.plaintext[data-v-d7a17e1d]{padding-right:.36em;border-right:1px solid #e6e6e6;border-radius:0}.text[data-v-d7a17e1d]{line-height:1}
201
+ `]],["__scopeId","data-v-d7a17e1d"]]),Nk={class:"number-keyboard"},Fk={class:"top"},zk={style:{width:"12px"}},Dk={class:"result"},Mk={class:"input"},Lk={class:"item"},Bk={class:"item"},Vk={class:"item"},Yk={class:"item"},Xk={class:"item"},Zk={class:"item"},Uk={class:"item"},Hk={class:"item"},jk={class:"item"},Gk={class:"item"},Wk={class:"item"},qk={class:"item"},Kk={class:"item-inner no-bg"},Qk={style:{width:"20px"}},um=st(Y({customOptions:{},__name:"NumberKeyboard.ce",props:{min:{},max:{},title:{default:"自定义金额"}},emits:["open","close","number","error"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P("0px");let a;pe(()=>{a=ha.onBottom(g=>{r.value=g})}),ue(()=>{a?.()});const i=[],l=[];let c=!1;const u=P(""),f=P(),d=()=>{rl(i),rl(l),c=!1,b(),f.value.open(),s("open")},h=()=>{f.value.close(),s("close")},p=()=>{if(u.value==""){s("error","请输入金额!");return}const g=parseFloat(u.value);if(al(g)){s("error",`${g} is NaN!`);return}if(typeof n.min=="number"){const m=ke(n.min,2);if(!al(g)&&g<m){s("error",`${n.title} 不能小于 ${m}`);return}}if(typeof n.max=="number"){const m=ke(n.max,2);if(!al(g)&&g>m){s("error",`${n.title} 不能大于 ${m}`);return}}s("number",g),h()};function b(){u.value="",i.forEach(g=>{u.value+=""+g}),c&&(u.value+=".");for(let g=0,m=Math.min(l.length,2);g<m;g++)u.value+=""+l[g]}const x=g=>{typeof g=="number"?c?l.length<2&&l.push(g):i.push(g):c=!0,b()},k=()=>{l.length?l.pop():c?c=!1:i.length&&i.pop(),b()};return t({open:d,close:h}),(g,m)=>(I(),dt(ce,{ref_key:"popRef",ref:f,directionFrom:"bottom",global:!0,closeWhenClickOverlay:!1},{default:W(()=>[v("div",Nk,[v("div",Fk,[v("div",{onClick:h},[v("div",zk,[Z(Js)])]),v("div",null,ft(g.title),1),v("div",{onClick:p},"完成")]),v("div",Dk,[v("div",null,[v("div",Mk,[v("span",null,ft(u.value),1),m[11]||(m[11]=v("span",{class:"cursor"},[v("span",{class:"line"})],-1))])])]),v("div",{class:"numbers",style:N({paddingBottom:r.value})},[v("div",null,[v("div",Lk,[Z(oo,{onClick:m[0]||(m[0]=()=>x(1))},{default:W(()=>m[12]||(m[12]=[v("div",{class:"item-inner"},"1",-1)])),_:1})]),v("div",Bk,[Z(oo,{onClick:m[1]||(m[1]=()=>x(2))},{default:W(()=>m[13]||(m[13]=[v("div",{class:"item-inner"},"2",-1)])),_:1})]),v("div",Vk,[Z(oo,{onClick:m[2]||(m[2]=()=>x(3))},{default:W(()=>m[14]||(m[14]=[v("div",{class:"item-inner"},"3",-1)])),_:1})]),v("div",Yk,[Z(oo,{onClick:m[3]||(m[3]=()=>x(4))},{default:W(()=>m[15]||(m[15]=[v("div",{class:"item-inner"},"4",-1)])),_:1})]),v("div",Xk,[Z(oo,{onClick:m[4]||(m[4]=()=>x(5))},{default:W(()=>m[16]||(m[16]=[v("div",{class:"item-inner"},"5",-1)])),_:1})]),v("div",Zk,[Z(oo,{onClick:m[5]||(m[5]=()=>x(6))},{default:W(()=>m[17]||(m[17]=[v("div",{class:"item-inner"},"6",-1)])),_:1})]),v("div",Uk,[Z(oo,{onClick:m[6]||(m[6]=()=>x(7))},{default:W(()=>m[18]||(m[18]=[v("div",{class:"item-inner"},"7",-1)])),_:1})]),v("div",Hk,[Z(oo,{onClick:m[7]||(m[7]=()=>x(8))},{default:W(()=>m[19]||(m[19]=[v("div",{class:"item-inner"},"8",-1)])),_:1})]),v("div",jk,[Z(oo,{onClick:m[8]||(m[8]=()=>x(9))},{default:W(()=>m[20]||(m[20]=[v("div",{class:"item-inner"},"9",-1)])),_:1})]),v("div",Gk,[Z(oo,{onClick:m[9]||(m[9]=()=>x("."))},{default:W(()=>m[21]||(m[21]=[v("div",{class:"item-inner no-bg"},".",-1)])),_:1})]),v("div",Wk,[Z(oo,{onClick:m[10]||(m[10]=()=>x(0))},{default:W(()=>m[22]||(m[22]=[v("div",{class:"item-inner"},"0",-1)])),_:1})]),v("div",qk,[Z(oo,{onClick:k},{default:W(()=>[v("div",Kk,[v("div",Qk,[Z(ja)])])]),_:1})])])],4)])]),_:1},512))}}),[["styles",[`@keyframes cursor-blinks-1431eda3{0%{opacity:1;display:block}50%{opacity:0;display:none}to{opacity:1;display:block}}.number-keyboard[data-v-1431eda3]{box-sizing:border-box;width:100%;background-color:#fff;color:#333;border-top-left-radius:16px;border-top-right-radius:16px}.top[data-v-1431eda3]{display:flex;justify-content:space-between;align-items:center;height:56px;line-height:56px;padding:0 15px;border-bottom:1px solid #e6e6e6}.top>div[data-v-1431eda3]:nth-child(1){flex:0 0 auto;width:24px;height:24px;display:flex;justify-content:center;align-items:center;padding-right:10px}.top>div[data-v-1431eda3]:nth-child(2){flex:1 1 auto;text-align:center;font-size:20px;font-weight:700;color:#333;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal;word-break:break-all}.top>div[data-v-1431eda3]:nth-child(3){flex:0 0 auto;font-size:16px;font-weight:700;color:#5a82f0;padding-left:10px}.result[data-v-1431eda3]{padding:15px}.result>div[data-v-1431eda3]{overflow:hidden;display:flex}.result>div>.input[data-v-1431eda3]{position:relative;flex:1 1 auto;height:44px;line-height:44px;border:1px solid #c8dcff;background:#e6f0ff;border-radius:4px;font-size:20px;font-weight:700;color:#5a82f0;padding:0 15px;display:flex;justify-content:flex-start;align-items:center}.cursor[data-v-1431eda3]{width:0;overflow:visible;position:relative}.line[data-v-1431eda3]{position:absolute;width:1px;height:24px;background:#5a82f0;left:0;top:50%;transform:translateY(-50%);animation:cursor-blinks-1431eda3 1.5s infinite steps(1,start)}.numbers[data-v-1431eda3]{background-color:#c6cad1}.numbers>div[data-v-1431eda3]{display:flex;flex-wrap:wrap;padding:4px}.item[data-v-1431eda3]{flex:0 0 33%;padding:4px;box-sizing:border-box}.item-inner[data-v-1431eda3]{background:#ffffff;width:100%;height:44px;line-height:44px;text-align:center;color:#333;font-size:20px;border-radius:4px;display:flex;justify-content:center;align-items:center;box-shadow:0 2px #aaa}.item-inner.no-bg[data-v-1431eda3]{background:rgba(255,255,255,0);box-shadow:none}
202
+ `]],["__scopeId","data-v-1431eda3"]]),Jk=["width","height"],so=Y({__name:"Canvas",props:{bgColor:{default:"rgba(255,255,255,0)"},enableCustomContext:{type:Boolean,default:!1}},emits:["ready","update"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P(),a=P(0),i=P(0);let l,c,u;function f(b){const x=Vs();a.value=Math.min(b.width,x.width),i.value=Math.min(b.height,x.height)}function d(b){f(b.rect)}function h(b){f(b.rect),p&&s("update",c)}let p=!1;return Dn(()=>{r.value&&(!a.value||!i.value||l||(l=la(r.value),l.start().then(()=>{c=new lh(l,n.enableCustomContext),u?.(c),s("ready",c),p=!0})))}),ue(()=>{l?.end()}),t({getCanvas:()=>new Promise(b=>{if(c)return b(c);u=b}),getElement:()=>r.value,getRect:()=>r.value.getBoundingClientRect()}),(b,x)=>(I(),dt(ht,{class:"canvas",type:"full",onReady:d,onUpdate:h,style:{overflow:"hidden"}},{default:W(()=>[v("canvas",{ref_key:"r",ref:r,width:a.value,height:i.value,style:N({backgroundColor:n.bgColor})},null,12,Jk)]),_:1}))}}),t5={class:"ring-indicator"},e5={class:"ring-text"},fm=st(Y({customOptions:{Canvas:so},inheritAttrs:!0,__name:"RingIndicator.ce",props:{percent:{default:0},lineWidth:{default:12},bgColor:{default:"#B3C6E7"},startColor:{default:"#5A82F0"},endColor:{default:"#66B3FF"}},setup(o,{expose:t}){const e=o;let n=P(0);const s=md(()=>{const c=Vt(Math.floor(e.percent),0,100);return n.value<c?n.value=Math.min(n.value+1,c):n.value>c&&(n.value=Math.max(n.value-1,c)),ke(n.value/100,2)},20),r=P(0),a=P(0);function i(c){r.value=c.controller.rect.width,a.value=c.controller.rect.height}function l(c){i(c);const u=new Av({width:r.value,height:a.value,lineWidth:e.lineWidth,bgColor:e.bgColor,startColor:e.startColor,endColor:e.endColor});Ns(()=>(c.ctx.clearRect(),u.setPercent(s()),c.draw(u),!0))}return t({}),(c,u)=>(I(),D("div",t5,[Z(so,{onReady:l,onUpdate:i}),v("div",e5,[v("span",null,ft(Tt(n)),1),u[0]||(u[0]=v("span",null,"%",-1))])]))}}),[["styles",[`.ring-indicator[data-v-6c27bf34]{position:relative;width:100%;height:100%}.ring-text[data-v-6c27bf34]{position:absolute;top:50%;left:50%;width:100%;transform:translate(-50%,-50%);text-align:center;font-family:D-DINCondensed-number;color:#333;text-indent:1em}.ring-text>span[data-v-6c27bf34]:nth-child(1){font-size:64px}.ring-text>span[data-v-6c27bf34]:nth-child(2){font-size:20px}
203
+ `]],["__scopeId","data-v-6c27bf34"]]),o5={class:"half-ring-indicator"},n5={class:"ring-text"},dm=st(Y({customOptions:{Canvas:so},inheritAttrs:!0,__name:"HalfRingIndicator.ce",props:{percent:{default:0},lineWidth:{default:12},bgColor:{default:"#B3C6E7"},startColor:{default:"#5A82F0"},endColor:{default:"#66B3FF"}},setup(o,{expose:t}){const e=o;let n=P(0);const s=md(()=>{const c=Vt(Math.floor(e.percent),0,100);return n.value<c?n.value=Math.min(n.value+1,c):n.value>c&&(n.value=Math.max(n.value-1,c)),ke(n.value/100,2)},20),r=P(0),a=P(0);function i(c){r.value=c.controller.rect.width,a.value=c.controller.rect.height}function l(c){i(c);const u=new Rv({width:r.value,height:a.value,startDegree:0,endDegree:180,extendDegree:15,lineWidth:e.lineWidth,bgColor:e.bgColor,startColor:e.startColor,endColor:e.endColor});Ns(()=>(c.ctx.clearRect(),u.setPercent(s()),c.draw(u),!0))}return t({}),(c,u)=>(I(),D("div",o5,[Z(so,{onReady:l,onUpdate:i}),v("div",n5,[v("span",null,ft(Tt(n)),1),u[0]||(u[0]=v("span",null,"%",-1))])]))}}),[["styles",[`.half-ring-indicator[data-v-54027baf]{position:relative;width:100%;height:100%}.ring-text[data-v-54027baf]{position:absolute;bottom:0;left:0;width:100%;text-align:center;font-family:D-DINCondensed-number;color:#333;padding-bottom:20px;text-indent:1em}.ring-text>span[data-v-54027baf]:nth-child(1){font-size:64px}.ring-text>span[data-v-54027baf]:nth-child(2){font-size:20px}
204
+ `]],["__scopeId","data-v-54027baf"]]),s5={key:0},r5={key:1},Sn=10,ss=4,hm=st(Y({customOptions:{Container:ht},inheritAttrs:!0,__name:"RingText.ce",props:{text:{default:""},secondText:{default:""},startColor:{default:"#5A82F0"},endColor:{default:"#66B3FF"},dur:{default:2e3}},setup(o,{expose:t}){const e=o,n=P(0),s=r=>{n.value=Math.floor(Math.min(r.rect.width,r.rect.height))};return t({}),(r,a)=>(I(),dt(ht,{onReady:s,onUpdate:s,type:"full"},{default:W(()=>[v("div",{class:"ring",style:N({width:n.value+"px",height:n.value+"px",padding:Sn+"px",background:`linear-gradient(180deg, ${e.startColor} 0%, ${e.endColor} 100%)`})},[v("div",{class:"ring-rotate",style:N({animation:`rotate ${e.dur}ms infinite linear`,mask:`radial-gradient(transparent ${n.value/2-Sn-ss}px, #000 ${n.value/2-Sn-ss}px)`})},a[0]||(a[0]=[v("div",{class:"left"},null,-1),v("div",{class:"right"},null,-1)]),4),v("div",{class:"ring-content",style:N({top:Sn+ss+"px",left:Sn+ss+"px",width:n.value-(Sn+ss)*2+"px",height:n.value-(Sn+ss)*2+"px"})},[e.text?(I(),D("div",s5,ft(e.text),1)):yt("",!0),e.secondText?(I(),D("div",r5,ft(e.secondText),1)):yt("",!0)],4)],4)]),_:1}))}}),[["styles",[`@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotate-reverse{0%{transform:rotate(360deg)}to{transform:rotate(0)}}@keyframes jelly{0%,to{transform:scale(1)}25%{transform:scale(.9,1.1)}50%{transform:scale(1.1,.9)}75%{transform:scale(.95,1.05)}}@keyframes bounce{0%,20%,53%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0)}40%,43%{animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{transition-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0) scaleY(.95)}90%{transform:translate3d(0,-4px,0) scaleY(1.02)}}@keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}@keyframes pulse{0%{transform:scaleZ(1)}50%{transform:scale3d(1.05,1.05,1.05)}to{transform:scaleZ(1)}}@keyframes rubberBand{0%{transform:scaleZ(1)}30%{transform:scale3d(1.25,.75,1)}40%{transform:scale3d(.75,1.25,1)}50%{transform:scale3d(1.15,.85,1)}65%{transform:scale3d(.95,1.05,1)}75%{transform:scale3d(1.05,.95,1)}to{transform:scaleZ(1)}}@keyframes shakeX{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}@keyframes shakeY{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(0,-10px,0)}20%,40%,60%,80%{transform:translate3d(0,10px,0)}}@keyframes headShake{0%{transform:translate(0)}6.5%{transform:translate(-6px) rotateY(-9deg)}18.5%{transform:translate(5px) rotateY(7deg)}31.5%{transform:translate(-3px) rotateY(-5deg)}43.5%{transform:translate(2px) rotateY(3deg)}50%{transform:translate(0)}}@keyframes swing{20%{transform:rotate3d(0,0,1,15deg)}40%{transform:rotate3d(0,0,1,-10deg)}60%{transform:rotate3d(0,0,1,5deg)}80%{transform:rotate3d(0,0,1,-5deg)}to{transform:rotate3d(0,0,1,0)}}@keyframes tada{0%{transform:scaleZ(1)}10%,20%{transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{transform:scaleZ(1)}}@keyframes wobble{0%{transform:translateZ(0)}15%{transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{transform:translateZ(0)}}@keyframes jello{0%,11.1%,to{transform:translateZ(0)}22.2%{transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{transform:skew(6.25deg) skewY(6.25deg)}44.4%{transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{transform:skew(.390625deg) skewY(.390625deg)}88.8%{transform:skew(-.1953125deg) skewY(-.1953125deg)}}@keyframes heartBeat{0%{transform:scale(1)}14%{transform:scale(1.3)}28%{transform:scale(1)}42%{transform:scale(1.3)}70%{transform:scale(1)}}@keyframes backInLeft{0%{transform:translate(-2000px) scale(.7);opacity:.7}80%{transform:translate(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInRight{0%{transform:translate(2000px) scale(.7);opacity:.7}80%{transform:translate(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInUp{0%{transform:translateY(1200px) scale(.7);opacity:.7}80%{transform:translateY(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backInDown{0%{transform:translateY(-1200px) scale(.7);opacity:.7}80%{transform:translateY(0) scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes backOutLeft{0%{transform:scale(1);opacity:1}20%{transform:translate(0) scale(.7);opacity:.7}to{transform:translate(-2000px) scale(.7);opacity:.7}}@keyframes backOutRight{0%{transform:scale(1);opacity:1}20%{transform:translate(0) scale(.7);opacity:.7}to{transform:translate(2000px) scale(.7);opacity:.7}}@keyframes backOutUp{0%{transform:scale(1);opacity:1}20%{transform:translateY(0) scale(.7);opacity:.7}to{transform:translateY(-700px) scale(.7);opacity:.7}}@keyframes backOutDown{0%{transform:scale(1);opacity:1}20%{transform:translateY(0) scale(.7);opacity:.7}to{transform:translateY(700px) scale(.7);opacity:.7}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:scale3d(.3,.3,.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(.9,.9,.9)}60%{opacity:1;transform:scale3d(1.03,1.03,1.03)}80%{transform:scale3d(.97,.97,.97)}to{opacity:1;transform:scaleZ(1)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;transform:translate3d(25px,0,0) scaleX(1)}75%{transform:translate3d(-10px,0,0) scaleX(.98)}90%{transform:translate3d(5px,0,0) scaleX(.995)}to{transform:translateZ(0)}}@keyframes bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;transform:translate3d(-25px,0,0) scaleX(1)}75%{transform:translate3d(10px,0,0) scaleX(.98)}90%{transform:translate3d(-5px,0,0) scaleX(.995)}to{transform:translateZ(0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;transform:translate3d(0,-20px,0) scaleY(.9)}75%{transform:translate3d(0,10px,0) scaleY(.95)}90%{transform:translate3d(0,-5px,0) scaleY(.985)}to{transform:translateZ(0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;transform:translate3d(0,25px,0) scaleY(.9)}75%{transform:translate3d(0,-10px,0) scaleY(.95)}90%{transform:translate3d(0,5px,0) scaleY(.985)}to{transform:translateZ(0)}}@keyframes bounceOut{20%{transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(.3,.3,.3)}}@keyframes bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0) scaleX(.9)}to{opacity:0;transform:translate3d(-2000px,0,0) scaleX(2)}}@keyframes bounceOutRight{20%{opacity:1;transform:translate3d(-20px,0,0) scaleX(.9)}to{opacity:0;transform:translate3d(2000px,0,0) scaleX(2)}}@keyframes bounceOutUp{20%{transform:translate3d(0,-10px,0) scaleY(.985)}40%,45%{opacity:1;transform:translate3d(0,20px,0) scaleY(.9)}to{opacity:0;transform:translate3d(0,-2000px,0) scaleY(3)}}@keyframes bounceOutDown{20%{transform:translate3d(0,10px,0) scaleY(.985)}40%,45%{opacity:1;transform:translate3d(0,-20px,0) scaleY(.9)}to{opacity:0;transform:translate3d(0,2000px,0) scaleY(3)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeInLeft{0%{opacity:0;transform:translate3d(-100%,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInLeftBig{0%{opacity:0;transform:translate3d(-2000px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInRight{0%{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInRightBig{0%{opacity:0;transform:translate3d(2000px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInUp{0%{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInUpBig{0%{opacity:0;transform:translate3d(0,2000px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInDown{0%{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInDownBig{0%{opacity:0;transform:translate3d(0,-2000px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInTopLeft{0%{opacity:0;transform:translate3d(-100%,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInTopRight{0%{opacity:0;transform:translate3d(100%,-100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInBottomLeft{0%{opacity:0;transform:translate3d(-100%,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInBottomRight{0%{opacity:0;transform:translate3d(100%,100%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}@keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes fadeOutRight{0%{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}@keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;transform:translate3d(2000px,0,0)}}@keyframes fadeOutUp{0%{opacity:1}to{opacity:0;transform:translate3d(0,-100%,0)}}@keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes fadeOutDown{0%{opacity:1}to{opacity:0;transform:translate3d(0,100%,0)}}@keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;transform:translate3d(0,2000px,0)}}@keyframes fadeOutTopLeft{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(-100%,-100%,0)}}@keyframes fadeOutTopRight{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(100%,-100%,0)}}@keyframes fadeOutBottomRight{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(100%,100%,0)}}@keyframes fadeOutBottomLeft{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(-100%,100%,0)}}@keyframes flip{0%{transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(-360deg);animation-timing-function:ease-out}40%{transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-190deg);animation-timing-function:ease-out}50%{transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-170deg);animation-timing-function:ease-in}80%{transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);animation-timing-function:ease-in}to{transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(0);animation-timing-function:ease-in}}@keyframes flipInX{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes flipInY{0%{transform:perspective(400px) rotateY(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateY(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateY(10deg);opacity:1}80%{transform:perspective(400px) rotateY(-5deg)}to{transform:perspective(400px)}}@keyframes flipOutX{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateX(-20deg);opacity:1}to{transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes flipOutY{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateY(-15deg);opacity:1}to{transform:perspective(400px) rotateY(90deg);opacity:0}}@keyframes flipOutRight{to{transform:translateZ(-1000px) rotateY(90deg);opacity:.2}}@keyframes flipInLeft{0%{transform:translateZ(-1000px) rotateY(-90deg);opacity:.2}}@keyframes flipOutLeft{to{transform:translateZ(-1000px) rotateY(-90deg);opacity:.2}}@keyframes flipInRight{0%{transform:translateZ(-1000px) rotateY(90deg);opacity:.2}}@keyframes flipOutTop{to{transform:translateZ(-1000px) rotateX(90deg);opacity:.2}}@keyframes flipInBottom{0%{transform:translateZ(-1000px) rotateX(-90deg);opacity:.2}}@keyframes flipOutBottom{to{transform:translateZ(-1000px) rotateX(-90deg);opacity:.2}}@keyframes flipInTop{0%{transform:translateZ(-1000px) rotateX(90deg);opacity:.2}}@keyframes lightSpeedInLeft{0%{transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{transform:skew(-20deg);opacity:1}80%{transform:skew(5deg)}to{transform:translateZ(0)}}@keyframes lightSpeedInRight{0%{transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{transform:skew(20deg);opacity:1}80%{transform:skew(-5deg)}to{transform:translateZ(0)}}@keyframes lightSpeedOutLeft{0%{opacity:1}to{transform:translate3d(-100%,0,0) skew(-30deg);opacity:0}}@keyframes lightSpeedOutRight{0%{opacity:1}to{transform:translate3d(100%,0,0) skew(30deg);opacity:0}}@keyframes rotateIn{0%{transform:rotate3d(0,0,1,-200deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInUpLeft{0%{transform:rotate3d(0,0,1,45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInUpRight{0%{transform:rotate3d(0,0,1,-90deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInDownLeft{0%{transform:rotate3d(0,0,1,-45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateInDownRight{0%{transform:rotate3d(0,0,1,45deg);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes rotateOut{0%{opacity:1}to{transform:rotate3d(0,0,1,200deg);opacity:0}}@keyframes rotateOutUpLeft{0%{opacity:1}to{transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutUpRight{0%{opacity:1}to{transform:rotate3d(0,0,1,90deg);opacity:0}}@keyframes rotateOutDownLeft{0%{opacity:1}to{transform:rotate3d(0,0,1,45deg);opacity:0}}@keyframes rotateOutDownRight{0%{opacity:1}to{transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes hinge{0%{animation-timing-function:ease-in-out}20%,60%{transform:rotate3d(0,0,1,80deg);animation-timing-function:ease-in-out}40%,80%{transform:rotate3d(0,0,1,60deg);animation-timing-function:ease-in-out;opacity:1}to{transform:translate3d(0,700px,0);opacity:0}}@keyframes rotateFall{0%{transform:rotate(0)}20%{transform:rotate(10deg);animation-timing-function:ease-out}40%{transform:rotate(17deg)}60%{transform:rotate(16deg)}to{transform:translateY(100%) rotate(17deg)}}@keyframes rotateOutNewspaper{to{transform:translateZ(-3000px) rotate(360deg);opacity:0}}@keyframes rotateInNewspaper{0%{transform:translateZ(-3000px) rotate(-360deg);opacity:0}}@keyframes jackInTheBox{0%{opacity:0;transform:scale(.1) rotate(30deg);transform-origin:center bottom}50%{transform:rotate(-10deg)}70%{transform:rotate(3deg)}to{opacity:1;transform:scale(1)}}@keyframes rollIn{0%{opacity:0;transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;transform:translateZ(0)}}@keyframes rollOut{0%{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}@keyframes zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomInLeft{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInRight{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInUp{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInDown{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes zoomOutLeft{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;transform:scale(.1) translate3d(-2000px,0,0)}}@keyframes zoomOutRight{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;transform:scale(.1) translate3d(2000px,0,0)}}@keyframes zoomOutUp{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutDown{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes slideInLeft{0%{transform:translate3d(-100%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInRight{0%{transform:translate3d(100%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInUp{0%{transform:translate3d(0,100%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideInDown{0%{transform:translate3d(0,-100%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes slideOutLeft{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(-100%,0,0)}}@keyframes slideOutRight{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(100%,0,0)}}@keyframes slideOutUp{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,-100%,0)}}@keyframes slideOutDown{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,100%,0)}}@keyframes rotateRightSideFirst{40%{transform:rotateY(15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateLeftSideFirst{40%{transform:rotateY(-15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateTopSideFirst{40%{transform:rotateX(15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotateBottomSideFirst{40%{transform:rotateX(-15deg);opacity:.8;animation-timing-function:ease-out}to{transform:scale(.8) translateZ(-200px);opacity:0}}@keyframes rotatePushLeft{to{opacity:0;transform:rotateY(90deg)}}@keyframes rotatePushRight{to{opacity:0;transform:rotateY(-90deg)}}@keyframes rotatePushTop{to{opacity:0;transform:rotateX(-90deg)}}@keyframes rotatePushBottom{to{opacity:0;transform:rotateX(90deg)}}@keyframes rotatePullRight{0%{opacity:0;transform:rotateY(-90deg)}}@keyframes rotatePullLeft{0%{opacity:0;transform:rotateY(90deg)}}@keyframes rotatePullTop{0%{opacity:0;transform:rotateX(-90deg)}}@keyframes rotatePullBottom{0%{opacity:0;transform:rotateX(90deg)}}@keyframes rotateFoldRight{to{opacity:0;transform:translate(100%) rotateY(90deg)}}@keyframes rotateFoldLeft{to{opacity:0;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateFoldTop{to{opacity:0;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateFoldBottom{to{opacity:0;transform:translateY(100%) rotateX(-90deg)}}@keyframes rotateUnfoldLeft{0%{opacity:0;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateUnfoldRight{0%{opacity:0;transform:translate(100%) rotateY(90deg)}}@keyframes rotateUnfoldTop{0%{opacity:0;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateUnfoldBottom{0%{opacity:0;transform:translateY(100%) rotateX(-90deg)}}@keyframes moveToLeft{to{transform:translate(-100%)}}@keyframes moveFromLeft{0%{transform:translate(-100%)}}@keyframes moveToRight{to{transform:translate(100%)}}@keyframes moveFromRight{0%{transform:translate(100%)}}@keyframes moveToTop{to{transform:translateY(-100%)}}@keyframes moveFromTop{0%{transform:translateY(-100%)}}@keyframes moveToBottom{to{transform:translateY(100%)}}@keyframes moveFromBottom{0%{transform:translateY(100%)}}@keyframes fade{to{opacity:.3}}@keyframes moveToLeftFade{to{opacity:.3;transform:translate(-100%)}}@keyframes moveFromLeftFade{0%{opacity:.3;transform:translate(-100%)}}@keyframes moveToRightFade{to{opacity:.3;transform:translate(100%)}}@keyframes moveFromRightFade{0%{opacity:.3;transform:translate(100%)}}@keyframes moveToTopFade{to{opacity:.3;transform:translateY(-100%)}}@keyframes moveFromTopFade{0%{opacity:.3;transform:translateY(-100%)}}@keyframes moveToBottomFade{to{opacity:.3;transform:translateY(100%)}}@keyframes moveFromBottomFade{0%{opacity:.3;transform:translateY(100%)}}@keyframes scaleToSmall{to{opacity:0;transform:scale(.8)}}@keyframes scaleFromSmall{0%{opacity:0;transform:scale(.8)}}@keyframes scaleFromLarge{0%{opacity:0;transform:scale(1.2)}}@keyframes scaleToLarge{to{opacity:0;transform:scale(1.2)}}@keyframes scaleToSmallCenter{to{opacity:0;transform:scale(.7)}}@keyframes scaleFromSmallCenter{0%{opacity:0;transform:scale(.7)}}@keyframes rotateRoomLeftOut{to{opacity:.3;transform:translate(-100%) rotateY(90deg)}}@keyframes rotateRoomLeftIn{0%{opacity:.3;transform:translate(100%) rotateY(-90deg)}}@keyframes rotateRoomRightOut{to{opacity:.3;transform:translate(100%) rotateY(-90deg)}}@keyframes rotateRoomRightIn{0%{opacity:.3;transform:translate(-100%) rotateY(90deg)}}@keyframes rotateRoomTopOut{to{opacity:.3;transform:translateY(-100%) rotateX(-90deg)}}@keyframes rotateRoomTopIn{0%{opacity:.3;transform:translateY(100%) rotateX(90deg)}}@keyframes rotateRoomBottomOut{to{opacity:.3;transform:translateY(100%) rotateX(90deg)}}@keyframes rotateRoomBottomIn{0%{opacity:.3;transform:translateY(-100%) rotateX(-90deg)}}@keyframes rotateCubeLeftOut{50%{animation-timing-function:ease-out;transform:translate(-50%) translateZ(-200px) rotateY(-45deg)}to{opacity:.3;transform:translate(-100%) rotateY(-90deg)}}@keyframes rotateCubeLeftIn{0%{opacity:.3;transform:translate(100%) rotateY(90deg)}50%{animation-timing-function:ease-out;transform:translate(50%) translateZ(-200px) rotateY(45deg)}}@keyframes rotateCubeRightOut{50%{animation-timing-function:ease-out;transform:translate(50%) translateZ(-200px) rotateY(45deg)}to{opacity:.3;transform:translate(100%) rotateY(90deg)}}@keyframes rotateCubeRightIn{0%{opacity:.3;transform:translate(-100%) rotateY(-90deg)}50%{animation-timing-function:ease-out;transform:translate(-50%) translateZ(-200px) rotateY(-45deg)}}@keyframes rotateCubeTopOut{50%{animation-timing-function:ease-out;transform:translateY(-50%) translateZ(-200px) rotateX(45deg)}to{opacity:.3;transform:translateY(-100%) rotateX(90deg)}}@keyframes rotateCubeTopIn{0%{opacity:.3;transform:translateY(100%) rotateX(-90deg)}50%{animation-timing-function:ease-out;transform:translateY(50%) translateZ(-200px) rotateX(-45deg)}}@keyframes rotateCubeBottomOut{50%{animation-timing-function:ease-out;transform:translateY(50%) translateZ(-200px) rotateX(-45deg)}to{opacity:.3;transform:translateY(100%) rotateX(-90deg)}}@keyframes rotateCubeBottomIn{0%{opacity:.3;transform:translateY(-100%) rotateX(90deg)}50%{animation-timing-function:ease-out;transform:translateY(-50%) translateZ(-200px) rotateX(45deg)}}@keyframes rotateCarouselLeftOut{to{opacity:.3;transform:translate(-150%) scale(.4) rotateY(-65deg)}}@keyframes rotateCarouselLeftIn{0%{opacity:.3;transform:translate(200%) scale(.4) rotateY(65deg)}}@keyframes rotateCarouselRightOut{to{opacity:.3;transform:translate(200%) scale(.4) rotateY(65deg)}}@keyframes rotateCarouselRightIn{0%{opacity:.3;transform:translate(-200%) scale(.4) rotateY(-65deg)}}@keyframes rotateCarouselTopOut{to{opacity:.3;transform:translateY(-200%) scale(.4) rotateX(65deg)}}@keyframes rotateCarouselTopIn{0%{opacity:.3;transform:translateY(200%) scale(.4) rotateX(-65deg)}}@keyframes rotateCarouselBottomOut{to{opacity:.3;transform:translateY(200%) scale(.4) rotateX(-65deg)}}@keyframes rotateCarouselBottomIn{0%{opacity:.3;transform:translateY(-200%) scale(.4) rotateX(65deg)}}@keyframes rotateSidesOut{to{opacity:0;transform:translateZ(-500px) rotateY(90deg)}}@keyframes rotateSidesIn{0%{opacity:0;transform:translateZ(-500px) rotateY(-90deg)}}@keyframes rotateSlideOut{25%{opacity:.5;transform:translateZ(-500px)}75%{opacity:.5;transform:translateZ(-500px) translate(-200%)}to{opacity:.5;transform:translateZ(-500px) translate(-200%)}}@keyframes rotateSlideIn{0%,25%{opacity:.5;transform:translateZ(-500px) translate(200%)}75%{opacity:.5;transform:translateZ(-500px)}to{opacity:1;transform:translateZ(0) translate(0)}}@keyframes superRainbow{0%{background:red}20%{background:orange}40%{background:yellow}60%{background:green}80%{background:blue}to{background:violet}}.superRainbow{background-position:0 0;background-size:200% 100%;background-image:linear-gradient(90deg,red,orange,yellow,green,blue,violet)}.superRainbow:hover{background-position:-100% 100%}@keyframes statusProcessing{0%{transform:scale(.8);opacity:.5}to{transform:scale(2.4);opacity:0}}
205
+ `,`.ring[data-v-340d54e8]{position:relative;display:block;margin:0 auto;border-radius:50%;overflow:hidden;box-sizing:border-box}.ring-rotate[data-v-340d54e8]{width:100%;height:100%;position:relative;overflow:hidden;box-sizing:border-box;border-radius:50%}.ring-content[data-v-340d54e8]{position:absolute;overflow:hidden;box-sizing:border-box;border-radius:50%;color:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center}.ring-content>div[data-v-340d54e8]:nth-child(1){font-size:20px;font-weight:700}.ring-content>div[data-v-340d54e8]:nth-child(2){font-size:14px;margin-top:6px}.left[data-v-340d54e8],.right[data-v-340d54e8]{position:absolute;top:0;width:50%;height:100%;z-index:0}.left[data-v-340d54e8]{left:0;background:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.5))}.right[data-v-340d54e8]{right:0;background:linear-gradient(180deg,rgba(255,255,255,1),rgba(255,255,255,.5))}
206
+ `]],["__scopeId","data-v-340d54e8"]]),pm=st(Y({customOptions:{Container:ht},inheritAttrs:!0,__name:"ClockFlipper.ce",props:{startTime:{default:"00:00:00"},initStart:{type:Boolean,default:!0},creaseType:{default:"increase"},flipDirection:{default:"down"},dur:{default:800},bgColor:{default:"#5a82f0"},textColor:{default:"#ffffff"},borderRadius:{default:8},gap:{default:1},perspective:{default:400}},setup(o,{expose:t}){const e=o,n=P(),s=P(40),r=P(20),a=P(20),i=k=>{s.value=Math.floor(k.rect.width/(6+1)),r.value=Math.floor(k.rect.height),a.value=Math.max(12,r.value)},l=k=>{e.initStart&&b(e.startTime),i(k)};let c;const u=()=>{c?.()},f=Wt([0,0,0,0,0,0]),d=Wt([0,0,0,0,0,0]),h=[0,0,0,0,0,0];let p=0;const b=k=>{k&&(w1(k1(k),h),h.forEach((g,m)=>{f[m]=g,d[m]=g})),u(),p=0,x(le(),0,!1),c=M1((g,m,y)=>{x(g,m,y)},1e3)},x=(k,g,m)=>{if(m)p=g;else{if(p>0){h.forEach((_,w)=>{f[w]=_,d[w]=_});const y=p+1;e.creaseType=="increase"?(ul(f,y),ul(d,y+1)):(fl(f,y),fl(d,y+1)),p=0}else e.creaseType=="increase"?ul(d,1):fl(d,1);yl(()=>{d.forEach((y,_)=>{f[_]=y})},e.dur)}};return pe(()=>{Co(`
208
207
  :root {
209
- --yz-clock-flipper-bg-color:${o.bgColor};
210
- --yz-clock-flipper-text-color:${o.textColor};
211
- --yz-clock-flipper-border-radius:${o.borderRadius}px;
212
- --yz-clock-flipper-gap:${o.gap}px;
213
- --yz-clock-flipper-gap-double:${o.gap*2}px;
214
- --yz-clock-flipper-gap-four:${o.gap*4}px;
215
- --yz-clock-flipper-animation-duration:${o.dur}ms;
216
- --yz-clock-flipper-perspective: ${o.perspective}px;
208
+ --yz-clock-flipper-bg-color:${e.bgColor};
209
+ --yz-clock-flipper-text-color:${e.textColor};
210
+ --yz-clock-flipper-border-radius:${e.borderRadius}px;
211
+ --yz-clock-flipper-gap:${e.gap}px;
212
+ --yz-clock-flipper-gap-double:${e.gap*2}px;
213
+ --yz-clock-flipper-gap-four:${e.gap*4}px;
214
+ --yz-clock-flipper-animation-duration:${e.dur}ms;
215
+ --yz-clock-flipper-perspective: ${e.perspective}px;
217
216
  }
218
217
  :host {
219
- --yz-clock-flipper-bg-color:${o.bgColor};
220
- --yz-clock-flipper-text-color:${o.textColor};
221
- --yz-clock-flipper-border-radius:${o.borderRadius}px;
222
- --yz-clock-flipper-gap:${o.gap}px;
223
- --yz-clock-flipper-gap-double:${o.gap*2}px;
224
- --yz-clock-flipper-gap-four:${o.gap*4}px;
225
- --yz-clock-flipper-animation-duration:${o.dur}ms;
226
- --yz-clock-flipper-perspective: ${o.perspective}px;
218
+ --yz-clock-flipper-bg-color:${e.bgColor};
219
+ --yz-clock-flipper-text-color:${e.textColor};
220
+ --yz-clock-flipper-border-radius:${e.borderRadius}px;
221
+ --yz-clock-flipper-gap:${e.gap}px;
222
+ --yz-clock-flipper-gap-double:${e.gap*2}px;
223
+ --yz-clock-flipper-gap-four:${e.gap*4}px;
224
+ --yz-clock-flipper-animation-duration:${e.dur}ms;
225
+ --yz-clock-flipper-perspective: ${e.perspective}px;
227
226
  }
228
- `,n.value.getElement())}),t({start:w,pause:u}),(v,g)=>(A(),ht(mt,{ref_key:"containerRef",ref:n,type:"full",overflow:"visible",onResize:l,onReady:i},{default:st(()=>[k("div",{class:"clock-flipper",style:N({fontSize:a.value+"px",lineHeight:s.value+"px"})},[(A(!0),F(zt,null,we(f,(y,m)=>(A(),F(zt,{key:m},[k("div",{class:Ut(["flip",[o.flipDirection,d[m]!=y?"go":""]]),style:N({width:r.value+"px"})},[k("div",{class:Ut(["front digital",[`flipper_${m}`,`number_${y}`]])},null,2),k("div",{class:Ut(["back digital",[`number_${d[m]}`]])},null,2)],6),m==1||m==3?(A(),F("div",{key:0,class:"gap",style:N({fontSize:Math.floor(a.value*.6)+"px",lineHeight:0})}," : ",4)):yt("",!0)],64))),128))],4)]),_:1},512))}}),[["styles",[`@keyframes frontFlipDown{0%{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(0)}to{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(-180deg)}}@keyframes backFlipDown{0%{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(180deg)}to{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(0)}}@keyframes frontFlipUp{0%{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(0)}to{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(180deg)}}@keyframes backFlipUp{0%{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(-180deg)}to{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(0)}}
229
- `,`.clock-flipper[data-v-06fd80d3]{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-06fd80d3]{position:relative;height:100%;box-sizing:border-box;color:var(--yz-clock-flipper-text-color)}.flip+.flip[data-v-06fd80d3]{margin-left:var(--yz-clock-flipper-gap-double)}.flip.down .front[data-v-06fd80d3]:after,.flip.down .back[data-v-06fd80d3]:before{z-index:1}.flip.down .front[data-v-06fd80d3]:before{z-index:3}.flip.down .back[data-v-06fd80d3]:after{z-index:2;transform-origin:50% 0%;transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(180deg)}.flip.down.go .front[data-v-06fd80d3]: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-06fd80d3]:after{animation:backFlipDown var(--yz-clock-flipper-animation-duration) ease-in-out both}.flip.up .front[data-v-06fd80d3]:before,.flip.up .back[data-v-06fd80d3]:after{z-index:1}.flip.up .front[data-v-06fd80d3]:after{z-index:3}.flip.up .back[data-v-06fd80d3]:before{z-index:2;transform-origin:50% 100%;transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(-180deg)}.flip.up.go .front[data-v-06fd80d3]: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-06fd80d3]:before{animation:backFlipUp var(--yz-clock-flipper-animation-duration) ease-in-out both}.gap[data-v-06fd80d3]{margin:0 var(--yz-clock-flipper-gap-four);color:var(--yz-clock-flipper-bg-color)}.digital[data-v-06fd80d3]:before,.digital[data-v-06fd80d3]: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-06fd80d3]: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-06fd80d3]: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-06fd80d3]:before,.digital.number_0[data-v-06fd80d3]:after{content:"0"}.digital.number_1[data-v-06fd80d3]:before,.digital.number_1[data-v-06fd80d3]:after{content:"1"}.digital.number_2[data-v-06fd80d3]:before,.digital.number_2[data-v-06fd80d3]:after{content:"2"}.digital.number_3[data-v-06fd80d3]:before,.digital.number_3[data-v-06fd80d3]:after{content:"3"}.digital.number_4[data-v-06fd80d3]:before,.digital.number_4[data-v-06fd80d3]:after{content:"4"}.digital.number_5[data-v-06fd80d3]:before,.digital.number_5[data-v-06fd80d3]:after{content:"5"}.digital.number_6[data-v-06fd80d3]:before,.digital.number_6[data-v-06fd80d3]:after{content:"6"}.digital.number_7[data-v-06fd80d3]:before,.digital.number_7[data-v-06fd80d3]:after{content:"7"}.digital.number_8[data-v-06fd80d3]:before,.digital.number_8[data-v-06fd80d3]:after{content:"8"}.digital.number_9[data-v-06fd80d3]:before,.digital.number_9[data-v-06fd80d3]:after{content:"9"}
230
- `]],["__scopeId","data-v-06fd80d3"]]);var Yr=function(){var e=0,t=document.createElement("div");t.style.cssText="position:fixed;top:0;right:0;cursor:pointer;opacity:0.9;z-index:10000",t.addEventListener("click",function(u){u.preventDefault(),n(++e%t.children.length)},!1);function o(u){return t.appendChild(u.dom),u}function n(u){for(var f=0;f<t.children.length;f++)t.children[f].style.display=f===u?"block":"none";e=u}var r=(performance||Date).now(),s=r,a=0,l=o(new Yr.Panel("FPS","#0ff","#002")),i=o(new Yr.Panel("MS","#0f0","#020"));if(self.performance&&self.performance.memory)var c=o(new Yr.Panel("MB","#f08","#201"));return n(0),{REVISION:16,dom:t,addPanel:o,showPanel:n,begin:function(){r=(performance||Date).now()},end:function(){a++;var u=(performance||Date).now();if(i.update(u-r,200),u>s+1e3&&(l.update(a*1e3/(u-s),100),s=u,a=0,c)){var f=performance.memory;c.update(f.usedJSHeapSize/1048576,f.jsHeapSizeLimit/1048576)}return u},update:function(){r=this.end()},domElement:t,setMode:n}};Yr.Panel=function(e,t,o){var n=1/0,r=0,s=Math.round,a=s(window.devicePixelRatio||1),l=80*a,i=48*a,c=3*a,u=2*a,f=3*a,d=15*a,h=74*a,p=30*a,w=document.createElement("canvas");w.width=l,w.height=i,w.style.cssText="width:80px;height:48px";var x=w.getContext("2d");return x.font="bold "+9*a+"px Helvetica,Arial,sans-serif",x.textBaseline="top",x.fillStyle=o,x.fillRect(0,0,l,i),x.fillStyle=t,x.fillText(e,c,u),x.fillRect(f,d,h,p),x.fillStyle=o,x.globalAlpha=.9,x.fillRect(f,d,h,p),{dom:w,update:function(v,g){n=Math.min(n,v),r=Math.max(r,v),x.fillStyle=o,x.globalAlpha=1,x.fillRect(0,0,l,d),x.fillStyle=t,x.fillText(s(v)+" "+e+" ("+s(n)+"-"+s(r)+")",c,u),x.drawImage(w,f+a,d,h-a,p,f,d,h-a,p),x.fillRect(f+h-a,d,a,p),x.fillStyle=o,x.globalAlpha=.9,x.fillRect(f+h-a,d,a,s((1-v/g)*p))}}};const _k=Object.assign({customOptions:{},inheritAttrs:!0},{__name:"FPSStats.ce",setup(e,{expose:t}){const o=R();return fe(()=>{const n=new Yr;n.domElement.style.margin="1em",o.value.appendChild(n.domElement),Fs(()=>(n.update(),!0))}),t({}),(n,r)=>(A(),F("div",{ref_key:"containerRef",ref:o},null,512))}}),xk={class:"ease-graph"},Yl=nt(Y({customOptions:{Button:ne,Canvas:_o},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(e,{expose:t,emit:o}){const n=e,r=o,s=R();let a,l;Pt(s,()=>{s.value&&(l=js(s.value.getCanvasElement()),s.value.getCanvas().then(f=>{a=f,r("onMounted",n.easeName),l?.onshow(c)}))});let i=!1;const c=()=>{if(!a||i)return;i=!0,r("onStart",n.easeName),a.ctx.fillStyle="rgb(250,250,250)",a.ctx.fillRect(0,0,n.canvasWidth,n.canvasHeight),a.ctx.lineWidth=.5,a.ctx.strokeStyle="rgb(230,230,230)",a.ctx.beginPath(),a.ctx.moveTo(0,n.graphVerticalGap),a.ctx.lineTo(n.canvasWidth,n.graphVerticalGap),a.ctx.moveTo(0,n.canvasHeight-n.graphVerticalGap),a.ctx.lineTo(n.canvasWidth,n.canvasHeight-n.graphVerticalGap),a.ctx.closePath(),a.ctx.stroke(),a.ctx.lineWidth=2,a.ctx.strokeStyle="rgb(255,127,127)";const f={x:n.graphHorizontalGap,y:n.canvasHeight-n.graphVerticalGap},d={x:n.graphHorizontalGap,y:n.canvasHeight-n.graphVerticalGap},h=()=>{a.ctx.beginPath(),a.ctx.moveTo(d.x,d.y),a.ctx.lineTo(f.x,f.y),a.ctx.closePath(),a.ctx.stroke(),d.x=f.x,d.y=f.y},p=new Ge({frameDuration:n.easeDuration});p.addTween(f,{x:n.canvasWidth-n.graphHorizontalGap},{frames:1,delay:0,easeFunction:xt.Easing.Linear.None,onUpdate:w=>{f.x=w.x},onComplete:()=>{}}),p.addTween(f,{y:n.graphVerticalGap},{frames:1,delay:0,easeFunction:n.easeFunction,onUpdate:w=>{f.y=w.y,h()},onComplete:()=>{r("onCompleted",n.easeName),i=!1}}),p.play()},u=()=>{r("onSelected",n.easeName,n.easeFunction)};return se(()=>{l?.destroy()}),t({start:c}),(f,d)=>(A(),F("div",xk,[k("div",null,"缓动:"+ut(f.easeName),1),k("div",null,[k("div",null,[J(ne,{stylePattern:"outline",height:"32px",padding:"10px",onClick:c},{default:st(()=>d[0]||(d[0]=[Vt(" 开始 ")])),_:1})]),k("div",null,[J(ne,{stylePattern:n.isSelected?"fullfilled":"outline",height:"32px",padding:"10px",onClick:u},{default:st(()=>d[1]||(d[1]=[Vt(" 选择 ")])),_:1},8,["stylePattern"])])]),k("div",{style:N({width:f.canvasWidth+"px",height:f.canvasHeight+"px"})},[J(_o,{ref_key:"canvasRef",ref:s,bgColor:"#ffffff"},null,512)],4)]))}}),[["styles",[`.ease-graph[data-v-2d807a98]{display:inline-block}.ease-graph>div[data-v-2d807a98]:nth-child(1){margin-top:10px;font-size:14px}.ease-graph>div[data-v-2d807a98]:nth-child(2){margin-bottom:10px}.ease-graph>div:nth-child(2)>div[data-v-2d807a98]{display:inline-block}.ease-graph>div:nth-child(2)>div+div[data-v-2d807a98]{margin-left:10px}
231
- `]],["__scopeId","data-v-2d807a98"]]),kk={class:"ease-graph"},wk=Y({customOptions:{Button:ne,Canvas:_o},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(e,{expose:t,emit:o}){const n=e,r=o,s=R();let a,l;Pt(s,()=>{s.value&&(l=js(s.value.getCanvasElement()),s.value.getCanvas().then(f=>{a=f,r("onMounted",n.easeName),l?.onshow(c)}))});let i=!1;const c=()=>{if(!a||i)return;i=!0,r("onStart",n.easeName),a.ctx.fillStyle="rgb(250,250,250)",a.ctx.fillRect(0,0,n.canvasWidth,n.canvasHeight),a.ctx.lineWidth=.5,a.ctx.strokeStyle="rgb(230,230,230)",a.ctx.beginPath(),a.ctx.moveTo(0,n.graphVerticalGap),a.ctx.lineTo(n.canvasWidth,n.graphVerticalGap),a.ctx.moveTo(0,n.canvasHeight-n.graphVerticalGap),a.ctx.lineTo(n.canvasWidth,n.canvasHeight-n.graphVerticalGap),a.ctx.closePath(),a.ctx.stroke(),a.ctx.lineWidth=2,a.ctx.strokeStyle="rgb(255,127,127)";const f={x:n.graphHorizontalGap,y:n.canvasHeight-n.graphVerticalGap},d={x:n.graphHorizontalGap,y:n.canvasHeight-n.graphVerticalGap},h=()=>{a.ctx.beginPath(),a.ctx.moveTo(d.x,d.y),a.ctx.lineTo(f.x,f.y),a.ctx.closePath(),a.ctx.stroke(),d.x=f.x,d.y=f.y},p=new Ge({frameDuration:n.easeDuration});p.addTween(f,{x:n.canvasWidth-n.graphHorizontalGap},{frames:1,delay:0,easeFunction:xt.Easing.Linear.None,onUpdate:w=>{f.x=w.x},onComplete:()=>{}}),p.addTween(f,{y:n.graphVerticalGap},{frames:1,delay:0,easeFunction:n.easeFunction,onUpdate:w=>{f.y=w.y,h()},onComplete:()=>{r("onCompleted",n.easeName),i=!1}}),p.play()},u=()=>{r("onSelected",n.easeName,n.easeFunction)};return se(()=>{l?.destroy()}),t({start:c}),(f,d)=>(A(),F("div",kk,[k("div",null,"缓动:"+ut(f.easeName),1),k("div",null,[k("div",null,[J(ne,{stylePattern:"outline",height:"32px",padding:"10px",onClick:c},{default:st(()=>d[0]||(d[0]=[Vt(" 开始 ")])),_:1})]),k("div",null,[J(ne,{stylePattern:n.isSelected?"fullfilled":"outline",height:"32px",padding:"10px",onClick:u},{default:st(()=>d[1]||(d[1]=[Vt(" 选择 ")])),_:1},8,["stylePattern"])])]),k("div",{style:N({width:f.canvasWidth+"px",height:f.canvasHeight+"px"})},[J(_o,{ref_key:"canvasRef",ref:s,bgColor:"#ffffff"},null,512)],4)]))}}),_5="",Ch=nt(wk,[["__scopeId","data-v-fa615237"]]),Ck=2e3,Th=nt(Y({customOptions:{EaseGraphDisplay:Ch},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(e,{expose:t,emit:o}){const n=e,r=o,s={};function a(d,h){d&&(s[h]={el:d})}const l=new Ns(10);function i(d){l.addTask(()=>(s[d].el.start(),new Promise(h=>{s[d].resolve=h})))}function c(d){s[d].resolve?.()}const u=R("Linear");function f(d,h){u.value=d,r("selectedEaseFunction",d,h)}return f("Linear",xt.Easing.Linear.None),t({}),(d,h)=>(A(),F("div",null,[(A(!0),F(zt,null,we(n.easeList,p=>(A(),F("div",{key:p.easeName,class:"ease-graph-wrap"},[p.easeFunction?(A(),ht(Ch,{key:0,easeName:p.easeName,easeFunction:p.easeFunction,easeDuration:Ck,isSelected:u.value==p.easeName,onOnMounted:i,onOnCompleted:c,onOnSelected:f,ref_for:!0,ref:w=>a(w,p.easeName)},null,8,["easeName","easeFunction","isSelected"])):yt("",!0)]))),128))]))}}),[["styles",[`.ease-graph-wrap[data-v-b3ce4b26]{display:inline-block;margin-right:10px}.ease-group-gap[data-v-b3ce4b26]{margin:10px}
232
- `]],["__scopeId","data-v-b3ce4b26"]]),Tk={class:"interpolation-graph"},Eh=1/6,Sh=5/6,Vl=nt(Y({customOptions:{Button:ne,Canvas:_o},inheritAttrs:!0,__name:"InterpolationGraphDisplay.ce",props:{interpolationName:{},interpolationFunction:{},canvasWidth:{default:240},canvasHeight:{default:160},interpolationDuration:{default:2e3}},emits:["onMounted","onStart","onCompleted"],setup(e,{expose:t,emit:o}){const n=e,r=o,s=R();let a,l;Pt(s,()=>{s.value&&(l=js(s.value.getCanvasElement()),s.value.getCanvas().then(x=>{a=x,r("onMounted",n.interpolationName),l?.onshow(w)}))});const i=n.canvasWidth*Eh,c=n.canvasHeight/2,u=[n.canvasWidth*Sh,n.canvasWidth/2],f=[n.canvasHeight*Eh,n.canvasHeight*Sh],d=[...u,i],h=[...f,c];let p=!1;const w=()=>{if(!a||p)return;p=!0,r("onStart",n.interpolationName),a.ctx.fillStyle="rgb(250,250,250)",a.ctx.fillRect(0,0,n.canvasWidth,n.canvasHeight),a.ctx.fillStyle="rgb(200,200,200)",a.ctx.fillRect(i-3,c-3,6,6),a.ctx.fillRect(u[u.length-1]-3,f[f.length-1]-3,6,6);for(var x=0;x<u.length;x++)a.ctx.fillRect(u[x]-2,f[x]-2,4,4);const v=new Ge({frameDuration:n.interpolationDuration});v.addTween({x:i,y:c,old:{x:i,y:c}},{x:u,y:f},{frames:1,delay:0,easeFunction:xt.Easing.Linear.None,interpolationFunction:n.interpolationFunction,onUpdate:g=>{a.ctx.lineWidth=2,a.ctx.strokeStyle="rgba(255,127,127,0.9)",a.ctx.beginPath(),a.ctx.moveTo(g.old.x,g.old.y),a.ctx.lineTo(g.x,g.y),a.ctx.closePath(),a.ctx.stroke(),g.old.x=g.x,g.old.y=g.y},onComplete:()=>{}}),v.addTween({x:i,y:c,old:{x:i,y:c}},{x:d,y:h},{frames:1,delay:0,easeFunction:xt.Easing.Linear.None,interpolationFunction:n.interpolationFunction,onUpdate:g=>{a.ctx.lineWidth=2,a.ctx.strokeStyle="rgba(255,127,127,0.5)",a.ctx.beginPath(),a.ctx.moveTo(g.old.x,g.old.y),a.ctx.lineTo(g.x,g.y),a.ctx.closePath(),a.ctx.stroke(),g.old.x=g.x,g.old.y=g.y},onComplete:()=>{r("onCompleted",n.interpolationName),p=!1}}),v.play()};return se(()=>{l?.destroy()}),t({start:w}),(x,v)=>(A(),F("div",Tk,[k("div",null,[Vt(" 插值:"+ut(x.interpolationName)+" ",1),J(ne,{stylePattern:"outline",height:"32px",onClick:w},{default:st(()=>v[0]||(v[0]=[Vt(" 开始 ")])),_:1})]),k("div",{style:N({width:x.canvasWidth+"px",height:x.canvasHeight+"px"})},[J(_o,{ref_key:"canvasRef",ref:s,bgColor:"#ffffff"},null,512)],4)]))}}),[["styles",[`.interpolation-graph[data-v-52732a09]{display:inline-block}.interpolation-graph>div[data-v-52732a09]:nth-child(1){margin-top:10px;margin-bottom:10px;font-size:14px}
233
- `]],["__scopeId","data-v-52732a09"]]),Ek={class:"interpolation-graph"},Oh=1/6,Ph=5/6,Sk=Y({customOptions:{Button:ne,Canvas:_o},inheritAttrs:!0,__name:"InterpolationGraphDisplay",props:{interpolationName:{},interpolationFunction:{},canvasWidth:{default:240},canvasHeight:{default:160},interpolationDuration:{default:2e3}},emits:["onMounted","onStart","onCompleted"],setup(e,{expose:t,emit:o}){const n=e,r=o,s=R();let a,l;Pt(s,()=>{s.value&&(l=js(s.value.getCanvasElement()),s.value.getCanvas().then(x=>{a=x,r("onMounted",n.interpolationName),l?.onshow(w)}))});const i=n.canvasWidth*Oh,c=n.canvasHeight/2,u=[n.canvasWidth*Ph,n.canvasWidth/2],f=[n.canvasHeight*Oh,n.canvasHeight*Ph],d=[...u,i],h=[...f,c];let p=!1;const w=()=>{if(!a||p)return;p=!0,r("onStart",n.interpolationName),a.ctx.fillStyle="rgb(250,250,250)",a.ctx.fillRect(0,0,n.canvasWidth,n.canvasHeight),a.ctx.fillStyle="rgb(200,200,200)",a.ctx.fillRect(i-3,c-3,6,6),a.ctx.fillRect(u[u.length-1]-3,f[f.length-1]-3,6,6);for(var x=0;x<u.length;x++)a.ctx.fillRect(u[x]-2,f[x]-2,4,4);const v=new Ge({frameDuration:n.interpolationDuration});v.addTween({x:i,y:c,old:{x:i,y:c}},{x:u,y:f},{frames:1,delay:0,easeFunction:xt.Easing.Linear.None,interpolationFunction:n.interpolationFunction,onUpdate:g=>{a.ctx.lineWidth=2,a.ctx.strokeStyle="rgba(255,127,127,0.9)",a.ctx.beginPath(),a.ctx.moveTo(g.old.x,g.old.y),a.ctx.lineTo(g.x,g.y),a.ctx.closePath(),a.ctx.stroke(),g.old.x=g.x,g.old.y=g.y},onComplete:()=>{}}),v.addTween({x:i,y:c,old:{x:i,y:c}},{x:d,y:h},{frames:1,delay:0,easeFunction:xt.Easing.Linear.None,interpolationFunction:n.interpolationFunction,onUpdate:g=>{a.ctx.lineWidth=2,a.ctx.strokeStyle="rgba(255,127,127,0.5)",a.ctx.beginPath(),a.ctx.moveTo(g.old.x,g.old.y),a.ctx.lineTo(g.x,g.y),a.ctx.closePath(),a.ctx.stroke(),g.old.x=g.x,g.old.y=g.y},onComplete:()=>{r("onCompleted",n.interpolationName),p=!1}}),v.play()};return se(()=>{l?.destroy()}),t({start:w}),(x,v)=>(A(),F("div",Ek,[k("div",null,[Vt(" 插值:"+ut(x.interpolationName)+" ",1),J(ne,{stylePattern:"outline",height:"32px",onClick:w},{default:st(()=>v[0]||(v[0]=[Vt(" 开始 ")])),_:1})]),k("div",{style:N({width:x.canvasWidth+"px",height:x.canvasHeight+"px"})},[J(_o,{ref_key:"canvasRef",ref:s,bgColor:"#ffffff"},null,512)],4)]))}}),T5="",Rh=nt(Sk,[["__scopeId","data-v-858ad7b1"]]),Ok=2e3,Ih=nt(Y({customOptions:{InterpolationGraphDisplay:Rh},inheritAttrs:!0,__name:"InterpolationGroupGraphDisplay.ce",props:{interpolationList:{default:()=>[{interpolationName:"Linear",interpolationFunction:xt.Interpolation.Linear},{interpolationName:"Bezier",interpolationFunction:xt.Interpolation.Bezier},{interpolationName:"CatmullRom",interpolationFunction:xt.Interpolation.CatmullRom}]}},setup(e,{expose:t,emit:o}){const n=e,r={};function s(c,u){c&&(r[u]={el:c})}const a=new Ns(1);function l(c){a.addTask(()=>(r[c].el.start(),new Promise(u=>{r[c].resolve=u})))}function i(c){r[c].resolve?.()}return t({}),(c,u)=>(A(),F("div",null,[(A(!0),F(zt,null,we(n.interpolationList,f=>(A(),F("div",{key:f.interpolationName,class:"interpolation-graph-wrap"},[J(Rh,{interpolationName:f.interpolationName,interpolationFunction:f.interpolationFunction,easeDuration:Ok,onOnMounted:l,onOnCompleted:i,ref_for:!0,ref:d=>s(d,f.interpolationName)},null,8,["interpolationName","interpolationFunction"])]))),128))]))}}),[["styles",[`.interpolation-graph-wrap[data-v-7128e350]{display:inline-block;margin-right:10px}
234
- `]],["__scopeId","data-v-7128e350"]]),Pk={class:"face front"},Rk={class:"face back"},Ah=nt(Y({customOptions:{},inheritAttrs:!0,__name:"CardFlip.ce",props:{type:{default:""},dur:{default:500},perspective:{default:"600px"}},emits:["click"],setup(e,{expose:t,emit:o}){const n=e,r=o,s=R(!1),a=()=>{s.value=!s.value,r("click",s.value)};return t({}),(l,i)=>(A(),F("div",{class:"card-flip-scene",style:N({perspective:n.perspective})},[k("div",{class:Ut(["card",[n.type,{flip:s.value}]]),style:N({transition:`transform ${n.dur}ms`}),onClick:a},[k("div",Pk,[dt(l.$slots,"front",{},()=>[i[0]||(i[0]=Vt("front"))],!0)]),k("div",Rk,[dt(l.$slots,"back",{},()=>[i[1]||(i[1]=Vt("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)}
235
- `]],["__scopeId","data-v-1ee90a6e"]]),Ik=Y({customOptions:{BooleanBox:nn},__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(e,{emit:t}){const o=e,n=t,r=R([]),s=(i,c)=>{i&&(r.value[c]=i)};let a=R(o.initIndex);const l=(i,c)=>{a.value!==i?(r.value[a.value].toggleValue(),c&&(a.value=i,n("change",o.options[a.value]))):c||r.value[a.value].setValue(!0)};return(i,c)=>(A(!0),F(zt,null,we(i.options,(u,f)=>(A(),F("div",{class:"radio-group",key:f,style:N(["margin-left:"+(f>0?o.itemPadding:0)])},[J(nn,{ref_for:!0,ref:d=>s(d,f),selected:vt(a)==f,disabled:i.disabledIndexs&&i.disabledIndexs.findIndex(d=>d===f)>=0,isRounded:o.isRounded,label:u,labelPadding:o.labelPadding,colorBackground:o.colorBackground,colorForeground:o.colorForeground,colorDisabled:o.colorDisabled,colorChangeMode:o.colorChangeMode,boxWidth:o.boxWidth,fontSize:o.fontSize,onChange:d=>l(f,d)},null,8,["selected","disabled","isRounded","label","labelPadding","colorBackground","colorForeground","colorDisabled","colorChangeMode","boxWidth","fontSize","onChange"])],4))),128))}}),R5="",$h=nt(Ik,[["__scopeId","data-v-308d559c"]]),Ak=Y({customOptions:{BooleanBox:nn},__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(e,{emit:t}){const o=e,n=t;let r=jt(o.initIndexs??[]);const s=(a,l)=>{const i=r.findIndex(u=>u===a);let c=!1;i>=0&&!l?(r.splice(i,1),c=!0):i<0&&l&&(r.push(a),c=!0),c&&n("change",r.map(u=>o.options[u]))};return(a,l)=>(A(!0),F(zt,null,we(a.options,(i,c)=>(A(),F("div",{class:"checkbox-group",key:c,style:N(["margin-left:"+(c>0?o.itemPadding:0)])},[J(nn,{selected:vt(r).findIndex(u=>u===c)>=0,disabled:a.disabledIndexs&&a.disabledIndexs.findIndex(u=>u===c)>=0,isRounded:o.isRounded,label:i,labelPadding:o.labelPadding,colorBackground:o.colorBackground,colorForeground:o.colorForeground,colorDisabled:o.colorDisabled,colorChangeMode:o.colorChangeMode,boxWidth:o.boxWidth,fontSize:o.fontSize,onChange:u=>s(c,u)},null,8,["selected","disabled","isRounded","label","labelPadding","colorBackground","colorForeground","colorDisabled","colorChangeMode","boxWidth","fontSize","onChange"])],4))),128))}}),I5="",Xl=nt(Ak,[["__scopeId","data-v-4c28fda3"]]),$k=["max","min","step","value","autofocus"],Nk={key:0,class:"label"},Dk=Y({customOptions:{},inheritAttrs:!0,__name:"InputRange",props:{min:{default:0},max:{default:100},step:{default:1},defaultValue:{default:0},unit:{default:""},showValue:{type:Boolean,default:!0},autofocus:{type:Boolean,default:!1},color:{default:"#5a82f0"},barColor:{default:"#f5f5f5"},handleSize:{default:"20px"},barHeight:{default:"4px"}},emits:["change"],setup(e,{expose:t,emit:o}){const n=e,r=o,s=R(n.defaultValue),a=()=>Pe((s.value-n.min)/(n.max-n.min),4)*100,l=R(a());function i(f){s.value=Pe(f.target.value,2),l.value=a(),r("change",s.value)}const c=`
227
+ `,n.value.getElement())}),t({start:b,pause:u}),(k,g)=>(I(),dt(ht,{ref_key:"containerRef",ref:n,type:"full",overflow:"visible",onReady:l,onUpdate:i},{default:W(()=>[v("div",{class:"clock-flipper",style:N({fontSize:a.value+"px",lineHeight:r.value+"px"})},[(I(!0),D(Dt,null,Ee(f,(m,y)=>(I(),D(Dt,{key:y},[v("div",{class:Gt(["flip",[e.flipDirection,d[y]!=m?"go":""]]),style:N({width:s.value+"px"})},[v("div",{class:Gt(["front digital",[`flipper_${y}`,`number_${m}`]])},null,2),v("div",{class:Gt(["back digital",[`number_${d[y]}`]])},null,2)],6),y==1||y==3?(I(),D("div",{key:0,class:"gap",style:N({fontSize:Math.floor(a.value*.6)+"px",lineHeight:0})}," : ",4)):yt("",!0)],64))),128))],4)]),_:1},512))}}),[["styles",[`@keyframes frontFlipDown{0%{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(0)}to{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(-180deg)}}@keyframes backFlipDown{0%{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(180deg)}to{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(0)}}@keyframes frontFlipUp{0%{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(0)}to{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(180deg)}}@keyframes backFlipUp{0%{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(-180deg)}to{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(0)}}
228
+ `,`.clock-flipper[data-v-7e04b895]{position:relative;margin:0 auto;box-sizing:border-box;display:flex;flex-direction:row;justify-content:center;align-items:center;text-align:center;height:100%;font-family:D-DINCondensed-number}.flip[data-v-7e04b895]{position:relative;height:100%;box-sizing:border-box;color:var(--yz-clock-flipper-text-color)}.flip+.flip[data-v-7e04b895]{margin-left:var(--yz-clock-flipper-gap-double)}.flip.down .front[data-v-7e04b895]:after,.flip.down .back[data-v-7e04b895]:before{z-index:1}.flip.down .front[data-v-7e04b895]:before{z-index:3}.flip.down .back[data-v-7e04b895]:after{z-index:2;transform-origin:50% 0%;transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(180deg)}.flip.down.go .front[data-v-7e04b895]:before{transform-origin:50% 100%;animation:frontFlipDown var(--yz-clock-flipper-animation-duration) ease-in-out both;backface-visibility:hidden;box-shadow:0 -2px 6px #ffffff4d}.flip.down.go .back[data-v-7e04b895]:after{animation:backFlipDown var(--yz-clock-flipper-animation-duration) ease-in-out both}.flip.up .front[data-v-7e04b895]:before,.flip.up .back[data-v-7e04b895]:after{z-index:1}.flip.up .front[data-v-7e04b895]:after{z-index:3}.flip.up .back[data-v-7e04b895]:before{z-index:2;transform-origin:50% 100%;transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(-180deg)}.flip.up.go .front[data-v-7e04b895]:after{transform-origin:50% 0;animation:frontFlipUp var(--yz-clock-flipper-animation-duration) ease-in-out both;backface-visibility:hidden;box-shadow:0 -2px 6px #ffffff4d}.flip.up.go .back[data-v-7e04b895]:before{animation:backFlipUp var(--yz-clock-flipper-animation-duration) ease-in-out both}.gap[data-v-7e04b895]{margin:0 var(--yz-clock-flipper-gap-four);color:var(--yz-clock-flipper-bg-color)}.digital[data-v-7e04b895]:before,.digital[data-v-7e04b895]:after{content:"";position:absolute;left:0;right:0;height:50%;box-sizing:border-box;background:var(--yz-clock-flipper-bg-color);overflow:hidden}.digital[data-v-7e04b895]:before{top:0;bottom:50%;border-radius:var(--yz-clock-flipper-border-radius) var(--yz-clock-flipper-border-radius) 0 0;border-bottom:solid var(--yz-clock-flipper-gap) var(--yz-clock-flipper-text-color)}.digital[data-v-7e04b895]:after{top:50%;bottom:0;border-radius:0 0 var(--yz-clock-flipper-border-radius) var(--yz-clock-flipper-border-radius);border-top:solid var(--yz-clock-flipper-gap) var(--yz-clock-flipper-text-color);line-height:0}.digital.number_0[data-v-7e04b895]:before,.digital.number_0[data-v-7e04b895]:after{content:"0"}.digital.number_1[data-v-7e04b895]:before,.digital.number_1[data-v-7e04b895]:after{content:"1"}.digital.number_2[data-v-7e04b895]:before,.digital.number_2[data-v-7e04b895]:after{content:"2"}.digital.number_3[data-v-7e04b895]:before,.digital.number_3[data-v-7e04b895]:after{content:"3"}.digital.number_4[data-v-7e04b895]:before,.digital.number_4[data-v-7e04b895]:after{content:"4"}.digital.number_5[data-v-7e04b895]:before,.digital.number_5[data-v-7e04b895]:after{content:"5"}.digital.number_6[data-v-7e04b895]:before,.digital.number_6[data-v-7e04b895]:after{content:"6"}.digital.number_7[data-v-7e04b895]:before,.digital.number_7[data-v-7e04b895]:after{content:"7"}.digital.number_8[data-v-7e04b895]:before,.digital.number_8[data-v-7e04b895]:after{content:"8"}.digital.number_9[data-v-7e04b895]:before,.digital.number_9[data-v-7e04b895]:after{content:"9"}
229
+ `]],["__scopeId","data-v-7e04b895"]]);var tr=function(){var o=0,t=document.createElement("div");t.style.cssText="position:fixed;top:0;right:0;cursor:pointer;opacity:0.9;z-index:10000",t.addEventListener("click",function(u){u.preventDefault(),n(++o%t.children.length)},!1);function e(u){return t.appendChild(u.dom),u}function n(u){for(var f=0;f<t.children.length;f++)t.children[f].style.display=f===u?"block":"none";o=u}var s=(performance||Date).now(),r=s,a=0,i=e(new tr.Panel("FPS","#0ff","#002")),l=e(new tr.Panel("MS","#0f0","#020"));if(self.performance&&self.performance.memory)var c=e(new tr.Panel("MB","#f08","#201"));return n(0),{REVISION:16,dom:t,addPanel:e,showPanel:n,begin:function(){s=(performance||Date).now()},end:function(){a++;var u=(performance||Date).now();if(l.update(u-s,200),u>r+1e3&&(i.update(a*1e3/(u-r),100),r=u,a=0,c)){var f=performance.memory;c.update(f.usedJSHeapSize/1048576,f.jsHeapSizeLimit/1048576)}return u},update:function(){s=this.end()},domElement:t,setMode:n}};tr.Panel=function(o,t,e){var n=1/0,s=0,r=Math.round,a=r(window.devicePixelRatio||1),i=80*a,l=48*a,c=3*a,u=2*a,f=3*a,d=15*a,h=74*a,p=30*a,b=document.createElement("canvas");b.width=i,b.height=l,b.style.cssText="width:80px;height:48px";var x=b.getContext("2d");return x.font="bold "+9*a+"px Helvetica,Arial,sans-serif",x.textBaseline="top",x.fillStyle=e,x.fillRect(0,0,i,l),x.fillStyle=t,x.fillText(o,c,u),x.fillRect(f,d,h,p),x.fillStyle=e,x.globalAlpha=.9,x.fillRect(f,d,h,p),{dom:b,update:function(k,g){n=Math.min(n,k),s=Math.max(s,k),x.fillStyle=e,x.globalAlpha=1,x.fillRect(0,0,i,d),x.fillStyle=t,x.fillText(r(k)+" "+o+" ("+r(n)+"-"+r(s)+")",c,u),x.drawImage(b,f+a,d,h-a,p,f,d,h-a,p),x.fillRect(f+h-a,d,a,p),x.fillStyle=e,x.globalAlpha=.9,x.fillRect(f+h-a,d,a,r((1-k/g)*p))}}};const a5=Object.assign({customOptions:{},inheritAttrs:!0},{__name:"FPSStats.ce",setup(o,{expose:t}){const e=P();return pe(()=>{const n=new tr;n.domElement.style.margin="1em",e.value.appendChild(n.domElement),Ns(()=>(n.update(),!0))}),t({}),(n,s)=>(I(),D("div",{ref_key:"containerRef",ref:e},null,512))}}),i5={class:"ease-graph"},_c=st(Y({customOptions:{Button:ie,Canvas:so},inheritAttrs:!0,__name:"EaseGraphDisplay.ce",props:{easeName:{},easeFunction:{},canvasWidth:{default:180},canvasHeight:{default:100},graphHorizontalGap:{default:5},graphVerticalGap:{default:20},easeDuration:{default:2e3},isSelected:{type:Boolean,default:!1}},emits:["onMounted","onStart","onCompleted","onSelected"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P();let a,i;Rt(r,()=>{r.value&&(pa(r.value.getElement(),{onShow:c}).then(f=>i=f),r.value.getCanvas().then(f=>{a=f,s("onMounted",n.easeName)}))});let l=!1;const c=()=>{if(!a||l)return;l=!0,s("onStart",n.easeName),a.ctx.fillStyle="rgb(250,250,250)",a.ctx.fillRect(0,0,n.canvasWidth,n.canvasHeight),a.ctx.lineWidth=.5,a.ctx.strokeStyle="rgb(230,230,230)",a.ctx.beginPath(),a.ctx.moveTo(0,n.graphVerticalGap),a.ctx.lineTo(n.canvasWidth,n.graphVerticalGap),a.ctx.moveTo(0,n.canvasHeight-n.graphVerticalGap),a.ctx.lineTo(n.canvasWidth,n.canvasHeight-n.graphVerticalGap),a.ctx.closePath(),a.ctx.stroke(),a.ctx.lineWidth=2,a.ctx.strokeStyle="rgb(255,127,127)";const f={x:n.graphHorizontalGap,y:n.canvasHeight-n.graphVerticalGap},d={x:n.graphHorizontalGap,y:n.canvasHeight-n.graphVerticalGap},h=()=>{a.ctx.beginPath(),a.ctx.moveTo(d.x,d.y),a.ctx.lineTo(f.x,f.y),a.ctx.closePath(),a.ctx.stroke(),d.x=f.x,d.y=f.y},p=new Ze({frameDuration:n.easeDuration});p.addTween(f,{x:n.canvasWidth-n.graphHorizontalGap},{frames:1,delay:0,easeFunction:_t.Easing.Linear.None,onUpdate:b=>{f.x=b.x},onComplete:()=>{}}),p.addTween(f,{y:n.graphVerticalGap},{frames:1,delay:0,easeFunction:n.easeFunction,onUpdate:b=>{f.y=b.y,h()},onComplete:()=>{s("onCompleted",n.easeName),l=!1}}),p.play()},u=()=>{s("onSelected",n.easeName,n.easeFunction)};return ue(()=>{i?.()}),t({start:c}),(f,d)=>(I(),D("div",i5,[v("div",null,"缓动:"+ft(f.easeName),1),v("div",null,[v("div",null,[Z(ie,{stylePattern:"outline",height:"32px",padding:"10px",onClick:c},{default:W(()=>d[0]||(d[0]=[Bt(" 开始 ")])),_:1})]),v("div",null,[Z(ie,{stylePattern:n.isSelected?"fullfill":"outline",height:"32px",padding:"10px",onClick:u},{default:W(()=>d[1]||(d[1]=[Bt(" 选择 ")])),_:1},8,["stylePattern"])])]),v("div",{style:N({width:f.canvasWidth+"px",height:f.canvasHeight+"px"})},[Z(so,{ref_key:"canvasRef",ref:r,bgColor:"#ffffff"},null,512)],4)]))}}),[["styles",[`.ease-graph[data-v-4358d221]{display:inline-block}.ease-graph>div[data-v-4358d221]:nth-child(1){margin-top:10px;font-size:14px}.ease-graph>div[data-v-4358d221]:nth-child(2){margin-bottom:10px}.ease-graph>div:nth-child(2)>div[data-v-4358d221]{display:inline-block}.ease-graph>div:nth-child(2)>div+div[data-v-4358d221]{margin-left:10px}
230
+ `]],["__scopeId","data-v-4358d221"]]),l5={class:"ease-graph"},c5=Y({customOptions:{Button:ie,Canvas:so},inheritAttrs:!0,__name:"EaseGraphDisplay",props:{easeName:{},easeFunction:{},canvasWidth:{default:180},canvasHeight:{default:100},graphHorizontalGap:{default:5},graphVerticalGap:{default:20},easeDuration:{default:2e3},isSelected:{type:Boolean,default:!1}},emits:["onMounted","onStart","onCompleted","onSelected"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P();let a,i;Rt(r,()=>{r.value&&(pa(r.value.getElement(),{onShow:c}).then(f=>i=f),r.value.getCanvas().then(f=>{a=f,s("onMounted",n.easeName)}))});let l=!1;const c=()=>{if(!a||l)return;l=!0,s("onStart",n.easeName),a.ctx.fillStyle="rgb(250,250,250)",a.ctx.fillRect(0,0,n.canvasWidth,n.canvasHeight),a.ctx.lineWidth=.5,a.ctx.strokeStyle="rgb(230,230,230)",a.ctx.beginPath(),a.ctx.moveTo(0,n.graphVerticalGap),a.ctx.lineTo(n.canvasWidth,n.graphVerticalGap),a.ctx.moveTo(0,n.canvasHeight-n.graphVerticalGap),a.ctx.lineTo(n.canvasWidth,n.canvasHeight-n.graphVerticalGap),a.ctx.closePath(),a.ctx.stroke(),a.ctx.lineWidth=2,a.ctx.strokeStyle="rgb(255,127,127)";const f={x:n.graphHorizontalGap,y:n.canvasHeight-n.graphVerticalGap},d={x:n.graphHorizontalGap,y:n.canvasHeight-n.graphVerticalGap},h=()=>{a.ctx.beginPath(),a.ctx.moveTo(d.x,d.y),a.ctx.lineTo(f.x,f.y),a.ctx.closePath(),a.ctx.stroke(),d.x=f.x,d.y=f.y},p=new Ze({frameDuration:n.easeDuration});p.addTween(f,{x:n.canvasWidth-n.graphHorizontalGap},{frames:1,delay:0,easeFunction:_t.Easing.Linear.None,onUpdate:b=>{f.x=b.x},onComplete:()=>{}}),p.addTween(f,{y:n.graphVerticalGap},{frames:1,delay:0,easeFunction:n.easeFunction,onUpdate:b=>{f.y=b.y,h()},onComplete:()=>{s("onCompleted",n.easeName),l=!1}}),p.play()},u=()=>{s("onSelected",n.easeName,n.easeFunction)};return ue(()=>{i?.()}),t({start:c}),(f,d)=>(I(),D("div",l5,[v("div",null,"缓动:"+ft(f.easeName),1),v("div",null,[v("div",null,[Z(ie,{stylePattern:"outline",height:"32px",padding:"10px",onClick:c},{default:W(()=>d[0]||(d[0]=[Bt(" 开始 ")])),_:1})]),v("div",null,[Z(ie,{stylePattern:n.isSelected?"fullfill":"outline",height:"32px",padding:"10px",onClick:u},{default:W(()=>d[1]||(d[1]=[Bt(" 选择 ")])),_:1},8,["stylePattern"])])]),v("div",{style:N({width:f.canvasWidth+"px",height:f.canvasHeight+"px"})},[Z(so,{ref_key:"canvasRef",ref:r,bgColor:"#ffffff"},null,512)],4)]))}}),lT="",mm=st(c5,[["__scopeId","data-v-ceb1c6e1"]]),u5=2e3,gm=st(Y({customOptions:{EaseGraphDisplay:mm},inheritAttrs:!0,__name:"EaseGroupGraphDisplay.ce",props:{easeList:{default:()=>[{easeName:"Linear",easeFunction:_t.Easing.Linear.None},{easeName:"gap"},{easeName:"QuadraticIn",easeFunction:_t.Easing.Quadratic.In},{easeName:"QuadraticOut",easeFunction:_t.Easing.Quadratic.Out},{easeName:"QuadraticInOut",easeFunction:_t.Easing.Quadratic.InOut},{easeName:"gap"},{easeName:"CubicIn",easeFunction:_t.Easing.Cubic.In},{easeName:"CubicOut",easeFunction:_t.Easing.Cubic.Out},{easeName:"CubicInOut",easeFunction:_t.Easing.Cubic.InOut},{easeName:"gap"},{easeName:"QuarticIn",easeFunction:_t.Easing.Quartic.In},{easeName:"QuarticOut",easeFunction:_t.Easing.Quartic.Out},{easeName:"QuarticInOut",easeFunction:_t.Easing.Quartic.InOut},{easeName:"gap"},{easeName:"QuinticIn",easeFunction:_t.Easing.Quintic.In},{easeName:"QuinticOut",easeFunction:_t.Easing.Quintic.Out},{easeName:"QuinticInOut",easeFunction:_t.Easing.Quintic.InOut},{easeName:"gap"},{easeName:"SinusoidalIn",easeFunction:_t.Easing.Sinusoidal.In},{easeName:"SinusoidalOut",easeFunction:_t.Easing.Sinusoidal.Out},{easeName:"SinusoidalInOut",easeFunction:_t.Easing.Sinusoidal.InOut},{easeName:"gap"},{easeName:"ExponentialIn",easeFunction:_t.Easing.Exponential.In},{easeName:"ExponentialOut",easeFunction:_t.Easing.Exponential.Out},{easeName:"ExponentialInOut",easeFunction:_t.Easing.Exponential.InOut},{easeName:"gap"},{easeName:"CircularIn",easeFunction:_t.Easing.Circular.In},{easeName:"CircularOut",easeFunction:_t.Easing.Circular.Out},{easeName:"CircularInOut",easeFunction:_t.Easing.Circular.InOut},{easeName:"gap"},{easeName:"ElasticIn",easeFunction:_t.Easing.Elastic.In},{easeName:"ElasticOut",easeFunction:_t.Easing.Elastic.Out},{easeName:"ElasticInOut",easeFunction:_t.Easing.Elastic.InOut},{easeName:"gap"},{easeName:"BackIn",easeFunction:_t.Easing.Back.In},{easeName:"BackOut",easeFunction:_t.Easing.Back.Out},{easeName:"BackInOut",easeFunction:_t.Easing.Back.InOut},{easeName:"gap"},{easeName:"BounceIn",easeFunction:_t.Easing.Bounce.In},{easeName:"BounceOut",easeFunction:_t.Easing.Bounce.Out},{easeName:"BounceInOut",easeFunction:_t.Easing.Bounce.InOut},{easeName:"gap"},{easeName:"generatePow(10)In",easeFunction:_t.Easing.generatePow(10).In},{easeName:"generatePow(10)Out",easeFunction:_t.Easing.generatePow(10).Out},{easeName:"generatePow(10)InOut",easeFunction:_t.Easing.generatePow(10).InOut},{easeName:"gap"},{easeName:"4 steps",easeFunction:_t.Easing.createStep(4)},{easeName:"8 steps",easeFunction:_t.Easing.createStep(8)},{easeName:"12 steps",easeFunction:_t.Easing.createStep(12)},{easeName:"16 steps",easeFunction:_t.Easing.createStep(16)},{easeName:"gap"},{easeName:"Noisy Exponential.InOut",easeFunction:_t.Easing.createNoisyEasing(_t.Easing.Exponential.InOut,.1)},{easeName:"Noisy Elastic.InOut",easeFunction:_t.Easing.createNoisyEasing(_t.Easing.Elastic.InOut,.2)},{easeName:"Noisy Circular.InOut",easeFunction:_t.Easing.createNoisyEasing(_t.Easing.Circular.InOut,.1)},{easeName:"swing",easeFunction:_t.Easing.swing},{easeName:"causeSeizures",easeFunction:_t.Easing.causeSeizures}]}},emits:["selectedEaseFunction"],setup(o,{expose:t,emit:e}){const n=o,s=e,r={};function a(d,h){d&&(r[h]={el:d})}const i=new jr(10);function l(d){i.addTask(()=>(r[d].el.start(),new Promise(h=>{r[d].resolve=h})))}function c(d){r[d].resolve?.()}const u=P("Linear");function f(d,h){u.value=d,s("selectedEaseFunction",d,h)}return f("Linear",_t.Easing.Linear.None),t({}),(d,h)=>(I(),D("div",null,[(I(!0),D(Dt,null,Ee(n.easeList,p=>(I(),D("div",{key:p.easeName,class:"ease-graph-wrap"},[p.easeFunction?(I(),dt(mm,{key:0,easeName:p.easeName,easeFunction:p.easeFunction,easeDuration:u5,isSelected:u.value==p.easeName,onOnMounted:l,onOnCompleted:c,onOnSelected:f,ref_for:!0,ref:b=>a(b,p.easeName)},null,8,["easeName","easeFunction","isSelected"])):yt("",!0)]))),128))]))}}),[["styles",[`.ease-graph-wrap[data-v-b3ce4b26]{display:inline-block;margin-right:10px}.ease-group-gap[data-v-b3ce4b26]{margin:10px}
231
+ `]],["__scopeId","data-v-b3ce4b26"]]),f5={class:"interpolation-graph"},ym=1/6,vm=5/6,xc=st(Y({customOptions:{Button:ie,Canvas:so},inheritAttrs:!0,__name:"InterpolationGraphDisplay.ce",props:{interpolationName:{},interpolationFunction:{},canvasWidth:{default:240},canvasHeight:{default:160},interpolationDuration:{default:2e3}},emits:["onMounted","onStart","onCompleted"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P();let a,i;Rt(r,()=>{r.value&&(pa(r.value.getElement(),{onShow:b}).then(x=>i=x),r.value.getCanvas().then(x=>{a=x,s("onMounted",n.interpolationName)}))});const l=n.canvasWidth*ym,c=n.canvasHeight/2,u=[n.canvasWidth*vm,n.canvasWidth/2],f=[n.canvasHeight*ym,n.canvasHeight*vm],d=[...u,l],h=[...f,c];let p=!1;const b=()=>{if(!a||p)return;p=!0,s("onStart",n.interpolationName),a.ctx.fillStyle="rgb(250,250,250)",a.ctx.fillRect(0,0,n.canvasWidth,n.canvasHeight),a.ctx.fillStyle="rgb(200,200,200)",a.ctx.fillRect(l-3,c-3,6,6),a.ctx.fillRect(u[u.length-1]-3,f[f.length-1]-3,6,6);for(var x=0;x<u.length;x++)a.ctx.fillRect(u[x]-2,f[x]-2,4,4);const k=new Ze({frameDuration:n.interpolationDuration});k.addTween({x:l,y:c,old:{x:l,y:c}},{x:u,y:f},{frames:1,delay:0,easeFunction:_t.Easing.Linear.None,interpolationFunction:n.interpolationFunction,onUpdate:g=>{a.ctx.lineWidth=2,a.ctx.strokeStyle="rgba(255,127,127,0.9)",a.ctx.beginPath(),a.ctx.moveTo(g.old.x,g.old.y),a.ctx.lineTo(g.x,g.y),a.ctx.closePath(),a.ctx.stroke(),g.old.x=g.x,g.old.y=g.y},onComplete:()=>{}}),k.addTween({x:l,y:c,old:{x:l,y:c}},{x:d,y:h},{frames:1,delay:0,easeFunction:_t.Easing.Linear.None,interpolationFunction:n.interpolationFunction,onUpdate:g=>{a.ctx.lineWidth=2,a.ctx.strokeStyle="rgba(255,127,127,0.5)",a.ctx.beginPath(),a.ctx.moveTo(g.old.x,g.old.y),a.ctx.lineTo(g.x,g.y),a.ctx.closePath(),a.ctx.stroke(),g.old.x=g.x,g.old.y=g.y},onComplete:()=>{s("onCompleted",n.interpolationName),p=!1}}),k.play()};return ue(()=>{i?.()}),t({start:b}),(x,k)=>(I(),D("div",f5,[v("div",null,[Bt(" 插值:"+ft(x.interpolationName)+" ",1),Z(ie,{stylePattern:"outline",height:"32px",onClick:b},{default:W(()=>k[0]||(k[0]=[Bt(" 开始 ")])),_:1})]),v("div",{style:N({width:x.canvasWidth+"px",height:x.canvasHeight+"px"})},[Z(so,{ref_key:"canvasRef",ref:r,bgColor:"#ffffff"},null,512)],4)]))}}),[["styles",[`.interpolation-graph[data-v-40f2a3d6]{display:inline-block}.interpolation-graph>div[data-v-40f2a3d6]:nth-child(1){margin-top:10px;margin-bottom:10px;font-size:14px}
232
+ `]],["__scopeId","data-v-40f2a3d6"]]),d5={class:"interpolation-graph"},bm=1/6,_m=5/6,h5=Y({customOptions:{Button:ie,Canvas:so},inheritAttrs:!0,__name:"InterpolationGraphDisplay",props:{interpolationName:{},interpolationFunction:{},canvasWidth:{default:240},canvasHeight:{default:160},interpolationDuration:{default:2e3}},emits:["onMounted","onStart","onCompleted"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P();let a,i;Rt(r,()=>{r.value&&(pa(r.value.getElement(),{onShow:b}).then(x=>i=x),r.value.getCanvas().then(x=>{a=x,s("onMounted",n.interpolationName)}))});const l=n.canvasWidth*bm,c=n.canvasHeight/2,u=[n.canvasWidth*_m,n.canvasWidth/2],f=[n.canvasHeight*bm,n.canvasHeight*_m],d=[...u,l],h=[...f,c];let p=!1;const b=()=>{if(!a||p)return;p=!0,s("onStart",n.interpolationName),a.ctx.fillStyle="rgb(250,250,250)",a.ctx.fillRect(0,0,n.canvasWidth,n.canvasHeight),a.ctx.fillStyle="rgb(200,200,200)",a.ctx.fillRect(l-3,c-3,6,6),a.ctx.fillRect(u[u.length-1]-3,f[f.length-1]-3,6,6);for(var x=0;x<u.length;x++)a.ctx.fillRect(u[x]-2,f[x]-2,4,4);const k=new Ze({frameDuration:n.interpolationDuration});k.addTween({x:l,y:c,old:{x:l,y:c}},{x:u,y:f},{frames:1,delay:0,easeFunction:_t.Easing.Linear.None,interpolationFunction:n.interpolationFunction,onUpdate:g=>{a.ctx.lineWidth=2,a.ctx.strokeStyle="rgba(255,127,127,0.9)",a.ctx.beginPath(),a.ctx.moveTo(g.old.x,g.old.y),a.ctx.lineTo(g.x,g.y),a.ctx.closePath(),a.ctx.stroke(),g.old.x=g.x,g.old.y=g.y},onComplete:()=>{}}),k.addTween({x:l,y:c,old:{x:l,y:c}},{x:d,y:h},{frames:1,delay:0,easeFunction:_t.Easing.Linear.None,interpolationFunction:n.interpolationFunction,onUpdate:g=>{a.ctx.lineWidth=2,a.ctx.strokeStyle="rgba(255,127,127,0.5)",a.ctx.beginPath(),a.ctx.moveTo(g.old.x,g.old.y),a.ctx.lineTo(g.x,g.y),a.ctx.closePath(),a.ctx.stroke(),g.old.x=g.x,g.old.y=g.y},onComplete:()=>{s("onCompleted",n.interpolationName),p=!1}}),k.play()};return ue(()=>{i?.()}),t({start:b}),(x,k)=>(I(),D("div",d5,[v("div",null,[Bt(" 插值:"+ft(x.interpolationName)+" ",1),Z(ie,{stylePattern:"outline",height:"32px",onClick:b},{default:W(()=>k[0]||(k[0]=[Bt(" 开始 ")])),_:1})]),v("div",{style:N({width:x.canvasWidth+"px",height:x.canvasHeight+"px"})},[Z(so,{ref_key:"canvasRef",ref:r,bgColor:"#ffffff"},null,512)],4)]))}}),hT="",xm=st(h5,[["__scopeId","data-v-9fcfb094"]]),p5=2e3,km=st(Y({customOptions:{InterpolationGraphDisplay:xm},inheritAttrs:!0,__name:"InterpolationGroupGraphDisplay.ce",props:{interpolationList:{default:()=>[{interpolationName:"Linear",interpolationFunction:_t.Interpolation.Linear},{interpolationName:"Bezier",interpolationFunction:_t.Interpolation.Bezier},{interpolationName:"CatmullRom",interpolationFunction:_t.Interpolation.CatmullRom}]}},setup(o,{expose:t,emit:e}){const n=o,s={};function r(c,u){c&&(s[u]={el:c})}const a=new jr(1);function i(c){a.addTask(()=>(s[c].el.start(),new Promise(u=>{s[c].resolve=u})))}function l(c){s[c].resolve?.()}return t({}),(c,u)=>(I(),D("div",null,[(I(!0),D(Dt,null,Ee(n.interpolationList,f=>(I(),D("div",{key:f.interpolationName,class:"interpolation-graph-wrap"},[Z(xm,{interpolationName:f.interpolationName,interpolationFunction:f.interpolationFunction,easeDuration:p5,onOnMounted:i,onOnCompleted:l,ref_for:!0,ref:d=>r(d,f.interpolationName)},null,8,["interpolationName","interpolationFunction"])]))),128))]))}}),[["styles",[`.interpolation-graph-wrap[data-v-7128e350]{display:inline-block;margin-right:10px}
233
+ `]],["__scopeId","data-v-7128e350"]]),m5={class:"face front"},g5={class:"face back"},wm=st(Y({customOptions:{},inheritAttrs:!0,__name:"CardFlip.ce",props:{type:{default:""},dur:{default:500},perspective:{default:"600px"}},emits:["click"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P(!1),a=()=>{r.value=!r.value,s("click",r.value)};return t({}),(i,l)=>(I(),D("div",{class:"card-flip-scene",style:N({perspective:n.perspective})},[v("div",{class:Gt(["card",[n.type,{flip:r.value}]]),style:N({transition:`transform ${n.dur}ms`}),onClick:a},[v("div",m5,[mt(i.$slots,"front",{},()=>[l[0]||(l[0]=Bt("front"))],!0)]),v("div",g5,[mt(i.$slots,"back",{},()=>[l[1]||(l[1]=Bt("back"))],!0)])],6)],4))}}),[["styles",[`.card-flip-scene[data-v-1ee90a6e]{width:100%;height:100%;cursor:pointer}.card[data-v-1ee90a6e]{width:100%;height:100%;position:relative;transform-style:preserve-3d}.card.slide[data-v-1ee90a6e]{transform-origin:center right}.card.flip[data-v-1ee90a6e]{transform:rotateY(180deg)}.card.slide.flip[data-v-1ee90a6e]{transform:translate(-100%) rotateY(-180deg)}.face[data-v-1ee90a6e]{position:absolute;height:100%;width:100%;backface-visibility:hidden}.face[data-v-1ee90a6e]>:nth-child(1){display:block;width:100%;height:100%}.back[data-v-1ee90a6e]{transform:rotateY(180deg)}
234
+ `]],["__scopeId","data-v-1ee90a6e"]]),y5=Y({customOptions:{BooleanBox:rn},__name:"RadioGroup",props:{options:{},disabledIndexs:{},initIndex:{default:0},isRounded:{type:Boolean,default:!0},colorBackground:{default:"#ffffff"},colorForeground:{default:"#5a82f0"},colorDisabled:{default:"#cccccc"},colorChangeMode:{default:"reverse"},fontSize:{default:"14px"},boxWidth:{default:"20px"},itemPadding:{default:"10px"},labelPadding:{default:"2px"}},emits:["change"],setup(o,{emit:t}){const e=o,n=t,s=P([]),r=(l,c)=>{l&&(s.value[c]=l)};let a=P(e.initIndex);const i=(l,c)=>{a.value!==l?(s.value[a.value].toggleValue(),c&&(a.value=l,n("change",e.options[a.value]))):c||s.value[a.value].setValue(!0)};return(l,c)=>(I(!0),D(Dt,null,Ee(l.options,(u,f)=>(I(),D("div",{class:"radio-group",key:f,style:N(["margin-left:"+(f>0?e.itemPadding:0)])},[Z(rn,{ref_for:!0,ref:d=>r(d,f),selected:Tt(a)==f,disabled:l.disabledIndexs&&l.disabledIndexs.findIndex(d=>d===f)>=0,isRounded:e.isRounded,label:u,labelPadding:e.labelPadding,colorBackground:e.colorBackground,colorForeground:e.colorForeground,colorDisabled:e.colorDisabled,colorChangeMode:e.colorChangeMode,boxWidth:e.boxWidth,fontSize:e.fontSize,onChange:d=>i(f,d)},null,8,["selected","disabled","isRounded","label","labelPadding","colorBackground","colorForeground","colorDisabled","colorChangeMode","boxWidth","fontSize","onChange"])],4))),128))}}),vT="",Cm=st(y5,[["__scopeId","data-v-308d559c"]]),v5=Y({customOptions:{BooleanBox:rn},__name:"CheckboxGroup",props:{options:{},disabledIndexs:{},initIndexs:{},isRounded:{type:Boolean,default:!1},colorBackground:{default:"#ffffff"},colorForeground:{default:"#5a82f0"},colorDisabled:{default:"#cccccc"},colorChangeMode:{default:"reverse"},fontSize:{default:"14px"},boxWidth:{default:"20px"},itemPadding:{default:"10px"},labelPadding:{default:"2px"}},emits:["change"],setup(o,{emit:t}){const e=o,n=t;let s=Wt(e.initIndexs??[]);const r=(a,i)=>{const l=s.findIndex(u=>u===a);let c=!1;l>=0&&!i?(s.splice(l,1),c=!0):l<0&&i&&(s.push(a),c=!0),c&&n("change",s.map(u=>e.options[u]))};return(a,i)=>(I(!0),D(Dt,null,Ee(a.options,(l,c)=>(I(),D("div",{class:"checkbox-group",key:c,style:N(["margin-left:"+(c>0?e.itemPadding:0)])},[Z(rn,{selected:Tt(s).findIndex(u=>u===c)>=0,disabled:a.disabledIndexs&&a.disabledIndexs.findIndex(u=>u===c)>=0,isRounded:e.isRounded,label:l,labelPadding:e.labelPadding,colorBackground:e.colorBackground,colorForeground:e.colorForeground,colorDisabled:e.colorDisabled,colorChangeMode:e.colorChangeMode,boxWidth:e.boxWidth,fontSize:e.fontSize,onChange:u=>r(c,u)},null,8,["selected","disabled","isRounded","label","labelPadding","colorBackground","colorForeground","colorDisabled","colorChangeMode","boxWidth","fontSize","onChange"])],4))),128))}}),bT="",kc=st(v5,[["__scopeId","data-v-4c28fda3"]]),b5=["max","min","step","value","autofocus"],_5={key:0,class:"label"},x5=Y({customOptions:{},inheritAttrs:!0,__name:"InputRange",props:{min:{default:0},max:{default:100},step:{default:1},defaultValue:{default:0},unit:{default:""},showValue:{type:Boolean,default:!0},autofocus:{type:Boolean,default:!1},color:{default:"#5a82f0"},barColor:{default:"#f5f5f5"},handleSize:{default:"20px"},barHeight:{default:"4px"}},emits:["change"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=P(n.defaultValue),a=()=>ke((r.value-n.min)/(n.max-n.min),4)*100,i=P(a());function l(f){r.value=ke(f.target.value,2),i.value=a(),s("change",r.value)}const c=`
236
235
  :root {
237
236
  --input-range-color: ${n.color};
238
237
  --input-range-thumb-size: ${n.handleSize};
@@ -243,38 +242,38 @@ ${JSON.stringify($,null,2)}
243
242
  --input-range-thumb-size: ${n.handleSize};
244
243
  --input-range-track-size: ${n.barHeight};
245
244
  }
246
- `,u=R();return Pt(u,()=>{u.value&&yo(c,u.value)}),se(()=>{}),t({}),(f,d)=>(A(),F("div",{class:"input-range",ref_key:"inputRangeContainer",ref:u},[k("input",{type:"range",max:n.max,min:n.min,step:n.step,value:s.value,autofocus:n.autofocus,onInput:i,style:N({background:`linear-gradient(to right, ${n.color} 0%, ${n.color} ${l.value}%, ${n.barColor} ${l.value}%, ${n.barColor})`})},null,44,$k),dt(f.$slots,"default",{value:s.value},()=>[f.showValue?(A(),F("label",Nk,ut(s.value)+ut(n.unit),1)):yt("",!0)],!0)],512))}}),A5="",Sa=nt(Dk,[["__scopeId","data-v-cab67db2"]]),Nh=nt(Y({customOptions:{RadioGroup:$h,CheckboxGroup:Xl,InputRange:Sa},inheritAttrs:!0,__name:"Cube.ce",props:{width:{default:200},height:{default:200},dur:{default:1e3},perspective:{default:400}},setup(e,{expose:t,emit:o}){const n=e,r=R(Math.floor(n.width/2)),s=`
245
+ `,u=P();return Rt(u,()=>{u.value&&Co(c,u.value)}),ue(()=>{}),t({}),(f,d)=>(I(),D("div",{class:"input-range",ref_key:"inputRangeContainer",ref:u},[v("input",{type:"range",max:n.max,min:n.min,step:n.step,value:r.value,autofocus:n.autofocus,onInput:l,style:N({background:`linear-gradient(to right, ${n.color} 0%, ${n.color} ${i.value}%, ${n.barColor} ${i.value}%, ${n.barColor})`})},null,44,b5),mt(f.$slots,"default",{value:r.value},()=>[f.showValue?(I(),D("label",_5,ft(r.value)+ft(n.unit),1)):yt("",!0)],!0)],512))}}),_T="",Ga=st(x5,[["__scopeId","data-v-cab67db2"]]),Tm=st(Y({customOptions:{RadioGroup:Cm,CheckboxGroup:kc,InputRange:Ga},inheritAttrs:!0,__name:"Cube.ce",props:{width:{default:200},height:{default:200},dur:{default:1e3},perspective:{default:400}},setup(o,{expose:t,emit:e}){const n=o,s=P(Math.floor(n.width/2)),r=`
247
246
  :root {
248
- --spin-cube-z: -${r.value}px;
247
+ --spin-cube-z: -${s.value}px;
249
248
  }
250
249
  :host {
251
- --spin-cube-z: -${r.value}px;
250
+ --spin-cube-z: -${s.value}px;
252
251
  }
253
- `,a=R();Pt(a,()=>{a.value&&yo(s,a.value)});const l=R(n.perspective+"px"),i=m=>{l.value=m==2e3?"none":m+"px"},c=R("50%"),u=m=>{c.value=m+"%"},f=R("50%"),d=m=>{f.value=m+"%"},h=`translateZ(-${r.value}px)`,p=R(h),w=m=>{switch(m){case"front":p.value=h+" rotateY(0deg)";break;case"right":p.value=h+" rotateY(-90deg)";break;case"back":p.value=h+" rotateY(-180deg)";break;case"left":p.value=h+" rotateY(90deg)";break;case"top":p.value=h+" rotateX(-90deg)";break;case"bottom":p.value=h+" rotateX(90deg)";break;default:p.value=h;break}},x=R(!1),v=m=>{m.length?x.value=!0:x.value=!1},g=R("visible"),y=m=>{m.length?g.value="visible":g.value="hidden"};return t({}),(m,_)=>(A(),F("div",{ref_key:"container",ref:a},[k("div",{class:"cube-scene",style:N({width:`${n.width}px`,height:`${n.height}px`,perspective:`${l.value}`,perspectiveOrigin:`${c.value} ${f.value}`})},[k("div",{class:Ut(["cube",{spinning:x.value}]),style:N({transformStyle:"preserve-3d",transform:p.value,transition:`transform ${n.dur}ms`})},[k("div",{class:"face front",style:N({transform:`rotateY(0deg) translateZ(${r.value}px)`,backfaceVisibility:g.value})},[dt(m.$slots,"front",{},()=>[_[0]||(_[0]=Vt("front"))],!0)],4),k("div",{class:"face back",style:N({transform:`rotateY(180deg) translateZ(${r.value}px)`,backfaceVisibility:g.value})},[dt(m.$slots,"back",{},()=>[_[1]||(_[1]=Vt("back"))],!0)],4),k("div",{class:"face right",style:N({transform:`rotateY(90deg) translateZ(${r.value}px)`,backfaceVisibility:g.value})},[dt(m.$slots,"right",{},()=>[_[2]||(_[2]=Vt("right"))],!0)],4),k("div",{class:"face left",style:N({transform:`rotateY(-90deg) translateZ(${r.value}px)`,backfaceVisibility:g.value})},[dt(m.$slots,"left",{},()=>[_[3]||(_[3]=Vt("left"))],!0)],4),k("div",{class:"face top",style:N({transform:`rotateX(90deg) translateZ(${r.value}px)`,backfaceVisibility:g.value})},[dt(m.$slots,"top",{},()=>[_[4]||(_[4]=Vt("top"))],!0)],4),k("div",{class:"face bottom",style:N({transform:`rotateX(-90deg) translateZ(${r.value}px)`,backfaceVisibility:g.value})},[dt(m.$slots,"bottom",{},()=>[_[5]||(_[5]=Vt("bottom"))],!0)],4)],6)],4),k("div",null,[J($h,{options:["front","right","back","left","top","bottom"],onChange:w})]),k("div",null,[J(Xl,{options:["Backface visible"],onChange:y})]),k("div",null,[J(Xl,{options:["spin cube"],onChange:v})]),k("div",null,[_[6]||(_[6]=Vt(" perspective: ")),J(Sa,{min:1,max:2e3,defaultValue:n.perspective,unit:"px",onChange:i},null,8,["defaultValue"])]),k("div",null,[_[7]||(_[7]=Vt(" perspective-origin x: ")),J(Sa,{min:0,max:100,defaultValue:50,unit:"%",onChange:u})]),k("div",null,[_[8]||(_[8]=Vt(" perspective-origin y: ")),J(Sa,{min:0,max:100,defaultValue:50,unit:"%",onChange:d})])],512))}}),[["styles",[`.cube[data-v-d77b4117]{position:relative;width:100%;height:100%}.face[data-v-d77b4117]{position:absolute;width:100%;height:100%}.front[data-v-d77b4117]{background:hsla(0,100%,50%,.7)}.right[data-v-d77b4117]{background:hsla(60,100%,50%,.7)}.back[data-v-d77b4117]{background:hsla(120,100%,50%,.7)}.left[data-v-d77b4117]{background:hsla(180,100%,50%,.7)}.top[data-v-d77b4117]{background:hsla(240,100%,50%,.7)}.bottom[data-v-d77b4117]{background:hsla(300,100%,50%,.7)}.spinning[data-v-d77b4117]{animation:spinCube-d77b4117 8s infinite ease-in-out}@keyframes spinCube-d77b4117{0%{transform:translateZ(var(--spin-cube-z)) rotateX(0) rotateY(0)}to{transform:translateZ(var(--spin-cube-z)) rotateX(360deg) rotateY(360deg)}}
254
- `]],["__scopeId","data-v-d77b4117"]]),Fk={class:"svg",style:{position:"absolute",width:"0",height:"0"}},Dh=Y({customOptions:{},inheritAttrs:!0,__name:"SVGMaskNapkin",setup(e){return(t,o)=>(A(),F("svg",Fk,o[0]||(o[0]=[kg('<defs><mask id="mask" maskContentUnits="objectBoundingBox"><ellipse cx=".5" cy=".5" rx=".48" ry=".28" fill="black"></ellipse><rect x=".2" y="0" width=".6" height="1" rx=".1" ry=".1" fill="black"></rect><ellipse cx=".5" cy=".5" rx=".4" ry=".2" fill="white"></ellipse><rect x=".3" y=".1" width=".4" height=".8" rx=".1" ry=".1" fill="white"></rect></mask></defs>',1)])))}}),Lk=Y({customOptions:{Container:mt,SVGMaskNapkin:Dh},inheritAttrs:!0,__name:"ImageMask.ce",props:{maskMode:{default:"alaph"},imageUrl:{default:""}},setup(e,{expose:t}){const o=e,n=R(0),r=R(0),s=(a,l)=>{n.value=a,r.value=l};return t({}),(a,l)=>(A(),F("div",{style:N({width:`${n.value}px`,height:`${r.value}px`,maskImage:o.imageUrl?`url(${o.imageUrl})`:"url(#mask)","mask-mode":o.maskMode})},[dt(a.$slots,"mask",{},()=>[J(Dh)]),J(mt,{type:"shrink",onResize:s},{default:st(()=>[dt(a.$slots,"default")]),_:3})],4))}}),Fh=nt(Y({customOptions:{Container:mt},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(e,{expose:t}){const o=e,n=jt({willChange:"box-shadow, transform"}),r=()=>{switch(n.boxShadow="none",o.direction){case"left":n.transform="translateX(0)";break;case"right":n.transform="translateX(0)";break;case"down":n.transform="translateY(0)";break;case"up":n.transform="translateY(0)";break}},s=()=>{switch(n.boxShadow=o.boxShadow,o.direction){case"left":n.transform=`translateX(-${o.distance}px)`;break;case"right":n.transform=`translateX(${o.distance}px)`;break;case"down":n.transform=`translateY(${o.distance}px)`;break;case"up":n.transform=`translateY(-${o.distance}px)`;break}};return t({}),(a,l)=>(A(),ht(mt,{type:o.containerType,supportCopyText:o.supportCopyText,effectTriggerTiming:o.effectTriggerTiming,onStart:r,onEnd:s},{default:st(()=>[k("div",{class:"float",style:N({transition:`transform ${o.dur}ms ease-in-out, box-shadow ${o.dur}ms ease-in-out`,...n})},[dt(a.$slots,"default",{},void 0,!0)],4)]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.float[data-v-e9e9dadd]{position:relative;z-index:1;cursor:pointer}
255
- `]],["__scopeId","data-v-e9e9dadd"]]),zk={class:"slide"},Lh=nt(Y({customOptions:{Container:mt},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(e,{expose:t}){const o=e,n=jt({}),r=()=>{switch(o.direction){case"left":n.transformOrigin="center left",n.transform="scaleX(0)";break;case"right":n.transformOrigin="center right",n.transform="scaleX(0)";break;case"down":n.transformOrigin="center bottom",n.transform="scaleY(0)";break;case"up":n.transformOrigin="center top",n.transform="scaleY(0)";break}},s=()=>{switch(o.direction){case"left":n.transformOrigin="center right",n.transform="scaleX(1)";break;case"right":n.transformOrigin="center left",n.transform="scaleX(1)";break;case"down":n.transformOrigin="center top",n.transform="scaleY(1)";break;case"up":n.transformOrigin="center bottom",n.transform="scaleY(1)";break}};return t({}),(a,l)=>(A(),ht(mt,{type:o.containerType,supportCopyText:o.supportCopyText,effectTriggerTiming:o.effectTriggerTiming,onStart:r,onEnd:s,style:{overflow:"hidden"}},{default:st(()=>[k("div",{class:"slide-before",style:N({backgroundColor:o.color,transition:`transform ${o.dur}ms ease-in-out`,...n})},null,4),k("div",zk,[dt(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}
256
- `]],["__scopeId","data-v-370e136b"]]),Mk={class:"slide-corner"},zh=nt(Y({customOptions:{Container:mt},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(e,{expose:t}){const o=e,n=jt({});let r=1,s=r*2;const a=(c,u)=>{r=Math.ceil(Math.max(c,u)/Math.min(c,u)),s=r*2,n.width=n.height=Math.ceil(Math.min(c,u))+"px"},l=()=>{switch(o.direction){case"fromBottomLeft":n.top="100%",n.right="100%",n.transform="translate(50%, -50%) scale3d(0, 0, 0)";break;case"fromBottomRight":n.top="100%",n.left="100%",n.transform="translate(-50%, -50%) scale3d(0, 0, 0)";break;case"fromTopLeft":n.bottom="100%",n.right="100%",n.transform="translate(50%, 50%) scale3d(0, 0, 0)";break;case"fromTopRight":n.bottom="100%",n.left="100%",n.transform="translate(-50%, 50%) scale3d(0, 0, 0)";break;case"fromCenter":n.top="50%",n.left="50%",n.transform="translate(-50%, -50%) scale3d(0, 0, 0)";break}},i=()=>{switch(o.direction){case"fromBottomLeft":n.top="100%",n.right="100%",n.transform=`translate(50%, -50%) scale3d(${s}, ${s}, ${s})`;break;case"fromBottomRight":n.top="100%",n.left="100%",n.transform=`translate(-50%, -50%) scale3d(${s}, ${s}, ${s})`;break;case"fromTopLeft":n.bottom="100%",n.right="100%",n.transform=`translate(50%, 50%) scale3d(${s}, ${s}, ${s})`;break;case"fromTopRight":n.bottom="100%",n.left="100%",n.transform=`translate(-50%, 50%) scale3d(${s}, ${s}, ${s})`;break;case"fromCenter":n.top="50%",n.left="50%",n.transform=`translate(-50%, -50%) scale3d(${s}, ${s}, ${s})`;break}};return t({}),(c,u)=>(A(),ht(mt,{type:o.containerType,supportCopyText:o.supportCopyText,effectTriggerTiming:o.effectTriggerTiming,onStart:l,onEnd:i,onResize:a,style:{overflow:"hidden"}},{default:st(()=>[k("div",{class:"slide-corner-before",style:N({backgroundColor:o.color,borderRadius:"50%",transition:`transform ${o.timeGap*vt(r)}ms ease-in-out`,transformOrigin:"center",...n})},null,4),k("div",Mk,[dt(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}
257
- `]],["__scopeId","data-v-6065adbb"]]),Bk={class:"line-single"},Mh=nt(Y({customOptions:{Container:mt},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(e,{expose:t}){const o=e;let n=1;const r=(i,c)=>{n=Math.ceil(Math.max(i,c)/Math.min(i,c))},s=jt({});switch(o.location){case"underline":s.bottom="0";break;case"overline":s.top="0";break;case"through":s.top="50%";break}const a=()=>{switch(o.direction){case"right":s.transformOrigin="bottom right",s.transform="scaleX(0)";break;case"left":s.transformOrigin="bottom left",s.transform="scaleX(0)";break;case"fromCenter":s.transformOrigin="center",s.transform="scaleX(0)";break}},l=()=>{switch(o.direction){case"right":s.transformOrigin="bottom left",s.transform="scaleX(1)";break;case"left":s.transformOrigin="bottom right",s.transform="scaleX(1)";break;case"fromCenter":s.transformOrigin="center",s.transform="scaleX(1)";break}};return t({}),(i,c)=>(A(),ht(mt,{type:o.containerType,supportCopyText:o.supportCopyText,effectTriggerTiming:o.effectTriggerTiming,onStart:a,onEnd:l,onResize:r},{default:st(()=>[k("div",{class:"line-single-before",style:N({left:0,width:"100%",height:o.lineHeight+"px",backgroundColor:o.color,transition:`transform ${o.timeGap*vt(n)}ms ease-in-out`,...s})},null,4),k("div",Bk,[dt(i.$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}
258
- `]],["__scopeId","data-v-f6ff8ebf"]]),Yk={class:"line-double"},Bh=nt(Y({customOptions:{Container:mt},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(e,{expose:t}){const o=e;let n=1;const r=(u,f)=>{n=Math.ceil(Math.max(u,f)/Math.min(u,f))},s=jt({}),a=jt({}),l=jt({});switch(o.location){case"horizontal":s.width="100%",s.height=o.lineHeight+"px",a.top="0",l.bottom="0";break;case"vertical":s.width=o.lineHeight+"px",s.height="100%",a.left="0",l.right="0";break}const i=()=>{switch(o.direction){case"toEnd":switch(o.location){case"horizontal":a.right="0",l.right="0",s.transformOrigin="center right",s.transform="scaleX(0)";break;case"vertical":a.bottom="0",l.bottom="0",s.transformOrigin="center bottom",s.transform="scaleY(0)";break}break;case"toStart":switch(o.location){case"horizontal":a.left="0",l.left="0",s.transformOrigin="center left",s.transform="scaleX(0)";break;case"vertical":a.top="0",l.top="0",s.transformOrigin="center top",s.transform="scaleY(0)";break}break;case"towards":switch(o.location){case"horizontal":a.right="0",a.transformOrigin="center right",l.left="0",l.transformOrigin="center left",s.transform="scaleX(0)";break;case"vertical":a.bottom="0",a.transformOrigin="center bottom",l.top="0",l.transformOrigin="center top",s.transform="scaleY(0)";break}break;case"fromCenter":switch(o.location){case"horizontal":a.left="50%",l.left="50%",s.transformOrigin="center",s.transform="translateX(-50%) scaleX(0)";break;case"vertical":a.top="50%",l.top="50%",s.transformOrigin="center",s.transform="translateY(-50%) scaleY(0)";break}break}},c=()=>{switch(o.direction){case"toEnd":switch(o.location){case"horizontal":a.left="0",l.left="0",s.transformOrigin="center left",s.transform="scaleX(1)";break;case"vertical":a.top="0",l.top="0",s.transformOrigin="center top",s.transform="scaleY(1)";break}break;case"toStart":switch(o.location){case"horizontal":a.right="0",l.right="0",s.transformOrigin="center right",s.transform="scaleX(1)";break;case"vertical":a.bottom="0",l.bottom="0",s.transformOrigin="center bottom",s.transform="scaleY(1)";break}break;case"towards":switch(o.location){case"horizontal":a.left="0",a.transformOrigin="center left",l.right="0",l.transformOrigin="center right",s.transform="scaleX(1)";break;case"vertical":a.top="0",a.transformOrigin="center top",l.bottom="0",l.transformOrigin="center bottom",s.transform="scaleY(1)";break}break;case"fromCenter":switch(o.location){case"horizontal":a.left="50%",l.left="50%",s.transformOrigin="center",s.transform="translateX(-50%) scaleX(1)";break;case"vertical":a.top="50%",l.top="50%",s.transformOrigin="center",s.transform="translateY(-50%) scaleY(1)";break}break}};return t({}),(u,f)=>(A(),ht(mt,{type:o.containerType,supportCopyText:o.supportCopyText,effectTriggerTiming:o.effectTriggerTiming,onStart:i,onEnd:c,onResize:r},{default:st(()=>[k("div",{class:"line-double-before",style:N({backgroundColor:o.color,transition:`transform ${o.timeGap*vt(n)}ms ease-in-out`,...s,...a})},null,4),k("div",Yk,[dt(u.$slots,"default",{},void 0,!0)]),k("div",{class:"line-double-after",style:N({backgroundColor:o.color,transition:`transform ${o.timeGap*vt(n)}ms ease-in-out`,...s,...l})},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}
259
- `]],["__scopeId","data-v-dcf10fee"]]),Vk={class:"circle"},Yh=nt(Y({customOptions:{Container:mt},inheritAttrs:!0,__name:"Circle.ce",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!0},effectTriggerTiming:{default:"mouseMove"},color:{default:"#3cefff"},dur:{default:750}},setup(e,{expose:t}){const o=e,n=R(),r=jt({transition:`box-shadow ${o.dur}ms`,borderRadius:"100%"}),s=(i,c)=>{r.width=r.height=Math.ceil(Math.max(i,c))+"px",n.value?.repeatEffect?.()},a=()=>{const i=_e(o.color,.2).toString();r.boxShadow=`
260
- inset ${r.width} 0 0 ${i},
261
- inset 0 ${r.width} 0 ${i},
262
- inset -${r.width} 0 0 ${i},
263
- inset 0 -${r.width} 0 ${i}
264
- `},l=()=>{r.boxShadow=`
252
+ `,a=P();Rt(a,()=>{a.value&&Co(r,a.value)});const i=P(n.perspective+"px"),l=y=>{i.value=y==2e3?"none":y+"px"},c=P("50%"),u=y=>{c.value=y+"%"},f=P("50%"),d=y=>{f.value=y+"%"},h=`translateZ(-${s.value}px)`,p=P(h),b=y=>{switch(y){case"front":p.value=h+" rotateY(0deg)";break;case"right":p.value=h+" rotateY(-90deg)";break;case"back":p.value=h+" rotateY(-180deg)";break;case"left":p.value=h+" rotateY(90deg)";break;case"top":p.value=h+" rotateX(-90deg)";break;case"bottom":p.value=h+" rotateX(90deg)";break;default:p.value=h;break}},x=P(!1),k=y=>{y.length?x.value=!0:x.value=!1},g=P("visible"),m=y=>{y.length?g.value="visible":g.value="hidden"};return t({}),(y,_)=>(I(),D("div",{ref_key:"container",ref:a},[v("div",{class:"cube-scene",style:N({width:`${n.width}px`,height:`${n.height}px`,perspective:`${i.value}`,perspectiveOrigin:`${c.value} ${f.value}`})},[v("div",{class:Gt(["cube",{spinning:x.value}]),style:N({transformStyle:"preserve-3d",transform:p.value,transition:`transform ${n.dur}ms`})},[v("div",{class:"face front",style:N({transform:`rotateY(0deg) translateZ(${s.value}px)`,backfaceVisibility:g.value})},[mt(y.$slots,"front",{},()=>[_[0]||(_[0]=Bt("front"))],!0)],4),v("div",{class:"face back",style:N({transform:`rotateY(180deg) translateZ(${s.value}px)`,backfaceVisibility:g.value})},[mt(y.$slots,"back",{},()=>[_[1]||(_[1]=Bt("back"))],!0)],4),v("div",{class:"face right",style:N({transform:`rotateY(90deg) translateZ(${s.value}px)`,backfaceVisibility:g.value})},[mt(y.$slots,"right",{},()=>[_[2]||(_[2]=Bt("right"))],!0)],4),v("div",{class:"face left",style:N({transform:`rotateY(-90deg) translateZ(${s.value}px)`,backfaceVisibility:g.value})},[mt(y.$slots,"left",{},()=>[_[3]||(_[3]=Bt("left"))],!0)],4),v("div",{class:"face top",style:N({transform:`rotateX(90deg) translateZ(${s.value}px)`,backfaceVisibility:g.value})},[mt(y.$slots,"top",{},()=>[_[4]||(_[4]=Bt("top"))],!0)],4),v("div",{class:"face bottom",style:N({transform:`rotateX(-90deg) translateZ(${s.value}px)`,backfaceVisibility:g.value})},[mt(y.$slots,"bottom",{},()=>[_[5]||(_[5]=Bt("bottom"))],!0)],4)],6)],4),v("div",null,[Z(Cm,{options:["front","right","back","left","top","bottom"],onChange:b})]),v("div",null,[Z(kc,{options:["Backface visible"],onChange:m})]),v("div",null,[Z(kc,{options:["spin cube"],onChange:k})]),v("div",null,[_[6]||(_[6]=Bt(" perspective: ")),Z(Ga,{min:1,max:2e3,defaultValue:n.perspective,unit:"px",onChange:l},null,8,["defaultValue"])]),v("div",null,[_[7]||(_[7]=Bt(" perspective-origin x: ")),Z(Ga,{min:0,max:100,defaultValue:50,unit:"%",onChange:u})]),v("div",null,[_[8]||(_[8]=Bt(" perspective-origin y: ")),Z(Ga,{min:0,max:100,defaultValue:50,unit:"%",onChange:d})])],512))}}),[["styles",[`.cube[data-v-d77b4117]{position:relative;width:100%;height:100%}.face[data-v-d77b4117]{position:absolute;width:100%;height:100%}.front[data-v-d77b4117]{background:hsla(0,100%,50%,.7)}.right[data-v-d77b4117]{background:hsla(60,100%,50%,.7)}.back[data-v-d77b4117]{background:hsla(120,100%,50%,.7)}.left[data-v-d77b4117]{background:hsla(180,100%,50%,.7)}.top[data-v-d77b4117]{background:hsla(240,100%,50%,.7)}.bottom[data-v-d77b4117]{background:hsla(300,100%,50%,.7)}.spinning[data-v-d77b4117]{animation:spinCube-d77b4117 8s infinite ease-in-out}@keyframes spinCube-d77b4117{0%{transform:translateZ(var(--spin-cube-z)) rotateX(0) rotateY(0)}to{transform:translateZ(var(--spin-cube-z)) rotateX(360deg) rotateY(360deg)}}
253
+ `]],["__scopeId","data-v-d77b4117"]]),k5={class:"svg",style:{position:"absolute",width:"0",height:"0"}},Em=Y({customOptions:{},inheritAttrs:!0,__name:"SVGMaskNapkin",setup(o){return(t,e)=>(I(),D("svg",k5,e[0]||(e[0]=[hy('<defs><mask id="mask" maskContentUnits="objectBoundingBox"><ellipse cx=".5" cy=".5" rx=".48" ry=".28" fill="black"></ellipse><rect x=".2" y="0" width=".6" height="1" rx=".1" ry=".1" fill="black"></rect><ellipse cx=".5" cy=".5" rx=".4" ry=".2" fill="white"></ellipse><rect x=".3" y=".1" width=".4" height=".8" rx=".1" ry=".1" fill="white"></rect></mask></defs>',1)])))}}),w5=Y({customOptions:{Container:ht,SVGMaskNapkin:Em},inheritAttrs:!0,__name:"ImageMask.ce",props:{maskMode:{default:"alaph"},imageUrl:{default:""}},setup(o,{expose:t}){const e=o,n=P(0),s=P(0),r=a=>{n.value=a.rect.width,s.value=a.rect.height};return t({}),(a,i)=>(I(),D("div",{style:N({width:`${n.value}px`,height:`${s.value}px`,maskImage:e.imageUrl?`url(${e.imageUrl})`:"url(#mask)","mask-mode":e.maskMode})},[mt(a.$slots,"mask",{},()=>[Z(Em)]),Z(ht,{type:"shrink",onReady:r,onUpdate:r},{default:W(()=>[mt(a.$slots,"default")]),_:3})],4))}}),Sm=st(Y({customOptions:{Container:ht},inheritAttrs:!0,__name:"Float.ce",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!0},effectTriggerTiming:{default:"mouseMove"},dur:{default:200},distance:{default:4},boxShadow:{default:"none"},direction:{default:"up"}},setup(o,{expose:t}){const e=o,n=Wt({willChange:"box-shadow, transform"}),s=()=>{switch(n.boxShadow="none",e.direction){case"left":n.transform="translateX(0)";break;case"right":n.transform="translateX(0)";break;case"down":n.transform="translateY(0)";break;case"up":n.transform="translateY(0)";break}},r=()=>{switch(n.boxShadow=e.boxShadow,e.direction){case"left":n.transform=`translateX(-${e.distance}px)`;break;case"right":n.transform=`translateX(${e.distance}px)`;break;case"down":n.transform=`translateY(${e.distance}px)`;break;case"up":n.transform=`translateY(-${e.distance}px)`;break}};return t({}),(a,i)=>(I(),dt(ht,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:s,onEnd:r},{default:W(()=>[v("div",{class:"float",style:N({transition:`transform ${e.dur}ms ease-in-out, box-shadow ${e.dur}ms ease-in-out`,...n})},[mt(a.$slots,"default",{},void 0,!0)],4)]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.float[data-v-39f0e215]{position:relative;z-index:1;cursor:pointer}
254
+ `]],["__scopeId","data-v-39f0e215"]]),C5={class:"slide"},Om=st(Y({customOptions:{Container:ht},inheritAttrs:!0,__name:"Slide.ce",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!0},effectTriggerTiming:{default:"mouseMove"},color:{default:"#3cefff"},dur:{default:200},direction:{default:"up"}},setup(o,{expose:t}){const e=o,n=Wt({}),s=()=>{switch(e.direction){case"left":n.transformOrigin="center left",n.transform="scaleX(0)";break;case"right":n.transformOrigin="center right",n.transform="scaleX(0)";break;case"down":n.transformOrigin="center bottom",n.transform="scaleY(0)";break;case"up":n.transformOrigin="center top",n.transform="scaleY(0)";break}},r=()=>{switch(e.direction){case"left":n.transformOrigin="center right",n.transform="scaleX(1)";break;case"right":n.transformOrigin="center left",n.transform="scaleX(1)";break;case"down":n.transformOrigin="center top",n.transform="scaleY(1)";break;case"up":n.transformOrigin="center bottom",n.transform="scaleY(1)";break}};return t({}),(a,i)=>(I(),dt(ht,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:s,onEnd:r,style:{overflow:"hidden"}},{default:W(()=>[v("div",{class:"slide-before",style:N({backgroundColor:e.color,transition:`transform ${e.dur}ms ease-in-out`,...n})},null,4),v("div",C5,[mt(a.$slots,"default",{},void 0,!0)])]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.slide-before[data-v-b920d7c6]{position:absolute;z-index:0;inset:0;width:100%;height:100%}.slide[data-v-b920d7c6]{position:relative;z-index:1;cursor:pointer}
255
+ `]],["__scopeId","data-v-b920d7c6"]]),T5={class:"slide-corner"},Pm=st(Y({customOptions:{Container:ht},inheritAttrs:!0,__name:"SlideCorner.ce",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!0},effectTriggerTiming:{default:"mouseMove"},color:{default:"#3cefff"},timeGap:{default:100},direction:{default:"fromBottomLeft"}},setup(o,{expose:t}){const e=o,n=Wt({});let s=1,r=s*2;const a=c=>{s=Math.ceil(Math.max(c.rect.width,c.rect.height)/Math.min(c.rect.width,c.rect.height)),r=s*2,n.width=n.height=Math.ceil(Math.min(c.rect.width,c.rect.height))+"px"},i=()=>{switch(e.direction){case"fromBottomLeft":n.top="100%",n.right="100%",n.transform="translate(50%, -50%) scale3d(0, 0, 0)";break;case"fromBottomRight":n.top="100%",n.left="100%",n.transform="translate(-50%, -50%) scale3d(0, 0, 0)";break;case"fromTopLeft":n.bottom="100%",n.right="100%",n.transform="translate(50%, 50%) scale3d(0, 0, 0)";break;case"fromTopRight":n.bottom="100%",n.left="100%",n.transform="translate(-50%, 50%) scale3d(0, 0, 0)";break;case"fromCenter":n.top="50%",n.left="50%",n.transform="translate(-50%, -50%) scale3d(0, 0, 0)";break}},l=()=>{switch(e.direction){case"fromBottomLeft":n.top="100%",n.right="100%",n.transform=`translate(50%, -50%) scale3d(${r}, ${r}, ${r})`;break;case"fromBottomRight":n.top="100%",n.left="100%",n.transform=`translate(-50%, -50%) scale3d(${r}, ${r}, ${r})`;break;case"fromTopLeft":n.bottom="100%",n.right="100%",n.transform=`translate(50%, 50%) scale3d(${r}, ${r}, ${r})`;break;case"fromTopRight":n.bottom="100%",n.left="100%",n.transform=`translate(-50%, 50%) scale3d(${r}, ${r}, ${r})`;break;case"fromCenter":n.top="50%",n.left="50%",n.transform=`translate(-50%, -50%) scale3d(${r}, ${r}, ${r})`;break}};return t({}),(c,u)=>(I(),dt(ht,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:i,onEnd:l,onReady:a,onUpdate:a,style:{overflow:"hidden"}},{default:W(()=>[v("div",{class:"slide-corner-before",style:N({backgroundColor:e.color,borderRadius:"50%",transition:`transform ${e.timeGap*Tt(s)}ms ease-in-out`,transformOrigin:"center",...n})},null,4),v("div",T5,[mt(c.$slots,"default",{},void 0,!0)])]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.slide-corner-before[data-v-8aebd26b]{position:absolute;z-index:0}.slide-corner[data-v-8aebd26b]{position:relative;z-index:1;cursor:pointer}
256
+ `]],["__scopeId","data-v-8aebd26b"]]),E5={class:"line-single"},Rm=st(Y({customOptions:{Container:ht},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 n=1;const s=l=>{n=Math.ceil(Math.max(l.rect.width,l.rect.height)/Math.min(l.rect.width,l.rect.height))},r=Wt({});switch(e.location){case"underline":r.bottom="0";break;case"overline":r.top="0";break;case"through":r.top="50%";break}const a=()=>{switch(e.direction){case"right":r.transformOrigin="bottom right",r.transform="scaleX(0)";break;case"left":r.transformOrigin="bottom left",r.transform="scaleX(0)";break;case"fromCenter":r.transformOrigin="center",r.transform="scaleX(0)";break}},i=()=>{switch(e.direction){case"right":r.transformOrigin="bottom left",r.transform="scaleX(1)";break;case"left":r.transformOrigin="bottom right",r.transform="scaleX(1)";break;case"fromCenter":r.transformOrigin="center",r.transform="scaleX(1)";break}};return t({}),(l,c)=>(I(),dt(ht,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:a,onEnd:i,onReady:s,onUpdate:s},{default:W(()=>[v("div",{class:"line-single-before",style:N({left:0,width:"100%",height:e.lineHeight+"px",backgroundColor:e.color,transition:`transform ${e.timeGap*Tt(n)}ms ease-in-out`,...r})},null,4),v("div",E5,[mt(l.$slots,"default",{},void 0,!0)])]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.line-single-before[data-v-863466f1]{position:absolute;z-index:0}.line-single[data-v-863466f1]{position:relative;z-index:1;cursor:pointer}
257
+ `]],["__scopeId","data-v-863466f1"]]),S5={class:"line-double"},Im=st(Y({customOptions:{Container:ht},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 n=1;const s=u=>{n=Math.ceil(Math.max(u.rect.width,u.rect.height)/Math.min(u.rect.width,u.rect.height))},r=Wt({}),a=Wt({}),i=Wt({});switch(e.location){case"horizontal":r.width="100%",r.height=e.lineHeight+"px",a.top="0",i.bottom="0";break;case"vertical":r.width=e.lineHeight+"px",r.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",r.transformOrigin="center right",r.transform="scaleX(0)";break;case"vertical":a.bottom="0",i.bottom="0",r.transformOrigin="center bottom",r.transform="scaleY(0)";break}break;case"toStart":switch(e.location){case"horizontal":a.left="0",i.left="0",r.transformOrigin="center left",r.transform="scaleX(0)";break;case"vertical":a.top="0",i.top="0",r.transformOrigin="center top",r.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",r.transform="scaleX(0)";break;case"vertical":a.bottom="0",a.transformOrigin="center bottom",i.top="0",i.transformOrigin="center top",r.transform="scaleY(0)";break}break;case"fromCenter":switch(e.location){case"horizontal":a.left="50%",i.left="50%",r.transformOrigin="center",r.transform="translateX(-50%) scaleX(0)";break;case"vertical":a.top="50%",i.top="50%",r.transformOrigin="center",r.transform="translateY(-50%) scaleY(0)";break}break}},c=()=>{switch(e.direction){case"toEnd":switch(e.location){case"horizontal":a.left="0",i.left="0",r.transformOrigin="center left",r.transform="scaleX(1)";break;case"vertical":a.top="0",i.top="0",r.transformOrigin="center top",r.transform="scaleY(1)";break}break;case"toStart":switch(e.location){case"horizontal":a.right="0",i.right="0",r.transformOrigin="center right",r.transform="scaleX(1)";break;case"vertical":a.bottom="0",i.bottom="0",r.transformOrigin="center bottom",r.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",r.transform="scaleX(1)";break;case"vertical":a.top="0",a.transformOrigin="center top",i.bottom="0",i.transformOrigin="center bottom",r.transform="scaleY(1)";break}break;case"fromCenter":switch(e.location){case"horizontal":a.left="50%",i.left="50%",r.transformOrigin="center",r.transform="translateX(-50%) scaleX(1)";break;case"vertical":a.top="50%",i.top="50%",r.transformOrigin="center",r.transform="translateY(-50%) scaleY(1)";break}break}};return t({}),(u,f)=>(I(),dt(ht,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:l,onEnd:c,onReady:s,onUpdate:s},{default:W(()=>[v("div",{class:"line-double-before",style:N({backgroundColor:e.color,transition:`transform ${e.timeGap*Tt(n)}ms ease-in-out`,...r,...a})},null,4),v("div",S5,[mt(u.$slots,"default",{},void 0,!0)]),v("div",{class:"line-double-after",style:N({backgroundColor:e.color,transition:`transform ${e.timeGap*Tt(n)}ms ease-in-out`,...r,...i})},null,4)]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.line-double-before[data-v-caa56f4a],.line-double-after[data-v-caa56f4a]{position:absolute;z-index:0}.line-double[data-v-caa56f4a]{position:relative;z-index:1;cursor:pointer}
258
+ `]],["__scopeId","data-v-caa56f4a"]]),O5={class:"circle"},Am=st(Y({customOptions:{Container:ht},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,n=P(),s=Wt({transition:`box-shadow ${e.dur}ms`,borderRadius:"100%"}),r=l=>{s.width=s.height=Math.ceil(Math.max(l.rect.width,l.rect.height))+"px",n.value?.repeatEffect?.()},a=()=>{const l=Mt.set(e.color).setAlpha(.2).toString();s.boxShadow=`
259
+ inset ${s.width} 0 0 ${l},
260
+ inset 0 ${s.width} 0 ${l},
261
+ inset -${s.width} 0 0 ${l},
262
+ inset 0 -${s.width} 0 ${l}
263
+ `},i=()=>{s.boxShadow=`
265
264
  inset 0.5em 0 0 rgba(255, 0, 0, 0.5),
266
265
  inset 0 0.5em 0 rgba(252, 150, 0, 0.5),
267
266
  inset -0.5em 0 0 rgba(0, 255, 0, 0.5),
268
267
  inset 0 -0.5em 0 rgba(0, 150, 255, 0.5)
269
- `};return t({}),(i,c)=>(A(),ht(mt,{ref_key:"containerRef",ref:n,type:o.containerType,supportCopyText:o.supportCopyText,effectTriggerTiming:o.effectTriggerTiming,onStart:a,onEnd:l,onResize:s},{default:st(()=>[k("div",{class:"circle-before",style:N(r)},null,4),k("div",Vk,[dt(i.$slots,"default",{},void 0,!0)])]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.circle-before[data-v-1c3f9baa]{position:absolute;z-index:2}.circle[data-v-1c3f9baa]{position:relative;z-index:1;cursor:pointer}
270
- `]],["__scopeId","data-v-1c3f9baa"]]),Xk=Y({customOptions:{Container:mt},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(e,{expose:t}){const o=e;return t({}),(n,r)=>(A(),ht(mt,null,{default:st(()=>[k("div",{style:N({backgroundImage:`url(${o.bgImageUrl})`,"background-clip":"text",color:"transparent"})},ut(o.text),5)]),_:1}))}}),Vh=nt(Y({customOptions:{Container:mt},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(e,{expose:t}){const o=e,n=R(!0),r=()=>{n.value=!0},s=()=>{n.value=!1};return t({}),(a,l)=>(A(),ht(mt,{type:o.containerType,overflow:"visible",supportCopyText:o.supportCopyText,effectTriggerTiming:o.effectTriggerTiming,onStart:r,onEnd:s},{default:st(()=>[n.value?(A(),F("div",{key:0,class:"text",style:N({fontSize:`${a.textSize}px`,top:`${-Math.ceil(a.textSize/2)-4}px`,padding:"4px 12px",backgroundColor:a.borderColor,borderRadius:`${a.textSize}px 0 ${a.textSize}px 0`,color:vt(_e)(a.borderColor).opposite(!0,"#333333","#ffffff").toString()})},ut(o.text),5)):yt("",!0),k("div",{class:"inner",style:N(n.value?{border:`${a.borderWidth}px solid ${a.borderColor}`,borderRadius:`${a.borderRadius}px`}:{})},[dt(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}
271
- `]],["__scopeId","data-v-45681ed0"]]),Zk=Y({customOptions:{},inheritAttrs:!0,__name:"LayoutCenter.ce",props:{type:{default:"grid"}},setup(e,{expose:t,emit:o}){const n=e,r=jt({}),s=jt({});function a(){switch(Ef(r),Ef(s),n.type){case"table":r.display="table",s.display="table-cell",s.verticalAlign="middle",s.textAlign="center";break;case"transform":s.position="absolute",s.top="50%",s.left="50%",s.transform="translate(-50%, -50%)";break;case"grid":r.display="grid",r.justifyContent="center",r.alignItems="center";break;case"flex":default:r.display="flex",s.margin="auto"}}return a(),se(()=>{}),t({}),(l,i)=>(A(),F("div",{class:"layout-center",style:N([{position:"relative",display:"block",width:"100%",height:"100%",overflow:"hidden"},r])},[k("div",{style:N(s)},[dt(l.$slots,"default")],4)],4))}}),Gk={class:"page"},Uk={class:"page-header"},jk={class:"page-main"},Hk={class:"page-main-scroll"},Wk={class:"page-footer"},qk={class:"page-global"},Vr=nt(Y({customOptions:{},inheritAttrs:!0,__name:"LayoutPage.ce",setup(e,{expose:t}){return t({}),(o,n)=>(A(),F("div",Gk,[k("div",Uk,[dt(o.$slots,"header",{},void 0,!0)]),k("div",jk,[k("div",Hk,[dt(o.$slots,"default",{},void 0,!0)])]),k("div",Wk,[dt(o.$slots,"footer",{},void 0,!0)]),k("div",qk,[dt(o.$slots,"global",{},void 0,!0)])]))}}),[["styles",[`.page[data-v-02c1f8bd]{position:relative;width:100%;height:100%;overflow:hidden;display:flex;flex-direction:column}.page-header[data-v-02c1f8bd],.page-footer[data-v-02c1f8bd]{position:relative;z-index:1;flex:0 0 auto}.page-main[data-v-02c1f8bd]{position:relative;z-index:2;flex:1 1 auto;width:100%;overflow:hidden;display:flex;flex-direction:column}.page-main-scroll[data-v-02c1f8bd]{position:relative;z-index:3;flex:1 1 auto;width:100%;overflow-y:scroll}
272
- `]],["__scopeId","data-v-02c1f8bd"]]),Zl=nt(Y({customOptions:{},inheritAttrs:!0,__name:"LayoutMobile.ce",props:{designWidth:{default:750}},setup(e,{expose:t}){const o=e;return gd(o.designWidth),t({}),(n,r)=>(A(),F("div",{class:"layout-mobile",style:N({position:"relative",overflow:"hidden",maxWidth:o.designWidth+"px",height:"100%",margin:"0 auto"})},[J(vt(Il),null,{default:st(({Component:s})=>[s?(A(),ht(Ju,{key:0,name:vt(ba)},{default:st(()=>[(A(),ht(nu,null,[(A(),ht(iu(s)))],1024))]),_:2},1032,["name"])):yt("",!0)]),_:1})],4))}}),[["styles",[`@media only screen and (max-width: 300px){html[data-v-f2010453]{font-size:40px}}@media only screen and (min-width: 301px) and (max-width: 330px){html[data-v-f2010453]{font-size:44px}}@media only screen and (min-width: 331px) and (max-width: 375px){html[data-v-f2010453]{font-size:50px}}@media only screen and (min-width: 376px) and (max-width: 405px){html[data-v-f2010453]{font-size:54px}}@media only screen and (min-width: 406px) and (max-width: 450px){html[data-v-f2010453]{font-size:60px}}@media only screen and (min-width: 451px) and (max-width: 480px){html[data-v-f2010453]{font-size:64px}}@media only screen and (min-width: 481px) and (max-width: 525px){html[data-v-f2010453]{font-size:70px}}@media only screen and (min-width: 526px) and (max-width: 555px){html[data-v-f2010453]{font-size:74px}}@media only screen and (min-width: 556px) and (max-width: 600px){html[data-v-f2010453]{font-size:80px}}@media only screen and (min-width: 601px) and (max-width: 640px){html[data-v-f2010453]{font-size:84px}}@media only screen and (min-width: 641px) and (max-width: 675px){html[data-v-f2010453]{font-size:90px}}@media only screen and (min-width: 676px) and (max-width: 705px){html[data-v-f2010453]{font-size:94px}}@media only screen and (min-width: 706px) and (max-width: 750px){html[data-v-f2010453]{font-size:100px}}@media only screen and (min-width: 751px){html[data-v-f2010453]{font-size:100px}}.next-enter-active[data-v-f2010453],.next-leave-active[data-v-f2010453],.prev-enter-active[data-v-f2010453],.prev-leave-active[data-v-f2010453]{transition:all .3s ease}.next-leave-from[data-v-f2010453]{position:absolute;left:0}.next-leave-to[data-v-f2010453]{position:absolute;left:-100%}.next-enter-from[data-v-f2010453]{position:absolute;right:-100%}.next-enter-to[data-v-f2010453],.prev-leave-from[data-v-f2010453]{position:absolute;right:0}.prev-leave-to[data-v-f2010453]{position:absolute;right:-100%}.prev-enter-from[data-v-f2010453]{position:absolute;left:-100%}.prev-enter-to[data-v-f2010453]{position:absolute;left:0}
273
- `]],["__scopeId","data-v-f2010453"]]),Kk=Y({customOptions:{},inheritAttrs:!0,__name:"LayoutMobile",props:{designWidth:{default:750}},setup(e,{expose:t}){const o=e;return gd(o.designWidth),t({}),(n,r)=>(A(),F("div",{class:"layout-mobile",style:N({position:"relative",overflow:"hidden",maxWidth:o.designWidth+"px",height:"100%",margin:"0 auto"})},[J(vt(Il),null,{default:st(({Component:s})=>[s?(A(),ht(Ju,{key:0,name:vt(ba)},{default:st(()=>[(A(),ht(nu,null,[(A(),ht(iu(s)))],1024))]),_:2},1032,["name"])):yt("",!0)]),_:1})],4))}}),J5="",Xh=nt(Kk,[["__scopeId","data-v-101c75bb"]]),Zh=nt(Y({customOptions:{LayoutMobile:Xh,Lot:Dp,Park:Fp},inheritAttrs:!0,__name:"XG.ce",setup(e){return(t,o)=>(A(),ht(Xh,{class:"xg"}))}}),[["styles",[`:root,:host{--yz-xg-blue: #5a82f0;--yz-xg-green: #328a8c;--yz-xg-red: #fa503c;--yz-xg-yellow: #fa8d01;--yz-xg-border-color: #e6e6e6;--yz-xg-primary: var(--yz-xg-blue)}.blue{color:var(--yz-xg-blue)!important}.green{color:var(--yz-xg-green)!important}.red{color:var(--yz-xg-red)!important}.yellow{color:var(--yz-xg-yellow)!important}.bold{font-weight:700}
268
+ `};return t({}),(l,c)=>(I(),dt(ht,{ref_key:"containerRef",ref:n,type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:a,onEnd:i,onReady:r,onUpdate:r},{default:W(()=>[v("div",{class:"circle-before",style:N(s)},null,4),v("div",O5,[mt(l.$slots,"default",{},void 0,!0)])]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.circle-before[data-v-086cfe64]{position:absolute;z-index:2}.circle[data-v-086cfe64]{position:relative;z-index:1;cursor:pointer}
269
+ `]],["__scopeId","data-v-086cfe64"]]),P5=Y({customOptions:{Container:ht},inheritAttrs:!0,__name:"TextBackgroundClip.ce",props:{text:{default:"文字背景为图片"},bgImageUrl:{default:"https://s3-us-west-2.amazonaws.com/s.cdpn.io/181794/kl-deer.png"}},setup(o,{expose:t}){const e=o;return t({}),(n,s)=>(I(),dt(ht,null,{default:W(()=>[v("div",{style:N({backgroundImage:`url(${e.bgImageUrl})`,"background-clip":"text",color:"transparent"})},ft(e.text),5)]),_:1}))}}),$m=st(Y({customOptions:{Container:ht},inheritAttrs:!0,__name:"BorderFocusText.ce",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!1},effectTriggerTiming:{default:"manual"},text:{default:""},textSize:{default:12},borderColor:{default:"#5a82f0"},borderWidth:{default:2},borderRadius:{default:8}},setup(o,{expose:t}){const e=o,n=P(!0),s=()=>{n.value=!0},r=()=>{n.value=!1};return t({}),(a,i)=>(I(),dt(ht,{type:e.containerType,overflow:"visible",supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:s,onEnd:r},{default:W(()=>[n.value?(I(),D("div",{key:0,class:"text",style:N({fontSize:`${a.textSize}px`,top:`${-Math.ceil(a.textSize/2)-4}px`,padding:"4px 12px",backgroundColor:a.borderColor,borderRadius:`${a.textSize}px 0 ${a.textSize}px 0`,color:Tt(Mt).set(a.borderColor).opposite(!0,"#333333","#ffffff").toString()})},ft(e.text),5)):yt("",!0),v("div",{class:"inner",style:N(n.value?{border:`${a.borderWidth}px solid ${a.borderColor}`,borderRadius:`${a.borderRadius}px`}:{})},[mt(a.$slots,"default",{},void 0,!0)],4)]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.text[data-v-8b11a683]{position:absolute;top:0;left:0;z-index:1}.inner[data-v-8b11a683]{position:relative;overflow:hidden;box-sizing:border-box}
270
+ `]],["__scopeId","data-v-8b11a683"]]),R5=Y({customOptions:{},inheritAttrs:!0,__name:"LayoutCenter.ce",props:{type:{default:"grid"}},setup(o,{expose:t,emit:e}){const n=o,s=Wt({}),r=Wt({});function a(){switch(sd(s),sd(r),n.type){case"table":s.display="table",r.display="table-cell",r.verticalAlign="middle",r.textAlign="center";break;case"transform":r.position="absolute",r.top="50%",r.left="50%",r.transform="translate(-50%, -50%)";break;case"grid":s.display="grid",s.justifyContent="center",s.alignItems="center";break;case"flex":default:s.display="flex",r.margin="auto"}}return a(),ue(()=>{}),t({}),(i,l)=>(I(),D("div",{class:"layout-center",style:N([{position:"relative",display:"block",width:"100%",height:"100%",overflow:"hidden"},s])},[v("div",{style:N(r)},[mt(i.$slots,"default")],4)],4))}}),I5={class:"page"},A5={class:"page-header"},$5={class:"page-main"},N5={class:"page-main-scroll"},F5={class:"page-footer"},z5={class:"page-global"},er=st(Y({customOptions:{},inheritAttrs:!0,__name:"LayoutPage.ce",setup(o,{expose:t}){return t({}),(e,n)=>(I(),D("div",I5,[v("div",A5,[mt(e.$slots,"header",{},void 0,!0)]),v("div",$5,[v("div",N5,[mt(e.$slots,"default",{},void 0,!0)])]),v("div",F5,[mt(e.$slots,"footer",{},void 0,!0)]),v("div",z5,[mt(e.$slots,"global",{},void 0,!0)])]))}}),[["styles",[`.page[data-v-02c1f8bd]{position:relative;width:100%;height:100%;overflow:hidden;display:flex;flex-direction:column}.page-header[data-v-02c1f8bd],.page-footer[data-v-02c1f8bd]{position:relative;z-index:1;flex:0 0 auto}.page-main[data-v-02c1f8bd]{position:relative;z-index:2;flex:1 1 auto;width:100%;overflow:hidden;display:flex;flex-direction:column}.page-main-scroll[data-v-02c1f8bd]{position:relative;z-index:3;flex:1 1 auto;width:100%;overflow-y:scroll}
271
+ `]],["__scopeId","data-v-02c1f8bd"]]),wc=st(Y({customOptions:{},inheritAttrs:!0,__name:"LayoutMobile.ce",props:{designWidth:{default:750}},setup(o,{expose:t}){const e=o;return ih(e.designWidth),t({}),(n,s)=>(I(),D("div",{class:"layout-mobile",style:N({position:"relative",overflow:"hidden",maxWidth:e.designWidth+"px",height:"100%",margin:"0 auto"})},[Z(Tt(ql),null,{default:W(({Component:r})=>[r?(I(),dt(Af,{key:0,name:Tt(Da)},{default:W(()=>[(I(),dt(zu,null,[(I(),dt(Bu(r)))],1024))]),_:2},1032,["name"])):yt("",!0)]),_:1})],4))}}),[["styles",[`@media only screen and (max-width: 300px){html[data-v-f2010453]{font-size:40px}}@media only screen and (min-width: 301px) and (max-width: 330px){html[data-v-f2010453]{font-size:44px}}@media only screen and (min-width: 331px) and (max-width: 375px){html[data-v-f2010453]{font-size:50px}}@media only screen and (min-width: 376px) and (max-width: 405px){html[data-v-f2010453]{font-size:54px}}@media only screen and (min-width: 406px) and (max-width: 450px){html[data-v-f2010453]{font-size:60px}}@media only screen and (min-width: 451px) and (max-width: 480px){html[data-v-f2010453]{font-size:64px}}@media only screen and (min-width: 481px) and (max-width: 525px){html[data-v-f2010453]{font-size:70px}}@media only screen and (min-width: 526px) and (max-width: 555px){html[data-v-f2010453]{font-size:74px}}@media only screen and (min-width: 556px) and (max-width: 600px){html[data-v-f2010453]{font-size:80px}}@media only screen and (min-width: 601px) and (max-width: 640px){html[data-v-f2010453]{font-size:84px}}@media only screen and (min-width: 641px) and (max-width: 675px){html[data-v-f2010453]{font-size:90px}}@media only screen and (min-width: 676px) and (max-width: 705px){html[data-v-f2010453]{font-size:94px}}@media only screen and (min-width: 706px) and (max-width: 750px){html[data-v-f2010453]{font-size:100px}}@media only screen and (min-width: 751px){html[data-v-f2010453]{font-size:100px}}.next-enter-active[data-v-f2010453],.next-leave-active[data-v-f2010453],.prev-enter-active[data-v-f2010453],.prev-leave-active[data-v-f2010453]{transition:all .3s ease}.next-leave-from[data-v-f2010453]{position:absolute;left:0}.next-leave-to[data-v-f2010453]{position:absolute;left:-100%}.next-enter-from[data-v-f2010453]{position:absolute;right:-100%}.next-enter-to[data-v-f2010453],.prev-leave-from[data-v-f2010453]{position:absolute;right:0}.prev-leave-to[data-v-f2010453]{position:absolute;right:-100%}.prev-enter-from[data-v-f2010453]{position:absolute;left:-100%}.prev-enter-to[data-v-f2010453]{position:absolute;left:0}
272
+ `]],["__scopeId","data-v-f2010453"]]),D5=Y({customOptions:{},inheritAttrs:!0,__name:"LayoutMobile",props:{designWidth:{default:750}},setup(o,{expose:t}){const e=o;return ih(e.designWidth),t({}),(n,s)=>(I(),D("div",{class:"layout-mobile",style:N({position:"relative",overflow:"hidden",maxWidth:e.designWidth+"px",height:"100%",margin:"0 auto"})},[Z(Tt(ql),null,{default:W(({Component:r})=>[r?(I(),dt(Af,{key:0,name:Tt(Da)},{default:W(()=>[(I(),dt(zu,null,[(I(),dt(Bu(r)))],1024))]),_:2},1032,["name"])):yt("",!0)]),_:1})],4))}}),VT="",Nm=st(D5,[["__scopeId","data-v-101c75bb"]]),Fm=st(Y({customOptions:{LayoutMobile:Nm,Lot:yp,Park:vp},inheritAttrs:!0,__name:"XG.ce",setup(o){return(t,e)=>(I(),dt(Nm,{class:"xg"}))}}),[["styles",[`:root,:host{--yz-xg-blue: #5a82f0;--yz-xg-green: #328a8c;--yz-xg-red: #fa503c;--yz-xg-yellow: #fa8d01;--yz-xg-border-color: #e6e6e6;--yz-xg-primary: var(--yz-xg-blue)}.blue{color:var(--yz-xg-blue)!important}.green{color:var(--yz-xg-green)!important}.red{color:var(--yz-xg-red)!important}.yellow{color:var(--yz-xg-yellow)!important}.bold{font-weight:700}
274
273
  `,`.xg[data-v-ebd444cc]{background-color:#f5f5f5}
275
- `]],["__scopeId","data-v-ebd444cc"]]),Qk={class:"xg-footer-inner"},Gl=nt(Y({customOptions:{Button:ne},inheritAttrs:!0,__name:"Footer.ce",setup(e){const t=da();function o(){t.push("/park")}const n=R("0px");let r;return fe(()=>{r=rl.onBottom(s=>{n.value=s})}),se(()=>{r?.()}),(s,a)=>(A(),F("div",{class:"xg-footer",style:N({paddingBottom:n.value})},[k("div",Qk,[J(ne,{label:"去支付",width:"100%",onClick:o})])],4))}}),[["styles",[`.xg-footer[data-v-48051ce1]{box-sizing:border-box;background-color:#fff;border-top:1px solid #cccccc}.xg-footer-inner[data-v-48051ce1]{box-sizing:border-box;width:100%;padding:.2rem .3rem}
276
- `]],["__scopeId","data-v-48051ce1"]]),Jk={class:"lot-main"},t3={class:"lot-detail"},e3={class:"bold"},Ul=nt(Y({customOptions:{LayoutPage:Je,Footer:pa,PlateDisplay:ha,ViewDocument:$l,PopTel:va,ImageView:ya},inheritAttrs:!0,__name:"Lot.ce",setup(e){const t=da();function o(){t.push({name:"view-document",params:{title:"收费标准",src:encodeURIComponent("https://erichd2.oss-cn-shanghai.aliyuncs.com/0000/0002/2159")}})}const n=R();function r(){n.value?.open()}const s=R();function a(){s.value?.open()}return(l,i)=>(A(),ht(Je,{class:"lot"},{footer:st(()=>[J(pa)]),global:st(()=>[J(va,{tel:"15851575410",ref_key:"popTelEl",ref:n},null,512),J(ya,{urls:["https://erichd2.oss-cn-shanghai.aliyuncs.com/0000/0002/2159","https://erichd2.oss-cn-shanghai.aliyuncs.com/0000/0002/2159"],ref_key:"imageViewEl",ref:s},null,512)]),default:st(()=>[i[15]||(i[15]=k("div",{class:"lot-main-bg"},null,-1)),k("div",Jk,[i[12]||(i[12]=k("div",null,"若临测试泊位机器人停车场",-1)),i[13]||(i[13]=k("div",null,[k("div"),k("div",null,"编号"),k("div")],-1)),i[14]||(i[14]=k("div",null,[k("span",null,"103"),k("span",null,"002")],-1)),k("div",null,[i[0]||(i[0]=k("div",null,"停车场主页",-1)),i[1]||(i[1]=k("div",null,"更换附近车位",-1)),k("div",{onClick:o},"收费标准")]),k("div",t3,[i[4]||(i[4]=k("div",null,[k("div",null,"待支付"),k("div",{class:"red"},"¥0.01")],-1)),i[5]||(i[5]=k("div",null,[k("div",null,"已支付"),k("div",null,"¥0.01")],-1)),i[6]||(i[6]=k("div",null,[k("div",null,"订单编号"),k("div",null,"33333333333")],-1)),i[7]||(i[7]=k("div",null,[k("div",null,"开始时间"),k("div",null,"2025-04-08 09:41:25")],-1)),i[8]||(i[8]=k("div",null,[k("div",null,"停车时长"),k("div",null,"51小时53分钟15秒")],-1)),i[9]||(i[9]=k("div",null,[k("div",null,"优惠券"),k("div",{class:"red"},"1分钟")],-1)),i[10]||(i[10]=k("div",null,[k("div",null,"优惠信息"),k("div",{class:"red"},"xxxx")],-1)),i[11]||(i[11]=k("div",{class:"lot-detail-gap"},null,-1)),k("div",null,[i[2]||(i[2]=k("div",null,"车牌号",-1)),k("div",e3,[J(ha,{plate:"苏U77777","plate-type":"b"})])]),k("div",null,[i[3]||(i[3]=k("div",null,"现场照片",-1)),k("div",{onClick:a},"查看")])]),k("div",{class:"lot-actions"},[k("div",{onClick:r},"联系客服")])])]),_:1}))}}),[["styles",[`.lot-main-bg[data-v-06c9e609]{position:absolute;top:0;left:0;z-index:1;width:100%;height:5.2rem;border-bottom-left-radius:2rem .5rem;border-bottom-right-radius:2rem .5rem;background:linear-gradient(180deg,#5a82f0 0%,#66b3ff 100%)}.lot-main[data-v-06c9e609]{position:relative;z-index:2;width:100%;overflow:hidden;box-sizing:border-box;line-height:1;color:#fff;padding:0 .3rem;margin-bottom:.3rem;text-align:center}.lot-main>div[data-v-06c9e609]:nth-child(1){font-size:.32rem;padding-top:.4rem;word-break:break-all;font-weight:700}.lot-main>div:nth-child(2)>div[data-v-06c9e609]:nth-child(1){width:2.4rem;height:.04rem;background:linear-gradient(90deg,rgba(255,255,255,0) 0%,#ffffff 100%)}.lot-main>div:nth-child(2)>div[data-v-06c9e609]:nth-child(3){width:2.4rem;height:.04rem;background:linear-gradient(90deg,#ffffff 0%,rgba(255,255,255,0) 100%)}.lot-main>div:nth-child(2)>div[data-v-06c9e609]:nth-child(2){width:1rem;font-size:.28rem;line-height:.32rem}.lot-main>div[data-v-06c9e609]:nth-child(2){display:flex;align-items:center;margin:.28rem auto 0;width:4.8rem;position:relative}.lot-main>div[data-v-06c9e609]:nth-child(3){font-family:D-DINExp-Bold-number;margin-top:.12rem;font-size:.8rem;letter-spacing:.06rem}.lot-main>div:nth-child(3)>span+span[data-v-06c9e609]{margin-left:.3rem}.lot-main>div[data-v-06c9e609]:nth-child(4){display:flex;justify-content:space-between;font-size:.28rem;line-height:.28rem;margin:.3rem 0}.lot-main>div:nth-child(4)>div[data-v-06c9e609]{flex:1 1 auto;text-align:center}.lot-main>div:nth-child(4)>div+div[data-v-06c9e609]{border-left:1px solid rgba(255,255,255,.4)}.lot-detail[data-v-06c9e609]{position:relative;background:#ffffff;box-shadow:0 .04rem .1rem #0000001a;border-radius:.08rem;padding:0 .3rem .1rem;font-size:.28rem;color:#666}.lot-detail>div[data-v-06c9e609]{line-height:.4rem;margin:.2rem auto;display:flex;justify-content:space-between}.lot-detail>div[data-v-06c9e609]:nth-child(1){border-bottom:1px solid var(--yz-xg-border-color);line-height:.88rem;margin:0 0 .2rem;font-weight:700}.lot-detail>div:nth-child(1)>div[data-v-06c9e609]:nth-child(2){font-size:.4rem}.lot-detail>div>div[data-v-06c9e609]:nth-child(1){flex:0 0 auto;padding-right:.2rem}.lot-detail>div>div[data-v-06c9e609]:nth-child(2){color:#333}.lot-detail-gap[data-v-06c9e609]{border-top:1px solid var(--yz-xg-border-color)}.lot-actions[data-v-06c9e609]{margin:.2rem 0;background:#ffffff;box-shadow:0 .04rem .1rem #0000001a;border-radius:.08rem;display:flex;align-items:center;font-size:.28rem}.lot-actions>div[data-v-06c9e609]{flex:1;line-height:.88rem;position:relative;cursor:pointer;color:var(--yz-xg-primary);text-align:center;font-weight:700}
277
- `]],["__scopeId","data-v-06c9e609"]]),jl=nt(Y({customOptions:{LayoutPage:Je},inheritAttrs:!0,__name:"Park.ce",setup(e){return(t,o)=>(A(),ht(Je,{class:"park"},{default:st(()=>o[0]||(o[0]=[Vt("Park")])),_:1}))}}),[["styles",[`.park[data-v-287bba59]{background-color:pink}
278
- `]],["__scopeId","data-v-287bba59"]]);class o3 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 o=()=>{(t.media===this.video.currentSrc||!this.previousSiblingIsPlaying(t,this.video.currentSrc)&&!this.reloadQueued)&&this.reloadVideo()};this.listenedMedia.push({media:t.media,handler:o}),window.matchMedia(t.media).addEventListener("change",o)}})}unbindMediaListeners(){this.listenedMedia.forEach(t=>{window.matchMedia(t.media).removeEventListener("change",t.handler)})}previousSiblingIsPlaying(t,o){const n=t;for(;t.previousElementSibling;)if(n.src===o)return!0;return!1}reloadVideo(){this.reloadQueued=!0;const t=this.video.currentTime,o=this.video.playState;this.video.load();const n=()=>{this.video.playState=o,this.video.currentTime=t.toString(),this.reloadQueued=!1,this.video.removeEventListener("loadeddata",n)};this.video.addEventListener("loadeddata",n)}}const n3=o3,r3=`.bg-grid[data-v-b0888d9a]{width:100%;height:100%;background:url(data:image/gif;base64,R0lGODlhLAEsAfcAAAAAADMzM2ZmZpmZmczMzODg4P///5lmZmYzM8yZmZkzM8xmZswzMzMAAGYAAJkAAMwAAAAAAP8zM/9mZv+Zmf/MzP8zAMwzAP9mM8xmM5kzAP+ZZv9mAJlmM8yZZmYzAMxmAP+ZM//Mmf+ZAMyZM5lmAP/MZsyZAP/MM//MAJmZZmZmM8zMmZmZM8zMZszMMzMzAGZmAJmZAMzMAP//AP//M///Zv//mf//zMz/AJnMAMz/M5nMM2aZAMz/Zpn/AGaZM5nMZjNmAGbMAJn/M8z/mWb/AGbMMzOZAJn/ZjPMAGb/MzP/AGaZZjNmM5nMmTOZM2bMZjPMMwAzAABmAACZAADMAAD/ADP/M2b/Zpn/mcz/zAD/MwDMMzP/ZjPMZgCZM2b/mQD/ZjOZZmbMmQBmMwDMZjP/mZn/zAD/mTPMmQCZZmb/zADMmTP/zAD/zGaZmTNmZpnMzDOZmWbMzDPMzAAzMwBmZgCZmQDMzAD//zP//2b//5n//8z//wDM/wCZzDPM/zOZzABmmWbM/wCZ/zNmmWaZzAAzZgBmzDOZ/5nM/wBm/zNmzAAzmWaZ/wAzzDNm/wAz/2ZmmTMzZpmZzDMzmWZmzDMzzAAAMwAAZgAAmQAAzAAA/zMz/2Zm/5mZ/8zM/zMA/zMAzGYz/2YzzDMAmZlm/2YA/2YzmZlmzDMAZmYAzJkz/8yZ/5kA/5kzzGYAmcxm/5kAzMwz/8wA/5lmmWYzZsyZzJkzmcxmzMwzzDMAM2YAZpkAmcwAzP8A//8z//9m//+Z///M//8AzMwAmf8zzMwzmZkAZv9mzP8AmZkzZsxmmWYAM8wAZv8zmf+ZzP8AZswzZpkAM/9mmcwAM/8zZv8AMwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAAYALAAAAAAsASwBAAj/AAsIHEiwoMGDCBMqXMiwocOHECNKnEixosWLGAsY2MiRo8aOHT+C3ChyZEmQJ0OO9LiSZEsDKVm2jOly5kuaMG/qtMlzJc6fO30GNTkUZVGVPYkmNboUqdCmMp9KVTqVaVWnVLNa1Yp1q9euYKNyFfuVbNiaV82qRTuWbVm3Z3NChbtWblq6eO221fuWb1ygc/3WBXxXcF7CexH3Vfz36GDHhyEbnsz4ceDKkS9Lxkx5s2fNoAtzHv1ZdOnEpxenbhwadWvVr1mbjm15tm3Xt2Hnlo27t27fvH8LD068NnDjw5EXz7xbuXPmx6Enl768M23qz603x85de3Tv08H//81Ivrz58+jTq1/PvuDq7KSvi4f/vnv87fPt18/P//53/+EBWJ2A9MlHoH4G7ndgfwo2mOCD+C0ooYMRUvifhQFiOKCGBVYI4YUfZhjihiN2CKKHKJ6ooogpsrgiiS3C+KKJLtYoo4003qhjjjwiGGOPDJbo44xD4ljkjkcCOaGQ/bXn5JNQRinllOxxmOSVQf6I5ZJaZkmkl0aCiaSYSlpJ5pZmcvmlmmGyOaabZTIJJ5pypmlnnXh2OeeZfO7p5516ArqmoG0S+qahcQaa56CLFtrooY8myqiilE5qqaOVYnoppJlyahKVoIYq6qikroconZ1KqumqnrKqaquwvv8qK6qbztrnqbdGSquru8baq61/6pprqr8WO2ytxgZL7LG8Muurs8Diqiyy0CYr7bXCTtusts9yG2222C7rrbXgXlbqueimqy664VI7brXwvitvu9vS262934qLL7n6ltvvv+7uG6/A8/obsMH1InyvwvkeDHDCDy8cccMQO2xxxRhLfLHGGVPM8cceh0zSuiSXbPLJGRGsMsP8bizywCzDPHHLHdMMss0vFzyzzC7j7DPPNQN9s9A5r7yzzj0T/TPSQTM9tNNFxwz10kYnPbXSWF+ttYIod+3112BX3bTYT5Md9dFmUy112lmzvfXacKMdt9Vu1z332HeXnffZdO//rbbcgPcdON6D610434QLrnjijA8I9uOQRz6q3Yf/vbjhlyOOeeOad245559vLrrnbftdeuWnZx466W+j3rrqqYMe++ir1z4765TD/rrsu9Mer+TABy88ernzXrzvveNuevK2M39788cr73r00C9P/fPYO6/99dtb7/303+vO/fjhG18+8uSDL+7w7LfvvkPpi3++9PKrX//95tufP/7oz1+9/v0DIP32R8AA8m+ABiwgAhf4vwM2UIEPTKAEGZi9+C3mfRjMIAYtOMEIUrB7AvSgCCvoPxKG0IQORCEEVdhBFn6Qgy8sIQhTOMMV1rCFN4zhCXM4Qh66cGkaDKIQ/yUHwx4W8YdI9KESj7hEGTLxiU6M4g6hOEUp0pCKV7SiDbG4RS3ikItf9KIOs7jDIZrxjCcD4xi7WMU2kvGNbIRjGN0YxzrOUY5rvKMd88hHI4rRj3TUoyD7mEQ1AhKPh9zjltDIyEaWypCF/GMkA0nIJlIykYPEZCUhaUlETtKTnVTkJ0UZykyO0pSl3KQkU6nJVp5SSY6MpSyjxMlartKWl3ylK1mpy17y8pe4BGUwSTlMVBZTlbkE5i2Xmcxj7tKZvkzTLKdJTeIxU5jXJGY2jblNZGKzmd18ZjijOU5lgvOc30ynNtG5TnVyk53vdKc3bVjNetqzItA0pzzFCf/PecaznQD9p0D9SVB+7pOc/TRoQAuK0IPqc6EKHWhEGfrQbt3zohhlSD43Wk6OJrShEAWpREVKUY861KQhrWhJO8rSj6p0ojAlaUxfKtMkZvSmOB0ISkdK057udKUu/elMhVpTn7b0pEdNKVGNGtSk8nSpUHUqUB2a06piNKpNzSpStapUqQ7Vq0XF6lbH2lWuPhWsTCXrWc061bKqta1rdZdV51pPsbr1rnHFK1z3+lW29vWtf9VrYPNKWL6GFa12LexgDZtWwR5WT3SN7CwTy1jKLvayjwVsZh3bWMVu1rOdrSxiR+vXz4q2tKHFbGpN2zzJuraRlmWtbFdL29j/1pa0mr0tam3LW9xytre79S1ogZtb4v42W69NrhmNO1zhnra4zlUtc5973OBaF7rXrS52t6vd7jY3u9/lbngvqNzyZnC60o3ubNG7XvXqVrzUHa9840vf9IK3vu29r33hu1/v4te8AH4fe9/r3/7O18D/HbCC3btg/eaXvw8ucIQPPOEEM/jCqA2whoXXYAgTmMIftrCDQ4zgElfYxCQ+sYpTzOIOS7jFGPYwJzdM48i5GMQ3FrGMY/ziHKPYxysGMoxHLOQi8xjHR9Zxj2dS4yZ/zchETvKPpRxkKg95x1HOMpa3vGQtd5nLSPZymMGs5PE4+cwmgzKZpyzmMruZGc1rrnKb4fzlOo/Zzm+Wc5yvjGc63zkuAQEAOw==) repeat scroll 0 0 white;overflow:hidden}
279
- `,s3={},a3={class:"bg-grid"};function i3(e,t){return A(),F("div",a3,[dt(e.$slots,"default",{},void 0,!0)])}const l3=nt(s3,[["render",i3],["styles",[r3]],["__scopeId","data-v-b0888d9a"]]);function c3(e,t="style.css"){for(let o of e){const n=document.querySelector(o)?.shadowRoot;n&&zv(t,n)}}const Hl={},Wl={},u3=(e,t,o=!0)=>{const n=e.__name;Hl[n]=[];let r=[...e.styles||[]],s=0;for(let a in e.customOptions)Hl[n].push(a),r=[...(Hl[a]||[]).reduce((l,i)=>(l.push(...(Wl[i]||[]).map(c=>Li(c))),l),[]),...(t[s++]?.styles||[]).map(l=>Li(l)),...r],Wl[a]=r;if(o)e.styles=r;else for(let a of e.styles){const l=document.createElement("style");l.innerHTML=a,document.head.insertBefore(l,document.head.childNodes[document.head.childNodes.length-1].nextSibling)}return Wl[n]=r,e},Gh={CSSTransition:[zp],CSSAnimation:[xa],Loading1:[Bp],Loading2:[Yp],Loading3:[Vp],Loading4:[Xp],Loading5:[Zp],Loading6:[Gp],Loading7:[Up],Loading8:[Nl],Loading9:[jp],Loading10:[Hp],Loading11:[Dl],Button:[Dl],BooleanBox:[ka],RadioGroup:[Fl,ka],CheckboxGroup:[Ll,ka],Switch:[Wp],Select:[qp],SelectAbsolute:[Kp],SlideLeftItem:[Jp],Status:[xa],Text:[th],Input:[eh,th],InputRange:[zl],InputRangeBox:[oh],InputFileDrop:[nh],Tabs:[rh,ph],ViewDocument:[sh,Vr],ProgressBar:[Ca],PageVerticalScrollProgressBar:[ah,Ca],Video:[ih,Ca],PopTel:[lh],Popover:[jn],ColorPicker:[ch],Dialog:[Ea,Mp,jn],DialogLoading:[fh,Ea,Nl],DialogToast:[dh,Ea],Page:[xa],Routes:[W2],Image:[Ml],ImageView:[Ml,ph],Accordion:[mh],ResizeObserver:[gh],MapTianditu:[yh],PlateKeyboard:[vh],PlateMobile:[_h],PlateDisplay:[Bl],RingIndicator:[xh],RingText:[kh],ClockFlipper:[wh],EaseGraphDisplay:[Yl,jn],EaseGroupGraphDisplay:[Th,Yl],InterpolationGraphDisplay:[Vl,jn],InterpolationGroupGraphDisplay:[Ih,Vl],CardFlip:[Ah],Cube:[Nh,Fl,Ll,zl],Float:[Fh],Slide:[Lh],SlideCorner:[zh],LineSingle:[Mh],LineDouble:[Bh],Circle:[Yh],BorderFocusText:[Vh],LayoutPage:[Vr],LayoutMobile:[Zl],XG:[Zh,Zl,Ul,jl],Footer:[Gl,jn],Lot:[Ul,Vr,Gl,Bl,sh,lh,hh],Park:[jl,Vr]},ql=(e,t=!1,o=[])=>{if(!e.__name)return[];const n=e.__name.split(".")?.[0]||"",r=[];!Ty(o,n)&&t&&(r.push(...(e.styles||[]).map(a=>Li(a))),o.push(n));const s=Gh[n]||[];for(let a of s){const l=a.__name.split(".")?.[0]||"";if(l==n)continue;const i=Gh[l]||[];for(let c of i)r.push(...ql(c,!0,o))}return r};function ct(e,{plugins:t=[]}={plugins:[gx]}){return ry({...e,exposed:e.exposed,setup(o,{attrs:n,slots:r,emit:s,expose:a}){const l=Fi();t.forEach(l.use);const i=jo();Object.assign(i.appContext,l._context),Object.assign(i.provides,l._context.provides);const c=document.createElement("style");return c.innerText=ql(e).join("").replace(/\n/g,""),ay().appendChild(c),e.setup?.(o,{attrs:n,slots:r,emit:s,expose:a})}})}const f3=()=>{customElements.define("yz-container",ct(yx)),customElements.define("yz-effect-css-transition",ct(zp)),customElements.define("yz-effect-css-animation",ct(xa)),customElements.define("yz-icon",ct(Mp)),customElements.define("yz-loading-1",ct(Bp)),customElements.define("yz-loading-2",ct(Yp)),customElements.define("yz-loading-3",ct(Vp)),customElements.define("yz-loading-4",ct(Xp)),customElements.define("yz-loading-5",ct(Zp)),customElements.define("yz-loading-6",ct(Gp)),customElements.define("yz-loading-7",ct(Up)),customElements.define("yz-loading-8",ct(Nl)),customElements.define("yz-loading-9",ct(jp)),customElements.define("yz-loading-10",ct(Hp)),customElements.define("yz-loading-11",ct(Dl)),customElements.define("yz-button",ct(jn)),customElements.define("yz-boolean-box",ct(ka)),customElements.define("yz-radio-group",ct(Fl)),customElements.define("yz-checkbox-group",ct(Ll)),customElements.define("yz-switch",ct(Wp)),customElements.define("yz-select",ct(qp)),customElements.define("yz-select-absolute",ct(Kp)),customElements.define("yz-slide-left-item",ct(Jp)),customElements.define("yz-status",ct(c2)),customElements.define("yz-input",ct(eh)),customElements.define("yz-input-range",ct(zl)),customElements.define("yz-input-range-box",ct(oh)),customElements.define("yz-input-file-drop",ct(nh)),customElements.define("yz-tabs",ct(rh)),customElements.define("yz-progress-bar",ct(Ca)),customElements.define("yz-page-vertical-scroll-progress-bar",ct(ah)),customElements.define("yz-video",ct(ih)),customElements.define("yz-pop",ct(I2)),customElements.define("yz-popover",ct(ch)),customElements.define("yz-color-picker",ct(F2)),customElements.define("yz-dialog",ct(Ea)),customElements.define("yz-dialog-loading",ct(fh)),customElements.define("yz-dialog-toast",ct(dh)),customElements.define("yz-image",ct(Ml)),customElements.define("yz-image-view",ct(hh)),customElements.define("yz-accordion",ct(mh)),customElements.define("yz-resize-observer",ct(gh)),customElements.define("yz-map-tianditu",ct(yh)),customElements.define("yz-hand-write-panel",ct(nk)),customElements.define("yz-plate-keyboard",ct(vh)),customElements.define("yz-plate-mobile",ct(_h)),customElements.define("yz-plate-display",ct(Bl)),customElements.define("yz-chat-ring-indicator",ct(xh)),customElements.define("yz-chat-ring-text",ct(kh)),customElements.define("yz-chat-clock-flipper",ct(wh)),customElements.define("yz-fps-stats",ct(_k)),customElements.define("yz-ease-graph-display",ct(Yl)),customElements.define("yz-ease-group-graph-display",ct(Th)),customElements.define("yz-interpolation-graph-display",ct(Vl)),customElements.define("yz-interpolation-group-graph-display",ct(Ih)),customElements.define("yz-card-flip",ct(Ah)),customElements.define("yz-cube",ct(Nh)),customElements.define("yz-effect-image-mask",ct(Lk)),customElements.define("yz-effect-float",ct(Fh)),customElements.define("yz-effect-slide",ct(Lh)),customElements.define("yz-effect-slide-corner",ct(zh)),customElements.define("yz-effect-line-single",ct(Mh)),customElements.define("yz-effect-line-double",ct(Bh)),customElements.define("yz-effect-circle",ct(Yh)),customElements.define("yz-effect-text-background-clip",ct(Xk)),customElements.define("yz-effect-border-focus-text",ct(Vh)),customElements.define("yz-layout-center",ct(Zk)),customElements.define("yz-layout-page",ct(Vr)),customElements.define("yz-layout-mobile",ct(Zl)),customElements.define("yz-xg",ct(Zh)),customElements.define("yz-xg-footer",ct(Gl)),customElements.define("yz-xg-lot",ct(Ul)),customElements.define("yz-xg-park",ct(jl)),customElements.define("yz-responsive-video",n3),customElements.define("yz-bg-grid",ct(l3));const e=document.createElement("yz-dialog-toast");e.id="globalDialogToast",Yn.appendChild(e);const t=document.createElement("yz-dialog-loading");t.id="globalDialogLoading",Yn.appendChild(t);const o=document.createElement("yz-dialog");o.id="globalDialog",Yn.appendChild(o);const n=document.createElement("yz-plate-keyboard");n.id="globalPlateKeyboard",Yn.appendChild(n)};ee.collectChildComponentCSS=ql,ee.dialog=ub,ee.install=f3,ee.linkChildrenComponentsStyles=c3,ee.loading=cb,ee.mergeChildComponentCSS=u3,ee.plateKeyboard=qd,ee.popAbsolute=Hd,ee.popAbsoluteSample=gb,ee.popBottom=Xd,ee.popBottomSample=fb,ee.popCenter=jd,ee.popCenterSample=mb,ee.popLeft=Gd,ee.popLeftSample=pb,ee.popRight=Ud,ee.popRightSample=hb,ee.popTop=Zd,ee.popTopSample=db,ee.teleport=Yn,ee.toast=lb,Object.defineProperty(ee,Symbol.toStringTag,{value:"Module"})});
274
+ `]],["__scopeId","data-v-ebd444cc"]]),M5={class:"xg-footer-inner"},Cc=st(Y({customOptions:{Button:ie},inheritAttrs:!0,__name:"Footer.ce",setup(o){const t=wa();function e(){t.push("/park")}const n=P("0px");let s;return pe(()=>{s=ha.onBottom(r=>{n.value=r})}),ue(()=>{s?.()}),(r,a)=>(I(),D("div",{class:"xg-footer",style:N({paddingBottom:n.value})},[v("div",M5,[Z(ie,{label:"去支付",width:"100%",onClick:e})])],4))}}),[["styles",[`.xg-footer[data-v-48051ce1]{box-sizing:border-box;background-color:#fff;border-top:1px solid #cccccc}.xg-footer-inner[data-v-48051ce1]{box-sizing:border-box;width:100%;padding:.2rem .3rem}
275
+ `]],["__scopeId","data-v-48051ce1"]]),L5={class:"lot-main"},B5={class:"lot-detail"},V5={class:"bold"},Tc=st(Y({customOptions:{LayoutPage:eo,Footer:Ia,PlateDisplay:Aa,ViewDocument:Ql,PopTel:za,ImageView:Fa},inheritAttrs:!0,__name:"Lot.ce",setup(o){const t=wa();function e(){t.push({name:"view-document",params:{title:"收费标准",src:encodeURIComponent("https://erichd2.oss-cn-shanghai.aliyuncs.com/0000/0002/2159")}})}const n=P();function s(){n.value?.open()}const r=P();function a(){r.value?.open()}return(i,l)=>(I(),dt(eo,{class:"lot"},{footer:W(()=>[Z(Ia)]),global:W(()=>[Z(za,{tel:"15851575410",ref_key:"popTelEl",ref:n},null,512),Z(Fa,{urls:["https://erichd2.oss-cn-shanghai.aliyuncs.com/0000/0002/2159","https://erichd2.oss-cn-shanghai.aliyuncs.com/0000/0002/2159"],ref_key:"imageViewEl",ref:r},null,512)]),default:W(()=>[l[15]||(l[15]=v("div",{class:"lot-main-bg"},null,-1)),v("div",L5,[l[12]||(l[12]=v("div",null,"若临测试泊位机器人停车场",-1)),l[13]||(l[13]=v("div",null,[v("div"),v("div",null,"编号"),v("div")],-1)),l[14]||(l[14]=v("div",null,[v("span",null,"103"),v("span",null,"002")],-1)),v("div",null,[l[0]||(l[0]=v("div",null,"停车场主页",-1)),l[1]||(l[1]=v("div",null,"更换附近车位",-1)),v("div",{onClick:e},"收费标准")]),v("div",B5,[l[4]||(l[4]=v("div",null,[v("div",null,"待支付"),v("div",{class:"red"},"¥0.01")],-1)),l[5]||(l[5]=v("div",null,[v("div",null,"已支付"),v("div",null,"¥0.01")],-1)),l[6]||(l[6]=v("div",null,[v("div",null,"订单编号"),v("div",null,"33333333333")],-1)),l[7]||(l[7]=v("div",null,[v("div",null,"开始时间"),v("div",null,"2025-04-08 09:41:25")],-1)),l[8]||(l[8]=v("div",null,[v("div",null,"停车时长"),v("div",null,"51小时53分钟15秒")],-1)),l[9]||(l[9]=v("div",null,[v("div",null,"优惠券"),v("div",{class:"red"},"1分钟")],-1)),l[10]||(l[10]=v("div",null,[v("div",null,"优惠信息"),v("div",{class:"red"},"xxxx")],-1)),l[11]||(l[11]=v("div",{class:"lot-detail-gap"},null,-1)),v("div",null,[l[2]||(l[2]=v("div",null,"车牌号",-1)),v("div",V5,[Z(Aa,{plate:"苏U77777","plate-type":"b"})])]),v("div",null,[l[3]||(l[3]=v("div",null,"现场照片",-1)),v("div",{onClick:a},"查看")])]),v("div",{class:"lot-actions"},[v("div",{onClick:s},"联系客服")])])]),_:1}))}}),[["styles",[`.lot-main-bg[data-v-06c9e609]{position:absolute;top:0;left:0;z-index:1;width:100%;height:5.2rem;border-bottom-left-radius:2rem .5rem;border-bottom-right-radius:2rem .5rem;background:linear-gradient(180deg,#5a82f0 0%,#66b3ff 100%)}.lot-main[data-v-06c9e609]{position:relative;z-index:2;width:100%;overflow:hidden;box-sizing:border-box;line-height:1;color:#fff;padding:0 .3rem;margin-bottom:.3rem;text-align:center}.lot-main>div[data-v-06c9e609]:nth-child(1){font-size:.32rem;padding-top:.4rem;word-break:break-all;font-weight:700}.lot-main>div:nth-child(2)>div[data-v-06c9e609]:nth-child(1){width:2.4rem;height:.04rem;background:linear-gradient(90deg,rgba(255,255,255,0) 0%,#ffffff 100%)}.lot-main>div:nth-child(2)>div[data-v-06c9e609]:nth-child(3){width:2.4rem;height:.04rem;background:linear-gradient(90deg,#ffffff 0%,rgba(255,255,255,0) 100%)}.lot-main>div:nth-child(2)>div[data-v-06c9e609]:nth-child(2){width:1rem;font-size:.28rem;line-height:.32rem}.lot-main>div[data-v-06c9e609]:nth-child(2){display:flex;align-items:center;margin:.28rem auto 0;width:4.8rem;position:relative}.lot-main>div[data-v-06c9e609]:nth-child(3){font-family:D-DINExp-Bold-number;margin-top:.12rem;font-size:.8rem;letter-spacing:.06rem}.lot-main>div:nth-child(3)>span+span[data-v-06c9e609]{margin-left:.3rem}.lot-main>div[data-v-06c9e609]:nth-child(4){display:flex;justify-content:space-between;font-size:.28rem;line-height:.28rem;margin:.3rem 0}.lot-main>div:nth-child(4)>div[data-v-06c9e609]{flex:1 1 auto;text-align:center}.lot-main>div:nth-child(4)>div+div[data-v-06c9e609]{border-left:1px solid rgba(255,255,255,.4)}.lot-detail[data-v-06c9e609]{position:relative;background:#ffffff;box-shadow:0 .04rem .1rem #0000001a;border-radius:.08rem;padding:0 .3rem .1rem;font-size:.28rem;color:#666}.lot-detail>div[data-v-06c9e609]{line-height:.4rem;margin:.2rem auto;display:flex;justify-content:space-between}.lot-detail>div[data-v-06c9e609]:nth-child(1){border-bottom:1px solid var(--yz-xg-border-color);line-height:.88rem;margin:0 0 .2rem;font-weight:700}.lot-detail>div:nth-child(1)>div[data-v-06c9e609]:nth-child(2){font-size:.4rem}.lot-detail>div>div[data-v-06c9e609]:nth-child(1){flex:0 0 auto;padding-right:.2rem}.lot-detail>div>div[data-v-06c9e609]:nth-child(2){color:#333}.lot-detail-gap[data-v-06c9e609]{border-top:1px solid var(--yz-xg-border-color)}.lot-actions[data-v-06c9e609]{margin:.2rem 0;background:#ffffff;box-shadow:0 .04rem .1rem #0000001a;border-radius:.08rem;display:flex;align-items:center;font-size:.28rem}.lot-actions>div[data-v-06c9e609]{flex:1;line-height:.88rem;position:relative;cursor:pointer;color:var(--yz-xg-primary);text-align:center;font-weight:700}
276
+ `]],["__scopeId","data-v-06c9e609"]]),Ec=st(Y({customOptions:{LayoutPage:eo},inheritAttrs:!0,__name:"Park.ce",setup(o){return(t,e)=>(I(),dt(eo,{class:"park"},{default:W(()=>e[0]||(e[0]=[Bt("Park")])),_:1}))}}),[["styles",[`.park[data-v-287bba59]{background-color:pink}
277
+ `]],["__scopeId","data-v-287bba59"]]);class Y5 extends HTMLElement{constructor(){super(),this.listenedMedia=[],this.reloadQueued=!1}connectedCallback(){this.video=this.querySelector("video"),this.bindMediaListeners()}disconnectedCallback(){this.unbindMediaListeners()}bindMediaListeners(){this.querySelectorAll("source").forEach(t=>{if(t.media){const e=()=>{(t.media===this.video.currentSrc||!this.previousSiblingIsPlaying(t,this.video.currentSrc)&&!this.reloadQueued)&&this.reloadVideo()};this.listenedMedia.push({media:t.media,handler:e}),window.matchMedia(t.media).addEventListener("change",e)}})}unbindMediaListeners(){this.listenedMedia.forEach(t=>{window.matchMedia(t.media).removeEventListener("change",t.handler)})}previousSiblingIsPlaying(t,e){const n=t;for(;t.previousElementSibling;)if(n.src===e)return!0;return!1}reloadVideo(){this.reloadQueued=!0;const t=this.video.currentTime,e=this.video.playState;this.video.load();const n=()=>{this.video.playState=e,this.video.currentTime=t.toString(),this.reloadQueued=!1,this.video.removeEventListener("loadeddata",n)};this.video.addEventListener("loadeddata",n)}}const X5=Y5,Z5=`.bg-grid[data-v-b0888d9a]{width:100%;height:100%;background:url(data:image/gif;base64,R0lGODlhLAEsAfcAAAAAADMzM2ZmZpmZmczMzODg4P///5lmZmYzM8yZmZkzM8xmZswzMzMAAGYAAJkAAMwAAAAAAP8zM/9mZv+Zmf/MzP8zAMwzAP9mM8xmM5kzAP+ZZv9mAJlmM8yZZmYzAMxmAP+ZM//Mmf+ZAMyZM5lmAP/MZsyZAP/MM//MAJmZZmZmM8zMmZmZM8zMZszMMzMzAGZmAJmZAMzMAP//AP//M///Zv//mf//zMz/AJnMAMz/M5nMM2aZAMz/Zpn/AGaZM5nMZjNmAGbMAJn/M8z/mWb/AGbMMzOZAJn/ZjPMAGb/MzP/AGaZZjNmM5nMmTOZM2bMZjPMMwAzAABmAACZAADMAAD/ADP/M2b/Zpn/mcz/zAD/MwDMMzP/ZjPMZgCZM2b/mQD/ZjOZZmbMmQBmMwDMZjP/mZn/zAD/mTPMmQCZZmb/zADMmTP/zAD/zGaZmTNmZpnMzDOZmWbMzDPMzAAzMwBmZgCZmQDMzAD//zP//2b//5n//8z//wDM/wCZzDPM/zOZzABmmWbM/wCZ/zNmmWaZzAAzZgBmzDOZ/5nM/wBm/zNmzAAzmWaZ/wAzzDNm/wAz/2ZmmTMzZpmZzDMzmWZmzDMzzAAAMwAAZgAAmQAAzAAA/zMz/2Zm/5mZ/8zM/zMA/zMAzGYz/2YzzDMAmZlm/2YA/2YzmZlmzDMAZmYAzJkz/8yZ/5kA/5kzzGYAmcxm/5kAzMwz/8wA/5lmmWYzZsyZzJkzmcxmzMwzzDMAM2YAZpkAmcwAzP8A//8z//9m//+Z///M//8AzMwAmf8zzMwzmZkAZv9mzP8AmZkzZsxmmWYAM8wAZv8zmf+ZzP8AZswzZpkAM/9mmcwAM/8zZv8AMwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAAYALAAAAAAsASwBAAj/AAsIHEiwoMGDCBMqXMiwocOHECNKnEixosWLGAsY2MiRo8aOHT+C3ChyZEmQJ0OO9LiSZEsDKVm2jOly5kuaMG/qtMlzJc6fO30GNTkUZVGVPYkmNboUqdCmMp9KVTqVaVWnVLNa1Yp1q9euYKNyFfuVbNiaV82qRTuWbVm3Z3NChbtWblq6eO221fuWb1ygc/3WBXxXcF7CexH3Vfz36GDHhyEbnsz4ceDKkS9Lxkx5s2fNoAtzHv1ZdOnEpxenbhwadWvVr1mbjm15tm3Xt2Hnlo27t27fvH8LD068NnDjw5EXz7xbuXPmx6Enl768M23qz603x85de3Tv08H//81Ivrz58+jTq1/PvuDq7KSvi4f/vnv87fPt18/P//53/+EBWJ2A9MlHoH4G7ndgfwo2mOCD+C0ooYMRUvifhQFiOKCGBVYI4YUfZhjihiN2CKKHKJ6ooogpsrgiiS3C+KKJLtYoo4003qhjjjwiGGOPDJbo44xD4ljkjkcCOaGQ/bXn5JNQRinllOxxmOSVQf6I5ZJaZkmkl0aCiaSYSlpJ5pZmcvmlmmGyOaabZTIJJ5pypmlnnXh2OeeZfO7p5516ArqmoG0S+qahcQaa56CLFtrooY8myqiilE5qqaOVYnoppJlyahKVoIYq6qikroconZ1KqumqnrKqaquwvv8qK6qbztrnqbdGSquru8baq61/6pprqr8WO2ytxgZL7LG8Muurs8Diqiyy0CYr7bXCTtusts9yG2222C7rrbXgXlbqueimqy664VI7brXwvitvu9vS262934qLL7n6ltvvv+7uG6/A8/obsMH1InyvwvkeDHDCDy8cccMQO2xxxRhLfLHGGVPM8cceh0zSuiSXbPLJGRGsMsP8bizywCzDPHHLHdMMss0vFzyzzC7j7DPPNQN9s9A5r7yzzj0T/TPSQTM9tNNFxwz10kYnPbXSWF+ttYIod+3112BX3bTYT5Md9dFmUy112lmzvfXacKMdt9Vu1z332HeXnffZdO//rbbcgPcdON6D610434QLrnjijA8I9uOQRz6q3Yf/vbjhlyOOeeOad245559vLrrnbftdeuWnZx466W+j3rrqqYMe++ir1z4765TD/rrsu9Mer+TABy88ernzXrzvveNuevK2M39788cr73r00C9P/fPYO6/99dtb7/303+vO/fjhG18+8uSDL+7w7LfvvkPpi3++9PKrX//95tufP/7oz1+9/v0DIP32R8AA8m+ABiwgAhf4vwM2UIEPTKAEGZi9+C3mfRjMIAYtOMEIUrB7AvSgCCvoPxKG0IQORCEEVdhBFn6Qgy8sIQhTOMMV1rCFN4zhCXM4Qh66cGkaDKIQ/yUHwx4W8YdI9KESj7hEGTLxiU6M4g6hOEUp0pCKV7SiDbG4RS3ikItf9KIOs7jDIZrxjCcD4xi7WMU2kvGNbIRjGN0YxzrOUY5rvKMd88hHI4rRj3TUoyD7mEQ1AhKPh9zjltDIyEaWypCF/GMkA0nIJlIykYPEZCUhaUlETtKTnVTkJ0UZykyO0pSl3KQkU6nJVp5SSY6MpSyjxMlartKWl3ylK1mpy17y8pe4BGUwSTlMVBZTlbkE5i2Xmcxj7tKZvkzTLKdJTeIxU5jXJGY2jblNZGKzmd18ZjijOU5lgvOc30ynNtG5TnVyk53vdKc3bVjNetqzItA0pzzFCf/PecaznQD9p0D9SVB+7pOc/TRoQAuK0IPqc6EKHWhEGfrQbt3zohhlSD43Wk6OJrShEAWpREVKUY861KQhrWhJO8rSj6p0ojAlaUxfKtMkZvSmOB0ISkdK057udKUu/elMhVpTn7b0pEdNKVGNGtSk8nSpUHUqUB2a06piNKpNzSpStapUqQ7Vq0XF6lbH2lWuPhWsTCXrWc061bKqta1rdZdV51pPsbr1rnHFK1z3+lW29vWtf9VrYPNKWL6GFa12LexgDZtWwR5WT3SN7CwTy1jKLvayjwVsZh3bWMVu1rOdrSxiR+vXz4q2tKHFbGpN2zzJuraRlmWtbFdL29j/1pa0mr0tam3LW9xytre79S1ogZtb4v42W69NrhmNO1zhnra4zlUtc5973OBaF7rXrS52t6vd7jY3u9/lbngvqNzyZnC60o3ubNG7XvXqVrzUHa9840vf9IK3vu29r33hu1/v4te8AH4fe9/r3/7O18D/HbCC3btg/eaXvw8ucIQPPOEEM/jCqA2whoXXYAgTmMIftrCDQ4zgElfYxCQ+sYpTzOIOS7jFGPYwJzdM48i5GMQ3FrGMY/ziHKPYxysGMoxHLOQi8xjHR9Zxj2dS4yZ/zchETvKPpRxkKg95x1HOMpa3vGQtd5nLSPZymMGs5PE4+cwmgzKZpyzmMruZGc1rrnKb4fzlOo/Zzm+Wc5yvjGc63zkuAQEAOw==) repeat scroll 0 0 white;overflow:hidden}
278
+ `,U5={},H5={class:"bg-grid"};function j5(o,t){return I(),D("div",H5,[mt(o.$slots,"default",{},void 0,!0)])}const G5=st(U5,[["render",j5],["styles",[Z5]],["__scopeId","data-v-b0888d9a"]]);function W5(o,t="style.css"){for(let e of o){const n=document.querySelector(e)?.shadowRoot;n&&Fv(t,n)}}const Sc={},Oc={},q5=(o,t,e=!0)=>{const n=o.__name;Sc[n]=[];let s=[...o.styles||[]],r=0;for(let a in o.customOptions)Sc[n].push(a),s=[...(Sc[a]||[]).reduce((i,l)=>(i.push(...(Oc[l]||[]).map(c=>sl(c))),i),[]),...(t[r++]?.styles||[]).map(i=>sl(i)),...s],Oc[a]=s;if(e)o.styles=s;else for(let a of o.styles){const i=document.createElement("style");i.innerHTML=a,document.head.insertBefore(i,document.head.childNodes[document.head.childNodes.length-1].nextSibling)}return Oc[n]=s,o},zm={CSSTransition:[_p],CSSAnimation:[La],Loading1:[xp],Loading2:[kp],Loading3:[wp],Loading4:[Cp],Loading5:[Tp],Loading6:[Ep],Loading7:[Sp],Loading8:[uc],Loading9:[Op],Loading10:[Pp],Loading11:[fc],Button:[fc],BooleanBox:[Ba],RadioGroup:[pc,Ba],CheckboxGroup:[mc,Ba],Switch:[Rp],Select:[Ip],SelectAbsolute:[Ap],SlideLeftItem:[Np],Status:[La],Text:[Fp],Input:[zp,Fp],InputRange:[yc],InputRangeBox:[Dp],InputFileDrop:[Mp],Tabs:[Lp,Wp],ViewDocument:[Bp,er],ProgressBar:[Ya],PageVerticalScrollProgressBar:[Vp,Ya],Video:[Yp,Ya],PopTel:[Xp],Popover:[os],ColorPicker:[Zp],Dialog:[Ua,os],DialogLoading:[jp,Ua,uc],DialogToast:[Gp,Ua],Page:[La],Routes:[K3],Image:[vc],ImageView:[vc,Wp],Accordion:[Kp],ResizeObserver:[Qp],MapTianditu:[Jp],PlateKeyboard:[tm],PlateMobile:[cm],PlateDisplay:[bc],NumberKeyboard:[um],RingIndicator:[fm],HalfRingIndicator:[dm],RingText:[hm],ClockFlipper:[pm],EaseGraphDisplay:[_c,os],EaseGroupGraphDisplay:[gm,_c],InterpolationGraphDisplay:[xc,os],InterpolationGroupGraphDisplay:[km,xc],CardFlip:[wm],Cube:[Tm,pc,mc,yc],Float:[Sm],Slide:[Om],SlideCorner:[Pm],LineSingle:[Rm],LineDouble:[Im],Circle:[Am],BorderFocusText:[$m],LayoutPage:[er],LayoutMobile:[wc],XG:[Fm,wc,Tc,Ec],Footer:[Cc,os],Lot:[Tc,er,Cc,bc,Bp,Xp,qp],Park:[Ec,er]},Pc=(o,t=!1,e=[])=>{if(!o.__name)return[];const n=o.__name.split(".")?.[0]||"",s=[];!m1(e,n)&&t&&(s.push(...(o.styles||[]).map(a=>sl(a))),e.push(n));const r=zm[n]||[];for(let a of r){const i=a.__name.split(".")?.[0]||"";if(i==n)continue;const l=zm[i]||[];for(let c of l)s.push(...Pc(c,!0,e))}return s};function ct(o,{plugins:t=[]}={plugins:[Yx]}){return Wy({...o,exposed:o.exposed,setup(e,{attrs:n,slots:s,emit:r,expose:a}){const i=nl();t.forEach(i.use);const l=qo();Object.assign(l.appContext,i._context),Object.assign(l.provides,i._context.provides);const c=document.createElement("style");return c.innerText=Pc(o).join("").replace(/\n/g,""),Ky().appendChild(c),o.setup?.(e,{attrs:n,slots:s,emit:r,expose:a})}})}const K5=()=>{customElements.define("yz-container",ct(Xx)),customElements.define("yz-effect-css-transition",ct(_p)),customElements.define("yz-effect-css-animation",ct(La)),customElements.define("yz-icon",ct(Zx)),customElements.define("yz-loading-1",ct(xp)),customElements.define("yz-loading-2",ct(kp)),customElements.define("yz-loading-3",ct(wp)),customElements.define("yz-loading-4",ct(Cp)),customElements.define("yz-loading-5",ct(Tp)),customElements.define("yz-loading-6",ct(Ep)),customElements.define("yz-loading-7",ct(Sp)),customElements.define("yz-loading-8",ct(uc)),customElements.define("yz-loading-9",ct(Op)),customElements.define("yz-loading-10",ct(Pp)),customElements.define("yz-loading-11",ct(fc)),customElements.define("yz-button",ct(os)),customElements.define("yz-boolean-box",ct(Ba)),customElements.define("yz-radio-group",ct(pc)),customElements.define("yz-checkbox-group",ct(mc)),customElements.define("yz-switch",ct(Rp)),customElements.define("yz-select",ct(Ip)),customElements.define("yz-select-absolute",ct(Ap)),customElements.define("yz-slide-left-item",ct(Np)),customElements.define("yz-status",ct(M2)),customElements.define("yz-input",ct(zp)),customElements.define("yz-input-range",ct(yc)),customElements.define("yz-input-range-box",ct(Dp)),customElements.define("yz-input-file-drop",ct(Mp)),customElements.define("yz-tabs",ct(Lp)),customElements.define("yz-progress-bar",ct(Ya)),customElements.define("yz-page-vertical-scroll-progress-bar",ct(Vp)),customElements.define("yz-video",ct(Yp)),customElements.define("yz-pop",ct(p3)),customElements.define("yz-popover",ct(Zp)),customElements.define("yz-color-picker",ct(b3)),customElements.define("yz-dialog",ct(Ua)),customElements.define("yz-dialog-loading",ct(jp)),customElements.define("yz-dialog-toast",ct(Gp)),customElements.define("yz-image",ct(vc)),customElements.define("yz-image-view",ct(qp)),customElements.define("yz-accordion",ct(Kp)),customElements.define("yz-resize-observer",ct(Qp)),customElements.define("yz-map-tianditu",ct(Jp)),customElements.define("yz-hand-write-panel",ct(rk)),customElements.define("yz-plate-keyboard",ct(tm)),customElements.define("yz-plate-mobile",ct(cm)),customElements.define("yz-plate-display",ct(bc)),customElements.define("yz-number-keyboard",ct(um)),customElements.define("yz-chat-ring-indicator",ct(fm)),customElements.define("yz-chat-half-ring-indicator",ct(dm)),customElements.define("yz-chat-ring-text",ct(hm)),customElements.define("yz-chat-clock-flipper",ct(pm)),customElements.define("yz-fps-stats",ct(a5)),customElements.define("yz-ease-graph-display",ct(_c)),customElements.define("yz-ease-group-graph-display",ct(gm)),customElements.define("yz-interpolation-graph-display",ct(xc)),customElements.define("yz-interpolation-group-graph-display",ct(km)),customElements.define("yz-card-flip",ct(wm)),customElements.define("yz-cube",ct(Tm)),customElements.define("yz-effect-image-mask",ct(w5)),customElements.define("yz-effect-float",ct(Sm)),customElements.define("yz-effect-slide",ct(Om)),customElements.define("yz-effect-slide-corner",ct(Pm)),customElements.define("yz-effect-line-single",ct(Rm)),customElements.define("yz-effect-line-double",ct(Im)),customElements.define("yz-effect-circle",ct(Am)),customElements.define("yz-effect-text-background-clip",ct(P5)),customElements.define("yz-effect-border-focus-text",ct($m)),customElements.define("yz-layout-center",ct(R5)),customElements.define("yz-layout-page",ct(er)),customElements.define("yz-layout-mobile",ct(wc)),customElements.define("yz-xg",ct(Fm)),customElements.define("yz-xg-footer",ct(Cc)),customElements.define("yz-xg-lot",ct(Tc)),customElements.define("yz-xg-park",ct(Ec)),customElements.define("yz-responsive-video",X5),customElements.define("yz-bg-grid",ct(G5))};oe.collectChildComponentCSS=Pc,oe.dialog=xk,oe.install=K5,oe.linkChildrenComponentsStyles=W5,oe.loading=_k,oe.mergeChildComponentCSS=q5,oe.numberKeyboard=Ok,oe.plateKeyboard=lm,oe.popAbsolute=im,oe.popAbsoluteSample=Sk,oe.popBottom=om,oe.popBottomSample=kk,oe.popCenter=am,oe.popCenterSample=Ek,oe.popLeft=sm,oe.popLeftSample=Ck,oe.popRight=rm,oe.popRightSample=Tk,oe.popTop=nm,oe.popTopSample=wk,oe.teleport=no,oe.toast=bk,Object.defineProperty(oe,Symbol.toStringTag,{value:"Module"})});
280
279
  //# sourceMappingURL=yz_custom_element.umd.cjs.map