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.
@@ -0,0 +1,4579 @@
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
+ import { effectScope as Kn, ref as He, markRaw as Z, toRaw as Se, watch as zn, unref as z, hasInjectionContext as jo, inject as oe, getCurrentInstance as Ko, reactive as zo, isRef as Ce, isReactive as dt, toRef as Ye, nextTick as wt, computed as Q, getCurrentScope as Go, onScopeDispose as Wo, toRefs as Pt, defineComponent as je, createElementBlock as _t, openBlock as fe, normalizeStyle as Be, defineAsyncComponent as Yo, createElementVNode as qo, createBlock as pt, resolveDynamicComponent as Zo, mergeProps as Xo, useCssVars as Jo, onMounted as Qo, Transition as er, withCtx as et, renderSlot as tr, createCommentVNode as Gn, Fragment as nr, createVNode as qe, createApp as or } from "vue";
3
+ var rr = Object.create, Wn = Object.defineProperty, ur = Object.getOwnPropertyDescriptor, Et = Object.getOwnPropertyNames, sr = Object.getPrototypeOf, ir = Object.prototype.hasOwnProperty, ar = (e, t) => function() {
4
+ return e && (t = (0, e[Et(e)[0]])(e = 0)), t;
5
+ }, lr = (e, t) => function() {
6
+ return t || (0, e[Et(e)[0]])((t = { exports: {} }).exports, t), t.exports;
7
+ }, cr = (e, t, n, o) => {
8
+ if (t && typeof t == "object" || typeof t == "function")
9
+ for (let r of Et(t))
10
+ !ir.call(e, r) && r !== n && Wn(e, r, { get: () => t[r], enumerable: !(o = ur(t, r)) || o.enumerable });
11
+ return e;
12
+ }, fr = (e, t, n) => (n = e != null ? rr(sr(e)) : {}, cr(
13
+ // If the importer is in node compatibility mode or this is not an ESM
14
+ // file that has been converted to a CommonJS file using a Babel-
15
+ // compatible transform (i.e. "__esModule" has not been set), then set
16
+ // "default" to the CommonJS "module.exports" for node compatibility.
17
+ Wn(n, "default", { value: e, enumerable: !0 }),
18
+ e
19
+ )), we = ar({
20
+ "../../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"() {
21
+ }
22
+ }), dr = lr({
23
+ "../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js"(e, t) {
24
+ we(), t.exports = o;
25
+ function n(u) {
26
+ return u instanceof Buffer ? Buffer.from(u) : new u.constructor(u.buffer.slice(), u.byteOffset, u.length);
27
+ }
28
+ function o(u) {
29
+ if (u = u || {}, u.circles) return r(u);
30
+ const s = /* @__PURE__ */ new Map();
31
+ if (s.set(Date, (c) => new Date(c)), s.set(Map, (c, y) => new Map(l(Array.from(c), y))), s.set(Set, (c, y) => new Set(l(Array.from(c), y))), u.constructorHandlers)
32
+ for (const c of u.constructorHandlers)
33
+ s.set(c[0], c[1]);
34
+ let i = null;
35
+ return u.proto ? v : f;
36
+ function l(c, y) {
37
+ const d = Object.keys(c), _ = new Array(d.length);
38
+ for (let A = 0; A < d.length; A++) {
39
+ const h = d[A], m = c[h];
40
+ typeof m != "object" || m === null ? _[h] = m : m.constructor !== Object && (i = s.get(m.constructor)) ? _[h] = i(m, y) : ArrayBuffer.isView(m) ? _[h] = n(m) : _[h] = y(m);
41
+ }
42
+ return _;
43
+ }
44
+ function f(c) {
45
+ if (typeof c != "object" || c === null) return c;
46
+ if (Array.isArray(c)) return l(c, f);
47
+ if (c.constructor !== Object && (i = s.get(c.constructor)))
48
+ return i(c, f);
49
+ const y = {};
50
+ for (const d in c) {
51
+ if (Object.hasOwnProperty.call(c, d) === !1) continue;
52
+ const _ = c[d];
53
+ typeof _ != "object" || _ === null ? y[d] = _ : _.constructor !== Object && (i = s.get(_.constructor)) ? y[d] = i(_, f) : ArrayBuffer.isView(_) ? y[d] = n(_) : y[d] = f(_);
54
+ }
55
+ return y;
56
+ }
57
+ function v(c) {
58
+ if (typeof c != "object" || c === null) return c;
59
+ if (Array.isArray(c)) return l(c, v);
60
+ if (c.constructor !== Object && (i = s.get(c.constructor)))
61
+ return i(c, v);
62
+ const y = {};
63
+ for (const d in c) {
64
+ const _ = c[d];
65
+ typeof _ != "object" || _ === null ? y[d] = _ : _.constructor !== Object && (i = s.get(_.constructor)) ? y[d] = i(_, v) : ArrayBuffer.isView(_) ? y[d] = n(_) : y[d] = v(_);
66
+ }
67
+ return y;
68
+ }
69
+ }
70
+ function r(u) {
71
+ const s = [], i = [], l = /* @__PURE__ */ new Map();
72
+ if (l.set(Date, (d) => new Date(d)), l.set(Map, (d, _) => new Map(v(Array.from(d), _))), l.set(Set, (d, _) => new Set(v(Array.from(d), _))), u.constructorHandlers)
73
+ for (const d of u.constructorHandlers)
74
+ l.set(d[0], d[1]);
75
+ let f = null;
76
+ return u.proto ? y : c;
77
+ function v(d, _) {
78
+ const A = Object.keys(d), h = new Array(A.length);
79
+ for (let m = 0; m < A.length; m++) {
80
+ const T = A[m], C = d[T];
81
+ if (typeof C != "object" || C === null)
82
+ h[T] = C;
83
+ else if (C.constructor !== Object && (f = l.get(C.constructor)))
84
+ h[T] = f(C, _);
85
+ else if (ArrayBuffer.isView(C))
86
+ h[T] = n(C);
87
+ else {
88
+ const V = s.indexOf(C);
89
+ V !== -1 ? h[T] = i[V] : h[T] = _(C);
90
+ }
91
+ }
92
+ return h;
93
+ }
94
+ function c(d) {
95
+ if (typeof d != "object" || d === null) return d;
96
+ if (Array.isArray(d)) return v(d, c);
97
+ if (d.constructor !== Object && (f = l.get(d.constructor)))
98
+ return f(d, c);
99
+ const _ = {};
100
+ s.push(d), i.push(_);
101
+ for (const A in d) {
102
+ if (Object.hasOwnProperty.call(d, A) === !1) continue;
103
+ const h = d[A];
104
+ if (typeof h != "object" || h === null)
105
+ _[A] = h;
106
+ else if (h.constructor !== Object && (f = l.get(h.constructor)))
107
+ _[A] = f(h, c);
108
+ else if (ArrayBuffer.isView(h))
109
+ _[A] = n(h);
110
+ else {
111
+ const m = s.indexOf(h);
112
+ m !== -1 ? _[A] = i[m] : _[A] = c(h);
113
+ }
114
+ }
115
+ return s.pop(), i.pop(), _;
116
+ }
117
+ function y(d) {
118
+ if (typeof d != "object" || d === null) return d;
119
+ if (Array.isArray(d)) return v(d, y);
120
+ if (d.constructor !== Object && (f = l.get(d.constructor)))
121
+ return f(d, y);
122
+ const _ = {};
123
+ s.push(d), i.push(_);
124
+ for (const A in d) {
125
+ const h = d[A];
126
+ if (typeof h != "object" || h === null)
127
+ _[A] = h;
128
+ else if (h.constructor !== Object && (f = l.get(h.constructor)))
129
+ _[A] = f(h, y);
130
+ else if (ArrayBuffer.isView(h))
131
+ _[A] = n(h);
132
+ else {
133
+ const m = s.indexOf(h);
134
+ m !== -1 ? _[A] = i[m] : _[A] = y(h);
135
+ }
136
+ }
137
+ return s.pop(), i.pop(), _;
138
+ }
139
+ }
140
+ }
141
+ });
142
+ we();
143
+ we();
144
+ we();
145
+ var Yn = typeof navigator < "u", p = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : typeof global < "u" ? global : {};
146
+ typeof p.chrome < "u" && p.chrome.devtools;
147
+ Yn && (p.self, p.top);
148
+ var Nt;
149
+ typeof navigator < "u" && ((Nt = navigator.userAgent) == null || Nt.toLowerCase().includes("electron"));
150
+ we();
151
+ var _r = fr(dr()), pr = /(?:^|[-_/])(\w)/g;
152
+ function Er(e, t) {
153
+ return t ? t.toUpperCase() : "";
154
+ }
155
+ function hr(e) {
156
+ return e && `${e}`.replace(pr, Er);
157
+ }
158
+ function mr(e, t) {
159
+ let n = e.replace(/^[a-z]:/i, "").replace(/\\/g, "/");
160
+ n.endsWith(`index${t}`) && (n = n.replace(`/index${t}`, t));
161
+ const o = n.lastIndexOf("/"), r = n.substring(o + 1);
162
+ {
163
+ const u = r.lastIndexOf(t);
164
+ return r.substring(0, u);
165
+ }
166
+ }
167
+ var Rt = (0, _r.default)({ circles: !0 });
168
+ const gr = {
169
+ trailing: !0
170
+ };
171
+ function de(e, t = 25, n = {}) {
172
+ if (n = { ...gr, ...n }, !Number.isFinite(t))
173
+ throw new TypeError("Expected `wait` to be a finite number");
174
+ let o, r, u = [], s, i;
175
+ const l = (f, v) => (s = vr(e, f, v), s.finally(() => {
176
+ if (s = null, n.trailing && i && !r) {
177
+ const c = l(f, i);
178
+ return i = null, c;
179
+ }
180
+ }), s);
181
+ return function(...f) {
182
+ return s ? (n.trailing && (i = f), s) : new Promise((v) => {
183
+ const c = !r && n.leading;
184
+ clearTimeout(r), r = setTimeout(() => {
185
+ r = null;
186
+ const y = n.leading ? o : l(this, f);
187
+ for (const d of u)
188
+ d(y);
189
+ u = [];
190
+ }, t), c ? (o = l(this, f), v(o)) : u.push(v);
191
+ });
192
+ };
193
+ }
194
+ async function vr(e, t, n) {
195
+ return await e.apply(t, n);
196
+ }
197
+ function tt(e, t = {}, n) {
198
+ for (const o in e) {
199
+ const r = e[o], u = n ? `${n}:${o}` : o;
200
+ typeof r == "object" && r !== null ? tt(r, t, u) : typeof r == "function" && (t[u] = r);
201
+ }
202
+ return t;
203
+ }
204
+ const yr = { run: (e) => e() }, Ar = () => yr, qn = typeof console.createTask < "u" ? console.createTask : Ar;
205
+ function Or(e, t) {
206
+ const n = t.shift(), o = qn(n);
207
+ return e.reduce(
208
+ (r, u) => r.then(() => o.run(() => u(...t))),
209
+ Promise.resolve()
210
+ );
211
+ }
212
+ function Sr(e, t) {
213
+ const n = t.shift(), o = qn(n);
214
+ return Promise.all(e.map((r) => o.run(() => r(...t))));
215
+ }
216
+ function Ze(e, t) {
217
+ for (const n of [...e])
218
+ n(t);
219
+ }
220
+ class Cr {
221
+ constructor() {
222
+ 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);
223
+ }
224
+ hook(t, n, o = {}) {
225
+ if (!t || typeof n != "function")
226
+ return () => {
227
+ };
228
+ const r = t;
229
+ let u;
230
+ for (; this._deprecatedHooks[t]; )
231
+ u = this._deprecatedHooks[t], t = u.to;
232
+ if (u && !o.allowDeprecated) {
233
+ let s = u.message;
234
+ s || (s = `${r} hook has been deprecated` + (u.to ? `, please use ${u.to}` : "")), this._deprecatedMessages || (this._deprecatedMessages = /* @__PURE__ */ new Set()), this._deprecatedMessages.has(s) || (console.warn(s), this._deprecatedMessages.add(s));
235
+ }
236
+ if (!n.name)
237
+ try {
238
+ Object.defineProperty(n, "name", {
239
+ get: () => "_" + t.replace(/\W+/g, "_") + "_hook_cb",
240
+ configurable: !0
241
+ });
242
+ } catch {
243
+ }
244
+ return this._hooks[t] = this._hooks[t] || [], this._hooks[t].push(n), () => {
245
+ n && (this.removeHook(t, n), n = void 0);
246
+ };
247
+ }
248
+ hookOnce(t, n) {
249
+ let o, r = (...u) => (typeof o == "function" && o(), o = void 0, r = void 0, n(...u));
250
+ return o = this.hook(t, r), o;
251
+ }
252
+ removeHook(t, n) {
253
+ if (this._hooks[t]) {
254
+ const o = this._hooks[t].indexOf(n);
255
+ o !== -1 && this._hooks[t].splice(o, 1), this._hooks[t].length === 0 && delete this._hooks[t];
256
+ }
257
+ }
258
+ deprecateHook(t, n) {
259
+ this._deprecatedHooks[t] = typeof n == "string" ? { to: n } : n;
260
+ const o = this._hooks[t] || [];
261
+ delete this._hooks[t];
262
+ for (const r of o)
263
+ this.hook(t, r);
264
+ }
265
+ deprecateHooks(t) {
266
+ Object.assign(this._deprecatedHooks, t);
267
+ for (const n in t)
268
+ this.deprecateHook(n, t[n]);
269
+ }
270
+ addHooks(t) {
271
+ const n = tt(t), o = Object.keys(n).map(
272
+ (r) => this.hook(r, n[r])
273
+ );
274
+ return () => {
275
+ for (const r of o.splice(0, o.length))
276
+ r();
277
+ };
278
+ }
279
+ removeHooks(t) {
280
+ const n = tt(t);
281
+ for (const o in n)
282
+ this.removeHook(o, n[o]);
283
+ }
284
+ removeAllHooks() {
285
+ for (const t in this._hooks)
286
+ delete this._hooks[t];
287
+ }
288
+ callHook(t, ...n) {
289
+ return n.unshift(t), this.callHookWith(Or, t, ...n);
290
+ }
291
+ callHookParallel(t, ...n) {
292
+ return n.unshift(t), this.callHookWith(Sr, t, ...n);
293
+ }
294
+ callHookWith(t, n, ...o) {
295
+ const r = this._before || this._after ? { name: n, args: o, context: {} } : void 0;
296
+ this._before && Ze(this._before, r);
297
+ const u = t(
298
+ n in this._hooks ? [...this._hooks[n]] : [],
299
+ o
300
+ );
301
+ return u instanceof Promise ? u.finally(() => {
302
+ this._after && r && Ze(this._after, r);
303
+ }) : (this._after && r && Ze(this._after, r), u);
304
+ }
305
+ beforeEach(t) {
306
+ return this._before = this._before || [], this._before.push(t), () => {
307
+ if (this._before !== void 0) {
308
+ const n = this._before.indexOf(t);
309
+ n !== -1 && this._before.splice(n, 1);
310
+ }
311
+ };
312
+ }
313
+ afterEach(t) {
314
+ return this._after = this._after || [], this._after.push(t), () => {
315
+ if (this._after !== void 0) {
316
+ const n = this._after.indexOf(t);
317
+ n !== -1 && this._after.splice(n, 1);
318
+ }
319
+ };
320
+ }
321
+ }
322
+ function Zn() {
323
+ return new Cr();
324
+ }
325
+ var Tr = Object.create, Xn = Object.defineProperty, br = Object.getOwnPropertyDescriptor, ht = Object.getOwnPropertyNames, Ir = Object.getPrototypeOf, Dr = Object.prototype.hasOwnProperty, kr = (e, t) => function() {
326
+ return e && (t = (0, e[ht(e)[0]])(e = 0)), t;
327
+ }, Jn = (e, t) => function() {
328
+ return t || (0, e[ht(e)[0]])((t = { exports: {} }).exports, t), t.exports;
329
+ }, wr = (e, t, n, o) => {
330
+ if (t && typeof t == "object" || typeof t == "function")
331
+ for (let r of ht(t))
332
+ !Dr.call(e, r) && r !== n && Xn(e, r, { get: () => t[r], enumerable: !(o = br(t, r)) || o.enumerable });
333
+ return e;
334
+ }, Pr = (e, t, n) => (n = e != null ? Tr(Ir(e)) : {}, wr(
335
+ // If the importer is in node compatibility mode or this is not an ESM
336
+ // file that has been converted to a CommonJS file using a Babel-
337
+ // compatible transform (i.e. "__esModule" has not been set), then set
338
+ // "default" to the CommonJS "module.exports" for node compatibility.
339
+ Xn(n, "default", { value: e, enumerable: !0 }),
340
+ e
341
+ )), a = kr({
342
+ "../../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"() {
343
+ }
344
+ }), Nr = Jn({
345
+ "../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(e, t) {
346
+ a(), (function(n) {
347
+ var o = {
348
+ // latin
349
+ À: "A",
350
+ Á: "A",
351
+ Â: "A",
352
+ Ã: "A",
353
+ Ä: "Ae",
354
+ Å: "A",
355
+ Æ: "AE",
356
+ Ç: "C",
357
+ È: "E",
358
+ É: "E",
359
+ Ê: "E",
360
+ Ë: "E",
361
+ Ì: "I",
362
+ Í: "I",
363
+ Î: "I",
364
+ Ï: "I",
365
+ Ð: "D",
366
+ Ñ: "N",
367
+ Ò: "O",
368
+ Ó: "O",
369
+ Ô: "O",
370
+ Õ: "O",
371
+ Ö: "Oe",
372
+ Ő: "O",
373
+ Ø: "O",
374
+ Ù: "U",
375
+ Ú: "U",
376
+ Û: "U",
377
+ Ü: "Ue",
378
+ Ű: "U",
379
+ Ý: "Y",
380
+ Þ: "TH",
381
+ ß: "ss",
382
+ à: "a",
383
+ á: "a",
384
+ â: "a",
385
+ ã: "a",
386
+ ä: "ae",
387
+ å: "a",
388
+ æ: "ae",
389
+ ç: "c",
390
+ è: "e",
391
+ é: "e",
392
+ ê: "e",
393
+ ë: "e",
394
+ ì: "i",
395
+ í: "i",
396
+ î: "i",
397
+ ï: "i",
398
+ ð: "d",
399
+ ñ: "n",
400
+ ò: "o",
401
+ ó: "o",
402
+ ô: "o",
403
+ õ: "o",
404
+ ö: "oe",
405
+ ő: "o",
406
+ ø: "o",
407
+ ù: "u",
408
+ ú: "u",
409
+ û: "u",
410
+ ü: "ue",
411
+ ű: "u",
412
+ ý: "y",
413
+ þ: "th",
414
+ ÿ: "y",
415
+ "ẞ": "SS",
416
+ // language specific
417
+ // Arabic
418
+ ا: "a",
419
+ أ: "a",
420
+ إ: "i",
421
+ آ: "aa",
422
+ ؤ: "u",
423
+ ئ: "e",
424
+ ء: "a",
425
+ ب: "b",
426
+ ت: "t",
427
+ ث: "th",
428
+ ج: "j",
429
+ ح: "h",
430
+ خ: "kh",
431
+ د: "d",
432
+ ذ: "th",
433
+ ر: "r",
434
+ ز: "z",
435
+ س: "s",
436
+ ش: "sh",
437
+ ص: "s",
438
+ ض: "dh",
439
+ ط: "t",
440
+ ظ: "z",
441
+ ع: "a",
442
+ غ: "gh",
443
+ ف: "f",
444
+ ق: "q",
445
+ ك: "k",
446
+ ل: "l",
447
+ م: "m",
448
+ ن: "n",
449
+ ه: "h",
450
+ و: "w",
451
+ ي: "y",
452
+ ى: "a",
453
+ ة: "h",
454
+ ﻻ: "la",
455
+ ﻷ: "laa",
456
+ ﻹ: "lai",
457
+ ﻵ: "laa",
458
+ // Persian additional characters than Arabic
459
+ گ: "g",
460
+ چ: "ch",
461
+ پ: "p",
462
+ ژ: "zh",
463
+ ک: "k",
464
+ ی: "y",
465
+ // Arabic diactrics
466
+ "َ": "a",
467
+ "ً": "an",
468
+ "ِ": "e",
469
+ "ٍ": "en",
470
+ "ُ": "u",
471
+ "ٌ": "on",
472
+ "ْ": "",
473
+ // Arabic numbers
474
+ "٠": "0",
475
+ "١": "1",
476
+ "٢": "2",
477
+ "٣": "3",
478
+ "٤": "4",
479
+ "٥": "5",
480
+ "٦": "6",
481
+ "٧": "7",
482
+ "٨": "8",
483
+ "٩": "9",
484
+ // Persian numbers
485
+ "۰": "0",
486
+ "۱": "1",
487
+ "۲": "2",
488
+ "۳": "3",
489
+ "۴": "4",
490
+ "۵": "5",
491
+ "۶": "6",
492
+ "۷": "7",
493
+ "۸": "8",
494
+ "۹": "9",
495
+ // Burmese consonants
496
+ က: "k",
497
+ ခ: "kh",
498
+ ဂ: "g",
499
+ ဃ: "ga",
500
+ င: "ng",
501
+ စ: "s",
502
+ ဆ: "sa",
503
+ ဇ: "z",
504
+ "စျ": "za",
505
+ ည: "ny",
506
+ ဋ: "t",
507
+ ဌ: "ta",
508
+ ဍ: "d",
509
+ ဎ: "da",
510
+ ဏ: "na",
511
+ တ: "t",
512
+ ထ: "ta",
513
+ ဒ: "d",
514
+ ဓ: "da",
515
+ န: "n",
516
+ ပ: "p",
517
+ ဖ: "pa",
518
+ ဗ: "b",
519
+ ဘ: "ba",
520
+ မ: "m",
521
+ ယ: "y",
522
+ ရ: "ya",
523
+ လ: "l",
524
+ ဝ: "w",
525
+ သ: "th",
526
+ ဟ: "h",
527
+ ဠ: "la",
528
+ အ: "a",
529
+ // consonant character combos
530
+ "ြ": "y",
531
+ "ျ": "ya",
532
+ "ွ": "w",
533
+ "ြွ": "yw",
534
+ "ျွ": "ywa",
535
+ "ှ": "h",
536
+ // independent vowels
537
+ ဧ: "e",
538
+ "၏": "-e",
539
+ ဣ: "i",
540
+ ဤ: "-i",
541
+ ဉ: "u",
542
+ ဦ: "-u",
543
+ ဩ: "aw",
544
+ "သြော": "aw",
545
+ ဪ: "aw",
546
+ // numbers
547
+ "၀": "0",
548
+ "၁": "1",
549
+ "၂": "2",
550
+ "၃": "3",
551
+ "၄": "4",
552
+ "၅": "5",
553
+ "၆": "6",
554
+ "၇": "7",
555
+ "၈": "8",
556
+ "၉": "9",
557
+ // virama and tone marks which are silent in transliteration
558
+ "္": "",
559
+ "့": "",
560
+ "း": "",
561
+ // Czech
562
+ č: "c",
563
+ ď: "d",
564
+ ě: "e",
565
+ ň: "n",
566
+ ř: "r",
567
+ š: "s",
568
+ ť: "t",
569
+ ů: "u",
570
+ ž: "z",
571
+ Č: "C",
572
+ Ď: "D",
573
+ Ě: "E",
574
+ Ň: "N",
575
+ Ř: "R",
576
+ Š: "S",
577
+ Ť: "T",
578
+ Ů: "U",
579
+ Ž: "Z",
580
+ // Dhivehi
581
+ ހ: "h",
582
+ ށ: "sh",
583
+ ނ: "n",
584
+ ރ: "r",
585
+ ބ: "b",
586
+ ޅ: "lh",
587
+ ކ: "k",
588
+ އ: "a",
589
+ ވ: "v",
590
+ މ: "m",
591
+ ފ: "f",
592
+ ދ: "dh",
593
+ ތ: "th",
594
+ ލ: "l",
595
+ ގ: "g",
596
+ ޏ: "gn",
597
+ ސ: "s",
598
+ ޑ: "d",
599
+ ޒ: "z",
600
+ ޓ: "t",
601
+ ޔ: "y",
602
+ ޕ: "p",
603
+ ޖ: "j",
604
+ ޗ: "ch",
605
+ ޘ: "tt",
606
+ ޙ: "hh",
607
+ ޚ: "kh",
608
+ ޛ: "th",
609
+ ޜ: "z",
610
+ ޝ: "sh",
611
+ ޞ: "s",
612
+ ޟ: "d",
613
+ ޠ: "t",
614
+ ޡ: "z",
615
+ ޢ: "a",
616
+ ޣ: "gh",
617
+ ޤ: "q",
618
+ ޥ: "w",
619
+ "ަ": "a",
620
+ "ާ": "aa",
621
+ "ި": "i",
622
+ "ީ": "ee",
623
+ "ު": "u",
624
+ "ޫ": "oo",
625
+ "ެ": "e",
626
+ "ޭ": "ey",
627
+ "ޮ": "o",
628
+ "ޯ": "oa",
629
+ "ް": "",
630
+ // Georgian https://en.wikipedia.org/wiki/Romanization_of_Georgian
631
+ // National system (2002)
632
+ ა: "a",
633
+ ბ: "b",
634
+ გ: "g",
635
+ დ: "d",
636
+ ე: "e",
637
+ ვ: "v",
638
+ ზ: "z",
639
+ თ: "t",
640
+ ი: "i",
641
+ კ: "k",
642
+ ლ: "l",
643
+ მ: "m",
644
+ ნ: "n",
645
+ ო: "o",
646
+ პ: "p",
647
+ ჟ: "zh",
648
+ რ: "r",
649
+ ს: "s",
650
+ ტ: "t",
651
+ უ: "u",
652
+ ფ: "p",
653
+ ქ: "k",
654
+ ღ: "gh",
655
+ ყ: "q",
656
+ შ: "sh",
657
+ ჩ: "ch",
658
+ ც: "ts",
659
+ ძ: "dz",
660
+ წ: "ts",
661
+ ჭ: "ch",
662
+ ხ: "kh",
663
+ ჯ: "j",
664
+ ჰ: "h",
665
+ // Greek
666
+ α: "a",
667
+ β: "v",
668
+ γ: "g",
669
+ δ: "d",
670
+ ε: "e",
671
+ ζ: "z",
672
+ η: "i",
673
+ θ: "th",
674
+ ι: "i",
675
+ κ: "k",
676
+ λ: "l",
677
+ μ: "m",
678
+ ν: "n",
679
+ ξ: "ks",
680
+ ο: "o",
681
+ π: "p",
682
+ ρ: "r",
683
+ σ: "s",
684
+ τ: "t",
685
+ υ: "y",
686
+ φ: "f",
687
+ χ: "x",
688
+ ψ: "ps",
689
+ ω: "o",
690
+ ά: "a",
691
+ έ: "e",
692
+ ί: "i",
693
+ ό: "o",
694
+ ύ: "y",
695
+ ή: "i",
696
+ ώ: "o",
697
+ ς: "s",
698
+ ϊ: "i",
699
+ ΰ: "y",
700
+ ϋ: "y",
701
+ ΐ: "i",
702
+ Α: "A",
703
+ Β: "B",
704
+ Γ: "G",
705
+ Δ: "D",
706
+ Ε: "E",
707
+ Ζ: "Z",
708
+ Η: "I",
709
+ Θ: "TH",
710
+ Ι: "I",
711
+ Κ: "K",
712
+ Λ: "L",
713
+ Μ: "M",
714
+ Ν: "N",
715
+ Ξ: "KS",
716
+ Ο: "O",
717
+ Π: "P",
718
+ Ρ: "R",
719
+ Σ: "S",
720
+ Τ: "T",
721
+ Υ: "Y",
722
+ Φ: "F",
723
+ Χ: "X",
724
+ Ψ: "PS",
725
+ Ω: "O",
726
+ Ά: "A",
727
+ Έ: "E",
728
+ Ί: "I",
729
+ Ό: "O",
730
+ Ύ: "Y",
731
+ Ή: "I",
732
+ Ώ: "O",
733
+ Ϊ: "I",
734
+ Ϋ: "Y",
735
+ // Latvian
736
+ ā: "a",
737
+ // 'č': 'c', // duplicate
738
+ ē: "e",
739
+ ģ: "g",
740
+ ī: "i",
741
+ ķ: "k",
742
+ ļ: "l",
743
+ ņ: "n",
744
+ // 'š': 's', // duplicate
745
+ ū: "u",
746
+ // 'ž': 'z', // duplicate
747
+ Ā: "A",
748
+ // 'Č': 'C', // duplicate
749
+ Ē: "E",
750
+ Ģ: "G",
751
+ Ī: "I",
752
+ Ķ: "k",
753
+ Ļ: "L",
754
+ Ņ: "N",
755
+ // 'Š': 'S', // duplicate
756
+ Ū: "U",
757
+ // 'Ž': 'Z', // duplicate
758
+ // Macedonian
759
+ Ќ: "Kj",
760
+ ќ: "kj",
761
+ Љ: "Lj",
762
+ љ: "lj",
763
+ Њ: "Nj",
764
+ њ: "nj",
765
+ Тс: "Ts",
766
+ тс: "ts",
767
+ // Polish
768
+ ą: "a",
769
+ ć: "c",
770
+ ę: "e",
771
+ ł: "l",
772
+ ń: "n",
773
+ // 'ó': 'o', // duplicate
774
+ ś: "s",
775
+ ź: "z",
776
+ ż: "z",
777
+ Ą: "A",
778
+ Ć: "C",
779
+ Ę: "E",
780
+ Ł: "L",
781
+ Ń: "N",
782
+ Ś: "S",
783
+ Ź: "Z",
784
+ Ż: "Z",
785
+ // Ukranian
786
+ Є: "Ye",
787
+ І: "I",
788
+ Ї: "Yi",
789
+ Ґ: "G",
790
+ є: "ye",
791
+ і: "i",
792
+ ї: "yi",
793
+ ґ: "g",
794
+ // Romanian
795
+ ă: "a",
796
+ Ă: "A",
797
+ ș: "s",
798
+ Ș: "S",
799
+ // 'ş': 's', // duplicate
800
+ // 'Ş': 'S', // duplicate
801
+ ț: "t",
802
+ Ț: "T",
803
+ ţ: "t",
804
+ Ţ: "T",
805
+ // Russian https://en.wikipedia.org/wiki/Romanization_of_Russian
806
+ // ICAO
807
+ а: "a",
808
+ б: "b",
809
+ в: "v",
810
+ г: "g",
811
+ д: "d",
812
+ е: "e",
813
+ ё: "yo",
814
+ ж: "zh",
815
+ з: "z",
816
+ и: "i",
817
+ й: "i",
818
+ к: "k",
819
+ л: "l",
820
+ м: "m",
821
+ н: "n",
822
+ о: "o",
823
+ п: "p",
824
+ р: "r",
825
+ с: "s",
826
+ т: "t",
827
+ у: "u",
828
+ ф: "f",
829
+ х: "kh",
830
+ ц: "c",
831
+ ч: "ch",
832
+ ш: "sh",
833
+ щ: "sh",
834
+ ъ: "",
835
+ ы: "y",
836
+ ь: "",
837
+ э: "e",
838
+ ю: "yu",
839
+ я: "ya",
840
+ А: "A",
841
+ Б: "B",
842
+ В: "V",
843
+ Г: "G",
844
+ Д: "D",
845
+ Е: "E",
846
+ Ё: "Yo",
847
+ Ж: "Zh",
848
+ З: "Z",
849
+ И: "I",
850
+ Й: "I",
851
+ К: "K",
852
+ Л: "L",
853
+ М: "M",
854
+ Н: "N",
855
+ О: "O",
856
+ П: "P",
857
+ Р: "R",
858
+ С: "S",
859
+ Т: "T",
860
+ У: "U",
861
+ Ф: "F",
862
+ Х: "Kh",
863
+ Ц: "C",
864
+ Ч: "Ch",
865
+ Ш: "Sh",
866
+ Щ: "Sh",
867
+ Ъ: "",
868
+ Ы: "Y",
869
+ Ь: "",
870
+ Э: "E",
871
+ Ю: "Yu",
872
+ Я: "Ya",
873
+ // Serbian
874
+ ђ: "dj",
875
+ ј: "j",
876
+ // 'љ': 'lj', // duplicate
877
+ // 'њ': 'nj', // duplicate
878
+ ћ: "c",
879
+ џ: "dz",
880
+ Ђ: "Dj",
881
+ Ј: "j",
882
+ // 'Љ': 'Lj', // duplicate
883
+ // 'Њ': 'Nj', // duplicate
884
+ Ћ: "C",
885
+ Џ: "Dz",
886
+ // Slovak
887
+ ľ: "l",
888
+ ĺ: "l",
889
+ ŕ: "r",
890
+ Ľ: "L",
891
+ Ĺ: "L",
892
+ Ŕ: "R",
893
+ // Turkish
894
+ ş: "s",
895
+ Ş: "S",
896
+ ı: "i",
897
+ İ: "I",
898
+ // 'ç': 'c', // duplicate
899
+ // 'Ç': 'C', // duplicate
900
+ // 'ü': 'u', // duplicate, see langCharMap
901
+ // 'Ü': 'U', // duplicate, see langCharMap
902
+ // 'ö': 'o', // duplicate, see langCharMap
903
+ // 'Ö': 'O', // duplicate, see langCharMap
904
+ ğ: "g",
905
+ Ğ: "G",
906
+ // Vietnamese
907
+ ả: "a",
908
+ Ả: "A",
909
+ ẳ: "a",
910
+ Ẳ: "A",
911
+ ẩ: "a",
912
+ Ẩ: "A",
913
+ đ: "d",
914
+ Đ: "D",
915
+ ẹ: "e",
916
+ Ẹ: "E",
917
+ ẽ: "e",
918
+ Ẽ: "E",
919
+ ẻ: "e",
920
+ Ẻ: "E",
921
+ ế: "e",
922
+ Ế: "E",
923
+ ề: "e",
924
+ Ề: "E",
925
+ ệ: "e",
926
+ Ệ: "E",
927
+ ễ: "e",
928
+ Ễ: "E",
929
+ ể: "e",
930
+ Ể: "E",
931
+ ỏ: "o",
932
+ ọ: "o",
933
+ Ọ: "o",
934
+ ố: "o",
935
+ Ố: "O",
936
+ ồ: "o",
937
+ Ồ: "O",
938
+ ổ: "o",
939
+ Ổ: "O",
940
+ ộ: "o",
941
+ Ộ: "O",
942
+ ỗ: "o",
943
+ Ỗ: "O",
944
+ ơ: "o",
945
+ Ơ: "O",
946
+ ớ: "o",
947
+ Ớ: "O",
948
+ ờ: "o",
949
+ Ờ: "O",
950
+ ợ: "o",
951
+ Ợ: "O",
952
+ ỡ: "o",
953
+ Ỡ: "O",
954
+ Ở: "o",
955
+ ở: "o",
956
+ ị: "i",
957
+ Ị: "I",
958
+ ĩ: "i",
959
+ Ĩ: "I",
960
+ ỉ: "i",
961
+ Ỉ: "i",
962
+ ủ: "u",
963
+ Ủ: "U",
964
+ ụ: "u",
965
+ Ụ: "U",
966
+ ũ: "u",
967
+ Ũ: "U",
968
+ ư: "u",
969
+ Ư: "U",
970
+ ứ: "u",
971
+ Ứ: "U",
972
+ ừ: "u",
973
+ Ừ: "U",
974
+ ự: "u",
975
+ Ự: "U",
976
+ ữ: "u",
977
+ Ữ: "U",
978
+ ử: "u",
979
+ Ử: "ư",
980
+ ỷ: "y",
981
+ Ỷ: "y",
982
+ ỳ: "y",
983
+ Ỳ: "Y",
984
+ ỵ: "y",
985
+ Ỵ: "Y",
986
+ ỹ: "y",
987
+ Ỹ: "Y",
988
+ ạ: "a",
989
+ Ạ: "A",
990
+ ấ: "a",
991
+ Ấ: "A",
992
+ ầ: "a",
993
+ Ầ: "A",
994
+ ậ: "a",
995
+ Ậ: "A",
996
+ ẫ: "a",
997
+ Ẫ: "A",
998
+ // 'ă': 'a', // duplicate
999
+ // 'Ă': 'A', // duplicate
1000
+ ắ: "a",
1001
+ Ắ: "A",
1002
+ ằ: "a",
1003
+ Ằ: "A",
1004
+ ặ: "a",
1005
+ Ặ: "A",
1006
+ ẵ: "a",
1007
+ Ẵ: "A",
1008
+ "⓪": "0",
1009
+ "①": "1",
1010
+ "②": "2",
1011
+ "③": "3",
1012
+ "④": "4",
1013
+ "⑤": "5",
1014
+ "⑥": "6",
1015
+ "⑦": "7",
1016
+ "⑧": "8",
1017
+ "⑨": "9",
1018
+ "⑩": "10",
1019
+ "⑪": "11",
1020
+ "⑫": "12",
1021
+ "⑬": "13",
1022
+ "⑭": "14",
1023
+ "⑮": "15",
1024
+ "⑯": "16",
1025
+ "⑰": "17",
1026
+ "⑱": "18",
1027
+ "⑲": "18",
1028
+ "⑳": "18",
1029
+ "⓵": "1",
1030
+ "⓶": "2",
1031
+ "⓷": "3",
1032
+ "⓸": "4",
1033
+ "⓹": "5",
1034
+ "⓺": "6",
1035
+ "⓻": "7",
1036
+ "⓼": "8",
1037
+ "⓽": "9",
1038
+ "⓾": "10",
1039
+ "⓿": "0",
1040
+ "⓫": "11",
1041
+ "⓬": "12",
1042
+ "⓭": "13",
1043
+ "⓮": "14",
1044
+ "⓯": "15",
1045
+ "⓰": "16",
1046
+ "⓱": "17",
1047
+ "⓲": "18",
1048
+ "⓳": "19",
1049
+ "⓴": "20",
1050
+ "Ⓐ": "A",
1051
+ "Ⓑ": "B",
1052
+ "Ⓒ": "C",
1053
+ "Ⓓ": "D",
1054
+ "Ⓔ": "E",
1055
+ "Ⓕ": "F",
1056
+ "Ⓖ": "G",
1057
+ "Ⓗ": "H",
1058
+ "Ⓘ": "I",
1059
+ "Ⓙ": "J",
1060
+ "Ⓚ": "K",
1061
+ "Ⓛ": "L",
1062
+ "Ⓜ": "M",
1063
+ "Ⓝ": "N",
1064
+ "Ⓞ": "O",
1065
+ "Ⓟ": "P",
1066
+ "Ⓠ": "Q",
1067
+ "Ⓡ": "R",
1068
+ "Ⓢ": "S",
1069
+ "Ⓣ": "T",
1070
+ "Ⓤ": "U",
1071
+ "Ⓥ": "V",
1072
+ "Ⓦ": "W",
1073
+ "Ⓧ": "X",
1074
+ "Ⓨ": "Y",
1075
+ "Ⓩ": "Z",
1076
+ "ⓐ": "a",
1077
+ "ⓑ": "b",
1078
+ "ⓒ": "c",
1079
+ "ⓓ": "d",
1080
+ "ⓔ": "e",
1081
+ "ⓕ": "f",
1082
+ "ⓖ": "g",
1083
+ "ⓗ": "h",
1084
+ "ⓘ": "i",
1085
+ "ⓙ": "j",
1086
+ "ⓚ": "k",
1087
+ "ⓛ": "l",
1088
+ "ⓜ": "m",
1089
+ "ⓝ": "n",
1090
+ "ⓞ": "o",
1091
+ "ⓟ": "p",
1092
+ "ⓠ": "q",
1093
+ "ⓡ": "r",
1094
+ "ⓢ": "s",
1095
+ "ⓣ": "t",
1096
+ "ⓤ": "u",
1097
+ "ⓦ": "v",
1098
+ "ⓥ": "w",
1099
+ "ⓧ": "x",
1100
+ "ⓨ": "y",
1101
+ "ⓩ": "z",
1102
+ // symbols
1103
+ "“": '"',
1104
+ "”": '"',
1105
+ "‘": "'",
1106
+ "’": "'",
1107
+ "∂": "d",
1108
+ ƒ: "f",
1109
+ "™": "(TM)",
1110
+ "©": "(C)",
1111
+ œ: "oe",
1112
+ Œ: "OE",
1113
+ "®": "(R)",
1114
+ "†": "+",
1115
+ "℠": "(SM)",
1116
+ "…": "...",
1117
+ "˚": "o",
1118
+ º: "o",
1119
+ ª: "a",
1120
+ "•": "*",
1121
+ "၊": ",",
1122
+ "။": ".",
1123
+ // currency
1124
+ $: "USD",
1125
+ "€": "EUR",
1126
+ "₢": "BRN",
1127
+ "₣": "FRF",
1128
+ "£": "GBP",
1129
+ "₤": "ITL",
1130
+ "₦": "NGN",
1131
+ "₧": "ESP",
1132
+ "₩": "KRW",
1133
+ "₪": "ILS",
1134
+ "₫": "VND",
1135
+ "₭": "LAK",
1136
+ "₮": "MNT",
1137
+ "₯": "GRD",
1138
+ "₱": "ARS",
1139
+ "₲": "PYG",
1140
+ "₳": "ARA",
1141
+ "₴": "UAH",
1142
+ "₵": "GHS",
1143
+ "¢": "cent",
1144
+ "¥": "CNY",
1145
+ 元: "CNY",
1146
+ 円: "YEN",
1147
+ "﷼": "IRR",
1148
+ "₠": "EWE",
1149
+ "฿": "THB",
1150
+ "₨": "INR",
1151
+ "₹": "INR",
1152
+ "₰": "PF",
1153
+ "₺": "TRY",
1154
+ "؋": "AFN",
1155
+ "₼": "AZN",
1156
+ лв: "BGN",
1157
+ "៛": "KHR",
1158
+ "₡": "CRC",
1159
+ "₸": "KZT",
1160
+ ден: "MKD",
1161
+ zł: "PLN",
1162
+ "₽": "RUB",
1163
+ "₾": "GEL"
1164
+ }, r = [
1165
+ // burmese
1166
+ "်",
1167
+ // Dhivehi
1168
+ "ް"
1169
+ ], u = {
1170
+ // Burmese
1171
+ // dependent vowels
1172
+ "ာ": "a",
1173
+ "ါ": "a",
1174
+ "ေ": "e",
1175
+ "ဲ": "e",
1176
+ "ိ": "i",
1177
+ "ီ": "i",
1178
+ "ို": "o",
1179
+ "ု": "u",
1180
+ "ူ": "u",
1181
+ "ေါင်": "aung",
1182
+ "ော": "aw",
1183
+ "ော်": "aw",
1184
+ "ေါ": "aw",
1185
+ "ေါ်": "aw",
1186
+ "်": "်",
1187
+ // this is special case but the character will be converted to latin in the code
1188
+ "က်": "et",
1189
+ "ိုက်": "aik",
1190
+ "ောက်": "auk",
1191
+ "င်": "in",
1192
+ "ိုင်": "aing",
1193
+ "ောင်": "aung",
1194
+ "စ်": "it",
1195
+ "ည်": "i",
1196
+ "တ်": "at",
1197
+ "ိတ်": "eik",
1198
+ "ုတ်": "ok",
1199
+ "ွတ်": "ut",
1200
+ "ေတ်": "it",
1201
+ "ဒ်": "d",
1202
+ "ိုဒ်": "ok",
1203
+ "ုဒ်": "ait",
1204
+ "န်": "an",
1205
+ "ာန်": "an",
1206
+ "ိန်": "ein",
1207
+ "ုန်": "on",
1208
+ "ွန်": "un",
1209
+ "ပ်": "at",
1210
+ "ိပ်": "eik",
1211
+ "ုပ်": "ok",
1212
+ "ွပ်": "ut",
1213
+ "န်ုပ်": "nub",
1214
+ "မ်": "an",
1215
+ "ိမ်": "ein",
1216
+ "ုမ်": "on",
1217
+ "ွမ်": "un",
1218
+ "ယ်": "e",
1219
+ "ိုလ်": "ol",
1220
+ "ဉ်": "in",
1221
+ "ံ": "an",
1222
+ "ိံ": "ein",
1223
+ "ုံ": "on",
1224
+ // Dhivehi
1225
+ "ައް": "ah",
1226
+ "ަށް": "ah"
1227
+ }, s = {
1228
+ en: {},
1229
+ // default language
1230
+ az: {
1231
+ // Azerbaijani
1232
+ ç: "c",
1233
+ ə: "e",
1234
+ ğ: "g",
1235
+ ı: "i",
1236
+ ö: "o",
1237
+ ş: "s",
1238
+ ü: "u",
1239
+ Ç: "C",
1240
+ Ə: "E",
1241
+ Ğ: "G",
1242
+ İ: "I",
1243
+ Ö: "O",
1244
+ Ş: "S",
1245
+ Ü: "U"
1246
+ },
1247
+ cs: {
1248
+ // Czech
1249
+ č: "c",
1250
+ ď: "d",
1251
+ ě: "e",
1252
+ ň: "n",
1253
+ ř: "r",
1254
+ š: "s",
1255
+ ť: "t",
1256
+ ů: "u",
1257
+ ž: "z",
1258
+ Č: "C",
1259
+ Ď: "D",
1260
+ Ě: "E",
1261
+ Ň: "N",
1262
+ Ř: "R",
1263
+ Š: "S",
1264
+ Ť: "T",
1265
+ Ů: "U",
1266
+ Ž: "Z"
1267
+ },
1268
+ fi: {
1269
+ // Finnish
1270
+ // 'å': 'a', duplicate see charMap/latin
1271
+ // 'Å': 'A', duplicate see charMap/latin
1272
+ ä: "a",
1273
+ // ok
1274
+ Ä: "A",
1275
+ // ok
1276
+ ö: "o",
1277
+ // ok
1278
+ Ö: "O"
1279
+ // ok
1280
+ },
1281
+ hu: {
1282
+ // Hungarian
1283
+ ä: "a",
1284
+ // ok
1285
+ Ä: "A",
1286
+ // ok
1287
+ // 'á': 'a', duplicate see charMap/latin
1288
+ // 'Á': 'A', duplicate see charMap/latin
1289
+ ö: "o",
1290
+ // ok
1291
+ Ö: "O",
1292
+ // ok
1293
+ // 'ő': 'o', duplicate see charMap/latin
1294
+ // 'Ő': 'O', duplicate see charMap/latin
1295
+ ü: "u",
1296
+ Ü: "U",
1297
+ ű: "u",
1298
+ Ű: "U"
1299
+ },
1300
+ lt: {
1301
+ // Lithuanian
1302
+ ą: "a",
1303
+ č: "c",
1304
+ ę: "e",
1305
+ ė: "e",
1306
+ į: "i",
1307
+ š: "s",
1308
+ ų: "u",
1309
+ ū: "u",
1310
+ ž: "z",
1311
+ Ą: "A",
1312
+ Č: "C",
1313
+ Ę: "E",
1314
+ Ė: "E",
1315
+ Į: "I",
1316
+ Š: "S",
1317
+ Ų: "U",
1318
+ Ū: "U"
1319
+ },
1320
+ lv: {
1321
+ // Latvian
1322
+ ā: "a",
1323
+ č: "c",
1324
+ ē: "e",
1325
+ ģ: "g",
1326
+ ī: "i",
1327
+ ķ: "k",
1328
+ ļ: "l",
1329
+ ņ: "n",
1330
+ š: "s",
1331
+ ū: "u",
1332
+ ž: "z",
1333
+ Ā: "A",
1334
+ Č: "C",
1335
+ Ē: "E",
1336
+ Ģ: "G",
1337
+ Ī: "i",
1338
+ Ķ: "k",
1339
+ Ļ: "L",
1340
+ Ņ: "N",
1341
+ Š: "S",
1342
+ Ū: "u",
1343
+ Ž: "Z"
1344
+ },
1345
+ pl: {
1346
+ // Polish
1347
+ ą: "a",
1348
+ ć: "c",
1349
+ ę: "e",
1350
+ ł: "l",
1351
+ ń: "n",
1352
+ ó: "o",
1353
+ ś: "s",
1354
+ ź: "z",
1355
+ ż: "z",
1356
+ Ą: "A",
1357
+ Ć: "C",
1358
+ Ę: "e",
1359
+ Ł: "L",
1360
+ Ń: "N",
1361
+ Ó: "O",
1362
+ Ś: "S",
1363
+ Ź: "Z",
1364
+ Ż: "Z"
1365
+ },
1366
+ sv: {
1367
+ // Swedish
1368
+ // 'å': 'a', duplicate see charMap/latin
1369
+ // 'Å': 'A', duplicate see charMap/latin
1370
+ ä: "a",
1371
+ // ok
1372
+ Ä: "A",
1373
+ // ok
1374
+ ö: "o",
1375
+ // ok
1376
+ Ö: "O"
1377
+ // ok
1378
+ },
1379
+ sk: {
1380
+ // Slovak
1381
+ ä: "a",
1382
+ Ä: "A"
1383
+ },
1384
+ sr: {
1385
+ // Serbian
1386
+ љ: "lj",
1387
+ њ: "nj",
1388
+ Љ: "Lj",
1389
+ Њ: "Nj",
1390
+ đ: "dj",
1391
+ Đ: "Dj"
1392
+ },
1393
+ tr: {
1394
+ // Turkish
1395
+ Ü: "U",
1396
+ Ö: "O",
1397
+ ü: "u",
1398
+ ö: "o"
1399
+ }
1400
+ }, i = {
1401
+ ar: {
1402
+ "∆": "delta",
1403
+ "∞": "la-nihaya",
1404
+ "♥": "hob",
1405
+ "&": "wa",
1406
+ "|": "aw",
1407
+ "<": "aqal-men",
1408
+ ">": "akbar-men",
1409
+ "∑": "majmou",
1410
+ "¤": "omla"
1411
+ },
1412
+ az: {},
1413
+ ca: {
1414
+ "∆": "delta",
1415
+ "∞": "infinit",
1416
+ "♥": "amor",
1417
+ "&": "i",
1418
+ "|": "o",
1419
+ "<": "menys que",
1420
+ ">": "mes que",
1421
+ "∑": "suma dels",
1422
+ "¤": "moneda"
1423
+ },
1424
+ cs: {
1425
+ "∆": "delta",
1426
+ "∞": "nekonecno",
1427
+ "♥": "laska",
1428
+ "&": "a",
1429
+ "|": "nebo",
1430
+ "<": "mensi nez",
1431
+ ">": "vetsi nez",
1432
+ "∑": "soucet",
1433
+ "¤": "mena"
1434
+ },
1435
+ de: {
1436
+ "∆": "delta",
1437
+ "∞": "unendlich",
1438
+ "♥": "Liebe",
1439
+ "&": "und",
1440
+ "|": "oder",
1441
+ "<": "kleiner als",
1442
+ ">": "groesser als",
1443
+ "∑": "Summe von",
1444
+ "¤": "Waehrung"
1445
+ },
1446
+ dv: {
1447
+ "∆": "delta",
1448
+ "∞": "kolunulaa",
1449
+ "♥": "loabi",
1450
+ "&": "aai",
1451
+ "|": "noonee",
1452
+ "<": "ah vure kuda",
1453
+ ">": "ah vure bodu",
1454
+ "∑": "jumula",
1455
+ "¤": "faisaa"
1456
+ },
1457
+ en: {
1458
+ "∆": "delta",
1459
+ "∞": "infinity",
1460
+ "♥": "love",
1461
+ "&": "and",
1462
+ "|": "or",
1463
+ "<": "less than",
1464
+ ">": "greater than",
1465
+ "∑": "sum",
1466
+ "¤": "currency"
1467
+ },
1468
+ es: {
1469
+ "∆": "delta",
1470
+ "∞": "infinito",
1471
+ "♥": "amor",
1472
+ "&": "y",
1473
+ "|": "u",
1474
+ "<": "menos que",
1475
+ ">": "mas que",
1476
+ "∑": "suma de los",
1477
+ "¤": "moneda"
1478
+ },
1479
+ fa: {
1480
+ "∆": "delta",
1481
+ "∞": "bi-nahayat",
1482
+ "♥": "eshgh",
1483
+ "&": "va",
1484
+ "|": "ya",
1485
+ "<": "kamtar-az",
1486
+ ">": "bishtar-az",
1487
+ "∑": "majmooe",
1488
+ "¤": "vahed"
1489
+ },
1490
+ fi: {
1491
+ "∆": "delta",
1492
+ "∞": "aarettomyys",
1493
+ "♥": "rakkaus",
1494
+ "&": "ja",
1495
+ "|": "tai",
1496
+ "<": "pienempi kuin",
1497
+ ">": "suurempi kuin",
1498
+ "∑": "summa",
1499
+ "¤": "valuutta"
1500
+ },
1501
+ fr: {
1502
+ "∆": "delta",
1503
+ "∞": "infiniment",
1504
+ "♥": "Amour",
1505
+ "&": "et",
1506
+ "|": "ou",
1507
+ "<": "moins que",
1508
+ ">": "superieure a",
1509
+ "∑": "somme des",
1510
+ "¤": "monnaie"
1511
+ },
1512
+ ge: {
1513
+ "∆": "delta",
1514
+ "∞": "usasruloba",
1515
+ "♥": "siqvaruli",
1516
+ "&": "da",
1517
+ "|": "an",
1518
+ "<": "naklebi",
1519
+ ">": "meti",
1520
+ "∑": "jami",
1521
+ "¤": "valuta"
1522
+ },
1523
+ gr: {},
1524
+ hu: {
1525
+ "∆": "delta",
1526
+ "∞": "vegtelen",
1527
+ "♥": "szerelem",
1528
+ "&": "es",
1529
+ "|": "vagy",
1530
+ "<": "kisebb mint",
1531
+ ">": "nagyobb mint",
1532
+ "∑": "szumma",
1533
+ "¤": "penznem"
1534
+ },
1535
+ it: {
1536
+ "∆": "delta",
1537
+ "∞": "infinito",
1538
+ "♥": "amore",
1539
+ "&": "e",
1540
+ "|": "o",
1541
+ "<": "minore di",
1542
+ ">": "maggiore di",
1543
+ "∑": "somma",
1544
+ "¤": "moneta"
1545
+ },
1546
+ lt: {
1547
+ "∆": "delta",
1548
+ "∞": "begalybe",
1549
+ "♥": "meile",
1550
+ "&": "ir",
1551
+ "|": "ar",
1552
+ "<": "maziau nei",
1553
+ ">": "daugiau nei",
1554
+ "∑": "suma",
1555
+ "¤": "valiuta"
1556
+ },
1557
+ lv: {
1558
+ "∆": "delta",
1559
+ "∞": "bezgaliba",
1560
+ "♥": "milestiba",
1561
+ "&": "un",
1562
+ "|": "vai",
1563
+ "<": "mazak neka",
1564
+ ">": "lielaks neka",
1565
+ "∑": "summa",
1566
+ "¤": "valuta"
1567
+ },
1568
+ my: {
1569
+ "∆": "kwahkhyaet",
1570
+ "∞": "asaonasme",
1571
+ "♥": "akhyait",
1572
+ "&": "nhin",
1573
+ "|": "tho",
1574
+ "<": "ngethaw",
1575
+ ">": "kyithaw",
1576
+ "∑": "paungld",
1577
+ "¤": "ngwekye"
1578
+ },
1579
+ mk: {},
1580
+ nl: {
1581
+ "∆": "delta",
1582
+ "∞": "oneindig",
1583
+ "♥": "liefde",
1584
+ "&": "en",
1585
+ "|": "of",
1586
+ "<": "kleiner dan",
1587
+ ">": "groter dan",
1588
+ "∑": "som",
1589
+ "¤": "valuta"
1590
+ },
1591
+ pl: {
1592
+ "∆": "delta",
1593
+ "∞": "nieskonczonosc",
1594
+ "♥": "milosc",
1595
+ "&": "i",
1596
+ "|": "lub",
1597
+ "<": "mniejsze niz",
1598
+ ">": "wieksze niz",
1599
+ "∑": "suma",
1600
+ "¤": "waluta"
1601
+ },
1602
+ pt: {
1603
+ "∆": "delta",
1604
+ "∞": "infinito",
1605
+ "♥": "amor",
1606
+ "&": "e",
1607
+ "|": "ou",
1608
+ "<": "menor que",
1609
+ ">": "maior que",
1610
+ "∑": "soma",
1611
+ "¤": "moeda"
1612
+ },
1613
+ ro: {
1614
+ "∆": "delta",
1615
+ "∞": "infinit",
1616
+ "♥": "dragoste",
1617
+ "&": "si",
1618
+ "|": "sau",
1619
+ "<": "mai mic ca",
1620
+ ">": "mai mare ca",
1621
+ "∑": "suma",
1622
+ "¤": "valuta"
1623
+ },
1624
+ ru: {
1625
+ "∆": "delta",
1626
+ "∞": "beskonechno",
1627
+ "♥": "lubov",
1628
+ "&": "i",
1629
+ "|": "ili",
1630
+ "<": "menshe",
1631
+ ">": "bolshe",
1632
+ "∑": "summa",
1633
+ "¤": "valjuta"
1634
+ },
1635
+ sk: {
1636
+ "∆": "delta",
1637
+ "∞": "nekonecno",
1638
+ "♥": "laska",
1639
+ "&": "a",
1640
+ "|": "alebo",
1641
+ "<": "menej ako",
1642
+ ">": "viac ako",
1643
+ "∑": "sucet",
1644
+ "¤": "mena"
1645
+ },
1646
+ sr: {},
1647
+ tr: {
1648
+ "∆": "delta",
1649
+ "∞": "sonsuzluk",
1650
+ "♥": "ask",
1651
+ "&": "ve",
1652
+ "|": "veya",
1653
+ "<": "kucuktur",
1654
+ ">": "buyuktur",
1655
+ "∑": "toplam",
1656
+ "¤": "para birimi"
1657
+ },
1658
+ uk: {
1659
+ "∆": "delta",
1660
+ "∞": "bezkinechnist",
1661
+ "♥": "lubov",
1662
+ "&": "i",
1663
+ "|": "abo",
1664
+ "<": "menshe",
1665
+ ">": "bilshe",
1666
+ "∑": "suma",
1667
+ "¤": "valjuta"
1668
+ },
1669
+ vn: {
1670
+ "∆": "delta",
1671
+ "∞": "vo cuc",
1672
+ "♥": "yeu",
1673
+ "&": "va",
1674
+ "|": "hoac",
1675
+ "<": "nho hon",
1676
+ ">": "lon hon",
1677
+ "∑": "tong",
1678
+ "¤": "tien te"
1679
+ }
1680
+ }, l = [";", "?", ":", "@", "&", "=", "+", "$", ",", "/"].join(""), f = [";", "?", ":", "@", "&", "=", "+", "$", ","].join(""), v = [".", "!", "~", "*", "'", "(", ")"].join(""), c = function(h, m) {
1681
+ var T = "-", C = "", V = "", Y = !0, U = {}, O, me, x, g, E, b, w, L, se, M, S, j, D, ie, q = "";
1682
+ if (typeof h != "string")
1683
+ return "";
1684
+ if (typeof m == "string" && (T = m), w = i.en, L = s.en, typeof m == "object") {
1685
+ O = m.maintainCase || !1, U = m.custom && typeof m.custom == "object" ? m.custom : U, x = +m.truncate > 1 && m.truncate || !1, g = m.uric || !1, E = m.uricNoSlash || !1, b = m.mark || !1, Y = !(m.symbols === !1 || m.lang === !1), T = m.separator || T, g && (q += l), E && (q += f), b && (q += v), w = m.lang && i[m.lang] && Y ? i[m.lang] : Y ? i.en : {}, L = m.lang && s[m.lang] ? s[m.lang] : m.lang === !1 || m.lang === !0 ? {} : s.en, m.titleCase && typeof m.titleCase.length == "number" && Array.prototype.toString.call(m.titleCase) ? (m.titleCase.forEach(function($) {
1686
+ U[$ + ""] = $ + "";
1687
+ }), me = !0) : me = !!m.titleCase, m.custom && typeof m.custom.length == "number" && Array.prototype.toString.call(m.custom) && m.custom.forEach(function($) {
1688
+ U[$ + ""] = $ + "";
1689
+ }), Object.keys(U).forEach(function($) {
1690
+ var ge;
1691
+ $.length > 1 ? ge = new RegExp("\\b" + d($) + "\\b", "gi") : ge = new RegExp(d($), "gi"), h = h.replace(ge, U[$]);
1692
+ });
1693
+ for (S in U)
1694
+ q += S;
1695
+ }
1696
+ for (q += T, q = d(q), h = h.replace(/(^\s+|\s+$)/g, ""), D = !1, ie = !1, M = 0, j = h.length; M < j; M++)
1697
+ S = h[M], _(S, U) ? D = !1 : L[S] ? (S = D && L[S].match(/[A-Za-z0-9]/) ? " " + L[S] : L[S], D = !1) : S in o ? (M + 1 < j && r.indexOf(h[M + 1]) >= 0 ? (V += S, S = "") : ie === !0 ? (S = u[V] + o[S], V = "") : S = D && o[S].match(/[A-Za-z0-9]/) ? " " + o[S] : o[S], D = !1, ie = !1) : S in u ? (V += S, S = "", M === j - 1 && (S = u[V]), ie = !0) : /* process symbol chars */ w[S] && !(g && l.indexOf(S) !== -1) && !(E && f.indexOf(S) !== -1) ? (S = D || C.substr(-1).match(/[A-Za-z0-9]/) ? T + w[S] : w[S], S += h[M + 1] !== void 0 && h[M + 1].match(/[A-Za-z0-9]/) ? T : "", D = !0) : (ie === !0 ? (S = u[V] + S, V = "", ie = !1) : D && (/[A-Za-z0-9]/.test(S) || C.substr(-1).match(/A-Za-z0-9]/)) && (S = " " + S), D = !1), C += S.replace(new RegExp("[^\\w\\s" + q + "_-]", "g"), T);
1698
+ return me && (C = C.replace(/(\w)(\S*)/g, function($, ge, kt) {
1699
+ var We = ge.toUpperCase() + (kt !== null ? kt : "");
1700
+ return Object.keys(U).indexOf(We.toLowerCase()) < 0 ? We : We.toLowerCase();
1701
+ })), C = C.replace(/\s+/g, T).replace(new RegExp("\\" + T + "+", "g"), T).replace(new RegExp("(^\\" + T + "+|\\" + T + "+$)", "g"), ""), x && C.length > x && (se = C.charAt(x) === T, C = C.slice(0, x), se || (C = C.slice(0, C.lastIndexOf(T)))), !O && !me && (C = C.toLowerCase()), C;
1702
+ }, y = function(h) {
1703
+ return function(T) {
1704
+ return c(T, h);
1705
+ };
1706
+ }, d = function(h) {
1707
+ return h.replace(/[-\\^$*+?.()|[\]{}\/]/g, "\\$&");
1708
+ }, _ = function(A, h) {
1709
+ for (var m in h)
1710
+ if (h[m] === A)
1711
+ return !0;
1712
+ };
1713
+ if (typeof t < "u" && t.exports)
1714
+ t.exports = c, t.exports.createSlug = y;
1715
+ else if (typeof define < "u" && define.amd)
1716
+ define([], function() {
1717
+ return c;
1718
+ });
1719
+ else
1720
+ try {
1721
+ if (n.getSlug || n.createSlug)
1722
+ throw "speakingurl: globals exists /(getSlug|createSlug)/";
1723
+ n.getSlug = c, n.createSlug = y;
1724
+ } catch {
1725
+ }
1726
+ })(e);
1727
+ }
1728
+ }), Rr = Jn({
1729
+ "../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(e, t) {
1730
+ a(), t.exports = Nr();
1731
+ }
1732
+ });
1733
+ a();
1734
+ a();
1735
+ a();
1736
+ a();
1737
+ a();
1738
+ a();
1739
+ a();
1740
+ a();
1741
+ function Vr(e) {
1742
+ var t;
1743
+ const n = e.name || e._componentTag || e.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__ || e.__name;
1744
+ return n === "index" && ((t = e.__file) != null && t.endsWith("index.vue")) ? "" : n;
1745
+ }
1746
+ function xr(e) {
1747
+ const t = e.__file;
1748
+ if (t)
1749
+ return hr(mr(t, ".vue"));
1750
+ }
1751
+ function Vt(e, t) {
1752
+ return e.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__ = t, t;
1753
+ }
1754
+ function mt(e) {
1755
+ if (e.__VUE_DEVTOOLS_NEXT_APP_RECORD__)
1756
+ return e.__VUE_DEVTOOLS_NEXT_APP_RECORD__;
1757
+ if (e.root)
1758
+ return e.appContext.app.__VUE_DEVTOOLS_NEXT_APP_RECORD__;
1759
+ }
1760
+ function Qn(e) {
1761
+ var t, n;
1762
+ const o = (t = e.subTree) == null ? void 0 : t.type, r = mt(e);
1763
+ return r ? ((n = r?.types) == null ? void 0 : n.Fragment) === o : !1;
1764
+ }
1765
+ function Ke(e) {
1766
+ var t, n, o;
1767
+ const r = Vr(e?.type || {});
1768
+ if (r)
1769
+ return r;
1770
+ if (e?.root === e)
1771
+ return "Root";
1772
+ for (const s in (n = (t = e.parent) == null ? void 0 : t.type) == null ? void 0 : n.components)
1773
+ if (e.parent.type.components[s] === e?.type)
1774
+ return Vt(e, s);
1775
+ for (const s in (o = e.appContext) == null ? void 0 : o.components)
1776
+ if (e.appContext.components[s] === e?.type)
1777
+ return Vt(e, s);
1778
+ const u = xr(e?.type || {});
1779
+ return u || "Anonymous Component";
1780
+ }
1781
+ function Fr(e) {
1782
+ var t, n, o;
1783
+ 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, u = e === e?.root ? "root" : e.uid;
1784
+ return `${r}:${u}`;
1785
+ }
1786
+ function nt(e, t) {
1787
+ return t = t || `${e.id}:root`, e.instanceMap.get(t) || e.instanceMap.get(":root");
1788
+ }
1789
+ function Ur() {
1790
+ const e = {
1791
+ top: 0,
1792
+ bottom: 0,
1793
+ left: 0,
1794
+ right: 0,
1795
+ get width() {
1796
+ return e.right - e.left;
1797
+ },
1798
+ get height() {
1799
+ return e.bottom - e.top;
1800
+ }
1801
+ };
1802
+ return e;
1803
+ }
1804
+ var Ne;
1805
+ function Lr(e) {
1806
+ return Ne || (Ne = document.createRange()), Ne.selectNode(e), Ne.getBoundingClientRect();
1807
+ }
1808
+ function Br(e) {
1809
+ const t = Ur();
1810
+ if (!e.children)
1811
+ return t;
1812
+ for (let n = 0, o = e.children.length; n < o; n++) {
1813
+ const r = e.children[n];
1814
+ let u;
1815
+ if (r.component)
1816
+ u = re(r.component);
1817
+ else if (r.el) {
1818
+ const s = r.el;
1819
+ s.nodeType === 1 || s.getBoundingClientRect ? u = s.getBoundingClientRect() : s.nodeType === 3 && s.data.trim() && (u = Lr(s));
1820
+ }
1821
+ u && Mr(t, u);
1822
+ }
1823
+ return t;
1824
+ }
1825
+ function Mr(e, t) {
1826
+ 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;
1827
+ }
1828
+ var xt = {
1829
+ top: 0,
1830
+ left: 0,
1831
+ right: 0,
1832
+ bottom: 0,
1833
+ width: 0,
1834
+ height: 0
1835
+ };
1836
+ function re(e) {
1837
+ const t = e.subTree.el;
1838
+ return typeof window > "u" ? xt : Qn(e) ? Br(e.subTree) : t?.nodeType === 1 ? t?.getBoundingClientRect() : e.subTree.component ? re(e.subTree.component) : xt;
1839
+ }
1840
+ a();
1841
+ function gt(e) {
1842
+ return Qn(e) ? $r(e.subTree) : e.subTree ? [e.subTree.el] : [];
1843
+ }
1844
+ function $r(e) {
1845
+ if (!e.children)
1846
+ return [];
1847
+ const t = [];
1848
+ return e.children.forEach((n) => {
1849
+ n.component ? t.push(...gt(n.component)) : n?.el && t.push(n.el);
1850
+ }), t;
1851
+ }
1852
+ var eo = "__vue-devtools-component-inspector__", to = "__vue-devtools-component-inspector__card__", no = "__vue-devtools-component-inspector__name__", oo = "__vue-devtools-component-inspector__indicator__", ro = {
1853
+ display: "block",
1854
+ zIndex: 2147483640,
1855
+ position: "fixed",
1856
+ backgroundColor: "#42b88325",
1857
+ border: "1px solid #42b88350",
1858
+ borderRadius: "5px",
1859
+ transition: "all 0.1s ease-in",
1860
+ pointerEvents: "none"
1861
+ }, Hr = {
1862
+ fontFamily: "Arial, Helvetica, sans-serif",
1863
+ padding: "5px 8px",
1864
+ borderRadius: "4px",
1865
+ textAlign: "left",
1866
+ position: "absolute",
1867
+ left: 0,
1868
+ color: "#e9e9e9",
1869
+ fontSize: "14px",
1870
+ fontWeight: 600,
1871
+ lineHeight: "24px",
1872
+ backgroundColor: "#42b883",
1873
+ boxShadow: "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"
1874
+ }, jr = {
1875
+ display: "inline-block",
1876
+ fontWeight: 400,
1877
+ fontStyle: "normal",
1878
+ fontSize: "12px",
1879
+ opacity: 0.7
1880
+ };
1881
+ function Ee() {
1882
+ return document.getElementById(eo);
1883
+ }
1884
+ function Kr() {
1885
+ return document.getElementById(to);
1886
+ }
1887
+ function zr() {
1888
+ return document.getElementById(oo);
1889
+ }
1890
+ function Gr() {
1891
+ return document.getElementById(no);
1892
+ }
1893
+ function vt(e) {
1894
+ return {
1895
+ left: `${Math.round(e.left * 100) / 100}px`,
1896
+ top: `${Math.round(e.top * 100) / 100}px`,
1897
+ width: `${Math.round(e.width * 100) / 100}px`,
1898
+ height: `${Math.round(e.height * 100) / 100}px`
1899
+ };
1900
+ }
1901
+ function yt(e) {
1902
+ var t;
1903
+ const n = document.createElement("div");
1904
+ n.id = (t = e.elementId) != null ? t : eo, Object.assign(n.style, {
1905
+ ...ro,
1906
+ ...vt(e.bounds),
1907
+ ...e.style
1908
+ });
1909
+ const o = document.createElement("span");
1910
+ o.id = to, Object.assign(o.style, {
1911
+ ...Hr,
1912
+ top: e.bounds.top < 35 ? 0 : "-35px"
1913
+ });
1914
+ const r = document.createElement("span");
1915
+ r.id = no, r.innerHTML = `&lt;${e.name}&gt;&nbsp;&nbsp;`;
1916
+ const u = document.createElement("i");
1917
+ return u.id = oo, u.innerHTML = `${Math.round(e.bounds.width * 100) / 100} x ${Math.round(e.bounds.height * 100) / 100}`, Object.assign(u.style, jr), o.appendChild(r), o.appendChild(u), n.appendChild(o), document.body.appendChild(n), n;
1918
+ }
1919
+ function At(e) {
1920
+ const t = Ee(), n = Kr(), o = Gr(), r = zr();
1921
+ t && (Object.assign(t.style, {
1922
+ ...ro,
1923
+ ...vt(e.bounds)
1924
+ }), Object.assign(n.style, {
1925
+ top: e.bounds.top < 35 ? 0 : "-35px"
1926
+ }), o.innerHTML = `&lt;${e.name}&gt;&nbsp;&nbsp;`, r.innerHTML = `${Math.round(e.bounds.width * 100) / 100} x ${Math.round(e.bounds.height * 100) / 100}`);
1927
+ }
1928
+ function Wr(e) {
1929
+ const t = re(e);
1930
+ if (!t.width && !t.height)
1931
+ return;
1932
+ const n = Ke(e);
1933
+ Ee() ? At({ bounds: t, name: n }) : yt({ bounds: t, name: n });
1934
+ }
1935
+ function uo() {
1936
+ const e = Ee();
1937
+ e && (e.style.display = "none");
1938
+ }
1939
+ var ot = null;
1940
+ function rt(e) {
1941
+ const t = e.target;
1942
+ if (t) {
1943
+ const n = t.__vueParentComponent;
1944
+ if (n && (ot = n, n.vnode.el)) {
1945
+ const r = re(n), u = Ke(n);
1946
+ Ee() ? At({ bounds: r, name: u }) : yt({ bounds: r, name: u });
1947
+ }
1948
+ }
1949
+ }
1950
+ function Yr(e, t) {
1951
+ if (e.preventDefault(), e.stopPropagation(), ot) {
1952
+ const n = Fr(ot);
1953
+ t(n);
1954
+ }
1955
+ }
1956
+ var Me = null;
1957
+ function qr() {
1958
+ uo(), window.removeEventListener("mouseover", rt), window.removeEventListener("click", Me, !0), Me = null;
1959
+ }
1960
+ function Zr() {
1961
+ return window.addEventListener("mouseover", rt), new Promise((e) => {
1962
+ function t(n) {
1963
+ n.preventDefault(), n.stopPropagation(), Yr(n, (o) => {
1964
+ window.removeEventListener("click", t, !0), Me = null, window.removeEventListener("mouseover", rt);
1965
+ const r = Ee();
1966
+ r && (r.style.display = "none"), e(JSON.stringify({ id: o }));
1967
+ });
1968
+ }
1969
+ Me = t, window.addEventListener("click", t, !0);
1970
+ });
1971
+ }
1972
+ function Xr(e) {
1973
+ const t = nt(R.value, e.id);
1974
+ if (t) {
1975
+ const [n] = gt(t);
1976
+ if (typeof n.scrollIntoView == "function")
1977
+ n.scrollIntoView({
1978
+ behavior: "smooth"
1979
+ });
1980
+ else {
1981
+ const o = re(t), r = document.createElement("div"), u = {
1982
+ ...vt(o),
1983
+ position: "absolute"
1984
+ };
1985
+ Object.assign(r.style, u), document.body.appendChild(r), r.scrollIntoView({
1986
+ behavior: "smooth"
1987
+ }), setTimeout(() => {
1988
+ document.body.removeChild(r);
1989
+ }, 2e3);
1990
+ }
1991
+ setTimeout(() => {
1992
+ const o = re(t);
1993
+ if (o.width || o.height) {
1994
+ const r = Ke(t), u = Ee();
1995
+ u ? At({ ...e, name: r, bounds: o }) : yt({ ...e, name: r, bounds: o }), setTimeout(() => {
1996
+ u && (u.style.display = "none");
1997
+ }, 1500);
1998
+ }
1999
+ }, 1200);
2000
+ }
2001
+ }
2002
+ a();
2003
+ var Ft, Ut;
2004
+ (Ut = (Ft = p).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__) != null || (Ft.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__ = !0);
2005
+ function Jr(e) {
2006
+ let t = 0;
2007
+ const n = setInterval(() => {
2008
+ p.__VUE_INSPECTOR__ && (clearInterval(n), t += 30, e()), t >= /* 5s */
2009
+ 5e3 && clearInterval(n);
2010
+ }, 30);
2011
+ }
2012
+ function Qr() {
2013
+ const e = p.__VUE_INSPECTOR__, t = e.openInEditor;
2014
+ e.openInEditor = async (...n) => {
2015
+ e.disable(), t(...n);
2016
+ };
2017
+ }
2018
+ function eu() {
2019
+ return new Promise((e) => {
2020
+ function t() {
2021
+ Qr(), e(p.__VUE_INSPECTOR__);
2022
+ }
2023
+ p.__VUE_INSPECTOR__ ? t() : Jr(() => {
2024
+ t();
2025
+ });
2026
+ });
2027
+ }
2028
+ a();
2029
+ a();
2030
+ function tu(e) {
2031
+ return !!(e && e.__v_isReadonly);
2032
+ }
2033
+ function so(e) {
2034
+ return tu(e) ? so(e.__v_raw) : !!(e && e.__v_isReactive);
2035
+ }
2036
+ function Xe(e) {
2037
+ return !!(e && e.__v_isRef === !0);
2038
+ }
2039
+ function ve(e) {
2040
+ const t = e && e.__v_raw;
2041
+ return t ? ve(t) : e;
2042
+ }
2043
+ var nu = class {
2044
+ constructor() {
2045
+ this.refEditor = new ou();
2046
+ }
2047
+ set(e, t, n, o) {
2048
+ const r = Array.isArray(t) ? t : t.split(".");
2049
+ for (; r.length > 1; ) {
2050
+ const i = r.shift();
2051
+ 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));
2052
+ }
2053
+ const u = r[0], s = this.refEditor.get(e)[u];
2054
+ o ? o(e, u, n) : this.refEditor.isRef(s) ? this.refEditor.set(s, n) : e[u] = n;
2055
+ }
2056
+ get(e, t) {
2057
+ const n = Array.isArray(t) ? t : t.split(".");
2058
+ for (let o = 0; o < n.length; o++)
2059
+ if (e instanceof Map ? e = e.get(n[o]) : e = e[n[o]], this.refEditor.isRef(e) && (e = this.refEditor.get(e)), !e)
2060
+ return;
2061
+ return e;
2062
+ }
2063
+ has(e, t, n = !1) {
2064
+ if (typeof e > "u")
2065
+ return !1;
2066
+ const o = Array.isArray(t) ? t.slice() : t.split("."), r = n ? 2 : 1;
2067
+ for (; e && o.length > r; ) {
2068
+ const u = o.shift();
2069
+ e = e[u], this.refEditor.isRef(e) && (e = this.refEditor.get(e));
2070
+ }
2071
+ return e != null && Object.prototype.hasOwnProperty.call(e, o[0]);
2072
+ }
2073
+ createDefaultSetCallback(e) {
2074
+ return (t, n, o) => {
2075
+ if ((e.remove || e.newKey) && (Array.isArray(t) ? t.splice(n, 1) : ve(t) instanceof Map ? t.delete(n) : ve(t) instanceof Set ? t.delete(Array.from(t.values())[n]) : Reflect.deleteProperty(t, n)), !e.remove) {
2076
+ const r = t[e.newKey || n];
2077
+ this.refEditor.isRef(r) ? this.refEditor.set(r, o) : ve(t) instanceof Map ? t.set(e.newKey || n, o) : ve(t) instanceof Set ? t.add(o) : t[e.newKey || n] = o;
2078
+ }
2079
+ };
2080
+ }
2081
+ }, ou = class {
2082
+ set(e, t) {
2083
+ if (Xe(e))
2084
+ e.value = t;
2085
+ else {
2086
+ if (e instanceof Set && Array.isArray(t)) {
2087
+ e.clear(), t.forEach((r) => e.add(r));
2088
+ return;
2089
+ }
2090
+ const n = Object.keys(t);
2091
+ if (e instanceof Map) {
2092
+ const r = new Set(e.keys());
2093
+ n.forEach((u) => {
2094
+ e.set(u, Reflect.get(t, u)), r.delete(u);
2095
+ }), r.forEach((u) => e.delete(u));
2096
+ return;
2097
+ }
2098
+ const o = new Set(Object.keys(e));
2099
+ n.forEach((r) => {
2100
+ Reflect.set(e, r, Reflect.get(t, r)), o.delete(r);
2101
+ }), o.forEach((r) => Reflect.deleteProperty(e, r));
2102
+ }
2103
+ }
2104
+ get(e) {
2105
+ return Xe(e) ? e.value : e;
2106
+ }
2107
+ isRef(e) {
2108
+ return Xe(e) || so(e);
2109
+ }
2110
+ };
2111
+ a();
2112
+ a();
2113
+ a();
2114
+ var ru = "__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__";
2115
+ function uu() {
2116
+ if (!Yn || typeof localStorage > "u" || localStorage === null)
2117
+ return {
2118
+ recordingState: !1,
2119
+ mouseEventEnabled: !1,
2120
+ keyboardEventEnabled: !1,
2121
+ componentEventEnabled: !1,
2122
+ performanceEventEnabled: !1,
2123
+ selected: ""
2124
+ };
2125
+ const e = localStorage.getItem(ru);
2126
+ return e ? JSON.parse(e) : {
2127
+ recordingState: !1,
2128
+ mouseEventEnabled: !1,
2129
+ keyboardEventEnabled: !1,
2130
+ componentEventEnabled: !1,
2131
+ performanceEventEnabled: !1,
2132
+ selected: ""
2133
+ };
2134
+ }
2135
+ a();
2136
+ a();
2137
+ a();
2138
+ var Lt, Bt;
2139
+ (Bt = (Lt = p).__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS) != null || (Lt.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS = []);
2140
+ var su = new Proxy(p.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS, {
2141
+ get(e, t, n) {
2142
+ return Reflect.get(e, t, n);
2143
+ }
2144
+ });
2145
+ function iu(e, t) {
2146
+ k.timelineLayersState[t.id] = !1, su.push({
2147
+ ...e,
2148
+ descriptorId: t.id,
2149
+ appRecord: mt(t.app)
2150
+ });
2151
+ }
2152
+ var Mt, $t;
2153
+ ($t = (Mt = p).__VUE_DEVTOOLS_KIT_INSPECTOR__) != null || (Mt.__VUE_DEVTOOLS_KIT_INSPECTOR__ = []);
2154
+ var Ot = new Proxy(p.__VUE_DEVTOOLS_KIT_INSPECTOR__, {
2155
+ get(e, t, n) {
2156
+ return Reflect.get(e, t, n);
2157
+ }
2158
+ }), io = de(() => {
2159
+ he.hooks.callHook("sendInspectorToClient", ao());
2160
+ });
2161
+ function au(e, t) {
2162
+ var n, o;
2163
+ Ot.push({
2164
+ options: e,
2165
+ descriptor: t,
2166
+ treeFilterPlaceholder: (n = e.treeFilterPlaceholder) != null ? n : "Search tree...",
2167
+ stateFilterPlaceholder: (o = e.stateFilterPlaceholder) != null ? o : "Search state...",
2168
+ treeFilter: "",
2169
+ selectedNodeId: "",
2170
+ appRecord: mt(t.app)
2171
+ }), io();
2172
+ }
2173
+ function ao() {
2174
+ return Ot.filter((e) => e.descriptor.app === R.value.app).filter((e) => e.descriptor.id !== "components").map((e) => {
2175
+ var t;
2176
+ const n = e.descriptor, o = e.options;
2177
+ return {
2178
+ id: o.id,
2179
+ label: o.label,
2180
+ logo: n.logo,
2181
+ icon: `custom-ic-baseline-${(t = o?.icon) == null ? void 0 : t.replace(/_/g, "-")}`,
2182
+ packageName: n.packageName,
2183
+ homepage: n.homepage,
2184
+ pluginId: n.id
2185
+ };
2186
+ });
2187
+ }
2188
+ function Re(e, t) {
2189
+ return Ot.find((n) => n.options.id === e && (t ? n.descriptor.app === t : !0));
2190
+ }
2191
+ function lu() {
2192
+ const e = Zn();
2193
+ e.hook("addInspector", ({ inspector: o, plugin: r }) => {
2194
+ au(o, r.descriptor);
2195
+ });
2196
+ const t = de(async ({ inspectorId: o, plugin: r }) => {
2197
+ var u;
2198
+ if (!o || !((u = r?.descriptor) != null && u.app) || k.highPerfModeEnabled)
2199
+ return;
2200
+ const s = Re(o, r.descriptor.app), i = {
2201
+ app: r.descriptor.app,
2202
+ inspectorId: o,
2203
+ filter: s?.treeFilter || "",
2204
+ rootNodes: []
2205
+ };
2206
+ await new Promise((l) => {
2207
+ e.callHookWith(
2208
+ async (f) => {
2209
+ await Promise.all(f.map((v) => v(i))), l();
2210
+ },
2211
+ "getInspectorTree"
2212
+ /* GET_INSPECTOR_TREE */
2213
+ );
2214
+ }), e.callHookWith(
2215
+ async (l) => {
2216
+ await Promise.all(l.map((f) => f({
2217
+ inspectorId: o,
2218
+ rootNodes: i.rootNodes
2219
+ })));
2220
+ },
2221
+ "sendInspectorTreeToClient"
2222
+ /* SEND_INSPECTOR_TREE_TO_CLIENT */
2223
+ );
2224
+ }, 120);
2225
+ e.hook("sendInspectorTree", t);
2226
+ const n = de(async ({ inspectorId: o, plugin: r }) => {
2227
+ var u;
2228
+ if (!o || !((u = r?.descriptor) != null && u.app) || k.highPerfModeEnabled)
2229
+ return;
2230
+ const s = Re(o, r.descriptor.app), i = {
2231
+ app: r.descriptor.app,
2232
+ inspectorId: o,
2233
+ nodeId: s?.selectedNodeId || "",
2234
+ state: null
2235
+ }, l = {
2236
+ currentTab: `custom-inspector:${o}`
2237
+ };
2238
+ i.nodeId && await new Promise((f) => {
2239
+ e.callHookWith(
2240
+ async (v) => {
2241
+ await Promise.all(v.map((c) => c(i, l))), f();
2242
+ },
2243
+ "getInspectorState"
2244
+ /* GET_INSPECTOR_STATE */
2245
+ );
2246
+ }), e.callHookWith(
2247
+ async (f) => {
2248
+ await Promise.all(f.map((v) => v({
2249
+ inspectorId: o,
2250
+ nodeId: i.nodeId,
2251
+ state: i.state
2252
+ })));
2253
+ },
2254
+ "sendInspectorStateToClient"
2255
+ /* SEND_INSPECTOR_STATE_TO_CLIENT */
2256
+ );
2257
+ }, 120);
2258
+ return e.hook("sendInspectorState", n), e.hook("customInspectorSelectNode", ({ inspectorId: o, nodeId: r, plugin: u }) => {
2259
+ const s = Re(o, u.descriptor.app);
2260
+ s && (s.selectedNodeId = r);
2261
+ }), e.hook("timelineLayerAdded", ({ options: o, plugin: r }) => {
2262
+ iu(o, r.descriptor);
2263
+ }), e.hook("timelineEventAdded", ({ options: o, plugin: r }) => {
2264
+ var u;
2265
+ const s = ["performance", "component-event", "keyboard", "mouse"];
2266
+ k.highPerfModeEnabled || !((u = k.timelineLayersState) != null && u[r.descriptor.id]) && !s.includes(o.layerId) || e.callHookWith(
2267
+ async (i) => {
2268
+ await Promise.all(i.map((l) => l(o)));
2269
+ },
2270
+ "sendTimelineEventToClient"
2271
+ /* SEND_TIMELINE_EVENT_TO_CLIENT */
2272
+ );
2273
+ }), e.hook("getComponentInstances", async ({ app: o }) => {
2274
+ const r = o.__VUE_DEVTOOLS_NEXT_APP_RECORD__;
2275
+ if (!r)
2276
+ return null;
2277
+ const u = r.id.toString();
2278
+ return [...r.instanceMap].filter(([i]) => i.split(":")[0] === u).map(([, i]) => i);
2279
+ }), e.hook("getComponentBounds", async ({ instance: o }) => re(o)), e.hook("getComponentName", ({ instance: o }) => Ke(o)), e.hook("componentHighlight", ({ uid: o }) => {
2280
+ const r = R.value.instanceMap.get(o);
2281
+ r && Wr(r);
2282
+ }), e.hook("componentUnhighlight", () => {
2283
+ uo();
2284
+ }), e;
2285
+ }
2286
+ var Ht, jt;
2287
+ (jt = (Ht = p).__VUE_DEVTOOLS_KIT_APP_RECORDS__) != null || (Ht.__VUE_DEVTOOLS_KIT_APP_RECORDS__ = []);
2288
+ var Kt, zt;
2289
+ (zt = (Kt = p).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__) != null || (Kt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ = {});
2290
+ var Gt, Wt;
2291
+ (Wt = (Gt = p).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__) != null || (Gt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ = "");
2292
+ var Yt, qt;
2293
+ (qt = (Yt = p).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__) != null || (Yt.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__ = []);
2294
+ var Zt, Xt;
2295
+ (Xt = (Zt = p).__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__) != null || (Zt.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__ = []);
2296
+ var ne = "__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";
2297
+ function cu() {
2298
+ return {
2299
+ connected: !1,
2300
+ clientConnected: !1,
2301
+ vitePluginDetected: !0,
2302
+ appRecords: [],
2303
+ activeAppRecordId: "",
2304
+ tabs: [],
2305
+ commands: [],
2306
+ highPerfModeEnabled: !0,
2307
+ devtoolsClientDetected: {},
2308
+ perfUniqueGroupId: 0,
2309
+ timelineLayersState: uu()
2310
+ };
2311
+ }
2312
+ var Jt, Qt;
2313
+ (Qt = (Jt = p)[ne]) != null || (Jt[ne] = cu());
2314
+ var fu = de((e) => {
2315
+ he.hooks.callHook("devtoolsStateUpdated", { state: e });
2316
+ });
2317
+ de((e, t) => {
2318
+ he.hooks.callHook("devtoolsConnectedUpdated", { state: e, oldState: t });
2319
+ });
2320
+ var ze = new Proxy(p.__VUE_DEVTOOLS_KIT_APP_RECORDS__, {
2321
+ get(e, t, n) {
2322
+ return t === "value" ? p.__VUE_DEVTOOLS_KIT_APP_RECORDS__ : p.__VUE_DEVTOOLS_KIT_APP_RECORDS__[t];
2323
+ }
2324
+ }), R = new Proxy(p.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__, {
2325
+ get(e, t, n) {
2326
+ 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];
2327
+ }
2328
+ });
2329
+ function lo() {
2330
+ fu({
2331
+ ...p[ne],
2332
+ appRecords: ze.value,
2333
+ activeAppRecordId: R.id,
2334
+ tabs: p.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,
2335
+ commands: p.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__
2336
+ });
2337
+ }
2338
+ function du(e) {
2339
+ p.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ = e, lo();
2340
+ }
2341
+ function _u(e) {
2342
+ p.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ = e, lo();
2343
+ }
2344
+ var k = new Proxy(p[ne], {
2345
+ get(e, t) {
2346
+ return t === "appRecords" ? ze : t === "activeAppRecordId" ? R.id : t === "tabs" ? p.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__ : t === "commands" ? p.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__ : p[ne][t];
2347
+ },
2348
+ deleteProperty(e, t) {
2349
+ return delete e[t], !0;
2350
+ },
2351
+ set(e, t, n) {
2352
+ return { ...p[ne] }, e[t] = n, p[ne][t] = n, !0;
2353
+ }
2354
+ });
2355
+ function pu(e = {}) {
2356
+ var t, n, o;
2357
+ const { file: r, host: u, baseUrl: s = window.location.origin, line: i = 0, column: l = 0 } = e;
2358
+ if (r) {
2359
+ if (u === "chrome-extension") {
2360
+ const f = r.replace(/\\/g, "\\\\"), v = (n = (t = window.VUE_DEVTOOLS_CONFIG) == null ? void 0 : t.openInEditorHost) != null ? n : "/";
2361
+ fetch(`${v}__open-in-editor?file=${encodeURI(r)}`).then((c) => {
2362
+ if (!c.ok) {
2363
+ const y = `Opening component ${f} failed`;
2364
+ console.log(`%c${y}`, "color:red");
2365
+ }
2366
+ });
2367
+ } else if (k.vitePluginDetected) {
2368
+ const f = (o = p.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__) != null ? o : s;
2369
+ p.__VUE_INSPECTOR__.openInEditor(f, r, i, l);
2370
+ }
2371
+ }
2372
+ }
2373
+ a();
2374
+ a();
2375
+ a();
2376
+ a();
2377
+ a();
2378
+ var en, tn;
2379
+ (tn = (en = p).__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__) != null || (en.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__ = []);
2380
+ var St = new Proxy(p.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__, {
2381
+ get(e, t, n) {
2382
+ return Reflect.get(e, t, n);
2383
+ }
2384
+ });
2385
+ function ut(e) {
2386
+ const t = {};
2387
+ return Object.keys(e).forEach((n) => {
2388
+ t[n] = e[n].defaultValue;
2389
+ }), t;
2390
+ }
2391
+ function Ct(e) {
2392
+ return `__VUE_DEVTOOLS_NEXT_PLUGIN_SETTINGS__${e}__`;
2393
+ }
2394
+ function Eu(e) {
2395
+ var t, n, o;
2396
+ const r = (n = (t = St.find((u) => {
2397
+ var s;
2398
+ return u[0].id === e && !!((s = u[0]) != null && s.settings);
2399
+ })) == null ? void 0 : t[0]) != null ? n : null;
2400
+ return (o = r?.settings) != null ? o : null;
2401
+ }
2402
+ function co(e, t) {
2403
+ var n, o, r;
2404
+ const u = Ct(e);
2405
+ if (u) {
2406
+ const s = localStorage.getItem(u);
2407
+ if (s)
2408
+ return JSON.parse(s);
2409
+ }
2410
+ if (e) {
2411
+ const s = (o = (n = St.find((i) => i[0].id === e)) == null ? void 0 : n[0]) != null ? o : null;
2412
+ return ut((r = s?.settings) != null ? r : {});
2413
+ }
2414
+ return ut(t);
2415
+ }
2416
+ function hu(e, t) {
2417
+ const n = Ct(e);
2418
+ localStorage.getItem(n) || localStorage.setItem(n, JSON.stringify(ut(t)));
2419
+ }
2420
+ function mu(e, t, n) {
2421
+ const o = Ct(e), r = localStorage.getItem(o), u = JSON.parse(r || "{}"), s = {
2422
+ ...u,
2423
+ [t]: n
2424
+ };
2425
+ localStorage.setItem(o, JSON.stringify(s)), he.hooks.callHookWith(
2426
+ (i) => {
2427
+ i.forEach((l) => l({
2428
+ pluginId: e,
2429
+ key: t,
2430
+ oldValue: u[t],
2431
+ newValue: n,
2432
+ settings: s
2433
+ }));
2434
+ },
2435
+ "setPluginSettings"
2436
+ /* SET_PLUGIN_SETTINGS */
2437
+ );
2438
+ }
2439
+ a();
2440
+ a();
2441
+ a();
2442
+ a();
2443
+ a();
2444
+ a();
2445
+ a();
2446
+ a();
2447
+ a();
2448
+ a();
2449
+ a();
2450
+ var nn, on, F = (on = (nn = p).__VUE_DEVTOOLS_HOOK) != null ? on : nn.__VUE_DEVTOOLS_HOOK = Zn(), gu = {
2451
+ vueAppInit(e) {
2452
+ F.hook("app:init", e);
2453
+ },
2454
+ vueAppUnmount(e) {
2455
+ F.hook("app:unmount", e);
2456
+ },
2457
+ vueAppConnected(e) {
2458
+ F.hook("app:connected", e);
2459
+ },
2460
+ componentAdded(e) {
2461
+ return F.hook("component:added", e);
2462
+ },
2463
+ componentEmit(e) {
2464
+ return F.hook("component:emit", e);
2465
+ },
2466
+ componentUpdated(e) {
2467
+ return F.hook("component:updated", e);
2468
+ },
2469
+ componentRemoved(e) {
2470
+ return F.hook("component:removed", e);
2471
+ },
2472
+ setupDevtoolsPlugin(e) {
2473
+ F.hook("devtools-plugin:setup", e);
2474
+ },
2475
+ perfStart(e) {
2476
+ return F.hook("perf:start", e);
2477
+ },
2478
+ perfEnd(e) {
2479
+ return F.hook("perf:end", e);
2480
+ }
2481
+ }, fo = {
2482
+ on: gu,
2483
+ setupDevToolsPlugin(e, t) {
2484
+ return F.callHook("devtools-plugin:setup", e, t);
2485
+ }
2486
+ }, vu = class {
2487
+ constructor({ plugin: e, ctx: t }) {
2488
+ this.hooks = t.hooks, this.plugin = e;
2489
+ }
2490
+ get on() {
2491
+ return {
2492
+ // component inspector
2493
+ visitComponentTree: (e) => {
2494
+ this.hooks.hook("visitComponentTree", e);
2495
+ },
2496
+ inspectComponent: (e) => {
2497
+ this.hooks.hook("inspectComponent", e);
2498
+ },
2499
+ editComponentState: (e) => {
2500
+ this.hooks.hook("editComponentState", e);
2501
+ },
2502
+ // custom inspector
2503
+ getInspectorTree: (e) => {
2504
+ this.hooks.hook("getInspectorTree", e);
2505
+ },
2506
+ getInspectorState: (e) => {
2507
+ this.hooks.hook("getInspectorState", e);
2508
+ },
2509
+ editInspectorState: (e) => {
2510
+ this.hooks.hook("editInspectorState", e);
2511
+ },
2512
+ // timeline
2513
+ inspectTimelineEvent: (e) => {
2514
+ this.hooks.hook("inspectTimelineEvent", e);
2515
+ },
2516
+ timelineCleared: (e) => {
2517
+ this.hooks.hook("timelineCleared", e);
2518
+ },
2519
+ // settings
2520
+ setPluginSettings: (e) => {
2521
+ this.hooks.hook("setPluginSettings", e);
2522
+ }
2523
+ };
2524
+ }
2525
+ // component inspector
2526
+ notifyComponentUpdate(e) {
2527
+ var t;
2528
+ if (k.highPerfModeEnabled)
2529
+ return;
2530
+ const n = ao().find((o) => o.packageName === this.plugin.descriptor.packageName);
2531
+ if (n?.id) {
2532
+ if (e) {
2533
+ const o = [
2534
+ e.appContext.app,
2535
+ e.uid,
2536
+ (t = e.parent) == null ? void 0 : t.uid,
2537
+ e
2538
+ ];
2539
+ F.callHook("component:updated", ...o);
2540
+ } else
2541
+ F.callHook(
2542
+ "component:updated"
2543
+ /* COMPONENT_UPDATED */
2544
+ );
2545
+ this.hooks.callHook("sendInspectorState", { inspectorId: n.id, plugin: this.plugin });
2546
+ }
2547
+ }
2548
+ // custom inspector
2549
+ addInspector(e) {
2550
+ this.hooks.callHook("addInspector", { inspector: e, plugin: this.plugin }), this.plugin.descriptor.settings && hu(e.id, this.plugin.descriptor.settings);
2551
+ }
2552
+ sendInspectorTree(e) {
2553
+ k.highPerfModeEnabled || this.hooks.callHook("sendInspectorTree", { inspectorId: e, plugin: this.plugin });
2554
+ }
2555
+ sendInspectorState(e) {
2556
+ k.highPerfModeEnabled || this.hooks.callHook("sendInspectorState", { inspectorId: e, plugin: this.plugin });
2557
+ }
2558
+ selectInspectorNode(e, t) {
2559
+ this.hooks.callHook("customInspectorSelectNode", { inspectorId: e, nodeId: t, plugin: this.plugin });
2560
+ }
2561
+ visitComponentTree(e) {
2562
+ return this.hooks.callHook("visitComponentTree", e);
2563
+ }
2564
+ // timeline
2565
+ now() {
2566
+ return k.highPerfModeEnabled ? 0 : Date.now();
2567
+ }
2568
+ addTimelineLayer(e) {
2569
+ this.hooks.callHook("timelineLayerAdded", { options: e, plugin: this.plugin });
2570
+ }
2571
+ addTimelineEvent(e) {
2572
+ k.highPerfModeEnabled || this.hooks.callHook("timelineEventAdded", { options: e, plugin: this.plugin });
2573
+ }
2574
+ // settings
2575
+ getSettings(e) {
2576
+ return co(e ?? this.plugin.descriptor.id, this.plugin.descriptor.settings);
2577
+ }
2578
+ // utilities
2579
+ getComponentInstances(e) {
2580
+ return this.hooks.callHook("getComponentInstances", { app: e });
2581
+ }
2582
+ getComponentBounds(e) {
2583
+ return this.hooks.callHook("getComponentBounds", { instance: e });
2584
+ }
2585
+ getComponentName(e) {
2586
+ return this.hooks.callHook("getComponentName", { instance: e });
2587
+ }
2588
+ highlightElement(e) {
2589
+ const t = e.__VUE_DEVTOOLS_NEXT_UID__;
2590
+ return this.hooks.callHook("componentHighlight", { uid: t });
2591
+ }
2592
+ unhighlightElement() {
2593
+ return this.hooks.callHook(
2594
+ "componentUnhighlight"
2595
+ /* COMPONENT_UNHIGHLIGHT */
2596
+ );
2597
+ }
2598
+ }, yu = vu;
2599
+ a();
2600
+ a();
2601
+ a();
2602
+ a();
2603
+ var Au = "__vue_devtool_undefined__", Ou = "__vue_devtool_infinity__", Su = "__vue_devtool_negative_infinity__", Cu = "__vue_devtool_nan__";
2604
+ a();
2605
+ a();
2606
+ var Tu = {
2607
+ [Au]: "undefined",
2608
+ [Cu]: "NaN",
2609
+ [Ou]: "Infinity",
2610
+ [Su]: "-Infinity"
2611
+ };
2612
+ Object.entries(Tu).reduce((e, [t, n]) => (e[n] = t, e), {});
2613
+ a();
2614
+ a();
2615
+ a();
2616
+ a();
2617
+ a();
2618
+ var rn, un;
2619
+ (un = (rn = p).__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__) != null || (rn.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__ = /* @__PURE__ */ new Set());
2620
+ function _o(e, t) {
2621
+ return fo.setupDevToolsPlugin(e, t);
2622
+ }
2623
+ function bu(e, t) {
2624
+ const [n, o] = e;
2625
+ if (n.app !== t)
2626
+ return;
2627
+ const r = new yu({
2628
+ plugin: {
2629
+ setupFn: o,
2630
+ descriptor: n
2631
+ },
2632
+ ctx: he
2633
+ });
2634
+ n.packageName === "vuex" && r.on.editInspectorState((u) => {
2635
+ r.sendInspectorState(u.inspectorId);
2636
+ }), o(r);
2637
+ }
2638
+ function po(e, t) {
2639
+ p.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(e) || k.highPerfModeEnabled && !t?.inspectingComponent || (p.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(e), St.forEach((n) => {
2640
+ bu(n, e);
2641
+ }));
2642
+ }
2643
+ a();
2644
+ a();
2645
+ var Te = "__VUE_DEVTOOLS_ROUTER__", _e = "__VUE_DEVTOOLS_ROUTER_INFO__", sn, an;
2646
+ (an = (sn = p)[_e]) != null || (sn[_e] = {
2647
+ currentRoute: null,
2648
+ routes: []
2649
+ });
2650
+ var ln, cn;
2651
+ (cn = (ln = p)[Te]) != null || (ln[Te] = {});
2652
+ new Proxy(p[_e], {
2653
+ get(e, t) {
2654
+ return p[_e][t];
2655
+ }
2656
+ });
2657
+ new Proxy(p[Te], {
2658
+ get(e, t) {
2659
+ if (t === "value")
2660
+ return p[Te];
2661
+ }
2662
+ });
2663
+ function Iu(e) {
2664
+ const t = /* @__PURE__ */ new Map();
2665
+ return (e?.getRoutes() || []).filter((n) => !t.has(n.path) && t.set(n.path, 1));
2666
+ }
2667
+ function Tt(e) {
2668
+ return e.map((t) => {
2669
+ let { path: n, name: o, children: r, meta: u } = t;
2670
+ return r?.length && (r = Tt(r)), {
2671
+ path: n,
2672
+ name: o,
2673
+ children: r,
2674
+ meta: u
2675
+ };
2676
+ });
2677
+ }
2678
+ function Du(e) {
2679
+ if (e) {
2680
+ const { fullPath: t, hash: n, href: o, path: r, name: u, matched: s, params: i, query: l } = e;
2681
+ return {
2682
+ fullPath: t,
2683
+ hash: n,
2684
+ href: o,
2685
+ path: r,
2686
+ name: u,
2687
+ params: i,
2688
+ query: l,
2689
+ matched: Tt(s)
2690
+ };
2691
+ }
2692
+ return e;
2693
+ }
2694
+ function ku(e, t) {
2695
+ function n() {
2696
+ var o;
2697
+ const r = (o = e.app) == null ? void 0 : o.config.globalProperties.$router, u = Du(r?.currentRoute.value), s = Tt(Iu(r)), i = console.warn;
2698
+ console.warn = () => {
2699
+ }, p[_e] = {
2700
+ currentRoute: u ? Rt(u) : {},
2701
+ routes: Rt(s)
2702
+ }, p[Te] = r, console.warn = i;
2703
+ }
2704
+ n(), fo.on.componentUpdated(de(() => {
2705
+ var o;
2706
+ ((o = t.value) == null ? void 0 : o.app) === e.app && (n(), !k.highPerfModeEnabled && he.hooks.callHook("routerInfoUpdated", { state: p[_e] }));
2707
+ }, 200));
2708
+ }
2709
+ function wu(e) {
2710
+ return {
2711
+ // get inspector tree
2712
+ async getInspectorTree(t) {
2713
+ const n = {
2714
+ ...t,
2715
+ app: R.value.app,
2716
+ rootNodes: []
2717
+ };
2718
+ return await new Promise((o) => {
2719
+ e.callHookWith(
2720
+ async (r) => {
2721
+ await Promise.all(r.map((u) => u(n))), o();
2722
+ },
2723
+ "getInspectorTree"
2724
+ /* GET_INSPECTOR_TREE */
2725
+ );
2726
+ }), n.rootNodes;
2727
+ },
2728
+ // get inspector state
2729
+ async getInspectorState(t) {
2730
+ const n = {
2731
+ ...t,
2732
+ app: R.value.app,
2733
+ state: null
2734
+ }, o = {
2735
+ currentTab: `custom-inspector:${t.inspectorId}`
2736
+ };
2737
+ return await new Promise((r) => {
2738
+ e.callHookWith(
2739
+ async (u) => {
2740
+ await Promise.all(u.map((s) => s(n, o))), r();
2741
+ },
2742
+ "getInspectorState"
2743
+ /* GET_INSPECTOR_STATE */
2744
+ );
2745
+ }), n.state;
2746
+ },
2747
+ // edit inspector state
2748
+ editInspectorState(t) {
2749
+ const n = new nu(), o = {
2750
+ ...t,
2751
+ app: R.value.app,
2752
+ set: (r, u = t.path, s = t.state.value, i) => {
2753
+ n.set(r, u, s, i || n.createDefaultSetCallback(t.state));
2754
+ }
2755
+ };
2756
+ e.callHookWith(
2757
+ (r) => {
2758
+ r.forEach((u) => u(o));
2759
+ },
2760
+ "editInspectorState"
2761
+ /* EDIT_INSPECTOR_STATE */
2762
+ );
2763
+ },
2764
+ // send inspector state
2765
+ sendInspectorState(t) {
2766
+ const n = Re(t);
2767
+ e.callHook("sendInspectorState", { inspectorId: t, plugin: {
2768
+ descriptor: n.descriptor,
2769
+ setupFn: () => ({})
2770
+ } });
2771
+ },
2772
+ // inspect component inspector
2773
+ inspectComponentInspector() {
2774
+ return Zr();
2775
+ },
2776
+ // cancel inspect component inspector
2777
+ cancelInspectComponentInspector() {
2778
+ return qr();
2779
+ },
2780
+ // get component render code
2781
+ getComponentRenderCode(t) {
2782
+ const n = nt(R.value, t);
2783
+ if (n)
2784
+ return typeof n?.type != "function" ? n.render.toString() : n.type.toString();
2785
+ },
2786
+ // scroll to component
2787
+ scrollToComponent(t) {
2788
+ return Xr({ id: t });
2789
+ },
2790
+ // open in editor
2791
+ openInEditor: pu,
2792
+ // get vue inspector
2793
+ getVueInspector: eu,
2794
+ // toggle app
2795
+ toggleApp(t, n) {
2796
+ const o = ze.value.find((r) => r.id === t);
2797
+ o && (_u(t), du(o), ku(o, R), io(), po(o.app, n));
2798
+ },
2799
+ // inspect dom
2800
+ inspectDOM(t) {
2801
+ const n = nt(R.value, t);
2802
+ if (n) {
2803
+ const [o] = gt(n);
2804
+ o && (p.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__ = o);
2805
+ }
2806
+ },
2807
+ updatePluginSettings(t, n, o) {
2808
+ mu(t, n, o);
2809
+ },
2810
+ getPluginSettings(t) {
2811
+ return {
2812
+ options: Eu(t),
2813
+ values: co(t)
2814
+ };
2815
+ }
2816
+ };
2817
+ }
2818
+ a();
2819
+ var fn, dn;
2820
+ (dn = (fn = p).__VUE_DEVTOOLS_ENV__) != null || (fn.__VUE_DEVTOOLS_ENV__ = {
2821
+ vitePluginDetected: !1
2822
+ });
2823
+ var _n = lu(), pn, En;
2824
+ (En = (pn = p).__VUE_DEVTOOLS_KIT_CONTEXT__) != null || (pn.__VUE_DEVTOOLS_KIT_CONTEXT__ = {
2825
+ hooks: _n,
2826
+ get state() {
2827
+ return {
2828
+ ...k,
2829
+ activeAppRecordId: R.id,
2830
+ activeAppRecord: R.value,
2831
+ appRecords: ze.value
2832
+ };
2833
+ },
2834
+ api: wu(_n)
2835
+ });
2836
+ var he = p.__VUE_DEVTOOLS_KIT_CONTEXT__;
2837
+ a();
2838
+ Pr(Rr());
2839
+ var hn, mn;
2840
+ (mn = (hn = p).__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__) != null || (hn.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__ = {
2841
+ id: 0,
2842
+ appIds: /* @__PURE__ */ new Set()
2843
+ });
2844
+ a();
2845
+ a();
2846
+ function Pu(e) {
2847
+ k.highPerfModeEnabled = e ?? !k.highPerfModeEnabled, !e && R.value && po(R.value.app);
2848
+ }
2849
+ a();
2850
+ a();
2851
+ a();
2852
+ function Nu(e) {
2853
+ k.devtoolsClientDetected = {
2854
+ ...k.devtoolsClientDetected,
2855
+ ...e
2856
+ };
2857
+ const t = Object.values(k.devtoolsClientDetected).some(Boolean);
2858
+ Pu(!t);
2859
+ }
2860
+ var gn, vn;
2861
+ (vn = (gn = p).__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__) != null || (gn.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__ = Nu);
2862
+ a();
2863
+ a();
2864
+ a();
2865
+ a();
2866
+ a();
2867
+ a();
2868
+ a();
2869
+ var Ru = class {
2870
+ constructor() {
2871
+ this.keyToValue = /* @__PURE__ */ new Map(), this.valueToKey = /* @__PURE__ */ new Map();
2872
+ }
2873
+ set(e, t) {
2874
+ this.keyToValue.set(e, t), this.valueToKey.set(t, e);
2875
+ }
2876
+ getByKey(e) {
2877
+ return this.keyToValue.get(e);
2878
+ }
2879
+ getByValue(e) {
2880
+ return this.valueToKey.get(e);
2881
+ }
2882
+ clear() {
2883
+ this.keyToValue.clear(), this.valueToKey.clear();
2884
+ }
2885
+ }, Eo = class {
2886
+ constructor(e) {
2887
+ this.generateIdentifier = e, this.kv = new Ru();
2888
+ }
2889
+ register(e, t) {
2890
+ this.kv.getByValue(e) || (t || (t = this.generateIdentifier(e)), this.kv.set(t, e));
2891
+ }
2892
+ clear() {
2893
+ this.kv.clear();
2894
+ }
2895
+ getIdentifier(e) {
2896
+ return this.kv.getByValue(e);
2897
+ }
2898
+ getValue(e) {
2899
+ return this.kv.getByKey(e);
2900
+ }
2901
+ }, Vu = class extends Eo {
2902
+ constructor() {
2903
+ super((e) => e.name), this.classToAllowedProps = /* @__PURE__ */ new Map();
2904
+ }
2905
+ register(e, t) {
2906
+ typeof t == "object" ? (t.allowProps && this.classToAllowedProps.set(e, t.allowProps), super.register(e, t.identifier)) : super.register(e, t);
2907
+ }
2908
+ getAllowedProps(e) {
2909
+ return this.classToAllowedProps.get(e);
2910
+ }
2911
+ };
2912
+ a();
2913
+ a();
2914
+ function xu(e) {
2915
+ if ("values" in Object)
2916
+ return Object.values(e);
2917
+ const t = [];
2918
+ for (const n in e)
2919
+ e.hasOwnProperty(n) && t.push(e[n]);
2920
+ return t;
2921
+ }
2922
+ function Fu(e, t) {
2923
+ const n = xu(e);
2924
+ if ("find" in n)
2925
+ return n.find(t);
2926
+ const o = n;
2927
+ for (let r = 0; r < o.length; r++) {
2928
+ const u = o[r];
2929
+ if (t(u))
2930
+ return u;
2931
+ }
2932
+ }
2933
+ function pe(e, t) {
2934
+ Object.entries(e).forEach(([n, o]) => t(o, n));
2935
+ }
2936
+ function Ve(e, t) {
2937
+ return e.indexOf(t) !== -1;
2938
+ }
2939
+ function yn(e, t) {
2940
+ for (let n = 0; n < e.length; n++) {
2941
+ const o = e[n];
2942
+ if (t(o))
2943
+ return o;
2944
+ }
2945
+ }
2946
+ var Uu = class {
2947
+ constructor() {
2948
+ this.transfomers = {};
2949
+ }
2950
+ register(e) {
2951
+ this.transfomers[e.name] = e;
2952
+ }
2953
+ findApplicable(e) {
2954
+ return Fu(this.transfomers, (t) => t.isApplicable(e));
2955
+ }
2956
+ findByName(e) {
2957
+ return this.transfomers[e];
2958
+ }
2959
+ };
2960
+ a();
2961
+ a();
2962
+ var Lu = (e) => Object.prototype.toString.call(e).slice(8, -1), ho = (e) => typeof e > "u", Bu = (e) => e === null, be = (e) => typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype, st = (e) => be(e) && Object.keys(e).length === 0, ee = (e) => Array.isArray(e), Mu = (e) => typeof e == "string", $u = (e) => typeof e == "number" && !isNaN(e), Hu = (e) => typeof e == "boolean", ju = (e) => e instanceof RegExp, Ie = (e) => e instanceof Map, De = (e) => e instanceof Set, mo = (e) => Lu(e) === "Symbol", Ku = (e) => e instanceof Date && !isNaN(e.valueOf()), zu = (e) => e instanceof Error, An = (e) => typeof e == "number" && isNaN(e), Gu = (e) => Hu(e) || Bu(e) || ho(e) || $u(e) || Mu(e) || mo(e), Wu = (e) => typeof e == "bigint", Yu = (e) => e === 1 / 0 || e === -1 / 0, qu = (e) => ArrayBuffer.isView(e) && !(e instanceof DataView), Zu = (e) => e instanceof URL;
2963
+ a();
2964
+ var go = (e) => e.replace(/\./g, "\\."), Je = (e) => e.map(String).map(go).join("."), Ae = (e) => {
2965
+ const t = [];
2966
+ let n = "";
2967
+ for (let r = 0; r < e.length; r++) {
2968
+ let u = e.charAt(r);
2969
+ if (u === "\\" && e.charAt(r + 1) === ".") {
2970
+ n += ".", r++;
2971
+ continue;
2972
+ }
2973
+ if (u === ".") {
2974
+ t.push(n), n = "";
2975
+ continue;
2976
+ }
2977
+ n += u;
2978
+ }
2979
+ const o = n;
2980
+ return t.push(o), t;
2981
+ };
2982
+ a();
2983
+ function K(e, t, n, o) {
2984
+ return {
2985
+ isApplicable: e,
2986
+ annotation: t,
2987
+ transform: n,
2988
+ untransform: o
2989
+ };
2990
+ }
2991
+ var vo = [
2992
+ K(ho, "undefined", () => null, () => {
2993
+ }),
2994
+ K(Wu, "bigint", (e) => e.toString(), (e) => typeof BigInt < "u" ? BigInt(e) : (console.error("Please add a BigInt polyfill."), e)),
2995
+ K(Ku, "Date", (e) => e.toISOString(), (e) => new Date(e)),
2996
+ K(zu, "Error", (e, t) => {
2997
+ const n = {
2998
+ name: e.name,
2999
+ message: e.message
3000
+ };
3001
+ return t.allowedErrorProps.forEach((o) => {
3002
+ n[o] = e[o];
3003
+ }), n;
3004
+ }, (e, t) => {
3005
+ const n = new Error(e.message);
3006
+ return n.name = e.name, n.stack = e.stack, t.allowedErrorProps.forEach((o) => {
3007
+ n[o] = e[o];
3008
+ }), n;
3009
+ }),
3010
+ K(ju, "regexp", (e) => "" + e, (e) => {
3011
+ const t = e.slice(1, e.lastIndexOf("/")), n = e.slice(e.lastIndexOf("/") + 1);
3012
+ return new RegExp(t, n);
3013
+ }),
3014
+ K(
3015
+ De,
3016
+ "set",
3017
+ // (sets only exist in es6+)
3018
+ // eslint-disable-next-line es5/no-es6-methods
3019
+ (e) => [...e.values()],
3020
+ (e) => new Set(e)
3021
+ ),
3022
+ K(Ie, "map", (e) => [...e.entries()], (e) => new Map(e)),
3023
+ K((e) => An(e) || Yu(e), "number", (e) => An(e) ? "NaN" : e > 0 ? "Infinity" : "-Infinity", Number),
3024
+ K((e) => e === 0 && 1 / e === -1 / 0, "number", () => "-0", Number),
3025
+ K(Zu, "URL", (e) => e.toString(), (e) => new URL(e))
3026
+ ];
3027
+ function Ge(e, t, n, o) {
3028
+ return {
3029
+ isApplicable: e,
3030
+ annotation: t,
3031
+ transform: n,
3032
+ untransform: o
3033
+ };
3034
+ }
3035
+ var yo = Ge((e, t) => mo(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) => ["symbol", t.symbolRegistry.getIdentifier(e)], (e) => e.description, (e, t, n) => {
3036
+ const o = n.symbolRegistry.getValue(t[1]);
3037
+ if (!o)
3038
+ throw new Error("Trying to deserialize unknown symbol");
3039
+ return o;
3040
+ }), Xu = [
3041
+ Int8Array,
3042
+ Uint8Array,
3043
+ Int16Array,
3044
+ Uint16Array,
3045
+ Int32Array,
3046
+ Uint32Array,
3047
+ Float32Array,
3048
+ Float64Array,
3049
+ Uint8ClampedArray
3050
+ ].reduce((e, t) => (e[t.name] = t, e), {}), Ao = Ge(qu, (e) => ["typed-array", e.constructor.name], (e) => [...e], (e, t) => {
3051
+ const n = Xu[t[1]];
3052
+ if (!n)
3053
+ throw new Error("Trying to deserialize unknown typed array");
3054
+ return new n(e);
3055
+ });
3056
+ function Oo(e, t) {
3057
+ return e?.constructor ? !!t.classRegistry.getIdentifier(e.constructor) : !1;
3058
+ }
3059
+ var So = Ge(Oo, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)], (e, t) => {
3060
+ const n = t.classRegistry.getAllowedProps(e.constructor);
3061
+ if (!n)
3062
+ return { ...e };
3063
+ const o = {};
3064
+ return n.forEach((r) => {
3065
+ o[r] = e[r];
3066
+ }), o;
3067
+ }, (e, t, n) => {
3068
+ const o = n.classRegistry.getValue(t[1]);
3069
+ if (!o)
3070
+ throw new Error(`Trying to deserialize unknown class '${t[1]}' - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564`);
3071
+ return Object.assign(Object.create(o.prototype), e);
3072
+ }), Co = Ge((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) => {
3073
+ const o = n.customTransformerRegistry.findByName(t[1]);
3074
+ if (!o)
3075
+ throw new Error("Trying to deserialize unknown custom value");
3076
+ return o.deserialize(e);
3077
+ }), Ju = [So, yo, Co, Ao], On = (e, t) => {
3078
+ const n = yn(Ju, (r) => r.isApplicable(e, t));
3079
+ if (n)
3080
+ return {
3081
+ value: n.transform(e, t),
3082
+ type: n.annotation(e, t)
3083
+ };
3084
+ const o = yn(vo, (r) => r.isApplicable(e, t));
3085
+ if (o)
3086
+ return {
3087
+ value: o.transform(e, t),
3088
+ type: o.annotation
3089
+ };
3090
+ }, To = {};
3091
+ vo.forEach((e) => {
3092
+ To[e.annotation] = e;
3093
+ });
3094
+ var Qu = (e, t, n) => {
3095
+ if (ee(t))
3096
+ switch (t[0]) {
3097
+ case "symbol":
3098
+ return yo.untransform(e, t, n);
3099
+ case "class":
3100
+ return So.untransform(e, t, n);
3101
+ case "custom":
3102
+ return Co.untransform(e, t, n);
3103
+ case "typed-array":
3104
+ return Ao.untransform(e, t, n);
3105
+ default:
3106
+ throw new Error("Unknown transformation: " + t);
3107
+ }
3108
+ else {
3109
+ const o = To[t];
3110
+ if (!o)
3111
+ throw new Error("Unknown transformation: " + t);
3112
+ return o.untransform(e, n);
3113
+ }
3114
+ };
3115
+ a();
3116
+ var le = (e, t) => {
3117
+ if (t > e.size)
3118
+ throw new Error("index out of bounds");
3119
+ const n = e.keys();
3120
+ for (; t > 0; )
3121
+ n.next(), t--;
3122
+ return n.next().value;
3123
+ };
3124
+ function bo(e) {
3125
+ if (Ve(e, "__proto__"))
3126
+ throw new Error("__proto__ is not allowed as a property");
3127
+ if (Ve(e, "prototype"))
3128
+ throw new Error("prototype is not allowed as a property");
3129
+ if (Ve(e, "constructor"))
3130
+ throw new Error("constructor is not allowed as a property");
3131
+ }
3132
+ var es = (e, t) => {
3133
+ bo(t);
3134
+ for (let n = 0; n < t.length; n++) {
3135
+ const o = t[n];
3136
+ if (De(e))
3137
+ e = le(e, +o);
3138
+ else if (Ie(e)) {
3139
+ const r = +o, u = +t[++n] == 0 ? "key" : "value", s = le(e, r);
3140
+ switch (u) {
3141
+ case "key":
3142
+ e = s;
3143
+ break;
3144
+ case "value":
3145
+ e = e.get(s);
3146
+ break;
3147
+ }
3148
+ } else
3149
+ e = e[o];
3150
+ }
3151
+ return e;
3152
+ }, it = (e, t, n) => {
3153
+ if (bo(t), t.length === 0)
3154
+ return n(e);
3155
+ let o = e;
3156
+ for (let u = 0; u < t.length - 1; u++) {
3157
+ const s = t[u];
3158
+ if (ee(o)) {
3159
+ const i = +s;
3160
+ o = o[i];
3161
+ } else if (be(o))
3162
+ o = o[s];
3163
+ else if (De(o)) {
3164
+ const i = +s;
3165
+ o = le(o, i);
3166
+ } else if (Ie(o)) {
3167
+ if (u === t.length - 2)
3168
+ break;
3169
+ const l = +s, f = +t[++u] == 0 ? "key" : "value", v = le(o, l);
3170
+ switch (f) {
3171
+ case "key":
3172
+ o = v;
3173
+ break;
3174
+ case "value":
3175
+ o = o.get(v);
3176
+ break;
3177
+ }
3178
+ }
3179
+ }
3180
+ const r = t[t.length - 1];
3181
+ if (ee(o) ? o[+r] = n(o[+r]) : be(o) && (o[r] = n(o[r])), De(o)) {
3182
+ const u = le(o, +r), s = n(u);
3183
+ u !== s && (o.delete(u), o.add(s));
3184
+ }
3185
+ if (Ie(o)) {
3186
+ const u = +t[t.length - 2], s = le(o, u);
3187
+ switch (+r == 0 ? "key" : "value") {
3188
+ case "key": {
3189
+ const l = n(s);
3190
+ o.set(l, o.get(s)), l !== s && o.delete(s);
3191
+ break;
3192
+ }
3193
+ case "value": {
3194
+ o.set(s, n(o.get(s)));
3195
+ break;
3196
+ }
3197
+ }
3198
+ }
3199
+ return e;
3200
+ };
3201
+ function at(e, t, n = []) {
3202
+ if (!e)
3203
+ return;
3204
+ if (!ee(e)) {
3205
+ pe(e, (u, s) => at(u, t, [...n, ...Ae(s)]));
3206
+ return;
3207
+ }
3208
+ const [o, r] = e;
3209
+ r && pe(r, (u, s) => {
3210
+ at(u, t, [...n, ...Ae(s)]);
3211
+ }), t(o, n);
3212
+ }
3213
+ function ts(e, t, n) {
3214
+ return at(t, (o, r) => {
3215
+ e = it(e, r, (u) => Qu(u, o, n));
3216
+ }), e;
3217
+ }
3218
+ function ns(e, t) {
3219
+ function n(o, r) {
3220
+ const u = es(e, Ae(r));
3221
+ o.map(Ae).forEach((s) => {
3222
+ e = it(e, s, () => u);
3223
+ });
3224
+ }
3225
+ if (ee(t)) {
3226
+ const [o, r] = t;
3227
+ o.forEach((u) => {
3228
+ e = it(e, Ae(u), () => e);
3229
+ }), r && pe(r, n);
3230
+ } else
3231
+ pe(t, n);
3232
+ return e;
3233
+ }
3234
+ var os = (e, t) => be(e) || ee(e) || Ie(e) || De(e) || Oo(e, t);
3235
+ function rs(e, t, n) {
3236
+ const o = n.get(e);
3237
+ o ? o.push(t) : n.set(e, [t]);
3238
+ }
3239
+ function us(e, t) {
3240
+ const n = {};
3241
+ let o;
3242
+ return e.forEach((r) => {
3243
+ if (r.length <= 1)
3244
+ return;
3245
+ t || (r = r.map((i) => i.map(String)).sort((i, l) => i.length - l.length));
3246
+ const [u, ...s] = r;
3247
+ u.length === 0 ? o = s.map(Je) : n[Je(u)] = s.map(Je);
3248
+ }), o ? st(n) ? [o] : [o, n] : st(n) ? void 0 : n;
3249
+ }
3250
+ var Io = (e, t, n, o, r = [], u = [], s = /* @__PURE__ */ new Map()) => {
3251
+ var i;
3252
+ const l = Gu(e);
3253
+ if (!l) {
3254
+ rs(e, r, t);
3255
+ const _ = s.get(e);
3256
+ if (_)
3257
+ return o ? {
3258
+ transformedValue: null
3259
+ } : _;
3260
+ }
3261
+ if (!os(e, n)) {
3262
+ const _ = On(e, n), A = _ ? {
3263
+ transformedValue: _.value,
3264
+ annotations: [_.type]
3265
+ } : {
3266
+ transformedValue: e
3267
+ };
3268
+ return l || s.set(e, A), A;
3269
+ }
3270
+ if (Ve(u, e))
3271
+ return {
3272
+ transformedValue: null
3273
+ };
3274
+ const f = On(e, n), v = (i = f?.value) != null ? i : e, c = ee(v) ? [] : {}, y = {};
3275
+ pe(v, (_, A) => {
3276
+ if (A === "__proto__" || A === "constructor" || A === "prototype")
3277
+ throw new Error(`Detected property ${A}. This is a prototype pollution risk, please remove it from your object.`);
3278
+ const h = Io(_, t, n, o, [...r, A], [...u, e], s);
3279
+ c[A] = h.transformedValue, ee(h.annotations) ? y[A] = h.annotations : be(h.annotations) && pe(h.annotations, (m, T) => {
3280
+ y[go(A) + "." + T] = m;
3281
+ });
3282
+ });
3283
+ const d = st(y) ? {
3284
+ transformedValue: c,
3285
+ annotations: f ? [f.type] : void 0
3286
+ } : {
3287
+ transformedValue: c,
3288
+ annotations: f ? [f.type, y] : y
3289
+ };
3290
+ return l || s.set(e, d), d;
3291
+ };
3292
+ a();
3293
+ a();
3294
+ function Do(e) {
3295
+ return Object.prototype.toString.call(e).slice(8, -1);
3296
+ }
3297
+ function Sn(e) {
3298
+ return Do(e) === "Array";
3299
+ }
3300
+ function ss(e) {
3301
+ if (Do(e) !== "Object")
3302
+ return !1;
3303
+ const t = Object.getPrototypeOf(e);
3304
+ return !!t && t.constructor === Object && t === Object.prototype;
3305
+ }
3306
+ function is(e, t, n, o, r) {
3307
+ const u = {}.propertyIsEnumerable.call(o, t) ? "enumerable" : "nonenumerable";
3308
+ u === "enumerable" && (e[t] = n), r && u === "nonenumerable" && Object.defineProperty(e, t, {
3309
+ value: n,
3310
+ enumerable: !1,
3311
+ writable: !0,
3312
+ configurable: !0
3313
+ });
3314
+ }
3315
+ function lt(e, t = {}) {
3316
+ if (Sn(e))
3317
+ return e.map((r) => lt(r, t));
3318
+ if (!ss(e))
3319
+ return e;
3320
+ const n = Object.getOwnPropertyNames(e), o = Object.getOwnPropertySymbols(e);
3321
+ return [...n, ...o].reduce((r, u) => {
3322
+ if (Sn(t.props) && !t.props.includes(u))
3323
+ return r;
3324
+ const s = e[u], i = lt(s, t);
3325
+ return is(r, u, i, e, t.nonenumerable), r;
3326
+ }, {});
3327
+ }
3328
+ var I = class {
3329
+ /**
3330
+ * @param dedupeReferentialEqualities If true, SuperJSON will make sure only one instance of referentially equal objects are serialized and the rest are replaced with `null`.
3331
+ */
3332
+ constructor({ dedupe: e = !1 } = {}) {
3333
+ this.classRegistry = new Vu(), this.symbolRegistry = new Eo((t) => {
3334
+ var n;
3335
+ return (n = t.description) != null ? n : "";
3336
+ }), this.customTransformerRegistry = new Uu(), this.allowedErrorProps = [], this.dedupe = e;
3337
+ }
3338
+ serialize(e) {
3339
+ const t = /* @__PURE__ */ new Map(), n = Io(e, t, this, this.dedupe), o = {
3340
+ json: n.transformedValue
3341
+ };
3342
+ n.annotations && (o.meta = {
3343
+ ...o.meta,
3344
+ values: n.annotations
3345
+ });
3346
+ const r = us(t, this.dedupe);
3347
+ return r && (o.meta = {
3348
+ ...o.meta,
3349
+ referentialEqualities: r
3350
+ }), o;
3351
+ }
3352
+ deserialize(e) {
3353
+ const { json: t, meta: n } = e;
3354
+ let o = lt(t);
3355
+ return n?.values && (o = ts(o, n.values, this)), n?.referentialEqualities && (o = ns(o, n.referentialEqualities)), o;
3356
+ }
3357
+ stringify(e) {
3358
+ return JSON.stringify(this.serialize(e));
3359
+ }
3360
+ parse(e) {
3361
+ return this.deserialize(JSON.parse(e));
3362
+ }
3363
+ registerClass(e, t) {
3364
+ this.classRegistry.register(e, t);
3365
+ }
3366
+ registerSymbol(e, t) {
3367
+ this.symbolRegistry.register(e, t);
3368
+ }
3369
+ registerCustom(e, t) {
3370
+ this.customTransformerRegistry.register({
3371
+ name: t,
3372
+ ...e
3373
+ });
3374
+ }
3375
+ allowErrorProps(...e) {
3376
+ this.allowedErrorProps.push(...e);
3377
+ }
3378
+ };
3379
+ I.defaultInstance = new I();
3380
+ I.serialize = I.defaultInstance.serialize.bind(I.defaultInstance);
3381
+ I.deserialize = I.defaultInstance.deserialize.bind(I.defaultInstance);
3382
+ I.stringify = I.defaultInstance.stringify.bind(I.defaultInstance);
3383
+ I.parse = I.defaultInstance.parse.bind(I.defaultInstance);
3384
+ I.registerClass = I.defaultInstance.registerClass.bind(I.defaultInstance);
3385
+ I.registerSymbol = I.defaultInstance.registerSymbol.bind(I.defaultInstance);
3386
+ I.registerCustom = I.defaultInstance.registerCustom.bind(I.defaultInstance);
3387
+ I.allowErrorProps = I.defaultInstance.allowErrorProps.bind(I.defaultInstance);
3388
+ a();
3389
+ a();
3390
+ a();
3391
+ a();
3392
+ a();
3393
+ a();
3394
+ a();
3395
+ a();
3396
+ a();
3397
+ a();
3398
+ a();
3399
+ a();
3400
+ a();
3401
+ a();
3402
+ a();
3403
+ a();
3404
+ a();
3405
+ a();
3406
+ a();
3407
+ a();
3408
+ a();
3409
+ a();
3410
+ a();
3411
+ var Cn, Tn;
3412
+ (Tn = (Cn = p).__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__) != null || (Cn.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__ = []);
3413
+ var bn, In;
3414
+ (In = (bn = p).__VUE_DEVTOOLS_KIT_RPC_CLIENT__) != null || (bn.__VUE_DEVTOOLS_KIT_RPC_CLIENT__ = null);
3415
+ var Dn, kn;
3416
+ (kn = (Dn = p).__VUE_DEVTOOLS_KIT_RPC_SERVER__) != null || (Dn.__VUE_DEVTOOLS_KIT_RPC_SERVER__ = null);
3417
+ var wn, Pn;
3418
+ (Pn = (wn = p).__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__) != null || (wn.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__ = null);
3419
+ var Nn, Rn;
3420
+ (Rn = (Nn = p).__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__) != null || (Nn.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__ = null);
3421
+ var Vn, xn;
3422
+ (xn = (Vn = p).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__) != null || (Vn.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__ = null);
3423
+ a();
3424
+ a();
3425
+ a();
3426
+ a();
3427
+ a();
3428
+ a();
3429
+ a();
3430
+ /*!
3431
+ * pinia v3.0.3
3432
+ * (c) 2025 Eduardo San Martin Morote
3433
+ * @license MIT
3434
+ */
3435
+ let ye;
3436
+ const ke = (e) => ye = e, ko = process.env.NODE_ENV !== "production" ? Symbol("pinia") : (
3437
+ /* istanbul ignore next */
3438
+ Symbol()
3439
+ );
3440
+ function ue(e) {
3441
+ return e && typeof e == "object" && Object.prototype.toString.call(e) === "[object Object]" && typeof e.toJSON != "function";
3442
+ }
3443
+ var G;
3444
+ (function(e) {
3445
+ e.direct = "direct", e.patchObject = "patch object", e.patchFunction = "patch function";
3446
+ })(G || (G = {}));
3447
+ const X = typeof window < "u", Fn = 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 };
3448
+ function as(e, { autoBom: t = !1 } = {}) {
3449
+ 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;
3450
+ }
3451
+ function bt(e, t, n) {
3452
+ const o = new XMLHttpRequest();
3453
+ o.open("GET", e), o.responseType = "blob", o.onload = function() {
3454
+ No(o.response, t, n);
3455
+ }, o.onerror = function() {
3456
+ console.error("could not download file");
3457
+ }, o.send();
3458
+ }
3459
+ function wo(e) {
3460
+ const t = new XMLHttpRequest();
3461
+ t.open("HEAD", e, !1);
3462
+ try {
3463
+ t.send();
3464
+ } catch {
3465
+ }
3466
+ return t.status >= 200 && t.status <= 299;
3467
+ }
3468
+ function xe(e) {
3469
+ try {
3470
+ e.dispatchEvent(new MouseEvent("click"));
3471
+ } catch {
3472
+ const n = new MouseEvent("click", {
3473
+ bubbles: !0,
3474
+ cancelable: !0,
3475
+ view: window,
3476
+ detail: 0,
3477
+ screenX: 80,
3478
+ screenY: 20,
3479
+ clientX: 80,
3480
+ clientY: 20,
3481
+ ctrlKey: !1,
3482
+ altKey: !1,
3483
+ shiftKey: !1,
3484
+ metaKey: !1,
3485
+ button: 0,
3486
+ relatedTarget: null
3487
+ });
3488
+ e.dispatchEvent(n);
3489
+ }
3490
+ }
3491
+ const Fe = typeof navigator == "object" ? navigator : { userAgent: "" }, Po = /Macintosh/.test(Fe.userAgent) && /AppleWebKit/.test(Fe.userAgent) && !/Safari/.test(Fe.userAgent), No = X ? (
3492
+ // Use download attribute first if possible (#193 Lumia mobile) unless this is a macOS WebView or mini program
3493
+ typeof HTMLAnchorElement < "u" && "download" in HTMLAnchorElement.prototype && !Po ? ls : (
3494
+ // Use msSaveOrOpenBlob as a second approach
3495
+ "msSaveOrOpenBlob" in Fe ? cs : (
3496
+ // Fallback to using FileReader and a popup
3497
+ fs
3498
+ )
3499
+ )
3500
+ ) : () => {
3501
+ };
3502
+ function ls(e, t = "download", n) {
3503
+ const o = document.createElement("a");
3504
+ o.download = t, o.rel = "noopener", typeof e == "string" ? (o.href = e, o.origin !== location.origin ? wo(o.href) ? bt(e, t, n) : (o.target = "_blank", xe(o)) : xe(o)) : (o.href = URL.createObjectURL(e), setTimeout(function() {
3505
+ URL.revokeObjectURL(o.href);
3506
+ }, 4e4), setTimeout(function() {
3507
+ xe(o);
3508
+ }, 0));
3509
+ }
3510
+ function cs(e, t = "download", n) {
3511
+ if (typeof e == "string")
3512
+ if (wo(e))
3513
+ bt(e, t, n);
3514
+ else {
3515
+ const o = document.createElement("a");
3516
+ o.href = e, o.target = "_blank", setTimeout(function() {
3517
+ xe(o);
3518
+ });
3519
+ }
3520
+ else
3521
+ navigator.msSaveOrOpenBlob(as(e, n), t);
3522
+ }
3523
+ function fs(e, t, n, o) {
3524
+ if (o = o || open("", "_blank"), o && (o.document.title = o.document.body.innerText = "downloading..."), typeof e == "string")
3525
+ return bt(e, t, n);
3526
+ const r = e.type === "application/octet-stream", u = /constructor/i.test(String(Fn.HTMLElement)) || "safari" in Fn, s = /CriOS\/[\d]+/.test(navigator.userAgent);
3527
+ if ((s || r && u || Po) && typeof FileReader < "u") {
3528
+ const i = new FileReader();
3529
+ i.onloadend = function() {
3530
+ let l = i.result;
3531
+ if (typeof l != "string")
3532
+ throw o = null, new Error("Wrong reader.result type");
3533
+ l = s ? l : l.replace(/^data:[^;]*;/, "data:attachment/file;"), o ? o.location.href = l : location.assign(l), o = null;
3534
+ }, i.readAsDataURL(e);
3535
+ } else {
3536
+ const i = URL.createObjectURL(e);
3537
+ o ? o.location.assign(i) : location.href = i, o = null, setTimeout(function() {
3538
+ URL.revokeObjectURL(i);
3539
+ }, 4e4);
3540
+ }
3541
+ }
3542
+ function P(e, t) {
3543
+ const n = "🍍 " + e;
3544
+ typeof __VUE_DEVTOOLS_TOAST__ == "function" ? __VUE_DEVTOOLS_TOAST__(n, t) : t === "error" ? console.error(n) : t === "warn" ? console.warn(n) : console.log(n);
3545
+ }
3546
+ function It(e) {
3547
+ return "_a" in e && "install" in e;
3548
+ }
3549
+ function Ro() {
3550
+ if (!("clipboard" in navigator))
3551
+ return P("Your browser doesn't support the Clipboard API", "error"), !0;
3552
+ }
3553
+ function Vo(e) {
3554
+ 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;
3555
+ }
3556
+ async function ds(e) {
3557
+ if (!Ro())
3558
+ try {
3559
+ await navigator.clipboard.writeText(JSON.stringify(e.state.value)), P("Global state copied to clipboard.");
3560
+ } catch (t) {
3561
+ if (Vo(t))
3562
+ return;
3563
+ P("Failed to serialize the state. Check the console for more details.", "error"), console.error(t);
3564
+ }
3565
+ }
3566
+ async function _s(e) {
3567
+ if (!Ro())
3568
+ try {
3569
+ xo(e, JSON.parse(await navigator.clipboard.readText())), P("Global state pasted from clipboard.");
3570
+ } catch (t) {
3571
+ if (Vo(t))
3572
+ return;
3573
+ P("Failed to deserialize the state from clipboard. Check the console for more details.", "error"), console.error(t);
3574
+ }
3575
+ }
3576
+ async function ps(e) {
3577
+ try {
3578
+ No(new Blob([JSON.stringify(e.state.value)], {
3579
+ type: "text/plain;charset=utf-8"
3580
+ }), "pinia-state.json");
3581
+ } catch (t) {
3582
+ P("Failed to export the state as JSON. Check the console for more details.", "error"), console.error(t);
3583
+ }
3584
+ }
3585
+ let W;
3586
+ function Es() {
3587
+ W || (W = document.createElement("input"), W.type = "file", W.accept = ".json");
3588
+ function e() {
3589
+ return new Promise((t, n) => {
3590
+ W.onchange = async () => {
3591
+ const o = W.files;
3592
+ if (!o)
3593
+ return t(null);
3594
+ const r = o.item(0);
3595
+ return t(r ? { text: await r.text(), file: r } : null);
3596
+ }, W.oncancel = () => t(null), W.onerror = n, W.click();
3597
+ });
3598
+ }
3599
+ return e;
3600
+ }
3601
+ async function hs(e) {
3602
+ try {
3603
+ const n = await Es()();
3604
+ if (!n)
3605
+ return;
3606
+ const { text: o, file: r } = n;
3607
+ xo(e, JSON.parse(o)), P(`Global state imported from "${r.name}".`);
3608
+ } catch (t) {
3609
+ P("Failed to import the state from JSON. Check the console for more details.", "error"), console.error(t);
3610
+ }
3611
+ }
3612
+ function xo(e, t) {
3613
+ for (const n in t) {
3614
+ const o = e.state.value[n];
3615
+ o ? Object.assign(o, t[n]) : e.state.value[n] = t[n];
3616
+ }
3617
+ }
3618
+ function H(e) {
3619
+ return {
3620
+ _custom: {
3621
+ display: e
3622
+ }
3623
+ };
3624
+ }
3625
+ const Fo = "🍍 Pinia (root)", Ue = "_root";
3626
+ function ms(e) {
3627
+ return It(e) ? {
3628
+ id: Ue,
3629
+ label: Fo
3630
+ } : {
3631
+ id: e.$id,
3632
+ label: e.$id
3633
+ };
3634
+ }
3635
+ function gs(e) {
3636
+ if (It(e)) {
3637
+ const n = Array.from(e._s.keys()), o = e._s;
3638
+ return {
3639
+ state: n.map((u) => ({
3640
+ editable: !0,
3641
+ key: u,
3642
+ value: e.state.value[u]
3643
+ })),
3644
+ getters: n.filter((u) => o.get(u)._getters).map((u) => {
3645
+ const s = o.get(u);
3646
+ return {
3647
+ editable: !1,
3648
+ key: u,
3649
+ value: s._getters.reduce((i, l) => (i[l] = s[l], i), {})
3650
+ };
3651
+ })
3652
+ };
3653
+ }
3654
+ const t = {
3655
+ state: Object.keys(e.$state).map((n) => ({
3656
+ editable: !0,
3657
+ key: n,
3658
+ value: e.$state[n]
3659
+ }))
3660
+ };
3661
+ return e._getters && e._getters.length && (t.getters = e._getters.map((n) => ({
3662
+ editable: !1,
3663
+ key: n,
3664
+ value: e[n]
3665
+ }))), e._customProperties.size && (t.customProperties = Array.from(e._customProperties).map((n) => ({
3666
+ editable: !0,
3667
+ key: n,
3668
+ value: e[n]
3669
+ }))), t;
3670
+ }
3671
+ function vs(e) {
3672
+ 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), {
3673
+ oldValue: {},
3674
+ keys: [],
3675
+ operations: [],
3676
+ newValue: {}
3677
+ }) : {
3678
+ operation: H(e.type),
3679
+ key: H(e.key),
3680
+ oldValue: e.oldValue,
3681
+ newValue: e.newValue
3682
+ } : {};
3683
+ }
3684
+ function ys(e) {
3685
+ switch (e) {
3686
+ case G.direct:
3687
+ return "mutation";
3688
+ case G.patchFunction:
3689
+ return "$patch";
3690
+ case G.patchObject:
3691
+ return "$patch";
3692
+ default:
3693
+ return "unknown";
3694
+ }
3695
+ }
3696
+ let ce = !0;
3697
+ const Le = [], te = "pinia:mutations", N = "pinia", { assign: As } = Object, $e = (e) => "🍍 " + e;
3698
+ function Os(e, t) {
3699
+ _o({
3700
+ id: "dev.esm.pinia",
3701
+ label: "Pinia 🍍",
3702
+ logo: "https://pinia.vuejs.org/logo.svg",
3703
+ packageName: "pinia",
3704
+ homepage: "https://pinia.vuejs.org",
3705
+ componentStateTypes: Le,
3706
+ app: e
3707
+ }, (n) => {
3708
+ 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({
3709
+ id: te,
3710
+ label: "Pinia 🍍",
3711
+ color: 15064968
3712
+ }), n.addInspector({
3713
+ id: N,
3714
+ label: "Pinia 🍍",
3715
+ icon: "storage",
3716
+ treeFilterPlaceholder: "Search stores",
3717
+ actions: [
3718
+ {
3719
+ icon: "content_copy",
3720
+ action: () => {
3721
+ ds(t);
3722
+ },
3723
+ tooltip: "Serialize and copy the state"
3724
+ },
3725
+ {
3726
+ icon: "content_paste",
3727
+ action: async () => {
3728
+ await _s(t), n.sendInspectorTree(N), n.sendInspectorState(N);
3729
+ },
3730
+ tooltip: "Replace the state with the content of your clipboard"
3731
+ },
3732
+ {
3733
+ icon: "save",
3734
+ action: () => {
3735
+ ps(t);
3736
+ },
3737
+ tooltip: "Save the state as a JSON file"
3738
+ },
3739
+ {
3740
+ icon: "folder_open",
3741
+ action: async () => {
3742
+ await hs(t), n.sendInspectorTree(N), n.sendInspectorState(N);
3743
+ },
3744
+ tooltip: "Import the state from a JSON file"
3745
+ }
3746
+ ],
3747
+ nodeActions: [
3748
+ {
3749
+ icon: "restore",
3750
+ tooltip: 'Reset the state (with "$reset")',
3751
+ action: (o) => {
3752
+ const r = t._s.get(o);
3753
+ 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");
3754
+ }
3755
+ }
3756
+ ]
3757
+ }), n.on.inspectComponent((o) => {
3758
+ const r = o.componentInstance && o.componentInstance.proxy;
3759
+ if (r && r._pStores) {
3760
+ const u = o.componentInstance.proxy._pStores;
3761
+ Object.values(u).forEach((s) => {
3762
+ o.instanceData.state.push({
3763
+ type: $e(s.$id),
3764
+ key: "state",
3765
+ editable: !0,
3766
+ value: s._isOptionsAPI ? {
3767
+ _custom: {
3768
+ value: Se(s.$state),
3769
+ actions: [
3770
+ {
3771
+ icon: "restore",
3772
+ tooltip: "Reset the state of this store",
3773
+ action: () => s.$reset()
3774
+ }
3775
+ ]
3776
+ }
3777
+ } : (
3778
+ // NOTE: workaround to unwrap transferred refs
3779
+ Object.keys(s.$state).reduce((i, l) => (i[l] = s.$state[l], i), {})
3780
+ )
3781
+ }), s._getters && s._getters.length && o.instanceData.state.push({
3782
+ type: $e(s.$id),
3783
+ key: "getters",
3784
+ editable: !1,
3785
+ value: s._getters.reduce((i, l) => {
3786
+ try {
3787
+ i[l] = s[l];
3788
+ } catch (f) {
3789
+ i[l] = f;
3790
+ }
3791
+ return i;
3792
+ }, {})
3793
+ });
3794
+ });
3795
+ }
3796
+ }), n.on.getInspectorTree((o) => {
3797
+ if (o.app === e && o.inspectorId === N) {
3798
+ let r = [t];
3799
+ r = r.concat(Array.from(t._s.values())), o.rootNodes = (o.filter ? r.filter((u) => "$id" in u ? u.$id.toLowerCase().includes(o.filter.toLowerCase()) : Fo.toLowerCase().includes(o.filter.toLowerCase())) : r).map(ms);
3800
+ }
3801
+ }), globalThis.$pinia = t, n.on.getInspectorState((o) => {
3802
+ if (o.app === e && o.inspectorId === N) {
3803
+ const r = o.nodeId === Ue ? t : t._s.get(o.nodeId);
3804
+ if (!r)
3805
+ return;
3806
+ r && (o.nodeId !== Ue && (globalThis.$store = Se(r)), o.state = gs(r));
3807
+ }
3808
+ }), n.on.editInspectorState((o) => {
3809
+ if (o.app === e && o.inspectorId === N) {
3810
+ const r = o.nodeId === Ue ? t : t._s.get(o.nodeId);
3811
+ if (!r)
3812
+ return P(`store "${o.nodeId}" not found`, "error");
3813
+ const { path: u } = o;
3814
+ It(r) ? u.unshift("state") : (u.length !== 1 || !r._customProperties.has(u[0]) || u[0] in r.$state) && u.unshift("$state"), ce = !1, o.set(r, u, o.state.value), ce = !0;
3815
+ }
3816
+ }), n.on.editComponentState((o) => {
3817
+ if (o.type.startsWith("🍍")) {
3818
+ const r = o.type.replace(/^🍍\s*/, ""), u = t._s.get(r);
3819
+ if (!u)
3820
+ return P(`store "${r}" not found`, "error");
3821
+ const { path: s } = o;
3822
+ if (s[0] !== "state")
3823
+ return P(`Invalid path for store "${r}":
3824
+ ${s}
3825
+ Only state can be modified.`);
3826
+ s[0] = "$state", ce = !1, o.set(u, s, o.state.value), ce = !0;
3827
+ }
3828
+ });
3829
+ });
3830
+ }
3831
+ function Ss(e, t) {
3832
+ Le.includes($e(t.$id)) || Le.push($e(t.$id)), _o({
3833
+ id: "dev.esm.pinia",
3834
+ label: "Pinia 🍍",
3835
+ logo: "https://pinia.vuejs.org/logo.svg",
3836
+ packageName: "pinia",
3837
+ homepage: "https://pinia.vuejs.org",
3838
+ componentStateTypes: Le,
3839
+ app: e,
3840
+ settings: {
3841
+ logStoreChanges: {
3842
+ label: "Notify about new/deleted stores",
3843
+ type: "boolean",
3844
+ defaultValue: !0
3845
+ }
3846
+ // useEmojis: {
3847
+ // label: 'Use emojis in messages ⚡️',
3848
+ // type: 'boolean',
3849
+ // defaultValue: true,
3850
+ // },
3851
+ }
3852
+ }, (n) => {
3853
+ const o = typeof n.now == "function" ? n.now.bind(n) : Date.now;
3854
+ t.$onAction(({ after: s, onError: i, name: l, args: f }) => {
3855
+ const v = Uo++;
3856
+ n.addTimelineEvent({
3857
+ layerId: te,
3858
+ event: {
3859
+ time: o(),
3860
+ title: "🛫 " + l,
3861
+ subtitle: "start",
3862
+ data: {
3863
+ store: H(t.$id),
3864
+ action: H(l),
3865
+ args: f
3866
+ },
3867
+ groupId: v
3868
+ }
3869
+ }), s((c) => {
3870
+ J = void 0, n.addTimelineEvent({
3871
+ layerId: te,
3872
+ event: {
3873
+ time: o(),
3874
+ title: "🛬 " + l,
3875
+ subtitle: "end",
3876
+ data: {
3877
+ store: H(t.$id),
3878
+ action: H(l),
3879
+ args: f,
3880
+ result: c
3881
+ },
3882
+ groupId: v
3883
+ }
3884
+ });
3885
+ }), i((c) => {
3886
+ J = void 0, n.addTimelineEvent({
3887
+ layerId: te,
3888
+ event: {
3889
+ time: o(),
3890
+ logType: "error",
3891
+ title: "💥 " + l,
3892
+ subtitle: "end",
3893
+ data: {
3894
+ store: H(t.$id),
3895
+ action: H(l),
3896
+ args: f,
3897
+ error: c
3898
+ },
3899
+ groupId: v
3900
+ }
3901
+ });
3902
+ });
3903
+ }, !0), t._customProperties.forEach((s) => {
3904
+ zn(() => z(t[s]), (i, l) => {
3905
+ n.notifyComponentUpdate(), n.sendInspectorState(N), ce && n.addTimelineEvent({
3906
+ layerId: te,
3907
+ event: {
3908
+ time: o(),
3909
+ title: "Change",
3910
+ subtitle: s,
3911
+ data: {
3912
+ newValue: i,
3913
+ oldValue: l
3914
+ },
3915
+ groupId: J
3916
+ }
3917
+ });
3918
+ }, { deep: !0 });
3919
+ }), t.$subscribe(({ events: s, type: i }, l) => {
3920
+ if (n.notifyComponentUpdate(), n.sendInspectorState(N), !ce)
3921
+ return;
3922
+ const f = {
3923
+ time: o(),
3924
+ title: ys(i),
3925
+ data: As({ store: H(t.$id) }, vs(s)),
3926
+ groupId: J
3927
+ };
3928
+ i === G.patchFunction ? f.subtitle = "⤵️" : i === G.patchObject ? f.subtitle = "🧩" : s && !Array.isArray(s) && (f.subtitle = s.type), s && (f.data["rawEvent(s)"] = {
3929
+ _custom: {
3930
+ display: "DebuggerEvent",
3931
+ type: "object",
3932
+ tooltip: "raw DebuggerEvent[]",
3933
+ value: s
3934
+ }
3935
+ }), n.addTimelineEvent({
3936
+ layerId: te,
3937
+ event: f
3938
+ });
3939
+ }, { detached: !0, flush: "sync" });
3940
+ const r = t._hotUpdate;
3941
+ t._hotUpdate = Z((s) => {
3942
+ r(s), n.addTimelineEvent({
3943
+ layerId: te,
3944
+ event: {
3945
+ time: o(),
3946
+ title: "🔥 " + t.$id,
3947
+ subtitle: "HMR update",
3948
+ data: {
3949
+ store: H(t.$id),
3950
+ info: H("HMR update")
3951
+ }
3952
+ }
3953
+ }), n.notifyComponentUpdate(), n.sendInspectorTree(N), n.sendInspectorState(N);
3954
+ });
3955
+ const { $dispose: u } = t;
3956
+ t.$dispose = () => {
3957
+ u(), n.notifyComponentUpdate(), n.sendInspectorTree(N), n.sendInspectorState(N), n.getSettings().logStoreChanges && P(`Disposed "${t.$id}" store 🗑`);
3958
+ }, n.notifyComponentUpdate(), n.sendInspectorTree(N), n.sendInspectorState(N), n.getSettings().logStoreChanges && P(`"${t.$id}" store installed 🆕`);
3959
+ });
3960
+ }
3961
+ let Uo = 0, J;
3962
+ function Un(e, t, n) {
3963
+ const o = t.reduce((r, u) => (r[u] = Se(e)[u], r), {});
3964
+ for (const r in o)
3965
+ e[r] = function() {
3966
+ const u = Uo, s = n ? new Proxy(e, {
3967
+ get(...l) {
3968
+ return J = u, Reflect.get(...l);
3969
+ },
3970
+ set(...l) {
3971
+ return J = u, Reflect.set(...l);
3972
+ }
3973
+ }) : e;
3974
+ J = u;
3975
+ const i = o[r].apply(s, arguments);
3976
+ return J = void 0, i;
3977
+ };
3978
+ }
3979
+ function Cs({ app: e, store: t, options: n }) {
3980
+ if (!t.$id.startsWith("__hot:")) {
3981
+ if (t._isOptionsAPI = !!n.state, !t._p._testing) {
3982
+ Un(t, Object.keys(n.actions), t._isOptionsAPI);
3983
+ const o = t._hotUpdate;
3984
+ Se(t)._hotUpdate = function(r) {
3985
+ o.apply(this, arguments), Un(t, Object.keys(r._hmrPayload.actions), !!t._isOptionsAPI);
3986
+ };
3987
+ }
3988
+ Ss(
3989
+ e,
3990
+ // FIXME: is there a way to allow the assignment from Store<Id, S, G, A> to StoreGeneric?
3991
+ t
3992
+ );
3993
+ }
3994
+ }
3995
+ function Ts() {
3996
+ const e = Kn(!0), t = e.run(() => He({}));
3997
+ let n = [], o = [];
3998
+ const r = Z({
3999
+ install(u) {
4000
+ ke(r), r._a = u, u.provide(ko, r), u.config.globalProperties.$pinia = r, process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && X && Os(u, r), o.forEach((s) => n.push(s)), o = [];
4001
+ },
4002
+ use(u) {
4003
+ return this._a ? n.push(u) : o.push(u), this;
4004
+ },
4005
+ _p: n,
4006
+ // it's actually undefined here
4007
+ // @ts-expect-error
4008
+ _a: null,
4009
+ _e: e,
4010
+ _s: /* @__PURE__ */ new Map(),
4011
+ state: t
4012
+ });
4013
+ return process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && X && typeof Proxy < "u" && r.use(Cs), r;
4014
+ }
4015
+ function Lo(e, t) {
4016
+ for (const n in t) {
4017
+ const o = t[n];
4018
+ if (!(n in e))
4019
+ continue;
4020
+ const r = e[n];
4021
+ ue(r) && ue(o) && !Ce(o) && !dt(o) ? e[n] = Lo(r, o) : e[n] = o;
4022
+ }
4023
+ return e;
4024
+ }
4025
+ const Bo = () => {
4026
+ };
4027
+ function Ln(e, t, n, o = Bo) {
4028
+ e.push(t);
4029
+ const r = () => {
4030
+ const u = e.indexOf(t);
4031
+ u > -1 && (e.splice(u, 1), o());
4032
+ };
4033
+ return !n && Go() && Wo(r), r;
4034
+ }
4035
+ function ae(e, ...t) {
4036
+ e.slice().forEach((n) => {
4037
+ n(...t);
4038
+ });
4039
+ }
4040
+ const bs = (e) => e(), Bn = Symbol(), Qe = Symbol();
4041
+ function ct(e, t) {
4042
+ 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);
4043
+ for (const n in t) {
4044
+ if (!t.hasOwnProperty(n))
4045
+ continue;
4046
+ const o = t[n], r = e[n];
4047
+ ue(r) && ue(o) && e.hasOwnProperty(n) && !Ce(o) && !dt(o) ? e[n] = ct(r, o) : e[n] = o;
4048
+ }
4049
+ return e;
4050
+ }
4051
+ const Is = process.env.NODE_ENV !== "production" ? Symbol("pinia:skipHydration") : (
4052
+ /* istanbul ignore next */
4053
+ Symbol()
4054
+ );
4055
+ function Ds(e) {
4056
+ return !ue(e) || !Object.prototype.hasOwnProperty.call(e, Is);
4057
+ }
4058
+ const { assign: B } = Object;
4059
+ function Mn(e) {
4060
+ return !!(Ce(e) && e.effect);
4061
+ }
4062
+ function $n(e, t, n, o) {
4063
+ const { state: r, actions: u, getters: s } = t, i = n.state.value[e];
4064
+ let l;
4065
+ function f() {
4066
+ !i && (process.env.NODE_ENV === "production" || !o) && (n.state.value[e] = r ? r() : {});
4067
+ const v = process.env.NODE_ENV !== "production" && o ? (
4068
+ // use ref() to unwrap refs inside state TODO: check if this is still necessary
4069
+ Pt(He(r ? r() : {}).value)
4070
+ ) : Pt(n.state.value[e]);
4071
+ return B(v, u, Object.keys(s || {}).reduce((c, y) => (process.env.NODE_ENV !== "production" && y in v && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${y}" in store "${e}".`), c[y] = Z(Q(() => {
4072
+ ke(n);
4073
+ const d = n._s.get(e);
4074
+ return s[y].call(d, d);
4075
+ })), c), {}));
4076
+ }
4077
+ return l = ft(e, f, t, n, o, !0), l;
4078
+ }
4079
+ function ft(e, t, n = {}, o, r, u) {
4080
+ let s;
4081
+ const i = B({ actions: {} }, n);
4082
+ if (process.env.NODE_ENV !== "production" && !o._e.active)
4083
+ throw new Error("Pinia destroyed");
4084
+ const l = { deep: !0 };
4085
+ process.env.NODE_ENV !== "production" && (l.onTrigger = (g) => {
4086
+ f ? d = g : f == !1 && !O._hotUpdating && (Array.isArray(d) ? d.push(g) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
4087
+ });
4088
+ let f, v, c = [], y = [], d;
4089
+ const _ = o.state.value[e];
4090
+ !u && !_ && (process.env.NODE_ENV === "production" || !r) && (o.state.value[e] = {});
4091
+ const A = He({});
4092
+ let h;
4093
+ function m(g) {
4094
+ let E;
4095
+ f = v = !1, process.env.NODE_ENV !== "production" && (d = []), typeof g == "function" ? (g(o.state.value[e]), E = {
4096
+ type: G.patchFunction,
4097
+ storeId: e,
4098
+ events: d
4099
+ }) : (ct(o.state.value[e], g), E = {
4100
+ type: G.patchObject,
4101
+ payload: g,
4102
+ storeId: e,
4103
+ events: d
4104
+ });
4105
+ const b = h = Symbol();
4106
+ wt().then(() => {
4107
+ h === b && (f = !0);
4108
+ }), v = !0, ae(c, E, o.state.value[e]);
4109
+ }
4110
+ const T = u ? function() {
4111
+ const { state: E } = n, b = E ? E() : {};
4112
+ this.$patch((w) => {
4113
+ B(w, b);
4114
+ });
4115
+ } : (
4116
+ /* istanbul ignore next */
4117
+ process.env.NODE_ENV !== "production" ? () => {
4118
+ throw new Error(`🍍: Store "${e}" is built using the setup syntax and does not implement $reset().`);
4119
+ } : Bo
4120
+ );
4121
+ function C() {
4122
+ s.stop(), c = [], y = [], o._s.delete(e);
4123
+ }
4124
+ const V = (g, E = "") => {
4125
+ if (Bn in g)
4126
+ return g[Qe] = E, g;
4127
+ const b = function() {
4128
+ ke(o);
4129
+ const w = Array.from(arguments), L = [], se = [];
4130
+ function M(D) {
4131
+ L.push(D);
4132
+ }
4133
+ function S(D) {
4134
+ se.push(D);
4135
+ }
4136
+ ae(y, {
4137
+ args: w,
4138
+ name: b[Qe],
4139
+ store: O,
4140
+ after: M,
4141
+ onError: S
4142
+ });
4143
+ let j;
4144
+ try {
4145
+ j = g.apply(this && this.$id === e ? this : O, w);
4146
+ } catch (D) {
4147
+ throw ae(se, D), D;
4148
+ }
4149
+ return j instanceof Promise ? j.then((D) => (ae(L, D), D)).catch((D) => (ae(se, D), Promise.reject(D))) : (ae(L, j), j);
4150
+ };
4151
+ return b[Bn] = !0, b[Qe] = E, b;
4152
+ }, Y = /* @__PURE__ */ Z({
4153
+ actions: {},
4154
+ getters: {},
4155
+ state: [],
4156
+ hotState: A
4157
+ }), U = {
4158
+ _p: o,
4159
+ // _s: scope,
4160
+ $id: e,
4161
+ $onAction: Ln.bind(null, y),
4162
+ $patch: m,
4163
+ $reset: T,
4164
+ $subscribe(g, E = {}) {
4165
+ const b = Ln(c, g, E.detached, () => w()), w = s.run(() => zn(() => o.state.value[e], (L) => {
4166
+ (E.flush === "sync" ? v : f) && g({
4167
+ storeId: e,
4168
+ type: G.direct,
4169
+ events: d
4170
+ }, L);
4171
+ }, B({}, l, E)));
4172
+ return b;
4173
+ },
4174
+ $dispose: C
4175
+ }, O = zo(process.env.NODE_ENV !== "production" || process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && X ? B(
4176
+ {
4177
+ _hmrPayload: Y,
4178
+ _customProperties: Z(/* @__PURE__ */ new Set())
4179
+ // devtools custom properties
4180
+ },
4181
+ U
4182
+ // must be added later
4183
+ // setupStore
4184
+ ) : U);
4185
+ o._s.set(e, O);
4186
+ const x = (o._a && o._a.runWithContext || bs)(() => o._e.run(() => (s = Kn()).run(() => t({ action: V }))));
4187
+ for (const g in x) {
4188
+ const E = x[g];
4189
+ if (Ce(E) && !Mn(E) || dt(E))
4190
+ process.env.NODE_ENV !== "production" && r ? A.value[g] = Ye(x, g) : u || (_ && Ds(E) && (Ce(E) ? E.value = _[g] : ct(E, _[g])), o.state.value[e][g] = E), process.env.NODE_ENV !== "production" && Y.state.push(g);
4191
+ else if (typeof E == "function") {
4192
+ const b = process.env.NODE_ENV !== "production" && r ? E : V(E, g);
4193
+ x[g] = b, process.env.NODE_ENV !== "production" && (Y.actions[g] = E), i.actions[g] = E;
4194
+ } else process.env.NODE_ENV !== "production" && Mn(E) && (Y.getters[g] = u ? (
4195
+ // @ts-expect-error
4196
+ n.getters[g]
4197
+ ) : E, X && (x._getters || // @ts-expect-error: same
4198
+ (x._getters = Z([]))).push(g));
4199
+ }
4200
+ if (B(O, x), B(Se(O), x), Object.defineProperty(O, "$state", {
4201
+ get: () => process.env.NODE_ENV !== "production" && r ? A.value : o.state.value[e],
4202
+ set: (g) => {
4203
+ if (process.env.NODE_ENV !== "production" && r)
4204
+ throw new Error("cannot set hotState");
4205
+ m((E) => {
4206
+ B(E, g);
4207
+ });
4208
+ }
4209
+ }), process.env.NODE_ENV !== "production" && (O._hotUpdate = Z((g) => {
4210
+ O._hotUpdating = !0, g._hmrPayload.state.forEach((E) => {
4211
+ if (E in O.$state) {
4212
+ const b = g.$state[E], w = O.$state[E];
4213
+ typeof b == "object" && ue(b) && ue(w) ? Lo(b, w) : g.$state[E] = w;
4214
+ }
4215
+ O[E] = Ye(g.$state, E);
4216
+ }), Object.keys(O.$state).forEach((E) => {
4217
+ E in g.$state || delete O[E];
4218
+ }), f = !1, v = !1, o.state.value[e] = Ye(g._hmrPayload, "hotState"), v = !0, wt().then(() => {
4219
+ f = !0;
4220
+ });
4221
+ for (const E in g._hmrPayload.actions) {
4222
+ const b = g[E];
4223
+ O[E] = //
4224
+ V(b, E);
4225
+ }
4226
+ for (const E in g._hmrPayload.getters) {
4227
+ const b = g._hmrPayload.getters[E], w = u ? (
4228
+ // special handling of options api
4229
+ Q(() => (ke(o), b.call(O, O)))
4230
+ ) : b;
4231
+ O[E] = //
4232
+ w;
4233
+ }
4234
+ Object.keys(O._hmrPayload.getters).forEach((E) => {
4235
+ E in g._hmrPayload.getters || delete O[E];
4236
+ }), Object.keys(O._hmrPayload.actions).forEach((E) => {
4237
+ E in g._hmrPayload.actions || delete O[E];
4238
+ }), O._hmrPayload = g._hmrPayload, O._getters = g._getters, O._hotUpdating = !1;
4239
+ })), process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && X) {
4240
+ const g = {
4241
+ writable: !0,
4242
+ configurable: !0,
4243
+ // avoid warning on devtools trying to display this property
4244
+ enumerable: !1
4245
+ };
4246
+ ["_p", "_hmrPayload", "_getters", "_customProperties"].forEach((E) => {
4247
+ Object.defineProperty(O, E, B({ value: O[E] }, g));
4248
+ });
4249
+ }
4250
+ return o._p.forEach((g) => {
4251
+ if (process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && X) {
4252
+ const E = s.run(() => g({
4253
+ store: O,
4254
+ app: o._a,
4255
+ pinia: o,
4256
+ options: i
4257
+ }));
4258
+ Object.keys(E || {}).forEach((b) => O._customProperties.add(b)), B(O, E);
4259
+ } else
4260
+ B(O, s.run(() => g({
4261
+ store: O,
4262
+ app: o._a,
4263
+ pinia: o,
4264
+ options: i
4265
+ })));
4266
+ }), process.env.NODE_ENV !== "production" && O.$state && typeof O.$state == "object" && typeof O.$state.constructor == "function" && !O.$state.constructor.toString().includes("[native code]") && console.warn(`[🍍]: The "state" must be a plain object. It cannot be
4267
+ state: () => new MyClass()
4268
+ Found in store "${O.$id}".`), _ && u && n.hydrate && n.hydrate(O.$state, _), f = !0, v = !0, O;
4269
+ }
4270
+ /*! #__NO_SIDE_EFFECTS__ */
4271
+ // @__NO_SIDE_EFFECTS__
4272
+ function ks(e, t, n) {
4273
+ let o;
4274
+ const r = typeof t == "function";
4275
+ o = r ? n : t;
4276
+ function u(s, i) {
4277
+ const l = jo();
4278
+ if (s = // in test mode, ignore the argument provided as we can always retrieve a
4279
+ // pinia instance with getActivePinia()
4280
+ (process.env.NODE_ENV === "test" && ye && ye._testing ? null : s) || (l ? oe(ko, null) : null), s && ke(s), process.env.NODE_ENV !== "production" && !ye)
4281
+ throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
4282
+ See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
4283
+ This will fail in production.`);
4284
+ s = ye, s._s.has(e) || (r ? ft(e, t, o, s) : $n(e, o, s), process.env.NODE_ENV !== "production" && (u._pinia = s));
4285
+ const f = s._s.get(e);
4286
+ if (process.env.NODE_ENV !== "production" && i) {
4287
+ const v = "__hot:" + e, c = r ? ft(v, t, o, s, !0) : $n(v, B({}, o), s, !0);
4288
+ i._hotUpdate(c), delete s.state.value[v], s._s.delete(v);
4289
+ }
4290
+ if (process.env.NODE_ENV !== "production" && X) {
4291
+ const v = Ko();
4292
+ if (v && v.proxy && // avoid adding stores that are just built for hot module replacement
4293
+ !i) {
4294
+ const c = v.proxy, y = "_pStores" in c ? c._pStores : c._pStores = {};
4295
+ y[e] = f;
4296
+ }
4297
+ }
4298
+ return f;
4299
+ }
4300
+ return u.$id = e, u;
4301
+ }
4302
+ const Mo = "vue-popup-plus", Dt = {
4303
+ INSTANCE_ID: Symbol(`${Mo}-instance-id`)
4304
+ }, Pe = {
4305
+ INSTANCE_STORE: Symbol(`${Mo}-instance-store`)
4306
+ }, Hn = {
4307
+ NONE: Symbol("none"),
4308
+ FADE: Symbol("fade"),
4309
+ SCALE_ENLARGE: Symbol("scale-enlarge"),
4310
+ SCALE_SHRINK: Symbol("scale-shrink"),
4311
+ FLY_TOP: Symbol("fly-top"),
4312
+ FLY_LEFT: Symbol("fly-left"),
4313
+ FLY_RIGHT: Symbol("fly-right"),
4314
+ FLY_BOTTOM: Symbol("fly-bottom")
4315
+ };
4316
+ function ws(e) {
4317
+ return new Promise((t) => {
4318
+ setTimeout(t, e);
4319
+ });
4320
+ }
4321
+ const Ps = /* @__PURE__ */ je({
4322
+ name: "PopupMask",
4323
+ __name: "PopupMask",
4324
+ setup(e) {
4325
+ const t = oe(Dt.INSTANCE_ID), n = oe(
4326
+ Pe.INSTANCE_STORE
4327
+ ), o = Q(() => ({
4328
+ zIndex: n.zIndex
4329
+ }));
4330
+ function r() {
4331
+ n.maskClickCloseEnabled && js().destroy(t);
4332
+ }
4333
+ return (u, s) => (fe(), _t("div", {
4334
+ class: "popup-mask",
4335
+ style: Be(o.value),
4336
+ onClick: r
4337
+ }, null, 4));
4338
+ }
4339
+ }), $o = (e, t) => {
4340
+ const n = e.__vccOpts || e;
4341
+ for (const [o, r] of t)
4342
+ n[o] = r;
4343
+ return n;
4344
+ }, Ns = /* @__PURE__ */ $o(Ps, [["__scopeId", "data-v-201bb261"]]), Rs = /* @__PURE__ */ je({
4345
+ name: "PopupView",
4346
+ __name: "PopupView",
4347
+ setup(e) {
4348
+ const t = oe(Dt.INSTANCE_ID), n = oe(
4349
+ Pe.INSTANCE_STORE
4350
+ ), o = Q(() => typeof n.component == "function" ? Yo(n.component) : n.component), r = Q(() => ({
4351
+ width: u(n.width),
4352
+ maxWidth: u(n.maxWidth),
4353
+ minWidth: u(n.minWidth),
4354
+ height: u(n.height),
4355
+ maxHeight: u(n.maxHeight),
4356
+ minHeight: u(n.minHeight)
4357
+ }));
4358
+ function u(s) {
4359
+ return typeof s == "number" ? `${s}px` : s;
4360
+ }
4361
+ return (s, i) => (fe(), _t("div", {
4362
+ class: "popup-view-wrapper",
4363
+ style: Be({ zIndex: z(n).zIndex })
4364
+ }, [
4365
+ qo("div", {
4366
+ class: "popup-view",
4367
+ style: Be(r.value)
4368
+ }, [
4369
+ (fe(), pt(Zo(o.value), Xo({
4370
+ key: `${z(t).name}-component`
4371
+ }, z(n).componentProps), null, 16))
4372
+ ], 4)
4373
+ ], 4));
4374
+ }
4375
+ }), Vs = /* @__PURE__ */ $o(Rs, [["__scopeId", "data-v-fc20a73d"]]), jn = /* @__PURE__ */ je({
4376
+ name: "PopupAnimation",
4377
+ __name: "PopupAnimation",
4378
+ props: {
4379
+ type: {},
4380
+ duration: {}
4381
+ },
4382
+ setup(e) {
4383
+ Jo((s) => ({
4384
+ "8298d78c": u.value
4385
+ }));
4386
+ const t = oe(
4387
+ Pe.INSTANCE_STORE
4388
+ ), n = He(!1), o = Q(
4389
+ () => `vue-popup-plus-animation vue-popup-plus-animation-enter-${e.type.description}`
4390
+ ), r = Q(
4391
+ () => `vue-popup-plus-animation vue-popup-plus-animation-leave-${e.type.description}`
4392
+ ), u = Q(() => `${e.duration}ms`);
4393
+ return Qo(() => {
4394
+ n.value = !0;
4395
+ }), (s, i) => (fe(), pt(er, {
4396
+ "enter-active-class": o.value,
4397
+ "leave-active-class": r.value
4398
+ }, {
4399
+ default: et(() => [
4400
+ n.value && !z(t).isBeforeUnmount ? tr(s.$slots, "default", {
4401
+ key: 0,
4402
+ style: Be({ animationDuration: `${s.duration}ms` })
4403
+ }) : Gn("", !0)
4404
+ ]),
4405
+ _: 3
4406
+ }, 8, ["enter-active-class", "leave-active-class"]));
4407
+ }
4408
+ }), xs = /* @__PURE__ */ je({
4409
+ name: "Popup",
4410
+ __name: "Popup",
4411
+ setup(e) {
4412
+ const t = oe(
4413
+ Pe.INSTANCE_STORE
4414
+ );
4415
+ return (n, o) => (fe(), _t(nr, null, [
4416
+ z(t).mask ? (fe(), pt(jn, {
4417
+ key: 0,
4418
+ duration: z(t).animationDuration,
4419
+ type: z(t).maskAnimation
4420
+ }, {
4421
+ default: et(() => [
4422
+ qe(Ns)
4423
+ ]),
4424
+ _: 1
4425
+ }, 8, ["duration", "type"])) : Gn("", !0),
4426
+ qe(jn, {
4427
+ duration: z(t).animationDuration,
4428
+ type: z(t).viewAnimation
4429
+ }, {
4430
+ default: et(() => [
4431
+ qe(Vs)
4432
+ ]),
4433
+ _: 1
4434
+ }, 8, ["duration", "type"])
4435
+ ], 64));
4436
+ }
4437
+ });
4438
+ function Fs(e, { component: t, ...n }) {
4439
+ return (/* @__PURE__ */ ks(e.name, {
4440
+ state: () => ({
4441
+ ...n,
4442
+ component: Z(t),
4443
+ isBeforeUnmount: !1
4444
+ })
4445
+ }))();
4446
+ }
4447
+ class Us {
4448
+ #e;
4449
+ get seed() {
4450
+ return this.#e;
4451
+ }
4452
+ get name() {
4453
+ return `vue-popup-instance-${this.seed}`;
4454
+ }
4455
+ constructor(t) {
4456
+ this.#e = t;
4457
+ }
4458
+ }
4459
+ class Oe {
4460
+ static #e;
4461
+ #o;
4462
+ #n;
4463
+ #t;
4464
+ get id() {
4465
+ return this.#o;
4466
+ }
4467
+ constructor(t, n) {
4468
+ this.#o = new Us(t), this.#n = or(xs), this.#n.provide(Dt.INSTANCE_ID, this.id), Oe.#e = Oe.#e || Ts(), this.#n.use(Oe.#e), this.#t = Fs(this.#o, n), this.#n.provide(
4469
+ Pe.INSTANCE_STORE,
4470
+ this.#t
4471
+ );
4472
+ }
4473
+ mount() {
4474
+ return this.#n.mount(this.#t.el), this.#t.onMounted(), this.id;
4475
+ }
4476
+ async unmount(t) {
4477
+ this.#t.isBeforeUnmount = !0, await ws(this.#t.animationDuration), this.#n.unmount(), this.#t.onUnmounted(t);
4478
+ }
4479
+ updateStore(t) {
4480
+ this.#t.$patch((n) => {
4481
+ Object.assign(n, t);
4482
+ });
4483
+ }
4484
+ }
4485
+ const Ls = {
4486
+ componentProps: {},
4487
+ onMounted: () => {
4488
+ },
4489
+ onUnmounted: () => {
4490
+ },
4491
+ mask: !0,
4492
+ maskClickCloseEnabled: !1,
4493
+ autoHideWindowScroll: !0,
4494
+ width: "auto",
4495
+ maxWidth: "auto",
4496
+ minWidth: "auto",
4497
+ height: "auto",
4498
+ maxHeight: "auto",
4499
+ minHeight: "auto",
4500
+ animationDuration: 100,
4501
+ maskAnimation: Hn.FADE,
4502
+ viewAnimation: Hn.FADE
4503
+ };
4504
+ class Bs {
4505
+ #e;
4506
+ constructor(t) {
4507
+ this.#e = t;
4508
+ }
4509
+ render({ el: t, zIndex: n, ...o }) {
4510
+ t = t || document.body.appendChild(document.createElement("div")), n = n ?? this.#e.config.zIndex++;
4511
+ const r = new Oe(this.#e.seed, {
4512
+ ...Ls,
4513
+ ...o,
4514
+ zIndex: n,
4515
+ el: t
4516
+ });
4517
+ return this.#e.addInstance(r), r.mount(), r.id;
4518
+ }
4519
+ update(t, n) {
4520
+ const o = this.#e.getInstance(t);
4521
+ o && o.updateStore(n);
4522
+ }
4523
+ async destroy(t, n) {
4524
+ const o = this.#e.getInstance(t);
4525
+ o && (await o.unmount(n), this.#e.removeInstance(o));
4526
+ }
4527
+ install(t) {
4528
+ t.config.globalProperties[this.#e.config.prototypeName] = this;
4529
+ }
4530
+ }
4531
+ let Ho;
4532
+ function Ms(e) {
4533
+ return new Hs(e);
4534
+ }
4535
+ function $s() {
4536
+ return Ho;
4537
+ }
4538
+ class Hs {
4539
+ #e = 1;
4540
+ #o = {};
4541
+ #n;
4542
+ #t;
4543
+ // #plugins: { [key: string]: any }
4544
+ get seed() {
4545
+ return this.#e++;
4546
+ }
4547
+ get config() {
4548
+ return this.#t;
4549
+ }
4550
+ get controller() {
4551
+ return this.#n;
4552
+ }
4553
+ constructor({ zIndex: t = 1e3, prototypeName: n = "$popup" } = {}) {
4554
+ this.#t = { zIndex: t, prototypeName: n }, this.#n = new Bs(this), Ho = this;
4555
+ }
4556
+ addInstance(t) {
4557
+ this.#o[t.id.name] = t;
4558
+ }
4559
+ getInstance(t) {
4560
+ return this.#o[t.name];
4561
+ }
4562
+ removeInstance(t) {
4563
+ delete this.#o[t.id.name];
4564
+ }
4565
+ }
4566
+ const zs = "1.0.0";
4567
+ function Gs(e) {
4568
+ return Ms(e).controller;
4569
+ }
4570
+ function js() {
4571
+ return $s().controller;
4572
+ }
4573
+ export {
4574
+ Hn as POPUP_ANIMATIONS,
4575
+ Dt as POPUP_COMPONENT_INJECT_KEYS,
4576
+ Gs as createPopup,
4577
+ js as usePopup,
4578
+ zs as version
4579
+ };