vue-popup-plus 1.0.0
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/dist/vue-popup-plus.d.ts +363 -0
- package/dist/vue-popup-plus.js +4579 -0
- package/dist/vue-popup-plus.umd.cjs +12 -0
- package/package.json +69 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.appendChild(document.createTextNode(".vue-popup-plus-animation-enter-fade[data-v-201bb261]{animation-name:vue-popup-plus-animation-enter-fade-201bb261}.vue-popup-plus-animation-leave-fade[data-v-201bb261]{animation-name:vue-popup-plus-animation-leave-fade-201bb261}.vue-popup-plus-animation-enter-scale-enlarge[data-v-201bb261]{animation-name:vue-popup-plus-animation-enter-scale-enlarge-201bb261}.vue-popup-plus-animation-leave-scale-enlarge[data-v-201bb261]{animation-name:vue-popup-plus-animation-leave-scale-enlarge-201bb261}.vue-popup-plus-animation-enter-scale-shrink[data-v-201bb261]{animation-name:vue-popup-plus-animation-enter-scale-shrink-201bb261}.vue-popup-plus-animation-leave-scale-shrink[data-v-201bb261]{animation-name:vue-popup-plus-animation-leave-scale-shrink-201bb261}.vue-popup-plus-animation-enter-fly-top[data-v-201bb261]{animation-name:vue-popup-plus-animation-enter-fly-top-201bb261}.vue-popup-plus-animation-leave-fly-top[data-v-201bb261]{animation-name:vue-popup-plus-animation-leave-fly-top-201bb261}.vue-popup-plus-animation-enter-fly-left[data-v-201bb261]{animation-name:vue-popup-plus-animation-enter-fly-left-201bb261}.vue-popup-plus-animation-leave-fly-left[data-v-201bb261]{animation-name:vue-popup-plus-animation-leave-fly-left-201bb261}.vue-popup-plus-animation-enter-fly-right[data-v-201bb261]{animation-name:vue-popup-plus-animation-enter-fly-right-201bb261}.vue-popup-plus-animation-leave-fly-right[data-v-201bb261]{animation-name:vue-popup-plus-animation-leave-fly-right-201bb261}.vue-popup-plus-animation-enter-fly-bottom[data-v-201bb261]{animation-name:vue-popup-plus-animation-enter-fly-bottom-201bb261}.vue-popup-plus-animation-leave-fly-bottom[data-v-201bb261]{animation-name:vue-popup-plus-animation-leave-fly-bottom-201bb261}@-moz-keyframes vue-popup-plus-animation-enter-fade-201bb261{0%{opacity:0}to{opacity:1}}@-webkit-keyframes vue-popup-plus-animation-enter-fade-201bb261{0%{opacity:0}to{opacity:1}}@-o-keyframes vue-popup-plus-animation-enter-fade-201bb261{0%{opacity:0}to{opacity:1}}@keyframes vue-popup-plus-animation-enter-fade-201bb261{0%{opacity:0}to{opacity:1}}@-moz-keyframes vue-popup-plus-animation-leave-fade-201bb261{0%{opacity:1}to{opacity:0}}@-webkit-keyframes vue-popup-plus-animation-leave-fade-201bb261{0%{opacity:1}to{opacity:0}}@-o-keyframes vue-popup-plus-animation-leave-fade-201bb261{0%{opacity:1}to{opacity:0}}@keyframes vue-popup-plus-animation-leave-fade-201bb261{0%{opacity:1}to{opacity:0}}@-moz-keyframes vue-popup-plus-animation-enter-scale-enlarge-201bb261{0%{transform:scale(0)}to{transform:scale(1)}}@-webkit-keyframes vue-popup-plus-animation-enter-scale-enlarge-201bb261{0%{transform:scale(0)}to{transform:scale(1)}}@-o-keyframes vue-popup-plus-animation-enter-scale-enlarge-201bb261{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes vue-popup-plus-animation-enter-scale-enlarge-201bb261{0%{transform:scale(0)}to{transform:scale(1)}}@-moz-keyframes vue-popup-plus-animation-leave-scale-enlarge-201bb261{0%{transform:scale(1)}to{transform:scale(0)}}@-webkit-keyframes vue-popup-plus-animation-leave-scale-enlarge-201bb261{0%{transform:scale(1)}to{transform:scale(0)}}@-o-keyframes vue-popup-plus-animation-leave-scale-enlarge-201bb261{0%{transform:scale(1)}to{transform:scale(0)}}@keyframes vue-popup-plus-animation-leave-scale-enlarge-201bb261{0%{transform:scale(1)}to{transform:scale(0)}}@-moz-keyframes vue-popup-plus-animation-enter-scale-shrink-201bb261{0%{transform:scale(5)}to{transform:scale(1)}}@-webkit-keyframes vue-popup-plus-animation-enter-scale-shrink-201bb261{0%{transform:scale(5)}to{transform:scale(1)}}@-o-keyframes vue-popup-plus-animation-enter-scale-shrink-201bb261{0%{transform:scale(5)}to{transform:scale(1)}}@keyframes vue-popup-plus-animation-enter-scale-shrink-201bb261{0%{transform:scale(5)}to{transform:scale(1)}}@-moz-keyframes vue-popup-plus-animation-leave-scale-shrink-201bb261{0%{transform:scale(1)}to{transform:scale(5)}}@-webkit-keyframes vue-popup-plus-animation-leave-scale-shrink-201bb261{0%{transform:scale(1)}to{transform:scale(5)}}@-o-keyframes vue-popup-plus-animation-leave-scale-shrink-201bb261{0%{transform:scale(1)}to{transform:scale(5)}}@keyframes vue-popup-plus-animation-leave-scale-shrink-201bb261{0%{transform:scale(1)}to{transform:scale(5)}}@-moz-keyframes vue-popup-plus-animation-enter-fly-top-201bb261{0%{transform:translateY(-100vh)}to{transform:translateY(0)}}@-webkit-keyframes vue-popup-plus-animation-enter-fly-top-201bb261{0%{transform:translateY(-100vh)}to{transform:translateY(0)}}@-o-keyframes vue-popup-plus-animation-enter-fly-top-201bb261{0%{transform:translateY(-100vh)}to{transform:translateY(0)}}@keyframes vue-popup-plus-animation-enter-fly-top-201bb261{0%{transform:translateY(-100vh)}to{transform:translateY(0)}}@-moz-keyframes vue-popup-plus-animation-leave-fly-top-201bb261{0%{transform:translateY(0)}to{transform:translateY(-100vh)}}@-webkit-keyframes vue-popup-plus-animation-leave-fly-top-201bb261{0%{transform:translateY(0)}to{transform:translateY(-100vh)}}@-o-keyframes vue-popup-plus-animation-leave-fly-top-201bb261{0%{transform:translateY(0)}to{transform:translateY(-100vh)}}@keyframes vue-popup-plus-animation-leave-fly-top-201bb261{0%{transform:translateY(0)}to{transform:translateY(-100vh)}}@-moz-keyframes vue-popup-plus-animation-enter-fly-left-201bb261{0%{transform:translate(-100vw)}to{transform:translate(0)}}@-webkit-keyframes vue-popup-plus-animation-enter-fly-left-201bb261{0%{transform:translate(-100vw)}to{transform:translate(0)}}@-o-keyframes vue-popup-plus-animation-enter-fly-left-201bb261{0%{transform:translate(-100vw)}to{transform:translate(0)}}@keyframes vue-popup-plus-animation-enter-fly-left-201bb261{0%{transform:translate(-100vw)}to{transform:translate(0)}}@-moz-keyframes vue-popup-plus-animation-leave-fly-left-201bb261{0%{transform:translate(0)}to{transform:translate(-100vw)}}@-webkit-keyframes vue-popup-plus-animation-leave-fly-left-201bb261{0%{transform:translate(0)}to{transform:translate(-100vw)}}@-o-keyframes vue-popup-plus-animation-leave-fly-left-201bb261{0%{transform:translate(0)}to{transform:translate(-100vw)}}@keyframes vue-popup-plus-animation-leave-fly-left-201bb261{0%{transform:translate(0)}to{transform:translate(-100vw)}}@-moz-keyframes vue-popup-plus-animation-enter-fly-right-201bb261{0%{transform:translate(100vw)}to{transform:translate(0)}}@-webkit-keyframes vue-popup-plus-animation-enter-fly-right-201bb261{0%{transform:translate(100vw)}to{transform:translate(0)}}@-o-keyframes vue-popup-plus-animation-enter-fly-right-201bb261{0%{transform:translate(100vw)}to{transform:translate(0)}}@keyframes vue-popup-plus-animation-enter-fly-right-201bb261{0%{transform:translate(100vw)}to{transform:translate(0)}}@-moz-keyframes vue-popup-plus-animation-leave-fly-right-201bb261{0%{transform:translate(0)}to{transform:translate(100vw)}}@-webkit-keyframes vue-popup-plus-animation-leave-fly-right-201bb261{0%{transform:translate(0)}to{transform:translate(100vw)}}@-o-keyframes vue-popup-plus-animation-leave-fly-right-201bb261{0%{transform:translate(0)}to{transform:translate(100vw)}}@keyframes vue-popup-plus-animation-leave-fly-right-201bb261{0%{transform:translate(0)}to{transform:translate(100vw)}}@-moz-keyframes vue-popup-plus-animation-enter-fly-bottom-201bb261{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@-webkit-keyframes vue-popup-plus-animation-enter-fly-bottom-201bb261{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@-o-keyframes vue-popup-plus-animation-enter-fly-bottom-201bb261{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes vue-popup-plus-animation-enter-fly-bottom-201bb261{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@-moz-keyframes vue-popup-plus-animation-leave-fly-bottom-201bb261{0%{transform:translateY(0)}to{transform:translateY(100vh)}}@-webkit-keyframes vue-popup-plus-animation-leave-fly-bottom-201bb261{0%{transform:translateY(0)}to{transform:translateY(100vh)}}@-o-keyframes vue-popup-plus-animation-leave-fly-bottom-201bb261{0%{transform:translateY(0)}to{transform:translateY(100vh)}}@keyframes vue-popup-plus-animation-leave-fly-bottom-201bb261{0%{transform:translateY(0)}to{transform:translateY(100vh)}}.popup-mask[data-v-201bb261]{position:fixed;inset:0;background-color:#0000004d}.vue-popup-plus-animation-enter-fade[data-v-fc20a73d]{animation-name:vue-popup-plus-animation-enter-fade-fc20a73d}.vue-popup-plus-animation-leave-fade[data-v-fc20a73d]{animation-name:vue-popup-plus-animation-leave-fade-fc20a73d}.vue-popup-plus-animation-enter-scale-enlarge[data-v-fc20a73d]{animation-name:vue-popup-plus-animation-enter-scale-enlarge-fc20a73d}.vue-popup-plus-animation-leave-scale-enlarge[data-v-fc20a73d]{animation-name:vue-popup-plus-animation-leave-scale-enlarge-fc20a73d}.vue-popup-plus-animation-enter-scale-shrink[data-v-fc20a73d]{animation-name:vue-popup-plus-animation-enter-scale-shrink-fc20a73d}.vue-popup-plus-animation-leave-scale-shrink[data-v-fc20a73d]{animation-name:vue-popup-plus-animation-leave-scale-shrink-fc20a73d}.vue-popup-plus-animation-enter-fly-top[data-v-fc20a73d]{animation-name:vue-popup-plus-animation-enter-fly-top-fc20a73d}.vue-popup-plus-animation-leave-fly-top[data-v-fc20a73d]{animation-name:vue-popup-plus-animation-leave-fly-top-fc20a73d}.vue-popup-plus-animation-enter-fly-left[data-v-fc20a73d]{animation-name:vue-popup-plus-animation-enter-fly-left-fc20a73d}.vue-popup-plus-animation-leave-fly-left[data-v-fc20a73d]{animation-name:vue-popup-plus-animation-leave-fly-left-fc20a73d}.vue-popup-plus-animation-enter-fly-right[data-v-fc20a73d]{animation-name:vue-popup-plus-animation-enter-fly-right-fc20a73d}.vue-popup-plus-animation-leave-fly-right[data-v-fc20a73d]{animation-name:vue-popup-plus-animation-leave-fly-right-fc20a73d}.vue-popup-plus-animation-enter-fly-bottom[data-v-fc20a73d]{animation-name:vue-popup-plus-animation-enter-fly-bottom-fc20a73d}.vue-popup-plus-animation-leave-fly-bottom[data-v-fc20a73d]{animation-name:vue-popup-plus-animation-leave-fly-bottom-fc20a73d}@-moz-keyframes vue-popup-plus-animation-enter-fade-fc20a73d{0%{opacity:0}to{opacity:1}}@-webkit-keyframes vue-popup-plus-animation-enter-fade-fc20a73d{0%{opacity:0}to{opacity:1}}@-o-keyframes vue-popup-plus-animation-enter-fade-fc20a73d{0%{opacity:0}to{opacity:1}}@keyframes vue-popup-plus-animation-enter-fade-fc20a73d{0%{opacity:0}to{opacity:1}}@-moz-keyframes vue-popup-plus-animation-leave-fade-fc20a73d{0%{opacity:1}to{opacity:0}}@-webkit-keyframes vue-popup-plus-animation-leave-fade-fc20a73d{0%{opacity:1}to{opacity:0}}@-o-keyframes vue-popup-plus-animation-leave-fade-fc20a73d{0%{opacity:1}to{opacity:0}}@keyframes vue-popup-plus-animation-leave-fade-fc20a73d{0%{opacity:1}to{opacity:0}}@-moz-keyframes vue-popup-plus-animation-enter-scale-enlarge-fc20a73d{0%{transform:scale(0)}to{transform:scale(1)}}@-webkit-keyframes vue-popup-plus-animation-enter-scale-enlarge-fc20a73d{0%{transform:scale(0)}to{transform:scale(1)}}@-o-keyframes vue-popup-plus-animation-enter-scale-enlarge-fc20a73d{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes vue-popup-plus-animation-enter-scale-enlarge-fc20a73d{0%{transform:scale(0)}to{transform:scale(1)}}@-moz-keyframes vue-popup-plus-animation-leave-scale-enlarge-fc20a73d{0%{transform:scale(1)}to{transform:scale(0)}}@-webkit-keyframes vue-popup-plus-animation-leave-scale-enlarge-fc20a73d{0%{transform:scale(1)}to{transform:scale(0)}}@-o-keyframes vue-popup-plus-animation-leave-scale-enlarge-fc20a73d{0%{transform:scale(1)}to{transform:scale(0)}}@keyframes vue-popup-plus-animation-leave-scale-enlarge-fc20a73d{0%{transform:scale(1)}to{transform:scale(0)}}@-moz-keyframes vue-popup-plus-animation-enter-scale-shrink-fc20a73d{0%{transform:scale(5)}to{transform:scale(1)}}@-webkit-keyframes vue-popup-plus-animation-enter-scale-shrink-fc20a73d{0%{transform:scale(5)}to{transform:scale(1)}}@-o-keyframes vue-popup-plus-animation-enter-scale-shrink-fc20a73d{0%{transform:scale(5)}to{transform:scale(1)}}@keyframes vue-popup-plus-animation-enter-scale-shrink-fc20a73d{0%{transform:scale(5)}to{transform:scale(1)}}@-moz-keyframes vue-popup-plus-animation-leave-scale-shrink-fc20a73d{0%{transform:scale(1)}to{transform:scale(5)}}@-webkit-keyframes vue-popup-plus-animation-leave-scale-shrink-fc20a73d{0%{transform:scale(1)}to{transform:scale(5)}}@-o-keyframes vue-popup-plus-animation-leave-scale-shrink-fc20a73d{0%{transform:scale(1)}to{transform:scale(5)}}@keyframes vue-popup-plus-animation-leave-scale-shrink-fc20a73d{0%{transform:scale(1)}to{transform:scale(5)}}@-moz-keyframes vue-popup-plus-animation-enter-fly-top-fc20a73d{0%{transform:translateY(-100vh)}to{transform:translateY(0)}}@-webkit-keyframes vue-popup-plus-animation-enter-fly-top-fc20a73d{0%{transform:translateY(-100vh)}to{transform:translateY(0)}}@-o-keyframes vue-popup-plus-animation-enter-fly-top-fc20a73d{0%{transform:translateY(-100vh)}to{transform:translateY(0)}}@keyframes vue-popup-plus-animation-enter-fly-top-fc20a73d{0%{transform:translateY(-100vh)}to{transform:translateY(0)}}@-moz-keyframes vue-popup-plus-animation-leave-fly-top-fc20a73d{0%{transform:translateY(0)}to{transform:translateY(-100vh)}}@-webkit-keyframes vue-popup-plus-animation-leave-fly-top-fc20a73d{0%{transform:translateY(0)}to{transform:translateY(-100vh)}}@-o-keyframes vue-popup-plus-animation-leave-fly-top-fc20a73d{0%{transform:translateY(0)}to{transform:translateY(-100vh)}}@keyframes vue-popup-plus-animation-leave-fly-top-fc20a73d{0%{transform:translateY(0)}to{transform:translateY(-100vh)}}@-moz-keyframes vue-popup-plus-animation-enter-fly-left-fc20a73d{0%{transform:translate(-100vw)}to{transform:translate(0)}}@-webkit-keyframes vue-popup-plus-animation-enter-fly-left-fc20a73d{0%{transform:translate(-100vw)}to{transform:translate(0)}}@-o-keyframes vue-popup-plus-animation-enter-fly-left-fc20a73d{0%{transform:translate(-100vw)}to{transform:translate(0)}}@keyframes vue-popup-plus-animation-enter-fly-left-fc20a73d{0%{transform:translate(-100vw)}to{transform:translate(0)}}@-moz-keyframes vue-popup-plus-animation-leave-fly-left-fc20a73d{0%{transform:translate(0)}to{transform:translate(-100vw)}}@-webkit-keyframes vue-popup-plus-animation-leave-fly-left-fc20a73d{0%{transform:translate(0)}to{transform:translate(-100vw)}}@-o-keyframes vue-popup-plus-animation-leave-fly-left-fc20a73d{0%{transform:translate(0)}to{transform:translate(-100vw)}}@keyframes vue-popup-plus-animation-leave-fly-left-fc20a73d{0%{transform:translate(0)}to{transform:translate(-100vw)}}@-moz-keyframes vue-popup-plus-animation-enter-fly-right-fc20a73d{0%{transform:translate(100vw)}to{transform:translate(0)}}@-webkit-keyframes vue-popup-plus-animation-enter-fly-right-fc20a73d{0%{transform:translate(100vw)}to{transform:translate(0)}}@-o-keyframes vue-popup-plus-animation-enter-fly-right-fc20a73d{0%{transform:translate(100vw)}to{transform:translate(0)}}@keyframes vue-popup-plus-animation-enter-fly-right-fc20a73d{0%{transform:translate(100vw)}to{transform:translate(0)}}@-moz-keyframes vue-popup-plus-animation-leave-fly-right-fc20a73d{0%{transform:translate(0)}to{transform:translate(100vw)}}@-webkit-keyframes vue-popup-plus-animation-leave-fly-right-fc20a73d{0%{transform:translate(0)}to{transform:translate(100vw)}}@-o-keyframes vue-popup-plus-animation-leave-fly-right-fc20a73d{0%{transform:translate(0)}to{transform:translate(100vw)}}@keyframes vue-popup-plus-animation-leave-fly-right-fc20a73d{0%{transform:translate(0)}to{transform:translate(100vw)}}@-moz-keyframes vue-popup-plus-animation-enter-fly-bottom-fc20a73d{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@-webkit-keyframes vue-popup-plus-animation-enter-fly-bottom-fc20a73d{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@-o-keyframes vue-popup-plus-animation-enter-fly-bottom-fc20a73d{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes vue-popup-plus-animation-enter-fly-bottom-fc20a73d{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@-moz-keyframes vue-popup-plus-animation-leave-fly-bottom-fc20a73d{0%{transform:translateY(0)}to{transform:translateY(100vh)}}@-webkit-keyframes vue-popup-plus-animation-leave-fly-bottom-fc20a73d{0%{transform:translateY(0)}to{transform:translateY(100vh)}}@-o-keyframes vue-popup-plus-animation-leave-fly-bottom-fc20a73d{0%{transform:translateY(0)}to{transform:translateY(100vh)}}@keyframes vue-popup-plus-animation-leave-fly-bottom-fc20a73d{0%{transform:translateY(0)}to{transform:translateY(100vh)}}.popup-view-wrapper[data-v-fc20a73d]{position:fixed;inset:0;display:flex;justify-content:center;align-items:center;pointer-events:none}.popup-view-wrapper .popup-view[data-v-fc20a73d]{position:relative;margin:auto;pointer-events:auto}.vue-popup-plus-animation{animation-timing-function:linear;animation-duration:var(--8298d78c)}")),document.head.appendChild(a)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
+
(function($,a){typeof exports=="object"&&typeof module<"u"?a(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],a):($=typeof globalThis<"u"?globalThis:$||self,a($.VuePopupPlus={},$.Vue))})(this,(function($,a){"use strict";var To=Object.create,ht=Object.defineProperty,bo=Object.getOwnPropertyDescriptor,Me=Object.getOwnPropertyNames,Io=Object.getPrototypeOf,Do=Object.prototype.hasOwnProperty,ko=(e,t)=>function(){return e&&(t=(0,e[Me(e)[0]])(e=0)),t},wo=(e,t)=>function(){return t||(0,e[Me(e)[0]])((t={exports:{}}).exports,t),t.exports},Po=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of Me(t))!Do.call(e,r)&&r!==n&&ht(e,r,{get:()=>t[r],enumerable:!(o=bo(t,r))||o.enumerable});return e},No=(e,t,n)=>(n=e!=null?To(Io(e)):{},Po(ht(n,"default",{value:e,enumerable:!0}),e)),pe=ko({"../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.51.1_@types+node@22.13.14__jiti@2.4.2_postcss@8.5_96eb05a9d65343021e53791dd83f3773/node_modules/tsup/assets/esm_shims.js"(){}}),Ro=wo({"../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js"(e,t){pe(),t.exports=o;function n(s){return s instanceof Buffer?Buffer.from(s):new s.constructor(s.buffer.slice(),s.byteOffset,s.length)}function o(s){if(s=s||{},s.circles)return r(s);const u=new Map;if(u.set(Date,f=>new Date(f)),u.set(Map,(f,O)=>new Map(c(Array.from(f),O))),u.set(Set,(f,O)=>new Set(c(Array.from(f),O))),s.constructorHandlers)for(const f of s.constructorHandlers)u.set(f[0],f[1]);let i=null;return s.proto?v:d;function c(f,O){const _=Object.keys(f),E=new Array(_.length);for(let A=0;A<_.length;A++){const m=_[A],g=f[m];typeof g!="object"||g===null?E[m]=g:g.constructor!==Object&&(i=u.get(g.constructor))?E[m]=i(g,O):ArrayBuffer.isView(g)?E[m]=n(g):E[m]=O(g)}return E}function d(f){if(typeof f!="object"||f===null)return f;if(Array.isArray(f))return c(f,d);if(f.constructor!==Object&&(i=u.get(f.constructor)))return i(f,d);const O={};for(const _ in f){if(Object.hasOwnProperty.call(f,_)===!1)continue;const E=f[_];typeof E!="object"||E===null?O[_]=E:E.constructor!==Object&&(i=u.get(E.constructor))?O[_]=i(E,d):ArrayBuffer.isView(E)?O[_]=n(E):O[_]=d(E)}return O}function v(f){if(typeof f!="object"||f===null)return f;if(Array.isArray(f))return c(f,v);if(f.constructor!==Object&&(i=u.get(f.constructor)))return i(f,v);const O={};for(const _ in f){const E=f[_];typeof E!="object"||E===null?O[_]=E:E.constructor!==Object&&(i=u.get(E.constructor))?O[_]=i(E,v):ArrayBuffer.isView(E)?O[_]=n(E):O[_]=v(E)}return O}}function r(s){const u=[],i=[],c=new Map;if(c.set(Date,_=>new Date(_)),c.set(Map,(_,E)=>new Map(v(Array.from(_),E))),c.set(Set,(_,E)=>new Set(v(Array.from(_),E))),s.constructorHandlers)for(const _ of s.constructorHandlers)c.set(_[0],_[1]);let d=null;return s.proto?O:f;function v(_,E){const A=Object.keys(_),m=new Array(A.length);for(let g=0;g<A.length;g++){const b=A[g],T=_[b];if(typeof T!="object"||T===null)m[b]=T;else if(T.constructor!==Object&&(d=c.get(T.constructor)))m[b]=d(T,E);else if(ArrayBuffer.isView(T))m[b]=n(T);else{const x=u.indexOf(T);x!==-1?m[b]=i[x]:m[b]=E(T)}}return m}function f(_){if(typeof _!="object"||_===null)return _;if(Array.isArray(_))return v(_,f);if(_.constructor!==Object&&(d=c.get(_.constructor)))return d(_,f);const E={};u.push(_),i.push(E);for(const A in _){if(Object.hasOwnProperty.call(_,A)===!1)continue;const m=_[A];if(typeof m!="object"||m===null)E[A]=m;else if(m.constructor!==Object&&(d=c.get(m.constructor)))E[A]=d(m,f);else if(ArrayBuffer.isView(m))E[A]=n(m);else{const g=u.indexOf(m);g!==-1?E[A]=i[g]:E[A]=f(m)}}return u.pop(),i.pop(),E}function O(_){if(typeof _!="object"||_===null)return _;if(Array.isArray(_))return v(_,O);if(_.constructor!==Object&&(d=c.get(_.constructor)))return d(_,O);const E={};u.push(_),i.push(E);for(const A in _){const m=_[A];if(typeof m!="object"||m===null)E[A]=m;else if(m.constructor!==Object&&(d=c.get(m.constructor)))E[A]=d(m,O);else if(ArrayBuffer.isView(m))E[A]=n(m);else{const g=u.indexOf(m);g!==-1?E[A]=i[g]:E[A]=O(m)}}return u.pop(),i.pop(),E}}}});pe(),pe(),pe();var mt=typeof navigator<"u",p=typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof global<"u"?global:{};typeof p.chrome<"u"&&p.chrome.devtools,mt&&(p.self,p.top);var gt;typeof navigator<"u"&&((gt=navigator.userAgent)==null||gt.toLowerCase().includes("electron")),pe();var Vo=No(Ro()),xo=/(?:^|[-_/])(\w)/g;function Fo(e,t){return t?t.toUpperCase():""}function Uo(e){return e&&`${e}`.replace(xo,Fo)}function Lo(e,t){let n=e.replace(/^[a-z]:/i,"").replace(/\\/g,"/");n.endsWith(`index${t}`)&&(n=n.replace(`/index${t}`,t));const o=n.lastIndexOf("/"),r=n.substring(o+1);{const s=r.lastIndexOf(t);return r.substring(0,s)}}var yt=(0,Vo.default)({circles:!0});const Bo={trailing:!0};function re(e,t=25,n={}){if(n={...Bo,...n},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let o,r,s=[],u,i;const c=(d,v)=>(u=Mo(e,d,v),u.finally(()=>{if(u=null,n.trailing&&i&&!r){const f=c(d,i);return i=null,f}}),u);return function(...d){return u?(n.trailing&&(i=d),u):new Promise(v=>{const f=!r&&n.leading;clearTimeout(r),r=setTimeout(()=>{r=null;const O=n.leading?o:c(this,d);for(const _ of s)_(O);s=[]},t),f?(o=c(this,d),v(o)):s.push(v)})}}async function Mo(e,t,n){return await e.apply(t,n)}function $e(e,t={},n){for(const o in e){const r=e[o],s=n?`${n}:${o}`:o;typeof r=="object"&&r!==null?$e(r,t,s):typeof r=="function"&&(t[s]=r)}return t}const $o={run:e=>e()},jo=()=>$o,vt=typeof console.createTask<"u"?console.createTask:jo;function Ho(e,t){const n=t.shift(),o=vt(n);return e.reduce((r,s)=>r.then(()=>o.run(()=>s(...t))),Promise.resolve())}function Ko(e,t){const n=t.shift(),o=vt(n);return Promise.all(e.map(r=>o.run(()=>r(...t))))}function je(e,t){for(const n of[...e])n(t)}class zo{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,o={}){if(!t||typeof n!="function")return()=>{};const r=t;let s;for(;this._deprecatedHooks[t];)s=this._deprecatedHooks[t],t=s.to;if(s&&!o.allowDeprecated){let u=s.message;u||(u=`${r} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(u)||(console.warn(u),this._deprecatedMessages.add(u))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let o,r=(...s)=>(typeof o=="function"&&o(),o=void 0,r=void 0,n(...s));return o=this.hook(t,r),o}removeHook(t,n){if(this._hooks[t]){const o=this._hooks[t].indexOf(n);o!==-1&&this._hooks[t].splice(o,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const o=this._hooks[t]||[];delete this._hooks[t];for(const r of o)this.hook(t,r)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=$e(t),o=Object.keys(n).map(r=>this.hook(r,n[r]));return()=>{for(const r of o.splice(0,o.length))r()}}removeHooks(t){const n=$e(t);for(const o in n)this.removeHook(o,n[o])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(Ho,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Ko,t,...n)}callHookWith(t,n,...o){const r=this._before||this._after?{name:n,args:o,context:{}}:void 0;this._before&&je(this._before,r);const s=t(n in this._hooks?[...this._hooks[n]]:[],o);return s instanceof Promise?s.finally(()=>{this._after&&r&&je(this._after,r)}):(this._after&&r&&je(this._after,r),s)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function Ot(){return new zo}var Go=Object.create,At=Object.defineProperty,Wo=Object.getOwnPropertyDescriptor,He=Object.getOwnPropertyNames,Yo=Object.getPrototypeOf,qo=Object.prototype.hasOwnProperty,Zo=(e,t)=>function(){return e&&(t=(0,e[He(e)[0]])(e=0)),t},St=(e,t)=>function(){return t||(0,e[He(e)[0]])((t={exports:{}}).exports,t),t.exports},Xo=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of He(t))!qo.call(e,r)&&r!==n&&At(e,r,{get:()=>t[r],enumerable:!(o=Wo(t,r))||o.enumerable});return e},Jo=(e,t,n)=>(n=e!=null?Go(Yo(e)):{},Xo(At(n,"default",{value:e,enumerable:!0}),e)),l=Zo({"../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.51.1_@types+node@22.13.14__jiti@2.4.2_postcss@8.5_96eb05a9d65343021e53791dd83f3773/node_modules/tsup/assets/esm_shims.js"(){}}),Qo=St({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(e,t){l(),(function(n){var o={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"Ae",Å:"A",Æ:"AE",Ç:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"Oe",Ő:"O",Ø:"O",Ù:"U",Ú:"U",Û:"U",Ü:"Ue",Ű:"U",Ý:"Y",Þ:"TH",ß:"ss",à:"a",á:"a",â:"a",ã:"a",ä:"ae",å:"a",æ:"ae",ç:"c",è:"e",é:"e",ê:"e",ë:"e",ì:"i",í:"i",î:"i",ï:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"oe",ő:"o",ø:"o",ù:"u",ú:"u",û:"u",ü:"ue",ű:"u",ý:"y",þ:"th",ÿ:"y","ẞ":"SS",ا:"a",أ:"a",إ:"i",آ:"aa",ؤ:"u",ئ:"e",ء:"a",ب:"b",ت:"t",ث:"th",ج:"j",ح:"h",خ:"kh",د:"d",ذ:"th",ر:"r",ز:"z",س:"s",ش:"sh",ص:"s",ض:"dh",ط:"t",ظ:"z",ع:"a",غ:"gh",ف:"f",ق:"q",ك:"k",ل:"l",م:"m",ن:"n",ه:"h",و:"w",ي:"y",ى:"a",ة:"h",ﻻ:"la",ﻷ:"laa",ﻹ:"lai",ﻵ:"laa",گ:"g",چ:"ch",پ:"p",ژ:"zh",ک:"k",ی:"y","َ":"a","ً":"an","ِ":"e","ٍ":"en","ُ":"u","ٌ":"on","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",က:"k",ခ:"kh",ဂ:"g",ဃ:"ga",င:"ng",စ:"s",ဆ:"sa",ဇ:"z","စျ":"za",ည:"ny",ဋ:"t",ဌ:"ta",ဍ:"d",ဎ:"da",ဏ:"na",တ:"t",ထ:"ta",ဒ:"d",ဓ:"da",န:"n",ပ:"p",ဖ:"pa",ဗ:"b",ဘ:"ba",မ:"m",ယ:"y",ရ:"ya",လ:"l",ဝ:"w",သ:"th",ဟ:"h",ဠ:"la",အ:"a","ြ":"y","ျ":"ya","ွ":"w","ြွ":"yw","ျွ":"ywa","ှ":"h",ဧ:"e","၏":"-e",ဣ:"i",ဤ:"-i",ဉ:"u",ဦ:"-u",ဩ:"aw","သြော":"aw",ဪ:"aw","၀":"0","၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","္":"","့":"","း":"",č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z",ހ:"h",ށ:"sh",ނ:"n",ރ:"r",ބ:"b",ޅ:"lh",ކ:"k",އ:"a",ވ:"v",މ:"m",ފ:"f",ދ:"dh",ތ:"th",ލ:"l",ގ:"g",ޏ:"gn",ސ:"s",ޑ:"d",ޒ:"z",ޓ:"t",ޔ:"y",ޕ:"p",ޖ:"j",ޗ:"ch",ޘ:"tt",ޙ:"hh",ޚ:"kh",ޛ:"th",ޜ:"z",ޝ:"sh",ޞ:"s",ޟ:"d",ޠ:"t",ޡ:"z",ޢ:"a",ޣ:"gh",ޤ:"q",ޥ:"w","ަ":"a","ާ":"aa","ި":"i","ީ":"ee","ު":"u","ޫ":"oo","ެ":"e","ޭ":"ey","ޮ":"o","ޯ":"oa","ް":"",ა:"a",ბ:"b",გ:"g",დ:"d",ე:"e",ვ:"v",ზ:"z",თ:"t",ი:"i",კ:"k",ლ:"l",მ:"m",ნ:"n",ო:"o",პ:"p",ჟ:"zh",რ:"r",ს:"s",ტ:"t",უ:"u",ფ:"p",ქ:"k",ღ:"gh",ყ:"q",შ:"sh",ჩ:"ch",ც:"ts",ძ:"dz",წ:"ts",ჭ:"ch",ხ:"kh",ჯ:"j",ჰ:"h",α:"a",β:"v",γ:"g",δ:"d",ε:"e",ζ:"z",η:"i",θ:"th",ι:"i",κ:"k",λ:"l",μ:"m",ν:"n",ξ:"ks",ο:"o",π:"p",ρ:"r",σ:"s",τ:"t",υ:"y",φ:"f",χ:"x",ψ:"ps",ω:"o",ά:"a",έ:"e",ί:"i",ό:"o",ύ:"y",ή:"i",ώ:"o",ς:"s",ϊ:"i",ΰ:"y",ϋ:"y",ΐ:"i",Α:"A",Β:"B",Γ:"G",Δ:"D",Ε:"E",Ζ:"Z",Η:"I",Θ:"TH",Ι:"I",Κ:"K",Λ:"L",Μ:"M",Ν:"N",Ξ:"KS",Ο:"O",Π:"P",Ρ:"R",Σ:"S",Τ:"T",Υ:"Y",Φ:"F",Χ:"X",Ψ:"PS",Ω:"O",Ά:"A",Έ:"E",Ί:"I",Ό:"O",Ύ:"Y",Ή:"I",Ώ:"O",Ϊ:"I",Ϋ:"Y",ā:"a",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",ū:"u",Ā:"A",Ē:"E",Ģ:"G",Ī:"I",Ķ:"k",Ļ:"L",Ņ:"N",Ū:"U",Ќ:"Kj",ќ:"kj",Љ:"Lj",љ:"lj",Њ:"Nj",њ:"nj",Тс:"Ts",тс:"ts",ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"E",Ł:"L",Ń:"N",Ś:"S",Ź:"Z",Ż:"Z",Є:"Ye",І:"I",Ї:"Yi",Ґ:"G",є:"ye",і:"i",ї:"yi",ґ:"g",ă:"a",Ă:"A",ș:"s",Ș:"S",ț:"t",Ț:"T",ţ:"t",Ţ:"T",а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"i",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"kh",ц:"c",ч:"ch",ш:"sh",щ:"sh",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya",А:"A",Б:"B",В:"V",Г:"G",Д:"D",Е:"E",Ё:"Yo",Ж:"Zh",З:"Z",И:"I",Й:"I",К:"K",Л:"L",М:"M",Н:"N",О:"O",П:"P",Р:"R",С:"S",Т:"T",У:"U",Ф:"F",Х:"Kh",Ц:"C",Ч:"Ch",Ш:"Sh",Щ:"Sh",Ъ:"",Ы:"Y",Ь:"",Э:"E",Ю:"Yu",Я:"Ya",ђ:"dj",ј:"j",ћ:"c",џ:"dz",Ђ:"Dj",Ј:"j",Ћ:"C",Џ:"Dz",ľ:"l",ĺ:"l",ŕ:"r",Ľ:"L",Ĺ:"L",Ŕ:"R",ş:"s",Ş:"S",ı:"i",İ:"I",ğ:"g",Ğ:"G",ả:"a",Ả:"A",ẳ:"a",Ẳ:"A",ẩ:"a",Ẩ:"A",đ:"d",Đ:"D",ẹ:"e",Ẹ:"E",ẽ:"e",Ẽ:"E",ẻ:"e",Ẻ:"E",ế:"e",Ế:"E",ề:"e",Ề:"E",ệ:"e",Ệ:"E",ễ:"e",Ễ:"E",ể:"e",Ể:"E",ỏ:"o",ọ:"o",Ọ:"o",ố:"o",Ố:"O",ồ:"o",Ồ:"O",ổ:"o",Ổ:"O",ộ:"o",Ộ:"O",ỗ:"o",Ỗ:"O",ơ:"o",Ơ:"O",ớ:"o",Ớ:"O",ờ:"o",Ờ:"O",ợ:"o",Ợ:"O",ỡ:"o",Ỡ:"O",Ở:"o",ở:"o",ị:"i",Ị:"I",ĩ:"i",Ĩ:"I",ỉ:"i",Ỉ:"i",ủ:"u",Ủ:"U",ụ:"u",Ụ:"U",ũ:"u",Ũ:"U",ư:"u",Ư:"U",ứ:"u",Ứ:"U",ừ:"u",Ừ:"U",ự:"u",Ự:"U",ữ:"u",Ữ:"U",ử:"u",Ử:"ư",ỷ:"y",Ỷ:"y",ỳ:"y",Ỳ:"Y",ỵ:"y",Ỵ:"Y",ỹ:"y",Ỹ:"Y",ạ:"a",Ạ:"A",ấ:"a",Ấ:"A",ầ:"a",Ầ:"A",ậ:"a",Ậ:"A",ẫ:"a",Ẫ:"A",ắ:"a",Ắ:"A",ằ:"a",Ằ:"A",ặ:"a",Ặ:"A",ẵ:"a",Ẵ:"A","⓪":"0","①":"1","②":"2","③":"3","④":"4","⑤":"5","⑥":"6","⑦":"7","⑧":"8","⑨":"9","⑩":"10","⑪":"11","⑫":"12","⑬":"13","⑭":"14","⑮":"15","⑯":"16","⑰":"17","⑱":"18","⑲":"18","⑳":"18","⓵":"1","⓶":"2","⓷":"3","⓸":"4","⓹":"5","⓺":"6","⓻":"7","⓼":"8","⓽":"9","⓾":"10","⓿":"0","⓫":"11","⓬":"12","⓭":"13","⓮":"14","⓯":"15","⓰":"16","⓱":"17","⓲":"18","⓳":"19","⓴":"20","Ⓐ":"A","Ⓑ":"B","Ⓒ":"C","Ⓓ":"D","Ⓔ":"E","Ⓕ":"F","Ⓖ":"G","Ⓗ":"H","Ⓘ":"I","Ⓙ":"J","Ⓚ":"K","Ⓛ":"L","Ⓜ":"M","Ⓝ":"N","Ⓞ":"O","Ⓟ":"P","Ⓠ":"Q","Ⓡ":"R","Ⓢ":"S","Ⓣ":"T","Ⓤ":"U","Ⓥ":"V","Ⓦ":"W","Ⓧ":"X","Ⓨ":"Y","Ⓩ":"Z","ⓐ":"a","ⓑ":"b","ⓒ":"c","ⓓ":"d","ⓔ":"e","ⓕ":"f","ⓖ":"g","ⓗ":"h","ⓘ":"i","ⓙ":"j","ⓚ":"k","ⓛ":"l","ⓜ":"m","ⓝ":"n","ⓞ":"o","ⓟ":"p","ⓠ":"q","ⓡ":"r","ⓢ":"s","ⓣ":"t","ⓤ":"u","ⓦ":"v","ⓥ":"w","ⓧ":"x","ⓨ":"y","ⓩ":"z","“":'"',"”":'"',"‘":"'","’":"'","∂":"d",ƒ:"f","™":"(TM)","©":"(C)",œ:"oe",Œ:"OE","®":"(R)","†":"+","℠":"(SM)","…":"...","˚":"o",º:"o",ª:"a","•":"*","၊":",","။":".",$:"USD","€":"EUR","₢":"BRN","₣":"FRF","£":"GBP","₤":"ITL","₦":"NGN","₧":"ESP","₩":"KRW","₪":"ILS","₫":"VND","₭":"LAK","₮":"MNT","₯":"GRD","₱":"ARS","₲":"PYG","₳":"ARA","₴":"UAH","₵":"GHS","¢":"cent","¥":"CNY",元:"CNY",円:"YEN","﷼":"IRR","₠":"EWE","฿":"THB","₨":"INR","₹":"INR","₰":"PF","₺":"TRY","؋":"AFN","₼":"AZN",лв:"BGN","៛":"KHR","₡":"CRC","₸":"KZT",ден:"MKD",zł:"PLN","₽":"RUB","₾":"GEL"},r=["်","ް"],s={"ာ":"a","ါ":"a","ေ":"e","ဲ":"e","ိ":"i","ီ":"i","ို":"o","ု":"u","ူ":"u","ေါင်":"aung","ော":"aw","ော်":"aw","ေါ":"aw","ေါ်":"aw","်":"်","က်":"et","ိုက်":"aik","ောက်":"auk","င်":"in","ိုင်":"aing","ောင်":"aung","စ်":"it","ည်":"i","တ်":"at","ိတ်":"eik","ုတ်":"ok","ွတ်":"ut","ေတ်":"it","ဒ်":"d","ိုဒ်":"ok","ုဒ်":"ait","န်":"an","ာန်":"an","ိန်":"ein","ုန်":"on","ွန်":"un","ပ်":"at","ိပ်":"eik","ုပ်":"ok","ွပ်":"ut","န်ုပ်":"nub","မ်":"an","ိမ်":"ein","ုမ်":"on","ွမ်":"un","ယ်":"e","ိုလ်":"ol","ဉ်":"in","ံ":"an","ိံ":"ein","ုံ":"on","ައް":"ah","ަށް":"ah"},u={en:{},az:{ç:"c",ə:"e",ğ:"g",ı:"i",ö:"o",ş:"s",ü:"u",Ç:"C",Ə:"E",Ğ:"G",İ:"I",Ö:"O",Ş:"S",Ü:"U"},cs:{č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z"},fi:{ä:"a",Ä:"A",ö:"o",Ö:"O"},hu:{ä:"a",Ä:"A",ö:"o",Ö:"O",ü:"u",Ü:"U",ű:"u",Ű:"U"},lt:{ą:"a",č:"c",ę:"e",ė:"e",į:"i",š:"s",ų:"u",ū:"u",ž:"z",Ą:"A",Č:"C",Ę:"E",Ė:"E",Į:"I",Š:"S",Ų:"U",Ū:"U"},lv:{ā:"a",č:"c",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",š:"s",ū:"u",ž:"z",Ā:"A",Č:"C",Ē:"E",Ģ:"G",Ī:"i",Ķ:"k",Ļ:"L",Ņ:"N",Š:"S",Ū:"u",Ž:"Z"},pl:{ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ó:"o",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"e",Ł:"L",Ń:"N",Ó:"O",Ś:"S",Ź:"Z",Ż:"Z"},sv:{ä:"a",Ä:"A",ö:"o",Ö:"O"},sk:{ä:"a",Ä:"A"},sr:{љ:"lj",њ:"nj",Љ:"Lj",Њ:"Nj",đ:"dj",Đ:"Dj"},tr:{Ü:"U",Ö:"O",ü:"u",ö:"o"}},i={ar:{"∆":"delta","∞":"la-nihaya","♥":"hob","&":"wa","|":"aw","<":"aqal-men",">":"akbar-men","∑":"majmou","¤":"omla"},az:{},ca:{"∆":"delta","∞":"infinit","♥":"amor","&":"i","|":"o","<":"menys que",">":"mes que","∑":"suma dels","¤":"moneda"},cs:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"nebo","<":"mensi nez",">":"vetsi nez","∑":"soucet","¤":"mena"},de:{"∆":"delta","∞":"unendlich","♥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","∑":"Summe von","¤":"Waehrung"},dv:{"∆":"delta","∞":"kolunulaa","♥":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","∑":"jumula","¤":"faisaa"},en:{"∆":"delta","∞":"infinity","♥":"love","&":"and","|":"or","<":"less than",">":"greater than","∑":"sum","¤":"currency"},es:{"∆":"delta","∞":"infinito","♥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","∑":"suma de los","¤":"moneda"},fa:{"∆":"delta","∞":"bi-nahayat","♥":"eshgh","&":"va","|":"ya","<":"kamtar-az",">":"bishtar-az","∑":"majmooe","¤":"vahed"},fi:{"∆":"delta","∞":"aarettomyys","♥":"rakkaus","&":"ja","|":"tai","<":"pienempi kuin",">":"suurempi kuin","∑":"summa","¤":"valuutta"},fr:{"∆":"delta","∞":"infiniment","♥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","∑":"somme des","¤":"monnaie"},ge:{"∆":"delta","∞":"usasruloba","♥":"siqvaruli","&":"da","|":"an","<":"naklebi",">":"meti","∑":"jami","¤":"valuta"},gr:{},hu:{"∆":"delta","∞":"vegtelen","♥":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","∑":"szumma","¤":"penznem"},it:{"∆":"delta","∞":"infinito","♥":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","∑":"somma","¤":"moneta"},lt:{"∆":"delta","∞":"begalybe","♥":"meile","&":"ir","|":"ar","<":"maziau nei",">":"daugiau nei","∑":"suma","¤":"valiuta"},lv:{"∆":"delta","∞":"bezgaliba","♥":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","∑":"summa","¤":"valuta"},my:{"∆":"kwahkhyaet","∞":"asaonasme","♥":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","∑":"paungld","¤":"ngwekye"},mk:{},nl:{"∆":"delta","∞":"oneindig","♥":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","∑":"som","¤":"valuta"},pl:{"∆":"delta","∞":"nieskonczonosc","♥":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","∑":"suma","¤":"waluta"},pt:{"∆":"delta","∞":"infinito","♥":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","∑":"soma","¤":"moeda"},ro:{"∆":"delta","∞":"infinit","♥":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","∑":"suma","¤":"valuta"},ru:{"∆":"delta","∞":"beskonechno","♥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","∑":"summa","¤":"valjuta"},sk:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","∑":"sucet","¤":"mena"},sr:{},tr:{"∆":"delta","∞":"sonsuzluk","♥":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","∑":"toplam","¤":"para birimi"},uk:{"∆":"delta","∞":"bezkinechnist","♥":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","∑":"suma","¤":"valjuta"},vn:{"∆":"delta","∞":"vo cuc","♥":"yeu","&":"va","|":"hoac","<":"nho hon",">":"lon hon","∑":"tong","¤":"tien te"}},c=[";","?",":","@","&","=","+","$",",","/"].join(""),d=[";","?",":","@","&","=","+","$",","].join(""),v=[".","!","~","*","'","(",")"].join(""),f=function(m,g){var b="-",T="",x="",J=!0,B={},S,Te,F,y,h,I,N,M,de,H,C,W,k,_e,Q="";if(typeof m!="string")return"";if(typeof g=="string"&&(b=g),N=i.en,M=u.en,typeof g=="object"){S=g.maintainCase||!1,B=g.custom&&typeof g.custom=="object"?g.custom:B,F=+g.truncate>1&&g.truncate||!1,y=g.uric||!1,h=g.uricNoSlash||!1,I=g.mark||!1,J=!(g.symbols===!1||g.lang===!1),b=g.separator||b,y&&(Q+=c),h&&(Q+=d),I&&(Q+=v),N=g.lang&&i[g.lang]&&J?i[g.lang]:J?i.en:{},M=g.lang&&u[g.lang]?u[g.lang]:g.lang===!1||g.lang===!0?{}:u.en,g.titleCase&&typeof g.titleCase.length=="number"&&Array.prototype.toString.call(g.titleCase)?(g.titleCase.forEach(function(K){B[K+""]=K+""}),Te=!0):Te=!!g.titleCase,g.custom&&typeof g.custom.length=="number"&&Array.prototype.toString.call(g.custom)&&g.custom.forEach(function(K){B[K+""]=K+""}),Object.keys(B).forEach(function(K){var be;K.length>1?be=new RegExp("\\b"+_(K)+"\\b","gi"):be=new RegExp(_(K),"gi"),m=m.replace(be,B[K])});for(C in B)Q+=C}for(Q+=b,Q=_(Q),m=m.replace(/(^\s+|\s+$)/g,""),k=!1,_e=!1,H=0,W=m.length;H<W;H++)C=m[H],E(C,B)?k=!1:M[C]?(C=k&&M[C].match(/[A-Za-z0-9]/)?" "+M[C]:M[C],k=!1):C in o?(H+1<W&&r.indexOf(m[H+1])>=0?(x+=C,C=""):_e===!0?(C=s[x]+o[C],x=""):C=k&&o[C].match(/[A-Za-z0-9]/)?" "+o[C]:o[C],k=!1,_e=!1):C in s?(x+=C,C="",H===W-1&&(C=s[x]),_e=!0):N[C]&&!(y&&c.indexOf(C)!==-1)&&!(h&&d.indexOf(C)!==-1)?(C=k||T.substr(-1).match(/[A-Za-z0-9]/)?b+N[C]:N[C],C+=m[H+1]!==void 0&&m[H+1].match(/[A-Za-z0-9]/)?b:"",k=!0):(_e===!0?(C=s[x]+C,x="",_e=!1):k&&(/[A-Za-z0-9]/.test(C)||T.substr(-1).match(/A-Za-z0-9]/))&&(C=" "+C),k=!1),T+=C.replace(new RegExp("[^\\w\\s"+Q+"_-]","g"),b);return Te&&(T=T.replace(/(\w)(\S*)/g,function(K,be,Co){var Et=be.toUpperCase()+(Co!==null?Co:"");return Object.keys(B).indexOf(Et.toLowerCase())<0?Et:Et.toLowerCase()})),T=T.replace(/\s+/g,b).replace(new RegExp("\\"+b+"+","g"),b).replace(new RegExp("(^\\"+b+"+|\\"+b+"+$)","g"),""),F&&T.length>F&&(de=T.charAt(F)===b,T=T.slice(0,F),de||(T=T.slice(0,T.lastIndexOf(b)))),!S&&!Te&&(T=T.toLowerCase()),T},O=function(m){return function(b){return f(b,m)}},_=function(m){return m.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},E=function(A,m){for(var g in m)if(m[g]===A)return!0};if(typeof t<"u"&&t.exports)t.exports=f,t.exports.createSlug=O;else if(typeof define<"u"&&define.amd)define([],function(){return f});else try{if(n.getSlug||n.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";n.getSlug=f,n.createSlug=O}catch{}})(e)}}),er=St({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(e,t){l(),t.exports=Qo()}});l(),l(),l(),l(),l(),l(),l(),l();function tr(e){var t;const n=e.name||e._componentTag||e.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||e.__name;return n==="index"&&((t=e.__file)!=null&&t.endsWith("index.vue"))?"":n}function nr(e){const t=e.__file;if(t)return Uo(Lo(t,".vue"))}function Ct(e,t){return e.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=t,t}function Ke(e){if(e.__VUE_DEVTOOLS_NEXT_APP_RECORD__)return e.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(e.root)return e.appContext.app.__VUE_DEVTOOLS_NEXT_APP_RECORD__}function Tt(e){var t,n;const o=(t=e.subTree)==null?void 0:t.type,r=Ke(e);return r?((n=r?.types)==null?void 0:n.Fragment)===o:!1}function Ie(e){var t,n,o;const r=tr(e?.type||{});if(r)return r;if(e?.root===e)return"Root";for(const u in(n=(t=e.parent)==null?void 0:t.type)==null?void 0:n.components)if(e.parent.type.components[u]===e?.type)return Ct(e,u);for(const u in(o=e.appContext)==null?void 0:o.components)if(e.appContext.components[u]===e?.type)return Ct(e,u);const s=nr(e?.type||{});return s||"Anonymous Component"}function or(e){var t,n,o;const r=(o=(n=(t=e?.appContext)==null?void 0:t.app)==null?void 0:n.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__)!=null?o:0,s=e===e?.root?"root":e.uid;return`${r}:${s}`}function ze(e,t){return t=t||`${e.id}:root`,e.instanceMap.get(t)||e.instanceMap.get(":root")}function rr(){const e={top:0,bottom:0,left:0,right:0,get width(){return e.right-e.left},get height(){return e.bottom-e.top}};return e}var De;function sr(e){return De||(De=document.createRange()),De.selectNode(e),De.getBoundingClientRect()}function ur(e){const t=rr();if(!e.children)return t;for(let n=0,o=e.children.length;n<o;n++){const r=e.children[n];let s;if(r.component)s=ee(r.component);else if(r.el){const u=r.el;u.nodeType===1||u.getBoundingClientRect?s=u.getBoundingClientRect():u.nodeType===3&&u.data.trim()&&(s=sr(u))}s&&ir(t,s)}return t}function ir(e,t){return(!e.top||t.top<e.top)&&(e.top=t.top),(!e.bottom||t.bottom>e.bottom)&&(e.bottom=t.bottom),(!e.left||t.left<e.left)&&(e.left=t.left),(!e.right||t.right>e.right)&&(e.right=t.right),e}var bt={top:0,left:0,right:0,bottom:0,width:0,height:0};function ee(e){const t=e.subTree.el;return typeof window>"u"?bt:Tt(e)?ur(e.subTree):t?.nodeType===1?t?.getBoundingClientRect():e.subTree.component?ee(e.subTree.component):bt}l();function Ge(e){return Tt(e)?ar(e.subTree):e.subTree?[e.subTree.el]:[]}function ar(e){if(!e.children)return[];const t=[];return e.children.forEach(n=>{n.component?t.push(...Ge(n.component)):n?.el&&t.push(n.el)}),t}var It="__vue-devtools-component-inspector__",Dt="__vue-devtools-component-inspector__card__",kt="__vue-devtools-component-inspector__name__",wt="__vue-devtools-component-inspector__indicator__",Pt={display:"block",zIndex:2147483640,position:"fixed",backgroundColor:"#42b88325",border:"1px solid #42b88350",borderRadius:"5px",transition:"all 0.1s ease-in",pointerEvents:"none"},lr={fontFamily:"Arial, Helvetica, sans-serif",padding:"5px 8px",borderRadius:"4px",textAlign:"left",position:"absolute",left:0,color:"#e9e9e9",fontSize:"14px",fontWeight:600,lineHeight:"24px",backgroundColor:"#42b883",boxShadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},cr={display:"inline-block",fontWeight:400,fontStyle:"normal",fontSize:"12px",opacity:.7};function se(){return document.getElementById(It)}function fr(){return document.getElementById(Dt)}function dr(){return document.getElementById(wt)}function _r(){return document.getElementById(kt)}function We(e){return{left:`${Math.round(e.left*100)/100}px`,top:`${Math.round(e.top*100)/100}px`,width:`${Math.round(e.width*100)/100}px`,height:`${Math.round(e.height*100)/100}px`}}function Ye(e){var t;const n=document.createElement("div");n.id=(t=e.elementId)!=null?t:It,Object.assign(n.style,{...Pt,...We(e.bounds),...e.style});const o=document.createElement("span");o.id=Dt,Object.assign(o.style,{...lr,top:e.bounds.top<35?0:"-35px"});const r=document.createElement("span");r.id=kt,r.innerHTML=`<${e.name}> `;const s=document.createElement("i");return s.id=wt,s.innerHTML=`${Math.round(e.bounds.width*100)/100} x ${Math.round(e.bounds.height*100)/100}`,Object.assign(s.style,cr),o.appendChild(r),o.appendChild(s),n.appendChild(o),document.body.appendChild(n),n}function qe(e){const t=se(),n=fr(),o=_r(),r=dr();t&&(Object.assign(t.style,{...Pt,...We(e.bounds)}),Object.assign(n.style,{top:e.bounds.top<35?0:"-35px"}),o.innerHTML=`<${e.name}> `,r.innerHTML=`${Math.round(e.bounds.width*100)/100} x ${Math.round(e.bounds.height*100)/100}`)}function pr(e){const t=ee(e);if(!t.width&&!t.height)return;const n=Ie(e);se()?qe({bounds:t,name:n}):Ye({bounds:t,name:n})}function Nt(){const e=se();e&&(e.style.display="none")}var Ze=null;function Xe(e){const t=e.target;if(t){const n=t.__vueParentComponent;if(n&&(Ze=n,n.vnode.el)){const r=ee(n),s=Ie(n);se()?qe({bounds:r,name:s}):Ye({bounds:r,name:s})}}}function Er(e,t){if(e.preventDefault(),e.stopPropagation(),Ze){const n=or(Ze);t(n)}}var ke=null;function hr(){Nt(),window.removeEventListener("mouseover",Xe),window.removeEventListener("click",ke,!0),ke=null}function mr(){return window.addEventListener("mouseover",Xe),new Promise(e=>{function t(n){n.preventDefault(),n.stopPropagation(),Er(n,o=>{window.removeEventListener("click",t,!0),ke=null,window.removeEventListener("mouseover",Xe);const r=se();r&&(r.style.display="none"),e(JSON.stringify({id:o}))})}ke=t,window.addEventListener("click",t,!0)})}function gr(e){const t=ze(V.value,e.id);if(t){const[n]=Ge(t);if(typeof n.scrollIntoView=="function")n.scrollIntoView({behavior:"smooth"});else{const o=ee(t),r=document.createElement("div"),s={...We(o),position:"absolute"};Object.assign(r.style,s),document.body.appendChild(r),r.scrollIntoView({behavior:"smooth"}),setTimeout(()=>{document.body.removeChild(r)},2e3)}setTimeout(()=>{const o=ee(t);if(o.width||o.height){const r=Ie(t),s=se();s?qe({...e,name:r,bounds:o}):Ye({...e,name:r,bounds:o}),setTimeout(()=>{s&&(s.style.display="none")},1500)}},1200)}}l();var Rt,Vt;(Vt=(Rt=p).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__)!=null||(Rt.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__=!0);function yr(e){let t=0;const n=setInterval(()=>{p.__VUE_INSPECTOR__&&(clearInterval(n),t+=30,e()),t>=5e3&&clearInterval(n)},30)}function vr(){const e=p.__VUE_INSPECTOR__,t=e.openInEditor;e.openInEditor=async(...n)=>{e.disable(),t(...n)}}function Or(){return new Promise(e=>{function t(){vr(),e(p.__VUE_INSPECTOR__)}p.__VUE_INSPECTOR__?t():yr(()=>{t()})})}l(),l();function Ar(e){return!!(e&&e.__v_isReadonly)}function xt(e){return Ar(e)?xt(e.__v_raw):!!(e&&e.__v_isReactive)}function Je(e){return!!(e&&e.__v_isRef===!0)}function Ee(e){const t=e&&e.__v_raw;return t?Ee(t):e}var Sr=class{constructor(){this.refEditor=new Cr}set(e,t,n,o){const r=Array.isArray(t)?t:t.split(".");for(;r.length>1;){const i=r.shift();e instanceof Map?e=e.get(i):e instanceof Set?e=Array.from(e.values())[i]:e=e[i],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}const s=r[0],u=this.refEditor.get(e)[s];o?o(e,s,n):this.refEditor.isRef(u)?this.refEditor.set(u,n):e[s]=n}get(e,t){const n=Array.isArray(t)?t:t.split(".");for(let o=0;o<n.length;o++)if(e instanceof Map?e=e.get(n[o]):e=e[n[o]],this.refEditor.isRef(e)&&(e=this.refEditor.get(e)),!e)return;return e}has(e,t,n=!1){if(typeof e>"u")return!1;const o=Array.isArray(t)?t.slice():t.split("."),r=n?2:1;for(;e&&o.length>r;){const s=o.shift();e=e[s],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}return e!=null&&Object.prototype.hasOwnProperty.call(e,o[0])}createDefaultSetCallback(e){return(t,n,o)=>{if((e.remove||e.newKey)&&(Array.isArray(t)?t.splice(n,1):Ee(t)instanceof Map?t.delete(n):Ee(t)instanceof Set?t.delete(Array.from(t.values())[n]):Reflect.deleteProperty(t,n)),!e.remove){const r=t[e.newKey||n];this.refEditor.isRef(r)?this.refEditor.set(r,o):Ee(t)instanceof Map?t.set(e.newKey||n,o):Ee(t)instanceof Set?t.add(o):t[e.newKey||n]=o}}}},Cr=class{set(e,t){if(Je(e))e.value=t;else{if(e instanceof Set&&Array.isArray(t)){e.clear(),t.forEach(r=>e.add(r));return}const n=Object.keys(t);if(e instanceof Map){const r=new Set(e.keys());n.forEach(s=>{e.set(s,Reflect.get(t,s)),r.delete(s)}),r.forEach(s=>e.delete(s));return}const o=new Set(Object.keys(e));n.forEach(r=>{Reflect.set(e,r,Reflect.get(t,r)),o.delete(r)}),o.forEach(r=>Reflect.deleteProperty(e,r))}}get(e){return Je(e)?e.value:e}isRef(e){return Je(e)||xt(e)}};l(),l(),l();var Tr="__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__";function br(){if(!mt||typeof localStorage>"u"||localStorage===null)return{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""};const e=localStorage.getItem(Tr);return e?JSON.parse(e):{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""}}l(),l(),l();var Ft,Ut;(Ut=(Ft=p).__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS)!=null||(Ft.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS=[]);var Ir=new Proxy(p.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS,{get(e,t,n){return Reflect.get(e,t,n)}});function Dr(e,t){w.timelineLayersState[t.id]=!1,Ir.push({...e,descriptorId:t.id,appRecord:Ke(t.app)})}var Lt,Bt;(Bt=(Lt=p).__VUE_DEVTOOLS_KIT_INSPECTOR__)!=null||(Lt.__VUE_DEVTOOLS_KIT_INSPECTOR__=[]);var Qe=new Proxy(p.__VUE_DEVTOOLS_KIT_INSPECTOR__,{get(e,t,n){return Reflect.get(e,t,n)}}),Mt=re(()=>{ie.hooks.callHook("sendInspectorToClient",$t())});function kr(e,t){var n,o;Qe.push({options:e,descriptor:t,treeFilterPlaceholder:(n=e.treeFilterPlaceholder)!=null?n:"Search tree...",stateFilterPlaceholder:(o=e.stateFilterPlaceholder)!=null?o:"Search state...",treeFilter:"",selectedNodeId:"",appRecord:Ke(t.app)}),Mt()}function $t(){return Qe.filter(e=>e.descriptor.app===V.value.app).filter(e=>e.descriptor.id!=="components").map(e=>{var t;const n=e.descriptor,o=e.options;return{id:o.id,label:o.label,logo:n.logo,icon:`custom-ic-baseline-${(t=o?.icon)==null?void 0:t.replace(/_/g,"-")}`,packageName:n.packageName,homepage:n.homepage,pluginId:n.id}})}function we(e,t){return Qe.find(n=>n.options.id===e&&(t?n.descriptor.app===t:!0))}function wr(){const e=Ot();e.hook("addInspector",({inspector:o,plugin:r})=>{kr(o,r.descriptor)});const t=re(async({inspectorId:o,plugin:r})=>{var s;if(!o||!((s=r?.descriptor)!=null&&s.app)||w.highPerfModeEnabled)return;const u=we(o,r.descriptor.app),i={app:r.descriptor.app,inspectorId:o,filter:u?.treeFilter||"",rootNodes:[]};await new Promise(c=>{e.callHookWith(async d=>{await Promise.all(d.map(v=>v(i))),c()},"getInspectorTree")}),e.callHookWith(async c=>{await Promise.all(c.map(d=>d({inspectorId:o,rootNodes:i.rootNodes})))},"sendInspectorTreeToClient")},120);e.hook("sendInspectorTree",t);const n=re(async({inspectorId:o,plugin:r})=>{var s;if(!o||!((s=r?.descriptor)!=null&&s.app)||w.highPerfModeEnabled)return;const u=we(o,r.descriptor.app),i={app:r.descriptor.app,inspectorId:o,nodeId:u?.selectedNodeId||"",state:null},c={currentTab:`custom-inspector:${o}`};i.nodeId&&await new Promise(d=>{e.callHookWith(async v=>{await Promise.all(v.map(f=>f(i,c))),d()},"getInspectorState")}),e.callHookWith(async d=>{await Promise.all(d.map(v=>v({inspectorId:o,nodeId:i.nodeId,state:i.state})))},"sendInspectorStateToClient")},120);return e.hook("sendInspectorState",n),e.hook("customInspectorSelectNode",({inspectorId:o,nodeId:r,plugin:s})=>{const u=we(o,s.descriptor.app);u&&(u.selectedNodeId=r)}),e.hook("timelineLayerAdded",({options:o,plugin:r})=>{Dr(o,r.descriptor)}),e.hook("timelineEventAdded",({options:o,plugin:r})=>{var s;const u=["performance","component-event","keyboard","mouse"];w.highPerfModeEnabled||!((s=w.timelineLayersState)!=null&&s[r.descriptor.id])&&!u.includes(o.layerId)||e.callHookWith(async i=>{await Promise.all(i.map(c=>c(o)))},"sendTimelineEventToClient")}),e.hook("getComponentInstances",async({app:o})=>{const r=o.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(!r)return null;const s=r.id.toString();return[...r.instanceMap].filter(([i])=>i.split(":")[0]===s).map(([,i])=>i)}),e.hook("getComponentBounds",async({instance:o})=>ee(o)),e.hook("getComponentName",({instance:o})=>Ie(o)),e.hook("componentHighlight",({uid:o})=>{const r=V.value.instanceMap.get(o);r&&pr(r)}),e.hook("componentUnhighlight",()=>{Nt()}),e}var jt,Ht;(Ht=(jt=p).__VUE_DEVTOOLS_KIT_APP_RECORDS__)!=null||(jt.__VUE_DEVTOOLS_KIT_APP_RECORDS__=[]);var Kt,zt;(zt=(Kt=p).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__)!=null||(Kt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__={});var Gt,Wt;(Wt=(Gt=p).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__)!=null||(Gt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__="");var Yt,qt;(qt=(Yt=p).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__)!=null||(Yt.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__=[]);var Zt,Xt;(Xt=(Zt=p).__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__)!=null||(Zt.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__=[]);var te="__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";function Pr(){return{connected:!1,clientConnected:!1,vitePluginDetected:!0,appRecords:[],activeAppRecordId:"",tabs:[],commands:[],highPerfModeEnabled:!0,devtoolsClientDetected:{},perfUniqueGroupId:0,timelineLayersState:br()}}var Jt,Qt;(Qt=(Jt=p)[te])!=null||(Jt[te]=Pr());var Nr=re(e=>{ie.hooks.callHook("devtoolsStateUpdated",{state:e})});re((e,t)=>{ie.hooks.callHook("devtoolsConnectedUpdated",{state:e,oldState:t})});var Pe=new Proxy(p.__VUE_DEVTOOLS_KIT_APP_RECORDS__,{get(e,t,n){return t==="value"?p.__VUE_DEVTOOLS_KIT_APP_RECORDS__:p.__VUE_DEVTOOLS_KIT_APP_RECORDS__[t]}}),V=new Proxy(p.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__,{get(e,t,n){return t==="value"?p.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__:t==="id"?p.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__:p.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[t]}});function en(){Nr({...p[te],appRecords:Pe.value,activeAppRecordId:V.id,tabs:p.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,commands:p.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__})}function Rr(e){p.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__=e,en()}function Vr(e){p.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__=e,en()}var w=new Proxy(p[te],{get(e,t){return t==="appRecords"?Pe:t==="activeAppRecordId"?V.id:t==="tabs"?p.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__:t==="commands"?p.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__:p[te][t]},deleteProperty(e,t){return delete e[t],!0},set(e,t,n){return{...p[te]},e[t]=n,p[te][t]=n,!0}});function xr(e={}){var t,n,o;const{file:r,host:s,baseUrl:u=window.location.origin,line:i=0,column:c=0}=e;if(r){if(s==="chrome-extension"){const d=r.replace(/\\/g,"\\\\"),v=(n=(t=window.VUE_DEVTOOLS_CONFIG)==null?void 0:t.openInEditorHost)!=null?n:"/";fetch(`${v}__open-in-editor?file=${encodeURI(r)}`).then(f=>{if(!f.ok){const O=`Opening component ${d} failed`;console.log(`%c${O}`,"color:red")}})}else if(w.vitePluginDetected){const d=(o=p.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__)!=null?o:u;p.__VUE_INSPECTOR__.openInEditor(d,r,i,c)}}}l(),l(),l(),l(),l();var tn,nn;(nn=(tn=p).__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__)!=null||(tn.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__=[]);var et=new Proxy(p.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__,{get(e,t,n){return Reflect.get(e,t,n)}});function tt(e){const t={};return Object.keys(e).forEach(n=>{t[n]=e[n].defaultValue}),t}function nt(e){return`__VUE_DEVTOOLS_NEXT_PLUGIN_SETTINGS__${e}__`}function Fr(e){var t,n,o;const r=(n=(t=et.find(s=>{var u;return s[0].id===e&&!!((u=s[0])!=null&&u.settings)}))==null?void 0:t[0])!=null?n:null;return(o=r?.settings)!=null?o:null}function on(e,t){var n,o,r;const s=nt(e);if(s){const u=localStorage.getItem(s);if(u)return JSON.parse(u)}if(e){const u=(o=(n=et.find(i=>i[0].id===e))==null?void 0:n[0])!=null?o:null;return tt((r=u?.settings)!=null?r:{})}return tt(t)}function Ur(e,t){const n=nt(e);localStorage.getItem(n)||localStorage.setItem(n,JSON.stringify(tt(t)))}function Lr(e,t,n){const o=nt(e),r=localStorage.getItem(o),s=JSON.parse(r||"{}"),u={...s,[t]:n};localStorage.setItem(o,JSON.stringify(u)),ie.hooks.callHookWith(i=>{i.forEach(c=>c({pluginId:e,key:t,oldValue:s[t],newValue:n,settings:u}))},"setPluginSettings")}l(),l(),l(),l(),l(),l(),l(),l(),l(),l(),l();var rn,sn,U=(sn=(rn=p).__VUE_DEVTOOLS_HOOK)!=null?sn:rn.__VUE_DEVTOOLS_HOOK=Ot(),Br={vueAppInit(e){U.hook("app:init",e)},vueAppUnmount(e){U.hook("app:unmount",e)},vueAppConnected(e){U.hook("app:connected",e)},componentAdded(e){return U.hook("component:added",e)},componentEmit(e){return U.hook("component:emit",e)},componentUpdated(e){return U.hook("component:updated",e)},componentRemoved(e){return U.hook("component:removed",e)},setupDevtoolsPlugin(e){U.hook("devtools-plugin:setup",e)},perfStart(e){return U.hook("perf:start",e)},perfEnd(e){return U.hook("perf:end",e)}},un={on:Br,setupDevToolsPlugin(e,t){return U.callHook("devtools-plugin:setup",e,t)}},Mr=class{constructor({plugin:e,ctx:t}){this.hooks=t.hooks,this.plugin=e}get on(){return{visitComponentTree:e=>{this.hooks.hook("visitComponentTree",e)},inspectComponent:e=>{this.hooks.hook("inspectComponent",e)},editComponentState:e=>{this.hooks.hook("editComponentState",e)},getInspectorTree:e=>{this.hooks.hook("getInspectorTree",e)},getInspectorState:e=>{this.hooks.hook("getInspectorState",e)},editInspectorState:e=>{this.hooks.hook("editInspectorState",e)},inspectTimelineEvent:e=>{this.hooks.hook("inspectTimelineEvent",e)},timelineCleared:e=>{this.hooks.hook("timelineCleared",e)},setPluginSettings:e=>{this.hooks.hook("setPluginSettings",e)}}}notifyComponentUpdate(e){var t;if(w.highPerfModeEnabled)return;const n=$t().find(o=>o.packageName===this.plugin.descriptor.packageName);if(n?.id){if(e){const o=[e.appContext.app,e.uid,(t=e.parent)==null?void 0:t.uid,e];U.callHook("component:updated",...o)}else U.callHook("component:updated");this.hooks.callHook("sendInspectorState",{inspectorId:n.id,plugin:this.plugin})}}addInspector(e){this.hooks.callHook("addInspector",{inspector:e,plugin:this.plugin}),this.plugin.descriptor.settings&&Ur(e.id,this.plugin.descriptor.settings)}sendInspectorTree(e){w.highPerfModeEnabled||this.hooks.callHook("sendInspectorTree",{inspectorId:e,plugin:this.plugin})}sendInspectorState(e){w.highPerfModeEnabled||this.hooks.callHook("sendInspectorState",{inspectorId:e,plugin:this.plugin})}selectInspectorNode(e,t){this.hooks.callHook("customInspectorSelectNode",{inspectorId:e,nodeId:t,plugin:this.plugin})}visitComponentTree(e){return this.hooks.callHook("visitComponentTree",e)}now(){return w.highPerfModeEnabled?0:Date.now()}addTimelineLayer(e){this.hooks.callHook("timelineLayerAdded",{options:e,plugin:this.plugin})}addTimelineEvent(e){w.highPerfModeEnabled||this.hooks.callHook("timelineEventAdded",{options:e,plugin:this.plugin})}getSettings(e){return on(e??this.plugin.descriptor.id,this.plugin.descriptor.settings)}getComponentInstances(e){return this.hooks.callHook("getComponentInstances",{app:e})}getComponentBounds(e){return this.hooks.callHook("getComponentBounds",{instance:e})}getComponentName(e){return this.hooks.callHook("getComponentName",{instance:e})}highlightElement(e){const t=e.__VUE_DEVTOOLS_NEXT_UID__;return this.hooks.callHook("componentHighlight",{uid:t})}unhighlightElement(){return this.hooks.callHook("componentUnhighlight")}},$r=Mr;l(),l(),l(),l();var jr="__vue_devtool_undefined__",Hr="__vue_devtool_infinity__",Kr="__vue_devtool_negative_infinity__",zr="__vue_devtool_nan__";l(),l();var Gr={[jr]:"undefined",[zr]:"NaN",[Hr]:"Infinity",[Kr]:"-Infinity"};Object.entries(Gr).reduce((e,[t,n])=>(e[n]=t,e),{}),l(),l(),l(),l(),l();var an,ln;(ln=(an=p).__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__)!=null||(an.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__=new Set);function cn(e,t){return un.setupDevToolsPlugin(e,t)}function Wr(e,t){const[n,o]=e;if(n.app!==t)return;const r=new $r({plugin:{setupFn:o,descriptor:n},ctx:ie});n.packageName==="vuex"&&r.on.editInspectorState(s=>{r.sendInspectorState(s.inspectorId)}),o(r)}function fn(e,t){p.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(e)||w.highPerfModeEnabled&&!t?.inspectingComponent||(p.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(e),et.forEach(n=>{Wr(n,e)}))}l(),l();var he="__VUE_DEVTOOLS_ROUTER__",ue="__VUE_DEVTOOLS_ROUTER_INFO__",dn,_n;(_n=(dn=p)[ue])!=null||(dn[ue]={currentRoute:null,routes:[]});var pn,En;(En=(pn=p)[he])!=null||(pn[he]={}),new Proxy(p[ue],{get(e,t){return p[ue][t]}}),new Proxy(p[he],{get(e,t){if(t==="value")return p[he]}});function Yr(e){const t=new Map;return(e?.getRoutes()||[]).filter(n=>!t.has(n.path)&&t.set(n.path,1))}function ot(e){return e.map(t=>{let{path:n,name:o,children:r,meta:s}=t;return r?.length&&(r=ot(r)),{path:n,name:o,children:r,meta:s}})}function qr(e){if(e){const{fullPath:t,hash:n,href:o,path:r,name:s,matched:u,params:i,query:c}=e;return{fullPath:t,hash:n,href:o,path:r,name:s,params:i,query:c,matched:ot(u)}}return e}function Zr(e,t){function n(){var o;const r=(o=e.app)==null?void 0:o.config.globalProperties.$router,s=qr(r?.currentRoute.value),u=ot(Yr(r)),i=console.warn;console.warn=()=>{},p[ue]={currentRoute:s?yt(s):{},routes:yt(u)},p[he]=r,console.warn=i}n(),un.on.componentUpdated(re(()=>{var o;((o=t.value)==null?void 0:o.app)===e.app&&(n(),!w.highPerfModeEnabled&&ie.hooks.callHook("routerInfoUpdated",{state:p[ue]}))},200))}function Xr(e){return{async getInspectorTree(t){const n={...t,app:V.value.app,rootNodes:[]};return await new Promise(o=>{e.callHookWith(async r=>{await Promise.all(r.map(s=>s(n))),o()},"getInspectorTree")}),n.rootNodes},async getInspectorState(t){const n={...t,app:V.value.app,state:null},o={currentTab:`custom-inspector:${t.inspectorId}`};return await new Promise(r=>{e.callHookWith(async s=>{await Promise.all(s.map(u=>u(n,o))),r()},"getInspectorState")}),n.state},editInspectorState(t){const n=new Sr,o={...t,app:V.value.app,set:(r,s=t.path,u=t.state.value,i)=>{n.set(r,s,u,i||n.createDefaultSetCallback(t.state))}};e.callHookWith(r=>{r.forEach(s=>s(o))},"editInspectorState")},sendInspectorState(t){const n=we(t);e.callHook("sendInspectorState",{inspectorId:t,plugin:{descriptor:n.descriptor,setupFn:()=>({})}})},inspectComponentInspector(){return mr()},cancelInspectComponentInspector(){return hr()},getComponentRenderCode(t){const n=ze(V.value,t);if(n)return typeof n?.type!="function"?n.render.toString():n.type.toString()},scrollToComponent(t){return gr({id:t})},openInEditor:xr,getVueInspector:Or,toggleApp(t,n){const o=Pe.value.find(r=>r.id===t);o&&(Vr(t),Rr(o),Zr(o,V),Mt(),fn(o.app,n))},inspectDOM(t){const n=ze(V.value,t);if(n){const[o]=Ge(n);o&&(p.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__=o)}},updatePluginSettings(t,n,o){Lr(t,n,o)},getPluginSettings(t){return{options:Fr(t),values:on(t)}}}}l();var hn,mn;(mn=(hn=p).__VUE_DEVTOOLS_ENV__)!=null||(hn.__VUE_DEVTOOLS_ENV__={vitePluginDetected:!1});var gn=wr(),yn,vn;(vn=(yn=p).__VUE_DEVTOOLS_KIT_CONTEXT__)!=null||(yn.__VUE_DEVTOOLS_KIT_CONTEXT__={hooks:gn,get state(){return{...w,activeAppRecordId:V.id,activeAppRecord:V.value,appRecords:Pe.value}},api:Xr(gn)});var ie=p.__VUE_DEVTOOLS_KIT_CONTEXT__;l(),Jo(er());var On,An;(An=(On=p).__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__)!=null||(On.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__={id:0,appIds:new Set}),l(),l();function Jr(e){w.highPerfModeEnabled=e??!w.highPerfModeEnabled,!e&&V.value&&fn(V.value.app)}l(),l(),l();function Qr(e){w.devtoolsClientDetected={...w.devtoolsClientDetected,...e};const t=Object.values(w.devtoolsClientDetected).some(Boolean);Jr(!t)}var Sn,Cn;(Cn=(Sn=p).__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__)!=null||(Sn.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__=Qr),l(),l(),l(),l(),l(),l(),l();var es=class{constructor(){this.keyToValue=new Map,this.valueToKey=new Map}set(e,t){this.keyToValue.set(e,t),this.valueToKey.set(t,e)}getByKey(e){return this.keyToValue.get(e)}getByValue(e){return this.valueToKey.get(e)}clear(){this.keyToValue.clear(),this.valueToKey.clear()}},Tn=class{constructor(e){this.generateIdentifier=e,this.kv=new es}register(e,t){this.kv.getByValue(e)||(t||(t=this.generateIdentifier(e)),this.kv.set(t,e))}clear(){this.kv.clear()}getIdentifier(e){return this.kv.getByValue(e)}getValue(e){return this.kv.getByKey(e)}},ts=class extends Tn{constructor(){super(e=>e.name),this.classToAllowedProps=new Map}register(e,t){typeof t=="object"?(t.allowProps&&this.classToAllowedProps.set(e,t.allowProps),super.register(e,t.identifier)):super.register(e,t)}getAllowedProps(e){return this.classToAllowedProps.get(e)}};l(),l();function ns(e){if("values"in Object)return Object.values(e);const t=[];for(const n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t}function os(e,t){const n=ns(e);if("find"in n)return n.find(t);const o=n;for(let r=0;r<o.length;r++){const s=o[r];if(t(s))return s}}function ae(e,t){Object.entries(e).forEach(([n,o])=>t(o,n))}function Ne(e,t){return e.indexOf(t)!==-1}function bn(e,t){for(let n=0;n<e.length;n++){const o=e[n];if(t(o))return o}}var rs=class{constructor(){this.transfomers={}}register(e){this.transfomers[e.name]=e}findApplicable(e){return os(this.transfomers,t=>t.isApplicable(e))}findByName(e){return this.transfomers[e]}};l(),l();var ss=e=>Object.prototype.toString.call(e).slice(8,-1),In=e=>typeof e>"u",us=e=>e===null,me=e=>typeof e!="object"||e===null||e===Object.prototype?!1:Object.getPrototypeOf(e)===null?!0:Object.getPrototypeOf(e)===Object.prototype,rt=e=>me(e)&&Object.keys(e).length===0,q=e=>Array.isArray(e),is=e=>typeof e=="string",as=e=>typeof e=="number"&&!isNaN(e),ls=e=>typeof e=="boolean",cs=e=>e instanceof RegExp,ge=e=>e instanceof Map,ye=e=>e instanceof Set,Dn=e=>ss(e)==="Symbol",fs=e=>e instanceof Date&&!isNaN(e.valueOf()),ds=e=>e instanceof Error,kn=e=>typeof e=="number"&&isNaN(e),_s=e=>ls(e)||us(e)||In(e)||as(e)||is(e)||Dn(e),ps=e=>typeof e=="bigint",Es=e=>e===1/0||e===-1/0,hs=e=>ArrayBuffer.isView(e)&&!(e instanceof DataView),ms=e=>e instanceof URL;l();var wn=e=>e.replace(/\./g,"\\."),st=e=>e.map(String).map(wn).join("."),ve=e=>{const t=[];let n="";for(let r=0;r<e.length;r++){let s=e.charAt(r);if(s==="\\"&&e.charAt(r+1)==="."){n+=".",r++;continue}if(s==="."){t.push(n),n="";continue}n+=s}const o=n;return t.push(o),t};l();function z(e,t,n,o){return{isApplicable:e,annotation:t,transform:n,untransform:o}}var Pn=[z(In,"undefined",()=>null,()=>{}),z(ps,"bigint",e=>e.toString(),e=>typeof BigInt<"u"?BigInt(e):(console.error("Please add a BigInt polyfill."),e)),z(fs,"Date",e=>e.toISOString(),e=>new Date(e)),z(ds,"Error",(e,t)=>{const n={name:e.name,message:e.message};return t.allowedErrorProps.forEach(o=>{n[o]=e[o]}),n},(e,t)=>{const n=new Error(e.message);return n.name=e.name,n.stack=e.stack,t.allowedErrorProps.forEach(o=>{n[o]=e[o]}),n}),z(cs,"regexp",e=>""+e,e=>{const t=e.slice(1,e.lastIndexOf("/")),n=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,n)}),z(ye,"set",e=>[...e.values()],e=>new Set(e)),z(ge,"map",e=>[...e.entries()],e=>new Map(e)),z(e=>kn(e)||Es(e),"number",e=>kn(e)?"NaN":e>0?"Infinity":"-Infinity",Number),z(e=>e===0&&1/e===-1/0,"number",()=>"-0",Number),z(ms,"URL",e=>e.toString(),e=>new URL(e))];function Re(e,t,n,o){return{isApplicable:e,annotation:t,transform:n,untransform:o}}var Nn=Re((e,t)=>Dn(e)?!!t.symbolRegistry.getIdentifier(e):!1,(e,t)=>["symbol",t.symbolRegistry.getIdentifier(e)],e=>e.description,(e,t,n)=>{const o=n.symbolRegistry.getValue(t[1]);if(!o)throw new Error("Trying to deserialize unknown symbol");return o}),gs=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((e,t)=>(e[t.name]=t,e),{}),Rn=Re(hs,e=>["typed-array",e.constructor.name],e=>[...e],(e,t)=>{const n=gs[t[1]];if(!n)throw new Error("Trying to deserialize unknown typed array");return new n(e)});function Vn(e,t){return e?.constructor?!!t.classRegistry.getIdentifier(e.constructor):!1}var xn=Re(Vn,(e,t)=>["class",t.classRegistry.getIdentifier(e.constructor)],(e,t)=>{const n=t.classRegistry.getAllowedProps(e.constructor);if(!n)return{...e};const o={};return n.forEach(r=>{o[r]=e[r]}),o},(e,t,n)=>{const o=n.classRegistry.getValue(t[1]);if(!o)throw new Error(`Trying to deserialize unknown class '${t[1]}' - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564`);return Object.assign(Object.create(o.prototype),e)}),Fn=Re((e,t)=>!!t.customTransformerRegistry.findApplicable(e),(e,t)=>["custom",t.customTransformerRegistry.findApplicable(e).name],(e,t)=>t.customTransformerRegistry.findApplicable(e).serialize(e),(e,t,n)=>{const o=n.customTransformerRegistry.findByName(t[1]);if(!o)throw new Error("Trying to deserialize unknown custom value");return o.deserialize(e)}),ys=[xn,Nn,Fn,Rn],Un=(e,t)=>{const n=bn(ys,r=>r.isApplicable(e,t));if(n)return{value:n.transform(e,t),type:n.annotation(e,t)};const o=bn(Pn,r=>r.isApplicable(e,t));if(o)return{value:o.transform(e,t),type:o.annotation}},Ln={};Pn.forEach(e=>{Ln[e.annotation]=e});var vs=(e,t,n)=>{if(q(t))switch(t[0]){case"symbol":return Nn.untransform(e,t,n);case"class":return xn.untransform(e,t,n);case"custom":return Fn.untransform(e,t,n);case"typed-array":return Rn.untransform(e,t,n);default:throw new Error("Unknown transformation: "+t)}else{const o=Ln[t];if(!o)throw new Error("Unknown transformation: "+t);return o.untransform(e,n)}};l();var le=(e,t)=>{if(t>e.size)throw new Error("index out of bounds");const n=e.keys();for(;t>0;)n.next(),t--;return n.next().value};function Bn(e){if(Ne(e,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(Ne(e,"prototype"))throw new Error("prototype is not allowed as a property");if(Ne(e,"constructor"))throw new Error("constructor is not allowed as a property")}var Os=(e,t)=>{Bn(t);for(let n=0;n<t.length;n++){const o=t[n];if(ye(e))e=le(e,+o);else if(ge(e)){const r=+o,s=+t[++n]==0?"key":"value",u=le(e,r);switch(s){case"key":e=u;break;case"value":e=e.get(u);break}}else e=e[o]}return e},ut=(e,t,n)=>{if(Bn(t),t.length===0)return n(e);let o=e;for(let s=0;s<t.length-1;s++){const u=t[s];if(q(o)){const i=+u;o=o[i]}else if(me(o))o=o[u];else if(ye(o)){const i=+u;o=le(o,i)}else if(ge(o)){if(s===t.length-2)break;const c=+u,d=+t[++s]==0?"key":"value",v=le(o,c);switch(d){case"key":o=v;break;case"value":o=o.get(v);break}}}const r=t[t.length-1];if(q(o)?o[+r]=n(o[+r]):me(o)&&(o[r]=n(o[r])),ye(o)){const s=le(o,+r),u=n(s);s!==u&&(o.delete(s),o.add(u))}if(ge(o)){const s=+t[t.length-2],u=le(o,s);switch(+r==0?"key":"value"){case"key":{const c=n(u);o.set(c,o.get(u)),c!==u&&o.delete(u);break}case"value":{o.set(u,n(o.get(u)));break}}}return e};function it(e,t,n=[]){if(!e)return;if(!q(e)){ae(e,(s,u)=>it(s,t,[...n,...ve(u)]));return}const[o,r]=e;r&&ae(r,(s,u)=>{it(s,t,[...n,...ve(u)])}),t(o,n)}function As(e,t,n){return it(t,(o,r)=>{e=ut(e,r,s=>vs(s,o,n))}),e}function Ss(e,t){function n(o,r){const s=Os(e,ve(r));o.map(ve).forEach(u=>{e=ut(e,u,()=>s)})}if(q(t)){const[o,r]=t;o.forEach(s=>{e=ut(e,ve(s),()=>e)}),r&&ae(r,n)}else ae(t,n);return e}var Cs=(e,t)=>me(e)||q(e)||ge(e)||ye(e)||Vn(e,t);function Ts(e,t,n){const o=n.get(e);o?o.push(t):n.set(e,[t])}function bs(e,t){const n={};let o;return e.forEach(r=>{if(r.length<=1)return;t||(r=r.map(i=>i.map(String)).sort((i,c)=>i.length-c.length));const[s,...u]=r;s.length===0?o=u.map(st):n[st(s)]=u.map(st)}),o?rt(n)?[o]:[o,n]:rt(n)?void 0:n}var Mn=(e,t,n,o,r=[],s=[],u=new Map)=>{var i;const c=_s(e);if(!c){Ts(e,r,t);const E=u.get(e);if(E)return o?{transformedValue:null}:E}if(!Cs(e,n)){const E=Un(e,n),A=E?{transformedValue:E.value,annotations:[E.type]}:{transformedValue:e};return c||u.set(e,A),A}if(Ne(s,e))return{transformedValue:null};const d=Un(e,n),v=(i=d?.value)!=null?i:e,f=q(v)?[]:{},O={};ae(v,(E,A)=>{if(A==="__proto__"||A==="constructor"||A==="prototype")throw new Error(`Detected property ${A}. This is a prototype pollution risk, please remove it from your object.`);const m=Mn(E,t,n,o,[...r,A],[...s,e],u);f[A]=m.transformedValue,q(m.annotations)?O[A]=m.annotations:me(m.annotations)&&ae(m.annotations,(g,b)=>{O[wn(A)+"."+b]=g})});const _=rt(O)?{transformedValue:f,annotations:d?[d.type]:void 0}:{transformedValue:f,annotations:d?[d.type,O]:O};return c||u.set(e,_),_};l(),l();function $n(e){return Object.prototype.toString.call(e).slice(8,-1)}function jn(e){return $n(e)==="Array"}function Is(e){if($n(e)!=="Object")return!1;const t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}function Ds(e,t,n,o,r){const s={}.propertyIsEnumerable.call(o,t)?"enumerable":"nonenumerable";s==="enumerable"&&(e[t]=n),r&&s==="nonenumerable"&&Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}function at(e,t={}){if(jn(e))return e.map(r=>at(r,t));if(!Is(e))return e;const n=Object.getOwnPropertyNames(e),o=Object.getOwnPropertySymbols(e);return[...n,...o].reduce((r,s)=>{if(jn(t.props)&&!t.props.includes(s))return r;const u=e[s],i=at(u,t);return Ds(r,s,i,e,t.nonenumerable),r},{})}var D=class{constructor({dedupe:e=!1}={}){this.classRegistry=new ts,this.symbolRegistry=new Tn(t=>{var n;return(n=t.description)!=null?n:""}),this.customTransformerRegistry=new rs,this.allowedErrorProps=[],this.dedupe=e}serialize(e){const t=new Map,n=Mn(e,t,this,this.dedupe),o={json:n.transformedValue};n.annotations&&(o.meta={...o.meta,values:n.annotations});const r=bs(t,this.dedupe);return r&&(o.meta={...o.meta,referentialEqualities:r}),o}deserialize(e){const{json:t,meta:n}=e;let o=at(t);return n?.values&&(o=As(o,n.values,this)),n?.referentialEqualities&&(o=Ss(o,n.referentialEqualities)),o}stringify(e){return JSON.stringify(this.serialize(e))}parse(e){return this.deserialize(JSON.parse(e))}registerClass(e,t){this.classRegistry.register(e,t)}registerSymbol(e,t){this.symbolRegistry.register(e,t)}registerCustom(e,t){this.customTransformerRegistry.register({name:t,...e})}allowErrorProps(...e){this.allowedErrorProps.push(...e)}};D.defaultInstance=new D,D.serialize=D.defaultInstance.serialize.bind(D.defaultInstance),D.deserialize=D.defaultInstance.deserialize.bind(D.defaultInstance),D.stringify=D.defaultInstance.stringify.bind(D.defaultInstance),D.parse=D.defaultInstance.parse.bind(D.defaultInstance),D.registerClass=D.defaultInstance.registerClass.bind(D.defaultInstance),D.registerSymbol=D.defaultInstance.registerSymbol.bind(D.defaultInstance),D.registerCustom=D.defaultInstance.registerCustom.bind(D.defaultInstance),D.allowErrorProps=D.defaultInstance.allowErrorProps.bind(D.defaultInstance),l(),l(),l(),l(),l(),l(),l(),l(),l(),l(),l(),l(),l(),l(),l(),l(),l(),l(),l(),l(),l(),l(),l();var Hn,Kn;(Kn=(Hn=p).__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__)!=null||(Hn.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__=[]);var zn,Gn;(Gn=(zn=p).__VUE_DEVTOOLS_KIT_RPC_CLIENT__)!=null||(zn.__VUE_DEVTOOLS_KIT_RPC_CLIENT__=null);var Wn,Yn;(Yn=(Wn=p).__VUE_DEVTOOLS_KIT_RPC_SERVER__)!=null||(Wn.__VUE_DEVTOOLS_KIT_RPC_SERVER__=null);var qn,Zn;(Zn=(qn=p).__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__)!=null||(qn.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__=null);var Xn,Jn;(Jn=(Xn=p).__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__)!=null||(Xn.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__=null);var Qn,eo;(eo=(Qn=p).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__)!=null||(Qn.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__=null),l(),l(),l(),l(),l(),l(),l();/*!
|
|
3
|
+
* pinia v3.0.3
|
|
4
|
+
* (c) 2025 Eduardo San Martin Morote
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/let Oe;const Ae=e=>Oe=e,to=process.env.NODE_ENV!=="production"?Symbol("pinia"):Symbol();function ne(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var G;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(G||(G={}));const Z=typeof window<"u",no=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof global=="object"&&global.global===global?global:typeof globalThis=="object"?globalThis:{HTMLElement:null};function ks(e,{autoBom:t=!1}={}){return t&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\uFEFF",e],{type:e.type}):e}function lt(e,t,n){const o=new XMLHttpRequest;o.open("GET",e),o.responseType="blob",o.onload=function(){so(o.response,t,n)},o.onerror=function(){console.error("could not download file")},o.send()}function oo(e){const t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch{}return t.status>=200&&t.status<=299}function Ve(e){try{e.dispatchEvent(new MouseEvent("click"))}catch{const n=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window,detail:0,screenX:80,screenY:20,clientX:80,clientY:20,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1,button:0,relatedTarget:null});e.dispatchEvent(n)}}const xe=typeof navigator=="object"?navigator:{userAgent:""},ro=/Macintosh/.test(xe.userAgent)&&/AppleWebKit/.test(xe.userAgent)&&!/Safari/.test(xe.userAgent),so=Z?typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype&&!ro?ws:"msSaveOrOpenBlob"in xe?Ps:Ns:()=>{};function ws(e,t="download",n){const o=document.createElement("a");o.download=t,o.rel="noopener",typeof e=="string"?(o.href=e,o.origin!==location.origin?oo(o.href)?lt(e,t,n):(o.target="_blank",Ve(o)):Ve(o)):(o.href=URL.createObjectURL(e),setTimeout(function(){URL.revokeObjectURL(o.href)},4e4),setTimeout(function(){Ve(o)},0))}function Ps(e,t="download",n){if(typeof e=="string")if(oo(e))lt(e,t,n);else{const o=document.createElement("a");o.href=e,o.target="_blank",setTimeout(function(){Ve(o)})}else navigator.msSaveOrOpenBlob(ks(e,n),t)}function Ns(e,t,n,o){if(o=o||open("","_blank"),o&&(o.document.title=o.document.body.innerText="downloading..."),typeof e=="string")return lt(e,t,n);const r=e.type==="application/octet-stream",s=/constructor/i.test(String(no.HTMLElement))||"safari"in no,u=/CriOS\/[\d]+/.test(navigator.userAgent);if((u||r&&s||ro)&&typeof FileReader<"u"){const i=new FileReader;i.onloadend=function(){let c=i.result;if(typeof c!="string")throw o=null,new Error("Wrong reader.result type");c=u?c:c.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=c:location.assign(c),o=null},i.readAsDataURL(e)}else{const i=URL.createObjectURL(e);o?o.location.assign(i):location.href=i,o=null,setTimeout(function(){URL.revokeObjectURL(i)},4e4)}}function P(e,t){const n="🍍 "+e;typeof __VUE_DEVTOOLS_TOAST__=="function"?__VUE_DEVTOOLS_TOAST__(n,t):t==="error"?console.error(n):t==="warn"?console.warn(n):console.log(n)}function ct(e){return"_a"in e&&"install"in e}function uo(){if(!("clipboard"in navigator))return P("Your browser doesn't support the Clipboard API","error"),!0}function io(e){return e instanceof Error&&e.message.toLowerCase().includes("document is not focused")?(P('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.',"warn"),!0):!1}async function Rs(e){if(!uo())try{await navigator.clipboard.writeText(JSON.stringify(e.state.value)),P("Global state copied to clipboard.")}catch(t){if(io(t))return;P("Failed to serialize the state. Check the console for more details.","error"),console.error(t)}}async function Vs(e){if(!uo())try{ao(e,JSON.parse(await navigator.clipboard.readText())),P("Global state pasted from clipboard.")}catch(t){if(io(t))return;P("Failed to deserialize the state from clipboard. Check the console for more details.","error"),console.error(t)}}async function xs(e){try{so(new Blob([JSON.stringify(e.state.value)],{type:"text/plain;charset=utf-8"}),"pinia-state.json")}catch(t){P("Failed to export the state as JSON. Check the console for more details.","error"),console.error(t)}}let Y;function Fs(){Y||(Y=document.createElement("input"),Y.type="file",Y.accept=".json");function e(){return new Promise((t,n)=>{Y.onchange=async()=>{const o=Y.files;if(!o)return t(null);const r=o.item(0);return t(r?{text:await r.text(),file:r}:null)},Y.oncancel=()=>t(null),Y.onerror=n,Y.click()})}return e}async function Us(e){try{const n=await Fs()();if(!n)return;const{text:o,file:r}=n;ao(e,JSON.parse(o)),P(`Global state imported from "${r.name}".`)}catch(t){P("Failed to import the state from JSON. Check the console for more details.","error"),console.error(t)}}function ao(e,t){for(const n in t){const o=e.state.value[n];o?Object.assign(o,t[n]):e.state.value[n]=t[n]}}function j(e){return{_custom:{display:e}}}const lo="🍍 Pinia (root)",Fe="_root";function Ls(e){return ct(e)?{id:Fe,label:lo}:{id:e.$id,label:e.$id}}function Bs(e){if(ct(e)){const n=Array.from(e._s.keys()),o=e._s;return{state:n.map(s=>({editable:!0,key:s,value:e.state.value[s]})),getters:n.filter(s=>o.get(s)._getters).map(s=>{const u=o.get(s);return{editable:!1,key:s,value:u._getters.reduce((i,c)=>(i[c]=u[c],i),{})}})}}const t={state:Object.keys(e.$state).map(n=>({editable:!0,key:n,value:e.$state[n]}))};return e._getters&&e._getters.length&&(t.getters=e._getters.map(n=>({editable:!1,key:n,value:e[n]}))),e._customProperties.size&&(t.customProperties=Array.from(e._customProperties).map(n=>({editable:!0,key:n,value:e[n]}))),t}function Ms(e){return e?Array.isArray(e)?e.reduce((t,n)=>(t.keys.push(n.key),t.operations.push(n.type),t.oldValue[n.key]=n.oldValue,t.newValue[n.key]=n.newValue,t),{oldValue:{},keys:[],operations:[],newValue:{}}):{operation:j(e.type),key:j(e.key),oldValue:e.oldValue,newValue:e.newValue}:{}}function $s(e){switch(e){case G.direct:return"mutation";case G.patchFunction:return"$patch";case G.patchObject:return"$patch";default:return"unknown"}}let ce=!0;const Ue=[],oe="pinia:mutations",R="pinia",{assign:js}=Object,Le=e=>"🍍 "+e;function Hs(e,t){cn({id:"dev.esm.pinia",label:"Pinia 🍍",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:Ue,app:e},n=>{typeof n.now!="function"&&P("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),n.addTimelineLayer({id:oe,label:"Pinia 🍍",color:15064968}),n.addInspector({id:R,label:"Pinia 🍍",icon:"storage",treeFilterPlaceholder:"Search stores",actions:[{icon:"content_copy",action:()=>{Rs(t)},tooltip:"Serialize and copy the state"},{icon:"content_paste",action:async()=>{await Vs(t),n.sendInspectorTree(R),n.sendInspectorState(R)},tooltip:"Replace the state with the content of your clipboard"},{icon:"save",action:()=>{xs(t)},tooltip:"Save the state as a JSON file"},{icon:"folder_open",action:async()=>{await Us(t),n.sendInspectorTree(R),n.sendInspectorState(R)},tooltip:"Import the state from a JSON file"}],nodeActions:[{icon:"restore",tooltip:'Reset the state (with "$reset")',action:o=>{const r=t._s.get(o);r?typeof r.$reset!="function"?P(`Cannot reset "${o}" store because it doesn't have a "$reset" method implemented.`,"warn"):(r.$reset(),P(`Store "${o}" reset.`)):P(`Cannot reset "${o}" store because it wasn't found.`,"warn")}}]}),n.on.inspectComponent(o=>{const r=o.componentInstance&&o.componentInstance.proxy;if(r&&r._pStores){const s=o.componentInstance.proxy._pStores;Object.values(s).forEach(u=>{o.instanceData.state.push({type:Le(u.$id),key:"state",editable:!0,value:u._isOptionsAPI?{_custom:{value:a.toRaw(u.$state),actions:[{icon:"restore",tooltip:"Reset the state of this store",action:()=>u.$reset()}]}}:Object.keys(u.$state).reduce((i,c)=>(i[c]=u.$state[c],i),{})}),u._getters&&u._getters.length&&o.instanceData.state.push({type:Le(u.$id),key:"getters",editable:!1,value:u._getters.reduce((i,c)=>{try{i[c]=u[c]}catch(d){i[c]=d}return i},{})})})}}),n.on.getInspectorTree(o=>{if(o.app===e&&o.inspectorId===R){let r=[t];r=r.concat(Array.from(t._s.values())),o.rootNodes=(o.filter?r.filter(s=>"$id"in s?s.$id.toLowerCase().includes(o.filter.toLowerCase()):lo.toLowerCase().includes(o.filter.toLowerCase())):r).map(Ls)}}),globalThis.$pinia=t,n.on.getInspectorState(o=>{if(o.app===e&&o.inspectorId===R){const r=o.nodeId===Fe?t:t._s.get(o.nodeId);if(!r)return;r&&(o.nodeId!==Fe&&(globalThis.$store=a.toRaw(r)),o.state=Bs(r))}}),n.on.editInspectorState(o=>{if(o.app===e&&o.inspectorId===R){const r=o.nodeId===Fe?t:t._s.get(o.nodeId);if(!r)return P(`store "${o.nodeId}" not found`,"error");const{path:s}=o;ct(r)?s.unshift("state"):(s.length!==1||!r._customProperties.has(s[0])||s[0]in r.$state)&&s.unshift("$state"),ce=!1,o.set(r,s,o.state.value),ce=!0}}),n.on.editComponentState(o=>{if(o.type.startsWith("🍍")){const r=o.type.replace(/^🍍\s*/,""),s=t._s.get(r);if(!s)return P(`store "${r}" not found`,"error");const{path:u}=o;if(u[0]!=="state")return P(`Invalid path for store "${r}":
|
|
7
|
+
${u}
|
|
8
|
+
Only state can be modified.`);u[0]="$state",ce=!1,o.set(s,u,o.state.value),ce=!0}})})}function Ks(e,t){Ue.includes(Le(t.$id))||Ue.push(Le(t.$id)),cn({id:"dev.esm.pinia",label:"Pinia 🍍",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:Ue,app:e,settings:{logStoreChanges:{label:"Notify about new/deleted stores",type:"boolean",defaultValue:!0}}},n=>{const o=typeof n.now=="function"?n.now.bind(n):Date.now;t.$onAction(({after:u,onError:i,name:c,args:d})=>{const v=co++;n.addTimelineEvent({layerId:oe,event:{time:o(),title:"🛫 "+c,subtitle:"start",data:{store:j(t.$id),action:j(c),args:d},groupId:v}}),u(f=>{X=void 0,n.addTimelineEvent({layerId:oe,event:{time:o(),title:"🛬 "+c,subtitle:"end",data:{store:j(t.$id),action:j(c),args:d,result:f},groupId:v}})}),i(f=>{X=void 0,n.addTimelineEvent({layerId:oe,event:{time:o(),logType:"error",title:"💥 "+c,subtitle:"end",data:{store:j(t.$id),action:j(c),args:d,error:f},groupId:v}})})},!0),t._customProperties.forEach(u=>{a.watch(()=>a.unref(t[u]),(i,c)=>{n.notifyComponentUpdate(),n.sendInspectorState(R),ce&&n.addTimelineEvent({layerId:oe,event:{time:o(),title:"Change",subtitle:u,data:{newValue:i,oldValue:c},groupId:X}})},{deep:!0})}),t.$subscribe(({events:u,type:i},c)=>{if(n.notifyComponentUpdate(),n.sendInspectorState(R),!ce)return;const d={time:o(),title:$s(i),data:js({store:j(t.$id)},Ms(u)),groupId:X};i===G.patchFunction?d.subtitle="⤵️":i===G.patchObject?d.subtitle="🧩":u&&!Array.isArray(u)&&(d.subtitle=u.type),u&&(d.data["rawEvent(s)"]={_custom:{display:"DebuggerEvent",type:"object",tooltip:"raw DebuggerEvent[]",value:u}}),n.addTimelineEvent({layerId:oe,event:d})},{detached:!0,flush:"sync"});const r=t._hotUpdate;t._hotUpdate=a.markRaw(u=>{r(u),n.addTimelineEvent({layerId:oe,event:{time:o(),title:"🔥 "+t.$id,subtitle:"HMR update",data:{store:j(t.$id),info:j("HMR update")}}}),n.notifyComponentUpdate(),n.sendInspectorTree(R),n.sendInspectorState(R)});const{$dispose:s}=t;t.$dispose=()=>{s(),n.notifyComponentUpdate(),n.sendInspectorTree(R),n.sendInspectorState(R),n.getSettings().logStoreChanges&&P(`Disposed "${t.$id}" store 🗑`)},n.notifyComponentUpdate(),n.sendInspectorTree(R),n.sendInspectorState(R),n.getSettings().logStoreChanges&&P(`"${t.$id}" store installed 🆕`)})}let co=0,X;function fo(e,t,n){const o=t.reduce((r,s)=>(r[s]=a.toRaw(e)[s],r),{});for(const r in o)e[r]=function(){const s=co,u=n?new Proxy(e,{get(...c){return X=s,Reflect.get(...c)},set(...c){return X=s,Reflect.set(...c)}}):e;X=s;const i=o[r].apply(u,arguments);return X=void 0,i}}function zs({app:e,store:t,options:n}){if(!t.$id.startsWith("__hot:")){if(t._isOptionsAPI=!!n.state,!t._p._testing){fo(t,Object.keys(n.actions),t._isOptionsAPI);const o=t._hotUpdate;a.toRaw(t)._hotUpdate=function(r){o.apply(this,arguments),fo(t,Object.keys(r._hmrPayload.actions),!!t._isOptionsAPI)}}Ks(e,t)}}function Gs(){const e=a.effectScope(!0),t=e.run(()=>a.ref({}));let n=[],o=[];const r=a.markRaw({install(s){Ae(r),r._a=s,s.provide(to,r),s.config.globalProperties.$pinia=r,process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&Z&&Hs(s,r),o.forEach(u=>n.push(u)),o=[]},use(s){return this._a?n.push(s):o.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&Z&&typeof Proxy<"u"&&r.use(zs),r}function _o(e,t){for(const n in t){const o=t[n];if(!(n in e))continue;const r=e[n];ne(r)&&ne(o)&&!a.isRef(o)&&!a.isReactive(o)?e[n]=_o(r,o):e[n]=o}return e}const po=()=>{};function Eo(e,t,n,o=po){e.push(t);const r=()=>{const s=e.indexOf(t);s>-1&&(e.splice(s,1),o())};return!n&&a.getCurrentScope()&&a.onScopeDispose(r),r}function fe(e,...t){e.slice().forEach(n=>{n(...t)})}const Ws=e=>e(),ho=Symbol(),ft=Symbol();function dt(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,o)=>e.set(o,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],r=e[n];ne(r)&&ne(o)&&e.hasOwnProperty(n)&&!a.isRef(o)&&!a.isReactive(o)?e[n]=dt(r,o):e[n]=o}return e}const Ys=process.env.NODE_ENV!=="production"?Symbol("pinia:skipHydration"):Symbol();function qs(e){return!ne(e)||!Object.prototype.hasOwnProperty.call(e,Ys)}const{assign:L}=Object;function mo(e){return!!(a.isRef(e)&&e.effect)}function go(e,t,n,o){const{state:r,actions:s,getters:u}=t,i=n.state.value[e];let c;function d(){!i&&(process.env.NODE_ENV==="production"||!o)&&(n.state.value[e]=r?r():{});const v=process.env.NODE_ENV!=="production"&&o?a.toRefs(a.ref(r?r():{}).value):a.toRefs(n.state.value[e]);return L(v,s,Object.keys(u||{}).reduce((f,O)=>(process.env.NODE_ENV!=="production"&&O in v&&console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${O}" in store "${e}".`),f[O]=a.markRaw(a.computed(()=>{Ae(n);const _=n._s.get(e);return u[O].call(_,_)})),f),{}))}return c=_t(e,d,t,n,o,!0),c}function _t(e,t,n={},o,r,s){let u;const i=L({actions:{}},n);if(process.env.NODE_ENV!=="production"&&!o._e.active)throw new Error("Pinia destroyed");const c={deep:!0};process.env.NODE_ENV!=="production"&&(c.onTrigger=y=>{d?_=y:d==!1&&!S._hotUpdating&&(Array.isArray(_)?_.push(y):console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."))});let d,v,f=[],O=[],_;const E=o.state.value[e];!s&&!E&&(process.env.NODE_ENV==="production"||!r)&&(o.state.value[e]={});const A=a.ref({});let m;function g(y){let h;d=v=!1,process.env.NODE_ENV!=="production"&&(_=[]),typeof y=="function"?(y(o.state.value[e]),h={type:G.patchFunction,storeId:e,events:_}):(dt(o.state.value[e],y),h={type:G.patchObject,payload:y,storeId:e,events:_});const I=m=Symbol();a.nextTick().then(()=>{m===I&&(d=!0)}),v=!0,fe(f,h,o.state.value[e])}const b=s?function(){const{state:h}=n,I=h?h():{};this.$patch(N=>{L(N,I)})}:process.env.NODE_ENV!=="production"?()=>{throw new Error(`🍍: Store "${e}" is built using the setup syntax and does not implement $reset().`)}:po;function T(){u.stop(),f=[],O=[],o._s.delete(e)}const x=(y,h="")=>{if(ho in y)return y[ft]=h,y;const I=function(){Ae(o);const N=Array.from(arguments),M=[],de=[];function H(k){M.push(k)}function C(k){de.push(k)}fe(O,{args:N,name:I[ft],store:S,after:H,onError:C});let W;try{W=y.apply(this&&this.$id===e?this:S,N)}catch(k){throw fe(de,k),k}return W instanceof Promise?W.then(k=>(fe(M,k),k)).catch(k=>(fe(de,k),Promise.reject(k))):(fe(M,W),W)};return I[ho]=!0,I[ft]=h,I},J=a.markRaw({actions:{},getters:{},state:[],hotState:A}),B={_p:o,$id:e,$onAction:Eo.bind(null,O),$patch:g,$reset:b,$subscribe(y,h={}){const I=Eo(f,y,h.detached,()=>N()),N=u.run(()=>a.watch(()=>o.state.value[e],M=>{(h.flush==="sync"?v:d)&&y({storeId:e,type:G.direct,events:_},M)},L({},c,h)));return I},$dispose:T},S=a.reactive(process.env.NODE_ENV!=="production"||process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&Z?L({_hmrPayload:J,_customProperties:a.markRaw(new Set)},B):B);o._s.set(e,S);const F=(o._a&&o._a.runWithContext||Ws)(()=>o._e.run(()=>(u=a.effectScope()).run(()=>t({action:x}))));for(const y in F){const h=F[y];if(a.isRef(h)&&!mo(h)||a.isReactive(h))process.env.NODE_ENV!=="production"&&r?A.value[y]=a.toRef(F,y):s||(E&&qs(h)&&(a.isRef(h)?h.value=E[y]:dt(h,E[y])),o.state.value[e][y]=h),process.env.NODE_ENV!=="production"&&J.state.push(y);else if(typeof h=="function"){const I=process.env.NODE_ENV!=="production"&&r?h:x(h,y);F[y]=I,process.env.NODE_ENV!=="production"&&(J.actions[y]=h),i.actions[y]=h}else process.env.NODE_ENV!=="production"&&mo(h)&&(J.getters[y]=s?n.getters[y]:h,Z&&(F._getters||(F._getters=a.markRaw([]))).push(y))}if(L(S,F),L(a.toRaw(S),F),Object.defineProperty(S,"$state",{get:()=>process.env.NODE_ENV!=="production"&&r?A.value:o.state.value[e],set:y=>{if(process.env.NODE_ENV!=="production"&&r)throw new Error("cannot set hotState");g(h=>{L(h,y)})}}),process.env.NODE_ENV!=="production"&&(S._hotUpdate=a.markRaw(y=>{S._hotUpdating=!0,y._hmrPayload.state.forEach(h=>{if(h in S.$state){const I=y.$state[h],N=S.$state[h];typeof I=="object"&&ne(I)&&ne(N)?_o(I,N):y.$state[h]=N}S[h]=a.toRef(y.$state,h)}),Object.keys(S.$state).forEach(h=>{h in y.$state||delete S[h]}),d=!1,v=!1,o.state.value[e]=a.toRef(y._hmrPayload,"hotState"),v=!0,a.nextTick().then(()=>{d=!0});for(const h in y._hmrPayload.actions){const I=y[h];S[h]=x(I,h)}for(const h in y._hmrPayload.getters){const I=y._hmrPayload.getters[h],N=s?a.computed(()=>(Ae(o),I.call(S,S))):I;S[h]=N}Object.keys(S._hmrPayload.getters).forEach(h=>{h in y._hmrPayload.getters||delete S[h]}),Object.keys(S._hmrPayload.actions).forEach(h=>{h in y._hmrPayload.actions||delete S[h]}),S._hmrPayload=y._hmrPayload,S._getters=y._getters,S._hotUpdating=!1})),process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&Z){const y={writable:!0,configurable:!0,enumerable:!1};["_p","_hmrPayload","_getters","_customProperties"].forEach(h=>{Object.defineProperty(S,h,L({value:S[h]},y))})}return o._p.forEach(y=>{if(process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&Z){const h=u.run(()=>y({store:S,app:o._a,pinia:o,options:i}));Object.keys(h||{}).forEach(I=>S._customProperties.add(I)),L(S,h)}else L(S,u.run(()=>y({store:S,app:o._a,pinia:o,options:i})))}),process.env.NODE_ENV!=="production"&&S.$state&&typeof S.$state=="object"&&typeof S.$state.constructor=="function"&&!S.$state.constructor.toString().includes("[native code]")&&console.warn(`[🍍]: The "state" must be a plain object. It cannot be
|
|
9
|
+
state: () => new MyClass()
|
|
10
|
+
Found in store "${S.$id}".`),E&&s&&n.hydrate&&n.hydrate(S.$state,E),d=!0,v=!0,S}/*! #__NO_SIDE_EFFECTS__ */function Zs(e,t,n){let o;const r=typeof t=="function";o=r?n:t;function s(u,i){const c=a.hasInjectionContext();if(u=(process.env.NODE_ENV==="test"&&Oe&&Oe._testing?null:u)||(c?a.inject(to,null):null),u&&Ae(u),process.env.NODE_ENV!=="production"&&!Oe)throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
|
|
11
|
+
See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
|
|
12
|
+
This will fail in production.`);u=Oe,u._s.has(e)||(r?_t(e,t,o,u):go(e,o,u),process.env.NODE_ENV!=="production"&&(s._pinia=u));const d=u._s.get(e);if(process.env.NODE_ENV!=="production"&&i){const v="__hot:"+e,f=r?_t(v,t,o,u,!0):go(v,L({},o),u,!0);i._hotUpdate(f),delete u.state.value[v],u._s.delete(v)}if(process.env.NODE_ENV!=="production"&&Z){const v=a.getCurrentInstance();if(v&&v.proxy&&!i){const f=v.proxy,O="_pStores"in f?f._pStores:f._pStores={};O[e]=d}}return d}return s.$id=e,s}const yo="vue-popup-plus",Be={INSTANCE_ID:Symbol(`${yo}-instance-id`)},Se={INSTANCE_STORE:Symbol(`${yo}-instance-store`)},pt={NONE:Symbol("none"),FADE:Symbol("fade"),SCALE_ENLARGE:Symbol("scale-enlarge"),SCALE_SHRINK:Symbol("scale-shrink"),FLY_TOP:Symbol("fly-top"),FLY_LEFT:Symbol("fly-left"),FLY_RIGHT:Symbol("fly-right"),FLY_BOTTOM:Symbol("fly-bottom")};function Xs(e){return new Promise(t=>{setTimeout(t,e)})}const Js=a.defineComponent({name:"PopupMask",__name:"PopupMask",setup(e){const t=a.inject(Be.INSTANCE_ID),n=a.inject(Se.INSTANCE_STORE),o=a.computed(()=>({zIndex:n.zIndex}));function r(){n.maskClickCloseEnabled&&So().destroy(t)}return(s,u)=>(a.openBlock(),a.createElementBlock("div",{class:"popup-mask",style:a.normalizeStyle(o.value),onClick:r},null,4))}}),vo=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},Qs=vo(Js,[["__scopeId","data-v-201bb261"]]),eu=vo(a.defineComponent({name:"PopupView",__name:"PopupView",setup(e){const t=a.inject(Be.INSTANCE_ID),n=a.inject(Se.INSTANCE_STORE),o=a.computed(()=>typeof n.component=="function"?a.defineAsyncComponent(n.component):n.component),r=a.computed(()=>({width:s(n.width),maxWidth:s(n.maxWidth),minWidth:s(n.minWidth),height:s(n.height),maxHeight:s(n.maxHeight),minHeight:s(n.minHeight)}));function s(u){return typeof u=="number"?`${u}px`:u}return(u,i)=>(a.openBlock(),a.createElementBlock("div",{class:"popup-view-wrapper",style:a.normalizeStyle({zIndex:a.unref(n).zIndex})},[a.createElementVNode("div",{class:"popup-view",style:a.normalizeStyle(r.value)},[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(o.value),a.mergeProps({key:`${a.unref(t).name}-component`},a.unref(n).componentProps),null,16))],4)],4))}}),[["__scopeId","data-v-fc20a73d"]]),Oo=a.defineComponent({name:"PopupAnimation",__name:"PopupAnimation",props:{type:{},duration:{}},setup(e){a.useCssVars(u=>({"8298d78c":s.value}));const t=a.inject(Se.INSTANCE_STORE),n=a.ref(!1),o=a.computed(()=>`vue-popup-plus-animation vue-popup-plus-animation-enter-${e.type.description}`),r=a.computed(()=>`vue-popup-plus-animation vue-popup-plus-animation-leave-${e.type.description}`),s=a.computed(()=>`${e.duration}ms`);return a.onMounted(()=>{n.value=!0}),(u,i)=>(a.openBlock(),a.createBlock(a.Transition,{"enter-active-class":o.value,"leave-active-class":r.value},{default:a.withCtx(()=>[n.value&&!a.unref(t).isBeforeUnmount?a.renderSlot(u.$slots,"default",{key:0,style:a.normalizeStyle({animationDuration:`${u.duration}ms`})}):a.createCommentVNode("",!0)]),_:3},8,["enter-active-class","leave-active-class"]))}}),tu=a.defineComponent({name:"Popup",__name:"Popup",setup(e){const t=a.inject(Se.INSTANCE_STORE);return(n,o)=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[a.unref(t).mask?(a.openBlock(),a.createBlock(Oo,{key:0,duration:a.unref(t).animationDuration,type:a.unref(t).maskAnimation},{default:a.withCtx(()=>[a.createVNode(Qs)]),_:1},8,["duration","type"])):a.createCommentVNode("",!0),a.createVNode(Oo,{duration:a.unref(t).animationDuration,type:a.unref(t).viewAnimation},{default:a.withCtx(()=>[a.createVNode(eu)]),_:1},8,["duration","type"])],64))}});function nu(e,{component:t,...n}){return Zs(e.name,{state:()=>({...n,component:a.markRaw(t),isBeforeUnmount:!1})})()}class ou{#e;get seed(){return this.#e}get name(){return`vue-popup-instance-${this.seed}`}constructor(t){this.#e=t}}class Ce{static#e;#o;#n;#t;get id(){return this.#o}constructor(t,n){this.#o=new ou(t),this.#n=a.createApp(tu),this.#n.provide(Be.INSTANCE_ID,this.id),Ce.#e=Ce.#e||Gs(),this.#n.use(Ce.#e),this.#t=nu(this.#o,n),this.#n.provide(Se.INSTANCE_STORE,this.#t)}mount(){return this.#n.mount(this.#t.el),this.#t.onMounted(),this.id}async unmount(t){this.#t.isBeforeUnmount=!0,await Xs(this.#t.animationDuration),this.#n.unmount(),this.#t.onUnmounted(t)}updateStore(t){this.#t.$patch(n=>{Object.assign(n,t)})}}const ru={componentProps:{},onMounted:()=>{},onUnmounted:()=>{},mask:!0,maskClickCloseEnabled:!1,autoHideWindowScroll:!0,width:"auto",maxWidth:"auto",minWidth:"auto",height:"auto",maxHeight:"auto",minHeight:"auto",animationDuration:100,maskAnimation:pt.FADE,viewAnimation:pt.FADE};class su{#e;constructor(t){this.#e=t}render({el:t,zIndex:n,...o}){t=t||document.body.appendChild(document.createElement("div")),n=n??this.#e.config.zIndex++;const r=new Ce(this.#e.seed,{...ru,...o,zIndex:n,el:t});return this.#e.addInstance(r),r.mount(),r.id}update(t,n){const o=this.#e.getInstance(t);o&&o.updateStore(n)}async destroy(t,n){const o=this.#e.getInstance(t);o&&(await o.unmount(n),this.#e.removeInstance(o))}install(t){t.config.globalProperties[this.#e.config.prototypeName]=this}}let Ao;function uu(e){return new au(e)}function iu(){return Ao}class au{#e=1;#o={};#n;#t;get seed(){return this.#e++}get config(){return this.#t}get controller(){return this.#n}constructor({zIndex:t=1e3,prototypeName:n="$popup"}={}){this.#t={zIndex:t,prototypeName:n},this.#n=new su(this),Ao=this}addInstance(t){this.#o[t.id.name]=t}getInstance(t){return this.#o[t.name]}removeInstance(t){delete this.#o[t.id.name]}}const lu="1.0.0";function cu(e){return uu(e).controller}function So(){return iu().controller}$.POPUP_ANIMATIONS=pt,$.POPUP_COMPONENT_INJECT_KEYS=Be,$.createPopup=cu,$.usePopup=So,$.version=lu,Object.defineProperty($,Symbol.toStringTag,{value:"Module"})}));
|
package/package.json
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "vue-popup-plus",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"keywords": [
|
|
5
|
+
"vue",
|
|
6
|
+
"vue3",
|
|
7
|
+
"popup",
|
|
8
|
+
"plugin"
|
|
9
|
+
],
|
|
10
|
+
"type": "module",
|
|
11
|
+
"files": [
|
|
12
|
+
"dist"
|
|
13
|
+
],
|
|
14
|
+
"main": "./dist/vue-popup-plus.umd.js",
|
|
15
|
+
"module": "./dist/vue-popup-plus.js",
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"import": "./dist/vue-popup-plus.js",
|
|
19
|
+
"require": "./dist/vue-popup-plus.umd.js"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"types": "./dist/vue-popup-plus.d.ts",
|
|
23
|
+
"engines": {
|
|
24
|
+
"node": "^20.19.0 || >=22.12.0"
|
|
25
|
+
},
|
|
26
|
+
"scripts": {
|
|
27
|
+
"dev": "vite",
|
|
28
|
+
"build": "run-p type-check && vite build",
|
|
29
|
+
"test:unit": "vitest",
|
|
30
|
+
"build-only": "vite build",
|
|
31
|
+
"type-check": "vue-tsc --build",
|
|
32
|
+
"lint": "eslint . --fix",
|
|
33
|
+
"format": "prettier --write src/"
|
|
34
|
+
},
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"pinia": "^3.0.3",
|
|
37
|
+
"vue": "^3.5.18"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@prettier/plugin-pug": "^3.4.2",
|
|
41
|
+
"@tsconfig/node22": "^22.0.2",
|
|
42
|
+
"@types/jsdom": "^21.1.7",
|
|
43
|
+
"@types/node": "^22.16.5",
|
|
44
|
+
"@vitejs/plugin-vue": "^6.0.1",
|
|
45
|
+
"@vitest/eslint-plugin": "^1.3.4",
|
|
46
|
+
"@vue/eslint-config-prettier": "^10.2.0",
|
|
47
|
+
"@vue/eslint-config-typescript": "^14.6.0",
|
|
48
|
+
"@vue/language-plugin-pug": "^3.0.6",
|
|
49
|
+
"@vue/test-utils": "^2.4.6",
|
|
50
|
+
"@vue/tsconfig": "^0.7.0",
|
|
51
|
+
"eslint": "^9.31.0",
|
|
52
|
+
"eslint-plugin-vue": "~10.3.0",
|
|
53
|
+
"jiti": "^2.4.2",
|
|
54
|
+
"jsdom": "^26.1.0",
|
|
55
|
+
"npm-run-all2": "^8.0.4",
|
|
56
|
+
"prettier": "3.6.2",
|
|
57
|
+
"pug": "^3.0.3",
|
|
58
|
+
"stylus": "^0.64.0",
|
|
59
|
+
"typescript": "~5.8.0",
|
|
60
|
+
"vite": "^7.0.6",
|
|
61
|
+
"vite-plugin-css-injected-by-js": "^3.5.2",
|
|
62
|
+
"vite-plugin-dts": "^4.5.4",
|
|
63
|
+
"vite-plugin-vue-devtools": "^8.0.0",
|
|
64
|
+
"vitest": "^3.2.4",
|
|
65
|
+
"vue-tsc": "^3.0.4"
|
|
66
|
+
},
|
|
67
|
+
"license": "MIT"
|
|
68
|
+
}
|
|
69
|
+
|