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