ep-lib-ts 1.0.36 → 1.0.39

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 (165) hide show
  1. package/dist/BgAudio-BDO4Ln5y.js +4 -0
  2. package/dist/DisplayBox-Diko7_uH.js +4 -0
  3. package/dist/Ep360Image-Dmwx7NrY.js +228 -0
  4. package/dist/Ep360Video-b_stvC2Z.js +235 -0
  5. package/dist/EpAlert-iWXSHupC.js +4 -0
  6. package/dist/EpAudio-Bnb1MIw6.js +4 -0
  7. package/dist/EpAvatar-DTfkDxUP.js +4 -0
  8. package/dist/{EpAvatar-Dmpg0PFj.js → EpAvatar.vue_vue_type_script_setup_true_lang-IeQ9W4tD.js} +11 -11
  9. package/dist/EpBadge-BcVkBKJK.js +4 -0
  10. package/dist/{EpBadge-DqmSNdbi.js → EpBadge-CWIq_C51.js} +2 -2
  11. package/dist/EpBarChart-D42B3a97.js +4 -0
  12. package/dist/EpBranchingScenario-dEapAg2r.js +151 -0
  13. package/dist/EpBtn-BtyunWne.js +4 -0
  14. package/dist/EpCard--mtof8hL.js +4 -0
  15. package/dist/{EpCheckbox-_Nt9Bvq3.js → EpCheckbox-D-AiG1k1.js} +10 -10
  16. package/dist/EpChip-DitreF_J.js +4 -0
  17. package/dist/EpCodeblock-nBOawE0H.js +4 -0
  18. package/dist/EpConclusion-CcOvoC8e.js +4 -0
  19. package/dist/EpContentSlider-DpIiJmPt.js +4 -0
  20. package/dist/{EpDarkmode-fMMNJbJs.js → EpDarkmode-DV-fRn1K.js} +5 -5
  21. package/dist/EpDescription-DeVW7LNL.js +4 -0
  22. package/dist/EpDivider-vEs9W9Km.js +4 -0
  23. package/dist/EpEdu-BC4BxjYR.js +4 -0
  24. package/dist/EpFlex-xdVOYg4a.js +4 -0
  25. package/dist/EpFunnelChart-CF1CM2id.js +4 -0
  26. package/dist/EpHeader-BMoXpQdW.js +4 -0
  27. package/dist/{EpHotsPot-DFz_Du9o.js → EpHotsPot-nT87sUMT.js} +6 -6
  28. package/dist/EpHover-CwOc7bvn.js +4 -0
  29. package/dist/EpHover.vue_vue_type_script_setup_true_lang-DDLIDTha.js +36 -0
  30. package/dist/EpHoverCard-BTWsiA2z.js +84 -0
  31. package/dist/EpIcon-Cektqqle.js +4 -0
  32. package/dist/EpIframe-CFLSXU7z.js +4 -0
  33. package/dist/EpImg-Ct-KfkRp.js +4 -0
  34. package/dist/EpInput-c9THhDCs.js +1095 -0
  35. package/dist/EpInstructions-BCFWkov8.js +4 -0
  36. package/dist/EpIntroduction-Cx1Tc920.js +4 -0
  37. package/dist/EpLineChart-BffNNoNj.js +4 -0
  38. package/dist/EpLink-Bx_E9Gjz.js +4 -0
  39. package/dist/EpLinkVersion-6CTPFhT5.js +4 -0
  40. package/dist/{EpList-B6Q3fXGj.js → EpList-CM3b-mLc.js} +3 -3
  41. package/dist/{EpListitem-DzQrc-k2.js → EpListitem-DXh4Kniu.js} +4 -4
  42. package/dist/EpLottieSvg-NNSQLDpl.js +1971 -0
  43. package/dist/EpModal-DLG_mddB.js +4 -0
  44. package/dist/EpNothing-DVY_GKL6.js +10 -0
  45. package/dist/EpObjective-DIWMrap_.js +4 -0
  46. package/dist/EpPieChart-CTDL07vZ.js +4 -0
  47. package/dist/EpQuestion-RzrZk_Op.js +4 -0
  48. package/dist/EpQuote-SaMcAmmL.js +4 -0
  49. package/dist/EpRadio-w5IkZmj5.js +4 -0
  50. package/dist/EpRadioSummative-BeZecHlR.js +4 -0
  51. package/dist/EpReading-CVgr9TGN.js +4 -0
  52. package/dist/EpResource-BEql6U6K.js +4 -0
  53. package/dist/EpScope-BAuTDV_B.js +4 -0
  54. package/dist/EpSection-CESMVDna.js +4 -0
  55. package/dist/EpSectionCols-CacYX-v3.js +4 -0
  56. package/dist/{EpSelect-FIb6SyJU.js → EpSelect-kjH_wTXb.js} +3 -3
  57. package/dist/EpSkeleton-CuvqT7PL.js +4 -0
  58. package/dist/EpSoftware-LK_nIUJY.js +4 -0
  59. package/dist/EpSpecificObjective-BTavyAY9.js +4 -0
  60. package/dist/EpSpinner-CZo0f9Nx.js +4 -0
  61. package/dist/EpStackedList-DWkLmrqI.js +75 -0
  62. package/dist/EpSummativeTable-Dlhhgq1A.js +4 -0
  63. package/dist/EpSvg-CG-uua_J.js +4 -0
  64. package/dist/{EpSwitch-hdXyzuR1.js → EpSwitch-DtQon_hm.js} +2 -2
  65. package/dist/EpTable-DsXZI8Hm.js +4 -0
  66. package/dist/EpTerm-DGTKAJqq.js +4 -0
  67. package/dist/EpText-kB0vb1Da.js +4 -0
  68. package/dist/{EpTextarea-D8UCQuga.js → EpTextarea-VJ4pdPV_.js} +2 -2
  69. package/dist/EpTimeLine-DK_bzCen.js +4 -0
  70. package/dist/{EpToggle-BDp54LpY.js → EpToggle-BTkTNVEz.js} +2 -2
  71. package/dist/{EpTooltip-B4s0_PvZ.js → EpTooltip-J6UMMP3d.js} +2 -2
  72. package/dist/EpVideo-CPN6M6cs.js +4 -0
  73. package/dist/EpVideoPanopto-UZckfqS1.js +4 -0
  74. package/dist/EpWordDef-dSnuxRtl.js +4 -0
  75. package/dist/components/basics/EpHover.vue.d.ts +12 -10
  76. package/dist/components/basics/EpHoverCard.vue.d.ts +86 -0
  77. package/dist/components/basics/EpStackedList.vue.d.ts +50 -0
  78. package/dist/components/educationals/EpBranchingScenario.vue.d.ts +45 -0
  79. package/dist/components/educationals/EpCodeblock.vue.d.ts +1 -1
  80. package/dist/components/interactions/Ep360Image.vue.d.ts +16 -0
  81. package/dist/components/interactions/Ep360Video.vue.d.ts +16 -0
  82. package/dist/components/medias/EpLottieSvg.vue.d.ts +58 -0
  83. package/dist/ep-lib-ts.js +23 -23
  84. package/dist/ep-lib-ts.umd.cjs +5158 -109
  85. package/dist/{index-D4ekzRdY.js → index-Bw4yzGuc.js} +3999 -3114
  86. package/dist/{index-7_RFK7FL.js → index-CPs4nmaJ.js} +4684 -4549
  87. package/dist/index-IdtPmXeP.js +3483 -0
  88. package/dist/{prism-CZvJL8HS.js → prism-DM8vlN3d.js} +1 -1
  89. package/dist/style.css +1 -1
  90. package/dist/testImg.jpg +0 -0
  91. package/dist/testMaria.jpg +0 -0
  92. package/dist/three.module-laS36oD-.js +48903 -0
  93. package/dist/types/Aframe.d.ts +1 -0
  94. package/dist/types/Component.d.ts +10 -0
  95. package/dist/types/Hover.d.ts +3 -0
  96. package/dist/types/StackedList.d.ts +37 -0
  97. package/dist/types/Three.d.ts +1 -0
  98. package/dist/types/image360.d.ts +16 -0
  99. package/dist/types/video360.d.ts +16 -0
  100. package/package.json +10 -5
  101. package/src/components/basics/EpHover.vue +32 -28
  102. package/src/components/basics/EpHoverCard.vue +123 -0
  103. package/src/components/basics/EpImg.vue +1 -1
  104. package/src/components/basics/EpListitem.vue +41 -59
  105. package/src/components/basics/EpStackedList.vue +83 -0
  106. package/src/components/educationals/EpBranchingScenario.vue +239 -0
  107. package/src/components/educationals/EpCodeblock.vue +1 -1
  108. package/src/components/educationals/EpEdu.vue +4 -4
  109. package/src/components/interactions/Ep360Image.vue +344 -0
  110. package/src/components/interactions/Ep360Video.vue +339 -0
  111. package/src/components/medias/EpLottieSvg.vue +79 -0
  112. package/dist/BgAudio-BpeNw9L4.js +0 -4
  113. package/dist/DisplayBox-aSVYrDHI.js +0 -4
  114. package/dist/EpAlert-x0STjaqD.js +0 -4
  115. package/dist/EpAudio-D7LIG4mf.js +0 -4
  116. package/dist/EpBadge-Du6v1vQL.js +0 -4
  117. package/dist/EpBarChart-BoINXvhV.js +0 -4
  118. package/dist/EpBtn-DE6qTHlW.js +0 -4
  119. package/dist/EpCard-CNcn4RbZ.js +0 -4
  120. package/dist/EpChip-DHgdqDEX.js +0 -4
  121. package/dist/EpCodeblock-CR2LGKR-.js +0 -4
  122. package/dist/EpConclusion-B9DhTuTc.js +0 -4
  123. package/dist/EpContentSlider-BdS_KctY.js +0 -4
  124. package/dist/EpDescription-D1TbwNrX.js +0 -4
  125. package/dist/EpDivider-DjTTwzGb.js +0 -4
  126. package/dist/EpEdu-CuI1_N9M.js +0 -4
  127. package/dist/EpFlex-Dx5C4Gc8.js +0 -4
  128. package/dist/EpFunnelChart-C6_M1nag.js +0 -4
  129. package/dist/EpHeader-B5jyGMDA.js +0 -4
  130. package/dist/EpHover-3fnZrdD6.js +0 -31
  131. package/dist/EpIcon-DDm9gGfm.js +0 -4
  132. package/dist/EpIframe-BNz3cawg.js +0 -4
  133. package/dist/EpImg-CxjLfziE.js +0 -4
  134. package/dist/EpInput-HmLHpLYh.js +0 -1168
  135. package/dist/EpInstructions-C0reDzIV.js +0 -4
  136. package/dist/EpIntroduction-C92mD-hu.js +0 -4
  137. package/dist/EpLineChart-Cm4W9z14.js +0 -4
  138. package/dist/EpLink-CGVS8yjO.js +0 -4
  139. package/dist/EpLinkVersion-CsGN9YS9.js +0 -4
  140. package/dist/EpModal-DuIZeI6V.js +0 -4
  141. package/dist/EpNothing-BDqIuSB9.js +0 -10
  142. package/dist/EpObjective-R1tWBwTe.js +0 -4
  143. package/dist/EpPieChart-CoTBcaaf.js +0 -4
  144. package/dist/EpQuestion-DmEcATq1.js +0 -4
  145. package/dist/EpQuote-BPCJBVbM.js +0 -4
  146. package/dist/EpRadio-TsUBsVoj.js +0 -4
  147. package/dist/EpRadioSummative-Cl9dVMJD.js +0 -4
  148. package/dist/EpReading-vOjzuYW7.js +0 -4
  149. package/dist/EpResource-Dbq_41hb.js +0 -4
  150. package/dist/EpScope-DIc4HvYy.js +0 -4
  151. package/dist/EpSection-Cb18CHq0.js +0 -4
  152. package/dist/EpSectionCols-B1P8ujg-.js +0 -4
  153. package/dist/EpSkeleton-vw7gDYoi.js +0 -4
  154. package/dist/EpSoftware-BAKbJhZg.js +0 -4
  155. package/dist/EpSpecificObjective-B5L6-OCN.js +0 -4
  156. package/dist/EpSpinner-rQzI6_Pe.js +0 -4
  157. package/dist/EpSummativeTable-Djg4DVSn.js +0 -4
  158. package/dist/EpSvg-DggY9PtW.js +0 -4
  159. package/dist/EpTable-CvhrvBOq.js +0 -4
  160. package/dist/EpTerm-C6HSHM0J.js +0 -4
  161. package/dist/EpText-CftDXaM-.js +0 -4
  162. package/dist/EpTimeLine-D7ks1LH_.js +0 -4
  163. package/dist/EpVideo-3MO0ao4H.js +0 -4
  164. package/dist/EpVideoPanopto-C-hIsXtV.js +0 -4
  165. package/dist/EpWordDef-BkwqmvfJ.js +0 -4
