@oneclick.dev/cms-core-modules 0.0.83 → 0.0.85

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/dist/{ContentEditor-CxKirDdL.mjs → ContentEditor-C5ydvk8b.mjs} +7067 -5886
  2. package/dist/{ContentEditor-CRFkD4tE.js → ContentEditor-DiveHwSJ.js} +43 -43
  3. package/dist/{Create-CsqVYhPO.mjs → Create-6uT9HWar.mjs} +35 -35
  4. package/dist/{Create-ip0MnS0o.js → Create-DuZ5nZrX.js} +1 -1
  5. package/dist/{DateFormatter-CvOfaUnU.mjs → DateFormatter-2B0R-DY4.mjs} +204 -400
  6. package/dist/DateFormatter-DbtOLV0L.js +1 -0
  7. package/dist/{Detail-RMXFuSRQ.js → Detail-BZ-iE9vf.js} +1 -1
  8. package/dist/{Detail-B4b_FLDa.mjs → Detail-C1Blq61w.mjs} +90 -90
  9. package/dist/{Detail-BayNaAg9.js → Detail-C8wQiDcv.js} +1 -1
  10. package/dist/{Detail-CbLk1v37.mjs → Detail-CJVMJDP7.mjs} +17 -17
  11. package/dist/{Detail-CnK-qbhE.js → Detail-CPqug27l.js} +1 -1
  12. package/dist/Detail-CjuhjPby.js +1 -0
  13. package/dist/{Detail-U0mgLKt6.mjs → Detail-CtItxMX4.mjs} +62 -63
  14. package/dist/{Detail-CVgWHbMC.mjs → Detail-Dnpnmy4-.mjs} +158 -158
  15. package/dist/{Entries-D7MHylQE.mjs → Entries-BkOPae4R.mjs} +49 -49
  16. package/dist/Entries-CcEW98F5.js +1 -0
  17. package/dist/{Find-XPcJxeRH.mjs → Find-Bd1uLqSa.mjs} +55 -55
  18. package/dist/Find-D4Qa45qC.js +1 -0
  19. package/dist/{NewReservationDialog.vue_vue_type_script_setup_true_lang-CDc8MIq2.mjs → NewReservationDialog.vue_vue_type_script_setup_true_lang-Bc946oSc.mjs} +1 -1
  20. package/dist/{NewReservationDialog.vue_vue_type_script_setup_true_lang-StaNp-3y.js → NewReservationDialog.vue_vue_type_script_setup_true_lang-CqERfyYb.js} +1 -1
  21. package/dist/{Overview-CwCAeBnX.js → Overview-CA8wh_BI.js} +1 -1
  22. package/dist/{Overview-CgViRnNc.mjs → Overview-D4MFwRI_.mjs} +67 -68
  23. package/dist/{Overview-B2bFNGhH.js → Overview-Da0XexiT.js} +1 -1
  24. package/dist/Overview-DeQQ0FY3.js +1 -0
  25. package/dist/{Overview--XpvBbqz.mjs → Overview-DoOASlNz.mjs} +1 -3
  26. package/dist/{Overview-Cczt_dcE.mjs → Overview-gJSvftdE.mjs} +34 -34
  27. package/dist/{ReservationDetailDialog.vue_vue_type_script_setup_true_lang-B7ks5mbf.mjs → ReservationDetailDialog.vue_vue_type_script_setup_true_lang-Cohhnd5x.mjs} +0 -1
  28. package/dist/{ReservationDetailDialog.vue_vue_type_script_setup_true_lang-Vxubki_v.js → ReservationDetailDialog.vue_vue_type_script_setup_true_lang-VWVIxIr6.js} +1 -1
  29. package/dist/{SeoHealth-ZpvB7CS2.mjs → SeoHealth-Bc5chnaa.mjs} +14 -14
  30. package/dist/{SeoHealth-DFZ0LLBH.js → SeoHealth-BkpJ1F2Y.js} +1 -1
  31. package/dist/TableView-Ei_w_-bn.mjs +5745 -0
  32. package/dist/TableView-klOTPJKZ.js +4 -0
  33. package/dist/View-BaFlMcM6.js +1 -0
  34. package/dist/View-C4MBWRlA.mjs +28 -0
  35. package/dist/{agenda-Cl3s_FIE.mjs → agenda-C5grvzSa.mjs} +166 -169
  36. package/dist/agenda-DXMwVWpN.js +1 -0
  37. package/dist/{availability-B-tRp8hB.mjs → availability-C1NqOFsQ.mjs} +81 -81
  38. package/dist/{availability-BiBbzEIM.js → availability-D_wnfLsH.js} +1 -1
  39. package/dist/cms-core-modules.css +1 -1
  40. package/dist/{exceptions-DQPSFSj7.mjs → exceptions-BIwMhYa4.mjs} +1 -1
  41. package/dist/{exceptions-BA3PsW4n.js → exceptions-Cn7zooEu.js} +1 -1
  42. package/dist/{index-CBC9dWZ9.js → index-C9pSS15N.js} +2 -2
  43. package/dist/{index-YOOlBEZB.mjs → index-MwjeLHPP.mjs} +3 -3
  44. package/dist/index.cjs.js +1 -1
  45. package/dist/index.mjs +23 -23
  46. package/dist/{orders-DZzdsHOW.mjs → orders-DhQ2EFXS.mjs} +157 -157
  47. package/dist/orders-V1pch_ih.js +1 -0
  48. package/dist/server-handlers.cjs.js +1 -1
  49. package/dist/server-handlers.mjs +142 -147
  50. package/package.json +2 -2
  51. package/dist/DateFormatter-ls6HfWpS.js +0 -1
  52. package/dist/Detail-BcboL7NF.js +0 -1
  53. package/dist/Entries-BPkZ7Jg5.js +0 -1
  54. package/dist/Find-Ds6OvuH6.js +0 -1
  55. package/dist/Overview-B-8TLLjh.js +0 -1
  56. package/dist/TableView-BUPPcHUW.mjs +0 -89505
  57. package/dist/TableView-CksiPsTL.js +0 -586
  58. package/dist/View-DDXN0tKD.mjs +0 -25
  59. package/dist/View-DfzaVOzS.js +0 -1
  60. package/dist/agenda-rlFma_wn.js +0 -1
  61. package/dist/floating-ui.dom-B9WYoHj2.js +0 -1
  62. package/dist/floating-ui.dom-fpIfhXTZ.mjs +0 -1291
  63. package/dist/index-DYpruS-A-Cw57iwdY.mjs +0 -4210
  64. package/dist/index-DYpruS-A-DwDXo9Tq.js +0 -88
  65. package/dist/index-YMaY4uuk-BgpTtr73.js +0 -1
  66. package/dist/index-YMaY4uuk-C_xV5K9Z.mjs +0 -1300
  67. package/dist/orders-tP4WdF5q.js +0 -1
