@luizleon/sf.prefeiturasp.vuecomponents 6.0.1 → 6.0.2
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/sf.prefeiturasp.vuecomponents.js +147 -102
- package/dist/sf.prefeiturasp.vuecomponents.js.map +1 -1
- package/dist/sf.prefeiturasp.vuecomponents.umd.cjs +1 -1
- package/dist/sf.prefeiturasp.vuecomponents.umd.cjs.map +1 -1
- package/dist/types/common/utilities.d.ts +17 -1
- package/dist/types/common/utilities.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as _e, onBeforeUnmount as Ti, createElementBlock as O, openBlock as S, unref as q, renderSlot as Q, createElementVNode as w, computed as Z, createBlock as te, resolveDynamicComponent as ct, normalizeClass as H, withCtx as He, createCommentVNode as Y, normalizeStyle as jt, Fragment as je, mergeProps as B, toDisplayString as Se, ref as z, onMounted as St, resolveComponent as In, renderList as zo, useSlots as Ko, watch as pn, Teleport as Fs, withModifiers as Ao, createVNode as ce, Transition as Wo, normalizeProps as ln, guardReactiveProps as un, readonly as
|
|
1
|
+
import { defineComponent as _e, onBeforeUnmount as Ti, createElementBlock as O, openBlock as S, unref as q, renderSlot as Q, createElementVNode as w, computed as Z, createBlock as te, resolveDynamicComponent as ct, normalizeClass as H, withCtx as He, createCommentVNode as Y, normalizeStyle as jt, Fragment as je, mergeProps as B, toDisplayString as Se, ref as z, onMounted as St, resolveComponent as In, renderList as zo, useSlots as Ko, watch as pn, Teleport as Fs, withModifiers as Ao, createVNode as ce, Transition as Wo, normalizeProps as ln, guardReactiveProps as un, readonly as Us, getCurrentInstance as Jn, nextTick as Go, useId as Vs, resolveDirective as zs, withDirectives as Eo, vShow as Pi, getCurrentScope as Ks, onScopeDispose as Ws, shallowRef as Oo, toValue as Ai, inject as Gs, onBeforeMount as Ei, createTextVNode as cn, watchEffect as qs } from "vue";
|
|
2
2
|
import { UseAuth as $o } from "@luizleon/sf.prefeiturasp.vueauth";
|
|
3
3
|
import { useRouter as Ys } from "vue-router";
|
|
4
4
|
class hn {
|
|
@@ -791,9 +791,9 @@ function xi() {
|
|
|
791
791
|
}
|
|
792
792
|
};
|
|
793
793
|
}
|
|
794
|
-
var
|
|
794
|
+
var Un = {};
|
|
795
795
|
function Ea(t = "pui_id_") {
|
|
796
|
-
return Object.hasOwn(
|
|
796
|
+
return Object.hasOwn(Un, t) || (Un[t] = 0), Un[t]++, `${t}${Un[t]}`;
|
|
797
797
|
}
|
|
798
798
|
var Oa = Object.defineProperty, $a = Object.defineProperties, La = Object.getOwnPropertyDescriptors, eo = Object.getOwnPropertySymbols, Mi = Object.prototype.hasOwnProperty, Di = Object.prototype.propertyIsEnumerable, Mr = (t, e, n) => e in t ? Oa(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, Ne = (t, e) => {
|
|
799
799
|
for (var n in e || (e = {}))
|
|
@@ -894,7 +894,7 @@ var gt = (...t) => Ha(K.getTheme(), ...t), Ha = (t = {}, e, n, o) => {
|
|
|
894
894
|
}
|
|
895
895
|
return "";
|
|
896
896
|
};
|
|
897
|
-
function
|
|
897
|
+
function Vn(t, ...e) {
|
|
898
898
|
if (t instanceof Array) {
|
|
899
899
|
const n = t.reduce((o, r, i) => {
|
|
900
900
|
var l;
|
|
@@ -977,7 +977,7 @@ var De = {
|
|
|
977
977
|
const { preset: m, options: h } = e;
|
|
978
978
|
let b, _, C, g, E, I, v;
|
|
979
979
|
if (x(m) && h.transform !== "strict") {
|
|
980
|
-
const { primitive: T, semantic: X, extend: oe } = m, Ae = X || {}, { colorScheme: se } = Ae, Ee = Qe(Ae, ["colorScheme"]), A = oe || {}, { colorScheme:
|
|
980
|
+
const { primitive: T, semantic: X, extend: oe } = m, Ae = X || {}, { colorScheme: se } = Ae, Ee = Qe(Ae, ["colorScheme"]), A = oe || {}, { colorScheme: V } = A, ae = Qe(A, ["colorScheme"]), he = se || {}, { dark: Me } = he, rt = Qe(he, ["dark"]), We = V || {}, { dark: Ge } = We, it = Qe(We, ["dark"]), Oe = x(T) ? this._toVariables({ primitive: T }, h) : {}, U = x(Ee) ? this._toVariables({ semantic: Ee }, h) : {}, Ue = x(rt) ? this._toVariables({ light: rt }, h) : {}, J = x(Me) ? this._toVariables({ dark: Me }, h) : {}, qe = x(ae) ? this._toVariables({ semantic: ae }, h) : {}, W = x(it) ? this._toVariables({ light: it }, h) : {}, st = x(Ge) ? this._toVariables({ dark: Ge }, h) : {}, [zt, xn] = [(i = Oe.declarations) != null ? i : "", Oe.tokens], [Kt, Mn] = [(l = U.declarations) != null ? l : "", U.tokens || []], [Dn, at] = [(a = Ue.declarations) != null ? a : "", Ue.tokens || []], [kt, Ye] = [(s = J.declarations) != null ? s : "", J.tokens || []], [Wt, Gt] = [(u = qe.declarations) != null ? u : "", qe.tokens || []], [lt, It] = [(d = W.declarations) != null ? d : "", W.tokens || []], [Tt, Rn] = [(f = st.declarations) != null ? f : "", st.tokens || []];
|
|
981
981
|
b = this.transformCSS(t, zt, "light", "variable", h, o, r), _ = xn;
|
|
982
982
|
const Bn = this.transformCSS(t, `${Kt}${Dn}`, "light", "variable", h, o, r), co = this.transformCSS(t, `${kt}`, "dark", "variable", h, o, r);
|
|
983
983
|
C = `${Bn}${co}`, g = [.../* @__PURE__ */ new Set([...Mn, ...at, ...Ye])];
|
|
@@ -1004,8 +1004,8 @@ var De = {
|
|
|
1004
1004
|
var a, s, u;
|
|
1005
1005
|
let d, f, m;
|
|
1006
1006
|
if (x(e) && n.transform !== "strict") {
|
|
1007
|
-
const h = t.replace("-directive", ""), b = e, { colorScheme: _, extend: C, css: g } = b, E = Qe(b, ["colorScheme", "extend", "css"]), I = C || {}, { colorScheme: v } = I, T = Qe(I, ["colorScheme"]), X = _ || {}, { dark: oe } = X, Ae = Qe(X, ["dark"]), se = v || {}, { dark: Ee } = se, A = Qe(se, ["dark"]),
|
|
1008
|
-
d = `${
|
|
1007
|
+
const h = t.replace("-directive", ""), b = e, { colorScheme: _, extend: C, css: g } = b, E = Qe(b, ["colorScheme", "extend", "css"]), I = C || {}, { colorScheme: v } = I, T = Qe(I, ["colorScheme"]), X = _ || {}, { dark: oe } = X, Ae = Qe(X, ["dark"]), se = v || {}, { dark: Ee } = se, A = Qe(se, ["dark"]), V = x(E) ? this._toVariables({ [h]: Ne(Ne({}, E), T) }, n) : {}, ae = x(Ae) ? this._toVariables({ [h]: Ne(Ne({}, Ae), A) }, n) : {}, he = x(oe) ? this._toVariables({ [h]: Ne(Ne({}, oe), Ee) }, n) : {}, [Me, rt] = [(a = V.declarations) != null ? a : "", V.tokens || []], [We, Ge] = [(s = ae.declarations) != null ? s : "", ae.tokens || []], [it, Oe] = [(u = he.declarations) != null ? u : "", he.tokens || []], U = this.transformCSS(h, `${Me}${We}`, "light", "variable", n, r, i, l), Ue = this.transformCSS(h, it, "dark", "variable", n, r, i, l);
|
|
1008
|
+
d = `${U}${Ue}`, f = [.../* @__PURE__ */ new Set([...rt, ...Ge, ...Oe])], m = de(g, { dt: gt });
|
|
1009
1009
|
}
|
|
1010
1010
|
return {
|
|
1011
1011
|
css: d,
|
|
@@ -1215,7 +1215,7 @@ var De = {
|
|
|
1215
1215
|
clearLoadedStyleNames: function() {
|
|
1216
1216
|
this._loadedStyleNames.clear();
|
|
1217
1217
|
}
|
|
1218
|
-
},
|
|
1218
|
+
}, Ua = `
|
|
1219
1219
|
*,
|
|
1220
1220
|
::before,
|
|
1221
1221
|
::after {
|
|
@@ -1361,14 +1361,14 @@ function Rr(t) {
|
|
|
1361
1361
|
for (var e = 1; e < arguments.length; e++) {
|
|
1362
1362
|
var n = arguments[e] != null ? arguments[e] : {};
|
|
1363
1363
|
e % 2 ? Dr(Object(n), !0).forEach(function(o) {
|
|
1364
|
-
|
|
1364
|
+
Va(t, o, n[o]);
|
|
1365
1365
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : Dr(Object(n)).forEach(function(o) {
|
|
1366
1366
|
Object.defineProperty(t, o, Object.getOwnPropertyDescriptor(n, o));
|
|
1367
1367
|
});
|
|
1368
1368
|
}
|
|
1369
1369
|
return t;
|
|
1370
1370
|
}
|
|
1371
|
-
function
|
|
1371
|
+
function Va(t, e, n) {
|
|
1372
1372
|
return (e = za(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
|
|
1373
1373
|
}
|
|
1374
1374
|
function za(t) {
|
|
@@ -1391,22 +1391,22 @@ function Wa(t) {
|
|
|
1391
1391
|
}
|
|
1392
1392
|
var Ga = 0;
|
|
1393
1393
|
function qa(t) {
|
|
1394
|
-
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = z(!1), o = z(t), r = z(null), i = Ca() ? window.document : void 0, l = e.document, a = l === void 0 ? i : l, s = e.immediate, u = s === void 0 ? !0 : s, d = e.manual, f = d === void 0 ? !1 : d, m = e.name, h = m === void 0 ? "style_".concat(++Ga) : m, b = e.id, _ = b === void 0 ? void 0 : b, C = e.media, g = C === void 0 ? void 0 : C, E = e.nonce, I = E === void 0 ? void 0 : E, v = e.first, T = v === void 0 ? !1 : v, X = e.onMounted, oe = X === void 0 ? void 0 : X, Ae = e.onUpdated, se = Ae === void 0 ? void 0 : Ae, Ee = e.onLoad, A = Ee === void 0 ? void 0 : Ee,
|
|
1394
|
+
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = z(!1), o = z(t), r = z(null), i = Ca() ? window.document : void 0, l = e.document, a = l === void 0 ? i : l, s = e.immediate, u = s === void 0 ? !0 : s, d = e.manual, f = d === void 0 ? !1 : d, m = e.name, h = m === void 0 ? "style_".concat(++Ga) : m, b = e.id, _ = b === void 0 ? void 0 : b, C = e.media, g = C === void 0 ? void 0 : C, E = e.nonce, I = E === void 0 ? void 0 : E, v = e.first, T = v === void 0 ? !1 : v, X = e.onMounted, oe = X === void 0 ? void 0 : X, Ae = e.onUpdated, se = Ae === void 0 ? void 0 : Ae, Ee = e.onLoad, A = Ee === void 0 ? void 0 : Ee, V = e.props, ae = V === void 0 ? {} : V, he = function() {
|
|
1395
1395
|
}, Me = function(Ge) {
|
|
1396
1396
|
var it = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1397
1397
|
if (a) {
|
|
1398
|
-
var Oe = Rr(Rr({}, ae), it),
|
|
1399
|
-
r.value = a.querySelector('style[data-primevue-style-id="'.concat(
|
|
1398
|
+
var Oe = Rr(Rr({}, ae), it), U = Oe.name || h, Ue = Oe.id || _, J = Oe.nonce || I;
|
|
1399
|
+
r.value = a.querySelector('style[data-primevue-style-id="'.concat(U, '"]')) || a.getElementById(Ue) || a.createElement("style"), r.value.isConnected || (o.value = Ge || t, Qn(r.value, {
|
|
1400
1400
|
type: "text/css",
|
|
1401
|
-
id:
|
|
1401
|
+
id: Ue,
|
|
1402
1402
|
media: g,
|
|
1403
1403
|
nonce: J
|
|
1404
|
-
}), T ? a.head.prepend(r.value) : a.head.appendChild(r.value), ka(r.value, "data-primevue-style-id",
|
|
1404
|
+
}), T ? a.head.prepend(r.value) : a.head.appendChild(r.value), ka(r.value, "data-primevue-style-id", U), Qn(r.value, Oe), r.value.onload = function(qe) {
|
|
1405
1405
|
return A?.(qe, {
|
|
1406
|
-
name:
|
|
1406
|
+
name: U
|
|
1407
1407
|
});
|
|
1408
|
-
}, oe?.(
|
|
1409
|
-
r.value.textContent = qe, se?.(
|
|
1408
|
+
}, oe?.(U)), !n.value && (he = pn(o, function(qe) {
|
|
1409
|
+
r.value.textContent = qe, se?.(U);
|
|
1410
1410
|
}, {
|
|
1411
1411
|
immediate: !0
|
|
1412
1412
|
}), n.value = !0);
|
|
@@ -1421,7 +1421,7 @@ function qa(t) {
|
|
|
1421
1421
|
css: o,
|
|
1422
1422
|
unload: rt,
|
|
1423
1423
|
load: Me,
|
|
1424
|
-
isLoaded:
|
|
1424
|
+
isLoaded: Us(n)
|
|
1425
1425
|
};
|
|
1426
1426
|
}
|
|
1427
1427
|
function vn(t) {
|
|
@@ -1442,12 +1442,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1442
1442
|
}
|
|
1443
1443
|
function Xa(t, e) {
|
|
1444
1444
|
if (t) {
|
|
1445
|
-
if (typeof t == "string") return
|
|
1445
|
+
if (typeof t == "string") return Ur(t, e);
|
|
1446
1446
|
var n = {}.toString.call(t).slice(8, -1);
|
|
1447
|
-
return n === "Object" && t.constructor && (n = t.constructor.name), n === "Map" || n === "Set" ? Array.from(t) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ?
|
|
1447
|
+
return n === "Object" && t.constructor && (n = t.constructor.name), n === "Map" || n === "Set" ? Array.from(t) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Ur(t, e) : void 0;
|
|
1448
1448
|
}
|
|
1449
1449
|
}
|
|
1450
|
-
function
|
|
1450
|
+
function Ur(t, e) {
|
|
1451
1451
|
(e == null || e > t.length) && (e = t.length);
|
|
1452
1452
|
for (var n = 0, o = Array(e); n < e; n++) o[n] = t[n];
|
|
1453
1453
|
return o;
|
|
@@ -1473,7 +1473,7 @@ function Za(t, e) {
|
|
|
1473
1473
|
function Ja(t) {
|
|
1474
1474
|
if (Array.isArray(t)) return t;
|
|
1475
1475
|
}
|
|
1476
|
-
function
|
|
1476
|
+
function Vr(t, e) {
|
|
1477
1477
|
var n = Object.keys(t);
|
|
1478
1478
|
if (Object.getOwnPropertySymbols) {
|
|
1479
1479
|
var o = Object.getOwnPropertySymbols(t);
|
|
@@ -1486,9 +1486,9 @@ function Ur(t, e) {
|
|
|
1486
1486
|
function _o(t) {
|
|
1487
1487
|
for (var e = 1; e < arguments.length; e++) {
|
|
1488
1488
|
var n = arguments[e] != null ? arguments[e] : {};
|
|
1489
|
-
e % 2 ?
|
|
1489
|
+
e % 2 ? Vr(Object(n), !0).forEach(function(o) {
|
|
1490
1490
|
Qa(t, o, n[o]);
|
|
1491
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) :
|
|
1491
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : Vr(Object(n)).forEach(function(o) {
|
|
1492
1492
|
Object.defineProperty(t, o, Object.getOwnPropertyDescriptor(n, o));
|
|
1493
1493
|
});
|
|
1494
1494
|
}
|
|
@@ -1539,13 +1539,13 @@ var nl = function(e) {
|
|
|
1539
1539
|
}, ol = {}, rl = {}, re = {
|
|
1540
1540
|
name: "base",
|
|
1541
1541
|
css: nl,
|
|
1542
|
-
style:
|
|
1542
|
+
style: Ua,
|
|
1543
1543
|
classes: ol,
|
|
1544
1544
|
inlineStyles: rl,
|
|
1545
1545
|
load: function(e) {
|
|
1546
1546
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : function(i) {
|
|
1547
1547
|
return i;
|
|
1548
|
-
}, r = o(
|
|
1548
|
+
}, r = o(Vn(Br || (Br = zn(["", ""])), e));
|
|
1549
1549
|
return x(r) ? qa(dn(r), _o({
|
|
1550
1550
|
name: this.name
|
|
1551
1551
|
}, n)) : {};
|
|
@@ -1558,7 +1558,7 @@ var nl = function(e) {
|
|
|
1558
1558
|
var e = this, n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
|
|
1559
1559
|
return this.load(this.style, n, function() {
|
|
1560
1560
|
var r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
|
|
1561
|
-
return K.transformCSS(n.name || e.name, "".concat(r).concat(
|
|
1561
|
+
return K.transformCSS(n.name || e.name, "".concat(r).concat(Vn(Nr || (Nr = zn(["", ""])), o)));
|
|
1562
1562
|
});
|
|
1563
1563
|
},
|
|
1564
1564
|
getCommonTheme: function(e) {
|
|
@@ -1581,7 +1581,7 @@ var nl = function(e) {
|
|
|
1581
1581
|
if (this.css) {
|
|
1582
1582
|
var o = de(this.css, {
|
|
1583
1583
|
dt: gt
|
|
1584
|
-
}) || "", r = dn(
|
|
1584
|
+
}) || "", r = dn(Vn(jr || (jr = zn(["", "", ""])), o, e)), i = Object.entries(n).reduce(function(l, a) {
|
|
1585
1585
|
var s = Fr(a, 2), u = s[0], d = s[1];
|
|
1586
1586
|
return l.push("".concat(u, '="').concat(d, '"')) && l;
|
|
1587
1587
|
}, []).join(" ");
|
|
@@ -1596,7 +1596,7 @@ var nl = function(e) {
|
|
|
1596
1596
|
getThemeStyleSheet: function(e) {
|
|
1597
1597
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o = [K.getStyleSheet(this.name, e, n)];
|
|
1598
1598
|
if (this.style) {
|
|
1599
|
-
var r = this.name === "base" ? "global-style" : "".concat(this.name, "-style"), i =
|
|
1599
|
+
var r = this.name === "base" ? "global-style" : "".concat(this.name, "-style"), i = Vn(Hr || (Hr = zn(["", ""])), de(this.style, {
|
|
1600
1600
|
dt: gt
|
|
1601
1601
|
})), l = dn(K.transformCSS(r, i)), a = Object.entries(n).reduce(function(s, u) {
|
|
1602
1602
|
var d = Fr(u, 2), f = d[0], m = d[1];
|
|
@@ -1614,7 +1614,7 @@ var nl = function(e) {
|
|
|
1614
1614
|
}
|
|
1615
1615
|
};
|
|
1616
1616
|
function il() {
|
|
1617
|
-
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "pc", e =
|
|
1617
|
+
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "pc", e = Vs();
|
|
1618
1618
|
return "".concat(t).concat(e.replace("v-", "").replaceAll("-", "_"));
|
|
1619
1619
|
}
|
|
1620
1620
|
var zr = re.extend({
|
|
@@ -2136,7 +2136,7 @@ function hl(t, e) {
|
|
|
2136
2136
|
}
|
|
2137
2137
|
return (e === "string" ? String : Number)(t);
|
|
2138
2138
|
}
|
|
2139
|
-
var
|
|
2139
|
+
var Ui = {
|
|
2140
2140
|
name: "BaseIcon",
|
|
2141
2141
|
extends: oo,
|
|
2142
2142
|
props: {
|
|
@@ -2172,7 +2172,7 @@ var Vi = {
|
|
|
2172
2172
|
}
|
|
2173
2173
|
}, Zo = {
|
|
2174
2174
|
name: "ChevronDownIcon",
|
|
2175
|
-
extends:
|
|
2175
|
+
extends: Ui
|
|
2176
2176
|
};
|
|
2177
2177
|
function gl(t, e, n, o, r, i) {
|
|
2178
2178
|
return S(), O("svg", B({
|
|
@@ -2189,7 +2189,7 @@ function gl(t, e, n, o, r, i) {
|
|
|
2189
2189
|
Zo.render = gl;
|
|
2190
2190
|
var Jo = {
|
|
2191
2191
|
name: "ChevronRightIcon",
|
|
2192
|
-
extends:
|
|
2192
|
+
extends: Ui
|
|
2193
2193
|
};
|
|
2194
2194
|
function vl(t, e, n, o, r, i) {
|
|
2195
2195
|
return S(), O("svg", B({
|
|
@@ -2897,7 +2897,7 @@ var Nl = Ol.extend("ripple", {
|
|
|
2897
2897
|
$parentInstance: this
|
|
2898
2898
|
};
|
|
2899
2899
|
}
|
|
2900
|
-
},
|
|
2900
|
+
}, Vi = {
|
|
2901
2901
|
name: "PanelMenuSub",
|
|
2902
2902
|
hostName: "PanelMenu",
|
|
2903
2903
|
extends: oo,
|
|
@@ -3028,7 +3028,7 @@ var Nl = Ol.extend("ripple", {
|
|
|
3028
3028
|
directives: {
|
|
3029
3029
|
ripple: Nl
|
|
3030
3030
|
}
|
|
3031
|
-
}, Hl = ["tabindex"], Fl = ["id", "aria-label", "aria-expanded", "aria-level", "aria-setsize", "aria-posinset", "data-p-focused", "data-p-disabled"],
|
|
3031
|
+
}, Hl = ["tabindex"], Fl = ["id", "aria-label", "aria-expanded", "aria-level", "aria-setsize", "aria-posinset", "data-p-focused", "data-p-disabled"], Ul = ["onClick", "onMousemove"], Vl = ["href", "target"];
|
|
3032
3032
|
function zl(t, e, n, o, r, i) {
|
|
3033
3033
|
var l = In("PanelMenuSub", !0), a = zs("ripple");
|
|
3034
3034
|
return S(), O("ul", {
|
|
@@ -3107,7 +3107,7 @@ function zl(t, e, n, o, r, i) {
|
|
|
3107
3107
|
class: t.cx("itemLabel")
|
|
3108
3108
|
}, {
|
|
3109
3109
|
ref_for: !0
|
|
3110
|
-
}, i.getPTOptions("itemLabel", s, u)), Se(i.getItemLabel(s)), 17)], 16,
|
|
3110
|
+
}, i.getPTOptions("itemLabel", s, u)), Se(i.getItemLabel(s)), 17)], 16, Vl)), [[a]])], 16, Ul), ce(Wo, B({
|
|
3111
3111
|
name: "p-toggleable-content"
|
|
3112
3112
|
}, {
|
|
3113
3113
|
ref_for: !0
|
|
@@ -3148,7 +3148,7 @@ function zl(t, e, n, o, r, i) {
|
|
|
3148
3148
|
}, t.ptm("separator")), null, 16)) : Y("", !0)], 64);
|
|
3149
3149
|
}), 128))], 10, Hl);
|
|
3150
3150
|
}
|
|
3151
|
-
|
|
3151
|
+
Vi.render = zl;
|
|
3152
3152
|
function Kl(t, e) {
|
|
3153
3153
|
return Yl(t) || ql(t, e) || Gl(t, e) || Wl();
|
|
3154
3154
|
}
|
|
@@ -3512,7 +3512,7 @@ var zi = {
|
|
|
3512
3512
|
}
|
|
3513
3513
|
},
|
|
3514
3514
|
components: {
|
|
3515
|
-
PanelMenuSub:
|
|
3515
|
+
PanelMenuSub: Vi
|
|
3516
3516
|
}
|
|
3517
3517
|
};
|
|
3518
3518
|
function Xl(t, e, n, o, r, i) {
|
|
@@ -4373,14 +4373,14 @@ const Jt = new Lu(), Yi = "SweetAlert2:", xu = (t) => {
|
|
|
4373
4373
|
Nu.includes(t) && ke(`The parameter "${t}" is incompatible with toasts`);
|
|
4374
4374
|
}, Fu = (t) => {
|
|
4375
4375
|
Bo(t) && Du(t, Bo(t));
|
|
4376
|
-
},
|
|
4376
|
+
}, Uu = (t) => {
|
|
4377
4377
|
!t.backdrop && t.allowOutsideClick && ke('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`');
|
|
4378
4378
|
for (const e in t)
|
|
4379
4379
|
ju(e), t.toast && Hu(e), Fu(e);
|
|
4380
|
-
},
|
|
4380
|
+
}, Vu = "swal2-", Ji = (t) => {
|
|
4381
4381
|
const e = {};
|
|
4382
4382
|
for (const n in t)
|
|
4383
|
-
e[t[n]] =
|
|
4383
|
+
e[t[n]] = Vu + t[n];
|
|
4384
4384
|
return e;
|
|
4385
4385
|
}, p = Ji([
|
|
4386
4386
|
"container",
|
|
@@ -4878,7 +4878,7 @@ const Sc = (t, e) => {
|
|
|
4878
4878
|
t.className = `${p.popup} ${Te(t) ? e.showClass.popup : ""}`, e.toast ? (N([document.documentElement, document.body], p["toast-shown"]), N(t, p.toast)) : N(t, p.modal), $e(t, e, "popup"), typeof e.customClass == "string" && N(t, e.customClass), e.icon && N(t, p[`icon-${e.icon}`]);
|
|
4879
4879
|
}, ls = (t, e) => {
|
|
4880
4880
|
Dc(t, e), hc(t, e), xc(t, e), Ic(t, e), Oc(t, e), Mc(t, e), kc(t, e), Sc(t, e), uc(t, e), Cc(t, e), typeof e.didRender == "function" && e.didRender(F());
|
|
4881
|
-
},
|
|
4881
|
+
}, Ut = Object.freeze({
|
|
4882
4882
|
cancel: "cancel",
|
|
4883
4883
|
backdrop: "backdrop",
|
|
4884
4884
|
close: "close",
|
|
@@ -4901,8 +4901,8 @@ const Sc = (t, e) => {
|
|
|
4901
4901
|
jc(n),
|
|
4902
4902
|
Hc(n),
|
|
4903
4903
|
Fc(n),
|
|
4904
|
-
Vc(n),
|
|
4905
4904
|
Uc(n),
|
|
4905
|
+
Vc(n),
|
|
4906
4906
|
zc(n, cs)
|
|
4907
4907
|
);
|
|
4908
4908
|
}, jc = (t) => {
|
|
@@ -4922,10 +4922,10 @@ const Sc = (t, e) => {
|
|
|
4922
4922
|
}, Fc = (t) => {
|
|
4923
4923
|
const e = {}, n = t.querySelector("swal-image");
|
|
4924
4924
|
return n && (_t(n, ["src", "width", "height", "alt"]), n.hasAttribute("src") && (e.imageUrl = n.getAttribute("src")), n.hasAttribute("width") && (e.imageWidth = n.getAttribute("width")), n.hasAttribute("height") && (e.imageHeight = n.getAttribute("height")), n.hasAttribute("alt") && (e.imageAlt = n.getAttribute("alt"))), e;
|
|
4925
|
-
},
|
|
4925
|
+
}, Uc = (t) => {
|
|
4926
4926
|
const e = {}, n = t.querySelector("swal-icon");
|
|
4927
4927
|
return n && (_t(n, ["type", "color"]), n.hasAttribute("type") && (e.icon = n.getAttribute("type")), n.hasAttribute("color") && (e.iconColor = n.getAttribute("color")), e.iconHtml = n.innerHTML), e;
|
|
4928
|
-
},
|
|
4928
|
+
}, Vc = (t) => {
|
|
4929
4929
|
const e = {}, n = t.querySelector("swal-input");
|
|
4930
4930
|
n && (_t(n, ["type", "label", "placeholder", "value"]), e.input = n.getAttribute("type") || "text", n.hasAttribute("label") && (e.inputLabel = n.getAttribute("label")), n.hasAttribute("placeholder") && (e.inputPlaceholder = n.getAttribute("placeholder")), n.hasAttribute("value") && (e.inputValue = n.getAttribute("value")));
|
|
4931
4931
|
const o = t.querySelectorAll("swal-input-option");
|
|
@@ -5192,7 +5192,7 @@ const kn = {
|
|
|
5192
5192
|
}
|
|
5193
5193
|
i instanceof HTMLButtonElement && i.focus();
|
|
5194
5194
|
}, Ed = (t, e, n) => {
|
|
5195
|
-
io(e.allowEscapeKey) && (t.preventDefault(), n(
|
|
5195
|
+
io(e.allowEscapeKey) && (t.preventDefault(), n(Ut.esc));
|
|
5196
5196
|
};
|
|
5197
5197
|
function gs(t, e, n, o) {
|
|
5198
5198
|
lo() ? ci(t, o) : (Ju(n).then(() => ci(t, o)), ps($)), /^((?!chrome|android).)*safari/i.test(navigator.userAgent) ? (e.setAttribute("style", "display:none !important"), e.removeAttribute("class"), e.innerHTML = "") : e.remove(), rr() && (Zc(), rd(), us()), Od();
|
|
@@ -5291,13 +5291,13 @@ function Fd(t) {
|
|
|
5291
5291
|
const o = this.getInput();
|
|
5292
5292
|
o && (o.setAttribute("aria-invalid", !0), o.setAttribute("aria-describedby", p["validation-message"]), os(o), N(o, p.inputerror));
|
|
5293
5293
|
}
|
|
5294
|
-
function
|
|
5294
|
+
function Ud() {
|
|
5295
5295
|
const t = M.domCache.get(this);
|
|
5296
5296
|
t.validationMessage && pe(t.validationMessage);
|
|
5297
5297
|
const e = this.getInput();
|
|
5298
5298
|
e && (e.removeAttribute("aria-invalid"), e.removeAttribute("aria-describedby"), Ke(e, p.inputerror));
|
|
5299
5299
|
}
|
|
5300
|
-
function
|
|
5300
|
+
function Vd() {
|
|
5301
5301
|
return M.domCache.get(this).progressSteps;
|
|
5302
5302
|
}
|
|
5303
5303
|
function zd(t) {
|
|
@@ -5353,12 +5353,12 @@ const Gd = (t) => {
|
|
|
5353
5353
|
enableButtons: Bd,
|
|
5354
5354
|
enableInput: jd,
|
|
5355
5355
|
getInput: bd,
|
|
5356
|
-
getProgressSteps:
|
|
5356
|
+
getProgressSteps: Vd,
|
|
5357
5357
|
handleAwaitingPromise: Ln,
|
|
5358
5358
|
hideLoading: ui,
|
|
5359
5359
|
isAwaitingPromise: $d,
|
|
5360
5360
|
rejectPromise: xd,
|
|
5361
|
-
resetValidationMessage:
|
|
5361
|
+
resetValidationMessage: Ud,
|
|
5362
5362
|
showValidationMessage: Fd,
|
|
5363
5363
|
update: zd
|
|
5364
5364
|
}, Symbol.toStringTag, { value: "Module" })), qd = (t) => {
|
|
@@ -5368,7 +5368,7 @@ const Gd = (t) => {
|
|
|
5368
5368
|
const e = M.innerParams.get(t);
|
|
5369
5369
|
t.disableButtons(), e.returnInputValueOnDeny ? ws(t, "deny") : ur(t, !1);
|
|
5370
5370
|
}, Xd = (t, e) => {
|
|
5371
|
-
t.disableButtons(), e(
|
|
5371
|
+
t.disableButtons(), e(Ut.cancel);
|
|
5372
5372
|
}, ws = (t, e) => {
|
|
5373
5373
|
const n = M.innerParams.get(t);
|
|
5374
5374
|
if (!n.input)
|
|
@@ -5407,7 +5407,7 @@ const Gd = (t) => {
|
|
|
5407
5407
|
}, Qd = (t, e, n) => {
|
|
5408
5408
|
e.popup.onclick = () => {
|
|
5409
5409
|
const o = M.innerParams.get(t);
|
|
5410
|
-
o && (ef(o) || o.timer || o.input) || n(
|
|
5410
|
+
o && (ef(o) || o.timer || o.input) || n(Ut.close);
|
|
5411
5411
|
};
|
|
5412
5412
|
}, ef = (t) => t.showConfirmButton || t.showDenyButton || t.showCancelButton || t.showCloseButton;
|
|
5413
5413
|
let no = !1;
|
|
@@ -5430,7 +5430,7 @@ const tf = (t) => {
|
|
|
5430
5430
|
no = !1;
|
|
5431
5431
|
return;
|
|
5432
5432
|
}
|
|
5433
|
-
o.target === e.container && io(r.allowOutsideClick) && n(
|
|
5433
|
+
o.target === e.container && io(r.allowOutsideClick) && n(Ut.backdrop);
|
|
5434
5434
|
};
|
|
5435
5435
|
}, rf = (t) => typeof t == "object" && t.jquery, fi = (t) => t instanceof Element || rf(t), sf = (t) => {
|
|
5436
5436
|
const e = {};
|
|
@@ -5523,7 +5523,7 @@ const pf = (t) => {
|
|
|
5523
5523
|
toggleTimer: cf
|
|
5524
5524
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5525
5525
|
let Fo;
|
|
5526
|
-
class
|
|
5526
|
+
class Vt {
|
|
5527
5527
|
constructor(...e) {
|
|
5528
5528
|
if (typeof window > "u")
|
|
5529
5529
|
return;
|
|
@@ -5541,7 +5541,7 @@ class Ut {
|
|
|
5541
5541
|
M.promise.set(this, o);
|
|
5542
5542
|
}
|
|
5543
5543
|
_main(e, n = {}) {
|
|
5544
|
-
|
|
5544
|
+
Uu(Object.assign({}, n, e)), $.currentInstance && ($.currentInstance._destroy(), rr() && us()), $.currentInstance = this;
|
|
5545
5545
|
const o = vf(e, n);
|
|
5546
5546
|
qc(o), Object.freeze(o), $.timeout && ($.timeout.stop(), delete $.timeout), clearTimeout($.restoreFocusTimeout);
|
|
5547
5547
|
const r = yf(this);
|
|
@@ -5559,7 +5559,7 @@ const gf = (t, e, n) => new Promise((o, r) => {
|
|
|
5559
5559
|
const i = (l) => {
|
|
5560
5560
|
t.closePopup({ isDismissed: !0, dismiss: l });
|
|
5561
5561
|
};
|
|
5562
|
-
kn.swalPromiseResolve.set(t, o), kn.swalPromiseReject.set(t, r), e.confirmButton.onclick = () => qd(t), e.denyButton.onclick = () => Yd(t), e.cancelButton.onclick = () => Xd(t, i), e.closeButton.onclick = () => i(
|
|
5562
|
+
kn.swalPromiseResolve.set(t, o), kn.swalPromiseReject.set(t, r), e.confirmButton.onclick = () => qd(t), e.denyButton.onclick = () => Yd(t), e.cancelButton.onclick = () => Xd(t, i), e.closeButton.onclick = () => i(Ut.close), Jd(t, e, i), Cd(t, $, n, i), cd(t, n), id(n), bf($, n, i), _f(e, n), setTimeout(() => {
|
|
5563
5563
|
e.container.scrollTop = 0;
|
|
5564
5564
|
});
|
|
5565
5565
|
}), vf = (t, e) => {
|
|
@@ -5595,17 +5595,17 @@ const gf = (t, e, n) => new Promise((o, r) => {
|
|
|
5595
5595
|
}, wf = (t, e) => e.focusDeny && Te(t.denyButton) ? (t.denyButton.focus(), !0) : e.focusCancel && Te(t.cancelButton) ? (t.cancelButton.focus(), !0) : e.focusConfirm && Te(t.confirmButton) ? (t.confirmButton.focus(), !0) : !1, Sf = () => {
|
|
5596
5596
|
document.activeElement instanceof HTMLElement && typeof document.activeElement.blur == "function" && document.activeElement.blur();
|
|
5597
5597
|
};
|
|
5598
|
-
Object.assign(
|
|
5599
|
-
Object.assign(
|
|
5598
|
+
Object.assign(Vt.prototype, _s);
|
|
5599
|
+
Object.assign(Vt, hf);
|
|
5600
5600
|
Object.keys(_s).forEach((t) => {
|
|
5601
|
-
|
|
5601
|
+
Vt[t] = function(...e) {
|
|
5602
5602
|
if (Fo)
|
|
5603
5603
|
return Fo[t](...e);
|
|
5604
5604
|
};
|
|
5605
5605
|
});
|
|
5606
|
-
|
|
5607
|
-
|
|
5608
|
-
const wt =
|
|
5606
|
+
Vt.DismissReason = Ut;
|
|
5607
|
+
Vt.version = "11.4.8";
|
|
5608
|
+
const wt = Vt;
|
|
5609
5609
|
wt.default = wt;
|
|
5610
5610
|
/*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */
|
|
5611
5611
|
const {
|
|
@@ -5620,8 +5620,8 @@ let {
|
|
|
5620
5620
|
seal: Le,
|
|
5621
5621
|
create: Ts
|
|
5622
5622
|
} = Object, {
|
|
5623
|
-
apply:
|
|
5624
|
-
construct:
|
|
5623
|
+
apply: Uo,
|
|
5624
|
+
construct: Vo
|
|
5625
5625
|
} = typeof Reflect < "u" && Reflect;
|
|
5626
5626
|
ye || (ye = function(e) {
|
|
5627
5627
|
return e;
|
|
@@ -5629,10 +5629,10 @@ ye || (ye = function(e) {
|
|
|
5629
5629
|
Le || (Le = function(e) {
|
|
5630
5630
|
return e;
|
|
5631
5631
|
});
|
|
5632
|
-
|
|
5632
|
+
Uo || (Uo = function(e, n, o) {
|
|
5633
5633
|
return e.apply(n, o);
|
|
5634
5634
|
});
|
|
5635
|
-
|
|
5635
|
+
Vo || (Vo = function(e, n) {
|
|
5636
5636
|
return new e(...n);
|
|
5637
5637
|
});
|
|
5638
5638
|
const Gn = be(Array.prototype.forEach), Tf = be(Array.prototype.lastIndexOf), hi = be(Array.prototype.pop), Qt = be(Array.prototype.push), Pf = be(Array.prototype.splice), Yn = be(String.prototype.toLowerCase), Co = be(String.prototype.toString), gi = be(String.prototype.match), en = be(String.prototype.replace), Af = be(String.prototype.indexOf), Ef = be(String.prototype.trim), Re = be(Object.prototype.hasOwnProperty), ge = be(RegExp.prototype.test), tn = Of(TypeError);
|
|
@@ -5641,14 +5641,14 @@ function be(t) {
|
|
|
5641
5641
|
e instanceof RegExp && (e.lastIndex = 0);
|
|
5642
5642
|
for (var n = arguments.length, o = new Array(n > 1 ? n - 1 : 0), r = 1; r < n; r++)
|
|
5643
5643
|
o[r - 1] = arguments[r];
|
|
5644
|
-
return
|
|
5644
|
+
return Uo(t, e, o);
|
|
5645
5645
|
};
|
|
5646
5646
|
}
|
|
5647
5647
|
function Of(t) {
|
|
5648
5648
|
return function() {
|
|
5649
5649
|
for (var e = arguments.length, n = new Array(e), o = 0; o < e; o++)
|
|
5650
5650
|
n[o] = arguments[o];
|
|
5651
|
-
return
|
|
5651
|
+
return Vo(t, n);
|
|
5652
5652
|
};
|
|
5653
5653
|
}
|
|
5654
5654
|
function D(t, e) {
|
|
@@ -5719,9 +5719,9 @@ const on = {
|
|
|
5719
5719
|
progressingInstruction: 7,
|
|
5720
5720
|
comment: 8,
|
|
5721
5721
|
document: 9
|
|
5722
|
-
},
|
|
5722
|
+
}, Uf = function() {
|
|
5723
5723
|
return typeof window > "u" ? null : window;
|
|
5724
|
-
},
|
|
5724
|
+
}, Vf = function(e, n) {
|
|
5725
5725
|
if (typeof e != "object" || typeof e.createPolicy != "function")
|
|
5726
5726
|
return null;
|
|
5727
5727
|
let o = null;
|
|
@@ -5754,7 +5754,7 @@ const on = {
|
|
|
5754
5754
|
};
|
|
5755
5755
|
};
|
|
5756
5756
|
function Es() {
|
|
5757
|
-
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] :
|
|
5757
|
+
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Uf();
|
|
5758
5758
|
const e = (P) => Es(P);
|
|
5759
5759
|
if (e.version = "3.2.6", e.removed = [], !t || !t.document || t.document.nodeType !== on.document || !t.Element)
|
|
5760
5760
|
return e.isSupported = !1, e;
|
|
@@ -5788,7 +5788,7 @@ function Es() {
|
|
|
5788
5788
|
let A = Si();
|
|
5789
5789
|
e.isSupported = typeof Is == "function" && typeof I == "function" && X && X.createHTMLDocument !== void 0;
|
|
5790
5790
|
const {
|
|
5791
|
-
MUSTACHE_EXPR:
|
|
5791
|
+
MUSTACHE_EXPR: V,
|
|
5792
5792
|
ERB_EXPR: ae,
|
|
5793
5793
|
TMPLIT_EXPR: he,
|
|
5794
5794
|
DATA_ATTR: Me,
|
|
@@ -5799,8 +5799,8 @@ function Es() {
|
|
|
5799
5799
|
} = wi;
|
|
5800
5800
|
let {
|
|
5801
5801
|
IS_ALLOWED_URI: Oe
|
|
5802
|
-
} = wi,
|
|
5803
|
-
const
|
|
5802
|
+
} = wi, U = null;
|
|
5803
|
+
const Ue = D({}, [...vi, ...ko, ...Io, ...To, ...yi]);
|
|
5804
5804
|
let J = null;
|
|
5805
5805
|
const qe = D({}, [...bi, ...Po, ..._i, ...qn]);
|
|
5806
5806
|
let W = Object.seal(Ts(null, {
|
|
@@ -5843,14 +5843,14 @@ function Es() {
|
|
|
5843
5843
|
let c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
5844
5844
|
if (!(Ot && Ot === c)) {
|
|
5845
5845
|
if ((!c || typeof c != "object") && (c = {}), c = et(c), Yt = // eslint-disable-next-line unicorn/prefer-includes
|
|
5846
|
-
Rs.indexOf(c.PARSER_MEDIA_TYPE) === -1 ? Bs : c.PARSER_MEDIA_TYPE, ne = Yt === "application/xhtml+xml" ? Co : Yn,
|
|
5846
|
+
Rs.indexOf(c.PARSER_MEDIA_TYPE) === -1 ? Bs : c.PARSER_MEDIA_TYPE, ne = Yt === "application/xhtml+xml" ? Co : Yn, U = Re(c, "ALLOWED_TAGS") ? D({}, c.ALLOWED_TAGS, ne) : Ue, J = Re(c, "ALLOWED_ATTR") ? D({}, c.ALLOWED_ATTR, ne) : qe, po = Re(c, "ALLOWED_NAMESPACES") ? D({}, c.ALLOWED_NAMESPACES, Co) : Ms, fo = Re(c, "ADD_URI_SAFE_ATTR") ? D(et(gr), c.ADD_URI_SAFE_ATTR, ne) : gr, pr = Re(c, "ADD_DATA_URI_TAGS") ? D(et(hr), c.ADD_DATA_URI_TAGS, ne) : hr, At = Re(c, "FORBID_CONTENTS") ? D({}, c.FORBID_CONTENTS, ne) : mr, st = Re(c, "FORBID_TAGS") ? D({}, c.FORBID_TAGS, ne) : et({}), zt = Re(c, "FORBID_ATTR") ? D({}, c.FORBID_ATTR, ne) : et({}), Pt = Re(c, "USE_PROFILES") ? c.USE_PROFILES : !1, xn = c.ALLOW_ARIA_ATTR !== !1, Kt = c.ALLOW_DATA_ATTR !== !1, Mn = c.ALLOW_UNKNOWN_PROTOCOLS || !1, Dn = c.ALLOW_SELF_CLOSE_IN_ATTR !== !1, at = c.SAFE_FOR_TEMPLATES || !1, kt = c.SAFE_FOR_XML !== !1, Ye = c.WHOLE_DOCUMENT || !1, lt = c.RETURN_DOM || !1, It = c.RETURN_DOM_FRAGMENT || !1, Tt = c.RETURN_TRUSTED_TYPE || !1, Gt = c.FORCE_BODY || !1, Rn = c.SANITIZE_DOM !== !1, Bn = c.SANITIZE_NAMED_PROPS || !1, qt = c.KEEP_CONTENT !== !1, mt = c.IN_PLACE || !1, Oe = c.ALLOWED_URI_REGEXP || Ps, Et = c.NAMESPACE || Xe, Hn = c.MATHML_TEXT_INTEGRATION_POINTS || Hn, Fn = c.HTML_INTEGRATION_POINTS || Fn, W = c.CUSTOM_ELEMENT_HANDLING || {}, c.CUSTOM_ELEMENT_HANDLING && vr(c.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (W.tagNameCheck = c.CUSTOM_ELEMENT_HANDLING.tagNameCheck), c.CUSTOM_ELEMENT_HANDLING && vr(c.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (W.attributeNameCheck = c.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), c.CUSTOM_ELEMENT_HANDLING && typeof c.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (W.allowCustomizedBuiltInElements = c.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), at && (Kt = !1), It && (lt = !0), Pt && (U = D({}, yi), J = [], Pt.html === !0 && (D(U, vi), D(J, bi)), Pt.svg === !0 && (D(U, ko), D(J, Po), D(J, qn)), Pt.svgFilters === !0 && (D(U, Io), D(J, Po), D(J, qn)), Pt.mathMl === !0 && (D(U, To), D(J, _i), D(J, qn))), c.ADD_TAGS && (U === Ue && (U = et(U)), D(U, c.ADD_TAGS, ne)), c.ADD_ATTR && (J === qe && (J = et(J)), D(J, c.ADD_ATTR, ne)), c.ADD_URI_SAFE_ATTR && D(fo, c.ADD_URI_SAFE_ATTR, ne), c.FORBID_CONTENTS && (At === mr && (At = et(At)), D(At, c.FORBID_CONTENTS, ne)), qt && (U["#text"] = !0), Ye && D(U, ["html", "head", "body"]), U.table && (D(U, ["tbody"]), delete st.tbody), c.TRUSTED_TYPES_POLICY) {
|
|
5847
5847
|
if (typeof c.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
5848
5848
|
throw tn('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
5849
5849
|
if (typeof c.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
5850
5850
|
throw tn('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
5851
5851
|
v = c.TRUSTED_TYPES_POLICY, T = v.createHTML("");
|
|
5852
5852
|
} else
|
|
5853
|
-
v === void 0 && (v =
|
|
5853
|
+
v === void 0 && (v = Vf(h, r)), v !== null && typeof T == "string" && (T = v.createHTML(""));
|
|
5854
5854
|
ye && ye(c), Ot = c;
|
|
5855
5855
|
}
|
|
5856
5856
|
}, yr = D({}, [...ko, ...Io, ...Lf]), br = D({}, [...To, ...xf]), js = function(c) {
|
|
@@ -5861,7 +5861,7 @@ function Es() {
|
|
|
5861
5861
|
});
|
|
5862
5862
|
const k = Yn(c.tagName), G = Yn(y.tagName);
|
|
5863
5863
|
return po[c.namespaceURI] ? c.namespaceURI === jn ? y.namespaceURI === Xe ? k === "svg" : y.namespaceURI === Nn ? k === "svg" && (G === "annotation-xml" || Hn[G]) : !!yr[k] : c.namespaceURI === Nn ? y.namespaceURI === Xe ? k === "math" : y.namespaceURI === jn ? k === "math" && Fn[G] : !!br[k] : c.namespaceURI === Xe ? y.namespaceURI === jn && !Fn[G] || y.namespaceURI === Nn && !Hn[G] ? !1 : !br[k] && (Ds[k] || !yr[k]) : !!(Yt === "application/xhtml+xml" && po[c.namespaceURI]) : !1;
|
|
5864
|
-
},
|
|
5864
|
+
}, Ve = function(c) {
|
|
5865
5865
|
Qt(e.removed, {
|
|
5866
5866
|
element: c
|
|
5867
5867
|
});
|
|
@@ -5885,7 +5885,7 @@ function Es() {
|
|
|
5885
5885
|
if (y.removeAttribute(c), c === "is")
|
|
5886
5886
|
if (lt || It)
|
|
5887
5887
|
try {
|
|
5888
|
-
|
|
5888
|
+
Ve(y);
|
|
5889
5889
|
} catch {
|
|
5890
5890
|
}
|
|
5891
5891
|
else
|
|
@@ -5938,14 +5938,14 @@ function Es() {
|
|
|
5938
5938
|
const Cr = function(c) {
|
|
5939
5939
|
let y = null;
|
|
5940
5940
|
if (Ze(A.beforeSanitizeElements, c, null), go(c))
|
|
5941
|
-
return
|
|
5941
|
+
return Ve(c), !0;
|
|
5942
5942
|
const k = ne(c.nodeName);
|
|
5943
5943
|
if (Ze(A.uponSanitizeElement, c, {
|
|
5944
5944
|
tagName: k,
|
|
5945
|
-
allowedTags:
|
|
5945
|
+
allowedTags: U
|
|
5946
5946
|
}), kt && c.hasChildNodes() && !Sr(c.firstElementChild) && ge(/<[/\w!]/g, c.innerHTML) && ge(/<[/\w!]/g, c.textContent) || c.nodeType === on.progressingInstruction || kt && c.nodeType === on.comment && ge(/<[/\w]/g, c.data))
|
|
5947
|
-
return
|
|
5948
|
-
if (!
|
|
5947
|
+
return Ve(c), !0;
|
|
5948
|
+
if (!U[k] || st[k]) {
|
|
5949
5949
|
if (!st[k] && Ir(k) && (W.tagNameCheck instanceof RegExp && ge(W.tagNameCheck, k) || W.tagNameCheck instanceof Function && W.tagNameCheck(k)))
|
|
5950
5950
|
return !1;
|
|
5951
5951
|
if (qt && !At[k]) {
|
|
@@ -5958,9 +5958,9 @@ function Es() {
|
|
|
5958
5958
|
}
|
|
5959
5959
|
}
|
|
5960
5960
|
}
|
|
5961
|
-
return
|
|
5961
|
+
return Ve(c), !0;
|
|
5962
5962
|
}
|
|
5963
|
-
return c instanceof s && !js(c) || (k === "noscript" || k === "noembed" || k === "noframes") && ge(/<\/no(script|embed|frames)/i, c.innerHTML) ? (
|
|
5963
|
+
return c instanceof s && !js(c) || (k === "noscript" || k === "noembed" || k === "noframes") && ge(/<\/no(script|embed|frames)/i, c.innerHTML) ? (Ve(c), !0) : (at && c.nodeType === on.text && (y = c.textContent, Gn([V, ae, he], (G) => {
|
|
5964
5964
|
y = en(y, G, " ");
|
|
5965
5965
|
}), c.textContent !== y && (Qt(e.removed, {
|
|
5966
5966
|
element: c.cloneNode()
|
|
@@ -6030,7 +6030,7 @@ function Es() {
|
|
|
6030
6030
|
$t(ee, c);
|
|
6031
6031
|
continue;
|
|
6032
6032
|
}
|
|
6033
|
-
at && Gn([
|
|
6033
|
+
at && Gn([V, ae, he], (Ar) => {
|
|
6034
6034
|
ue = en(ue, Ar, " ");
|
|
6035
6035
|
});
|
|
6036
6036
|
const Pr = ne(c.nodeName);
|
|
@@ -6051,7 +6051,7 @@ function Es() {
|
|
|
6051
6051
|
}
|
|
6052
6052
|
if (ue !== vo)
|
|
6053
6053
|
try {
|
|
6054
|
-
we ? c.setAttributeNS(we, ee, ue) : c.setAttribute(ee, ue), go(c) ?
|
|
6054
|
+
we ? c.setAttributeNS(we, ee, ue) : c.setAttribute(ee, ue), go(c) ? Ve(c) : hi(e.removed);
|
|
6055
6055
|
} catch {
|
|
6056
6056
|
$t(ee, c);
|
|
6057
6057
|
}
|
|
@@ -6077,7 +6077,7 @@ function Es() {
|
|
|
6077
6077
|
if (Wt || ho(c), e.removed = [], typeof P == "string" && (mt = !1), mt) {
|
|
6078
6078
|
if (P.nodeName) {
|
|
6079
6079
|
const Je = ne(P.nodeName);
|
|
6080
|
-
if (!
|
|
6080
|
+
if (!U[Je] || st[Je])
|
|
6081
6081
|
throw tn("root node is forbidden and cannot be sanitized in-place");
|
|
6082
6082
|
}
|
|
6083
6083
|
} else if (P instanceof a)
|
|
@@ -6089,7 +6089,7 @@ function Es() {
|
|
|
6089
6089
|
if (y = _r(P), !y)
|
|
6090
6090
|
return lt ? null : Tt ? T : "";
|
|
6091
6091
|
}
|
|
6092
|
-
y && Gt &&
|
|
6092
|
+
y && Gt && Ve(y.firstChild);
|
|
6093
6093
|
const ee = wr(mt ? P : y);
|
|
6094
6094
|
for (; G = ee.nextNode(); )
|
|
6095
6095
|
Cr(G), Tr(G), G.content instanceof i && Hs(G.content);
|
|
@@ -6104,8 +6104,8 @@ function Es() {
|
|
|
6104
6104
|
return (J.shadowroot || J.shadowrootmode) && (le = Ee.call(o, le, !0)), le;
|
|
6105
6105
|
}
|
|
6106
6106
|
let we = Ye ? y.outerHTML : y.innerHTML;
|
|
6107
|
-
return Ye &&
|
|
6108
|
-
` + we), at && Gn([
|
|
6107
|
+
return Ye && U["!doctype"] && y.ownerDocument && y.ownerDocument.doctype && y.ownerDocument.doctype.name && ge(As, y.ownerDocument.doctype.name) && (we = "<!DOCTYPE " + y.ownerDocument.doctype.name + `>
|
|
6108
|
+
` + we), at && Gn([V, ae, he], (Je) => {
|
|
6109
6109
|
we = en(we, Je, " ");
|
|
6110
6110
|
}), v && Tt ? v.createHTML(we) : we;
|
|
6111
6111
|
}, e.setConfig = function() {
|
|
@@ -6214,15 +6214,15 @@ function Gf() {
|
|
|
6214
6214
|
var g = this, E, I, v, T = "loglevel";
|
|
6215
6215
|
typeof _ == "string" ? T += ":" + _ : typeof _ == "symbol" && (T = void 0);
|
|
6216
6216
|
function X(A) {
|
|
6217
|
-
var
|
|
6217
|
+
var V = (r[A] || "silent").toUpperCase();
|
|
6218
6218
|
if (!(typeof window === n || !T)) {
|
|
6219
6219
|
try {
|
|
6220
|
-
window.localStorage[T] =
|
|
6220
|
+
window.localStorage[T] = V;
|
|
6221
6221
|
return;
|
|
6222
6222
|
} catch {
|
|
6223
6223
|
}
|
|
6224
6224
|
try {
|
|
6225
|
-
window.document.cookie = encodeURIComponent(T) + "=" +
|
|
6225
|
+
window.document.cookie = encodeURIComponent(T) + "=" + V + ";";
|
|
6226
6226
|
} catch {
|
|
6227
6227
|
}
|
|
6228
6228
|
}
|
|
@@ -6236,9 +6236,9 @@ function Gf() {
|
|
|
6236
6236
|
}
|
|
6237
6237
|
if (typeof A === n)
|
|
6238
6238
|
try {
|
|
6239
|
-
var
|
|
6239
|
+
var V = window.document.cookie, ae = encodeURIComponent(T), he = V.indexOf(ae + "=");
|
|
6240
6240
|
he !== -1 && (A = /^([^;]+)/.exec(
|
|
6241
|
-
|
|
6241
|
+
V.slice(he + ae.length + 1)
|
|
6242
6242
|
)[1]);
|
|
6243
6243
|
} catch {
|
|
6244
6244
|
}
|
|
@@ -6258,9 +6258,9 @@ function Gf() {
|
|
|
6258
6258
|
}
|
|
6259
6259
|
}
|
|
6260
6260
|
function se(A) {
|
|
6261
|
-
var
|
|
6262
|
-
if (typeof
|
|
6263
|
-
return
|
|
6261
|
+
var V = A;
|
|
6262
|
+
if (typeof V == "string" && g.levels[V.toUpperCase()] !== void 0 && (V = g.levels[V.toUpperCase()]), typeof V == "number" && V >= 0 && V <= g.levels.SILENT)
|
|
6263
|
+
return V;
|
|
6264
6264
|
throw new TypeError("log.setLevel() called with invalid level: " + A);
|
|
6265
6265
|
}
|
|
6266
6266
|
g.name = _, g.levels = {
|
|
@@ -6272,8 +6272,8 @@ function Gf() {
|
|
|
6272
6272
|
SILENT: 5
|
|
6273
6273
|
}, g.methodFactory = C || m, g.getLevel = function() {
|
|
6274
6274
|
return v ?? I ?? E;
|
|
6275
|
-
}, g.setLevel = function(A,
|
|
6276
|
-
return v = se(A),
|
|
6275
|
+
}, g.setLevel = function(A, V) {
|
|
6276
|
+
return v = se(A), V !== !1 && X(v), d.call(g);
|
|
6277
6277
|
}, g.setDefaultLevel = function(A) {
|
|
6278
6278
|
I = se(A), oe() || g.setLevel(A, !1);
|
|
6279
6279
|
}, g.resetLevel = function() {
|
|
@@ -7187,11 +7187,56 @@ class vt {
|
|
|
7187
7187
|
* Pausa a execução do código por um determinado tempo, em milissegundos.
|
|
7188
7188
|
* @example await Utilities.DelayAsync(1000)
|
|
7189
7189
|
* @param ms
|
|
7190
|
+
* @default 400
|
|
7190
7191
|
* @returns
|
|
7191
7192
|
*/
|
|
7192
|
-
static async DelayAsync(e) {
|
|
7193
|
+
static async DelayAsync(e = 400) {
|
|
7193
7194
|
return new Promise((n) => setTimeout(n, e));
|
|
7194
7195
|
}
|
|
7196
|
+
static FormatNumber(e, n = 0, o = "pt-BR") {
|
|
7197
|
+
return e.toLocaleString(o, {
|
|
7198
|
+
minimumFractionDigits: n,
|
|
7199
|
+
maximumFractionDigits: n
|
|
7200
|
+
});
|
|
7201
|
+
}
|
|
7202
|
+
static FormatCurrency(e, n = "pt-BR") {
|
|
7203
|
+
return e.toLocaleString(n, {
|
|
7204
|
+
style: "currency",
|
|
7205
|
+
currency: "BRL"
|
|
7206
|
+
});
|
|
7207
|
+
}
|
|
7208
|
+
/**
|
|
7209
|
+
* Verifica se um objeto possui uma chave.
|
|
7210
|
+
* @param obj
|
|
7211
|
+
* @param key
|
|
7212
|
+
* @returns
|
|
7213
|
+
*/
|
|
7214
|
+
static HasKey(e, n) {
|
|
7215
|
+
return e && n in e;
|
|
7216
|
+
}
|
|
7217
|
+
/**
|
|
7218
|
+
* Extrai o nome do arquivo do header Content-Disposition.
|
|
7219
|
+
* @param value
|
|
7220
|
+
* @returns
|
|
7221
|
+
*/
|
|
7222
|
+
static GetFilenameFromContentDisposition(e) {
|
|
7223
|
+
if (!e) return null;
|
|
7224
|
+
const n = e.match(
|
|
7225
|
+
/filename\*\s*=\s*(?:UTF-8'')?([^;\r\n]+)/i
|
|
7226
|
+
);
|
|
7227
|
+
if (n)
|
|
7228
|
+
try {
|
|
7229
|
+
return decodeURIComponent(
|
|
7230
|
+
n[1].trim().replace(/^"|"$/g, "")
|
|
7231
|
+
);
|
|
7232
|
+
} catch {
|
|
7233
|
+
return n[1].trim().replace(/^"|"$/g, "");
|
|
7234
|
+
}
|
|
7235
|
+
const o = e.match(
|
|
7236
|
+
/filename\s*=\s*("(.*?)"|([^;,\r\n]+))/i
|
|
7237
|
+
);
|
|
7238
|
+
return o ? (o[2] || o[3]).trim().replace(/^"|"$/g, "") : null;
|
|
7239
|
+
}
|
|
7195
7240
|
}
|
|
7196
7241
|
class Mm {
|
|
7197
7242
|
sub;
|