@@ -0,0 +1,3483 @@
1
+ var Sn = Object.create, Gt = Object.defineProperty, In = Object.getOwnPropertyDescriptor, ke = Object.getOwnPropertyNames, kn = Object.getPrototypeOf, bn = Object.prototype.hasOwnProperty, Rn = (e, t) => function() {
2
+ return e && (t = (0, e[ke(e)[0]])(e = 0)), t;
3
+ }, wn = (e, t) => function() {
4
+ return t || (0, e[ke(e)[0]])((t = { exports: {} }).exports, t), t.exports;
5
+ }, Pn = (e, t, n, u) => {
6
+ if (t && typeof t == "object" || typeof t == "function")
7
+ for (let r of ke(t))
8
+ !bn.call(e, r) && r !== n && Gt(e, r, { get: () => t[r], enumerable: !(u = In(t, r)) || u.enumerable });
9
+ return e;
10
+ }, Vn = (e, t, n) => (n = e != null ? Sn(kn(e)) : {}, Pn(
11
+ // If the importer is in node compatibility mode or this is not an ESM
12
+ // file that has been converted to a CommonJS file using a Babel-
13
+ // compatible transform (i.e. "__esModule" has not been set), then set
14
+ // "default" to the CommonJS "module.exports" for node compatibility.
15
+ Gt(n, "default", { value: e, enumerable: !0 }),
16
+ e
17
+ )), ee = Rn({
18
+ "../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.48.1_@types+node@22.10.5__jiti@2.4.2_postcss@8.4.49_tsx_s7k37zks4wtn7x2grzma6lrsfa/node_modules/tsup/assets/esm_shims.js"() {
19
+ }
20
+ }), xn = wn({
21
+ "../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js"(e, t) {
22
+ ee(), t.exports = u;
23
+ function n(o) {
24
+ return o instanceof Buffer ? Buffer.from(o) : new o.constructor(o.buffer.slice(), o.byteOffset, o.length);
25
+ }
26
+ function u(o) {
27
+ if (o = o || {}, o.circles) return r(o);
28
+ const i = /* @__PURE__ */ new Map();
29
+ if (i.set(Date, (d) => new Date(d)), i.set(Map, (d, m) => new Map(h(Array.from(d), m))), i.set(Set, (d, m) => new Set(h(Array.from(d), m))), o.constructorHandlers)
30
+ for (const d of o.constructorHandlers)
31
+ i.set(d[0], d[1]);
32
+ let a = null;
33
+ return o.proto ? A : p;
34
+ function h(d, m) {
35
+ const c = Object.keys(d), _ = new Array(c.length);
36
+ for (let g = 0; g < c.length; g++) {
37
+ const f = c[g], E = d[f];
38
+ typeof E != "object" || E === null ? _[f] = E : E.constructor !== Object && (a = i.get(E.constructor)) ? _[f] = a(E, m) : ArrayBuffer.isView(E) ? _[f] = n(E) : _[f] = m(E);
39
+ }
40
+ return _;
41
+ }
42
+ function p(d) {
43
+ if (typeof d != "object" || d === null) return d;
44
+ if (Array.isArray(d)) return h(d, p);
45
+ if (d.constructor !== Object && (a = i.get(d.constructor)))
46
+ return a(d, p);
47
+ const m = {};
48
+ for (const c in d) {
49
+ if (Object.hasOwnProperty.call(d, c) === !1) continue;
50
+ const _ = d[c];
51
+ typeof _ != "object" || _ === null ? m[c] = _ : _.constructor !== Object && (a = i.get(_.constructor)) ? m[c] = a(_, p) : ArrayBuffer.isView(_) ? m[c] = n(_) : m[c] = p(_);
52
+ }
53
+ return m;
54
+ }
55
+ function A(d) {
56
+ if (typeof d != "object" || d === null) return d;
57
+ if (Array.isArray(d)) return h(d, A);
58
+ if (d.constructor !== Object && (a = i.get(d.constructor)))
59
+ return a(d, A);
60
+ const m = {};
61
+ for (const c in d) {
62
+ const _ = d[c];
63
+ typeof _ != "object" || _ === null ? m[c] = _ : _.constructor !== Object && (a = i.get(_.constructor)) ? m[c] = a(_, A) : ArrayBuffer.isView(_) ? m[c] = n(_) : m[c] = A(_);
64
+ }
65
+ return m;
66
+ }
67
+ }
68
+ function r(o) {
69
+ const i = [], a = [], h = /* @__PURE__ */ new Map();
70
+ if (h.set(Date, (c) => new Date(c)), h.set(Map, (c, _) => new Map(A(Array.from(c), _))), h.set(Set, (c, _) => new Set(A(Array.from(c), _))), o.constructorHandlers)
71
+ for (const c of o.constructorHandlers)
72
+ h.set(c[0], c[1]);
73
+ let p = null;
74
+ return o.proto ? m : d;
75
+ function A(c, _) {
76
+ const g = Object.keys(c), f = new Array(g.length);
77
+ for (let E = 0; E < g.length; E++) {
78
+ const C = g[E], y = c[C];
79
+ if (typeof y != "object" || y === null)
80
+ f[C] = y;
81
+ else if (y.constructor !== Object && (p = h.get(y.constructor)))
82
+ f[C] = p(y, _);
83
+ else if (ArrayBuffer.isView(y))
84
+ f[C] = n(y);
85
+ else {
86
+ const k = i.indexOf(y);
87
+ k !== -1 ? f[C] = a[k] : f[C] = _(y);
88
+ }
89
+ }
90
+ return f;
91
+ }
92
+ function d(c) {
93
+ if (typeof c != "object" || c === null) return c;
94
+ if (Array.isArray(c)) return A(c, d);
95
+ if (c.constructor !== Object && (p = h.get(c.constructor)))
96
+ return p(c, d);
97
+ const _ = {};
98
+ i.push(c), a.push(_);
99
+ for (const g in c) {
100
+ if (Object.hasOwnProperty.call(c, g) === !1) continue;
101
+ const f = c[g];
102
+ if (typeof f != "object" || f === null)
103
+ _[g] = f;
104
+ else if (f.constructor !== Object && (p = h.get(f.constructor)))
105
+ _[g] = p(f, d);
106
+ else if (ArrayBuffer.isView(f))
107
+ _[g] = n(f);
108
+ else {
109
+ const E = i.indexOf(f);
110
+ E !== -1 ? _[g] = a[E] : _[g] = d(f);
111
+ }
112
+ }
113
+ return i.pop(), a.pop(), _;
114
+ }
115
+ function m(c) {
116
+ if (typeof c != "object" || c === null) return c;
117
+ if (Array.isArray(c)) return A(c, m);
118
+ if (c.constructor !== Object && (p = h.get(c.constructor)))
119
+ return p(c, m);
120
+ const _ = {};
121
+ i.push(c), a.push(_);
122
+ for (const g in c) {
123
+ const f = c[g];
124
+ if (typeof f != "object" || f === null)
125
+ _[g] = f;
126
+ else if (f.constructor !== Object && (p = h.get(f.constructor)))
127
+ _[g] = p(f, m);
128
+ else if (ArrayBuffer.isView(f))
129
+ _[g] = n(f);
130
+ else {
131
+ const E = i.indexOf(f);
132
+ E !== -1 ? _[g] = a[E] : _[g] = m(f);
133
+ }
134
+ }
135
+ return i.pop(), a.pop(), _;
136
+ }
137
+ }
138
+ }
139
+ });
140
+ ee();
141
+ ee();
142
+ ee();
143
+ var Wt = typeof navigator < "u", l = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : typeof global < "u" ? global : {};
144
+ typeof l.chrome < "u" && l.chrome.devtools;
145
+ Wt && (l.self, l.top);
146
+ var ze;
147
+ typeof navigator < "u" && ((ze = navigator.userAgent) == null || ze.toLowerCase().includes("electron"));
148
+ ee();
149
+ var Nn = Vn(xn()), Fn = /(?:^|[-_/])(\w)/g;
150
+ function Un(e, t) {
151
+ return t ? t.toUpperCase() : "";
152
+ }
153
+ function Bn(e) {
154
+ return e && `${e}`.replace(Fn, Un);
155
+ }
156
+ function Ln(e, t) {
157
+ let n = e.replace(/^[a-z]:/i, "").replace(/\\/g, "/");
158
+ n.endsWith(`index${t}`) && (n = n.replace(`/index${t}`, t));
159
+ const u = n.lastIndexOf("/"), r = n.substring(u + 1);
160
+ {
161
+ const o = r.lastIndexOf(t);
162
+ return r.substring(0, o);
163
+ }
164
+ }
165
+ var Mn = /^https?:\/\//;
166
+ function Kn(e) {
167
+ return e.startsWith("/") || Mn.test(e);
168
+ }
169
+ var $e = (0, Nn.default)({ circles: !0 });
170
+ const Hn = {
171
+ trailing: !0
172
+ };
173
+ function K(e, t = 25, n = {}) {
174
+ if (n = { ...Hn, ...n }, !Number.isFinite(t))
175
+ throw new TypeError("Expected `wait` to be a finite number");
176
+ let u, r, o = [], i, a;
177
+ const h = (p, A) => (i = zn(e, p, A), i.finally(() => {
178
+ if (i = null, n.trailing && a && !r) {
179
+ const d = h(p, a);
180
+ return a = null, d;
181
+ }
182
+ }), i);
183
+ return function(...p) {
184
+ return i ? (n.trailing && (a = p), i) : new Promise((A) => {
185
+ const d = !r && n.leading;
186
+ clearTimeout(r), r = setTimeout(() => {
187
+ r = null;
188
+ const m = n.leading ? u : h(this, p);
189
+ for (const c of o)
190
+ c(m);
191
+ o = [];
192
+ }, t), d ? (u = h(this, p), A(u)) : o.push(A);
193
+ });
194
+ };
195
+ }
196
+ async function zn(e, t, n) {
197
+ return await e.apply(t, n);
198
+ }
199
+ function me(e, t = {}, n) {
200
+ for (const u in e) {
201
+ const r = e[u], o = n ? `${n}:${u}` : u;
202
+ typeof r == "object" && r !== null ? me(r, t, o) : typeof r == "function" && (t[o] = r);
203
+ }
204
+ return t;
205
+ }
206
+ const $n = { run: (e) => e() }, jn = () => $n, qt = typeof console.createTask < "u" ? console.createTask : jn;
207
+ function Gn(e, t) {
208
+ const n = t.shift(), u = qt(n);
209
+ return e.reduce(
210
+ (r, o) => r.then(() => u.run(() => o(...t))),
211
+ Promise.resolve()
212
+ );
213
+ }
214
+ function Wn(e, t) {
215
+ const n = t.shift(), u = qt(n);
216
+ return Promise.all(e.map((r) => u.run(() => r(...t))));
217
+ }
218
+ function pe(e, t) {
219
+ for (const n of [...e])
220
+ n(t);
221
+ }
222
+ class qn {
223
+ constructor() {
224
+ 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);
225
+ }
226
+ hook(t, n, u = {}) {
227
+ if (!t || typeof n != "function")
228
+ return () => {
229
+ };
230
+ const r = t;
231
+ let o;
232
+ for (; this._deprecatedHooks[t]; )
233
+ o = this._deprecatedHooks[t], t = o.to;
234
+ if (o && !u.allowDeprecated) {
235
+ let i = o.message;
236
+ i || (i = `${r} hook has been deprecated` + (o.to ? `, please use ${o.to}` : "")), this._deprecatedMessages || (this._deprecatedMessages = /* @__PURE__ */ new Set()), this._deprecatedMessages.has(i) || (console.warn(i), this._deprecatedMessages.add(i));
237
+ }
238
+ if (!n.name)
239
+ try {
240
+ Object.defineProperty(n, "name", {
241
+ get: () => "_" + t.replace(/\W+/g, "_") + "_hook_cb",
242
+ configurable: !0
243
+ });
244
+ } catch {
245
+ }
246
+ return this._hooks[t] = this._hooks[t] || [], this._hooks[t].push(n), () => {
247
+ n && (this.removeHook(t, n), n = void 0);
248
+ };
249
+ }
250
+ hookOnce(t, n) {
251
+ let u, r = (...o) => (typeof u == "function" && u(), u = void 0, r = void 0, n(...o));
252
+ return u = this.hook(t, r), u;
253
+ }
254
+ removeHook(t, n) {
255
+ if (this._hooks[t]) {
256
+ const u = this._hooks[t].indexOf(n);
257
+ u !== -1 && this._hooks[t].splice(u, 1), this._hooks[t].length === 0 && delete this._hooks[t];
258
+ }
259
+ }
260
+ deprecateHook(t, n) {
261
+ this._deprecatedHooks[t] = typeof n == "string" ? { to: n } : n;
262
+ const u = this._hooks[t] || [];
263
+ delete this._hooks[t];
264
+ for (const r of u)
265
+ this.hook(t, r);
266
+ }
267
+ deprecateHooks(t) {
268
+ Object.assign(this._deprecatedHooks, t);
269
+ for (const n in t)
270
+ this.deprecateHook(n, t[n]);
271
+ }
272
+ addHooks(t) {
273
+ const n = me(t), u = Object.keys(n).map(
274
+ (r) => this.hook(r, n[r])
275
+ );
276
+ return () => {
277
+ for (const r of u.splice(0, u.length))
278
+ r();
279
+ };
280
+ }
281
+ removeHooks(t) {
282
+ const n = me(t);
283
+ for (const u in n)
284
+ this.removeHook(u, n[u]);
285
+ }
286
+ removeAllHooks() {
287
+ for (const t in this._hooks)
288
+ delete this._hooks[t];
289
+ }
290
+ callHook(t, ...n) {
291
+ return n.unshift(t), this.callHookWith(Gn, t, ...n);
292
+ }
293
+ callHookParallel(t, ...n) {
294
+ return n.unshift(t), this.callHookWith(Wn, t, ...n);
295
+ }
296
+ callHookWith(t, n, ...u) {
297
+ const r = this._before || this._after ? { name: n, args: u, context: {} } : void 0;
298
+ this._before && pe(this._before, r);
299
+ const o = t(
300
+ n in this._hooks ? [...this._hooks[n]] : [],
301
+ u
302
+ );
303
+ return o instanceof Promise ? o.finally(() => {
304
+ this._after && r && pe(this._after, r);
305
+ }) : (this._after && r && pe(this._after, r), o);
306
+ }
307
+ beforeEach(t) {
308
+ return this._before = this._before || [], this._before.push(t), () => {
309
+ if (this._before !== void 0) {
310
+ const n = this._before.indexOf(t);
311
+ n !== -1 && this._before.splice(n, 1);
312
+ }
313
+ };
314
+ }
315
+ afterEach(t) {
316
+ return this._after = this._after || [], this._after.push(t), () => {
317
+ if (this._after !== void 0) {
318
+ const n = this._after.indexOf(t);
319
+ n !== -1 && this._after.splice(n, 1);
320
+ }
321
+ };
322
+ }
323
+ }
324
+ function Yt() {
325
+ return new qn();
326
+ }
327
+ var Yn = Object.create, Zt = Object.defineProperty, Zn = Object.getOwnPropertyDescriptor, be = Object.getOwnPropertyNames, Xn = Object.getPrototypeOf, Jn = Object.prototype.hasOwnProperty, Qn = (e, t) => function() {
328
+ return e && (t = (0, e[be(e)[0]])(e = 0)), t;
329
+ }, Xt = (e, t) => function() {
330
+ return t || (0, e[be(e)[0]])((t = { exports: {} }).exports, t), t.exports;
331
+ }, eu = (e, t, n, u) => {
332
+ if (t && typeof t == "object" || typeof t == "function")
333
+ for (let r of be(t))
334
+ !Jn.call(e, r) && r !== n && Zt(e, r, { get: () => t[r], enumerable: !(u = Zn(t, r)) || u.enumerable });
335
+ return e;
336
+ }, tu = (e, t, n) => (n = e != null ? Yn(Xn(e)) : {}, eu(
337
+ // If the importer is in node compatibility mode or this is not an ESM
338
+ // file that has been converted to a CommonJS file using a Babel-
339
+ // compatible transform (i.e. "__esModule" has not been set), then set
340
+ // "default" to the CommonJS "module.exports" for node compatibility.
341
+ Zt(n, "default", { value: e, enumerable: !0 }),
342
+ e
343
+ )), s = Qn({
344
+ "../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.48.1_@types+node@22.10.5__jiti@2.4.2_postcss@8.4.49_tsx_s7k37zks4wtn7x2grzma6lrsfa/node_modules/tsup/assets/esm_shims.js"() {
345
+ }
346
+ }), nu = Xt({
347
+ "../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(e, t) {
348
+ s(), function(n) {
349
+ var u = {
350
+ // latin
351
+ À: "A",
352
+ Á: "A",
353
+ Â: "A",
354
+ Ã: "A",
355
+ Ä: "Ae",
356
+ Å: "A",
357
+ Æ: "AE",
358
+ Ç: "C",
359
+ È: "E",
360
+ É: "E",
361
+ Ê: "E",
362
+ Ë: "E",
363
+ Ì: "I",
364
+ Í: "I",
365
+ Î: "I",
366
+ Ï: "I",
367
+ Ð: "D",
368
+ Ñ: "N",
369
+ Ò: "O",
370
+ Ó: "O",
371
+ Ô: "O",
372
+ Õ: "O",
373
+ Ö: "Oe",
374
+ Ő: "O",
375
+ Ø: "O",
376
+ Ù: "U",
377
+ Ú: "U",
378
+ Û: "U",
379
+ Ü: "Ue",
380
+ Ű: "U",
381
+ Ý: "Y",
382
+ Þ: "TH",
383
+ ß: "ss",
384
+ à: "a",
385
+ á: "a",
386
+ â: "a",
387
+ ã: "a",
388
+ ä: "ae",
389
+ å: "a",
390
+ æ: "ae",
391
+ ç: "c",
392
+ è: "e",
393
+ é: "e",
394
+ ê: "e",
395
+ ë: "e",
396
+ ì: "i",
397
+ í: "i",
398
+ î: "i",
399
+ ï: "i",
400
+ ð: "d",
401
+ ñ: "n",
402
+ ò: "o",
403
+ ó: "o",
404
+ ô: "o",
405
+ õ: "o",
406
+ ö: "oe",
407
+ ő: "o",
408
+ ø: "o",
409
+ ù: "u",
410
+ ú: "u",
411
+ û: "u",
412
+ ü: "ue",
413
+ ű: "u",
414
+ ý: "y",
415
+ þ: "th",
416
+ ÿ: "y",
417
+ "ẞ": "SS",
418
+ // language specific
419
+ // Arabic
420
+ ا: "a",
421
+ أ: "a",
422
+ إ: "i",
423
+ آ: "aa",
424
+ ؤ: "u",
425
+ ئ: "e",
426
+ ء: "a",
427
+ ب: "b",
428
+ ت: "t",
429
+ ث: "th",
430
+ ج: "j",
431
+ ح: "h",
432
+ خ: "kh",
433
+ د: "d",
434
+ ذ: "th",
435
+ ر: "r",
436
+ ز: "z",
437
+ س: "s",
438
+ ش: "sh",
439
+ ص: "s",
440
+ ض: "dh",
441
+ ط: "t",
442
+ ظ: "z",
443
+ ع: "a",
444
+ غ: "gh",
445
+ ف: "f",
446
+ ق: "q",
447
+ ك: "k",
448
+ ل: "l",
449
+ م: "m",
450
+ ن: "n",
451
+ ه: "h",
452
+ و: "w",
453
+ ي: "y",
454
+ ى: "a",
455
+ ة: "h",
456
+ ﻻ: "la",
457
+ ﻷ: "laa",
458
+ ﻹ: "lai",
459
+ ﻵ: "laa",
460
+ // Persian additional characters than Arabic
461
+ گ: "g",
462
+ چ: "ch",
463
+ پ: "p",
464
+ ژ: "zh",
465
+ ک: "k",
466
+ ی: "y",
467
+ // Arabic diactrics
468
+ "َ": "a",
469
+ "ً": "an",
470
+ "ِ": "e",
471
+ "ٍ": "en",
472
+ "ُ": "u",
473
+ "ٌ": "on",
474
+ "ْ": "",
475
+ // Arabic numbers
476
+ "٠": "0",
477
+ "١": "1",
478
+ "٢": "2",
479
+ "٣": "3",
480
+ "٤": "4",
481
+ "٥": "5",
482
+ "٦": "6",
483
+ "٧": "7",
484
+ "٨": "8",
485
+ "٩": "9",
486
+ // Persian numbers
487
+ "۰": "0",
488
+ "۱": "1",
489
+ "۲": "2",
490
+ "۳": "3",
491
+ "۴": "4",
492
+ "۵": "5",
493
+ "۶": "6",
494
+ "۷": "7",
495
+ "۸": "8",
496
+ "۹": "9",
497
+ // Burmese consonants
498
+ က: "k",
499
+ ခ: "kh",
500
+ ဂ: "g",
501
+ ဃ: "ga",
502
+ င: "ng",
503
+ စ: "s",
504
+ ဆ: "sa",
505
+ ဇ: "z",
506
+ "စျ": "za",
507
+ ည: "ny",
508
+ ဋ: "t",
509
+ ဌ: "ta",
510
+ ဍ: "d",
511
+ ဎ: "da",
512
+ ဏ: "na",
513
+ တ: "t",
514
+ ထ: "ta",
515
+ ဒ: "d",
516
+ ဓ: "da",
517
+ န: "n",
518
+ ပ: "p",
519
+ ဖ: "pa",
520
+ ဗ: "b",
521
+ ဘ: "ba",
522
+ မ: "m",
523
+ ယ: "y",
524
+ ရ: "ya",
525
+ လ: "l",
526
+ ဝ: "w",
527
+ သ: "th",
528
+ ဟ: "h",
529
+ ဠ: "la",
530
+ အ: "a",
531
+ // consonant character combos
532
+ "ြ": "y",
533
+ "ျ": "ya",
534
+ "ွ": "w",
535
+ "ြွ": "yw",
536
+ "ျွ": "ywa",
537
+ "ှ": "h",
538
+ // independent vowels
539
+ ဧ: "e",
540
+ "၏": "-e",
541
+ ဣ: "i",
542
+ ဤ: "-i",
543
+ ဉ: "u",
544
+ ဦ: "-u",
545
+ ဩ: "aw",
546
+ "သြော": "aw",
547
+ ဪ: "aw",
548
+ // numbers
549
+ "၀": "0",
550
+ "၁": "1",
551
+ "၂": "2",
552
+ "၃": "3",
553
+ "၄": "4",
554
+ "၅": "5",
555
+ "၆": "6",
556
+ "၇": "7",
557
+ "၈": "8",
558
+ "၉": "9",
559
+ // virama and tone marks which are silent in transliteration
560
+ "္": "",
561
+ "့": "",
562
+ "း": "",
563
+ // Czech
564
+ č: "c",
565
+ ď: "d",
566
+ ě: "e",
567
+ ň: "n",
568
+ ř: "r",
569
+ š: "s",
570
+ ť: "t",
571
+ ů: "u",
572
+ ž: "z",
573
+ Č: "C",
574
+ Ď: "D",
575
+ Ě: "E",
576
+ Ň: "N",
577
+ Ř: "R",
578
+ Š: "S",
579
+ Ť: "T",
580
+ Ů: "U",
581
+ Ž: "Z",
582
+ // Dhivehi
583
+ ހ: "h",
584
+ ށ: "sh",
585
+ ނ: "n",
586
+ ރ: "r",
587
+ ބ: "b",
588
+ ޅ: "lh",
589
+ ކ: "k",
590
+ އ: "a",
591
+ ވ: "v",
592
+ މ: "m",
593
+ ފ: "f",
594
+ ދ: "dh",
595
+ ތ: "th",
596
+ ލ: "l",
597
+ ގ: "g",
598
+ ޏ: "gn",
599
+ ސ: "s",
600
+ ޑ: "d",
601
+ ޒ: "z",
602
+ ޓ: "t",
603
+ ޔ: "y",
604
+ ޕ: "p",
605
+ ޖ: "j",
606
+ ޗ: "ch",
607
+ ޘ: "tt",
608
+ ޙ: "hh",
609
+ ޚ: "kh",
610
+ ޛ: "th",
611
+ ޜ: "z",
612
+ ޝ: "sh",
613
+ ޞ: "s",
614
+ ޟ: "d",
615
+ ޠ: "t",
616
+ ޡ: "z",
617
+ ޢ: "a",
618
+ ޣ: "gh",
619
+ ޤ: "q",
620
+ ޥ: "w",
621
+ "ަ": "a",
622
+ "ާ": "aa",
623
+ "ި": "i",
624
+ "ީ": "ee",
625
+ "ު": "u",
626
+ "ޫ": "oo",
627
+ "ެ": "e",
628
+ "ޭ": "ey",
629
+ "ޮ": "o",
630
+ "ޯ": "oa",
631
+ "ް": "",
632
+ // Georgian https://en.wikipedia.org/wiki/Romanization_of_Georgian
633
+ // National system (2002)
634
+ ა: "a",
635
+ ბ: "b",
636
+ გ: "g",
637
+ დ: "d",
638
+ ე: "e",
639
+ ვ: "v",
640
+ ზ: "z",
641
+ თ: "t",
642
+ ი: "i",
643
+ კ: "k",
644
+ ლ: "l",
645
+ მ: "m",
646
+ ნ: "n",
647
+ ო: "o",
648
+ პ: "p",
649
+ ჟ: "zh",
650
+ რ: "r",
651
+ ს: "s",
652
+ ტ: "t",
653
+ უ: "u",
654
+ ფ: "p",
655
+ ქ: "k",
656
+ ღ: "gh",
657
+ ყ: "q",
658
+ შ: "sh",
659
+ ჩ: "ch",
660
+ ც: "ts",
661
+ ძ: "dz",
662
+ წ: "ts",
663
+ ჭ: "ch",
664
+ ხ: "kh",
665
+ ჯ: "j",
666
+ ჰ: "h",
667
+ // Greek
668
+ α: "a",
669
+ β: "v",
670
+ γ: "g",
671
+ δ: "d",
672
+ ε: "e",
673
+ ζ: "z",
674
+ η: "i",
675
+ θ: "th",
676
+ ι: "i",
677
+ κ: "k",
678
+ λ: "l",
679
+ μ: "m",
680
+ ν: "n",
681
+ ξ: "ks",
682
+ ο: "o",
683
+ π: "p",
684
+ ρ: "r",
685
+ σ: "s",
686
+ τ: "t",
687
+ υ: "y",
688
+ φ: "f",
689
+ χ: "x",
690
+ ψ: "ps",
691
+ ω: "o",
692
+ ά: "a",
693
+ έ: "e",
694
+ ί: "i",
695
+ ό: "o",
696
+ ύ: "y",
697
+ ή: "i",
698
+ ώ: "o",
699
+ ς: "s",
700
+ ϊ: "i",
701
+ ΰ: "y",
702
+ ϋ: "y",
703
+ ΐ: "i",
704
+ Α: "A",
705
+ Β: "B",
706
+ Γ: "G",
707
+ Δ: "D",
708
+ Ε: "E",
709
+ Ζ: "Z",
710
+ Η: "I",
711
+ Θ: "TH",
712
+ Ι: "I",
713
+ Κ: "K",
714
+ Λ: "L",
715
+ Μ: "M",
716
+ Ν: "N",
717
+ Ξ: "KS",
718
+ Ο: "O",
719
+ Π: "P",
720
+ Ρ: "R",
721
+ Σ: "S",
722
+ Τ: "T",
723
+ Υ: "Y",
724
+ Φ: "F",
725
+ Χ: "X",
726
+ Ψ: "PS",
727
+ Ω: "O",
728
+ Ά: "A",
729
+ Έ: "E",
730
+ Ί: "I",
731
+ Ό: "O",
732
+ Ύ: "Y",
733
+ Ή: "I",
734
+ Ώ: "O",
735
+ Ϊ: "I",
736
+ Ϋ: "Y",
737
+ // Latvian
738
+ ā: "a",
739
+ // 'č': 'c', // duplicate
740
+ ē: "e",
741
+ ģ: "g",
742
+ ī: "i",
743
+ ķ: "k",
744
+ ļ: "l",
745
+ ņ: "n",
746
+ // 'š': 's', // duplicate
747
+ ū: "u",
748
+ // 'ž': 'z', // duplicate
749
+ Ā: "A",
750
+ // 'Č': 'C', // duplicate
751
+ Ē: "E",
752
+ Ģ: "G",
753
+ Ī: "I",
754
+ Ķ: "k",
755
+ Ļ: "L",
756
+ Ņ: "N",
757
+ // 'Š': 'S', // duplicate
758
+ Ū: "U",
759
+ // 'Ž': 'Z', // duplicate
760
+ // Macedonian
761
+ Ќ: "Kj",
762
+ ќ: "kj",
763
+ Љ: "Lj",
764
+ љ: "lj",
765
+ Њ: "Nj",
766
+ њ: "nj",
767
+ Тс: "Ts",
768
+ тс: "ts",
769
+ // Polish
770
+ ą: "a",
771
+ ć: "c",
772
+ ę: "e",
773
+ ł: "l",
774
+ ń: "n",
775
+ // 'ó': 'o', // duplicate
776
+ ś: "s",
777
+ ź: "z",
778
+ ż: "z",
779
+ Ą: "A",
780
+ Ć: "C",
781
+ Ę: "E",
782
+ Ł: "L",
783
+ Ń: "N",
784
+ Ś: "S",
785
+ Ź: "Z",
786
+ Ż: "Z",
787
+ // Ukranian
788
+ Є: "Ye",
789
+ І: "I",
790
+ Ї: "Yi",
791
+ Ґ: "G",
792
+ є: "ye",
793
+ і: "i",
794
+ ї: "yi",
795
+ ґ: "g",
796
+ // Romanian
797
+ ă: "a",
798
+ Ă: "A",
799
+ ș: "s",
800
+ Ș: "S",
801
+ // 'ş': 's', // duplicate
802
+ // 'Ş': 'S', // duplicate
803
+ ț: "t",
804
+ Ț: "T",
805
+ ţ: "t",
806
+ Ţ: "T",
807
+ // Russian https://en.wikipedia.org/wiki/Romanization_of_Russian
808
+ // ICAO
809
+ а: "a",
810
+ б: "b",
811
+ в: "v",
812
+ г: "g",
813
+ д: "d",
814
+ е: "e",
815
+ ё: "yo",
816
+ ж: "zh",
817
+ з: "z",
818
+ и: "i",
819
+ й: "i",
820
+ к: "k",
821
+ л: "l",
822
+ м: "m",
823
+ н: "n",
824
+ о: "o",
825
+ п: "p",
826
+ р: "r",
827
+ с: "s",
828
+ т: "t",
829
+ у: "u",
830
+ ф: "f",
831
+ х: "kh",
832
+ ц: "c",
833
+ ч: "ch",
834
+ ш: "sh",
835
+ щ: "sh",
836
+ ъ: "",
837
+ ы: "y",
838
+ ь: "",
839
+ э: "e",
840
+ ю: "yu",
841
+ я: "ya",
842
+ А: "A",
843
+ Б: "B",
844
+ В: "V",
845
+ Г: "G",
846
+ Д: "D",
847
+ Е: "E",
848
+ Ё: "Yo",
849
+ Ж: "Zh",
850
+ З: "Z",
851
+ И: "I",
852
+ Й: "I",
853
+ К: "K",
854
+ Л: "L",
855
+ М: "M",
856
+ Н: "N",
857
+ О: "O",
858
+ П: "P",
859
+ Р: "R",
860
+ С: "S",
861
+ Т: "T",
862
+ У: "U",
863
+ Ф: "F",
864
+ Х: "Kh",
865
+ Ц: "C",
866
+ Ч: "Ch",
867
+ Ш: "Sh",
868
+ Щ: "Sh",
869
+ Ъ: "",
870
+ Ы: "Y",
871
+ Ь: "",
872
+ Э: "E",
873
+ Ю: "Yu",
874
+ Я: "Ya",
875
+ // Serbian
876
+ ђ: "dj",
877
+ ј: "j",
878
+ // 'љ': 'lj', // duplicate
879
+ // 'њ': 'nj', // duplicate
880
+ ћ: "c",
881
+ џ: "dz",
882
+ Ђ: "Dj",
883
+ Ј: "j",
884
+ // 'Љ': 'Lj', // duplicate
885
+ // 'Њ': 'Nj', // duplicate
886
+ Ћ: "C",
887
+ Џ: "Dz",
888
+ // Slovak
889
+ ľ: "l",
890
+ ĺ: "l",
891
+ ŕ: "r",
892
+ Ľ: "L",
893
+ Ĺ: "L",
894
+ Ŕ: "R",
895
+ // Turkish
896
+ ş: "s",
897
+ Ş: "S",
898
+ ı: "i",
899
+ İ: "I",
900
+ // 'ç': 'c', // duplicate
901
+ // 'Ç': 'C', // duplicate
902
+ // 'ü': 'u', // duplicate, see langCharMap
903
+ // 'Ü': 'U', // duplicate, see langCharMap
904
+ // 'ö': 'o', // duplicate, see langCharMap
905
+ // 'Ö': 'O', // duplicate, see langCharMap
906
+ ğ: "g",
907
+ Ğ: "G",
908
+ // Vietnamese
909
+ ả: "a",
910
+ Ả: "A",
911
+ ẳ: "a",
912
+ Ẳ: "A",
913
+ ẩ: "a",
914
+ Ẩ: "A",
915
+ đ: "d",
916
+ Đ: "D",
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
+ ể: "e",
932
+ Ể: "E",
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
+ Ở: "o",
957
+ ở: "o",
958
+ ị: "i",
959
+ Ị: "I",
960
+ ĩ: "i",
961
+ Ĩ: "I",
962
+ ỉ: "i",
963
+ Ỉ: "i",
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
+ Ữ: "U",
980
+ ử: "u",
981
+ Ử: "ư",
982
+ ỷ: "y",
983
+ Ỷ: "y",
984
+ ỳ: "y",
985
+ Ỳ: "Y",
986
+ ỵ: "y",
987
+ Ỵ: "Y",
988
+ ỹ: "y",
989
+ Ỹ: "Y",
990
+ ạ: "a",
991
+ Ạ: "A",
992
+ ấ: "a",
993
+ Ấ: "A",
994
+ ầ: "a",
995
+ Ầ: "A",
996
+ ậ: "a",
997
+ Ậ: "A",
998
+ ẫ: "a",
999
+ Ẫ: "A",
1000
+ // 'ă': 'a', // duplicate
1001
+ // 'Ă': 'A', // duplicate
1002
+ ắ: "a",
1003
+ Ắ: "A",
1004
+ ằ: "a",
1005
+ Ằ: "A",
1006
+ ặ: "a",
1007
+ Ặ: "A",
1008
+ ẵ: "a",
1009
+ Ẵ: "A",
1010
+ "⓪": "0",
1011
+ "①": "1",
1012
+ "②": "2",
1013
+ "③": "3",
1014
+ "④": "4",
1015
+ "⑤": "5",
1016
+ "⑥": "6",
1017
+ "⑦": "7",
1018
+ "⑧": "8",
1019
+ "⑨": "9",
1020
+ "⑩": "10",
1021
+ "⑪": "11",
1022
+ "⑫": "12",
1023
+ "⑬": "13",
1024
+ "⑭": "14",
1025
+ "⑮": "15",
1026
+ "⑯": "16",
1027
+ "⑰": "17",
1028
+ "⑱": "18",
1029
+ "⑲": "18",
1030
+ "⑳": "18",
1031
+ "⓵": "1",
1032
+ "⓶": "2",
1033
+ "⓷": "3",
1034
+ "⓸": "4",
1035
+ "⓹": "5",
1036
+ "⓺": "6",
1037
+ "⓻": "7",
1038
+ "⓼": "8",
1039
+ "⓽": "9",
1040
+ "⓾": "10",
1041
+ "⓿": "0",
1042
+ "⓫": "11",
1043
+ "⓬": "12",
1044
+ "⓭": "13",
1045
+ "⓮": "14",
1046
+ "⓯": "15",
1047
+ "⓰": "16",
1048
+ "⓱": "17",
1049
+ "⓲": "18",
1050
+ "⓳": "19",
1051
+ "⓴": "20",
1052
+ "Ⓐ": "A",
1053
+ "Ⓑ": "B",
1054
+ "Ⓒ": "C",
1055
+ "Ⓓ": "D",
1056
+ "Ⓔ": "E",
1057
+ "Ⓕ": "F",
1058
+ "Ⓖ": "G",
1059
+ "Ⓗ": "H",
1060
+ "Ⓘ": "I",
1061
+ "Ⓙ": "J",
1062
+ "Ⓚ": "K",
1063
+ "Ⓛ": "L",
1064
+ "Ⓜ": "M",
1065
+ "Ⓝ": "N",
1066
+ "Ⓞ": "O",
1067
+ "Ⓟ": "P",
1068
+ "Ⓠ": "Q",
1069
+ "Ⓡ": "R",
1070
+ "Ⓢ": "S",
1071
+ "Ⓣ": "T",
1072
+ "Ⓤ": "U",
1073
+ "Ⓥ": "V",
1074
+ "Ⓦ": "W",
1075
+ "Ⓧ": "X",
1076
+ "Ⓨ": "Y",
1077
+ "Ⓩ": "Z",
1078
+ "ⓐ": "a",
1079
+ "ⓑ": "b",
1080
+ "ⓒ": "c",
1081
+ "ⓓ": "d",
1082
+ "ⓔ": "e",
1083
+ "ⓕ": "f",
1084
+ "ⓖ": "g",
1085
+ "ⓗ": "h",
1086
+ "ⓘ": "i",
1087
+ "ⓙ": "j",
1088
+ "ⓚ": "k",
1089
+ "ⓛ": "l",
1090
+ "ⓜ": "m",
1091
+ "ⓝ": "n",
1092
+ "ⓞ": "o",
1093
+ "ⓟ": "p",
1094
+ "ⓠ": "q",
1095
+ "ⓡ": "r",
1096
+ "ⓢ": "s",
1097
+ "ⓣ": "t",
1098
+ "ⓤ": "u",
1099
+ "ⓦ": "v",
1100
+ "ⓥ": "w",
1101
+ "ⓧ": "x",
1102
+ "ⓨ": "y",
1103
+ "ⓩ": "z",
1104
+ // symbols
1105
+ "“": '"',
1106
+ "”": '"',
1107
+ "‘": "'",
1108
+ "’": "'",
1109
+ "∂": "d",
1110
+ ƒ: "f",
1111
+ "™": "(TM)",
1112
+ "©": "(C)",
1113
+ œ: "oe",
1114
+ Œ: "OE",
1115
+ "®": "(R)",
1116
+ "†": "+",
1117
+ "℠": "(SM)",
1118
+ "…": "...",
1119
+ "˚": "o",
1120
+ º: "o",
1121
+ ª: "a",
1122
+ "•": "*",
1123
+ "၊": ",",
1124
+ "။": ".",
1125
+ // currency
1126
+ $: "USD",
1127
+ "€": "EUR",
1128
+ "₢": "BRN",
1129
+ "₣": "FRF",
1130
+ "£": "GBP",
1131
+ "₤": "ITL",
1132
+ "₦": "NGN",
1133
+ "₧": "ESP",
1134
+ "₩": "KRW",
1135
+ "₪": "ILS",
1136
+ "₫": "VND",
1137
+ "₭": "LAK",
1138
+ "₮": "MNT",
1139
+ "₯": "GRD",
1140
+ "₱": "ARS",
1141
+ "₲": "PYG",
1142
+ "₳": "ARA",
1143
+ "₴": "UAH",
1144
+ "₵": "GHS",
1145
+ "¢": "cent",
1146
+ "¥": "CNY",
1147
+ 元: "CNY",
1148
+ 円: "YEN",
1149
+ "﷼": "IRR",
1150
+ "₠": "EWE",
1151
+ "฿": "THB",
1152
+ "₨": "INR",
1153
+ "₹": "INR",
1154
+ "₰": "PF",
1155
+ "₺": "TRY",
1156
+ "؋": "AFN",
1157
+ "₼": "AZN",
1158
+ лв: "BGN",
1159
+ "៛": "KHR",
1160
+ "₡": "CRC",
1161
+ "₸": "KZT",
1162
+ ден: "MKD",
1163
+ zł: "PLN",
1164
+ "₽": "RUB",
1165
+ "₾": "GEL"
1166
+ }, r = [
1167
+ // burmese
1168
+ "်",
1169
+ // Dhivehi
1170
+ "ް"
1171
+ ], o = {
1172
+ // Burmese
1173
+ // dependent vowels
1174
+ "ာ": "a",
1175
+ "ါ": "a",
1176
+ "ေ": "e",
1177
+ "ဲ": "e",
1178
+ "ိ": "i",
1179
+ "ီ": "i",
1180
+ "ို": "o",
1181
+ "ု": "u",
1182
+ "ူ": "u",
1183
+ "ေါင်": "aung",
1184
+ "ော": "aw",
1185
+ "ော်": "aw",
1186
+ "ေါ": "aw",
1187
+ "ေါ်": "aw",
1188
+ "်": "်",
1189
+ // this is special case but the character will be converted to latin in the code
1190
+ "က်": "et",
1191
+ "ိုက်": "aik",
1192
+ "ောက်": "auk",
1193
+ "င်": "in",
1194
+ "ိုင်": "aing",
1195
+ "ောင်": "aung",
1196
+ "စ်": "it",
1197
+ "ည်": "i",
1198
+ "တ်": "at",
1199
+ "ိတ်": "eik",
1200
+ "ုတ်": "ok",
1201
+ "ွတ်": "ut",
1202
+ "ေတ်": "it",
1203
+ "ဒ်": "d",
1204
+ "ိုဒ်": "ok",
1205
+ "ုဒ်": "ait",
1206
+ "န်": "an",
1207
+ "ာန်": "an",
1208
+ "ိန်": "ein",
1209
+ "ုန်": "on",
1210
+ "ွန်": "un",
1211
+ "ပ်": "at",
1212
+ "ိပ်": "eik",
1213
+ "ုပ်": "ok",
1214
+ "ွပ်": "ut",
1215
+ "န်ုပ်": "nub",
1216
+ "မ်": "an",
1217
+ "ိမ်": "ein",
1218
+ "ုမ်": "on",
1219
+ "ွမ်": "un",
1220
+ "ယ်": "e",
1221
+ "ိုလ်": "ol",
1222
+ "ဉ်": "in",
1223
+ "ံ": "an",
1224
+ "ိံ": "ein",
1225
+ "ုံ": "on",
1226
+ // Dhivehi
1227
+ "ައް": "ah",
1228
+ "ަށް": "ah"
1229
+ }, i = {
1230
+ en: {},
1231
+ // default language
1232
+ az: {
1233
+ // Azerbaijani
1234
+ ç: "c",
1235
+ ə: "e",
1236
+ ğ: "g",
1237
+ ı: "i",
1238
+ ö: "o",
1239
+ ş: "s",
1240
+ ü: "u",
1241
+ Ç: "C",
1242
+ Ə: "E",
1243
+ Ğ: "G",
1244
+ İ: "I",
1245
+ Ö: "O",
1246
+ Ş: "S",
1247
+ Ü: "U"
1248
+ },
1249
+ cs: {
1250
+ // Czech
1251
+ č: "c",
1252
+ ď: "d",
1253
+ ě: "e",
1254
+ ň: "n",
1255
+ ř: "r",
1256
+ š: "s",
1257
+ ť: "t",
1258
+ ů: "u",
1259
+ ž: "z",
1260
+ Č: "C",
1261
+ Ď: "D",
1262
+ Ě: "E",
1263
+ Ň: "N",
1264
+ Ř: "R",
1265
+ Š: "S",
1266
+ Ť: "T",
1267
+ Ů: "U",
1268
+ Ž: "Z"
1269
+ },
1270
+ fi: {
1271
+ // Finnish
1272
+ // 'å': 'a', duplicate see charMap/latin
1273
+ // 'Å': 'A', duplicate see charMap/latin
1274
+ ä: "a",
1275
+ // ok
1276
+ Ä: "A",
1277
+ // ok
1278
+ ö: "o",
1279
+ // ok
1280
+ Ö: "O"
1281
+ // ok
1282
+ },
1283
+ hu: {
1284
+ // Hungarian
1285
+ ä: "a",
1286
+ // ok
1287
+ Ä: "A",
1288
+ // ok
1289
+ // 'á': 'a', duplicate see charMap/latin
1290
+ // 'Á': 'A', duplicate see charMap/latin
1291
+ ö: "o",
1292
+ // ok
1293
+ Ö: "O",
1294
+ // ok
1295
+ // 'ő': 'o', duplicate see charMap/latin
1296
+ // 'Ő': 'O', duplicate see charMap/latin
1297
+ ü: "u",
1298
+ Ü: "U",
1299
+ ű: "u",
1300
+ Ű: "U"
1301
+ },
1302
+ lt: {
1303
+ // Lithuanian
1304
+ ą: "a",
1305
+ č: "c",
1306
+ ę: "e",
1307
+ ė: "e",
1308
+ į: "i",
1309
+ š: "s",
1310
+ ų: "u",
1311
+ ū: "u",
1312
+ ž: "z",
1313
+ Ą: "A",
1314
+ Č: "C",
1315
+ Ę: "E",
1316
+ Ė: "E",
1317
+ Į: "I",
1318
+ Š: "S",
1319
+ Ų: "U",
1320
+ Ū: "U"
1321
+ },
1322
+ lv: {
1323
+ // Latvian
1324
+ ā: "a",
1325
+ č: "c",
1326
+ ē: "e",
1327
+ ģ: "g",
1328
+ ī: "i",
1329
+ ķ: "k",
1330
+ ļ: "l",
1331
+ ņ: "n",
1332
+ š: "s",
1333
+ ū: "u",
1334
+ ž: "z",
1335
+ Ā: "A",
1336
+ Č: "C",
1337
+ Ē: "E",
1338
+ Ģ: "G",
1339
+ Ī: "i",
1340
+ Ķ: "k",
1341
+ Ļ: "L",
1342
+ Ņ: "N",
1343
+ Š: "S",
1344
+ Ū: "u",
1345
+ Ž: "Z"
1346
+ },
1347
+ pl: {
1348
+ // Polish
1349
+ ą: "a",
1350
+ ć: "c",
1351
+ ę: "e",
1352
+ ł: "l",
1353
+ ń: "n",
1354
+ ó: "o",
1355
+ ś: "s",
1356
+ ź: "z",
1357
+ ż: "z",
1358
+ Ą: "A",
1359
+ Ć: "C",
1360
+ Ę: "e",
1361
+ Ł: "L",
1362
+ Ń: "N",
1363
+ Ó: "O",
1364
+ Ś: "S",
1365
+ Ź: "Z",
1366
+ Ż: "Z"
1367
+ },
1368
+ sv: {
1369
+ // Swedish
1370
+ // 'å': 'a', duplicate see charMap/latin
1371
+ // 'Å': 'A', duplicate see charMap/latin
1372
+ ä: "a",
1373
+ // ok
1374
+ Ä: "A",
1375
+ // ok
1376
+ ö: "o",
1377
+ // ok
1378
+ Ö: "O"
1379
+ // ok
1380
+ },
1381
+ sk: {
1382
+ // Slovak
1383
+ ä: "a",
1384
+ Ä: "A"
1385
+ },
1386
+ sr: {
1387
+ // Serbian
1388
+ љ: "lj",
1389
+ њ: "nj",
1390
+ Љ: "Lj",
1391
+ Њ: "Nj",
1392
+ đ: "dj",
1393
+ Đ: "Dj"
1394
+ },
1395
+ tr: {
1396
+ // Turkish
1397
+ Ü: "U",
1398
+ Ö: "O",
1399
+ ü: "u",
1400
+ ö: "o"
1401
+ }
1402
+ }, a = {
1403
+ ar: {
1404
+ "∆": "delta",
1405
+ "∞": "la-nihaya",
1406
+ "♥": "hob",
1407
+ "&": "wa",
1408
+ "|": "aw",
1409
+ "<": "aqal-men",
1410
+ ">": "akbar-men",
1411
+ "∑": "majmou",
1412
+ "¤": "omla"
1413
+ },
1414
+ az: {},
1415
+ ca: {
1416
+ "∆": "delta",
1417
+ "∞": "infinit",
1418
+ "♥": "amor",
1419
+ "&": "i",
1420
+ "|": "o",
1421
+ "<": "menys que",
1422
+ ">": "mes que",
1423
+ "∑": "suma dels",
1424
+ "¤": "moneda"
1425
+ },
1426
+ cs: {
1427
+ "∆": "delta",
1428
+ "∞": "nekonecno",
1429
+ "♥": "laska",
1430
+ "&": "a",
1431
+ "|": "nebo",
1432
+ "<": "mensi nez",
1433
+ ">": "vetsi nez",
1434
+ "∑": "soucet",
1435
+ "¤": "mena"
1436
+ },
1437
+ de: {
1438
+ "∆": "delta",
1439
+ "∞": "unendlich",
1440
+ "♥": "Liebe",
1441
+ "&": "und",
1442
+ "|": "oder",
1443
+ "<": "kleiner als",
1444
+ ">": "groesser als",
1445
+ "∑": "Summe von",
1446
+ "¤": "Waehrung"
1447
+ },
1448
+ dv: {
1449
+ "∆": "delta",
1450
+ "∞": "kolunulaa",
1451
+ "♥": "loabi",
1452
+ "&": "aai",
1453
+ "|": "noonee",
1454
+ "<": "ah vure kuda",
1455
+ ">": "ah vure bodu",
1456
+ "∑": "jumula",
1457
+ "¤": "faisaa"
1458
+ },
1459
+ en: {
1460
+ "∆": "delta",
1461
+ "∞": "infinity",
1462
+ "♥": "love",
1463
+ "&": "and",
1464
+ "|": "or",
1465
+ "<": "less than",
1466
+ ">": "greater than",
1467
+ "∑": "sum",
1468
+ "¤": "currency"
1469
+ },
1470
+ es: {
1471
+ "∆": "delta",
1472
+ "∞": "infinito",
1473
+ "♥": "amor",
1474
+ "&": "y",
1475
+ "|": "u",
1476
+ "<": "menos que",
1477
+ ">": "mas que",
1478
+ "∑": "suma de los",
1479
+ "¤": "moneda"
1480
+ },
1481
+ fa: {
1482
+ "∆": "delta",
1483
+ "∞": "bi-nahayat",
1484
+ "♥": "eshgh",
1485
+ "&": "va",
1486
+ "|": "ya",
1487
+ "<": "kamtar-az",
1488
+ ">": "bishtar-az",
1489
+ "∑": "majmooe",
1490
+ "¤": "vahed"
1491
+ },
1492
+ fi: {
1493
+ "∆": "delta",
1494
+ "∞": "aarettomyys",
1495
+ "♥": "rakkaus",
1496
+ "&": "ja",
1497
+ "|": "tai",
1498
+ "<": "pienempi kuin",
1499
+ ">": "suurempi kuin",
1500
+ "∑": "summa",
1501
+ "¤": "valuutta"
1502
+ },
1503
+ fr: {
1504
+ "∆": "delta",
1505
+ "∞": "infiniment",
1506
+ "♥": "Amour",
1507
+ "&": "et",
1508
+ "|": "ou",
1509
+ "<": "moins que",
1510
+ ">": "superieure a",
1511
+ "∑": "somme des",
1512
+ "¤": "monnaie"
1513
+ },
1514
+ ge: {
1515
+ "∆": "delta",
1516
+ "∞": "usasruloba",
1517
+ "♥": "siqvaruli",
1518
+ "&": "da",
1519
+ "|": "an",
1520
+ "<": "naklebi",
1521
+ ">": "meti",
1522
+ "∑": "jami",
1523
+ "¤": "valuta"
1524
+ },
1525
+ gr: {},
1526
+ hu: {
1527
+ "∆": "delta",
1528
+ "∞": "vegtelen",
1529
+ "♥": "szerelem",
1530
+ "&": "es",
1531
+ "|": "vagy",
1532
+ "<": "kisebb mint",
1533
+ ">": "nagyobb mint",
1534
+ "∑": "szumma",
1535
+ "¤": "penznem"
1536
+ },
1537
+ it: {
1538
+ "∆": "delta",
1539
+ "∞": "infinito",
1540
+ "♥": "amore",
1541
+ "&": "e",
1542
+ "|": "o",
1543
+ "<": "minore di",
1544
+ ">": "maggiore di",
1545
+ "∑": "somma",
1546
+ "¤": "moneta"
1547
+ },
1548
+ lt: {
1549
+ "∆": "delta",
1550
+ "∞": "begalybe",
1551
+ "♥": "meile",
1552
+ "&": "ir",
1553
+ "|": "ar",
1554
+ "<": "maziau nei",
1555
+ ">": "daugiau nei",
1556
+ "∑": "suma",
1557
+ "¤": "valiuta"
1558
+ },
1559
+ lv: {
1560
+ "∆": "delta",
1561
+ "∞": "bezgaliba",
1562
+ "♥": "milestiba",
1563
+ "&": "un",
1564
+ "|": "vai",
1565
+ "<": "mazak neka",
1566
+ ">": "lielaks neka",
1567
+ "∑": "summa",
1568
+ "¤": "valuta"
1569
+ },
1570
+ my: {
1571
+ "∆": "kwahkhyaet",
1572
+ "∞": "asaonasme",
1573
+ "♥": "akhyait",
1574
+ "&": "nhin",
1575
+ "|": "tho",
1576
+ "<": "ngethaw",
1577
+ ">": "kyithaw",
1578
+ "∑": "paungld",
1579
+ "¤": "ngwekye"
1580
+ },
1581
+ mk: {},
1582
+ nl: {
1583
+ "∆": "delta",
1584
+ "∞": "oneindig",
1585
+ "♥": "liefde",
1586
+ "&": "en",
1587
+ "|": "of",
1588
+ "<": "kleiner dan",
1589
+ ">": "groter dan",
1590
+ "∑": "som",
1591
+ "¤": "valuta"
1592
+ },
1593
+ pl: {
1594
+ "∆": "delta",
1595
+ "∞": "nieskonczonosc",
1596
+ "♥": "milosc",
1597
+ "&": "i",
1598
+ "|": "lub",
1599
+ "<": "mniejsze niz",
1600
+ ">": "wieksze niz",
1601
+ "∑": "suma",
1602
+ "¤": "waluta"
1603
+ },
1604
+ pt: {
1605
+ "∆": "delta",
1606
+ "∞": "infinito",
1607
+ "♥": "amor",
1608
+ "&": "e",
1609
+ "|": "ou",
1610
+ "<": "menor que",
1611
+ ">": "maior que",
1612
+ "∑": "soma",
1613
+ "¤": "moeda"
1614
+ },
1615
+ ro: {
1616
+ "∆": "delta",
1617
+ "∞": "infinit",
1618
+ "♥": "dragoste",
1619
+ "&": "si",
1620
+ "|": "sau",
1621
+ "<": "mai mic ca",
1622
+ ">": "mai mare ca",
1623
+ "∑": "suma",
1624
+ "¤": "valuta"
1625
+ },
1626
+ ru: {
1627
+ "∆": "delta",
1628
+ "∞": "beskonechno",
1629
+ "♥": "lubov",
1630
+ "&": "i",
1631
+ "|": "ili",
1632
+ "<": "menshe",
1633
+ ">": "bolshe",
1634
+ "∑": "summa",
1635
+ "¤": "valjuta"
1636
+ },
1637
+ sk: {
1638
+ "∆": "delta",
1639
+ "∞": "nekonecno",
1640
+ "♥": "laska",
1641
+ "&": "a",
1642
+ "|": "alebo",
1643
+ "<": "menej ako",
1644
+ ">": "viac ako",
1645
+ "∑": "sucet",
1646
+ "¤": "mena"
1647
+ },
1648
+ sr: {},
1649
+ tr: {
1650
+ "∆": "delta",
1651
+ "∞": "sonsuzluk",
1652
+ "♥": "ask",
1653
+ "&": "ve",
1654
+ "|": "veya",
1655
+ "<": "kucuktur",
1656
+ ">": "buyuktur",
1657
+ "∑": "toplam",
1658
+ "¤": "para birimi"
1659
+ },
1660
+ uk: {
1661
+ "∆": "delta",
1662
+ "∞": "bezkinechnist",
1663
+ "♥": "lubov",
1664
+ "&": "i",
1665
+ "|": "abo",
1666
+ "<": "menshe",
1667
+ ">": "bilshe",
1668
+ "∑": "suma",
1669
+ "¤": "valjuta"
1670
+ },
1671
+ vn: {
1672
+ "∆": "delta",
1673
+ "∞": "vo cuc",
1674
+ "♥": "yeu",
1675
+ "&": "va",
1676
+ "|": "hoac",
1677
+ "<": "nho hon",
1678
+ ">": "lon hon",
1679
+ "∑": "tong",
1680
+ "¤": "tien te"
1681
+ }
1682
+ }, h = [";", "?", ":", "@", "&", "=", "+", "$", ",", "/"].join(""), p = [";", "?", ":", "@", "&", "=", "+", "$", ","].join(""), A = [".", "!", "~", "*", "'", "(", ")"].join(""), d = function(f, E) {
1683
+ var C = "-", y = "", k = "", _e = !0, w = {}, Le, ne, j, fe, de, Me, G, B, Ke, P, v, ue, b, L, V = "";
1684
+ if (typeof f != "string")
1685
+ return "";
1686
+ if (typeof E == "string" && (C = E), G = a.en, B = i.en, typeof E == "object") {
1687
+ Le = E.maintainCase || !1, w = E.custom && typeof E.custom == "object" ? E.custom : w, j = +E.truncate > 1 && E.truncate || !1, fe = E.uric || !1, de = E.uricNoSlash || !1, Me = E.mark || !1, _e = !(E.symbols === !1 || E.lang === !1), C = E.separator || C, fe && (V += h), de && (V += p), Me && (V += A), G = E.lang && a[E.lang] && _e ? a[E.lang] : _e ? a.en : {}, B = E.lang && i[E.lang] ? i[E.lang] : E.lang === !1 || E.lang === !0 ? {} : i.en, E.titleCase && typeof E.titleCase.length == "number" && Array.prototype.toString.call(E.titleCase) ? (E.titleCase.forEach(function(I) {
1688
+ w[I + ""] = I + "";
1689
+ }), ne = !0) : ne = !!E.titleCase, E.custom && typeof E.custom.length == "number" && Array.prototype.toString.call(E.custom) && E.custom.forEach(function(I) {
1690
+ w[I + ""] = I + "";
1691
+ }), Object.keys(w).forEach(function(I) {
1692
+ var W;
1693
+ I.length > 1 ? W = new RegExp("\\b" + c(I) + "\\b", "gi") : W = new RegExp(c(I), "gi"), f = f.replace(W, w[I]);
1694
+ });
1695
+ for (v in w)
1696
+ V += v;
1697
+ }
1698
+ for (V += C, V = c(V), f = f.replace(/(^\s+|\s+$)/g, ""), b = !1, L = !1, P = 0, ue = f.length; P < ue; P++)
1699
+ v = f[P], _(v, w) ? b = !1 : B[v] ? (v = b && B[v].match(/[A-Za-z0-9]/) ? " " + B[v] : B[v], b = !1) : v in u ? (P + 1 < ue && r.indexOf(f[P + 1]) >= 0 ? (k += v, v = "") : L === !0 ? (v = o[k] + u[v], k = "") : v = b && u[v].match(/[A-Za-z0-9]/) ? " " + u[v] : u[v], b = !1, L = !1) : v in o ? (k += v, v = "", P === ue - 1 && (v = o[k]), L = !0) : /* process symbol chars */ G[v] && !(fe && h.indexOf(v) !== -1) && !(de && p.indexOf(v) !== -1) ? (v = b || y.substr(-1).match(/[A-Za-z0-9]/) ? C + G[v] : G[v], v += f[P + 1] !== void 0 && f[P + 1].match(/[A-Za-z0-9]/) ? C : "", b = !0) : (L === !0 ? (v = o[k] + v, k = "", L = !1) : b && (/[A-Za-z0-9]/.test(v) || y.substr(-1).match(/A-Za-z0-9]/)) && (v = " " + v), b = !1), y += v.replace(new RegExp("[^\\w\\s" + V + "_-]", "g"), C);
1700
+ return ne && (y = y.replace(/(\w)(\S*)/g, function(I, W, He) {
1701
+ var Ee = W.toUpperCase() + (He !== null ? He : "");
1702
+ return Object.keys(w).indexOf(Ee.toLowerCase()) < 0 ? Ee : Ee.toLowerCase();
1703
+ })), y = y.replace(/\s+/g, C).replace(new RegExp("\\" + C + "+", "g"), C).replace(new RegExp("(^\\" + C + "+|\\" + C + "+$)", "g"), ""), j && y.length > j && (Ke = y.charAt(j) === C, y = y.slice(0, j), Ke || (y = y.slice(0, y.lastIndexOf(C)))), !Le && !ne && (y = y.toLowerCase()), y;
1704
+ }, m = function(f) {
1705
+ return function(C) {
1706
+ return d(C, f);
1707
+ };
1708
+ }, c = function(f) {
1709
+ return f.replace(/[-\\^$*+?.()|[\]{}\/]/g, "\\$&");
1710
+ }, _ = function(g, f) {
1711
+ for (var E in f)
1712
+ if (f[E] === g)
1713
+ return !0;
1714
+ };
1715
+ if (typeof t < "u" && t.exports)
1716
+ t.exports = d, t.exports.createSlug = m;
1717
+ else if (typeof define < "u" && define.amd)
1718
+ define([], function() {
1719
+ return d;
1720
+ });
1721
+ else
1722
+ try {
1723
+ if (n.getSlug || n.createSlug)
1724
+ throw "speakingurl: globals exists /(getSlug|createSlug)/";
1725
+ n.getSlug = d, n.createSlug = m;
1726
+ } catch {
1727
+ }
1728
+ }(e);
1729
+ }
1730
+ }), uu = Xt({
1731
+ "../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(e, t) {
1732
+ s(), t.exports = nu();
1733
+ }
1734
+ });
1735
+ s();
1736
+ s();
1737
+ s();
1738
+ s();
1739
+ s();
1740
+ s();
1741
+ s();
1742
+ s();
1743
+ function ru(e) {
1744
+ var t;
1745
+ const n = e.name || e._componentTag || e.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__ || e.__name;
1746
+ return n === "index" && ((t = e.__file) != null && t.endsWith("index.vue")) ? "" : n;
1747
+ }
1748
+ function ou(e) {
1749
+ const t = e.__file;
1750
+ if (t)
1751
+ return Bn(Ln(t, ".vue"));
1752
+ }
1753
+ function je(e, t) {
1754
+ return e.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__ = t, t;
1755
+ }
1756
+ function Re(e) {
1757
+ if (e.__VUE_DEVTOOLS_NEXT_APP_RECORD__)
1758
+ return e.__VUE_DEVTOOLS_NEXT_APP_RECORD__;
1759
+ if (e.root)
1760
+ return e.appContext.app.__VUE_DEVTOOLS_NEXT_APP_RECORD__;
1761
+ }
1762
+ function Jt(e) {
1763
+ var t, n;
1764
+ const u = (t = e.subTree) == null ? void 0 : t.type, r = Re(e);
1765
+ return r ? ((n = r == null ? void 0 : r.types) == null ? void 0 : n.Fragment) === u : !1;
1766
+ }
1767
+ function ae(e) {
1768
+ var t, n, u;
1769
+ const r = ru((e == null ? void 0 : e.type) || {});
1770
+ if (r)
1771
+ return r;
1772
+ if ((e == null ? void 0 : e.root) === e)
1773
+ return "Root";
1774
+ for (const i in (n = (t = e.parent) == null ? void 0 : t.type) == null ? void 0 : n.components)
1775
+ if (e.parent.type.components[i] === (e == null ? void 0 : e.type))
1776
+ return je(e, i);
1777
+ for (const i in (u = e.appContext) == null ? void 0 : u.components)
1778
+ if (e.appContext.components[i] === (e == null ? void 0 : e.type))
1779
+ return je(e, i);
1780
+ const o = ou((e == null ? void 0 : e.type) || {});
1781
+ return o || "Anonymous Component";
1782
+ }
1783
+ function iu(e) {
1784
+ var t, n, u;
1785
+ const r = (u = (n = (t = e == null ? void 0 : e.appContext) == null ? void 0 : t.app) == null ? void 0 : n.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__) != null ? u : 0, o = e === (e == null ? void 0 : e.root) ? "root" : e.uid;
1786
+ return `${r}:${o}`;
1787
+ }
1788
+ function ve(e, t) {
1789
+ return t = t || `${e.id}:root`, e.instanceMap.get(t) || e.instanceMap.get(":root");
1790
+ }
1791
+ function su() {
1792
+ const e = {
1793
+ top: 0,
1794
+ bottom: 0,
1795
+ left: 0,
1796
+ right: 0,
1797
+ get width() {
1798
+ return e.right - e.left;
1799
+ },
1800
+ get height() {
1801
+ return e.bottom - e.top;
1802
+ }
1803
+ };
1804
+ return e;
1805
+ }
1806
+ var re;
1807
+ function au(e) {
1808
+ return re || (re = document.createRange()), re.selectNode(e), re.getBoundingClientRect();
1809
+ }
1810
+ function lu(e) {
1811
+ const t = su();
1812
+ if (!e.children)
1813
+ return t;
1814
+ for (let n = 0, u = e.children.length; n < u; n++) {
1815
+ const r = e.children[n];
1816
+ let o;
1817
+ if (r.component)
1818
+ o = U(r.component);
1819
+ else if (r.el) {
1820
+ const i = r.el;
1821
+ i.nodeType === 1 || i.getBoundingClientRect ? o = i.getBoundingClientRect() : i.nodeType === 3 && i.data.trim() && (o = au(i));
1822
+ }
1823
+ o && cu(t, o);
1824
+ }
1825
+ return t;
1826
+ }
1827
+ function cu(e, t) {
1828
+ 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;
1829
+ }
1830
+ var Ge = {
1831
+ top: 0,
1832
+ left: 0,
1833
+ right: 0,
1834
+ bottom: 0,
1835
+ width: 0,
1836
+ height: 0
1837
+ };
1838
+ function U(e) {
1839
+ const t = e.subTree.el;
1840
+ return typeof window > "u" ? Ge : Jt(e) ? lu(e.subTree) : (t == null ? void 0 : t.nodeType) === 1 ? t == null ? void 0 : t.getBoundingClientRect() : e.subTree.component ? U(e.subTree.component) : Ge;
1841
+ }
1842
+ s();
1843
+ function we(e) {
1844
+ return Jt(e) ? _u(e.subTree) : e.subTree ? [e.subTree.el] : [];
1845
+ }
1846
+ function _u(e) {
1847
+ if (!e.children)
1848
+ return [];
1849
+ const t = [];
1850
+ return e.children.forEach((n) => {
1851
+ n.component ? t.push(...we(n.component)) : n != null && n.el && t.push(n.el);
1852
+ }), t;
1853
+ }
1854
+ var Qt = "__vue-devtools-component-inspector__", en = "__vue-devtools-component-inspector__card__", tn = "__vue-devtools-component-inspector__name__", nn = "__vue-devtools-component-inspector__indicator__", un = {
1855
+ display: "block",
1856
+ zIndex: 2147483640,
1857
+ position: "fixed",
1858
+ backgroundColor: "#42b88325",
1859
+ border: "1px solid #42b88350",
1860
+ borderRadius: "5px",
1861
+ transition: "all 0.1s ease-in",
1862
+ pointerEvents: "none"
1863
+ }, fu = {
1864
+ fontFamily: "Arial, Helvetica, sans-serif",
1865
+ padding: "5px 8px",
1866
+ borderRadius: "4px",
1867
+ textAlign: "left",
1868
+ position: "absolute",
1869
+ left: 0,
1870
+ color: "#e9e9e9",
1871
+ fontSize: "14px",
1872
+ fontWeight: 600,
1873
+ lineHeight: "24px",
1874
+ backgroundColor: "#42b883",
1875
+ boxShadow: "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"
1876
+ }, du = {
1877
+ display: "inline-block",
1878
+ fontWeight: 400,
1879
+ fontStyle: "normal",
1880
+ fontSize: "12px",
1881
+ opacity: 0.7
1882
+ };
1883
+ function $() {
1884
+ return document.getElementById(Qt);
1885
+ }
1886
+ function Eu() {
1887
+ return document.getElementById(en);
1888
+ }
1889
+ function pu() {
1890
+ return document.getElementById(nn);
1891
+ }
1892
+ function hu() {
1893
+ return document.getElementById(tn);
1894
+ }
1895
+ function Pe(e) {
1896
+ return {
1897
+ left: `${Math.round(e.left * 100) / 100}px`,
1898
+ top: `${Math.round(e.top * 100) / 100}px`,
1899
+ width: `${Math.round(e.width * 100) / 100}px`,
1900
+ height: `${Math.round(e.height * 100) / 100}px`
1901
+ };
1902
+ }
1903
+ function Ve(e) {
1904
+ var t;
1905
+ const n = document.createElement("div");
1906
+ n.id = (t = e.elementId) != null ? t : Qt, Object.assign(n.style, {
1907
+ ...un,
1908
+ ...Pe(e.bounds),
1909
+ ...e.style
1910
+ });
1911
+ const u = document.createElement("span");
1912
+ u.id = en, Object.assign(u.style, {
1913
+ ...fu,
1914
+ top: e.bounds.top < 35 ? 0 : "-35px"
1915
+ });
1916
+ const r = document.createElement("span");
1917
+ r.id = tn, r.innerHTML = `&lt;${e.name}&gt;&nbsp;&nbsp;`;
1918
+ const o = document.createElement("i");
1919
+ return o.id = nn, o.innerHTML = `${Math.round(e.bounds.width * 100) / 100} x ${Math.round(e.bounds.height * 100) / 100}`, Object.assign(o.style, du), u.appendChild(r), u.appendChild(o), n.appendChild(u), document.body.appendChild(n), n;
1920
+ }
1921
+ function xe(e) {
1922
+ const t = $(), n = Eu(), u = hu(), r = pu();
1923
+ t && (Object.assign(t.style, {
1924
+ ...un,
1925
+ ...Pe(e.bounds)
1926
+ }), Object.assign(n.style, {
1927
+ top: e.bounds.top < 35 ? 0 : "-35px"
1928
+ }), u.innerHTML = `&lt;${e.name}&gt;&nbsp;&nbsp;`, r.innerHTML = `${Math.round(e.bounds.width * 100) / 100} x ${Math.round(e.bounds.height * 100) / 100}`);
1929
+ }
1930
+ function gu(e) {
1931
+ const t = U(e);
1932
+ if (!t.width && !t.height)
1933
+ return;
1934
+ const n = ae(e);
1935
+ $() ? xe({ bounds: t, name: n }) : Ve({ bounds: t, name: n });
1936
+ }
1937
+ function rn() {
1938
+ const e = $();
1939
+ e && (e.style.display = "none");
1940
+ }
1941
+ var Ae = null;
1942
+ function ye(e) {
1943
+ const t = e.target;
1944
+ if (t) {
1945
+ const n = t.__vueParentComponent;
1946
+ if (n && (Ae = n, n.vnode.el)) {
1947
+ const r = U(n), o = ae(n);
1948
+ $() ? xe({ bounds: r, name: o }) : Ve({ bounds: r, name: o });
1949
+ }
1950
+ }
1951
+ }
1952
+ function mu(e, t) {
1953
+ if (e.preventDefault(), e.stopPropagation(), Ae) {
1954
+ const n = iu(Ae);
1955
+ t(n);
1956
+ }
1957
+ }
1958
+ var se = null;
1959
+ function vu() {
1960
+ rn(), window.removeEventListener("mouseover", ye), window.removeEventListener("click", se, !0), se = null;
1961
+ }
1962
+ function Au() {
1963
+ return window.addEventListener("mouseover", ye), new Promise((e) => {
1964
+ function t(n) {
1965
+ n.preventDefault(), n.stopPropagation(), mu(n, (u) => {
1966
+ window.removeEventListener("click", t, !0), se = null, window.removeEventListener("mouseover", ye);
1967
+ const r = $();
1968
+ r && (r.style.display = "none"), e(JSON.stringify({ id: u }));
1969
+ });
1970
+ }
1971
+ se = t, window.addEventListener("click", t, !0);
1972
+ });
1973
+ }
1974
+ function yu(e) {
1975
+ const t = ve(D.value, e.id);
1976
+ if (t) {
1977
+ const [n] = we(t);
1978
+ if (typeof n.scrollIntoView == "function")
1979
+ n.scrollIntoView({
1980
+ behavior: "smooth"
1981
+ });
1982
+ else {
1983
+ const u = U(t), r = document.createElement("div"), o = {
1984
+ ...Pe(u),
1985
+ position: "absolute"
1986
+ };
1987
+ Object.assign(r.style, o), document.body.appendChild(r), r.scrollIntoView({
1988
+ behavior: "smooth"
1989
+ }), setTimeout(() => {
1990
+ document.body.removeChild(r);
1991
+ }, 2e3);
1992
+ }
1993
+ setTimeout(() => {
1994
+ const u = U(t);
1995
+ if (u.width || u.height) {
1996
+ const r = ae(t), o = $();
1997
+ o ? xe({ ...e, name: r, bounds: u }) : Ve({ ...e, name: r, bounds: u }), setTimeout(() => {
1998
+ o && (o.style.display = "none");
1999
+ }, 1500);
2000
+ }
2001
+ }, 1200);
2002
+ }
2003
+ }
2004
+ s();
2005
+ var We, qe;
2006
+ (qe = (We = l).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__) != null || (We.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__ = !0);
2007
+ function Ou(e) {
2008
+ let t = 0;
2009
+ const n = setInterval(() => {
2010
+ l.__VUE_INSPECTOR__ && (clearInterval(n), t += 30, e()), t >= /* 5s */
2011
+ 5e3 && clearInterval(n);
2012
+ }, 30);
2013
+ }
2014
+ function Cu() {
2015
+ const e = l.__VUE_INSPECTOR__, t = e.openInEditor;
2016
+ e.openInEditor = async (...n) => {
2017
+ e.disable(), t(...n);
2018
+ };
2019
+ }
2020
+ function Tu() {
2021
+ return new Promise((e) => {
2022
+ function t() {
2023
+ Cu(), e(l.__VUE_INSPECTOR__);
2024
+ }
2025
+ l.__VUE_INSPECTOR__ ? t() : Ou(() => {
2026
+ t();
2027
+ });
2028
+ });
2029
+ }
2030
+ s();
2031
+ s();
2032
+ function Du(e) {
2033
+ return !!(e && e.__v_isReadonly);
2034
+ }
2035
+ function on(e) {
2036
+ return Du(e) ? on(e.__v_raw) : !!(e && e.__v_isReactive);
2037
+ }
2038
+ function he(e) {
2039
+ return !!(e && e.__v_isRef === !0);
2040
+ }
2041
+ function q(e) {
2042
+ const t = e && e.__v_raw;
2043
+ return t ? q(t) : e;
2044
+ }
2045
+ var Su = class {
2046
+ constructor() {
2047
+ this.refEditor = new Iu();
2048
+ }
2049
+ set(e, t, n, u) {
2050
+ const r = Array.isArray(t) ? t : t.split(".");
2051
+ for (; r.length > 1; ) {
2052
+ const a = r.shift();
2053
+ e instanceof Map && (e = e.get(a)), e instanceof Set ? e = Array.from(e.values())[a] : e = e[a], this.refEditor.isRef(e) && (e = this.refEditor.get(e));
2054
+ }
2055
+ const o = r[0], i = this.refEditor.get(e)[o];
2056
+ u ? u(e, o, n) : this.refEditor.isRef(i) ? this.refEditor.set(i, n) : e[o] = n;
2057
+ }
2058
+ get(e, t) {
2059
+ const n = Array.isArray(t) ? t : t.split(".");
2060
+ for (let u = 0; u < n.length; u++)
2061
+ if (e instanceof Map ? e = e.get(n[u]) : e = e[n[u]], this.refEditor.isRef(e) && (e = this.refEditor.get(e)), !e)
2062
+ return;
2063
+ return e;
2064
+ }
2065
+ has(e, t, n = !1) {
2066
+ if (typeof e > "u")
2067
+ return !1;
2068
+ const u = Array.isArray(t) ? t.slice() : t.split("."), r = n ? 2 : 1;
2069
+ for (; e && u.length > r; ) {
2070
+ const o = u.shift();
2071
+ e = e[o], this.refEditor.isRef(e) && (e = this.refEditor.get(e));
2072
+ }
2073
+ return e != null && Object.prototype.hasOwnProperty.call(e, u[0]);
2074
+ }
2075
+ createDefaultSetCallback(e) {
2076
+ return (t, n, u) => {
2077
+ 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) {
2078
+ const r = t[e.newKey || n];
2079
+ this.refEditor.isRef(r) ? this.refEditor.set(r, u) : q(t) instanceof Map ? t.set(e.newKey || n, u) : q(t) instanceof Set ? t.add(u) : t[e.newKey || n] = u;
2080
+ }
2081
+ };
2082
+ }
2083
+ }, Iu = class {
2084
+ set(e, t) {
2085
+ if (he(e))
2086
+ e.value = t;
2087
+ else {
2088
+ if (e instanceof Set && Array.isArray(t)) {
2089
+ e.clear(), t.forEach((r) => e.add(r));
2090
+ return;
2091
+ }
2092
+ const n = Object.keys(t);
2093
+ if (e instanceof Map) {
2094
+ const r = new Set(e.keys());
2095
+ n.forEach((o) => {
2096
+ e.set(o, Reflect.get(t, o)), r.delete(o);
2097
+ }), r.forEach((o) => e.delete(o));
2098
+ return;
2099
+ }
2100
+ const u = new Set(Object.keys(e));
2101
+ n.forEach((r) => {
2102
+ Reflect.set(e, r, Reflect.get(t, r)), u.delete(r);
2103
+ }), u.forEach((r) => Reflect.deleteProperty(e, r));
2104
+ }
2105
+ }
2106
+ get(e) {
2107
+ return he(e) ? e.value : e;
2108
+ }
2109
+ isRef(e) {
2110
+ return he(e) || on(e);
2111
+ }
2112
+ };
2113
+ s();
2114
+ s();
2115
+ s();
2116
+ var ku = "__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__";
2117
+ function bu() {
2118
+ if (!Wt || typeof localStorage > "u" || localStorage === null)
2119
+ return {
2120
+ recordingState: !1,
2121
+ mouseEventEnabled: !1,
2122
+ keyboardEventEnabled: !1,
2123
+ componentEventEnabled: !1,
2124
+ performanceEventEnabled: !1,
2125
+ selected: ""
2126
+ };
2127
+ const e = localStorage.getItem(ku);
2128
+ return e ? JSON.parse(e) : {
2129
+ recordingState: !1,
2130
+ mouseEventEnabled: !1,
2131
+ keyboardEventEnabled: !1,
2132
+ componentEventEnabled: !1,
2133
+ performanceEventEnabled: !1,
2134
+ selected: ""
2135
+ };
2136
+ }
2137
+ s();
2138
+ s();
2139
+ s();
2140
+ var Ye, Ze;
2141
+ (Ze = (Ye = l).__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS) != null || (Ye.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS = []);
2142
+ var Ru = new Proxy(l.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS, {
2143
+ get(e, t, n) {
2144
+ return Reflect.get(e, t, n);
2145
+ }
2146
+ });
2147
+ function wu(e, t) {
2148
+ T.timelineLayersState[t.id] = !1, Ru.push({
2149
+ ...e,
2150
+ descriptorId: t.id,
2151
+ appRecord: Re(t.app)
2152
+ });
2153
+ }
2154
+ var Xe, Je;
2155
+ (Je = (Xe = l).__VUE_DEVTOOLS_KIT_INSPECTOR__) != null || (Xe.__VUE_DEVTOOLS_KIT_INSPECTOR__ = []);
2156
+ var Ne = new Proxy(l.__VUE_DEVTOOLS_KIT_INSPECTOR__, {
2157
+ get(e, t, n) {
2158
+ return Reflect.get(e, t, n);
2159
+ }
2160
+ }), sn = K(() => {
2161
+ N.hooks.callHook("sendInspectorToClient", an());
2162
+ });
2163
+ function Pu(e, t) {
2164
+ var n, u;
2165
+ Ne.push({
2166
+ options: e,
2167
+ descriptor: t,
2168
+ treeFilterPlaceholder: (n = e.treeFilterPlaceholder) != null ? n : "Search tree...",
2169
+ stateFilterPlaceholder: (u = e.stateFilterPlaceholder) != null ? u : "Search state...",
2170
+ treeFilter: "",
2171
+ selectedNodeId: "",
2172
+ appRecord: Re(t.app)
2173
+ }), sn();
2174
+ }
2175
+ function an() {
2176
+ return Ne.filter((e) => e.descriptor.app === D.value.app).filter((e) => e.descriptor.id !== "components").map((e) => {
2177
+ var t;
2178
+ const n = e.descriptor, u = e.options;
2179
+ return {
2180
+ id: u.id,
2181
+ label: u.label,
2182
+ logo: n.logo,
2183
+ icon: `custom-ic-baseline-${(t = u == null ? void 0 : u.icon) == null ? void 0 : t.replace(/_/g, "-")}`,
2184
+ packageName: n.packageName,
2185
+ homepage: n.homepage,
2186
+ pluginId: n.id
2187
+ };
2188
+ });
2189
+ }
2190
+ function oe(e, t) {
2191
+ return Ne.find((n) => n.options.id === e && (t ? n.descriptor.app === t : !0));
2192
+ }
2193
+ function Vu() {
2194
+ const e = Yt();
2195
+ e.hook("addInspector", ({ inspector: u, plugin: r }) => {
2196
+ Pu(u, r.descriptor);
2197
+ });
2198
+ const t = K(async ({ inspectorId: u, plugin: r }) => {
2199
+ var o;
2200
+ if (!u || !((o = r == null ? void 0 : r.descriptor) != null && o.app) || T.highPerfModeEnabled)
2201
+ return;
2202
+ const i = oe(u, r.descriptor.app), a = {
2203
+ app: r.descriptor.app,
2204
+ inspectorId: u,
2205
+ filter: (i == null ? void 0 : i.treeFilter) || "",
2206
+ rootNodes: []
2207
+ };
2208
+ await new Promise((h) => {
2209
+ e.callHookWith(
2210
+ async (p) => {
2211
+ await Promise.all(p.map((A) => A(a))), h();
2212
+ },
2213
+ "getInspectorTree"
2214
+ /* GET_INSPECTOR_TREE */
2215
+ );
2216
+ }), e.callHookWith(
2217
+ async (h) => {
2218
+ await Promise.all(h.map((p) => p({
2219
+ inspectorId: u,
2220
+ rootNodes: a.rootNodes
2221
+ })));
2222
+ },
2223
+ "sendInspectorTreeToClient"
2224
+ /* SEND_INSPECTOR_TREE_TO_CLIENT */
2225
+ );
2226
+ }, 120);
2227
+ e.hook("sendInspectorTree", t);
2228
+ const n = K(async ({ inspectorId: u, plugin: r }) => {
2229
+ var o;
2230
+ if (!u || !((o = r == null ? void 0 : r.descriptor) != null && o.app) || T.highPerfModeEnabled)
2231
+ return;
2232
+ const i = oe(u, r.descriptor.app), a = {
2233
+ app: r.descriptor.app,
2234
+ inspectorId: u,
2235
+ nodeId: (i == null ? void 0 : i.selectedNodeId) || "",
2236
+ state: null
2237
+ }, h = {
2238
+ currentTab: `custom-inspector:${u}`
2239
+ };
2240
+ a.nodeId && await new Promise((p) => {
2241
+ e.callHookWith(
2242
+ async (A) => {
2243
+ await Promise.all(A.map((d) => d(a, h))), p();
2244
+ },
2245
+ "getInspectorState"
2246
+ /* GET_INSPECTOR_STATE */
2247
+ );
2248
+ }), e.callHookWith(
2249
+ async (p) => {
2250
+ await Promise.all(p.map((A) => A({
2251
+ inspectorId: u,
2252
+ nodeId: a.nodeId,
2253
+ state: a.state
2254
+ })));
2255
+ },
2256
+ "sendInspectorStateToClient"
2257
+ /* SEND_INSPECTOR_STATE_TO_CLIENT */
2258
+ );
2259
+ }, 120);
2260
+ return e.hook("sendInspectorState", n), e.hook("customInspectorSelectNode", ({ inspectorId: u, nodeId: r, plugin: o }) => {
2261
+ const i = oe(u, o.descriptor.app);
2262
+ i && (i.selectedNodeId = r);
2263
+ }), e.hook("timelineLayerAdded", ({ options: u, plugin: r }) => {
2264
+ wu(u, r.descriptor);
2265
+ }), e.hook("timelineEventAdded", ({ options: u, plugin: r }) => {
2266
+ var o;
2267
+ const i = ["performance", "component-event", "keyboard", "mouse"];
2268
+ T.highPerfModeEnabled || !((o = T.timelineLayersState) != null && o[r.descriptor.id]) && !i.includes(u.layerId) || e.callHookWith(
2269
+ async (a) => {
2270
+ await Promise.all(a.map((h) => h(u)));
2271
+ },
2272
+ "sendTimelineEventToClient"
2273
+ /* SEND_TIMELINE_EVENT_TO_CLIENT */
2274
+ );
2275
+ }), e.hook("getComponentInstances", async ({ app: u }) => {
2276
+ const r = u.__VUE_DEVTOOLS_NEXT_APP_RECORD__;
2277
+ if (!r)
2278
+ return null;
2279
+ const o = r.id.toString();
2280
+ return [...r.instanceMap].filter(([a]) => a.split(":")[0] === o).map(([, a]) => a);
2281
+ }), e.hook("getComponentBounds", async ({ instance: u }) => U(u)), e.hook("getComponentName", ({ instance: u }) => ae(u)), e.hook("componentHighlight", ({ uid: u }) => {
2282
+ const r = D.value.instanceMap.get(u);
2283
+ r && gu(r);
2284
+ }), e.hook("componentUnhighlight", () => {
2285
+ rn();
2286
+ }), e;
2287
+ }
2288
+ var Qe, et;
2289
+ (et = (Qe = l).__VUE_DEVTOOLS_KIT_APP_RECORDS__) != null || (Qe.__VUE_DEVTOOLS_KIT_APP_RECORDS__ = []);
2290
+ var tt, nt;
2291
+ (nt = (tt = l).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__) != null || (tt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ = {});
2292
+ var ut, rt;
2293
+ (rt = (ut = l).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__) != null || (ut.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ = "");
2294
+ var ot, it;
2295
+ (it = (ot = l).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__) != null || (ot.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__ = []);
2296
+ var st, at;
2297
+ (at = (st = l).__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__) != null || (st.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__ = []);
2298
+ var F = "__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";
2299
+ function xu() {
2300
+ return {
2301
+ connected: !1,
2302
+ clientConnected: !1,
2303
+ vitePluginDetected: !0,
2304
+ appRecords: [],
2305
+ activeAppRecordId: "",
2306
+ tabs: [],
2307
+ commands: [],
2308
+ highPerfModeEnabled: !0,
2309
+ devtoolsClientDetected: {},
2310
+ perfUniqueGroupId: 0,
2311
+ timelineLayersState: bu()
2312
+ };
2313
+ }
2314
+ var lt, ct;
2315
+ (ct = (lt = l)[F]) != null || (lt[F] = xu());
2316
+ var Nu = K((e) => {
2317
+ N.hooks.callHook("devtoolsStateUpdated", { state: e });
2318
+ });
2319
+ K((e, t) => {
2320
+ N.hooks.callHook("devtoolsConnectedUpdated", { state: e, oldState: t });
2321
+ });
2322
+ var le = new Proxy(l.__VUE_DEVTOOLS_KIT_APP_RECORDS__, {
2323
+ get(e, t, n) {
2324
+ return t === "value" ? l.__VUE_DEVTOOLS_KIT_APP_RECORDS__ : l.__VUE_DEVTOOLS_KIT_APP_RECORDS__[t];
2325
+ }
2326
+ }), D = new Proxy(l.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__, {
2327
+ get(e, t, n) {
2328
+ return t === "value" ? l.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ : t === "id" ? l.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ : l.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[t];
2329
+ }
2330
+ });
2331
+ function te() {
2332
+ Nu({
2333
+ ...l[F],
2334
+ appRecords: le.value,
2335
+ activeAppRecordId: D.id,
2336
+ tabs: l.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,
2337
+ commands: l.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__
2338
+ });
2339
+ }
2340
+ function Fu(e) {
2341
+ l.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ = e, te();
2342
+ }
2343
+ function Uu(e) {
2344
+ l.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ = e, te();
2345
+ }
2346
+ var T = new Proxy(l[F], {
2347
+ get(e, t) {
2348
+ return t === "appRecords" ? le : t === "activeAppRecordId" ? D.id : t === "tabs" ? l.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__ : t === "commands" ? l.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__ : l[F][t];
2349
+ },
2350
+ deleteProperty(e, t) {
2351
+ return delete e[t], !0;
2352
+ },
2353
+ set(e, t, n) {
2354
+ return { ...l[F] }, e[t] = n, l[F][t] = n, !0;
2355
+ }
2356
+ });
2357
+ function Pr(e) {
2358
+ return new Promise((t) => {
2359
+ T.connected && (e(), t()), N.hooks.hook("devtoolsConnectedUpdated", ({ state: n }) => {
2360
+ n.connected && (e(), t());
2361
+ });
2362
+ });
2363
+ }
2364
+ var Oe = (e) => {
2365
+ if (e)
2366
+ return e.startsWith("baseline-") ? `custom-ic-${e}` : e.startsWith("i-") || Kn(e) ? e : `custom-ic-baseline-${e}`;
2367
+ };
2368
+ function Vr(e) {
2369
+ const t = l.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__;
2370
+ t.some((n) => n.name === e.name) || (t.push({
2371
+ ...e,
2372
+ icon: Oe(e.icon)
2373
+ }), te());
2374
+ }
2375
+ function xr(e) {
2376
+ const t = l.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__;
2377
+ t.some((n) => n.id === e.id) || (t.push({
2378
+ ...e,
2379
+ icon: Oe(e.icon),
2380
+ children: e.children ? e.children.map((n) => ({
2381
+ ...n,
2382
+ icon: Oe(n.icon)
2383
+ })) : void 0
2384
+ }), te());
2385
+ }
2386
+ function Nr(e) {
2387
+ const t = l.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__, n = t.findIndex((u) => u.id === e);
2388
+ n !== -1 && (t.splice(n, 1), te());
2389
+ }
2390
+ function Bu(e = {}) {
2391
+ var t, n, u;
2392
+ const { file: r, host: o, baseUrl: i = window.location.origin, line: a = 0, column: h = 0 } = e;
2393
+ if (r) {
2394
+ if (o === "chrome-extension") {
2395
+ const p = r.replace(/\\/g, "\\\\"), A = (n = (t = window.VUE_DEVTOOLS_CONFIG) == null ? void 0 : t.openInEditorHost) != null ? n : "/";
2396
+ fetch(`${A}__open-in-editor?file=${encodeURI(r)}`).then((d) => {
2397
+ if (!d.ok) {
2398
+ const m = `Opening component ${p} failed`;
2399
+ console.log(`%c${m}`, "color:red");
2400
+ }
2401
+ });
2402
+ } else if (T.vitePluginDetected) {
2403
+ const p = (u = l.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__) != null ? u : i;
2404
+ l.__VUE_INSPECTOR__.openInEditor(p, r, a, h);
2405
+ }
2406
+ }
2407
+ }
2408
+ s();
2409
+ s();
2410
+ s();
2411
+ s();
2412
+ s();
2413
+ var _t, ft;
2414
+ (ft = (_t = l).__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__) != null || (_t.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__ = []);
2415
+ var Fe = new Proxy(l.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__, {
2416
+ get(e, t, n) {
2417
+ return Reflect.get(e, t, n);
2418
+ }
2419
+ });
2420
+ function Ce(e) {
2421
+ const t = {};
2422
+ return Object.keys(e).forEach((n) => {
2423
+ t[n] = e[n].defaultValue;
2424
+ }), t;
2425
+ }
2426
+ function Ue(e) {
2427
+ return `__VUE_DEVTOOLS_NEXT_PLUGIN_SETTINGS__${e}__`;
2428
+ }
2429
+ function Lu(e) {
2430
+ var t, n, u;
2431
+ const r = (n = (t = Fe.find((o) => {
2432
+ var i;
2433
+ return o[0].id === e && !!((i = o[0]) != null && i.settings);
2434
+ })) == null ? void 0 : t[0]) != null ? n : null;
2435
+ return (u = r == null ? void 0 : r.settings) != null ? u : null;
2436
+ }
2437
+ function ln(e, t) {
2438
+ var n, u, r;
2439
+ const o = Ue(e);
2440
+ if (o) {
2441
+ const i = localStorage.getItem(o);
2442
+ if (i)
2443
+ return JSON.parse(i);
2444
+ }
2445
+ if (e) {
2446
+ const i = (u = (n = Fe.find((a) => a[0].id === e)) == null ? void 0 : n[0]) != null ? u : null;
2447
+ return Ce((r = i == null ? void 0 : i.settings) != null ? r : {});
2448
+ }
2449
+ return Ce(t);
2450
+ }
2451
+ function Mu(e, t) {
2452
+ const n = Ue(e);
2453
+ localStorage.getItem(n) || localStorage.setItem(n, JSON.stringify(Ce(t)));
2454
+ }
2455
+ function Ku(e, t, n) {
2456
+ const u = Ue(e), r = localStorage.getItem(u), o = JSON.parse(r || "{}"), i = {
2457
+ ...o,
2458
+ [t]: n
2459
+ };
2460
+ localStorage.setItem(u, JSON.stringify(i)), N.hooks.callHookWith(
2461
+ (a) => {
2462
+ a.forEach((h) => h({
2463
+ pluginId: e,
2464
+ key: t,
2465
+ oldValue: o[t],
2466
+ newValue: n,
2467
+ settings: i
2468
+ }));
2469
+ },
2470
+ "setPluginSettings"
2471
+ /* SET_PLUGIN_SETTINGS */
2472
+ );
2473
+ }
2474
+ s();
2475
+ s();
2476
+ s();
2477
+ s();
2478
+ s();
2479
+ s();
2480
+ s();
2481
+ s();
2482
+ s();
2483
+ s();
2484
+ s();
2485
+ var dt, Et, S = (Et = (dt = l).__VUE_DEVTOOLS_HOOK) != null ? Et : dt.__VUE_DEVTOOLS_HOOK = Yt(), Hu = {
2486
+ vueAppInit(e) {
2487
+ S.hook("app:init", e);
2488
+ },
2489
+ vueAppUnmount(e) {
2490
+ S.hook("app:unmount", e);
2491
+ },
2492
+ vueAppConnected(e) {
2493
+ S.hook("app:connected", e);
2494
+ },
2495
+ componentAdded(e) {
2496
+ return S.hook("component:added", e);
2497
+ },
2498
+ componentEmit(e) {
2499
+ return S.hook("component:emit", e);
2500
+ },
2501
+ componentUpdated(e) {
2502
+ return S.hook("component:updated", e);
2503
+ },
2504
+ componentRemoved(e) {
2505
+ return S.hook("component:removed", e);
2506
+ },
2507
+ setupDevtoolsPlugin(e) {
2508
+ S.hook("devtools-plugin:setup", e);
2509
+ },
2510
+ perfStart(e) {
2511
+ return S.hook("perf:start", e);
2512
+ },
2513
+ perfEnd(e) {
2514
+ return S.hook("perf:end", e);
2515
+ }
2516
+ }, cn = {
2517
+ on: Hu,
2518
+ setupDevToolsPlugin(e, t) {
2519
+ return S.callHook("devtools-plugin:setup", e, t);
2520
+ }
2521
+ }, zu = class {
2522
+ constructor({ plugin: e, ctx: t }) {
2523
+ this.hooks = t.hooks, this.plugin = e;
2524
+ }
2525
+ get on() {
2526
+ return {
2527
+ // component inspector
2528
+ visitComponentTree: (e) => {
2529
+ this.hooks.hook("visitComponentTree", e);
2530
+ },
2531
+ inspectComponent: (e) => {
2532
+ this.hooks.hook("inspectComponent", e);
2533
+ },
2534
+ editComponentState: (e) => {
2535
+ this.hooks.hook("editComponentState", e);
2536
+ },
2537
+ // custom inspector
2538
+ getInspectorTree: (e) => {
2539
+ this.hooks.hook("getInspectorTree", e);
2540
+ },
2541
+ getInspectorState: (e) => {
2542
+ this.hooks.hook("getInspectorState", e);
2543
+ },
2544
+ editInspectorState: (e) => {
2545
+ this.hooks.hook("editInspectorState", e);
2546
+ },
2547
+ // timeline
2548
+ inspectTimelineEvent: (e) => {
2549
+ this.hooks.hook("inspectTimelineEvent", e);
2550
+ },
2551
+ timelineCleared: (e) => {
2552
+ this.hooks.hook("timelineCleared", e);
2553
+ },
2554
+ // settings
2555
+ setPluginSettings: (e) => {
2556
+ this.hooks.hook("setPluginSettings", e);
2557
+ }
2558
+ };
2559
+ }
2560
+ // component inspector
2561
+ notifyComponentUpdate(e) {
2562
+ var t;
2563
+ if (T.highPerfModeEnabled)
2564
+ return;
2565
+ const n = an().find((u) => u.packageName === this.plugin.descriptor.packageName);
2566
+ if (n != null && n.id) {
2567
+ if (e) {
2568
+ const u = [
2569
+ e.appContext.app,
2570
+ e.uid,
2571
+ (t = e.parent) == null ? void 0 : t.uid,
2572
+ e
2573
+ ];
2574
+ S.callHook("component:updated", ...u);
2575
+ } else
2576
+ S.callHook(
2577
+ "component:updated"
2578
+ /* COMPONENT_UPDATED */
2579
+ );
2580
+ this.hooks.callHook("sendInspectorState", { inspectorId: n.id, plugin: this.plugin });
2581
+ }
2582
+ }
2583
+ // custom inspector
2584
+ addInspector(e) {
2585
+ this.hooks.callHook("addInspector", { inspector: e, plugin: this.plugin }), this.plugin.descriptor.settings && Mu(e.id, this.plugin.descriptor.settings);
2586
+ }
2587
+ sendInspectorTree(e) {
2588
+ T.highPerfModeEnabled || this.hooks.callHook("sendInspectorTree", { inspectorId: e, plugin: this.plugin });
2589
+ }
2590
+ sendInspectorState(e) {
2591
+ T.highPerfModeEnabled || this.hooks.callHook("sendInspectorState", { inspectorId: e, plugin: this.plugin });
2592
+ }
2593
+ selectInspectorNode(e, t) {
2594
+ this.hooks.callHook("customInspectorSelectNode", { inspectorId: e, nodeId: t, plugin: this.plugin });
2595
+ }
2596
+ visitComponentTree(e) {
2597
+ return this.hooks.callHook("visitComponentTree", e);
2598
+ }
2599
+ // timeline
2600
+ now() {
2601
+ return T.highPerfModeEnabled ? 0 : Date.now();
2602
+ }
2603
+ addTimelineLayer(e) {
2604
+ this.hooks.callHook("timelineLayerAdded", { options: e, plugin: this.plugin });
2605
+ }
2606
+ addTimelineEvent(e) {
2607
+ T.highPerfModeEnabled || this.hooks.callHook("timelineEventAdded", { options: e, plugin: this.plugin });
2608
+ }
2609
+ // settings
2610
+ getSettings(e) {
2611
+ return ln(e ?? this.plugin.descriptor.id, this.plugin.descriptor.settings);
2612
+ }
2613
+ // utilities
2614
+ getComponentInstances(e) {
2615
+ return this.hooks.callHook("getComponentInstances", { app: e });
2616
+ }
2617
+ getComponentBounds(e) {
2618
+ return this.hooks.callHook("getComponentBounds", { instance: e });
2619
+ }
2620
+ getComponentName(e) {
2621
+ return this.hooks.callHook("getComponentName", { instance: e });
2622
+ }
2623
+ highlightElement(e) {
2624
+ const t = e.__VUE_DEVTOOLS_NEXT_UID__;
2625
+ return this.hooks.callHook("componentHighlight", { uid: t });
2626
+ }
2627
+ unhighlightElement() {
2628
+ return this.hooks.callHook(
2629
+ "componentUnhighlight"
2630
+ /* COMPONENT_UNHIGHLIGHT */
2631
+ );
2632
+ }
2633
+ }, $u = zu;
2634
+ s();
2635
+ s();
2636
+ s();
2637
+ s();
2638
+ var ju = "__vue_devtool_undefined__", Gu = "__vue_devtool_infinity__", Wu = "__vue_devtool_negative_infinity__", qu = "__vue_devtool_nan__";
2639
+ s();
2640
+ s();
2641
+ var Yu = {
2642
+ [ju]: "undefined",
2643
+ [qu]: "NaN",
2644
+ [Gu]: "Infinity",
2645
+ [Wu]: "-Infinity"
2646
+ };
2647
+ Object.entries(Yu).reduce((e, [t, n]) => (e[n] = t, e), {});
2648
+ s();
2649
+ s();
2650
+ s();
2651
+ s();
2652
+ s();
2653
+ var pt, ht;
2654
+ (ht = (pt = l).__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__) != null || (pt.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__ = /* @__PURE__ */ new Set());
2655
+ function Fr(e, t) {
2656
+ return cn.setupDevToolsPlugin(e, t);
2657
+ }
2658
+ function Zu(e, t) {
2659
+ const [n, u] = e;
2660
+ if (n.app !== t)
2661
+ return;
2662
+ const r = new $u({
2663
+ plugin: {
2664
+ setupFn: u,
2665
+ descriptor: n
2666
+ },
2667
+ ctx: N
2668
+ });
2669
+ n.packageName === "vuex" && r.on.editInspectorState((o) => {
2670
+ r.sendInspectorState(o.inspectorId);
2671
+ }), u(r);
2672
+ }
2673
+ function _n(e, t) {
2674
+ l.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(e) || T.highPerfModeEnabled && !(t != null && t.inspectingComponent) || (l.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(e), Fe.forEach((n) => {
2675
+ Zu(n, e);
2676
+ }));
2677
+ }
2678
+ s();
2679
+ s();
2680
+ var Z = "__VUE_DEVTOOLS_ROUTER__", H = "__VUE_DEVTOOLS_ROUTER_INFO__", gt, mt;
2681
+ (mt = (gt = l)[H]) != null || (gt[H] = {
2682
+ currentRoute: null,
2683
+ routes: []
2684
+ });
2685
+ var vt, At;
2686
+ (At = (vt = l)[Z]) != null || (vt[Z] = {});
2687
+ new Proxy(l[H], {
2688
+ get(e, t) {
2689
+ return l[H][t];
2690
+ }
2691
+ });
2692
+ new Proxy(l[Z], {
2693
+ get(e, t) {
2694
+ if (t === "value")
2695
+ return l[Z];
2696
+ }
2697
+ });
2698
+ function Xu(e) {
2699
+ const t = /* @__PURE__ */ new Map();
2700
+ return ((e == null ? void 0 : e.getRoutes()) || []).filter((n) => !t.has(n.path) && t.set(n.path, 1));
2701
+ }
2702
+ function Be(e) {
2703
+ return e.map((t) => {
2704
+ let { path: n, name: u, children: r, meta: o } = t;
2705
+ return r != null && r.length && (r = Be(r)), {
2706
+ path: n,
2707
+ name: u,
2708
+ children: r,
2709
+ meta: o
2710
+ };
2711
+ });
2712
+ }
2713
+ function Ju(e) {
2714
+ if (e) {
2715
+ const { fullPath: t, hash: n, href: u, path: r, name: o, matched: i, params: a, query: h } = e;
2716
+ return {
2717
+ fullPath: t,
2718
+ hash: n,
2719
+ href: u,
2720
+ path: r,
2721
+ name: o,
2722
+ params: a,
2723
+ query: h,
2724
+ matched: Be(i)
2725
+ };
2726
+ }
2727
+ return e;
2728
+ }
2729
+ function Qu(e, t) {
2730
+ function n() {
2731
+ var u;
2732
+ const r = (u = e.app) == null ? void 0 : u.config.globalProperties.$router, o = Ju(r == null ? void 0 : r.currentRoute.value), i = Be(Xu(r)), a = console.warn;
2733
+ console.warn = () => {
2734
+ }, l[H] = {
2735
+ currentRoute: o ? $e(o) : {},
2736
+ routes: $e(i)
2737
+ }, l[Z] = r, console.warn = a;
2738
+ }
2739
+ n(), cn.on.componentUpdated(K(() => {
2740
+ var u;
2741
+ ((u = t.value) == null ? void 0 : u.app) === e.app && (n(), !T.highPerfModeEnabled && N.hooks.callHook("routerInfoUpdated", { state: l[H] }));
2742
+ }, 200));
2743
+ }
2744
+ function er(e) {
2745
+ return {
2746
+ // get inspector tree
2747
+ async getInspectorTree(t) {
2748
+ const n = {
2749
+ ...t,
2750
+ app: D.value.app,
2751
+ rootNodes: []
2752
+ };
2753
+ return await new Promise((u) => {
2754
+ e.callHookWith(
2755
+ async (r) => {
2756
+ await Promise.all(r.map((o) => o(n))), u();
2757
+ },
2758
+ "getInspectorTree"
2759
+ /* GET_INSPECTOR_TREE */
2760
+ );
2761
+ }), n.rootNodes;
2762
+ },
2763
+ // get inspector state
2764
+ async getInspectorState(t) {
2765
+ const n = {
2766
+ ...t,
2767
+ app: D.value.app,
2768
+ state: null
2769
+ }, u = {
2770
+ currentTab: `custom-inspector:${t.inspectorId}`
2771
+ };
2772
+ return await new Promise((r) => {
2773
+ e.callHookWith(
2774
+ async (o) => {
2775
+ await Promise.all(o.map((i) => i(n, u))), r();
2776
+ },
2777
+ "getInspectorState"
2778
+ /* GET_INSPECTOR_STATE */
2779
+ );
2780
+ }), n.state;
2781
+ },
2782
+ // edit inspector state
2783
+ editInspectorState(t) {
2784
+ const n = new Su(), u = {
2785
+ ...t,
2786
+ app: D.value.app,
2787
+ set: (r, o = t.path, i = t.state.value, a) => {
2788
+ n.set(r, o, i, a || n.createDefaultSetCallback(t.state));
2789
+ }
2790
+ };
2791
+ e.callHookWith(
2792
+ (r) => {
2793
+ r.forEach((o) => o(u));
2794
+ },
2795
+ "editInspectorState"
2796
+ /* EDIT_INSPECTOR_STATE */
2797
+ );
2798
+ },
2799
+ // send inspector state
2800
+ sendInspectorState(t) {
2801
+ const n = oe(t);
2802
+ e.callHook("sendInspectorState", { inspectorId: t, plugin: {
2803
+ descriptor: n.descriptor,
2804
+ setupFn: () => ({})
2805
+ } });
2806
+ },
2807
+ // inspect component inspector
2808
+ inspectComponentInspector() {
2809
+ return Au();
2810
+ },
2811
+ // cancel inspect component inspector
2812
+ cancelInspectComponentInspector() {
2813
+ return vu();
2814
+ },
2815
+ // get component render code
2816
+ getComponentRenderCode(t) {
2817
+ const n = ve(D.value, t);
2818
+ if (n)
2819
+ return (n == null ? void 0 : n.type) instanceof Function ? n.type.toString() : n.render.toString();
2820
+ },
2821
+ // scroll to component
2822
+ scrollToComponent(t) {
2823
+ return yu({ id: t });
2824
+ },
2825
+ // open in editor
2826
+ openInEditor: Bu,
2827
+ // get vue inspector
2828
+ getVueInspector: Tu,
2829
+ // toggle app
2830
+ toggleApp(t, n) {
2831
+ const u = le.value.find((r) => r.id === t);
2832
+ u && (Uu(t), Fu(u), Qu(u, D), sn(), _n(u.app, n));
2833
+ },
2834
+ // inspect dom
2835
+ inspectDOM(t) {
2836
+ const n = ve(D.value, t);
2837
+ if (n) {
2838
+ const [u] = we(n);
2839
+ u && (l.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__ = u);
2840
+ }
2841
+ },
2842
+ updatePluginSettings(t, n, u) {
2843
+ Ku(t, n, u);
2844
+ },
2845
+ getPluginSettings(t) {
2846
+ return {
2847
+ options: Lu(t),
2848
+ values: ln(t)
2849
+ };
2850
+ }
2851
+ };
2852
+ }
2853
+ s();
2854
+ var yt, Ot;
2855
+ (Ot = (yt = l).__VUE_DEVTOOLS_ENV__) != null || (yt.__VUE_DEVTOOLS_ENV__ = {
2856
+ vitePluginDetected: !1
2857
+ });
2858
+ var Ct = Vu(), Tt, Dt;
2859
+ (Dt = (Tt = l).__VUE_DEVTOOLS_KIT_CONTEXT__) != null || (Tt.__VUE_DEVTOOLS_KIT_CONTEXT__ = {
2860
+ hooks: Ct,
2861
+ get state() {
2862
+ return {
2863
+ ...T,
2864
+ activeAppRecordId: D.id,
2865
+ activeAppRecord: D.value,
2866
+ appRecords: le.value
2867
+ };
2868
+ },
2869
+ api: er(Ct)
2870
+ });
2871
+ var N = l.__VUE_DEVTOOLS_KIT_CONTEXT__;
2872
+ s();
2873
+ tu(uu());
2874
+ var St, It;
2875
+ (It = (St = l).__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__) != null || (St.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__ = {
2876
+ id: 0,
2877
+ appIds: /* @__PURE__ */ new Set()
2878
+ });
2879
+ function Ur(e) {
2880
+ return new Promise((t) => {
2881
+ if (T.connected && T.clientConnected) {
2882
+ e(), t();
2883
+ return;
2884
+ }
2885
+ N.hooks.hook("devtoolsConnectedUpdated", ({ state: n }) => {
2886
+ n.connected && n.clientConnected && (e(), t());
2887
+ });
2888
+ });
2889
+ }
2890
+ s();
2891
+ function tr(e) {
2892
+ T.highPerfModeEnabled = e ?? !T.highPerfModeEnabled, !e && D.value && _n(D.value.app);
2893
+ }
2894
+ s();
2895
+ s();
2896
+ s();
2897
+ function nr(e) {
2898
+ T.devtoolsClientDetected = {
2899
+ ...T.devtoolsClientDetected,
2900
+ ...e
2901
+ };
2902
+ const t = Object.values(T.devtoolsClientDetected).some(Boolean);
2903
+ tr(!t);
2904
+ }
2905
+ var kt, bt;
2906
+ (bt = (kt = l).__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__) != null || (kt.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__ = nr);
2907
+ s();
2908
+ s();
2909
+ s();
2910
+ s();
2911
+ s();
2912
+ s();
2913
+ s();
2914
+ var ur = class {
2915
+ constructor() {
2916
+ this.keyToValue = /* @__PURE__ */ new Map(), this.valueToKey = /* @__PURE__ */ new Map();
2917
+ }
2918
+ set(e, t) {
2919
+ this.keyToValue.set(e, t), this.valueToKey.set(t, e);
2920
+ }
2921
+ getByKey(e) {
2922
+ return this.keyToValue.get(e);
2923
+ }
2924
+ getByValue(e) {
2925
+ return this.valueToKey.get(e);
2926
+ }
2927
+ clear() {
2928
+ this.keyToValue.clear(), this.valueToKey.clear();
2929
+ }
2930
+ }, fn = class {
2931
+ constructor(e) {
2932
+ this.generateIdentifier = e, this.kv = new ur();
2933
+ }
2934
+ register(e, t) {
2935
+ this.kv.getByValue(e) || (t || (t = this.generateIdentifier(e)), this.kv.set(t, e));
2936
+ }
2937
+ clear() {
2938
+ this.kv.clear();
2939
+ }
2940
+ getIdentifier(e) {
2941
+ return this.kv.getByValue(e);
2942
+ }
2943
+ getValue(e) {
2944
+ return this.kv.getByKey(e);
2945
+ }
2946
+ }, rr = class extends fn {
2947
+ constructor() {
2948
+ super((e) => e.name), this.classToAllowedProps = /* @__PURE__ */ new Map();
2949
+ }
2950
+ register(e, t) {
2951
+ typeof t == "object" ? (t.allowProps && this.classToAllowedProps.set(e, t.allowProps), super.register(e, t.identifier)) : super.register(e, t);
2952
+ }
2953
+ getAllowedProps(e) {
2954
+ return this.classToAllowedProps.get(e);
2955
+ }
2956
+ };
2957
+ s();
2958
+ s();
2959
+ function or(e) {
2960
+ if ("values" in Object)
2961
+ return Object.values(e);
2962
+ const t = [];
2963
+ for (const n in e)
2964
+ e.hasOwnProperty(n) && t.push(e[n]);
2965
+ return t;
2966
+ }
2967
+ function ir(e, t) {
2968
+ const n = or(e);
2969
+ if ("find" in n)
2970
+ return n.find(t);
2971
+ const u = n;
2972
+ for (let r = 0; r < u.length; r++) {
2973
+ const o = u[r];
2974
+ if (t(o))
2975
+ return o;
2976
+ }
2977
+ }
2978
+ function z(e, t) {
2979
+ Object.entries(e).forEach(([n, u]) => t(u, n));
2980
+ }
2981
+ function ie(e, t) {
2982
+ return e.indexOf(t) !== -1;
2983
+ }
2984
+ function Rt(e, t) {
2985
+ for (let n = 0; n < e.length; n++) {
2986
+ const u = e[n];
2987
+ if (t(u))
2988
+ return u;
2989
+ }
2990
+ }
2991
+ var sr = class {
2992
+ constructor() {
2993
+ this.transfomers = {};
2994
+ }
2995
+ register(e) {
2996
+ this.transfomers[e.name] = e;
2997
+ }
2998
+ findApplicable(e) {
2999
+ return ir(this.transfomers, (t) => t.isApplicable(e));
3000
+ }
3001
+ findByName(e) {
3002
+ return this.transfomers[e];
3003
+ }
3004
+ };
3005
+ s();
3006
+ s();
3007
+ var ar = (e) => Object.prototype.toString.call(e).slice(8, -1), dn = (e) => typeof e > "u", lr = (e) => e === null, X = (e) => typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype, Te = (e) => X(e) && Object.keys(e).length === 0, x = (e) => Array.isArray(e), cr = (e) => typeof e == "string", _r = (e) => typeof e == "number" && !isNaN(e), fr = (e) => typeof e == "boolean", dr = (e) => e instanceof RegExp, J = (e) => e instanceof Map, Q = (e) => e instanceof Set, En = (e) => ar(e) === "Symbol", Er = (e) => e instanceof Date && !isNaN(e.valueOf()), pr = (e) => e instanceof Error, wt = (e) => typeof e == "number" && isNaN(e), hr = (e) => fr(e) || lr(e) || dn(e) || _r(e) || cr(e) || En(e), gr = (e) => typeof e == "bigint", mr = (e) => e === 1 / 0 || e === -1 / 0, vr = (e) => ArrayBuffer.isView(e) && !(e instanceof DataView), Ar = (e) => e instanceof URL;
3008
+ s();
3009
+ var pn = (e) => e.replace(/\./g, "\\."), ge = (e) => e.map(String).map(pn).join("."), Y = (e) => {
3010
+ const t = [];
3011
+ let n = "";
3012
+ for (let r = 0; r < e.length; r++) {
3013
+ let o = e.charAt(r);
3014
+ if (o === "\\" && e.charAt(r + 1) === ".") {
3015
+ n += ".", r++;
3016
+ continue;
3017
+ }
3018
+ if (o === ".") {
3019
+ t.push(n), n = "";
3020
+ continue;
3021
+ }
3022
+ n += o;
3023
+ }
3024
+ const u = n;
3025
+ return t.push(u), t;
3026
+ };
3027
+ s();
3028
+ function R(e, t, n, u) {
3029
+ return {
3030
+ isApplicable: e,
3031
+ annotation: t,
3032
+ transform: n,
3033
+ untransform: u
3034
+ };
3035
+ }
3036
+ var hn = [
3037
+ R(dn, "undefined", () => null, () => {
3038
+ }),
3039
+ R(gr, "bigint", (e) => e.toString(), (e) => typeof BigInt < "u" ? BigInt(e) : (console.error("Please add a BigInt polyfill."), e)),
3040
+ R(Er, "Date", (e) => e.toISOString(), (e) => new Date(e)),
3041
+ R(pr, "Error", (e, t) => {
3042
+ const n = {
3043
+ name: e.name,
3044
+ message: e.message
3045
+ };
3046
+ return t.allowedErrorProps.forEach((u) => {
3047
+ n[u] = e[u];
3048
+ }), n;
3049
+ }, (e, t) => {
3050
+ const n = new Error(e.message);
3051
+ return n.name = e.name, n.stack = e.stack, t.allowedErrorProps.forEach((u) => {
3052
+ n[u] = e[u];
3053
+ }), n;
3054
+ }),
3055
+ R(dr, "regexp", (e) => "" + e, (e) => {
3056
+ const t = e.slice(1, e.lastIndexOf("/")), n = e.slice(e.lastIndexOf("/") + 1);
3057
+ return new RegExp(t, n);
3058
+ }),
3059
+ R(
3060
+ Q,
3061
+ "set",
3062
+ // (sets only exist in es6+)
3063
+ // eslint-disable-next-line es5/no-es6-methods
3064
+ (e) => [...e.values()],
3065
+ (e) => new Set(e)
3066
+ ),
3067
+ R(J, "map", (e) => [...e.entries()], (e) => new Map(e)),
3068
+ R((e) => wt(e) || mr(e), "number", (e) => wt(e) ? "NaN" : e > 0 ? "Infinity" : "-Infinity", Number),
3069
+ R((e) => e === 0 && 1 / e === -1 / 0, "number", () => "-0", Number),
3070
+ R(Ar, "URL", (e) => e.toString(), (e) => new URL(e))
3071
+ ];
3072
+ function ce(e, t, n, u) {
3073
+ return {
3074
+ isApplicable: e,
3075
+ annotation: t,
3076
+ transform: n,
3077
+ untransform: u
3078
+ };
3079
+ }
3080
+ var gn = ce((e, t) => En(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) => ["symbol", t.symbolRegistry.getIdentifier(e)], (e) => e.description, (e, t, n) => {
3081
+ const u = n.symbolRegistry.getValue(t[1]);
3082
+ if (!u)
3083
+ throw new Error("Trying to deserialize unknown symbol");
3084
+ return u;
3085
+ }), yr = [
3086
+ Int8Array,
3087
+ Uint8Array,
3088
+ Int16Array,
3089
+ Uint16Array,
3090
+ Int32Array,
3091
+ Uint32Array,
3092
+ Float32Array,
3093
+ Float64Array,
3094
+ Uint8ClampedArray
3095
+ ].reduce((e, t) => (e[t.name] = t, e), {}), mn = ce(vr, (e) => ["typed-array", e.constructor.name], (e) => [...e], (e, t) => {
3096
+ const n = yr[t[1]];
3097
+ if (!n)
3098
+ throw new Error("Trying to deserialize unknown typed array");
3099
+ return new n(e);
3100
+ });
3101
+ function vn(e, t) {
3102
+ return e != null && e.constructor ? !!t.classRegistry.getIdentifier(e.constructor) : !1;
3103
+ }
3104
+ var An = ce(vn, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)], (e, t) => {
3105
+ const n = t.classRegistry.getAllowedProps(e.constructor);
3106
+ if (!n)
3107
+ return { ...e };
3108
+ const u = {};
3109
+ return n.forEach((r) => {
3110
+ u[r] = e[r];
3111
+ }), u;
3112
+ }, (e, t, n) => {
3113
+ const u = n.classRegistry.getValue(t[1]);
3114
+ if (!u)
3115
+ throw new Error(`Trying to deserialize unknown class '${t[1]}' - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564`);
3116
+ return Object.assign(Object.create(u.prototype), e);
3117
+ }), yn = ce((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) => {
3118
+ const u = n.customTransformerRegistry.findByName(t[1]);
3119
+ if (!u)
3120
+ throw new Error("Trying to deserialize unknown custom value");
3121
+ return u.deserialize(e);
3122
+ }), Or = [An, gn, yn, mn], Pt = (e, t) => {
3123
+ const n = Rt(Or, (r) => r.isApplicable(e, t));
3124
+ if (n)
3125
+ return {
3126
+ value: n.transform(e, t),
3127
+ type: n.annotation(e, t)
3128
+ };
3129
+ const u = Rt(hn, (r) => r.isApplicable(e, t));
3130
+ if (u)
3131
+ return {
3132
+ value: u.transform(e, t),
3133
+ type: u.annotation
3134
+ };
3135
+ }, On = {};
3136
+ hn.forEach((e) => {
3137
+ On[e.annotation] = e;
3138
+ });
3139
+ var Cr = (e, t, n) => {
3140
+ if (x(t))
3141
+ switch (t[0]) {
3142
+ case "symbol":
3143
+ return gn.untransform(e, t, n);
3144
+ case "class":
3145
+ return An.untransform(e, t, n);
3146
+ case "custom":
3147
+ return yn.untransform(e, t, n);
3148
+ case "typed-array":
3149
+ return mn.untransform(e, t, n);
3150
+ default:
3151
+ throw new Error("Unknown transformation: " + t);
3152
+ }
3153
+ else {
3154
+ const u = On[t];
3155
+ if (!u)
3156
+ throw new Error("Unknown transformation: " + t);
3157
+ return u.untransform(e, n);
3158
+ }
3159
+ };
3160
+ s();
3161
+ var M = (e, t) => {
3162
+ if (t > e.size)
3163
+ throw new Error("index out of bounds");
3164
+ const n = e.keys();
3165
+ for (; t > 0; )
3166
+ n.next(), t--;
3167
+ return n.next().value;
3168
+ };
3169
+ function Cn(e) {
3170
+ if (ie(e, "__proto__"))
3171
+ throw new Error("__proto__ is not allowed as a property");
3172
+ if (ie(e, "prototype"))
3173
+ throw new Error("prototype is not allowed as a property");
3174
+ if (ie(e, "constructor"))
3175
+ throw new Error("constructor is not allowed as a property");
3176
+ }
3177
+ var Tr = (e, t) => {
3178
+ Cn(t);
3179
+ for (let n = 0; n < t.length; n++) {
3180
+ const u = t[n];
3181
+ if (Q(e))
3182
+ e = M(e, +u);
3183
+ else if (J(e)) {
3184
+ const r = +u, o = +t[++n] == 0 ? "key" : "value", i = M(e, r);
3185
+ switch (o) {
3186
+ case "key":
3187
+ e = i;
3188
+ break;
3189
+ case "value":
3190
+ e = e.get(i);
3191
+ break;
3192
+ }
3193
+ } else
3194
+ e = e[u];
3195
+ }
3196
+ return e;
3197
+ }, De = (e, t, n) => {
3198
+ if (Cn(t), t.length === 0)
3199
+ return n(e);
3200
+ let u = e;
3201
+ for (let o = 0; o < t.length - 1; o++) {
3202
+ const i = t[o];
3203
+ if (x(u)) {
3204
+ const a = +i;
3205
+ u = u[a];
3206
+ } else if (X(u))
3207
+ u = u[i];
3208
+ else if (Q(u)) {
3209
+ const a = +i;
3210
+ u = M(u, a);
3211
+ } else if (J(u)) {
3212
+ if (o === t.length - 2)
3213
+ break;
3214
+ const h = +i, p = +t[++o] == 0 ? "key" : "value", A = M(u, h);
3215
+ switch (p) {
3216
+ case "key":
3217
+ u = A;
3218
+ break;
3219
+ case "value":
3220
+ u = u.get(A);
3221
+ break;
3222
+ }
3223
+ }
3224
+ }
3225
+ const r = t[t.length - 1];
3226
+ if (x(u) ? u[+r] = n(u[+r]) : X(u) && (u[r] = n(u[r])), Q(u)) {
3227
+ const o = M(u, +r), i = n(o);
3228
+ o !== i && (u.delete(o), u.add(i));
3229
+ }
3230
+ if (J(u)) {
3231
+ const o = +t[t.length - 2], i = M(u, o);
3232
+ switch (+r == 0 ? "key" : "value") {
3233
+ case "key": {
3234
+ const h = n(i);
3235
+ u.set(h, u.get(i)), h !== i && u.delete(i);
3236
+ break;
3237
+ }
3238
+ case "value": {
3239
+ u.set(i, n(u.get(i)));
3240
+ break;
3241
+ }
3242
+ }
3243
+ }
3244
+ return e;
3245
+ };
3246
+ function Se(e, t, n = []) {
3247
+ if (!e)
3248
+ return;
3249
+ if (!x(e)) {
3250
+ z(e, (o, i) => Se(o, t, [...n, ...Y(i)]));
3251
+ return;
3252
+ }
3253
+ const [u, r] = e;
3254
+ r && z(r, (o, i) => {
3255
+ Se(o, t, [...n, ...Y(i)]);
3256
+ }), t(u, n);
3257
+ }
3258
+ function Dr(e, t, n) {
3259
+ return Se(t, (u, r) => {
3260
+ e = De(e, r, (o) => Cr(o, u, n));
3261
+ }), e;
3262
+ }
3263
+ function Sr(e, t) {
3264
+ function n(u, r) {
3265
+ const o = Tr(e, Y(r));
3266
+ u.map(Y).forEach((i) => {
3267
+ e = De(e, i, () => o);
3268
+ });
3269
+ }
3270
+ if (x(t)) {
3271
+ const [u, r] = t;
3272
+ u.forEach((o) => {
3273
+ e = De(e, Y(o), () => e);
3274
+ }), r && z(r, n);
3275
+ } else
3276
+ z(t, n);
3277
+ return e;
3278
+ }
3279
+ var Ir = (e, t) => X(e) || x(e) || J(e) || Q(e) || vn(e, t);
3280
+ function kr(e, t, n) {
3281
+ const u = n.get(e);
3282
+ u ? u.push(t) : n.set(e, [t]);
3283
+ }
3284
+ function br(e, t) {
3285
+ const n = {};
3286
+ let u;
3287
+ return e.forEach((r) => {
3288
+ if (r.length <= 1)
3289
+ return;
3290
+ t || (r = r.map((a) => a.map(String)).sort((a, h) => a.length - h.length));
3291
+ const [o, ...i] = r;
3292
+ o.length === 0 ? u = i.map(ge) : n[ge(o)] = i.map(ge);
3293
+ }), u ? Te(n) ? [u] : [u, n] : Te(n) ? void 0 : n;
3294
+ }
3295
+ var Tn = (e, t, n, u, r = [], o = [], i = /* @__PURE__ */ new Map()) => {
3296
+ var a;
3297
+ const h = hr(e);
3298
+ if (!h) {
3299
+ kr(e, r, t);
3300
+ const _ = i.get(e);
3301
+ if (_)
3302
+ return u ? {
3303
+ transformedValue: null
3304
+ } : _;
3305
+ }
3306
+ if (!Ir(e, n)) {
3307
+ const _ = Pt(e, n), g = _ ? {
3308
+ transformedValue: _.value,
3309
+ annotations: [_.type]
3310
+ } : {
3311
+ transformedValue: e
3312
+ };
3313
+ return h || i.set(e, g), g;
3314
+ }
3315
+ if (ie(o, e))
3316
+ return {
3317
+ transformedValue: null
3318
+ };
3319
+ const p = Pt(e, n), A = (a = p == null ? void 0 : p.value) != null ? a : e, d = x(A) ? [] : {}, m = {};
3320
+ z(A, (_, g) => {
3321
+ if (g === "__proto__" || g === "constructor" || g === "prototype")
3322
+ throw new Error(`Detected property ${g}. This is a prototype pollution risk, please remove it from your object.`);
3323
+ const f = Tn(_, t, n, u, [...r, g], [...o, e], i);
3324
+ d[g] = f.transformedValue, x(f.annotations) ? m[g] = f.annotations : X(f.annotations) && z(f.annotations, (E, C) => {
3325
+ m[pn(g) + "." + C] = E;
3326
+ });
3327
+ });
3328
+ const c = Te(m) ? {
3329
+ transformedValue: d,
3330
+ annotations: p ? [p.type] : void 0
3331
+ } : {
3332
+ transformedValue: d,
3333
+ annotations: p ? [p.type, m] : m
3334
+ };
3335
+ return h || i.set(e, c), c;
3336
+ };
3337
+ s();
3338
+ s();
3339
+ function Dn(e) {
3340
+ return Object.prototype.toString.call(e).slice(8, -1);
3341
+ }
3342
+ function Vt(e) {
3343
+ return Dn(e) === "Array";
3344
+ }
3345
+ function Rr(e) {
3346
+ if (Dn(e) !== "Object")
3347
+ return !1;
3348
+ const t = Object.getPrototypeOf(e);
3349
+ return !!t && t.constructor === Object && t === Object.prototype;
3350
+ }
3351
+ function wr(e, t, n, u, r) {
3352
+ const o = {}.propertyIsEnumerable.call(u, t) ? "enumerable" : "nonenumerable";
3353
+ o === "enumerable" && (e[t] = n), r && o === "nonenumerable" && Object.defineProperty(e, t, {
3354
+ value: n,
3355
+ enumerable: !1,
3356
+ writable: !0,
3357
+ configurable: !0
3358
+ });
3359
+ }
3360
+ function Ie(e, t = {}) {
3361
+ if (Vt(e))
3362
+ return e.map((r) => Ie(r, t));
3363
+ if (!Rr(e))
3364
+ return e;
3365
+ const n = Object.getOwnPropertyNames(e), u = Object.getOwnPropertySymbols(e);
3366
+ return [...n, ...u].reduce((r, o) => {
3367
+ if (Vt(t.props) && !t.props.includes(o))
3368
+ return r;
3369
+ const i = e[o], a = Ie(i, t);
3370
+ return wr(r, o, a, e, t.nonenumerable), r;
3371
+ }, {});
3372
+ }
3373
+ var O = class {
3374
+ /**
3375
+ * @param dedupeReferentialEqualities If true, SuperJSON will make sure only one instance of referentially equal objects are serialized and the rest are replaced with `null`.
3376
+ */
3377
+ constructor({ dedupe: e = !1 } = {}) {
3378
+ this.classRegistry = new rr(), this.symbolRegistry = new fn((t) => {
3379
+ var n;
3380
+ return (n = t.description) != null ? n : "";
3381
+ }), this.customTransformerRegistry = new sr(), this.allowedErrorProps = [], this.dedupe = e;
3382
+ }
3383
+ serialize(e) {
3384
+ const t = /* @__PURE__ */ new Map(), n = Tn(e, t, this, this.dedupe), u = {
3385
+ json: n.transformedValue
3386
+ };
3387
+ n.annotations && (u.meta = {
3388
+ ...u.meta,
3389
+ values: n.annotations
3390
+ });
3391
+ const r = br(t, this.dedupe);
3392
+ return r && (u.meta = {
3393
+ ...u.meta,
3394
+ referentialEqualities: r
3395
+ }), u;
3396
+ }
3397
+ deserialize(e) {
3398
+ const { json: t, meta: n } = e;
3399
+ let u = Ie(t);
3400
+ return n != null && n.values && (u = Dr(u, n.values, this)), n != null && n.referentialEqualities && (u = Sr(u, n.referentialEqualities)), u;
3401
+ }
3402
+ stringify(e) {
3403
+ return JSON.stringify(this.serialize(e));
3404
+ }
3405
+ parse(e) {
3406
+ return this.deserialize(JSON.parse(e));
3407
+ }
3408
+ registerClass(e, t) {
3409
+ this.classRegistry.register(e, t);
3410
+ }
3411
+ registerSymbol(e, t) {
3412
+ this.symbolRegistry.register(e, t);
3413
+ }
3414
+ registerCustom(e, t) {
3415
+ this.customTransformerRegistry.register({
3416
+ name: t,
3417
+ ...e
3418
+ });
3419
+ }
3420
+ allowErrorProps(...e) {
3421
+ this.allowedErrorProps.push(...e);
3422
+ }
3423
+ };
3424
+ O.defaultInstance = new O();
3425
+ O.serialize = O.defaultInstance.serialize.bind(O.defaultInstance);
3426
+ O.deserialize = O.defaultInstance.deserialize.bind(O.defaultInstance);
3427
+ O.stringify = O.defaultInstance.stringify.bind(O.defaultInstance);
3428
+ O.parse = O.defaultInstance.parse.bind(O.defaultInstance);
3429
+ O.registerClass = O.defaultInstance.registerClass.bind(O.defaultInstance);
3430
+ O.registerSymbol = O.defaultInstance.registerSymbol.bind(O.defaultInstance);
3431
+ O.registerCustom = O.defaultInstance.registerCustom.bind(O.defaultInstance);
3432
+ O.allowErrorProps = O.defaultInstance.allowErrorProps.bind(O.defaultInstance);
3433
+ s();
3434
+ s();
3435
+ s();
3436
+ s();
3437
+ s();
3438
+ s();
3439
+ s();
3440
+ s();
3441
+ s();
3442
+ s();
3443
+ s();
3444
+ s();
3445
+ s();
3446
+ s();
3447
+ s();
3448
+ s();
3449
+ s();
3450
+ s();
3451
+ s();
3452
+ s();
3453
+ s();
3454
+ s();
3455
+ s();
3456
+ var xt, Nt;
3457
+ (Nt = (xt = l).__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__) != null || (xt.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__ = []);
3458
+ var Ft, Ut;
3459
+ (Ut = (Ft = l).__VUE_DEVTOOLS_KIT_RPC_CLIENT__) != null || (Ft.__VUE_DEVTOOLS_KIT_RPC_CLIENT__ = null);
3460
+ var Bt, Lt;
3461
+ (Lt = (Bt = l).__VUE_DEVTOOLS_KIT_RPC_SERVER__) != null || (Bt.__VUE_DEVTOOLS_KIT_RPC_SERVER__ = null);
3462
+ var Mt, Kt;
3463
+ (Kt = (Mt = l).__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__) != null || (Mt.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__ = null);
3464
+ var Ht, zt;
3465
+ (zt = (Ht = l).__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__) != null || (Ht.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__ = null);
3466
+ var $t, jt;
3467
+ (jt = ($t = l).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__) != null || ($t.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__ = null);
3468
+ s();
3469
+ s();
3470
+ s();
3471
+ s();
3472
+ s();
3473
+ s();
3474
+ s();
3475
+ export {
3476
+ xr as addCustomCommand,
3477
+ Vr as addCustomTab,
3478
+ Ur as onDevToolsClientConnected,
3479
+ Pr as onDevToolsConnected,
3480
+ Nr as removeCustomCommand,
3481
+ Fr as setupDevToolsPlugin,
3482
+ Fr as setupDevtoolsPlugin
3483
+ };