@@ -1,1300 +0,0 @@
1
- var X, Fe, Oe, ce, an = Object.create, We = Object.defineProperty, ln = Object.getOwnPropertyDescriptor, Ne = Object.getOwnPropertyNames, cn = Object.getPrototypeOf, un = Object.prototype.hasOwnProperty, te = (X = { "../../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"() {
2
- } }, function() {
3
- return X && (Fe = (0, X[Ne(X)[0]])(X = 0)), Fe;
4
- }), dn = (Oe = { "../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js"(e, t) {
5
- function n(o) {
6
- return o instanceof Buffer ? Buffer.from(o) : new o.constructor(o.buffer.slice(), o.byteOffset, o.length);
7
- }
8
- te(), t.exports = function(o) {
9
- if ((o = o || {}).circles) return (function(a) {
10
- const l = [], u = [], h = /* @__PURE__ */ new Map();
11
- if (h.set(Date, (d) => new Date(d)), h.set(Map, (d, _) => new Map(E(Array.from(d), _))), h.set(Set, (d, _) => new Set(E(Array.from(d), _))), a.constructorHandlers) for (const d of a.constructorHandlers) h.set(d[0], d[1]);
12
- let f = null;
13
- return a.proto ? T : O;
14
- function E(d, _) {
15
- const y = Object.keys(d), m = new Array(y.length);
16
- for (let S = 0; S < y.length; S++) {
17
- const D = y[S], w = d[D];
18
- if (typeof w != "object" || w === null) m[D] = w;
19
- else if (w.constructor !== Object && (f = h.get(w.constructor))) m[D] = f(w, _);
20
- else if (ArrayBuffer.isView(w)) m[D] = n(w);
21
- else {
22
- const q = l.indexOf(w);
23
- m[D] = q !== -1 ? u[q] : _(w);
24
- }
25
- }
26
- return m;
27
- }
28
- function O(d) {
29
- if (typeof d != "object" || d === null) return d;
30
- if (Array.isArray(d)) return E(d, O);
31
- if (d.constructor !== Object && (f = h.get(d.constructor))) return f(d, O);
32
- const _ = {};
33
- l.push(d), u.push(_);
34
- for (const y in d) {
35
- if (Object.hasOwnProperty.call(d, y) === !1) continue;
36
- const m = d[y];
37
- if (typeof m != "object" || m === null) _[y] = m;
38
- else if (m.constructor !== Object && (f = h.get(m.constructor))) _[y] = f(m, O);
39
- else if (ArrayBuffer.isView(m)) _[y] = n(m);
40
- else {
41
- const S = l.indexOf(m);
42
- _[y] = S !== -1 ? u[S] : O(m);
43
- }
44
- }
45
- return l.pop(), u.pop(), _;
46
- }
47
- function T(d) {
48
- if (typeof d != "object" || d === null) return d;
49
- if (Array.isArray(d)) return E(d, T);
50
- if (d.constructor !== Object && (f = h.get(d.constructor))) return f(d, T);
51
- const _ = {};
52
- l.push(d), u.push(_);
53
- for (const y in d) {
54
- const m = d[y];
55
- if (typeof m != "object" || m === null) _[y] = m;
56
- else if (m.constructor !== Object && (f = h.get(m.constructor))) _[y] = f(m, T);
57
- else if (ArrayBuffer.isView(m)) _[y] = n(m);
58
- else {
59
- const S = l.indexOf(m);
60
- _[y] = S !== -1 ? u[S] : T(m);
61
- }
62
- }
63
- return l.pop(), u.pop(), _;
64
- }
65
- })(o);
66
- const r = /* @__PURE__ */ new Map();
67
- if (r.set(Date, (a) => new Date(a)), r.set(Map, (a, l) => new Map(i(Array.from(a), l))), r.set(Set, (a, l) => new Set(i(Array.from(a), l))), o.constructorHandlers) for (const a of o.constructorHandlers) r.set(a[0], a[1]);
68
- let s = null;
69
- return o.proto ? function a(l) {
70
- if (typeof l != "object" || l === null) return l;
71
- if (Array.isArray(l)) return i(l, a);
72
- if (l.constructor !== Object && (s = r.get(l.constructor))) return s(l, a);
73
- const u = {};
74
- for (const h in l) {
75
- const f = l[h];
76
- typeof f != "object" || f === null ? u[h] = f : f.constructor !== Object && (s = r.get(f.constructor)) ? u[h] = s(f, a) : ArrayBuffer.isView(f) ? u[h] = n(f) : u[h] = a(f);
77
- }
78
- return u;
79
- } : function a(l) {
80
- if (typeof l != "object" || l === null) return l;
81
- if (Array.isArray(l)) return i(l, a);
82
- if (l.constructor !== Object && (s = r.get(l.constructor))) return s(l, a);
83
- const u = {};
84
- for (const h in l) {
85
- if (Object.hasOwnProperty.call(l, h) === !1) continue;
86
- const f = l[h];
87
- typeof f != "object" || f === null ? u[h] = f : f.constructor !== Object && (s = r.get(f.constructor)) ? u[h] = s(f, a) : ArrayBuffer.isView(f) ? u[h] = n(f) : u[h] = a(f);
88
- }
89
- return u;
90
- };
91
- function i(a, l) {
92
- const u = Object.keys(a), h = new Array(u.length);
93
- for (let f = 0; f < u.length; f++) {
94
- const E = u[f], O = a[E];
95
- typeof O != "object" || O === null ? h[E] = O : O.constructor !== Object && (s = r.get(O.constructor)) ? h[E] = s(O, l) : ArrayBuffer.isView(O) ? h[E] = n(O) : h[E] = l(O);
96
- }
97
- return h;
98
- }
99
- };
100
- } }, function() {
101
- return ce || (0, Oe[Ne(Oe)[0]])((ce = { exports: {} }).exports, ce), ce.exports;
102
- });
103
- te(), te(), te();
104
- var Ye, At = typeof navigator < "u", p = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : typeof global < "u" ? global : {};
105
- p.chrome !== void 0 && p.chrome.devtools, At && (p.self, p.top), typeof navigator < "u" && ((Ye = navigator.userAgent) == null || Ye.toLowerCase().includes("electron")), te();
106
- var _n = ((e, t, n) => (n = e != null ? an(cn(e)) : {}, ((o, r, s, i) => {
107
- if (r && typeof r == "object" || typeof r == "function") for (let a of Ne(r)) un.call(o, a) || a === s || We(o, a, { get: () => r[a], enumerable: !(i = ln(r, a)) || i.enumerable });
108
- return o;
109
- })(We(n, "default", { value: e, enumerable: !0 }), e)))(dn()), pn = /(?:^|[-_/])(\w)/g;
110
- function fn(e, t) {
111
- return t ? t.toUpperCase() : "";
112
- }
113
- var hn = /^https?:\/\//, qe = (0, _n.default)({ circles: !0 });
114
- const mn = { trailing: !0 };
115
- function F(e, t = 25, n = {}) {
116
- if (n = { ...mn, ...n }, !Number.isFinite(t)) throw new TypeError("Expected `wait` to be a finite number");
117
- let o, r, s, i, a = [];
118
- const l = (u, h) => (s = (async function(f, E, O) {
119
- return await f.apply(E, O);
120
- })(e, u, h), s.finally(() => {
121
- if (s = null, n.trailing && i && !r) {
122
- const f = l(u, i);
123
- return i = null, f;
124
- }
125
- }), s);
126
- return function(...u) {
127
- return s ? (n.trailing && (i = u), s) : new Promise((h) => {
128
- const f = !r && n.leading;
129
- clearTimeout(r), r = setTimeout(() => {
130
- r = null;
131
- const E = n.leading ? o : l(this, u);
132
- for (const O of a) O(E);
133
- a = [];
134
- }, t), f ? (o = l(this, u), h(o)) : a.push(h);
135
- });
136
- };
137
- }
138
- function Ie(e, t = {}, n) {
139
- for (const o in e) {
140
- const r = e[o], s = n ? `${n}:${o}` : o;
141
- typeof r == "object" && r !== null ? Ie(r, t, s) : typeof r == "function" && (t[s] = r);
142
- }
143
- return t;
144
- }
145
- const gn = { run: (e) => e() }, Pt = console.createTask !== void 0 ? console.createTask : () => gn;
146
- function En(e, t) {
147
- const n = t.shift(), o = Pt(n);
148
- return e.reduce((r, s) => r.then(() => o.run(() => s(...t))), Promise.resolve());
149
- }
150
- function On(e, t) {
151
- const n = t.shift(), o = Pt(n);
152
- return Promise.all(e.map((r) => o.run(() => r(...t))));
153
- }
154
- function ye(e, t) {
155
- for (const n of [...e]) n(t);
156
- }
157
- class yn {
158
- constructor() {
159
- 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);
160
- }
161
- hook(t, n, o = {}) {
162
- if (!t || typeof n != "function") return () => {
163
- };
164
- const r = t;
165
- let s;
166
- for (; this._deprecatedHooks[t]; ) s = this._deprecatedHooks[t], t = s.to;
167
- if (s && !o.allowDeprecated) {
168
- let i = s.message;
169
- i || (i = `${r} hook has been deprecated` + (s.to ? `, please use ${s.to}` : "")), this._deprecatedMessages || (this._deprecatedMessages = /* @__PURE__ */ new Set()), this._deprecatedMessages.has(i) || (console.warn(i), this._deprecatedMessages.add(i));
170
- }
171
- if (!n.name) try {
172
- Object.defineProperty(n, "name", { get: () => "_" + t.replace(/\W+/g, "_") + "_hook_cb", configurable: !0 });
173
- } catch {
174
- }
175
- return this._hooks[t] = this._hooks[t] || [], this._hooks[t].push(n), () => {
176
- n && (this.removeHook(t, n), n = void 0);
177
- };
178
- }
179
- hookOnce(t, n) {
180
- let o, r = (...s) => (typeof o == "function" && o(), o = void 0, r = void 0, n(...s));
181
- return o = this.hook(t, r), o;
182
- }
183
- removeHook(t, n) {
184
- if (this._hooks[t]) {
185
- const o = this._hooks[t].indexOf(n);
186
- o !== -1 && this._hooks[t].splice(o, 1), this._hooks[t].length === 0 && delete this._hooks[t];
187
- }
188
- }
189
- deprecateHook(t, n) {
190
- this._deprecatedHooks[t] = typeof n == "string" ? { to: n } : n;
191
- const o = this._hooks[t] || [];
192
- delete this._hooks[t];
193
- for (const r of o) this.hook(t, r);
194
- }
195
- deprecateHooks(t) {
196
- Object.assign(this._deprecatedHooks, t);
197
- for (const n in t) this.deprecateHook(n, t[n]);
198
- }
199
- addHooks(t) {
200
- const n = Ie(t), o = Object.keys(n).map((r) => this.hook(r, n[r]));
201
- return () => {
202
- for (const r of o.splice(0, o.length)) r();
203
- };
204
- }
205
- removeHooks(t) {
206
- const n = Ie(t);
207
- for (const o in n) this.removeHook(o, n[o]);
208
- }
209
- removeAllHooks() {
210
- for (const t in this._hooks) delete this._hooks[t];
211
- }
212
- callHook(t, ...n) {
213
- return n.unshift(t), this.callHookWith(En, t, ...n);
214
- }
215
- callHookParallel(t, ...n) {
216
- return n.unshift(t), this.callHookWith(On, t, ...n);
217
- }
218
- callHookWith(t, n, ...o) {
219
- const r = this._before || this._after ? { name: n, args: o, context: {} } : void 0;
220
- this._before && ye(this._before, r);
221
- const s = t(n in this._hooks ? [...this._hooks[n]] : [], o);
222
- return s instanceof Promise ? s.finally(() => {
223
- this._after && r && ye(this._after, r);
224
- }) : (this._after && r && ye(this._after, r), s);
225
- }
226
- beforeEach(t) {
227
- return this._before = this._before || [], this._before.push(t), () => {
228
- if (this._before !== void 0) {
229
- const n = this._before.indexOf(t);
230
- n !== -1 && this._before.splice(n, 1);
231
- }
232
- };
233
- }
234
- afterEach(t) {
235
- return this._after = this._after || [], this._after.push(t), () => {
236
- if (this._after !== void 0) {
237
- const n = this._after.indexOf(t);
238
- n !== -1 && this._after.splice(n, 1);
239
- }
240
- };
241
- }
242
- }
243
- function Ct() {
244
- return new yn();
245
- }
246
- var ue, vn = Object.create, Ze = Object.defineProperty, Tn = Object.getOwnPropertyDescriptor, je = Object.getOwnPropertyNames, bn = Object.getPrototypeOf, In = Object.prototype.hasOwnProperty, Rt = (e, t) => function() {
247
- return t || (0, e[je(e)[0]])((t = { exports: {} }).exports, t), t.exports;
248
- }, c = /* @__PURE__ */ ((e, t) => function() {
249
- return e && (t = (0, e[je(e)[0]])(e = 0)), t;
250
- })({ "../../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"() {
251
- } }), Sn = Rt({ "../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(e, t) {
252
- c(), (function(n) {
253
- var o = { À: "A", Á: "A", Â: "A", Ã: "A", Ä: "Ae", Å: "A", Æ: "AE", Ç: "C", È: "E", É: "E", Ê: "E", Ë: "E", Ì: "I", Í: "I", Î: "I", Ï: "I", Ð: "D", Ñ: "N", Ò: "O", Ó: "O", Ô: "O", Õ: "O", Ö: "Oe", Ő: "O", Ø: "O", Ù: "U", Ú: "U", Û: "U", Ü: "Ue", Ű: "U", Ý: "Y", Þ: "TH", ß: "ss", à: "a", á: "a", â: "a", ã: "a", ä: "ae", å: "a", æ: "ae", ç: "c", è: "e", é: "e", ê: "e", ë: "e", ì: "i", í: "i", î: "i", ï: "i", ð: "d", ñ: "n", ò: "o", ó: "o", ô: "o", õ: "o", ö: "oe", ő: "o", ø: "o", ù: "u", ú: "u", û: "u", ü: "ue", ű: "u", ý: "y", þ: "th", ÿ: "y", "ẞ": "SS", ا: "a", أ: "a", إ: "i", آ: "aa", ؤ: "u", ئ: "e", ء: "a", ب: "b", ت: "t", ث: "th", ج: "j", ح: "h", خ: "kh", د: "d", ذ: "th", ر: "r", ز: "z", س: "s", ش: "sh", ص: "s", ض: "dh", ط: "t", ظ: "z", ع: "a", غ: "gh", ف: "f", ق: "q", ك: "k", ل: "l", م: "m", ن: "n", ه: "h", و: "w", ي: "y", ى: "a", ة: "h", ﻻ: "la", ﻷ: "laa", ﻹ: "lai", ﻵ: "laa", گ: "g", چ: "ch", پ: "p", ژ: "zh", ک: "k", ی: "y", "َ": "a", "ً": "an", "ِ": "e", "ٍ": "en", "ُ": "u", "ٌ": "on", "ْ": "", "٠": "0", "١": "1", "٢": "2", "٣": "3", "٤": "4", "٥": "5", "٦": "6", "٧": "7", "٨": "8", "٩": "9", "۰": "0", "۱": "1", "۲": "2", "۳": "3", "۴": "4", "۵": "5", "۶": "6", "۷": "7", "۸": "8", "۹": "9", က: "k", ခ: "kh", ဂ: "g", ဃ: "ga", င: "ng", စ: "s", ဆ: "sa", ဇ: "z", "စျ": "za", ည: "ny", ဋ: "t", ဌ: "ta", ဍ: "d", ဎ: "da", ဏ: "na", တ: "t", ထ: "ta", ဒ: "d", ဓ: "da", န: "n", ပ: "p", ဖ: "pa", ဗ: "b", ဘ: "ba", မ: "m", ယ: "y", ရ: "ya", လ: "l", ဝ: "w", သ: "th", ဟ: "h", ဠ: "la", အ: "a", "ြ": "y", "ျ": "ya", "ွ": "w", "ြွ": "yw", "ျွ": "ywa", "ှ": "h", ဧ: "e", "၏": "-e", ဣ: "i", ဤ: "-i", ဉ: "u", ဦ: "-u", ဩ: "aw", "သြော": "aw", ဪ: "aw", "၀": "0", "၁": "1", "၂": "2", "၃": "3", "၄": "4", "၅": "5", "၆": "6", "၇": "7", "၈": "8", "၉": "9", "္": "", "့": "", "း": "", č: "c", ď: "d", ě: "e", ň: "n", ř: "r", š: "s", ť: "t", ů: "u", ž: "z", Č: "C", Ď: "D", Ě: "E", Ň: "N", Ř: "R", Š: "S", Ť: "T", Ů: "U", Ž: "Z", ހ: "h", ށ: "sh", ނ: "n", ރ: "r", ބ: "b", ޅ: "lh", ކ: "k", އ: "a", ވ: "v", މ: "m", ފ: "f", ދ: "dh", ތ: "th", ލ: "l", ގ: "g", ޏ: "gn", ސ: "s", ޑ: "d", ޒ: "z", ޓ: "t", ޔ: "y", ޕ: "p", ޖ: "j", ޗ: "ch", ޘ: "tt", ޙ: "hh", ޚ: "kh", ޛ: "th", ޜ: "z", ޝ: "sh", ޞ: "s", ޟ: "d", ޠ: "t", ޡ: "z", ޢ: "a", ޣ: "gh", ޤ: "q", ޥ: "w", "ަ": "a", "ާ": "aa", "ި": "i", "ީ": "ee", "ު": "u", "ޫ": "oo", "ެ": "e", "ޭ": "ey", "ޮ": "o", "ޯ": "oa", "ް": "", ა: "a", ბ: "b", გ: "g", დ: "d", ე: "e", ვ: "v", ზ: "z", თ: "t", ი: "i", კ: "k", ლ: "l", მ: "m", ნ: "n", ო: "o", პ: "p", ჟ: "zh", რ: "r", ს: "s", ტ: "t", უ: "u", ფ: "p", ქ: "k", ღ: "gh", ყ: "q", შ: "sh", ჩ: "ch", ც: "ts", ძ: "dz", წ: "ts", ჭ: "ch", ხ: "kh", ჯ: "j", ჰ: "h", α: "a", β: "v", γ: "g", δ: "d", ε: "e", ζ: "z", η: "i", θ: "th", ι: "i", κ: "k", λ: "l", μ: "m", ν: "n", ξ: "ks", ο: "o", π: "p", ρ: "r", σ: "s", τ: "t", υ: "y", φ: "f", χ: "x", ψ: "ps", ω: "o", ά: "a", έ: "e", ί: "i", ό: "o", ύ: "y", ή: "i", ώ: "o", ς: "s", ϊ: "i", ΰ: "y", ϋ: "y", ΐ: "i", Α: "A", Β: "B", Γ: "G", Δ: "D", Ε: "E", Ζ: "Z", Η: "I", Θ: "TH", Ι: "I", Κ: "K", Λ: "L", Μ: "M", Ν: "N", Ξ: "KS", Ο: "O", Π: "P", Ρ: "R", Σ: "S", Τ: "T", Υ: "Y", Φ: "F", Χ: "X", Ψ: "PS", Ω: "O", Ά: "A", Έ: "E", Ί: "I", Ό: "O", Ύ: "Y", Ή: "I", Ώ: "O", Ϊ: "I", Ϋ: "Y", ā: "a", ē: "e", ģ: "g", ī: "i", ķ: "k", ļ: "l", ņ: "n", ū: "u", Ā: "A", Ē: "E", Ģ: "G", Ī: "I", Ķ: "k", Ļ: "L", Ņ: "N", Ū: "U", Ќ: "Kj", ќ: "kj", Љ: "Lj", љ: "lj", Њ: "Nj", њ: "nj", Тс: "Ts", тс: "ts", ą: "a", ć: "c", ę: "e", ł: "l", ń: "n", ś: "s", ź: "z", ż: "z", Ą: "A", Ć: "C", Ę: "E", Ł: "L", Ń: "N", Ś: "S", Ź: "Z", Ż: "Z", Є: "Ye", І: "I", Ї: "Yi", Ґ: "G", є: "ye", і: "i", ї: "yi", ґ: "g", ă: "a", Ă: "A", ș: "s", Ș: "S", ț: "t", Ț: "T", ţ: "t", Ţ: "T", а: "a", б: "b", в: "v", г: "g", д: "d", е: "e", ё: "yo", ж: "zh", з: "z", и: "i", й: "i", к: "k", л: "l", м: "m", н: "n", о: "o", п: "p", р: "r", с: "s", т: "t", у: "u", ф: "f", х: "kh", ц: "c", ч: "ch", ш: "sh", щ: "sh", ъ: "", ы: "y", ь: "", э: "e", ю: "yu", я: "ya", А: "A", Б: "B", В: "V", Г: "G", Д: "D", Е: "E", Ё: "Yo", Ж: "Zh", З: "Z", И: "I", Й: "I", К: "K", Л: "L", М: "M", Н: "N", О: "O", П: "P", Р: "R", С: "S", Т: "T", У: "U", Ф: "F", Х: "Kh", Ц: "C", Ч: "Ch", Ш: "Sh", Щ: "Sh", Ъ: "", Ы: "Y", Ь: "", Э: "E", Ю: "Yu", Я: "Ya", ђ: "dj", ј: "j", ћ: "c", џ: "dz", Ђ: "Dj", Ј: "j", Ћ: "C", Џ: "Dz", ľ: "l", ĺ: "l", ŕ: "r", Ľ: "L", Ĺ: "L", Ŕ: "R", ş: "s", Ş: "S", ı: "i", İ: "I", ğ: "g", Ğ: "G", ả: "a", Ả: "A", ẳ: "a", Ẳ: "A", ẩ: "a", Ẩ: "A", đ: "d", Đ: "D", ẹ: "e", Ẹ: "E", ẽ: "e", Ẽ: "E", ẻ: "e", Ẻ: "E", ế: "e", Ế: "E", ề: "e", Ề: "E", ệ: "e", Ệ: "E", ễ: "e", Ễ: "E", ể: "e", Ể: "E", ỏ: "o", ọ: "o", Ọ: "o", ố: "o", Ố: "O", ồ: "o", Ồ: "O", ổ: "o", Ổ: "O", ộ: "o", Ộ: "O", ỗ: "o", Ỗ: "O", ơ: "o", Ơ: "O", ớ: "o", Ớ: "O", ờ: "o", Ờ: "O", ợ: "o", Ợ: "O", ỡ: "o", Ỡ: "O", Ở: "o", ở: "o", ị: "i", Ị: "I", ĩ: "i", Ĩ: "I", ỉ: "i", Ỉ: "i", ủ: "u", Ủ: "U", ụ: "u", Ụ: "U", ũ: "u", Ũ: "U", ư: "u", Ư: "U", ứ: "u", Ứ: "U", ừ: "u", Ừ: "U", ự: "u", Ự: "U", ữ: "u", Ữ: "U", ử: "u", Ử: "ư", ỷ: "y", Ỷ: "y", ỳ: "y", Ỳ: "Y", ỵ: "y", Ỵ: "Y", ỹ: "y", Ỹ: "Y", ạ: "a", Ạ: "A", ấ: "a", Ấ: "A", ầ: "a", Ầ: "A", ậ: "a", Ậ: "A", ẫ: "a", Ẫ: "A", ắ: "a", Ắ: "A", ằ: "a", Ằ: "A", ặ: "a", Ặ: "A", ẵ: "a", Ẵ: "A", "⓪": "0", "①": "1", "②": "2", "③": "3", "④": "4", "⑤": "5", "⑥": "6", "⑦": "7", "⑧": "8", "⑨": "9", "⑩": "10", "⑪": "11", "⑫": "12", "⑬": "13", "⑭": "14", "⑮": "15", "⑯": "16", "⑰": "17", "⑱": "18", "⑲": "18", "⑳": "18", "⓵": "1", "⓶": "2", "⓷": "3", "⓸": "4", "⓹": "5", "⓺": "6", "⓻": "7", "⓼": "8", "⓽": "9", "⓾": "10", "⓿": "0", "⓫": "11", "⓬": "12", "⓭": "13", "⓮": "14", "⓯": "15", "⓰": "16", "⓱": "17", "⓲": "18", "⓳": "19", "⓴": "20", "Ⓐ": "A", "Ⓑ": "B", "Ⓒ": "C", "Ⓓ": "D", "Ⓔ": "E", "Ⓕ": "F", "Ⓖ": "G", "Ⓗ": "H", "Ⓘ": "I", "Ⓙ": "J", "Ⓚ": "K", "Ⓛ": "L", "Ⓜ": "M", "Ⓝ": "N", "Ⓞ": "O", "Ⓟ": "P", "Ⓠ": "Q", "Ⓡ": "R", "Ⓢ": "S", "Ⓣ": "T", "Ⓤ": "U", "Ⓥ": "V", "Ⓦ": "W", "Ⓧ": "X", "Ⓨ": "Y", "Ⓩ": "Z", "ⓐ": "a", "ⓑ": "b", "ⓒ": "c", "ⓓ": "d", "ⓔ": "e", "ⓕ": "f", "ⓖ": "g", "ⓗ": "h", "ⓘ": "i", "ⓙ": "j", "ⓚ": "k", "ⓛ": "l", "ⓜ": "m", "ⓝ": "n", "ⓞ": "o", "ⓟ": "p", "ⓠ": "q", "ⓡ": "r", "ⓢ": "s", "ⓣ": "t", "ⓤ": "u", "ⓦ": "v", "ⓥ": "w", "ⓧ": "x", "ⓨ": "y", "ⓩ": "z", "“": '"', "”": '"', "‘": "'", "’": "'", "∂": "d", ƒ: "f", "™": "(TM)", "©": "(C)", œ: "oe", Œ: "OE", "®": "(R)", "†": "+", "℠": "(SM)", "…": "...", "˚": "o", º: "o", ª: "a", "•": "*", "၊": ",", "။": ".", $: "USD", "€": "EUR", "₢": "BRN", "₣": "FRF", "£": "GBP", "₤": "ITL", "₦": "NGN", "₧": "ESP", "₩": "KRW", "₪": "ILS", "₫": "VND", "₭": "LAK", "₮": "MNT", "₯": "GRD", "₱": "ARS", "₲": "PYG", "₳": "ARA", "₴": "UAH", "₵": "GHS", "¢": "cent", "¥": "CNY", 元: "CNY", 円: "YEN", "﷼": "IRR", "₠": "EWE", "฿": "THB", "₨": "INR", "₹": "INR", "₰": "PF", "₺": "TRY", "؋": "AFN", "₼": "AZN", лв: "BGN", "៛": "KHR", "₡": "CRC", "₸": "KZT", ден: "MKD", zł: "PLN", "₽": "RUB", "₾": "GEL" }, r = ["်", "ް"], s = { "ာ": "a", "ါ": "a", "ေ": "e", "ဲ": "e", "ိ": "i", "ီ": "i", "ို": "o", "ု": "u", "ူ": "u", "ေါင်": "aung", "ော": "aw", "ော်": "aw", "ေါ": "aw", "ေါ်": "aw", "်": "်", "က်": "et", "ိုက်": "aik", "ောက်": "auk", "င်": "in", "ိုင်": "aing", "ောင်": "aung", "စ်": "it", "ည်": "i", "တ်": "at", "ိတ်": "eik", "ုတ်": "ok", "ွတ်": "ut", "ေတ်": "it", "ဒ်": "d", "ိုဒ်": "ok", "ုဒ်": "ait", "န်": "an", "ာန်": "an", "ိန်": "ein", "ုန်": "on", "ွန်": "un", "ပ်": "at", "ိပ်": "eik", "ုပ်": "ok", "ွပ်": "ut", "န်ုပ်": "nub", "မ်": "an", "ိမ်": "ein", "ုမ်": "on", "ွမ်": "un", "ယ်": "e", "ိုလ်": "ol", "ဉ်": "in", "ံ": "an", "ိံ": "ein", "ုံ": "on", "ައް": "ah", "ަށް": "ah" }, i = { en: {}, az: { ç: "c", ə: "e", ğ: "g", ı: "i", ö: "o", ş: "s", ü: "u", Ç: "C", Ə: "E", Ğ: "G", İ: "I", Ö: "O", Ş: "S", Ü: "U" }, cs: { č: "c", ď: "d", ě: "e", ň: "n", ř: "r", š: "s", ť: "t", ů: "u", ž: "z", Č: "C", Ď: "D", Ě: "E", Ň: "N", Ř: "R", Š: "S", Ť: "T", Ů: "U", Ž: "Z" }, fi: { ä: "a", Ä: "A", ö: "o", Ö: "O" }, hu: { ä: "a", Ä: "A", ö: "o", Ö: "O", ü: "u", Ü: "U", ű: "u", Ű: "U" }, lt: { ą: "a", č: "c", ę: "e", ė: "e", į: "i", š: "s", ų: "u", ū: "u", ž: "z", Ą: "A", Č: "C", Ę: "E", Ė: "E", Į: "I", Š: "S", Ų: "U", Ū: "U" }, lv: { ā: "a", č: "c", ē: "e", ģ: "g", ī: "i", ķ: "k", ļ: "l", ņ: "n", š: "s", ū: "u", ž: "z", Ā: "A", Č: "C", Ē: "E", Ģ: "G", Ī: "i", Ķ: "k", Ļ: "L", Ņ: "N", Š: "S", Ū: "u", Ž: "Z" }, pl: { ą: "a", ć: "c", ę: "e", ł: "l", ń: "n", ó: "o", ś: "s", ź: "z", ż: "z", Ą: "A", Ć: "C", Ę: "e", Ł: "L", Ń: "N", Ó: "O", Ś: "S", Ź: "Z", Ż: "Z" }, sv: { ä: "a", Ä: "A", ö: "o", Ö: "O" }, sk: { ä: "a", Ä: "A" }, sr: { љ: "lj", њ: "nj", Љ: "Lj", Њ: "Nj", đ: "dj", Đ: "Dj" }, tr: { Ü: "U", Ö: "O", ü: "u", ö: "o" } }, a = { ar: { "∆": "delta", "∞": "la-nihaya", "♥": "hob", "&": "wa", "|": "aw", "<": "aqal-men", ">": "akbar-men", "∑": "majmou", "¤": "omla" }, az: {}, ca: { "∆": "delta", "∞": "infinit", "♥": "amor", "&": "i", "|": "o", "<": "menys que", ">": "mes que", "∑": "suma dels", "¤": "moneda" }, cs: { "∆": "delta", "∞": "nekonecno", "♥": "laska", "&": "a", "|": "nebo", "<": "mensi nez", ">": "vetsi nez", "∑": "soucet", "¤": "mena" }, de: { "∆": "delta", "∞": "unendlich", "♥": "Liebe", "&": "und", "|": "oder", "<": "kleiner als", ">": "groesser als", "∑": "Summe von", "¤": "Waehrung" }, dv: { "∆": "delta", "∞": "kolunulaa", "♥": "loabi", "&": "aai", "|": "noonee", "<": "ah vure kuda", ">": "ah vure bodu", "∑": "jumula", "¤": "faisaa" }, en: { "∆": "delta", "∞": "infinity", "♥": "love", "&": "and", "|": "or", "<": "less than", ">": "greater than", "∑": "sum", "¤": "currency" }, es: { "∆": "delta", "∞": "infinito", "♥": "amor", "&": "y", "|": "u", "<": "menos que", ">": "mas que", "∑": "suma de los", "¤": "moneda" }, fa: { "∆": "delta", "∞": "bi-nahayat", "♥": "eshgh", "&": "va", "|": "ya", "<": "kamtar-az", ">": "bishtar-az", "∑": "majmooe", "¤": "vahed" }, fi: { "∆": "delta", "∞": "aarettomyys", "♥": "rakkaus", "&": "ja", "|": "tai", "<": "pienempi kuin", ">": "suurempi kuin", "∑": "summa", "¤": "valuutta" }, fr: { "∆": "delta", "∞": "infiniment", "♥": "Amour", "&": "et", "|": "ou", "<": "moins que", ">": "superieure a", "∑": "somme des", "¤": "monnaie" }, ge: { "∆": "delta", "∞": "usasruloba", "♥": "siqvaruli", "&": "da", "|": "an", "<": "naklebi", ">": "meti", "∑": "jami", "¤": "valuta" }, gr: {}, hu: { "∆": "delta", "∞": "vegtelen", "♥": "szerelem", "&": "es", "|": "vagy", "<": "kisebb mint", ">": "nagyobb mint", "∑": "szumma", "¤": "penznem" }, it: { "∆": "delta", "∞": "infinito", "♥": "amore", "&": "e", "|": "o", "<": "minore di", ">": "maggiore di", "∑": "somma", "¤": "moneta" }, lt: { "∆": "delta", "∞": "begalybe", "♥": "meile", "&": "ir", "|": "ar", "<": "maziau nei", ">": "daugiau nei", "∑": "suma", "¤": "valiuta" }, lv: { "∆": "delta", "∞": "bezgaliba", "♥": "milestiba", "&": "un", "|": "vai", "<": "mazak neka", ">": "lielaks neka", "∑": "summa", "¤": "valuta" }, my: { "∆": "kwahkhyaet", "∞": "asaonasme", "♥": "akhyait", "&": "nhin", "|": "tho", "<": "ngethaw", ">": "kyithaw", "∑": "paungld", "¤": "ngwekye" }, mk: {}, nl: { "∆": "delta", "∞": "oneindig", "♥": "liefde", "&": "en", "|": "of", "<": "kleiner dan", ">": "groter dan", "∑": "som", "¤": "valuta" }, pl: { "∆": "delta", "∞": "nieskonczonosc", "♥": "milosc", "&": "i", "|": "lub", "<": "mniejsze niz", ">": "wieksze niz", "∑": "suma", "¤": "waluta" }, pt: { "∆": "delta", "∞": "infinito", "♥": "amor", "&": "e", "|": "ou", "<": "menor que", ">": "maior que", "∑": "soma", "¤": "moeda" }, ro: { "∆": "delta", "∞": "infinit", "♥": "dragoste", "&": "si", "|": "sau", "<": "mai mic ca", ">": "mai mare ca", "∑": "suma", "¤": "valuta" }, ru: { "∆": "delta", "∞": "beskonechno", "♥": "lubov", "&": "i", "|": "ili", "<": "menshe", ">": "bolshe", "∑": "summa", "¤": "valjuta" }, sk: { "∆": "delta", "∞": "nekonecno", "♥": "laska", "&": "a", "|": "alebo", "<": "menej ako", ">": "viac ako", "∑": "sucet", "¤": "mena" }, sr: {}, tr: { "∆": "delta", "∞": "sonsuzluk", "♥": "ask", "&": "ve", "|": "veya", "<": "kucuktur", ">": "buyuktur", "∑": "toplam", "¤": "para birimi" }, uk: { "∆": "delta", "∞": "bezkinechnist", "♥": "lubov", "&": "i", "|": "abo", "<": "menshe", ">": "bilshe", "∑": "suma", "¤": "valjuta" }, vn: { "∆": "delta", "∞": "vo cuc", "♥": "yeu", "&": "va", "|": "hoac", "<": "nho hon", ">": "lon hon", "∑": "tong", "¤": "tien te" } }, l = [";", "?", ":", "@", "&", "=", "+", "$", ",", "/"].join(""), u = [";", "?", ":", "@", "&", "=", "+", "$", ","].join(""), h = [".", "!", "~", "*", "'", "(", ")"].join(""), f = function(d, _) {
254
- var y, m, S, D, w, q, Z, z, Ge, U, g, ae, C, B, V = "-", I = "", M = "", ge = !0, L = {}, x = "";
255
- if (typeof d != "string") return "";
256
- if (typeof _ == "string" && (V = _), Z = a.en, z = i.en, typeof _ == "object") for (g in y = _.maintainCase || !1, L = _.custom && typeof _.custom == "object" ? _.custom : L, S = +_.truncate > 1 && _.truncate || !1, D = _.uric || !1, w = _.uricNoSlash || !1, q = _.mark || !1, ge = _.symbols !== !1 && _.lang !== !1, V = _.separator || V, D && (x += l), w && (x += u), q && (x += h), Z = _.lang && a[_.lang] && ge ? a[_.lang] : ge ? a.en : {}, z = _.lang && i[_.lang] ? i[_.lang] : _.lang === !1 || _.lang === !0 ? {} : i.en, _.titleCase && typeof _.titleCase.length == "number" && Array.prototype.toString.call(_.titleCase) ? (_.titleCase.forEach(function(P) {
257
- L[P + ""] = P + "";
258
- }), m = !0) : m = !!_.titleCase, _.custom && typeof _.custom.length == "number" && Array.prototype.toString.call(_.custom) && _.custom.forEach(function(P) {
259
- L[P + ""] = P + "";
260
- }), Object.keys(L).forEach(function(P) {
261
- var le;
262
- le = P.length > 1 ? new RegExp("\\b" + O(P) + "\\b", "gi") : new RegExp(O(P), "gi"), d = d.replace(le, L[P]);
263
- }), L) x += g;
264
- for (x = O(x += V), C = !1, B = !1, U = 0, ae = (d = d.replace(/(^\s+|\s+$)/g, "")).length; U < ae; U++) g = d[U], T(g, L) ? C = !1 : z[g] ? (g = C && z[g].match(/[A-Za-z0-9]/) ? " " + z[g] : z[g], C = !1) : g in o ? (U + 1 < ae && r.indexOf(d[U + 1]) >= 0 ? (M += g, g = "") : B === !0 ? (g = s[M] + o[g], M = "") : g = C && o[g].match(/[A-Za-z0-9]/) ? " " + o[g] : o[g], C = !1, B = !1) : g in s ? (M += g, g = "", U === ae - 1 && (g = s[M]), B = !0) : !Z[g] || D && l.indexOf(g) !== -1 || w && u.indexOf(g) !== -1 ? (B === !0 ? (g = s[M] + g, M = "", B = !1) : C && (/[A-Za-z0-9]/.test(g) || I.substr(-1).match(/A-Za-z0-9]/)) && (g = " " + g), C = !1) : (g = C || I.substr(-1).match(/[A-Za-z0-9]/) ? V + Z[g] : Z[g], g += d[U + 1] !== void 0 && d[U + 1].match(/[A-Za-z0-9]/) ? V : "", C = !0), I += g.replace(new RegExp("[^\\w\\s" + x + "_-]", "g"), V);
265
- return m && (I = I.replace(/(\w)(\S*)/g, function(P, le, $e) {
266
- var Ee = le.toUpperCase() + ($e !== null ? $e : "");
267
- return Object.keys(L).indexOf(Ee.toLowerCase()) < 0 ? Ee : Ee.toLowerCase();
268
- })), I = I.replace(/\s+/g, V).replace(new RegExp("\\" + V + "+", "g"), V).replace(new RegExp("(^\\" + V + "+|\\" + V + "+$)", "g"), ""), S && I.length > S && (Ge = I.charAt(S) === V, I = I.slice(0, S), Ge || (I = I.slice(0, I.lastIndexOf(V)))), y || m || (I = I.toLowerCase()), I;
269
- }, E = function(d) {
270
- return function(_) {
271
- return f(_, d);
272
- };
273
- }, O = function(d) {
274
- return d.replace(/[-\\^$*+?.()|[\]{}\/]/g, "\\$&");
275
- }, T = function(d, _) {
276
- for (var y in _) if (_[y] === d) return !0;
277
- };
278
- if (t !== void 0 && t.exports) t.exports = f, t.exports.createSlug = E;
279
- else if (typeof define < "u" && define.amd) define([], function() {
280
- return f;
281
- });
282
- else try {
283
- if (n.getSlug || n.createSlug) throw "speakingurl: globals exists /(getSlug|createSlug)/";
284
- n.getSlug = f, n.createSlug = E;
285
- } catch {
286
- }
287
- })(e);
288
- } }), kn = Rt({ "../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(e, t) {
289
- c(), t.exports = Sn();
290
- } });
291
- function wn(e) {
292
- const t = e.__file;
293
- if (t) return (n = (function(o, r) {
294
- let s = o.replace(/^[a-z]:/i, "").replace(/\\/g, "/");
295
- s.endsWith(`index${r}`) && (s = s.replace(`/index${r}`, r));
296
- const i = s.lastIndexOf("/"), a = s.substring(i + 1);
297
- {
298
- const l = a.lastIndexOf(r);
299
- return a.substring(0, l);
300
- }
301
- })(t, ".vue")) && `${n}`.replace(pn, fn);
302
- var n;
303
- }
304
- function Xe(e, t) {
305
- return e.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__ = t, t;
306
- }
307
- function Se(e) {
308
- return e.__VUE_DEVTOOLS_NEXT_APP_RECORD__ ? e.__VUE_DEVTOOLS_NEXT_APP_RECORD__ : e.root ? e.appContext.app.__VUE_DEVTOOLS_NEXT_APP_RECORD__ : void 0;
309
- }
310
- function Dt(e) {
311
- var t, n;
312
- const o = (t = e.subTree) == null ? void 0 : t.type, r = Se(e);
313
- return !!r && ((n = r?.types) == null ? void 0 : n.Fragment) === o;
314
- }
315
- function pe(e) {
316
- var t, n, o;
317
- const r = (function(i) {
318
- var a;
319
- const l = i.name || i._componentTag || i.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__ || i.__name;
320
- return l === "index" && ((a = i.__file) != null && a.endsWith("index.vue")) ? "" : l;
321
- })(e?.type || {});
322
- if (r) return r;
323
- if (e?.root === e) return "Root";
324
- for (const i in (n = (t = e.parent) == null ? void 0 : t.type) == null ? void 0 : n.components) if (e.parent.type.components[i] === e?.type) return Xe(e, i);
325
- for (const i in (o = e.appContext) == null ? void 0 : o.components) if (e.appContext.components[i] === e?.type) return Xe(e, i);
326
- return wn(e?.type || {}) || "Anonymous Component";
327
- }
328
- function ve(e, t) {
329
- return t = t || `${e.id}:root`, e.instanceMap.get(t) || e.instanceMap.get(":root");
330
- }
331
- function Vn(e) {
332
- return ue || (ue = document.createRange()), ue.selectNode(e), ue.getBoundingClientRect();
333
- }
334
- function An(e, t) {
335
- 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;
336
- }
337
- c(), c(), c(), c(), c(), c(), c(), c();
338
- var Je = { top: 0, left: 0, right: 0, bottom: 0, width: 0, height: 0 };
339
- function H(e) {
340
- const t = e.subTree.el;
341
- return typeof window > "u" ? Je : Dt(e) ? (function(n) {
342
- const o = /* @__PURE__ */ (function() {
343
- const r = { top: 0, bottom: 0, left: 0, right: 0, get width() {
344
- return r.right - r.left;
345
- }, get height() {
346
- return r.bottom - r.top;
347
- } };
348
- return r;
349
- })();
350
- if (!n.children) return o;
351
- for (let r = 0, s = n.children.length; r < s; r++) {
352
- const i = n.children[r];
353
- let a;
354
- if (i.component) a = H(i.component);
355
- else if (i.el) {
356
- const l = i.el;
357
- l.nodeType === 1 || l.getBoundingClientRect ? a = l.getBoundingClientRect() : l.nodeType === 3 && l.data.trim() && (a = Vn(l));
358
- }
359
- a && An(o, a);
360
- }
361
- return o;
362
- })(e.subTree) : t?.nodeType === 1 ? t?.getBoundingClientRect() : e.subTree.component ? H(e.subTree.component) : Je;
363
- }
364
- function ke(e) {
365
- return Dt(e) ? (function(t) {
366
- if (!t.children) return [];
367
- const n = [];
368
- return t.children.forEach((o) => {
369
- o.component ? n.push(...ke(o.component)) : o?.el && n.push(o.el);
370
- }), n;
371
- })(e.subTree) : e.subTree ? [e.subTree.el] : [];
372
- }
373
- c();
374
- var Ut = "__vue-devtools-component-inspector__", Lt = "__vue-devtools-component-inspector__card__", Nt = "__vue-devtools-component-inspector__name__", jt = "__vue-devtools-component-inspector__indicator__", Mt = { display: "block", zIndex: 2147483640, position: "fixed", backgroundColor: "#42b88325", border: "1px solid #42b88350", borderRadius: "5px", transition: "all 0.1s ease-in", pointerEvents: "none" }, Pn = { fontFamily: "Arial, Helvetica, sans-serif", padding: "5px 8px", borderRadius: "4px", textAlign: "left", position: "absolute", left: 0, color: "#e9e9e9", fontSize: "14px", fontWeight: 600, lineHeight: "24px", backgroundColor: "#42b883", boxShadow: "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)" }, Cn = { display: "inline-block", fontWeight: 400, fontStyle: "normal", fontSize: "12px", opacity: 0.7 };
375
- function Y() {
376
- return document.getElementById(Ut);
377
- }
378
- function Me(e) {
379
- return { left: Math.round(100 * e.left) / 100 + "px", top: Math.round(100 * e.top) / 100 + "px", width: Math.round(100 * e.width) / 100 + "px", height: Math.round(100 * e.height) / 100 + "px" };
380
- }
381
- function xe(e) {
382
- var t;
383
- const n = document.createElement("div");
384
- n.id = (t = e.elementId) != null ? t : Ut, Object.assign(n.style, { ...Mt, ...Me(e.bounds), ...e.style });
385
- const o = document.createElement("span");
386
- o.id = Lt, Object.assign(o.style, { ...Pn, top: e.bounds.top < 35 ? 0 : "-35px" });
387
- const r = document.createElement("span");
388
- r.id = Nt, r.innerHTML = `&lt;${e.name}&gt;&nbsp;&nbsp;`;
389
- const s = document.createElement("i");
390
- return s.id = jt, s.innerHTML = `${Math.round(100 * e.bounds.width) / 100} x ${Math.round(100 * e.bounds.height) / 100}`, Object.assign(s.style, Cn), o.appendChild(r), o.appendChild(s), n.appendChild(o), document.body.appendChild(n), n;
391
- }
392
- function Ke(e) {
393
- const t = Y(), n = document.getElementById(Lt), o = document.getElementById(Nt), r = document.getElementById(jt);
394
- t && (Object.assign(t.style, { ...Mt, ...Me(e.bounds) }), Object.assign(n.style, { top: e.bounds.top < 35 ? 0 : "-35px" }), o.innerHTML = `&lt;${e.name}&gt;&nbsp;&nbsp;`, r.innerHTML = `${Math.round(100 * e.bounds.width) / 100} x ${Math.round(100 * e.bounds.height) / 100}`);
395
- }
396
- function xt() {
397
- const e = Y();
398
- e && (e.style.display = "none");
399
- }
400
- var we = null;
401
- function Ve(e) {
402
- const t = e.target;
403
- if (t) {
404
- const n = t.__vueParentComponent;
405
- if (n && (we = n, n.vnode.el)) {
406
- const o = H(n), r = pe(n);
407
- Y() ? Ke({ bounds: o, name: r }) : xe({ bounds: o, name: r });
408
- }
409
- }
410
- }
411
- var Qe, fe = null;
412
- function Rn() {
413
- return window.addEventListener("mouseover", Ve), new Promise((e) => {
414
- function t(n) {
415
- n.preventDefault(), n.stopPropagation(), (function(o, r) {
416
- o.preventDefault(), o.stopPropagation(), we && r(`${(l = (a = (i = (s = we) == null ? void 0 : s.appContext) == null ? void 0 : i.app) == null ? void 0 : a.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__) != null ? l : 0}:${s === s?.root ? "root" : s.uid}`);
417
- var s, i, a, l;
418
- })(n, (o) => {
419
- window.removeEventListener("click", t, !0), fe = null, window.removeEventListener("mouseover", Ve);
420
- const r = Y();
421
- r && (r.style.display = "none"), e(JSON.stringify({ id: o }));
422
- });
423
- }
424
- fe = t, window.addEventListener("click", t, !0);
425
- });
426
- }
427
- function Dn() {
428
- return new Promise((e) => {
429
- function t() {
430
- (function() {
431
- const n = p.__VUE_INSPECTOR__, o = n.openInEditor;
432
- n.openInEditor = async (...r) => {
433
- n.disable(), o(...r);
434
- };
435
- })(), e(p.__VUE_INSPECTOR__);
436
- }
437
- p.__VUE_INSPECTOR__ ? t() : (function(n) {
438
- let o = 0;
439
- const r = setInterval(() => {
440
- p.__VUE_INSPECTOR__ && (clearInterval(r), o += 30, n()), o >= 5e3 && clearInterval(r);
441
- }, 30);
442
- })(() => {
443
- t();
444
- });
445
- });
446
- }
447
- function Kt(e) {
448
- return (function(t) {
449
- return !(!t || !t.__v_isReadonly);
450
- })(e) ? Kt(e.__v_raw) : !(!e || !e.__v_isReactive);
451
- }
452
- function Te(e) {
453
- return !(!e || e.__v_isRef !== !0);
454
- }
455
- function Q(e) {
456
- const t = e && e.__v_raw;
457
- return t ? Q(t) : e;
458
- }
459
- c(), (Qe = p).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__ != null || (Qe.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__ = !0), c(), c();
460
- var Un = class {
461
- constructor() {
462
- this.refEditor = new Ln();
463
- }
464
- set(e, t, n, o) {
465
- const r = Array.isArray(t) ? t : t.split(".");
466
- for (; r.length > 1; ) {
467
- const a = r.shift();
468
- e = e instanceof Map ? e.get(a) : e instanceof Set ? Array.from(e.values())[a] : e[a], this.refEditor.isRef(e) && (e = this.refEditor.get(e));
469
- }
470
- const s = r[0], i = this.refEditor.get(e)[s];
471
- o ? o(e, s, n) : this.refEditor.isRef(i) ? this.refEditor.set(i, n) : e[s] = n;
472
- }
473
- get(e, t) {
474
- const n = Array.isArray(t) ? t : t.split(".");
475
- for (let o = 0; o < n.length; o++) if (e = e instanceof Map ? e.get(n[o]) : e[n[o]], this.refEditor.isRef(e) && (e = this.refEditor.get(e)), !e) return;
476
- return e;
477
- }
478
- has(e, t, n = !1) {
479
- if (e === void 0) return !1;
480
- const o = Array.isArray(t) ? t.slice() : t.split("."), r = n ? 2 : 1;
481
- for (; e && o.length > r; )
482
- e = e[o.shift()], this.refEditor.isRef(e) && (e = this.refEditor.get(e));
483
- return e != null && Object.prototype.hasOwnProperty.call(e, o[0]);
484
- }
485
- createDefaultSetCallback(e) {
486
- return (t, n, o) => {
487
- if ((e.remove || e.newKey) && (Array.isArray(t) ? t.splice(n, 1) : Q(t) instanceof Map ? t.delete(n) : Q(t) instanceof Set ? t.delete(Array.from(t.values())[n]) : Reflect.deleteProperty(t, n)), !e.remove) {
488
- const r = t[e.newKey || n];
489
- this.refEditor.isRef(r) ? this.refEditor.set(r, o) : Q(t) instanceof Map ? t.set(e.newKey || n, o) : Q(t) instanceof Set ? t.add(o) : t[e.newKey || n] = o;
490
- }
491
- };
492
- }
493
- }, Ln = class {
494
- set(e, t) {
495
- if (Te(e)) e.value = t;
496
- else {
497
- if (e instanceof Set && Array.isArray(t)) return e.clear(), void t.forEach((r) => e.add(r));
498
- const n = Object.keys(t);
499
- if (e instanceof Map) {
500
- const r = new Set(e.keys());
501
- return n.forEach((s) => {
502
- e.set(s, Reflect.get(t, s)), r.delete(s);
503
- }), void r.forEach((s) => e.delete(s));
504
- }
505
- const o = new Set(Object.keys(e));
506
- n.forEach((r) => {
507
- Reflect.set(e, r, Reflect.get(t, r)), o.delete(r);
508
- }), o.forEach((r) => Reflect.deleteProperty(e, r));
509
- }
510
- }
511
- get(e) {
512
- return Te(e) ? e.value : e;
513
- }
514
- isRef(e) {
515
- return Te(e) || Kt(e);
516
- }
517
- };
518
- c(), c(), c();
519
- var et;
520
- function Nn() {
521
- if (typeof window > "u" || !At || typeof localStorage > "u" || localStorage === null) return { recordingState: !1, mouseEventEnabled: !1, keyboardEventEnabled: !1, componentEventEnabled: !1, performanceEventEnabled: !1, selected: "" };
522
- const e = localStorage.getItem !== void 0 ? localStorage.getItem("__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__") : null;
523
- return e ? JSON.parse(e) : { recordingState: !1, mouseEventEnabled: !1, keyboardEventEnabled: !1, componentEventEnabled: !1, performanceEventEnabled: !1, selected: "" };
524
- }
525
- c(), c(), c(), (et = p).__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS != null || (et.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS = []);
526
- var tt, jn = new Proxy(p.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS, { get: (e, t, n) => Reflect.get(e, t, n) });
527
- (tt = p).__VUE_DEVTOOLS_KIT_INSPECTOR__ != null || (tt.__VUE_DEVTOOLS_KIT_INSPECTOR__ = []);
528
- var nt, ot, rt, st, it, He = new Proxy(p.__VUE_DEVTOOLS_KIT_INSPECTOR__, { get: (e, t, n) => Reflect.get(e, t, n) }), Ht = F(() => {
529
- j.hooks.callHook("sendInspectorToClient", zt());
530
- });
531
- function zt() {
532
- return He.filter((e) => e.descriptor.app === k.value.app).filter((e) => e.descriptor.id !== "components").map((e) => {
533
- var t;
534
- const n = e.descriptor, o = e.options;
535
- return { id: o.id, label: o.label, logo: n.logo, icon: `custom-ic-baseline-${(t = o?.icon) == null ? void 0 : t.replace(/_/g, "-")}`, packageName: n.packageName, homepage: n.homepage, pluginId: n.id };
536
- });
537
- }
538
- function de(e, t) {
539
- return He.find((n) => n.options.id === e && (!t || n.descriptor.app === t));
540
- }
541
- (nt = p).__VUE_DEVTOOLS_KIT_APP_RECORDS__ != null || (nt.__VUE_DEVTOOLS_KIT_APP_RECORDS__ = []), (ot = p).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ != null || (ot.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ = {}), (rt = p).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ != null || (rt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ = ""), (st = p).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__ != null || (st.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__ = []), (it = p).__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__ != null || (it.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__ = []);
542
- var at, K = "__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";
543
- (at = p)[K] != null || (at[K] = { connected: !1, clientConnected: !1, vitePluginDetected: !0, appRecords: [], activeAppRecordId: "", tabs: [], commands: [], highPerfModeEnabled: !0, devtoolsClientDetected: {}, perfUniqueGroupId: 0, timelineLayersState: Nn() });
544
- var Mn = F((e) => {
545
- j.hooks.callHook("devtoolsStateUpdated", { state: e });
546
- });
547
- F((e, t) => {
548
- j.hooks.callHook("devtoolsConnectedUpdated", { state: e, oldState: t });
549
- });
550
- var he = new Proxy(p.__VUE_DEVTOOLS_KIT_APP_RECORDS__, { get: (e, t, n) => t === "value" ? p.__VUE_DEVTOOLS_KIT_APP_RECORDS__ : p.__VUE_DEVTOOLS_KIT_APP_RECORDS__[t] }), k = new Proxy(p.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__, { get: (e, t, n) => 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] });
551
- function oe() {
552
- Mn({ ...p[K], appRecords: he.value, activeAppRecordId: k.id, tabs: p.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__, commands: p.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__ });
553
- }
554
- var b = new Proxy(p[K], { get: (e, t) => t === "appRecords" ? he : t === "activeAppRecordId" ? k.id : t === "tabs" ? p.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__ : t === "commands" ? p.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__ : p[K][t], deleteProperty: (e, t) => (delete e[t], !0), set: (e, t, n) => (p[K], e[t] = n, p[K][t] = n, !0) });
555
- function ro(e) {
556
- return new Promise((t) => {
557
- b.connected && (e(), t()), j.hooks.hook("devtoolsConnectedUpdated", ({ state: n }) => {
558
- n.connected && (e(), t());
559
- });
560
- });
561
- }
562
- var lt, Ae = (e) => {
563
- var t;
564
- if (e) return e.startsWith("baseline-") ? `custom-ic-${e}` : e.startsWith("i-") || (t = e).startsWith("/") || hn.test(t) ? e : `custom-ic-baseline-${e}`;
565
- };
566
- function so(e) {
567
- const t = p.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__;
568
- t.some((n) => n.name === e.name) || (t.push({ ...e, icon: Ae(e.icon) }), oe());
569
- }
570
- function io(e) {
571
- const t = p.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__;
572
- t.some((n) => n.id === e.id) || (t.push({ ...e, icon: Ae(e.icon), children: e.children ? e.children.map((n) => ({ ...n, icon: Ae(n.icon) })) : void 0 }), oe());
573
- }
574
- function ao(e) {
575
- const t = p.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__, n = t.findIndex((o) => o.id === e);
576
- n !== -1 && (t.splice(n, 1), oe());
577
- }
578
- function xn(e = {}) {
579
- var t, n, o;
580
- const { file: r, host: s, baseUrl: i = window.location.origin, line: a = 0, column: l = 0 } = e;
581
- if (r) {
582
- if (s === "chrome-extension") {
583
- const u = r.replace(/\\/g, "\\\\"), h = (n = (t = window.VUE_DEVTOOLS_CONFIG) == null ? void 0 : t.openInEditorHost) != null ? n : "/";
584
- fetch(`${h}__open-in-editor?file=${encodeURI(r)}`).then((f) => {
585
- if (!f.ok) {
586
- const E = `Opening component ${u} failed`;
587
- console.log(`%c${E}`, "color:red");
588
- }
589
- });
590
- } else if (b.vitePluginDetected) {
591
- const u = (o = p.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__) != null ? o : i;
592
- p.__VUE_INSPECTOR__.openInEditor(u, r, a, l);
593
- }
594
- }
595
- }
596
- c(), c(), c(), c(), c(), (lt = p).__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__ != null || (lt.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__ = []);
597
- var ct, ut, ze = new Proxy(p.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__, { get: (e, t, n) => Reflect.get(e, t, n) });
598
- function Pe(e) {
599
- const t = {};
600
- return Object.keys(e).forEach((n) => {
601
- t[n] = e[n].defaultValue;
602
- }), t;
603
- }
604
- function Be(e) {
605
- return `__VUE_DEVTOOLS_NEXT_PLUGIN_SETTINGS__${e}__`;
606
- }
607
- function Kn(e) {
608
- var t, n, o;
609
- const r = (n = (t = ze.find((s) => {
610
- var i;
611
- return s[0].id === e && !!((i = s[0]) != null && i.settings);
612
- })) == null ? void 0 : t[0]) != null ? n : null;
613
- return (o = r?.settings) != null ? o : null;
614
- }
615
- function Bt(e, t) {
616
- var n, o, r;
617
- const s = Be(e);
618
- if (s) {
619
- const i = localStorage.getItem(s);
620
- if (i) return JSON.parse(i);
621
- }
622
- if (e) {
623
- const i = (o = (n = ze.find((a) => a[0].id === e)) == null ? void 0 : n[0]) != null ? o : null;
624
- return Pe((r = i?.settings) != null ? r : {});
625
- }
626
- return Pe(t);
627
- }
628
- c(), c(), c(), c(), c(), c(), c(), c(), c(), c(), c();
629
- var A = (ut = (ct = p).__VUE_DEVTOOLS_HOOK) != null ? ut : ct.__VUE_DEVTOOLS_HOOK = Ct(), Hn = { vueAppInit(e) {
630
- A.hook("app:init", e);
631
- }, vueAppUnmount(e) {
632
- A.hook("app:unmount", e);
633
- }, vueAppConnected(e) {
634
- A.hook("app:connected", e);
635
- }, componentAdded: (e) => A.hook("component:added", e), componentEmit: (e) => A.hook("component:emit", e), componentUpdated: (e) => A.hook("component:updated", e), componentRemoved: (e) => A.hook("component:removed", e), setupDevtoolsPlugin(e) {
636
- A.hook("devtools-plugin:setup", e);
637
- }, perfStart: (e) => A.hook("perf:start", e), perfEnd: (e) => A.hook("perf:end", e) }, Gt = { on: Hn, setupDevToolsPlugin: (e, t) => A.callHook("devtools-plugin:setup", e, t) }, zn = class {
638
- constructor({ plugin: e, ctx: t }) {
639
- this.hooks = t.hooks, this.plugin = e;
640
- }
641
- get on() {
642
- return { visitComponentTree: (e) => {
643
- this.hooks.hook("visitComponentTree", e);
644
- }, inspectComponent: (e) => {
645
- this.hooks.hook("inspectComponent", e);
646
- }, editComponentState: (e) => {
647
- this.hooks.hook("editComponentState", e);
648
- }, getInspectorTree: (e) => {
649
- this.hooks.hook("getInspectorTree", e);
650
- }, getInspectorState: (e) => {
651
- this.hooks.hook("getInspectorState", e);
652
- }, editInspectorState: (e) => {
653
- this.hooks.hook("editInspectorState", e);
654
- }, inspectTimelineEvent: (e) => {
655
- this.hooks.hook("inspectTimelineEvent", e);
656
- }, timelineCleared: (e) => {
657
- this.hooks.hook("timelineCleared", e);
658
- }, setPluginSettings: (e) => {
659
- this.hooks.hook("setPluginSettings", e);
660
- } };
661
- }
662
- notifyComponentUpdate(e) {
663
- var t;
664
- if (b.highPerfModeEnabled) return;
665
- const n = zt().find((o) => o.packageName === this.plugin.descriptor.packageName);
666
- if (n?.id) {
667
- if (e) {
668
- const o = [e.appContext.app, e.uid, (t = e.parent) == null ? void 0 : t.uid, e];
669
- A.callHook("component:updated", ...o);
670
- } else A.callHook("component:updated");
671
- this.hooks.callHook("sendInspectorState", { inspectorId: n.id, plugin: this.plugin });
672
- }
673
- }
674
- addInspector(e) {
675
- this.hooks.callHook("addInspector", { inspector: e, plugin: this.plugin }), this.plugin.descriptor.settings && (function(t, n) {
676
- const o = Be(t);
677
- localStorage.getItem(o) || localStorage.setItem(o, JSON.stringify(Pe(n)));
678
- })(e.id, this.plugin.descriptor.settings);
679
- }
680
- sendInspectorTree(e) {
681
- b.highPerfModeEnabled || this.hooks.callHook("sendInspectorTree", { inspectorId: e, plugin: this.plugin });
682
- }
683
- sendInspectorState(e) {
684
- b.highPerfModeEnabled || this.hooks.callHook("sendInspectorState", { inspectorId: e, plugin: this.plugin });
685
- }
686
- selectInspectorNode(e, t) {
687
- this.hooks.callHook("customInspectorSelectNode", { inspectorId: e, nodeId: t, plugin: this.plugin });
688
- }
689
- visitComponentTree(e) {
690
- return this.hooks.callHook("visitComponentTree", e);
691
- }
692
- now() {
693
- return b.highPerfModeEnabled ? 0 : Date.now();
694
- }
695
- addTimelineLayer(e) {
696
- this.hooks.callHook("timelineLayerAdded", { options: e, plugin: this.plugin });
697
- }
698
- addTimelineEvent(e) {
699
- b.highPerfModeEnabled || this.hooks.callHook("timelineEventAdded", { options: e, plugin: this.plugin });
700
- }
701
- getSettings(e) {
702
- return Bt(e ?? this.plugin.descriptor.id, this.plugin.descriptor.settings);
703
- }
704
- getComponentInstances(e) {
705
- return this.hooks.callHook("getComponentInstances", { app: e });
706
- }
707
- getComponentBounds(e) {
708
- return this.hooks.callHook("getComponentBounds", { instance: e });
709
- }
710
- getComponentName(e) {
711
- return this.hooks.callHook("getComponentName", { instance: e });
712
- }
713
- highlightElement(e) {
714
- const t = e.__VUE_DEVTOOLS_NEXT_UID__;
715
- return this.hooks.callHook("componentHighlight", { uid: t });
716
- }
717
- unhighlightElement() {
718
- return this.hooks.callHook("componentUnhighlight");
719
- }
720
- };
721
- c(), c(), c(), c();
722
- var Bn = "__vue_devtool_undefined__", Gn = "__vue_devtool_infinity__", $n = "__vue_devtool_negative_infinity__", Fn = "__vue_devtool_nan__";
723
- c(), c();
724
- var dt, Wn = { [Bn]: "undefined", [Fn]: "NaN", [Gn]: "Infinity", [$n]: "-Infinity" };
725
- function lo(e, t) {
726
- return Gt.setupDevToolsPlugin(e, t);
727
- }
728
- function $t(e, t) {
729
- p.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(e) || b.highPerfModeEnabled && !t?.inspectingComponent || (p.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(e), ze.forEach((n) => {
730
- (function(o, r) {
731
- const [s, i] = o;
732
- if (s.app !== r) return;
733
- const a = new zn({ plugin: { setupFn: i, descriptor: s }, ctx: j });
734
- s.packageName === "vuex" && a.on.editInspectorState((l) => {
735
- a.sendInspectorState(l.inspectorId);
736
- }), i(a);
737
- })(n, e);
738
- }));
739
- }
740
- Object.entries(Wn).reduce((e, [t, n]) => (e[n] = t, e), {}), c(), c(), c(), c(), c(), (dt = p).__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__ != null || (dt.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__ = /* @__PURE__ */ new Set()), c(), c();
741
- var _t, pt, ft, ee = "__VUE_DEVTOOLS_ROUTER__", G = "__VUE_DEVTOOLS_ROUTER_INFO__";
742
- function Ce(e) {
743
- return e.map((t) => {
744
- let { path: n, name: o, children: r, meta: s } = t;
745
- return r?.length && (r = Ce(r)), { path: n, name: o, children: r, meta: s };
746
- });
747
- }
748
- function Yn(e, t) {
749
- function n() {
750
- var o;
751
- const r = (o = e.app) == null ? void 0 : o.config.globalProperties.$router, s = (function(l) {
752
- if (l) {
753
- const { fullPath: u, hash: h, href: f, path: E, name: O, matched: T, params: d, query: _ } = l;
754
- return { fullPath: u, hash: h, href: f, path: E, name: O, params: d, query: _, matched: Ce(T) };
755
- }
756
- return l;
757
- })(r?.currentRoute.value), i = Ce((function(l) {
758
- const u = /* @__PURE__ */ new Map();
759
- return (l?.getRoutes() || []).filter((h) => !u.has(h.path) && u.set(h.path, 1));
760
- })(r)), a = console.warn;
761
- console.warn = () => {
762
- }, p[G] = { currentRoute: s ? qe(s) : {}, routes: qe(i) }, p[ee] = r, console.warn = a;
763
- }
764
- n(), Gt.on.componentUpdated(F(() => {
765
- var o;
766
- ((o = t.value) == null ? void 0 : o.app) === e.app && (n(), b.highPerfModeEnabled || j.hooks.callHook("routerInfoUpdated", { state: p[G] }));
767
- }, 200));
768
- }
769
- (_t = p)[G] != null || (_t[G] = { currentRoute: null, routes: [] }), (pt = p)[ee] != null || (pt[ee] = {}), new Proxy(p[G], { get: (e, t) => p[G][t] }), new Proxy(p[ee], { get(e, t) {
770
- if (t === "value") return p[ee];
771
- } }), c(), (ft = p).__VUE_DEVTOOLS_ENV__ != null || (ft.__VUE_DEVTOOLS_ENV__ = { vitePluginDetected: !1 });
772
- var ht, J, mt = (function() {
773
- const e = Ct();
774
- e.hook("addInspector", ({ inspector: o, plugin: r }) => {
775
- (function(s, i) {
776
- var a, l;
777
- He.push({ options: s, descriptor: i, treeFilterPlaceholder: (a = s.treeFilterPlaceholder) != null ? a : "Search tree...", stateFilterPlaceholder: (l = s.stateFilterPlaceholder) != null ? l : "Search state...", treeFilter: "", selectedNodeId: "", appRecord: Se(i.app) }), Ht();
778
- })(o, r.descriptor);
779
- });
780
- const t = F(async ({ inspectorId: o, plugin: r }) => {
781
- var s;
782
- if (!o || !((s = r?.descriptor) != null && s.app) || b.highPerfModeEnabled) return;
783
- const i = de(o, r.descriptor.app), a = { app: r.descriptor.app, inspectorId: o, filter: i?.treeFilter || "", rootNodes: [] };
784
- await new Promise((l) => {
785
- e.callHookWith(async (u) => {
786
- await Promise.all(u.map((h) => h(a))), l();
787
- }, "getInspectorTree");
788
- }), e.callHookWith(async (l) => {
789
- await Promise.all(l.map((u) => u({ inspectorId: o, rootNodes: a.rootNodes })));
790
- }, "sendInspectorTreeToClient");
791
- }, 120);
792
- e.hook("sendInspectorTree", t);
793
- const n = F(async ({ inspectorId: o, plugin: r }) => {
794
- var s;
795
- if (!o || !((s = r?.descriptor) != null && s.app) || b.highPerfModeEnabled) return;
796
- const i = de(o, r.descriptor.app), a = { app: r.descriptor.app, inspectorId: o, nodeId: i?.selectedNodeId || "", state: null }, l = { currentTab: `custom-inspector:${o}` };
797
- a.nodeId && await new Promise((u) => {
798
- e.callHookWith(async (h) => {
799
- await Promise.all(h.map((f) => f(a, l))), u();
800
- }, "getInspectorState");
801
- }), e.callHookWith(async (u) => {
802
- await Promise.all(u.map((h) => h({ inspectorId: o, nodeId: a.nodeId, state: a.state })));
803
- }, "sendInspectorStateToClient");
804
- }, 120);
805
- return e.hook("sendInspectorState", n), e.hook("customInspectorSelectNode", ({ inspectorId: o, nodeId: r, plugin: s }) => {
806
- const i = de(o, s.descriptor.app);
807
- i && (i.selectedNodeId = r);
808
- }), e.hook("timelineLayerAdded", ({ options: o, plugin: r }) => {
809
- (function(s, i) {
810
- b.timelineLayersState[i.id] = !1, jn.push({ ...s, descriptorId: i.id, appRecord: Se(i.app) });
811
- })(o, r.descriptor);
812
- }), e.hook("timelineEventAdded", ({ options: o, plugin: r }) => {
813
- var s;
814
- b.highPerfModeEnabled || !((s = b.timelineLayersState) != null && s[r.descriptor.id]) && !["performance", "component-event", "keyboard", "mouse"].includes(o.layerId) || e.callHookWith(async (i) => {
815
- await Promise.all(i.map((a) => a(o)));
816
- }, "sendTimelineEventToClient");
817
- }), e.hook("getComponentInstances", async ({ app: o }) => {
818
- const r = o.__VUE_DEVTOOLS_NEXT_APP_RECORD__;
819
- if (!r) return null;
820
- const s = r.id.toString();
821
- return [...r.instanceMap].filter(([i]) => i.split(":")[0] === s).map(([, i]) => i);
822
- }), e.hook("getComponentBounds", async ({ instance: o }) => H(o)), e.hook("getComponentName", ({ instance: o }) => pe(o)), e.hook("componentHighlight", ({ uid: o }) => {
823
- const r = k.value.instanceMap.get(o);
824
- r && (function(s) {
825
- const i = H(s);
826
- if (!i.width && !i.height) return;
827
- const a = pe(s);
828
- Y() ? Ke({ bounds: i, name: a }) : xe({ bounds: i, name: a });
829
- })(r);
830
- }), e.hook("componentUnhighlight", () => {
831
- xt();
832
- }), e;
833
- })();
834
- (ht = p).__VUE_DEVTOOLS_KIT_CONTEXT__ != null || (ht.__VUE_DEVTOOLS_KIT_CONTEXT__ = { hooks: mt, get state() {
835
- return { ...b, activeAppRecordId: k.id, activeAppRecord: k.value, appRecords: he.value };
836
- }, api: (J = mt, { async getInspectorTree(e) {
837
- const t = { ...e, app: k.value.app, rootNodes: [] };
838
- return await new Promise((n) => {
839
- J.callHookWith(async (o) => {
840
- await Promise.all(o.map((r) => r(t))), n();
841
- }, "getInspectorTree");
842
- }), t.rootNodes;
843
- }, async getInspectorState(e) {
844
- const t = { ...e, app: k.value.app, state: null }, n = { currentTab: `custom-inspector:${e.inspectorId}` };
845
- return await new Promise((o) => {
846
- J.callHookWith(async (r) => {
847
- await Promise.all(r.map((s) => s(t, n))), o();
848
- }, "getInspectorState");
849
- }), t.state;
850
- }, editInspectorState(e) {
851
- const t = new Un(), n = { ...e, app: k.value.app, set: (o, r = e.path, s = e.state.value, i) => {
852
- t.set(o, r, s, i || t.createDefaultSetCallback(e.state));
853
- } };
854
- J.callHookWith((o) => {
855
- o.forEach((r) => r(n));
856
- }, "editInspectorState");
857
- }, sendInspectorState(e) {
858
- const t = de(e);
859
- J.callHook("sendInspectorState", { inspectorId: e, plugin: { descriptor: t.descriptor, setupFn: () => ({}) } });
860
- }, inspectComponentInspector: () => Rn(), cancelInspectComponentInspector: () => (xt(), window.removeEventListener("mouseover", Ve), window.removeEventListener("click", fe, !0), void (fe = null)), getComponentRenderCode(e) {
861
- const t = ve(k.value, e);
862
- if (t) return typeof t?.type != "function" ? t.render.toString() : t.type.toString();
863
- }, scrollToComponent: (e) => (function(t) {
864
- const n = ve(k.value, t.id);
865
- if (n) {
866
- const [o] = ke(n);
867
- if (typeof o.scrollIntoView == "function") o.scrollIntoView({ behavior: "smooth" });
868
- else {
869
- const r = H(n), s = document.createElement("div"), i = { ...Me(r), position: "absolute" };
870
- Object.assign(s.style, i), document.body.appendChild(s), s.scrollIntoView({ behavior: "smooth" }), setTimeout(() => {
871
- document.body.removeChild(s);
872
- }, 2e3);
873
- }
874
- setTimeout(() => {
875
- const r = H(n);
876
- if (r.width || r.height) {
877
- const s = pe(n), i = Y();
878
- i ? Ke({ ...t, name: s, bounds: r }) : xe({ ...t, name: s, bounds: r }), setTimeout(() => {
879
- i && (i.style.display = "none");
880
- }, 1500);
881
- }
882
- }, 1200);
883
- }
884
- })({ id: e }), openInEditor: xn, getVueInspector: Dn, toggleApp(e, t) {
885
- const n = he.value.find((r) => r.id === e);
886
- var o;
887
- n && ((function(r) {
888
- p.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ = r, oe();
889
- })(e), o = n, p.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ = o, oe(), Yn(n, k), Ht(), $t(n.app, t));
890
- }, inspectDOM(e) {
891
- const t = ve(k.value, e);
892
- if (t) {
893
- const [n] = ke(t);
894
- n && (p.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__ = n);
895
- }
896
- }, updatePluginSettings(e, t, n) {
897
- (function(o, r, s) {
898
- const i = Be(o), a = localStorage.getItem(i), l = JSON.parse(a || "{}"), u = { ...l, [r]: s };
899
- localStorage.setItem(i, JSON.stringify(u)), j.hooks.callHookWith((h) => {
900
- h.forEach((f) => f({ pluginId: o, key: r, oldValue: l[r], newValue: s, settings: u }));
901
- }, "setPluginSettings");
902
- })(e, t, n);
903
- }, getPluginSettings: (e) => ({ options: Kn(e), values: Bt(e) }) }) });
904
- var gt, Et, j = p.__VUE_DEVTOOLS_KIT_CONTEXT__;
905
- function co(e) {
906
- return new Promise((t) => {
907
- if (b.connected && b.clientConnected) return e(), void t();
908
- j.hooks.hook("devtoolsConnectedUpdated", ({ state: n }) => {
909
- n.connected && n.clientConnected && (e(), t());
910
- });
911
- });
912
- }
913
- c(), ((e, t, n) => {
914
- n = e != null ? vn(bn(e)) : {}, ((o, r, s, i) => {
915
- if (r && typeof r == "object" || typeof r == "function") for (let a of je(r)) In.call(o, a) || a === s || Ze(o, a, { get: () => r[a], enumerable: !(i = Tn(r, a)) || i.enumerable });
916
- })(Ze(n, "default", { value: e, enumerable: !0 }), e);
917
- })(kn()), (gt = p).__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__ != null || (gt.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__ = { id: 0, appIds: /* @__PURE__ */ new Set() }), c(), c(), c(), c(), c(), (Et = p).__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__ != null || (Et.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__ = function(e) {
918
- b.devtoolsClientDetected = { ...b.devtoolsClientDetected, ...e };
919
- const t = Object.values(b.devtoolsClientDetected).some(Boolean);
920
- var n;
921
- n = !t, b.highPerfModeEnabled = n ?? !b.highPerfModeEnabled, !n && k.value && $t(k.value.app);
922
- }), c(), c(), c(), c(), c(), c(), c();
923
- var qn = class {
924
- constructor() {
925
- this.keyToValue = /* @__PURE__ */ new Map(), this.valueToKey = /* @__PURE__ */ new Map();
926
- }
927
- set(e, t) {
928
- this.keyToValue.set(e, t), this.valueToKey.set(t, e);
929
- }
930
- getByKey(e) {
931
- return this.keyToValue.get(e);
932
- }
933
- getByValue(e) {
934
- return this.valueToKey.get(e);
935
- }
936
- clear() {
937
- this.keyToValue.clear(), this.valueToKey.clear();
938
- }
939
- }, Ft = class {
940
- constructor(e) {
941
- this.generateIdentifier = e, this.kv = new qn();
942
- }
943
- register(e, t) {
944
- this.kv.getByValue(e) || (t || (t = this.generateIdentifier(e)), this.kv.set(t, e));
945
- }
946
- clear() {
947
- this.kv.clear();
948
- }
949
- getIdentifier(e) {
950
- return this.kv.getByValue(e);
951
- }
952
- getValue(e) {
953
- return this.kv.getByKey(e);
954
- }
955
- }, Zn = class extends Ft {
956
- constructor() {
957
- super((e) => e.name), this.classToAllowedProps = /* @__PURE__ */ new Map();
958
- }
959
- register(e, t) {
960
- typeof t == "object" ? (t.allowProps && this.classToAllowedProps.set(e, t.allowProps), super.register(e, t.identifier)) : super.register(e, t);
961
- }
962
- getAllowedProps(e) {
963
- return this.classToAllowedProps.get(e);
964
- }
965
- };
966
- function Xn(e, t) {
967
- const n = (function(r) {
968
- if ("values" in Object) return Object.values(r);
969
- const s = [];
970
- for (const i in r) r.hasOwnProperty(i) && s.push(r[i]);
971
- return s;
972
- })(e);
973
- if ("find" in n) return n.find(t);
974
- const o = n;
975
- for (let r = 0; r < o.length; r++) {
976
- const s = o[r];
977
- if (t(s)) return s;
978
- }
979
- }
980
- function W(e, t) {
981
- Object.entries(e).forEach(([n, o]) => t(o, n));
982
- }
983
- function _e(e, t) {
984
- return e.indexOf(t) !== -1;
985
- }
986
- function Ot(e, t) {
987
- for (let n = 0; n < e.length; n++) {
988
- const o = e[n];
989
- if (t(o)) return o;
990
- }
991
- }
992
- c(), c();
993
- var Jn = class {
994
- constructor() {
995
- this.transfomers = {};
996
- }
997
- register(e) {
998
- this.transfomers[e.name] = e;
999
- }
1000
- findApplicable(e) {
1001
- return Xn(this.transfomers, (t) => t.isApplicable(e));
1002
- }
1003
- findByName(e) {
1004
- return this.transfomers[e];
1005
- }
1006
- };
1007
- c(), c();
1008
- var Wt = (e) => e === void 0, re = (e) => typeof e == "object" && e !== null && e !== Object.prototype && (Object.getPrototypeOf(e) === null || Object.getPrototypeOf(e) === Object.prototype), Re = (e) => re(e) && Object.keys(e).length === 0, N = (e) => Array.isArray(e), se = (e) => e instanceof Map, ie = (e) => e instanceof Set, Yt = (e) => ((t) => Object.prototype.toString.call(t).slice(8, -1))(e) === "Symbol", yt = (e) => typeof e == "number" && isNaN(e), Qn = (e) => /* @__PURE__ */ ((t) => typeof t == "boolean")(e) || /* @__PURE__ */ ((t) => t === null)(e) || Wt(e) || ((t) => typeof t == "number" && !isNaN(t))(e) || /* @__PURE__ */ ((t) => typeof t == "string")(e) || Yt(e);
1009
- c();
1010
- var qt = (e) => e.replace(/\./g, "\\."), be = (e) => e.map(String).map(qt).join("."), ne = (e) => {
1011
- const t = [];
1012
- let n = "";
1013
- for (let r = 0; r < e.length; r++) {
1014
- let s = e.charAt(r);
1015
- if (s === "\\" && e.charAt(r + 1) === ".") {
1016
- n += ".", r++;
1017
- continue;
1018
- }
1019
- s === "." ? (t.push(n), n = "") : n += s;
1020
- }
1021
- const o = n;
1022
- return t.push(o), t;
1023
- };
1024
- function R(e, t, n, o) {
1025
- return { isApplicable: e, annotation: t, transform: n, untransform: o };
1026
- }
1027
- c();
1028
- var Zt = [R(Wt, "undefined", () => null, () => {
1029
- }), R((e) => typeof e == "bigint", "bigint", (e) => e.toString(), (e) => typeof BigInt < "u" ? BigInt(e) : (console.error("Please add a BigInt polyfill."), e)), R((e) => e instanceof Date && !isNaN(e.valueOf()), "Date", (e) => e.toISOString(), (e) => new Date(e)), R((e) => e instanceof Error, "Error", (e, t) => {
1030
- const n = { name: e.name, message: e.message };
1031
- return t.allowedErrorProps.forEach((o) => {
1032
- n[o] = e[o];
1033
- }), n;
1034
- }, (e, t) => {
1035
- const n = new Error(e.message);
1036
- return n.name = e.name, n.stack = e.stack, t.allowedErrorProps.forEach((o) => {
1037
- n[o] = e[o];
1038
- }), n;
1039
- }), R((e) => e instanceof RegExp, "regexp", (e) => "" + e, (e) => {
1040
- const t = e.slice(1, e.lastIndexOf("/")), n = e.slice(e.lastIndexOf("/") + 1);
1041
- return new RegExp(t, n);
1042
- }), R(ie, "set", (e) => [...e.values()], (e) => new Set(e)), R(se, "map", (e) => [...e.entries()], (e) => new Map(e)), R((e) => {
1043
- return yt(e) || (t = e) === 1 / 0 || t === -1 / 0;
1044
- var t;
1045
- }, "number", (e) => yt(e) ? "NaN" : e > 0 ? "Infinity" : "-Infinity", Number), R((e) => e === 0 && 1 / e == -1 / 0, "number", () => "-0", Number), R((e) => e instanceof URL, "URL", (e) => e.toString(), (e) => new URL(e))];
1046
- function me(e, t, n, o) {
1047
- return { isApplicable: e, annotation: t, transform: n, untransform: o };
1048
- }
1049
- var Xt = me((e, t) => Yt(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) => ["symbol", t.symbolRegistry.getIdentifier(e)], (e) => e.description, (e, t, n) => {
1050
- const o = n.symbolRegistry.getValue(t[1]);
1051
- if (!o) throw new Error("Trying to deserialize unknown symbol");
1052
- return o;
1053
- }), eo = [Int8Array, Uint8Array, Int16Array, Uint16Array, Int32Array, Uint32Array, Float32Array, Float64Array, Uint8ClampedArray].reduce((e, t) => (e[t.name] = t, e), {}), Jt = me((e) => ArrayBuffer.isView(e) && !(e instanceof DataView), (e) => ["typed-array", e.constructor.name], (e) => [...e], (e, t) => {
1054
- const n = eo[t[1]];
1055
- if (!n) throw new Error("Trying to deserialize unknown typed array");
1056
- return new n(e);
1057
- });
1058
- function Qt(e, t) {
1059
- return e?.constructor ? !!t.classRegistry.getIdentifier(e.constructor) : !1;
1060
- }
1061
- var en = me(Qt, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)], (e, t) => {
1062
- const n = t.classRegistry.getAllowedProps(e.constructor);
1063
- if (!n) return { ...e };
1064
- const o = {};
1065
- return n.forEach((r) => {
1066
- o[r] = e[r];
1067
- }), o;
1068
- }, (e, t, n) => {
1069
- const o = n.classRegistry.getValue(t[1]);
1070
- if (!o) throw new Error(`Trying to deserialize unknown class '${t[1]}' - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564`);
1071
- return Object.assign(Object.create(o.prototype), e);
1072
- }), tn = me((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) => {
1073
- const o = n.customTransformerRegistry.findByName(t[1]);
1074
- if (!o) throw new Error("Trying to deserialize unknown custom value");
1075
- return o.deserialize(e);
1076
- }), to = [en, Xt, tn, Jt], vt = (e, t) => {
1077
- const n = Ot(to, (r) => r.isApplicable(e, t));
1078
- if (n) return { value: n.transform(e, t), type: n.annotation(e, t) };
1079
- const o = Ot(Zt, (r) => r.isApplicable(e, t));
1080
- return o ? { value: o.transform(e, t), type: o.annotation } : void 0;
1081
- }, nn = {};
1082
- Zt.forEach((e) => {
1083
- nn[e.annotation] = e;
1084
- });
1085
- c();
1086
- var $ = (e, t) => {
1087
- if (t > e.size) throw new Error("index out of bounds");
1088
- const n = e.keys();
1089
- for (; t > 0; ) n.next(), t--;
1090
- return n.next().value;
1091
- };
1092
- function on(e) {
1093
- if (_e(e, "__proto__")) throw new Error("__proto__ is not allowed as a property");
1094
- if (_e(e, "prototype")) throw new Error("prototype is not allowed as a property");
1095
- if (_e(e, "constructor")) throw new Error("constructor is not allowed as a property");
1096
- }
1097
- var De = (e, t, n) => {
1098
- if (on(t), t.length === 0) return n(e);
1099
- let o = e;
1100
- for (let s = 0; s < t.length - 1; s++) {
1101
- const i = t[s];
1102
- if (N(o))
1103
- o = o[+i];
1104
- else if (re(o)) o = o[i];
1105
- else if (ie(o))
1106
- o = $(o, +i);
1107
- else if (se(o)) {
1108
- if (s === t.length - 2) break;
1109
- const a = +i, l = +t[++s] == 0 ? "key" : "value", u = $(o, a);
1110
- switch (l) {
1111
- case "key":
1112
- o = u;
1113
- break;
1114
- case "value":
1115
- o = o.get(u);
1116
- }
1117
- }
1118
- }
1119
- const r = t[t.length - 1];
1120
- if (N(o) ? o[+r] = n(o[+r]) : re(o) && (o[r] = n(o[r])), ie(o)) {
1121
- const s = $(o, +r), i = n(s);
1122
- s !== i && (o.delete(s), o.add(i));
1123
- }
1124
- if (se(o)) {
1125
- const s = +t[t.length - 2], i = $(o, s);
1126
- switch (+r == 0 ? "key" : "value") {
1127
- case "key": {
1128
- const a = n(i);
1129
- o.set(a, o.get(i)), a !== i && o.delete(i);
1130
- break;
1131
- }
1132
- case "value":
1133
- o.set(i, n(o.get(i)));
1134
- }
1135
- }
1136
- return e;
1137
- };
1138
- function Ue(e, t, n = []) {
1139
- if (!e) return;
1140
- if (!N(e)) return void W(e, (s, i) => Ue(s, t, [...n, ...ne(i)]));
1141
- const [o, r] = e;
1142
- r && W(r, (s, i) => {
1143
- Ue(s, t, [...n, ...ne(i)]);
1144
- }), t(o, n);
1145
- }
1146
- function no(e, t, n) {
1147
- return Ue(t, (o, r) => {
1148
- e = De(e, r, (s) => ((i, a, l) => {
1149
- if (!N(a)) {
1150
- const u = nn[a];
1151
- if (!u) throw new Error("Unknown transformation: " + a);
1152
- return u.untransform(i, l);
1153
- }
1154
- switch (a[0]) {
1155
- case "symbol":
1156
- return Xt.untransform(i, a, l);
1157
- case "class":
1158
- return en.untransform(i, a, l);
1159
- case "custom":
1160
- return tn.untransform(i, a, l);
1161
- case "typed-array":
1162
- return Jt.untransform(i, a, l);
1163
- default:
1164
- throw new Error("Unknown transformation: " + a);
1165
- }
1166
- })(s, o, n));
1167
- }), e;
1168
- }
1169
- function oo(e, t) {
1170
- function n(o, r) {
1171
- const s = ((i, a) => {
1172
- on(a);
1173
- for (let l = 0; l < a.length; l++) {
1174
- const u = a[l];
1175
- if (ie(i)) i = $(i, +u);
1176
- else if (se(i)) {
1177
- const h = +u, f = +a[++l] == 0 ? "key" : "value", E = $(i, h);
1178
- switch (f) {
1179
- case "key":
1180
- i = E;
1181
- break;
1182
- case "value":
1183
- i = i.get(E);
1184
- }
1185
- } else i = i[u];
1186
- }
1187
- return i;
1188
- })(e, ne(r));
1189
- o.map(ne).forEach((i) => {
1190
- e = De(e, i, () => s);
1191
- });
1192
- }
1193
- if (N(t)) {
1194
- const [o, r] = t;
1195
- o.forEach((s) => {
1196
- e = De(e, ne(s), () => e);
1197
- }), r && W(r, n);
1198
- } else W(t, n);
1199
- return e;
1200
- }
1201
- var rn = (e, t, n, o, r = [], s = [], i = /* @__PURE__ */ new Map()) => {
1202
- var a;
1203
- const l = Qn(e);
1204
- if (!l) {
1205
- (function(d, _, y) {
1206
- const m = y.get(d);
1207
- m ? m.push(_) : y.set(d, [_]);
1208
- })(e, r, t);
1209
- const T = i.get(e);
1210
- if (T) return o ? { transformedValue: null } : T;
1211
- }
1212
- if (!((T, d) => re(T) || N(T) || se(T) || ie(T) || Qt(T, d))(e, n)) {
1213
- const T = vt(e, n), d = T ? { transformedValue: T.value, annotations: [T.type] } : { transformedValue: e };
1214
- return l || i.set(e, d), d;
1215
- }
1216
- if (_e(s, e)) return { transformedValue: null };
1217
- const u = vt(e, n), h = (a = u?.value) != null ? a : e, f = N(h) ? [] : {}, E = {};
1218
- W(h, (T, d) => {
1219
- if (d === "__proto__" || d === "constructor" || d === "prototype") throw new Error(`Detected property ${d}. This is a prototype pollution risk, please remove it from your object.`);
1220
- const _ = rn(T, t, n, o, [...r, d], [...s, e], i);
1221
- f[d] = _.transformedValue, N(_.annotations) ? E[d] = _.annotations : re(_.annotations) && W(_.annotations, (y, m) => {
1222
- E[qt(d) + "." + m] = y;
1223
- });
1224
- });
1225
- const O = Re(E) ? { transformedValue: f, annotations: u ? [u.type] : void 0 } : { transformedValue: f, annotations: u ? [u.type, E] : E };
1226
- return l || i.set(e, O), O;
1227
- };
1228
- function sn(e) {
1229
- return Object.prototype.toString.call(e).slice(8, -1);
1230
- }
1231
- function Tt(e) {
1232
- return sn(e) === "Array";
1233
- }
1234
- function Le(e, t = {}) {
1235
- return Tt(e) ? e.map((n) => Le(n, t)) : (function(n) {
1236
- if (sn(n) !== "Object") return !1;
1237
- const o = Object.getPrototypeOf(n);
1238
- return !!o && o.constructor === Object && o === Object.prototype;
1239
- })(e) ? [...Object.getOwnPropertyNames(e), ...Object.getOwnPropertySymbols(e)].reduce((n, o) => (Tt(t.props) && !t.props.includes(o) || (function(r, s, i, a, l) {
1240
- const u = {}.propertyIsEnumerable.call(a, s) ? "enumerable" : "nonenumerable";
1241
- u === "enumerable" && (r[s] = i), l && u === "nonenumerable" && Object.defineProperty(r, s, { value: i, enumerable: !1, writable: !0, configurable: !0 });
1242
- })(n, o, Le(e[o], t), e, t.nonenumerable), n), {}) : e;
1243
- }
1244
- c(), c();
1245
- var bt, It, St, kt, wt, Vt, v = class {
1246
- constructor({ dedupe: e = !1 } = {}) {
1247
- this.classRegistry = new Zn(), this.symbolRegistry = new Ft((t) => {
1248
- var n;
1249
- return (n = t.description) != null ? n : "";
1250
- }), this.customTransformerRegistry = new Jn(), this.allowedErrorProps = [], this.dedupe = e;
1251
- }
1252
- serialize(e) {
1253
- const t = /* @__PURE__ */ new Map(), n = rn(e, t, this, this.dedupe), o = { json: n.transformedValue };
1254
- n.annotations && (o.meta = { ...o.meta, values: n.annotations });
1255
- const r = (function(s, i) {
1256
- const a = {};
1257
- let l;
1258
- return s.forEach((u) => {
1259
- if (u.length <= 1) return;
1260
- i || (u = u.map((E) => E.map(String)).sort((E, O) => E.length - O.length));
1261
- const [h, ...f] = u;
1262
- h.length === 0 ? l = f.map(be) : a[be(h)] = f.map(be);
1263
- }), l ? Re(a) ? [l] : [l, a] : Re(a) ? void 0 : a;
1264
- })(t, this.dedupe);
1265
- return r && (o.meta = { ...o.meta, referentialEqualities: r }), o;
1266
- }
1267
- deserialize(e) {
1268
- const { json: t, meta: n } = e;
1269
- let o = Le(t);
1270
- return n?.values && (o = no(o, n.values, this)), n?.referentialEqualities && (o = oo(o, n.referentialEqualities)), o;
1271
- }
1272
- stringify(e) {
1273
- return JSON.stringify(this.serialize(e));
1274
- }
1275
- parse(e) {
1276
- return this.deserialize(JSON.parse(e));
1277
- }
1278
- registerClass(e, t) {
1279
- this.classRegistry.register(e, t);
1280
- }
1281
- registerSymbol(e, t) {
1282
- this.symbolRegistry.register(e, t);
1283
- }
1284
- registerCustom(e, t) {
1285
- this.customTransformerRegistry.register({ name: t, ...e });
1286
- }
1287
- allowErrorProps(...e) {
1288
- this.allowedErrorProps.push(...e);
1289
- }
1290
- };
1291
- v.defaultInstance = new v(), v.serialize = v.defaultInstance.serialize.bind(v.defaultInstance), v.deserialize = v.defaultInstance.deserialize.bind(v.defaultInstance), v.stringify = v.defaultInstance.stringify.bind(v.defaultInstance), v.parse = v.defaultInstance.parse.bind(v.defaultInstance), v.registerClass = v.defaultInstance.registerClass.bind(v.defaultInstance), v.registerSymbol = v.defaultInstance.registerSymbol.bind(v.defaultInstance), v.registerCustom = v.defaultInstance.registerCustom.bind(v.defaultInstance), v.allowErrorProps = v.defaultInstance.allowErrorProps.bind(v.defaultInstance), c(), c(), c(), c(), c(), c(), c(), c(), c(), c(), c(), c(), c(), c(), c(), c(), c(), c(), c(), c(), c(), c(), c(), (bt = p).__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__ != null || (bt.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__ = []), (It = p).__VUE_DEVTOOLS_KIT_RPC_CLIENT__ != null || (It.__VUE_DEVTOOLS_KIT_RPC_CLIENT__ = null), (St = p).__VUE_DEVTOOLS_KIT_RPC_SERVER__ != null || (St.__VUE_DEVTOOLS_KIT_RPC_SERVER__ = null), (kt = p).__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__ != null || (kt.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__ = null), (wt = p).__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__ != null || (wt.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__ = null), (Vt = p).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__ != null || (Vt.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__ = null), c(), c(), c(), c(), c(), c(), c();
1292
- export {
1293
- io as addCustomCommand,
1294
- so as addCustomTab,
1295
- co as onDevToolsClientConnected,
1296
- ro as onDevToolsConnected,
1297
- ao as removeCustomCommand,
1298
- lo as setupDevToolsPlugin,
1299
- lo as setupDevtoolsPlugin
1300
- };