mms-component-lib
Version:
A professional, production-ready Vue 3 component library built with modern web standards.
2,008 lines • 91.1 kB
JavaScript
var Dn = Object.create, jt = Object.defineProperty, Sn = Object.getOwnPropertyDescriptor, Se = Object.getOwnPropertyNames, In = Object.getPrototypeOf, kn = Object.prototype.hasOwnProperty, bn = (e, t) => function() {
return e && (t = (0, e[Se(e)[0]])(e = 0)), t;
}, Rn = (e, t) => function() {
return t || (0, e[Se(e)[0]])((t = { exports: {} }).exports, t), t.exports;
}, wn = (e, t, n, u) => {
if (t && typeof t == "object" || typeof t == "function")
for (let r of Se(t))
!kn.call(e, r) && r !== n && jt(e, r, { get: () => t[r], enumerable: !(u = Sn(t, r)) || u.enumerable });
return e;
}, Pn = (e, t, n) => (n = e != null ? Dn(In(e)) : {}, wn(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
jt(n, "default", { value: e, enumerable: !0 }),
e
)), ee = bn({
"../../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"() {
}
}), Vn = Rn({
"../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js"(e, t) {
ee(), t.exports = u;
function n(o) {
return o instanceof Buffer ? Buffer.from(o) : new o.constructor(o.buffer.slice(), o.byteOffset, o.length);
}
function u(o) {
if (o = o || {}, o.circles) return r(o);
const i = /* @__PURE__ */ new Map();
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)
for (const d of o.constructorHandlers)
i.set(d[0], d[1]);
let a = null;
return o.proto ? A : p;
function h(d, m) {
const c = Object.keys(d), _ = new Array(c.length);
for (let g = 0; g < c.length; g++) {
const f = c[g], E = d[f];
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);
}
return _;
}
function p(d) {
if (typeof d != "object" || d === null) return d;
if (Array.isArray(d)) return h(d, p);
if (d.constructor !== Object && (a = i.get(d.constructor)))
return a(d, p);
const m = {};
for (const c in d) {
if (Object.hasOwnProperty.call(d, c) === !1) continue;
const _ = d[c];
typeof _ != "object" || _ === null ? m[c] = _ : _.constructor !== Object && (a = i.get(_.constructor)) ? m[c] = a(_, p) : ArrayBuffer.isView(_) ? m[c] = n(_) : m[c] = p(_);
}
return m;
}
function A(d) {
if (typeof d != "object" || d === null) return d;
if (Array.isArray(d)) return h(d, A);
if (d.constructor !== Object && (a = i.get(d.constructor)))
return a(d, A);
const m = {};
for (const c in d) {
const _ = d[c];
typeof _ != "object" || _ === null ? m[c] = _ : _.constructor !== Object && (a = i.get(_.constructor)) ? m[c] = a(_, A) : ArrayBuffer.isView(_) ? m[c] = n(_) : m[c] = A(_);
}
return m;
}
}
function r(o) {
const i = [], a = [], h = /* @__PURE__ */ new Map();
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)
for (const c of o.constructorHandlers)
h.set(c[0], c[1]);
let p = null;
return o.proto ? m : d;
function A(c, _) {
const g = Object.keys(c), f = new Array(g.length);
for (let E = 0; E < g.length; E++) {
const C = g[E], y = c[C];
if (typeof y != "object" || y === null)
f[C] = y;
else if (y.constructor !== Object && (p = h.get(y.constructor)))
f[C] = p(y, _);
else if (ArrayBuffer.isView(y))
f[C] = n(y);
else {
const k = i.indexOf(y);
k !== -1 ? f[C] = a[k] : f[C] = _(y);
}
}
return f;
}
function d(c) {
if (typeof c != "object" || c === null) return c;
if (Array.isArray(c)) return A(c, d);
if (c.constructor !== Object && (p = h.get(c.constructor)))
return p(c, d);
const _ = {};
i.push(c), a.push(_);
for (const g in c) {
if (Object.hasOwnProperty.call(c, g) === !1) continue;
const f = c[g];
if (typeof f != "object" || f === null)
_[g] = f;
else if (f.constructor !== Object && (p = h.get(f.constructor)))
_[g] = p(f, d);
else if (ArrayBuffer.isView(f))
_[g] = n(f);
else {
const E = i.indexOf(f);
E !== -1 ? _[g] = a[E] : _[g] = d(f);
}
}
return i.pop(), a.pop(), _;
}
function m(c) {
if (typeof c != "object" || c === null) return c;
if (Array.isArray(c)) return A(c, m);
if (c.constructor !== Object && (p = h.get(c.constructor)))
return p(c, m);
const _ = {};
i.push(c), a.push(_);
for (const g in c) {
const f = c[g];
if (typeof f != "object" || f === null)
_[g] = f;
else if (f.constructor !== Object && (p = h.get(f.constructor)))
_[g] = p(f, m);
else if (ArrayBuffer.isView(f))
_[g] = n(f);
else {
const E = i.indexOf(f);
E !== -1 ? _[g] = a[E] : _[g] = m(f);
}
}
return i.pop(), a.pop(), _;
}
}
}
});
ee();
ee();
ee();
var $t = typeof navigator < "u", l = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : typeof global < "u" ? global : {};
typeof l.chrome < "u" && l.chrome.devtools;
$t && (l.self, l.top);
var Ke;
typeof navigator < "u" && ((Ke = navigator.userAgent) == null || Ke.toLowerCase().includes("electron"));
ee();
var xn = Pn(Vn()), Nn = /(?:^|[-_/])(\w)/g;
function Fn(e, t) {
return t ? t.toUpperCase() : "";
}
function Bn(e) {
return e && `${e}`.replace(Nn, Fn);
}
function Un(e, t) {
let n = e.replace(/^[a-z]:/i, "").replace(/\\/g, "/");
n.endsWith(`index${t}`) && (n = n.replace(`/index${t}`, t));
const u = n.lastIndexOf("/"), r = n.substring(u + 1);
{
const o = r.lastIndexOf(t);
return r.substring(0, o);
}
}
var He = (0, xn.default)({ circles: !0 });
const Ln = {
trailing: !0
};
function M(e, t = 25, n = {}) {
if (n = { ...Ln, ...n }, !Number.isFinite(t))
throw new TypeError("Expected `wait` to be a finite number");
let u, r, o = [], i, a;
const h = (p, A) => (i = Mn(e, p, A), i.finally(() => {
if (i = null, n.trailing && a && !r) {
const d = h(p, a);
return a = null, d;
}
}), i);
return function(...p) {
return i ? (n.trailing && (a = p), i) : new Promise((A) => {
const d = !r && n.leading;
clearTimeout(r), r = setTimeout(() => {
r = null;
const m = n.leading ? u : h(this, p);
for (const c of o)
c(m);
o = [];
}, t), d ? (u = h(this, p), A(u)) : o.push(A);
});
};
}
async function Mn(e, t, n) {
return await e.apply(t, n);
}
function ge(e, t = {}, n) {
for (const u in e) {
const r = e[u], o = n ? `${n}:${u}` : u;
typeof r == "object" && r !== null ? ge(r, t, o) : typeof r == "function" && (t[o] = r);
}
return t;
}
const Kn = { run: (e) => e() }, Hn = () => Kn, Gt = typeof console.createTask < "u" ? console.createTask : Hn;
function zn(e, t) {
const n = t.shift(), u = Gt(n);
return e.reduce(
(r, o) => r.then(() => u.run(() => o(...t))),
Promise.resolve()
);
}
function jn(e, t) {
const n = t.shift(), u = Gt(n);
return Promise.all(e.map((r) => u.run(() => r(...t))));
}
function Ee(e, t) {
for (const n of [...e])
n(t);
}
class $n {
constructor() {
this._hooks = {}, this._before = void 0, this._after = void 0, this._deprecatedMessages = void 0, this._deprecatedHooks = {}, this.hook = this.hook.bind(this), this.callHook = this.callHook.bind(this), this.callHookWith = this.callHookWith.bind(this);
}
hook(t, n, u = {}) {
if (!t || typeof n != "function")
return () => {
};
const r = t;
let o;
for (; this._deprecatedHooks[t]; )
o = this._deprecatedHooks[t], t = o.to;
if (o && !u.allowDeprecated) {
let i = o.message;
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));
}
if (!n.name)
try {
Object.defineProperty(n, "name", {
get: () => "_" + t.replace(/\W+/g, "_") + "_hook_cb",
configurable: !0
});
} catch {
}
return this._hooks[t] = this._hooks[t] || [], this._hooks[t].push(n), () => {
n && (this.removeHook(t, n), n = void 0);
};
}
hookOnce(t, n) {
let u, r = (...o) => (typeof u == "function" && u(), u = void 0, r = void 0, n(...o));
return u = this.hook(t, r), u;
}
removeHook(t, n) {
if (this._hooks[t]) {
const u = this._hooks[t].indexOf(n);
u !== -1 && this._hooks[t].splice(u, 1), this._hooks[t].length === 0 && delete this._hooks[t];
}
}
deprecateHook(t, n) {
this._deprecatedHooks[t] = typeof n == "string" ? { to: n } : n;
const u = this._hooks[t] || [];
delete this._hooks[t];
for (const r of u)
this.hook(t, r);
}
deprecateHooks(t) {
Object.assign(this._deprecatedHooks, t);
for (const n in t)
this.deprecateHook(n, t[n]);
}
addHooks(t) {
const n = ge(t), u = Object.keys(n).map(
(r) => this.hook(r, n[r])
);
return () => {
for (const r of u.splice(0, u.length))
r();
};
}
removeHooks(t) {
const n = ge(t);
for (const u in n)
this.removeHook(u, n[u]);
}
removeAllHooks() {
for (const t in this._hooks)
delete this._hooks[t];
}
callHook(t, ...n) {
return n.unshift(t), this.callHookWith(zn, t, ...n);
}
callHookParallel(t, ...n) {
return n.unshift(t), this.callHookWith(jn, t, ...n);
}
callHookWith(t, n, ...u) {
const r = this._before || this._after ? { name: n, args: u, context: {} } : void 0;
this._before && Ee(this._before, r);
const o = t(
n in this._hooks ? [...this._hooks[n]] : [],
u
);
return o instanceof Promise ? o.finally(() => {
this._after && r && Ee(this._after, r);
}) : (this._after && r && Ee(this._after, r), o);
}
beforeEach(t) {
return this._before = this._before || [], this._before.push(t), () => {
if (this._before !== void 0) {
const n = this._before.indexOf(t);
n !== -1 && this._before.splice(n, 1);
}
};
}
afterEach(t) {
return this._after = this._after || [], this._after.push(t), () => {
if (this._after !== void 0) {
const n = this._after.indexOf(t);
n !== -1 && this._after.splice(n, 1);
}
};
}
}
function qt() {
return new $n();
}
var Gn = Object.create, Yt = Object.defineProperty, qn = Object.getOwnPropertyDescriptor, Ie = Object.getOwnPropertyNames, Yn = Object.getPrototypeOf, Wn = Object.prototype.hasOwnProperty, Zn = (e, t) => function() {
return e && (t = (0, e[Ie(e)[0]])(e = 0)), t;
}, Wt = (e, t) => function() {
return t || (0, e[Ie(e)[0]])((t = { exports: {} }).exports, t), t.exports;
}, Xn = (e, t, n, u) => {
if (t && typeof t == "object" || typeof t == "function")
for (let r of Ie(t))
!Wn.call(e, r) && r !== n && Yt(e, r, { get: () => t[r], enumerable: !(u = qn(t, r)) || u.enumerable });
return e;
}, Jn = (e, t, n) => (n = e != null ? Gn(Yn(e)) : {}, Xn(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
Yt(n, "default", { value: e, enumerable: !0 }),
e
)), s = Zn({
"../../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"() {
}
}), Qn = Wt({
"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(e, t) {
s(), (function(n) {
var u = {
// latin
À: "A",
Á: "A",
Â: "A",
Ã: "A",
Ä: "Ae",
Å: "A",
Æ: "AE",
Ç: "C",
È: "E",
É: "E",
Ê: "E",
Ë: "E",
Ì: "I",
Í: "I",
Î: "I",
Ï: "I",
Ð: "D",
Ñ: "N",
Ò: "O",
Ó: "O",
Ô: "O",
Õ: "O",
Ö: "Oe",
Ő: "O",
Ø: "O",
Ù: "U",
Ú: "U",
Û: "U",
Ü: "Ue",
Ű: "U",
Ý: "Y",
Þ: "TH",
ß: "ss",
à: "a",
á: "a",
â: "a",
ã: "a",
ä: "ae",
å: "a",
æ: "ae",
ç: "c",
è: "e",
é: "e",
ê: "e",
ë: "e",
ì: "i",
í: "i",
î: "i",
ï: "i",
ð: "d",
ñ: "n",
ò: "o",
ó: "o",
ô: "o",
õ: "o",
ö: "oe",
ő: "o",
ø: "o",
ù: "u",
ú: "u",
û: "u",
ü: "ue",
ű: "u",
ý: "y",
þ: "th",
ÿ: "y",
"ẞ": "SS",
// language specific
// Arabic
ا: "a",
أ: "a",
إ: "i",
آ: "aa",
ؤ: "u",
ئ: "e",
ء: "a",
ب: "b",
ت: "t",
ث: "th",
ج: "j",
ح: "h",
خ: "kh",
د: "d",
ذ: "th",
ر: "r",
ز: "z",
س: "s",
ش: "sh",
ص: "s",
ض: "dh",
ط: "t",
ظ: "z",
ع: "a",
غ: "gh",
ف: "f",
ق: "q",
ك: "k",
ل: "l",
م: "m",
ن: "n",
ه: "h",
و: "w",
ي: "y",
ى: "a",
ة: "h",
ﻻ: "la",
ﻷ: "laa",
ﻹ: "lai",
ﻵ: "laa",
// Persian additional characters than Arabic
گ: "g",
چ: "ch",
پ: "p",
ژ: "zh",
ک: "k",
ی: "y",
// Arabic diactrics
"َ": "a",
"ً": "an",
"ِ": "e",
"ٍ": "en",
"ُ": "u",
"ٌ": "on",
"ْ": "",
// Arabic numbers
"٠": "0",
"١": "1",
"٢": "2",
"٣": "3",
"٤": "4",
"٥": "5",
"٦": "6",
"٧": "7",
"٨": "8",
"٩": "9",
// Persian numbers
"۰": "0",
"۱": "1",
"۲": "2",
"۳": "3",
"۴": "4",
"۵": "5",
"۶": "6",
"۷": "7",
"۸": "8",
"۹": "9",
// Burmese consonants
က: "k",
ခ: "kh",
ဂ: "g",
ဃ: "ga",
င: "ng",
စ: "s",
ဆ: "sa",
ဇ: "z",
"စျ": "za",
ည: "ny",
ဋ: "t",
ဌ: "ta",
ဍ: "d",
ဎ: "da",
ဏ: "na",
တ: "t",
ထ: "ta",
ဒ: "d",
ဓ: "da",
န: "n",
ပ: "p",
ဖ: "pa",
ဗ: "b",
ဘ: "ba",
မ: "m",
ယ: "y",
ရ: "ya",
လ: "l",
ဝ: "w",
သ: "th",
ဟ: "h",
ဠ: "la",
အ: "a",
// consonant character combos
"ြ": "y",
"ျ": "ya",
"ွ": "w",
"ြွ": "yw",
"ျွ": "ywa",
"ှ": "h",
// independent vowels
ဧ: "e",
"၏": "-e",
ဣ: "i",
ဤ: "-i",
ဉ: "u",
ဦ: "-u",
ဩ: "aw",
"သြော": "aw",
ဪ: "aw",
// numbers
"၀": "0",
"၁": "1",
"၂": "2",
"၃": "3",
"၄": "4",
"၅": "5",
"၆": "6",
"၇": "7",
"၈": "8",
"၉": "9",
// virama and tone marks which are silent in transliteration
"္": "",
"့": "",
"း": "",
// Czech
č: "c",
ď: "d",
ě: "e",
ň: "n",
ř: "r",
š: "s",
ť: "t",
ů: "u",
ž: "z",
Č: "C",
Ď: "D",
Ě: "E",
Ň: "N",
Ř: "R",
Š: "S",
Ť: "T",
Ů: "U",
Ž: "Z",
// Dhivehi
ހ: "h",
ށ: "sh",
ނ: "n",
ރ: "r",
ބ: "b",
ޅ: "lh",
ކ: "k",
އ: "a",
ވ: "v",
މ: "m",
ފ: "f",
ދ: "dh",
ތ: "th",
ލ: "l",
ގ: "g",
ޏ: "gn",
ސ: "s",
ޑ: "d",
ޒ: "z",
ޓ: "t",
ޔ: "y",
ޕ: "p",
ޖ: "j",
ޗ: "ch",
ޘ: "tt",
ޙ: "hh",
ޚ: "kh",
ޛ: "th",
ޜ: "z",
ޝ: "sh",
ޞ: "s",
ޟ: "d",
ޠ: "t",
ޡ: "z",
ޢ: "a",
ޣ: "gh",
ޤ: "q",
ޥ: "w",
"ަ": "a",
"ާ": "aa",
"ި": "i",
"ީ": "ee",
"ު": "u",
"ޫ": "oo",
"ެ": "e",
"ޭ": "ey",
"ޮ": "o",
"ޯ": "oa",
"ް": "",
// Georgian https://en.wikipedia.org/wiki/Romanization_of_Georgian
// National system (2002)
ა: "a",
ბ: "b",
გ: "g",
დ: "d",
ე: "e",
ვ: "v",
ზ: "z",
თ: "t",
ი: "i",
კ: "k",
ლ: "l",
მ: "m",
ნ: "n",
ო: "o",
პ: "p",
ჟ: "zh",
რ: "r",
ს: "s",
ტ: "t",
უ: "u",
ფ: "p",
ქ: "k",
ღ: "gh",
ყ: "q",
შ: "sh",
ჩ: "ch",
ც: "ts",
ძ: "dz",
წ: "ts",
ჭ: "ch",
ხ: "kh",
ჯ: "j",
ჰ: "h",
// Greek
α: "a",
β: "v",
γ: "g",
δ: "d",
ε: "e",
ζ: "z",
η: "i",
θ: "th",
ι: "i",
κ: "k",
λ: "l",
μ: "m",
ν: "n",
ξ: "ks",
ο: "o",
π: "p",
ρ: "r",
σ: "s",
τ: "t",
υ: "y",
φ: "f",
χ: "x",
ψ: "ps",
ω: "o",
ά: "a",
έ: "e",
ί: "i",
ό: "o",
ύ: "y",
ή: "i",
ώ: "o",
ς: "s",
ϊ: "i",
ΰ: "y",
ϋ: "y",
ΐ: "i",
Α: "A",
Β: "B",
Γ: "G",
Δ: "D",
Ε: "E",
Ζ: "Z",
Η: "I",
Θ: "TH",
Ι: "I",
Κ: "K",
Λ: "L",
Μ: "M",
Ν: "N",
Ξ: "KS",
Ο: "O",
Π: "P",
Ρ: "R",
Σ: "S",
Τ: "T",
Υ: "Y",
Φ: "F",
Χ: "X",
Ψ: "PS",
Ω: "O",
Ά: "A",
Έ: "E",
Ί: "I",
Ό: "O",
Ύ: "Y",
Ή: "I",
Ώ: "O",
Ϊ: "I",
Ϋ: "Y",
// Latvian
ā: "a",
// 'č': 'c', // duplicate
ē: "e",
ģ: "g",
ī: "i",
ķ: "k",
ļ: "l",
ņ: "n",
// 'š': 's', // duplicate
ū: "u",
// 'ž': 'z', // duplicate
Ā: "A",
// 'Č': 'C', // duplicate
Ē: "E",
Ģ: "G",
Ī: "I",
Ķ: "k",
Ļ: "L",
Ņ: "N",
// 'Š': 'S', // duplicate
Ū: "U",
// 'Ž': 'Z', // duplicate
// Macedonian
Ќ: "Kj",
ќ: "kj",
Љ: "Lj",
љ: "lj",
Њ: "Nj",
њ: "nj",
Тс: "Ts",
тс: "ts",
// Polish
ą: "a",
ć: "c",
ę: "e",
ł: "l",
ń: "n",
// 'ó': 'o', // duplicate
ś: "s",
ź: "z",
ż: "z",
Ą: "A",
Ć: "C",
Ę: "E",
Ł: "L",
Ń: "N",
Ś: "S",
Ź: "Z",
Ż: "Z",
// Ukranian
Є: "Ye",
І: "I",
Ї: "Yi",
Ґ: "G",
є: "ye",
і: "i",
ї: "yi",
ґ: "g",
// Romanian
ă: "a",
Ă: "A",
ș: "s",
Ș: "S",
// 'ş': 's', // duplicate
// 'Ş': 'S', // duplicate
ț: "t",
Ț: "T",
ţ: "t",
Ţ: "T",
// Russian https://en.wikipedia.org/wiki/Romanization_of_Russian
// ICAO
а: "a",
б: "b",
в: "v",
г: "g",
д: "d",
е: "e",
ё: "yo",
ж: "zh",
з: "z",
и: "i",
й: "i",
к: "k",
л: "l",
м: "m",
н: "n",
о: "o",
п: "p",
р: "r",
с: "s",
т: "t",
у: "u",
ф: "f",
х: "kh",
ц: "c",
ч: "ch",
ш: "sh",
щ: "sh",
ъ: "",
ы: "y",
ь: "",
э: "e",
ю: "yu",
я: "ya",
А: "A",
Б: "B",
В: "V",
Г: "G",
Д: "D",
Е: "E",
Ё: "Yo",
Ж: "Zh",
З: "Z",
И: "I",
Й: "I",
К: "K",
Л: "L",
М: "M",
Н: "N",
О: "O",
П: "P",
Р: "R",
С: "S",
Т: "T",
У: "U",
Ф: "F",
Х: "Kh",
Ц: "C",
Ч: "Ch",
Ш: "Sh",
Щ: "Sh",
Ъ: "",
Ы: "Y",
Ь: "",
Э: "E",
Ю: "Yu",
Я: "Ya",
// Serbian
ђ: "dj",
ј: "j",
// 'љ': 'lj', // duplicate
// 'њ': 'nj', // duplicate
ћ: "c",
џ: "dz",
Ђ: "Dj",
Ј: "j",
// 'Љ': 'Lj', // duplicate
// 'Њ': 'Nj', // duplicate
Ћ: "C",
Џ: "Dz",
// Slovak
ľ: "l",
ĺ: "l",
ŕ: "r",
Ľ: "L",
Ĺ: "L",
Ŕ: "R",
// Turkish
ş: "s",
Ş: "S",
ı: "i",
İ: "I",
// 'ç': 'c', // duplicate
// 'Ç': 'C', // duplicate
// 'ü': 'u', // duplicate, see langCharMap
// 'Ü': 'U', // duplicate, see langCharMap
// 'ö': 'o', // duplicate, see langCharMap
// 'Ö': 'O', // duplicate, see langCharMap
ğ: "g",
Ğ: "G",
// Vietnamese
ả: "a",
Ả: "A",
ẳ: "a",
Ẳ: "A",
ẩ: "a",
Ẩ: "A",
đ: "d",
Đ: "D",
ẹ: "e",
Ẹ: "E",
ẽ: "e",
Ẽ: "E",
ẻ: "e",
Ẻ: "E",
ế: "e",
Ế: "E",
ề: "e",
Ề: "E",
ệ: "e",
Ệ: "E",
ễ: "e",
Ễ: "E",
ể: "e",
Ể: "E",
ỏ: "o",
ọ: "o",
Ọ: "o",
ố: "o",
Ố: "O",
ồ: "o",
Ồ: "O",
ổ: "o",
Ổ: "O",
ộ: "o",
Ộ: "O",
ỗ: "o",
Ỗ: "O",
ơ: "o",
Ơ: "O",
ớ: "o",
Ớ: "O",
ờ: "o",
Ờ: "O",
ợ: "o",
Ợ: "O",
ỡ: "o",
Ỡ: "O",
Ở: "o",
ở: "o",
ị: "i",
Ị: "I",
ĩ: "i",
Ĩ: "I",
ỉ: "i",
Ỉ: "i",
ủ: "u",
Ủ: "U",
ụ: "u",
Ụ: "U",
ũ: "u",
Ũ: "U",
ư: "u",
Ư: "U",
ứ: "u",
Ứ: "U",
ừ: "u",
Ừ: "U",
ự: "u",
Ự: "U",
ữ: "u",
Ữ: "U",
ử: "u",
Ử: "ư",
ỷ: "y",
Ỷ: "y",
ỳ: "y",
Ỳ: "Y",
ỵ: "y",
Ỵ: "Y",
ỹ: "y",
Ỹ: "Y",
ạ: "a",
Ạ: "A",
ấ: "a",
Ấ: "A",
ầ: "a",
Ầ: "A",
ậ: "a",
Ậ: "A",
ẫ: "a",
Ẫ: "A",
// 'ă': 'a', // duplicate
// 'Ă': 'A', // duplicate
ắ: "a",
Ắ: "A",
ằ: "a",
Ằ: "A",
ặ: "a",
Ặ: "A",
ẵ: "a",
Ẵ: "A",
"⓪": "0",
"①": "1",
"②": "2",
"③": "3",
"④": "4",
"⑤": "5",
"⑥": "6",
"⑦": "7",
"⑧": "8",
"⑨": "9",
"⑩": "10",
"⑪": "11",
"⑫": "12",
"⑬": "13",
"⑭": "14",
"⑮": "15",
"⑯": "16",
"⑰": "17",
"⑱": "18",
"⑲": "18",
"⑳": "18",
"⓵": "1",
"⓶": "2",
"⓷": "3",
"⓸": "4",
"⓹": "5",
"⓺": "6",
"⓻": "7",
"⓼": "8",
"⓽": "9",
"⓾": "10",
"⓿": "0",
"⓫": "11",
"⓬": "12",
"⓭": "13",
"⓮": "14",
"⓯": "15",
"⓰": "16",
"⓱": "17",
"⓲": "18",
"⓳": "19",
"⓴": "20",
"Ⓐ": "A",
"Ⓑ": "B",
"Ⓒ": "C",
"Ⓓ": "D",
"Ⓔ": "E",
"Ⓕ": "F",
"Ⓖ": "G",
"Ⓗ": "H",
"Ⓘ": "I",
"Ⓙ": "J",
"Ⓚ": "K",
"Ⓛ": "L",
"Ⓜ": "M",
"Ⓝ": "N",
"Ⓞ": "O",
"Ⓟ": "P",
"Ⓠ": "Q",
"Ⓡ": "R",
"Ⓢ": "S",
"Ⓣ": "T",
"Ⓤ": "U",
"Ⓥ": "V",
"Ⓦ": "W",
"Ⓧ": "X",
"Ⓨ": "Y",
"Ⓩ": "Z",
"ⓐ": "a",
"ⓑ": "b",
"ⓒ": "c",
"ⓓ": "d",
"ⓔ": "e",
"ⓕ": "f",
"ⓖ": "g",
"ⓗ": "h",
"ⓘ": "i",
"ⓙ": "j",
"ⓚ": "k",
"ⓛ": "l",
"ⓜ": "m",
"ⓝ": "n",
"ⓞ": "o",
"ⓟ": "p",
"ⓠ": "q",
"ⓡ": "r",
"ⓢ": "s",
"ⓣ": "t",
"ⓤ": "u",
"ⓦ": "v",
"ⓥ": "w",
"ⓧ": "x",
"ⓨ": "y",
"ⓩ": "z",
// symbols
"“": '"',
"”": '"',
"‘": "'",
"’": "'",
"∂": "d",
ƒ: "f",
"™": "(TM)",
"©": "(C)",
œ: "oe",
Œ: "OE",
"®": "(R)",
"†": "+",
"℠": "(SM)",
"…": "...",
"˚": "o",
º: "o",
ª: "a",
"•": "*",
"၊": ",",
"။": ".",
// currency
$: "USD",
"€": "EUR",
"₢": "BRN",
"₣": "FRF",
"£": "GBP",
"₤": "ITL",
"₦": "NGN",
"₧": "ESP",
"₩": "KRW",
"₪": "ILS",
"₫": "VND",
"₭": "LAK",
"₮": "MNT",
"₯": "GRD",
"₱": "ARS",
"₲": "PYG",
"₳": "ARA",
"₴": "UAH",
"₵": "GHS",
"¢": "cent",
"¥": "CNY",
元: "CNY",
円: "YEN",
"﷼": "IRR",
"₠": "EWE",
"฿": "THB",
"₨": "INR",
"₹": "INR",
"₰": "PF",
"₺": "TRY",
"؋": "AFN",
"₼": "AZN",
лв: "BGN",
"៛": "KHR",
"₡": "CRC",
"₸": "KZT",
ден: "MKD",
zł: "PLN",
"₽": "RUB",
"₾": "GEL"
}, r = [
// burmese
"်",
// Dhivehi
"ް"
], o = {
// Burmese
// dependent vowels
"ာ": "a",
"ါ": "a",
"ေ": "e",
"ဲ": "e",
"ိ": "i",
"ီ": "i",
"ို": "o",
"ု": "u",
"ူ": "u",
"ေါင်": "aung",
"ော": "aw",
"ော်": "aw",
"ေါ": "aw",
"ေါ်": "aw",
"်": "်",
// this is special case but the character will be converted to latin in the code
"က်": "et",
"ိုက်": "aik",
"ောက်": "auk",
"င်": "in",
"ိုင်": "aing",
"ောင်": "aung",
"စ်": "it",
"ည်": "i",
"တ်": "at",
"ိတ်": "eik",
"ုတ်": "ok",
"ွတ်": "ut",
"ေတ်": "it",
"ဒ်": "d",
"ိုဒ်": "ok",
"ုဒ်": "ait",
"န်": "an",
"ာန်": "an",
"ိန်": "ein",
"ုန်": "on",
"ွန်": "un",
"ပ်": "at",
"ိပ်": "eik",
"ုပ်": "ok",
"ွပ်": "ut",
"န်ုပ်": "nub",
"မ်": "an",
"ိမ်": "ein",
"ုမ်": "on",
"ွမ်": "un",
"ယ်": "e",
"ိုလ်": "ol",
"ဉ်": "in",
"ံ": "an",
"ိံ": "ein",
"ုံ": "on",
// Dhivehi
"ައް": "ah",
"ަށް": "ah"
}, i = {
en: {},
// default language
az: {
// Azerbaijani
ç: "c",
ə: "e",
ğ: "g",
ı: "i",
ö: "o",
ş: "s",
ü: "u",
Ç: "C",
Ə: "E",
Ğ: "G",
İ: "I",
Ö: "O",
Ş: "S",
Ü: "U"
},
cs: {
// Czech
č: "c",
ď: "d",
ě: "e",
ň: "n",
ř: "r",
š: "s",
ť: "t",
ů: "u",
ž: "z",
Č: "C",
Ď: "D",
Ě: "E",
Ň: "N",
Ř: "R",
Š: "S",
Ť: "T",
Ů: "U",
Ž: "Z"
},
fi: {
// Finnish
// 'å': 'a', duplicate see charMap/latin
// 'Å': 'A', duplicate see charMap/latin
ä: "a",
// ok
Ä: "A",
// ok
ö: "o",
// ok
Ö: "O"
// ok
},
hu: {
// Hungarian
ä: "a",
// ok
Ä: "A",
// ok
// 'á': 'a', duplicate see charMap/latin
// 'Á': 'A', duplicate see charMap/latin
ö: "o",
// ok
Ö: "O",
// ok
// 'ő': 'o', duplicate see charMap/latin
// 'Ő': 'O', duplicate see charMap/latin
ü: "u",
Ü: "U",
ű: "u",
Ű: "U"
},
lt: {
// Lithuanian
ą: "a",
č: "c",
ę: "e",
ė: "e",
į: "i",
š: "s",
ų: "u",
ū: "u",
ž: "z",
Ą: "A",
Č: "C",
Ę: "E",
Ė: "E",
Į: "I",
Š: "S",
Ų: "U",
Ū: "U"
},
lv: {
// Latvian
ā: "a",
č: "c",
ē: "e",
ģ: "g",
ī: "i",
ķ: "k",
ļ: "l",
ņ: "n",
š: "s",
ū: "u",
ž: "z",
Ā: "A",
Č: "C",
Ē: "E",
Ģ: "G",
Ī: "i",
Ķ: "k",
Ļ: "L",
Ņ: "N",
Š: "S",
Ū: "u",
Ž: "Z"
},
pl: {
// Polish
ą: "a",
ć: "c",
ę: "e",
ł: "l",
ń: "n",
ó: "o",
ś: "s",
ź: "z",
ż: "z",
Ą: "A",
Ć: "C",
Ę: "e",
Ł: "L",
Ń: "N",
Ó: "O",
Ś: "S",
Ź: "Z",
Ż: "Z"
},
sv: {
// Swedish
// 'å': 'a', duplicate see charMap/latin
// 'Å': 'A', duplicate see charMap/latin
ä: "a",
// ok
Ä: "A",
// ok
ö: "o",
// ok
Ö: "O"
// ok
},
sk: {
// Slovak
ä: "a",
Ä: "A"
},
sr: {
// Serbian
љ: "lj",
њ: "nj",
Љ: "Lj",
Њ: "Nj",
đ: "dj",
Đ: "Dj"
},
tr: {
// Turkish
Ü: "U",
Ö: "O",
ü: "u",
ö: "o"
}
}, a = {
ar: {
"∆": "delta",
"∞": "la-nihaya",
"♥": "hob",
"&": "wa",
"|": "aw",
"<": "aqal-men",
">": "akbar-men",
"∑": "majmou",
"¤": "omla"
},
az: {},
ca: {
"∆": "delta",
"∞": "infinit",
"♥": "amor",
"&": "i",
"|": "o",
"<": "menys que",
">": "mes que",
"∑": "suma dels",
"¤": "moneda"
},
cs: {
"∆": "delta",
"∞": "nekonecno",
"♥": "laska",
"&": "a",
"|": "nebo",
"<": "mensi nez",
">": "vetsi nez",
"∑": "soucet",
"¤": "mena"
},
de: {
"∆": "delta",
"∞": "unendlich",
"♥": "Liebe",
"&": "und",
"|": "oder",
"<": "kleiner als",
">": "groesser als",
"∑": "Summe von",
"¤": "Waehrung"
},
dv: {
"∆": "delta",
"∞": "kolunulaa",
"♥": "loabi",
"&": "aai",
"|": "noonee",
"<": "ah vure kuda",
">": "ah vure bodu",
"∑": "jumula",
"¤": "faisaa"
},
en: {
"∆": "delta",
"∞": "infinity",
"♥": "love",
"&": "and",
"|": "or",
"<": "less than",
">": "greater than",
"∑": "sum",
"¤": "currency"
},
es: {
"∆": "delta",
"∞": "infinito",
"♥": "amor",
"&": "y",
"|": "u",
"<": "menos que",
">": "mas que",
"∑": "suma de los",
"¤": "moneda"
},
fa: {
"∆": "delta",
"∞": "bi-nahayat",
"♥": "eshgh",
"&": "va",
"|": "ya",
"<": "kamtar-az",
">": "bishtar-az",
"∑": "majmooe",
"¤": "vahed"
},
fi: {
"∆": "delta",
"∞": "aarettomyys",
"♥": "rakkaus",
"&": "ja",
"|": "tai",
"<": "pienempi kuin",
">": "suurempi kuin",
"∑": "summa",
"¤": "valuutta"
},
fr: {
"∆": "delta",
"∞": "infiniment",
"♥": "Amour",
"&": "et",
"|": "ou",
"<": "moins que",
">": "superieure a",
"∑": "somme des",
"¤": "monnaie"
},
ge: {
"∆": "delta",
"∞": "usasruloba",
"♥": "siqvaruli",
"&": "da",
"|": "an",
"<": "naklebi",
">": "meti",
"∑": "jami",
"¤": "valuta"
},
gr: {},
hu: {
"∆": "delta",
"∞": "vegtelen",
"♥": "szerelem",
"&": "es",
"|": "vagy",
"<": "kisebb mint",
">": "nagyobb mint",
"∑": "szumma",
"¤": "penznem"
},
it: {
"∆": "delta",
"∞": "infinito",
"♥": "amore",
"&": "e",
"|": "o",
"<": "minore di",
">": "maggiore di",
"∑": "somma",
"¤": "moneta"
},
lt: {
"∆": "delta",
"∞": "begalybe",
"♥": "meile",
"&": "ir",
"|": "ar",
"<": "maziau nei",
">": "daugiau nei",
"∑": "suma",
"¤": "valiuta"
},
lv: {
"∆": "delta",
"∞": "bezgaliba",
"♥": "milestiba",
"&": "un",
"|": "vai",
"<": "mazak neka",
">": "lielaks neka",
"∑": "summa",
"¤": "valuta"
},
my: {
"∆": "kwahkhyaet",
"∞": "asaonasme",
"♥": "akhyait",
"&": "nhin",
"|": "tho",
"<": "ngethaw",
">": "kyithaw",
"∑": "paungld",
"¤": "ngwekye"
},
mk: {},
nl: {
"∆": "delta",
"∞": "oneindig",
"♥": "liefde",
"&": "en",
"|": "of",
"<": "kleiner dan",
">": "groter dan",
"∑": "som",
"¤": "valuta"
},
pl: {
"∆": "delta",
"∞": "nieskonczonosc",
"♥": "milosc",
"&": "i",
"|": "lub",
"<": "mniejsze niz",
">": "wieksze niz",
"∑": "suma",
"¤": "waluta"
},
pt: {
"∆": "delta",
"∞": "infinito",
"♥": "amor",
"&": "e",
"|": "ou",
"<": "menor que",
">": "maior que",
"∑": "soma",
"¤": "moeda"
},
ro: {
"∆": "delta",
"∞": "infinit",
"♥": "dragoste",
"&": "si",
"|": "sau",
"<": "mai mic ca",
">": "mai mare ca",
"∑": "suma",
"¤": "valuta"
},
ru: {
"∆": "delta",
"∞": "beskonechno",
"♥": "lubov",
"&": "i",
"|": "ili",
"<": "menshe",
">": "bolshe",
"∑": "summa",
"¤": "valjuta"
},
sk: {
"∆": "delta",
"∞": "nekonecno",
"♥": "laska",
"&": "a",
"|": "alebo",
"<": "menej ako",
">": "viac ako",
"∑": "sucet",
"¤": "mena"
},
sr: {},
tr: {
"∆": "delta",
"∞": "sonsuzluk",
"♥": "ask",
"&": "ve",
"|": "veya",
"<": "kucuktur",
">": "buyuktur",
"∑": "toplam",
"¤": "para birimi"
},
uk: {
"∆": "delta",
"∞": "bezkinechnist",
"♥": "lubov",
"&": "i",
"|": "abo",
"<": "menshe",
">": "bilshe",
"∑": "suma",
"¤": "valjuta"
},
vn: {
"∆": "delta",
"∞": "vo cuc",
"♥": "yeu",
"&": "va",
"|": "hoac",
"<": "nho hon",
">": "lon hon",
"∑": "tong",
"¤": "tien te"
}
}, h = [";", "?", ":", "@", "&", "=", "+", "$", ",", "/"].join(""), p = [";", "?", ":", "@", "&", "=", "+", "$", ","].join(""), A = [".", "!", "~", "*", "'", "(", ")"].join(""), d = function(f, E) {
var C = "-", y = "", k = "", ce = !0, w = {}, Be, te, $, _e, fe, Ue, G, B, Le, P, v, ne, b, U, V = "";
if (typeof f != "string")
return "";
if (typeof E == "string" && (C = E), G = a.en, B = i.en, typeof E == "object") {
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) {
w[I + ""] = I + "";
}), te = !0) : te = !!E.titleCase, E.custom && typeof E.custom.length == "number" && Array.prototype.toString.call(E.custom) && E.custom.forEach(function(I) {
w[I + ""] = I + "";
}), Object.keys(w).forEach(function(I) {
var q;
I.length > 1 ? q = new RegExp("\\b" + c(I) + "\\b", "gi") : q = new RegExp(c(I), "gi"), f = f.replace(q, w[I]);
});
for (v in w)
V += v;
}
for (V += C, V = c(V), f = f.replace(/(^\s+|\s+$)/g, ""), b = !1, U = !1, P = 0, ne = f.length; P < ne; P++)
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);
return te && (y = y.replace(/(\w)(\S*)/g, function(I, q, Me) {
var de = q.toUpperCase() + (Me !== null ? Me : "");
return Object.keys(w).indexOf(de.toLowerCase()) < 0 ? de : de.toLowerCase();
})), 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;
}, m = function(f) {
return function(C) {
return d(C, f);
};
}, c = function(f) {
return f.replace(/[-\\^$*+?.()|[\]{}\/]/g, "\\$&");
}, _ = function(g, f) {
for (var E in f)
if (f[E] === g)
return !0;
};
if (typeof t < "u" && t.exports)
t.exports = d, t.exports.createSlug = m;
else if (typeof define < "u" && define.amd)
define([], function() {
return d;
});
else
try {
if (n.getSlug || n.createSlug)
throw "speakingurl: globals exists /(getSlug|createSlug)/";
n.getSlug = d, n.createSlug = m;
} catch {
}
})(e);
}
}), eu = Wt({
"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(e, t) {
s(), t.exports = Qn();
}
});
s();
s();
s();
s();
s();
s();
s();
s();
function tu(e) {
var t;
const n = e.name || e._componentTag || e.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__ || e.__name;
return n === "index" && ((t = e.__file) != null && t.endsWith("index.vue")) ? "" : n;
}
function nu(e) {
const t = e.__file;
if (t)
return Bn(Un(t, ".vue"));
}
function ze(e, t) {
return e.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__ = t, t;
}
function ke(e) {
if (e.__VUE_DEVTOOLS_NEXT_APP_RECORD__)
return e.__VUE_DEVTOOLS_NEXT_APP_RECORD__;
if (e.root)
return e.appContext.app.__VUE_DEVTOOLS_NEXT_APP_RECORD__;
}
function Zt(e) {
var t, n;
const u = (t = e.subTree) == null ? void 0 : t.type, r = ke(e);
return r ? ((n = r?.types) == null ? void 0 : n.Fragment) === u : !1;
}
function se(e) {
var t, n, u;
const r = tu(e?.type || {});
if (r)
return r;
if (e?.root === e)
return "Root";
for (const i in (n = (t = e.parent) == null ? void 0 : t.type) == null ? void 0 : n.components)
if (e.parent.type.components[i] === e?.type)
return ze(e, i);
for (const i in (u = e.appContext) == null ? void 0 : u.components)
if (e.appContext.components[i] === e?.type)
return ze(e, i);
const o = nu(e?.type || {});
return o || "Anonymous Component";
}
function uu(e) {
var t, n, u;
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;
return `${r}:${o}`;
}
function me(e, t) {
return t = t || `${e.id}:root`, e.instanceMap.get(t) || e.instanceMap.get(":root");
}
function ru() {
const e = {
top: 0,
bottom: 0,
left: 0,
right: 0,
get width() {
return e.right - e.left;
},
get height() {
return e.bottom - e.top;
}
};
return e;
}
var ue;
function ou(e) {
return ue || (ue = document.createRange()), ue.selectNode(e), ue.getBoundingClientRect();
}
function iu(e) {
const t = ru();
if (!e.children)
return t;
for (let n = 0, u = e.children.length; n < u; n++) {
const r = e.children[n];
let o;
if (r.component)
o = F(r.component);
else if (r.el) {
const i = r.el;
i.nodeType === 1 || i.getBoundingClientRect ? o = i.getBoundingClientRect() : i.nodeType === 3 && i.data.trim() && (o = ou(i));
}
o && su(t, o);
}
return t;
}
function su(e, t) {
return (!e.top || t.top < e.top) && (e.top = t.top), (!e.bottom || t.bottom > e.bottom) && (e.bottom = t.bottom), (!e.left || t.left < e.left) && (e.left = t.left), (!e.right || t.right > e.right) && (e.right = t.right), e;
}
var je = {
top: 0,
left: 0,
right: 0,
bottom: 0,
width: 0,
height: 0
};
function F(e) {
const t = e.subTree.el;
return typeof window > "u" ? je : Zt(e) ? iu(e.subTree) : t?.nodeType === 1 ? t?.getBoundingClientRect() : e.subTree.component ? F(e.subTree.component) : je;
}
s();
function be(e) {
return Zt(e) ? au(e.subTree) : e.subTree ? [e.subTree.el] : [];
}
function au(e) {
if (!e.children)
return [];
const t = [];
return e.children.forEach((n) => {
n.component ? t.push(...be(n.component)) : n?.el && t.push(n.el);
}), t;
}
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 = {
display: "block",
zIndex: 2147483640,
position: "fixed",
backgroundColor: "#42b88325",
border: "1px solid #42b88350",
borderRadius: "5px",
transition: "all 0.1s ease-in",
pointerEvents: "none"
}, lu = {
fontFamily: "Arial, Helvetica, sans-serif",
padding: "5px 8px",
borderRadius: "4px",
textAlign: "left",
position: "absolute",
left: 0,
color: "#e9e9e9",
fontSize: "14px",
fontWeight: 600,
lineHeight: "24px",
backgroundColor: "#42b883",
boxShadow: "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"
}, cu = {
display: "inline-block",
fontWeight: 400,
fontStyle: "normal",
fontSize: "12px",
opacity: 0.7
};
function z() {
return document.getElementById(Xt);
}
function _u() {
return document.getElementById(Jt);
}
function fu() {
return document.getElementById(en);
}
function du() {
return document.getElementById(Qt);
}
function Re(e) {
return {
left: `${Math.round(e.left * 100) / 100}px`,
top: `${Math.round(e.top * 100) / 100}px`,
width: `${Math.round(e.width * 100) / 100}px`,
height: `${Math.round(e.height * 100) / 100}px`
};
}
function we(e) {
var t;
const n = document.createElement("div");
n.id = (t = e.elementId) != null ? t : Xt, Object.assign(n.style, {
...tn,
...Re(e.bounds),
...e.style
});
const u = document.createElement("span");
u.id = Jt, Object.assign(u.style, {
...lu,
top: e.bounds.top < 35 ? 0 : "-35px"
});
const r = document.createElement("span");
r.id = Qt, r.innerHTML = `<${e.name}> `;
const o = document.createElement("i");
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;
}
function Pe(e) {
const t = z(), n = _u(), u = du(), r = fu();
t && (Object.assign(t.style, {
...tn,
...Re(e.bounds)
}), Object.assign(n.style, {
top: e.bounds.top < 35 ? 0 : "-35px"
}), u.innerHTML = `<${e.name}> `, r.innerHTML = `${Math.round(e.bounds.width * 100) / 100} x ${Math.round(e.bounds.height * 100) / 100}`);
}
function Eu(e) {
const t = F(e);
if (!t.width && !t.height)
return;
const n = se(e);
z() ? Pe({ bounds: t, name: n }) : we({ bounds: t, name: n });
}
function nn() {
const e = z();
e && (e.style.display = "none");
}
var ve = null;
function Ae(e) {
const t = e.target;
if (t) {
const n = t.__vueParentComponent;
if (n && (ve = n, n.vnode.el)) {
const r = F(n), o = se(n);
z() ? Pe({ bounds: r, name: o }) : we({ bounds: r, name: o });
}
}
}
function pu(e, t) {
if (e.preventDefault(), e.stopPropagation(), ve) {
const n = uu(ve);
t(n);
}
}
var ie = null;
function hu() {
nn(), window.removeEventListener("mouseover", Ae), window.removeEventListener("click", ie, !0), ie = null;
}
function gu() {
return window.addEventListener("mouseover", Ae), new Promise((e) => {
function t(n) {
n.preventDefault(), n.stopPropagation(), pu(n, (u) => {
window.removeEventListener("click", t, !0), ie = null, window.removeEventListener("mouseover", Ae);
const r = z();
r && (r.style.display = "none"), e(JSON.stringify({ id: u }));
});
}
ie = t, window.addEventListener("click", t, !0);
});
}
function mu(e) {
const t = me(D.value, e.id);
if (t) {
const [n] = be(t);
if (typeof n.scrollIntoView == "function")
n.scrollIntoView({
behavior: "smooth"
});
else {
const u = F(t), r = document.createElement("div"), o = {
...Re(u),
position: "absolute"
};
Object.assign(r.style, o), document.body.appendChild(r), r.scrollIntoView({
behavior: "smooth"
}), setTimeout(() => {
document.body.removeChild(r);
}, 2e3);
}
setTimeout(() => {
const u = F(t);
if (u.width || u.height) {
const r = se(t), o = z();
o ? Pe({ ...e, name: r, bounds: u }) : we({ ...e, name: r, bounds: u }), setTimeout(() => {
o && (o.style.display = "none");
}, 1500);
}
}, 1200);
}
}
s();
var $e, Ge;
(Ge = ($e = l).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__) != null || ($e.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__ = !0);
function vu(e) {
let t = 0;
const n = setInterval(() => {
l.__VUE_INSPECTOR__ && (clearInterval(n), t += 30, e()), t >= /* 5s */
5e3 && clearInterval(n);
}, 30)