@zyzgroup/core-vue 0.0.42 → 0.0.44

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 (229) hide show
  1. package/ce/style.css +1 -1
  2. package/ce/yz_custom_element.iife.js +209 -171
  3. package/ce/yz_custom_element.iife.js.map +1 -1
  4. package/ce/yz_custom_element.js +21124 -20422
  5. package/ce/yz_custom_element.js.map +1 -1
  6. package/ce/yz_custom_element.umd.cjs +209 -171
  7. package/ce/yz_custom_element.umd.cjs.map +1 -1
  8. package/dist/style.css +1 -0
  9. package/dist/zyzgroup_core_vue.iife.js +29 -1
  10. package/dist/zyzgroup_core_vue.iife.js.map +1 -1
  11. package/dist/zyzgroup_core_vue.js +11751 -122
  12. package/dist/zyzgroup_core_vue.js.map +1 -1
  13. package/dist/zyzgroup_core_vue.umd.cjs +29 -1
  14. package/dist/zyzgroup_core_vue.umd.cjs.map +1 -1
  15. package/package.json +3 -2
  16. package/types/App.vue.d.ts +0 -2
  17. package/types/components/Accordion.ce.vue.d.ts +45 -54
  18. package/types/components/Accordion.vue.d.ts +45 -54
  19. package/types/components/Button.ce.vue.d.ts +63 -61
  20. package/types/components/Button.vue.d.ts +63 -61
  21. package/types/components/Canvas.ce.vue.d.ts +11 -36
  22. package/types/components/Canvas.vue.d.ts +11 -36
  23. package/types/components/CardFlip.ce.vue.d.ts +27 -36
  24. package/types/components/CardFlip.vue.d.ts +27 -36
  25. package/types/components/Container.ce.vue.d.ts +203 -49
  26. package/types/components/Container.vue.d.ts +203 -49
  27. package/types/components/Cube.ce.vue.d.ts +58 -39
  28. package/types/components/Cube.vue.d.ts +58 -39
  29. package/types/components/Dialog.ce.vue.d.ts +82 -46
  30. package/types/components/Dialog.vue.d.ts +82 -46
  31. package/types/components/DialogLoading.ce.vue.d.ts +37 -35
  32. package/types/components/DialogLoading.vue.d.ts +37 -35
  33. package/types/components/DialogToast.ce.vue.d.ts +9 -34
  34. package/types/components/DialogToast.vue.d.ts +9 -34
  35. package/types/components/EaseGraphDisplay.ce.vue.d.ts +11 -50
  36. package/types/components/EaseGraphDisplay.vue.d.ts +11 -50
  37. package/types/components/EaseGroupGraphDisplay.ce.vue.d.ts +5 -42
  38. package/types/components/EaseGroupGraphDisplay.vue.d.ts +5 -42
  39. package/types/components/HandWritePanel.ce.vue.d.ts +4 -44
  40. package/types/components/HandWritePanel.vue.d.ts +4 -44
  41. package/types/components/Icon.ce.vue.d.ts +3 -28
  42. package/types/components/Icon.vue.d.ts +3 -28
  43. package/types/components/Image.ce.vue.d.ts +6 -38
  44. package/types/components/Image.vue.d.ts +6 -38
  45. package/types/components/ImageView.ce.vue.d.ts +7 -32
  46. package/types/components/ImageView.vue.d.ts +7 -32
  47. package/types/components/InterpolationGraphDisplay.ce.vue.d.ts +9 -39
  48. package/types/components/InterpolationGraphDisplay.vue.d.ts +9 -39
  49. package/types/components/InterpolationGroupGraphDisplay.ce.vue.d.ts +3 -34
  50. package/types/components/InterpolationGroupGraphDisplay.vue.d.ts +3 -34
  51. package/types/components/MapTianditu.ce.vue.d.ts +32 -42
  52. package/types/components/MapTianditu.vue.d.ts +32 -42
  53. package/types/components/Overlay.ce.vue.d.ts +20 -34
  54. package/types/components/Overlay.vue.d.ts +20 -34
  55. package/types/components/Page.ce.vue.d.ts +55 -48
  56. package/types/components/Page.vue.d.ts +55 -48
  57. package/types/components/PlateDisplay.ce.vue.d.ts +4 -32
  58. package/types/components/PlateDisplay.vue.d.ts +4 -32
  59. package/types/components/PlateKeyboard.ce.vue.d.ts +10 -33
  60. package/types/components/PlateKeyboard.vue.d.ts +10 -33
  61. package/types/components/PlateMobile.ce.vue.d.ts +10 -28
  62. package/types/components/PlateMobile.vue.d.ts +10 -28
  63. package/types/components/Pop.ce.vue.d.ts +150 -65
  64. package/types/components/Pop.vue.d.ts +150 -65
  65. package/types/components/Popover.ce.vue.d.ts +41 -37
  66. package/types/components/Popover.vue.d.ts +41 -37
  67. package/types/components/Routes.ce.vue.d.ts +15 -49
  68. package/types/components/Routes.vue.d.ts +15 -49
  69. package/types/components/SVG.ce.vue.d.ts +11 -33
  70. package/types/components/SVG.vue.d.ts +11 -33
  71. package/types/components/SVGAndCanvas.ce.vue.d.ts +3 -28
  72. package/types/components/SVGAndCanvas.vue.d.ts +3 -28
  73. package/types/components/Video.ce.vue.d.ts +12 -44
  74. package/types/components/Video.vue.d.ts +12 -44
  75. package/types/components/VueRouterView.ce.vue.d.ts +3 -21
  76. package/types/components/VueRouterView.vue.d.ts +3 -21
  77. package/types/components/VueSuspense.ce.vue.d.ts +6 -4
  78. package/types/components/VueSuspense.vue.d.ts +6 -4
  79. package/types/components/bg/grid/BgGrid.ce.vue.d.ts +14 -0
  80. package/types/components/bg/grid/BgGrid.vue.d.ts +14 -0
  81. package/types/components/chat/ClockFlipper.ce.vue.d.ts +4 -53
  82. package/types/components/chat/ClockFlipper.vue.d.ts +4 -53
  83. package/types/components/chat/RingIndicator.ce.vue.d.ts +3 -37
  84. package/types/components/chat/RingIndicator.vue.d.ts +3 -37
  85. package/types/components/chat/RingText.ce.vue.d.ts +3 -37
  86. package/types/components/chat/RingText.vue.d.ts +3 -37
  87. package/types/components/effect/BorderFocusText.ce.vue.d.ts +31 -50
  88. package/types/components/effect/BorderFocusText.vue.d.ts +31 -50
  89. package/types/components/effect/CSSAnimation.ce.vue.d.ts +49 -61
  90. package/types/components/effect/CSSAnimation.vue.d.ts +49 -61
  91. package/types/components/effect/CSSTransition.ce.vue.d.ts +44 -53
  92. package/types/components/effect/CSSTransition.vue.d.ts +44 -53
  93. package/types/components/effect/Circle.ce.vue.d.ts +31 -44
  94. package/types/components/effect/Circle.vue.d.ts +31 -44
  95. package/types/components/effect/Float.ce.vue.d.ts +28 -47
  96. package/types/components/effect/Float.vue.d.ts +28 -47
  97. package/types/components/effect/ImageMask.ce.vue.d.ts +27 -32
  98. package/types/components/effect/ImageMask.vue.d.ts +27 -32
  99. package/types/components/effect/LineDouble.ce.vue.d.ts +40 -53
  100. package/types/components/effect/LineDouble.vue.d.ts +40 -53
  101. package/types/components/effect/LineSingle.ce.vue.d.ts +36 -53
  102. package/types/components/effect/LineSingle.vue.d.ts +36 -53
  103. package/types/components/effect/Slide.ce.vue.d.ts +30 -47
  104. package/types/components/effect/Slide.vue.d.ts +30 -47
  105. package/types/components/effect/SlideCorner.ce.vue.d.ts +31 -44
  106. package/types/components/effect/SlideCorner.vue.d.ts +31 -44
  107. package/types/components/effect/TextBackgroundClip.ce.vue.d.ts +3 -28
  108. package/types/components/effect/TextBackgroundClip.vue.d.ts +3 -28
  109. package/types/components/effect/VueTransition.ce.vue.d.ts +30 -43
  110. package/types/components/effect/VueTransition.vue.d.ts +30 -43
  111. package/types/components/effect/VueTransitionGroupSlideToLeft.ce.vue.d.ts +9 -3
  112. package/types/components/effect/VueTransitionGroupSlideToLeft.vue.d.ts +9 -3
  113. package/types/components/effect/VueTransitionOpacity.ce.vue.d.ts +9 -3
  114. package/types/components/effect/VueTransitionOpacity.vue.d.ts +9 -3
  115. package/types/components/effect/VueTransitionSlideUp.ce.vue.d.ts +9 -3
  116. package/types/components/effect/VueTransitionSlideUp.vue.d.ts +9 -3
  117. package/types/components/form/BooleanBox.ce.vue.d.ts +44 -60
  118. package/types/components/form/BooleanBox.vue.d.ts +44 -60
  119. package/types/components/form/CheckboxGroup.ce.vue.d.ts +11 -51
  120. package/types/components/form/CheckboxGroup.vue.d.ts +11 -51
  121. package/types/components/form/ColorPicker.ce.vue.d.ts +43 -32
  122. package/types/components/form/ColorPicker.vue.d.ts +43 -32
  123. package/types/components/form/Input.ce.vue.d.ts +23 -74
  124. package/types/components/form/Input.vue.d.ts +23 -74
  125. package/types/components/form/InputFileDrop.ce.vue.d.ts +23 -29
  126. package/types/components/form/InputFileDrop.vue.d.ts +23 -29
  127. package/types/components/form/InputRange.ce.vue.d.ts +33 -55
  128. package/types/components/form/InputRange.vue.d.ts +33 -55
  129. package/types/components/form/InputRangeBox.ce.vue.d.ts +38 -51
  130. package/types/components/form/InputRangeBox.vue.d.ts +38 -51
  131. package/types/components/form/InputRangeCanvas.ce.vue.d.ts +33 -53
  132. package/types/components/form/InputRangeCanvas.vue.d.ts +33 -53
  133. package/types/components/form/PageVerticalScrollProgressBar.ce.vue.d.ts +21 -0
  134. package/types/components/form/PageVerticalScrollProgressBar.vue.d.ts +21 -0
  135. package/types/components/form/ProgressBar.ce.vue.d.ts +22 -0
  136. package/types/components/form/ProgressBar.vue.d.ts +22 -0
  137. package/types/components/form/RadioGroup.ce.vue.d.ts +11 -51
  138. package/types/components/form/RadioGroup.vue.d.ts +11 -51
  139. package/types/components/form/Select.ce.vue.d.ts +14 -52
  140. package/types/components/form/Select.vue.d.ts +14 -52
  141. package/types/components/form/SelectAbsolute.ce.vue.d.ts +16 -64
  142. package/types/components/form/SelectAbsolute.vue.d.ts +16 -64
  143. package/types/components/form/SlideLeftItem.ce.vue.d.ts +51 -0
  144. package/types/components/form/SlideLeftItem.vue.d.ts +51 -0
  145. package/types/components/form/Status.ce.vue.d.ts +3 -26
  146. package/types/components/form/Status.vue.d.ts +3 -26
  147. package/types/components/form/Switch.ce.vue.d.ts +7 -47
  148. package/types/components/form/Switch.vue.d.ts +7 -47
  149. package/types/components/form/Tabs.ce.vue.d.ts +14 -0
  150. package/types/components/form/Tabs.vue.d.ts +14 -0
  151. package/types/components/form/Text.ce.vue.d.ts +36 -0
  152. package/types/components/form/Text.vue.d.ts +36 -0
  153. package/types/components/form/ViewDocument.ce.vue.d.ts +9 -0
  154. package/types/components/form/ViewDocument.vue.d.ts +9 -0
  155. package/types/components/layout/LayoutCenter.ce.vue.d.ts +20 -30
  156. package/types/components/layout/LayoutCenter.vue.d.ts +20 -30
  157. package/types/components/layout/LayoutMobile.ce.vue.d.ts +4 -36
  158. package/types/components/layout/LayoutMobile.vue.d.ts +4 -36
  159. package/types/components/layout/LayoutPage.ce.vue.d.ts +20 -0
  160. package/types/components/layout/LayoutPage.vue.d.ts +20 -0
  161. package/types/components/loading/Loading1.ce.vue.d.ts +3 -25
  162. package/types/components/loading/Loading1.vue.d.ts +3 -25
  163. package/types/components/loading/Loading10.ce.vue.d.ts +3 -25
  164. package/types/components/loading/Loading10.vue.d.ts +3 -25
  165. package/types/components/loading/Loading11.ce.vue.d.ts +3 -28
  166. package/types/components/loading/Loading11.vue.d.ts +3 -28
  167. package/types/components/loading/Loading2.ce.vue.d.ts +3 -25
  168. package/types/components/loading/Loading2.vue.d.ts +3 -25
  169. package/types/components/loading/Loading3.ce.vue.d.ts +3 -28
  170. package/types/components/loading/Loading3.vue.d.ts +3 -28
  171. package/types/components/loading/Loading4.ce.vue.d.ts +3 -25
  172. package/types/components/loading/Loading4.vue.d.ts +3 -25
  173. package/types/components/loading/Loading5.ce.vue.d.ts +3 -25
  174. package/types/components/loading/Loading5.vue.d.ts +3 -25
  175. package/types/components/loading/Loading6.ce.vue.d.ts +3 -25
  176. package/types/components/loading/Loading6.vue.d.ts +3 -25
  177. package/types/components/loading/Loading7.ce.vue.d.ts +3 -25
  178. package/types/components/loading/Loading7.vue.d.ts +3 -25
  179. package/types/components/loading/Loading8.ce.vue.d.ts +3 -25
  180. package/types/components/loading/Loading8.vue.d.ts +3 -25
  181. package/types/components/loading/Loading9.ce.vue.d.ts +3 -25
  182. package/types/components/loading/Loading9.vue.d.ts +3 -25
  183. package/types/components/pop/PopTel.ce.vue.d.ts +10 -0
  184. package/types/components/pop/PopTel.vue.d.ts +10 -0
  185. package/types/components/svg/SVGAdd.ce.vue.d.ts +7 -0
  186. package/types/components/svg/SVGAdd.vue.d.ts +7 -0
  187. package/types/components/svg/SVGCheck.ce.vue.d.ts +3 -28
  188. package/types/components/svg/SVGCheck.vue.d.ts +3 -28
  189. package/types/components/svg/SVGCleanUp.ce.vue.d.ts +3 -28
  190. package/types/components/svg/SVGCleanUp.vue.d.ts +3 -28
  191. package/types/components/svg/SVGClose.ce.vue.d.ts +7 -0
  192. package/types/components/svg/SVGClose.vue.d.ts +7 -0
  193. package/types/components/svg/SVGDelete.ce.vue.d.ts +3 -32
  194. package/types/components/svg/SVGDelete.vue.d.ts +3 -32
  195. package/types/components/svg/SVGDown.ce.vue.d.ts +3 -29
  196. package/types/components/svg/SVGDown.vue.d.ts +3 -29
  197. package/types/components/svg/SVGElement.ce.vue.d.ts +14 -38
  198. package/types/components/svg/SVGElement.vue.d.ts +14 -38
  199. package/types/components/svg/SVGEllipse.ce.vue.d.ts +7 -0
  200. package/types/components/svg/SVGEllipse.vue.d.ts +7 -0
  201. package/types/components/svg/SVGFail.ce.vue.d.ts +3 -29
  202. package/types/components/svg/SVGFail.vue.d.ts +3 -29
  203. package/types/components/svg/SVGHome.ce.vue.d.ts +3 -29
  204. package/types/components/svg/SVGHome.vue.d.ts +3 -29
  205. package/types/components/svg/SVGLock.ce.vue.d.ts +3 -29
  206. package/types/components/svg/SVGLock.vue.d.ts +3 -29
  207. package/types/components/svg/SVGPrompt.ce.vue.d.ts +3 -29
  208. package/types/components/svg/SVGPrompt.vue.d.ts +3 -29
  209. package/types/components/svg/SVGQuestion.ce.vue.d.ts +3 -29
  210. package/types/components/svg/SVGQuestion.vue.d.ts +3 -29
  211. package/types/components/svg/SVGReturn.ce.vue.d.ts +3 -29
  212. package/types/components/svg/SVGReturn.vue.d.ts +3 -29
  213. package/types/components/svg/SVGSuccess.vue.d.ts +3 -29
  214. package/types/components/svg/SVGWaiting.ce.vue.d.ts +3 -29
  215. package/types/components/svg/SVGWaiting.vue.d.ts +3 -29
  216. package/types/components/svg/SVGWarn.ce.vue.d.ts +9 -0
  217. package/types/components/svg/SVGWarn.vue.d.ts +9 -0
  218. package/types/components/xg/Park.ce.vue.d.ts +2 -0
  219. package/types/components/xg/Park.vue.d.ts +2 -0
  220. package/types/components/xg/XG.ce.vue.d.ts +2 -0
  221. package/types/components/xg/XG.vue.d.ts +2 -0
  222. package/types/demo_vue3.vue.d.ts +22 -58
  223. package/types/globalTeleport.d.ts +6 -7
  224. package/types/hooks/pinia/counter.d.ts +13 -0
  225. package/types/hooks/useSafeArea.d.ts +1 -0
  226. package/types/hooks/useVueRouter.d.ts +5 -14
  227. package/types/hooks/useVuex/modules/root.d.ts +0 -1
  228. package/types/hooks/useVuex/useVuex.d.ts +0 -1
  229. package/types/main.d.ts +3 -1
@@ -1,31 +1,32 @@
1
- var YZCustomElement=function(fe){"use strict";/**
1
+ var YZCustomElement=function(ce){"use strict";/**
2
2
  * @vue/shared v3.5.13
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
- **//*! #__NO_SIDE_EFFECTS__ */function Os(s){const t=Object.create(null);for(const e of s.split(","))t[e]=1;return e=>e in t}const Wt={}.NODE_ENV!=="production"?Object.freeze({}):{},Eo={}.NODE_ENV!=="production"?Object.freeze([]):[],ve=()=>{},xh=()=>!1,jo=s=>s.charCodeAt(0)===111&&s.charCodeAt(1)===110&&(s.charCodeAt(2)>122||s.charCodeAt(2)<97),Fr=s=>s.startsWith("onUpdate:"),ie=Object.assign,ia=(s,t)=>{const e=s.indexOf(t);e>-1&&s.splice(e,1)},wh=Object.prototype.hasOwnProperty,Gt=(s,t)=>wh.call(s,t),St=Array.isArray,no=s=>Dr(s)==="[object Map]",Cl=s=>Dr(s)==="[object Set]",Ot=s=>typeof s=="function",ue=s=>typeof s=="string",Rs=s=>typeof s=="symbol",Kt=s=>s!==null&&typeof s=="object",la=s=>(Kt(s)||Ot(s))&&Ot(s.then)&&Ot(s.catch),Tl=Object.prototype.toString,Dr=s=>Tl.call(s),ca=s=>Dr(s).slice(8,-1),$r=s=>Dr(s)==="[object Object]",ua=s=>ue(s)&&s!=="NaN"&&s[0]!=="-"&&""+parseInt(s,10)===s,Ho=Os(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),kh=Os("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Lr=s=>{const t=Object.create(null);return e=>t[e]||(t[e]=s(e))},Ch=/-(\w)/g,Ye=Lr(s=>s.replace(Ch,(t,e)=>e?e.toUpperCase():"")),Th=/\B([A-Z])/g,We=Lr(s=>s.replace(Th,"-$1").toLowerCase()),Ar=Lr(s=>s.charAt(0).toUpperCase()+s.slice(1)),ao=Lr(s=>s?`on${Ar(s)}`:""),Us=(s,t)=>!Object.is(s,t),Wo=(s,...t)=>{for(let e=0;e<s.length;e++)s[e](...t)},Mr=(s,t,e,o=!1)=>{Object.defineProperty(s,t,{configurable:!0,enumerable:!1,writable:o,value:e})},Sh=s=>{const t=parseFloat(s);return isNaN(t)?s:t},Sl=s=>{const t=ue(s)?Number(s):NaN;return isNaN(t)?s:t};let El;const Zo=()=>El||(El=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function A(s){if(St(s)){const t={};for(let e=0;e<s.length;e++){const o=s[e],r=ue(o)?Rh(o):A(o);if(r)for(const n in r)t[n]=r[n]}return t}else if(ue(s)||Kt(s))return s}const Eh=/;(?![^(]*\))/g,Ph=/:([^]+)/,Oh=/\/\*[^]*?\*\//g;function Rh(s){const t={};return s.replace(Oh,"").split(Eh).forEach(e=>{if(e){const o=e.split(Ph);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function oe(s){let t="";if(ue(s))t=s;else if(St(s))for(let e=0;e<s.length;e++){const o=oe(s[e]);o&&(t+=o+" ")}else if(Kt(s))for(const e in s)s[e]&&(t+=e+" ");return t.trim()}const Ih="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",Fh="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",Dh="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",$h=Os(Ih),Lh=Os(Fh),Ah=Os(Dh),Mh=Os("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Pl(s){return!!s||s===""}const Ol=s=>!!(s&&s.__v_isRef===!0),yt=s=>ue(s)?s:s==null?"":St(s)||Kt(s)&&(s.toString===Tl||!Ot(s.toString))?Ol(s)?yt(s.value):JSON.stringify(s,Rl,2):String(s),Rl=(s,t)=>Ol(t)?Rl(s,t.value):no(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[o,r],n)=>(e[da(o,n)+" =>"]=r,e),{})}:Cl(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>da(e))}:Rs(t)?da(t):Kt(t)&&!St(t)&&!$r(t)?String(t):t,da=(s,t="")=>{var e;return Rs(s)?`Symbol(${(e=s.description)!=null?e:t})`:s};/**
5
+ **//*! #__NO_SIDE_EFFECTS__ */function wo(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({}):{},On={}.NODE_ENV!=="production"?Object.freeze([]):[],be=()=>{},Zm=()=>!1,os=o=>o.charCodeAt(0)===111&&o.charCodeAt(1)===110&&(o.charCodeAt(2)>122||o.charCodeAt(2)<97),tr=o=>o.startsWith("onUpdate:"),ee=Object.assign,Ja=(o,t)=>{const e=o.indexOf(t);e>-1&&o.splice(e,1)},Um=Object.prototype.hasOwnProperty,Lt=(o,t)=>Um.call(o,t),_t=Array.isArray,an=o=>ns(o)==="[object Map]",Nc=o=>ns(o)==="[object Set]",Gm=o=>ns(o)==="[object RegExp]",Tt=o=>typeof o=="function",se=o=>typeof o=="string",Co=o=>typeof o=="symbol",Kt=o=>o!==null&&typeof o=="object",ti=o=>(Kt(o)||Tt(o))&&Tt(o.then)&&Tt(o.catch),Fc=Object.prototype.toString,ns=o=>Fc.call(o),ei=o=>ns(o).slice(8,-1),er=o=>ns(o)==="[object Object]",oi=o=>se(o)&&o!=="NaN"&&o[0]!=="-"&&""+parseInt(o,10)===o,ss=wo(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Hm=wo("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),or=o=>{const t=Object.create(null);return e=>t[e]||(t[e]=o(e))},jm=/-(\w)/g,ke=or(o=>o.replace(jm,(t,e)=>e?e.toUpperCase():"")),Wm=/\B([A-Z])/g,Be=or(o=>o.replace(Wm,"-$1").toLowerCase()),ln=or(o=>o.charAt(0).toUpperCase()+o.slice(1)),cn=or(o=>o?`on${ln(o)}`:""),Vo=(o,t)=>!Object.is(o,t),un=(o,...t)=>{for(let e=0;e<o.length;e++)o[e](...t)},nr=(o,t,e,n=!1)=>{Object.defineProperty(o,t,{configurable:!0,enumerable:!1,writable:n,value:e})},qm=o=>{const t=parseFloat(o);return isNaN(t)?o:t},ni=o=>{const t=se(o)?Number(o):NaN;return isNaN(t)?o:t};let zc;const rs=()=>zc||(zc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function N(o){if(_t(o)){const t={};for(let e=0;e<o.length;e++){const n=o[e],s=se(n)?t0(n):N(n);if(s)for(const r in s)t[r]=s[r]}return t}else if(se(o)||Kt(o))return o}const Km=/;(?![^(]*\))/g,Qm=/:([^]+)/,Jm=/\/\*[^]*?\*\//g;function t0(o){const t={};return o.replace(Jm,"").split(Km).forEach(e=>{if(e){const n=e.split(Qm);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function jt(o){let t="";if(se(o))t=o;else if(_t(o))for(let e=0;e<o.length;e++){const n=jt(o[e]);n&&(t+=n+" ")}else if(Kt(o))for(const e in o)o[e]&&(t+=e+" ");return t.trim()}const e0="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",o0="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",n0="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",s0=wo(e0),r0=wo(o0),a0=wo(n0),i0=wo("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Dc(o){return!!o||o===""}const Mc=o=>!!(o&&o.__v_isRef===!0),dt=o=>se(o)?o:o==null?"":_t(o)||Kt(o)&&(o.toString===Fc||!Tt(o.toString))?Mc(o)?dt(o.value):JSON.stringify(o,Lc,2):String(o),Lc=(o,t)=>Mc(t)?Lc(o,t.value):an(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[n,s],r)=>(e[si(n,r)+" =>"]=s,e),{})}:Nc(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>si(e))}:Co(t)?si(t):Kt(t)&&!_t(t)&&!er(t)?String(t):t,si=(o,t="")=>{var e;return Co(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 fs(s,...t){console.warn(`[Vue warn] ${s}`,...t)}let Ze;class Nh{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ze,!t&&Ze&&(this.index=(Ze.scopes||(Ze.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=Ze;try{return Ze=this,t()}finally{Ze=e}}else({}).NODE_ENV!=="production"&&fs("cannot run an inactive effect scope.")}on(){Ze=this}off(){Ze=this.parent}stop(t){if(this._active){this._active=!1;let e,o;for(e=0,o=this.effects.length;e<o;e++)this.effects[e].stop();for(this.effects.length=0,e=0,o=this.cleanups.length;e<o;e++)this.cleanups[e]();if(this.cleanups.length=0,this.scopes){for(e=0,o=this.scopes.length;e<o;e++)this.scopes[e].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 zh(){return Ze}let Zt;const fa=new WeakSet;class Il{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,Ze&&Ze.active&&Ze.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,fa.has(this)&&(fa.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Dl(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Nl(this),$l(this);const t=Zt,e=is;Zt=this,is=!0;try{return this.fn()}finally{({}).NODE_ENV!=="production"&&Zt!==this&&fs("Active effect was not restored correctly - this is likely a Vue internal bug."),Ll(this),Zt=t,is=e,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)ga(t);this.deps=this.depsTail=void 0,Nl(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?fa.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ma(this)&&this.run()}get dirty(){return ma(this)}}let Fl=0,qo,Qo;function Dl(s,t=!1){if(s.flags|=8,t){s.next=Qo,Qo=s;return}s.next=qo,qo=s}function ha(){Fl++}function pa(){if(--Fl>0)return;if(Qo){let t=Qo;for(Qo=void 0;t;){const e=t.next;t.next=void 0,t.flags&=-9,t=e}}let s;for(;qo;){let t=qo;for(qo=void 0;t;){const e=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(o){s||(s=o)}t=e}}if(s)throw s}function $l(s){for(let t=s.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ll(s){let t,e=s.depsTail,o=e;for(;o;){const r=o.prevDep;o.version===-1?(o===e&&(e=r),ga(o),Vh(o)):t=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=r}s.deps=t,s.depsTail=e}function ma(s){for(let t=s.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Al(t.dep.computed)||t.dep.version!==t.version))return!0;return!!s._dirty}function Al(s){if(s.flags&4&&!(s.flags&16)||(s.flags&=-17,s.globalVersion===Ko))return;s.globalVersion=Ko;const t=s.dep;if(s.flags|=2,t.version>0&&!s.isSSR&&s.deps&&!ma(s)){s.flags&=-3;return}const e=Zt,o=is;Zt=s,is=!0;try{$l(s);const r=s.fn(s._value);(t.version===0||Us(r,s._value))&&(s._value=r,t.version++)}catch(r){throw t.version++,r}finally{Zt=e,is=o,Ll(s),s.flags&=-3}}function ga(s,t=!1){const{dep:e,prevSub:o,nextSub:r}=s;if(o&&(o.nextSub=r,s.prevSub=void 0),r&&(r.prevSub=o,s.nextSub=void 0),{}.NODE_ENV!=="production"&&e.subsHead===s&&(e.subsHead=r),e.subs===s&&(e.subs=o,!o&&e.computed)){e.computed.flags&=-5;for(let n=e.computed.deps;n;n=n.nextDep)ga(n,!0)}!t&&!--e.sc&&e.map&&e.map.delete(e.key)}function Vh(s){const{prevDep:t,nextDep:e}=s;t&&(t.nextDep=e,s.prevDep=void 0),e&&(e.prevDep=t,s.nextDep=void 0)}let is=!0;const Ml=[];function Is(){Ml.push(is),is=!1}function Fs(){const s=Ml.pop();is=s===void 0?!0:s}function Nl(s){const{cleanup:t}=s;if(s.cleanup=void 0,t){const e=Zt;Zt=void 0;try{t()}finally{Zt=e}}}let Ko=0;class Bh{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 ya=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(!Zt||!is||Zt===this.computed)return;let e=this.activeLink;if(e===void 0||e.sub!==Zt)e=this.activeLink=new Bh(Zt,this),Zt.deps?(e.prevDep=Zt.depsTail,Zt.depsTail.nextDep=e,Zt.depsTail=e):Zt.deps=Zt.depsTail=e,zl(e);else if(e.version===-1&&(e.version=this.version,e.nextDep)){const o=e.nextDep;o.prevDep=e.prevDep,e.prevDep&&(e.prevDep.nextDep=o),e.prevDep=Zt.depsTail,e.nextDep=void 0,Zt.depsTail.nextDep=e,Zt.depsTail=e,Zt.deps===e&&(Zt.deps=o)}return{}.NODE_ENV!=="production"&&Zt.onTrack&&Zt.onTrack(ie({effect:Zt},t)),e}trigger(t){this.version++,Ko++,this.notify(t)}notify(t){ha();try{if({}.NODE_ENV!=="production")for(let e=this.subsHead;e;e=e.nextSub)e.sub.onTrigger&&!(e.sub.flags&8)&&e.sub.onTrigger(ie({effect:e.sub},t));for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{pa()}}};function zl(s){if(s.dep.sc++,s.sub.flags&4){const t=s.dep.computed;if(t&&!s.dep.subs){t.flags|=20;for(let o=t.deps;o;o=o.nextDep)zl(o)}const e=s.dep.subs;e!==s&&(s.prevSub=e,e&&(e.nextSub=s)),{}.NODE_ENV!=="production"&&s.dep.subsHead===void 0&&(s.dep.subsHead=s),s.dep.subs=s}}const va=new WeakMap,io=Symbol({}.NODE_ENV!=="production"?"Object iterate":""),ba=Symbol({}.NODE_ENV!=="production"?"Map keys iterate":""),Jo=Symbol({}.NODE_ENV!=="production"?"Array iterate":"");function be(s,t,e){if(is&&Zt){let o=va.get(s);o||va.set(s,o=new Map);let r=o.get(e);r||(o.set(e,r=new ya),r.map=o,r.key=e),{}.NODE_ENV!=="production"?r.track({target:s,type:t,key:e}):r.track()}}function hs(s,t,e,o,r,n){const a=va.get(s);if(!a){Ko++;return}const i=l=>{l&&({}.NODE_ENV!=="production"?l.trigger({target:s,type:t,key:e,newValue:o,oldValue:r,oldTarget:n}):l.trigger())};if(ha(),t==="clear")a.forEach(i);else{const l=St(s),c=l&&ua(e);if(l&&e==="length"){const u=Number(o);a.forEach((d,h)=>{(h==="length"||h===Jo||!Rs(h)&&h>=u)&&i(d)})}else switch((e!==void 0||a.has(void 0))&&i(a.get(e)),c&&i(a.get(Jo)),t){case"add":l?c&&i(a.get("length")):(i(a.get(io)),no(s)&&i(a.get(ba)));break;case"delete":l||(i(a.get(io)),no(s)&&i(a.get(ba)));break;case"set":no(s)&&i(a.get(io));break}}pa()}function Po(s){const t=Lt(s);return t===s?t:(be(t,"iterate",Jo),$e(s)?t:t.map(Ie))}function Nr(s){return be(s=Lt(s),"iterate",Jo),s}const Yh={__proto__:null,[Symbol.iterator](){return _a(this,Symbol.iterator,Ie)},concat(...s){return Po(this).concat(...s.map(t=>St(t)?Po(t):t))},entries(){return _a(this,"entries",s=>(s[1]=Ie(s[1]),s))},every(s,t){return Ds(this,"every",s,t,void 0,arguments)},filter(s,t){return Ds(this,"filter",s,t,e=>e.map(Ie),arguments)},find(s,t){return Ds(this,"find",s,t,Ie,arguments)},findIndex(s,t){return Ds(this,"findIndex",s,t,void 0,arguments)},findLast(s,t){return Ds(this,"findLast",s,t,Ie,arguments)},findLastIndex(s,t){return Ds(this,"findLastIndex",s,t,void 0,arguments)},forEach(s,t){return Ds(this,"forEach",s,t,void 0,arguments)},includes(...s){return xa(this,"includes",s)},indexOf(...s){return xa(this,"indexOf",s)},join(s){return Po(this).join(s)},lastIndexOf(...s){return xa(this,"lastIndexOf",s)},map(s,t){return Ds(this,"map",s,t,void 0,arguments)},pop(){return tr(this,"pop")},push(...s){return tr(this,"push",s)},reduce(s,...t){return Vl(this,"reduce",s,t)},reduceRight(s,...t){return Vl(this,"reduceRight",s,t)},shift(){return tr(this,"shift")},some(s,t){return Ds(this,"some",s,t,void 0,arguments)},splice(...s){return tr(this,"splice",s)},toReversed(){return Po(this).toReversed()},toSorted(s){return Po(this).toSorted(s)},toSpliced(...s){return Po(this).toSpliced(...s)},unshift(...s){return tr(this,"unshift",s)},values(){return _a(this,"values",Ie)}};function _a(s,t,e){const o=Nr(s),r=o[t]();return o!==s&&!$e(s)&&(r._next=r.next,r.next=()=>{const n=r._next();return n.value&&(n.value=e(n.value)),n}),r}const Xh=Array.prototype;function Ds(s,t,e,o,r,n){const a=Nr(s),i=a!==s&&!$e(s),l=a[t];if(l!==Xh[t]){const d=l.apply(s,n);return i?Ie(d):d}let c=e;a!==s&&(i?c=function(d,h){return e.call(this,Ie(d),h,s)}:e.length>2&&(c=function(d,h){return e.call(this,d,h,s)}));const u=l.call(a,c,o);return i&&r?r(u):u}function Vl(s,t,e,o){const r=Nr(s);let n=e;return r!==s&&($e(s)?e.length>3&&(n=function(a,i,l){return e.call(this,a,i,l,s)}):n=function(a,i,l){return e.call(this,a,Ie(i),l,s)}),r[t](n,...o)}function xa(s,t,e){const o=Lt(s);be(o,"iterate",Jo);const r=o[t](...e);return(r===-1||r===!1)&&Xr(e[0])?(e[0]=Lt(e[0]),o[t](...e)):r}function tr(s,t,e=[]){Is(),ha();const o=Lt(s)[t].apply(s,e);return pa(),Fs(),o}const Gh=Os("__proto__,__v_isRef,__isVue"),Bl=new Set(Object.getOwnPropertyNames(Symbol).filter(s=>s!=="arguments"&&s!=="caller").map(s=>Symbol[s]).filter(Rs));function Uh(s){Rs(s)||(s=String(s));const t=Lt(this);return be(t,"has",s),t.hasOwnProperty(s)}class Yl{constructor(t=!1,e=!1){this._isReadonly=t,this._isShallow=e}get(t,e,o){if(e==="__v_skip")return t.__v_skip;const r=this._isReadonly,n=this._isShallow;if(e==="__v_isReactive")return!r;if(e==="__v_isReadonly")return r;if(e==="__v_isShallow")return n;if(e==="__v_raw")return o===(r?n?Zl:Wl:n?Hl:jl).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const a=St(t);if(!r){let l;if(a&&(l=Yh[e]))return l;if(e==="hasOwnProperty")return Uh}const i=Reflect.get(t,e,he(t)?t:o);return(Rs(e)?Bl.has(e):Gh(e))||(r||be(t,"get",e),n)?i:he(i)?a&&ua(e)?i:i.value:Kt(i)?r?ql(i):Jt(i):i}}class Xl extends Yl{constructor(t=!1){super(!1,t)}set(t,e,o,r){let n=t[e];if(!this._isShallow){const l=$s(n);if(!$e(o)&&!$s(o)&&(n=Lt(n),o=Lt(o)),!St(t)&&he(n)&&!he(o))return l?!1:(n.value=o,!0)}const a=St(t)&&ua(e)?Number(e)<t.length:Gt(t,e),i=Reflect.set(t,e,o,he(t)?t:r);return t===Lt(r)&&(a?Us(o,n)&&hs(t,"set",e,o,n):hs(t,"add",e,o)),i}deleteProperty(t,e){const o=Gt(t,e),r=t[e],n=Reflect.deleteProperty(t,e);return n&&o&&hs(t,"delete",e,void 0,r),n}has(t,e){const o=Reflect.has(t,e);return(!Rs(e)||!Bl.has(e))&&be(t,"has",e),o}ownKeys(t){return be(t,"iterate",St(t)?"length":io),Reflect.ownKeys(t)}}class Gl extends Yl{constructor(t=!1){super(!0,t)}set(t,e){return{}.NODE_ENV!=="production"&&fs(`Set operation on key "${String(e)}" failed: target is readonly.`,t),!0}deleteProperty(t,e){return{}.NODE_ENV!=="production"&&fs(`Delete operation on key "${String(e)}" failed: target is readonly.`,t),!0}}const jh=new Xl,Hh=new Gl,Wh=new Xl(!0),Zh=new Gl(!0),wa=s=>s,zr=s=>Reflect.getPrototypeOf(s);function qh(s,t,e){return function(...o){const r=this.__v_raw,n=Lt(r),a=no(n),i=s==="entries"||s===Symbol.iterator&&a,l=s==="keys"&&a,c=r[s](...o),u=e?wa:t?ka:Ie;return!t&&be(n,"iterate",l?ba:io),{next(){const{value:d,done:h}=c.next();return h?{value:d,done:h}:{value:i?[u(d[0]),u(d[1])]:u(d),done:h}},[Symbol.iterator](){return this}}}}function Vr(s){return function(...t){if({}.NODE_ENV!=="production"){const e=t[0]?`on key "${t[0]}" `:"";fs(`${Ar(s)} operation ${e}failed: target is readonly.`,Lt(this))}return s==="delete"?!1:s==="clear"?void 0:this}}function Qh(s,t){const e={get(r){const n=this.__v_raw,a=Lt(n),i=Lt(r);s||(Us(r,i)&&be(a,"get",r),be(a,"get",i));const{has:l}=zr(a),c=t?wa:s?ka:Ie;if(l.call(a,r))return c(n.get(r));if(l.call(a,i))return c(n.get(i));n!==a&&n.get(r)},get size(){const r=this.__v_raw;return!s&&be(Lt(r),"iterate",io),Reflect.get(r,"size",r)},has(r){const n=this.__v_raw,a=Lt(n),i=Lt(r);return s||(Us(r,i)&&be(a,"has",r),be(a,"has",i)),r===i?n.has(r):n.has(r)||n.has(i)},forEach(r,n){const a=this,i=a.__v_raw,l=Lt(i),c=t?wa:s?ka:Ie;return!s&&be(l,"iterate",io),i.forEach((u,d)=>r.call(n,c(u),c(d),a))}};return ie(e,s?{add:Vr("add"),set:Vr("set"),delete:Vr("delete"),clear:Vr("clear")}:{add(r){!t&&!$e(r)&&!$s(r)&&(r=Lt(r));const n=Lt(this);return zr(n).has.call(n,r)||(n.add(r),hs(n,"add",r,r)),this},set(r,n){!t&&!$e(n)&&!$s(n)&&(n=Lt(n));const a=Lt(this),{has:i,get:l}=zr(a);let c=i.call(a,r);c?{}.NODE_ENV!=="production"&&Ul(a,i,r):(r=Lt(r),c=i.call(a,r));const u=l.call(a,r);return a.set(r,n),c?Us(n,u)&&hs(a,"set",r,n,u):hs(a,"add",r,n),this},delete(r){const n=Lt(this),{has:a,get:i}=zr(n);let l=a.call(n,r);l?{}.NODE_ENV!=="production"&&Ul(n,a,r):(r=Lt(r),l=a.call(n,r));const c=i?i.call(n,r):void 0,u=n.delete(r);return l&&hs(n,"delete",r,void 0,c),u},clear(){const r=Lt(this),n=r.size!==0,a={}.NODE_ENV!=="production"?no(r)?new Map(r):new Set(r):void 0,i=r.clear();return n&&hs(r,"clear",void 0,void 0,a),i}}),["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=qh(r,s,t)}),e}function Br(s,t){const e=Qh(s,t);return(o,r,n)=>r==="__v_isReactive"?!s:r==="__v_isReadonly"?s:r==="__v_raw"?o:Reflect.get(Gt(e,r)&&r in o?e:o,r,n)}const Kh={get:Br(!1,!1)},Jh={get:Br(!1,!0)},tp={get:Br(!0,!1)},ep={get:Br(!0,!0)};function Ul(s,t,e){const o=Lt(e);if(o!==e&&t.call(s,o)){const r=ca(s);fs(`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 jl=new WeakMap,Hl=new WeakMap,Wl=new WeakMap,Zl=new WeakMap;function sp(s){switch(s){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function op(s){return s.__v_skip||!Object.isExtensible(s)?0:sp(ca(s))}function Jt(s){return $s(s)?s:Yr(s,!1,jh,Kh,jl)}function rp(s){return Yr(s,!1,Wh,Jh,Hl)}function ql(s){return Yr(s,!0,Hh,tp,Wl)}function ps(s){return Yr(s,!0,Zh,ep,Zl)}function Yr(s,t,e,o,r){if(!Kt(s))return{}.NODE_ENV!=="production"&&fs(`value cannot be made ${t?"readonly":"reactive"}: ${String(s)}`),s;if(s.__v_raw&&!(t&&s.__v_isReactive))return s;const n=r.get(s);if(n)return n;const a=op(s);if(a===0)return s;const i=new Proxy(s,a===2?o:e);return r.set(s,i),i}function lo(s){return $s(s)?lo(s.__v_raw):!!(s&&s.__v_isReactive)}function $s(s){return!!(s&&s.__v_isReadonly)}function $e(s){return!!(s&&s.__v_isShallow)}function Xr(s){return s?!!s.__v_raw:!1}function Lt(s){const t=s&&s.__v_raw;return t?Lt(t):s}function np(s){return!Gt(s,"__v_skip")&&Object.isExtensible(s)&&Mr(s,"__v_skip",!0),s}const Ie=s=>Kt(s)?Jt(s):s,ka=s=>Kt(s)?ql(s):s;function he(s){return s?s.__v_isRef===!0:!1}function R(s){return ap(s,!1)}function ap(s,t){return he(s)?s:new ip(s,t)}class ip{constructor(t,e){this.dep=new ya,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=e?t:Lt(t),this._value=e?t:Ie(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,o=this.__v_isShallow||$e(t)||$s(t);t=o?t:Lt(t),Us(t,e)&&(this._rawValue=t,this._value=o?t:Ie(t),{}.NODE_ENV!=="production"?this.dep.trigger({target:this,type:"set",key:"value",newValue:t,oldValue:e}):this.dep.trigger())}}function Ct(s){return he(s)?s.value:s}const lp={get:(s,t,e)=>t==="__v_raw"?s:Ct(Reflect.get(s,t,e)),set:(s,t,e,o)=>{const r=s[t];return he(r)&&!he(e)?(r.value=e,!0):Reflect.set(s,t,e,o)}};function Ql(s){return lo(s)?s:new Proxy(s,lp)}class cp{constructor(t,e,o){this.fn=t,this.setter=e,this._value=void 0,this.dep=new ya(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ko-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!e,this.isSSR=o}notify(){if(this.flags|=16,!(this.flags&8)&&Zt!==this)return Dl(this,!0),!0}get value(){const t={}.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track();return Al(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter?this.setter(t):{}.NODE_ENV!=="production"&&fs("Write operation failed: computed value is readonly")}}function up(s,t,e=!1){let o,r;Ot(s)?o=s:(o=s.get,r=s.set);const n=new cp(o,r,e);return{}.NODE_ENV!=="production"&&t&&!e&&(n.onTrack=t.onTrack,n.onTrigger=t.onTrigger),n}const Gr={},Ur=new WeakMap;let co;function dp(s,t=!1,e=co){if(e){let o=Ur.get(e);o||Ur.set(e,o=[]),o.push(s)}else({}).NODE_ENV!=="production"&&!t&&fs("onWatcherCleanup() was called when there was no active watcher to associate with.")}function fp(s,t,e=Wt){const{immediate:o,deep:r,once:n,scheduler:a,augmentJob:i,call:l}=e,c=_=>{(e.onWarn||fs)("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?_:$e(_)||r===!1||r===0?Ls(_,1):Ls(_);let d,h,p,f,b=!1,w=!1;if(he(s)?(h=()=>s.value,b=$e(s)):lo(s)?(h=()=>u(s),b=!0):St(s)?(w=!0,b=s.some(_=>lo(_)||$e(_)),h=()=>s.map(_=>{if(he(_))return _.value;if(lo(_))return u(_);if(Ot(_))return l?l(_,2):_();({}).NODE_ENV!=="production"&&c(_)})):Ot(s)?t?h=l?()=>l(s,2):s:h=()=>{if(p){Is();try{p()}finally{Fs()}}const _=co;co=d;try{return l?l(s,3,[f]):s(f)}finally{co=_}}:(h=ve,{}.NODE_ENV!=="production"&&c(s)),t&&r){const _=h,k=r===!0?1/0:r;h=()=>Ls(_(),k)}const x=zh(),v=()=>{d.stop(),x&&x.active&&ia(x.effects,d)};if(n&&t){const _=t;t=(...k)=>{_(...k),v()}}let g=w?new Array(s.length).fill(Gr):Gr;const m=_=>{if(!(!(d.flags&1)||!d.dirty&&!_))if(t){const k=d.run();if(r||b||(w?k.some((Z,ot)=>Us(Z,g[ot])):Us(k,g))){p&&p();const Z=co;co=d;try{const ot=[k,g===Gr?void 0:w&&g[0]===Gr?[]:g,f];l?l(t,3,ot):t(...ot),g=k}finally{co=Z}}}else d.run()};return i&&i(m),d=new Il(h),d.scheduler=a?()=>a(m,!1):m,f=_=>dp(_,!1,d),p=d.onStop=()=>{const _=Ur.get(d);if(_){if(l)l(_,4);else for(const k of _)k();Ur.delete(d)}},{}.NODE_ENV!=="production"&&(d.onTrack=e.onTrack,d.onTrigger=e.onTrigger),t?o?m(!0):g=d.run():a?a(m.bind(null,!0),!0):d.run(),v.pause=d.pause.bind(d),v.resume=d.resume.bind(d),v.stop=v,v}function Ls(s,t=1/0,e){if(t<=0||!Kt(s)||s.__v_skip||(e=e||new Set,e.has(s)))return s;if(e.add(s),t--,he(s))Ls(s.value,t,e);else if(St(s))for(let o=0;o<s.length;o++)Ls(s[o],t,e);else if(Cl(s)||no(s))s.forEach(o=>{Ls(o,t,e)});else if($r(s)){for(const o in s)Ls(s[o],t,e);for(const o of Object.getOwnPropertySymbols(s))Object.prototype.propertyIsEnumerable.call(s,o)&&Ls(s[o],t,e)}return s}/**
9
+ **/function fo(o,...t){console.warn(`[Vue warn] ${o}`,...t)}let Ve;class l0{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ve,!t&&Ve&&(this.index=(Ve.scopes||(Ve.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=Ve;try{return Ve=this,t()}finally{Ve=e}}else({}).NODE_ENV!=="production"&&fo("cannot run an inactive effect scope.")}on(){Ve=this}off(){Ve=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 c0(){return Ve}let Qt;const ri=new WeakSet;class Bc{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,Ve&&Ve.active&&Ve.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ri.has(this)&&(ri.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Yc(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Hc(this),Xc(this);const t=Qt,e=oo;Qt=this,oo=!0;try{return this.fn()}finally{({}).NODE_ENV!=="production"&&Qt!==this&&fo("Active effect was not restored correctly - this is likely a Vue internal bug."),Zc(this),Qt=t,oo=e,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)ci(t);this.deps=this.depsTail=void 0,Hc(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ri.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){li(this)&&this.run()}get dirty(){return li(this)}}let Vc=0,as,is;function Yc(o,t=!1){if(o.flags|=8,t){o.next=is,is=o;return}o.next=as,as=o}function ai(){Vc++}function ii(){if(--Vc>0)return;if(is){let t=is;for(is=void 0;t;){const e=t.next;t.next=void 0,t.flags&=-9,t=e}}let o;for(;as;){let t=as;for(as=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 Xc(o){for(let t=o.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Zc(o){let t,e=o.depsTail,n=e;for(;n;){const s=n.prevDep;n.version===-1?(n===e&&(e=s),ci(n),u0(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=s}o.deps=t,o.depsTail=e}function li(o){for(let t=o.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Uc(t.dep.computed)||t.dep.version!==t.version))return!0;return!!o._dirty}function Uc(o){if(o.flags&4&&!(o.flags&16)||(o.flags&=-17,o.globalVersion===ls))return;o.globalVersion=ls;const t=o.dep;if(o.flags|=2,t.version>0&&!o.isSSR&&o.deps&&!li(o)){o.flags&=-3;return}const e=Qt,n=oo;Qt=o,oo=!0;try{Xc(o);const s=o.fn(o._value);(t.version===0||Vo(s,o._value))&&(o._value=s,t.version++)}catch(s){throw t.version++,s}finally{Qt=e,oo=n,Zc(o),o.flags&=-3}}function ci(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)ci(r,!0)}!t&&!--e.sc&&e.map&&e.map.delete(e.key)}function u0(o){const{prevDep:t,nextDep:e}=o;t&&(t.nextDep=e,o.prevDep=void 0),e&&(e.prevDep=t,o.nextDep=void 0)}let oo=!0;const Gc=[];function To(){Gc.push(oo),oo=!1}function Eo(){const o=Gc.pop();oo=o===void 0?!0:o}function Hc(o){const{cleanup:t}=o;if(o.cleanup=void 0,t){const e=Qt;Qt=void 0;try{t()}finally{Qt=e}}}let ls=0;class f0{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 ui=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||!oo||Qt===this.computed)return;let e=this.activeLink;if(e===void 0||e.sub!==Qt)e=this.activeLink=new f0(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(ee({effect:Qt},t)),e}trigger(t){this.version++,ls++,this.notify(t)}notify(t){ai();try{if({}.NODE_ENV!=="production")for(let e=this.subsHead;e;e=e.nextSub)e.sub.onTrigger&&!(e.sub.flags&8)&&e.sub.onTrigger(ee({effect:e.sub},t));for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{ii()}}};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 fi=new WeakMap,fn=Symbol({}.NODE_ENV!=="production"?"Object iterate":""),di=Symbol({}.NODE_ENV!=="production"?"Map keys iterate":""),cs=Symbol({}.NODE_ENV!=="production"?"Array iterate":"");function _e(o,t,e){if(oo&&Qt){let n=fi.get(o);n||fi.set(o,n=new Map);let s=n.get(e);s||(n.set(e,s=new ui),s.map=n,s.key=e),{}.NODE_ENV!=="production"?s.track({target:o,type:t,key:e}):s.track()}}function ho(o,t,e,n,s,r){const a=fi.get(o);if(!a){ls++;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(ai(),t==="clear")a.forEach(i);else{const l=_t(o),c=l&&oi(e);if(l&&e==="length"){const u=Number(n);a.forEach((f,d)=>{(d==="length"||d===cs||!Co(d)&&d>=u)&&i(f)})}else switch((e!==void 0||a.has(void 0))&&i(a.get(e)),c&&i(a.get(cs)),t){case"add":l?c&&i(a.get("length")):(i(a.get(fn)),an(o)&&i(a.get(di)));break;case"delete":l||(i(a.get(fn)),an(o)&&i(a.get(di)));break;case"set":an(o)&&i(a.get(fn));break}}ii()}function Pn(o){const t=It(o);return t===o?t:(_e(t,"iterate",cs),Ae(o)?t:t.map(Pe))}function sr(o){return _e(o=It(o),"iterate",cs),o}const d0={__proto__:null,[Symbol.iterator](){return hi(this,Symbol.iterator,Pe)},concat(...o){return Pn(this).concat(...o.map(t=>_t(t)?Pn(t):t))},entries(){return hi(this,"entries",o=>(o[1]=Pe(o[1]),o))},every(o,t){return So(this,"every",o,t,void 0,arguments)},filter(o,t){return So(this,"filter",o,t,e=>e.map(Pe),arguments)},find(o,t){return So(this,"find",o,t,Pe,arguments)},findIndex(o,t){return So(this,"findIndex",o,t,void 0,arguments)},findLast(o,t){return So(this,"findLast",o,t,Pe,arguments)},findLastIndex(o,t){return So(this,"findLastIndex",o,t,void 0,arguments)},forEach(o,t){return So(this,"forEach",o,t,void 0,arguments)},includes(...o){return pi(this,"includes",o)},indexOf(...o){return pi(this,"indexOf",o)},join(o){return Pn(this).join(o)},lastIndexOf(...o){return pi(this,"lastIndexOf",o)},map(o,t){return So(this,"map",o,t,void 0,arguments)},pop(){return us(this,"pop")},push(...o){return us(this,"push",o)},reduce(o,...t){return Wc(this,"reduce",o,t)},reduceRight(o,...t){return Wc(this,"reduceRight",o,t)},shift(){return us(this,"shift")},some(o,t){return So(this,"some",o,t,void 0,arguments)},splice(...o){return us(this,"splice",o)},toReversed(){return Pn(this).toReversed()},toSorted(o){return Pn(this).toSorted(o)},toSpliced(...o){return Pn(this).toSpliced(...o)},unshift(...o){return us(this,"unshift",o)},values(){return hi(this,"values",Pe)}};function hi(o,t,e){const n=sr(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 h0=Array.prototype;function So(o,t,e,n,s,r){const a=sr(o),i=a!==o&&!Ae(o),l=a[t];if(l!==h0[t]){const f=l.apply(o,r);return i?Pe(f):f}let c=e;a!==o&&(i?c=function(f,d){return e.call(this,Pe(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 Wc(o,t,e,n){const s=sr(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,Pe(i),l,o)}),s[t](r,...n)}function pi(o,t,e){const n=It(o);_e(n,"iterate",cs);const s=n[t](...e);return(s===-1||s===!1)&&cr(e[0])?(e[0]=It(e[0]),n[t](...e)):s}function us(o,t,e=[]){To(),ai();const n=It(o)[t].apply(o,e);return ii(),Eo(),n}const p0=wo("__proto__,__v_isRef,__isVue"),qc=new Set(Object.getOwnPropertyNames(Symbol).filter(o=>o!=="arguments"&&o!=="caller").map(o=>Symbol[o]).filter(Co));function m0(o){Co(o)||(o=String(o));const t=It(this);return _e(t,"has",o),t.hasOwnProperty(o)}class Kc{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?su:nu:r?ou:eu).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const a=_t(t);if(!s){let l;if(a&&(l=d0[e]))return l;if(e==="hasOwnProperty")return m0}const i=Reflect.get(t,e,me(t)?t:n);return(Co(e)?qc.has(e):p0(e))||(s||_e(t,"get",e),r)?i:me(i)?a&&oi(e)?i:i.value:Kt(i)?s?au(i):Wt(i):i}}class Qc extends Kc{constructor(t=!1){super(!1,t)}set(t,e,n,s){let r=t[e];if(!this._isShallow){const l=Oo(r);if(!Ae(n)&&!Oo(n)&&(r=It(r),n=It(n)),!_t(t)&&me(r)&&!me(n))return l?!1:(r.value=n,!0)}const a=_t(t)&&oi(e)?Number(e)<t.length:Lt(t,e),i=Reflect.set(t,e,n,me(t)?t:s);return t===It(s)&&(a?Vo(n,r)&&ho(t,"set",e,n,r):ho(t,"add",e,n)),i}deleteProperty(t,e){const n=Lt(t,e),s=t[e],r=Reflect.deleteProperty(t,e);return r&&n&&ho(t,"delete",e,void 0,s),r}has(t,e){const n=Reflect.has(t,e);return(!Co(e)||!qc.has(e))&&_e(t,"has",e),n}ownKeys(t){return _e(t,"iterate",_t(t)?"length":fn),Reflect.ownKeys(t)}}class Jc extends Kc{constructor(t=!1){super(!0,t)}set(t,e){return{}.NODE_ENV!=="production"&&fo(`Set operation on key "${String(e)}" failed: target is readonly.`,t),!0}deleteProperty(t,e){return{}.NODE_ENV!=="production"&&fo(`Delete operation on key "${String(e)}" failed: target is readonly.`,t),!0}}const g0=new Qc,y0=new Jc,v0=new Qc(!0),b0=new Jc(!0),mi=o=>o,rr=o=>Reflect.getPrototypeOf(o);function _0(o,t,e){return function(...n){const s=this.__v_raw,r=It(s),a=an(r),i=o==="entries"||o===Symbol.iterator&&a,l=o==="keys"&&a,c=s[o](...n),u=e?mi:t?gi:Pe;return!t&&_e(r,"iterate",l?di:fn),{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 ar(o){return function(...t){if({}.NODE_ENV!=="production"){const e=t[0]?`on key "${t[0]}" `:"";fo(`${ln(o)} operation ${e}failed: target is readonly.`,It(this))}return o==="delete"?!1:o==="clear"?void 0:this}}function x0(o,t){const e={get(s){const r=this.__v_raw,a=It(r),i=It(s);o||(Vo(s,i)&&_e(a,"get",s),_e(a,"get",i));const{has:l}=rr(a),c=t?mi:o?gi:Pe;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",fn),Reflect.get(s,"size",s)},has(s){const r=this.__v_raw,a=It(r),i=It(s);return o||(Vo(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?mi:o?gi:Pe;return!o&&_e(l,"iterate",fn),i.forEach((u,f)=>s.call(r,c(u),c(f),a))}};return ee(e,o?{add:ar("add"),set:ar("set"),delete:ar("delete"),clear:ar("clear")}:{add(s){!t&&!Ae(s)&&!Oo(s)&&(s=It(s));const r=It(this);return rr(r).has.call(r,s)||(r.add(s),ho(r,"add",s,s)),this},set(s,r){!t&&!Ae(r)&&!Oo(r)&&(r=It(r));const a=It(this),{has:i,get:l}=rr(a);let c=i.call(a,s);c?{}.NODE_ENV!=="production"&&tu(a,i,s):(s=It(s),c=i.call(a,s));const u=l.call(a,s);return a.set(s,r),c?Vo(r,u)&&ho(a,"set",s,r,u):ho(a,"add",s,r),this},delete(s){const r=It(this),{has:a,get:i}=rr(r);let l=a.call(r,s);l?{}.NODE_ENV!=="production"&&tu(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&&ho(r,"delete",s,void 0,c),u},clear(){const s=It(this),r=s.size!==0,a={}.NODE_ENV!=="production"?an(s)?new Map(s):new Set(s):void 0,i=s.clear();return r&&ho(s,"clear",void 0,void 0,a),i}}),["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=_0(s,o,t)}),e}function ir(o,t){const e=x0(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 k0={get:ir(!1,!1)},w0={get:ir(!1,!0)},C0={get:ir(!0,!1)},T0={get:ir(!0,!0)};function tu(o,t,e){const n=It(e);if(n!==e&&t.call(o,n)){const s=ei(o);fo(`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 eu=new WeakMap,ou=new WeakMap,nu=new WeakMap,su=new WeakMap;function E0(o){switch(o){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function S0(o){return o.__v_skip||!Object.isExtensible(o)?0:E0(ei(o))}function Wt(o){return Oo(o)?o:lr(o,!1,g0,k0,eu)}function ru(o){return lr(o,!1,v0,w0,ou)}function au(o){return lr(o,!0,y0,C0,nu)}function po(o){return lr(o,!0,b0,T0,su)}function lr(o,t,e,n,s){if(!Kt(o))return{}.NODE_ENV!=="production"&&fo(`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=S0(o);if(a===0)return o;const i=new Proxy(o,a===2?n:e);return s.set(o,i),i}function dn(o){return Oo(o)?dn(o.__v_raw):!!(o&&o.__v_isReactive)}function Oo(o){return!!(o&&o.__v_isReadonly)}function Ae(o){return!!(o&&o.__v_isShallow)}function cr(o){return o?!!o.__v_raw:!1}function It(o){const t=o&&o.__v_raw;return t?It(t):o}function O0(o){return!Lt(o,"__v_skip")&&Object.isExtensible(o)&&nr(o,"__v_skip",!0),o}const Pe=o=>Kt(o)?Wt(o):o,gi=o=>Kt(o)?au(o):o;function me(o){return o?o.__v_isRef===!0:!1}function O(o){return iu(o,!1)}function P0(o){return iu(o,!0)}function iu(o,t){return me(o)?o:new R0(o,t)}class R0{constructor(t,e){this.dep=new ui,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=e?t:It(t),this._value=e?t:Pe(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)||Oo(t);t=n?t:It(t),Vo(t,e)&&(this._rawValue=t,this._value=n?t:Pe(t),{}.NODE_ENV!=="production"?this.dep.trigger({target:this,type:"set",key:"value",newValue:t,oldValue:e}):this.dep.trigger())}}function Ot(o){return me(o)?o.value:o}const I0={get:(o,t,e)=>t==="__v_raw"?o:Ot(Reflect.get(o,t,e)),set:(o,t,e,n)=>{const s=o[t];return me(s)&&!me(e)?(s.value=e,!0):Reflect.set(o,t,e,n)}};function lu(o){return dn(o)?o:new Proxy(o,I0)}class A0{constructor(t,e,n){this.fn=t,this.setter=e,this._value=void 0,this.dep=new ui(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ls-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 Yc(this,!0),!0}get value(){const t={}.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track();return Uc(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter?this.setter(t):{}.NODE_ENV!=="production"&&fo("Write operation failed: computed value is readonly")}}function $0(o,t,e=!1){let n,s;Tt(o)?n=o:(n=o.get,s=o.set);const r=new A0(n,s,e);return{}.NODE_ENV!=="production"&&t&&!e&&(r.onTrack=t.onTrack,r.onTrigger=t.onTrigger),r}const ur={},fr=new WeakMap;let hn;function N0(o,t=!1,e=hn){if(e){let n=fr.get(e);n||fr.set(e,n=[]),n.push(o)}else({}).NODE_ENV!=="production"&&!t&&fo("onWatcherCleanup() was called when there was no active watcher to associate with.")}function F0(o,t,e=qt){const{immediate:n,deep:s,once:r,scheduler:a,augmentJob:i,call:l}=e,c=b=>{(e.onWarn||fo)("Invalid watch source: ",b,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},u=b=>s?b:Ae(b)||s===!1||s===0?Po(b,1):Po(b);let f,d,h,p,v=!1,k=!1;if(me(o)?(d=()=>o.value,v=Ae(o)):dn(o)?(d=()=>u(o),v=!0):_t(o)?(k=!0,v=o.some(b=>dn(b)||Ae(b)),d=()=>o.map(b=>{if(me(b))return b.value;if(dn(b))return u(b);if(Tt(b))return l?l(b,2):b();({}).NODE_ENV!=="production"&&c(b)})):Tt(o)?t?d=l?()=>l(o,2):o:d=()=>{if(h){To();try{h()}finally{Eo()}}const b=hn;hn=f;try{return l?l(o,3,[p]):o(p)}finally{hn=b}}:(d=be,{}.NODE_ENV!=="production"&&c(o)),t&&s){const b=d,_=s===!0?1/0:s;d=()=>Po(b(),_)}const x=c0(),m=()=>{f.stop(),x&&x.active&&Ja(x.effects,f)};if(r&&t){const b=t;t=(..._)=>{b(..._),m()}}let g=k?new Array(o.length).fill(ur):ur;const y=b=>{if(!(!(f.flags&1)||!f.dirty&&!b))if(t){const _=f.run();if(s||v||(k?_.some(($,Y)=>Vo($,g[Y])):Vo(_,g))){h&&h();const $=hn;hn=f;try{const Y=[_,g===ur?void 0:k&&g[0]===ur?[]:g,p];l?l(t,3,Y):t(...Y),g=_}finally{hn=$}}}else f.run()};return i&&i(y),f=new Bc(d),f.scheduler=a?()=>a(y,!1):y,p=b=>N0(b,!1,f),h=f.onStop=()=>{const b=fr.get(f);if(b){if(l)l(b,4);else for(const _ of b)_();fr.delete(f)}},{}.NODE_ENV!=="production"&&(f.onTrack=e.onTrack,f.onTrigger=e.onTrigger),t?n?y(!0):g=f.run():a?a(y.bind(null,!0),!0):f.run(),m.pause=f.pause.bind(f),m.resume=f.resume.bind(f),m.stop=m,m}function Po(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--,me(o))Po(o.value,t,e);else if(_t(o))for(let n=0;n<o.length;n++)Po(o[n],t,e);else if(Nc(o)||an(o))o.forEach(n=>{Po(n,t,e)});else if(er(o)){for(const n in o)Po(o[n],t,e);for(const n of Object.getOwnPropertySymbols(o))Object.prototype.propertyIsEnumerable.call(o,n)&&Po(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 uo=[];function jr(s){uo.push(s)}function Hr(){uo.pop()}let Ca=!1;function ut(s,...t){if(Ca)return;Ca=!0,Is();const e=uo.length?uo[uo.length-1].component:null,o=e&&e.appContext.config.warnHandler,r=hp();if(o)Oo(o,e,11,[s+t.map(n=>{var a,i;return(i=(a=n.toString)==null?void 0:a.call(n))!=null?i:JSON.stringify(n)}).join(""),e&&e.proxy,r.map(({vnode:n})=>`at <${dn(e,n.type)}>`).join(`
14
- `),r]);else{const n=[`[Vue warn]: ${s}`,...t];r.length&&n.push(`
15
- `,...pp(r)),console.warn(...n)}Fs(),Ca=!1}function hp(){let s=uo[uo.length-1];if(!s)return[];const t=[];for(;s;){const e=t[0];e&&e.vnode===s?e.recurseCount++:t.push({vnode:s,recurseCount:0});const o=s.component&&s.component.parent;s=o&&o.vnode}return t}function pp(s){const t=[];return s.forEach((e,o)=>{t.push(...o===0?[]:[`
16
- `],...mp(e))}),t}function mp({vnode:s,recurseCount:t}){const e=t>0?`... (${t} recursive calls)`:"",o=s.component?s.component.parent==null:!1,r=` at <${dn(s.component,s.type,o)}`,n=">"+e;return s.props?[r,...gp(s.props),n]:[r+n]}function gp(s){const t=[],e=Object.keys(s);return e.slice(0,3).forEach(o=>{t.push(...Kl(o,s[o]))}),e.length>3&&t.push(" ..."),t}function Kl(s,t,e){return ue(t)?(t=JSON.stringify(t),e?t:[`${s}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?e?t:[`${s}=${t}`]:he(t)?(t=Kl(s,Lt(t.value),!0),e?t:[`${s}=Ref<`,t,">"]):Ot(t)?[`${s}=fn${t.name?`<${t.name}>`:""}`]:(t=Lt(t),e?t:[`${s}=`,t])}const Ta={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 Oo(s,t,e,o){try{return o?s(...o):s()}catch(r){er(r,t,e)}}function ms(s,t,e,o){if(Ot(s)){const r=Oo(s,t,e,o);return r&&la(r)&&r.catch(n=>{er(n,t,e)}),r}if(St(s)){const r=[];for(let n=0;n<s.length;n++)r.push(ms(s[n],t,e,o));return r}else({}).NODE_ENV!=="production"&&ut(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof s}`)}function er(s,t,e,o=!0){const r=t?t.vnode:null,{errorHandler:n,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||Wt;if(t){let i=t.parent;const l=t.proxy,c={}.NODE_ENV!=="production"?Ta[e]:`https://vuejs.org/error-reference/#runtime-${e}`;for(;i;){const u=i.ec;if(u){for(let d=0;d<u.length;d++)if(u[d](s,l,c)===!1)return}i=i.parent}if(n){Is(),Oo(n,null,10,[s,l,c]),Fs();return}}yp(s,e,r,o,a)}function yp(s,t,e,o=!0,r=!1){if({}.NODE_ENV!=="production"){const n=Ta[t];if(e&&jr(e),ut(`Unhandled error${n?` during execution of ${n}`:""}`),e&&Hr(),o)throw s;console.error(s)}else{if(r)throw s;console.error(s)}}const Le=[];let gs=-1;const Ro=[];let js=null,Io=0;const Jl=Promise.resolve();let Wr=null;const vp=100;function tc(s){const t=Wr||Jl;return s?t.then(this?s.bind(this):s):t}function bp(s){let t=gs+1,e=Le.length;for(;t<e;){const o=t+e>>>1,r=Le[o],n=sr(r);n<s||n===s&&r.flags&2?t=o+1:e=o}return t}function Zr(s){if(!(s.flags&1)){const t=sr(s),e=Le[Le.length-1];!e||!(s.flags&2)&&t>=sr(e)?Le.push(s):Le.splice(bp(t),0,s),s.flags|=1,ec()}}function ec(){Wr||(Wr=Jl.then(nc))}function sc(s){St(s)?Ro.push(...s):js&&s.id===-1?js.splice(Io+1,0,s):s.flags&1||(Ro.push(s),s.flags|=1),ec()}function oc(s,t,e=gs+1){for({}.NODE_ENV!=="production"&&(t=t||new Map);e<Le.length;e++){const o=Le[e];if(o&&o.flags&2){if(s&&o.id!==s.uid||{}.NODE_ENV!=="production"&&Sa(t,o))continue;Le.splice(e,1),e--,o.flags&4&&(o.flags&=-2),o(),o.flags&4||(o.flags&=-2)}}}function rc(s){if(Ro.length){const t=[...new Set(Ro)].sort((e,o)=>sr(e)-sr(o));if(Ro.length=0,js){js.push(...t);return}for(js=t,{}.NODE_ENV!=="production"&&(s=s||new Map),Io=0;Io<js.length;Io++){const e=js[Io];({}).NODE_ENV!=="production"&&Sa(s,e)||(e.flags&4&&(e.flags&=-2),e.flags&8||e(),e.flags&=-2)}js=null,Io=0}}const sr=s=>s.id==null?s.flags&2?-1:1/0:s.id;function nc(s){({}).NODE_ENV!=="production"&&(s=s||new Map);const t={}.NODE_ENV!=="production"?e=>Sa(s,e):ve;try{for(gs=0;gs<Le.length;gs++){const e=Le[gs];if(e&&!(e.flags&8)){if({}.NODE_ENV!=="production"&&t(e))continue;e.flags&4&&(e.flags&=-2),Oo(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2)}}}finally{for(;gs<Le.length;gs++){const e=Le[gs];e&&(e.flags&=-2)}gs=-1,Le.length=0,rc(s),Wr=null,(Le.length||Ro.length)&&nc(s)}}function Sa(s,t){const e=s.get(t)||0;if(e>vp){const o=t.i,r=o&&ou(o.type);return er(`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 s.set(t,e+1),!1}let ys=!1;const qr=new Map;({}).NODE_ENV!=="production"&&(Zo().__VUE_HMR_RUNTIME__={createRecord:Ea(ac),rerender:Ea(wp),reload:Ea(kp)});const fo=new Map;function _p(s){const t=s.type.__hmrId;let e=fo.get(t);e||(ac(t,s.type),e=fo.get(t)),e.instances.add(s)}function xp(s){fo.get(s.type.__hmrId).instances.delete(s)}function ac(s,t){return fo.has(s)?!1:(fo.set(s,{initialDef:Qr(t),instances:new Set}),!0)}function Qr(s){return ru(s)?s.__vccOpts:s}function wp(s,t){const e=fo.get(s);e&&(e.initialDef.render=t,[...e.instances].forEach(o=>{t&&(o.render=t,Qr(o.type).render=t),o.renderCache=[],ys=!0,o.update(),ys=!1}))}function kp(s,t){const e=fo.get(s);if(!e)return;t=Qr(t),ic(e.initialDef,t);const o=[...e.instances];for(let r=0;r<o.length;r++){const n=o[r],a=Qr(n.type);let i=qr.get(a);i||(a!==e.initialDef&&ic(a,t),qr.set(a,i=new Set)),i.add(n),n.appContext.propsCache.delete(n.type),n.appContext.emitsCache.delete(n.type),n.appContext.optionsCache.delete(n.type),n.ceReload?(i.add(n),n.ceReload(t.styles),i.delete(n)):n.parent?Zr(()=>{ys=!0,n.parent.update(),ys=!1,i.delete(n)}):n.appContext.reload?n.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),n.root.ce&&n!==n.root&&n.root.ce._removeChildStyle(a)}sc(()=>{qr.clear()})}function ic(s,t){ie(s,t);for(const e in s)e!=="__file"&&!(e in t)&&delete s[e]}function Ea(s){return(t,e)=>{try{return s(t,e)}catch(o){console.error(o),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let vs,or=[],Pa=!1;function rr(s,...t){vs?vs.emit(s,...t):Pa||or.push({event:s,args:t})}function lc(s,t){var e,o;vs=s,vs?(vs.enabled=!0,or.forEach(({event:r,args:n})=>vs.emit(r,...n)),or=[]):typeof window<"u"&&window.HTMLElement&&!((o=(e=window.navigator)==null?void 0:e.userAgent)!=null&&o.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(n=>{lc(n,t)}),setTimeout(()=>{vs||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Pa=!0,or=[])},3e3)):(Pa=!0,or=[])}function Cp(s,t){rr("app:init",s,t,{Fragment:Vt,Text:ir,Comment:Xe,Static:lr})}function Tp(s){rr("app:unmount",s)}const Sp=Oa("component:added"),cc=Oa("component:updated"),Ep=Oa("component:removed"),Pp=s=>{vs&&typeof vs.cleanupBuffer=="function"&&!vs.cleanupBuffer(s)&&Ep(s)};/*! #__NO_SIDE_EFFECTS__ */function Oa(s){return t=>{rr(s,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const Op=uc("perf:start"),Rp=uc("perf:end");function uc(s){return(t,e,o)=>{rr(s,t.appContext.app,t.uid,t,e,o)}}function Ip(s,t,e){rr("component:emit",s.appContext.app,s,t,e)}let _e=null,dc=null;function Kr(s){const t=_e;return _e=s,dc=s&&s.type.__scopeId||null,t}function bt(s,t=_e,e){if(!t||s._n)return s;const o=(...r)=>{o._d&&Gc(-1);const n=Kr(t);let a;try{a=s(...r)}finally{Kr(n),o._d&&Gc(1)}return{}.NODE_ENV!=="production"&&cc(t),a};return o._n=!0,o._c=!0,o._d=!0,o}function fc(s){kh(s)&&ut("Do not use built-in directive ids as custom directive id: "+s)}function ho(s,t){if(_e===null)return{}.NODE_ENV!=="production"&&ut("withDirectives can only be used inside render functions."),s;const e=un(_e),o=s.dirs||(s.dirs=[]);for(let r=0;r<t.length;r++){let[n,a,i,l=Wt]=t[r];n&&(Ot(n)&&(n={mounted:n,updated:n}),n.deep&&Ls(a),o.push({dir:n,instance:e,value:a,oldValue:void 0,arg:i,modifiers:l}))}return s}function po(s,t,e,o){const r=s.dirs,n=t&&t.dirs;for(let a=0;a<r.length;a++){const i=r[a];n&&(i.oldValue=n[a].value);let l=i.dir[o];l&&(Is(),ms(l,e,8,[s.el,i,s,t]),Fs())}}const Fp=Symbol("_vte"),Dp=s=>s.__isTeleport;function Ra(s,t){s.shapeFlag&6&&s.component?(s.transition=t,Ra(s.component.subTree,t)):s.shapeFlag&128?(s.ssContent.transition=t.clone(s.ssContent),s.ssFallback.transition=t.clone(s.ssFallback)):s.transition=t}/*! #__NO_SIDE_EFFECTS__ */function H(s,t){return Ot(s)?(()=>ie({name:s.name},t,{setup:s}))():s}function hc(s){s.ids=[s.ids[0]+s.ids[2]+++"-",0,0]}const $p=new WeakSet;function Jr(s,t,e,o,r=!1){if(St(s)){s.forEach((f,b)=>Jr(f,t&&(St(t)?t[b]:t),e,o,r));return}if(Fo(o)&&!r){o.shapeFlag&512&&o.type.__asyncResolved&&o.component.subTree.component&&Jr(s,t,e,o.component.subTree);return}const n=o.shapeFlag&4?un(o.component):o.el,a=r?null:n,{i,r:l}=s;if({}.NODE_ENV!=="production"&&!i){ut("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");return}const c=t&&t.r,u=i.refs===Wt?i.refs={}:i.refs,d=i.setupState,h=Lt(d),p=d===Wt?()=>!1:f=>({}).NODE_ENV!=="production"&&(Gt(h,f)&&!he(h[f])&&ut(`Template ref "${f}" used on a non-ref value. It will not work in the production build.`),$p.has(h[f]))?!1:Gt(h,f);if(c!=null&&c!==l&&(ue(c)?(u[c]=null,p(c)&&(d[c]=null)):he(c)&&(c.value=null)),Ot(l))Oo(l,i,12,[a,u]);else{const f=ue(l),b=he(l);if(f||b){const w=()=>{if(s.f){const x=f?p(l)?d[l]:u[l]:l.value;r?St(x)&&ia(x,n):St(x)?x.includes(n)||x.push(n):f?(u[l]=[n],p(l)&&(d[l]=u[l])):(l.value=[n],s.k&&(u[s.k]=l.value))}else f?(u[l]=a,p(l)&&(d[l]=a)):b?(l.value=a,s.k&&(u[s.k]=a)):{}.NODE_ENV!=="production"&&ut("Invalid template ref type:",l,`(${typeof l})`)};a?(w.id=-1,qe(w,e)):w()}else({}).NODE_ENV!=="production"&&ut("Invalid template ref type:",l,`(${typeof l})`)}}Zo().requestIdleCallback,Zo().cancelIdleCallback;const Fo=s=>!!s.type.__asyncLoader,Ia=s=>s.type.__isKeepAlive;function Lp(s,t){pc(s,"a",t)}function Ap(s,t){pc(s,"da",t)}function pc(s,t,e=Ce){const o=s.__wdc||(s.__wdc=()=>{let r=e;for(;r;){if(r.isDeactivated)return;r=r.parent}return s()});if(tn(t,o,e),e){let r=e.parent;for(;r&&r.parent;)Ia(r.parent.vnode)&&Mp(o,t,e,r),r=r.parent}}function Mp(s,t,e,o){const r=tn(t,s,o,!0);re(()=>{ia(o[t],r)},e)}function tn(s,t,e=Ce,o=!1){if(e){const r=e[s]||(e[s]=[]),n=t.__weh||(t.__weh=(...a)=>{Is();const i=fr(e),l=ms(t,e,s,a);return i(),Fs(),l});return o?r.unshift(n):r.push(n),n}else if({}.NODE_ENV!=="production"){const r=ao(Ta[s].replace(/ hook$/,""));ut(`${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 As=s=>(t,e=Ce)=>{(!hr||s==="sp")&&tn(s,(...o)=>t(...o),e)},Np=As("bm"),es=As("m"),zp=As("bu"),Vp=As("u"),Bp=As("bum"),re=As("um"),Yp=As("sp"),Xp=As("rtg"),Gp=As("rtc");function Up(s,t=Ce){tn("ec",s,t)}const jp=Symbol.for("v-ndc");function xe(s,t,e,o){let r;const n=e&&e[o],a=St(s);if(a||ue(s)){const i=a&&lo(s);let l=!1;i&&(l=!$e(s),s=Nr(s)),r=new Array(s.length);for(let c=0,u=s.length;c<u;c++)r[c]=t(l?Ie(s[c]):s[c],c,void 0,n&&n[c])}else if(typeof s=="number"){({}).NODE_ENV!=="production"&&!Number.isInteger(s)&&ut(`The v-for range expect an integer value but got ${s}.`),r=new Array(s);for(let i=0;i<s;i++)r[i]=t(i+1,i,void 0,n&&n[i])}else if(Kt(s))if(s[Symbol.iterator])r=Array.from(s,(i,l)=>t(i,l,void 0,n&&n[l]));else{const i=Object.keys(s);r=new Array(i.length);for(let l=0,c=i.length;l<c;l++){const u=i[l];r[l]=t(s[u],u,l,n&&n[l])}}else r=[];return e&&(e[o]=r),r}function _t(s,t,e={},o,r){if(_e.ce||_e.parent&&Fo(_e.parent)&&_e.parent.ce)return t!=="default"&&(e.name=t),L(),$t(Vt,null,[it("slot",e,o&&o())],64);let n=s[t];({}).NODE_ENV!=="production"&&n&&n.length>1&&(ut("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),n=()=>[]),n&&n._c&&(n._d=!1),L();const a=n&&mc(n(e)),i=e.key||a&&a.key,l=$t(Vt,{key:(i&&!Rs(i)?i:`_${t}`)+(!a&&o?"_fb":"")},a||(o?o():[]),a&&s._===1?64:-2);return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),n&&n._c&&(n._d=!0),l}function mc(s){return s.some(t=>yo(t)?!(t.type===Xe||t.type===Vt&&!mc(t.children)):!0)?s:null}const Fa=s=>s?Kc(s)?un(s):Fa(s.parent):null,mo=ie(Object.create(null),{$:s=>s,$el:s=>s.vnode.el,$data:s=>s.data,$props:s=>({}).NODE_ENV!=="production"?ps(s.props):s.props,$attrs:s=>({}).NODE_ENV!=="production"?ps(s.attrs):s.attrs,$slots:s=>({}).NODE_ENV!=="production"?ps(s.slots):s.slots,$refs:s=>({}).NODE_ENV!=="production"?ps(s.refs):s.refs,$parent:s=>Fa(s.parent),$root:s=>Fa(s.root),$host:s=>s.ce,$emit:s=>s.emit,$options:s=>Aa(s),$forceUpdate:s=>s.f||(s.f=()=>{Zr(s.update)}),$nextTick:s=>s.n||(s.n=tc.bind(s.proxy)),$watch:s=>Em.bind(s)}),Da=s=>s==="_"||s==="$",$a=(s,t)=>s!==Wt&&!s.__isScriptSetup&&Gt(s,t),gc={get({_:s},t){if(t==="__v_skip")return!0;const{ctx:e,setupState:o,data:r,props:n,accessCache:a,type:i,appContext:l}=s;if({}.NODE_ENV!=="production"&&t==="__isVue")return!0;let c;if(t[0]!=="$"){const p=a[t];if(p!==void 0)switch(p){case 1:return o[t];case 2:return r[t];case 4:return e[t];case 3:return n[t]}else{if($a(o,t))return a[t]=1,o[t];if(r!==Wt&&Gt(r,t))return a[t]=2,r[t];if((c=s.propsOptions[0])&&Gt(c,t))return a[t]=3,n[t];if(e!==Wt&&Gt(e,t))return a[t]=4,e[t];La&&(a[t]=0)}}const u=mo[t];let d,h;if(u)return t==="$attrs"?(be(s.attrs,"get",""),{}.NODE_ENV!=="production"&&an()):{}.NODE_ENV!=="production"&&t==="$slots"&&be(s,"get",t),u(s);if((d=i.__cssModules)&&(d=d[t]))return d;if(e!==Wt&&Gt(e,t))return a[t]=4,e[t];if(h=l.config.globalProperties,Gt(h,t))return h[t];({}).NODE_ENV!=="production"&&_e&&(!ue(t)||t.indexOf("__v")!==0)&&(r!==Wt&&Da(t[0])&&Gt(r,t)?ut(`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.`):s===_e&&ut(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:s},t,e){const{data:o,setupState:r,ctx:n}=s;return $a(r,t)?(r[t]=e,!0):{}.NODE_ENV!=="production"&&r.__isScriptSetup&&Gt(r,t)?(ut(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):o!==Wt&&Gt(o,t)?(o[t]=e,!0):Gt(s.props,t)?({}.NODE_ENV!=="production"&&ut(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in s?({}.NODE_ENV!=="production"&&ut(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):({}.NODE_ENV!=="production"&&t in s.appContext.config.globalProperties?Object.defineProperty(n,t,{enumerable:!0,configurable:!0,value:e}):n[t]=e,!0)},has({_:{data:s,setupState:t,accessCache:e,ctx:o,appContext:r,propsOptions:n}},a){let i;return!!e[a]||s!==Wt&&Gt(s,a)||$a(t,a)||(i=n[0])&&Gt(i,a)||Gt(o,a)||Gt(mo,a)||Gt(r.config.globalProperties,a)},defineProperty(s,t,e){return e.get!=null?s._.accessCache[t]=0:Gt(e,"value")&&this.set(s,t,e.value,null),Reflect.defineProperty(s,t,e)}};({}).NODE_ENV!=="production"&&(gc.ownKeys=s=>(ut("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(s)));function Hp(s){const t={};return Object.defineProperty(t,"_",{configurable:!0,enumerable:!1,get:()=>s}),Object.keys(mo).forEach(e=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,get:()=>mo[e](s),set:ve})}),t}function Wp(s){const{ctx:t,propsOptions:[e]}=s;e&&Object.keys(e).forEach(o=>{Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>s.props[o],set:ve})})}function Zp(s){const{ctx:t,setupState:e}=s;Object.keys(Lt(e)).forEach(o=>{if(!e.__isScriptSetup){if(Da(o[0])){ut(`setup() return property ${JSON.stringify(o)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>e[o],set:ve})}})}function qp(){return Qp().slots}function Qp(){const s=qc();return{}.NODE_ENV!=="production"&&!s&&ut("useContext() called without active instance."),s.setupContext||(s.setupContext=su(s))}function yc(s){return St(s)?s.reduce((t,e)=>(t[e]=null,t),{}):s}function Kp(){const s=Object.create(null);return(t,e)=>{s[e]?ut(`${t} property "${e}" is already defined in ${s[e]}.`):s[e]=t}}let La=!0;function Jp(s){const t=Aa(s),e=s.proxy,o=s.ctx;La=!1,t.beforeCreate&&vc(t.beforeCreate,s,"bc");const{data:r,computed:n,methods:a,watch:i,provide:l,inject:c,created:u,beforeMount:d,mounted:h,beforeUpdate:p,updated:f,activated:b,deactivated:w,beforeDestroy:x,beforeUnmount:v,destroyed:g,unmounted:m,render:_,renderTracked:k,renderTriggered:Z,errorCaptured:ot,serverPrefetch:I,expose:$,inheritAttrs:M,components:D,directives:N,filters:X}=t,rt={}.NODE_ENV!=="production"?Kp():null;if({}.NODE_ENV!=="production"){const[W]=s.propsOptions;if(W)for(const lt in W)rt("Props",lt)}if(c&&tm(c,o,rt),a)for(const W in a){const lt=a[W];Ot(lt)?({}.NODE_ENV!=="production"?Object.defineProperty(o,W,{value:lt.bind(e),configurable:!0,enumerable:!0,writable:!0}):o[W]=lt.bind(e),{}.NODE_ENV!=="production"&&rt("Methods",W)):{}.NODE_ENV!=="production"&&ut(`Method "${W}" has type "${typeof lt}" in the component definition. Did you reference the function correctly?`)}if(r){({}).NODE_ENV!=="production"&&!Ot(r)&&ut("The data option must be a function. Plain object usage is no longer supported.");const W=r.call(e,e);if({}.NODE_ENV!=="production"&&la(W)&&ut("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!Kt(W))({}).NODE_ENV!=="production"&&ut("data() should return an object.");else if(s.data=Jt(W),{}.NODE_ENV!=="production")for(const lt in W)rt("Data",lt),Da(lt[0])||Object.defineProperty(o,lt,{configurable:!0,enumerable:!0,get:()=>W[lt],set:ve})}if(La=!0,n)for(const W in n){const lt=n[W],G=Ot(lt)?lt.bind(e,e):Ot(lt.get)?lt.get.bind(e,e):ve;({}).NODE_ENV!=="production"&&G===ve&&ut(`Computed property "${W}" has no getter.`);const j=!Ot(lt)&&Ot(lt.set)?lt.set.bind(e):{}.NODE_ENV!=="production"?()=>{ut(`Write operation failed: computed property "${W}" is readonly.`)}:ve,gt=Wm({get:G,set:j});Object.defineProperty(o,W,{enumerable:!0,configurable:!0,get:()=>gt.value,set:pt=>gt.value=pt}),{}.NODE_ENV!=="production"&&rt("Computed",W)}if(i)for(const W in i)bc(i[W],o,e,W);if(l){const W=Ot(l)?l.call(e):l;Reflect.ownKeys(W).forEach(lt=>{am(lt,W[lt])})}u&&vc(u,s,"c");function Q(W,lt){St(lt)?lt.forEach(G=>W(G.bind(e))):lt&&W(lt.bind(e))}if(Q(Np,d),Q(es,h),Q(zp,p),Q(Vp,f),Q(Lp,b),Q(Ap,w),Q(Up,ot),Q(Gp,k),Q(Xp,Z),Q(Bp,v),Q(re,m),Q(Yp,I),St($))if($.length){const W=s.exposed||(s.exposed={});$.forEach(lt=>{Object.defineProperty(W,lt,{get:()=>e[lt],set:G=>e[lt]=G})})}else s.exposed||(s.exposed={});_&&s.render===ve&&(s.render=_),M!=null&&(s.inheritAttrs=M),D&&(s.components=D),N&&(s.directives=N),I&&hc(s)}function tm(s,t,e=ve){St(s)&&(s=Ma(s));for(const o in s){const r=s[o];let n;Kt(r)?"default"in r?n=sn(r.from||o,r.default,!0):n=sn(r.from||o):n=sn(r),he(n)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>n.value,set:a=>n.value=a}):t[o]=n,{}.NODE_ENV!=="production"&&e("Inject",o)}}function vc(s,t,e){ms(St(s)?s.map(o=>o.bind(t.proxy)):s.bind(t.proxy),t,e)}function bc(s,t,e,o){let r=o.includes(".")?Nc(e,o):()=>e[o];if(ue(s)){const n=t[s];Ot(n)?Et(r,n):{}.NODE_ENV!=="production"&&ut(`Invalid watch handler specified by key "${s}"`,n)}else if(Ot(s))Et(r,s.bind(e));else if(Kt(s))if(St(s))s.forEach(n=>bc(n,t,e,o));else{const n=Ot(s.handler)?s.handler.bind(e):t[s.handler];Ot(n)?Et(r,n,s):{}.NODE_ENV!=="production"&&ut(`Invalid watch handler specified by key "${s.handler}"`,n)}else({}).NODE_ENV!=="production"&&ut(`Invalid watch option: "${o}"`,s)}function Aa(s){const t=s.type,{mixins:e,extends:o}=t,{mixins:r,optionsCache:n,config:{optionMergeStrategies:a}}=s.appContext,i=n.get(t);let l;return i?l=i:!r.length&&!e&&!o?l=t:(l={},r.length&&r.forEach(c=>en(l,c,a,!0)),en(l,t,a)),Kt(t)&&n.set(t,l),l}function en(s,t,e,o=!1){const{mixins:r,extends:n}=t;n&&en(s,n,e,!0),r&&r.forEach(a=>en(s,a,e,!0));for(const a in t)if(o&&a==="expose")({}).NODE_ENV!=="production"&&ut('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const i=em[a]||e&&e[a];s[a]=i?i(s[a],t[a]):t[a]}return s}const em={data:_c,props:xc,emits:xc,methods:nr,computed:nr,beforeCreate:Ae,created:Ae,beforeMount:Ae,mounted:Ae,beforeUpdate:Ae,updated:Ae,beforeDestroy:Ae,beforeUnmount:Ae,destroyed:Ae,unmounted:Ae,activated:Ae,deactivated:Ae,errorCaptured:Ae,serverPrefetch:Ae,components:nr,directives:nr,watch:om,provide:_c,inject:sm};function _c(s,t){return t?s?function(){return ie(Ot(s)?s.call(this,this):s,Ot(t)?t.call(this,this):t)}:t:s}function sm(s,t){return nr(Ma(s),Ma(t))}function Ma(s){if(St(s)){const t={};for(let e=0;e<s.length;e++)t[s[e]]=s[e];return t}return s}function Ae(s,t){return s?[...new Set([].concat(s,t))]:t}function nr(s,t){return s?ie(Object.create(null),s,t):t}function xc(s,t){return s?St(s)&&St(t)?[...new Set([...s,...t])]:ie(Object.create(null),yc(s),yc(t??{})):t}function om(s,t){if(!s)return t;if(!t)return s;const e=ie(Object.create(null),s);for(const o in t)e[o]=Ae(s[o],t[o]);return e}function wc(){return{app:null,config:{isNativeTag:xh,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 rm=0;function nm(s,t){return function(o,r=null){Ot(o)||(o=ie({},o)),r!=null&&!Kt(r)&&({}.NODE_ENV!=="production"&&ut("root props passed to app.mount() must be an object."),r=null);const n=wc(),a=new WeakSet,i=[];let l=!1;const c=n.app={_uid:rm++,_component:o,_props:r,_container:null,_context:n,_instance:null,version:nu,get config(){return n.config},set config(u){({}).NODE_ENV!=="production"&&ut("app.config cannot be replaced. Modify individual options instead.")},use(u,...d){return a.has(u)?{}.NODE_ENV!=="production"&&ut("Plugin has already been applied to target app."):u&&Ot(u.install)?(a.add(u),u.install(c,...d)):Ot(u)?(a.add(u),u(c,...d)):{}.NODE_ENV!=="production"&&ut('A plugin must either be a function or an object with an "install" function.'),c},mixin(u){return n.mixins.includes(u)?{}.NODE_ENV!=="production"&&ut("Mixin has already been applied to target app"+(u.name?`: ${u.name}`:"")):n.mixins.push(u),c},component(u,d){return{}.NODE_ENV!=="production"&&Za(u,n.config),d?({}.NODE_ENV!=="production"&&n.components[u]&&ut(`Component "${u}" has already been registered in target app.`),n.components[u]=d,c):n.components[u]},directive(u,d){return{}.NODE_ENV!=="production"&&fc(u),d?({}.NODE_ENV!=="production"&&n.directives[u]&&ut(`Directive "${u}" has already been registered in target app.`),n.directives[u]=d,c):n.directives[u]},mount(u,d,h){if(l)({}).NODE_ENV!=="production"&&ut("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__&&ut("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 p=c._ceVNode||it(o,r);return p.appContext=n,h===!0?h="svg":h===!1&&(h=void 0),{}.NODE_ENV!=="production"&&(n.reload=()=>{s(Ws(p),u,h)}),d&&t?t(p,u):s(p,u,h),l=!0,c._container=u,u.__vue_app__=c,{}.NODE_ENV!=="production"&&(c._instance=p.component,Cp(c,nu)),un(p.component)}},onUnmount(u){({}).NODE_ENV!=="production"&&typeof u!="function"&&ut(`Expected function as first argument to app.onUnmount(), but got ${typeof u}`),i.push(u)},unmount(){l?(ms(i,c._instance,16),s(null,c._container),{}.NODE_ENV!=="production"&&(c._instance=null,Tp(c)),delete c._container.__vue_app__):{}.NODE_ENV!=="production"&&ut("Cannot unmount an app that is not mounted.")},provide(u,d){return{}.NODE_ENV!=="production"&&u in n.provides&&ut(`App already provides property with key "${String(u)}". It will be overwritten with the new value.`),n.provides[u]=d,c},runWithContext(u){const d=Do;Do=c;try{return u()}finally{Do=d}}};return c}}let Do=null;function am(s,t){if(!Ce)({}).NODE_ENV!=="production"&&ut("provide() can only be used inside setup().");else{let e=Ce.provides;const o=Ce.parent&&Ce.parent.provides;o===e&&(e=Ce.provides=Object.create(o)),e[s]=t}}function sn(s,t,e=!1){const o=Ce||_e;if(o||Do){const r=Do?Do._context.provides:o?o.parent==null?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:void 0;if(r&&s in r)return r[s];if(arguments.length>1)return e&&Ot(t)?t.call(o&&o.proxy):t;({}).NODE_ENV!=="production"&&ut(`injection "${String(s)}" not found.`)}else({}).NODE_ENV!=="production"&&ut("inject() can only be used inside setup() or functional components.")}const kc={},Cc=()=>Object.create(kc),Tc=s=>Object.getPrototypeOf(s)===kc;function im(s,t,e,o=!1){const r={},n=Cc();s.propsDefaults=Object.create(null),Sc(s,t,r,n);for(const a in s.propsOptions[0])a in r||(r[a]=void 0);({}).NODE_ENV!=="production"&&Oc(t||{},r,s),e?s.props=o?r:rp(r):s.type.props?s.props=r:s.props=n,s.attrs=n}function lm(s){for(;s;){if(s.type.__hmrId)return!0;s=s.parent}}function cm(s,t,e,o){const{props:r,attrs:n,vnode:{patchFlag:a}}=s,i=Lt(r),[l]=s.propsOptions;let c=!1;if(!({}.NODE_ENV!=="production"&&lm(s))&&(o||a>0)&&!(a&16)){if(a&8){const u=s.vnode.dynamicProps;for(let d=0;d<u.length;d++){let h=u[d];if(nn(s.emitsOptions,h))continue;const p=t[h];if(l)if(Gt(n,h))p!==n[h]&&(n[h]=p,c=!0);else{const f=Ye(h);r[f]=Na(l,i,f,p,s,!1)}else p!==n[h]&&(n[h]=p,c=!0)}}}else{Sc(s,t,r,n)&&(c=!0);let u;for(const d in i)(!t||!Gt(t,d)&&((u=We(d))===d||!Gt(t,u)))&&(l?e&&(e[d]!==void 0||e[u]!==void 0)&&(r[d]=Na(l,i,d,void 0,s,!0)):delete r[d]);if(n!==i)for(const d in n)(!t||!Gt(t,d))&&(delete n[d],c=!0)}c&&hs(s.attrs,"set",""),{}.NODE_ENV!=="production"&&Oc(t||{},r,s)}function Sc(s,t,e,o){const[r,n]=s.propsOptions;let a=!1,i;if(t)for(let l in t){if(Ho(l))continue;const c=t[l];let u;r&&Gt(r,u=Ye(l))?!n||!n.includes(u)?e[u]=c:(i||(i={}))[u]=c:nn(s.emitsOptions,l)||(!(l in o)||c!==o[l])&&(o[l]=c,a=!0)}if(n){const l=Lt(e),c=i||Wt;for(let u=0;u<n.length;u++){const d=n[u];e[d]=Na(r,l,d,c[d],s,!Gt(c,d))}}return a}function Na(s,t,e,o,r,n){const a=s[e];if(a!=null){const i=Gt(a,"default");if(i&&o===void 0){const l=a.default;if(a.type!==Function&&!a.skipFactory&&Ot(l)){const{propsDefaults:c}=r;if(e in c)o=c[e];else{const u=fr(r);o=c[e]=l.call(null,t),u()}}else o=l;r.ce&&r.ce._setProp(e,o)}a[0]&&(n&&!i?o=!1:a[1]&&(o===""||o===We(e))&&(o=!0))}return o}const um=new WeakMap;function Ec(s,t,e=!1){const o=e?um:t.propsCache,r=o.get(s);if(r)return r;const n=s.props,a={},i=[];let l=!1;if(!Ot(s)){const u=d=>{l=!0;const[h,p]=Ec(d,t,!0);ie(a,h),p&&i.push(...p)};!e&&t.mixins.length&&t.mixins.forEach(u),s.extends&&u(s.extends),s.mixins&&s.mixins.forEach(u)}if(!n&&!l)return Kt(s)&&o.set(s,Eo),Eo;if(St(n))for(let u=0;u<n.length;u++){({}).NODE_ENV!=="production"&&!ue(n[u])&&ut("props must be strings when using array syntax.",n[u]);const d=Ye(n[u]);Pc(d)&&(a[d]=Wt)}else if(n){({}).NODE_ENV!=="production"&&!Kt(n)&&ut("invalid props options",n);for(const u in n){const d=Ye(u);if(Pc(d)){const h=n[u],p=a[d]=St(h)||Ot(h)?{type:h}:ie({},h),f=p.type;let b=!1,w=!0;if(St(f))for(let x=0;x<f.length;++x){const v=f[x],g=Ot(v)&&v.name;if(g==="Boolean"){b=!0;break}else g==="String"&&(w=!1)}else b=Ot(f)&&f.name==="Boolean";p[0]=b,p[1]=w,(b||Gt(p,"default"))&&i.push(d)}}}const c=[a,i];return Kt(s)&&o.set(s,c),c}function Pc(s){return s[0]!=="$"&&!Ho(s)?!0:({}.NODE_ENV!=="production"&&ut(`Invalid prop name: "${s}" is a reserved property.`),!1)}function dm(s){return s===null?"null":typeof s=="function"?s.name||"":typeof s=="object"&&s.constructor&&s.constructor.name||""}function Oc(s,t,e){const o=Lt(t),r=e.propsOptions[0],n=Object.keys(s).map(a=>Ye(a));for(const a in r){let i=r[a];i!=null&&fm(a,o[a],i,{}.NODE_ENV!=="production"?ps(o):o,!n.includes(a))}}function fm(s,t,e,o,r){const{type:n,required:a,validator:i,skipCheck:l}=e;if(a&&r){ut('Missing required prop: "'+s+'"');return}if(!(t==null&&!a)){if(n!=null&&n!==!0&&!l){let c=!1;const u=St(n)?n:[n],d=[];for(let h=0;h<u.length&&!c;h++){const{valid:p,expectedType:f}=pm(t,u[h]);d.push(f||""),c=p}if(!c){ut(mm(s,t,d));return}}i&&!i(t,o)&&ut('Invalid prop: custom validator check failed for prop "'+s+'".')}}const hm=Os("String,Number,Boolean,Function,Symbol,BigInt");function pm(s,t){let e;const o=dm(t);if(o==="null")e=s===null;else if(hm(o)){const r=typeof s;e=r===o.toLowerCase(),!e&&r==="object"&&(e=s instanceof t)}else o==="Object"?e=Kt(s):o==="Array"?e=St(s):e=s instanceof t;return{valid:e,expectedType:o}}function mm(s,t,e){if(e.length===0)return`Prop type [] for prop "${s}" won't match anything. Did you mean to use type Array instead?`;let o=`Invalid prop: type check failed for prop "${s}". Expected ${e.map(Ar).join(" | ")}`;const r=e[0],n=ca(t),a=Rc(t,r),i=Rc(t,n);return e.length===1&&Ic(r)&&!gm(r,n)&&(o+=` with value ${a}`),o+=`, got ${n} `,Ic(n)&&(o+=`with value ${i}.`),o}function Rc(s,t){return t==="String"?`"${s}"`:t==="Number"?`${Number(s)}`:`${s}`}function Ic(s){return["string","number","boolean"].some(e=>s.toLowerCase()===e)}function gm(...s){return s.some(t=>t.toLowerCase()==="boolean")}const Fc=s=>s[0]==="_"||s==="$stable",za=s=>St(s)?s.map(ls):[ls(s)],ym=(s,t,e)=>{if(t._n)return t;const o=bt((...r)=>({}.NODE_ENV!=="production"&&Ce&&(!e||e.root===Ce.root)&&ut(`Slot "${s}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`),za(t(...r))),e);return o._c=!1,o},Dc=(s,t,e)=>{const o=s._ctx;for(const r in s){if(Fc(r))continue;const n=s[r];if(Ot(n))t[r]=ym(r,n,o);else if(n!=null){({}).NODE_ENV!=="production"&&ut(`Non-function value encountered for slot "${r}". Prefer function slots for better performance.`);const a=za(n);t[r]=()=>a}}},$c=(s,t)=>{({}).NODE_ENV!=="production"&&!Ia(s.vnode)&&ut("Non-function value encountered for default slot. Prefer function slots for better performance.");const e=za(t);s.slots.default=()=>e},Va=(s,t,e)=>{for(const o in t)(e||o!=="_")&&(s[o]=t[o])},vm=(s,t,e)=>{const o=s.slots=Cc();if(s.vnode.shapeFlag&32){const r=t._;r?(Va(o,t,e),e&&Mr(o,"_",r,!0)):Dc(t,o)}else t&&$c(s,t)},bm=(s,t,e)=>{const{vnode:o,slots:r}=s;let n=!0,a=Wt;if(o.shapeFlag&32){const i=t._;i?{}.NODE_ENV!=="production"&&ys?(Va(r,t,e),hs(s,"set","$slots")):e&&i===1?n=!1:Va(r,t,e):(n=!t.$stable,Dc(t,r)),a=t}else t&&($c(s,t),a={default:1});if(n)for(const i in r)!Fc(i)&&a[i]==null&&delete r[i]};let ar,Hs;function Ms(s,t){s.appContext.config.performance&&on()&&Hs.mark(`vue-${t}-${s.uid}`),{}.NODE_ENV!=="production"&&Op(s,t,on()?Hs.now():Date.now())}function Ns(s,t){if(s.appContext.config.performance&&on()){const e=`vue-${t}-${s.uid}`,o=e+":end";Hs.mark(o),Hs.measure(`<${dn(s,s.type)}> ${t}`,e,o),Hs.clearMarks(e),Hs.clearMarks(o)}({}).NODE_ENV!=="production"&&Rp(s,t,on()?Hs.now():Date.now())}function on(){return ar!==void 0||(typeof window<"u"&&window.performance?(ar=!0,Hs=window.performance):ar=!1),ar}function _m(){const s=[];if({}.NODE_ENV!=="production"&&s.length){const t=s.length>1;console.warn(`Feature flag${t?"s":""} ${s.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 pn=[];function dr(o){pn.push(o)}function hr(){pn.pop()}let yi=!1;function J(o,...t){if(yi)return;yi=!0,To();const e=pn.length?pn[pn.length-1].component:null,n=e&&e.appContext.config.warnHandler,s=z0();if(n)Rn(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 <${Fr(e,r.type)}>`).join(`
14
+ `),s]);else{const r=[`[Vue warn]: ${o}`,...t];s.length&&r.push(`
15
+ `,...D0(s)),console.warn(...r)}Eo(),yi=!1}function z0(){let o=pn[pn.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 D0(o){const t=[];return o.forEach((e,n)=>{t.push(...n===0?[]:[`
16
+ `],...M0(e))}),t}function M0({vnode:o,recurseCount:t}){const e=t>0?`... (${t} recursive calls)`:"",n=o.component?o.component.parent==null:!1,s=` at <${Fr(o.component,o.type,n)}`,r=">"+e;return o.props?[s,...L0(o.props),r]:[s+r]}function L0(o){const t=[],e=Object.keys(o);return e.slice(0,3).forEach(n=>{t.push(...cu(n,o[n]))}),e.length>3&&t.push(" ..."),t}function cu(o,t,e){return se(t)?(t=JSON.stringify(t),e?t:[`${o}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?e?t:[`${o}=${t}`]:me(t)?(t=cu(o,It(t.value),!0),e?t:[`${o}=Ref<`,t,">"]):Tt(t)?[`${o}=fn${t.name?`<${t.name}>`:""}`]:(t=It(t),e?t:[`${o}=`,t])}function B0(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 vi={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(o,t,e,n){try{return n?o(...n):o()}catch(s){fs(s,t,e)}}function no(o,t,e,n){if(Tt(o)){const s=Rn(o,t,e,n);return s&&ti(s)&&s.catch(r=>{fs(r,t,e)}),s}if(_t(o)){const s=[];for(let r=0;r<o.length;r++)s.push(no(o[r],t,e,n));return s}else({}).NODE_ENV!=="production"&&J(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof o}`)}function fs(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"?vi[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){To(),Rn(r,null,10,[o,l,c]),Eo();return}}V0(o,e,s,n,a)}function V0(o,t,e,n=!0,s=!1){if({}.NODE_ENV!=="production"){const r=vi[t];if(e&&dr(e),J(`Unhandled error${r?` during execution of ${r}`:""}`),e&&hr(),n)throw o;console.error(o)}else{if(s)throw o;console.error(o)}}const $e=[];let mo=-1;const In=[];let Yo=null,An=0;const uu=Promise.resolve();let pr=null;const Y0=100;function mr(o){const t=pr||uu;return o?t.then(this?o.bind(this):o):t}function X0(o){let t=mo+1,e=$e.length;for(;t<e;){const n=t+e>>>1,s=$e[n],r=ds(s);r<o||r===o&&s.flags&2?t=n+1:e=n}return t}function gr(o){if(!(o.flags&1)){const t=ds(o),e=$e[$e.length-1];!e||!(o.flags&2)&&t>=ds(e)?$e.push(o):$e.splice(X0(t),0,o),o.flags|=1,fu()}}function fu(){pr||(pr=uu.then(mu))}function du(o){_t(o)?In.push(...o):Yo&&o.id===-1?Yo.splice(An+1,0,o):o.flags&1||(In.push(o),o.flags|=1),fu()}function hu(o,t,e=mo+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"&&bi(t,n))continue;$e.splice(e,1),e--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function pu(o){if(In.length){const t=[...new Set(In)].sort((e,n)=>ds(e)-ds(n));if(In.length=0,Yo){Yo.push(...t);return}for(Yo=t,{}.NODE_ENV!=="production"&&(o=o||new Map),An=0;An<Yo.length;An++){const e=Yo[An];({}).NODE_ENV!=="production"&&bi(o,e)||(e.flags&4&&(e.flags&=-2),e.flags&8||e(),e.flags&=-2)}Yo=null,An=0}}const ds=o=>o.id==null?o.flags&2?-1:1/0:o.id;function mu(o){({}).NODE_ENV!=="production"&&(o=o||new Map);const t={}.NODE_ENV!=="production"?e=>bi(o,e):be;try{for(mo=0;mo<$e.length;mo++){const e=$e[mo];if(e&&!(e.flags&8)){if({}.NODE_ENV!=="production"&&t(e))continue;e.flags&4&&(e.flags&=-2),Rn(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2)}}}finally{for(;mo<$e.length;mo++){const e=$e[mo];e&&(e.flags&=-2)}mo=-1,$e.length=0,pu(o),pr=null,($e.length||In.length)&&mu(o)}}function bi(o,t){const e=o.get(t)||0;if(e>Y0){const n=t.i,s=n&&Ts(n.type);return fs(`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 go=!1;const yr=new Map;({}).NODE_ENV!=="production"&&(rs().__VUE_HMR_RUNTIME__={createRecord:_i(gu),rerender:_i(G0),reload:_i(H0)});const mn=new Map;function Z0(o){const t=o.type.__hmrId;let e=mn.get(t);e||(gu(t,o.type),e=mn.get(t)),e.instances.add(o)}function U0(o){mn.get(o.type.__hmrId).instances.delete(o)}function gu(o,t){return mn.has(o)?!1:(mn.set(o,{initialDef:vr(t),instances:new Set}),!0)}function vr(o){return xf(o)?o.__vccOpts:o}function G0(o,t){const e=mn.get(o);e&&(e.initialDef.render=t,[...e.instances].forEach(n=>{t&&(n.render=t,vr(n.type).render=t),n.renderCache=[],go=!0,n.update(),go=!1}))}function H0(o,t){const e=mn.get(o);if(!e)return;t=vr(t),yu(e.initialDef,t);const n=[...e.instances];for(let s=0;s<n.length;s++){const r=n[s],a=vr(r.type);let i=yr.get(a);i||(a!==e.initialDef&&yu(a,t),yr.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?gr(()=>{go=!0,r.parent.update(),go=!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)}du(()=>{yr.clear()})}function yu(o,t){ee(o,t);for(const e in o)e!=="__file"&&!(e in t)&&delete o[e]}function _i(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 yo,hs=[],xi=!1;function ps(o,...t){yo?yo.emit(o,...t):xi||hs.push({event:o,args:t})}function vu(o,t){var e,n;yo=o,yo?(yo.enabled=!0,hs.forEach(({event:s,args:r})=>yo.emit(s,...r)),hs=[]):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=>{vu(r,t)}),setTimeout(()=>{yo||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,xi=!0,hs=[])},3e3)):(xi=!0,hs=[])}function j0(o,t){ps("app:init",o,t,{Fragment:Dt,Text:bs,Comment:fe,Static:_s})}function W0(o){ps("app:unmount",o)}const ki=wi("component:added"),bu=wi("component:updated"),q0=wi("component:removed"),K0=o=>{yo&&typeof yo.cleanupBuffer=="function"&&!yo.cleanupBuffer(o)&&q0(o)};/*! #__NO_SIDE_EFFECTS__ */function wi(o){return t=>{ps(o,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const Q0=_u("perf:start"),J0=_u("perf:end");function _u(o){return(t,e,n)=>{ps(o,t.appContext.app,t.uid,t,e,n)}}function tg(o,t,e){ps("component:emit",o.appContext.app,o,t,e)}let ge=null,xu=null;function br(o){const t=ge;return ge=o,xu=o&&o.type.__scopeId||null,t}function st(o,t=ge,e){if(!t||o._n)return o;const n=(...s)=>{n._d&&uf(-1);const r=br(t);let a;try{a=o(...s)}finally{br(r),n._d&&uf(1)}return{}.NODE_ENV!=="production"&&bu(t),a};return n._n=!0,n._c=!0,n._d=!0,n}function ku(o){Hm(o)&&J("Do not use built-in directive ids as custom directive id: "+o)}function eg(o,t){if(ge===null)return{}.NODE_ENV!=="production"&&J("withDirectives can only be used inside render functions."),o;const e=Nr(ge),n=o.dirs||(o.dirs=[]);for(let s=0;s<t.length;s++){let[r,a,i,l=qt]=t[s];r&&(Tt(r)&&(r={mounted:r,updated:r}),r.deep&&Po(a),n.push({dir:r,instance:e,value:a,oldValue:void 0,arg:i,modifiers:l}))}return o}function gn(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&&(To(),no(l,e,8,[o.el,i,o,t]),Eo())}}const og=Symbol("_vte"),wu=o=>o.__isTeleport,Xo=Symbol("_leaveCb"),_r=Symbol("_enterCb");function ng(){const o={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ye(()=>{o.isMounted=!0}),Si(()=>{o.isUnmounting=!0}),o}const He=[Function,Array],Cu={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},Tu=o=>{const t=o.subTree;return t.component?Tu(t.component):t},sg={name:"BaseTransition",props:Cu,setup(o,{slots:t}){const e=jo(),n=ng();return()=>{const s=t.default&&Pu(t.default(),!0);if(!s||!s.length)return;const r=Eu(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 Ti(r);const l=Ou(r);if(!l)return Ti(r);let c=Ci(l,a,n,e,f=>c=f);l.type!==fe&&$n(l,c);let u=e.subTree&&Ou(e.subTree);if(u&&u.type!==fe&&!Go(l,u)&&Tu(e).type!==fe){let f=Ci(u,a,n,e);if($n(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},Ti(r);i==="in-out"&&l.type!==fe?f.delayLeave=(d,h,p)=>{const v=Su(n,u);v[String(u.key)]=u,d[Xo]=()=>{h(),d[Xo]=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 Eu(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 rg=sg;function Su(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 Ci(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:v,onBeforeAppear:k,onAppear:x,onAfterAppear:m,onAppearCancelled:g}=t,y=String(o.key),b=Su(e,o),_=(B,D)=>{B&&no(B,n,9,D)},$=(B,D)=>{const ut=D[1];_(B,D),_t(B)?B.every(j=>j.length<=1)&&ut():B.length<=1&&ut()},Y={mode:a,persisted:i,beforeEnter(B){let D=l;if(!e.isMounted)if(r)D=k||l;else return;B[Xo]&&B[Xo](!0);const ut=b[y];ut&&Go(o,ut)&&ut.el[Xo]&&ut.el[Xo](),_(D,[B])},enter(B){let D=c,ut=u,j=f;if(!e.isMounted)if(r)D=x||c,ut=m||u,j=g||f;else return;let tt=!1;const vt=B[_r]=St=>{tt||(tt=!0,St?_(j,[B]):_(ut,[B]),Y.delayedLeave&&Y.delayedLeave(),B[_r]=void 0)};D?$(D,[B,vt]):vt()},leave(B,D){const ut=String(o.key);if(B[_r]&&B[_r](!0),e.isUnmounting)return D();_(d,[B]);let j=!1;const tt=B[Xo]=vt=>{j||(j=!0,D(),vt?_(v,[B]):_(p,[B]),B[Xo]=void 0,b[ut]===o&&delete b[ut])};b[ut]=o,h?$(h,[B,tt]):tt()},clone(B){const D=Ci(B,t,e,n,s);return s&&s(D),D}};return Y}function Ti(o){if(ms(o))return o=ro(o),o.children=null,o}function Ou(o){if(!ms(o))return wu(o.type)&&o.children?Eu(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&&Tt(e.default))return e.default()}}function $n(o,t){o.shapeFlag&6&&o.component?(o.transition=t,$n(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 Pu(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(Pu(a.children,t,i))):(t||a.type!==fe)&&n.push(i!=null?ro(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 X(o,t){return Tt(o)?(()=>ee({name:o.name},t,{setup:o}))():o}function Ru(o){o.ids=[o.ids[0]+o.ids[2]+++"-",0,0]}const ag=new WeakSet;function xr(o,t,e,n,s=!1){if(_t(o)){o.forEach((p,v)=>xr(p,t&&(_t(t)?t[v]:t),e,n,s));return}if(yn(n)&&!s){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&xr(o,t,e,n.component.subTree);return}const r=n.shapeFlag&4?Nr(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)&&!me(d[p])&&J(`Template ref "${p}" used on a non-ref value. It will not work in the production build.`),ag.has(d[p]))?!1:Lt(d,p);if(c!=null&&c!==l&&(se(c)?(u[c]=null,h(c)&&(f[c]=null)):me(c)&&(c.value=null)),Tt(l))Rn(l,i,12,[a,u]);else{const p=se(l),v=me(l);if(p||v){const k=()=>{if(o.f){const x=p?h(l)?f[l]:u[l]:l.value;s?_t(x)&&Ja(x,r):_t(x)?x.includes(r)||x.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)):v?(l.value=a,o.k&&(u[o.k]=a)):{}.NODE_ENV!=="production"&&J("Invalid template ref type:",l,`(${typeof l})`)};a?(k.id=-1,Ee(k,e)):k()}else({}).NODE_ENV!=="production"&&J("Invalid template ref type:",l,`(${typeof l})`)}}rs().requestIdleCallback,rs().cancelIdleCallback;const yn=o=>!!o.type.__asyncLoader,ms=o=>o.type.__isKeepAlive,Iu={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(o,{slots:t}){const e=jo(),n=e.ctx;if(!n.renderer)return()=>{const m=t.default&&t.default();return m&&m.length===1?m[0]:m};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=(m,g,y,b,_)=>{const $=m.component;c(m,g,y,0,i),l($.vnode,m,g,y,$,i,b,m.slotScopeIds,_),Ee(()=>{$.isDeactivated=!1,$.a&&un($.a);const Y=m.props&&m.props.onVnodeMounted;Y&&je(Y,$.parent,m)},i),{}.NODE_ENV!=="production"&&ki($)},n.deactivate=m=>{const g=m.component;Or(g.m),Or(g.a),c(m,d,null,1,i),Ee(()=>{g.da&&un(g.da);const y=m.props&&m.props.onVnodeUnmounted;y&&je(y,g.parent,m),g.isDeactivated=!0},i),{}.NODE_ENV!=="production"&&ki(g)};function h(m){Ei(m),u(m,e,i,!0)}function p(m){s.forEach((g,y)=>{const b=Ts(g.type);b&&!m(b)&&v(y)})}function v(m){const g=s.get(m);g&&(!a||!Go(g,a))?h(g):a&&Ei(a),s.delete(m),r.delete(m)}Rt(()=>[o.include,o.exclude],([m,g])=>{m&&p(y=>gs(m,y)),g&&p(y=>!gs(g,y))},{flush:"post",deep:!0});let k=null;const x=()=>{k!=null&&(Ir(e.subTree.type)?Ee(()=>{s.set(k,kr(e.subTree))},e.subTree.suspense):s.set(k,kr(e.subTree)))};return ye(x),$u(x),Si(()=>{s.forEach(m=>{const{subTree:g,suspense:y}=e,b=kr(g);if(m.type===b.type&&m.key===b.key){Ei(b);const _=b.component.da;_&&Ee(_,y);return}h(m)})}),()=>{if(k=null,!t.default)return a=null;const m=t.default(),g=m[0];if(m.length>1)return{}.NODE_ENV!=="production"&&J("KeepAlive should contain exactly one component child."),a=null,m;if(!Uo(g)||!(g.shapeFlag&4)&&!(g.shapeFlag&128))return a=null,g;let y=kr(g);if(y.type===fe)return a=null,y;const b=y.type,_=Ts(yn(y)?y.type.__asyncResolved||{}:b),{include:$,exclude:Y,max:B}=o;if($&&(!_||!gs($,_))||Y&&_&&gs(Y,_))return y.shapeFlag&=-257,a=y,g;const D=y.key==null?b:y.key,ut=s.get(D);return y.el&&(y=ro(y),g.shapeFlag&128&&(g.ssContent=y)),k=D,ut?(y.el=ut.el,y.component=ut.component,y.transition&&$n(y,y.transition),y.shapeFlag|=512,r.delete(D),r.add(D)):(r.add(D),B&&r.size>parseInt(B,10)&&v(r.values().next().value)),y.shapeFlag|=256,a=y,Ir(g.type)?g:y}}};function gs(o,t){return _t(o)?o.some(e=>gs(e,t)):se(o)?o.split(",").includes(t):Gm(o)?(o.lastIndex=0,o.test(t)):!1}function ig(o,t){Au(o,"a",t)}function lg(o,t){Au(o,"da",t)}function Au(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(wr(t,n,e),e){let s=e.parent;for(;s&&s.parent;)ms(s.parent.vnode)&&cg(n,t,e,s),s=s.parent}}function cg(o,t,e,n){const s=wr(t,o,n,!0);ue(()=>{Ja(n[t],s)},e)}function Ei(o){o.shapeFlag&=-257,o.shapeFlag&=-513}function kr(o){return o.shapeFlag&128?o.ssContent:o}function wr(o,t,e=xe,n=!1){if(e){const s=e[o]||(e[o]=[]),r=t.__weh||(t.__weh=(...a)=>{To();const i=ws(e),l=no(t,e,o,a);return i(),Eo(),l});return n?s.unshift(r):s.push(r),r}else if({}.NODE_ENV!=="production"){const s=cn(vi[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 Ro=o=>(t,e=xe)=>{(!Cs||o==="sp")&&wr(o,(...n)=>t(...n),e)},ug=Ro("bm"),ye=Ro("m"),fg=Ro("bu"),$u=Ro("u"),Si=Ro("bum"),ue=Ro("um"),dg=Ro("sp"),hg=Ro("rtg"),pg=Ro("rtc");function mg(o,t=xe){wr("ec",o,t)}const Oi="components",Nu=Symbol.for("v-ndc");function Fu(o){return se(o)?gg(Oi,o,!1)||o:o||Nu}function gg(o,t,e=!0,n=!1){const s=ge||xe;if(s){const r=s.type;if(o===Oi){const i=Ts(r,!1);if(i&&(i===t||i===ke(t)||i===ln(ke(t))))return r}const a=zu(s[o]||r[o],t)||zu(s.appContext[o],t);if(!a&&n)return r;if({}.NODE_ENV!=="production"&&e&&!a){const i=o===Oi?`
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${ln(o.slice(0,-1))} can only be used in render() or setup().`)}function zu(o,t){return o&&(o[t]||o[ke(t)]||o[ln(ke(t))])}function Te(o,t,e,n){let s;const r=e&&e[n],a=_t(o);if(a||se(o)){const i=a&&dn(o);let l=!1;i&&(l=!Ae(o),o=sr(o)),s=new Array(o.length);for(let c=0,u=o.length;c<u;c++)s[c]=t(l?Pe(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 gt(o,t,e={},n,s){if(ge.ce||ge.parent&&yn(ge.parent)&&ge.parent.ce)return t!=="default"&&(e.name=t),I(),ht(Dt,null,[Q("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&&Du(r(e)),i=e.key||a&&a.key,l=ht(Dt,{key:(i&&!Co(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 Du(o){return o.some(t=>Uo(t)?!(t.type===fe||t.type===Dt&&!Du(t.children)):!0)?o:null}const Pi=o=>o?gf(o)?Nr(o):Pi(o.parent):null,vn=ee(Object.create(null),{$:o=>o,$el:o=>o.vnode.el,$data:o=>o.data,$props:o=>({}).NODE_ENV!=="production"?po(o.props):o.props,$attrs:o=>({}).NODE_ENV!=="production"?po(o.attrs):o.attrs,$slots:o=>({}).NODE_ENV!=="production"?po(o.slots):o.slots,$refs:o=>({}).NODE_ENV!=="production"?po(o.refs):o.refs,$parent:o=>Pi(o.parent),$root:o=>Pi(o.root),$host:o=>o.ce,$emit:o=>o.emit,$options:o=>$i(o),$forceUpdate:o=>o.f||(o.f=()=>{gr(o.update)}),$nextTick:o=>o.n||(o.n=mr.bind(o.proxy)),$watch:o=>qg.bind(o)}),Ri=o=>o==="_"||o==="$",Ii=(o,t)=>o!==qt&&!o.__isScriptSetup&&Lt(o,t),Mu={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(Ii(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];Ai&&(a[t]=0)}}const u=vn[t];let f,d;if(u)return t==="$attrs"?(_e(o.attrs,"get",""),{}.NODE_ENV!=="production"&&Rr()):{}.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"&&ge&&(!se(t)||t.indexOf("__v")!==0)&&(s!==qt&&Ri(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===ge&&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 Ii(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)||Ii(t,a)||(i=r[0])&&Lt(i,a)||Lt(n,a)||Lt(vn,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"&&(Mu.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 yg(o){const t={};return Object.defineProperty(t,"_",{configurable:!0,enumerable:!1,get:()=>o}),Object.keys(vn).forEach(e=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,get:()=>vn[e](o),set:be})}),t}function vg(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 bg(o){const{ctx:t,setupState:e}=o;Object.keys(It(e)).forEach(n=>{if(!e.__isScriptSetup){if(Ri(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 _g(){return xg().slots}function xg(){const o=jo();return{}.NODE_ENV!=="production"&&!o&&J("useContext() called without active instance."),o.setupContext||(o.setupContext=_f(o))}function Lu(o){return _t(o)?o.reduce((t,e)=>(t[e]=null,t),{}):o}function kg(){const o=Object.create(null);return(t,e)=>{o[e]?J(`${t} property "${e}" is already defined in ${o[e]}.`):o[e]=t}}let Ai=!0;function wg(o){const t=$i(o),e=o.proxy,n=o.ctx;Ai=!1,t.beforeCreate&&Bu(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:v,deactivated:k,beforeDestroy:x,beforeUnmount:m,destroyed:g,unmounted:y,render:b,renderTracked:_,renderTriggered:$,errorCaptured:Y,serverPrefetch:B,expose:D,inheritAttrs:ut,components:j,directives:tt,filters:vt}=t,St={}.NODE_ENV!=="production"?kg():null;if({}.NODE_ENV!=="production"){const[kt]=o.propsOptions;if(kt)for(const wt in kt)St("Props",wt)}if(c&&Cg(c,n,St),a)for(const kt in a){const wt=a[kt];Tt(wt)?({}.NODE_ENV!=="production"?Object.defineProperty(n,kt,{value:wt.bind(e),configurable:!0,enumerable:!0,writable:!0}):n[kt]=wt.bind(e),{}.NODE_ENV!=="production"&&St("Methods",kt)):{}.NODE_ENV!=="production"&&J(`Method "${kt}" has type "${typeof wt}" in the component definition. Did you reference the function correctly?`)}if(s){({}).NODE_ENV!=="production"&&!Tt(s)&&J("The data option must be a function. Plain object usage is no longer supported.");const kt=s.call(e,e);if({}.NODE_ENV!=="production"&&ti(kt)&&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(kt))({}).NODE_ENV!=="production"&&J("data() should return an object.");else if(o.data=Wt(kt),{}.NODE_ENV!=="production")for(const wt in kt)St("Data",wt),Ri(wt[0])||Object.defineProperty(n,wt,{configurable:!0,enumerable:!0,get:()=>kt[wt],set:be})}if(Ai=!0,r)for(const kt in r){const wt=r[kt],oe=Tt(wt)?wt.bind(e,e):Tt(wt.get)?wt.get.bind(e,e):be;({}).NODE_ENV!=="production"&&oe===be&&J(`Computed property "${kt}" has no getter.`);const pe=!Tt(wt)&&Tt(wt.set)?wt.set.bind(e):{}.NODE_ENV!=="production"?()=>{J(`Write operation failed: computed property "${kt}" is readonly.`)}:be,he=de({get:oe,set:pe});Object.defineProperty(n,kt,{enumerable:!0,configurable:!0,get:()=>he.value,set:Xt=>he.value=Xt}),{}.NODE_ENV!=="production"&&St("Computed",kt)}if(i)for(const kt in i)Vu(i[kt],n,e,kt);if(l){const kt=Tt(l)?l.call(e):l;Reflect.ownKeys(kt).forEach(wt=>{Tr(wt,kt[wt])})}u&&Bu(u,o,"c");function $t(kt,wt){_t(wt)?wt.forEach(oe=>kt(oe.bind(e))):wt&&kt(wt.bind(e))}if($t(ug,f),$t(ye,d),$t(fg,h),$t($u,p),$t(ig,v),$t(lg,k),$t(mg,Y),$t(pg,_),$t(hg,$),$t(Si,m),$t(ue,y),$t(dg,B),_t(D))if(D.length){const kt=o.exposed||(o.exposed={});D.forEach(wt=>{Object.defineProperty(kt,wt,{get:()=>e[wt],set:oe=>e[wt]=oe})})}else o.exposed||(o.exposed={});b&&o.render===be&&(o.render=b),ut!=null&&(o.inheritAttrs=ut),j&&(o.components=j),tt&&(o.directives=tt),B&&Ru(o)}function Cg(o,t,e=be){_t(o)&&(o=Ni(o));for(const n in o){const s=o[n];let r;Kt(s)?"default"in s?r=so(s.from||n,s.default,!0):r=so(s.from||n):r=so(s),me(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 Bu(o,t,e){no(_t(o)?o.map(n=>n.bind(t.proxy)):o.bind(t.proxy),t,e)}function Vu(o,t,e,n){let s=n.includes(".")?sf(e,n):()=>e[n];if(se(o)){const r=t[o];Tt(r)?Rt(s,r):{}.NODE_ENV!=="production"&&J(`Invalid watch handler specified by key "${o}"`,r)}else if(Tt(o))Rt(s,o.bind(e));else if(Kt(o))if(_t(o))o.forEach(r=>Vu(r,t,e,n));else{const r=Tt(o.handler)?o.handler.bind(e):t[o.handler];Tt(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 $i(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=>Cr(l,c,a,!0)),Cr(l,t,a)),Kt(t)&&r.set(t,l),l}function Cr(o,t,e,n=!1){const{mixins:s,extends:r}=t;r&&Cr(o,r,e,!0),s&&s.forEach(a=>Cr(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=Tg[a]||e&&e[a];o[a]=i?i(o[a],t[a]):t[a]}return o}const Tg={data:Yu,props:Xu,emits:Xu,methods:ys,computed:ys,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:ys,directives:ys,watch:Sg,provide:Yu,inject:Eg};function Yu(o,t){return t?o?function(){return ee(Tt(o)?o.call(this,this):o,Tt(t)?t.call(this,this):t)}:t:o}function Eg(o,t){return ys(Ni(o),Ni(t))}function Ni(o){if(_t(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 ys(o,t){return o?ee(Object.create(null),o,t):t}function Xu(o,t){return o?_t(o)&&_t(t)?[...new Set([...o,...t])]:ee(Object.create(null),Lu(o),Lu(t??{})):t}function Sg(o,t){if(!o)return t;if(!t)return o;const e=ee(Object.create(null),o);for(const n in t)e[n]=Ne(o[n],t[n]);return e}function Zu(){return{app:null,config:{isNativeTag:Zm,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 Og=0;function Pg(o,t){return function(n,s=null){Tt(n)||(n=ee({},n)),s!=null&&!Kt(s)&&({}.NODE_ENV!=="production"&&J("root props passed to app.mount() must be an object."),s=null);const r=Zu(),a=new WeakSet,i=[];let l=!1;const c=r.app={_uid:Og++,_component:n,_props:s,_container:null,_context:r,_instance:null,version:kf,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&&Tt(u.install)?(a.add(u),u.install(c,...f)):Tt(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"&&Gi(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"&&ku(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||Q(n,s);return h.appContext=r,d===!0?d="svg":d===!1&&(d=void 0),{}.NODE_ENV!=="production"&&(r.reload=()=>{o(ro(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,j0(c,kf)),Nr(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?(no(i,c._instance,16),o(null,c._container),{}.NODE_ENV!=="production"&&(c._instance=null,W0(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=Nn;Nn=c;try{return u()}finally{Nn=f}}};return c}}let Nn=null;function Tr(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 so(o,t,e=!1){const n=xe||ge;if(n||Nn){const s=Nn?Nn._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&&Tt(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 Uu={},Gu=()=>Object.create(Uu),Hu=o=>Object.getPrototypeOf(o)===Uu;function Rg(o,t,e,n=!1){const s={},r=Gu();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"&&Ku(t||{},s,o),e?o.props=n?s:ru(s):o.type.props?o.props=s:o.props=r,o.attrs=r}function Ig(o){for(;o;){if(o.type.__hmrId)return!0;o=o.parent}}function Ag(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"&&Ig(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(Pr(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=ke(d);s[p]=Fi(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=Be(f))===f||!Lt(t,u)))&&(l?e&&(e[f]!==void 0||e[u]!==void 0)&&(s[f]=Fi(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&&ho(o.attrs,"set",""),{}.NODE_ENV!=="production"&&Ku(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(ss(l))continue;const c=t[l];let u;s&&Lt(s,u=ke(l))?!r||!r.includes(u)?e[u]=c:(i||(i={}))[u]=c:Pr(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]=Fi(s,l,f,c[f],o,!Lt(c,f))}}return a}function Fi(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&&Tt(l)){const{propsDefaults:c}=s;if(e in c)n=c[e];else{const u=ws(s);n=c[e]=l.call(null,t),u()}}else n=l;s.ce&&s.ce._setProp(e,n)}a[0]&&(r&&!i?n=!1:a[1]&&(n===""||n===Be(e))&&(n=!0))}return n}const $g=new WeakMap;function Wu(o,t,e=!1){const n=e?$g:t.propsCache,s=n.get(o);if(s)return s;const r=o.props,a={},i=[];let l=!1;if(!Tt(o)){const u=f=>{l=!0;const[d,h]=Wu(f,t,!0);ee(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,On),On;if(_t(r))for(let u=0;u<r.length;u++){({}).NODE_ENV!=="production"&&!se(r[u])&&J("props must be strings when using array syntax.",r[u]);const f=ke(r[u]);qu(f)&&(a[f]=qt)}else if(r){({}).NODE_ENV!=="production"&&!Kt(r)&&J("invalid props options",r);for(const u in r){const f=ke(u);if(qu(f)){const d=r[u],h=a[f]=_t(d)||Tt(d)?{type:d}:ee({},d),p=h.type;let v=!1,k=!0;if(_t(p))for(let x=0;x<p.length;++x){const m=p[x],g=Tt(m)&&m.name;if(g==="Boolean"){v=!0;break}else g==="String"&&(k=!1)}else v=Tt(p)&&p.name==="Boolean";h[0]=v,h[1]=k,(v||Lt(h,"default"))&&i.push(f)}}}const c=[a,i];return Kt(o)&&n.set(o,c),c}function qu(o){return o[0]!=="$"&&!ss(o)?!0:({}.NODE_ENV!=="production"&&J(`Invalid prop name: "${o}" is a reserved property.`),!1)}function Ng(o){return o===null?"null":typeof o=="function"?o.name||"":typeof o=="object"&&o.constructor&&o.constructor.name||""}function Ku(o,t,e){const n=It(t),s=e.propsOptions[0],r=Object.keys(o).map(a=>ke(a));for(const a in s){let i=s[a];i!=null&&Fg(a,n[a],i,{}.NODE_ENV!=="production"?po(n):n,!r.includes(a))}}function Fg(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=_t(r)?r:[r],f=[];for(let d=0;d<u.length&&!c;d++){const{valid:h,expectedType:p}=Dg(t,u[d]);f.push(p||""),c=h}if(!c){J(Mg(o,t,f));return}}i&&!i(t,n)&&J('Invalid prop: custom validator check failed for prop "'+o+'".')}}const zg=wo("String,Number,Boolean,Function,Symbol,BigInt");function Dg(o,t){let e;const n=Ng(t);if(n==="null")e=o===null;else if(zg(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=_t(o):e=o instanceof t;return{valid:e,expectedType:n}}function Mg(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(ln).join(" | ")}`;const s=e[0],r=ei(t),a=Qu(t,s),i=Qu(t,r);return e.length===1&&Ju(s)&&!Lg(s,r)&&(n+=` with value ${a}`),n+=`, got ${r} `,Ju(r)&&(n+=`with value ${i}.`),n}function Qu(o,t){return t==="String"?`"${o}"`:t==="Number"?`${Number(o)}`:`${o}`}function Ju(o){return["string","number","boolean"].some(e=>o.toLowerCase()===e)}function Lg(...o){return o.some(t=>t.toLowerCase()==="boolean")}const tf=o=>o[0]==="_"||o==="$stable",zi=o=>_t(o)?o.map(ao):[ao(o)],Bg=(o,t,e)=>{if(t._n)return t;const n=st((...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.`),zi(t(...s))),e);return n._c=!1,n},ef=(o,t,e)=>{const n=o._ctx;for(const s in o){if(tf(s))continue;const r=o[s];if(Tt(r))t[s]=Bg(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=zi(r);t[s]=()=>a}}},of=(o,t)=>{({}).NODE_ENV!=="production"&&!ms(o.vnode)&&J("Non-function value encountered for default slot. Prefer function slots for better performance.");const e=zi(t);o.slots.default=()=>e},Di=(o,t,e)=>{for(const n in t)(e||n!=="_")&&(o[n]=t[n])},Vg=(o,t,e)=>{const n=o.slots=Gu();if(o.vnode.shapeFlag&32){const s=t._;s?(Di(n,t,e),e&&nr(n,"_",s,!0)):ef(t,n)}else t&&of(o,t)},Yg=(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"&&go?(Di(s,t,e),ho(o,"set","$slots")):e&&i===1?r=!1:Di(s,t,e):(r=!t.$stable,ef(t,s)),a=t}else t&&(of(o,t),a={default:1});if(r)for(const i in s)!tf(i)&&a[i]==null&&delete s[i]};let vs,Zo;function Io(o,t){o.appContext.config.performance&&Er()&&Zo.mark(`vue-${t}-${o.uid}`),{}.NODE_ENV!=="production"&&Q0(o,t,Er()?Zo.now():Date.now())}function Ao(o,t){if(o.appContext.config.performance&&Er()){const e=`vue-${t}-${o.uid}`,n=e+":end";Zo.mark(n),Zo.measure(`<${Fr(o,o.type)}> ${t}`,e,n),Zo.clearMarks(e),Zo.clearMarks(n)}({}).NODE_ENV!=="production"&&J0(o,t,Er()?Zo.now():Date.now())}function Er(){return vs!==void 0||(typeof window<"u"&&window.performance?(vs=!0,Zo=window.performance):vs=!1),vs}function Xg(){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.
17
18
 
18
- For more details, see https://link.vuejs.org/feature-flags.`)}}const qe=$m;function xm(s){return wm(s)}function wm(s,t){_m();const e=Zo();e.__VUE__=!0,{}.NODE_ENV!=="production"&&lc(e.__VUE_DEVTOOLS_GLOBAL_HOOK__,e);const{insert:o,remove:r,patchProp:n,createElement:a,createText:i,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:h,setScopeId:p=ve,insertStaticContent:f}=s,b=(S,F,Y,K=null,q=null,J=null,ct=void 0,tt=null,at={}.NODE_ENV!=="production"&&ys?!1:!!F.dynamicChildren)=>{if(S===F)return;S&&!dr(S,F)&&(K=se(S),B(S,q,J,!0),S=null),F.patchFlag===-2&&(at=!1,F.dynamicChildren=null);const{type:et,ref:Tt,shapeFlag:ft}=F;switch(et){case ir:w(S,F,Y,K);break;case Xe:x(S,F,Y,K);break;case lr:S==null?v(F,Y,K,ct):{}.NODE_ENV!=="production"&&g(S,F,Y,ct);break;case Vt:N(S,F,Y,K,q,J,ct,tt,at);break;default:ft&1?k(S,F,Y,K,q,J,ct,tt,at):ft&6?X(S,F,Y,K,q,J,ct,tt,at):ft&64||ft&128?et.process(S,F,Y,K,q,J,ct,tt,at,Ne):{}.NODE_ENV!=="production"&&ut("Invalid VNode type:",et,`(${typeof et})`)}Tt!=null&&q&&Jr(Tt,S&&S.ref,J,F||S,!F)},w=(S,F,Y,K)=>{if(S==null)o(F.el=i(F.children),Y,K);else{const q=F.el=S.el;F.children!==S.children&&c(q,F.children)}},x=(S,F,Y,K)=>{S==null?o(F.el=l(F.children||""),Y,K):F.el=S.el},v=(S,F,Y,K)=>{[S.el,S.anchor]=f(S.children,F,Y,K,S.el,S.anchor)},g=(S,F,Y,K)=>{if(F.children!==S.children){const q=h(S.anchor);_(S),[F.el,F.anchor]=f(F.children,Y,q,K)}else F.el=S.el,F.anchor=S.anchor},m=({el:S,anchor:F},Y,K)=>{let q;for(;S&&S!==F;)q=h(S),o(S,Y,K),S=q;o(F,Y,K)},_=({el:S,anchor:F})=>{let Y;for(;S&&S!==F;)Y=h(S),r(S),S=Y;r(F)},k=(S,F,Y,K,q,J,ct,tt,at)=>{F.type==="svg"?ct="svg":F.type==="math"&&(ct="mathml"),S==null?Z(F,Y,K,q,J,ct,tt,at):$(S,F,q,J,ct,tt,at)},Z=(S,F,Y,K,q,J,ct,tt)=>{let at,et;const{props:Tt,shapeFlag:ft,transition:xt,dirs:It}=S;if(at=S.el=a(S.type,J,Tt&&Tt.is,Tt),ft&8?u(at,S.children):ft&16&&I(S.children,at,null,K,q,Ba(S,J),ct,tt),It&&po(S,null,K,"created"),ot(at,S,S.scopeId,ct,K),Tt){for(const Qt in Tt)Qt!=="value"&&!Ho(Qt)&&n(at,Qt,null,Tt[Qt],J,K);"value"in Tt&&n(at,"value",null,Tt.value,J),(et=Tt.onVnodeBeforeMount)&&bs(et,K,S)}({}).NODE_ENV!=="production"&&(Mr(at,"__vnode",S,!0),Mr(at,"__vueParentComponent",K,!0)),It&&po(S,null,K,"beforeMount");const Nt=km(q,xt);Nt&&xt.beforeEnter(at),o(at,F,Y),((et=Tt&&Tt.onVnodeMounted)||Nt||It)&&qe(()=>{et&&bs(et,K,S),Nt&&xt.enter(at),It&&po(S,null,K,"mounted")},q)},ot=(S,F,Y,K,q)=>{if(Y&&p(S,Y),K)for(let J=0;J<K.length;J++)p(S,K[J]);if(q){let J=q.subTree;if({}.NODE_ENV!=="production"&&J.patchFlag>0&&J.patchFlag&2048&&(J=Ua(J.children)||J),F===J||Xc(J.type)&&(J.ssContent===F||J.ssFallback===F)){const ct=q.vnode;ot(S,ct,ct.scopeId,ct.slotScopeIds,q.parent)}}},I=(S,F,Y,K,q,J,ct,tt,at=0)=>{for(let et=at;et<S.length;et++){const Tt=S[et]=tt?Zs(S[et]):ls(S[et]);b(null,Tt,F,Y,K,q,J,ct,tt)}},$=(S,F,Y,K,q,J,ct)=>{const tt=F.el=S.el;({}).NODE_ENV!=="production"&&(tt.__vnode=F);let{patchFlag:at,dynamicChildren:et,dirs:Tt}=F;at|=S.patchFlag&16;const ft=S.props||Wt,xt=F.props||Wt;let It;if(Y&&go(Y,!1),(It=xt.onVnodeBeforeUpdate)&&bs(It,Y,F,S),Tt&&po(F,S,Y,"beforeUpdate"),Y&&go(Y,!0),{}.NODE_ENV!=="production"&&ys&&(at=0,ct=!1,et=null),(ft.innerHTML&&xt.innerHTML==null||ft.textContent&&xt.textContent==null)&&u(tt,""),et?(M(S.dynamicChildren,et,tt,Y,K,Ba(F,q),J),{}.NODE_ENV!=="production"&&rn(S,F)):ct||G(S,F,tt,null,Y,K,Ba(F,q),J,!1),at>0){if(at&16)D(tt,ft,xt,Y,q);else if(at&2&&ft.class!==xt.class&&n(tt,"class",null,xt.class,q),at&4&&n(tt,"style",ft.style,xt.style,q),at&8){const Nt=F.dynamicProps;for(let Qt=0;Qt<Nt.length;Qt++){const jt=Nt[Qt],Se=ft[jt],ye=xt[jt];(ye!==Se||jt==="value")&&n(tt,jt,Se,ye,q,Y)}}at&1&&S.children!==F.children&&u(tt,F.children)}else!ct&&et==null&&D(tt,ft,xt,Y,q);((It=xt.onVnodeUpdated)||Tt)&&qe(()=>{It&&bs(It,Y,F,S),Tt&&po(F,S,Y,"updated")},K)},M=(S,F,Y,K,q,J,ct)=>{for(let tt=0;tt<F.length;tt++){const at=S[tt],et=F[tt],Tt=at.el&&(at.type===Vt||!dr(at,et)||at.shapeFlag&70)?d(at.el):Y;b(at,et,Tt,null,K,q,J,ct,!0)}},D=(S,F,Y,K,q)=>{if(F!==Y){if(F!==Wt)for(const J in F)!Ho(J)&&!(J in Y)&&n(S,J,F[J],null,q,K);for(const J in Y){if(Ho(J))continue;const ct=Y[J],tt=F[J];ct!==tt&&J!=="value"&&n(S,J,tt,ct,q,K)}"value"in Y&&n(S,"value",F.value,Y.value,q)}},N=(S,F,Y,K,q,J,ct,tt,at)=>{const et=F.el=S?S.el:i(""),Tt=F.anchor=S?S.anchor:i("");let{patchFlag:ft,dynamicChildren:xt,slotScopeIds:It}=F;({}).NODE_ENV!=="production"&&(ys||ft&2048)&&(ft=0,at=!1,xt=null),It&&(tt=tt?tt.concat(It):It),S==null?(o(et,Y,K),o(Tt,Y,K),I(F.children||[],Y,Tt,q,J,ct,tt,at)):ft>0&&ft&64&&xt&&S.dynamicChildren?(M(S.dynamicChildren,xt,Y,q,J,ct,tt),{}.NODE_ENV!=="production"?rn(S,F):(F.key!=null||q&&F===q.subTree)&&rn(S,F,!0)):G(S,F,Y,Tt,q,J,ct,tt,at)},X=(S,F,Y,K,q,J,ct,tt,at)=>{F.slotScopeIds=tt,S==null?F.shapeFlag&512?q.ctx.activate(F,Y,K,ct,at):rt(F,Y,K,q,J,ct,at):Q(S,F,at)},rt=(S,F,Y,K,q,J,ct)=>{const tt=S.component=Vm(S,K,q);if({}.NODE_ENV!=="production"&&tt.type.__hmrId&&_p(tt),{}.NODE_ENV!=="production"&&(jr(S),Ms(tt,"mount")),Ia(S)&&(tt.ctx.renderer=Ne),{}.NODE_ENV!=="production"&&Ms(tt,"init"),Ym(tt,!1,ct),{}.NODE_ENV!=="production"&&Ns(tt,"init"),tt.asyncDep){if({}.NODE_ENV!=="production"&&ys&&(S.el=null),q&&q.registerDep(tt,W,ct),!S.el){const at=tt.subTree=it(Xe);x(null,at,F,Y)}}else W(tt,S,F,Y,q,J,ct);({}).NODE_ENV!=="production"&&(Hr(),Ns(tt,"mount"))},Q=(S,F,Y)=>{const K=F.component=S.component;if(Fm(S,F,Y))if(K.asyncDep&&!K.asyncResolved){({}).NODE_ENV!=="production"&&jr(F),lt(K,F,Y),{}.NODE_ENV!=="production"&&Hr();return}else K.next=F,K.update();else F.el=S.el,K.vnode=F},W=(S,F,Y,K,q,J,ct)=>{const tt=()=>{if(S.isMounted){let{next:ft,bu:xt,u:It,parent:Nt,vnode:Qt}=S;{const ze=Lc(S);if(ze){ft&&(ft.el=Qt.el,lt(S,ft,ct)),ze.asyncDep.then(()=>{S.isUnmounted||tt()});return}}let jt=ft,Se;({}).NODE_ENV!=="production"&&jr(ft||S.vnode),go(S,!1),ft?(ft.el=Qt.el,lt(S,ft,ct)):ft=Qt,xt&&Wo(xt),(Se=ft.props&&ft.props.onVnodeBeforeUpdate)&&bs(Se,Nt,ft,Qt),go(S,!0),{}.NODE_ENV!=="production"&&Ms(S,"render");const ye=Ga(S);({}).NODE_ENV!=="production"&&Ns(S,"render");const ts=S.subTree;S.subTree=ye,{}.NODE_ENV!=="production"&&Ms(S,"patch"),b(ts,ye,d(ts.el),se(ts),S,q,J),{}.NODE_ENV!=="production"&&Ns(S,"patch"),ft.el=ye.el,jt===null&&Dm(S,ye.el),It&&qe(It,q),(Se=ft.props&&ft.props.onVnodeUpdated)&&qe(()=>bs(Se,Nt,ft,Qt),q),{}.NODE_ENV!=="production"&&cc(S),{}.NODE_ENV!=="production"&&Hr()}else{let ft;const{el:xt,props:It}=F,{bm:Nt,m:Qt,parent:jt,root:Se,type:ye}=S,ts=Fo(F);if(go(S,!1),Nt&&Wo(Nt),!ts&&(ft=It&&It.onVnodeBeforeMount)&&bs(ft,jt,F),go(S,!0),xt&&De){const ze=()=>{({}).NODE_ENV!=="production"&&Ms(S,"render"),S.subTree=Ga(S),{}.NODE_ENV!=="production"&&Ns(S,"render"),{}.NODE_ENV!=="production"&&Ms(S,"hydrate"),De(xt,S.subTree,S,q,null),{}.NODE_ENV!=="production"&&Ns(S,"hydrate")};ts&&ye.__asyncHydrate?ye.__asyncHydrate(xt,S,ze):ze()}else{Se.ce&&Se.ce._injectChildStyle(ye),{}.NODE_ENV!=="production"&&Ms(S,"render");const ze=S.subTree=Ga(S);({}).NODE_ENV!=="production"&&Ns(S,"render"),{}.NODE_ENV!=="production"&&Ms(S,"patch"),b(null,ze,Y,K,S,q,J),{}.NODE_ENV!=="production"&&Ns(S,"patch"),F.el=ze.el}if(Qt&&qe(Qt,q),!ts&&(ft=It&&It.onVnodeMounted)){const ze=F;qe(()=>bs(ft,jt,ze),q)}(F.shapeFlag&256||jt&&Fo(jt.vnode)&&jt.vnode.shapeFlag&256)&&S.a&&qe(S.a,q),S.isMounted=!0,{}.NODE_ENV!=="production"&&Sp(S),F=Y=K=null}};S.scope.on();const at=S.effect=new Il(tt);S.scope.off();const et=S.update=at.run.bind(at),Tt=S.job=at.runIfDirty.bind(at);Tt.i=S,Tt.id=S.uid,at.scheduler=()=>Zr(Tt),go(S,!0),{}.NODE_ENV!=="production"&&(at.onTrack=S.rtc?ft=>Wo(S.rtc,ft):void 0,at.onTrigger=S.rtg?ft=>Wo(S.rtg,ft):void 0),et()},lt=(S,F,Y)=>{F.component=S;const K=S.vnode.props;S.vnode=F,S.next=null,cm(S,F.props,K,Y),bm(S,F.children,Y),Is(),oc(S),Fs()},G=(S,F,Y,K,q,J,ct,tt,at=!1)=>{const et=S&&S.children,Tt=S?S.shapeFlag:0,ft=F.children,{patchFlag:xt,shapeFlag:It}=F;if(xt>0){if(xt&128){gt(et,ft,Y,K,q,J,ct,tt,at);return}else if(xt&256){j(et,ft,Y,K,q,J,ct,tt,at);return}}It&8?(Tt&16&&Pt(et,q,J),ft!==et&&u(Y,ft)):Tt&16?It&16?gt(et,ft,Y,K,q,J,ct,tt,at):Pt(et,q,J,!0):(Tt&8&&u(Y,""),It&16&&I(ft,Y,K,q,J,ct,tt,at))},j=(S,F,Y,K,q,J,ct,tt,at)=>{S=S||Eo,F=F||Eo;const et=S.length,Tt=F.length,ft=Math.min(et,Tt);let xt;for(xt=0;xt<ft;xt++){const It=F[xt]=at?Zs(F[xt]):ls(F[xt]);b(S[xt],It,Y,null,q,J,ct,tt,at)}et>Tt?Pt(S,q,J,!0,!1,ft):I(F,Y,K,q,J,ct,tt,at,ft)},gt=(S,F,Y,K,q,J,ct,tt,at)=>{let et=0;const Tt=F.length;let ft=S.length-1,xt=Tt-1;for(;et<=ft&&et<=xt;){const It=S[et],Nt=F[et]=at?Zs(F[et]):ls(F[et]);if(dr(It,Nt))b(It,Nt,Y,null,q,J,ct,tt,at);else break;et++}for(;et<=ft&&et<=xt;){const It=S[ft],Nt=F[xt]=at?Zs(F[xt]):ls(F[xt]);if(dr(It,Nt))b(It,Nt,Y,null,q,J,ct,tt,at);else break;ft--,xt--}if(et>ft){if(et<=xt){const It=xt+1,Nt=It<Tt?F[It].el:K;for(;et<=xt;)b(null,F[et]=at?Zs(F[et]):ls(F[et]),Y,Nt,q,J,ct,tt,at),et++}}else if(et>xt)for(;et<=ft;)B(S[et],q,J,!0),et++;else{const It=et,Nt=et,Qt=new Map;for(et=Nt;et<=xt;et++){const Oe=F[et]=at?Zs(F[et]):ls(F[et]);Oe.key!=null&&({}.NODE_ENV!=="production"&&Qt.has(Oe.key)&&ut("Duplicate keys found during update:",JSON.stringify(Oe.key),"Make sure keys are unique."),Qt.set(Oe.key,et))}let jt,Se=0;const ye=xt-Nt+1;let ts=!1,ze=0;const To=new Array(ye);for(et=0;et<ye;et++)To[et]=0;for(et=It;et<=ft;et++){const Oe=S[et];if(Se>=ye){B(Oe,q,J,!0);continue}let Ve;if(Oe.key!=null)Ve=Qt.get(Oe.key);else for(jt=Nt;jt<=xt;jt++)if(To[jt-Nt]===0&&dr(Oe,F[jt])){Ve=jt;break}Ve===void 0?B(Oe,q,J,!0):(To[Ve-Nt]=et+1,Ve>=ze?ze=Ve:ts=!0,b(Oe,F[Ve],Y,null,q,J,ct,tt,at),Se++)}const Jn=ts?Cm(To):Eo;for(jt=Jn.length-1,et=ye-1;et>=0;et--){const Oe=Nt+et,Ve=F[Oe],ta=Oe+1<Tt?F[Oe+1].el:K;To[et]===0?b(null,Ve,Y,ta,q,J,ct,tt,at):ts&&(jt<0||et!==Jn[jt]?pt(Ve,Y,ta,2):jt--)}}},pt=(S,F,Y,K,q=null)=>{const{el:J,type:ct,transition:tt,children:at,shapeFlag:et}=S;if(et&6){pt(S.component.subTree,F,Y,K);return}if(et&128){S.suspense.move(F,Y,K);return}if(et&64){ct.move(S,F,Y,Ne);return}if(ct===Vt){o(J,F,Y);for(let ft=0;ft<at.length;ft++)pt(at[ft],F,Y,K);o(S.anchor,F,Y);return}if(ct===lr){m(S,F,Y);return}if(K!==2&&et&1&&tt)if(K===0)tt.beforeEnter(J),o(J,F,Y),qe(()=>tt.enter(J),q);else{const{leave:ft,delayLeave:xt,afterLeave:It}=tt,Nt=()=>o(J,F,Y),Qt=()=>{ft(J,()=>{Nt(),It&&It()})};xt?xt(J,Nt,Qt):Qt()}else o(J,F,Y)},B=(S,F,Y,K=!1,q=!1)=>{const{type:J,props:ct,ref:tt,children:at,dynamicChildren:et,shapeFlag:Tt,patchFlag:ft,dirs:xt,cacheIndex:It}=S;if(ft===-2&&(q=!1),tt!=null&&Jr(tt,null,Y,S,!0),It!=null&&(F.renderCache[It]=void 0),Tt&256){F.ctx.deactivate(S);return}const Nt=Tt&1&&xt,Qt=!Fo(S);let jt;if(Qt&&(jt=ct&&ct.onVnodeBeforeUnmount)&&bs(jt,F,S),Tt&6)At(S.component,Y,K);else{if(Tt&128){S.suspense.unmount(Y,K);return}Nt&&po(S,null,F,"beforeUnmount"),Tt&64?S.type.remove(S,F,Y,Ne,K):et&&!et.hasOnce&&(J!==Vt||ft>0&&ft&64)?Pt(et,F,Y,!1,!0):(J===Vt&&ft&384||!q&&Tt&16)&&Pt(at,F,Y),K&&P(S)}(Qt&&(jt=ct&&ct.onVnodeUnmounted)||Nt)&&qe(()=>{jt&&bs(jt,F,S),Nt&&po(S,null,F,"unmounted")},Y)},P=S=>{const{type:F,el:Y,anchor:K,transition:q}=S;if(F===Vt){({}).NODE_ENV!=="production"&&S.patchFlag>0&&S.patchFlag&2048&&q&&!q.persisted?S.children.forEach(ct=>{ct.type===Xe?r(ct.el):P(ct)}):Yt(Y,K);return}if(F===lr){_(S);return}const J=()=>{r(Y),q&&!q.persisted&&q.afterLeave&&q.afterLeave()};if(S.shapeFlag&1&&q&&!q.persisted){const{leave:ct,delayLeave:tt}=q,at=()=>ct(Y,J);tt?tt(S.el,J,at):at()}else J()},Yt=(S,F)=>{let Y;for(;S!==F;)Y=h(S),r(S),S=Y;r(F)},At=(S,F,Y)=>{({}).NODE_ENV!=="production"&&S.type.__hmrId&&xp(S);const{bum:K,scope:q,job:J,subTree:ct,um:tt,m:at,a:et}=S;Ac(at),Ac(et),K&&Wo(K),q.stop(),J&&(J.flags|=8,B(ct,S,F,Y)),tt&&qe(tt,F),qe(()=>{S.isUnmounted=!0},F),F&&F.pendingBranch&&!F.isUnmounted&&S.asyncDep&&!S.asyncResolved&&S.suspenseId===F.pendingId&&(F.deps--,F.deps===0&&F.resolve()),{}.NODE_ENV!=="production"&&Pp(S)},Pt=(S,F,Y,K=!1,q=!1,J=0)=>{for(let ct=J;ct<S.length;ct++)B(S[ct],F,Y,K,q)},se=S=>{if(S.shapeFlag&6)return se(S.component.subTree);if(S.shapeFlag&128)return S.suspense.next();const F=h(S.anchor||S.el),Y=F&&F[Fp];return Y?h(Y):F};let Xt=!1;const U=(S,F,Y)=>{S==null?F._vnode&&B(F._vnode,null,null,!0):b(F._vnode||null,S,F,null,null,null,Y),F._vnode=S,Xt||(Xt=!0,oc(),rc(),Xt=!1)},Ne={p:b,um:B,m:pt,r:P,mt:rt,mc:I,pc:G,pbc:M,n:se,o:s};let He,De;return t&&([He,De]=t(Ne)),{render:U,hydrate:He,createApp:nm(U,He)}}function Ba({type:s,props:t},e){return e==="svg"&&s==="foreignObject"||e==="mathml"&&s==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:e}function go({effect:s,job:t},e){e?(s.flags|=32,t.flags|=4):(s.flags&=-33,t.flags&=-5)}function km(s,t){return(!s||s&&!s.pendingBranch)&&t&&!t.persisted}function rn(s,t,e=!1){const o=s.children,r=t.children;if(St(o)&&St(r))for(let n=0;n<o.length;n++){const a=o[n];let i=r[n];i.shapeFlag&1&&!i.dynamicChildren&&((i.patchFlag<=0||i.patchFlag===32)&&(i=r[n]=Zs(r[n]),i.el=a.el),!e&&i.patchFlag!==-2&&rn(a,i)),i.type===ir&&(i.el=a.el),{}.NODE_ENV!=="production"&&i.type===Xe&&!i.el&&(i.el=a.el)}}function Cm(s){const t=s.slice(),e=[0];let o,r,n,a,i;const l=s.length;for(o=0;o<l;o++){const c=s[o];if(c!==0){if(r=e[e.length-1],s[r]<c){t[o]=r,e.push(o);continue}for(n=0,a=e.length-1;n<a;)i=n+a>>1,s[e[i]]<c?n=i+1:a=i;c<s[e[n]]&&(n>0&&(t[o]=e[n-1]),e[n]=o)}}for(n=e.length,a=e[n-1];n-- >0;)e[n]=a,a=t[a];return e}function Lc(s){const t=s.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Lc(t)}function Ac(s){if(s)for(let t=0;t<s.length;t++)s[t].flags|=8}const Tm=Symbol.for("v-scx"),Sm=()=>{{const s=sn(Tm);return s||{}.NODE_ENV!=="production"&&ut("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),s}};function Mc(s,t){return Ya(s,null,t)}function Et(s,t,e){return{}.NODE_ENV!=="production"&&!Ot(t)&&ut("`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."),Ya(s,t,e)}function Ya(s,t,e=Wt){const{immediate:o,deep:r,flush:n,once:a}=e;({}).NODE_ENV!=="production"&&!t&&(o!==void 0&&ut('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),r!==void 0&&ut('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),a!==void 0&&ut('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const i=ie({},e);({}).NODE_ENV!=="production"&&(i.onWarn=ut);const l=t&&o||!t&&n!=="post";let c;if(hr){if(n==="sync"){const p=Sm();c=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=ve,p.resume=ve,p.pause=ve,p}}const u=Ce;i.call=(p,f,b)=>ms(p,u,f,b);let d=!1;n==="post"?i.scheduler=p=>{qe(p,u&&u.suspense)}:n!=="sync"&&(d=!0,i.scheduler=(p,f)=>{f?p():Zr(p)}),i.augmentJob=p=>{t&&(p.flags|=4),d&&(p.flags|=2,u&&(p.id=u.uid,p.i=u))};const h=fp(s,t,i);return hr&&(c?c.push(h):l&&h()),h}function Em(s,t,e){const o=this.proxy,r=ue(s)?s.includes(".")?Nc(o,s):()=>o[s]:s.bind(o,o);let n;Ot(t)?n=t:(n=t.handler,e=t);const a=fr(this),i=Ya(r,n.bind(o),e);return a(),i}function Nc(s,t){const e=t.split(".");return()=>{let o=s;for(let r=0;r<e.length&&o;r++)o=o[e[r]];return o}}const Pm=(s,t)=>t==="modelValue"||t==="model-value"?s.modelModifiers:s[`${t}Modifiers`]||s[`${Ye(t)}Modifiers`]||s[`${We(t)}Modifiers`];function Om(s,t,...e){if(s.isUnmounted)return;const o=s.vnode.props||Wt;if({}.NODE_ENV!=="production"){const{emitsOptions:u,propsOptions:[d]}=s;if(u)if(!(t in u))(!d||!(ao(Ye(t))in d))&&ut(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${ao(Ye(t))}" prop.`);else{const h=u[t];Ot(h)&&(h(...e)||ut(`Invalid event arguments: event validation failed for event "${t}".`))}}let r=e;const n=t.startsWith("update:"),a=n&&Pm(o,t.slice(7));if(a&&(a.trim&&(r=e.map(u=>ue(u)?u.trim():u)),a.number&&(r=e.map(Sh))),{}.NODE_ENV!=="production"&&Ip(s,t,r),{}.NODE_ENV!=="production"){const u=t.toLowerCase();u!==t&&o[ao(u)]&&ut(`Event "${u}" is emitted in component ${dn(s,s.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 "${We(t)}" instead of "${t}".`)}let i,l=o[i=ao(t)]||o[i=ao(Ye(t))];!l&&n&&(l=o[i=ao(We(t))]),l&&ms(l,s,6,r);const c=o[i+"Once"];if(c){if(!s.emitted)s.emitted={};else if(s.emitted[i])return;s.emitted[i]=!0,ms(c,s,6,r)}}function zc(s,t,e=!1){const o=t.emitsCache,r=o.get(s);if(r!==void 0)return r;const n=s.emits;let a={},i=!1;if(!Ot(s)){const l=c=>{const u=zc(c,t,!0);u&&(i=!0,ie(a,u))};!e&&t.mixins.length&&t.mixins.forEach(l),s.extends&&l(s.extends),s.mixins&&s.mixins.forEach(l)}return!n&&!i?(Kt(s)&&o.set(s,null),null):(St(n)?n.forEach(l=>a[l]=null):ie(a,n),Kt(s)&&o.set(s,a),a)}function nn(s,t){return!s||!jo(t)?!1:(t=t.slice(2).replace(/Once$/,""),Gt(s,t[0].toLowerCase()+t.slice(1))||Gt(s,We(t))||Gt(s,t))}let Xa=!1;function an(){Xa=!0}function Ga(s){const{type:t,vnode:e,proxy:o,withProxy:r,propsOptions:[n],slots:a,attrs:i,emit:l,render:c,renderCache:u,props:d,data:h,setupState:p,ctx:f,inheritAttrs:b}=s,w=Kr(s);let x,v;({}).NODE_ENV!=="production"&&(Xa=!1);try{if(e.shapeFlag&4){const _=r||o,k={}.NODE_ENV!=="production"&&p.__isScriptSetup?new Proxy(_,{get(Z,ot,I){return ut(`Property '${String(ot)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(Z,ot,I)}}):_;x=ls(c.call(k,_,u,{}.NODE_ENV!=="production"?ps(d):d,p,h,f)),v=i}else{const _=t;({}).NODE_ENV!=="production"&&i===d&&an(),x=ls(_.length>1?_({}.NODE_ENV!=="production"?ps(d):d,{}.NODE_ENV!=="production"?{get attrs(){return an(),ps(i)},slots:a,emit:l}:{attrs:i,slots:a,emit:l}):_({}.NODE_ENV!=="production"?ps(d):d,null)),v=t.props?i:Rm(i)}}catch(_){cr.length=0,er(_,s,1),x=it(Xe)}let g=x,m;if({}.NODE_ENV!=="production"&&x.patchFlag>0&&x.patchFlag&2048&&([g,m]=Vc(x)),v&&b!==!1){const _=Object.keys(v),{shapeFlag:k}=g;if(_.length){if(k&7)n&&_.some(Fr)&&(v=Im(v,n)),g=Ws(g,v,!1,!0);else if({}.NODE_ENV!=="production"&&!Xa&&g.type!==Xe){const Z=Object.keys(i),ot=[],I=[];for(let $=0,M=Z.length;$<M;$++){const D=Z[$];jo(D)?Fr(D)||ot.push(D[2].toLowerCase()+D.slice(3)):I.push(D)}I.length&&ut(`Extraneous non-props attributes (${I.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.`),ot.length&&ut(`Extraneous non-emits event listeners (${ot.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"&&!Bc(g)&&ut("Runtime directive used on component with non-element root node. The directives will not function as intended."),g=Ws(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(e.dirs):e.dirs),e.transition&&({}.NODE_ENV!=="production"&&!Bc(g)&&ut("Component inside <Transition> renders non-element root node that cannot be animated."),Ra(g,e.transition)),{}.NODE_ENV!=="production"&&m?m(g):x=g,Kr(w),x}const Vc=s=>{const t=s.children,e=s.dynamicChildren,o=Ua(t,!1);if(o){if({}.NODE_ENV!=="production"&&o.patchFlag>0&&o.patchFlag&2048)return Vc(o)}else return[s,void 0];const r=t.indexOf(o),n=e?e.indexOf(o):-1,a=i=>{t[r]=i,e&&(n>-1?e[n]=i:i.patchFlag>0&&(s.dynamicChildren=[...e,i]))};return[ls(o),a]};function Ua(s,t=!0){let e;for(let o=0;o<s.length;o++){const r=s[o];if(yo(r)){if(r.type!==Xe||r.children==="v-if"){if(e)return;if(e=r,{}.NODE_ENV!=="production"&&t&&e.patchFlag>0&&e.patchFlag&2048)return Ua(e.children)}}else return}return e}const Rm=s=>{let t;for(const e in s)(e==="class"||e==="style"||jo(e))&&((t||(t={}))[e]=s[e]);return t},Im=(s,t)=>{const e={};for(const o in s)(!Fr(o)||!(o.slice(9)in t))&&(e[o]=s[o]);return e},Bc=s=>s.shapeFlag&7||s.type===Xe;function Fm(s,t,e){const{props:o,children:r,component:n}=s,{props:a,children:i,patchFlag:l}=t,c=n.emitsOptions;if({}.NODE_ENV!=="production"&&(r||i)&&ys||t.dirs||t.transition)return!0;if(e&&l>=0){if(l&1024)return!0;if(l&16)return o?Yc(o,a,c):!!a;if(l&8){const u=t.dynamicProps;for(let d=0;d<u.length;d++){const h=u[d];if(a[h]!==o[h]&&!nn(c,h))return!0}}}else return(r||i)&&(!i||!i.$stable)?!0:o===a?!1:o?a?Yc(o,a,c):!0:!!a;return!1}function Yc(s,t,e){const o=Object.keys(t);if(o.length!==Object.keys(s).length)return!0;for(let r=0;r<o.length;r++){const n=o[r];if(t[n]!==s[n]&&!nn(e,n))return!0}return!1}function Dm({vnode:s,parent:t},e){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===s&&(o.el=s.el),o===s)(s=t.vnode).el=e,t=t.parent;else break}}const Xc=s=>s.__isSuspense;function $m(s,t){t&&t.pendingBranch?St(s)?t.effects.push(...s):t.effects.push(s):sc(s)}const Vt=Symbol.for("v-fgt"),ir=Symbol.for("v-txt"),Xe=Symbol.for("v-cmt"),lr=Symbol.for("v-stc"),cr=[];let Qe=null;function L(s=!1){cr.push(Qe=s?null:[])}function Lm(){cr.pop(),Qe=cr[cr.length-1]||null}let ur=1;function Gc(s,t=!1){ur+=s,s<0&&Qe&&t&&(Qe.hasOnce=!0)}function Uc(s){return s.dynamicChildren=ur>0?Qe||Eo:null,Lm(),ur>0&&Qe&&Qe.push(s),s}function z(s,t,e,o,r,n){return Uc(E(s,t,e,o,r,n,!0))}function $t(s,t,e,o,r){return Uc(it(s,t,e,o,r,!0))}function yo(s){return s?s.__v_isVNode===!0:!1}function dr(s,t){if({}.NODE_ENV!=="production"&&t.shapeFlag&6&&s.component){const e=qr.get(t.type);if(e&&e.has(s.component))return s.shapeFlag&=-257,t.shapeFlag&=-513,!1}return s.type===t.type&&s.key===t.key}const Am=(...s)=>Hc(...s),jc=({key:s})=>s??null,ln=({ref:s,ref_key:t,ref_for:e})=>(typeof s=="number"&&(s=""+s),s!=null?ue(s)||he(s)||Ot(s)?{i:_e,r:s,k:t,f:!!e}:s:null);function E(s,t=null,e=null,o=0,r=null,n=s===Vt?0:1,a=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:s,props:t,key:t&&jc(t),ref:t&&ln(t),scopeId:dc,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:n,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:_e};return i?(ja(l,e),n&128&&s.normalize(l)):e&&(l.shapeFlag|=ue(e)?8:16),{}.NODE_ENV!=="production"&&l.key!==l.key&&ut("VNode created with invalid key (NaN). VNode type:",l.type),ur>0&&!a&&Qe&&(l.patchFlag>0||n&6)&&l.patchFlag!==32&&Qe.push(l),l}const it={}.NODE_ENV!=="production"?Am:Hc;function Hc(s,t=null,e=null,o=0,r=null,n=!1){if((!s||s===jp)&&({}.NODE_ENV!=="production"&&!s&&ut(`Invalid vnode type when creating vnode: ${s}.`),s=Xe),yo(s)){const i=Ws(s,t,!0);return e&&ja(i,e),ur>0&&!n&&Qe&&(i.shapeFlag&6?Qe[Qe.indexOf(s)]=i:Qe.push(i)),i.patchFlag=-2,i}if(ru(s)&&(s=s.__vccOpts),t){t=Mm(t);let{class:i,style:l}=t;i&&!ue(i)&&(t.class=oe(i)),Kt(l)&&(Xr(l)&&!St(l)&&(l=ie({},l)),t.style=A(l))}const a=ue(s)?1:Xc(s)?128:Dp(s)?64:Kt(s)?4:Ot(s)?2:0;return{}.NODE_ENV!=="production"&&a&4&&Xr(s)&&(s=Lt(s),ut("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`.",`
19
- Component that was made reactive: `,s)),E(s,t,e,o,r,a,n,!0)}function Mm(s){return s?Xr(s)||Tc(s)?ie({},s):s:null}function Ws(s,t,e=!1,o=!1){const{props:r,ref:n,patchFlag:a,children:i,transition:l}=s,c=t?Ha(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:s.type,props:c,key:c&&jc(c),ref:t&&t.ref?e&&n?St(n)?n.concat(ln(t)):[n,ln(t)]:ln(t):n,scopeId:s.scopeId,slotScopeIds:s.slotScopeIds,children:{}.NODE_ENV!=="production"&&a===-1&&St(i)?i.map(Wc):i,target:s.target,targetStart:s.targetStart,targetAnchor:s.targetAnchor,staticCount:s.staticCount,shapeFlag:s.shapeFlag,patchFlag:t&&s.type!==Vt?a===-1?16:a|16:a,dynamicProps:s.dynamicProps,dynamicChildren:s.dynamicChildren,appContext:s.appContext,dirs:s.dirs,transition:l,component:s.component,suspense:s.suspense,ssContent:s.ssContent&&Ws(s.ssContent),ssFallback:s.ssFallback&&Ws(s.ssFallback),el:s.el,anchor:s.anchor,ctx:s.ctx,ce:s.ce};return l&&o&&Ra(u,l.clone(u)),u}function Wc(s){const t=Ws(s);return St(s.children)&&(t.children=s.children.map(Wc)),t}function Ht(s=" ",t=0){return it(ir,null,s,t)}function Zc(s,t){const e=it(lr,null,s);return e.staticCount=t,e}function Rt(s="",t=!1){return t?(L(),$t(Xe,null,s)):it(Xe,null,s)}function ls(s){return s==null||typeof s=="boolean"?it(Xe):St(s)?it(Vt,null,s.slice()):yo(s)?Zs(s):it(ir,null,String(s))}function Zs(s){return s.el===null&&s.patchFlag!==-1||s.memo?s:Ws(s)}function ja(s,t){let e=0;const{shapeFlag:o}=s;if(t==null)t=null;else if(St(t))e=16;else if(typeof t=="object")if(o&65){const r=t.default;r&&(r._c&&(r._d=!1),ja(s,r()),r._c&&(r._d=!0));return}else{e=32;const r=t._;!r&&!Tc(t)?t._ctx=_e:r===3&&_e&&(_e.slots._===1?t._=1:(t._=2,s.patchFlag|=1024))}else Ot(t)?(t={default:t,_ctx:_e},e=32):(t=String(t),o&64?(e=16,t=[Ht(t)]):e=8);s.children=t,s.shapeFlag|=e}function Ha(...s){const t={};for(let e=0;e<s.length;e++){const o=s[e];for(const r in o)if(r==="class")t.class!==o.class&&(t.class=oe([t.class,o.class]));else if(r==="style")t.style=A([t.style,o.style]);else if(jo(r)){const n=t[r],a=o[r];a&&n!==a&&!(St(n)&&n.includes(a))&&(t[r]=n?[].concat(n,a):a)}else r!==""&&(t[r]=o[r])}return t}function bs(s,t,e,o=null){ms(s,t,7,[e,o])}const Nm=wc();let zm=0;function Vm(s,t,e){const o=s.type,r=(t?t.appContext:s.appContext)||Nm,n={uid:zm++,vnode:s,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Nh(!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:Ec(o,r),emitsOptions:zc(o,r),emit:null,emitted:null,propsDefaults:Wt,inheritAttrs:o.inheritAttrs,ctx:Wt,data:Wt,props:Wt,attrs:Wt,slots:Wt,refs:Wt,setupState:Wt,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"?n.ctx=Hp(n):n.ctx={_:n},n.root=t?t.root:n,n.emit=Om.bind(null,n),s.ce&&s.ce(n),n}let Ce=null;const qc=()=>Ce||_e;let cn,Wa;{const s=Zo(),t=(e,o)=>{let r;return(r=s[e])||(r=s[e]=[]),r.push(o),n=>{r.length>1?r.forEach(a=>a(n)):r[0](n)}};cn=t("__VUE_INSTANCE_SETTERS__",e=>Ce=e),Wa=t("__VUE_SSR_SETTERS__",e=>hr=e)}const fr=s=>{const t=Ce;return cn(s),s.scope.on(),()=>{s.scope.off(),cn(t)}},Qc=()=>{Ce&&Ce.scope.off(),cn(null)},Bm=Os("slot,component");function Za(s,{isNativeTag:t}){(Bm(s)||t(s))&&ut("Do not use built-in or reserved HTML elements as component id: "+s)}function Kc(s){return s.vnode.shapeFlag&4}let hr=!1;function Ym(s,t=!1,e=!1){t&&Wa(t);const{props:o,children:r}=s.vnode,n=Kc(s);im(s,o,n,t),vm(s,r,e);const a=n?Xm(s,t):void 0;return t&&Wa(!1),a}function Xm(s,t){var e;const o=s.type;if({}.NODE_ENV!=="production"){if(o.name&&Za(o.name,s.appContext.config),o.components){const n=Object.keys(o.components);for(let a=0;a<n.length;a++)Za(n[a],s.appContext.config)}if(o.directives){const n=Object.keys(o.directives);for(let a=0;a<n.length;a++)fc(n[a])}o.compilerOptions&&Gm()&&ut('"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.')}s.accessCache=Object.create(null),s.proxy=new Proxy(s.ctx,gc),{}.NODE_ENV!=="production"&&Wp(s);const{setup:r}=o;if(r){Is();const n=s.setupContext=r.length>1?su(s):null,a=fr(s),i=Oo(r,s,0,[{}.NODE_ENV!=="production"?ps(s.props):s.props,n]),l=la(i);if(Fs(),a(),(l||s.sp)&&!Fo(s)&&hc(s),l){if(i.then(Qc,Qc),t)return i.then(c=>{Jc(s,c,t)}).catch(c=>{er(c,s,0)});if(s.asyncDep=i,{}.NODE_ENV!=="production"&&!s.suspense){const c=(e=o.name)!=null?e:"Anonymous";ut(`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 Jc(s,i,t)}else tu(s,t)}function Jc(s,t,e){Ot(t)?s.type.__ssrInlineRender?s.ssrRender=t:s.render=t:Kt(t)?({}.NODE_ENV!=="production"&&yo(t)&&ut("setup() should not return VNodes directly - return a render function instead."),{}.NODE_ENV!=="production"&&(s.devtoolsRawSetupState=t),s.setupState=Ql(t),{}.NODE_ENV!=="production"&&Zp(s)):{}.NODE_ENV!=="production"&&t!==void 0&&ut(`setup() should return an object. Received: ${t===null?"null":typeof t}`),tu(s,e)}let qa;const Gm=()=>!qa;function tu(s,t,e){const o=s.type;if(!s.render){if(!t&&qa&&!o.render){const r=o.template||Aa(s).template;if(r){({}).NODE_ENV!=="production"&&Ms(s,"compile");const{isCustomElement:n,compilerOptions:a}=s.appContext.config,{delimiters:i,compilerOptions:l}=o,c=ie(ie({isCustomElement:n,delimiters:i},a),l);o.render=qa(r,c),{}.NODE_ENV!=="production"&&Ns(s,"compile")}}s.render=o.render||ve}{const r=fr(s);Is();try{Jp(s)}finally{Fs(),r()}}({}).NODE_ENV!=="production"&&!o.render&&s.render===ve&&!t&&(o.template?ut('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".'):ut("Component is missing template or render function: ",o))}const eu={}.NODE_ENV!=="production"?{get(s,t){return an(),be(s,"get",""),s[t]},set(){return ut("setupContext.attrs is readonly."),!1},deleteProperty(){return ut("setupContext.attrs is readonly."),!1}}:{get(s,t){return be(s,"get",""),s[t]}};function Um(s){return new Proxy(s.slots,{get(t,e){return be(s,"get","$slots"),t[e]}})}function su(s){const t=e=>{if({}.NODE_ENV!=="production"&&(s.exposed&&ut("expose() should be called only once per setup()."),e!=null)){let o=typeof e;o==="object"&&(St(e)?o="array":he(e)&&(o="ref")),o!=="object"&&ut(`expose() should be passed a plain object, received ${o}.`)}s.exposed=e||{}};if({}.NODE_ENV!=="production"){let e,o;return Object.freeze({get attrs(){return e||(e=new Proxy(s.attrs,eu))},get slots(){return o||(o=Um(s))},get emit(){return(r,...n)=>s.emit(r,...n)},expose:t})}else return{attrs:new Proxy(s.attrs,eu),slots:s.slots,emit:s.emit,expose:t}}function un(s){return s.exposed?s.exposeProxy||(s.exposeProxy=new Proxy(Ql(np(s.exposed)),{get(t,e){if(e in t)return t[e];if(e in mo)return mo[e](s)},has(t,e){return e in t||e in mo}})):s.proxy}const jm=/(?:^|[-_])(\w)/g,Hm=s=>s.replace(jm,t=>t.toUpperCase()).replace(/[-_]/g,"");function ou(s,t=!0){return Ot(s)?s.displayName||s.name:s.name||t&&s.__name}function dn(s,t,e=!1){let o=ou(t);if(!o&&t.__file){const r=t.__file.match(/([^/\\]+)\.\w+$/);r&&(o=r[1])}if(!o&&s&&s.parent){const r=n=>{for(const a in n)if(n[a]===t)return a};o=r(s.components||s.parent.type.components)||r(s.appContext.components)}return o?Hm(o):e?"App":"Anonymous"}function ru(s){return Ot(s)&&"__vccOpts"in s}const Wm=(s,t)=>{const e=up(s,t,hr);if({}.NODE_ENV!=="production"){const o=qc();o&&o.appContext.config.warnRecursiveComputed&&(e._warnRecursive=!0)}return e};function te(s,t,e){const o=arguments.length;return o===2?Kt(t)&&!St(t)?yo(t)?it(s,null,[t]):it(s,t):it(s,null,t):(o>3?e=Array.prototype.slice.call(arguments,2):o===3&&yo(e)&&(e=[e]),it(s,t,e))}function Zm(){if({}.NODE_ENV==="production"||typeof window>"u")return;const s={style:"color:#3ba776"},t={style:"color:#1677ff"},e={style:"color:#f5222d"},o={style:"color:#eb2f96"},r={__vue_custom_formatter:!0,header(d){return Kt(d)?d.__isVue?["div",s,"VueInstance"]:he(d)?["div",{},["span",s,u(d)],"<",i("_value"in d?d._value:d),">"]:lo(d)?["div",{},["span",s,$e(d)?"ShallowReactive":"Reactive"],"<",i(d),`>${$s(d)?" (readonly)":""}`]:$s(d)?["div",{},["span",s,$e(d)?"ShallowReadonly":"Readonly"],"<",i(d),">"]:null:null},hasBody(d){return d&&d.__isVue},body(d){if(d&&d.__isVue)return["div",{},...n(d.$)]}};function n(d){const h=[];d.type.props&&d.props&&h.push(a("props",Lt(d.props))),d.setupState!==Wt&&h.push(a("setup",d.setupState)),d.data!==Wt&&h.push(a("data",Lt(d.data)));const p=l(d,"computed");p&&h.push(a("computed",p));const f=l(d,"inject");return f&&h.push(a("injected",f)),h.push(["div",{},["span",{style:o.style+";opacity:0.66"},"$ (internal): "],["object",{object:d}]]),h}function a(d,h){return h=ie({},h),Object.keys(h).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},d],["div",{style:"padding-left:1.25em"},...Object.keys(h).map(p=>["div",{},["span",o,p+": "],i(h[p],!1)])]]:["span",{}]}function i(d,h=!0){return typeof d=="number"?["span",t,d]:typeof d=="string"?["span",e,JSON.stringify(d)]:typeof d=="boolean"?["span",o,d]:Kt(d)?["object",{object:h?Lt(d):d}]:["span",e,String(d)]}function l(d,h){const p=d.type;if(Ot(p))return;const f={};for(const b in d.ctx)c(p,b,h)&&(f[b]=d.ctx[b]);return f}function c(d,h,p){const f=d[p];if(St(f)&&f.includes(h)||Kt(f)&&h in f||d.extends&&c(d.extends,h,p)||d.mixins&&d.mixins.some(b=>c(b,h,p)))return!0}function u(d){return $e(d)?"ShallowRef":d.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(r):window.devtoolsFormatters=[r]}const nu="3.5.13",ss={}.NODE_ENV!=="production"?ut:ve;/**
19
+ For more details, see https://link.vuejs.org/feature-flags.`)}}const Ee=ny;function Zg(o){return Ug(o)}function Ug(o,t){Xg();const e=rs();e.__VUE__=!0,{}.NODE_ENV!=="production"&&vu(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,v=(E,P,L,Z=null,U=null,G=null,rt=void 0,W=null,ot={}.NODE_ENV!=="production"&&go?!1:!!P.dynamicChildren)=>{if(E===P)return;E&&!Go(E,P)&&(Z=nt(E),et(E,U,G,!0),E=null),P.patchFlag===-2&&(ot=!1,P.dynamicChildren=null);const{type:K,ref:Ct,shapeFlag:ct}=P;switch(K){case bs:k(E,P,L,Z);break;case fe:x(E,P,L,Z);break;case _s:E==null?m(P,L,Z,rt):{}.NODE_ENV!=="production"&&g(E,P,L,rt);break;case Dt:tt(E,P,L,Z,U,G,rt,W,ot);break;default:ct&1?_(E,P,L,Z,U,G,rt,W,ot):ct&6?vt(E,P,L,Z,U,G,rt,W,ot):ct&64||ct&128?K.process(E,P,L,Z,U,G,rt,W,ot,Pt):{}.NODE_ENV!=="production"&&J("Invalid VNode type:",K,`(${typeof K})`)}Ct!=null&&U&&xr(Ct,E&&E.ref,G,P||E,!P)},k=(E,P,L,Z)=>{if(E==null)n(P.el=i(P.children),L,Z);else{const U=P.el=E.el;P.children!==E.children&&c(U,P.children)}},x=(E,P,L,Z)=>{E==null?n(P.el=l(P.children||""),L,Z):P.el=E.el},m=(E,P,L,Z)=>{[E.el,E.anchor]=p(E.children,P,L,Z,E.el,E.anchor)},g=(E,P,L,Z)=>{if(P.children!==E.children){const U=d(E.anchor);b(E),[P.el,P.anchor]=p(P.children,L,U,Z)}else P.el=E.el,P.anchor=E.anchor},y=({el:E,anchor:P},L,Z)=>{let U;for(;E&&E!==P;)U=d(E),n(E,L,Z),E=U;n(P,L,Z)},b=({el:E,anchor:P})=>{let L;for(;E&&E!==P;)L=d(E),s(E),E=L;s(P)},_=(E,P,L,Z,U,G,rt,W,ot)=>{P.type==="svg"?rt="svg":P.type==="math"&&(rt="mathml"),E==null?$(P,L,Z,U,G,rt,W,ot):D(E,P,U,G,rt,W,ot)},$=(E,P,L,Z,U,G,rt,W)=>{let ot,K;const{props:Ct,shapeFlag:ct,transition:bt,dirs:Et}=E;if(ot=E.el=a(E.type,G,Ct&&Ct.is,Ct),ct&8?u(ot,E.children):ct&16&&B(E.children,ot,null,Z,U,Mi(E,G),rt,W),Et&&gn(E,null,Z,"created"),Y(ot,E,E.scopeId,rt,Z),Ct){for(const te in Ct)te!=="value"&&!ss(te)&&r(ot,te,null,Ct[te],G,Z);"value"in Ct&&r(ot,"value",null,Ct.value,G),(K=Ct.onVnodeBeforeMount)&&je(K,Z,E)}({}).NODE_ENV!=="production"&&(nr(ot,"__vnode",E,!0),nr(ot,"__vueParentComponent",Z,!0)),Et&&gn(E,null,Z,"beforeMount");const Ft=Gg(U,bt);Ft&&bt.beforeEnter(ot),n(ot,P,L),((K=Ct&&Ct.onVnodeMounted)||Ft||Et)&&Ee(()=>{K&&je(K,Z,E),Ft&&bt.enter(ot),Et&&gn(E,null,Z,"mounted")},U)},Y=(E,P,L,Z,U)=>{if(L&&h(E,L),Z)for(let G=0;G<Z.length;G++)h(E,Z[G]);if(U){let G=U.subTree;if({}.NODE_ENV!=="production"&&G.patchFlag>0&&G.patchFlag&2048&&(G=Yi(G.children)||G),P===G||Ir(G.type)&&(G.ssContent===P||G.ssFallback===P)){const rt=U.vnode;Y(E,rt,rt.scopeId,rt.slotScopeIds,U.parent)}}},B=(E,P,L,Z,U,G,rt,W,ot=0)=>{for(let K=ot;K<E.length;K++){const Ct=E[K]=W?Ho(E[K]):ao(E[K]);v(null,Ct,P,L,Z,U,G,rt,W)}},D=(E,P,L,Z,U,G,rt)=>{const W=P.el=E.el;({}).NODE_ENV!=="production"&&(W.__vnode=P);let{patchFlag:ot,dynamicChildren:K,dirs:Ct}=P;ot|=E.patchFlag&16;const ct=E.props||qt,bt=P.props||qt;let Et;if(L&&bn(L,!1),(Et=bt.onVnodeBeforeUpdate)&&je(Et,L,P,E),Ct&&gn(P,E,L,"beforeUpdate"),L&&bn(L,!0),{}.NODE_ENV!=="production"&&go&&(ot=0,rt=!1,K=null),(ct.innerHTML&&bt.innerHTML==null||ct.textContent&&bt.textContent==null)&&u(W,""),K?(ut(E.dynamicChildren,K,W,L,Z,Mi(P,U),G),{}.NODE_ENV!=="production"&&Sr(E,P)):rt||oe(E,P,W,null,L,Z,Mi(P,U),G,!1),ot>0){if(ot&16)j(W,ct,bt,L,U);else if(ot&2&&ct.class!==bt.class&&r(W,"class",null,bt.class,U),ot&4&&r(W,"style",ct.style,bt.style,U),ot&8){const Ft=P.dynamicProps;for(let te=0;te<Ft.length;te++){const Ht=Ft[te],we=ct[Ht],ve=bt[Ht];(ve!==we||Ht==="value")&&r(W,Ht,we,ve,U,L)}}ot&1&&E.children!==P.children&&u(W,P.children)}else!rt&&K==null&&j(W,ct,bt,L,U);((Et=bt.onVnodeUpdated)||Ct)&&Ee(()=>{Et&&je(Et,L,P,E),Ct&&gn(P,E,L,"updated")},Z)},ut=(E,P,L,Z,U,G,rt)=>{for(let W=0;W<P.length;W++){const ot=E[W],K=P[W],Ct=ot.el&&(ot.type===Dt||!Go(ot,K)||ot.shapeFlag&70)?f(ot.el):L;v(ot,K,Ct,null,Z,U,G,rt,!0)}},j=(E,P,L,Z,U)=>{if(P!==L){if(P!==qt)for(const G in P)!ss(G)&&!(G in L)&&r(E,G,P[G],null,U,Z);for(const G in L){if(ss(G))continue;const rt=L[G],W=P[G];rt!==W&&G!=="value"&&r(E,G,W,rt,U,Z)}"value"in L&&r(E,"value",P.value,L.value,U)}},tt=(E,P,L,Z,U,G,rt,W,ot)=>{const K=P.el=E?E.el:i(""),Ct=P.anchor=E?E.anchor:i("");let{patchFlag:ct,dynamicChildren:bt,slotScopeIds:Et}=P;({}).NODE_ENV!=="production"&&(go||ct&2048)&&(ct=0,ot=!1,bt=null),Et&&(W=W?W.concat(Et):Et),E==null?(n(K,L,Z),n(Ct,L,Z),B(P.children||[],L,Ct,U,G,rt,W,ot)):ct>0&&ct&64&&bt&&E.dynamicChildren?(ut(E.dynamicChildren,bt,L,U,G,rt,W),{}.NODE_ENV!=="production"?Sr(E,P):(P.key!=null||U&&P===U.subTree)&&Sr(E,P,!0)):oe(E,P,L,Ct,U,G,rt,W,ot)},vt=(E,P,L,Z,U,G,rt,W,ot)=>{P.slotScopeIds=W,E==null?P.shapeFlag&512?U.ctx.activate(P,L,Z,rt,ot):St(P,L,Z,U,G,rt,ot):$t(E,P,ot)},St=(E,P,L,Z,U,G,rt)=>{const W=E.component=uy(E,Z,U);if({}.NODE_ENV!=="production"&&W.type.__hmrId&&Z0(W),{}.NODE_ENV!=="production"&&(dr(E),Io(W,"mount")),ms(E)&&(W.ctx.renderer=Pt),{}.NODE_ENV!=="production"&&Io(W,"init"),dy(W,!1,rt),{}.NODE_ENV!=="production"&&Ao(W,"init"),W.asyncDep){if({}.NODE_ENV!=="production"&&go&&(E.el=null),U&&U.registerDep(W,kt,rt),!E.el){const ot=W.subTree=Q(fe);x(null,ot,P,L)}}else kt(W,E,P,L,U,G,rt);({}).NODE_ENV!=="production"&&(hr(),Ao(W,"mount"))},$t=(E,P,L)=>{const Z=P.component=E.component;if(ey(E,P,L))if(Z.asyncDep&&!Z.asyncResolved){({}).NODE_ENV!=="production"&&dr(P),wt(Z,P,L),{}.NODE_ENV!=="production"&&hr();return}else Z.next=P,Z.update();else P.el=E.el,Z.vnode=P},kt=(E,P,L,Z,U,G,rt)=>{const W=()=>{if(E.isMounted){let{next:ct,bu:bt,u:Et,parent:Ft,vnode:te}=E;{const ze=nf(E);if(ze){ct&&(ct.el=te.el,wt(E,ct,rt)),ze.asyncDep.then(()=>{E.isUnmounted||W()});return}}let Ht=ct,we;({}).NODE_ENV!=="production"&&dr(ct||E.vnode),bn(E,!1),ct?(ct.el=te.el,wt(E,ct,rt)):ct=te,bt&&un(bt),(we=ct.props&&ct.props.onVnodeBeforeUpdate)&&je(we,Ft,ct,te),bn(E,!0),{}.NODE_ENV!=="production"&&Io(E,"render");const ve=Vi(E);({}).NODE_ENV!=="production"&&Ao(E,"render");const Ge=E.subTree;E.subTree=ve,{}.NODE_ENV!=="production"&&Io(E,"patch"),v(Ge,ve,f(Ge.el),nt(Ge),E,U,G),{}.NODE_ENV!=="production"&&Ao(E,"patch"),ct.el=ve.el,Ht===null&&oy(E,ve.el),Et&&Ee(Et,U),(we=ct.props&&ct.props.onVnodeUpdated)&&Ee(()=>je(we,Ft,ct,te),U),{}.NODE_ENV!=="production"&&bu(E),{}.NODE_ENV!=="production"&&hr()}else{let ct;const{el:bt,props:Et}=P,{bm:Ft,m:te,parent:Ht,root:we,type:ve}=E,Ge=yn(P);if(bn(E,!1),Ft&&un(Ft),!Ge&&(ct=Et&&Et.onVnodeBeforeMount)&&je(ct,Ht,P),bn(E,!0),bt&&V){const ze=()=>{({}).NODE_ENV!=="production"&&Io(E,"render"),E.subTree=Vi(E),{}.NODE_ENV!=="production"&&Ao(E,"render"),{}.NODE_ENV!=="production"&&Io(E,"hydrate"),V(bt,E.subTree,E,U,null),{}.NODE_ENV!=="production"&&Ao(E,"hydrate")};Ge&&ve.__asyncHydrate?ve.__asyncHydrate(bt,E,ze):ze()}else{we.ce&&we.ce._injectChildStyle(ve),{}.NODE_ENV!=="production"&&Io(E,"render");const ze=E.subTree=Vi(E);({}).NODE_ENV!=="production"&&Ao(E,"render"),{}.NODE_ENV!=="production"&&Io(E,"patch"),v(null,ze,L,Z,E,U,G),{}.NODE_ENV!=="production"&&Ao(E,"patch"),P.el=ze.el}if(te&&Ee(te,U),!Ge&&(ct=Et&&Et.onVnodeMounted)){const ze=P;Ee(()=>je(ct,Ht,ze),U)}(P.shapeFlag&256||Ht&&yn(Ht.vnode)&&Ht.vnode.shapeFlag&256)&&E.a&&Ee(E.a,U),E.isMounted=!0,{}.NODE_ENV!=="production"&&ki(E),P=L=Z=null}};E.scope.on();const ot=E.effect=new Bc(W);E.scope.off();const K=E.update=ot.run.bind(ot),Ct=E.job=ot.runIfDirty.bind(ot);Ct.i=E,Ct.id=E.uid,ot.scheduler=()=>gr(Ct),bn(E,!0),{}.NODE_ENV!=="production"&&(ot.onTrack=E.rtc?ct=>un(E.rtc,ct):void 0,ot.onTrigger=E.rtg?ct=>un(E.rtg,ct):void 0),K()},wt=(E,P,L)=>{P.component=E;const Z=E.vnode.props;E.vnode=P,E.next=null,Ag(E,P.props,Z,L),Yg(E,P.children,L),To(),hu(E),Eo()},oe=(E,P,L,Z,U,G,rt,W,ot=!1)=>{const K=E&&E.children,Ct=E?E.shapeFlag:0,ct=P.children,{patchFlag:bt,shapeFlag:Et}=P;if(bt>0){if(bt&128){he(K,ct,L,Z,U,G,rt,W,ot);return}else if(bt&256){pe(K,ct,L,Z,U,G,rt,W,ot);return}}Et&8?(Ct&16&&F(K,U,G),ct!==K&&u(L,ct)):Ct&16?Et&16?he(K,ct,L,Z,U,G,rt,W,ot):F(K,U,G,!0):(Ct&8&&u(L,""),Et&16&&B(ct,L,Z,U,G,rt,W,ot))},pe=(E,P,L,Z,U,G,rt,W,ot)=>{E=E||On,P=P||On;const K=E.length,Ct=P.length,ct=Math.min(K,Ct);let bt;for(bt=0;bt<ct;bt++){const Et=P[bt]=ot?Ho(P[bt]):ao(P[bt]);v(E[bt],Et,L,null,U,G,rt,W,ot)}K>Ct?F(E,U,G,!0,!1,ct):B(P,L,Z,U,G,rt,W,ot,ct)},he=(E,P,L,Z,U,G,rt,W,ot)=>{let K=0;const Ct=P.length;let ct=E.length-1,bt=Ct-1;for(;K<=ct&&K<=bt;){const Et=E[K],Ft=P[K]=ot?Ho(P[K]):ao(P[K]);if(Go(Et,Ft))v(Et,Ft,L,null,U,G,rt,W,ot);else break;K++}for(;K<=ct&&K<=bt;){const Et=E[ct],Ft=P[bt]=ot?Ho(P[bt]):ao(P[bt]);if(Go(Et,Ft))v(Et,Ft,L,null,U,G,rt,W,ot);else break;ct--,bt--}if(K>ct){if(K<=bt){const Et=bt+1,Ft=Et<Ct?P[Et].el:Z;for(;K<=bt;)v(null,P[K]=ot?Ho(P[K]):ao(P[K]),L,Ft,U,G,rt,W,ot),K++}}else if(K>bt)for(;K<=ct;)et(E[K],U,G,!0),K++;else{const Et=K,Ft=K,te=new Map;for(K=Ft;K<=bt;K++){const Se=P[K]=ot?Ho(P[K]):ao(P[K]);Se.key!=null&&({}.NODE_ENV!=="production"&&te.has(Se.key)&&J("Duplicate keys found during update:",JSON.stringify(Se.key),"Make sure keys are unique."),te.set(Se.key,K))}let Ht,we=0;const ve=bt-Ft+1;let Ge=!1,ze=0;const En=new Array(ve);for(K=0;K<ve;K++)En[K]=0;for(K=Et;K<=ct;K++){const Se=E[K];if(we>=ve){et(Se,U,G,!0);continue}let De;if(Se.key!=null)De=te.get(Se.key);else for(Ht=Ft;Ht<=bt;Ht++)if(En[Ht-Ft]===0&&Go(Se,P[Ht])){De=Ht;break}De===void 0?et(Se,U,G,!0):(En[De-Ft]=K+1,De>=ze?ze=De:Ge=!0,v(Se,P[De],L,null,U,G,rt,W,ot),we++)}const Ua=Ge?Hg(En):On;for(Ht=Ua.length-1,K=ve-1;K>=0;K--){const Se=Ft+K,De=P[Se],Ga=Se+1<Ct?P[Se+1].el:Z;En[K]===0?v(null,De,L,Ga,U,G,rt,W,ot):Ge&&(Ht<0||K!==Ua[Ht]?Xt(De,L,Ga,2):Ht--)}}},Xt=(E,P,L,Z,U=null)=>{const{el:G,type:rt,transition:W,children:ot,shapeFlag:K}=E;if(K&6){Xt(E.component.subTree,P,L,Z);return}if(K&128){E.suspense.move(P,L,Z);return}if(K&64){rt.move(E,P,L,Pt);return}if(rt===Dt){n(G,P,L);for(let ct=0;ct<ot.length;ct++)Xt(ot[ct],P,L,Z);n(E.anchor,P,L);return}if(rt===_s){y(E,P,L);return}if(Z!==2&&K&1&&W)if(Z===0)W.beforeEnter(G),n(G,P,L),Ee(()=>W.enter(G),U);else{const{leave:ct,delayLeave:bt,afterLeave:Et}=W,Ft=()=>n(G,P,L),te=()=>{ct(G,()=>{Ft(),Et&&Et()})};bt?bt(G,Ft,te):te()}else n(G,P,L)},et=(E,P,L,Z=!1,U=!1)=>{const{type:G,props:rt,ref:W,children:ot,dynamicChildren:K,shapeFlag:Ct,patchFlag:ct,dirs:bt,cacheIndex:Et}=E;if(ct===-2&&(U=!1),W!=null&&xr(W,null,L,E,!0),Et!=null&&(P.renderCache[Et]=void 0),Ct&256){P.ctx.deactivate(E);return}const Ft=Ct&1&&bt,te=!yn(E);let Ht;if(te&&(Ht=rt&&rt.onVnodeBeforeUnmount)&&je(Ht,P,E),Ct&6)Nt(E.component,L,Z);else{if(Ct&128){E.suspense.unmount(L,Z);return}Ft&&gn(E,null,P,"beforeUnmount"),Ct&64?E.type.remove(E,P,L,Pt,Z):K&&!K.hasOnce&&(G!==Dt||ct>0&&ct&64)?F(K,P,L,!1,!0):(G===Dt&&ct&384||!U&&Ct&16)&&F(ot,P,L),Z&&A(E)}(te&&(Ht=rt&&rt.onVnodeUnmounted)||Ft)&&Ee(()=>{Ht&&je(Ht,P,E),Ft&&gn(E,null,P,"unmounted")},L)},A=E=>{const{type:P,el:L,anchor:Z,transition:U}=E;if(P===Dt){({}).NODE_ENV!=="production"&&E.patchFlag>0&&E.patchFlag&2048&&U&&!U.persisted?E.children.forEach(rt=>{rt.type===fe?s(rt.el):A(rt)}):ne(L,Z);return}if(P===_s){b(E);return}const G=()=>{s(L),U&&!U.persisted&&U.afterLeave&&U.afterLeave()};if(E.shapeFlag&1&&U&&!U.persisted){const{leave:rt,delayLeave:W}=U,ot=()=>rt(L,G);W?W(E.el,G,ot):ot()}else G()},ne=(E,P)=>{let L;for(;E!==P;)L=d(E),s(E),E=L;s(P)},Nt=(E,P,L)=>{({}).NODE_ENV!=="production"&&E.type.__hmrId&&U0(E);const{bum:Z,scope:U,job:G,subTree:rt,um:W,m:ot,a:K}=E;Or(ot),Or(K),Z&&un(Z),U.stop(),G&&(G.flags|=8,et(rt,E,P,L)),W&&Ee(W,P),Ee(()=>{E.isUnmounted=!0},P),P&&P.pendingBranch&&!P.isUnmounted&&E.asyncDep&&!E.asyncResolved&&E.suspenseId===P.pendingId&&(P.deps--,P.deps===0&&P.resolve()),{}.NODE_ENV!=="production"&&K0(E)},F=(E,P,L,Z=!1,U=!1,G=0)=>{for(let rt=G;rt<E.length;rt++)et(E[rt],P,L,Z,U)},nt=E=>{if(E.shapeFlag&6)return nt(E.component.subTree);if(E.shapeFlag&128)return E.suspense.next();const P=d(E.anchor||E.el),L=P&&P[og];return L?d(L):P};let H=!1;const lt=(E,P,L)=>{E==null?P._vnode&&et(P._vnode,null,null,!0):v(P._vnode||null,E,P,null,null,null,L),P._vnode=E,H||(H=!0,hu(),pu(),H=!1)},Pt={p:v,um:et,m:Xt,r:A,mt:St,mc:B,pc:oe,pbc:ut,n:nt,o};let Zt,V;return t&&([Zt,V]=t(Pt)),{render:lt,hydrate:Zt,createApp:Pg(lt,Zt)}}function Mi({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 bn({effect:o,job:t},e){e?(o.flags|=32,t.flags|=4):(o.flags&=-33,t.flags&=-5)}function Gg(o,t){return(!o||o&&!o.pendingBranch)&&t&&!t.persisted}function Sr(o,t,e=!1){const n=o.children,s=t.children;if(_t(n)&&_t(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]=Ho(s[r]),i.el=a.el),!e&&i.patchFlag!==-2&&Sr(a,i)),i.type===bs&&(i.el=a.el),{}.NODE_ENV!=="production"&&i.type===fe&&!i.el&&(i.el=a.el)}}function Hg(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 nf(o){const t=o.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:nf(t)}function Or(o){if(o)for(let t=0;t<o.length;t++)o[t].flags|=8}const jg=Symbol.for("v-scx"),Wg=()=>{{const o=so(jg);return o||{}.NODE_ENV!=="production"&&J("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),o}};function Fn(o,t){return Li(o,null,t)}function Rt(o,t,e){return{}.NODE_ENV!=="production"&&!Tt(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."),Li(o,t,e)}function Li(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=ee({},e);({}).NODE_ENV!=="production"&&(i.onWarn=J);const l=t&&n||!t&&r!=="post";let c;if(Cs){if(r==="sync"){const h=Wg();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,v)=>no(h,u,p,v);let f=!1;r==="post"?i.scheduler=h=>{Ee(h,u&&u.suspense)}:r!=="sync"&&(f=!0,i.scheduler=(h,p)=>{p?h():gr(h)}),i.augmentJob=h=>{t&&(h.flags|=4),f&&(h.flags|=2,u&&(h.id=u.uid,h.i=u))};const d=F0(o,t,i);return Cs&&(c?c.push(d):l&&d()),d}function qg(o,t,e){const n=this.proxy,s=se(o)?o.includes(".")?sf(n,o):()=>n[o]:o.bind(n,n);let r;Tt(t)?r=t:(r=t.handler,e=t);const a=ws(this),i=Li(s,r.bind(n),e);return a(),i}function sf(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 Kg=(o,t)=>t==="modelValue"||t==="model-value"?o.modelModifiers:o[`${t}Modifiers`]||o[`${ke(t)}Modifiers`]||o[`${Be(t)}Modifiers`];function Qg(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||!(cn(ke(t))in f))&&J(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${cn(ke(t))}" prop.`);else{const d=u[t];Tt(d)&&(d(...e)||J(`Invalid event arguments: event validation failed for event "${t}".`))}}let s=e;const r=t.startsWith("update:"),a=r&&Kg(n,t.slice(7));if(a&&(a.trim&&(s=e.map(u=>se(u)?u.trim():u)),a.number&&(s=e.map(qm))),{}.NODE_ENV!=="production"&&tg(o,t,s),{}.NODE_ENV!=="production"){const u=t.toLowerCase();u!==t&&n[cn(u)]&&J(`Event "${u}" is emitted in component ${Fr(o,o.type)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${Be(t)}" instead of "${t}".`)}let i,l=n[i=cn(t)]||n[i=cn(ke(t))];!l&&r&&(l=n[i=cn(Be(t))]),l&&no(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,no(c,o,6,s)}}function rf(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(!Tt(o)){const l=c=>{const u=rf(c,t,!0);u&&(i=!0,ee(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):(_t(r)?r.forEach(l=>a[l]=null):ee(a,r),Kt(o)&&n.set(o,a),a)}function Pr(o,t){return!o||!os(t)?!1:(t=t.slice(2).replace(/Once$/,""),Lt(o,t[0].toLowerCase()+t.slice(1))||Lt(o,Be(t))||Lt(o,t))}let Bi=!1;function Rr(){Bi=!0}function Vi(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:v}=o,k=br(o);let x,m;({}).NODE_ENV!=="production"&&(Bi=!1);try{if(e.shapeFlag&4){const b=s||n,_={}.NODE_ENV!=="production"&&h.__isScriptSetup?new Proxy(b,{get($,Y,B){return J(`Property '${String(Y)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get($,Y,B)}}):b;x=ao(c.call(_,b,u,{}.NODE_ENV!=="production"?po(f):f,h,d,p)),m=i}else{const b=t;({}).NODE_ENV!=="production"&&i===f&&Rr(),x=ao(b.length>1?b({}.NODE_ENV!=="production"?po(f):f,{}.NODE_ENV!=="production"?{get attrs(){return Rr(),po(i)},slots:a,emit:l}:{attrs:i,slots:a,emit:l}):b({}.NODE_ENV!=="production"?po(f):f,null)),m=t.props?i:Jg(i)}}catch(b){xs.length=0,fs(b,o,1),x=Q(fe)}let g=x,y;if({}.NODE_ENV!=="production"&&x.patchFlag>0&&x.patchFlag&2048&&([g,y]=af(x)),m&&v!==!1){const b=Object.keys(m),{shapeFlag:_}=g;if(b.length){if(_&7)r&&b.some(tr)&&(m=ty(m,r)),g=ro(g,m,!1,!0);else if({}.NODE_ENV!=="production"&&!Bi&&g.type!==fe){const $=Object.keys(i),Y=[],B=[];for(let D=0,ut=$.length;D<ut;D++){const j=$[D];os(j)?tr(j)||Y.push(j[2].toLowerCase()+j.slice(3)):B.push(j)}B.length&&J(`Extraneous non-props attributes (${B.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.`),Y.length&&J(`Extraneous non-emits event listeners (${Y.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`)}}}return e.dirs&&({}.NODE_ENV!=="production"&&!lf(g)&&J("Runtime directive used on component with non-element root node. The directives will not function as intended."),g=ro(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(e.dirs):e.dirs),e.transition&&({}.NODE_ENV!=="production"&&!lf(g)&&J("Component inside <Transition> renders non-element root node that cannot be animated."),$n(g,e.transition)),{}.NODE_ENV!=="production"&&y?y(g):x=g,br(k),x}const af=o=>{const t=o.children,e=o.dynamicChildren,n=Yi(t,!1);if(n){if({}.NODE_ENV!=="production"&&n.patchFlag>0&&n.patchFlag&2048)return af(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[ao(n),a]};function Yi(o,t=!0){let e;for(let n=0;n<o.length;n++){const s=o[n];if(Uo(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 Yi(e.children)}}else return}return e}const Jg=o=>{let t;for(const e in o)(e==="class"||e==="style"||os(e))&&((t||(t={}))[e]=o[e]);return t},ty=(o,t)=>{const e={};for(const n in o)(!tr(n)||!(n.slice(9)in t))&&(e[n]=o[n]);return e},lf=o=>o.shapeFlag&7||o.type===fe;function ey(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)&&go||t.dirs||t.transition)return!0;if(e&&l>=0){if(l&1024)return!0;if(l&16)return n?cf(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]&&!Pr(c,d))return!0}}}else return(s||i)&&(!i||!i.$stable)?!0:n===a?!1:n?a?cf(n,a,c):!0:!!a;return!1}function cf(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]&&!Pr(e,r))return!0}return!1}function oy({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 Ir=o=>o.__isSuspense;function ny(o,t){t&&t.pendingBranch?_t(o)?t.effects.push(...o):t.effects.push(o):du(o)}const Dt=Symbol.for("v-fgt"),bs=Symbol.for("v-txt"),fe=Symbol.for("v-cmt"),_s=Symbol.for("v-stc"),xs=[];let Ye=null;function I(o=!1){xs.push(Ye=o?null:[])}function sy(){xs.pop(),Ye=xs[xs.length-1]||null}let ks=1;function uf(o,t=!1){ks+=o,o<0&&Ye&&t&&(Ye.hasOnce=!0)}function ff(o){return o.dynamicChildren=ks>0?Ye||On:null,sy(),ks>0&&Ye&&Ye.push(o),o}function z(o,t,e,n,s,r){return ff(w(o,t,e,n,s,r,!0))}function ht(o,t,e,n,s){return ff(Q(o,t,e,n,s,!0))}function Uo(o){return o?o.__v_isVNode===!0:!1}function Go(o,t){if({}.NODE_ENV!=="production"&&t.shapeFlag&6&&o.component){const e=yr.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 ry=(...o)=>hf(...o),df=({key:o})=>o??null,Ar=({ref:o,ref_key:t,ref_for:e})=>(typeof o=="number"&&(o=""+o),o!=null?se(o)||me(o)||Tt(o)?{i:ge,r:o,k:t,f:!!e}:o:null);function w(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&&df(t),ref:t&&Ar(t),scopeId:xu,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:ge};return i?(Xi(l,e),r&128&&o.normalize(l)):e&&(l.shapeFlag|=se(e)?8:16),{}.NODE_ENV!=="production"&&l.key!==l.key&&J("VNode created with invalid key (NaN). VNode type:",l.type),ks>0&&!a&&Ye&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&Ye.push(l),l}const Q={}.NODE_ENV!=="production"?ry:hf;function hf(o,t=null,e=null,n=0,s=null,r=!1){if((!o||o===Nu)&&({}.NODE_ENV!=="production"&&!o&&J(`Invalid vnode type when creating vnode: ${o}.`),o=fe),Uo(o)){const i=ro(o,t,!0);return e&&Xi(i,e),ks>0&&!r&&Ye&&(i.shapeFlag&6?Ye[Ye.indexOf(o)]=i:Ye.push(i)),i.patchFlag=-2,i}if(xf(o)&&(o=o.__vccOpts),t){t=ay(t);let{class:i,style:l}=t;i&&!se(i)&&(t.class=jt(i)),Kt(l)&&(cr(l)&&!_t(l)&&(l=ee({},l)),t.style=N(l))}const a=se(o)?1:Ir(o)?128:wu(o)?64:Kt(o)?4:Tt(o)?2:0;return{}.NODE_ENV!=="production"&&a&4&&cr(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)),w(o,t,e,n,s,a,r,!0)}function ay(o){return o?cr(o)||Hu(o)?ee({},o):o:null}function ro(o,t,e=!1,n=!1){const{props:s,ref:r,patchFlag:a,children:i,transition:l}=o,c=t?Zi(s||{},t):s,u={__v_isVNode:!0,__v_skip:!0,type:o.type,props:c,key:c&&df(c),ref:t&&t.ref?e&&r?_t(r)?r.concat(Ar(t)):[r,Ar(t)]:Ar(t):r,scopeId:o.scopeId,slotScopeIds:o.slotScopeIds,children:{}.NODE_ENV!=="production"&&a===-1&&_t(i)?i.map(pf):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&&ro(o.ssContent),ssFallback:o.ssFallback&&ro(o.ssFallback),el:o.el,anchor:o.anchor,ctx:o.ctx,ce:o.ce};return l&&n&&$n(u,l.clone(u)),u}function pf(o){const t=ro(o);return _t(o.children)&&(t.children=o.children.map(pf)),t}function Bt(o=" ",t=0){return Q(bs,null,o,t)}function iy(o,t){const e=Q(_s,null,o);return e.staticCount=t,e}function yt(o="",t=!1){return t?(I(),ht(fe,null,o)):Q(fe,null,o)}function ao(o){return o==null||typeof o=="boolean"?Q(fe):_t(o)?Q(Dt,null,o.slice()):Uo(o)?Ho(o):Q(bs,null,String(o))}function Ho(o){return o.el===null&&o.patchFlag!==-1||o.memo?o:ro(o)}function Xi(o,t){let e=0;const{shapeFlag:n}=o;if(t==null)t=null;else if(_t(t))e=16;else if(typeof t=="object")if(n&65){const s=t.default;s&&(s._c&&(s._d=!1),Xi(o,s()),s._c&&(s._d=!0));return}else{e=32;const s=t._;!s&&!Hu(t)?t._ctx=ge:s===3&&ge&&(ge.slots._===1?t._=1:(t._=2,o.patchFlag|=1024))}else Tt(t)?(t={default:t,_ctx:ge},e=32):(t=String(t),n&64?(e=16,t=[Bt(t)]):e=8);o.children=t,o.shapeFlag|=e}function Zi(...o){const t={};for(let e=0;e<o.length;e++){const n=o[e];for(const s in n)if(s==="class")t.class!==n.class&&(t.class=jt([t.class,n.class]));else if(s==="style")t.style=N([t.style,n.style]);else if(os(s)){const r=t[s],a=n[s];a&&r!==a&&!(_t(r)&&r.includes(a))&&(t[s]=r?[].concat(r,a):a)}else s!==""&&(t[s]=n[s])}return t}function je(o,t,e,n=null){no(o,t,7,[e,n])}const ly=Zu();let cy=0;function uy(o,t,e){const n=o.type,s=(t?t.appContext:o.appContext)||ly,r={uid:cy++,vnode:o,type:n,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new l0(!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:Wu(n,s),emitsOptions:rf(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=yg(r):r.ctx={_:r},r.root=t?t.root:r,r.emit=Qg.bind(null,r),o.ce&&o.ce(r),r}let xe=null;const jo=()=>xe||ge;let $r,Ui;{const o=rs(),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)}};$r=t("__VUE_INSTANCE_SETTERS__",e=>xe=e),Ui=t("__VUE_SSR_SETTERS__",e=>Cs=e)}const ws=o=>{const t=xe;return $r(o),o.scope.on(),()=>{o.scope.off(),$r(t)}},mf=()=>{xe&&xe.scope.off(),$r(null)},fy=wo("slot,component");function Gi(o,{isNativeTag:t}){(fy(o)||t(o))&&J("Do not use built-in or reserved HTML elements as component id: "+o)}function gf(o){return o.vnode.shapeFlag&4}let Cs=!1;function dy(o,t=!1,e=!1){t&&Ui(t);const{props:n,children:s}=o.vnode,r=gf(o);Rg(o,n,r,t),Vg(o,s,e);const a=r?hy(o,t):void 0;return t&&Ui(!1),a}function hy(o,t){var e;const n=o.type;if({}.NODE_ENV!=="production"){if(n.name&&Gi(n.name,o.appContext.config),n.components){const r=Object.keys(n.components);for(let a=0;a<r.length;a++)Gi(r[a],o.appContext.config)}if(n.directives){const r=Object.keys(n.directives);for(let a=0;a<r.length;a++)ku(r[a])}n.compilerOptions&&py()&&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,Mu),{}.NODE_ENV!=="production"&&vg(o);const{setup:s}=n;if(s){To();const r=o.setupContext=s.length>1?_f(o):null,a=ws(o),i=Rn(s,o,0,[{}.NODE_ENV!=="production"?po(o.props):o.props,r]),l=ti(i);if(Eo(),a(),(l||o.sp)&&!yn(o)&&Ru(o),l){if(i.then(mf,mf),t)return i.then(c=>{yf(o,c,t)}).catch(c=>{fs(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 yf(o,i,t)}else vf(o,t)}function yf(o,t,e){Tt(t)?o.type.__ssrInlineRender?o.ssrRender=t:o.render=t:Kt(t)?({}.NODE_ENV!=="production"&&Uo(t)&&J("setup() should not return VNodes directly - return a render function instead."),{}.NODE_ENV!=="production"&&(o.devtoolsRawSetupState=t),o.setupState=lu(t),{}.NODE_ENV!=="production"&&bg(o)):{}.NODE_ENV!=="production"&&t!==void 0&&J(`setup() should return an object. Received: ${t===null?"null":typeof t}`),vf(o,e)}let Hi;const py=()=>!Hi;function vf(o,t,e){const n=o.type;if(!o.render){if(!t&&Hi&&!n.render){const s=n.template||$i(o).template;if(s){({}).NODE_ENV!=="production"&&Io(o,"compile");const{isCustomElement:r,compilerOptions:a}=o.appContext.config,{delimiters:i,compilerOptions:l}=n,c=ee(ee({isCustomElement:r,delimiters:i},a),l);n.render=Hi(s,c),{}.NODE_ENV!=="production"&&Ao(o,"compile")}}o.render=n.render||be}{const s=ws(o);To();try{wg(o)}finally{Eo(),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 bf={}.NODE_ENV!=="production"?{get(o,t){return Rr(),_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 my(o){return new Proxy(o.slots,{get(t,e){return _e(o,"get","$slots"),t[e]}})}function _f(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"&&(_t(e)?n="array":me(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,bf))},get slots(){return n||(n=my(o))},get emit(){return(s,...r)=>o.emit(s,...r)},expose:t})}else return{attrs:new Proxy(o.attrs,bf),slots:o.slots,emit:o.emit,expose:t}}function Nr(o){return o.exposed?o.exposeProxy||(o.exposeProxy=new Proxy(lu(O0(o.exposed)),{get(t,e){if(e in t)return t[e];if(e in vn)return vn[e](o)},has(t,e){return e in t||e in vn}})):o.proxy}const gy=/(?:^|[-_])(\w)/g,yy=o=>o.replace(gy,t=>t.toUpperCase()).replace(/[-_]/g,"");function Ts(o,t=!0){return Tt(o)?o.displayName||o.name:o.name||t&&o.__name}function Fr(o,t,e=!1){let n=Ts(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?yy(n):e?"App":"Anonymous"}function xf(o){return Tt(o)&&"__vccOpts"in o}const de=(o,t)=>{const e=$0(o,t,Cs);if({}.NODE_ENV!=="production"){const n=jo();n&&n.appContext.config.warnRecursiveComputed&&(e._warnRecursive=!0)}return e};function Ut(o,t,e){const n=arguments.length;return n===2?Kt(t)&&!_t(t)?Uo(t)?Q(o,null,[t]):Q(o,t):Q(o,null,t):(n>3?e=Array.prototype.slice.call(arguments,2):n===3&&Uo(e)&&(e=[e]),Q(o,t,e))}function vy(){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"]:me(f)?["div",{},["span",o,u(f)],"<",i("_value"in f?f._value:f),">"]:dn(f)?["div",{},["span",o,Ae(f)?"ShallowReactive":"Reactive"],"<",i(f),`>${Oo(f)?" (readonly)":""}`]:Oo(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=ee({},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(Tt(h))return;const p={};for(const v in f.ctx)c(h,v,d)&&(p[v]=f.ctx[v]);return p}function c(f,d,h){const p=f[h];if(_t(p)&&p.includes(d)||Kt(p)&&d in p||f.extends&&c(f.extends,d,h)||f.mixins&&f.mixins.some(v=>c(v,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 kf="3.5.13",Le={}.NODE_ENV!=="production"?J:be;/**
20
21
  * @vue/runtime-dom v3.5.13
21
22
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
22
23
  * @license MIT
23
- **/let Qa;const au=typeof window<"u"&&window.trustedTypes;if(au)try{Qa=au.createPolicy("vue",{createHTML:s=>s})}catch(s){({}).NODE_ENV!=="production"&&ss(`Error creating trusted types policy: ${s}`)}const iu=Qa?s=>Qa.createHTML(s):s=>s,qm="http://www.w3.org/2000/svg",Qm="http://www.w3.org/1998/Math/MathML",zs=typeof document<"u"?document:null,lu=zs&&zs.createElement("template"),Km={insert:(s,t,e)=>{t.insertBefore(s,e||null)},remove:s=>{const t=s.parentNode;t&&t.removeChild(s)},createElement:(s,t,e,o)=>{const r=t==="svg"?zs.createElementNS(qm,s):t==="mathml"?zs.createElementNS(Qm,s):e?zs.createElement(s,{is:e}):zs.createElement(s);return s==="select"&&o&&o.multiple!=null&&r.setAttribute("multiple",o.multiple),r},createText:s=>zs.createTextNode(s),createComment:s=>zs.createComment(s),setText:(s,t)=>{s.nodeValue=t},setElementText:(s,t)=>{s.textContent=t},parentNode:s=>s.parentNode,nextSibling:s=>s.nextSibling,querySelector:s=>zs.querySelector(s),setScopeId(s,t){s.setAttribute(t,"")},insertStaticContent(s,t,e,o,r,n){const a=e?e.previousSibling:t.lastChild;if(r&&(r===n||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),e),!(r===n||!(r=r.nextSibling)););else{lu.innerHTML=iu(o==="svg"?`<svg>${s}</svg>`:o==="mathml"?`<math>${s}</math>`:s);const i=lu.content;if(o==="svg"||o==="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]}},Jm=Symbol("_vtc");function t0(s,t,e){const o=s[Jm];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?s.removeAttribute("class"):e?s.setAttribute("class",t):s.className=t}const fn=Symbol("_vod"),cu=Symbol("_vsh"),qs={beforeMount(s,{value:t},{transition:e}){s[fn]=s.style.display==="none"?"":s.style.display,e&&t?e.beforeEnter(s):pr(s,t)},mounted(s,{value:t},{transition:e}){e&&t&&e.enter(s)},updated(s,{value:t,oldValue:e},{transition:o}){!t!=!e&&(o?t?(o.beforeEnter(s),pr(s,!0),o.enter(s)):o.leave(s,()=>{pr(s,!1)}):pr(s,t))},beforeUnmount(s,{value:t}){pr(s,t)}};({}).NODE_ENV!=="production"&&(qs.name="show");function pr(s,t){s.style.display=t?s[fn]:"none",s[cu]=!t}const e0=Symbol({}.NODE_ENV!=="production"?"CSS_VAR_TEXT":""),s0=/(^|;)\s*display\s*:/;function o0(s,t,e){const o=s.style,r=ue(e);let n=!1;if(e&&!r){if(t)if(ue(t))for(const a of t.split(";")){const i=a.slice(0,a.indexOf(":")).trim();e[i]==null&&hn(o,i,"")}else for(const a in t)e[a]==null&&hn(o,a,"");for(const a in e)a==="display"&&(n=!0),hn(o,a,e[a])}else if(r){if(t!==e){const a=o[e0];a&&(e+=";"+a),o.cssText=e,n=s0.test(e)}}else t&&s.removeAttribute("style");fn in s&&(s[fn]=n?o.display:"",s[cu]&&(o.display="none"))}const r0=/[^\\];\s*$/,uu=/\s*!important$/;function hn(s,t,e){if(St(e))e.forEach(o=>hn(s,t,o));else if(e==null&&(e=""),{}.NODE_ENV!=="production"&&r0.test(e)&&ss(`Unexpected semicolon at the end of '${t}' style value: '${e}'`),t.startsWith("--"))s.setProperty(t,e);else{const o=n0(s,t);uu.test(e)?s.setProperty(We(o),e.replace(uu,""),"important"):s[o]=e}}const du=["Webkit","Moz","ms"],Ka={};function n0(s,t){const e=Ka[t];if(e)return e;let o=Ye(t);if(o!=="filter"&&o in s)return Ka[t]=o;o=Ar(o);for(let r=0;r<du.length;r++){const n=du[r]+o;if(n in s)return Ka[t]=n}return t}const fu="http://www.w3.org/1999/xlink";function hu(s,t,e,o,r,n=Mh(t)){o&&t.startsWith("xlink:")?e==null?s.removeAttributeNS(fu,t.slice(6,t.length)):s.setAttributeNS(fu,t,e):e==null||n&&!Pl(e)?s.removeAttribute(t):s.setAttribute(t,n?"":Rs(e)?String(e):e)}function pu(s,t,e,o,r){if(t==="innerHTML"||t==="textContent"){e!=null&&(s[t]=t==="innerHTML"?iu(e):e);return}const n=s.tagName;if(t==="value"&&n!=="PROGRESS"&&!n.includes("-")){const i=n==="OPTION"?s.getAttribute("value")||"":s.value,l=e==null?s.type==="checkbox"?"on":"":String(e);(i!==l||!("_value"in s))&&(s.value=l),e==null&&s.removeAttribute(t),s._value=e;return}let a=!1;if(e===""||e==null){const i=typeof s[t];i==="boolean"?e=Pl(e):e==null&&i==="string"?(e="",a=!0):i==="number"&&(e=0,a=!0)}try{s[t]=e}catch(i){({}).NODE_ENV!=="production"&&!a&&ss(`Failed setting prop "${t}" on <${n.toLowerCase()}>: value ${e} is invalid.`,i)}a&&s.removeAttribute(r||t)}function a0(s,t,e,o){s.addEventListener(t,e,o)}function i0(s,t,e,o){s.removeEventListener(t,e,o)}const mu=Symbol("_vei");function l0(s,t,e,o,r=null){const n=s[mu]||(s[mu]={}),a=n[t];if(o&&a)a.value={}.NODE_ENV!=="production"?yu(o,t):o;else{const[i,l]=c0(t);if(o){const c=n[t]=f0({}.NODE_ENV!=="production"?yu(o,t):o,r);a0(s,i,c,l)}else a&&(i0(s,i,a,l),n[t]=void 0)}}const gu=/(?:Once|Passive|Capture)$/;function c0(s){let t;if(gu.test(s)){t={};let o;for(;o=s.match(gu);)s=s.slice(0,s.length-o[0].length),t[o[0].toLowerCase()]=!0}return[s[2]===":"?s.slice(3):We(s.slice(2)),t]}let Ja=0;const u0=Promise.resolve(),d0=()=>Ja||(u0.then(()=>Ja=0),Ja=Date.now());function f0(s,t){const e=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=e.attached)return;ms(h0(o,e.value),t,5,[o])};return e.value=s,e.attached=d0(),e}function yu(s,t){return Ot(s)||St(s)?s:(ss(`Wrong type passed as event handler to ${t} - did you forget @ or : in front of your prop?
24
- Expected function or array of functions, received type ${typeof s}.`),ve)}function h0(s,t){if(St(t)){const e=s.stopImmediatePropagation;return s.stopImmediatePropagation=()=>{e.call(s),s._stopped=!0},t.map(o=>r=>!r._stopped&&o&&o(r))}else return t}const vu=s=>s.charCodeAt(0)===111&&s.charCodeAt(1)===110&&s.charCodeAt(2)>96&&s.charCodeAt(2)<123,p0=(s,t,e,o,r,n)=>{const a=r==="svg";t==="class"?t0(s,o,a):t==="style"?o0(s,e,o):jo(t)?Fr(t)||l0(s,t,e,o,n):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):m0(s,t,o,a))?(pu(s,t,o),!s.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&hu(s,t,o,a,n,t!=="value")):s._isVueCE&&(/[A-Z]/.test(t)||!ue(o))?pu(s,Ye(t),o,n,t):(t==="true-value"?s._trueValue=o:t==="false-value"&&(s._falseValue=o),hu(s,t,o,a))};function m0(s,t,e,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in s&&vu(t)&&Ot(e));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&s.tagName==="INPUT"||t==="type"&&s.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=s.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return vu(t)&&ue(e)?!1:t in s}const bu={};/*! #__NO_SIDE_EFFECTS__ */function ht(s,t,e){const o=H(s,t);$r(o)&&ie(o,t);class r extends ti{constructor(a){super(o,a,e)}}return r.def=o,r}const g0=typeof HTMLElement<"u"?HTMLElement:class{};class ti extends g0{constructor(t,e={},o=wu){super(),this._def=t,this._props=e,this._createApp=o,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&&o!==wu?this._root=this.shadowRoot:({}.NODE_ENV!=="production"&&this.shadowRoot&&ss("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 ti){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,tc(()=>{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 o=0;o<this.attributes.length;o++)this._setAttr(this.attributes[o].name);this._ob=new MutationObserver(o=>{for(const r of o)this._setAttr(r.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(o,r=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:n,styles:a}=o;let i;if(n&&!St(n))for(const l in n){const c=n[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=Sl(this._props[l])),(i||(i=Object.create(null)))[Ye(l)]=!0)}this._numberProps=i,r&&this._resolveProps(o),this.shadowRoot?this._applyStyles(a):{}.NODE_ENV!=="production"&&a&&ss("Custom element style injection is not supported when using shadowRoot: false"),this._mount(o)},e=this._def.__asyncLoader;e?this._pendingResolve=e().then(o=>t(this._def=o,!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 o in e)Gt(this,o)?{}.NODE_ENV!=="production"&&ss(`Exposed property "${o}" already exists on custom element.`):Object.defineProperty(this,o,{get:()=>Ct(e[o])})}_resolveProps(t){const{props:e}=t,o=St(e)?e:Object.keys(e||{});for(const r of Object.keys(this))r[0]!=="_"&&o.includes(r)&&this._setProp(r,this[r]);for(const r of o.map(Ye))Object.defineProperty(this,r,{get(){return this._getProp(r)},set(n){this._setProp(r,n,!0,!0)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const e=this.hasAttribute(t);let o=e?this.getAttribute(t):bu;const r=Ye(t);e&&this._numberProps&&this._numberProps[r]&&(o=Sl(o)),this._setProp(r,o,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,e,o=!0,r=!1){if(e!==this._props[t]&&(e===bu?delete this._props[t]:(this._props[t]=e,t==="key"&&this._app&&(this._app._ceVNode.key=e)),r&&this._instance&&this._update(),o)){const n=this._ob;n&&n.disconnect(),e===!0?this.setAttribute(We(t),""):typeof e=="string"||typeof e=="number"?this.setAttribute(We(t),e+""):e||this.removeAttribute(We(t)),n&&n.observe(this,{attributes:!0})}}_update(){pn(this._createVNode(),this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const e=it(this._def,ie(t,this._props));return this._instance||(e.ce=o=>{this._instance=o,o.ce=this,o.isCE=!0,{}.NODE_ENV!=="production"&&(o.ceReload=n=>{this._styles&&(this._styles.forEach(a=>this._root.removeChild(a)),this._styles.length=0),this._applyStyles(n),this._instance=null,this._update()});const r=(n,a)=>{this.dispatchEvent(new CustomEvent(n,$r(a[0])?ie({detail:a},a[0]):{detail:a}))};o.emit=(n,...a)=>{r(n,a),We(n)!==n&&r(We(n),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 o=this._nonce;for(let r=t.length-1;r>=0;r--){const n=document.createElement("style");if(o&&n.setAttribute("nonce",o),n.textContent=t[r],this.shadowRoot.prepend(n),{}.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(n)}}else(this._styles||(this._styles=[])).push(n)}}_parseSlots(){const t=this._slots={};let e;for(;e=this.firstChild;){const o=e.nodeType===1&&e.getAttribute("slot")||"default";(t[o]||(t[o]=[])).push(e),this.removeChild(e)}}_renderSlots(){const t=(this._teleportTarget||this).querySelectorAll("slot"),e=this._instance.type.__scopeId;for(let o=0;o<t.length;o++){const r=t[o],n=r.getAttribute("name")||"default",a=this._slots[n],i=r.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 d;for(;d=u.nextNode();)d.setAttribute(c,"")}i.insertBefore(l,r)}else for(;r.firstChild;)i.insertBefore(r.firstChild,r);i.removeChild(r)}}_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(o=>this._root.removeChild(o)),e.length=0)}}}const y0=ie({patchProp:p0},Km);let _u;function xu(){return _u||(_u=xm(y0))}const pn=(...s)=>{xu().render(...s)},wu=(...s)=>{const t=xu().createApp(...s);({}).NODE_ENV!=="production"&&(b0(t),_0(t));const{mount:e}=t;return t.mount=o=>{const r=x0(o);if(!r)return;const n=t._component;!Ot(n)&&!n.render&&!n.template&&(n.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const a=e(r,!1,v0(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a},t};function v0(s){if(s instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&s instanceof MathMLElement)return"mathml"}function b0(s){Object.defineProperty(s.config,"isNativeTag",{value:t=>$h(t)||Lh(t)||Ah(t),writable:!1})}function _0(s){{const t=s.config.isCustomElement;Object.defineProperty(s.config,"isCustomElement",{get(){return t},set(){ss("The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead.")}});const e=s.config.compilerOptions,o='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(s.config,"compilerOptions",{get(){return ss(o),e},set(){ss(o)}})}}function x0(s){if(ue(s)){const t=document.querySelector(s);return{}.NODE_ENV!=="production"&&!t&&ss(`Failed to mount app: mount target selector "${s}" returned null.`),t}return{}.NODE_ENV!=="production"&&window.ShadowRoot&&s instanceof window.ShadowRoot&&s.mode==="closed"&&ss('mounting on a ShadowRoot with `{mode: "closed"}` may lead to unpredictable bugs'),s}/**
24
+ **/let ji;const wf=typeof window<"u"&&window.trustedTypes;if(wf)try{ji=wf.createPolicy("vue",{createHTML:o=>o})}catch(o){({}).NODE_ENV!=="production"&&Le(`Error creating trusted types policy: ${o}`)}const Cf=ji?o=>ji.createHTML(o):o=>o,by="http://www.w3.org/2000/svg",_y="http://www.w3.org/1998/Math/MathML",$o=typeof document<"u"?document:null,Tf=$o&&$o.createElement("template"),xy={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"?$o.createElementNS(by,o):t==="mathml"?$o.createElementNS(_y,o):e?$o.createElement(o,{is:e}):$o.createElement(o);return o==="select"&&n&&n.multiple!=null&&s.setAttribute("multiple",n.multiple),s},createText:o=>$o.createTextNode(o),createComment:o=>$o.createComment(o),setText:(o,t)=>{o.nodeValue=t},setElementText:(o,t)=>{o.textContent=t},parentNode:o=>o.parentNode,nextSibling:o=>o.nextSibling,querySelector:o=>$o.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{Tf.innerHTML=Cf(n==="svg"?`<svg>${o}</svg>`:n==="mathml"?`<math>${o}</math>`:o);const i=Tf.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]}},Wo="transition",Es="animation",Ss=Symbol("_vtc"),Ef={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},ky=ee({},Cu,Ef),Sf=(o=>(o.displayName="Transition",o.props=ky,o))((o,{slots:t})=>Ut(rg,wy(o),t)),_n=(o,t=[])=>{_t(o)?o.forEach(e=>e(...t)):o&&o(...t)},Of=o=>o?_t(o)?o.some(t=>t.length>1):o.length>1:!1;function wy(o){const t={};for(const j in o)j in Ef||(t[j]=o[j]);if(o.css===!1)return t;const{name:e="v",type:n,duration:s,enterFromClass:r=`${e}-enter-from`,enterActiveClass:a=`${e}-enter-active`,enterToClass:i=`${e}-enter-to`,appearFromClass:l=r,appearActiveClass:c=a,appearToClass:u=i,leaveFromClass:f=`${e}-leave-from`,leaveActiveClass:d=`${e}-leave-active`,leaveToClass:h=`${e}-leave-to`}=o,p=Cy(s),v=p&&p[0],k=p&&p[1],{onBeforeEnter:x,onEnter:m,onEnterCancelled:g,onLeave:y,onLeaveCancelled:b,onBeforeAppear:_=x,onAppear:$=m,onAppearCancelled:Y=g}=t,B=(j,tt,vt,St)=>{j._enterCancelled=St,xn(j,tt?u:i),xn(j,tt?c:a),vt&&vt()},D=(j,tt)=>{j._isLeaving=!1,xn(j,f),xn(j,h),xn(j,d),tt&&tt()},ut=j=>(tt,vt)=>{const St=j?$:m,$t=()=>B(tt,j,vt);_n(St,[tt,$t]),Pf(()=>{xn(tt,j?l:r),No(tt,j?u:i),Of(St)||Rf(tt,n,v,$t)})};return ee(t,{onBeforeEnter(j){_n(x,[j]),No(j,r),No(j,a)},onBeforeAppear(j){_n(_,[j]),No(j,l),No(j,c)},onEnter:ut(!1),onAppear:ut(!0),onLeave(j,tt){j._isLeaving=!0;const vt=()=>D(j,tt);No(j,f),j._enterCancelled?(No(j,d),$f()):($f(),No(j,d)),Pf(()=>{j._isLeaving&&(xn(j,f),No(j,h),Of(y)||Rf(j,n,k,vt))}),_n(y,[j,vt])},onEnterCancelled(j){B(j,!1,void 0,!0),_n(g,[j])},onAppearCancelled(j){B(j,!0,void 0,!0),_n(Y,[j])},onLeaveCancelled(j){D(j),_n(b,[j])}})}function Cy(o){if(o==null)return null;if(Kt(o))return[Wi(o.enter),Wi(o.leave)];{const t=Wi(o);return[t,t]}}function Wi(o){const t=ni(o);return{}.NODE_ENV!=="production"&&B0(t,"<transition> explicit duration"),t}function No(o,t){t.split(/\s+/).forEach(e=>e&&o.classList.add(e)),(o[Ss]||(o[Ss]=new Set)).add(t)}function xn(o,t){t.split(/\s+/).forEach(n=>n&&o.classList.remove(n));const e=o[Ss];e&&(e.delete(t),e.size||(o[Ss]=void 0))}function Pf(o){requestAnimationFrame(()=>{requestAnimationFrame(o)})}let Ty=0;function Rf(o,t,e,n){const s=o._endId=++Ty,r=()=>{s===o._endId&&n()};if(e!=null)return setTimeout(r,e);const{type:a,timeout:i,propCount:l}=Ey(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 Ey(o,t){const e=window.getComputedStyle(o),n=p=>(e[p]||"").split(", "),s=n(`${Wo}Delay`),r=n(`${Wo}Duration`),a=If(s,r),i=n(`${Es}Delay`),l=n(`${Es}Duration`),c=If(i,l);let u=null,f=0,d=0;t===Wo?a>0&&(u=Wo,f=a,d=r.length):t===Es?c>0&&(u=Es,f=c,d=l.length):(f=Math.max(a,c),u=f>0?a>c?Wo:Es:null,d=u?u===Wo?r.length:l.length:0);const h=u===Wo&&/\b(transform|all)(,|$)/.test(n(`${Wo}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:h}}function If(o,t){for(;o.length<t.length;)o=o.concat(o);return Math.max(...t.map((e,n)=>Af(e)+Af(o[n])))}function Af(o){return o==="auto"?0:Number(o.slice(0,-1).replace(",","."))*1e3}function $f(){return document.body.offsetHeight}function Sy(o,t,e){const n=o[Ss];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?o.removeAttribute("class"):e?o.setAttribute("class",t):o.className=t}const zr=Symbol("_vod"),Nf=Symbol("_vsh"),Ff={beforeMount(o,{value:t},{transition:e}){o[zr]=o.style.display==="none"?"":o.style.display,e&&t?e.beforeEnter(o):Os(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),Os(o,!0),n.enter(o)):n.leave(o,()=>{Os(o,!1)}):Os(o,t))},beforeUnmount(o,{value:t}){Os(o,t)}};({}).NODE_ENV!=="production"&&(Ff.name="show");function Os(o,t){o.style.display=t?o[zr]:"none",o[Nf]=!t}const Oy=Symbol({}.NODE_ENV!=="production"?"CSS_VAR_TEXT":""),Py=/(^|;)\s*display\s*:/;function Ry(o,t,e){const n=o.style,s=se(e);let r=!1;if(e&&!s){if(t)if(se(t))for(const a of t.split(";")){const i=a.slice(0,a.indexOf(":")).trim();e[i]==null&&Dr(n,i,"")}else for(const a in t)e[a]==null&&Dr(n,a,"");for(const a in e)a==="display"&&(r=!0),Dr(n,a,e[a])}else if(s){if(t!==e){const a=n[Oy];a&&(e+=";"+a),n.cssText=e,r=Py.test(e)}}else t&&o.removeAttribute("style");zr in o&&(o[zr]=r?n.display:"",o[Nf]&&(n.display="none"))}const Iy=/[^\\];\s*$/,zf=/\s*!important$/;function Dr(o,t,e){if(_t(e))e.forEach(n=>Dr(o,t,n));else if(e==null&&(e=""),{}.NODE_ENV!=="production"&&Iy.test(e)&&Le(`Unexpected semicolon at the end of '${t}' style value: '${e}'`),t.startsWith("--"))o.setProperty(t,e);else{const n=Ay(o,t);zf.test(e)?o.setProperty(Be(n),e.replace(zf,""),"important"):o[n]=e}}const Df=["Webkit","Moz","ms"],qi={};function Ay(o,t){const e=qi[t];if(e)return e;let n=ke(t);if(n!=="filter"&&n in o)return qi[t]=n;n=ln(n);for(let s=0;s<Df.length;s++){const r=Df[s]+n;if(r in o)return qi[t]=r}return t}const Mf="http://www.w3.org/1999/xlink";function Lf(o,t,e,n,s,r=i0(t)){n&&t.startsWith("xlink:")?e==null?o.removeAttributeNS(Mf,t.slice(6,t.length)):o.setAttributeNS(Mf,t,e):e==null||r&&!Dc(e)?o.removeAttribute(t):o.setAttribute(t,r?"":Co(e)?String(e):e)}function Bf(o,t,e,n,s){if(t==="innerHTML"||t==="textContent"){e!=null&&(o[t]=t==="innerHTML"?Cf(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=Dc(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 $y(o,t,e,n){o.addEventListener(t,e,n)}function Ny(o,t,e,n){o.removeEventListener(t,e,n)}const Vf=Symbol("_vei");function Fy(o,t,e,n,s=null){const r=o[Vf]||(o[Vf]={}),a=r[t];if(n&&a)a.value={}.NODE_ENV!=="production"?Xf(n,t):n;else{const[i,l]=zy(t);if(n){const c=r[t]=Ly({}.NODE_ENV!=="production"?Xf(n,t):n,s);$y(o,i,c,l)}else a&&(Ny(o,i,a,l),r[t]=void 0)}}const Yf=/(?:Once|Passive|Capture)$/;function zy(o){let t;if(Yf.test(o)){t={};let n;for(;n=o.match(Yf);)o=o.slice(0,o.length-n[0].length),t[n[0].toLowerCase()]=!0}return[o[2]===":"?o.slice(3):Be(o.slice(2)),t]}let Ki=0;const Dy=Promise.resolve(),My=()=>Ki||(Dy.then(()=>Ki=0),Ki=Date.now());function Ly(o,t){const e=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=e.attached)return;no(By(n,e.value),t,5,[n])};return e.value=o,e.attached=My(),e}function Xf(o,t){return Tt(o)||_t(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 By(o,t){if(_t(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 Zf=o=>o.charCodeAt(0)===111&&o.charCodeAt(1)===110&&o.charCodeAt(2)>96&&o.charCodeAt(2)<123,Vy=(o,t,e,n,s,r)=>{const a=s==="svg";t==="class"?Sy(o,n,a):t==="style"?Ry(o,e,n):os(t)?tr(t)||Fy(o,t,e,n,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Yy(o,t,n,a))?(Bf(o,t,n),!o.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Lf(o,t,n,a,r,t!=="value")):o._isVueCE&&(/[A-Z]/.test(t)||!se(n))?Bf(o,ke(t),n,r,t):(t==="true-value"?o._trueValue=n:t==="false-value"&&(o._falseValue=n),Lf(o,t,n,a))};function Yy(o,t,e,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in o&&Zf(t)&&Tt(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 Zf(t)&&se(e)?!1:t in o}const Uf={};/*! #__NO_SIDE_EFFECTS__ */function Xy(o,t,e){const n=X(o,t);er(n)&&ee(n,t);class s extends Qi{constructor(a){super(n,a,e)}}return s.def=n,s}const Zy=typeof HTMLElement<"u"?HTMLElement:class{};class Qi extends Zy{constructor(t,e={},n=Ji){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!==Ji?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 Qi){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,mr(()=>{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&&!_t(r))for(const l in r){const c=r[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=ni(this._props[l])),(i||(i=Object.create(null)))[ke(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:()=>Ot(e[n])})}_resolveProps(t){const{props:e}=t,n=_t(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(ke))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):Uf;const s=ke(t);e&&this._numberProps&&this._numberProps[s]&&(n=ni(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===Uf?delete this._props[t]:(this._props[t]=e,t==="key"&&this._app&&(this._app._ceVNode.key=e)),s&&this._instance&&this._update(),n)){const r=this._ob;r&&r.disconnect(),e===!0?this.setAttribute(Be(t),""):typeof e=="string"||typeof e=="number"?this.setAttribute(Be(t),e+""):e||this.removeAttribute(Be(t)),r&&r.observe(this,{attributes:!0})}}_update(){Mr(this._createVNode(),this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const e=Q(this._def,ee(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,er(a[0])?ee({detail:a},a[0]):{detail:a}))};n.emit=(r,...a)=>{s(r,a),Be(r)!==r&&s(Be(r),a)},this._setParent()}),e}_applyStyles(t,e){if(!t)return;if(e){if(e===this._def||this._styleChildren.has(e))return;this._styleChildren.add(e)}const n=this._nonce;for(let s=t.length-1;s>=0;s--){const r=document.createElement("style");if(n&&r.setAttribute("nonce",n),r.textContent=t[s],this.shadowRoot.prepend(r),{}.NODE_ENV!=="production")if(e){if(e.__hmrId){this._childStyles||(this._childStyles=new Map);let a=this._childStyles.get(e.__hmrId);a||this._childStyles.set(e.__hmrId,a=[]),a.push(r)}}else(this._styles||(this._styles=[])).push(r)}}_parseSlots(){const t=this._slots={};let e;for(;e=this.firstChild;){const n=e.nodeType===1&&e.getAttribute("slot")||"default";(t[n]||(t[n]=[])).push(e),this.removeChild(e)}}_renderSlots(){const t=(this._teleportTarget||this).querySelectorAll("slot"),e=this._instance.type.__scopeId;for(let n=0;n<t.length;n++){const s=t[n],r=s.getAttribute("name")||"default",a=this._slots[r],i=s.parentNode;if(a)for(const l of a){if(e&&l.nodeType===1){const c=e+"-s",u=document.createTreeWalker(l,1);l.setAttribute(c,"");let f;for(;f=u.nextNode();)f.setAttribute(c,"")}i.insertBefore(l,s)}else for(;s.firstChild;)i.insertBefore(s.firstChild,s);i.removeChild(s)}}_injectChildStyle(t){this._applyStyles(t.styles,t)}_removeChildStyle(t){if({}.NODE_ENV!=="production"&&(this._styleChildren.delete(t),this._childStyles&&t.__hmrId)){const e=this._childStyles.get(t.__hmrId);e&&(e.forEach(n=>this._root.removeChild(n)),e.length=0)}}}function Gf(o){const t=jo(),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 Uy(){const o={}.NODE_ENV!=="production"?Gf("useShadowRoot"):Gf();return o&&o.shadowRoot}const Gy=ee({patchProp:Vy},xy);let Hf;function jf(){return Hf||(Hf=Zg(Gy))}const Mr=(...o)=>{jf().render(...o)},Ji=(...o)=>{const t=jf().createApp(...o);({}).NODE_ENV!=="production"&&(jy(t),Wy(t));const{mount:e}=t;return t.mount=n=>{const s=qy(n);if(!s)return;const r=t._component;!Tt(r)&&!r.render&&!r.template&&(r.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const a=e(s,!1,Hy(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),a},t};function Hy(o){if(o instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&o instanceof MathMLElement)return"mathml"}function jy(o){Object.defineProperty(o.config,"isNativeTag",{value:t=>s0(t)||r0(t)||a0(t),writable:!1})}function Wy(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 qy(o){if(se(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}/**
25
26
  * vue v3.5.13
26
27
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
27
28
  * @license MIT
28
- **/function w0(){Zm()}({}).NODE_ENV!=="production"&&w0();function ku(){return typeof window<"u"?window:typeof global<"u"?global:this||{}}const mn=s=>{let t=null;switch(s){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(mn("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 Ky(){vy()}({}).NODE_ENV!=="production"&&Ky();function Wf(){return typeof window<"u"?window:typeof global<"u"?global:this||{}}const Lr=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(Lr("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
30
  [\u{FA0E}\u{FA0F}\u{FA11}\u{FA13}\u{FA14}\u{FA1F}\u{FA21}\u{FA23}\u{FA24}\u{FA27}-\u{FA29}]
30
31
  |[\u{4E00}-\u{9FCC}]
31
32
  |[\u{3400}-\u{4DB5}]
@@ -34,95 +35,144 @@ Expected function or array of functions, received type ${typeof s}.`),ve)}functi
34
35
  |[\u{2B740}-\u{2B81D}]
35
36
  |[\u{2B820}-\u{2CEAF}]
36
37
  |[\u{2CEB0}-\u{2EBEF}]
37
- `.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},_s=(s,t)=>(typeof s=="string"&&(s=mn(s)||new RegExp(s)),s.test(t)),Cu=(s,t)=>{typeof s=="string"&&(s=mn(s)||new RegExp(s));const e=t.match(s);return e?s.flags.toLowerCase().indexOf("g")>=0?e.map(o=>({matchIndex:-1,fullMatch:o,groupMatchs:[]})):{matchIndex:typeof e.index=="number"?e.index:-1,fullMatch:e[0],groupMatchs:e.slice(1)}:null},Tu=(s,t)=>{typeof s=="string"&&(s=mn(s)||new RegExp(s));const e=[],o=t.matchAll(s);for(const r of o)e.push({matchIndex:typeof r.index=="number"?r.index:-1,fullMatch:r[0],groupMatchs:r.slice(1)});return e};function k0(s){const t=s.match(/[\s\S]/gu);return t?t.length:0}function Su(s,t){const e=s.codePointAt(t);return e?String.fromCodePoint(e):void 0}function $o(s=12){const t="ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghijklmnopqrstuvwxyz0123456789",e=t.length;let o="";for(let r=0;r<s;r++)o+=t[Math.floor(Math.random()*e)];return o}function C0(s){return s.replace(/(^\w)/g,t=>t.toLowerCase())}const cs=(s,t="-")=>{let e=s.replace(new RegExp(`${t}?([A-Z])`,"g"),t+"$1").toLowerCase();return e=e.replace(new RegExp(`^${t}`),""),e};function T0(s){return s.replace(/(^\w|[_-]\w)/g,t=>t.slice(-1).toUpperCase())}function Eu(s){return C0(T0(s))}const Pu=(s,t="")=>(s=s.replaceAll(/\[data-v-[0-9a-zA-Z]*\]/g,t),s);function S0(s){return s!=null}function E0(s,...t){return new s.constructor(...t)}function Ou(s,t){for(const e in s)Object.prototype.hasOwnProperty.call(s,e)&&!t(e,s[e])&&delete s[e];return s}function Ru(s){for(const t in s)Object.prototype.hasOwnProperty.call(s,t)&&delete s[t];return s}function mr(s=[],t=[]){const e=s.length,o=t.length;for(let n=0;n<o;n++)s[n]=t[n];let r=Math.max(0,e-o);for(;r>0;)s.pop(),r--;return s}function P0(s,t){const e=s.findIndex(o=>o===t);return e>=0&&s.splice(e,1),s}let Iu;try{Iu=Map}catch{Iu=function(){}}let Fu;try{Fu=Set}catch{Fu=function(){}}function Qs(s,t){if(s=parseFloat(s),isNaN(s)){if(typeof t=="number")return t;throw new Error(`parseNumber(${s}) isNaN!`)}return s}function gn(s,t,e=Number.EPSILON*Math.pow(2,2)){return Math.abs(s-t)<e}const le=(s,t,e)=>s<t?t:s>e?e:s;function O0(s,t,e,o,r){return o+(r-o)*((s-t)/(e-t))}const Du=(s,t,e)=>o=>{const r=le(o,s,t);return e==0?r:t-r<e?t:Math.round(r/e)*e};function R0(s,t=12){return Qs(s).toFixed(t)}function Te(s,t=12){return+R0(s,t)}function xs(s,t){const e=Cu("number-single",String(s));return{hasNumber:!!e,number:e&&!Array.isArray(e)&&e.fullMatch?parseFloat(e.fullMatch):S0(t)?t:NaN,prefix:e&&!Array.isArray(e)&&e.fullMatch?s.substring(0,e.matchIndex):"",suffix:e&&!Array.isArray(e)&&e.fullMatch?s.substring(e.matchIndex+e.fullMatch.length):""}}function ei(s){const t=Cu("number",s);return t?Array.isArray(t)?t.map(e=>Number(e.fullMatch)):[Number(t.fullMatch)]:[]}function I0(s=0,t=100){return Math.random()*(t-s)+s}function ee(s=0,t=100){return Math.floor(I0(s,t))}F0();function F0(){const s=new ArrayBuffer(4),t=new Float32Array(s),e=new Uint32Array(s),o=new Uint32Array(512),r=new Uint32Array(512);for(let l=0;l<256;++l){const c=l-127;c<-27?(o[l]=0,o[l|256]=32768,r[l]=24,r[l|256]=24):c<-14?(o[l]=1024>>-c-14,o[l|256]=1024>>-c-14|32768,r[l]=-c-1,r[l|256]=-c-1):c<=15?(o[l]=c+15<<10,o[l|256]=c+15<<10|32768,r[l]=13,r[l|256]=13):c<128?(o[l]=31744,o[l|256]=64512,r[l]=24,r[l|256]=24):(o[l]=31744,o[l|256]=64512,r[l]=13,r[l|256]=13)}const n=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,n[l]=c|u}for(let l=1024;l<2048;++l)n[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:o,shiftTable:r,mantissaTable:n,exponentTable:a,offsetTable:i}}var $u=(s=>(s.UNKNOWN="",s.TEXT="text/plain",s.MD="text/plain",s.HTML="text/html",s.XML_TEXT="text/xml",s.CSS="text/css",s.JPEG="image/jpeg",s.PNG="image/png",s.GIF="image/gif",s.BMP="image/bmp",s.WEBP="image/webp",s.SVG="image/svg+xml",s.ICON="image/x-icon",s.MICROSOFT_ICON="image/vnd.microsoft.icon",s.MPEG="audio/mpeg",s.MP3="audio/mpeg",s.MP4="video/mp4",s.OGG="audio/ogg",s.WAV="audio/wav",s.MIDI="audio/midi",s.WEBM="video/webm",s.VIDEO_OGG="video/ogg",s.OCTET_STREAM="application/octet-stream",s.JAVASCRIPT="application/javascript",s.ECMASCRIPT="application/ecmascript",s.JSON="application/json",s.XML="application/xml",s.XHTML="application/xhtml+xml",s.XWWW="application/x-www-form-urlencoded",s.DOC="application/msword",s.CSV="application/x-csv",s.EXCEL="application/vnb.ms-excel",s.PPT="application/vnb.mspowerpoint",s.PDF="application/pdf",s.ZIP="application/zip",s.TGZ="application/x-gtar",s.TAR_GZ="application/x-gzip",s.EOT="appliaction/vnd.ms-fontobject",s.TTF="aplication/font-sfnt",s.PKCS12="aplication/pkcs12",s))($u||{}),yn=(s=>(s.ascii="ascii",s.utf8="utf8",s.utf16le="utf16le",s.ucs2="ucs2",s.base64="base64",s.base64url="base64url",s.latin1="latin1",s.binary="binary",s.hex="hex",s))(yn||{});const Lu=(s,t,e)=>t?e===yn.base64?new Blob([s],{type:`${t};${e}`}):e===yn.utf8?new Blob([s],{type:`${t};charset=${e}`}):new Blob([s],{type:`${t}`}):new Blob([s]);function pe(){return(performance||Date).now()}function D0(s){let t=0;for(let e=5;e>=0;e=e-2)e==5?t+=s[e-1]*10+s[e]:e==3?t+=(s[e-1]*10+s[e])*60:e==1&&(t+=(s[e-1]*10+s[e])*60*60);return t=Math.floor(Math.max(0,t)),t*1e3}function si(s){let t=D0(s)/1e3;const e=t%60;s[5]=e%10,s[4]=Math.floor(e/10),t=Math.floor(t/60);const o=t%60;s[3]=o%10,s[2]=Math.floor(o/10),t=Math.floor(t/60);const r=t%60%24;return s[1]=r%10,s[0]=Math.floor(r/10),s}function $0(s){const t=[0,0,0,0,0,0],e=ei(s);for(let o=0,r=Math.min(e.length,3);o<r;o++){const n=Math.floor(Math.abs(e[o]));t[2*o+1]=n%10,t[2*o]=Math.floor(n/10)}return si(t)}function oi(s,t=1){return s[5]+=t,si(s)}function ri(s,t=1){return s[5]-=t,si(s)}function L0(s,t){s.forEach((e,o)=>{t[o]=e})}function A0(s,t){const e=t.reduce((o,r)=>{const{match:n,error:a}=r;return n(s)||o.push(a),o},[]);return{valid:e.length===0,errors:e}}function M0(s="xxx不能为空!"){return{match:t=>!!t,error:s}}function N0(s="邮箱格式不正确!"){return{match:t=>_s("email",t),error:s}}class z0{criterias=[];constructor(t=[]){t.forEach(e=>this.add(e))}add(...t){this.criterias.push(...t)}clear(){this.criterias=[]}get(){return t=>A0(t,this.criterias)}run(t){return this.get()(t)}}function Lo(s){return new z0([M0("邮箱不能为空!"),N0("邮箱格式不正确!")]).run(s)}function Au(s,t){let e=!0;return function(...o){e&&(e=!1,s.apply(this,o),setTimeout(()=>{e=!0},t))}}function V0(s,t){let e;return function(...o){clearTimeout(e),e=setTimeout(()=>{s.apply(this,o)},t)}}class gr{events;constructor(){this.events={}}on(t,e){return this.events[t]||(this.events[t]=[]),this.events[t].push(e),this}addListener(t,e){return this.on(t,e),this}prependListener(t,e){return this.events[t]||(this.events[t]=[]),this.events[t].unshift(e),this}removeListener(t,e){if(this.events[t])return this.events[t]=this.events[t].filter(o=>o!==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].forEach(o=>{o(...e)}),this}once(t,e){const r=(()=>{let n=!1;return(...a)=>{n||(n=!0,e(...a),this.off(t,r))}})();return this.on(t,r),this}}class vn extends gr{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(r=>r())),o=this.results.length;e.forEach((r,n)=>{if(r.status=="fulfilled"){const a=r.value;this.results.push(a),this.controller?.enqueue(a),this.emit("success",o+n,a)}else if(r.status=="rejected"){const a=new Error(r.reason);this.results.push(a),this.controller?.enqueue(a),this.emit("error",o+n,a)}}),this.activeTaskCount-=e.length}}}function B0(s){let t=!1;return function(...e){if(!t)return t=!0,s.apply(this,e)}}Array.prototype.ap=function(s){return this.reduce((t,e)=>t.concat(s.map(e)),[])};let yr;function ni(s){yr=s,s(),yr=null}class Y0{subscribers=new Set;add(){yr&&!this.subscribers.has(yr)&&this.subscribers.add(yr)}notify(){this.subscribers.forEach(t=>t())}}const Mu=new WeakMap;function bn(s,t){let e=Mu.get(s);e||(e=new Map,Mu.set(s,e));let o=e.get(t);return o||(o=new Y0,e.set(t,o)),o}function X0(s,t=!1){return Object.keys(s).forEach(e=>{let o=s[e];if(t&&typeof o=="object"&&o!==null)s[e]=ai(o,t);else{const r=bn(s,e);Object.defineProperty(s,e,{configurable:!0,enumerable:!0,get(){return r.add(),o},set(n){o!=n&&(o=n,r.notify())}})}}),s}function _n(s,t=!1){return X0({value:s},t)}function ai(s,t=!1){const e={get(r,n,a){const i=Reflect.get(r,n,a);if(t&&typeof i=="object"&&i!==null&&!("isYZReactiveProxy"in i)){const c=ai(i,t);c.YZReactiveProxyParentTarget=r,c.YZReactiveProxyParentKey=n,Reflect.set(a,n,c)}return bn(r,n).add(),Reflect.get(r,n,a)},set(r,n,a,i){const l=Reflect.get(r,n,i),c=Reflect.set(r,n,a,i);return Array.isArray(r)?bn(r.YZReactiveProxyParentTarget,r.YZReactiveProxyParentKey).notify():l!=a&&bn(r,n).notify(),c},has(r,n){return n==="isYZReactiveProxy"||n in r}};return new Proxy(s,e)}const G0=ai;class ii{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())}get length(){return this.entries().length}set(t,e){this.maps.set(t,e),this.mapsAddedDuringUpdate.set(t,e)}get(t){return this.maps.get(t)}shift(){const t=this.entries();if(t.length){const[e,o]=t[0];return this.delete(e),[e,o]}}delete(t){return this.mapsAddedDuringUpdate.delete(t),this.maps.delete(t)}clear(){this.maps.clear(),this.mapsAddedDuringUpdate.clear()}filter(t){let e=Array.from(this.maps.entries());for(;e.length>0;){this.mapsAddedDuringUpdate.clear();for(let o=0,r=e.length;o<r;o++){const[n,a]=e[o];t(n,a)===!1&&this.delete(n)}e=Array.from(this.mapsAddedDuringUpdate.entries())}}}function U0(s,t=(e,o)=>e<=o){const e=s.length;let o=Math.floor(e/2);for(;o>0;){for(let r=o;r<e;r++){const n=s[r];let a=r;for(;a>=o&&!t(s[a-o],n);)s[a]=s[a-o],a-=o;s[a]=n}o=Math.floor(o/2)}}let Nu;try{Nu=Promise}catch{Nu=function(){}}const vr=/^[a-z0-9]+(-[a-z0-9]+)*$/,xn=(s,t,e,o="")=>{const r=s.split(":");if(s.slice(0,1)==="@"){if(r.length<2||r.length>3)return null;o=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const i=r.pop(),l=r.pop(),c={provider:r.length>0?r[0]:o,prefix:l,name:i};return t&&!wn(c)?null:c}const n=r[0],a=n.split("-");if(a.length>1){const i={provider:o,prefix:a.shift(),name:a.join("-")};return t&&!wn(i)?null:i}if(e&&o===""){const i={provider:o,prefix:"",name:n};return t&&!wn(i,e)?null:i}return null},wn=(s,t)=>s?!!((s.provider===""||s.provider.match(vr))&&(t&&s.prefix===""||s.prefix.match(vr))&&s.name.match(vr)):!1,zu=Object.freeze({left:0,top:0,width:16,height:16}),kn=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Cn=Object.freeze({...zu,...kn}),li=Object.freeze({...Cn,body:"",hidden:!1});function j0(s,t){const e={};!s.hFlip!=!t.hFlip&&(e.hFlip=!0),!s.vFlip!=!t.vFlip&&(e.vFlip=!0);const o=((s.rotate||0)+(t.rotate||0))%4;return o&&(e.rotate=o),e}function Vu(s,t){const e=j0(s,t);for(const o in li)o in kn?o in s&&!(o in e)&&(e[o]=kn[o]):o in t?e[o]=t[o]:o in s&&(e[o]=s[o]);return e}function H0(s,t){const e=s.icons,o=s.aliases||Object.create(null),r=Object.create(null);function n(a){if(e[a])return r[a]=[];if(!(a in r)){r[a]=null;const i=o[a]&&o[a].parent,l=i&&n(i);l&&(r[a]=[i].concat(l))}return r[a]}return(t||Object.keys(e).concat(Object.keys(o))).forEach(n),r}function W0(s,t,e){const o=s.icons,r=s.aliases||Object.create(null);let n={};function a(i){n=Vu(o[i]||r[i],n)}return a(t),e.forEach(a),Vu(s,n)}function Bu(s,t){const e=[];if(typeof s!="object"||typeof s.icons!="object")return e;s.not_found instanceof Array&&s.not_found.forEach(r=>{t(r,null),e.push(r)});const o=H0(s);for(const r in o){const n=o[r];n&&(t(r,W0(s,r,n)),e.push(r))}return e}const Z0={provider:"",aliases:{},not_found:{},...zu};function ci(s,t){for(const e in t)if(e in s&&typeof s[e]!=typeof t[e])return!1;return!0}function Yu(s){if(typeof s!="object"||s===null)return null;const t=s;if(typeof t.prefix!="string"||!s.icons||typeof s.icons!="object"||!ci(s,Z0))return null;const e=t.icons;for(const r in e){const n=e[r];if(!r.match(vr)||typeof n.body!="string"||!ci(n,li))return null}const o=t.aliases||Object.create(null);for(const r in o){const n=o[r],a=n.parent;if(!r.match(vr)||typeof a!="string"||!e[a]&&!o[a]||!ci(n,li))return null}return t}const Xu=Object.create(null);function q0(s,t){return{provider:s,prefix:t,icons:Object.create(null),missing:new Set}}function vo(s,t){const e=Xu[s]||(Xu[s]=Object.create(null));return e[t]||(e[t]=q0(s,t))}function ui(s,t){return Yu(t)?Bu(t,(e,o)=>{o?s.icons[e]=o:s.missing.add(e)}):[]}function Q0(s,t,e){try{if(typeof e.body=="string")return s.icons[t]={...e},!0}catch{}return!1}let br=!1;function Gu(s){return typeof s=="boolean"&&(br=s),br}function K0(s){const t=typeof s=="string"?xn(s,!0,br):s;if(t){const e=vo(t.provider,t.prefix),o=t.name;return e.icons[o]||(e.missing.has(o)?null:void 0)}}function J0(s,t){const e=xn(s,!0,br);if(!e)return!1;const o=vo(e.provider,e.prefix);return Q0(o,e.name,t)}function tg(s,t){if(typeof s!="object")return!1;if(typeof t!="string"&&(t=s.provider||""),br&&!t&&!s.prefix){let r=!1;return Yu(s)&&(s.prefix="",Bu(s,(n,a)=>{a&&J0(n,a)&&(r=!0)})),r}const e=s.prefix;if(!wn({provider:t,prefix:e,name:"a"}))return!1;const o=vo(t,e);return!!ui(o,s)}const Uu=Object.freeze({width:null,height:null}),ju=Object.freeze({...Uu,...kn}),eg=/(-?[0-9.]*[0-9]+[0-9.]*)/g,sg=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Hu(s,t,e){if(t===1)return s;if(e=e||100,typeof s=="number")return Math.ceil(s*t*e)/e;if(typeof s!="string")return s;const o=s.split(eg);if(o===null||!o.length)return s;const r=[];let n=o.shift(),a=sg.test(n);for(;;){if(a){const i=parseFloat(n);isNaN(i)?r.push(n):r.push(Math.ceil(i*t*e)/e)}else r.push(n);if(n=o.shift(),n===void 0)return r.join("");a=!a}}function og(s,t="defs"){let e="";const o=s.indexOf("<"+t);for(;o>=0;){const r=s.indexOf(">",o),n=s.indexOf("</"+t);if(r===-1||n===-1)break;const a=s.indexOf(">",n);if(a===-1)break;e+=s.slice(r+1,n).trim(),s=s.slice(0,o).trim()+s.slice(a+1)}return{defs:e,content:s}}function rg(s,t){return s?"<defs>"+s+"</defs>"+t:t}function ng(s,t,e){const o=og(s);return rg(o.defs,t+o.content+e)}const ag=s=>s==="unset"||s==="undefined"||s==="none";function ig(s,t){const e={...Cn,...s},o={...ju,...t},r={left:e.left,top:e.top,width:e.width,height:e.height};let n=e.body;[e,o].forEach(b=>{const w=[],x=b.hFlip,v=b.vFlip;let g=b.rotate;x?v?g+=2:(w.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),w.push("scale(-1 1)"),r.top=r.left=0):v&&(w.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),w.push("scale(1 -1)"),r.top=r.left=0);let m;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:m=r.height/2+r.top,w.unshift("rotate(90 "+m.toString()+" "+m.toString()+")");break;case 2:w.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:m=r.width/2+r.left,w.unshift("rotate(-90 "+m.toString()+" "+m.toString()+")");break}g%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)),w.length&&(n=ng(n,'<g transform="'+w.join(" ")+'">',"</g>"))});const a=o.width,i=o.height,l=r.width,c=r.height;let u,d;a===null?(d=i===null?"1em":i==="auto"?c:i,u=Hu(d,l/c)):(u=a==="auto"?l:a,d=i===null?Hu(u,c/l):i==="auto"?c:i);const h={},p=(b,w)=>{ag(w)||(h[b]=w.toString())};p("width",u),p("height",d);const f=[r.left,r.top,l,c];return h.viewBox=f.join(" "),{attributes:h,viewBox:f,body:n}}const lg=/\sid="(\S+)"/g,cg="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let ug=0;function dg(s,t=cg){const e=[];let o;for(;o=lg.exec(s);)e.push(o[1]);if(!e.length)return s;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return e.forEach(n=>{const a=typeof t=="function"?t(n):t+(ug++).toString(),i=n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");s=s.replace(new RegExp('([#;"])('+i+')([")]|\\.[a-z])',"g"),"$1"+a+r+"$3")}),s=s.replace(new RegExp(r,"g"),""),s}const di=Object.create(null);function fg(s,t){di[s]=t}function fi(s){return di[s]||di[""]}function hi(s){let t;if(typeof s.resources=="string")t=[s.resources];else if(t=s.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:s.path||"/",maxURL:s.maxURL||500,rotate:s.rotate||750,timeout:s.timeout||5e3,random:s.random===!0,index:s.index||0,dataAfterTimeout:s.dataAfterTimeout!==!1}}const pi=Object.create(null),_r=["https://api.simplesvg.com","https://api.unisvg.com"],Tn=[];for(;_r.length>0;)_r.length===1||Math.random()>.5?Tn.push(_r.shift()):Tn.push(_r.pop());pi[""]=hi({resources:["https://api.iconify.design"].concat(Tn)});function hg(s,t){const e=hi(t);return e===null?!1:(pi[s]=e,!0)}function mi(s){return pi[s]}let Wu=(()=>{let s;try{if(s=fetch,typeof s=="function")return s}catch{}})();function pg(s,t){const e=mi(s);if(!e)return 0;let o;if(!e.maxURL)o=0;else{let r=0;e.resources.forEach(a=>{r=Math.max(r,a.length)});const n=t+".json?icons=";o=e.maxURL-r-e.path.length-n.length}return o}function mg(s){return s===404}const gg=(s,t,e)=>{const o=[],r=pg(s,t),n="icons";let a={type:n,provider:s,prefix:t,icons:[]},i=0;return e.forEach((l,c)=>{i+=l.length+1,i>=r&&c>0&&(o.push(a),a={type:n,provider:s,prefix:t,icons:[]},i=l.length),a.icons.push(l)}),o.push(a),o};function yg(s){if(typeof s=="string"){const t=mi(s);if(t)return t.path}return"/"}const vg={prepare:gg,send:(s,t,e)=>{if(!Wu){e("abort",424);return}let o=yg(t.provider);switch(t.type){case"icons":{const n=t.prefix,i=t.icons.join(","),l=new URLSearchParams({icons:i});o+=n+".json?"+l.toString();break}case"custom":{const n=t.uri;o+=n.slice(0,1)==="/"?n.slice(1):n;break}default:e("abort",400);return}let r=503;Wu(s+o).then(n=>{const a=n.status;if(a!==200){setTimeout(()=>{e(mg(a)?"abort":"next",a)});return}return r=501,n.json()}).then(n=>{if(typeof n!="object"||n===null){setTimeout(()=>{n===404?e("abort",n):e("next",r)});return}setTimeout(()=>{e("success",n)})}).catch(()=>{e("next",r)})}};function bg(s){const t={loaded:[],missing:[],pending:[]},e=Object.create(null);s.sort((r,n)=>r.provider!==n.provider?r.provider.localeCompare(n.provider):r.prefix!==n.prefix?r.prefix.localeCompare(n.prefix):r.name.localeCompare(n.name));let o={provider:"",prefix:"",name:""};return s.forEach(r=>{if(o.name===r.name&&o.prefix===r.prefix&&o.provider===r.provider)return;o=r;const n=r.provider,a=r.prefix,i=r.name,l=e[n]||(e[n]=Object.create(null)),c=l[a]||(l[a]=vo(n,a));let u;i in c.icons?u=t.loaded:a===""||c.missing.has(i)?u=t.missing:u=t.pending;const d={provider:n,prefix:a,name:i};u.push(d)}),t}function Zu(s,t){s.forEach(e=>{const o=e.loaderCallbacks;o&&(e.loaderCallbacks=o.filter(r=>r.id!==t))})}function _g(s){s.pendingCallbacksFlag||(s.pendingCallbacksFlag=!0,setTimeout(()=>{s.pendingCallbacksFlag=!1;const t=s.loaderCallbacks?s.loaderCallbacks.slice(0):[];if(!t.length)return;let e=!1;const o=s.provider,r=s.prefix;t.forEach(n=>{const a=n.icons,i=a.pending.length;a.pending=a.pending.filter(l=>{if(l.prefix!==r)return!0;const c=l.name;if(s.icons[c])a.loaded.push({provider:o,prefix:r,name:c});else if(s.missing.has(c))a.missing.push({provider:o,prefix:r,name:c});else return e=!0,!0;return!1}),a.pending.length!==i&&(e||Zu([s],n.id),n.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),n.abort))})}))}let xg=0;function wg(s,t,e){const o=xg++,r=Zu.bind(null,e,o);if(!t.pending.length)return r;const n={id:o,icons:t,callback:s,abort:r};return e.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(n)}),r}function kg(s,t=!0,e=!1){const o=[];return s.forEach(r=>{const n=typeof r=="string"?xn(r,t,e):r;n&&o.push(n)}),o}var Cg={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Tg(s,t,e,o){const r=s.resources.length,n=s.random?Math.floor(Math.random()*r):s.index;let a;if(s.random){let k=s.resources.slice(0);for(a=[];k.length>1;){const Z=Math.floor(Math.random()*k.length);a.push(k[Z]),k=k.slice(0,Z).concat(k.slice(Z+1))}a=a.concat(k)}else a=s.resources.slice(n).concat(s.resources.slice(0,n));const i=Date.now();let l="pending",c=0,u,d=null,h=[],p=[];typeof o=="function"&&p.push(o);function f(){d&&(clearTimeout(d),d=null)}function b(){l==="pending"&&(l="aborted"),f(),h.forEach(k=>{k.status==="pending"&&(k.status="aborted")}),h=[]}function w(k,Z){Z&&(p=[]),typeof k=="function"&&p.push(k)}function x(){return{startTime:i,payload:t,status:l,queriesSent:c,queriesPending:h.length,subscribe:w,abort:b}}function v(){l="failed",p.forEach(k=>{k(void 0,u)})}function g(){h.forEach(k=>{k.status==="pending"&&(k.status="aborted")}),h=[]}function m(k,Z,ot){const I=Z!=="success";switch(h=h.filter($=>$!==k),l){case"pending":break;case"failed":if(I||!s.dataAfterTimeout)return;break;default:return}if(Z==="abort"){u=ot,v();return}if(I){u=ot,h.length||(a.length?_():v());return}if(f(),g(),!s.random){const $=s.resources.indexOf(k.resource);$!==-1&&$!==s.index&&(s.index=$)}l="completed",p.forEach($=>{$(ot)})}function _(){if(l!=="pending")return;f();const k=a.shift();if(k===void 0){if(h.length){d=setTimeout(()=>{f(),l==="pending"&&(g(),v())},s.timeout);return}v();return}const Z={status:"pending",resource:k,callback:(ot,I)=>{m(Z,ot,I)}};h.push(Z),c++,d=setTimeout(_,s.rotate),e(k,t,Z.callback)}return setTimeout(_),x}function qu(s){const t={...Cg,...s};let e=[];function o(){e=e.filter(i=>i().status==="pending")}function r(i,l,c){const u=Tg(t,i,l,(d,h)=>{o(),c&&c(d,h)});return e.push(u),u}function n(i){return e.find(l=>i(l))||null}return{query:r,find:n,setIndex:i=>{t.index=i},getIndex:()=>t.index,cleanup:o}}function Qu(){}const gi=Object.create(null);function Sg(s){if(!gi[s]){const t=mi(s);if(!t)return;const e=qu(t),o={config:t,redundancy:e};gi[s]=o}return gi[s]}function Eg(s,t,e){let o,r;if(typeof s=="string"){const n=fi(s);if(!n)return e(void 0,424),Qu;r=n.send;const a=Sg(s);a&&(o=a.redundancy)}else{const n=hi(s);if(n){o=qu(n);const a=s.resources?s.resources[0]:"",i=fi(a);i&&(r=i.send)}}return!o||!r?(e(void 0,424),Qu):o.query(t,r,e)().abort}const Ku="iconify2",xr="iconify",Ju=xr+"-count",td=xr+"-version",ed=36e5,Pg=168,Og=50;function yi(s,t){try{return s.getItem(t)}catch{}}function vi(s,t,e){try{return s.setItem(t,e),!0}catch{}}function sd(s,t){try{s.removeItem(t)}catch{}}function bi(s,t){return vi(s,Ju,t.toString())}function _i(s){return parseInt(yi(s,Ju))||0}const Sn={local:!0,session:!0},od={local:new Set,session:new Set};let xi=!1;function Rg(s){xi=s}let En=typeof window>"u"?{}:window;function rd(s){const t=s+"Storage";try{if(En&&En[t]&&typeof En[t].length=="number")return En[t]}catch{}Sn[s]=!1}function nd(s,t){const e=rd(s);if(!e)return;const o=yi(e,td);if(o!==Ku){if(o){const i=_i(e);for(let l=0;l<i;l++)sd(e,xr+l.toString())}vi(e,td,Ku),bi(e,0);return}const r=Math.floor(Date.now()/ed)-Pg,n=i=>{const l=xr+i.toString(),c=yi(e,l);if(typeof c=="string"){try{const u=JSON.parse(c);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>r&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,i))return!0}catch{}sd(e,l)}};let a=_i(e);for(let i=a-1;i>=0;i--)n(i)||(i===a-1?(a--,bi(e,a)):od[s].add(i))}function ad(){if(!xi){Rg(!0);for(const s in Sn)nd(s,t=>{const e=t.data,o=t.provider,r=e.prefix,n=vo(o,r);if(!ui(n,e).length)return!1;const a=e.lastModified||-1;return n.lastModifiedCached=n.lastModifiedCached?Math.min(n.lastModifiedCached,a):a,!0})}}function Ig(s,t){const e=s.lastModifiedCached;if(e&&e>=t)return e===t;if(s.lastModifiedCached=t,e)for(const o in Sn)nd(o,r=>{const n=r.data;return r.provider!==s.provider||n.prefix!==s.prefix||n.lastModified===t});return!0}function Fg(s,t){xi||ad();function e(o){let r;if(!Sn[o]||!(r=rd(o)))return;const n=od[o];let a;if(n.size)n.delete(a=Array.from(n).shift());else if(a=_i(r),a>=Og||!bi(r,a+1))return;const i={cached:Math.floor(Date.now()/ed),provider:s.provider,data:t};return vi(r,xr+a.toString(),JSON.stringify(i))}t.lastModified&&!Ig(s,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),e("local")||e("session"))}function id(){}function Dg(s){s.iconsLoaderFlag||(s.iconsLoaderFlag=!0,setTimeout(()=>{s.iconsLoaderFlag=!1,_g(s)}))}function $g(s,t){s.iconsToLoad?s.iconsToLoad=s.iconsToLoad.concat(t).sort():s.iconsToLoad=t,s.iconsQueueFlag||(s.iconsQueueFlag=!0,setTimeout(()=>{s.iconsQueueFlag=!1;const{provider:e,prefix:o}=s,r=s.iconsToLoad;delete s.iconsToLoad;let n;if(!r||!(n=fi(e)))return;n.prepare(e,o,r).forEach(i=>{Eg(e,i,l=>{if(typeof l!="object")i.icons.forEach(c=>{s.missing.add(c)});else try{const c=ui(s,l);if(!c.length)return;const u=s.pendingIcons;u&&c.forEach(d=>{u.delete(d)}),Fg(s,l)}catch(c){console.error(c)}Dg(s)})})}))}const Lg=(s,t)=>{const e=kg(s,!0,Gu()),o=bg(e);if(!o.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(o.loaded,o.missing,o.pending,id)}),()=>{l=!1}}const r=Object.create(null),n=[];let a,i;return o.pending.forEach(l=>{const{provider:c,prefix:u}=l;if(u===i&&c===a)return;a=c,i=u,n.push(vo(c,u));const d=r[c]||(r[c]=Object.create(null));d[u]||(d[u]=[])}),o.pending.forEach(l=>{const{provider:c,prefix:u,name:d}=l,h=vo(c,u),p=h.pendingIcons||(h.pendingIcons=new Set);p.has(d)||(p.add(d),r[c][u].push(d))}),n.forEach(l=>{const{provider:c,prefix:u}=l;r[c][u].length&&$g(l,r[c][u])}),t?wg(t,o,n):id};function Ag(s,t){const e={...s};for(const o in t){const r=t[o],n=typeof r;o in Uu?(r===null||r&&(n==="string"||n==="number"))&&(e[o]=r):n===typeof e[o]&&(e[o]=o==="rotate"?r%4:r)}return e}const Mg=/[\s,]+/;function Ng(s,t){t.split(Mg).forEach(e=>{switch(e.trim()){case"horizontal":s.hFlip=!0;break;case"vertical":s.vFlip=!0;break}})}function zg(s,t=0){const e=s.replace(/^-?[0-9.]*/,"");function o(r){for(;r<0;)r+=4;return r%4}if(e===""){const r=parseInt(s);return isNaN(r)?0:o(r)}else if(e!==s){let r=0;switch(e){case"%":r=25;break;case"deg":r=90}if(r){let n=parseFloat(s.slice(0,s.length-e.length));return isNaN(n)?0:(n=n/r,n%1===0?o(n):0)}}return t}function Vg(s,t){let e=s.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const o in t)e+=" "+o+'="'+t[o]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+e+">"+s+"</svg>"}function Bg(s){return s.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Yg(s){return"data:image/svg+xml,"+Bg(s)}function Xg(s){return'url("'+Yg(s)+'")'}const ld={...ju,inline:!1},Gg={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Ug={display:"inline-block"},wi={backgroundColor:"currentColor"},cd={backgroundColor:"transparent"},ud={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},dd={webkitMask:wi,mask:wi,background:cd};for(const s in dd){const t=dd[s];for(const e in ud)t[s+e]=ud[e]}const Pn={};["horizontal","vertical"].forEach(s=>{const t=s.slice(0,1)+"Flip";Pn[s+"-flip"]=t,Pn[s.slice(0,1)+"-flip"]=t,Pn[s+"Flip"]=t});function fd(s){return s+(s.match(/^[-0-9.]+$/)?"px":"")}const hd=(s,t)=>{const e=Ag(ld,t),o={...Gg},r=t.mode||"svg",n={},a=t.style,i=typeof a=="object"&&!(a instanceof Array)?a:{};for(let b in t){const w=t[b];if(w!==void 0)switch(b){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":e[b]=w===!0||w==="true"||w===1;break;case"flip":typeof w=="string"&&Ng(e,w);break;case"color":n.color=w;break;case"rotate":typeof w=="string"?e[b]=zg(w):typeof w=="number"&&(e[b]=w);break;case"ariaHidden":case"aria-hidden":w!==!0&&w!=="true"&&delete o["aria-hidden"];break;default:{const x=Pn[b];x?(w===!0||w==="true"||w===1)&&(e[x]=!0):ld[b]===void 0&&(o[b]=w)}}}const l=ig(s,e),c=l.attributes;if(e.inline&&(n.verticalAlign="-0.125em"),r==="svg"){o.style={...n,...i},Object.assign(o,c);let b=0,w=t.id;return typeof w=="string"&&(w=w.replace(/-/g,"_")),o.innerHTML=dg(l.body,w?()=>w+"ID"+b++:"iconifyVue"),te("svg",o)}const{body:u,width:d,height:h}=s,p=r==="mask"||(r==="bg"?!1:u.indexOf("currentColor")!==-1),f=Vg(u,{...c,width:d+"",height:h+""});return o.style={...n,"--svg":Xg(f),width:fd(c.width),height:fd(c.height),...Ug,...p?wi:cd,...i},te("span",o)};if(Gu(!0),fg("",vg),typeof document<"u"&&typeof window<"u"){ad();const s=window;if(s.IconifyPreload!==void 0){const t=s.IconifyPreload,e="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(o=>{try{(typeof o!="object"||o===null||o instanceof Array||typeof o.icons!="object"||typeof o.prefix!="string"||!tg(o))&&console.error(e)}catch{console.error(e)}})}if(s.IconifyProviders!==void 0){const t=s.IconifyProviders;if(typeof t=="object"&&t!==null)for(let e in t){const o="IconifyProviders["+e+"] is invalid.";try{const r=t[e];if(typeof r!="object"||!r||r.resources===void 0)continue;hg(e,r)||console.error(o)}catch{console.error(o)}}}}const jg={...Cn,body:""},pd=H({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(s,t){if(typeof s=="object"&&s!==null&&typeof s.body=="string")return this._name="",this.abortLoading(),{data:s};let e;if(typeof s!="string"||(e=xn(s,!1,!0))===null)return this.abortLoading(),null;const o=K0(e);if(!o)return(!this._loadingIcon||this._loadingIcon.name!==s)&&(this.abortLoading(),this._name="",o!==null&&(this._loadingIcon={name:s,abort:Lg([e],()=>{this.counter++})})),null;this.abortLoading(),this._name!==s&&(this._name=s,t&&t(s));const r=["iconify"];return e.prefix!==""&&r.push("iconify--"+e.prefix),e.provider!==""&&r.push("iconify--"+e.provider),{data:o,classes:r}}},render(){this.counter;const s=this.$attrs,t=this.iconMounted||s.ssr?this.getIcon(s.icon,s.onLoad):null;if(!t)return hd(jg,s);let e=s;return t.classes&&(e={...s,class:(typeof s.class=="string"?s.class+" ":"")+t.classes.join(" ")}),hd({...Cn,...t.data},e)}});function Hg(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var Wg={exports:{}};(function(s,t){(function(e){s.exports=e()})(function(e){var o=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function r(x,v){var g=x[0],m=x[1],_=x[2],k=x[3];g+=(m&_|~m&k)+v[0]-680876936|0,g=(g<<7|g>>>25)+m|0,k+=(g&m|~g&_)+v[1]-389564586|0,k=(k<<12|k>>>20)+g|0,_+=(k&g|~k&m)+v[2]+606105819|0,_=(_<<17|_>>>15)+k|0,m+=(_&k|~_&g)+v[3]-1044525330|0,m=(m<<22|m>>>10)+_|0,g+=(m&_|~m&k)+v[4]-176418897|0,g=(g<<7|g>>>25)+m|0,k+=(g&m|~g&_)+v[5]+1200080426|0,k=(k<<12|k>>>20)+g|0,_+=(k&g|~k&m)+v[6]-1473231341|0,_=(_<<17|_>>>15)+k|0,m+=(_&k|~_&g)+v[7]-45705983|0,m=(m<<22|m>>>10)+_|0,g+=(m&_|~m&k)+v[8]+1770035416|0,g=(g<<7|g>>>25)+m|0,k+=(g&m|~g&_)+v[9]-1958414417|0,k=(k<<12|k>>>20)+g|0,_+=(k&g|~k&m)+v[10]-42063|0,_=(_<<17|_>>>15)+k|0,m+=(_&k|~_&g)+v[11]-1990404162|0,m=(m<<22|m>>>10)+_|0,g+=(m&_|~m&k)+v[12]+1804603682|0,g=(g<<7|g>>>25)+m|0,k+=(g&m|~g&_)+v[13]-40341101|0,k=(k<<12|k>>>20)+g|0,_+=(k&g|~k&m)+v[14]-1502002290|0,_=(_<<17|_>>>15)+k|0,m+=(_&k|~_&g)+v[15]+1236535329|0,m=(m<<22|m>>>10)+_|0,g+=(m&k|_&~k)+v[1]-165796510|0,g=(g<<5|g>>>27)+m|0,k+=(g&_|m&~_)+v[6]-1069501632|0,k=(k<<9|k>>>23)+g|0,_+=(k&m|g&~m)+v[11]+643717713|0,_=(_<<14|_>>>18)+k|0,m+=(_&g|k&~g)+v[0]-373897302|0,m=(m<<20|m>>>12)+_|0,g+=(m&k|_&~k)+v[5]-701558691|0,g=(g<<5|g>>>27)+m|0,k+=(g&_|m&~_)+v[10]+38016083|0,k=(k<<9|k>>>23)+g|0,_+=(k&m|g&~m)+v[15]-660478335|0,_=(_<<14|_>>>18)+k|0,m+=(_&g|k&~g)+v[4]-405537848|0,m=(m<<20|m>>>12)+_|0,g+=(m&k|_&~k)+v[9]+568446438|0,g=(g<<5|g>>>27)+m|0,k+=(g&_|m&~_)+v[14]-1019803690|0,k=(k<<9|k>>>23)+g|0,_+=(k&m|g&~m)+v[3]-187363961|0,_=(_<<14|_>>>18)+k|0,m+=(_&g|k&~g)+v[8]+1163531501|0,m=(m<<20|m>>>12)+_|0,g+=(m&k|_&~k)+v[13]-1444681467|0,g=(g<<5|g>>>27)+m|0,k+=(g&_|m&~_)+v[2]-51403784|0,k=(k<<9|k>>>23)+g|0,_+=(k&m|g&~m)+v[7]+1735328473|0,_=(_<<14|_>>>18)+k|0,m+=(_&g|k&~g)+v[12]-1926607734|0,m=(m<<20|m>>>12)+_|0,g+=(m^_^k)+v[5]-378558|0,g=(g<<4|g>>>28)+m|0,k+=(g^m^_)+v[8]-2022574463|0,k=(k<<11|k>>>21)+g|0,_+=(k^g^m)+v[11]+1839030562|0,_=(_<<16|_>>>16)+k|0,m+=(_^k^g)+v[14]-35309556|0,m=(m<<23|m>>>9)+_|0,g+=(m^_^k)+v[1]-1530992060|0,g=(g<<4|g>>>28)+m|0,k+=(g^m^_)+v[4]+1272893353|0,k=(k<<11|k>>>21)+g|0,_+=(k^g^m)+v[7]-155497632|0,_=(_<<16|_>>>16)+k|0,m+=(_^k^g)+v[10]-1094730640|0,m=(m<<23|m>>>9)+_|0,g+=(m^_^k)+v[13]+681279174|0,g=(g<<4|g>>>28)+m|0,k+=(g^m^_)+v[0]-358537222|0,k=(k<<11|k>>>21)+g|0,_+=(k^g^m)+v[3]-722521979|0,_=(_<<16|_>>>16)+k|0,m+=(_^k^g)+v[6]+76029189|0,m=(m<<23|m>>>9)+_|0,g+=(m^_^k)+v[9]-640364487|0,g=(g<<4|g>>>28)+m|0,k+=(g^m^_)+v[12]-421815835|0,k=(k<<11|k>>>21)+g|0,_+=(k^g^m)+v[15]+530742520|0,_=(_<<16|_>>>16)+k|0,m+=(_^k^g)+v[2]-995338651|0,m=(m<<23|m>>>9)+_|0,g+=(_^(m|~k))+v[0]-198630844|0,g=(g<<6|g>>>26)+m|0,k+=(m^(g|~_))+v[7]+1126891415|0,k=(k<<10|k>>>22)+g|0,_+=(g^(k|~m))+v[14]-1416354905|0,_=(_<<15|_>>>17)+k|0,m+=(k^(_|~g))+v[5]-57434055|0,m=(m<<21|m>>>11)+_|0,g+=(_^(m|~k))+v[12]+1700485571|0,g=(g<<6|g>>>26)+m|0,k+=(m^(g|~_))+v[3]-1894986606|0,k=(k<<10|k>>>22)+g|0,_+=(g^(k|~m))+v[10]-1051523|0,_=(_<<15|_>>>17)+k|0,m+=(k^(_|~g))+v[1]-2054922799|0,m=(m<<21|m>>>11)+_|0,g+=(_^(m|~k))+v[8]+1873313359|0,g=(g<<6|g>>>26)+m|0,k+=(m^(g|~_))+v[15]-30611744|0,k=(k<<10|k>>>22)+g|0,_+=(g^(k|~m))+v[6]-1560198380|0,_=(_<<15|_>>>17)+k|0,m+=(k^(_|~g))+v[13]+1309151649|0,m=(m<<21|m>>>11)+_|0,g+=(_^(m|~k))+v[4]-145523070|0,g=(g<<6|g>>>26)+m|0,k+=(m^(g|~_))+v[11]-1120210379|0,k=(k<<10|k>>>22)+g|0,_+=(g^(k|~m))+v[2]+718787259|0,_=(_<<15|_>>>17)+k|0,m+=(k^(_|~g))+v[9]-343485551|0,m=(m<<21|m>>>11)+_|0,x[0]=g+x[0]|0,x[1]=m+x[1]|0,x[2]=_+x[2]|0,x[3]=k+x[3]|0}function n(x){var v=[],g;for(g=0;g<64;g+=4)v[g>>2]=x.charCodeAt(g)+(x.charCodeAt(g+1)<<8)+(x.charCodeAt(g+2)<<16)+(x.charCodeAt(g+3)<<24);return v}function a(x){var v=[],g;for(g=0;g<64;g+=4)v[g>>2]=x[g]+(x[g+1]<<8)+(x[g+2]<<16)+(x[g+3]<<24);return v}function i(x){var v=x.length,g=[1732584193,-271733879,-1732584194,271733878],m,_,k,Z,ot,I;for(m=64;m<=v;m+=64)r(g,n(x.substring(m-64,m)));for(x=x.substring(m-64),_=x.length,k=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],m=0;m<_;m+=1)k[m>>2]|=x.charCodeAt(m)<<(m%4<<3);if(k[m>>2]|=128<<(m%4<<3),m>55)for(r(g,k),m=0;m<16;m+=1)k[m]=0;return Z=v*8,Z=Z.toString(16).match(/(.*?)(.{0,8})$/),ot=parseInt(Z[2],16),I=parseInt(Z[1],16)||0,k[14]=ot,k[15]=I,r(g,k),g}function l(x){var v=x.length,g=[1732584193,-271733879,-1732584194,271733878],m,_,k,Z,ot,I;for(m=64;m<=v;m+=64)r(g,a(x.subarray(m-64,m)));for(x=m-64<v?x.subarray(m-64):new Uint8Array(0),_=x.length,k=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],m=0;m<_;m+=1)k[m>>2]|=x[m]<<(m%4<<3);if(k[m>>2]|=128<<(m%4<<3),m>55)for(r(g,k),m=0;m<16;m+=1)k[m]=0;return Z=v*8,Z=Z.toString(16).match(/(.*?)(.{0,8})$/),ot=parseInt(Z[2],16),I=parseInt(Z[1],16)||0,k[14]=ot,k[15]=I,r(g,k),g}function c(x){var v="",g;for(g=0;g<4;g+=1)v+=o[x>>g*8+4&15]+o[x>>g*8&15];return v}function u(x){var v;for(v=0;v<x.length;v+=1)x[v]=c(x[v]);return x.join("")}u(i("hello")),typeof ArrayBuffer<"u"&&!ArrayBuffer.prototype.slice&&function(){function x(v,g){return v=v|0||0,v<0?Math.max(v+g,0):Math.min(v,g)}ArrayBuffer.prototype.slice=function(v,g){var m=this.byteLength,_=x(v,m),k=m,Z,ot,I,$;return g!==e&&(k=x(g,m)),_>k?new ArrayBuffer(0):(Z=k-_,ot=new ArrayBuffer(Z),I=new Uint8Array(ot),$=new Uint8Array(this,_,Z),I.set($),ot)}}();function d(x){return/[\u0080-\uFFFF]/.test(x)&&(x=unescape(encodeURIComponent(x))),x}function h(x,v){var g=x.length,m=new ArrayBuffer(g),_=new Uint8Array(m),k;for(k=0;k<g;k+=1)_[k]=x.charCodeAt(k);return v?_:m}function p(x){return String.fromCharCode.apply(null,new Uint8Array(x))}function f(x,v,g){var m=new Uint8Array(x.byteLength+v.byteLength);return m.set(new Uint8Array(x)),m.set(new Uint8Array(v),x.byteLength),g?m:m.buffer}function b(x){var v=[],g=x.length,m;for(m=0;m<g-1;m+=2)v.push(parseInt(x.substr(m,2),16));return String.fromCharCode.apply(String,v)}function w(){this.reset()}return w.prototype.append=function(x){return this.appendBinary(d(x)),this},w.prototype.appendBinary=function(x){this._buff+=x,this._length+=x.length;var v=this._buff.length,g;for(g=64;g<=v;g+=64)r(this._hash,n(this._buff.substring(g-64,g)));return this._buff=this._buff.substring(g-64),this},w.prototype.end=function(x){var v=this._buff,g=v.length,m,_=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],k;for(m=0;m<g;m+=1)_[m>>2]|=v.charCodeAt(m)<<(m%4<<3);return this._finish(_,g),k=u(this._hash),x&&(k=b(k)),this.reset(),k},w.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},w.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},w.prototype.setState=function(x){return this._buff=x.buff,this._length=x.length,this._hash=x.hash,this},w.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},w.prototype._finish=function(x,v){var g=v,m,_,k;if(x[g>>2]|=128<<(g%4<<3),g>55)for(r(this._hash,x),g=0;g<16;g+=1)x[g]=0;m=this._length*8,m=m.toString(16).match(/(.*?)(.{0,8})$/),_=parseInt(m[2],16),k=parseInt(m[1],16)||0,x[14]=_,x[15]=k,r(this._hash,x)},w.hash=function(x,v){return w.hashBinary(d(x),v)},w.hashBinary=function(x,v){var g=i(x),m=u(g);return v?b(m):m},w.ArrayBuffer=function(){this.reset()},w.ArrayBuffer.prototype.append=function(x){var v=f(this._buff.buffer,x,!0),g=v.length,m;for(this._length+=x.byteLength,m=64;m<=g;m+=64)r(this._hash,a(v.subarray(m-64,m)));return this._buff=m-64<g?new Uint8Array(v.buffer.slice(m-64)):new Uint8Array(0),this},w.ArrayBuffer.prototype.end=function(x){var v=this._buff,g=v.length,m=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],_,k;for(_=0;_<g;_+=1)m[_>>2]|=v[_]<<(_%4<<3);return this._finish(m,g),k=u(this._hash),x&&(k=b(k)),this.reset(),k},w.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},w.ArrayBuffer.prototype.getState=function(){var x=w.prototype.getState.call(this);return x.buff=p(x.buff),x},w.ArrayBuffer.prototype.setState=function(x){return x.buff=h(x.buff,!0),w.prototype.setState.call(this,x)},w.ArrayBuffer.prototype.destroy=w.prototype.destroy,w.ArrayBuffer.prototype._finish=w.prototype._finish,w.ArrayBuffer.hash=function(x,v){var g=l(new Uint8Array(x)),m=u(g);return v?b(m):m},w})})(Wg);const md=s=>new XMLSerializer().serializeToString(s),Zg=(s,t=$u.SVG,e=yn.utf8)=>Lu(md(s),t,e),ws=(s,t,e)=>{const o=async r=>{await e(r)};return s.addEventListener(t,o,!1),()=>{s.removeEventListener(t,o,!1)}};function On(){const s=new gr;return{on:(t,e)=>{s.on(t,e)},off:(t,e)=>{s.off(t,e)},emit:(t,...e)=>{s.emit(t,...e)}}}const Ut=On();let gd="";new MutationObserver((s,t)=>{location.href!==gd&&(gd=location.href,Ut.emit("urlchange",location.href))}).observe(document,{attributes:!0,childList:!0,subtree:!0}),ws(window,"hashchange",()=>{Ut.emit("hashchange",location.hash)}),ws(window,"popstate",s=>{Ut.emit("popstate",s.state)}),ws(window,"orientationchange"in window?"orientationchange":"resize",s=>{const t=s.target.innerWidth,e=s.target.innerHeight;Ut.emit("windowresize",t,e)});let yd=!1;ws(window,"load",()=>{Ut.emit("load"),yd=!0}),ws(window,"beforeunload",s=>{Ut.emit("beforeunload",s)}),ws(window,"pagehide",s=>{Ut.emit("pagehide",s)}),ws(window,"focus",s=>{Ut.emit("focus",s)}),ws(window,"blur",s=>{Ut.emit("blur",s)}),ws(window,"visibilitychange",s=>{document.hidden?Ut.emit("windowhidden",s):Ut.emit("windowvisible",s)});const qg={getSelectedText:()=>window.getSelection()?.toString()||"",isTabInView:()=>!document.hidden,onurlchange:s=>(Ut.on("urlchange",s),()=>{Ut.off("urlchange",s)}),onhashchange:s=>(Ut.on("hashchange",s),()=>{Ut.off("hashchange",s)}),onpopstate:s=>(Ut.on("popstate",s),()=>{Ut.off("popstate",s)}),pushstate:(s,t=null)=>{history.pushState(t,"",s)},replacestate:(s,t=null)=>{history.replaceState(t,"",s)},onwindowresize:s=>(Ut.on("windowresize",s),()=>{Ut.off("windowresize",s)}),onload:s=>{const t=B0(s);return Ut.on("load",t),yd&&t(),()=>{Ut.off("load",t)}},onbeforeunload:s=>(Ut.on("beforeunload",s),()=>{Ut.off("beforeunload",s)}),onpagehide:s=>(Ut.on("pagehide",s),()=>{Ut.off("pagehide",s)}),onfocus:s=>(Ut.on("focus",s),()=>{Ut.off("focus",s)}),onblur:s=>(Ut.on("blur",s),()=>{Ut.off("blur",s)}),onwindowvisible:s=>(Ut.on("windowvisible",s),()=>{Ut.off("windowvisible",s)}),onwindowhidden:s=>(Ut.on("windowhidden",s),()=>{Ut.off("windowhidden",s)})},Qg=()=>{const s=navigator.userAgent.toLowerCase();let t="Unknown";return/iphone|ipad|ipod/i.test(s)?t="iOS":/android/i.test(s)?t="Android":/BlackBerry/i.test(s)?t="BlackBerry":/mac/i.test(s)?t="macOS":/win/i.test(s)?t="Windows":/linux/i.test(s)?t="Linux":/bsd/i.test(s)&&(t="BSD"),t.toLowerCase()};function Kg(s=navigator.userAgent){let t="Unknown";if(/iPhone|iPad|iPod/i.test(s)){const e=s.match(/OS (\d+_\d+)/i);e&&(t=e[1].replace("_","."))}else if(/Android/i.test(s)){const e=s.match(/Android (\d+\.\d+)/i);e&&(t=e[1])}else if(/Mac OS X/i.test(s)){const e=s.match(/Mac OS X (\d+_\d+)/i);e&&(t=e[1].replace("_","."))}else if(/Windows NT/i.test(s)){const e=s.match(/Windows NT (\d+\.\d+)/i);e&&(t=e[1])}return t.toLowerCase()}function Jg(s,t){const e=s.split("."),o=t.split(".");for(let r=0,n=e.length;r<n;r++){if(o.length==r)return 1;if(e[r]!=o[r])return e[r]>o[r]?1:-1}return e.length!=o.length?-1:0}function ty(){return Qg()==="ios"}function ey(){const s=window.navigator.userAgent,t=s.indexOf("MSIE ");if(t>0)return parseInt(s.substring(t+5,s.indexOf(".",t)),10);if(s.indexOf("Trident/")>0){const r=s.indexOf("rv:");return parseInt(s.substring(r+3,s.indexOf(".",r)),10)}const o=s.indexOf("Edge/");return o>0?parseInt(s.substring(o+5,s.indexOf(".",o)),10):-1}const ki=ey()!==-1;(()=>{const s=ku();return!!(s.Worker&&s.Blob&&s.Promise&&s.OffscreenCanvas&&s.OffscreenCanvasRenderingContext2D&&s.HTMLCanvasElement&&s.HTMLCanvasElement.prototype.transferControlToOffscreen&&s.URL&&s.URL.createObjectURL)})(),function(){if(!ku().OffscreenCanvas)return!1;const t=new OffscreenCanvas(1,1),e=t.getContext("2d");e.fillRect(0,0,1,1);const o=t.transferToImageBitmap();try{e.createPattern(o,"no-repeat")}catch{return!1}return!0}(),function(){if(!window.requestAnimationFrame){let s=pe();window.requestAnimationFrame=function(t){const e=pe(),o=Math.max(0,16-(e-s)),r=window.setTimeout(function(){t(e+o)},o);return s=e+o,r}}window.cancelAnimationFrame||(window.cancelAnimationFrame=function(s){clearTimeout(s)})}();const ce=s=>{let t=!1;return window.requestAnimationFrame(function e(o){!t&&s(o)&&window.requestAnimationFrame(e)}),()=>{t=!0}};function Ci(s,t=0){if(t==0)return s(pe()),()=>{};{const e=pe();return ce(o=>o-e>=t?(s(o),!1):!0)}}function sy(s,t=0){let e=!1,o=0;const r=pe(),n=a=>{if(e)return;o++;const i=a-r-o*t;s(a,o,t<=i),Ci(n,Math.max(0,t-i))};return Ci(n,t),()=>{e=!0}}function oy(s,t=20){const e=1e3/t;let o=0,r;return()=>(pe()-o>=e&&(o=pe(),r=s()),r)}const Rn=new ii;let Ti=!1;function vd(s,t,e){if(s&&t&&Rn.set(s,t),Ti)return;Ti=!0;const o=pe();ny(r=>{for(Ti=!1;(r.timeRemaining()>0||e&&pe()-o>=e)&&Rn.length>0;){const n=Rn.shift();n&&n[1]()}Rn.length>0&&vd()})}let In=0,bo=33,Ks=33,Si;const bd=new MessageChannel,ry=bd.port2;bd.port1.onmessage=s=>{Si!==null&&Si({didTimeout:In<=pe(),timeRemaining:()=>Math.max(0,In-pe())})};function ny(s){return Si=s,requestAnimationFrame(t=>{let e=t-In+Ks;e<Ks&&bo<Ks?(e<8&&(e=8),Ks=e<bo?bo:e):e>Ks&&bo>Ks?Ks=e<bo?bo:e:bo=e,In=t+Ks,ry.postMessage(null)})}class wr{static _nextId=0;static nextId(){return wr._nextId++}}const dt={Linear:{None:function(s){return s}},Ease:{In:function(s){return Math.pow(s,1.7)}},Quadratic:{In:function(s){return s*s},Out:function(s){return s*(2-s)},InOut:function(s){return(s*=2)<1?.5*s*s:-.5*(--s*(s-2)-1)}},Cubic:{In:function(s){return s*s*s},Out:function(s){return--s*s*s+1},InOut:function(s){return(s*=2)<1?.5*s*s*s:.5*((s-=2)*s*s+2)}},Quartic:{In:function(s){return s*s*s*s},Out:function(s){return 1- --s*s*s*s},InOut:function(s){return(s*=2)<1?.5*s*s*s*s:-.5*((s-=2)*s*s*s-2)}},Quintic:{In:function(s){return s*s*s*s*s},Out:function(s){return--s*s*s*s*s+1},InOut:function(s){return(s*=2)<1?.5*s*s*s*s*s:.5*((s-=2)*s*s*s*s+2)}},Sinusoidal:{In:function(s){return 1-Math.sin((1-s)*Math.PI/2)},Out:function(s){return Math.sin(s*Math.PI/2)},InOut:function(s){return .5*(1-Math.sin(Math.PI*(.5-s)))}},Exponential:{In:function(s){return s===0?0:Math.pow(1024,s-1)},Out:function(s){return s===1?1:1-Math.pow(2,-10*s)},InOut:function(s){return s===0?0:s===1?1:(s*=2)<1?.5*Math.pow(1024,s-1):.5*(-Math.pow(2,-10*(s-1))+2)}},Circular:{In:function(s){return 1-Math.sqrt(1-s*s)},Out:function(s){return Math.sqrt(1- --s*s)},InOut:function(s){return(s*=2)<1?-.5*(Math.sqrt(1-s*s)-1):.5*(Math.sqrt(1-(s-=2)*s)+1)}},Elastic:{In:function(s){return s===0?0:s===1?1:-Math.pow(2,10*(s-1))*Math.sin((s-1.1)*5*Math.PI)},Out:function(s){return s===0?0:s===1?1:Math.pow(2,-10*s)*Math.sin((s-.1)*5*Math.PI)+1},InOut:function(s){return s===0?0:s===1?1:(s*=2,s<1?-.5*Math.pow(2,10*(s-1))*Math.sin((s-1.1)*5*Math.PI):.5*Math.pow(2,-10*(s-1))*Math.sin((s-1.1)*5*Math.PI)+1)}},Back:{In:function(s){return s===1?1:s*s*((1.70158+1)*s-1.70158)},Out:function(s){return s===0?0:--s*s*((1.70158+1)*s+1.70158)+1},InOut:function(s){const t=2.5949095;return(s*=2)<1?.5*(s*s*((t+1)*s-t)):.5*((s-=2)*s*((t+1)*s+t)+2)}},Bounce:{In:function(s){return 1-dt.Bounce.Out(1-s)},Out:function(s){return s<1/2.75?7.5625*s*s:s<2/2.75?7.5625*(s-=1.5/2.75)*s+.75:s<2.5/2.75?7.5625*(s-=2.25/2.75)*s+.9375:7.5625*(s-=2.625/2.75)*s+.984375},InOut:function(s){return s<.5?dt.Bounce.In(s*2)*.5:dt.Bounce.Out(s*2-1)*.5+.5}},generatePow:function(s=4){return s=s<Number.EPSILON?Number.EPSILON:s,s=s>1e4?1e4:s,{In:function(t){return t**s},Out:function(t){return 1-(1-t)**s},InOut:function(t){return t<.5?(t*2)**s/2:(1-(2-t*2)**s)/2+.5}}},random:function(s){return Math.random()},createStep:function(s){return function(t){return Math.floor(t*s)/s}},createNoisyEasing:function(s,t=.1){const e=1-t;return function(o){return t*Math.random()+e*s(o)}},swing:function(s){return s+Math.sin(s*Math.PI*2)/2},causeSeizures:function(s){return s+.2*Math.random()-.1}},Ei=dt;function ay(s){switch(s){case dt.Quadratic.In:return dt.Quadratic.Out;case dt.Quadratic.Out:return dt.Quadratic.In;case dt.Quadratic.InOut:return dt.Quadratic.InOut;case dt.Cubic.In:return dt.Cubic.Out;case dt.Cubic.Out:return dt.Cubic.In;case dt.Cubic.InOut:return dt.Cubic.InOut;case dt.Quartic.In:return dt.Quartic.Out;case dt.Quartic.Out:return dt.Quartic.In;case dt.Quartic.InOut:return dt.Quartic.InOut;case dt.Quintic.In:return dt.Quintic.Out;case dt.Quintic.Out:return dt.Quintic.In;case dt.Quintic.InOut:return dt.Quintic.InOut;case dt.Sinusoidal.In:return dt.Sinusoidal.Out;case dt.Sinusoidal.Out:return dt.Sinusoidal.In;case dt.Sinusoidal.InOut:return dt.Sinusoidal.InOut;case dt.Exponential.In:return dt.Exponential.Out;case dt.Exponential.Out:return dt.Exponential.In;case dt.Exponential.InOut:return dt.Exponential.InOut;case dt.Circular.In:return dt.Circular.Out;case dt.Circular.Out:return dt.Circular.In;case dt.Circular.InOut:return dt.Circular.InOut;case dt.Elastic.In:return dt.Elastic.Out;case dt.Elastic.Out:return dt.Elastic.In;case dt.Elastic.InOut:return dt.Elastic.InOut;case dt.Back.In:return dt.Back.Out;case dt.Back.Out:return dt.Back.In;case dt.Back.InOut:return dt.Back.InOut;case dt.Bounce.In:return dt.Bounce.Out;case dt.Bounce.Out:return dt.Bounce.In;case dt.Bounce.InOut:return dt.Bounce.InOut;default:return s}}const Ao={Utils:{Linear:function(s,t,e){return(t-s)*e+s},Factorial:function(){const s=[1];return function(t){let e=1;if(s[t])return s[t];for(let o=t;o>1;o--)e*=o;return s[t]=e,e}}(),Bernstein:function(s,t){const e=Ao.Utils.Factorial;return e(s)/e(t)/e(s-t)},CatmullRom:function(s,t,e,o,r){const n=(e-s)*.5,a=(o-t)*.5,i=r*r,l=r*i;return(2*t-2*e+n+a)*l+(-3*t+3*e-2*n-a)*i+n*r+t},QuadraticBezier:(s,t,e,o)=>{const r=1-o;return r*r*s+2*r*o*t+o*o*e},CubicBezier:(s,t,e,o,r)=>{const n=1-r;return n*n*n*s+3*n*n*r*t+3*n*r*r*e+r*r*r*o}},Linear:function(s,t){const e=s.length-1,o=e*t,r=Math.floor(o),n=Ao.Utils.Linear;return t<0?n(s[0],s[1],o):t>1?n(s[e],s[e-1],e-o):n(s[r],s[r+1>e?e:r+1],o-r)},Bezier:function(s,t){let e=0;const o=s.length-1,r=Math.pow,n=Ao.Utils.Bernstein;for(let a=0;a<=o;a++)e+=r(1-t,o-a)*r(t,a)*s[a]*n(o,a);return e},CatmullRom:function(s,t){const e=s.length-1;let o=e*t,r=Math.floor(o);const n=Ao.Utils.CatmullRom;return s[0]===s[e]?(t<0&&(r=Math.floor(o=e*(1+t))),n(s[(r-1+e)%e],s[r],s[(r+1)%e],s[(r+2)%e],o-r)):t<0?s[0]-(n(s[0],s[0],s[1],s[1],-o)-s[0]):t>1?s[e]-(n(s[e],s[e],s[e-1],s[e-1],o-e)-s[e]):n(s[r?r-1:0],s[r],s[e<r+1?e:r+1],s[e<r+2?e:r+2],o-r)}},Pi=Ao;class _d{_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=pe(),e=!1){const o=Object.keys(this._tweens);for(let r=0;r<o.length;r++){const n=this._tweens[o[r]],a=!e;n&&n.update(t,a)===!1&&!e&&delete this._tweens[o[r]]}return!!Object.keys(this._tweens).length}}const os=new _d;class xd{constructor(t,e=os){this._object=t,this._group=e}_id=wr.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=Ei.Linear.None;_interpolationFunction=Pi.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=pe()){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,o,r){for(const n in o){const a=t[n],i=Array.isArray(a),l=i?"array":typeof a,c=!i&&Array.isArray(o[n]);if(!(l==="undefined"||l==="function")){if(c){let u=o[n];if(u.length===0)continue;u=u.map(this._handleRelativeValue.bind(this,a)),o[n]=[a].concat(u)}if((l==="object"||i)&&a&&!c){e[n]=i?[]:{};for(const u in a)e[n][u]=a[u];r[n]=i?[]:{},this._setupProperties(a,e[n],o[n],r[n])}else typeof e[n]>"u"&&(e[n]=a),i||(e[n]*=1),c?r[n]=o[n].slice().reverse():r[n]=e[n]||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=pe()){return this._isPaused||!this._isPlaying?this:(this._isPaused=!0,this._pauseStartTime=t,this._group&&this._group.remove(this),this)}resume(t=pe()){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=os){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=Ei.Linear.None){return this._easingFunction=t,this}interpolation(t=Pi.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=pe(),e=!0){if(this._isPaused)return!0;let o,r;const n=this._startTime+this._durationTime;if(!this._goToEnd&&!this._isPlaying){if(t>n)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),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(o in this._valuesStartRepeat)!this._yoyo&&typeof this._valuesEnd[o]=="string"&&(this._valuesStartRepeat[o]=this._valuesStartRepeat[o]+parseFloat(this._valuesEnd[o])),this._yoyo&&this._swapEndStartRepeatValues(o),this._valuesStart[o]=this._valuesStartRepeat[o];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,o,r){for(const n in o){if(e[n]===void 0)continue;const a=e[n]||0;let i=o[n];const l=Array.isArray(t[n]),c=Array.isArray(i);!l&&c?t[n]=this._interpolationFunction(i,r):typeof i=="object"&&i?this._updateProperties(t[n],a,i,r):(i=this._handleRelativeValue(a,i),typeof i=="number"&&(t[n]=a+(i-a)*r))}}_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],o=this._valuesEnd[t];typeof o=="string"?this._valuesStartRepeat[t]=this._valuesStartRepeat[t]+parseFloat(o):this._valuesStartRepeat[t]=o,this._valuesEnd[t]=e}}const iy=xd,ly=wr.nextId,cy=os.getAll.bind(os),uy=os.removeAll.bind(os),dy=os.add.bind(os),fy=os.remove.bind(os),hy=os.update.bind(os),wt={now:pe,Sequence:wr,Easing:Ei,Interpolation:Pi,Group:_d,Tween:iy,nextId:ly,getAll:cy,removeAll:uy,add:dy,remove:fy,update:hy};class py{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=pe(),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=pe();t=e-this.oldTime,this.oldTime=e,this.elapsedTime+=t}return t}}const wd=py;class Fe{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){U0(this.tweens,(e,o)=>t?e.delay>o.delay:e.delay<=o.delay)}cloneTweens(t=this.tweens){const e=[];return t.forEach(o=>{const r={...o};delete r.tween,r.fromValues={...r.fromValues},r.toValues={...r.toValues},e.push(r)}),e}addTween(t,e,o){const r={fromValues:t,toValues:e,frames:typeof o?.frames=="number"?o.frames:1,delay:typeof o?.delay=="number"?o.delay:this.tweens.length,easeFunction:o?.easeFunction||dt.Linear.None,interpolationFunction:o?.interpolationFunction||Ao.Linear,repeat:typeof o?.repeat=="number"?o.repeat:0,yoyo:o?.yoyo||!1,onStart:o?.onStart||(()=>{}),onUpdate:o?.onUpdate||(()=>{}),onComplete:o?.onComplete||(()=>{})};return this.tweens.push(r),this}cancelRequestAnimationCycle=()=>{};runTweens(t){this.cancelRequestAnimationCycle();const e=new wd,o=this.frameDuration;return new Promise(r=>{this.onGroupStart?.(),this.cancelRequestAnimationCycle=ce(n=>{if(!this.isPaused){const i=Math.max(0,n-this.pausedDuration),l=Math.max(0,e.getElapsedTime()-this.pausedDuration);t.filter(c=>c.delay*o<=l).forEach(c=>{c.tween||(c.tween=new xd({...c.fromValues}).to({...c.toValues},c.frames*o).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))*o>l?c.tween.update(i):(c.tween.isPlaying()&&c.tween.end(),P0(t,c))})}const a=!!t.length;return a||(this.onGroupComplete?.(),r()),a})})}isPaused=!1;pausedClock=new wd;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(o=>{e=Math.max(e,o.delay+o.frames),o.easeFunction=ay(o.easeFunction);const r={...o.toValues};o.toValues={...o.fromValues},o.fromValues={...r}}),t.forEach(o=>{o.delay=e-o.frames}),this.play(t)}pause(){this.pausedClock.start(),this.isPaused=!0}resume(){this.pausedDuration+=this.pausedClock.getElapsedTime(),this.pausedClock.stop(),this.isPaused=!1}}const Fn=new ii,my=(s=!0)=>{Fn.filter((t,e)=>(e.alternate&&(sf(e,e.alternate),s&&Fn.set(t,e.alternate),e.alternate=void 0),s))};function kd(s){let t=Fn.get(s);return t||(t=Zi(s),Fn.set(s,t)),t}function gy(s){const t=kd(s);return t.alternate||(t.alternate=Zi(s)),t.alternate}function Cd(s,t,e=!0){t(gy(s)),vd("FLUSH_DOM_ACTION",()=>my(e),50)}function Bt(s){return s*Math.PI/180}function Ge(s){return s*180/Math.PI}function Oi(s,t,e=0){return Math.sqrt(s*s+t*t+e*e)}function Ri(s,t,e,o){return Oi(e-s,o-t)}function Ii(s,t,e,o){const r=e-s,n=o-t;return r*r+n*n}function Mo(s,t,e,o){let r=Math.atan2(o-t,e-s);return r<0&&(r+=Math.PI*2),r}function Vs(s,t){return{dx:Math.cos(s)*t,dy:Math.sin(s)*t}}const Td=yy("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 yy(s,t=10){const e={},o=s.split(",");for(let r=0;r<o.length;r+=2){const n="&"+o[r+1]+";",a=parseInt(o[r],t);e[n]="&#"+a+";"}return e["\\xa0"]="&#160;",e}function Me(s,t){const e=Object.keys(t);for(let o=0;o<e.length;o++)s=s.replace(new RegExp("{"+e[o]+"}","gi"),""+t[e[o]]);return s}function Dn(s){let t,e;if(!s)throw new Error("cannot create a random attribute name for an undefined object");const o="ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz";t="";do for(t="",e=0;e<12;e++)t+=o[Math.floor(Math.random()*o.length)];while(s[t]);return t}function vy(s){const t={left:"start",right:"end",center:"middle",start:"start",end:"end"};return t[s]||t.start}function by(s){const t={alphabetic:"alphabetic",hanging:"hanging",top:"text-before-edge",bottom:"text-after-edge",middle:"central"};return t[s]||t.alphabetic}const kr={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 Fi{__root;__ctx;constructor(t,e){this.__root=t,this.__ctx=e}addColorStop(t,e){const o=this.__ctx.__createElement("stop");if(o.setAttribute("offset",""+t),e.indexOf("rgba")!==-1){const n=/rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d?\.?\d*)\s*\)/gi.exec(e);n&&(o.setAttribute("stop-color",Me("rgb({r},{g},{b})",{r:n[1],g:n[2],b:n[3]})),o.setAttribute("stop-opacity",n[4]))}else o.setAttribute("stop-color",e);this.__root.appendChild(o)}}class Sd{__root;__ctx;constructor(t,e){this.__root=t,this.__ctx=e}}class $n{__document=document;__canvas;__ctx;width;height;__styleStack;__groupStack;__rootSVG;__ids;__SVGdefs;__currentElement;__currentElementsToStyle=null;constructor({canvas:t,width:e=500,height:o=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=o),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(kr);for(let e=0,o=t.length;e<o;e++){const r=t[e];this[r]=kr[r].canvas}}__getStyleState(){const t={},e=Object.keys(kr);for(let o=0,r=e.length;o<r;o++){const n=e[o];t[n]=this[n]}return t}__applyStyleState(t){const e=Object.keys(t);for(let o=0,r=e.length;o<r;o++){const n=e[o];this[n]=t[n]}}__createElement(t,e={},o=!1){const r=this.__document.createElementNS("http://www.w3.org/2000/svg",t),n=Object.keys(e);o&&(r.setAttribute("fill","none"),r.setAttribute("stroke","none"));for(let a=0;a<n.length;a++){const i=n[a];r.setAttribute(i,e[i])}return r}__applyStyleToCurrentElement(t){let e=this.__currentElement;const o=this.__currentElementsToStyle;o&&(e.setAttribute(t,""),e=o.element,o.children.forEach(n=>{n.setAttribute(t,"")}));const r=Object.keys(kr);for(let n=0;n<r.length;n++){const a=kr[r[n]],i=this[r[n]];if(a.apply){if(i instanceof Sd){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,Me("url(#{id})",{id:i.__root.getAttribute("id")}))}else if(i instanceof Fi)e.setAttribute(a.apply,Me("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,Me("rgb({r},{g},{b})",{r:c[1],g:c[2],b:c[3]}));let u=parseFloat(c[4]);const d=this.globalAlpha;d!=null&&(u*=d),e.setAttribute(a.svgAttr+"-opacity",""+u)}}else{let l=a.svgAttr;if(r[n]==="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 r=Object.keys(Td);for(let n=0,a=r.length;n<a;n++){const i=r[n],l=Td[i],c=new RegExp(i,"gi");c.test(e)&&(e=e.replace(c,l))}}return e}getSvg(){return this.__rootSVG}save(){const t=this.__createElement("g"),e=this.__closestGroupOrSvg();this.__groupStack.push(e),e.appendChild(t),this.__currentElement=t,this.__styleStack.push(this.__getStyleState())}restore(){this.__currentElementsToStyle=null;const t=this.__groupStack.pop();t?this.__currentElement=t:this.__currentElement=this.__rootSVG.childNodes[1];const e=this.__styleStack.pop();e&&this.__applyStyleState(e)}__addTransform(t){const e=this.__closestGroupOrSvg();if(e.childNodes.length>0){this.__currentElement.nodeName==="path"&&(this.__currentElementsToStyle||(this.__currentElementsToStyle={element:e,children:[]}),this.__currentElementsToStyle.children.push(this.__currentElement),this.__applyCurrentDefaultPath());const r=this.__createElement("g");e.appendChild(r),this.__currentElement=r}let o=this.__currentElement.getAttribute("transform");o?o+=" ":o="",o+=t,this.__currentElement.setAttribute("transform",o)}scale(t,e){e===void 0&&(e=t),this.__addTransform(Me("scale({x},{y})",{x:t,y:e}))}rotate(t){const e=t*180/Math.PI;this.__addTransform(Me("rotate({angle},{cx},{cy})",{angle:e,cx:0,cy:0}))}translate(t,e){this.__addTransform(Me("translate({x},{y})",{x:t,y:e}))}transform(t,e,o,r,n,a){this.__addTransform(Me("matrix({a},{b},{c},{d},{e},{f})",{a:t,b:e,c:o,d:r,e:n,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(Me("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(Me("L {x} {y}",this.__currentPosition)):this.__addPathCommand(Me("M {x} {y}",this.__currentPosition))}bezierCurveTo(t,e,o,r,n,a){this.__currentPosition={x:n,y:a},this.__addPathCommand(Me("C {cp1x} {cp1y} {cp2x} {cp2y} {x} {y}",{cp1x:t,cp1y:e,cp2x:o,cp2y:r,x:n,y:a}))}quadraticCurveTo(t,e,o,r){this.__currentPosition={x:o,y:r},this.__addPathCommand(Me("Q {cpx} {cpy} {x} {y}",{cpx:t,cpy:e,x:o,y:r}))}normalize(t){const e=Math.sqrt(t[0]*t[0]+t[1]*t[1]);return[t[0]/e,t[1]/e]}arcTo(t,e,o,r,n){const a=this.__currentPosition&&this.__currentPosition.x,i=this.__currentPosition&&this.__currentPosition.y;if(typeof a>"u"||typeof i>"u")return;if(n<0)throw new Error("IndexSizeError: The radius provided ("+n+") is negative.");if(a===t&&i===e||t===o&&e===r||n===0){this.lineTo(t,e);return}const l=this.normalize([a-t,i-e]),c=this.normalize([o-t,r-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],d=Math.acos(Math.abs(u)),h=this.normalize([l[0]+c[0],l[1]+c[1]]),p=n/Math.sin(d/2),f=t+p*h[0],b=e+p*h[1],w=[-l[1],l[0]],x=[c[1],-c[0]],v=function(_){const k=_[0];return _[1]>=0?Math.acos(k):-Math.acos(k)},g=v(w),m=v(x);this.lineTo(f+w[0]*n,b+w[1]*n),this.arc(f,b,n,g,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,e,o,r){this.__currentElement.nodeName!=="path"&&this.beginPath(),this.moveTo(t,e),this.lineTo(t+o,e),this.lineTo(t+o,e+r),this.lineTo(t,e+r),this.lineTo(t,e),this.closePath()}fillRect(t,e,o,r){const n=this.__createElement("rect",{x:t,y:e,width:o,height:r},!0);this.__closestGroupOrSvg().appendChild(n),this.__currentElement=n,this.__applyStyleToCurrentElement("fill")}strokeRect(t,e,o,r){const n=this.__createElement("rect",{x:t,y:e,width:o,height:r},!0);this.__closestGroupOrSvg().appendChild(n),this.__currentElement=n,this.__applyStyleToCurrentElement("stroke")}__clearCanvas(){const e=this.__closestGroupOrSvg().getAttribute("transform"),o=this.__rootSVG.childNodes[1],r=o.childNodes;for(let n=r.length-1;n>=0;n--)r[n]&&o.removeChild(r[n]);this.__currentElement=o,this.__groupStack=[],e&&this.__addTransform(e)}clearRect(t,e,o,r){if(t===0&&e===0&&o===this.width&&r===this.height){this.__clearCanvas();return}const n=this.__closestGroupOrSvg(),a=this.__createElement("rect",{x:t,y:e,width:o,height:r,fill:"#FFFFFF"},!0);n.appendChild(a)}createLinearGradient(t,e,o,r){const n=this.__createElement("linearGradient",{id:Dn(this.__ids),x1:t+"px",x2:o+"px",y1:e+"px",y2:r+"px",gradientUnits:"userSpaceOnUse"},!1);return this.__SVGdefs.appendChild(n),new Fi(n,this)}createRadialGradient(t,e,o,r,n,a){const i=this.__createElement("radialGradient",{id:Dn(this.__ids),cx:r+"px",cy:n+"px",r:a+"px",fx:t+"px",fy:e+"px",gradientUnits:"userSpaceOnUse"},!1);return this.__SVGdefs.appendChild(i),new Fi(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),o={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"&&(o.decoration="underline"),this.__fontHref&&(o.href=this.__fontHref),o}__wrapTextLink(t,e){if(t.href){const o=this.__createElement("a");return o.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",t.href),o.appendChild(e),o}return e}__applyText(t,e,o,r){const n=this.__parseFont(),a=this.__closestGroupOrSvg(),i=this.__createElement("text",{"font-family":n.family,"font-size":n.size,"font-style":n.style,"font-weight":n.weight,"text-decoration":n.decoration,x:e,y:o,"text-anchor":vy(this.textAlign),"dominant-baseline":by(this.textBaseline)},!0);i.appendChild(this.__document.createTextNode(t)),this.__currentElement=i,this.__applyStyleToCurrentElement(r),a.appendChild(this.__wrapTextLink(n,i))}fillText(t,e,o){this.__applyText(t,e,o,"fill")}strokeText(t,e,o){this.__applyText(t,e,o,"stroke")}measureText(t){return this.__ctx.font=this.font,this.__ctx.measureText(t)}arc(t,e,o,r,n,a){if(r===n)return;r=r%(2*Math.PI),n=n%(2*Math.PI),r===n&&(n=(n+2*Math.PI-.001*(a?-1:1))%(2*Math.PI));const i=t+o*Math.cos(n),l=e+o*Math.sin(n),c=t+o*Math.cos(r),u=e+o*Math.sin(r),d=a?0:1;let h=0,p=n-r;p<0&&(p+=2*Math.PI),a?h=p>Math.PI?0:1:h=p>Math.PI?1:0,this.lineTo(c,u),this.__addPathCommand(Me("A {rx} {ry} {xAxisRotation} {largeArcFlag} {sweepFlag} {endX} {endY}",{rx:o,ry:o,xAxisRotation:0,largeArcFlag:h,sweepFlag:d,endX:i,endY:l})),this.__currentPosition={x:i,y:l}}clip(){const t=this.__closestGroupOrSvg(),e=this.__createElement("clipPath"),o=Dn(this.__ids),r=this.__createElement("g");this.__applyCurrentDefaultPath(),t.removeChild(this.__currentElement),e.setAttribute("id",o),e.appendChild(this.__currentElement),this.__SVGdefs.appendChild(e),t.setAttribute("clip-path",Me("url(#{id})",{id:o})),t.appendChild(r),this.__currentElement=r}drawImage(...t){let e=t[0],o,r,n,a,i=0,l=0,c,u,d,h,p,f,b,w;if(t.length===3)o=t[1],r=t[2],c=e.width,u=e.height,n=c,a=u;else if(t.length===5)o=t[1],r=t[2],n=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],o=t[5],r=t[6],n=t[7],a=t[8];else throw new Error("Invalid number of arguments passed to drawImage: "+arguments.length);const x=this.__closestGroupOrSvg();this.__currentElement;const v="translate("+o+", "+r+")";if(e instanceof $n){if(d=e.getSvg().cloneNode(!0),d.childNodes&&d.childNodes.length>1){for(h=d.childNodes[0];h.childNodes.length;)w=h.childNodes[0].getAttribute("id"),this.__ids[w]=w,this.__SVGdefs.appendChild(h.childNodes[0]);if(p=d.childNodes[1],p){const g=p.getAttribute("transform");let m;g?m=g+" "+v:m=v,p.setAttribute("transform",m),x.appendChild(p)}}}else(e.nodeName==="CANVAS"||e.nodeName==="IMG")&&(f=this.__createElement("image"),f.setAttribute("width",n),f.setAttribute("height",a),f.setAttribute("preserveAspectRatio","none"),(i||l||c!==e.width||u!==e.height)&&(b=this.__document.createElement("canvas"),b.width=n,b.height=a,b.getContext("2d")?.drawImage(e,i,l,c,u,0,0,n,a),e=b),f.setAttribute("transform",v),f.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",e.nodeName==="CANVAS"?e.toDataURL():e.getAttribute("src")),x.appendChild(f))}createPattern(t,e){const o=this.__document.createElementNS("http://www.w3.org/2000/svg","pattern"),r=Dn(this.__ids);let n;return o.setAttribute("id",r),t.nodeName==="CANVAS"||t.nodeName==="IMG"?(n=this.__document.createElementNS("http://www.w3.org/2000/svg","image"),n.setAttribute("width",""+t.width),n.setAttribute("height",""+t.height),n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",t.nodeName==="CANVAS"?t.toDataURL():t.getAttribute("src")),o.appendChild(n),this.__SVGdefs.appendChild(o)):t instanceof $n&&(o.setAttribute("width",""+t.width),o.setAttribute("height",""+t.height),o.appendChild(t.__rootSVG.childNodes[1]),this.__SVGdefs.appendChild(o)),new Sd(o,this)}setLineDash(t){t&&t.length>0?this.lineDash=t.join(","):this.lineDash=null}drawFocusRing(){}createImageData(){}getImageData(){}putImageData(){}globalCompositeOperation(){}setTransform(){}}class Di{canvas;context;customContext;currentPath2D=new Path2D;path2Ds=[];currentMatrix=new DOMMatrix;hasSetCustomStrokeStyle=!1;hasSetCustomFillStyle=!1;constructor(t,e,o,r=!1){this.canvas=t,this.context=t.getContext("2d",{willReadFrequently:!0}),r&&(this.customContext=new $n({canvas:this.canvas,width:e||this.canvas.width,height:o||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,o,r){return this.context.fillRect(t,e,o,r),this.customContext&&this.customContext.fillRect(t,e,o,r),this}fillText(t,e,o,r){return this.hasSetCustomFillStyle=!1,this.context.fillText(t,e,o,r),this.customContext&&this.customContext.fillText(t,e,o),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,o,r){return this.context.strokeText(t,e,o,r),this.customContext&&this.customContext.strokeText(t,e,o),this}strokeRect(t,e,o,r){return this.context.strokeRect(t,e,o,r),this.customContext&&this.customContext.strokeRect(t,e,o,r),this}measureText(t){return this.context.measureText(t)}clearRect(t=0,e=0,o=this.canvas.width,r=this.canvas.height){return this.context.clearRect(t,e,o,r),this.customContext&&this.customContext.clearRect(t,e,o,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,e=this.currentMatrix){const o=new Path2D;o.addPath(t,e),this.currentPath2D=o}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,o=0){return this.translate(e,o),this.context.rotate(t),this.customContext&&this.customContext.rotate(t),this.currentMatrix.rotate(t),this.translate(-e,-o),this.changePath2D(),this}scale(t,e=t,o=0,r=0){return this.translate(o,r),this.context.scale(t,e),this.customContext&&this.customContext.scale(t,e),this.currentMatrix.scale(t,e),this.translate(-o,-r),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,o,r,n,a){return this.context.arc(t,e,o,r,n,a),this.customContext&&this.customContext.arc(t,e,o,r,n,a?-1:1),this.currentPath2D.arc(t,e,o,r,n,a),this}arcTo(t,e,o,r,n){return this.context.arcTo(t,e,o,r,n),this.customContext&&this.customContext.arcTo(t,e,o,r,n),this.currentPath2D.arcTo(t,e,o,r,n),this}ellipse(t,e,o,r,n,a,i,l){return this.context.ellipse(t,e,o,r,n,a,i,l),this.currentPath2D.ellipse(t,e,o,r,n,a,i,l),this}quadraticCurveTo(t,e,o,r){return this.context.quadraticCurveTo(t,e,o,r),this.customContext&&this.customContext.quadraticCurveTo(t,e,o,r),this.currentPath2D.quadraticCurveTo(t,e,o,r),this}bezierCurveTo(t,e,o,r,n,a){return this.context.bezierCurveTo(t,e,o,r,n,a),this.customContext&&this.customContext.bezierCurveTo(t,e,o,r,n,a),this.currentPath2D.bezierCurveTo(t,e,o,r,n,a),this}rect(t,e,o,r){return this.context.rect(t,e,o,r),this.customContext&&this.customContext.rect(t,e,o,r),this.currentPath2D.rect(t,e,o,r),this}createLinearGradient(t,e,o,r,n){const a=this.context.createLinearGradient(t,e,o,r);return n&&Object.entries(n).forEach(([i,l])=>{a.addColorStop(parseFloat(i),l)}),a}createRadialGradient(t,e,o,r,n,a,i){const l=this.context.createRadialGradient(t,e,o,r,n,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 o=e[0],r=e[1];this.context.drawImage(t,o,r)}else if(e.length===4){const o=e[0],r=e[1],n=e[2],a=e[3];this.context.drawImage(t,o,r,n,a)}else if(e.length===8){const o=e[0],r=e[1],n=e[2],a=e[3],i=e[4],l=e[5],c=e[6],u=e[7];this.context.drawImage(t,o,r,n,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,o=this.canvas.width,r=this.canvas.height,n){return this.context.getImageData(t,e,o,r,n)}putImageData(t,e=0,o=0){return this.context.putImageData(t,e,o)}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}}}class Ln{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=Mo(this.x,this.y,this.toX,this.toY);if(t===0){const e=Math.min(this.x,this.toX),o=Math.min(this.y,this.toY),r=Math.max(this.x,this.toX),n=Math.max(this.y,this.toY);return{x:e,y:o,width:r-e,height:n-o}}else{const e=Math.sin(t),o=Math.cos(t),r=o*this.x-e*this.y,n=o*this.toX-e*this.toY,a=o*this.y+e*this.x,i=o*this.toY+e*this.toX;return{x:Math.min(r,n),y:Math.min(a,i),width:Math.max(r,n)-Math.min(r,n),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,o=this.y,r=t.toX,n=t.toY,a=this.toX-e,i=t.x-r;if(!a&&!i)return null;const l=(this.toY-o)/a,c=(t.y-n)/i;if(a){if(!i)return{x:r,y:l*(r-e)+o}}else return{x:e,y:c*(e-r)+n};const u=(-c*r+n+l*e-o)/(l-c),d=l*(u-e)+o;return isNaN(u)||isNaN(d)?null:{x:u,y:d}}}const Ed=Ln;class $i extends Ln{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,o,r,n,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,o,r,n,a,i,l,!this.sweepFlag)}convert(t,e,o,r,n,a,i,l,c){const u=i/180*Math.PI,d=(t-o)/2,h=(e-r)/2,p=Math.cos(u)*d+Math.sin(u)*h,f=-Math.sin(u)*d+Math.cos(u)*h,b=p*p/(n*n)+f*f/(a*a);if(b>1){const M=Math.sqrt(b);throw n=M*n,a=M*a,new Error(`Radii are too small to build an arc. Correcting them to ${n}/${a}.`)}const w=Math.sqrt((n*n*a*a-n*n*f*f-a*a*p*p)/(n*n*f*f+a*a*p*p)),x=l!=c?1:-1,v=x*w*n*f/a,g=x*w*-a*p/n,m=(t+o)/2,_=(e+r)/2,k=Math.cos(u)*v-Math.sin(u)*g+m,Z=Math.sin(u)*v+Math.cos(u)*g+_,ot=(M,D,N,X)=>(M*X>=D*N?1:-1)*Math.acos((M*N+D*X)/(Math.sqrt(M*M+D*D)*Math.sqrt(N*N+X*X))),I=ot(1,0,t-k,e-Z)-u,$=ot(t-k,e-Z,o-k,r-Z);return[k,Z,n,a,u,I,I+$]}}const _y=$i;class xy extends Ln{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,o=this.cy*2-(this.y+this.toY)/2;t.quadraticCurveTo(e,o,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 o,r,n,a;for(let c=0;c<2;++c)o=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,n=c==0?this.x:this.y,Math.abs(o)>1e-12&&(a=-r/(2*o),0<a&&a<1&&[t,e][c].push(o*a*a+r*a+n));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 wy=xy;class _o extends Ln{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),o=this.x-this.c1x,r=(-e+Math.sqrt(e*e-4*t*o))/2/t,n=(-e-Math.sqrt(e*e-4*t*o))/2/t;const a=[this.y,this.toY],i=[this.x,this.toX];let l;const c=[];Math.abs(r)>1e12&&(r=.5),Math.abs(n)>1e12&&(n=.5),r>=0&&r<=1&&(l=this.interpolate(r),i.push(l.x),a.push(l.y),c.push({X:l.x,Y:l.y})),n>=0&&n<=1&&(l=this.interpolate(n),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),o=this.y-this.c1y,r=(-e+Math.sqrt(e*e-4*t*o))/2/t,n=(-e-Math.sqrt(e*e-4*t*o))/2/t,Math.abs(r)>1e12&&(r=.5),Math.abs(n)>1e12&&(n=.5),r>=0&&r<=1&&(l=this.interpolate(r),i.push(l.x),a.push(l.y),c.push({X:l.x,Y:l.y})),n>=0&&n<=1&&(l=this.interpolate(n),i.push(l.x),a.push(l.y),c.push({X:l.x,Y:l.y}));let u=[],d=c.length;for(let f=0;f<d;f++){for(let b=f+1;b<d;b++)c[f].X===c[b].X&&c[f].Y===c[b].Y&&(b=++f);u.push({X:c[f].X,Y:c[f].Y})}const h={x:Math.min.apply(Math,i),y:Math.min.apply(Math,a)},p={x:Math.max.apply(Math,i),y:Math.max.apply(Math,a)};return{x:h.x,y:h.y,width:p.x-h.x,height:p.y-h.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,o,r,n){const a=-3*e+9*o-9*r+3*n,i=t*a+6*e-12*o+6*r;return t*i-3*e+3*o}static bezlen(t,e,o,r,n,a,i,l,c=1){c=Math.max(0,Math.min(c,1));const u=c/2,d=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],h=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472];let p=0;for(let f=0;f<12;f++){const b=u*d[f]+u,w=this.base3(b,t,o,n,i),x=this.base3(b,e,r,a,l);p+=h[f]*Math.sqrt(w*w+x*x)}return u*p}length(t=1){return _o.bezlen(this.x,this.y,this.c1x,this.c1y,this.c2x,this.c2y,this.toX,this.toY,t)}getTatLen(t){const e=this.x,o=this.y,r=this.c1x,n=this.c1y,a=this.c2x,i=this.c2y,l=this.toX,c=this.toY;if(t<0||_o.bezlen(e,o,r,n,a,i,l,c)<t)return 0;let u=1,d=u/2,h=u-d,p=_o.bezlen(e,o,r,n,a,i,l,c,h);for(;Math.abs(p-t)>.01;)d/=2,h+=(p<t?1:-1)*d,p=_o.bezlen(e,o,r,n,a,i,l,c,h);return h}getPointAtSegmentLength(t){const e=this.getTatLen(t);let o=1-e,r=Math.pow(o,3),n=Math.pow(o,2),a=e*e,i=a*e,l=r*this.x+n*3*e*this.c1x+o*3*e*e*this.c2x+i*this.toX,c=r*this.y+n*3*e*this.c1y+o*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),d=this.y+2*e*(this.c1y-this.y)+a*(this.c2y-2*this.c1y+this.y),h=this.c1x+2*e*(this.c2x-this.c1x)+a*(this.toX-2*this.c2x+this.c1x),p=this.c1y+2*e*(this.c2y-this.c1y)+a*(this.toY-2*this.c2y+this.c1y),f=o*this.x+e*this.c1x,b=o*this.y+e*this.c1y,w=o*this.c2x+e*this.toX,x=o*this.c2y+e*this.toY,v=90-Math.atan2(u-h,d-p)*180/Math.PI;return{x:l,y:c,m:{x:u,y:d},n:{x:h,y:p},start:{x:f,y:b},end:{x:w,y:x},alpha:v}}}const Js=_o,Cr=Math.PI*2;function Pd(s,t,e,o){const r=s*o-t*e<0?-1:1;let n=s*e+t*o;return n>1&&(n=1),n<-1&&(n=-1),r*Math.acos(n)}function ky(s,t,e,o,r,n,a,i,l,c){const u=c*(s-e)/2+l*(t-o)/2,d=-l*(s-e)/2+c*(t-o)/2,h=a*a,p=i*i,f=u*u,b=d*d;let w=h*p-h*b-p*f;w<0&&(w=0),w/=h*b+p*f,w=Math.sqrt(w)*(r===n?-1:1);const x=w*a/i*d,v=w*-i/a*u,g=c*x-l*v+(s+e)/2,m=l*x+c*v+(t+o)/2,_=(u-x)/a,k=(d-v)/i,Z=(-u-x)/a,ot=(-d-v)/i,I=Pd(1,0,_,k);let $=Pd(_,k,Z,ot);return n===0&&$>0&&($-=Cr),n===1&&$<0&&($+=Cr),[g,m,I,$]}function Cy(s,t){const e=1.3333333333333333*Math.tan(t/4),o=Math.cos(s),r=Math.sin(s),n=Math.cos(s+t),a=Math.sin(s+t);return[o,r,o-r*e,r+o*e,n+a*e,a-n*e,n,a]}function Od(s,t,e,o,r,n,a,i,l){const c=Math.sin(l*Cr/360),u=Math.cos(l*Cr/360),d=u*(s-e)/2+c*(t-o)/2,h=-c*(s-e)/2+u*(t-o)/2;if(d===0&&h===0)return[];if(a===0||i===0)return[];a=Math.abs(a),i=Math.abs(i);const p=d*d/(a*a)+h*h/(i*i);p>1&&(a*=Math.sqrt(p),i*=Math.sqrt(p));const f=ky(s,t,e,o,r,n,a,i,c,u),b=[];let w=f[2],x=f[3];const v=Math.max(Math.ceil(Math.abs(x)/(Cr/4)),1);x/=v;for(let g=0;g<v;g++)b.push(Cy(w,x)),w+=x;return b.map(g=>{for(let m=0;m<g.length;m+=2){let _=g[m+0],k=g[m+1];_*=a,k*=i;const Z=u*_-c*k,ot=c*_+u*k;g[m+0]=Z+f[0],g[m+1]=ot+f[1]}return g})}function Li(s,t,e,o,r,n){return[s/3+.6666666666666666*e,t/3+.6666666666666666*o,r/3+.6666666666666666*e,n/3+.6666666666666666*o,r,n]}function Tr(s,t,e,o){return[s,t,e,o,e,o]}const An={a:7,c:6,s:4,q:4,t:2,m:2,l:2,h:1,v:1,z:0};class me{static createSVGElement(t="path",e){const o=document.createElementNS.call(document,"http://www.w3.org/2000/svg",t);return e&&Bo(o,e),o}static createSvgPath(t,e){return this.createSVGElement("path",{d:t,id:e||$o()})}static downloadFromSVGElement(t,e="shape"){return Qd(Zg(t),`${e}.svg`)}static downloadFromSVGString(t,e="shape"){return Qd(Lu(t),`${e}.svg`)}static getSVGRawStringFromElement(t){return md(t)}static isSVGPath(t){return typeof t!="string"?!1:(t=t.trim(),/^[mlhvzaqtcs]\s*[-+.0-9][^mlhvzaqtcs]+/i.test(t)&&/[\dz]$/i.test(t))}static SVGPathDataToD(t){return t.map(e=>{if(!e[0])return"";switch(e[0].toLowerCase()){case"a":return`${e[0]} ${e[1]},${e[2]} ${e[3]} ${e[4]},${e[5]} ${e[6]},${e[7]}`;case"c":return`${e[0]} ${e[1]},${e[2]} ${e[3]},${e[4]} ${e[5]},${e[6]}`;case"s":case"q":return`${e[0]} ${e[1]},${e[2]} ${e[3]},${e[4]}`;default:return e[0]+" "+e.slice(1).join(",")}}).join(" ")}static parseSVGPath(t){const e=[];return me.isSVGPath(t)&&t.replace(/([mlhvzaqtcs])([^mlhvzaqtcs]*)/gi,(o,r,n)=>{let a=r.toLowerCase();const i=ei(n);for(a=="m"&&i.length>An[a]&&(e.push([r,...i.splice(0,An[a])]),a="l",r=r=="m"?"l":"L");i.length;){if(i.length<An[a])throw new Error(`parseSVGPath substring:{ ${o} } command:{ ${r} } args:{ ${i} }`);e.push([r,...i.splice(0,An[a])])}return a=="z"&&e.push([r]),""}),e}static absolutizeSVGPath(t){let e=0,o=0,r=0,n=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]+=r,a[7]+=n;break;case"v":a[1]+=n;break;case"h":a[1]+=r;break;default:for(let c=1;c<a.length;)a[c++]+=r,a[c++]+=n}switch(l){case"Z":r=e,n=o;break;case"H":r=a[1];break;case"V":n=a[1];break;case"M":r=e=a[1],n=o=a[2];break;default:r=a[a.length-2],n=a[a.length-1]}return a})}static relativeSVGPath(t){let e=0,o=0,r=0,n=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]-=r,a[7]-=n;break;case"V":a[1]-=n;break;case"H":a[1]-=r;break;default:for(let c=1;c<a.length;)a[c++]-=r,a[c++]-=n}switch(l){case"z":r=e,n=o;break;case"h":r+=a[1];break;case"v":n+=a[1];break;case"m":r+=a[1],n+=a[2],e+=a[1],o+=a[2];break;default:r+=a[a.length-2],n+=a[a.length-1]}return a})}static normalizeSVGPath(t){const e=[];let o=0,r=0,n=0,a=0,i=0,l=0,c=0,u=0,d;for(let h=0,p=t.length;h<p;h++){let f=t[h];const b=f[0];switch(b){case"M":o=f[1],r=f[2];break;case"A":const w=Od(n,a,f[6],f[7],f[4],f[5],f[1],f[2],f[3]);if(!w.length)continue;w.forEach((g,m)=>{const[_,k,Z,ot,I,$,M,D]=g;f=["C",Z,ot,I,$,M,D],m<w.length-1&&e.push(f)});break;case"S":let x=n,v=a;(d=="C"||d=="S")&&(x+=x-c,v+=v-u),f=["C",x,v,f[1],f[2],f[3],f[4]];break;case"T":d=="Q"||d=="T"?(i=n*2-i,l=a*2-l):(i=n,l=a),f=["C",...Li(n,a,i,l,f[1],f[2])];break;case"Q":i=f[1],l=f[2],f=["C",...Li(n,a,f[1],f[2],f[3],f[4])];break;case"L":f=["C",...Tr(n,a,f[1],f[2])];break;case"H":f=["C",...Tr(n,a,f[1],a)];break;case"V":f=["C",...Tr(n,a,n,f[1])];break;case"Z":f=["C",...Tr(n,a,o,r)];break}d=b,n=f[f.length-2],a=f[f.length-1],f.length>4?(c=f[f.length-4],u=f[f.length-3]):(c=n,u=a),e.push(f)}return e}static catmullRom2bezier(t){const e=[];for(let o=0,r=t.length;r-2>o;o+=2){let n;o==0?n=[{x:t[o],y:t[o+1]},{x:t[o],y:t[o+1]},{x:t[o+2],y:t[o+3]},{x:t[o+4],y:t[o+5]}]:r-4==o?n=[{x:t[o-2],y:t[o-1]},{x:t[o],y:t[o+1]},{x:t[o+2],y:t[o+3]},{x:t[o+2],y:t[o+3]}]:n=[{x:t[o-2],y:t[o-1]},{x:t[o],y:t[o+1]},{x:t[o+2],y:t[o+3]},{x:t[o+4],y:t[o+5]}];const a=[{x:n[1].x,y:n[1].y},{x:(-n[0].x+6*n[1].x+n[2].x)/6,y:(-n[0].y+6*n[1].y+n[2].y)/6},{x:(n[1].x+6*n[2].x-n[3].x)/6,y:(n[1].y+6*n[2].y-n[3].y)/6},{x:n[2].x,y:n[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 o=["L",0,0],r;for(let n=0,a=t.length;n<a;n++){const i=t[n];switch(i[0]){case"M":o=["L",i[1],i[2]],e.push(i);break;case"Z":e.push(o);break;case"H":r=e[e.length-1]||["L",0,0],e.push(["L",i[1],r[r.length-1]]);break;case"V":r=e[e.length-1]||["L",0,0],e.push(["L",r[r.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 o,r=0,n=0;for(let a=0,i=t.length;a<i;a++){const l=t[a],c=e[l[0]];c&&(l[0]=c.to,o&&(o[0]===c.to?(r=2*Number(o[c.x+2])-Number(o[c.x]),n=2*Number(o[c.x+3])-Number(o[c.x+1])):(r=Number(o[o.length-2]),n=Number(o[o.length-1]))),l.splice(1,0,r,n)),o=l}return t}}class Ke{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(me.parseSVGPath(t),e):t instanceof Ke?this.resetFromSVGPathData(t.toSVGPathData(),e):this.resetFromSVGPathData(t||[],e)}resetFromSVGPathData(t,e){this.normalizedLines=[];const o=me.normalizeSVGPath(me.absolutizeSVGPath(t));this.prevPathX=this.startPathX=0,this.prevPathY=this.startPathY=0;let r=!1;for(let n=0,a=o.length;n<a;n++){const i=o[n];if(i[0]=="M"){r||(r=!0,this.startPathX=i[1],this.startPathY=i[2]),this.prevPathX=i[1],this.prevPathY=i[2];continue}this.appendLine(new Js({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(n=>{({x:n.x,y:n.y}=e.transformPoint({x:n.x,y:n.y})),{x:n.c1x,y:n.c1y}=e.transformPoint({x:n.c1x,y:n.c1y}),{x:n.c2x,y:n.c2y}=e.transformPoint({x:n.c2x,y:n.c2y}),{x:n.toX,y:n.toY}=e.transformPoint({x:n.toX,y:n.toY})}))}static fromPolymorphPoints(t){const e=new Ke;e.prevPathX=e.startPathX=t[0]||0,e.prevPathY=e.startPathY=t[1]||0;for(let o=2,r=t.length;o+5<r;o+=6)e.appendLine(new Js({c1x:t[o],c1y:t[o+1],c2x:t[o+2],c2y:t[o+3],toX:t[o+4],toY:t[o+5]}));return e}static fromLines(t){const e=new Ke;e.prevPathX=e.startPathX=t[0].x||0,e.prevPathY=e.startPathY=t[0].y||0;for(let o=0,r=t.length;o<r;o++)e.appendLine(t[o]);return e}appendLine(t){if(t instanceof _y){Od(this.prevPathX,this.prevPathY,t.toX,t.toY,t.largeArcFlag,t.sweepFlag,t.rx,t.ry,t.xAxisRotate).forEach(c=>{const[u,d,h,p,f,b,w,x]=c;this.normalizedLines.push(new Js({x:this.prevPathX,y:this.prevPathY,c1x:h,c1y:p,c2x:f,c2y:b,toX:w,toY:x})),this.prevPathX=w,this.prevPathY=x});return}let e,o,r,n,a,i;t instanceof Js?(e=t.c1x,o=t.c1y,r=t.c2x,n=t.c2y,a=t.toX,i=t.toY):t instanceof wy?[e,o,r,n,a,i]=Li(this.prevPathX,this.prevPathY,t.cx,t.cy,t.toX,t.toY):[e,o,r,n,a,i]=Tr(this.prevPathX,this.prevPathY,t.toX,t.toY),this.normalizedLines.push(new Js({x:this.prevPathX,y:this.prevPathY,c1x:e,c1y:o,c2x:r,c2y:n,toX:a,toY:i})),this.prevPathX=a,this.prevPathY=i}toSVGPathData(){const{startPathX:t,startPathY:e,normalizedLines:o}=this.updateTransform(),r=[];r.push(["M",t,e]);for(let n=0,a=o.length;n<a;n++)r.push(...o[n].toSVGPathData());return r}toSVGPathD(){return me.SVGPathDataToD(this.toSVGPathData())}toCanvasContext(t){const{startPathX:e,startPathY:o,normalizedLines:r}=this.updateTransform();t.beginPath(),t.moveTo(e,o),r.forEach(n=>{n.toCanvasContext(t)})}getBoundingClientRect(){const{normalizedLines:t}=this.updateTransform(),e=[],o=[];if(t.forEach(l=>{const c=l.getBoundingClientRect();e.push(c.x,c.x+c.width),o.push(c.y,c.y+c.height)}),e.length==0||o.length==0)return{x:0,y:0,width:0,height:0};const r=Math.min.apply(0,e),n=Math.min.apply(0,o),a=Math.max.apply(0,e),i=Math.max.apply(0,o);return{x:r,y:n,width:a-r,height:i-n}}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,o=this.startPathY;({x:e,y:o}=t.transformPoint({x:e,y:o}));const r=[];return this.normalizedLines.forEach(n=>{let a=n.x,i=n.y,l=n.c1x,c=n.c1y,u=n.c2x,d=n.c2y,h=n.toX,p=n.toY;({x:a,y:i}=t.transformPoint({x:a,y:i})),{x:l,y:c}=t.transformPoint({x:l,y:c}),{x:u,y:d}=t.transformPoint({x:u,y:d}),{x:h,y:p}=t.transformPoint({x:h,y:p}),r.push(new Js({x:a,y:i,c1x:l,c1y:c,c2x:u,c2y:d,toX:h,toY:p}))}),{startPathX:e,startPathY:o,normalizedLines:r}}}getTotalLength(){const{normalizedLines:t}=this.updateTransform();return t.reduce((e,o)=>e+=o.length(),0)}getPointAtLength(t){const{normalizedLines:e}=this.updateTransform();let o=0;const r=e.length;for(let n=0;n<r;n++){const a=e[n],i=a.length();if(o+i>=t)return a.getPointAtSegmentLength(t-o);o+=i}return e[r-1].getPointAtSegmentLength(1)}interpolate(t){const{startPathX:e,startPathY:o,normalizedLines:r}=this.updateTransform(),n=r.length;if(n===0)return{x:e,y:o};if(n===1)return r[0].interpolate(t);{let a=t*n,i=r[0];if(a--,a>1)for(let l=1;l<n&&(i=r[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 o=this.getSubpathsAtLength(this,e,1);return t?this.getSubpathsAtLength(o,t):o}}getSubpathsAtLength(t,e,o){const{startPathX:r,startPathY:n,normalizedLines:a}=t.updateTransform();let i=null,l=0;const c=new Ke;c.prevPathX=c.startPathX=r,c.prevPathY=c.startPathY=n;for(let u=0,d=a.length;u<d;u++){const h=a[u],p=h.length();if(l+p>e&&!i){const f=h.getPointAtSegmentLength(e-l);if(c.appendLine(new Js({c1x:f.start.x,c1y:f.start.y,c2x:f.m.x,c2y:f.m.y,toX:f.x,toY:f.y})),o)return c;i=c,c.appendLine(new Js({c1x:f.n.x,c1y:f.n.y,c2x:f.end.x,c2y:f.end.y,toX:h.x,toY:h.y})),l+=p;continue}l+=p,c.appendLine(h)}return c}closestPoint(t,e){const o=this.getTotalLength();let r={x:t,y:e},n=0,a=1/0,i=8;for(let c=0;c<=o;c+=i){let u=this.getPointAtLength(c),d=Ii(u.x,u.y,t,e);d<a&&(r=u,n=c,a=d)}for(i/=2;i>.5;){let c=n-i,u=this.getPointAtLength(c),d=Ii(u.x,u.y,t,e),h=n+i,p=this.getPointAtLength(h),f=Ii(p.x,p.y,t,e);c>=0&&d<a?(r=u,n=c,a=d):h<=o&&f<a?(r=p,n=h,a=f):i/=2}const l=this.getPointAtLength(n+(n===o?-.1:.1));return{point:r,rotation:n>=o?Mo(l.x,l.y,r.x,r.y):Mo(r.x,r.y,l.x,l.y),distance:Math.sqrt(a)}}get polymorphPoints(){const{startPathX:t,startPathY:e,normalizedLines:o}=this.updateTransform();return[t,e].concat(o.reduce((r,n)=>r.concat([n.c1x,n.c1y,n.c2x,n.c2y,n.toX,n.toY]),[]))}perimeterPoints(){const t=this.polymorphPoints,e=t.length;let o=t[e-2],r=t[e-1],n=0;for(let a=0;a<e;a+=6)n+=Ri(t[a],t[a+1],o,r),o=t[a],r=t[a+1];return Math.floor(n)}expendFill(t){const e=this.polymorphPoints,o=e.length;let r=t-o;const n=Math.ceil(t/o),a=[];a.push(["M",e[0],e[1]]);let i=2;for(;i+5<=o-1;){const l=e[i++],c=e[i++],u=e[i++],d=e[i++],h=e[i++],p=e[i++];a.push(["C",l,c,u,d,h,p]);let f=0;for(;f<n&&r>0;)a.push(["C",h,p,h,p,h,p]),r-=6,f++}return a}static mixPoints(t,e,o){const r=t.length,n=new Array(r);for(let a=0;a<r;a++)n[a]=Te(t[a]+(e[a]-t[a])*o,6);return n}static getPathInterpolator(t,e){return o=>Math.abs(o-0)<Number.EPSILON?t:Math.abs(o-1)<Number.EPSILON?e:Ke.fromPolymorphPoints(Ke.mixPoints(new Ke({d:t}).polymorphPoints,new Ke({d:e}).polymorphPoints,o)).toSVGPathData()}}class ne extends gr{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=$o(),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 o=this.getAttr("stroke-dasharray","4 4");this.setAttr("stroke-dasharray",o),this.strokeDashTotalLength=ei(o).reduce((r,n)=>r+n,0)}return G0(this)}forceSetCXY(t,e){this.cX=t,this.cY=e,this.forceCXY=!0}shapeInit(){}initPathD(){if(!this.pathd){if(this.pathd=new Ke,ni(()=>{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(o=>{const r=o.originMatrix?o.originMatrix.clone():new Je;r.translate(-t.x+o.x,-t.y+o.y),o.originMatrix=r});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,o){if(o instanceof Di)return o.isPointInPath(new Path2D(this.toSVGPathD()),t,e);let r;try{r=new SVGPoint(t,e)}catch{r=o.createSVGPoint(),r.x=t,r.y=e}if(this.el instanceof SVGGeometryElement)return this.el.isPointInFill(r);{const n=this.getBoundingClientRect();if(n)return t>=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height}return!1}isPointInStroke(t,e,o){if(o instanceof Di)return o.isPointInStroke(new Path2D(this.toSVGPathD()),t,e);let r;try{r=new SVGPoint(t,e)}catch{r=o.createSVGPoint(),r.x=t,r.y=e}return this.el instanceof SVGGeometryElement?this.el.isPointInStroke(r):!1}clone(){return E0(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(([o,r])=>[cs(o),r]))):e&&(this.attrs[cs(t)]=e)}getAttr(t,e){return this.attrs[t]||this.attrs[cs(t)]||e}getAttrs(){return this.attrs}hasAttr(t){return!!this.attrs[t]||!!this.attrs[cs(t)]}distance(t){return Ri(this.x,this.y,t.x,t.y)}rotateTo(t){this.degree=Ge(Mo(this.x,this.y,t.x,t.y))}followTo(t,e=3){this.rotateTo(t);const{dx:o,dy:r}=Vs(Bt(this.degree),e);this.vx=o,this.vy=r,this.run()}followAccelerationTo(t,e=.05){this.rotateTo(t);const{dx:o,dy:r}=Vs(Bt(this.degree),e);this.ax=o,this.ay=r,this.run()}checkCollision(t){}checkWall(t){}gravitateTo(t){const e=t.x-this.x,o=t.y-this.y,r=e*e+o*o,n=Math.sqrt(r),a=this.mass*t.mass/r,i=a*e/n,l=a*o/n;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=Qs(t?.gravity,0);this.vy+=e;const o=Qs(t?.friction,1);this.vx*=o,this.vy*=o,this.x+=this.vx,this.y+=this.vy}runEaseTo(t,e){const o=Qs(e?.easing,.05),r=t.x-this.cX-this.x,n=t.y-this.cY-this.y;this.vx=r*o,this.vy=n*o,this.run(e)}runSpringTo(t,e){const o=Qs(e?.spring,.03);(Array.isArray(t)?t:[t]).forEach(r=>{const n=r.x-this.cX-this.x,a=r.y-this.cY-this.y,i=n*o,l=a*o;this.vx+=i,this.vy+=l}),this.run({friction:.9,...e})}springMassTo(t,e){const o=Qs(e?.springLength,100),r=Qs(e?.spring,1e-4),n=t.x-this.x,a=t.y-this.y,i=Math.sqrt(n*n+a*a);if(i<o){const l=n*r,c=a*r;return this.vx+=l/this.mass,this.vy+=c/this.mass,t.vx-=l/t.mass,t.vy-=c/t.mass,1-i/o}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 o=this.getTotalLength();return t.originD=this.initPathD().getSubpath(0,e*o),this.getPointAtLength(e*o)}strokeDashTween(t=1e3,e){const o=this.initPathD(),r=Te(o.getTotalLength(),0);this.setAttr({strokeDasharray:`${r} ${r}`,strokeDashoffset:`${r}`});const n=e?.onUpdate,a=new Fe({frameDuration:t});a.addTween({offset:r},{offset:0},Object.assign(e||{},{onUpdate:(i,l)=>{this.setAttr("strokeDashoffset",""+Te(i.offset,2)),n?.(i,l)}})),a.play()}}class Ty extends ne{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,o){this.cX=t,this.cY=e,this.cZ=o}rotateX(t){({x:this.y,y:this.z}=ks(Bt(t),this.y,this.z))}rotateY(t){({x:this.x,y:this.z}=ks(Bt(t),this.x,this.z))}rotateZ(t){({x:this.x,y:this.y}=ks(Bt(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 Oi(this.x,this.y,this.z)}distance(t){const e=t.x-this.x,o=t.y-this.y,r=t.z-this.z;return Math.sqrt(e*e+o*o+r*r)}scalar(t){return this.x*=t,this.y*=t,this.z*=t,this}normalize(t=1){const e=this.length();if(e){const o=t/e;this.scalar(o)}return this}clamp(t){const e=this.length();return e&&e>t&&this.scalar(t/e),this}cross(t){const e=this.x,o=this.y,r=this.z;return{x:o*t.z-r*t.y,y:r*t.x-e*t.z,z:e*t.y-o*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 Mn=Ty,Rd=[1,0,0,1,0,0],Id=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];class Je{value;_m13=0;_m23=0;_m33=1;matrix3d;constructor(t=Rd){this.value=Array.from(t),this.m13=0,this.m23=0,this.m33=1,this.matrix3d=this.toMatrix3D()}static fromString(t){const e=new Je,o=Tu("number",t);return o.length===6&&o.forEach((r,n)=>{r.fullMatch&&(e.value[n]=parseFloat(r.fullMatch))}),e}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 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 rs(e)}identity(){return this.value=Array.from(Rd),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 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(),o=t instanceof Je?t:new Je(t);return this.m11=o.m11*e.m11+o.m12*e.m21+o.m13*e.m31,this.m12=o.m11*e.m12+o.m12*e.m22+o.m13*e.m32,this.m13=o.m11*e.m13+o.m12*e.m23+o.m13*e.m33,this.m21=o.m21*e.m11+o.m22*e.m21+o.m23*e.m31,this.m22=o.m21*e.m12+o.m22*e.m22+o.m23*e.m32,this.m23=o.m21*e.m13+o.m22*e.m23+o.m23*e.m33,this.m31=o.m31*e.m11+o.m32*e.m21+o.m33*e.m31,this.m32=o.m31*e.m12+o.m32*e.m22+o.m33*e.m32,this.m33=o.m31*e.m13+o.m32*e.m23+o.m33*e.m33,this}append(t){return this.multiply(t)}prepend(t){return t.multiply(this),this}inverse(){const t=this.m11,e=this.m12,o=this.m13,r=this.m21,n=this.m22,a=this.m23,i=this.m31,l=this.m32,c=this.m33,u=c*n-a*l,d=-c*r+a*i,h=l*r-n*i;let p=t*u+e*d+o*h;return p?(p=1/p,this.m11=u*p,this.m12=(-c*e+o*l)*p,this.m13=(a*e-o*n)*p,this.m21=d*p,this.m22=(c*t-o*i)*p,this.m23=(-a*t+o*r)*p,this.m31=h*p,this.m32=(-l*t+e*i)*p,this.m33=(n*t-e*r)*p,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=Ge(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:Ge(Math.atan2(-this.m21,this.m22)),skewY:Ge(Math.atan2(this.m12,this.m11))}}getGroupCoords(t){const e=this.value[0],o=this.value[1],r=this.value[2],n=this.value[3],a=this.value[4],i=this.value[5],l=t.value[0],c=t.value[1],u=t.value[2],d=t.value[3],h=t.value[4],p=t.value[5],f=l*d,b=c*u,w=(u*o-e*d)/(b-f),x=(l*o-e*c)/(f-b),v=(u*n-r*d)/(b-f),g=(l*n-r*c)/(f-b),m=(u*(i-p)+d*(h-a))/(b-f),_=(l*(i-p)+c*(h-a))/(f-b),k=[w,x,v,g,m,_];return new Je(k)}toString(t=6){return this.matrix3d.is2D()?`matrix(${this.value.map(e=>Te(e,t)).join(",")})`:this.matrix3d.toString()}translate(t,e){return this.multiply([1,0,0,1,t,e]),this.toMatrix3D(),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.matrix3d.translate(0,0,t),this.matrix3d.toMatrix(this),this}translateZTo(t){return this.translateZ(t-this.matrix3d.m43),this}translate3d(t,e,o){return this.matrix3d.translate(t,e,o),this.matrix3d.toMatrix(this),this}translate3dTo(t,e,o){return this.translate3d(t-this.matrix3d.m41,e-this.matrix3d.m42,o-this.matrix3d.m43),this}rotate(t,e=0,o=0){const r=Bt(t),n=Math.cos(r),a=Math.sin(r);return this.translate(e,o),this.multiply([n,a,-a,n,0,0]),this.translate(-e,-o),this.toMatrix3D(),this}rotateTo(t,e=0,o=0){const{degree:r}=this.split();return this.rotate(t-r,e,o),this}rotateX(t){return this.matrix3d.rotateX(t),this.matrix3d.toMatrix(this),this}rotateXTo(t){const{degreeX:e}=this.matrix3d.split();return this.rotateX(t-e),this}rotateY(t){return this.matrix3d.rotateY(t),this.matrix3d.toMatrix(this),this}rotateYTo(t){const{degreeY:e}=this.matrix3d.split();return this.rotateY(t-e),this}rotateZ(t){return this.matrix3d.rotateZ(t),this.matrix3d.toMatrix(this),this}rotateZTo(t){const{degreeZ:e}=this.matrix3d.split();return this.rotateZ(t-e),this}rotate3d(t,e,o){return this.matrix3d.rotateX(t).rotateY(e).rotateZ(o),this.matrix3d.toMatrix(this),this}rotate3dTo(t,e,o){const{degreeX:r,degreeY:n,degreeZ:a}=this.matrix3d.split();return this.rotate3d(t-r,e-n,o-a),this}scale(t,e=t,o=0,r=0){return this.translate(o,r),this.multiply([t,0,0,e,0,0]),this.translate(-o,-r),this.toMatrix3D(),this}scaleTo(t,e=t,o=0,r=0){return this.scale(t/this.m11,e/this.m22,o,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:e}=this.matrix3d.split();return this.scaleZ(t/e),this}scale3d(t,e=t,o=t){return this.matrix3d.scale(t,e,o),this.matrix3d.toMatrix(this),this}scale3dTo(t,e=t,o=t){const{scalarX:r,scalarY:n,scalarZ:a}=this.matrix3d.split();return this.scale3d(t/r,e/n,o/a),this}skew(t,e=t){return this.multiply([Math.cos(Bt(e)),Math.sin(Bt(e)),-Math.sin(Bt(t)),Math.cos(Bt(t)),0,0]),this.toMatrix3D(),this}skewTo(t,e=t){const{skewX:o,skewY:r}=this.split();return this.skew(t-o,e-r)}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,o){return this}skew3dTo(t,e,o){return this}perspective(t){return this.matrix3d.perspective(t),this.matrix3d.toMatrix(this),this}}class rs{value;is3dSpecial=!1;constructor(t=Id){this.value=Array.from(t)}static fromString(t){const e=new rs,o=Tu("number",t);return o.length===16&&o.forEach((r,n)=>{r.fullMatch&&(e.value[n]=parseFloat(r.fullMatch))}),e}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(Id),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 rs([...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 e=t.z||1,o=t.w||1;return{x:t.x*this.m11+t.y*this.m21+e*this.m31+o*this.m41,y:t.x*this.m12+t.y*this.m22+e*this.m32+o*this.m42,z:t.x*this.m13+t.y*this.m23+e*this.m33+o*this.m43,w:t.x*this.m14+t.y*this.m24+e*this.m34+o*this.m44}}toMatrix(t){const{scalarX:e,scalarY:o,skewX:r,skewY:n,x:a,y:i}=this.split(),l=[e,n,r,o,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`matrix3d(${this.value.map(e=>Te(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),o=Math.sqrt(this.m31*this.m31+this.m32*this.m32+this.m33*this.m33),r=Ge(le(Math.asin(-this.m13),-1,1));let n=Ge(Math.atan2(this.m23,this.m33));Math.cos(Bt(r))===0&&(n=Ge(Math.atan2(-this.m31,this.m22)));let a=Ge(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:o,degreeX:n,degreeY:r,degreeZ:a,skewX:Ge(this.m14),skewY:Ge(this.m24),skewZ:Ge(this.m34),skewW:this.m44,perspective:this.m34?-(1/this.m34):0}}inverse(){const t=[],e=this.m11,o=this.m12,r=this.m13,n=this.m14,a=this.m21,i=this.m22,l=this.m23,c=this.m24,u=this.m31,d=this.m32,h=this.m33,p=this.m34,f=this.m41,b=this.m42,w=this.m43,x=this.m44;t[0]=l*p*b-c*h*b+c*d*w-i*p*w-l*d*x+i*h*x,t[1]=n*h*b-r*p*b-n*d*w+o*p*w+r*d*x-o*h*x,t[2]=r*c*b-n*l*b+n*i*w-o*c*w-r*i*x+o*l*x,t[3]=n*l*d-r*c*d-n*i*h+o*c*h+r*i*p-o*l*p;const v=e*t[0]+a*t[1]+u*t[2]+f*t[3];if(v==0)return console.warn("Can't invert matrix, determinant is 0");t[4]=c*h*f-l*p*f-c*u*w+a*p*w+l*u*x-a*h*x,t[5]=r*p*f-n*h*f+n*u*w-e*p*w-r*u*x+e*h*x,t[6]=n*l*f-r*c*f-n*a*w+e*c*w+r*a*x-e*l*x,t[7]=r*c*u-n*l*u+n*a*h-e*c*h-r*a*p+e*l*p,t[8]=i*p*f-c*d*f+c*u*b-a*p*b-i*u*x+a*d*x,t[9]=n*d*f-o*p*f-n*u*b+e*p*b+o*u*x-e*d*x,t[10]=o*c*f-n*i*f+n*a*b-e*c*b-o*a*x+e*i*x,t[11]=n*i*u-o*c*u-n*a*d+e*c*d+o*a*p-e*i*p,t[12]=l*d*f-i*h*f-l*u*b+a*h*b+i*u*w-a*d*w,t[13]=o*h*f-r*d*f+r*u*b-e*h*b-o*u*w+e*d*w,t[14]=r*i*f-o*l*f-r*a*b+e*l*b+o*a*w-e*i*w,t[15]=o*l*u-r*i*u+r*a*d-e*l*d-o*a*h+e*i*h,this.value=t,this.scalar(1/v)}multiply(t){const e=this.clone();return this.m11=t.m11*e.m11+t.m12*e.m21+t.m13*e.m31+t.m14*e.m41,this.m12=t.m11*e.m12+t.m12*e.m22+t.m13*e.m32+t.m14*e.m42,this.m13=t.m11*e.m13+t.m12*e.m23+t.m13*e.m33+t.m14*e.m43,this.m14=t.m11*e.m14+t.m12*e.m24+t.m13*e.m34+t.m14*e.m44,this.m21=t.m21*e.m11+t.m22*e.m21+t.m23*e.m31+t.m24*e.m41,this.m22=t.m21*e.m12+t.m22*e.m22+t.m23*e.m32+t.m24*e.m42,this.m23=t.m21*e.m13+t.m22*e.m23+t.m23*e.m33+t.m24*e.m43,this.m24=t.m21*e.m14+t.m22*e.m24+t.m23*e.m34+t.m24*e.m44,this.m31=t.m31*e.m11+t.m32*e.m21+t.m33*e.m31+t.m34*e.m41,this.m32=t.m31*e.m12+t.m32*e.m22+t.m33*e.m32+t.m34*e.m42,this.m33=t.m31*e.m13+t.m32*e.m23+t.m33*e.m33+t.m34*e.m43,this.m34=t.m31*e.m14+t.m32*e.m24+t.m33*e.m34+t.m34*e.m44,this.m41=t.m41*e.m11+t.m42*e.m21+t.m43*e.m31+t.m44*e.m41,this.m42=t.m41*e.m12+t.m42*e.m22+t.m43*e.m32+t.m44*e.m42,this.m43=t.m41*e.m13+t.m42*e.m23+t.m43*e.m33+t.m44*e.m43,this.m44=t.m41*e.m14+t.m42*e.m24+t.m43*e.m34+t.m44*e.m44,this}translate(t=0,e=0,o=0){return this.multiply(new rs([1,0,0,0,0,1,0,0,0,0,1,0,t,e,o,1]))}scale(t=1,e=1,o=1){return this.multiply(new rs([t,0,0,0,0,e,0,0,0,0,o,0,0,0,0,1]))}rotateX(t){const e=Bt(t),o=Math.cos(e),r=Math.sin(e);return this.multiply(new rs([1,0,0,0,0,o,r,0,0,-r,o,0,0,0,0,1]))}rotateY(t){const e=Bt(t),o=Math.cos(e),r=Math.sin(e);return this.multiply(new rs([o,0,-r,0,0,1,0,0,r,0,o,0,0,0,0,1]))}rotateZ(t){this.is3dSpecial=!0;const e=Bt(t),o=Math.cos(e),r=Math.sin(e);return this.multiply(new rs([o,r,0,0,-r,o,0,0,0,0,1,0,0,0,0,1]))}skew(t=0,e=0,o=0){return this.multiply(new rs([1,0,0,Bt(t),0,1,0,Bt(e),0,0,1,Bt(o),0,0,0,1]))}perspective(t){return this.multiply(new rs([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,o=t.x*this.m12+t.y*this.m22+this.m42,r=t.x*this.m13+t.y*this.m23+this.m43,n=t.x*this.m14+t.y*this.m24+this.m44,a=e+this.m31,i=o+this.m32,l=r+this.m33,c=n+this.m34;n==0&&(n=1e-4),e/=n,o/=n,r/=n,c==0&&(c=1e-4),a/=c,i/=c,l/=c;const u=l-r;if(u==0)return{x:e,y:o,z:r,mass:n};const d=-r/u;return e+=d*(a-e),o+=d*(i-o),{x:e,y:o,z:r,mass:n}}project(t){const e=t.z;let o=t.x*this.m11+t.y*this.m21+e*this.m31+this.m41,r=t.x*this.m12+t.y*this.m22+e*this.m32+this.m42,n=t.x*this.m14+t.y*this.m24+e*this.m34+this.m44;return n==0&&(n=1e-4),o/=n,r/=n,n<0&&(o-=this.m41,r-=this.m42,o*=1/n,r*=1/n,o+=this.m41,r+=this.m42),{x:o,y:r,z:e,mass:n}}bounds(t,e,o,r){const n=new Mn({x:t,y:e}),a=new Mn({x:t+o,y:e}),i=new Mn({x:t+o,y:e+r}),l=new Mn({x:t,y:e+r});({x:n.x,y:n.y,z:n.z,mass:n.mass}=this.project(n)),{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(n.x,a.x,i.x,l.x),u=Math.min(n.y,a.y,i.y,l.y),d=Math.max(n.x,a.x,i.x,l.x)-c,h=Math.max(n.y,a.y,i.y,l.y)-u;return{x:c,y:u,width:d,height:h}}}function Fd(s){const t=new Je;return s.replace(/([a-z0-9]+)\s*\(?\s*((-?[0-9]*\.?[0-9]+(?:e[-+]?\d+)*[a-z%]*\s*,?\s*)+)\)?/gi,function(e,o,r){r.indexOf(",")>=0?r=r.split(/\s*,\s*/):r=r.split(/\s+/);const n=[];for(let a=0,i=r.length;a<i;a++)r[a].trim()&&n.push(parseFloat(""+r[a]));switch(o.toLowerCase()){case"t":case"translate":t.translate(n[0],n[1]);break;case"translatex":t.translateX(n[0]);break;case"translatey":t.translateY(n[0]);break;case"translatez":t.translateZ(n[0]);break;case"translate3d":t.translate3d(n[0],n[1],n[2]);break;case"r":case"rotate":t.rotate(n[0],n[1]??0,n[2]??0);break;case"rotatex":t.rotateX(n[0]);break;case"rotatey":t.rotateY(n[0]);break;case"rotatez":t.rotateZ(n[0]);break;case"rotate3d":t.rotate3d(n[0],n[1],n[2]);break;case"s":case"scale":t.scale(n[0],n[1]??n[0]);break;case"scalex":t.scaleX(n[0]);break;case"scaley":t.scaleY(n[0]);break;case"scalez":t.scaleZ(n[0]);break;case"scale3d":t.scale3d(n[0],n[1],n[2]);break;case"skew":t.skew(n[0],n[1]??0);break;case"skewx":t.skewX(n[0]);break;case"skewy":t.skewY(n[0]);break;case"skewz":t.skewZ(n[0]);break;case"skew3d":t.skew3d(n[0],n[1],n[2]);break;case"m":case"matrix":t.multiply([n[0],n[1],n[2],n[3],n[4],n[5]]),t.toMatrix3D();break;case"matrix3d":t.matrix3d.multiply(new rs(n)),t.matrix3d.toMatrix(t);break}return""}),t}function ks(s,t,e){const o=new Je;return o.rotate(Ge(s)),o.transformPoint({x:t,y:e})}function Sr(s,t,e){const o=kd(s);return o.props.style=o.props.style||{},t?o.props.style[t]||o.props.style[Eu(t)]||o.props.style[cs(t)]||"":o.props.style}function Dd(s,t,e){Cd(s,o=>{o.props.style=o.props.style||{},typeof t=="string"&&e?o.props.style[t]=e:t instanceof Object&&Object.keys(t).forEach(r=>{o.props.style[r]=t[r]})},!0)}function $d(s){const t=[];if(getComputedStyle){const e=getComputedStyle(s);for(let o=0,r=e.length;o<r;o++)t.push(e[o]+":"+e.getPropertyValue(e[o]))}else{const e=s.currentStyle;for(const o in e)t.push(o+":"+e[o])}return t.push(...(s.style.cssText||"").split(";")),Object.fromEntries(t.filter(e=>!!e).map(e=>e.split(":").map((o,r)=>r==0?Eu(o).trim():o.trim())))}function Ai(s,t,e){typeof t=="string"&&e?s.style.setProperty(cs(t),e.replace(/!important/i,""),String(e).toLowerCase().includes("!important")?"important":""):t instanceof Object&&Object.keys(t).forEach(o=>{Ai(s,o,t[o])})}function Ld(s,t){typeof t=="string"?s.style.removeProperty(cs(t)):Object.keys(t).forEach(e=>{Ld(s,e)})}function us(s,t){let e;if(typeof t=="string"){const r=document.querySelector(t)?.shadowRoot;r?e=r:e=document.querySelector(t)}else e=t||document.getElementsByTagName("head")[0];const o=document.createElement("style");if(o.innerHTML=s,e)return e.appendChild(o),()=>{(e instanceof HTMLElement||e instanceof ShadowRoot)&&e.removeChild(o)};{const r=document.styleSheets[0].insertRule(s);return()=>{document.styleSheets[0].deleteRule(r)}}}function Sy(s,t,e={}){Object.prototype.hasOwnProperty.call(e,"transform")||Object.assign(e,{transform:Sr(s,"transform")||""});const o=Fd(e.transform),r={};for(const n in t){const a=t[n];switch(n){case"transform":break;case"translate":o.translate(a[0]||0,a[1]||0);break;case"translateTo":o.translateTo(a[0]||0,a[1]||0);break;case"translateX":o.translateX(a||0);break;case"translateXTo":o.translateXTo(a||0);break;case"translateY":o.translateY(a||0);break;case"translateYTo":o.translateYTo(a||0);break;case"translateZ":o.translateZ(a||0);break;case"translateZTo":o.translateZTo(a||0);break;case"translate3d":o.translate3d(a[0]||0,a[1]||0,a[2]||0);break;case"translate3dTo":o.translate3dTo(a[0]||0,a[1]||0,a[2]||0);break;case"rotate":typeof a=="number"?o.rotate(a||0):o.rotate(a[0]||0,a[1]||0,a[2]||0);break;case"rotateTo":typeof a=="number"?o.rotateTo(a||0):o.rotateTo(a[0]||0,a[1]||0,a[2]||0);break;case"rotateX":o.rotateX(a||0);break;case"rotateXTo":o.rotateXTo(a||0);break;case"rotateY":o.rotateY(a||0);break;case"rotateYTo":o.rotateYTo(a||0);break;case"rotateZ":o.rotateZ(a||0);break;case"rotateZTo":o.rotateZTo(a||0);break;case"rotate3d":o.rotate3d(a[0]||0,a[1]||0,a[2]||0);break;case"rotate3dTo":o.rotate3dTo(a[0]||0,a[1]||0,a[2]||0);break;case"scale":typeof a=="number"?o.scale(a||1):o.scale(a[0]||1,a[1]||1,a[2]||0,a[3]||0);break;case"scaleTo":typeof a=="number"?o.scaleTo(a||1):o.scaleTo(a[0]||1,a[1]||1,a[2]||0,a[3]||0);break;case"scaleX":o.scaleX(a||1);break;case"scaleXTo":o.scaleXTo(a||1);break;case"scaleY":o.scaleY(a||1);break;case"scaleYTo":o.scaleYTo(a||1);break;case"scaleZ":o.scaleZ(a||1);break;case"scaleZTo":o.scaleZTo(a||1);break;case"scale3d":typeof a=="number"?o.scale3d(a||1):o.scale3d(a[0]||1,a[1]||1,a[2]||1);break;case"scale3dTo":typeof a=="number"?o.scale3dTo(a||1):o.scale3dTo(a[0]||1,a[1]||1,a[2]||1);break;case"skew":typeof a=="number"?o.skew(a||0):o.skew(a[0]||0,a[1]||0);break;case"skewTo":typeof a=="number"?o.skewTo(a||0):o.skewTo(a[0]||0,a[1]||0);break;case"skewX":o.skewX(a||0);break;case"skewXTo":o.skewXTo(a||0);break;case"skewY":o.skewY(a||0);break;case"skewYTo":o.skewYTo(a||0);break;case"skewZ":break;case"skewZTo":break;case"skew3d":break;case"skew3dTo":break;case"perspective":o.perspective(a||0);break;default:Object.prototype.hasOwnProperty.call(e,n)||(e[n]=Sr(s,n)),Object.assign(r,{[n]:`${a}`});break}}return Object.assign(r,{transform:o.toString()}),r}ty()&&Jg(Kg(),"11.2")<0?us(`
38
- :root {
39
- /* iOS < 11.2 */
40
- --sat: constant(safe-area-inset-top);
41
- --sar: constant(safe-area-inset-right);
42
- --sab: constant(safe-area-inset-bottom);
43
- --sal: constant(safe-area-inset-left);
44
- }
45
- `):us(`
46
- :root {
47
- /* iOS > 11.2 */
48
- --sat: env(safe-area-inset-top);
49
- --sar: env(safe-area-inset-right);
50
- --sab: env(safe-area-inset-bottom);
51
- --sal: env(safe-area-inset-left);
52
- }
53
- `);const Ad=_n("0px"),Md=_n("0px"),Nd=_n("0px"),zd=_n("0px");qg.onload(()=>{const s=getComputedStyle(document.documentElement);Ad.value=s.getPropertyValue("--sat"),Md.value=s.getPropertyValue("--sar"),Nd.value=s.getPropertyValue("--sab"),zd.value=s.getPropertyValue("--sal")});const Mi={top:()=>Ad.value,right:()=>Md.value,bottom:()=>Nd.value,left:()=>zd.value};function Ey(){const s=On();return{destroy:ws(document,"scroll",t=>{s.emit("scroll",t)}),on:t=>(s.on("scroll",t),()=>{s.off("scroll",t)})}}function Py(s){const t=On(),e=new ResizeObserver(o=>{const r=o[0],{width:n,height:a}=r.contentRect;t.emit("resize",n,a)});return e.observe(s),{on:o=>(t.on("resize",o),()=>{t.off("resize",o)}),destroy:()=>{e.unobserve(s)}}}function Nn(s,t=.5,e){const o=On();let r;const n=new IntersectionObserver((a,i)=>{let l=a[0];if(a.length>1){const u=a.find(d=>d.isIntersecting);u&&(l=u)}const c=l.isIntersecting&&l.intersectionRatio>=t;r!==c&&(c?o.emit("show"):o.emit("hide"),r=c)},{threshold:t,root:e});return n.observe(s),{onshow:a=>(o.on("show",a),()=>{o.off("show",a)}),onhide:a=>(o.on("hide",a),()=>{o.off("hide",a)}),destroy:()=>{n.unobserve(s)}}}function zn(s,t,e,o,r){const n=t/e;let a=0,i=0;switch(s){case"aspectFit":n>=1?(a=o,i=a/n,i>r&&(i=r,a=i*n)):(i=r,a=i*n,a>o&&(a=o,i=a/n));break;case"aspectFill":n>=1?(i=r,a=i*n):(a=o,i=a/n);break;case"widthFix":a=o,i=a/n;break;case"heightFix":i=r,a=i*n;break;case"scaleToFill":default:a=o,i=r;break}return{width:a,height:i}}function Oy(s){const t=document.createElement("canvas"),e=t.getContext("2d");return t.width=s.width,t.height=s.height,e.drawImage(s,0,0,t.width,t.height),e.getImageData(0,0,t.width,t.height)}class Cs extends ne{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(o=>{!o.independentTransformInGroup&&!o.isDragging&&(o.x=this.x+o.diffXInGroup,o.y=this.y+o.diffYInGroup,o.degree=this.degree+o.diffDegreeInGroup,o.scalarX=this.scalarX*o.diffScalarXInGroup,o.scalarY=this.scalarY*o.diffScalarYInGroup)}),super.frameUpdate(t,e)}addShape(t){(Array.isArray(t)?t:[t]).forEach(e=>{this.shapes.findIndex(o=>o.id==e.id)==-1&&(e.on("draging",(o,r)=>{this.enableDrag&&(this.x+=o,this.y+=r,this.emit("draging",o,r,e))}),this.shapes.push(e),this.shapesCountChange=!0)})}getBoundingClientRect(){const t=[],e=[];this.shapes.forEach(l=>{const c=l.getBoundingClientRect();c&&(t.push(c.x,c.x+c.width),e.push(c.y,c.y+c.height))});const o=this.pathd?.getBoundingClientRect();if(o&&(o.width||o.height)&&(t.push(o.x,o.x+o.width),e.push(o.y,o.y+o.height)),t.length==0||e.length==0)return null;const r=Math.min.apply(0,t),n=Math.min.apply(0,e),a=Math.max.apply(0,t),i=Math.max.apply(0,e);return{x:r,y:n,width:a-r,height:i-n}}setAttrs(t,e){typeof t!="string"?(super.setAttr(t),this.shapes.forEach(o=>{o.setAttr(t)})):e&&(super.setAttr(t,e),this.shapes.forEach(o=>{o.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,o=this.shapes.length;if(e<o)return t.expendFill(this);for(let r=o;r<e;r++){const a=t.shapes[r].initPathD().polymorphPoints,i=a[0],l=a[1],c=[["M",i,l]];for(let u=2;u+5<a.length;u+=6)c.push(["C",i,l,i,l,i,l]);this.addShape(new ne({attrs:{...t.shapes[r].getAttrs()},d:c}))}}strokeDashTween(t,e){switch(e?.type){case"sequence":const o=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==o&&e?.onGroupComplete?.()}})});break;case"parallel":default:const r=new Fe({frameDuration:t}),n={},a={};this.shapes.forEach((i,l)=>{const c=Te(i.getTotalLength(),0);n[`offset_${l}`]=c,a[`offset_${l}`]=0,i.setAttr({strokeDasharray:`${c} ${c}`,strokeDashoffset:`${c}`})}),r.addTween(n,a,Object.assign(e||{},{onStart:()=>{e?.onGroupStart?.()},onUpdate:(i,l)=>{for(let c in i){const u=xs(c).number;this.shapes[u].setAttr("strokeDashoffset",""+Te(i[c],2))}e?.onGroupUpdate?.()},onComplete:()=>{e?.onGroupComplete?.()}})),r.play();break}}}const No=Cs,Ry=getComputedStyle(document.documentElement);function Mt(s){return Ry.getPropertyValue(s)}const vt={colorPrimary:Mt("--color-primary")||"#5A82F0",colorRed:Mt("--color-red")||"#ff5050",colorOrange:Mt("--color-orange")||"#fa8c00",colorYellow:Mt("--color-yellow")||"#fadc32",colorGreen:Mt("--color-green")||"#00c878",colorBlue:Mt("--color-blue")||"#00b4fa",colorPurple:Mt("--color-purple")||"#6464fa",colorBlack:Mt("--color-black")||"#001428",colorGray00:Mt("--color-gray-00")||"#000000",colorGray33:Mt("--color-gray-33")||"#333333",colorGray66:Mt("--color-gray-66")||"#666666",colorGray99:Mt("--color-gray-99")||"#999999",colorGrayCC:Mt("--color-gray-cc")||"#cccccc",colorGrayDD:Mt("--color-gray-dd")||"#dddddd",colorGrayE6:Mt("--color-gray-e6")||"#e6e6e6",colorGrayEE:Mt("--color-gray-ee")||"#eeeeee",colorGrayEF:Mt("--color-gray-ef")||"#efefef",colorGrayF5:Mt("--color-gray-f5")||"#f5f5f5",colorGrayFF:Mt("--color-gray-ff")||"#ffffff",fontLineHeight:Mt("--font-line-height")||"1.4",fontSize32:Mt("--font-size-32")||"32px",fontSize24:Mt("--font-size-24")||"24px",fontSize22:Mt("--font-size-22")||"22px",fontSize20:Mt("--font-size-20")||"20px",fontSize18:Mt("--font-size-18")||"18px",fontSize16:Mt("--font-size-16")||"16px",fontSize14:Mt("--font-size-14")||"14px",fontSize12:Mt("--font-size-12")||"12px",fontSize10:Mt("--font-size-10")||"10px",d4:Mt("--distance-4")||"4px",d8:Mt("--distance-8")||"8px",d12:Mt("--distance-12")||"12px",d16:Mt("--distance-16")||"16px",d20:Mt("--distance-20")||"20px",d32:Mt("--distance-32")||"32px",d40:Mt("--distance-40")||"40px",d44:Mt("--distance-44")||"44px"};class Ft{__color={r:0,g:0,b:0,a:1};constructor(t,e){t&&this.setColor(t),typeof e=="number"&&this.setAlpha(e)}get color(){return this.__color}set color(t){this.__color=Ni(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,e,o){return this.r=t,this.g=e,this.b=o,this}setRGBA(t,e,o,r){return this.r=t,this.g=e,this.b=o,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},${Te(this.a,6)})`}clone(){return new Ft(this.color)}copy(t){this.setColor(t.color)}opposite(t=!1,e="#000000",o="#ffffff"){if(t)return new Ft(this.r*.299+this.g*.587+this.b*.114>186?e:o);{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:e,g:o,b:r}=this.color;return e+=(255-e)*t,o+=(255-o)*t,r+=(255-r)*t,new Ft().setRGBA(e,o,r,this.color.a)}darken(t){t=le(Math.abs(t),0,1);let{r:e,g:o,b:r}=this.color;return e=e*(1-t),o=o*(1-t),r=r*(1-t),new Ft().setRGBA(e,o,r,this.color.a)}static gradient(t,e,o){try{const r=Ni(t),n=Ni(e);return new Ft().setRGB((n.r-r.r)*o+r.r,(n.g-r.g)*o+r.g,(n.b-r.b)*o+r.b)}catch{return new Ft(e)}}static random(){return new Ft(Math.random()*16777215)}get hsv(){const{r:t,g:e,b:o,a:r}=this.color,n=Math.max(t,e,o),a=Math.min(t,e,o),i=n-a;let l;return t===n?l=(e-o)/i:e===n?l=2+(o-t)/i:l=4+(t-e)/i,l/=6,l<0&&(l+=1),{h:i==0?0:l*360,s:n===0?0:i/n,v:n/255,a:r}}set h(t){const e=this.hsv;e.h=le(t,0,360),this.setColor(e)}get h(){return this.hsv.h}set s(t){const e=this.hsv;e.s=le(t,0,1),this.setColor(e)}get s(){return this.hsv.s}set v(t){const e=this.hsv;e.v=le(t,0,1),this.setColor(e)}get v(){return this.hsv.v}}function ge(s,t){return new Ft(s,t)}function Ni(s){const t=Object.prototype.hasOwnProperty.call(s,"a")?le(s.a,0,1):1;if(Object.prototype.hasOwnProperty.call(s,"r")&&Object.prototype.hasOwnProperty.call(s,"g")&&Object.prototype.hasOwnProperty.call(s,"b"))return s.r=le(Math.round(s.r),0,255),s.g=le(Math.round(s.g),0,255),s.b=le(Math.round(s.b),0,255),s.a=t,s;if(Object.prototype.hasOwnProperty.call(s,"h")&&Object.prototype.hasOwnProperty.call(s,"s")&&Object.prototype.hasOwnProperty.call(s,"v")){const o=le(s.h,0,360),r=le(s.s,0,1),n=le(s.v,0,1),a=Math.floor(o/60)%6,i=o/60-Math.floor(o/60),l=n*(1-r),c=n*(1-i*r),u=n*(1-(1-i)*r),d=[[n,u,l],[c,n,l],[l,n,u],[l,c,n],[u,l,n],[n,l,c]][a];return{r:Math.round(d[0]*255),g:Math.round(d[1]*255),b:Math.round(d[2]*255),a:t}}const e={r:0,g:0,b:0,a:t};if(typeof s=="number")s<Math.pow(2,24)?(e.r=s>>16&255,e.g=s>>8&255,e.b=s&255):(e.r=s>>24&255,e.g=s>>16&255,e.b=s>>8&255,e.a=(s&255)/255);else if(typeof s=="string"){const o=/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,?\s*(\d?\.?\d*)?\s*\)/gi.exec(s);if(o)e.r=parseInt(o[1]),e.g=parseInt(o[2]),e.b=parseInt(o[3]),o[4]&&(e.a=parseFloat(o[4]));else{let r=s.match(/^#([A-F0-9])([A-F0-9])([A-F0-9])$/i);r?(e.r=parseInt(`${r[1]}${r[1]}`,16),e.g=parseInt(`${r[2]}${r[2]}`,16),e.b=parseInt(`${r[3]}${r[3]}`,16)):(r=s.match(/^#([A-F0-9]{2})([A-F0-9]{2})([A-F0-9]{2})$/i),r?(e.r=parseInt(r[1],16),e.g=parseInt(r[2],16),e.b=parseInt(r[3],16)):(r=s.match(/^#([A-F0-9]{2})([A-F0-9]{2})([A-F0-9]{2})([A-F0-9]{2})$/i),r?(e.r=parseInt(r[1],16),e.g=parseInt(r[2],16),e.b=parseInt(r[3],16),e.a=parseInt(r[4],16)/255):s==="none"&&(e.a=0)))}}else throw new Error("parseColor 不支持的颜色解析:"+s);return e.r=le(e.r,0,255),e.g=le(e.g,0,255),e.b=le(e.b,0,255),e.a=le(e.a,0,1),e}const Iy=["#0ac2d2","#7bb7fa","#60d7a9","#fdc162","#fd6a62","#f68dbb","#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff","#dc4916","#6871b1","#d1b935","#1bbc9b","#FF7F50","#4BBFC3","#ff9900"],to={backgroundColor:"#1a1a1a",numberColor:"#2FA1D6",booleanColor:"#806787",stringColor:"#1ed36f",functionColor:"#e61d5f",saveRowColor:"#dad5cb",buttonColor:"",borderColor:"",inputColor:""};to.buttonColor=new Ft(to.saveRowColor).darken(.1).toString(),to.borderColor=new Ft(to.backgroundColor).lighten(.07).toString(),to.inputColor=new Ft(to.backgroundColor).lighten(.085).toString();class we extends ne{toX;toY;constructor(t){super(t),this.toX=t?.toX||0,this.toY=t?.toY||0;let e=this.toX-this.x,o=this.toY-this.y;return new Proxy(this,{set(r,n,a,i){switch(n){case"x":r.toX=a+e;break;case"y":r.toY=a+o;break;case"toX":e=a-r.x;break;case"toY":o=a-r.y;break}return Reflect.set(r,n,a,i)}})}toSVGPathData(){return[["m",0,0],["l",this.toX-this.x,this.toY-this.y]]}toCanvasContext(t){t.beginPath(),t.moveTo(0,0),t.lineTo(this.toX-this.x,this.toY-this.y)}intersection(t){const e=new Ed({x:this.x,y:this.y,toX:this.toX,toY:this.toY}),o=new Ed({x:t.x,y:t.y,toX:t.toX,toY:t.toY});return e.intersection(o)}}class Vn extends ne{cx;cy;toX;toY;isLineThrough;constructor(t){super(t),this.cx=t?.cx||0,this.cy=t?.cy||0,this.toX=t?.toX||0,this.toY=t?.toY||0,this.isLineThrough=typeof t?.isLineThrough=="boolean"?t.isLineThrough:!1}toSVGPathData(){if(this.isLineThrough){const t=this.cx*2-(this.x+this.toX)/2,e=this.cy*2-(this.y+this.toY)/2;return[["m",0,0],["q",t-this.x,e-this.y,this.toX-this.x,this.toY-this.y]]}else return[["m",0,0],["q",this.cx-this.x,this.cy-this.y,this.toX-this.x,this.toY-this.y]]}toCanvasContext(t){if(t.beginPath(),t.moveTo(0,0),this.isLineThrough){const e=this.cx*2-(this.x+this.toX)/2,o=this.cy*2-(this.y+this.toY)/2;t.quadraticCurveTo(e-this.x,o-this.y,this.toX-this.x,this.toY-this.y)}else t.quadraticCurveTo(this.cx-this.x,this.cy-this.y,this.toX-this.x,this.toY-this.y)}}var Vd={exports:{}};/*! Hammer.JS - v2.0.7 - 2016-04-22
38
+ `.replace(/\s+/g,""),"u");break;case"mime-image":t=/^image\//;break;case"mime-video":t=/^video\//;break;case"mime-audio":t=/^audio\//;break;case"mime-document-word":t=/^application\/(?:vnd\.openxmlformats-officedocument\.wordprocessingml\.document|msword|vnd\.ms-word\.document\.macroenabled\.12|vnd\.openxmlformats-officedocument\.wordprocessingml\.template|vnd\.ms-word\.template\.macroenabled\.12)$/;break;case"mime-document-excel":t=/^application\/(?:vnd\.openxmlformats-officedocument\.spreadsheetml\.sheet|vnd\.ms-excel|vnd\.ms-excel\.sheet\.macroenabled\.12|vnd\.openxmlformats-officedocument\.spreadsheetml\.template|vnd\.ms-excel\.template\.macroenabled\.12)$/;break;case"mime-document-ppt":t=/^application\/(?:vnd\.ms-powerpoint|vnd\.openxmlformats-officedocument\.presentationml\.presentation|vnd\.ms-powerpoint\.presentation\.macroenabled\.12|vnd\.openxmlformats-officedocument\.presentationml\.template|vnd\.ms-powerpoint\.template\.macroenabled\.12)$/;break;case"mime-document-json":t=/^application\/json$/;break;case"mime-document-xml":t=/^(?:application|text)\/(?:xml|xhtml\+xml)$/;break}return t},Qy=(o,t)=>(typeof o=="string"&&(o=Lr(o)||new RegExp(o)),o.test(t)),qf=(o,t)=>{typeof o=="string"&&(o=Lr(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},Kf=(o,t)=>{typeof o=="string"&&(o=Lr(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 zn(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 Jy(o){return o.replace(/(^\w)/g,t=>t.toLowerCase())}const Fo=(o,t="-")=>{let e=o.replace(new RegExp(`${t}?([A-Z])`,"g"),t+"$1").toLowerCase();return e=e.replace(new RegExp(`^${t}`),""),e};function t1(o){return o.replace(/(^\w|[_-]\w)/g,t=>t.slice(-1).toUpperCase())}function e1(o){return Jy(t1(o))}const tl=(o,t="")=>(o=o.replaceAll(/\[data-v-[0-9a-zA-Z]*\]/g,t),o),o1="[object String]",n1="[object Symbol]";function Qf(o){return Object.prototype.toString.call(o)}function s1(o){return o!=null}function r1(o){return Qf(o)===o1}function a1(o){return o===o+0}function i1(o){return Qf(o)===n1}function l1(o,...t){return new o.constructor(...t)}function Jf(o){for(const t in o)Object.prototype.hasOwnProperty.call(o,t)&&delete o[t];return o}function Ps(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 td(o,t){const e=o.findIndex(n=>n===t);return e>=0&&o.splice(e,1),o}function c1(o,t){return o.findIndex(e=>e==t)>=0}let ed;try{ed=Map}catch{ed=function(){}}let od;try{od=Set}catch{od=function(){}}function u1(o){return typeof o=="number"&&Number.isNaN(o)}function io(o,t){if(o=parseFloat(o),u1(o)){if(typeof t=="number")return t;throw new Error(`parseNumber(${o}) isNaN!`)}return o}function nd(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 f1(o,t){return(o%t+t)%t}function el(o,t,e){return(1-e)*o+e*t}function d1(o,t,e,n,s){return n+(s-n)*((o-t)/(e-t))}const h1=(o,t,e)=>n=>{const s=Vt(n,o,t);return e==0?s:t-s<e?t:Math.round(s/e)*e};function p1(o,t=12){return io(o,0).toFixed(t)}function Re(o,t=12){return+p1(o,t)}function Dn(o,t){const e=qf("number-single",String(o));return{hasNumber:!!e,number:e&&!Array.isArray(e)&&e.fullMatch?parseFloat(e.fullMatch):s1(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 ol(o){const t=qf("number",o);return t?Array.isArray(t)?t.map(e=>Number(e.fullMatch)):[Number(t.fullMatch)]:[]}m1();function m1(){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 sd=(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))(sd||{}),Br=(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))(Br||{});const rd=(o,t,e)=>t?e===Br.base64?new Blob([o],{type:`${t};${e}`}):e===Br.utf8?new Blob([o],{type:`${t};charset=${e}`}):new Blob([o],{type:`${t}`}):new Blob([o]);function ae(){return(performance||Date).now()}function g1(o){let t=0;for(let e=5;e>=0;e=e-2)e==5?t+=o[e-1]*10+o[e]:e==3?t+=(o[e-1]*10+o[e])*60:e==1&&(t+=(o[e-1]*10+o[e])*60*60);return t=Math.floor(Math.max(0,t)),t*1e3}function nl(o){let t=g1(o)/1e3;const e=t%60;o[5]=e%10,o[4]=Math.floor(e/10),t=Math.floor(t/60);const n=t%60;o[3]=n%10,o[2]=Math.floor(n/10),t=Math.floor(t/60);const s=t%60%24;return o[1]=s%10,o[0]=Math.floor(s/10),o}function y1(o){const t=[0,0,0,0,0,0],e=ol(o),n=e.length,s=Math.min(n,3);for(let r=0;r<s;r++){const a=Math.floor(Math.abs(e[n-s+r]||0));t[2*r+1]=a%10,t[2*r]=Math.floor(a/10)}return nl(t)}function sl(o,t=1){return o[5]+=t,nl(o)}function rl(o,t=1){return o[5]-=t,nl(o)}function v1(o,t){o.forEach((e,n)=>{t[n]=e})}function b1(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 _1(o="xxx不能为空!"){return{match:t=>!!t,error:o}}function x1(o="邮箱格式不正确!"){return{match:t=>Qy("email",t),error:o}}class k1{criterias=[];constructor(t=[]){t.forEach(e=>this.add(e))}add(...t){this.criterias.push(...t)}clear(){this.criterias=[]}get(){return t=>b1(t,this.criterias)}run(t){return this.get()(t)}}function Mn(o){return new k1([_1("邮箱不能为空!"),x1("邮箱格式不正确!")]).run(o)}function ad(o,t){let e=!0;return function(...n){e&&(e=!1,o.apply(this,n),setTimeout(()=>{e=!0},t))}}class Vr{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 Yr extends Vr{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}}}const w1=()=>{};Array.prototype.ap=function(o){return this.reduce((t,e)=>t.concat(o.map(e)),[])};let Rs;function al(o){Rs=o,o(),Rs=null}class C1{subscribers=new Set;add(){Rs&&!this.subscribers.has(Rs)&&this.subscribers.add(Rs)}notify(){this.subscribers.forEach(t=>t())}}const id=new WeakMap;function Xr(o,t){let e=id.get(o);e||(e=new Map,id.set(o,e));let n=e.get(t);return n||(n=new C1,e.set(t,n)),n}function T1(o,t=!1){return Object.keys(o).forEach(e=>{let n=o[e];if(t&&typeof n=="object"&&n!==null)o[e]=il(n,t);else{const s=Xr(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 ld(o,t=!1){return T1({value:o},t)}function il(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=il(i,t);c.YZReactiveProxyParentTarget=s,c.YZReactiveProxyParentKey=r,Reflect.set(a,r,c)}return Xr(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)?Xr(s.YZReactiveProxyParentTarget,s.YZReactiveProxyParentKey).notify():l!=a&&Xr(s,r).notify(),c},has(s,r){return r==="isYZReactiveProxy"||r in s}};return new Proxy(o,e)}const E1=il;class ll{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,[e,n])=>((r1(e)||a1(e)||i1(e))&&(t[e]=n),t),{})}get length(){return this.entries().length}set(t,e){this.maps.set(t,e),this.mapsAddedDuringUpdate.set(t,e)}get(t){return this.maps.get(t)}getIndex(t){const e=this.entries();if(e.length&&e[t]){const[n,s]=e[t];return[n,s]}}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()}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())}}}function S1(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 cd;try{cd=Promise}catch{cd=function(){}}function O1(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}var P1={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(x,m){var g=x[0],y=x[1],b=x[2],_=x[3];g+=(y&b|~y&_)+m[0]-680876936|0,g=(g<<7|g>>>25)+y|0,_+=(g&y|~g&b)+m[1]-389564586|0,_=(_<<12|_>>>20)+g|0,b+=(_&g|~_&y)+m[2]+606105819|0,b=(b<<17|b>>>15)+_|0,y+=(b&_|~b&g)+m[3]-1044525330|0,y=(y<<22|y>>>10)+b|0,g+=(y&b|~y&_)+m[4]-176418897|0,g=(g<<7|g>>>25)+y|0,_+=(g&y|~g&b)+m[5]+1200080426|0,_=(_<<12|_>>>20)+g|0,b+=(_&g|~_&y)+m[6]-1473231341|0,b=(b<<17|b>>>15)+_|0,y+=(b&_|~b&g)+m[7]-45705983|0,y=(y<<22|y>>>10)+b|0,g+=(y&b|~y&_)+m[8]+1770035416|0,g=(g<<7|g>>>25)+y|0,_+=(g&y|~g&b)+m[9]-1958414417|0,_=(_<<12|_>>>20)+g|0,b+=(_&g|~_&y)+m[10]-42063|0,b=(b<<17|b>>>15)+_|0,y+=(b&_|~b&g)+m[11]-1990404162|0,y=(y<<22|y>>>10)+b|0,g+=(y&b|~y&_)+m[12]+1804603682|0,g=(g<<7|g>>>25)+y|0,_+=(g&y|~g&b)+m[13]-40341101|0,_=(_<<12|_>>>20)+g|0,b+=(_&g|~_&y)+m[14]-1502002290|0,b=(b<<17|b>>>15)+_|0,y+=(b&_|~b&g)+m[15]+1236535329|0,y=(y<<22|y>>>10)+b|0,g+=(y&_|b&~_)+m[1]-165796510|0,g=(g<<5|g>>>27)+y|0,_+=(g&b|y&~b)+m[6]-1069501632|0,_=(_<<9|_>>>23)+g|0,b+=(_&y|g&~y)+m[11]+643717713|0,b=(b<<14|b>>>18)+_|0,y+=(b&g|_&~g)+m[0]-373897302|0,y=(y<<20|y>>>12)+b|0,g+=(y&_|b&~_)+m[5]-701558691|0,g=(g<<5|g>>>27)+y|0,_+=(g&b|y&~b)+m[10]+38016083|0,_=(_<<9|_>>>23)+g|0,b+=(_&y|g&~y)+m[15]-660478335|0,b=(b<<14|b>>>18)+_|0,y+=(b&g|_&~g)+m[4]-405537848|0,y=(y<<20|y>>>12)+b|0,g+=(y&_|b&~_)+m[9]+568446438|0,g=(g<<5|g>>>27)+y|0,_+=(g&b|y&~b)+m[14]-1019803690|0,_=(_<<9|_>>>23)+g|0,b+=(_&y|g&~y)+m[3]-187363961|0,b=(b<<14|b>>>18)+_|0,y+=(b&g|_&~g)+m[8]+1163531501|0,y=(y<<20|y>>>12)+b|0,g+=(y&_|b&~_)+m[13]-1444681467|0,g=(g<<5|g>>>27)+y|0,_+=(g&b|y&~b)+m[2]-51403784|0,_=(_<<9|_>>>23)+g|0,b+=(_&y|g&~y)+m[7]+1735328473|0,b=(b<<14|b>>>18)+_|0,y+=(b&g|_&~g)+m[12]-1926607734|0,y=(y<<20|y>>>12)+b|0,g+=(y^b^_)+m[5]-378558|0,g=(g<<4|g>>>28)+y|0,_+=(g^y^b)+m[8]-2022574463|0,_=(_<<11|_>>>21)+g|0,b+=(_^g^y)+m[11]+1839030562|0,b=(b<<16|b>>>16)+_|0,y+=(b^_^g)+m[14]-35309556|0,y=(y<<23|y>>>9)+b|0,g+=(y^b^_)+m[1]-1530992060|0,g=(g<<4|g>>>28)+y|0,_+=(g^y^b)+m[4]+1272893353|0,_=(_<<11|_>>>21)+g|0,b+=(_^g^y)+m[7]-155497632|0,b=(b<<16|b>>>16)+_|0,y+=(b^_^g)+m[10]-1094730640|0,y=(y<<23|y>>>9)+b|0,g+=(y^b^_)+m[13]+681279174|0,g=(g<<4|g>>>28)+y|0,_+=(g^y^b)+m[0]-358537222|0,_=(_<<11|_>>>21)+g|0,b+=(_^g^y)+m[3]-722521979|0,b=(b<<16|b>>>16)+_|0,y+=(b^_^g)+m[6]+76029189|0,y=(y<<23|y>>>9)+b|0,g+=(y^b^_)+m[9]-640364487|0,g=(g<<4|g>>>28)+y|0,_+=(g^y^b)+m[12]-421815835|0,_=(_<<11|_>>>21)+g|0,b+=(_^g^y)+m[15]+530742520|0,b=(b<<16|b>>>16)+_|0,y+=(b^_^g)+m[2]-995338651|0,y=(y<<23|y>>>9)+b|0,g+=(b^(y|~_))+m[0]-198630844|0,g=(g<<6|g>>>26)+y|0,_+=(y^(g|~b))+m[7]+1126891415|0,_=(_<<10|_>>>22)+g|0,b+=(g^(_|~y))+m[14]-1416354905|0,b=(b<<15|b>>>17)+_|0,y+=(_^(b|~g))+m[5]-57434055|0,y=(y<<21|y>>>11)+b|0,g+=(b^(y|~_))+m[12]+1700485571|0,g=(g<<6|g>>>26)+y|0,_+=(y^(g|~b))+m[3]-1894986606|0,_=(_<<10|_>>>22)+g|0,b+=(g^(_|~y))+m[10]-1051523|0,b=(b<<15|b>>>17)+_|0,y+=(_^(b|~g))+m[1]-2054922799|0,y=(y<<21|y>>>11)+b|0,g+=(b^(y|~_))+m[8]+1873313359|0,g=(g<<6|g>>>26)+y|0,_+=(y^(g|~b))+m[15]-30611744|0,_=(_<<10|_>>>22)+g|0,b+=(g^(_|~y))+m[6]-1560198380|0,b=(b<<15|b>>>17)+_|0,y+=(_^(b|~g))+m[13]+1309151649|0,y=(y<<21|y>>>11)+b|0,g+=(b^(y|~_))+m[4]-145523070|0,g=(g<<6|g>>>26)+y|0,_+=(y^(g|~b))+m[11]-1120210379|0,_=(_<<10|_>>>22)+g|0,b+=(g^(_|~y))+m[2]+718787259|0,b=(b<<15|b>>>17)+_|0,y+=(_^(b|~g))+m[9]-343485551|0,y=(y<<21|y>>>11)+b|0,x[0]=g+x[0]|0,x[1]=y+x[1]|0,x[2]=b+x[2]|0,x[3]=_+x[3]|0}function r(x){var m=[],g;for(g=0;g<64;g+=4)m[g>>2]=x.charCodeAt(g)+(x.charCodeAt(g+1)<<8)+(x.charCodeAt(g+2)<<16)+(x.charCodeAt(g+3)<<24);return m}function a(x){var m=[],g;for(g=0;g<64;g+=4)m[g>>2]=x[g]+(x[g+1]<<8)+(x[g+2]<<16)+(x[g+3]<<24);return m}function i(x){var m=x.length,g=[1732584193,-271733879,-1732584194,271733878],y,b,_,$,Y,B;for(y=64;y<=m;y+=64)s(g,r(x.substring(y-64,y)));for(x=x.substring(y-64),b=x.length,_=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],y=0;y<b;y+=1)_[y>>2]|=x.charCodeAt(y)<<(y%4<<3);if(_[y>>2]|=128<<(y%4<<3),y>55)for(s(g,_),y=0;y<16;y+=1)_[y]=0;return $=m*8,$=$.toString(16).match(/(.*?)(.{0,8})$/),Y=parseInt($[2],16),B=parseInt($[1],16)||0,_[14]=Y,_[15]=B,s(g,_),g}function l(x){var m=x.length,g=[1732584193,-271733879,-1732584194,271733878],y,b,_,$,Y,B;for(y=64;y<=m;y+=64)s(g,a(x.subarray(y-64,y)));for(x=y-64<m?x.subarray(y-64):new Uint8Array(0),b=x.length,_=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],y=0;y<b;y+=1)_[y>>2]|=x[y]<<(y%4<<3);if(_[y>>2]|=128<<(y%4<<3),y>55)for(s(g,_),y=0;y<16;y+=1)_[y]=0;return $=m*8,$=$.toString(16).match(/(.*?)(.{0,8})$/),Y=parseInt($[2],16),B=parseInt($[1],16)||0,_[14]=Y,_[15]=B,s(g,_),g}function c(x){var m="",g;for(g=0;g<4;g+=1)m+=n[x>>g*8+4&15]+n[x>>g*8&15];return m}function u(x){var m;for(m=0;m<x.length;m+=1)x[m]=c(x[m]);return x.join("")}u(i("hello")),typeof ArrayBuffer<"u"&&!ArrayBuffer.prototype.slice&&function(){function x(m,g){return m=m|0||0,m<0?Math.max(m+g,0):Math.min(m,g)}ArrayBuffer.prototype.slice=function(m,g){var y=this.byteLength,b=x(m,y),_=y,$,Y,B,D;return g!==e&&(_=x(g,y)),b>_?new ArrayBuffer(0):($=_-b,Y=new ArrayBuffer($),B=new Uint8Array(Y),D=new Uint8Array(this,b,$),B.set(D),Y)}}();function f(x){return/[\u0080-\uFFFF]/.test(x)&&(x=unescape(encodeURIComponent(x))),x}function d(x,m){var g=x.length,y=new ArrayBuffer(g),b=new Uint8Array(y),_;for(_=0;_<g;_+=1)b[_]=x.charCodeAt(_);return m?b:y}function h(x){return String.fromCharCode.apply(null,new Uint8Array(x))}function p(x,m,g){var y=new Uint8Array(x.byteLength+m.byteLength);return y.set(new Uint8Array(x)),y.set(new Uint8Array(m),x.byteLength),g?y:y.buffer}function v(x){var m=[],g=x.length,y;for(y=0;y<g-1;y+=2)m.push(parseInt(x.substr(y,2),16));return String.fromCharCode.apply(String,m)}function k(){this.reset()}return k.prototype.append=function(x){return this.appendBinary(f(x)),this},k.prototype.appendBinary=function(x){this._buff+=x,this._length+=x.length;var m=this._buff.length,g;for(g=64;g<=m;g+=64)s(this._hash,r(this._buff.substring(g-64,g)));return this._buff=this._buff.substring(g-64),this},k.prototype.end=function(x){var m=this._buff,g=m.length,y,b=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],_;for(y=0;y<g;y+=1)b[y>>2]|=m.charCodeAt(y)<<(y%4<<3);return this._finish(b,g),_=u(this._hash),x&&(_=v(_)),this.reset(),_},k.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},k.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},k.prototype.setState=function(x){return this._buff=x.buff,this._length=x.length,this._hash=x.hash,this},k.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},k.prototype._finish=function(x,m){var g=m,y,b,_;if(x[g>>2]|=128<<(g%4<<3),g>55)for(s(this._hash,x),g=0;g<16;g+=1)x[g]=0;y=this._length*8,y=y.toString(16).match(/(.*?)(.{0,8})$/),b=parseInt(y[2],16),_=parseInt(y[1],16)||0,x[14]=b,x[15]=_,s(this._hash,x)},k.hash=function(x,m){return k.hashBinary(f(x),m)},k.hashBinary=function(x,m){var g=i(x),y=u(g);return m?v(y):y},k.ArrayBuffer=function(){this.reset()},k.ArrayBuffer.prototype.append=function(x){var m=p(this._buff.buffer,x,!0),g=m.length,y;for(this._length+=x.byteLength,y=64;y<=g;y+=64)s(this._hash,a(m.subarray(y-64,y)));return this._buff=y-64<g?new Uint8Array(m.buffer.slice(y-64)):new Uint8Array(0),this},k.ArrayBuffer.prototype.end=function(x){var m=this._buff,g=m.length,y=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],b,_;for(b=0;b<g;b+=1)y[b>>2]|=m[b]<<(b%4<<3);return this._finish(y,g),_=u(this._hash),x&&(_=v(_)),this.reset(),_},k.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},k.ArrayBuffer.prototype.getState=function(){var x=k.prototype.getState.call(this);return x.buff=h(x.buff),x},k.ArrayBuffer.prototype.setState=function(x){return x.buff=d(x.buff,!0),k.prototype.setState.call(this,x)},k.ArrayBuffer.prototype.destroy=k.prototype.destroy,k.ArrayBuffer.prototype._finish=k.prototype._finish,k.ArrayBuffer.hash=function(x,m){var g=l(new Uint8Array(x)),y=u(g);return m?v(y):y},k})})(P1);const ud=o=>new XMLSerializer().serializeToString(o),R1=(o,t=sd.SVG,e=Br.utf8)=>rd(ud(o),t,e);function I1(o,t){const e=ld(t||"");if(!t)try{let n=window.localStorage.getItem(o);n&&(n=JSON.parse(n),e.value=n?n.value:"")}catch{}return al(()=>{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 Zr(o){o.preventDefault&&o.preventDefault();try{o.returnValue=!1}catch{}}function A1(){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 cl=A1()!==-1;(()=>{const o=Wf();return!!(o.Worker&&o.Blob&&o.Promise&&o.OffscreenCanvas&&o.OffscreenCanvasRenderingContext2D&&o.HTMLCanvasElement&&o.HTMLCanvasElement.prototype.transferControlToOffscreen&&o.URL&&o.URL.createObjectURL)})(),function(){if(!Wf().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=ae();window.requestAnimationFrame=function(t){const e=ae(),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 Ur(o){let t=!1;return window.requestAnimationFrame(function e(n){!t&&o(n)&&window.requestAnimationFrame(e)}),()=>{t=!0}}function ul(o,t=0){if(t==0)return o(ae()),()=>{};{const e=ae();return Ur(n=>n-e>=t?(o(n),!1):!0)}}function $1(o,t=0){let e=!1,n=0;const s=ae(),r=a=>{if(e)return;n++;const i=a-s-n*t;o(a,n,t<=i),ul(r,Math.max(0,t-i))};return ul(r,t),()=>{e=!0}}function N1(o,t=20){const e=1e3/t;let n=0,s;return()=>(ae()-n>=e&&(n=ae(),s=o()),s)}window.requestIdleCallback=window.requestIdleCallback||function(o,t){const e=ae();return setTimeout(function(){o({didTimeout:ae()-e>50,timeRemaining:()=>Math.max(0,50-(ae()-e))})},t?.timeout)},window.cancelIdleCallback=window.cancelIdleCallback||function(o){clearTimeout(o)};const fl=new ll;let dl=!1;function fd(o,t,e){o&&t&&fl.set(o,{cb:t,startTime:ae(),timeout:e}),!dl&&(dl=!0,z1(n=>{dl=!1;let s=n.timeRemaining();fl.filter((r,a)=>{let i=!1;const l=ae();(s>0||a.timeout&&ae()-a.startTime>=a.timeout)&&(a.cb(),i=!0);const c=ae();return s-=c-l,!i}),fl.length>0&&fd()}))}let Gr=0,kn=33,qo=33,hl;const dd=new MessageChannel,F1=dd.port2;dd.port1.onmessage=o=>{hl!==null&&hl({didTimeout:Gr<=ae(),timeRemaining:()=>Math.max(0,Gr-ae())})};function z1(o){return hl=o,requestAnimationFrame(t=>{let e=t-Gr+qo;e<qo&&kn<qo?(e<8&&(e=8),qo=e<kn?kn:e):e>qo&&kn>qo?qo=e<kn?kn:e:kn=e,Gr=t+qo,F1.postMessage(null)})}class Is{static _nextId=0;static nextId(){return Is._nextId++}}const it={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-it.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?it.Bounce.In(o*2)*.5:it.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}},pl=it;function D1(o){switch(o){case it.Quadratic.In:return it.Quadratic.Out;case it.Quadratic.Out:return it.Quadratic.In;case it.Quadratic.InOut:return it.Quadratic.InOut;case it.Cubic.In:return it.Cubic.Out;case it.Cubic.Out:return it.Cubic.In;case it.Cubic.InOut:return it.Cubic.InOut;case it.Quartic.In:return it.Quartic.Out;case it.Quartic.Out:return it.Quartic.In;case it.Quartic.InOut:return it.Quartic.InOut;case it.Quintic.In:return it.Quintic.Out;case it.Quintic.Out:return it.Quintic.In;case it.Quintic.InOut:return it.Quintic.InOut;case it.Sinusoidal.In:return it.Sinusoidal.Out;case it.Sinusoidal.Out:return it.Sinusoidal.In;case it.Sinusoidal.InOut:return it.Sinusoidal.InOut;case it.Exponential.In:return it.Exponential.Out;case it.Exponential.Out:return it.Exponential.In;case it.Exponential.InOut:return it.Exponential.InOut;case it.Circular.In:return it.Circular.Out;case it.Circular.Out:return it.Circular.In;case it.Circular.InOut:return it.Circular.InOut;case it.Elastic.In:return it.Elastic.Out;case it.Elastic.Out:return it.Elastic.In;case it.Elastic.InOut:return it.Elastic.InOut;case it.Back.In:return it.Back.Out;case it.Back.Out:return it.Back.In;case it.Back.InOut:return it.Back.InOut;case it.Bounce.In:return it.Bounce.Out;case it.Bounce.Out:return it.Bounce.In;case it.Bounce.InOut:return it.Bounce.InOut;default:return o}}const Ln={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=Ln.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=Ln.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=Ln.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=Ln.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)}},ml=Ln;class hd{_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=ae(),e=!1){const n=Object.keys(this._tweens);for(let s=0;s<n.length;s++){const r=this._tweens[n[s]],a=!e;r&&r.update(t,a)===!1&&!e&&delete this._tweens[n[s]]}return!!Object.keys(this._tweens).length}}const We=new hd;class pd{constructor(t,e=We){this._object=t,this._group=e}_id=Is.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=pl.Linear.None;_interpolationFunction=ml.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=ae()){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=ae()){return this._isPaused||!this._isPlaying?this:(this._isPaused=!0,this._pauseStartTime=t,this._group&&this._group.remove(this),this)}resume(t=ae()){return!this._isPaused||!this._isPlaying?this:(this._isPaused=!1,this._startTime+=t-this._pauseStartTime,this._pauseStartTime=0,this._group&&this._group.add(this),this)}stopChainedTweens(){for(let t=0,e=this._chainedTweens.length;t<e;t++)this._chainedTweens[t].stop();return this}group(t=We){return this._group=t,this}delay(t=0){return this._delayTime=t,this}repeat(t=0){return this._initialRepeat=t,this._repeat=t,this}repeatDelay(t){return this._repeatDelayTime=t,this}yoyo(t=!1){return this._yoyo=t,this}easing(t=pl.Linear.None){return this._easingFunction=t,this}interpolation(t=ml.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=ae(),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 M1=pd,L1=Is.nextId,B1=We.getAll.bind(We),V1=We.removeAll.bind(We),Y1=We.add.bind(We),X1=We.remove.bind(We),Z1=We.update.bind(We),xt={now:ae,Sequence:Is,Easing:pl,Interpolation:ml,Group:hd,Tween:M1,nextId:L1,getAll:B1,removeAll:V1,add:Y1,remove:X1,update:Z1};class U1{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=ae(),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=ae();t=e-this.oldTime,this.oldTime=e,this.elapsedTime+=t}return t}}const md=U1;class Xe{tweens=[];frameDuration;onGroupStart;onGroupComplete;constructor(t){this.frameDuration=t?.frameDuration||1e3,this.onGroupStart=t?.onGroupStart,this.onGroupComplete=t?.onGroupComplete}get count(){return this.tweens.length}clear(){this.tweens=[]}sort(t=!1){S1(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||it.Linear.None,interpolationFunction:n?.interpolationFunction||Ln.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 md,n=this.frameDuration;return new Promise(s=>{this.onGroupStart?.(),this.cancelRequestAnimationCycle=Ur(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 pd({...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(),td(t,c))})}const a=!!t.length;return a||(this.onGroupComplete?.(),s()),a})})}isPaused=!1;pausedClock=new md;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=D1(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 Hr=new ll,G1=(o=!0)=>{Hr.filter((t,e)=>(e.alternate&&(eh(e,e.alternate),o&&Hr.set(t,e.alternate),e.alternate=void 0),o))};function gd(o){let t=Hr.get(o);return t||(t=Al(o),Hr.set(o,t)),t}function H1(o){const t=gd(o);return t.alternate||(t.alternate=Al(o)),t.alternate}function j1(o,t,e=!0){t(H1(o)),fd("FLUSH_DOM_ACTION",()=>G1(e),50)}function ie(o){return o*Math.PI/180}function qe(o){return o*180/Math.PI}function yd(o,t,e=0){return Math.sqrt(o*o+t*t+e*e)}function vd(o,t,e,n){return yd(e-o,n-t)}function gl(o,t,e,n){const s=e-o,r=n-t;return s*s+r*r}function jr(o,t,e,n){let s=Math.atan2(n-t,e-o);return s<0&&(s+=Math.PI*2),s}function Wr(o,t){return{dx:Math.cos(o)*t,dy:Math.sin(o)*t}}const bd=W1("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 W1(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 qr(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 q1(o){const t={left:"start",right:"end",center:"middle",start:"start",end:"end"};return t[o]||t.start}function K1(o){const t={alphabetic:"alphabetic",hanging:"hanging",top:"text-before-edge",bottom:"text-after-edge",middle:"central"};return t[o]||t.alphabetic}const As={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 yl{__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 _d{__root;__ctx;constructor(t,e){this.__root=t,this.__ctx=e}}class Kr{__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(As);for(let e=0,n=t.length;e<n;e++){const s=t[e];this[s]=As[s].canvas}}__getStyleState(){const t={},e=Object.keys(As);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(As);for(let r=0;r<s.length;r++){const a=As[s[r]],i=this[s[r]];if(a.apply){if(i instanceof _d){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 yl)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(bd);for(let r=0,a=s.length;r<a;r++){const i=s[r],l=bd[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],v=e+h*d[1],k=[-l[1],l[0]],x=[c[1],-c[0]],m=function(b){const _=b[0];return b[1]>=0?Math.acos(_):-Math.acos(_)},g=m(k),y=m(x);this.lineTo(p+k[0]*r,v+k[1]*r),this.arc(p,v,r,g,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:qr(this.__ids),x1:t+"px",x2:n+"px",y1:e+"px",y2:s+"px",gradientUnits:"userSpaceOnUse"},!1);return this.__SVGdefs.appendChild(r),new yl(r,this)}createRadialGradient(t,e,n,s,r,a){const i=this.__createElement("radialGradient",{id:qr(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 yl(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":q1(this.textAlign),"dominant-baseline":K1(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=qr(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,v,k;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 x=this.__closestGroupOrSvg();this.__currentElement;const m="translate("+n+", "+s+")";if(e instanceof Kr){if(f=e.getSvg().cloneNode(!0),f.childNodes&&f.childNodes.length>1){for(d=f.childNodes[0];d.childNodes.length;)k=d.childNodes[0].getAttribute("id"),this.__ids[k]=k,this.__SVGdefs.appendChild(d.childNodes[0]);if(h=f.childNodes[1],h){const g=h.getAttribute("transform");let y;g?y=g+" "+m:y=m,h.setAttribute("transform",y),x.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)&&(v=this.__document.createElement("canvas"),v.width=r,v.height=a,v.getContext("2d")?.drawImage(e,i,l,c,u,0,0,r,a),e=v),p.setAttribute("transform",m),p.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",e.nodeName==="CANVAS"?e.toDataURL():e.getAttribute("src")),x.appendChild(p))}createPattern(t,e){const n=this.__document.createElementNS("http://www.w3.org/2000/svg","pattern"),s=qr(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 Kr&&(n.setAttribute("width",""+t.width),n.setAttribute("height",""+t.height),n.appendChild(t.__rootSVG.childNodes[1]),this.__SVGdefs.appendChild(n)),new _d(n,this)}setLineDash(t){t&&t.length>0?this.lineDash=t.join(","):this.lineDash=null}drawFocusRing(){}createImageData(){}getImageData(){}putImageData(){}globalCompositeOperation(){}setTransform(){}}class vl{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 Kr({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 Q1=vl;class Qr{x;y;toX;toY;constructor(t){this.x=t?.x||0,this.y=t?.y||0,this.toX=t?.toX||0,this.toY=t?.toY||0}toSVGPathData(){return[["L",this.toX,this.toY]]}toCanvasContext(t){t.lineTo(this.toX,this.toY)}getBoundingClientRect(){const t=jr(this.x,this.y,this.toX,this.toY);if(t===0){const e=Math.min(this.x,this.toX),n=Math.min(this.y,this.toY),s=Math.max(this.x,this.toX),r=Math.max(this.y,this.toY);return{x:e,y:n,width:s-e,height:r-n}}else{const e=Math.sin(t),n=Math.cos(t),s=n*this.x-e*this.y,r=n*this.toX-e*this.toY,a=n*this.y+e*this.x,i=n*this.toY+e*this.toX;return{x:Math.min(s,r),y:Math.min(a,i),width:Math.max(s,r)-Math.min(s,r),height:Math.max(a,i)-Math.min(a,i)}}}interpolate(t){return{x:this.x+t*(this.toX-this.x),y:this.y+t*(this.toY-this.y)}}intersection(t){const e=this.x,n=this.y,s=t.toX,r=t.toY,a=this.toX-e,i=t.x-s;if(!a&&!i)return null;const l=(this.toY-n)/a,c=(t.y-r)/i;if(a){if(!i)return{x:s,y:l*(s-e)+n}}else return{x:e,y:c*(e-s)+r};const u=(-c*s+r+l*e-n)/(l-c),f=l*(u-e)+n;return isNaN(u)||isNaN(f)?null:{x:u,y:f}}}const xd=Qr;class J1 extends Qr{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,v=h*h/(r*r)+p*p/(a*a);if(v>1){const ut=Math.sqrt(v);throw r=ut*r,a=ut*a,new Error(`Radii are too small to build an arc. Correcting them to ${r}/${a}.`)}const k=Math.sqrt((r*r*a*a-r*r*p*p-a*a*h*h)/(r*r*p*p+a*a*h*h)),x=l!=c?1:-1,m=x*k*r*p/a,g=x*k*-a*h/r,y=(t+n)/2,b=(e+s)/2,_=Math.cos(u)*m-Math.sin(u)*g+y,$=Math.sin(u)*m+Math.cos(u)*g+b,Y=(ut,j,tt,vt)=>(ut*vt>=j*tt?1:-1)*Math.acos((ut*tt+j*vt)/(Math.sqrt(ut*ut+j*j)*Math.sqrt(tt*tt+vt*vt))),B=Y(1,0,t-_,e-$)-u,D=Y(t-_,e-$,n-_,s-$);return[_,$,r,a,u,B,B+D]}}const tv=J1;class ev extends Qr{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 ov=ev;class Bn extends Qr{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 v=p+1;v<f;v++)c[p].X===c[v].X&&c[p].Y===c[v].Y&&(v=++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 v=u*f[p]+u,k=this.base3(v,t,n,r,i),x=this.base3(v,e,s,a,l);h+=d[p]*Math.sqrt(k*k+x*x)}return u*h}length(t=1){return Bn.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||Bn.bezlen(e,n,s,r,a,i,l,c)<t)return 0;const u=1;let f=u/2,d=u-f,h=Bn.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=Bn.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,v=n*this.y+e*this.c1y,k=n*this.c2x+e*this.toX,x=n*this.c2y+e*this.toY,m=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:v},end:{x:k,y:x},alpha:m}}}const Ko=Bn,$s=Math.PI*2;function kd(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 nv(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,v=f*f;let k=d*h-d*v-h*p;k<0&&(k=0),k/=d*v+h*p,k=Math.sqrt(k)*(s===r?-1:1);const x=k*a/i*f,m=k*-i/a*u,g=c*x-l*m+(o+e)/2,y=l*x+c*m+(t+n)/2,b=(u-x)/a,_=(f-m)/i,$=(-u-x)/a,Y=(-f-m)/i,B=kd(1,0,b,_);let D=kd(b,_,$,Y);return r===0&&D>0&&(D-=$s),r===1&&D<0&&(D+=$s),[g,y,B,D]}function sv(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 wd(o,t,e,n,s,r,a,i,l){const c=Math.sin(l*$s/360),u=Math.cos(l*$s/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=nv(o,t,e,n,s,r,a,i,c,u),v=[];let k=p[2],x=p[3];const m=Math.max(Math.ceil(Math.abs(x)/($s/4)),1);x/=m;for(let g=0;g<m;g++)v.push(sv(k,x)),k+=x;return v.map(g=>{for(let y=0;y<g.length;y+=2){let b=g[y+0],_=g[y+1];b*=a,_*=i;const $=u*b-c*_,Y=c*b+u*_;g[y+0]=$+p[0],g[y+1]=Y+p[1]}return g})}function bl(o,t,e,n,s,r){return[o/3+.6666666666666666*e,t/3+.6666666666666666*n,s/3+.6666666666666666*e,r/3+.6666666666666666*n,s,r]}function Ns(o,t,e,n){return[o,t,e,n,e,n]}const Jr={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",e){const n=document.createElementNS.call(document,"http://www.w3.org/2000/svg",t);return e&&lv(n,e),n}static createSvgPath(t,e){return this.createSVGElement("path",{d:t,id:e||zn()})}static downloadFromSVGElement(t,e="shape"){return Qd(R1(t),`${e}.svg`)}static downloadFromSVGString(t,e="shape"){return Qd(rd(t),`${e}.svg`)}static getSVGRawStringFromElement(t){return ud(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 wn.isSVGPath(t)&&t.replace(/([mlhvzaqtcs])([^mlhvzaqtcs]*)/gi,(n,s,r)=>{let a=s.toLowerCase();const i=ol(r);for(a=="m"&&i.length>Jr[a]&&(e.push([s,...i.splice(0,Jr[a])]),a="l",s=s=="m"?"l":"L");i.length;){if(i.length<Jr[a])throw new Error(`parseSVGPath substring:{ ${n} } command:{ ${s} } args:{ ${i} }`);e.push([s,...i.splice(0,Jr[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 v=p[0];switch(v){case"M":n=p[1],s=p[2];break;case"A":const k=wd(r,a,p[6],p[7],p[4],p[5],p[1],p[2],p[3]);if(!k.length)continue;k.forEach((g,y)=>{const[b,_,$,Y,B,D,ut,j]=g;p=["C",$,Y,B,D,ut,j],y<k.length-1&&e.push(p)});break;case"S":let x=r,m=a;(f=="C"||f=="S")&&(x+=x-c,m+=m-u),p=["C",x,m,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",...bl(r,a,i,l,p[1],p[2])];break;case"Q":i=p[1],l=p[2],p=["C",...bl(r,a,p[1],p[2],p[3],p[4])];break;case"L":p=["C",...Ns(r,a,p[1],p[2])];break;case"H":p=["C",...Ns(r,a,p[1],a)];break;case"V":p=["C",...Ns(r,a,r,p[1])];break;case"Z":p=["C",...Ns(r,a,n,s)];break}f=v,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 vo{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(wn.parseSVGPath(t),e):t instanceof vo?this.resetFromSVGPathData(t.toSVGPathData(),e):this.resetFromSVGPathData(t||[],e)}resetFromSVGPathData(t,e){this.normalizedLines=[];const n=wn.normalizeSVGPath(wn.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 Ko({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 vo;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 Ko({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 vo;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 tv){wd(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,v,k,x]=c;this.normalizedLines.push(new Ko({x:this.prevPathX,y:this.prevPathY,c1x:d,c1y:h,c2x:p,c2y:v,toX:k,toY:x})),this.prevPathX=k,this.prevPathY=x});return}let e,n,s,r,a,i;t instanceof Ko?(e=t.c1x,n=t.c1y,s=t.c2x,r=t.c2y,a=t.toX,i=t.toY):t instanceof ov?[e,n,s,r,a,i]=bl(this.prevPathX,this.prevPathY,t.cx,t.cy,t.toX,t.toY):[e,n,s,r,a,i]=Ns(this.prevPathX,this.prevPathY,t.toX,t.toY),this.normalizedLines.push(new Ko({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 wn.SVGPathDataToD(this.toSVGPathData())}toCanvasContext(t){const{startPathX:e,startPathY:n,normalizedLines:s}=this.updateTransform();t.beginPath(),t.moveTo(e,n),s.forEach(r=>{r.toCanvasContext(t)})}getBoundingClientRect(){const{normalizedLines:t}=this.updateTransform(),e=[],n=[];if(t.forEach(l=>{const c=l.getBoundingClientRect();e.push(c.x,c.x+c.width),n.push(c.y,c.y+c.height)}),e.length==0||n.length==0)return{x:0,y:0,width:0,height:0};const s=Math.min.apply(0,e),r=Math.min.apply(0,n),a=Math.max.apply(0,e),i=Math.max.apply(0,n);return{x:s,y:r,width:a-s,height:i-r}}update(t){this.cX=typeof t.cX=="number"?t.cX:this.cX,this.cY=typeof t.cY=="number"?t.cY:this.cY,this.x=t.x,this.y=t.y,this.degree=t.degree,this.scalarX=t.scalarX,this.scalarY=t.scalarY}updateTransform(){const t=new Qe;if(t.translate(this.x+this.cX,this.y+this.cY),t.rotate(this.degree),t.scale(this.scalarX,this.scalarY),t.translate(-this.cX,-this.cY),t.isIdentity)return{startPathX:this.startPathX,startPathY:this.startPathY,normalizedLines:this.normalizedLines};{let e=this.startPathX,n=this.startPathY;({x:e,y:n}=t.transformPoint({x:e,y:n}));const s=[];return this.normalizedLines.forEach(r=>{let a=r.x,i=r.y,l=r.c1x,c=r.c1y,u=r.c2x,f=r.c2y,d=r.toX,h=r.toY;({x:a,y:i}=t.transformPoint({x:a,y:i})),{x:l,y:c}=t.transformPoint({x:l,y:c}),{x:u,y:f}=t.transformPoint({x:u,y:f}),{x:d,y:h}=t.transformPoint({x:d,y:h}),s.push(new Ko({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 vo;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 Ko({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 Ko({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=gl(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=gl(u.x,u.y,t,e),d=r+i,h=this.getPointAtLength(d),p=gl(h.x,h.y,t,e);c>=0&&f<a?(s=u,r=c,a=f):d<=n&&p<a?(s=h,r=d,a=p):i/=2}const l=this.getPointAtLength(r+(r===n?-.1:.1));return{point:s,rotation:r>=n?jr(l.x,l.y,s.x,s.y):jr(s.x,s.y,l.x,l.y),distance:Math.sqrt(a)}}get polymorphPoints(){const{startPathX:t,startPathY:e,normalizedLines:n}=this.updateTransform();return[t,e].concat(n.reduce((s,r)=>s.concat([r.c1x,r.c1y,r.c2x,r.c2y,r.toX,r.toY]),[]))}perimeterPoints(){const t=this.polymorphPoints,e=t.length;let n=t[e-2],s=t[e-1],r=0;for(let a=0;a<e;a+=6)r+=vd(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]=Re(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:vo.fromPolymorphPoints(vo.mixPoints(new vo({d:t}).polymorphPoints,new vo({d:e}).polymorphPoints,n)).toSVGPathData()}}class Fs extends Vr{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=zn(),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=ol(n).reduce((s,r)=>s+r,0)}return E1(this)}forceSetCXY(t,e){this.cX=t,this.cY=e,this.forceCXY=!0}shapeInit(){}initPathD(){if(!this.pathd){if(this.pathd=new vo,al(()=>{this.pathd?.reset(this.originD||this.toSVGPathData(),this.originMatrix)}),this.pathd&&!this.forceCXY){const t=this.shapes.length==0?this.pathd.getBoundingClientRect():this.getBoundingClientRect();t&&(this.pathd.cX=this.cX=t.x+t.width/2-this.pathd.x,this.pathd.cY=this.cY=t.y+t.height/2-this.pathd.y)}this.shapeInit()}return this.pathd}frameStart(t){}frameUpdate(t,e){this.pathd=this.initPathD(),this.pathd.update(this),this.strokeArmyAnts&&(this.isMouseIn||(this.setAttr("stroke-dashoffset",String(this.strokeArmyAntsOffset++)),this.strokeArmyAntsOffset>this.strokeDashTotalLength&&(this.strokeArmyAntsOffset=0)))}frameEnd(t){}toSVGPathData(){return[]}toSVGPathD(){return this.pathd?.toSVGPathD()||""}toCanvasContext(t){this.usePathDtoCanvasContext=!0,this.pathd?.toCanvasContext(t)}getBoundingClientRect(){return this.pathd?.getBoundingClientRect()||null}get center(){const t=this.getBoundingClientRect(),e={x:this.x,y:this.y};return t&&(e.x=t.x+t.width/2,e.y=t.y+t.height/2),e}trim(){if(this.parent)return;const t=this.getBoundingClientRect();if(!t)return;this.shapes.forEach(n=>{const s=n.originMatrix?n.originMatrix.clone():new Qe;s.translate(-t.x+n.x,-t.y+n.y),n.originMatrix=s});const e=this.originMatrix?this.originMatrix.clone():new Qe;e.translate(-t.x+this.x,-t.y+this.y),this.originMatrix=e}isPointInPath(t,e,n){if(n instanceof vl)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 vl)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 l1(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])=>[Fo(n),s]))):e&&(this.attrs[Fo(t)]=e)}getAttr(t,e){return this.attrs[t]||this.attrs[Fo(t)]||e}getAttrs(){return this.attrs}hasAttr(t){return!!this.attrs[t]||!!this.attrs[Fo(t)]}distance(t){return vd(this.x,this.y,t.x,t.y)}rotateTo(t){this.degree=qe(jr(this.x,this.y,t.x,t.y))}followTo(t,e=3){this.rotateTo(t);const{dx:n,dy:s}=Wr(ie(this.degree),e);this.vx=n,this.vy=s,this.run()}followAccelerationTo(t,e=.05){this.rotateTo(t);const{dx:n,dy:s}=Wr(ie(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=io(t?.gravity,0);this.vy+=e;const n=io(t?.friction,1);this.vx*=n,this.vy*=n,this.x+=this.vx,this.y+=this.vy}runEaseTo(t,e){const n=io(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=io(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=io(e?.springLength,100),s=io(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=Re(n.getTotalLength(),0);this.setAttr({strokeDasharray:`${s} ${s}`,strokeDashoffset:`${s}`});const r=e?.onUpdate,a=new Xe({frameDuration:t});a.addTween({offset:s},{offset:0},Object.assign(e||{},{onUpdate:(i,l)=>{this.setAttr("strokeDashoffset",""+Re(i.offset,2)),r?.(i,l)}})),a.play()}}class rv extends Fs{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}=wl(ie(t),this.y,this.z))}rotateY(t){({x:this.x,y:this.z}=wl(ie(t),this.x,this.z))}rotateZ(t){({x:this.x,y:this.y}=wl(ie(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 yd(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 ta=rv;class _l{_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],v=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]=v;return}if(f!==v||l!==d||c!==h||u!==p){let k=1-i;const x=l*d+c*h+u*p+f*v,m=x>=0?1:-1,g=1-x*x;if(g>Number.EPSILON){const b=Math.sqrt(g),_=Math.atan2(b,x*m);k=Math.sin(k*_)/b,i=Math.sin(i*_)/b}const y=i*m;if(l=l*k+d*y,c=c*k+h*y,u=u*k+p*y,f=f*k+v*y,k===1-i){const b=1/Math.sqrt(l*l+c*c+u*u+f*f);l*=b,c*=b,u*=b,f*=b}}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 _l(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 lo{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 lo(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(Cd.setFromEuler(t))}applyAxisAngle(t,e){return this.applyQuaternion(Cd.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 xl.copy(this).projectOnVector(t),this.sub(xl)}projectOnPlane(t){return this.perpendOnVector(t)}reflect(t){return this.sub(xl.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 xl=new lo,Cd=new _l,ea=2e3,Td=2001,Ed=[1,0,0,1,0,0],Sd=[1,0,0,0,1,0,0,0,1],Od=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];class zs{value;constructor(t=Sd){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(Sd),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 zs(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],v=s[0],k=s[3],x=s[6],m=s[1],g=s[4],y=s[7],b=s[2],_=s[5],$=s[8];return r[0]=a*v+i*m+l*b,r[3]=a*k+i*g+l*_,r[6]=a*x+i*y+l*$,r[1]=c*v+u*m+f*b,r[4]=c*k+u*g+f*_,r[7]=c*x+u*y+f*$,r[2]=d*v+h*m+p*b,r[5]=d*k+h*g+p*_,r[8]=d*x+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 v=1/p;return t[0]=f*v,t[1]=(s*c-u*n)*v,t[2]=(i*n-s*a)*v,t[3]=d*v,t[4]=(u*e-s*l)*v,t[5]=(s*r-i*e)*v,t[6]=h*v,t[7]=(n*l-c*e)*v,t[8]=(a*e-n*r)*v,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(kl.makeScale(t,e)),this}rotate(t){return this.premultiply(kl.makeRotation(-t)),this}translate(t,e){return this.premultiply(kl.makeTranslation(t,e)),this}makeTranslation(t,e){return typeof t=="number"?this.set(1,0,t,0,1,e,0,0,1):this.set(1,0,t.x,0,1,t.y,0,0,1),this}makeRotation(t){const e=Math.cos(t),n=Math.sin(t);return this.set(e,-n,0,n,e,0,0,0,1),this}makeScale(t,e){return this.set(t,0,0,0,e,0,0,0,1),this}equals(t){for(let e=0;e<9;e++)if(this.value[e]!==t.value[e])return!1;return!0}}class Ke{value;is3dSpecial=!1;constructor(t=Od){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,v=0,k=1){const x=this.value;return x[0]=t,x[4]=e,x[8]=n,x[12]=s,x[1]=r,x[5]=a,x[9]=i,x[13]=l,x[2]=c,x[6]=u,x[10]=f,x[14]=d,x[3]=h,x[7]=p,x[11]=v,x[15]=k,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(Od),this}get isIdentity(){return this.m11==1&&this.m12==0&&this.m13==0&&this.m14==0&&this.m21==0&&this.m22==1&&this.m23==0&&this.m24==0&&this.m31==0&&this.m32==0&&this.m33==1&&this.m34==0&&this.m41==0&&this.m42==0&&this.m43==0&&this.m44==1}copy(t){return this.m11=t.m11,this.m12=t.m12,this.m13=t.m13,this.m14=t.m14,this.m21=t.m21,this.m22=t.m22,this.m23=t.m23,this.m24=t.m24,this.m31=t.m31,this.m32=t.m32,this.m33=t.m33,this.m34=t.m34,this.m41=t.m41,this.m42=t.m42,this.m43=t.m43,this.m44=t.m44,this}clone(){return new Ke(this.value)}static fromString(t){const e=new Ke,n=Kf("number",t);return n.length===16&&n.forEach((s,r)=>{s.fullMatch&&(e.value[r]=parseFloat(s.fullMatch))}),e}fromArray(t,e=0){for(let n=0;n<16;n++)this.value[n]=t[n+e];return this}toArray(t=[],e=0){const n=this.value;return t[e]=n[0],t[e+1]=n[1],t[e+2]=n[2],t[e+3]=n[3],t[e+4]=n[4],t[e+5]=n[5],t[e+6]=n[6],t[e+7]=n[7],t[e+8]=n[8],t[e+9]=n[9],t[e+10]=n[10],t[e+11]=n[11],t[e+12]=n[12],t[e+13]=n[13],t[e+14]=n[14],t[e+15]=n[15],t}copyPosition(t){const e=this.value,n=t.value;return e[12]=n[12],e[13]=n[13],e[14]=n[14],this}setFromMatrix3(t){const e=t.value;return this.set(e[0],e[3],e[6],0,e[1],e[4],e[7],0,e[2],e[5],e[8],0,0,0,0,1),this}extractBasis(t,e,n){return t.setFromMatrix4Column(this,0),e.setFromMatrix4Column(this,1),n.setFromMatrix4Column(this,2),this}makeBasis(t,e,n){return this.set(t.x,e.x,n.x,0,t.y,e.y,n.y,0,t.z,e.z,n.z,0,0,0,0,1),this}normalize(){return this.multiplyScalar(1/(this.m44||1e-4))}transformPoint(t){const e=t.z||1,n=t.w||1;return{x:t.x*this.m11+t.y*this.m21+e*this.m31+n*this.m41,y:t.x*this.m12+t.y*this.m22+e*this.m32+n*this.m42,z:t.x*this.m13+t.y*this.m23+e*this.m33+n*this.m43,w:t.x*this.m14+t.y*this.m24+e*this.m34+n*this.m44}}toMatrix(t){const{scalarX:e,scalarY:n,skewX:s,skewY:r,x:a,y:i}=this.split(),l=[e,r,s,n,a,i];return t?(t.value=l,t):new Qe(l)}flatten(){return this.m31=0,this.m32=0,this.m33=1,this.m34=0,this.m14=0,this.m24=0,this.m43=0,this.m44=1,this}toString(t=6){return`matrix4(${this.value.map(e=>Re(e,t)).join(",")})`}split(){const t=Math.sqrt(this.m11*this.m11+this.m12*this.m12+this.m13*this.m13),e=Math.sqrt(this.m21*this.m21+this.m22*this.m22+this.m23*this.m23),n=Math.sqrt(this.m31*this.m31+this.m32*this.m32+this.m33*this.m33),s=qe(Vt(Math.asin(-this.m13),-1,1));let r=qe(Math.atan2(this.m23,this.m33));Math.cos(ie(s))===0&&(r=qe(Math.atan2(-this.m31,this.m22)));let a=qe(Math.atan2(this.m12,this.m11));return this.m11<0&&this.m22>=0&&(a+=180),{x:this.m41,y:this.m42,z:this.m43,scalarX:t,scalarY:e,scalarZ:n,degreeX:r,degreeY:s,degreeZ:a,skewX:qe(this.m14),skewY:qe(this.m24),skewZ:qe(this.m34),skewW:this.m44,perspective:this.m34?-(1/this.m34):0}}extractRotation(t){const e=this.value,n=t.value,s=1/Vn.setFromMatrix4Column(t,0).length(),r=1/Vn.setFromMatrix4Column(t,1).length(),a=1/Vn.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,v=i*f;e[0]=l*u,e[4]=-l*f,e[8]=c,e[1]=h+p*c,e[5]=d-v*c,e[9]=-i*l,e[2]=v-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,v=c*f;e[0]=d+v*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]=v+d*i,e[10]=a*l}else if(t.order==="ZXY"){const d=l*u,h=l*f,p=c*u,v=c*f;e[0]=d-v*i,e[4]=-a*f,e[8]=p+h*i,e[1]=h+p*i,e[5]=a*u,e[9]=v-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,v=i*f;e[0]=l*u,e[4]=p*c-h,e[8]=d*c+v,e[1]=l*f,e[5]=v*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,v=i*c;e[0]=l*u,e[4]=v-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-v*f}else if(t.order==="XZY"){const d=a*l,h=a*c,p=i*l,v=i*c;e[0]=l*u,e[4]=-f,e[8]=c*u,e[1]=d*f+v,e[5]=a*u,e[9]=h*f-p,e[2]=p*f-h,e[6]=i*u,e[10]=v*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(av,t,iv)}lookAt(t,e,n){const s=this.value;return Ze.subVectors(t,e),Ze.lengthSq()===0&&(Ze.z=1),Ze.normalize(),Qo.crossVectors(n,Ze),Qo.lengthSq()===0&&(Math.abs(n.z)===1?Ze.x+=1e-4:Ze.z+=1e-4,Ze.normalize(),Qo.crossVectors(n,Ze)),Qo.normalize(),oa.crossVectors(Ze,Qo),s[0]=Qo.x,s[4]=oa.x,s[8]=Ze.x,s[1]=Qo.y,s[5]=oa.y,s[9]=Ze.y,s[2]=Qo.z,s[6]=oa.z,s[10]=Ze.z,this}multiplyMatrices(t,e){const n=t.value,s=e.value,r=this.value,a=n[0],i=n[4],l=n[8],c=n[12],u=n[1],f=n[5],d=n[9],h=n[13],p=n[2],v=n[6],k=n[10],x=n[14],m=n[3],g=n[7],y=n[11],b=n[15],_=s[0],$=s[4],Y=s[8],B=s[12],D=s[1],ut=s[5],j=s[9],tt=s[13],vt=s[2],St=s[6],$t=s[10],kt=s[14],wt=s[3],oe=s[7],pe=s[11],he=s[15];return r[0]=a*_+i*D+l*vt+c*wt,r[4]=a*$+i*ut+l*St+c*oe,r[8]=a*Y+i*j+l*$t+c*pe,r[12]=a*B+i*tt+l*kt+c*he,r[1]=u*_+f*D+d*vt+h*wt,r[5]=u*$+f*ut+d*St+h*oe,r[9]=u*Y+f*j+d*$t+h*pe,r[13]=u*B+f*tt+d*kt+h*he,r[2]=p*_+v*D+k*vt+x*wt,r[6]=p*$+v*ut+k*St+x*oe,r[10]=p*Y+v*j+k*$t+x*pe,r[14]=p*B+v*tt+k*kt+x*he,r[3]=m*_+g*D+y*vt+b*wt,r[7]=m*$+g*ut+y*St+b*oe,r[11]=m*Y+g*j+y*$t+b*pe,r[15]=m*B+g*tt+y*kt+b*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],v=t[7],k=t[11],x=t[15];return p*(+r*l*f-s*c*f-r*i*d+n*c*d+s*i*h-n*l*h)+v*(+e*l*h-e*c*d+r*a*d-s*a*h+s*c*u-r*l*u)+k*(+e*c*f-e*i*h-r*a*f+n*a*h+r*i*u-n*c*u)+x*(-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 lo?(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],v=t[13],k=t[14],x=t[15],m=f*k*c-v*d*c+v*l*h-i*k*h-f*l*x+i*d*x,g=p*d*c-u*k*c-p*l*h+a*k*h+u*l*x-a*d*x,y=u*v*c-p*f*c+p*i*h-a*v*h-u*i*x+a*f*x,b=p*f*l-u*v*l-p*i*d+a*v*d+u*i*k-a*f*k,_=e*m+n*g+s*y+r*b;if(_===0)return this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);const $=1/_;return t[0]=m*$,t[1]=(v*d*r-f*k*r-v*s*h+n*k*h+f*s*x-n*d*x)*$,t[2]=(i*k*r-v*l*r+v*s*c-n*k*c-i*s*x+n*l*x)*$,t[3]=(f*l*r-i*d*r-f*s*c+n*d*c+i*s*h-n*l*h)*$,t[4]=g*$,t[5]=(u*k*r-p*d*r+p*s*h-e*k*h-u*s*x+e*d*x)*$,t[6]=(p*l*r-a*k*r-p*s*c+e*k*c+a*s*x-e*l*x)*$,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*v*r-p*n*h+e*v*h+u*n*x-e*f*x)*$,t[10]=(a*v*r-p*i*r+p*n*c-e*v*c-a*n*x+e*i*x)*$,t[11]=(u*i*r-a*f*r-u*n*c+e*f*c+a*n*h-e*i*h)*$,t[12]=b*$,t[13]=(u*v*s-p*f*s+p*n*d-e*v*d-u*n*k+e*f*k)*$,t[14]=(p*i*s-a*v*s-p*n*l+e*v*l+a*n*k-e*i*k)*$,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 lo?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=ea){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===ea)h=-(a+r)/(a-r),p=-2*a*r/(a-r);else if(i===Td)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=ea){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,v;if(i===ea)p=(a+r)*f,v=-2*f;else if(i===Td)p=r*f,v=-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]=v,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,v=a*u,k=a*f,x=i*f,m=l*c,g=l*u,y=l*f,b=n.x,_=n.y,$=n.z;return s[0]=(1-(v+x))*b,s[1]=(h+y)*b,s[2]=(p-g)*b,s[3]=0,s[4]=(h-y)*_,s[5]=(1-(d+x))*_,s[6]=(k+m)*_,s[7]=0,s[8]=(p+g)*$,s[9]=(k-m)*$,s[10]=(1-(d+v))*$,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=Vn.set(s[0],s[1],s[2]).length();const a=Vn.set(s[4],s[5],s[6]).length(),i=Vn.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],co.copy(this);const c=1/r,u=1/a,f=1/i;return co.value[0]*=c,co.value[1]*=c,co.value[2]*=c,co.value[4]*=u,co.value[5]*=u,co.value[6]*=u,co.value[8]*=f,co.value[9]*=f,co.value[10]*=f,e.setFromRotationMatrix4(co),n.x=r,n.y=a,n.z=i,this}equals(t){for(let e=0;e<16;e++)if(this.value[e]!==t.value[e])return!1;return!0}translate(t=0,e=0,n=0){return this.multiply(new Ke([1,0,0,0,0,1,0,0,0,0,1,0,t,e,n,1]))}scale(t=1,e=1,n=1){return this.multiply(new Ke([t,0,0,0,0,e,0,0,0,0,n,0,0,0,0,1]))}scaleVector3(t){const e=this.value,n=t.x,s=t.y,r=t.z;return e[0]*=n,e[4]*=s,e[8]*=r,e[1]*=n,e[5]*=s,e[9]*=r,e[2]*=n,e[6]*=s,e[10]*=r,e[3]*=n,e[7]*=s,e[11]*=r,this}rotateX(t){const e=ie(t),n=Math.cos(e),s=Math.sin(e);return this.multiply(new Ke([1,0,0,0,0,n,s,0,0,-s,n,0,0,0,0,1]))}rotateY(t){const e=ie(t),n=Math.cos(e),s=Math.sin(e);return this.multiply(new Ke([n,0,-s,0,0,1,0,0,s,0,n,0,0,0,0,1]))}rotateZ(t){this.is3dSpecial=!0;const e=ie(t),n=Math.cos(e),s=Math.sin(e);return this.multiply(new Ke([n,s,0,0,-s,n,0,0,0,0,1,0,0,0,0,1]))}skew(t=0,e=0,n=0){return this.multiply(new Ke([1,0,0,ie(t),0,1,0,ie(e),0,0,1,ie(n),0,0,0,1]))}perspective(t){return this.multiply(new Ke([1,0,0,0,0,1,0,0,0,0,1,t?-(1/t):0,0,0,0,1]))}unproject(t){let e=t.x*this.m11+t.y*this.m21+this.m41,n=t.x*this.m12+t.y*this.m22+this.m42,s=t.x*this.m13+t.y*this.m23+this.m43,r=t.x*this.m14+t.y*this.m24+this.m44,a=e+this.m31,i=n+this.m32,l=s+this.m33,c=r+this.m34;r==0&&(r=1e-4),e/=r,n/=r,s/=r,c==0&&(c=1e-4),a/=c,i/=c,l/=c;const u=l-s;if(u==0)return{x:e,y:n,z:s,mass:r};const f=-s/u;return e+=f*(a-e),n+=f*(i-n),{x:e,y:n,z:s,mass:r}}project(t){const e=t.z;let n=t.x*this.m11+t.y*this.m21+e*this.m31+this.m41,s=t.x*this.m12+t.y*this.m22+e*this.m32+this.m42,r=t.x*this.m14+t.y*this.m24+e*this.m34+this.m44;return r==0&&(r=1e-4),n/=r,s/=r,r<0&&(n-=this.m41,s-=this.m42,n*=1/r,s*=1/r,n+=this.m41,s+=this.m42),{x:n,y:s,z:e,mass:r}}bounds(t,e,n,s){const r=new ta({x:t,y:e}),a=new ta({x:t+n,y:e}),i=new ta({x:t+n,y:e+s}),l=new ta({x:t,y:e+s});({x:r.x,y:r.y,z:r.z,mass:r.mass}=this.project(r)),{x:a.x,y:a.y,z:a.z,mass:a.mass}=this.project(a),{x:i.x,y:i.y,z:i.z,mass:i.mass}=this.project(i),{x:l.x,y:l.y,z:l.z,mass:l.mass}=this.project(l);const c=Math.min(r.x,a.x,i.x,l.x),u=Math.min(r.y,a.y,i.y,l.y),f=Math.max(r.x,a.x,i.x,l.x)-c,d=Math.max(r.y,a.y,i.y,l.y)-u;return{x:c,y:u,width:f,height:d}}}class Qe{value;_m13=0;_m23=0;_m33=1;matrix4;constructor(t=Ed){this.value=Array.from(t),this.matrix4=this.toMatrix4()}get m11(){return this.value[0]}get m12(){return this.value[1]}get m13(){return this._m13}get m21(){return this.value[2]}get m22(){return this.value[3]}get m23(){return this._m23}get m31(){return this.value[4]}get m32(){return this.value[5]}get m33(){return this._m33}set m11(t){this.value[0]=t}set m12(t){this.value[1]=t}set m13(t){this._m13=t}set m21(t){this.value[2]=t}set m22(t){this.value[3]=t}set m23(t){this._m23=t}set m31(t){this.value[4]=t}set m32(t){this.value[5]=t}set m33(t){this._m33=t}static fromString(t){const e=new Qe,n=Kf("number",t);return n.length===6&&n.forEach((s,r)=>{s.fullMatch&&(e.value[r]=parseFloat(s.fullMatch))}),e}toMatrix4(t=this.matrix4){const e=[this.m11,this.m12,0,this.m13,this.m21,this.m22,0,this.m23,0,0,1,0,this.m31,this.m32,0,this.m33];return t?(t.value=e,t):new Ke(e)}identity(){return this.value=Array.from(Ed),this.m13=0,this.m23=0,this.m33=1,this.matrix4=this.toMatrix4(),this}get isIdentity(){return this.m11==1&&this.m12==0&&this.m13==0&&this.m21==0&&this.m22==1&&this.m23==0&&this.m31==0&&this.m32==0&&this.m33==1}multiplyScalar(t){return this.m11*=t,this.m12*=t,this.m13*=t,this.m21*=t,this.m22*=t,this.m23*=t,this.m31*=t,this.m32*=t,this.m33*=t,this}normalize(){const t=this.m33||1e-4;return this.multiplyScalar(1/t)}transformPoint(t){const e=t.z||1;return{x:t.x*this.m11+t.y*this.m21+e*this.m31,y:t.x*this.m12+t.y*this.m22+e*this.m32,z:t.x*this.m13+t.y*this.m23+e*this.m33}}clone(){return new Qe(this.value)}multiply(t){const e=this.clone(),n=t instanceof Qe?t:new Qe(t);return this.m11=n.m11*e.m11+n.m12*e.m21+n.m13*e.m31,this.m12=n.m11*e.m12+n.m12*e.m22+n.m13*e.m32,this.m13=n.m11*e.m13+n.m12*e.m23+n.m13*e.m33,this.m21=n.m21*e.m11+n.m22*e.m21+n.m23*e.m31,this.m22=n.m21*e.m12+n.m22*e.m22+n.m23*e.m32,this.m23=n.m21*e.m13+n.m22*e.m23+n.m23*e.m33,this.m31=n.m31*e.m11+n.m32*e.m21+n.m33*e.m31,this.m32=n.m31*e.m12+n.m32*e.m22+n.m33*e.m32,this.m33=n.m31*e.m13+n.m32*e.m23+n.m33*e.m33,this}append(t){return this.multiply(t)}prepend(t){return t.multiply(this),this}invert(){const t=this.m11,e=this.m12,n=this.m13,s=this.m21,r=this.m22,a=this.m23,i=this.m31,l=this.m32,c=this.m33,u=c*r-a*l,f=-c*s+a*i,d=l*s-r*i;let h=t*u+e*f+n*d;return h?(h=1/h,this.m11=u*h,this.m12=(-c*e+n*l)*h,this.m13=(a*e-n*r)*h,this.m21=f*h,this.m22=(c*t-n*i)*h,this.m23=(-a*t+n*s)*h,this.m31=d*h,this.m32=(-l*t+e*i)*h,this.m33=(r*t-e*s)*h,this):null}adjugate(){const t=new Qe;return t.m11=this.m22*this.m33-this.m32*this.m23,t.m12=this.m32*this.m13-this.m12*this.m33,t.m13=this.m12*this.m23-this.m22*this.m13,t.m21=this.m31*this.m23-this.m21*this.m33,t.m22=this.m11*this.m33-this.m31*this.m13,t.m23=this.m21*this.m13-this.m11*this.m23,t.m31=this.m21*this.m32-this.m31*this.m22,t.m32=this.m31*this.m12-this.m11*this.m32,t.m33=this.m11*this.m22-this.m21*this.m12,t}split(){let t=qe(Math.atan2(this.m12,this.m11));return this.m11<0&&this.m22>=0&&(t+=180),{x:this.m31,y:this.m32,degree:t,scaleX:Math.sqrt(this.m11*this.m11+this.m12*this.m12),scaleY:Math.sqrt(this.m21*this.m21+this.m22*this.m22),skewX:qe(Math.atan2(-this.m21,this.m22)),skewY:qe(Math.atan2(this.m12,this.m11))}}getGroupCoords(t){const e=this.value[0],n=this.value[1],s=this.value[2],r=this.value[3],a=this.value[4],i=this.value[5],l=t.value[0],c=t.value[1],u=t.value[2],f=t.value[3],d=t.value[4],h=t.value[5],p=l*f,v=c*u,k=(u*n-e*f)/(v-p),x=(l*n-e*c)/(p-v),m=(u*r-s*f)/(v-p),g=(l*r-s*c)/(p-v),y=(u*(i-h)+f*(d-a))/(v-p),b=(l*(i-h)+c*(d-a))/(p-v),_=[k,x,m,g,y,b];return new Qe(_)}toString(t=6){return this.matrix4.is2D()?`matrix(${this.value.map(e=>Re(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=ie(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(ie(e)),Math.sin(ie(e)),-Math.sin(ie(t)),Math.cos(ie(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 av=new lo(0,0,0),iv=new lo(1,1,1),Qo=new lo,oa=new lo,Ze=new lo,Vn=new lo,kl=new zs,co=new Ke;function wl(o,t,e){const n=new Qe;return n.rotate(qe(o)),n.transformPoint({x:t,y:e})}function Cl(o,t,e){const n=gd(o);return n.props.style=n.props.style||{},t?n.props.style[t]||n.props.style[e1(t)]||n.props.style[Fo(t)]||"":n.props.style}function Pd(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 Tl(o,t,e){typeof t=="string"&&e?o.style.setProperty(Fo(t),e.replace(/!important/i,""),String(e).toLowerCase().includes("!important")?"important":""):t instanceof Object&&Object.keys(t).forEach(n=>{Tl(o,n,t[n])})}function Rd(o,t){typeof t=="string"?o.style.removeProperty(Fo(t)):Object.keys(t).forEach(e=>{Rd(o,e)})}function bo(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 lv(o,t,e){if(t===void 0&&e===void 0)return Id(o);if(typeof t=="string"&&e===void 0)return cv(o,t);let n={};typeof t=="object"?n=t:typeof t=="string"&&typeof e=="string"&&(n[t]=""+e),j1(o,s=>{Object.entries(n).forEach(([r,a])=>{s.props[r]=""+a})})}function Id(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]=Pd(o):t[r.nodeName]=r.nodeValue)}return t}function cv(o,t){return t==="style"?Pd(o):o.getAttribute(Fo(t))}function na(o,t,e){return o.setAttribute(Fo(t),""+e)}function uv(o,t){const e=[];return e.push(Jt(o,"dragenter",n=>{Zr(n),t?.onEnter?.(n)})),e.push(Jt(o,"dragover",n=>{Zr(n);const s=n.dataTransfer;s&&(s.dropEffect="move"),t?.onOver?.(n)})),e.push(Jt(o,"dragleave",n=>{Zr(n),t?.onLeave?.(n)})),e.push(Jt(o,"drop",n=>{Zr(n);const s=n.dataTransfer;if(!s){t?.onDrop?.(n,[]);return}t?.onDrop?.(n,[...s.files])})),()=>{e.forEach(n=>n())}}function sa(){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 Ds(){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 Ad(o){const{top:t,left:e,width:n,height:s}=o.getBoundingClientRect(),{scrollLeft:r,scrollTop:a}=sa();return{x:e+r,y:t+a,width:n,height:s}}function fv(){const{clientHeight:o,scrollTop:t,scrollHeight:e}=sa(),n=e-o;return n<=0?0:t/n*100}function dv(){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 $d(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}=sa();return{x:o.clientX+t,y:o.clientY+e}}function Ms(o,t){const e={x:0,y:0};if(t){const n=$d(o),s=Ad(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=$d(o),a=Ad(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 Nd={exports:{}};/*! Hammer.JS - v2.0.7 - 2016-04-22
54
39
  * http://hammerjs.github.io/
55
40
  *
56
41
  * Copyright (c) 2016 Jorik Tangelder;
57
- * Licensed under the MIT license */(function(s){(function(t,e,o,r){var n=["","webkit","Moz","MS","ms","o"],a=e.createElement("div"),i="function",l=Math.round,c=Math.abs,u=Date.now;function d(y,C,O){return setTimeout(g(y,O),C)}function h(y,C,O){return Array.isArray(y)?(p(y,O[C],O),!0):!1}function p(y,C,O){var V;if(y)if(y.forEach)y.forEach(C,O);else if(y.length!==r)for(V=0;V<y.length;)C.call(O,y[V],V,y),V++;else for(V in y)y.hasOwnProperty(V)&&C.call(O,y[V],V,y)}function f(y,C,O){var V="DEPRECATED METHOD: "+C+`
58
- `+O+` AT
59
- `;return function(){var st=new Error("get-stack-trace"),mt=st&&st.stack?st.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,V,mt),y.apply(this,arguments)}}var b;typeof Object.assign!="function"?b=function(C){if(C===r||C===null)throw new TypeError("Cannot convert undefined or null to object");for(var O=Object(C),V=1;V<arguments.length;V++){var st=arguments[V];if(st!==r&&st!==null)for(var mt in st)st.hasOwnProperty(mt)&&(O[mt]=st[mt])}return O}:b=Object.assign;var w=f(function(C,O,V){for(var st=Object.keys(O),mt=0;mt<st.length;)(!V||V&&C[st[mt]]===r)&&(C[st[mt]]=O[st[mt]]),mt++;return C},"extend","Use `assign`."),x=f(function(C,O){return w(C,O,!0)},"merge","Use `assign`.");function v(y,C,O){var V=C.prototype,st;st=y.prototype=Object.create(V),st.constructor=y,st._super=V,O&&b(st,O)}function g(y,C){return function(){return y.apply(C,arguments)}}function m(y,C){return typeof y==i?y.apply(C&&C[0]||r,C):y}function _(y,C){return y===r?C:y}function k(y,C,O){p($(C),function(V){y.addEventListener(V,O,!1)})}function Z(y,C,O){p($(C),function(V){y.removeEventListener(V,O,!1)})}function ot(y,C){for(;y;){if(y==C)return!0;y=y.parentNode}return!1}function I(y,C){return y.indexOf(C)>-1}function $(y){return y.trim().split(/\s+/g)}function M(y,C,O){if(y.indexOf&&!O)return y.indexOf(C);for(var V=0;V<y.length;){if(O&&y[V][O]==C||!O&&y[V]===C)return V;V++}return-1}function D(y){return Array.prototype.slice.call(y,0)}function N(y,C,O){for(var V=[],st=[],mt=0;mt<y.length;){var zt=C?y[mt][C]:y[mt];M(st,zt)<0&&V.push(y[mt]),st[mt]=zt,mt++}return O&&(C?V=V.sort(function(Re,Be){return Re[C]>Be[C]}):V=V.sort()),V}function X(y,C){for(var O,V,st=C[0].toUpperCase()+C.slice(1),mt=0;mt<n.length;){if(O=n[mt],V=O?O+st:C,V in y)return V;mt++}return r}var rt=1;function Q(){return rt++}function W(y){var C=y.ownerDocument||y;return C.defaultView||C.parentWindow||t}var lt=/mobile|tablet|ip(ad|hone|od)|android/i,G="ontouchstart"in t,j=X(t,"PointerEvent")!==r,gt=G&&lt.test(navigator.userAgent),pt="touch",B="pen",P="mouse",Yt="kinect",At=25,Pt=1,se=2,Xt=4,U=8,Ne=1,He=2,De=4,S=8,F=16,Y=He|De,K=S|F,q=Y|K,J=["x","y"],ct=["clientX","clientY"];function tt(y,C){var O=this;this.manager=y,this.callback=C,this.element=y.element,this.target=y.options.inputTarget,this.domHandler=function(V){m(y.options.enable,[y])&&O.handler(V)},this.init()}tt.prototype={handler:function(){},init:function(){this.evEl&&k(this.element,this.evEl,this.domHandler),this.evTarget&&k(this.target,this.evTarget,this.domHandler),this.evWin&&k(W(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&Z(this.element,this.evEl,this.domHandler),this.evTarget&&Z(this.target,this.evTarget,this.domHandler),this.evWin&&Z(W(this.element),this.evWin,this.domHandler)}};function at(y){var C,O=y.options.inputClass;return O?C=O:j?C=ml:gt?C=ea:G?C=gl:C=Ve,new C(y,et)}function et(y,C,O){var V=O.pointers.length,st=O.changedPointers.length,mt=C&Pt&&V-st===0,zt=C&(Xt|U)&&V-st===0;O.isFirst=!!mt,O.isFinal=!!zt,mt&&(y.session={}),O.eventType=C,Tt(y,O),y.emit("hammer.input",O),y.recognize(O),y.session.prevInput=O}function Tt(y,C){var O=y.session,V=C.pointers,st=V.length;O.firstInput||(O.firstInput=It(C)),st>1&&!O.firstMultiple?O.firstMultiple=It(C):st===1&&(O.firstMultiple=!1);var mt=O.firstInput,zt=O.firstMultiple,Ee=zt?zt.center:mt.center,Re=C.center=Nt(V);C.timeStamp=u(),C.deltaTime=C.timeStamp-mt.timeStamp,C.angle=ye(Ee,Re),C.distance=Se(Ee,Re),ft(O,C),C.offsetDirection=jt(C.deltaX,C.deltaY);var Be=Qt(C.deltaTime,C.deltaX,C.deltaY);C.overallVelocityX=Be.x,C.overallVelocityY=Be.y,C.overallVelocity=c(Be.x)>c(Be.y)?Be.x:Be.y,C.scale=zt?ze(zt.pointers,V):1,C.rotation=zt?ts(zt.pointers,V):0,C.maxPointers=O.prevInput?C.pointers.length>O.prevInput.maxPointers?C.pointers.length:O.prevInput.maxPointers:C.pointers.length,xt(O,C);var Ps=y.element;ot(C.srcEvent.target,Ps)&&(Ps=C.srcEvent.target),C.target=Ps}function ft(y,C){var O=C.center,V=y.offsetDelta||{},st=y.prevDelta||{},mt=y.prevInput||{};(C.eventType===Pt||mt.eventType===Xt)&&(st=y.prevDelta={x:mt.deltaX||0,y:mt.deltaY||0},V=y.offsetDelta={x:O.x,y:O.y}),C.deltaX=st.x+(O.x-V.x),C.deltaY=st.y+(O.y-V.y)}function xt(y,C){var O=y.lastInterval||C,V=C.timeStamp-O.timeStamp,st,mt,zt,Ee;if(C.eventType!=U&&(V>At||O.velocity===r)){var Re=C.deltaX-O.deltaX,Be=C.deltaY-O.deltaY,Ps=Qt(V,Re,Be);mt=Ps.x,zt=Ps.y,st=c(Ps.x)>c(Ps.y)?Ps.x:Ps.y,Ee=jt(Re,Be),y.lastInterval=C}else st=O.velocity,mt=O.velocityX,zt=O.velocityY,Ee=O.direction;C.velocity=st,C.velocityX=mt,C.velocityY=zt,C.direction=Ee}function It(y){for(var C=[],O=0;O<y.pointers.length;)C[O]={clientX:l(y.pointers[O].clientX),clientY:l(y.pointers[O].clientY)},O++;return{timeStamp:u(),pointers:C,center:Nt(C),deltaX:y.deltaX,deltaY:y.deltaY}}function Nt(y){var C=y.length;if(C===1)return{x:l(y[0].clientX),y:l(y[0].clientY)};for(var O=0,V=0,st=0;st<C;)O+=y[st].clientX,V+=y[st].clientY,st++;return{x:l(O/C),y:l(V/C)}}function Qt(y,C,O){return{x:C/y||0,y:O/y||0}}function jt(y,C){return y===C?Ne:c(y)>=c(C)?y<0?He:De:C<0?S:F}function Se(y,C,O){O||(O=J);var V=C[O[0]]-y[O[0]],st=C[O[1]]-y[O[1]];return Math.sqrt(V*V+st*st)}function ye(y,C,O){O||(O=J);var V=C[O[0]]-y[O[0]],st=C[O[1]]-y[O[1]];return Math.atan2(st,V)*180/Math.PI}function ts(y,C){return ye(C[1],C[0],ct)+ye(y[1],y[0],ct)}function ze(y,C){return Se(C[0],C[1],ct)/Se(y[0],y[1],ct)}var To={mousedown:Pt,mousemove:se,mouseup:Xt},Jn="mousedown",Oe="mousemove mouseup";function Ve(){this.evEl=Jn,this.evWin=Oe,this.pressed=!1,tt.apply(this,arguments)}v(Ve,tt,{handler:function(C){var O=To[C.type];O&Pt&&C.button===0&&(this.pressed=!0),O&se&&C.which!==1&&(O=Xt),this.pressed&&(O&Xt&&(this.pressed=!1),this.callback(this.manager,O,{pointers:[C],changedPointers:[C],pointerType:P,srcEvent:C}))}});var ta={pointerdown:Pt,pointermove:se,pointerup:Xt,pointercancel:U,pointerout:U},kx={2:pt,3:B,4:P,5:Yt},lh="pointerdown",ch="pointermove pointerup pointercancel";t.MSPointerEvent&&!t.PointerEvent&&(lh="MSPointerDown",ch="MSPointerMove MSPointerUp MSPointerCancel");function ml(){this.evEl=lh,this.evWin=ch,tt.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}v(ml,tt,{handler:function(C){var O=this.store,V=!1,st=C.type.toLowerCase().replace("ms",""),mt=ta[st],zt=kx[C.pointerType]||C.pointerType,Ee=zt==pt,Re=M(O,C.pointerId,"pointerId");mt&Pt&&(C.button===0||Ee)?Re<0&&(O.push(C),Re=O.length-1):mt&(Xt|U)&&(V=!0),!(Re<0)&&(O[Re]=C,this.callback(this.manager,mt,{pointers:O,changedPointers:[C],pointerType:zt,srcEvent:C}),V&&O.splice(Re,1))}});var Cx={touchstart:Pt,touchmove:se,touchend:Xt,touchcancel:U},Tx="touchstart",Sx="touchstart touchmove touchend touchcancel";function uh(){this.evTarget=Tx,this.evWin=Sx,this.started=!1,tt.apply(this,arguments)}v(uh,tt,{handler:function(C){var O=Cx[C.type];if(O===Pt&&(this.started=!0),!!this.started){var V=Ex.call(this,C,O);O&(Xt|U)&&V[0].length-V[1].length===0&&(this.started=!1),this.callback(this.manager,O,{pointers:V[0],changedPointers:V[1],pointerType:pt,srcEvent:C})}}});function Ex(y,C){var O=D(y.touches),V=D(y.changedTouches);return C&(Xt|U)&&(O=N(O.concat(V),"identifier",!0)),[O,V]}var Px={touchstart:Pt,touchmove:se,touchend:Xt,touchcancel:U},Ox="touchstart touchmove touchend touchcancel";function ea(){this.evTarget=Ox,this.targetIds={},tt.apply(this,arguments)}v(ea,tt,{handler:function(C){var O=Px[C.type],V=Rx.call(this,C,O);V&&this.callback(this.manager,O,{pointers:V[0],changedPointers:V[1],pointerType:pt,srcEvent:C})}});function Rx(y,C){var O=D(y.touches),V=this.targetIds;if(C&(Pt|se)&&O.length===1)return V[O[0].identifier]=!0,[O,O];var st,mt,zt=D(y.changedTouches),Ee=[],Re=this.target;if(mt=O.filter(function(Be){return ot(Be.target,Re)}),C===Pt)for(st=0;st<mt.length;)V[mt[st].identifier]=!0,st++;for(st=0;st<zt.length;)V[zt[st].identifier]&&Ee.push(zt[st]),C&(Xt|U)&&delete V[zt[st].identifier],st++;if(Ee.length)return[N(mt.concat(Ee),"identifier",!0),Ee]}var Ix=2500,dh=25;function gl(){tt.apply(this,arguments);var y=g(this.handler,this);this.touch=new ea(this.manager,y),this.mouse=new Ve(this.manager,y),this.primaryTouch=null,this.lastTouches=[]}v(gl,tt,{handler:function(C,O,V){var st=V.pointerType==pt,mt=V.pointerType==P;if(!(mt&&V.sourceCapabilities&&V.sourceCapabilities.firesTouchEvents)){if(st)Fx.call(this,O,V);else if(mt&&Dx.call(this,V))return;this.callback(C,O,V)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});function Fx(y,C){y&Pt?(this.primaryTouch=C.changedPointers[0].identifier,fh.call(this,C)):y&(Xt|U)&&fh.call(this,C)}function fh(y){var C=y.changedPointers[0];if(C.identifier===this.primaryTouch){var O={x:C.clientX,y:C.clientY};this.lastTouches.push(O);var V=this.lastTouches,st=function(){var mt=V.indexOf(O);mt>-1&&V.splice(mt,1)};setTimeout(st,Ix)}}function Dx(y){for(var C=y.srcEvent.clientX,O=y.srcEvent.clientY,V=0;V<this.lastTouches.length;V++){var st=this.lastTouches[V],mt=Math.abs(C-st.x),zt=Math.abs(O-st.y);if(mt<=dh&&zt<=dh)return!0}return!1}var hh=X(a.style,"touchAction"),ph=hh!==r,mh="compute",gh="auto",yl="manipulation",So="none",Or="pan-x",Rr="pan-y",sa=Lx();function vl(y,C){this.manager=y,this.set(C)}vl.prototype={set:function(y){y==mh&&(y=this.compute()),ph&&this.manager.element.style&&sa[y]&&(this.manager.element.style[hh]=y),this.actions=y.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var y=[];return p(this.manager.recognizers,function(C){m(C.options.enable,[C])&&(y=y.concat(C.getTouchAction()))}),$x(y.join(" "))},preventDefaults:function(y){var C=y.srcEvent,O=y.offsetDirection;if(this.manager.session.prevented){C.preventDefault();return}var V=this.actions,st=I(V,So)&&!sa[So],mt=I(V,Rr)&&!sa[Rr],zt=I(V,Or)&&!sa[Or];if(st){var Ee=y.pointers.length===1,Re=y.distance<2,Be=y.deltaTime<250;if(Ee&&Re&&Be)return}if(!(zt&&mt)&&(st||mt&&O&Y||zt&&O&K))return this.preventSrc(C)},preventSrc:function(y){this.manager.session.prevented=!0,y.preventDefault()}};function $x(y){if(I(y,So))return So;var C=I(y,Or),O=I(y,Rr);return C&&O?So:C||O?C?Or:Rr:I(y,yl)?yl:gh}function Lx(){if(!ph)return!1;var y={},C=t.CSS&&t.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(O){y[O]=C?t.CSS.supports("touch-action",O):!0}),y}var oa=1,as=2,Uo=4,ro=8,Ys=ro,Ir=16,Es=32;function Xs(y){this.options=b({},this.defaults,y||{}),this.id=Q(),this.manager=null,this.options.enable=_(this.options.enable,!0),this.state=oa,this.simultaneous={},this.requireFail=[]}Xs.prototype={defaults:{},set:function(y){return b(this.options,y),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(y){if(h(y,"recognizeWith",this))return this;var C=this.simultaneous;return y=ra(y,this),C[y.id]||(C[y.id]=y,y.recognizeWith(this)),this},dropRecognizeWith:function(y){return h(y,"dropRecognizeWith",this)?this:(y=ra(y,this),delete this.simultaneous[y.id],this)},requireFailure:function(y){if(h(y,"requireFailure",this))return this;var C=this.requireFail;return y=ra(y,this),M(C,y)===-1&&(C.push(y),y.requireFailure(this)),this},dropRequireFailure:function(y){if(h(y,"dropRequireFailure",this))return this;y=ra(y,this);var C=M(this.requireFail,y);return C>-1&&this.requireFail.splice(C,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(y){return!!this.simultaneous[y.id]},emit:function(y){var C=this,O=this.state;function V(st){C.manager.emit(st,y)}O<ro&&V(C.options.event+yh(O)),V(C.options.event),y.additionalEvent&&V(y.additionalEvent),O>=ro&&V(C.options.event+yh(O))},tryEmit:function(y){if(this.canEmit())return this.emit(y);this.state=Es},canEmit:function(){for(var y=0;y<this.requireFail.length;){if(!(this.requireFail[y].state&(Es|oa)))return!1;y++}return!0},recognize:function(y){var C=b({},y);if(!m(this.options.enable,[this,C])){this.reset(),this.state=Es;return}this.state&(Ys|Ir|Es)&&(this.state=oa),this.state=this.process(C),this.state&(as|Uo|ro|Ir)&&this.tryEmit(C)},process:function(y){},getTouchAction:function(){},reset:function(){}};function yh(y){return y&Ir?"cancel":y&ro?"end":y&Uo?"move":y&as?"start":""}function vh(y){return y==F?"down":y==S?"up":y==He?"left":y==De?"right":""}function ra(y,C){var O=C.manager;return O?O.get(y):y}function ds(){Xs.apply(this,arguments)}v(ds,Xs,{defaults:{pointers:1},attrTest:function(y){var C=this.options.pointers;return C===0||y.pointers.length===C},process:function(y){var C=this.state,O=y.eventType,V=C&(as|Uo),st=this.attrTest(y);return V&&(O&U||!st)?C|Ir:V||st?O&Xt?C|ro:C&as?C|Uo:as:Es}});function na(){ds.apply(this,arguments),this.pX=null,this.pY=null}v(na,ds,{defaults:{event:"pan",threshold:10,pointers:1,direction:q},getTouchAction:function(){var y=this.options.direction,C=[];return y&Y&&C.push(Rr),y&K&&C.push(Or),C},directionTest:function(y){var C=this.options,O=!0,V=y.distance,st=y.direction,mt=y.deltaX,zt=y.deltaY;return st&C.direction||(C.direction&Y?(st=mt===0?Ne:mt<0?He:De,O=mt!=this.pX,V=Math.abs(y.deltaX)):(st=zt===0?Ne:zt<0?S:F,O=zt!=this.pY,V=Math.abs(y.deltaY))),y.direction=st,O&&V>C.threshold&&st&C.direction},attrTest:function(y){return ds.prototype.attrTest.call(this,y)&&(this.state&as||!(this.state&as)&&this.directionTest(y))},emit:function(y){this.pX=y.deltaX,this.pY=y.deltaY;var C=vh(y.direction);C&&(y.additionalEvent=this.options.event+C),this._super.emit.call(this,y)}});function bl(){ds.apply(this,arguments)}v(bl,ds,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[So]},attrTest:function(y){return this._super.attrTest.call(this,y)&&(Math.abs(y.scale-1)>this.options.threshold||this.state&as)},emit:function(y){if(y.scale!==1){var C=y.scale<1?"in":"out";y.additionalEvent=this.options.event+C}this._super.emit.call(this,y)}});function _l(){Xs.apply(this,arguments),this._timer=null,this._input=null}v(_l,Xs,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[gh]},process:function(y){var C=this.options,O=y.pointers.length===C.pointers,V=y.distance<C.threshold,st=y.deltaTime>C.time;if(this._input=y,!V||!O||y.eventType&(Xt|U)&&!st)this.reset();else if(y.eventType&Pt)this.reset(),this._timer=d(function(){this.state=Ys,this.tryEmit()},C.time,this);else if(y.eventType&Xt)return Ys;return Es},reset:function(){clearTimeout(this._timer)},emit:function(y){this.state===Ys&&(y&&y.eventType&Xt?this.manager.emit(this.options.event+"up",y):(this._input.timeStamp=u(),this.manager.emit(this.options.event,this._input)))}});function xl(){ds.apply(this,arguments)}v(xl,ds,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[So]},attrTest:function(y){return this._super.attrTest.call(this,y)&&(Math.abs(y.rotation)>this.options.threshold||this.state&as)}});function wl(){ds.apply(this,arguments)}v(wl,ds,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:Y|K,pointers:1},getTouchAction:function(){return na.prototype.getTouchAction.call(this)},attrTest:function(y){var C=this.options.direction,O;return C&(Y|K)?O=y.overallVelocity:C&Y?O=y.overallVelocityX:C&K&&(O=y.overallVelocityY),this._super.attrTest.call(this,y)&&C&y.offsetDirection&&y.distance>this.options.threshold&&y.maxPointers==this.options.pointers&&c(O)>this.options.velocity&&y.eventType&Xt},emit:function(y){var C=vh(y.offsetDirection);C&&this.manager.emit(this.options.event+C,y),this.manager.emit(this.options.event,y)}});function aa(){Xs.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}v(aa,Xs,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[yl]},process:function(y){var C=this.options,O=y.pointers.length===C.pointers,V=y.distance<C.threshold,st=y.deltaTime<C.time;if(this.reset(),y.eventType&Pt&&this.count===0)return this.failTimeout();if(V&&st&&O){if(y.eventType!=Xt)return this.failTimeout();var mt=this.pTime?y.timeStamp-this.pTime<C.interval:!0,zt=!this.pCenter||Se(this.pCenter,y.center)<C.posThreshold;this.pTime=y.timeStamp,this.pCenter=y.center,!zt||!mt?this.count=1:this.count+=1,this._input=y;var Ee=this.count%C.taps;if(Ee===0)return this.hasRequireFailures()?(this._timer=d(function(){this.state=Ys,this.tryEmit()},C.interval,this),as):Ys}return Es},failTimeout:function(){return this._timer=d(function(){this.state=Es},this.options.interval,this),Es},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==Ys&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}});function Gs(y,C){return C=C||{},C.recognizers=_(C.recognizers,Gs.defaults.preset),new kl(y,C)}Gs.VERSION="2.0.7",Gs.defaults={domEvents:!1,touchAction:mh,enable:!0,inputTarget:null,inputClass:null,preset:[[xl,{enable:!1}],[bl,{enable:!1},["rotate"]],[wl,{direction:Y}],[na,{direction:Y},["swipe"]],[aa],[aa,{event:"doubletap",taps:2},["tap"]],[_l]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var Ax=1,bh=2;function kl(y,C){this.options=b({},Gs.defaults,C||{}),this.options.inputTarget=this.options.inputTarget||y,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=y,this.input=at(this),this.touchAction=new vl(this,this.options.touchAction),_h(this,!0),p(this.options.recognizers,function(O){var V=this.add(new O[0](O[1]));O[2]&&V.recognizeWith(O[2]),O[3]&&V.requireFailure(O[3])},this)}kl.prototype={set:function(y){return b(this.options,y),y.touchAction&&this.touchAction.update(),y.inputTarget&&(this.input.destroy(),this.input.target=y.inputTarget,this.input.init()),this},stop:function(y){this.session.stopped=y?bh:Ax},recognize:function(y){var C=this.session;if(!C.stopped){this.touchAction.preventDefaults(y);var O,V=this.recognizers,st=C.curRecognizer;(!st||st&&st.state&Ys)&&(st=C.curRecognizer=null);for(var mt=0;mt<V.length;)O=V[mt],C.stopped!==bh&&(!st||O==st||O.canRecognizeWith(st))?O.recognize(y):O.reset(),!st&&O.state&(as|Uo|ro)&&(st=C.curRecognizer=O),mt++}},get:function(y){if(y instanceof Xs)return y;for(var C=this.recognizers,O=0;O<C.length;O++)if(C[O].options.event==y)return C[O];return null},add:function(y){if(h(y,"add",this))return this;var C=this.get(y.options.event);return C&&this.remove(C),this.recognizers.push(y),y.manager=this,this.touchAction.update(),y},remove:function(y){if(h(y,"remove",this))return this;if(y=this.get(y),y){var C=this.recognizers,O=M(C,y);O!==-1&&(C.splice(O,1),this.touchAction.update())}return this},on:function(y,C){if(y!==r&&C!==r){var O=this.handlers;return p($(y),function(V){O[V]=O[V]||[],O[V].push(C)}),this}},off:function(y,C){if(y!==r){var O=this.handlers;return p($(y),function(V){C?O[V]&&O[V].splice(M(O[V],C),1):delete O[V]}),this}},emit:function(y,C){this.options.domEvents&&Mx(y,C);var O=this.handlers[y]&&this.handlers[y].slice();if(!(!O||!O.length)){C.type=y,C.preventDefault=function(){C.srcEvent.preventDefault()};for(var V=0;V<O.length;)O[V](C),V++}},destroy:function(){this.element&&_h(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}};function _h(y,C){var O=y.element;if(O.style){var V;p(y.options.cssProps,function(st,mt){V=X(O.style,mt),C?(y.oldCssProps[V]=O.style[V],O.style[V]=st):O.style[V]=y.oldCssProps[V]||""}),C||(y.oldCssProps={})}}function Mx(y,C){var O=e.createEvent("Event");O.initEvent(y,!0,!0),O.gesture=C,C.target.dispatchEvent(O)}b(Gs,{INPUT_START:Pt,INPUT_MOVE:se,INPUT_END:Xt,INPUT_CANCEL:U,STATE_POSSIBLE:oa,STATE_BEGAN:as,STATE_CHANGED:Uo,STATE_ENDED:ro,STATE_RECOGNIZED:Ys,STATE_CANCELLED:Ir,STATE_FAILED:Es,DIRECTION_NONE:Ne,DIRECTION_LEFT:He,DIRECTION_RIGHT:De,DIRECTION_UP:S,DIRECTION_DOWN:F,DIRECTION_HORIZONTAL:Y,DIRECTION_VERTICAL:K,DIRECTION_ALL:q,Manager:kl,Input:tt,TouchAction:vl,TouchInput:ea,MouseInput:Ve,PointerEventInput:ml,TouchMouseInput:gl,SingleTouchInput:uh,Recognizer:Xs,AttrRecognizer:ds,Tap:aa,Pan:na,Swipe:wl,Pinch:bl,Rotate:xl,Press:_l,on:k,off:Z,each:p,merge:x,extend:w,assign:b,inherit:v,bindFn:g,prefixed:X});var Nx=typeof t<"u"?t:typeof self<"u"?self:{};Nx.Hammer=Gs,typeof r=="function"&&r.amd?r(function(){return Gs}):s.exports?s.exports=Gs:t[o]=Gs})(window,document,"Hammer")})(Vd);var Fy=Vd.exports;const Dy=Hg(Fy);function zi(){const s=document.documentElement;return{clientWidth:s.clientWidth,clientHeight:s.clientHeight,clientTop:s.clientTop,clientLeft:s.clientLeft,scrollWidth:s.scrollWidth,scrollHeight:s.scrollHeight,scrollTop:s.scrollTop,scrollLeft:s.scrollLeft,offsetWidth:s.offsetWidth,offsetHeight:s.offsetHeight,offsetTop:s.offsetTop,offsetLeft:s.offsetLeft,offsetParent:s.offsetParent}}function zo(){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 $y(s){const{top:t,left:e,width:o,height:r}=s.getBoundingClientRect(),{scrollLeft:n,scrollTop:a}=zi();return{x:e+n,y:t+a,width:o,height:r}}function Ly(){const{clientHeight:s,scrollTop:t,scrollHeight:e}=zi(),o=e-s;return o<=0?0:t/o*100}function Ay(s){if("center"in s)return s.center;if(typeof s.pageX=="number"&&typeof s.pageY=="number")return{x:s.pageX,y:s.pageY};const{scrollLeft:t,scrollTop:e}=zi();return{x:s.clientX+t,y:s.clientY+e}}function Ts(s,t){if(!t&&"offsetX"in s)return{x:s.offsetX,y:s.offsetY};const e=Ay(s),o=$y(t||s.target);return{x:e.x-o.x,y:e.y-o.y}}class ns extends gr{container;width;height;mousePoint={x:0,y:0,dx:0,dy:0,dStartX:0,dStartY:0};hammer;removes=[];constructor(t=document.documentElement,e=!0,o){super(),this.container=t,this.width=t.offsetWidth,this.height=t.offsetHeight,this.hammer=new Dy(this.container),e&&this.start(o)}emitDebounce=V0((t,...e)=>super.emit(t,...e),50);emit(t,...e){switch(t){case"panLeft":case"panRight":this.emitDebounce(t,...e);break;default:super.emit(t,...e);break}return this}start(t){this.registerMouseEventListeners(),this.registerTransitionEventListeners(),this.registerAnimationEventListeners(),this.registerResizeObserver(),t&&t.forEach(e=>{this.addRemoves(e())}),this.on("pointerMove",e=>{this.setMousePoint(Ts(e,this.container))})}destroy(){this.removes.forEach(t=>t()),this.removes=[],this.removeAllListeners()}restart(){this.destroy(),this.start()}addRemoves(t){this.removes.push(t)}registerMouseEventListeners(){const t=U=>{this.emit("mouseDown",U)},e=U=>{this.emit("mouseUp",U)},o=U=>{this.emit("mouseMove",U)},r=U=>{this.emit("mouseOver",U)},n=U=>{this.emit("mouseOut",U)},a=U=>{this.emit("mouseEnter",U)},i=U=>{this.emit("mouseLeave",U)},l=U=>{this.emit("mouseClick",U)},c=U=>{this.emit("mouseDoubleClick",U)},u=U=>{this.emit("mouseWheel",U)},d=U=>{this.emit("mouseContextMenu",U)},h=U=>{this.emit("touchStart",U)},p=U=>{this.emit("touchEnd",U)},f=U=>{this.emit("touchCancel",U)},b=U=>{this.emit("touchMove",U)},w=U=>{this.emit("pointerDown",U)},x=U=>{this.emit("pointerUp",U)},v=U=>{this.emit("pointerCancel",U)},g=U=>{this.emit("pointerMove",U)},m=U=>{this.emit("pan",U)},_=U=>{this.emit("panStart",U)},k=U=>{this.emit("panMove",U)},Z=U=>{this.emit("panEnd",U)},ot=U=>{this.emit("panCancel",U)},I=U=>{this.emit("panLeft",U)},$=U=>{this.emit("panRight",U)},M=U=>{this.emit("panUp",U)},D=U=>{this.emit("panDown",U)},N=U=>{this.emit("pinch",U)},X=U=>{this.emit("press",U)},rt=U=>{this.emit("rotate",U)},Q=U=>{this.emit("swipe",U)},W=U=>{this.emit("swipeLeft",U)},lt=U=>{this.emit("swipeRight",U)},G=U=>{this.emit("swipeUp",U)},j=U=>{this.emit("swipeDown",U)},gt=U=>{this.emit("tap",U)},pt=U=>{!U.target||this.container==U.target||this.container.contains(U.target)||this.emit("tapOutSide",U)},B=U=>{this.emit("inputChange",U,this.container.files)},P=U=>{this.emit("dragstart",U)},Yt=U=>{U.dataTransfer&&(U.dataTransfer.dropEffect="copy"),this.emit("dragover",U)},At=U=>{this.emit("dragenter",U)},Pt=U=>{this.emit("dragend",U)},se=U=>{U.dataTransfer,this.emit("drop",U,U.dataTransfer?.files)};this.container.addEventListener("mousedown",t,!1),this.container.addEventListener("mouseup",e,!1),this.container.addEventListener("mousemove",o,!1),this.container.addEventListener("mouseover",r,!1),this.container.addEventListener("mouseout",n,!1),this.container.addEventListener("mouseenter",a,!1),this.container.addEventListener("mouseleave",i,!1),this.container.addEventListener("click",l,!1),this.container.addEventListener("dblclick",c,!1),this.container.addEventListener("wheel",u,!1),this.container.addEventListener("contextmenu",d,!1),this.container.addEventListener("touchstart",h,!1),this.container.addEventListener("touchend",p,!1),this.container.addEventListener("touchcancel",f,!1),this.container.addEventListener("touchmove",b,!1),this.container.addEventListener("pointerdown",w,!1),this.container.addEventListener("pointerup",x,!1),this.container.addEventListener("pointercancel",v,!1),this.container.addEventListener("pointermove",g,!1),this.hammer.on("pan",m),this.hammer.on("panstart",_),this.hammer.on("panmove",k),this.hammer.on("panend",Z),this.hammer.on("pancancel",ot),this.hammer.on("panleft",I),this.hammer.on("panright",$),this.hammer.on("panup",M),this.hammer.on("pandown",D),this.hammer.on("pinch",N),this.hammer.on("press",X),this.hammer.on("rotate",rt),this.hammer.on("swipe",Q),this.hammer.on("swipeleft",W),this.hammer.on("swiperight",lt),this.hammer.on("swipeup",G),this.hammer.on("swipedown",j),this.hammer.on("tap",gt),document.addEventListener("pointerdown",pt,!1),this.container instanceof HTMLInputElement&&this.container.addEventListener("change",B,!1),this.container.addEventListener("dragstart",P,!1),this.container.addEventListener("dragover",Yt,!1),this.container.addEventListener("dragenter",At,!1),this.container.addEventListener("dragend",Pt,!1),this.container.addEventListener("drop",se,!1);const Xt=()=>{this.container.removeEventListener("mousedown",t,!1),this.container.removeEventListener("mouseup",e,!1),this.container.removeEventListener("mousemove",o,!1),this.container.removeEventListener("mouseover",r,!1),this.container.removeEventListener("mouseout",n,!1),this.container.removeEventListener("mouseenter",a,!1),this.container.removeEventListener("mouseleave",i,!1),this.container.removeEventListener("click",l,!1),this.container.removeEventListener("dblclick",c,!1),this.container.removeEventListener("wheel",u,!1),this.container.removeEventListener("contextmenu",d,!1),this.container.removeEventListener("touchstart",h,!1),this.container.removeEventListener("touchend",p,!1),this.container.removeEventListener("touchcancel",f,!1),this.container.removeEventListener("touchmove",b,!1),this.container.removeEventListener("pointerdown",w,!1),this.container.removeEventListener("pointerup",x,!1),this.container.removeEventListener("pointercancel",v),this.container.removeEventListener("pointermove",g,!1),this.hammer.off("pan",m),this.hammer.off("panstart",_),this.hammer.off("panmove",k),this.hammer.off("panend",Z),this.hammer.off("pancancel",ot),this.hammer.off("panleft",I),this.hammer.off("panright",$),this.hammer.off("panup",M),this.hammer.off("pandown",D),this.hammer.off("pinch",N),this.hammer.off("press",X),this.hammer.off("rotate",rt),this.hammer.off("swipe",Q),this.hammer.off("swipeleft",W),this.hammer.off("swiperight",lt),this.hammer.off("swipeup",G),this.hammer.off("swipedown",j),this.hammer.off("tap",gt),document.removeEventListener("pointerdown",pt,!1),document.removeEventListener("touchstart",pt,!1),document.removeEventListener("mousedown",pt,!1),this.container instanceof HTMLInputElement&&this.container.removeEventListener("change",B,!1),this.container.removeEventListener("dragstart",P,!1),this.container.removeEventListener("dragover",Yt,!1),this.container.removeEventListener("dragenter",At,!1),this.container.removeEventListener("dragend",Pt,!1),this.container.removeEventListener("drop",se,!1)};return this.addRemoves(Xt),Xt}registerTransitionEventListeners(){const t=r=>{this.emit("transitionstart",r)},e=r=>{this.emit("transitionend",r)};this.container.addEventListener("transitionstart",t,!1),this.container.addEventListener("transitionend",e,!1);const o=()=>{this.container.removeEventListener("transitionstart",t,!1),this.container.removeEventListener("transitionend",e,!1)};return this.addRemoves(o),o}registerAnimationEventListeners(){const t=r=>{this.emit("animationstart",r)},e=r=>{this.emit("animationend",r)};this.container.addEventListener("animationstart",t,!1),this.container.addEventListener("animationend",e,!1);const o=()=>{this.container.removeEventListener("animationstart",t,!1),this.container.removeEventListener("animationend",e,!1)};return this.addRemoves(o),o}registerResizeObserver(){const{on:t,destroy:e}=Py(this.container),o=t((n,a)=>{this.width=n,this.height=a,this.emit("resize",n,a)}),r=()=>{o(),e()};return this.addRemoves(r),r}registerPullDownRefresh(t){const e=t?.distance||50;return this.captureDrag({move:(o,r)=>{r.dStartY>0&&r.dStartY<e&&this.emit("pullDowning",r.dStartY)},end:(o,r)=>{r.dStartY>=e&&this.emit("pullDown")}})}registerPullUpLoading(t){const e=t?.distance||50;return this.captureDrag({move:(o,r)=>{r.dStartY>0&&r.dStartY<e&&this.emit("pullUping",r.dStartY)},end:(o,r)=>{r.dStartY>=e&&this.emit("pullUp")}})}setMousePoint(t){this.mousePoint.x=t.x,this.mousePoint.y=t.y,this.mousePoint.dx=typeof t.dx=="number"?t.dx:0,this.mousePoint.dy=typeof t.dy=="number"?t.dy:0,this.mousePoint.dStartX=typeof t.dStartX=="number"?t.dStartX:0,this.mousePoint.dStartY=typeof t.dStartY=="number"?t.dStartY:0}captureDrag(t){return this.captureDragUsePointer(t)}captureDragUsePointer(t){let e,o;const r=l=>{l.preventDefault(),l.stopPropagation(),this.on("pointerMove",a),this.on("pointerUp",n),this.on("pointerCancel",n),o=Ts(l,this.container);const c={...o};e=c,this.setMousePoint(c),t?.start?.(l,c)},n=l=>{l.preventDefault(),l.stopPropagation(),this.off("pointerMove",a),this.off("pointerUp",n),this.off("pointerCancel",n),o=Ts(l,this.container);const c={...o,dStartX:e?o.x-e.x:0,dStartY:e?o.y-e.y:0};this.setMousePoint(c),t?.end?.(l,c),e=null},a=l=>{l.preventDefault(),l.stopPropagation();const c={...o};o=Ts(l,this.container);const u={...o,dx:o.x-(c.x||0),dy:o.y-(c.y||0),dStartX:e?o.x-e.x:0,dStartY:e?o.y-e.y:0};this.setMousePoint(u),t?.move?.(l,u)};this.on("pointerDown",r);const i=()=>{this.off("pointerDown",r)};return this.addRemoves(i),i}captureDragUseMouse(t){let e,o;const r=l=>{l.preventDefault(),l.stopPropagation(),document.addEventListener("mousemove",a,!1),document.addEventListener("mouseup",n,!1),o=Ts(l,this.container);const c={...o};e=c,this.setMousePoint(c),t?.start?.(l,c)},n=l=>{l.preventDefault(),l.stopPropagation(),document.removeEventListener("mousemove",a,!1),document.removeEventListener("mouseup",n,!1),o=Ts(l,this.container);const c={...o,dStartX:e?o.x-e.x:0,dStartY:e?o.y-e.y:0};this.setMousePoint(c),t?.end?.(l,c),e=null},a=l=>{l.preventDefault(),l.stopPropagation();const c={...o};o=Ts(l,this.container);const u={...o,dx:o.x-(c.x||0),dy:o.y-(c.y||0),dStartX:e?o.x-e.x:0,dStartY:e?o.y-e.y:0};this.setMousePoint(u),t?.move?.(l,u)};this.on("mouseDown",r);const i=()=>{this.off("mouseDown",r)};return this.addRemoves(i),i}captureDragUseTouch(t){let e,o;const r=l=>{l.preventDefault(),l.stopPropagation(),this.on("touchMove",a),this.on("touchEnd",n),this.on("touchCancel",n);const c=l.changedTouches[0];o=Ts(c,this.container);const u={...o};e=u,this.setMousePoint(u),t?.start?.(c,u)},n=l=>{l.preventDefault(),l.stopPropagation(),this.off("touchMove",a),this.off("touchEnd",n),this.off("touchCancel",n);const c=l.changedTouches[0];o=Ts(c,this.container);const u={...o,dStartX:e?o.x-e.x:0,dStartY:e?o.y-e.y:0};this.setMousePoint(u),t?.end?.(c,u),e=null},a=l=>{l.preventDefault(),l.stopPropagation();const c=l.changedTouches[0],u={...o};o=Ts(c,this.container);const d={...o,dx:o.x-(u.x||0),dy:o.y-(u.y||0),dStartX:e?o.x-e.x:0,dStartY:e?o.y-e.y:0};this.setMousePoint(d),t?.move?.(c,d)};this.on("touchStart",r);const i=()=>{this.off("touchStart",r)};return this.addRemoves(i),i}}class Vi{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"),o=document.createElement("video"),r=document.createElement("source"),n=new MediaSource;n.addEventListener("sourceopen",()=>t(!0)),r.src=URL.createObjectURL(n),r.media="(min-width:10px)",o.append(r),e.width="5",e.style.cssText="position: absolute; visibility: hidden;",document.documentElement.append(e),e.contentDocument?.body.append(o),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(()=>{Vi.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 My extends gr{source;raw="";mode="text";tagname="";nodename="";textchunk="";entity="";quote="";attrs={};constructor(t){super(),this.source=t}parse(){const t=k0(this.source);if(t===0){this.emit("finish");return}let e,o,r=Su(this.source,0);for(let n=1;n<t;n++)e=o,o=r,r=Su(this.source,n),this.raw+=o,o&&this.step(o,r,e);r&&this.step(r,void 0,o),this.emit("finish")}step(t,e,o){t==`
60
- `&&this.emit("newline"),this.act(t,e,o)}act(t,e,o){switch(this.mode){case"text":switch(t){case"<":case"eof":this.nodename="",this.attrs={},this.mode="tag name start",this.raw=this.raw.slice(0,-1),this.textchunk&&this.emit("text",this.textchunk),this.raw+=t,this.textchunk="";break;case"&":this.mode="entity",this.entity="";break;default:this.textchunk+=t;break}break;case"entity":_s("whitespace",t)?(this.textchunk+=Bd(this.entity),this.mode="text"):t==";"?(this.textchunk+=Bd(this.entity+t),this.mode="text"):this.entity+=t;break;case"special":if(o=="!"&&t=="-"&&e=="-"){this.mode="comment start";break}if(this.textchunk=="[CDATA"&&t=="["){this.mode="cdata",this.textchunk="";break}if(t==">"||t=="eof"){this.emit("special",this.textchunk),this.mode="text",this.textchunk="";break}this.textchunk+=t;break;case"cdata":if(o=="]"&&t=="]"&&e==">"){this.mode="cdata end",this.textchunk=this.textchunk.slice(0,-1);break}t=="eof"&&(this.mode="cdata end",this.act(t,e,o)),this.textchunk+=t;break;case"cdata end":this.emit("cdata",this.textchunk),this.textchunk="",this.mode="text";break;case"comment start":e==">"||t=="eof"?(this.emit("comment",""),this.mode="skip"):this.mode="comment";break;case"skip":this.mode="text";break;case"comment":t=="-"&&o=="-"&&e==">"?(this.mode="comment end",this.textchunk=this.textchunk.slice(0,-1)):t=="eof"?this.emit("comment",this.textchunk):this.textchunk+=t;break;case"comment end":this.emit("comment",this.textchunk),this.textchunk="",this.mode="text";break;case"declaration":if(t=="?"&&e==">"){this.mode="declaration end";break}t=="eof"&&this.emit("comment",this.textchunk),this.textchunk+=t;break;case"declaration end":this.emit("comment",this.textchunk),this.textchunk="",this.mode="text";break;case"tag name start":if(t=="eof"){this.emit("text","<");break}if(!_s("whitespace",t)){if(this.mode="tag name",t=="/"){this.mode="close tag name start";break}else if(t=="!"){this.mode="special",this.textchunk="";break}else if(t=="?"){this.mode="declaration";break}this.act(t,e,o)}break;case"close tag name start":_s("whitespace",t)||(this.mode="close tag name",this.tagname="",this.nodename="",this.act(t,e,o));break;case"close tag name":if(_s("whitespace",t))this.tagname=this.nodename;else switch(t){case">":this.emit("/tag",this.tagname||this.nodename,this.attrs),this.mode="text";break;default:!this.tagname&&(this.nodename+=t);break}break;case"tag name":if(_s("whitespace",t))this.tagname=this.nodename,this.nodename="",this.mode="attr start";else switch(t){case">":this.emit("tag",this.nodename,this.attrs),this.mode="text";break;case"/":this.raw+=e,this.emit("tag",this.nodename,this.attrs),this.emit("/tag",this.nodename,this.attrs),this.mode="skip";break;default:this.nodename+=t;break}break;case"attr start":_s("whitespace",t)||(this.mode="attr",this.nodename="",this.act(t,e,o));break;case"attr":if(_s("whitespace",t)||t=="=")this.attrs[this.nodename]="",this.mode="attr value start";else switch(t){case">":this.nodename=="/"?(delete this.attrs["/"],this.emit("tag",this.tagname,this.attrs),this.emit("/tag",this.tagname,this.attrs)):(this.nodename&&(this.attrs[this.nodename]=""),this.emit("tag",this.tagname,this.attrs)),this.mode="text";break;default:this.nodename+=t;break}break;case"attr value start":if(!_s("whitespace",t)){if(this.mode="attr value",this.quote="",t=="'"||t=='"'){this.quote=t;return}this.act(t,e,o)}break;case"attr value":if(_s("whitespace",t)&&!this.quote)this.mode="attr start";else if(t==">"&&!this.quote)this.emit("tag",this.tagname,this.attrs),this.mode="text";else switch(t){case'"':case"'":this.quote==t&&o!="\\"&&(this.mode="attr start");break;default:this.attrs[this.nodename]+=t;break}break}}}function Bd(s){const t={lt:60,"lt;":60,"AMP;":38,AMP:38,"GT;":62,GT:62,"QUOT;":34,QUOT:34,"apos;":39,"bull;":8226,"bullet;":8226,"copy;":169,copy:169,"deg;":176,deg:176};let e;return s.charAt(0)=="#"?s.charAt(1).toLowerCase()=="x"?e=parseInt(s.substring(2),16):e=parseInt(s.substring(1),10):e=t[s],e?String.fromCharCode(e):"&"+s}var Yd=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g;function Ny(s,t={}){var e=1,o=1;function r(G){var j=G.match(/\n/g);j&&(e+=j.length);var gt=G.lastIndexOf(`
61
- `);o=~gt?G.length-gt:o+G.length}function n(){var G={line:e,column:o};return function(j){return j.position=new a(G),f(),j}}function a(G){this.start=G,this.end={line:e,column:o},this.source=t.source}a.prototype.content=s;var i=[];function l(G){var j=new Error(t.source+":"+e+":"+o+": "+G);if(j.reason=G,j.filename=t.source,j.line=e,j.column=o,j.source=s,t.silent)i.push(j);else throw j}function c(){var G=h();return{type:"stylesheet",stylesheet:{source:t.source,rules:G,parsingErrors:i}}}function u(){return p(/^{\s*/)}function d(){return p(/^}/)}function h(){var G,j=[];for(f(),b(j);s.length&&s.charAt(0)!="}"&&(G=W()||lt());)G!==!1&&(j.push(G),b(j));return j}function p(G){var j=G.exec(s);if(j){var gt=j[0];return r(gt),s=s.slice(gt.length),j}}function f(){p(/^\s*/)}function b(G){var j;for(G=G||[];j=w();)j!==!1&&G.push(j);return G}function w(){var G=n();if(!(s.charAt(0)!="/"||s.charAt(1)!="*")){for(var j=2;s.charAt(j)!=""&&(s.charAt(j)!="*"||s.charAt(j+1)!="/");)++j;if(j+=2,s.charAt(j-1)==="")return l("End of comment missing");var gt=s.slice(2,j-2);return o+=2,r(gt),s=s.slice(j),o+=2,G({type:"comment",comment:gt})}}function x(){var G=p(/^([^{]+)/);if(G)return Bs(G[0]).replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g,"").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,function(j){return j.replace(/,/g,"‌")}).split(/\s*(?![^(]*\)),\s*/).map(function(j){return j.replace(/\u200C/g,",")})}function v(){var G=n(),j=p(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(j){if(j=Bs(j[0]),!p(/^:\s*/))return l("property missing ':'");var gt=p(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/),pt=G({type:"declaration",property:j.replace(Yd,""),value:gt?Bs(gt[0]).replace(Yd,""):""});return p(/^[;\s]*/),pt}}function g(){var G=[];if(!u())return l("missing '{'");b(G);for(var j;j=v();)j!==!1&&(G.push(j),b(G));return d()?G:l("missing '}'")}function m(){for(var G,j=[],gt=n();G=p(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)j.push(G[1]),p(/^,\s*/);if(j.length)return gt({type:"keyframe",values:j,declarations:g()})}function _(){var G=n(),j=p(/^@([-\w]+)?keyframes\s*/);if(j){var gt=j[1];if(j=p(/^([-\w]+)\s*/),!j)return l("@keyframes missing name");var pt=j[1];if(!u())return l("@keyframes missing '{'");for(var B,P=b();B=m();)P.push(B),P=P.concat(b());return d()?G({type:"keyframes",name:pt,vendor:gt,keyframes:P}):l("@keyframes missing '}'")}}function k(){var G=n(),j=p(/^@supports *([^{]+)/);if(j){var gt=Bs(j[1]);if(!u())return l("@supports missing '{'");var pt=b().concat(h());return d()?G({type:"supports",supports:gt,rules:pt}):l("@supports missing '}'")}}function Z(){var G=n(),j=p(/^@host\s*/);if(j){if(!u())return l("@host missing '{'");var gt=b().concat(h());return d()?G({type:"host",rules:gt}):l("@host missing '}'")}}function ot(){var G=n(),j=p(/^@media *([^{]+)/);if(j){var gt=Bs(j[1]);if(!u())return l("@media missing '{'");var pt=b().concat(h());return d()?G({type:"media",media:gt,rules:pt}):l("@media missing '}'")}}function I(){var G=n(),j=p(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(j)return G({type:"custom-media",name:Bs(j[1]),media:Bs(j[2])})}function $(){var G=n(),j=p(/^@page */);if(j){var gt=x()||[];if(!u())return l("@page missing '{'");for(var pt=b(),B;B=v();)pt.push(B),pt=pt.concat(b());return d()?G({type:"page",selectors:gt,declarations:pt}):l("@page missing '}'")}}function M(){var G=n(),j=p(/^@([-\w]+)?document *([^{]+)/);if(j){var gt=Bs(j[1]),pt=Bs(j[2]);if(!u())return l("@document missing '{'");var B=b().concat(h());return d()?G({type:"document",document:pt,vendor:gt,rules:B}):l("@document missing '}'")}}function D(){var G=n(),j=p(/^@font-face\s*/);if(j){if(!u())return l("@font-face missing '{'");for(var gt=b(),pt;pt=v();)gt.push(pt),gt=gt.concat(b());return d()?G({type:"font-face",declarations:gt}):l("@font-face missing '}'")}}var N=Q("import"),X=Q("charset"),rt=Q("namespace");function Q(G){var j=new RegExp("^@"+G+"\\s*([^;]+);");return function(){var gt=n(),pt=p(j);if(pt){var B={type:G};return B[G]=pt[1].trim(),gt(B)}}}function W(){if(s[0]=="@")return _()||ot()||I()||k()||N()||X()||rt()||M()||$()||Z()||D()}function lt(){var G=n(),j=x();return j?(b(),G({type:"rule",selectors:j,declarations:g()})):l("selector missing")}return Bi(c())}function Bs(s){return s?s.replace(/^\s+|\s+$/g,""):""}function Bi(s,t){var e=s&&typeof s.type=="string",o=e?s:t;for(var r in s){var n=s[r];Array.isArray(n)?n.forEach(function(a){Bi(a,o)}):n&&typeof n=="object"&&Bi(n,o)}return e&&Object.defineProperty(s,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),s}class zy extends My{currentItem={};items=[];groups=[];globalStyles={};grad={};idtops={};text="";constructor(t){super(t),this.on("tag",(e,o)=>{switch(this.text="",this.currentItem={type:e},e){case"g":this.groups.push(this.currentItem);break}this.processAttrs(e,o)}),this.on("text",e=>{if(this.currentItem.type=="style"){try{const o=Ny(e);for(const r of o.stylesheet.rules)for(const n of r.declarations)for(const a of r.selectors)this.globalStyles[a]=this.globalStyles[a]||[],this.globalStyles[a].push(`${n.property}:${n.value}`)}catch{console.error("CAN'T parse css text: "+e)}return}this.text+=e}),this.on("/tag",(e,o)=>{let r=this.groups.length;for(;r--;)if(this.groups[r]!=this.currentItem){let n="",a="";for(const i in this.groups[r])i=="transform"?n=this.groups[r].transform:i=="class"&&this.globalStyles["."+this.groups[r][i]]?a=this.globalStyles["."+this.groups[r][i]].join(";")+";"+a:i=="id"&&this.globalStyles["#"+this.groups[r][i]]?a=this.globalStyles["#"+this.groups[r][i]].join(";")+";"+a:typeof this.currentItem[i]>"u"&&(this.currentItem[i]=this.groups[r][i]);typeof this.currentItem.transform>"u"?this.currentItem.transform=n:this.currentItem.transform+=" "+n,typeof this.currentItem.style>"u"?this.currentItem.style=a:this.currentItem.style=a+this.currentItem.style,this.currentItem.class&&this.globalStyles["."+this.currentItem.class]?this.currentItem.style=this.globalStyles["."+this.currentItem.class].join(";")+";"+this.currentItem.style:this.currentItem.id&&this.globalStyles["#"+this.currentItem.id]&&(this.currentItem.style=this.globalStyles["#"+this.currentItem.id].join(";")+";"+this.currentItem.style),Xi(this.currentItem.style,this.currentItem,Gi)}switch(this.processAttrs(e,o),e){case"g":this.groups.pop();break;case"cirlce":this.addToItems();break;case"ellipse":this.addToItems();break;case"polygon":this.addToItems();break;case"path":this.addToItems();break;case"line":this.addToItems();break;case"rect":this.addToItems();break;case"image":this.addToItems();break;case"text":this.currentItem.text=this.text,this.currentItem["text-anchor"]=this.currentItem["text-anchor"]||"start",this.addToItems();break}}),this.on("finish",()=>{this.emit("result",this.items)})}parse(){return super.parse(),this.items}processAttrs(t,e){let o=[],r;switch(t){case"svg":let n="",a="";if(e.width&&e.height)n=e.width,a=e.height;else if(e.viewBox){const i=e.viewBox.split(/\s+/gi);i.length==4&&(n=String(parseFloat(i[2])-parseFloat(i[0])),a=String(parseFloat(i[3])-parseFloat(i[1])))}n&&a&&this.items.push({type:"viewbox",width:n,height:a});break;case"line":typeof e.x1=="number"&&typeof e.y1=="number"&&typeof e.x2=="number"&&typeof e.y2=="number"&&(this.currentItem.path="M"+[e.x1,e.y1,e.x2,e.y2]);break;case"stop":r={},e.style&&Xi(e.style,r),r.offset=r.offset||e.offset,r.color=r["stop-color"]||e["stop-color"],r.opacity=r["stop-opacity"]||e["stop-opacity"],~(r.offset+"").indexOf("%")?r.offset=parseFloat(r.offset):r.offset=parseFloat(r.offset)*100,r.offset=+r.offset.toFixed(2),this.grad.stops.push(r);break;case"linearGradient":this.grad.angle=(360+Yi(parseFloat(e.x1),parseFloat(e.y1),parseFloat(e.x2),parseFloat(e.y2),parseFloat(e.x1)+100,parseFloat(e.y1))).toFixed(2),o=[this.grad.angle];for(let i=0,l=this.grad.stops.length;i<l;i++)r=this.grad.stops[i],i&&i!=l-1?o.push(r.color+":"+r.offset):o.push(r.color);this.idtops[this.grad.id]=o.join("-"),this.items.forEach(i=>{i.fillid==this.grad.id&&(i.fill=this.idtops[this.grad.id])});break;case"radialGradient":o=[];for(let i=0,l=this.grad.stops.length;i<l;i++)r=this.grad.stops[i],i&&i!=l-1?o.push(r.color+":"+r.offset):o.push(r.color);this.idtops[this.grad.id]=o.join("-"),this.items.forEach(i=>{i.fillid==this.grad.id&&(i.fill=this.idtops[this.grad.id])});break}for(const n in e){const a=e[n];if(Gi.includes(n)&&(this.currentItem[n]=a),n==="id"&&(this.currentItem.type==="linearGradient"&&(this.grad={id:n,stops:[]}),this.currentItem.type==="radialGradient"&&(this.grad={id:n,stops:[]})),n==="style"&&Xi(a,this.currentItem,Gi),n==="transform"&&(this.currentItem.transform=a+(this.currentItem.transform||" ")),n==="fill"){const i=a.match(/url\(#([^)]+)\)/);if(i){const l=i[1];this.currentItem.fillid=l,this.idtops[l]&&(this.currentItem.fill=this.idtops[l])}}n==="points"&&this.currentItem.type=="polygon"&&(this.currentItem.path="M"+a+"z"),n==="d"&&this.currentItem.type=="path"&&(this.currentItem.path=a),n==="xlink:href"&&this.currentItem.type=="image"&&(this.currentItem.src=a)}}addToItems(){this.items.push(this.currentItem)}}function Yi(s,t,e,o,r,n){if(typeof r>"u"||typeof n>"u"){const a=s-e,i=t-o;return!a&&!i?0:(180+Math.atan2(-i,-a)*180/Math.PI+360)%360}else return Yi(s,t,r,n)-Yi(e,o,r,n)}function Xi(s,t,e){const o=(s+"").split(";"),r=/^\s+|\s+$/g;for(let n=0,a=o.length;n<a;n++){const i=o[n].split(":"),l=i[0].replace(r,"").replace(/[A-Z]/g,function(c){return"-"+c.toLowerCase()});(!e||e.includes(l))&&(t[l]=i[1].replace(r,""))}}const Gi=["id","class","viewBox","width","height","x","y","cx","cy","r","rx","ry","cursor","opacity","src","fill","fill-opacity","stroke","stroke-dasharray","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","font","font-family","font-size","font-style","font-weight","letter-spacing"];class Xd{app;rootEl;ue;shapes=[];isMouseDown=!1;currentMouseInShape;currentEnableDragMouseInShape;dragDx=0;dragDy=0;constructor(t,e,o){this.app=t,this.rootEl=me.createSVGElement("svg"),this.ue=xo(this.rootEl);const r=xo(this.app.container);r.empty(),r.insert(this.rootEl),e&&o?this.setSize(e,o):(this.setSize(this.app.width,this.app.height),this.app.on("resize",()=>{this.setSize(this.app.width,this.app.height)})),this.app.captureDrag({start:()=>{this.isMouseDown=!0,this.dragDx=0,this.dragDy=0,this.setCursor()},end:()=>{this.isMouseDown=!1,this.dragDx=0,this.dragDy=0,this.setCursor()},move:(n,a)=>{this.currentEnableDragMouseInShape&&(this.dragDx+=a.dx,this.dragDy+=a.dy),this.setCursor()}}),this.app.on("tap",()=>{for(const n of this.shapes)if(this.currentMouseInShape==n){n.emit("clicked");let a=n.parent;for(;a;)a.emit("clicked",n),a=a.parent;break}})}setCursor(){this.currentEnableDragMouseInShape?(this.app.container.style.cursor="grab",this.isMouseDown&&(this.app.container.style.cursor="grabbing")):this.currentMouseInShape?this.app.container.style.cursor="pointer":this.app.container.style.cursor="default"}setSize(t,e){return Bo(this.rootEl,{viewBox:`0 0 ${t} ${e}`,width:`${t}`,height:`${e}`}),this}download(){return me.downloadFromSVGElement(this.rootEl)}_addDrawShape(t){this.shapes.findIndex(e=>e.id==t.id)===-1&&(this.shapes.push(t),t instanceof Cs&&t.shapes.forEach(e=>{this._addDrawShape(e)}))}path(t){(Array.isArray(t)?t:[t]).forEach(e=>{this._addDrawShape(e)}),this.isMouseDown&&this.currentEnableDragMouseInShape||(this.currentMouseInShape=void 0);for(const e of this.shapes){if(!e.isShow){e.el&&(e.el.remove(),delete e.el);continue}if(e.frameStart(this.app.mousePoint),e.el||(e instanceof Yn?e.el=this.text(e.text,e.x,e.y,Ou(e.getAttrs(),(r,n)=>typeof n=="string")):(e.el=me.createSvgPath(e.toSVGPathD(),e.id),this.ue.insert(e.el))),e.followMouse&&(!gn(e.x,this.app.mousePoint.x,5)||!gn(e.y,this.app.mousePoint.y,5))&&e.followTo(this.app.mousePoint),e.targetToAfterDragFree&&(this.isMouseDown||e.runEaseTo({x:e.targetToAfterDragFree.targetX,y:e.targetToAfterDragFree.targetY},{easing:e.targetToAfterDragFree?.easing})),this.isMouseDown&&this.currentEnableDragMouseInShape==e){e.isDragging=!0;const r=this.dragDx,n=this.dragDy;if(this.dragDx=0,this.dragDy=0,r||n){if(e.x+=r,e.y+=n,e.alongPath){const a=e.alongPath.closestPoint(e.x,e.y);e.x=a.point.x-e.cX,e.y=a.point.y-e.cY}e.emit("draging",r,n)}}else e.isDragging=!1;e instanceof Yn&&(e.setAttr("x",String(e.x)),e.setAttr("y",String(e.y))),e.frameUpdate(this.app.mousePoint);const o=e.toSVGPathD();if(this.attr(e,Ou(e.getAttrs(),(r,n)=>typeof n=="string")),this.attr(e,"d",o),!this.currentMouseInShape){const r=e.isPointInPath(this.app.mousePoint.x,this.app.mousePoint.y,this.rootEl)||e.isPointInStroke(this.app.mousePoint.x,this.app.mousePoint.y,this.rootEl)||!1;e.isMouseIn=r,r&&(this.currentMouseInShape=e,e.enableDrag&&(this.currentEnableDragMouseInShape=e))}e.frameEnd(this.app.mousePoint)}this.currentMouseInShape||(this.currentEnableDragMouseInShape=void 0)}delete(t){(Array.isArray(t)?t:[t]).forEach(e=>{e.el&&e.el.remove(),delete e.el,this.shapes=this.shapes.filter(o=>o.id!==e.id)})}clear(){this.shapes.forEach(t=>{t.el&&t.el.remove(),delete t.el}),this.ue.empty(),this.shapes=[]}attr(t,e,o){const r=t.el||t;return r instanceof SVGElement?e===void 0&&o===void 0?Bo(r):typeof e=="string"&&o===void 0?Bo(r,cs(e))||"":(typeof e=="object"?Bo(r,e):typeof e=="string"&&o!==void 0&&Bo(r,cs(e),o),this):this}circle(t,e,o){return this.path(new ae({x:t,y:e,radius:o}))}circleEl(t,e,o){const r=me.createSVGElement("circle",{cx:String(t),cy:String(e),r:String(o)});return this.ue.insert(r),r}ellipse(t,e,o,r){return this.path(new Ud({x:t,y:e,rx:o,ry:r}))}ellipseEl(t,e,o,r){const n=me.createSVGElement("ellipse",{cx:String(t),cy:String(e),rx:String(o),ry:String(r)});return this.ue.insert(n),n}rect(t,e,o,r){return this.path(new Pe({x:t,y:e,width:o,height:r}))}rectEl(t,e,o,r){const n=me.createSVGElement("rect",{x:String(t),y:String(e),width:String(o),height:String(r)});return this.ue.insert(n),n}image(t,e,o,r,n){}text(t,e,o,r){const n=me.createSVGElement("text",{x:String(e),y:String(o)});return xo(n).html(t),this.attr(n,Object.assign({"alignment-baseline":"middle"},r)),this.ue.insert(n),n}textWithTspan(t,e,o,r){const n=r?.["line-height"]||"1.2em",a=me.createSVGElement("text",{x:String(e),y:String(o)});return t.split(`
62
- `).forEach((i,l)=>{if(i.trim()){const c=me.createSVGElement("tspan",{x:String(e),dy:l>0?n:"0"});xo(c).html(i),xo(a).insert(c),this.attr(c,Object.assign({"alignment-baseline":"middle"},r))}}),this.ue.insert(a),a}}class Vy extends No{svgWidth=0;svgHeight=0;width=0;height=0;constructor(t){super(t);const e=new zy(t.svg).parse();for(let o=0,r=e.length;o<r;o++){const n=e[o];if(n.type=="viewbox"&&n.width&&n.height){if(this.svgWidth=parseFloat(n.width),this.svgHeight=parseFloat(n.height),t.width){const u=this.svgWidth/this.svgHeight;this.width=t.width,this.height=this.width/u}else this.width=this.svgWidth,this.height=this.svgHeight;continue}if(n.type!="path"||!me.isSVGPath(n.path))continue;const a={};for(const u in n)u==="type"||u==="path"||u==="transform"||(a[u]=n[u]);const i=me.absolutizeSVGPath(me.parseSVGPath(n.path)),l=[];let c=[];for(let u=0,d=i.length;u<d;u++){const h=i[u];c.push(h),h[0].toLowerCase()=="z"&&(l.push(c),c=[])}c.length&&l.push(c),l.forEach(u=>{const d=Fd(n.transform??"");d.scale(this.width&&this.svgWidth?this.width/this.svgWidth:1),this.addShape(new ne({...t,attrs:{...a,...t?.attrs||{}},d:u,originMatrix:d}))})}}shapeInit(){this.trim()}}class ae extends ne{radius;constructor(t){super(t),this.radius=t?.radius||0}getBoundingClientRect(){return{x:this.x-this.radius,y:this.y-this.radius,width:this.radius*2,height:this.radius*2}}toSVGPathData(){return this.radius?[["m",0,-this.radius],["a",this.radius,this.radius,0,1,1,0,2*this.radius],["a",this.radius,this.radius,0,1,1,0,-2*this.radius],["z"]]:[["m",0,0]]}toCanvasContext(t){t.beginPath(),t.arc(0,0,this.radius,0,Math.PI*2,!0),t.closePath()}eq(t){return this.x===t.x&&this.y===t.y&&this.radius===t.radius&&this.mass===t.mass}midPointBtw(t){return{x:this.x+(t.x-this.x)/2,y:this.y+(t.y-this.y)/2}}length(){return Oi(this.x,this.y)}scalar(t){return this.x*=t,this.y*=t,this}normalize(t=1){const e=this.length();if(e){const o=t/e;this.scalar(o)}return this}clamp(t){const e=this.length();return e&&e>t&&this.scalar(t/e),this}cross(t){const e=this.x,o=this.y;return{x:o*t.x-e*t.y,y:e*t.y-o*t.x}}multiply(t){return{x:this.x*t.x,y:this.y*t.y}}div(t){return{x:this.x/t.x,y:this.y/t.y}}add(t){return{x:this.x+t.x,y:this.y+t.y}}sub(t){return{x:this.x-t.x,y:this.y-t.y}}dot(t){return this.x*t.x+this.y*t.y}reflect(t){const e=this.dot(t);return{x:this.x-2*e*t.x,y:this.y-2*e*t.y}}checkCollision(t){const e=t.x-this.x,o=t.y-this.y;if(Math.sqrt(e*e+o*o)<this.radius+t.radius){const n=Math.atan2(o,e),a={x:0,y:0},i=ks(-n,e,o),l=ks(-n,this.vx,this.vy),c=ks(-n,t.vx,t.vy),u=l.x-c.x;l.x=((this.mass-t.mass)*l.x+2*t.mass*c.x)/(this.mass+t.mass),c.x=u+l.x;const d=Math.abs(l.x)+Math.abs(c.x),h=this.radius+t.radius-Math.abs(a.x-i.x);a.x+=l.x/d*h,i.x+=c.x/d*h;const p=ks(n,a.x,a.y),f=ks(n,i.x,i.y);t.x=this.x+f.x,t.y=this.y+f.y,this.x=this.x+p.x,this.y=this.y+p.y;const b=ks(n,l.x,l.y),w=ks(n,c.x,c.y);this.vx=b.x,this.vy=b.y,t.vx=w.x,t.vy=w.y}}checkWall(t){const e=typeof t?.bounce=="number"?t.bounce:-1,o=t.wall.x,r=t.wall.y,n=t.wall.x+t.wall.width,a=t.wall.y+t.wall.height;this.x+this.radius>n?(this.x=n-this.radius,this.vx*=e):this.x-this.radius<o&&(this.x=o+this.radius,this.vx*=e),this.y+this.radius>a?(this.y=a-this.radius,this.vy*=e):this.y-this.radius<r&&(this.y=r+this.radius,this.vy*=e)}}class Gd extends ne{points;isStraight;constructor(t){if(super(t),this.points=t.points,this.points.length<3)throw new Error("points length must >= 3");this.isStraight=typeof t?.isStraight=="boolean"?t.isStraight:!0}toSVGPathData(){const t=[],e=this.points.length;if(this.isStraight){t.push(["M",this.points[0].x,this.points[0].y]);for(let o=1;o<=e-1;o++)t.push(["L",this.points[o].x,this.points[o].y]);t.push(["Z"])}else{const o=(this.points[0].x+this.points[e-1].x)/2,r=(this.points[0].y+this.points[e-1].y)/2;t.push(["M",o,r]);for(let n=0;n<e-1;n++){const a=(this.points[n].x+this.points[n+1].x)/2,i=(this.points[n].y+this.points[n+1].y)/2;t.push(["Q",this.points[n].x,this.points[n].y,a,i])}t.push(["Q",this.points[e-1].x,this.points[e-1].y,o,r])}return t}toCanvasContext(t){t.beginPath();const e=this.points.length;if(this.isStraight){t.moveTo(this.points[0].x,this.points[0].y);for(let o=1;o<=e-1;o++)t.lineTo(this.points[o].x,this.points[o].y);t.closePath()}else{const o=(this.points[0].x+this.points[e-1].x)/2,r=(this.points[0].y+this.points[e-1].y)/2;t.moveTo(o,r);for(let n=0;n<e-1;n++){const a=(this.points[n].x+this.points[n+1].x)/2,i=(this.points[n].y+this.points[n+1].y)/2;t.quadraticCurveTo(this.points[n].x,this.points[n].y,a,i)}t.quadraticCurveTo(this.points[e-1].x,this.points[e-1].y,o,r)}}isContainPoint(t,e){const o=this.points.length;let r=!1;const n=2e-10;for(let a=0,i=o-1;a<o;i=a,a++){const l=this.points[a].x,c=this.points[a].y,u=this.points[i].x,d=this.points[i].y;if(l===t&&c===e||u===t&&d===e||e===c&&e===d)return!0;if(e>=c&&e<d||e<c&&e>=d){const h=(u-l)/(d-c),p=l+h*(e-c);if(p===t||Math.abs(p-t)<n)return!0;p>t&&(r=!r)}}return r}[Symbol.iterator](){let t=-1;return{next:()=>({value:t<=this.points.length-1?this.points[++t]:void 0,done:t>=this.points.length})}}}class Pe extends ne{width;height;borderRadius;constructor(t){super(t),this.width=t.width,this.height=t.height,this.borderRadius=t.borderRadius||0}static fromCubicBezier(t,e,o,r,n,a,i,l){const c=new _o({x:t,y:e,c1x:o,c1y:r,c2x:n,c2y:a,toX:i,toY:l});return new Pe(c.getBoundingClientRect())}getBoundingClientRect(){return{x:this.x,y:this.y,width:this.width,height:this.height}}toSVGPathData(){return this.borderRadius?[["m",this.borderRadius,0],["l",this.width-this.borderRadius*2,0],["a",this.borderRadius,this.borderRadius,0,0,1,this.borderRadius,this.borderRadius],["l",0,this.height-this.borderRadius*2],["a",this.borderRadius,this.borderRadius,0,0,1,-this.borderRadius,this.borderRadius],["l",this.borderRadius*2-this.width,0],["a",this.borderRadius,this.borderRadius,0,0,1,-this.borderRadius,-this.borderRadius],["l",0,this.borderRadius*2-this.height],["a",this.borderRadius,this.borderRadius,0,0,1,this.borderRadius,-this.borderRadius],["z"]]:[["m",0,0],["l",this.width,0],["l",0,this.height],["l",-this.width,0],["z"]]}toCanvasContext(t){t.beginPath(),this.borderRadius<=0?t.rect(0,0,this.width,this.height):(t.moveTo(0,this.borderRadius),t.lineTo(0,this.height-this.borderRadius),t.quadraticCurveTo(0,this.height,this.borderRadius,this.height),t.lineTo(this.width-this.borderRadius,this.height),t.quadraticCurveTo(this.width,this.height,this.width,this.height-this.borderRadius),t.lineTo(this.width,this.borderRadius),t.quadraticCurveTo(this.width,0,this.width-this.borderRadius,0),t.lineTo(this.borderRadius,0),t.quadraticCurveTo(0,0,0,this.borderRadius)),t.closePath()}eq(t){return this.x===t.x&&this.y===t.y&&this.width===t.width&&this.height===t.height&&this.borderRadius===t.borderRadius}isIntersectRect(t){return!(this.x+this.width<t.x||t.x+t.width<this.x||this.y+this.height<t.y||t.y+t.height<this.y)}isContainPoint(t,e){return t>=this.x&&t<=this.x+this.width&&e>=this.y&&e<=this.y+this.height}}class Ud extends ne{rx;ry;constructor(t){super(t),this.rx=t?.rx||0,this.ry=t?.ry||0}getBoundingClientRect(){return{x:this.x-this.rx,y:this.y-this.ry,width:this.rx*2,height:this.ry*2}}toSVGPathData(){return[["m",0,-this.ry],["a",this.rx,this.ry,0,1,1,0,2*this.ry],["a",this.rx,this.ry,0,1,1,0,-2*this.ry],["z"]]}toCanvasContext(t){t.beginPath(),t.ellipse(0,0,this.rx,this.ry,0,0,2*Math.PI,!0),t.closePath()}}class Bn extends ne{constructor(t){super(t)}toSVGPathData(){return[["m",-50,-25],["l",50,0],["l",0,-25],["l",50,50],["l",-50,50],["l",0,-25],["l",-50,0],["l",0,-50],["z"]]}toCanvasContext(t){t.beginPath(),t.moveTo(-50,-25),t.lineTo(0,-25),t.lineTo(0,-50),t.lineTo(50,0),t.lineTo(0,50),t.lineTo(0,25),t.lineTo(-50,25),t.lineTo(-50,-25),t.closePath()}}class Ui extends ne{constructor(t){super(t)}toSVGPathData(){return[["m",4,24],["l",4,-8],["l",6,-6],["l",1,-10],["l",-6,-10],["l",-7,10],["l",-4,0],["l",-7,-10],["l",-6,10],["l",1,10],["l",6,6],["l",4,8],["z"]]}toCanvasContext(t){t.beginPath(),t.moveTo(4,24),t.lineTo(8,16),t.lineTo(14,10),t.lineTo(15,0),t.lineTo(9,-10),t.lineTo(2,0),t.lineTo(-2,0),t.lineTo(-9,-10),t.lineTo(-15,0),t.lineTo(-14,10),t.lineTo(-8,16),t.lineTo(-4,24),t.closePath()}}class By extends ne{rx;ry;constructor(t){super(t),this.rx=t?.rx||10,this.ry=t?.ry||10}toSVGPathData(){return[["m",0,0],["l",this.rx*2.4,-this.ry*3.14],["a",this.rx/2,this.ry/2,0,0,0,-this.rx*2.4,-this.ry*1.5],["a",this.rx/2,this.ry/2,0,0,0,-this.rx*2.4,this.ry*1.5],["l",this.rx*2.4,this.ry*3.14],["z"]]}}class Yy extends ne{rx;ry;constructor(t){super(t),this.rx=t?.rx??50,this.ry=t?.ry??50}toSVGPathData(){return[["m",0,0+this.ry*.3],["C",0,0,0-this.rx/2,0,0-this.rx/2,0+this.ry*.3],["C",0-this.rx/2,0+(this.ry+this.ry*.3)/2,0,0+(this.ry+this.ry*.3)/1.4,0,0+this.ry],["C",0,0+(this.ry+this.ry*.3)/1.8,0+this.rx/2,0+(this.ry+this.ry*.3)/2,0+this.rx/2,0+this.ry*.3],["C",0+this.rx/2,0,0,0,0,0+this.ry*.3],["z"]]}}class Xy extends ne{r;constructor(t){super(t),this.r=t?.r||20}toSVGPathData(){const t=[["m",0,-this.r]];for(let e=0;e<6;e+=1){const o=288+e*144,r=this.r*Math.cos(Bt(o)),n=this.r*Math.sin(Bt(o));t.push(["l",r,n])}return t}}class Gy extends ne{constructor(t){super(t)}toSVGPathData(){return[["M",0,0],["C",15,0,15,-40,5,-30],["L",0,0],["C",-15,0,-15,-40,-5,-30],["L",0,0],["a",15,15,0,1,1,0,30],["a",15,15,0,1,1,0,-30]]}}class Uy extends ne{constructor(t){super(t),this.originD="m5.068 9.267-3.08-.77a.512.512 0 0 1 0-.994l3.08-.77a2.289 2.289 0 0 0 1.665-1.665l.77-3.08a.512.512 0 0 1 .994 0l.77 3.08c.205.82.845 1.46 1.665 1.665l3.08.77a.512.512 0 0 1 0 .994l-3.08.77a2.29 2.29 0 0 0-1.665 1.665l-.77 3.08a.512.512 0 0 1-.994 0l-.77-3.08a2.289 2.289 0 0 0-1.665-1.665Z"}}class jy extends No{constructor(t){super(t);const e=new we({...t,x:this.x,y:this.y,toX:this.x,toY:this.y-140-Math.random()*20}),o=30+Math.random()*30,r=new we({...t,x:this.x,y:this.y-o,diffYInGroup:-o,toX:this.x+Math.random()*80-40,toY:this.y-100-Math.random()*40}),n=60+Math.random()*40,a=new we({...t,x:this.x,y:this.y-n,diffYInGroup:-n,toX:this.x+Math.random()*60-30,toY:this.y-110-Math.random()*20});this.addShape([e,r,a])}}class Yn extends ne{text;width=0;height=0;constructor(t){super(t),this.text=t.text,this.setAttr({fontSize:"10px",fontFamily:'system-ui, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif',emojiFontFamily:'"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "EmojiOne Color", "Android Emoji", "Twemoji Mozilla", "system emoji", sans-serif',fill:"#666666",stroke:"none","alignment-baseline":"middle",textAnchor:"start",...this.getAttrs()});const e=xs(this.getAttr("fontSize"),10).number,o=xs(this.getAttr("fontWeight"),400).number,r=this.measureText(this.text,e,o);this.width=r.width,this.height=r.height}getBoundingClientRect(){return null}toSVGPathData(){return[]}toCanvasContext(t){t.fillText(this.text,0,0)}measureText(t,e=12,o=400){const r=document.createElement("span");r.style.visibility="hidden",r.style.margin="0",r.style.padding="0",r.style.inset="0",r.style.whiteSpace="nowrap",r.style.overflow="visible",r.style.fontSize=e+"px",r.style.fontWeight=o.toString(),r.innerText=t,document.body.appendChild(r);const n=r.offsetWidth,a=r.offsetHeight;return document.body.removeChild(r),{width:n,height:a}}getFixedWidthText(t,e,o=12,r=400,n=!0){let a="";if(!t||e<o)return a;const i=t.split(""),l="...";let c=n?this.measureText(l,o,r).width:0;for(let u=0,d=i.length;u<d;u++)if(c+=this.measureText(i[u],o,r).width,c>e){n&&(a+=l);break}else a+=i[u];return a}}class Hy extends No{text;bg;padding;offset;isShow;textShape;bgShape;constructor(t){super(t),this.text=t.text,this.bg=t.bg||"rgba(0,0,0,0.5)",this.padding=t.padding||4,this.offset=t.offset||20,this.isShow=typeof t?.isShow=="boolean"?t?.isShow:!1,this.textShape=new Yn({...t,x:this.x+this.offset,y:this.y+this.offset,text:this.text,attrs:{...this.getAttrs(),fill:ge(this.bg).opposite(!0).toString(),textAnchor:"start"}}),this.bgShape=new Pe({...t,x:this.textShape.x-this.padding,y:this.textShape.y-this.textShape.height/2-this.padding,width:this.textShape.width+this.padding*2,height:this.textShape.height+this.padding*2,attrs:{...this.getAttrs(),fill:this.bg}}),this.addShape([this.bgShape,this.textShape])}shapeInit(){ni(()=>{this.textShape.x=this.x+this.offset,this.textShape.y=this.y+this.offset,this.textShape.text=this.text,this.textShape.isShow=this.isShow,this.bgShape.x=this.textShape.x-this.padding,this.bgShape.y=this.textShape.y-this.textShape.height/2-this.padding,this.bgShape.width=this.textShape.width+this.padding*2,this.bgShape.height=this.textShape.height+this.padding*2,this.bgShape.isShow=this.isShow})}}class jd extends Cs{radius;expandRaidus;startDegree;endDegree;text="";defaultShowText;tip="";p1=new ae;p1Offset=10;p2=new ae;p2Offset=40;p3=new ae;p3Offset=10;p4=new ae;p4Offset=10;direction=1;sectorArc;line12;line23;textShape;tipShape;constructor(t){super(t),this.radius=t.radius,this.expandRaidus=t.expandRaidus??20,this.startDegree=t.startDegree,this.endDegree=t.endDegree,this.text=t.text||"",this.defaultShowText=typeof t?.defaultShowText=="boolean"?t.defaultShowText:!!this.text,this.tip=t.tip||"",this.sectorArc=new Wy({x:this.x,y:this.y,radius:this.radius,expandRaidus:this.expandRaidus,startDegree:this.startDegree,endDegree:this.endDegree,attrs:Object.assign({...this.getAttrs()},{strokeWidth:"0"})}),this.addShape(this.sectorArc);const e=Object.assign({...this.getAttrs()},{fill:"none"});this.line12=new we({x:this.p1.x,y:this.p1.y,toX:this.p2.x,toY:this.p2.y,attrs:{...e},isShow:this.defaultShowText}),this.line23=new we({x:this.p2.x,y:this.p2.y,toX:this.p3.x,toY:this.p3.y,attrs:{...e},isShow:this.defaultShowText}),this.textShape=new Yn({x:this.p4.x,y:this.p4.y,text:this.text,attrs:{stroke:e.stroke,textAnchor:this.direction==1?"start":"end"},isShow:this.defaultShowText}),this.text&&(this.addShape(this.line12),this.addShape(this.line23),this.addShape(this.textShape)),this.tipShape=new Hy({x:0,y:0,text:this.tip,isShow:!1}),this.tip&&this.addShape(this.tipShape)}frameUpdate(t){this.text&&!this.defaultShowText&&(this.line12.isShow=this.sectorArc.isMouseIn,this.line23.isShow=this.sectorArc.isMouseIn,this.textShape.isShow=this.sectorArc.isMouseIn);const e=this.startDegree+(this.endDegree-this.startDegree)/2,{dx:o,dy:r}=Vs(Bt(e),this.sectorArc.radius+this.p1Offset);this.p1.x=this.x+o,this.p1.y=this.y+r;const{dx:n,dy:a}=Vs(Bt(e),this.sectorArc.radius+this.p1Offset+this.p2Offset);this.p2.x=this.x+n,this.p2.y=this.y+a,this.line12.x=this.p1.x,this.line12.y=this.p1.y,this.line12.toX=this.p2.x,this.line12.toY=this.p2.y,this.direction=this.p1.x>this.x?1:-1,this.p3.x=this.p2.x+this.direction*this.p3Offset,this.p3.y=this.p2.y,this.p4.x=this.p3.x+this.direction*this.p4Offset,this.p4.y=this.p3.y,this.line23.x=this.p2.x,this.line23.y=this.p2.y,this.line23.toX=this.p3.x,this.line23.toY=this.p3.y,this.textShape.x=this.p4.x,this.textShape.y=this.p4.y,this.textShape.setAttr("textAnchor",this.direction==1?"start":"end"),this.sectorArc.isMouseIn?(this.tipShape.isShow=!0,this.tipShape.x=t.x,this.tipShape.y=t.y):(this.tipShape.isShow=!1,this.tipShape.x=t.x,this.tipShape.y=t.y)}}class Wy extends ne{radius;realRadius;expandRaidus;startDegree;endDegree;vr;ar;bounce;durationTime;status;constructor(t){super(t),this.radius=0,this.realRadius=t.radius,this.expandRaidus=t.expandRaidus??20,this.startDegree=t.startDegree,this.endDegree=t.endDegree,this.vr=0,this.ar=.03,this.bounce=.6,this.durationTime=8.333333333333334,this.status=0}frameUpdate(){this.status==0&&this.radius<this.realRadius?(this.expand(this.realRadius),this.radius>=this.realRadius&&(this.status=1)):this.isMouseIn?this.expand(this.realRadius+this.expandRaidus):this.shrink(this.realRadius)}expand(t){this.vr+=this.ar,this.radius+=this.vr*this.durationTime,this.radius>t&&(this.radius=t,this.vr*=-this.bounce)}shrink(t){this.vr-=this.ar,this.radius+=this.vr*this.durationTime,this.radius<t&&(this.radius=t,this.vr*=-this.bounce)}toSVGPathData(){const{dx:t,dy:e}=Vs(Bt(this.startDegree),this.radius),{dx:o,dy:r}=Vs(Bt(this.endDegree),this.radius);return[["m",0,0],["l",t,e],["a",this.radius,this.radius,0,Math.abs(this.endDegree-this.startDegree)>=180?1:0,1,o-t,r-e],["z"]]}toCanvasContext(t){t.beginPath(),t.moveTo(0,0),t.arc(0,0,this.radius,Bt(this.startDegree),Bt(this.endDegree),!1),t.closePath()}containPoint(t,e){const o=Ri(this.x,this.y,t,e),r=Ge(Mo(this.x,this.y,t,e));return o<=this.radius&&r>=this.startDegree&&r<=this.endDegree}}class Zy extends Cs{showFlame;ship;flame;constructor(t){super(t),this.showFlame=typeof t?.showFlame=="boolean"?t.showFlame:!1,this.ship=new ne({...t,d:[["M",10,0],["L",-10,10],["L",-5,0],["L",-10,-10],["L",10,0],["Z"]]}),this.addShape(this.ship),this.flame=new ne({...t,isShow:this.showFlame,d:[["m",-10,-5],["l",-7.5,5],["l",7.5,5],["z"]]}),this.addShape(this.flame)}shapeInit(){ni(()=>{this.ship.x=this.x,this.ship.y=this.y,this.flame.x=this.x,this.flame.y=this.y,this.flame.isShow=this.showFlame})}}class Hd extends No{value;backgroundRect;occupyRect;handle;constructor(t){super(t);const e=t?.min||0,o=t?.max||100,r=t?.step||1,n=Du(e,o,r);this.value=n(typeof t?.defaultValue=="number"?le(t.defaultValue,e,o):e);const a=this.value/(o-e),i=t?.barWidth||100,l=t?.barHeight||4,c=t?.handleRadius||10,u=l*.5,d=t?.barColor||vt.colorGrayF5,h=t?.handleColor||vt.colorPrimary;this.backgroundRect=new Pe({x:this.x,y:this.y,width:i,height:l,borderRadius:u,attrs:{fill:d},enableDrag:!1,independentTransformInGroup:!0}),this.addShape(this.backgroundRect),this.occupyRect=new Pe({x:this.x,y:this.y,width:i*a,height:l,borderRadius:u,attrs:{fill:h},enableDrag:!1,independentTransformInGroup:!0}),this.addShape(this.occupyRect),this.handle=new ae({x:this.x+i*a,y:this.y+u,diffXInGroup:i*a,diffYInGroup:u,radius:c,alongPath:new Ke({x:this.x,y:this.y+u,d:[["m",0,0],["l",i,0]]}),attrs:{fill:h},enableDrag:!0,independentTransformInGroup:!0}),this.addShape(this.handle),this.handle.on("draging",p=>{this.occupyRect.width=le(this.occupyRect.width+p,0,i),this.value=n((this.handle.x-this.x)/i*(o-e)+e),this.emit("change",this.value)})}}class Vo extends No{width;height;cornerRadius;controlPoint;mainRect;rightPoint;constructor(t){super(t),this.width=t.width,this.height=t.height,this.cornerRadius=this.height/2,this.controlPoint=new ae({...t,x:this.x,y:this.y,radius:2}),this.forceSetCXY(this.controlPoint.cX,this.controlPoint.cY),this.mainRect=new Pe({...t,x:this.x-this.cornerRadius,y:this.y-this.cornerRadius,diffXInGroup:-this.cornerRadius,diffYInGroup:-this.cornerRadius,width:this.width+this.cornerRadius*2,height:this.height,borderRadius:this.cornerRadius}),this.rightPoint=new ae({...t,x:this.x+this.width,y:this.y,diffXInGroup:this.width,radius:2}),this.addShape([this.mainRect,this.controlPoint,this.rightPoint])}getPin(){return{x:this.controlPoint.x+Math.cos(Bt(this.controlPoint.degree))*this.width,y:this.controlPoint.y+Math.sin(Bt(this.controlPoint.degree))*this.width}}}class ji extends ne{extendDegree;radius;startDegree;endDegree;diffDegree;constructor(t){super(t),this.extendDegree=t?.extendDegree||0,this.x=(t.x||0)+t.width/2;const e=Math.min(t.width/2,t.height)-t.lineWidth;this.radius=e-e*Math.abs(Math.sin(Bt(this.extendDegree))),this.y=(t.y||0)+t.height-t.lineWidth-this.radius*Math.abs(Math.sin(Bt(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}=Vs(Bt(this.startDegree),this.radius),{dx:o,dy:r}=Vs(Bt(this.endDegree),this.radius);return[["m",t,e],["a",this.radius,this.radius,0,Math.abs(this.endDegree-this.startDegree)>=180?1:0,1,o-t,r-e]]}toCanvasContext(t){t.beginPath(),t.arc(0,0,this.radius,Bt(this.startDegree),Bt(this.endDegree),!1)}}let Wd=class extends No{percent=0;ringBg;ring;lines=[];bgColor;startColor;endColor;indicatorLineCount;constructor(t){super(t);const e=t?.startDegree||0,o=t?.endDegree||180,r=t?.extendDegree||15,n=t?.lineWidth||12;this.bgColor=t?.bgColor||"#B3C6E7",this.startColor=t?.startColor||"#5A82F0",this.endColor=t?.endColor||"#66B3FF",this.percent=t?.percent||0,this.indicatorLineCount=22+1;const a=20,i=2,l=17;this.ringBg=new ji({...t,x:t?.x,y:t?.y,width:t.width,height:t.height,startDegree:e,endDegree:o,extendDegree:r,lineWidth:n,color:this.bgColor}),this.addShape(this.ringBg),this.ring=new ji({...t,x:t?.x,y:t?.y,width:t.width,height:t.height,startDegree:e,endDegree:o,extendDegree:r,lineWidth:n}),this.addShape(this.ring);const c=this.ringBg.y-this.ringBg.radius+a;for(let u=0;u<this.indicatorLineCount;u++)this.lines.push(new we({...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+(o-e+r*2)/(this.indicatorLineCount-1)*u,attrs:{"stroke-linecap":"round","stroke-width":String(i),stroke:this.bgColor}}));this.addShape(this.lines)}setPercent(t){this.percent=t}shapeInit(){this.on("draging",(t,e,o)=>{this.shapes.forEach(r=>{r!=o&&(r.x+=t,r.y+=e)})})}frameUpdate(t,e){const o=this.ringBg.radius-this.ringBg.radius*Math.cos(Math.PI*this.percent),r=this.ringBg.radius*Math.sin(Math.PI*this.percent);if(e){const n=e.createLinearGradient(-this.ringBg.radius,0,-this.ringBg.radius+o,-r,{0:this.startColor,1:this.endColor});this.ring.setAttr({stroke:n})}else this.ring.setAttr({stroke:this.startColor});this.ring.setPercent(this.percent);for(let n=0;n<this.indicatorLineCount;n++){const a=n/(this.indicatorLineCount-1)<=this.percent;this.lines[n].setAttr({stroke:a&&e?e.createLinearGradient(0,0,this.lines[n].toX-this.lines[n].x,this.lines[n].toY-this.lines[n].y,{0:this.startColor,1:this.endColor}):a?this.startColor:this.bgColor})}}};class qy extends Cs{fettis=[];constructor(t,e,o){super();const{shape:r,x:n,y:a,particleCount:i,angle:l,spread:c,startVelocity:u,decay:d,gravity:h,drift:p,ticks:f,colors:b,scalar:w,flat:x}=Object.assign({shape:Pe,x:.5,y:.6,particleCount:100,angle:90,spread:70,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,colors:Iy,scalar:1,flat:!1},o||{}),v=Bt(l),g=Bt(c);let m=i;for(;m--;){const _=b[m%b.length],k=new r({x:t*n,y:e*a,width:10,height:10,scalar:w,attrs:{fill:_},independentTransformInGroup:!0});this.addShape(k),this.fettis.push({shape:k,wobble:Math.random()*10,wobbleSpeed:Math.min(.11,Math.random()*.1+.05),velocity:u*.5+Math.random()*u,angle2D:-v+(.5*g-Math.random()*g),tiltAngle:(Math.random()*.5+.25)*Math.PI,tick:0,totalTicks:f,decay:d,drift:p,random:Math.random()+2,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:h*3,scalar:w,flat:x,color:ge(_)})}}frameUpdate(t){this.fettis.length&&(this.fettis=this.fettis.filter(e=>{e.shape.x+=Math.cos(e.angle2D)*e.velocity+e.drift,e.shape.y+=Math.sin(e.angle2D)*e.velocity+e.gravity,e.velocity*=e.decay,e.flat?(e.wobble=0,e.wobbleX=e.shape.x+10*e.scalar,e.wobbleY=e.shape.y+10*e.scalar,e.tiltSin=0,e.tiltCos=0,e.random=1):(e.wobble+=e.wobbleSpeed,e.wobbleX=e.shape.x+10*e.scalar*Math.cos(e.wobble),e.wobbleY=e.shape.y+10*e.scalar*Math.sin(e.wobble),e.tiltAngle+=.1,e.tiltSin=Math.sin(e.tiltAngle),e.tiltCos=Math.cos(e.tiltAngle),e.random=Math.random()+2);const o=e.tick++/e.totalTicks,r=e.shape.x+e.random*e.tiltCos,n=e.shape.y+e.random*e.tiltSin,a=e.wobbleX+e.random*e.tiltCos,i=e.wobbleY+e.random*e.tiltSin;return e.shape.setAttr("fill",e.color.setAlpha(1-o).toString()),e.shape.degree=Ge(Math.PI/10*e.wobble),e.shape.scalarX=Math.abs(a-r)*.1,e.shape.scalarY=Math.abs(i-n)*.1,e.tick<e.totalTicks}))}}class Ue{shapes;constructor(t){this.shapes=t}run(t){this.shapes.forEach(o=>{o.run(),t?.wall&&o.checkWall({wall:t.wall,bounce:t.bounce})});const e=this.shapes.length;for(let o=0,r=e-1;o<r;o++)for(let n=o+1;n<e;n++)this.shapes[o].checkCollision(this.shapes[n])}gravitate(){const t=this.shapes.length;this.shapes.forEach((e,o)=>{e.run();for(let r=o+1;r<t;r++)e.checkCollision(this.shapes[r]),e.gravitateTo(this.shapes[r])})}springChain(t){this.shapes.forEach((e,o)=>{o>0&&e.runSpringTo(this.shapes[o-1],t)})}springConnect(t){const e=Qs(t?.springLength,100);this.shapes.forEach(o=>{o.isDragging||this.shapes.filter(r=>r.id!==o.id).forEach(r=>{const n=Mo(o.x,o.y,r.x,r.y);o.runSpringTo({x:r.x-Math.cos(n)*e,y:r.y-Math.sin(n)*e},t)})})}springMass(t,e){const o=this.shapes.length,r=[];return this.shapes.forEach((n,a)=>{n.run(e),n.x>t.x+t.width?n.x=t.x:n.x<t.x&&(n.x=t.x+t.width),n.y>t.y+t.height?n.y=t.y:n.y<t.y&&(n.y=t.y+t.height);for(let i=a+1;i<o;i++)r.push([n.x,n.y,this.shapes[i].x,this.shapes[i].y,n.springMassTo(this.shapes[i],e)])}),r}polymorph(){if(this.shapes.length<2)throw new Error("shapes个数必须大于等于2");const t=this.shapes.length-1,e=new Array(t);for(let r=0;r<t;r++){const n=this.shapes[r].initPathD();this.shapes[r].frameStart();const a=this.shapes[r+1].initPathD();this.shapes[r+1].frameStart();const i=Math.max(n.polymorphPoints.length,a.polymorphPoints.length);e[r]=Ke.getPathInterpolator(n.expendFill(i),a.expendFill(i))}const o=new ne({d:e[0](0)});return r=>{const n=Te(t*r,6),a=Math.min(Math.floor(n),t-1),i=Te(n-a,6);o.originD=e[a](i);const l=this.shapes[a].getAttr("fill","none"),c=this.shapes[a+1].getAttr("fill","none");typeof l=="string"&&typeof c=="string"&&o.setAttr("fill",Ft.gradient(l,c,i).toString());const u=this.shapes[a].getAttr("stroke","none"),d=this.shapes[a+1].getAttr("stroke","none");return typeof u=="string"&&typeof d=="string"&&o.setAttr("stroke",Ft.gradient(u,d,i).toString()),o}}polymorphGroup(){if(this.shapes.length<2)throw new Error("shapes个数必须大于等于2");let t=0,e;const o=[];this.shapes.forEach(i=>{let l;i instanceof Cs?(l=i,l.sortPathD()):(l=new Cs,l.addShape(i)),o.push(l),t<l.shapes.length&&(t=l.shapes.length,e=l)}),o.forEach(i=>{i!==e&&i.expendFill(e)});const r=[];o.forEach((i,l)=>{i.shapes.forEach((c,u)=>{r[u]=r[u]||[],r[u][l]=c})});const n=[];r.forEach(i=>{n.push(new Ue(i).polymorph())});const a=new Cs;return n.forEach(i=>{a.addShape(i(0))}),i=>(n.forEach(l=>{l(i)}),a)}polymorphTween(t=6e3,e){const o=this.shapes.findIndex(i=>i instanceof Cs)>=0?this.polymorphGroup():this.polymorph(),r=o(0),n=e?.onUpdate,a=new Fe({frameDuration:t});a.addTween({t:0},{t:1},Object.assign(e||{},{onUpdate:(i,l)=>{o(i.t),n?.(i,l),e?.draw?.(r)}})),a.play()}static generatePointsShape(t,e,o,r){const n=[];for(let a=0;a<r;a++){const i=a/r*2*Math.PI,{dx:l,dy:c}=Vs(i,o);n.push({x:t+l,y:e+c})}return new Gd({points:n})}static generateRosettaShape(t,e,o,r,n){if(n==0)throw new Error("no dividing by zero, please");const a=[],i=360/n;for(let l=0;l<n;l+=1){const c=i*l*Math.PI/180,u=t+2*o*Math.cos(c),d=e+2*o*Math.sin(c);a.push(new $i({x:t,y:e,rx:o,ry:r,xAxisRotate:i*l,largeArcFlag:1,sweepFlag:1,toX:u,toY:d})),a.push(new $i({x:u,y:d,rx:o,ry:r,xAxisRotate:i*l,largeArcFlag:1,sweepFlag:1,toX:t,toY:e}))}return new ne({d:Ke.fromLines(a)})}}function Qy(s){return window.URL.createObjectURL(s)}const Zd=new ii;async function qd(s,t=6e4){const e=typeof s=="string"?s:Qy(s);return new Promise((o,r)=>{const n=Zd.get(e);if(n)return o(n);const a=new Image;a.onload=l=>{clearTimeout(i);const c=a.naturalWidth||a.width,u=a.naturalHeight||a.height,d={width:c,height:u,aspectRatio:c/u,imageData:Oy(a),element:a};Zd.set(e,d),o(d),a.onerror=a.onload=null},a.onerror=l=>{clearTimeout(i),r(l)},a.src=e;const i=setTimeout(()=>{r("Timeout!")},t)})}async function Ky(s,t=6e4){return new Promise((e,o)=>{const r=document.createElement("script");r.type="text/javascript",r.async=!1,r.onload=a=>{clearTimeout(n),e(a),r.onerror=r.onload=null},r.onerror=a=>{clearTimeout(n),o(a)},r.src=s;const n=setTimeout(()=>{o("Timeout!")},t);document.body.appendChild(r)})}function Qd(s,t){const e=document.createElement("a");e.style.visibility="hidden",e.download=t,typeof s=="string"?e.href=s:e.href=window.URL.createObjectURL(s),e.click()}function Bo(s,t,e){if(t===void 0&&e===void 0)return Kd(s);if(typeof t=="string"&&e===void 0)return Jy(s,t);let o={};typeof t=="object"?o=t:typeof t=="string"&&typeof e=="string"&&(o[t]=e),Cd(s,r=>{Object.entries(o).forEach(([n,a])=>{r.props[n]=a})})}function Kd(s){const t={};for(let e=0,o=s.attributes,r=o.length;e<r;e++){const n=o[e];n.nodeName&&n.nodeValue&&(n.nodeName==="style"?t[n.nodeName]=$d(s):t[n.nodeName]=n.nodeValue)}return t}function Jy(s,t){return t==="style"?$d(s):s.getAttribute(cs(t))}function Jd(s,t,e){return s.setAttribute(cs(t),e)}function Hi(s,t){return new RegExp("(?:^|\\s+)"+t+"(?:\\s+|$)").test(s.className)||!1}function xo(s){return{el:s,isRoot:()=>/(html|body)/i.test(s.tagName)||s===document.documentElement,isActive:()=>s===document.activeElement&&(s.type||s.href),parent:()=>s.parentElement,parents:function(t=s,e=[]){return!t||t.parentElement===null?e:this.parents(t.parentElement,e.concat([t]))},scrollParent:function(){const t=this.parents();for(let e=0,o=t.length;e<o;e++)if(/(auto|scroll)/.test(Sr(t[e],"overflow")+Sr(t[e],"overflow-y")+Sr(t[e],"overflow-x")))return t[e];return document.scrollingElement||document.documentElement},contains:t=>s.contains?s!=t&&s.contains(t):!!(s.compareDocumentPosition(t)&16),siblings:()=>Array.prototype.slice.call(s.parentElement?.children).filter(t=>t!==s),nextElementSibling:()=>s.nextElementSibling,previousElementSibling:()=>s.previousElementSibling,closest:t=>s.closest(t),shadowRoot:()=>s.shadowRoot,isInput:()=>s.tagName==="INPUT"||s instanceof HTMLInputElement,isSelect:()=>s.tagName==="SELECT"||s instanceof HTMLSelectElement,isTextArea:()=>s.tagName==="TEXTAREA"||s instanceof HTMLTextAreaElement,isInputCheckbox:function(){return this.isInput(s)&&s.getAttribute("type")==="checkbox"},isInputRadio:function(){return this.isInput(s)&&s.getAttribute("type")==="radio"},isInputText:function(){return this.isInput(s)&&s.getAttribute("type")==="text"},isInputNumber:function(){return this.isInput(s)&&s.getAttribute("type")==="number"},changeSelected:function(t){if(this.isSelect()){const e=s.options;for(let o=0,r=e.length;o<r;o++)e[o].selected=e[o].value==t}},changeRadioChecked:function(t){if(this.isInputRadio()){const e=document.getElementsByName(s.name);for(let o=0,r=e.length;o<r;o++){const n=e[o];n.checked=n.value==t}}},changeCheckboxChecked:function(t){this.isInputCheckbox()&&(s.checked=t)},insert:(t,e="append")=>{typeof t=="string"?s[e](t1(t)):s[e](t)},html:function(t){if(typeof t=="string"){s.innerHTML=t;const e=tf(s);e!=s&&(s=e)}else this.insert(t,"replaceWith")},empty:function(){this.html("")},text:t=>{s.textContent=t},getInnerText:()=>{if(s instanceof SVGElement)return"";let t=s.innerText;if(!t){const e=s.querySelector("slot")?.assignedNodes()||[];let o=0;for(;!t&&o<=e.length-1;)"innerText"in e[o]&&(t=e[o].innerText),o++}return t},remove:()=>s.remove()}}function t1(s){const t=document.createElement("template");return t.innerHTML=s,t.content.childNodes.forEach(e=>{const o=tf(e);o!=e&&t.content.replaceChild(o,e)}),t.content}function tf(s){return s.tagName=="SCRIPT"&&(s=ef(s)),s.querySelectorAll&&s.querySelectorAll("script").forEach(t=>{t.parentNode?.replaceChild(ef(t),t)}),s}function ef(s){const t=s.ownerDocument.createElement("script");t.text=s.text;const e=s.attributes;for(let o=0,r=e.length;o<r;o++)t.setAttribute(e[o].name,e[o].value);return t}async function Wi(s){if(navigator.clipboard)return await navigator.clipboard.writeText(s);{const t=document.createElement("textarea");return t.value=s,t.style.opacity="0",t.style.position="fixed",t.style.top="0",t.style.left="0",t.focus(),t.select(),document.execCommand("copy")}}function e1(s,t={},e=[],o){return{tag:s,props:t,children:e,el:o}}function Zi(s){return e1(s.tagName,Kd(s),Array.from(s.children).map(t=>Zi(t)),s)}function Xn(s,t=document.documentElement){if(s.el)return s.el;if(s.el=document.createElement(s.tag),s.props)for(const e in s.props){const o=s.props[e];e.startsWith("on")?s.el.addEventListener(e.slice(2).toLowerCase(),o):e==="style"?Ai(s.el,s.props[e]):Jd(s.el,e,o)}return s.children&&(typeof s.children=="string"?s.el.appendChild(document.createTextNode(s.children)):s.children.forEach(e=>{Xn(e,s.el)})),t.appendChild(s.el),s.el}function sf(s,t){if(!s.el)return;if(s.tag!==t.tag){(s.el.parentElement||document.body).replaceChild(Xn(t),s.el);return}const e=t.el=s.el,o=s.props,r=t.props;for(const i in o)i in r||(i.startsWith("on")?e.removeEventListener(i.slice(2).toLowerCase(),o[i]):e.removeAttribute(i));for(const i in r){const l=o[i],c=r[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||Ld(e,u);Ai(e,c)}else Jd(e,i,c)}const n=s.children||[],a=t.children||[];if(typeof a=="string")e.innerHTML=a;else if(typeof n=="string")e.innerHTML="",a.forEach(i=>{Xn(i,e)});else{const i=Math.min(n.length,a.length);for(let l=0;l<i;l++)sf(n[l],a[l]);a.length>n.length&&a.slice(n.length).forEach(l=>{Xn(l,e)}),a.length<n.length&&n.slice(a.length).forEach(l=>{l.el&&e.removeChild(l.el)})}}function of(s){const t=document.documentElement,e=window.top===window.self?window.devicePixelRatio:1;t.dataset.dpr=e;let o=100;const r=function(){const n=Math.min(t.clientWidth,s);t.dataset.width=n,t.dataset.rem=o=Math.round(100*(n/s)),t.style.fontSize=o+"px"};r(),window.rem2px=function(n){return n=parseFloat(n),n*o},window.px2rem=function(n){return n=parseFloat(n),n/o},window.addEventListener&&window.addEventListener("orientationchange"in window?"orientationchange":"resize",r,!1)}class qi{app;ctx;shapes=[];isMouseDown=!1;currentMouseInShape;currentEnableDragMouseInShape;dragDx=0;dragDy=0;constructor(t,e=!1){if(this.app=t,!(this.app.container instanceof HTMLCanvasElement))throw new Error("app.container 应该为 HTMLCanvasElement!");this.ctx=new Di(this.app.container,this.app.width,this.app.height,e),this.app.captureDrag({start:()=>{this.isMouseDown=!0,this.dragDx=0,this.dragDy=0,this.setCursor()},end:()=>{this.isMouseDown=!1,this.dragDx=0,this.dragDy=0,this.setCursor()},move:(o,r)=>{this.currentEnableDragMouseInShape&&(this.dragDx+=r.dx,this.dragDy+=r.dy),this.setCursor()}}),this.app.on("tap",()=>{for(const o of this.shapes)if(this.currentMouseInShape==o){o.emit("clicked");let r=o.parent;for(;r;)r.emit("clicked",o),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(Bt(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 Cs&&t.shapes.forEach(e=>{this._addDrawShape(e)})}draw(t=[]){this.shapes=[],(Array.isArray(t)?t:[t]).forEach(e=>{this._addDrawShape(e)}),this.isMouseDown&&this.currentEnableDragMouseInShape||(this.currentMouseInShape=void 0);for(const e of this.shapes){if(!e.isShow)continue;if(this.ctx.save(),e.frameStart(this.app.mousePoint),s1(this.ctx,e.getAttrs()),e.followMouse&&(!gn(e.x,this.app.mousePoint.x,5)||!gn(e.y,this.app.mousePoint.y,5))&&e.followTo(this.app.mousePoint),e.targetToAfterDragFree&&(this.isMouseDown||e.runEaseTo({x:e.targetToAfterDragFree.targetX,y:e.targetToAfterDragFree.targetY},{easing:e.targetToAfterDragFree?.easing})),this.isMouseDown&&this.currentEnableDragMouseInShape==e){e.isDragging=!0;const r=this.dragDx,n=this.dragDy;if(this.dragDx=0,this.dragDy=0,r||n){if(e.x+=r,e.y+=n,e.alongPath){const a=e.alongPath.closestPoint(e.x,e.y);e.x=a.point.x-e.cX,e.y=a.point.y-e.cY}e.emit("draging",r,n)}}else e.isDragging=!1;e.frameUpdate(this.app.mousePoint,this.ctx),this.transformCtxBaseOnShape(e),e.toCanvasContext(this.ctx),this.ctx.hasSetCustomStrokeStyle&&this.ctx.stroke(),this.ctx.hasSetCustomFillStyle&&this.ctx.fill();const o=this.ctx.currentPath2D;if(!this.currentMouseInShape){const r=this.ctx.isPointInPath(o,this.app.mousePoint.x,this.app.mousePoint.y)||this.ctx.isPointInStroke(o,this.app.mousePoint.x,this.app.mousePoint.y)||!1;e.isMouseIn=r,r&&(this.currentMouseInShape=e,e.enableDrag&&(this.currentEnableDragMouseInShape=e))}e.frameEnd(this.app.mousePoint),this.ctx.restore()}this.currentMouseInShape||(this.currentEnableDragMouseInShape=void 0)}drawMouseMoveLine(t="line",e){switch(t){case"brush":const o=e?.brushSize??10,r=e?.brushDensity??50,n=e?.brushColor??"#000000",a=this.ctx.getImageData(0,0,this.ctx.canvas.width,this.ctx.canvas.height),i=a.data,l=ge(n);return this.app.captureDrag({move:()=>{if(this.isMouseDown){for(let c=0;c<r;c++){const u=Math.random()*Math.PI*2,d=Math.random()*o,h=this.app.mousePoint.x+Math.cos(u)*d|0,p=this.app.mousePoint.y+Math.sin(u)*d|0,f=(h+p*a.width)*4;i[f]=l.r,i[f+1]=l.g,i[f+2]=l.b,i[f+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 s1(s,t){for(const e in t){const o=t[e];switch(e){case"fill":o!=="none"&&(s.fillStyle=o);break;case"stroke":o!=="none"&&(s.strokeStyle=o);break;case"stroke-width":case"strokeWidth":s.lineWidth=Number(o);break;case"stroke-linecap":case"strokeLinecap":s.lineCap=o;break;case"stroke-linejoin":case"strokeLinejoin":switch(o){case"round":case"bevel":case"miter":s.lineJoin=o;break;default:s.lineJoin="miter";break}break;case"stroke-miterlimit":case"strokeMiterlimit":s.miterLimit=Number(o);break;case"stroke-opacity":case"strokeOpacity":break;case"stroke-dashoffset":case"strokeDashoffset":s.lineDashOffset=Number(o);break;case"stroke-dasharray":case"strokeDasharray":typeof o=="string"&&s.setLineDash(o.split(/\s+/).map(r=>Number(r)));break;case"cursor":break;case"font":typeof o=="string"&&(s.font=o);break;case"font-size":case"fontSize":s.font+=` ${o}`;break;case"font-family":case"fontFamily":s.font+=` ${o}`;break;case"font-weight":case"fontWeight":break;case"font-style":case"fontStyle":break;case"text-anchor":case"textAnchor":switch(o){case"middle":s.textAlign="center";break;case"end":s.textAlign="end";break;case"start":s.textAlign="start";break}break;case"alignment-baseline":case"alignmentBaseline":switch(o){case"middle":case"bottom":case"top":case"alphabetic":case"hanging":case"ideographic":s.textBaseline=o;break;default:s.textBaseline="alphabetic";break}break}}}class o1{map;constructor(t,e=120.619585,o=31.299379,r=18){this.map=new T.Map(t),this.map.centerAndZoom(new T.LngLat(e,o),r)}}const r1=H({__name:"Icon.ce",props:{icon:{default:"mdi-light:home"},color:{default:vt.colorPrimary}},setup(s){const t=s;return(e,o)=>(L(),z("span",{class:"icon",style:A(["color: "+e.color])},[it(Ct(pd),{icon:t.icon,color:e.color},null,8,["icon","color"])],4))}}),n1=`.icon[data-v-7966389b]{display:inline-flex;justify-content:center;align-items:center;cursor:pointer;font-size:1em}
63
- `,nt=(s,t)=>{const e=s.__vccOpts||s;for(const[o,r]of t)e[o]=r;return e},rf=nt(r1,[["styles",[n1]],["__scopeId","data-v-7966389b"]]),a1=H({__name:"Icon",props:{icon:{default:"mdi-light:home"},color:{default:vt.colorPrimary}},setup(s){const t=s;return(e,o)=>(L(),z("span",{class:"icon",style:A(["color: "+e.color])},[it(Ct(pd),{icon:t.icon,color:e.color},null,8,["icon","color"])],4))}}),Xx="",Ss=nt(a1,[["__scopeId","data-v-3f9d90d2"]]),i1={class:"loading-11",ref:"loading11"},l1={class:"container container-1"},c1={class:"container container-2"},u1={class:"container container-3"},d1=H({__name:"Loading11",props:{color:{default:vt.colorPrimary},width:{default:"0.8em"}},setup(s){const t=s;return(e,o)=>(L(),z("div",i1,[E("div",{class:"loading-11-inner",style:A({width:t.width,height:t.width})},[E("div",l1,[E("div",{class:"dot dot-1",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-2",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-3",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-4",style:A({backgroundColor:t.color})},null,4)]),E("div",c1,[E("div",{class:"dot dot-1",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-2",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-3",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-4",style:A({backgroundColor:t.color})},null,4)]),E("div",u1,[E("div",{class:"dot dot-1",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-2",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-3",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-4",style:A({backgroundColor:t.color})},null,4)])],4)],512))}}),Gx="",Gn=nt(d1,[["__scopeId","data-v-f95fac77"]]),f1={key:0,class:"loading"},eo=nt(H({customOptions:{Loading11:Gn},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(s,{expose:t,emit:e}){const o=s,r=e,n=R(),a=R(o.borderColor),i=R(o.bgColor),l=R(o.fontColor),c=R(o.borderColor),u=R(o.bgColor);function d(m){switch(m){case"outline":a.value=o.borderColor??vt.colorPrimary,i.value=o.bgColor??vt.colorGrayFF,l.value=o.fontColor??vt.colorPrimary,c.value=a.value,u.value=i.value;break;case"fullfilled":default:a.value=o.borderColor??vt.colorPrimary,i.value=o.bgColor??vt.colorPrimary,l.value=o.fontColor??vt.colorGrayFF,c.value=a.value,u.value=i.value;break}}Et(()=>o.stylePattern,()=>{d(o.stylePattern)},{immediate:!0});const h=R(o.disabled?"0.6":"1"),p=R(o.disabled?"not-allowed":"pointer");let f=!1;const b=()=>{o.disabled||(f=!0,a.value=ge(c.value).lighten(.05).toString(),i.value=ge(u.value).lighten(.05).toString())},w=()=>{o.disabled||(f=!1,a.value=c.value,i.value=u.value)},x=R(!1),g=Au(()=>{o.disabled||x.value||(a.value=ge(c.value).darken(.05).toString(),i.value=ge(u.value).darken(.05).toString(),setTimeout(()=>{f?b():w()},150),r("yz-click"),r("click"),o.asyncClick&&(x.value=!0,o.asyncClick().then(()=>{x.value=!1}).catch(()=>{x.value=!1})))},500);return t({el:n}),(m,_)=>(L(),z("div",{ref_key:"el",ref:n,class:"button",style:A([`opacity: ${h.value}`,`border: 1px solid ${a.value}`,`background-color: ${i.value}`,`color: ${l.value}`,`border-radius: ${o.borderRadius}`,`width: ${o.width}`,`height: ${o.height}`,`line-height: ${o.height}`,`font-size: ${o.fontSize}`,`cursor: ${p.value}`,"user-select: none"]),onMouseover:b,onMouseleave:w,onClick:_[0]||(_[0]=(...k)=>Ct(g)&&Ct(g)(...k))},[E("label",{class:"label truncate",style:A({padding:"0 "+m.padding,cursor:p.value})},[x.value?(L(),z("div",f1,[it(Gn,{color:l.value},null,8,["color"])])):Rt("",!0),_t(m.$slots,"default",{},()=>[m.icon&&m.iconPosition==="left"?(L(),$t(Ss,{key:0,icon:m.icon,color:l.value,style:A({marginRight:Ct(vt).d4,cursor:p.value})},null,8,["icon","color","style"])):Rt("",!0),E("span",{style:A({cursor:p.value})},yt(m.label),5),m.icon&&m.iconPosition==="right"?(L(),$t(Ss,{key:1,icon:m.icon,color:l.value,style:A({marginLeft:Ct(vt).d4,cursor:p.value})},null,8,["icon","color","style"])):Rt("",!0)],!0)],4)],36))}}),[["styles",[`.button[data-v-4d6b5d68]{box-sizing:border-box;display:inline-flex;justify-content:center;align-items:center;z-index:0}.label[data-v-4d6b5d68]{display:inline-flex;justify-content:center;align-items:center}.loading[data-v-4d6b5d68]{margin-right:6px}
64
- `]],["__scopeId","data-v-4d6b5d68"]]),h1={key:0,class:"loading"},p1=H({customOptions:{Loading11:Gn},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(s,{expose:t,emit:e}){const o=s,r=e,n=R(),a=R(o.borderColor),i=R(o.bgColor),l=R(o.fontColor),c=R(o.borderColor),u=R(o.bgColor);function d(m){switch(m){case"outline":a.value=o.borderColor??vt.colorPrimary,i.value=o.bgColor??vt.colorGrayFF,l.value=o.fontColor??vt.colorPrimary,c.value=a.value,u.value=i.value;break;case"fullfilled":default:a.value=o.borderColor??vt.colorPrimary,i.value=o.bgColor??vt.colorPrimary,l.value=o.fontColor??vt.colorGrayFF,c.value=a.value,u.value=i.value;break}}Et(()=>o.stylePattern,()=>{d(o.stylePattern)},{immediate:!0});const h=R(o.disabled?"0.6":"1"),p=R(o.disabled?"not-allowed":"pointer");let f=!1;const b=()=>{o.disabled||(f=!0,a.value=ge(c.value).lighten(.05).toString(),i.value=ge(u.value).lighten(.05).toString())},w=()=>{o.disabled||(f=!1,a.value=c.value,i.value=u.value)},x=R(!1),g=Au(()=>{o.disabled||x.value||(a.value=ge(c.value).darken(.05).toString(),i.value=ge(u.value).darken(.05).toString(),setTimeout(()=>{f?b():w()},150),r("yz-click"),r("click"),o.asyncClick&&(x.value=!0,o.asyncClick().then(()=>{x.value=!1}).catch(()=>{x.value=!1})))},500);return t({el:n}),(m,_)=>(L(),z("div",{ref_key:"el",ref:n,class:"button",style:A([`opacity: ${h.value}`,`border: 1px solid ${a.value}`,`background-color: ${i.value}`,`color: ${l.value}`,`border-radius: ${o.borderRadius}`,`width: ${o.width}`,`height: ${o.height}`,`line-height: ${o.height}`,`font-size: ${o.fontSize}`,`cursor: ${p.value}`,"user-select: none"]),onMouseover:b,onMouseleave:w,onClick:_[0]||(_[0]=(...k)=>Ct(g)&&Ct(g)(...k))},[E("label",{class:"label truncate",style:A({padding:"0 "+m.padding,cursor:p.value})},[x.value?(L(),z("div",h1,[it(Gn,{color:l.value},null,8,["color"])])):Rt("",!0),_t(m.$slots,"default",{},()=>[m.icon&&m.iconPosition==="left"?(L(),$t(Ss,{key:0,icon:m.icon,color:l.value,style:A({marginRight:Ct(vt).d4,cursor:p.value})},null,8,["icon","color","style"])):Rt("",!0),E("span",{style:A({cursor:p.value})},yt(m.label),5),m.icon&&m.iconPosition==="right"?(L(),$t(Ss,{key:1,icon:m.icon,color:l.value,style:A({marginLeft:Ct(vt).d4,cursor:p.value})},null,8,["icon","color","style"])):Rt("",!0)],!0)],4)],36))}}),Hx="",qt=nt(p1,[["__scopeId","data-v-999537e3"]]),m1=["onClick","value"],g1={class:"option-inner"},y1=nt(H({customOptions:{Icon:Ss,Button:qt},__name:"Select.ce",props:{options:{},initIndex:{default:0},fontSize:{default:"14px"}},emits:["change"],setup(s,{emit:t}){const e=s,o=t;es(()=>{us(`
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,S,R){return setTimeout(g(C,R),S)}function d(C,S,R){return Array.isArray(C)?(h(C,R[S],R),!0):!1}function h(C,S,R){var M;if(C)if(C.forEach)C.forEach(S,R);else if(C.length!==s)for(M=0;M<C.length;)S.call(R,C[M],M,C),M++;else for(M in C)C.hasOwnProperty(M)&&S.call(R,C[M],M,C)}function p(C,S,R){var M="DEPRECATED METHOD: "+S+`
43
+ `+R+` AT
44
+ `;return function(){var q=new Error("get-stack-trace"),mt=q&&q.stack?q.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,M,mt),C.apply(this,arguments)}}var v;typeof Object.assign!="function"?v=function(S){if(S===s||S===null)throw new TypeError("Cannot convert undefined or null to object");for(var R=Object(S),M=1;M<arguments.length;M++){var q=arguments[M];if(q!==s&&q!==null)for(var mt in q)q.hasOwnProperty(mt)&&(R[mt]=q[mt])}return R}:v=Object.assign;var k=p(function(S,R,M){for(var q=Object.keys(R),mt=0;mt<q.length;)(!M||M&&S[q[mt]]===s)&&(S[q[mt]]=R[q[mt]]),mt++;return S},"extend","Use `assign`."),x=p(function(S,R){return k(S,R,!0)},"merge","Use `assign`.");function m(C,S,R){var M=S.prototype,q;q=C.prototype=Object.create(M),q.constructor=C,q._super=M,R&&v(q,R)}function g(C,S){return function(){return C.apply(S,arguments)}}function y(C,S){return typeof C==i?C.apply(S&&S[0]||s,S):C}function b(C,S){return C===s?S:C}function _(C,S,R){h(D(S),function(M){C.addEventListener(M,R,!1)})}function $(C,S,R){h(D(S),function(M){C.removeEventListener(M,R,!1)})}function Y(C,S){for(;C;){if(C==S)return!0;C=C.parentNode}return!1}function B(C,S){return C.indexOf(S)>-1}function D(C){return C.trim().split(/\s+/g)}function ut(C,S,R){if(C.indexOf&&!R)return C.indexOf(S);for(var M=0;M<C.length;){if(R&&C[M][R]==S||!R&&C[M]===S)return M;M++}return-1}function j(C){return Array.prototype.slice.call(C,0)}function tt(C,S,R){for(var M=[],q=[],mt=0;mt<C.length;){var zt=S?C[mt][S]:C[mt];ut(q,zt)<0&&M.push(C[mt]),q[mt]=zt,mt++}return R&&(S?M=M.sort(function(Oe,Me){return Oe[S]>Me[S]}):M=M.sort()),M}function vt(C,S){for(var R,M,q=S[0].toUpperCase()+S.slice(1),mt=0;mt<r.length;){if(R=r[mt],M=R?R+q:S,M in C)return M;mt++}return s}var St=1;function $t(){return St++}function kt(C){var S=C.ownerDocument||C;return S.defaultView||S.parentWindow||t}var wt=/mobile|tablet|ip(ad|hone|od)|android/i,oe="ontouchstart"in t,pe=vt(t,"PointerEvent")!==s,he=oe&&wt.test(navigator.userAgent),Xt="touch",et="pen",A="mouse",ne="kinect",Nt=25,F=1,nt=2,H=4,lt=8,Pt=1,Zt=2,V=4,E=8,P=16,L=Zt|V,Z=E|P,U=L|Z,G=["x","y"],rt=["clientX","clientY"];function W(C,S){var R=this;this.manager=C,this.callback=S,this.element=C.element,this.target=C.options.inputTarget,this.domHandler=function(M){y(C.options.enable,[C])&&R.handler(M)},this.init()}W.prototype={handler:function(){},init:function(){this.evEl&&_(this.element,this.evEl,this.domHandler),this.evTarget&&_(this.target,this.evTarget,this.domHandler),this.evWin&&_(kt(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&&$(kt(this.element),this.evWin,this.domHandler)}};function ot(C){var S,R=C.options.inputClass;return R?S=R:pe?S=Tc:he?S=Ha:oe?S=Ec:S=De,new S(C,K)}function K(C,S,R){var M=R.pointers.length,q=R.changedPointers.length,mt=S&F&&M-q===0,zt=S&(H|lt)&&M-q===0;R.isFirst=!!mt,R.isFinal=!!zt,mt&&(C.session={}),R.eventType=S,Ct(C,R),C.emit("hammer.input",R),C.recognize(R),C.session.prevInput=R}function Ct(C,S){var R=C.session,M=S.pointers,q=M.length;R.firstInput||(R.firstInput=Et(S)),q>1&&!R.firstMultiple?R.firstMultiple=Et(S):q===1&&(R.firstMultiple=!1);var mt=R.firstInput,zt=R.firstMultiple,Ce=zt?zt.center:mt.center,Oe=S.center=Ft(M);S.timeStamp=u(),S.deltaTime=S.timeStamp-mt.timeStamp,S.angle=ve(Ce,Oe),S.distance=we(Ce,Oe),ct(R,S),S.offsetDirection=Ht(S.deltaX,S.deltaY);var Me=te(S.deltaTime,S.deltaX,S.deltaY);S.overallVelocityX=Me.x,S.overallVelocityY=Me.y,S.overallVelocity=c(Me.x)>c(Me.y)?Me.x:Me.y,S.scale=zt?ze(zt.pointers,M):1,S.rotation=zt?Ge(zt.pointers,M):0,S.maxPointers=R.prevInput?S.pointers.length>R.prevInput.maxPointers?S.pointers.length:R.prevInput.maxPointers:S.pointers.length,bt(R,S);var ko=C.element;Y(S.srcEvent.target,ko)&&(ko=S.srcEvent.target),S.target=ko}function ct(C,S){var R=S.center,M=C.offsetDelta||{},q=C.prevDelta||{},mt=C.prevInput||{};(S.eventType===F||mt.eventType===H)&&(q=C.prevDelta={x:mt.deltaX||0,y:mt.deltaY||0},M=C.offsetDelta={x:R.x,y:R.y}),S.deltaX=q.x+(R.x-M.x),S.deltaY=q.y+(R.y-M.y)}function bt(C,S){var R=C.lastInterval||S,M=S.timeStamp-R.timeStamp,q,mt,zt,Ce;if(S.eventType!=lt&&(M>Nt||R.velocity===s)){var Oe=S.deltaX-R.deltaX,Me=S.deltaY-R.deltaY,ko=te(M,Oe,Me);mt=ko.x,zt=ko.y,q=c(ko.x)>c(ko.y)?ko.x:ko.y,Ce=Ht(Oe,Me),C.lastInterval=S}else q=R.velocity,mt=R.velocityX,zt=R.velocityY,Ce=R.direction;S.velocity=q,S.velocityX=mt,S.velocityY=zt,S.direction=Ce}function Et(C){for(var S=[],R=0;R<C.pointers.length;)S[R]={clientX:l(C.pointers[R].clientX),clientY:l(C.pointers[R].clientY)},R++;return{timeStamp:u(),pointers:S,center:Ft(S),deltaX:C.deltaX,deltaY:C.deltaY}}function Ft(C){var S=C.length;if(S===1)return{x:l(C[0].clientX),y:l(C[0].clientY)};for(var R=0,M=0,q=0;q<S;)R+=C[q].clientX,M+=C[q].clientY,q++;return{x:l(R/S),y:l(M/S)}}function te(C,S,R){return{x:S/C||0,y:R/C||0}}function Ht(C,S){return C===S?Pt:c(C)>=c(S)?C<0?Zt:V:S<0?E:P}function we(C,S,R){R||(R=G);var M=S[R[0]]-C[R[0]],q=S[R[1]]-C[R[1]];return Math.sqrt(M*M+q*q)}function ve(C,S,R){R||(R=G);var M=S[R[0]]-C[R[0]],q=S[R[1]]-C[R[1]];return Math.atan2(q,M)*180/Math.PI}function Ge(C,S){return ve(S[1],S[0],rt)+ve(C[1],C[0],rt)}function ze(C,S){return we(S[0],S[1],rt)/we(C[0],C[1],rt)}var En={mousedown:F,mousemove:nt,mouseup:H},Ua="mousedown",Se="mousemove mouseup";function De(){this.evEl=Ua,this.evWin=Se,this.pressed=!1,W.apply(this,arguments)}m(De,W,{handler:function(S){var R=En[S.type];R&F&&S.button===0&&(this.pressed=!0),R&nt&&S.which!==1&&(R=H),this.pressed&&(R&H&&(this.pressed=!1),this.callback(this.manager,R,{pointers:[S],changedPointers:[S],pointerType:A,srcEvent:S}))}});var Ga={pointerdown:F,pointermove:nt,pointerup:H,pointercancel:lt,pointerout:lt},vw={2:Xt,3:et,4:A,5:ne},Im="pointerdown",Am="pointermove pointerup pointercancel";t.MSPointerEvent&&!t.PointerEvent&&(Im="MSPointerDown",Am="MSPointerMove MSPointerUp MSPointerCancel");function Tc(){this.evEl=Im,this.evWin=Am,W.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}m(Tc,W,{handler:function(S){var R=this.store,M=!1,q=S.type.toLowerCase().replace("ms",""),mt=Ga[q],zt=vw[S.pointerType]||S.pointerType,Ce=zt==Xt,Oe=ut(R,S.pointerId,"pointerId");mt&F&&(S.button===0||Ce)?Oe<0&&(R.push(S),Oe=R.length-1):mt&(H|lt)&&(M=!0),!(Oe<0)&&(R[Oe]=S,this.callback(this.manager,mt,{pointers:R,changedPointers:[S],pointerType:zt,srcEvent:S}),M&&R.splice(Oe,1))}});var bw={touchstart:F,touchmove:nt,touchend:H,touchcancel:lt},_w="touchstart",xw="touchstart touchmove touchend touchcancel";function $m(){this.evTarget=_w,this.evWin=xw,this.started=!1,W.apply(this,arguments)}m($m,W,{handler:function(S){var R=bw[S.type];if(R===F&&(this.started=!0),!!this.started){var M=kw.call(this,S,R);R&(H|lt)&&M[0].length-M[1].length===0&&(this.started=!1),this.callback(this.manager,R,{pointers:M[0],changedPointers:M[1],pointerType:Xt,srcEvent:S})}}});function kw(C,S){var R=j(C.touches),M=j(C.changedTouches);return S&(H|lt)&&(R=tt(R.concat(M),"identifier",!0)),[R,M]}var ww={touchstart:F,touchmove:nt,touchend:H,touchcancel:lt},Cw="touchstart touchmove touchend touchcancel";function Ha(){this.evTarget=Cw,this.targetIds={},W.apply(this,arguments)}m(Ha,W,{handler:function(S){var R=ww[S.type],M=Tw.call(this,S,R);M&&this.callback(this.manager,R,{pointers:M[0],changedPointers:M[1],pointerType:Xt,srcEvent:S})}});function Tw(C,S){var R=j(C.touches),M=this.targetIds;if(S&(F|nt)&&R.length===1)return M[R[0].identifier]=!0,[R,R];var q,mt,zt=j(C.changedTouches),Ce=[],Oe=this.target;if(mt=R.filter(function(Me){return Y(Me.target,Oe)}),S===F)for(q=0;q<mt.length;)M[mt[q].identifier]=!0,q++;for(q=0;q<zt.length;)M[zt[q].identifier]&&Ce.push(zt[q]),S&(H|lt)&&delete M[zt[q].identifier],q++;if(Ce.length)return[tt(mt.concat(Ce),"identifier",!0),Ce]}var Ew=2500,Nm=25;function Ec(){W.apply(this,arguments);var C=g(this.handler,this);this.touch=new Ha(this.manager,C),this.mouse=new De(this.manager,C),this.primaryTouch=null,this.lastTouches=[]}m(Ec,W,{handler:function(S,R,M){var q=M.pointerType==Xt,mt=M.pointerType==A;if(!(mt&&M.sourceCapabilities&&M.sourceCapabilities.firesTouchEvents)){if(q)Sw.call(this,R,M);else if(mt&&Ow.call(this,M))return;this.callback(S,R,M)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});function Sw(C,S){C&F?(this.primaryTouch=S.changedPointers[0].identifier,Fm.call(this,S)):C&(H|lt)&&Fm.call(this,S)}function Fm(C){var S=C.changedPointers[0];if(S.identifier===this.primaryTouch){var R={x:S.clientX,y:S.clientY};this.lastTouches.push(R);var M=this.lastTouches,q=function(){var mt=M.indexOf(R);mt>-1&&M.splice(mt,1)};setTimeout(q,Ew)}}function Ow(C){for(var S=C.srcEvent.clientX,R=C.srcEvent.clientY,M=0;M<this.lastTouches.length;M++){var q=this.lastTouches[M],mt=Math.abs(S-q.x),zt=Math.abs(R-q.y);if(mt<=Nm&&zt<=Nm)return!0}return!1}var zm=vt(a.style,"touchAction"),Dm=zm!==s,Mm="compute",Lm="auto",Sc="manipulation",Sn="none",Ks="pan-x",Qs="pan-y",ja=Rw();function Oc(C,S){this.manager=C,this.set(S)}Oc.prototype={set:function(C){C==Mm&&(C=this.compute()),Dm&&this.manager.element.style&&ja[C]&&(this.manager.element.style[zm]=C),this.actions=C.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var C=[];return h(this.manager.recognizers,function(S){y(S.options.enable,[S])&&(C=C.concat(S.getTouchAction()))}),Pw(C.join(" "))},preventDefaults:function(C){var S=C.srcEvent,R=C.offsetDirection;if(this.manager.session.prevented){S.preventDefault();return}var M=this.actions,q=B(M,Sn)&&!ja[Sn],mt=B(M,Qs)&&!ja[Qs],zt=B(M,Ks)&&!ja[Ks];if(q){var Ce=C.pointers.length===1,Oe=C.distance<2,Me=C.deltaTime<250;if(Ce&&Oe&&Me)return}if(!(zt&&mt)&&(q||mt&&R&L||zt&&R&Z))return this.preventSrc(S)},preventSrc:function(C){this.manager.session.prevented=!0,C.preventDefault()}};function Pw(C){if(B(C,Sn))return Sn;var S=B(C,Ks),R=B(C,Qs);return S&&R?Sn:S||R?S?Ks:Qs:B(C,Sc)?Sc:Lm}function Rw(){if(!Dm)return!1;var C={},S=t.CSS&&t.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(R){C[R]=S?t.CSS.supports("touch-action",R):!0}),C}var Wa=1,eo=2,es=4,rn=8,Mo=rn,Js=16,xo=32;function Lo(C){this.options=v({},this.defaults,C||{}),this.id=$t(),this.manager=null,this.options.enable=b(this.options.enable,!0),this.state=Wa,this.simultaneous={},this.requireFail=[]}Lo.prototype={defaults:{},set:function(C){return v(this.options,C),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(C){if(d(C,"recognizeWith",this))return this;var S=this.simultaneous;return C=qa(C,this),S[C.id]||(S[C.id]=C,C.recognizeWith(this)),this},dropRecognizeWith:function(C){return d(C,"dropRecognizeWith",this)?this:(C=qa(C,this),delete this.simultaneous[C.id],this)},requireFailure:function(C){if(d(C,"requireFailure",this))return this;var S=this.requireFail;return C=qa(C,this),ut(S,C)===-1&&(S.push(C),C.requireFailure(this)),this},dropRequireFailure:function(C){if(d(C,"dropRequireFailure",this))return this;C=qa(C,this);var S=ut(this.requireFail,C);return S>-1&&this.requireFail.splice(S,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(C){return!!this.simultaneous[C.id]},emit:function(C){var S=this,R=this.state;function M(q){S.manager.emit(q,C)}R<rn&&M(S.options.event+Bm(R)),M(S.options.event),C.additionalEvent&&M(C.additionalEvent),R>=rn&&M(S.options.event+Bm(R))},tryEmit:function(C){if(this.canEmit())return this.emit(C);this.state=xo},canEmit:function(){for(var C=0;C<this.requireFail.length;){if(!(this.requireFail[C].state&(xo|Wa)))return!1;C++}return!0},recognize:function(C){var S=v({},C);if(!y(this.options.enable,[this,S])){this.reset(),this.state=xo;return}this.state&(Mo|Js|xo)&&(this.state=Wa),this.state=this.process(S),this.state&(eo|es|rn|Js)&&this.tryEmit(S)},process:function(C){},getTouchAction:function(){},reset:function(){}};function Bm(C){return C&Js?"cancel":C&rn?"end":C&es?"move":C&eo?"start":""}function Vm(C){return C==P?"down":C==E?"up":C==Zt?"left":C==V?"right":""}function qa(C,S){var R=S.manager;return R?R.get(C):C}function uo(){Lo.apply(this,arguments)}m(uo,Lo,{defaults:{pointers:1},attrTest:function(C){var S=this.options.pointers;return S===0||C.pointers.length===S},process:function(C){var S=this.state,R=C.eventType,M=S&(eo|es),q=this.attrTest(C);return M&&(R&lt||!q)?S|Js:M||q?R&H?S|rn:S&eo?S|es:eo:xo}});function Ka(){uo.apply(this,arguments),this.pX=null,this.pY=null}m(Ka,uo,{defaults:{event:"pan",threshold:10,pointers:1,direction:U},getTouchAction:function(){var C=this.options.direction,S=[];return C&L&&S.push(Qs),C&Z&&S.push(Ks),S},directionTest:function(C){var S=this.options,R=!0,M=C.distance,q=C.direction,mt=C.deltaX,zt=C.deltaY;return q&S.direction||(S.direction&L?(q=mt===0?Pt:mt<0?Zt:V,R=mt!=this.pX,M=Math.abs(C.deltaX)):(q=zt===0?Pt:zt<0?E:P,R=zt!=this.pY,M=Math.abs(C.deltaY))),C.direction=q,R&&M>S.threshold&&q&S.direction},attrTest:function(C){return uo.prototype.attrTest.call(this,C)&&(this.state&eo||!(this.state&eo)&&this.directionTest(C))},emit:function(C){this.pX=C.deltaX,this.pY=C.deltaY;var S=Vm(C.direction);S&&(C.additionalEvent=this.options.event+S),this._super.emit.call(this,C)}});function Pc(){uo.apply(this,arguments)}m(Pc,uo,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Sn]},attrTest:function(C){return this._super.attrTest.call(this,C)&&(Math.abs(C.scale-1)>this.options.threshold||this.state&eo)},emit:function(C){if(C.scale!==1){var S=C.scale<1?"in":"out";C.additionalEvent=this.options.event+S}this._super.emit.call(this,C)}});function Rc(){Lo.apply(this,arguments),this._timer=null,this._input=null}m(Rc,Lo,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Lm]},process:function(C){var S=this.options,R=C.pointers.length===S.pointers,M=C.distance<S.threshold,q=C.deltaTime>S.time;if(this._input=C,!M||!R||C.eventType&(H|lt)&&!q)this.reset();else if(C.eventType&F)this.reset(),this._timer=f(function(){this.state=Mo,this.tryEmit()},S.time,this);else if(C.eventType&H)return Mo;return xo},reset:function(){clearTimeout(this._timer)},emit:function(C){this.state===Mo&&(C&&C.eventType&H?this.manager.emit(this.options.event+"up",C):(this._input.timeStamp=u(),this.manager.emit(this.options.event,this._input)))}});function Ic(){uo.apply(this,arguments)}m(Ic,uo,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Sn]},attrTest:function(C){return this._super.attrTest.call(this,C)&&(Math.abs(C.rotation)>this.options.threshold||this.state&eo)}});function Ac(){uo.apply(this,arguments)}m(Ac,uo,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:L|Z,pointers:1},getTouchAction:function(){return Ka.prototype.getTouchAction.call(this)},attrTest:function(C){var S=this.options.direction,R;return S&(L|Z)?R=C.overallVelocity:S&L?R=C.overallVelocityX:S&Z&&(R=C.overallVelocityY),this._super.attrTest.call(this,C)&&S&C.offsetDirection&&C.distance>this.options.threshold&&C.maxPointers==this.options.pointers&&c(R)>this.options.velocity&&C.eventType&H},emit:function(C){var S=Vm(C.offsetDirection);S&&this.manager.emit(this.options.event+S,C),this.manager.emit(this.options.event,C)}});function Qa(){Lo.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}m(Qa,Lo,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Sc]},process:function(C){var S=this.options,R=C.pointers.length===S.pointers,M=C.distance<S.threshold,q=C.deltaTime<S.time;if(this.reset(),C.eventType&F&&this.count===0)return this.failTimeout();if(M&&q&&R){if(C.eventType!=H)return this.failTimeout();var mt=this.pTime?C.timeStamp-this.pTime<S.interval:!0,zt=!this.pCenter||we(this.pCenter,C.center)<S.posThreshold;this.pTime=C.timeStamp,this.pCenter=C.center,!zt||!mt?this.count=1:this.count+=1,this._input=C;var Ce=this.count%S.taps;if(Ce===0)return this.hasRequireFailures()?(this._timer=f(function(){this.state=Mo,this.tryEmit()},S.interval,this),eo):Mo}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==Mo&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}});function Bo(C,S){return S=S||{},S.recognizers=b(S.recognizers,Bo.defaults.preset),new $c(C,S)}Bo.VERSION="2.0.7",Bo.defaults={domEvents:!1,touchAction:Mm,enable:!0,inputTarget:null,inputClass:null,preset:[[Ic,{enable:!1}],[Pc,{enable:!1},["rotate"]],[Ac,{direction:L}],[Ka,{direction:L},["swipe"]],[Qa],[Qa,{event:"doubletap",taps:2},["tap"]],[Rc]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var Iw=1,Ym=2;function $c(C,S){this.options=v({},Bo.defaults,S||{}),this.options.inputTarget=this.options.inputTarget||C,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=C,this.input=ot(this),this.touchAction=new Oc(this,this.options.touchAction),Xm(this,!0),h(this.options.recognizers,function(R){var M=this.add(new R[0](R[1]));R[2]&&M.recognizeWith(R[2]),R[3]&&M.requireFailure(R[3])},this)}$c.prototype={set:function(C){return v(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?Ym:Iw},recognize:function(C){var S=this.session;if(!S.stopped){this.touchAction.preventDefaults(C);var R,M=this.recognizers,q=S.curRecognizer;(!q||q&&q.state&Mo)&&(q=S.curRecognizer=null);for(var mt=0;mt<M.length;)R=M[mt],S.stopped!==Ym&&(!q||R==q||R.canRecognizeWith(q))?R.recognize(C):R.reset(),!q&&R.state&(eo|es|rn)&&(q=S.curRecognizer=R),mt++}},get:function(C){if(C instanceof Lo)return C;for(var S=this.recognizers,R=0;R<S.length;R++)if(S[R].options.event==C)return S[R];return null},add:function(C){if(d(C,"add",this))return this;var S=this.get(C.options.event);return S&&this.remove(S),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 S=this.recognizers,R=ut(S,C);R!==-1&&(S.splice(R,1),this.touchAction.update())}return this},on:function(C,S){if(C!==s&&S!==s){var R=this.handlers;return h(D(C),function(M){R[M]=R[M]||[],R[M].push(S)}),this}},off:function(C,S){if(C!==s){var R=this.handlers;return h(D(C),function(M){S?R[M]&&R[M].splice(ut(R[M],S),1):delete R[M]}),this}},emit:function(C,S){this.options.domEvents&&Aw(C,S);var R=this.handlers[C]&&this.handlers[C].slice();if(!(!R||!R.length)){S.type=C,S.preventDefault=function(){S.srcEvent.preventDefault()};for(var M=0;M<R.length;)R[M](S),M++}},destroy:function(){this.element&&Xm(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}};function Xm(C,S){var R=C.element;if(R.style){var M;h(C.options.cssProps,function(q,mt){M=vt(R.style,mt),S?(C.oldCssProps[M]=R.style[M],R.style[M]=q):R.style[M]=C.oldCssProps[M]||""}),S||(C.oldCssProps={})}}function Aw(C,S){var R=e.createEvent("Event");R.initEvent(C,!0,!0),R.gesture=S,S.target.dispatchEvent(R)}v(Bo,{INPUT_START:F,INPUT_MOVE:nt,INPUT_END:H,INPUT_CANCEL:lt,STATE_POSSIBLE:Wa,STATE_BEGAN:eo,STATE_CHANGED:es,STATE_ENDED:rn,STATE_RECOGNIZED:Mo,STATE_CANCELLED:Js,STATE_FAILED:xo,DIRECTION_NONE:Pt,DIRECTION_LEFT:Zt,DIRECTION_RIGHT:V,DIRECTION_UP:E,DIRECTION_DOWN:P,DIRECTION_HORIZONTAL:L,DIRECTION_VERTICAL:Z,DIRECTION_ALL:U,Manager:$c,Input:W,TouchAction:Oc,TouchInput:Ha,MouseInput:De,PointerEventInput:Tc,TouchMouseInput:Ec,SingleTouchInput:$m,Recognizer:Lo,AttrRecognizer:uo,Tap:Qa,Pan:Ka,Swipe:Ac,Pinch:Pc,Rotate:Ic,Press:Rc,on:_,off:$,each:h,merge:x,extend:k,assign:v,inherit:m,bindFn:g,prefixed:vt});var $w=typeof t<"u"?t:typeof self<"u"?self:{};$w.Hammer=Bo,typeof s=="function"&&s.amd?s(function(){return Bo}):o.exports?o.exports=Bo:t[n]=Bo})(window,document,"Hammer")})(Nd);var hv=Nd.exports;const pv=O1(hv);async function Fd(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 Cn(o,t){return mv(o,t)}function mv(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 ra(o=document.documentElement){const t=new Vr,e=new pv(o);let n=[];const s=dv(),r=s.mousePoint,a=V=>{t.emit("mouseDown",V)},i=V=>{t.emit("mouseUp",V)},l=V=>{r.isDown||s.setCurrentMousePoint(Ms(V,o)),t.emit("mouseMove",V)},c=V=>{t.emit("mouseOver",V)},u=V=>{t.emit("mouseOut",V)},f=V=>{t.emit("mouseEnter",V)},d=V=>{t.emit("mouseLeave",V)},h=V=>{t.emit("mouseClick",V)},p=V=>{t.emit("mouseDoubleClick",V)},v=V=>{t.emit("mouseWheel",V)},k=V=>{t.emit("mouseContextMenu",V)},x=V=>{t.emit("touchStart",V)},m=V=>{t.emit("touchEnd",V)},g=V=>{t.emit("touchCancel",V)},y=V=>{const E=V.changedTouches[0];r.isDown||s.setCurrentMousePoint(Ms(E,o)),t.emit("touchMove",V)},b=V=>{t.emit("pointerDown",V)},_=V=>{t.emit("pointerUp",V)},$=V=>{t.emit("pointerCancel",V)},Y=V=>{t.emit("pointerMove",V)},B=V=>{t.emit("pan",V)},D=V=>{t.emit("panStart",V)},ut=V=>{t.emit("panMove",V)},j=V=>{t.emit("panEnd",V)},tt=V=>{t.emit("panCancel",V)},vt=V=>{t.emit("panLeft",V)},St=V=>{t.emit("panRight",V)},$t=V=>{t.emit("panUp",V)},kt=V=>{t.emit("panDown",V)},wt=V=>{t.emit("pinch",V)},oe=V=>{t.emit("press",V)},pe=V=>{t.emit("rotate",V)},he=V=>{t.emit("swipe",V)},Xt=V=>{t.emit("swipeLeft",V)},et=V=>{t.emit("swipeRight",V)},A=V=>{t.emit("swipeUp",V)},ne=V=>{t.emit("swipeDown",V)},Nt=V=>{t.emit("tap",V)},F=V=>{!V.target||o==V.target||o.contains(V.target)||t.emit("tapOutSide",V)},nt=V=>{t.emit("transitionstart",V)},H=V=>{t.emit("transitionend",V)},lt=V=>{t.emit("animationstart",V)},Pt=V=>{t.emit("animationend",V)};let Zt={...o.getBoundingClientRect(),width:o.offsetWidth,height:o.offsetHeight};return{el:o,get rect(){return Zt},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",v)),n.push(Jt(o,"contextmenu",k)),n.push(Jt(o,"touchstart",x)),n.push(Jt(o,"touchend",m)),n.push(Jt(o,"touchcancel",g)),n.push(Jt(o,"touchmove",y)),n.push(Jt(o,"pointerdown",b)),n.push(Jt(o,"pointerup",_)),n.push(Jt(o,"pointercancel",$)),n.push(Jt(o,"pointermove",Y)),e.on("pan",B),e.on("panstart",D),e.on("panmove",ut),e.on("panend",j),e.on("pancancel",tt),e.on("panleft",vt),e.on("panright",St),e.on("panup",$t),e.on("pandown",kt),e.on("pinch",wt),e.on("press",oe),e.on("rotate",pe),e.on("swipe",he),e.on("swipeleft",Xt),e.on("swiperight",et),e.on("swipeup",A),e.on("swipedown",ne),e.on("tap",Nt),n.push(Jt(document,"pointerdown",F)),n.push(Jt(o,"transitionstart",nt)),n.push(Jt(o,"transitionend",H)),n.push(Jt(o,"animationstart",lt)),n.push(Jt(o,"animationend",Pt));const V=await Fd(o,E=>{Zt=E,t.emit("resize",E)});n.push(V),n.push(Cn(this,{start:E=>{s.setStartMousePoint(Ms(E,o),!0)},move:E=>{s.setCurrentMousePoint(Ms(E,o))},end:E=>{s.setCurrentMousePoint(Ms(E,o),!1)}}))},end:()=>{t.removeAllListeners(),n.forEach(V=>V()),n=[],e.off("pan",B),e.off("panstart",D),e.off("panmove",ut),e.off("panend",j),e.off("pancancel",tt),e.off("panleft",vt),e.off("panright",St),e.off("panup",$t),e.off("pandown",kt),e.off("pinch",wt),e.off("press",oe),e.off("rotate",pe),e.off("swipe",he),e.off("swipeleft",Xt),e.off("swiperight",et),e.off("swipeup",A),e.off("swipedown",ne),e.off("tap",Nt)}}}function gv(o="(prefers-color-scheme: dark)"){const t=window.matchMedia(o),e=ld(t.matches);return Jt(t,"change",n=>{e.value=n.matches}),e}const El=I1("__theme__");if(!El.value){const o=gv("(prefers-color-scheme: dark)");El.value=o.value?"dark":"light"}const zd=()=>{switch(El.value){case"dark":document.documentElement.classList.add("dark"),na(document.documentElement,"data-theme","dark");break;default:document.documentElement.classList.remove("dark"),na(document.documentElement,"data-theme","light");break}};al(()=>{zd()}),setTimeout(zd);function Yt(o,t=""){return getComputedStyle(document.documentElement).getPropertyValue(o)||t}function Dd(o){document.getElementsByTagName("title")[0].innerText=o,document.title=o}let Md=!1;function yv(){Md||(Md=!0,bo(`
65
45
  :root {
66
- --select-option-bg-color: ${vt.colorGrayFF};
67
- --select-option-bg-color-hover: ${vt.colorGrayF5};
46
+ --sat:env(safe-area-inset-top, 0px);
47
+ --sar:env(safe-area-inset-right, 0px);
48
+ --sab:env(safe-area-inset-bottom, 0px);
49
+ --sal:env(safe-area-inset-left, 0px);
68
50
  }
69
- `)});const r=R(!1),n=R(e.initIndex);Et(n,function(){o("change",n.value,e.options[n.value])});function a(){r.value=!r.value}function i(l){n.value=l,r.value=!1}return(l,c)=>(L(),z("div",{class:"select",style:A(["font-size:"+l.fontSize])},[E("div",{onClick:a},[_t(l.$slots,"button",{selectedIndex:n.value},()=>[it(qt,{icon:"carbon:chevron-sort",iconPosition:"right",label:l.options[n.value],style:{width:"100%"}},null,8,["label"])],!0)]),ho(E("div",{class:"options",style:A({border:"1px solid "+Ct(vt).colorGrayCC})},[(L(!0),z(Vt,null,xe(l.options,(u,d)=>(L(),z("div",{onClick:h=>i(d),class:"option",key:d,value:d,style:A({borderTop:(d==0?"0":"1px")+" solid "+Ct(vt).colorGrayCC})},[E("div",g1,[_t(l.$slots,"default",{item:u,index:d},()=>[E("span",null,yt(u),1),d==n.value?(L(),$t(Ss,{key:0,icon:"mingcute:check-fill",class:"icon"})):Rt("",!0)],!0)])],12,m1))),128))],4),[[qs,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%)}
70
- `]],["__scopeId","data-v-fa255391"]]),v1=["width","height"],b1=["fill"],_1=H({__name:"SVGDown",props:{width:{default:"1em"},height:{},color:{default:vt.colorGrayCC}},setup(s){const t=s;return(e,o)=>(L(),z("svg",{viewBox:"0 0 20 20",width:t.width,height:t.height??t.width,fill:"none",xmlns:"http://www.w3.org/2000/svg"},[E("path",{"fill-rule":"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z","clip-rule":"evenodd",fill:t.color},null,8,b1)],8,v1))}}),qx="",Un=nt(_1,[["__scopeId","data-v-b1f2ae20"]]),x1={class:"button-default"},w1={class:"truncate"},k1=["onClick","value"],C1=H({customOptions:{SVGDown:Un},__name:"SelectAbsolute.ce",props:{options:{},initIndex:{default:0},fontSize:{default:"16px"},bgColor:{default:vt.colorGrayFF},hoverColor:{default:vt.colorGrayF5},selectedColor:{default:vt.colorPrimary},fontColor:{default:vt.colorGray33},duration:{default:300}},emits:["change"],setup(s,{emit:t}){const e=s,o=t;es(()=>{us(`
51
+ :host {
52
+ --sat:env(safe-area-inset-top, 0px);
53
+ --sar:env(safe-area-inset-right, 0px);
54
+ --sab:env(safe-area-inset-bottom, 0px);
55
+ --sal:env(safe-area-inset-left, 0px);
56
+ }
57
+ `))}yv();const Je=new Vr;let aa,ia,la,ca;Fd(document.documentElement,()=>{setTimeout(()=>{const o=getComputedStyle(document.documentElement),t=o.getPropertyValue("--sat");t!==aa&&Je.emit("top",t),aa=t;const e=o.getPropertyValue("--sar");e!==ia&&Je.emit("right",e),ia=e;const n=o.getPropertyValue("--sab");n!==la&&Je.emit("bottom",n),la=n;const s=o.getPropertyValue("--sal");s!==ca&&Je.emit("left",s),ca=s},0)});const Sl={onTop:o=>(aa&&o(aa),Je.on("top",o),()=>{Je.off("top",o)}),onRight:o=>(ia&&o(ia),Je.on("right",o),()=>{Je.off("right",o)}),onBottom:o=>(la&&o(la),Je.on("bottom",o),()=>{Je.off("bottom",o)}),onLeft:o=>(ca&&o(ca),Je.on("left",o),()=>{Je.off("left",o)})},Ls=[];let Ld=w1;function vv(o){return Ls.length==0&&(Ld=Jt(document,"scroll",t=>{Ls.forEach(e=>e(t))})),Ls.push(o),()=>{td(Ls,o),Ls.length==0&&Ld()}}async function bv(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 ua(o,t){let e;const n=typeof t.threshold=="number"?t.threshold:.5;return bv(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 fa(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 _v(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 Bd extends Fs{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 Fs({attrs:{...t.shapes[s].getAttrs()},d:c}))}}strokeDashTween(t,e){switch(e?.type){case"sequence":const n=this.shapes.length-1;this.shapes.forEach((i,l)=>{i.strokeDashTween(t,{...e,delay:l,onStart:()=>{l==0&&e?.onGroupStart?.()},onUpdate:()=>{e?.onGroupUpdate?.()},onComplete:()=>{l==n&&e?.onGroupComplete?.()}})});break;case"parallel":default:const s=new Xe({frameDuration:t}),r={},a={};this.shapes.forEach((i,l)=>{const c=Re(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(let c in i){const u=Dn(c).number;this.shapes[u].setAttr("strokeDashoffset",""+Re(i[c],2))}e?.onGroupUpdate?.()},onComplete:()=>{e?.onGroupComplete?.()}})),s.play();break}}}const xv={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=xv;_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;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):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(io(t)),0,255)}catch{}}get g(){return this._color.g}set g(t){try{this._color.g=Vt(Math.round(io(t)),0,255)}catch{}}get b(){return this._color.b}set b(t){try{this._color.b=Vt(Math.round(io(t)),0,255)}catch{}}get a(){return this._color.a}set a(t){try{this._color.a=Vt(io(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},${Re(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=Zn){jd.fromWorkingColorSpace(Mt.copy(this),t);const e=Mt.r,n=Mt.g,s=Mt.b;return t!==Zn?`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=Yn(t.r),this.g=Yn(t.g),this.b=Yn(t.b),this}copyLinearToSRGB(t){return this.r=Xn(t.r),this.g=Xn(t.g),this.b=Xn(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=f1(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=Pl(c,l,r+.3333333333333333)*255,this.g=Pl(c,l,r)*255,this.b=Pl(c,l,r-.3333333333333333)*255}return this.a=s,this}getHSL(t){const e=this.r,n=this.g,s=this.b,r=Math.max(e,n,s)/255,a=Math.min(e,n,s)/255;let i,l;const c=(a+r)/2;if(a===r)i=0,l=0;else{const u=r-a;switch(l=c<=.5?u/(r+a):u/(2-r-a),r){case e:i=(n-s)/u+(n<s?6:0);break;case n:i=(s-e)/u+2;break;case s:default:i=(e-n)/u+4;break}i/=6}return t&&t.setHSL(i,l,c,this.a),{h:i,s:l,l:c,a:this.a}}offsetHSL(t,e,n){const s=this.getHSL();return this.setHSL(s.h+t,s.s+e,s.l+n)}lerpHSL(t,e){const n=this.getHSL(),s=t.getHSL(),r=el(n.h,s.h,e),a=el(n.s,s.s,e),i=el(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}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}}}const Mt=new Ie;function Yn(o){return o<.04045?o*.0773993808:Math.pow(o*.9478672986+.0521327014,2.4)}function Xn(o){return o<.0031308?o*12.92:1.055*Math.pow(o,.41666)-.055}const kv="",Zn="srgb",Vd="srgb-linear",Yd="linear",Ol="srgb",Xd=new zs().set(.4123908,.3575843,.1804808,.212639,.7151687,.0721923,.0193308,.1191948,.9505322),Zd=new zs().set(3.2409699,-1.5373832,-.4986108,-.9692436,1.8759675,.0415551,.0556301,-.203977,1.0569715),Ud=[.64,.33,.3,.6,.15,.06],Gd=[.2126,.7152,.0722],Hd=[.3127,.329],jd={enabled:!0,workingColorSpace:Vd,spaces:{},convert:function(o,t,e){return this.enabled===!1||t===e||!t||!e||(this.spaces[t].transfer===Ol&&(o.r=Yn(o.r),o.g=Yn(o.g),o.b=Yn(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===Ol&&(o.r=Xn(o.r),o.g=Xn(o.g),o.b=Xn(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===kv?Yd:this.spaces[o].transfer},getLuminanceCoefficients:function(o,t=this.workingColorSpace){return o.fromArray(this.spaces[t].luminanceCoefficients)},define:function(o){Object.assign(this.spaces,o)},_getMatrix:function(o,t,e){return o.copy(this.spaces[t].toXYZ).multiply(this.spaces[e].fromXYZ)},_getDrawingBufferColorSpace:function(o){return this.spaces[o].outputColorSpaceConfig.drawingBufferColorSpace},_getUnpackColorSpace:function(o=this.workingColorSpace){return this.spaces[o].workingColorSpaceConfig.unpackColorSpace}};jd.define({[Vd]:{primaries:Ud,whitePoint:Hd,transfer:Yd,toXYZ:Xd,fromXYZ:Zd,luminanceCoefficients:Gd,workingColorSpaceConfig:{unpackColorSpace:Zn},outputColorSpaceConfig:{drawingBufferColorSpace:Zn}},[Zn]:{primaries:Ud,whitePoint:Hd,transfer:Ol,toXYZ:Xd,fromXYZ:Zd,luminanceCoefficients:Gd,outputColorSpaceConfig:{drawingBufferColorSpace:Zn}}});function Pl(o,t,e){return e<0&&(e+=1),e>1&&(e-=1),e<.16666666666666666?o+(t-o)*6*e:e<.5?t:e<.6666666666666666?o+(t-o)*6*(.6666666666666666-e):o}class wv extends Fs{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 xd({x:this.x,y:this.y,toX:this.toX,toY:this.toY}),n=new xd({x:t.x,y:t.y,toX:t.toX,toY:t.toY});return e.intersection(n)}}const Cv=wv;class Rl{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(()=>{Rl.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 Tv extends Fs{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(ie(this.extendDegree)))),this.y=(t.y||0)+t.height-t.lineWidth-this.radius*Math.abs(Math.sin(ie(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}=Wr(ie(this.startDegree),this.radius),{dx:n,dy:s}=Wr(ie(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,ie(this.startDegree),ie(this.endDegree),!1)}}const Wd=Tv;let Ev=class extends Bd{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 Wd({...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 Wd({...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 Cv({...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: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})}}};function Sv(o){return window.URL.createObjectURL(o)}const qd=new ll;async function Kd(o,t=6e4){return new Promise((e,n)=>{const s=typeof o=="string"?o:Sv(o),r=qd.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:_v(a)};qd.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 Ov(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 Pv(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 Qd(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 da(o,t){return new RegExp("(?:^|\\s+)"+t+"(?:\\s+|$)").test(o.className)||!1}function ha(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(Cl(t[e],"overflow")+Cl(t[e],"overflow-y")+Cl(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](Rv(t)):o[e](t)},html:function(t){if(typeof t=="string"){o.innerHTML=t;const e=Jd(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 Rv(o,t=!1){const e=document.createElement("template");return e.innerHTML=o,t&&e.content.childNodes.forEach(n=>{const s=Jd(n);s!=n&&e.content.replaceChild(s,n)}),e.content}function Jd(o){return o.tagName=="SCRIPT"&&(o=th(o)),o.querySelectorAll&&o.querySelectorAll("script").forEach(t=>{t.parentNode?.replaceChild(th(t),t)}),o}function th(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 Il(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 Iv(o,t={},e=[],n){return{tag:o,props:t,children:e,el:n}}function Al(o){return Iv(o.tagName,Id(o),Array.from(o.children).map(t=>Al(t)),o)}function pa(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"?Tl(o.el,o.props[e]):na(o.el,e,n)}return o.children&&(typeof o.children=="string"?o.el.appendChild(document.createTextNode(o.children)):o.children.forEach(e=>{pa(e,o.el)})),t.appendChild(o.el),o.el}function eh(o,t){if(!o.el)return;if(o.tag!==t.tag){(o.el.parentElement||document.body).replaceChild(pa(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||Rd(e,u);Tl(e,c)}else na(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=>{pa(i,e)});else{const i=Math.min(r.length,a.length);for(let l=0;l<i;l++)eh(r[l],a[l]);a.length>r.length&&a.slice(r.length).forEach(l=>{pa(l,e)}),a.length<r.length&&r.slice(a.length).forEach(l=>{l.el&&e.removeChild(l.el)})}}function oh(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 nh{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 Q1(this.controller.el,this.controller.rect.width,this.controller.rect.height,e),Cn(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(ie(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 Bd&&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),Av(this.ctx,e.getAttrs()),e.followMouse&&(!nd(e.x,this.controller.mousePoint.x,5)||!nd(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);Cn(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,v=(h+p*a.width)*4;i[v]=l.r,i[v+1]=l.g,i[v+2]=l.b,i[v+3]=255}this.ctx.putImageData(a)}});break;case"line":default:Cn(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 Av(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 $v{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)}}const Nv=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},Jo=X({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(o,{expose:t}){const e=o,n=de(()=>({"background-color":e.color,position:"fixed","z-index":"99999",display:"block",width:"100%",height:"100%",inset:"0",overflow:"hidden"})),s=O(),r=document.documentElement.style.overflow;let a;return Rt(()=>e.visible,()=>{e.isGlobal?document.documentElement.style.overflow=e.visible?"hidden":r:(a||(a=s.value.parentElement.style.overflow||"visible"),s.value.parentElement.style.overflow=e.visible?"hidden":a)},{immediate:!0}),t({}),(i,l)=>e.visible?(I(),z("div",{key:0,class:"overlay",style:N(n.value),ref_key:"el",ref:s},[gt(i.$slots,"default")],4)):yt("",!0)}}),pt=X({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=O();let u,f,d=!1;return Fn(()=>{c.value&&(u||(u=ra(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=ha(c.value).getInnerText();Il(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})))}),ye(()=>{}),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(),z("div",Zi({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),[gt(h.$slots,"default")],16))}}),le=X({customOptions:{Overlay:Jo,Container:pt},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(o,{expose:t,emit:e}){const n=o,s=e,r=new Xe({frameDuration:n.dur}),a=Wt({position:"absolute",opacity:"1"}),i=O(!1),l=O("full");Rt(()=>[n.directionFrom,n.popValue],()=>{r.clear();const v=!n.popValue,k=n.popValue?n.popValue:100,x=n.popValue?"px":"%";switch(n.directionFrom){case"left":a.height="100%",v?delete a.width:a.width=`${k}${x}`,a.top="0",a.bottom="0",delete a.right,r.addTween({left:k},{left:0},{easeFunction:it.Quadratic.Out,onUpdate(m){a.left=`-${m.left}${x}`},onComplete:f});break;case"right":a.height="100%",v?delete a.width:a.width=`${k}${x}`,a.top="0",a.bottom="0",delete a.left,r.addTween({right:k},{right:0},{easeFunction:it.Quadratic.Out,onUpdate(m){a.right=`-${m.right}${x}`},onComplete:f});break;case"top":a.width="100%",v?delete a.height:a.height=`${k}${x}`,a.left="0",a.right="0",delete a.bottom,r.addTween({top:k},{top:0},{easeFunction:it.Quadratic.Out,onUpdate(m){a.top=`-${m.top}${x}`},onComplete:f});break;case"bottom":a.width="100%",v?delete a.height:a.height=`${k}${x}`,a.left="0",a.right="0",delete a.top,r.addTween({bottom:k},{bottom:0},{easeFunction:it.Quadratic.Out,onUpdate(m){a.bottom=`-${m.bottom}${x}`},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:it.Quadratic.Out,onUpdate(m){a.transform=`translate(-50%, -50%) scale(${m.scale})`,a.opacity=`${m.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}v&&(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=v=>{s("resize",v.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(v){const k=n.directionFrom=="absolute"&&n.absoluteWidth=="100%"&&n.absoluteHeight=="100%"?"pop-content":"pop";v.target&&da(v.target,k)&&(n.closeWhenClickOverlay&&h(),s("clickOverlay"))}return t({open:d,close:h}),(v,k)=>(I(),ht(Jo,{visible:i.value,isGlobal:n.isGlobal,color:n.overlayBgColor},{default:st(()=>[w("div",{class:"pop",style:{display:"block",position:"relative",width:"100%",height:"100%"},onClick:p},[Q(pt,{class:"pop-content",type:l.value,style:N(a),onReady:c,onUpdate:c},{default:st(()=>[gt(v.$slots,"default",{},()=>[k[0]||(k[0]=w("div",null,null,-1))])]),_:3},8,["type","style"])])]),_:3},8,["visible","isGlobal","color"]))}}),sh=/^[a-z0-9]+(-[a-z0-9]+)*$/,ma=(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&&!ga(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&&!ga(i)?null:i}if(e&&n===""){const i={provider:n,prefix:"",name:r};return t&&!ga(i,e)?null:i}return null},ga=(o,t)=>o?!!((t&&o.prefix===""||o.prefix)&&o.name):!1,rh=Object.freeze({left:0,top:0,width:16,height:16}),ya=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),va=Object.freeze({...rh,...ya}),$l=Object.freeze({...va,body:"",hidden:!1});function Fv(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 ah(o,t){const e=Fv(o,t);for(const n in $l)n in ya?n in o&&!(n in e)&&(e[n]=ya[n]):n in t?e[n]=t[n]:n in o&&(e[n]=o[n]);return e}function zv(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 Dv(o,t,e){const n=o.icons,s=o.aliases||Object.create(null);let r={};function a(i){r=ah(n[i]||s[i],r)}return a(t),e.forEach(a),ah(o,r)}function ih(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=zv(o);for(const s in n){const r=n[s];r&&(t(s,Dv(o,s,r)),e.push(s))}return e}const Mv={provider:"",aliases:{},not_found:{},...rh};function Nl(o,t){for(const e in t)if(e in o&&typeof o[e]!=typeof t[e])return!1;return!0}function lh(o){if(typeof o!="object"||o===null)return null;const t=o;if(typeof t.prefix!="string"||!o.icons||typeof o.icons!="object"||!Nl(o,Mv))return null;const e=t.icons;for(const s in e){const r=e[s];if(!s||typeof r.body!="string"||!Nl(r,$l))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]||!Nl(r,$l))return null}return t}const ch=Object.create(null);function Lv(o,t){return{provider:o,prefix:t,icons:Object.create(null),missing:new Set}}function Un(o,t){const e=ch[o]||(ch[o]=Object.create(null));return e[t]||(e[t]=Lv(o,t))}function uh(o,t){return lh(t)?ih(t,(e,n)=>{n?o.icons[e]=n:o.missing.add(e)}):[]}function Bv(o,t,e){try{if(typeof e.body=="string")return o.icons[t]={...e},!0}catch{}return!1}let Bs=!1;function fh(o){return typeof o=="boolean"&&(Bs=o),Bs}function Vv(o){const t=typeof o=="string"?ma(o,!0,Bs):o;if(t){const e=Un(t.provider,t.prefix),n=t.name;return e.icons[n]||(e.missing.has(n)?null:void 0)}}function Yv(o,t){const e=ma(o,!0,Bs);if(!e)return!1;const n=Un(e.provider,e.prefix);return t?Bv(n,e.name,t):(n.missing.add(e.name),!0)}function Xv(o,t){if(typeof o!="object")return!1;if(typeof t!="string"&&(t=o.provider||""),Bs&&!t&&!o.prefix){let s=!1;return lh(o)&&(o.prefix="",ih(o,(r,a)=>{Yv(r,a)&&(s=!0)})),s}const e=o.prefix;if(!ga({provider:t,prefix:e,name:"a"}))return!1;const n=Un(t,e);return!!uh(n,o)}const dh=Object.freeze({width:null,height:null}),hh=Object.freeze({...dh,...ya}),Zv=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Uv=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function ph(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(Zv);if(n===null||!n.length)return o;const s=[];let r=n.shift(),a=Uv.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 Gv(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 Hv(o,t){return o?"<defs>"+o+"</defs>"+t:t}function jv(o,t,e){const n=Gv(o);return Hv(n.defs,t+n.content+e)}const Wv=o=>o==="unset"||o==="undefined"||o==="none";function qv(o,t){const e={...va,...o},n={...hh,...t},s={left:e.left,top:e.top,width:e.width,height:e.height};let r=e.body;[e,n].forEach(v=>{const k=[],x=v.hFlip,m=v.vFlip;let g=v.rotate;x?m?g+=2:(k.push("translate("+(s.width+s.left).toString()+" "+(0-s.top).toString()+")"),k.push("scale(-1 1)"),s.top=s.left=0):m&&(k.push("translate("+(0-s.left).toString()+" "+(s.height+s.top).toString()+")"),k.push("scale(1 -1)"),s.top=s.left=0);let y;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:y=s.height/2+s.top,k.unshift("rotate(90 "+y.toString()+" "+y.toString()+")");break;case 2:k.unshift("rotate(180 "+(s.width/2+s.left).toString()+" "+(s.height/2+s.top).toString()+")");break;case 3:y=s.width/2+s.left,k.unshift("rotate(-90 "+y.toString()+" "+y.toString()+")");break}g%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)),k.length&&(r=jv(r,'<g transform="'+k.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=ph(f,l/c)):(u=a==="auto"?l:a,f=i===null?ph(u,c/l):i==="auto"?c:i);const d={},h=(v,k)=>{Wv(k)||(d[v]=k.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 Kv=/\sid="(\S+)"/g,Qv="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Jv=0;function tb(o,t=Qv){const e=[];let n;for(;n=Kv.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+(Jv++).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 Fl=Object.create(null);function eb(o,t){Fl[o]=t}function zl(o){return Fl[o]||Fl[""]}function Dl(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 Ml=Object.create(null),Vs=["https://api.simplesvg.com","https://api.unisvg.com"],ba=[];for(;Vs.length>0;)Vs.length===1||Math.random()>.5?ba.push(Vs.shift()):ba.push(Vs.pop());Ml[""]=Dl({resources:["https://api.iconify.design"].concat(ba)});function ob(o,t){const e=Dl(t);return e===null?!1:(Ml[o]=e,!0)}function Ll(o){return Ml[o]}let mh=(()=>{let o;try{if(o=fetch,typeof o=="function")return o}catch{}})();function nb(o,t){const e=Ll(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 sb(o){return o===404}const rb=(o,t,e)=>{const n=[],s=nb(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 ab(o){if(typeof o=="string"){const t=Ll(o);if(t)return t.path}return"/"}const ib={prepare:rb,send:(o,t,e)=>{if(!mh){e("abort",424);return}let n=ab(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;mh(o+n).then(r=>{const a=r.status;if(a!==200){setTimeout(()=>{e(sb(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 lb(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]=Un(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 gh(o,t){o.forEach(e=>{const n=e.loaderCallbacks;n&&(e.loaderCallbacks=n.filter(s=>s.id!==t))})}function cb(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||gh([o],r.id),r.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),r.abort))})}))}let ub=0;function fb(o,t,e){const n=ub++,s=gh.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 db(o,t=!0,e=!1){const n=[];return o.forEach(s=>{const r=typeof s=="string"?ma(s,t,e):s;r&&n.push(r)}),n}var hb={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function pb(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 _=o.resources.slice(0);for(a=[];_.length>1;){const $=Math.floor(Math.random()*_.length);a.push(_[$]),_=_.slice(0,$).concat(_.slice($+1))}a=a.concat(_)}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 v(){l==="pending"&&(l="aborted"),p(),d.forEach(_=>{_.status==="pending"&&(_.status="aborted")}),d=[]}function k(_,$){$&&(h=[]),typeof _=="function"&&h.push(_)}function x(){return{startTime:i,payload:t,status:l,queriesSent:c,queriesPending:d.length,subscribe:k,abort:v}}function m(){l="failed",h.forEach(_=>{_(void 0,u)})}function g(){d.forEach(_=>{_.status==="pending"&&(_.status="aborted")}),d=[]}function y(_,$,Y){const B=$!=="success";switch(d=d.filter(D=>D!==_),l){case"pending":break;case"failed":if(B||!o.dataAfterTimeout)return;break;default:return}if($==="abort"){u=Y,m();return}if(B){u=Y,d.length||(a.length?b():m());return}if(p(),g(),!o.random){const D=o.resources.indexOf(_.resource);D!==-1&&D!==o.index&&(o.index=D)}l="completed",h.forEach(D=>{D(Y)})}function b(){if(l!=="pending")return;p();const _=a.shift();if(_===void 0){if(d.length){f=setTimeout(()=>{p(),l==="pending"&&(g(),m())},o.timeout);return}m();return}const $={status:"pending",resource:_,callback:(Y,B)=>{y($,Y,B)}};d.push($),c++,f=setTimeout(b,o.rotate),e(_,t,$.callback)}return setTimeout(b),x}function yh(o){const t={...hb,...o};let e=[];function n(){e=e.filter(i=>i().status==="pending")}function s(i,l,c){const u=pb(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 vh(){}const Bl=Object.create(null);function mb(o){if(!Bl[o]){const t=Ll(o);if(!t)return;const e=yh(t),n={config:t,redundancy:e};Bl[o]=n}return Bl[o]}function gb(o,t,e){let n,s;if(typeof o=="string"){const r=zl(o);if(!r)return e(void 0,424),vh;s=r.send;const a=mb(o);a&&(n=a.redundancy)}else{const r=Dl(o);if(r){n=yh(r);const a=o.resources?o.resources[0]:"",i=zl(a);i&&(s=i.send)}}return!n||!s?(e(void 0,424),vh):n.query(t,s,e)().abort}function bh(){}function yb(o){o.iconsLoaderFlag||(o.iconsLoaderFlag=!0,setTimeout(()=>{o.iconsLoaderFlag=!1,cb(o)}))}function vb(o){const t=[],e=[];return o.forEach(n=>{(n.match(sh)?t:e).push(n)}),{valid:t,invalid:e}}function Ys(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(!uh(o,e).length){n();return}}catch(s){console.error(s)}n(),yb(o)}function _h(o,t){o instanceof Promise?o.then(e=>{t(e)}).catch(()=>{t(null)}):t(o)}function bb(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)){_h(o.loadIcons(s,n,e),u=>{Ys(o,s,u)});return}if(r){s.forEach(u=>{const f=r(u,n,e);_h(f,d=>{const h=d?{prefix:n,icons:{[u]:d}}:null;Ys(o,[u],h)})});return}const{valid:a,invalid:i}=vb(s);if(i.length&&Ys(o,i,null),!a.length)return;const l=n.match(sh)?zl(e):null;if(!l){Ys(o,a,null);return}l.prepare(e,n,a).forEach(u=>{gb(e,u,f=>{Ys(o,u.icons,f)})})}))}const _b=(o,t)=>{const e=db(o,!0,fh()),n=lb(e);if(!n.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(n.loaded,n.missing,n.pending,bh)}),()=>{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(Un(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=Un(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&&bb(l,c)}),t?fb(t,n,r):bh};function xb(o,t){const e={...o};for(const n in t){const s=t[n],r=typeof s;n in dh?(s===null||s&&(r==="string"||r==="number"))&&(e[n]=s):r===typeof e[n]&&(e[n]=n==="rotate"?s%4:s)}return e}const kb=/[\s,]+/;function wb(o,t){t.split(kb).forEach(e=>{switch(e.trim()){case"horizontal":o.hFlip=!0;break;case"vertical":o.vFlip=!0;break}})}function Cb(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 Tb(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 Eb(o){return o.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Sb(o){return"data:image/svg+xml,"+Eb(o)}function Ob(o){return'url("'+Sb(o)+'")'}const xh={...hh,inline:!1},Pb={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Rb={display:"inline-block"},Vl={backgroundColor:"currentColor"},kh={backgroundColor:"transparent"},wh={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Ch={webkitMask:Vl,mask:Vl,background:kh};for(const o in Ch){const t=Ch[o];for(const e in wh)t[o+e]=wh[e]}const _a={};["horizontal","vertical"].forEach(o=>{const t=o.slice(0,1)+"Flip";_a[o+"-flip"]=t,_a[o.slice(0,1)+"-flip"]=t,_a[o+"Flip"]=t});function Th(o){return o+(o.match(/^[-0-9.]+$/)?"px":"")}const Eh=(o,t)=>{const e=xb(xh,t),n={...Pb},s=t.mode||"svg",r={},a=t.style,i=typeof a=="object"&&!(a instanceof Array)?a:{};for(let v in t){const k=t[v];if(k!==void 0)switch(v){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":e[v]=k===!0||k==="true"||k===1;break;case"flip":typeof k=="string"&&wb(e,k);break;case"color":r.color=k;break;case"rotate":typeof k=="string"?e[v]=Cb(k):typeof k=="number"&&(e[v]=k);break;case"ariaHidden":case"aria-hidden":k!==!0&&k!=="true"&&delete n["aria-hidden"];break;default:{const x=_a[v];x?(k===!0||k==="true"||k===1)&&(e[x]=!0):xh[v]===void 0&&(n[v]=k)}}}const l=qv(o,e),c=l.attributes;if(e.inline&&(r.verticalAlign="-0.125em"),s==="svg"){n.style={...r,...i},Object.assign(n,c);let v=0,k=t.id;return typeof k=="string"&&(k=k.replace(/-/g,"_")),n.innerHTML=tb(l.body,k?()=>k+"ID"+v++:"iconifyVue"),Ut("svg",n)}const{body:u,width:f,height:d}=o,h=s==="mask"||(s==="bg"?!1:u.indexOf("currentColor")!==-1),p=Tb(u,{...c,width:f+"",height:d+""});return n.style={...r,"--svg":Ob(p),width:Th(c.width),height:Th(c.height),...Rb,...h?Vl:kh,...i},Ut("span",n)};if(fh(!0),eb("",ib),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"||!Xv(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;ob(e,s)||console.error(n)}catch{console.error(n)}}}}const Ib={...va,body:""},Sh=X({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=ma(o,!1,!0))===null)return this.abortLoading(),null;let s=Vv(n);if(!s)return(!this._loadingIcon||this._loadingIcon.name!==o)&&(this.abortLoading(),this._name="",s!==null&&(this._loadingIcon={name:o,abort:_b([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 Eh(Ib,o);let e=o;return t.classes&&(e={...o,class:(typeof o.class=="string"?o.class+" ":"")+t.classes.join(" ")}),Eh({...va,...t.data},e)}}),Gn=X({__name:"Icon",props:{icon:{default:"mdi-light:home"},color:{default:Yt("--xg-blue")}},setup(o){const t=o;return(e,n)=>(I(),z("span",{class:"icon",style:N(["color: "+e.color,"display: inline-flex","justify-content: center","align-items: center","cursor: pointer","font-size: 1em"])},[Q(Ot(Sh),{icon:t.icon,color:e.color},null,8,["icon","color"])],4))}}),Ab={class:"loading-11",ref:"loading11"},$b={class:"container container-1"},Nb={class:"container container-2"},Fb={class:"container container-3"},zb=X({__name:"Loading11",props:{color:{default:Yt("--xg-blue")},width:{default:"0.8em"}},setup(o){const t=o;return(e,n)=>(I(),z("div",Ab,[w("div",{class:"loading-11-inner",style:N({width:t.width,height:t.width})},[w("div",$b,[w("div",{class:"dot dot-1",style:N({backgroundColor:t.color})},null,4),w("div",{class:"dot dot-2",style:N({backgroundColor:t.color})},null,4),w("div",{class:"dot dot-3",style:N({backgroundColor:t.color})},null,4),w("div",{class:"dot dot-4",style:N({backgroundColor:t.color})},null,4)]),w("div",Nb,[w("div",{class:"dot dot-1",style:N({backgroundColor:t.color})},null,4),w("div",{class:"dot dot-2",style:N({backgroundColor:t.color})},null,4),w("div",{class:"dot dot-3",style:N({backgroundColor:t.color})},null,4),w("div",{class:"dot dot-4",style:N({backgroundColor:t.color})},null,4)]),w("div",Fb,[w("div",{class:"dot dot-1",style:N({backgroundColor:t.color})},null,4),w("div",{class:"dot dot-2",style:N({backgroundColor:t.color})},null,4),w("div",{class:"dot dot-3",style:N({backgroundColor:t.color})},null,4),w("div",{class:"dot dot-4",style:N({backgroundColor:t.color})},null,4)])],4)],512))}}),Bw="",at=(o,t)=>{const e=o.__vccOpts||o;for(const[n,s]of t)e[n]=s;return e},xa=at(zb,[["__scopeId","data-v-b6f6b2a6"]]),Db={key:0,class:"loading",style:{"margin-right":"6px"}},Yl=.05,Xl=.1,re=X({customOptions:{Loading11:xa},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=O(),a=Yt("--xg-blue","#5a82f0"),i=O(n.fontColor),l=O(n.borderColor),c=O(n.bgColor),u=O(i.value),f=O(l.value),d=O(c.value),h=O(n.bgColorStart||""),p=O(n.bgColorEnd||""),v=n.bgColorStart&&n.bgColorEnd;function k(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,v&&(h.value=n.bgColorStart,p.value=n.bgColorEnd,c.value=`linear-gradient(180deg, ${h.value} 0%, ${p.value} 100%)`)}Rt(()=>n.stylePattern,()=>{k(n.stylePattern)},{immediate:!0});const x=O(n.disabled?"0.6":"1"),m=O(n.disabled?"not-allowed":"pointer");let g=!1;const y=()=>{n.disabled||(g=!0,n.stylePattern=="transparent"&&(i.value=Mt.set(u.value).darken(Yl).toString()),l.value=Mt.set(f.value).darken(Yl).toString(),v?c.value=`linear-gradient(180deg, ${p.value} 0%, ${h.value} 100%)`:c.value=Mt.set(d.value).darken(Yl).toString())},b=()=>{n.disabled||(g=!1,i.value=u.value,l.value=f.value,v?c.value=`linear-gradient(180deg, ${h.value} 0%, ${p.value} 100%)`:c.value=d.value)},_=O(!1),Y=ad(()=>{n.disabled||_.value||(n.stylePattern=="transparent"&&(i.value=Mt.set(u.value).darken(Xl).toString()),l.value=Mt.set(f.value).darken(Xl).toString(),v?c.value=`linear-gradient(180deg, ${h.value} 0%, ${p.value} 100%)`:c.value=Mt.set(d.value).darken(Xl).toString(),setTimeout(()=>{g?y():b()},150),s("yz-click"),s("click"),n.asyncClick&&(_.value=!0,n.asyncClick().then(()=>{_.value=!1}).catch(()=>{_.value=!1})))},300);return t({el:r}),(B,D)=>(I(),z("div",{ref_key:"el",ref:r,class:"button",style:N([`opacity: ${x.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: ${m.value}`,"user-select: none","box-sizing: border-box","display: inline-flex","justify-content: center","align-items: center","z-index: 0"]),onMouseover:y,onMouseleave:b,onClick:D[0]||(D[0]=(...ut)=>Ot(Y)&&Ot(Y)(...ut))},[w("label",{class:"label truncate",style:N({padding:"0 "+B.padding,cursor:m.value,display:"inline-flex",justifyContent:"center",alignItems:"center",fontWeight:n.fontWeight||"normal"})},[_.value?(I(),z("div",Db,[Q(xa,{color:i.value},null,8,["color"])])):yt("",!0),gt(B.$slots,"default",{},()=>[B.icon&&B.iconPosition==="left"?(I(),ht(Gn,{key:0,icon:B.icon,color:i.value,style:N({marginRight:"4px",cursor:m.value})},null,8,["icon","color","style"])):yt("",!0),w("span",{style:N({cursor:m.value})},dt(B.label),5),B.icon&&B.iconPosition==="right"?(I(),ht(Gn,{key:1,icon:B.icon,color:i.value,style:N({marginLeft:"4px",cursor:m.value})},null,8,["icon","color","style"])):yt("",!0)])],4)],36))}}),Mb={viewBox:"6 6 12 12",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",fill:"none",style:{display:"block",transformOrigin:"center"}},Lb=["fill"],Bb=["fill"],ka=X({__name:"SVGClose",props:{color:{default:"#666666"}},setup(o){const t=o;return(e,n)=>(I(),z("svg",Mb,[w("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,Lb),w("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,Bb)]))}}),Vb={viewBox:"4 4 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{display:"block",transformOrigin:"center"}},Yb=["id"],Xb=["stop-color"],Zb=["stop-color"],Ub=["fill"],Gb=["fill"],Hb=["fill"],tn=X({__name:"SVGWarn",props:{colorStart:{default:Yt("--xg-red","#fa503c")},colorEnd:{default:Yt("--xg-red-light","#fa8c78")}},setup(o){const t=o,e=de(()=>Mt.set(t.colorStart).opposite(!0).toString());return(n,s)=>(I(),z("svg",Vb,[w("defs",null,[w("linearGradient",{id:`circle_bg_${n.colorStart}_${n.colorEnd}`,x1:"12",y1:"4",x2:"12",y2:"16",gradientUnits:"userSpaceOnUse"},[w("stop",{offset:"0","stop-color":n.colorStart},null,8,Xb),w("stop",{offset:"1","stop-color":n.colorEnd},null,8,Zb)],8,Yb)]),w("circle",{cx:"12",cy:"12",r:"8",fill:`url(#circle_bg_${n.colorStart}_${n.colorEnd})`},null,8,Ub),w("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,Gb),w("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,Hb)]))}}),jb=["viewBox"],Wb=["cx","cy","rx","ry","fill"],wa=X({__name:"SVGEllipse",props:{color:{default:"#e6e6e6"}},setup(o){const t=o,e=O(0),n=O(0);function s(r){e.value=r.rect.width,n.value=r.rect.height}return(r,a)=>(I(),ht(pt,{type:"full",onReady:s},{default:st(()=>[(I(),z("svg",{viewBox:`0 0 ${e.value} ${n.value}`,xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",fill:"none",style:{display:"block",transformOrigin:"center"}},[w("ellipse",{cx:e.value*.5,cy:n.value*.5,rx:e.value*.5,ry:n.value*.5,fill:t.color},null,8,Wb)],8,jb))]),_:1}))}}),qb={class:"dialog-parent"},Kb={key:0,class:"top-icon"},Qb={class:"top-icon-warn"},Jb={class:"top-icon-warn-shadow"},t_={key:0,class:"title"},e_={key:0,class:"title-inner truncate"},o_={class:"custom-content"},n_={class:"custom-content-default"},s_=X({customOptions:{Overlay:Jo,Pop:le,Button:re,SVGClose:ka,SVGWarn:tn,SVGEllipse:wa},inheritAttrs:!0,__name:"Dialog",props:{closeWhenClickOverlay:{type:Boolean,default:!1},dur:{default:200},minWidth:{default:"280px"},maxWidth:{default:"20em"},overlayBgColor:{},stylePattern:{default:"fullfill"}},emits:["open","close","cancel","confirm"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=O(),a=O(""),i=O(""),l=O(!1),c=O(""),u=O(""),f=O(n.stylePattern),d=O("transparent"),h=O("transparent"),p=O(!1),v=O(""),k=O(""),x=O(!1);function m(D){switch(f.value=D,D){case"fullfill":d.value="fullfill",h.value="fullfill",p.value=!1,v.value="",k.value="",x.value=!1;break;case"transparent":d.value="transparent",h.value="transparent",p.value=!1,v.value="",k.value="",x.value=!1;break;case"icon-warn-red":d.value="transparent",h.value="fullfill",p.value=!0,v.value=Yt("--xg-red","#fa503c"),k.value=Yt("--xg-red-light","#fa8c78"),x.value=!0;break;case"icon-warn-blue":d.value="transparent",h.value="fullfill",p.value=!0,v.value=Yt("--xg-blue","#5a82f0"),k.value=Yt("--xg-blue-light","#66b3ff"),x.value=!0;break}}Rt(()=>n.stylePattern,()=>{m(n.stylePattern)},{immediate:!0});let g,y;const b=()=>{s("open")},_=()=>{s("close")};function $(D){a.value=D?.title||"",i.value=D?.content||"",l.value=typeof D?.showClose=="boolean"?D?.showClose:!1,c.value=D?.cancelText||"",u.value=D?.confirmText||"",m(D?.stylePattern||n.stylePattern),g=D?.onCancel,y=D?.onConfirm,r.value.open()}function Y(){r.value.close(),g?.(),s("cancel")}function B(){r.value.close(),y?.(),s("confirm")}return t({open:$,close:Y}),(D,ut)=>(I(),ht(le,{ref_key:"popRef",ref:r,directionFrom:"center",closeWhenClickOverlay:n.closeWhenClickOverlay,dur:n.dur,overlayBgColor:n.overlayBgColor,onOpen:b,onClose:_},{default:st(()=>[w("div",qb,[w("div",{class:"dialog",style:N({minWidth:n.minWidth,maxWidth:n.maxWidth})},[p.value?(I(),z("div",Kb,[w("div",Qb,[Q(tn,{colorStart:v.value,colorEnd:k.value},null,8,["colorStart","colorEnd"])]),w("div",Jb,[Q(wa)])])):yt("",!0),w("div",{class:"dialog-inner",style:N({paddingTop:p.value?"24px":"0px"})},[a.value||l.value?(I(),z("div",t_,[a.value?(I(),z("div",e_,dt(a.value),1)):yt("",!0),l.value?(I(),z("div",{key:1,class:"close",onClick:Y},[w("div",null,[Q(ka)])])):yt("",!0)])):yt("",!0),w("div",o_,[gt(D.$slots,"default",{},()=>[w("div",n_,dt(i.value),1)],!0)]),c.value||u.value?(I(),z("div",{key:1,class:jt(["btns",[f.value,x.value?"vertical":""]])},[c.value?(I(),ht(re,{key:0,class:"btn",fontColor:"#333333",stylePattern:d.value,borderRadius:p.value?"44px":"0",borderColor:p.value?"#cccccc":"",bgColor:d.value=="transparent"?"#ffffff":"#f5f5f5",onClick:Y},{default:st(()=>[Bt(dt(c.value),1)]),_:1},8,["stylePattern","borderRadius","borderColor","bgColor"])):yt("",!0),u.value?(I(),ht(re,{key:1,class:"btn",stylePattern:h.value,borderRadius:p.value?"44px":"0",bgColor:h.value=="transparent"?"#ffffff":"",bgColorStart:v.value,bgColorEnd:k.value,fontWeight:h.value=="transparent"?"bold":"",onClick:B},{default:st(()=>[Bt(dt(u.value),1)]),_:1},8,["stylePattern","borderRadius","bgColor","bgColorStart","bgColorEnd","fontWeight"])):yt("",!0)],2)):yt("",!0)],4)],4)])]),_:3},8,["closeWhenClickOverlay","dur","overlayBgColor"]))}}),Vw="",Ca=at(s_,[["__scopeId","data-v-c9dd6c66"]]),r_={class:"loading-8"},a_={viewBox:"25 25 50 50"},i_=X({__name:"Loading8",props:{color:{default:Yt("--xg-blue")}},setup(o){const t=o;return(e,n)=>(I(),z("div",r_,[(I(),z("svg",a_,[w("circle",{cx:"50",cy:"50",r:"20",style:N(["stroke: "+t.color])},null,4)]))]))}}),Yw="",Oh=at(i_,[["__scopeId","data-v-04be3476"]]),l_={class:"icon"},c_=X({customOptions:{SVGWarn:tn},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(),z("div",{class:"text",style:N({color:e.color})},[w("div",l_,[gt(r.$slots,"icon",{},()=>[s.value?(I(),ht(tn,{key:0})):yt("",!0)],!0)]),w("div",{class:"ellipsis",style:N({marginLeft:n.value?"0.3em":"0"})},[gt(r.$slots,"default",{},()=>[Bt(dt(e.text),1)],!0)],4)],4))}}),Xw="",Zl=at(c_,[["__scopeId","data-v-b1f6b1f2"]]),Ul=X({__name:"SVGCleanUp",props:{width:{default:"16px"},color:{default:Yt("--xg-blue")}},setup(o){const t=o;return(e,n)=>(I(),z("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]=[w("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),w("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),w("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 Zw(o){return o}const Hn=document.getElementById("teleport")||document.documentElement;function u_(o,t){{const e=document.querySelector("yz-dialog-toast#globalDialogToast");e&&"_instance"in e&&e._instance.exposed.open(o,t)}}function f_(o){{const t=document.querySelector("yz-dialog-loading#globalDialogLoading");return t&&"_instance"in t&&t._instance.exposed.open(o),()=>{t&&"_instance"in t&&t._instance.exposed.close()}}}function d_(o){{const t=document.querySelector("yz-dialog#globalDialog");return t&&"_instance"in t&&t._instance.exposed.open(o),()=>{t&&"_instance"in t&&t._instance.exposed.close()}}}function jn(o,t="bottom",e){let n;o instanceof HTMLElement?n=Ut(le,{directionFrom:t,absoluteLeft:e?.absoluteLeft,absoluteTop:e?.absoluteTop,absoluteWidth:e?.absoluteWidth,absoluteHeight:e?.absoluteHeight},()=>Ut("div",{...Nv(o),innerHTML:o.innerHTML})):n=Ut(le,{directionFrom:t,absoluteLeft:e?.absoluteLeft,absoluteTop:e?.absoluteTop,absoluteWidth:e?.absoluteWidth,absoluteHeight:e?.absoluteHeight},()=>o),Mr(n,Hn),n.component?.exposed?.open();const s=()=>{n.component?.exposed?.close()};return s.vnode=n,s}function Ph(o,t){return jn(o,"bottom",t)}function Rh(o,t){return jn(o,"top",t)}function Ih(o,t){return jn(o,"left",t)}function Ah(o,t){return jn(o,"right",t)}function $h(o,t){return jn(o,"center",t)}function Nh(o,t){return jn(o,"absolute",t)}const h_=()=>Ph(Ut("div",{style:"padding: 30px; background-color:#ffffff; width: 100%;"},Ut("yz-input",{placeholder:"请输入邮箱",validator:Mn}))),p_=()=>Rh(Ut("div",{style:"padding: 30px; background-color:#ffffff; width: 100%;"},Ut("yz-input",{placeholder:"请输入邮箱",validator:Mn}))),m_=()=>Ih(Ut("div",{style:"padding: 30px; background-color:#ffffff; height: 100%;"},Ut("yz-input",{placeholder:"请输入邮箱",validator:Mn}))),g_=()=>Ah(Ut("div",{style:"padding: 30px; background-color:#ffffff; height: 100%;"},Ut("yz-input",{placeholder:"请输入邮箱",validator:Mn}))),y_=()=>$h(Ut("div",{style:"width: 200px;height: 200px;padding: 30px; background-color:#ffffff;"},Ut("yz-input",{placeholder:"请输入邮箱",validator:Mn}))),v_=()=>Nh(Ut("div",{style:"width: 200px;height: 200px;padding: 30px; background-color:#ffffff;"},Ut("yz-input",{placeholder:"请输入邮箱",validator:Mn})),{absoluteLeft:"50%",absoluteTop:"50%",absoluteWidth:"200px",absoluteHeight:"200px"});let Fh=!1;function zh(o){{const t=document.querySelector("yz-plate-keyboard#globalPlateKeyboard");if(t&&"_instance"in t){Fh||(Fh=!0,t.addEventListener("plates",n=>{"detail"in n&&o?.onPlates?.(n.detail[0])}),t.addEventListener("open",n=>{o?.onOpen?.()}),t.addEventListener("close",n=>{o?.onClose?.()}),t.addEventListener("resize",n=>{"detail"in n&&o?.onResize?.apply(t,n.detail)}));const e=t;e.initPlates=o?.initPlates,e.completePlateLength=o?.completePlateLength,t._instance.exposed.open()}return()=>{t&&"_instance"in t&&t._instance.exposed.close()}}}function b_(){return Dh().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Dh(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const __=typeof Proxy=="function",x_="devtools-plugin:setup",k_="plugin:settings:set";let Wn,Gl;function w_(){var o;return Wn!==void 0||(typeof window<"u"&&window.performance?(Wn=!0,Gl=window.performance):typeof globalThis<"u"&&(!((o=globalThis.perf_hooks)===null||o===void 0)&&o.performance)?(Wn=!0,Gl=globalThis.perf_hooks.performance):Wn=!1),Wn}function C_(){return w_()?Gl.now():Date.now()}class T_{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 C_()}},e&&e.on(k_,(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 E_(o,t){const e=o,n=Dh(),s=b_(),r=__&&e.enableEarlyProxy;if(s&&(n.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!r))s.emit(x_,o,t);else{const a=r?new T_(e,s):null;(n.__VUE_DEVTOOLS_PLUGINS__=n.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:e,setupFn:t,proxy:a}),a&&t(a.proxiedTarget)}}/*!
58
+ * vue-router v4.5.0
59
+ * (c) 2024 Eduardo San Martin Morote
60
+ * @license MIT
61
+ */const zo=typeof document<"u";function Mh(o){return typeof o=="object"||"displayName"in o||"props"in o||"__vccOpts"in o}function S_(o){return o.__esModule||o[Symbol.toStringTag]==="Module"||o.default&&Mh(o.default)}const Gt=Object.assign;function Hl(o,t){const e={};for(const n in t){const s=t[n];e[n]=Ue(s)?s.map(o):o(s)}return e}const Xs=()=>{},Ue=Array.isArray;function At(o){const t=Array.from(arguments).slice(1);console.warn.apply(console,["[Vue Router warn]: "+o].concat(t))}const Lh=/#/g,O_=/&/g,P_=/\//g,R_=/=/g,I_=/\?/g,Bh=/\+/g,A_=/%5B/g,$_=/%5D/g,Vh=/%5E/g,N_=/%60/g,Yh=/%7B/g,F_=/%7C/g,Xh=/%7D/g,z_=/%20/g;function jl(o){return encodeURI(""+o).replace(F_,"|").replace(A_,"[").replace($_,"]")}function D_(o){return jl(o).replace(Yh,"{").replace(Xh,"}").replace(Vh,"^")}function Wl(o){return jl(o).replace(Bh,"%2B").replace(z_,"+").replace(Lh,"%23").replace(O_,"%26").replace(N_,"`").replace(Yh,"{").replace(Xh,"}").replace(Vh,"^")}function M_(o){return Wl(o).replace(R_,"%3D")}function L_(o){return jl(o).replace(Lh,"%23").replace(I_,"%3F")}function B_(o){return o==null?"":L_(o).replace(P_,"%2F")}function qn(o){try{return decodeURIComponent(""+o)}catch{({}).NODE_ENV!=="production"&&At(`Error decoding "${o}". Using original value`)}return""+o}const V_=/\/$/,Y_=o=>o.replace(V_,"");function ql(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=U_(n??t,e),{fullPath:n+(r&&"?")+r+a,path:n,query:s,hash:qn(a)}}function X_(o,t){const e=t.query?o(t.query):"";return t.path+(e&&"?")+e+(t.hash||"")}function Zh(o,t){return!t||!o.toLowerCase().startsWith(t.toLowerCase())?o:o.slice(t.length)||"/"}function Uh(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])&&Gh(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 Gh(o,t){if(Object.keys(o).length!==Object.keys(t).length)return!1;for(const e in o)if(!Z_(o[e],t[e]))return!1;return!0}function Z_(o,t){return Ue(o)?Hh(o,t):Ue(t)?Hh(t,o):o===t}function Hh(o,t){return Ue(t)?o.length===t.length&&o.every((e,n)=>e===t[n]):o.length===1&&o[0]===t}function U_(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 Zs;(function(o){o.pop="pop",o.push="push"})(Zs||(Zs={}));var Us;(function(o){o.back="back",o.forward="forward",o.unknown=""})(Us||(Us={}));function G_(o){if(!o)if(zo){const t=document.querySelector("base");o=t&&t.getAttribute("href")||"/",o=o.replace(/^\w+:\/\/[^\/]+/,"")}else o="/";return o[0]!=="/"&&o[0]!=="#"&&(o="/"+o),Y_(o)}const H_=/^[^#]+#/;function j_(o,t){return o.replace(H_,"#")+t}function W_(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 Ta=()=>({left:window.scrollX,top:window.scrollY});function q_(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=W_(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 jh(o,t){return(history.state?history.state.position-t:-1)+o}const Kl=new Map;function K_(o,t){Kl.set(o,t)}function Q_(o){const t=Kl.get(o);return Kl.delete(o),t}let J_=()=>location.protocol+"//"+location.host;function Wh(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),Zh(l,"")}return Zh(e,o)+n+s}function tx(o,t,e,n){let s=[],r=[],a=null;const i=({state:d})=>{const h=Wh(o,location),p=e.value,v=t.value;let k=0;if(d){if(e.value=h,t.value=d,a&&a===p){a=null;return}k=v?d.position-v.position:0}else n(h);s.forEach(x=>{x(e.value,p,{delta:k,type:Zs.pop,direction:k?k>0?Us.forward:Us.back:Us.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(Gt({},d.state,{scroll:Ta()}),"")}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 qh(o,t,e,n=!1,s=!1){return{back:o,current:t,forward:e,replaced:n,position:window.history.length,scroll:s?Ta():null}}function ex(o){const{history:t,location:e}=window,n={value:Wh(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:J_()+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=Gt({},t.state,qh(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=Gt({},s.value,t.state,{forward:l,scroll:Ta()});({}).NODE_ENV!=="production"&&!t.state&&At(`history.state seems to have been manually replaced without preserving the necessary values. Make sure to preserve existing history state if you are manually calling history.replaceState:
62
+
63
+ history.replaceState(history.state, '', url)
64
+
65
+ You can find more information at https://router.vuejs.org/guide/migration/#Usage-of-history-state`),r(u.current,u,!0);const f=Gt({},qh(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 ox(o){o=G_(o);const t=ex(o),e=tx(o,t.state,t.location,t.replace);function n(r,a=!0){a||e.pauseListeners(),history.go(r)}const s=Gt({location:"",base:o,go:n,createHref:j_.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 nx(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(/#.*$/,"#")}".`),ox(o)}function Ea(o){return typeof o=="string"||o&&typeof o=="object"}function Kh(o){return typeof o=="string"||typeof o=="symbol"}const Ql=Symbol({}.NODE_ENV!=="production"?"navigation failure":"");var Qh;(function(o){o[o.aborted=4]="aborted",o[o.cancelled=8]="cancelled",o[o.duplicated=16]="duplicated"})(Qh||(Qh={}));const sx={1({location:o,currentLocation:t}){return`No match for
67
+ ${JSON.stringify(o)}${t?`
68
+ while being at
69
+ `+JSON.stringify(t):""}`},2({from:o,to:t}){return`Redirected from "${o.fullPath}" to "${ax(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 Kn(o,t){return{}.NODE_ENV!=="production"?Gt(new Error(sx[o](t)),{type:o,[Ql]:!0},t):Gt(new Error,{type:o,[Ql]:!0},t)}function Do(o,t){return o instanceof Error&&Ql in o&&(t==null||!!(o.type&t))}const rx=["params","query","hash"];function ax(o){if(typeof o=="string")return o;if(o.path!=null)return o.path;const t={};for(const e of rx)e in o&&(t[e]=o[e]);return JSON.stringify(t,null,2)}const Jh="[^/]+?",ix={sensitive:!1,strict:!1,start:!0,end:!0},lx=/[.+*?^${}()[\]/\\]/g;function cx(o,t){const e=Gt({},ix,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(lx,"\\$&"),h+=40;else if(d.type===1){const{value:p,repeatable:v,optional:k,regexp:x}=d;r.push({name:p,repeatable:v,optional:k});const m=x||Jh;if(m!==Jh){h+=10;try{new RegExp(`(${m})`)}catch(y){throw new Error(`Invalid custom RegExp for param "${p}" (${m}): `+y.message)}}let g=v?`((?:${m})(?:/(?:${m}))*)`:`(${m})`;f||(g=k&&c.length<2?`(?:/${g})`:"/"+g),k&&(g+="?"),s+=g,h+=20,k&&(h+=-8),v&&(h+=-20),m===".*"&&(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:v,optional:k}=h,x=p in c?c[p]:"";if(Ue(x)&&!v)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const m=Ue(x)?x.join("/"):x;if(!m)if(k)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${p}"`);u+=m}}return u||"/"}return{re:a,score:n,keys:r,parse:i,stringify:l}}function ux(o,t){let e=0;for(;e<o.length&&e<t.length;){const n=t[e]-o[e];if(n)return n;e++}return o.length<t.length?o.length===1&&o[0]===80?-1:1:o.length>t.length?t.length===1&&t[0]===80?1:-1:0}function tp(o,t){let e=0;const n=o.score,s=t.score;for(;e<n.length&&e<s.length;){const r=ux(n[e],s[e]);if(r)return r;e++}if(Math.abs(s.length-n.length)===1){if(ep(n))return 1;if(ep(s))return-1}return s.length-n.length}function ep(o){const t=o[o.length-1];return o.length>0&&t[t.length-1]<0}const fx={type:0,value:""},dx=/[a-zA-Z0-9_]/;function hx(o){if(!o)return[[]];if(o==="/")return[[fx]];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:dx.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 px(o,t,e){const n=cx(hx(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=Gt(n,{record:o,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function mx(o,t){const e=[],n=new Map;t=rp({strict:!1,end:!0,sensitive:!1},t);function s(f){return n.get(f)}function r(f,d,h){const p=!h,v=np(f);({}).NODE_ENV!=="production"&&bx(v,d),v.aliasOf=h&&h.record;const k=rp(t,f),x=[v];if("alias"in f){const y=typeof f.alias=="string"?[f.alias]:f.alias;for(const b of y)x.push(np(Gt({},v,{components:h?h.record.components:v.components,path:b,aliasOf:h?h.record:v})))}let m,g;for(const y of x){const{path:b}=y;if(d&&b[0]!=="/"){const _=d.record.path,$=_[_.length-1]==="/"?"":"/";y.path=d.record.path+(b&&$+b)}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(m=px(y,d,k),{}.NODE_ENV!=="production"&&d&&b[0]==="/"&&xx(m,d),h?(h.alias.push(m),{}.NODE_ENV!=="production"&&vx(h,m)):(g=g||m,g!==m&&g.alias.push(m),p&&f.name&&!sp(m)&&({}.NODE_ENV!=="production"&&_x(f,d),a(f.name))),ap(m)&&l(m),v.children){const _=v.children;for(let $=0;$<_.length;$++)r(_[$],m,h&&h.children[$])}h=h||m}return g?()=>{a(g)}:Xs}function a(f){if(Kh(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=kx(f,e);e.splice(d,0,f),f.record.name&&!sp(f)&&n.set(f.record.name,f)}function c(f,d){let h,p={},v,k;if("name"in f&&f.name){if(h=n.get(f.name),!h)throw Kn(1,{location:f});if({}.NODE_ENV!=="production"){const g=Object.keys(f.params||{}).filter(y=>!h.keys.find(b=>b.name===y));g.length&&At(`Discarded invalid param(s) "${g.join('", "')}" when navigating. See https://github.com/vuejs/router/blob/main/packages/router/CHANGELOG.md#414-2022-08-22 for more details.`)}k=h.record.name,p=Gt(op(d.params,h.keys.filter(g=>!g.optional).concat(h.parent?h.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),f.params&&op(f.params,h.keys.map(g=>g.name))),v=h.stringify(p)}else if(f.path!=null)v=f.path,{}.NODE_ENV!=="production"&&!v.startsWith("/")&&At(`The Matcher cannot resolve relative paths but received "${v}". Unless you directly called \`matcher.resolve("${v}")\`, this is probably a bug in vue-router. Please open an issue at https://github.com/vuejs/router/issues/new/choose.`),h=e.find(g=>g.re.test(v)),h&&(p=h.parse(v),k=h.record.name);else{if(h=d.name?n.get(d.name):e.find(g=>g.re.test(d.path)),!h)throw Kn(1,{location:f,currentLocation:d});k=h.record.name,p=Gt({},d.params,f.params),v=h.stringify(p)}const x=[];let m=h;for(;m;)x.unshift(m.record),m=m.parent;return{name:k,path:v,params:p,matched:x,meta:yx(x)}}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 op(o,t){const e={};for(const n of t)n in o&&(e[n]=o[n]);return e}function np(o){const t={path:o.path,redirect:o.redirect,name:o.name,meta:o.meta||{},aliasOf:o.aliasOf,beforeEnter:o.beforeEnter,props:gx(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 gx(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 sp(o){for(;o;){if(o.record.aliasOf)return!0;o=o.parent}return!1}function yx(o){return o.reduce((t,e)=>Gt(t,e.meta),{})}function rp(o,t){const e={};for(const n in o)e[n]=n in t?t[n]:o[n];return e}function Jl(o,t){return o.name===t.name&&o.optional===t.optional&&o.repeatable===t.repeatable}function vx(o,t){for(const e of o.keys)if(!e.optional&&!t.keys.find(Jl.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(Jl.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 bx(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 _x(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 xx(o,t){for(const e of t.keys)if(!o.keys.find(Jl.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 kx(o,t){let e=0,n=t.length;for(;e!==n;){const r=e+n>>1;tp(o,t[r])<0?n=r:e=r+1}const s=wx(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 wx(o){let t=o;for(;t=t.parent;)if(ap(t)&&tp(o,t)===0)return t}function ap({record:o}){return!!(o.name||o.components&&Object.keys(o.components).length||o.redirect)}function Cx(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(Bh," "),a=r.indexOf("="),i=qn(a<0?r:r.slice(0,a)),l=a<0?null:qn(r.slice(a+1));if(i in t){let c=t[i];Ue(c)||(c=t[i]=[c]),c.push(l)}else t[i]=l}return t}function ip(o){let t="";for(let e in o){const n=o[e];if(e=M_(e),n==null){n!==void 0&&(t+=(t.length?"&":"")+e);continue}(Ue(n)?n.map(r=>r&&Wl(r)):[n&&Wl(n)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+e,r!=null&&(t+="="+r))})}return t}function Tx(o){const t={};for(const e in o){const n=o[e];n!==void 0&&(t[e]=Ue(n)?n.map(s=>s==null?null:""+s):n==null?n:""+n)}return t}const Ex=Symbol({}.NODE_ENV!=="production"?"router view location matched":""),lp=Symbol({}.NODE_ENV!=="production"?"router view depth":""),Sa=Symbol({}.NODE_ENV!=="production"?"router":""),tc=Symbol({}.NODE_ENV!=="production"?"route location":""),ec=Symbol({}.NODE_ENV!=="production"?"router view location":"");function Gs(){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(Kn(4,{from:e,to:t})):d instanceof Error?l(d):Ea(d)?l(Kn(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"?Sx(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 Sx(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 oc(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(Mh(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=S_(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 cp(o){const t=so(Sa),e=so(tc);let n=!1,s=null;const r=de(()=>{const u=Ot(o.to);return{}.NODE_ENV!=="production"&&(!n||u!==s)&&(Ea(u)||(n?At(`Invalid value for prop "to" in useLink()
73
+ - to:`,u,`
74
+ - previous to:`,s,`
75
+ - props:`,o):At(`Invalid value for prop "to" in useLink()
76
+ - to:`,u,`
77
+ - props:`,o)),s=u,n=!0),t.resolve(u)}),a=de(()=>{const{matched:u}=r.value,{length:f}=u,d=u[f-1],h=e.matched;if(!d||!h.length)return-1;const p=h.findIndex(en.bind(null,d));if(p>-1)return p;const v=up(u[f-2]);return f>1&&up(d)===v&&h[h.length-1].path!==v?h.findIndex(en.bind(null,u[f-2])):p}),i=de(()=>a.value>-1&&Ix(e.params,r.value.params)),l=de(()=>a.value>-1&&a.value===e.matched.length-1&&Gh(e.params,r.value.params));function c(u={}){if(Rx(u)){const f=t[Ot(o.replace)?"replace":"push"](Ot(o.to)).catch(Xs);return o.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}if({}.NODE_ENV!=="production"&&zo){const u=jo();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),Fn(()=>{f.route=r.value,f.isActive=i.value,f.isExactActive=l.value,f.error=Ea(Ot(o.to))?null:'Invalid "to" value'},{flush:"post"})}}return{route:r,href:de(()=>r.value.href),isActive:i,isExactActive:l,navigate:c}}function Ox(o){return o.length===1?o[0]:o}const Px=X({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:cp,setup(o,{slots:t}){const e=Wt(cp(o)),{options:n}=so(Sa),s=de(()=>({[fp(o.activeClass,n.linkActiveClass,"router-link-active")]:e.isActive,[fp(o.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:e.isExactActive}));return()=>{const r=t.default&&Ox(t.default(e));return o.custom?r:Ut("a",{"aria-current":e.isExactActive?o.ariaCurrentValue:null,href:e.href,onClick:e.navigate,class:s.value},r)}}});function Rx(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 Ix(o,t){for(const e in t){const n=t[e],s=o[e];if(typeof n=="string"){if(n!==s)return!1}else if(!Ue(s)||s.length!==n.length||n.some((r,a)=>r!==s[a]))return!1}return!0}function up(o){return o?o.aliasOf?o.aliasOf.path:o.path:""}const fp=(o,t,e)=>o??t??e,Ax=X({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(o,{attrs:t,slots:e}){({}).NODE_ENV!=="production"&&$x();const n=so(ec),s=de(()=>o.route||n.value),r=so(lp,0),a=de(()=>{let c=Ot(r);const{matched:u}=s.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),i=de(()=>s.value.matched[a.value]);Tr(lp,de(()=>a.value+1)),Tr(Ex,i),Tr(ec,s);const l=O();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(v=>v(c))},{flush:"post"}),()=>{const c=s.value,u=o.name,f=i.value,d=f&&f.components[u];if(!d)return dp(e.default,{Component:d,route:c});const h=f.props[u],p=h?h===!0?c.params:typeof h=="function"?h(c):h:null,k=Ut(d,Gt({},p,t,{onVnodeUnmounted:x=>{x.component.isUnmounted&&(f.instances[u]=null)},ref:l}));if({}.NODE_ENV!=="production"&&zo&&k.ref){const x={depth:a.value,name:f.name,path:f.path,meta:f.meta};(Ue(k.ref)?k.ref.map(g=>g.i):[k.ref.i]).forEach(g=>{g.__vrv_devtools=x})}return dp(e.default,{Component:k,route:c})||k}}});function dp(o,t){if(!o)return null;const e=o(t);return e.length===1?e[0]:e}const nc=Ax;function $x(){const o=jo(),t=o.parent&&o.parent.type.name,e=o.parent&&o.parent.subTree&&o.parent.subTree.type;if(t&&(t==="KeepAlive"||t.includes("Transition"))&&typeof e=="object"&&e.name==="RouterView"){const n=t==="KeepAlive"?"keep-alive":"transition";At(`<router-view> can no longer be used directly inside <transition> or <keep-alive>.
78
+ Use slot props instead:
79
+
80
+ <router-view v-slot="{ Component }">
81
+ <${n}>
82
+ <component :is="Component" />
83
+ </${n}>
84
+ </router-view>`)}}function Hs(o,t){const e=Gt({},o,{matched:o.matched.map(n=>Zx(n,["instances","children","aliasOf"]))});return{_custom:{type:null,readOnly:!0,display:o.fullPath,tooltip:t,value:e}}}function Oa(o){return{_custom:{display:o}}}let Nx=0;function Fx(o,t,e){if(t.__hasDevtools)return;t.__hasDevtools=!0;const n=Nx++;E_({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:Hs(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:hp})}Ue(f.__vrl_devtools)&&(f.__devtoolsApi=s,f.__vrl_devtools.forEach(d=>{let h=d.route.path,p=gp,v="",k=0;d.error?(h=d.error,p=Bx,k=Vx):d.isExactActive?(p=mp,v="This is exactly active"):d.isActive&&(p=pp,v="This link is active"),u.tags.push({label:h,textColor:k,tooltip:v,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:Oa("beforeEach"),from:Hs(f,"Current Location during this navigation"),to:Hs(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:Oa("afterEach")};d?(h.failure={_custom:{type:Error,readOnly:!0,display:d?d.message:"",tooltip:"Navigation Failure",value:d}},h.status=Oa("❌")):h.status=Oa("✅"),h.from=Hs(f,"Current Location during this navigation"),h.to=Hs(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(bp),u.filter&&(f=f.filter(d=>sc(d,u.filter.toLowerCase()))),f.forEach(d=>vp(d,t.currentRoute.value)),u.rootNodes=f.map(yp)}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:Dx(d)})}}),s.sendInspectorTree(i),s.sendInspectorState(i)})}function zx(o){return o.optional?o.repeatable?"*":"?":o.repeatable?"+":""}function Dx(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}${zx(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 hp=15485081,pp=2450411,mp=8702998,Mx=2282478,gp=16486972,Lx=6710886,Bx=16704226,Vx=12131356;function yp(o){const t=[],{record:e}=o;e.name!=null&&t.push({label:String(e.name),textColor:0,backgroundColor:Mx}),e.aliasOf&&t.push({label:"alias",textColor:0,backgroundColor:gp}),o.__vd_match&&t.push({label:"matches",textColor:0,backgroundColor:hp}),o.__vd_exactActive&&t.push({label:"exact",textColor:0,backgroundColor:mp}),o.__vd_active&&t.push({label:"active",textColor:0,backgroundColor:pp}),e.redirect&&t.push({label:typeof e.redirect=="string"?`redirect: ${e.redirect}`:"redirects",textColor:16777215,backgroundColor:Lx});let n=e.__vd_id;return n==null&&(n=String(Yx++),e.__vd_id=n),{id:n,label:e.path,tags:t,children:o.children.map(yp)}}let Yx=0;const Xx=/^\/(.*)\/([a-z]*)$/;function vp(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=>vp(n,t))}function bp(o){o.__vd_match=!1,o.children.forEach(bp)}function sc(o,t){const e=String(o.re).match(Xx);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=>sc(a,t)),o.record.path!=="/"||t==="/"?(o.__vd_match=o.re.test(t),!0):!1;const s=o.record.path.toLowerCase(),r=qn(s);return!t.startsWith("/")&&(r.includes(t)||s.includes(t))||r.startsWith(t)||s.startsWith(t)||o.record.name&&String(o.record.name).includes(t)?!0:o.children.some(a=>sc(a,t))}function Zx(o,t){const e={};for(const n in o)t.includes(n)||(e[n]=o[n]);return e}function Ux(o){const t=mx(o.routes,o),e=o.parseQuery||Cx,n=o.stringifyQuery||ip,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=Gs(),a=Gs(),i=Gs(),l=P0(on);let c=on;zo&&o.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Hl.bind(null,F=>""+F),f=Hl.bind(null,B_),d=Hl.bind(null,qn);function h(F,nt){let H,lt;return Kh(F)?(H=t.getRecordMatcher(F),{}.NODE_ENV!=="production"&&!H&&At(`Parent route "${String(F)}" not found when adding child route`,nt),lt=nt):lt=F,t.addRoute(lt,H)}function p(F){const nt=t.getRecordMatcher(F);nt?t.removeRoute(nt):{}.NODE_ENV!=="production"&&At(`Cannot remove non-existent route "${String(F)}"`)}function v(){return t.getRoutes().map(F=>F.record)}function k(F){return!!t.getRecordMatcher(F)}function x(F,nt){if(nt=Gt({},nt||l.value),typeof F=="string"){const E=ql(e,F,nt.path),P=t.resolve({path:E.path},nt),L=s.createHref(E.fullPath);return{}.NODE_ENV!=="production"&&(L.startsWith("//")?At(`Location "${F}" resolved to "${L}". A resolved location cannot start with multiple slashes.`):P.matched.length||At(`No match found for location with path "${F}"`)),Gt(E,P,{params:d(P.params),hash:qn(E.hash),redirectedFrom:void 0,href:L})}if({}.NODE_ENV!=="production"&&!Ea(F))return At(`router.resolve() was passed an invalid location. This will fail in production.
85
+ - Location:`,F),x({});let H;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.`),H=Gt({},F,{path:ql(e,F.path,nt.path).path});else{const E=Gt({},F.params);for(const P in E)E[P]==null&&delete E[P];H=Gt({},F,{params:f(E)}),nt.params=f(nt.params)}const lt=t.resolve(H,nt),Pt=F.hash||"";({}).NODE_ENV!=="production"&&Pt&&!Pt.startsWith("#")&&At(`A \`hash\` should always start with the character "#". Replace "${Pt}" with "#${Pt}".`),lt.params=u(d(lt.params));const Zt=X_(n,Gt({},F,{hash:D_(Pt),path:lt.path})),V=s.createHref(Zt);return{}.NODE_ENV!=="production"&&(V.startsWith("//")?At(`Location "${F}" resolved to "${V}". A resolved location cannot start with multiple slashes.`):lt.matched.length||At(`No match found for location with path "${F.path!=null?F.path:F}"`)),Gt({fullPath:Zt,hash:Pt,query:n===ip?Tx(F.query):F.query||{}},lt,{redirectedFrom:void 0,href:V})}function m(F){return typeof F=="string"?ql(e,F,l.value.path):Gt({},F)}function g(F,nt){if(c!==F)return Kn(8,{from:nt,to:F})}function y(F){return $(F)}function b(F){return y(Gt(m(F),{replace:!0}))}function _(F){const nt=F.matched[F.matched.length-1];if(nt&&nt.redirect){const{redirect:H}=nt;let lt=typeof H=="function"?H(F):H;if(typeof lt=="string"&&(lt=lt.includes("?")||lt.includes("#")?lt=m(lt):{path:lt},lt.params={}),{}.NODE_ENV!=="production"&&lt.path==null&&!("name"in lt))throw At(`Invalid redirect found:
86
+ ${JSON.stringify(lt,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 Gt({query:F.query,hash:F.hash,params:lt.path!=null?{}:F.params},lt)}}function $(F,nt){const H=c=x(F),lt=l.value,Pt=F.state,Zt=F.force,V=F.replace===!0,E=_(H);if(E)return $(Gt(m(E),{state:typeof E=="object"?Gt({},Pt,E.state):Pt,force:Zt,replace:V}),nt||H);const P=H;P.redirectedFrom=nt;let L;return!Zt&&Uh(n,lt,H)&&(L=Kn(16,{to:P,from:lt}),he(lt,lt,!0,!1)),(L?Promise.resolve(L):D(P,lt)).catch(Z=>Do(Z)?Do(Z,2)?Z:pe(Z):wt(Z,P,lt)).then(Z=>{if(Z){if(Do(Z,2))return{}.NODE_ENV!=="production"&&Uh(n,x(Z.to),P)&&nt&&(nt._count=nt._count?nt._count+1:1)>30?(At(`Detected a possibly infinite redirection in a navigation guard when going from "${lt.fullPath}" to "${P.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"))):$(Gt({replace:V},m(Z.to),{state:typeof Z.to=="object"?Gt({},Pt,Z.to.state):Pt,force:Zt}),nt||P)}else Z=j(P,lt,!0,V,Pt);return ut(P,lt,Z),Z})}function Y(F,nt){const H=g(F,nt);return H?Promise.reject(H):Promise.resolve()}function B(F){const nt=A.values().next().value;return nt&&typeof nt.runWithContext=="function"?nt.runWithContext(F):F()}function D(F,nt){let H;const[lt,Pt,Zt]=Gx(F,nt);H=oc(lt.reverse(),"beforeRouteLeave",F,nt);for(const E of lt)E.leaveGuards.forEach(P=>{H.push(nn(P,F,nt))});const V=Y.bind(null,F,nt);return H.push(V),Nt(H).then(()=>{H=[];for(const E of r.list())H.push(nn(E,F,nt));return H.push(V),Nt(H)}).then(()=>{H=oc(Pt,"beforeRouteUpdate",F,nt);for(const E of Pt)E.updateGuards.forEach(P=>{H.push(nn(P,F,nt))});return H.push(V),Nt(H)}).then(()=>{H=[];for(const E of Zt)if(E.beforeEnter)if(Ue(E.beforeEnter))for(const P of E.beforeEnter)H.push(nn(P,F,nt));else H.push(nn(E.beforeEnter,F,nt));return H.push(V),Nt(H)}).then(()=>(F.matched.forEach(E=>E.enterCallbacks={}),H=oc(Zt,"beforeRouteEnter",F,nt,B),H.push(V),Nt(H))).then(()=>{H=[];for(const E of a.list())H.push(nn(E,F,nt));return H.push(V),Nt(H)}).catch(E=>Do(E,8)?E:Promise.reject(E))}function ut(F,nt,H){i.list().forEach(lt=>B(()=>lt(F,nt,H)))}function j(F,nt,H,lt,Pt){const Zt=g(F,nt);if(Zt)return Zt;const V=nt===on,E=zo?history.state:{};H&&(lt||V?s.replace(F.fullPath,Gt({scroll:V&&E&&E.scroll},Pt)):s.push(F.fullPath,Pt)),l.value=F,he(F,nt,H,V),pe()}let tt;function vt(){tt||(tt=s.listen((F,nt,H)=>{if(!ne.listening)return;const lt=x(F),Pt=_(lt);if(Pt){$(Gt(Pt,{replace:!0,force:!0}),lt).catch(Xs);return}c=lt;const Zt=l.value;zo&&K_(jh(Zt.fullPath,H.delta),Ta()),D(lt,Zt).catch(V=>Do(V,12)?V:Do(V,2)?($(Gt(m(V.to),{force:!0}),lt).then(E=>{Do(E,20)&&!H.delta&&H.type===Zs.pop&&s.go(-1,!1)}).catch(Xs),Promise.reject()):(H.delta&&s.go(-H.delta,!1),wt(V,lt,Zt))).then(V=>{V=V||j(lt,Zt,!1),V&&(H.delta&&!Do(V,8)?s.go(-H.delta,!1):H.type===Zs.pop&&Do(V,20)&&s.go(-1,!1)),ut(lt,Zt,V)}).catch(Xs)}))}let St=Gs(),$t=Gs(),kt;function wt(F,nt,H){pe(F);const lt=$t.list();return lt.length?lt.forEach(Pt=>Pt(F,nt,H)):({}.NODE_ENV!=="production"&&At("uncaught error during route navigation:"),console.error(F)),Promise.reject(F)}function oe(){return kt&&l.value!==on?Promise.resolve():new Promise((F,nt)=>{St.add([F,nt])})}function pe(F){return kt||(kt=!F,vt(),St.list().forEach(([nt,H])=>F?H(F):nt()),St.reset()),F}function he(F,nt,H,lt){const{scrollBehavior:Pt}=o;if(!zo||!Pt)return Promise.resolve();const Zt=!H&&Q_(jh(F.fullPath,0))||(lt||!H)&&history.state&&history.state.scroll||null;return mr().then(()=>Pt(F,nt,Zt)).then(V=>V&&q_(V)).catch(V=>wt(V,F,nt))}const Xt=F=>s.go(F);let et;const A=new Set,ne={currentRoute:l,listening:!0,addRoute:h,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:k,getRoutes:v,resolve:x,options:o,push:y,replace:b,go:Xt,back:()=>Xt(-1),forward:()=>Xt(1),beforeEach:r.add,beforeResolve:a.add,afterEach:i.add,onError:$t.add,isReady:oe,install(F){const nt=this;F.component("RouterLink",Px),F.component("RouterView",nc),F.config.globalProperties.$router=nt,Object.defineProperty(F.config.globalProperties,"$route",{enumerable:!0,get:()=>Ot(l)}),zo&&!et&&l.value===on&&(et=!0,y(s.location).catch(Pt=>{({}).NODE_ENV!=="production"&&At("Unexpected error when starting the router:",Pt)}));const H={};for(const Pt in on)Object.defineProperty(H,Pt,{get:()=>l.value[Pt],enumerable:!0});F.provide(Sa,nt),F.provide(tc,ru(H)),F.provide(ec,l);const lt=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,kt=!1),lt()},{}.NODE_ENV!=="production"&&zo&&Fx(F,nt,t)}};function Nt(F){return F.reduce((nt,H)=>nt.then(()=>B(H)),Promise.resolve())}return ne}function Gx(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 Pa(){return so(Sa)}function _p(o){return so(tc)}const Hx={class:"page"},jx={class:"page-header"},Wx={class:"page-main"},qx={class:"page-main-scroll"},Kx={class:"page-footer"},Qx={class:"page-global"},Jx=X({customOptions:{},inheritAttrs:!0,__name:"LayoutPage",setup(o,{expose:t}){return t({}),(e,n)=>(I(),z("div",Hx,[w("div",jx,[gt(e.$slots,"header",{},void 0,!0)]),w("div",Wx,[w("div",qx,[gt(e.$slots,"default",{},void 0,!0)])]),w("div",Kx,[gt(e.$slots,"footer",{},void 0,!0)]),w("div",Qx,[gt(e.$slots,"global",{},void 0,!0)])]))}}),Gw="",to=at(Jx,[["__scopeId","data-v-3c77fd20"]]),t2={class:"view-document"},e2=["src"],o2=X({inheritAttrs:!0,customOptions:{LayoutPage:to},__name:"ViewDocument",props:{src:{default:""},title:{default:""}},setup(o){const t=o,e=_p();Dd(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(),ht(to,null,{default:st(()=>[w("div",t2,[w("img",{class:"img",src:Ot(n)},null,8,e2)])]),_:1}))}}),Hw="",rc=at(o2,[["__scopeId","data-v-786ac2a3"]]),n2={class:"xg-footer-inner"},s2=X({customOptions:{Button:re},inheritAttrs:!0,__name:"Footer",setup(o){const t=Pa();function e(){t.push("/park")}const n=O("0px");let s;return ye(()=>{s=Sl.onBottom(r=>{n.value=r})}),ue(()=>{s?.()}),(r,a)=>(I(),z("div",{class:"xg-footer",style:N({paddingBottom:n.value})},[w("div",n2,[Q(re,{label:"去支付",width:"100%",onClick:e})])],4))}}),jw="",Ra=at(s2,[["__scopeId","data-v-47056f4a"]]),r2={class:"text"},a2=X({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=O(r(n.plateType||"")),i=O(),l=O(14);return ye(()=>{l.value=ha(i.value).getEmSize()}),t({}),(c,u)=>(I(),z("div",{class:"plate-display",ref_key:"el",ref:i},[c.displayType=="dot"&&c.plate!=="无牌车"?(I(),z("div",{key:0,class:jt(["leading",c.displayType]),style:N({...a.value.style,width:l.value+"px",height:l.value+"px",marginRight:.36*l.value+"px"})},dt(a.value.name),7)):yt("",!0),c.displayType=="chinese"&&c.plate!=="无牌车"?(I(),z("div",{key:1,class:jt(["leading",c.displayType]),style:N(a.value.style)},dt(a.value.name),7)):yt("",!0),c.displayType=="plaintext"&&c.plate!=="无牌车"?(I(),z("div",{key:2,class:jt(["leading",c.displayType])},dt(a.value.name),3)):yt("",!0),w("div",r2,dt(c.plate),1)],512))}}),Ww="",Ia=at(a2,[["__scopeId","data-v-6395bb5a"]]),Qn=X({customOptions:{Container:pt},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(_){switch(i=_,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=O(),v=_=>{r.perspective=n.perspective,_.eb.on("animationstart",$=>{s("cssanimationstart",$.animationName)}),_.eb.on("animationend",$=>{s("cssanimationend",$.animationName)})};function k(){p.value.style.animation="none",p.value.offsetHeight,p.value.style.animation=null}const x=()=>{a.animation="none"},m=()=>{k(),a.animation=`${l}ms ${c} ${u}ms ${f} ${d} ${n.fillMode} ${n.playState} ${i}`},g=_=>{_&&h(_),x(),d="normal",m()},y=_=>{_&&h(_),x(),d="reverse",m()},b=()=>{a.animation="none"};return Rt(()=>n.name,()=>{h(n.name)},{immediate:!0}),t({trigger:g,triggerReverse:y,clear:b}),(_,$)=>(I(),ht(pt,{class:"css-animation",type:n.containerType,supportCopyText:n.supportCopyText,effectTriggerTiming:n.effectTriggerTiming,style:N(r),onReady:v,onStart:x,onEnd:m},{default:st(()=>[w("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})},[gt(_.$slots,"default")],4)]),_:3},8,["type","supportCopyText","effectTriggerTiming","style"]))}}),qw="",Aa=X({customOptions:{Container:pt,CSSAnimation:Qn},inheritAttrs:!0,__name:"Page",props:{effect:{default:"moveFromLeft"},duration:{default:500},easeFunction:{type:Function,default:it.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=O(),a=Wt({}),i=()=>{s("ready",_,$)},l=()=>{v()},c=O();let u="rotateRightSideFirst",f=n.effect;function d(Y,B){switch(f){case"static":B();break;default:Y();break}}let h=!1;const p=new Xe,v=()=>{const Y={},B={};p.clear(),p.frameDuration=n.duration,d(()=>{u=f},()=>{p.addTween(Y,B,{delay:n.delay/n.duration,easeFunction:n.easeFunction,onStart:()=>{s(h?"pageCloseStart":"pageOpenStart")},onUpdate:D=>{a.transform="","x"in D&&(a.transform+=` translateX(${D.x}%)`),"y"in D&&(a.transform+=` translateY(${D.y}%)`),"rx"in D&&(a.transform+=` rotateX(${D.rx}deg)`),"ry"in D&&(a.transform+=` rotateY(${D.ry}deg)`),"scale"in D&&(a.transform+=` scale(${D.scale})`),"opacity"in D&&(a.opacity=`${D.opacity}`)},onComplete:()=>{s(h?"pageCloseEnd":"pageOpenEnd")}})})};Rt(()=>[n.effect,n.delay,n.duration,n.easeFunction],()=>{f=n.effect,v()},{immediate:!0});const k=()=>{s(h?"pageCloseStart":"pageOpenStart")},x=()=>{s(h?"pageCloseEnd":"pageOpenEnd")},m=()=>{d(()=>{c.value.trigger(u)},()=>{p.play()})},g=()=>{d(()=>{c.value.triggerReverse(u)},()=>{p.reverse()})},y=()=>{a.transform="none",a.opacity="1"};function b(){d(()=>{y()},()=>{c.value?.clear()})}const _=Y=>{Y&&(f=Y,v()),h=!1,b(),m()},$=Y=>{Y&&(f=Y,v()),h=!0,b(),g()};return t({open:_,close:$,clear:y}),(Y,B)=>(I(),ht(pt,{class:"page",ref_key:"pageRef",ref:r,type:"full",effectTriggerTiming:"manual",style:{overflow:"hidden",width:"100%",height:"100%"},onReady:i,onUpdate:l},{default:st(()=>[Q(Qn,{ref_key:"cssAnimationRef",ref:c,containerType:"full",effectTriggerTiming:"manual",duration:n.duration,delay:n.delay,timingFunction:n.timingFunction,onCssanimationstart:k,onCssanimationend:x},{default:st(()=>[w("div",{class:"page-inner",style:N({position:"relative",display:"block",width:"100%",height:"100%",overflow:"scroll",backfaceVisibility:"hidden",transformStyle:"preserve-3d",...a})},[gt(Y.$slots,"default")],4)]),_:3},8,["duration","delay","timingFunction"])]),_:3},512))}}),js=X({customOptions:{Page:Aa,Container:pt},inheritAttrs:!0,__name:"Routes",props:{effect:{default:"moveToLeft"},duration:{default:500},easeFunction:{type:Function,default:it.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,ne){switch(et){case r:return h()?A:ne;case a:return h()?ne:A;default:return"static"}}function v(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 k(et,A=600,ne=600){switch(et){case r:return A;case a:return ne;default:return n.duration}}function x(et,A){switch(et){case"moveFromLeftFadePrevFold":case"moveFromRightFadePrevFold":case"moveFromTopFadePrevFold":case"moveFromBottomFadePrevFold":return k(A,700,700);case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":case"moveFromLeftPrevScaleToSmall":case"moveFromRightPrevScaleToSmall":case"moveFromTopPrevScaleToSmall":case"moveFromBottomPrevScaleToSmall":return k(A,700,600);case"scaleSmall":return k(A,700,500);case"scaleLarge":return k(A,500,700);case"scaleToLargePrevScaleToSmall":return k(A,400,400);case"scaleFromSmallPrevMoveToLeft":case"scaleFromSmallPrevMoveToRight":case"scaleFromSmallPrevMoveToTop":case"scaleFromSmallPrevMoveToBottom":return k(A,600,700);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":return k(A,800,600);default:return n.duration}}let m=n.timingFunction;function g(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:m=h()?"ease-in-out":"ease";break;case a:default:m=h()?"ease":"ease-in-out"}return g(A);default:return m=n.timingFunction,n.easeFunction}}function b(et,A=300){switch(et){case a:return n.delay+A;default:return n.delay}}function _(et,A){switch(et){case"flipToLeft":case"flipToRight":case"flipToTop":case"flipToBottom":case"newspaper":return b(A,500);case"scaleSmall":case"scaleLarge":return b(A,300);case"scaleToLargePrevScaleToSmall":return b(A,400);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":case"rotateSidesIn":return b(A,200);case"pullFromLeftPrevPush":case"pullFromRightPrevPush":case"pullFromTopPrevPush":case"pullFromBottomPrevPush":return b(A,180);default:return n.delay}}let $=2,Y=2;const B=()=>{$=2,Y=2},D=()=>{$=2,Y=3},ut=()=>{$=3,Y=2};function j(et){switch(n.effect){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":ut();break;case"scaleFromSmallPrevMoveToLeft":case"scaleFromSmallPrevMoveToRight":case"scaleFromSmallPrevMoveToTop":case"scaleFromSmallPrevMoveToBottom":case"rotateFall":case"rotateRoomLeftIn":case"rotateRoomRightIn":case"rotateRoomTopIn":case"rotateRoomBottomIn":case"rotateCubeLeftIn":case"rotateCubeRightIn":case"rotateCubeTopIn":case"rotateCubeBottomIn":case"rotateCarouselLeftIn":case"rotateCarouselRightIn":case"rotateCarouselTopIn":case"rotateCarouselBottomIn":h()?ut():D();break;case"moveFromLeftPrevFade":case"moveFromRightPrevFade":case"moveFromTopPrevFade":case"moveFromBottomPrevFade":case"moveFromLeftPrevScaleToSmall":case"moveFromRightPrevScaleToSmall":case"moveFromTopPrevScaleToSmall":case"moveFromBottomPrevScaleToSmall":case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":h()?D():ut();break;default:B();break}d(r)&&r==et&&(f[r].style.zIndex=`${$}`,f[r].style.visibility="visible"),d(a)&&a==et&&(f[a].style.zIndex=`${Y}`,f[a].style.visibility="visible")}function tt(et){D(),et==r&&(f[r].style.zIndex=`${$}`,f[r].style.visibility="hidden"),et==a&&(f[a].style.zIndex=`${Y}`,f[a].style.visibility="visible",l.shift()?.(),s("routeChangeEnd",r,a,c.length),r=a)}const vt=O();function St(et=0,A=!1){if(!vt.value)return;let ne=0;Mr(Ut("div",{class:"routes-pages",style:{display:"block",width:"100%",height:"100%",overflow:"hidden",position:"relative"}},c.map((Nt,F)=>{const nt=v(n.effect,F);return Ut("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}:{}),Ut(Aa,{effect:nt,duration:x(n.effect,F),easeFunction:y(n.effect,F),timingFunction:m,delay:_(n.effect,F),onReady:(H,lt)=>{u[F]={open:H,close:lt},++ne==et&&(i?.(),s("renderComplete"))},onPageOpenStart:()=>{j(F)},onPageOpenEnd:()=>{tt(F)},onPageCloseStart:()=>{j(F)},onPageCloseEnd:()=>{tt(F)}},{default:()=>Nt.component instanceof HTMLElement?Ut("div",{...Nt.attributes,innerHTML:Nt.component.innerHTML}):Ut(Nt.component,Nt.attributes,()=>Nt.child)}))})),vt.value),f=vt.value.children[0].children}Rt(()=>n.effect,()=>{St()});function $t(et=[]){c=[...et],c.forEach(A=>{A.pageKey=A.pageKey||zn()}),i=()=>{r=-1,Xt(0)},St(c.length,!0)}function kt(et){et.pageKey=et.pageKey||zn(),c.push(et),i=()=>{Xt(c.length-1)},St(1,c.length==1)}function wt(){c.length<=1||Xt(c.length-2,()=>{c.splice(c.length-1,1),r=c.length-1,St()})}function oe(){Xt(r+1)}function pe(){Xt(r-1)}const he=new Yr(1);function Xt(et,A){he.addTask(()=>new Promise(ne=>{const Nt=()=>{A?.(),ne()};if(!d(et)){Nt();return}if(a=et,a==r){Nt();return}l.push(Nt),St(),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:kt,pop:wt,forward:oe,back:pe,goto:Xt,currentPageIndex:()=>r,totalPages:()=>c.length}),(et,A)=>(I(),z("div",{class:"routes",ref_key:"routesRef",ref:vt,style:{display:"block",position:"relative",width:"100%",height:"100%","overflow-x":"hidden","overflow-y":"hidden"}},null,512))}}),i2=["src"],l2=X({name:"Image",customOptions:{Container:pt,Pop:le},inheritAttrs:!0,__name:"Image",props:{src:{},mode:{default:"scaleToFill"},dur:{default:300},bgColor:{default:"transparent"},openImageDetailWhenClick:{type:Boolean,default:!0}},emits:["settled"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=new Xe({frameDuration:n.dur}),a=O(0),i=O(0),l=O(0),c=O(0),u=O(0),f=O(0),d=O(0),h=O(0),p=O(!0),v=O(0),k=O(0);Kd(n.src).then(tt=>{v.value=tt.width,k.value=tt.height,_()}).catch(()=>{p.value=!1});const x=O(0),m=O(0),g=tt=>{x.value=tt.rect.width,m.value=tt.rect.height,_()},y=O(0),b=O(0);function _(){if(!x.value||!m.value||!v.value||!k.value)return;const tt=fa(n.mode,v.value,k.value,x.value,m.value);y.value=tt.width,b.value=tt.height;const{width:vt,height:St}=Ds(),$t=fa("aspectFit",v.value,k.value,vt,St);d.value=$t.width,h.value=$t.height,u.value=(vt-d.value)/2,f.value=(St-h.value)/2}const $=tt=>{s("settled",tt.rect.x,tt.rect.y,tt.rect.width,tt.rect.height)};let Y=!1;const B=O(),D=O();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:it.Quadratic.Out,onUpdate(vt){a.value=vt.left,i.value=vt.top,l.value=vt.width,c.value=vt.height},onComplete(){Y&&D.value.close(),Y=!Y}}),Y||(D.value.open(),r.play())}function j(){Y&&r.reverse()}return t({}),(tt,vt)=>(I(),ht(pt,{class:"image",type:"full",style:N({backgroundColor:n.bgColor}),onReady:g,onUpdate:g,onClick:ut},{default:st(()=>[p.value?(I(),ht(pt,{key:0,class:"image-inner",ref_key:"imageRef",ref:B,type:"shrink",style:N({width:y.value+"px",height:b.value+"px",backgroundImage:`url(${n.src})`,backgroundSize:`${y.value}px ${b.value}px`}),onReady:$,onUpdate:$},null,8,["style"])):yt("",!0),p.value?yt("",!0):(I(),ht(pt,{key:1,type:"shrink"},{default:st(()=>[w("img",{src:n.src,style:{display:"block",objectFit:"contain"}},null,8,i2)]),_:1})),Q(le,{ref_key:"popRef",ref:D,"direction-from":"absolute","absolute-left":`${a.value}px`,"absolute-top":`${i.value}px`,"absolute-width":`${l.value}px`,"absolute-height":`${c.value}px`,"close-when-click-overlay":!1,onClickOverlay:j},{default:st(()=>[w("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"]))}}),Kw="",$a=at(l2,[["__scopeId","data-v-67c2d0de"]]),c2={key:0,style:{position:"absolute",top:"30px",left:"50%",transform:"translate(-50%, 0)",color:"#ffffff","font-size":"1em","z-index":"98"}},Na=X({customOptions:{Image:$a,Container:pt,Routes:js},inheritAttrs:!0,__name:"ImageView",props:{urls:{default:()=>[]},effect:{default:"moveToLeftFade"}},setup(o,{expose:t,emit:e}){const n=o,s=O(0);function r(d,h){s.value=h}const a=O(),i=d=>{d.eb.on("panLeft",()=>{a.value?.forward()}),d.eb.on("panRight",()=>{a.value?.back()}),a.value.reset(n.urls.map(h=>({component:Ut($a,{mode:"aspectFit",src:h,openImageDetailWhenClick:!1})})))},l=O();function c(){l.value?.open()}function u(){l.value?.close()}const f=d=>{d.target&&da(d.target,"image")&&u()};return t({open:c,close:u}),(d,h)=>(I(),ht(le,{ref_key:"popRef",ref:l,directionFrom:"absolute",onClick:f},{default:st(()=>[n.urls.length>1?(I(),z("div",c2,dt(s.value+1)+" / "+dt(n.urls.length),1)):yt("",!0),Q(pt,{style:{position:"absolute",top:"50%",transform:"translate(0, -50%)",width:"100%",height:"100%","z-index":"97"},onReady:i},{default:st(()=>[Q(js,{ref_key:"routesRef",ref:a,effect:n.effect,onRouteChangeEnd:r},null,8,["effect"])]),_:1})]),_:1},512))}}),u2={class:"pop-tel"},f2=["href"],d2=X({customOptions:{Pop:le},inheritAttrs:!0,__name:"PopTel",props:{tel:{}},setup(o,{expose:t,emit:e}){const n=O();function s(){n.value?.open()}function r(){n.value?.close()}return t({open:s,close:r}),(a,i)=>(I(),ht(le,{directionFrom:"bottom",closeWhenClickOverlay:!1,ref_key:"el",ref:n},{default:st(()=>[w("div",u2,[w("div",null,dt(a.tel),1),w("a",{class:"pop-tel-call",onClick:r,href:`tel:${a.tel}`}," 呼叫 ",8,f2),w("div",{class:"pop-tel-cancel",onClick:r}," 取消 ")])]),_:1},512))}}),Qw="",Fa=at(d2,[["__scopeId","data-v-c1425500"]]),h2={class:"lot-main"},p2={class:"lot-detail"},m2={class:"bold"},g2=X({customOptions:{LayoutPage:to,Footer:Ra,PlateDisplay:Ia,ViewDocument:rc,PopTel:Fa,ImageView:Na},inheritAttrs:!0,__name:"Lot",setup(o){const t=Pa();function e(){t.push({name:"view-document",params:{title:"收费标准",src:encodeURIComponent("https://erichd2.oss-cn-shanghai.aliyuncs.com/0000/0002/2159")}})}const n=O();function s(){n.value?.open()}const r=O();function a(){r.value?.open()}return(i,l)=>(I(),ht(to,{class:"lot"},{footer:st(()=>[Q(Ra)]),global:st(()=>[Q(Fa,{tel:"15851575410",ref_key:"popTelEl",ref:n},null,512),Q(Na,{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:st(()=>[l[15]||(l[15]=w("div",{class:"lot-main-bg"},null,-1)),w("div",h2,[l[12]||(l[12]=w("div",null,"若临测试泊位机器人停车场",-1)),l[13]||(l[13]=w("div",null,[w("div"),w("div",null,"编号"),w("div")],-1)),l[14]||(l[14]=w("div",null,[w("span",null,"103"),w("span",null,"002")],-1)),w("div",null,[l[0]||(l[0]=w("div",null,"停车场主页",-1)),l[1]||(l[1]=w("div",null,"更换附近车位",-1)),w("div",{onClick:e},"收费标准")]),w("div",p2,[l[4]||(l[4]=w("div",null,[w("div",null,"待支付"),w("div",{class:"red"},"¥0.01")],-1)),l[5]||(l[5]=w("div",null,[w("div",null,"已支付"),w("div",null,"¥0.01")],-1)),l[6]||(l[6]=w("div",null,[w("div",null,"订单编号"),w("div",null,"33333333333")],-1)),l[7]||(l[7]=w("div",null,[w("div",null,"开始时间"),w("div",null,"2025-04-08 09:41:25")],-1)),l[8]||(l[8]=w("div",null,[w("div",null,"停车时长"),w("div",null,"51小时53分钟15秒")],-1)),l[9]||(l[9]=w("div",null,[w("div",null,"优惠券"),w("div",{class:"red"},"1分钟")],-1)),l[10]||(l[10]=w("div",null,[w("div",null,"优惠信息"),w("div",{class:"red"},"xxxx")],-1)),l[11]||(l[11]=w("div",{class:"lot-detail-gap"},null,-1)),w("div",null,[l[2]||(l[2]=w("div",null,"车牌号",-1)),w("div",m2,[Q(Ia,{plate:"苏U77777","plate-type":"b"})])]),w("div",null,[l[3]||(l[3]=w("div",null,"现场照片",-1)),w("div",{onClick:a},"查看")])]),w("div",{class:"lot-actions"},[w("div",{onClick:s},"联系客服")])])]),_:1}))}}),Jw="",xp=at(g2,[["__scopeId","data-v-feee85ac"]]),y2=X({customOptions:{LayoutPage:to},inheritAttrs:!0,__name:"Park",setup(o){return(t,e)=>(I(),ht(to,{class:"park"},{default:st(()=>e[0]||(e[0]=[Bt("Park")])),_:1}))}}),t5="",kp=at(y2,[["__scopeId","data-v-9704593b"]]),wp=Ux({history:nx("/"),routes:[{path:"/view-document/:title/:src",name:"view-document",component:rc},{path:"/",name:"xg",redirect:"/lot"},{path:"/lot",name:"lot",component:xp},{path:"/park",name:"park",component:kp}],scrollBehavior:(o,t,e)=>e||{left:0,top:0}}),v2=wp,za=O("next"),Da=[];wp.beforeEach((o,t,e)=>{const n=Da.length,s=Da.findIndex(r=>r==o.name);n>1&&s>=0&&s<n-1?(za.value="prev",Da.splice(s+1)):(za.value="next",Da.push(o.name)),e()});const b2=X({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=O();let u,f,d=!1;return Fn(()=>{c.value&&(u||(u=ra(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=ha(c.value).getInnerText();Il(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})))}),ye(()=>{}),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(),z("div",Zi({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),[gt(h.$slots,"default")],16))}}),Cp=at(X({customOptions:{Container:pt},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(),ht(pt,{class:"css-transition",type:n.containerType,supportCopyText:n.supportCopyText,effectTriggerTiming:n.effectTriggerTiming,onReady:u,onStart:f,onEnd:d,style:N(l)},{default:st(()=>[w("div",{class:jt(["css-transition-inner",n.name]),style:N({position:"relative",display:"block",width:"100%",height:"100%",cursor:"pointer",...c})},[gt(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
+ `]]]),Ma=at(X({customOptions:{Container:pt},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(_){switch(i=_,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=O(),v=_=>{r.perspective=n.perspective,_.eb.on("animationstart",$=>{s("cssanimationstart",$.animationName)}),_.eb.on("animationend",$=>{s("cssanimationend",$.animationName)})};function k(){p.value.style.animation="none",p.value.offsetHeight,p.value.style.animation=null}const x=()=>{a.animation="none"},m=()=>{k(),a.animation=`${l}ms ${c} ${u}ms ${f} ${d} ${n.fillMode} ${n.playState} ${i}`},g=_=>{_&&h(_),x(),d="normal",m()},y=_=>{_&&h(_),x(),d="reverse",m()},b=()=>{a.animation="none"};return Rt(()=>n.name,()=>{h(n.name)},{immediate:!0}),t({trigger:g,triggerReverse:y,clear:b}),(_,$)=>(I(),ht(pt,{class:"css-animation",type:n.containerType,supportCopyText:n.supportCopyText,effectTriggerTiming:n.effectTriggerTiming,style:N(r),onReady:v,onStart:x,onEnd:m},{default:st(()=>[w("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})},[gt(_.$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
+ `]]]),_2=X({__name:"Icon.ce",props:{icon:{default:"mdi-light:home"},color:{default:Yt("--xg-blue")}},setup(o){const t=o;return(e,n)=>(I(),z("span",{class:"icon",style:N(["color: "+e.color,"display: inline-flex","justify-content: center","align-items: center","cursor: pointer","font-size: 1em"])},[Q(Ot(Sh),{icon:t.icon,color:e.color},null,8,["icon","color"])],4))}}),x2={class:"loading-1"},k2=X({__name:"Loading1.ce",props:{color:{default:Yt("--xg-blue")}},setup(o){const e={backgroundColor:o.color};return(n,s)=>(I(),z("div",x2,[w("div",{class:"rect1",style:e}),w("div",{class:"rect2",style:e}),w("div",{class:"rect3",style:e}),w("div",{class:"rect4",style:e}),w("div",{class:"rect5",style:e})]))}}),Tp=at(k2,[["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"]]),w2={class:"loading-2"},C2=X({__name:"Loading2.ce",props:{color:{default:Yt("--xg-blue")}},setup(o){const e={backgroundColor:o.color};return(n,s)=>(I(),z("div",w2,[w("div",{class:"dot1",style:e}),w("div",{class:"dot2",style:e})]))}}),Ep=at(C2,[["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"]]),T2=X({__name:"Loading3.ce",props:{fromColor:{default:Yt("--xg-blue")},toColor:{default:Yt("--xg-red")}},setup(o){const t=o,e={backgroundColor:t.fromColor,width:"20%"},n=O();return ye(()=>{bo(`
93
+ @keyframes snake {
94
+ 0% {
95
+ opacity: 0.3;
96
+ transform: translateY(0px);
97
+ box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.1);
98
+ }
99
+ 50% {
100
+ opacity: 1;
101
+ transform: translateY(-10px);
102
+ background-color: ${t.toColor};
103
+ box-shadow: 0px 20px 3px rgba(0, 0, 0, 0.05);
104
+ }
105
+ 100% {
106
+ opacity: 0.3;
107
+ transform: translateY(0px);
108
+ box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.1);
109
+ }
110
+ }
111
+ `,n.value)}),ue(()=>{}),(s,r)=>(I(),z("div",{class:"loading-3",ref_key:"loading3",ref:n},[w("div",{class:"dot",style:N({...e,left:"0"})},null,4),w("div",{class:"dot",style:N({...e,left:"20%"})},null,4),w("div",{class:"dot",style:N({...e,left:"40%"})},null,4),w("div",{class:"dot",style:N({...e,left:"60%"})},null,4),w("div",{class:"dot",style:N({...e,left:"80%"})},null,4)],512))}}),Sp=at(T2,[["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"]]),E2={class:"loading-4"},S2=X({__name:"Loading4.ce",props:{color:{default:Yt("--xg-blue")}},setup(o){const e={backgroundColor:o.color};return(n,s)=>(I(),z("div",E2,[w("div",{class:"rect",style:e})]))}}),Op=at(S2,[["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"]]),O2={class:"loading-5"},P2=X({__name:"Loading5.ce",props:{color:{default:Yt("--xg-blue")}},setup(o){const e={backgroundColor:o.color};return(n,s)=>(I(),z("div",O2,[w("div",{class:"cube1",style:e}),w("div",{class:"cube2",style:e})]))}}),Pp=at(P2,[["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"]]),R2={class:"loading-6"},I2=X({__name:"Loading6.ce",props:{color:{default:Yt("--xg-blue")}},setup(o){const e={backgroundColor:o.color};return(n,s)=>(I(),z("div",R2,[w("div",{style:e}),w("div",{style:e}),w("div",{style:e})]))}}),Rp=at(I2,[["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"]]),A2=X({__name:"Loading7.ce",props:{color:{default:Yt("--xg-blue")}},setup(o){const t=o,e=O();return ye(()=>{bo(`
116
+ :root {
117
+ --loading-7-bg-color: ${t.color}
118
+ }
119
+ :host {
120
+ --loading-7-bg-color: ${t.color}
121
+ }
122
+ `,e.value)}),ue(()=>{}),(n,s)=>(I(),z("div",{class:"loading-7",ref_key:"loading7",ref:e},s[0]||(s[0]=[w("div",null,null,-1)]),512))}}),Ip=at(A2,[["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"]]),$2={class:"loading-8"},N2={viewBox:"25 25 50 50"},F2=X({__name:"Loading8.ce",props:{color:{default:Yt("--xg-blue")}},setup(o){const t=o;return(e,n)=>(I(),z("div",$2,[(I(),z("svg",N2,[w("circle",{cx:"50",cy:"50",r:"20",style:N(["stroke: "+t.color])},null,4)]))]))}}),ac=at(F2,[["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"]]),z2={class:"loading-9"},D2=X({__name:"Loading9.ce",props:{color:{default:Yt("--xg-blue")}},setup(o){const e={borderTopColor:o.color};return(n,s)=>(I(),z("div",z2,[w("div",{style:e})]))}}),Ap=at(D2,[["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"]]),M2={class:"loading-10"},L2={viewBox:"0 0 50 50"},B2=X({__name:"Loading10.ce",props:{color:{default:Yt("--xg-blue")}},setup(o){const t=o;return(e,n)=>(I(),z("div",M2,[(I(),z("svg",L2,[n[0]||(n[0]=w("circle",{class:"ring",cx:"25",cy:"25",r:"20",style:N(["stroke: rgba(0,0,0,0.1)"])},null,-1)),w("circle",{class:"ball",cx:"25",cy:"5",r:"3.5",style:N(["fill: "+t.color])},null,4)]))]))}}),$p=at(B2,[["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"]]),V2={class:"loading-11",ref:"loading11"},Y2={class:"container container-1"},X2={class:"container container-2"},Z2={class:"container container-3"},U2=X({__name:"Loading11.ce",props:{color:{default:Yt("--xg-blue")},width:{default:"0.8em"}},setup(o){const t=o;return(e,n)=>(I(),z("div",V2,[w("div",{class:"loading-11-inner",style:N({width:t.width,height:t.width})},[w("div",Y2,[w("div",{class:"dot dot-1",style:N({backgroundColor:t.color})},null,4),w("div",{class:"dot dot-2",style:N({backgroundColor:t.color})},null,4),w("div",{class:"dot dot-3",style:N({backgroundColor:t.color})},null,4),w("div",{class:"dot dot-4",style:N({backgroundColor:t.color})},null,4)]),w("div",X2,[w("div",{class:"dot dot-1",style:N({backgroundColor:t.color})},null,4),w("div",{class:"dot dot-2",style:N({backgroundColor:t.color})},null,4),w("div",{class:"dot dot-3",style:N({backgroundColor:t.color})},null,4),w("div",{class:"dot dot-4",style:N({backgroundColor:t.color})},null,4)]),w("div",Z2,[w("div",{class:"dot dot-1",style:N({backgroundColor:t.color})},null,4),w("div",{class:"dot dot-2",style:N({backgroundColor:t.color})},null,4),w("div",{class:"dot dot-3",style:N({backgroundColor:t.color})},null,4),w("div",{class:"dot dot-4",style:N({backgroundColor:t.color})},null,4)])],4)],512))}}),ic=at(U2,[["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"}},lc=.05,cc=.1,Jn=X({customOptions:{Loading11:xa},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=O(),a=Yt("--xg-blue","#5a82f0"),i=O(n.fontColor),l=O(n.borderColor),c=O(n.bgColor),u=O(i.value),f=O(l.value),d=O(c.value),h=O(n.bgColorStart||""),p=O(n.bgColorEnd||""),v=n.bgColorStart&&n.bgColorEnd;function k(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,v&&(h.value=n.bgColorStart,p.value=n.bgColorEnd,c.value=`linear-gradient(180deg, ${h.value} 0%, ${p.value} 100%)`)}Rt(()=>n.stylePattern,()=>{k(n.stylePattern)},{immediate:!0});const x=O(n.disabled?"0.6":"1"),m=O(n.disabled?"not-allowed":"pointer");let g=!1;const y=()=>{n.disabled||(g=!0,n.stylePattern=="transparent"&&(i.value=Mt.set(u.value).darken(lc).toString()),l.value=Mt.set(f.value).darken(lc).toString(),v?c.value=`linear-gradient(180deg, ${p.value} 0%, ${h.value} 100%)`:c.value=Mt.set(d.value).darken(lc).toString())},b=()=>{n.disabled||(g=!1,i.value=u.value,l.value=f.value,v?c.value=`linear-gradient(180deg, ${h.value} 0%, ${p.value} 100%)`:c.value=d.value)},_=O(!1),Y=ad(()=>{n.disabled||_.value||(n.stylePattern=="transparent"&&(i.value=Mt.set(u.value).darken(cc).toString()),l.value=Mt.set(f.value).darken(cc).toString(),v?c.value=`linear-gradient(180deg, ${h.value} 0%, ${p.value} 100%)`:c.value=Mt.set(d.value).darken(cc).toString(),setTimeout(()=>{g?y():b()},150),s("yz-click"),s("click"),n.asyncClick&&(_.value=!0,n.asyncClick().then(()=>{_.value=!1}).catch(()=>{_.value=!1})))},300);return t({el:r}),(B,D)=>(I(),z("div",{ref_key:"el",ref:r,class:"button",style:N([`opacity: ${x.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: ${m.value}`,"user-select: none","box-sizing: border-box","display: inline-flex","justify-content: center","align-items: center","z-index: 0"]),onMouseover:y,onMouseleave:b,onClick:D[0]||(D[0]=(...ut)=>Ot(Y)&&Ot(Y)(...ut))},[w("label",{class:"label truncate",style:N({padding:"0 "+B.padding,cursor:m.value,display:"inline-flex",justifyContent:"center",alignItems:"center",fontWeight:n.fontWeight||"normal"})},[_.value?(I(),z("div",G2,[Q(xa,{color:i.value},null,8,["color"])])):yt("",!0),gt(B.$slots,"default",{},()=>[B.icon&&B.iconPosition==="left"?(I(),ht(Gn,{key:0,icon:B.icon,color:i.value,style:N({marginRight:"4px",cursor:m.value})},null,8,["icon","color","style"])):yt("",!0),w("span",{style:N({cursor:m.value})},dt(B.label),5),B.icon&&B.iconPosition==="right"?(I(),ht(Gn,{key:1,icon:B.icon,color:i.value,style:N({marginLeft:"4px",cursor:m.value})},null,8,["icon","color","style"])):yt("",!0)])],4)],36))}}),H2=["stroke","fill"],j2=["stroke","fill"],W2=["stroke"],La=at(X({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=O(n.selected),a=O(n.disabled),i=O(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=m=>{m!==r.value&&(r.value=m)},h=()=>{r.value=!r.value};return t({setValue:d,toggleValue:h,getValue:()=>r.value,enable:()=>{a.value=!1},disable:()=>{a.value=!0},setLabel:m=>{i.value=m}}),(m,g)=>(I(),z("div",{class:jt(["boolean-box",Ot(a)?"disabled":""]),onClick:f},[gt(m.$slots,"default",{selected:Ot(r),disabled:Ot(a),label:Ot(i)},()=>[(I(),z("svg",{viewBox:"0 0 24 24",fill:"none",class:"icon",style:N(["width:"+n.boxWidth])},[n.isRounded?yt("",!0):(I(),z("rect",{key:0,x:"0",y:"0",width:"22",height:"22","strke-width":"1",stroke:c(),fill:l()},null,8,H2)),n.isRounded?(I(),z("circle",{key:1,cx:"12",cy:"12",r:"11","strke-width":"1",stroke:c(),fill:l()},null,8,j2)):yt("",!0),Ot(r)?(I(),z("path",{key:2,d:"m7 13l3 3 7-7",stroke:u(),"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,W2)):yt("",!0)],4)),m.label?(I(),z("span",{key:0,style:N(["font-size:"+n.fontSize,"margin-left:"+n.labelPadding])},dt(m.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"]]),q2=["stroke","fill"],K2=["stroke","fill"],Q2=["stroke"],J2=X({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=O(n.selected),a=O(n.disabled),i=O(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=m=>{m!==r.value&&(r.value=m)},h=()=>{r.value=!r.value};return t({setValue:d,toggleValue:h,getValue:()=>r.value,enable:()=>{a.value=!1},disable:()=>{a.value=!0},setLabel:m=>{i.value=m}}),(m,g)=>(I(),z("div",{class:jt(["boolean-box",Ot(a)?"disabled":""]),onClick:f},[gt(m.$slots,"default",{selected:Ot(r),disabled:Ot(a),label:Ot(i)},()=>[(I(),z("svg",{viewBox:"0 0 24 24",fill:"none",class:"icon",style:N(["width:"+n.boxWidth])},[n.isRounded?yt("",!0):(I(),z("rect",{key:0,x:"0",y:"0",width:"22",height:"22","strke-width":"1",stroke:c(),fill:l()},null,8,q2)),n.isRounded?(I(),z("circle",{key:1,cx:"12",cy:"12",r:"11","strke-width":"1",stroke:c(),fill:l()},null,8,K2)):yt("",!0),Ot(r)?(I(),z("path",{key:2,d:"m7 13l3 3 7-7",stroke:u(),"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Q2)):yt("",!0)],4)),m.label?(I(),z("span",{key:0,style:N(["font-size:"+n.fontSize,"margin-left:"+n.labelPadding])},dt(m.label),5)):yt("",!0)],!0)],2))}}),v5="",sn=at(J2,[["__scopeId","data-v-4e49399c"]]),uc=at(X({customOptions:{BooleanBox:sn},__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=O([]),r=(l,c)=>{l&&(s.value[c]=l)};let a=O(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),z(Dt,null,Te(l.options,(u,f)=>(I(),z("div",{class:"radio-group",key:f,style:N(["margin-left:"+(f>0?e.itemPadding:0)])},[Q(sn,{ref_for:!0,ref:d=>r(d,f),selected:Ot(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"]]),fc=at(X({customOptions:{BooleanBox:sn},__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),z(Dt,null,Te(a.options,(l,c)=>(I(),z("div",{class:"checkbox-group",key:c,style:N(["margin-left:"+(c>0?e.itemPadding:0)])},[Q(sn,{selected:Ot(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"]]),Np=at(X({__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=Dn(e.width),s=Dn(e.height),r=Dn(e.padding),a=s.number-r.number*2+s.suffix,i=e.padding,l=n.number-Dn(i).number-Dn(a).number+n.suffix,c=t,u=O(e.init);Rt(u,function(){c("change",u.value)});function f(){u.value=!u.value}return(d,h)=>(I(),z("div",{class:"switch",onClick:f,style:N(["width: "+e.width,"height: "+e.height,"background-color: "+(u.value?e.colorBgOn:e.colorBgOff)])},[w("span",{class:"round",style:N(["width: "+a,"height: "+a,"background-color: "+(u.value?e.colorPrimary:Ot(Mt).set(e.colorPrimary).lighten(.5).toString()),"transform: translate("+(u.value?l:Ot(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"]]),t3={class:"options",style:{border:"1px solid #cccccc"}},e3=["onClick","value"],o3={class:"option-inner"},Fp=at(X({customOptions:{Icon:Gn,Button:re},__name:"Select.ce",props:{options:{},initIndex:{default:0},fontSize:{default:"14px"}},emits:["change"],setup(o,{emit:t}){const e=o,n=t;ye(()=>{bo(`
132
+ :root {
133
+ --select-option-bg-color: #ffffff;
134
+ --select-option-bg-color-hover: #f5f5f5;
135
+ }
136
+ `)});const s=O(!1),r=O(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(),z("div",{class:"select",style:N(["font-size:"+l.fontSize])},[w("div",{onClick:a},[gt(l.$slots,"button",{selectedIndex:r.value},()=>[Q(re,{icon:"carbon:chevron-sort",iconPosition:"right",label:l.options[r.value],style:{width:"100%"}},null,8,["label"])],!0)]),eg(w("div",t3,[(I(!0),z(Dt,null,Te(l.options,(u,f)=>(I(),z("div",{onClick:d=>i(f),class:"option",key:f,value:f,style:N({borderTop:(f==0?"0":"1px")+" solid #cccccc"})},[w("div",o3,[gt(l.$slots,"default",{item:u,index:f},()=>[w("span",null,dt(u),1),f==r.value?(I(),ht(Gn,{key:0,icon:"mingcute:check-fill",class:"icon"})):yt("",!0)],!0)])],12,e3))),128))],512),[[Ff,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"]]),n3=["width","height"],s3=["fill"],Ba=X({__name:"SVGDown",props:{width:{default:"1em"},height:{},color:{default:"#cccccc"}},setup(o){const t=o;return(e,n)=>(I(),z("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"},[w("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,s3)],8,n3))}}),r3={class:"button-default"},a3={class:"truncate"},i3=["onClick","value"],l3=X({customOptions:{SVGDown:Ba},__name:"SelectAbsolute.ce",props:{options:{},initIndex:{default:0},fontSize:{default:"16px"},bgColor:{default:"#ffffff"},hoverColor:{default:"#f5f5f5"},selectedColor:{default:Yt("--xg-blue")},fontColor:{default:"#333333"},duration:{default:300}},emits:["change"],setup(o,{emit:t}){const e=o,n=t;ye(()=>{bo(`
71
138
  :root {
72
139
  --select-option-bg-color: ${e.bgColor};
73
140
  --select-option-bg-color-hover: ${e.hoverColor};
74
141
  }
75
- `)});const r=R(!1),n=R(e.initIndex);Et(n,function(){o("change",n.value,e.options[n.value])});function a(){r.value=!r.value}function i(c){n.value=c,r.value=!1}const l=R("rotate(-180deg)");return Mc(()=>{l.value=r.value?"rotate(0deg)":"rotate(-90deg)"}),(c,u)=>(L(),z("div",{class:"select-absolute",style:A({fontSize:e.fontSize,backgroundColor:e.bgColor})},[E("div",{class:"select-absolute-button",onClick:a},[_t(c.$slots,"button",{selectedIndex:n.value},()=>[E("div",x1,[E("div",w1,yt(c.options[n.value]),1),it(Un,{class:"icon-down",width:"20px",style:A({transition:`transform ${e.duration}ms ease-in-out`,transform:l.value})},null,8,["style"])])],!0)]),E("div",{class:"options",style:A({maxHeight:r.value?"200px":0,transition:`all ${e.duration}ms ease-in-out`,borderTop:`${r.value?1:0}px solid #e6e6e6`})},[(L(!0),z(Vt,null,xe(c.options,(d,h)=>(L(),z("div",{onClick:p=>i(h),class:"option",key:h,value:h},[_t(c.$slots,"default",{item:d,index:h},()=>[E("div",{class:"option-default",style:A({color:n.value==h?e.selectedColor:e.fontColor})},yt(d),5)],!0)],8,k1))),128))],4)],4))}}),nf=nt(C1,[["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)}
76
- `]],["__scopeId","data-v-09b63393"]]),T1=nt(H({__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(s,{emit:t}){const e=s,o=xs(e.width),r=xs(e.height),n=xs(e.padding),a=r.number-n.number*2+r.suffix,i=e.padding,l=o.number-xs(i).number-xs(a).number+o.suffix,c=t,u=R(e.init);Et(u,function(){c("change",u.value)});function d(){u.value=!u.value}return(h,p)=>(L(),z("div",{class:"switch",onClick:d,style:A(["width: "+e.width,"height: "+e.height,"background-color: "+(u.value?e.colorBgOn:e.colorBgOff)])},[E("span",{class:"round",style:A(["width: "+a,"height: "+a,"background-color: "+(u.value?e.colorPrimary:Ct(ge)(e.colorPrimary).lighten(.5).toString()),"transform: translate("+(u.value?l:Ct(i))+", 0)"])},null,4)],4))}}),[["styles",[`.switch[data-v-fedd031c]{position:relative;display:inline-flex;align-items:center;flex-shrink:0;cursor:pointer;border-radius:9999px;box-sizing:border-box;transition:all .2s cubic-bezier(.4,0,.2,1)}.round[data-v-fedd031c]{pointer-events:none;display:inline-block;box-sizing:border-box;border-radius:9999px;transition:all .2s cubic-bezier(.4,0,.2,1)}
77
- `]],["__scopeId","data-v-fedd031c"]]),S1=["stroke","fill"],E1=["stroke","fill"],P1=["stroke"],Qi=nt(H({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(s,{expose:t,emit:e}){const o=s,r=e;let n=R(o.selected),a=R(o.disabled),i=R(o.label);const l=()=>{switch(o.colorChangeMode){case"only-foreground":return a.value?o.colorDisabled:o.colorBackground;case"reverse":default:return a.value?o.colorDisabled:n.value?o.colorForeground:o.colorBackground}},c=()=>a.value?o.colorDisabled:ge(l()).darken(.2).toString(),u=()=>{switch(o.colorChangeMode){case"only-foreground":return a.value?o.colorBackground:o.colorForeground;case"reverse":default:return n.value?o.colorBackground:o.colorForeground}},d=()=>{a.value||(p(),r("change",n.value))},h=v=>{v!==n.value&&(n.value=v)},p=()=>{n.value=!n.value};return t({setValue:h,toggleValue:p,getValue:()=>n.value,enable:()=>{a.value=!1},disable:()=>{a.value=!0},setLabel:v=>{i.value=v}}),(v,g)=>(L(),z("div",{class:oe(["boolean-box",Ct(a)?"disabled":""]),onClick:d},[_t(v.$slots,"default",{selected:Ct(n),disabled:Ct(a),label:Ct(i)},()=>[(L(),z("svg",{viewBox:"0 0 24 24",fill:"none",class:"icon",style:A(["width:"+o.boxWidth])},[o.isRounded?Rt("",!0):(L(),z("rect",{key:0,x:"0",y:"0",width:"22",height:"22","strke-width":"1",stroke:c(),fill:l()},null,8,S1)),o.isRounded?(L(),z("circle",{key:1,cx:"12",cy:"12",r:"11","strke-width":"1",stroke:c(),fill:l()},null,8,E1)):Rt("",!0),Ct(n)?(L(),z("path",{key:2,d:"m7 13l3 3 7-7",stroke:u(),"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,P1)):Rt("",!0)],4)),v.label?(L(),z("span",{key:0,style:A(["font-size:"+o.fontSize,"margin-left:"+o.labelPadding])},yt(v.label),5)):Rt("",!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}
78
- `]],["__scopeId","data-v-79270ea2"]]),O1=["stroke","fill"],R1=["stroke","fill"],I1=["stroke"],F1=H({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(s,{expose:t,emit:e}){const o=s,r=e;let n=R(o.selected),a=R(o.disabled),i=R(o.label);const l=()=>{switch(o.colorChangeMode){case"only-foreground":return a.value?o.colorDisabled:o.colorBackground;case"reverse":default:return a.value?o.colorDisabled:n.value?o.colorForeground:o.colorBackground}},c=()=>a.value?o.colorDisabled:ge(l()).darken(.2).toString(),u=()=>{switch(o.colorChangeMode){case"only-foreground":return a.value?o.colorBackground:o.colorForeground;case"reverse":default:return n.value?o.colorBackground:o.colorForeground}},d=()=>{a.value||(p(),r("change",n.value))},h=v=>{v!==n.value&&(n.value=v)},p=()=>{n.value=!n.value};return t({setValue:h,toggleValue:p,getValue:()=>n.value,enable:()=>{a.value=!1},disable:()=>{a.value=!0},setLabel:v=>{i.value=v}}),(v,g)=>(L(),z("div",{class:oe(["boolean-box",Ct(a)?"disabled":""]),onClick:d},[_t(v.$slots,"default",{selected:Ct(n),disabled:Ct(a),label:Ct(i)},()=>[(L(),z("svg",{viewBox:"0 0 24 24",fill:"none",class:"icon",style:A(["width:"+o.boxWidth])},[o.isRounded?Rt("",!0):(L(),z("rect",{key:0,x:"0",y:"0",width:"22",height:"22","strke-width":"1",stroke:c(),fill:l()},null,8,O1)),o.isRounded?(L(),z("circle",{key:1,cx:"12",cy:"12",r:"11","strke-width":"1",stroke:c(),fill:l()},null,8,R1)):Rt("",!0),Ct(n)?(L(),z("path",{key:2,d:"m7 13l3 3 7-7",stroke:u(),"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,I1)):Rt("",!0)],4)),v.label?(L(),z("span",{key:0,style:A(["font-size:"+o.fontSize,"margin-left:"+o.labelPadding])},yt(v.label),5)):Rt("",!0)],!0)],2))}}),s2="",so=nt(F1,[["__scopeId","data-v-3df94794"]]),Ki=nt(H({customOptions:{BooleanBox:so},__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(s,{emit:t}){const e=s,o=t,r=R([]),n=(l,c)=>{l&&(r.value[c]=l)};let a=R(e.initIndex);const i=(l,c)=>{a.value!==l?(r.value[a.value].toggleValue(),c&&(a.value=l,o("change",e.options[a.value]))):c||r.value[a.value].setValue(!0)};return(l,c)=>(L(!0),z(Vt,null,xe(l.options,(u,d)=>(L(),z("div",{class:"radio-group",key:d,style:A(["margin-left:"+(d>0?e.itemPadding:0)])},[it(so,{ref_for:!0,ref:h=>n(h,d),selected:Ct(a)==d,disabled:l.disabledIndexs&&l.disabledIndexs.findIndex(h=>h===d)>=0,isRounded:e.isRounded,label:u,labelPadding:e.labelPadding,colorBackground:e.colorBackground,colorForeground:e.colorForeground,colorDisabled:e.colorDisabled,colorChangeMode:e.colorChangeMode,boxWidth:e.boxWidth,fontSize:e.fontSize,onChange:h=>i(d,h)},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}
79
- `]],["__scopeId","data-v-4793f58f"]]),Ji=nt(H({customOptions:{BooleanBox:so},__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(s,{emit:t}){const e=s,o=t;let r=Jt(e.initIndexs??[]);const n=(a,i)=>{const l=r.findIndex(u=>u===a);let c=!1;l>=0&&!i?(r.splice(l,1),c=!0):l<0&&i&&(r.push(a),c=!0),c&&o("change",r.map(u=>e.options[u]))};return(a,i)=>(L(!0),z(Vt,null,xe(a.options,(l,c)=>(L(),z("div",{class:"checkbox-group",key:c,style:A(["margin-left:"+(c>0?e.itemPadding:0)])},[it(so,{selected:Ct(r).findIndex(u=>u===c)>=0,disabled:a.disabledIndexs&&a.disabledIndexs.findIndex(u=>u===c)>=0,isRounded:e.isRounded,label:l,labelPadding:e.labelPadding,colorBackground:e.colorBackground,colorForeground:e.colorForeground,colorDisabled:e.colorDisabled,colorChangeMode:e.colorChangeMode,boxWidth:e.boxWidth,fontSize:e.fontSize,onChange:u=>n(c,u)},null,8,["selected","disabled","isRounded","label","labelPadding","colorBackground","colorForeground","colorDisabled","colorChangeMode","boxWidth","fontSize","onChange"])],4))),128))}}),[["styles",[`.checkbox-group[data-v-f267549e]{position:relative;display:inline-flex;justify-content:flex-start;align-items:center}
80
- `]],["__scopeId","data-v-f267549e"]]),D1=["width","height"],$1=["fill"],L1=["fill"],A1=["fill"],M1=H({__name:"SVGPrompt",props:{width:{default:"1.5em"},height:{},color:{default:vt.colorRed}},setup(s){const t=s;return(e,o)=>(L(),z("svg",{viewBox:"0 0 24 24",width:t.width,height:t.height??t.width,fill:"none",xmlns:"http://www.w3.org/2000/svg"},[E("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4 12C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12ZM19 12C19 15.866 15.866 19 12 19C8.13401 19 5 15.866 5 12C5 8.13401 8.13401 5 12 5C15.866 5 19 8.13401 19 12Z",fill:t.color},null,8,$1),E("path",{d:"M12.5332 15.2001C12.5332 15.4946 12.2944 15.7334 11.9999 15.7334C11.7053 15.7334 11.4665 15.4946 11.4665 15.2001L11.4665 10.9334C11.4665 10.6388 11.7053 10.4001 11.9999 10.4001C12.2944 10.4001 12.5332 10.6388 12.5332 10.9334L12.5332 15.2001Z",fill:t.color},null,8,L1),E("path",{d:"M12.5332 8.80006C12.5332 9.09462 12.2944 9.3334 11.9999 9.3334C11.7053 9.3334 11.4665 9.09462 11.4665 8.80006C11.4665 8.50551 11.7053 8.26673 11.9999 8.26673C12.2944 8.26673 12.5332 8.50551 12.5332 8.80006Z",fill:t.color},null,8,A1)],8,D1))}}),i2="",af=nt(M1,[["__scopeId","data-v-41294f60"]]),N1={class:"input"},z1={class:"ellipsis"},V1={class:"input-wrap"},B1=["type","required"],Y1={key:0,style:{paddingLeft:"0.5em"}},X1={key:1},G1=nt(H({customOptions:{SVGPrompt:af},inheritAttrs:!0,__name:"Input.ce",props:{placeholder:{default:""},placeholderType:{default:"normal"},height:{default:"44px"},type:{default:"text"},required:{type:Boolean,default:!1},focusColor:{default:"#5a82f0"},errorColor:{default:"#ff5050"},borderColor:{default:"#cccccc"},placeholderColor:{default:"#8f8f8f"},fontColor:{default:"#333333"},borderRadius:{default:"4px"},duration:{default:500},validator:{},defaultValue:{}},emits:["focus","yz-focus","blur","yz-blur","input","yz-input"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=o.placeholder.split(""),a=o.duration/n.length,i=R(),l=R(!1),c=R(""),u=R(o.defaultValue||"");function d(){l.value=!0,r("focus"),r("yz-focus")}function h(){l.value=!1,r("blur"),r("yz-blur"),f()}function p(b){u.value=b.target.value,f()}function f(){if(u.value&&o.validator){const b=o.validator(u.value);if(!b.valid){c.value=b.errors[0];return}}c.value="",u.value&&(r("input",u.value),r("yz-input",u.value))}return es(()=>{o.defaultValue&&(i.value.value=o.defaultValue)}),re(()=>{}),t({}),(b,w)=>(L(),z("div",N1,[c.value?(L(),z("div",{key:0,class:"error-text",style:A({color:o.errorColor})},[it(af,{class:"icon"}),E("div",z1,yt(c.value),1)],4)):Rt("",!0),E("div",V1,[E("input",{ref_key:"inputEl",ref:i,class:oe(["input-raw",l.value||u.value?"focus":""]),type:o.type,required:o.required,autocomplete:"off",style:A({height:o.height,lineHeight:o.height,borderRadius:o.borderRadius,color:o.fontColor,borderColor:c.value?o.errorColor:l.value?o.focusColor:u.value||o.placeholderType=="normal"?o.borderColor:"transparent",transition:o.duration+"ms"}),onFocus:d,onBlur:h,onInput:p,onChange:p},null,46,B1),E("div",{class:"placeholder",style:A({lineHeight:l.value||u.value?1.3:o.height,color:o.placeholderColor,transition:o.placeholderType=="normal"?"":o.duration+"ms",transform:o.placeholderType=="normal"?"":l.value||u.value?"translateY(-100%)":"none"})},[!c.value&&o.placeholderType=="normal"&&!l.value&&!u.value?(L(),z("div",Y1,yt(o.placeholder),1)):Rt("",!0),!c.value&&o.placeholderType=="jump"?(L(),z("div",X1,yt(o.placeholder),1)):Rt("",!0),!c.value&&o.placeholderType=="jump-each"?(L(!0),z(Vt,{key:2},xe(Ct(n),(x,v)=>(L(),z("span",{key:v,style:A({transition:o.duration+"ms cubic-bezier(0.68, -0.55, 0.265, 1.55)",transitionDelay:`${a*v}ms`,transform:l.value||u.value?`translateX(${100*v}%) translateY(-100%)`:`translateX(${100*v}%)`}),class:"single"},yt(x),5))),128)):Rt("",!0)],4),E("div",{class:"background",style:A({transition:o.duration+"ms",backgroundColor:o.placeholderType=="normal"||l.value||u.value?"transparent":o.borderColor,height:o.placeholderType=="normal"||l.value||u.value?o.height:"2px",borderRadius:o.borderRadius})},null,4)])]))}}),[["styles",[`.input[data-v-812cd68c]{position:relative;box-sizing:border-box;font-size:1em}.error-text[data-v-812cd68c]{position:absolute;top:0;left:0;width:100%;font-size:.75em;display:flex;align-items:center;transform:translateY(-100%)}.icon[data-v-812cd68c]{flex:0 0 auto}.ellipsis[data-v-812cd68c]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal;word-break:break-all}.input-wrap[data-v-812cd68c]{position:relative;box-sizing:border-box}.input-raw[data-v-812cd68c]{display:block;box-sizing:border-box;position:relative;width:100%;background:transparent;outline:none;box-shadow:none;border:1px solid transparent;padding:.6em;z-index:10}.background[data-v-812cd68c]{position:absolute;left:0;bottom:0;width:100%;pointer-events:none;z-index:9}.placeholder[data-v-812cd68c]{position:absolute;left:0;top:0;width:100%;pointer-events:none}.focus~.placeholder[data-v-812cd68c]{font-size:.75em}.placeholder>div[data-v-812cd68c]{width:100%;display:flex;justify-content:flex-start;align-items:center}.placeholder>span.single[data-v-812cd68c]{position:absolute;left:0;top:0}
81
- `]],["__scopeId","data-v-812cd68c"]]),U1=["max","min","step","value","autofocus"],j1={key:0,class:"label"},tl=nt(H({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(s,{expose:t,emit:e}){const o=s,r=e,n=R(o.defaultValue),a=()=>Te((n.value-o.min)/(o.max-o.min),4)*100,i=R(a());function l(d){n.value=Te(d.target.value,2),i.value=a(),r("change",n.value)}const c=`
142
+ `)});const s=O(!1),r=O(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=O("rotate(-180deg)");return Fn(()=>{l.value=s.value?"rotate(0deg)":"rotate(-90deg)"}),(c,u)=>(I(),z("div",{class:"select-absolute",style:N({fontSize:e.fontSize,backgroundColor:e.bgColor})},[w("div",{class:"select-absolute-button",onClick:a},[gt(c.$slots,"button",{selectedIndex:r.value},()=>[w("div",r3,[w("div",a3,dt(c.options[r.value]),1),Q(Ba,{class:"icon-down",width:"20px",style:N({transition:`transform ${e.duration}ms ease-in-out`,transform:l.value})},null,8,["style"])])],!0)]),w("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),z(Dt,null,Te(c.options,(f,d)=>(I(),z("div",{onClick:h=>i(d),class:"option",key:d,value:d},[gt(c.$slots,"default",{item:f,index:d},()=>[w("div",{class:"option-default",style:N({color:r.value==d?e.selectedColor:e.fontColor})},dt(f),5)],!0)],8,i3))),128))],4)],4))}}),zp=at(l3,[["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"]]),c3={viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",style:{transformOrigin:"center",display:"inline-block",width:"100%",height:"100%"}},u3=["fill"],Dp=X({__name:"SVGDelete",props:{color:{default:Yt("--xg-blue","#5a82f0")}},setup(o){const t=o;return(e,n)=>(I(),z("svg",c3,[w("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,u3)]))}}),f3={style:{width:"38%"}},d3=X({customOptions:{SVGDelete:Dp},inheritAttrs:!0,__name:"SlideLeftItem.ce",props:{deleteColor:{default:Yt("--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=O(!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(),ht(pt,{onReady:l,class:"slide-left-item",style:N({borderRadius:n.borderRadius})},{default:st(()=>[w("div",{class:"content",style:N({transition:"all ease-in "+n.transtionDuration,transform:r.value?"translate(-"+n.deleteWidth+", 0)":"translate(0, 0)"})},[gt(c.$slots,"default",{},void 0,!0)],4),w("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)"})},[w("div",f3,[Q(Dp,{color:a.value},null,8,["color"])])],4)]),_:3},8,["style"]))}}),Mp=at(d3,[["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"]]),h3={class:"status-processing",style:{position:"relative",display:"inline-block",width:"12px",height:"12px",borderRadius:"50%",overflow:"hidden"}},p3=X({customOptions:{CSSAnimation:Qn},__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(),z("div",h3,[r.status==="processing"?(I(),ht(Qn,{key:0,name:"statusProcessing",containerType:"full",effectTriggerTiming:"immediate"},{default:st(()=>[w("div",{style:N({width:"100%",height:"100%",borderRadius:"50%",backgroundColor:Ot(s)})},null,4)]),_:1})):yt("",!0),w("div",{style:N({position:"absolute",top:"3px",left:"3px",width:"6px",height:"6px",borderRadius:"50%",backgroundColor:Ot(s)})},null,4)]))}}),m3={class:"icon"},Lp=at(X({customOptions:{SVGWarn:tn},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(),z("div",{class:"text",style:N({color:e.color})},[w("div",m3,[gt(r.$slots,"icon",{},()=>[s.value?(I(),ht(tn,{key:0})):yt("",!0)],!0)]),w("div",{class:"ellipsis",style:N({marginLeft:n.value?"0.3em":"0"})},[gt(r.$slots,"default",{},()=>[Bt(dt(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"]]),g3={class:"input"},y3={key:0,class:"error-prompt-top"},v3={key:0,style:{paddingLeft:"0.5em"}},b3={key:1},_3=["type","required"],x3={key:1,class:"error-prompt-bottom"},Bp=at(X({customOptions:{Text:Zl},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=O(),d=O(!1),h=O(""),p=O(n.defaultValue||"");function v(){d.value=!0,s("focus"),s("yz-focus")}function k(){d.value=!1,s("blur"),s("yz-blur"),m()}function x(g){p.value=g.target.value,m()}function m(){if(p.value&&n.validator){const g=n.validator(p.value);if(!g.valid){h.value=g.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 ye(()=>{n.defaultValue&&(f.value.value=n.defaultValue)}),ue(()=>{}),t({}),(g,y)=>(I(),z("div",g3,[n.showError&&h.value&&!a.value?(I(),z("div",y3,[Q(Zl,{type:"warn",color:n.errorColor},{default:st(()=>[Bt(dt(h.value),1)]),_:1},8,["color"])])):yt("",!0),w("div",{class:jt(["input-wrap",d.value||p.value?"focus":""])},[w("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(),z("div",v3,dt(n.placeholder),1)):yt("",!0),!h.value&&i.value?(I(),z("div",b3,dt(n.placeholder),1)):yt("",!0),!h.value&&l.value?(I(!0),z(Dt,{key:2},Te(Ot(c),(b,_)=>(I(),z("span",{key:_,style:N({transition:n.duration+"ms cubic-bezier(0.68, -0.55, 0.265, 1.55)",transitionDelay:`${u*_}ms`,transform:d.value||p.value?`translateX(${100*_}%) translateY(-100%)`:`translateX(${100*_}%)`}),class:"single"},dt(b),5))),128)):yt("",!0)],4),w("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:v,onBlur:k,onInput:x,onChange:x},null,44,_3),a.value?yt("",!0):(I(),z("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(),z("div",x3,[Q(Zl,{type:"warn",color:n.errorColor},{default:st(()=>[Bt(dt(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"]]),k3=["max","min","step","value","autofocus"],w3={key:0,class:"label"},dc=at(X({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=O(n.defaultValue),a=()=>Re((r.value-n.min)/(n.max-n.min),4)*100,i=O(a());function l(f){r.value=Re(f.target.value,2),i.value=a(),s("change",r.value)}const c=`
147
+ :root {
148
+ --input-range-color: ${n.color};
149
+ --input-range-thumb-size: ${n.handleSize};
150
+ --input-range-track-size: ${n.barHeight};
151
+ }
152
+ :host {
153
+ --input-range-color: ${n.color};
154
+ --input-range-thumb-size: ${n.handleSize};
155
+ --input-range-track-size: ${n.barHeight};
156
+ }
157
+ `,u=O();return Rt(u,()=>{u.value&&bo(c,u.value)}),ue(()=>{}),t({}),(f,d)=>(I(),z("div",{class:"input-range",ref_key:"inputRangeContainer",ref:u},[w("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,k3),gt(f.$slots,"default",{value:r.value},()=>[f.showValue?(I(),z("label",w3,dt(r.value)+dt(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"]]),C3={key:0,class:"label"},Vp=at(X({customOptions:{Container:pt},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=O(n.defaultValue),a=()=>Re(h1(n.min,n.max,n.step)(r.value),2),i=()=>Re((r.value-n.min)/(n.max-n.min),4)*100;r.value=a();const l=O(i()),c=O();function u(d){const h=async p=>{const v=await c.value.getRect();r.value=Re(d1(p,v.left,v.right,n.min,n.max),2),r.value=a(),l.value=i(),s("change",r.value)};Cn(d,{start:p=>{h(p.clientX)},move:p=>{h(p.clientX)}})}const f=O();return ye(()=>{bo(`
82
159
  :root {
83
- --input-range-color: ${o.color};
84
- --input-range-thumb-size: ${o.handleSize};
85
- --input-range-track-size: ${o.barHeight};
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()};
86
162
  }
87
163
  :host {
88
- --input-range-color: ${o.color};
89
- --input-range-thumb-size: ${o.handleSize};
90
- --input-range-track-size: ${o.barHeight};
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()};
91
166
  }
92
- `,u=R();return Et(u,()=>{u.value&&us(c,u.value)}),re(()=>{}),t({}),(d,h)=>(L(),z("div",{class:"input-range",ref_key:"inputRangeContainer",ref:u},[E("input",{type:"range",max:o.max,min:o.min,step:o.step,value:n.value,autofocus:o.autofocus,onInput:l,style:A({background:`linear-gradient(to right, ${o.color} 0%, ${o.color} ${i.value}%, ${o.barColor} ${i.value}%, ${o.barColor})`})},null,44,U1),_t(d.$slots,"default",{value:n.value},()=>[d.showValue?(L(),z("label",j1,yt(n.value)+yt(o.unit),1)):Rt("",!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}
93
- `]],["__scopeId","data-v-d547a5f1"]]),H1=["width","height"],W1=H({__name:"Canvas",props:{bgColor:{default:"rgba(255,255,255,0)"},enableCustomContext:{type:Boolean,default:!1}},emits:["ready","resize"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=R(),a=R(),i=R(0),l=R(0);let c;Et(n,()=>{n.value&&(c=new ns(n.value,!1),c.on("resize",(b,w)=>{const x=zo();i.value=Math.min(b,x.width),l.value=Math.min(w,x.height),p()}),c.start())}),Et(a,()=>{a.value&&p()});let u,d,h;function p(){u||!a.value||!i.value||!l.value||(u=new ns(a.value,!1),u.on("resize",(b,w)=>{r("resize",b,w),d=new qi(u,o.enableCustomContext),h?.(d),r("ready",d)}),u.start())}function f(){return new Promise(b=>{if(d)return b(d);h=b})}return re(()=>{u?.destroy(),c?.destroy()}),t({getCanvasElement:()=>a.value,getCanvas:f}),(b,w)=>(L(),z("div",{class:"canvas",ref_key:"canvasOutterRef",ref:n},[E("canvas",{ref_key:"canvasRef",ref:a,width:i.value,height:l.value,style:A({backgroundColor:o.bgColor})},null,12,H1)],512))}}),f2="",je=nt(W1,[["__scopeId","data-v-1fc03287"]]),Z1={class:"input-range-canvas"},q1={key:0,class:"label"},lf=nt(H({customOptions:{Canvas:je},inheritAttrs:!0,__name:"InputRangeCanvas.ce",props:{min:{default:0},max:{default:100},step:{default:1},defaultValue:{default:0},unit:{default:""},showValue:{type:Boolean,default:!0},color:{default:"#5a82f0"},barColor:{default:"#f5f5f5"},handleSize:{default:"20px"},barHeight:{default:"4px"}},emits:["change"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=R(o.defaultValue),a=p=>{n.value=p,r("change",p)},i=xs(o.handleSize,20).number/2,l=xs(o.barHeight,4).number;let c;const u=()=>{c=new Hd({x:0,y:i-l/2,min:o.min,max:o.max,step:o.step,defaultValue:n.value,barWidth:d,handleRadius:i,barHeight:l}),c.on("change",a)};let d=0;const h=R();return Et(h,()=>{h.value&&h.value.getCanvas().then(p=>{d=p.app.width,u(),p.app.on("resize",f=>{d=f,u()}),ce(()=>(p.ctx.clearRect(),p.draw(c),!0))})}),re(()=>{}),t({}),(p,f)=>(L(),z("div",Z1,[E("div",{class:"input",style:A({height:o.handleSize})},[it(je,{ref_key:"canvasRef",ref:h},null,512)],4),_t(p.$slots,"default",{value:n.value},()=>[p.showValue?(L(),z("div",q1,yt(n.value)+yt(o.unit),1)):Rt("",!0)],!0)]))}}),[["styles",[`.input-range-canvas[data-v-14730339]{position:relative;box-sizing:border-box;font-size:1em;display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;overflow:hidden}.input[data-v-14730339]{flex:1 1 auto;overflow:hidden}.label[data-v-14730339]{min-width:3em;text-align:right}
94
- `]],["__scopeId","data-v-14730339"]]),kt=H({customOptions:{},inheritAttrs:!0,__name:"Container",props:{type:{default:"block"},effectTriggerTiming:{default:"manual"},supportCopyText:{type:Boolean,default:!1},styleSheets:{}},emits:["ready","resize","start","end"],setup(s,{expose:t,emit:e}){const o=s,r=e;let n="start";const a=()=>{n="start",r("start")},i=()=>{n="end",r("end")},l=()=>{n=="start"?i():a()},c=R();let u=!1,d,h;es(()=>{if(o.styleSheets){let b="";for(let w in o.styleSheets)b+=`${w}: ${o.styleSheets[w]};`;us(`
95
- :root {
96
- ${b}
97
- }
98
- :host {
99
- ${b}
100
- }
101
- `,c.value)}d=new ns(c.value,!1),d.on("resize",(b,w)=>{r("resize",b,w,c.value.getBoundingClientRect()),h?.(d),u||(u=!0,o.effectTriggerTiming!=="manual"&&a(),r("ready",d),o.effectTriggerTiming=="immediate"&&l())}),d.on("mouseEnter",()=>{o.effectTriggerTiming=="mouseMove"&&l()}),d.on("mouseLeave",()=>{o.effectTriggerTiming=="mouseMove"&&l()}),d.on("tap",()=>{o.effectTriggerTiming=="click"&&l(),o.supportCopyText&&Wi(xo(c.value).getInnerText()).then(()=>{}).catch(b=>{})}),d.start()});const p=()=>new Promise(b=>{if(d)return b(d);h=b}),f=async()=>(await p(),c.value.getBoundingClientRect());return re(()=>{d?.destroy()}),t({getElement:()=>c.value,getApp:p,getSize:f}),(b,w)=>(L(),z("div",{class:oe(["container",[o.type]]),ref_key:"containerRef",ref:c,style:A({position:"relative",boxSizing:"border-box",display:o.type=="shrink"?"inline-block":"block",width:o.type=="full"?"100%":"auto",height:o.type=="full"?"100%":"auto"})},[_t(b.$slots,"default")],6))}}),Q1={class:"input-range-box"},K1={key:0,class:"label"},J1=H({customOptions:{Container:kt},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:to.inputColor},barColor:{default:to.numberColor},barHeight:{default:"20px"}},emits:["change"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=R(o.defaultValue),a=()=>Te(Du(o.min,o.max,o.step)(n.value),2),i=()=>Te((n.value-o.min)/(o.max-o.min),4)*100;n.value=a();const l=R(i()),c={"--input-range-box-background-hover-color":ge(o.bgColor).lighten(.05).toString(),"--input-range-box-foreground-hover-color":ge(o.barColor).lighten(.05).toString()},u=R();function d(h){const p=async f=>{const b=await u.value.getSize();n.value=Te(O0(f,b.left,b.right,o.min,o.max),2),n.value=a(),l.value=i(),r("change",n.value)};h.captureDrag({start:f=>{p(f.clientX)},move:f=>{p(f.clientX)}})}return re(()=>{}),t({}),(h,p)=>(L(),z("div",Q1,[E("div",{class:"box",style:A({height:o.barHeight,cursor:"ew-resize"})},[it(kt,{ref_key:"boxContainerRef",ref:u,type:"full",styleSheets:c,onReady:d},{default:bt(()=>[E("div",{class:"background",style:A({backgroundColor:o.bgColor,width:"100%",height:"100%"})},null,4),E("div",{class:"foreground",style:A({backgroundColor:o.barColor,width:l.value+"%",height:"100%"})},null,4)]),_:1},512)],4),_t(h.$slots,"default",{value:n.value},()=>[h.showValue?(L(),z("label",K1,yt(n.value)+yt(o.unit),1)):Rt("",!0)],!0)]))}}),cf=nt(J1,[["styles",[`.input-range-box[data-v-b07b3c9b]{position:relative;box-sizing:border-box;font-size:1em;display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;overflow:hidden}.label[data-v-b07b3c9b]{min-width:3em;text-align:right}.box[data-v-b07b3c9b]{flex:1 1 auto;position:relative}.foreground[data-v-b07b3c9b]{position:absolute;left:0;top:0}.box:hover .background[data-v-b07b3c9b]{background-color:var(--input-range-box-background-hover-color)!important}.box:hover .foreground[data-v-b07b3c9b]{background-color:var(--input-range-box-foreground-hover-color)!important}
102
- `]],["__scopeId","data-v-b07b3c9b"]]),Yo=H({customOptions:{Container:kt},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(s,{expose:t,emit:e}){const o=s,r=e,n=Jt({}),a=Jt({});let i=o.name,l=o.duration,c=o.timingFunction,u=o.delay,d=o.repeat,h=o.direction;function p(k){switch(i=k,i){case"superRainbow":l=o.duration||15e3;break;case"heartBeat":l=o.duration||1300;break;case"statusProcessing":l=o.duration||1200;break;case"rotateFall":case"rotateSlideOut":case"rotateSlideIn":l=o.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=o.duration||800;break;case"bounceIn":case"bounceOut":case"flipOutX":case"hinge":l=o.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=o.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=o.duration||600;break;default:l=o.duration||500;break}switch(i){case"superRainbow":c=o.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=o.timingFunction||"ease-in";break;case"lightSpeedInLeft":case"lightSpeedInRight":case"flipInLeft":case"flipInRight":case"flipInBottom":case"flipInTop":case"rotateInNewspaper":case"rotateSidesIn":c=o.timingFunction||"ease-out";break;case"pulse":case"headShake":case"heartBeat":case"statusProcessing":c=o.timingFunction||"ease-in-out";break;default:c=o.timingFunction||"ease";break}switch(i){default:u=o.delay||0;break}switch(i){case"superRainbow":case"statusProcessing":d=o.repeat||"infinite";break;default:d=o.repeat||1;break}switch(i){case"superRainbow":h=o.direction||"alternate";break;default:h=o.direction||"normal";break}switch(i){case"hinge":case"rotateFall":a.transformOrigin="left top";break;case"zoomOutLeft":case"rotateRightSideFirst":case"rotatePushLeft":case"rotatePullLeft":case"rotateFoldRight":case"rotateUnfoldRight":case"rotateRoomLeftIn":case"rotateRoomRightOut":case"rotateCubeLeftIn":case"rotateCubeRightOut":a.transformOrigin="left center";break;case"rotateInUpLeft":case"rotateInDownLeft":case"rotateOutUpLeft":case"rotateOutDownLeft":a.transformOrigin="left bottom";break;case"swing":case"zoomOutUp":case"rotateBottomSideFirst":case"rotatePushTop":case"rotatePullTop":case"rotateFoldBottom":case"rotateUnfoldBottom":case"rotateRoomTopIn":case"rotateRoomBottomOut":case"rotateCubeTopIn":case"rotateCubeBottomOut":a.transformOrigin="center top";break;case"bounce":case"zoomOutDown":case"rotateTopSideFirst":case"rotatePushBottom":case"rotatePullBottom":case"rotateFoldTop":case"rotateUnfoldTop":case"rotateRoomTopOut":case"rotateRoomBottomIn":case"rotateCubeTopOut":case"rotateCubeBottomIn":a.transformOrigin="center bottom";break;case"zoomOutRight":case"rotateLeftSideFirst":case"rotatePushRight":case"rotatePullRight":case"rotateFoldLeft":case"rotateUnfoldLeft":case"rotateRoomLeftOut":case"rotateRoomRightIn":case"rotateCubeLeftOut":case"rotateCubeRightIn":a.transformOrigin="right center";break;case"rotateInUpRight":case"rotateInDownRight":case"rotateOutUpRight":case"rotateOutDownRight":a.transformOrigin="right bottom";break;default:delete a.transformOrigin;break}switch(i){case"jelly":case"bounce":case"flash":case"pulse":case"rubberBand":case"shakeX":case"shakeY":case"headShake":case"swing":case"tada":case"wobble":case"jello":case"heartBeat":case"bounceIn":case"fadeIn":case"fadeOut":case"flip":case"flipInX":case"flipInY":case"flipOutX":case"flipOutY":case"hinge":case"jackInTheBox":n.overflow="visible";break;default:n.overflow="hidden";break}switch(i){case"flip":case"flipInX":case"flipInY":case"flipOutX":case"flipOutY":a.backfaceVisibility="visible";break;default:delete a.backfaceVisibility;break}}const f=R(),b=k=>{n.perspective=o.perspective,k.on("animationstart",Z=>{r("cssanimationstart",Z.animationName)}),k.on("animationend",Z=>{r("cssanimationend",Z.animationName)})};function w(){f.value.style.animation="none",f.value.offsetHeight,f.value.style.animation=null}const x=()=>{a.animation="none"},v=()=>{w(),a.animation=`${l}ms ${c} ${u}ms ${d} ${h} ${o.fillMode} ${o.playState} ${i}`},g=k=>{k&&p(k),x(),h="normal",v()},m=k=>{k&&p(k),x(),h="reverse",v()},_=()=>{a.animation="none"};return Et(()=>o.name,()=>{p(o.name)},{immediate:!0}),t({trigger:g,triggerReverse:m,clear:_}),(k,Z)=>(L(),$t(kt,{class:"css-animation",type:o.containerType,supportCopyText:o.supportCopyText,effectTriggerTiming:o.effectTriggerTiming,style:A(n),onReady:b,onStart:x,onEnd:v},{default:bt(()=>[E("div",{class:"css-animation-inner",ref_key:"animationRef",ref:f,style:A({position:"relative",display:"block",width:"100%",height:"100%",cursor:"pointer",transformStyle:"preserve-3d",...a})},[_t(k.$slots,"default")],4)]),_:3},8,["type","supportCopyText","effectTriggerTiming","style"]))}}),g2="",tv={class:"status-processing",style:{position:"relative",display:"inline-block",width:"12px",height:"12px",borderRadius:"50%",overflow:"hidden"}},uf=H({customOptions:{CSSAnimation:Yo},__name:"Status.ce",props:{status:{default:"processing"},color:{}},setup(s,{expose:t,emit:e}){const o=s;let r="";switch(o.status){case"wait":r="#d9d9d9";break;case"success":r="#52c41a";break;case"error":r="#ff4d4f";break;case"processing":default:r="#1677ff";break}return o.color&&(r=o.color),t({}),(n,a)=>(L(),z("div",tv,[n.status==="processing"?(L(),$t(Yo,{key:0,name:"statusProcessing",containerType:"full",effectTriggerTiming:"immediate"},{default:bt(()=>[E("div",{style:A({width:"100%",height:"100%",borderRadius:"50%",backgroundColor:Ct(r)})},null,4)]),_:1})):Rt("",!0),E("div",{style:A({position:"absolute",top:"3px",left:"3px",width:"6px",height:"6px",borderRadius:"50%",backgroundColor:Ct(r)})},null,4)]))}}),ev=nt(H({customOptions:{},inheritAttrs:!0,__name:"InputFileDrop.ce",props:{placeholder:{default:"drop file"}},emits:["yz-drop"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=R(),a=R(!1);function i(){a.value=!0}function l(){a.value=!1}function c(d){d.preventDefault()}function u(d){d.preventDefault(),r("yz-drop",d.dataTransfer.files),l()}return re(()=>{}),t({}),(d,h)=>(L(),z("div",{class:oe(["input-file-drop",[a.value?"over":""]]),ref_key:"zone",ref:n,onDragenter:i,onDragleave:l,onDragover:c,onDrop:u},[_t(d.$slots,"default",{},()=>[Ht(yt(o.placeholder),1)],!0)],34))}}),[["styles",[`.input-file-drop[data-v-141eb7ce]{width:100%;height:100%;display:flex;justify-content:center;align-items:center;border:2px dashed #ccc;color:#ccc}.input-file-drop.over[data-v-141eb7ce]{border-color:#000;color:#000}
103
- `]],["__scopeId","data-v-141eb7ce"]]),sv=["width","height"],ov=["fill"],rv=H({__name:"SVGDelete",props:{width:{default:"16px"},height:{},color:{default:vt.colorPrimary}},setup(s){const t=s;return(e,o)=>(L(),z("svg",{viewBox:"0 0 24 24",width:t.width,height:t.height??t.width,xmlns:"http://www.w3.org/2000/svg"},[E("path",{fill:t.color,d:"M7 21q-.825 0-1.412-.587T5 19V6H4V4h5V3h6v1h5v2h-1v13q0 .825-.587 1.413T17 21zM17 6H7v13h10zM9 17h2V8H9zm4 0h2V8h-2zM7 6v13z"},null,8,ov)],8,sv))}}),b2="",df=nt(rv,[["__scopeId","data-v-4747d4a7"]]),nv=H({customOptions:{SVGDelete:df},inheritAttrs:!0,__name:"SlideLeftItem.ce",props:{bgColor:{default:vt.colorGrayFF},deleteColor:{default:vt.colorRed},fontColor:{default:vt.colorGrayFF},borderRadius:{default:"4px"},deleteWidth:{default:"44px"},transtionDuration:{default:"150ms"}},emits:["delete"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=R(!1),a=()=>{r("delete"),n.value=!1};let i;const l=R();return Et(l,()=>{l.value&&(i=new ns(l.value),i.on("panLeft",()=>{n.value=!0}),i.on("panRight",()=>{n.value=!1}),i.on("tapOutSide",()=>{n.value=!1}))}),re(()=>{i?.destroy()}),t({}),(c,u)=>(L(),z("div",{class:"parent",ref_key:"item",ref:l,style:A({backgroundColor:o.bgColor,borderRadius:o.borderRadius})},[E("div",{class:"content",style:A({transition:"all ease-in "+o.transtionDuration,transform:n.value?"translate(-"+o.deleteWidth+", 0)":"translate(0, 0)"})},[_t(c.$slots,"default",{},void 0,!0)],4),E("div",{class:"delete",onClick:a,style:A({backgroundColor:o.deleteColor,width:o.deleteWidth,transition:"all ease-in "+o.transtionDuration,transform:n.value?"translate(0, 0)":"translate("+o.deleteWidth+", 0)"})},[it(df,{color:o.fontColor},null,8,["color"])],4)],4))}}),ff=nt(nv,[["styles",[`.parent[data-v-4ea80232]{position:relative;overflow:hidden;width:100%}.content[data-v-4ea80232]{width:100%;height:100%}.delete[data-v-4ea80232]{position:absolute;right:0;top:0;height:100%;display:flex;justify-content:center;align-items:center;cursor:pointer}
104
- `]],["__scopeId","data-v-4ea80232"]]),av=nt(H({customOptions:{Container:kt,SVGDown:Un},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(s,{expose:t,emit:e}){const o=s,r=e,n=(d,h)=>{r("resize",d,h)},a=R(Number.MAX_SAFE_INTEGER+"px"),i=R(),l=R(!0);Et(i,()=>{i.value&&(a.value=i.value.getBoundingClientRect().height+"px",l.value=o.initOpen)});function c(){l.value=!l.value,l.value?r("open"):r("close")}const u=R(0);return Mc(()=>{u.value=l.value?0:-90}),t({}),(d,h)=>(L(),$t(kt,{onResize:n},{default:bt(()=>[E("div",{class:"accordion",style:A({background:o.bgColor,color:o.fontColor,borderRadius:o.borderRadius})},[E("div",{class:"accordion-title",onClick:c,style:A({height:o.titleHeight,lineHeight:o.titleHeight,margin:`0 ${o.padding}`,transitionDelay:`${l.value?0:o.duration}ms`,borderBottom:`${l.value?1:0}px solid ${o.borderColor}`})},[_t(d.$slots,"title",{},()=>[h[0]||(h[0]=Ht("title"))],!0),it(Un,{class:"arrow",style:A({transition:`transform ${o.duration}ms ease-in-out`,transform:`rotate(${u.value}deg)`})},null,8,["style"])],4),E("div",{class:"accordion-content",ref_key:"content",ref:i,style:A({margin:`0 ${o.padding}`,transition:`max-height ${o.duration}ms ease-in-out`,maxHeight:l.value?a.value:"0"})},[_t(d.$slots,"content",{},void 0,!0)],4)],4)]),_:3}))}}),[["styles",[`.accordion[data-v-33318c10]{width:100%;font-size:1em;position:relative;overflow:hidden}.accordion-title[data-v-33318c10]{display:flex;justify-content:space-between;align-items:center;user-select:none;cursor:pointer}.accordion-content[data-v-33318c10]{word-break:break-all;overflow:hidden}
105
- `]],["__scopeId","data-v-33318c10"]]),iv=H({__name:"ProgressBar",props:{bgColor:{default:"#efefef"},progressColor:{default:"#a0dde9"},borderColor:{default:"#eeeeee"},borderRadius:{default:"4px"},showText:{type:Boolean,default:!1}},emits:["complete"],setup(s,{expose:t,emit:e}){const o=s,r=R(0);function n(a){r.value=Math.min(Math.max(0,a),100)}return t({goto:n}),(a,i)=>(L(),z("div",{class:"bar",style:A({border:`1px solid ${o.borderColor}`,borderRadius:o.borderRadius,backgroundColor:o.bgColor})},[E("div",{class:"bar-inner",style:A({width:r.value+"%",backgroundColor:o.progressColor})},yt(o.showText?r.value+"%":""),5)],4))}}),k2="",jn=nt(iv,[["__scopeId","data-v-d986b312"]]),lv=["width","height"],cv=["src","type"],uv={class:"video-progress-bar"},hf=nt(H({customOptions:{ProgressBar:jn},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(s,{expose:t,emit:e}){const o=s,r=e;let n;function a(d){if(n){n.resume();return}n=new Fe({frameDuration:this.duration*1e3}),n.addTween({x:0},{x:100},{frames:1,delay:0,onStart:()=>{r("start"),l.value?.goto(0)},onUpdate:h=>{l.value?.goto(h.x)},onComplete:()=>{r("complete"),n=null}}),n.play()}const i=R(),l=R();Et(i,()=>{i.value&&(i.value.addEventListener("play",a),o.autoplay&&Vi.tryAutoPlayOrAutoPlayAfterClick(i.value))}),re(()=>{i.value?.removeEventListener(a)});function c(){i.value?.play()}function u(){i.value?.pause(),n?.pause()}return t({play:c,pause:u}),(d,h)=>(L(),z("div",{class:"video",style:A({width:o.width,height:o.height}),onClick:c},[E("video",{ref_key:"video",ref:i,width:o.width,height:o.height,preload:"metadata"},[E("source",{src:o.src,type:o.type},null,8,cv)],8,lv),E("div",uv,[it(jn,{ref_key:"bar",ref:l,bgColor:"#ffffff"},null,512)])],4))}}),[["styles",[`.video[data-v-b54fc81b]{position:relative;overflow:hidden;background-color:#f5f5f5}.video-progress-bar[data-v-b54fc81b]{position:absolute;bottom:0;left:0;width:100%;height:6px}
106
- `]],["__scopeId","data-v-b54fc81b"]]),oo=H({customOptions:{},inheritAttrs:!0,__name:"Overlay",props:{visible:{type:Boolean,default:!1},color:{default:ge("#000000",.25).toString()},isGlobal:{type:Boolean,default:!0}},setup(s,{expose:t,emit:e}){const o=s,r=R(),n=document.documentElement.style.overflow,a=document.body.style.overflow;return Et(()=>o.visible,()=>{o.isGlobal?o.visible?(document.documentElement.style.overflow="hidden",document.body.style.overflow="hidden"):(document.documentElement.style.overflow=n,document.body.style.overflow=a):r.value&&(o.visible?r.value.parentElement.style.overflow="hidden":r.value.parentElement.style.overflow="")},{immediate:!0}),t({}),(i,l)=>o.visible?(L(),z("div",{key:0,class:"overlay",ref_key:"overlayRef",ref:r,style:A([`background-color: ${o.color}`,`position: ${o.isGlobal?"fixed":"absolute"}`,"z-index: 9000","display: block","width: 100%","height: 100%","inset: 0","overflow: hidden"])},[_t(i.$slots,"default")],4)):Rt("",!0)}}),ke=H({customOptions:{Overlay:oo,Container:kt},inheritAttrs:!0,__name:"Pop",props:{closeWhenClickOverlay:{type:Boolean,default:!0},directionFrom:{default:"bottom"},absoluteLeft:{default:"0px"},absoluteTop:{default:"0px"},absoluteWidth:{default:"100%"},absoluteHeight:{default:"100%"},dur:{default:200},isGlobal:{type:Boolean,default:!0},overlayBgColor:{},popValue:{},popPercent:{default:50},popBgColor:{default:"rgba(255,255,255,0)"}},emits:["open","close","resize","clickOverlay"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=new Fe({frameDuration:o.dur}),a=Jt({backgroundColor:o.popBgColor,position:"absolute",overflow:"hidden",opacity:"1"}),i=R("full");Et(()=>[o.directionFrom,o.popValue],()=>{n.clear();const b=o.popValue?o.popValue:o.popPercent,w=o.popValue?"px":"%";switch(o.directionFrom){case"left":a.height="100%",a.width=`${b}${w}`,a.top="0",a.bottom="0",delete a.right,n.addTween({left:b},{left:0},{easeFunction:dt.Quadratic.Out,onUpdate(x){a.left=`-${x.left}${w}`},onComplete:u});break;case"right":a.height="100%",a.width=`${b}${w}`,a.top="0",a.bottom="0",delete a.left,n.addTween({right:b},{right:0},{easeFunction:dt.Quadratic.Out,onUpdate(x){a.right=`-${x.right}${w}`},onComplete:u});break;case"top":a.width="100%",a.height=`${b}${w}`,a.left="0",a.right="0",delete a.bottom,n.addTween({top:b},{top:0},{easeFunction:dt.Quadratic.Out,onUpdate(x){a.top=`-${x.top}${w}`},onComplete:u});break;case"bottom":a.width="100%",a.height=`${b}${w}`,a.left="0",a.right="0",delete a.top,n.addTween({bottom:b},{bottom:0},{easeFunction:dt.Quadratic.Out,onUpdate(x){a.bottom=`-${x.bottom}${w}`},onComplete:u});break;case"center":delete a.width,delete a.height,a.left="50%",delete a.right,a.top="50%",delete a.bottom,n.addTween({scale:.8,opacity:0},{scale:1,opacity:1},{easeFunction:dt.Quadratic.Out,onUpdate(x){a.transform=`translate(-50%, -50%) scale(${x.scale})`,a.opacity=`${x.opacity}`},onComplete:u});break;case"absolute":a.width=o.absoluteWidth,a.height=o.absoluteHeight,a.left=o.absoluteLeft,a.top=o.absoluteTop,delete a.right,delete a.bottom;break}switch(o.directionFrom){case"center":i.value="shrink",a.transform="translate(-50%, -50%)";break;case"absolute":i.value="shrink",delete a.transform,delete a.opacity;break;default:i.value="full",delete a.transform,delete a.opacity;break}},{immediate:!0}),Et(()=>o.absoluteLeft,()=>{switch(o.directionFrom){case"absolute":a.left=o.absoluteLeft;break}}),Et(()=>o.absoluteTop,()=>{switch(o.directionFrom){case"absolute":a.top=o.absoluteTop;break}}),Et(()=>o.absoluteWidth,()=>{switch(o.directionFrom){case"absolute":a.width=o.absoluteWidth;break}}),Et(()=>o.absoluteHeight,()=>{switch(o.directionFrom){case"absolute":a.height=o.absoluteHeight;break}});const l=(b,w,x)=>{r("resize",b,w,x)};let c="open";function u(){c=="open"?r("open"):(d.value=!1,r("close"))}const d=R(!1);function h(){d.value=!0,c="open",n.play()}function p(){switch(c="close",o.directionFrom){case"absolute":u();break;default:n.reverse();break}}function f(b){const w=o.directionFrom=="absolute"&&o.absoluteWidth=="100%"&&o.absoluteHeight=="100%"?"pop-content":"pop";b.target&&Hi(b.target,w)&&(o.closeWhenClickOverlay&&p(),r("clickOverlay"))}return t({open:h,close:p}),(b,w)=>(L(),$t(oo,{visible:d.value,isGlobal:o.isGlobal,color:o.overlayBgColor},{default:bt(()=>[E("div",{class:"pop",style:{display:"block",position:"relative",width:"100%",height:"100%",overflow:"hidden"},onClick:f},[it(kt,{class:"pop-content",type:i.value,style:A(a),onResize:l},{default:bt(()=>[_t(b.$slots,"default",{},()=>[w[0]||(w[0]=E("div",null,null,-1))])]),_:3},8,["type","style"])])]),_:3},8,["visible","isGlobal","color"]))}}),dv=H({...{},name:"Image",customOptions:{Container:kt,Pop:ke},inheritAttrs:!0,__name:"Image.ce",props:{src:{},mode:{default:"scaleToFill"},dur:{default:300},bgColor:{default:"transparent"},openImageDetailWhenClick:{type:Boolean,default:!0}},emits:["settled"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=new Fe({frameDuration:o.dur}),a=R(0),i=R(0),l=R(0),c=R(0),u=R(0),d=R(0),h=R(0),p=R(0),f=R(0),b=R(0);qd(o.src).then(D=>{f.value=D.width,b.value=D.height,_()});const w=R(0),x=R(0),v=(D,N)=>{w.value=D,x.value=N,_()},g=R(0),m=R(0);function _(){if(!w.value||!x.value||!f.value||!b.value)return;const D=zn(o.mode,f.value,b.value,w.value,x.value);g.value=D.width,m.value=D.height;const{width:N,height:X}=zo(),rt=zn("aspectFit",f.value,b.value,N,X);h.value=rt.width,p.value=rt.height,u.value=(N-h.value)/2,d.value=(X-p.value)/2}const k=(D,N,X)=>{r("settled",X.x,X.y,X.width,X.height)};let Z=!1;const ot=R(),I=R();async function $(){if(!o.openImageDetailWhenClick)return;const D=await ot.value.getSize();n.clear(),n.addTween({left:D.x,top:D.y,width:D.width,height:D.height},{left:u.value,top:d.value,width:h.value,height:p.value},{easeFunction:dt.Quadratic.Out,onUpdate(N){a.value=N.left,i.value=N.top,l.value=N.width,c.value=N.height},onComplete(){Z&&I.value.close(),Z=!Z}}),Z||(I.value.open(),n.play())}function M(){Z&&n.reverse()}return t({}),(D,N)=>(L(),$t(kt,{class:"image",type:"full",style:A({backgroundColor:o.bgColor}),onResize:v,onClick:$},{default:bt(()=>[it(kt,{class:"image-inner",ref_key:"imageRef",ref:ot,type:"shrink",style:A({width:g.value+"px",height:m.value+"px",backgroundImage:`url(${o.src})`,backgroundSize:`${g.value}px ${m.value}px`}),onResize:k},null,8,["style"]),it(ke,{ref_key:"popRef",ref:I,"direction-from":"absolute","absolute-left":`${a.value}px`,"absolute-top":`${i.value}px`,"absolute-width":`${l.value}px`,"absolute-height":`${c.value}px`,"close-when-click-overlay":!1,onClickOverlay:M},{default:bt(()=>[E("div",{class:"image-pop",style:A({width:"100%",height:"100%",backgroundImage:`url(${o.src})`,backgroundSize:"100% 100%"})},null,4)]),_:1},8,["absolute-left","absolute-top","absolute-width","absolute-height"])]),_:1},8,["style"]))}}),el=nt(dv,[["styles",[`.image[data-v-892af4f0]{overflow:hidden;display:flex!important;justify-content:center;align-items:center}.image-inner[data-v-892af4f0],.image-pop[data-v-892af4f0]{background-repeat:no-repeat;background-position:center center}
107
- `]],["__scopeId","data-v-892af4f0"]]),Hn=H({customOptions:{Container:kt,CSSAnimation:Yo},inheritAttrs:!0,__name:"Page",props:{effect:{default:"moveFromLeft"},duration:{default:500},easeFunction:{type:Function,default:dt.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["ready","pageOpenStart","pageOpenEnd","pageCloseStart","pageCloseEnd"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=R(),a=Jt({}),i=()=>{r("ready",k,Z)},l=()=>{b()},c=R();let u="rotateRightSideFirst",d=o.effect;function h(ot,I){switch(d){case"static":I();break;default:ot();break}}let p=!1;const f=new Fe,b=()=>{const ot={},I={};f.clear(),f.frameDuration=o.duration,h(()=>{u=d},()=>{f.addTween(ot,I,{delay:o.delay/o.duration,easeFunction:o.easeFunction,onStart:()=>{r(p?"pageCloseStart":"pageOpenStart")},onUpdate:$=>{a.transform="","x"in $&&(a.transform+=` translateX(${$.x}%)`),"y"in $&&(a.transform+=` translateY(${$.y}%)`),"rx"in $&&(a.transform+=` rotateX(${$.rx}deg)`),"ry"in $&&(a.transform+=` rotateY(${$.ry}deg)`),"scale"in $&&(a.transform+=` scale(${$.scale})`),"opacity"in $&&(a.opacity=`${$.opacity}`)},onComplete:()=>{r(p?"pageCloseEnd":"pageOpenEnd")}})})};Et(()=>[o.effect,o.delay,o.duration,o.easeFunction],()=>{d=o.effect,b()},{immediate:!0});const w=()=>{r(p?"pageCloseStart":"pageOpenStart")},x=()=>{r(p?"pageCloseEnd":"pageOpenEnd")},v=()=>{h(()=>{c.value.trigger(u)},()=>{f.play()})},g=()=>{h(()=>{c.value.triggerReverse(u)},()=>{f.reverse()})},m=()=>{a.transform="none",a.opacity="1"};function _(){h(()=>{m()},()=>{c.value?.clear()})}const k=ot=>{ot&&(d=ot,b()),p=!1,_(),v()},Z=ot=>{ot&&(d=ot,b()),p=!0,_(),g()};return t({open:k,close:Z,clear:m,getElement:()=>n.value.getElement()}),(ot,I)=>(L(),$t(kt,{class:"page",ref_key:"pageRef",ref:n,type:"full",effectTriggerTiming:"manual",style:{overflow:"hidden",width:"100%",height:"100%"},onReady:i,onResize:l},{default:bt(()=>[it(Yo,{ref_key:"cssAnimationRef",ref:c,containerType:"full",effectTriggerTiming:"manual",duration:o.duration,delay:o.delay,timingFunction:o.timingFunction,onCssanimationstart:w,onCssanimationend:x},{default:bt(()=>[E("div",{class:"page-inner",style:A({position:"relative",display:"block",width:"100%",height:"100%",overflow:"scroll",backfaceVisibility:"hidden",transformStyle:"preserve-3d",...a})},[_t(ot.$slots,"default")],4)]),_:3},8,["duration","delay","timingFunction"])]),_:3},512))}}),sl=H({customOptions:{Page:Hn,Container:kt},inheritAttrs:!0,__name:"Routes",props:{effect:{default:"moveToLeft"},duration:{default:500},easeFunction:{type:Function,default:dt.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["routeChangeStart","routeChangeEnd","renderComplete"],setup(s,{expose:t,emit:e}){const o=s,r=e;let n=-1,a=-1,i;const l=[];let c=[],u=[],d=[];function h(B){return B>=0&&B<c.length}function p(){return a>n}function f(B,P,Yt){switch(B){case n:return p()?P:Yt;case a:return p()?Yt:P;default:return"static"}}function b(B,P){switch(B){case"moveToLeft":return f(P,"moveToLeft","moveFromRight");case"moveToRight":return f(P,"moveToRight","moveFromLeft");case"moveToTop":return f(P,"moveToTop","moveFromBottom");case"moveToBottom":return f(P,"moveToBottom","moveFromTop");case"moveFromLeftPrevFade":return f(P,"fade","moveFromLeft");case"moveFromRightPrevFade":return f(P,"fade","moveFromRight");case"moveFromTopPrevFade":return f(P,"fade","moveFromTop");case"moveFromBottomPrevFade":return f(P,"fade","moveFromBottom");case"moveToLeftFade":return f(P,"moveToLeftFade","moveFromRightFade");case"moveToRightFade":return f(P,"moveToRightFade","moveFromLeftFade");case"moveToTopFade":return f(P,"moveToTopFade","moveFromBottomFade");case"moveToBottomFade":return f(P,"moveToBottomFade","moveFromTopFade");case"moveToLeftEasing":return f(P,"moveToLeft","moveFromRight");case"moveToRightEasing":return f(P,"moveToRight","moveFromLeft");case"moveToTopEasing":return f(P,"moveToTop","moveFromBottom");case"moveToBottomEasing":return f(P,"moveToBottom","moveFromTop");case"moveFromLeftPrevScaleToSmall":return f(P,"scaleToSmall","moveFromLeft");case"moveFromRightPrevScaleToSmall":return f(P,"scaleToSmall","moveFromRight");case"moveFromTopPrevScaleToSmall":return f(P,"scaleToSmall","moveFromTop");case"moveFromBottomPrevScaleToSmall":return f(P,"scaleToSmall","moveFromBottom");case"scaleSmall":return f(P,"scaleToSmall","scaleFromLarge");case"scaleLarge":return f(P,"scaleToLarge","scaleFromSmall");case"scaleToLargePrevScaleToSmall":return f(P,"scaleToSmallCenter","scaleFromSmallCenter");case"scaleFromSmallPrevMoveToLeft":return f(P,"moveToLeft","scaleFromSmall");case"scaleFromSmallPrevMoveToRight":return f(P,"moveToRight","scaleFromSmall");case"scaleFromSmallPrevMoveToTop":return f(P,"moveToTop","scaleFromSmall");case"scaleFromSmallPrevMoveToBottom":return f(P,"moveToBottom","scaleFromSmall");case"glueToLeft":return f(P,"rotateRightSideFirst","moveFromRight");case"glueToRight":return f(P,"rotateLeftSideFirst","moveFromLeft");case"glueToTop":return f(P,"rotateBottomSideFirst","moveFromBottom");case"glueToBottom":return f(P,"rotateTopSideFirst","moveFromTop");case"flipToLeft":return f(P,"flipOutLeft","flipInRight");case"flipToRight":return f(P,"flipOutRight","flipInLeft");case"flipToTop":return f(P,"flipOutTop","flipInBottom");case"flipToBottom":return f(P,"flipOutBottom","flipInTop");case"rotateFall":return f(P,"rotateFall","scaleFromSmall");case"newspaper":return f(P,"rotateOutNewspaper","rotateInNewspaper");case"moveFromLeftPrevPush":return f(P,"rotatePushRight","moveFromLeft");case"moveFromRightPrevPush":return f(P,"rotatePushLeft","moveFromRight");case"moveFromTopPrevPush":return f(P,"rotatePushBottom","moveFromTop");case"moveFromBottomPrevPush":return f(P,"rotatePushTop","moveFromBottom");case"pullFromLeftPrevPush":return f(P,"rotatePushRight","rotatePullLeft");case"pullFromRightPrevPush":return f(P,"rotatePushLeft","rotatePullRight");case"pullFromTopPrevPush":return f(P,"rotatePushBottom","rotatePullTop");case"pullFromBottomPrevPush":return f(P,"rotatePushTop","rotatePullBottom");case"moveFromLeftFadePrevFold":return f(P,"rotateFoldRight","moveFromLeftFade");case"moveFromRightFadePrevFold":return f(P,"rotateFoldLeft","moveFromRightFade");case"moveFromTopFadePrevFold":return f(P,"rotateFoldBottom","moveFromTopFade");case"moveFromBottomFadePrevFold":return f(P,"rotateFoldTop","moveFromBottomFade");case"moveToLeftFadePrevUnfold":return f(P,"moveToLeftFade","rotateUnfoldRight");case"moveToRightFadePrevUnfold":return f(P,"moveToRightFade","rotateUnfoldLeft");case"moveToTopFadePrevUnfold":return f(P,"moveToTopFade","rotateUnfoldBottom");case"moveToBottomFadePrevUnfold":return f(P,"moveToBottomFade","rotateUnfoldTop");case"rotateRoomLeftIn":return f(P,"rotateRoomLeftOut","rotateRoomLeftIn");case"rotateRoomRightIn":return f(P,"rotateRoomRightOut","rotateRoomRightIn");case"rotateRoomTopIn":return f(P,"rotateRoomTopOut","rotateRoomTopIn");case"rotateRoomBottomIn":return f(P,"rotateRoomBottomOut","rotateRoomBottomIn");case"rotateCubeLeftIn":return f(P,"rotateCubeLeftOut","rotateCubeLeftIn");case"rotateCubeRightIn":return f(P,"rotateCubeRightOut","rotateCubeRightIn");case"rotateCubeTopIn":return f(P,"rotateCubeTopOut","rotateCubeTopIn");case"rotateCubeBottomIn":return f(P,"rotateCubeBottomOut","rotateCubeBottomIn");case"rotateCarouselLeftIn":return f(P,"rotateCarouselLeftOut","rotateCarouselLeftIn");case"rotateCarouselRightIn":return f(P,"rotateCarouselRightOut","rotateCarouselRightIn");case"rotateCarouselTopIn":return f(P,"rotateCarouselTopOut","rotateCarouselTopIn");case"rotateCarouselBottomIn":return f(P,"rotateCarouselBottomOut","rotateCarouselBottomIn");case"rotateSidesIn":return f(P,"rotateSidesOut","rotateSidesIn");case"rotateSlideIn":return f(P,"rotateSlideOut","rotateSlideIn")}}function w(B,P=600,Yt=600){switch(B){case n:return P;case a:return Yt;default:return o.duration}}function x(B,P){switch(B){case"moveFromLeftFadePrevFold":case"moveFromRightFadePrevFold":case"moveFromTopFadePrevFold":case"moveFromBottomFadePrevFold":return w(P,700,700);case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":case"moveFromLeftPrevScaleToSmall":case"moveFromRightPrevScaleToSmall":case"moveFromTopPrevScaleToSmall":case"moveFromBottomPrevScaleToSmall":return w(P,700,600);case"scaleSmall":return w(P,700,500);case"scaleLarge":return w(P,500,700);case"scaleToLargePrevScaleToSmall":return w(P,400,400);case"scaleFromSmallPrevMoveToLeft":case"scaleFromSmallPrevMoveToRight":case"scaleFromSmallPrevMoveToTop":case"scaleFromSmallPrevMoveToBottom":return w(P,600,700);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":return w(P,800,600);default:return o.duration}}let v=o.timingFunction;function g(B){switch(B){default:return o.easeFunction}}function m(B,P){switch(B){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":switch(P){case n:v=p()?"ease-in-out":"ease";break;case a:default:v=p()?"ease":"ease-in-out"}return g(P);default:return v=o.timingFunction,o.easeFunction}}function _(B,P=300){switch(B){case a:return o.delay+P;default:return o.delay}}function k(B,P){switch(B){case"flipToLeft":case"flipToRight":case"flipToTop":case"flipToBottom":case"newspaper":return _(P,500);case"scaleSmall":case"scaleLarge":return _(P,300);case"scaleToLargePrevScaleToSmall":return _(P,400);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":case"rotateSidesIn":return _(P,200);case"pullFromLeftPrevPush":case"pullFromRightPrevPush":case"pullFromTopPrevPush":case"pullFromBottomPrevPush":return _(P,180);default:return o.delay}}let Z=2,ot=2;const I=()=>{Z=2,ot=2},$=()=>{Z=2,ot=3},M=()=>{Z=3,ot=2};function D(B){switch(o.effect){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":M();break;case"scaleFromSmallPrevMoveToLeft":case"scaleFromSmallPrevMoveToRight":case"scaleFromSmallPrevMoveToTop":case"scaleFromSmallPrevMoveToBottom":case"rotateFall":case"rotateRoomLeftIn":case"rotateRoomRightIn":case"rotateRoomTopIn":case"rotateRoomBottomIn":case"rotateCubeLeftIn":case"rotateCubeRightIn":case"rotateCubeTopIn":case"rotateCubeBottomIn":case"rotateCarouselLeftIn":case"rotateCarouselRightIn":case"rotateCarouselTopIn":case"rotateCarouselBottomIn":p()?M():$();break;case"moveFromLeftPrevFade":case"moveFromRightPrevFade":case"moveFromTopPrevFade":case"moveFromBottomPrevFade":case"moveFromLeftPrevScaleToSmall":case"moveFromRightPrevScaleToSmall":case"moveFromTopPrevScaleToSmall":case"moveFromBottomPrevScaleToSmall":case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":p()?$():M();break;default:I();break}h(n)&&n==B&&(d[n].style.zIndex=`${Z}`,d[n].style.visibility="visible"),h(a)&&a==B&&(d[a].style.zIndex=`${ot}`,d[a].style.visibility="visible")}function N(B){$(),B==n&&(d[n].style.zIndex=`${Z}`,d[n].style.visibility="hidden"),B==a&&(d[a].style.zIndex=`${ot}`,d[a].style.visibility="visible",l.shift()?.(),r("routeChangeEnd",n,a,c.length),n=a)}const X=R();function rt(B=0,P=!1){if(!X.value)return;let Yt=0;pn(te("div",{class:"routes-pages",style:{display:"block",width:"100%",height:"100%",overflow:"hidden",position:"relative"}},c.map((At,Pt)=>{const se=b(o.effect,Pt);return te("div",Object.assign({class:"routes-page",style:{display:"block",width:"100%",height:"100%",overflow:"hidden",position:"absolute",top:"0",left:"0",backfaceVisibility:"hidden",transform:"translate3d(0, 0, 0)",transformStyle:"preserve-3d",visibility:n==Pt?"visible":"hidden",zIndex:P?"1":"0"}},At.pageKey?{key:At.pageKey}:{}),te(Hn,{effect:se,duration:x(o.effect,Pt),easeFunction:m(o.effect,Pt),timingFunction:v,delay:k(o.effect,Pt),onReady:(Xt,U)=>{u[Pt]={open:Xt,close:U},++Yt==B&&(i?.(),r("renderComplete"))},onPageOpenStart:()=>{D(Pt)},onPageOpenEnd:()=>{N(Pt)},onPageCloseStart:()=>{D(Pt)},onPageCloseEnd:()=>{N(Pt)}},{default:()=>At.component instanceof HTMLElement?te("div",{...At.attributes,innerHTML:At.component.innerHTML}):te(At.component,At.attributes,()=>At.child)}))})),X.value),d=X.value.children[0].children}Et(()=>o.effect,()=>{rt()});function Q(B=[]){c=[...B],c.forEach(P=>{P.pageKey=P.pageKey||$o()}),i=()=>{n=-1,pt(0)},rt(c.length,!0)}function W(B){B.pageKey=B.pageKey||$o(),c.push(B),i=()=>{pt(c.length-1)},rt(1,c.length==1)}function lt(){c.length<=1||pt(c.length-2,()=>{c.splice(c.length-1,1),n=c.length-1,rt()})}function G(){pt(n+1)}function j(){pt(n-1)}const gt=new vn(1);function pt(B,P){gt.addTask(()=>new Promise(Yt=>{const At=()=>{P?.(),Yt()};if(!h(B)){At();return}if(a=B,a==n){At();return}l.push(At),rt(),r("routeChangeStart",n,a,c.length),p()?(h(n)&&u[n].open(),h(a)&&u[a].open()):(h(n)&&u[n].close(),h(a)&&u[a].close())}))}return t({reset:Q,push:W,pop:lt,forward:G,back:j,goto:pt,currentPageIndex:()=>n,totalPages:()=>c.length}),(B,P)=>(L(),z("div",{class:"routes",ref_key:"routesRef",ref:X,style:{display:"block",position:"relative",width:"100%",height:"100%","overflow-x":"hidden","overflow-y":"hidden"}},null,512))}}),fv=H({...{},name:"Image",customOptions:{Container:kt,Pop:ke},inheritAttrs:!0,__name:"Image",props:{src:{},mode:{default:"scaleToFill"},dur:{default:300},bgColor:{default:"transparent"},openImageDetailWhenClick:{type:Boolean,default:!0}},emits:["settled"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=new Fe({frameDuration:o.dur}),a=R(0),i=R(0),l=R(0),c=R(0),u=R(0),d=R(0),h=R(0),p=R(0),f=R(0),b=R(0);qd(o.src).then(D=>{f.value=D.width,b.value=D.height,_()});const w=R(0),x=R(0),v=(D,N)=>{w.value=D,x.value=N,_()},g=R(0),m=R(0);function _(){if(!w.value||!x.value||!f.value||!b.value)return;const D=zn(o.mode,f.value,b.value,w.value,x.value);g.value=D.width,m.value=D.height;const{width:N,height:X}=zo(),rt=zn("aspectFit",f.value,b.value,N,X);h.value=rt.width,p.value=rt.height,u.value=(N-h.value)/2,d.value=(X-p.value)/2}const k=(D,N,X)=>{r("settled",X.x,X.y,X.width,X.height)};let Z=!1;const ot=R(),I=R();async function $(){if(!o.openImageDetailWhenClick)return;const D=await ot.value.getSize();n.clear(),n.addTween({left:D.x,top:D.y,width:D.width,height:D.height},{left:u.value,top:d.value,width:h.value,height:p.value},{easeFunction:dt.Quadratic.Out,onUpdate(N){a.value=N.left,i.value=N.top,l.value=N.width,c.value=N.height},onComplete(){Z&&I.value.close(),Z=!Z}}),Z||(I.value.open(),n.play())}function M(){Z&&n.reverse()}return t({}),(D,N)=>(L(),$t(kt,{class:"image",type:"full",style:A({backgroundColor:o.bgColor}),onResize:v,onClick:$},{default:bt(()=>[it(kt,{class:"image-inner",ref_key:"imageRef",ref:ot,type:"shrink",style:A({width:g.value+"px",height:m.value+"px",backgroundImage:`url(${o.src})`,backgroundSize:`${g.value}px ${m.value}px`}),onResize:k},null,8,["style"]),it(ke,{ref_key:"popRef",ref:I,"direction-from":"absolute","absolute-left":`${a.value}px`,"absolute-top":`${i.value}px`,"absolute-width":`${l.value}px`,"absolute-height":`${c.value}px`,"close-when-click-overlay":!1,onClickOverlay:M},{default:bt(()=>[E("div",{class:"image-pop",style:A({width:"100%",height:"100%",backgroundImage:`url(${o.src})`,backgroundSize:"100% 100%"})},null,4)]),_:1},8,["absolute-left","absolute-top","absolute-width","absolute-height"])]),_:1},8,["style"]))}}),O2="",pf=nt(fv,[["__scopeId","data-v-4e9887dd"]]),hv={key:0,style:{position:"absolute",top:"30px",left:"50%",transform:"translate(-50%, 0)",color:"#ffffff","font-size":"1em","z-index":"98"}},mf=H({customOptions:{Image:pf,Container:kt,Routes:sl},inheritAttrs:!0,__name:"ImageView.ce",props:{urls:{default:()=>[]},effect:{default:"moveToLeftFade"}},setup(s,{expose:t,emit:e}){const o=s,r=R(0);function n(h,p){r.value=p}const a=R(),i=h=>{h.on("panLeft",()=>{a.value?.forward()}),h.on("panRight",()=>{a.value?.back()}),a.value.reset(o.urls.map(p=>({component:te(pf,{mode:"aspectFit",src:p,openImageDetailWhenClick:!1})})))},l=R();function c(){l.value?.open()}function u(){l.value?.close()}const d=h=>{h.target&&Hi(h.target,"image")&&u()};return t({open:c,close:u}),(h,p)=>(L(),$t(ke,{ref_key:"popRef",ref:l,directionFrom:"absolute",onClick:d},{default:bt(()=>[o.urls.length>1?(L(),z("div",hv,yt(r.value+1)+" / "+yt(o.urls.length),1)):Rt("",!0),it(kt,{style:{position:"absolute",top:"50%",transform:"translate(0, -50%)",width:"100%",height:"100%","z-index":"97"},onReady:i},{default:bt(()=>[it(sl,{ref_key:"routesRef",ref:a,effect:o.effect,onRouteChangeEnd:n},null,8,["effect"])]),_:1})]),_:1},512))}}),R2="",pv={class:"page"},mv={class:"header"},gv={class:"main"},yv={class:"main-scroll"},vv={class:"footer"},gf=nt(H({customOptions:{},inheritAttrs:!0,__name:"LayoutMobile.ce",props:{designWidth:{default:750}},setup(s,{expose:t,emit:e}){return of(s.designWidth),t({}),(r,n)=>(L(),z("div",pv,[E("header",mv,[_t(r.$slots,"header",{},void 0,!0)]),E("div",gv,[E("div",yv,[_t(r.$slots,"default",{},void 0,!0)])]),E("footer",vv,[_t(r.$slots,"footer",{},void 0,!0)])]))}}),[["styles",[`.page[data-v-828e514c]{width:100%;height:100%;position:relative;overflow:hidden;display:flex;flex-direction:column}.main[data-v-828e514c]{flex:1 1 auto;width:100%;overflow-y:scroll;display:flex;flex-direction:column}.main-scroll[data-v-828e514c]{flex:1 1 auto;width:100%}.main-scroll[data-v-828e514c]>:nth-child(1){min-height:100%}.header[data-v-828e514c],.footer[data-v-828e514c]{flex:0 0 auto}
108
- `]],["__scopeId","data-v-828e514c"]]),bv=nt(H({customOptions:{},inheritAttrs:!0,__name:"LayoutCenter.ce",props:{type:{default:"grid"}},setup(s,{expose:t,emit:e}){const o=s,r=Jt({}),n=Jt({});function a(){switch(Ru(r),Ru(n),o.type){case"table":r.display="table",n.display="table-cell",n.verticalAlign="middle",n.textAlign="center";break;case"transform":n.position="absolute",n.top="50%",n.left="50%",n.transform="translate(-50%, -50%)";break;case"grid":r.display="grid",r.justifyContent="center",r.alignItems="center";break;case"flex":default:r.display="flex",n.margin="auto"}}return a(),re(()=>{}),t({}),(i,l)=>(L(),z("div",{class:"layout-center",style:A(r)},[E("div",{style:A(n)},[_t(i.$slots,"default",{},void 0,!0)],4)],4))}}),[["styles",[`.layout-center[data-v-114afb17]{position:relative;display:block;width:100%;height:100%;overflow:hidden}
109
- `]],["__scopeId","data-v-114afb17"]]),de=H({customOptions:{},inheritAttrs:!0,__name:"Container.ce",props:{type:{default:"block"},effectTriggerTiming:{default:"manual"},supportCopyText:{type:Boolean,default:!1},styleSheets:{}},emits:["ready","resize","start","end"],setup(s,{expose:t,emit:e}){const o=s,r=e;let n="start";const a=()=>{n="start",r("start")},i=()=>{n="end",r("end")},l=()=>{n=="start"?i():a()},c=R();let u=!1,d,h;es(()=>{if(o.styleSheets){let b="";for(let w in o.styleSheets)b+=`${w}: ${o.styleSheets[w]};`;us(`
110
- :root {
111
- ${b}
112
- }
113
- :host {
114
- ${b}
115
- }
116
- `,c.value)}d=new ns(c.value,!1),d.on("resize",(b,w)=>{r("resize",b,w,c.value.getBoundingClientRect()),h?.(d),u||(u=!0,o.effectTriggerTiming!=="manual"&&a(),r("ready",d),o.effectTriggerTiming=="immediate"&&l())}),d.on("mouseEnter",()=>{o.effectTriggerTiming=="mouseMove"&&l()}),d.on("mouseLeave",()=>{o.effectTriggerTiming=="mouseMove"&&l()}),d.on("tap",()=>{o.effectTriggerTiming=="click"&&l(),o.supportCopyText&&Wi(xo(c.value).getInnerText()).then(()=>{}).catch(b=>{})}),d.start()});const p=()=>new Promise(b=>{if(d)return b(d);h=b}),f=async()=>(await p(),c.value.getBoundingClientRect());return re(()=>{d?.destroy()}),t({getElement:()=>c.value,getApp:p,getSize:f}),(b,w)=>(L(),z("div",{class:oe(["container",[o.type]]),ref_key:"containerRef",ref:c,style:A({position:"relative",boxSizing:"border-box",display:o.type=="shrink"?"inline-block":"block",width:o.type=="full"?"100%":"auto",height:o.type=="full"?"100%":"auto"})},[_t(b.$slots,"default")],6))}}),Wn=H({customOptions:{},inheritAttrs:!0,__name:"Overlay.ce",props:{visible:{type:Boolean,default:!1},color:{default:ge("#000000",.25).toString()},isGlobal:{type:Boolean,default:!0}},setup(s,{expose:t,emit:e}){const o=s,r=R(),n=document.documentElement.style.overflow,a=document.body.style.overflow;return Et(()=>o.visible,()=>{o.isGlobal?o.visible?(document.documentElement.style.overflow="hidden",document.body.style.overflow="hidden"):(document.documentElement.style.overflow=n,document.body.style.overflow=a):r.value&&(o.visible?r.value.parentElement.style.overflow="hidden":r.value.parentElement.style.overflow="")},{immediate:!0}),t({}),(i,l)=>o.visible?(L(),z("div",{key:0,class:"overlay",ref_key:"overlayRef",ref:r,style:A([`background-color: ${o.color}`,`position: ${o.isGlobal?"fixed":"absolute"}`,"z-index: 9000","display: block","width: 100%","height: 100%","inset: 0","overflow: hidden"])},[_t(i.$slots,"default")],4)):Rt("",!0)}}),wo=H({customOptions:{Overlay:oo,Container:kt},inheritAttrs:!0,__name:"Pop.ce",props:{closeWhenClickOverlay:{type:Boolean,default:!0},directionFrom:{default:"bottom"},absoluteLeft:{default:"0px"},absoluteTop:{default:"0px"},absoluteWidth:{default:"100%"},absoluteHeight:{default:"100%"},dur:{default:200},isGlobal:{type:Boolean,default:!0},overlayBgColor:{},popValue:{},popPercent:{default:50},popBgColor:{default:"rgba(255,255,255,0)"}},emits:["open","close","resize","clickOverlay"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=new Fe({frameDuration:o.dur}),a=Jt({backgroundColor:o.popBgColor,position:"absolute",overflow:"hidden",opacity:"1"}),i=R("full");Et(()=>[o.directionFrom,o.popValue],()=>{n.clear();const b=o.popValue?o.popValue:o.popPercent,w=o.popValue?"px":"%";switch(o.directionFrom){case"left":a.height="100%",a.width=`${b}${w}`,a.top="0",a.bottom="0",delete a.right,n.addTween({left:b},{left:0},{easeFunction:dt.Quadratic.Out,onUpdate(x){a.left=`-${x.left}${w}`},onComplete:u});break;case"right":a.height="100%",a.width=`${b}${w}`,a.top="0",a.bottom="0",delete a.left,n.addTween({right:b},{right:0},{easeFunction:dt.Quadratic.Out,onUpdate(x){a.right=`-${x.right}${w}`},onComplete:u});break;case"top":a.width="100%",a.height=`${b}${w}`,a.left="0",a.right="0",delete a.bottom,n.addTween({top:b},{top:0},{easeFunction:dt.Quadratic.Out,onUpdate(x){a.top=`-${x.top}${w}`},onComplete:u});break;case"bottom":a.width="100%",a.height=`${b}${w}`,a.left="0",a.right="0",delete a.top,n.addTween({bottom:b},{bottom:0},{easeFunction:dt.Quadratic.Out,onUpdate(x){a.bottom=`-${x.bottom}${w}`},onComplete:u});break;case"center":delete a.width,delete a.height,a.left="50%",delete a.right,a.top="50%",delete a.bottom,n.addTween({scale:.8,opacity:0},{scale:1,opacity:1},{easeFunction:dt.Quadratic.Out,onUpdate(x){a.transform=`translate(-50%, -50%) scale(${x.scale})`,a.opacity=`${x.opacity}`},onComplete:u});break;case"absolute":a.width=o.absoluteWidth,a.height=o.absoluteHeight,a.left=o.absoluteLeft,a.top=o.absoluteTop,delete a.right,delete a.bottom;break}switch(o.directionFrom){case"center":i.value="shrink",a.transform="translate(-50%, -50%)";break;case"absolute":i.value="shrink",delete a.transform,delete a.opacity;break;default:i.value="full",delete a.transform,delete a.opacity;break}},{immediate:!0}),Et(()=>o.absoluteLeft,()=>{switch(o.directionFrom){case"absolute":a.left=o.absoluteLeft;break}}),Et(()=>o.absoluteTop,()=>{switch(o.directionFrom){case"absolute":a.top=o.absoluteTop;break}}),Et(()=>o.absoluteWidth,()=>{switch(o.directionFrom){case"absolute":a.width=o.absoluteWidth;break}}),Et(()=>o.absoluteHeight,()=>{switch(o.directionFrom){case"absolute":a.height=o.absoluteHeight;break}});const l=(b,w,x)=>{r("resize",b,w,x)};let c="open";function u(){c=="open"?r("open"):(d.value=!1,r("close"))}const d=R(!1);function h(){d.value=!0,c="open",n.play()}function p(){switch(c="close",o.directionFrom){case"absolute":u();break;default:n.reverse();break}}function f(b){const w=o.directionFrom=="absolute"&&o.absoluteWidth=="100%"&&o.absoluteHeight=="100%"?"pop-content":"pop";b.target&&Hi(b.target,w)&&(o.closeWhenClickOverlay&&p(),r("clickOverlay"))}return t({open:h,close:p}),(b,w)=>(L(),$t(oo,{visible:d.value,isGlobal:o.isGlobal,color:o.overlayBgColor},{default:bt(()=>[E("div",{class:"pop",style:{display:"block",position:"relative",width:"100%",height:"100%",overflow:"hidden"},onClick:f},[it(kt,{class:"pop-content",type:i.value,style:A(a),onResize:l},{default:bt(()=>[_t(b.$slots,"default",{},()=>[w[0]||(w[0]=E("div",null,null,-1))])]),_:3},8,["type","style"])])]),_:3},8,["visible","isGlobal","color"]))}}),ol=H({customOptions:{Pop:ke,Button:qt,Container:kt},inheritAttrs:!0,__name:"Popover.ce",props:{gap:{default:10},isGlobal:{type:Boolean,default:!0},closeWhenClickOverlay:{type:Boolean,default:!0}},setup(s,{expose:t}){const e=s,o=R();function r(){o.value.open()}function n(){o.value.close()}const a=R(),i=R(0),l=R(0),c=R(0),u=R(0),d=(h,p)=>{if(c.value=h,u.value=p,!a.value)return;const f=zo(),b=a.value.getBoundingClientRect();i.value=Math.max(e.gap,Math.min(b.x+b.width+e.gap,f.width-h-e.gap)),l.value=Math.max(e.gap,Math.min(b.y,f.height-p-e.gap))};return t({open:r,close:n}),(h,p)=>(L(),z(Vt,null,[E("div",{ref_key:"popoverButtonRef",ref:a,class:"popover-button",style:{display:"inline-block"},onClick:r},[_t(h.$slots,"button",{},()=>[it(qt,null,{default:bt(()=>p[0]||(p[0]=[Ht("popover")])),_:1})])],512),it(ke,{ref_key:"popRef",ref:o,"direction-from":"absolute",isGlobal:e.isGlobal,closeWhenClickOverlay:e.closeWhenClickOverlay},{default:bt(()=>[E("div",{style:A({position:"absolute",left:i.value+"px",top:l.value+"px",width:c.value+"px",height:u.value+"px"})},[it(kt,{type:"shrink",onResize:d},{default:bt(()=>[_t(h.$slots,"panel",{},()=>[p[1]||(p[1]=E("div",{style:{"background-color":"#ffffff"}},"...",-1))])]),_:3})],4)]),_:3},8,["isGlobal","closeWhenClickOverlay"])],64))}}),_v={class:"dialog-parent"},xv={key:0,class:"title"},wv={key:0,class:"title-inner truncate"},kv={class:"custom-content"},Cv={class:"custom-content-default"},Tv={key:1,class:"btns"},Zn=nt(H({customOptions:{Overlay:oo,Pop:ke,Icon:Ss,Button:qt},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(s,{expose:t,emit:e}){const o=s,r=e,n=R(),a=R(""),i=R(""),l=R(!1),c=R(""),u=R("");let d,h,p;const f=()=>{r("open")},b=()=>{d?.(),r("close")};function w(m){a.value=m?.title||"",i.value=m?.content||"",l.value=typeof m?.showClose=="boolean"?m?.showClose:!1,c.value=m?.cancelText||"",u.value=m?.confirmText||"",d=m?.onClose,h=m?.onCancel,p=m?.onConfirm,n.value.open()}function x(){n.value.close()}function v(){x(),h?.(),r("cancel")}function g(){x(),p?.(),r("confirm")}return t({open:w,close:x}),(m,_)=>(L(),$t(ke,{ref_key:"popRef",ref:n,directionFrom:"center",closeWhenClickOverlay:o.closeWhenClickOverlay,dur:o.dur,overlayBgColor:o.overlayBgColor,onOpen:f,onClose:b},{default:bt(()=>[E("div",_v,[E("div",{class:"dialog",style:A({minWidth:o.minWidth,maxWidth:o.maxWidth})},[a.value||l.value?(L(),z("div",xv,[a.value?(L(),z("div",wv,yt(a.value),1)):Rt("",!0),l.value?(L(),z("div",{key:1,class:"close",onClick:x},[it(Ss,{icon:"ic:baseline-close",color:Ct(vt).colorGrayCC},null,8,["color"])])):Rt("",!0)])):Rt("",!0),E("div",kv,[_t(m.$slots,"default",{},()=>[E("div",Cv,yt(i.value),1)],!0)]),c.value||u.value?(L(),z("div",Tv,[c.value?(L(),$t(qt,{key:0,onClick:v,class:"btn",bgColor:Ct(vt).colorGrayE6,borderColor:Ct(vt).colorGrayE6,fontColor:Ct(vt).colorGray33,borderRadius:"0"},{default:bt(()=>[Ht(yt(c.value),1)]),_:1},8,["bgColor","borderColor","fontColor"])):Rt("",!0),u.value?(L(),$t(qt,{key:1,onClick:g,class:"btn",borderRadius:"0"},{default:bt(()=>[Ht(yt(u.value),1)]),_:1})):Rt("",!0)])):Rt("",!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}
117
- `]],["__scopeId","data-v-061fc404"]]),Sv={class:"dialog-parent"},Ev={key:0,class:"title"},Pv={key:0,class:"title-inner truncate"},Ov={class:"custom-content"},Rv={class:"custom-content-default"},Iv={key:1,class:"btns"},Fv=H({customOptions:{Overlay:oo,Pop:ke,Icon:Ss,Button:qt},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(s,{expose:t,emit:e}){const o=s,r=e,n=R(),a=R(""),i=R(""),l=R(!1),c=R(""),u=R("");let d,h,p;const f=()=>{r("open")},b=()=>{d?.(),r("close")};function w(m){a.value=m?.title||"",i.value=m?.content||"",l.value=typeof m?.showClose=="boolean"?m?.showClose:!1,c.value=m?.cancelText||"",u.value=m?.confirmText||"",d=m?.onClose,h=m?.onCancel,p=m?.onConfirm,n.value.open()}function x(){n.value.close()}function v(){x(),h?.(),r("cancel")}function g(){x(),p?.(),r("confirm")}return t({open:w,close:x}),(m,_)=>(L(),$t(ke,{ref_key:"popRef",ref:n,directionFrom:"center",closeWhenClickOverlay:o.closeWhenClickOverlay,dur:o.dur,overlayBgColor:o.overlayBgColor,onOpen:f,onClose:b},{default:bt(()=>[E("div",Sv,[E("div",{class:"dialog",style:A({minWidth:o.minWidth,maxWidth:o.maxWidth})},[a.value||l.value?(L(),z("div",Ev,[a.value?(L(),z("div",Pv,yt(a.value),1)):Rt("",!0),l.value?(L(),z("div",{key:1,class:"close",onClick:x},[it(Ss,{icon:"ic:baseline-close",color:Ct(vt).colorGrayCC},null,8,["color"])])):Rt("",!0)])):Rt("",!0),E("div",Ov,[_t(m.$slots,"default",{},()=>[E("div",Rv,yt(i.value),1)],!0)]),c.value||u.value?(L(),z("div",Iv,[c.value?(L(),$t(qt,{key:0,onClick:v,class:"btn",bgColor:Ct(vt).colorGrayE6,borderColor:Ct(vt).colorGrayE6,fontColor:Ct(vt).colorGray33,borderRadius:"0"},{default:bt(()=>[Ht(yt(c.value),1)]),_:1},8,["bgColor","borderColor","fontColor"])):Rt("",!0),u.value?(L(),$t(qt,{key:1,onClick:g,class:"btn",borderRadius:"0"},{default:bt(()=>[Ht(yt(u.value),1)]),_:1})):Rt("",!0)])):Rt("",!0)],4)])]),_:3},8,["closeWhenClickOverlay","dur","overlayBgColor"]))}}),M2="",qn=nt(Fv,[["__scopeId","data-v-f9df8635"]]),Dv={class:"loading-8"},$v={viewBox:"25 25 50 50"},Lv=H({__name:"Loading8",props:{color:{default:vt.colorPrimary}},setup(s){const t=s;return(e,o)=>(L(),z("div",Dv,[(L(),z("svg",$v,[E("circle",{cx:"50",cy:"50",r:"20",style:A(["stroke: "+t.color])},null,4)]))]))}}),N2="",yf=nt(Lv,[["__scopeId","data-v-e5e3cf4c"]]),Av={class:"loading"},Mv={class:"icon"},Nv={style:{width:"8em"}},zv={key:0,class:"content"},vf=nt(H({customOptions:{Overlay:oo,Pop:ke,Dialog:qn,Loading8:yf},inheritAttrs:!0,__name:"DialogLoading.ce",props:{closeWhenClickOverlay:{type:Boolean,default:!1},dur:{default:200}},emits:["open","close"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=R(),a=R(""),i=()=>{r("open")},l=()=>{r("close")};function c(d){a.value=d||"",n.value.open()}function u(){n.value.close()}return t({open:c,close:u}),(d,h)=>(L(),$t(qn,{ref_key:"dialogRef",ref:n,showConfirm:!1,showTitle:!1,closeWhenClickOverlay:o.closeWhenClickOverlay,dur:o.dur,onOpen:i,onClose:l},{default:bt(()=>[E("div",Av,[E("div",Mv,[_t(d.$slots,"default",{},()=>[E("div",Nv,[it(yf)])],!0)]),a.value?(L(),z("div",zv,yt(a.value),1)):Rt("",!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}
118
- `]],["__scopeId","data-v-2227dca8"]]),Vv={class:"toast"},Bv={class:"content"},bf=nt(H({customOptions:{Overlay:oo,Pop:ke,Dialog:qn},inheritAttrs:!0,__name:"DialogToast.ce",props:{closeWhenClickOverlay:{type:Boolean,default:!1},dur:{default:200}},emits:["open","close"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=R(),a=R(""),i=()=>{r("open")},l=()=>{r("close")};function c(d,h=1500){a.value=d,n.value.open(),setTimeout(()=>{u()},h)}function u(){n.value.close()}return t({open:c,close:u}),(d,h)=>(L(),$t(qn,{ref_key:"dialogRef",ref:n,showConfirm:!1,showTitle:!1,closeWhenClickOverlay:o.closeWhenClickOverlay,dur:o.dur,overlayBgColor:"transparent",minWidth:"10em",onOpen:i,onClose:l},{default:bt(()=>[E("div",Vv,[E("div",Bv,yt(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}
119
- `]],["__scopeId","data-v-c02c226c"]]),rl=H({customOptions:{Container:kt,CSSAnimation:Yo},inheritAttrs:!0,__name:"Page.ce",props:{effect:{default:"moveFromLeft"},duration:{default:500},easeFunction:{type:Function,default:dt.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["ready","pageOpenStart","pageOpenEnd","pageCloseStart","pageCloseEnd"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=R(),a=Jt({}),i=()=>{r("ready",k,Z)},l=()=>{b()},c=R();let u="rotateRightSideFirst",d=o.effect;function h(ot,I){switch(d){case"static":I();break;default:ot();break}}let p=!1;const f=new Fe,b=()=>{const ot={},I={};f.clear(),f.frameDuration=o.duration,h(()=>{u=d},()=>{f.addTween(ot,I,{delay:o.delay/o.duration,easeFunction:o.easeFunction,onStart:()=>{r(p?"pageCloseStart":"pageOpenStart")},onUpdate:$=>{a.transform="","x"in $&&(a.transform+=` translateX(${$.x}%)`),"y"in $&&(a.transform+=` translateY(${$.y}%)`),"rx"in $&&(a.transform+=` rotateX(${$.rx}deg)`),"ry"in $&&(a.transform+=` rotateY(${$.ry}deg)`),"scale"in $&&(a.transform+=` scale(${$.scale})`),"opacity"in $&&(a.opacity=`${$.opacity}`)},onComplete:()=>{r(p?"pageCloseEnd":"pageOpenEnd")}})})};Et(()=>[o.effect,o.delay,o.duration,o.easeFunction],()=>{d=o.effect,b()},{immediate:!0});const w=()=>{r(p?"pageCloseStart":"pageOpenStart")},x=()=>{r(p?"pageCloseEnd":"pageOpenEnd")},v=()=>{h(()=>{c.value.trigger(u)},()=>{f.play()})},g=()=>{h(()=>{c.value.triggerReverse(u)},()=>{f.reverse()})},m=()=>{a.transform="none",a.opacity="1"};function _(){h(()=>{m()},()=>{c.value?.clear()})}const k=ot=>{ot&&(d=ot,b()),p=!1,_(),v()},Z=ot=>{ot&&(d=ot,b()),p=!0,_(),g()};return t({open:k,close:Z,clear:m,getElement:()=>n.value.getElement()}),(ot,I)=>(L(),$t(kt,{class:"page",ref_key:"pageRef",ref:n,type:"full",effectTriggerTiming:"manual",style:{overflow:"hidden",width:"100%",height:"100%"},onReady:i,onResize:l},{default:bt(()=>[it(Yo,{ref_key:"cssAnimationRef",ref:c,containerType:"full",effectTriggerTiming:"manual",duration:o.duration,delay:o.delay,timingFunction:o.timingFunction,onCssanimationstart:w,onCssanimationend:x},{default:bt(()=>[E("div",{class:"page-inner",style:A({position:"relative",display:"block",width:"100%",height:"100%",overflow:"scroll",backfaceVisibility:"hidden",transformStyle:"preserve-3d",...a})},[_t(ot.$slots,"default")],4)]),_:3},8,["duration","delay","timingFunction"])]),_:3},512))}}),nl=H({customOptions:{Page:Hn,Container:kt},inheritAttrs:!0,__name:"Routes.ce",props:{effect:{default:"moveToLeft"},duration:{default:500},easeFunction:{type:Function,default:dt.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["routeChangeStart","routeChangeEnd","renderComplete"],setup(s,{expose:t,emit:e}){const o=s,r=e;let n=-1,a=-1,i;const l=[];let c=[],u=[],d=[];function h(B){return B>=0&&B<c.length}function p(){return a>n}function f(B,P,Yt){switch(B){case n:return p()?P:Yt;case a:return p()?Yt:P;default:return"static"}}function b(B,P){switch(B){case"moveToLeft":return f(P,"moveToLeft","moveFromRight");case"moveToRight":return f(P,"moveToRight","moveFromLeft");case"moveToTop":return f(P,"moveToTop","moveFromBottom");case"moveToBottom":return f(P,"moveToBottom","moveFromTop");case"moveFromLeftPrevFade":return f(P,"fade","moveFromLeft");case"moveFromRightPrevFade":return f(P,"fade","moveFromRight");case"moveFromTopPrevFade":return f(P,"fade","moveFromTop");case"moveFromBottomPrevFade":return f(P,"fade","moveFromBottom");case"moveToLeftFade":return f(P,"moveToLeftFade","moveFromRightFade");case"moveToRightFade":return f(P,"moveToRightFade","moveFromLeftFade");case"moveToTopFade":return f(P,"moveToTopFade","moveFromBottomFade");case"moveToBottomFade":return f(P,"moveToBottomFade","moveFromTopFade");case"moveToLeftEasing":return f(P,"moveToLeft","moveFromRight");case"moveToRightEasing":return f(P,"moveToRight","moveFromLeft");case"moveToTopEasing":return f(P,"moveToTop","moveFromBottom");case"moveToBottomEasing":return f(P,"moveToBottom","moveFromTop");case"moveFromLeftPrevScaleToSmall":return f(P,"scaleToSmall","moveFromLeft");case"moveFromRightPrevScaleToSmall":return f(P,"scaleToSmall","moveFromRight");case"moveFromTopPrevScaleToSmall":return f(P,"scaleToSmall","moveFromTop");case"moveFromBottomPrevScaleToSmall":return f(P,"scaleToSmall","moveFromBottom");case"scaleSmall":return f(P,"scaleToSmall","scaleFromLarge");case"scaleLarge":return f(P,"scaleToLarge","scaleFromSmall");case"scaleToLargePrevScaleToSmall":return f(P,"scaleToSmallCenter","scaleFromSmallCenter");case"scaleFromSmallPrevMoveToLeft":return f(P,"moveToLeft","scaleFromSmall");case"scaleFromSmallPrevMoveToRight":return f(P,"moveToRight","scaleFromSmall");case"scaleFromSmallPrevMoveToTop":return f(P,"moveToTop","scaleFromSmall");case"scaleFromSmallPrevMoveToBottom":return f(P,"moveToBottom","scaleFromSmall");case"glueToLeft":return f(P,"rotateRightSideFirst","moveFromRight");case"glueToRight":return f(P,"rotateLeftSideFirst","moveFromLeft");case"glueToTop":return f(P,"rotateBottomSideFirst","moveFromBottom");case"glueToBottom":return f(P,"rotateTopSideFirst","moveFromTop");case"flipToLeft":return f(P,"flipOutLeft","flipInRight");case"flipToRight":return f(P,"flipOutRight","flipInLeft");case"flipToTop":return f(P,"flipOutTop","flipInBottom");case"flipToBottom":return f(P,"flipOutBottom","flipInTop");case"rotateFall":return f(P,"rotateFall","scaleFromSmall");case"newspaper":return f(P,"rotateOutNewspaper","rotateInNewspaper");case"moveFromLeftPrevPush":return f(P,"rotatePushRight","moveFromLeft");case"moveFromRightPrevPush":return f(P,"rotatePushLeft","moveFromRight");case"moveFromTopPrevPush":return f(P,"rotatePushBottom","moveFromTop");case"moveFromBottomPrevPush":return f(P,"rotatePushTop","moveFromBottom");case"pullFromLeftPrevPush":return f(P,"rotatePushRight","rotatePullLeft");case"pullFromRightPrevPush":return f(P,"rotatePushLeft","rotatePullRight");case"pullFromTopPrevPush":return f(P,"rotatePushBottom","rotatePullTop");case"pullFromBottomPrevPush":return f(P,"rotatePushTop","rotatePullBottom");case"moveFromLeftFadePrevFold":return f(P,"rotateFoldRight","moveFromLeftFade");case"moveFromRightFadePrevFold":return f(P,"rotateFoldLeft","moveFromRightFade");case"moveFromTopFadePrevFold":return f(P,"rotateFoldBottom","moveFromTopFade");case"moveFromBottomFadePrevFold":return f(P,"rotateFoldTop","moveFromBottomFade");case"moveToLeftFadePrevUnfold":return f(P,"moveToLeftFade","rotateUnfoldRight");case"moveToRightFadePrevUnfold":return f(P,"moveToRightFade","rotateUnfoldLeft");case"moveToTopFadePrevUnfold":return f(P,"moveToTopFade","rotateUnfoldBottom");case"moveToBottomFadePrevUnfold":return f(P,"moveToBottomFade","rotateUnfoldTop");case"rotateRoomLeftIn":return f(P,"rotateRoomLeftOut","rotateRoomLeftIn");case"rotateRoomRightIn":return f(P,"rotateRoomRightOut","rotateRoomRightIn");case"rotateRoomTopIn":return f(P,"rotateRoomTopOut","rotateRoomTopIn");case"rotateRoomBottomIn":return f(P,"rotateRoomBottomOut","rotateRoomBottomIn");case"rotateCubeLeftIn":return f(P,"rotateCubeLeftOut","rotateCubeLeftIn");case"rotateCubeRightIn":return f(P,"rotateCubeRightOut","rotateCubeRightIn");case"rotateCubeTopIn":return f(P,"rotateCubeTopOut","rotateCubeTopIn");case"rotateCubeBottomIn":return f(P,"rotateCubeBottomOut","rotateCubeBottomIn");case"rotateCarouselLeftIn":return f(P,"rotateCarouselLeftOut","rotateCarouselLeftIn");case"rotateCarouselRightIn":return f(P,"rotateCarouselRightOut","rotateCarouselRightIn");case"rotateCarouselTopIn":return f(P,"rotateCarouselTopOut","rotateCarouselTopIn");case"rotateCarouselBottomIn":return f(P,"rotateCarouselBottomOut","rotateCarouselBottomIn");case"rotateSidesIn":return f(P,"rotateSidesOut","rotateSidesIn");case"rotateSlideIn":return f(P,"rotateSlideOut","rotateSlideIn")}}function w(B,P=600,Yt=600){switch(B){case n:return P;case a:return Yt;default:return o.duration}}function x(B,P){switch(B){case"moveFromLeftFadePrevFold":case"moveFromRightFadePrevFold":case"moveFromTopFadePrevFold":case"moveFromBottomFadePrevFold":return w(P,700,700);case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":case"moveFromLeftPrevScaleToSmall":case"moveFromRightPrevScaleToSmall":case"moveFromTopPrevScaleToSmall":case"moveFromBottomPrevScaleToSmall":return w(P,700,600);case"scaleSmall":return w(P,700,500);case"scaleLarge":return w(P,500,700);case"scaleToLargePrevScaleToSmall":return w(P,400,400);case"scaleFromSmallPrevMoveToLeft":case"scaleFromSmallPrevMoveToRight":case"scaleFromSmallPrevMoveToTop":case"scaleFromSmallPrevMoveToBottom":return w(P,600,700);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":return w(P,800,600);default:return o.duration}}let v=o.timingFunction;function g(B){switch(B){default:return o.easeFunction}}function m(B,P){switch(B){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":switch(P){case n:v=p()?"ease-in-out":"ease";break;case a:default:v=p()?"ease":"ease-in-out"}return g(P);default:return v=o.timingFunction,o.easeFunction}}function _(B,P=300){switch(B){case a:return o.delay+P;default:return o.delay}}function k(B,P){switch(B){case"flipToLeft":case"flipToRight":case"flipToTop":case"flipToBottom":case"newspaper":return _(P,500);case"scaleSmall":case"scaleLarge":return _(P,300);case"scaleToLargePrevScaleToSmall":return _(P,400);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":case"rotateSidesIn":return _(P,200);case"pullFromLeftPrevPush":case"pullFromRightPrevPush":case"pullFromTopPrevPush":case"pullFromBottomPrevPush":return _(P,180);default:return o.delay}}let Z=2,ot=2;const I=()=>{Z=2,ot=2},$=()=>{Z=2,ot=3},M=()=>{Z=3,ot=2};function D(B){switch(o.effect){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":M();break;case"scaleFromSmallPrevMoveToLeft":case"scaleFromSmallPrevMoveToRight":case"scaleFromSmallPrevMoveToTop":case"scaleFromSmallPrevMoveToBottom":case"rotateFall":case"rotateRoomLeftIn":case"rotateRoomRightIn":case"rotateRoomTopIn":case"rotateRoomBottomIn":case"rotateCubeLeftIn":case"rotateCubeRightIn":case"rotateCubeTopIn":case"rotateCubeBottomIn":case"rotateCarouselLeftIn":case"rotateCarouselRightIn":case"rotateCarouselTopIn":case"rotateCarouselBottomIn":p()?M():$();break;case"moveFromLeftPrevFade":case"moveFromRightPrevFade":case"moveFromTopPrevFade":case"moveFromBottomPrevFade":case"moveFromLeftPrevScaleToSmall":case"moveFromRightPrevScaleToSmall":case"moveFromTopPrevScaleToSmall":case"moveFromBottomPrevScaleToSmall":case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":p()?$():M();break;default:I();break}h(n)&&n==B&&(d[n].style.zIndex=`${Z}`,d[n].style.visibility="visible"),h(a)&&a==B&&(d[a].style.zIndex=`${ot}`,d[a].style.visibility="visible")}function N(B){$(),B==n&&(d[n].style.zIndex=`${Z}`,d[n].style.visibility="hidden"),B==a&&(d[a].style.zIndex=`${ot}`,d[a].style.visibility="visible",l.shift()?.(),r("routeChangeEnd",n,a,c.length),n=a)}const X=R();function rt(B=0,P=!1){if(!X.value)return;let Yt=0;pn(te("div",{class:"routes-pages",style:{display:"block",width:"100%",height:"100%",overflow:"hidden",position:"relative"}},c.map((At,Pt)=>{const se=b(o.effect,Pt);return te("div",Object.assign({class:"routes-page",style:{display:"block",width:"100%",height:"100%",overflow:"hidden",position:"absolute",top:"0",left:"0",backfaceVisibility:"hidden",transform:"translate3d(0, 0, 0)",transformStyle:"preserve-3d",visibility:n==Pt?"visible":"hidden",zIndex:P?"1":"0"}},At.pageKey?{key:At.pageKey}:{}),te(Hn,{effect:se,duration:x(o.effect,Pt),easeFunction:m(o.effect,Pt),timingFunction:v,delay:k(o.effect,Pt),onReady:(Xt,U)=>{u[Pt]={open:Xt,close:U},++Yt==B&&(i?.(),r("renderComplete"))},onPageOpenStart:()=>{D(Pt)},onPageOpenEnd:()=>{N(Pt)},onPageCloseStart:()=>{D(Pt)},onPageCloseEnd:()=>{N(Pt)}},{default:()=>At.component instanceof HTMLElement?te("div",{...At.attributes,innerHTML:At.component.innerHTML}):te(At.component,At.attributes,()=>At.child)}))})),X.value),d=X.value.children[0].children}Et(()=>o.effect,()=>{rt()});function Q(B=[]){c=[...B],c.forEach(P=>{P.pageKey=P.pageKey||$o()}),i=()=>{n=-1,pt(0)},rt(c.length,!0)}function W(B){B.pageKey=B.pageKey||$o(),c.push(B),i=()=>{pt(c.length-1)},rt(1,c.length==1)}function lt(){c.length<=1||pt(c.length-2,()=>{c.splice(c.length-1,1),n=c.length-1,rt()})}function G(){pt(n+1)}function j(){pt(n-1)}const gt=new vn(1);function pt(B,P){gt.addTask(()=>new Promise(Yt=>{const At=()=>{P?.(),Yt()};if(!h(B)){At();return}if(a=B,a==n){At();return}l.push(At),rt(),r("routeChangeStart",n,a,c.length),p()?(h(n)&&u[n].open(),h(a)&&u[a].open()):(h(n)&&u[n].close(),h(a)&&u[a].close())}))}return t({reset:Q,push:W,pop:lt,forward:G,back:j,goto:pt,currentPageIndex:()=>n,totalPages:()=>c.length}),(B,P)=>(L(),z("div",{class:"routes",ref_key:"routesRef",ref:X,style:{display:"block",position:"relative",width:"100%",height:"100%","overflow-x":"hidden","overflow-y":"hidden"}},null,512))}}),Yv={class:"tabs"},Xv=["onClick"],Gv={class:"content"},Uv=nt(H({customOptions:{},inheritAttrs:!0,__name:"Tabs.ce",props:{labels:{},pages:{},initIndex:{default:0}},emits:["changedIndex"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=R(o.initIndex),a=Jt([]),i=R(),l=R(0),c=R(0),u=R(0),d=R([]),h=[],p=qp(),f=p.default&&p.default();f&&(mr(a,f),x(n.value));const b=(g,m)=>{if(g){if(h.push({index:m,el:g}),h.length<a.length)return;d.value=h}};Et([i,d],()=>{w()});function w(){if(i.value&&d.value.length){const g=i.value.getBoundingClientRect(),m=d.value[n.value].el.getBoundingClientRect();l.value=m.x-g.x,c.value=m.y-g.y+m.height-2,u.value=m.width}}function x(g){n.value=g,r("changedIndex",g),w(),v.value.goto(g)}const v=R();return Et(v,()=>{v.value&&v.value.reset(o.pages,()=>{v.value.goto(o.initIndex)})}),t({}),(g,m)=>(L(),z("div",Yv,[E("div",{class:"header",ref_key:"headerRef",ref:i},[(L(!0),z(Vt,null,xe(o.labels,(_,k)=>(L(),z("div",{key:_,class:oe(k==n.value?"active":""),onClick:Z=>x(k)},[E("div",{ref_for:!0,ref:Z=>b(Z,k)},yt(_),513)],10,Xv))),128)),E("div",{class:"indicator",style:A({top:c.value+"px",left:l.value+"px",width:u.value+"px",height:"2px"})},null,4)],512),E("div",Gv,[it(sl,{ref_key:"routesRef",ref:v},null,512)])]))}}),[["styles",[`.tabs[data-v-a49dc86a]{display:flex;flex-direction:column;width:100%;height:100%}.content[data-v-a49dc86a]{flex:1 1 auto}.header[data-v-a49dc86a]{flex:0 0 auto;position:relative;display:flex;font-size:14px;line-height:1;color:#999;box-sizing:border-box}.header .active[data-v-a49dc86a]{color:#5a82f0}.header>div[data-v-a49dc86a]{flex:1 1 auto;cursor:pointer;text-align:center;display:flex;justify-content:center;align-items:center;font-weight:700;background-color:#fff;position:relative;box-sizing:border-box}.header>div>div[data-v-a49dc86a]{box-sizing:border-box;padding:10px 0}.header>div.indicator[data-v-a49dc86a]{display:inline-block;flex:0;position:absolute;background-color:#5a82f0;transition:all ease-out .2s}
120
- `]],["__scopeId","data-v-a49dc86a"]]),jv=["width","height"],Hv=H({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(s,{expose:t,emit:e}){const o=s;let r=()=>{};const n=R();return Et(n,()=>{if(!n.value)return;const a=new ns(n.value),i=new qi(a,!0);i.ctx.strokeStyle=o.brushColor,i.ctx.lineWidth=o.brushSize,i.drawMouseMoveLine("line"),r=()=>{me.downloadFromSVGString(i.ctx.toRawSVG().raw,o.downloadFileName)}}),t({download:()=>r()}),(a,i)=>(L(),z("canvas",{ref_key:"panelRef",ref:n,width:o.canvasWidth,height:o.canvasHeight,style:A([`border: 1px solid ${a.borderColor}`])},null,12,jv))}}),al=nt(H({__name:"ProgressBar.ce",props:{bgColor:{default:"#efefef"},progressColor:{default:"#a0dde9"},borderColor:{default:"#eeeeee"},borderRadius:{default:"4px"},showText:{type:Boolean,default:!1}},emits:["complete"],setup(s,{expose:t,emit:e}){const o=s,r=R(0);function n(a){r.value=Math.min(Math.max(0,a),100)}return t({goto:n}),(a,i)=>(L(),z("div",{class:"bar",style:A({border:`1px solid ${o.borderColor}`,borderRadius:o.borderRadius,backgroundColor:o.bgColor})},[E("div",{class:"bar-inner",style:A({width:r.value+"%",backgroundColor:o.progressColor})},yt(o.showText?r.value+"%":""),5)],4))}}),[["styles",[`.bar[data-v-2492fe8d]{position:relative;overflow:hidden;width:100%;height:100%}.bar-inner[data-v-2492fe8d]{position:absolute;top:0;left:0;width:0;height:100%;text-align:center;font-size:12px;display:flex;justify-content:center;align-items:center;color:#666}
121
- `]],["__scopeId","data-v-2492fe8d"]]),Wv={class:"page-vertical-scroll-progress-bar"},_f=nt(H({customOptions:{ProgressBar:jn},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(s,{expose:t,emit:e}){const o=s,r=e,n=R(),a=Ey();return a.on(()=>{const i=Ly();r("progress",i),n.value?.goto(i)}),re(()=>{a.destroy()}),t({}),(i,l)=>(L(),z("div",Wv,[it(jn,{ref_key:"bar",ref:n,bgColor:o.bgColor,progressColor:o.progressColor,borderColor:o.borderColor,borderRadius:o.borderRadius,duringTimeGap:o.duringTimeGap,showText:o.showText},null,8,["bgColor","progressColor","borderColor","borderRadius","duringTimeGap","showText"])]))}}),[["styles",[`.page-vertical-scroll-progress-bar[data-v-7a4e1639]{position:relative;overflow:hidden;width:100%;height:100%}
122
- `]],["__scopeId","data-v-7a4e1639"]]),Zv=["fill"],qv=["fill"],Qv=H({__name:"SVGCheck",props:{width:{default:"10px"},color:{default:vt.colorPrimary}},setup(s){const t=s;return(e,o)=>(L(),z("svg",{style:A(["width: "+t.width]),viewBox:"0 0 7 5",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[E("path",{d:"M0.153989 2.49994C-0.0513296 2.28468 -0.0513296 1.93567 0.153989 1.72041C0.359307 1.50514 0.692194 1.50514 0.897512 1.72041L3.12808 4.05902C3.3334 4.27428 3.3334 4.62329 3.12808 4.83855C2.92276 5.05382 2.58988 5.05382 2.38456 4.83855L0.153989 2.49994Z",fill:t.color},null,8,Zv),E("path",{d:"M6.10249 0.161447C6.30781 -0.0538159 6.64069 -0.0538157 6.84601 0.161447C7.05133 0.376711 7.05133 0.725721 6.84601 0.940984L3.12808 4.83855C2.92276 5.05382 2.58988 5.05382 2.38456 4.83855C2.17924 4.62329 2.17955 4.27439 2.38487 4.05913L6.10249 0.161447Z",fill:t.color},null,8,qv)],4))}}),Z2="",xf=nt(Qv,[["__scopeId","data-v-987aed3d"]]),Kv=s=>{const t={};if(s.attributes)for(let e=0,o=s.attributes,r=o.length;e<r;e++){const n=o[e];n.nodeName&&n.nodeValue&&(t[n.nodeName]=n.nodeValue)}return t},Jv=H({__name:"SVGCleanUp",props:{width:{default:"16px"},color:{default:vt.colorPrimary}},setup(s){const t=s;return(e,o)=>(L(),z("svg",{style:A(["width: "+t.width]),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},o[0]||(o[0]=[E("path",{d:"M38,32.71a1.13,1.13,0,0,1-.8-.33L21.57,16.8a1.13,1.13,0,0,1,1.61-1.6L38.75,30.77a1.14,1.14,0,0,1-.8,1.94Z"},null,-1),E("path",{d:"M22.38,32.71a1.17,1.17,0,0,1-.81-.33,1.15,1.15,0,0,1,0-1.61L37.15,15.2a1.13,1.13,0,1,1,1.6,1.6L23.18,32.38A1.13,1.13,0,0,1,22.38,32.71Z"},null,-1),E("path",{d:"M18.68,3.79h-3.1l-15.64,20L15.33,43.45l.25.33H47.94v-40ZM3,23.79,16.73,6.3H45.3v35H16.73Z"},null,-1)]),4))}}),q2="",il=nt(Jv,[["__scopeId","data-v-85491020"]]);function Q2(s){return s}document.getElementById("teleport")||document.documentElement;function tb(s,t){{const e=document.querySelector("yz-dialog-toast#globalDialogToast");e&&"_instance"in e&&e._instance.exposed.open(s,t)}}function eb(s){{const t=document.querySelector("yz-dialog-loading#globalDialogLoading");return t&&"_instance"in t&&t._instance.exposed.open(s),()=>{t&&"_instance"in t&&t._instance.exposed.close()}}}function sb(s){{const t=document.querySelector("yz-dialog#globalDialog");return t&&"_instance"in t&&t._instance.exposed.open(s),()=>{t&&"_instance"in t&&t._instance.exposed.close()}}}function Xo(s,t="bottom",e){let o;s instanceof HTMLElement?o=te(ke,{directionFrom:t,popBgColor:e?.popBgColor||"#ffffff",absoluteLeft:e?.absoluteLeft,absoluteTop:e?.absoluteTop,absoluteWidth:e?.absoluteWidth,absoluteHeight:e?.absoluteHeight},()=>te("div",{...Kv(s),innerHTML:s.innerHTML})):o=te(ke,{directionFrom:t,popBgColor:e?.popBgColor||"#ffffff",absoluteLeft:e?.absoluteLeft,absoluteTop:e?.absoluteTop,absoluteWidth:e?.absoluteWidth,absoluteHeight:e?.absoluteHeight},()=>s),pn(o,document.getElementById("teleport")||document.documentElement),o.component?.exposed?.open();const r=()=>{o.component?.exposed?.close()};return r.vnode=o,r}function wf(s,t){return Xo(s,"bottom",t)}function kf(s,t){return Xo(s,"top",t)}function Cf(s,t){return Xo(s,"left",t)}function Tf(s,t){return Xo(s,"right",t)}function Sf(s,t){return Xo(s,"center",t)}function Ef(s,t){return Xo(s,"absolute",t)}const ob=()=>wf(te("div",{style:"padding: 30px;"},te("yz-input",{placeholder:"请输入邮箱",validator:Lo}))),rb=()=>kf(te("div",{style:"padding: 30px;"},te("yz-input",{placeholder:"请输入邮箱",validator:Lo}))),nb=()=>Cf(te("div",{style:"padding: 30px;"},te("yz-input",{placeholder:"请输入邮箱",validator:Lo}))),ab=()=>Tf(te("div",{style:"padding: 30px;"},te("yz-input",{placeholder:"请输入邮箱",validator:Lo}))),ib=()=>Sf(te("div",{style:"width: 200px;height: 200px;padding: 30px;"},te("yz-input",{placeholder:"请输入邮箱",validator:Lo}))),lb=()=>Ef(te("div",{style:"width: 200px;height: 200px;padding: 30px;"},te("yz-input",{placeholder:"请输入邮箱",validator:Lo})),{absoluteLeft:"50%",absoluteTop:"50%",absoluteWidth:"200px",absoluteHeight:"200px"});let Qn;function Pf(s){{const t=document.querySelector("yz-plate-keyboard#globalPlateKeyboard");return t&&"_instance"in t&&(Qn&&t.removeEventListener("plates",Qn),Qn=e=>{"detail"in e&&s?.onPlates?.(e.detail[0])},t.addEventListener("plates",Qn),t.initPlates=s?.initPlates,t.completePlateLength=s?.completePlateLength,t._instance.exposed.open()),()=>{t&&"_instance"in t&&t._instance.exposed.close()}}}const cb={class:"plate-types"},ub=["onClick"],db={class:"plate-numbers"},fb=["onClick"],Of=nt(H({customOptions:{SVGCheck:xf},__name:"PlateMobile.ce",props:{maxWidth:{default:"750px"}},emits:["clear","complete"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=[{name:"蓝牌",style:"background-color: #0078f0;",completePlateLength:7},{name:"绿牌",style:"background-color: #00f08c;",completePlateLength:8},{name:"黄牌",style:"background-color: #fac800;",completePlateLength:7},{name:"黄绿",style:"background: linear-gradient(90deg, #fac800 51.5%, #00f08c 51.51%);",completePlateLength:8},{name:"黑牌",style:"background-color: #222222;",completePlateLength:7}],a=R(0),i=Jt([]),l=R(-1);function c(){Pf({initPlates:i,completePlateLength:n[a.value].completePlateLength,onPlates:h=>{mr(i,h),l.value=i.length,i.length===n[a.value].completePlateLength&&r("complete",n[a.value].name,i.join(""))}})}const u=h=>{a.value=h,l.value<=n[h].completePlateLength&&i.length<n[h].completePlateLength?(l.value=i.length,c(),r("clear")):mr(i,i.slice(0,n[h].completePlateLength)),n[h].completePlateLength===i.length&&r("complete",n[a.value].name,i.join(""))},d=h=>{mr(i,i.slice(0,h)),l.value=Math.min(Math.max(0,l.value),h),c(),r("clear")};return t({}),(h,p)=>(L(),z("div",Ha(h.$attrs,{class:"plate-mobile",style:{maxWidth:o.maxWidth}}),[p[3]||(p[3]=E("div",{class:"title"},"车牌颜色",-1)),E("div",cb,[(L(),z(Vt,null,xe(n,(f,b)=>E("div",{key:b,class:oe(b==a.value?"checked":""),onClick:w=>u(b)},[E("div",{style:A(f.style)},null,4),E("div",null,yt(f.name),1),E("div",null,[it(xf,{color:"#ffffff",width:"0.14rem"})])],10,ub)),64))]),p[4]||(p[4]=E("div",{class:"title"},"车牌号码",-1)),E("div",db,[E("div",{onClick:p[0]||(p[0]=f=>d(0)),class:oe(l.value==0?"current":"")},yt(i[0]),3),E("div",{onClick:p[1]||(p[1]=f=>d(1)),class:oe(l.value==1?"current":"")},yt(i[1]),3),p[2]||(p[2]=E("div",{class:"dot"},"·",-1)),(L(!0),z(Vt,null,xe(n[a.value].completePlateLength-2,f=>(L(),z("div",{key:f,class:oe(f+1==l.value?"current":""),onClick:b=>d(f+1)},yt(i[f+1]),11,fb))),128))]),p[5]||(p[5]=E("div",{class:"info"},"请输入您真实有效的车牌号,便于正常使用系统功能。",-1))],16))}}),[["styles",[`.plate-mobile[data-v-8d96d860]{background-color:#fff;overflow:hidden;border-radius:.16rem;padding-bottom:.3rem;padding-left:.3rem;padding-right:.3rem}.title[data-v-8d96d860]{font-size:16px;line-height:1;color:#333;font-weight:700;text-align:center;margin-top:.4rem;margin-bottom:.2rem}.plate-types[data-v-8d96d860]{display:flex;justify-content:center}.plate-types>div[data-v-8d96d860]{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;width:1.2rem;height:.88rem;border-radius:.08rem;background-color:#f5f5f5;cursor:pointer;overflow:hidden}.plate-types>div>div[data-v-8d96d860]:nth-child(1){width:.28rem;height:.28rem;margin-bottom:.1rem;border-radius:50%;background-color:#0078f0}.plate-types>div:nth-child(2)>div[data-v-8d96d860]:nth-child(1){background-color:#00f08c}.plate-types>div:nth-child(3)>div[data-v-8d96d860]:nth-child(1){background-color:#fac800}.plate-types>div:nth-child(4)>div[data-v-8d96d860]:nth-child(1){background:linear-gradient(90deg,#fac800 51.5%,#00f08c 51.51%)}.plate-types>div:nth-child(5)>div[data-v-8d96d860]:nth-child(1){background-color:#222}.plate-types>div>div[data-v-8d96d860]:nth-child(2){color:#ccc;font-size:14px;line-height:1;font-weight:700}.plate-types>div>div[data-v-8d96d860]:nth-child(3){display:none;position:absolute;right:-.02rem;bottom:-.02rem;width:.32rem;height:.32rem;border-radius:.32rem 0 .08rem;background:#5a82f0}.plate-types>div>div:nth-child(3)>svg[data-v-8d96d860]{position:absolute;top:.12rem;left:.12rem}.plate-types>div+div[data-v-8d96d860]{margin-left:.1rem}.plate-types>div.checked[data-v-8d96d860]{border:1px solid #5a82f0}.plate-types>div.checked>div[data-v-8d96d860]:nth-child(2){color:#333}.plate-types>div.checked>div[data-v-8d96d860]:nth-child(3){display:block}.plate-numbers[data-v-8d96d860]{display:flex;justify-content:center;align-items:center}.plate-numbers>div[data-v-8d96d860]{flex:1;max-width:.8rem;height:.88rem;line-height:.88rem;border-radius:.08rem;font-size:.36rem;color:#333;text-align:center;border:1px solid #cccccc}.plate-numbers>div.current[data-v-8d96d860]{border:1px solid #5a82f0}.plate-numbers>div+div[data-v-8d96d860]{margin-left:.1rem}.plate-numbers>div.dot[data-v-8d96d860]{flex:0;border:0;padding:0 .05rem;color:#ccc;font-size:46px;margin-right:-.1rem;margin-left:0}.info[data-v-8d96d860]{font-size:12px;line-height:16px;font-weight:400;color:#999;text-align:center;padding:0 .1rem;margin-top:.4rem}
123
- `]],["__scopeId","data-v-8d96d860"]]),hb=["data-number"],pb=["data-number","data-unactive"],mb=["data-number"],gb=["data-number","data-unactive"],ll=nt(H({customOptions:{Pop:ke,SVGCleanUp:il,Container:kt},__name:"PlateKeyboard.ce",props:{initPlates:{default:()=>[]},completePlateLength:{default:7}},emits:["open","close","plates"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=R(),a=R(0),i=Jt([]);function l(){i.length==0?a.value=0:i.length==1?a.value=1:a.value=2,i.length>=o.completePlateLength&&h()}Et(()=>[...o.initPlates],()=>{mr(i,o.initPlates),l()},{immediate:!0});const c=R(0),u=(g,m)=>{c.value=m},d=()=>{n.value.open(),r("open")},h=()=>{n.value.close(),r("close")},p=()=>{i.pop(),l(),r("plates",i)},f=g=>{if(g.target.dataset.unactive||"")return;let _=g.target.dataset.number;_&&(i.push(_),l(),r("plates",i))};t({open:d,close:h});const b=["京","沪","津","渝","黑","吉","辽","蒙","冀","新","甘","青","陕","宁","豫","鲁","晋","皖","鄂","湘","苏","川","云","桂","藏","浙","赣","粤","闽","琼","贵"],w=["1","2","3","4","5","6","7","8","9","0"],x=["A","B","C","D","E","F","G","H","J","K","L","M","N","P","Q","R","S","T","U","V","W","X","Y","Z"],v=["港","澳","学","警","使","领","挂","应","急"];return(g,m)=>(L(),$t(ke,{ref_key:"popRef",ref:n,directionFrom:"bottom",isGlobal:!0,closeWhenClickOverlay:!1,popValue:c.value},{default:bt(()=>[it(kt,{class:"popup-plate",style:A({paddingBottom:Ct(Mi).bottom()}),onResize:u},{default:bt(()=>[E("div",null,[E("div",{onClick:h},"关闭")]),E("div",{class:oe(["step",a.value==0?"":"hide"])},[(L(),z(Vt,null,xe(b,_=>E("div",{key:_,class:"popitem",onClick:f,"data-number":_},yt(_),9,hb)),64)),E("div",{class:"popitem popitem-clear",onClick:p},[it(il,{width:"16px"})])],2),E("div",{class:oe(["step",a.value!=0?"":"hide"])},[(L(),z(Vt,null,xe(w,_=>E("div",{key:_,class:oe(["popitem",a.value!=2?"unactive":""]),onClick:f,"data-number":_,"data-unactive":a.value!=2?"unactive":""},yt(_),11,pb)),64)),(L(),z(Vt,null,xe(x,_=>E("div",{key:_,class:"popitem",onClick:f,"data-number":_},yt(_),9,mb)),64)),(L(),z(Vt,null,xe(v,_=>E("div",{key:_,class:oe(["popitem",a.value!=2?"unactive":""]),onClick:f,"data-number":_,"data-unactive":a.value!=2?"unactive":""},yt(_),11,gb)),64)),E("div",{class:"popitem popitem-clear",onClick:p},[it(il,{width:"16px"})])],2)]),_:1},8,["style"])]),_:1},8,["popValue"]))}}),[["styles",[`.popup-plate[data-v-4a7813e2]{box-sizing:border-box;width:100%;background-color:#ddd}.hide[data-v-4a7813e2]{display:none!important}.popup-plate>div[data-v-4a7813e2]: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-4a7813e2]{flex:0 0 auto;padding:0 .3rem;color:#5a82f0;font-size:16px;line-height:2.6;cursor:pointer}.popup-plate>.step[data-v-4a7813e2]{display:flex;flex-wrap:wrap;justify-content:center;padding:.2rem .2rem .1rem}.popup-plate>.step>.popitem[data-v-4a7813e2]{flex:0 0 auto;width:1rem;padding:.2rem 0;border:1px solid #e6e6e6;border-radius:.08rem;margin-right:.1rem;margin-bottom:.1rem;font-size:16px;line-height:1;text-align:center;background-color:#fff;cursor:pointer}.popup-plate>.step>.popitem[data-v-4a7813e2]:not(.unactive):active{background-color:#eee}.popup-plate>.step>.popitem.unactive[data-v-4a7813e2]{color:#ccc}.popup-plate>.step>.popitem.popitem-clear[data-v-4a7813e2]{background-color:#eee;display:flex;justify-content:center;align-items:center}
124
- `]],["__scopeId","data-v-4a7813e2"]]),yb={class:"parent"},vb=nt(H({customOptions:{},inheritAttrs:!0,__name:"PlateDisplay.ce",props:{plate:{},plateType:{},displayType:{default:"chinese"},fontColor:{},fontSize:{}},setup(s,{expose:t,emit:e}){const o=s,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 n(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(d=>d.name===c);return u.length?u[0]:n("未知")}const a=R(n(o.plateType||""));let i=o.fontColor,l=o.fontSize;switch(o.displayType){case"dot":i=i||"#999999",l=l||"14px";break;case"chinese":i=i||"#333333",l=l||"14px";break;case"plaintext":i=i||"#333333",l=l||"14px";break}return t({}),(c,u)=>(L(),z("div",yb,[c.displayType=="dot"&&c.plate!=="无牌车"?(L(),z("div",{key:0,class:oe(["leading",c.displayType]),style:A({...a.value.style,width:Ct(l),height:Ct(l)})},yt(a.value.name),7)):Rt("",!0),c.displayType=="chinese"&&c.plate!=="无牌车"?(L(),z("div",{key:1,class:oe(["leading",c.displayType]),style:A(a.value.style)},yt(a.value.name),7)):Rt("",!0),c.displayType=="plaintext"&&c.plate!=="无牌车"?(L(),z("div",{key:2,class:oe(["leading",c.displayType]),style:A({color:Ct(i),fontSize:Ct(l)})},yt(a.value.name),7)):Rt("",!0),E("div",{class:"text",style:A({color:Ct(i),"font-size":Ct(l)})},yt(c.plate),5)]))}}),[["styles",[`.parent[data-v-49a2baa1]{display:inline-flex;justify-content:center;align-items:center}.leading[data-v-49a2baa1]{box-sizing:border-box;font-size:12px;line-height:1;border-radius:4px;margin-right:5px}.leading.chinese[data-v-49a2baa1]{padding:4px}.leading.dot[data-v-49a2baa1]{font-size:0;border-radius:50%}.leading.plaintext[data-v-49a2baa1]{padding-right:5px;border-right:1px solid #e6e6e6;border-radius:0}.text[data-v-49a2baa1]{line-height:1}
125
- `]],["__scopeId","data-v-49a2baa1"]]),Rf=H({customOptions:{Pop:ke,Button:qt,Container:kt},inheritAttrs:!0,__name:"Popover",props:{gap:{default:10},isGlobal:{type:Boolean,default:!0},closeWhenClickOverlay:{type:Boolean,default:!0}},setup(s,{expose:t}){const e=s,o=R();function r(){o.value.open()}function n(){o.value.close()}const a=R(),i=R(0),l=R(0),c=R(0),u=R(0),d=(h,p)=>{if(c.value=h,u.value=p,!a.value)return;const f=zo(),b=a.value.getBoundingClientRect();i.value=Math.max(e.gap,Math.min(b.x+b.width+e.gap,f.width-h-e.gap)),l.value=Math.max(e.gap,Math.min(b.y,f.height-p-e.gap))};return t({open:r,close:n}),(h,p)=>(L(),z(Vt,null,[E("div",{ref_key:"popoverButtonRef",ref:a,class:"popover-button",style:{display:"inline-block"},onClick:r},[_t(h.$slots,"button",{},()=>[it(qt,null,{default:bt(()=>p[0]||(p[0]=[Ht("popover")])),_:1})])],512),it(ke,{ref_key:"popRef",ref:o,"direction-from":"absolute",isGlobal:e.isGlobal,closeWhenClickOverlay:e.closeWhenClickOverlay},{default:bt(()=>[E("div",{style:A({position:"absolute",left:i.value+"px",top:l.value+"px",width:c.value+"px",height:u.value+"px"})},[it(kt,{type:"shrink",onResize:d},{default:bt(()=>[_t(h.$slots,"panel",{},()=>[p[1]||(p[1]=E("div",{style:{"background-color":"#ffffff"}},"...",-1))])]),_:3})],4)]),_:3},8,["isGlobal","closeWhenClickOverlay"])],64))}}),bb={class:"selector",style:{position:"relative",width:"124px",height:"106px",padding:"3px","background-color":"#222222","box-sizing":"border-box"}},_b={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(),z("div",{class:"input-range-box",ref_key:"r",ref:f},[w("div",{class:"box",style:N({height:n.barHeight,cursor:"ew-resize"})},[Q(pt,{ref_key:"boxContainerRef",ref:c,type:"full",onReady:u},{default:st(()=>[w("div",{class:"background",style:N({backgroundColor:n.bgColor,width:"100%",height:"100%"})},null,4),w("div",{class:"foreground",style:N({backgroundColor:n.barColor,width:l.value+"%",height:"100%"})},null,4)]),_:1},512)],4),gt(d.$slots,"default",{value:r.value},()=>[d.showValue?(I(),z("label",C3,dt(r.value)+dt(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"]]),Yp=at(X({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=O(),a=O(!1);return ye(()=>{uv(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(),z("div",{class:jt(["input-file-drop",[a.value?"over":""]]),ref_key:"zone",ref:r},[gt(i.$slots,"default",{},()=>[Bt(dt(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"]]),T3={class:"tabs"},E3=["onClick"],S3={class:"content"},Xp=at(X({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=O(n.initIndex),a=Wt([]),i=O(),l=O(0),c=O(0),u=O(0),f=O([]),d=[],h=_g(),p=h.default&&h.default();p&&(Ps(a,p),x(r.value));const v=(g,y)=>{if(g){if(d.push({index:y,el:g}),d.length<a.length)return;f.value=d}};Rt([i,f],()=>{k()});function k(){if(i.value&&f.value.length){const g=i.value.getBoundingClientRect(),y=f.value[r.value].el.getBoundingClientRect();l.value=y.x-g.x,c.value=y.y-g.y+y.height-2,u.value=y.width}}function x(g){r.value=g,s("changedIndex",g),k(),m.value.goto(g)}const m=O();return Rt(m,()=>{m.value&&m.value.reset(n.pages,()=>{m.value.goto(n.initIndex)})}),t({}),(g,y)=>(I(),z("div",T3,[w("div",{class:"header",ref_key:"headerRef",ref:i},[(I(!0),z(Dt,null,Te(n.labels,(b,_)=>(I(),z("div",{key:b,class:jt(_==r.value?"active":""),onClick:$=>x(_)},[w("div",{ref_for:!0,ref:$=>v($,_)},dt(b),513)],10,E3))),128)),w("div",{class:"indicator",style:N({top:c.value+"px",left:l.value+"px",width:u.value+"px",height:"2px"})},null,4)],512),w("div",S3,[Q(js,{ref_key:"routesRef",ref:m},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"]]),O3={class:"view-document"},P3=["src"],Zp=at(X({inheritAttrs:!0,customOptions:{LayoutPage:to},__name:"ViewDocument.ce",props:{src:{default:""},title:{default:""}},setup(o){const t=o,e=_p();Dd(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(),ht(to,null,{default:st(()=>[w("div",O3,[w("img",{class:"img",src:Ot(n)},null,8,P3)])]),_: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"]]),Va=at(X({__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=O(0);function r(a){s.value=Math.min(Math.max(0,a),100)}return t({goto:r}),(a,i)=>(I(),z("div",{class:"bar",style:N({border:`1px solid ${n.borderColor}`,borderRadius:n.borderRadius,backgroundColor:n.bgColor})},[w("div",{class:"bar-inner",style:N({width:s.value+"%",backgroundColor:n.progressColor})},dt(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"]]),R3=X({__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=O(0);function r(a){s.value=Math.min(Math.max(0,a),100)}return t({goto:r}),(a,i)=>(I(),z("div",{class:"bar",style:N({border:`1px solid ${n.borderColor}`,borderRadius:n.borderRadius,backgroundColor:n.bgColor})},[w("div",{class:"bar-inner",style:N({width:s.value+"%",backgroundColor:n.progressColor})},dt(n.showText?s.value+"%":""),5)],4))}}),U5="",Ya=at(R3,[["__scopeId","data-v-6caeec52"]]),I3={class:"page-vertical-scroll-progress-bar"},Up=at(X({customOptions:{ProgressBar:Ya},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=O(),a=vv(()=>{const i=fv();s("progress",i),r.value?.goto(i)});return ue(()=>{a()}),t({}),(i,l)=>(I(),z("div",I3,[Q(Ya,{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"]]),A3=["width","height"],$3=["src","type"],N3={class:"video-progress-bar"},Gp=at(X({customOptions:{ProgressBar:Ya},inheritAttrs:!0,__name:"Video.ce",props:{src:{},type:{default:"video/webm"},autoplay:{type:Boolean,default:!0},width:{default:"320px"},height:{default:"138px"}},emits:["start","complete"],setup(o,{expose:t,emit:e}){const n=o,s=e;let r;function a(f){if(r){r.resume();return}r=new Xe({frameDuration:this.duration*1e3}),r.addTween({x:0},{x:100},{frames:1,delay:0,onStart:()=>{s("start"),l.value?.goto(0)},onUpdate:d=>{l.value?.goto(d.x)},onComplete:()=>{s("complete"),r=null}}),r.play()}const i=O(),l=O();Rt(i,()=>{i.value&&(i.value.addEventListener("play",a),n.autoplay&&Rl.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(),z("div",{class:"video",style:N({width:n.width,height:n.height}),onClick:c},[w("video",{ref_key:"video",ref:i,width:n.width,height:n.height,preload:"metadata"},[w("source",{src:n.src,type:n.type},null,8,$3)],8,A3),w("div",N3,[Q(Ya,{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"]]),F3=X({customOptions:{Overlay:Jo,Container:pt},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(o,{expose:t,emit:e}){const n=o,s=e,r=new Xe({frameDuration:n.dur}),a=Wt({position:"absolute",opacity:"1"}),i=O(!1),l=O("full");Rt(()=>[n.directionFrom,n.popValue],()=>{r.clear();const v=!n.popValue,k=n.popValue?n.popValue:100,x=n.popValue?"px":"%";switch(n.directionFrom){case"left":a.height="100%",v?delete a.width:a.width=`${k}${x}`,a.top="0",a.bottom="0",delete a.right,r.addTween({left:k},{left:0},{easeFunction:it.Quadratic.Out,onUpdate(m){a.left=`-${m.left}${x}`},onComplete:f});break;case"right":a.height="100%",v?delete a.width:a.width=`${k}${x}`,a.top="0",a.bottom="0",delete a.left,r.addTween({right:k},{right:0},{easeFunction:it.Quadratic.Out,onUpdate(m){a.right=`-${m.right}${x}`},onComplete:f});break;case"top":a.width="100%",v?delete a.height:a.height=`${k}${x}`,a.left="0",a.right="0",delete a.bottom,r.addTween({top:k},{top:0},{easeFunction:it.Quadratic.Out,onUpdate(m){a.top=`-${m.top}${x}`},onComplete:f});break;case"bottom":a.width="100%",v?delete a.height:a.height=`${k}${x}`,a.left="0",a.right="0",delete a.top,r.addTween({bottom:k},{bottom:0},{easeFunction:it.Quadratic.Out,onUpdate(m){a.bottom=`-${m.bottom}${x}`},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:it.Quadratic.Out,onUpdate(m){a.transform=`translate(-50%, -50%) scale(${m.scale})`,a.opacity=`${m.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}v&&(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=v=>{s("resize",v.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(v){const k=n.directionFrom=="absolute"&&n.absoluteWidth=="100%"&&n.absoluteHeight=="100%"?"pop-content":"pop";v.target&&da(v.target,k)&&(n.closeWhenClickOverlay&&h(),s("clickOverlay"))}return t({open:d,close:h}),(v,k)=>(I(),ht(Jo,{visible:i.value,isGlobal:n.isGlobal,color:n.overlayBgColor},{default:st(()=>[w("div",{class:"pop",style:{display:"block",position:"relative",width:"100%",height:"100%"},onClick:p},[Q(pt,{class:"pop-content",type:l.value,style:N(a),onReady:c,onUpdate:c},{default:st(()=>[gt(v.$slots,"default",{},()=>[k[0]||(k[0]=w("div",null,null,-1))])]),_:3},8,["type","style"])])]),_:3},8,["visible","isGlobal","color"]))}}),z3={class:"pop-tel"},D3=["href"],Hp=at(X({customOptions:{Pop:le},inheritAttrs:!0,__name:"PopTel.ce",props:{tel:{}},setup(o,{expose:t,emit:e}){const n=O();function s(){n.value?.open()}function r(){n.value?.close()}return t({open:s,close:r}),(a,i)=>(I(),ht(le,{directionFrom:"bottom",closeWhenClickOverlay:!1,ref_key:"el",ref:n},{default:st(()=>[w("div",z3,[w("div",null,dt(a.tel),1),w("a",{class:"pop-tel-call",onClick:r,href:`tel:${a.tel}`}," 呼叫 ",8,D3),w("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"]]),jp=X({customOptions:{Pop:le,Button:re,Container:pt},inheritAttrs:!0,__name:"Popover.ce",props:{gap:{default:10},isGlobal:{type:Boolean,default:!0},closeWhenClickOverlay:{type:Boolean,default:!0}},setup(o,{expose:t}){const e=o,n=O(),s=O(0),r=O(0),a=O(0),i=O(0),l=O();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=Ds(),v=n.value.getBoundingClientRect();s.value=Math.max(e.gap,Math.min(v.x+v.width+e.gap,p.width-h.width-e.gap)),r.value=Math.max(e.gap,Math.min(v.y,p.height-h.height-e.gap))};return t({open:c,close:u}),(d,h)=>(I(),z(Dt,null,[w("div",{ref_key:"popoverButtonRef",ref:n,class:"popover-button",style:{display:"inline-block"},onClick:c},[gt(d.$slots,"button",{},()=>[Q(re,null,{default:st(()=>h[0]||(h[0]=[Bt("popover")])),_:1})])],512),Q(le,{ref_key:"popRef",ref:l,"direction-from":"absolute",isGlobal:e.isGlobal,closeWhenClickOverlay:e.closeWhenClickOverlay},{default:st(()=>[w("div",{style:N({position:"absolute",left:s.value+"px",top:r.value+"px",width:a.value+"px",height:i.value+"px"})},[Q(pt,{type:"shrink",onReady:f,onUpdate:f},{default:st(()=>[gt(d.$slots,"panel",{},()=>[h[1]||(h[1]=w("div",{style:{"background-color":"#ffffff"}},"...",-1))])]),_:3})],4)]),_:3},8,["isGlobal","closeWhenClickOverlay"])],64))}}),Wp=X({customOptions:{Pop:le,Button:re,Container:pt},inheritAttrs:!0,__name:"Popover",props:{gap:{default:10},isGlobal:{type:Boolean,default:!0},closeWhenClickOverlay:{type:Boolean,default:!0}},setup(o,{expose:t}){const e=o,n=O(),s=O(0),r=O(0),a=O(0),i=O(0),l=O();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=Ds(),v=n.value.getBoundingClientRect();s.value=Math.max(e.gap,Math.min(v.x+v.width+e.gap,p.width-h.width-e.gap)),r.value=Math.max(e.gap,Math.min(v.y,p.height-h.height-e.gap))};return t({open:c,close:u}),(d,h)=>(I(),z(Dt,null,[w("div",{ref_key:"popoverButtonRef",ref:n,class:"popover-button",style:{display:"inline-block"},onClick:c},[gt(d.$slots,"button",{},()=>[Q(re,null,{default:st(()=>h[0]||(h[0]=[Bt("popover")])),_:1})])],512),Q(le,{ref_key:"popRef",ref:l,"direction-from":"absolute",isGlobal:e.isGlobal,closeWhenClickOverlay:e.closeWhenClickOverlay},{default:st(()=>[w("div",{style:N({position:"absolute",left:s.value+"px",top:r.value+"px",width:a.value+"px",height:i.value+"px"})},[Q(pt,{type:"shrink",onReady:f,onUpdate:f},{default:st(()=>[gt(d.$slots,"panel",{},()=>[h[1]||(h[1]=w("div",{style:{"background-color":"#ffffff"}},"...",-1))])]),_:3})],4)]),_:3},8,["isGlobal","closeWhenClickOverlay"])],64))}}),M3={class:"selector",style:{position:"relative",width:"124px",height:"106px",padding:"3px","background-color":"#222222","box-sizing":"border-box"}},L3={class:"hue-field",style:{width:"15px",height:"100px",cursor:"ns-resize",position:"absolute",top:"3px",right:"3px",background:`linear-gradient(
126
176
  to bottom,
127
177
  rgb(255, 0, 0) 0%,
128
178
  rgb(255, 0, 255) 17%,
@@ -131,109 +181,97 @@ Expected function or array of functions, received type ${typeof s}.`),ve)}functi
131
181
  rgb(0, 255, 0) 67%,
132
182
  rgb(255, 255, 0) 84%,
133
183
  rgb(255, 0, 0) 100%
134
- )`,"box-sizing":"border-box"}},If=H({customOptions:{Popover:Rf,Container:kt},__name:"ColorPicker.ce",props:{color:{default:"#5a82f0"}},emits:["change"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=R(),a=new Ft(o.color),i=new Ft(o.color),l=R(a.toString()),c=R(a.opposite(!0).toString()),u=R(i.toString()),d=R(i.opposite(!0).toString()),h=R(i.h),p=R(a.s),f=R(a.v);function b(v){v&&(a.setColor(v),i.setColor(v)),l.value=a.toString(),c.value=a.opposite(!0).toString(),u.value=i.toString(),d.value=i.opposite(!0).toString(),h.value=i.h,p.value=a.s,f.value=a.v}const w=v=>{const g=(m,_)=>{i.h=(1-_.y/v.height)*360,a.h=i.h,b()};v.captureDrag({start:g,move:g})},x=v=>{const g=(m,_)=>{a.s=_.x/v.width,a.v=1-_.y/v.height,b()};v.captureDrag({start:g,move:g,end:()=>{r("change",l.value),n.value.close(),Wi(l.value).then(()=>{})}})};return t({setColor:b}),(v,g)=>(L(),$t(Rf,{ref_key:"popover",ref:n,closeWhenClickOverlay:!1},{button:bt(()=>[_t(v.$slots,"default",{},()=>[E("span",{style:A([{display:"inline-block","vertical-align":"middle","font-size":"1em",padding:"0.3em 0.8em","border-radius":"0.3em",cursor:"pointer",outline:"'none'","text-align":"'center'",border:"0"},{backgroundColor:l.value,color:c.value}])},yt(l.value),5)])]),panel:bt(()=>[E("div",bb,[E("div",{class:"saturation-field",style:A([{position:"relative",width:"100px",height:"100px",display:"inline-block",cursor:"pointer","box-sizing":"border-box"},{background:`linear-gradient(
184
+ )`,"box-sizing":"border-box"}},B3=X({customOptions:{Popover:Wp,Container:pt},__name:"ColorPicker.ce",props:{color:{default:"#5a82f0"}},emits:["change"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=O(),a=new Ie(n.color),i=new Ie(n.color),l=O(""),c=O(""),u=O(""),f=O(""),d=O(0),h=O(0),p=O(0),v=O(0),k=O(0),x=O(0);function m(){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 b=i.getHSV(),_=a.getHSV();d.value=b.h,h.value=_.s,p.value=_.v,v.value=(1-d.value)*100,k.value=100*h.value-6,x.value=100*(1-p.value)-6}m();const g=b=>{const _=()=>{if(!b.mousePoint.isDown)return;const $=Vt(1-b.mousePoint.y/b.rect.height,0,1);i.setHSV($,h.value,p.value),a.setHSV($,h.value,p.value),m()};Cn(b,{start:_,move:_})},y=b=>{const _=()=>{b.mousePoint.isDown&&(a.setHSV(d.value,b.mousePoint.x/b.rect.width,1-b.mousePoint.y/b.rect.height),m())};Cn(b,{start:_,move:_,end:()=>{s("change",l.value),r.value.close(),Il(l.value).then(()=>{})}})};return t({}),(b,_)=>(I(),ht(Wp,{ref_key:"popover",ref:r,closeWhenClickOverlay:!1},{button:st(()=>[gt(b.$slots,"default",{},()=>[w("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}])},dt(l.value),5)])]),panel:st(()=>[w("div",M3,[w("div",{class:"saturation-field",style:N([{position:"relative",width:"100px",height:"100px",display:"inline-block",cursor:"pointer","box-sizing":"border-box"},{background:`linear-gradient(
135
185
  to right,
136
186
  rgb(255, 255, 255) 0%,
137
187
  ${u.value} 100%
138
- )`}])},[it(kt,{type:"full",onReady:x},{default:bt(()=>[g[0]||(g[0]=E("div",{style:{width:"100%",height:"100%",background:`linear-gradient(
188
+ )`}])},[Q(pt,{type:"full",onReady:y},{default:st(()=>[_[0]||(_[0]=w("div",{style:{width:"100%",height:"100%",background:`linear-gradient(
139
189
  to bottom,
140
190
  rgba(0, 0, 0, 0) 0%,
141
191
  rgb(0, 0, 0) 100%
142
- )`,"box-sizing":"border-box"}},null,-1)),E("div",{class:"field-knob",style:A([{position:"absolute",width:"12px",height:"12px","box-shadow":"rgba(0, 0, 0, 0.5) 0px 1px 3px","border-radius":"12px","z-index":"1",cursor:"pointer","box-sizing":"border-box"},{left:100*p.value-6+"px",top:100*(1-f.value)-6+"px",backgroundColor:l.value,border:`2px solid ${c.value}`}])},null,4)]),_:1})],4),E("div",_b,[it(kt,{type:"full",onReady:w},{default:bt(()=>[E("div",{class:"hue-knob",style:A([{position:"absolute",width:"15px",height:"2px","z-index":"1","box-sizing":"border-box"},{marginTop:(1-h.value/360)*100+"px",borderRight:"4px solid "+d.value}])},null,4)]),_:1})])])]),_:3},512))}}),xb=`.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}
143
- `,wb={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 s=document.createElement("object");this._resizeObject=s,s.setAttribute("aria-hidden","true"),s.setAttribute("tabindex",-1),s.onload=this.addResizeHandlers,s.type="text/html",ki&&this.$el.appendChild(s),s.data="about:blank",ki||this.$el.appendChild(s)},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&&(!ki&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}},kb={class:"resize-observer",tabindex:"-1"};function Cb(s,t,e,o,r,n){return L(),z("div",kb)}const Tb=nt(wb,[["render",Cb],["styles",[xb]],["__scopeId","data-v-16da9fc4"]]),Sb=nt(H({__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(s,{expose:t,emit:e}){const o=s,r=R(o.mapWidth),n=R(o.mapHeight);let a;const i=R();return Et(i,()=>{i.value&&(a=new ns(i.value,!1),a.on("resize",(l,c)=>{r.value=l+"px",n.value=c+"px"}),a.start())}),es(()=>{Ky(`http://api.tianditu.gov.cn/api?v=4.0&tk=${o.mapKey}`).then(()=>{new o1(o.mapContainerID,o.mapCenterLng,o.mapCenterLat,o.mapZoom)}).catch(l=>{console.log("error",l)})}),re(()=>{a.destroy()}),t({}),(l,c)=>(L(),z("div",Ha({class:"mapDivWrap",ref_key:"mapWrap",ref:i},l.$attrs),[_t(l.$slots,"default",{width:r.value,height:n.value},void 0,!0)],16))}}),[["styles",[`.mapDivWrap[data-v-24e42cfa]{position:relative;width:100%;height:100%}
144
- `]],["__scopeId","data-v-24e42cfa"]]);var Er=function(){var s=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(),o(++s%t.children.length)},!1);function e(u){return t.appendChild(u.dom),u}function o(u){for(var d=0;d<t.children.length;d++)t.children[d].style.display=d===u?"block":"none";s=u}var r=(performance||Date).now(),n=r,a=0,i=e(new Er.Panel("FPS","#0ff","#002")),l=e(new Er.Panel("MS","#0f0","#020"));if(self.performance&&self.performance.memory)var c=e(new Er.Panel("MB","#f08","#201"));return o(0),{REVISION:16,dom:t,addPanel:e,showPanel:o,begin:function(){r=(performance||Date).now()},end:function(){a++;var u=(performance||Date).now();if(l.update(u-r,200),u>n+1e3&&(i.update(a*1e3/(u-n),100),n=u,a=0,c)){var d=performance.memory;c.update(d.usedJSHeapSize/1048576,d.jsHeapSizeLimit/1048576)}return u},update:function(){r=this.end()},domElement:t,setMode:o}};Er.Panel=function(s,t,e){var o=1/0,r=0,n=Math.round,a=n(window.devicePixelRatio||1),i=80*a,l=48*a,c=3*a,u=2*a,d=3*a,h=15*a,p=74*a,f=30*a,b=document.createElement("canvas");b.width=i,b.height=l,b.style.cssText="width:80px;height:48px";var w=b.getContext("2d");return w.font="bold "+9*a+"px Helvetica,Arial,sans-serif",w.textBaseline="top",w.fillStyle=e,w.fillRect(0,0,i,l),w.fillStyle=t,w.fillText(s,c,u),w.fillRect(d,h,p,f),w.fillStyle=e,w.globalAlpha=.9,w.fillRect(d,h,p,f),{dom:b,update:function(x,v){o=Math.min(o,x),r=Math.max(r,x),w.fillStyle=e,w.globalAlpha=1,w.fillRect(0,0,i,h),w.fillStyle=t,w.fillText(n(x)+" "+s+" ("+n(o)+"-"+n(r)+")",c,u),w.drawImage(b,d+a,h,p-a,f,d,h,p-a,f),w.fillRect(d+p-a,h,a,f),w.fillStyle=e,w.globalAlpha=.9,w.fillRect(d+p-a,h,a,n((1-x/v)*f))}}};const Eb=Object.assign({customOptions:{},inheritAttrs:!0},{__name:"FPSStats.ce",setup(s,{expose:t}){const e=R();return es(()=>{const o=new Er;o.domElement.style.margin="1em",e.value.appendChild(o.domElement),ce(()=>(o.update(),!0))}),t({}),(o,r)=>(L(),z("div",{ref_key:"containerRef",ref:e},null,512))}}),Pb={class:"ease-graph"},cl=nt(H({customOptions:{Button:qt,Canvas:je},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(s,{expose:t,emit:e}){const o=s,r=e,n=R();let a,i;Et(n,()=>{n.value&&(i=Nn(n.value.getCanvasElement()),n.value.getCanvas().then(d=>{a=d,r("onMounted",o.easeName),i?.onshow(c)}))});let l=!1;const c=()=>{if(!a||l)return;l=!0,r("onStart",o.easeName),a.ctx.fillStyle="rgb(250,250,250)",a.ctx.fillRect(0,0,o.canvasWidth,o.canvasHeight),a.ctx.lineWidth=.5,a.ctx.strokeStyle="rgb(230,230,230)",a.ctx.beginPath(),a.ctx.moveTo(0,o.graphVerticalGap),a.ctx.lineTo(o.canvasWidth,o.graphVerticalGap),a.ctx.moveTo(0,o.canvasHeight-o.graphVerticalGap),a.ctx.lineTo(o.canvasWidth,o.canvasHeight-o.graphVerticalGap),a.ctx.closePath(),a.ctx.stroke(),a.ctx.lineWidth=2,a.ctx.strokeStyle="rgb(255,127,127)";const d={x:o.graphHorizontalGap,y:o.canvasHeight-o.graphVerticalGap},h={x:o.graphHorizontalGap,y:o.canvasHeight-o.graphVerticalGap},p=()=>{a.ctx.beginPath(),a.ctx.moveTo(h.x,h.y),a.ctx.lineTo(d.x,d.y),a.ctx.closePath(),a.ctx.stroke(),h.x=d.x,h.y=d.y},f=new Fe({frameDuration:o.easeDuration});f.addTween(d,{x:o.canvasWidth-o.graphHorizontalGap},{frames:1,delay:0,easeFunction:wt.Easing.Linear.None,onUpdate:b=>{d.x=b.x},onComplete:()=>{}}),f.addTween(d,{y:o.graphVerticalGap},{frames:1,delay:0,easeFunction:o.easeFunction,onUpdate:b=>{d.y=b.y,p()},onComplete:()=>{r("onCompleted",o.easeName),l=!1}}),f.play()},u=()=>{r("onSelected",o.easeName,o.easeFunction)};return re(()=>{i?.destroy()}),t({start:c}),(d,h)=>(L(),z("div",Pb,[E("div",null,"缓动:"+yt(d.easeName),1),E("div",null,[E("div",null,[it(qt,{stylePattern:"outline",height:"32px",padding:"10px",onClick:c},{default:bt(()=>h[0]||(h[0]=[Ht(" 开始 ")])),_:1})]),E("div",null,[it(qt,{stylePattern:o.isSelected?"fullfilled":"outline",height:"32px",padding:"10px",onClick:u},{default:bt(()=>h[1]||(h[1]=[Ht(" 选择 ")])),_:1},8,["stylePattern"])])]),E("div",{style:A({width:d.canvasWidth+"px",height:d.canvasHeight+"px"})},[it(je,{ref_key:"canvasRef",ref:n,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}
145
- `]],["__scopeId","data-v-2d807a98"]]),Ob={class:"ease-graph"},Rb=H({customOptions:{Button:qt,Canvas:je},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(s,{expose:t,emit:e}){const o=s,r=e,n=R();let a,i;Et(n,()=>{n.value&&(i=Nn(n.value.getCanvasElement()),n.value.getCanvas().then(d=>{a=d,r("onMounted",o.easeName),i?.onshow(c)}))});let l=!1;const c=()=>{if(!a||l)return;l=!0,r("onStart",o.easeName),a.ctx.fillStyle="rgb(250,250,250)",a.ctx.fillRect(0,0,o.canvasWidth,o.canvasHeight),a.ctx.lineWidth=.5,a.ctx.strokeStyle="rgb(230,230,230)",a.ctx.beginPath(),a.ctx.moveTo(0,o.graphVerticalGap),a.ctx.lineTo(o.canvasWidth,o.graphVerticalGap),a.ctx.moveTo(0,o.canvasHeight-o.graphVerticalGap),a.ctx.lineTo(o.canvasWidth,o.canvasHeight-o.graphVerticalGap),a.ctx.closePath(),a.ctx.stroke(),a.ctx.lineWidth=2,a.ctx.strokeStyle="rgb(255,127,127)";const d={x:o.graphHorizontalGap,y:o.canvasHeight-o.graphVerticalGap},h={x:o.graphHorizontalGap,y:o.canvasHeight-o.graphVerticalGap},p=()=>{a.ctx.beginPath(),a.ctx.moveTo(h.x,h.y),a.ctx.lineTo(d.x,d.y),a.ctx.closePath(),a.ctx.stroke(),h.x=d.x,h.y=d.y},f=new Fe({frameDuration:o.easeDuration});f.addTween(d,{x:o.canvasWidth-o.graphHorizontalGap},{frames:1,delay:0,easeFunction:wt.Easing.Linear.None,onUpdate:b=>{d.x=b.x},onComplete:()=>{}}),f.addTween(d,{y:o.graphVerticalGap},{frames:1,delay:0,easeFunction:o.easeFunction,onUpdate:b=>{d.y=b.y,p()},onComplete:()=>{r("onCompleted",o.easeName),l=!1}}),f.play()},u=()=>{r("onSelected",o.easeName,o.easeFunction)};return re(()=>{i?.destroy()}),t({start:c}),(d,h)=>(L(),z("div",Ob,[E("div",null,"缓动:"+yt(d.easeName),1),E("div",null,[E("div",null,[it(qt,{stylePattern:"outline",height:"32px",padding:"10px",onClick:c},{default:bt(()=>h[0]||(h[0]=[Ht(" 开始 ")])),_:1})]),E("div",null,[it(qt,{stylePattern:o.isSelected?"fullfilled":"outline",height:"32px",padding:"10px",onClick:u},{default:bt(()=>h[1]||(h[1]=[Ht(" 选择 ")])),_:1},8,["stylePattern"])])]),E("div",{style:A({width:d.canvasWidth+"px",height:d.canvasHeight+"px"})},[it(je,{ref_key:"canvasRef",ref:n,bgColor:"#ffffff"},null,512)],4)]))}}),cw="",Ff=nt(Rb,[["__scopeId","data-v-fa615237"]]),Ib=2e3,Df=nt(H({customOptions:{EaseGraphDisplay:Ff},inheritAttrs:!0,__name:"EaseGroupGraphDisplay.ce",props:{easeList:{default:()=>[{easeName:"Linear",easeFunction:wt.Easing.Linear.None},{easeName:"gap"},{easeName:"QuadraticIn",easeFunction:wt.Easing.Quadratic.In},{easeName:"QuadraticOut",easeFunction:wt.Easing.Quadratic.Out},{easeName:"QuadraticInOut",easeFunction:wt.Easing.Quadratic.InOut},{easeName:"gap"},{easeName:"CubicIn",easeFunction:wt.Easing.Cubic.In},{easeName:"CubicOut",easeFunction:wt.Easing.Cubic.Out},{easeName:"CubicInOut",easeFunction:wt.Easing.Cubic.InOut},{easeName:"gap"},{easeName:"QuarticIn",easeFunction:wt.Easing.Quartic.In},{easeName:"QuarticOut",easeFunction:wt.Easing.Quartic.Out},{easeName:"QuarticInOut",easeFunction:wt.Easing.Quartic.InOut},{easeName:"gap"},{easeName:"QuinticIn",easeFunction:wt.Easing.Quintic.In},{easeName:"QuinticOut",easeFunction:wt.Easing.Quintic.Out},{easeName:"QuinticInOut",easeFunction:wt.Easing.Quintic.InOut},{easeName:"gap"},{easeName:"SinusoidalIn",easeFunction:wt.Easing.Sinusoidal.In},{easeName:"SinusoidalOut",easeFunction:wt.Easing.Sinusoidal.Out},{easeName:"SinusoidalInOut",easeFunction:wt.Easing.Sinusoidal.InOut},{easeName:"gap"},{easeName:"ExponentialIn",easeFunction:wt.Easing.Exponential.In},{easeName:"ExponentialOut",easeFunction:wt.Easing.Exponential.Out},{easeName:"ExponentialInOut",easeFunction:wt.Easing.Exponential.InOut},{easeName:"gap"},{easeName:"CircularIn",easeFunction:wt.Easing.Circular.In},{easeName:"CircularOut",easeFunction:wt.Easing.Circular.Out},{easeName:"CircularInOut",easeFunction:wt.Easing.Circular.InOut},{easeName:"gap"},{easeName:"ElasticIn",easeFunction:wt.Easing.Elastic.In},{easeName:"ElasticOut",easeFunction:wt.Easing.Elastic.Out},{easeName:"ElasticInOut",easeFunction:wt.Easing.Elastic.InOut},{easeName:"gap"},{easeName:"BackIn",easeFunction:wt.Easing.Back.In},{easeName:"BackOut",easeFunction:wt.Easing.Back.Out},{easeName:"BackInOut",easeFunction:wt.Easing.Back.InOut},{easeName:"gap"},{easeName:"BounceIn",easeFunction:wt.Easing.Bounce.In},{easeName:"BounceOut",easeFunction:wt.Easing.Bounce.Out},{easeName:"BounceInOut",easeFunction:wt.Easing.Bounce.InOut},{easeName:"gap"},{easeName:"generatePow(10)In",easeFunction:wt.Easing.generatePow(10).In},{easeName:"generatePow(10)Out",easeFunction:wt.Easing.generatePow(10).Out},{easeName:"generatePow(10)InOut",easeFunction:wt.Easing.generatePow(10).InOut},{easeName:"gap"},{easeName:"4 steps",easeFunction:wt.Easing.createStep(4)},{easeName:"8 steps",easeFunction:wt.Easing.createStep(8)},{easeName:"12 steps",easeFunction:wt.Easing.createStep(12)},{easeName:"16 steps",easeFunction:wt.Easing.createStep(16)},{easeName:"gap"},{easeName:"Noisy Exponential.InOut",easeFunction:wt.Easing.createNoisyEasing(wt.Easing.Exponential.InOut,.1)},{easeName:"Noisy Elastic.InOut",easeFunction:wt.Easing.createNoisyEasing(wt.Easing.Elastic.InOut,.2)},{easeName:"Noisy Circular.InOut",easeFunction:wt.Easing.createNoisyEasing(wt.Easing.Circular.InOut,.1)},{easeName:"swing",easeFunction:wt.Easing.swing},{easeName:"causeSeizures",easeFunction:wt.Easing.causeSeizures}]}},emits:["selectedEaseFunction"],setup(s,{expose:t,emit:e}){const o=s,r=e,n={};function a(h,p){h&&(n[p]={el:h})}const i=new vn(10);function l(h){i.addTask(()=>(n[h].el.start(),new Promise(p=>{n[h].resolve=p})))}function c(h){n[h].resolve?.()}const u=R("Linear");function d(h,p){u.value=h,r("selectedEaseFunction",h,p)}return d("Linear",wt.Easing.Linear.None),t({}),(h,p)=>(L(),z("div",null,[(L(!0),z(Vt,null,xe(o.easeList,f=>(L(),z("div",{key:f.easeName,class:"ease-graph-wrap"},[f.easeFunction?(L(),$t(Ff,{key:0,easeName:f.easeName,easeFunction:f.easeFunction,easeDuration:Ib,isSelected:u.value==f.easeName,onOnMounted:l,onOnCompleted:c,onOnSelected:d,ref_for:!0,ref:b=>a(b,f.easeName)},null,8,["easeName","easeFunction","isSelected"])):Rt("",!0)]))),128))]))}}),[["styles",[`.ease-graph-wrap[data-v-b3ce4b26]{display:inline-block;margin-right:10px}.ease-group-gap[data-v-b3ce4b26]{margin:10px}
146
- `]],["__scopeId","data-v-b3ce4b26"]]),Fb={class:"interpolation-graph"},$f=1/6,Lf=5/6,ul=nt(H({customOptions:{Button:qt,Canvas:je},inheritAttrs:!0,__name:"InterpolationGraphDisplay.ce",props:{interpolationName:{},interpolationFunction:{},canvasWidth:{default:240},canvasHeight:{default:160},interpolationDuration:{default:2e3}},emits:["onMounted","onStart","onCompleted"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=R();let a,i;Et(n,()=>{n.value&&(i=Nn(n.value.getCanvasElement()),n.value.getCanvas().then(w=>{a=w,r("onMounted",o.interpolationName),i?.onshow(b)}))});const l=o.canvasWidth*$f,c=o.canvasHeight/2,u=[o.canvasWidth*Lf,o.canvasWidth/2],d=[o.canvasHeight*$f,o.canvasHeight*Lf],h=[...u,l],p=[...d,c];let f=!1;const b=()=>{if(!a||f)return;f=!0,r("onStart",o.interpolationName),a.ctx.fillStyle="rgb(250,250,250)",a.ctx.fillRect(0,0,o.canvasWidth,o.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,d[d.length-1]-3,6,6);for(var w=0;w<u.length;w++)a.ctx.fillRect(u[w]-2,d[w]-2,4,4);const x=new Fe({frameDuration:o.interpolationDuration});x.addTween({x:l,y:c,old:{x:l,y:c}},{x:u,y:d},{frames:1,delay:0,easeFunction:wt.Easing.Linear.None,interpolationFunction:o.interpolationFunction,onUpdate:v=>{a.ctx.lineWidth=2,a.ctx.strokeStyle="rgba(255,127,127,0.9)",a.ctx.beginPath(),a.ctx.moveTo(v.old.x,v.old.y),a.ctx.lineTo(v.x,v.y),a.ctx.closePath(),a.ctx.stroke(),v.old.x=v.x,v.old.y=v.y},onComplete:()=>{}}),x.addTween({x:l,y:c,old:{x:l,y:c}},{x:h,y:p},{frames:1,delay:0,easeFunction:wt.Easing.Linear.None,interpolationFunction:o.interpolationFunction,onUpdate:v=>{a.ctx.lineWidth=2,a.ctx.strokeStyle="rgba(255,127,127,0.5)",a.ctx.beginPath(),a.ctx.moveTo(v.old.x,v.old.y),a.ctx.lineTo(v.x,v.y),a.ctx.closePath(),a.ctx.stroke(),v.old.x=v.x,v.old.y=v.y},onComplete:()=>{r("onCompleted",o.interpolationName),f=!1}}),x.play()};return re(()=>{i?.destroy()}),t({start:b}),(w,x)=>(L(),z("div",Fb,[E("div",null,[Ht(" 插值:"+yt(w.interpolationName)+" ",1),it(qt,{stylePattern:"outline",height:"32px",onClick:b},{default:bt(()=>x[0]||(x[0]=[Ht(" 开始 ")])),_:1})]),E("div",{style:A({width:w.canvasWidth+"px",height:w.canvasHeight+"px"})},[it(je,{ref_key:"canvasRef",ref:n,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}
147
- `]],["__scopeId","data-v-52732a09"]]),Db={class:"interpolation-graph"},Af=1/6,Mf=5/6,$b=H({customOptions:{Button:qt,Canvas:je},inheritAttrs:!0,__name:"InterpolationGraphDisplay",props:{interpolationName:{},interpolationFunction:{},canvasWidth:{default:240},canvasHeight:{default:160},interpolationDuration:{default:2e3}},emits:["onMounted","onStart","onCompleted"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=R();let a,i;Et(n,()=>{n.value&&(i=Nn(n.value.getCanvasElement()),n.value.getCanvas().then(w=>{a=w,r("onMounted",o.interpolationName),i?.onshow(b)}))});const l=o.canvasWidth*Af,c=o.canvasHeight/2,u=[o.canvasWidth*Mf,o.canvasWidth/2],d=[o.canvasHeight*Af,o.canvasHeight*Mf],h=[...u,l],p=[...d,c];let f=!1;const b=()=>{if(!a||f)return;f=!0,r("onStart",o.interpolationName),a.ctx.fillStyle="rgb(250,250,250)",a.ctx.fillRect(0,0,o.canvasWidth,o.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,d[d.length-1]-3,6,6);for(var w=0;w<u.length;w++)a.ctx.fillRect(u[w]-2,d[w]-2,4,4);const x=new Fe({frameDuration:o.interpolationDuration});x.addTween({x:l,y:c,old:{x:l,y:c}},{x:u,y:d},{frames:1,delay:0,easeFunction:wt.Easing.Linear.None,interpolationFunction:o.interpolationFunction,onUpdate:v=>{a.ctx.lineWidth=2,a.ctx.strokeStyle="rgba(255,127,127,0.9)",a.ctx.beginPath(),a.ctx.moveTo(v.old.x,v.old.y),a.ctx.lineTo(v.x,v.y),a.ctx.closePath(),a.ctx.stroke(),v.old.x=v.x,v.old.y=v.y},onComplete:()=>{}}),x.addTween({x:l,y:c,old:{x:l,y:c}},{x:h,y:p},{frames:1,delay:0,easeFunction:wt.Easing.Linear.None,interpolationFunction:o.interpolationFunction,onUpdate:v=>{a.ctx.lineWidth=2,a.ctx.strokeStyle="rgba(255,127,127,0.5)",a.ctx.beginPath(),a.ctx.moveTo(v.old.x,v.old.y),a.ctx.lineTo(v.x,v.y),a.ctx.closePath(),a.ctx.stroke(),v.old.x=v.x,v.old.y=v.y},onComplete:()=>{r("onCompleted",o.interpolationName),f=!1}}),x.play()};return re(()=>{i?.destroy()}),t({start:b}),(w,x)=>(L(),z("div",Db,[E("div",null,[Ht(" 插值:"+yt(w.interpolationName)+" ",1),it(qt,{stylePattern:"outline",height:"32px",onClick:b},{default:bt(()=>x[0]||(x[0]=[Ht(" 开始 ")])),_:1})]),E("div",{style:A({width:w.canvasWidth+"px",height:w.canvasHeight+"px"})},[it(je,{ref_key:"canvasRef",ref:n,bgColor:"#ffffff"},null,512)],4)]))}}),pw="",Nf=nt($b,[["__scopeId","data-v-858ad7b1"]]),Lb=2e3,zf=nt(H({customOptions:{InterpolationGraphDisplay:Nf},inheritAttrs:!0,__name:"InterpolationGroupGraphDisplay.ce",props:{interpolationList:{default:()=>[{interpolationName:"Linear",interpolationFunction:wt.Interpolation.Linear},{interpolationName:"Bezier",interpolationFunction:wt.Interpolation.Bezier},{interpolationName:"CatmullRom",interpolationFunction:wt.Interpolation.CatmullRom}]}},setup(s,{expose:t,emit:e}){const o=s,r={};function n(c,u){c&&(r[u]={el:c})}const a=new vn(1);function i(c){a.addTask(()=>(r[c].el.start(),new Promise(u=>{r[c].resolve=u})))}function l(c){r[c].resolve?.()}return t({}),(c,u)=>(L(),z("div",null,[(L(!0),z(Vt,null,xe(o.interpolationList,d=>(L(),z("div",{key:d.interpolationName,class:"interpolation-graph-wrap"},[it(Nf,{interpolationName:d.interpolationName,interpolationFunction:d.interpolationFunction,easeDuration:Lb,onOnMounted:i,onOnCompleted:l,ref_for:!0,ref:h=>n(h,d.interpolationName)},null,8,["interpolationName","interpolationFunction"])]))),128))]))}}),[["styles",[`.interpolation-graph-wrap[data-v-7128e350]{display:inline-block;margin-right:10px}
148
- `]],["__scopeId","data-v-7128e350"]]),Ab=nt(H({__name:"SVG.ce",props:{bgColor:{default:"rgba(255,255,255,0)"}},emits:["ready","resize"],setup(s,{expose:t,emit:e}){const o=s,r=e;let n,a,i;const l=R();Et(l,()=>{n||!l.value||(n=new ns(l.value,!1),n.on("resize",(u,d)=>{r("resize",u,d),a=new Xd(n),i?.(a),r("ready",a)}),n.start())});function c(){return new Promise(u=>{if(a)return u(a);i=u})}return re(()=>{n?.destroy()}),t({getSVGElement:()=>l.value,getSVG:c}),(u,d)=>(L(),z("div",{class:"svg",ref_key:"svgRef",ref:l,style:A({backgroundColor:o.bgColor})},null,4))}}),[["styles",[`.svg[data-v-4e16ec5b]{display:block;position:relative;overflow:hidden;width:100%;height:100%}
149
- `]],["__scopeId","data-v-4e16ec5b"]]),Mb=["width","height"],Pr=nt(H({__name:"Canvas.ce",props:{bgColor:{default:"rgba(255,255,255,0)"},enableCustomContext:{type:Boolean,default:!1}},emits:["ready","resize"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=R(),a=R(),i=R(0),l=R(0);let c;Et(n,()=>{n.value&&(c=new ns(n.value,!1),c.on("resize",(b,w)=>{const x=zo();i.value=Math.min(b,x.width),l.value=Math.min(w,x.height),p()}),c.start())}),Et(a,()=>{a.value&&p()});let u,d,h;function p(){u||!a.value||!i.value||!l.value||(u=new ns(a.value,!1),u.on("resize",(b,w)=>{r("resize",b,w),d=new qi(u,o.enableCustomContext),h?.(d),r("ready",d)}),u.start())}function f(){return new Promise(b=>{if(d)return b(d);h=b})}return re(()=>{u?.destroy(),c?.destroy()}),t({getCanvasElement:()=>a.value,getCanvas:f}),(b,w)=>(L(),z("div",{class:"canvas",ref_key:"canvasOutterRef",ref:n},[E("canvas",{ref_key:"canvasRef",ref:a,width:i.value,height:l.value,style:A({backgroundColor:o.bgColor})},null,12,Mb)],512))}}),[["styles",[`.canvas[data-v-e0bc94d8]{display:block;position:relative;overflow:hidden;width:100%;height:100%}
150
- `]],["__scopeId","data-v-e0bc94d8"]]),Nb=["max","min","step","value","autofocus"],zb={key:0,class:"label"},Vb=H({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(s,{expose:t,emit:e}){const o=s,r=e,n=R(o.defaultValue),a=()=>Te((n.value-o.min)/(o.max-o.min),4)*100,i=R(a());function l(d){n.value=Te(d.target.value,2),i.value=a(),r("change",n.value)}const c=`
192
+ )`,"box-sizing":"border-box"}},null,-1)),w("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:k.value+"px",top:x.value+"px",backgroundColor:l.value,border:`2px solid ${c.value}`}])},null,4)]),_:1})],4),w("div",L3,[Q(pt,{type:"full",onReady:g},{default:st(()=>[w("div",{class:"hue-knob",style:N([{position:"absolute",width:"15px",height:"2px","z-index":"1","box-sizing":"border-box"},{marginTop:v.value+"px",borderRight:"4px solid "+f.value}])},null,4)]),_:1})])])]),_:3},512))}}),V3={class:"dialog-parent"},Y3={key:0,class:"top-icon"},X3={class:"top-icon-warn"},Z3={class:"top-icon-warn-shadow"},U3={key:0,class:"title"},G3={key:0,class:"title-inner truncate"},H3={class:"custom-content"},j3={class:"custom-content-default"},Xa=at(X({customOptions:{Overlay:Jo,Pop:le,Button:re,SVGClose:ka,SVGWarn:tn,SVGEllipse:wa},inheritAttrs:!0,__name:"Dialog.ce",props:{closeWhenClickOverlay:{type:Boolean,default:!1},dur:{default:200},minWidth:{default:"280px"},maxWidth:{default:"20em"},overlayBgColor:{},stylePattern:{default:"fullfill"}},emits:["open","close","cancel","confirm"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=O(),a=O(""),i=O(""),l=O(!1),c=O(""),u=O(""),f=O(n.stylePattern),d=O("transparent"),h=O("transparent"),p=O(!1),v=O(""),k=O(""),x=O(!1);function m(D){switch(f.value=D,D){case"fullfill":d.value="fullfill",h.value="fullfill",p.value=!1,v.value="",k.value="",x.value=!1;break;case"transparent":d.value="transparent",h.value="transparent",p.value=!1,v.value="",k.value="",x.value=!1;break;case"icon-warn-red":d.value="transparent",h.value="fullfill",p.value=!0,v.value=Yt("--xg-red","#fa503c"),k.value=Yt("--xg-red-light","#fa8c78"),x.value=!0;break;case"icon-warn-blue":d.value="transparent",h.value="fullfill",p.value=!0,v.value=Yt("--xg-blue","#5a82f0"),k.value=Yt("--xg-blue-light","#66b3ff"),x.value=!0;break}}Rt(()=>n.stylePattern,()=>{m(n.stylePattern)},{immediate:!0});let g,y;const b=()=>{s("open")},_=()=>{s("close")};function $(D){a.value=D?.title||"",i.value=D?.content||"",l.value=typeof D?.showClose=="boolean"?D?.showClose:!1,c.value=D?.cancelText||"",u.value=D?.confirmText||"",m(D?.stylePattern||n.stylePattern),g=D?.onCancel,y=D?.onConfirm,r.value.open()}function Y(){r.value.close(),g?.(),s("cancel")}function B(){r.value.close(),y?.(),s("confirm")}return t({open:$,close:Y}),(D,ut)=>(I(),ht(le,{ref_key:"popRef",ref:r,directionFrom:"center",closeWhenClickOverlay:n.closeWhenClickOverlay,dur:n.dur,overlayBgColor:n.overlayBgColor,onOpen:b,onClose:_},{default:st(()=>[w("div",V3,[w("div",{class:"dialog",style:N({minWidth:n.minWidth,maxWidth:n.maxWidth})},[p.value?(I(),z("div",Y3,[w("div",X3,[Q(tn,{colorStart:v.value,colorEnd:k.value},null,8,["colorStart","colorEnd"])]),w("div",Z3,[Q(wa)])])):yt("",!0),w("div",{class:"dialog-inner",style:N({paddingTop:p.value?"24px":"0px"})},[a.value||l.value?(I(),z("div",U3,[a.value?(I(),z("div",G3,dt(a.value),1)):yt("",!0),l.value?(I(),z("div",{key:1,class:"close",onClick:Y},[w("div",null,[Q(ka)])])):yt("",!0)])):yt("",!0),w("div",H3,[gt(D.$slots,"default",{},()=>[w("div",j3,dt(i.value),1)],!0)]),c.value||u.value?(I(),z("div",{key:1,class:jt(["btns",[f.value,x.value?"vertical":""]])},[c.value?(I(),ht(re,{key:0,class:"btn",fontColor:"#333333",stylePattern:d.value,borderRadius:p.value?"44px":"0",borderColor:p.value?"#cccccc":"",bgColor:d.value=="transparent"?"#ffffff":"#f5f5f5",onClick:Y},{default:st(()=>[Bt(dt(c.value),1)]),_:1},8,["stylePattern","borderRadius","borderColor","bgColor"])):yt("",!0),u.value?(I(),ht(re,{key:1,class:"btn",stylePattern:h.value,borderRadius:p.value?"44px":"0",bgColor:h.value=="transparent"?"#ffffff":"",bgColorStart:v.value,bgColorEnd:k.value,fontWeight:h.value=="transparent"?"bold":"",onClick:B},{default:st(()=>[Bt(dt(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-edfaed2c]{display:flex;justify-content:center;align-items:center}.dialog[data-v-edfaed2c]{position:relative}.top-icon[data-v-edfaed2c]{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-edfaed2c]{width:60px;height:60px}.top-icon-warn-shadow[data-v-edfaed2c]{width:40px;height:4px;margin-top:4px}.dialog-inner[data-v-edfaed2c]{border-radius:12px;background-color:#fff;overflow:hidden}.title[data-v-edfaed2c]{position:relative;font-size:16px;margin-top:20px;color:#333}.title-inner[data-v-edfaed2c]{padding:0 64px;text-align:center;font-weight:700}.close[data-v-edfaed2c]{position:absolute;top:0;right:0;width:64px;height:100%;font-size:16px;text-align:center;display:flex;justify-content:center;align-items:center;cursor:pointer}.close>div[data-v-edfaed2c]{width:16px;display:flex;justify-content:center;align-items:center}.custom-content[data-v-edfaed2c]{font-size:14px;color:#666;word-break:break-all;text-align:center}.custom-content-default[data-v-edfaed2c]{padding:15px 20px 20px}.btns[data-v-edfaed2c]{display:flex;justify-content:center}.btns.vertical[data-v-edfaed2c]{flex-direction:column}.btns.vertical>.btn[data-v-edfaed2c]{margin-left:20px;margin-right:20px}.btns.vertical>.btn[data-v-edfaed2c]:nth-child(1){order:2;margin-top:10px;margin-bottom:20px}.btns.vertical>.btn[data-v-edfaed2c]:nth-child(2){order:1}.btns.transparent[data-v-edfaed2c]{border-top:1px solid #cccccc}.btns.transparent>.btn+.btn[data-v-edfaed2c]{border-left:1px solid #cccccc!important}.btn[data-v-edfaed2c]{flex:1 1 auto;border-radius:0}
193
+ `]],["__scopeId","data-v-edfaed2c"]]),W3={class:"loading"},q3={class:"icon"},K3={style:{width:"8em"}},Q3={key:0,class:"content"},qp=at(X({customOptions:{Overlay:Jo,Pop:le,Dialog:Ca,Loading8:Oh},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=O(),a=O(""),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(),ht(Ca,{ref_key:"dialogRef",ref:r,showConfirm:!1,showTitle:!1,closeWhenClickOverlay:n.closeWhenClickOverlay,dur:n.dur,onOpen:i,onClose:l},{default:st(()=>[w("div",W3,[w("div",q3,[gt(f.$slots,"default",{},()=>[w("div",K3,[Q(Oh)])],!0)]),a.value?(I(),z("div",Q3,dt(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}
194
+ `]],["__scopeId","data-v-2227dca8"]]),J3={class:"toast"},tk={class:"content"},Kp=at(X({customOptions:{Overlay:Jo,Pop:le,Dialog:Ca},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=O(),a=O(""),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(),ht(Ca,{ref_key:"dialogRef",ref:r,showConfirm:!1,showTitle:!1,closeWhenClickOverlay:n.closeWhenClickOverlay,dur:n.dur,overlayBgColor:"transparent",minWidth:"10em",onOpen:i,onClose:l},{default:st(()=>[w("div",J3,[w("div",tk,dt(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}
195
+ `]],["__scopeId","data-v-c02c226c"]]),ek=X({customOptions:{Container:pt,CSSAnimation:Qn},inheritAttrs:!0,__name:"Page.ce",props:{effect:{default:"moveFromLeft"},duration:{default:500},easeFunction:{type:Function,default:it.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=O(),a=Wt({}),i=()=>{s("ready",_,$)},l=()=>{v()},c=O();let u="rotateRightSideFirst",f=n.effect;function d(Y,B){switch(f){case"static":B();break;default:Y();break}}let h=!1;const p=new Xe,v=()=>{const Y={},B={};p.clear(),p.frameDuration=n.duration,d(()=>{u=f},()=>{p.addTween(Y,B,{delay:n.delay/n.duration,easeFunction:n.easeFunction,onStart:()=>{s(h?"pageCloseStart":"pageOpenStart")},onUpdate:D=>{a.transform="","x"in D&&(a.transform+=` translateX(${D.x}%)`),"y"in D&&(a.transform+=` translateY(${D.y}%)`),"rx"in D&&(a.transform+=` rotateX(${D.rx}deg)`),"ry"in D&&(a.transform+=` rotateY(${D.ry}deg)`),"scale"in D&&(a.transform+=` scale(${D.scale})`),"opacity"in D&&(a.opacity=`${D.opacity}`)},onComplete:()=>{s(h?"pageCloseEnd":"pageOpenEnd")}})})};Rt(()=>[n.effect,n.delay,n.duration,n.easeFunction],()=>{f=n.effect,v()},{immediate:!0});const k=()=>{s(h?"pageCloseStart":"pageOpenStart")},x=()=>{s(h?"pageCloseEnd":"pageOpenEnd")},m=()=>{d(()=>{c.value.trigger(u)},()=>{p.play()})},g=()=>{d(()=>{c.value.triggerReverse(u)},()=>{p.reverse()})},y=()=>{a.transform="none",a.opacity="1"};function b(){d(()=>{y()},()=>{c.value?.clear()})}const _=Y=>{Y&&(f=Y,v()),h=!1,b(),m()},$=Y=>{Y&&(f=Y,v()),h=!0,b(),g()};return t({open:_,close:$,clear:y}),(Y,B)=>(I(),ht(pt,{class:"page",ref_key:"pageRef",ref:r,type:"full",effectTriggerTiming:"manual",style:{overflow:"hidden",width:"100%",height:"100%"},onReady:i,onUpdate:l},{default:st(()=>[Q(Qn,{ref_key:"cssAnimationRef",ref:c,containerType:"full",effectTriggerTiming:"manual",duration:n.duration,delay:n.delay,timingFunction:n.timingFunction,onCssanimationstart:k,onCssanimationend:x},{default:st(()=>[w("div",{class:"page-inner",style:N({position:"relative",display:"block",width:"100%",height:"100%",overflow:"scroll",backfaceVisibility:"hidden",transformStyle:"preserve-3d",...a})},[gt(Y.$slots,"default")],4)]),_:3},8,["duration","delay","timingFunction"])]),_:3},512))}}),Qp=X({customOptions:{Page:Aa,Container:pt},inheritAttrs:!0,__name:"Routes.ce",props:{effect:{default:"moveToLeft"},duration:{default:500},easeFunction:{type:Function,default:it.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,ne){switch(et){case r:return h()?A:ne;case a:return h()?ne:A;default:return"static"}}function v(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 k(et,A=600,ne=600){switch(et){case r:return A;case a:return ne;default:return n.duration}}function x(et,A){switch(et){case"moveFromLeftFadePrevFold":case"moveFromRightFadePrevFold":case"moveFromTopFadePrevFold":case"moveFromBottomFadePrevFold":return k(A,700,700);case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":case"moveFromLeftPrevScaleToSmall":case"moveFromRightPrevScaleToSmall":case"moveFromTopPrevScaleToSmall":case"moveFromBottomPrevScaleToSmall":return k(A,700,600);case"scaleSmall":return k(A,700,500);case"scaleLarge":return k(A,500,700);case"scaleToLargePrevScaleToSmall":return k(A,400,400);case"scaleFromSmallPrevMoveToLeft":case"scaleFromSmallPrevMoveToRight":case"scaleFromSmallPrevMoveToTop":case"scaleFromSmallPrevMoveToBottom":return k(A,600,700);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":return k(A,800,600);default:return n.duration}}let m=n.timingFunction;function g(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:m=h()?"ease-in-out":"ease";break;case a:default:m=h()?"ease":"ease-in-out"}return g(A);default:return m=n.timingFunction,n.easeFunction}}function b(et,A=300){switch(et){case a:return n.delay+A;default:return n.delay}}function _(et,A){switch(et){case"flipToLeft":case"flipToRight":case"flipToTop":case"flipToBottom":case"newspaper":return b(A,500);case"scaleSmall":case"scaleLarge":return b(A,300);case"scaleToLargePrevScaleToSmall":return b(A,400);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":case"rotateSidesIn":return b(A,200);case"pullFromLeftPrevPush":case"pullFromRightPrevPush":case"pullFromTopPrevPush":case"pullFromBottomPrevPush":return b(A,180);default:return n.delay}}let $=2,Y=2;const B=()=>{$=2,Y=2},D=()=>{$=2,Y=3},ut=()=>{$=3,Y=2};function j(et){switch(n.effect){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":ut();break;case"scaleFromSmallPrevMoveToLeft":case"scaleFromSmallPrevMoveToRight":case"scaleFromSmallPrevMoveToTop":case"scaleFromSmallPrevMoveToBottom":case"rotateFall":case"rotateRoomLeftIn":case"rotateRoomRightIn":case"rotateRoomTopIn":case"rotateRoomBottomIn":case"rotateCubeLeftIn":case"rotateCubeRightIn":case"rotateCubeTopIn":case"rotateCubeBottomIn":case"rotateCarouselLeftIn":case"rotateCarouselRightIn":case"rotateCarouselTopIn":case"rotateCarouselBottomIn":h()?ut():D();break;case"moveFromLeftPrevFade":case"moveFromRightPrevFade":case"moveFromTopPrevFade":case"moveFromBottomPrevFade":case"moveFromLeftPrevScaleToSmall":case"moveFromRightPrevScaleToSmall":case"moveFromTopPrevScaleToSmall":case"moveFromBottomPrevScaleToSmall":case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":h()?D():ut();break;default:B();break}d(r)&&r==et&&(f[r].style.zIndex=`${$}`,f[r].style.visibility="visible"),d(a)&&a==et&&(f[a].style.zIndex=`${Y}`,f[a].style.visibility="visible")}function tt(et){D(),et==r&&(f[r].style.zIndex=`${$}`,f[r].style.visibility="hidden"),et==a&&(f[a].style.zIndex=`${Y}`,f[a].style.visibility="visible",l.shift()?.(),s("routeChangeEnd",r,a,c.length),r=a)}const vt=O();function St(et=0,A=!1){if(!vt.value)return;let ne=0;Mr(Ut("div",{class:"routes-pages",style:{display:"block",width:"100%",height:"100%",overflow:"hidden",position:"relative"}},c.map((Nt,F)=>{const nt=v(n.effect,F);return Ut("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}:{}),Ut(Aa,{effect:nt,duration:x(n.effect,F),easeFunction:y(n.effect,F),timingFunction:m,delay:_(n.effect,F),onReady:(H,lt)=>{u[F]={open:H,close:lt},++ne==et&&(i?.(),s("renderComplete"))},onPageOpenStart:()=>{j(F)},onPageOpenEnd:()=>{tt(F)},onPageCloseStart:()=>{j(F)},onPageCloseEnd:()=>{tt(F)}},{default:()=>Nt.component instanceof HTMLElement?Ut("div",{...Nt.attributes,innerHTML:Nt.component.innerHTML}):Ut(Nt.component,Nt.attributes,()=>Nt.child)}))})),vt.value),f=vt.value.children[0].children}Rt(()=>n.effect,()=>{St()});function $t(et=[]){c=[...et],c.forEach(A=>{A.pageKey=A.pageKey||zn()}),i=()=>{r=-1,Xt(0)},St(c.length,!0)}function kt(et){et.pageKey=et.pageKey||zn(),c.push(et),i=()=>{Xt(c.length-1)},St(1,c.length==1)}function wt(){c.length<=1||Xt(c.length-2,()=>{c.splice(c.length-1,1),r=c.length-1,St()})}function oe(){Xt(r+1)}function pe(){Xt(r-1)}const he=new Yr(1);function Xt(et,A){he.addTask(()=>new Promise(ne=>{const Nt=()=>{A?.(),ne()};if(!d(et)){Nt();return}if(a=et,a==r){Nt();return}l.push(Nt),St(),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:kt,pop:wt,forward:oe,back:pe,goto:Xt,currentPageIndex:()=>r,totalPages:()=>c.length}),(et,A)=>(I(),z("div",{class:"routes",ref_key:"routesRef",ref:vt,style:{display:"block",position:"relative",width:"100%",height:"100%","overflow-x":"hidden","overflow-y":"hidden"}},null,512))}}),ok=["src"],hc=at(X({name:"Image",customOptions:{Container:pt,Pop:le},inheritAttrs:!0,__name:"Image.ce",props:{src:{},mode:{default:"scaleToFill"},dur:{default:300},bgColor:{default:"transparent"},openImageDetailWhenClick:{type:Boolean,default:!0}},emits:["settled"],setup(o,{expose:t,emit:e}){const n=o,s=e,r=new Xe({frameDuration:n.dur}),a=O(0),i=O(0),l=O(0),c=O(0),u=O(0),f=O(0),d=O(0),h=O(0),p=O(!0),v=O(0),k=O(0);Kd(n.src).then(tt=>{v.value=tt.width,k.value=tt.height,_()}).catch(()=>{p.value=!1});const x=O(0),m=O(0),g=tt=>{x.value=tt.rect.width,m.value=tt.rect.height,_()},y=O(0),b=O(0);function _(){if(!x.value||!m.value||!v.value||!k.value)return;const tt=fa(n.mode,v.value,k.value,x.value,m.value);y.value=tt.width,b.value=tt.height;const{width:vt,height:St}=Ds(),$t=fa("aspectFit",v.value,k.value,vt,St);d.value=$t.width,h.value=$t.height,u.value=(vt-d.value)/2,f.value=(St-h.value)/2}const $=tt=>{s("settled",tt.rect.x,tt.rect.y,tt.rect.width,tt.rect.height)};let Y=!1;const B=O(),D=O();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:it.Quadratic.Out,onUpdate(vt){a.value=vt.left,i.value=vt.top,l.value=vt.width,c.value=vt.height},onComplete(){Y&&D.value.close(),Y=!Y}}),Y||(D.value.open(),r.play())}function j(){Y&&r.reverse()}return t({}),(tt,vt)=>(I(),ht(pt,{class:"image",type:"full",style:N({backgroundColor:n.bgColor}),onReady:g,onUpdate:g,onClick:ut},{default:st(()=>[p.value?(I(),ht(pt,{key:0,class:"image-inner",ref_key:"imageRef",ref:B,type:"shrink",style:N({width:y.value+"px",height:b.value+"px",backgroundImage:`url(${n.src})`,backgroundSize:`${y.value}px ${b.value}px`}),onReady:$,onUpdate:$},null,8,["style"])):yt("",!0),p.value?yt("",!0):(I(),ht(pt,{key:1,type:"shrink"},{default:st(()=>[w("img",{src:n.src,style:{display:"block",objectFit:"contain"}},null,8,ok)]),_:1})),Q(le,{ref_key:"popRef",ref:D,"direction-from":"absolute","absolute-left":`${a.value}px`,"absolute-top":`${i.value}px`,"absolute-width":`${l.value}px`,"absolute-height":`${c.value}px`,"close-when-click-overlay":!1,onClickOverlay:j},{default:st(()=>[w("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"]]),nk={key:0,style:{position:"absolute",top:"30px",left:"50%",transform:"translate(-50%, 0)",color:"#ffffff","font-size":"1em","z-index":"98"}},Jp=X({customOptions:{Image:$a,Container:pt,Routes:js},inheritAttrs:!0,__name:"ImageView.ce",props:{urls:{default:()=>[]},effect:{default:"moveToLeftFade"}},setup(o,{expose:t,emit:e}){const n=o,s=O(0);function r(d,h){s.value=h}const a=O(),i=d=>{d.eb.on("panLeft",()=>{a.value?.forward()}),d.eb.on("panRight",()=>{a.value?.back()}),a.value.reset(n.urls.map(h=>({component:Ut($a,{mode:"aspectFit",src:h,openImageDetailWhenClick:!1})})))},l=O();function c(){l.value?.open()}function u(){l.value?.close()}const f=d=>{d.target&&da(d.target,"image")&&u()};return t({open:c,close:u}),(d,h)=>(I(),ht(le,{ref_key:"popRef",ref:l,directionFrom:"absolute",onClick:f},{default:st(()=>[n.urls.length>1?(I(),z("div",nk,dt(s.value+1)+" / "+dt(n.urls.length),1)):yt("",!0),Q(pt,{style:{position:"absolute",top:"50%",transform:"translate(0, -50%)",width:"100%",height:"100%","z-index":"97"},onReady:i},{default:st(()=>[Q(js,{ref_key:"routesRef",ref:a,effect:n.effect,onRouteChangeEnd:r},null,8,["effect"])]),_:1})]),_:1},512))}}),tm=at(X({customOptions:{Container:pt,SVGDown:Ba},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=O(),a=O(Number.MAX_SAFE_INTEGER+"px"),i=O(!0);ye(()=>{mr(()=>{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=O(0);return Fn(()=>{c.value=i.value?0:-90}),t({}),(u,f)=>(I(),ht(pt,null,{default:st(()=>[w("div",{class:"accordion",style:N({background:n.bgColor,color:n.fontColor,borderRadius:n.borderRadius})},[w("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}`})},[gt(u.$slots,"title",{},()=>[f[0]||(f[0]=Bt("title"))],!0),Q(Ba,{class:"arrow",style:N({transition:`transform ${n.duration}ms ease-in-out`,transform:`rotate(${c.value}deg)`})},null,8,["style"])],4),w("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"})},[gt(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"]]),sk=`.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
+ `,rk={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",cl&&this.$el.appendChild(o),o.data="about:blank",cl||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&&(!cl&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}},ak={class:"resize-observer",tabindex:"-1"};function ik(o,t,e,n,s,r){return I(),z("div",ak)}const em=at(rk,[["render",ik],["styles",[sk]],["__scopeId","data-v-16da9fc4"]]),om=X({__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=O(n.mapWidth),r=O(n.mapHeight);function a(c){s.value=c.width+"px",r.value=c.height+"px"}function i(c){a(c.rect),Ov(`http://api.tianditu.gov.cn/api?v=4.0&tk=${n.mapKey}`).then(()=>{new $v(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(),ht(pt,{type:"full",onReady:i,onUpdate:l},{default:st(()=>[gt(c.$slots,"default",{width:s.value,height:r.value})]),_:3}))}}),lk=["width","height"],ck=X({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=O();return Rt(r,()=>{if(!r.value)return;const a=ra(r.value),i=new nh(a,!0);i.ctx.strokeStyle=n.brushColor,i.ctx.lineWidth=n.brushSize,i.drawMouseMoveLine("line"),s=()=>{wn.downloadFromSVGString(i.ctx.toRawSVG().raw,n.downloadFileName)},a.start()}),t({download:()=>s()}),(a,i)=>(I(),z("canvas",{ref_key:"panelRef",ref:r,width:n.canvasWidth,height:n.canvasHeight,style:N([`border: 1px solid ${a.borderColor}`])},null,12,lk))}}),uk=["data-number"],fk=["data-number","data-unactive"],dk=["data-number"],hk=["data-number","data-unactive"],nm=at(X({customOptions:{Pop:le,SVGCleanUp:Ul,Container:pt},__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=O("0px");let a;ye(()=>{a=Sl.onBottom(b=>{r.value=b})}),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=O(),d=O(0),h=Wt([]);function p(){h.length==0?d.value=0:h.length==1?d.value=1:d.value=2,h.length>=n.completePlateLength&&m()}Rt(()=>[...n.initPlates],()=>{Ps(h,n.initPlates),p()},{immediate:!0});const v=O(0),k=b=>{v.value=b.rect.height,s("resize",b.rect)},x=()=>{f.value.open(),s("open")},m=()=>{f.value.close(),s("close")},g=()=>{h.pop(),p(),s("plates",h)},y=b=>{if(b.target.dataset.unactive||"")return;let $=b.target.dataset.number;$&&(h.push($),p(),s("plates",h))};return t({open:x,close:m}),(b,_)=>(I(),ht(le,{ref_key:"popRef",ref:f,directionFrom:"bottom",isGlobal:!0,closeWhenClickOverlay:!1,popValue:v.value},{default:st(()=>[Q(pt,{onReady:k,onUpdate:k},{default:st(()=>[w("div",{class:"popup-plate",style:N({paddingBottom:r.value})},[w("div",null,[w("div",{onClick:m},"关闭")]),w("div",{class:jt(["step",d.value==0?"":"hide"])},[(I(),z(Dt,null,Te(i,$=>w("div",{key:$,class:"popitem",onClick:y,"data-number":$},dt($),9,uk)),64)),w("div",{class:"popitem popitem-clear",onClick:g},[Q(Ul,{width:"16px"})])],2),w("div",{class:jt(["step",d.value!=0?"":"hide"])},[(I(),z(Dt,null,Te(l,$=>w("div",{key:$,class:jt(["popitem",d.value!=2?"unactive":""]),onClick:y,"data-number":$,"data-unactive":d.value!=2?"unactive":""},dt($),11,fk)),64)),(I(),z(Dt,null,Te(c,$=>w("div",{key:$,class:"popitem",onClick:y,"data-number":$},dt($),9,dk)),64)),(I(),z(Dt,null,Te(u,$=>w("div",{key:$,class:jt(["popitem",d.value!=2?"unactive":""]),onClick:y,"data-number":$,"data-unactive":d.value!=2?"unactive":""},dt($),11,hk)),64)),w("div",{class:"popitem popitem-clear",onClick:g},[Q(Ul,{width:"16px"})])],2)],4)]),_:1})]),_:1},8,["popValue"]))}}),[["styles",[`.popup-plate[data-v-6a03a199]{box-sizing:border-box;width:100%;background-color:#ddd}.hide[data-v-6a03a199]{display:none!important}.popup-plate>div[data-v-6a03a199]: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-6a03a199]{flex:0 0 auto;padding:0 15px;color:#5a82f0;font-size:16px;line-height:2.6;cursor:pointer}.popup-plate>.step[data-v-6a03a199]{display:flex;flex-wrap:wrap;justify-content:center;padding:10px 10px 5px}.popup-plate>.step>.popitem[data-v-6a03a199]{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-6a03a199]:not(.unactive):active{background-color:#eee}.popup-plate>.step>.popitem.unactive[data-v-6a03a199]{color:#ccc}.popup-plate>.step>.popitem.popitem-clear[data-v-6a03a199]{background-color:#eee;display:flex;justify-content:center;align-items:center}
199
+ `]],["__scopeId","data-v-6a03a199"]]),pk=["fill"],mk=["fill"],sm=X({__name:"SVGCheck",props:{width:{default:"10px"},color:{default:Yt("--xg-blue")}},setup(o){const t=o;return(e,n)=>(I(),z("svg",{style:N(["transform-origin: center","width: "+t.width]),viewBox:"0 0 7 5",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[w("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,pk),w("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,mk)],4))}}),gk=["onClick"],yk={key:1},vk=["onClick"],bk={key:0,class:"info"},rm=at(X({customOptions:{SVGCheck:sm},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=O(),i=O(0),l=Wt([]),c=O(-1),u=O(!1),f=O(0);async function d(){const k=sa().clientHeight-a.value.getBoundingClientRect().bottom;zh({initPlates:l,completePlateLength:r[i.value].completePlateLength,onPlates:x=>{Ps(l,x),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:x=>{f.value=Math.min(0,k-x.height)}})}const h=async v=>{i.value=v,c.value<=r[v].completePlateLength&&l.length<r[v].completePlateLength?(c.value=l.length,await d(),s("clear")):Ps(l,l.slice(0,r[v].completePlateLength)),r[v].completePlateLength===l.length&&s("complete",r[i.value].name,l.join(""))},p=async v=>{Ps(l,l.slice(0,v)),c.value=Math.min(Math.max(0,c.value),v),await d(),s("clear")};return t({}),(v,k)=>(I(),ht(pt,{class:"plate-mobile",style:N({maxWidth:n.maxWidth,transform:u.value?`translate(0, ${f.value}px)`:""})},{default:st(()=>[k[2]||(k[2]=w("div",{class:"title"},"车牌颜色",-1)),w("div",{class:jt(["plate-types",n.stylePattern])},[(I(),z(Dt,null,Te(r,(x,m)=>w("div",{key:m,class:jt(m==i.value?"checked":""),onClick:g=>h(m)},[n.stylePattern=="dot"?(I(),z(Dt,{key:0},[w("div",{style:N(x.style)},null,4),w("div",null,dt(x.name),1),w("div",null,[Q(sm,{color:"#ffffff",width:"7px"})])],64)):(I(),z("div",yk,dt(x.name),1))],10,gk)),64))],2),k[3]||(k[3]=w("div",{class:"title"},"车牌号码",-1)),w("div",{class:"plate-numbers",ref_key:"numbersRef",ref:a},[w("div",{onClick:k[0]||(k[0]=x=>p(0)),class:jt(c.value==0?"current":"")},dt(l[0]),3),w("div",{onClick:k[1]||(k[1]=x=>p(1)),class:jt(c.value==1?"current":"")},dt(l[1]),3),(I(!0),z(Dt,null,Te(r[i.value].completePlateLength-2,x=>(I(),z("div",{key:x,class:jt(x+1==c.value?"current":""),onClick:m=>p(x+1)},dt(l[x+1]),11,vk))),128))],512),n.showBottomInfo?(I(),z("div",bk," 请输入您真实有效的车牌号,便于正常使用系统功能。 ")):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"},pc=at(X({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=O(r(n.plateType||"")),i=O(),l=O(14);return ye(()=>{l.value=ha(i.value).getEmSize()}),t({}),(c,u)=>(I(),z("div",{class:"plate-display",ref_key:"el",ref:i},[c.displayType=="dot"&&c.plate!=="无牌车"?(I(),z("div",{key:0,class:jt(["leading",c.displayType]),style:N({...a.value.style,width:l.value+"px",height:l.value+"px",marginRight:.36*l.value+"px"})},dt(a.value.name),7)):yt("",!0),c.displayType=="chinese"&&c.plate!=="无牌车"?(I(),z("div",{key:1,class:jt(["leading",c.displayType]),style:N(a.value.style)},dt(a.value.name),7)):yt("",!0),c.displayType=="plaintext"&&c.plate!=="无牌车"?(I(),z("div",{key:2,class:jt(["leading",c.displayType])},dt(a.value.name),3)):yt("",!0),w("div",_k,dt(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"]]),xk=["width","height"],_o=X({__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=O(),a=O(0),i=O(0);let l,c,u;function f(v){const k=Ds();a.value=Math.min(v.width,k.width),i.value=Math.min(v.height,k.height)}function d(v){f(v.rect)}function h(v){f(v.rect),p&&s("update",c)}let p=!1;return Fn(()=>{r.value&&(!a.value||!i.value||l||(l=ra(r.value),l.start().then(()=>{c=new nh(l,n.enableCustomContext),u?.(c),s("ready",c),p=!0})))}),ue(()=>{l?.end()}),t({getCanvas:()=>new Promise(v=>{if(c)return v(c);u=v}),getElement:()=>r.value,getRect:()=>r.value.getBoundingClientRect()}),(v,k)=>(I(),ht(pt,{class:"canvas",type:"full",onReady:d,onUpdate:h,style:{overflow:"hidden"}},{default:st(()=>[w("canvas",{ref_key:"r",ref:r,width:a.value,height:i.value,style:N({backgroundColor:n.bgColor})},null,12,xk)]),_:1}))}}),kk={class:"ring-indicator"},wk={class:"ring-text"},am=at(X({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(o,{expose:t}){const e=o;let n=O(0);const s=N1(()=>{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)),Re(n.value/100,2)},20),r=O(0),a=O(0);function i(c){r.value=c.controller.rect.width,a.value=c.controller.rect.height}function l(c){i(c);const u=new Ev({width:r.value,height:a.value,startDegree:0,endDegree:180,extendDegree:15,lineWidth:e.lineWidth,bgColor:e.bgColor,startColor:e.startColor,endColor:e.endColor});Ur(()=>(c.ctx.clearRect(),u.setPercent(s()),c.draw(u),!0))}return t({}),(c,u)=>(I(),z("div",kk,[Q(_o,{onReady:l,onUpdate:i}),w("div",wk,[w("span",null,dt(Ot(n)),1),u[0]||(u[0]=w("span",null,"%",-1))])]))}}),[["styles",[`.ring-indicator[data-v-c885c402]{position:relative;width:100%;height:100%}.ring-text[data-v-c885c402]{position:absolute;bottom:0;left:0;width:100%;text-align:center;font-family:D-DINCondensed-number;color:#333;padding-bottom:20px}.ring-text>span[data-v-c885c402]:nth-child(1){font-size:64px}.ring-text>span[data-v-c885c402]:nth-child(2){font-size:20px}
202
+ `]],["__scopeId","data-v-c885c402"]]),Ck={key:0},Tk={key:1},Tn=10,ts=4,im=at(X({customOptions:{Container:pt},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=O(0),s=r=>{n.value=Math.floor(Math.min(r.rect.width,r.rect.height))};return t({}),(r,a)=>(I(),ht(pt,{onReady:s,onUpdate:s,type:"full"},{default:st(()=>[w("div",{class:"ring",style:N({width:n.value+"px",height:n.value+"px",padding:Tn+"px",background:`linear-gradient(180deg, ${e.startColor} 0%, ${e.endColor} 100%)`})},[w("div",{class:"ring-rotate",style:N({animation:`rotate-reverse ${e.dur}ms infinite linear`,mask:`radial-gradient(transparent ${n.value/2-Tn-ts}px, #000 ${n.value/2-Tn-ts}px)`})},a[0]||(a[0]=[w("div",{class:"left"},null,-1),w("div",{class:"right"},null,-1)]),4),w("div",{class:"ring-content",style:N({top:Tn+ts+"px",left:Tn+ts+"px",width:n.value-(Tn+ts)*2+"px",height:n.value-(Tn+ts)*2+"px"})},[e.text?(I(),z("div",Ck,dt(e.text),1)):yt("",!0),e.secondText?(I(),z("div",Tk,dt(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}}
203
+ `,`.ring[data-v-a18134cd]{position:relative;display:block;margin:0 auto;border-radius:50%;overflow:hidden;box-sizing:border-box}.ring-rotate[data-v-a18134cd]{width:100%;height:100%;position:relative;overflow:hidden;box-sizing:border-box;border-radius:50%}.ring-content[data-v-a18134cd]{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-a18134cd]:nth-child(1){font-size:20px;font-weight:700}.ring-content>div[data-v-a18134cd]:nth-child(2){font-size:14px;margin-top:6px}.left[data-v-a18134cd],.right[data-v-a18134cd]{position:absolute;top:0;width:50%;height:100%;z-index:0}.left[data-v-a18134cd]{left:0;background:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.5))}.right[data-v-a18134cd]{right:0;background:linear-gradient(180deg,rgba(255,255,255,1),rgba(255,255,255,.5))}
204
+ `]],["__scopeId","data-v-a18134cd"]]),lm=at(X({customOptions:{Container:pt},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=O(),s=O(40),r=O(20),a=O(20),i=x=>{s.value=Math.floor(x.rect.width/(6+1)),r.value=Math.floor(x.rect.height),a.value=Math.max(12,r.value)},l=x=>{e.initStart&&v(e.startTime),i(x)};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 v=x=>{x&&(v1(y1(x),h),h.forEach((m,g)=>{f[g]=m,d[g]=m})),u(),p=0,k(ae(),0,!1),c=$1((m,g,y)=>{k(m,g,y)},1e3)},k=(x,m,g)=>{if(g)p=m;else{if(p>0){h.forEach((b,_)=>{f[_]=b,d[_]=b});const y=p+1;e.creaseType=="increase"?(sl(f,y),sl(d,y+1)):(rl(f,y),rl(d,y+1)),p=0}else e.creaseType=="increase"?sl(d,1):rl(d,1);ul(()=>{d.forEach((y,b)=>{f[b]=y})},e.dur)}};return ye(()=>{bo(`
151
205
  :root {
152
- --input-range-color: ${o.color};
153
- --input-range-thumb-size: ${o.handleSize};
154
- --input-range-track-size: ${o.barHeight};
206
+ --yz-clock-flipper-bg-color:${e.bgColor};
207
+ --yz-clock-flipper-text-color:${e.textColor};
208
+ --yz-clock-flipper-border-radius:${e.borderRadius}px;
209
+ --yz-clock-flipper-gap:${e.gap}px;
210
+ --yz-clock-flipper-gap-double:${e.gap*2}px;
211
+ --yz-clock-flipper-gap-four:${e.gap*4}px;
212
+ --yz-clock-flipper-animation-duration:${e.dur}ms;
213
+ --yz-clock-flipper-perspective: ${e.perspective}px;
155
214
  }
156
215
  :host {
157
- --input-range-color: ${o.color};
158
- --input-range-thumb-size: ${o.handleSize};
159
- --input-range-track-size: ${o.barHeight};
160
- }
161
- `,u=R();return Et(u,()=>{u.value&&us(c,u.value)}),re(()=>{}),t({}),(d,h)=>(L(),z("div",{class:"input-range",ref_key:"inputRangeContainer",ref:u},[E("input",{type:"range",max:o.max,min:o.min,step:o.step,value:n.value,autofocus:o.autofocus,onInput:l,style:A({background:`linear-gradient(to right, ${o.color} 0%, ${o.color} ${i.value}%, ${o.barColor} ${i.value}%, ${o.barColor})`})},null,44,Nb),_t(d.$slots,"default",{value:n.value},()=>[d.showValue?(L(),z("label",zb,yt(n.value)+yt(o.unit),1)):Rt("",!0)],!0)],512))}}),xw="",ko=nt(Vb,[["__scopeId","data-v-cab67db2"]]),Bb=H({__name:"SVG",props:{bgColor:{default:"rgba(255,255,255,0)"}},emits:["ready","resize"],setup(s,{expose:t,emit:e}){const o=s,r=e;let n,a,i;const l=R();Et(l,()=>{n||!l.value||(n=new ns(l.value,!1),n.on("resize",(u,d)=>{r("resize",u,d),a=new Xd(n),i?.(a),r("ready",a)}),n.start())});function c(){return new Promise(u=>{if(a)return u(a);i=u})}return re(()=>{n?.destroy()}),t({getSVGElement:()=>l.value,getSVG:c}),(u,d)=>(L(),z("div",{class:"svg",ref_key:"svgRef",ref:l,style:A({backgroundColor:o.bgColor})},null,4))}}),ww="",Vf=nt(Bb,[["__scopeId","data-v-132e642b"]]),Yb='<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg"><g fill-rule="evenodd"><path d="M405.614 190.524c17.843 0 32.315-14.472 32.315-32.329s-14.472-32.329-32.315-32.329c-17.87 0-32.342 14.472-32.342 32.33 0 17.856 14.471 32.328 32.342 32.328zm21.479 7.867c-.528-.333-1.11-.569-1.665-.805a37.223 37.223 0 0 0-11.78-5.189l-8.034 8.103-7.811-8.2c-.028 0-.056.014-.084.014-4.135.985-8.2 2.747-11.821 5.133-.639.264-1.277.555-1.901.93-25.1 15.387-39.502 27.57-43.956 98.79-.43 6.924 4.842 12.876 11.738 13.306.278.014.541.028.805.028 6.577 0 12.099-5.12 12.529-11.766 1.512-24.045 3.927-39.627 7.437-50.38v43.47c0 3.386.652 6.535 1.804 9.421-.083.666-.167 1.319-.167 1.998l.028 120.172c0 8.186 6.618 14.832 14.819 14.832 8.2 0 14.832-6.646 14.832-14.832V320.283c.583.028 1.18.07 1.776.07.097 0 .222-.015.333-.015v103.078c0 8.2 6.632 14.832 14.832 14.832 8.2 0 14.833-6.632 14.833-14.832l.014-119.422c1.942-3.608 3.08-7.687 3.08-12.155v-43.11c3.427 10.74 5.827 26.238 7.312 50.02.416 6.646 5.952 11.766 12.515 11.766.25 0 .527 0 .791-.028 6.91-.43 12.168-6.396 11.752-13.306-4.454-71.234-18.87-83.403-43.97-98.79h-.041zm-21.41 66.087h-.152l-7.798-10.67 7.798-52.115h.152l7.798 52.115-7.798 10.67zM63.235 217.927c0 12.682 10.267 22.95 22.963 22.95 12.668 0 22.935-10.282 22.935-22.95s-10.281-22.95-22.935-22.95c-12.696 0-22.963 10.282-22.963 22.95zm38.211 28.527c-.374-.222-.79-.402-1.179-.569a26.82 26.82 0 0 0-8.367-3.69l-5.702 5.757-5.564-5.827c-.014 0-.042.014-.056.014a26.862 26.862 0 0 0-8.394 3.649c-.458.194-.916.388-1.346.652-15.873 9.727-25.724 17.69-29.914 55.056h17.912c.985-8.366 2.276-14.68 3.857-19.564v19.564h46.981v-19.314c1.554 4.843 2.803 11.086 3.774 19.314h17.899c-4.176-37.365-14.028-45.316-29.9-55.056v.014zM86.24 293.379h-.097l-5.536-7.576 5.536-36.99h.097l5.536 36.99-5.536 7.576zm67.432-75.452c0 12.682 10.281 22.95 22.963 22.95 12.668 0 22.935-10.282 22.935-22.95s-10.267-22.95-22.935-22.95c-12.682 0-22.963 10.282-22.963 22.95zm38.212 28.527c-.375-.222-.791-.402-1.18-.569a26.54 26.54 0 0 0-8.366-3.69l-5.703 5.757-5.55-5.827c-.014 0-.042.014-.055.014a26.723 26.723 0 0 0-8.395 3.649c-.458.194-.916.388-1.36.652-15.873 9.727-25.724 17.69-29.914 55.056h17.926c.985-8.366 2.276-14.68 3.858-19.564v19.564h46.98v-19.314c1.554 4.843 2.803 11.086 3.774 19.314h17.9c-4.191-37.365-14.042-45.316-29.915-55.056v.014zm-15.221 46.925h-.111l-5.536-7.576 5.536-36.99h.11l5.537 36.99-5.536 7.576zm-45.607-104.784c42.624 0 77.297-34.673 77.297-77.297C208.353 68.674 173.68 34 131.056 34c-42.624 0-77.298 34.674-77.298 77.298s34.674 77.297 77.298 77.297zm0-134.074c31.316 0 56.776 25.46 56.776 56.777 0 31.316-25.474 56.776-56.776 56.776-31.302 0-56.777-25.46-56.777-56.776 0-31.316 25.475-56.777 56.777-56.777z"/><path d="M170.918 103.084H139.27V69.908h-16.414v49.59h48.063zm30.137 305.277l-8.464-3.121a64.461 64.461 0 0 0-.707-18.732l8.172-3.774c5.106-2.345 7.354-8.422 4.995-13.528l-4.773-10.365c-2.345-5.106-8.408-7.353-13.514-4.995l-8.187 3.774a64.241 64.241 0 0 0-13.763-12.723l3.121-8.464c1.943-5.272-.763-11.155-6.035-13.098l-10.712-3.954c-5.106-1.873-11.21.944-13.098 6.036l-3.122 8.463a65.463 65.463 0 0 0-18.73.708l-3.775-8.186c-2.345-5.106-8.422-7.34-13.528-4.995L88.57 326.18c-5.106 2.358-7.353 8.436-4.995 13.528l3.774 8.172a64.996 64.996 0 0 0-12.723 13.778l-8.45-3.122c-5.106-1.9-11.21.916-13.112 6.022l-3.94 10.712a10.136 10.136 0 0 0 .305 7.797 10.124 10.124 0 0 0 5.73 5.287l8.464 3.135a64.95 64.95 0 0 0 .708 18.732l-8.187 3.774c-5.106 2.344-7.34 8.422-4.995 13.514l4.787 10.378c2.345 5.106 8.409 7.34 13.528 4.981l8.187-3.774a64.336 64.336 0 0 0 13.778 12.724l-3.122 8.464c-.958 2.553-.847 5.314.305 7.797a10.104 10.104 0 0 0 5.716 5.315l10.712 3.954c2.553.943 5.314.832 7.798-.305a10.034 10.034 0 0 0 5.286-5.73l3.136-8.464a64.931 64.931 0 0 0 18.731-.708l3.76 8.186c2.345 5.092 8.422 7.34 13.528 4.981l10.365-4.773c5.12-2.345 7.354-8.408 4.995-13.528l-3.774-8.172a64.24 64.24 0 0 0 12.71-13.778l8.463 3.136c2.567.957 5.328.832 7.812-.306 2.483-1.137 4.343-3.177 5.286-5.716l3.955-10.712c1.956-5.272-.736-11.141-6.022-13.084l-.014-.014zm-56.083 26.64c-5.342 2.456-11.017 3.705-16.858 3.705-15.693 0-30.08-9.213-36.644-23.463-9.296-20.202-.43-44.192 19.758-53.488a39.873 39.873 0 0 1 16.845-3.704c15.692 0 30.08 9.199 36.643 23.448 9.297 20.202.43 44.206-19.744 53.502zm142.635-185.578V76.458h-52.406V87.82h41.043v161.602H235.2v13.986h41.043v176.227H235.2v11.363h52.406V263.41h47.647l-.805-13.986z"/></g></svg>',Xb={class:"btns"},Gb={class:"btns"},Ub={class:"btns sub-btns"},jb={class:"btns sub-btns"},Hb={style:{width:"100%"}},Wb={style:{width:"100%"}},Zb={style:{height:"400px"}},qb={style:{height:"400px"}},Qb=H({customOptions:{Button:qt,InputRange:ko,SVG:Vf,Canvas:je},inheritAttrs:!0,__name:"SVGAndCanvas.ce",props:{easeName:{default:"Linear"},easeFunction:{type:Function,default:wt.Easing.Linear.None}},setup(s,{expose:t}){const e=s,o=R();let r=0,n=0;Et(o,()=>{o.value&&o.value.getSVG().then(I=>{r=I.app.width,n=I.app.height,I.app.on("resize",($,M)=>{r=$,n=M})})});const a=R(),i=R(),l=R(),c=R(""),u=R("");let d;function h(I){switch(u.value=I,c.value){case"AnimateToTweenCSS":Z();break}}const p=new Vy({svg:Yb,width:300,attrs:{"stroke-width":"1",stroke:"#ff0000",fill:"none"},enableDrag:!0}),f=new ne({d:"M62.9 14.9c-25-7.74-56.6 4.8-60.4 24.3-3.73 19.6 21.6 35 39.6 37.6 42.8 6.2 72.9-53.4 116-58.9 65-18.2 191 101 215 28.8 5-16.7-7-49.1-34-44-34 11.5-31 46.5-14 69.3 9.38 12.6 24.2 20.6 39.8 22.9 91.4 9.05 102-98.9 176-86.7 18.8 3.81 33 17.3 36.7 34.6 2.01 10.2.124 21.1-5.18 30.1"}),b=+f.getTotalLength().toFixed(0),w=R(b),x=R(Math.floor(b/2));function v(I){w.value=I,f.setAttr("strokeDasharray",`${w.value} ${w.value}`)}function g(I){x.value=I,f.setAttr("strokeDashoffset",`${x.value}`)}const m=[{name:"Shape",type:"Shape",onClick:()=>{c.value="Shape",!(!o.value||!a.value)&&(d?.(),o.value.getSVG().then(I=>{a.value.getCanvas().then($=>{const M=new Vo({x:0,y:0,width:100,height:20,degree:30,scalar:2,attrs:{stroke:Ft.random().toString()},enableDrag:!0});I.clear(),d=ce(()=>($.ctx.clearRect(),I.path([M]),$.draw([M]),!0))})}))}},{name:"Shapes",type:"Shapes",onClick:()=>{if(c.value="Shapes",!o.value||!a.value)return;d?.();const I=new we({x:100,y:100,toX:100,toY:200,attrs:{stroke:"#666666"},enableDrag:!0}),$=new we({x:100,y:100,toX:100,toY:200,degree:30,attrs:{stroke:"#666666"},enableDrag:!0}),M=ee(0,r-100),D=ee(0,n-100),N=new we({attrs:{stroke:"#666666"}});N.x=M,N.y=D,N.toX=M+100,N.toY=D+100;const X=new we({attrs:{stroke:"#666666"}});X.x=M+100,X.y=D,X.toX=M,X.toY=D+100;const rt=N.intersection(X),Q=new ae({x:0,y:0,radius:10,attrs:{fill:Ft.random().toString()}});rt&&(Q.x=rt.x,Q.y=rt.y);const W=new Bn({x:ee(0,r),y:ee(0,n),scalar:.5,degree:45,attrs:{fill:"#5a82f0",stroke:"#ff0000",strokeWidth:"3"},enableDrag:!0,strokeArmyAnts:!0}),lt=new Pe({x:ee(0,r),y:ee(0,n),scalar:.8,degree:5,width:100,height:60,borderRadius:10,attrs:{fill:"pink",stroke:"#ff0000",strokeWidth:"3"},enableDrag:!0,strokeArmyAnts:!0}),G=new By({x:ee(0,r),y:ee(0,n),scalar:.99,degree:-1,attrs:{fill:Ft.random().toString(),stroke:"#ff0000",strokeWidth:"3"},enableDrag:!0,strokeArmyAnts:!0}),j=new Yy({x:ee(0,r),y:ee(0,n),scalar:.99,degree:-1,attrs:{fill:Ft.random().toString(),stroke:"#ff0000",strokeWidth:"3"},enableDrag:!0,strokeArmyAnts:!0}),gt=new Xy({x:ee(0,r),y:ee(0,n),scalar:1,degree:0,attrs:{fill:Ft.random().toString()},enableDrag:!0}),pt=new Ui({x:ee(0,r),y:ee(0,n),scalar:1,degree:0,attrs:{fill:"rgb(200,80,80)",stroke:"#ff0000",strokeWidth:"3"},enableDrag:!0,strokeArmyAnts:!0}),B=new Gy({x:ee(0,r),y:ee(0,n),scalar:1,degree:0,attrs:{fill:Ft.random().toString(),stroke:"#ff0000",strokeWidth:"3"},enableDrag:!0,strokeArmyAnts:!0}),P=new Uy({x:ee(0,r),y:ee(0,n),scalar:1,degree:0,attrs:{fill:Ft.random().toString()},enableDrag:!0}),Yt=new jy({x:100,y:200,degree:30,scalar:.8,attrs:{strokeWidth:"2",stroke:Ft.random().toString(),fill:"none"},enableDrag:!0}),At=new Zy({x:ee(0,r),y:ee(0,n),degree:30,scalar:2,showFlame:!0,attrs:{stroke:Ft.random().toString()},enableDrag:!0}),Pt=new Vo({x:100,y:100,width:100,height:20,degree:30,attrs:{stroke:Ft.random().toString()},enableDrag:!0}),se=new Hd({x:200,y:200,min:0,max:200,step:2,defaultValue:10,barWidth:200});se.on("change",De=>{console.log(`slider change: ${De}`)});const Xt=new ji({x:100,y:100,width:100,height:100,startDegree:45,endDegree:270,lineWidth:10,color:Ft.random().toString(),enableDrag:!0}),U=new Wd({x:ee(0,r),y:ee(0,n),width:300,height:150,startDegree:-30,endDegree:190,extendDegree:10,percent:.3,enableDrag:!0}),Ne=new Ud({x:ee(0,r),y:ee(0,n),rx:50,ry:10,enableDrag:!0,attrs:{fill:Ft.random().toString()}}),He=[I,$,N,X,Q,W,lt,G,j,gt,pt,B,P,Yt,At,Pt,se,Xt,U,Ne];o.value.getSVG().then(De=>{a.value.getCanvas().then(S=>{De.clear(),d=ce(()=>(De.path(He),S.ctx.clearRect(),S.draw(He),!0))})})}},{name:"followMouse",type:"followMouse",onClick:()=>{c.value="followMouse",!(!o.value||!a.value)&&(d?.(),o.value.getSVG().then(I=>{a.value.getCanvas().then($=>{const M=new Bn({scalar:.5,followMouse:!0,attrs:{fill:Ft.random().toString()}}),D=M.clone(),N=new we({x:I.app.width/2,y:I.app.height/2,attrs:{"stroke-width":"1",stroke:"#666666"}}),X=N.clone();I.clear(),d=ce(()=>($.ctx.clearRect(),N.toX=M.x,N.toY=M.y,X.toX=D.x,X.toY=D.y,I.path([N,M]),$.draw([X,D]),!0))})}))}},{name:"targetToAfterDragFree",type:"targetToAfterDragFree",onClick:()=>{c.value="targetToAfterDragFree",!(!o.value||!a.value)&&(d?.(),o.value.getSVG().then(I=>{a.value.getCanvas().then($=>{const M=new ae({x:I.app.width/2,y:I.app.height/2,radius:30,attrs:{fill:Ft.random().toString()}});M.enableDrag=!0,M.targetToAfterDragFree={targetX:I.app.width/2,targetY:I.app.height/2};const D=M.clone();I.clear(),d=ce(()=>(I.path(M),$.ctx.clearRect(),$.draw(D),!0))})}))}},{name:"BallCollision",type:"BallCollision",onClick:()=>{c.value="BallCollision",!(!o.value||!a.value)&&(d?.(),o.value.getSVG().then(I=>{a.value.getCanvas().then($=>{const M=new ae({x:50,y:I.app.height/2,radius:30,attrs:{fill:Ft.random().toString()}});M.mass=2,M.vx=2;const D=new ae({x:I.app.width-50,y:I.app.height/2,radius:30,attrs:{fill:Ft.random().toString()}});D.mass=1,D.vx=-2,I.clear(),d=ce(()=>(M.checkCollision(D),M.run(),D.run(),I.path([M,D]),$.ctx.clearRect(),$.draw([M,D]),!0))})}))}},{name:"Balls",type:"Balls",onClick:()=>{c.value="Balls",!(!o.value||!a.value)&&(d?.(),o.value.getSVG().then(I=>{a.value.getCanvas().then($=>{const D=[];for(let rt=0;rt<15;rt++){const Q=Math.random()*20+15,W=new ae({x:Math.random()*I.app.width,y:Math.random()*I.app.height,radius:Q,attrs:{fill:Ft.random().toString()}});W.mass=Q,W.vx=Math.random()*10-5,W.vy=Math.random()*10-5,D.push(W)}const N=new Pe({x:0,y:0,width:I.app.width,height:I.app.height}),X=new Ue(D);I.clear(),d=ce(()=>(X.run({wall:N}),I.path(D),$.ctx.clearRect(),$.draw(D),!0))})}))}},{name:"万有引力",type:"Gravitate",onClick:()=>{c.value="Gravitate",!(!o.value||!a.value)&&(d?.(),o.value.getSVG().then(I=>{a.value.getCanvas().then($=>{const D=[];for(let X=0;X<30;X++){const rt=Math.random()*25+5,Q=new ae({x:Math.random()*I.app.width,y:Math.random()*I.app.height,radius:rt,attrs:{fill:Ft.random().toString()}});Q.mass=rt,D.push(Q)}const N=new Ue(D);I.clear(),d=ce(()=>(N.gravitate(),I.path(D),$.ctx.clearRect(),$.draw(D),!0))})}))}},{name:"行星",type:"SunPlanet",onClick:()=>{c.value="SunPlanet",!(!o.value||!a.value)&&(d?.(),o.value.getSVG().then(I=>{a.value.getCanvas().then($=>{const M=new ae({x:I.app.width*.5,y:I.app.height*.5,radius:50,attrs:{fill:Ft.random().toString()}});M.mass=1e4;const D=new ae({x:I.app.width*.5+200,y:I.app.height*.5,radius:10,attrs:{fill:Ft.random().toString()}});D.mass=1,D.vy=7;const N=[M,D],X=new Ue(N);I.clear(),d=ce(()=>(X.gravitate(),I.path(N),$.ctx.clearRect(),$.draw(N),!0))})}))}},{name:"SpringMass",type:"SpringMass",onClick:()=>{c.value="SpringMass",!(!o.value||!a.value)&&(d?.(),o.value.getSVG().then(I=>{a.value.getCanvas().then($=>{const M=[];for(let W=0;W<30;W++){const lt=Math.random()*10+2,G=new ae({x:Math.random()*$.app.width,y:Math.random()*$.app.height,radius:lt,attrs:{fill:Ft.random().toString()}});G.vx=Math.random()*6-3,G.vy=Math.random()*6-3,G.mass=lt,M.push(G)}const N=new Ue(M),X=new Pe({x:0,y:0,width:$.app.width,height:$.app.height}),rt=new Ft("#666666");let Q=[];I.clear(),d=ce(()=>(I.delete(Q),Q=[],N.springMass(X,{spring:5e-4}).forEach(([W,lt,G,j,gt])=>{gt>0&&Q.push(new we({x:W,y:lt,toX:G,toY:j,attrs:{strokeWidth:"1",stroke:rt.setAlpha(gt).toString()}}))}),I.path(Q),I.path(M),$.ctx.clearRect(),$.draw(Q),$.draw(M),!0))})}))}},{name:"LinePicture",type:"LinePicture",onClick:()=>{c.value="LinePicture",!(!o.value||!a.value)&&(d?.(),o.value.getSVG().then(I=>{a.value.getCanvas().then($=>{const M=new ae({x:0,y:0,radius:8,attrs:{fill:Ft.random().toString()}}),D=new ae({x:0,y:0,radius:5,attrs:{fill:Ft.random().toString()}});let N=[p,M,D],X,rt;p.on("clicked",j=>{rt&&I.delete(rt),X&&X.restore(),X=j,j.save(),j.setAttr({fill:"pink",stroke:"green"}),N=[p,M,D];const gt=j.getBoundingClientRect();gt&&(rt=new Pe(gt),rt.setAttr({fill:"none",stroke:"#0000ff",strokeWidth:"4"}),N.push(rt))});let Q=0,W=p.shapes[Q].getTotalLength(),lt=0;const G=.01;I.clear(),d=ce(()=>{lt>1&&(Q++,lt=0,Q>p.shapes.length-1&&(Q=0),W=p.shapes[Q].getTotalLength()),$.ctx.clearRect();let{x:j,y:gt}=p.shapes[Q].interpolate(lt);M.x=j,M.y=gt;let{x:pt,y:B}=p.shapes[Q].getPointAtLength(lt*W);return D.x=pt,D.y=B,I.path(N),$.draw(N),lt+=G,!0})})}))}},{name:"WalkMan",type:"WalkMan",onClick:()=>{c.value="WalkMan",!(!o.value||!a.value)&&(d?.(),o.value.getSVG().then(I=>{a.value.getCanvas().then($=>{const M=new Vo({x:200,y:200,width:50,height:15,attrs:{stroke:"#666666"}}),D=new Vo({width:50,height:10,attrs:{stroke:"#666666"}}),N=new Vo({x:200,y:200,width:50,height:15,attrs:{stroke:"#666666"}}),X=new Vo({width:50,height:10,attrs:{stroke:"#666666"}});let rt=0,Q=0;function W(){Q+=.2,M.x+=rt,M.y+=Q,N.x+=rt,N.y+=Q}const lt=-Math.PI/2;function G(B,P,Yt){const At=Math.sin(Yt)*45+90,Pt=Math.sin(Yt+lt)*45+45,se=P.getPin();B.degree=At,P.degree=B.degree+Pt,P.x=B.getPin().x,P.y=B.getPin().y,P.vx=P.getPin().x-se.x,P.vy=P.getPin().y-se.y}function j(B){const P=B.getPin().y+B.height/2;if(P>$.app.height){const Yt=P-$.app.height;M.y-=Yt,D.y-=Yt,N.y-=Yt,X.y-=Yt,rt-=B.vx,Q-=B.vy}}function gt(){const B=$.app.width+200;M.x>$.app.width+100?(M.x-=B,D.x-=B,N.x-=B,X.x-=B):M.x<-100&&(M.x+=B,D.x+=B,N.x+=B,X.x+=B)}let pt=0;I.clear(),d=ce(()=>($.ctx.clearRect(),pt+=.06,W(),G(M,D,pt),G(N,X,pt+Math.PI),j(D),j(X),gt(),I.path([M,D,N,X]),$.draw([M,D,N,X]),!0))})}))}},{name:"俄罗斯方块",type:"RectGame",onClick:()=>{if(c.value="RectGame",!o.value||!a.value)return;d?.();function I(X){return new Pe({x:Math.random()*X,y:0,width:50,height:50,attrs:{fill:Ft.random().toString()},enableDrag:!0})}const $=.2,M=[];function D(){const X=I(r);return M.push(X),X}let N=D();o.value.getSVG().then(X=>{a.value.getCanvas().then(rt=>{X.clear(),d=ce(()=>(rt.ctx.clearRect(),X.isMouseDown||rt.isMouseDown?(X.path(M),rt.draw(M)):(N&&N.run({gravity:$}),N&&N.y+N.height>=rt.ctx.canvas.height&&(N.y=rt.ctx.canvas.height-N.height,N=D()),M.forEach(Q=>(N&&N!==Q&&N.isIntersectRect(Q)&&(N.y=Q.y-N.height,N.y>=N.height?N=D():N=null),Q)),X.path(M),rt.draw(M)),!0))})})}},{name:"喷泉",type:"PointWater",onClick:()=>{c.value="PointWater",!(!o.value||!a.value)&&(d?.(),o.value.getSVG().then(I=>{a.value.getCanvas().then($=>{const M=[];for(let D=0;D<80;D++){const N=new ae({x:I.app.width/2,y:I.app.height,radius:2,attrs:{fill:Ft.random().toString()}});N.vx=Math.random()*2-1,N.vy=Math.random()*-10-10,M.push(N)}I.clear(),d=ce(()=>(M.forEach(D=>{D.run({gravity:.5}),(D.x-D.radius>I.app.width||D.x+D.radius<0||D.y-D.radius>I.app.height||D.y+D.radius<0)&&(D.x=I.app.width/2,D.y=I.app.height,D.vx=Math.random()*2-1,D.vy=Math.random()*-10-10)}),I.path(M),$.ctx.clearRect(),$.draw(M),!0))})}))}},{name:"SpringChain",type:"SpringChain",onClick:()=>{if(c.value="SpringChain",!o.value||!a.value)return;d?.();function I(D,N){const X=[];for(let rt=0;rt<3;rt++)X.push(new ae({x:D,y:N,radius:20,attrs:{fill:Ft.random().toString()}}));return X}function $(){const D=[];for(let N=0;N<3;N++)D.push(new we({attrs:{"stroke-width":"1",stroke:"#666666"}}));return D}const M={spring:.03,friction:.9,gravity:2};o.value.getSVG().then(D=>{a.value.getCanvas().then(N=>{const X=$(),rt=I(D.app.width/2,D.app.height/2),Q=new ae({x:0,y:0}),W=$(),lt=I(N.app.width/2,N.app.height/2),G=new ae({x:0,y:0}),j=new Ue([Q,...rt]),gt=new Ue([G,...lt]);D.clear(),d=ce(()=>(N.ctx.clearRect(),Q.x=D.app.mousePoint.x,Q.y=D.app.mousePoint.y,j.springChain(M),rt.forEach((pt,B)=>{if(B===0)X[B].x=D.app.mousePoint.x,X[B].y=D.app.mousePoint.y,X[B].toX=pt.x,X[B].toY=pt.y;else{const P=rt[B-1];X[B].x=P.x,X[B].y=P.y,X[B].toX=pt.x,X[B].toY=pt.y}}),D.path(X),D.path(rt),G.x=N.app.mousePoint.x,G.y=N.app.mousePoint.y,gt.springChain(M),lt.forEach((pt,B)=>{if(B===0)W[B].x=N.app.mousePoint.x,W[B].y=N.app.mousePoint.y,W[B].toX=pt.x,W[B].toY=pt.y;else{const P=lt[B-1];W[B].x=P.x,W[B].y=P.y,W[B].toX=pt.x,W[B].toY=pt.y}}),N.draw(W),N.draw(lt),!0))})})}},{name:"多点弹簧",type:"PointSpringMulti",onClick:()=>{c.value="PointSpringMulti",!(!o.value||!a.value)&&(d?.(),o.value.getSVG().then(I=>{a.value.getCanvas().then($=>{const M=[new we({attrs:{stroke:"#666666"}}),new we({attrs:{stroke:"#666666"}}),new we({attrs:{stroke:"#666666"}})],D=[];for(let X=0;X<3;X++)D.push(new ae({x:Math.random()*I.app.width,y:Math.random()*I.app.height,radius:10,attrs:{fill:Ft.random().toString()},enableDrag:!0}));const N=new ae({radius:20,attrs:{fill:"#ff0000"}});I.clear(),d=ce(()=>($.ctx.clearRect(),N.runSpringTo(D,{spring:.03}),D.forEach((X,rt)=>{M[rt].x=N.x,M[rt].y=N.y,M[rt].toX=X.x,M[rt].toY=X.y}),I.path([...M,...D,N]),$.draw([...M,...D,N]),!0))})}))}},{name:"SpringConnect",type:"SpringConnect",onClick:()=>{c.value="SpringConnect",!(!o.value||!a.value)&&(d?.(),o.value.getSVG().then(I=>{a.value.getCanvas().then($=>{const M=[new we({attrs:{stroke:"#666666"}}),new we({attrs:{stroke:"#666666"}}),new we({attrs:{stroke:"#666666"}})],D=[];for(let X=0;X<3;X++)D.push(new ae({x:Math.random()*I.app.width,y:Math.random()*I.app.height,radius:10,attrs:{fill:Ft.random().toString()},enableDrag:!0}));const N=new Ue(D);I.clear(),d=ce(()=>(N.springConnect({springLength:120}),M[0].x=D[0].x,M[0].y=D[0].y,M[0].toX=D[1].x,M[0].toY=D[1].y,M[1].x=D[1].x,M[1].y=D[1].y,M[1].toX=D[2].x,M[1].toY=D[2].y,M[2].x=D[2].x,M[2].y=D[2].y,M[2].toX=D[0].x,M[2].toY=D[0].y,I.path([...M,...D]),$.ctx.clearRect(),$.draw([...M,...D]),!0))})}))}},{name:"LineQuadraticBezier",type:"QuadraticBezierCurve",onClick:()=>{c.value="QuadraticBezierCurve",!(!o.value||!a.value)&&(d?.(),o.value.getSVG().then(I=>{a.value.getCanvas().then($=>{const D=new Vn({x:50,y:I.app.height-50,toX:I.app.width-50,toY:I.app.height-50,cx:I.app.mousePoint.x,cy:I.app.mousePoint.y,attrs:{stroke:"#ff0000","stroke-width":"2"},isLineThrough:!1}),N=new Vn({x:50,y:I.app.height-50,toX:I.app.width-50,toY:I.app.height-50,cx:I.app.mousePoint.x,cy:I.app.mousePoint.y,attrs:{stroke:"#00ff00","stroke-width":"2"},isLineThrough:!0}),X=new Vn({x:50,y:$.ctx.canvas.height-50,toX:$.ctx.canvas.width-50,toY:$.ctx.canvas.height-50,cx:$.app.mousePoint.x,cy:$.app.mousePoint.y,attrs:{stroke:"#ff0000","stroke-width":"2"},isLineThrough:!1}),rt=new Vn({x:50,y:$.ctx.canvas.height-50,toX:$.ctx.canvas.width-50,toY:$.ctx.canvas.height-50,cx:$.app.mousePoint.x,cy:$.app.mousePoint.y,attrs:{stroke:"#00ff00","stroke-width":"2"},isLineThrough:!0});I.clear(),d=ce(()=>($.ctx.clearRect(),N.cx=D.cx=I.app.mousePoint.x,N.cy=D.cy=I.app.mousePoint.y,I.path(D),I.path(N),rt.cx=X.cx=$.app.mousePoint.x,rt.cy=X.cy=$.app.mousePoint.y,$.draw([X,rt]),!0))})}))}},{name:"PointsRandom",type:"PointsRandom",onClick:()=>{c.value="PointsRandom",!(!o.value||!a.value)&&(d?.(),o.value.getSVG().then(I=>{a.value.getCanvas().then($=>{I.clear(),$.ctx.clearRect();const M=[];for(let X=0;X<10;X++)M.push({x:Math.random()*I.app.width,y:Math.random()*I.app.height});const D=M.map((X,rt)=>new Pe({x:X.x,y:X.y,width:6,height:6,attrs:{fill:rt==0?"#ff0000":rt==M.length-1?"#00ff00":"#666666"}})),N=new Gd({points:M,attrs:{stroke:"#ff0000"},isStraight:!0});N.isStraight=!0,I.path(D),I.path(N),N.isStraight=!1,$.draw([...D,N])})}))}},{name:"扇形",type:"Sector",onClick:()=>{if(c.value="Sector",!o.value||!a.value)return;d?.();const I=new jd({x:300,y:100,radius:100,startDegree:80,endDegree:200,enableDrag:!0,text:"些许文字",defaultShowText:!1,tip:"提示文字...",attrs:{fill:"pink",stroke:"#666666"}}),$=new jd({x:300,y:100,radius:100,startDegree:80,endDegree:200,enableDrag:!0,text:"些许文字",defaultShowText:!1,tip:"提示文字...",attrs:{fill:"pink",stroke:"#666666"}});o.value.getSVG().then(M=>{a.value.getCanvas().then(D=>{M.clear(),d=ce(()=>(D.ctx.clearRect(),M.path(I),D.draw($),!0))})})}},{name:"strokeDash",type:"StrokeDash",onClick:()=>{c.value="StrokeDash",!(!o.value||!a.value)&&(d?.(),f.setAttr({stroke:"#666666",strokeWidth:"4",strokeDasharray:`${w.value} ${w.value}`,strokeDashoffset:`${x.value}`}),o.value.getSVG().then(I=>{a.value.getCanvas().then($=>{I.clear(),d=ce(()=>($.ctx.clearRect(),I.path(f),$.draw(f),!0))})}))}},{name:"strokeDashTween",type:"strokeDashTween",onClick:()=>{c.value="strokeDashTween",!(!o.value||!a.value)&&(d?.(),f.setAttr({stroke:"#ff0000",strokeWidth:"4"}),o.value.getSVG().then(I=>{a.value.getCanvas().then($=>{I.clear(),f.strokeDashTween(4e3,{easeFunction:e.easeFunction,onUpdate:()=>{I.path(f),$.ctx.clearRect(),$.draw(f)}})})}))}},{name:"strokeDashTweenParallel",type:"strokeDashTweenParallel",onClick:()=>{c.value="strokeDashTweenParallel",!(!o.value||!a.value)&&(d?.(),o.value.getSVG().then(I=>{a.value.getCanvas().then($=>{I.clear(),$.ctx.clearRect(),p.setAttrs({stroke:"none"}),p.strokeDashTween(4e3,{type:"parallel",easeFunction:e.easeFunction,onGroupStart:()=>{p.setAttrs({stroke:Ft.random().toString()})},onGroupUpdate:()=>{I.path(p),$.ctx.clearRect(),$.draw(p)}})})}))}},{name:"strokeDashTweenSequence",type:"strokeDashTweenSequence",onClick:()=>{c.value="strokeDashTweenSequence",!(!o.value||!a.value)&&(d?.(),o.value.getSVG().then(I=>{a.value.getCanvas().then($=>{I.clear(),$.ctx.clearRect(),p.setAttrs({stroke:"none"}),p.strokeDashTween(1e3,{type:"sequence",easeFunction:e.easeFunction,onGroupStart:()=>{p.setAttrs({stroke:Ft.random().toString()})},onGroupUpdate:()=>{I.path(p),$.ctx.clearRect(),$.draw(p)}})})}))}},{name:"线条动画",type:"InterpolatePath",onClick:()=>{if(c.value="InterpolatePath",!o.value||!a.value)return;d?.();const I=new Bn({x:200,y:200,scalar:1,attrs:{stroke:"#5a82f0"}}),$=new Pe({width:100,height:60,x:150,y:170,borderRadius:10,attrs:{stroke:"#ACFFAD"}}),M=new Ui({x:200,y:200,scalar:3,attrs:{stroke:"rgb(200,80,80)"}}),D=Ue.generatePointsShape(100,100,100,3);D.x=100,D.y=100,D.setAttr({stroke:"#666666"});const N=Ue.generatePointsShape(100,100,100,6);N.x=50,N.y=50,N.setAttr({stroke:"#7EEDFF"});const X=new Ue([D,N,I,$,M]);o.value.getSVG().then(rt=>{a.value.getCanvas().then(Q=>{rt.clear(),X.polymorphTween(6e3,{draw:W=>{rt.path(W),Q.ctx.clearRect(),Q.draw(W)}})})})}},{name:"线条动画Group",type:"InterpolatePathGroup",onClick:()=>{if(c.value="InterpolatePathGroup",!o.value||!a.value)return;d?.();const I=new Bn({x:200,y:200,scalar:1,attrs:{stroke:"#5a82f0"}}),$=new Pe({width:100,height:60,x:150,y:170,borderRadius:10,attrs:{stroke:"#42B79E"}}),M=new Ui({x:200,y:200,scalar:3,attrs:{stroke:"rgb(200,80,80)"}}),D=new Ue([I,$,p,M]);o.value.getSVG().then(N=>{a.value.getCanvas().then(X=>{N.clear(),D.polymorphTween(6e3,{draw:rt=>{N.path(rt),X.ctx.clearRect(),X.draw(rt)}})})})}},{name:"AnimateToTweenCSS",type:"AnimateToTweenCSS",onClick:()=>{c.value="AnimateToTweenCSS",!(!o.value||!a.value)&&(d?.(),Dd(l.value,{transform:""}))}},{name:"Rosetta",type:"Rosetta",onClick:()=>{c.value="Rosetta",!(!o.value||!a.value)&&(d?.(),o.value.getSVG().then(I=>{a.value.getCanvas().then($=>{const M=Ue.generateRosettaShape(120,120,55,35,6);M.setAttr({stroke:"none",fill:"none"});const D=new Pe({x:0,y:0,width:20,height:10,attrs:{stroke:"none",fill:"green"}}),N=new ne({attrs:{stroke:"red","stroke-width":"3",fill:"none"}});I.clear(),$.ctx.clearRect();const X=new Fe({frameDuration:15e3});X.addTween({progress:0},{progress:1},{onUpdate:rt=>{const Q=M.trailPath(N,rt.progress);D.x=Q.x,D.y=Q.y,D.degree=Q.alpha+90,I.path([N,D]),$.ctx.clearRect(),$.draw([N,D])}}),X.play()})}))}},{name:"Confetti",type:"Confetti",onClick:()=>{c.value="Confetti",!(!o.value||!a.value)&&(d?.(),o.value.getSVG().then(I=>{a.value.getCanvas().then($=>{const M=new qy($.app.width,$.app.height,{angle:ee(55,125),spread:ee(50,70),particleCount:ee(50,100)});I.clear(),d=ce(()=>($.ctx.clearRect(),I.path(M),$.draw(M),!0))})}))}}],_=[{type:"translateTo",onClick:()=>h("translateTo")},{type:"translateXTo",onClick:()=>h("translateXTo")},{type:"translateYTo",onClick:()=>h("translateYTo")},{type:"translateZTo",onClick:()=>h("translateZTo")},{type:"translate3dTo",onClick:()=>h("translate3dTo")},{type:"rotateTo",onClick:()=>h("rotateTo")},{type:"rotateXTo",onClick:()=>h("rotateXTo")},{type:"rotateYTo",onClick:()=>h("rotateYTo")},{type:"rotateZTo",onClick:()=>h("rotateZTo")},{type:"rotate3dTo",onClick:()=>h("rotate3dTo")},{type:"scaleTo",onClick:()=>h("scaleTo")},{type:"scaleXTo",onClick:()=>h("scaleXTo")},{type:"scaleYTo",onClick:()=>h("scaleYTo")},{type:"scaleZTo",onClick:()=>h("scaleZTo")},{type:"scale3dTo",onClick:()=>h("scale3dTo")},{type:"skewTo",onClick:()=>h("skewTo")},{type:"skewXTo",onClick:()=>h("skewXTo")},{type:"skewYTo",onClick:()=>h("skewYTo")},{type:"perspective",onClick:()=>h("perspective")}];let k;function Z(){k||(k=new ns(i.value));const I=50,$=0,M=0,D=0,N=k.width-I,X=k.height-I,rt=k.height-I,Q=k.width/2-I/2,W=k.height/2-I/2,lt={},G={};switch(u.value){case"translateTo":Object.assign(lt,{translateTo:[$,M]}),Object.assign(G,{translateTo:[N,X]});break;case"translateXTo":Object.assign(lt,{translateXTo:$}),Object.assign(G,{translateXTo:N});break;case"translateYTo":Object.assign(lt,{translateYTo:M}),Object.assign(G,{translateYTo:X});break;case"translateZTo":Object.assign(lt,{translateTo:[Q,W],translateZTo:D}),Object.assign(G,{translateTo:[Q,W],translateZTo:rt});break;case"translate3dTo":Object.assign(lt,{translate3dTo:[Q-50,W-50,D]}),Object.assign(G,{translate3dTo:[Q+50,W+50,rt]});break;case"rotateTo":Object.assign(lt,{translateTo:[Q,W],rotateTo:0}),Object.assign(G,{translateTo:[Q,W],rotateTo:360});break;case"rotateXTo":Object.assign(lt,{translateTo:[Q,W],rotateXTo:0}),Object.assign(G,{translateTo:[Q,W],rotateXTo:180});break;case"rotateYTo":Object.assign(lt,{translateTo:[Q,W],rotateYTo:0}),Object.assign(G,{translateTo:[Q,W],rotateYTo:180});break;case"rotateZTo":Object.assign(lt,{translateTo:[Q,W],rotateZTo:0}),Object.assign(G,{translateTo:[Q,W],rotateZTo:360});break;case"rotate3dTo":Object.assign(lt,{translateTo:[Q,W],rotate3dTo:[0,0,0]}),Object.assign(G,{translateTo:[Q,W],rotate3dTo:[360,360,360]});break;case"scaleTo":Object.assign(lt,{translateTo:[Q,W],scaleTo:1}),Object.assign(G,{translateTo:[Q,W],scaleTo:3});break;case"scaleXTo":Object.assign(lt,{translateTo:[Q,W],scaleXTo:1}),Object.assign(G,{translateTo:[Q,W],scaleXTo:3});break;case"scaleYTo":Object.assign(lt,{translateTo:[Q,W],scaleYTo:1}),Object.assign(G,{translateTo:[Q,W],scaleYTo:3});break;case"scaleZTo":Object.assign(lt,{translateTo:[Q,W],scaleZTo:1}),Object.assign(G,{translateTo:[Q,W],scaleZTo:3});break;case"scale3dTo":Object.assign(lt,{translateTo:[Q,W],scale3dTo:[1,1,1]}),Object.assign(G,{translateTo:[Q,W],scale3dTo:[3,3,3]});break;case"skewTo":Object.assign(lt,{translateTo:[Q,W],skewTo:0}),Object.assign(G,{translateTo:[Q,W],skewTo:30});break;case"skewXTo":Object.assign(lt,{translateTo:[Q,W],skewXTo:0}),Object.assign(G,{translateTo:[Q,W],skewXTo:30});break;case"skewYTo":Object.assign(lt,{translateTo:[Q,W],skewYTo:0}),Object.assign(G,{translateTo:[Q,W],skewYTo:30});break;case"perspective":Object.assign(lt,{translateTo:[Q,W],perspective:0}),Object.assign(G,{translateTo:[Q,W],perspective:1e3});break}const j=new Fe({frameDuration:2e3});j.addTween(lt,G,{easeFunction:e.easeFunction,onUpdate:gt=>{Dd(l.value,Sy(l.value,gt))}}),j.play()}function ot(){return new Promise(I=>{a.value.getCanvas().then($=>{me.downloadFromSVGString($.ctx.toRawSVG().raw,"CanvasToSVG"),I()})})}return re(()=>{}),t({}),(I,$)=>(L(),z(Vt,null,[E("div",Xb,[it(qt,{asyncClick:ot},{default:bt(()=>$[0]||($[0]=[Ht(" downloadFromCanvasToSVG ")])),_:1})]),E("div",Gb,[(L(),z(Vt,null,xe(m,M=>it(qt,{key:M.type,item:M,onClick:M.onClick,stylePattern:c.value==M.type?"fullfilled":"outline"},{default:bt(()=>[Ht(yt(M.name),1)]),_:2},1032,["item","onClick","stylePattern"])),64))]),ho(E("div",null," 当前缓动函数:"+yt(e.easeName),513),[[qs,c.value=="AnimateToTweenCSS"]]),ho(E("div",Ub,[(L(),z(Vt,null,xe(_,M=>it(qt,{key:M.type,item:M,onClick:M.onClick,stylePattern:u.value==M.type?"fullfilled":"outline"},{default:bt(()=>[Ht(yt(M.type),1)]),_:2},1032,["item","onClick","stylePattern"])),64))],512),[[qs,c.value=="AnimateToTweenCSS"]]),ho(E("div",jb,[E("div",Hb,[E("div",null,"stroke-dasharray: "+yt(w.value)+","+yt(w.value),1),it(ko,{max:988,defaultValue:w.value,onChange:v},null,8,["defaultValue"])]),E("div",Wb,[E("div",null,"stroke-dashoffset: "+yt(x.value),1),it(ko,{max:988,defaultValue:x.value,onChange:g},null,8,["defaultValue"])])],512),[[qs,c.value=="StrokeDash"]]),ho(E("div",Zb,[it(Vf,{ref_key:"svgRef",ref:o,bgColor:"#ffffff"},null,512)],512),[[qs,c.value!=="AnimateToTweenCSS"]]),ho(E("div",qb,[it(je,{ref_key:"canvasRef",ref:a,bgColor:"#333333","enable-custom-context":!1},null,512)],512),[[qs,c.value!=="AnimateToTweenCSS"]]),ho(E("div",{ref_key:"tweenCSSContainerRef",ref:i,style:{height:"400px"},class:"css-area"},[E("div",{ref_key:"divTweenTargetRef",ref:l,class:"tween-css-target"},null,512)],512),[[qs,c.value=="AnimateToTweenCSS"]])],64))}}),Bf=nt(Qb,[["styles",[`.btns[data-v-0155e0d3]{display:flex;flex-wrap:wrap}.btns[data-v-0155e0d3]>*{margin-right:10px;margin-bottom:10px}.sub-btns[data-v-0155e0d3]{padding-top:10px;background-color:#dbffff}.css-area[data-v-0155e0d3]{background-color:#fff}.tween-css-target[data-v-0155e0d3]{width:50px;height:50px;background-color:#cfc;background-color:#fcc;background-color:#ccf}
162
- `]],["__scopeId","data-v-0155e0d3"]]),Kb=["fill"],Jb=["fill"],t_=H({__name:"SVGCheck.ce",props:{width:{default:"10px"},color:{default:vt.colorPrimary}},setup(s){const t=s;return(e,o)=>(L(),z("svg",{style:A(["width: "+t.width]),viewBox:"0 0 7 5",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[E("path",{d:"M0.153989 2.49994C-0.0513296 2.28468 -0.0513296 1.93567 0.153989 1.72041C0.359307 1.50514 0.692194 1.50514 0.897512 1.72041L3.12808 4.05902C3.3334 4.27428 3.3334 4.62329 3.12808 4.83855C2.92276 5.05382 2.58988 5.05382 2.38456 4.83855L0.153989 2.49994Z",fill:t.color},null,8,Kb),E("path",{d:"M6.10249 0.161447C6.30781 -0.0538159 6.64069 -0.0538157 6.84601 0.161447C7.05133 0.376711 7.05133 0.725721 6.84601 0.940984L3.12808 4.83855C2.92276 5.05382 2.58988 5.05382 2.38456 4.83855C2.17924 4.62329 2.17955 4.27439 2.38487 4.05913L6.10249 0.161447Z",fill:t.color},null,8,Jb)],4))}}),e_=nt(t_,[["styles",[`svg[data-v-8fe3f9fd]{transform-origin:center}
163
- `]],["__scopeId","data-v-8fe3f9fd"]]),s_=H({__name:"SVGCleanUp.ce",props:{width:{default:"16px"},color:{default:vt.colorPrimary}},setup(s){const t=s;return(e,o)=>(L(),z("svg",{style:A(["width: "+t.width]),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},o[0]||(o[0]=[E("path",{d:"M38,32.71a1.13,1.13,0,0,1-.8-.33L21.57,16.8a1.13,1.13,0,0,1,1.61-1.6L38.75,30.77a1.14,1.14,0,0,1-.8,1.94Z"},null,-1),E("path",{d:"M22.38,32.71a1.17,1.17,0,0,1-.81-.33,1.15,1.15,0,0,1,0-1.61L37.15,15.2a1.13,1.13,0,1,1,1.6,1.6L23.18,32.38A1.13,1.13,0,0,1,22.38,32.71Z"},null,-1),E("path",{d:"M18.68,3.79h-3.1l-15.64,20L15.33,43.45l.25.33H47.94v-40ZM3,23.79,16.73,6.3H45.3v35H16.73Z"},null,-1)]),4))}}),o_=nt(s_,[["styles",[`svg[data-v-7aebdea0]{transform-origin:center}
164
- `]],["__scopeId","data-v-7aebdea0"]]),r_=["width","height"],n_=["fill"],a_=H({__name:"SVGDelete.ce",props:{width:{default:"16px"},height:{},color:{default:vt.colorPrimary}},setup(s){const t=s;return(e,o)=>(L(),z("svg",{viewBox:"0 0 24 24",width:t.width,height:t.height??t.width,xmlns:"http://www.w3.org/2000/svg"},[E("path",{fill:t.color,d:"M7 21q-.825 0-1.412-.587T5 19V6H4V4h5V3h6v1h5v2h-1v13q0 .825-.587 1.413T17 21zM17 6H7v13h10zM9 17h2V8H9zm4 0h2V8h-2zM7 6v13z"},null,8,n_)],8,r_))}}),i_=nt(a_,[["styles",[`svg[data-v-8745630f]{transform-origin:center}
165
- `]],["__scopeId","data-v-8745630f"]]),l_=["width","height"],c_=["fill"],u_=H({__name:"SVGDown.ce",props:{width:{default:"1em"},height:{},color:{default:vt.colorGrayCC}},setup(s){const t=s;return(e,o)=>(L(),z("svg",{viewBox:"0 0 20 20",width:t.width,height:t.height??t.width,fill:"none",xmlns:"http://www.w3.org/2000/svg"},[E("path",{"fill-rule":"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z","clip-rule":"evenodd",fill:t.color},null,8,c_)],8,l_))}}),d_=nt(u_,[["styles",[`svg[data-v-0e77f86d]{transform-origin:center}
166
- `]],["__scopeId","data-v-0e77f86d"]]),f_={class:"svg"},h_=nt(H({customOptions:{},inheritAttrs:!0,__name:"SVGMaskNapkin.ce",setup(s){return(t,e)=>(L(),z("svg",f_,e[0]||(e[0]=[Zc('<defs data-v-ba0e36ce><mask id="mask" maskContentUnits="objectBoundingBox" data-v-ba0e36ce><ellipse cx=".5" cy=".5" rx=".48" ry=".28" fill="black" data-v-ba0e36ce></ellipse><rect x=".2" y="0" width=".6" height="1" rx=".1" ry=".1" fill="black" data-v-ba0e36ce></rect><ellipse cx=".5" cy=".5" rx=".4" ry=".2" fill="white" data-v-ba0e36ce></ellipse><rect x=".3" y=".1" width=".4" height=".8" rx=".1" ry=".1" fill="white" data-v-ba0e36ce></rect></mask></defs>',1)])))}}),[["styles",[`.svg[data-v-ba0e36ce]{position:absolute;width:0;height:0}
167
- `]],["__scopeId","data-v-ba0e36ce"]]),p_={class:"loading-1"},m_=H({__name:"Loading1.ce",props:{color:{default:vt.colorPrimary}},setup(s){const e={backgroundColor:s.color};return(o,r)=>(L(),z("div",p_,[E("div",{class:"rect1",style:e}),E("div",{class:"rect2",style:e}),E("div",{class:"rect3",style:e}),E("div",{class:"rect4",style:e}),E("div",{class:"rect5",style:e})]))}}),g_=nt(m_,[["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)}}
168
- `]],["__scopeId","data-v-f7deb691"]]),y_={class:"loading-2"},v_=H({__name:"Loading2.ce",props:{color:{default:vt.colorPrimary}},setup(s){const e={backgroundColor:s.color};return(o,r)=>(L(),z("div",y_,[E("div",{class:"dot1",style:e}),E("div",{class:"dot2",style:e})]))}}),b_=nt(v_,[["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)}}
169
- `]],["__scopeId","data-v-945f5b2e"]]),__=H({__name:"Loading3.ce",props:{fromColor:{default:vt.colorPrimary},toColor:{default:vt.colorRed}},setup(s){const t=s,e=`
170
- @keyframes snake {
171
- 0% {
172
- opacity: 0.3;
173
- transform: translateY(0px);
174
- box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.1);
175
- }
176
- 50% {
177
- opacity: 1;
178
- transform: translateY(-10px);
179
- background-color: ${t.toColor};
180
- box-shadow: 0px 20px 3px rgba(0, 0, 0, 0.05);
216
+ --yz-clock-flipper-bg-color:${e.bgColor};
217
+ --yz-clock-flipper-text-color:${e.textColor};
218
+ --yz-clock-flipper-border-radius:${e.borderRadius}px;
219
+ --yz-clock-flipper-gap:${e.gap}px;
220
+ --yz-clock-flipper-gap-double:${e.gap*2}px;
221
+ --yz-clock-flipper-gap-four:${e.gap*4}px;
222
+ --yz-clock-flipper-animation-duration:${e.dur}ms;
223
+ --yz-clock-flipper-perspective: ${e.perspective}px;
181
224
  }
182
- 100% {
183
- opacity: 0.3;
184
- transform: translateY(0px);
185
- box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.1);
186
- }
187
- }
188
- `,o={backgroundColor:t.fromColor,width:"20%"},r=R();return Et(r,()=>{r.value&&us(e,r.value)}),es(()=>{}),re(()=>{}),(n,a)=>(L(),z("div",{class:"loading-3",ref_key:"loading3",ref:r},[E("div",{class:"dot",style:A({...o,left:"0"})},null,4),E("div",{class:"dot",style:A({...o,left:"20%"})},null,4),E("div",{class:"dot",style:A({...o,left:"40%"})},null,4),E("div",{class:"dot",style:A({...o,left:"60%"})},null,4),E("div",{class:"dot",style:A({...o,left:"80%"})},null,4)],512))}}),x_=nt(__,[["styles",[`.loading-3[data-v-edc89186]{position:relative;display:inline-block;width:100%;height:100%;text-align:center}.dot[data-v-edc89186]{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-edc89186]:nth-child(1){animation-delay:0s}.loading-3 div[data-v-edc89186]:nth-child(2){animation-delay:.2s}.loading-3 div[data-v-edc89186]:nth-child(3){animation-delay:.4s}.loading-3 div[data-v-edc89186]:nth-child(4){animation-delay:.6s}.loading-3 div[data-v-edc89186]:nth-child(5){animation-delay:.8s}
189
- `]],["__scopeId","data-v-edc89186"]]),w_={class:"loading-4"},k_=H({__name:"Loading4.ce",props:{color:{default:vt.colorPrimary}},setup(s){const e={backgroundColor:s.color};return(o,r)=>(L(),z("div",w_,[E("div",{class:"rect",style:e})]))}}),C_=nt(k_,[["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)}}
190
- `]],["__scopeId","data-v-b2b74418"]]),T_={class:"loading-5"},S_=H({__name:"Loading5.ce",props:{color:{default:vt.colorPrimary}},setup(s){const e={backgroundColor:s.color};return(o,r)=>(L(),z("div",T_,[E("div",{class:"cube1",style:e}),E("div",{class:"cube2",style:e})]))}}),E_=nt(S_,[["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)}}
191
- `]],["__scopeId","data-v-2e49b1eb"]]),P_={class:"loading-6"},O_=H({__name:"Loading6.ce",props:{color:{default:vt.colorPrimary}},setup(s){const e={backgroundColor:s.color};return(o,r)=>(L(),z("div",P_,[E("div",{style:e}),E("div",{style:e}),E("div",{style:e})]))}}),R_=nt(O_,[["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}}
192
- `]],["__scopeId","data-v-0e771b32"]]),I_=H({__name:"Loading7.ce",props:{color:{default:vt.colorPrimary}},setup(s){const t=s,e=`
225
+ `,n.value.getElement())}),t({start:v,pause:u}),(x,m)=>(I(),ht(pt,{ref_key:"containerRef",ref:n,type:"full",overflow:"visible",onReady:l,onUpdate:i},{default:st(()=>[w("div",{class:"clock-flipper",style:N({fontSize:a.value+"px",lineHeight:r.value+"px"})},[(I(!0),z(Dt,null,Te(f,(g,y)=>(I(),z(Dt,{key:y},[w("div",{class:jt(["flip",[e.flipDirection,d[y]!=g?"go":""]]),style:N({width:s.value+"px"})},[w("div",{class:jt(["front digital",[`flipper_${y}`,`number_${g}`]])},null,2),w("div",{class:jt(["back digital",[`number_${d[y]}`]])},null,2)],6),y==1||y==3?(I(),z("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)}}
226
+ `,`.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"}
227
+ `]],["__scopeId","data-v-7e04b895"]]);var Ws=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 Ws.Panel("FPS","#0ff","#002")),l=e(new Ws.Panel("MS","#0f0","#020"));if(self.performance&&self.performance.memory)var c=e(new Ws.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}};Ws.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,v=document.createElement("canvas");v.width=i,v.height=l,v.style.cssText="width:80px;height:48px";var k=v.getContext("2d");return k.font="bold "+9*a+"px Helvetica,Arial,sans-serif",k.textBaseline="top",k.fillStyle=e,k.fillRect(0,0,i,l),k.fillStyle=t,k.fillText(o,c,u),k.fillRect(f,d,h,p),k.fillStyle=e,k.globalAlpha=.9,k.fillRect(f,d,h,p),{dom:v,update:function(x,m){n=Math.min(n,x),s=Math.max(s,x),k.fillStyle=e,k.globalAlpha=1,k.fillRect(0,0,i,d),k.fillStyle=t,k.fillText(r(x)+" "+o+" ("+r(n)+"-"+r(s)+")",c,u),k.drawImage(v,f+a,d,h-a,p,f,d,h-a,p),k.fillRect(f+h-a,d,a,p),k.fillStyle=e,k.globalAlpha=.9,k.fillRect(f+h-a,d,a,r((1-x/m)*p))}}};const Ek=Object.assign({customOptions:{},inheritAttrs:!0},{__name:"FPSStats.ce",setup(o,{expose:t}){const e=O();return ye(()=>{const n=new Ws;n.domElement.style.margin="1em",e.value.appendChild(n.domElement),Ur(()=>(n.update(),!0))}),t({}),(n,s)=>(I(),z("div",{ref_key:"containerRef",ref:e},null,512))}}),Sk={class:"ease-graph"},mc=at(X({customOptions:{Button:re,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(o,{expose:t,emit:e}){const n=o,s=e,r=O();let a,i;Rt(r,()=>{r.value&&(ua(r.value.getElement(),{onShow:c}).then(f=>i=f),r.value.getCanvas().then(f=>{a=f,s("onMounted",n.easeName)}))});let l=!1;const c=()=>{if(!a||l)return;l=!0,s("onStart",n.easeName),a.ctx.fillStyle="rgb(250,250,250)",a.ctx.fillRect(0,0,n.canvasWidth,n.canvasHeight),a.ctx.lineWidth=.5,a.ctx.strokeStyle="rgb(230,230,230)",a.ctx.beginPath(),a.ctx.moveTo(0,n.graphVerticalGap),a.ctx.lineTo(n.canvasWidth,n.graphVerticalGap),a.ctx.moveTo(0,n.canvasHeight-n.graphVerticalGap),a.ctx.lineTo(n.canvasWidth,n.canvasHeight-n.graphVerticalGap),a.ctx.closePath(),a.ctx.stroke(),a.ctx.lineWidth=2,a.ctx.strokeStyle="rgb(255,127,127)";const f={x:n.graphHorizontalGap,y:n.canvasHeight-n.graphVerticalGap},d={x:n.graphHorizontalGap,y:n.canvasHeight-n.graphVerticalGap},h=()=>{a.ctx.beginPath(),a.ctx.moveTo(d.x,d.y),a.ctx.lineTo(f.x,f.y),a.ctx.closePath(),a.ctx.stroke(),d.x=f.x,d.y=f.y},p=new Xe({frameDuration:n.easeDuration});p.addTween(f,{x:n.canvasWidth-n.graphHorizontalGap},{frames:1,delay:0,easeFunction:xt.Easing.Linear.None,onUpdate:v=>{f.x=v.x},onComplete:()=>{}}),p.addTween(f,{y:n.graphVerticalGap},{frames:1,delay:0,easeFunction:n.easeFunction,onUpdate:v=>{f.y=v.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(),z("div",Sk,[w("div",null,"缓动:"+dt(f.easeName),1),w("div",null,[w("div",null,[Q(re,{stylePattern:"outline",height:"32px",padding:"10px",onClick:c},{default:st(()=>d[0]||(d[0]=[Bt(" 开始 ")])),_:1})]),w("div",null,[Q(re,{stylePattern:n.isSelected?"fullfill":"outline",height:"32px",padding:"10px",onClick:u},{default:st(()=>d[1]||(d[1]=[Bt(" 选择 ")])),_:1},8,["stylePattern"])])]),w("div",{style:N({width:f.canvasWidth+"px",height:f.canvasHeight+"px"})},[Q(_o,{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}
228
+ `]],["__scopeId","data-v-4358d221"]]),Ok={class:"ease-graph"},Pk=X({customOptions:{Button:re,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(o,{expose:t,emit:e}){const n=o,s=e,r=O();let a,i;Rt(r,()=>{r.value&&(ua(r.value.getElement(),{onShow:c}).then(f=>i=f),r.value.getCanvas().then(f=>{a=f,s("onMounted",n.easeName)}))});let l=!1;const c=()=>{if(!a||l)return;l=!0,s("onStart",n.easeName),a.ctx.fillStyle="rgb(250,250,250)",a.ctx.fillRect(0,0,n.canvasWidth,n.canvasHeight),a.ctx.lineWidth=.5,a.ctx.strokeStyle="rgb(230,230,230)",a.ctx.beginPath(),a.ctx.moveTo(0,n.graphVerticalGap),a.ctx.lineTo(n.canvasWidth,n.graphVerticalGap),a.ctx.moveTo(0,n.canvasHeight-n.graphVerticalGap),a.ctx.lineTo(n.canvasWidth,n.canvasHeight-n.graphVerticalGap),a.ctx.closePath(),a.ctx.stroke(),a.ctx.lineWidth=2,a.ctx.strokeStyle="rgb(255,127,127)";const f={x:n.graphHorizontalGap,y:n.canvasHeight-n.graphVerticalGap},d={x:n.graphHorizontalGap,y:n.canvasHeight-n.graphVerticalGap},h=()=>{a.ctx.beginPath(),a.ctx.moveTo(d.x,d.y),a.ctx.lineTo(f.x,f.y),a.ctx.closePath(),a.ctx.stroke(),d.x=f.x,d.y=f.y},p=new Xe({frameDuration:n.easeDuration});p.addTween(f,{x:n.canvasWidth-n.graphHorizontalGap},{frames:1,delay:0,easeFunction:xt.Easing.Linear.None,onUpdate:v=>{f.x=v.x},onComplete:()=>{}}),p.addTween(f,{y:n.graphVerticalGap},{frames:1,delay:0,easeFunction:n.easeFunction,onUpdate:v=>{f.y=v.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(),z("div",Ok,[w("div",null,"缓动:"+dt(f.easeName),1),w("div",null,[w("div",null,[Q(re,{stylePattern:"outline",height:"32px",padding:"10px",onClick:c},{default:st(()=>d[0]||(d[0]=[Bt(" 开始 ")])),_:1})]),w("div",null,[Q(re,{stylePattern:n.isSelected?"fullfill":"outline",height:"32px",padding:"10px",onClick:u},{default:st(()=>d[1]||(d[1]=[Bt(" 选择 ")])),_:1},8,["stylePattern"])])]),w("div",{style:N({width:f.canvasWidth+"px",height:f.canvasHeight+"px"})},[Q(_o,{ref_key:"canvasRef",ref:r,bgColor:"#ffffff"},null,512)],4)]))}}),TC="",cm=at(Pk,[["__scopeId","data-v-ceb1c6e1"]]),Rk=2e3,um=at(X({customOptions:{EaseGraphDisplay:cm},inheritAttrs:!0,__name:"EaseGroupGraphDisplay.ce",props:{easeList:{default:()=>[{easeName:"Linear",easeFunction:xt.Easing.Linear.None},{easeName:"gap"},{easeName:"QuadraticIn",easeFunction:xt.Easing.Quadratic.In},{easeName:"QuadraticOut",easeFunction:xt.Easing.Quadratic.Out},{easeName:"QuadraticInOut",easeFunction:xt.Easing.Quadratic.InOut},{easeName:"gap"},{easeName:"CubicIn",easeFunction:xt.Easing.Cubic.In},{easeName:"CubicOut",easeFunction:xt.Easing.Cubic.Out},{easeName:"CubicInOut",easeFunction:xt.Easing.Cubic.InOut},{easeName:"gap"},{easeName:"QuarticIn",easeFunction:xt.Easing.Quartic.In},{easeName:"QuarticOut",easeFunction:xt.Easing.Quartic.Out},{easeName:"QuarticInOut",easeFunction:xt.Easing.Quartic.InOut},{easeName:"gap"},{easeName:"QuinticIn",easeFunction:xt.Easing.Quintic.In},{easeName:"QuinticOut",easeFunction:xt.Easing.Quintic.Out},{easeName:"QuinticInOut",easeFunction:xt.Easing.Quintic.InOut},{easeName:"gap"},{easeName:"SinusoidalIn",easeFunction:xt.Easing.Sinusoidal.In},{easeName:"SinusoidalOut",easeFunction:xt.Easing.Sinusoidal.Out},{easeName:"SinusoidalInOut",easeFunction:xt.Easing.Sinusoidal.InOut},{easeName:"gap"},{easeName:"ExponentialIn",easeFunction:xt.Easing.Exponential.In},{easeName:"ExponentialOut",easeFunction:xt.Easing.Exponential.Out},{easeName:"ExponentialInOut",easeFunction:xt.Easing.Exponential.InOut},{easeName:"gap"},{easeName:"CircularIn",easeFunction:xt.Easing.Circular.In},{easeName:"CircularOut",easeFunction:xt.Easing.Circular.Out},{easeName:"CircularInOut",easeFunction:xt.Easing.Circular.InOut},{easeName:"gap"},{easeName:"ElasticIn",easeFunction:xt.Easing.Elastic.In},{easeName:"ElasticOut",easeFunction:xt.Easing.Elastic.Out},{easeName:"ElasticInOut",easeFunction:xt.Easing.Elastic.InOut},{easeName:"gap"},{easeName:"BackIn",easeFunction:xt.Easing.Back.In},{easeName:"BackOut",easeFunction:xt.Easing.Back.Out},{easeName:"BackInOut",easeFunction:xt.Easing.Back.InOut},{easeName:"gap"},{easeName:"BounceIn",easeFunction:xt.Easing.Bounce.In},{easeName:"BounceOut",easeFunction:xt.Easing.Bounce.Out},{easeName:"BounceInOut",easeFunction:xt.Easing.Bounce.InOut},{easeName:"gap"},{easeName:"generatePow(10)In",easeFunction:xt.Easing.generatePow(10).In},{easeName:"generatePow(10)Out",easeFunction:xt.Easing.generatePow(10).Out},{easeName:"generatePow(10)InOut",easeFunction:xt.Easing.generatePow(10).InOut},{easeName:"gap"},{easeName:"4 steps",easeFunction:xt.Easing.createStep(4)},{easeName:"8 steps",easeFunction:xt.Easing.createStep(8)},{easeName:"12 steps",easeFunction:xt.Easing.createStep(12)},{easeName:"16 steps",easeFunction:xt.Easing.createStep(16)},{easeName:"gap"},{easeName:"Noisy Exponential.InOut",easeFunction:xt.Easing.createNoisyEasing(xt.Easing.Exponential.InOut,.1)},{easeName:"Noisy Elastic.InOut",easeFunction:xt.Easing.createNoisyEasing(xt.Easing.Elastic.InOut,.2)},{easeName:"Noisy Circular.InOut",easeFunction:xt.Easing.createNoisyEasing(xt.Easing.Circular.InOut,.1)},{easeName:"swing",easeFunction:xt.Easing.swing},{easeName:"causeSeizures",easeFunction:xt.Easing.causeSeizures}]}},emits:["selectedEaseFunction"],setup(o,{expose:t,emit:e}){const n=o,s=e,r={};function a(d,h){d&&(r[h]={el:d})}const i=new Yr(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=O("Linear");function f(d,h){u.value=d,s("selectedEaseFunction",d,h)}return f("Linear",xt.Easing.Linear.None),t({}),(d,h)=>(I(),z("div",null,[(I(!0),z(Dt,null,Te(n.easeList,p=>(I(),z("div",{key:p.easeName,class:"ease-graph-wrap"},[p.easeFunction?(I(),ht(cm,{key:0,easeName:p.easeName,easeFunction:p.easeFunction,easeDuration:Rk,isSelected:u.value==p.easeName,onOnMounted:l,onOnCompleted:c,onOnSelected:f,ref_for:!0,ref:v=>a(v,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}
229
+ `]],["__scopeId","data-v-b3ce4b26"]]),Ik={class:"interpolation-graph"},fm=1/6,dm=5/6,gc=at(X({customOptions:{Button:re,Canvas:_o},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=O();let a,i;Rt(r,()=>{r.value&&(ua(r.value.getElement(),{onShow:v}).then(k=>i=k),r.value.getCanvas().then(k=>{a=k,s("onMounted",n.interpolationName)}))});const l=n.canvasWidth*fm,c=n.canvasHeight/2,u=[n.canvasWidth*dm,n.canvasWidth/2],f=[n.canvasHeight*fm,n.canvasHeight*dm],d=[...u,l],h=[...f,c];let p=!1;const v=()=>{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 k=0;k<u.length;k++)a.ctx.fillRect(u[k]-2,f[k]-2,4,4);const x=new Xe({frameDuration:n.interpolationDuration});x.addTween({x:l,y:c,old:{x:l,y:c}},{x:u,y:f},{frames:1,delay:0,easeFunction:xt.Easing.Linear.None,interpolationFunction:n.interpolationFunction,onUpdate:m=>{a.ctx.lineWidth=2,a.ctx.strokeStyle="rgba(255,127,127,0.9)",a.ctx.beginPath(),a.ctx.moveTo(m.old.x,m.old.y),a.ctx.lineTo(m.x,m.y),a.ctx.closePath(),a.ctx.stroke(),m.old.x=m.x,m.old.y=m.y},onComplete:()=>{}}),x.addTween({x:l,y:c,old:{x:l,y:c}},{x:d,y:h},{frames:1,delay:0,easeFunction:xt.Easing.Linear.None,interpolationFunction:n.interpolationFunction,onUpdate:m=>{a.ctx.lineWidth=2,a.ctx.strokeStyle="rgba(255,127,127,0.5)",a.ctx.beginPath(),a.ctx.moveTo(m.old.x,m.old.y),a.ctx.lineTo(m.x,m.y),a.ctx.closePath(),a.ctx.stroke(),m.old.x=m.x,m.old.y=m.y},onComplete:()=>{s("onCompleted",n.interpolationName),p=!1}}),x.play()};return ue(()=>{i?.()}),t({start:v}),(k,x)=>(I(),z("div",Ik,[w("div",null,[Bt(" 插值:"+dt(k.interpolationName)+" ",1),Q(re,{stylePattern:"outline",height:"32px",onClick:v},{default:st(()=>x[0]||(x[0]=[Bt(" 开始 ")])),_:1})]),w("div",{style:N({width:k.canvasWidth+"px",height:k.canvasHeight+"px"})},[Q(_o,{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}
230
+ `]],["__scopeId","data-v-40f2a3d6"]]),Ak={class:"interpolation-graph"},hm=1/6,pm=5/6,$k=X({customOptions:{Button:re,Canvas:_o},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=O();let a,i;Rt(r,()=>{r.value&&(ua(r.value.getElement(),{onShow:v}).then(k=>i=k),r.value.getCanvas().then(k=>{a=k,s("onMounted",n.interpolationName)}))});const l=n.canvasWidth*hm,c=n.canvasHeight/2,u=[n.canvasWidth*pm,n.canvasWidth/2],f=[n.canvasHeight*hm,n.canvasHeight*pm],d=[...u,l],h=[...f,c];let p=!1;const v=()=>{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 k=0;k<u.length;k++)a.ctx.fillRect(u[k]-2,f[k]-2,4,4);const x=new Xe({frameDuration:n.interpolationDuration});x.addTween({x:l,y:c,old:{x:l,y:c}},{x:u,y:f},{frames:1,delay:0,easeFunction:xt.Easing.Linear.None,interpolationFunction:n.interpolationFunction,onUpdate:m=>{a.ctx.lineWidth=2,a.ctx.strokeStyle="rgba(255,127,127,0.9)",a.ctx.beginPath(),a.ctx.moveTo(m.old.x,m.old.y),a.ctx.lineTo(m.x,m.y),a.ctx.closePath(),a.ctx.stroke(),m.old.x=m.x,m.old.y=m.y},onComplete:()=>{}}),x.addTween({x:l,y:c,old:{x:l,y:c}},{x:d,y:h},{frames:1,delay:0,easeFunction:xt.Easing.Linear.None,interpolationFunction:n.interpolationFunction,onUpdate:m=>{a.ctx.lineWidth=2,a.ctx.strokeStyle="rgba(255,127,127,0.5)",a.ctx.beginPath(),a.ctx.moveTo(m.old.x,m.old.y),a.ctx.lineTo(m.x,m.y),a.ctx.closePath(),a.ctx.stroke(),m.old.x=m.x,m.old.y=m.y},onComplete:()=>{s("onCompleted",n.interpolationName),p=!1}}),x.play()};return ue(()=>{i?.()}),t({start:v}),(k,x)=>(I(),z("div",Ak,[w("div",null,[Bt(" 插值:"+dt(k.interpolationName)+" ",1),Q(re,{stylePattern:"outline",height:"32px",onClick:v},{default:st(()=>x[0]||(x[0]=[Bt(" 开始 ")])),_:1})]),w("div",{style:N({width:k.canvasWidth+"px",height:k.canvasHeight+"px"})},[Q(_o,{ref_key:"canvasRef",ref:r,bgColor:"#ffffff"},null,512)],4)]))}}),RC="",mm=at($k,[["__scopeId","data-v-9fcfb094"]]),Nk=2e3,gm=at(X({customOptions:{InterpolationGraphDisplay:mm},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(o,{expose:t,emit:e}){const n=o,s={};function r(c,u){c&&(s[u]={el:c})}const a=new Yr(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(),z("div",null,[(I(!0),z(Dt,null,Te(n.interpolationList,f=>(I(),z("div",{key:f.interpolationName,class:"interpolation-graph-wrap"},[Q(mm,{interpolationName:f.interpolationName,interpolationFunction:f.interpolationFunction,easeDuration:Nk,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}
231
+ `]],["__scopeId","data-v-7128e350"]]),Fk={class:"face front"},zk={class:"face back"},ym=at(X({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=O(!1),a=()=>{r.value=!r.value,s("click",r.value)};return t({}),(i,l)=>(I(),z("div",{class:"card-flip-scene",style:N({perspective:n.perspective})},[w("div",{class:jt(["card",[n.type,{flip:r.value}]]),style:N({transition:`transform ${n.dur}ms`}),onClick:a},[w("div",Fk,[gt(i.$slots,"front",{},()=>[l[0]||(l[0]=Bt("front"))],!0)]),w("div",zk,[gt(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)}
232
+ `]],["__scopeId","data-v-1ee90a6e"]]),Dk=X({customOptions:{BooleanBox:sn},__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=O([]),r=(l,c)=>{l&&(s.value[c]=l)};let a=O(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),z(Dt,null,Te(l.options,(u,f)=>(I(),z("div",{class:"radio-group",key:f,style:N(["margin-left:"+(f>0?e.itemPadding:0)])},[Q(sn,{ref_for:!0,ref:d=>r(d,f),selected:Ot(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))}}),FC="",vm=at(Dk,[["__scopeId","data-v-308d559c"]]),Mk=X({customOptions:{BooleanBox:sn},__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),z(Dt,null,Te(a.options,(l,c)=>(I(),z("div",{class:"checkbox-group",key:c,style:N(["margin-left:"+(c>0?e.itemPadding:0)])},[Q(sn,{selected:Ot(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))}}),zC="",yc=at(Mk,[["__scopeId","data-v-4c28fda3"]]),Lk=["max","min","step","value","autofocus"],Bk={key:0,class:"label"},Vk=X({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=O(n.defaultValue),a=()=>Re((r.value-n.min)/(n.max-n.min),4)*100,i=O(a());function l(f){r.value=Re(f.target.value,2),i.value=a(),s("change",r.value)}const c=`
193
233
  :root {
194
- --loading-7-bg-color: ${t.color}
234
+ --input-range-color: ${n.color};
235
+ --input-range-thumb-size: ${n.handleSize};
236
+ --input-range-track-size: ${n.barHeight};
195
237
  }
196
238
  :host {
197
- --loading-7-bg-color: ${t.color}
239
+ --input-range-color: ${n.color};
240
+ --input-range-thumb-size: ${n.handleSize};
241
+ --input-range-track-size: ${n.barHeight};
198
242
  }
199
- `,o=R();return Et(o,()=>{o.value&&us(e,o.value)}),es(()=>{}),re(()=>{}),(r,n)=>(L(),z("div",{class:"loading-7",ref_key:"loading7",ref:o},n[0]||(n[0]=[E("div",null,null,-1)]),512))}}),F_=nt(I_,[["styles",[`.loading-7[data-v-bb5e2767]{position:relative;display:block;width:100%;height:100%}.loading-7>div[data-v-bb5e2767]{width:50%;height:50%;margin:auto;position:absolute;inset:0}.loading-7>div[data-v-bb5e2767]: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-bb5e2767 .5s linear infinite}.loading-7>div[data-v-bb5e2767]:after{content:"";width:100%;height:100%;animation:animate-bb5e2767 .5s linear infinite;position:absolute;inset:0;border-radius:3px;background-color:var(--loading-7-bg-color)}@keyframes animate-bb5e2767{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-bb5e2767{0%,to{transform:scale(1)}50%{transform:scaleX(1.2)}}
200
- `]],["__scopeId","data-v-bb5e2767"]]),D_={class:"loading-8"},$_={viewBox:"25 25 50 50"},L_=H({__name:"Loading8.ce",props:{color:{default:vt.colorPrimary}},setup(s){const t=s;return(e,o)=>(L(),z("div",D_,[(L(),z("svg",$_,[E("circle",{cx:"50",cy:"50",r:"20",style:A(["stroke: "+t.color])},null,4)]))]))}}),Yf=nt(L_,[["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}}
201
- `]],["__scopeId","data-v-51a259a7"]]),A_={class:"loading-9"},M_=H({__name:"Loading9.ce",props:{color:{default:vt.colorPrimary}},setup(s){const e={borderTopColor:s.color};return(o,r)=>(L(),z("div",A_,[E("div",{style:e})]))}}),N_=nt(M_,[["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)}}
202
- `]],["__scopeId","data-v-ee782ac8"]]),z_={class:"loading-10"},V_={viewBox:"0 0 50 50"},B_=H({__name:"Loading10.ce",props:{color:{default:vt.colorPrimary}},setup(s){const t=s;return(e,o)=>(L(),z("div",z_,[(L(),z("svg",V_,[o[0]||(o[0]=E("circle",{class:"ring",cx:"25",cy:"25",r:"20",style:A(["stroke: rgba(0,0,0,0.1)"])},null,-1)),E("circle",{class:"ball",cx:"25",cy:"5",r:"3.5",style:A(["fill: "+t.color])},null,4)]))]))}}),Y_=nt(B_,[["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)}}
203
- `]],["__scopeId","data-v-984ad184"]]),X_={class:"loading-11",ref:"loading11"},G_={class:"container container-1"},U_={class:"container container-2"},j_={class:"container container-3"},H_=H({__name:"Loading11.ce",props:{color:{default:vt.colorPrimary},width:{default:"0.8em"}},setup(s){const t=s;return(e,o)=>(L(),z("div",X_,[E("div",{class:"loading-11-inner",style:A({width:t.width,height:t.width})},[E("div",G_,[E("div",{class:"dot dot-1",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-2",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-3",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-4",style:A({backgroundColor:t.color})},null,4)]),E("div",U_,[E("div",{class:"dot dot-1",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-2",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-3",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-4",style:A({backgroundColor:t.color})},null,4)]),E("div",j_,[E("div",{class:"dot dot-1",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-2",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-3",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-4",style:A({backgroundColor:t.color})},null,4)])],4)],512))}}),Xf=nt(H_,[["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)}}
204
- `]],["__scopeId","data-v-7fb118c9"]]),W_={class:"face front"},Z_={class:"face back"},q_=nt(H({customOptions:{},inheritAttrs:!0,__name:"CardFlip.ce",props:{type:{default:""},dur:{default:500},perspective:{default:"600px"}},emits:["click"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=R(!1),a=()=>{n.value=!n.value,r("click",n.value)};return t({}),(i,l)=>(L(),z("div",{class:"card-flip-scene",style:A({perspective:o.perspective})},[E("div",{class:oe(["card",[o.type,{flip:n.value}]]),style:A({transition:`transform ${o.dur}ms`}),onClick:a},[E("div",W_,[_t(i.$slots,"front",{},()=>[l[0]||(l[0]=Ht("front"))],!0)]),E("div",Z_,[_t(i.$slots,"back",{},()=>[l[1]||(l[1]=Ht("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)}
205
- `]],["__scopeId","data-v-1ee90a6e"]]),Q_=H({customOptions:{BooleanBox:so},__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(s,{emit:t}){const e=s,o=t,r=R([]),n=(l,c)=>{l&&(r.value[c]=l)};let a=R(e.initIndex);const i=(l,c)=>{a.value!==l?(r.value[a.value].toggleValue(),c&&(a.value=l,o("change",e.options[a.value]))):c||r.value[a.value].setValue(!0)};return(l,c)=>(L(!0),z(Vt,null,xe(l.options,(u,d)=>(L(),z("div",{class:"radio-group",key:d,style:A(["margin-left:"+(d>0?e.itemPadding:0)])},[it(so,{ref_for:!0,ref:h=>n(h,d),selected:Ct(a)==d,disabled:l.disabledIndexs&&l.disabledIndexs.findIndex(h=>h===d)>=0,isRounded:e.isRounded,label:u,labelPadding:e.labelPadding,colorBackground:e.colorBackground,colorForeground:e.colorForeground,colorDisabled:e.colorDisabled,colorChangeMode:e.colorChangeMode,boxWidth:e.boxWidth,fontSize:e.fontSize,onChange:h=>i(d,h)},null,8,["selected","disabled","isRounded","label","labelPadding","colorBackground","colorForeground","colorDisabled","colorChangeMode","boxWidth","fontSize","onChange"])],4))),128))}}),Xw="",Gf=nt(Q_,[["__scopeId","data-v-308d559c"]]),K_=H({customOptions:{BooleanBox:so},__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(s,{emit:t}){const e=s,o=t;let r=Jt(e.initIndexs??[]);const n=(a,i)=>{const l=r.findIndex(u=>u===a);let c=!1;l>=0&&!i?(r.splice(l,1),c=!0):l<0&&i&&(r.push(a),c=!0),c&&o("change",r.map(u=>e.options[u]))};return(a,i)=>(L(!0),z(Vt,null,xe(a.options,(l,c)=>(L(),z("div",{class:"checkbox-group",key:c,style:A(["margin-left:"+(c>0?e.itemPadding:0)])},[it(so,{selected:Ct(r).findIndex(u=>u===c)>=0,disabled:a.disabledIndexs&&a.disabledIndexs.findIndex(u=>u===c)>=0,isRounded:e.isRounded,label:l,labelPadding:e.labelPadding,colorBackground:e.colorBackground,colorForeground:e.colorForeground,colorDisabled:e.colorDisabled,colorChangeMode:e.colorChangeMode,boxWidth:e.boxWidth,fontSize:e.fontSize,onChange:u=>n(c,u)},null,8,["selected","disabled","isRounded","label","labelPadding","colorBackground","colorForeground","colorDisabled","colorChangeMode","boxWidth","fontSize","onChange"])],4))),128))}}),Gw="",dl=nt(K_,[["__scopeId","data-v-4c28fda3"]]),Uf=nt(H({customOptions:{RadioGroup:Gf,CheckboxGroup:dl,InputRange:ko},inheritAttrs:!0,__name:"Cube.ce",props:{width:{default:200},height:{default:200},dur:{default:1e3},perspective:{default:400}},setup(s,{expose:t,emit:e}){const o=s,r=R(Math.floor(o.width/2)),n=`
243
+ `,u=O();return Rt(u,()=>{u.value&&bo(c,u.value)}),ue(()=>{}),t({}),(f,d)=>(I(),z("div",{class:"input-range",ref_key:"inputRangeContainer",ref:u},[w("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,Lk),gt(f.$slots,"default",{value:r.value},()=>[f.showValue?(I(),z("label",Bk,dt(r.value)+dt(n.unit),1)):yt("",!0)],!0)],512))}}),DC="",Za=at(Vk,[["__scopeId","data-v-cab67db2"]]),bm=at(X({customOptions:{RadioGroup:vm,CheckboxGroup:yc,InputRange:Za},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=O(Math.floor(n.width/2)),r=`
206
244
  :root {
207
- --spin-cube-z: -${r.value}px;
245
+ --spin-cube-z: -${s.value}px;
208
246
  }
209
247
  :host {
210
- --spin-cube-z: -${r.value}px;
248
+ --spin-cube-z: -${s.value}px;
211
249
  }
212
- `,a=R();Et(a,()=>{a.value&&us(n,a.value)});const i=R(o.perspective+"px"),l=m=>{i.value=m==2e3?"none":m+"px"},c=R("50%"),u=m=>{c.value=m+"%"},d=R("50%"),h=m=>{d.value=m+"%"},p=`translateZ(-${r.value}px)`,f=R(p),b=m=>{switch(m){case"front":f.value=p+" rotateY(0deg)";break;case"right":f.value=p+" rotateY(-90deg)";break;case"back":f.value=p+" rotateY(-180deg)";break;case"left":f.value=p+" rotateY(90deg)";break;case"top":f.value=p+" rotateX(-90deg)";break;case"bottom":f.value=p+" rotateX(90deg)";break;default:f.value=p;break}},w=R(!1),x=m=>{m.length?w.value=!0:w.value=!1},v=R("visible"),g=m=>{m.length?v.value="visible":v.value="hidden"};return t({}),(m,_)=>(L(),z("div",{ref_key:"container",ref:a},[E("div",{class:"cube-scene",style:A({width:`${o.width}px`,height:`${o.height}px`,perspective:`${i.value}`,perspectiveOrigin:`${c.value} ${d.value}`})},[E("div",{class:oe(["cube",{spinning:w.value}]),style:A({transformStyle:"preserve-3d",transform:f.value,transition:`transform ${o.dur}ms`})},[E("div",{class:"face front",style:A({transform:`rotateY(0deg) translateZ(${r.value}px)`,backfaceVisibility:v.value})},[_t(m.$slots,"front",{},()=>[_[0]||(_[0]=Ht("front"))],!0)],4),E("div",{class:"face back",style:A({transform:`rotateY(180deg) translateZ(${r.value}px)`,backfaceVisibility:v.value})},[_t(m.$slots,"back",{},()=>[_[1]||(_[1]=Ht("back"))],!0)],4),E("div",{class:"face right",style:A({transform:`rotateY(90deg) translateZ(${r.value}px)`,backfaceVisibility:v.value})},[_t(m.$slots,"right",{},()=>[_[2]||(_[2]=Ht("right"))],!0)],4),E("div",{class:"face left",style:A({transform:`rotateY(-90deg) translateZ(${r.value}px)`,backfaceVisibility:v.value})},[_t(m.$slots,"left",{},()=>[_[3]||(_[3]=Ht("left"))],!0)],4),E("div",{class:"face top",style:A({transform:`rotateX(90deg) translateZ(${r.value}px)`,backfaceVisibility:v.value})},[_t(m.$slots,"top",{},()=>[_[4]||(_[4]=Ht("top"))],!0)],4),E("div",{class:"face bottom",style:A({transform:`rotateX(-90deg) translateZ(${r.value}px)`,backfaceVisibility:v.value})},[_t(m.$slots,"bottom",{},()=>[_[5]||(_[5]=Ht("bottom"))],!0)],4)],6)],4),E("div",null,[it(Gf,{options:["front","right","back","left","top","bottom"],onChange:b})]),E("div",null,[it(dl,{options:["Backface visible"],onChange:g})]),E("div",null,[it(dl,{options:["spin cube"],onChange:x})]),E("div",null,[_[6]||(_[6]=Ht(" perspective: ")),it(ko,{min:1,max:2e3,defaultValue:o.perspective,unit:"px",onChange:l},null,8,["defaultValue"])]),E("div",null,[_[7]||(_[7]=Ht(" perspective-origin x: ")),it(ko,{min:0,max:100,defaultValue:50,unit:"%",onChange:u})]),E("div",null,[_[8]||(_[8]=Ht(" perspective-origin y: ")),it(ko,{min:0,max:100,defaultValue:50,unit:"%",onChange:h})])],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)}}
213
- `]],["__scopeId","data-v-d77b4117"]]),J_={class:"ring-indicator"},tx={class:"ring-text"},jf=nt(H({customOptions:{Canvas:je},inheritAttrs:!0,__name:"RingIndicator.ce",props:{percent:{default:0},lineWidth:{default:12},bgColor:{default:"#B3C6E7"},startColor:{default:"#5A82F0"},endColor:{default:"#66B3FF"}},setup(s,{expose:t}){const e=s;let o=R(0);const r=oy(()=>{const c=le(Math.floor(e.percent),0,100);return o.value<c?o.value=Math.min(o.value+1,c):o.value>c&&(o.value=Math.max(o.value-1,c)),Te(o.value/100,2)},20),n=R(0),a=R(0),i=(c,u)=>{n.value=c,a.value=u},l=R();return Et(l,()=>{l.value&&l.value.getCanvas().then(c=>{const u=new Wd({width:n.value,height:a.value,startDegree:0,endDegree:180,extendDegree:15,lineWidth:e.lineWidth,bgColor:e.bgColor,startColor:e.startColor,endColor:e.endColor});ce(()=>(c.ctx.clearRect(),u.setPercent(r()),c.draw(u),!0))})}),t({}),(c,u)=>(L(),z("div",J_,[it(je,{ref_key:"canvasRef",ref:l,onResize:i},null,512),E("div",tx,[E("span",null,yt(Ct(o)),1),u[0]||(u[0]=E("span",null,"%",-1))])]))}}),[["styles",[`.ring-indicator[data-v-57b7fa75]{position:relative;width:100%;height:100%}.ring-text[data-v-57b7fa75]{position:absolute;bottom:0;left:0;width:100%;text-align:center;font-family:D-DINExp;color:#333;padding-bottom:20px}.ring-text>span[data-v-57b7fa75]:nth-child(1){font-size:64px}.ring-text>span[data-v-57b7fa75]:nth-child(2){font-size:20px}
214
- `]],["__scopeId","data-v-57b7fa75"]]),ex={key:0},sx={key:1},Co=10,Go=4,Hf=nt(H({customOptions:{Container:kt},inheritAttrs:!0,__name:"RingText.ce",props:{text:{default:""},secondText:{default:""},startColor:{default:"#5A82F0"},endColor:{default:"#66B3FF"},dur:{default:2e3}},setup(s,{expose:t}){const e=s,o=R(0),r=(n,a)=>{o.value=Math.floor(Math.min(n,a))};return t({}),(n,a)=>(L(),$t(kt,{onResize:r,type:"full"},{default:bt(()=>[E("div",{class:"ring",style:A({width:o.value+"px",height:o.value+"px",padding:Co+"px",background:`linear-gradient(180deg, ${e.startColor} 0%, ${e.endColor} 100%)`})},[E("div",{class:"ring-rotate",style:A({animation:`rotate-reverse ${e.dur}ms infinite linear`,mask:`radial-gradient(transparent ${o.value/2-Co-Go}px, #000 ${o.value/2-Co-Go}px)`})},a[0]||(a[0]=[E("div",{class:"left"},null,-1),E("div",{class:"right"},null,-1)]),4),E("div",{class:"ring-content",style:A({top:Co+Go+"px",left:Co+Go+"px",width:o.value-(Co+Go)*2+"px",height:o.value-(Co+Go)*2+"px"})},[e.text?(L(),z("div",ex,yt(e.text),1)):Rt("",!0),e.secondText?(L(),z("div",sx,yt(e.secondText),1)):Rt("",!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}}
215
- `,`.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))}
216
- `]],["__scopeId","data-v-8b4a3cb1"]]),Wf=nt(H({customOptions:{Container:kt},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(s,{expose:t}){const e=s,o=R(),r=R(40),n=R(20),a=R(20),i=(x,v)=>{r.value=Math.floor(x/(6+1)),n.value=Math.floor(v),a.value=Math.max(12,n.value)},l=()=>{e.initStart&&b(e.startTime)};let c;const u=()=>{c?.()},d=Jt([0,0,0,0,0,0]),h=Jt([0,0,0,0,0,0]),p=[0,0,0,0,0,0];let f=0;const b=x=>{x&&(L0($0(x),p),p.forEach((v,g)=>{d[g]=v,h[g]=v})),u(),f=0,w(pe(),0,!1),c=sy((v,g,m)=>{w(v,g,m)},1e3)},w=(x,v,g)=>{if(g)f=v;else{if(f>0){p.forEach((_,k)=>{d[k]=_,h[k]=_});const m=f+1;e.creaseType=="increase"?(oi(d,m),oi(h,m+1)):(ri(d,m),ri(h,m+1)),f=0}else e.creaseType=="increase"?oi(h,1):ri(h,1);Ci(()=>{h.forEach((m,_)=>{d[_]=m})},e.dur)}};return t({start:b,pause:u}),(x,v)=>(L(),$t(kt,{ref_key:"containerRef",ref:o,type:"full",overflow:"visible","style-sheets":{"--yz-clock-flipper-bg-color":e.bgColor,"--yz-clock-flipper-text-color":e.textColor,"--yz-clock-flipper-border-radius":e.borderRadius+"px","--yz-clock-flipper-gap":e.gap+"px","--yz-clock-flipper-gap-double":e.gap*2+"px","--yz-clock-flipper-gap-four":e.gap*4+"px","--yz-clock-flipper-animation-duration":e.dur+"ms","--yz-clock-flipper-perspective":e.perspective+"px"},onResize:i,onReady:l},{default:bt(()=>[E("div",{class:"clock-flipper",style:A({fontSize:a.value+"px",lineHeight:n.value+"px"})},[(L(!0),z(Vt,null,xe(d,(g,m)=>(L(),z(Vt,{key:m},[E("div",{class:oe(["flip",[e.flipDirection,h[m]!=g?"go":""]]),style:A({width:r.value+"px"})},[E("div",{class:oe(["front digital",[`flipper_${m}`,`number_${g}`]])},null,2),E("div",{class:oe(["back digital",[`number_${h[m]}`]])},null,2)],6),m==1||m==3?(L(),z("div",{key:0,class:"gap",style:A({fontSize:Math.floor(a.value*.6)+"px",lineHeight:0})}," : ",4)):Rt("",!0)],64))),128))],4)]),_:1},8,["style-sheets"]))}}),[["styles",[`@keyframes frontFlipDown{0%{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(0)}to{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(-180deg)}}@keyframes backFlipDown{0%{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(180deg)}to{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(0)}}@keyframes frontFlipUp{0%{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(0)}to{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(180deg)}}@keyframes backFlipUp{0%{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(-180deg)}to{transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(0)}}
217
- `,`.clock-flipper[data-v-0a7bd62f]{position:relative;margin:0 auto;box-sizing:border-box;display:flex;flex-direction:row;justify-content:center;align-items:center;text-align:center;height:100%;font-family:D-DINCondensed-number}.flip[data-v-0a7bd62f]{position:relative;height:100%;box-sizing:border-box;color:var(--yz-clock-flipper-text-color)}.flip+.flip[data-v-0a7bd62f]{margin-left:var(--yz-clock-flipper-gap-double)}.flip.down .front[data-v-0a7bd62f]:after,.flip.down .back[data-v-0a7bd62f]:before{z-index:1}.flip.down .front[data-v-0a7bd62f]:before{z-index:3}.flip.down .back[data-v-0a7bd62f]:after{z-index:2;transform-origin:50% 0%;transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(180deg)}.flip.down.go .front[data-v-0a7bd62f]:before{transform-origin:50% 100%;animation:frontFlipDown var(--yz-clock-flipper-animation-duration) ease-in-out both;backface-visibility:hidden;box-shadow:0 -2px 6px #ffffff4d}.flip.down.go .back[data-v-0a7bd62f]:after{animation:backFlipDown var(--yz-clock-flipper-animation-duration) ease-in-out both}.flip.up .front[data-v-0a7bd62f]:before,.flip.up .back[data-v-0a7bd62f]:after{z-index:1}.flip.up .front[data-v-0a7bd62f]:after{z-index:3}.flip.up .back[data-v-0a7bd62f]:before{z-index:2;transform-origin:50% 100%;transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(-180deg)}.flip.up.go .front[data-v-0a7bd62f]:after{transform-origin:50% 0;animation:frontFlipUp var(--yz-clock-flipper-animation-duration) ease-in-out both;backface-visibility:hidden;box-shadow:0 -2px 6px #ffffff4d}.flip.up.go .back[data-v-0a7bd62f]:before{animation:backFlipUp var(--yz-clock-flipper-animation-duration) ease-in-out both}.gap[data-v-0a7bd62f]{margin:0 var(--yz-clock-flipper-gap-four);color:var(--yz-clock-flipper-bg-color)}.digital[data-v-0a7bd62f]:before,.digital[data-v-0a7bd62f]:after{content:"";position:absolute;left:0;right:0;height:50%;box-sizing:border-box;background:var(--yz-clock-flipper-bg-color);overflow:hidden}.digital[data-v-0a7bd62f]:before{top:0;bottom:50%;border-radius:var(--yz-clock-flipper-border-radius) var(--yz-clock-flipper-border-radius) 0 0;border-bottom:solid var(--yz-clock-flipper-gap) var(--yz-clock-flipper-text-color)}.digital[data-v-0a7bd62f]:after{top:50%;bottom:0;border-radius:0 0 var(--yz-clock-flipper-border-radius) var(--yz-clock-flipper-border-radius);border-top:solid var(--yz-clock-flipper-gap) var(--yz-clock-flipper-text-color);line-height:0}.digital.number_0[data-v-0a7bd62f]:before,.digital.number_0[data-v-0a7bd62f]:after{content:"0"}.digital.number_1[data-v-0a7bd62f]:before,.digital.number_1[data-v-0a7bd62f]:after{content:"1"}.digital.number_2[data-v-0a7bd62f]:before,.digital.number_2[data-v-0a7bd62f]:after{content:"2"}.digital.number_3[data-v-0a7bd62f]:before,.digital.number_3[data-v-0a7bd62f]:after{content:"3"}.digital.number_4[data-v-0a7bd62f]:before,.digital.number_4[data-v-0a7bd62f]:after{content:"4"}.digital.number_5[data-v-0a7bd62f]:before,.digital.number_5[data-v-0a7bd62f]:after{content:"5"}.digital.number_6[data-v-0a7bd62f]:before,.digital.number_6[data-v-0a7bd62f]:after{content:"6"}.digital.number_7[data-v-0a7bd62f]:before,.digital.number_7[data-v-0a7bd62f]:after{content:"7"}.digital.number_8[data-v-0a7bd62f]:before,.digital.number_8[data-v-0a7bd62f]:after{content:"8"}.digital.number_9[data-v-0a7bd62f]:before,.digital.number_9[data-v-0a7bd62f]:after{content:"9"}
218
- `]],["__scopeId","data-v-0a7bd62f"]]),Zf=H({customOptions:{Container:kt},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(s,{expose:t}){const e=s;return t({}),(o,r)=>(L(),$t(kt,null,{default:bt(()=>[E("div",{style:A({backgroundImage:`url(${e.bgImageUrl})`,"background-clip":"text",color:"transparent"})},yt(e.text),5)]),_:1}))}}),ox={class:"slide"},qf=nt(H({customOptions:{Container:kt},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(s,{expose:t}){const e=s,o=Jt({}),r=()=>{switch(e.direction){case"left":o.transformOrigin="center left",o.transform="scaleX(0)";break;case"right":o.transformOrigin="center right",o.transform="scaleX(0)";break;case"down":o.transformOrigin="center bottom",o.transform="scaleY(0)";break;case"up":o.transformOrigin="center top",o.transform="scaleY(0)";break}},n=()=>{switch(e.direction){case"left":o.transformOrigin="center right",o.transform="scaleX(1)";break;case"right":o.transformOrigin="center left",o.transform="scaleX(1)";break;case"down":o.transformOrigin="center top",o.transform="scaleY(1)";break;case"up":o.transformOrigin="center bottom",o.transform="scaleY(1)";break}};return t({}),(a,i)=>(L(),$t(kt,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:r,onEnd:n,style:{overflow:"hidden"}},{default:bt(()=>[E("div",{class:"slide-before",style:A({backgroundColor:e.color,transition:`transform ${e.dur}ms ease-in-out`,...o})},null,4),E("div",ox,[_t(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}
219
- `]],["__scopeId","data-v-370e136b"]]),rx={class:"slide-corner"},Qf=nt(H({customOptions:{Container:kt},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(s,{expose:t}){const e=s,o=Jt({});let r=1,n=r*2;const a=(c,u)=>{r=Math.ceil(Math.max(c,u)/Math.min(c,u)),n=r*2,o.width=o.height=Math.ceil(Math.min(c,u))+"px"},i=()=>{switch(e.direction){case"fromBottomLeft":o.top="100%",o.right="100%",o.transform="translate(50%, -50%) scale3d(0, 0, 0)";break;case"fromBottomRight":o.top="100%",o.left="100%",o.transform="translate(-50%, -50%) scale3d(0, 0, 0)";break;case"fromTopLeft":o.bottom="100%",o.right="100%",o.transform="translate(50%, 50%) scale3d(0, 0, 0)";break;case"fromTopRight":o.bottom="100%",o.left="100%",o.transform="translate(-50%, 50%) scale3d(0, 0, 0)";break;case"fromCenter":o.top="50%",o.left="50%",o.transform="translate(-50%, -50%) scale3d(0, 0, 0)";break}},l=()=>{switch(e.direction){case"fromBottomLeft":o.top="100%",o.right="100%",o.transform=`translate(50%, -50%) scale3d(${n}, ${n}, ${n})`;break;case"fromBottomRight":o.top="100%",o.left="100%",o.transform=`translate(-50%, -50%) scale3d(${n}, ${n}, ${n})`;break;case"fromTopLeft":o.bottom="100%",o.right="100%",o.transform=`translate(50%, 50%) scale3d(${n}, ${n}, ${n})`;break;case"fromTopRight":o.bottom="100%",o.left="100%",o.transform=`translate(-50%, 50%) scale3d(${n}, ${n}, ${n})`;break;case"fromCenter":o.top="50%",o.left="50%",o.transform=`translate(-50%, -50%) scale3d(${n}, ${n}, ${n})`;break}};return t({}),(c,u)=>(L(),$t(kt,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:i,onEnd:l,onResize:a,style:{overflow:"hidden"}},{default:bt(()=>[E("div",{class:"slide-corner-before",style:A({backgroundColor:e.color,borderRadius:"50%",transition:`transform ${e.timeGap*Ct(r)}ms ease-in-out`,transformOrigin:"center",...o})},null,4),E("div",rx,[_t(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}
220
- `]],["__scopeId","data-v-6065adbb"]]),nx={class:"line-single"},Kf=nt(H({customOptions:{Container:kt},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(s,{expose:t}){const e=s;let o=1;const r=(l,c)=>{o=Math.ceil(Math.max(l,c)/Math.min(l,c))},n=Jt({});switch(e.location){case"underline":n.bottom="0";break;case"overline":n.top="0";break;case"through":n.top="50%";break}const a=()=>{switch(e.direction){case"right":n.transformOrigin="bottom right",n.transform="scaleX(0)";break;case"left":n.transformOrigin="bottom left",n.transform="scaleX(0)";break;case"fromCenter":n.transformOrigin="center",n.transform="scaleX(0)";break}},i=()=>{switch(e.direction){case"right":n.transformOrigin="bottom left",n.transform="scaleX(1)";break;case"left":n.transformOrigin="bottom right",n.transform="scaleX(1)";break;case"fromCenter":n.transformOrigin="center",n.transform="scaleX(1)";break}};return t({}),(l,c)=>(L(),$t(kt,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:a,onEnd:i,onResize:r},{default:bt(()=>[E("div",{class:"line-single-before",style:A({left:0,width:"100%",height:e.lineHeight+"px",backgroundColor:e.color,transition:`transform ${e.timeGap*Ct(o)}ms ease-in-out`,...n})},null,4),E("div",nx,[_t(l.$slots,"default",{},void 0,!0)])]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.line-single-before[data-v-f6ff8ebf]{position:absolute;z-index:0}.line-single[data-v-f6ff8ebf]{position:relative;z-index:1;cursor:pointer}
221
- `]],["__scopeId","data-v-f6ff8ebf"]]),ax={class:"line-double"},Jf=nt(H({customOptions:{Container:kt},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(s,{expose:t}){const e=s;let o=1;const r=(u,d)=>{o=Math.ceil(Math.max(u,d)/Math.min(u,d))},n=Jt({}),a=Jt({}),i=Jt({});switch(e.location){case"horizontal":n.width="100%",n.height=e.lineHeight+"px",a.top="0",i.bottom="0";break;case"vertical":n.width=e.lineHeight+"px",n.height="100%",a.left="0",i.right="0";break}const l=()=>{switch(e.direction){case"toEnd":switch(e.location){case"horizontal":a.right="0",i.right="0",n.transformOrigin="center right",n.transform="scaleX(0)";break;case"vertical":a.bottom="0",i.bottom="0",n.transformOrigin="center bottom",n.transform="scaleY(0)";break}break;case"toStart":switch(e.location){case"horizontal":a.left="0",i.left="0",n.transformOrigin="center left",n.transform="scaleX(0)";break;case"vertical":a.top="0",i.top="0",n.transformOrigin="center top",n.transform="scaleY(0)";break}break;case"towards":switch(e.location){case"horizontal":a.right="0",a.transformOrigin="center right",i.left="0",i.transformOrigin="center left",n.transform="scaleX(0)";break;case"vertical":a.bottom="0",a.transformOrigin="center bottom",i.top="0",i.transformOrigin="center top",n.transform="scaleY(0)";break}break;case"fromCenter":switch(e.location){case"horizontal":a.left="50%",i.left="50%",n.transformOrigin="center",n.transform="translateX(-50%) scaleX(0)";break;case"vertical":a.top="50%",i.top="50%",n.transformOrigin="center",n.transform="translateY(-50%) scaleY(0)";break}break}},c=()=>{switch(e.direction){case"toEnd":switch(e.location){case"horizontal":a.left="0",i.left="0",n.transformOrigin="center left",n.transform="scaleX(1)";break;case"vertical":a.top="0",i.top="0",n.transformOrigin="center top",n.transform="scaleY(1)";break}break;case"toStart":switch(e.location){case"horizontal":a.right="0",i.right="0",n.transformOrigin="center right",n.transform="scaleX(1)";break;case"vertical":a.bottom="0",i.bottom="0",n.transformOrigin="center bottom",n.transform="scaleY(1)";break}break;case"towards":switch(e.location){case"horizontal":a.left="0",a.transformOrigin="center left",i.right="0",i.transformOrigin="center right",n.transform="scaleX(1)";break;case"vertical":a.top="0",a.transformOrigin="center top",i.bottom="0",i.transformOrigin="center bottom",n.transform="scaleY(1)";break}break;case"fromCenter":switch(e.location){case"horizontal":a.left="50%",i.left="50%",n.transformOrigin="center",n.transform="translateX(-50%) scaleX(1)";break;case"vertical":a.top="50%",i.top="50%",n.transformOrigin="center",n.transform="translateY(-50%) scaleY(1)";break}break}};return t({}),(u,d)=>(L(),$t(kt,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:l,onEnd:c,onResize:r},{default:bt(()=>[E("div",{class:"line-double-before",style:A({backgroundColor:e.color,transition:`transform ${e.timeGap*Ct(o)}ms ease-in-out`,...n,...a})},null,4),E("div",ax,[_t(u.$slots,"default",{},void 0,!0)]),E("div",{class:"line-double-after",style:A({backgroundColor:e.color,transition:`transform ${e.timeGap*Ct(o)}ms ease-in-out`,...n,...i})},null,4)]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.line-double-before[data-v-dcf10fee],.line-double-after[data-v-dcf10fee]{position:absolute;z-index:0}.line-double[data-v-dcf10fee]{position:relative;z-index:1;cursor:pointer}
222
- `]],["__scopeId","data-v-dcf10fee"]]),th=nt(H({customOptions:{Container:kt},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(s,{expose:t}){const e=s,o=Jt({willChange:"box-shadow, transform"}),r=()=>{switch(o.boxShadow="none",e.direction){case"left":o.transform="translateX(0)";break;case"right":o.transform="translateX(0)";break;case"down":o.transform="translateY(0)";break;case"up":o.transform="translateY(0)";break}},n=()=>{switch(o.boxShadow=e.boxShadow,e.direction){case"left":o.transform=`translateX(-${e.distance}px)`;break;case"right":o.transform=`translateX(${e.distance}px)`;break;case"down":o.transform=`translateY(${e.distance}px)`;break;case"up":o.transform=`translateY(-${e.distance}px)`;break}};return t({}),(a,i)=>(L(),$t(kt,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:r,onEnd:n},{default:bt(()=>[E("div",{class:"float",style:A({transition:`transform ${e.dur}ms ease-in-out, box-shadow ${e.dur}ms ease-in-out`,...o})},[_t(a.$slots,"default",{},void 0,!0)],4)]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.float[data-v-e9e9dadd]{position:relative;z-index:1;cursor:pointer}
223
- `]],["__scopeId","data-v-e9e9dadd"]]),Kn=nt(H({customOptions:{Container:kt},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(s,{expose:t,emit:e}){const o=s,r=e,n=Jt({}),a=Jt({});let i=o.name,l=o.duration,c=o.timingFunction,u=o.delay,d=o.repeat,h=o.direction;function p(k){switch(i=k,i){case"superRainbow":l=o.duration||15e3;break;case"heartBeat":l=o.duration||1300;break;case"statusProcessing":l=o.duration||1200;break;case"rotateFall":case"rotateSlideOut":case"rotateSlideIn":l=o.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=o.duration||800;break;case"bounceIn":case"bounceOut":case"flipOutX":case"hinge":l=o.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=o.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=o.duration||600;break;default:l=o.duration||500;break}switch(i){case"superRainbow":c=o.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=o.timingFunction||"ease-in";break;case"lightSpeedInLeft":case"lightSpeedInRight":case"flipInLeft":case"flipInRight":case"flipInBottom":case"flipInTop":case"rotateInNewspaper":case"rotateSidesIn":c=o.timingFunction||"ease-out";break;case"pulse":case"headShake":case"heartBeat":case"statusProcessing":c=o.timingFunction||"ease-in-out";break;default:c=o.timingFunction||"ease";break}switch(i){default:u=o.delay||0;break}switch(i){case"superRainbow":case"statusProcessing":d=o.repeat||"infinite";break;default:d=o.repeat||1;break}switch(i){case"superRainbow":h=o.direction||"alternate";break;default:h=o.direction||"normal";break}switch(i){case"hinge":case"rotateFall":a.transformOrigin="left top";break;case"zoomOutLeft":case"rotateRightSideFirst":case"rotatePushLeft":case"rotatePullLeft":case"rotateFoldRight":case"rotateUnfoldRight":case"rotateRoomLeftIn":case"rotateRoomRightOut":case"rotateCubeLeftIn":case"rotateCubeRightOut":a.transformOrigin="left center";break;case"rotateInUpLeft":case"rotateInDownLeft":case"rotateOutUpLeft":case"rotateOutDownLeft":a.transformOrigin="left bottom";break;case"swing":case"zoomOutUp":case"rotateBottomSideFirst":case"rotatePushTop":case"rotatePullTop":case"rotateFoldBottom":case"rotateUnfoldBottom":case"rotateRoomTopIn":case"rotateRoomBottomOut":case"rotateCubeTopIn":case"rotateCubeBottomOut":a.transformOrigin="center top";break;case"bounce":case"zoomOutDown":case"rotateTopSideFirst":case"rotatePushBottom":case"rotatePullBottom":case"rotateFoldTop":case"rotateUnfoldTop":case"rotateRoomTopOut":case"rotateRoomBottomIn":case"rotateCubeTopOut":case"rotateCubeBottomIn":a.transformOrigin="center bottom";break;case"zoomOutRight":case"rotateLeftSideFirst":case"rotatePushRight":case"rotatePullRight":case"rotateFoldLeft":case"rotateUnfoldLeft":case"rotateRoomLeftOut":case"rotateRoomRightIn":case"rotateCubeLeftOut":case"rotateCubeRightIn":a.transformOrigin="right center";break;case"rotateInUpRight":case"rotateInDownRight":case"rotateOutUpRight":case"rotateOutDownRight":a.transformOrigin="right bottom";break;default:delete a.transformOrigin;break}switch(i){case"jelly":case"bounce":case"flash":case"pulse":case"rubberBand":case"shakeX":case"shakeY":case"headShake":case"swing":case"tada":case"wobble":case"jello":case"heartBeat":case"bounceIn":case"fadeIn":case"fadeOut":case"flip":case"flipInX":case"flipInY":case"flipOutX":case"flipOutY":case"hinge":case"jackInTheBox":n.overflow="visible";break;default:n.overflow="hidden";break}switch(i){case"flip":case"flipInX":case"flipInY":case"flipOutX":case"flipOutY":a.backfaceVisibility="visible";break;default:delete a.backfaceVisibility;break}}const f=R(),b=k=>{n.perspective=o.perspective,k.on("animationstart",Z=>{r("cssanimationstart",Z.animationName)}),k.on("animationend",Z=>{r("cssanimationend",Z.animationName)})};function w(){f.value.style.animation="none",f.value.offsetHeight,f.value.style.animation=null}const x=()=>{a.animation="none"},v=()=>{w(),a.animation=`${l}ms ${c} ${u}ms ${d} ${h} ${o.fillMode} ${o.playState} ${i}`},g=k=>{k&&p(k),x(),h="normal",v()},m=k=>{k&&p(k),x(),h="reverse",v()},_=()=>{a.animation="none"};return Et(()=>o.name,()=>{p(o.name)},{immediate:!0}),t({trigger:g,triggerReverse:m,clear:_}),(k,Z)=>(L(),$t(kt,{class:"css-animation",type:o.containerType,supportCopyText:o.supportCopyText,effectTriggerTiming:o.effectTriggerTiming,style:A(n),onReady:b,onStart:x,onEnd:v},{default:bt(()=>[E("div",{class:"css-animation-inner",ref_key:"animationRef",ref:f,style:A({position:"relative",display:"block",width:"100%",height:"100%",cursor:"pointer",transformStyle:"preserve-3d",...a})},[_t(k.$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}}
224
- `]]]),ix={class:"circle"},eh=nt(H({customOptions:{Container:kt},inheritAttrs:!0,__name:"Circle.ce",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!0},effectTriggerTiming:{default:"mouseMove"},color:{default:"#3cefff"},dur:{default:750}},setup(s,{expose:t}){const e=s,o=R(),r=Jt({transition:`box-shadow ${e.dur}ms`,borderRadius:"100%"}),n=(l,c)=>{r.width=r.height=Math.ceil(Math.max(l,c))+"px",o.value?.repeatEffect?.()},a=()=>{const l=ge(e.color,.2).toString();r.boxShadow=`
225
- inset ${r.width} 0 0 ${l},
226
- inset 0 ${r.width} 0 ${l},
227
- inset -${r.width} 0 0 ${l},
228
- inset 0 -${r.width} 0 ${l}
229
- `},i=()=>{r.boxShadow=`
250
+ `,a=O();Rt(a,()=>{a.value&&bo(r,a.value)});const i=O(n.perspective+"px"),l=y=>{i.value=y==2e3?"none":y+"px"},c=O("50%"),u=y=>{c.value=y+"%"},f=O("50%"),d=y=>{f.value=y+"%"},h=`translateZ(-${s.value}px)`,p=O(h),v=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}},k=O(!1),x=y=>{y.length?k.value=!0:k.value=!1},m=O("visible"),g=y=>{y.length?m.value="visible":m.value="hidden"};return t({}),(y,b)=>(I(),z("div",{ref_key:"container",ref:a},[w("div",{class:"cube-scene",style:N({width:`${n.width}px`,height:`${n.height}px`,perspective:`${i.value}`,perspectiveOrigin:`${c.value} ${f.value}`})},[w("div",{class:jt(["cube",{spinning:k.value}]),style:N({transformStyle:"preserve-3d",transform:p.value,transition:`transform ${n.dur}ms`})},[w("div",{class:"face front",style:N({transform:`rotateY(0deg) translateZ(${s.value}px)`,backfaceVisibility:m.value})},[gt(y.$slots,"front",{},()=>[b[0]||(b[0]=Bt("front"))],!0)],4),w("div",{class:"face back",style:N({transform:`rotateY(180deg) translateZ(${s.value}px)`,backfaceVisibility:m.value})},[gt(y.$slots,"back",{},()=>[b[1]||(b[1]=Bt("back"))],!0)],4),w("div",{class:"face right",style:N({transform:`rotateY(90deg) translateZ(${s.value}px)`,backfaceVisibility:m.value})},[gt(y.$slots,"right",{},()=>[b[2]||(b[2]=Bt("right"))],!0)],4),w("div",{class:"face left",style:N({transform:`rotateY(-90deg) translateZ(${s.value}px)`,backfaceVisibility:m.value})},[gt(y.$slots,"left",{},()=>[b[3]||(b[3]=Bt("left"))],!0)],4),w("div",{class:"face top",style:N({transform:`rotateX(90deg) translateZ(${s.value}px)`,backfaceVisibility:m.value})},[gt(y.$slots,"top",{},()=>[b[4]||(b[4]=Bt("top"))],!0)],4),w("div",{class:"face bottom",style:N({transform:`rotateX(-90deg) translateZ(${s.value}px)`,backfaceVisibility:m.value})},[gt(y.$slots,"bottom",{},()=>[b[5]||(b[5]=Bt("bottom"))],!0)],4)],6)],4),w("div",null,[Q(vm,{options:["front","right","back","left","top","bottom"],onChange:v})]),w("div",null,[Q(yc,{options:["Backface visible"],onChange:g})]),w("div",null,[Q(yc,{options:["spin cube"],onChange:x})]),w("div",null,[b[6]||(b[6]=Bt(" perspective: ")),Q(Za,{min:1,max:2e3,defaultValue:n.perspective,unit:"px",onChange:l},null,8,["defaultValue"])]),w("div",null,[b[7]||(b[7]=Bt(" perspective-origin x: ")),Q(Za,{min:0,max:100,defaultValue:50,unit:"%",onChange:u})]),w("div",null,[b[8]||(b[8]=Bt(" perspective-origin y: ")),Q(Za,{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)}}
251
+ `]],["__scopeId","data-v-d77b4117"]]),Yk={class:"svg",style:{position:"absolute",width:"0",height:"0"}},_m=X({customOptions:{},inheritAttrs:!0,__name:"SVGMaskNapkin",setup(o){return(t,e)=>(I(),z("svg",Yk,e[0]||(e[0]=[iy('<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)])))}}),Xk=X({customOptions:{Container:pt,SVGMaskNapkin:_m},inheritAttrs:!0,__name:"ImageMask.ce",props:{maskMode:{default:"alaph"},imageUrl:{default:""}},setup(o,{expose:t}){const e=o,n=O(0),s=O(0),r=a=>{n.value=a.rect.width,s.value=a.rect.height};return t({}),(a,i)=>(I(),z("div",{style:N({width:`${n.value}px`,height:`${s.value}px`,maskImage:e.imageUrl?`url(${e.imageUrl})`:"url(#mask)","mask-mode":e.maskMode})},[gt(a.$slots,"mask",{},()=>[Q(_m)]),Q(pt,{type:"shrink",onReady:r,onUpdate:r},{default:st(()=>[gt(a.$slots,"default")]),_:3})],4))}}),xm=at(X({customOptions:{Container:pt},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(),ht(pt,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:s,onEnd:r},{default:st(()=>[w("div",{class:"float",style:N({transition:`transform ${e.dur}ms ease-in-out, box-shadow ${e.dur}ms ease-in-out`,...n})},[gt(a.$slots,"default",{},void 0,!0)],4)]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.float[data-v-39f0e215]{position:relative;z-index:1;cursor:pointer}
252
+ `]],["__scopeId","data-v-39f0e215"]]),Zk={class:"slide"},km=at(X({customOptions:{Container:pt},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(),ht(pt,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:s,onEnd:r,style:{overflow:"hidden"}},{default:st(()=>[w("div",{class:"slide-before",style:N({backgroundColor:e.color,transition:`transform ${e.dur}ms ease-in-out`,...n})},null,4),w("div",Zk,[gt(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}
253
+ `]],["__scopeId","data-v-b920d7c6"]]),Uk={class:"slide-corner"},wm=at(X({customOptions:{Container:pt},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(),ht(pt,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:i,onEnd:l,onReady:a,onUpdate:a,style:{overflow:"hidden"}},{default:st(()=>[w("div",{class:"slide-corner-before",style:N({backgroundColor:e.color,borderRadius:"50%",transition:`transform ${e.timeGap*Ot(s)}ms ease-in-out`,transformOrigin:"center",...n})},null,4),w("div",Uk,[gt(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}
254
+ `]],["__scopeId","data-v-8aebd26b"]]),Gk={class:"line-single"},Cm=at(X({customOptions:{Container:pt},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(),ht(pt,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:a,onEnd:i,onReady:s,onUpdate:s},{default:st(()=>[w("div",{class:"line-single-before",style:N({left:0,width:"100%",height:e.lineHeight+"px",backgroundColor:e.color,transition:`transform ${e.timeGap*Ot(n)}ms ease-in-out`,...r})},null,4),w("div",Gk,[gt(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}
255
+ `]],["__scopeId","data-v-863466f1"]]),Hk={class:"line-double"},Tm=at(X({customOptions:{Container:pt},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(),ht(pt,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:l,onEnd:c,onReady:s,onUpdate:s},{default:st(()=>[w("div",{class:"line-double-before",style:N({backgroundColor:e.color,transition:`transform ${e.timeGap*Ot(n)}ms ease-in-out`,...r,...a})},null,4),w("div",Hk,[gt(u.$slots,"default",{},void 0,!0)]),w("div",{class:"line-double-after",style:N({backgroundColor:e.color,transition:`transform ${e.timeGap*Ot(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}
256
+ `]],["__scopeId","data-v-caa56f4a"]]),jk={class:"circle"},Em=at(X({customOptions:{Container:pt},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=O(),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=`
257
+ inset ${s.width} 0 0 ${l},
258
+ inset 0 ${s.width} 0 ${l},
259
+ inset -${s.width} 0 0 ${l},
260
+ inset 0 -${s.width} 0 ${l}
261
+ `},i=()=>{s.boxShadow=`
230
262
  inset 0.5em 0 0 rgba(255, 0, 0, 0.5),
231
263
  inset 0 0.5em 0 rgba(252, 150, 0, 0.5),
232
264
  inset -0.5em 0 0 rgba(0, 255, 0, 0.5),
233
265
  inset 0 -0.5em 0 rgba(0, 150, 255, 0.5)
234
- `};return t({}),(l,c)=>(L(),$t(kt,{ref_key:"containerRef",ref:o,type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:a,onEnd:i,onResize:n},{default:bt(()=>[E("div",{class:"circle-before",style:A(r)},null,4),E("div",ix,[_t(l.$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}
235
- `]],["__scopeId","data-v-1c3f9baa"]]),sh=nt(H({customOptions:{Container:kt},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(s,{expose:t}){const e=s,o=R(!0),r=()=>{o.value=!0},n=()=>{o.value=!1};return t({}),(a,i)=>(L(),$t(kt,{type:e.containerType,overflow:"visible",supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:r,onEnd:n},{default:bt(()=>[o.value?(L(),z("div",{key:0,class:"text",style:A({fontSize:`${a.textSize}px`,top:`${-Math.ceil(a.textSize/2)-4}px`,padding:"4px 12px",backgroundColor:a.borderColor,borderRadius:`${a.textSize}px 0 ${a.textSize}px 0`,color:Ct(ge)(a.borderColor).opposite(!0,"#333333","#ffffff").toString()})},yt(e.text),5)):Rt("",!0),E("div",{class:"inner",style:A(o.value?{border:`${a.borderWidth}px solid ${a.borderColor}`,borderRadius:`${a.borderRadius}px`}:{})},[_t(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}
236
- `]],["__scopeId","data-v-45681ed0"]]),lx={class:"svg"},cx=H({customOptions:{},inheritAttrs:!0,__name:"SVGMaskNapkin",setup(s){return(t,e)=>(L(),z("svg",lx,e[0]||(e[0]=[Zc('<defs data-v-7ee5c19e><mask id="mask" maskContentUnits="objectBoundingBox" data-v-7ee5c19e><ellipse cx=".5" cy=".5" rx=".48" ry=".28" fill="black" data-v-7ee5c19e></ellipse><rect x=".2" y="0" width=".6" height="1" rx=".1" ry=".1" fill="black" data-v-7ee5c19e></rect><ellipse cx=".5" cy=".5" rx=".4" ry=".2" fill="white" data-v-7ee5c19e></ellipse><rect x=".3" y=".1" width=".4" height=".8" rx=".1" ry=".1" fill="white" data-v-7ee5c19e></rect></mask></defs>',1)])))}}),y3="",oh=nt(cx,[["__scopeId","data-v-7ee5c19e"]]),rh=H({customOptions:{Container:kt,SVGMaskNapkin:oh},inheritAttrs:!0,__name:"ImageMask.ce",props:{maskMode:{default:"alaph"},imageUrl:{default:""}},setup(s,{expose:t}){const e=s,o=R(0),r=R(0),n=(a,i)=>{o.value=a,r.value=i};return t({}),(a,i)=>(L(),z("div",{style:A({width:`${o.value}px`,height:`${r.value}px`,maskImage:e.imageUrl?`url(${e.imageUrl})`:"url(#mask)","mask-mode":e.maskMode})},[_t(a.$slots,"mask",{},()=>[it(oh)]),it(kt,{type:"shrink",onResize:n},{default:bt(()=>[_t(a.$slots,"default")]),_:3})],4))}}),ux={class:"page"},dx={class:"header"},fx={class:"main"},hx={class:"main-scroll"},px={class:"footer"},mx=H({customOptions:{},inheritAttrs:!0,__name:"LayoutMobile",props:{designWidth:{default:750}},setup(s,{expose:t,emit:e}){return of(s.designWidth),t({}),(r,n)=>(L(),z("div",ux,[E("header",dx,[_t(r.$slots,"header",{},void 0,!0)]),E("div",fx,[E("div",hx,[_t(r.$slots,"default",{},void 0,!0)])]),E("footer",px,[_t(r.$slots,"footer",{},void 0,!0)])]))}}),v3="",nh=nt(mx,[["__scopeId","data-v-8b6ffbe1"]]),gx={class:"xg-footer-inner"},yx=H({customOptions:{Button:qt},inheritAttrs:!0,__name:"Footer",setup(s){const t=R("0px");return es(()=>{t.value=Mi.bottom()}),(e,o)=>(L(),z("div",{class:"xg-footer",style:A({paddingBottom:t.value})},[E("div",gx,[it(qt,{label:"去支付",width:"100%"})])],4))}}),b3="",ah=nt(yx,[["__scopeId","data-v-a949c220"]]),ih=nt(H({customOptions:{LayoutMobile:nh,Footer:ah},inheritAttrs:!0,__name:"Lot.ce",setup(s){return(t,e)=>(L(),$t(nh,{class:"xg"},{footer:bt(()=>[it(ah)]),_:1}))}}),[["styles",[`.xg[data-v-3de0a0eb]{background-color:#f5f5f5}
237
- `]],["__scopeId","data-v-3de0a0eb"]]),vx={class:"xg-footer-inner"},fl=nt(H({customOptions:{Button:qt},inheritAttrs:!0,__name:"Footer.ce",setup(s){const t=R("0px");return es(()=>{t.value=Mi.bottom()}),(e,o)=>(L(),z("div",{class:"xg-footer",style:A({paddingBottom:t.value})},[E("div",vx,[it(qt,{label:"去支付",width:"100%"})])],4))}}),[["styles",[`.xg-footer[data-v-8f25dac8]{box-sizing:border-box;background-color:#fff;border-top:1px solid #cccccc}.xg-footer-inner[data-v-8f25dac8]{box-sizing:border-box;width:100%;padding:.1rem .15rem}
238
- `]],["__scopeId","data-v-8f25dac8"]]);class bx 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 o=t;for(;t.previousElementSibling;)if(o.src===e)return!0;return!1}reloadVideo(){this.reloadQueued=!0;const t=this.video.currentTime,e=this.video.playState;this.video.load();const o=()=>{this.video.playState=e,this.video.currentTime=t.toString(),this.reloadQueued=!1,this.video.removeEventListener("loadeddata",o)};this.video.addEventListener("loadeddata",o)}}const _x=bx;function xx(s,t="style.css"){for(let e of s){const o=document.querySelector(e)?.shadowRoot;if(o){const r=document.createElement("link");r.setAttribute("rel","stylesheet"),r.setAttribute("href",t),o.appendChild(r)}}}const hl={},pl={},Dt=(s,t,e=!0)=>{const o=s.__name;hl[o]=[];let r=[...s.styles||[]],n=0;for(let a in s.customOptions)hl[o].push(a),`${s.customOptions[a].__scopeId}`,r=[...(hl[a]||[]).reduce((i,l)=>(i.push(...(pl[l]||[]).map(c=>Pu(c))),i),[]),...(t[n++]?.styles||[]).map(i=>Pu(i)),...r],pl[a]=r;if(e)s.styles=r;else for(let a of s.styles){const i=document.createElement("style");i.innerHTML=a,document.head.insertBefore(i,document.head.childNodes[document.head.childNodes.length-1].nextSibling)}return pl[o]=r,s},wx=()=>{customElements.define("yz-loading-1",ht(g_)),customElements.define("yz-loading-2",ht(b_)),customElements.define("yz-loading-3",ht(x_)),customElements.define("yz-loading-4",ht(C_)),customElements.define("yz-loading-5",ht(E_)),customElements.define("yz-loading-6",ht(R_)),customElements.define("yz-loading-7",ht(F_)),customElements.define("yz-loading-8",ht(Yf)),customElements.define("yz-loading-9",ht(N_)),customElements.define("yz-loading-10",ht(Y_)),customElements.define("yz-loading-11",ht(Xf));const s=ht(rf);customElements.define("yz-icon",s),Dt(eo,[Xf]);const t=ht(eo);customElements.define("yz-button",t);const e=ht(gf);customElements.define("yz-layout-mobile",e);const o=ht(bv);customElements.define("yz-layout-center",o),Dt(wo,[Wn,de]);const r=ht(wo);customElements.define("yz-pop",r),Dt(Zn,[Wn,wo,rf,eo]);const n=ht(Zn);customElements.define("yz-dialog",n),Dt(vf,[Wn,wo,Zn,Yf]);const a=ht(vf);customElements.define("yz-dialog-loading",a),Dt(bf,[Wn,wo,Zn]);const i=ht(bf);customElements.define("yz-dialog-toast",i);const l=ht(y1);customElements.define("yz-select",l),Dt(nf,[d_]);const c=ht(nf);customElements.define("yz-select-absolute",c);const u=ht(T1);customElements.define("yz-switch",u);const d=ht(Qi);customElements.define("yz-boolean-box",d),Dt(Ki,[Qi]);const h=ht(Ki);customElements.define("yz-radio-group",h),Dt(Ji,[Qi]);const p=ht(Ji);customElements.define("yz-checkbox-group",p),Dt(ol,[wo,eo,de]);const f=ht(ol);customElements.define("yz-popover",f),Dt(If,[ol,de]);const b=ht(If);customElements.define("yz-color-picker",b);const w=ht(Tb);customElements.define("yz-resize-observer",w);const x=ht(Sb);customElements.define("yz-map-tianditu",x),Dt(ll,[wo,o_,de]);const v=ht(ll);customElements.define("yz-plate-keyboard",v),Dt(Of,[e_,ll]);const g=ht(Of);customElements.define("yz-plate-mobile",g),Dt(ff,[i_]);const m=ht(ff);customElements.define("yz-slide-left-item",m);const _=ht(vb);customElements.define("yz-plate-display",_);const k=ht(Uv);customElements.define("yz-tabs",k);const Z=ht(Eb);customElements.define("yz-fps-stats",Z),Dt(cl,[eo,Pr]);const ot=ht(cl);customElements.define("yz-ease-graph-display",ot),Dt(Df,[cl]);const I=ht(Df);customElements.define("yz-ease-group-graph-display",I),Dt(ul,[eo,Pr]);const $=ht(ul);customElements.define("yz-interpolation-graph-display",$),Dt(zf,[ul]);const M=ht(zf);customElements.define("yz-interpolation-group-graph-display",M);const D=ht(al);customElements.define("yz-progress-bar",D),Dt(_f,[al]);const N=ht(_f);customElements.define("yz-page-vertical-scroll-progress-bar",N),Dt(Bf,[eo,tl,Ab,Pr]);const X=ht(Bf);customElements.define("yz-svg-and-canvas",X),customElements.define("yz-hand-write-panel",ht(Hv)),Dt(hf,[al]);const rt=ht(hf);customElements.define("yz-video",rt),customElements.define("yz-input",ht(G1)),customElements.define("yz-input-range",ht(tl)),Dt(cf,[de]);const Q=ht(cf);customElements.define("yz-input-range-box",Q),Dt(lf,[Pr]),customElements.define("yz-input-range-canvas",ht(lf)),Dt(uf,[Kn]);const W=ht(uf);customElements.define("yz-status",W),customElements.define("yz-input-file-drop",ht(ev)),customElements.define("yz-accordion",ht(av)),Dt(el,[de]);const lt=ht(el);customElements.define("yz-image",lt);const G=ht(de);customElements.define("yz-container",G),Dt(Kn,[de]);const j=ht(Kn);customElements.define("yz-effect-css-animation",j),Dt(rl,[de,Kn]);const gt=ht(rl);customElements.define("yz-page",gt),Dt(nl,[rl,de]);const pt=ht(nl);customElements.define("yz-routes",pt),Dt(mf,[el,de,nl]);const B=ht(mf);customElements.define("yz-image-view",B);const P=ht(q_);customElements.define("yz-card-flip",P),Dt(Uf,[Ki,Ji,tl]);const Yt=ht(Uf);customElements.define("yz-cube",Yt),Dt(jf,[Pr]);const At=ht(jf);customElements.define("yz-chat-ring-indicator",At),Dt(Hf,[de]);const Pt=ht(Hf);customElements.define("yz-chat-ring-text",Pt),Dt(Wf,[de]);const se=ht(Wf);customElements.define("yz-chat-clock-flipper",se),Dt(Zf,[de]);const Xt=ht(Zf);customElements.define("yz-effect-text-background-clip",Xt),Dt(qf,[de]);const U=ht(qf);customElements.define("yz-effect-slide",U),Dt(Qf,[de]);const Ne=ht(Qf);customElements.define("yz-effect-slide-corner",Ne),Dt(Kf,[de]);const He=ht(Kf);customElements.define("yz-effect-line-single",He),Dt(Jf,[de]);const De=ht(Jf);customElements.define("yz-effect-line-double",De),Dt(th,[de]);const S=ht(th);customElements.define("yz-effect-float",S),Dt(eh,[de]);const F=ht(eh);customElements.define("yz-effect-circle",F),Dt(sh,[de]);const Y=ht(sh);customElements.define("yz-effect-border-focus-text",Y),Dt(rh,[de,h_]);const K=ht(rh);customElements.define("yz-effect-image-mask",K),Dt(fl,[eo]);const q=ht(fl);customElements.define("yz-xg-footer",q),Dt(ih,[gf,fl]);const J=ht(ih);customElements.define("yz-xg-lot",J),customElements.define("yz-responsive-video",_x);const ct=document.getElementById("teleport")||document.documentElement,tt=document.createElement("yz-dialog-toast");tt.id="globalDialogToast",ct?.appendChild(tt);const at=document.createElement("yz-dialog-loading");at.id="globalDialogLoading",ct?.appendChild(at);const et=document.createElement("yz-dialog");et.id="globalDialog",ct?.appendChild(et);const Tt=document.createElement("yz-plate-keyboard");Tt.id="globalPlateKeyboard",ct?.appendChild(Tt)};return fe.dialog=sb,fe.install=wx,fe.linkChildrenComponentsStyles=xx,fe.loading=eb,fe.mergeChildComponentCSS=Dt,fe.plateKeyboard=Pf,fe.popAbsolute=Ef,fe.popAbsoluteSample=lb,fe.popBottom=wf,fe.popBottomSample=ob,fe.popCenter=Sf,fe.popCenterSample=ib,fe.popLeft=Cf,fe.popLeftSample=nb,fe.popRight=Tf,fe.popRightSample=ab,fe.popTop=kf,fe.popTopSample=rb,fe.toast=tb,Object.defineProperty(fe,Symbol.toStringTag,{value:"Module"}),fe}({});
266
+ `};return t({}),(l,c)=>(I(),ht(pt,{ref_key:"containerRef",ref:n,type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:a,onEnd:i,onReady:r,onUpdate:r},{default:st(()=>[w("div",{class:"circle-before",style:N(s)},null,4),w("div",jk,[gt(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}
267
+ `]],["__scopeId","data-v-086cfe64"]]),Wk=X({customOptions:{Container:pt},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(),ht(pt,null,{default:st(()=>[w("div",{style:N({backgroundImage:`url(${e.bgImageUrl})`,"background-clip":"text",color:"transparent"})},dt(e.text),5)]),_:1}))}}),Sm=at(X({customOptions:{Container:pt},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=O(!0),s=()=>{n.value=!0},r=()=>{n.value=!1};return t({}),(a,i)=>(I(),ht(pt,{type:e.containerType,overflow:"visible",supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:s,onEnd:r},{default:st(()=>[n.value?(I(),z("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:Ot(Mt).set(a.borderColor).opposite(!0,"#333333","#ffffff").toString()})},dt(e.text),5)):yt("",!0),w("div",{class:"inner",style:N(n.value?{border:`${a.borderWidth}px solid ${a.borderColor}`,borderRadius:`${a.borderRadius}px`}:{})},[gt(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}
268
+ `]],["__scopeId","data-v-8b11a683"]]),qk=X({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(Jf(s),Jf(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(),z("div",{class:"layout-center",style:N([{position:"relative",display:"block",width:"100%",height:"100%",overflow:"hidden"},s])},[w("div",{style:N(r)},[gt(i.$slots,"default")],4)],4))}}),Kk={class:"page"},Qk={class:"page-header"},Jk={class:"page-main"},tw={class:"page-main-scroll"},ew={class:"page-footer"},ow={class:"page-global"},qs=at(X({customOptions:{},inheritAttrs:!0,__name:"LayoutPage.ce",setup(o,{expose:t}){return t({}),(e,n)=>(I(),z("div",Kk,[w("div",Qk,[gt(e.$slots,"header",{},void 0,!0)]),w("div",Jk,[w("div",tw,[gt(e.$slots,"default",{},void 0,!0)])]),w("div",ew,[gt(e.$slots,"footer",{},void 0,!0)]),w("div",ow,[gt(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}
269
+ `]],["__scopeId","data-v-02c1f8bd"]]),vc=at(X({customOptions:{},inheritAttrs:!0,__name:"LayoutMobile.ce",props:{designWidth:{default:750}},setup(o,{expose:t}){const e=o;return oh(e.designWidth),t({}),(n,s)=>(I(),z("div",{class:"layout-mobile",style:N({position:"relative",overflow:"hidden",maxWidth:e.designWidth+"px",height:"100%",margin:"0 auto"})},[Q(Ot(nc),null,{default:st(({Component:r})=>[r?(I(),ht(Sf,{key:0,name:Ot(za)},{default:st(()=>[(I(),ht(Iu,null,[(I(),ht(Fu(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}
270
+ `]],["__scopeId","data-v-f2010453"]]),nw=X({customOptions:{},inheritAttrs:!0,__name:"LayoutMobile",props:{designWidth:{default:750}},setup(o,{expose:t}){const e=o;return oh(e.designWidth),t({}),(n,s)=>(I(),z("div",{class:"layout-mobile",style:N({position:"relative",overflow:"hidden",maxWidth:e.designWidth+"px",height:"100%",margin:"0 auto"})},[Q(Ot(nc),null,{default:st(({Component:r})=>[r?(I(),ht(Sf,{key:0,name:Ot(za)},{default:st(()=>[(I(),ht(Iu,null,[(I(),ht(Fu(r)))],1024))]),_:2},1032,["name"])):yt("",!0)]),_:1})],4))}}),sT="",Om=at(nw,[["__scopeId","data-v-101c75bb"]]),Pm=at(X({customOptions:{LayoutMobile:Om,Lot:xp,Park:kp},inheritAttrs:!0,__name:"XG.ce",setup(o){return(t,e)=>(I(),ht(Om,{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}
271
+ `,`.xg[data-v-ebd444cc]{background-color:#f5f5f5}
272
+ `]],["__scopeId","data-v-ebd444cc"]]),sw={class:"xg-footer-inner"},bc=at(X({customOptions:{Button:re},inheritAttrs:!0,__name:"Footer.ce",setup(o){const t=Pa();function e(){t.push("/park")}const n=O("0px");let s;return ye(()=>{s=Sl.onBottom(r=>{n.value=r})}),ue(()=>{s?.()}),(r,a)=>(I(),z("div",{class:"xg-footer",style:N({paddingBottom:n.value})},[w("div",sw,[Q(re,{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}
273
+ `]],["__scopeId","data-v-48051ce1"]]),rw={class:"lot-main"},aw={class:"lot-detail"},iw={class:"bold"},_c=at(X({customOptions:{LayoutPage:to,Footer:Ra,PlateDisplay:Ia,ViewDocument:rc,PopTel:Fa,ImageView:Na},inheritAttrs:!0,__name:"Lot.ce",setup(o){const t=Pa();function e(){t.push({name:"view-document",params:{title:"收费标准",src:encodeURIComponent("https://erichd2.oss-cn-shanghai.aliyuncs.com/0000/0002/2159")}})}const n=O();function s(){n.value?.open()}const r=O();function a(){r.value?.open()}return(i,l)=>(I(),ht(to,{class:"lot"},{footer:st(()=>[Q(Ra)]),global:st(()=>[Q(Fa,{tel:"15851575410",ref_key:"popTelEl",ref:n},null,512),Q(Na,{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:st(()=>[l[15]||(l[15]=w("div",{class:"lot-main-bg"},null,-1)),w("div",rw,[l[12]||(l[12]=w("div",null,"若临测试泊位机器人停车场",-1)),l[13]||(l[13]=w("div",null,[w("div"),w("div",null,"编号"),w("div")],-1)),l[14]||(l[14]=w("div",null,[w("span",null,"103"),w("span",null,"002")],-1)),w("div",null,[l[0]||(l[0]=w("div",null,"停车场主页",-1)),l[1]||(l[1]=w("div",null,"更换附近车位",-1)),w("div",{onClick:e},"收费标准")]),w("div",aw,[l[4]||(l[4]=w("div",null,[w("div",null,"待支付"),w("div",{class:"red"},"¥0.01")],-1)),l[5]||(l[5]=w("div",null,[w("div",null,"已支付"),w("div",null,"¥0.01")],-1)),l[6]||(l[6]=w("div",null,[w("div",null,"订单编号"),w("div",null,"33333333333")],-1)),l[7]||(l[7]=w("div",null,[w("div",null,"开始时间"),w("div",null,"2025-04-08 09:41:25")],-1)),l[8]||(l[8]=w("div",null,[w("div",null,"停车时长"),w("div",null,"51小时53分钟15秒")],-1)),l[9]||(l[9]=w("div",null,[w("div",null,"优惠券"),w("div",{class:"red"},"1分钟")],-1)),l[10]||(l[10]=w("div",null,[w("div",null,"优惠信息"),w("div",{class:"red"},"xxxx")],-1)),l[11]||(l[11]=w("div",{class:"lot-detail-gap"},null,-1)),w("div",null,[l[2]||(l[2]=w("div",null,"车牌号",-1)),w("div",iw,[Q(Ia,{plate:"苏U77777","plate-type":"b"})])]),w("div",null,[l[3]||(l[3]=w("div",null,"现场照片",-1)),w("div",{onClick:a},"查看")])]),w("div",{class:"lot-actions"},[w("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}
274
+ `]],["__scopeId","data-v-06c9e609"]]),xc=at(X({customOptions:{LayoutPage:to},inheritAttrs:!0,__name:"Park.ce",setup(o){return(t,e)=>(I(),ht(to,{class:"park"},{default:st(()=>e[0]||(e[0]=[Bt("Park")])),_:1}))}}),[["styles",[`.park[data-v-287bba59]{background-color:pink}
275
+ `]],["__scopeId","data-v-287bba59"]]);class lw 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 cw=lw,uw=`.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}
276
+ `,fw={},dw={class:"bg-grid"};function hw(o,t){return I(),z("div",dw,[gt(o.$slots,"default",{},void 0,!0)])}const pw=at(fw,[["render",hw],["styles",[uw]],["__scopeId","data-v-b0888d9a"]]);function mw(o,t="style.css"){for(let e of o){const n=document.querySelector(e)?.shadowRoot;n&&Pv(t,n)}}const kc={},wc={},gw=(o,t,e=!0)=>{const n=o.__name;kc[n]=[];let s=[...o.styles||[]],r=0;for(let a in o.customOptions)kc[n].push(a),s=[...(kc[a]||[]).reduce((i,l)=>(i.push(...(wc[l]||[]).map(c=>tl(c))),i),[]),...(t[r++]?.styles||[]).map(i=>tl(i)),...s],wc[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 wc[n]=s,o},Rm={CSSTransition:[Cp],CSSAnimation:[Ma],Loading1:[Tp],Loading2:[Ep],Loading3:[Sp],Loading4:[Op],Loading5:[Pp],Loading6:[Rp],Loading7:[Ip],Loading8:[ac],Loading9:[Ap],Loading10:[$p],Loading11:[ic],Button:[ic],BooleanBox:[La],RadioGroup:[uc,La],CheckboxGroup:[fc,La],Switch:[Np],Select:[Fp],SelectAbsolute:[zp],SlideLeftItem:[Mp],Status:[Ma],Text:[Lp],Input:[Bp,Lp],InputRange:[dc],InputRangeBox:[Vp],InputFileDrop:[Yp],Tabs:[Xp,Qp],ViewDocument:[Zp,qs],ProgressBar:[Va],PageVerticalScrollProgressBar:[Up,Va],Video:[Gp,Va],PopTel:[Hp],Popover:[Jn],ColorPicker:[jp],Dialog:[Xa,Jn],DialogLoading:[qp,Xa,ac],DialogToast:[Kp,Xa],Page:[Ma],Routes:[ek],Image:[hc],ImageView:[hc,Qp],Accordion:[tm],ResizeObserver:[em],MapTianditu:[om],PlateKeyboard:[nm],PlateMobile:[rm],PlateDisplay:[pc],RingIndicator:[am],RingText:[im],ClockFlipper:[lm],EaseGraphDisplay:[mc,Jn],EaseGroupGraphDisplay:[um,mc],InterpolationGraphDisplay:[gc,Jn],InterpolationGroupGraphDisplay:[gm,gc],CardFlip:[ym],Cube:[bm,uc,fc,dc],Float:[xm],Slide:[km],SlideCorner:[wm],LineSingle:[Cm],LineDouble:[Tm],Circle:[Em],BorderFocusText:[Sm],LayoutPage:[qs],LayoutMobile:[vc],XG:[Pm,vc,_c,xc],Footer:[bc,Jn],Lot:[_c,qs,bc,pc,Zp,Hp,Jp],Park:[xc,qs]},Cc=(o,t=!1,e=[])=>{if(!o.__name)return[];const n=o.__name.split(".")?.[0]||"",s=[];!c1(e,n)&&t&&(s.push(...(o.styles||[]).map(a=>tl(a))),e.push(n));const r=Rm[n]||[];for(let a of r){const i=a.__name.split(".")?.[0]||"";if(i==n)continue;const l=Rm[i]||[];for(let c of l)s.push(...Cc(c,!0,e))}return s};function ft(o,{plugins:t=[]}={plugins:[v2]}){return Xy({...o,exposed:o.exposed,setup(e,{attrs:n,slots:s,emit:r,expose:a}){const i=Ji();t.forEach(i.use);const l=jo();Object.assign(l.appContext,i._context),Object.assign(l.provides,i._context.provides);const c=document.createElement("style");return c.innerText=Cc(o).join("").replace(/\n/g,""),Uy().appendChild(c),o.setup?.(e,{attrs:n,slots:s,emit:r,expose:a})}})}const yw=()=>{customElements.define("yz-container",ft(b2)),customElements.define("yz-effect-css-transition",ft(Cp)),customElements.define("yz-effect-css-animation",ft(Ma)),customElements.define("yz-icon",ft(_2)),customElements.define("yz-loading-1",ft(Tp)),customElements.define("yz-loading-2",ft(Ep)),customElements.define("yz-loading-3",ft(Sp)),customElements.define("yz-loading-4",ft(Op)),customElements.define("yz-loading-5",ft(Pp)),customElements.define("yz-loading-6",ft(Rp)),customElements.define("yz-loading-7",ft(Ip)),customElements.define("yz-loading-8",ft(ac)),customElements.define("yz-loading-9",ft(Ap)),customElements.define("yz-loading-10",ft($p)),customElements.define("yz-loading-11",ft(ic)),customElements.define("yz-button",ft(Jn)),customElements.define("yz-boolean-box",ft(La)),customElements.define("yz-radio-group",ft(uc)),customElements.define("yz-checkbox-group",ft(fc)),customElements.define("yz-switch",ft(Np)),customElements.define("yz-select",ft(Fp)),customElements.define("yz-select-absolute",ft(zp)),customElements.define("yz-slide-left-item",ft(Mp)),customElements.define("yz-status",ft(p3)),customElements.define("yz-input",ft(Bp)),customElements.define("yz-input-range",ft(dc)),customElements.define("yz-input-range-box",ft(Vp)),customElements.define("yz-input-file-drop",ft(Yp)),customElements.define("yz-tabs",ft(Xp)),customElements.define("yz-progress-bar",ft(Va)),customElements.define("yz-page-vertical-scroll-progress-bar",ft(Up)),customElements.define("yz-video",ft(Gp)),customElements.define("yz-pop",ft(F3)),customElements.define("yz-popover",ft(jp)),customElements.define("yz-color-picker",ft(B3)),customElements.define("yz-dialog",ft(Xa)),customElements.define("yz-dialog-loading",ft(qp)),customElements.define("yz-dialog-toast",ft(Kp)),customElements.define("yz-image",ft(hc)),customElements.define("yz-image-view",ft(Jp)),customElements.define("yz-accordion",ft(tm)),customElements.define("yz-resize-observer",ft(em)),customElements.define("yz-map-tianditu",ft(om)),customElements.define("yz-hand-write-panel",ft(ck)),customElements.define("yz-plate-keyboard",ft(nm)),customElements.define("yz-plate-mobile",ft(rm)),customElements.define("yz-plate-display",ft(pc)),customElements.define("yz-chat-ring-indicator",ft(am)),customElements.define("yz-chat-ring-text",ft(im)),customElements.define("yz-chat-clock-flipper",ft(lm)),customElements.define("yz-fps-stats",ft(Ek)),customElements.define("yz-ease-graph-display",ft(mc)),customElements.define("yz-ease-group-graph-display",ft(um)),customElements.define("yz-interpolation-graph-display",ft(gc)),customElements.define("yz-interpolation-group-graph-display",ft(gm)),customElements.define("yz-card-flip",ft(ym)),customElements.define("yz-cube",ft(bm)),customElements.define("yz-effect-image-mask",ft(Xk)),customElements.define("yz-effect-float",ft(xm)),customElements.define("yz-effect-slide",ft(km)),customElements.define("yz-effect-slide-corner",ft(wm)),customElements.define("yz-effect-line-single",ft(Cm)),customElements.define("yz-effect-line-double",ft(Tm)),customElements.define("yz-effect-circle",ft(Em)),customElements.define("yz-effect-text-background-clip",ft(Wk)),customElements.define("yz-effect-border-focus-text",ft(Sm)),customElements.define("yz-layout-center",ft(qk)),customElements.define("yz-layout-page",ft(qs)),customElements.define("yz-layout-mobile",ft(vc)),customElements.define("yz-xg",ft(Pm)),customElements.define("yz-xg-footer",ft(bc)),customElements.define("yz-xg-lot",ft(_c)),customElements.define("yz-xg-park",ft(xc)),customElements.define("yz-responsive-video",cw),customElements.define("yz-bg-grid",ft(pw));const o=document.createElement("yz-dialog-toast");o.id="globalDialogToast",Hn.appendChild(o);const t=document.createElement("yz-dialog-loading");t.id="globalDialogLoading",Hn.appendChild(t);const e=document.createElement("yz-dialog");e.id="globalDialog",Hn.appendChild(e);const n=document.createElement("yz-plate-keyboard");n.id="globalPlateKeyboard",Hn.appendChild(n)};return ce.collectChildComponentCSS=Cc,ce.dialog=d_,ce.install=yw,ce.linkChildrenComponentsStyles=mw,ce.loading=f_,ce.mergeChildComponentCSS=gw,ce.plateKeyboard=zh,ce.popAbsolute=Nh,ce.popAbsoluteSample=v_,ce.popBottom=Ph,ce.popBottomSample=h_,ce.popCenter=$h,ce.popCenterSample=y_,ce.popLeft=Ih,ce.popLeftSample=m_,ce.popRight=Ah,ce.popRightSample=g_,ce.popTop=Rh,ce.popTopSample=p_,ce.teleport=Hn,ce.toast=u_,Object.defineProperty(ce,Symbol.toStringTag,{value:"Module"}),ce}({});
239
277
  //# sourceMappingURL=yz_custom_element.iife.js.map