@zyzgroup/core-vue 0.0.42 → 0.0.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ce/style.css +1 -1
- package/ce/yz_custom_element.iife.js +209 -168
- package/ce/yz_custom_element.iife.js.map +1 -1
- package/ce/yz_custom_element.js +19799 -20547
- package/ce/yz_custom_element.js.map +1 -1
- package/ce/yz_custom_element.umd.cjs +209 -168
- package/ce/yz_custom_element.umd.cjs.map +1 -1
- package/dist/style.css +1 -0
- package/dist/zyzgroup_core_vue.iife.js +22 -1
- package/dist/zyzgroup_core_vue.iife.js.map +1 -1
- package/dist/zyzgroup_core_vue.js +6744 -119
- package/dist/zyzgroup_core_vue.js.map +1 -1
- package/dist/zyzgroup_core_vue.umd.cjs +22 -1
- package/dist/zyzgroup_core_vue.umd.cjs.map +1 -1
- package/package.json +2 -1
- package/types/App.vue.d.ts +0 -2
- package/types/components/Accordion.ce.vue.d.ts +49 -52
- package/types/components/Accordion.vue.d.ts +49 -52
- package/types/components/Button.ce.vue.d.ts +53 -55
- package/types/components/Button.vue.d.ts +53 -55
- package/types/components/Canvas.ce.vue.d.ts +8 -33
- package/types/components/Canvas.vue.d.ts +8 -33
- package/types/components/CardFlip.ce.vue.d.ts +27 -36
- package/types/components/CardFlip.vue.d.ts +27 -36
- package/types/components/Container.ce.vue.d.ts +43 -43
- package/types/components/Container.vue.d.ts +43 -43
- package/types/components/Cube.ce.vue.d.ts +58 -39
- package/types/components/Cube.vue.d.ts +58 -39
- package/types/components/Dialog.ce.vue.d.ts +63 -45
- package/types/components/Dialog.vue.d.ts +63 -45
- package/types/components/DialogLoading.ce.vue.d.ts +37 -35
- package/types/components/DialogLoading.vue.d.ts +37 -35
- package/types/components/DialogToast.ce.vue.d.ts +9 -34
- package/types/components/DialogToast.vue.d.ts +9 -34
- package/types/components/EaseGraphDisplay.ce.vue.d.ts +11 -50
- package/types/components/EaseGraphDisplay.vue.d.ts +11 -50
- package/types/components/EaseGroupGraphDisplay.ce.vue.d.ts +5 -42
- package/types/components/EaseGroupGraphDisplay.vue.d.ts +5 -42
- package/types/components/HandWritePanel.ce.vue.d.ts +4 -44
- package/types/components/HandWritePanel.vue.d.ts +4 -44
- package/types/components/Icon.ce.vue.d.ts +3 -28
- package/types/components/Icon.vue.d.ts +3 -28
- package/types/components/Image.ce.vue.d.ts +6 -38
- package/types/components/Image.vue.d.ts +6 -38
- package/types/components/ImageView.ce.vue.d.ts +7 -32
- package/types/components/ImageView.vue.d.ts +7 -32
- package/types/components/InterpolationGraphDisplay.ce.vue.d.ts +9 -39
- package/types/components/InterpolationGraphDisplay.vue.d.ts +9 -39
- package/types/components/InterpolationGroupGraphDisplay.ce.vue.d.ts +3 -34
- package/types/components/InterpolationGroupGraphDisplay.vue.d.ts +3 -34
- package/types/components/MapTianditu.ce.vue.d.ts +28 -42
- package/types/components/MapTianditu.vue.d.ts +28 -42
- package/types/components/Overlay.ce.vue.d.ts +20 -34
- package/types/components/Overlay.vue.d.ts +20 -34
- package/types/components/Page.ce.vue.d.ts +55 -47
- package/types/components/Page.vue.d.ts +55 -47
- package/types/components/PlateDisplay.ce.vue.d.ts +4 -32
- package/types/components/PlateDisplay.vue.d.ts +4 -32
- package/types/components/PlateKeyboard.ce.vue.d.ts +10 -33
- package/types/components/PlateKeyboard.vue.d.ts +10 -33
- package/types/components/PlateMobile.ce.vue.d.ts +10 -28
- package/types/components/PlateMobile.vue.d.ts +10 -28
- package/types/components/Pop.ce.vue.d.ts +150 -64
- package/types/components/Pop.vue.d.ts +150 -64
- package/types/components/Popover.ce.vue.d.ts +41 -37
- package/types/components/Popover.vue.d.ts +41 -37
- package/types/components/Routes.ce.vue.d.ts +15 -49
- package/types/components/Routes.vue.d.ts +15 -49
- package/types/components/SVG.ce.vue.d.ts +8 -30
- package/types/components/SVG.vue.d.ts +8 -30
- package/types/components/SVGAndCanvas.ce.vue.d.ts +3 -28
- package/types/components/SVGAndCanvas.vue.d.ts +3 -28
- package/types/components/Video.ce.vue.d.ts +12 -44
- package/types/components/Video.vue.d.ts +12 -44
- package/types/components/VueRouterView.ce.vue.d.ts +3 -21
- package/types/components/VueRouterView.vue.d.ts +3 -21
- package/types/components/VueSuspense.ce.vue.d.ts +6 -4
- package/types/components/VueSuspense.vue.d.ts +6 -4
- package/types/components/bg/grid/BgGrid.ce.vue.d.ts +14 -0
- package/types/components/bg/grid/BgGrid.vue.d.ts +14 -0
- package/types/components/chat/ClockFlipper.ce.vue.d.ts +4 -53
- package/types/components/chat/ClockFlipper.vue.d.ts +4 -53
- package/types/components/chat/RingIndicator.ce.vue.d.ts +3 -37
- package/types/components/chat/RingIndicator.vue.d.ts +3 -37
- package/types/components/chat/RingText.ce.vue.d.ts +3 -37
- package/types/components/chat/RingText.vue.d.ts +3 -37
- package/types/components/effect/BorderFocusText.ce.vue.d.ts +31 -49
- package/types/components/effect/BorderFocusText.vue.d.ts +31 -49
- package/types/components/effect/CSSAnimation.ce.vue.d.ts +49 -60
- package/types/components/effect/CSSAnimation.vue.d.ts +49 -60
- package/types/components/effect/CSSTransition.ce.vue.d.ts +44 -52
- package/types/components/effect/CSSTransition.vue.d.ts +44 -52
- package/types/components/effect/Circle.ce.vue.d.ts +31 -43
- package/types/components/effect/Circle.vue.d.ts +31 -43
- package/types/components/effect/Float.ce.vue.d.ts +28 -46
- package/types/components/effect/Float.vue.d.ts +28 -46
- package/types/components/effect/ImageMask.ce.vue.d.ts +27 -32
- package/types/components/effect/ImageMask.vue.d.ts +27 -32
- package/types/components/effect/LineDouble.ce.vue.d.ts +40 -52
- package/types/components/effect/LineDouble.vue.d.ts +40 -52
- package/types/components/effect/LineSingle.ce.vue.d.ts +36 -52
- package/types/components/effect/LineSingle.vue.d.ts +36 -52
- package/types/components/effect/Slide.ce.vue.d.ts +30 -46
- package/types/components/effect/Slide.vue.d.ts +30 -46
- package/types/components/effect/SlideCorner.ce.vue.d.ts +31 -43
- package/types/components/effect/SlideCorner.vue.d.ts +31 -43
- package/types/components/effect/TextBackgroundClip.ce.vue.d.ts +3 -28
- package/types/components/effect/TextBackgroundClip.vue.d.ts +3 -28
- package/types/components/effect/VueTransition.ce.vue.d.ts +30 -43
- package/types/components/effect/VueTransition.vue.d.ts +30 -43
- package/types/components/effect/VueTransitionGroupSlideToLeft.ce.vue.d.ts +9 -3
- package/types/components/effect/VueTransitionGroupSlideToLeft.vue.d.ts +9 -3
- package/types/components/effect/VueTransitionOpacity.ce.vue.d.ts +9 -3
- package/types/components/effect/VueTransitionOpacity.vue.d.ts +9 -3
- package/types/components/effect/VueTransitionSlideUp.ce.vue.d.ts +9 -3
- package/types/components/effect/VueTransitionSlideUp.vue.d.ts +9 -3
- package/types/components/form/BooleanBox.ce.vue.d.ts +44 -60
- package/types/components/form/BooleanBox.vue.d.ts +44 -60
- package/types/components/form/CheckboxGroup.ce.vue.d.ts +11 -51
- package/types/components/form/CheckboxGroup.vue.d.ts +11 -51
- package/types/components/form/ColorPicker.ce.vue.d.ts +46 -31
- package/types/components/form/ColorPicker.vue.d.ts +46 -31
- package/types/components/form/Input.ce.vue.d.ts +23 -74
- package/types/components/form/Input.vue.d.ts +23 -74
- package/types/components/form/InputFileDrop.ce.vue.d.ts +23 -29
- package/types/components/form/InputFileDrop.vue.d.ts +23 -29
- package/types/components/form/InputRange.ce.vue.d.ts +33 -55
- package/types/components/form/InputRange.vue.d.ts +33 -55
- package/types/components/form/InputRangeBox.ce.vue.d.ts +38 -51
- package/types/components/form/InputRangeBox.vue.d.ts +38 -51
- package/types/components/form/InputRangeCanvas.ce.vue.d.ts +31 -53
- package/types/components/form/InputRangeCanvas.vue.d.ts +31 -53
- package/types/components/form/PageVerticalScrollProgressBar.ce.vue.d.ts +21 -0
- package/types/components/form/PageVerticalScrollProgressBar.vue.d.ts +21 -0
- package/types/components/form/ProgressBar.ce.vue.d.ts +22 -0
- package/types/components/form/ProgressBar.vue.d.ts +22 -0
- package/types/components/form/RadioGroup.ce.vue.d.ts +11 -51
- package/types/components/form/RadioGroup.vue.d.ts +11 -51
- package/types/components/form/Select.ce.vue.d.ts +14 -52
- package/types/components/form/Select.vue.d.ts +14 -52
- package/types/components/form/SelectAbsolute.ce.vue.d.ts +16 -64
- package/types/components/form/SelectAbsolute.vue.d.ts +16 -64
- package/types/components/form/SlideLeftItem.ce.vue.d.ts +50 -0
- package/types/components/form/SlideLeftItem.vue.d.ts +50 -0
- package/types/components/form/Status.ce.vue.d.ts +3 -26
- package/types/components/form/Status.vue.d.ts +3 -26
- package/types/components/form/Switch.ce.vue.d.ts +7 -47
- package/types/components/form/Switch.vue.d.ts +7 -47
- package/types/components/form/Tabs.ce.vue.d.ts +14 -0
- package/types/components/form/Tabs.vue.d.ts +14 -0
- package/types/components/form/Text.ce.vue.d.ts +36 -0
- package/types/components/form/Text.vue.d.ts +36 -0
- package/types/components/form/ViewDocument.ce.vue.d.ts +9 -0
- package/types/components/form/ViewDocument.vue.d.ts +9 -0
- package/types/components/layout/LayoutCenter.ce.vue.d.ts +20 -30
- package/types/components/layout/LayoutCenter.vue.d.ts +20 -30
- package/types/components/layout/LayoutMobile.ce.vue.d.ts +4 -36
- package/types/components/layout/LayoutMobile.vue.d.ts +4 -36
- package/types/components/layout/LayoutPage.ce.vue.d.ts +20 -0
- package/types/components/layout/LayoutPage.vue.d.ts +20 -0
- package/types/components/loading/Loading1.ce.vue.d.ts +3 -25
- package/types/components/loading/Loading1.vue.d.ts +3 -25
- package/types/components/loading/Loading10.ce.vue.d.ts +3 -25
- package/types/components/loading/Loading10.vue.d.ts +3 -25
- package/types/components/loading/Loading11.ce.vue.d.ts +3 -28
- package/types/components/loading/Loading11.vue.d.ts +3 -28
- package/types/components/loading/Loading2.ce.vue.d.ts +3 -25
- package/types/components/loading/Loading2.vue.d.ts +3 -25
- package/types/components/loading/Loading3.ce.vue.d.ts +3 -28
- package/types/components/loading/Loading3.vue.d.ts +3 -28
- package/types/components/loading/Loading4.ce.vue.d.ts +3 -25
- package/types/components/loading/Loading4.vue.d.ts +3 -25
- package/types/components/loading/Loading5.ce.vue.d.ts +3 -25
- package/types/components/loading/Loading5.vue.d.ts +3 -25
- package/types/components/loading/Loading6.ce.vue.d.ts +3 -25
- package/types/components/loading/Loading6.vue.d.ts +3 -25
- package/types/components/loading/Loading7.ce.vue.d.ts +3 -25
- package/types/components/loading/Loading7.vue.d.ts +3 -25
- package/types/components/loading/Loading8.ce.vue.d.ts +3 -25
- package/types/components/loading/Loading8.vue.d.ts +3 -25
- package/types/components/loading/Loading9.ce.vue.d.ts +3 -25
- package/types/components/loading/Loading9.vue.d.ts +3 -25
- package/types/components/pop/PopTel.ce.vue.d.ts +10 -0
- package/types/components/pop/PopTel.vue.d.ts +10 -0
- package/types/components/svg/SVGCheck.ce.vue.d.ts +3 -28
- package/types/components/svg/SVGCheck.vue.d.ts +3 -28
- package/types/components/svg/SVGCleanUp.ce.vue.d.ts +3 -28
- package/types/components/svg/SVGCleanUp.vue.d.ts +3 -28
- package/types/components/svg/SVGDelete.ce.vue.d.ts +3 -29
- package/types/components/svg/SVGDelete.vue.d.ts +3 -29
- package/types/components/svg/SVGDown.ce.vue.d.ts +3 -29
- package/types/components/svg/SVGDown.vue.d.ts +3 -29
- package/types/components/svg/SVGElement.ce.vue.d.ts +14 -38
- package/types/components/svg/SVGElement.vue.d.ts +14 -38
- package/types/components/svg/SVGFail.ce.vue.d.ts +3 -29
- package/types/components/svg/SVGFail.vue.d.ts +3 -29
- package/types/components/svg/SVGHome.ce.vue.d.ts +3 -29
- package/types/components/svg/SVGHome.vue.d.ts +3 -29
- package/types/components/svg/SVGLock.ce.vue.d.ts +3 -29
- package/types/components/svg/SVGLock.vue.d.ts +3 -29
- package/types/components/svg/SVGPrompt.ce.vue.d.ts +3 -29
- package/types/components/svg/SVGPrompt.vue.d.ts +3 -29
- package/types/components/svg/SVGQuestion.ce.vue.d.ts +3 -29
- package/types/components/svg/SVGQuestion.vue.d.ts +3 -29
- package/types/components/svg/SVGReturn.ce.vue.d.ts +3 -29
- package/types/components/svg/SVGReturn.vue.d.ts +3 -29
- package/types/components/svg/SVGSuccess.vue.d.ts +3 -29
- package/types/components/svg/SVGWaiting.ce.vue.d.ts +3 -29
- package/types/components/svg/SVGWaiting.vue.d.ts +3 -29
- package/types/components/svg/SVGWarn.ce.vue.d.ts +9 -0
- package/types/components/svg/SVGWarn.vue.d.ts +9 -0
- package/types/components/xg/Park.ce.vue.d.ts +2 -0
- package/types/components/xg/Park.vue.d.ts +2 -0
- package/types/components/xg/XG.ce.vue.d.ts +2 -0
- package/types/components/xg/XG.vue.d.ts +2 -0
- package/types/demo_vue3.vue.d.ts +22 -58
- package/types/globalTeleport.d.ts +4 -6
- package/types/hooks/pinia/counter.d.ts +13 -0
- package/types/hooks/useSafeArea.d.ts +1 -0
- package/types/hooks/useVueRouter.d.ts +5 -14
- package/types/hooks/useVuex/modules/root.d.ts +0 -1
- package/types/hooks/useVuex/useVuex.d.ts +0 -1
- package/types/main.d.ts +2 -1
|
@@ -1,2 +1,23 @@
|
|
|
1
|
-
(function(r,u){typeof exports=="object"&&typeof module<"u"?u(exports,require("vue"),require("vue-router"),require("vuex")):typeof define=="function"&&define.amd?define(["exports","vue","vue-router","vuex"],u):(r=typeof globalThis<"u"?globalThis:r||self,u(r.ZYZGroupCoreVue={},r.vue,r["vue-router"],r.vuex))})(this,function(r,u,i,o){"use strict";function d(){return u.getCurrentInstance()}function f(e,t){return u.createVNode(e,t)}function C(e){const t=f(e.component,e.props);e.appContext&&(t.appContext=e.appContext),u.render(t,e.selfContainer),e.parentContainer?.appendChild(e.selfContainer)}function R(e){let t;u.onMounted(()=>{t=e()}),u.onUnmounted(()=>{t?.()})}function V(e){const t=i.createRouter({history:i.createWebHistory("/"),routes:e,scrollBehavior:(n,c,s)=>s||{left:0,top:0}});return t.beforeEach((n,c,s)=>{s()}),{router:t,push:async n=>{await t.push(n)},to:function(n){this.push({path:n})},addRoute:(n,c)=>t.addRoute(n,c),removeRoute:n=>{t.removeRoute(n)},hasRoute:n=>t.hasRoute(n),getRoutes:()=>t.getRoutes(),getCurrentRoute:()=>({params:t.currentRoute.value.params,query:t.currentRoute.value.query})}}const h="increment",E="decrement",g="incrementAction";function l(){return{store:o.useStore()}}function m(e,t){let n=o.mapState;return typeof e=="string"&&e.length>0?n=o.createNamespacedHelpers(e).mapState:t=e,a(t,n)}function A(e,t){let n=o.mapGetters;return typeof e=="string"&&e.length>0?n=o.createNamespacedHelpers(e).mapGetters:t=e,a(t,n)}function T(e,t){let n=o.mapMutations;return typeof e=="string"&&e.length>0?n=o.createNamespacedHelpers(e).mapMutations:t=e,Array.isArray(t),n(t)}function y(e,t){let n=o.mapActions;return typeof e=="string"&&e.length>0?n=o.createNamespacedHelpers(e).mapActions:t=e,Array.isArray(t),n(t)}function a(e,t){const n=o.useStore(),c={},s=t(e);return Object.keys(s).forEach(p=>{const N=s[p].bind({$store:n});c[p]=u.computed(N)}),c}r.DECREMENT=E,r.INCREMENT=h,r.INCREMENTACTION=g,r.getInstance=d,r.getVNode=f,r.renderComponent=C,r.useVueEffect=R,r.useVueRouter=V,r.useVuex=l,r.useVuexActions=y,r.useVuexGetters=A,r.useVuexMutations=T,r.useVuexStates=m,Object.defineProperty(r,Symbol.toStringTag,{value:"Module"})});
|
|
1
|
+
(function(U,c){typeof exports=="object"&&typeof module<"u"?c(exports,require("vue"),require("vue-router"),require("vuex")):typeof define=="function"&&define.amd?define(["exports","vue","vue-router","vuex"],c):(U=typeof globalThis<"u"?globalThis:U||self,c(U.ZYZGroupCoreVue={},U.vue,U["vue-router"],U.vuex))})(this,function(U,c,pe,le){"use strict";function ho(){return c.getCurrentInstance()}function Vt(e,t){return c.createVNode(e,t)}function mo(e){const t=Vt(e.component,e.props);e.appContext&&(t.appContext=e.appContext),c.render(t,e.selfContainer),e.parentContainer?.appendChild(e.selfContainer)}function po(e){let t;c.onMounted(()=>{t=e()}),c.onUnmounted(()=>{t?.()})}function Dt(e=12){const t="ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghijklmnopqrstuvwxyz0123456789",o=t.length;let n="";for(let r=0;r<e;r++)n+=t[Math.floor(Math.random()*o)];return n}function go(e){return e.replace(/(^\w)/g,t=>t.toLowerCase())}const yo=(e,t="-")=>{let o=e.replace(new RegExp(`${t}?([A-Z])`,"g"),t+"$1").toLowerCase();return o=o.replace(new RegExp(`^${t}`),""),o};function vo(e){return e.replace(/(^\w|[_-]\w)/g,t=>t.slice(-1).toUpperCase())}function To(e){return go(vo(e))}const bo="[object String]",Eo="[object Symbol]";function Ut(e){return Object.prototype.toString.call(e)}function _o(e){return Ut(e)===bo}function Co(e){return e===e+0}function wo(e){return Ut(e)===Eo}function So(e,t){const o=e.findIndex(n=>n===t);return o>=0&&e.splice(o,1),e}let zt;try{zt=Map}catch{zt=function(){}}let $t;try{$t=Set}catch{$t=function(){}}function Po(e){return typeof e=="number"&&Number.isNaN(e)}function Io(e,t){if(e=parseFloat(e),Po(e)){if(typeof t=="number")return t;throw new Error(`parseNumber(${e}) isNaN!`)}return e}const Y=(e,t,o)=>e<t?t:e>o?o:e;function Fo(e,t=12){return Io(e,0).toFixed(t)}function ko(e,t=12){return+Fo(e,t)}Oo();function Oo(){const e=new ArrayBuffer(4),t=new Float32Array(e),o=new Uint32Array(e),n=new Uint32Array(512),r=new Uint32Array(512);for(let u=0;u<256;++u){const h=u-127;h<-27?(n[u]=0,n[u|256]=32768,r[u]=24,r[u|256]=24):h<-14?(n[u]=1024>>-h-14,n[u|256]=1024>>-h-14|32768,r[u]=-h-1,r[u|256]=-h-1):h<=15?(n[u]=h+15<<10,n[u|256]=h+15<<10|32768,r[u]=13,r[u|256]=13):h<128?(n[u]=31744,n[u|256]=64512,r[u]=24,r[u|256]=24):(n[u]=31744,n[u|256]=64512,r[u]=13,r[u|256]=13)}const s=new Uint32Array(2048),a=new Uint32Array(64),d=new Uint32Array(64);for(let u=1;u<1024;++u){let h=u<<13,p=0;for(;!(h&8388608);)h<<=1,p-=8388608;h&=-8388609,p+=947912704,s[u]=h|p}for(let u=1024;u<2048;++u)s[u]=939524096+(u-1024<<13);for(let u=1;u<31;++u)a[u]=u<<23;a[31]=1199570944,a[32]=2147483648;for(let u=33;u<63;++u)a[u]=2147483648+(u-32<<23);a[63]=3347054592;for(let u=1;u<64;++u)u!==32&&(d[u]=1024);return{floatView:t,uint32View:o,baseTable:n,shiftTable:r,mantissaTable:s,exponentTable:a,offsetTable:d}}function J(){return(performance||Date).now()}function Ro(e,t){let o=!0;return function(...n){o&&(o=!1,e.apply(this,n),setTimeout(()=>{o=!0},t))}}function Lo(e,t){let o;return function(...n){clearTimeout(o),o=setTimeout(()=>{e.apply(this,n)},t)}}class ht{events;constructor(){this.events={}}has(t,o){return this.events[t]!==void 0&&this.events[t].indexOf(o)!==-1}prependListener(t,o){return this.events[t]||(this.events[t]=[]),this.events[t].unshift(o),this}addListener(t,o){return this.events[t]||(this.events[t]=[]),this.events[t].push(o),this}on(t,o){return this.addListener(t,o),this}removeListener(t,o){return this.events[t]&&(this.events[t]=this.events[t].filter(n=>n!==o)),this}off(t,o){return this.removeListener(t,o),this}removeAllListeners(t){return t?this.events[t]=[]:this.events={},this}emit(t,...o){return this.events[t]&&this.events[t].slice(0).forEach(r=>{r(...o)}),this}once(t,o){const r=(()=>{let s=!1;return(...a)=>{s||(s=!0,o(...a),this.off(t,r))}})();return this.on(t,r),this}}class No extends ht{results=[];queue=[];rs;controller;concurrency;activeTaskCount=0;constructor(t=1){super(),this.concurrency=t,this.rs=new ReadableStream({start:async o=>{this.controller=o}})}get stream(){return this.rs}clearUnstartTasks(){this.queue=[]}addTask(t){Array.isArray(t)?this.queue.push(...t):this.queue.push(t),this.activeTaskCount<this.concurrency&&this.queue.length>0&&this.runTasks()}async runTasks(){for(;this.activeTaskCount<this.concurrency&&this.queue.length>0;){const t=this.queue.splice(0,this.concurrency-this.activeTaskCount);this.activeTaskCount+=t.length;const o=await Promise.allSettled(t.map(r=>r())),n=this.results.length;o.forEach((r,s)=>{if(r.status=="fulfilled"){const a=r.value;this.results.push(a),this.controller?.enqueue(a),this.emit("success",n+s,a)}else if(r.status=="rejected"){const a=new Error(r.reason);this.results.push(a),this.controller?.enqueue(a),this.emit("error",n+s,a)}}),this.activeTaskCount-=o.length}}}Array.prototype.ap=function(e){return this.reduce((t,o)=>t.concat(e.map(o)),[])};class Ht{maps=new Map;mapsAddedDuringUpdate=new Map;entries(){return Array.from(this.maps.entries())}keys(){return Array.from(this.maps.keys())}values(){return Array.from(this.maps.values())}json(){return this.entries().reduce((t,[o,n])=>((_o(o)||Co(o)||wo(o))&&(t[o]=n),t),{})}get length(){return this.entries().length}set(t,o){this.maps.set(t,o),this.mapsAddedDuringUpdate.set(t,o)}get(t){return this.maps.get(t)}getIndex(t){const o=this.entries();if(o.length&&o[t]){const[n,r]=o[t];return[n,r]}}top(){return this.getIndex(0)}shift(){const t=this.top();if(t){const[o]=t;this.delete(o)}return t}delete(t){return this.mapsAddedDuringUpdate.delete(t),this.maps.delete(t)}clear(){this.maps.clear(),this.mapsAddedDuringUpdate.clear()}filter(t){let o=Array.from(this.maps.entries());for(;o.length>0;){this.mapsAddedDuringUpdate.clear();for(let n=0,r=o.length;n<r;n++){const[s,a]=o[n];t(s,a)===!1&&this.delete(s)}o=Array.from(this.mapsAddedDuringUpdate.entries())}}}function xo(e,t=(o,n)=>o<=n){const o=e.length;let n=Math.floor(o/2);for(;n>0;){for(let r=n;r<o;r++){const s=e[r];let a=r;for(;a>=n&&!t(e[a-n],s);)e[a]=e[a-n],a-=n;e[a]=s}n=Math.floor(n/2)}}let jt;try{jt=Promise}catch{jt=function(){}}function Ao(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function ge(e,t,o,n=!1){const r=async s=>{await o(s)};try{e.addEventListener(t,r,n)}catch{e.attachEvent("on"+t,r)}return()=>{try{e.removeEventListener(t,r,n)}catch{e.detachEvent("on"+t,r)}}}function dt(){const e=new ht;return{on:(t,o)=>{e.on(t,o)},off:(t,o)=>{e.off(t,o)},emit:(t,...o)=>{e.emit(t,...o)}}}(function(){if(!window.requestAnimationFrame){let e=J();window.requestAnimationFrame=function(t){const o=J(),n=Math.max(0,16-(o-e)),r=window.setTimeout(function(){t(o+n)},n);return e=o+n,r}}window.cancelAnimationFrame||(window.cancelAnimationFrame=function(e){clearTimeout(e)})})();function Mo(e){let t=!1;return window.requestAnimationFrame(function o(n){!t&&e(n)&&window.requestAnimationFrame(o)}),()=>{t=!0}}window.requestIdleCallback=window.requestIdleCallback||function(e,t){const o=J();return setTimeout(function(){e({didTimeout:J()-o>50,timeRemaining:()=>Math.max(0,50-(J()-o))})},t?.timeout)},window.cancelIdleCallback=window.cancelIdleCallback||function(e){clearTimeout(e)};let Yt=0,Bo;const qt=new MessageChannel;qt.port2,qt.port1.onmessage=e=>{Bo({didTimeout:Yt<=J(),timeRemaining:()=>Math.max(0,Yt-J())})};class mt{static _nextId=0;static nextId(){return mt._nextId++}}const _={Linear:{None:function(e){return e}},Ease:{In:function(e){return Math.pow(e,1.7)}},Quadratic:{In:function(e){return e*e},Out:function(e){return e*(2-e)},InOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)}},Cubic:{In:function(e){return e*e*e},Out:function(e){return--e*e*e+1},InOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)}},Quartic:{In:function(e){return e*e*e*e},Out:function(e){return 1- --e*e*e*e},InOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)}},Quintic:{In:function(e){return e*e*e*e*e},Out:function(e){return--e*e*e*e*e+1},InOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)}},Sinusoidal:{In:function(e){return 1-Math.sin((1-e)*Math.PI/2)},Out:function(e){return Math.sin(e*Math.PI/2)},InOut:function(e){return .5*(1-Math.sin(Math.PI*(.5-e)))}},Exponential:{In:function(e){return e===0?0:Math.pow(1024,e-1)},Out:function(e){return e===1?1:1-Math.pow(2,-10*e)},InOut:function(e){return e===0?0:e===1?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(-Math.pow(2,-10*(e-1))+2)}},Circular:{In:function(e){return 1-Math.sqrt(1-e*e)},Out:function(e){return Math.sqrt(1- --e*e)},InOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)}},Elastic:{In:function(e){return e===0?0:e===1?1:-Math.pow(2,10*(e-1))*Math.sin((e-1.1)*5*Math.PI)},Out:function(e){return e===0?0:e===1?1:Math.pow(2,-10*e)*Math.sin((e-.1)*5*Math.PI)+1},InOut:function(e){return e===0?0:e===1?1:(e*=2,e<1?-.5*Math.pow(2,10*(e-1))*Math.sin((e-1.1)*5*Math.PI):.5*Math.pow(2,-10*(e-1))*Math.sin((e-1.1)*5*Math.PI)+1)}},Back:{In:function(e){return e===1?1:e*e*((1.70158+1)*e-1.70158)},Out:function(e){return e===0?0:--e*e*((1.70158+1)*e+1.70158)+1},InOut:function(e){const t=2.5949095;return(e*=2)<1?.5*(e*e*((t+1)*e-t)):.5*((e-=2)*e*((t+1)*e+t)+2)}},Bounce:{In:function(e){return 1-_.Bounce.Out(1-e)},Out:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},InOut:function(e){return e<.5?_.Bounce.In(e*2)*.5:_.Bounce.Out(e*2-1)*.5+.5}},generatePow:function(e=4){return e=e<Number.EPSILON?Number.EPSILON:e,e=e>1e4?1e4:e,{In:function(t){return t**e},Out:function(t){return 1-(1-t)**e},InOut:function(t){return t<.5?(t*2)**e/2:(1-(2-t*2)**e)/2+.5}}},random:function(e){return Math.random()},createStep:function(e){return function(t){return Math.floor(t*e)/e}},createNoisyEasing:function(e,t=.1){const o=1-t;return function(n){return t*Math.random()+o*e(n)}},swing:function(e){return e+Math.sin(e*Math.PI*2)/2},causeSeizures:function(e){return e+.2*Math.random()-.1}};function Vo(e){switch(e){case _.Quadratic.In:return _.Quadratic.Out;case _.Quadratic.Out:return _.Quadratic.In;case _.Quadratic.InOut:return _.Quadratic.InOut;case _.Cubic.In:return _.Cubic.Out;case _.Cubic.Out:return _.Cubic.In;case _.Cubic.InOut:return _.Cubic.InOut;case _.Quartic.In:return _.Quartic.Out;case _.Quartic.Out:return _.Quartic.In;case _.Quartic.InOut:return _.Quartic.InOut;case _.Quintic.In:return _.Quintic.Out;case _.Quintic.Out:return _.Quintic.In;case _.Quintic.InOut:return _.Quintic.InOut;case _.Sinusoidal.In:return _.Sinusoidal.Out;case _.Sinusoidal.Out:return _.Sinusoidal.In;case _.Sinusoidal.InOut:return _.Sinusoidal.InOut;case _.Exponential.In:return _.Exponential.Out;case _.Exponential.Out:return _.Exponential.In;case _.Exponential.InOut:return _.Exponential.InOut;case _.Circular.In:return _.Circular.Out;case _.Circular.Out:return _.Circular.In;case _.Circular.InOut:return _.Circular.InOut;case _.Elastic.In:return _.Elastic.Out;case _.Elastic.Out:return _.Elastic.In;case _.Elastic.InOut:return _.Elastic.InOut;case _.Back.In:return _.Back.Out;case _.Back.Out:return _.Back.In;case _.Back.InOut:return _.Back.InOut;case _.Bounce.In:return _.Bounce.Out;case _.Bounce.Out:return _.Bounce.In;case _.Bounce.InOut:return _.Bounce.InOut;default:return e}}const we={Utils:{Linear:function(e,t,o){return(t-e)*o+e},Factorial:function(){const e=[1];return function(t){let o=1;if(e[t])return e[t];for(let n=t;n>1;n--)o*=n;return e[t]=o,o}}(),Bernstein:function(e,t){const o=we.Utils.Factorial;return o(e)/o(t)/o(e-t)},CatmullRom:function(e,t,o,n,r){const s=(o-e)*.5,a=(n-t)*.5,d=r*r,u=r*d;return(2*t-2*o+s+a)*u+(-3*t+3*o-2*s-a)*d+s*r+t},QuadraticBezier:(e,t,o,n)=>{const r=1-n;return r*r*e+2*r*n*t+n*n*o},CubicBezier:(e,t,o,n,r)=>{const s=1-r;return s*s*s*e+3*s*s*r*t+3*s*r*r*o+r*r*r*n}},Linear:function(e,t){const o=e.length-1,n=o*t,r=Math.floor(n),s=we.Utils.Linear;return t<0?s(e[0],e[1],n):t>1?s(e[o],e[o-1],o-n):s(e[r],e[r+1>o?o:r+1],n-r)},Bezier:function(e,t){let o=0;const n=e.length-1,r=Math.pow,s=we.Utils.Bernstein;for(let a=0;a<=n;a++)o+=r(1-t,n-a)*r(t,a)*e[a]*s(n,a);return o},CatmullRom:function(e,t){const o=e.length-1;let n=o*t,r=Math.floor(n);const s=we.Utils.CatmullRom;return e[0]===e[o]?(t<0&&(r=Math.floor(n=o*(1+t))),s(e[(r-1+o)%o],e[r],e[(r+1)%o],e[(r+2)%o],n-r)):t<0?e[0]-(s(e[0],e[0],e[1],e[1],-n)-e[0]):t>1?e[o]-(s(e[o],e[o],e[o-1],e[o-1],n-o)-e[o]):s(e[r?r-1:0],e[r],e[o<r+1?o:r+1],e[o<r+2?o:r+2],n-r)}};class Do{_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=J(),o=!1){const n=Object.keys(this._tweens);for(let r=0;r<n.length;r++){const s=this._tweens[n[r]],a=!o;s&&s.update(t,a)===!1&&!o&&delete this._tweens[n[r]]}return!!Object.keys(this._tweens).length}}const Gt=new Do;class Uo{constructor(t,o=Gt){this._object=t,this._group=o}_id=mt.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=_.Linear.None;_interpolationFunction=we.Linear;_chainedTweens=[];_isChainStopped=!1;_onStartCallback;_onStartCallbackFired=!1;_onEveryStartCallback;_onEveryStartCallbackFired=!1;_onUpdateCallback;_onRepeatCallback;_onCompleteCallback;_onStopCallback;_goToEnd=!1;getId(){return this._id}isPlaying(){return this._isPlaying}isPaused(){return this._isPaused}to(t,o){return this._valuesEnd=Object.create(t),o!==void 0&&(this._durationTime=o),this}duration(t=1e3){return this._durationTime=t,this}start(t=J()){if(this._isPlaying)return this;if(this._group&&this._group.add(this),this._repeat=this._initialRepeat,this._reversed){this._reversed=!1;for(const o in this._valuesStartRepeat)this._swapEndStartRepeatValues(o),this._valuesStart[o]=this._valuesStartRepeat[o]}return this._isPlaying=!0,this._isPaused=!1,this._onStartCallbackFired=!1,this._onEveryStartCallbackFired=!1,this._isChainStopped=!1,this._startTime=t,this._startTime+=this._delayTime,this._setupProperties(this._object,this._valuesStart,this._valuesEnd,this._valuesStartRepeat),this}_setupProperties(t,o,n,r){for(const s in n){const a=t[s],d=Array.isArray(a),u=d?"array":typeof a,h=!d&&Array.isArray(n[s]);if(!(u==="undefined"||u==="function")){if(h){let p=n[s];if(p.length===0)continue;p=p.map(this._handleRelativeValue.bind(this,a)),n[s]=[a].concat(p)}if((u==="object"||d)&&a&&!h){o[s]=d?[]:{};for(const p in a)o[s][p]=a[p];r[s]=d?[]:{},this._setupProperties(a,o[s],n[s],r[s])}else typeof o[s]>"u"&&(o[s]=a),d||(o[s]*=1),h?r[s]=n[s].slice().reverse():r[s]=o[s]||0}}}stop(){return this._isChainStopped||(this._isChainStopped=!0,this.stopChainedTweens()),this._isPlaying?(this._group&&this._group.remove(this),this._isPlaying=!1,this._isPaused=!1,this._onStopCallback&&this._onStopCallback(this._object),this):this}end(){return this._goToEnd=!0,this.update(1/0),this}pause(t=J()){return this._isPaused||!this._isPlaying?this:(this._isPaused=!0,this._pauseStartTime=t,this._group&&this._group.remove(this),this)}resume(t=J()){return!this._isPaused||!this._isPlaying?this:(this._isPaused=!1,this._startTime+=t-this._pauseStartTime,this._pauseStartTime=0,this._group&&this._group.add(this),this)}stopChainedTweens(){for(let t=0,o=this._chainedTweens.length;t<o;t++)this._chainedTweens[t].stop();return this}group(t=Gt){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=_.Linear.None){return this._easingFunction=t,this}interpolation(t=we.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=J(),o=!0){if(this._isPaused)return!0;let n,r;const s=this._startTime+this._durationTime;if(!this._goToEnd&&!this._isPlaying){if(t>s)return!1;o&&this.start(t)}if(this._goToEnd=!1,t<this._startTime)return!0;this._onStartCallbackFired===!1&&(this._onStartCallback&&this._onStartCallback(this._object),this._onStartCallbackFired=!0),this._onEveryStartCallbackFired===!1&&(this._onEveryStartCallback&&this._onEveryStartCallback(this._object),this._onEveryStartCallbackFired=!0),r=(t-this._startTime)/this._durationTime,r=this._durationTime===0||r>1?1:r;const a=this._easingFunction(r);if(this._updateProperties(this._object,this._valuesStart,this._valuesEnd,a),this._onUpdateCallback&&this._onUpdateCallback(this._object,r),r===1)if(this._repeat>0){isFinite(this._repeat)&&this._repeat--;for(n in this._valuesStartRepeat)!this._yoyo&&typeof this._valuesEnd[n]=="string"&&(this._valuesStartRepeat[n]=this._valuesStartRepeat[n]+parseFloat(this._valuesEnd[n])),this._yoyo&&this._swapEndStartRepeatValues(n),this._valuesStart[n]=this._valuesStartRepeat[n];return this._yoyo&&(this._reversed=!this._reversed),this._repeatDelayTime!==void 0?this._startTime=t+this._repeatDelayTime:this._startTime=t+this._delayTime,this._onRepeatCallback&&this._onRepeatCallback(this._object),this._onEveryStartCallbackFired=!1,!0}else{this._onCompleteCallback&&this._onCompleteCallback(this._object);for(let d=0,u=this._chainedTweens.length;d<u;d++)this._chainedTweens[d].start(this._startTime+this._durationTime);return this._isPlaying=!1,!1}return!0}_updateProperties(t,o,n,r){for(const s in n){if(o[s]===void 0)continue;const a=o[s]||0;let d=n[s];const u=Array.isArray(t[s]),h=Array.isArray(d);!u&&h?t[s]=this._interpolationFunction(d,r):typeof d=="object"&&d?this._updateProperties(t[s],a,d,r):(d=this._handleRelativeValue(a,d),typeof d=="number"&&(t[s]=a+(d-a)*r))}}_handleRelativeValue(t,o){return typeof o!="string"?o:o.charAt(0)==="+"||o.charAt(0)==="-"?t+parseFloat(o):parseFloat(o)}_swapEndStartRepeatValues(t){const o=this._valuesStartRepeat[t],n=this._valuesEnd[t];typeof n=="string"?this._valuesStartRepeat[t]=this._valuesStartRepeat[t]+parseFloat(n):this._valuesStartRepeat[t]=n,this._valuesEnd[t]=o}}class zo{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=J(),this.oldTime=this.startTime,this.elapsedTime=0,this.running=!0}stop(){this.getElapsedTime(),this.running=!1,this.autoStart=!1}getElapsedTime(){return this.getDelta(),this.elapsedTime}getDelta(){let t=0;if(this.autoStart&&!this.running)return this.start(),0;if(this.running){const o=J();t=o-this.oldTime,this.oldTime=o,this.elapsedTime+=t}return t}}const Xt=zo;class pt{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){xo(this.tweens,(o,n)=>t?o.delay>n.delay:o.delay<=n.delay)}cloneTweens(t=this.tweens){const o=[];return t.forEach(n=>{const r={...n};delete r.tween,r.fromValues={...r.fromValues},r.toValues={...r.toValues},o.push(r)}),o}addTween(t,o,n){const r={fromValues:t,toValues:o,frames:typeof n?.frames=="number"?n.frames:1,delay:typeof n?.delay=="number"?n.delay:this.tweens.length,easeFunction:n?.easeFunction||_.Linear.None,interpolationFunction:n?.interpolationFunction||we.Linear,repeat:typeof n?.repeat=="number"?n.repeat:0,yoyo:n?.yoyo||!1,onStart:n?.onStart||(()=>{}),onUpdate:n?.onUpdate||(()=>{}),onComplete:n?.onComplete||(()=>{})};return this.tweens.push(r),this}cancelRequestAnimationCycle=()=>{};runTweens(t){this.cancelRequestAnimationCycle();const o=new Xt,n=this.frameDuration;return new Promise(r=>{this.onGroupStart?.(),this.cancelRequestAnimationCycle=Mo(s=>{if(!this.isPaused){const d=Math.max(0,s-this.pausedDuration),u=Math.max(0,o.getElapsedTime()-this.pausedDuration);t.filter(h=>h.delay*n<=u).forEach(h=>{h.tween||(h.tween=new Uo({...h.fromValues}).to({...h.toValues},h.frames*n).easing(h.easeFunction).interpolation(h.interpolationFunction).repeat(h.repeat).yoyo(h.yoyo).onStart(h.onStart).onUpdate(h.onUpdate).onComplete(h.onComplete),h.tween.start(d)),(h.delay+h.frames*(h.repeat+1))*n>u?h.tween.update(d):(h.tween.isPlaying()&&h.tween.end(),So(t,h))})}const a=!!t.length;return a||(this.onGroupComplete?.(),r()),a})})}isPaused=!1;pausedClock=new Xt;pausedDuration=0;play(t=this.cloneTweens(this.tweens)){this.isPaused=!1,this.pausedDuration=0,this.runTweens(t)}reverse(){const t=this.cloneTweens(this.tweens);let o=0;t.forEach(n=>{o=Math.max(o,n.delay+n.frames),n.easeFunction=Vo(n.easeFunction);const r={...n.toValues};n.toValues={...n.fromValues},n.fromValues={...r}}),t.forEach(n=>{n.delay=o-n.frames}),this.play(t)}pause(){this.pausedClock.start(),this.isPaused=!0}resume(){this.pausedDuration+=this.pausedClock.getElapsedTime(),this.pausedClock.stop(),this.isPaused=!1}}const Wt=new Ht;function $o(e){let t=Wt.get(e);return t||(t=ln(e),Wt.set(e,t)),t}function gt(e,t,o){const n=$o(e);return n.props.style=n.props.style||{},t?n.props.style[t]||n.props.style[To(t)]||n.props.style[yo(t)]||"":n.props.style}function Ho(e){const t={};if(getComputedStyle){const o=getComputedStyle(e);for(let n=0,r=o.length;n<r;n++)t[o[n]]=o.getPropertyValue(t[n])}else{const o=e.currentStyle;for(const n in o)t[n]=o[n]}return e.style.cssText&&e.style.cssText.split(";").filter(o=>!!o).forEach(o=>{const[n,r]=o.split(":");n&&r&&(t[n.trim()]=r.trim())}),t}function jo(e,t){let o;if(typeof t=="string"){const r=document.querySelector(t)?.shadowRoot;r?o=r:o=document.querySelector(t)}else o=t||document.getElementsByTagName("head")[0];const n=document.createElement("style");if(n.innerHTML=e,o)return o.appendChild(n),()=>{(o instanceof HTMLElement||o instanceof ShadowRoot)&&o.removeChild(n)};{const r=document.styleSheets[0].insertRule(e);return()=>{document.styleSheets[0].deleteRule(r)}}}function Yo(e){const t={};for(let o=0,n=e.attributes,r=n.length;o<r;o++){const s=n[o];s.nodeName&&s.nodeValue&&(s.nodeName==="style"?t[s.nodeName]=Ho(e):t[s.nodeName]=s.nodeValue)}return t}const ae=dt();let Qt="";new MutationObserver((e,t)=>{location.href!==Qt&&(Qt=location.href,ae.emit("urlchange",location.href))}).observe(document,{attributes:!0,childList:!0,subtree:!0}),ge(window,"hashchange",()=>{ae.emit("hashchange",location.hash)}),ge(window,"popstate",e=>{ae.emit("popstate",e.state)}),ge(window,"orientationchange"in window?"orientationchange":"resize",e=>{const t=e.target.innerWidth,o=e.target.innerHeight;ae.emit("windowresize",t,o)}),ge(window,"load",e=>{ae.emit("load",e)}),ge(window,"beforeunload",e=>{ae.emit("beforeunload",e)}),ge(window,"pagehide",e=>{ae.emit("pagehide",e)}),ge(window,"focus",e=>{ae.emit("focus",e)}),ge(window,"blur",e=>{ae.emit("blur",e)}),ge(window,"visibilitychange",e=>{document.hidden?ae.emit("windowhidden",e):ae.emit("windowvisible",e)});function qo(e){document.getElementsByTagName("title")[0].innerText=e,document.title=e}let Zt=!1;function Ge(){Zt||(Zt=!0,jo(`
|
|
2
|
+
/* iOS > 11.2 */
|
|
3
|
+
/* 注意:--xxx:后面不要有空格 */
|
|
4
|
+
:root {
|
|
5
|
+
--sat:env(safe-area-inset-top, 0px);
|
|
6
|
+
--sar:env(safe-area-inset-right, 0px);
|
|
7
|
+
--sab:env(safe-area-inset-bottom, 0px);
|
|
8
|
+
--sal:env(safe-area-inset-left, 0px);
|
|
9
|
+
}
|
|
10
|
+
:host {
|
|
11
|
+
--sat:env(safe-area-inset-top, 0px);
|
|
12
|
+
--sar:env(safe-area-inset-right, 0px);
|
|
13
|
+
--sab:env(safe-area-inset-bottom, 0px);
|
|
14
|
+
--sal:env(safe-area-inset-left, 0px);
|
|
15
|
+
}
|
|
16
|
+
`))}const _e=dt(),Go={onTop:e=>(Ge(),setTimeout(()=>{const t=getComputedStyle(document.documentElement);_e.emit("top",t.getPropertyValue("--sat"))},1),_e.on("top",e)),onRight:e=>(Ge(),setTimeout(()=>{const t=getComputedStyle(document.documentElement);_e.emit("right",t.getPropertyValue("--sar"))},1),_e.on("right",e)),onBottom:e=>(Ge(),setTimeout(()=>{const t=getComputedStyle(document.documentElement);_e.emit("bottom",t.getPropertyValue("--sab"))},1),_e.on("bottom",e)),onLeft:e=>(Ge(),setTimeout(()=>{const t=getComputedStyle(document.documentElement);_e.emit("left",t.getPropertyValue("--sal"))},1),_e.on("left",e))};function Xo(e){const t=dt(),o=new ResizeObserver(n=>{const r=n[0],{width:s,height:a}=r.contentRect;t.emit("resize",s,a)});return o.observe(e),{on:n=>(t.on("resize",n),()=>{t.off("resize",n)}),destroy:()=>{o.unobserve(e)}}}function Kt(e,t,o,n,r){const s=t/o;let a=0,d=0;switch(e){case"aspectFit":s>=1?(a=n,d=a/s,d>r&&(d=r,a=d*s)):(d=r,a=d*s,a>n&&(a=n,d=a/s));break;case"aspectFill":s>=1?(d=r,a=d*s):(a=n,d=a/s);break;case"widthFix":a=n,d=a/s;break;case"heightFix":d=r,a=d*s;break;case"scaleToFill":default:a=n,d=r;break}return{width:a,height:d}}function Wo(e){try{const t=document.createElement("canvas"),o=t.getContext("2d");return t.width=e.width,t.height=e.height,o.drawImage(e,0,0,t.width,t.height),o.getImageData(0,0,t.width,t.height)}catch{return new ImageData(e.width,e.height)}}const Qo=getComputedStyle(document.documentElement);function L(e){return Qo.getPropertyValue(e)}const ue={colorPrimary:L("--color-primary")||"#5A82F0",colorRed:L("--color-red")||"#FA503C",colorOrange:L("--color-orange")||"#fa8c00",colorYellow:L("--color-yellow")||"#fadc32",colorGreen:L("--color-green")||"#00c878",colorBlue:L("--color-blue")||"#00b4fa",colorPurple:L("--color-purple")||"#6464fa",colorBlack:L("--color-black")||"#001428",colorGray00:L("--color-gray-00")||"#000000",colorGray33:L("--color-gray-33")||"#333333",colorGray66:L("--color-gray-66")||"#666666",colorGray99:L("--color-gray-99")||"#999999",colorGrayCC:L("--color-gray-cc")||"#cccccc",colorGrayDD:L("--color-gray-dd")||"#dddddd",colorGrayE6:L("--color-gray-e6")||"#e6e6e6",colorGrayEE:L("--color-gray-ee")||"#eeeeee",colorGrayEF:L("--color-gray-ef")||"#efefef",colorGrayF5:L("--color-gray-f5")||"#f5f5f5",colorGrayFF:L("--color-gray-ff")||"#ffffff",fontLineHeight:L("--font-line-height")||"1.4",fontSize32:L("--font-size-32")||"32px",fontSize24:L("--font-size-24")||"24px",fontSize22:L("--font-size-22")||"22px",fontSize20:L("--font-size-20")||"20px",fontSize18:L("--font-size-18")||"18px",fontSize16:L("--font-size-16")||"16px",fontSize14:L("--font-size-14")||"14px",fontSize12:L("--font-size-12")||"12px",fontSize10:L("--font-size-10")||"10px",d4:L("--distance-4")||"4px",d8:L("--distance-8")||"8px",d12:L("--distance-12")||"12px",d16:L("--distance-16")||"16px",d20:L("--distance-20")||"20px",d32:L("--distance-32")||"32px",d40:L("--distance-40")||"40px",d44:L("--distance-44")||"44px"};class ne{__color={r:0,g:0,b:0,a:1};constructor(t,o){t&&this.setColor(t),typeof o=="number"&&this.setAlpha(o)}get color(){return this.__color}set color(t){this.__color=yt(t)}setColor(t){return this.color=t,this}get r(){return this.__color.r}set r(t){this.__color.r=Y(Math.round(t),0,255)}get g(){return this.__color.g}set g(t){this.__color.g=Y(Math.round(t),0,255)}get b(){return this.__color.b}set b(t){this.__color.b=Y(Math.round(t),0,255)}get a(){return this.__color.a}set a(t){this.__color.a=Y(t,0,1)}setAlpha(t){return this.a=t,this}setRGB(t,o,n){return this.r=t,this.g=o,this.b=n,this}setRGBA(t,o,n,r){return this.r=t,this.g=o,this.b=n,this.a=r,this}get hex(){return(this.r<<16)+(this.g<<8)+this.b}toString(){if(this.a===1){const t="000000"+this.hex.toString(16);return"#"+t.slice(t.length-6)}else return`rgba(${this.r},${this.g},${this.b},${ko(this.a,6)})`}clone(){return new ne(this.color)}copy(t){this.setColor(t.color)}opposite(t=!1,o="#000000",n="#ffffff"){if(t)return new ne(this.r*.299+this.g*.587+this.b*.114>186?o:n);{const r=this.clone();return r.r=255-r.r,r.g=255-r.g,r.b=255-r.b,r}}lighten(t){t=Y(Math.abs(t),0,1);let{r:o,g:n,b:r}=this.color;return o+=(255-o)*t,n+=(255-n)*t,r+=(255-r)*t,new ne().setRGBA(o,n,r,this.color.a)}darken(t){t=Y(Math.abs(t),0,1);let{r:o,g:n,b:r}=this.color;return o=o*(1-t),n=n*(1-t),r=r*(1-t),new ne().setRGBA(o,n,r,this.color.a)}static gradient(t,o,n){try{const r=yt(t),s=yt(o);return new ne().setRGB((s.r-r.r)*n+r.r,(s.g-r.g)*n+r.g,(s.b-r.b)*n+r.b)}catch{return new ne(o)}}static random(){return new ne(Math.random()*16777215)}get hsv(){const{r:t,g:o,b:n,a:r}=this.color,s=Math.max(t,o,n),a=Math.min(t,o,n),d=s-a;let u;return t===s?u=(o-n)/d:o===s?u=2+(n-t)/d:u=4+(t-o)/d,u/=6,u<0&&(u+=1),{h:d==0?0:u*360,s:s===0?0:d/s,v:s/255,a:r}}set h(t){const o=this.hsv;o.h=Y(t,0,360),this.setColor(o)}get h(){return this.hsv.h}set s(t){const o=this.hsv;o.s=Y(t,0,1),this.setColor(o)}get s(){return this.hsv.s}set v(t){const o=this.hsv;o.v=Y(t,0,1),this.setColor(o)}get v(){return this.hsv.v}}function Xe(e,t){return new ne(e,t)}function yt(e){const t=Object.prototype.hasOwnProperty.call(e,"a")?Y(e.a,0,1):1;if(Object.prototype.hasOwnProperty.call(e,"r")&&Object.prototype.hasOwnProperty.call(e,"g")&&Object.prototype.hasOwnProperty.call(e,"b"))return e.r=Y(Math.round(e.r),0,255),e.g=Y(Math.round(e.g),0,255),e.b=Y(Math.round(e.b),0,255),e.a=t,e;if(Object.prototype.hasOwnProperty.call(e,"h")&&Object.prototype.hasOwnProperty.call(e,"s")&&Object.prototype.hasOwnProperty.call(e,"v")){const n=Y(e.h,0,360),r=Y(e.s,0,1),s=Y(e.v,0,1),a=Math.floor(n/60)%6,d=n/60-Math.floor(n/60),u=s*(1-r),h=s*(1-d*r),p=s*(1-(1-d)*r),b=[[s,p,u],[h,s,u],[u,s,p],[u,h,s],[p,u,s],[s,u,h]][a];return{r:Math.round(b[0]*255),g:Math.round(b[1]*255),b:Math.round(b[2]*255),a:t}}const o={r:0,g:0,b:0,a:t};if(typeof e=="number")e<Math.pow(2,24)?(o.r=e>>16&255,o.g=e>>8&255,o.b=e&255):(o.r=e>>24&255,o.g=e>>16&255,o.b=e>>8&255,o.a=(e&255)/255);else if(typeof e=="string"){const n=/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,?\s*(\d?\.?\d*)?\s*\)/gi.exec(e);if(n)o.r=parseInt(n[1]),o.g=parseInt(n[2]),o.b=parseInt(n[3]),n[4]&&(o.a=parseFloat(n[4]));else{let r=e.match(/^#([A-F0-9])([A-F0-9])([A-F0-9])$/i);r?(o.r=parseInt(`${r[1]}${r[1]}`,16),o.g=parseInt(`${r[2]}${r[2]}`,16),o.b=parseInt(`${r[3]}${r[3]}`,16)):(r=e.match(/^#([A-F0-9]{2})([A-F0-9]{2})([A-F0-9]{2})$/i),r?(o.r=parseInt(r[1],16),o.g=parseInt(r[2],16),o.b=parseInt(r[3],16)):(r=e.match(/^#([A-F0-9]{2})([A-F0-9]{2})([A-F0-9]{2})([A-F0-9]{2})$/i),r?(o.r=parseInt(r[1],16),o.g=parseInt(r[2],16),o.b=parseInt(r[3],16),o.a=parseInt(r[4],16)/255):e==="none"&&(o.a=0)))}}else throw new Error("parseColor 不支持的颜色解析:"+e);return o.r=Y(o.r,0,255),o.g=Y(o.g,0,255),o.b=Y(o.b,0,255),o.a=Y(o.a,0,1),o}const ke={backgroundColor:"#1a1a1a",numberColor:"#2FA1D6",booleanColor:"#806787",stringColor:"#1ed36f",functionColor:"#e61d5f",saveRowColor:"#dad5cb",buttonColor:"",borderColor:"",inputColor:""};ke.buttonColor=new ne(ke.saveRowColor).darken(.1).toString(),ke.borderColor=new ne(ke.backgroundColor).lighten(.07).toString(),ke.inputColor=new ne(ke.backgroundColor).lighten(.085).toString();var Jt={exports:{}};/*! Hammer.JS - v2.0.7 - 2016-04-22
|
|
17
|
+
* http://hammerjs.github.io/
|
|
18
|
+
*
|
|
19
|
+
* Copyright (c) 2016 Jorik Tangelder;
|
|
20
|
+
* Licensed under the MIT license */(function(e){(function(t,o,n,r){var s=["","webkit","Moz","MS","ms","o"],a=o.createElement("div"),d="function",u=Math.round,h=Math.abs,p=Date.now;function b(i,l,f){return setTimeout(B(i,f),l)}function C(i,l,f){return Array.isArray(i)?(S(i,f[l],f),!0):!1}function S(i,l,f){var m;if(i)if(i.forEach)i.forEach(l,f);else if(i.length!==r)for(m=0;m<i.length;)l.call(f,i[m],m,i),m++;else for(m in i)i.hasOwnProperty(m)&&l.call(f,i[m],m,i)}function y(i,l,f){var m="DEPRECATED METHOD: "+l+`
|
|
21
|
+
`+f+` AT
|
|
22
|
+
`;return function(){var T=new Error("get-stack-trace"),P=T&&T.stack?T.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",N=t.console&&(t.console.warn||t.console.log);return N&&N.call(t.console,m,P),i.apply(this,arguments)}}var w;typeof Object.assign!="function"?w=function(l){if(l===r||l===null)throw new TypeError("Cannot convert undefined or null to object");for(var f=Object(l),m=1;m<arguments.length;m++){var T=arguments[m];if(T!==r&&T!==null)for(var P in T)T.hasOwnProperty(P)&&(f[P]=T[P])}return f}:w=Object.assign;var E=y(function(l,f,m){for(var T=Object.keys(f),P=0;P<T.length;)(!m||m&&l[T[P]]===r)&&(l[T[P]]=f[T[P]]),P++;return l},"extend","Use `assign`."),R=y(function(l,f){return E(l,f,!0)},"merge","Use `assign`.");function F(i,l,f){var m=l.prototype,T;T=i.prototype=Object.create(m),T.constructor=i,T._super=m,f&&w(T,f)}function B(i,l){return function(){return i.apply(l,arguments)}}function k(i,l){return typeof i==d?i.apply(l&&l[0]||r,l):i}function D(i,l){return i===r?l:i}function I(i,l,f){S(A(l),function(m){i.addEventListener(m,f,!1)})}function x(i,l,f){S(A(l),function(m){i.removeEventListener(m,f,!1)})}function M(i,l){for(;i;){if(i==l)return!0;i=i.parentNode}return!1}function z(i,l){return i.indexOf(l)>-1}function A(i){return i.trim().split(/\s+/g)}function Z(i,l,f){if(i.indexOf&&!f)return i.indexOf(l);for(var m=0;m<i.length;){if(f&&i[m][f]==l||!f&&i[m]===l)return m;m++}return-1}function oe(i){return Array.prototype.slice.call(i,0)}function j(i,l,f){for(var m=[],T=[],P=0;P<i.length;){var N=l?i[P][l]:i[P];Z(T,N)<0&&m.push(i[P]),T[P]=N,P++}return f&&(l?m=m.sort(function(Q,K){return Q[l]>K[l]}):m=m.sort()),m}function H(i,l){for(var f,m,T=l[0].toUpperCase()+l.slice(1),P=0;P<s.length;){if(f=s[P],m=f?f+T:l,m in i)return m;P++}return r}var q=1;function ve(){return q++}function Se(i){var l=i.ownerDocument||i;return l.defaultView||l.parentWindow||t}var Le=/mobile|tablet|ip(ad|hone|od)|android/i,Pe="ontouchstart"in t,Ne=H(t,"PointerEvent")!==r,xe=Pe&&Le.test(navigator.userAgent),X="touch",O="pen",v="mouse",te="kinect",W=25,V=1,re=2,$=4,g=8,nt=1,Ue=2,ze=4,$e=8,He=16,he=Ue|ze,Ie=$e|He,Gn=he|Ie,Xn=["x","y"],ot=["clientX","clientY"];function ie(i,l){var f=this;this.manager=i,this.callback=l,this.element=i.element,this.target=i.options.inputTarget,this.domHandler=function(m){k(i.options.enable,[i])&&f.handler(m)},this.init()}ie.prototype={handler:function(){},init:function(){this.evEl&&I(this.element,this.evEl,this.domHandler),this.evTarget&&I(this.target,this.evTarget,this.domHandler),this.evWin&&I(Se(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&x(this.element,this.evEl,this.domHandler),this.evTarget&&x(this.target,this.evTarget,this.domHandler),this.evWin&&x(Se(this.element),this.evWin,this.domHandler)}};function qi(i){var l,f=i.options.inputClass;return f?l=f:Ne?l=kt:xe?l=st:Pe?l=Ot:l=it,new l(i,Gi)}function Gi(i,l,f){var m=f.pointers.length,T=f.changedPointers.length,P=l&V&&m-T===0,N=l&($|g)&&m-T===0;f.isFirst=!!P,f.isFinal=!!N,P&&(i.session={}),f.eventType=l,Xi(i,f),i.emit("hammer.input",f),i.recognize(f),i.session.prevInput=f}function Xi(i,l){var f=i.session,m=l.pointers,T=m.length;f.firstInput||(f.firstInput=Wn(l)),T>1&&!f.firstMultiple?f.firstMultiple=Wn(l):T===1&&(f.firstMultiple=!1);var P=f.firstInput,N=f.firstMultiple,G=N?N.center:P.center,Q=l.center=Qn(m);l.timeStamp=p(),l.deltaTime=l.timeStamp-P.timeStamp,l.angle=Ft(G,Q),l.distance=rt(G,Q),Wi(f,l),l.offsetDirection=Kn(l.deltaX,l.deltaY);var K=Zn(l.deltaTime,l.deltaX,l.deltaY);l.overallVelocityX=K.x,l.overallVelocityY=K.y,l.overallVelocity=h(K.x)>h(K.y)?K.x:K.y,l.scale=N?Ki(N.pointers,m):1,l.rotation=N?Zi(N.pointers,m):0,l.maxPointers=f.prevInput?l.pointers.length>f.prevInput.maxPointers?l.pointers.length:f.prevInput.maxPointers:l.pointers.length,Qi(f,l);var me=i.element;M(l.srcEvent.target,me)&&(me=l.srcEvent.target),l.target=me}function Wi(i,l){var f=l.center,m=i.offsetDelta||{},T=i.prevDelta||{},P=i.prevInput||{};(l.eventType===V||P.eventType===$)&&(T=i.prevDelta={x:P.deltaX||0,y:P.deltaY||0},m=i.offsetDelta={x:f.x,y:f.y}),l.deltaX=T.x+(f.x-m.x),l.deltaY=T.y+(f.y-m.y)}function Qi(i,l){var f=i.lastInterval||l,m=l.timeStamp-f.timeStamp,T,P,N,G;if(l.eventType!=g&&(m>W||f.velocity===r)){var Q=l.deltaX-f.deltaX,K=l.deltaY-f.deltaY,me=Zn(m,Q,K);P=me.x,N=me.y,T=h(me.x)>h(me.y)?me.x:me.y,G=Kn(Q,K),i.lastInterval=l}else T=f.velocity,P=f.velocityX,N=f.velocityY,G=f.direction;l.velocity=T,l.velocityX=P,l.velocityY=N,l.direction=G}function Wn(i){for(var l=[],f=0;f<i.pointers.length;)l[f]={clientX:u(i.pointers[f].clientX),clientY:u(i.pointers[f].clientY)},f++;return{timeStamp:p(),pointers:l,center:Qn(l),deltaX:i.deltaX,deltaY:i.deltaY}}function Qn(i){var l=i.length;if(l===1)return{x:u(i[0].clientX),y:u(i[0].clientY)};for(var f=0,m=0,T=0;T<l;)f+=i[T].clientX,m+=i[T].clientY,T++;return{x:u(f/l),y:u(m/l)}}function Zn(i,l,f){return{x:l/i||0,y:f/i||0}}function Kn(i,l){return i===l?nt:h(i)>=h(l)?i<0?Ue:ze:l<0?$e:He}function rt(i,l,f){f||(f=Xn);var m=l[f[0]]-i[f[0]],T=l[f[1]]-i[f[1]];return Math.sqrt(m*m+T*T)}function Ft(i,l,f){f||(f=Xn);var m=l[f[0]]-i[f[0]],T=l[f[1]]-i[f[1]];return Math.atan2(T,m)*180/Math.PI}function Zi(i,l){return Ft(l[1],l[0],ot)+Ft(i[1],i[0],ot)}function Ki(i,l){return rt(l[0],l[1],ot)/rt(i[0],i[1],ot)}var Ji={mousedown:V,mousemove:re,mouseup:$},es="mousedown",ts="mousemove mouseup";function it(){this.evEl=es,this.evWin=ts,this.pressed=!1,ie.apply(this,arguments)}F(it,ie,{handler:function(l){var f=Ji[l.type];f&V&&l.button===0&&(this.pressed=!0),f&re&&l.which!==1&&(f=$),this.pressed&&(f&$&&(this.pressed=!1),this.callback(this.manager,f,{pointers:[l],changedPointers:[l],pointerType:v,srcEvent:l}))}});var ns={pointerdown:V,pointermove:re,pointerup:$,pointercancel:g,pointerout:g},os={2:X,3:O,4:v,5:te},Jn="pointerdown",eo="pointermove pointerup pointercancel";t.MSPointerEvent&&!t.PointerEvent&&(Jn="MSPointerDown",eo="MSPointerMove MSPointerUp MSPointerCancel");function kt(){this.evEl=Jn,this.evWin=eo,ie.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}F(kt,ie,{handler:function(l){var f=this.store,m=!1,T=l.type.toLowerCase().replace("ms",""),P=ns[T],N=os[l.pointerType]||l.pointerType,G=N==X,Q=Z(f,l.pointerId,"pointerId");P&V&&(l.button===0||G)?Q<0&&(f.push(l),Q=f.length-1):P&($|g)&&(m=!0),!(Q<0)&&(f[Q]=l,this.callback(this.manager,P,{pointers:f,changedPointers:[l],pointerType:N,srcEvent:l}),m&&f.splice(Q,1))}});var rs={touchstart:V,touchmove:re,touchend:$,touchcancel:g},is="touchstart",ss="touchstart touchmove touchend touchcancel";function to(){this.evTarget=is,this.evWin=ss,this.started=!1,ie.apply(this,arguments)}F(to,ie,{handler:function(l){var f=rs[l.type];if(f===V&&(this.started=!0),!!this.started){var m=as.call(this,l,f);f&($|g)&&m[0].length-m[1].length===0&&(this.started=!1),this.callback(this.manager,f,{pointers:m[0],changedPointers:m[1],pointerType:X,srcEvent:l})}}});function as(i,l){var f=oe(i.touches),m=oe(i.changedTouches);return l&($|g)&&(f=j(f.concat(m),"identifier",!0)),[f,m]}var cs={touchstart:V,touchmove:re,touchend:$,touchcancel:g},ls="touchstart touchmove touchend touchcancel";function st(){this.evTarget=ls,this.targetIds={},ie.apply(this,arguments)}F(st,ie,{handler:function(l){var f=cs[l.type],m=us.call(this,l,f);m&&this.callback(this.manager,f,{pointers:m[0],changedPointers:m[1],pointerType:X,srcEvent:l})}});function us(i,l){var f=oe(i.touches),m=this.targetIds;if(l&(V|re)&&f.length===1)return m[f[0].identifier]=!0,[f,f];var T,P,N=oe(i.changedTouches),G=[],Q=this.target;if(P=f.filter(function(K){return M(K.target,Q)}),l===V)for(T=0;T<P.length;)m[P[T].identifier]=!0,T++;for(T=0;T<N.length;)m[N[T].identifier]&&G.push(N[T]),l&($|g)&&delete m[N[T].identifier],T++;if(G.length)return[j(P.concat(G),"identifier",!0),G]}var fs=2500,no=25;function Ot(){ie.apply(this,arguments);var i=B(this.handler,this);this.touch=new st(this.manager,i),this.mouse=new it(this.manager,i),this.primaryTouch=null,this.lastTouches=[]}F(Ot,ie,{handler:function(l,f,m){var T=m.pointerType==X,P=m.pointerType==v;if(!(P&&m.sourceCapabilities&&m.sourceCapabilities.firesTouchEvents)){if(T)hs.call(this,f,m);else if(P&&ds.call(this,m))return;this.callback(l,f,m)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});function hs(i,l){i&V?(this.primaryTouch=l.changedPointers[0].identifier,oo.call(this,l)):i&($|g)&&oo.call(this,l)}function oo(i){var l=i.changedPointers[0];if(l.identifier===this.primaryTouch){var f={x:l.clientX,y:l.clientY};this.lastTouches.push(f);var m=this.lastTouches,T=function(){var P=m.indexOf(f);P>-1&&m.splice(P,1)};setTimeout(T,fs)}}function ds(i){for(var l=i.srcEvent.clientX,f=i.srcEvent.clientY,m=0;m<this.lastTouches.length;m++){var T=this.lastTouches[m],P=Math.abs(l-T.x),N=Math.abs(f-T.y);if(P<=no&&N<=no)return!0}return!1}var ro=H(a.style,"touchAction"),io=ro!==r,so="compute",ao="auto",Rt="manipulation",Fe="none",je="pan-x",Ye="pan-y",at=ps();function Lt(i,l){this.manager=i,this.set(l)}Lt.prototype={set:function(i){i==so&&(i=this.compute()),io&&this.manager.element.style&&at[i]&&(this.manager.element.style[ro]=i),this.actions=i.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var i=[];return S(this.manager.recognizers,function(l){k(l.options.enable,[l])&&(i=i.concat(l.getTouchAction()))}),ms(i.join(" "))},preventDefaults:function(i){var l=i.srcEvent,f=i.offsetDirection;if(this.manager.session.prevented){l.preventDefault();return}var m=this.actions,T=z(m,Fe)&&!at[Fe],P=z(m,Ye)&&!at[Ye],N=z(m,je)&&!at[je];if(T){var G=i.pointers.length===1,Q=i.distance<2,K=i.deltaTime<250;if(G&&Q&&K)return}if(!(N&&P)&&(T||P&&f&he||N&&f&Ie))return this.preventSrc(l)},preventSrc:function(i){this.manager.session.prevented=!0,i.preventDefault()}};function ms(i){if(z(i,Fe))return Fe;var l=z(i,je),f=z(i,Ye);return l&&f?Fe:l||f?l?je:Ye:z(i,Rt)?Rt:ao}function ps(){if(!io)return!1;var i={},l=t.CSS&&t.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(f){i[f]=l?t.CSS.supports("touch-action",f):!0}),i}var ct=1,se=2,Ae=4,Ce=8,Te=Ce,qe=16,de=32;function be(i){this.options=w({},this.defaults,i||{}),this.id=ve(),this.manager=null,this.options.enable=D(this.options.enable,!0),this.state=ct,this.simultaneous={},this.requireFail=[]}be.prototype={defaults:{},set:function(i){return w(this.options,i),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(i){if(C(i,"recognizeWith",this))return this;var l=this.simultaneous;return i=lt(i,this),l[i.id]||(l[i.id]=i,i.recognizeWith(this)),this},dropRecognizeWith:function(i){return C(i,"dropRecognizeWith",this)?this:(i=lt(i,this),delete this.simultaneous[i.id],this)},requireFailure:function(i){if(C(i,"requireFailure",this))return this;var l=this.requireFail;return i=lt(i,this),Z(l,i)===-1&&(l.push(i),i.requireFailure(this)),this},dropRequireFailure:function(i){if(C(i,"dropRequireFailure",this))return this;i=lt(i,this);var l=Z(this.requireFail,i);return l>-1&&this.requireFail.splice(l,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(i){return!!this.simultaneous[i.id]},emit:function(i){var l=this,f=this.state;function m(T){l.manager.emit(T,i)}f<Ce&&m(l.options.event+co(f)),m(l.options.event),i.additionalEvent&&m(i.additionalEvent),f>=Ce&&m(l.options.event+co(f))},tryEmit:function(i){if(this.canEmit())return this.emit(i);this.state=de},canEmit:function(){for(var i=0;i<this.requireFail.length;){if(!(this.requireFail[i].state&(de|ct)))return!1;i++}return!0},recognize:function(i){var l=w({},i);if(!k(this.options.enable,[this,l])){this.reset(),this.state=de;return}this.state&(Te|qe|de)&&(this.state=ct),this.state=this.process(l),this.state&(se|Ae|Ce|qe)&&this.tryEmit(l)},process:function(i){},getTouchAction:function(){},reset:function(){}};function co(i){return i&qe?"cancel":i&Ce?"end":i&Ae?"move":i&se?"start":""}function lo(i){return i==He?"down":i==$e?"up":i==Ue?"left":i==ze?"right":""}function lt(i,l){var f=l.manager;return f?f.get(i):i}function ce(){be.apply(this,arguments)}F(ce,be,{defaults:{pointers:1},attrTest:function(i){var l=this.options.pointers;return l===0||i.pointers.length===l},process:function(i){var l=this.state,f=i.eventType,m=l&(se|Ae),T=this.attrTest(i);return m&&(f&g||!T)?l|qe:m||T?f&$?l|Ce:l&se?l|Ae:se:de}});function ut(){ce.apply(this,arguments),this.pX=null,this.pY=null}F(ut,ce,{defaults:{event:"pan",threshold:10,pointers:1,direction:Gn},getTouchAction:function(){var i=this.options.direction,l=[];return i&he&&l.push(Ye),i&Ie&&l.push(je),l},directionTest:function(i){var l=this.options,f=!0,m=i.distance,T=i.direction,P=i.deltaX,N=i.deltaY;return T&l.direction||(l.direction&he?(T=P===0?nt:P<0?Ue:ze,f=P!=this.pX,m=Math.abs(i.deltaX)):(T=N===0?nt:N<0?$e:He,f=N!=this.pY,m=Math.abs(i.deltaY))),i.direction=T,f&&m>l.threshold&&T&l.direction},attrTest:function(i){return ce.prototype.attrTest.call(this,i)&&(this.state&se||!(this.state&se)&&this.directionTest(i))},emit:function(i){this.pX=i.deltaX,this.pY=i.deltaY;var l=lo(i.direction);l&&(i.additionalEvent=this.options.event+l),this._super.emit.call(this,i)}});function Nt(){ce.apply(this,arguments)}F(Nt,ce,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Fe]},attrTest:function(i){return this._super.attrTest.call(this,i)&&(Math.abs(i.scale-1)>this.options.threshold||this.state&se)},emit:function(i){if(i.scale!==1){var l=i.scale<1?"in":"out";i.additionalEvent=this.options.event+l}this._super.emit.call(this,i)}});function xt(){be.apply(this,arguments),this._timer=null,this._input=null}F(xt,be,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[ao]},process:function(i){var l=this.options,f=i.pointers.length===l.pointers,m=i.distance<l.threshold,T=i.deltaTime>l.time;if(this._input=i,!m||!f||i.eventType&($|g)&&!T)this.reset();else if(i.eventType&V)this.reset(),this._timer=b(function(){this.state=Te,this.tryEmit()},l.time,this);else if(i.eventType&$)return Te;return de},reset:function(){clearTimeout(this._timer)},emit:function(i){this.state===Te&&(i&&i.eventType&$?this.manager.emit(this.options.event+"up",i):(this._input.timeStamp=p(),this.manager.emit(this.options.event,this._input)))}});function At(){ce.apply(this,arguments)}F(At,ce,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Fe]},attrTest:function(i){return this._super.attrTest.call(this,i)&&(Math.abs(i.rotation)>this.options.threshold||this.state&se)}});function Mt(){ce.apply(this,arguments)}F(Mt,ce,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:he|Ie,pointers:1},getTouchAction:function(){return ut.prototype.getTouchAction.call(this)},attrTest:function(i){var l=this.options.direction,f;return l&(he|Ie)?f=i.overallVelocity:l&he?f=i.overallVelocityX:l&Ie&&(f=i.overallVelocityY),this._super.attrTest.call(this,i)&&l&i.offsetDirection&&i.distance>this.options.threshold&&i.maxPointers==this.options.pointers&&h(f)>this.options.velocity&&i.eventType&$},emit:function(i){var l=lo(i.offsetDirection);l&&this.manager.emit(this.options.event+l,i),this.manager.emit(this.options.event,i)}});function ft(){be.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}F(ft,be,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Rt]},process:function(i){var l=this.options,f=i.pointers.length===l.pointers,m=i.distance<l.threshold,T=i.deltaTime<l.time;if(this.reset(),i.eventType&V&&this.count===0)return this.failTimeout();if(m&&T&&f){if(i.eventType!=$)return this.failTimeout();var P=this.pTime?i.timeStamp-this.pTime<l.interval:!0,N=!this.pCenter||rt(this.pCenter,i.center)<l.posThreshold;this.pTime=i.timeStamp,this.pCenter=i.center,!N||!P?this.count=1:this.count+=1,this._input=i;var G=this.count%l.taps;if(G===0)return this.hasRequireFailures()?(this._timer=b(function(){this.state=Te,this.tryEmit()},l.interval,this),se):Te}return de},failTimeout:function(){return this._timer=b(function(){this.state=de},this.options.interval,this),de},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==Te&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}});function Ee(i,l){return l=l||{},l.recognizers=D(l.recognizers,Ee.defaults.preset),new Bt(i,l)}Ee.VERSION="2.0.7",Ee.defaults={domEvents:!1,touchAction:so,enable:!0,inputTarget:null,inputClass:null,preset:[[At,{enable:!1}],[Nt,{enable:!1},["rotate"]],[Mt,{direction:he}],[ut,{direction:he},["swipe"]],[ft],[ft,{event:"doubletap",taps:2},["tap"]],[xt]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var gs=1,uo=2;function Bt(i,l){this.options=w({},Ee.defaults,l||{}),this.options.inputTarget=this.options.inputTarget||i,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=i,this.input=qi(this),this.touchAction=new Lt(this,this.options.touchAction),fo(this,!0),S(this.options.recognizers,function(f){var m=this.add(new f[0](f[1]));f[2]&&m.recognizeWith(f[2]),f[3]&&m.requireFailure(f[3])},this)}Bt.prototype={set:function(i){return w(this.options,i),i.touchAction&&this.touchAction.update(),i.inputTarget&&(this.input.destroy(),this.input.target=i.inputTarget,this.input.init()),this},stop:function(i){this.session.stopped=i?uo:gs},recognize:function(i){var l=this.session;if(!l.stopped){this.touchAction.preventDefaults(i);var f,m=this.recognizers,T=l.curRecognizer;(!T||T&&T.state&Te)&&(T=l.curRecognizer=null);for(var P=0;P<m.length;)f=m[P],l.stopped!==uo&&(!T||f==T||f.canRecognizeWith(T))?f.recognize(i):f.reset(),!T&&f.state&(se|Ae|Ce)&&(T=l.curRecognizer=f),P++}},get:function(i){if(i instanceof be)return i;for(var l=this.recognizers,f=0;f<l.length;f++)if(l[f].options.event==i)return l[f];return null},add:function(i){if(C(i,"add",this))return this;var l=this.get(i.options.event);return l&&this.remove(l),this.recognizers.push(i),i.manager=this,this.touchAction.update(),i},remove:function(i){if(C(i,"remove",this))return this;if(i=this.get(i),i){var l=this.recognizers,f=Z(l,i);f!==-1&&(l.splice(f,1),this.touchAction.update())}return this},on:function(i,l){if(i!==r&&l!==r){var f=this.handlers;return S(A(i),function(m){f[m]=f[m]||[],f[m].push(l)}),this}},off:function(i,l){if(i!==r){var f=this.handlers;return S(A(i),function(m){l?f[m]&&f[m].splice(Z(f[m],l),1):delete f[m]}),this}},emit:function(i,l){this.options.domEvents&&ys(i,l);var f=this.handlers[i]&&this.handlers[i].slice();if(!(!f||!f.length)){l.type=i,l.preventDefault=function(){l.srcEvent.preventDefault()};for(var m=0;m<f.length;)f[m](l),m++}},destroy:function(){this.element&&fo(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}};function fo(i,l){var f=i.element;if(f.style){var m;S(i.options.cssProps,function(T,P){m=H(f.style,P),l?(i.oldCssProps[m]=f.style[m],f.style[m]=T):f.style[m]=i.oldCssProps[m]||""}),l||(i.oldCssProps={})}}function ys(i,l){var f=o.createEvent("Event");f.initEvent(i,!0,!0),f.gesture=l,l.target.dispatchEvent(f)}w(Ee,{INPUT_START:V,INPUT_MOVE:re,INPUT_END:$,INPUT_CANCEL:g,STATE_POSSIBLE:ct,STATE_BEGAN:se,STATE_CHANGED:Ae,STATE_ENDED:Ce,STATE_RECOGNIZED:Te,STATE_CANCELLED:qe,STATE_FAILED:de,DIRECTION_NONE:nt,DIRECTION_LEFT:Ue,DIRECTION_RIGHT:ze,DIRECTION_UP:$e,DIRECTION_DOWN:He,DIRECTION_HORIZONTAL:he,DIRECTION_VERTICAL:Ie,DIRECTION_ALL:Gn,Manager:Bt,Input:ie,TouchAction:Lt,TouchInput:st,MouseInput:it,PointerEventInput:kt,TouchMouseInput:Ot,SingleTouchInput:to,Recognizer:be,AttrRecognizer:ce,Tap:ft,Pan:ut,Swipe:Mt,Pinch:Nt,Rotate:At,Press:xt,on:I,off:x,each:S,merge:R,extend:E,assign:w,inherit:F,bindFn:B,prefixed:H});var vs=typeof t<"u"?t:typeof self<"u"?self:{};vs.Hammer=Ee,typeof r=="function"&&r.amd?r(function(){return Ee}):e.exports?e.exports=Ee:t[n]=Ee})(window,document,"Hammer")})(Jt);var Zo=Jt.exports;const Ko=Ao(Zo);function en(){const e=document.documentElement;return{clientWidth:e.clientWidth,clientHeight:e.clientHeight,clientTop:e.clientTop,clientLeft:e.clientLeft,scrollWidth:e.scrollWidth,scrollHeight:e.scrollHeight,scrollTop:e.scrollTop,scrollLeft:e.scrollLeft,offsetWidth:e.offsetWidth,offsetHeight:e.offsetHeight,offsetTop:e.offsetTop,offsetLeft:e.offsetLeft,offsetParent:e.offsetParent}}function Jo(){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 tn(e){const{top:t,left:o,width:n,height:r}=e.getBoundingClientRect(),{scrollLeft:s,scrollTop:a}=en();return{x:o+s,y:t+a,width:n,height:r}}function nn(e){if("center"in e)return e.center;if(typeof e.pageX=="number"&&typeof e.pageY=="number")return{x:e.pageX,y:e.pageY};const{scrollLeft:t,scrollTop:o}=en();return{x:e.clientX+t,y:e.clientY+o}}function fe(e,t){const o={x:0,y:0};if(t){const n=nn(e),r=tn(t);o.x=n.x-r.x,o.y=n.y-r.y}else{let n=0,r=0;if("currentTarget"in e&&e.currentTarget&&e.target&&e.currentTarget!=e.target){const s=e.currentTarget.getBoundingClientRect(),a=e.target.getBoundingClientRect();n=a.left-s.left,r=a.top-s.top}if("offsetX"in e)o.x=e.offsetX+n,o.y=e.offsetY+r;else{const s=nn(e),a=tn(e.target);o.x=s.x-a.x+n,o.y=s.y-a.y+r}}return o}class er extends ht{container;width;height;mousePoint={x:0,y:0,dx:0,dy:0,dStartX:0,dStartY:0};hammer;removes=[];constructor(t=document.documentElement,o=!0,n){super(),this.container=t,this.width=t.offsetWidth,this.height=t.offsetHeight,this.hammer=new Ko(this.container),o&&this.start(n)}emitDebounce=Lo((t,...o)=>super.emit(t,...o),50);emit(t,...o){switch(t){case"panLeft":case"panRight":this.emitDebounce(t,...o);break;default:super.emit(t,...o);break}return this}start(t){this.registerMouseEventListeners(),this.registerTransitionEventListeners(),this.registerAnimationEventListeners(),this.registerResizeObserver(),t&&t.forEach(o=>{this.addRemoves(o())}),this.on("pointerMove",o=>{this.setMousePoint(fe(o,this.container))})}destroy(){this.removes.forEach(t=>t()),this.removes=[],this.removeAllListeners()}restart(){this.destroy(),this.start()}addRemoves(t){this.removes.push(t)}registerMouseEventListeners(){const t=g=>{this.emit("mouseDown",g)},o=g=>{this.emit("mouseUp",g)},n=g=>{this.emit("mouseMove",g)},r=g=>{this.emit("mouseOver",g)},s=g=>{this.emit("mouseOut",g)},a=g=>{this.emit("mouseEnter",g)},d=g=>{this.emit("mouseLeave",g)},u=g=>{this.emit("mouseClick",g)},h=g=>{this.emit("mouseDoubleClick",g)},p=g=>{this.emit("mouseWheel",g)},b=g=>{this.emit("mouseContextMenu",g)},C=g=>{this.emit("touchStart",g)},S=g=>{this.emit("touchEnd",g)},y=g=>{this.emit("touchCancel",g)},w=g=>{this.emit("touchMove",g)},E=g=>{this.emit("pointerDown",g)},R=g=>{this.emit("pointerUp",g)},F=g=>{this.emit("pointerCancel",g)},B=g=>{this.emit("pointerMove",g)},k=g=>{this.emit("pan",g)},D=g=>{this.emit("panStart",g)},I=g=>{this.emit("panMove",g)},x=g=>{this.emit("panEnd",g)},M=g=>{this.emit("panCancel",g)},z=g=>{this.emit("panLeft",g)},A=g=>{this.emit("panRight",g)},Z=g=>{this.emit("panUp",g)},oe=g=>{this.emit("panDown",g)},j=g=>{this.emit("pinch",g)},H=g=>{this.emit("press",g)},q=g=>{this.emit("rotate",g)},ve=g=>{this.emit("swipe",g)},Se=g=>{this.emit("swipeLeft",g)},Le=g=>{this.emit("swipeRight",g)},Pe=g=>{this.emit("swipeUp",g)},Ne=g=>{this.emit("swipeDown",g)},xe=g=>{this.emit("tap",g)},X=g=>{!g.target||this.container==g.target||this.container.contains(g.target)||this.emit("tapOutSide",g)},O=g=>{this.emit("inputChange",g,this.container.files)},v=g=>{this.emit("dragstart",g)},te=g=>{g.dataTransfer&&(g.dataTransfer.dropEffect="copy"),this.emit("dragover",g)},W=g=>{this.emit("dragenter",g)},V=g=>{this.emit("dragend",g)},re=g=>{g.dataTransfer,this.emit("drop",g,g.dataTransfer?.files||null)};this.container.addEventListener("mousedown",t,!1),this.container.addEventListener("mouseup",o,!1),this.container.addEventListener("mousemove",n,!1),this.container.addEventListener("mouseover",r,!1),this.container.addEventListener("mouseout",s,!1),this.container.addEventListener("mouseenter",a,!1),this.container.addEventListener("mouseleave",d,!1),this.container.addEventListener("click",u,!1),this.container.addEventListener("dblclick",h,!1),this.container.addEventListener("wheel",p,!1),this.container.addEventListener("contextmenu",b,!1),this.container.addEventListener("touchstart",C,!1),this.container.addEventListener("touchend",S,!1),this.container.addEventListener("touchcancel",y,!1),this.container.addEventListener("touchmove",w,!1),this.container.addEventListener("pointerdown",E,!1),this.container.addEventListener("pointerup",R,!1),this.container.addEventListener("pointercancel",F,!1),this.container.addEventListener("pointermove",B,!1),this.hammer.on("pan",k),this.hammer.on("panstart",D),this.hammer.on("panmove",I),this.hammer.on("panend",x),this.hammer.on("pancancel",M),this.hammer.on("panleft",z),this.hammer.on("panright",A),this.hammer.on("panup",Z),this.hammer.on("pandown",oe),this.hammer.on("pinch",j),this.hammer.on("press",H),this.hammer.on("rotate",q),this.hammer.on("swipe",ve),this.hammer.on("swipeleft",Se),this.hammer.on("swiperight",Le),this.hammer.on("swipeup",Pe),this.hammer.on("swipedown",Ne),this.hammer.on("tap",xe),document.addEventListener("pointerdown",X,!1),this.container instanceof HTMLInputElement&&this.container.addEventListener("change",O,!1),this.container.addEventListener("dragstart",v,!1),this.container.addEventListener("dragover",te,!1),this.container.addEventListener("dragenter",W,!1),this.container.addEventListener("dragend",V,!1),this.container.addEventListener("drop",re,!1);const $=()=>{this.container.removeEventListener("mousedown",t,!1),this.container.removeEventListener("mouseup",o,!1),this.container.removeEventListener("mousemove",n,!1),this.container.removeEventListener("mouseover",r,!1),this.container.removeEventListener("mouseout",s,!1),this.container.removeEventListener("mouseenter",a,!1),this.container.removeEventListener("mouseleave",d,!1),this.container.removeEventListener("click",u,!1),this.container.removeEventListener("dblclick",h,!1),this.container.removeEventListener("wheel",p,!1),this.container.removeEventListener("contextmenu",b,!1),this.container.removeEventListener("touchstart",C,!1),this.container.removeEventListener("touchend",S,!1),this.container.removeEventListener("touchcancel",y,!1),this.container.removeEventListener("touchmove",w,!1),this.container.removeEventListener("pointerdown",E,!1),this.container.removeEventListener("pointerup",R,!1),this.container.removeEventListener("pointercancel",F),this.container.removeEventListener("pointermove",B,!1),this.hammer.off("pan",k),this.hammer.off("panstart",D),this.hammer.off("panmove",I),this.hammer.off("panend",x),this.hammer.off("pancancel",M),this.hammer.off("panleft",z),this.hammer.off("panright",A),this.hammer.off("panup",Z),this.hammer.off("pandown",oe),this.hammer.off("pinch",j),this.hammer.off("press",H),this.hammer.off("rotate",q),this.hammer.off("swipe",ve),this.hammer.off("swipeleft",Se),this.hammer.off("swiperight",Le),this.hammer.off("swipeup",Pe),this.hammer.off("swipedown",Ne),this.hammer.off("tap",xe),document.removeEventListener("pointerdown",X,!1),document.removeEventListener("touchstart",X,!1),document.removeEventListener("mousedown",X,!1),this.container instanceof HTMLInputElement&&this.container.removeEventListener("change",O,!1),this.container.removeEventListener("dragstart",v,!1),this.container.removeEventListener("dragover",te,!1),this.container.removeEventListener("dragenter",W,!1),this.container.removeEventListener("dragend",V,!1),this.container.removeEventListener("drop",re,!1)};return this.addRemoves($),$}registerTransitionEventListeners(){const t=r=>{this.emit("transitionstart",r)},o=r=>{this.emit("transitionend",r)};this.container.addEventListener("transitionstart",t,!1),this.container.addEventListener("transitionend",o,!1);const n=()=>{this.container.removeEventListener("transitionstart",t,!1),this.container.removeEventListener("transitionend",o,!1)};return this.addRemoves(n),n}registerAnimationEventListeners(){const t=r=>{this.emit("animationstart",r)},o=r=>{this.emit("animationend",r)};this.container.addEventListener("animationstart",t,!1),this.container.addEventListener("animationend",o,!1);const n=()=>{this.container.removeEventListener("animationstart",t,!1),this.container.removeEventListener("animationend",o,!1)};return this.addRemoves(n),n}registerResizeObserver(){const{on:t,destroy:o}=Xo(this.container),n=t((s,a)=>{this.width=s,this.height=a,this.emit("resize",s,a)}),r=()=>{n(),o()};return this.addRemoves(r),r}registerPullDownRefresh(t){const o=t?.distance||50;return this.captureDrag({move:(n,r)=>{r.dStartY>0&&r.dStartY<o&&this.emit("pullDowning",r.dStartY)},end:(n,r)=>{r.dStartY>=o&&this.emit("pullDown")}})}registerPullUpLoading(t){const o=t?.distance||50;return this.captureDrag({move:(n,r)=>{r.dStartY>0&&r.dStartY<o&&this.emit("pullUping",r.dStartY)},end:(n,r)=>{r.dStartY>=o&&this.emit("pullUp")}})}setMousePoint(t){this.mousePoint.x=t.x,this.mousePoint.y=t.y,this.mousePoint.dx=typeof t.dx=="number"?t.dx:0,this.mousePoint.dy=typeof t.dy=="number"?t.dy:0,this.mousePoint.dStartX=typeof t.dStartX=="number"?t.dStartX:0,this.mousePoint.dStartY=typeof t.dStartY=="number"?t.dStartY:0}captureDrag(t){return this.captureDragUsePointer(t)}captureDragUsePointer(t){let o,n;const r=u=>{u.preventDefault(),u.stopPropagation(),this.on("pointerMove",a),this.on("pointerUp",s),this.on("pointerCancel",s),n=fe(u,this.container);const h={...n};o=h,this.setMousePoint(h),t?.start?.(u,h)},s=u=>{u.preventDefault(),u.stopPropagation(),this.off("pointerMove",a),this.off("pointerUp",s),this.off("pointerCancel",s),n=fe(u,this.container);const h={...n,dStartX:o?n.x-o.x:0,dStartY:o?n.y-o.y:0};this.setMousePoint(h),t?.end?.(u,h),o=null},a=u=>{u.preventDefault(),u.stopPropagation();const h={...n};n=fe(u,this.container);const p={...n,dx:n.x-(h.x||0),dy:n.y-(h.y||0),dStartX:o?n.x-o.x:0,dStartY:o?n.y-o.y:0};this.setMousePoint(p),t?.move?.(u,p)};this.on("pointerDown",r);const d=()=>{this.off("pointerDown",r)};return this.addRemoves(d),d}captureDragUseMouse(t){let o,n;const r=u=>{u.preventDefault(),u.stopPropagation(),document.addEventListener("mousemove",a,!1),document.addEventListener("mouseup",s,!1),n=fe(u,this.container);const h={...n};o=h,this.setMousePoint(h),t?.start?.(u,h)},s=u=>{u.preventDefault(),u.stopPropagation(),document.removeEventListener("mousemove",a,!1),document.removeEventListener("mouseup",s,!1),n=fe(u,this.container);const h={...n,dStartX:o?n.x-o.x:0,dStartY:o?n.y-o.y:0};this.setMousePoint(h),t?.end?.(u,h),o=null},a=u=>{u.preventDefault(),u.stopPropagation();const h={...n};n=fe(u,this.container);const p={...n,dx:n.x-(h.x||0),dy:n.y-(h.y||0),dStartX:o?n.x-o.x:0,dStartY:o?n.y-o.y:0};this.setMousePoint(p),t?.move?.(u,p)};this.on("mouseDown",r);const d=()=>{this.off("mouseDown",r)};return this.addRemoves(d),d}captureDragUseTouch(t){let o,n;const r=u=>{u.preventDefault(),u.stopPropagation(),this.on("touchMove",a),this.on("touchEnd",s),this.on("touchCancel",s);const h=u.changedTouches[0];n=fe(h,this.container);const p={...n};o=p,this.setMousePoint(p),t?.start?.(h,p)},s=u=>{u.preventDefault(),u.stopPropagation(),this.off("touchMove",a),this.off("touchEnd",s),this.off("touchCancel",s);const h=u.changedTouches[0];n=fe(h,this.container);const p={...n,dStartX:o?n.x-o.x:0,dStartY:o?n.y-o.y:0};this.setMousePoint(p),t?.end?.(h,p),o=null},a=u=>{u.preventDefault(),u.stopPropagation();const h=u.changedTouches[0],p={...n};n=fe(h,this.container);const b={...n,dx:n.x-(p.x||0),dy:n.y-(p.y||0),dStartX:o?n.x-o.x:0,dStartY:o?n.y-o.y:0};this.setMousePoint(b),t?.move?.(h,b)};this.on("touchStart",r);const d=()=>{this.off("touchStart",r)};return this.addRemoves(d),d}}function tr(e){return window.URL.createObjectURL(e)}const on=new Ht;async function nr(e,t=6e4){const o=typeof e=="string"?e:tr(e);return new Promise((n,r)=>{const s=on.get(o);if(s)return n(s);const a=document.createElement("img");a.onload=u=>{clearTimeout(d);const h=a.naturalWidth||a.width,p=a.naturalHeight||a.height,b={width:h,height:p,aspectRatio:h/p,element:a,imageData:Wo(a)};on.set(o,b),n(b),a.onerror=a.onload=null},a.onerror=u=>{clearTimeout(d),r(u)},a.src=o;const d=setTimeout(()=>{r("Timeout!")},t)})}function rn(e,t){return new RegExp("(?:^|\\s+)"+t+"(?:\\s+|$)").test(e.className)||!1}function sn(e){return{el:e,isRoot:()=>/(html|body)/i.test(e.tagName)||e===document.documentElement,isActive:()=>e===document.activeElement&&(e.type||e.href),getRemSize:function(){return parseFloat(getComputedStyle(document.documentElement).fontSize)},rem2px:function(t){return t*this.getRemSize()},getEmSize:function(){return e.parentElement?parseFloat(getComputedStyle(e.parentElement).fontSize):this.getRemSize()},nearestElement:()=>{let t=e;for(;t&&t.nodeType!==1&&t.parentElement;)t=t.parentElement;return t},parent:()=>e.parentElement,parents:function(t=e,o=[]){return!t||t.parentElement===null?o:this.parents(t.parentElement,o.concat([t]))},scrollParent:function(){const t=this.parents();for(let o=0,n=t.length;o<n;o++)if(/(auto|scroll)/.test(gt(t[o],"overflow")+gt(t[o],"overflow-y")+gt(t[o],"overflow-x")))return t[o];return document.scrollingElement||document.documentElement},contains:t=>e.contains?e!=t&&e.contains(t):!!(e.compareDocumentPosition(t)&16),siblings:()=>Array.prototype.slice.call(e.parentElement?.children).filter(t=>t!==e),nextElementSibling:()=>e.nextElementSibling,previousElementSibling:()=>e.previousElementSibling,closest:t=>e.closest(t),shadowRoot:()=>e.shadowRoot,isInput:()=>e.tagName==="INPUT"||e instanceof HTMLInputElement,isSelect:()=>e.tagName==="SELECT"||e instanceof HTMLSelectElement,isTextArea:()=>e.tagName==="TEXTAREA"||e instanceof HTMLTextAreaElement,isInputCheckbox:function(){return this.isInput(e)&&e.getAttribute("type")==="checkbox"},isInputRadio:function(){return this.isInput(e)&&e.getAttribute("type")==="radio"},isInputText:function(){return this.isInput(e)&&e.getAttribute("type")==="text"},isInputNumber:function(){return this.isInput(e)&&e.getAttribute("type")==="number"},changeSelected:function(t){if(this.isSelect()){const o=e.options;for(let n=0,r=o.length;n<r;n++)o[n].selected=o[n].value==t}},changeRadioChecked:function(t){if(this.isInputRadio()){const o=document.getElementsByName(e.name);for(let n=0,r=o.length;n<r;n++){const s=o[n];s.checked=s.value==t}}},changeCheckboxChecked:function(t){this.isInputCheckbox()&&(e.checked=t)},insert:(t,o="append")=>{typeof t=="string"?e[o](or(t)):e[o](t)},html:function(t){if(typeof t=="string"){e.innerHTML=t;const o=an(e);o!=e&&(e=o)}else this.insert(t,"replaceWith")},empty:function(){this.html("")},text:t=>{e.textContent=t},getInnerText:()=>{if(e instanceof SVGElement)return"";let t=e.innerText;if(!t){const o=e.querySelector("slot")?.assignedNodes()||[];let n=0;for(;!t&&n<=o.length-1;)"innerText"in o[n]&&(t=o[n].innerText),n++}return t},remove:()=>e.remove()}}function or(e){const t=document.createElement("template");return t.innerHTML=e,t.content.childNodes.forEach(o=>{const n=an(o);n!=o&&t.content.replaceChild(n,o)}),t.content}function an(e){return e.tagName=="SCRIPT"&&(e=cn(e)),e.querySelectorAll&&e.querySelectorAll("script").forEach(t=>{t.parentNode?.replaceChild(cn(t),t)}),e}function cn(e){const t=e.ownerDocument.createElement("script");t.text=e.text;const o=e.attributes;for(let n=0,r=o.length;n<r;n++)t.setAttribute(o[n].name,o[n].value);return t}async function rr(e){if(navigator.clipboard)return await navigator.clipboard.writeText(e);{const t=document.createElement("textarea");return t.value=e,t.style.opacity="0",t.style.position="fixed",t.style.top="0",t.style.left="0",t.focus(),t.select(),document.execCommand("copy")}}function ir(e,t={},o=[],n){return{tag:e,props:t,children:o,el:n}}function ln(e){return ir(e.tagName,Yo(e),Array.from(e.children).map(t=>ln(t)),e)}const sr={class:"page"},ar={class:"page-header"},cr={class:"page-main"},lr={class:"page-main-scroll"},ur={class:"page-footer"},fr={class:"page-global"},hr=c.defineComponent({customOptions:{},inheritAttrs:!0,__name:"LayoutPage",setup(e,{expose:t}){return t({}),(o,n)=>(c.openBlock(),c.createElementBlock("div",sr,[c.createElementVNode("div",ar,[c.renderSlot(o.$slots,"header",{},void 0,!0)]),c.createElementVNode("div",cr,[c.createElementVNode("div",lr,[c.renderSlot(o.$slots,"default",{},void 0,!0)])]),c.createElementVNode("div",ur,[c.renderSlot(o.$slots,"footer",{},void 0,!0)]),c.createElementVNode("div",fr,[c.renderSlot(o.$slots,"global",{},void 0,!0)])]))}}),bs="",ye=(e,t)=>{const o=e.__vccOpts||e;for(const[n,r]of t)o[n]=r;return o},Oe=ye(hr,[["__scopeId","data-v-3c77fd20"]]),dr={class:"view-document"},mr=["src"],pr=c.defineComponent({inheritAttrs:!0,customOptions:{LayoutPage:Oe},__name:"ViewDocument",props:{src:{default:""},title:{default:""}},setup(e){const t=e,o=pe.useRoute();qo(typeof o.params.title=="string"?o.params.title:t.title);const n=decodeURIComponent(typeof o.params.src=="string"?o.params.src:t.src);return(r,s)=>(c.openBlock(),c.createBlock(Oe,null,{default:c.withCtx(()=>[c.createElementVNode("div",dr,[c.createElementVNode("img",{class:"img",src:c.unref(n)},null,8,mr)])]),_:1}))}}),Es="",un=ye(pr,[["__scopeId","data-v-786ac2a3"]]),fn=/^[a-z0-9]+(-[a-z0-9]+)*$/,We=(e,t,o,n="")=>{const r=e.split(":");if(e.slice(0,1)==="@"){if(r.length<2||r.length>3)return null;n=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const d=r.pop(),u=r.pop(),h={provider:r.length>0?r[0]:n,prefix:u,name:d};return t&&!Qe(h)?null:h}const s=r[0],a=s.split("-");if(a.length>1){const d={provider:n,prefix:a.shift(),name:a.join("-")};return t&&!Qe(d)?null:d}if(o&&n===""){const d={provider:n,prefix:"",name:s};return t&&!Qe(d,o)?null:d}return null},Qe=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1,hn=Object.freeze({left:0,top:0,width:16,height:16}),Ze=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Ke=Object.freeze({...hn,...Ze}),vt=Object.freeze({...Ke,body:"",hidden:!1});function gr(e,t){const o={};!e.hFlip!=!t.hFlip&&(o.hFlip=!0),!e.vFlip!=!t.vFlip&&(o.vFlip=!0);const n=((e.rotate||0)+(t.rotate||0))%4;return n&&(o.rotate=n),o}function dn(e,t){const o=gr(e,t);for(const n in vt)n in Ze?n in e&&!(n in o)&&(o[n]=Ze[n]):n in t?o[n]=t[n]:n in e&&(o[n]=e[n]);return o}function yr(e,t){const o=e.icons,n=e.aliases||Object.create(null),r=Object.create(null);function s(a){if(o[a])return r[a]=[];if(!(a in r)){r[a]=null;const d=n[a]&&n[a].parent,u=d&&s(d);u&&(r[a]=[d].concat(u))}return r[a]}return Object.keys(o).concat(Object.keys(n)).forEach(s),r}function vr(e,t,o){const n=e.icons,r=e.aliases||Object.create(null);let s={};function a(d){s=dn(n[d]||r[d],s)}return a(t),o.forEach(a),dn(e,s)}function mn(e,t){const o=[];if(typeof e!="object"||typeof e.icons!="object")return o;e.not_found instanceof Array&&e.not_found.forEach(r=>{t(r,null),o.push(r)});const n=yr(e);for(const r in n){const s=n[r];s&&(t(r,vr(e,r,s)),o.push(r))}return o}const Tr={provider:"",aliases:{},not_found:{},...hn};function Tt(e,t){for(const o in t)if(o in e&&typeof e[o]!=typeof t[o])return!1;return!0}function pn(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Tt(e,Tr))return null;const o=t.icons;for(const r in o){const s=o[r];if(!r||typeof s.body!="string"||!Tt(s,vt))return null}const n=t.aliases||Object.create(null);for(const r in n){const s=n[r],a=s.parent;if(!r||typeof a!="string"||!o[a]&&!n[a]||!Tt(s,vt))return null}return t}const gn=Object.create(null);function br(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Re(e,t){const o=gn[e]||(gn[e]=Object.create(null));return o[t]||(o[t]=br(e,t))}function yn(e,t){return pn(t)?mn(t,(o,n)=>{n?e.icons[o]=n:e.missing.add(o)}):[]}function Er(e,t,o){try{if(typeof o.body=="string")return e.icons[t]={...o},!0}catch{}return!1}let Me=!1;function vn(e){return typeof e=="boolean"&&(Me=e),Me}function _r(e){const t=typeof e=="string"?We(e,!0,Me):e;if(t){const o=Re(t.provider,t.prefix),n=t.name;return o.icons[n]||(o.missing.has(n)?null:void 0)}}function Cr(e,t){const o=We(e,!0,Me);if(!o)return!1;const n=Re(o.provider,o.prefix);return t?Er(n,o.name,t):(n.missing.add(o.name),!0)}function wr(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Me&&!t&&!e.prefix){let r=!1;return pn(e)&&(e.prefix="",mn(e,(s,a)=>{Cr(s,a)&&(r=!0)})),r}const o=e.prefix;if(!Qe({provider:t,prefix:o,name:"a"}))return!1;const n=Re(t,o);return!!yn(n,e)}const Tn=Object.freeze({width:null,height:null}),bn=Object.freeze({...Tn,...Ze}),Sr=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Pr=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function En(e,t,o){if(t===1)return e;if(o=o||100,typeof e=="number")return Math.ceil(e*t*o)/o;if(typeof e!="string")return e;const n=e.split(Sr);if(n===null||!n.length)return e;const r=[];let s=n.shift(),a=Pr.test(s);for(;;){if(a){const d=parseFloat(s);isNaN(d)?r.push(s):r.push(Math.ceil(d*t*o)/o)}else r.push(s);if(s=n.shift(),s===void 0)return r.join("");a=!a}}function Ir(e,t="defs"){let o="";const n=e.indexOf("<"+t);for(;n>=0;){const r=e.indexOf(">",n),s=e.indexOf("</"+t);if(r===-1||s===-1)break;const a=e.indexOf(">",s);if(a===-1)break;o+=e.slice(r+1,s).trim(),e=e.slice(0,n).trim()+e.slice(a+1)}return{defs:o,content:e}}function Fr(e,t){return e?"<defs>"+e+"</defs>"+t:t}function kr(e,t,o){const n=Ir(e);return Fr(n.defs,t+n.content+o)}const Or=e=>e==="unset"||e==="undefined"||e==="none";function Rr(e,t){const o={...Ke,...e},n={...bn,...t},r={left:o.left,top:o.top,width:o.width,height:o.height};let s=o.body;[o,n].forEach(w=>{const E=[],R=w.hFlip,F=w.vFlip;let B=w.rotate;R?F?B+=2:(E.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),E.push("scale(-1 1)"),r.top=r.left=0):F&&(E.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),E.push("scale(1 -1)"),r.top=r.left=0);let k;switch(B<0&&(B-=Math.floor(B/4)*4),B=B%4,B){case 1:k=r.height/2+r.top,E.unshift("rotate(90 "+k.toString()+" "+k.toString()+")");break;case 2:E.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:k=r.width/2+r.left,E.unshift("rotate(-90 "+k.toString()+" "+k.toString()+")");break}B%2===1&&(r.left!==r.top&&(k=r.left,r.left=r.top,r.top=k),r.width!==r.height&&(k=r.width,r.width=r.height,r.height=k)),E.length&&(s=kr(s,'<g transform="'+E.join(" ")+'">',"</g>"))});const a=n.width,d=n.height,u=r.width,h=r.height;let p,b;a===null?(b=d===null?"1em":d==="auto"?h:d,p=En(b,u/h)):(p=a==="auto"?u:a,b=d===null?En(p,h/u):d==="auto"?h:d);const C={},S=(w,E)=>{Or(E)||(C[w]=E.toString())};S("width",p),S("height",b);const y=[r.left,r.top,u,h];return C.viewBox=y.join(" "),{attributes:C,viewBox:y,body:s}}const Lr=/\sid="(\S+)"/g,Nr="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let xr=0;function Ar(e,t=Nr){const o=[];let n;for(;n=Lr.exec(e);)o.push(n[1]);if(!o.length)return e;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return o.forEach(s=>{const a=typeof t=="function"?t(s):t+(xr++).toString(),d=s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+d+')([")]|\\.[a-z])',"g"),"$1"+a+r+"$3")}),e=e.replace(new RegExp(r,"g"),""),e}const bt=Object.create(null);function Mr(e,t){bt[e]=t}function Et(e){return bt[e]||bt[""]}function _t(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const Ct=Object.create(null),Be=["https://api.simplesvg.com","https://api.unisvg.com"],Je=[];for(;Be.length>0;)Be.length===1||Math.random()>.5?Je.push(Be.shift()):Je.push(Be.pop());Ct[""]=_t({resources:["https://api.iconify.design"].concat(Je)});function Br(e,t){const o=_t(t);return o===null?!1:(Ct[e]=o,!0)}function wt(e){return Ct[e]}let _n=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function Vr(e,t){const o=wt(e);if(!o)return 0;let n;if(!o.maxURL)n=0;else{let r=0;o.resources.forEach(a=>{r=Math.max(r,a.length)});const s=t+".json?icons=";n=o.maxURL-r-o.path.length-s.length}return n}function Dr(e){return e===404}const Ur=(e,t,o)=>{const n=[],r=Vr(e,t),s="icons";let a={type:s,provider:e,prefix:t,icons:[]},d=0;return o.forEach((u,h)=>{d+=u.length+1,d>=r&&h>0&&(n.push(a),a={type:s,provider:e,prefix:t,icons:[]},d=u.length),a.icons.push(u)}),n.push(a),n};function zr(e){if(typeof e=="string"){const t=wt(e);if(t)return t.path}return"/"}const $r={prepare:Ur,send:(e,t,o)=>{if(!_n){o("abort",424);return}let n=zr(t.provider);switch(t.type){case"icons":{const s=t.prefix,d=t.icons.join(","),u=new URLSearchParams({icons:d});n+=s+".json?"+u.toString();break}case"custom":{const s=t.uri;n+=s.slice(0,1)==="/"?s.slice(1):s;break}default:o("abort",400);return}let r=503;_n(e+n).then(s=>{const a=s.status;if(a!==200){setTimeout(()=>{o(Dr(a)?"abort":"next",a)});return}return r=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?o("abort",s):o("next",r)});return}setTimeout(()=>{o("success",s)})}).catch(()=>{o("next",r)})}};function Hr(e){const t={loaded:[],missing:[],pending:[]},o=Object.create(null);e.sort((r,s)=>r.provider!==s.provider?r.provider.localeCompare(s.provider):r.prefix!==s.prefix?r.prefix.localeCompare(s.prefix):r.name.localeCompare(s.name));let n={provider:"",prefix:"",name:""};return e.forEach(r=>{if(n.name===r.name&&n.prefix===r.prefix&&n.provider===r.provider)return;n=r;const s=r.provider,a=r.prefix,d=r.name,u=o[s]||(o[s]=Object.create(null)),h=u[a]||(u[a]=Re(s,a));let p;d in h.icons?p=t.loaded:a===""||h.missing.has(d)?p=t.missing:p=t.pending;const b={provider:s,prefix:a,name:d};p.push(b)}),t}function Cn(e,t){e.forEach(o=>{const n=o.loaderCallbacks;n&&(o.loaderCallbacks=n.filter(r=>r.id!==t))})}function jr(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let o=!1;const n=e.provider,r=e.prefix;t.forEach(s=>{const a=s.icons,d=a.pending.length;a.pending=a.pending.filter(u=>{if(u.prefix!==r)return!0;const h=u.name;if(e.icons[h])a.loaded.push({provider:n,prefix:r,name:h});else if(e.missing.has(h))a.missing.push({provider:n,prefix:r,name:h});else return o=!0,!0;return!1}),a.pending.length!==d&&(o||Cn([e],s.id),s.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),s.abort))})}))}let Yr=0;function qr(e,t,o){const n=Yr++,r=Cn.bind(null,o,n);if(!t.pending.length)return r;const s={id:n,icons:t,callback:e,abort:r};return o.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(s)}),r}function Gr(e,t=!0,o=!1){const n=[];return e.forEach(r=>{const s=typeof r=="string"?We(r,t,o):r;s&&n.push(s)}),n}var Xr={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Wr(e,t,o,n){const r=e.resources.length,s=e.random?Math.floor(Math.random()*r):e.index;let a;if(e.random){let I=e.resources.slice(0);for(a=[];I.length>1;){const x=Math.floor(Math.random()*I.length);a.push(I[x]),I=I.slice(0,x).concat(I.slice(x+1))}a=a.concat(I)}else a=e.resources.slice(s).concat(e.resources.slice(0,s));const d=Date.now();let u="pending",h=0,p,b=null,C=[],S=[];typeof n=="function"&&S.push(n);function y(){b&&(clearTimeout(b),b=null)}function w(){u==="pending"&&(u="aborted"),y(),C.forEach(I=>{I.status==="pending"&&(I.status="aborted")}),C=[]}function E(I,x){x&&(S=[]),typeof I=="function"&&S.push(I)}function R(){return{startTime:d,payload:t,status:u,queriesSent:h,queriesPending:C.length,subscribe:E,abort:w}}function F(){u="failed",S.forEach(I=>{I(void 0,p)})}function B(){C.forEach(I=>{I.status==="pending"&&(I.status="aborted")}),C=[]}function k(I,x,M){const z=x!=="success";switch(C=C.filter(A=>A!==I),u){case"pending":break;case"failed":if(z||!e.dataAfterTimeout)return;break;default:return}if(x==="abort"){p=M,F();return}if(z){p=M,C.length||(a.length?D():F());return}if(y(),B(),!e.random){const A=e.resources.indexOf(I.resource);A!==-1&&A!==e.index&&(e.index=A)}u="completed",S.forEach(A=>{A(M)})}function D(){if(u!=="pending")return;y();const I=a.shift();if(I===void 0){if(C.length){b=setTimeout(()=>{y(),u==="pending"&&(B(),F())},e.timeout);return}F();return}const x={status:"pending",resource:I,callback:(M,z)=>{k(x,M,z)}};C.push(x),h++,b=setTimeout(D,e.rotate),o(I,t,x.callback)}return setTimeout(D),R}function wn(e){const t={...Xr,...e};let o=[];function n(){o=o.filter(d=>d().status==="pending")}function r(d,u,h){const p=Wr(t,d,u,(b,C)=>{n(),h&&h(b,C)});return o.push(p),p}function s(d){return o.find(u=>d(u))||null}return{query:r,find:s,setIndex:d=>{t.index=d},getIndex:()=>t.index,cleanup:n}}function Sn(){}const St=Object.create(null);function Qr(e){if(!St[e]){const t=wt(e);if(!t)return;const o=wn(t),n={config:t,redundancy:o};St[e]=n}return St[e]}function Zr(e,t,o){let n,r;if(typeof e=="string"){const s=Et(e);if(!s)return o(void 0,424),Sn;r=s.send;const a=Qr(e);a&&(n=a.redundancy)}else{const s=_t(e);if(s){n=wn(s);const a=e.resources?e.resources[0]:"",d=Et(a);d&&(r=d.send)}}return!n||!r?(o(void 0,424),Sn):n.query(t,r,o)().abort}function Pn(){}function Kr(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,jr(e)}))}function Jr(e){const t=[],o=[];return e.forEach(n=>{(n.match(fn)?t:o).push(n)}),{valid:t,invalid:o}}function Ve(e,t,o){function n(){const r=e.pendingIcons;t.forEach(s=>{r&&r.delete(s),e.icons[s]||e.missing.add(s)})}if(o&&typeof o=="object")try{if(!yn(e,o).length){n();return}}catch(r){console.error(r)}n(),Kr(e)}function In(e,t){e instanceof Promise?e.then(o=>{t(o)}).catch(()=>{t(null)}):t(e)}function ei(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:o,prefix:n}=e,r=e.iconsToLoad;if(delete e.iconsToLoad,!r||!r.length)return;const s=e.loadIcon;if(e.loadIcons&&(r.length>1||!s)){In(e.loadIcons(r,n,o),p=>{Ve(e,r,p)});return}if(s){r.forEach(p=>{const b=s(p,n,o);In(b,C=>{const S=C?{prefix:n,icons:{[p]:C}}:null;Ve(e,[p],S)})});return}const{valid:a,invalid:d}=Jr(r);if(d.length&&Ve(e,d,null),!a.length)return;const u=n.match(fn)?Et(o):null;if(!u){Ve(e,a,null);return}u.prepare(o,n,a).forEach(p=>{Zr(o,p,b=>{Ve(e,p.icons,b)})})}))}const ti=(e,t)=>{const o=Gr(e,!0,vn()),n=Hr(o);if(!n.pending.length){let u=!0;return t&&setTimeout(()=>{u&&t(n.loaded,n.missing,n.pending,Pn)}),()=>{u=!1}}const r=Object.create(null),s=[];let a,d;return n.pending.forEach(u=>{const{provider:h,prefix:p}=u;if(p===d&&h===a)return;a=h,d=p,s.push(Re(h,p));const b=r[h]||(r[h]=Object.create(null));b[p]||(b[p]=[])}),n.pending.forEach(u=>{const{provider:h,prefix:p,name:b}=u,C=Re(h,p),S=C.pendingIcons||(C.pendingIcons=new Set);S.has(b)||(S.add(b),r[h][p].push(b))}),s.forEach(u=>{const h=r[u.provider][u.prefix];h.length&&ei(u,h)}),t?qr(t,n,s):Pn};function ni(e,t){const o={...e};for(const n in t){const r=t[n],s=typeof r;n in Tn?(r===null||r&&(s==="string"||s==="number"))&&(o[n]=r):s===typeof o[n]&&(o[n]=n==="rotate"?r%4:r)}return o}const oi=/[\s,]+/;function ri(e,t){t.split(oi).forEach(o=>{switch(o.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function ii(e,t=0){const o=e.replace(/^-?[0-9.]*/,"");function n(r){for(;r<0;)r+=4;return r%4}if(o===""){const r=parseInt(e);return isNaN(r)?0:n(r)}else if(o!==e){let r=0;switch(o){case"%":r=25;break;case"deg":r=90}if(r){let s=parseFloat(e.slice(0,e.length-o.length));return isNaN(s)?0:(s=s/r,s%1===0?n(s):0)}}return t}function si(e,t){let o=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const n in t)o+=" "+n+'="'+t[n]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+o+">"+e+"</svg>"}function ai(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function ci(e){return"data:image/svg+xml,"+ai(e)}function li(e){return'url("'+ci(e)+'")'}const Fn={...bn,inline:!1},ui={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},fi={display:"inline-block"},Pt={backgroundColor:"currentColor"},kn={backgroundColor:"transparent"},On={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Rn={webkitMask:Pt,mask:Pt,background:kn};for(const e in Rn){const t=Rn[e];for(const o in On)t[e+o]=On[o]}const et={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";et[e+"-flip"]=t,et[e.slice(0,1)+"-flip"]=t,et[e+"Flip"]=t});function Ln(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Nn=(e,t)=>{const o=ni(Fn,t),n={...ui},r=t.mode||"svg",s={},a=t.style,d=typeof a=="object"&&!(a instanceof Array)?a:{};for(let w in t){const E=t[w];if(E!==void 0)switch(w){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":o[w]=E===!0||E==="true"||E===1;break;case"flip":typeof E=="string"&&ri(o,E);break;case"color":s.color=E;break;case"rotate":typeof E=="string"?o[w]=ii(E):typeof E=="number"&&(o[w]=E);break;case"ariaHidden":case"aria-hidden":E!==!0&&E!=="true"&&delete n["aria-hidden"];break;default:{const R=et[w];R?(E===!0||E==="true"||E===1)&&(o[R]=!0):Fn[w]===void 0&&(n[w]=E)}}}const u=Rr(e,o),h=u.attributes;if(o.inline&&(s.verticalAlign="-0.125em"),r==="svg"){n.style={...s,...d},Object.assign(n,h);let w=0,E=t.id;return typeof E=="string"&&(E=E.replace(/-/g,"_")),n.innerHTML=Ar(u.body,E?()=>E+"ID"+w++:"iconifyVue"),c.h("svg",n)}const{body:p,width:b,height:C}=e,S=r==="mask"||(r==="bg"?!1:p.indexOf("currentColor")!==-1),y=si(p,{...h,width:b+"",height:C+""});return n.style={...s,"--svg":li(y),width:Ln(h.width),height:Ln(h.height),...fi,...S?Pt:kn,...d},c.h("span",n)};if(vn(!0),Mr("",$r),typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,o="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(n=>{try{(typeof n!="object"||n===null||n instanceof Array||typeof n.icons!="object"||typeof n.prefix!="string"||!wr(n))&&console.error(o)}catch{console.error(o)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let o in t){const n="IconifyProviders["+o+"] is invalid.";try{const r=t[o];if(typeof r!="object"||!r||r.resources===void 0)continue;Br(o,r)||console.error(n)}catch{console.error(n)}}}}const hi={...Ke,body:""},di=c.defineComponent({inheritAttrs:!1,data(){return{_name:"",_loadingIcon:null,iconMounted:!1,counter:0}},mounted(){this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(e,t,o){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let n;if(typeof e!="string"||(n=We(e,!1,!0))===null)return this.abortLoading(),null;let r=_r(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:ti([n],()=>{this.counter++})})),null;if(this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e)),o){r=Object.assign({},r);const a=o(r.body,n.name,n.prefix,n.provider);typeof a=="string"&&(r.body=a)}const s=["iconify"];return n.prefix!==""&&s.push("iconify--"+n.prefix),n.provider!==""&&s.push("iconify--"+n.provider),{data:r,classes:s}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted||e.ssr?this.getIcon(e.icon,e.onLoad,e.customise):null;if(!t)return Nn(hi,e);let o=e;return t.classes&&(o={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),Nn({...Ke,...t.data},o)}}),xn=c.defineComponent({__name:"Icon",props:{icon:{default:"mdi-light:home"},color:{default:ue.colorPrimary}},setup(e){const t=e;return(o,n)=>(c.openBlock(),c.createElementBlock("span",{class:"icon",style:c.normalizeStyle(["color: "+o.color,"display: inline-flex","justify-content: center","align-items: center","cursor: pointer","font-size: 1em"])},[c.createVNode(c.unref(di),{icon:t.icon,color:o.color},null,8,["icon","color"])],4))}}),mi={class:"loading-11",ref:"loading11"},pi={class:"container container-1"},gi={class:"container container-2"},yi={class:"container container-3"},vi=c.defineComponent({__name:"Loading11",props:{color:{default:ue.colorPrimary},width:{default:"0.8em"}},setup(e){const t=e;return(o,n)=>(c.openBlock(),c.createElementBlock("div",mi,[c.createElementVNode("div",{class:"loading-11-inner",style:c.normalizeStyle({width:t.width,height:t.width})},[c.createElementVNode("div",pi,[c.createElementVNode("div",{class:"dot dot-1",style:c.normalizeStyle({backgroundColor:t.color})},null,4),c.createElementVNode("div",{class:"dot dot-2",style:c.normalizeStyle({backgroundColor:t.color})},null,4),c.createElementVNode("div",{class:"dot dot-3",style:c.normalizeStyle({backgroundColor:t.color})},null,4),c.createElementVNode("div",{class:"dot dot-4",style:c.normalizeStyle({backgroundColor:t.color})},null,4)]),c.createElementVNode("div",gi,[c.createElementVNode("div",{class:"dot dot-1",style:c.normalizeStyle({backgroundColor:t.color})},null,4),c.createElementVNode("div",{class:"dot dot-2",style:c.normalizeStyle({backgroundColor:t.color})},null,4),c.createElementVNode("div",{class:"dot dot-3",style:c.normalizeStyle({backgroundColor:t.color})},null,4),c.createElementVNode("div",{class:"dot dot-4",style:c.normalizeStyle({backgroundColor:t.color})},null,4)]),c.createElementVNode("div",yi,[c.createElementVNode("div",{class:"dot dot-1",style:c.normalizeStyle({backgroundColor:t.color})},null,4),c.createElementVNode("div",{class:"dot dot-2",style:c.normalizeStyle({backgroundColor:t.color})},null,4),c.createElementVNode("div",{class:"dot dot-3",style:c.normalizeStyle({backgroundColor:t.color})},null,4),c.createElementVNode("div",{class:"dot dot-4",style:c.normalizeStyle({backgroundColor:t.color})},null,4)])],4)],512))}}),ws="",An=ye(vi,[["__scopeId","data-v-f95fac77"]]),Ti={key:0,class:"loading",style:{"margin-right":"6px"}},Mn=c.defineComponent({customOptions:{Loading11:An},inheritAttrs:!0,__name:"Button",props:{label:{},icon:{},iconPosition:{default:"left"},disabled:{type:Boolean,default:!1},width:{default:"auto"},height:{default:"44px"},padding:{default:"20px"},fontSize:{default:"14px"},borderRadius:{default:"4px"},stylePattern:{default:"fullfilled"},borderColor:{},bgColor:{},fontColor:{},asyncClick:{}},emits:["yz-click","click"],setup(e,{expose:t,emit:o}){const n=e,r=o,s=c.ref(),a=c.ref(n.borderColor),d=c.ref(n.bgColor),u=c.ref(n.fontColor),h=c.ref(n.borderColor),p=c.ref(n.bgColor);function b(k){switch(k){case"outline":a.value=n.borderColor??ue.colorPrimary,d.value=n.bgColor??ue.colorGrayFF,u.value=n.fontColor??ue.colorPrimary,h.value=a.value,p.value=d.value;break;case"fullfilled":default:a.value=n.borderColor??ue.colorPrimary,d.value=n.bgColor??ue.colorPrimary,u.value=n.fontColor??ue.colorGrayFF,h.value=a.value,p.value=d.value;break}}c.watch(()=>n.stylePattern,()=>{b(n.stylePattern)},{immediate:!0});const C=c.ref(n.disabled?"0.6":"1"),S=c.ref(n.disabled?"not-allowed":"pointer");let y=!1;const w=()=>{n.disabled||(y=!0,a.value=Xe(h.value).lighten(.05).toString(),d.value=Xe(p.value).lighten(.05).toString())},E=()=>{n.disabled||(y=!1,a.value=h.value,d.value=p.value)},R=c.ref(!1),B=Ro(()=>{n.disabled||R.value||(a.value=Xe(h.value).darken(.1).toString(),d.value=Xe(p.value).darken(.1).toString(),setTimeout(()=>{y?w():E()},150),r("yz-click"),r("click"),n.asyncClick&&(R.value=!0,n.asyncClick().then(()=>{R.value=!1}).catch(()=>{R.value=!1})))},300);return t({el:s}),(k,D)=>(c.openBlock(),c.createElementBlock("div",{ref_key:"el",ref:s,class:"button",style:c.normalizeStyle([`opacity: ${C.value}`,`border: 1px solid ${a.value}`,`background-color: ${d.value}`,`color: ${u.value}`,`border-radius: ${n.borderRadius}`,`width: ${n.width}`,`height: ${n.height}`,`line-height: ${n.height}`,`font-size: ${n.fontSize}`,`cursor: ${S.value}`,"user-select: none","box-sizing: border-box","display: inline-flex","justify-content: center","align-items: center","z-index: 0"]),onMouseover:w,onMouseleave:E,onClick:D[0]||(D[0]=(...I)=>c.unref(B)&&c.unref(B)(...I))},[c.createElementVNode("label",{class:"label truncate",style:c.normalizeStyle({padding:"0 "+k.padding,cursor:S.value,display:"inline-flex",justifyContent:"center",alignItems:"center"})},[R.value?(c.openBlock(),c.createElementBlock("div",Ti,[c.createVNode(An,{color:u.value},null,8,["color"])])):c.createCommentVNode("",!0),c.renderSlot(k.$slots,"default",{},()=>[k.icon&&k.iconPosition==="left"?(c.openBlock(),c.createBlock(xn,{key:0,icon:k.icon,color:u.value,style:c.normalizeStyle({marginRight:c.unref(ue).d4,cursor:S.value})},null,8,["icon","color","style"])):c.createCommentVNode("",!0),c.createElementVNode("span",{style:c.normalizeStyle({cursor:S.value})},c.toDisplayString(k.label),5),k.icon&&k.iconPosition==="right"?(c.openBlock(),c.createBlock(xn,{key:1,icon:k.icon,color:u.value,style:c.normalizeStyle({marginLeft:c.unref(ue).d4,cursor:S.value})},null,8,["icon","color","style"])):c.createCommentVNode("",!0)])],4)],36))}}),bi={class:"xg-footer-inner"},Ei=c.defineComponent({customOptions:{Button:Mn},inheritAttrs:!0,__name:"Footer",setup(e){const t=pe.useRouter();function o(){t.push("/park")}const n=c.ref("0px");let r;return c.onMounted(()=>{r=Go.onBottom(s=>{n.value=s})}),c.onUnmounted(()=>{r?.()}),(s,a)=>(c.openBlock(),c.createElementBlock("div",{class:"xg-footer",style:c.normalizeStyle({paddingBottom:n.value})},[c.createElementVNode("div",bi,[c.createVNode(Mn,{label:"去支付",width:"100%",onClick:o})])],4))}}),Ss="",Bn=ye(Ei,[["__scopeId","data-v-47056f4a"]]),_i={class:"text"},Ci=c.defineComponent({customOptions:{},inheritAttrs:!0,__name:"PlateDisplay",props:{plate:{},plateType:{},displayType:{default:"chinese"}},setup(e,{expose:t,emit:o}){const n=e,r=[{name:"蓝牌",style:{"background-color":"#0078f0",color:"#ffffff"}},{name:"绿牌",style:{"background-color":"#00f08c",color:"#000000"}},{name:"黄牌",style:{"background-color":"#fac800",color:"#000000"}},{name:"黄绿",style:{background:"linear-gradient(90deg, #fac800 51.5%, #00f08c 51.51%)",color:"#000000"}},{name:"黑牌",style:{"background-color":"#222222",color:"#ffffff"}},{name:"白牌",style:{"background-color":"#ffffff",color:"#000000",border:"1px solid #999999"}},{name:"未知",style:{"background-color":"#cccccc",color:"#ffffff"}}];function s(h){switch(h){case"b":case"蓝牌":h="蓝牌";break;case"g":case"绿牌":h="绿牌";break;case"y":case"黄牌":h="黄牌";break;case"q":case"黄绿":h="黄绿";break;case"d":case"黑牌":h="黑牌";break;case"w":case"白牌":h="白牌";break;default:h="未知";break}const p=r.filter(b=>b.name===h);return p.length?p[0]:s("未知")}const a=c.ref(s(n.plateType||"")),d=c.ref(),u=c.ref(14);return c.onMounted(()=>{u.value=sn(d.value).getEmSize()}),t({}),(h,p)=>(c.openBlock(),c.createElementBlock("div",{class:"plate-display",ref_key:"el",ref:d},[h.displayType=="dot"&&h.plate!=="无牌车"?(c.openBlock(),c.createElementBlock("div",{key:0,class:c.normalizeClass(["leading",h.displayType]),style:c.normalizeStyle({...a.value.style,width:u.value+"px",height:u.value+"px",marginRight:.36*u.value+"px"})},c.toDisplayString(a.value.name),7)):c.createCommentVNode("",!0),h.displayType=="chinese"&&h.plate!=="无牌车"?(c.openBlock(),c.createElementBlock("div",{key:1,class:c.normalizeClass(["leading",h.displayType]),style:c.normalizeStyle(a.value.style)},c.toDisplayString(a.value.name),7)):c.createCommentVNode("",!0),h.displayType=="plaintext"&&h.plate!=="无牌车"?(c.openBlock(),c.createElementBlock("div",{key:2,class:c.normalizeClass(["leading",h.displayType])},c.toDisplayString(a.value.name),3)):c.createCommentVNode("",!0),c.createElementVNode("div",_i,c.toDisplayString(h.plate),1)],512))}}),Ps="",Vn=ye(Ci,[["__scopeId","data-v-6395bb5a"]]),ee=c.defineComponent({customOptions:{},inheritAttrs:!0,__name:"Container",props:{type:{default:"block"},effectTriggerTiming:{default:"manual"},supportCopyText:{type:Boolean,default:!1}},emits:["ready","resize","clipboard_success","clipboard_error","start","end"],setup(e,{expose:t,emit:o}){const n=e,r=o;let s="start";const a=()=>{s="start",r("start")},d=()=>{s="end",r("end")},u=()=>{s=="start"?d():a()},h=c.ref();let p=!1,b,C;c.onMounted(()=>{b=new er(h.value,!1),b.on("resize",(w,E)=>{r("resize",w,E,h.value.getBoundingClientRect()),C?.(b),p||(p=!0,n.effectTriggerTiming!=="manual"&&a(),r("ready",b),n.effectTriggerTiming=="immediate"&&u())}),b.on("mouseEnter",()=>{n.effectTriggerTiming=="mouseMove"&&u()}),b.on("mouseLeave",()=>{n.effectTriggerTiming=="mouseMove"&&u()}),b.on("tap",()=>{if(n.effectTriggerTiming=="click"&&u(),n.supportCopyText){const w=sn(h.value).getInnerText();rr(w).then(()=>{r("clipboard_success",w)}).catch(E=>{r("clipboard_error",E.toString())})}}),b.start()});const S=()=>new Promise(w=>{if(b)return w(b);C=w}),y=async()=>(await S(),h.value.getBoundingClientRect());return c.onUnmounted(()=>{b?.destroy()}),t({getElement:()=>h.value,getApp:S,getSize:y}),(w,E)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["container",[n.type]]),ref_key:"r",ref:h,style:c.normalizeStyle({position:"relative",boxSizing:"border-box",display:n.type=="shrink"?"inline-block":"block",width:n.type=="full"?"100%":"auto",height:n.type=="full"?"100%":"auto"})},[c.renderSlot(w.$slots,"default")],6))}}),Dn=c.defineComponent({customOptions:{Container:ee},inheritAttrs:!0,__name:"CSSAnimation",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!1},effectTriggerTiming:{default:"mouseMove"},name:{default:"jelly"},timingFunction:{},duration:{},delay:{},repeat:{},direction:{},fillMode:{default:"both"},playState:{default:"running"},perspective:{default:"1200px"}},emits:["cssanimationstart","cssanimationend"],setup(e,{expose:t,emit:o}){const n=e,r=o,s=c.reactive({}),a=c.reactive({});let d=n.name,u=n.duration,h=n.timingFunction,p=n.delay,b=n.repeat,C=n.direction;function S(I){switch(d=I,d){case"superRainbow":u=n.duration||15e3;break;case"heartBeat":u=n.duration||1300;break;case"statusProcessing":u=n.duration||1200;break;case"rotateFall":case"rotateSlideOut":case"rotateSlideIn":u=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":u=n.duration||800;break;case"bounceIn":case"bounceOut":case"flipOutX":case"hinge":u=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":u=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":u=n.duration||600;break;default:u=n.duration||500;break}switch(d){case"superRainbow":h=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":h=n.timingFunction||"ease-in";break;case"lightSpeedInLeft":case"lightSpeedInRight":case"flipInLeft":case"flipInRight":case"flipInBottom":case"flipInTop":case"rotateInNewspaper":case"rotateSidesIn":h=n.timingFunction||"ease-out";break;case"pulse":case"headShake":case"heartBeat":case"statusProcessing":h=n.timingFunction||"ease-in-out";break;default:h=n.timingFunction||"ease";break}switch(d){default:p=n.delay||0;break}switch(d){case"superRainbow":case"statusProcessing":b=n.repeat||"infinite";break;default:b=n.repeat||1;break}switch(d){case"superRainbow":C=n.direction||"alternate";break;default:C=n.direction||"normal";break}switch(d){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(d){case"jelly":case"bounce":case"flash":case"pulse":case"rubberBand":case"shakeX":case"shakeY":case"headShake":case"swing":case"tada":case"wobble":case"jello":case"heartBeat":case"bounceIn":case"fadeIn":case"fadeOut":case"flip":case"flipInX":case"flipInY":case"flipOutX":case"flipOutY":case"hinge":case"jackInTheBox":s.overflow="visible";break;default:s.overflow="hidden";break}switch(d){case"flip":case"flipInX":case"flipInY":case"flipOutX":case"flipOutY":a.backfaceVisibility="visible";break;default:delete a.backfaceVisibility;break}}const y=c.ref(),w=I=>{s.perspective=n.perspective,I.on("animationstart",x=>{r("cssanimationstart",x.animationName)}),I.on("animationend",x=>{r("cssanimationend",x.animationName)})};function E(){y.value.style.animation="none",y.value.offsetHeight,y.value.style.animation=null}const R=()=>{a.animation="none"},F=()=>{E(),a.animation=`${u}ms ${h} ${p}ms ${b} ${C} ${n.fillMode} ${n.playState} ${d}`},B=I=>{I&&S(I),R(),C="normal",F()},k=I=>{I&&S(I),R(),C="reverse",F()},D=()=>{a.animation="none"};return c.watch(()=>n.name,()=>{S(n.name)},{immediate:!0}),t({trigger:B,triggerReverse:k,clear:D}),(I,x)=>(c.openBlock(),c.createBlock(ee,{class:"css-animation",type:n.containerType,supportCopyText:n.supportCopyText,effectTriggerTiming:n.effectTriggerTiming,style:c.normalizeStyle(s),onReady:w,onStart:R,onEnd:F},{default:c.withCtx(()=>[c.createElementVNode("div",{class:"css-animation-inner",ref_key:"animationRef",ref:y,style:c.normalizeStyle({position:"relative",display:"block",width:"100%",height:"100%",cursor:"pointer",transformStyle:"preserve-3d",...a})},[c.renderSlot(I.$slots,"default")],4)]),_:3},8,["type","supportCopyText","effectTriggerTiming","style"]))}}),Is="",Un=c.defineComponent({customOptions:{Container:ee,CSSAnimation:Dn},inheritAttrs:!0,__name:"Page",props:{effect:{default:"moveFromLeft"},duration:{default:500},easeFunction:{type:Function,default:_.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["ready","pageOpenStart","pageOpenEnd","pageCloseStart","pageCloseEnd"],setup(e,{expose:t,emit:o}){const n=e,r=o,s=c.ref(),a=c.reactive({}),d=()=>{r("ready",I,x)},u=()=>{w()},h=c.ref();let p="rotateRightSideFirst",b=n.effect;function C(M,z){switch(b){case"static":z();break;default:M();break}}let S=!1;const y=new pt,w=()=>{const M={},z={};y.clear(),y.frameDuration=n.duration,C(()=>{p=b},()=>{y.addTween(M,z,{delay:n.delay/n.duration,easeFunction:n.easeFunction,onStart:()=>{r(S?"pageCloseStart":"pageOpenStart")},onUpdate:A=>{a.transform="","x"in A&&(a.transform+=` translateX(${A.x}%)`),"y"in A&&(a.transform+=` translateY(${A.y}%)`),"rx"in A&&(a.transform+=` rotateX(${A.rx}deg)`),"ry"in A&&(a.transform+=` rotateY(${A.ry}deg)`),"scale"in A&&(a.transform+=` scale(${A.scale})`),"opacity"in A&&(a.opacity=`${A.opacity}`)},onComplete:()=>{r(S?"pageCloseEnd":"pageOpenEnd")}})})};c.watch(()=>[n.effect,n.delay,n.duration,n.easeFunction],()=>{b=n.effect,w()},{immediate:!0});const E=()=>{r(S?"pageCloseStart":"pageOpenStart")},R=()=>{r(S?"pageCloseEnd":"pageOpenEnd")},F=()=>{C(()=>{h.value.trigger(p)},()=>{y.play()})},B=()=>{C(()=>{h.value.triggerReverse(p)},()=>{y.reverse()})},k=()=>{a.transform="none",a.opacity="1"};function D(){C(()=>{k()},()=>{h.value?.clear()})}const I=M=>{M&&(b=M,w()),S=!1,D(),F()},x=M=>{M&&(b=M,w()),S=!0,D(),B()};return t({open:I,close:x,clear:k,getElement:()=>s.value.getElement()}),(M,z)=>(c.openBlock(),c.createBlock(ee,{class:"page",ref_key:"pageRef",ref:s,type:"full",effectTriggerTiming:"manual",style:{overflow:"hidden",width:"100%",height:"100%"},onReady:d,onResize:u},{default:c.withCtx(()=>[c.createVNode(Dn,{ref_key:"cssAnimationRef",ref:h,containerType:"full",effectTriggerTiming:"manual",duration:n.duration,delay:n.delay,timingFunction:n.timingFunction,onCssanimationstart:E,onCssanimationend:R},{default:c.withCtx(()=>[c.createElementVNode("div",{class:"page-inner",style:c.normalizeStyle({position:"relative",display:"block",width:"100%",height:"100%",overflow:"scroll",backfaceVisibility:"hidden",transformStyle:"preserve-3d",...a})},[c.renderSlot(M.$slots,"default")],4)]),_:3},8,["duration","delay","timingFunction"])]),_:3},512))}}),zn=c.defineComponent({customOptions:{Page:Un,Container:ee},inheritAttrs:!0,__name:"Routes",props:{effect:{default:"moveToLeft"},duration:{default:500},easeFunction:{type:Function,default:_.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["routeChangeStart","routeChangeEnd","renderComplete"],setup(e,{expose:t,emit:o}){const n=e,r=o;let s=-1,a=-1,d;const u=[];let h=[],p=[],b=[];function C(O){return O>=0&&O<h.length}function S(){return a>s}function y(O,v,te){switch(O){case s:return S()?v:te;case a:return S()?te:v;default:return"static"}}function w(O,v){switch(O){case"moveToLeft":return y(v,"moveToLeft","moveFromRight");case"moveToRight":return y(v,"moveToRight","moveFromLeft");case"moveToTop":return y(v,"moveToTop","moveFromBottom");case"moveToBottom":return y(v,"moveToBottom","moveFromTop");case"moveFromLeftPrevFade":return y(v,"fade","moveFromLeft");case"moveFromRightPrevFade":return y(v,"fade","moveFromRight");case"moveFromTopPrevFade":return y(v,"fade","moveFromTop");case"moveFromBottomPrevFade":return y(v,"fade","moveFromBottom");case"moveToLeftFade":return y(v,"moveToLeftFade","moveFromRightFade");case"moveToRightFade":return y(v,"moveToRightFade","moveFromLeftFade");case"moveToTopFade":return y(v,"moveToTopFade","moveFromBottomFade");case"moveToBottomFade":return y(v,"moveToBottomFade","moveFromTopFade");case"moveToLeftEasing":return y(v,"moveToLeft","moveFromRight");case"moveToRightEasing":return y(v,"moveToRight","moveFromLeft");case"moveToTopEasing":return y(v,"moveToTop","moveFromBottom");case"moveToBottomEasing":return y(v,"moveToBottom","moveFromTop");case"moveFromLeftPrevScaleToSmall":return y(v,"scaleToSmall","moveFromLeft");case"moveFromRightPrevScaleToSmall":return y(v,"scaleToSmall","moveFromRight");case"moveFromTopPrevScaleToSmall":return y(v,"scaleToSmall","moveFromTop");case"moveFromBottomPrevScaleToSmall":return y(v,"scaleToSmall","moveFromBottom");case"scaleSmall":return y(v,"scaleToSmall","scaleFromLarge");case"scaleLarge":return y(v,"scaleToLarge","scaleFromSmall");case"scaleToLargePrevScaleToSmall":return y(v,"scaleToSmallCenter","scaleFromSmallCenter");case"scaleFromSmallPrevMoveToLeft":return y(v,"moveToLeft","scaleFromSmall");case"scaleFromSmallPrevMoveToRight":return y(v,"moveToRight","scaleFromSmall");case"scaleFromSmallPrevMoveToTop":return y(v,"moveToTop","scaleFromSmall");case"scaleFromSmallPrevMoveToBottom":return y(v,"moveToBottom","scaleFromSmall");case"glueToLeft":return y(v,"rotateRightSideFirst","moveFromRight");case"glueToRight":return y(v,"rotateLeftSideFirst","moveFromLeft");case"glueToTop":return y(v,"rotateBottomSideFirst","moveFromBottom");case"glueToBottom":return y(v,"rotateTopSideFirst","moveFromTop");case"flipToLeft":return y(v,"flipOutLeft","flipInRight");case"flipToRight":return y(v,"flipOutRight","flipInLeft");case"flipToTop":return y(v,"flipOutTop","flipInBottom");case"flipToBottom":return y(v,"flipOutBottom","flipInTop");case"rotateFall":return y(v,"rotateFall","scaleFromSmall");case"newspaper":return y(v,"rotateOutNewspaper","rotateInNewspaper");case"moveFromLeftPrevPush":return y(v,"rotatePushRight","moveFromLeft");case"moveFromRightPrevPush":return y(v,"rotatePushLeft","moveFromRight");case"moveFromTopPrevPush":return y(v,"rotatePushBottom","moveFromTop");case"moveFromBottomPrevPush":return y(v,"rotatePushTop","moveFromBottom");case"pullFromLeftPrevPush":return y(v,"rotatePushRight","rotatePullLeft");case"pullFromRightPrevPush":return y(v,"rotatePushLeft","rotatePullRight");case"pullFromTopPrevPush":return y(v,"rotatePushBottom","rotatePullTop");case"pullFromBottomPrevPush":return y(v,"rotatePushTop","rotatePullBottom");case"moveFromLeftFadePrevFold":return y(v,"rotateFoldRight","moveFromLeftFade");case"moveFromRightFadePrevFold":return y(v,"rotateFoldLeft","moveFromRightFade");case"moveFromTopFadePrevFold":return y(v,"rotateFoldBottom","moveFromTopFade");case"moveFromBottomFadePrevFold":return y(v,"rotateFoldTop","moveFromBottomFade");case"moveToLeftFadePrevUnfold":return y(v,"moveToLeftFade","rotateUnfoldRight");case"moveToRightFadePrevUnfold":return y(v,"moveToRightFade","rotateUnfoldLeft");case"moveToTopFadePrevUnfold":return y(v,"moveToTopFade","rotateUnfoldBottom");case"moveToBottomFadePrevUnfold":return y(v,"moveToBottomFade","rotateUnfoldTop");case"rotateRoomLeftIn":return y(v,"rotateRoomLeftOut","rotateRoomLeftIn");case"rotateRoomRightIn":return y(v,"rotateRoomRightOut","rotateRoomRightIn");case"rotateRoomTopIn":return y(v,"rotateRoomTopOut","rotateRoomTopIn");case"rotateRoomBottomIn":return y(v,"rotateRoomBottomOut","rotateRoomBottomIn");case"rotateCubeLeftIn":return y(v,"rotateCubeLeftOut","rotateCubeLeftIn");case"rotateCubeRightIn":return y(v,"rotateCubeRightOut","rotateCubeRightIn");case"rotateCubeTopIn":return y(v,"rotateCubeTopOut","rotateCubeTopIn");case"rotateCubeBottomIn":return y(v,"rotateCubeBottomOut","rotateCubeBottomIn");case"rotateCarouselLeftIn":return y(v,"rotateCarouselLeftOut","rotateCarouselLeftIn");case"rotateCarouselRightIn":return y(v,"rotateCarouselRightOut","rotateCarouselRightIn");case"rotateCarouselTopIn":return y(v,"rotateCarouselTopOut","rotateCarouselTopIn");case"rotateCarouselBottomIn":return y(v,"rotateCarouselBottomOut","rotateCarouselBottomIn");case"rotateSidesIn":return y(v,"rotateSidesOut","rotateSidesIn");case"rotateSlideIn":return y(v,"rotateSlideOut","rotateSlideIn")}}function E(O,v=600,te=600){switch(O){case s:return v;case a:return te;default:return n.duration}}function R(O,v){switch(O){case"moveFromLeftFadePrevFold":case"moveFromRightFadePrevFold":case"moveFromTopFadePrevFold":case"moveFromBottomFadePrevFold":return E(v,700,700);case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":case"moveFromLeftPrevScaleToSmall":case"moveFromRightPrevScaleToSmall":case"moveFromTopPrevScaleToSmall":case"moveFromBottomPrevScaleToSmall":return E(v,700,600);case"scaleSmall":return E(v,700,500);case"scaleLarge":return E(v,500,700);case"scaleToLargePrevScaleToSmall":return E(v,400,400);case"scaleFromSmallPrevMoveToLeft":case"scaleFromSmallPrevMoveToRight":case"scaleFromSmallPrevMoveToTop":case"scaleFromSmallPrevMoveToBottom":return E(v,600,700);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":return E(v,800,600);default:return n.duration}}let F=n.timingFunction;function B(O){switch(O){default:return n.easeFunction}}function k(O,v){switch(O){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":switch(v){case s:F=S()?"ease-in-out":"ease";break;case a:default:F=S()?"ease":"ease-in-out"}return B(v);default:return F=n.timingFunction,n.easeFunction}}function D(O,v=300){switch(O){case a:return n.delay+v;default:return n.delay}}function I(O,v){switch(O){case"flipToLeft":case"flipToRight":case"flipToTop":case"flipToBottom":case"newspaper":return D(v,500);case"scaleSmall":case"scaleLarge":return D(v,300);case"scaleToLargePrevScaleToSmall":return D(v,400);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":case"rotateSidesIn":return D(v,200);case"pullFromLeftPrevPush":case"pullFromRightPrevPush":case"pullFromTopPrevPush":case"pullFromBottomPrevPush":return D(v,180);default:return n.delay}}let x=2,M=2;const z=()=>{x=2,M=2},A=()=>{x=2,M=3},Z=()=>{x=3,M=2};function oe(O){switch(n.effect){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":Z();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":S()?Z():A();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":S()?A():Z();break;default:z();break}C(s)&&s==O&&(b[s].style.zIndex=`${x}`,b[s].style.visibility="visible"),C(a)&&a==O&&(b[a].style.zIndex=`${M}`,b[a].style.visibility="visible")}function j(O){A(),O==s&&(b[s].style.zIndex=`${x}`,b[s].style.visibility="hidden"),O==a&&(b[a].style.zIndex=`${M}`,b[a].style.visibility="visible",u.shift()?.(),r("routeChangeEnd",s,a,h.length),s=a)}const H=c.ref();function q(O=0,v=!1){if(!H.value)return;let te=0;c.render(c.h("div",{class:"routes-pages",style:{display:"block",width:"100%",height:"100%",overflow:"hidden",position:"relative"}},h.map((W,V)=>{const re=w(n.effect,V);return c.h("div",Object.assign({class:"routes-page",style:{display:"block",width:"100%",height:"100%",overflow:"hidden",position:"absolute",top:"0",left:"0",backfaceVisibility:"hidden",transform:"translate3d(0, 0, 0)",transformStyle:"preserve-3d",visibility:s==V?"visible":"hidden",zIndex:v?"1":"0"}},W.pageKey?{key:W.pageKey}:{}),c.h(Un,{effect:re,duration:R(n.effect,V),easeFunction:k(n.effect,V),timingFunction:F,delay:I(n.effect,V),onReady:($,g)=>{p[V]={open:$,close:g},++te==O&&(d?.(),r("renderComplete"))},onPageOpenStart:()=>{oe(V)},onPageOpenEnd:()=>{j(V)},onPageCloseStart:()=>{oe(V)},onPageCloseEnd:()=>{j(V)}},{default:()=>W.component instanceof HTMLElement?c.h("div",{...W.attributes,innerHTML:W.component.innerHTML}):c.h(W.component,W.attributes,()=>W.child)}))})),H.value),b=H.value.children[0].children}c.watch(()=>n.effect,()=>{q()});function ve(O=[]){h=[...O],h.forEach(v=>{v.pageKey=v.pageKey||Dt()}),d=()=>{s=-1,X(0)},q(h.length,!0)}function Se(O){O.pageKey=O.pageKey||Dt(),h.push(O),d=()=>{X(h.length-1)},q(1,h.length==1)}function Le(){h.length<=1||X(h.length-2,()=>{h.splice(h.length-1,1),s=h.length-1,q()})}function Pe(){X(s+1)}function Ne(){X(s-1)}const xe=new No(1);function X(O,v){xe.addTask(()=>new Promise(te=>{const W=()=>{v?.(),te()};if(!C(O)){W();return}if(a=O,a==s){W();return}u.push(W),q(),r("routeChangeStart",s,a,h.length),S()?(C(s)&&p[s].open(),C(a)&&p[a].open()):(C(s)&&p[s].close(),C(a)&&p[a].close())}))}return t({reset:ve,push:Se,pop:Le,forward:Pe,back:Ne,goto:X,currentPageIndex:()=>s,totalPages:()=>h.length}),(O,v)=>(c.openBlock(),c.createElementBlock("div",{class:"routes",ref_key:"routesRef",ref:H,style:{display:"block",position:"relative",width:"100%",height:"100%","overflow-x":"hidden","overflow-y":"hidden"}},null,512))}}),$n=c.defineComponent({customOptions:{},inheritAttrs:!0,__name:"Overlay",props:{visible:{type:Boolean,default:!1},isGlobal:{type:Boolean,default:!0},color:{default:"rgba(0, 0, 0, 0.25)"}},setup(e,{expose:t}){const o=e,n=c.computed(()=>({"background-color":o.color,position:"fixed","z-index":"99999",display:"block",width:"100%",height:"100%",inset:"0",overflow:"hidden"})),r=c.ref(),s=document.documentElement.style.overflow;let a;return c.watch(()=>o.visible,()=>{o.isGlobal?document.documentElement.style.overflow=o.visible?"hidden":s:(a||(a=r.value.parentElement.style.overflow||"visible"),r.value.parentElement.style.overflow=o.visible?"hidden":a)},{immediate:!0}),t({}),(d,u)=>o.visible?(c.openBlock(),c.createElementBlock("div",{key:0,class:"overlay",style:c.normalizeStyle(n.value),ref_key:"el",ref:r},[c.renderSlot(d.$slots,"default")],4)):c.createCommentVNode("",!0)}}),De=c.defineComponent({customOptions:{Overlay:$n,Container:ee},inheritAttrs:!0,__name:"Pop",props:{closeWhenClickOverlay:{type:Boolean,default:!0},directionFrom:{default:"bottom"},absoluteLeft:{default:"0px"},absoluteTop:{default:"0px"},absoluteWidth:{default:"100%"},absoluteHeight:{default:"100%"},dur:{default:200},isGlobal:{type:Boolean,default:!0},overlayBgColor:{},popValue:{}},emits:["open","close","resize","clickOverlay"],setup(e,{expose:t,emit:o}){const n=e,r=o,s=new pt({frameDuration:n.dur}),a=c.reactive({position:"absolute",overflow:"hidden",opacity:"1"}),d=c.ref(!1),u=c.ref("full");c.watch(()=>[n.directionFrom,n.popValue],()=>{s.clear();const w=!n.popValue,E=n.popValue?n.popValue:100,R=n.popValue?"px":"%";switch(n.directionFrom){case"left":a.height="100%",w?delete a.width:a.width=`${E}${R}`,a.top="0",a.bottom="0",delete a.right,s.addTween({left:E},{left:0},{easeFunction:_.Quadratic.Out,onUpdate(F){a.left=`-${F.left}${R}`},onComplete:b});break;case"right":a.height="100%",w?delete a.width:a.width=`${E}${R}`,a.top="0",a.bottom="0",delete a.left,s.addTween({right:E},{right:0},{easeFunction:_.Quadratic.Out,onUpdate(F){a.right=`-${F.right}${R}`},onComplete:b});break;case"top":a.width="100%",w?delete a.height:a.height=`${E}${R}`,a.left="0",a.right="0",delete a.bottom,s.addTween({top:E},{top:0},{easeFunction:_.Quadratic.Out,onUpdate(F){a.top=`-${F.top}${R}`},onComplete:b});break;case"bottom":a.width="100%",w?delete a.height:a.height=`${E}${R}`,a.left="0",a.right="0",delete a.top,s.addTween({bottom:E},{bottom:0},{easeFunction:_.Quadratic.Out,onUpdate(F){a.bottom=`-${F.bottom}${R}`},onComplete:b});break;case"center":delete a.width,delete a.height,a.left="50%",delete a.right,a.top="50%",delete a.bottom,s.addTween({scale:.8,opacity:0},{scale:1,opacity:1},{easeFunction:_.Quadratic.Out,onUpdate(F){a.transform=`translate(-50%, -50%) scale(${F.scale})`,a.opacity=`${F.opacity}`},onComplete:b});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":u.value="shrink",a.transform="translate(-50%, -50%)";break;case"absolute":u.value="shrink",delete a.transform,delete a.opacity;break;default:u.value="full",delete a.transform,delete a.opacity;break}w&&(u.value="shrink")},{immediate:!0}),c.watch(()=>n.absoluteLeft,()=>{switch(n.directionFrom){case"absolute":a.left=n.absoluteLeft;break}}),c.watch(()=>n.absoluteTop,()=>{switch(n.directionFrom){case"absolute":a.top=n.absoluteTop;break}}),c.watch(()=>n.absoluteWidth,()=>{switch(n.directionFrom){case"absolute":a.width=n.absoluteWidth;break}}),c.watch(()=>n.absoluteHeight,()=>{switch(n.directionFrom){case"absolute":a.height=n.absoluteHeight;break}});const h=(w,E,R)=>{r("resize",w,E,R)};let p="open";function b(){p=="open"?r("open"):(d.value=!1,r("close"))}function C(){d.value=!0,p="open",s.play()}function S(){switch(p="close",n.directionFrom){case"absolute":b();break;default:s.reverse();break}}function y(w){const E=n.directionFrom=="absolute"&&n.absoluteWidth=="100%"&&n.absoluteHeight=="100%"?"pop-content":"pop";w.target&&rn(w.target,E)&&(n.closeWhenClickOverlay&&S(),r("clickOverlay"))}return t({open:C,close:S}),(w,E)=>(c.openBlock(),c.createBlock($n,{visible:d.value,isGlobal:n.isGlobal,color:n.overlayBgColor},{default:c.withCtx(()=>[c.createElementVNode("div",{class:"pop",style:{display:"block",position:"relative",width:"100%",height:"100%",overflow:"hidden"},onClick:y},[c.createVNode(ee,{class:"pop-content",type:u.value,style:c.normalizeStyle(a),onResize:h},{default:c.withCtx(()=>[c.renderSlot(w.$slots,"default",{},()=>[E[0]||(E[0]=c.createElementVNode("div",null,null,-1))])]),_:3},8,["type","style"])])]),_:3},8,["visible","isGlobal","color"]))}}),wi=["src"],Si=c.defineComponent({name:"Image",customOptions:{Container:ee,Pop:De},inheritAttrs:!0,__name:"Image",props:{src:{},mode:{default:"scaleToFill"},dur:{default:300},bgColor:{default:"transparent"},openImageDetailWhenClick:{type:Boolean,default:!0}},emits:["settled"],setup(e,{expose:t,emit:o}){const n=e,r=o,s=new pt({frameDuration:n.dur}),a=c.ref(0),d=c.ref(0),u=c.ref(0),h=c.ref(0),p=c.ref(0),b=c.ref(0),C=c.ref(0),S=c.ref(0),y=c.ref(!0),w=c.ref(0),E=c.ref(0);nr(n.src).then(j=>{w.value=j.width,E.value=j.height,I()}).catch(()=>{y.value=!1});const R=c.ref(0),F=c.ref(0),B=(j,H)=>{R.value=j,F.value=H,I()},k=c.ref(0),D=c.ref(0);function I(){if(!R.value||!F.value||!w.value||!E.value)return;const j=Kt(n.mode,w.value,E.value,R.value,F.value);k.value=j.width,D.value=j.height;const{width:H,height:q}=Jo(),ve=Kt("aspectFit",w.value,E.value,H,q);C.value=ve.width,S.value=ve.height,p.value=(H-C.value)/2,b.value=(q-S.value)/2}const x=(j,H,q)=>{r("settled",q.x,q.y,q.width,q.height)};let M=!1;const z=c.ref(),A=c.ref();async function Z(){if(!n.openImageDetailWhenClick)return;const j=await z.value.getSize();s.clear(),s.addTween({left:j.x,top:j.y,width:j.width,height:j.height},{left:p.value,top:b.value,width:C.value,height:S.value},{easeFunction:_.Quadratic.Out,onUpdate(H){a.value=H.left,d.value=H.top,u.value=H.width,h.value=H.height},onComplete(){M&&A.value.close(),M=!M}}),M||(A.value.open(),s.play())}function oe(){M&&s.reverse()}return t({}),(j,H)=>(c.openBlock(),c.createBlock(ee,{class:"image",type:"full",style:c.normalizeStyle({backgroundColor:n.bgColor}),onResize:B,onClick:Z},{default:c.withCtx(()=>[y.value?(c.openBlock(),c.createBlock(ee,{key:0,class:"image-inner",ref_key:"imageRef",ref:z,type:"shrink",style:c.normalizeStyle({width:k.value+"px",height:D.value+"px",backgroundImage:`url(${n.src})`,backgroundSize:`${k.value}px ${D.value}px`}),onResize:x},null,8,["style"])):c.createCommentVNode("",!0),y.value?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(ee,{key:1,type:"shrink"},{default:c.withCtx(()=>[c.createElementVNode("img",{src:n.src,style:{display:"block",objectFit:"contain"}},null,8,wi)]),_:1})),c.createVNode(De,{ref_key:"popRef",ref:A,"direction-from":"absolute","absolute-left":`${a.value}px`,"absolute-top":`${d.value}px`,"absolute-width":`${u.value}px`,"absolute-height":`${h.value}px`,"close-when-click-overlay":!1,onClickOverlay:oe},{default:c.withCtx(()=>[c.createElementVNode("div",{class:"image-pop",style:c.normalizeStyle({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"]))}}),Fs="",Hn=ye(Si,[["__scopeId","data-v-fdc8ba41"]]),Pi={key:0,style:{position:"absolute",top:"30px",left:"50%",transform:"translate(-50%, 0)",color:"#ffffff","font-size":"1em","z-index":"98"}},jn=c.defineComponent({customOptions:{Image:Hn,Container:ee,Routes:zn},inheritAttrs:!0,__name:"ImageView",props:{urls:{default:()=>[]},effect:{default:"moveToLeftFade"}},setup(e,{expose:t,emit:o}){const n=e,r=c.ref(0);function s(C,S){r.value=S}const a=c.ref(),d=C=>{C.on("panLeft",()=>{a.value?.forward()}),C.on("panRight",()=>{a.value?.back()}),a.value.reset(n.urls.map(S=>({component:c.h(Hn,{mode:"aspectFit",src:S,openImageDetailWhenClick:!1})})))},u=c.ref();function h(){u.value?.open()}function p(){u.value?.close()}const b=C=>{C.target&&rn(C.target,"image")&&p()};return t({open:h,close:p}),(C,S)=>(c.openBlock(),c.createBlock(De,{ref_key:"popRef",ref:u,directionFrom:"absolute",onClick:b},{default:c.withCtx(()=>[n.urls.length>1?(c.openBlock(),c.createElementBlock("div",Pi,c.toDisplayString(r.value+1)+" / "+c.toDisplayString(n.urls.length),1)):c.createCommentVNode("",!0),c.createVNode(ee,{style:{position:"absolute",top:"50%",transform:"translate(0, -50%)",width:"100%",height:"100%","z-index":"97"},onReady:d},{default:c.withCtx(()=>[c.createVNode(zn,{ref_key:"routesRef",ref:a,effect:n.effect,onRouteChangeEnd:s},null,8,["effect"])]),_:1})]),_:1},512))}}),Ii={class:"pop-tel"},Fi=["href"],ki=c.defineComponent({customOptions:{Pop:De},inheritAttrs:!0,__name:"PopTel",props:{tel:{}},setup(e,{expose:t,emit:o}){const n=c.ref();function r(){n.value?.open()}function s(){n.value?.close()}return t({open:r,close:s}),(a,d)=>(c.openBlock(),c.createBlock(De,{directionFrom:"bottom",closeWhenClickOverlay:!1,ref_key:"el",ref:n},{default:c.withCtx(()=>[c.createElementVNode("div",Ii,[c.createElementVNode("div",null,c.toDisplayString(a.tel),1),c.createElementVNode("a",{class:"pop-tel-call",onClick:s,href:`tel:${a.tel}`}," 呼叫 ",8,Fi),c.createElementVNode("div",{class:"pop-tel-cancel",onClick:s}," 取消 ")])]),_:1},512))}}),ks="",Yn=ye(ki,[["__scopeId","data-v-c1425500"]]),Oi={class:"lot-main"},Ri={class:"lot-detail"},Li={class:"bold"},Ni=c.defineComponent({customOptions:{LayoutPage:Oe,Footer:Bn,PlateDisplay:Vn,ViewDocument:un,PopTel:Yn,ImageView:jn},inheritAttrs:!0,__name:"Lot",setup(e){const t=pe.useRouter();function o(){t.push({name:"view-document",params:{title:"收费标准",src:encodeURIComponent("https://erichd2.oss-cn-shanghai.aliyuncs.com/0000/0002/2159")}})}const n=c.ref();function r(){n.value?.open()}const s=c.ref();function a(){s.value?.open()}return(d,u)=>(c.openBlock(),c.createBlock(Oe,{class:"lot"},{footer:c.withCtx(()=>[c.createVNode(Bn)]),global:c.withCtx(()=>[c.createVNode(Yn,{tel:"15851575410",ref_key:"popTelEl",ref:n},null,512),c.createVNode(jn,{urls:["https://erichd2.oss-cn-shanghai.aliyuncs.com/0000/0002/2159","https://erichd2.oss-cn-shanghai.aliyuncs.com/0000/0002/2159"],ref_key:"imageViewEl",ref:s},null,512)]),default:c.withCtx(()=>[u[15]||(u[15]=c.createElementVNode("div",{class:"lot-main-bg"},null,-1)),c.createElementVNode("div",Oi,[u[12]||(u[12]=c.createElementVNode("div",null,"若临测试泊位机器人停车场",-1)),u[13]||(u[13]=c.createElementVNode("div",null,[c.createElementVNode("div"),c.createElementVNode("div",null,"编号"),c.createElementVNode("div")],-1)),u[14]||(u[14]=c.createElementVNode("div",null,[c.createElementVNode("span",null,"103"),c.createElementVNode("span",null,"002")],-1)),c.createElementVNode("div",null,[u[0]||(u[0]=c.createElementVNode("div",null,"停车场主页",-1)),u[1]||(u[1]=c.createElementVNode("div",null,"更换附近车位",-1)),c.createElementVNode("div",{onClick:o},"收费标准")]),c.createElementVNode("div",Ri,[u[4]||(u[4]=c.createElementVNode("div",null,[c.createElementVNode("div",null,"待支付"),c.createElementVNode("div",{class:"red"},"¥0.01")],-1)),u[5]||(u[5]=c.createElementVNode("div",null,[c.createElementVNode("div",null,"已支付"),c.createElementVNode("div",null,"¥0.01")],-1)),u[6]||(u[6]=c.createElementVNode("div",null,[c.createElementVNode("div",null,"订单编号"),c.createElementVNode("div",null,"33333333333")],-1)),u[7]||(u[7]=c.createElementVNode("div",null,[c.createElementVNode("div",null,"开始时间"),c.createElementVNode("div",null,"2025-04-08 09:41:25")],-1)),u[8]||(u[8]=c.createElementVNode("div",null,[c.createElementVNode("div",null,"停车时长"),c.createElementVNode("div",null,"51小时53分钟15秒")],-1)),u[9]||(u[9]=c.createElementVNode("div",null,[c.createElementVNode("div",null,"优惠券"),c.createElementVNode("div",{class:"red"},"1分钟")],-1)),u[10]||(u[10]=c.createElementVNode("div",null,[c.createElementVNode("div",null,"优惠信息"),c.createElementVNode("div",{class:"red"},"xxxx")],-1)),u[11]||(u[11]=c.createElementVNode("div",{class:"lot-detail-gap"},null,-1)),c.createElementVNode("div",null,[u[2]||(u[2]=c.createElementVNode("div",null,"车牌号",-1)),c.createElementVNode("div",Li,[c.createVNode(Vn,{plate:"苏U77777","plate-type":"b"})])]),c.createElementVNode("div",null,[u[3]||(u[3]=c.createElementVNode("div",null,"现场照片",-1)),c.createElementVNode("div",{onClick:a},"查看")])]),c.createElementVNode("div",{class:"lot-actions"},[c.createElementVNode("div",{onClick:r},"联系客服")])])]),_:1}))}}),Os="",xi=ye(Ni,[["__scopeId","data-v-feee85ac"]]),Ai=c.defineComponent({customOptions:{LayoutPage:Oe},inheritAttrs:!0,__name:"Park",setup(e){return(t,o)=>(c.openBlock(),c.createBlock(Oe,{class:"park"},{default:c.withCtx(()=>o[0]||(o[0]=[c.createTextVNode("Park")])),_:1}))}}),Rs="",Mi=ye(Ai,[["__scopeId","data-v-9704593b"]]),Bi=pe.createRouter({history:pe.createWebHashHistory("/"),routes:[{path:"/view-document/:title/:src",name:"view-document",component:un},{path:"/",name:"xg",redirect:"/lot"},{path:"/lot",name:"lot",component:xi},{path:"/park",name:"park",component:Mi}],scrollBehavior:(e,t,o)=>o||{left:0,top:0}}),It=c.ref("next"),tt=[];Bi.beforeEach((e,t,o)=>{const n=tt.length,r=tt.findIndex(s=>s==e.name);n>1&&r>=0&&r<n-1?(It.value="prev",tt.splice(r+1)):(It.value="next",tt.push(e.name)),o()});const Vi="increment",Di="decrement",Ui="incrementAction";function zi(){return{store:le.useStore()}}function $i(e,t){let o=le.mapState;return typeof e=="string"&&e.length>0?o=le.createNamespacedHelpers(e).mapState:t=e,qn(t,o)}function Hi(e,t){let o=le.mapGetters;return typeof e=="string"&&e.length>0?o=le.createNamespacedHelpers(e).mapGetters:t=e,qn(t,o)}function ji(e,t){let o=le.mapMutations;return typeof e=="string"&&e.length>0?o=le.createNamespacedHelpers(e).mapMutations:t=e,Array.isArray(t),o(t)}function Yi(e,t){let o=le.mapActions;return typeof e=="string"&&e.length>0?o=le.createNamespacedHelpers(e).mapActions:t=e,Array.isArray(t),o(t)}function qn(e,t){const o=le.useStore(),n={},r=t(e);return Object.keys(r).forEach(s=>{const a=r[s].bind({$store:o});n[s]=c.computed(a)}),n}Object.defineProperty(U,"RouterLink",{enumerable:!0,get:()=>pe.RouterLink}),Object.defineProperty(U,"RouterView",{enumerable:!0,get:()=>pe.RouterView}),Object.defineProperty(U,"useRoute",{enumerable:!0,get:()=>pe.useRoute}),Object.defineProperty(U,"useRouter",{enumerable:!0,get:()=>pe.useRouter}),U.DECREMENT=Di,U.INCREMENT=Vi,U.INCREMENTACTION=Ui,U.getInstance=ho,U.getVNode=Vt,U.renderComponent=mo,U.routeDirection=It,U.useVueEffect=po,U.useVuex=zi,U.useVuexActions=Yi,U.useVuexGetters=Hi,U.useVuexMutations=ji,U.useVuexStates=$i,Object.defineProperty(U,Symbol.toStringTag,{value:"Module"})});
|
|
2
23
|
//# sourceMappingURL=zyzgroup_core_vue.umd.cjs.map
|