@luizleon/sf.prefeiturasp.vuecomponents 6.0.49 → 6.0.51
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.css +1 -1
- package/dist/sf.prefeiturasp.vuecomponents.js +747 -723
- package/dist/sf.prefeiturasp.vuecomponents.js.map +1 -1
- package/dist/types/components/text-truncate/TextTruncate.vue.d.ts +30 -0
- package/dist/types/components/text-truncate/TextTruncate.vue.d.ts.map +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/primevue/preset.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as ne, onBeforeUnmount as gr, openBlock as C, createElementBlock as x, unref as $, renderSlot as K, createElementVNode as b, computed as Z, createBlock as ee, resolveDynamicComponent as ht, normalizeClass as N, withCtx as le, normalizeStyle as yt, Fragment as ke, mergeProps as O, toDisplayString as W, createCommentVNode as F, ref as R, onMounted as $t, resolveComponent as Pn, renderList as It, useSlots as Fa, watch as qt, Teleport as za, createVNode as q, Transition as ao, normalizeProps as _t, guardReactiveProps as St, readonly as ys, getCurrentInstance as Vo, nextTick as io, useId as ks, resolveDirective as Ua, withDirectives as or, vShow as Va, withModifiers as Wo, inject as Cs, onBeforeMount as Wa, onUnmounted as _s, createTextVNode as Je, watchEffect as Ss, useModel as xs, mergeModels as As, useAttrs as Ts } from "vue";
|
|
2
2
|
import { useElementSize as Is, useResizeObserver as Es } from "@vueuse/core";
|
|
3
3
|
import { UseAuth as Wt } from "@luizleon/sf.prefeiturasp.vueauth";
|
|
4
4
|
import { useRouter as Ps } from "vue-router";
|
|
@@ -36,7 +36,7 @@ class yn {
|
|
|
36
36
|
return this.retorno.trim();
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
function
|
|
39
|
+
function vr(t = []) {
|
|
40
40
|
let e = "body > *:not(script):not(style)";
|
|
41
41
|
for (const r of t)
|
|
42
42
|
e += `, ${r}`;
|
|
@@ -48,7 +48,7 @@ function gr(t = []) {
|
|
|
48
48
|
);
|
|
49
49
|
return n >= 100 ? n : 100;
|
|
50
50
|
}
|
|
51
|
-
const $s = /* @__PURE__ */
|
|
51
|
+
const $s = /* @__PURE__ */ ne({
|
|
52
52
|
__name: "Tooltip",
|
|
53
53
|
props: {
|
|
54
54
|
text: {}
|
|
@@ -61,7 +61,7 @@ const $s = /* @__PURE__ */ re({
|
|
|
61
61
|
inner = null;
|
|
62
62
|
showTimeout = null;
|
|
63
63
|
Render() {
|
|
64
|
-
this.wrapper = document.createElement("div"), this.wrapper.classList.add("sf-tooltip-wrapper"), this.wrapper.style.zIndex = `${
|
|
64
|
+
this.wrapper = document.createElement("div"), this.wrapper.classList.add("sf-tooltip-wrapper"), this.wrapper.style.zIndex = `${vr() ?? 1}`, this.wrapper.addEventListener("mouseup", function() {
|
|
65
65
|
this.classList.remove("visible"), Array.from(this.children).forEach((a) => a.remove()), this.remove();
|
|
66
66
|
}), this.inner = document.createElement("div"), this.inner.classList.add("sf-tooltip-inner"), this.wrapper.appendChild(this.inner);
|
|
67
67
|
}
|
|
@@ -105,9 +105,9 @@ const $s = /* @__PURE__ */ re({
|
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
const r = new n();
|
|
108
|
-
return
|
|
108
|
+
return gr(() => {
|
|
109
109
|
r.Hide();
|
|
110
|
-
}), (o, a) => (
|
|
110
|
+
}), (o, a) => (C(), x("div", {
|
|
111
111
|
class: "sf-tooltip-anchor",
|
|
112
112
|
onMouseenter: a[0] || (a[0] = //@ts-ignore
|
|
113
113
|
(...l) => $(r).Show && $(r).Show(...l)),
|
|
@@ -116,17 +116,17 @@ const $s = /* @__PURE__ */ re({
|
|
|
116
116
|
onMouseleave: a[2] || (a[2] = //@ts-ignore
|
|
117
117
|
(...l) => $(r).Hide && $(r).Hide(...l))
|
|
118
118
|
}, [
|
|
119
|
-
|
|
119
|
+
K(o.$slots, "default")
|
|
120
120
|
], 32));
|
|
121
121
|
}
|
|
122
|
-
}),
|
|
122
|
+
}), je = (t, e) => {
|
|
123
123
|
const n = t.__vccOpts || t;
|
|
124
124
|
for (const [r, o] of e)
|
|
125
125
|
n[r] = o;
|
|
126
126
|
return n;
|
|
127
127
|
}, Ls = {}, Os = { class: "sf-loading-circle" };
|
|
128
128
|
function Bs(t, e) {
|
|
129
|
-
return
|
|
129
|
+
return C(), x("div", Os, [...e[0] || (e[0] = [
|
|
130
130
|
b("div", null, [
|
|
131
131
|
b("svg", { viewBox: "25 25 50 50" }, [
|
|
132
132
|
b("circle", {
|
|
@@ -141,7 +141,7 @@ function Bs(t, e) {
|
|
|
141
141
|
], -1)
|
|
142
142
|
])]);
|
|
143
143
|
}
|
|
144
|
-
const
|
|
144
|
+
const Ka = /* @__PURE__ */ je(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["disabled", "data-p-loading", "tabindex"], Rs = ["data-color"], Ns = /* @__PURE__ */ ne({
|
|
145
145
|
__name: "Icon",
|
|
146
146
|
props: {
|
|
147
147
|
icon: {},
|
|
@@ -167,7 +167,7 @@ const Wa = /* @__PURE__ */ Ue(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["
|
|
|
167
167
|
).Build()), l = (i) => {
|
|
168
168
|
n.disabled || n.loading || s("click", i);
|
|
169
169
|
}, s = e;
|
|
170
|
-
return (i, c) => (
|
|
170
|
+
return (i, c) => (C(), ee(ht(r.value), {
|
|
171
171
|
text: n.tooltip,
|
|
172
172
|
class: N(o.value),
|
|
173
173
|
onClick: l
|
|
@@ -183,12 +183,12 @@ const Wa = /* @__PURE__ */ Ue(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["
|
|
|
183
183
|
]),
|
|
184
184
|
"data-size": n.size
|
|
185
185
|
}, [
|
|
186
|
-
n.visible ? (
|
|
186
|
+
n.visible ? (C(), x("div", {
|
|
187
187
|
key: 0,
|
|
188
|
-
style:
|
|
188
|
+
style: yt(n.style),
|
|
189
189
|
class: N(a.value)
|
|
190
190
|
}, [
|
|
191
|
-
n.loading ? (
|
|
191
|
+
n.loading ? (C(), ee(Ka, { key: 0 })) : (C(), x(ke, { key: 1 }, [
|
|
192
192
|
b("button", O({
|
|
193
193
|
class: [
|
|
194
194
|
"material-symbols-outlined",
|
|
@@ -198,8 +198,8 @@ const Wa = /* @__PURE__ */ Ue(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["
|
|
|
198
198
|
"data-p-loading": n.loading
|
|
199
199
|
}, n.buttonProps, {
|
|
200
200
|
tabindex: n.button ? void 0 : -1
|
|
201
|
-
}),
|
|
202
|
-
n.dot && !n.disabled && !n.loading ? (
|
|
201
|
+
}), W(n.icon), 17, Ds),
|
|
202
|
+
n.dot && !n.disabled && !n.loading ? (C(), x("span", {
|
|
203
203
|
key: 0,
|
|
204
204
|
"data-color": n.dotColor
|
|
205
205
|
}, null, 8, Rs)) : F("", !0)
|
|
@@ -210,7 +210,7 @@ const Wa = /* @__PURE__ */ Ue(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["
|
|
|
210
210
|
_: 1
|
|
211
211
|
}, 8, ["text", "class"]));
|
|
212
212
|
}
|
|
213
|
-
}), De = /* @__PURE__ */
|
|
213
|
+
}), De = /* @__PURE__ */ je(Ns, [["__scopeId", "data-v-75c3c2ce"]]), js = { class: "sf-tab-navigation" }, Hs = ["data-active"], Fs = ["href", "onClick"], Yp = /* @__PURE__ */ ne({
|
|
214
214
|
__name: "TabNavigation",
|
|
215
215
|
props: {
|
|
216
216
|
tabs: {}
|
|
@@ -229,7 +229,7 @@ const Wa = /* @__PURE__ */ Ue(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["
|
|
|
229
229
|
}
|
|
230
230
|
return $t(() => {
|
|
231
231
|
n.value.addEventListener("scroll", s), r.observe(n.value);
|
|
232
|
-
}),
|
|
232
|
+
}), gr(() => {
|
|
233
233
|
try {
|
|
234
234
|
n.value?.removeEventListener(
|
|
235
235
|
"scroll",
|
|
@@ -239,7 +239,7 @@ const Wa = /* @__PURE__ */ Ue(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["
|
|
|
239
239
|
}
|
|
240
240
|
}), (i, c) => {
|
|
241
241
|
const u = Pn("RouterLink");
|
|
242
|
-
return
|
|
242
|
+
return C(), x("div", js, [
|
|
243
243
|
b("div", {
|
|
244
244
|
class: N(["left-arrow", { active: o.value }]),
|
|
245
245
|
onClick: c[0] || (c[0] = (m) => l(!0))
|
|
@@ -263,13 +263,13 @@ const Wa = /* @__PURE__ */ Ue(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["
|
|
|
263
263
|
ref_key: "trackerContainer",
|
|
264
264
|
ref: n
|
|
265
265
|
}, [
|
|
266
|
-
(
|
|
266
|
+
(C(!0), x(ke, null, It(e.tabs, (m) => (C(), ee(u, {
|
|
267
267
|
to: m.route,
|
|
268
268
|
custom: !0
|
|
269
269
|
}, {
|
|
270
270
|
default: le(({ navigate: f, isActive: p }) => [
|
|
271
271
|
b("li", { "data-active": p }, [
|
|
272
|
-
|
|
272
|
+
K(i.$slots, "item", {
|
|
273
273
|
item: m,
|
|
274
274
|
navigate: f,
|
|
275
275
|
isActive: p
|
|
@@ -278,7 +278,7 @@ const Wa = /* @__PURE__ */ Ue(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["
|
|
|
278
278
|
href: m.route,
|
|
279
279
|
class: N({ active: p }),
|
|
280
280
|
onClick: f
|
|
281
|
-
},
|
|
281
|
+
}, W(m.text), 11, Fs)
|
|
282
282
|
])
|
|
283
283
|
], 8, Hs)
|
|
284
284
|
]),
|
|
@@ -307,7 +307,7 @@ const Wa = /* @__PURE__ */ Ue(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["
|
|
|
307
307
|
]);
|
|
308
308
|
};
|
|
309
309
|
}
|
|
310
|
-
}), zs = /* @__PURE__ */
|
|
310
|
+
}), zs = /* @__PURE__ */ ne({
|
|
311
311
|
__name: "LoadingCircle",
|
|
312
312
|
props: {
|
|
313
313
|
delay: {},
|
|
@@ -319,7 +319,7 @@ const Wa = /* @__PURE__ */ Ue(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["
|
|
|
319
319
|
await new Promise(
|
|
320
320
|
(r) => setTimeout(r, e.delay ?? 300)
|
|
321
321
|
), n.value = !0;
|
|
322
|
-
}), (r, o) => n.value ? (
|
|
322
|
+
}), (r, o) => n.value ? (C(), x("div", {
|
|
323
323
|
key: 0,
|
|
324
324
|
class: N(["loading-circle", { dense: e.dense }])
|
|
325
325
|
}, [...o[0] || (o[0] = [
|
|
@@ -337,7 +337,7 @@ const Wa = /* @__PURE__ */ Ue(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["
|
|
|
337
337
|
], -1)
|
|
338
338
|
])], 2)) : F("", !0);
|
|
339
339
|
}
|
|
340
|
-
}), Us = /* @__PURE__ */
|
|
340
|
+
}), Us = /* @__PURE__ */ je(zs, [["__scopeId", "data-v-29f59fc6"]]), Vs = ["id", "name", "disabled", "data-color", "form", "type", "data-p-loading"], Ws = /* @__PURE__ */ ne({
|
|
341
341
|
__name: "Button",
|
|
342
342
|
props: {
|
|
343
343
|
icon: {},
|
|
@@ -366,12 +366,12 @@ const Wa = /* @__PURE__ */ Ue(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["
|
|
|
366
366
|
const o = (l) => {
|
|
367
367
|
n.disabled || n.loading || a("click", l);
|
|
368
368
|
}, a = e;
|
|
369
|
-
return (l, s) => n.visible ? (
|
|
369
|
+
return (l, s) => n.visible ? (C(), x("button", {
|
|
370
370
|
key: 0,
|
|
371
371
|
id: n.id,
|
|
372
372
|
name: n.name,
|
|
373
373
|
class: N(r()),
|
|
374
|
-
style:
|
|
374
|
+
style: yt(n.style),
|
|
375
375
|
disabled: n.disabled,
|
|
376
376
|
"data-color": n.color,
|
|
377
377
|
form: n.form,
|
|
@@ -379,13 +379,13 @@ const Wa = /* @__PURE__ */ Ue(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["
|
|
|
379
379
|
"data-p-loading": n.loading,
|
|
380
380
|
onClick: o
|
|
381
381
|
}, [
|
|
382
|
-
n.loading ? (
|
|
382
|
+
n.loading ? (C(), ee(Us, {
|
|
383
383
|
key: 0,
|
|
384
384
|
dense: !0,
|
|
385
385
|
delay: 0,
|
|
386
386
|
class: N("icon-loading")
|
|
387
387
|
})) : F("", !0),
|
|
388
|
-
n.icon ? (
|
|
388
|
+
n.icon ? (C(), ee(De, {
|
|
389
389
|
key: 1,
|
|
390
390
|
icon: n.icon,
|
|
391
391
|
size: n.size,
|
|
@@ -400,11 +400,11 @@ const Wa = /* @__PURE__ */ Ue(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["
|
|
|
400
400
|
transparent: !n.disabled && n.loading
|
|
401
401
|
})
|
|
402
402
|
}, [
|
|
403
|
-
|
|
403
|
+
K(l.$slots, "default", {}, void 0, !0)
|
|
404
404
|
], 2)
|
|
405
405
|
], 14, Vs)) : F("", !0);
|
|
406
406
|
}
|
|
407
|
-
}), kn = /* @__PURE__ */
|
|
407
|
+
}), kn = /* @__PURE__ */ je(Ws, [["__scopeId", "data-v-e0d9dbd1"]]), Ks = ["disabled", "data-size"], Gs = /* @__PURE__ */ ne({
|
|
408
408
|
__name: "LinkAction",
|
|
409
409
|
props: {
|
|
410
410
|
disabled: { type: Boolean },
|
|
@@ -413,14 +413,14 @@ const Wa = /* @__PURE__ */ Ue(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["
|
|
|
413
413
|
},
|
|
414
414
|
setup(t) {
|
|
415
415
|
const e = t;
|
|
416
|
-
return (n, r) => (
|
|
416
|
+
return (n, r) => (C(), x("button", {
|
|
417
417
|
type: "button",
|
|
418
418
|
class: N(["link-action", `${e.color}-color`]),
|
|
419
419
|
disabled: e.disabled,
|
|
420
420
|
"data-size": e.size
|
|
421
421
|
}, [
|
|
422
422
|
b("span", null, [
|
|
423
|
-
|
|
423
|
+
K(n.$slots, "default", {}, void 0, !0)
|
|
424
424
|
]),
|
|
425
425
|
r[0] || (r[0] = b("span", {
|
|
426
426
|
class: "material-symbols-outlined icone-seta",
|
|
@@ -428,7 +428,7 @@ const Wa = /* @__PURE__ */ Ue(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["
|
|
|
428
428
|
}, " keyboard_arrow_right ", -1))
|
|
429
429
|
], 10, Ks));
|
|
430
430
|
}
|
|
431
|
-
}),
|
|
431
|
+
}), Xp = /* @__PURE__ */ je(Gs, [["__scopeId", "data-v-7bec1a93"]]), qs = { class: "sf-drawer-title" }, Ys = { class: "sf-drawer-action" }, Xs = /* @__PURE__ */ ne({
|
|
432
432
|
__name: "Drawer",
|
|
433
433
|
props: {
|
|
434
434
|
visible: { type: Boolean, default: !1 },
|
|
@@ -459,7 +459,7 @@ const Wa = /* @__PURE__ */ Ue(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["
|
|
|
459
459
|
r("open"), window.document.addEventListener("keydown", m, !0);
|
|
460
460
|
}
|
|
461
461
|
function p(v) {
|
|
462
|
-
r("before-open"), s.value =
|
|
462
|
+
r("before-open"), s.value = vr() + 1, v.style.zIndex = `${s.value}`;
|
|
463
463
|
}
|
|
464
464
|
function w(v) {
|
|
465
465
|
r("before-close"), v?.parentElement?.classList.add("sf-mask-overlay-leave");
|
|
@@ -480,12 +480,12 @@ const Wa = /* @__PURE__ */ Ue(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["
|
|
|
480
480
|
(v) => {
|
|
481
481
|
r("update:visible", v), v && (l.value = !0);
|
|
482
482
|
}
|
|
483
|
-
), (v, S) => (
|
|
484
|
-
l.value ? (
|
|
483
|
+
), (v, S) => (C(), ee(za, { to: "body" }, [
|
|
484
|
+
l.value ? (C(), x("div", {
|
|
485
485
|
key: 0,
|
|
486
486
|
id: i,
|
|
487
487
|
class: N(y()),
|
|
488
|
-
style:
|
|
488
|
+
style: yt({ zIndex: s.value - 1 }),
|
|
489
489
|
onClick: u
|
|
490
490
|
}, [
|
|
491
491
|
q(ao, {
|
|
@@ -497,22 +497,22 @@ const Wa = /* @__PURE__ */ Ue(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["
|
|
|
497
497
|
onAfterLeave: g
|
|
498
498
|
}, {
|
|
499
499
|
default: le(() => [
|
|
500
|
-
a.value ? (
|
|
500
|
+
a.value ? (C(), x("div", {
|
|
501
501
|
key: 0,
|
|
502
502
|
class: N(["sf-drawer"]),
|
|
503
|
-
style:
|
|
503
|
+
style: yt(n.style),
|
|
504
504
|
role: "dialog"
|
|
505
505
|
}, [
|
|
506
|
-
|
|
506
|
+
K(v.$slots, "header", _t(St({ Close: c })), () => [
|
|
507
507
|
b("div", {
|
|
508
508
|
class: N(["sf-drawer-header", { unstyled: n.unstyledHeader }])
|
|
509
509
|
}, [
|
|
510
|
-
|
|
511
|
-
b("div", qs,
|
|
510
|
+
K(v.$slots, "title", {}, () => [
|
|
511
|
+
b("div", qs, W(n.title), 1)
|
|
512
512
|
]),
|
|
513
513
|
S[0] || (S[0] = b("div", { class: "sf-drawer-spacer" }, null, -1)),
|
|
514
514
|
b("div", Ys, [
|
|
515
|
-
|
|
515
|
+
K(v.$slots, "action", _t(St({ Close: c })), () => [
|
|
516
516
|
q(De, {
|
|
517
517
|
button: !0,
|
|
518
518
|
icon: "close",
|
|
@@ -525,13 +525,13 @@ const Wa = /* @__PURE__ */ Ue(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["
|
|
|
525
525
|
b("div", {
|
|
526
526
|
class: N(["sf-drawer-content", { unstyled: n.unstyledContent }])
|
|
527
527
|
}, [
|
|
528
|
-
|
|
528
|
+
K(v.$slots, "default")
|
|
529
529
|
], 2),
|
|
530
|
-
$(o).footer ? (
|
|
530
|
+
$(o).footer ? (C(), x("div", {
|
|
531
531
|
key: 0,
|
|
532
532
|
class: N(["sf-drawer-footer", { unstyled: n.unstyledFooter }])
|
|
533
533
|
}, [
|
|
534
|
-
|
|
534
|
+
K(v.$slots, "footer", _t(St({ Close: c })))
|
|
535
535
|
], 2)) : F("", !0)
|
|
536
536
|
], 4)) : F("", !0)
|
|
537
537
|
]),
|
|
@@ -540,7 +540,7 @@ const Wa = /* @__PURE__ */ Ue(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["
|
|
|
540
540
|
], 6)) : F("", !0)
|
|
541
541
|
]));
|
|
542
542
|
}
|
|
543
|
-
}), Zs = ["data-icon"],
|
|
543
|
+
}), Zs = ["data-icon"], Zp = /* @__PURE__ */ ne({
|
|
544
544
|
__name: "Message",
|
|
545
545
|
props: {
|
|
546
546
|
color: { default: "info" },
|
|
@@ -566,11 +566,11 @@ const Wa = /* @__PURE__ */ Ue(Ls, [["render", Bs]]), Ms = ["data-size"], Ds = ["
|
|
|
566
566
|
return null;
|
|
567
567
|
}
|
|
568
568
|
}), r = Z(() => new yn("sf-message").AddClass("sf-message-error", e.color === "error").AddClass("sf-message-info", e.color === "info").AddClass("sf-message-warning", e.color === "warn").AddClass("sf-message-success", e.color === "success").AddClass("sf-message-help", e.color === "help").AddClass("sf-message-primary", e.color === "primary").AddClass("sf-message-secondary", e.color === "secondary").AddClass(e.class).Build());
|
|
569
|
-
return (o, a) => (
|
|
569
|
+
return (o, a) => (C(), x("div", {
|
|
570
570
|
class: N(r.value),
|
|
571
571
|
"data-icon": n.value
|
|
572
572
|
}, [
|
|
573
|
-
|
|
573
|
+
K(o.$slots, "default")
|
|
574
574
|
], 10, Zs));
|
|
575
575
|
}
|
|
576
576
|
});
|
|
@@ -585,7 +585,7 @@ function Qs(t, e) {
|
|
|
585
585
|
[e].flat().filter(Boolean).forEach((r) => r.split(" ").forEach(n));
|
|
586
586
|
}
|
|
587
587
|
}
|
|
588
|
-
function
|
|
588
|
+
function Lr(t, e) {
|
|
589
589
|
if (t && e) {
|
|
590
590
|
let n = (r) => {
|
|
591
591
|
t.classList ? t.classList.remove(r) : t.className = t.className.replace(new RegExp("(^|\\b)" + r.split(" ").join("|") + "(\\b|$)", "gi"), " ");
|
|
@@ -612,7 +612,7 @@ function nl(t) {
|
|
|
612
612
|
function $n(t) {
|
|
613
613
|
return typeof Element < "u" ? t instanceof Element : t !== null && typeof t == "object" && t.nodeType === 1 && typeof t.nodeName == "string";
|
|
614
614
|
}
|
|
615
|
-
function
|
|
615
|
+
function ar(t, e = {}) {
|
|
616
616
|
if ($n(t)) {
|
|
617
617
|
let n = (r, o) => {
|
|
618
618
|
var a, l;
|
|
@@ -632,7 +632,7 @@ function or(t, e = {}) {
|
|
|
632
632
|
Object.entries(e).forEach(([r, o]) => {
|
|
633
633
|
if (o != null) {
|
|
634
634
|
let a = r.match(/^on(.+)/);
|
|
635
|
-
a ? t.addEventListener(a[1].toLowerCase(), o) : r === "p-bind" || r === "pBind" ?
|
|
635
|
+
a ? t.addEventListener(a[1].toLowerCase(), o) : r === "p-bind" || r === "pBind" ? ar(t, o) : (o = r === "class" ? [...new Set(n("class", o))].join(" ").trim() : r === "style" ? n("style", o).join(";").trim() : o, (t.$attrs = t.$attrs || {}) && (t.$attrs[r] = o), t.setAttribute(r, o));
|
|
636
636
|
}
|
|
637
637
|
});
|
|
638
638
|
}
|
|
@@ -640,10 +640,10 @@ function or(t, e = {}) {
|
|
|
640
640
|
function rl(t, e = {}, ...n) {
|
|
641
641
|
{
|
|
642
642
|
let r = document.createElement(t);
|
|
643
|
-
return
|
|
643
|
+
return ar(r, e), r.append(...n), r;
|
|
644
644
|
}
|
|
645
645
|
}
|
|
646
|
-
function
|
|
646
|
+
function ze(t, e) {
|
|
647
647
|
return $n(t) ? t.matches(e) ? t : t.querySelector(e) : null;
|
|
648
648
|
}
|
|
649
649
|
function gn(t, e) {
|
|
@@ -758,7 +758,7 @@ function lo(t, e = "", n = {}) {
|
|
|
758
758
|
}
|
|
759
759
|
return ge(t, n);
|
|
760
760
|
}
|
|
761
|
-
function
|
|
761
|
+
function Ga(t, e = !0) {
|
|
762
762
|
return Array.isArray(t) && (e || t.length !== 0);
|
|
763
763
|
}
|
|
764
764
|
function cl(t) {
|
|
@@ -767,7 +767,7 @@ function cl(t) {
|
|
|
767
767
|
function ul(t = "") {
|
|
768
768
|
return M(t) && t.length === 1 && !!t.match(/\S| /);
|
|
769
769
|
}
|
|
770
|
-
function
|
|
770
|
+
function xt(t, e) {
|
|
771
771
|
if (e) {
|
|
772
772
|
let n = e.test(t);
|
|
773
773
|
return e.lastIndex = 0, n;
|
|
@@ -780,10 +780,10 @@ function wn(t) {
|
|
|
780
780
|
function dl(t) {
|
|
781
781
|
return Te(t, !1) ? t[0].toUpperCase() + t.slice(1) : t;
|
|
782
782
|
}
|
|
783
|
-
function
|
|
783
|
+
function qa(t) {
|
|
784
784
|
return Te(t) ? t.replace(/(_)/g, "-").replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase() : t;
|
|
785
785
|
}
|
|
786
|
-
function
|
|
786
|
+
function Ya() {
|
|
787
787
|
let t = /* @__PURE__ */ new Map();
|
|
788
788
|
return { on(e, n) {
|
|
789
789
|
let r = t.get(e);
|
|
@@ -804,16 +804,16 @@ var Gn = {};
|
|
|
804
804
|
function ml(t = "pui_id_") {
|
|
805
805
|
return Object.hasOwn(Gn, t) || (Gn[t] = 0), Gn[t]++, `${t}${Gn[t]}`;
|
|
806
806
|
}
|
|
807
|
-
var fl = Object.defineProperty, pl = Object.defineProperties, hl = Object.getOwnPropertyDescriptors,
|
|
808
|
-
for (var n in e || (e = {}))
|
|
809
|
-
if (
|
|
807
|
+
var fl = Object.defineProperty, pl = Object.defineProperties, hl = Object.getOwnPropertyDescriptors, ir = Object.getOwnPropertySymbols, Xa = Object.prototype.hasOwnProperty, Za = Object.prototype.propertyIsEnumerable, Zo = (t, e, n) => e in t ? fl(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, Ue = (t, e) => {
|
|
808
|
+
for (var n in e || (e = {})) Xa.call(e, n) && Zo(t, n, e[n]);
|
|
809
|
+
if (ir) for (var n of ir(e)) Za.call(e, n) && Zo(t, n, e[n]);
|
|
810
810
|
return t;
|
|
811
|
-
},
|
|
811
|
+
}, Or = (t, e) => pl(t, hl(e)), st = (t, e) => {
|
|
812
812
|
var n = {};
|
|
813
|
-
for (var r in t)
|
|
814
|
-
if (t != null &&
|
|
813
|
+
for (var r in t) Xa.call(t, r) && e.indexOf(r) < 0 && (n[r] = t[r]);
|
|
814
|
+
if (t != null && ir) for (var r of ir(t)) e.indexOf(r) < 0 && Za.call(t, r) && (n[r] = t[r]);
|
|
815
815
|
return n;
|
|
816
|
-
}, gl =
|
|
816
|
+
}, gl = Ya(), ye = gl, Cn = /{([^}]*)}/g, Ja = /(\d+\s+[\+\-\*\/]\s+\d+)/g, Qa = /var\([^)]+\)/g;
|
|
817
817
|
function Jo(t) {
|
|
818
818
|
return Te(t) ? t.replace(/[A-Z]/g, (e, n) => n === 0 ? e : "." + e.toLowerCase()).toLowerCase() : t;
|
|
819
819
|
}
|
|
@@ -826,23 +826,23 @@ function bl(t) {
|
|
|
826
826
|
function Gr(t = "", e = "") {
|
|
827
827
|
return bl(`${Te(t, !1) && Te(e, !1) ? `${t}-` : t}${e}`);
|
|
828
828
|
}
|
|
829
|
-
function
|
|
829
|
+
function ei(t = "", e = "") {
|
|
830
830
|
return `--${Gr(t, e)}`;
|
|
831
831
|
}
|
|
832
832
|
function wl(t = "") {
|
|
833
833
|
let e = (t.match(/{/g) || []).length, n = (t.match(/}/g) || []).length;
|
|
834
834
|
return (e + n) % 2 !== 0;
|
|
835
835
|
}
|
|
836
|
-
function
|
|
836
|
+
function ti(t, e = "", n = "", r = [], o) {
|
|
837
837
|
if (Te(t)) {
|
|
838
838
|
let a = t.trim();
|
|
839
839
|
if (wl(a)) return;
|
|
840
|
-
if (
|
|
840
|
+
if (xt(a, Cn)) {
|
|
841
841
|
let l = a.replaceAll(Cn, (s) => {
|
|
842
|
-
let i = s.replace(/{|}/g, "").split(".").filter((c) => !r.some((u) =>
|
|
843
|
-
return `var(${
|
|
842
|
+
let i = s.replace(/{|}/g, "").split(".").filter((c) => !r.some((u) => xt(c, u)));
|
|
843
|
+
return `var(${ei(n, qa(i.join("-")))}${M(o) ? `, ${o}` : ""})`;
|
|
844
844
|
});
|
|
845
|
-
return
|
|
845
|
+
return xt(l.replace(Qa, "0"), Ja) ? `calc(${l})` : l;
|
|
846
846
|
}
|
|
847
847
|
return a;
|
|
848
848
|
} else if (cl(t)) return t;
|
|
@@ -853,7 +853,7 @@ function yl(t, e, n) {
|
|
|
853
853
|
function Vt(t, e) {
|
|
854
854
|
return t ? `${t}{${e}}` : "";
|
|
855
855
|
}
|
|
856
|
-
function
|
|
856
|
+
function ni(t, e) {
|
|
857
857
|
if (t.indexOf("dt(") === -1) return t;
|
|
858
858
|
function n(l, s) {
|
|
859
859
|
let i = [], c = 0, u = "", m = null, f = 0;
|
|
@@ -861,7 +861,7 @@ function ti(t, e) {
|
|
|
861
861
|
let p = l[c];
|
|
862
862
|
if ((p === '"' || p === "'" || p === "`") && l[c - 1] !== "\\" && (m = m === p ? null : p), !m && (p === "(" && f++, p === ")" && f--, (p === "," || c === l.length) && f === 0)) {
|
|
863
863
|
let w = u.trim();
|
|
864
|
-
w.startsWith("dt(") ? i.push(
|
|
864
|
+
w.startsWith("dt(") ? i.push(ni(w, s)) : i.push(r(w)), u = "", c++;
|
|
865
865
|
continue;
|
|
866
866
|
}
|
|
867
867
|
p !== void 0 && (u += p), c++;
|
|
@@ -889,8 +889,8 @@ function ti(t, e) {
|
|
|
889
889
|
}
|
|
890
890
|
var At = (...t) => kl(X.getTheme(), ...t), kl = (t = {}, e, n, r) => {
|
|
891
891
|
if (e) {
|
|
892
|
-
let { variable: o, options: a } = X.defaults || {}, { prefix: l, transform: s } = t?.options || a || {}, i =
|
|
893
|
-
return r === "value" || bt(r) && s === "strict" ? X.getTokenValue(e) :
|
|
892
|
+
let { variable: o, options: a } = X.defaults || {}, { prefix: l, transform: s } = t?.options || a || {}, i = xt(e, Cn) ? e : `{${e}}`;
|
|
893
|
+
return r === "value" || bt(r) && s === "strict" ? X.getTokenValue(e) : ti(i, void 0, l, [o.excludedKeyRegex], n);
|
|
894
894
|
}
|
|
895
895
|
return "";
|
|
896
896
|
};
|
|
@@ -900,7 +900,7 @@ function qn(t, ...e) {
|
|
|
900
900
|
var l;
|
|
901
901
|
return r + o + ((l = ge(e[a], { dt: At })) != null ? l : "");
|
|
902
902
|
}, "");
|
|
903
|
-
return
|
|
903
|
+
return ni(n, At);
|
|
904
904
|
}
|
|
905
905
|
return ge(t, { dt: At });
|
|
906
906
|
}
|
|
@@ -909,10 +909,10 @@ function Cl(t, e = {}) {
|
|
|
909
909
|
for (; i.length; ) {
|
|
910
910
|
let { node: u, path: m } = i.pop();
|
|
911
911
|
for (let f in u) {
|
|
912
|
-
let p = u[f], w = vl(p), g =
|
|
912
|
+
let p = u[f], w = vl(p), g = xt(f, a) ? Gr(m) : Gr(m, qa(f));
|
|
913
913
|
if (wt(w)) i.push({ node: w, path: g });
|
|
914
914
|
else {
|
|
915
|
-
let y =
|
|
915
|
+
let y = ei(g), v = ti(w, g, r, [a]);
|
|
916
916
|
yl(s, y, v);
|
|
917
917
|
let S = g;
|
|
918
918
|
r && S.startsWith(r + "-") && (S = S.slice(r.length + 1)), l.push(S.replace(/-/g, "."));
|
|
@@ -922,7 +922,7 @@ function Cl(t, e = {}) {
|
|
|
922
922
|
let c = s.join("");
|
|
923
923
|
return { value: s, tokens: l, declarations: c, css: Vt(o, c) };
|
|
924
924
|
}
|
|
925
|
-
var
|
|
925
|
+
var Fe = { regex: { rules: { class: { pattern: /^\.([a-zA-Z][\w-]*)$/, resolve(t) {
|
|
926
926
|
return { type: "class", selector: t, matched: this.pattern.test(t.trim()) };
|
|
927
927
|
} }, attr: { pattern: /^\[(.*)\]$/, resolve(t) {
|
|
928
928
|
return { type: "attr", selector: `:root${t},:host${t}`, matched: this.pattern.test(t.trim()) };
|
|
@@ -942,21 +942,21 @@ var He = { regex: { rules: { class: { pattern: /^\.([a-zA-Z][\w-]*)$/, resolve(t
|
|
|
942
942
|
return Cl(t, { prefix: e?.prefix });
|
|
943
943
|
}, getCommon({ name: t = "", theme: e = {}, params: n, set: r, defaults: o }) {
|
|
944
944
|
var a, l, s, i, c, u, m;
|
|
945
|
-
let { preset: f, options: p } = e, w, g, y, v, S, L,
|
|
945
|
+
let { preset: f, options: p } = e, w, g, y, v, S, L, _;
|
|
946
946
|
if (M(f) && p.transform !== "strict") {
|
|
947
|
-
let { primitive: T, semantic: te, extend: ue } = f, Oe = te || {}, { colorScheme: fe } = Oe, Be = st(Oe, ["colorScheme"]), P = ue || {}, { colorScheme:
|
|
947
|
+
let { primitive: T, semantic: te, extend: ue } = f, Oe = te || {}, { colorScheme: fe } = Oe, Be = st(Oe, ["colorScheme"]), P = ue || {}, { colorScheme: G } = P, pe = st(P, ["colorScheme"]), be = fe || {}, { dark: He } = be, ct = st(be, ["dark"]), et = G || {}, { dark: tt } = et, ut = st(et, ["dark"]), Me = M(T) ? this._toVariables({ primitive: T }, p) : {}, V = M(Be) ? this._toVariables({ semantic: Be }, p) : {}, Ve = M(ct) ? this._toVariables({ light: ct }, p) : {}, re = M(He) ? this._toVariables({ dark: He }, p) : {}, nt = M(pe) ? this._toVariables({ semantic: pe }, p) : {}, J = M(ut) ? this._toVariables({ light: ut }, p) : {}, dt = M(tt) ? this._toVariables({ dark: tt }, p) : {}, [Bt, We] = [(a = Me.declarations) != null ? a : "", Me.tokens], [Nn, nn] = [(l = V.declarations) != null ? l : "", V.tokens || []], [jn, Hn] = [(s = Ve.declarations) != null ? s : "", Ve.tokens || []], [mt, Mt] = [(i = re.declarations) != null ? i : "", re.tokens || []], [rt, rn] = [(c = nt.declarations) != null ? c : "", nt.tokens || []], [on, ft] = [(u = J.declarations) != null ? u : "", J.tokens || []], [Dt, Rt] = [(m = dt.declarations) != null ? m : "", dt.tokens || []];
|
|
948
948
|
w = this.transformCSS(t, Bt, "light", "variable", p, r, o), g = We;
|
|
949
949
|
let Fn = this.transformCSS(t, `${Nn}${jn}`, "light", "variable", p, r, o), zn = this.transformCSS(t, `${mt}`, "dark", "variable", p, r, o);
|
|
950
950
|
y = `${Fn}${zn}`, v = [.../* @__PURE__ */ new Set([...nn, ...Hn, ...Mt])];
|
|
951
|
-
let
|
|
952
|
-
S = `${
|
|
951
|
+
let Sr = this.transformCSS(t, `${rt}${on}color-scheme:light`, "light", "variable", p, r, o), an = this.transformCSS(t, `${Dt}color-scheme:dark`, "dark", "variable", p, r, o);
|
|
952
|
+
S = `${Sr}${an}`, L = [.../* @__PURE__ */ new Set([...rn, ...ft, ...Rt])], _ = ge(f.css, { dt: At });
|
|
953
953
|
}
|
|
954
|
-
return { primitive: { css: w, tokens: g }, semantic: { css: y, tokens: v }, global: { css: S, tokens: L }, style:
|
|
954
|
+
return { primitive: { css: w, tokens: g }, semantic: { css: y, tokens: v }, global: { css: S, tokens: L }, style: _ };
|
|
955
955
|
}, getPreset({ name: t = "", preset: e = {}, options: n, params: r, set: o, defaults: a, selector: l }) {
|
|
956
956
|
var s, i, c;
|
|
957
957
|
let u, m, f;
|
|
958
958
|
if (M(e) && n.transform !== "strict") {
|
|
959
|
-
let p = t.replace("-directive", ""), w = e, { colorScheme: g, extend: y, css: v } = w, S = st(w, ["colorScheme", "extend", "css"]), L = y || {}, { colorScheme:
|
|
959
|
+
let p = t.replace("-directive", ""), w = e, { colorScheme: g, extend: y, css: v } = w, S = st(w, ["colorScheme", "extend", "css"]), L = y || {}, { colorScheme: _ } = L, T = st(L, ["colorScheme"]), te = g || {}, { dark: ue } = te, Oe = st(te, ["dark"]), fe = _ || {}, { dark: Be } = fe, P = st(fe, ["dark"]), G = M(S) ? this._toVariables({ [p]: Ue(Ue({}, S), T) }, n) : {}, pe = M(Oe) ? this._toVariables({ [p]: Ue(Ue({}, Oe), P) }, n) : {}, be = M(ue) ? this._toVariables({ [p]: Ue(Ue({}, ue), Be) }, n) : {}, [He, ct] = [(s = G.declarations) != null ? s : "", G.tokens || []], [et, tt] = [(i = pe.declarations) != null ? i : "", pe.tokens || []], [ut, Me] = [(c = be.declarations) != null ? c : "", be.tokens || []], V = this.transformCSS(p, `${He}${et}`, "light", "variable", n, o, a, l), Ve = this.transformCSS(p, ut, "dark", "variable", n, o, a, l);
|
|
960
960
|
u = `${V}${Ve}`, m = [.../* @__PURE__ */ new Set([...ct, ...tt, ...Me])], f = ge(v, { dt: At });
|
|
961
961
|
}
|
|
962
962
|
return { css: u, tokens: m, style: f };
|
|
@@ -1002,12 +1002,12 @@ var He = { regex: { rules: { class: { pattern: /^\.([a-zA-Z][\w-]*)$/, resolve(t
|
|
|
1002
1002
|
let y = g.computed(s, i, c);
|
|
1003
1003
|
return Array.isArray(y) && y.length === 2 ? `light-dark(${y[0].value},${y[1].value})` : (p = y?.value) != null ? p : "__UNRESOLVED__";
|
|
1004
1004
|
});
|
|
1005
|
-
u =
|
|
1005
|
+
u = Ja.test(m.replace(Qa, "0")) ? `calc(${m})` : m;
|
|
1006
1006
|
}
|
|
1007
1007
|
return bt(i.binding) && delete i.binding, c.pop(), { colorScheme: s, path: this.path, paths: i, value: u.includes("__UNRESOLVED__") ? void 0 : u };
|
|
1008
1008
|
}, l = (s, i, c) => {
|
|
1009
1009
|
Object.entries(s).forEach(([u, m]) => {
|
|
1010
|
-
let f =
|
|
1010
|
+
let f = xt(u, e.variable.excludedKeyRegex) ? i : i ? `${i}.${Jo(u)}` : Jo(u), p = c ? `${c}.${u}` : u;
|
|
1011
1011
|
wt(m) ? l(m, f, p) : (o[f] || (o[f] = { paths: [], computed: (w, g = {}, y = []) => {
|
|
1012
1012
|
if (o[f].paths.length === 1) return o[f].paths[0].computed(o[f].paths[0].scheme, g.binding, y);
|
|
1013
1013
|
if (w && w !== "none") for (let v = 0; v < o[f].paths.length; v++) {
|
|
@@ -1021,7 +1021,7 @@ var He = { regex: { rules: { class: { pattern: /^\.([a-zA-Z][\w-]*)$/, resolve(t
|
|
|
1021
1021
|
return l(t, n, r), o;
|
|
1022
1022
|
}, getTokenValue(t, e, n) {
|
|
1023
1023
|
var r;
|
|
1024
|
-
let o = ((s) => s.split(".").filter((i) => !
|
|
1024
|
+
let o = ((s) => s.split(".").filter((i) => !xt(i.toLowerCase(), n.variable.excludedKeyRegex)).join("."))(e), a = e.includes("colorScheme.light") ? "light" : e.includes("colorScheme.dark") ? "dark" : void 0, l = [(r = t[o]) == null ? void 0 : r.computed(a)].flat().filter((s) => s);
|
|
1025
1025
|
return l.length === 1 ? l[0].value : l.reduce((s = {}, i) => {
|
|
1026
1026
|
let c = i, { colorScheme: u } = c, m = st(c, ["colorScheme"]);
|
|
1027
1027
|
return s[u] = m, s;
|
|
@@ -1044,7 +1044,7 @@ var He = { regex: { rules: { class: { pattern: /^\.([a-zA-Z][\w-]*)$/, resolve(t
|
|
|
1044
1044
|
return "";
|
|
1045
1045
|
} }, X = { defaults: { variable: { prefix: "p", selector: ":root,:host", excludedKeyRegex: /^(primitive|semantic|components|directives|variables|colorscheme|light|dark|common|root|states|extend|css)$/gi }, options: { prefix: "p", darkModeSelector: "system", cssLayer: !1 } }, _theme: void 0, _layerNames: /* @__PURE__ */ new Set(), _loadedStyleNames: /* @__PURE__ */ new Set(), _loadingStyles: /* @__PURE__ */ new Set(), _tokens: {}, update(t = {}) {
|
|
1046
1046
|
let { theme: e } = t;
|
|
1047
|
-
e && (this._theme =
|
|
1047
|
+
e && (this._theme = Or(Ue({}, e), { options: Ue(Ue({}, this.defaults.options), e.options) }), this._tokens = Fe.createTokens(this.preset, this.defaults), this.clearLoadedStyleNames());
|
|
1048
1048
|
}, get theme() {
|
|
1049
1049
|
return this._theme;
|
|
1050
1050
|
}, get preset() {
|
|
@@ -1062,11 +1062,11 @@ var He = { regex: { rules: { class: { pattern: /^\.([a-zA-Z][\w-]*)$/, resolve(t
|
|
|
1062
1062
|
}, getPreset() {
|
|
1063
1063
|
return this.preset;
|
|
1064
1064
|
}, setPreset(t) {
|
|
1065
|
-
this._theme =
|
|
1065
|
+
this._theme = Or(Ue({}, this.theme), { preset: t }), this._tokens = Fe.createTokens(t, this.defaults), this.clearLoadedStyleNames(), ye.emit("preset:change", t), ye.emit("theme:change", this.theme);
|
|
1066
1066
|
}, getOptions() {
|
|
1067
1067
|
return this.options;
|
|
1068
1068
|
}, setOptions(t) {
|
|
1069
|
-
this._theme =
|
|
1069
|
+
this._theme = Or(Ue({}, this.theme), { options: t }), this.clearLoadedStyleNames(), ye.emit("options:change", t), ye.emit("theme:change", this.theme);
|
|
1070
1070
|
}, getLayerNames() {
|
|
1071
1071
|
return [...this._layerNames];
|
|
1072
1072
|
}, setLayerNames(t) {
|
|
@@ -1082,26 +1082,26 @@ var He = { regex: { rules: { class: { pattern: /^\.([a-zA-Z][\w-]*)$/, resolve(t
|
|
|
1082
1082
|
}, clearLoadedStyleNames() {
|
|
1083
1083
|
this._loadedStyleNames.clear();
|
|
1084
1084
|
}, getTokenValue(t) {
|
|
1085
|
-
return
|
|
1085
|
+
return Fe.getTokenValue(this.tokens, t, this.defaults);
|
|
1086
1086
|
}, getCommon(t = "", e) {
|
|
1087
|
-
return
|
|
1087
|
+
return Fe.getCommon({ name: t, theme: this.theme, params: e, defaults: this.defaults, set: { layerNames: this.setLayerNames.bind(this) } });
|
|
1088
1088
|
}, getComponent(t = "", e) {
|
|
1089
1089
|
let n = { name: t, theme: this.theme, params: e, defaults: this.defaults, set: { layerNames: this.setLayerNames.bind(this) } };
|
|
1090
|
-
return
|
|
1090
|
+
return Fe.getPresetC(n);
|
|
1091
1091
|
}, getDirective(t = "", e) {
|
|
1092
1092
|
let n = { name: t, theme: this.theme, params: e, defaults: this.defaults, set: { layerNames: this.setLayerNames.bind(this) } };
|
|
1093
|
-
return
|
|
1093
|
+
return Fe.getPresetD(n);
|
|
1094
1094
|
}, getCustomPreset(t = "", e, n, r) {
|
|
1095
1095
|
let o = { name: t, preset: e, options: this.options, selector: n, params: r, defaults: this.defaults, set: { layerNames: this.setLayerNames.bind(this) } };
|
|
1096
|
-
return
|
|
1096
|
+
return Fe.getPreset(o);
|
|
1097
1097
|
}, getLayerOrderCSS(t = "") {
|
|
1098
|
-
return
|
|
1098
|
+
return Fe.getLayerOrder(t, this.options, { names: this.getLayerNames() }, this.defaults);
|
|
1099
1099
|
}, transformCSS(t = "", e, n = "style", r) {
|
|
1100
|
-
return
|
|
1100
|
+
return Fe.transformCSS(t, e, r, n, this.options, { layerNames: this.setLayerNames.bind(this) }, this.defaults);
|
|
1101
1101
|
}, getCommonStyleSheet(t = "", e, n = {}) {
|
|
1102
|
-
return
|
|
1102
|
+
return Fe.getCommonStyleSheet({ name: t, theme: this.theme, params: e, props: n, defaults: this.defaults, set: { layerNames: this.setLayerNames.bind(this) } });
|
|
1103
1103
|
}, getStyleSheet(t, e, n = {}) {
|
|
1104
|
-
return
|
|
1104
|
+
return Fe.getStyleSheet({ name: t, theme: this.theme, params: e, props: n, defaults: this.defaults, set: { layerNames: this.setLayerNames.bind(this) } });
|
|
1105
1105
|
}, onStyleMounted(t) {
|
|
1106
1106
|
this._loadingStyles.add(t);
|
|
1107
1107
|
}, onStyleUpdated(t) {
|
|
@@ -1268,13 +1268,13 @@ function ea(t) {
|
|
|
1268
1268
|
return t;
|
|
1269
1269
|
}
|
|
1270
1270
|
function Sl(t, e, n) {
|
|
1271
|
-
return (e =
|
|
1271
|
+
return (e = xl(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
|
|
1272
1272
|
}
|
|
1273
|
-
function
|
|
1274
|
-
var e =
|
|
1273
|
+
function xl(t) {
|
|
1274
|
+
var e = Al(t, "string");
|
|
1275
1275
|
return _n(e) == "symbol" ? e : e + "";
|
|
1276
1276
|
}
|
|
1277
|
-
function
|
|
1277
|
+
function Al(t, e) {
|
|
1278
1278
|
if (_n(t) != "object" || !t) return t;
|
|
1279
1279
|
var n = t[Symbol.toPrimitive];
|
|
1280
1280
|
if (n !== void 0) {
|
|
@@ -1290,17 +1290,17 @@ function Tl(t) {
|
|
|
1290
1290
|
}
|
|
1291
1291
|
var Il = 0;
|
|
1292
1292
|
function El(t) {
|
|
1293
|
-
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = R(!1), r = R(t), o = R(null), a = il() ? window.document : void 0, l = e.document, s = l === void 0 ? a : l, i = e.immediate, c = i === void 0 ? !0 : i, u = e.manual, m = u === void 0 ? !1 : u, f = e.name, p = f === void 0 ? "style_".concat(++Il) : f, w = e.id, g = w === void 0 ? void 0 : w, y = e.media, v = y === void 0 ? void 0 : y, S = e.nonce, L = S === void 0 ? void 0 : S,
|
|
1294
|
-
},
|
|
1293
|
+
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = R(!1), r = R(t), o = R(null), a = il() ? window.document : void 0, l = e.document, s = l === void 0 ? a : l, i = e.immediate, c = i === void 0 ? !0 : i, u = e.manual, m = u === void 0 ? !1 : u, f = e.name, p = f === void 0 ? "style_".concat(++Il) : f, w = e.id, g = w === void 0 ? void 0 : w, y = e.media, v = y === void 0 ? void 0 : y, S = e.nonce, L = S === void 0 ? void 0 : S, _ = e.first, T = _ === void 0 ? !1 : _, te = e.onMounted, ue = te === void 0 ? void 0 : te, Oe = e.onUpdated, fe = Oe === void 0 ? void 0 : Oe, Be = e.onLoad, P = Be === void 0 ? void 0 : Be, G = e.props, pe = G === void 0 ? {} : G, be = function() {
|
|
1294
|
+
}, He = function(tt) {
|
|
1295
1295
|
var ut = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1296
1296
|
if (s) {
|
|
1297
|
-
var Me = ea(ea({}, pe), ut), V = Me.name || p, Ve = Me.id || g,
|
|
1298
|
-
o.value = s.querySelector('style[data-primevue-style-id="'.concat(V, '"]')) || s.getElementById(Ve) || s.createElement("style"), o.value.isConnected || (r.value = tt || t,
|
|
1297
|
+
var Me = ea(ea({}, pe), ut), V = Me.name || p, Ve = Me.id || g, re = Me.nonce || L;
|
|
1298
|
+
o.value = s.querySelector('style[data-primevue-style-id="'.concat(V, '"]')) || s.getElementById(Ve) || s.createElement("style"), o.value.isConnected || (r.value = tt || t, ar(o.value, {
|
|
1299
1299
|
type: "text/css",
|
|
1300
1300
|
id: Ve,
|
|
1301
1301
|
media: v,
|
|
1302
|
-
nonce:
|
|
1303
|
-
}), T ? s.head.prepend(o.value) : s.head.appendChild(o.value), sl(o.value, "data-primevue-style-id", V),
|
|
1302
|
+
nonce: re
|
|
1303
|
+
}), T ? s.head.prepend(o.value) : s.head.appendChild(o.value), sl(o.value, "data-primevue-style-id", V), ar(o.value, Me), o.value.onload = function(nt) {
|
|
1304
1304
|
return P?.(nt, {
|
|
1305
1305
|
name: V
|
|
1306
1306
|
});
|
|
@@ -1313,14 +1313,14 @@ function El(t) {
|
|
|
1313
1313
|
}, ct = function() {
|
|
1314
1314
|
!s || !n.value || (be(), nl(o.value) && s.head.removeChild(o.value), n.value = !1, o.value = null);
|
|
1315
1315
|
};
|
|
1316
|
-
return c && !m && Tl(
|
|
1316
|
+
return c && !m && Tl(He), {
|
|
1317
1317
|
id: g,
|
|
1318
1318
|
name: p,
|
|
1319
1319
|
el: o,
|
|
1320
1320
|
css: r,
|
|
1321
1321
|
unload: ct,
|
|
1322
|
-
load:
|
|
1323
|
-
isLoaded:
|
|
1322
|
+
load: He,
|
|
1323
|
+
isLoaded: ys(n)
|
|
1324
1324
|
};
|
|
1325
1325
|
}
|
|
1326
1326
|
function Sn(t) {
|
|
@@ -1382,7 +1382,7 @@ function sa(t, e) {
|
|
|
1382
1382
|
}
|
|
1383
1383
|
return n;
|
|
1384
1384
|
}
|
|
1385
|
-
function
|
|
1385
|
+
function Br(t) {
|
|
1386
1386
|
for (var e = 1; e < arguments.length; e++) {
|
|
1387
1387
|
var n = arguments[e] != null ? arguments[e] : {};
|
|
1388
1388
|
e % 2 ? sa(Object(n), !0).forEach(function(r) {
|
|
@@ -1445,7 +1445,7 @@ var Rl = function(e) {
|
|
|
1445
1445
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : function(a) {
|
|
1446
1446
|
return a;
|
|
1447
1447
|
}, o = r(qn(ta || (ta = Yn(["", ""])), e));
|
|
1448
|
-
return M(o) ? El(wn(o),
|
|
1448
|
+
return M(o) ? El(wn(o), Br({
|
|
1449
1449
|
name: this.name
|
|
1450
1450
|
}, n)) : {};
|
|
1451
1451
|
},
|
|
@@ -1506,41 +1506,41 @@ var Rl = function(e) {
|
|
|
1506
1506
|
return r.join("");
|
|
1507
1507
|
},
|
|
1508
1508
|
extend: function(e) {
|
|
1509
|
-
return
|
|
1509
|
+
return Br(Br({}, this), {}, {
|
|
1510
1510
|
css: void 0,
|
|
1511
1511
|
style: void 0
|
|
1512
1512
|
}, e);
|
|
1513
1513
|
}
|
|
1514
1514
|
};
|
|
1515
1515
|
function Hl() {
|
|
1516
|
-
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "pc", e =
|
|
1516
|
+
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "pc", e = ks();
|
|
1517
1517
|
return "".concat(t).concat(e.replace("v-", "").replaceAll("-", "_"));
|
|
1518
1518
|
}
|
|
1519
1519
|
var la = me.extend({
|
|
1520
1520
|
name: "common"
|
|
1521
1521
|
});
|
|
1522
|
-
function
|
|
1522
|
+
function xn(t) {
|
|
1523
1523
|
"@babel/helpers - typeof";
|
|
1524
|
-
return
|
|
1524
|
+
return xn = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
1525
1525
|
return typeof e;
|
|
1526
1526
|
} : function(e) {
|
|
1527
1527
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
1528
|
-
},
|
|
1528
|
+
}, xn(t);
|
|
1529
1529
|
}
|
|
1530
1530
|
function Fl(t) {
|
|
1531
|
-
return
|
|
1531
|
+
return ai(t) || zl(t) || oi(t) || ri();
|
|
1532
1532
|
}
|
|
1533
1533
|
function zl(t) {
|
|
1534
1534
|
if (typeof Symbol < "u" && t[Symbol.iterator] != null || t["@@iterator"] != null) return Array.from(t);
|
|
1535
1535
|
}
|
|
1536
1536
|
function cn(t, e) {
|
|
1537
|
-
return
|
|
1537
|
+
return ai(t) || Ul(t, e) || oi(t, e) || ri();
|
|
1538
1538
|
}
|
|
1539
|
-
function
|
|
1539
|
+
function ri() {
|
|
1540
1540
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1541
1541
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1542
1542
|
}
|
|
1543
|
-
function
|
|
1543
|
+
function oi(t, e) {
|
|
1544
1544
|
if (t) {
|
|
1545
1545
|
if (typeof t == "string") return qr(t, e);
|
|
1546
1546
|
var n = {}.toString.call(t).slice(8, -1);
|
|
@@ -1573,7 +1573,7 @@ function Ul(t, e) {
|
|
|
1573
1573
|
return s;
|
|
1574
1574
|
}
|
|
1575
1575
|
}
|
|
1576
|
-
function
|
|
1576
|
+
function ai(t) {
|
|
1577
1577
|
if (Array.isArray(t)) return t;
|
|
1578
1578
|
}
|
|
1579
1579
|
function ca(t, e) {
|
|
@@ -1602,19 +1602,19 @@ function bn(t, e, n) {
|
|
|
1602
1602
|
}
|
|
1603
1603
|
function Vl(t) {
|
|
1604
1604
|
var e = Wl(t, "string");
|
|
1605
|
-
return
|
|
1605
|
+
return xn(e) == "symbol" ? e : e + "";
|
|
1606
1606
|
}
|
|
1607
1607
|
function Wl(t, e) {
|
|
1608
|
-
if (
|
|
1608
|
+
if (xn(t) != "object" || !t) return t;
|
|
1609
1609
|
var n = t[Symbol.toPrimitive];
|
|
1610
1610
|
if (n !== void 0) {
|
|
1611
1611
|
var r = n.call(t, e);
|
|
1612
|
-
if (
|
|
1612
|
+
if (xn(r) != "object") return r;
|
|
1613
1613
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1614
1614
|
}
|
|
1615
1615
|
return (e === "string" ? String : Number)(t);
|
|
1616
1616
|
}
|
|
1617
|
-
var
|
|
1617
|
+
var br = {
|
|
1618
1618
|
name: "BaseComponent",
|
|
1619
1619
|
props: {
|
|
1620
1620
|
pt: {
|
|
@@ -1671,7 +1671,7 @@ var vr = {
|
|
|
1671
1671
|
},
|
|
1672
1672
|
beforeMount: function() {
|
|
1673
1673
|
var e;
|
|
1674
|
-
this.rootEl =
|
|
1674
|
+
this.rootEl = ze($n(this.$el) ? this.$el : (e = this.$el) === null || e === void 0 ? void 0 : e.parentElement, "[".concat(this.$attrSelector, "]")), this.rootEl && (this.rootEl.$pc = j({
|
|
1675
1675
|
name: this.$.type.name,
|
|
1676
1676
|
attrSelector: this.$attrSelector
|
|
1677
1677
|
}, this.$params)), this._loadStyles(), this._hook("onBeforeMount");
|
|
@@ -1802,7 +1802,7 @@ var vr = {
|
|
|
1802
1802
|
},
|
|
1803
1803
|
_getPTClassValue: function() {
|
|
1804
1804
|
var e = this._getOptionValue.apply(this, arguments);
|
|
1805
|
-
return Te(e) ||
|
|
1805
|
+
return Te(e) || Ga(e) ? {
|
|
1806
1806
|
class: e
|
|
1807
1807
|
} : e;
|
|
1808
1808
|
},
|
|
@@ -1990,13 +1990,13 @@ var vr = {
|
|
|
1990
1990
|
name: "baseicon",
|
|
1991
1991
|
css: Kl
|
|
1992
1992
|
});
|
|
1993
|
-
function
|
|
1993
|
+
function An(t) {
|
|
1994
1994
|
"@babel/helpers - typeof";
|
|
1995
|
-
return
|
|
1995
|
+
return An = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
1996
1996
|
return typeof e;
|
|
1997
1997
|
} : function(e) {
|
|
1998
1998
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
1999
|
-
},
|
|
1999
|
+
}, An(t);
|
|
2000
2000
|
}
|
|
2001
2001
|
function ua(t, e) {
|
|
2002
2002
|
var n = Object.keys(t);
|
|
@@ -2024,21 +2024,21 @@ function ql(t, e, n) {
|
|
|
2024
2024
|
}
|
|
2025
2025
|
function Yl(t) {
|
|
2026
2026
|
var e = Xl(t, "string");
|
|
2027
|
-
return
|
|
2027
|
+
return An(e) == "symbol" ? e : e + "";
|
|
2028
2028
|
}
|
|
2029
2029
|
function Xl(t, e) {
|
|
2030
|
-
if (
|
|
2030
|
+
if (An(t) != "object" || !t) return t;
|
|
2031
2031
|
var n = t[Symbol.toPrimitive];
|
|
2032
2032
|
if (n !== void 0) {
|
|
2033
2033
|
var r = n.call(t, e);
|
|
2034
|
-
if (
|
|
2034
|
+
if (An(r) != "object") return r;
|
|
2035
2035
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
2036
2036
|
}
|
|
2037
2037
|
return (e === "string" ? String : Number)(t);
|
|
2038
2038
|
}
|
|
2039
|
-
var
|
|
2039
|
+
var ii = {
|
|
2040
2040
|
name: "BaseIcon",
|
|
2041
|
-
extends:
|
|
2041
|
+
extends: br,
|
|
2042
2042
|
props: {
|
|
2043
2043
|
label: {
|
|
2044
2044
|
type: String,
|
|
@@ -2072,7 +2072,7 @@ var ai = {
|
|
|
2072
2072
|
}
|
|
2073
2073
|
}, co = {
|
|
2074
2074
|
name: "ChevronDownIcon",
|
|
2075
|
-
extends:
|
|
2075
|
+
extends: ii
|
|
2076
2076
|
};
|
|
2077
2077
|
function Zl(t) {
|
|
2078
2078
|
return tc(t) || ec(t) || Ql(t) || Jl();
|
|
@@ -2100,7 +2100,7 @@ function Yr(t, e) {
|
|
|
2100
2100
|
return r;
|
|
2101
2101
|
}
|
|
2102
2102
|
function nc(t, e, n, r, o, a) {
|
|
2103
|
-
return
|
|
2103
|
+
return C(), x("svg", O({
|
|
2104
2104
|
width: "14",
|
|
2105
2105
|
height: "14",
|
|
2106
2106
|
viewBox: "0 0 14 14",
|
|
@@ -2114,7 +2114,7 @@ function nc(t, e, n, r, o, a) {
|
|
|
2114
2114
|
co.render = nc;
|
|
2115
2115
|
var uo = {
|
|
2116
2116
|
name: "ChevronRightIcon",
|
|
2117
|
-
extends:
|
|
2117
|
+
extends: ii
|
|
2118
2118
|
};
|
|
2119
2119
|
function rc(t) {
|
|
2120
2120
|
return sc(t) || ic(t) || ac(t) || oc();
|
|
@@ -2142,7 +2142,7 @@ function Xr(t, e) {
|
|
|
2142
2142
|
return r;
|
|
2143
2143
|
}
|
|
2144
2144
|
function lc(t, e, n, r, o, a) {
|
|
2145
|
-
return
|
|
2145
|
+
return C(), x("svg", O({
|
|
2146
2146
|
width: "14",
|
|
2147
2147
|
height: "14",
|
|
2148
2148
|
viewBox: "0 0 14 14",
|
|
@@ -2358,7 +2358,7 @@ var cc = `
|
|
|
2358
2358
|
name: "panelmenu",
|
|
2359
2359
|
style: cc,
|
|
2360
2360
|
classes: uc
|
|
2361
|
-
}), Xn =
|
|
2361
|
+
}), Xn = Ya();
|
|
2362
2362
|
function Tn(t) {
|
|
2363
2363
|
"@babel/helpers - typeof";
|
|
2364
2364
|
return Tn = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
@@ -2457,7 +2457,7 @@ var B = {
|
|
|
2457
2457
|
_getPTValue: function() {
|
|
2458
2458
|
var e, n, r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "", l = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, s = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, i = function() {
|
|
2459
2459
|
var S = B._getOptionValue.apply(B, arguments);
|
|
2460
|
-
return Te(S) ||
|
|
2460
|
+
return Te(S) || Ga(S) ? {
|
|
2461
2461
|
class: S
|
|
2462
2462
|
} : S;
|
|
2463
2463
|
}, c = ((e = r.binding) === null || e === void 0 || (e = e.value) === null || e === void 0 ? void 0 : e.ptOptions) || ((n = r.$primevueConfig) === null || n === void 0 ? void 0 : n.ptOptions) || {}, u = c.mergeSections, m = u === void 0 ? !0 : u, f = c.mergeProps, p = f === void 0 ? !1 : f, w = s ? B._useDefaultPT(r, r.defaultPT(), i, a, l) : void 0, g = B._usePT(r, B._getPT(o, r.$name), i, a, H(H({}, l), {}, {
|
|
@@ -2533,7 +2533,7 @@ var B = {
|
|
|
2533
2533
|
}, a), L), X.setLoadedStyleName(o.$style.name);
|
|
2534
2534
|
}
|
|
2535
2535
|
if (!X.isStyleNameLoaded("layer-order")) {
|
|
2536
|
-
var
|
|
2536
|
+
var _, T, te = (_ = o.$style) === null || _ === void 0 || (T = _.getLayerOrderThemeCSS) === null || T === void 0 ? void 0 : T.call(_);
|
|
2537
2537
|
me.load(te, H({
|
|
2538
2538
|
name: "layer-order",
|
|
2539
2539
|
first: !0
|
|
@@ -2601,39 +2601,39 @@ var B = {
|
|
|
2601
2601
|
$attrSelector: (f = i.$pd) === null || f === void 0 || (f = f[e]) === null || f === void 0 ? void 0 : f.attrSelector,
|
|
2602
2602
|
/* computed instance variables */
|
|
2603
2603
|
defaultPT: function() {
|
|
2604
|
-
return B._getPT(y?.pt, void 0, function(
|
|
2604
|
+
return B._getPT(y?.pt, void 0, function(_) {
|
|
2605
2605
|
var T;
|
|
2606
|
-
return
|
|
2606
|
+
return _ == null || (T = _.directives) === null || T === void 0 ? void 0 : T[e];
|
|
2607
2607
|
});
|
|
2608
2608
|
},
|
|
2609
2609
|
isUnstyled: function() {
|
|
2610
|
-
var
|
|
2611
|
-
return ((
|
|
2610
|
+
var _, T;
|
|
2611
|
+
return ((_ = i._$instances[e]) === null || _ === void 0 || (_ = _.$binding) === null || _ === void 0 || (_ = _.value) === null || _ === void 0 ? void 0 : _.unstyled) !== void 0 ? (T = i._$instances[e]) === null || T === void 0 || (T = T.$binding) === null || T === void 0 || (T = T.value) === null || T === void 0 ? void 0 : T.unstyled : y?.unstyled;
|
|
2612
2612
|
},
|
|
2613
2613
|
theme: function() {
|
|
2614
|
-
var
|
|
2615
|
-
return (
|
|
2614
|
+
var _;
|
|
2615
|
+
return (_ = i._$instances[e]) === null || _ === void 0 || (_ = _.$primevueConfig) === null || _ === void 0 ? void 0 : _.theme;
|
|
2616
2616
|
},
|
|
2617
2617
|
preset: function() {
|
|
2618
|
-
var
|
|
2619
|
-
return (
|
|
2618
|
+
var _;
|
|
2619
|
+
return (_ = i._$instances[e]) === null || _ === void 0 || (_ = _.$binding) === null || _ === void 0 || (_ = _.value) === null || _ === void 0 ? void 0 : _.dt;
|
|
2620
2620
|
},
|
|
2621
2621
|
/* instance's methods */
|
|
2622
2622
|
ptm: function() {
|
|
2623
|
-
var
|
|
2624
|
-
return B._getPTValue(i._$instances[e], (
|
|
2623
|
+
var _, T = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", te = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
2624
|
+
return B._getPTValue(i._$instances[e], (_ = i._$instances[e]) === null || _ === void 0 || (_ = _.$binding) === null || _ === void 0 || (_ = _.value) === null || _ === void 0 ? void 0 : _.pt, T, H({}, te));
|
|
2625
2625
|
},
|
|
2626
2626
|
ptmo: function() {
|
|
2627
|
-
var
|
|
2628
|
-
return B._getPTValue(i._$instances[e],
|
|
2627
|
+
var _ = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, T = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", te = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
2628
|
+
return B._getPTValue(i._$instances[e], _, T, te, !1);
|
|
2629
2629
|
},
|
|
2630
2630
|
cx: function() {
|
|
2631
|
-
var
|
|
2632
|
-
return (
|
|
2631
|
+
var _, T, te = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", ue = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
2632
|
+
return (_ = i._$instances[e]) !== null && _ !== void 0 && _.isUnstyled() ? void 0 : B._getOptionValue((T = i._$instances[e]) === null || T === void 0 || (T = T.$style) === null || T === void 0 ? void 0 : T.classes, te, H({}, ue));
|
|
2633
2633
|
},
|
|
2634
2634
|
sx: function() {
|
|
2635
|
-
var
|
|
2636
|
-
return te ? B._getOptionValue((
|
|
2635
|
+
var _, T = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", te = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, ue = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
2636
|
+
return te ? B._getOptionValue((_ = i._$instances[e]) === null || _ === void 0 || (_ = _.$style) === null || _ === void 0 ? void 0 : _.inlineStyles, T, H({}, ue)) : void 0;
|
|
2637
2637
|
}
|
|
2638
2638
|
}, S), i.$instance = i._$instances[e], (p = (w = i.$instance)[s]) === null || p === void 0 || p.call(w, i, c, u, m), i["$".concat(e)] = i.$instance, B._hook(e, s, i, c, u, m), i.$pd || (i.$pd = {}), i.$pd[e] = H(H({}, (g = i.$pd) === null || g === void 0 ? void 0 : g[e]), {}, {
|
|
2639
2639
|
name: e,
|
|
@@ -2734,7 +2734,7 @@ function In(t) {
|
|
|
2734
2734
|
}, In(t);
|
|
2735
2735
|
}
|
|
2736
2736
|
function Cc(t) {
|
|
2737
|
-
return
|
|
2737
|
+
return Ac(t) || xc(t) || Sc(t) || _c();
|
|
2738
2738
|
}
|
|
2739
2739
|
function _c() {
|
|
2740
2740
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
@@ -2747,10 +2747,10 @@ function Sc(t, e) {
|
|
|
2747
2747
|
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) ? Jr(t, e) : void 0;
|
|
2748
2748
|
}
|
|
2749
2749
|
}
|
|
2750
|
-
function
|
|
2750
|
+
function xc(t) {
|
|
2751
2751
|
if (typeof Symbol < "u" && t[Symbol.iterator] != null || t["@@iterator"] != null) return Array.from(t);
|
|
2752
2752
|
}
|
|
2753
|
-
function
|
|
2753
|
+
function Ac(t) {
|
|
2754
2754
|
if (Array.isArray(t)) return Jr(t);
|
|
2755
2755
|
}
|
|
2756
2756
|
function Jr(t, e) {
|
|
@@ -2810,18 +2810,18 @@ var Ec = kc.extend("ripple", {
|
|
|
2810
2810
|
onMouseDown: function(e) {
|
|
2811
2811
|
var n = this, r = e.currentTarget, o = this.getInk(r);
|
|
2812
2812
|
if (!(!o || getComputedStyle(o, null).display === "none")) {
|
|
2813
|
-
if (!this.isUnstyled() &&
|
|
2813
|
+
if (!this.isUnstyled() && Lr(o, "p-ink-active"), o.setAttribute("data-p-ink-active", "false"), !Go(o) && !qo(o)) {
|
|
2814
2814
|
var a = Math.max(el(r), al(r));
|
|
2815
2815
|
o.style.height = a + "px", o.style.width = a + "px";
|
|
2816
2816
|
}
|
|
2817
2817
|
var l = ol(r), s = e.pageX - l.left + document.body.scrollTop - qo(o) / 2, i = e.pageY - l.top + document.body.scrollLeft - Go(o) / 2;
|
|
2818
2818
|
o.style.top = i + "px", o.style.left = s + "px", !this.isUnstyled() && Qs(o, "p-ink-active"), o.setAttribute("data-p-ink-active", "true"), this.timeout = setTimeout(function() {
|
|
2819
|
-
o && (!n.isUnstyled() &&
|
|
2819
|
+
o && (!n.isUnstyled() && Lr(o, "p-ink-active"), o.setAttribute("data-p-ink-active", "false"));
|
|
2820
2820
|
}, 401);
|
|
2821
2821
|
}
|
|
2822
2822
|
},
|
|
2823
2823
|
onAnimationEnd: function(e) {
|
|
2824
|
-
this.timeout && clearTimeout(this.timeout), !this.isUnstyled() &&
|
|
2824
|
+
this.timeout && clearTimeout(this.timeout), !this.isUnstyled() && Lr(e.currentTarget, "p-ink-active"), e.currentTarget.setAttribute("data-p-ink-active", "false");
|
|
2825
2825
|
},
|
|
2826
2826
|
getInk: function(e) {
|
|
2827
2827
|
return e && e.children ? Cc(e.children).find(function(n) {
|
|
@@ -2831,7 +2831,7 @@ var Ec = kc.extend("ripple", {
|
|
|
2831
2831
|
}
|
|
2832
2832
|
}), Pc = {
|
|
2833
2833
|
name: "BasePanelMenu",
|
|
2834
|
-
extends:
|
|
2834
|
+
extends: br,
|
|
2835
2835
|
props: {
|
|
2836
2836
|
model: {
|
|
2837
2837
|
type: Array,
|
|
@@ -2857,10 +2857,10 @@ var Ec = kc.extend("ripple", {
|
|
|
2857
2857
|
$parentInstance: this
|
|
2858
2858
|
};
|
|
2859
2859
|
}
|
|
2860
|
-
},
|
|
2860
|
+
}, si = {
|
|
2861
2861
|
name: "PanelMenuSub",
|
|
2862
2862
|
hostName: "PanelMenu",
|
|
2863
|
-
extends:
|
|
2863
|
+
extends: br,
|
|
2864
2864
|
emits: ["item-toggle", "item-mousemove"],
|
|
2865
2865
|
props: {
|
|
2866
2866
|
panelId: {
|
|
@@ -2990,14 +2990,14 @@ var Ec = kc.extend("ripple", {
|
|
|
2990
2990
|
}
|
|
2991
2991
|
}, $c = ["tabindex"], Lc = ["id", "aria-label", "aria-expanded", "aria-level", "aria-setsize", "aria-posinset", "data-p-focused", "data-p-disabled"], Oc = ["onClick", "onMousemove"], Bc = ["href", "target"];
|
|
2992
2992
|
function Mc(t, e, n, r, o, a) {
|
|
2993
|
-
var l = Pn("PanelMenuSub", !0), s =
|
|
2994
|
-
return
|
|
2993
|
+
var l = Pn("PanelMenuSub", !0), s = Ua("ripple");
|
|
2994
|
+
return C(), x("ul", {
|
|
2995
2995
|
class: N(t.cx("submenu")),
|
|
2996
2996
|
tabindex: n.tabindex
|
|
2997
|
-
}, [(
|
|
2998
|
-
return
|
|
2997
|
+
}, [(C(!0), x(ke, null, It(n.items, function(i, c) {
|
|
2998
|
+
return C(), x(ke, {
|
|
2999
2999
|
key: a.getItemKey(i)
|
|
3000
|
-
}, [a.isItemVisible(i) && !a.getItemProp(i, "separator") ? (
|
|
3000
|
+
}, [a.isItemVisible(i) && !a.getItemProp(i, "separator") ? (C(), x("li", O({
|
|
3001
3001
|
key: 0,
|
|
3002
3002
|
id: a.getItemId(i),
|
|
3003
3003
|
class: [t.cx("item", {
|
|
@@ -3025,7 +3025,7 @@ function Mc(t, e, n, r, o, a) {
|
|
|
3025
3025
|
}
|
|
3026
3026
|
}, {
|
|
3027
3027
|
ref_for: !0
|
|
3028
|
-
}, a.getPTOptions("itemContent", i, c)), [n.templates.item ? (
|
|
3028
|
+
}, a.getPTOptions("itemContent", i, c)), [n.templates.item ? (C(), ee(ht(n.templates.item), {
|
|
3029
3029
|
key: 1,
|
|
3030
3030
|
item: i.item,
|
|
3031
3031
|
root: !1,
|
|
@@ -3033,7 +3033,7 @@ function Mc(t, e, n, r, o, a) {
|
|
|
3033
3033
|
hasSubmenu: a.isItemGroup(i),
|
|
3034
3034
|
label: a.getItemLabel(i),
|
|
3035
3035
|
props: a.getMenuItemProps(i, c)
|
|
3036
|
-
}, null, 8, ["item", "active", "hasSubmenu", "label", "props"])) :
|
|
3036
|
+
}, null, 8, ["item", "active", "hasSubmenu", "label", "props"])) : or((C(), x("a", O({
|
|
3037
3037
|
key: 0,
|
|
3038
3038
|
href: a.getItemProp(i, "url"),
|
|
3039
3039
|
class: t.cx("itemLink"),
|
|
@@ -3041,24 +3041,24 @@ function Mc(t, e, n, r, o, a) {
|
|
|
3041
3041
|
tabindex: "-1"
|
|
3042
3042
|
}, {
|
|
3043
3043
|
ref_for: !0
|
|
3044
|
-
}, a.getPTOptions("itemLink", i, c)), [a.isItemGroup(i) ? (
|
|
3044
|
+
}, a.getPTOptions("itemLink", i, c)), [a.isItemGroup(i) ? (C(), x(ke, {
|
|
3045
3045
|
key: 0
|
|
3046
|
-
}, [n.templates.submenuicon ? (
|
|
3046
|
+
}, [n.templates.submenuicon ? (C(), ee(ht(n.templates.submenuicon), O({
|
|
3047
3047
|
key: 0,
|
|
3048
3048
|
class: t.cx("submenuIcon"),
|
|
3049
3049
|
active: a.isItemActive(i)
|
|
3050
3050
|
}, {
|
|
3051
3051
|
ref_for: !0
|
|
3052
|
-
}, a.getPTOptions("submenuIcon", i, c)), null, 16, ["class", "active"])) : (
|
|
3052
|
+
}, a.getPTOptions("submenuIcon", i, c)), null, 16, ["class", "active"])) : (C(), ee(ht(a.isItemActive(i) ? "ChevronDownIcon" : "ChevronRightIcon"), O({
|
|
3053
3053
|
key: 1,
|
|
3054
3054
|
class: t.cx("submenuIcon")
|
|
3055
3055
|
}, {
|
|
3056
3056
|
ref_for: !0
|
|
3057
|
-
}, a.getPTOptions("submenuIcon", i, c)), null, 16, ["class"]))], 64)) : F("", !0), n.templates.itemicon ? (
|
|
3057
|
+
}, a.getPTOptions("submenuIcon", i, c)), null, 16, ["class"]))], 64)) : F("", !0), n.templates.itemicon ? (C(), ee(ht(n.templates.itemicon), {
|
|
3058
3058
|
key: 1,
|
|
3059
3059
|
item: i.item,
|
|
3060
3060
|
class: N(t.cx("itemIcon"))
|
|
3061
|
-
}, null, 8, ["item", "class"])) : a.getItemProp(i, "icon") ? (
|
|
3061
|
+
}, null, 8, ["item", "class"])) : a.getItemProp(i, "icon") ? (C(), x("span", O({
|
|
3062
3062
|
key: 2,
|
|
3063
3063
|
class: [t.cx("itemIcon"), a.getItemProp(i, "icon")]
|
|
3064
3064
|
}, {
|
|
@@ -3067,13 +3067,13 @@ function Mc(t, e, n, r, o, a) {
|
|
|
3067
3067
|
class: t.cx("itemLabel")
|
|
3068
3068
|
}, {
|
|
3069
3069
|
ref_for: !0
|
|
3070
|
-
}, a.getPTOptions("itemLabel", i, c)),
|
|
3070
|
+
}, a.getPTOptions("itemLabel", i, c)), W(a.getItemLabel(i)), 17)], 16, Bc)), [[s]])], 16, Oc), q(ao, O({
|
|
3071
3071
|
name: "p-collapsible"
|
|
3072
3072
|
}, {
|
|
3073
3073
|
ref_for: !0
|
|
3074
3074
|
}, t.ptm("transition")), {
|
|
3075
3075
|
default: le(function() {
|
|
3076
|
-
return [
|
|
3076
|
+
return [or(b("div", O({
|
|
3077
3077
|
class: t.cx("contentContainer")
|
|
3078
3078
|
}, {
|
|
3079
3079
|
ref_for: !0
|
|
@@ -3081,7 +3081,7 @@ function Mc(t, e, n, r, o, a) {
|
|
|
3081
3081
|
class: t.cx("contentWrapper")
|
|
3082
3082
|
}, {
|
|
3083
3083
|
ref_for: !0
|
|
3084
|
-
}, t.ptm("contentWrapper")), [a.isItemVisible(i) && a.isItemGroup(i) ? (
|
|
3084
|
+
}, t.ptm("contentWrapper")), [a.isItemVisible(i) && a.isItemGroup(i) ? (C(), ee(l, O({
|
|
3085
3085
|
key: 0,
|
|
3086
3086
|
id: a.getItemId(i) + "_list",
|
|
3087
3087
|
role: "group",
|
|
@@ -3099,10 +3099,10 @@ function Mc(t, e, n, r, o, a) {
|
|
|
3099
3099
|
unstyled: t.unstyled
|
|
3100
3100
|
}, {
|
|
3101
3101
|
ref_for: !0
|
|
3102
|
-
}, t.ptm("submenu")), null, 16, ["id", "panelId", "focusedItemId", "items", "level", "templates", "activeItemPath", "onItemToggle", "pt", "unstyled"])) : F("", !0)], 16)], 16), [[
|
|
3102
|
+
}, t.ptm("submenu")), null, 16, ["id", "panelId", "focusedItemId", "items", "level", "templates", "activeItemPath", "onItemToggle", "pt", "unstyled"])) : F("", !0)], 16)], 16), [[Va, a.isItemActive(i)]])];
|
|
3103
3103
|
}),
|
|
3104
3104
|
_: 2
|
|
3105
|
-
}, 1040)], 16, Lc)) : F("", !0), a.isItemVisible(i) && a.getItemProp(i, "separator") ? (
|
|
3105
|
+
}, 1040)], 16, Lc)) : F("", !0), a.isItemVisible(i) && a.getItemProp(i, "separator") ? (C(), x("li", O({
|
|
3106
3106
|
key: 1,
|
|
3107
3107
|
style: a.getItemProp(i, "style"),
|
|
3108
3108
|
class: [t.cx("separator"), a.getItemProp(i, "class")],
|
|
@@ -3112,7 +3112,7 @@ function Mc(t, e, n, r, o, a) {
|
|
|
3112
3112
|
}, t.ptm("separator")), null, 16)) : F("", !0)], 64);
|
|
3113
3113
|
}), 128))], 10, $c);
|
|
3114
3114
|
}
|
|
3115
|
-
|
|
3115
|
+
si.render = Mc;
|
|
3116
3116
|
function Dc(t, e) {
|
|
3117
3117
|
return Hc(t) || jc(t, e) || Nc(t, e) || Rc();
|
|
3118
3118
|
}
|
|
@@ -3153,10 +3153,10 @@ function jc(t, e) {
|
|
|
3153
3153
|
function Hc(t) {
|
|
3154
3154
|
if (Array.isArray(t)) return t;
|
|
3155
3155
|
}
|
|
3156
|
-
var
|
|
3156
|
+
var li = {
|
|
3157
3157
|
name: "PanelMenuList",
|
|
3158
3158
|
hostName: "PanelMenu",
|
|
3159
|
-
extends:
|
|
3159
|
+
extends: br,
|
|
3160
3160
|
emits: ["item-toggle", "header-focus"],
|
|
3161
3161
|
props: {
|
|
3162
3162
|
panelId: {
|
|
@@ -3320,7 +3320,7 @@ var si = {
|
|
|
3320
3320
|
},
|
|
3321
3321
|
onEnterKey: function(e) {
|
|
3322
3322
|
if (M(this.focusedItem)) {
|
|
3323
|
-
var n =
|
|
3323
|
+
var n = ze(this.$el, 'li[id="'.concat("".concat(this.focusedItemId), '"]')), r = n && (ze(n, '[data-pc-section="itemlink"]') || ze(n, "a,button"));
|
|
3324
3324
|
r ? r.click() : n && n.click();
|
|
3325
3325
|
}
|
|
3326
3326
|
e.preventDefault();
|
|
@@ -3416,7 +3416,7 @@ var si = {
|
|
|
3416
3416
|
});
|
|
3417
3417
|
},
|
|
3418
3418
|
scrollInView: function() {
|
|
3419
|
-
var e =
|
|
3419
|
+
var e = ze(this.$el, 'li[id="'.concat("".concat(this.focusedItemId), '"]'));
|
|
3420
3420
|
e && e.scrollIntoView && e.scrollIntoView({
|
|
3421
3421
|
block: "nearest",
|
|
3422
3422
|
inline: "start"
|
|
@@ -3476,12 +3476,12 @@ var si = {
|
|
|
3476
3476
|
}
|
|
3477
3477
|
},
|
|
3478
3478
|
components: {
|
|
3479
|
-
PanelMenuSub:
|
|
3479
|
+
PanelMenuSub: si
|
|
3480
3480
|
}
|
|
3481
3481
|
};
|
|
3482
3482
|
function Fc(t, e, n, r, o, a) {
|
|
3483
3483
|
var l = Pn("PanelMenuSub");
|
|
3484
|
-
return
|
|
3484
|
+
return C(), ee(l, O({
|
|
3485
3485
|
id: n.panelId + "_list",
|
|
3486
3486
|
class: t.cx("rootList"),
|
|
3487
3487
|
role: "tree",
|
|
@@ -3501,7 +3501,7 @@ function Fc(t, e, n, r, o, a) {
|
|
|
3501
3501
|
unstyled: t.unstyled
|
|
3502
3502
|
}, t.ptm("rootList")), null, 16, ["id", "class", "aria-activedescendant", "panelId", "focusedItemId", "items", "templates", "activeItemPath", "onFocus", "onBlur", "onKeydown", "onItemToggle", "onItemMousemove", "pt", "unstyled"]);
|
|
3503
3503
|
}
|
|
3504
|
-
|
|
3504
|
+
li.render = Fc;
|
|
3505
3505
|
function En(t) {
|
|
3506
3506
|
"@babel/helpers - typeof";
|
|
3507
3507
|
return En = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
@@ -3548,7 +3548,7 @@ function Wc(t, e) {
|
|
|
3548
3548
|
}
|
|
3549
3549
|
return (e === "string" ? String : Number)(t);
|
|
3550
3550
|
}
|
|
3551
|
-
var
|
|
3551
|
+
var ci = {
|
|
3552
3552
|
name: "PanelMenu",
|
|
3553
3553
|
extends: Pc,
|
|
3554
3554
|
inheritAttrs: !1,
|
|
@@ -3637,14 +3637,14 @@ var li = {
|
|
|
3637
3637
|
}
|
|
3638
3638
|
},
|
|
3639
3639
|
onHeaderArrowDownKey: function(e) {
|
|
3640
|
-
var n = vn(e.currentTarget, "data-p-active") === !0 ?
|
|
3640
|
+
var n = vn(e.currentTarget, "data-p-active") === !0 ? ze(e.currentTarget.nextElementSibling, '[data-pc-section="rootlist"]') : null;
|
|
3641
3641
|
n ? gn(n) : this.updateFocusedHeader({
|
|
3642
3642
|
originalEvent: e,
|
|
3643
3643
|
focusOnNext: !0
|
|
3644
3644
|
}), e.preventDefault();
|
|
3645
3645
|
},
|
|
3646
3646
|
onHeaderArrowUpKey: function(e) {
|
|
3647
|
-
var n = this.findPrevHeader(e.currentTarget.parentElement) || this.findLastHeader(), r = vn(n, "data-p-active") === !0 ?
|
|
3647
|
+
var n = this.findPrevHeader(e.currentTarget.parentElement) || this.findLastHeader(), r = vn(n, "data-p-active") === !0 ? ze(n.nextElementSibling, '[data-pc-section="rootlist"]') : null;
|
|
3648
3648
|
r ? gn(r) : this.updateFocusedHeader({
|
|
3649
3649
|
originalEvent: e,
|
|
3650
3650
|
focusOnNext: !1
|
|
@@ -3657,15 +3657,15 @@ var li = {
|
|
|
3657
3657
|
this.changeFocusedHeader(e, this.findLastHeader()), e.preventDefault();
|
|
3658
3658
|
},
|
|
3659
3659
|
onHeaderEnterKey: function(e, n) {
|
|
3660
|
-
var r =
|
|
3660
|
+
var r = ze(e.currentTarget, '[data-pc-section="headerlink"]');
|
|
3661
3661
|
r ? r.click() : this.onHeaderClick(e, n), e.preventDefault();
|
|
3662
3662
|
},
|
|
3663
3663
|
findNextHeader: function(e) {
|
|
3664
|
-
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, r = n ? e : e.nextElementSibling, o =
|
|
3664
|
+
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, r = n ? e : e.nextElementSibling, o = ze(r, '[data-pc-section="header"]');
|
|
3665
3665
|
return o ? vn(o, "data-p-disabled") ? this.findNextHeader(o.parentElement) : o : null;
|
|
3666
3666
|
},
|
|
3667
3667
|
findPrevHeader: function(e) {
|
|
3668
|
-
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, r = n ? e : e.previousElementSibling, o =
|
|
3668
|
+
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, r = n ? e : e.previousElementSibling, o = ze(r, '[data-pc-section="header"]');
|
|
3669
3669
|
return o ? vn(o, "data-p-disabled") ? this.findPrevHeader(o.parentElement) : o : null;
|
|
3670
3670
|
},
|
|
3671
3671
|
findFirstHeader: function() {
|
|
@@ -3675,7 +3675,7 @@ var li = {
|
|
|
3675
3675
|
return this.findPrevHeader(this.$el.lastElementChild, !0);
|
|
3676
3676
|
},
|
|
3677
3677
|
updateFocusedHeader: function(e) {
|
|
3678
|
-
var n = e.originalEvent, r = e.focusOnNext, o = e.selfCheck, a = n.currentTarget.closest('[data-pc-section="panel"]'), l = o ?
|
|
3678
|
+
var n = e.originalEvent, r = e.focusOnNext, o = e.selfCheck, a = n.currentTarget.closest('[data-pc-section="panel"]'), l = o ? ze(a, '[data-pc-section="header"]') : r ? this.findNextHeader(a) : this.findPrevHeader(a);
|
|
3679
3679
|
l ? this.changeFocusedHeader(n, l) : r ? this.onHeaderHomeKey(n) : this.onHeaderEndKey(n);
|
|
3680
3680
|
},
|
|
3681
3681
|
changeActiveItem: function(e, n) {
|
|
@@ -3717,20 +3717,20 @@ var li = {
|
|
|
3717
3717
|
}
|
|
3718
3718
|
},
|
|
3719
3719
|
components: {
|
|
3720
|
-
PanelMenuList:
|
|
3720
|
+
PanelMenuList: li,
|
|
3721
3721
|
ChevronRightIcon: uo,
|
|
3722
3722
|
ChevronDownIcon: co
|
|
3723
3723
|
}
|
|
3724
3724
|
}, Kc = ["id"], Gc = ["id", "tabindex", "aria-label", "aria-expanded", "aria-controls", "aria-disabled", "onClick", "onKeydown", "data-p-active", "data-p-disabled"], qc = ["href"], Yc = ["id", "aria-labelledby"];
|
|
3725
3725
|
function Xc(t, e, n, r, o, a) {
|
|
3726
3726
|
var l = Pn("PanelMenuList");
|
|
3727
|
-
return
|
|
3727
|
+
return C(), x("div", O({
|
|
3728
3728
|
id: t.$id,
|
|
3729
3729
|
class: t.cx("root")
|
|
3730
|
-
}, t.ptmi("root")), [(
|
|
3731
|
-
return
|
|
3730
|
+
}, t.ptmi("root")), [(C(!0), x(ke, null, It(t.model, function(s, i) {
|
|
3731
|
+
return C(), x(ke, {
|
|
3732
3732
|
key: a.getPanelKey(i)
|
|
3733
|
-
}, [a.isItemVisible(s) ? (
|
|
3733
|
+
}, [a.isItemVisible(s) ? (C(), x("div", O({
|
|
3734
3734
|
key: 0,
|
|
3735
3735
|
style: a.getItemProp(s, "style"),
|
|
3736
3736
|
class: [t.cx("panel"), a.getItemProp(s, "class")]
|
|
@@ -3762,7 +3762,7 @@ function Xc(t, e, n, r, o, a) {
|
|
|
3762
3762
|
class: t.cx("headerContent")
|
|
3763
3763
|
}, {
|
|
3764
3764
|
ref_for: !0
|
|
3765
|
-
}, a.getPTOptions("headerContent", s, i)), [t.$slots.item ? (
|
|
3765
|
+
}, a.getPTOptions("headerContent", s, i)), [t.$slots.item ? (C(), ee(ht(t.$slots.item), {
|
|
3766
3766
|
key: 1,
|
|
3767
3767
|
item: s,
|
|
3768
3768
|
root: !0,
|
|
@@ -3770,27 +3770,27 @@ function Xc(t, e, n, r, o, a) {
|
|
|
3770
3770
|
hasSubmenu: a.isItemGroup(s),
|
|
3771
3771
|
label: a.getItemLabel(s),
|
|
3772
3772
|
props: a.getMenuItemProps(s, i)
|
|
3773
|
-
}, null, 8, ["item", "active", "hasSubmenu", "label", "props"])) : (
|
|
3773
|
+
}, null, 8, ["item", "active", "hasSubmenu", "label", "props"])) : (C(), x("a", O({
|
|
3774
3774
|
key: 0,
|
|
3775
3775
|
href: a.getItemProp(s, "url"),
|
|
3776
3776
|
class: t.cx("headerLink"),
|
|
3777
3777
|
tabindex: -1
|
|
3778
3778
|
}, {
|
|
3779
3779
|
ref_for: !0
|
|
3780
|
-
}, a.getPTOptions("headerLink", s, i)), [a.getItemProp(s, "items") ?
|
|
3780
|
+
}, a.getPTOptions("headerLink", s, i)), [a.getItemProp(s, "items") ? K(t.$slots, "submenuicon", {
|
|
3781
3781
|
key: 0,
|
|
3782
3782
|
active: a.isItemActive(s)
|
|
3783
3783
|
}, function() {
|
|
3784
|
-
return [(
|
|
3784
|
+
return [(C(), ee(ht(a.isItemActive(s) ? "ChevronDownIcon" : "ChevronRightIcon"), O({
|
|
3785
3785
|
class: t.cx("submenuIcon")
|
|
3786
3786
|
}, {
|
|
3787
3787
|
ref_for: !0
|
|
3788
3788
|
}, a.getPTOptions("submenuIcon", s, i)), null, 16, ["class"]))];
|
|
3789
|
-
}) : F("", !0), t.$slots.headericon ? (
|
|
3789
|
+
}) : F("", !0), t.$slots.headericon ? (C(), ee(ht(t.$slots.headericon), {
|
|
3790
3790
|
key: 1,
|
|
3791
3791
|
item: s,
|
|
3792
3792
|
class: N([t.cx("headerIcon"), a.getItemProp(s, "icon")])
|
|
3793
|
-
}, null, 8, ["item", "class"])) : a.getItemProp(s, "icon") ? (
|
|
3793
|
+
}, null, 8, ["item", "class"])) : a.getItemProp(s, "icon") ? (C(), x("span", O({
|
|
3794
3794
|
key: 2,
|
|
3795
3795
|
class: [t.cx("headerIcon"), a.getItemProp(s, "icon")]
|
|
3796
3796
|
}, {
|
|
@@ -3799,13 +3799,13 @@ function Xc(t, e, n, r, o, a) {
|
|
|
3799
3799
|
class: t.cx("headerLabel")
|
|
3800
3800
|
}, {
|
|
3801
3801
|
ref_for: !0
|
|
3802
|
-
}, a.getPTOptions("headerLabel", s, i)),
|
|
3802
|
+
}, a.getPTOptions("headerLabel", s, i)), W(a.getItemLabel(s)), 17)], 16, qc))], 16)], 16, Gc), q(ao, O({
|
|
3803
3803
|
name: "p-collapsible"
|
|
3804
3804
|
}, {
|
|
3805
3805
|
ref_for: !0
|
|
3806
3806
|
}, t.ptm("transition")), {
|
|
3807
3807
|
default: le(function() {
|
|
3808
|
-
return [
|
|
3808
|
+
return [or(b("div", O({
|
|
3809
3809
|
id: a.getContentId(i),
|
|
3810
3810
|
class: t.cx("contentContainer"),
|
|
3811
3811
|
role: "region",
|
|
@@ -3816,7 +3816,7 @@ function Xc(t, e, n, r, o, a) {
|
|
|
3816
3816
|
class: t.cx("contentWrapper")
|
|
3817
3817
|
}, {
|
|
3818
3818
|
ref_for: !0
|
|
3819
|
-
}, t.ptm("contentWrapper")), [a.getItemProp(s, "items") ? (
|
|
3819
|
+
}, t.ptm("contentWrapper")), [a.getItemProp(s, "items") ? (C(), x("div", O({
|
|
3820
3820
|
key: 0,
|
|
3821
3821
|
class: t.cx("content")
|
|
3822
3822
|
}, {
|
|
@@ -3830,13 +3830,13 @@ function Xc(t, e, n, r, o, a) {
|
|
|
3830
3830
|
onHeaderFocus: a.updateFocusedHeader,
|
|
3831
3831
|
pt: t.pt,
|
|
3832
3832
|
unstyled: t.unstyled
|
|
3833
|
-
}, null, 8, ["panelId", "items", "templates", "expandedKeys", "onItemToggle", "onHeaderFocus", "pt", "unstyled"])], 16)) : F("", !0)], 16)], 16, Yc), [[
|
|
3833
|
+
}, null, 8, ["panelId", "items", "templates", "expandedKeys", "onItemToggle", "onHeaderFocus", "pt", "unstyled"])], 16)) : F("", !0)], 16)], 16, Yc), [[Va, a.isItemActive(s)]])];
|
|
3834
3834
|
}),
|
|
3835
3835
|
_: 2
|
|
3836
3836
|
}, 1040)], 16)) : F("", !0)], 64);
|
|
3837
3837
|
}), 128))], 16, Kc);
|
|
3838
3838
|
}
|
|
3839
|
-
|
|
3839
|
+
ci.render = Xc;
|
|
3840
3840
|
const Zc = { class: "panel-menu-wrapper select-none" }, Jc = ["data-active", "onClick"], Qc = {
|
|
3841
3841
|
key: 0,
|
|
3842
3842
|
class: "material-symbols-outlined item-menu-icon-left"
|
|
@@ -3849,7 +3849,7 @@ const Zc = { class: "panel-menu-wrapper select-none" }, Jc = ["data-active", "on
|
|
|
3849
3849
|
}, au = {
|
|
3850
3850
|
key: 0,
|
|
3851
3851
|
class: "material-symbols-outlined item-menu-icon-left"
|
|
3852
|
-
}, iu = ["textContent"], su = /* @__PURE__ */
|
|
3852
|
+
}, iu = ["textContent"], su = /* @__PURE__ */ ne({
|
|
3853
3853
|
__name: "NavMenu",
|
|
3854
3854
|
props: {
|
|
3855
3855
|
items: {}
|
|
@@ -3862,14 +3862,14 @@ const Zc = { class: "panel-menu-wrapper select-none" }, Jc = ["data-active", "on
|
|
|
3862
3862
|
}, o = (s) => typeof s.label == "function" ? s.label() : s.label ?? "Item", a = (s, i, c) => s.to ? (s.exact = s.exact ?? !1, s.exact ? c : i) : !1, l = Z(() => e.items.filter((s) => s.visible === !1 ? !1 : typeof s.visible == "function" ? s.visible() === !0 : !0));
|
|
3863
3863
|
return (s, i) => {
|
|
3864
3864
|
const c = Pn("router-link");
|
|
3865
|
-
return
|
|
3866
|
-
q($(
|
|
3865
|
+
return C(), x("div", Zc, [
|
|
3866
|
+
q($(ci), {
|
|
3867
3867
|
model: l.value,
|
|
3868
3868
|
unstyled: !0,
|
|
3869
3869
|
multiple: !0
|
|
3870
3870
|
}, {
|
|
3871
3871
|
item: le(({ item: u, active: m }) => [
|
|
3872
|
-
u.to ? (
|
|
3872
|
+
u.to ? (C(), ee(c, {
|
|
3873
3873
|
key: 0,
|
|
3874
3874
|
to: u.to,
|
|
3875
3875
|
custom: ""
|
|
@@ -3885,26 +3885,26 @@ const Zc = { class: "panel-menu-wrapper select-none" }, Jc = ["data-active", "on
|
|
|
3885
3885
|
"data-active": a(u, w, p),
|
|
3886
3886
|
onClick: Wo((g) => n(u, f), ["prevent"])
|
|
3887
3887
|
}, [
|
|
3888
|
-
u.icon ? (
|
|
3888
|
+
u.icon ? (C(), x("span", Qc, W(u.icon), 1)) : F("", !0),
|
|
3889
3889
|
b("span", {
|
|
3890
|
-
textContent:
|
|
3890
|
+
textContent: W(o(u))
|
|
3891
3891
|
}, null, 8, eu)
|
|
3892
3892
|
], 10, Jc)
|
|
3893
3893
|
]),
|
|
3894
3894
|
_: 2
|
|
3895
|
-
}, 1032, ["to"])) : typeof u.command == "function" ? (
|
|
3895
|
+
}, 1032, ["to"])) : typeof u.command == "function" ? (C(), x("span", {
|
|
3896
3896
|
key: 1,
|
|
3897
3897
|
class: N(["item-menu", { disabled: u.disabled }]),
|
|
3898
3898
|
onClick: Wo((f) => r(f, u), ["stop"])
|
|
3899
3899
|
}, [
|
|
3900
|
-
u.icon ? (
|
|
3900
|
+
u.icon ? (C(), x("span", nu, W(u.icon), 1)) : F("", !0),
|
|
3901
3901
|
b("span", {
|
|
3902
|
-
textContent:
|
|
3902
|
+
textContent: W(o(u))
|
|
3903
3903
|
}, null, 8, ru)
|
|
3904
|
-
], 10, tu)) : (
|
|
3905
|
-
u.icon ? (
|
|
3904
|
+
], 10, tu)) : (C(), x("a", ou, [
|
|
3905
|
+
u.icon ? (C(), x("span", au, W(u.icon), 1)) : F("", !0),
|
|
3906
3906
|
b("span", {
|
|
3907
|
-
textContent:
|
|
3907
|
+
textContent: W(o(u))
|
|
3908
3908
|
}, null, 8, iu),
|
|
3909
3909
|
i[0] || (i[0] = b("div", { class: "sep" }, null, -1)),
|
|
3910
3910
|
b("span", {
|
|
@@ -3917,8 +3917,8 @@ const Zc = { class: "panel-menu-wrapper select-none" }, Jc = ["data-active", "on
|
|
|
3917
3917
|
]);
|
|
3918
3918
|
};
|
|
3919
3919
|
}
|
|
3920
|
-
}),
|
|
3921
|
-
function
|
|
3920
|
+
}), Jp = /* @__PURE__ */ je(su, [["__scopeId", "data-v-c92c6de2"]]);
|
|
3921
|
+
function Mr(t) {
|
|
3922
3922
|
let e = t instanceof HTMLElement ? t : null;
|
|
3923
3923
|
for (; e && e.getBoundingClientRect; ) {
|
|
3924
3924
|
const n = e.getBoundingClientRect();
|
|
@@ -3932,15 +3932,15 @@ function Br(t) {
|
|
|
3932
3932
|
}
|
|
3933
3933
|
function lu(t) {
|
|
3934
3934
|
const e = R(!1), n = R(null), r = R({ top: "0px", left: "0px", zIndex: "0" }), o = R(!1), a = R(!1), l = (m) => {
|
|
3935
|
-
!m || !(m instanceof HTMLElement) || (n.value =
|
|
3935
|
+
!m || !(m instanceof HTMLElement) || (n.value = Mr(m), n.value && (r.value.top = `${n.value.bottom + window.scrollY}px`, r.value.left = `${n.value.left + window.scrollX}px`, r.value.zIndex = `${vr() + 1}`));
|
|
3936
3936
|
}, s = () => {
|
|
3937
3937
|
o.value = !1, a.value = !1, io(() => {
|
|
3938
|
-
const m =
|
|
3938
|
+
const m = Mr(t.value);
|
|
3939
3939
|
m && (window.innerWidth < m.right && (r.value.left = `${(n.value?.right ?? 0) + window.scrollX}px`, o.value = !0), window.innerHeight < m.bottom && (r.value.top = `${(n.value?.top ?? 0) + window.scrollY}px`, a.value = !0));
|
|
3940
3940
|
});
|
|
3941
3941
|
}, i = (m) => {
|
|
3942
3942
|
const f = m instanceof CustomEvent ? m.detail.target : m.currentTarget ?? m.target;
|
|
3943
|
-
!f || !(f instanceof HTMLElement) || (n.value =
|
|
3943
|
+
!f || !(f instanceof HTMLElement) || (n.value = Mr(f), n.value && (l(f), e.value = !0, s()));
|
|
3944
3944
|
}, c = () => {
|
|
3945
3945
|
e.value && (e.value = !1);
|
|
3946
3946
|
}, u = (m) => {
|
|
@@ -3948,7 +3948,7 @@ function lu(t) {
|
|
|
3948
3948
|
};
|
|
3949
3949
|
return $t(() => {
|
|
3950
3950
|
document.addEventListener("click", u, !0), window.addEventListener("resize", c, !0);
|
|
3951
|
-
}),
|
|
3951
|
+
}), gr(() => {
|
|
3952
3952
|
document.removeEventListener("click", u, !0), window.removeEventListener("resize", c, !0);
|
|
3953
3953
|
}), {
|
|
3954
3954
|
Show: i,
|
|
@@ -3959,7 +3959,7 @@ function lu(t) {
|
|
|
3959
3959
|
translateY: a
|
|
3960
3960
|
};
|
|
3961
3961
|
}
|
|
3962
|
-
const
|
|
3962
|
+
const ui = /* @__PURE__ */ ne({
|
|
3963
3963
|
__name: "Popover",
|
|
3964
3964
|
emits: ["onShow", "onHide"],
|
|
3965
3965
|
setup(t, { expose: e, emit: n }) {
|
|
@@ -3976,8 +3976,8 @@ const ci = /* @__PURE__ */ re({
|
|
|
3976
3976
|
(p) => {
|
|
3977
3977
|
f(p ? "onShow" : "onHide");
|
|
3978
3978
|
}
|
|
3979
|
-
), (p, w) => (
|
|
3980
|
-
$(l) ? (
|
|
3979
|
+
), (p, w) => (C(), ee(za, { to: "body" }, [
|
|
3980
|
+
$(l) ? (C(), x("div", {
|
|
3981
3981
|
key: 0,
|
|
3982
3982
|
ref_key: "popoverRef",
|
|
3983
3983
|
ref: r,
|
|
@@ -3987,18 +3987,18 @@ const ci = /* @__PURE__ */ re({
|
|
|
3987
3987
|
translateY: $(c),
|
|
3988
3988
|
translateXY: $(i) && $(c)
|
|
3989
3989
|
}),
|
|
3990
|
-
style:
|
|
3990
|
+
style: yt({ ...$(s), zIndex: +$(s).zIndex + 1 }),
|
|
3991
3991
|
role: "dialog",
|
|
3992
3992
|
"aria-modal": !0,
|
|
3993
3993
|
"aria-label": "Janela de ajuda"
|
|
3994
3994
|
}, [
|
|
3995
3995
|
b("div", null, [
|
|
3996
|
-
|
|
3996
|
+
K(p.$slots, "default")
|
|
3997
3997
|
])
|
|
3998
3998
|
], 6)) : F("", !0)
|
|
3999
3999
|
]));
|
|
4000
4000
|
}
|
|
4001
|
-
}),
|
|
4001
|
+
}), Dr = /* @__PURE__ */ ne({
|
|
4002
4002
|
__name: "HelpButton",
|
|
4003
4003
|
props: {
|
|
4004
4004
|
title: {},
|
|
@@ -4013,8 +4013,8 @@ const ci = /* @__PURE__ */ re({
|
|
|
4013
4013
|
const n = t, r = (l) => {
|
|
4014
4014
|
a.value?.Show(l);
|
|
4015
4015
|
}, o = e, a = R();
|
|
4016
|
-
return (l, s) => (
|
|
4017
|
-
|
|
4016
|
+
return (l, s) => (C(), x(ke, null, [
|
|
4017
|
+
K(l.$slots, "anchor", _t(St({ Show: r })), () => [
|
|
4018
4018
|
q(De, {
|
|
4019
4019
|
button: !0,
|
|
4020
4020
|
icon: n.icon ?? "help",
|
|
@@ -4025,36 +4025,36 @@ const ci = /* @__PURE__ */ re({
|
|
|
4025
4025
|
onClick: r
|
|
4026
4026
|
}, null, 8, ["icon", "size", "filled", "color", "tooltip"])
|
|
4027
4027
|
]),
|
|
4028
|
-
q(
|
|
4028
|
+
q(ui, {
|
|
4029
4029
|
ref_key: "popover",
|
|
4030
4030
|
ref: a,
|
|
4031
4031
|
onOnShow: s[0] || (s[0] = (i) => o("onOpen"))
|
|
4032
4032
|
}, {
|
|
4033
4033
|
default: le(() => [
|
|
4034
|
-
|
|
4034
|
+
K(l.$slots, "default")
|
|
4035
4035
|
]),
|
|
4036
4036
|
_: 3
|
|
4037
4037
|
}, 512)
|
|
4038
4038
|
], 64));
|
|
4039
4039
|
}
|
|
4040
|
-
}), cu = /* @__PURE__ */
|
|
4040
|
+
}), cu = /* @__PURE__ */ ne({
|
|
4041
4041
|
__name: "Content",
|
|
4042
4042
|
props: {
|
|
4043
4043
|
fluid: { type: Boolean }
|
|
4044
4044
|
},
|
|
4045
4045
|
setup(t) {
|
|
4046
4046
|
const e = t;
|
|
4047
|
-
return Fa(), (n, r) => (
|
|
4047
|
+
return Fa(), (n, r) => (C(), x("div", {
|
|
4048
4048
|
class: N(["sf-content-wrapper", { "--fluid": e.fluid }])
|
|
4049
4049
|
}, [
|
|
4050
|
-
|
|
4050
|
+
K(n.$slots, "default", {}, void 0, !0)
|
|
4051
4051
|
], 2));
|
|
4052
4052
|
}
|
|
4053
|
-
}),
|
|
4053
|
+
}), Qp = /* @__PURE__ */ je(cu, [["__scopeId", "data-v-32e5acfa"]]), di = Symbol();
|
|
4054
4054
|
function uu() {
|
|
4055
|
-
return Cs(
|
|
4055
|
+
return Cs(di);
|
|
4056
4056
|
}
|
|
4057
|
-
const Zt = () => uu(), du = { class: "body" }, mu = { class: "my-3 name" }, fu = { class: "login-buttons py-3 mx-auto" }, pu = { class: "my-3 footer" }, hu = /* @__PURE__ */
|
|
4057
|
+
const Zt = () => uu(), du = { class: "body" }, mu = { class: "my-3 name" }, fu = { class: "login-buttons py-3 mx-auto" }, pu = { class: "my-3 footer" }, hu = /* @__PURE__ */ ne({
|
|
4058
4058
|
__name: "Login",
|
|
4059
4059
|
props: {
|
|
4060
4060
|
enableAdlogin: { type: Boolean }
|
|
@@ -4064,11 +4064,11 @@ const Zt = () => uu(), du = { class: "body" }, mu = { class: "my-3 name" }, fu =
|
|
|
4064
4064
|
async function m(f) {
|
|
4065
4065
|
c.value || (c.value = !0, u.value = f, await new Promise((p) => setTimeout(p, 400)), f === "govbr" ? a.LoginGovBr() : i && f === "sf" && a.oidc.login());
|
|
4066
4066
|
}
|
|
4067
|
-
return
|
|
4067
|
+
return Wa(() => {
|
|
4068
4068
|
s();
|
|
4069
4069
|
}), _s(() => {
|
|
4070
4070
|
l(), c.value = !1, u.value = null;
|
|
4071
|
-
}), (f, p) => (
|
|
4071
|
+
}), (f, p) => (C(), x("div", du, [
|
|
4072
4072
|
p[6] || (p[6] = b("div", { class: "bg" }, null, -1)),
|
|
4073
4073
|
b("div", {
|
|
4074
4074
|
class: "card",
|
|
@@ -4077,12 +4077,12 @@ const Zt = () => uu(), du = { class: "body" }, mu = { class: "my-3 name" }, fu =
|
|
|
4077
4077
|
}, [
|
|
4078
4078
|
p[5] || (p[5] = b("div", { class: "my-3 logo" }, null, -1)),
|
|
4079
4079
|
b("div", mu, [
|
|
4080
|
-
|
|
4080
|
+
K(f.$slots, "name", {}, () => [
|
|
4081
4081
|
p[2] || (p[2] = Je("Nome do sistema", -1))
|
|
4082
4082
|
], !0)
|
|
4083
4083
|
]),
|
|
4084
4084
|
b("div", fu, [
|
|
4085
|
-
|
|
4085
|
+
K(f.$slots, "buttons", _t(St({ Login: m })), () => [
|
|
4086
4086
|
q($(kn), {
|
|
4087
4087
|
size: o.value,
|
|
4088
4088
|
icon: "person",
|
|
@@ -4097,7 +4097,7 @@ const Zt = () => uu(), du = { class: "body" }, mu = { class: "my-3 name" }, fu =
|
|
|
4097
4097
|
])]),
|
|
4098
4098
|
_: 1
|
|
4099
4099
|
}, 8, ["size", "loading"]),
|
|
4100
|
-
i.value ? (
|
|
4100
|
+
i.value ? (C(), ee($(kn), {
|
|
4101
4101
|
key: 0,
|
|
4102
4102
|
size: o.value,
|
|
4103
4103
|
icon: "person",
|
|
@@ -4112,16 +4112,16 @@ const Zt = () => uu(), du = { class: "body" }, mu = { class: "my-3 name" }, fu =
|
|
|
4112
4112
|
])]),
|
|
4113
4113
|
_: 1
|
|
4114
4114
|
}, 8, ["size", "loading"])) : F("", !0),
|
|
4115
|
-
|
|
4115
|
+
K(f.$slots, "extra-button", {}, void 0, !0)
|
|
4116
4116
|
], !0)
|
|
4117
4117
|
]),
|
|
4118
4118
|
b("div", pu, [
|
|
4119
|
-
|
|
4119
|
+
K(f.$slots, "footer", {}, void 0, !0)
|
|
4120
4120
|
])
|
|
4121
4121
|
], 512)
|
|
4122
4122
|
]));
|
|
4123
4123
|
}
|
|
4124
|
-
}),
|
|
4124
|
+
}), eh = /* @__PURE__ */ je(hu, [["__scopeId", "data-v-ff672b03"]]);
|
|
4125
4125
|
class Ze {
|
|
4126
4126
|
/**
|
|
4127
4127
|
* https://www.w3.org/TR/mediaqueries-4/#valdef-media-pointer-coarse
|
|
@@ -4246,7 +4246,7 @@ class Ze {
|
|
|
4246
4246
|
return r ? (r[2] || r[3]).trim().replace(/^"|"$/g, "") : null;
|
|
4247
4247
|
}
|
|
4248
4248
|
}
|
|
4249
|
-
const
|
|
4249
|
+
const th = "**.***.***", gu = "##.###.###", nh = "9999.9999/9999999-9", rh = "####.####/#######-#", oh = "**.***.***/****-99", vu = "##.###.###/####-##", ah = "99.999.999.999-9", bu = "##.###.###.###-#", ih = "999.999.999-99", wu = "###.###.###-##", yu = 14, ku = 14, Cu = 11, _u = 12, Su = { key: 0 }, xu = { class: "logout" }, Au = { class: "email" }, Tu = { class: "userinfo" }, Iu = ["textContent"], Eu = {
|
|
4250
4250
|
key: 0,
|
|
4251
4251
|
class: "userinfo"
|
|
4252
4252
|
}, Pu = { class: "flex align-items-center justify-content-between" }, $u = ["textContent"], Lu = {
|
|
@@ -4264,7 +4264,7 @@ const Qp = "**.***.***", gu = "##.###.###", eh = "9999.9999/9999999-9", th = "##
|
|
|
4264
4264
|
}, Vu = {
|
|
4265
4265
|
key: 4,
|
|
4266
4266
|
class: "userinfo"
|
|
4267
|
-
}, Wu = /* @__PURE__ */
|
|
4267
|
+
}, Wu = /* @__PURE__ */ ne({
|
|
4268
4268
|
__name: "Account",
|
|
4269
4269
|
setup(t) {
|
|
4270
4270
|
const { LogoutWithoutConfirmation: e } = Zt(), n = R(!1), r = Wt(), o = R(null), a = R(!1), l = async () => {
|
|
@@ -4328,7 +4328,7 @@ const Qp = "**.***.***", gu = "##.###.###", eh = "9999.9999/9999999-9", th = "##
|
|
|
4328
4328
|
l();
|
|
4329
4329
|
},
|
|
4330
4330
|
{ immediate: !0 }
|
|
4331
|
-
), (w, g) => (
|
|
4331
|
+
), (w, g) => (C(), x(ke, null, [
|
|
4332
4332
|
q(De, {
|
|
4333
4333
|
size: "sm",
|
|
4334
4334
|
icon: "account_circle",
|
|
@@ -4344,10 +4344,10 @@ const Qp = "**.***.***", gu = "##.###.###", eh = "9999.9999/9999999-9", th = "##
|
|
|
4344
4344
|
title: "Minha conta"
|
|
4345
4345
|
}, {
|
|
4346
4346
|
default: le(() => [
|
|
4347
|
-
|
|
4348
|
-
o.value ? (
|
|
4349
|
-
b("div",
|
|
4350
|
-
b("div",
|
|
4347
|
+
K(w.$slots, "content", _t(St({ userinfo: o.value })), () => [
|
|
4348
|
+
o.value ? (C(), x("div", Su, [
|
|
4349
|
+
b("div", xu, [
|
|
4350
|
+
b("div", Au, W(o.value.email), 1),
|
|
4351
4351
|
q(kn, {
|
|
4352
4352
|
size: "sm",
|
|
4353
4353
|
color: "error",
|
|
@@ -4362,13 +4362,13 @@ const Qp = "**.***.***", gu = "##.###.###", eh = "9999.9999/9999999-9", th = "##
|
|
|
4362
4362
|
b("div", Tu, [
|
|
4363
4363
|
g[3] || (g[3] = b("div", null, "Provedor de identidade", -1)),
|
|
4364
4364
|
b("div", {
|
|
4365
|
-
textContent:
|
|
4365
|
+
textContent: W(i())
|
|
4366
4366
|
}, null, 8, Iu)
|
|
4367
4367
|
]),
|
|
4368
|
-
p.value ? (
|
|
4368
|
+
p.value ? (C(), x("div", Eu, [
|
|
4369
4369
|
b("div", Pu, [
|
|
4370
4370
|
g[5] || (g[5] = b("div", null, "Nível de confiança", -1)),
|
|
4371
|
-
q(
|
|
4371
|
+
q(Dr, null, {
|
|
4372
4372
|
default: le(() => [...g[4] || (g[4] = [
|
|
4373
4373
|
Je(" Nível de confiança do usuário no portal gov.br ", -1)
|
|
4374
4374
|
])]),
|
|
@@ -4376,13 +4376,13 @@ const Qp = "**.***.***", gu = "##.###.###", eh = "9999.9999/9999999-9", th = "##
|
|
|
4376
4376
|
})
|
|
4377
4377
|
]),
|
|
4378
4378
|
b("div", {
|
|
4379
|
-
textContent:
|
|
4379
|
+
textContent: W(p.value)
|
|
4380
4380
|
}, null, 8, $u)
|
|
4381
4381
|
])) : F("", !0),
|
|
4382
|
-
f.value.length > 0 ? (
|
|
4382
|
+
f.value.length > 0 ? (C(), x("div", Lu, [
|
|
4383
4383
|
b("div", Ou, [
|
|
4384
4384
|
g[7] || (g[7] = b("span", null, "Fatores de autenticação", -1)),
|
|
4385
|
-
q(
|
|
4385
|
+
q(Dr, null, {
|
|
4386
4386
|
default: le(() => [...g[6] || (g[6] = [
|
|
4387
4387
|
b("div", { class: "text-nowrap mb-3" }, " Métodos utilizados durante autenticação ", -1)
|
|
4388
4388
|
])]),
|
|
@@ -4390,52 +4390,52 @@ const Qp = "**.***.***", gu = "##.###.###", eh = "9999.9999/9999999-9", th = "##
|
|
|
4390
4390
|
})
|
|
4391
4391
|
]),
|
|
4392
4392
|
b("div", Bu, [
|
|
4393
|
-
(
|
|
4393
|
+
(C(!0), x(ke, null, It(f.value, (y) => (C(), x("span", {
|
|
4394
4394
|
key: `amr-${y.amr}`,
|
|
4395
4395
|
class: N("chip")
|
|
4396
|
-
},
|
|
4396
|
+
}, W(y.label), 1))), 128))
|
|
4397
4397
|
])
|
|
4398
4398
|
])) : F("", !0),
|
|
4399
4399
|
b("div", Mu, [
|
|
4400
4400
|
g[8] || (g[8] = b("div", null, "Nome de usuário", -1)),
|
|
4401
|
-
b("div", null,
|
|
4401
|
+
b("div", null, W(o.value.preferred_username), 1)
|
|
4402
4402
|
]),
|
|
4403
4403
|
b("div", Du, [
|
|
4404
4404
|
g[9] || (g[9] = b("div", null, "Perfis atribuídos ao usuário", -1)),
|
|
4405
|
-
s.value.length === 0 ? (
|
|
4406
|
-
(
|
|
4405
|
+
s.value.length === 0 ? (C(), x("div", Ru, "Nenhum perfil atribuído.")) : (C(), x("div", Nu, [
|
|
4406
|
+
(C(!0), x(ke, null, It(s.value, (y) => (C(), x("span", {
|
|
4407
4407
|
key: y,
|
|
4408
4408
|
class: "chip"
|
|
4409
|
-
},
|
|
4409
|
+
}, W(y), 1))), 128))
|
|
4410
4410
|
]))
|
|
4411
4411
|
]),
|
|
4412
4412
|
b("div", ju, [
|
|
4413
4413
|
g[10] || (g[10] = b("div", null, "CPF", -1)),
|
|
4414
|
-
b("div", null,
|
|
4414
|
+
b("div", null, W($(Ze).MaskCpf(u())), 1)
|
|
4415
4415
|
]),
|
|
4416
|
-
c.value && o.value.cnpj ? (
|
|
4416
|
+
c.value && o.value.cnpj ? (C(), x("div", Hu, [
|
|
4417
4417
|
b("div", Fu, [
|
|
4418
4418
|
g[12] || (g[12] = b("div", null, "CNPJ vinculado", -1)),
|
|
4419
|
-
q(
|
|
4419
|
+
q(Dr, null, {
|
|
4420
4420
|
default: le(() => [...g[11] || (g[11] = [
|
|
4421
4421
|
Je(" Atributo recebido pelo login com certificado digital de pessoa jurídica. ", -1)
|
|
4422
4422
|
])]),
|
|
4423
4423
|
_: 1
|
|
4424
4424
|
})
|
|
4425
4425
|
]),
|
|
4426
|
-
b("div", null,
|
|
4426
|
+
b("div", null, W($(Ze).MaskCnpj(o.value.cnpj)), 1)
|
|
4427
4427
|
])) : F("", !0),
|
|
4428
4428
|
b("div", zu, [
|
|
4429
4429
|
g[13] || (g[13] = b("div", null, "Nome", -1)),
|
|
4430
|
-
b("div", null,
|
|
4430
|
+
b("div", null, W(o.value.name), 1)
|
|
4431
4431
|
]),
|
|
4432
|
-
o.value.jobTitle ? (
|
|
4432
|
+
o.value.jobTitle ? (C(), x("div", Uu, [
|
|
4433
4433
|
g[14] || (g[14] = b("div", null, "Cargo", -1)),
|
|
4434
|
-
b("div", null,
|
|
4434
|
+
b("div", null, W(o.value.jobTitle), 1)
|
|
4435
4435
|
])) : F("", !0),
|
|
4436
|
-
o.value.department ? (
|
|
4436
|
+
o.value.department ? (C(), x("div", Vu, [
|
|
4437
4437
|
g[15] || (g[15] = b("div", null, "Departamento", -1)),
|
|
4438
|
-
b("div", null,
|
|
4438
|
+
b("div", null, W(o.value.department), 1)
|
|
4439
4439
|
])) : F("", !0)
|
|
4440
4440
|
])) : F("", !0)
|
|
4441
4441
|
], !0)
|
|
@@ -4444,11 +4444,11 @@ const Qp = "**.***.***", gu = "##.###.###", eh = "9999.9999/9999999-9", th = "##
|
|
|
4444
4444
|
}, 8, ["visible"])
|
|
4445
4445
|
], 64));
|
|
4446
4446
|
}
|
|
4447
|
-
}), Ku = /* @__PURE__ */
|
|
4447
|
+
}), Ku = /* @__PURE__ */ je(Wu, [["__scopeId", "data-v-bfe361c2"]]), Gu = { class: "font-percentage" }, ba = "--font-size-increment", qu = "tamanho-fonte", Yu = /* @__PURE__ */ ne({
|
|
4448
4448
|
__name: "FontSize",
|
|
4449
4449
|
setup(t) {
|
|
4450
4450
|
const e = R(!1), n = R(0), r = () => {
|
|
4451
|
-
n.value =
|
|
4451
|
+
n.value = vr(), e.value = !0;
|
|
4452
4452
|
}, o = () => {
|
|
4453
4453
|
e.value = !1;
|
|
4454
4454
|
}, a = () => document.documentElement, l = () => parseInt(
|
|
@@ -4467,11 +4467,11 @@ const Qp = "**.***.***", gu = "##.###.###", eh = "9999.9999/9999999-9", th = "##
|
|
|
4467
4467
|
}, u = () => {
|
|
4468
4468
|
s(1);
|
|
4469
4469
|
}, m = R(1);
|
|
4470
|
-
return
|
|
4470
|
+
return Wa(() => {
|
|
4471
4471
|
localStorage.removeItem(qu);
|
|
4472
4472
|
}), $t(() => {
|
|
4473
4473
|
m.value = l();
|
|
4474
|
-
}), (f, p) => (
|
|
4474
|
+
}), (f, p) => (C(), x(ke, null, [
|
|
4475
4475
|
q(De, {
|
|
4476
4476
|
button: !0,
|
|
4477
4477
|
size: "sm",
|
|
@@ -4479,16 +4479,16 @@ const Qp = "**.***.***", gu = "##.###.###", eh = "9999.9999/9999999-9", th = "##
|
|
|
4479
4479
|
tooltip: "Tamanho da fonte",
|
|
4480
4480
|
onClick: r
|
|
4481
4481
|
}),
|
|
4482
|
-
e.value ? (
|
|
4482
|
+
e.value ? (C(), x(ke, { key: 0 }, [
|
|
4483
4483
|
b("div", {
|
|
4484
4484
|
class: N(["border", "fadein", "font-size-wrapper"]),
|
|
4485
|
-
style:
|
|
4485
|
+
style: yt({ zIndex: n.value + 1 })
|
|
4486
4486
|
}, [
|
|
4487
4487
|
b("div", {
|
|
4488
4488
|
class: "icon",
|
|
4489
4489
|
onClick: c
|
|
4490
4490
|
}),
|
|
4491
|
-
b("span", Gu,
|
|
4491
|
+
b("span", Gu, W(m.value.toLocaleString("pt-br", {
|
|
4492
4492
|
style: "percent",
|
|
4493
4493
|
maximumFractionDigits: 0
|
|
4494
4494
|
})), 1),
|
|
@@ -4503,20 +4503,20 @@ const Qp = "**.***.***", gu = "##.###.###", eh = "9999.9999/9999999-9", th = "##
|
|
|
4503
4503
|
], 4),
|
|
4504
4504
|
b("div", {
|
|
4505
4505
|
class: "font-size-mask",
|
|
4506
|
-
style:
|
|
4506
|
+
style: yt({ zIndex: n.value }),
|
|
4507
4507
|
onClick: o
|
|
4508
4508
|
}, null, 4)
|
|
4509
4509
|
], 64)) : F("", !0)
|
|
4510
4510
|
], 64));
|
|
4511
4511
|
}
|
|
4512
|
-
}), Xu = /* @__PURE__ */
|
|
4512
|
+
}), Xu = /* @__PURE__ */ je(Yu, [["__scopeId", "data-v-d17f4a5f"]]), Zu = /* @__PURE__ */ ne({
|
|
4513
4513
|
__name: "ScrollToTop",
|
|
4514
4514
|
setup(t) {
|
|
4515
4515
|
const { scrollY: e } = Zt(), n = Z(() => e.value > 800);
|
|
4516
4516
|
function r() {
|
|
4517
4517
|
document.documentElement.scrollTo(0, 0);
|
|
4518
4518
|
}
|
|
4519
|
-
return (o, a) => (
|
|
4519
|
+
return (o, a) => (C(), x("button", {
|
|
4520
4520
|
class: N(["sf-scrollToTop", { "sf-scrollToTop-visible": n.value }]),
|
|
4521
4521
|
onClick: r
|
|
4522
4522
|
}, null, 2));
|
|
@@ -4556,7 +4556,7 @@ const un = new Ju();
|
|
|
4556
4556
|
* sweetalert2 v11.26.3
|
|
4557
4557
|
* Released under the MIT License.
|
|
4558
4558
|
*/
|
|
4559
|
-
function
|
|
4559
|
+
function mi(t, e, n) {
|
|
4560
4560
|
if (typeof t == "function" ? t === e : t.has(e)) return arguments.length < 3 ? e : n;
|
|
4561
4561
|
throw new TypeError("Private element is not present on this object");
|
|
4562
4562
|
}
|
|
@@ -4564,13 +4564,13 @@ function Qu(t, e) {
|
|
|
4564
4564
|
if (e.has(t)) throw new TypeError("Cannot initialize the same private elements twice on an object");
|
|
4565
4565
|
}
|
|
4566
4566
|
function wa(t, e) {
|
|
4567
|
-
return t.get(
|
|
4567
|
+
return t.get(mi(t, e));
|
|
4568
4568
|
}
|
|
4569
4569
|
function ed(t, e, n) {
|
|
4570
4570
|
Qu(t, e), e.set(t, n);
|
|
4571
4571
|
}
|
|
4572
4572
|
function td(t, e, n) {
|
|
4573
|
-
return t.set(
|
|
4573
|
+
return t.set(mi(t, e), n), n;
|
|
4574
4574
|
}
|
|
4575
4575
|
const nd = 100, E = {}, rd = () => {
|
|
4576
4576
|
E.previousActiveElement instanceof HTMLElement ? (E.previousActiveElement.focus(), E.previousActiveElement = null) : document.body && document.body.focus();
|
|
@@ -4581,26 +4581,26 @@ const nd = 100, E = {}, rd = () => {
|
|
|
4581
4581
|
E.restoreFocusTimeout = setTimeout(() => {
|
|
4582
4582
|
rd(), e();
|
|
4583
4583
|
}, nd), window.scrollTo(n, r);
|
|
4584
|
-
}),
|
|
4585
|
-
(t, e) => (t[e] =
|
|
4584
|
+
}), fi = "swal2-", ad = ["container", "shown", "height-auto", "iosfix", "popup", "modal", "no-backdrop", "no-transition", "toast", "toast-shown", "show", "hide", "close", "title", "html-container", "actions", "confirm", "deny", "cancel", "footer", "icon", "icon-content", "image", "input", "file", "range", "select", "radio", "checkbox", "label", "textarea", "inputerror", "input-label", "validation-message", "progress-steps", "active-progress-step", "progress-step", "progress-step-line", "loader", "loading", "styled", "top", "top-start", "top-end", "top-left", "top-right", "center", "center-start", "center-end", "center-left", "center-right", "bottom", "bottom-start", "bottom-end", "bottom-left", "bottom-right", "grow-row", "grow-column", "grow-fullscreen", "rtl", "timer-progress-bar", "timer-progress-bar-container", "scrollbar-measure", "icon-success", "icon-warning", "icon-info", "icon-question", "icon-error", "draggable", "dragging"], h = ad.reduce(
|
|
4585
|
+
(t, e) => (t[e] = fi + e, t),
|
|
4586
4586
|
/** @type {SwalClasses} */
|
|
4587
4587
|
{}
|
|
4588
|
-
), id = ["success", "warning", "info", "question", "error"],
|
|
4589
|
-
(t, e) => (t[e] =
|
|
4588
|
+
), id = ["success", "warning", "info", "question", "error"], sr = id.reduce(
|
|
4589
|
+
(t, e) => (t[e] = fi + e, t),
|
|
4590
4590
|
/** @type {SwalIcons} */
|
|
4591
4591
|
{}
|
|
4592
|
-
),
|
|
4593
|
-
console.warn(`${
|
|
4592
|
+
), pi = "SweetAlert2:", mo = (t) => t.charAt(0).toUpperCase() + t.slice(1), Ce = (t) => {
|
|
4593
|
+
console.warn(`${pi} ${typeof t == "object" ? t.join(" ") : t}`);
|
|
4594
4594
|
}, Lt = (t) => {
|
|
4595
|
-
console.error(`${
|
|
4595
|
+
console.error(`${pi} ${t}`);
|
|
4596
4596
|
}, ya = [], sd = (t) => {
|
|
4597
4597
|
ya.includes(t) || (ya.push(t), Ce(t));
|
|
4598
|
-
},
|
|
4598
|
+
}, hi = (t, e = null) => {
|
|
4599
4599
|
sd(`"${t}" is deprecated and will be removed in the next major release.${e ? ` Use "${e}" instead.` : ""}`);
|
|
4600
|
-
},
|
|
4601
|
-
const e =
|
|
4600
|
+
}, wr = (t) => typeof t == "function" ? t() : t, fo = (t) => t && typeof t.toPromise == "function", Ln = (t) => fo(t) ? t.toPromise() : Promise.resolve(t), po = (t) => t && Promise.resolve(t) === t, xe = () => document.body.querySelector(`.${h.container}`), On = (t) => {
|
|
4601
|
+
const e = xe();
|
|
4602
4602
|
return e ? e.querySelector(t) : null;
|
|
4603
|
-
}, $e = (t) => On(`.${t}`), z = () => $e(h.popup), Jt = () => $e(h.icon), ld = () => $e(h["icon-content"]),
|
|
4603
|
+
}, $e = (t) => On(`.${t}`), z = () => $e(h.popup), Jt = () => $e(h.icon), ld = () => $e(h["icon-content"]), gi = () => $e(h.title), ho = () => $e(h["html-container"]), vi = () => $e(h.image), go = () => $e(h["progress-steps"]), yr = () => $e(h["validation-message"]), Qe = () => (
|
|
4604
4604
|
/** @type {HTMLButtonElement} */
|
|
4605
4605
|
On(`.${h.actions} .${h.confirm}`)
|
|
4606
4606
|
), Qt = () => (
|
|
@@ -4609,7 +4609,7 @@ const nd = 100, E = {}, rd = () => {
|
|
|
4609
4609
|
), Ot = () => (
|
|
4610
4610
|
/** @type {HTMLButtonElement} */
|
|
4611
4611
|
On(`.${h.actions} .${h.deny}`)
|
|
4612
|
-
), cd = () => $e(h["input-label"]), en = () => On(`.${h.loader}`), Bn = () => $e(h.actions),
|
|
4612
|
+
), cd = () => $e(h["input-label"]), en = () => On(`.${h.loader}`), Bn = () => $e(h.actions), bi = () => $e(h.footer), kr = () => $e(h["timer-progress-bar"]), vo = () => $e(h.close), ud = `
|
|
4613
4613
|
a[href],
|
|
4614
4614
|
area[href],
|
|
4615
4615
|
input:not([disabled]),
|
|
@@ -4633,7 +4633,7 @@ const nd = 100, E = {}, rd = () => {
|
|
|
4633
4633
|
return s > i ? 1 : s < i ? -1 : 0;
|
|
4634
4634
|
}), r = t.querySelectorAll(ud), o = Array.from(r).filter((a) => a.getAttribute("tabindex") !== "-1");
|
|
4635
4635
|
return [...new Set(n.concat(o))].filter((a) => Ie(a));
|
|
4636
|
-
}, wo = () => lt(document.body, h.shown) && !lt(document.body, h["toast-shown"]) && !lt(document.body, h["no-backdrop"]),
|
|
4636
|
+
}, wo = () => lt(document.body, h.shown) && !lt(document.body, h["toast-shown"]) && !lt(document.body, h["no-backdrop"]), Cr = () => {
|
|
4637
4637
|
const t = z();
|
|
4638
4638
|
return t ? lt(t, h.toast) : !1;
|
|
4639
4639
|
}, dd = () => {
|
|
@@ -4660,7 +4660,7 @@ const nd = 100, E = {}, rd = () => {
|
|
|
4660
4660
|
return !0;
|
|
4661
4661
|
}, md = (t, e) => {
|
|
4662
4662
|
Array.from(t.classList).forEach((n) => {
|
|
4663
|
-
!Object.values(h).includes(n) && !Object.values(
|
|
4663
|
+
!Object.values(h).includes(n) && !Object.values(sr).includes(n) && !Object.values(e.showClass || {}).includes(n) && t.classList.remove(n);
|
|
4664
4664
|
});
|
|
4665
4665
|
}, Pe = (t, e, n) => {
|
|
4666
4666
|
if (md(t, e), !e.customClass)
|
|
@@ -4676,7 +4676,7 @@ const nd = 100, E = {}, rd = () => {
|
|
|
4676
4676
|
}
|
|
4677
4677
|
U(t, r);
|
|
4678
4678
|
}
|
|
4679
|
-
},
|
|
4679
|
+
}, _r = (t, e) => {
|
|
4680
4680
|
if (!e)
|
|
4681
4681
|
return null;
|
|
4682
4682
|
switch (e) {
|
|
@@ -4693,21 +4693,21 @@ const nd = 100, E = {}, rd = () => {
|
|
|
4693
4693
|
default:
|
|
4694
4694
|
return t.querySelector(`.${h.popup} > .${h.input}`);
|
|
4695
4695
|
}
|
|
4696
|
-
},
|
|
4696
|
+
}, wi = (t) => {
|
|
4697
4697
|
if (t.focus(), t.type !== "file") {
|
|
4698
4698
|
const e = t.value;
|
|
4699
4699
|
t.value = "", t.value = e;
|
|
4700
4700
|
}
|
|
4701
|
-
},
|
|
4701
|
+
}, yi = (t, e, n) => {
|
|
4702
4702
|
!t || !e || (typeof e == "string" && (e = e.split(/\s+/).filter(Boolean)), e.forEach((r) => {
|
|
4703
4703
|
Array.isArray(t) ? t.forEach((o) => {
|
|
4704
4704
|
n ? o.classList.add(r) : o.classList.remove(r);
|
|
4705
4705
|
}) : n ? t.classList.add(r) : t.classList.remove(r);
|
|
4706
4706
|
}));
|
|
4707
4707
|
}, U = (t, e) => {
|
|
4708
|
-
|
|
4708
|
+
yi(t, e, !0);
|
|
4709
4709
|
}, Re = (t, e) => {
|
|
4710
|
-
|
|
4710
|
+
yi(t, e, !1);
|
|
4711
4711
|
}, gt = (t, e) => {
|
|
4712
4712
|
const n = Array.from(t.children);
|
|
4713
4713
|
for (let r = 0; r < n.length; r++) {
|
|
@@ -4715,7 +4715,7 @@ const nd = 100, E = {}, rd = () => {
|
|
|
4715
4715
|
if (o instanceof HTMLElement && lt(o, e))
|
|
4716
4716
|
return o;
|
|
4717
4717
|
}
|
|
4718
|
-
},
|
|
4718
|
+
}, Tt = (t, e, n) => {
|
|
4719
4719
|
n === `${parseInt(`${n}`)}` && (n = parseInt(n)), n || parseInt(`${n}`) === 0 ? t.style.setProperty(e, typeof n == "number" ? `${n}px` : n) : t.style.removeProperty(e);
|
|
4720
4720
|
}, ce = (t, e = "flex") => {
|
|
4721
4721
|
t && (t.style.display = e);
|
|
@@ -4741,16 +4741,16 @@ const nd = 100, E = {}, rd = () => {
|
|
|
4741
4741
|
n = n.parentElement;
|
|
4742
4742
|
}
|
|
4743
4743
|
return !1;
|
|
4744
|
-
},
|
|
4744
|
+
}, ki = (t) => {
|
|
4745
4745
|
const e = window.getComputedStyle(t), n = parseFloat(e.getPropertyValue("animation-duration") || "0"), r = parseFloat(e.getPropertyValue("transition-duration") || "0");
|
|
4746
4746
|
return n > 0 || r > 0;
|
|
4747
4747
|
}, ko = (t, e = !1) => {
|
|
4748
|
-
const n =
|
|
4748
|
+
const n = kr();
|
|
4749
4749
|
n && Ie(n) && (e && (n.style.transition = "none", n.style.width = "100%"), setTimeout(() => {
|
|
4750
4750
|
n.style.transition = `width ${t / 1e3}s linear`, n.style.width = "0%";
|
|
4751
4751
|
}, 10));
|
|
4752
4752
|
}, hd = () => {
|
|
4753
|
-
const t =
|
|
4753
|
+
const t = kr();
|
|
4754
4754
|
if (!t)
|
|
4755
4755
|
return;
|
|
4756
4756
|
const e = parseInt(window.getComputedStyle(t).width);
|
|
@@ -4791,22 +4791,22 @@ const nd = 100, E = {}, rd = () => {
|
|
|
4791
4791
|
</div>
|
|
4792
4792
|
</div>
|
|
4793
4793
|
`.replace(/(^|\n)\s*/g, ""), bd = () => {
|
|
4794
|
-
const t =
|
|
4794
|
+
const t = xe();
|
|
4795
4795
|
return t ? (t.remove(), Re([document.documentElement, document.body], [h["no-backdrop"], h["toast-shown"], h["has-column"]]), !0) : !1;
|
|
4796
|
-
},
|
|
4796
|
+
}, Ct = () => {
|
|
4797
4797
|
E.currentInstance.resetValidationMessage();
|
|
4798
4798
|
}, wd = () => {
|
|
4799
4799
|
const t = z(), e = gt(t, h.input), n = gt(t, h.file), r = t.querySelector(`.${h.range} input`), o = t.querySelector(`.${h.range} output`), a = gt(t, h.select), l = t.querySelector(`.${h.checkbox} input`), s = gt(t, h.textarea);
|
|
4800
|
-
e.oninput =
|
|
4801
|
-
|
|
4800
|
+
e.oninput = Ct, n.onchange = Ct, a.onchange = Ct, l.onchange = Ct, s.oninput = Ct, r.oninput = () => {
|
|
4801
|
+
Ct(), o.value = r.value;
|
|
4802
4802
|
}, r.onchange = () => {
|
|
4803
|
-
|
|
4803
|
+
Ct(), o.value = r.value;
|
|
4804
4804
|
};
|
|
4805
4805
|
}, yd = (t) => typeof t == "string" ? document.querySelector(t) : t, kd = (t) => {
|
|
4806
4806
|
const e = z();
|
|
4807
4807
|
e.setAttribute("role", t.toast ? "alert" : "dialog"), e.setAttribute("aria-live", t.toast ? "polite" : "assertive"), t.toast || e.setAttribute("aria-modal", "true");
|
|
4808
4808
|
}, Cd = (t) => {
|
|
4809
|
-
window.getComputedStyle(t).direction === "rtl" && U(
|
|
4809
|
+
window.getComputedStyle(t).direction === "rtl" && U(xe(), h.rtl);
|
|
4810
4810
|
}, _d = (t) => {
|
|
4811
4811
|
const e = bd();
|
|
4812
4812
|
if (gd()) {
|
|
@@ -4820,36 +4820,36 @@ const nd = 100, E = {}, rd = () => {
|
|
|
4820
4820
|
}, Co = (t, e) => {
|
|
4821
4821
|
t instanceof HTMLElement ? e.appendChild(t) : typeof t == "object" ? Sd(t, e) : t && Le(e, t);
|
|
4822
4822
|
}, Sd = (t, e) => {
|
|
4823
|
-
t.jquery ?
|
|
4824
|
-
},
|
|
4823
|
+
t.jquery ? xd(e, t) : Le(e, t.toString());
|
|
4824
|
+
}, xd = (t, e) => {
|
|
4825
4825
|
if (t.textContent = "", 0 in e)
|
|
4826
4826
|
for (let n = 0; n in e; n++)
|
|
4827
4827
|
t.appendChild(e[n].cloneNode(!0));
|
|
4828
4828
|
else
|
|
4829
4829
|
t.appendChild(e.cloneNode(!0));
|
|
4830
|
-
},
|
|
4830
|
+
}, Ad = (t, e) => {
|
|
4831
4831
|
const n = Bn(), r = en();
|
|
4832
4832
|
!n || !r || (!e.showConfirmButton && !e.showDenyButton && !e.showCancelButton ? ve(n) : ce(n), Pe(n, e, "actions"), Td(n, r, e), Le(r, e.loaderHtml || ""), Pe(r, e, "loader"));
|
|
4833
4833
|
};
|
|
4834
4834
|
function Td(t, e, n) {
|
|
4835
4835
|
const r = Qe(), o = Ot(), a = Qt();
|
|
4836
|
-
!r || !o || !a || (
|
|
4836
|
+
!r || !o || !a || (Nr(r, "confirm", n), Nr(o, "deny", n), Nr(a, "cancel", n), Id(r, o, a, n), n.reverseButtons && (n.toast ? (t.insertBefore(a, r), t.insertBefore(o, r)) : (t.insertBefore(a, e), t.insertBefore(o, e), t.insertBefore(r, e))));
|
|
4837
4837
|
}
|
|
4838
4838
|
function Id(t, e, n, r) {
|
|
4839
4839
|
if (!r.buttonsStyling) {
|
|
4840
4840
|
Re([t, e, n], h.styled);
|
|
4841
4841
|
return;
|
|
4842
4842
|
}
|
|
4843
|
-
U([t, e, n], h.styled), r.confirmButtonColor && t.style.setProperty("--swal2-confirm-button-background-color", r.confirmButtonColor), r.denyButtonColor && e.style.setProperty("--swal2-deny-button-background-color", r.denyButtonColor), r.cancelButtonColor && n.style.setProperty("--swal2-cancel-button-background-color", r.cancelButtonColor),
|
|
4843
|
+
U([t, e, n], h.styled), r.confirmButtonColor && t.style.setProperty("--swal2-confirm-button-background-color", r.confirmButtonColor), r.denyButtonColor && e.style.setProperty("--swal2-deny-button-background-color", r.denyButtonColor), r.cancelButtonColor && n.style.setProperty("--swal2-cancel-button-background-color", r.cancelButtonColor), Rr(t), Rr(e), Rr(n);
|
|
4844
4844
|
}
|
|
4845
|
-
function
|
|
4845
|
+
function Rr(t) {
|
|
4846
4846
|
const e = window.getComputedStyle(t);
|
|
4847
4847
|
if (e.getPropertyValue("--swal2-action-button-focus-box-shadow"))
|
|
4848
4848
|
return;
|
|
4849
4849
|
const n = e.backgroundColor.replace(/rgba?\((\d+), (\d+), (\d+).*/, "rgba($1, $2, $3, 0.5)");
|
|
4850
4850
|
t.style.setProperty("--swal2-action-button-focus-box-shadow", e.getPropertyValue("--swal2-outline").replace(/ rgba\(.*/, ` ${n}`));
|
|
4851
4851
|
}
|
|
4852
|
-
function
|
|
4852
|
+
function Nr(t, e, n) {
|
|
4853
4853
|
const r = (
|
|
4854
4854
|
/** @type {'Confirm' | 'Deny' | 'Cancel'} */
|
|
4855
4855
|
mo(e)
|
|
@@ -4860,7 +4860,7 @@ const Ed = (t, e) => {
|
|
|
4860
4860
|
const n = vo();
|
|
4861
4861
|
n && (Le(n, e.closeButtonHtml || ""), Pe(n, e, "closeButton"), Mn(n, e.showCloseButton), n.setAttribute("aria-label", e.closeButtonAriaLabel || ""));
|
|
4862
4862
|
}, Pd = (t, e) => {
|
|
4863
|
-
const n =
|
|
4863
|
+
const n = xe();
|
|
4864
4864
|
n && ($d(n, e.backdrop), Ld(n, e.position), Od(n, e.grow), Pe(n, e, "container"));
|
|
4865
4865
|
};
|
|
4866
4866
|
function $d(t, e) {
|
|
@@ -4892,12 +4892,12 @@ const Bd = ["input", "file", "range", "select", "radio", "checkbox", "textarea"]
|
|
|
4892
4892
|
Lt(`Unexpected type of input! Expected ${Object.keys(oe).join(" | ")}, got "${t.input}"`);
|
|
4893
4893
|
return;
|
|
4894
4894
|
}
|
|
4895
|
-
const e =
|
|
4895
|
+
const e = Ci(t.input);
|
|
4896
4896
|
if (!e)
|
|
4897
4897
|
return;
|
|
4898
4898
|
const n = oe[t.input](e, t);
|
|
4899
4899
|
ce(e), t.inputAutoFocus && setTimeout(() => {
|
|
4900
|
-
|
|
4900
|
+
wi(n);
|
|
4901
4901
|
});
|
|
4902
4902
|
}, Rd = (t) => {
|
|
4903
4903
|
for (let e = 0; e < t.attributes.length; e++) {
|
|
@@ -4908,7 +4908,7 @@ const Bd = ["input", "file", "range", "select", "radio", "checkbox", "textarea"]
|
|
|
4908
4908
|
const n = z();
|
|
4909
4909
|
if (!n)
|
|
4910
4910
|
return;
|
|
4911
|
-
const r =
|
|
4911
|
+
const r = _r(n, t);
|
|
4912
4912
|
if (r) {
|
|
4913
4913
|
Rd(r);
|
|
4914
4914
|
for (const o in e)
|
|
@@ -4917,7 +4917,7 @@ const Bd = ["input", "file", "range", "select", "radio", "checkbox", "textarea"]
|
|
|
4917
4917
|
}, jd = (t) => {
|
|
4918
4918
|
if (!t.input)
|
|
4919
4919
|
return;
|
|
4920
|
-
const e =
|
|
4920
|
+
const e = Ci(t.input);
|
|
4921
4921
|
e && Pe(e, t, "input");
|
|
4922
4922
|
}, _o = (t, e) => {
|
|
4923
4923
|
!t.placeholder && e.inputPlaceholder && (t.placeholder = e.inputPlaceholder);
|
|
@@ -4926,22 +4926,22 @@ const Bd = ["input", "file", "range", "select", "radio", "checkbox", "textarea"]
|
|
|
4926
4926
|
const r = document.createElement("label"), o = h["input-label"];
|
|
4927
4927
|
r.setAttribute("for", t.id), r.className = o, typeof n.customClass == "object" && U(r, n.customClass.inputLabel), r.innerText = n.inputLabel, e.insertAdjacentElement("beforebegin", r);
|
|
4928
4928
|
}
|
|
4929
|
-
},
|
|
4929
|
+
}, Ci = (t) => {
|
|
4930
4930
|
const e = z();
|
|
4931
4931
|
if (e)
|
|
4932
4932
|
return gt(e, h[
|
|
4933
4933
|
/** @type {SwalClass} */
|
|
4934
4934
|
t
|
|
4935
4935
|
] || h.input);
|
|
4936
|
-
},
|
|
4936
|
+
}, lr = (t, e) => {
|
|
4937
4937
|
["string", "number"].includes(typeof e) ? t.value = `${e}` : po(e) || Ce(`Unexpected type of inputValue! Expected "string", "number" or "Promise", got "${typeof e}"`);
|
|
4938
4938
|
}, oe = {};
|
|
4939
4939
|
oe.text = oe.email = oe.password = oe.number = oe.tel = oe.url = oe.search = oe.date = oe["datetime-local"] = oe.time = oe.week = oe.month = /** @type {(input: Input | HTMLElement, params: SweetAlertOptions) => Input} */
|
|
4940
|
-
(t, e) => (
|
|
4940
|
+
(t, e) => (lr(t, e.inputValue), Dn(t, t, e), _o(t, e), t.type = e.input, t);
|
|
4941
4941
|
oe.file = (t, e) => (Dn(t, t, e), _o(t, e), t);
|
|
4942
4942
|
oe.range = (t, e) => {
|
|
4943
4943
|
const n = t.querySelector("input"), r = t.querySelector("output");
|
|
4944
|
-
return
|
|
4944
|
+
return lr(n, e.inputValue), n.type = e.input, lr(r, e.inputValue), Dn(n, t, e), t;
|
|
4945
4945
|
};
|
|
4946
4946
|
oe.select = (t, e) => {
|
|
4947
4947
|
if (t.textContent = "", e.inputPlaceholder) {
|
|
@@ -4952,13 +4952,13 @@ oe.select = (t, e) => {
|
|
|
4952
4952
|
};
|
|
4953
4953
|
oe.radio = (t) => (t.textContent = "", t);
|
|
4954
4954
|
oe.checkbox = (t, e) => {
|
|
4955
|
-
const n =
|
|
4955
|
+
const n = _r(z(), "checkbox");
|
|
4956
4956
|
n.value = "1", n.checked = !!e.inputValue;
|
|
4957
4957
|
const r = t.querySelector("span");
|
|
4958
4958
|
return Le(r, e.inputPlaceholder || e.inputLabel), n;
|
|
4959
4959
|
};
|
|
4960
4960
|
oe.textarea = (t, e) => {
|
|
4961
|
-
|
|
4961
|
+
lr(t, e.inputValue), _o(t, e), Dn(t, t, e);
|
|
4962
4962
|
const n = (r) => parseInt(window.getComputedStyle(r).marginLeft) + parseInt(window.getComputedStyle(r).marginRight);
|
|
4963
4963
|
return setTimeout(() => {
|
|
4964
4964
|
if ("MutationObserver" in window) {
|
|
@@ -4966,7 +4966,7 @@ oe.textarea = (t, e) => {
|
|
|
4966
4966
|
if (!document.body.contains(t))
|
|
4967
4967
|
return;
|
|
4968
4968
|
const a = t.offsetWidth + n(t);
|
|
4969
|
-
a > r ? z().style.width = `${a}px` :
|
|
4969
|
+
a > r ? z().style.width = `${a}px` : Tt(z(), "width", e.width);
|
|
4970
4970
|
};
|
|
4971
4971
|
new MutationObserver(o).observe(t, {
|
|
4972
4972
|
attributes: !0,
|
|
@@ -4979,7 +4979,7 @@ const Hd = (t, e) => {
|
|
|
4979
4979
|
const n = ho();
|
|
4980
4980
|
n && (yo(n), Pe(n, e, "htmlContainer"), e.html ? (Co(e.html, n), ce(n, "block")) : e.text ? (n.textContent = e.text, ce(n, "block")) : ve(n), Md(t, e));
|
|
4981
4981
|
}, Fd = (t, e) => {
|
|
4982
|
-
const n =
|
|
4982
|
+
const n = bi();
|
|
4983
4983
|
n && (yo(n), Mn(n, !!e.footer, "block"), e.footer && Co(e.footer, n), Pe(n, e, "footer"));
|
|
4984
4984
|
}, zd = (t, e) => {
|
|
4985
4985
|
const n = Y.innerParams.get(t), r = Jt();
|
|
@@ -4993,16 +4993,16 @@ const Hd = (t, e) => {
|
|
|
4993
4993
|
ve(r);
|
|
4994
4994
|
return;
|
|
4995
4995
|
}
|
|
4996
|
-
if (e.icon && Object.keys(
|
|
4996
|
+
if (e.icon && Object.keys(sr).indexOf(e.icon) === -1) {
|
|
4997
4997
|
Lt(`Unknown icon! Expected "success", "error", "warning", "info" or "question", got "${e.icon}"`), ve(r);
|
|
4998
4998
|
return;
|
|
4999
4999
|
}
|
|
5000
|
-
ce(r), _a(r, e), Ca(r, e), U(r, e.showClass && e.showClass.icon), window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",
|
|
5000
|
+
ce(r), _a(r, e), Ca(r, e), U(r, e.showClass && e.showClass.icon), window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change", _i);
|
|
5001
5001
|
}, Ca = (t, e) => {
|
|
5002
|
-
for (const [n, r] of Object.entries(
|
|
5002
|
+
for (const [n, r] of Object.entries(sr))
|
|
5003
5003
|
e.icon !== n && Re(t, r);
|
|
5004
|
-
U(t, e.icon &&
|
|
5005
|
-
},
|
|
5004
|
+
U(t, e.icon && sr[e.icon]), Wd(t, e), _i(), Pe(t, e, "icon");
|
|
5005
|
+
}, _i = () => {
|
|
5006
5006
|
const t = z();
|
|
5007
5007
|
if (!t)
|
|
5008
5008
|
return;
|
|
@@ -5037,43 +5037,43 @@ const Hd = (t, e) => {
|
|
|
5037
5037
|
ka(t, ".swal2-success-ring", "border-color", e.iconColor);
|
|
5038
5038
|
}
|
|
5039
5039
|
}, Sa = (t) => `<div class="${h["icon-content"]}">${t}</div>`, Kd = (t, e) => {
|
|
5040
|
-
const n =
|
|
5040
|
+
const n = vi();
|
|
5041
5041
|
if (n) {
|
|
5042
5042
|
if (!e.imageUrl) {
|
|
5043
5043
|
ve(n);
|
|
5044
5044
|
return;
|
|
5045
5045
|
}
|
|
5046
|
-
ce(n, ""), n.setAttribute("src", e.imageUrl), n.setAttribute("alt", e.imageAlt || ""),
|
|
5046
|
+
ce(n, ""), n.setAttribute("src", e.imageUrl), n.setAttribute("alt", e.imageAlt || ""), Tt(n, "width", e.imageWidth), Tt(n, "height", e.imageHeight), n.className = h.image, Pe(n, e, "image");
|
|
5047
5047
|
}
|
|
5048
5048
|
};
|
|
5049
|
-
let So = !1,
|
|
5049
|
+
let So = !1, Si = 0, xi = 0, Ai = 0, Ti = 0;
|
|
5050
5050
|
const Gd = (t) => {
|
|
5051
|
-
t.addEventListener("mousedown",
|
|
5051
|
+
t.addEventListener("mousedown", cr), document.body.addEventListener("mousemove", ur), t.addEventListener("mouseup", dr), t.addEventListener("touchstart", cr), document.body.addEventListener("touchmove", ur), t.addEventListener("touchend", dr);
|
|
5052
5052
|
}, qd = (t) => {
|
|
5053
|
-
t.removeEventListener("mousedown",
|
|
5054
|
-
},
|
|
5053
|
+
t.removeEventListener("mousedown", cr), document.body.removeEventListener("mousemove", ur), t.removeEventListener("mouseup", dr), t.removeEventListener("touchstart", cr), document.body.removeEventListener("touchmove", ur), t.removeEventListener("touchend", dr);
|
|
5054
|
+
}, cr = (t) => {
|
|
5055
5055
|
const e = z();
|
|
5056
5056
|
if (t.target === e || Jt().contains(
|
|
5057
5057
|
/** @type {HTMLElement} */
|
|
5058
5058
|
t.target
|
|
5059
5059
|
)) {
|
|
5060
5060
|
So = !0;
|
|
5061
|
-
const n =
|
|
5062
|
-
|
|
5061
|
+
const n = Ii(t);
|
|
5062
|
+
Si = n.clientX, xi = n.clientY, Ai = parseInt(e.style.insetInlineStart) || 0, Ti = parseInt(e.style.insetBlockStart) || 0, U(e, "swal2-dragging");
|
|
5063
5063
|
}
|
|
5064
|
-
},
|
|
5064
|
+
}, ur = (t) => {
|
|
5065
5065
|
const e = z();
|
|
5066
5066
|
if (So) {
|
|
5067
5067
|
let {
|
|
5068
5068
|
clientX: n,
|
|
5069
5069
|
clientY: r
|
|
5070
|
-
} =
|
|
5071
|
-
e.style.insetInlineStart = `${Ai + (n -
|
|
5070
|
+
} = Ii(t);
|
|
5071
|
+
e.style.insetInlineStart = `${Ai + (n - Si)}px`, e.style.insetBlockStart = `${Ti + (r - xi)}px`;
|
|
5072
5072
|
}
|
|
5073
|
-
},
|
|
5073
|
+
}, dr = () => {
|
|
5074
5074
|
const t = z();
|
|
5075
5075
|
So = !1, Re(t, "swal2-dragging");
|
|
5076
|
-
},
|
|
5076
|
+
}, Ii = (t) => {
|
|
5077
5077
|
let e = 0, n = 0;
|
|
5078
5078
|
return t.type.startsWith("mouse") ? (e = /** @type {MouseEvent} */
|
|
5079
5079
|
t.clientX, n = /** @type {MouseEvent} */
|
|
@@ -5084,15 +5084,15 @@ const Gd = (t) => {
|
|
|
5084
5084
|
clientY: n
|
|
5085
5085
|
};
|
|
5086
5086
|
}, Yd = (t, e) => {
|
|
5087
|
-
const n =
|
|
5087
|
+
const n = xe(), r = z();
|
|
5088
5088
|
if (!(!n || !r)) {
|
|
5089
5089
|
if (e.toast) {
|
|
5090
|
-
|
|
5090
|
+
Tt(n, "width", e.width), r.style.width = "100%";
|
|
5091
5091
|
const o = en();
|
|
5092
5092
|
o && r.insertBefore(o, Jt());
|
|
5093
5093
|
} else
|
|
5094
|
-
|
|
5095
|
-
|
|
5094
|
+
Tt(r, "width", e.width);
|
|
5095
|
+
Tt(r, "padding", e.padding), e.color && (r.style.color = e.color), e.background && (r.style.background = e.background), ve(yr()), Xd(r, e), e.draggable && !e.toast ? (U(r, h.draggable), Gd(r)) : (Re(r, h.draggable), qd(r));
|
|
5096
5096
|
}
|
|
5097
5097
|
}, Xd = (t, e) => {
|
|
5098
5098
|
const n = e.showClass || {};
|
|
@@ -5121,15 +5121,15 @@ const Gd = (t) => {
|
|
|
5121
5121
|
return U(e, h["progress-step"]), Le(e, t), e;
|
|
5122
5122
|
}, Qd = (t) => {
|
|
5123
5123
|
const e = document.createElement("li");
|
|
5124
|
-
return U(e, h["progress-step-line"]), t.progressStepsDistance &&
|
|
5124
|
+
return U(e, h["progress-step-line"]), t.progressStepsDistance && Tt(e, "width", t.progressStepsDistance), e;
|
|
5125
5125
|
}, em = (t, e) => {
|
|
5126
|
-
const n =
|
|
5126
|
+
const n = gi();
|
|
5127
5127
|
n && (yo(n), Mn(n, !!(e.title || e.titleText), "block"), e.title && Co(e.title, n), e.titleText && (n.innerText = e.titleText), Pe(n, e, "title"));
|
|
5128
|
-
},
|
|
5129
|
-
Yd(t, e), Pd(t, e), Zd(t, e), zd(t, e), Kd(t, e), em(t, e), Ed(t, e), Hd(t, e),
|
|
5128
|
+
}, Ei = (t, e) => {
|
|
5129
|
+
Yd(t, e), Pd(t, e), Zd(t, e), zd(t, e), Kd(t, e), em(t, e), Ed(t, e), Hd(t, e), Ad(t, e), Fd(t, e);
|
|
5130
5130
|
const n = z();
|
|
5131
5131
|
typeof e.didRender == "function" && n && e.didRender(n), E.eventEmitter.emit("didRender", n);
|
|
5132
|
-
}, tm = () => Ie(z()),
|
|
5132
|
+
}, tm = () => Ie(z()), Pi = () => {
|
|
5133
5133
|
var t;
|
|
5134
5134
|
return (t = Qe()) === null || t === void 0 ? void 0 : t.click();
|
|
5135
5135
|
}, nm = () => {
|
|
@@ -5144,12 +5144,12 @@ const Gd = (t) => {
|
|
|
5144
5144
|
close: "close",
|
|
5145
5145
|
esc: "esc",
|
|
5146
5146
|
timer: "timer"
|
|
5147
|
-
}),
|
|
5147
|
+
}), $i = (t) => {
|
|
5148
5148
|
t.keydownTarget && t.keydownHandlerAdded && (t.keydownTarget.removeEventListener("keydown", t.keydownHandler, {
|
|
5149
5149
|
capture: t.keydownListenerCapture
|
|
5150
5150
|
}), t.keydownHandlerAdded = !1);
|
|
5151
5151
|
}, om = (t, e, n) => {
|
|
5152
|
-
|
|
5152
|
+
$i(t), e.toast || (t.keydownHandler = (r) => im(e, r, n), t.keydownTarget = e.keydownListenerCapture ? window : z(), t.keydownListenerCapture = e.keydownListenerCapture, t.keydownTarget.addEventListener("keydown", t.keydownHandler, {
|
|
5153
5153
|
capture: t.keydownListenerCapture
|
|
5154
5154
|
}), t.keydownHandlerAdded = !0);
|
|
5155
5155
|
}, eo = (t, e) => {
|
|
@@ -5160,16 +5160,16 @@ const Gd = (t) => {
|
|
|
5160
5160
|
return;
|
|
5161
5161
|
}
|
|
5162
5162
|
(n = z()) === null || n === void 0 || n.focus();
|
|
5163
|
-
},
|
|
5164
|
-
t && (e.isComposing || e.keyCode === 229 || (t.stopKeydownPropagation && e.stopPropagation(), e.key === "Enter" ? sm(e, t) : e.key === "Tab" ? lm(e) : [
|
|
5163
|
+
}, Li = ["ArrowRight", "ArrowDown"], am = ["ArrowLeft", "ArrowUp"], im = (t, e, n) => {
|
|
5164
|
+
t && (e.isComposing || e.keyCode === 229 || (t.stopKeydownPropagation && e.stopPropagation(), e.key === "Enter" ? sm(e, t) : e.key === "Tab" ? lm(e) : [...Li, ...am].includes(e.key) ? cm(e.key) : e.key === "Escape" && um(e, t, n)));
|
|
5165
5165
|
}, sm = (t, e) => {
|
|
5166
|
-
if (!
|
|
5166
|
+
if (!wr(e.allowEnterKey))
|
|
5167
5167
|
return;
|
|
5168
|
-
const n =
|
|
5168
|
+
const n = _r(z(), e.input);
|
|
5169
5169
|
if (t.target && n && t.target instanceof HTMLElement && t.target.outerHTML === n.outerHTML) {
|
|
5170
5170
|
if (["textarea", "file"].includes(e.input))
|
|
5171
5171
|
return;
|
|
5172
|
-
|
|
5172
|
+
Pi(), t.preventDefault();
|
|
5173
5173
|
}
|
|
5174
5174
|
}, lm = (t) => {
|
|
5175
5175
|
const e = t.target, n = bo();
|
|
@@ -5187,7 +5187,7 @@ const Gd = (t) => {
|
|
|
5187
5187
|
const a = [n, r, o];
|
|
5188
5188
|
if (document.activeElement instanceof HTMLElement && !a.includes(document.activeElement))
|
|
5189
5189
|
return;
|
|
5190
|
-
const l =
|
|
5190
|
+
const l = Li.includes(t) ? "nextElementSibling" : "previousElementSibling";
|
|
5191
5191
|
let s = document.activeElement;
|
|
5192
5192
|
if (s) {
|
|
5193
5193
|
for (let i = 0; i < e.children.length; i++) {
|
|
@@ -5199,28 +5199,28 @@ const Gd = (t) => {
|
|
|
5199
5199
|
s instanceof HTMLButtonElement && s.focus();
|
|
5200
5200
|
}
|
|
5201
5201
|
}, um = (t, e, n) => {
|
|
5202
|
-
t.preventDefault(),
|
|
5202
|
+
t.preventDefault(), wr(e.allowEscapeKey) && n(tn.esc);
|
|
5203
5203
|
};
|
|
5204
5204
|
var Yt = {
|
|
5205
5205
|
swalPromiseResolve: /* @__PURE__ */ new WeakMap(),
|
|
5206
5206
|
swalPromiseReject: /* @__PURE__ */ new WeakMap()
|
|
5207
5207
|
};
|
|
5208
5208
|
const dm = () => {
|
|
5209
|
-
const t =
|
|
5209
|
+
const t = xe();
|
|
5210
5210
|
Array.from(document.body.children).forEach((n) => {
|
|
5211
5211
|
n.contains(t) || (n.hasAttribute("aria-hidden") && n.setAttribute("data-previous-aria-hidden", n.getAttribute("aria-hidden") || ""), n.setAttribute("aria-hidden", "true"));
|
|
5212
5212
|
});
|
|
5213
|
-
},
|
|
5213
|
+
}, Oi = () => {
|
|
5214
5214
|
Array.from(document.body.children).forEach((e) => {
|
|
5215
5215
|
e.hasAttribute("data-previous-aria-hidden") ? (e.setAttribute("aria-hidden", e.getAttribute("data-previous-aria-hidden") || ""), e.removeAttribute("data-previous-aria-hidden")) : e.removeAttribute("aria-hidden");
|
|
5216
5216
|
});
|
|
5217
|
-
},
|
|
5218
|
-
if (
|
|
5217
|
+
}, Bi = typeof window < "u" && !!window.GestureEvent, mm = () => {
|
|
5218
|
+
if (Bi && !lt(document.body, h.iosfix)) {
|
|
5219
5219
|
const t = document.body.scrollTop;
|
|
5220
5220
|
document.body.style.top = `${t * -1}px`, U(document.body, h.iosfix), fm();
|
|
5221
5221
|
}
|
|
5222
5222
|
}, fm = () => {
|
|
5223
|
-
const t =
|
|
5223
|
+
const t = xe();
|
|
5224
5224
|
if (!t)
|
|
5225
5225
|
return;
|
|
5226
5226
|
let e;
|
|
@@ -5230,7 +5230,7 @@ const dm = () => {
|
|
|
5230
5230
|
e && (n.preventDefault(), n.stopPropagation());
|
|
5231
5231
|
};
|
|
5232
5232
|
}, pm = (t) => {
|
|
5233
|
-
const e = t.target, n =
|
|
5233
|
+
const e = t.target, n = xe(), r = ho();
|
|
5234
5234
|
return !n || !r || hm(t) || gm(t) ? !1 : e === n || !Qr(n) && e instanceof HTMLElement && !pd(e, r) && // #2823
|
|
5235
5235
|
e.tagName !== "INPUT" && // #1603
|
|
5236
5236
|
e.tagName !== "TEXTAREA" && // #2266
|
|
@@ -5253,8 +5253,8 @@ const wm = (t) => {
|
|
|
5253
5253
|
}, ym = () => {
|
|
5254
5254
|
Kt !== null && (document.body.style.paddingRight = `${Kt}px`, Kt = null);
|
|
5255
5255
|
};
|
|
5256
|
-
function
|
|
5257
|
-
|
|
5256
|
+
function Mi(t, e, n, r) {
|
|
5257
|
+
Cr() ? xa(t, r) : (od(n).then(() => xa(t, r)), $i(E)), Bi ? (e.setAttribute("style", "display:none !important"), e.removeAttribute("class"), e.innerHTML = "") : e.remove(), wo() && (ym(), vm(), Oi()), km();
|
|
5258
5258
|
}
|
|
5259
5259
|
function km() {
|
|
5260
5260
|
Re([document.documentElement, document.body], [h.shown, h["height-auto"], h["no-backdrop"], h["toast-shown"]]);
|
|
@@ -5272,10 +5272,10 @@ const Cm = (t) => {
|
|
|
5272
5272
|
if (!n || lt(e, n.hideClass.popup))
|
|
5273
5273
|
return !1;
|
|
5274
5274
|
Re(e, n.showClass.popup), U(e, n.hideClass.popup);
|
|
5275
|
-
const r =
|
|
5275
|
+
const r = xe();
|
|
5276
5276
|
return Re(r, n.showClass.backdrop), U(r, n.hideClass.backdrop), Sm(t, e, n), !0;
|
|
5277
5277
|
};
|
|
5278
|
-
function
|
|
5278
|
+
function Di(t) {
|
|
5279
5279
|
const e = Yt.swalPromiseReject.get(this);
|
|
5280
5280
|
Rn(this), e && e(t);
|
|
5281
5281
|
}
|
|
@@ -5291,10 +5291,10 @@ const Rn = (t) => {
|
|
|
5291
5291
|
isDismissed: !1
|
|
5292
5292
|
}, t), Sm = (t, e, n) => {
|
|
5293
5293
|
var r;
|
|
5294
|
-
const o =
|
|
5295
|
-
typeof n.willClose == "function" && n.willClose(e), (r = E.eventEmitter) === null || r === void 0 || r.emit("willClose", e), a ?
|
|
5296
|
-
},
|
|
5297
|
-
E.swalCloseEventFinishedCallback =
|
|
5294
|
+
const o = xe(), a = ki(e);
|
|
5295
|
+
typeof n.willClose == "function" && n.willClose(e), (r = E.eventEmitter) === null || r === void 0 || r.emit("willClose", e), a ? xm(t, e, o, n.returnFocus, n.didClose) : Mi(t, o, n.returnFocus, n.didClose);
|
|
5296
|
+
}, xm = (t, e, n, r, o) => {
|
|
5297
|
+
E.swalCloseEventFinishedCallback = Mi.bind(null, t, n, r, o);
|
|
5298
5298
|
const a = function(l) {
|
|
5299
5299
|
if (l.target === e) {
|
|
5300
5300
|
var s;
|
|
@@ -5302,7 +5302,7 @@ const Rn = (t) => {
|
|
|
5302
5302
|
}
|
|
5303
5303
|
};
|
|
5304
5304
|
e.addEventListener("animationend", a), e.addEventListener("transitionend", a);
|
|
5305
|
-
},
|
|
5305
|
+
}, xa = (t, e) => {
|
|
5306
5306
|
setTimeout(() => {
|
|
5307
5307
|
var n;
|
|
5308
5308
|
typeof e == "function" && e.bind(t.params)(), (n = E.eventEmitter) === null || n === void 0 || n.emit("didClose"), t._destroy && t._destroy();
|
|
@@ -5312,8 +5312,8 @@ const Rn = (t) => {
|
|
|
5312
5312
|
if (e || new Pt(), e = z(), !e)
|
|
5313
5313
|
return;
|
|
5314
5314
|
const n = en();
|
|
5315
|
-
|
|
5316
|
-
},
|
|
5315
|
+
Cr() ? ve(Jt()) : Am(e, t), ce(n), e.setAttribute("data-loading", "true"), e.setAttribute("aria-busy", "true"), e.focus();
|
|
5316
|
+
}, Am = (t, e) => {
|
|
5317
5317
|
const n = Bn(), r = en();
|
|
5318
5318
|
!n || !r || (!e && Ie(Qe()) && (e = Qe()), ce(n), e && (ve(e), r.setAttribute("data-button-to-replace", e.className), n.insertBefore(r, e)), U([t, n], h.loading));
|
|
5319
5319
|
}, Tm = (t, e) => {
|
|
@@ -5337,7 +5337,7 @@ const Rn = (t) => {
|
|
|
5337
5337
|
if (!n)
|
|
5338
5338
|
return;
|
|
5339
5339
|
const r = (o) => {
|
|
5340
|
-
e.input === "select" ? Bm(n,
|
|
5340
|
+
e.input === "select" ? Bm(n, mr(o), e) : e.input === "radio" && Mm(n, mr(o), e);
|
|
5341
5341
|
};
|
|
5342
5342
|
fo(e.inputOptions) || po(e.inputOptions) ? (Xt(Qe()), Ln(e.inputOptions).then((o) => {
|
|
5343
5343
|
t.hideLoading(), r(o);
|
|
@@ -5356,7 +5356,7 @@ function Bm(t, e, n) {
|
|
|
5356
5356
|
return;
|
|
5357
5357
|
const o = (a, l, s) => {
|
|
5358
5358
|
const i = document.createElement("option");
|
|
5359
|
-
i.value = s, Le(i, l), i.selected =
|
|
5359
|
+
i.value = s, Le(i, l), i.selected = Ri(s, n.inputValue), a.appendChild(i);
|
|
5360
5360
|
};
|
|
5361
5361
|
e.forEach((a) => {
|
|
5362
5362
|
const l = a[0], s = a[1];
|
|
@@ -5373,44 +5373,44 @@ function Mm(t, e, n) {
|
|
|
5373
5373
|
return;
|
|
5374
5374
|
e.forEach((a) => {
|
|
5375
5375
|
const l = a[0], s = a[1], i = document.createElement("input"), c = document.createElement("label");
|
|
5376
|
-
i.type = "radio", i.name = h.radio, i.value = l,
|
|
5376
|
+
i.type = "radio", i.name = h.radio, i.value = l, Ri(l, n.inputValue) && (i.checked = !0);
|
|
5377
5377
|
const u = document.createElement("span");
|
|
5378
5378
|
Le(u, s), u.className = h.label, c.appendChild(i), c.appendChild(u), r.appendChild(c);
|
|
5379
5379
|
});
|
|
5380
5380
|
const o = r.querySelectorAll("input");
|
|
5381
5381
|
o.length && o[0].focus();
|
|
5382
5382
|
}
|
|
5383
|
-
const
|
|
5383
|
+
const mr = (t) => {
|
|
5384
5384
|
const e = [];
|
|
5385
5385
|
return t instanceof Map ? t.forEach((n, r) => {
|
|
5386
5386
|
let o = n;
|
|
5387
|
-
typeof o == "object" && (o =
|
|
5387
|
+
typeof o == "object" && (o = mr(o)), e.push([r, o]);
|
|
5388
5388
|
}) : Object.keys(t).forEach((n) => {
|
|
5389
5389
|
let r = t[n];
|
|
5390
|
-
typeof r == "object" && (r =
|
|
5390
|
+
typeof r == "object" && (r = mr(r)), e.push([n, r]);
|
|
5391
5391
|
}), e;
|
|
5392
|
-
},
|
|
5392
|
+
}, Ri = (t, e) => !!e && e.toString() === t.toString(), Dm = (t) => {
|
|
5393
5393
|
const e = Y.innerParams.get(t);
|
|
5394
|
-
t.disableButtons(), e.input ?
|
|
5394
|
+
t.disableButtons(), e.input ? Ni(t, "confirm") : Ao(t, !0);
|
|
5395
5395
|
}, Rm = (t) => {
|
|
5396
5396
|
const e = Y.innerParams.get(t);
|
|
5397
|
-
t.disableButtons(), e.returnInputValueOnDeny ?
|
|
5397
|
+
t.disableButtons(), e.returnInputValueOnDeny ? Ni(t, "deny") : xo(t, !1);
|
|
5398
5398
|
}, Nm = (t, e) => {
|
|
5399
5399
|
t.disableButtons(), e(tn.cancel);
|
|
5400
|
-
},
|
|
5400
|
+
}, Ni = (t, e) => {
|
|
5401
5401
|
const n = Y.innerParams.get(t);
|
|
5402
5402
|
if (!n.input) {
|
|
5403
5403
|
Lt(`The "input" parameter is needed to be set when using returnInputValueOn${mo(e)}`);
|
|
5404
5404
|
return;
|
|
5405
5405
|
}
|
|
5406
5406
|
const r = t.getInput(), o = Im(t, n);
|
|
5407
|
-
n.inputValidator ? jm(t, o, e) : r && !r.checkValidity() ? (t.enableButtons(), t.showValidationMessage(n.validationMessage || r.validationMessage)) : e === "deny" ?
|
|
5407
|
+
n.inputValidator ? jm(t, o, e) : r && !r.checkValidity() ? (t.enableButtons(), t.showValidationMessage(n.validationMessage || r.validationMessage)) : e === "deny" ? xo(t, o) : Ao(t, o);
|
|
5408
5408
|
}, jm = (t, e, n) => {
|
|
5409
5409
|
const r = Y.innerParams.get(t);
|
|
5410
5410
|
t.disableInput(), Promise.resolve().then(() => Ln(r.inputValidator(e, r.validationMessage))).then((a) => {
|
|
5411
|
-
t.enableButtons(), t.enableInput(), a ? t.showValidationMessage(a) : n === "deny" ?
|
|
5411
|
+
t.enableButtons(), t.enableInput(), a ? t.showValidationMessage(a) : n === "deny" ? xo(t, e) : Ao(t, e);
|
|
5412
5412
|
});
|
|
5413
|
-
},
|
|
5413
|
+
}, xo = (t, e) => {
|
|
5414
5414
|
const n = Y.innerParams.get(t || void 0);
|
|
5415
5415
|
n.showLoaderOnDeny && Xt(Ot()), n.preDeny ? (t.isAwaitingPromise = !0, Promise.resolve().then(() => Ln(n.preDeny(e, n.validationMessage))).then((o) => {
|
|
5416
5416
|
o === !1 ? (t.hideLoading(), Rn(t)) : t.close(
|
|
@@ -5420,14 +5420,14 @@ const dr = (t) => {
|
|
|
5420
5420
|
value: typeof o > "u" ? e : o
|
|
5421
5421
|
}
|
|
5422
5422
|
);
|
|
5423
|
-
}).catch((o) =>
|
|
5423
|
+
}).catch((o) => ji(t || void 0, o))) : t.close(
|
|
5424
5424
|
/** @type SweetAlertResult */
|
|
5425
5425
|
{
|
|
5426
5426
|
isDenied: !0,
|
|
5427
5427
|
value: e
|
|
5428
5428
|
}
|
|
5429
5429
|
);
|
|
5430
|
-
},
|
|
5430
|
+
}, Aa = (t, e) => {
|
|
5431
5431
|
t.close(
|
|
5432
5432
|
/** @type SweetAlertResult */
|
|
5433
5433
|
{
|
|
@@ -5435,36 +5435,36 @@ const dr = (t) => {
|
|
|
5435
5435
|
value: e
|
|
5436
5436
|
}
|
|
5437
5437
|
);
|
|
5438
|
-
},
|
|
5438
|
+
}, ji = (t, e) => {
|
|
5439
5439
|
t.rejectPromise(e);
|
|
5440
|
-
},
|
|
5440
|
+
}, Ao = (t, e) => {
|
|
5441
5441
|
const n = Y.innerParams.get(t || void 0);
|
|
5442
5442
|
n.showLoaderOnConfirm && Xt(), n.preConfirm ? (t.resetValidationMessage(), t.isAwaitingPromise = !0, Promise.resolve().then(() => Ln(n.preConfirm(e, n.validationMessage))).then((o) => {
|
|
5443
|
-
Ie(
|
|
5444
|
-
}).catch((o) =>
|
|
5443
|
+
Ie(yr()) || o === !1 ? (t.hideLoading(), Rn(t)) : Aa(t, typeof o > "u" ? e : o);
|
|
5444
|
+
}).catch((o) => ji(t || void 0, o))) : Aa(t, e);
|
|
5445
5445
|
};
|
|
5446
|
-
function
|
|
5446
|
+
function fr() {
|
|
5447
5447
|
const t = Y.innerParams.get(this);
|
|
5448
5448
|
if (!t)
|
|
5449
5449
|
return;
|
|
5450
5450
|
const e = Y.domCache.get(this);
|
|
5451
|
-
ve(e.loader),
|
|
5451
|
+
ve(e.loader), Cr() ? t.icon && ce(Jt()) : Hm(e), Re([e.popup, e.actions], h.loading), e.popup.removeAttribute("aria-busy"), e.popup.removeAttribute("data-loading"), e.confirmButton.disabled = !1, e.denyButton.disabled = !1, e.cancelButton.disabled = !1;
|
|
5452
5452
|
}
|
|
5453
5453
|
const Hm = (t) => {
|
|
5454
5454
|
const e = t.popup.getElementsByClassName(t.loader.getAttribute("data-button-to-replace"));
|
|
5455
5455
|
e.length ? ce(e[0], "inline-block") : fd() && ve(t.actions);
|
|
5456
5456
|
};
|
|
5457
|
-
function
|
|
5457
|
+
function Hi() {
|
|
5458
5458
|
const t = Y.innerParams.get(this), e = Y.domCache.get(this);
|
|
5459
|
-
return e ?
|
|
5459
|
+
return e ? _r(e.popup, t.input) : null;
|
|
5460
5460
|
}
|
|
5461
|
-
function
|
|
5461
|
+
function Fi(t, e, n) {
|
|
5462
5462
|
const r = Y.domCache.get(t);
|
|
5463
5463
|
e.forEach((o) => {
|
|
5464
5464
|
r[o].disabled = n;
|
|
5465
5465
|
});
|
|
5466
5466
|
}
|
|
5467
|
-
function
|
|
5467
|
+
function zi(t, e) {
|
|
5468
5468
|
const n = z();
|
|
5469
5469
|
if (!(!n || !t))
|
|
5470
5470
|
if (t.type === "radio") {
|
|
@@ -5474,25 +5474,25 @@ function Fi(t, e) {
|
|
|
5474
5474
|
} else
|
|
5475
5475
|
t.disabled = e;
|
|
5476
5476
|
}
|
|
5477
|
-
function zi() {
|
|
5478
|
-
Hi(this, ["confirmButton", "denyButton", "cancelButton"], !1);
|
|
5479
|
-
}
|
|
5480
5477
|
function Ui() {
|
|
5481
|
-
|
|
5478
|
+
Fi(this, ["confirmButton", "denyButton", "cancelButton"], !1);
|
|
5482
5479
|
}
|
|
5483
5480
|
function Vi() {
|
|
5484
|
-
Fi(this
|
|
5481
|
+
Fi(this, ["confirmButton", "denyButton", "cancelButton"], !0);
|
|
5485
5482
|
}
|
|
5486
5483
|
function Wi() {
|
|
5487
|
-
|
|
5484
|
+
zi(this.getInput(), !1);
|
|
5485
|
+
}
|
|
5486
|
+
function Ki() {
|
|
5487
|
+
zi(this.getInput(), !0);
|
|
5488
5488
|
}
|
|
5489
|
-
function
|
|
5489
|
+
function Gi(t) {
|
|
5490
5490
|
const e = Y.domCache.get(this), n = Y.innerParams.get(this);
|
|
5491
5491
|
Le(e.validationMessage, t), e.validationMessage.className = h["validation-message"], n.customClass && n.customClass.validationMessage && U(e.validationMessage, n.customClass.validationMessage), ce(e.validationMessage);
|
|
5492
5492
|
const r = this.getInput();
|
|
5493
|
-
r && (r.setAttribute("aria-invalid", "true"), r.setAttribute("aria-describedby", h["validation-message"]),
|
|
5493
|
+
r && (r.setAttribute("aria-invalid", "true"), r.setAttribute("aria-describedby", h["validation-message"]), wi(r), U(r, h.inputerror));
|
|
5494
5494
|
}
|
|
5495
|
-
function
|
|
5495
|
+
function qi() {
|
|
5496
5496
|
const t = Y.domCache.get(this);
|
|
5497
5497
|
t.validationMessage && ve(t.validationMessage);
|
|
5498
5498
|
const e = this.getInput();
|
|
@@ -5593,26 +5593,26 @@ const Gt = {
|
|
|
5593
5593
|
topLayer: !1
|
|
5594
5594
|
}, Fm = ["allowEscapeKey", "allowOutsideClick", "background", "buttonsStyling", "cancelButtonAriaLabel", "cancelButtonColor", "cancelButtonText", "closeButtonAriaLabel", "closeButtonHtml", "color", "confirmButtonAriaLabel", "confirmButtonColor", "confirmButtonText", "currentProgressStep", "customClass", "denyButtonAriaLabel", "denyButtonColor", "denyButtonText", "didClose", "didDestroy", "draggable", "footer", "hideClass", "html", "icon", "iconColor", "iconHtml", "imageAlt", "imageHeight", "imageUrl", "imageWidth", "preConfirm", "preDeny", "progressSteps", "returnFocus", "reverseButtons", "showCancelButton", "showCloseButton", "showConfirmButton", "showDenyButton", "text", "title", "titleText", "theme", "willClose"], zm = {
|
|
5595
5595
|
allowEnterKey: void 0
|
|
5596
|
-
}, Um = ["allowOutsideClick", "allowEnterKey", "backdrop", "draggable", "focusConfirm", "focusDeny", "focusCancel", "returnFocus", "heightAuto", "keydownListenerCapture"],
|
|
5597
|
-
|
|
5596
|
+
}, Um = ["allowOutsideClick", "allowEnterKey", "backdrop", "draggable", "focusConfirm", "focusDeny", "focusCancel", "returnFocus", "heightAuto", "keydownListenerCapture"], Yi = (t) => Object.prototype.hasOwnProperty.call(Gt, t), Xi = (t) => Fm.indexOf(t) !== -1, Zi = (t) => zm[t], Vm = (t) => {
|
|
5597
|
+
Yi(t) || Ce(`Unknown parameter "${t}"`);
|
|
5598
5598
|
}, Wm = (t) => {
|
|
5599
5599
|
Um.includes(t) && Ce(`The parameter "${t}" is incompatible with toasts`);
|
|
5600
5600
|
}, Km = (t) => {
|
|
5601
|
-
const e =
|
|
5602
|
-
e &&
|
|
5603
|
-
},
|
|
5601
|
+
const e = Zi(t);
|
|
5602
|
+
e && hi(t, e);
|
|
5603
|
+
}, Ji = (t) => {
|
|
5604
5604
|
t.backdrop === !1 && t.allowOutsideClick && Ce('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'), t.theme && !["light", "dark", "auto", "minimal", "borderless", "bootstrap-4", "bootstrap-4-light", "bootstrap-4-dark", "bootstrap-5", "bootstrap-5-light", "bootstrap-5-dark", "material-ui", "material-ui-light", "material-ui-dark", "embed-iframe", "bulma", "bulma-light", "bulma-dark"].includes(t.theme) && Ce(`Invalid theme "${t.theme}"`);
|
|
5605
5605
|
for (const e in t)
|
|
5606
5606
|
Vm(e), t.toast && Wm(e), Km(e);
|
|
5607
5607
|
};
|
|
5608
|
-
function
|
|
5609
|
-
const e =
|
|
5608
|
+
function Qi(t) {
|
|
5609
|
+
const e = xe(), n = z(), r = Y.innerParams.get(this);
|
|
5610
5610
|
if (!n || lt(n, r.hideClass.popup)) {
|
|
5611
5611
|
Ce("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");
|
|
5612
5612
|
return;
|
|
5613
5613
|
}
|
|
5614
5614
|
const o = Gm(t), a = Object.assign({}, r, o);
|
|
5615
|
-
|
|
5615
|
+
Ji(a), e.dataset.swal2Theme = a.theme, Ei(this, a), Y.innerParams.set(this, a), Object.defineProperties(this, {
|
|
5616
5616
|
params: {
|
|
5617
5617
|
value: Object.assign({}, this.params, t),
|
|
5618
5618
|
writable: !1,
|
|
@@ -5623,44 +5623,44 @@ function Ji(t) {
|
|
|
5623
5623
|
const Gm = (t) => {
|
|
5624
5624
|
const e = {};
|
|
5625
5625
|
return Object.keys(t).forEach((n) => {
|
|
5626
|
-
|
|
5626
|
+
Xi(n) ? e[n] = t[n] : Ce(`Invalid parameter to update: ${n}`);
|
|
5627
5627
|
}), e;
|
|
5628
5628
|
};
|
|
5629
|
-
function
|
|
5629
|
+
function es() {
|
|
5630
5630
|
const t = Y.domCache.get(this), e = Y.innerParams.get(this);
|
|
5631
5631
|
if (!e) {
|
|
5632
|
-
|
|
5632
|
+
ts(this);
|
|
5633
5633
|
return;
|
|
5634
5634
|
}
|
|
5635
5635
|
t.popup && E.swalCloseEventFinishedCallback && (E.swalCloseEventFinishedCallback(), delete E.swalCloseEventFinishedCallback), typeof e.didDestroy == "function" && e.didDestroy(), E.eventEmitter.emit("didDestroy"), qm(this);
|
|
5636
5636
|
}
|
|
5637
5637
|
const qm = (t) => {
|
|
5638
|
-
|
|
5639
|
-
},
|
|
5640
|
-
t.isAwaitingPromise ? (
|
|
5641
|
-
},
|
|
5638
|
+
ts(t), delete t.params, delete E.keydownHandler, delete E.keydownTarget, delete E.currentInstance;
|
|
5639
|
+
}, ts = (t) => {
|
|
5640
|
+
t.isAwaitingPromise ? (jr(Y, t), t.isAwaitingPromise = !0) : (jr(Yt, t), jr(Y, t), delete t.isAwaitingPromise, delete t.disableButtons, delete t.enableButtons, delete t.getInput, delete t.disableInput, delete t.enableInput, delete t.hideLoading, delete t.disableLoading, delete t.showValidationMessage, delete t.resetValidationMessage, delete t.close, delete t.closePopup, delete t.closeModal, delete t.closeToast, delete t.rejectPromise, delete t.update, delete t._destroy);
|
|
5641
|
+
}, jr = (t, e) => {
|
|
5642
5642
|
for (const n in t)
|
|
5643
5643
|
t[n].delete(e);
|
|
5644
5644
|
};
|
|
5645
5645
|
var Ym = /* @__PURE__ */ Object.freeze({
|
|
5646
5646
|
__proto__: null,
|
|
5647
|
-
_destroy:
|
|
5647
|
+
_destroy: es,
|
|
5648
5648
|
close: vt,
|
|
5649
5649
|
closeModal: vt,
|
|
5650
5650
|
closePopup: vt,
|
|
5651
5651
|
closeToast: vt,
|
|
5652
|
-
disableButtons:
|
|
5653
|
-
disableInput:
|
|
5654
|
-
disableLoading:
|
|
5655
|
-
enableButtons:
|
|
5656
|
-
enableInput:
|
|
5657
|
-
getInput:
|
|
5652
|
+
disableButtons: Vi,
|
|
5653
|
+
disableInput: Ki,
|
|
5654
|
+
disableLoading: fr,
|
|
5655
|
+
enableButtons: Ui,
|
|
5656
|
+
enableInput: Wi,
|
|
5657
|
+
getInput: Hi,
|
|
5658
5658
|
handleAwaitingPromise: Rn,
|
|
5659
|
-
hideLoading:
|
|
5660
|
-
rejectPromise:
|
|
5661
|
-
resetValidationMessage:
|
|
5662
|
-
showValidationMessage:
|
|
5663
|
-
update:
|
|
5659
|
+
hideLoading: fr,
|
|
5660
|
+
rejectPromise: Di,
|
|
5661
|
+
resetValidationMessage: qi,
|
|
5662
|
+
showValidationMessage: Gi,
|
|
5663
|
+
update: Qi
|
|
5664
5664
|
});
|
|
5665
5665
|
const Xm = (t, e, n) => {
|
|
5666
5666
|
t.toast ? Zm(t, e, n) : (Qm(e), ef(e), tf(t, e, n));
|
|
@@ -5669,28 +5669,28 @@ const Xm = (t, e, n) => {
|
|
|
5669
5669
|
t && (Jm(t) || t.timer || t.input) || n(tn.close);
|
|
5670
5670
|
};
|
|
5671
5671
|
}, Jm = (t) => !!(t.showConfirmButton || t.showDenyButton || t.showCancelButton || t.showCloseButton);
|
|
5672
|
-
let
|
|
5672
|
+
let pr = !1;
|
|
5673
5673
|
const Qm = (t) => {
|
|
5674
5674
|
t.popup.onmousedown = () => {
|
|
5675
5675
|
t.container.onmouseup = function(e) {
|
|
5676
5676
|
t.container.onmouseup = () => {
|
|
5677
|
-
}, e.target === t.container && (
|
|
5677
|
+
}, e.target === t.container && (pr = !0);
|
|
5678
5678
|
};
|
|
5679
5679
|
};
|
|
5680
5680
|
}, ef = (t) => {
|
|
5681
5681
|
t.container.onmousedown = (e) => {
|
|
5682
5682
|
e.target === t.container && e.preventDefault(), t.popup.onmouseup = function(n) {
|
|
5683
5683
|
t.popup.onmouseup = () => {
|
|
5684
|
-
}, (n.target === t.popup || n.target instanceof HTMLElement && t.popup.contains(n.target)) && (
|
|
5684
|
+
}, (n.target === t.popup || n.target instanceof HTMLElement && t.popup.contains(n.target)) && (pr = !0);
|
|
5685
5685
|
};
|
|
5686
5686
|
};
|
|
5687
5687
|
}, tf = (t, e, n) => {
|
|
5688
5688
|
e.container.onclick = (r) => {
|
|
5689
|
-
if (
|
|
5690
|
-
|
|
5689
|
+
if (pr) {
|
|
5690
|
+
pr = !1;
|
|
5691
5691
|
return;
|
|
5692
5692
|
}
|
|
5693
|
-
r.target === e.container &&
|
|
5693
|
+
r.target === e.container && wr(t.allowOutsideClick) && n(tn.backdrop);
|
|
5694
5694
|
};
|
|
5695
5695
|
}, nf = (t) => typeof t == "object" && t.jquery, Ta = (t) => t instanceof Element || nf(t), rf = (t) => {
|
|
5696
5696
|
const e = {};
|
|
@@ -5710,17 +5710,17 @@ function af(t) {
|
|
|
5710
5710
|
}
|
|
5711
5711
|
return e;
|
|
5712
5712
|
}
|
|
5713
|
-
const sf = () => E.timeout && E.timeout.getTimerLeft(),
|
|
5713
|
+
const sf = () => E.timeout && E.timeout.getTimerLeft(), ns = () => {
|
|
5714
5714
|
if (E.timeout)
|
|
5715
5715
|
return hd(), E.timeout.stop();
|
|
5716
|
-
},
|
|
5716
|
+
}, rs = () => {
|
|
5717
5717
|
if (E.timeout) {
|
|
5718
5718
|
const t = E.timeout.start();
|
|
5719
5719
|
return ko(t), t;
|
|
5720
5720
|
}
|
|
5721
5721
|
}, lf = () => {
|
|
5722
5722
|
const t = E.timeout;
|
|
5723
|
-
return t && (t.running ?
|
|
5723
|
+
return t && (t.running ? ns() : rs());
|
|
5724
5724
|
}, cf = (t) => {
|
|
5725
5725
|
if (E.timeout) {
|
|
5726
5726
|
const e = E.timeout.increase(t);
|
|
@@ -5826,7 +5826,7 @@ var vf = /* @__PURE__ */ Object.freeze({
|
|
|
5826
5826
|
argsToParams: rf,
|
|
5827
5827
|
bindClickHandler: df,
|
|
5828
5828
|
clickCancel: rm,
|
|
5829
|
-
clickConfirm:
|
|
5829
|
+
clickConfirm: Pi,
|
|
5830
5830
|
clickDeny: nm,
|
|
5831
5831
|
enableLoading: Xt,
|
|
5832
5832
|
fire: of,
|
|
@@ -5834,36 +5834,36 @@ var vf = /* @__PURE__ */ Object.freeze({
|
|
|
5834
5834
|
getCancelButton: Qt,
|
|
5835
5835
|
getCloseButton: vo,
|
|
5836
5836
|
getConfirmButton: Qe,
|
|
5837
|
-
getContainer:
|
|
5837
|
+
getContainer: xe,
|
|
5838
5838
|
getDenyButton: Ot,
|
|
5839
5839
|
getFocusableElements: bo,
|
|
5840
|
-
getFooter:
|
|
5840
|
+
getFooter: bi,
|
|
5841
5841
|
getHtmlContainer: ho,
|
|
5842
5842
|
getIcon: Jt,
|
|
5843
5843
|
getIconContent: ld,
|
|
5844
|
-
getImage:
|
|
5844
|
+
getImage: vi,
|
|
5845
5845
|
getInputLabel: cd,
|
|
5846
5846
|
getLoader: en,
|
|
5847
5847
|
getPopup: z,
|
|
5848
5848
|
getProgressSteps: go,
|
|
5849
5849
|
getTimerLeft: sf,
|
|
5850
|
-
getTimerProgressBar:
|
|
5851
|
-
getTitle:
|
|
5852
|
-
getValidationMessage:
|
|
5850
|
+
getTimerProgressBar: kr,
|
|
5851
|
+
getTitle: gi,
|
|
5852
|
+
getValidationMessage: yr,
|
|
5853
5853
|
increaseTimer: cf,
|
|
5854
|
-
isDeprecatedParameter:
|
|
5854
|
+
isDeprecatedParameter: Zi,
|
|
5855
5855
|
isLoading: dd,
|
|
5856
5856
|
isTimerRunning: uf,
|
|
5857
|
-
isUpdatableParameter:
|
|
5858
|
-
isValidParameter:
|
|
5857
|
+
isUpdatableParameter: Xi,
|
|
5858
|
+
isValidParameter: Yi,
|
|
5859
5859
|
isVisible: tm,
|
|
5860
5860
|
mixin: af,
|
|
5861
5861
|
off: gf,
|
|
5862
5862
|
on: pf,
|
|
5863
5863
|
once: hf,
|
|
5864
|
-
resumeTimer:
|
|
5864
|
+
resumeTimer: rs,
|
|
5865
5865
|
showLoading: Xt,
|
|
5866
|
-
stopTimer:
|
|
5866
|
+
stopTimer: ns,
|
|
5867
5867
|
toggleTimer: lf
|
|
5868
5868
|
});
|
|
5869
5869
|
class bf {
|
|
@@ -5907,7 +5907,7 @@ class bf {
|
|
|
5907
5907
|
return this.running;
|
|
5908
5908
|
}
|
|
5909
5909
|
}
|
|
5910
|
-
const
|
|
5910
|
+
const os = ["swal-title", "swal-html", "swal-footer"], wf = (t) => {
|
|
5911
5911
|
const e = typeof t.template == "string" ? (
|
|
5912
5912
|
/** @type {HTMLTemplateElement} */
|
|
5913
5913
|
document.querySelector(t.template)
|
|
@@ -5915,7 +5915,7 @@ const rs = ["swal-title", "swal-html", "swal-footer"], wf = (t) => {
|
|
|
5915
5915
|
if (!e)
|
|
5916
5916
|
return {};
|
|
5917
5917
|
const n = e.content;
|
|
5918
|
-
return Tf(n), Object.assign(yf(n), kf(n), Cf(n), _f(n), Sf(n),
|
|
5918
|
+
return Tf(n), Object.assign(yf(n), kf(n), Cf(n), _f(n), Sf(n), xf(n), Af(n, os));
|
|
5919
5919
|
}, yf = (t) => {
|
|
5920
5920
|
const e = {};
|
|
5921
5921
|
return Array.from(t.querySelectorAll("swal-param")).forEach((r) => {
|
|
@@ -5948,7 +5948,7 @@ const rs = ["swal-title", "swal-html", "swal-footer"], wf = (t) => {
|
|
|
5948
5948
|
}, Sf = (t) => {
|
|
5949
5949
|
const e = {}, n = t.querySelector("swal-icon");
|
|
5950
5950
|
return n && (Et(n, ["type", "color"]), n.hasAttribute("type") && (e.icon = n.getAttribute("type")), n.hasAttribute("color") && (e.iconColor = n.getAttribute("color")), e.iconHtml = n.innerHTML), e;
|
|
5951
|
-
},
|
|
5951
|
+
}, xf = (t) => {
|
|
5952
5952
|
const e = {}, n = t.querySelector("swal-input");
|
|
5953
5953
|
n && (Et(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")));
|
|
5954
5954
|
const r = Array.from(t.querySelectorAll("swal-input-option"));
|
|
@@ -5960,7 +5960,7 @@ const rs = ["swal-title", "swal-html", "swal-footer"], wf = (t) => {
|
|
|
5960
5960
|
const l = o.innerHTML;
|
|
5961
5961
|
e.inputOptions[a] = l;
|
|
5962
5962
|
})), e;
|
|
5963
|
-
},
|
|
5963
|
+
}, Af = (t, e) => {
|
|
5964
5964
|
const n = {};
|
|
5965
5965
|
for (const r in e) {
|
|
5966
5966
|
const o = e[r], a = t.querySelector(o);
|
|
@@ -5968,7 +5968,7 @@ const rs = ["swal-title", "swal-html", "swal-footer"], wf = (t) => {
|
|
|
5968
5968
|
}
|
|
5969
5969
|
return n;
|
|
5970
5970
|
}, Tf = (t) => {
|
|
5971
|
-
const e =
|
|
5971
|
+
const e = os.concat(["swal-param", "swal-function-param", "swal-button", "swal-image", "swal-icon", "swal-input", "swal-input-option"]);
|
|
5972
5972
|
Array.from(t.children).forEach((n) => {
|
|
5973
5973
|
const r = n.tagName.toLowerCase();
|
|
5974
5974
|
e.includes(r) || Ce(`Unrecognized element <${r}>`);
|
|
@@ -5977,21 +5977,21 @@ const rs = ["swal-title", "swal-html", "swal-footer"], wf = (t) => {
|
|
|
5977
5977
|
Array.from(t.attributes).forEach((n) => {
|
|
5978
5978
|
e.indexOf(n.name) === -1 && Ce([`Unrecognized attribute "${n.name}" on <${t.tagName.toLowerCase()}>.`, `${e.length ? `Allowed attributes are: ${e.join(", ")}` : "To set the value, use HTML within the element."}`]);
|
|
5979
5979
|
});
|
|
5980
|
-
},
|
|
5981
|
-
const e =
|
|
5980
|
+
}, as = 10, If = (t) => {
|
|
5981
|
+
const e = xe(), n = z();
|
|
5982
5982
|
typeof t.willOpen == "function" && t.willOpen(n), E.eventEmitter.emit("willOpen", n);
|
|
5983
5983
|
const o = window.getComputedStyle(document.body).overflowY;
|
|
5984
5984
|
$f(e, n, t), setTimeout(() => {
|
|
5985
5985
|
Ef(e, n);
|
|
5986
|
-
},
|
|
5987
|
-
},
|
|
5986
|
+
}, as), wo() && (Pf(e, t.scrollbarPadding, o), dm()), !Cr() && !E.previousActiveElement && (E.previousActiveElement = document.activeElement), typeof t.didOpen == "function" && setTimeout(() => t.didOpen(n)), E.eventEmitter.emit("didOpen", n);
|
|
5987
|
+
}, hr = (t) => {
|
|
5988
5988
|
const e = z();
|
|
5989
5989
|
if (t.target !== e)
|
|
5990
5990
|
return;
|
|
5991
|
-
const n =
|
|
5992
|
-
e.removeEventListener("animationend",
|
|
5991
|
+
const n = xe();
|
|
5992
|
+
e.removeEventListener("animationend", hr), e.removeEventListener("transitionend", hr), n.style.overflowY = "auto", Re(n, h["no-transition"]);
|
|
5993
5993
|
}, Ef = (t, e) => {
|
|
5994
|
-
|
|
5994
|
+
ki(e) ? (t.style.overflowY = "hidden", e.addEventListener("animationend", hr), e.addEventListener("transitionend", hr)) : t.style.overflowY = "auto";
|
|
5995
5995
|
}, Pf = (t, e, n) => {
|
|
5996
5996
|
mm(), e && n !== "hidden" && wm(n), setTimeout(() => {
|
|
5997
5997
|
t.scrollTop = 0;
|
|
@@ -5999,7 +5999,7 @@ const rs = ["swal-title", "swal-html", "swal-footer"], wf = (t) => {
|
|
|
5999
5999
|
}, $f = (t, e, n) => {
|
|
6000
6000
|
U(t, n.showClass.backdrop), n.animation ? (e.style.setProperty("opacity", "0", "important"), ce(e, "grid"), setTimeout(() => {
|
|
6001
6001
|
U(e, n.showClass.popup), e.style.removeProperty("opacity");
|
|
6002
|
-
},
|
|
6002
|
+
}, as)) : ce(e, "grid"), U([document.documentElement, document.body], h.shown), n.heightAuto && n.backdrop && !n.toast && U([document.documentElement, document.body], h["height-auto"]);
|
|
6003
6003
|
};
|
|
6004
6004
|
var Ea = {
|
|
6005
6005
|
/**
|
|
@@ -6042,19 +6042,19 @@ class ae {
|
|
|
6042
6042
|
this.params = n, this.isAwaitingPromise = !1, td(Zn, this, this._main(Ye.params));
|
|
6043
6043
|
}
|
|
6044
6044
|
_main(e, n = {}) {
|
|
6045
|
-
if (
|
|
6045
|
+
if (Ji(Object.assign({}, n, e)), E.currentInstance) {
|
|
6046
6046
|
const a = Yt.swalPromiseResolve.get(E.currentInstance), {
|
|
6047
6047
|
isAwaitingPromise: l
|
|
6048
6048
|
} = E.currentInstance;
|
|
6049
6049
|
E.currentInstance._destroy(), l || a({
|
|
6050
6050
|
isDismissed: !0
|
|
6051
|
-
}), wo() &&
|
|
6051
|
+
}), wo() && Oi();
|
|
6052
6052
|
}
|
|
6053
6053
|
E.currentInstance = Ye;
|
|
6054
6054
|
const r = Df(e, n);
|
|
6055
6055
|
Bf(r), Object.freeze(r), E.timeout && (E.timeout.stop(), delete E.timeout), clearTimeout(E.restoreFocusTimeout);
|
|
6056
6056
|
const o = Rf(Ye);
|
|
6057
|
-
return
|
|
6057
|
+
return Ei(Ye, r), Y.innerParams.set(Ye, r), Mf(Ye, o, r);
|
|
6058
6058
|
}
|
|
6059
6059
|
// `catch` cannot be the name of a module export, so we define our thenable methods here instead
|
|
6060
6060
|
then(e) {
|
|
@@ -6092,19 +6092,19 @@ const Mf = (t, e, n) => new Promise((r, o) => {
|
|
|
6092
6092
|
}, Rf = (t) => {
|
|
6093
6093
|
const e = {
|
|
6094
6094
|
popup: z(),
|
|
6095
|
-
container:
|
|
6095
|
+
container: xe(),
|
|
6096
6096
|
actions: Bn(),
|
|
6097
6097
|
confirmButton: Qe(),
|
|
6098
6098
|
denyButton: Ot(),
|
|
6099
6099
|
cancelButton: Qt(),
|
|
6100
6100
|
loader: en(),
|
|
6101
6101
|
closeButton: vo(),
|
|
6102
|
-
validationMessage:
|
|
6102
|
+
validationMessage: yr(),
|
|
6103
6103
|
progressSteps: go()
|
|
6104
6104
|
};
|
|
6105
6105
|
return Y.domCache.set(t, e), e;
|
|
6106
6106
|
}, Nf = (t, e, n) => {
|
|
6107
|
-
const r =
|
|
6107
|
+
const r = kr();
|
|
6108
6108
|
ve(r), e.timer && (t.timeout = new bf(() => {
|
|
6109
6109
|
n("timer"), delete t.timeout;
|
|
6110
6110
|
}, e.timer), e.timerProgressBar && (ce(r), Pe(r, e, "timerProgressBar"), setTimeout(() => {
|
|
@@ -6112,8 +6112,8 @@ const Mf = (t, e, n) => new Promise((r, o) => {
|
|
|
6112
6112
|
})));
|
|
6113
6113
|
}, jf = (t, e) => {
|
|
6114
6114
|
if (!e.toast) {
|
|
6115
|
-
if (!
|
|
6116
|
-
|
|
6115
|
+
if (!wr(e.allowEnterKey)) {
|
|
6116
|
+
hi("allowEnterKey"), zf();
|
|
6117
6117
|
return;
|
|
6118
6118
|
}
|
|
6119
6119
|
Hf(t) || Ff(t, e) || eo(-1, 1);
|
|
@@ -6127,22 +6127,22 @@ const Mf = (t, e, n) => new Promise((r, o) => {
|
|
|
6127
6127
|
}, Ff = (t, e) => e.focusDeny && Ie(t.denyButton) ? (t.denyButton.focus(), !0) : e.focusCancel && Ie(t.cancelButton) ? (t.cancelButton.focus(), !0) : e.focusConfirm && Ie(t.confirmButton) ? (t.confirmButton.focus(), !0) : !1, zf = () => {
|
|
6128
6128
|
document.activeElement instanceof HTMLElement && typeof document.activeElement.blur == "function" && document.activeElement.blur();
|
|
6129
6129
|
};
|
|
6130
|
-
ae.prototype.disableButtons =
|
|
6131
|
-
ae.prototype.enableButtons =
|
|
6132
|
-
ae.prototype.getInput =
|
|
6133
|
-
ae.prototype.disableInput =
|
|
6134
|
-
ae.prototype.enableInput =
|
|
6135
|
-
ae.prototype.hideLoading =
|
|
6136
|
-
ae.prototype.disableLoading =
|
|
6137
|
-
ae.prototype.showValidationMessage =
|
|
6138
|
-
ae.prototype.resetValidationMessage =
|
|
6130
|
+
ae.prototype.disableButtons = Vi;
|
|
6131
|
+
ae.prototype.enableButtons = Ui;
|
|
6132
|
+
ae.prototype.getInput = Hi;
|
|
6133
|
+
ae.prototype.disableInput = Ki;
|
|
6134
|
+
ae.prototype.enableInput = Wi;
|
|
6135
|
+
ae.prototype.hideLoading = fr;
|
|
6136
|
+
ae.prototype.disableLoading = fr;
|
|
6137
|
+
ae.prototype.showValidationMessage = Gi;
|
|
6138
|
+
ae.prototype.resetValidationMessage = qi;
|
|
6139
6139
|
ae.prototype.close = vt;
|
|
6140
6140
|
ae.prototype.closePopup = vt;
|
|
6141
6141
|
ae.prototype.closeModal = vt;
|
|
6142
6142
|
ae.prototype.closeToast = vt;
|
|
6143
|
-
ae.prototype.rejectPromise =
|
|
6144
|
-
ae.prototype.update =
|
|
6145
|
-
ae.prototype._destroy =
|
|
6143
|
+
ae.prototype.rejectPromise = Di;
|
|
6144
|
+
ae.prototype.update = Qi;
|
|
6145
|
+
ae.prototype._destroy = es;
|
|
6146
6146
|
Object.assign(ae, vf);
|
|
6147
6147
|
Object.keys(Ym).forEach((t) => {
|
|
6148
6148
|
ae[t] = function(...e) {
|
|
@@ -6164,7 +6164,7 @@ typeof document < "u" && (function(t, e) {
|
|
|
6164
6164
|
})(document, ':root{--swal2-outline: 0 0 0 3px rgba(100, 150, 200, 0.5);--swal2-container-padding: 0.625em;--swal2-backdrop: rgba(0, 0, 0, 0.4);--swal2-backdrop-transition: background-color 0.15s;--swal2-width: 32em;--swal2-padding: 0 0 1.25em;--swal2-border: none;--swal2-border-radius: 0.3125rem;--swal2-background: white;--swal2-color: #545454;--swal2-show-animation: swal2-show 0.3s;--swal2-hide-animation: swal2-hide 0.15s forwards;--swal2-icon-zoom: 1;--swal2-icon-animations: true;--swal2-title-padding: 0.8em 1em 0;--swal2-html-container-padding: 1em 1.6em 0.3em;--swal2-input-border: 1px solid #d9d9d9;--swal2-input-border-radius: 0.1875em;--swal2-input-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px transparent;--swal2-input-background: transparent;--swal2-input-transition: border-color 0.2s, box-shadow 0.2s;--swal2-input-hover-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px transparent;--swal2-input-focus-border: 1px solid #b4dbed;--swal2-input-focus-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px rgba(100, 150, 200, 0.5);--swal2-progress-step-background: #add8e6;--swal2-validation-message-background: #f0f0f0;--swal2-validation-message-color: #666;--swal2-footer-border-color: #eee;--swal2-footer-background: transparent;--swal2-footer-color: inherit;--swal2-timer-progress-bar-background: rgba(0, 0, 0, 0.3);--swal2-close-button-position: initial;--swal2-close-button-inset: auto;--swal2-close-button-font-size: 2.5em;--swal2-close-button-color: #ccc;--swal2-close-button-transition: color 0.2s, box-shadow 0.2s;--swal2-close-button-outline: initial;--swal2-close-button-box-shadow: inset 0 0 0 3px transparent;--swal2-close-button-focus-box-shadow: inset var(--swal2-outline);--swal2-close-button-hover-transform: none;--swal2-actions-justify-content: center;--swal2-actions-width: auto;--swal2-actions-margin: 1.25em auto 0;--swal2-actions-padding: 0;--swal2-actions-border-radius: 0;--swal2-actions-background: transparent;--swal2-action-button-transition: background-color 0.2s, box-shadow 0.2s;--swal2-action-button-hover: black 10%;--swal2-action-button-active: black 10%;--swal2-confirm-button-box-shadow: none;--swal2-confirm-button-border-radius: 0.25em;--swal2-confirm-button-background-color: #7066e0;--swal2-confirm-button-color: #fff;--swal2-deny-button-box-shadow: none;--swal2-deny-button-border-radius: 0.25em;--swal2-deny-button-background-color: #dc3741;--swal2-deny-button-color: #fff;--swal2-cancel-button-box-shadow: none;--swal2-cancel-button-border-radius: 0.25em;--swal2-cancel-button-background-color: #6e7881;--swal2-cancel-button-color: #fff;--swal2-toast-show-animation: swal2-toast-show 0.5s;--swal2-toast-hide-animation: swal2-toast-hide 0.1s forwards;--swal2-toast-border: none;--swal2-toast-box-shadow: 0 0 1px hsl(0deg 0% 0% / 0.075), 0 1px 2px hsl(0deg 0% 0% / 0.075), 1px 2px 4px hsl(0deg 0% 0% / 0.075), 1px 3px 8px hsl(0deg 0% 0% / 0.075), 2px 4px 16px hsl(0deg 0% 0% / 0.075)}[data-swal2-theme=dark]{--swal2-dark-theme-black: #19191a;--swal2-dark-theme-white: #e1e1e1;--swal2-background: var(--swal2-dark-theme-black);--swal2-color: var(--swal2-dark-theme-white);--swal2-footer-border-color: #555;--swal2-input-background: color-mix(in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10%);--swal2-validation-message-background: color-mix( in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10% );--swal2-validation-message-color: var(--swal2-dark-theme-white);--swal2-timer-progress-bar-background: rgba(255, 255, 255, 0.7)}@media(prefers-color-scheme: dark){[data-swal2-theme=auto]{--swal2-dark-theme-black: #19191a;--swal2-dark-theme-white: #e1e1e1;--swal2-background: var(--swal2-dark-theme-black);--swal2-color: var(--swal2-dark-theme-white);--swal2-footer-border-color: #555;--swal2-input-background: color-mix(in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10%);--swal2-validation-message-background: color-mix( in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10% );--swal2-validation-message-color: var(--swal2-dark-theme-white);--swal2-timer-progress-bar-background: rgba(255, 255, 255, 0.7)}}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto !important}body.swal2-no-backdrop .swal2-container{background-color:rgba(0,0,0,0) !important;pointer-events:none}body.swal2-no-backdrop .swal2-container .swal2-popup{pointer-events:all}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px var(--swal2-backdrop)}body.swal2-toast-shown .swal2-container{box-sizing:border-box;width:360px;max-width:100%;background-color:rgba(0,0,0,0);pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{inset:0 auto auto 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{inset:0 0 auto auto}body.swal2-toast-shown .swal2-container.swal2-top-start,body.swal2-toast-shown .swal2-container.swal2-top-left{inset:0 auto auto 0}body.swal2-toast-shown .swal2-container.swal2-center-start,body.swal2-toast-shown .swal2-container.swal2-center-left{inset:50% auto auto 0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{inset:50% auto auto 50%;transform:translate(-50%, -50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{inset:50% 0 auto auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-start,body.swal2-toast-shown .swal2-container.swal2-bottom-left{inset:auto auto 0 0}body.swal2-toast-shown .swal2-container.swal2-bottom{inset:auto auto 0 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{inset:auto 0 0 auto}@media print{body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown){overflow-y:scroll !important}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown) .swal2-container{position:static !important}}div:where(.swal2-container){display:grid;position:fixed;z-index:1060;inset:0;box-sizing:border-box;grid-template-areas:"top-start top top-end" "center-start center center-end" "bottom-start bottom-center bottom-end";grid-template-rows:minmax(min-content, auto) minmax(min-content, auto) minmax(min-content, auto);height:100%;padding:var(--swal2-container-padding);overflow-x:hidden;transition:var(--swal2-backdrop-transition);-webkit-overflow-scrolling:touch}div:where(.swal2-container).swal2-backdrop-show,div:where(.swal2-container).swal2-noanimation{background:var(--swal2-backdrop)}div:where(.swal2-container).swal2-backdrop-hide{background:rgba(0,0,0,0) !important}div:where(.swal2-container).swal2-top-start,div:where(.swal2-container).swal2-center-start,div:where(.swal2-container).swal2-bottom-start{grid-template-columns:minmax(0, 1fr) auto auto}div:where(.swal2-container).swal2-top,div:where(.swal2-container).swal2-center,div:where(.swal2-container).swal2-bottom{grid-template-columns:auto minmax(0, 1fr) auto}div:where(.swal2-container).swal2-top-end,div:where(.swal2-container).swal2-center-end,div:where(.swal2-container).swal2-bottom-end{grid-template-columns:auto auto minmax(0, 1fr)}div:where(.swal2-container).swal2-top-start>.swal2-popup{align-self:start}div:where(.swal2-container).swal2-top>.swal2-popup{grid-column:2;place-self:start center}div:where(.swal2-container).swal2-top-end>.swal2-popup,div:where(.swal2-container).swal2-top-right>.swal2-popup{grid-column:3;place-self:start end}div:where(.swal2-container).swal2-center-start>.swal2-popup,div:where(.swal2-container).swal2-center-left>.swal2-popup{grid-row:2;align-self:center}div:where(.swal2-container).swal2-center>.swal2-popup{grid-column:2;grid-row:2;place-self:center center}div:where(.swal2-container).swal2-center-end>.swal2-popup,div:where(.swal2-container).swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;place-self:center end}div:where(.swal2-container).swal2-bottom-start>.swal2-popup,div:where(.swal2-container).swal2-bottom-left>.swal2-popup{grid-column:1;grid-row:3;align-self:end}div:where(.swal2-container).swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;place-self:end center}div:where(.swal2-container).swal2-bottom-end>.swal2-popup,div:where(.swal2-container).swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;place-self:end end}div:where(.swal2-container).swal2-grow-row>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-column:1/4;width:100%}div:where(.swal2-container).swal2-grow-column>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}div:where(.swal2-container).swal2-no-transition{transition:none !important}div:where(.swal2-container)[popover]{width:auto;border:0}div:where(.swal2-container) div:where(.swal2-popup){display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0, 100%);width:var(--swal2-width);max-width:100%;padding:var(--swal2-padding);border:var(--swal2-border);border-radius:var(--swal2-border-radius);background:var(--swal2-background);color:var(--swal2-color);font-family:inherit;font-size:1rem;container-name:swal2-popup}div:where(.swal2-container) div:where(.swal2-popup):focus{outline:none}div:where(.swal2-container) div:where(.swal2-popup).swal2-loading{overflow-y:hidden}div:where(.swal2-container) div:where(.swal2-popup).swal2-draggable{cursor:grab}div:where(.swal2-container) div:where(.swal2-popup).swal2-draggable div:where(.swal2-icon){cursor:grab}div:where(.swal2-container) div:where(.swal2-popup).swal2-dragging{cursor:grabbing}div:where(.swal2-container) div:where(.swal2-popup).swal2-dragging div:where(.swal2-icon){cursor:grabbing}div:where(.swal2-container) h2:where(.swal2-title){position:relative;max-width:100%;margin:0;padding:var(--swal2-title-padding);color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;overflow-wrap:break-word;cursor:initial}div:where(.swal2-container) div:where(.swal2-actions){display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:var(--swal2-actions-justify-content);width:var(--swal2-actions-width);margin:var(--swal2-actions-margin);padding:var(--swal2-actions-padding);border-radius:var(--swal2-actions-border-radius);background:var(--swal2-actions-background)}div:where(.swal2-container) div:where(.swal2-loader){display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 rgba(0,0,0,0) #2778c4 rgba(0,0,0,0)}div:where(.swal2-container) button:where(.swal2-styled){margin:.3125em;padding:.625em 1.1em;transition:var(--swal2-action-button-transition);border:none;box-shadow:0 0 0 3px rgba(0,0,0,0);font-weight:500}div:where(.swal2-container) button:where(.swal2-styled):not([disabled]){cursor:pointer}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm){border-radius:var(--swal2-confirm-button-border-radius);background:initial;background-color:var(--swal2-confirm-button-background-color);box-shadow:var(--swal2-confirm-button-box-shadow);color:var(--swal2-confirm-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):hover{background-color:color-mix(in srgb, var(--swal2-confirm-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):active{background-color:color-mix(in srgb, var(--swal2-confirm-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny){border-radius:var(--swal2-deny-button-border-radius);background:initial;background-color:var(--swal2-deny-button-background-color);box-shadow:var(--swal2-deny-button-box-shadow);color:var(--swal2-deny-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny):hover{background-color:color-mix(in srgb, var(--swal2-deny-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny):active{background-color:color-mix(in srgb, var(--swal2-deny-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel){border-radius:var(--swal2-cancel-button-border-radius);background:initial;background-color:var(--swal2-cancel-button-background-color);box-shadow:var(--swal2-cancel-button-box-shadow);color:var(--swal2-cancel-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel):hover{background-color:color-mix(in srgb, var(--swal2-cancel-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel):active{background-color:color-mix(in srgb, var(--swal2-cancel-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):focus-visible{outline:none;box-shadow:var(--swal2-action-button-focus-box-shadow)}div:where(.swal2-container) button:where(.swal2-styled)[disabled]:not(.swal2-loading){opacity:.4}div:where(.swal2-container) button:where(.swal2-styled)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-footer){margin:1em 0 0;padding:1em 1em 0;border-top:1px solid var(--swal2-footer-border-color);background:var(--swal2-footer-background);color:var(--swal2-footer-color);font-size:1em;text-align:center;cursor:initial}div:where(.swal2-container) .swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;grid-column:auto !important;overflow:hidden;border-bottom-right-radius:var(--swal2-border-radius);border-bottom-left-radius:var(--swal2-border-radius)}div:where(.swal2-container) div:where(.swal2-timer-progress-bar){width:100%;height:.25em;background:var(--swal2-timer-progress-bar-background)}div:where(.swal2-container) img:where(.swal2-image){max-width:100%;margin:2em auto 1em;cursor:initial}div:where(.swal2-container) button:where(.swal2-close){position:var(--swal2-close-button-position);inset:var(--swal2-close-button-inset);z-index:2;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin-top:0;margin-right:0;margin-bottom:-1.2em;padding:0;overflow:hidden;transition:var(--swal2-close-button-transition);border:none;border-radius:var(--swal2-border-radius);outline:var(--swal2-close-button-outline);background:rgba(0,0,0,0);color:var(--swal2-close-button-color);font-family:monospace;font-size:var(--swal2-close-button-font-size);cursor:pointer;justify-self:end}div:where(.swal2-container) button:where(.swal2-close):hover{transform:var(--swal2-close-button-hover-transform);background:rgba(0,0,0,0);color:#f27474}div:where(.swal2-container) button:where(.swal2-close):focus-visible{outline:none;box-shadow:var(--swal2-close-button-focus-box-shadow)}div:where(.swal2-container) button:where(.swal2-close)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-html-container){z-index:1;justify-content:center;margin:0;padding:var(--swal2-html-container-padding);overflow:auto;color:inherit;font-size:1.125em;font-weight:normal;line-height:normal;text-align:center;overflow-wrap:break-word;word-break:break-word;cursor:initial}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea),div:where(.swal2-container) select:where(.swal2-select),div:where(.swal2-container) div:where(.swal2-radio),div:where(.swal2-container) label:where(.swal2-checkbox){margin:1em 2em 3px}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea){box-sizing:border-box;width:auto;transition:var(--swal2-input-transition);border:var(--swal2-input-border);border-radius:var(--swal2-input-border-radius);background:var(--swal2-input-background);box-shadow:var(--swal2-input-box-shadow);color:inherit;font-size:1.125em}div:where(.swal2-container) input:where(.swal2-input).swal2-inputerror,div:where(.swal2-container) input:where(.swal2-file).swal2-inputerror,div:where(.swal2-container) textarea:where(.swal2-textarea).swal2-inputerror{border-color:#f27474 !important;box-shadow:0 0 2px #f27474 !important}div:where(.swal2-container) input:where(.swal2-input):hover,div:where(.swal2-container) input:where(.swal2-file):hover,div:where(.swal2-container) textarea:where(.swal2-textarea):hover{box-shadow:var(--swal2-input-hover-box-shadow)}div:where(.swal2-container) input:where(.swal2-input):focus,div:where(.swal2-container) input:where(.swal2-file):focus,div:where(.swal2-container) textarea:where(.swal2-textarea):focus{border:var(--swal2-input-focus-border);outline:none;box-shadow:var(--swal2-input-focus-box-shadow)}div:where(.swal2-container) input:where(.swal2-input)::placeholder,div:where(.swal2-container) input:where(.swal2-file)::placeholder,div:where(.swal2-container) textarea:where(.swal2-textarea)::placeholder{color:#ccc}div:where(.swal2-container) .swal2-range{margin:1em 2em 3px;background:var(--swal2-background)}div:where(.swal2-container) .swal2-range input{width:80%}div:where(.swal2-container) .swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}div:where(.swal2-container) .swal2-range input,div:where(.swal2-container) .swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}div:where(.swal2-container) .swal2-input{height:2.625em;padding:0 .75em}div:where(.swal2-container) .swal2-file{width:75%;margin-right:auto;margin-left:auto;background:var(--swal2-input-background);font-size:1.125em}div:where(.swal2-container) .swal2-textarea{height:6.75em;padding:.75em}div:where(.swal2-container) .swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:var(--swal2-input-background);color:inherit;font-size:1.125em}div:where(.swal2-container) .swal2-radio,div:where(.swal2-container) .swal2-checkbox{align-items:center;justify-content:center;background:var(--swal2-background);color:inherit}div:where(.swal2-container) .swal2-radio label,div:where(.swal2-container) .swal2-checkbox label{margin:0 .6em;font-size:1.125em}div:where(.swal2-container) .swal2-radio input,div:where(.swal2-container) .swal2-checkbox input{flex-shrink:0;margin:0 .4em}div:where(.swal2-container) label:where(.swal2-input-label){display:flex;justify-content:center;margin:1em auto 0}div:where(.swal2-container) div:where(.swal2-validation-message){align-items:center;justify-content:center;margin:1em 0 0;padding:.625em;overflow:hidden;background:var(--swal2-validation-message-background);color:var(--swal2-validation-message-color);font-size:1em;font-weight:300}div:where(.swal2-container) div:where(.swal2-validation-message)::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}div:where(.swal2-container) .swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:rgba(0,0,0,0);font-weight:600}div:where(.swal2-container) .swal2-progress-steps li{display:inline-block;position:relative}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:var(--swal2-progress-step-background);color:#fff}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:var(--swal2-progress-step-background)}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}div:where(.swal2-icon){position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;zoom:var(--swal2-icon-zoom);border:.25em solid rgba(0,0,0,0);border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;user-select:none}div:where(.swal2-icon) .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}div:where(.swal2-icon).swal2-error{border-color:#f27474;color:#f27474}div:where(.swal2-icon).swal2-error .swal2-x-mark{position:relative;flex-grow:1}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}@container swal2-popup style(--swal2-icon-animations:true){div:where(.swal2-icon).swal2-error.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-error.swal2-icon-show .swal2-x-mark{animation:swal2-animate-error-x-mark .5s}}div:where(.swal2-icon).swal2-warning{border-color:#f8bb86;color:#f8bb86}@container swal2-popup style(--swal2-icon-animations:true){div:where(.swal2-icon).swal2-warning.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-warning.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .5s}}div:where(.swal2-icon).swal2-info{border-color:#3fc3ee;color:#3fc3ee}@container swal2-popup style(--swal2-icon-animations:true){div:where(.swal2-icon).swal2-info.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-info.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .8s}}div:where(.swal2-icon).swal2-question{border-color:#87adbd;color:#87adbd}@container swal2-popup style(--swal2-icon-animations:true){div:where(.swal2-icon).swal2-question.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-question.swal2-icon-show .swal2-icon-content{animation:swal2-animate-question-mark .8s}}div:where(.swal2-icon).swal2-success{border-color:#a5dc86;color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;border-radius:50%}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}div:where(.swal2-icon).swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-0.25em;left:-0.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}div:where(.swal2-icon).swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}@container swal2-popup style(--swal2-icon-animations:true){div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-animate-success-line-tip .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-animate-success-line-long .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-circular-line-right{animation:swal2-rotate-success-circular-line 4.25s ease-in}}[class^=swal2]{-webkit-tap-highlight-color:rgba(0,0,0,0)}.swal2-show{animation:var(--swal2-show-animation)}.swal2-hide{animation:var(--swal2-hide-animation)}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{margin-right:initial;margin-left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}.swal2-toast{box-sizing:border-box;grid-column:1/4 !important;grid-row:1/4 !important;grid-template-columns:min-content auto min-content;padding:1em;overflow-y:hidden;border:var(--swal2-toast-border);background:var(--swal2-background);box-shadow:var(--swal2-toast-box-shadow);pointer-events:all}.swal2-toast>*{grid-column:2}.swal2-toast h2:where(.swal2-title){margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-toast .swal2-loading{justify-content:center}.swal2-toast input:where(.swal2-input){height:2em;margin:.5em;font-size:1em}.swal2-toast .swal2-validation-message{font-size:1em}.swal2-toast div:where(.swal2-footer){margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-toast button:where(.swal2-close){grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-toast div:where(.swal2-html-container){margin:.5em 1em;padding:0;overflow:initial;font-size:1em;text-align:initial}.swal2-toast div:where(.swal2-html-container):empty{padding:0}.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.swal2-toast .swal2-icon{grid-column:1;grid-row:1/99;align-self:center;width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:bold}.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-toast div:where(.swal2-actions){justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-toast button:where(.swal2-styled){margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;border-radius:50%}.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.8em;left:-0.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}@container swal2-popup style(--swal2-icon-animations:true){.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-toast-animate-success-line-tip .75s}.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-toast-animate-success-line-long .75s}}.swal2-toast.swal2-show{animation:var(--swal2-toast-show-animation)}.swal2-toast.swal2-hide{animation:var(--swal2-toast-hide-animation)}@keyframes swal2-show{0%{transform:translate3d(0, -50px, 0) scale(0.9);opacity:0}100%{transform:translate3d(0, 0, 0) scale(1);opacity:1}}@keyframes swal2-hide{0%{transform:translate3d(0, 0, 0) scale(1);opacity:1}100%{transform:translate3d(0, -50px, 0) scale(0.9);opacity:0}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-0.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(0.4);opacity:0}50%{margin-top:1.625em;transform:scale(0.4);opacity:0}80%{margin-top:-0.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0deg);opacity:1}}@keyframes swal2-rotate-loading{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-toast-show{0%{transform:translateY(-0.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(0.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0deg)}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-0.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}');
|
|
6165
6165
|
/*! @license DOMPurify 3.3.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.3/LICENSE */
|
|
6166
6166
|
const {
|
|
6167
|
-
entries:
|
|
6167
|
+
entries: is,
|
|
6168
6168
|
setPrototypeOf: Pa,
|
|
6169
6169
|
isFrozen: Uf,
|
|
6170
6170
|
getPrototypeOf: Vf,
|
|
@@ -6194,7 +6194,7 @@ ro || (ro = function(e) {
|
|
|
6194
6194
|
r[o - 1] = arguments[o];
|
|
6195
6195
|
return new e(...r);
|
|
6196
6196
|
});
|
|
6197
|
-
const Jn = Se(Array.prototype.forEach), Kf = Se(Array.prototype.lastIndexOf), $a = Se(Array.prototype.pop), dn = Se(Array.prototype.push), Gf = Se(Array.prototype.splice), tr = Se(String.prototype.toLowerCase),
|
|
6197
|
+
const Jn = Se(Array.prototype.forEach), Kf = Se(Array.prototype.lastIndexOf), $a = Se(Array.prototype.pop), dn = Se(Array.prototype.push), Gf = Se(Array.prototype.splice), tr = Se(String.prototype.toLowerCase), Hr = Se(String.prototype.toString), Fr = Se(String.prototype.match), mn = Se(String.prototype.replace), qf = Se(String.prototype.indexOf), Yf = Se(String.prototype.trim), Ee = Se(Object.prototype.hasOwnProperty), we = Se(RegExp.prototype.test), fn = Xf(TypeError);
|
|
6198
6198
|
function Se(t) {
|
|
6199
6199
|
return function(e) {
|
|
6200
6200
|
e instanceof RegExp && (e.lastIndex = 0);
|
|
@@ -6231,7 +6231,7 @@ function Zf(t) {
|
|
|
6231
6231
|
}
|
|
6232
6232
|
function qe(t) {
|
|
6233
6233
|
const e = er(null);
|
|
6234
|
-
for (const [n, r] of
|
|
6234
|
+
for (const [n, r] of is(t))
|
|
6235
6235
|
Ee(t, n) && (Array.isArray(r) ? e[n] = Zf(r) : r && typeof r == "object" && r.constructor === Object ? e[n] = qe(r) : e[n] = r);
|
|
6236
6236
|
return e;
|
|
6237
6237
|
}
|
|
@@ -6251,22 +6251,22 @@ function pn(t, e) {
|
|
|
6251
6251
|
}
|
|
6252
6252
|
return n;
|
|
6253
6253
|
}
|
|
6254
|
-
const La = _e(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]),
|
|
6254
|
+
const La = _e(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), zr = _e(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), Ur = _e(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Jf = _e(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), Vr = _e(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Qf = _e(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Oa = _e(["#text"]), Ba = _e(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), Wr = _e(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Ma = _e(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Qn = _e(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), ep = Ne(/\{\{[\w\W]*|[\w\W]*\}\}/gm), tp = Ne(/<%[\w\W]*|[\w\W]*%>/gm), np = Ne(/\$\{[\w\W]*/gm), rp = Ne(/^data-[\-\w.\u00B7-\uFFFF]+$/), op = Ne(/^aria-[\-\w]+$/), ss = Ne(
|
|
6255
6255
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
6256
6256
|
// eslint-disable-line no-useless-escape
|
|
6257
6257
|
), ap = Ne(/^(?:\w+script|data):/i), ip = Ne(
|
|
6258
6258
|
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
6259
6259
|
// eslint-disable-line no-control-regex
|
|
6260
|
-
),
|
|
6260
|
+
), ls = Ne(/^html$/i), sp = Ne(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
6261
6261
|
var Da = /* @__PURE__ */ Object.freeze({
|
|
6262
6262
|
__proto__: null,
|
|
6263
6263
|
ARIA_ATTR: op,
|
|
6264
6264
|
ATTR_WHITESPACE: ip,
|
|
6265
6265
|
CUSTOM_ELEMENT: sp,
|
|
6266
6266
|
DATA_ATTR: rp,
|
|
6267
|
-
DOCTYPE_NAME:
|
|
6267
|
+
DOCTYPE_NAME: ls,
|
|
6268
6268
|
ERB_EXPR: tp,
|
|
6269
|
-
IS_ALLOWED_URI:
|
|
6269
|
+
IS_ALLOWED_URI: ss,
|
|
6270
6270
|
IS_SCRIPT_OR_DATA: ap,
|
|
6271
6271
|
MUSTACHE_EXPR: ep,
|
|
6272
6272
|
TMPLIT_EXPR: np
|
|
@@ -6312,9 +6312,9 @@ const hn = {
|
|
|
6312
6312
|
uponSanitizeShadowNode: []
|
|
6313
6313
|
};
|
|
6314
6314
|
};
|
|
6315
|
-
function
|
|
6315
|
+
function cs() {
|
|
6316
6316
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : lp();
|
|
6317
|
-
const e = (I) =>
|
|
6317
|
+
const e = (I) => cs(I);
|
|
6318
6318
|
if (e.version = "3.3.3", e.removed = [], !t || !t.document || t.document.nodeType !== hn.document || !t.Element)
|
|
6319
6319
|
return e.isSupported = !1, e;
|
|
6320
6320
|
let {
|
|
@@ -6335,7 +6335,7 @@ function ls() {
|
|
|
6335
6335
|
const I = n.createElement("template");
|
|
6336
6336
|
I.content && I.content.ownerDocument && (n = I.content.ownerDocument);
|
|
6337
6337
|
}
|
|
6338
|
-
let
|
|
6338
|
+
let _, T = "";
|
|
6339
6339
|
const {
|
|
6340
6340
|
implementation: te,
|
|
6341
6341
|
createNodeIterator: ue,
|
|
@@ -6345,12 +6345,12 @@ function ls() {
|
|
|
6345
6345
|
importNode: Be
|
|
6346
6346
|
} = r;
|
|
6347
6347
|
let P = Ra();
|
|
6348
|
-
e.isSupported = typeof
|
|
6348
|
+
e.isSupported = typeof is == "function" && typeof L == "function" && te && te.createHTMLDocument !== void 0;
|
|
6349
6349
|
const {
|
|
6350
|
-
MUSTACHE_EXPR:
|
|
6350
|
+
MUSTACHE_EXPR: G,
|
|
6351
6351
|
ERB_EXPR: pe,
|
|
6352
6352
|
TMPLIT_EXPR: be,
|
|
6353
|
-
DATA_ATTR:
|
|
6353
|
+
DATA_ATTR: He,
|
|
6354
6354
|
ARIA_ATTR: ct,
|
|
6355
6355
|
IS_SCRIPT_OR_DATA: et,
|
|
6356
6356
|
ATTR_WHITESPACE: tt,
|
|
@@ -6359,9 +6359,9 @@ function ls() {
|
|
|
6359
6359
|
let {
|
|
6360
6360
|
IS_ALLOWED_URI: Me
|
|
6361
6361
|
} = Da, V = null;
|
|
6362
|
-
const Ve = D({}, [...La, ...
|
|
6363
|
-
let
|
|
6364
|
-
const nt = D({}, [...Ba, ...
|
|
6362
|
+
const Ve = D({}, [...La, ...zr, ...Ur, ...Vr, ...Oa]);
|
|
6363
|
+
let re = null;
|
|
6364
|
+
const nt = D({}, [...Ba, ...Wr, ...Ma, ...Qn]);
|
|
6365
6365
|
let J = Object.seal(er(null, {
|
|
6366
6366
|
tagNameCheck: {
|
|
6367
6367
|
writable: !0,
|
|
@@ -6397,44 +6397,44 @@ function ls() {
|
|
|
6397
6397
|
}
|
|
6398
6398
|
}));
|
|
6399
6399
|
let Nn = !0, nn = !0, jn = !1, Hn = !0, mt = !1, Mt = !0, rt = !1, rn = !1, on = !1, ft = !1, Dt = !1, Rt = !1, Fn = !0, zn = !1;
|
|
6400
|
-
const
|
|
6400
|
+
const Sr = "user-content-";
|
|
6401
6401
|
let an = !0, sn = !1, Nt = {}, Ke = null;
|
|
6402
|
-
const
|
|
6402
|
+
const xr = D({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
6403
6403
|
let Eo = null;
|
|
6404
6404
|
const Po = D({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
6405
6405
|
let Ar = null;
|
|
6406
6406
|
const $o = D({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Un = "http://www.w3.org/1998/Math/MathML", Vn = "http://www.w3.org/2000/svg", ot = "http://www.w3.org/1999/xhtml";
|
|
6407
|
-
let jt = ot,
|
|
6408
|
-
const
|
|
6407
|
+
let jt = ot, Tr = !1, Ir = null;
|
|
6408
|
+
const fs = D({}, [Un, Vn, ot], Hr);
|
|
6409
6409
|
let Wn = D({}, ["mi", "mo", "mn", "ms", "mtext"]), Kn = D({}, ["annotation-xml"]);
|
|
6410
|
-
const
|
|
6410
|
+
const ps = D({}, ["title", "style", "font", "a", "script"]);
|
|
6411
6411
|
let ln = null;
|
|
6412
|
-
const
|
|
6412
|
+
const hs = ["application/xhtml+xml", "text/html"], gs = "text/html";
|
|
6413
6413
|
let se = null, Ht = null;
|
|
6414
|
-
const
|
|
6414
|
+
const vs = n.createElement("form"), Lo = function(d) {
|
|
6415
6415
|
return d instanceof RegExp || d instanceof Function;
|
|
6416
|
-
},
|
|
6416
|
+
}, Er = function() {
|
|
6417
6417
|
let d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
6418
6418
|
if (!(Ht && Ht === d)) {
|
|
6419
6419
|
if ((!d || typeof d != "object") && (d = {}), d = qe(d), ln = // eslint-disable-next-line unicorn/prefer-includes
|
|
6420
|
-
|
|
6420
|
+
hs.indexOf(d.PARSER_MEDIA_TYPE) === -1 ? gs : d.PARSER_MEDIA_TYPE, se = ln === "application/xhtml+xml" ? Hr : tr, V = Ee(d, "ALLOWED_TAGS") ? D({}, d.ALLOWED_TAGS, se) : Ve, re = Ee(d, "ALLOWED_ATTR") ? D({}, d.ALLOWED_ATTR, se) : nt, Ir = Ee(d, "ALLOWED_NAMESPACES") ? D({}, d.ALLOWED_NAMESPACES, Hr) : fs, Ar = Ee(d, "ADD_URI_SAFE_ATTR") ? D(qe($o), d.ADD_URI_SAFE_ATTR, se) : $o, Eo = Ee(d, "ADD_DATA_URI_TAGS") ? D(qe(Po), d.ADD_DATA_URI_TAGS, se) : Po, Ke = Ee(d, "FORBID_CONTENTS") ? D({}, d.FORBID_CONTENTS, se) : xr, dt = Ee(d, "FORBID_TAGS") ? D({}, d.FORBID_TAGS, se) : qe({}), Bt = Ee(d, "FORBID_ATTR") ? D({}, d.FORBID_ATTR, se) : qe({}), Nt = Ee(d, "USE_PROFILES") ? d.USE_PROFILES : !1, Nn = d.ALLOW_ARIA_ATTR !== !1, nn = d.ALLOW_DATA_ATTR !== !1, jn = d.ALLOW_UNKNOWN_PROTOCOLS || !1, Hn = d.ALLOW_SELF_CLOSE_IN_ATTR !== !1, mt = d.SAFE_FOR_TEMPLATES || !1, Mt = d.SAFE_FOR_XML !== !1, rt = d.WHOLE_DOCUMENT || !1, ft = d.RETURN_DOM || !1, Dt = d.RETURN_DOM_FRAGMENT || !1, Rt = d.RETURN_TRUSTED_TYPE || !1, on = d.FORCE_BODY || !1, Fn = d.SANITIZE_DOM !== !1, zn = d.SANITIZE_NAMED_PROPS || !1, an = d.KEEP_CONTENT !== !1, sn = d.IN_PLACE || !1, Me = d.ALLOWED_URI_REGEXP || ss, jt = d.NAMESPACE || ot, Wn = d.MATHML_TEXT_INTEGRATION_POINTS || Wn, Kn = d.HTML_INTEGRATION_POINTS || Kn, J = d.CUSTOM_ELEMENT_HANDLING || {}, d.CUSTOM_ELEMENT_HANDLING && Lo(d.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (J.tagNameCheck = d.CUSTOM_ELEMENT_HANDLING.tagNameCheck), d.CUSTOM_ELEMENT_HANDLING && Lo(d.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (J.attributeNameCheck = d.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), d.CUSTOM_ELEMENT_HANDLING && typeof d.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (J.allowCustomizedBuiltInElements = d.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), mt && (nn = !1), Dt && (ft = !0), Nt && (V = D({}, Oa), re = er(null), Nt.html === !0 && (D(V, La), D(re, Ba)), Nt.svg === !0 && (D(V, zr), D(re, Wr), D(re, Qn)), Nt.svgFilters === !0 && (D(V, Ur), D(re, Wr), D(re, Qn)), Nt.mathMl === !0 && (D(V, Vr), D(re, Ma), D(re, Qn))), Ee(d, "ADD_TAGS") || (We.tagCheck = null), Ee(d, "ADD_ATTR") || (We.attributeCheck = null), d.ADD_TAGS && (typeof d.ADD_TAGS == "function" ? We.tagCheck = d.ADD_TAGS : (V === Ve && (V = qe(V)), D(V, d.ADD_TAGS, se))), d.ADD_ATTR && (typeof d.ADD_ATTR == "function" ? We.attributeCheck = d.ADD_ATTR : (re === nt && (re = qe(re)), D(re, d.ADD_ATTR, se))), d.ADD_URI_SAFE_ATTR && D(Ar, d.ADD_URI_SAFE_ATTR, se), d.FORBID_CONTENTS && (Ke === xr && (Ke = qe(Ke)), D(Ke, d.FORBID_CONTENTS, se)), d.ADD_FORBID_CONTENTS && (Ke === xr && (Ke = qe(Ke)), D(Ke, d.ADD_FORBID_CONTENTS, se)), an && (V["#text"] = !0), rt && D(V, ["html", "head", "body"]), V.table && (D(V, ["tbody"]), delete dt.tbody), d.TRUSTED_TYPES_POLICY) {
|
|
6421
6421
|
if (typeof d.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
6422
6422
|
throw fn('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
6423
6423
|
if (typeof d.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
6424
6424
|
throw fn('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
6425
|
-
|
|
6425
|
+
_ = d.TRUSTED_TYPES_POLICY, T = _.createHTML("");
|
|
6426
6426
|
} else
|
|
6427
|
-
|
|
6427
|
+
_ === void 0 && (_ = cp(p, o)), _ !== null && typeof T == "string" && (T = _.createHTML(""));
|
|
6428
6428
|
_e && _e(d), Ht = d;
|
|
6429
6429
|
}
|
|
6430
|
-
}, Oo = D({}, [...
|
|
6430
|
+
}, Oo = D({}, [...zr, ...Ur, ...Jf]), Bo = D({}, [...Vr, ...Qf]), bs = function(d) {
|
|
6431
6431
|
let k = L(d);
|
|
6432
6432
|
(!k || !k.tagName) && (k = {
|
|
6433
6433
|
namespaceURI: jt,
|
|
6434
6434
|
tagName: "template"
|
|
6435
6435
|
});
|
|
6436
|
-
const
|
|
6437
|
-
return
|
|
6436
|
+
const A = tr(d.tagName), Q = tr(k.tagName);
|
|
6437
|
+
return Ir[d.namespaceURI] ? d.namespaceURI === Vn ? k.namespaceURI === ot ? A === "svg" : k.namespaceURI === Un ? A === "svg" && (Q === "annotation-xml" || Wn[Q]) : !!Oo[A] : d.namespaceURI === Un ? k.namespaceURI === ot ? A === "math" : k.namespaceURI === Vn ? A === "math" && Kn[Q] : !!Bo[A] : d.namespaceURI === ot ? k.namespaceURI === Vn && !Kn[Q] || k.namespaceURI === Un && !Wn[Q] ? !1 : !Bo[A] && (ps[A] || !Oo[A]) : !!(ln === "application/xhtml+xml" && Ir[d.namespaceURI]) : !1;
|
|
6438
6438
|
}, Ge = function(d) {
|
|
6439
6439
|
dn(e.removed, {
|
|
6440
6440
|
element: d
|
|
@@ -6444,7 +6444,7 @@ function ls() {
|
|
|
6444
6444
|
} catch {
|
|
6445
6445
|
y(d);
|
|
6446
6446
|
}
|
|
6447
|
-
},
|
|
6447
|
+
}, kt = function(d, k) {
|
|
6448
6448
|
try {
|
|
6449
6449
|
dn(e.removed, {
|
|
6450
6450
|
attribute: k.getAttributeNode(d),
|
|
@@ -6468,15 +6468,15 @@ function ls() {
|
|
|
6468
6468
|
} catch {
|
|
6469
6469
|
}
|
|
6470
6470
|
}, Mo = function(d) {
|
|
6471
|
-
let k = null,
|
|
6471
|
+
let k = null, A = null;
|
|
6472
6472
|
if (on)
|
|
6473
6473
|
d = "<remove></remove>" + d;
|
|
6474
6474
|
else {
|
|
6475
|
-
const ie =
|
|
6476
|
-
|
|
6475
|
+
const ie = Fr(d, /^[\r\n\t ]+/);
|
|
6476
|
+
A = ie && ie[0];
|
|
6477
6477
|
}
|
|
6478
6478
|
ln === "application/xhtml+xml" && jt === ot && (d = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + d + "</body></html>");
|
|
6479
|
-
const Q =
|
|
6479
|
+
const Q = _ ? _.createHTML(d) : d;
|
|
6480
6480
|
if (jt === ot)
|
|
6481
6481
|
try {
|
|
6482
6482
|
k = new f().parseFromString(Q, ln);
|
|
@@ -6485,12 +6485,12 @@ function ls() {
|
|
|
6485
6485
|
if (!k || !k.documentElement) {
|
|
6486
6486
|
k = te.createDocument(jt, "template", null);
|
|
6487
6487
|
try {
|
|
6488
|
-
k.documentElement.innerHTML =
|
|
6488
|
+
k.documentElement.innerHTML = Tr ? T : Q;
|
|
6489
6489
|
} catch {
|
|
6490
6490
|
}
|
|
6491
6491
|
}
|
|
6492
6492
|
const he = k.body || k.documentElement;
|
|
6493
|
-
return d &&
|
|
6493
|
+
return d && A && he.insertBefore(n.createTextNode(A), he.childNodes[0] || null), jt === ot ? fe.call(k, rt ? "html" : "body")[0] : rt ? k.documentElement : he;
|
|
6494
6494
|
}, Do = function(d) {
|
|
6495
6495
|
return ue.call(
|
|
6496
6496
|
d.ownerDocument || d,
|
|
@@ -6499,66 +6499,66 @@ function ls() {
|
|
|
6499
6499
|
c.SHOW_ELEMENT | c.SHOW_COMMENT | c.SHOW_TEXT | c.SHOW_PROCESSING_INSTRUCTION | c.SHOW_CDATA_SECTION,
|
|
6500
6500
|
null
|
|
6501
6501
|
);
|
|
6502
|
-
},
|
|
6502
|
+
}, Pr = function(d) {
|
|
6503
6503
|
return d instanceof m && (typeof d.nodeName != "string" || typeof d.textContent != "string" || typeof d.removeChild != "function" || !(d.attributes instanceof u) || typeof d.removeAttribute != "function" || typeof d.setAttribute != "function" || typeof d.namespaceURI != "string" || typeof d.insertBefore != "function" || typeof d.hasChildNodes != "function");
|
|
6504
6504
|
}, Ro = function(d) {
|
|
6505
6505
|
return typeof s == "function" && d instanceof s;
|
|
6506
6506
|
};
|
|
6507
6507
|
function at(I, d, k) {
|
|
6508
|
-
Jn(I, (
|
|
6509
|
-
|
|
6508
|
+
Jn(I, (A) => {
|
|
6509
|
+
A.call(e, d, k, Ht);
|
|
6510
6510
|
});
|
|
6511
6511
|
}
|
|
6512
6512
|
const No = function(d) {
|
|
6513
6513
|
let k = null;
|
|
6514
|
-
if (at(P.beforeSanitizeElements, d, null),
|
|
6514
|
+
if (at(P.beforeSanitizeElements, d, null), Pr(d))
|
|
6515
6515
|
return Ge(d), !0;
|
|
6516
|
-
const
|
|
6516
|
+
const A = se(d.nodeName);
|
|
6517
6517
|
if (at(P.uponSanitizeElement, d, {
|
|
6518
|
-
tagName:
|
|
6518
|
+
tagName: A,
|
|
6519
6519
|
allowedTags: V
|
|
6520
6520
|
}), Mt && d.hasChildNodes() && !Ro(d.firstElementChild) && we(/<[/\w!]/g, d.innerHTML) && we(/<[/\w!]/g, d.textContent) || d.nodeType === hn.progressingInstruction || Mt && d.nodeType === hn.comment && we(/<[/\w]/g, d.data))
|
|
6521
6521
|
return Ge(d), !0;
|
|
6522
|
-
if (!(We.tagCheck instanceof Function && We.tagCheck(
|
|
6523
|
-
if (!dt[
|
|
6522
|
+
if (!(We.tagCheck instanceof Function && We.tagCheck(A)) && (!V[A] || dt[A])) {
|
|
6523
|
+
if (!dt[A] && Ho(A) && (J.tagNameCheck instanceof RegExp && we(J.tagNameCheck, A) || J.tagNameCheck instanceof Function && J.tagNameCheck(A)))
|
|
6524
6524
|
return !1;
|
|
6525
|
-
if (an && !Ke[
|
|
6525
|
+
if (an && !Ke[A]) {
|
|
6526
6526
|
const Q = L(d) || d.parentNode, he = S(d) || d.childNodes;
|
|
6527
6527
|
if (he && Q) {
|
|
6528
6528
|
const ie = he.length;
|
|
6529
|
-
for (let
|
|
6530
|
-
const it = g(he[
|
|
6529
|
+
for (let Ae = ie - 1; Ae >= 0; --Ae) {
|
|
6530
|
+
const it = g(he[Ae], !0);
|
|
6531
6531
|
it.__removalCount = (d.__removalCount || 0) + 1, Q.insertBefore(it, v(d));
|
|
6532
6532
|
}
|
|
6533
6533
|
}
|
|
6534
6534
|
}
|
|
6535
6535
|
return Ge(d), !0;
|
|
6536
6536
|
}
|
|
6537
|
-
return d instanceof i && !
|
|
6537
|
+
return d instanceof i && !bs(d) || (A === "noscript" || A === "noembed" || A === "noframes") && we(/<\/no(script|embed|frames)/i, d.innerHTML) ? (Ge(d), !0) : (mt && d.nodeType === hn.text && (k = d.textContent, Jn([G, pe, be], (Q) => {
|
|
6538
6538
|
k = mn(k, Q, " ");
|
|
6539
6539
|
}), d.textContent !== k && (dn(e.removed, {
|
|
6540
6540
|
element: d.cloneNode()
|
|
6541
6541
|
}), d.textContent = k)), at(P.afterSanitizeElements, d, null), !1);
|
|
6542
|
-
}, jo = function(d, k,
|
|
6543
|
-
if (Bt[k] || Fn && (k === "id" || k === "name") && (
|
|
6542
|
+
}, jo = function(d, k, A) {
|
|
6543
|
+
if (Bt[k] || Fn && (k === "id" || k === "name") && (A in n || A in vs))
|
|
6544
6544
|
return !1;
|
|
6545
|
-
if (!(nn && !Bt[k] && we(
|
|
6545
|
+
if (!(nn && !Bt[k] && we(He, k))) {
|
|
6546
6546
|
if (!(Nn && we(ct, k))) {
|
|
6547
6547
|
if (!(We.attributeCheck instanceof Function && We.attributeCheck(k, d))) {
|
|
6548
|
-
if (!
|
|
6548
|
+
if (!re[k] || Bt[k]) {
|
|
6549
6549
|
if (
|
|
6550
6550
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
6551
6551
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
6552
6552
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
6553
6553
|
!(Ho(d) && (J.tagNameCheck instanceof RegExp && we(J.tagNameCheck, d) || J.tagNameCheck instanceof Function && J.tagNameCheck(d)) && (J.attributeNameCheck instanceof RegExp && we(J.attributeNameCheck, k) || J.attributeNameCheck instanceof Function && J.attributeNameCheck(k, d)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
6554
6554
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
6555
|
-
k === "is" && J.allowCustomizedBuiltInElements && (J.tagNameCheck instanceof RegExp && we(J.tagNameCheck,
|
|
6555
|
+
k === "is" && J.allowCustomizedBuiltInElements && (J.tagNameCheck instanceof RegExp && we(J.tagNameCheck, A) || J.tagNameCheck instanceof Function && J.tagNameCheck(A)))
|
|
6556
6556
|
) return !1;
|
|
6557
6557
|
} else if (!Ar[k]) {
|
|
6558
|
-
if (!we(Me, mn(
|
|
6559
|
-
if (!((k === "src" || k === "xlink:href" || k === "href") && d !== "script" && qf(
|
|
6560
|
-
if (!(jn && !we(et, mn(
|
|
6561
|
-
if (
|
|
6558
|
+
if (!we(Me, mn(A, tt, ""))) {
|
|
6559
|
+
if (!((k === "src" || k === "xlink:href" || k === "href") && d !== "script" && qf(A, "data:") === 0 && Eo[d])) {
|
|
6560
|
+
if (!(jn && !we(et, mn(A, tt, "")))) {
|
|
6561
|
+
if (A)
|
|
6562
6562
|
return !1;
|
|
6563
6563
|
}
|
|
6564
6564
|
}
|
|
@@ -6569,84 +6569,84 @@ function ls() {
|
|
|
6569
6569
|
}
|
|
6570
6570
|
return !0;
|
|
6571
6571
|
}, Ho = function(d) {
|
|
6572
|
-
return d !== "annotation-xml" &&
|
|
6572
|
+
return d !== "annotation-xml" && Fr(d, ut);
|
|
6573
6573
|
}, Fo = function(d) {
|
|
6574
6574
|
at(P.beforeSanitizeAttributes, d, null);
|
|
6575
6575
|
const {
|
|
6576
6576
|
attributes: k
|
|
6577
6577
|
} = d;
|
|
6578
|
-
if (!k ||
|
|
6578
|
+
if (!k || Pr(d))
|
|
6579
6579
|
return;
|
|
6580
|
-
const
|
|
6580
|
+
const A = {
|
|
6581
6581
|
attrName: "",
|
|
6582
6582
|
attrValue: "",
|
|
6583
6583
|
keepAttr: !0,
|
|
6584
|
-
allowedAttributes:
|
|
6584
|
+
allowedAttributes: re,
|
|
6585
6585
|
forceKeepAttr: void 0
|
|
6586
6586
|
};
|
|
6587
6587
|
let Q = k.length;
|
|
6588
6588
|
for (; Q--; ) {
|
|
6589
6589
|
const he = k[Q], {
|
|
6590
6590
|
name: ie,
|
|
6591
|
-
namespaceURI:
|
|
6591
|
+
namespaceURI: Ae,
|
|
6592
6592
|
value: it
|
|
6593
|
-
} = he, Ft = se(ie),
|
|
6594
|
-
let de = ie === "value" ?
|
|
6595
|
-
if (
|
|
6596
|
-
|
|
6593
|
+
} = he, Ft = se(ie), $r = it;
|
|
6594
|
+
let de = ie === "value" ? $r : Yf($r);
|
|
6595
|
+
if (A.attrName = Ft, A.attrValue = de, A.keepAttr = !0, A.forceKeepAttr = void 0, at(P.uponSanitizeAttribute, d, A), de = A.attrValue, zn && (Ft === "id" || Ft === "name") && (kt(ie, d), de = Sr + de), Mt && we(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, de)) {
|
|
6596
|
+
kt(ie, d);
|
|
6597
6597
|
continue;
|
|
6598
6598
|
}
|
|
6599
|
-
if (Ft === "attributename" &&
|
|
6600
|
-
|
|
6599
|
+
if (Ft === "attributename" && Fr(de, "href")) {
|
|
6600
|
+
kt(ie, d);
|
|
6601
6601
|
continue;
|
|
6602
6602
|
}
|
|
6603
|
-
if (
|
|
6603
|
+
if (A.forceKeepAttr)
|
|
6604
6604
|
continue;
|
|
6605
|
-
if (!
|
|
6606
|
-
|
|
6605
|
+
if (!A.keepAttr) {
|
|
6606
|
+
kt(ie, d);
|
|
6607
6607
|
continue;
|
|
6608
6608
|
}
|
|
6609
6609
|
if (!Hn && we(/\/>/i, de)) {
|
|
6610
|
-
|
|
6610
|
+
kt(ie, d);
|
|
6611
6611
|
continue;
|
|
6612
6612
|
}
|
|
6613
|
-
mt && Jn([
|
|
6613
|
+
mt && Jn([G, pe, be], (Uo) => {
|
|
6614
6614
|
de = mn(de, Uo, " ");
|
|
6615
6615
|
});
|
|
6616
6616
|
const zo = se(d.nodeName);
|
|
6617
6617
|
if (!jo(zo, Ft, de)) {
|
|
6618
|
-
|
|
6618
|
+
kt(ie, d);
|
|
6619
6619
|
continue;
|
|
6620
6620
|
}
|
|
6621
|
-
if (
|
|
6621
|
+
if (_ && typeof p == "object" && typeof p.getAttributeType == "function" && !Ae)
|
|
6622
6622
|
switch (p.getAttributeType(zo, Ft)) {
|
|
6623
6623
|
case "TrustedHTML": {
|
|
6624
|
-
de =
|
|
6624
|
+
de = _.createHTML(de);
|
|
6625
6625
|
break;
|
|
6626
6626
|
}
|
|
6627
6627
|
case "TrustedScriptURL": {
|
|
6628
|
-
de =
|
|
6628
|
+
de = _.createScriptURL(de);
|
|
6629
6629
|
break;
|
|
6630
6630
|
}
|
|
6631
6631
|
}
|
|
6632
|
-
if (de !==
|
|
6632
|
+
if (de !== $r)
|
|
6633
6633
|
try {
|
|
6634
|
-
|
|
6634
|
+
Ae ? d.setAttributeNS(Ae, ie, de) : d.setAttribute(ie, de), Pr(d) ? Ge(d) : $a(e.removed);
|
|
6635
6635
|
} catch {
|
|
6636
|
-
|
|
6636
|
+
kt(ie, d);
|
|
6637
6637
|
}
|
|
6638
6638
|
}
|
|
6639
6639
|
at(P.afterSanitizeAttributes, d, null);
|
|
6640
|
-
},
|
|
6640
|
+
}, ws = function I(d) {
|
|
6641
6641
|
let k = null;
|
|
6642
|
-
const
|
|
6643
|
-
for (at(P.beforeSanitizeShadowDOM, d, null); k =
|
|
6642
|
+
const A = Do(d);
|
|
6643
|
+
for (at(P.beforeSanitizeShadowDOM, d, null); k = A.nextNode(); )
|
|
6644
6644
|
at(P.uponSanitizeShadowNode, k, null), No(k), Fo(k), k.content instanceof a && I(k.content);
|
|
6645
6645
|
at(P.afterSanitizeShadowDOM, d, null);
|
|
6646
6646
|
};
|
|
6647
6647
|
return e.sanitize = function(I) {
|
|
6648
|
-
let d = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, k = null,
|
|
6649
|
-
if (
|
|
6648
|
+
let d = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, k = null, A = null, Q = null, he = null;
|
|
6649
|
+
if (Tr = !I, Tr && (I = "<!-->"), typeof I != "string" && !Ro(I))
|
|
6650
6650
|
if (typeof I.toString == "function") {
|
|
6651
6651
|
if (I = I.toString(), typeof I != "string")
|
|
6652
6652
|
throw fn("dirty is not a string, aborting");
|
|
@@ -6654,25 +6654,25 @@ function ls() {
|
|
|
6654
6654
|
throw fn("toString is not a function");
|
|
6655
6655
|
if (!e.isSupported)
|
|
6656
6656
|
return I;
|
|
6657
|
-
if (rn ||
|
|
6657
|
+
if (rn || Er(d), e.removed = [], typeof I == "string" && (sn = !1), sn) {
|
|
6658
6658
|
if (I.nodeName) {
|
|
6659
6659
|
const it = se(I.nodeName);
|
|
6660
6660
|
if (!V[it] || dt[it])
|
|
6661
6661
|
throw fn("root node is forbidden and cannot be sanitized in-place");
|
|
6662
6662
|
}
|
|
6663
6663
|
} else if (I instanceof s)
|
|
6664
|
-
k = Mo("<!---->"),
|
|
6664
|
+
k = Mo("<!---->"), A = k.ownerDocument.importNode(I, !0), A.nodeType === hn.element && A.nodeName === "BODY" || A.nodeName === "HTML" ? k = A : k.appendChild(A);
|
|
6665
6665
|
else {
|
|
6666
6666
|
if (!ft && !mt && !rt && // eslint-disable-next-line unicorn/prefer-includes
|
|
6667
6667
|
I.indexOf("<") === -1)
|
|
6668
|
-
return
|
|
6668
|
+
return _ && Rt ? _.createHTML(I) : I;
|
|
6669
6669
|
if (k = Mo(I), !k)
|
|
6670
6670
|
return ft ? null : Rt ? T : "";
|
|
6671
6671
|
}
|
|
6672
6672
|
k && on && Ge(k.firstChild);
|
|
6673
6673
|
const ie = Do(sn ? I : k);
|
|
6674
6674
|
for (; Q = ie.nextNode(); )
|
|
6675
|
-
No(Q), Fo(Q), Q.content instanceof a &&
|
|
6675
|
+
No(Q), Fo(Q), Q.content instanceof a && ws(Q.content);
|
|
6676
6676
|
if (sn)
|
|
6677
6677
|
return I;
|
|
6678
6678
|
if (ft) {
|
|
@@ -6681,22 +6681,22 @@ function ls() {
|
|
|
6681
6681
|
he.appendChild(k.firstChild);
|
|
6682
6682
|
else
|
|
6683
6683
|
he = k;
|
|
6684
|
-
return (
|
|
6684
|
+
return (re.shadowroot || re.shadowrootmode) && (he = Be.call(r, he, !0)), he;
|
|
6685
6685
|
}
|
|
6686
|
-
let
|
|
6687
|
-
return rt && V["!doctype"] && k.ownerDocument && k.ownerDocument.doctype && k.ownerDocument.doctype.name && we(
|
|
6688
|
-
` +
|
|
6689
|
-
|
|
6690
|
-
}),
|
|
6686
|
+
let Ae = rt ? k.outerHTML : k.innerHTML;
|
|
6687
|
+
return rt && V["!doctype"] && k.ownerDocument && k.ownerDocument.doctype && k.ownerDocument.doctype.name && we(ls, k.ownerDocument.doctype.name) && (Ae = "<!DOCTYPE " + k.ownerDocument.doctype.name + `>
|
|
6688
|
+
` + Ae), mt && Jn([G, pe, be], (it) => {
|
|
6689
|
+
Ae = mn(Ae, it, " ");
|
|
6690
|
+
}), _ && Rt ? _.createHTML(Ae) : Ae;
|
|
6691
6691
|
}, e.setConfig = function() {
|
|
6692
6692
|
let I = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
6693
|
-
|
|
6693
|
+
Er(I), rn = !0;
|
|
6694
6694
|
}, e.clearConfig = function() {
|
|
6695
6695
|
Ht = null, rn = !1;
|
|
6696
6696
|
}, e.isValidAttribute = function(I, d, k) {
|
|
6697
|
-
Ht ||
|
|
6698
|
-
const
|
|
6699
|
-
return jo(
|
|
6697
|
+
Ht || Er({});
|
|
6698
|
+
const A = se(I), Q = se(d);
|
|
6699
|
+
return jo(A, Q, k);
|
|
6700
6700
|
}, e.addHook = function(I, d) {
|
|
6701
6701
|
typeof d == "function" && dn(P[I], d);
|
|
6702
6702
|
}, e.removeHook = function(I, d) {
|
|
@@ -6711,9 +6711,9 @@ function ls() {
|
|
|
6711
6711
|
P = Ra();
|
|
6712
6712
|
}, e;
|
|
6713
6713
|
}
|
|
6714
|
-
var To =
|
|
6714
|
+
var To = cs();
|
|
6715
6715
|
const up = (t) => !(!t || !(t instanceof HTMLElement));
|
|
6716
|
-
class
|
|
6716
|
+
class us {
|
|
6717
6717
|
get IsVisible() {
|
|
6718
6718
|
return Pt.isVisible();
|
|
6719
6719
|
}
|
|
@@ -6777,7 +6777,7 @@ class cs {
|
|
|
6777
6777
|
return document.dispatchEvent(o), r;
|
|
6778
6778
|
}
|
|
6779
6779
|
}
|
|
6780
|
-
const dp = () => new
|
|
6780
|
+
const dp = () => new us(), sh = () => new us();
|
|
6781
6781
|
function mp(t) {
|
|
6782
6782
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
6783
6783
|
}
|
|
@@ -6830,18 +6830,18 @@ function pp() {
|
|
|
6830
6830
|
return c(g) || m.apply(this, arguments);
|
|
6831
6831
|
}
|
|
6832
6832
|
function p(g, y) {
|
|
6833
|
-
var v = this, S, L,
|
|
6833
|
+
var v = this, S, L, _, T = "loglevel";
|
|
6834
6834
|
typeof g == "string" ? T += ":" + g : typeof g == "symbol" && (T = void 0);
|
|
6835
6835
|
function te(P) {
|
|
6836
|
-
var
|
|
6836
|
+
var G = (o[P] || "silent").toUpperCase();
|
|
6837
6837
|
if (!(typeof window === n || !T)) {
|
|
6838
6838
|
try {
|
|
6839
|
-
window.localStorage[T] =
|
|
6839
|
+
window.localStorage[T] = G;
|
|
6840
6840
|
return;
|
|
6841
6841
|
} catch {
|
|
6842
6842
|
}
|
|
6843
6843
|
try {
|
|
6844
|
-
window.document.cookie = encodeURIComponent(T) + "=" +
|
|
6844
|
+
window.document.cookie = encodeURIComponent(T) + "=" + G + ";";
|
|
6845
6845
|
} catch {
|
|
6846
6846
|
}
|
|
6847
6847
|
}
|
|
@@ -6855,9 +6855,9 @@ function pp() {
|
|
|
6855
6855
|
}
|
|
6856
6856
|
if (typeof P === n)
|
|
6857
6857
|
try {
|
|
6858
|
-
var
|
|
6858
|
+
var G = window.document.cookie, pe = encodeURIComponent(T), be = G.indexOf(pe + "=");
|
|
6859
6859
|
be !== -1 && (P = /^([^;]+)/.exec(
|
|
6860
|
-
|
|
6860
|
+
G.slice(be + pe.length + 1)
|
|
6861
6861
|
)[1]);
|
|
6862
6862
|
} catch {
|
|
6863
6863
|
}
|
|
@@ -6877,9 +6877,9 @@ function pp() {
|
|
|
6877
6877
|
}
|
|
6878
6878
|
}
|
|
6879
6879
|
function fe(P) {
|
|
6880
|
-
var
|
|
6881
|
-
if (typeof
|
|
6882
|
-
return
|
|
6880
|
+
var G = P;
|
|
6881
|
+
if (typeof G == "string" && v.levels[G.toUpperCase()] !== void 0 && (G = v.levels[G.toUpperCase()]), typeof G == "number" && G >= 0 && G <= v.levels.SILENT)
|
|
6882
|
+
return G;
|
|
6883
6883
|
throw new TypeError("log.setLevel() called with invalid level: " + P);
|
|
6884
6884
|
}
|
|
6885
6885
|
v.name = g, v.levels = {
|
|
@@ -6890,13 +6890,13 @@ function pp() {
|
|
|
6890
6890
|
ERROR: 4,
|
|
6891
6891
|
SILENT: 5
|
|
6892
6892
|
}, v.methodFactory = y || f, v.getLevel = function() {
|
|
6893
|
-
return
|
|
6894
|
-
}, v.setLevel = function(P,
|
|
6895
|
-
return
|
|
6893
|
+
return _ ?? L ?? S;
|
|
6894
|
+
}, v.setLevel = function(P, G) {
|
|
6895
|
+
return _ = fe(P), G !== !1 && te(_), u.call(v);
|
|
6896
6896
|
}, v.setDefaultLevel = function(P) {
|
|
6897
6897
|
L = fe(P), ue() || v.setLevel(P, !1);
|
|
6898
6898
|
}, v.resetLevel = function() {
|
|
6899
|
-
|
|
6899
|
+
_ = null, Oe(), u.call(v);
|
|
6900
6900
|
}, v.enableAll = function(P) {
|
|
6901
6901
|
v.setLevel(v.levels.TRACE, P);
|
|
6902
6902
|
}, v.disableAll = function(P) {
|
|
@@ -6909,7 +6909,7 @@ function pp() {
|
|
|
6909
6909
|
l ? l.getLevel() : "WARN"
|
|
6910
6910
|
);
|
|
6911
6911
|
var Be = ue();
|
|
6912
|
-
Be != null && (
|
|
6912
|
+
Be != null && (_ = fe(Be)), u.call(v);
|
|
6913
6913
|
}
|
|
6914
6914
|
l = new p(), l.getLogger = function(y) {
|
|
6915
6915
|
if (typeof y != "symbol" && typeof y != "string" || y === "")
|
|
@@ -6930,7 +6930,7 @@ function pp() {
|
|
|
6930
6930
|
})(nr)), nr.exports;
|
|
6931
6931
|
}
|
|
6932
6932
|
var hp = pp();
|
|
6933
|
-
const rr = /* @__PURE__ */ mp(hp),
|
|
6933
|
+
const rr = /* @__PURE__ */ mp(hp), lh = (t, e = {}) => {
|
|
6934
6934
|
rr.setDefaultLevel(
|
|
6935
6935
|
e.enableLogging ? rr.levels.DEBUG : rr.levels.SILENT
|
|
6936
6936
|
);
|
|
@@ -6940,7 +6940,7 @@ const rr = /* @__PURE__ */ mp(hp), ih = (t, e = {}) => {
|
|
|
6940
6940
|
`${n}px`
|
|
6941
6941
|
);
|
|
6942
6942
|
const r = R(!0), o = R(0), a = R(!1), l = R(!1), s = R(""), i = R(null), c = R(0);
|
|
6943
|
-
t.provide(
|
|
6943
|
+
t.provide(di, {
|
|
6944
6944
|
navMenuWidth: n,
|
|
6945
6945
|
isMenuOpened: r,
|
|
6946
6946
|
ToggleMenu: () => {
|
|
@@ -7000,7 +7000,7 @@ const rr = /* @__PURE__ */ mp(hp), ih = (t, e = {}) => {
|
|
|
7000
7000
|
}, gp = rr, vp = {
|
|
7001
7001
|
key: 0,
|
|
7002
7002
|
class: "mb-3"
|
|
7003
|
-
}, bp = { class: "flex align-items-center flex-wrap gap-3" }, wp = ["innerHTML"], yp = { class: "flex flex-grow-1 gap-2 justify-content-end" }, kp = /* @__PURE__ */
|
|
7003
|
+
}, bp = { class: "flex align-items-center flex-wrap gap-3" }, wp = ["innerHTML"], yp = { class: "flex flex-grow-1 gap-2 justify-content-end" }, kp = /* @__PURE__ */ ne({
|
|
7004
7004
|
__name: "ConfirmPopover",
|
|
7005
7005
|
emits: ["onOpen"],
|
|
7006
7006
|
setup(t, { emit: e }) {
|
|
@@ -7016,16 +7016,16 @@ const rr = /* @__PURE__ */ mp(hp), ih = (t, e = {}) => {
|
|
|
7016
7016
|
const l = () => {
|
|
7017
7017
|
a?.detail.resolve(!1);
|
|
7018
7018
|
}, s = e;
|
|
7019
|
-
return (i, c) => (
|
|
7019
|
+
return (i, c) => (C(), ee(ui, {
|
|
7020
7020
|
ref_key: "popover",
|
|
7021
7021
|
ref: n,
|
|
7022
7022
|
onOnShow: c[0] || (c[0] = (u) => s("onOpen")),
|
|
7023
7023
|
onOnHide: l
|
|
7024
7024
|
}, {
|
|
7025
7025
|
default: le(() => [
|
|
7026
|
-
|
|
7027
|
-
$(a)?.detail.options?.title ? (
|
|
7028
|
-
b("b", null,
|
|
7026
|
+
K(i.$slots, "content", _t(St({ resolve: r, reject: o })), () => [
|
|
7027
|
+
$(a)?.detail.options?.title ? (C(), x("div", vp, [
|
|
7028
|
+
b("b", null, W($(a)?.detail.options.title), 1)
|
|
7029
7029
|
])) : F("", !0),
|
|
7030
7030
|
b("div", bp, [
|
|
7031
7031
|
b("div", {
|
|
@@ -7039,7 +7039,7 @@ const rr = /* @__PURE__ */ mp(hp), ih = (t, e = {}) => {
|
|
|
7039
7039
|
onClick: r
|
|
7040
7040
|
}, {
|
|
7041
7041
|
default: le(() => [
|
|
7042
|
-
Je(
|
|
7042
|
+
Je(W($(a)?.detail.options?.confirmLabel), 1)
|
|
7043
7043
|
]),
|
|
7044
7044
|
_: 1
|
|
7045
7045
|
}, 8, ["color"]),
|
|
@@ -7050,7 +7050,7 @@ const rr = /* @__PURE__ */ mp(hp), ih = (t, e = {}) => {
|
|
|
7050
7050
|
onClick: o
|
|
7051
7051
|
}, {
|
|
7052
7052
|
default: le(() => [
|
|
7053
|
-
Je(
|
|
7053
|
+
Je(W($(a)?.detail.options?.rejectLabel), 1)
|
|
7054
7054
|
]),
|
|
7055
7055
|
_: 1
|
|
7056
7056
|
}, 8, ["color"])
|
|
@@ -7061,19 +7061,19 @@ const rr = /* @__PURE__ */ mp(hp), ih = (t, e = {}) => {
|
|
|
7061
7061
|
_: 3
|
|
7062
7062
|
}, 512));
|
|
7063
7063
|
}
|
|
7064
|
-
}), Cp = /* @__PURE__ */
|
|
7064
|
+
}), Cp = /* @__PURE__ */ ne({
|
|
7065
7065
|
__name: "LoginLogout",
|
|
7066
7066
|
emits: ["login"],
|
|
7067
7067
|
setup(t, { emit: e }) {
|
|
7068
7068
|
const n = Wt(), { LogoutAsync: r } = Zt(), o = e;
|
|
7069
|
-
return (a, l) => $(n).isAuthenticated ? (
|
|
7069
|
+
return (a, l) => $(n).isAuthenticated ? (C(), ee(De, {
|
|
7070
7070
|
key: 0,
|
|
7071
7071
|
button: !0,
|
|
7072
7072
|
size: "sm",
|
|
7073
7073
|
icon: "logout",
|
|
7074
7074
|
tooltip: "Sair",
|
|
7075
7075
|
onClick: $(r)
|
|
7076
|
-
}, null, 8, ["onClick"])) : (
|
|
7076
|
+
}, null, 8, ["onClick"])) : (C(), ee(De, {
|
|
7077
7077
|
key: 1,
|
|
7078
7078
|
button: !0,
|
|
7079
7079
|
size: "sm",
|
|
@@ -7082,10 +7082,10 @@ const rr = /* @__PURE__ */ mp(hp), ih = (t, e = {}) => {
|
|
|
7082
7082
|
onClick: l[0] || (l[0] = (s) => o("login"))
|
|
7083
7083
|
}));
|
|
7084
7084
|
}
|
|
7085
|
-
}), _p = { class: "nav-menu-header" }, Sp = { class: "nav-menu-inner-close" },
|
|
7085
|
+
}), _p = { class: "nav-menu-header" }, Sp = { class: "nav-menu-inner-close" }, xp = { class: "main-content" }, Ap = { class: "page-title" }, Tp = { class: "action" }, Ip = { id: "content" }, Ep = {
|
|
7086
7086
|
key: 0,
|
|
7087
7087
|
id: "logging-out"
|
|
7088
|
-
}, Pp = { class: "info-fazenda" }, $p = { class: "font-bold" }, Lp = { class: "info-endereco text-muted" }, Op = { class: "footer-right" }, Bp = /* @__PURE__ */
|
|
7088
|
+
}, Pp = { class: "info-fazenda" }, $p = { class: "font-bold" }, Lp = { class: "info-endereco text-muted" }, Op = { class: "footer-right" }, Bp = /* @__PURE__ */ ne({
|
|
7089
7089
|
__name: "Main",
|
|
7090
7090
|
props: {
|
|
7091
7091
|
auth: {},
|
|
@@ -7125,7 +7125,7 @@ const rr = /* @__PURE__ */ mp(hp), ih = (t, e = {}) => {
|
|
|
7125
7125
|
}
|
|
7126
7126
|
});
|
|
7127
7127
|
const y = e;
|
|
7128
|
-
return (v, S) => (
|
|
7128
|
+
return (v, S) => (C(), x("main", {
|
|
7129
7129
|
ref_key: "mainRef",
|
|
7130
7130
|
ref: f,
|
|
7131
7131
|
class: N({
|
|
@@ -7149,9 +7149,9 @@ const rr = /* @__PURE__ */ mp(hp), ih = (t, e = {}) => {
|
|
|
7149
7149
|
}, null, 8, ["onClick"])
|
|
7150
7150
|
])
|
|
7151
7151
|
]),
|
|
7152
|
-
|
|
7152
|
+
K(v.$slots, "nav-menu", {}, void 0, !0)
|
|
7153
7153
|
], 2),
|
|
7154
|
-
b("div",
|
|
7154
|
+
b("div", xp, [
|
|
7155
7155
|
b("div", {
|
|
7156
7156
|
id: "top-bar",
|
|
7157
7157
|
class: N({ "shadow-bottom": $(l) > 72 })
|
|
@@ -7162,7 +7162,7 @@ const rr = /* @__PURE__ */ mp(hp), ih = (t, e = {}) => {
|
|
|
7162
7162
|
tooltip: "Menu",
|
|
7163
7163
|
onClick: $(s)
|
|
7164
7164
|
}, null, 8, ["icon", "onClick"]),
|
|
7165
|
-
b("div",
|
|
7165
|
+
b("div", Ap, W($(m) ? "Saindo..." : $(a)), 1),
|
|
7166
7166
|
S[2] || (S[2] = b("span", { class: "sep" }, null, -1)),
|
|
7167
7167
|
b("div", Tp, [
|
|
7168
7168
|
q(De, {
|
|
@@ -7173,38 +7173,38 @@ const rr = /* @__PURE__ */ mp(hp), ih = (t, e = {}) => {
|
|
|
7173
7173
|
onClick: $(c)
|
|
7174
7174
|
}, null, 8, ["icon", "tooltip", "onClick"]),
|
|
7175
7175
|
q(Xu),
|
|
7176
|
-
|
|
7176
|
+
K(v.$slots, "top-bar-account", {}, () => [
|
|
7177
7177
|
q(Ku)
|
|
7178
7178
|
], !0),
|
|
7179
|
-
n.public ? F("", !0) : (
|
|
7179
|
+
n.public ? F("", !0) : (C(), ee(Cp, {
|
|
7180
7180
|
key: 0,
|
|
7181
7181
|
onLogin: S[0] || (S[0] = (L) => y("login"))
|
|
7182
7182
|
}))
|
|
7183
7183
|
])
|
|
7184
7184
|
], 2),
|
|
7185
7185
|
b("div", Ip, [
|
|
7186
|
-
$(m) ? (
|
|
7187
|
-
q(
|
|
7188
|
-
])) :
|
|
7186
|
+
$(m) ? (C(), x("div", Ep, [
|
|
7187
|
+
q(Ka)
|
|
7188
|
+
])) : K(v.$slots, "content", { key: 1 }, void 0, !0)
|
|
7189
7189
|
])
|
|
7190
7190
|
]),
|
|
7191
7191
|
b("footer", null, [
|
|
7192
|
-
|
|
7192
|
+
K(v.$slots, "footer", {}, () => [
|
|
7193
7193
|
S[5] || (S[5] = b("div", { class: "logo-fazenda" }, null, -1)),
|
|
7194
7194
|
b("div", Pp, [
|
|
7195
7195
|
b("span", $p, [
|
|
7196
|
-
|
|
7196
|
+
K(v.$slots, "footer-nome-fazenda", {}, () => [
|
|
7197
7197
|
S[3] || (S[3] = Je(" SECRETARIA MUNICIPAL DA FAZENDA ", -1))
|
|
7198
7198
|
], !0)
|
|
7199
7199
|
]),
|
|
7200
7200
|
b("span", Lp, [
|
|
7201
|
-
|
|
7201
|
+
K(v.$slots, "footer-endereco-fazenda", {}, () => [
|
|
7202
7202
|
S[4] || (S[4] = Je(" Rua Líbero Badaró, 190 - Centro - São Paulo - SP - CEP 01008-000 ", -1))
|
|
7203
7203
|
], !0)
|
|
7204
7204
|
])
|
|
7205
7205
|
]),
|
|
7206
7206
|
b("div", Op, [
|
|
7207
|
-
|
|
7207
|
+
K(v.$slots, "footer-right", {}, void 0, !0)
|
|
7208
7208
|
])
|
|
7209
7209
|
], !0)
|
|
7210
7210
|
]),
|
|
@@ -7212,7 +7212,7 @@ const rr = /* @__PURE__ */ mp(hp), ih = (t, e = {}) => {
|
|
|
7212
7212
|
q(kp)
|
|
7213
7213
|
], 2));
|
|
7214
7214
|
}
|
|
7215
|
-
}),
|
|
7215
|
+
}), ch = /* @__PURE__ */ je(Bp, [["__scopeId", "data-v-c2bb8158"]]), uh = /* @__PURE__ */ ne({
|
|
7216
7216
|
__name: "PageTitle",
|
|
7217
7217
|
props: {
|
|
7218
7218
|
title: {}
|
|
@@ -7223,9 +7223,9 @@ const rr = /* @__PURE__ */ mp(hp), ih = (t, e = {}) => {
|
|
|
7223
7223
|
document.title = n.title, e.value = n.title;
|
|
7224
7224
|
}), (r, o) => null;
|
|
7225
7225
|
}
|
|
7226
|
-
}), Mp = { class: "sf-tabs" }, Dp = ["onClick", "onKeydown"], Rp = ["id", "aria-selected", "tabindex", "aria-controls", "disabled"], Np = ["id", "aria-labelledby", "aria-hidden"],
|
|
7226
|
+
}), Mp = { class: "sf-tabs" }, Dp = ["onClick", "onKeydown"], Rp = ["id", "aria-selected", "tabindex", "aria-controls", "disabled"], Np = ["id", "aria-labelledby", "aria-hidden"], dh = /* @__PURE__ */ ne({
|
|
7227
7227
|
__name: "Tabs",
|
|
7228
|
-
props: /* @__PURE__ */
|
|
7228
|
+
props: /* @__PURE__ */ As({
|
|
7229
7229
|
tabs: {},
|
|
7230
7230
|
dense: { type: Boolean }
|
|
7231
7231
|
}, {
|
|
@@ -7236,7 +7236,7 @@ const rr = /* @__PURE__ */ mp(hp), ih = (t, e = {}) => {
|
|
|
7236
7236
|
}),
|
|
7237
7237
|
emits: ["update:activeTab"],
|
|
7238
7238
|
setup(t) {
|
|
7239
|
-
const e = t, n =
|
|
7239
|
+
const e = t, n = xs(t, "activeTab");
|
|
7240
7240
|
let r = n.value;
|
|
7241
7241
|
qt(
|
|
7242
7242
|
() => n.value,
|
|
@@ -7295,13 +7295,13 @@ const rr = /* @__PURE__ */ mp(hp), ih = (t, e = {}) => {
|
|
|
7295
7295
|
};
|
|
7296
7296
|
return $t(() => {
|
|
7297
7297
|
m();
|
|
7298
|
-
}), (f, p) => (
|
|
7298
|
+
}), (f, p) => (C(), x("div", Mp, [
|
|
7299
7299
|
b("ul", {
|
|
7300
7300
|
role: "tablist",
|
|
7301
7301
|
"aria-orientation": "horizontal",
|
|
7302
7302
|
class: N({ dense: e.dense })
|
|
7303
7303
|
}, [
|
|
7304
|
-
(
|
|
7304
|
+
(C(!0), x(ke, null, It(e.tabs, (w, g) => (C(), x("li", {
|
|
7305
7305
|
key: c(g),
|
|
7306
7306
|
onClick: (y) => l(g),
|
|
7307
7307
|
onKeydown: (y) => i(y, g)
|
|
@@ -7313,10 +7313,10 @@ const rr = /* @__PURE__ */ mp(hp), ih = (t, e = {}) => {
|
|
|
7313
7313
|
tabindex: g === n.value ? 0 : -1,
|
|
7314
7314
|
"aria-controls": u(g),
|
|
7315
7315
|
disabled: w.disabled
|
|
7316
|
-
},
|
|
7316
|
+
}, W(w.text), 9, Rp)
|
|
7317
7317
|
], 40, Dp))), 128))
|
|
7318
7318
|
], 2),
|
|
7319
|
-
(
|
|
7319
|
+
(C(!0), x(ke, null, It(e.tabs, (w, g) => (C(), x("div", {
|
|
7320
7320
|
key: u(g),
|
|
7321
7321
|
id: u(g),
|
|
7322
7322
|
role: "tabpanel",
|
|
@@ -7324,14 +7324,14 @@ const rr = /* @__PURE__ */ mp(hp), ih = (t, e = {}) => {
|
|
|
7324
7324
|
"aria-hidden": !w.disabled && g !== n.value,
|
|
7325
7325
|
class: N(["tab-content", { hidden: g !== n.value }])
|
|
7326
7326
|
}, [
|
|
7327
|
-
!w.disabled && g === n.value ?
|
|
7327
|
+
!w.disabled && g === n.value ? K(f.$slots, "tabpanel", O({
|
|
7328
7328
|
key: 0,
|
|
7329
7329
|
ref_for: !0
|
|
7330
7330
|
}, { tab: w, activeTab: n.value, Activate: l })) : F("", !0)
|
|
7331
7331
|
], 10, Np))), 128))
|
|
7332
7332
|
]));
|
|
7333
7333
|
}
|
|
7334
|
-
}),
|
|
7334
|
+
}), mh = /* @__PURE__ */ ne({
|
|
7335
7335
|
inheritAttrs: !1,
|
|
7336
7336
|
__name: "CopiarTexto",
|
|
7337
7337
|
props: {
|
|
@@ -7367,31 +7367,51 @@ const rr = /* @__PURE__ */ mp(hp), ih = (t, e = {}) => {
|
|
|
7367
7367
|
);
|
|
7368
7368
|
}
|
|
7369
7369
|
};
|
|
7370
|
-
return
|
|
7370
|
+
return gr(() => {
|
|
7371
7371
|
l && window.clearTimeout(l);
|
|
7372
|
-
}), (c, u) => a.value ? (
|
|
7372
|
+
}), (c, u) => a.value ? (C(), ee(De, O({ key: 0 }, s(), {
|
|
7373
7373
|
icon: "check_circle",
|
|
7374
7374
|
filled: !0,
|
|
7375
7375
|
button: !1,
|
|
7376
7376
|
color: "success",
|
|
7377
7377
|
tooltip: "Copiado",
|
|
7378
7378
|
onClick: u[0] || (u[0] = (m) => r("click", m))
|
|
7379
|
-
}), null, 16)) : (
|
|
7379
|
+
}), null, 16)) : (C(), ee(De, O({ key: 1 }, s(), {
|
|
7380
7380
|
icon: "content_copy",
|
|
7381
7381
|
button: !0,
|
|
7382
7382
|
tooltip: "Copiar",
|
|
7383
7383
|
onClick: i
|
|
7384
7384
|
}), null, 16));
|
|
7385
7385
|
}
|
|
7386
|
-
})
|
|
7387
|
-
|
|
7386
|
+
}), jp = ["textContent"], Hp = /* @__PURE__ */ ne({
|
|
7387
|
+
__name: "TextTruncate",
|
|
7388
|
+
props: {
|
|
7389
|
+
text: {},
|
|
7390
|
+
numeroLinhas: { default: 2 },
|
|
7391
|
+
desabilitarTooltip: { type: Boolean, default: !1 }
|
|
7392
|
+
},
|
|
7393
|
+
setup(t) {
|
|
7394
|
+
const e = t;
|
|
7395
|
+
return (n, r) => {
|
|
7396
|
+
const o = Ua("tooltip");
|
|
7397
|
+
return or((C(), x("span", {
|
|
7398
|
+
class: "texto-truncado",
|
|
7399
|
+
style: yt({ "-webkit-line-clamp": e.numeroLinhas }),
|
|
7400
|
+
textContent: W(e.text)
|
|
7401
|
+
}, null, 12, jp)), [
|
|
7402
|
+
[o, e.desabilitarTooltip ? null : e.text]
|
|
7403
|
+
]);
|
|
7404
|
+
};
|
|
7405
|
+
}
|
|
7406
|
+
}), fh = /* @__PURE__ */ je(Hp, [["__scopeId", "data-v-e0e66708"]]);
|
|
7407
|
+
class ds extends Error {
|
|
7388
7408
|
constructor(e = []) {
|
|
7389
7409
|
const n = Array.isArray(e) ? e : [e];
|
|
7390
7410
|
super(n[0]), this.errors = n;
|
|
7391
7411
|
}
|
|
7392
7412
|
errors = [];
|
|
7393
7413
|
}
|
|
7394
|
-
class
|
|
7414
|
+
class Fp {
|
|
7395
7415
|
constructor(e = null) {
|
|
7396
7416
|
this._value = e, this._httpStatusCode = 200;
|
|
7397
7417
|
}
|
|
@@ -7428,7 +7448,7 @@ class jp {
|
|
|
7428
7448
|
}
|
|
7429
7449
|
[Symbol.toPrimitive](e) {
|
|
7430
7450
|
if (e === "throw")
|
|
7431
|
-
throw new
|
|
7451
|
+
throw new ds(this.errors);
|
|
7432
7452
|
}
|
|
7433
7453
|
/**
|
|
7434
7454
|
* Retorna o primeiro erro da lista de erros.
|
|
@@ -7438,7 +7458,7 @@ class jp {
|
|
|
7438
7458
|
return this.hasSuccess ? null : this.errors[0];
|
|
7439
7459
|
}
|
|
7440
7460
|
}
|
|
7441
|
-
class
|
|
7461
|
+
class ms {
|
|
7442
7462
|
get IsVisible() {
|
|
7443
7463
|
return Pt.isVisible();
|
|
7444
7464
|
}
|
|
@@ -7475,14 +7495,14 @@ class ds {
|
|
|
7475
7495
|
});
|
|
7476
7496
|
}
|
|
7477
7497
|
}
|
|
7478
|
-
const
|
|
7498
|
+
const zp = () => new ms(), ph = () => new ms();
|
|
7479
7499
|
window.addEventListener("error", function(t) {
|
|
7480
7500
|
return Io(t.error) || console.error(t.error || t.message), t.preventDefault(), !1;
|
|
7481
7501
|
});
|
|
7482
7502
|
window.addEventListener("unhandledrejection", function(t) {
|
|
7483
7503
|
return Io(t.reason) || console.error("Unhandled Rejection", t.reason), t.preventDefault(), !1;
|
|
7484
7504
|
});
|
|
7485
|
-
const
|
|
7505
|
+
const hh = (t) => {
|
|
7486
7506
|
t.config.errorHandler = (e, n, r) => {
|
|
7487
7507
|
Io(e) || console.error("Vue Global Error Handler: ", { err: e, vm: n, info: r });
|
|
7488
7508
|
};
|
|
@@ -7494,7 +7514,7 @@ const mh = (t) => {
|
|
|
7494
7514
|
return !0;
|
|
7495
7515
|
} catch {
|
|
7496
7516
|
}
|
|
7497
|
-
return t instanceof
|
|
7517
|
+
return t instanceof ds || t instanceof Fp ? (zp().AlertErrorAsync(t.errors), !0) : !1;
|
|
7498
7518
|
}, Ut = (t) => t === "light" ? "rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;" : "none", ja = {
|
|
7499
7519
|
surface: {
|
|
7500
7520
|
0: "var(--surface-0-color)",
|
|
@@ -7559,7 +7579,7 @@ const mh = (t) => {
|
|
|
7559
7579
|
color: "var(--primary-color)"
|
|
7560
7580
|
}
|
|
7561
7581
|
}
|
|
7562
|
-
},
|
|
7582
|
+
}, gh = {
|
|
7563
7583
|
semantic: {
|
|
7564
7584
|
disabled: {
|
|
7565
7585
|
opacity: "1"
|
|
@@ -8417,6 +8437,9 @@ const mh = (t) => {
|
|
|
8417
8437
|
}
|
|
8418
8438
|
},
|
|
8419
8439
|
tooltip: {
|
|
8440
|
+
root: {
|
|
8441
|
+
maxWidth: "min(75dvw, 360px)"
|
|
8442
|
+
},
|
|
8420
8443
|
colorScheme: {
|
|
8421
8444
|
light: {
|
|
8422
8445
|
root: {
|
|
@@ -8434,7 +8457,7 @@ const mh = (t) => {
|
|
|
8434
8457
|
}
|
|
8435
8458
|
}
|
|
8436
8459
|
};
|
|
8437
|
-
class
|
|
8460
|
+
class vh {
|
|
8438
8461
|
sub;
|
|
8439
8462
|
username;
|
|
8440
8463
|
name;
|
|
@@ -8471,7 +8494,7 @@ class ph {
|
|
|
8471
8494
|
return this.userinfo?.jobTitle ?? null;
|
|
8472
8495
|
}
|
|
8473
8496
|
}
|
|
8474
|
-
function
|
|
8497
|
+
function bh() {
|
|
8475
8498
|
const t = R("development");
|
|
8476
8499
|
function e(i) {
|
|
8477
8500
|
t.value = i.toLocaleLowerCase();
|
|
@@ -8491,7 +8514,7 @@ function hh() {
|
|
|
8491
8514
|
$reset: s
|
|
8492
8515
|
};
|
|
8493
8516
|
}
|
|
8494
|
-
const
|
|
8517
|
+
const wh = (t) => {
|
|
8495
8518
|
const e = /* @__PURE__ */ new Set();
|
|
8496
8519
|
function n(r) {
|
|
8497
8520
|
const { name: o, children: a } = r;
|
|
@@ -8521,7 +8544,7 @@ Promise.prototype.TrackStateWith || (Promise.prototype.TrackStateWith = async fu
|
|
|
8521
8544
|
t.value = !1;
|
|
8522
8545
|
}
|
|
8523
8546
|
});
|
|
8524
|
-
class
|
|
8547
|
+
class Up {
|
|
8525
8548
|
current = null;
|
|
8526
8549
|
resolve = null;
|
|
8527
8550
|
/**
|
|
@@ -8573,14 +8596,14 @@ class Fp {
|
|
|
8573
8596
|
this.resolve && this.resolve(), this.current && this.current.classList.remove("visible");
|
|
8574
8597
|
}
|
|
8575
8598
|
}
|
|
8576
|
-
const
|
|
8599
|
+
const Vp = new Up(), yh = () => Vp;
|
|
8577
8600
|
function Ha() {
|
|
8578
8601
|
document.documentElement.removeAttribute("data-app-message"), document.documentElement.classList.add("app-mounted");
|
|
8579
8602
|
}
|
|
8580
8603
|
function oo(t) {
|
|
8581
8604
|
typeof t == "string" && document.documentElement.setAttribute("data-app-message", t), document.documentElement.classList.remove("app-mounted");
|
|
8582
8605
|
}
|
|
8583
|
-
async function
|
|
8606
|
+
async function kh() {
|
|
8584
8607
|
return await fetch(window.location.origin + "/api/get-environment").then(
|
|
8585
8608
|
async (t) => {
|
|
8586
8609
|
if (!t.ok)
|
|
@@ -8592,56 +8615,57 @@ async function bh() {
|
|
|
8592
8615
|
);
|
|
8593
8616
|
}
|
|
8594
8617
|
export {
|
|
8595
|
-
|
|
8596
|
-
|
|
8597
|
-
|
|
8618
|
+
ds as AppError,
|
|
8619
|
+
Fp as AppResult,
|
|
8620
|
+
bh as BaseAppState,
|
|
8598
8621
|
_u as CCM_LENGTH,
|
|
8599
8622
|
yu as CNPJ_LENGTH,
|
|
8600
8623
|
ku as CNPJ_RAIZ,
|
|
8601
8624
|
Cu as CPF_LENGTH,
|
|
8602
|
-
|
|
8603
|
-
|
|
8604
|
-
|
|
8605
|
-
|
|
8606
|
-
|
|
8607
|
-
|
|
8608
|
-
|
|
8625
|
+
wh as EnsureUniqueRouteNames,
|
|
8626
|
+
kh as GetEnvironmentAsync,
|
|
8627
|
+
ah as MASCARA_ENTRADA_CCM,
|
|
8628
|
+
oh as MASCARA_ENTRADA_CNPJ,
|
|
8629
|
+
th as MASCARA_ENTRADA_CNPJ_RAIZ,
|
|
8630
|
+
ih as MASCARA_ENTRADA_CPF,
|
|
8631
|
+
nh as MASCARA_ENTRADA_PROCESSO_SEI,
|
|
8609
8632
|
bu as MASCARA_FORMATACAO_CCM,
|
|
8610
8633
|
vu as MASCARA_FORMATACAO_CNPJ,
|
|
8611
8634
|
gu as MASCARA_FORMATACAO_CNPJ_RAIZ,
|
|
8612
8635
|
wu as MASCARA_FORMATACAO_CPF,
|
|
8613
|
-
|
|
8636
|
+
rh as MASCARA_FORMATACAO_PROCESSO_SEI,
|
|
8614
8637
|
Ha as RemovePreloader,
|
|
8615
8638
|
oo as RestorePreloader,
|
|
8616
8639
|
kn as SfButton,
|
|
8617
|
-
|
|
8618
|
-
|
|
8640
|
+
Qp as SfContent,
|
|
8641
|
+
mh as SfCopiarTexto,
|
|
8619
8642
|
Xs as SfDrawer,
|
|
8620
|
-
|
|
8643
|
+
Dr as SfHelpButton,
|
|
8621
8644
|
De as SfIcon,
|
|
8622
|
-
|
|
8645
|
+
Xp as SfLinkAction,
|
|
8623
8646
|
Us as SfLoadingCircle,
|
|
8624
|
-
|
|
8625
|
-
|
|
8647
|
+
eh as SfLogin,
|
|
8648
|
+
ch as SfMain,
|
|
8626
8649
|
Ku as SfMainTopBarAccount,
|
|
8627
|
-
|
|
8628
|
-
|
|
8629
|
-
|
|
8630
|
-
|
|
8631
|
-
|
|
8632
|
-
|
|
8650
|
+
Zp as SfMessage,
|
|
8651
|
+
Jp as SfNavMenu,
|
|
8652
|
+
uh as SfPageTitle,
|
|
8653
|
+
ui as SfPopover,
|
|
8654
|
+
Yp as SfTabNavigation,
|
|
8655
|
+
dh as SfTabs,
|
|
8656
|
+
fh as SfTextTruncate,
|
|
8633
8657
|
$s as SfTooltip,
|
|
8634
|
-
|
|
8635
|
-
|
|
8658
|
+
zp as UseAlert,
|
|
8659
|
+
ph as UseAlertService,
|
|
8636
8660
|
Zt as UseAppInject,
|
|
8637
8661
|
dp as UseConfirm,
|
|
8638
|
-
|
|
8639
|
-
|
|
8640
|
-
|
|
8662
|
+
sh as UseConfirmService,
|
|
8663
|
+
yh as UseSimpleToast,
|
|
8664
|
+
vh as User,
|
|
8641
8665
|
Ze as Utilities,
|
|
8642
8666
|
gp as _logger,
|
|
8643
|
-
|
|
8644
|
-
|
|
8645
|
-
|
|
8667
|
+
lh as configSF,
|
|
8668
|
+
hh as globalErrorHandler,
|
|
8669
|
+
gh as themePreset
|
|
8646
8670
|
};
|
|
8647
8671
|
//# sourceMappingURL=sf.prefeiturasp.vuecomponents.js.map
|